[{"data":1,"prerenderedAt":2565,"buildId":2566},["ShallowReactive",2],{"-docs-getting-started-theme-description":3,"component-example-componentsThemePickerStateExample":16,"component-example-componentsThemePickerStateExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":20,"component-theme-theme-3h1vKCDn8BkxpGCztQ8gpmxP4ceekfx2fl2balw2d3M":792,"docs--docs-getting-started-theme":871,"docs-navigation-zh-CN":2352,"mdc-d0lvp9-key":2546,"surround--docs-getting-started-theme":2562},{"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","通过模块默认值、ThemePicker 组件和 useTheme composable 管理颜色、圆角、图标集与深色模式，字体则在构建期配置。",{"code":17,"filePath":18,"pascalName":19},"\u003Cscript setup lang=\"ts\">\nconst theme = useTheme()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv class=\"gap-4 flex\">\n    \u003CMThemePicker \u002F>\n\n    \u003CClientOnly>\n      \u003Cdiv class=\"grid grid-cols-2 gap-2 text-sm\">\n        \u003Cdiv>primary: \u003CUBadge :label=\"theme.primary.value\" variant=\"subtle\" \u002F>\u003C\u002Fdiv>\n        \u003Cdiv>neutral: \u003CUBadge :label=\"theme.neutral.value\" variant=\"outline\" \u002F>\u003C\u002Fdiv>\n        \u003Cdiv>radius: {{ theme.radius.value }}rem\u003C\u002Fdiv>\n        \u003Cdiv>icons: {{ theme.icon.value }}\u003C\u002Fdiv>\n        \u003Cdiv>mode: {{ theme.mode.value }}\u003C\u002Fdiv>\n      \u003C\u002Fdiv>\n      \u003Ctemplate #fallback>\n        \u003Cdiv class=\"grid grid-cols-2 gap-2 text-sm text-muted\">\n          \u003CUSkeleton class=\"h-5\" \u002F>\n          \u003CUSkeleton class=\"h-5\" \u002F>\n          \u003CUSkeleton class=\"h-5\" \u002F>\n          \u003CUSkeleton class=\"h-5\" \u002F>\n          \u003CUSkeleton class=\"h-5\" \u002F>\n        \u003C\u002Fdiv>\n      \u003C\u002Ftemplate>\n    \u003C\u002FClientOnly>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fcomponents\u002FComponentsThemePickerStateExample.vue","ComponentsThemePickerStateExample",{"data":21,"body":23,"toc":790},{"title":22,"description":22},"",{"type":6,"children":24},[25,784],{"type":9,"tag":26,"props":27,"children":31},"pre",{"className":28,"code":29,"language":30,"meta":22,"style":22},"language-vue shiki shiki-themes github-light github-light github-dark","\u003Cscript setup lang=\"ts\">\nconst theme = useTheme()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv class=\"gap-4 flex\">\n    \u003CMThemePicker \u002F>\n\n    \u003CClientOnly>\n      \u003Cdiv class=\"grid grid-cols-2 gap-2 text-sm\">\n        \u003Cdiv>primary: \u003CUBadge :label=\"theme.primary.value\" variant=\"subtle\" \u002F>\u003C\u002Fdiv>\n        \u003Cdiv>neutral: \u003CUBadge :label=\"theme.neutral.value\" variant=\"outline\" \u002F>\u003C\u002Fdiv>\n        \u003Cdiv>radius: {{ theme.radius.value }}rem\u003C\u002Fdiv>\n        \u003Cdiv>icons: {{ theme.icon.value }}\u003C\u002Fdiv>\n        \u003Cdiv>mode: {{ theme.mode.value }}\u003C\u002Fdiv>\n      \u003C\u002Fdiv>\n      \u003Ctemplate #fallback>\n        \u003Cdiv class=\"grid grid-cols-2 gap-2 text-sm text-muted\">\n          \u003CUSkeleton class=\"h-5\" \u002F>\n          \u003CUSkeleton class=\"h-5\" \u002F>\n          \u003CUSkeleton class=\"h-5\" \u002F>\n          \u003CUSkeleton class=\"h-5\" \u002F>\n          \u003CUSkeleton class=\"h-5\" \u002F>\n        \u003C\u002Fdiv>\n      \u003C\u002Ftemplate>\n    \u003C\u002FClientOnly>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n\n","vue",[32],{"type":9,"tag":33,"props":34,"children":35},"code",{"__ignoreMap":22},[36,81,112,129,139,156,188,207,215,232,262,340,411,436,461,486,503,529,558,589,617,645,673,701,718,734,751,768],{"type":9,"tag":37,"props":38,"children":41},"span",{"class":39,"line":40},"line",1,[42,48,54,60,65,70,76],{"type":9,"tag":37,"props":43,"children":45},{"style":44},"--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8",[46],{"type":14,"value":47},"\u003C",{"type":9,"tag":37,"props":49,"children":51},{"style":50},"--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D",[52],{"type":14,"value":53},"script",{"type":9,"tag":37,"props":55,"children":57},{"style":56},"--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0",[58],{"type":14,"value":59}," setup",{"type":9,"tag":37,"props":61,"children":62},{"style":56},[63],{"type":14,"value":64}," lang",{"type":9,"tag":37,"props":66,"children":67},{"style":44},[68],{"type":14,"value":69},"=",{"type":9,"tag":37,"props":71,"children":73},{"style":72},"--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF",[74],{"type":14,"value":75},"\"ts\"",{"type":9,"tag":37,"props":77,"children":78},{"style":44},[79],{"type":14,"value":80},">\n",{"type":9,"tag":37,"props":82,"children":84},{"class":39,"line":83},2,[85,91,97,102,107],{"type":9,"tag":37,"props":86,"children":88},{"style":87},"--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583",[89],{"type":14,"value":90},"const",{"type":9,"tag":37,"props":92,"children":94},{"style":93},"--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF",[95],{"type":14,"value":96}," theme",{"type":9,"tag":37,"props":98,"children":99},{"style":87},[100],{"type":14,"value":101}," =",{"type":9,"tag":37,"props":103,"children":104},{"style":56},[105],{"type":14,"value":106}," useTheme",{"type":9,"tag":37,"props":108,"children":109},{"style":44},[110],{"type":14,"value":111},"()\n",{"type":9,"tag":37,"props":113,"children":115},{"class":39,"line":114},3,[116,121,125],{"type":9,"tag":37,"props":117,"children":118},{"style":44},[119],{"type":14,"value":120},"\u003C\u002F",{"type":9,"tag":37,"props":122,"children":123},{"style":50},[124],{"type":14,"value":53},{"type":9,"tag":37,"props":126,"children":127},{"style":44},[128],{"type":14,"value":80},{"type":9,"tag":37,"props":130,"children":132},{"class":39,"line":131},4,[133],{"type":9,"tag":37,"props":134,"children":136},{"emptyLinePlaceholder":135},true,[137],{"type":14,"value":138},"\n",{"type":9,"tag":37,"props":140,"children":142},{"class":39,"line":141},5,[143,147,152],{"type":9,"tag":37,"props":144,"children":145},{"style":44},[146],{"type":14,"value":47},{"type":9,"tag":37,"props":148,"children":149},{"style":50},[150],{"type":14,"value":151},"template",{"type":9,"tag":37,"props":153,"children":154},{"style":44},[155],{"type":14,"value":80},{"type":9,"tag":37,"props":157,"children":159},{"class":39,"line":158},6,[160,165,170,175,179,184],{"type":9,"tag":37,"props":161,"children":162},{"style":44},[163],{"type":14,"value":164},"  \u003C",{"type":9,"tag":37,"props":166,"children":167},{"style":50},[168],{"type":14,"value":169},"div",{"type":9,"tag":37,"props":171,"children":172},{"style":56},[173],{"type":14,"value":174}," class",{"type":9,"tag":37,"props":176,"children":177},{"style":44},[178],{"type":14,"value":69},{"type":9,"tag":37,"props":180,"children":181},{"style":72},[182],{"type":14,"value":183},"\"gap-4 flex\"",{"type":9,"tag":37,"props":185,"children":186},{"style":44},[187],{"type":14,"value":80},{"type":9,"tag":37,"props":189,"children":191},{"class":39,"line":190},7,[192,197,202],{"type":9,"tag":37,"props":193,"children":194},{"style":44},[195],{"type":14,"value":196},"    \u003C",{"type":9,"tag":37,"props":198,"children":199},{"style":50},[200],{"type":14,"value":201},"MThemePicker",{"type":9,"tag":37,"props":203,"children":204},{"style":44},[205],{"type":14,"value":206}," \u002F>\n",{"type":9,"tag":37,"props":208,"children":210},{"class":39,"line":209},8,[211],{"type":9,"tag":37,"props":212,"children":213},{"emptyLinePlaceholder":135},[214],{"type":14,"value":138},{"type":9,"tag":37,"props":216,"children":218},{"class":39,"line":217},9,[219,223,228],{"type":9,"tag":37,"props":220,"children":221},{"style":44},[222],{"type":14,"value":196},{"type":9,"tag":37,"props":224,"children":225},{"style":50},[226],{"type":14,"value":227},"ClientOnly",{"type":9,"tag":37,"props":229,"children":230},{"style":44},[231],{"type":14,"value":80},{"type":9,"tag":37,"props":233,"children":235},{"class":39,"line":234},10,[236,241,245,249,253,258],{"type":9,"tag":37,"props":237,"children":238},{"style":44},[239],{"type":14,"value":240},"      \u003C",{"type":9,"tag":37,"props":242,"children":243},{"style":50},[244],{"type":14,"value":169},{"type":9,"tag":37,"props":246,"children":247},{"style":56},[248],{"type":14,"value":174},{"type":9,"tag":37,"props":250,"children":251},{"style":44},[252],{"type":14,"value":69},{"type":9,"tag":37,"props":254,"children":255},{"style":72},[256],{"type":14,"value":257},"\"grid grid-cols-2 gap-2 text-sm\"",{"type":9,"tag":37,"props":259,"children":260},{"style":44},[261],{"type":14,"value":80},{"type":9,"tag":37,"props":263,"children":265},{"class":39,"line":264},11,[266,271,275,280,285,290,295,299,304,309,313,318,322,327,332,336],{"type":9,"tag":37,"props":267,"children":268},{"style":44},[269],{"type":14,"value":270},"        \u003C",{"type":9,"tag":37,"props":272,"children":273},{"style":50},[274],{"type":14,"value":169},{"type":9,"tag":37,"props":276,"children":277},{"style":44},[278],{"type":14,"value":279},">primary: \u003C",{"type":9,"tag":37,"props":281,"children":282},{"style":50},[283],{"type":14,"value":284},"UBadge",{"type":9,"tag":37,"props":286,"children":287},{"style":44},[288],{"type":14,"value":289}," :",{"type":9,"tag":37,"props":291,"children":292},{"style":56},[293],{"type":14,"value":294},"label",{"type":9,"tag":37,"props":296,"children":297},{"style":44},[298],{"type":14,"value":69},{"type":9,"tag":37,"props":300,"children":301},{"style":72},[302],{"type":14,"value":303},"\"",{"type":9,"tag":37,"props":305,"children":306},{"style":44},[307],{"type":14,"value":308},"theme.primary.value",{"type":9,"tag":37,"props":310,"children":311},{"style":72},[312],{"type":14,"value":303},{"type":9,"tag":37,"props":314,"children":315},{"style":56},[316],{"type":14,"value":317}," variant",{"type":9,"tag":37,"props":319,"children":320},{"style":44},[321],{"type":14,"value":69},{"type":9,"tag":37,"props":323,"children":324},{"style":72},[325],{"type":14,"value":326},"\"subtle\"",{"type":9,"tag":37,"props":328,"children":329},{"style":44},[330],{"type":14,"value":331}," \u002F>\u003C\u002F",{"type":9,"tag":37,"props":333,"children":334},{"style":50},[335],{"type":14,"value":169},{"type":9,"tag":37,"props":337,"children":338},{"style":44},[339],{"type":14,"value":80},{"type":9,"tag":37,"props":341,"children":343},{"class":39,"line":342},12,[344,348,352,357,361,365,369,373,377,382,386,390,394,399,403,407],{"type":9,"tag":37,"props":345,"children":346},{"style":44},[347],{"type":14,"value":270},{"type":9,"tag":37,"props":349,"children":350},{"style":50},[351],{"type":14,"value":169},{"type":9,"tag":37,"props":353,"children":354},{"style":44},[355],{"type":14,"value":356},">neutral: \u003C",{"type":9,"tag":37,"props":358,"children":359},{"style":50},[360],{"type":14,"value":284},{"type":9,"tag":37,"props":362,"children":363},{"style":44},[364],{"type":14,"value":289},{"type":9,"tag":37,"props":366,"children":367},{"style":56},[368],{"type":14,"value":294},{"type":9,"tag":37,"props":370,"children":371},{"style":44},[372],{"type":14,"value":69},{"type":9,"tag":37,"props":374,"children":375},{"style":72},[376],{"type":14,"value":303},{"type":9,"tag":37,"props":378,"children":379},{"style":44},[380],{"type":14,"value":381},"theme.neutral.value",{"type":9,"tag":37,"props":383,"children":384},{"style":72},[385],{"type":14,"value":303},{"type":9,"tag":37,"props":387,"children":388},{"style":56},[389],{"type":14,"value":317},{"type":9,"tag":37,"props":391,"children":392},{"style":44},[393],{"type":14,"value":69},{"type":9,"tag":37,"props":395,"children":396},{"style":72},[397],{"type":14,"value":398},"\"outline\"",{"type":9,"tag":37,"props":400,"children":401},{"style":44},[402],{"type":14,"value":331},{"type":9,"tag":37,"props":404,"children":405},{"style":50},[406],{"type":14,"value":169},{"type":9,"tag":37,"props":408,"children":409},{"style":44},[410],{"type":14,"value":80},{"type":9,"tag":37,"props":412,"children":414},{"class":39,"line":413},13,[415,419,423,428,432],{"type":9,"tag":37,"props":416,"children":417},{"style":44},[418],{"type":14,"value":270},{"type":9,"tag":37,"props":420,"children":421},{"style":50},[422],{"type":14,"value":169},{"type":9,"tag":37,"props":424,"children":425},{"style":44},[426],{"type":14,"value":427},">radius: {{ theme.radius.value }}rem\u003C\u002F",{"type":9,"tag":37,"props":429,"children":430},{"style":50},[431],{"type":14,"value":169},{"type":9,"tag":37,"props":433,"children":434},{"style":44},[435],{"type":14,"value":80},{"type":9,"tag":37,"props":437,"children":439},{"class":39,"line":438},14,[440,444,448,453,457],{"type":9,"tag":37,"props":441,"children":442},{"style":44},[443],{"type":14,"value":270},{"type":9,"tag":37,"props":445,"children":446},{"style":50},[447],{"type":14,"value":169},{"type":9,"tag":37,"props":449,"children":450},{"style":44},[451],{"type":14,"value":452},">icons: {{ theme.icon.value }}\u003C\u002F",{"type":9,"tag":37,"props":454,"children":455},{"style":50},[456],{"type":14,"value":169},{"type":9,"tag":37,"props":458,"children":459},{"style":44},[460],{"type":14,"value":80},{"type":9,"tag":37,"props":462,"children":464},{"class":39,"line":463},15,[465,469,473,478,482],{"type":9,"tag":37,"props":466,"children":467},{"style":44},[468],{"type":14,"value":270},{"type":9,"tag":37,"props":470,"children":471},{"style":50},[472],{"type":14,"value":169},{"type":9,"tag":37,"props":474,"children":475},{"style":44},[476],{"type":14,"value":477},">mode: {{ theme.mode.value }}\u003C\u002F",{"type":9,"tag":37,"props":479,"children":480},{"style":50},[481],{"type":14,"value":169},{"type":9,"tag":37,"props":483,"children":484},{"style":44},[485],{"type":14,"value":80},{"type":9,"tag":37,"props":487,"children":489},{"class":39,"line":488},16,[490,495,499],{"type":9,"tag":37,"props":491,"children":492},{"style":44},[493],{"type":14,"value":494},"      \u003C\u002F",{"type":9,"tag":37,"props":496,"children":497},{"style":50},[498],{"type":14,"value":169},{"type":9,"tag":37,"props":500,"children":501},{"style":44},[502],{"type":14,"value":80},{"type":9,"tag":37,"props":504,"children":506},{"class":39,"line":505},17,[507,511,515,520,525],{"type":9,"tag":37,"props":508,"children":509},{"style":44},[510],{"type":14,"value":240},{"type":9,"tag":37,"props":512,"children":513},{"style":50},[514],{"type":14,"value":151},{"type":9,"tag":37,"props":516,"children":517},{"style":44},[518],{"type":14,"value":519}," #",{"type":9,"tag":37,"props":521,"children":522},{"style":56},[523],{"type":14,"value":524},"fallback",{"type":9,"tag":37,"props":526,"children":527},{"style":44},[528],{"type":14,"value":80},{"type":9,"tag":37,"props":530,"children":532},{"class":39,"line":531},18,[533,537,541,545,549,554],{"type":9,"tag":37,"props":534,"children":535},{"style":44},[536],{"type":14,"value":270},{"type":9,"tag":37,"props":538,"children":539},{"style":50},[540],{"type":14,"value":169},{"type":9,"tag":37,"props":542,"children":543},{"style":56},[544],{"type":14,"value":174},{"type":9,"tag":37,"props":546,"children":547},{"style":44},[548],{"type":14,"value":69},{"type":9,"tag":37,"props":550,"children":551},{"style":72},[552],{"type":14,"value":553},"\"grid grid-cols-2 gap-2 text-sm text-muted\"",{"type":9,"tag":37,"props":555,"children":556},{"style":44},[557],{"type":14,"value":80},{"type":9,"tag":37,"props":559,"children":561},{"class":39,"line":560},19,[562,567,572,576,580,585],{"type":9,"tag":37,"props":563,"children":564},{"style":44},[565],{"type":14,"value":566},"          \u003C",{"type":9,"tag":37,"props":568,"children":569},{"style":50},[570],{"type":14,"value":571},"USkeleton",{"type":9,"tag":37,"props":573,"children":574},{"style":56},[575],{"type":14,"value":174},{"type":9,"tag":37,"props":577,"children":578},{"style":44},[579],{"type":14,"value":69},{"type":9,"tag":37,"props":581,"children":582},{"style":72},[583],{"type":14,"value":584},"\"h-5\"",{"type":9,"tag":37,"props":586,"children":587},{"style":44},[588],{"type":14,"value":206},{"type":9,"tag":37,"props":590,"children":592},{"class":39,"line":591},20,[593,597,601,605,609,613],{"type":9,"tag":37,"props":594,"children":595},{"style":44},[596],{"type":14,"value":566},{"type":9,"tag":37,"props":598,"children":599},{"style":50},[600],{"type":14,"value":571},{"type":9,"tag":37,"props":602,"children":603},{"style":56},[604],{"type":14,"value":174},{"type":9,"tag":37,"props":606,"children":607},{"style":44},[608],{"type":14,"value":69},{"type":9,"tag":37,"props":610,"children":611},{"style":72},[612],{"type":14,"value":584},{"type":9,"tag":37,"props":614,"children":615},{"style":44},[616],{"type":14,"value":206},{"type":9,"tag":37,"props":618,"children":620},{"class":39,"line":619},21,[621,625,629,633,637,641],{"type":9,"tag":37,"props":622,"children":623},{"style":44},[624],{"type":14,"value":566},{"type":9,"tag":37,"props":626,"children":627},{"style":50},[628],{"type":14,"value":571},{"type":9,"tag":37,"props":630,"children":631},{"style":56},[632],{"type":14,"value":174},{"type":9,"tag":37,"props":634,"children":635},{"style":44},[636],{"type":14,"value":69},{"type":9,"tag":37,"props":638,"children":639},{"style":72},[640],{"type":14,"value":584},{"type":9,"tag":37,"props":642,"children":643},{"style":44},[644],{"type":14,"value":206},{"type":9,"tag":37,"props":646,"children":648},{"class":39,"line":647},22,[649,653,657,661,665,669],{"type":9,"tag":37,"props":650,"children":651},{"style":44},[652],{"type":14,"value":566},{"type":9,"tag":37,"props":654,"children":655},{"style":50},[656],{"type":14,"value":571},{"type":9,"tag":37,"props":658,"children":659},{"style":56},[660],{"type":14,"value":174},{"type":9,"tag":37,"props":662,"children":663},{"style":44},[664],{"type":14,"value":69},{"type":9,"tag":37,"props":666,"children":667},{"style":72},[668],{"type":14,"value":584},{"type":9,"tag":37,"props":670,"children":671},{"style":44},[672],{"type":14,"value":206},{"type":9,"tag":37,"props":674,"children":676},{"class":39,"line":675},23,[677,681,685,689,693,697],{"type":9,"tag":37,"props":678,"children":679},{"style":44},[680],{"type":14,"value":566},{"type":9,"tag":37,"props":682,"children":683},{"style":50},[684],{"type":14,"value":571},{"type":9,"tag":37,"props":686,"children":687},{"style":56},[688],{"type":14,"value":174},{"type":9,"tag":37,"props":690,"children":691},{"style":44},[692],{"type":14,"value":69},{"type":9,"tag":37,"props":694,"children":695},{"style":72},[696],{"type":14,"value":584},{"type":9,"tag":37,"props":698,"children":699},{"style":44},[700],{"type":14,"value":206},{"type":9,"tag":37,"props":702,"children":704},{"class":39,"line":703},24,[705,710,714],{"type":9,"tag":37,"props":706,"children":707},{"style":44},[708],{"type":14,"value":709},"        \u003C\u002F",{"type":9,"tag":37,"props":711,"children":712},{"style":50},[713],{"type":14,"value":169},{"type":9,"tag":37,"props":715,"children":716},{"style":44},[717],{"type":14,"value":80},{"type":9,"tag":37,"props":719,"children":721},{"class":39,"line":720},25,[722,726,730],{"type":9,"tag":37,"props":723,"children":724},{"style":44},[725],{"type":14,"value":494},{"type":9,"tag":37,"props":727,"children":728},{"style":50},[729],{"type":14,"value":151},{"type":9,"tag":37,"props":731,"children":732},{"style":44},[733],{"type":14,"value":80},{"type":9,"tag":37,"props":735,"children":737},{"class":39,"line":736},26,[738,743,747],{"type":9,"tag":37,"props":739,"children":740},{"style":44},[741],{"type":14,"value":742},"    \u003C\u002F",{"type":9,"tag":37,"props":744,"children":745},{"style":50},[746],{"type":14,"value":227},{"type":9,"tag":37,"props":748,"children":749},{"style":44},[750],{"type":14,"value":80},{"type":9,"tag":37,"props":752,"children":754},{"class":39,"line":753},27,[755,760,764],{"type":9,"tag":37,"props":756,"children":757},{"style":44},[758],{"type":14,"value":759},"  \u003C\u002F",{"type":9,"tag":37,"props":761,"children":762},{"style":50},[763],{"type":14,"value":169},{"type":9,"tag":37,"props":765,"children":766},{"style":44},[767],{"type":14,"value":80},{"type":9,"tag":37,"props":769,"children":771},{"class":39,"line":770},28,[772,776,780],{"type":9,"tag":37,"props":773,"children":774},{"style":44},[775],{"type":14,"value":120},{"type":9,"tag":37,"props":777,"children":778},{"style":50},[779],{"type":14,"value":151},{"type":9,"tag":37,"props":781,"children":782},{"style":44},[783],{"type":14,"value":80},{"type":9,"tag":785,"props":786,"children":787},"style",{},[788],{"type":14,"value":789},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":22,"searchDepth":83,"depth":83,"links":791},[],{"data":793,"body":794,"toc":869},{"title":22,"description":22},{"type":6,"children":795},[796,865],{"type":9,"tag":797,"props":798,"children":799},"code-collapse",{},[800],{"type":9,"tag":26,"props":801,"children":806},{"className":802,"code":803,"filename":804,"language":805,"meta":22,"style":22},"language-ts shiki shiki-themes github-light github-light github-dark","export default defineAppConfig({\n  ui: {\n    theme: {}\n  }\n})\n","app.config.ts","ts",[807],{"type":9,"tag":33,"props":808,"children":809},{"__ignoreMap":22},[810,833,841,849,857],{"type":9,"tag":37,"props":811,"children":812},{"class":39,"line":40},[813,818,823,828],{"type":9,"tag":37,"props":814,"children":815},{"style":87},[816],{"type":14,"value":817},"export",{"type":9,"tag":37,"props":819,"children":820},{"style":87},[821],{"type":14,"value":822}," default",{"type":9,"tag":37,"props":824,"children":825},{"style":56},[826],{"type":14,"value":827}," defineAppConfig",{"type":9,"tag":37,"props":829,"children":830},{"style":44},[831],{"type":14,"value":832},"({\n",{"type":9,"tag":37,"props":834,"children":835},{"class":39,"line":83},[836],{"type":9,"tag":37,"props":837,"children":838},{"style":44},[839],{"type":14,"value":840},"  ui: {\n",{"type":9,"tag":37,"props":842,"children":843},{"class":39,"line":114},[844],{"type":9,"tag":37,"props":845,"children":846},{"style":44},[847],{"type":14,"value":848},"    theme: {}\n",{"type":9,"tag":37,"props":850,"children":851},{"class":39,"line":131},[852],{"type":9,"tag":37,"props":853,"children":854},{"style":44},[855],{"type":14,"value":856},"  }\n",{"type":9,"tag":37,"props":858,"children":859},{"class":39,"line":141},[860],{"type":9,"tag":37,"props":861,"children":862},{"style":44},[863],{"type":14,"value":864},"})\n",{"type":9,"tag":785,"props":866,"children":867},{},[868],{"type":14,"value":789},{"title":22,"searchDepth":83,"depth":83,"links":870},[],{"id":872,"title":873,"body":874,"category":2343,"description":15,"difficulty":2343,"extension":2344,"index":2345,"keywords":2343,"links":2343,"meta":2346,"navigation":2343,"path":2347,"requires":2343,"seo":2348,"sitemap":2349,"stem":2350,"__hash__":2351},"docs\u002Fdocs\u002F1.getting-started\u002F5.theme.md","主题系统",{"type":875,"value":876,"toc":2321},"minimark",[877,881,892,895,935,938,948,992,996,1001,1007,1010,1015,1150,1155,1158,1161,1206,1225,1252,1269,1313,1320,1371,1389,1411,1473,1497,1500,1511,1522,1552,1566,1569,1605,1608,1629,1659,1662,1673,1804,1807,1810,1822,1863,1867,1871,1886,1890,1905,1908,1913,1922,1925,1928,1932,1946,1949,1963,1966,1969,1989,1992,1995,2007,2011,2014,2018,2022,2026,2029,2040,2043,2179,2315,2318],[878,879,880],"h2",{"id":880},"介绍",[10,882,883,884,891],{},"Movk Nuxt 在 ",[885,886,890],"a",{"href":887,"rel":888},"https:\u002F\u002Fui.nuxt.com",[889],"nofollow","Nuxt UI"," 主题之上提供统一的运行时主题管理：颜色、圆角、字体、图标集与深色模式集中由一处控制，并可在运行时交互式调整、一键导出 CSS 变量或配置代码。",[10,893,894],{},"主题能力由三部分组成：",[896,897,898,917,926],"ul",{},[899,900,901,908,909,912,913,916],"li",{},[902,903,904],"strong",{},[885,905,907],{"href":906},"\u002Fdocs\u002Fgetting-started\u002Fconfiguration","模块默认值"," ： 在 ",[33,910,911],{},"nuxt.config.ts"," 的 ",[33,914,915],{},"movk.theme"," 中声明可选项。",[899,918,919,925],{},[902,920,921,924],{},[33,922,923],{},"ThemePicker"," 组件"," ： 面向用户的可视化调参面板，支持导出。",[899,927,928,934],{},[902,929,930,933],{},[33,931,932],{},"useTheme"," composable"," ： 在脚本中读写主题状态、导出 CSS\u002F配置。",[878,936,937],{"id":937},"启用与关闭",[10,939,940,941,944,945,947],{},"主题模块默认启用。关闭后不再注入 ",[33,942,943],{},"appConfig"," 默认值、theme 插件与 ",[33,946,923],{}," 组件：",[26,949,951],{"className":802,"code":950,"filename":911,"language":805,"meta":22,"style":22},"export default defineNuxtConfig({\n  movk: {\n    theme: { enabled: false }\n  }\n})\n",[33,952,953,967,972,984,988],{"__ignoreMap":22},[37,954,955,958,960,964],{"class":39,"line":40},[37,956,817],{"class":957},"s8jYJ",[37,959,822],{"class":957},[37,961,963],{"class":962},"snPdu"," defineNuxtConfig",[37,965,832],{"class":966},"sxrX7",[37,968,969],{"class":39,"line":83},[37,970,971],{"class":966},"  movk: {\n",[37,973,974,977,981],{"class":39,"line":114},[37,975,976],{"class":966},"    theme: { enabled: ",[37,978,980],{"class":979},"sBjJW","false",[37,982,983],{"class":966}," }\n",[37,985,986],{"class":39,"line":131},[37,987,856],{"class":966},[37,989,990],{"class":39,"line":141},[37,991,864],{"class":966},[878,993,995],{"id":994},"themepicker-组件","ThemePicker 组件",[10,997,998,1000],{},[33,999,923],{}," 提供颜色、圆角、图标集、深色模式的可视化切换，并能导出当前主题。",[1002,1003,1006],"tip",{"icon":1004,"to":1005},"i-lucide-box","#themepicker-参考","查看 ThemePicker 的完整 props、事件与用法。",[878,1008,932],{"id":1009},"usetheme",[10,1011,1012,1014],{},[33,1013,932],{}," 暴露主题的响应式状态与导出方法，适合自定义主题面板或在业务逻辑中读取主题：",[26,1016,1018],{"className":802,"code":1017,"language":805,"meta":22,"style":22},"const {\n  color, neutral, radius, icon, mode,\n  exportCSS, exportConfig, resetTheme\n} = useTheme()\n\n\u002F\u002F 读取\u002F切换主题\ncolor.value = 'green'\nmode.value = 'dark'\n\n\u002F\u002F 导出当前主题\nconst css = exportCSS()\nconst config = exportConfig()\n",[33,1019,1020,1027,1056,1071,1082,1086,1092,1103,1113,1117,1122,1136],{"__ignoreMap":22},[37,1021,1022,1024],{"class":39,"line":40},[37,1023,90],{"class":957},[37,1025,1026],{"class":966}," {\n",[37,1028,1029,1032,1035,1038,1040,1043,1045,1048,1050,1053],{"class":39,"line":83},[37,1030,1031],{"class":979},"  color",[37,1033,1034],{"class":966},", ",[37,1036,1037],{"class":979},"neutral",[37,1039,1034],{"class":966},[37,1041,1042],{"class":979},"radius",[37,1044,1034],{"class":966},[37,1046,1047],{"class":979},"icon",[37,1049,1034],{"class":966},[37,1051,1052],{"class":979},"mode",[37,1054,1055],{"class":966},",\n",[37,1057,1058,1061,1063,1066,1068],{"class":39,"line":114},[37,1059,1060],{"class":979},"  exportCSS",[37,1062,1034],{"class":966},[37,1064,1065],{"class":979},"exportConfig",[37,1067,1034],{"class":966},[37,1069,1070],{"class":979},"resetTheme\n",[37,1072,1073,1076,1078,1080],{"class":39,"line":131},[37,1074,1075],{"class":966},"} ",[37,1077,69],{"class":957},[37,1079,106],{"class":962},[37,1081,111],{"class":966},[37,1083,1084],{"class":39,"line":141},[37,1085,138],{"emptyLinePlaceholder":135},[37,1087,1088],{"class":39,"line":158},[37,1089,1091],{"class":1090},"sCsY4","\u002F\u002F 读取\u002F切换主题\n",[37,1093,1094,1097,1099],{"class":39,"line":190},[37,1095,1096],{"class":966},"color.value ",[37,1098,69],{"class":957},[37,1100,1102],{"class":1101},"sIIMD"," 'green'\n",[37,1104,1105,1108,1110],{"class":39,"line":209},[37,1106,1107],{"class":966},"mode.value ",[37,1109,69],{"class":957},[37,1111,1112],{"class":1101}," 'dark'\n",[37,1114,1115],{"class":39,"line":217},[37,1116,138],{"emptyLinePlaceholder":135},[37,1118,1119],{"class":39,"line":234},[37,1120,1121],{"class":1090},"\u002F\u002F 导出当前主题\n",[37,1123,1124,1126,1129,1131,1134],{"class":39,"line":264},[37,1125,90],{"class":957},[37,1127,1128],{"class":979}," css",[37,1130,101],{"class":957},[37,1132,1133],{"class":962}," exportCSS",[37,1135,111],{"class":966},[37,1137,1138,1140,1143,1145,1148],{"class":39,"line":342},[37,1139,90],{"class":957},[37,1141,1142],{"class":979}," config",[37,1144,101],{"class":957},[37,1146,1147],{"class":962}," exportConfig",[37,1149,111],{"class":966},[1002,1151,1154],{"icon":1152,"to":1153},"i-lucide-square-function","#usetheme-参考","查看 useTheme 返回的全部状态与方法。",[878,1156,1157],{"id":1157},"字体",[10,1159,1160],{},"字体是构建期配置，不随运行时切换。声明一行即可：",[26,1162,1164],{"className":802,"code":1163,"filename":911,"language":805,"meta":22,"style":22},"export default defineNuxtConfig({\n  movk: {\n    theme: {\n      font: 'Alibaba PuHuiTi'\n    }\n  }\n})\n",[33,1165,1166,1176,1180,1185,1193,1198,1202],{"__ignoreMap":22},[37,1167,1168,1170,1172,1174],{"class":39,"line":40},[37,1169,817],{"class":957},[37,1171,822],{"class":957},[37,1173,963],{"class":962},[37,1175,832],{"class":966},[37,1177,1178],{"class":39,"line":83},[37,1179,971],{"class":966},[37,1181,1182],{"class":39,"line":114},[37,1183,1184],{"class":966},"    theme: {\n",[37,1186,1187,1190],{"class":39,"line":131},[37,1188,1189],{"class":966},"      font: ",[37,1191,1192],{"class":1101},"'Alibaba PuHuiTi'\n",[37,1194,1195],{"class":39,"line":141},[37,1196,1197],{"class":966},"    }\n",[37,1199,1200],{"class":39,"line":158},[37,1201,856],{"class":966},[37,1203,1204],{"class":39,"line":190},[37,1205,864],{"class":966},[10,1207,1208,1209,1212,1213,1216,1217,1220,1221,1224],{},"模块在构建期完成三件事，不依赖运行时 JS——Nuxt 模式随 SSR ",[33,1210,1211],{},"\u003Chead>"," 直出，Vue\u002FVite 模式随构建产物 ",[33,1214,1215],{},"index.html"," 直出（",[33,1218,1219],{},"vite dev","\u002F",[33,1222,1223],{},"vite build"," 均生效）：",[896,1226,1227,1236,1245],{},[899,1228,1229,1230,1232,1233],{},"向 ",[33,1231,1211],{}," 写入字体样式表的 ",[33,1234,1235],{},"\u003Clink>",[899,1237,1238,1239,912,1242],{},"为跨域字体补一条带 ",[33,1240,1241],{},"crossorigin",[33,1243,1244],{},"preconnect",[899,1246,1247,1248,1251],{},"注入 ",[33,1249,1250],{},"@theme { --font-sans }","，首选字体之后附上覆盖 macOS、Windows 与 Linux 的系统中文字体回退栈",[10,1253,1254,1255,1260,1261,1264,1265,1268],{},"内置字体托管在 ",[885,1256,1259],{"href":1257,"rel":1258},"https:\u002F\u002Fcdn.mhaibaraai.cn",[889],"movk-fonts","，取值必须与其 ",[33,1262,1263],{},"@font-face"," 声明的 ",[33,1266,1267],{},"font-family"," 逐字一致：",[1270,1271,1272,1285],"table",{},[1273,1274,1275],"thead",{},[1276,1277,1278,1282],"tr",{},[1279,1280,1281],"th",{},"取值",[1279,1283,1284],{},"样式表",[1286,1287,1288,1301],"tbody",{},[1276,1289,1290,1296],{},[1291,1292,1293],"td",{},[33,1294,1295],{},"Alibaba PuHuiTi",[1291,1297,1298],{},[33,1299,1300],{},"https:\u002F\u002Fcdn.mhaibaraai.cn\u002Ffonts\u002Falibaba-puhuiti.css",[1276,1302,1303,1308],{},[1291,1304,1305],{},[33,1306,1307],{},"OPPO Sans",[1291,1309,1310],{},[33,1311,1312],{},"https:\u002F\u002Fcdn.mhaibaraai.cn\u002Ffonts\u002Foppo-sans.css",[10,1314,1315,1316,1319],{},"自托管字体用 ",[33,1317,1318],{},"{ name, href }"," 形式补上入口 CSS 地址：",[26,1321,1323],{"className":802,"code":1322,"filename":911,"language":805,"meta":22,"style":22},"export default defineNuxtConfig({\n  movk: {\n    theme: {\n      font: { name: 'My Font', href: '\u002Ffonts\u002Fmy-font.css' }\n    }\n  }\n})\n",[33,1324,1325,1335,1339,1343,1359,1363,1367],{"__ignoreMap":22},[37,1326,1327,1329,1331,1333],{"class":39,"line":40},[37,1328,817],{"class":957},[37,1330,822],{"class":957},[37,1332,963],{"class":962},[37,1334,832],{"class":966},[37,1336,1337],{"class":39,"line":83},[37,1338,971],{"class":966},[37,1340,1341],{"class":39,"line":114},[37,1342,1184],{"class":966},[37,1344,1345,1348,1351,1354,1357],{"class":39,"line":131},[37,1346,1347],{"class":966},"      font: { name: ",[37,1349,1350],{"class":1101},"'My Font'",[37,1352,1353],{"class":966},", href: ",[37,1355,1356],{"class":1101},"'\u002Ffonts\u002Fmy-font.css'",[37,1358,983],{"class":966},[37,1360,1361],{"class":39,"line":141},[37,1362,1197],{"class":966},[37,1364,1365],{"class":39,"line":158},[37,1366,856],{"class":966},[37,1368,1369],{"class":39,"line":190},[37,1370,864],{"class":966},[1372,1373,1374,1377,1378,1381,1382,1384,1385,1388],"warning",{},[33,1375,1376],{},"name"," 写错不会报错，只会静默回退到系统字体——CSS 家族名匹配对大小写不敏感，但 ",[33,1379,1380],{},"alibaba-puhuiti"," 与 ",[33,1383,1295],{}," 是两个不同的名字。既非内置、又没提供 ",[33,1386,1387],{},"href"," 的字体不会产生任何请求，模块会在开发期发出警告。",[10,1390,1391,1392,1395,1396,1399,1400,1402,1403,1406,1407,1410],{},"模块注入的 ",[33,1393,1394],{},"@theme"," 随 ",[33,1397,1398],{},"@import \"@movk\u002Fnuxt\""," 就位，写在其后的 ",[33,1401,1394],{}," 覆盖 ",[33,1404,1405],{},"--font-sans"," 即可。完全由项目 CSS 控制字体时，不配置 ",[33,1408,1409],{},"movk.theme.font"," 即可：",[26,1412,1417],{"className":1413,"code":1414,"filename":1415,"language":1416,"meta":22,"style":22},"language-css shiki shiki-themes github-light github-light github-dark","@import \"tailwindcss\";\n@import \"@movk\u002Fnuxt\";\n\n@theme {\n  --font-sans: \"OPPO Sans\", sans-serif;\n}\n","app\u002Fassets\u002Fcss\u002Fmain.css","css",[33,1418,1419,1430,1439,1443,1449,1468],{"__ignoreMap":22},[37,1420,1421,1424,1427],{"class":39,"line":40},[37,1422,1423],{"class":957},"@import",[37,1425,1426],{"class":1101}," \"tailwindcss\"",[37,1428,1429],{"class":966},";\n",[37,1431,1432,1434,1437],{"class":39,"line":83},[37,1433,1423],{"class":957},[37,1435,1436],{"class":1101}," \"@movk\u002Fnuxt\"",[37,1438,1429],{"class":966},[37,1440,1441],{"class":39,"line":114},[37,1442,138],{"emptyLinePlaceholder":135},[37,1444,1445,1447],{"class":39,"line":131},[37,1446,1394],{"class":957},[37,1448,1026],{"class":966},[37,1450,1451,1455,1458,1461,1463,1466],{"class":39,"line":141},[37,1452,1454],{"class":1453},"sP4rz","  --font-sans",[37,1456,1457],{"class":966},": ",[37,1459,1460],{"class":1101},"\"OPPO Sans\"",[37,1462,1034],{"class":966},[37,1464,1465],{"class":979},"sans-serif",[37,1467,1429],{"class":966},[37,1469,1470],{"class":39,"line":158},[37,1471,1472],{"class":966},"}\n",[1474,1475,1476,1477,1480,1481,1484,1485,1488,1489,1492,1493,1496],"note",{},"中文字体经 ",[33,1478,1479],{},"unicode-range"," 分包，浏览器只下载页面实际用到字符所在的分片。因此这些字体",[902,1482,1483],{},"不能","交给 ",[33,1486,1487],{},"@nuxt\u002Ffonts"," 处理——它会在构建期把全部分片下载进产物，既失去按需加载，也丢掉跨项目共享的 CDN 缓存。",[33,1490,1491],{},"@movk\u002Fnuxt"," 已默认设置 ",[33,1494,1495],{},"ui.fonts: false","，项目无需重复声明。",[878,1498,1499],{"id":1499},"图标集",[10,1501,1502,1381,1504,1506,1507,1510],{},[33,1503,923],{},[33,1505,932],{}," 可在 Lucide、Phosphor、Tabler 三套图标集间实时切换，切换只改写 ",[33,1508,1509],{},"appConfig.ui.icons","，不需要重新构建。",[10,1512,1513,1514,1517,1518,1521],{},"模块默认把自己组件用到的图标与这三套图标集一并注入 ",[33,1515,1516],{},"@nuxt\u002Ficon"," 的构建期图标包，运行时无需再向 Iconify API 请求。每套图标集需要各自的 ",[33,1519,1520],{},"@iconify-json"," 包才能内联：",[26,1523,1527],{"className":1524,"code":1525,"language":1526,"meta":22,"style":22},"language-bash shiki shiki-themes github-light github-light github-dark","npx nypm add -D @iconify-json\u002Flucide @iconify-json\u002Fph @iconify-json\u002Ftabler\n","bash",[33,1528,1529],{"__ignoreMap":22},[37,1530,1531,1534,1537,1540,1543,1546,1549],{"class":39,"line":40},[37,1532,1533],{"class":962},"npx",[37,1535,1536],{"class":1101}," nypm",[37,1538,1539],{"class":1101}," add",[37,1541,1542],{"class":979}," -D",[37,1544,1545],{"class":1101}," @iconify-json\u002Flucide",[37,1547,1548],{"class":1101}," @iconify-json\u002Fph",[37,1550,1551],{"class":1101}," @iconify-json\u002Ftabler\n",[1474,1553,1554,1555,1558,1559,1381,1562,1565],{},"未安装的图标集不会导致构建失败，只是相关图标退回运行时按需请求。默认图标集 ",[33,1556,1557],{},"lucide"," 缺失时模块会发出警告，",[33,1560,1561],{},"ph",[33,1563,1564],{},"tabler"," 仅在切换图标集后才用到，缺失只记 debug 日志。",[10,1567,1568],{},"不需要这份注入时（例如项目自行管理图标包体积）可整体关闭，关闭后 movk 组件的图标改为运行时加载：",[26,1570,1572],{"className":802,"code":1571,"filename":911,"language":805,"meta":22,"style":22},"export default defineNuxtConfig({\n  movk: {\n    icon: { clientBundle: false }\n  }\n})\n",[33,1573,1574,1584,1588,1597,1601],{"__ignoreMap":22},[37,1575,1576,1578,1580,1582],{"class":39,"line":40},[37,1577,817],{"class":957},[37,1579,822],{"class":957},[37,1581,963],{"class":962},[37,1583,832],{"class":966},[37,1585,1586],{"class":39,"line":83},[37,1587,971],{"class":966},[37,1589,1590,1593,1595],{"class":39,"line":114},[37,1591,1592],{"class":966},"    icon: { clientBundle: ",[37,1594,980],{"class":979},[37,1596,983],{"class":966},[37,1598,1599],{"class":39,"line":131},[37,1600,856],{"class":966},[37,1602,1603],{"class":39,"line":141},[37,1604,864],{"class":966},[878,1606,1607],{"id":1607},"圆角",[10,1609,1610,1613,1614,1616,1617,1620,1621,1624,1625,1628],{},[33,1611,1612],{},"--ui-radius"," 保留三级优先级：",[33,1615,923],{}," 选择 > ",[33,1618,1619],{},"movk.theme.radius"," > 项目 CSS。缺省时模块不注入该变量，沿用 ",[33,1622,1623],{},"@nuxt\u002Fui"," 的默认值（",[33,1626,1627],{},"0.25rem","），项目可在自己的 CSS 中覆盖：",[26,1630,1632],{"className":1413,"code":1631,"filename":1415,"language":1416,"meta":22,"style":22},"@theme {\n  --ui-radius: 0.5rem;\n}\n",[33,1633,1634,1640,1655],{"__ignoreMap":22},[37,1635,1636,1638],{"class":39,"line":40},[37,1637,1394],{"class":957},[37,1639,1026],{"class":966},[37,1641,1642,1645,1647,1650,1653],{"class":39,"line":83},[37,1643,1644],{"class":1453},"  --ui-radius",[37,1646,1457],{"class":966},[37,1648,1649],{"class":979},"0.5",[37,1651,1652],{"class":957},"rem",[37,1654,1429],{"class":966},[37,1656,1657],{"class":39,"line":114},[37,1658,1472],{"class":966},[878,1660,1661],{"id":1661},"可选项定制",[10,1663,1664,1665,1667,1668,1381,1670,1672],{},"颜色别名、圆角档位、neutral 颜色均可在 ",[33,1666,915],{}," 中覆盖，作为 ",[33,1669,923],{},[33,1671,932],{}," 的取值范围：",[26,1674,1676],{"className":802,"code":1675,"filename":911,"language":805,"meta":22,"style":22},"export default defineNuxtConfig({\n  movk: {\n    theme: {\n      colors: ['primary', 'secondary', 'success', 'info', 'warning', 'error'],\n      radiuses: [0, 0.125, 0.25, 0.375, 0.5],\n      neutralColors: ['slate', 'gray', 'zinc', 'neutral', 'stone']\n    }\n  }\n})\n",[33,1677,1678,1688,1692,1696,1732,1761,1792,1796,1800],{"__ignoreMap":22},[37,1679,1680,1682,1684,1686],{"class":39,"line":40},[37,1681,817],{"class":957},[37,1683,822],{"class":957},[37,1685,963],{"class":962},[37,1687,832],{"class":966},[37,1689,1690],{"class":39,"line":83},[37,1691,971],{"class":966},[37,1693,1694],{"class":39,"line":114},[37,1695,1184],{"class":966},[37,1697,1698,1701,1704,1706,1709,1711,1714,1716,1719,1721,1724,1726,1729],{"class":39,"line":131},[37,1699,1700],{"class":966},"      colors: [",[37,1702,1703],{"class":1101},"'primary'",[37,1705,1034],{"class":966},[37,1707,1708],{"class":1101},"'secondary'",[37,1710,1034],{"class":966},[37,1712,1713],{"class":1101},"'success'",[37,1715,1034],{"class":966},[37,1717,1718],{"class":1101},"'info'",[37,1720,1034],{"class":966},[37,1722,1723],{"class":1101},"'warning'",[37,1725,1034],{"class":966},[37,1727,1728],{"class":1101},"'error'",[37,1730,1731],{"class":966},"],\n",[37,1733,1734,1737,1740,1742,1745,1747,1750,1752,1755,1757,1759],{"class":39,"line":141},[37,1735,1736],{"class":966},"      radiuses: [",[37,1738,1739],{"class":979},"0",[37,1741,1034],{"class":966},[37,1743,1744],{"class":979},"0.125",[37,1746,1034],{"class":966},[37,1748,1749],{"class":979},"0.25",[37,1751,1034],{"class":966},[37,1753,1754],{"class":979},"0.375",[37,1756,1034],{"class":966},[37,1758,1649],{"class":979},[37,1760,1731],{"class":966},[37,1762,1763,1766,1769,1771,1774,1776,1779,1781,1784,1786,1789],{"class":39,"line":158},[37,1764,1765],{"class":966},"      neutralColors: [",[37,1767,1768],{"class":1101},"'slate'",[37,1770,1034],{"class":966},[37,1772,1773],{"class":1101},"'gray'",[37,1775,1034],{"class":966},[37,1777,1778],{"class":1101},"'zinc'",[37,1780,1034],{"class":966},[37,1782,1783],{"class":1101},"'neutral'",[37,1785,1034],{"class":966},[37,1787,1788],{"class":1101},"'stone'",[37,1790,1791],{"class":966},"]\n",[37,1793,1794],{"class":39,"line":190},[37,1795,1197],{"class":966},[37,1797,1798],{"class":39,"line":209},[37,1799,856],{"class":966},[37,1801,1802],{"class":39,"line":217},[37,1803,864],{"class":966},[1002,1805,1806],{"icon":1004,"to":906},"各字段含义见模块配置 · Theme",[878,1808,1809],{"id":1809},"导出与复用",[10,1811,1812,1381,1814,1817,1818,1821],{},[33,1813,923],{},[33,1815,1816],{},"useTheme.exportCSS()"," 导出的 CSS 变量可直接写入项目的 ",[33,1819,1820],{},"main.css","，将运行时调试结果固化为默认主题：",[26,1823,1825],{"className":1413,"code":1824,"filename":1415,"language":1416,"meta":22,"style":22},"@import \"tailwindcss\";\n@import \"@movk\u002Fnuxt\";\n\n:root {\n  \u002F* 粘贴 exportCSS() 导出的变量 *\u002F\n}\n",[33,1826,1827,1835,1843,1847,1854,1859],{"__ignoreMap":22},[37,1828,1829,1831,1833],{"class":39,"line":40},[37,1830,1423],{"class":957},[37,1832,1426],{"class":1101},[37,1834,1429],{"class":966},[37,1836,1837,1839,1841],{"class":39,"line":83},[37,1838,1423],{"class":957},[37,1840,1436],{"class":1101},[37,1842,1429],{"class":966},[37,1844,1845],{"class":39,"line":114},[37,1846,138],{"emptyLinePlaceholder":135},[37,1848,1849,1852],{"class":39,"line":131},[37,1850,1851],{"class":962},":root",[37,1853,1026],{"class":966},[37,1855,1856],{"class":39,"line":141},[37,1857,1858],{"class":1090},"  \u002F* 粘贴 exportCSS() 导出的变量 *\u002F\n",[37,1860,1861],{"class":39,"line":158},[37,1862,1472],{"class":966},[878,1864,1866],{"id":1865},"themepicker-参考","ThemePicker 参考",[1868,1869,1870],"h3",{"id":1870},"简介",[10,1872,1873,1875,1876,1879,1880,1882,1883,1885],{},[33,1874,201],{}," 是一个可视化的主题配置组件，允许用户实时预览并自定义应用主题。统一调整 ",[33,1877,1878],{},"primary","、",[33,1881,1037],{},"、圆角、图标集与颜色模式，并支持导出 CSS 变量与 ",[33,1884,804],{}," 配置代码。",[1474,1887,1889],{"to":1888},"https:\u002F\u002Fgithub.com\u002Fnuxt\u002Fui\u002Ftree\u002Fv4\u002Fdocs\u002Fapp\u002Fcomponents\u002Ftheme-picker","配置变更会存储在本地，下次访问时自动恢复。组件源码来自 Nuxt UI",[1474,1891,1892,1894,1895,1901,1902,1904],{},[33,1893,201],{}," 属于主题模块的一部分。若将 ",[885,1896,1898],{"href":1897},"\u002Fdocs\u002Fgetting-started\u002Fconfiguration#theme",[33,1899,1900],{},"movk.theme.enabled"," 设为 ",[33,1903,980],{},"，该组件将不会被注册。",[1868,1906,1907],{"id":1907},"用法",[10,1909,1910,1912],{},[33,1911,201],{}," 通常作为全局主题配置入口，放置在应用头部或工具栏：",[1002,1914,1915,1916,1921],{},"当前主题 token 在面板操作后即时更新，便于确认配置是否生效。配合 ",[885,1917,1919],{"href":1918},"#usetheme-%E5%8F%82%E8%80%83",[33,1920,932],{}," 读取响应式状态：",[1923,1924],"component-example",{"name":19},[1868,1926,1927],{"id":1927},"功能特性",[1929,1930,1931],"h4",{"id":1931},"主色调配置",[896,1933,1934,1940],{},[899,1935,1936,1939],{},[902,1937,1938],{},"Primary","：选择主品牌色，支持黑色或预设颜色",[899,1941,1942,1945],{},[902,1943,1944],{},"Neutral","：配置中性色调，影响文本和背景",[1929,1947,1948],{"id":1948},"样式配置",[896,1950,1951,1957],{},[899,1952,1953,1956],{},[902,1954,1955],{},"Radius","：调整全局圆角大小（0–5 级别）",[899,1958,1959,1962],{},[902,1960,1961],{},"Icons","：切换图标集（Lucide、Phosphor、Tabler）",[1929,1964,1965],{"id":1965},"颜色模式",[10,1967,1968],{},"支持三种颜色模式：",[896,1970,1971,1977,1983],{},[899,1972,1973,1976],{},[33,1974,1975],{},"light","：浅色模式",[899,1978,1979,1982],{},[33,1980,1981],{},"dark","：深色模式",[899,1984,1985,1988],{},[33,1986,1987],{},"system","：跟随系统",[1929,1990,1991],{"id":1991},"导出配置",[10,1993,1994],{},"配置完成后可导出：",[896,1996,1997,2002],{},[899,1998,1999,2001],{},[33,2000,1820],{},"：CSS 变量配置",[899,2003,2004,2006],{},[33,2005,804],{},"：应用配置代码",[1868,2008,2010],{"id":2009},"theme","Theme",[2012,2013],"component-theme",{},[1868,2015,2017],{"id":2016},"changelog","Changelog",[2019,2020],"commit-changelog",{"prefix":2021},"components\u002Ftheme-picker",[878,2023,2025],{"id":2024},"usetheme-参考","useTheme 参考",[1868,2027,1870],{"id":2028},"简介-1",[10,2030,2031,2033,2034,2039],{},[33,2032,932],{}," 暴露主题的响应式状态与导出方法，是 ",[885,2035,2037],{"href":2036},"#themepicker-%E5%8F%82%E8%80%83",[33,2038,923],{}," 组件的底层逻辑，可用于自定义主题面板或在业务逻辑中读写主题。",[1868,2041,2042],{"id":2042},"返回值",[26,2044,2046],{"className":802,"code":2045,"language":805,"meta":22,"style":22},"const {\n  \u002F\u002F 颜色\n  color, primary, primaryColors, neutral, neutralColors,\n  blackAsPrimary, setBlackAsPrimary,\n  \u002F\u002F 圆角 \u002F 图标 \u002F 模式\n  radius, radiuses, icon, icons, mode, modes,\n  \u002F\u002F 注入与状态\n  style, hasCSSChanges, hasConfigChanges,\n  \u002F\u002F 导出\n  exportCSS, exportConfig, resetTheme\n} = useTheme()\n",[33,2047,2048,2054,2059,2083,2095,2100,2130,2135,2152,2157,2169],{"__ignoreMap":22},[37,2049,2050,2052],{"class":39,"line":40},[37,2051,90],{"class":957},[37,2053,1026],{"class":966},[37,2055,2056],{"class":39,"line":83},[37,2057,2058],{"class":1090},"  \u002F\u002F 颜色\n",[37,2060,2061,2063,2065,2067,2069,2072,2074,2076,2078,2081],{"class":39,"line":114},[37,2062,1031],{"class":979},[37,2064,1034],{"class":966},[37,2066,1878],{"class":979},[37,2068,1034],{"class":966},[37,2070,2071],{"class":979},"primaryColors",[37,2073,1034],{"class":966},[37,2075,1037],{"class":979},[37,2077,1034],{"class":966},[37,2079,2080],{"class":979},"neutralColors",[37,2082,1055],{"class":966},[37,2084,2085,2088,2090,2093],{"class":39,"line":131},[37,2086,2087],{"class":979},"  blackAsPrimary",[37,2089,1034],{"class":966},[37,2091,2092],{"class":979},"setBlackAsPrimary",[37,2094,1055],{"class":966},[37,2096,2097],{"class":39,"line":141},[37,2098,2099],{"class":1090},"  \u002F\u002F 圆角 \u002F 图标 \u002F 模式\n",[37,2101,2102,2105,2107,2110,2112,2114,2116,2119,2121,2123,2125,2128],{"class":39,"line":158},[37,2103,2104],{"class":979},"  radius",[37,2106,1034],{"class":966},[37,2108,2109],{"class":979},"radiuses",[37,2111,1034],{"class":966},[37,2113,1047],{"class":979},[37,2115,1034],{"class":966},[37,2117,2118],{"class":979},"icons",[37,2120,1034],{"class":966},[37,2122,1052],{"class":979},[37,2124,1034],{"class":966},[37,2126,2127],{"class":979},"modes",[37,2129,1055],{"class":966},[37,2131,2132],{"class":39,"line":190},[37,2133,2134],{"class":1090},"  \u002F\u002F 注入与状态\n",[37,2136,2137,2140,2142,2145,2147,2150],{"class":39,"line":209},[37,2138,2139],{"class":979},"  style",[37,2141,1034],{"class":966},[37,2143,2144],{"class":979},"hasCSSChanges",[37,2146,1034],{"class":966},[37,2148,2149],{"class":979},"hasConfigChanges",[37,2151,1055],{"class":966},[37,2153,2154],{"class":39,"line":217},[37,2155,2156],{"class":1090},"  \u002F\u002F 导出\n",[37,2158,2159,2161,2163,2165,2167],{"class":39,"line":234},[37,2160,1060],{"class":979},[37,2162,1034],{"class":966},[37,2164,1065],{"class":979},[37,2166,1034],{"class":966},[37,2168,1070],{"class":979},[37,2170,2171,2173,2175,2177],{"class":39,"line":264},[37,2172,1075],{"class":966},[37,2174,69],{"class":957},[37,2176,106],{"class":962},[37,2178,111],{"class":966},[1270,2180,2181,2194],{},[1273,2182,2183],{},[1276,2184,2185,2188,2191],{},[1279,2186,2187],{},"分组",[1279,2189,2190],{},"成员",[1279,2192,2193],{},"说明",[1286,2195,2196,2214,2227,2241,2254,2268,2289,2301],{},[1276,2197,2198,2201,2211],{},[1291,2199,2200],{},"颜色",[1291,2202,2203,2206,2207,2206,2209],{},[33,2204,2205],{},"color"," \u002F ",[33,2208,1878],{},[33,2210,2071],{},[1291,2212,2213],{},"主色及可选项",[1276,2215,2216,2218,2224],{},[1291,2217,2200],{},[1291,2219,2220,2206,2222],{},[33,2221,1037],{},[33,2223,2080],{},[1291,2225,2226],{},"中性色及可选项",[1276,2228,2229,2231,2238],{},[1291,2230,2200],{},[1291,2232,2233,2206,2236],{},[33,2234,2235],{},"blackAsPrimary",[33,2237,2092],{},[1291,2239,2240],{},"以黑色作为主色的开关",[1276,2242,2243,2245,2251],{},[1291,2244,1607],{},[1291,2246,2247,2206,2249],{},[33,2248,1042],{},[33,2250,2109],{},[1291,2252,2253],{},"当前圆角及可选档位",[1276,2255,2256,2259,2265],{},[1291,2257,2258],{},"图标",[1291,2260,2261,2206,2263],{},[33,2262,1047],{},[33,2264,2118],{},[1291,2266,2267],{},"当前图标集及可选项",[1276,2269,2270,2273,2279],{},[1291,2271,2272],{},"模式",[1291,2274,2275,2206,2277],{},[33,2276,1052],{},[33,2278,2127],{},[1291,2280,2281,2282,1220,2284,1220,2286,2288],{},"深色模式（",[33,2283,1975],{},[33,2285,1981],{},[33,2287,1987],{},"）及可选项",[1276,2290,2291,2294,2298],{},[1291,2292,2293],{},"注入",[1291,2295,2296],{},[33,2297,785],{},[1291,2299,2300],{},"需注入到页面的 CSS 变量",[1276,2302,2303,2306,2312],{},[1291,2304,2305],{},"状态",[1291,2307,2308,2206,2310],{},[33,2309,2144],{},[33,2311,2149],{},[1291,2313,2314],{},"是否有相对默认的改动",[1002,2316,2317],{"icon":1004,"to":1005},"开箱即用的可视化主题面板见 ThemePicker 组件。",[785,2319,2320],{},"html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sP4rz, html code.shiki .sP4rz{--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70}",{"title":22,"searchDepth":83,"depth":83,"links":2322},[2323,2324,2325,2326,2327,2328,2329,2330,2331,2332,2339],{"id":880,"depth":83,"text":880},{"id":937,"depth":83,"text":937},{"id":994,"depth":83,"text":995},{"id":1009,"depth":83,"text":932},{"id":1157,"depth":83,"text":1157},{"id":1499,"depth":83,"text":1499},{"id":1607,"depth":83,"text":1607},{"id":1661,"depth":83,"text":1661},{"id":1809,"depth":83,"text":1809},{"id":1865,"depth":83,"text":1866,"children":2333},[2334,2335,2336,2337,2338],{"id":1870,"depth":114,"text":1870},{"id":1907,"depth":114,"text":1907},{"id":1927,"depth":114,"text":1927},{"id":2009,"depth":114,"text":2010},{"id":2016,"depth":114,"text":2017},{"id":2024,"depth":83,"text":2025,"children":2340},[2341,2342],{"id":2028,"depth":114,"text":1870},{"id":2042,"depth":114,"text":2042},null,"md",false,{},"\u002Fdocs\u002Fgetting-started\u002Ftheme",{"title":873,"description":15},{"loc":2347},"docs\u002F1.getting-started\u002F5.theme","hSLWQ368im-Y5R0xb8wnf-QGBdTrcXHNHr01mzjQUgs",[2353],{"title":2354,"path":2355,"stem":2356,"children":2357,"page":2345},"Docs","\u002Fdocs","docs",[2358,2391,2446,2484,2523],{"title":2359,"path":2360,"stem":2361,"children":2362,"category":2343,"description":2343,"icon":2390},"快速开始","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[2363,2365,2370,2374,2379,2380,2385],{"title":880,"path":2360,"stem":2361,"category":2343,"description":2364},"了解 Movk Nuxt 的表单、数据表格、组件和 API 集成，并选择适合 Nuxt 或 Vue + Vite 项目的接入方式。",{"title":2366,"path":2367,"stem":2368,"category":2343,"description":2369},"安装","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","在 Nuxt 4 项目中安装和配置 Movk Nuxt 模块。",{"title":2371,"path":906,"stem":2372,"category":2343,"description":2373},"模块配置","docs\u002F1.getting-started\u002F3.configuration","配置组件前缀、主题颜色、字体、API 端点、认证策略、响应解析规则和 Toast 提示行为。",{"title":2375,"path":2376,"stem":2377,"category":2343,"description":2378},"Vue \u002F Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F4.vue","在纯 Vue + Vite 项目中使用 Movk 的独立组件、主题与 Composables，无需 Nuxt。",{"title":873,"path":2347,"stem":2350,"category":2343,"description":15},{"title":2381,"path":2382,"stem":2383,"category":2343,"description":2384},"迁移到 v2","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F6.migration","从 v1 升级到 v2 时需要处理的破坏性变更。",{"title":2386,"path":2387,"stem":2388,"category":2343,"description":2389},"AI 集成","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002F7.ai","通过 MCP、llms.txt 与 Skills 让 AI 助手理解 Movk Nuxt。","i-lucide-square-play",{"title":2392,"category":2343,"description":2343,"icon":2393,"path":2394,"stem":2395,"children":2396,"page":2345},"表单","i-lucide-square-pen","\u002Fdocs\u002Fauto-form","docs\u002F2.auto-form",[2397,2401,2406,2411,2416,2421,2426,2431,2436,2441],{"title":2359,"path":2398,"stem":2399,"category":2343,"description":2400},"\u002Fdocs\u002Fauto-form\u002Fquickstart","docs\u002F2.auto-form\u002F1.quickstart","了解 AutoForm 的核心设计理念和基本使用方式。",{"title":2402,"path":2403,"stem":2404,"category":2343,"description":2405},"实战示例","\u002Fdocs\u002Fauto-form\u002Frecipes","docs\u002F2.auto-form\u002F10.recipes","登录、注册分组校验、多文件上传与横向搜索表单等 AutoForm 组合场景。",{"title":2407,"path":2408,"stem":2409,"category":2343,"description":2410},"字段类型","\u002Fdocs\u002Fauto-form\u002Ffield-types","docs\u002F2.auto-form\u002F2.field-types","afz 各字段类型到控件的映射与配置。",{"title":2412,"path":2413,"stem":2414,"category":2343,"description":2415},"对象与数组","\u002Fdocs\u002Fauto-form\u002Fobject-array","docs\u002F2.auto-form\u002F3.object-array","嵌套对象与动态数组字段的渲染与增删。",{"title":2417,"path":2418,"stem":2419,"category":2343,"description":2420},"控件","\u002Fdocs\u002Fauto-form\u002Fcontrols","docs\u002F2.auto-form\u002F4.controls","通过 type 字段将 schema 映射到 Nuxt UI 控件，或注册、直接传入自定义 Vue 组件扩展表单字段。",{"title":2422,"path":2423,"stem":2424,"category":2343,"description":2425},"元数据与布局","\u002Fdocs\u002Fauto-form\u002Fmetadata-layout","docs\u002F2.auto-form\u002F5.metadata-layout","通过 meta 配置字段属性，并用 afz.layout 组织布局。",{"title":2427,"path":2428,"stem":2429,"category":2343,"description":2430},"插槽","\u002Fdocs\u002Fauto-form\u002Fslots","docs\u002F2.auto-form\u002F6.slots","通过具名插槽自定义 AutoForm 的头尾、字段控件、字段前后与布局内容。",{"title":2432,"path":2433,"stem":2434,"category":2343,"description":2435},"联动与提交","\u002Fdocs\u002Fauto-form\u002Freactive-submit","docs\u002F2.auto-form\u002F7.reactive-submit","字段间响应式联动与表单提交处理。",{"title":2437,"path":2438,"stem":2439,"category":2343,"description":2440},"SearchForm","\u002Fdocs\u002Fauto-form\u002Fsearch-form","docs\u002F2.auto-form\u002F8.search-form","Schema 驱动的可折叠搜索表单组件。",{"title":2442,"path":2443,"stem":2444,"category":2343,"description":2445},"useAutoForm","\u002Fdocs\u002Fauto-form\u002Fuse-auto-form","docs\u002F2.auto-form\u002F9.use-auto-form","用于创建类型化 Zod Schema 和管理 AutoForm 控件的 composable。",{"title":2447,"path":2448,"stem":2449,"children":2450,"category":2343,"description":2343,"icon":2483},"DataTable","\u002Fdocs\u002Fdata-table","docs\u002F3.data-table\u002F1.index",[2451,2453,2458,2463,2468,2473,2478],{"title":880,"path":2448,"stem":2449,"category":2343,"description":2452},"基于 TanStack Table 的声明式数据表格，含列配置、选择、展开、树形、分页、加载更多与完整 API 参考。",{"title":2454,"path":2455,"stem":2456,"category":2343,"description":2457},"外观","\u002Fdocs\u002Fdata-table\u002Fappearance","docs\u002F3.data-table\u002F2.appearance","组件样式覆盖、分页样式覆盖、斑马纹与边框、视觉密度、内容自适应、空值占位与粘性表头。",{"title":2459,"path":2460,"stem":2461,"category":2343,"description":2462},"列配置","\u002Fdocs\u002Fdata-table\u002Fcolumns","docs\u002F3.data-table\u002F3.columns","数据列的固定、排序、列固定切换、列宽拖拽、文本截断、Tooltip、可见性与函数式配置。",{"title":2464,"path":2465,"stem":2466,"category":2343,"description":2467},"特殊列","\u002Fdocs\u002Fdata-table\u002Fspecial-columns","docs\u002F3.data-table\u002F4.special-columns","选择列、索引列、行固定列与操作列的配置，含树形选择策略、动态按钮与二次确认。",{"title":2469,"path":2470,"stem":2471,"category":2343,"description":2472},"行为与交互","\u002Fdocs\u002Fdata-table\u002Frows","docs\u002F3.data-table\u002F5.rows","行选择、展开详情、点击行为、动态行样式、悬停、右键菜单与编程式控制。",{"title":2474,"path":2475,"stem":2476,"category":2343,"description":2477},"树形数据","\u002Fdocs\u002Fdata-table\u002Ftree","docs\u002F3.data-table\u002F6.tree","通过 childrenKey 启用树形表格，配置展开、级联选择策略、缩进与选中结果读取。",{"title":2479,"path":2480,"stem":2481,"category":2343,"description":2482},"分页与加载更多","\u002Fdocs\u002Fdata-table\u002Fpagination","docs\u002F3.data-table\u002F7.pagination","客户端自动分页、服务端手动分页与加载状态，以及触底加载、无限滚动的实用参数。","i-lucide-table",{"title":2485,"path":2486,"stem":2487,"children":2488,"category":2343,"description":2343,"icon":2522},"API","\u002Fdocs\u002Fapi","docs\u002F4.api\u002F1.index",[2489,2492,2497,2502,2507,2512,2517],{"title":2490,"path":2486,"stem":2487,"category":2343,"description":2491},"概览","Nuxt 数据获取基础与 Movk Nuxt API 系统的核心概念和架构设计。",{"title":2493,"path":2494,"stem":2495,"category":2343,"description":2496},"$api","\u002Fdocs\u002Fapi\u002Fapi-plugin","docs\u002F4.api\u002F2.api-plugin","由 api.factory 插件创建的增强型 $fetch 实例，支持认证注入、数据解包、业务检查和多端点切换。",{"title":2498,"path":2499,"stem":2500,"category":2343,"description":2501},"hooks","\u002Fdocs\u002Fapi\u002Fhooks","docs\u002F4.api\u002F3.hooks","通过 Nuxt 运行时 Hook 扩展 API 系统行为，实现全局请求拦截、错误处理和 401 自定义处理。",{"title":2503,"path":2504,"stem":2505,"category":2343,"description":2506},"useApiFetch","\u002Fdocs\u002Fapi\u002Fuse-api-fetch","docs\u002F4.api\u002F4.use-api-fetch","基于 Nuxt useFetch 封装的 API 请求 composable，提供自动认证、业务状态码检查和 Toast 提示。",{"title":2508,"path":2509,"stem":2510,"category":2343,"description":2511},"上传与下载","\u002Fdocs\u002Fapi\u002Fupload-download","docs\u002F4.api\u002F5.upload-download","带进度监控的文件上传与下载。",{"title":2513,"path":2514,"stem":2515,"category":2343,"description":2516},"流式请求","\u002Fdocs\u002Fapi\u002Fstream","docs\u002F4.api\u002F6.stream","SSE 流式请求与 AI SDK Chat Transport。",{"title":2518,"path":2519,"stem":2520,"category":2343,"description":2521},"API 架构设计","\u002Fdocs\u002Fapi\u002Farchitecture","docs\u002F4.api\u002F7.architecture","厘清 @movk\u002Fnuxt 的职责边界，用最小化分层组织直连后端、同源代理与最小化 BFF，并梳理两类 Auth 的完整闭环。","i-lucide-cloud",{"title":2524,"category":2343,"description":2343,"icon":1004,"path":2525,"stem":2526,"children":2527,"page":2345},"Components","\u002Fdocs\u002Fcomponents","docs\u002F5.components",[2528,2534,2540],{"title":2529,"path":2530,"stem":2531,"category":2532,"description":2533},"DatePicker","\u002Fdocs\u002Fcomponents\u002Fdate-picker","docs\u002F5.components\u002Fdate-picker","advanced","基于国际化标准的日期选择器组件。",{"title":2535,"path":2536,"stem":2537,"category":2538,"description":2539},"MessageBox","\u002Fdocs\u002Fcomponents\u002Fmessage-box","docs\u002F5.components\u002Fmessage-box","feedback","模态消息对话框，提供声明式与编程式两种调用方式。",{"title":2541,"path":2542,"stem":2543,"category":2532,"description":2544,"badge":2545},"Tree","\u002Fdocs\u002Fcomponents\u002Ftree","docs\u002F5.components\u002Ftree","基于 Nuxt UI Tree 的树形组件，补齐搜索、懒加载、工具栏、复选框与父子策略。","v1.4.2",{"data":2547,"body":2548},{},{"type":6,"children":2549},[2550],{"type":9,"tag":10,"props":2551,"children":2552},{},[2553,2555],{"type":14,"value":2554},"Copyright © 2025 - 2026 YiXuan - ",{"type":9,"tag":37,"props":2556,"children":2559},{"className":2557},[2558],"text-highlighted",[2560],{"type":14,"value":2561},"MIT License",[2563,2564],{"title":2375,"path":2376,"stem":2377,"description":2378,"children":-1},{"title":2381,"path":2382,"stem":2383,"description":2384,"children":-1},1795763776067,"237a5cff-9aba-4421-be98-81a239f14b62"]