[{"data":1,"prerenderedAt":1340},["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-command":347,"-components-command-surround":1331,"i-lucide:copy":1336,"i-lucide:pen":1338},[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":194,"body":349,"description":1324,"extension":1325,"links":1326,"meta":1327,"navigation":1328,"path":195,"seo":1329,"stem":196,"__hash__":1330},"docs\u002F2.components\u002F38.command.md",{"type":350,"value":351,"toc":1315},"minimark",[352,360,363,385,389,843,845,1004,1008,1146,1157,1160,1171,1194,1200,1203,1266,1270,1283,1286,1311],[353,354,355],"p",{},[356,357],"img",{"alt":358,"src":359},"ShadcnCommand 效果展示","\u002Fimages\u002Fcomponents\u002Fcommand.png",[353,361,362],{},"命令面板。对齐 shadcn v4 base-nova 的 command（基于 cmdk 的交互模型）。",[353,364,365,369,370,374,375,378,379,378,381,384],{},[366,367,368],"strong",{},"关键设计：声明式，不是 model 驱动。"," 官方 cmdk 是声明式 DOM 树过滤 ——\n",[371,372,373],"code",{},"CommandItem"," 写在哪就在哪，过滤只是把不匹配的隐藏。Qt 侧保持同样语义：\n组合出 ",[371,376,377],{},"CommandGroup"," \u002F ",[371,380,373],{},[371,382,383],{},"CommandSeparator","，过滤时隐藏不匹配项\n并让选中索引跳过它们。model 化会丢掉「分组 + 分隔线 + 图标 + 快捷键」的组合\n表达力，而这些正是这组件的形态本身。",[386,387,388],"h2",{"id":388},"用法",[390,391,396],"pre",{"className":392,"code":393,"language":394,"meta":395,"style":395},"language-qml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F 官方唯一形态：套在 Dialog 里，⌘K 呼出\nShortcut {\n    sequence: \"Ctrl+K\"      \u002F\u002F macOS 可用 \"Meta+K\"\n    onActivated: palette.open()\n}\n\nShadcnCommandDialog {\n    id: palette\n\n    ShadcnCommandInput { placeholderText: qsTr(\"输入命令或搜索...\") }\n\n    ShadcnCommandList {\n        ShadcnCommandEmpty { text: qsTr(\"没有匹配结果\") }\n\n        ShadcnCommandGroup {\n            heading: qsTr(\"建议\")\n            ShadcnCommandItem {\n                text: qsTr(\"日历\")\n                iconName: \"calendar\"\n                onActivated: console.log(\"calendar\")\n            }\n            ShadcnCommandItem {\n                text: qsTr(\"搜索邮件\")\n                iconName: \"search\"\n                shortcut: \"⌘F\"\n            }\n        }\n\n        ShadcnCommandSeparator {}\n\n        ShadcnCommandGroup {\n            heading: qsTr(\"设置\")\n            ShadcnCommandItem { text: qsTr(\"外观\"); iconName: \"palette\" }\n        }\n    }\n}\n","qml","",[371,397,398,407,418,441,461,467,473,481,491,496,526,531,539,565,570,578,600,608,629,645,669,675,682,702,715,730,735,741,746,755,760,767,787,827,832,838],{"__ignoreMap":395},[399,400,403],"span",{"class":401,"line":402},"line",1,[399,404,406],{"class":405},"sHwdD","\u002F\u002F 官方唯一形态：套在 Dialog 里，⌘K 呼出\n",[399,408,410,414],{"class":401,"line":409},2,[399,411,413],{"class":412},"sBMFI","Shortcut",[399,415,417],{"class":416},"sTEyZ"," {\n",[399,419,421,425,428,432,436,438],{"class":401,"line":420},3,[399,422,424],{"class":423},"sHdIc","    sequence",[399,426,427],{"class":416},": ",[399,429,431],{"class":430},"sMK4o","\"",[399,433,435],{"class":434},"sfazB","Ctrl+K",[399,437,431],{"class":430},[399,439,440],{"class":405},"      \u002F\u002F macOS 可用 \"Meta+K\"\n",[399,442,444,448,451,454,458],{"class":401,"line":443},4,[399,445,447],{"class":446},"s7zQu","    onActivated",[399,449,450],{"class":416},": palette",[399,452,453],{"class":430},".",[399,455,457],{"class":456},"s2Zo4","open",[399,459,460],{"class":416},"()\n",[399,462,464],{"class":401,"line":463},5,[399,465,466],{"class":416},"}\n",[399,468,470],{"class":401,"line":469},6,[399,471,472],{"emptyLinePlaceholder":332},"\n",[399,474,476,479],{"class":401,"line":475},7,[399,477,478],{"class":412},"ShadcnCommandDialog",[399,480,417],{"class":416},[399,482,484,488],{"class":401,"line":483},8,[399,485,487],{"class":486},"sbssI","    id",[399,489,490],{"class":416},": palette\n",[399,492,494],{"class":401,"line":493},9,[399,495,472],{"emptyLinePlaceholder":332},[399,497,499,502,505,508,510,513,516,518,521,523],{"class":401,"line":498},10,[399,500,501],{"class":412},"    ShadcnCommandInput",[399,503,504],{"class":416}," { ",[399,506,507],{"class":423},"placeholderText",[399,509,427],{"class":416},[399,511,512],{"class":456},"qsTr",[399,514,515],{"class":416},"(",[399,517,431],{"class":430},[399,519,520],{"class":434},"输入命令或搜索...",[399,522,431],{"class":430},[399,524,525],{"class":416},") }\n",[399,527,529],{"class":401,"line":528},11,[399,530,472],{"emptyLinePlaceholder":332},[399,532,534,537],{"class":401,"line":533},12,[399,535,536],{"class":412},"    ShadcnCommandList",[399,538,417],{"class":416},[399,540,542,545,547,550,552,554,556,558,561,563],{"class":401,"line":541},13,[399,543,544],{"class":412},"        ShadcnCommandEmpty",[399,546,504],{"class":416},[399,548,549],{"class":423},"text",[399,551,427],{"class":416},[399,553,512],{"class":456},[399,555,515],{"class":416},[399,557,431],{"class":430},[399,559,560],{"class":434},"没有匹配结果",[399,562,431],{"class":430},[399,564,525],{"class":416},[399,566,568],{"class":401,"line":567},14,[399,569,472],{"emptyLinePlaceholder":332},[399,571,573,576],{"class":401,"line":572},15,[399,574,575],{"class":412},"        ShadcnCommandGroup",[399,577,417],{"class":416},[399,579,581,584,586,588,590,592,595,597],{"class":401,"line":580},16,[399,582,583],{"class":423},"            heading",[399,585,427],{"class":416},[399,587,512],{"class":456},[399,589,515],{"class":416},[399,591,431],{"class":430},[399,593,594],{"class":434},"建议",[399,596,431],{"class":430},[399,598,599],{"class":416},")\n",[399,601,603,606],{"class":401,"line":602},17,[399,604,605],{"class":412},"            ShadcnCommandItem",[399,607,417],{"class":416},[399,609,611,614,616,618,620,622,625,627],{"class":401,"line":610},18,[399,612,613],{"class":423},"                text",[399,615,427],{"class":416},[399,617,512],{"class":456},[399,619,515],{"class":416},[399,621,431],{"class":430},[399,623,624],{"class":434},"日历",[399,626,431],{"class":430},[399,628,599],{"class":416},[399,630,632,635,637,639,642],{"class":401,"line":631},19,[399,633,634],{"class":423},"                iconName",[399,636,427],{"class":416},[399,638,431],{"class":430},[399,640,641],{"class":434},"calendar",[399,643,644],{"class":430},"\"\n",[399,646,648,651,654,656,659,661,663,665,667],{"class":401,"line":647},20,[399,649,650],{"class":446},"                onActivated",[399,652,653],{"class":416},": console",[399,655,453],{"class":430},[399,657,658],{"class":456},"log",[399,660,515],{"class":416},[399,662,431],{"class":430},[399,664,641],{"class":434},[399,666,431],{"class":430},[399,668,599],{"class":416},[399,670,672],{"class":401,"line":671},21,[399,673,674],{"class":416},"            }\n",[399,676,678,680],{"class":401,"line":677},22,[399,679,605],{"class":412},[399,681,417],{"class":416},[399,683,685,687,689,691,693,695,698,700],{"class":401,"line":684},23,[399,686,613],{"class":423},[399,688,427],{"class":416},[399,690,512],{"class":456},[399,692,515],{"class":416},[399,694,431],{"class":430},[399,696,697],{"class":434},"搜索邮件",[399,699,431],{"class":430},[399,701,599],{"class":416},[399,703,704,706,708,710,713],{"class":401,"line":254},[399,705,634],{"class":423},[399,707,427],{"class":416},[399,709,431],{"class":430},[399,711,712],{"class":434},"search",[399,714,644],{"class":430},[399,716,718,721,723,725,728],{"class":401,"line":717},25,[399,719,720],{"class":423},"                shortcut",[399,722,427],{"class":416},[399,724,431],{"class":430},[399,726,727],{"class":434},"⌘F",[399,729,644],{"class":430},[399,731,733],{"class":401,"line":732},26,[399,734,674],{"class":416},[399,736,738],{"class":401,"line":737},27,[399,739,740],{"class":416},"        }\n",[399,742,744],{"class":401,"line":743},28,[399,745,472],{"emptyLinePlaceholder":332},[399,747,749,752],{"class":401,"line":748},29,[399,750,751],{"class":412},"        ShadcnCommandSeparator",[399,753,754],{"class":416}," {}\n",[399,756,758],{"class":401,"line":757},30,[399,759,472],{"emptyLinePlaceholder":332},[399,761,763,765],{"class":401,"line":762},31,[399,764,575],{"class":412},[399,766,417],{"class":416},[399,768,770,772,774,776,778,780,783,785],{"class":401,"line":769},32,[399,771,583],{"class":423},[399,773,427],{"class":416},[399,775,512],{"class":456},[399,777,515],{"class":416},[399,779,431],{"class":430},[399,781,782],{"class":434},"设置",[399,784,431],{"class":430},[399,786,599],{"class":416},[399,788,790,792,794,796,798,800,802,804,807,809,812,815,817,819,822,824],{"class":401,"line":789},33,[399,791,605],{"class":412},[399,793,504],{"class":416},[399,795,549],{"class":423},[399,797,427],{"class":416},[399,799,512],{"class":456},[399,801,515],{"class":416},[399,803,431],{"class":430},[399,805,806],{"class":434},"外观",[399,808,431],{"class":430},[399,810,811],{"class":416},"); ",[399,813,814],{"class":423},"iconName",[399,816,427],{"class":416},[399,818,431],{"class":430},[399,820,821],{"class":434},"palette",[399,823,431],{"class":430},[399,825,826],{"class":416}," }\n",[399,828,830],{"class":401,"line":829},34,[399,831,740],{"class":416},[399,833,835],{"class":401,"line":834},35,[399,836,837],{"class":416},"    }\n",[399,839,841],{"class":401,"line":840},36,[399,842,466],{"class":416},[386,844,37],{"id":37},[846,847,848,860],"table",{},[849,850,851],"thead",{},[852,853,854,857],"tr",{},[855,856,37],"th",{},[855,858,859],{},"说明",[861,862,863,873,892,905,919,940,962,975,991],"tbody",{},[852,864,865,870],{},[866,867,868],"td",{},[371,869,194],{},[866,871,872],{},"根容器。管理查询串、过滤、选中项、键盘导航",[852,874,875,879],{},[866,876,877],{},[371,878,478],{},[866,880,881,882,884,885,888,889],{},"官方形态：",[371,883,83],{}," 的薄封装，内容区 ",[371,886,887],{},"p-0"," + ",[371,890,891],{},"top-1\u002F3",[852,893,894,899],{},[866,895,896],{},[371,897,898],{},"ShadcnCommandInput",[866,900,901,902,904],{},"搜索框（",[371,903,209],{}," + 前置搜索图标）。输入即过滤",[852,906,907,912],{},[866,908,909],{},[371,910,911],{},"ShadcnCommandList",[866,913,914,915,918],{},"可滚动列表，",[371,916,917],{},"max-h-72","(288px)",[852,920,921,926],{},[866,922,923],{},[371,924,925],{},"ShadcnCommandGroup",[866,927,928,929,932,933,888,936,939],{},"分组，带 ",[371,930,931],{},"heading","（",[371,934,935],{},"text-xs",[371,937,938],{},"mutedForeground","）",[852,941,942,947],{},[866,943,944],{},[371,945,946],{},"ShadcnCommandItem",[866,948,949,950,953,954,378,956,378,959],{},"命令项。选中 ",[371,951,952],{},"bg-muted","；",[371,955,814],{},[371,957,958],{},"shortcut",[371,960,961],{},"enabled",[852,963,964,969],{},[866,965,966],{},[371,967,968],{},"ShadcnCommandEmpty",[866,970,971,972,939],{},"无匹配时的占位（",[371,973,974],{},"py-6 text-center",[852,976,977,982],{},[866,978,979],{},[371,980,981],{},"ShadcnCommandSeparator",[866,983,984,985,888,988,939],{},"分隔线（",[371,986,987],{},"h-px",[371,989,990],{},"theme.border",[852,992,993,998],{},[866,994,995],{},[371,996,997],{},"ShadcnCommandShortcut",[866,999,1000,1001,939],{},"右侧快捷键提示（",[371,1002,1003],{},"text-xs tracking-widest mutedForeground",[386,1005,1007],{"id":1006},"shadcncommand-属性","ShadcnCommand 属性",[846,1009,1010,1022],{},[849,1011,1012],{},[852,1013,1014,1017,1020],{},[855,1015,1016],{},"属性",[855,1018,1019],{},"默认",[855,1021,859],{},[861,1023,1024,1038,1051,1063,1075,1093,1114,1129],{},[852,1025,1026,1030,1035],{},[866,1027,1028],{},[371,1029,712],{},[866,1031,1032],{},[371,1033,1034],{},"\"\"",[866,1036,1037],{},"当前查询串，由 Input 双向绑定",[852,1039,1040,1045,1048],{},[866,1041,1042],{},[371,1043,1044],{},"matchCount",[866,1046,1047],{},"—",[866,1049,1050],{},"只读，匹配到的项数",[852,1052,1053,1058,1060],{},[866,1054,1055],{},[371,1056,1057],{},"value",[866,1059,1047],{},[866,1061,1062],{},"只读，当前选中项的匹配值",[852,1064,1065,1070,1072],{},[866,1066,1067],{},[371,1068,1069],{},"activeItem",[866,1071,1047],{},[866,1073,1074],{},"只读，当前选中项",[852,1076,1077,1082,1087],{},[866,1078,1079],{},[371,1080,1081],{},"shouldFilter",[866,1083,1084],{},[371,1085,1086],{},"true",[866,1088,1089,1090,939],{},"关掉则自行过滤（配合 ",[371,1091,1092],{},"filter",[852,1094,1095,1099,1104],{},[866,1096,1097],{},[371,1098,1092],{},[866,1100,1101],{},[371,1102,1103],{},"null",[866,1105,1106,1107,1110,1111],{},"自定义过滤函数 ",[371,1108,1109],{},"(query, text) => bool","，默认走 C++ ",[371,1112,1113],{},"CommandFilter",[852,1115,1116,1121,1126],{},[866,1117,1118],{},[371,1119,1120],{},"loop",[866,1122,1123],{},[371,1124,1125],{},"false",[866,1127,1128],{},"↑↓ 到边界后是否环绕",[852,1130,1131,1136,1140],{},[866,1132,1133],{},[371,1134,1135],{},"inDialog",[866,1137,1138],{},[371,1139,1125],{},[866,1141,1142,1143,1145],{},"由 ",[371,1144,478],{}," 自动置位，控制样式微调",[353,1147,1148,1149,1152,1153,1156],{},"信号：",[371,1150,1151],{},"activated(string value)"," 回车或点击某项时发出；",[371,1154,1155],{},"selectedValueChanged(string value)"," 选中项变化。",[386,1158,1159],{"id":1159},"过滤",[353,1161,1162,1163,1166,1167,1170],{},"默认过滤在 C++ 侧（",[371,1164,1165],{},"src\u002Fcore\u002Fcommandfilter.cpp","）实现，有独立单测\n（",[371,1168,1169],{},"tests\u002Fcore\u002Fcommandfilter_test.cpp","）。规则对齐 cmdk：",[1172,1173,1174,1178,1188,1191],"ul",{},[1175,1176,1177],"li",{},"大小写不敏感",[1175,1179,1180,1181,1184,1185,939],{},"子串匹配 + 字符顺序匹配（",[371,1182,1183],{},"gcl"," 能匹配到 ",[371,1186,1187],{},"Google Chrome",[1175,1189,1190],{},"空查询 → 全部显示",[1175,1192,1193],{},"中文直接子串匹配（不做拼音转换，避免过度设计）",[353,1195,1196,1197,1199],{},"通过 ",[371,1198,1092],{}," 属性可替换成自己的实现。",[386,1201,1202],{"id":1202},"键盘",[846,1204,1205,1215],{},[849,1206,1207],{},[852,1208,1209,1212],{},[855,1210,1211],{},"键",[855,1213,1214],{},"行为",[861,1216,1217,1233,1246,1256],{},[852,1218,1219,1227],{},[866,1220,1221,378,1224],{},[371,1222,1223],{},"↑",[371,1225,1226],{},"↓",[866,1228,1229,1230],{},"移动选中项，",[366,1231,1232],{},"跳过被过滤掉和禁用的项",[852,1234,1235,1240],{},[866,1236,1237],{},[371,1238,1239],{},"Enter",[866,1241,1242,1243],{},"执行当前选中项，发 ",[371,1244,1245],{},"activated(value)",[852,1247,1248,1253],{},[866,1249,1250],{},[371,1251,1252],{},"Esc",[866,1254,1255],{},"关闭（由外层 Dialog 处理）",[852,1257,1258,1263],{},[866,1259,1260],{},[371,1261,1262],{},"Tab",[866,1264,1265],{},"不进列表（焦点留在 Input）",[386,1267,1269],{"id":1268},"边界全局快捷键归宿主","边界：全局快捷键归宿主",[353,1271,37,1272,1275,1276,1278,1279,1282],{},[366,1273,1274],{},"不注册任何全局快捷键","。⌘K 是应用级决定（面板可能不止一个、键位可能被改、\n也可能要占用别的组合键），所以由宿主用 ",[371,1277,413],{}," 挂到 Window\u002FPage 上再调用\n",[371,1280,1281],{},"open()","。showcase 演示页给出了完整写法。",[386,1284,1285],{"id":1285},"已知偏差",[1172,1287,1288,1298],{},[1175,1289,1290,1293,1294,1297],{},[366,1291,1292],{},"不做虚拟滚动","：命令面板的条目量通常在几十条以内，",[371,1295,1296],{},"ListView"," 足够；上千条\n的场景应该改用过滤而不是滚动。",[1175,1299,1300,1306,1307,1310],{},[366,1301,1302,1305],{},[371,1303,1304],{},"CommandDialog"," 没有独立的关闭钮","：与官方一致（",[371,1308,1309],{},"showCloseButton=false","），\nEsc 或执行某项后关闭。",[1312,1313,1314],"style",{},"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 .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 .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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":395,"searchDepth":409,"depth":409,"links":1316},[1317,1318,1319,1320,1321,1322,1323],{"id":388,"depth":409,"text":388},{"id":37,"depth":409,"text":37},{"id":1006,"depth":409,"text":1007},{"id":1159,"depth":409,"text":1159},{"id":1202,"depth":409,"text":1202},{"id":1268,"depth":409,"text":1269},{"id":1285,"depth":409,"text":1285},"命令面板（⌘K）：输入过滤 + 键盘上下选择 + 分组。","md",null,{},{"icon":197},{"title":194,"description":1324},"k6pOkl9NCcAL2F7PR7IotQUdpJdloR0p_FUkAefATvk",[1332,1334],{"title":190,"path":191,"stem":192,"description":1333,"icon":71,"children":-1},"可折叠内容：Collapsible \u002F CollapsibleTrigger \u002F CollapsibleContent，单块开合区，open 受控。",{"title":199,"path":200,"stem":201,"description":1335,"icon":202,"children":-1},"加载指示器：旋转圆环，Button loading 内部使用。",{"left":253,"top":253,"width":254,"height":254,"rotate":253,"vFlip":35,"hFlip":35,"body":1337},"\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":1339},"\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>",1795145899601]