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