[{"data":1,"prerenderedAt":1707},["ShallowReactive",2],{"navigation_docs":3,"i-lucide:rocket":252,"i-lucide:info":256,"i-lucide:download":258,"i-lucide:play":260,"i-lucide:folder-tree":262,"i-lucide:map":264,"i-lucide:blocks":266,"i-lucide:circle-dot":268,"i-lucide:sliders-horizontal":270,"i-lucide:circle-dashed":272,"i-lucide:tag":274,"i-lucide:layout-grid":276,"i-lucide:panels-top-left":278,"i-lucide:sparkles":280,"i-lucide:user":282,"i-lucide:square-dashed-mouse-pointer":284,"i-lucide:circle":286,"i-lucide:table":288,"i-lucide:minus":290,"i-lucide:message-square":292,"i-lucide:alert-circle":294,"i-lucide:rectangle-horizontal":296,"i-lucide:keyboard":298,"i-lucide:scroll-text":300,"i-lucide:toggle-left":302,"i-lucide:hash":304,"i-lucide:form":306,"i-lucide:inbox":308,"i-lucide:timer":310,"i-lucide:message-square-more":312,"i-lucide:mouse-pointer-click":314,"i-lucide:chevron-down":316,"i-lucide:chevrons-up-down":318,"i-lucide:terminal":320,"i-lucide:loader-circle":322,"i-lucide:credit-card":324,"i-lucide:type":326,"i-lucide:search":328,"i-lucide:align-left":330,"i-lucide:square-check-big":333,"i-lucide:drafting-compass":335,"i-lucide:puzzle":337,"i-lucide:clipboard-list":339,"i-simple-icons:github":341,"i-lucide:moon":343,"i-lucide:sun":345,"-components-accordion":347,"-components-accordion-surround":1698,"i-lucide:copy":1703,"i-lucide:pen":1705},[4,36,227,237],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":35},"快速开始","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20,25,30],{"title":11,"path":12,"stem":13,"icon":14},"简介","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-info",{"title":16,"path":17,"stem":18,"icon":19},"安装与构建","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"如何使用","\u002Fgetting-started\u002Fusage","1.getting-started\u002F3.usage","i-lucide-play",{"title":26,"path":27,"stem":28,"icon":29},"项目结构","\u002Fgetting-started\u002Fproject-structure","1.getting-started\u002F4.project-structure","i-lucide-folder-tree",{"title":31,"path":32,"stem":33,"icon":34},"里程碑","\u002Fgetting-started\u002Fmilestones","1.getting-started\u002F5.milestones","i-lucide-map",false,{"title":37,"icon":38,"path":39,"stem":40,"children":41,"page":35},"组件","i-lucide-blocks","\u002Fcomponents","2.components",[42,47,52,57,62,67,72,77,82,87,92,97,102,107,112,117,122,127,132,137,142,147,152,156,161,166,171,176,181,185,189,193,198,203,208,212,217,222],{"title":43,"path":44,"stem":45,"icon":46},"ShadcnButton","\u002Fcomponents\u002Fbutton","2.components\u002F1.button","i-lucide-mouse-pointer-click",{"title":48,"path":49,"stem":50,"icon":51},"ShadcnRadio \u002F ShadcnRadioGroup","\u002Fcomponents\u002Fradio-group","2.components\u002F10.radio-group","i-lucide-circle-dot",{"title":53,"path":54,"stem":55,"icon":56},"ShadcnSwitch","\u002Fcomponents\u002Fswitch","2.components\u002F11.switch","i-lucide-toggle-left",{"title":58,"path":59,"stem":60,"icon":61},"ShadcnSlider","\u002Fcomponents\u002Fslider","2.components\u002F12.slider","i-lucide-sliders-horizontal",{"title":63,"path":64,"stem":65,"icon":66},"ShadcnProgress","\u002Fcomponents\u002Fprogress","2.components\u002F13.progress","i-lucide-circle-dashed",{"title":68,"path":69,"stem":70,"icon":71},"ShadcnSelect","\u002Fcomponents\u002Fselect","2.components\u002F14.select","i-lucide-chevrons-up-down",{"title":73,"path":74,"stem":75,"icon":76},"ShadcnBadge","\u002Fcomponents\u002Fbadge","2.components\u002F15.badge","i-lucide-tag",{"title":78,"path":79,"stem":80,"icon":81},"ShadcnTabs","\u002Fcomponents\u002Ftabs","2.components\u002F16.tabs","i-lucide-layout-grid",{"title":83,"path":84,"stem":85,"icon":86},"ShadcnDialog","\u002Fcomponents\u002Fdialog","2.components\u002F17.dialog","i-lucide-panels-top-left",{"title":88,"path":89,"stem":90,"icon":91},"ShadcnIcon \u002F IconRegistry","\u002Fcomponents\u002Ficon","2.components\u002F18.icon","i-lucide-sparkles",{"title":93,"path":94,"stem":95,"icon":96},"ShadcnAvatar","\u002Fcomponents\u002Favatar","2.components\u002F19.avatar","i-lucide-user",{"title":98,"path":99,"stem":100,"icon":101},"ShadcnButtonGroup","\u002Fcomponents\u002Fbutton-group","2.components\u002F2.button-group","i-lucide-square-dashed-mouse-pointer",{"title":103,"path":104,"stem":105,"icon":106},"ShadcnStatusDot","\u002Fcomponents\u002Fstatus-dot","2.components\u002F20.status-dot","i-lucide-circle",{"title":108,"path":109,"stem":110,"icon":111},"ShadcnTable","\u002Fcomponents\u002Ftable","2.components\u002F21.table","i-lucide-table",{"title":113,"path":114,"stem":115,"icon":116},"ShadcnSeparator","\u002Fcomponents\u002Fseparator","2.components\u002F22.separator","i-lucide-minus",{"title":118,"path":119,"stem":120,"icon":121},"ShadcnLabel","\u002Fcomponents\u002Flabel","2.components\u002F23.label","i-lucide-type",{"title":123,"path":124,"stem":125,"icon":126},"ShadcnTooltip","\u002Fcomponents\u002Ftooltip","2.components\u002F24.tooltip","i-lucide-message-square",{"title":128,"path":129,"stem":130,"icon":131},"ShadcnAlert","\u002Fcomponents\u002Falert","2.components\u002F25.alert","i-lucide-alert-circle",{"title":133,"path":134,"stem":135,"icon":136},"ShadcnSkeleton","\u002Fcomponents\u002Fskeleton","2.components\u002F26.skeleton","i-lucide-rectangle-horizontal",{"title":138,"path":139,"stem":140,"icon":141},"ShadcnKbd","\u002Fcomponents\u002Fkbd","2.components\u002F27.kbd","i-lucide-keyboard",{"title":143,"path":144,"stem":145,"icon":146},"ShadcnDropdownMenu","\u002Fcomponents\u002Fdropdown-menu","2.components\u002F28.dropdown-menu","i-lucide-chevron-down",{"title":148,"path":149,"stem":150,"icon":151},"ShadcnScrollArea","\u002Fcomponents\u002Fscroll-area","2.components\u002F29.scroll-area","i-lucide-scroll-text",{"title":153,"path":154,"stem":155,"icon":56},"ShadcnToggle \u002F ShadcnToggleGroup","\u002Fcomponents\u002Ftoggle","2.components\u002F3.toggle",{"title":157,"path":158,"stem":159,"icon":160},"ShadcnInputOTP","\u002Fcomponents\u002Finput-otp","2.components\u002F30.input-otp","i-lucide-hash",{"title":162,"path":163,"stem":164,"icon":165},"ShadcnField","\u002Fcomponents\u002Ffield","2.components\u002F31.field","i-lucide-form",{"title":167,"path":168,"stem":169,"icon":170},"ShadcnEmpty","\u002Fcomponents\u002Fempty","2.components\u002F32.empty","i-lucide-inbox",{"title":172,"path":173,"stem":174,"icon":175},"动效 Token","\u002Fcomponents\u002Fmotion","2.components\u002F33.motion","i-lucide-timer",{"title":177,"path":178,"stem":179,"icon":180},"ShadcnPopover","\u002Fcomponents\u002Fpopover","2.components\u002F34.popover","i-lucide-message-square-more",{"title":182,"path":183,"stem":184,"icon":46},"ShadcnHoverCard","\u002Fcomponents\u002Fhover-card","2.components\u002F35.hover-card",{"title":186,"path":187,"stem":188,"icon":146},"ShadcnAccordion","\u002Fcomponents\u002Faccordion","2.components\u002F36.accordion",{"title":190,"path":191,"stem":192,"icon":71},"ShadcnCollapsible","\u002Fcomponents\u002Fcollapsible","2.components\u002F37.collapsible",{"title":194,"path":195,"stem":196,"icon":197},"ShadcnCommand","\u002Fcomponents\u002Fcommand","2.components\u002F38.command","i-lucide-terminal",{"title":199,"path":200,"stem":201,"icon":202},"ShadcnSpinner","\u002Fcomponents\u002Fspinner","2.components\u002F4.spinner","i-lucide-loader-circle",{"title":204,"path":205,"stem":206,"icon":207},"ShadcnCard","\u002Fcomponents\u002Fcard","2.components\u002F5.card","i-lucide-credit-card",{"title":209,"path":210,"stem":211,"icon":121},"ShadcnInput","\u002Fcomponents\u002Finput","2.components\u002F6.input",{"title":213,"path":214,"stem":215,"icon":216},"ShadcnInputGroup","\u002Fcomponents\u002Finput-group","2.components\u002F7.input-group","i-lucide-search",{"title":218,"path":219,"stem":220,"icon":221},"ShadcnTextarea","\u002Fcomponents\u002Ftextarea","2.components\u002F8.textarea","i-lucide-align-left",{"title":223,"path":224,"stem":225,"icon":226},"ShadcnCheckbox","\u002Fcomponents\u002Fcheckbox","2.components\u002F9.checkbox","i-lucide-square-check-big",{"title":228,"icon":229,"path":230,"stem":231,"children":232,"page":35},"设计","i-lucide-drafting-compass","\u002Fdesign","3.design",[233],{"title":234,"path":235,"stem":236,"icon":229},"技术方案","\u002Fdesign\u002Ftechnical-design","3.design\u002F1.technical-design",{"title":238,"icon":239,"path":240,"stem":241,"children":242,"page":35},"开发","i-lucide-puzzle","\u002Fdevelopment","4.development",[243,247],{"title":244,"path":245,"stem":246,"icon":239},"组件开发流程","\u002Fdevelopment\u002Fcomponent-workflow","4.development\u002F1.component-workflow",{"title":248,"path":249,"stem":250,"icon":251},"M3 组件规范对照表","\u002Fdevelopment\u002Fm3-components-spec","4.development\u002F2.m3-components-spec","i-lucide-clipboard-list",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":255},0,24,"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\"\u002F>\u003Cpath d=\"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\"\u002F>\u003Cpath d=\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":257},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"10\"\u002F>\u003Cpath d=\"M12 16v-4m0-4h.01\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":259},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"\u002F>\u003Cpath d=\"m7 10l5 5l5-5\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":261},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":263},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Zm0 11a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1ZM3 5a2 2 0 0 0 2 2h3\"\u002F>\u003Cpath d=\"M3 3v13a2 2 0 0 0 2 2h3\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":265},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0zm.894.211v15M9 3.236v15\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":267},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2\"\u002F>\u003Crect width=\"8\" height=\"8\" x=\"14\" y=\"2\" rx=\"1\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":269},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"10\"\u002F>\u003Ccircle cx=\"12\" cy=\"12\" r=\"1\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":271},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 5H3m9 14H3M14 3v4m2 10v4m5-9h-9m9 7h-5m5-14h-7m-6 5v4m0-2H3\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":273},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10.1 2.182a10 10 0 0 1 3.8 0m0 19.636a10 10 0 0 1-3.8 0m7.509-18.097a10 10 0 0 1 2.69 2.7M2.182 13.9a10 10 0 0 1 0-3.8m18.097 7.509a10 10 0 0 1-2.7 2.69M21.818 10.1a10 10 0 0 1 0 3.8M3.721 6.391a10 10 0 0 1 2.7-2.69m-.03 16.578a10 10 0 0 1-2.69-2.7\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":275},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z\"\u002F>\u003Ccircle cx=\"7.5\" cy=\"7.5\" r=\".5\" fill=\"currentColor\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":277},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"7\" height=\"7\" x=\"3\" y=\"3\" rx=\"1\"\u002F>\u003Crect width=\"7\" height=\"7\" x=\"14\" y=\"3\" rx=\"1\"\u002F>\u003Crect width=\"7\" height=\"7\" x=\"14\" y=\"14\" rx=\"1\"\u002F>\u003Crect width=\"7\" height=\"7\" x=\"3\" y=\"14\" rx=\"1\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":279},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"\u002F>\u003Cpath d=\"M3 9h18M9 21V9\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":281},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594zM20 2v4m2-2h-4\"\u002F>\u003Ccircle cx=\"4\" cy=\"20\" r=\"2\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":283},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\"\u002F>\u003Ccircle cx=\"12\" cy=\"7\" r=\"4\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":285},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033zM5 3a2 2 0 0 0-2 2m16-2a2 2 0 0 1 2 2M5 21a2 2 0 0 1-2-2M9 3h1M9 21h2m3-18h1M3 9v1m18-1v2M3 14v1\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":287},"\u003Ccircle cx=\"12\" cy=\"12\" r=\"10\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":289},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M12 3v18\"\u002F>\u003Crect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"\u002F>\u003Cpath d=\"M3 9h18M3 15h18\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":291},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":293},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":295},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"10\"\u002F>\u003Cpath d=\"M12 8v4m0 4h.01\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":297},"\u003Crect width=\"20\" height=\"12\" x=\"2\" y=\"6\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" rx=\"2\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":299},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M10 8h.01M12 12h.01M14 8h.01M16 12h.01M18 8h.01M6 8h.01M7 16h10m-9-4h.01\"\u002F>\u003Crect width=\"20\" height=\"16\" x=\"2\" y=\"4\" rx=\"2\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":301},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M15 12h-5m5-4h-5m9 9V5a2 2 0 0 0-2-2H4\"\u002F>\u003Cpath d=\"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":303},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"9\" cy=\"12\" r=\"3\"\u002F>\u003Crect width=\"20\" height=\"14\" x=\"2\" y=\"5\" rx=\"7\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":305},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":307},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M4 14h6M4 2h10\"\u002F>\u003Crect width=\"16\" height=\"4\" x=\"4\" y=\"18\" rx=\"1\"\u002F>\u003Crect width=\"16\" height=\"4\" x=\"4\" y=\"6\" rx=\"1\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":309},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M22 12h-6l-2 3h-4l-2-3H2\"\u002F>\u003Cpath d=\"M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":311},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M10 2h4m-2 12l3-3\"\u002F>\u003Ccircle cx=\"12\" cy=\"14\" r=\"8\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":313},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2zm-10-6h.01M16 11h.01M8 11h.01\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":315},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4.1L12 6M5.1 8l-2.9-.8M6 12l-1.9 2M7.2 2.2L8 5.1m1.037 4.59a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":317},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":319},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m7 15l5 5l5-5M7 9l5-5l5 5\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":321},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 19h8M4 17l6-6l-6-6\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":323},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 12a9 9 0 1 1-6.219-8.56\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":325},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"20\" height=\"14\" x=\"2\" y=\"5\" rx=\"2\"\u002F>\u003Cpath d=\"M2 10h20\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":327},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2M9 20h6\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":329},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"m21 21l-4.34-4.34\"\u002F>\u003Ccircle cx=\"11\" cy=\"11\" r=\"8\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":331,"hidden":332},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 12H3m14 6H3M21 6H3\"\u002F>",true,{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":334},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344\"\u002F>\u003Cpath d=\"m9 11l3 3L22 4\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":336},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"m12.99 6.74l1.93 3.44M19.136 12a10 10 0 0 1-14.271 0M21 21l-2.16-3.84M3 21l8.02-14.26\"\u002F>\u003Ccircle cx=\"12\" cy=\"5\" r=\"2\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":338},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15.39 4.39a1 1 0 0 0 1.68-.474a2.5 2.5 0 1 1 3.014 3.015a1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474a2.5 2.5 0 1 0-3.014 3.015a1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474a2.5 2.5 0 1 1-3.014-3.015a1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474a2.5 2.5 0 1 0 3.014-3.015a1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":340},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\"\u002F>\u003Cpath d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2m4 7h4m-4 5h4m-8-5h.01M8 16h.01\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":342},"\u003Cpath fill=\"currentColor\" d=\"M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":344},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\"\u002F>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":346},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"4\"\u002F>\u003Cpath d=\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\"\u002F>\u003C\u002Fg>",{"id":348,"title":186,"body":349,"description":1691,"extension":1692,"links":1693,"meta":1694,"navigation":1695,"path":187,"seo":1696,"stem":188,"__hash__":1697},"docs\u002F2.components\u002F36.accordion.md",{"type":350,"value":351,"toc":1675},"minimark",[352,360,368,378,382,736,751,755,759,882,885,946,954,1020,1034,1037,1097,1101,1294,1298,1341,1345,1355,1527,1530,1586,1609,1612,1651,1654,1671],[353,354,355],"p",{},[356,357],"img",{"alt":358,"src":359},"ShadcnAccordion 效果展示","\u002Fimages\u002Fcomponents\u002Faccordion.png",[353,361,362,363,367],{},"手风琴（shadcn\u002Fui v4 base-nova 口径，对齐 Base UI ",[364,365,366],"code",{},"Accordion","）。四个组件组合：",[369,370,375],"pre",{"className":371,"code":373,"language":374},[372],"language-text","Accordion                     flex w-full flex-col（纵向列，零自绘样式）\n└── AccordionItem             not-last:border-b（除末行外 1px theme.border 底边线）\n    ├── AccordionTrigger      行头按钮（包在 Header flex 里）\n    └── AccordionContent      内容区（高度 0 ↔ 自然高动画 + overflow-hidden）\n","text",[364,376,373],{"__ignoreMap":377},"",[379,380,381],"h2",{"id":381},"用法",[369,383,387],{"className":384,"code":385,"language":386,"meta":377,"style":377},"language-qml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","ShadcnAccordion {\n    width: 460\n    multiple: false          \u002F\u002F true = 多开，value 为 string[]\n    collapsible: false       \u002F\u002F 单选时点已展开项是否可收起\n    value: \"\"                \u002F\u002F 受控：单选 string \u002F 多选 string[]\n    onToggled: (value, opened) => console.log(value, opened)\n\n    ShadcnAccordionItem {\n        value: \"faq1\"\n        ShadcnAccordionTrigger { text: qsTr(\"QtShadcn 是什么？\") }\n        ShadcnAccordionContent {\n            Text {\n                Layout.fillWidth: true\n                wrapMode: Text.WordWrap\n                color: theme.mutedForeground   \u002F\u002F 官方 text-muted-foreground\n                text: qsTr(\"一套 shadcn\u002Fui 风格的 Qt Quick 组件库。\")\n            }\n        }\n    }\n    ShadcnAccordionItem {\n        value: \"faq2\"\n        ShadcnAccordionTrigger { text: qsTr(\"支持暗色吗？\") }\n        ShadcnAccordionContent { \u002F* …… *\u002F }\n    }\n}\n","qml",[364,388,389,401,415,431,444,459,505,511,519,537,565,573,581,597,611,628,650,656,662,668,675,689,713,726,730],{"__ignoreMap":377},[390,391,394,397],"span",{"class":392,"line":393},"line",1,[390,395,186],{"class":396},"sBMFI",[390,398,400],{"class":399},"sTEyZ"," {\n",[390,402,404,408,411],{"class":392,"line":403},2,[390,405,407],{"class":406},"sHdIc","    width",[390,409,410],{"class":399},": ",[390,412,414],{"class":413},"sbssI","460\n",[390,416,418,421,423,427],{"class":392,"line":417},3,[390,419,420],{"class":406},"    multiple",[390,422,410],{"class":399},[390,424,426],{"class":425},"sfNiH","false",[390,428,430],{"class":429},"sHwdD","          \u002F\u002F true = 多开，value 为 string[]\n",[390,432,434,437,439,441],{"class":392,"line":433},4,[390,435,436],{"class":406},"    collapsible",[390,438,410],{"class":399},[390,440,426],{"class":425},[390,442,443],{"class":429},"       \u002F\u002F 单选时点已展开项是否可收起\n",[390,445,447,450,452,456],{"class":392,"line":446},5,[390,448,449],{"class":406},"    value",[390,451,410],{"class":399},[390,453,455],{"class":454},"sMK4o","\"\"",[390,457,458],{"class":429},"                \u002F\u002F 受控：单选 string \u002F 多选 string[]\n",[390,460,462,466,468,471,474,477,480,483,487,490,493,497,500,502],{"class":392,"line":461},6,[390,463,465],{"class":464},"s7zQu","    onToggled",[390,467,410],{"class":399},[390,469,470],{"class":454},"(",[390,472,473],{"class":406},"value",[390,475,476],{"class":454},",",[390,478,479],{"class":406}," opened",[390,481,482],{"class":454},")",[390,484,486],{"class":485},"spNyl"," =>",[390,488,489],{"class":399}," console",[390,491,492],{"class":454},".",[390,494,496],{"class":495},"s2Zo4","log",[390,498,499],{"class":399},"(value",[390,501,476],{"class":454},[390,503,504],{"class":399}," opened)\n",[390,506,508],{"class":392,"line":507},7,[390,509,510],{"emptyLinePlaceholder":332},"\n",[390,512,514,517],{"class":392,"line":513},8,[390,515,516],{"class":396},"    ShadcnAccordionItem",[390,518,400],{"class":399},[390,520,522,525,527,530,534],{"class":392,"line":521},9,[390,523,524],{"class":406},"        value",[390,526,410],{"class":399},[390,528,529],{"class":454},"\"",[390,531,533],{"class":532},"sfazB","faq1",[390,535,536],{"class":454},"\"\n",[390,538,540,543,546,548,550,553,555,557,560,562],{"class":392,"line":539},10,[390,541,542],{"class":396},"        ShadcnAccordionTrigger",[390,544,545],{"class":399}," { ",[390,547,374],{"class":406},[390,549,410],{"class":399},[390,551,552],{"class":495},"qsTr",[390,554,470],{"class":399},[390,556,529],{"class":454},[390,558,559],{"class":532},"QtShadcn 是什么？",[390,561,529],{"class":454},[390,563,564],{"class":399},") }\n",[390,566,568,571],{"class":392,"line":567},11,[390,569,570],{"class":396},"        ShadcnAccordionContent",[390,572,400],{"class":399},[390,574,576,579],{"class":392,"line":575},12,[390,577,578],{"class":396},"            Text",[390,580,400],{"class":399},[390,582,584,587,589,592,594],{"class":392,"line":583},13,[390,585,586],{"class":396},"                Layout",[390,588,492],{"class":399},[390,590,591],{"class":406},"fillWidth",[390,593,410],{"class":399},[390,595,596],{"class":425},"true\n",[390,598,600,603,606,608],{"class":392,"line":599},14,[390,601,602],{"class":406},"                wrapMode",[390,604,605],{"class":399},": Text",[390,607,492],{"class":454},[390,609,610],{"class":399},"WordWrap\n",[390,612,614,617,620,622,625],{"class":392,"line":613},15,[390,615,616],{"class":406},"                color",[390,618,619],{"class":399},": theme",[390,621,492],{"class":454},[390,623,624],{"class":399},"mutedForeground   ",[390,626,627],{"class":429},"\u002F\u002F 官方 text-muted-foreground\n",[390,629,631,634,636,638,640,642,645,647],{"class":392,"line":630},16,[390,632,633],{"class":406},"                text",[390,635,410],{"class":399},[390,637,552],{"class":495},[390,639,470],{"class":399},[390,641,529],{"class":454},[390,643,644],{"class":532},"一套 shadcn\u002Fui 风格的 Qt Quick 组件库。",[390,646,529],{"class":454},[390,648,649],{"class":399},")\n",[390,651,653],{"class":392,"line":652},17,[390,654,655],{"class":399},"            }\n",[390,657,659],{"class":392,"line":658},18,[390,660,661],{"class":399},"        }\n",[390,663,665],{"class":392,"line":664},19,[390,666,667],{"class":399},"    }\n",[390,669,671,673],{"class":392,"line":670},20,[390,672,516],{"class":396},[390,674,400],{"class":399},[390,676,678,680,682,684,687],{"class":392,"line":677},21,[390,679,524],{"class":406},[390,681,410],{"class":399},[390,683,529],{"class":454},[390,685,686],{"class":532},"faq2",[390,688,536],{"class":454},[390,690,692,694,696,698,700,702,704,706,709,711],{"class":392,"line":691},22,[390,693,542],{"class":396},[390,695,545],{"class":399},[390,697,374],{"class":406},[390,699,410],{"class":399},[390,701,552],{"class":495},[390,703,470],{"class":399},[390,705,529],{"class":454},[390,707,708],{"class":532},"支持暗色吗？",[390,710,529],{"class":454},[390,712,564],{"class":399},[390,714,716,718,720,723],{"class":392,"line":715},23,[390,717,570],{"class":396},[390,719,545],{"class":399},[390,721,722],{"class":429},"\u002F* …… *\u002F",[390,724,725],{"class":399}," }\n",[390,727,728],{"class":392,"line":254},[390,729,667],{"class":399},[390,731,733],{"class":392,"line":732},25,[390,734,735],{"class":399},"}\n",[353,737,738,739,742,743,746,747,750],{},"一行 = 一个 Trigger + 一个 Content（官方 Panel 也是单个）。内容子项在\n",[364,740,741],{},"ShadcnAccordionContent"," 内部的 ",[364,744,745],{},"ColumnLayout"," 里，需要铺宽时写 ",[364,748,749],{},"Layout.fillWidth: true","。",[379,752,754],{"id":753},"api","API",[756,757,186],"h3",{"id":758},"shadcnaccordion",[760,761,762,778],"table",{},[763,764,765],"thead",{},[766,767,768,772,775],"tr",{},[769,770,771],"th",{},"属性 \u002F 信号",[769,773,774],{},"默认",[769,776,777],{},"说明",[779,780,781,796,818,846,866],"tbody",{},[766,782,783,789,793],{},[784,785,786],"td",{},[364,787,788],{},"multiple",[784,790,791],{},[364,792,426],{},[784,794,795],{},"单选 \u002F 多选。多选时点一项不影响其它项",[766,797,798,803,807],{},[784,799,800],{},[364,801,802],{},"collapsible",[784,804,805],{},[364,806,426],{},[784,808,809,810,814,815,817],{},"单选时点",[811,812,813],"strong",{},"已展开","项能否收起。Base UI 默认 ",[364,816,426],{}," = 至少保持一项展开",[766,819,820,824,828],{},[784,821,822],{},[364,823,473],{},[784,825,826],{},[364,827,455],{},[784,829,830,831,834,835,838,839,841,842,845],{},"受控值：单选 ",[364,832,833],{},"string","、多选 ",[364,836,837],{},"string[]","；",[364,840,455],{}," \u002F ",[364,843,844],{},"[]"," = 全收起。宿主写入即生效，用户点击同样回写",[766,847,848,853,856],{},[784,849,850],{},[364,851,852],{},"content",[784,854,855],{},"—",[784,857,858,859,862,863],{},"默认属性，收 ",[364,860,861],{},"ShadcnAccordionItem"," 进内部 ",[364,864,865],{},"Column",[766,867,868,873,875],{},[784,869,870],{},[364,871,872],{},"toggled(value, opened)",[784,874,855],{},[784,876,877,878,881],{},"用户开合时发出（",[364,879,880],{},"opened"," = 开 \u002F 关）",[756,883,861],{"id":884},"shadcnaccordionitem",[760,886,887,898],{},[763,888,889],{},[766,890,891,894,896],{},[769,892,893],{},"属性",[769,895,774],{},[769,897,777],{},[779,899,900,916,932],{},[766,901,902,906,910],{},[784,903,904],{},[364,905,473],{},[784,907,908],{},[364,909,455],{},[784,911,912,913,915],{},"行标识，根的 ",[364,914,473],{}," 用它比对；留空 = 该行不可开合",[766,917,918,923,926],{},[784,919,920],{},[364,921,922],{},"expanded",[784,924,925],{},"只读",[784,927,928,929,931],{},"展开态，由根的 ",[364,930,473],{}," 派生（勿覆盖）",[766,933,934,939,943],{},[784,935,936],{},[364,937,938],{},"localExpanded",[784,940,941],{},[364,942,426],{},[784,944,945],{},"仅「单独摆一个 Item、没有 Accordion 根」时生效的本地态",[756,947,949,950,953],{"id":948},"shadcnaccordiontrigger基于-qqc-button","ShadcnAccordionTrigger（基于 QQC ",[364,951,952],{},"Button","）",[760,955,956,966],{},[763,957,958],{},[766,959,960,962,964],{},[769,961,893],{},[769,963,774],{},[769,965,777],{},[779,967,968,985,996],{},[766,969,970,974,978],{},[784,971,972],{},[364,973,374],{},[784,975,976],{},[364,977,455],{},[784,979,980,981,984],{},"行标题（沿用 ",[364,982,983],{},"Button.text","，Qt 6.8 起该属性 FINAL，不再自行声明）",[766,986,987,991,993],{},[784,988,989],{},[364,990,922],{},[784,992,925],{},[784,994,995],{},"跟所属 Item",[766,997,998,1003,1008],{},[784,999,1000],{},[364,1001,1002],{},"enabled",[784,1004,1005],{},[364,1006,1007],{},"true",[784,1009,1010,1012,1013,1016,1017],{},[364,1011,426],{}," = 官方 ",[364,1014,1015],{},"aria-disabled","：点不动 + ",[364,1018,1019],{},"opacity-50",[353,1021,1022,1023,1026,1027,841,1030,1033],{},"键盘：",[364,1024,1025],{},"Tab"," 可聚焦，",[364,1028,1029],{},"Enter",[364,1031,1032],{},"Space"," 切换（两档都接管，跨 Qt 版本行为一致）。",[756,1035,741],{"id":1036},"shadcnaccordioncontent",[760,1038,1039,1049],{},[763,1040,1041],{},[766,1042,1043,1045,1047],{},[769,1044,893],{},[769,1046,774],{},[769,1048,777],{},[779,1050,1051,1061,1084],{},[766,1052,1053,1057,1059],{},[784,1054,1055],{},[364,1056,922],{},[784,1058,925],{},[784,1060,995],{},[766,1062,1063,1068,1073],{},[784,1064,1065],{},[364,1066,1067],{},"textColor",[784,1069,1070],{},[364,1071,1072],{},"theme.mutedForeground",[784,1074,1075,1076,1079,1080,1083],{},"官方 ",[364,1077,1078],{},"text-muted-foreground"," 是 CSS 继承，QML 的 ",[364,1081,1082],{},"Text"," 不吃继承，宿主侧显式取这个值",[766,1085,1086,1090,1092],{},[784,1087,1088],{},[364,1089,852],{},[784,1091,855],{},[784,1093,1094,1095],{},"默认属性，收子项进内部 ",[364,1096,745],{},[379,1098,1100],{"id":1099},"视觉base-nova-对照","视觉（base-nova 对照）",[760,1102,1103,1113],{},[763,1104,1105],{},[766,1106,1107,1110],{},[769,1108,1109],{},"官方类",[769,1111,1112],{},"Qt 侧",[779,1114,1115,1127,1148,1162,1175,1187,1199,1220,1232,1255,1268,1278],{},[766,1116,1117,1122],{},[784,1118,1119],{},[364,1120,1121],{},"flex w-full flex-col",[784,1123,1124,1126],{},[364,1125,865],{},"（positioner），宽度由宿主给",[766,1128,1129,1134],{},[784,1130,1131],{},[364,1132,1133],{},"not-last:border-b",[784,1135,1136,1137,1140,1141,1144,1145],{},"行底 ",[364,1138,1139],{},"Rectangle"," 1px ",[364,1142,1143],{},"theme.border","，末行 ",[364,1146,1147],{},"visible: false",[766,1149,1150,1156],{},[784,1151,1152,1153],{},"Trigger ",[364,1154,1155],{},"py-2.5",[784,1157,1158,1161],{},[364,1159,1160],{},"verticalPadding: round(spacingXs × 2.5)"," = 10px",[766,1163,1164,1169],{},[784,1165,1152,1166],{},[364,1167,1168],{},"text-sm font-medium",[784,1170,1171,1172],{},"14px \u002F ",[364,1173,1174],{},"Font.Medium",[766,1176,1177,1182],{},[784,1178,1152,1179],{},[364,1180,1181],{},"rounded-lg",[784,1183,1184],{},[364,1185,1186],{},"theme.radiusLg",[766,1188,1189,1194],{},[784,1190,1152,1191],{},[364,1192,1193],{},"hover:underline",[784,1195,1196],{},[364,1197,1198],{},"font.underline: hovered",[766,1200,1201,1210],{},[784,1202,1203,1206,1207],{},[364,1204,1205],{},"focus-visible:border-ring"," + ",[364,1208,1209],{},"ring-3 ring-ring\u002F50",[784,1211,1212,1213,1216,1217,953],{},"1px ",[364,1214,1215],{},"theme.ring"," 描边 + 外扩 3px 半透明 ring（",[364,1218,1219],{},"activeFocus",[766,1221,1222,1227],{},[784,1223,1224],{},[364,1225,1226],{},"aria-disabled:opacity-50",[784,1228,1229],{},[364,1230,1231],{},"opacity: enabled ? 1 : 0.5",[766,1233,1234,1246],{},[784,1235,1236,1237,1240,1241,1240,1243],{},"图标 ",[364,1238,1239],{},"size-4"," ",[364,1242,1078],{},[364,1244,1245],{},"ml-auto",[784,1247,1248,1251,1252,1254],{},[364,1249,1250],{},"ShadcnIcon"," 16px \u002F ",[364,1253,1072],{}," \u002F RowLayout 贴右",[766,1256,1257,1263],{},[784,1258,1259,1260],{},"Content ",[364,1261,1262],{},"overflow-hidden",[784,1264,1265],{},[364,1266,1267],{},"clip: true",[766,1269,1270,1275],{},[784,1271,1259,1272],{},[364,1273,1274],{},"pb-2.5",[784,1276,1277],{},"底部留白 10px（无顶部留白）",[766,1279,1280,1286],{},[784,1281,1282,1285],{},[364,1283,1284],{},"duration-200"," 展开动画",[784,1287,1288,1206,1291],{},[364,1289,1290],{},"theme.motionDuration(theme.durationSlow)",[364,1292,1293],{},"theme.easingOut",[756,1295,1297],{"id":1296},"chevron-是双图标切换不是旋转","chevron 是「双图标切换」不是旋转",[353,1299,1300,1301,1304,1305,1308,1309,1312,1313,1315,1316,1319,1320,1323,1324,1326,1327,841,1330,1333,1334,1336,1337,1340],{},"官方 Trigger 里放两个图标：",[364,1302,1303],{},"ChevronDownIcon"," 常态显示、展开时 ",[364,1306,1307],{},"hidden","；\n",[364,1310,1311],{},"ChevronUpIcon"," 常态 ",[364,1314,1307],{},"、展开时显示（",[364,1317,1318],{},"group-aria-expanded\u002Faccordion-trigger:hidden"," \u002F\n",[364,1321,1322],{},":inline","）。Qt 侧照做：两个 ",[364,1325,1250],{},"（",[364,1328,1329],{},"chevron-down",[364,1331,1332],{},"chevron-up","）按 ",[364,1335,922],{},"\n互斥 ",[364,1338,1339],{},"visible","，没有旋转动画。",[379,1342,1344],{"id":1343},"高度动画qt-没有-grid-rows","高度动画：Qt 没有 grid-rows",[353,1346,1347,1348,1206,1351,1354],{},"官方用 ",[364,1349,1350],{},"grid-template-rows: 0fr → 1fr",[364,1352,1353],{},"animate-in\u002Fout"," 做展开。Qt 的等价实现是\n「外层裁剪 + 动画外层自己的高度」：",[369,1356,1358],{"className":384,"code":1357,"language":386,"meta":377,"style":377},"Item {                          \u002F\u002F 外层：动画自己的 height + clip\n    clip: true\n    height: expanded ? host.height : 0\n    Behavior on height { NumberAnimation { duration: theme.motionDuration(theme.durationSlow) } }\n    Item {                      \u002F\u002F 内容宿主：固定自然高，独立于外层动画高度\n        id: host\n        visible: root.height > 0\n        height: column.implicitHeight + padBottom\n        ColumnLayout { id: column; height: column.implicitHeight }\n    }\n}\n",[364,1359,1360,1371,1380,1405,1441,1452,1460,1477,1496,1519,1523],{"__ignoreMap":377},[390,1361,1362,1365,1368],{"class":392,"line":393},[390,1363,1364],{"class":396},"Item",[390,1366,1367],{"class":399}," {                          ",[390,1369,1370],{"class":429},"\u002F\u002F 外层：动画自己的 height + clip\n",[390,1372,1373,1376,1378],{"class":392,"line":403},[390,1374,1375],{"class":406},"    clip",[390,1377,410],{"class":399},[390,1379,596],{"class":425},[390,1381,1382,1385,1388,1391,1394,1396,1399,1402],{"class":392,"line":417},[390,1383,1384],{"class":406},"    height",[390,1386,1387],{"class":399},": expanded ",[390,1389,1390],{"class":454},"?",[390,1392,1393],{"class":399}," host",[390,1395,492],{"class":454},[390,1397,1398],{"class":399},"height ",[390,1400,1401],{"class":454},":",[390,1403,1404],{"class":413}," 0\n",[390,1406,1407,1410,1413,1416,1418,1421,1423,1426,1428,1430,1433,1436,1438],{"class":392,"line":433},[390,1408,1409],{"class":396},"    Behavior",[390,1411,1412],{"class":413}," on",[390,1414,1415],{"class":406}," height",[390,1417,545],{"class":399},[390,1419,1420],{"class":396},"NumberAnimation",[390,1422,545],{"class":399},[390,1424,1425],{"class":406},"duration",[390,1427,619],{"class":399},[390,1429,492],{"class":454},[390,1431,1432],{"class":495},"motionDuration",[390,1434,1435],{"class":399},"(theme",[390,1437,492],{"class":454},[390,1439,1440],{"class":399},"durationSlow) } }\n",[390,1442,1443,1446,1449],{"class":392,"line":446},[390,1444,1445],{"class":396},"    Item",[390,1447,1448],{"class":399}," {                      ",[390,1450,1451],{"class":429},"\u002F\u002F 内容宿主：固定自然高，独立于外层动画高度\n",[390,1453,1454,1457],{"class":392,"line":461},[390,1455,1456],{"class":413},"        id",[390,1458,1459],{"class":399},": host\n",[390,1461,1462,1465,1468,1470,1472,1475],{"class":392,"line":507},[390,1463,1464],{"class":406},"        visible",[390,1466,1467],{"class":399},": root",[390,1469,492],{"class":454},[390,1471,1398],{"class":399},[390,1473,1474],{"class":454},">",[390,1476,1404],{"class":413},[390,1478,1479,1482,1485,1487,1490,1493],{"class":392,"line":513},[390,1480,1481],{"class":406},"        height",[390,1483,1484],{"class":399},": column",[390,1486,492],{"class":454},[390,1488,1489],{"class":399},"implicitHeight ",[390,1491,1492],{"class":454},"+",[390,1494,1495],{"class":399}," padBottom\n",[390,1497,1498,1501,1503,1506,1509,1512,1514,1516],{"class":392,"line":521},[390,1499,1500],{"class":396},"        ColumnLayout",[390,1502,545],{"class":399},[390,1504,1505],{"class":413},"id",[390,1507,1508],{"class":399},": column; ",[390,1510,1511],{"class":406},"height",[390,1513,1484],{"class":399},[390,1515,492],{"class":454},[390,1517,1518],{"class":399},"implicitHeight }\n",[390,1520,1521],{"class":392,"line":539},[390,1522,667],{"class":399},[390,1524,1525],{"class":392,"line":567},[390,1526,735],{"class":399},[353,1528,1529],{},"三个必须避开的坑（仓库历史实测）：",[1531,1532,1533,1557,1573],"ol",{},[1534,1535,1536,1546,1547,1319,1550,1552,1553,1556],"li",{},[811,1537,1538,1541,1542,1545],{},[364,1539,1540],{},"clip"," 容器里直接读子项 ",[364,1543,1544],{},"implicitHeight"," 会塌缩","（同 ",[364,1548,1549],{},"ShadcnDialogContent",[364,1551,148],{},"）。所以内容高度由独立的 ",[364,1554,1555],{},"host"," 固定成一条自己的算式，外层只读它，\n依赖单向不成环。",[1534,1558,1559,1565,1566,841,1569,1572],{},[811,1560,1561,1562],{},"不用 ",[364,1563,1564],{},"childrenRect","：它会被子项的 anchors \u002F 尺寸反向影响，内容里放\n",[364,1567,1568],{},"Flickable",[364,1570,1571],{},"ScrollView"," 时给出的是视口高而不是内容高。",[1534,1574,1575,1578,1579,1581,1582,1585],{},[811,1576,1577],{},"收起状态内容不可交互","：",[364,1580,1540],{}," 不参与命中测试，光靠裁剪「看不见」的内容照样吃掉\n点击，必须 ",[364,1583,1584],{},"host.visible = height > 0"," 显式收掉可见性。",[353,1587,1588,1589,1591,1592,1594,1595,1598,1599,1601,1602,1605,1606,1608],{},"另外整条链不用 ",[364,1590,745],{}," 排行：Layout 会在布局 pass 里接管子项 ",[364,1593,1511],{},"，动画中间值\n直接被覆盖（",[364,1596,1597],{},"ShadcnTabsList"," 那类「自包含尺寸要显式写」的问题同源）。用 ",[364,1600,865],{},"\npositioner 只写子项 ",[364,1603,1604],{},"y","，",[364,1607,1511],{}," 归子项自己管。",[379,1610,1611],{"id":1611},"已知偏差",[1613,1614,1615,1633,1645],"ul",{},[1534,1616,1075,1617,1620,1621,1623,1624,1626,1627,841,1630,750],{},[364,1618,1619],{},"w-full"," 在 Qt 没有级联宽度：给 ",[364,1622,186],{}," 显式宽度；放进 ",[364,1625,745],{},"\n时用 ",[364,1628,1629],{},"Layout.fillWidth",[364,1631,1632],{},"Layout.preferredWidth",[1534,1634,1635,1637,1638,1641,1642,750],{},[364,1636,1364],{}," 内不要用 ",[364,1639,1640],{},"Repeater","：异步创建会打乱视觉顺序。动态行在宿主侧声明或用 ",[364,1643,1644],{},"Loader",[1534,1646,1647,1648,1650],{},"动态移除已展开的行后，请把 ",[364,1649,473],{}," 写回不含该值的集合（根不监听子项增删，避免读子项\n属性形成依赖环）。",[379,1652,1653],{"id":1653},"相关",[1613,1655,1656,1664],{},[1534,1657,1658,1659],{},"单块开合区用 ",[1660,1661,1662],"a",{"href":191},[364,1663,190],{},[1534,1665,1666,1668,1669,953],{},[364,1667,113],{}," 是独立分隔线，行内分隔线由 Item 自己画（官方 ",[364,1670,1133],{},[1672,1673,1674],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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":377,"searchDepth":403,"depth":403,"links":1676},[1677,1678,1685,1688,1689,1690],{"id":381,"depth":403,"text":381},{"id":753,"depth":403,"text":754,"children":1679},[1680,1681,1682,1684],{"id":758,"depth":417,"text":186},{"id":884,"depth":417,"text":861},{"id":948,"depth":417,"text":1683},"ShadcnAccordionTrigger（基于 QQC Button）",{"id":1036,"depth":417,"text":741},{"id":1099,"depth":403,"text":1100,"children":1686},[1687],{"id":1296,"depth":417,"text":1297},{"id":1343,"depth":403,"text":1344},{"id":1611,"depth":403,"text":1611},{"id":1653,"depth":403,"text":1653},"手风琴：Accordion \u002F Item \u002F Trigger \u002F Content 组合，单选·多选·collapsible 三档语义 + 高度展开动画。","md",null,{},{"icon":146},{"title":186,"description":1691},"tpV8ktgEnK81hEgOPrwPRNOJ-FrSoKddi-8-sg6ouAY",[1699,1701],{"title":182,"path":183,"stem":184,"description":1700,"icon":46,"children":-1},"悬浮卡片：悬停触发的预览卡片，带打开 \u002F 关闭延时，指针可移进卡片。",{"title":190,"path":191,"stem":192,"description":1702,"icon":71,"children":-1},"可折叠内容：Collapsible \u002F CollapsibleTrigger \u002F CollapsibleContent，单块开合区，open 受控。",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":1704},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fg>",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":1706},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\"\u002F>",1795145899431]