[{"data":1,"prerenderedAt":11550,"buildId":11551},["ShallowReactive",2],{"-docs-data-table-special-columns-description":3,"component-example-dataTableActionsAsyncExample":16,"component-example-dataTableActionsAsyncExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":20,"component-example-dataTableActionsConfirmExample":988,"component-example-dataTableActionsConfirmExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":992,"component-example-dataTableActionsDynamicStateExample":1914,"component-example-dataTableActionsDynamicStateExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":1918,"component-example-dataTableActionsFunctionalExample":2808,"component-example-dataTableActionsFunctionalExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":2812,"component-example-dataTableActionsInlineExample":3974,"component-example-dataTableActionsInlineExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":3978,"component-example-dataTableIndexExample":4899,"component-example-dataTableIndexExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":4903,"component-example-dataTableRowPinningDynamicExample":5428,"component-example-dataTableRowPinningDynamicExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":5432,"component-example-dataTableRowPinningExample":5963,"component-example-dataTableRowPinningExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":5967,"component-example-dataTableSelectionCheckboxPropsExample":6537,"component-example-dataTableSelectionCheckboxPropsExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":6541,"component-example-dataTableSelectionExample":7331,"component-example-dataTableSelectionExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":7335,"component-example-dataTableSelectionKeysExample":8023,"component-example-dataTableSelectionKeysExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":8027,"component-example-dataTableSelectionStrategyExample":8867,"component-example-dataTableSelectionStrategyExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":8871,"component-example-dataTableSpecialSharedExample":10160,"component-example-dataTableSpecialSharedExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":10164,"docs--docs-data-table-special-columns":10814,"docs-navigation-zh-CN":11337,"mdc-d0lvp9-key":11531,"surround--docs-data-table-special-columns":11547},{"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 } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(5)\nconst toast = useToast()\nconst notify = (msg: string): void => { toast.add({ title: msg, duration: 1500 }) }\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  {\n    type: 'actions',\n    maxInline: 2,\n    size: 120,\n    actions: [\n      { key: 'view', buttonProps: { icon: 'i-lucide-eye', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`查看 ${row.name}`) },\n      {\n        key: 'sync',\n        buttonProps: { icon: 'i-lucide-refresh-cw', label: '同步', size: 'xs' },\n        onClick: async ({ row }) => {\n          await new Promise(r => setTimeout(r, 1200))\n          notify(`同步完成 ${row.name}`)\n        }\n      }\n    ]\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableActionsAsyncExample.vue","DataTableActionsAsyncExample",{"data":21,"body":23,"toc":986},{"title":22,"description":22},"",{"type":6,"children":24},[25,980],{"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 } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(5)\nconst toast = useToast()\nconst notify = (msg: string): void => { toast.add({ title: msg, duration: 1500 }) }\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  {\n    type: 'actions',\n    maxInline: 2,\n    size: 120,\n    actions: [\n      { key: 'view', buttonProps: { icon: 'i-lucide-eye', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`查看 ${row.name}`) },\n      {\n        key: 'sync',\n        buttonProps: { icon: 'i-lucide-refresh-cw', label: '同步', size: 'xs' },\n        onClick: async ({ row }) => {\n          await new Promise(r => setTimeout(r, 1200))\n          notify(`同步完成 ${row.name}`)\n        }\n      }\n    ]\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n\n","vue",[32],{"type":9,"tag":33,"props":34,"children":35},"code",{"__ignoreMap":22},[36,81,111,137,147,187,214,296,304,349,378,404,413,432,450,468,477,594,603,621,661,702,754,792,801,810,819,828,837,854,862,879,964],{"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 } ",{"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},"5",{"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],{"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}," toast",{"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}," useToast",{"type":9,"tag":37,"props":210,"children":211},{"style":44},[212],{"type":14,"value":213},"()\n",{"type":9,"tag":37,"props":215,"children":217},{"class":39,"line":216},7,[218,222,227,231,236,242,247,252,257,261,266,271,276,281,286,291],{"type":9,"tag":37,"props":219,"children":220},{"style":87},[221],{"type":14,"value":155},{"type":9,"tag":37,"props":223,"children":224},{"style":56},[225],{"type":14,"value":226}," notify",{"type":9,"tag":37,"props":228,"children":229},{"style":87},[230],{"type":14,"value":166},{"type":9,"tag":37,"props":232,"children":233},{"style":44},[234],{"type":14,"value":235}," (",{"type":9,"tag":37,"props":237,"children":239},{"style":238},"--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70",[240],{"type":14,"value":241},"msg",{"type":9,"tag":37,"props":243,"children":244},{"style":87},[245],{"type":14,"value":246},":",{"type":9,"tag":37,"props":248,"children":249},{"style":158},[250],{"type":14,"value":251}," string",{"type":9,"tag":37,"props":253,"children":254},{"style":44},[255],{"type":14,"value":256},")",{"type":9,"tag":37,"props":258,"children":259},{"style":87},[260],{"type":14,"value":246},{"type":9,"tag":37,"props":262,"children":263},{"style":158},[264],{"type":14,"value":265}," void",{"type":9,"tag":37,"props":267,"children":268},{"style":87},[269],{"type":14,"value":270}," =>",{"type":9,"tag":37,"props":272,"children":273},{"style":44},[274],{"type":14,"value":275}," { toast.",{"type":9,"tag":37,"props":277,"children":278},{"style":56},[279],{"type":14,"value":280},"add",{"type":9,"tag":37,"props":282,"children":283},{"style":44},[284],{"type":14,"value":285},"({ title: msg, duration: ",{"type":9,"tag":37,"props":287,"children":288},{"style":158},[289],{"type":14,"value":290},"1500",{"type":9,"tag":37,"props":292,"children":293},{"style":44},[294],{"type":14,"value":295}," }) }\n",{"type":9,"tag":37,"props":297,"children":299},{"class":39,"line":298},8,[300],{"type":9,"tag":37,"props":301,"children":302},{"emptyLinePlaceholder":143},[303],{"type":14,"value":146},{"type":9,"tag":37,"props":305,"children":307},{"class":39,"line":306},9,[308,312,317,321,326,330,335,340,344],{"type":9,"tag":37,"props":309,"children":310},{"style":87},[311],{"type":14,"value":155},{"type":9,"tag":37,"props":313,"children":314},{"style":158},[315],{"type":14,"value":316}," columns",{"type":9,"tag":37,"props":318,"children":319},{"style":87},[320],{"type":14,"value":246},{"type":9,"tag":37,"props":322,"children":323},{"style":56},[324],{"type":14,"value":325}," DataTableColumn",{"type":9,"tag":37,"props":327,"children":328},{"style":44},[329],{"type":14,"value":47},{"type":9,"tag":37,"props":331,"children":332},{"style":56},[333],{"type":14,"value":334},"Person",{"type":9,"tag":37,"props":336,"children":337},{"style":44},[338],{"type":14,"value":339},">[] ",{"type":9,"tag":37,"props":341,"children":342},{"style":87},[343],{"type":14,"value":69},{"type":9,"tag":37,"props":345,"children":346},{"style":44},[347],{"type":14,"value":348}," [\n",{"type":9,"tag":37,"props":350,"children":352},{"class":39,"line":351},10,[353,358,363,368,373],{"type":9,"tag":37,"props":354,"children":355},{"style":44},[356],{"type":14,"value":357},"  { accessorKey: ",{"type":9,"tag":37,"props":359,"children":360},{"style":72},[361],{"type":14,"value":362},"'name'",{"type":9,"tag":37,"props":364,"children":365},{"style":44},[366],{"type":14,"value":367},", header: ",{"type":9,"tag":37,"props":369,"children":370},{"style":72},[371],{"type":14,"value":372},"'姓名'",{"type":9,"tag":37,"props":374,"children":375},{"style":44},[376],{"type":14,"value":377}," },\n",{"type":9,"tag":37,"props":379,"children":381},{"class":39,"line":380},11,[382,386,391,395,400],{"type":9,"tag":37,"props":383,"children":384},{"style":44},[385],{"type":14,"value":357},{"type":9,"tag":37,"props":387,"children":388},{"style":72},[389],{"type":14,"value":390},"'department'",{"type":9,"tag":37,"props":392,"children":393},{"style":44},[394],{"type":14,"value":367},{"type":9,"tag":37,"props":396,"children":397},{"style":72},[398],{"type":14,"value":399},"'部门'",{"type":9,"tag":37,"props":401,"children":402},{"style":44},[403],{"type":14,"value":377},{"type":9,"tag":37,"props":405,"children":407},{"class":39,"line":406},12,[408],{"type":9,"tag":37,"props":409,"children":410},{"style":44},[411],{"type":14,"value":412},"  {\n",{"type":9,"tag":37,"props":414,"children":416},{"class":39,"line":415},13,[417,422,427],{"type":9,"tag":37,"props":418,"children":419},{"style":44},[420],{"type":14,"value":421},"    type: ",{"type":9,"tag":37,"props":423,"children":424},{"style":72},[425],{"type":14,"value":426},"'actions'",{"type":9,"tag":37,"props":428,"children":429},{"style":44},[430],{"type":14,"value":431},",\n",{"type":9,"tag":37,"props":433,"children":435},{"class":39,"line":434},14,[436,441,446],{"type":9,"tag":37,"props":437,"children":438},{"style":44},[439],{"type":14,"value":440},"    maxInline: ",{"type":9,"tag":37,"props":442,"children":443},{"style":158},[444],{"type":14,"value":445},"2",{"type":9,"tag":37,"props":447,"children":448},{"style":44},[449],{"type":14,"value":431},{"type":9,"tag":37,"props":451,"children":453},{"class":39,"line":452},15,[454,459,464],{"type":9,"tag":37,"props":455,"children":456},{"style":44},[457],{"type":14,"value":458},"    size: ",{"type":9,"tag":37,"props":460,"children":461},{"style":158},[462],{"type":14,"value":463},"120",{"type":9,"tag":37,"props":465,"children":466},{"style":44},[467],{"type":14,"value":431},{"type":9,"tag":37,"props":469,"children":471},{"class":39,"line":470},16,[472],{"type":9,"tag":37,"props":473,"children":474},{"style":44},[475],{"type":14,"value":476},"    actions: [\n",{"type":9,"tag":37,"props":478,"children":480},{"class":39,"line":479},17,[481,486,491,496,507,512,517,522,527,532,537,542,547,552,557,561,565,570,574,579,584,589],{"type":9,"tag":37,"props":482,"children":483},{"style":44},[484],{"type":14,"value":485},"      { key: ",{"type":9,"tag":37,"props":487,"children":488},{"style":72},[489],{"type":14,"value":490},"'view'",{"type":9,"tag":37,"props":492,"children":493},{"style":44},[494],{"type":14,"value":495},", buttonProps: { icon: ",{"type":9,"tag":37,"props":497,"children":498},{"style":72},[499,505],{"type":9,"tag":500,"props":501,"children":504},"i",{"class":502,"style":503},"shiki-icon-highlight","--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Feye.svg?color=%23000)",[],{"type":14,"value":506},"'i-lucide-eye'",{"type":9,"tag":37,"props":508,"children":509},{"style":44},[510],{"type":14,"value":511},", variant: ",{"type":9,"tag":37,"props":513,"children":514},{"style":72},[515],{"type":14,"value":516},"'ghost'",{"type":9,"tag":37,"props":518,"children":519},{"style":44},[520],{"type":14,"value":521},", size: ",{"type":9,"tag":37,"props":523,"children":524},{"style":72},[525],{"type":14,"value":526},"'xs'",{"type":9,"tag":37,"props":528,"children":529},{"style":44},[530],{"type":14,"value":531}," }, ",{"type":9,"tag":37,"props":533,"children":534},{"style":56},[535],{"type":14,"value":536},"onClick",{"type":9,"tag":37,"props":538,"children":539},{"style":44},[540],{"type":14,"value":541},": ({ ",{"type":9,"tag":37,"props":543,"children":544},{"style":238},[545],{"type":14,"value":546},"row",{"type":9,"tag":37,"props":548,"children":549},{"style":44},[550],{"type":14,"value":551}," }) ",{"type":9,"tag":37,"props":553,"children":554},{"style":87},[555],{"type":14,"value":556},"=>",{"type":9,"tag":37,"props":558,"children":559},{"style":56},[560],{"type":14,"value":226},{"type":9,"tag":37,"props":562,"children":563},{"style":44},[564],{"type":14,"value":176},{"type":9,"tag":37,"props":566,"children":567},{"style":72},[568],{"type":14,"value":569},"`查看 ${",{"type":9,"tag":37,"props":571,"children":572},{"style":44},[573],{"type":14,"value":546},{"type":9,"tag":37,"props":575,"children":576},{"style":72},[577],{"type":14,"value":578},".",{"type":9,"tag":37,"props":580,"children":581},{"style":44},[582],{"type":14,"value":583},"name",{"type":9,"tag":37,"props":585,"children":586},{"style":72},[587],{"type":14,"value":588},"}`",{"type":9,"tag":37,"props":590,"children":591},{"style":44},[592],{"type":14,"value":593},") },\n",{"type":9,"tag":37,"props":595,"children":597},{"class":39,"line":596},18,[598],{"type":9,"tag":37,"props":599,"children":600},{"style":44},[601],{"type":14,"value":602},"      {\n",{"type":9,"tag":37,"props":604,"children":606},{"class":39,"line":605},19,[607,612,617],{"type":9,"tag":37,"props":608,"children":609},{"style":44},[610],{"type":14,"value":611},"        key: ",{"type":9,"tag":37,"props":613,"children":614},{"style":72},[615],{"type":14,"value":616},"'sync'",{"type":9,"tag":37,"props":618,"children":619},{"style":44},[620],{"type":14,"value":431},{"type":9,"tag":37,"props":622,"children":624},{"class":39,"line":623},20,[625,630,639,644,649,653,657],{"type":9,"tag":37,"props":626,"children":627},{"style":44},[628],{"type":14,"value":629},"        buttonProps: { icon: ",{"type":9,"tag":37,"props":631,"children":632},{"style":72},[633,637],{"type":9,"tag":500,"props":634,"children":636},{"class":502,"style":635},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Frefresh-cw.svg?color=%23000)",[],{"type":14,"value":638},"'i-lucide-refresh-cw'",{"type":9,"tag":37,"props":640,"children":641},{"style":44},[642],{"type":14,"value":643},", label: ",{"type":9,"tag":37,"props":645,"children":646},{"style":72},[647],{"type":14,"value":648},"'同步'",{"type":9,"tag":37,"props":650,"children":651},{"style":44},[652],{"type":14,"value":521},{"type":9,"tag":37,"props":654,"children":655},{"style":72},[656],{"type":14,"value":526},{"type":9,"tag":37,"props":658,"children":659},{"style":44},[660],{"type":14,"value":377},{"type":9,"tag":37,"props":662,"children":664},{"class":39,"line":663},21,[665,670,675,680,685,689,693,697],{"type":9,"tag":37,"props":666,"children":667},{"style":56},[668],{"type":14,"value":669},"        onClick",{"type":9,"tag":37,"props":671,"children":672},{"style":44},[673],{"type":14,"value":674},": ",{"type":9,"tag":37,"props":676,"children":677},{"style":87},[678],{"type":14,"value":679},"async",{"type":9,"tag":37,"props":681,"children":682},{"style":44},[683],{"type":14,"value":684}," ({ ",{"type":9,"tag":37,"props":686,"children":687},{"style":238},[688],{"type":14,"value":546},{"type":9,"tag":37,"props":690,"children":691},{"style":44},[692],{"type":14,"value":551},{"type":9,"tag":37,"props":694,"children":695},{"style":87},[696],{"type":14,"value":556},{"type":9,"tag":37,"props":698,"children":699},{"style":44},[700],{"type":14,"value":701}," {\n",{"type":9,"tag":37,"props":703,"children":705},{"class":39,"line":704},22,[706,711,716,721,725,730,734,739,744,749],{"type":9,"tag":37,"props":707,"children":708},{"style":87},[709],{"type":14,"value":710},"          await",{"type":9,"tag":37,"props":712,"children":713},{"style":87},[714],{"type":14,"value":715}," new",{"type":9,"tag":37,"props":717,"children":718},{"style":158},[719],{"type":14,"value":720}," Promise",{"type":9,"tag":37,"props":722,"children":723},{"style":44},[724],{"type":14,"value":176},{"type":9,"tag":37,"props":726,"children":727},{"style":238},[728],{"type":14,"value":729},"r",{"type":9,"tag":37,"props":731,"children":732},{"style":87},[733],{"type":14,"value":270},{"type":9,"tag":37,"props":735,"children":736},{"style":56},[737],{"type":14,"value":738}," setTimeout",{"type":9,"tag":37,"props":740,"children":741},{"style":44},[742],{"type":14,"value":743},"(r, ",{"type":9,"tag":37,"props":745,"children":746},{"style":158},[747],{"type":14,"value":748},"1200",{"type":9,"tag":37,"props":750,"children":751},{"style":44},[752],{"type":14,"value":753},"))\n",{"type":9,"tag":37,"props":755,"children":757},{"class":39,"line":756},23,[758,763,767,772,776,780,784,788],{"type":9,"tag":37,"props":759,"children":760},{"style":56},[761],{"type":14,"value":762},"          notify",{"type":9,"tag":37,"props":764,"children":765},{"style":44},[766],{"type":14,"value":176},{"type":9,"tag":37,"props":768,"children":769},{"style":72},[770],{"type":14,"value":771},"`同步完成 ${",{"type":9,"tag":37,"props":773,"children":774},{"style":44},[775],{"type":14,"value":546},{"type":9,"tag":37,"props":777,"children":778},{"style":72},[779],{"type":14,"value":578},{"type":9,"tag":37,"props":781,"children":782},{"style":44},[783],{"type":14,"value":583},{"type":9,"tag":37,"props":785,"children":786},{"style":72},[787],{"type":14,"value":588},{"type":9,"tag":37,"props":789,"children":790},{"style":44},[791],{"type":14,"value":186},{"type":9,"tag":37,"props":793,"children":795},{"class":39,"line":794},24,[796],{"type":9,"tag":37,"props":797,"children":798},{"style":44},[799],{"type":14,"value":800},"        }\n",{"type":9,"tag":37,"props":802,"children":804},{"class":39,"line":803},25,[805],{"type":9,"tag":37,"props":806,"children":807},{"style":44},[808],{"type":14,"value":809},"      }\n",{"type":9,"tag":37,"props":811,"children":813},{"class":39,"line":812},26,[814],{"type":9,"tag":37,"props":815,"children":816},{"style":44},[817],{"type":14,"value":818},"    ]\n",{"type":9,"tag":37,"props":820,"children":822},{"class":39,"line":821},27,[823],{"type":9,"tag":37,"props":824,"children":825},{"style":44},[826],{"type":14,"value":827},"  }\n",{"type":9,"tag":37,"props":829,"children":831},{"class":39,"line":830},28,[832],{"type":9,"tag":37,"props":833,"children":834},{"style":44},[835],{"type":14,"value":836},"]\n",{"type":9,"tag":37,"props":838,"children":840},{"class":39,"line":839},29,[841,846,850],{"type":9,"tag":37,"props":842,"children":843},{"style":44},[844],{"type":14,"value":845},"\u003C\u002F",{"type":9,"tag":37,"props":847,"children":848},{"style":50},[849],{"type":14,"value":53},{"type":9,"tag":37,"props":851,"children":852},{"style":44},[853],{"type":14,"value":80},{"type":9,"tag":37,"props":855,"children":857},{"class":39,"line":856},30,[858],{"type":9,"tag":37,"props":859,"children":860},{"emptyLinePlaceholder":143},[861],{"type":14,"value":146},{"type":9,"tag":37,"props":863,"children":865},{"class":39,"line":864},31,[866,870,875],{"type":9,"tag":37,"props":867,"children":868},{"style":44},[869],{"type":14,"value":47},{"type":9,"tag":37,"props":871,"children":872},{"style":50},[873],{"type":14,"value":874},"template",{"type":9,"tag":37,"props":876,"children":877},{"style":44},[878],{"type":14,"value":80},{"type":9,"tag":37,"props":880,"children":882},{"class":39,"line":881},32,[883,888,893,898,902,907,912,917,921,926,930,934,938,943,947,951,955,959],{"type":9,"tag":37,"props":884,"children":885},{"style":44},[886],{"type":14,"value":887},"  \u003C",{"type":9,"tag":37,"props":889,"children":890},{"style":50},[891],{"type":14,"value":892},"MDataTable",{"type":9,"tag":37,"props":894,"children":895},{"style":56},[896],{"type":14,"value":897}," row-key",{"type":9,"tag":37,"props":899,"children":900},{"style":44},[901],{"type":14,"value":69},{"type":9,"tag":37,"props":903,"children":904},{"style":72},[905],{"type":14,"value":906},"\"id\"",{"type":9,"tag":37,"props":908,"children":909},{"style":44},[910],{"type":14,"value":911}," :",{"type":9,"tag":37,"props":913,"children":914},{"style":56},[915],{"type":14,"value":916},"columns",{"type":9,"tag":37,"props":918,"children":919},{"style":44},[920],{"type":14,"value":69},{"type":9,"tag":37,"props":922,"children":923},{"style":72},[924],{"type":14,"value":925},"\"",{"type":9,"tag":37,"props":927,"children":928},{"style":44},[929],{"type":14,"value":916},{"type":9,"tag":37,"props":931,"children":932},{"style":72},[933],{"type":14,"value":925},{"type":9,"tag":37,"props":935,"children":936},{"style":44},[937],{"type":14,"value":911},{"type":9,"tag":37,"props":939,"children":940},{"style":56},[941],{"type":14,"value":942},"data",{"type":9,"tag":37,"props":944,"children":945},{"style":44},[946],{"type":14,"value":69},{"type":9,"tag":37,"props":948,"children":949},{"style":72},[950],{"type":14,"value":925},{"type":9,"tag":37,"props":952,"children":953},{"style":44},[954],{"type":14,"value":942},{"type":9,"tag":37,"props":956,"children":957},{"style":72},[958],{"type":14,"value":925},{"type":9,"tag":37,"props":960,"children":961},{"style":44},[962],{"type":14,"value":963}," \u002F>\n",{"type":9,"tag":37,"props":965,"children":967},{"class":39,"line":966},33,[968,972,976],{"type":9,"tag":37,"props":969,"children":970},{"style":44},[971],{"type":14,"value":845},{"type":9,"tag":37,"props":973,"children":974},{"style":50},[975],{"type":14,"value":874},{"type":9,"tag":37,"props":977,"children":978},{"style":44},[979],{"type":14,"value":80},{"type":9,"tag":981,"props":982,"children":983},"style",{},[984],{"type":14,"value":985},"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":987},[],{"code":989,"filePath":990,"pascalName":991},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(5)\nconst toast = useToast()\nconst notify = (msg: string): void => { toast.add({ title: msg, duration: 1500 }) }\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'status', header: '状态' },\n  {\n    type: 'actions',\n    size: 120,\n    actions: [\n      { key: 'edit', buttonProps: { icon: 'i-lucide-pencil', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`编辑 ${row.name}`) },\n      {\n        key: 'delete',\n        buttonProps: { icon: 'i-lucide-trash-2', label: '删除', color: 'error', size: 'xs' },\n        confirm: true,\n        confirmProps: ({ row }) => ({\n          type: row.status === 'active' ? 'warning' : 'error',\n          title: `删除 ${row.name}？`,\n          description: row.status === 'active' ? '该员工在职，删除前请二次确认。' : '已离职员工删除后无法恢复。',\n          confirmLabel: '我已确认'\n        }),\n        onClick: ({ row }) => notify(`已删除 ${row.name}`)\n      }\n    ]\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableActionsConfirmExample.vue","DataTableActionsConfirmExample",{"data":993,"body":994,"toc":1912},{"title":22,"description":22},{"type":6,"children":995},[996,1908],{"type":9,"tag":26,"props":997,"children":999},{"className":28,"code":998,"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(5)\nconst toast = useToast()\nconst notify = (msg: string): void => { toast.add({ title: msg, duration: 1500 }) }\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'status', header: '状态' },\n  {\n    type: 'actions',\n    size: 120,\n    actions: [\n      { key: 'edit', buttonProps: { icon: 'i-lucide-pencil', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`编辑 ${row.name}`) },\n      {\n        key: 'delete',\n        buttonProps: { icon: 'i-lucide-trash-2', label: '删除', color: 'error', size: 'xs' },\n        confirm: true,\n        confirmProps: ({ row }) => ({\n          type: row.status === 'active' ? 'warning' : 'error',\n          title: `删除 ${row.name}？`,\n          description: row.status === 'active' ? '该员工在职，删除前请二次确认。' : '已离职员工删除后无法恢复。',\n          confirmLabel: '我已确认'\n        }),\n        onClick: ({ row }) => notify(`已删除 ${row.name}`)\n      }\n    ]\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n\n",[1000],{"type":9,"tag":33,"props":1001,"children":1002},{"__ignoreMap":22},[1003,1034,1057,1080,1087,1118,1141,1208,1215,1254,1277,1302,1309,1324,1339,1346,1444,1451,1467,1514,1531,1560,1601,1635,1673,1686,1694,1750,1757,1764,1771,1778,1793,1800,1816,1892],{"type":9,"tag":37,"props":1004,"children":1005},{"class":39,"line":40},[1006,1010,1014,1018,1022,1026,1030],{"type":9,"tag":37,"props":1007,"children":1008},{"style":44},[1009],{"type":14,"value":47},{"type":9,"tag":37,"props":1011,"children":1012},{"style":50},[1013],{"type":14,"value":53},{"type":9,"tag":37,"props":1015,"children":1016},{"style":56},[1017],{"type":14,"value":59},{"type":9,"tag":37,"props":1019,"children":1020},{"style":56},[1021],{"type":14,"value":64},{"type":9,"tag":37,"props":1023,"children":1024},{"style":44},[1025],{"type":14,"value":69},{"type":9,"tag":37,"props":1027,"children":1028},{"style":72},[1029],{"type":14,"value":75},{"type":9,"tag":37,"props":1031,"children":1032},{"style":44},[1033],{"type":14,"value":80},{"type":9,"tag":37,"props":1035,"children":1036},{"class":39,"line":83},[1037,1041,1045,1049,1053],{"type":9,"tag":37,"props":1038,"children":1039},{"style":87},[1040],{"type":14,"value":90},{"type":9,"tag":37,"props":1042,"children":1043},{"style":87},[1044],{"type":14,"value":95},{"type":9,"tag":37,"props":1046,"children":1047},{"style":44},[1048],{"type":14,"value":100},{"type":9,"tag":37,"props":1050,"children":1051},{"style":87},[1052],{"type":14,"value":105},{"type":9,"tag":37,"props":1054,"children":1055},{"style":72},[1056],{"type":14,"value":110},{"type":9,"tag":37,"props":1058,"children":1059},{"class":39,"line":113},[1060,1064,1068,1072,1076],{"type":9,"tag":37,"props":1061,"children":1062},{"style":87},[1063],{"type":14,"value":90},{"type":9,"tag":37,"props":1065,"children":1066},{"style":87},[1067],{"type":14,"value":95},{"type":9,"tag":37,"props":1069,"children":1070},{"style":44},[1071],{"type":14,"value":127},{"type":9,"tag":37,"props":1073,"children":1074},{"style":87},[1075],{"type":14,"value":105},{"type":9,"tag":37,"props":1077,"children":1078},{"style":72},[1079],{"type":14,"value":136},{"type":9,"tag":37,"props":1081,"children":1082},{"class":39,"line":139},[1083],{"type":9,"tag":37,"props":1084,"children":1085},{"emptyLinePlaceholder":143},[1086],{"type":14,"value":146},{"type":9,"tag":37,"props":1088,"children":1089},{"class":39,"line":149},[1090,1094,1098,1102,1106,1110,1114],{"type":9,"tag":37,"props":1091,"children":1092},{"style":87},[1093],{"type":14,"value":155},{"type":9,"tag":37,"props":1095,"children":1096},{"style":158},[1097],{"type":14,"value":161},{"type":9,"tag":37,"props":1099,"children":1100},{"style":87},[1101],{"type":14,"value":166},{"type":9,"tag":37,"props":1103,"children":1104},{"style":56},[1105],{"type":14,"value":171},{"type":9,"tag":37,"props":1107,"children":1108},{"style":44},[1109],{"type":14,"value":176},{"type":9,"tag":37,"props":1111,"children":1112},{"style":158},[1113],{"type":14,"value":181},{"type":9,"tag":37,"props":1115,"children":1116},{"style":44},[1117],{"type":14,"value":186},{"type":9,"tag":37,"props":1119,"children":1120},{"class":39,"line":189},[1121,1125,1129,1133,1137],{"type":9,"tag":37,"props":1122,"children":1123},{"style":87},[1124],{"type":14,"value":155},{"type":9,"tag":37,"props":1126,"children":1127},{"style":158},[1128],{"type":14,"value":199},{"type":9,"tag":37,"props":1130,"children":1131},{"style":87},[1132],{"type":14,"value":166},{"type":9,"tag":37,"props":1134,"children":1135},{"style":56},[1136],{"type":14,"value":208},{"type":9,"tag":37,"props":1138,"children":1139},{"style":44},[1140],{"type":14,"value":213},{"type":9,"tag":37,"props":1142,"children":1143},{"class":39,"line":216},[1144,1148,1152,1156,1160,1164,1168,1172,1176,1180,1184,1188,1192,1196,1200,1204],{"type":9,"tag":37,"props":1145,"children":1146},{"style":87},[1147],{"type":14,"value":155},{"type":9,"tag":37,"props":1149,"children":1150},{"style":56},[1151],{"type":14,"value":226},{"type":9,"tag":37,"props":1153,"children":1154},{"style":87},[1155],{"type":14,"value":166},{"type":9,"tag":37,"props":1157,"children":1158},{"style":44},[1159],{"type":14,"value":235},{"type":9,"tag":37,"props":1161,"children":1162},{"style":238},[1163],{"type":14,"value":241},{"type":9,"tag":37,"props":1165,"children":1166},{"style":87},[1167],{"type":14,"value":246},{"type":9,"tag":37,"props":1169,"children":1170},{"style":158},[1171],{"type":14,"value":251},{"type":9,"tag":37,"props":1173,"children":1174},{"style":44},[1175],{"type":14,"value":256},{"type":9,"tag":37,"props":1177,"children":1178},{"style":87},[1179],{"type":14,"value":246},{"type":9,"tag":37,"props":1181,"children":1182},{"style":158},[1183],{"type":14,"value":265},{"type":9,"tag":37,"props":1185,"children":1186},{"style":87},[1187],{"type":14,"value":270},{"type":9,"tag":37,"props":1189,"children":1190},{"style":44},[1191],{"type":14,"value":275},{"type":9,"tag":37,"props":1193,"children":1194},{"style":56},[1195],{"type":14,"value":280},{"type":9,"tag":37,"props":1197,"children":1198},{"style":44},[1199],{"type":14,"value":285},{"type":9,"tag":37,"props":1201,"children":1202},{"style":158},[1203],{"type":14,"value":290},{"type":9,"tag":37,"props":1205,"children":1206},{"style":44},[1207],{"type":14,"value":295},{"type":9,"tag":37,"props":1209,"children":1210},{"class":39,"line":298},[1211],{"type":9,"tag":37,"props":1212,"children":1213},{"emptyLinePlaceholder":143},[1214],{"type":14,"value":146},{"type":9,"tag":37,"props":1216,"children":1217},{"class":39,"line":306},[1218,1222,1226,1230,1234,1238,1242,1246,1250],{"type":9,"tag":37,"props":1219,"children":1220},{"style":87},[1221],{"type":14,"value":155},{"type":9,"tag":37,"props":1223,"children":1224},{"style":158},[1225],{"type":14,"value":316},{"type":9,"tag":37,"props":1227,"children":1228},{"style":87},[1229],{"type":14,"value":246},{"type":9,"tag":37,"props":1231,"children":1232},{"style":56},[1233],{"type":14,"value":325},{"type":9,"tag":37,"props":1235,"children":1236},{"style":44},[1237],{"type":14,"value":47},{"type":9,"tag":37,"props":1239,"children":1240},{"style":56},[1241],{"type":14,"value":334},{"type":9,"tag":37,"props":1243,"children":1244},{"style":44},[1245],{"type":14,"value":339},{"type":9,"tag":37,"props":1247,"children":1248},{"style":87},[1249],{"type":14,"value":69},{"type":9,"tag":37,"props":1251,"children":1252},{"style":44},[1253],{"type":14,"value":348},{"type":9,"tag":37,"props":1255,"children":1256},{"class":39,"line":351},[1257,1261,1265,1269,1273],{"type":9,"tag":37,"props":1258,"children":1259},{"style":44},[1260],{"type":14,"value":357},{"type":9,"tag":37,"props":1262,"children":1263},{"style":72},[1264],{"type":14,"value":362},{"type":9,"tag":37,"props":1266,"children":1267},{"style":44},[1268],{"type":14,"value":367},{"type":9,"tag":37,"props":1270,"children":1271},{"style":72},[1272],{"type":14,"value":372},{"type":9,"tag":37,"props":1274,"children":1275},{"style":44},[1276],{"type":14,"value":377},{"type":9,"tag":37,"props":1278,"children":1279},{"class":39,"line":380},[1280,1284,1289,1293,1298],{"type":9,"tag":37,"props":1281,"children":1282},{"style":44},[1283],{"type":14,"value":357},{"type":9,"tag":37,"props":1285,"children":1286},{"style":72},[1287],{"type":14,"value":1288},"'status'",{"type":9,"tag":37,"props":1290,"children":1291},{"style":44},[1292],{"type":14,"value":367},{"type":9,"tag":37,"props":1294,"children":1295},{"style":72},[1296],{"type":14,"value":1297},"'状态'",{"type":9,"tag":37,"props":1299,"children":1300},{"style":44},[1301],{"type":14,"value":377},{"type":9,"tag":37,"props":1303,"children":1304},{"class":39,"line":406},[1305],{"type":9,"tag":37,"props":1306,"children":1307},{"style":44},[1308],{"type":14,"value":412},{"type":9,"tag":37,"props":1310,"children":1311},{"class":39,"line":415},[1312,1316,1320],{"type":9,"tag":37,"props":1313,"children":1314},{"style":44},[1315],{"type":14,"value":421},{"type":9,"tag":37,"props":1317,"children":1318},{"style":72},[1319],{"type":14,"value":426},{"type":9,"tag":37,"props":1321,"children":1322},{"style":44},[1323],{"type":14,"value":431},{"type":9,"tag":37,"props":1325,"children":1326},{"class":39,"line":434},[1327,1331,1335],{"type":9,"tag":37,"props":1328,"children":1329},{"style":44},[1330],{"type":14,"value":458},{"type":9,"tag":37,"props":1332,"children":1333},{"style":158},[1334],{"type":14,"value":463},{"type":9,"tag":37,"props":1336,"children":1337},{"style":44},[1338],{"type":14,"value":431},{"type":9,"tag":37,"props":1340,"children":1341},{"class":39,"line":452},[1342],{"type":9,"tag":37,"props":1343,"children":1344},{"style":44},[1345],{"type":14,"value":476},{"type":9,"tag":37,"props":1347,"children":1348},{"class":39,"line":470},[1349,1353,1358,1362,1371,1375,1379,1383,1387,1391,1395,1399,1403,1407,1411,1415,1419,1424,1428,1432,1436,1440],{"type":9,"tag":37,"props":1350,"children":1351},{"style":44},[1352],{"type":14,"value":485},{"type":9,"tag":37,"props":1354,"children":1355},{"style":72},[1356],{"type":14,"value":1357},"'edit'",{"type":9,"tag":37,"props":1359,"children":1360},{"style":44},[1361],{"type":14,"value":495},{"type":9,"tag":37,"props":1363,"children":1364},{"style":72},[1365,1369],{"type":9,"tag":500,"props":1366,"children":1368},{"class":502,"style":1367},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fpencil.svg?color=%23000)",[],{"type":14,"value":1370},"'i-lucide-pencil'",{"type":9,"tag":37,"props":1372,"children":1373},{"style":44},[1374],{"type":14,"value":511},{"type":9,"tag":37,"props":1376,"children":1377},{"style":72},[1378],{"type":14,"value":516},{"type":9,"tag":37,"props":1380,"children":1381},{"style":44},[1382],{"type":14,"value":521},{"type":9,"tag":37,"props":1384,"children":1385},{"style":72},[1386],{"type":14,"value":526},{"type":9,"tag":37,"props":1388,"children":1389},{"style":44},[1390],{"type":14,"value":531},{"type":9,"tag":37,"props":1392,"children":1393},{"style":56},[1394],{"type":14,"value":536},{"type":9,"tag":37,"props":1396,"children":1397},{"style":44},[1398],{"type":14,"value":541},{"type":9,"tag":37,"props":1400,"children":1401},{"style":238},[1402],{"type":14,"value":546},{"type":9,"tag":37,"props":1404,"children":1405},{"style":44},[1406],{"type":14,"value":551},{"type":9,"tag":37,"props":1408,"children":1409},{"style":87},[1410],{"type":14,"value":556},{"type":9,"tag":37,"props":1412,"children":1413},{"style":56},[1414],{"type":14,"value":226},{"type":9,"tag":37,"props":1416,"children":1417},{"style":44},[1418],{"type":14,"value":176},{"type":9,"tag":37,"props":1420,"children":1421},{"style":72},[1422],{"type":14,"value":1423},"`编辑 ${",{"type":9,"tag":37,"props":1425,"children":1426},{"style":44},[1427],{"type":14,"value":546},{"type":9,"tag":37,"props":1429,"children":1430},{"style":72},[1431],{"type":14,"value":578},{"type":9,"tag":37,"props":1433,"children":1434},{"style":44},[1435],{"type":14,"value":583},{"type":9,"tag":37,"props":1437,"children":1438},{"style":72},[1439],{"type":14,"value":588},{"type":9,"tag":37,"props":1441,"children":1442},{"style":44},[1443],{"type":14,"value":593},{"type":9,"tag":37,"props":1445,"children":1446},{"class":39,"line":479},[1447],{"type":9,"tag":37,"props":1448,"children":1449},{"style":44},[1450],{"type":14,"value":602},{"type":9,"tag":37,"props":1452,"children":1453},{"class":39,"line":596},[1454,1458,1463],{"type":9,"tag":37,"props":1455,"children":1456},{"style":44},[1457],{"type":14,"value":611},{"type":9,"tag":37,"props":1459,"children":1460},{"style":72},[1461],{"type":14,"value":1462},"'delete'",{"type":9,"tag":37,"props":1464,"children":1465},{"style":44},[1466],{"type":14,"value":431},{"type":9,"tag":37,"props":1468,"children":1469},{"class":39,"line":605},[1470,1474,1483,1487,1492,1497,1502,1506,1510],{"type":9,"tag":37,"props":1471,"children":1472},{"style":44},[1473],{"type":14,"value":629},{"type":9,"tag":37,"props":1475,"children":1476},{"style":72},[1477,1481],{"type":9,"tag":500,"props":1478,"children":1480},{"class":502,"style":1479},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Ftrash-2.svg?color=%23000)",[],{"type":14,"value":1482},"'i-lucide-trash-2'",{"type":9,"tag":37,"props":1484,"children":1485},{"style":44},[1486],{"type":14,"value":643},{"type":9,"tag":37,"props":1488,"children":1489},{"style":72},[1490],{"type":14,"value":1491},"'删除'",{"type":9,"tag":37,"props":1493,"children":1494},{"style":44},[1495],{"type":14,"value":1496},", color: ",{"type":9,"tag":37,"props":1498,"children":1499},{"style":72},[1500],{"type":14,"value":1501},"'error'",{"type":9,"tag":37,"props":1503,"children":1504},{"style":44},[1505],{"type":14,"value":521},{"type":9,"tag":37,"props":1507,"children":1508},{"style":72},[1509],{"type":14,"value":526},{"type":9,"tag":37,"props":1511,"children":1512},{"style":44},[1513],{"type":14,"value":377},{"type":9,"tag":37,"props":1515,"children":1516},{"class":39,"line":623},[1517,1522,1527],{"type":9,"tag":37,"props":1518,"children":1519},{"style":44},[1520],{"type":14,"value":1521},"        confirm: ",{"type":9,"tag":37,"props":1523,"children":1524},{"style":158},[1525],{"type":14,"value":1526},"true",{"type":9,"tag":37,"props":1528,"children":1529},{"style":44},[1530],{"type":14,"value":431},{"type":9,"tag":37,"props":1532,"children":1533},{"class":39,"line":663},[1534,1539,1543,1547,1551,1555],{"type":9,"tag":37,"props":1535,"children":1536},{"style":56},[1537],{"type":14,"value":1538},"        confirmProps",{"type":9,"tag":37,"props":1540,"children":1541},{"style":44},[1542],{"type":14,"value":541},{"type":9,"tag":37,"props":1544,"children":1545},{"style":238},[1546],{"type":14,"value":546},{"type":9,"tag":37,"props":1548,"children":1549},{"style":44},[1550],{"type":14,"value":551},{"type":9,"tag":37,"props":1552,"children":1553},{"style":87},[1554],{"type":14,"value":556},{"type":9,"tag":37,"props":1556,"children":1557},{"style":44},[1558],{"type":14,"value":1559}," ({\n",{"type":9,"tag":37,"props":1561,"children":1562},{"class":39,"line":704},[1563,1568,1573,1578,1583,1588,1592,1597],{"type":9,"tag":37,"props":1564,"children":1565},{"style":44},[1566],{"type":14,"value":1567},"          type: row.status ",{"type":9,"tag":37,"props":1569,"children":1570},{"style":87},[1571],{"type":14,"value":1572},"===",{"type":9,"tag":37,"props":1574,"children":1575},{"style":72},[1576],{"type":14,"value":1577}," 'active'",{"type":9,"tag":37,"props":1579,"children":1580},{"style":87},[1581],{"type":14,"value":1582}," ?",{"type":9,"tag":37,"props":1584,"children":1585},{"style":72},[1586],{"type":14,"value":1587}," 'warning'",{"type":9,"tag":37,"props":1589,"children":1590},{"style":87},[1591],{"type":14,"value":911},{"type":9,"tag":37,"props":1593,"children":1594},{"style":72},[1595],{"type":14,"value":1596}," 'error'",{"type":9,"tag":37,"props":1598,"children":1599},{"style":44},[1600],{"type":14,"value":431},{"type":9,"tag":37,"props":1602,"children":1603},{"class":39,"line":756},[1604,1609,1614,1618,1622,1626,1631],{"type":9,"tag":37,"props":1605,"children":1606},{"style":44},[1607],{"type":14,"value":1608},"          title: ",{"type":9,"tag":37,"props":1610,"children":1611},{"style":72},[1612],{"type":14,"value":1613},"`删除 ${",{"type":9,"tag":37,"props":1615,"children":1616},{"style":44},[1617],{"type":14,"value":546},{"type":9,"tag":37,"props":1619,"children":1620},{"style":72},[1621],{"type":14,"value":578},{"type":9,"tag":37,"props":1623,"children":1624},{"style":44},[1625],{"type":14,"value":583},{"type":9,"tag":37,"props":1627,"children":1628},{"style":72},[1629],{"type":14,"value":1630},"}？`",{"type":9,"tag":37,"props":1632,"children":1633},{"style":44},[1634],{"type":14,"value":431},{"type":9,"tag":37,"props":1636,"children":1637},{"class":39,"line":794},[1638,1643,1647,1651,1655,1660,1664,1669],{"type":9,"tag":37,"props":1639,"children":1640},{"style":44},[1641],{"type":14,"value":1642},"          description: row.status ",{"type":9,"tag":37,"props":1644,"children":1645},{"style":87},[1646],{"type":14,"value":1572},{"type":9,"tag":37,"props":1648,"children":1649},{"style":72},[1650],{"type":14,"value":1577},{"type":9,"tag":37,"props":1652,"children":1653},{"style":87},[1654],{"type":14,"value":1582},{"type":9,"tag":37,"props":1656,"children":1657},{"style":72},[1658],{"type":14,"value":1659}," '该员工在职，删除前请二次确认。'",{"type":9,"tag":37,"props":1661,"children":1662},{"style":87},[1663],{"type":14,"value":911},{"type":9,"tag":37,"props":1665,"children":1666},{"style":72},[1667],{"type":14,"value":1668}," '已离职员工删除后无法恢复。'",{"type":9,"tag":37,"props":1670,"children":1671},{"style":44},[1672],{"type":14,"value":431},{"type":9,"tag":37,"props":1674,"children":1675},{"class":39,"line":803},[1676,1681],{"type":9,"tag":37,"props":1677,"children":1678},{"style":44},[1679],{"type":14,"value":1680},"          confirmLabel: ",{"type":9,"tag":37,"props":1682,"children":1683},{"style":72},[1684],{"type":14,"value":1685},"'我已确认'\n",{"type":9,"tag":37,"props":1687,"children":1688},{"class":39,"line":812},[1689],{"type":9,"tag":37,"props":1690,"children":1691},{"style":44},[1692],{"type":14,"value":1693},"        }),\n",{"type":9,"tag":37,"props":1695,"children":1696},{"class":39,"line":821},[1697,1701,1705,1709,1713,1717,1721,1725,1730,1734,1738,1742,1746],{"type":9,"tag":37,"props":1698,"children":1699},{"style":56},[1700],{"type":14,"value":669},{"type":9,"tag":37,"props":1702,"children":1703},{"style":44},[1704],{"type":14,"value":541},{"type":9,"tag":37,"props":1706,"children":1707},{"style":238},[1708],{"type":14,"value":546},{"type":9,"tag":37,"props":1710,"children":1711},{"style":44},[1712],{"type":14,"value":551},{"type":9,"tag":37,"props":1714,"children":1715},{"style":87},[1716],{"type":14,"value":556},{"type":9,"tag":37,"props":1718,"children":1719},{"style":56},[1720],{"type":14,"value":226},{"type":9,"tag":37,"props":1722,"children":1723},{"style":44},[1724],{"type":14,"value":176},{"type":9,"tag":37,"props":1726,"children":1727},{"style":72},[1728],{"type":14,"value":1729},"`已删除 ${",{"type":9,"tag":37,"props":1731,"children":1732},{"style":44},[1733],{"type":14,"value":546},{"type":9,"tag":37,"props":1735,"children":1736},{"style":72},[1737],{"type":14,"value":578},{"type":9,"tag":37,"props":1739,"children":1740},{"style":44},[1741],{"type":14,"value":583},{"type":9,"tag":37,"props":1743,"children":1744},{"style":72},[1745],{"type":14,"value":588},{"type":9,"tag":37,"props":1747,"children":1748},{"style":44},[1749],{"type":14,"value":186},{"type":9,"tag":37,"props":1751,"children":1752},{"class":39,"line":830},[1753],{"type":9,"tag":37,"props":1754,"children":1755},{"style":44},[1756],{"type":14,"value":809},{"type":9,"tag":37,"props":1758,"children":1759},{"class":39,"line":839},[1760],{"type":9,"tag":37,"props":1761,"children":1762},{"style":44},[1763],{"type":14,"value":818},{"type":9,"tag":37,"props":1765,"children":1766},{"class":39,"line":856},[1767],{"type":9,"tag":37,"props":1768,"children":1769},{"style":44},[1770],{"type":14,"value":827},{"type":9,"tag":37,"props":1772,"children":1773},{"class":39,"line":864},[1774],{"type":9,"tag":37,"props":1775,"children":1776},{"style":44},[1777],{"type":14,"value":836},{"type":9,"tag":37,"props":1779,"children":1780},{"class":39,"line":881},[1781,1785,1789],{"type":9,"tag":37,"props":1782,"children":1783},{"style":44},[1784],{"type":14,"value":845},{"type":9,"tag":37,"props":1786,"children":1787},{"style":50},[1788],{"type":14,"value":53},{"type":9,"tag":37,"props":1790,"children":1791},{"style":44},[1792],{"type":14,"value":80},{"type":9,"tag":37,"props":1794,"children":1795},{"class":39,"line":966},[1796],{"type":9,"tag":37,"props":1797,"children":1798},{"emptyLinePlaceholder":143},[1799],{"type":14,"value":146},{"type":9,"tag":37,"props":1801,"children":1803},{"class":39,"line":1802},34,[1804,1808,1812],{"type":9,"tag":37,"props":1805,"children":1806},{"style":44},[1807],{"type":14,"value":47},{"type":9,"tag":37,"props":1809,"children":1810},{"style":50},[1811],{"type":14,"value":874},{"type":9,"tag":37,"props":1813,"children":1814},{"style":44},[1815],{"type":14,"value":80},{"type":9,"tag":37,"props":1817,"children":1819},{"class":39,"line":1818},35,[1820,1824,1828,1832,1836,1840,1844,1848,1852,1856,1860,1864,1868,1872,1876,1880,1884,1888],{"type":9,"tag":37,"props":1821,"children":1822},{"style":44},[1823],{"type":14,"value":887},{"type":9,"tag":37,"props":1825,"children":1826},{"style":50},[1827],{"type":14,"value":892},{"type":9,"tag":37,"props":1829,"children":1830},{"style":56},[1831],{"type":14,"value":897},{"type":9,"tag":37,"props":1833,"children":1834},{"style":44},[1835],{"type":14,"value":69},{"type":9,"tag":37,"props":1837,"children":1838},{"style":72},[1839],{"type":14,"value":906},{"type":9,"tag":37,"props":1841,"children":1842},{"style":44},[1843],{"type":14,"value":911},{"type":9,"tag":37,"props":1845,"children":1846},{"style":56},[1847],{"type":14,"value":916},{"type":9,"tag":37,"props":1849,"children":1850},{"style":44},[1851],{"type":14,"value":69},{"type":9,"tag":37,"props":1853,"children":1854},{"style":72},[1855],{"type":14,"value":925},{"type":9,"tag":37,"props":1857,"children":1858},{"style":44},[1859],{"type":14,"value":916},{"type":9,"tag":37,"props":1861,"children":1862},{"style":72},[1863],{"type":14,"value":925},{"type":9,"tag":37,"props":1865,"children":1866},{"style":44},[1867],{"type":14,"value":911},{"type":9,"tag":37,"props":1869,"children":1870},{"style":56},[1871],{"type":14,"value":942},{"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":925},{"type":9,"tag":37,"props":1881,"children":1882},{"style":44},[1883],{"type":14,"value":942},{"type":9,"tag":37,"props":1885,"children":1886},{"style":72},[1887],{"type":14,"value":925},{"type":9,"tag":37,"props":1889,"children":1890},{"style":44},[1891],{"type":14,"value":963},{"type":9,"tag":37,"props":1893,"children":1895},{"class":39,"line":1894},36,[1896,1900,1904],{"type":9,"tag":37,"props":1897,"children":1898},{"style":44},[1899],{"type":14,"value":845},{"type":9,"tag":37,"props":1901,"children":1902},{"style":50},[1903],{"type":14,"value":874},{"type":9,"tag":37,"props":1905,"children":1906},{"style":44},[1907],{"type":14,"value":80},{"type":9,"tag":981,"props":1909,"children":1910},{},[1911],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":1913},[],{"code":1915,"filePath":1916,"pascalName":1917},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\nconst toast = useToast()\nconst notify = (msg: string): void => { toast.add({ title: msg, duration: 1500 }) }\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'status', header: '状态' },\n  {\n    type: 'actions',\n    maxInline: 3,\n    size: 150,\n    actions: [\n      { key: 'view', buttonProps: { icon: 'i-lucide-eye', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`查看 ${row.name}`) },\n      { key: 'edit', buttonProps: { icon: 'i-lucide-pencil', variant: 'ghost', size: 'xs' }, disabled: ({ row }) => row.status !== 'active', onClick: ({ row }) => notify(`编辑 ${row.name}`) },\n      { key: 'recall', buttonProps: { icon: 'i-lucide-undo-2', label: '召回', size: 'xs' }, visibility: ({ row }) => row.status === 'offboarded', onClick: ({ row }) => notify(`召回 ${row.name}`) }\n    ]\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableActionsDynamicStateExample.vue","DataTableActionsDynamicStateExample",{"data":1919,"body":1920,"toc":2806},{"title":22,"description":22},{"type":6,"children":1921},[1922,2802],{"type":9,"tag":26,"props":1923,"children":1925},{"className":28,"code":1924,"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(8)\nconst toast = useToast()\nconst notify = (msg: string): void => { toast.add({ title: msg, duration: 1500 }) }\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'status', header: '状态' },\n  {\n    type: 'actions',\n    maxInline: 3,\n    size: 150,\n    actions: [\n      { key: 'view', buttonProps: { icon: 'i-lucide-eye', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`查看 ${row.name}`) },\n      { key: 'edit', buttonProps: { icon: 'i-lucide-pencil', variant: 'ghost', size: 'xs' }, disabled: ({ row }) => row.status !== 'active', onClick: ({ row }) => notify(`编辑 ${row.name}`) },\n      { key: 'recall', buttonProps: { icon: 'i-lucide-undo-2', label: '召回', size: 'xs' }, visibility: ({ row }) => row.status === 'offboarded', onClick: ({ row }) => notify(`召回 ${row.name}`) }\n    ]\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n\n",[1926],{"type":9,"tag":33,"props":1927,"children":1928},{"__ignoreMap":22},[1929,1960,1983,2006,2013,2045,2068,2135,2142,2181,2204,2227,2234,2249,2265,2281,2288,2382,2516,2654,2661,2668,2675,2690,2697,2712,2787],{"type":9,"tag":37,"props":1930,"children":1931},{"class":39,"line":40},[1932,1936,1940,1944,1948,1952,1956],{"type":9,"tag":37,"props":1933,"children":1934},{"style":44},[1935],{"type":14,"value":47},{"type":9,"tag":37,"props":1937,"children":1938},{"style":50},[1939],{"type":14,"value":53},{"type":9,"tag":37,"props":1941,"children":1942},{"style":56},[1943],{"type":14,"value":59},{"type":9,"tag":37,"props":1945,"children":1946},{"style":56},[1947],{"type":14,"value":64},{"type":9,"tag":37,"props":1949,"children":1950},{"style":44},[1951],{"type":14,"value":69},{"type":9,"tag":37,"props":1953,"children":1954},{"style":72},[1955],{"type":14,"value":75},{"type":9,"tag":37,"props":1957,"children":1958},{"style":44},[1959],{"type":14,"value":80},{"type":9,"tag":37,"props":1961,"children":1962},{"class":39,"line":83},[1963,1967,1971,1975,1979],{"type":9,"tag":37,"props":1964,"children":1965},{"style":87},[1966],{"type":14,"value":90},{"type":9,"tag":37,"props":1968,"children":1969},{"style":87},[1970],{"type":14,"value":95},{"type":9,"tag":37,"props":1972,"children":1973},{"style":44},[1974],{"type":14,"value":100},{"type":9,"tag":37,"props":1976,"children":1977},{"style":87},[1978],{"type":14,"value":105},{"type":9,"tag":37,"props":1980,"children":1981},{"style":72},[1982],{"type":14,"value":110},{"type":9,"tag":37,"props":1984,"children":1985},{"class":39,"line":113},[1986,1990,1994,1998,2002],{"type":9,"tag":37,"props":1987,"children":1988},{"style":87},[1989],{"type":14,"value":90},{"type":9,"tag":37,"props":1991,"children":1992},{"style":87},[1993],{"type":14,"value":95},{"type":9,"tag":37,"props":1995,"children":1996},{"style":44},[1997],{"type":14,"value":127},{"type":9,"tag":37,"props":1999,"children":2000},{"style":87},[2001],{"type":14,"value":105},{"type":9,"tag":37,"props":2003,"children":2004},{"style":72},[2005],{"type":14,"value":136},{"type":9,"tag":37,"props":2007,"children":2008},{"class":39,"line":139},[2009],{"type":9,"tag":37,"props":2010,"children":2011},{"emptyLinePlaceholder":143},[2012],{"type":14,"value":146},{"type":9,"tag":37,"props":2014,"children":2015},{"class":39,"line":149},[2016,2020,2024,2028,2032,2036,2041],{"type":9,"tag":37,"props":2017,"children":2018},{"style":87},[2019],{"type":14,"value":155},{"type":9,"tag":37,"props":2021,"children":2022},{"style":158},[2023],{"type":14,"value":161},{"type":9,"tag":37,"props":2025,"children":2026},{"style":87},[2027],{"type":14,"value":166},{"type":9,"tag":37,"props":2029,"children":2030},{"style":56},[2031],{"type":14,"value":171},{"type":9,"tag":37,"props":2033,"children":2034},{"style":44},[2035],{"type":14,"value":176},{"type":9,"tag":37,"props":2037,"children":2038},{"style":158},[2039],{"type":14,"value":2040},"8",{"type":9,"tag":37,"props":2042,"children":2043},{"style":44},[2044],{"type":14,"value":186},{"type":9,"tag":37,"props":2046,"children":2047},{"class":39,"line":189},[2048,2052,2056,2060,2064],{"type":9,"tag":37,"props":2049,"children":2050},{"style":87},[2051],{"type":14,"value":155},{"type":9,"tag":37,"props":2053,"children":2054},{"style":158},[2055],{"type":14,"value":199},{"type":9,"tag":37,"props":2057,"children":2058},{"style":87},[2059],{"type":14,"value":166},{"type":9,"tag":37,"props":2061,"children":2062},{"style":56},[2063],{"type":14,"value":208},{"type":9,"tag":37,"props":2065,"children":2066},{"style":44},[2067],{"type":14,"value":213},{"type":9,"tag":37,"props":2069,"children":2070},{"class":39,"line":216},[2071,2075,2079,2083,2087,2091,2095,2099,2103,2107,2111,2115,2119,2123,2127,2131],{"type":9,"tag":37,"props":2072,"children":2073},{"style":87},[2074],{"type":14,"value":155},{"type":9,"tag":37,"props":2076,"children":2077},{"style":56},[2078],{"type":14,"value":226},{"type":9,"tag":37,"props":2080,"children":2081},{"style":87},[2082],{"type":14,"value":166},{"type":9,"tag":37,"props":2084,"children":2085},{"style":44},[2086],{"type":14,"value":235},{"type":9,"tag":37,"props":2088,"children":2089},{"style":238},[2090],{"type":14,"value":241},{"type":9,"tag":37,"props":2092,"children":2093},{"style":87},[2094],{"type":14,"value":246},{"type":9,"tag":37,"props":2096,"children":2097},{"style":158},[2098],{"type":14,"value":251},{"type":9,"tag":37,"props":2100,"children":2101},{"style":44},[2102],{"type":14,"value":256},{"type":9,"tag":37,"props":2104,"children":2105},{"style":87},[2106],{"type":14,"value":246},{"type":9,"tag":37,"props":2108,"children":2109},{"style":158},[2110],{"type":14,"value":265},{"type":9,"tag":37,"props":2112,"children":2113},{"style":87},[2114],{"type":14,"value":270},{"type":9,"tag":37,"props":2116,"children":2117},{"style":44},[2118],{"type":14,"value":275},{"type":9,"tag":37,"props":2120,"children":2121},{"style":56},[2122],{"type":14,"value":280},{"type":9,"tag":37,"props":2124,"children":2125},{"style":44},[2126],{"type":14,"value":285},{"type":9,"tag":37,"props":2128,"children":2129},{"style":158},[2130],{"type":14,"value":290},{"type":9,"tag":37,"props":2132,"children":2133},{"style":44},[2134],{"type":14,"value":295},{"type":9,"tag":37,"props":2136,"children":2137},{"class":39,"line":298},[2138],{"type":9,"tag":37,"props":2139,"children":2140},{"emptyLinePlaceholder":143},[2141],{"type":14,"value":146},{"type":9,"tag":37,"props":2143,"children":2144},{"class":39,"line":306},[2145,2149,2153,2157,2161,2165,2169,2173,2177],{"type":9,"tag":37,"props":2146,"children":2147},{"style":87},[2148],{"type":14,"value":155},{"type":9,"tag":37,"props":2150,"children":2151},{"style":158},[2152],{"type":14,"value":316},{"type":9,"tag":37,"props":2154,"children":2155},{"style":87},[2156],{"type":14,"value":246},{"type":9,"tag":37,"props":2158,"children":2159},{"style":56},[2160],{"type":14,"value":325},{"type":9,"tag":37,"props":2162,"children":2163},{"style":44},[2164],{"type":14,"value":47},{"type":9,"tag":37,"props":2166,"children":2167},{"style":56},[2168],{"type":14,"value":334},{"type":9,"tag":37,"props":2170,"children":2171},{"style":44},[2172],{"type":14,"value":339},{"type":9,"tag":37,"props":2174,"children":2175},{"style":87},[2176],{"type":14,"value":69},{"type":9,"tag":37,"props":2178,"children":2179},{"style":44},[2180],{"type":14,"value":348},{"type":9,"tag":37,"props":2182,"children":2183},{"class":39,"line":351},[2184,2188,2192,2196,2200],{"type":9,"tag":37,"props":2185,"children":2186},{"style":44},[2187],{"type":14,"value":357},{"type":9,"tag":37,"props":2189,"children":2190},{"style":72},[2191],{"type":14,"value":362},{"type":9,"tag":37,"props":2193,"children":2194},{"style":44},[2195],{"type":14,"value":367},{"type":9,"tag":37,"props":2197,"children":2198},{"style":72},[2199],{"type":14,"value":372},{"type":9,"tag":37,"props":2201,"children":2202},{"style":44},[2203],{"type":14,"value":377},{"type":9,"tag":37,"props":2205,"children":2206},{"class":39,"line":380},[2207,2211,2215,2219,2223],{"type":9,"tag":37,"props":2208,"children":2209},{"style":44},[2210],{"type":14,"value":357},{"type":9,"tag":37,"props":2212,"children":2213},{"style":72},[2214],{"type":14,"value":1288},{"type":9,"tag":37,"props":2216,"children":2217},{"style":44},[2218],{"type":14,"value":367},{"type":9,"tag":37,"props":2220,"children":2221},{"style":72},[2222],{"type":14,"value":1297},{"type":9,"tag":37,"props":2224,"children":2225},{"style":44},[2226],{"type":14,"value":377},{"type":9,"tag":37,"props":2228,"children":2229},{"class":39,"line":406},[2230],{"type":9,"tag":37,"props":2231,"children":2232},{"style":44},[2233],{"type":14,"value":412},{"type":9,"tag":37,"props":2235,"children":2236},{"class":39,"line":415},[2237,2241,2245],{"type":9,"tag":37,"props":2238,"children":2239},{"style":44},[2240],{"type":14,"value":421},{"type":9,"tag":37,"props":2242,"children":2243},{"style":72},[2244],{"type":14,"value":426},{"type":9,"tag":37,"props":2246,"children":2247},{"style":44},[2248],{"type":14,"value":431},{"type":9,"tag":37,"props":2250,"children":2251},{"class":39,"line":434},[2252,2256,2261],{"type":9,"tag":37,"props":2253,"children":2254},{"style":44},[2255],{"type":14,"value":440},{"type":9,"tag":37,"props":2257,"children":2258},{"style":158},[2259],{"type":14,"value":2260},"3",{"type":9,"tag":37,"props":2262,"children":2263},{"style":44},[2264],{"type":14,"value":431},{"type":9,"tag":37,"props":2266,"children":2267},{"class":39,"line":452},[2268,2272,2277],{"type":9,"tag":37,"props":2269,"children":2270},{"style":44},[2271],{"type":14,"value":458},{"type":9,"tag":37,"props":2273,"children":2274},{"style":158},[2275],{"type":14,"value":2276},"150",{"type":9,"tag":37,"props":2278,"children":2279},{"style":44},[2280],{"type":14,"value":431},{"type":9,"tag":37,"props":2282,"children":2283},{"class":39,"line":470},[2284],{"type":9,"tag":37,"props":2285,"children":2286},{"style":44},[2287],{"type":14,"value":476},{"type":9,"tag":37,"props":2289,"children":2290},{"class":39,"line":479},[2291,2295,2299,2303,2310,2314,2318,2322,2326,2330,2334,2338,2342,2346,2350,2354,2358,2362,2366,2370,2374,2378],{"type":9,"tag":37,"props":2292,"children":2293},{"style":44},[2294],{"type":14,"value":485},{"type":9,"tag":37,"props":2296,"children":2297},{"style":72},[2298],{"type":14,"value":490},{"type":9,"tag":37,"props":2300,"children":2301},{"style":44},[2302],{"type":14,"value":495},{"type":9,"tag":37,"props":2304,"children":2305},{"style":72},[2306,2309],{"type":9,"tag":500,"props":2307,"children":2308},{"class":502,"style":503},[],{"type":14,"value":506},{"type":9,"tag":37,"props":2311,"children":2312},{"style":44},[2313],{"type":14,"value":511},{"type":9,"tag":37,"props":2315,"children":2316},{"style":72},[2317],{"type":14,"value":516},{"type":9,"tag":37,"props":2319,"children":2320},{"style":44},[2321],{"type":14,"value":521},{"type":9,"tag":37,"props":2323,"children":2324},{"style":72},[2325],{"type":14,"value":526},{"type":9,"tag":37,"props":2327,"children":2328},{"style":44},[2329],{"type":14,"value":531},{"type":9,"tag":37,"props":2331,"children":2332},{"style":56},[2333],{"type":14,"value":536},{"type":9,"tag":37,"props":2335,"children":2336},{"style":44},[2337],{"type":14,"value":541},{"type":9,"tag":37,"props":2339,"children":2340},{"style":238},[2341],{"type":14,"value":546},{"type":9,"tag":37,"props":2343,"children":2344},{"style":44},[2345],{"type":14,"value":551},{"type":9,"tag":37,"props":2347,"children":2348},{"style":87},[2349],{"type":14,"value":556},{"type":9,"tag":37,"props":2351,"children":2352},{"style":56},[2353],{"type":14,"value":226},{"type":9,"tag":37,"props":2355,"children":2356},{"style":44},[2357],{"type":14,"value":176},{"type":9,"tag":37,"props":2359,"children":2360},{"style":72},[2361],{"type":14,"value":569},{"type":9,"tag":37,"props":2363,"children":2364},{"style":44},[2365],{"type":14,"value":546},{"type":9,"tag":37,"props":2367,"children":2368},{"style":72},[2369],{"type":14,"value":578},{"type":9,"tag":37,"props":2371,"children":2372},{"style":44},[2373],{"type":14,"value":583},{"type":9,"tag":37,"props":2375,"children":2376},{"style":72},[2377],{"type":14,"value":588},{"type":9,"tag":37,"props":2379,"children":2380},{"style":44},[2381],{"type":14,"value":593},{"type":9,"tag":37,"props":2383,"children":2384},{"class":39,"line":596},[2385,2389,2393,2397,2404,2408,2412,2416,2420,2424,2429,2433,2437,2441,2445,2450,2455,2459,2464,2468,2472,2476,2480,2484,2488,2492,2496,2500,2504,2508,2512],{"type":9,"tag":37,"props":2386,"children":2387},{"style":44},[2388],{"type":14,"value":485},{"type":9,"tag":37,"props":2390,"children":2391},{"style":72},[2392],{"type":14,"value":1357},{"type":9,"tag":37,"props":2394,"children":2395},{"style":44},[2396],{"type":14,"value":495},{"type":9,"tag":37,"props":2398,"children":2399},{"style":72},[2400,2403],{"type":9,"tag":500,"props":2401,"children":2402},{"class":502,"style":1367},[],{"type":14,"value":1370},{"type":9,"tag":37,"props":2405,"children":2406},{"style":44},[2407],{"type":14,"value":511},{"type":9,"tag":37,"props":2409,"children":2410},{"style":72},[2411],{"type":14,"value":516},{"type":9,"tag":37,"props":2413,"children":2414},{"style":44},[2415],{"type":14,"value":521},{"type":9,"tag":37,"props":2417,"children":2418},{"style":72},[2419],{"type":14,"value":526},{"type":9,"tag":37,"props":2421,"children":2422},{"style":44},[2423],{"type":14,"value":531},{"type":9,"tag":37,"props":2425,"children":2426},{"style":56},[2427],{"type":14,"value":2428},"disabled",{"type":9,"tag":37,"props":2430,"children":2431},{"style":44},[2432],{"type":14,"value":541},{"type":9,"tag":37,"props":2434,"children":2435},{"style":238},[2436],{"type":14,"value":546},{"type":9,"tag":37,"props":2438,"children":2439},{"style":44},[2440],{"type":14,"value":551},{"type":9,"tag":37,"props":2442,"children":2443},{"style":87},[2444],{"type":14,"value":556},{"type":9,"tag":37,"props":2446,"children":2447},{"style":44},[2448],{"type":14,"value":2449}," row.status ",{"type":9,"tag":37,"props":2451,"children":2452},{"style":87},[2453],{"type":14,"value":2454},"!==",{"type":9,"tag":37,"props":2456,"children":2457},{"style":72},[2458],{"type":14,"value":1577},{"type":9,"tag":37,"props":2460,"children":2461},{"style":44},[2462],{"type":14,"value":2463},", ",{"type":9,"tag":37,"props":2465,"children":2466},{"style":56},[2467],{"type":14,"value":536},{"type":9,"tag":37,"props":2469,"children":2470},{"style":44},[2471],{"type":14,"value":541},{"type":9,"tag":37,"props":2473,"children":2474},{"style":238},[2475],{"type":14,"value":546},{"type":9,"tag":37,"props":2477,"children":2478},{"style":44},[2479],{"type":14,"value":551},{"type":9,"tag":37,"props":2481,"children":2482},{"style":87},[2483],{"type":14,"value":556},{"type":9,"tag":37,"props":2485,"children":2486},{"style":56},[2487],{"type":14,"value":226},{"type":9,"tag":37,"props":2489,"children":2490},{"style":44},[2491],{"type":14,"value":176},{"type":9,"tag":37,"props":2493,"children":2494},{"style":72},[2495],{"type":14,"value":1423},{"type":9,"tag":37,"props":2497,"children":2498},{"style":44},[2499],{"type":14,"value":546},{"type":9,"tag":37,"props":2501,"children":2502},{"style":72},[2503],{"type":14,"value":578},{"type":9,"tag":37,"props":2505,"children":2506},{"style":44},[2507],{"type":14,"value":583},{"type":9,"tag":37,"props":2509,"children":2510},{"style":72},[2511],{"type":14,"value":588},{"type":9,"tag":37,"props":2513,"children":2514},{"style":44},[2515],{"type":14,"value":593},{"type":9,"tag":37,"props":2517,"children":2518},{"class":39,"line":605},[2519,2523,2528,2532,2541,2545,2550,2554,2558,2562,2567,2571,2575,2579,2583,2587,2591,2596,2600,2604,2608,2612,2616,2620,2624,2628,2633,2637,2641,2645,2649],{"type":9,"tag":37,"props":2520,"children":2521},{"style":44},[2522],{"type":14,"value":485},{"type":9,"tag":37,"props":2524,"children":2525},{"style":72},[2526],{"type":14,"value":2527},"'recall'",{"type":9,"tag":37,"props":2529,"children":2530},{"style":44},[2531],{"type":14,"value":495},{"type":9,"tag":37,"props":2533,"children":2534},{"style":72},[2535,2539],{"type":9,"tag":500,"props":2536,"children":2538},{"class":502,"style":2537},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fundo-2.svg?color=%23000)",[],{"type":14,"value":2540},"'i-lucide-undo-2'",{"type":9,"tag":37,"props":2542,"children":2543},{"style":44},[2544],{"type":14,"value":643},{"type":9,"tag":37,"props":2546,"children":2547},{"style":72},[2548],{"type":14,"value":2549},"'召回'",{"type":9,"tag":37,"props":2551,"children":2552},{"style":44},[2553],{"type":14,"value":521},{"type":9,"tag":37,"props":2555,"children":2556},{"style":72},[2557],{"type":14,"value":526},{"type":9,"tag":37,"props":2559,"children":2560},{"style":44},[2561],{"type":14,"value":531},{"type":9,"tag":37,"props":2563,"children":2564},{"style":56},[2565],{"type":14,"value":2566},"visibility",{"type":9,"tag":37,"props":2568,"children":2569},{"style":44},[2570],{"type":14,"value":541},{"type":9,"tag":37,"props":2572,"children":2573},{"style":238},[2574],{"type":14,"value":546},{"type":9,"tag":37,"props":2576,"children":2577},{"style":44},[2578],{"type":14,"value":551},{"type":9,"tag":37,"props":2580,"children":2581},{"style":87},[2582],{"type":14,"value":556},{"type":9,"tag":37,"props":2584,"children":2585},{"style":44},[2586],{"type":14,"value":2449},{"type":9,"tag":37,"props":2588,"children":2589},{"style":87},[2590],{"type":14,"value":1572},{"type":9,"tag":37,"props":2592,"children":2593},{"style":72},[2594],{"type":14,"value":2595}," 'offboarded'",{"type":9,"tag":37,"props":2597,"children":2598},{"style":44},[2599],{"type":14,"value":2463},{"type":9,"tag":37,"props":2601,"children":2602},{"style":56},[2603],{"type":14,"value":536},{"type":9,"tag":37,"props":2605,"children":2606},{"style":44},[2607],{"type":14,"value":541},{"type":9,"tag":37,"props":2609,"children":2610},{"style":238},[2611],{"type":14,"value":546},{"type":9,"tag":37,"props":2613,"children":2614},{"style":44},[2615],{"type":14,"value":551},{"type":9,"tag":37,"props":2617,"children":2618},{"style":87},[2619],{"type":14,"value":556},{"type":9,"tag":37,"props":2621,"children":2622},{"style":56},[2623],{"type":14,"value":226},{"type":9,"tag":37,"props":2625,"children":2626},{"style":44},[2627],{"type":14,"value":176},{"type":9,"tag":37,"props":2629,"children":2630},{"style":72},[2631],{"type":14,"value":2632},"`召回 ${",{"type":9,"tag":37,"props":2634,"children":2635},{"style":44},[2636],{"type":14,"value":546},{"type":9,"tag":37,"props":2638,"children":2639},{"style":72},[2640],{"type":14,"value":578},{"type":9,"tag":37,"props":2642,"children":2643},{"style":44},[2644],{"type":14,"value":583},{"type":9,"tag":37,"props":2646,"children":2647},{"style":72},[2648],{"type":14,"value":588},{"type":9,"tag":37,"props":2650,"children":2651},{"style":44},[2652],{"type":14,"value":2653},") }\n",{"type":9,"tag":37,"props":2655,"children":2656},{"class":39,"line":623},[2657],{"type":9,"tag":37,"props":2658,"children":2659},{"style":44},[2660],{"type":14,"value":818},{"type":9,"tag":37,"props":2662,"children":2663},{"class":39,"line":663},[2664],{"type":9,"tag":37,"props":2665,"children":2666},{"style":44},[2667],{"type":14,"value":827},{"type":9,"tag":37,"props":2669,"children":2670},{"class":39,"line":704},[2671],{"type":9,"tag":37,"props":2672,"children":2673},{"style":44},[2674],{"type":14,"value":836},{"type":9,"tag":37,"props":2676,"children":2677},{"class":39,"line":756},[2678,2682,2686],{"type":9,"tag":37,"props":2679,"children":2680},{"style":44},[2681],{"type":14,"value":845},{"type":9,"tag":37,"props":2683,"children":2684},{"style":50},[2685],{"type":14,"value":53},{"type":9,"tag":37,"props":2687,"children":2688},{"style":44},[2689],{"type":14,"value":80},{"type":9,"tag":37,"props":2691,"children":2692},{"class":39,"line":794},[2693],{"type":9,"tag":37,"props":2694,"children":2695},{"emptyLinePlaceholder":143},[2696],{"type":14,"value":146},{"type":9,"tag":37,"props":2698,"children":2699},{"class":39,"line":803},[2700,2704,2708],{"type":9,"tag":37,"props":2701,"children":2702},{"style":44},[2703],{"type":14,"value":47},{"type":9,"tag":37,"props":2705,"children":2706},{"style":50},[2707],{"type":14,"value":874},{"type":9,"tag":37,"props":2709,"children":2710},{"style":44},[2711],{"type":14,"value":80},{"type":9,"tag":37,"props":2713,"children":2714},{"class":39,"line":812},[2715,2719,2723,2727,2731,2735,2739,2743,2747,2751,2755,2759,2763,2767,2771,2775,2779,2783],{"type":9,"tag":37,"props":2716,"children":2717},{"style":44},[2718],{"type":14,"value":887},{"type":9,"tag":37,"props":2720,"children":2721},{"style":50},[2722],{"type":14,"value":892},{"type":9,"tag":37,"props":2724,"children":2725},{"style":56},[2726],{"type":14,"value":897},{"type":9,"tag":37,"props":2728,"children":2729},{"style":44},[2730],{"type":14,"value":69},{"type":9,"tag":37,"props":2732,"children":2733},{"style":72},[2734],{"type":14,"value":906},{"type":9,"tag":37,"props":2736,"children":2737},{"style":44},[2738],{"type":14,"value":911},{"type":9,"tag":37,"props":2740,"children":2741},{"style":56},[2742],{"type":14,"value":916},{"type":9,"tag":37,"props":2744,"children":2745},{"style":44},[2746],{"type":14,"value":69},{"type":9,"tag":37,"props":2748,"children":2749},{"style":72},[2750],{"type":14,"value":925},{"type":9,"tag":37,"props":2752,"children":2753},{"style":44},[2754],{"type":14,"value":916},{"type":9,"tag":37,"props":2756,"children":2757},{"style":72},[2758],{"type":14,"value":925},{"type":9,"tag":37,"props":2760,"children":2761},{"style":44},[2762],{"type":14,"value":911},{"type":9,"tag":37,"props":2764,"children":2765},{"style":56},[2766],{"type":14,"value":942},{"type":9,"tag":37,"props":2768,"children":2769},{"style":44},[2770],{"type":14,"value":69},{"type":9,"tag":37,"props":2772,"children":2773},{"style":72},[2774],{"type":14,"value":925},{"type":9,"tag":37,"props":2776,"children":2777},{"style":44},[2778],{"type":14,"value":942},{"type":9,"tag":37,"props":2780,"children":2781},{"style":72},[2782],{"type":14,"value":925},{"type":9,"tag":37,"props":2784,"children":2785},{"style":44},[2786],{"type":14,"value":963},{"type":9,"tag":37,"props":2788,"children":2789},{"class":39,"line":821},[2790,2794,2798],{"type":9,"tag":37,"props":2791,"children":2792},{"style":44},[2793],{"type":14,"value":845},{"type":9,"tag":37,"props":2795,"children":2796},{"style":50},[2797],{"type":14,"value":874},{"type":9,"tag":37,"props":2799,"children":2800},{"style":44},[2801],{"type":14,"value":80},{"type":9,"tag":981,"props":2803,"children":2804},{},[2805],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":2807},[],{"code":2809,"filePath":2810,"pascalName":2811},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableAction, DataTableActionsColumn, DataTableColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(5)\nconst toast = useToast()\nconst notify = (msg: string): void => { toast.add({ title: msg, duration: 1500 }) }\n\nconst base: DataTableAction\u003CPerson>[] = [\n  { key: 'view', buttonProps: { icon: 'i-lucide-eye', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`查看 ${row.name}`) },\n  { key: 'edit', buttonProps: { icon: 'i-lucide-pencil', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`编辑 ${row.name}`) }\n]\n\nconst actions: DataTableActionsColumn\u003CPerson>['actions'] = ({ row: { original } }) => {\n  const extras: DataTableAction\u003CPerson>[] = []\n  if (original.department === '研发')\n    extras.push({ key: 'resetPwd', buttonProps: { icon: 'i-lucide-key-round', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`重置密码 ${row.name}`) })\n  if (original.department === '设计')\n    extras.push({ key: 'transfer', buttonProps: { icon: 'i-lucide-share-2', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`转交 ${row.name}`) })\n  return [...base, ...extras]\n}\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  { type: 'actions', maxInline: 4, actions, size: 120 }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableActionsFunctionalExample.vue","DataTableActionsFunctionalExample",{"data":2813,"body":2814,"toc":3972},{"title":22,"description":22},{"type":6,"children":2815},[2816,3968],{"type":9,"tag":26,"props":2817,"children":2819},{"className":28,"code":2818,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableAction, DataTableActionsColumn, DataTableColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(5)\nconst toast = useToast()\nconst notify = (msg: string): void => { toast.add({ title: msg, duration: 1500 }) }\n\nconst base: DataTableAction\u003CPerson>[] = [\n  { key: 'view', buttonProps: { icon: 'i-lucide-eye', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`查看 ${row.name}`) },\n  { key: 'edit', buttonProps: { icon: 'i-lucide-pencil', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`编辑 ${row.name}`) }\n]\n\nconst actions: DataTableActionsColumn\u003CPerson>['actions'] = ({ row: { original } }) => {\n  const extras: DataTableAction\u003CPerson>[] = []\n  if (original.department === '研发')\n    extras.push({ key: 'resetPwd', buttonProps: { icon: 'i-lucide-key-round', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`重置密码 ${row.name}`) })\n  if (original.department === '设计')\n    extras.push({ key: 'transfer', buttonProps: { icon: 'i-lucide-share-2', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`转交 ${row.name}`) })\n  return [...base, ...extras]\n}\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  { type: 'actions', maxInline: 4, actions, size: 120 }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n\n",[2820],{"type":9,"tag":33,"props":2821,"children":2822},{"__ignoreMap":22},[2823,2854,2878,2901,2908,2939,2962,3029,3036,3077,3172,3266,3273,3280,3358,3400,3426,3536,3560,3666,3698,3706,3713,3752,3775,3798,3834,3841,3856,3863,3878,3953],{"type":9,"tag":37,"props":2824,"children":2825},{"class":39,"line":40},[2826,2830,2834,2838,2842,2846,2850],{"type":9,"tag":37,"props":2827,"children":2828},{"style":44},[2829],{"type":14,"value":47},{"type":9,"tag":37,"props":2831,"children":2832},{"style":50},[2833],{"type":14,"value":53},{"type":9,"tag":37,"props":2835,"children":2836},{"style":56},[2837],{"type":14,"value":59},{"type":9,"tag":37,"props":2839,"children":2840},{"style":56},[2841],{"type":14,"value":64},{"type":9,"tag":37,"props":2843,"children":2844},{"style":44},[2845],{"type":14,"value":69},{"type":9,"tag":37,"props":2847,"children":2848},{"style":72},[2849],{"type":14,"value":75},{"type":9,"tag":37,"props":2851,"children":2852},{"style":44},[2853],{"type":14,"value":80},{"type":9,"tag":37,"props":2855,"children":2856},{"class":39,"line":83},[2857,2861,2865,2870,2874],{"type":9,"tag":37,"props":2858,"children":2859},{"style":87},[2860],{"type":14,"value":90},{"type":9,"tag":37,"props":2862,"children":2863},{"style":87},[2864],{"type":14,"value":95},{"type":9,"tag":37,"props":2866,"children":2867},{"style":44},[2868],{"type":14,"value":2869}," { DataTableAction, DataTableActionsColumn, DataTableColumn } ",{"type":9,"tag":37,"props":2871,"children":2872},{"style":87},[2873],{"type":14,"value":105},{"type":9,"tag":37,"props":2875,"children":2876},{"style":72},[2877],{"type":14,"value":110},{"type":9,"tag":37,"props":2879,"children":2880},{"class":39,"line":113},[2881,2885,2889,2893,2897],{"type":9,"tag":37,"props":2882,"children":2883},{"style":87},[2884],{"type":14,"value":90},{"type":9,"tag":37,"props":2886,"children":2887},{"style":87},[2888],{"type":14,"value":95},{"type":9,"tag":37,"props":2890,"children":2891},{"style":44},[2892],{"type":14,"value":127},{"type":9,"tag":37,"props":2894,"children":2895},{"style":87},[2896],{"type":14,"value":105},{"type":9,"tag":37,"props":2898,"children":2899},{"style":72},[2900],{"type":14,"value":136},{"type":9,"tag":37,"props":2902,"children":2903},{"class":39,"line":139},[2904],{"type":9,"tag":37,"props":2905,"children":2906},{"emptyLinePlaceholder":143},[2907],{"type":14,"value":146},{"type":9,"tag":37,"props":2909,"children":2910},{"class":39,"line":149},[2911,2915,2919,2923,2927,2931,2935],{"type":9,"tag":37,"props":2912,"children":2913},{"style":87},[2914],{"type":14,"value":155},{"type":9,"tag":37,"props":2916,"children":2917},{"style":158},[2918],{"type":14,"value":161},{"type":9,"tag":37,"props":2920,"children":2921},{"style":87},[2922],{"type":14,"value":166},{"type":9,"tag":37,"props":2924,"children":2925},{"style":56},[2926],{"type":14,"value":171},{"type":9,"tag":37,"props":2928,"children":2929},{"style":44},[2930],{"type":14,"value":176},{"type":9,"tag":37,"props":2932,"children":2933},{"style":158},[2934],{"type":14,"value":181},{"type":9,"tag":37,"props":2936,"children":2937},{"style":44},[2938],{"type":14,"value":186},{"type":9,"tag":37,"props":2940,"children":2941},{"class":39,"line":189},[2942,2946,2950,2954,2958],{"type":9,"tag":37,"props":2943,"children":2944},{"style":87},[2945],{"type":14,"value":155},{"type":9,"tag":37,"props":2947,"children":2948},{"style":158},[2949],{"type":14,"value":199},{"type":9,"tag":37,"props":2951,"children":2952},{"style":87},[2953],{"type":14,"value":166},{"type":9,"tag":37,"props":2955,"children":2956},{"style":56},[2957],{"type":14,"value":208},{"type":9,"tag":37,"props":2959,"children":2960},{"style":44},[2961],{"type":14,"value":213},{"type":9,"tag":37,"props":2963,"children":2964},{"class":39,"line":216},[2965,2969,2973,2977,2981,2985,2989,2993,2997,3001,3005,3009,3013,3017,3021,3025],{"type":9,"tag":37,"props":2966,"children":2967},{"style":87},[2968],{"type":14,"value":155},{"type":9,"tag":37,"props":2970,"children":2971},{"style":56},[2972],{"type":14,"value":226},{"type":9,"tag":37,"props":2974,"children":2975},{"style":87},[2976],{"type":14,"value":166},{"type":9,"tag":37,"props":2978,"children":2979},{"style":44},[2980],{"type":14,"value":235},{"type":9,"tag":37,"props":2982,"children":2983},{"style":238},[2984],{"type":14,"value":241},{"type":9,"tag":37,"props":2986,"children":2987},{"style":87},[2988],{"type":14,"value":246},{"type":9,"tag":37,"props":2990,"children":2991},{"style":158},[2992],{"type":14,"value":251},{"type":9,"tag":37,"props":2994,"children":2995},{"style":44},[2996],{"type":14,"value":256},{"type":9,"tag":37,"props":2998,"children":2999},{"style":87},[3000],{"type":14,"value":246},{"type":9,"tag":37,"props":3002,"children":3003},{"style":158},[3004],{"type":14,"value":265},{"type":9,"tag":37,"props":3006,"children":3007},{"style":87},[3008],{"type":14,"value":270},{"type":9,"tag":37,"props":3010,"children":3011},{"style":44},[3012],{"type":14,"value":275},{"type":9,"tag":37,"props":3014,"children":3015},{"style":56},[3016],{"type":14,"value":280},{"type":9,"tag":37,"props":3018,"children":3019},{"style":44},[3020],{"type":14,"value":285},{"type":9,"tag":37,"props":3022,"children":3023},{"style":158},[3024],{"type":14,"value":290},{"type":9,"tag":37,"props":3026,"children":3027},{"style":44},[3028],{"type":14,"value":295},{"type":9,"tag":37,"props":3030,"children":3031},{"class":39,"line":298},[3032],{"type":9,"tag":37,"props":3033,"children":3034},{"emptyLinePlaceholder":143},[3035],{"type":14,"value":146},{"type":9,"tag":37,"props":3037,"children":3038},{"class":39,"line":306},[3039,3043,3048,3052,3057,3061,3065,3069,3073],{"type":9,"tag":37,"props":3040,"children":3041},{"style":87},[3042],{"type":14,"value":155},{"type":9,"tag":37,"props":3044,"children":3045},{"style":158},[3046],{"type":14,"value":3047}," base",{"type":9,"tag":37,"props":3049,"children":3050},{"style":87},[3051],{"type":14,"value":246},{"type":9,"tag":37,"props":3053,"children":3054},{"style":56},[3055],{"type":14,"value":3056}," DataTableAction",{"type":9,"tag":37,"props":3058,"children":3059},{"style":44},[3060],{"type":14,"value":47},{"type":9,"tag":37,"props":3062,"children":3063},{"style":56},[3064],{"type":14,"value":334},{"type":9,"tag":37,"props":3066,"children":3067},{"style":44},[3068],{"type":14,"value":339},{"type":9,"tag":37,"props":3070,"children":3071},{"style":87},[3072],{"type":14,"value":69},{"type":9,"tag":37,"props":3074,"children":3075},{"style":44},[3076],{"type":14,"value":348},{"type":9,"tag":37,"props":3078,"children":3079},{"class":39,"line":351},[3080,3085,3089,3093,3100,3104,3108,3112,3116,3120,3124,3128,3132,3136,3140,3144,3148,3152,3156,3160,3164,3168],{"type":9,"tag":37,"props":3081,"children":3082},{"style":44},[3083],{"type":14,"value":3084},"  { key: ",{"type":9,"tag":37,"props":3086,"children":3087},{"style":72},[3088],{"type":14,"value":490},{"type":9,"tag":37,"props":3090,"children":3091},{"style":44},[3092],{"type":14,"value":495},{"type":9,"tag":37,"props":3094,"children":3095},{"style":72},[3096,3099],{"type":9,"tag":500,"props":3097,"children":3098},{"class":502,"style":503},[],{"type":14,"value":506},{"type":9,"tag":37,"props":3101,"children":3102},{"style":44},[3103],{"type":14,"value":511},{"type":9,"tag":37,"props":3105,"children":3106},{"style":72},[3107],{"type":14,"value":516},{"type":9,"tag":37,"props":3109,"children":3110},{"style":44},[3111],{"type":14,"value":521},{"type":9,"tag":37,"props":3113,"children":3114},{"style":72},[3115],{"type":14,"value":526},{"type":9,"tag":37,"props":3117,"children":3118},{"style":44},[3119],{"type":14,"value":531},{"type":9,"tag":37,"props":3121,"children":3122},{"style":56},[3123],{"type":14,"value":536},{"type":9,"tag":37,"props":3125,"children":3126},{"style":44},[3127],{"type":14,"value":541},{"type":9,"tag":37,"props":3129,"children":3130},{"style":238},[3131],{"type":14,"value":546},{"type":9,"tag":37,"props":3133,"children":3134},{"style":44},[3135],{"type":14,"value":551},{"type":9,"tag":37,"props":3137,"children":3138},{"style":87},[3139],{"type":14,"value":556},{"type":9,"tag":37,"props":3141,"children":3142},{"style":56},[3143],{"type":14,"value":226},{"type":9,"tag":37,"props":3145,"children":3146},{"style":44},[3147],{"type":14,"value":176},{"type":9,"tag":37,"props":3149,"children":3150},{"style":72},[3151],{"type":14,"value":569},{"type":9,"tag":37,"props":3153,"children":3154},{"style":44},[3155],{"type":14,"value":546},{"type":9,"tag":37,"props":3157,"children":3158},{"style":72},[3159],{"type":14,"value":578},{"type":9,"tag":37,"props":3161,"children":3162},{"style":44},[3163],{"type":14,"value":583},{"type":9,"tag":37,"props":3165,"children":3166},{"style":72},[3167],{"type":14,"value":588},{"type":9,"tag":37,"props":3169,"children":3170},{"style":44},[3171],{"type":14,"value":593},{"type":9,"tag":37,"props":3173,"children":3174},{"class":39,"line":380},[3175,3179,3183,3187,3194,3198,3202,3206,3210,3214,3218,3222,3226,3230,3234,3238,3242,3246,3250,3254,3258,3262],{"type":9,"tag":37,"props":3176,"children":3177},{"style":44},[3178],{"type":14,"value":3084},{"type":9,"tag":37,"props":3180,"children":3181},{"style":72},[3182],{"type":14,"value":1357},{"type":9,"tag":37,"props":3184,"children":3185},{"style":44},[3186],{"type":14,"value":495},{"type":9,"tag":37,"props":3188,"children":3189},{"style":72},[3190,3193],{"type":9,"tag":500,"props":3191,"children":3192},{"class":502,"style":1367},[],{"type":14,"value":1370},{"type":9,"tag":37,"props":3195,"children":3196},{"style":44},[3197],{"type":14,"value":511},{"type":9,"tag":37,"props":3199,"children":3200},{"style":72},[3201],{"type":14,"value":516},{"type":9,"tag":37,"props":3203,"children":3204},{"style":44},[3205],{"type":14,"value":521},{"type":9,"tag":37,"props":3207,"children":3208},{"style":72},[3209],{"type":14,"value":526},{"type":9,"tag":37,"props":3211,"children":3212},{"style":44},[3213],{"type":14,"value":531},{"type":9,"tag":37,"props":3215,"children":3216},{"style":56},[3217],{"type":14,"value":536},{"type":9,"tag":37,"props":3219,"children":3220},{"style":44},[3221],{"type":14,"value":541},{"type":9,"tag":37,"props":3223,"children":3224},{"style":238},[3225],{"type":14,"value":546},{"type":9,"tag":37,"props":3227,"children":3228},{"style":44},[3229],{"type":14,"value":551},{"type":9,"tag":37,"props":3231,"children":3232},{"style":87},[3233],{"type":14,"value":556},{"type":9,"tag":37,"props":3235,"children":3236},{"style":56},[3237],{"type":14,"value":226},{"type":9,"tag":37,"props":3239,"children":3240},{"style":44},[3241],{"type":14,"value":176},{"type":9,"tag":37,"props":3243,"children":3244},{"style":72},[3245],{"type":14,"value":1423},{"type":9,"tag":37,"props":3247,"children":3248},{"style":44},[3249],{"type":14,"value":546},{"type":9,"tag":37,"props":3251,"children":3252},{"style":72},[3253],{"type":14,"value":578},{"type":9,"tag":37,"props":3255,"children":3256},{"style":44},[3257],{"type":14,"value":583},{"type":9,"tag":37,"props":3259,"children":3260},{"style":72},[3261],{"type":14,"value":588},{"type":9,"tag":37,"props":3263,"children":3264},{"style":44},[3265],{"type":14,"value":2653},{"type":9,"tag":37,"props":3267,"children":3268},{"class":39,"line":406},[3269],{"type":9,"tag":37,"props":3270,"children":3271},{"style":44},[3272],{"type":14,"value":836},{"type":9,"tag":37,"props":3274,"children":3275},{"class":39,"line":415},[3276],{"type":9,"tag":37,"props":3277,"children":3278},{"emptyLinePlaceholder":143},[3279],{"type":14,"value":146},{"type":9,"tag":37,"props":3281,"children":3282},{"class":39,"line":434},[3283,3287,3292,3296,3301,3305,3309,3314,3318,3323,3327,3331,3335,3340,3345,3350,3354],{"type":9,"tag":37,"props":3284,"children":3285},{"style":87},[3286],{"type":14,"value":155},{"type":9,"tag":37,"props":3288,"children":3289},{"style":56},[3290],{"type":14,"value":3291}," actions",{"type":9,"tag":37,"props":3293,"children":3294},{"style":87},[3295],{"type":14,"value":246},{"type":9,"tag":37,"props":3297,"children":3298},{"style":56},[3299],{"type":14,"value":3300}," DataTableActionsColumn",{"type":9,"tag":37,"props":3302,"children":3303},{"style":44},[3304],{"type":14,"value":47},{"type":9,"tag":37,"props":3306,"children":3307},{"style":56},[3308],{"type":14,"value":334},{"type":9,"tag":37,"props":3310,"children":3311},{"style":44},[3312],{"type":14,"value":3313},">[",{"type":9,"tag":37,"props":3315,"children":3316},{"style":72},[3317],{"type":14,"value":426},{"type":9,"tag":37,"props":3319,"children":3320},{"style":44},[3321],{"type":14,"value":3322},"] ",{"type":9,"tag":37,"props":3324,"children":3325},{"style":87},[3326],{"type":14,"value":69},{"type":9,"tag":37,"props":3328,"children":3329},{"style":44},[3330],{"type":14,"value":684},{"type":9,"tag":37,"props":3332,"children":3333},{"style":238},[3334],{"type":14,"value":546},{"type":9,"tag":37,"props":3336,"children":3337},{"style":44},[3338],{"type":14,"value":3339},": { ",{"type":9,"tag":37,"props":3341,"children":3342},{"style":238},[3343],{"type":14,"value":3344},"original",{"type":9,"tag":37,"props":3346,"children":3347},{"style":44},[3348],{"type":14,"value":3349}," } }) ",{"type":9,"tag":37,"props":3351,"children":3352},{"style":87},[3353],{"type":14,"value":556},{"type":9,"tag":37,"props":3355,"children":3356},{"style":44},[3357],{"type":14,"value":701},{"type":9,"tag":37,"props":3359,"children":3360},{"class":39,"line":452},[3361,3366,3371,3375,3379,3383,3387,3391,3395],{"type":9,"tag":37,"props":3362,"children":3363},{"style":87},[3364],{"type":14,"value":3365},"  const",{"type":9,"tag":37,"props":3367,"children":3368},{"style":158},[3369],{"type":14,"value":3370}," extras",{"type":9,"tag":37,"props":3372,"children":3373},{"style":87},[3374],{"type":14,"value":246},{"type":9,"tag":37,"props":3376,"children":3377},{"style":56},[3378],{"type":14,"value":3056},{"type":9,"tag":37,"props":3380,"children":3381},{"style":44},[3382],{"type":14,"value":47},{"type":9,"tag":37,"props":3384,"children":3385},{"style":56},[3386],{"type":14,"value":334},{"type":9,"tag":37,"props":3388,"children":3389},{"style":44},[3390],{"type":14,"value":339},{"type":9,"tag":37,"props":3392,"children":3393},{"style":87},[3394],{"type":14,"value":69},{"type":9,"tag":37,"props":3396,"children":3397},{"style":44},[3398],{"type":14,"value":3399}," []\n",{"type":9,"tag":37,"props":3401,"children":3402},{"class":39,"line":470},[3403,3408,3413,3417,3422],{"type":9,"tag":37,"props":3404,"children":3405},{"style":87},[3406],{"type":14,"value":3407},"  if",{"type":9,"tag":37,"props":3409,"children":3410},{"style":44},[3411],{"type":14,"value":3412}," (original.department ",{"type":9,"tag":37,"props":3414,"children":3415},{"style":87},[3416],{"type":14,"value":1572},{"type":9,"tag":37,"props":3418,"children":3419},{"style":72},[3420],{"type":14,"value":3421}," '研发'",{"type":9,"tag":37,"props":3423,"children":3424},{"style":44},[3425],{"type":14,"value":186},{"type":9,"tag":37,"props":3427,"children":3428},{"class":39,"line":479},[3429,3434,3439,3444,3449,3453,3462,3466,3470,3474,3478,3482,3486,3490,3494,3498,3502,3506,3510,3515,3519,3523,3527,3531],{"type":9,"tag":37,"props":3430,"children":3431},{"style":44},[3432],{"type":14,"value":3433},"    extras.",{"type":9,"tag":37,"props":3435,"children":3436},{"style":56},[3437],{"type":14,"value":3438},"push",{"type":9,"tag":37,"props":3440,"children":3441},{"style":44},[3442],{"type":14,"value":3443},"({ key: ",{"type":9,"tag":37,"props":3445,"children":3446},{"style":72},[3447],{"type":14,"value":3448},"'resetPwd'",{"type":9,"tag":37,"props":3450,"children":3451},{"style":44},[3452],{"type":14,"value":495},{"type":9,"tag":37,"props":3454,"children":3455},{"style":72},[3456,3460],{"type":9,"tag":500,"props":3457,"children":3459},{"class":502,"style":3458},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fkey-round.svg?color=%23000)",[],{"type":14,"value":3461},"'i-lucide-key-round'",{"type":9,"tag":37,"props":3463,"children":3464},{"style":44},[3465],{"type":14,"value":511},{"type":9,"tag":37,"props":3467,"children":3468},{"style":72},[3469],{"type":14,"value":516},{"type":9,"tag":37,"props":3471,"children":3472},{"style":44},[3473],{"type":14,"value":521},{"type":9,"tag":37,"props":3475,"children":3476},{"style":72},[3477],{"type":14,"value":526},{"type":9,"tag":37,"props":3479,"children":3480},{"style":44},[3481],{"type":14,"value":531},{"type":9,"tag":37,"props":3483,"children":3484},{"style":56},[3485],{"type":14,"value":536},{"type":9,"tag":37,"props":3487,"children":3488},{"style":44},[3489],{"type":14,"value":541},{"type":9,"tag":37,"props":3491,"children":3492},{"style":238},[3493],{"type":14,"value":546},{"type":9,"tag":37,"props":3495,"children":3496},{"style":44},[3497],{"type":14,"value":551},{"type":9,"tag":37,"props":3499,"children":3500},{"style":87},[3501],{"type":14,"value":556},{"type":9,"tag":37,"props":3503,"children":3504},{"style":56},[3505],{"type":14,"value":226},{"type":9,"tag":37,"props":3507,"children":3508},{"style":44},[3509],{"type":14,"value":176},{"type":9,"tag":37,"props":3511,"children":3512},{"style":72},[3513],{"type":14,"value":3514},"`重置密码 ${",{"type":9,"tag":37,"props":3516,"children":3517},{"style":44},[3518],{"type":14,"value":546},{"type":9,"tag":37,"props":3520,"children":3521},{"style":72},[3522],{"type":14,"value":578},{"type":9,"tag":37,"props":3524,"children":3525},{"style":44},[3526],{"type":14,"value":583},{"type":9,"tag":37,"props":3528,"children":3529},{"style":72},[3530],{"type":14,"value":588},{"type":9,"tag":37,"props":3532,"children":3533},{"style":44},[3534],{"type":14,"value":3535},") })\n",{"type":9,"tag":37,"props":3537,"children":3538},{"class":39,"line":596},[3539,3543,3547,3551,3556],{"type":9,"tag":37,"props":3540,"children":3541},{"style":87},[3542],{"type":14,"value":3407},{"type":9,"tag":37,"props":3544,"children":3545},{"style":44},[3546],{"type":14,"value":3412},{"type":9,"tag":37,"props":3548,"children":3549},{"style":87},[3550],{"type":14,"value":1572},{"type":9,"tag":37,"props":3552,"children":3553},{"style":72},[3554],{"type":14,"value":3555}," '设计'",{"type":9,"tag":37,"props":3557,"children":3558},{"style":44},[3559],{"type":14,"value":186},{"type":9,"tag":37,"props":3561,"children":3562},{"class":39,"line":605},[3563,3567,3571,3575,3580,3584,3593,3597,3601,3605,3609,3613,3617,3621,3625,3629,3633,3637,3641,3646,3650,3654,3658,3662],{"type":9,"tag":37,"props":3564,"children":3565},{"style":44},[3566],{"type":14,"value":3433},{"type":9,"tag":37,"props":3568,"children":3569},{"style":56},[3570],{"type":14,"value":3438},{"type":9,"tag":37,"props":3572,"children":3573},{"style":44},[3574],{"type":14,"value":3443},{"type":9,"tag":37,"props":3576,"children":3577},{"style":72},[3578],{"type":14,"value":3579},"'transfer'",{"type":9,"tag":37,"props":3581,"children":3582},{"style":44},[3583],{"type":14,"value":495},{"type":9,"tag":37,"props":3585,"children":3586},{"style":72},[3587,3591],{"type":9,"tag":500,"props":3588,"children":3590},{"class":502,"style":3589},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fshare-2.svg?color=%23000)",[],{"type":14,"value":3592},"'i-lucide-share-2'",{"type":9,"tag":37,"props":3594,"children":3595},{"style":44},[3596],{"type":14,"value":511},{"type":9,"tag":37,"props":3598,"children":3599},{"style":72},[3600],{"type":14,"value":516},{"type":9,"tag":37,"props":3602,"children":3603},{"style":44},[3604],{"type":14,"value":521},{"type":9,"tag":37,"props":3606,"children":3607},{"style":72},[3608],{"type":14,"value":526},{"type":9,"tag":37,"props":3610,"children":3611},{"style":44},[3612],{"type":14,"value":531},{"type":9,"tag":37,"props":3614,"children":3615},{"style":56},[3616],{"type":14,"value":536},{"type":9,"tag":37,"props":3618,"children":3619},{"style":44},[3620],{"type":14,"value":541},{"type":9,"tag":37,"props":3622,"children":3623},{"style":238},[3624],{"type":14,"value":546},{"type":9,"tag":37,"props":3626,"children":3627},{"style":44},[3628],{"type":14,"value":551},{"type":9,"tag":37,"props":3630,"children":3631},{"style":87},[3632],{"type":14,"value":556},{"type":9,"tag":37,"props":3634,"children":3635},{"style":56},[3636],{"type":14,"value":226},{"type":9,"tag":37,"props":3638,"children":3639},{"style":44},[3640],{"type":14,"value":176},{"type":9,"tag":37,"props":3642,"children":3643},{"style":72},[3644],{"type":14,"value":3645},"`转交 ${",{"type":9,"tag":37,"props":3647,"children":3648},{"style":44},[3649],{"type":14,"value":546},{"type":9,"tag":37,"props":3651,"children":3652},{"style":72},[3653],{"type":14,"value":578},{"type":9,"tag":37,"props":3655,"children":3656},{"style":44},[3657],{"type":14,"value":583},{"type":9,"tag":37,"props":3659,"children":3660},{"style":72},[3661],{"type":14,"value":588},{"type":9,"tag":37,"props":3663,"children":3664},{"style":44},[3665],{"type":14,"value":3535},{"type":9,"tag":37,"props":3667,"children":3668},{"class":39,"line":623},[3669,3674,3679,3684,3689,3693],{"type":9,"tag":37,"props":3670,"children":3671},{"style":87},[3672],{"type":14,"value":3673},"  return",{"type":9,"tag":37,"props":3675,"children":3676},{"style":44},[3677],{"type":14,"value":3678}," [",{"type":9,"tag":37,"props":3680,"children":3681},{"style":87},[3682],{"type":14,"value":3683},"...",{"type":9,"tag":37,"props":3685,"children":3686},{"style":44},[3687],{"type":14,"value":3688},"base, ",{"type":9,"tag":37,"props":3690,"children":3691},{"style":87},[3692],{"type":14,"value":3683},{"type":9,"tag":37,"props":3694,"children":3695},{"style":44},[3696],{"type":14,"value":3697},"extras]\n",{"type":9,"tag":37,"props":3699,"children":3700},{"class":39,"line":663},[3701],{"type":9,"tag":37,"props":3702,"children":3703},{"style":44},[3704],{"type":14,"value":3705},"}\n",{"type":9,"tag":37,"props":3707,"children":3708},{"class":39,"line":704},[3709],{"type":9,"tag":37,"props":3710,"children":3711},{"emptyLinePlaceholder":143},[3712],{"type":14,"value":146},{"type":9,"tag":37,"props":3714,"children":3715},{"class":39,"line":756},[3716,3720,3724,3728,3732,3736,3740,3744,3748],{"type":9,"tag":37,"props":3717,"children":3718},{"style":87},[3719],{"type":14,"value":155},{"type":9,"tag":37,"props":3721,"children":3722},{"style":158},[3723],{"type":14,"value":316},{"type":9,"tag":37,"props":3725,"children":3726},{"style":87},[3727],{"type":14,"value":246},{"type":9,"tag":37,"props":3729,"children":3730},{"style":56},[3731],{"type":14,"value":325},{"type":9,"tag":37,"props":3733,"children":3734},{"style":44},[3735],{"type":14,"value":47},{"type":9,"tag":37,"props":3737,"children":3738},{"style":56},[3739],{"type":14,"value":334},{"type":9,"tag":37,"props":3741,"children":3742},{"style":44},[3743],{"type":14,"value":339},{"type":9,"tag":37,"props":3745,"children":3746},{"style":87},[3747],{"type":14,"value":69},{"type":9,"tag":37,"props":3749,"children":3750},{"style":44},[3751],{"type":14,"value":348},{"type":9,"tag":37,"props":3753,"children":3754},{"class":39,"line":794},[3755,3759,3763,3767,3771],{"type":9,"tag":37,"props":3756,"children":3757},{"style":44},[3758],{"type":14,"value":357},{"type":9,"tag":37,"props":3760,"children":3761},{"style":72},[3762],{"type":14,"value":362},{"type":9,"tag":37,"props":3764,"children":3765},{"style":44},[3766],{"type":14,"value":367},{"type":9,"tag":37,"props":3768,"children":3769},{"style":72},[3770],{"type":14,"value":372},{"type":9,"tag":37,"props":3772,"children":3773},{"style":44},[3774],{"type":14,"value":377},{"type":9,"tag":37,"props":3776,"children":3777},{"class":39,"line":803},[3778,3782,3786,3790,3794],{"type":9,"tag":37,"props":3779,"children":3780},{"style":44},[3781],{"type":14,"value":357},{"type":9,"tag":37,"props":3783,"children":3784},{"style":72},[3785],{"type":14,"value":390},{"type":9,"tag":37,"props":3787,"children":3788},{"style":44},[3789],{"type":14,"value":367},{"type":9,"tag":37,"props":3791,"children":3792},{"style":72},[3793],{"type":14,"value":399},{"type":9,"tag":37,"props":3795,"children":3796},{"style":44},[3797],{"type":14,"value":377},{"type":9,"tag":37,"props":3799,"children":3800},{"class":39,"line":812},[3801,3806,3810,3815,3820,3825,3829],{"type":9,"tag":37,"props":3802,"children":3803},{"style":44},[3804],{"type":14,"value":3805},"  { type: ",{"type":9,"tag":37,"props":3807,"children":3808},{"style":72},[3809],{"type":14,"value":426},{"type":9,"tag":37,"props":3811,"children":3812},{"style":44},[3813],{"type":14,"value":3814},", maxInline: ",{"type":9,"tag":37,"props":3816,"children":3817},{"style":158},[3818],{"type":14,"value":3819},"4",{"type":9,"tag":37,"props":3821,"children":3822},{"style":44},[3823],{"type":14,"value":3824},", actions, size: ",{"type":9,"tag":37,"props":3826,"children":3827},{"style":158},[3828],{"type":14,"value":463},{"type":9,"tag":37,"props":3830,"children":3831},{"style":44},[3832],{"type":14,"value":3833}," }\n",{"type":9,"tag":37,"props":3835,"children":3836},{"class":39,"line":821},[3837],{"type":9,"tag":37,"props":3838,"children":3839},{"style":44},[3840],{"type":14,"value":836},{"type":9,"tag":37,"props":3842,"children":3843},{"class":39,"line":830},[3844,3848,3852],{"type":9,"tag":37,"props":3845,"children":3846},{"style":44},[3847],{"type":14,"value":845},{"type":9,"tag":37,"props":3849,"children":3850},{"style":50},[3851],{"type":14,"value":53},{"type":9,"tag":37,"props":3853,"children":3854},{"style":44},[3855],{"type":14,"value":80},{"type":9,"tag":37,"props":3857,"children":3858},{"class":39,"line":839},[3859],{"type":9,"tag":37,"props":3860,"children":3861},{"emptyLinePlaceholder":143},[3862],{"type":14,"value":146},{"type":9,"tag":37,"props":3864,"children":3865},{"class":39,"line":856},[3866,3870,3874],{"type":9,"tag":37,"props":3867,"children":3868},{"style":44},[3869],{"type":14,"value":47},{"type":9,"tag":37,"props":3871,"children":3872},{"style":50},[3873],{"type":14,"value":874},{"type":9,"tag":37,"props":3875,"children":3876},{"style":44},[3877],{"type":14,"value":80},{"type":9,"tag":37,"props":3879,"children":3880},{"class":39,"line":864},[3881,3885,3889,3893,3897,3901,3905,3909,3913,3917,3921,3925,3929,3933,3937,3941,3945,3949],{"type":9,"tag":37,"props":3882,"children":3883},{"style":44},[3884],{"type":14,"value":887},{"type":9,"tag":37,"props":3886,"children":3887},{"style":50},[3888],{"type":14,"value":892},{"type":9,"tag":37,"props":3890,"children":3891},{"style":56},[3892],{"type":14,"value":897},{"type":9,"tag":37,"props":3894,"children":3895},{"style":44},[3896],{"type":14,"value":69},{"type":9,"tag":37,"props":3898,"children":3899},{"style":72},[3900],{"type":14,"value":906},{"type":9,"tag":37,"props":3902,"children":3903},{"style":44},[3904],{"type":14,"value":911},{"type":9,"tag":37,"props":3906,"children":3907},{"style":56},[3908],{"type":14,"value":916},{"type":9,"tag":37,"props":3910,"children":3911},{"style":44},[3912],{"type":14,"value":69},{"type":9,"tag":37,"props":3914,"children":3915},{"style":72},[3916],{"type":14,"value":925},{"type":9,"tag":37,"props":3918,"children":3919},{"style":44},[3920],{"type":14,"value":916},{"type":9,"tag":37,"props":3922,"children":3923},{"style":72},[3924],{"type":14,"value":925},{"type":9,"tag":37,"props":3926,"children":3927},{"style":44},[3928],{"type":14,"value":911},{"type":9,"tag":37,"props":3930,"children":3931},{"style":56},[3932],{"type":14,"value":942},{"type":9,"tag":37,"props":3934,"children":3935},{"style":44},[3936],{"type":14,"value":69},{"type":9,"tag":37,"props":3938,"children":3939},{"style":72},[3940],{"type":14,"value":925},{"type":9,"tag":37,"props":3942,"children":3943},{"style":44},[3944],{"type":14,"value":942},{"type":9,"tag":37,"props":3946,"children":3947},{"style":72},[3948],{"type":14,"value":925},{"type":9,"tag":37,"props":3950,"children":3951},{"style":44},[3952],{"type":14,"value":963},{"type":9,"tag":37,"props":3954,"children":3955},{"class":39,"line":881},[3956,3960,3964],{"type":9,"tag":37,"props":3957,"children":3958},{"style":44},[3959],{"type":14,"value":845},{"type":9,"tag":37,"props":3961,"children":3962},{"style":50},[3963],{"type":14,"value":874},{"type":9,"tag":37,"props":3965,"children":3966},{"style":44},[3967],{"type":14,"value":80},{"type":9,"tag":981,"props":3969,"children":3970},{},[3971],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":3973},[],{"code":3975,"filePath":3976,"pascalName":3977},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(5)\nconst toast = useToast()\nconst notify = (msg: string): void => { toast.add({ title: msg, duration: 1500 }) }\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  {\n    type: 'actions',\n    minSize: 80,\n    maxInline: 2,\n    actions: [\n      { key: 'view', buttonProps: { icon: 'i-lucide-eye', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`查看 ${row.name}`) },\n      { key: 'edit', buttonProps: { icon: 'i-lucide-pencil', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`编辑 ${row.name}`) },\n      { key: 'archive', buttonProps: { icon: 'i-lucide-archive', label: '归档', size: 'xs' }, onClick: ({ row }) => notify(`归档 ${row.name}`) },\n      { key: 'delete', divider: true, buttonProps: { icon: 'i-lucide-trash-2', label: '删除', color: 'error', size: 'xs' }, onClick: ({ row }) => notify(`删除 ${row.name}`) }\n    ]\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableActionsInlineExample.vue","DataTableActionsInlineExample",{"data":3979,"body":3980,"toc":4897},{"title":22,"description":22},{"type":6,"children":3981},[3982,4893],{"type":9,"tag":26,"props":3983,"children":3985},{"className":28,"code":3984,"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(5)\nconst toast = useToast()\nconst notify = (msg: string): void => { toast.add({ title: msg, duration: 1500 }) }\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  {\n    type: 'actions',\n    minSize: 80,\n    maxInline: 2,\n    actions: [\n      { key: 'view', buttonProps: { icon: 'i-lucide-eye', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`查看 ${row.name}`) },\n      { key: 'edit', buttonProps: { icon: 'i-lucide-pencil', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => notify(`编辑 ${row.name}`) },\n      { key: 'archive', buttonProps: { icon: 'i-lucide-archive', label: '归档', size: 'xs' }, onClick: ({ row }) => notify(`归档 ${row.name}`) },\n      { key: 'delete', divider: true, buttonProps: { icon: 'i-lucide-trash-2', label: '删除', color: 'error', size: 'xs' }, onClick: ({ row }) => notify(`删除 ${row.name}`) }\n    ]\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n\n",[3986],{"type":9,"tag":33,"props":3987,"children":3988},{"__ignoreMap":22},[3989,4020,4043,4066,4073,4104,4127,4194,4201,4240,4263,4286,4293,4308,4325,4340,4347,4441,4535,4634,4745,4752,4759,4766,4781,4788,4803,4878],{"type":9,"tag":37,"props":3990,"children":3991},{"class":39,"line":40},[3992,3996,4000,4004,4008,4012,4016],{"type":9,"tag":37,"props":3993,"children":3994},{"style":44},[3995],{"type":14,"value":47},{"type":9,"tag":37,"props":3997,"children":3998},{"style":50},[3999],{"type":14,"value":53},{"type":9,"tag":37,"props":4001,"children":4002},{"style":56},[4003],{"type":14,"value":59},{"type":9,"tag":37,"props":4005,"children":4006},{"style":56},[4007],{"type":14,"value":64},{"type":9,"tag":37,"props":4009,"children":4010},{"style":44},[4011],{"type":14,"value":69},{"type":9,"tag":37,"props":4013,"children":4014},{"style":72},[4015],{"type":14,"value":75},{"type":9,"tag":37,"props":4017,"children":4018},{"style":44},[4019],{"type":14,"value":80},{"type":9,"tag":37,"props":4021,"children":4022},{"class":39,"line":83},[4023,4027,4031,4035,4039],{"type":9,"tag":37,"props":4024,"children":4025},{"style":87},[4026],{"type":14,"value":90},{"type":9,"tag":37,"props":4028,"children":4029},{"style":87},[4030],{"type":14,"value":95},{"type":9,"tag":37,"props":4032,"children":4033},{"style":44},[4034],{"type":14,"value":100},{"type":9,"tag":37,"props":4036,"children":4037},{"style":87},[4038],{"type":14,"value":105},{"type":9,"tag":37,"props":4040,"children":4041},{"style":72},[4042],{"type":14,"value":110},{"type":9,"tag":37,"props":4044,"children":4045},{"class":39,"line":113},[4046,4050,4054,4058,4062],{"type":9,"tag":37,"props":4047,"children":4048},{"style":87},[4049],{"type":14,"value":90},{"type":9,"tag":37,"props":4051,"children":4052},{"style":87},[4053],{"type":14,"value":95},{"type":9,"tag":37,"props":4055,"children":4056},{"style":44},[4057],{"type":14,"value":127},{"type":9,"tag":37,"props":4059,"children":4060},{"style":87},[4061],{"type":14,"value":105},{"type":9,"tag":37,"props":4063,"children":4064},{"style":72},[4065],{"type":14,"value":136},{"type":9,"tag":37,"props":4067,"children":4068},{"class":39,"line":139},[4069],{"type":9,"tag":37,"props":4070,"children":4071},{"emptyLinePlaceholder":143},[4072],{"type":14,"value":146},{"type":9,"tag":37,"props":4074,"children":4075},{"class":39,"line":149},[4076,4080,4084,4088,4092,4096,4100],{"type":9,"tag":37,"props":4077,"children":4078},{"style":87},[4079],{"type":14,"value":155},{"type":9,"tag":37,"props":4081,"children":4082},{"style":158},[4083],{"type":14,"value":161},{"type":9,"tag":37,"props":4085,"children":4086},{"style":87},[4087],{"type":14,"value":166},{"type":9,"tag":37,"props":4089,"children":4090},{"style":56},[4091],{"type":14,"value":171},{"type":9,"tag":37,"props":4093,"children":4094},{"style":44},[4095],{"type":14,"value":176},{"type":9,"tag":37,"props":4097,"children":4098},{"style":158},[4099],{"type":14,"value":181},{"type":9,"tag":37,"props":4101,"children":4102},{"style":44},[4103],{"type":14,"value":186},{"type":9,"tag":37,"props":4105,"children":4106},{"class":39,"line":189},[4107,4111,4115,4119,4123],{"type":9,"tag":37,"props":4108,"children":4109},{"style":87},[4110],{"type":14,"value":155},{"type":9,"tag":37,"props":4112,"children":4113},{"style":158},[4114],{"type":14,"value":199},{"type":9,"tag":37,"props":4116,"children":4117},{"style":87},[4118],{"type":14,"value":166},{"type":9,"tag":37,"props":4120,"children":4121},{"style":56},[4122],{"type":14,"value":208},{"type":9,"tag":37,"props":4124,"children":4125},{"style":44},[4126],{"type":14,"value":213},{"type":9,"tag":37,"props":4128,"children":4129},{"class":39,"line":216},[4130,4134,4138,4142,4146,4150,4154,4158,4162,4166,4170,4174,4178,4182,4186,4190],{"type":9,"tag":37,"props":4131,"children":4132},{"style":87},[4133],{"type":14,"value":155},{"type":9,"tag":37,"props":4135,"children":4136},{"style":56},[4137],{"type":14,"value":226},{"type":9,"tag":37,"props":4139,"children":4140},{"style":87},[4141],{"type":14,"value":166},{"type":9,"tag":37,"props":4143,"children":4144},{"style":44},[4145],{"type":14,"value":235},{"type":9,"tag":37,"props":4147,"children":4148},{"style":238},[4149],{"type":14,"value":241},{"type":9,"tag":37,"props":4151,"children":4152},{"style":87},[4153],{"type":14,"value":246},{"type":9,"tag":37,"props":4155,"children":4156},{"style":158},[4157],{"type":14,"value":251},{"type":9,"tag":37,"props":4159,"children":4160},{"style":44},[4161],{"type":14,"value":256},{"type":9,"tag":37,"props":4163,"children":4164},{"style":87},[4165],{"type":14,"value":246},{"type":9,"tag":37,"props":4167,"children":4168},{"style":158},[4169],{"type":14,"value":265},{"type":9,"tag":37,"props":4171,"children":4172},{"style":87},[4173],{"type":14,"value":270},{"type":9,"tag":37,"props":4175,"children":4176},{"style":44},[4177],{"type":14,"value":275},{"type":9,"tag":37,"props":4179,"children":4180},{"style":56},[4181],{"type":14,"value":280},{"type":9,"tag":37,"props":4183,"children":4184},{"style":44},[4185],{"type":14,"value":285},{"type":9,"tag":37,"props":4187,"children":4188},{"style":158},[4189],{"type":14,"value":290},{"type":9,"tag":37,"props":4191,"children":4192},{"style":44},[4193],{"type":14,"value":295},{"type":9,"tag":37,"props":4195,"children":4196},{"class":39,"line":298},[4197],{"type":9,"tag":37,"props":4198,"children":4199},{"emptyLinePlaceholder":143},[4200],{"type":14,"value":146},{"type":9,"tag":37,"props":4202,"children":4203},{"class":39,"line":306},[4204,4208,4212,4216,4220,4224,4228,4232,4236],{"type":9,"tag":37,"props":4205,"children":4206},{"style":87},[4207],{"type":14,"value":155},{"type":9,"tag":37,"props":4209,"children":4210},{"style":158},[4211],{"type":14,"value":316},{"type":9,"tag":37,"props":4213,"children":4214},{"style":87},[4215],{"type":14,"value":246},{"type":9,"tag":37,"props":4217,"children":4218},{"style":56},[4219],{"type":14,"value":325},{"type":9,"tag":37,"props":4221,"children":4222},{"style":44},[4223],{"type":14,"value":47},{"type":9,"tag":37,"props":4225,"children":4226},{"style":56},[4227],{"type":14,"value":334},{"type":9,"tag":37,"props":4229,"children":4230},{"style":44},[4231],{"type":14,"value":339},{"type":9,"tag":37,"props":4233,"children":4234},{"style":87},[4235],{"type":14,"value":69},{"type":9,"tag":37,"props":4237,"children":4238},{"style":44},[4239],{"type":14,"value":348},{"type":9,"tag":37,"props":4241,"children":4242},{"class":39,"line":351},[4243,4247,4251,4255,4259],{"type":9,"tag":37,"props":4244,"children":4245},{"style":44},[4246],{"type":14,"value":357},{"type":9,"tag":37,"props":4248,"children":4249},{"style":72},[4250],{"type":14,"value":362},{"type":9,"tag":37,"props":4252,"children":4253},{"style":44},[4254],{"type":14,"value":367},{"type":9,"tag":37,"props":4256,"children":4257},{"style":72},[4258],{"type":14,"value":372},{"type":9,"tag":37,"props":4260,"children":4261},{"style":44},[4262],{"type":14,"value":377},{"type":9,"tag":37,"props":4264,"children":4265},{"class":39,"line":380},[4266,4270,4274,4278,4282],{"type":9,"tag":37,"props":4267,"children":4268},{"style":44},[4269],{"type":14,"value":357},{"type":9,"tag":37,"props":4271,"children":4272},{"style":72},[4273],{"type":14,"value":390},{"type":9,"tag":37,"props":4275,"children":4276},{"style":44},[4277],{"type":14,"value":367},{"type":9,"tag":37,"props":4279,"children":4280},{"style":72},[4281],{"type":14,"value":399},{"type":9,"tag":37,"props":4283,"children":4284},{"style":44},[4285],{"type":14,"value":377},{"type":9,"tag":37,"props":4287,"children":4288},{"class":39,"line":406},[4289],{"type":9,"tag":37,"props":4290,"children":4291},{"style":44},[4292],{"type":14,"value":412},{"type":9,"tag":37,"props":4294,"children":4295},{"class":39,"line":415},[4296,4300,4304],{"type":9,"tag":37,"props":4297,"children":4298},{"style":44},[4299],{"type":14,"value":421},{"type":9,"tag":37,"props":4301,"children":4302},{"style":72},[4303],{"type":14,"value":426},{"type":9,"tag":37,"props":4305,"children":4306},{"style":44},[4307],{"type":14,"value":431},{"type":9,"tag":37,"props":4309,"children":4310},{"class":39,"line":434},[4311,4316,4321],{"type":9,"tag":37,"props":4312,"children":4313},{"style":44},[4314],{"type":14,"value":4315},"    minSize: ",{"type":9,"tag":37,"props":4317,"children":4318},{"style":158},[4319],{"type":14,"value":4320},"80",{"type":9,"tag":37,"props":4322,"children":4323},{"style":44},[4324],{"type":14,"value":431},{"type":9,"tag":37,"props":4326,"children":4327},{"class":39,"line":452},[4328,4332,4336],{"type":9,"tag":37,"props":4329,"children":4330},{"style":44},[4331],{"type":14,"value":440},{"type":9,"tag":37,"props":4333,"children":4334},{"style":158},[4335],{"type":14,"value":445},{"type":9,"tag":37,"props":4337,"children":4338},{"style":44},[4339],{"type":14,"value":431},{"type":9,"tag":37,"props":4341,"children":4342},{"class":39,"line":470},[4343],{"type":9,"tag":37,"props":4344,"children":4345},{"style":44},[4346],{"type":14,"value":476},{"type":9,"tag":37,"props":4348,"children":4349},{"class":39,"line":479},[4350,4354,4358,4362,4369,4373,4377,4381,4385,4389,4393,4397,4401,4405,4409,4413,4417,4421,4425,4429,4433,4437],{"type":9,"tag":37,"props":4351,"children":4352},{"style":44},[4353],{"type":14,"value":485},{"type":9,"tag":37,"props":4355,"children":4356},{"style":72},[4357],{"type":14,"value":490},{"type":9,"tag":37,"props":4359,"children":4360},{"style":44},[4361],{"type":14,"value":495},{"type":9,"tag":37,"props":4363,"children":4364},{"style":72},[4365,4368],{"type":9,"tag":500,"props":4366,"children":4367},{"class":502,"style":503},[],{"type":14,"value":506},{"type":9,"tag":37,"props":4370,"children":4371},{"style":44},[4372],{"type":14,"value":511},{"type":9,"tag":37,"props":4374,"children":4375},{"style":72},[4376],{"type":14,"value":516},{"type":9,"tag":37,"props":4378,"children":4379},{"style":44},[4380],{"type":14,"value":521},{"type":9,"tag":37,"props":4382,"children":4383},{"style":72},[4384],{"type":14,"value":526},{"type":9,"tag":37,"props":4386,"children":4387},{"style":44},[4388],{"type":14,"value":531},{"type":9,"tag":37,"props":4390,"children":4391},{"style":56},[4392],{"type":14,"value":536},{"type":9,"tag":37,"props":4394,"children":4395},{"style":44},[4396],{"type":14,"value":541},{"type":9,"tag":37,"props":4398,"children":4399},{"style":238},[4400],{"type":14,"value":546},{"type":9,"tag":37,"props":4402,"children":4403},{"style":44},[4404],{"type":14,"value":551},{"type":9,"tag":37,"props":4406,"children":4407},{"style":87},[4408],{"type":14,"value":556},{"type":9,"tag":37,"props":4410,"children":4411},{"style":56},[4412],{"type":14,"value":226},{"type":9,"tag":37,"props":4414,"children":4415},{"style":44},[4416],{"type":14,"value":176},{"type":9,"tag":37,"props":4418,"children":4419},{"style":72},[4420],{"type":14,"value":569},{"type":9,"tag":37,"props":4422,"children":4423},{"style":44},[4424],{"type":14,"value":546},{"type":9,"tag":37,"props":4426,"children":4427},{"style":72},[4428],{"type":14,"value":578},{"type":9,"tag":37,"props":4430,"children":4431},{"style":44},[4432],{"type":14,"value":583},{"type":9,"tag":37,"props":4434,"children":4435},{"style":72},[4436],{"type":14,"value":588},{"type":9,"tag":37,"props":4438,"children":4439},{"style":44},[4440],{"type":14,"value":593},{"type":9,"tag":37,"props":4442,"children":4443},{"class":39,"line":596},[4444,4448,4452,4456,4463,4467,4471,4475,4479,4483,4487,4491,4495,4499,4503,4507,4511,4515,4519,4523,4527,4531],{"type":9,"tag":37,"props":4445,"children":4446},{"style":44},[4447],{"type":14,"value":485},{"type":9,"tag":37,"props":4449,"children":4450},{"style":72},[4451],{"type":14,"value":1357},{"type":9,"tag":37,"props":4453,"children":4454},{"style":44},[4455],{"type":14,"value":495},{"type":9,"tag":37,"props":4457,"children":4458},{"style":72},[4459,4462],{"type":9,"tag":500,"props":4460,"children":4461},{"class":502,"style":1367},[],{"type":14,"value":1370},{"type":9,"tag":37,"props":4464,"children":4465},{"style":44},[4466],{"type":14,"value":511},{"type":9,"tag":37,"props":4468,"children":4469},{"style":72},[4470],{"type":14,"value":516},{"type":9,"tag":37,"props":4472,"children":4473},{"style":44},[4474],{"type":14,"value":521},{"type":9,"tag":37,"props":4476,"children":4477},{"style":72},[4478],{"type":14,"value":526},{"type":9,"tag":37,"props":4480,"children":4481},{"style":44},[4482],{"type":14,"value":531},{"type":9,"tag":37,"props":4484,"children":4485},{"style":56},[4486],{"type":14,"value":536},{"type":9,"tag":37,"props":4488,"children":4489},{"style":44},[4490],{"type":14,"value":541},{"type":9,"tag":37,"props":4492,"children":4493},{"style":238},[4494],{"type":14,"value":546},{"type":9,"tag":37,"props":4496,"children":4497},{"style":44},[4498],{"type":14,"value":551},{"type":9,"tag":37,"props":4500,"children":4501},{"style":87},[4502],{"type":14,"value":556},{"type":9,"tag":37,"props":4504,"children":4505},{"style":56},[4506],{"type":14,"value":226},{"type":9,"tag":37,"props":4508,"children":4509},{"style":44},[4510],{"type":14,"value":176},{"type":9,"tag":37,"props":4512,"children":4513},{"style":72},[4514],{"type":14,"value":1423},{"type":9,"tag":37,"props":4516,"children":4517},{"style":44},[4518],{"type":14,"value":546},{"type":9,"tag":37,"props":4520,"children":4521},{"style":72},[4522],{"type":14,"value":578},{"type":9,"tag":37,"props":4524,"children":4525},{"style":44},[4526],{"type":14,"value":583},{"type":9,"tag":37,"props":4528,"children":4529},{"style":72},[4530],{"type":14,"value":588},{"type":9,"tag":37,"props":4532,"children":4533},{"style":44},[4534],{"type":14,"value":593},{"type":9,"tag":37,"props":4536,"children":4537},{"class":39,"line":605},[4538,4542,4547,4551,4560,4564,4569,4573,4577,4581,4585,4589,4593,4597,4601,4605,4609,4614,4618,4622,4626,4630],{"type":9,"tag":37,"props":4539,"children":4540},{"style":44},[4541],{"type":14,"value":485},{"type":9,"tag":37,"props":4543,"children":4544},{"style":72},[4545],{"type":14,"value":4546},"'archive'",{"type":9,"tag":37,"props":4548,"children":4549},{"style":44},[4550],{"type":14,"value":495},{"type":9,"tag":37,"props":4552,"children":4553},{"style":72},[4554,4558],{"type":9,"tag":500,"props":4555,"children":4557},{"class":502,"style":4556},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Farchive.svg?color=%23000)",[],{"type":14,"value":4559},"'i-lucide-archive'",{"type":9,"tag":37,"props":4561,"children":4562},{"style":44},[4563],{"type":14,"value":643},{"type":9,"tag":37,"props":4565,"children":4566},{"style":72},[4567],{"type":14,"value":4568},"'归档'",{"type":9,"tag":37,"props":4570,"children":4571},{"style":44},[4572],{"type":14,"value":521},{"type":9,"tag":37,"props":4574,"children":4575},{"style":72},[4576],{"type":14,"value":526},{"type":9,"tag":37,"props":4578,"children":4579},{"style":44},[4580],{"type":14,"value":531},{"type":9,"tag":37,"props":4582,"children":4583},{"style":56},[4584],{"type":14,"value":536},{"type":9,"tag":37,"props":4586,"children":4587},{"style":44},[4588],{"type":14,"value":541},{"type":9,"tag":37,"props":4590,"children":4591},{"style":238},[4592],{"type":14,"value":546},{"type":9,"tag":37,"props":4594,"children":4595},{"style":44},[4596],{"type":14,"value":551},{"type":9,"tag":37,"props":4598,"children":4599},{"style":87},[4600],{"type":14,"value":556},{"type":9,"tag":37,"props":4602,"children":4603},{"style":56},[4604],{"type":14,"value":226},{"type":9,"tag":37,"props":4606,"children":4607},{"style":44},[4608],{"type":14,"value":176},{"type":9,"tag":37,"props":4610,"children":4611},{"style":72},[4612],{"type":14,"value":4613},"`归档 ${",{"type":9,"tag":37,"props":4615,"children":4616},{"style":44},[4617],{"type":14,"value":546},{"type":9,"tag":37,"props":4619,"children":4620},{"style":72},[4621],{"type":14,"value":578},{"type":9,"tag":37,"props":4623,"children":4624},{"style":44},[4625],{"type":14,"value":583},{"type":9,"tag":37,"props":4627,"children":4628},{"style":72},[4629],{"type":14,"value":588},{"type":9,"tag":37,"props":4631,"children":4632},{"style":44},[4633],{"type":14,"value":593},{"type":9,"tag":37,"props":4635,"children":4636},{"class":39,"line":623},[4637,4641,4645,4650,4654,4658,4665,4669,4673,4677,4681,4685,4689,4693,4697,4701,4705,4709,4713,4717,4721,4725,4729,4733,4737,4741],{"type":9,"tag":37,"props":4638,"children":4639},{"style":44},[4640],{"type":14,"value":485},{"type":9,"tag":37,"props":4642,"children":4643},{"style":72},[4644],{"type":14,"value":1462},{"type":9,"tag":37,"props":4646,"children":4647},{"style":44},[4648],{"type":14,"value":4649},", divider: ",{"type":9,"tag":37,"props":4651,"children":4652},{"style":158},[4653],{"type":14,"value":1526},{"type":9,"tag":37,"props":4655,"children":4656},{"style":44},[4657],{"type":14,"value":495},{"type":9,"tag":37,"props":4659,"children":4660},{"style":72},[4661,4664],{"type":9,"tag":500,"props":4662,"children":4663},{"class":502,"style":1479},[],{"type":14,"value":1482},{"type":9,"tag":37,"props":4666,"children":4667},{"style":44},[4668],{"type":14,"value":643},{"type":9,"tag":37,"props":4670,"children":4671},{"style":72},[4672],{"type":14,"value":1491},{"type":9,"tag":37,"props":4674,"children":4675},{"style":44},[4676],{"type":14,"value":1496},{"type":9,"tag":37,"props":4678,"children":4679},{"style":72},[4680],{"type":14,"value":1501},{"type":9,"tag":37,"props":4682,"children":4683},{"style":44},[4684],{"type":14,"value":521},{"type":9,"tag":37,"props":4686,"children":4687},{"style":72},[4688],{"type":14,"value":526},{"type":9,"tag":37,"props":4690,"children":4691},{"style":44},[4692],{"type":14,"value":531},{"type":9,"tag":37,"props":4694,"children":4695},{"style":56},[4696],{"type":14,"value":536},{"type":9,"tag":37,"props":4698,"children":4699},{"style":44},[4700],{"type":14,"value":541},{"type":9,"tag":37,"props":4702,"children":4703},{"style":238},[4704],{"type":14,"value":546},{"type":9,"tag":37,"props":4706,"children":4707},{"style":44},[4708],{"type":14,"value":551},{"type":9,"tag":37,"props":4710,"children":4711},{"style":87},[4712],{"type":14,"value":556},{"type":9,"tag":37,"props":4714,"children":4715},{"style":56},[4716],{"type":14,"value":226},{"type":9,"tag":37,"props":4718,"children":4719},{"style":44},[4720],{"type":14,"value":176},{"type":9,"tag":37,"props":4722,"children":4723},{"style":72},[4724],{"type":14,"value":1613},{"type":9,"tag":37,"props":4726,"children":4727},{"style":44},[4728],{"type":14,"value":546},{"type":9,"tag":37,"props":4730,"children":4731},{"style":72},[4732],{"type":14,"value":578},{"type":9,"tag":37,"props":4734,"children":4735},{"style":44},[4736],{"type":14,"value":583},{"type":9,"tag":37,"props":4738,"children":4739},{"style":72},[4740],{"type":14,"value":588},{"type":9,"tag":37,"props":4742,"children":4743},{"style":44},[4744],{"type":14,"value":2653},{"type":9,"tag":37,"props":4746,"children":4747},{"class":39,"line":663},[4748],{"type":9,"tag":37,"props":4749,"children":4750},{"style":44},[4751],{"type":14,"value":818},{"type":9,"tag":37,"props":4753,"children":4754},{"class":39,"line":704},[4755],{"type":9,"tag":37,"props":4756,"children":4757},{"style":44},[4758],{"type":14,"value":827},{"type":9,"tag":37,"props":4760,"children":4761},{"class":39,"line":756},[4762],{"type":9,"tag":37,"props":4763,"children":4764},{"style":44},[4765],{"type":14,"value":836},{"type":9,"tag":37,"props":4767,"children":4768},{"class":39,"line":794},[4769,4773,4777],{"type":9,"tag":37,"props":4770,"children":4771},{"style":44},[4772],{"type":14,"value":845},{"type":9,"tag":37,"props":4774,"children":4775},{"style":50},[4776],{"type":14,"value":53},{"type":9,"tag":37,"props":4778,"children":4779},{"style":44},[4780],{"type":14,"value":80},{"type":9,"tag":37,"props":4782,"children":4783},{"class":39,"line":803},[4784],{"type":9,"tag":37,"props":4785,"children":4786},{"emptyLinePlaceholder":143},[4787],{"type":14,"value":146},{"type":9,"tag":37,"props":4789,"children":4790},{"class":39,"line":812},[4791,4795,4799],{"type":9,"tag":37,"props":4792,"children":4793},{"style":44},[4794],{"type":14,"value":47},{"type":9,"tag":37,"props":4796,"children":4797},{"style":50},[4798],{"type":14,"value":874},{"type":9,"tag":37,"props":4800,"children":4801},{"style":44},[4802],{"type":14,"value":80},{"type":9,"tag":37,"props":4804,"children":4805},{"class":39,"line":821},[4806,4810,4814,4818,4822,4826,4830,4834,4838,4842,4846,4850,4854,4858,4862,4866,4870,4874],{"type":9,"tag":37,"props":4807,"children":4808},{"style":44},[4809],{"type":14,"value":887},{"type":9,"tag":37,"props":4811,"children":4812},{"style":50},[4813],{"type":14,"value":892},{"type":9,"tag":37,"props":4815,"children":4816},{"style":56},[4817],{"type":14,"value":897},{"type":9,"tag":37,"props":4819,"children":4820},{"style":44},[4821],{"type":14,"value":69},{"type":9,"tag":37,"props":4823,"children":4824},{"style":72},[4825],{"type":14,"value":906},{"type":9,"tag":37,"props":4827,"children":4828},{"style":44},[4829],{"type":14,"value":911},{"type":9,"tag":37,"props":4831,"children":4832},{"style":56},[4833],{"type":14,"value":916},{"type":9,"tag":37,"props":4835,"children":4836},{"style":44},[4837],{"type":14,"value":69},{"type":9,"tag":37,"props":4839,"children":4840},{"style":72},[4841],{"type":14,"value":925},{"type":9,"tag":37,"props":4843,"children":4844},{"style":44},[4845],{"type":14,"value":916},{"type":9,"tag":37,"props":4847,"children":4848},{"style":72},[4849],{"type":14,"value":925},{"type":9,"tag":37,"props":4851,"children":4852},{"style":44},[4853],{"type":14,"value":911},{"type":9,"tag":37,"props":4855,"children":4856},{"style":56},[4857],{"type":14,"value":942},{"type":9,"tag":37,"props":4859,"children":4860},{"style":44},[4861],{"type":14,"value":69},{"type":9,"tag":37,"props":4863,"children":4864},{"style":72},[4865],{"type":14,"value":925},{"type":9,"tag":37,"props":4867,"children":4868},{"style":44},[4869],{"type":14,"value":942},{"type":9,"tag":37,"props":4871,"children":4872},{"style":72},[4873],{"type":14,"value":925},{"type":9,"tag":37,"props":4875,"children":4876},{"style":44},[4877],{"type":14,"value":963},{"type":9,"tag":37,"props":4879,"children":4880},{"class":39,"line":830},[4881,4885,4889],{"type":9,"tag":37,"props":4882,"children":4883},{"style":44},[4884],{"type":14,"value":845},{"type":9,"tag":37,"props":4886,"children":4887},{"style":50},[4888],{"type":14,"value":874},{"type":9,"tag":37,"props":4890,"children":4891},{"style":44},[4892],{"type":14,"value":80},{"type":9,"tag":981,"props":4894,"children":4895},{},[4896],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":4898},[],{"code":4900,"filePath":4901,"pascalName":4902},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, PaginationState } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(80)\nconst pagination = ref\u003CPaginationState>({ pageIndex: 0, pageSize: 5 })\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { type: 'index', header: '序' },\n  { accessorKey: 'name', header: '姓名', sortable: true },\n  { accessorKey: 'department', header: '部门' },\n  { accessorKey: 'salary', header: '薪资', align: 'right', sortable: true }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable v-model:pagination=\"pagination\" row-key=\"id\" :columns=\"columns\" :data=\"data\" sortable \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableIndexExample.vue","DataTableIndexExample",{"data":4904,"body":4905,"toc":5426},{"title":22,"description":22},{"type":6,"children":4906},[4907,5422],{"type":9,"tag":26,"props":4908,"children":4910},{"className":28,"code":4909,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, PaginationState } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(80)\nconst pagination = ref\u003CPaginationState>({ pageIndex: 0, pageSize: 5 })\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { type: 'index', header: '序' },\n  { accessorKey: 'name', header: '姓名', sortable: true },\n  { accessorKey: 'department', header: '部门' },\n  { accessorKey: 'salary', header: '薪资', align: 'right', sortable: true }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable v-model:pagination=\"pagination\" row-key=\"id\" :columns=\"columns\" :data=\"data\" sortable \u002F>\n\u003C\u002Ftemplate>\n\n",[4911],{"type":9,"tag":33,"props":4912,"children":4913},{"__ignoreMap":22},[4914,4945,4969,4992,4999,5030,5084,5091,5130,5155,5187,5210,5253,5260,5275,5282,5297,5407],{"type":9,"tag":37,"props":4915,"children":4916},{"class":39,"line":40},[4917,4921,4925,4929,4933,4937,4941],{"type":9,"tag":37,"props":4918,"children":4919},{"style":44},[4920],{"type":14,"value":47},{"type":9,"tag":37,"props":4922,"children":4923},{"style":50},[4924],{"type":14,"value":53},{"type":9,"tag":37,"props":4926,"children":4927},{"style":56},[4928],{"type":14,"value":59},{"type":9,"tag":37,"props":4930,"children":4931},{"style":56},[4932],{"type":14,"value":64},{"type":9,"tag":37,"props":4934,"children":4935},{"style":44},[4936],{"type":14,"value":69},{"type":9,"tag":37,"props":4938,"children":4939},{"style":72},[4940],{"type":14,"value":75},{"type":9,"tag":37,"props":4942,"children":4943},{"style":44},[4944],{"type":14,"value":80},{"type":9,"tag":37,"props":4946,"children":4947},{"class":39,"line":83},[4948,4952,4956,4961,4965],{"type":9,"tag":37,"props":4949,"children":4950},{"style":87},[4951],{"type":14,"value":90},{"type":9,"tag":37,"props":4953,"children":4954},{"style":87},[4955],{"type":14,"value":95},{"type":9,"tag":37,"props":4957,"children":4958},{"style":44},[4959],{"type":14,"value":4960}," { DataTableColumn, PaginationState } ",{"type":9,"tag":37,"props":4962,"children":4963},{"style":87},[4964],{"type":14,"value":105},{"type":9,"tag":37,"props":4966,"children":4967},{"style":72},[4968],{"type":14,"value":110},{"type":9,"tag":37,"props":4970,"children":4971},{"class":39,"line":113},[4972,4976,4980,4984,4988],{"type":9,"tag":37,"props":4973,"children":4974},{"style":87},[4975],{"type":14,"value":90},{"type":9,"tag":37,"props":4977,"children":4978},{"style":87},[4979],{"type":14,"value":95},{"type":9,"tag":37,"props":4981,"children":4982},{"style":44},[4983],{"type":14,"value":127},{"type":9,"tag":37,"props":4985,"children":4986},{"style":87},[4987],{"type":14,"value":105},{"type":9,"tag":37,"props":4989,"children":4990},{"style":72},[4991],{"type":14,"value":136},{"type":9,"tag":37,"props":4993,"children":4994},{"class":39,"line":139},[4995],{"type":9,"tag":37,"props":4996,"children":4997},{"emptyLinePlaceholder":143},[4998],{"type":14,"value":146},{"type":9,"tag":37,"props":5000,"children":5001},{"class":39,"line":149},[5002,5006,5010,5014,5018,5022,5026],{"type":9,"tag":37,"props":5003,"children":5004},{"style":87},[5005],{"type":14,"value":155},{"type":9,"tag":37,"props":5007,"children":5008},{"style":158},[5009],{"type":14,"value":161},{"type":9,"tag":37,"props":5011,"children":5012},{"style":87},[5013],{"type":14,"value":166},{"type":9,"tag":37,"props":5015,"children":5016},{"style":56},[5017],{"type":14,"value":171},{"type":9,"tag":37,"props":5019,"children":5020},{"style":44},[5021],{"type":14,"value":176},{"type":9,"tag":37,"props":5023,"children":5024},{"style":158},[5025],{"type":14,"value":4320},{"type":9,"tag":37,"props":5027,"children":5028},{"style":44},[5029],{"type":14,"value":186},{"type":9,"tag":37,"props":5031,"children":5032},{"class":39,"line":189},[5033,5037,5042,5046,5051,5055,5060,5065,5070,5075,5079],{"type":9,"tag":37,"props":5034,"children":5035},{"style":87},[5036],{"type":14,"value":155},{"type":9,"tag":37,"props":5038,"children":5039},{"style":158},[5040],{"type":14,"value":5041}," pagination",{"type":9,"tag":37,"props":5043,"children":5044},{"style":87},[5045],{"type":14,"value":166},{"type":9,"tag":37,"props":5047,"children":5048},{"style":56},[5049],{"type":14,"value":5050}," ref",{"type":9,"tag":37,"props":5052,"children":5053},{"style":44},[5054],{"type":14,"value":47},{"type":9,"tag":37,"props":5056,"children":5057},{"style":56},[5058],{"type":14,"value":5059},"PaginationState",{"type":9,"tag":37,"props":5061,"children":5062},{"style":44},[5063],{"type":14,"value":5064},">({ pageIndex: ",{"type":9,"tag":37,"props":5066,"children":5067},{"style":158},[5068],{"type":14,"value":5069},"0",{"type":9,"tag":37,"props":5071,"children":5072},{"style":44},[5073],{"type":14,"value":5074},", pageSize: ",{"type":9,"tag":37,"props":5076,"children":5077},{"style":158},[5078],{"type":14,"value":181},{"type":9,"tag":37,"props":5080,"children":5081},{"style":44},[5082],{"type":14,"value":5083}," })\n",{"type":9,"tag":37,"props":5085,"children":5086},{"class":39,"line":216},[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":298},[5094,5098,5102,5106,5110,5114,5118,5122,5126],{"type":9,"tag":37,"props":5095,"children":5096},{"style":87},[5097],{"type":14,"value":155},{"type":9,"tag":37,"props":5099,"children":5100},{"style":158},[5101],{"type":14,"value":316},{"type":9,"tag":37,"props":5103,"children":5104},{"style":87},[5105],{"type":14,"value":246},{"type":9,"tag":37,"props":5107,"children":5108},{"style":56},[5109],{"type":14,"value":325},{"type":9,"tag":37,"props":5111,"children":5112},{"style":44},[5113],{"type":14,"value":47},{"type":9,"tag":37,"props":5115,"children":5116},{"style":56},[5117],{"type":14,"value":334},{"type":9,"tag":37,"props":5119,"children":5120},{"style":44},[5121],{"type":14,"value":339},{"type":9,"tag":37,"props":5123,"children":5124},{"style":87},[5125],{"type":14,"value":69},{"type":9,"tag":37,"props":5127,"children":5128},{"style":44},[5129],{"type":14,"value":348},{"type":9,"tag":37,"props":5131,"children":5132},{"class":39,"line":306},[5133,5137,5142,5146,5151],{"type":9,"tag":37,"props":5134,"children":5135},{"style":44},[5136],{"type":14,"value":3805},{"type":9,"tag":37,"props":5138,"children":5139},{"style":72},[5140],{"type":14,"value":5141},"'index'",{"type":9,"tag":37,"props":5143,"children":5144},{"style":44},[5145],{"type":14,"value":367},{"type":9,"tag":37,"props":5147,"children":5148},{"style":72},[5149],{"type":14,"value":5150},"'序'",{"type":9,"tag":37,"props":5152,"children":5153},{"style":44},[5154],{"type":14,"value":377},{"type":9,"tag":37,"props":5156,"children":5157},{"class":39,"line":351},[5158,5162,5166,5170,5174,5179,5183],{"type":9,"tag":37,"props":5159,"children":5160},{"style":44},[5161],{"type":14,"value":357},{"type":9,"tag":37,"props":5163,"children":5164},{"style":72},[5165],{"type":14,"value":362},{"type":9,"tag":37,"props":5167,"children":5168},{"style":44},[5169],{"type":14,"value":367},{"type":9,"tag":37,"props":5171,"children":5172},{"style":72},[5173],{"type":14,"value":372},{"type":9,"tag":37,"props":5175,"children":5176},{"style":44},[5177],{"type":14,"value":5178},", sortable: ",{"type":9,"tag":37,"props":5180,"children":5181},{"style":158},[5182],{"type":14,"value":1526},{"type":9,"tag":37,"props":5184,"children":5185},{"style":44},[5186],{"type":14,"value":377},{"type":9,"tag":37,"props":5188,"children":5189},{"class":39,"line":380},[5190,5194,5198,5202,5206],{"type":9,"tag":37,"props":5191,"children":5192},{"style":44},[5193],{"type":14,"value":357},{"type":9,"tag":37,"props":5195,"children":5196},{"style":72},[5197],{"type":14,"value":390},{"type":9,"tag":37,"props":5199,"children":5200},{"style":44},[5201],{"type":14,"value":367},{"type":9,"tag":37,"props":5203,"children":5204},{"style":72},[5205],{"type":14,"value":399},{"type":9,"tag":37,"props":5207,"children":5208},{"style":44},[5209],{"type":14,"value":377},{"type":9,"tag":37,"props":5211,"children":5212},{"class":39,"line":406},[5213,5217,5222,5226,5231,5236,5241,5245,5249],{"type":9,"tag":37,"props":5214,"children":5215},{"style":44},[5216],{"type":14,"value":357},{"type":9,"tag":37,"props":5218,"children":5219},{"style":72},[5220],{"type":14,"value":5221},"'salary'",{"type":9,"tag":37,"props":5223,"children":5224},{"style":44},[5225],{"type":14,"value":367},{"type":9,"tag":37,"props":5227,"children":5228},{"style":72},[5229],{"type":14,"value":5230},"'薪资'",{"type":9,"tag":37,"props":5232,"children":5233},{"style":44},[5234],{"type":14,"value":5235},", align: ",{"type":9,"tag":37,"props":5237,"children":5238},{"style":72},[5239],{"type":14,"value":5240},"'right'",{"type":9,"tag":37,"props":5242,"children":5243},{"style":44},[5244],{"type":14,"value":5178},{"type":9,"tag":37,"props":5246,"children":5247},{"style":158},[5248],{"type":14,"value":1526},{"type":9,"tag":37,"props":5250,"children":5251},{"style":44},[5252],{"type":14,"value":3833},{"type":9,"tag":37,"props":5254,"children":5255},{"class":39,"line":415},[5256],{"type":9,"tag":37,"props":5257,"children":5258},{"style":44},[5259],{"type":14,"value":836},{"type":9,"tag":37,"props":5261,"children":5262},{"class":39,"line":434},[5263,5267,5271],{"type":9,"tag":37,"props":5264,"children":5265},{"style":44},[5266],{"type":14,"value":845},{"type":9,"tag":37,"props":5268,"children":5269},{"style":50},[5270],{"type":14,"value":53},{"type":9,"tag":37,"props":5272,"children":5273},{"style":44},[5274],{"type":14,"value":80},{"type":9,"tag":37,"props":5276,"children":5277},{"class":39,"line":452},[5278],{"type":9,"tag":37,"props":5279,"children":5280},{"emptyLinePlaceholder":143},[5281],{"type":14,"value":146},{"type":9,"tag":37,"props":5283,"children":5284},{"class":39,"line":470},[5285,5289,5293],{"type":9,"tag":37,"props":5286,"children":5287},{"style":44},[5288],{"type":14,"value":47},{"type":9,"tag":37,"props":5290,"children":5291},{"style":50},[5292],{"type":14,"value":874},{"type":9,"tag":37,"props":5294,"children":5295},{"style":44},[5296],{"type":14,"value":80},{"type":9,"tag":37,"props":5298,"children":5299},{"class":39,"line":479},[5300,5304,5308,5313,5317,5322,5326,5330,5334,5338,5342,5346,5350,5354,5358,5362,5366,5370,5374,5378,5382,5386,5390,5394,5398,5403],{"type":9,"tag":37,"props":5301,"children":5302},{"style":44},[5303],{"type":14,"value":887},{"type":9,"tag":37,"props":5305,"children":5306},{"style":50},[5307],{"type":14,"value":892},{"type":9,"tag":37,"props":5309,"children":5310},{"style":56},[5311],{"type":14,"value":5312}," v-model",{"type":9,"tag":37,"props":5314,"children":5315},{"style":44},[5316],{"type":14,"value":246},{"type":9,"tag":37,"props":5318,"children":5319},{"style":56},[5320],{"type":14,"value":5321},"pagination",{"type":9,"tag":37,"props":5323,"children":5324},{"style":44},[5325],{"type":14,"value":69},{"type":9,"tag":37,"props":5327,"children":5328},{"style":72},[5329],{"type":14,"value":925},{"type":9,"tag":37,"props":5331,"children":5332},{"style":44},[5333],{"type":14,"value":5321},{"type":9,"tag":37,"props":5335,"children":5336},{"style":72},[5337],{"type":14,"value":925},{"type":9,"tag":37,"props":5339,"children":5340},{"style":56},[5341],{"type":14,"value":897},{"type":9,"tag":37,"props":5343,"children":5344},{"style":44},[5345],{"type":14,"value":69},{"type":9,"tag":37,"props":5347,"children":5348},{"style":72},[5349],{"type":14,"value":906},{"type":9,"tag":37,"props":5351,"children":5352},{"style":44},[5353],{"type":14,"value":911},{"type":9,"tag":37,"props":5355,"children":5356},{"style":56},[5357],{"type":14,"value":916},{"type":9,"tag":37,"props":5359,"children":5360},{"style":44},[5361],{"type":14,"value":69},{"type":9,"tag":37,"props":5363,"children":5364},{"style":72},[5365],{"type":14,"value":925},{"type":9,"tag":37,"props":5367,"children":5368},{"style":44},[5369],{"type":14,"value":916},{"type":9,"tag":37,"props":5371,"children":5372},{"style":72},[5373],{"type":14,"value":925},{"type":9,"tag":37,"props":5375,"children":5376},{"style":44},[5377],{"type":14,"value":911},{"type":9,"tag":37,"props":5379,"children":5380},{"style":56},[5381],{"type":14,"value":942},{"type":9,"tag":37,"props":5383,"children":5384},{"style":44},[5385],{"type":14,"value":69},{"type":9,"tag":37,"props":5387,"children":5388},{"style":72},[5389],{"type":14,"value":925},{"type":9,"tag":37,"props":5391,"children":5392},{"style":44},[5393],{"type":14,"value":942},{"type":9,"tag":37,"props":5395,"children":5396},{"style":72},[5397],{"type":14,"value":925},{"type":9,"tag":37,"props":5399,"children":5400},{"style":56},[5401],{"type":14,"value":5402}," sortable",{"type":9,"tag":37,"props":5404,"children":5405},{"style":44},[5406],{"type":14,"value":963},{"type":9,"tag":37,"props":5408,"children":5409},{"class":39,"line":596},[5410,5414,5418],{"type":9,"tag":37,"props":5411,"children":5412},{"style":44},[5413],{"type":14,"value":845},{"type":9,"tag":37,"props":5415,"children":5416},{"style":50},[5417],{"type":14,"value":874},{"type":9,"tag":37,"props":5419,"children":5420},{"style":44},[5421],{"type":14,"value":80},{"type":9,"tag":981,"props":5423,"children":5424},{},[5425],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":5427},[],{"code":5429,"filePath":5430,"pascalName":5431},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(6)\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  {\n    type: 'row-pinning',\n    buttonProps: ({ pinned }) => pinned\n      ? { icon: 'i-lucide-pin-off', color: 'primary', variant: 'outline' }\n      : { icon: 'i-lucide-pin', color: 'neutral', variant: 'ghost' }\n  },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  { accessorKey: 'role', header: '岗位' }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableRowPinningDynamicExample.vue","DataTableRowPinningDynamicExample",{"data":5433,"body":5434,"toc":5961},{"title":22,"description":22},{"type":6,"children":5435},[5436,5957],{"type":9,"tag":26,"props":5437,"children":5439},{"className":28,"code":5438,"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(6)\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  {\n    type: 'row-pinning',\n    buttonProps: ({ pinned }) => pinned\n      ? { icon: 'i-lucide-pin-off', color: 'primary', variant: 'outline' }\n      : { icon: 'i-lucide-pin', color: 'neutral', variant: 'ghost' }\n  },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  { accessorKey: 'role', header: '岗位' }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n\n",[5440],{"type":9,"tag":33,"props":5441,"children":5442},{"__ignoreMap":22},[5443,5474,5497,5520,5527,5559,5566,5605,5612,5628,5658,5702,5744,5752,5775,5798,5823,5830,5845,5852,5867,5942],{"type":9,"tag":37,"props":5444,"children":5445},{"class":39,"line":40},[5446,5450,5454,5458,5462,5466,5470],{"type":9,"tag":37,"props":5447,"children":5448},{"style":44},[5449],{"type":14,"value":47},{"type":9,"tag":37,"props":5451,"children":5452},{"style":50},[5453],{"type":14,"value":53},{"type":9,"tag":37,"props":5455,"children":5456},{"style":56},[5457],{"type":14,"value":59},{"type":9,"tag":37,"props":5459,"children":5460},{"style":56},[5461],{"type":14,"value":64},{"type":9,"tag":37,"props":5463,"children":5464},{"style":44},[5465],{"type":14,"value":69},{"type":9,"tag":37,"props":5467,"children":5468},{"style":72},[5469],{"type":14,"value":75},{"type":9,"tag":37,"props":5471,"children":5472},{"style":44},[5473],{"type":14,"value":80},{"type":9,"tag":37,"props":5475,"children":5476},{"class":39,"line":83},[5477,5481,5485,5489,5493],{"type":9,"tag":37,"props":5478,"children":5479},{"style":87},[5480],{"type":14,"value":90},{"type":9,"tag":37,"props":5482,"children":5483},{"style":87},[5484],{"type":14,"value":95},{"type":9,"tag":37,"props":5486,"children":5487},{"style":44},[5488],{"type":14,"value":100},{"type":9,"tag":37,"props":5490,"children":5491},{"style":87},[5492],{"type":14,"value":105},{"type":9,"tag":37,"props":5494,"children":5495},{"style":72},[5496],{"type":14,"value":110},{"type":9,"tag":37,"props":5498,"children":5499},{"class":39,"line":113},[5500,5504,5508,5512,5516],{"type":9,"tag":37,"props":5501,"children":5502},{"style":87},[5503],{"type":14,"value":90},{"type":9,"tag":37,"props":5505,"children":5506},{"style":87},[5507],{"type":14,"value":95},{"type":9,"tag":37,"props":5509,"children":5510},{"style":44},[5511],{"type":14,"value":127},{"type":9,"tag":37,"props":5513,"children":5514},{"style":87},[5515],{"type":14,"value":105},{"type":9,"tag":37,"props":5517,"children":5518},{"style":72},[5519],{"type":14,"value":136},{"type":9,"tag":37,"props":5521,"children":5522},{"class":39,"line":139},[5523],{"type":9,"tag":37,"props":5524,"children":5525},{"emptyLinePlaceholder":143},[5526],{"type":14,"value":146},{"type":9,"tag":37,"props":5528,"children":5529},{"class":39,"line":149},[5530,5534,5538,5542,5546,5550,5555],{"type":9,"tag":37,"props":5531,"children":5532},{"style":87},[5533],{"type":14,"value":155},{"type":9,"tag":37,"props":5535,"children":5536},{"style":158},[5537],{"type":14,"value":161},{"type":9,"tag":37,"props":5539,"children":5540},{"style":87},[5541],{"type":14,"value":166},{"type":9,"tag":37,"props":5543,"children":5544},{"style":56},[5545],{"type":14,"value":171},{"type":9,"tag":37,"props":5547,"children":5548},{"style":44},[5549],{"type":14,"value":176},{"type":9,"tag":37,"props":5551,"children":5552},{"style":158},[5553],{"type":14,"value":5554},"6",{"type":9,"tag":37,"props":5556,"children":5557},{"style":44},[5558],{"type":14,"value":186},{"type":9,"tag":37,"props":5560,"children":5561},{"class":39,"line":189},[5562],{"type":9,"tag":37,"props":5563,"children":5564},{"emptyLinePlaceholder":143},[5565],{"type":14,"value":146},{"type":9,"tag":37,"props":5567,"children":5568},{"class":39,"line":216},[5569,5573,5577,5581,5585,5589,5593,5597,5601],{"type":9,"tag":37,"props":5570,"children":5571},{"style":87},[5572],{"type":14,"value":155},{"type":9,"tag":37,"props":5574,"children":5575},{"style":158},[5576],{"type":14,"value":316},{"type":9,"tag":37,"props":5578,"children":5579},{"style":87},[5580],{"type":14,"value":246},{"type":9,"tag":37,"props":5582,"children":5583},{"style":56},[5584],{"type":14,"value":325},{"type":9,"tag":37,"props":5586,"children":5587},{"style":44},[5588],{"type":14,"value":47},{"type":9,"tag":37,"props":5590,"children":5591},{"style":56},[5592],{"type":14,"value":334},{"type":9,"tag":37,"props":5594,"children":5595},{"style":44},[5596],{"type":14,"value":339},{"type":9,"tag":37,"props":5598,"children":5599},{"style":87},[5600],{"type":14,"value":69},{"type":9,"tag":37,"props":5602,"children":5603},{"style":44},[5604],{"type":14,"value":348},{"type":9,"tag":37,"props":5606,"children":5607},{"class":39,"line":298},[5608],{"type":9,"tag":37,"props":5609,"children":5610},{"style":44},[5611],{"type":14,"value":412},{"type":9,"tag":37,"props":5613,"children":5614},{"class":39,"line":306},[5615,5619,5624],{"type":9,"tag":37,"props":5616,"children":5617},{"style":44},[5618],{"type":14,"value":421},{"type":9,"tag":37,"props":5620,"children":5621},{"style":72},[5622],{"type":14,"value":5623},"'row-pinning'",{"type":9,"tag":37,"props":5625,"children":5626},{"style":44},[5627],{"type":14,"value":431},{"type":9,"tag":37,"props":5629,"children":5630},{"class":39,"line":351},[5631,5636,5640,5645,5649,5653],{"type":9,"tag":37,"props":5632,"children":5633},{"style":56},[5634],{"type":14,"value":5635},"    buttonProps",{"type":9,"tag":37,"props":5637,"children":5638},{"style":44},[5639],{"type":14,"value":541},{"type":9,"tag":37,"props":5641,"children":5642},{"style":238},[5643],{"type":14,"value":5644},"pinned",{"type":9,"tag":37,"props":5646,"children":5647},{"style":44},[5648],{"type":14,"value":551},{"type":9,"tag":37,"props":5650,"children":5651},{"style":87},[5652],{"type":14,"value":556},{"type":9,"tag":37,"props":5654,"children":5655},{"style":44},[5656],{"type":14,"value":5657}," pinned\n",{"type":9,"tag":37,"props":5659,"children":5660},{"class":39,"line":380},[5661,5666,5671,5680,5684,5689,5693,5698],{"type":9,"tag":37,"props":5662,"children":5663},{"style":87},[5664],{"type":14,"value":5665},"      ?",{"type":9,"tag":37,"props":5667,"children":5668},{"style":44},[5669],{"type":14,"value":5670}," { icon: ",{"type":9,"tag":37,"props":5672,"children":5673},{"style":72},[5674,5678],{"type":9,"tag":500,"props":5675,"children":5677},{"class":502,"style":5676},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fpin-off.svg?color=%23000)",[],{"type":14,"value":5679},"'i-lucide-pin-off'",{"type":9,"tag":37,"props":5681,"children":5682},{"style":44},[5683],{"type":14,"value":1496},{"type":9,"tag":37,"props":5685,"children":5686},{"style":72},[5687],{"type":14,"value":5688},"'primary'",{"type":9,"tag":37,"props":5690,"children":5691},{"style":44},[5692],{"type":14,"value":511},{"type":9,"tag":37,"props":5694,"children":5695},{"style":72},[5696],{"type":14,"value":5697},"'outline'",{"type":9,"tag":37,"props":5699,"children":5700},{"style":44},[5701],{"type":14,"value":3833},{"type":9,"tag":37,"props":5703,"children":5704},{"class":39,"line":406},[5705,5710,5714,5723,5727,5732,5736,5740],{"type":9,"tag":37,"props":5706,"children":5707},{"style":87},[5708],{"type":14,"value":5709},"      :",{"type":9,"tag":37,"props":5711,"children":5712},{"style":44},[5713],{"type":14,"value":5670},{"type":9,"tag":37,"props":5715,"children":5716},{"style":72},[5717,5721],{"type":9,"tag":500,"props":5718,"children":5720},{"class":502,"style":5719},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fpin.svg?color=%23000)",[],{"type":14,"value":5722},"'i-lucide-pin'",{"type":9,"tag":37,"props":5724,"children":5725},{"style":44},[5726],{"type":14,"value":1496},{"type":9,"tag":37,"props":5728,"children":5729},{"style":72},[5730],{"type":14,"value":5731},"'neutral'",{"type":9,"tag":37,"props":5733,"children":5734},{"style":44},[5735],{"type":14,"value":511},{"type":9,"tag":37,"props":5737,"children":5738},{"style":72},[5739],{"type":14,"value":516},{"type":9,"tag":37,"props":5741,"children":5742},{"style":44},[5743],{"type":14,"value":3833},{"type":9,"tag":37,"props":5745,"children":5746},{"class":39,"line":415},[5747],{"type":9,"tag":37,"props":5748,"children":5749},{"style":44},[5750],{"type":14,"value":5751},"  },\n",{"type":9,"tag":37,"props":5753,"children":5754},{"class":39,"line":434},[5755,5759,5763,5767,5771],{"type":9,"tag":37,"props":5756,"children":5757},{"style":44},[5758],{"type":14,"value":357},{"type":9,"tag":37,"props":5760,"children":5761},{"style":72},[5762],{"type":14,"value":362},{"type":9,"tag":37,"props":5764,"children":5765},{"style":44},[5766],{"type":14,"value":367},{"type":9,"tag":37,"props":5768,"children":5769},{"style":72},[5770],{"type":14,"value":372},{"type":9,"tag":37,"props":5772,"children":5773},{"style":44},[5774],{"type":14,"value":377},{"type":9,"tag":37,"props":5776,"children":5777},{"class":39,"line":452},[5778,5782,5786,5790,5794],{"type":9,"tag":37,"props":5779,"children":5780},{"style":44},[5781],{"type":14,"value":357},{"type":9,"tag":37,"props":5783,"children":5784},{"style":72},[5785],{"type":14,"value":390},{"type":9,"tag":37,"props":5787,"children":5788},{"style":44},[5789],{"type":14,"value":367},{"type":9,"tag":37,"props":5791,"children":5792},{"style":72},[5793],{"type":14,"value":399},{"type":9,"tag":37,"props":5795,"children":5796},{"style":44},[5797],{"type":14,"value":377},{"type":9,"tag":37,"props":5799,"children":5800},{"class":39,"line":470},[5801,5805,5810,5814,5819],{"type":9,"tag":37,"props":5802,"children":5803},{"style":44},[5804],{"type":14,"value":357},{"type":9,"tag":37,"props":5806,"children":5807},{"style":72},[5808],{"type":14,"value":5809},"'role'",{"type":9,"tag":37,"props":5811,"children":5812},{"style":44},[5813],{"type":14,"value":367},{"type":9,"tag":37,"props":5815,"children":5816},{"style":72},[5817],{"type":14,"value":5818},"'岗位'",{"type":9,"tag":37,"props":5820,"children":5821},{"style":44},[5822],{"type":14,"value":3833},{"type":9,"tag":37,"props":5824,"children":5825},{"class":39,"line":479},[5826],{"type":9,"tag":37,"props":5827,"children":5828},{"style":44},[5829],{"type":14,"value":836},{"type":9,"tag":37,"props":5831,"children":5832},{"class":39,"line":596},[5833,5837,5841],{"type":9,"tag":37,"props":5834,"children":5835},{"style":44},[5836],{"type":14,"value":845},{"type":9,"tag":37,"props":5838,"children":5839},{"style":50},[5840],{"type":14,"value":53},{"type":9,"tag":37,"props":5842,"children":5843},{"style":44},[5844],{"type":14,"value":80},{"type":9,"tag":37,"props":5846,"children":5847},{"class":39,"line":605},[5848],{"type":9,"tag":37,"props":5849,"children":5850},{"emptyLinePlaceholder":143},[5851],{"type":14,"value":146},{"type":9,"tag":37,"props":5853,"children":5854},{"class":39,"line":623},[5855,5859,5863],{"type":9,"tag":37,"props":5856,"children":5857},{"style":44},[5858],{"type":14,"value":47},{"type":9,"tag":37,"props":5860,"children":5861},{"style":50},[5862],{"type":14,"value":874},{"type":9,"tag":37,"props":5864,"children":5865},{"style":44},[5866],{"type":14,"value":80},{"type":9,"tag":37,"props":5868,"children":5869},{"class":39,"line":663},[5870,5874,5878,5882,5886,5890,5894,5898,5902,5906,5910,5914,5918,5922,5926,5930,5934,5938],{"type":9,"tag":37,"props":5871,"children":5872},{"style":44},[5873],{"type":14,"value":887},{"type":9,"tag":37,"props":5875,"children":5876},{"style":50},[5877],{"type":14,"value":892},{"type":9,"tag":37,"props":5879,"children":5880},{"style":56},[5881],{"type":14,"value":897},{"type":9,"tag":37,"props":5883,"children":5884},{"style":44},[5885],{"type":14,"value":69},{"type":9,"tag":37,"props":5887,"children":5888},{"style":72},[5889],{"type":14,"value":906},{"type":9,"tag":37,"props":5891,"children":5892},{"style":44},[5893],{"type":14,"value":911},{"type":9,"tag":37,"props":5895,"children":5896},{"style":56},[5897],{"type":14,"value":916},{"type":9,"tag":37,"props":5899,"children":5900},{"style":44},[5901],{"type":14,"value":69},{"type":9,"tag":37,"props":5903,"children":5904},{"style":72},[5905],{"type":14,"value":925},{"type":9,"tag":37,"props":5907,"children":5908},{"style":44},[5909],{"type":14,"value":916},{"type":9,"tag":37,"props":5911,"children":5912},{"style":72},[5913],{"type":14,"value":925},{"type":9,"tag":37,"props":5915,"children":5916},{"style":44},[5917],{"type":14,"value":911},{"type":9,"tag":37,"props":5919,"children":5920},{"style":56},[5921],{"type":14,"value":942},{"type":9,"tag":37,"props":5923,"children":5924},{"style":44},[5925],{"type":14,"value":69},{"type":9,"tag":37,"props":5927,"children":5928},{"style":72},[5929],{"type":14,"value":925},{"type":9,"tag":37,"props":5931,"children":5932},{"style":44},[5933],{"type":14,"value":942},{"type":9,"tag":37,"props":5935,"children":5936},{"style":72},[5937],{"type":14,"value":925},{"type":9,"tag":37,"props":5939,"children":5940},{"style":44},[5941],{"type":14,"value":963},{"type":9,"tag":37,"props":5943,"children":5944},{"class":39,"line":704},[5945,5949,5953],{"type":9,"tag":37,"props":5946,"children":5947},{"style":44},[5948],{"type":14,"value":845},{"type":9,"tag":37,"props":5950,"children":5951},{"style":50},[5952],{"type":14,"value":874},{"type":9,"tag":37,"props":5954,"children":5955},{"style":44},[5956],{"type":14,"value":80},{"type":9,"tag":981,"props":5958,"children":5959},{},[5960],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":5962},[],{"code":5964,"filePath":5965,"pascalName":5966},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, RowPinningState } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\nconst pinning = ref\u003CRowPinningState>({ top: ['P0001'], bottom: ['P0004', 'P0008'] })\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { type: 'row-pinning', position: 'top', header: '顶' },\n  { accessorKey: 'id', header: 'ID' },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  { accessorKey: 'role', header: '岗位' }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable v-model:row-pinning=\"pinning\" row-key=\"id\" :columns=\"columns\" :data=\"data\" :ui=\"{ root: 'max-h-65' }\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableRowPinningExample.vue","DataTableRowPinningExample",{"data":5968,"body":5969,"toc":6535},{"title":22,"description":22},{"type":6,"children":5970},[5971,6531],{"type":9,"tag":26,"props":5972,"children":5974},{"className":28,"code":5973,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, RowPinningState } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\nconst pinning = ref\u003CRowPinningState>({ top: ['P0001'], bottom: ['P0004', 'P0008'] })\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { type: 'row-pinning', position: 'top', header: '顶' },\n  { accessorKey: 'id', header: 'ID' },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  { accessorKey: 'role', header: '岗位' }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable v-model:row-pinning=\"pinning\" row-key=\"id\" :columns=\"columns\" :data=\"data\" :ui=\"{ root: 'max-h-65' }\" \u002F>\n\u003C\u002Ftemplate>\n\n",[5975],{"type":9,"tag":33,"props":5976,"children":5977},{"__ignoreMap":22},[5978,6009,6033,6056,6063,6094,6157,6164,6203,6237,6262,6285,6308,6331,6338,6353,6360,6375,6516],{"type":9,"tag":37,"props":5979,"children":5980},{"class":39,"line":40},[5981,5985,5989,5993,5997,6001,6005],{"type":9,"tag":37,"props":5982,"children":5983},{"style":44},[5984],{"type":14,"value":47},{"type":9,"tag":37,"props":5986,"children":5987},{"style":50},[5988],{"type":14,"value":53},{"type":9,"tag":37,"props":5990,"children":5991},{"style":56},[5992],{"type":14,"value":59},{"type":9,"tag":37,"props":5994,"children":5995},{"style":56},[5996],{"type":14,"value":64},{"type":9,"tag":37,"props":5998,"children":5999},{"style":44},[6000],{"type":14,"value":69},{"type":9,"tag":37,"props":6002,"children":6003},{"style":72},[6004],{"type":14,"value":75},{"type":9,"tag":37,"props":6006,"children":6007},{"style":44},[6008],{"type":14,"value":80},{"type":9,"tag":37,"props":6010,"children":6011},{"class":39,"line":83},[6012,6016,6020,6025,6029],{"type":9,"tag":37,"props":6013,"children":6014},{"style":87},[6015],{"type":14,"value":90},{"type":9,"tag":37,"props":6017,"children":6018},{"style":87},[6019],{"type":14,"value":95},{"type":9,"tag":37,"props":6021,"children":6022},{"style":44},[6023],{"type":14,"value":6024}," { DataTableColumn, RowPinningState } ",{"type":9,"tag":37,"props":6026,"children":6027},{"style":87},[6028],{"type":14,"value":105},{"type":9,"tag":37,"props":6030,"children":6031},{"style":72},[6032],{"type":14,"value":110},{"type":9,"tag":37,"props":6034,"children":6035},{"class":39,"line":113},[6036,6040,6044,6048,6052],{"type":9,"tag":37,"props":6037,"children":6038},{"style":87},[6039],{"type":14,"value":90},{"type":9,"tag":37,"props":6041,"children":6042},{"style":87},[6043],{"type":14,"value":95},{"type":9,"tag":37,"props":6045,"children":6046},{"style":44},[6047],{"type":14,"value":127},{"type":9,"tag":37,"props":6049,"children":6050},{"style":87},[6051],{"type":14,"value":105},{"type":9,"tag":37,"props":6053,"children":6054},{"style":72},[6055],{"type":14,"value":136},{"type":9,"tag":37,"props":6057,"children":6058},{"class":39,"line":139},[6059],{"type":9,"tag":37,"props":6060,"children":6061},{"emptyLinePlaceholder":143},[6062],{"type":14,"value":146},{"type":9,"tag":37,"props":6064,"children":6065},{"class":39,"line":149},[6066,6070,6074,6078,6082,6086,6090],{"type":9,"tag":37,"props":6067,"children":6068},{"style":87},[6069],{"type":14,"value":155},{"type":9,"tag":37,"props":6071,"children":6072},{"style":158},[6073],{"type":14,"value":161},{"type":9,"tag":37,"props":6075,"children":6076},{"style":87},[6077],{"type":14,"value":166},{"type":9,"tag":37,"props":6079,"children":6080},{"style":56},[6081],{"type":14,"value":171},{"type":9,"tag":37,"props":6083,"children":6084},{"style":44},[6085],{"type":14,"value":176},{"type":9,"tag":37,"props":6087,"children":6088},{"style":158},[6089],{"type":14,"value":2040},{"type":9,"tag":37,"props":6091,"children":6092},{"style":44},[6093],{"type":14,"value":186},{"type":9,"tag":37,"props":6095,"children":6096},{"class":39,"line":189},[6097,6101,6106,6110,6114,6118,6123,6128,6133,6138,6143,6147,6152],{"type":9,"tag":37,"props":6098,"children":6099},{"style":87},[6100],{"type":14,"value":155},{"type":9,"tag":37,"props":6102,"children":6103},{"style":158},[6104],{"type":14,"value":6105}," pinning",{"type":9,"tag":37,"props":6107,"children":6108},{"style":87},[6109],{"type":14,"value":166},{"type":9,"tag":37,"props":6111,"children":6112},{"style":56},[6113],{"type":14,"value":5050},{"type":9,"tag":37,"props":6115,"children":6116},{"style":44},[6117],{"type":14,"value":47},{"type":9,"tag":37,"props":6119,"children":6120},{"style":56},[6121],{"type":14,"value":6122},"RowPinningState",{"type":9,"tag":37,"props":6124,"children":6125},{"style":44},[6126],{"type":14,"value":6127},">({ top: [",{"type":9,"tag":37,"props":6129,"children":6130},{"style":72},[6131],{"type":14,"value":6132},"'P0001'",{"type":9,"tag":37,"props":6134,"children":6135},{"style":44},[6136],{"type":14,"value":6137},"], bottom: [",{"type":9,"tag":37,"props":6139,"children":6140},{"style":72},[6141],{"type":14,"value":6142},"'P0004'",{"type":9,"tag":37,"props":6144,"children":6145},{"style":44},[6146],{"type":14,"value":2463},{"type":9,"tag":37,"props":6148,"children":6149},{"style":72},[6150],{"type":14,"value":6151},"'P0008'",{"type":9,"tag":37,"props":6153,"children":6154},{"style":44},[6155],{"type":14,"value":6156},"] })\n",{"type":9,"tag":37,"props":6158,"children":6159},{"class":39,"line":216},[6160],{"type":9,"tag":37,"props":6161,"children":6162},{"emptyLinePlaceholder":143},[6163],{"type":14,"value":146},{"type":9,"tag":37,"props":6165,"children":6166},{"class":39,"line":298},[6167,6171,6175,6179,6183,6187,6191,6195,6199],{"type":9,"tag":37,"props":6168,"children":6169},{"style":87},[6170],{"type":14,"value":155},{"type":9,"tag":37,"props":6172,"children":6173},{"style":158},[6174],{"type":14,"value":316},{"type":9,"tag":37,"props":6176,"children":6177},{"style":87},[6178],{"type":14,"value":246},{"type":9,"tag":37,"props":6180,"children":6181},{"style":56},[6182],{"type":14,"value":325},{"type":9,"tag":37,"props":6184,"children":6185},{"style":44},[6186],{"type":14,"value":47},{"type":9,"tag":37,"props":6188,"children":6189},{"style":56},[6190],{"type":14,"value":334},{"type":9,"tag":37,"props":6192,"children":6193},{"style":44},[6194],{"type":14,"value":339},{"type":9,"tag":37,"props":6196,"children":6197},{"style":87},[6198],{"type":14,"value":69},{"type":9,"tag":37,"props":6200,"children":6201},{"style":44},[6202],{"type":14,"value":348},{"type":9,"tag":37,"props":6204,"children":6205},{"class":39,"line":306},[6206,6210,6214,6219,6224,6228,6233],{"type":9,"tag":37,"props":6207,"children":6208},{"style":44},[6209],{"type":14,"value":3805},{"type":9,"tag":37,"props":6211,"children":6212},{"style":72},[6213],{"type":14,"value":5623},{"type":9,"tag":37,"props":6215,"children":6216},{"style":44},[6217],{"type":14,"value":6218},", position: ",{"type":9,"tag":37,"props":6220,"children":6221},{"style":72},[6222],{"type":14,"value":6223},"'top'",{"type":9,"tag":37,"props":6225,"children":6226},{"style":44},[6227],{"type":14,"value":367},{"type":9,"tag":37,"props":6229,"children":6230},{"style":72},[6231],{"type":14,"value":6232},"'顶'",{"type":9,"tag":37,"props":6234,"children":6235},{"style":44},[6236],{"type":14,"value":377},{"type":9,"tag":37,"props":6238,"children":6239},{"class":39,"line":351},[6240,6244,6249,6253,6258],{"type":9,"tag":37,"props":6241,"children":6242},{"style":44},[6243],{"type":14,"value":357},{"type":9,"tag":37,"props":6245,"children":6246},{"style":72},[6247],{"type":14,"value":6248},"'id'",{"type":9,"tag":37,"props":6250,"children":6251},{"style":44},[6252],{"type":14,"value":367},{"type":9,"tag":37,"props":6254,"children":6255},{"style":72},[6256],{"type":14,"value":6257},"'ID'",{"type":9,"tag":37,"props":6259,"children":6260},{"style":44},[6261],{"type":14,"value":377},{"type":9,"tag":37,"props":6263,"children":6264},{"class":39,"line":380},[6265,6269,6273,6277,6281],{"type":9,"tag":37,"props":6266,"children":6267},{"style":44},[6268],{"type":14,"value":357},{"type":9,"tag":37,"props":6270,"children":6271},{"style":72},[6272],{"type":14,"value":362},{"type":9,"tag":37,"props":6274,"children":6275},{"style":44},[6276],{"type":14,"value":367},{"type":9,"tag":37,"props":6278,"children":6279},{"style":72},[6280],{"type":14,"value":372},{"type":9,"tag":37,"props":6282,"children":6283},{"style":44},[6284],{"type":14,"value":377},{"type":9,"tag":37,"props":6286,"children":6287},{"class":39,"line":406},[6288,6292,6296,6300,6304],{"type":9,"tag":37,"props":6289,"children":6290},{"style":44},[6291],{"type":14,"value":357},{"type":9,"tag":37,"props":6293,"children":6294},{"style":72},[6295],{"type":14,"value":390},{"type":9,"tag":37,"props":6297,"children":6298},{"style":44},[6299],{"type":14,"value":367},{"type":9,"tag":37,"props":6301,"children":6302},{"style":72},[6303],{"type":14,"value":399},{"type":9,"tag":37,"props":6305,"children":6306},{"style":44},[6307],{"type":14,"value":377},{"type":9,"tag":37,"props":6309,"children":6310},{"class":39,"line":415},[6311,6315,6319,6323,6327],{"type":9,"tag":37,"props":6312,"children":6313},{"style":44},[6314],{"type":14,"value":357},{"type":9,"tag":37,"props":6316,"children":6317},{"style":72},[6318],{"type":14,"value":5809},{"type":9,"tag":37,"props":6320,"children":6321},{"style":44},[6322],{"type":14,"value":367},{"type":9,"tag":37,"props":6324,"children":6325},{"style":72},[6326],{"type":14,"value":5818},{"type":9,"tag":37,"props":6328,"children":6329},{"style":44},[6330],{"type":14,"value":3833},{"type":9,"tag":37,"props":6332,"children":6333},{"class":39,"line":434},[6334],{"type":9,"tag":37,"props":6335,"children":6336},{"style":44},[6337],{"type":14,"value":836},{"type":9,"tag":37,"props":6339,"children":6340},{"class":39,"line":452},[6341,6345,6349],{"type":9,"tag":37,"props":6342,"children":6343},{"style":44},[6344],{"type":14,"value":845},{"type":9,"tag":37,"props":6346,"children":6347},{"style":50},[6348],{"type":14,"value":53},{"type":9,"tag":37,"props":6350,"children":6351},{"style":44},[6352],{"type":14,"value":80},{"type":9,"tag":37,"props":6354,"children":6355},{"class":39,"line":470},[6356],{"type":9,"tag":37,"props":6357,"children":6358},{"emptyLinePlaceholder":143},[6359],{"type":14,"value":146},{"type":9,"tag":37,"props":6361,"children":6362},{"class":39,"line":479},[6363,6367,6371],{"type":9,"tag":37,"props":6364,"children":6365},{"style":44},[6366],{"type":14,"value":47},{"type":9,"tag":37,"props":6368,"children":6369},{"style":50},[6370],{"type":14,"value":874},{"type":9,"tag":37,"props":6372,"children":6373},{"style":44},[6374],{"type":14,"value":80},{"type":9,"tag":37,"props":6376,"children":6377},{"class":39,"line":596},[6378,6382,6386,6390,6394,6399,6403,6407,6412,6416,6420,6424,6428,6432,6436,6440,6444,6448,6452,6456,6460,6464,6468,6472,6476,6480,6485,6489,6493,6498,6503,6508,6512],{"type":9,"tag":37,"props":6379,"children":6380},{"style":44},[6381],{"type":14,"value":887},{"type":9,"tag":37,"props":6383,"children":6384},{"style":50},[6385],{"type":14,"value":892},{"type":9,"tag":37,"props":6387,"children":6388},{"style":56},[6389],{"type":14,"value":5312},{"type":9,"tag":37,"props":6391,"children":6392},{"style":44},[6393],{"type":14,"value":246},{"type":9,"tag":37,"props":6395,"children":6396},{"style":56},[6397],{"type":14,"value":6398},"row-pinning",{"type":9,"tag":37,"props":6400,"children":6401},{"style":44},[6402],{"type":14,"value":69},{"type":9,"tag":37,"props":6404,"children":6405},{"style":72},[6406],{"type":14,"value":925},{"type":9,"tag":37,"props":6408,"children":6409},{"style":44},[6410],{"type":14,"value":6411},"pinning",{"type":9,"tag":37,"props":6413,"children":6414},{"style":72},[6415],{"type":14,"value":925},{"type":9,"tag":37,"props":6417,"children":6418},{"style":56},[6419],{"type":14,"value":897},{"type":9,"tag":37,"props":6421,"children":6422},{"style":44},[6423],{"type":14,"value":69},{"type":9,"tag":37,"props":6425,"children":6426},{"style":72},[6427],{"type":14,"value":906},{"type":9,"tag":37,"props":6429,"children":6430},{"style":44},[6431],{"type":14,"value":911},{"type":9,"tag":37,"props":6433,"children":6434},{"style":56},[6435],{"type":14,"value":916},{"type":9,"tag":37,"props":6437,"children":6438},{"style":44},[6439],{"type":14,"value":69},{"type":9,"tag":37,"props":6441,"children":6442},{"style":72},[6443],{"type":14,"value":925},{"type":9,"tag":37,"props":6445,"children":6446},{"style":44},[6447],{"type":14,"value":916},{"type":9,"tag":37,"props":6449,"children":6450},{"style":72},[6451],{"type":14,"value":925},{"type":9,"tag":37,"props":6453,"children":6454},{"style":44},[6455],{"type":14,"value":911},{"type":9,"tag":37,"props":6457,"children":6458},{"style":56},[6459],{"type":14,"value":942},{"type":9,"tag":37,"props":6461,"children":6462},{"style":44},[6463],{"type":14,"value":69},{"type":9,"tag":37,"props":6465,"children":6466},{"style":72},[6467],{"type":14,"value":925},{"type":9,"tag":37,"props":6469,"children":6470},{"style":44},[6471],{"type":14,"value":942},{"type":9,"tag":37,"props":6473,"children":6474},{"style":72},[6475],{"type":14,"value":925},{"type":9,"tag":37,"props":6477,"children":6478},{"style":44},[6479],{"type":14,"value":911},{"type":9,"tag":37,"props":6481,"children":6482},{"style":56},[6483],{"type":14,"value":6484},"ui",{"type":9,"tag":37,"props":6486,"children":6487},{"style":44},[6488],{"type":14,"value":69},{"type":9,"tag":37,"props":6490,"children":6491},{"style":72},[6492],{"type":14,"value":925},{"type":9,"tag":37,"props":6494,"children":6495},{"style":44},[6496],{"type":14,"value":6497},"{ root: ",{"type":9,"tag":37,"props":6499,"children":6500},{"style":72},[6501],{"type":14,"value":6502},"'max-h-65'",{"type":9,"tag":37,"props":6504,"children":6505},{"style":44},[6506],{"type":14,"value":6507}," }",{"type":9,"tag":37,"props":6509,"children":6510},{"style":72},[6511],{"type":14,"value":925},{"type":9,"tag":37,"props":6513,"children":6514},{"style":44},[6515],{"type":14,"value":963},{"type":9,"tag":37,"props":6517,"children":6518},{"class":39,"line":605},[6519,6523,6527],{"type":9,"tag":37,"props":6520,"children":6521},{"style":44},[6522],{"type":14,"value":845},{"type":9,"tag":37,"props":6524,"children":6525},{"style":50},[6526],{"type":14,"value":874},{"type":9,"tag":37,"props":6528,"children":6529},{"style":44},[6530],{"type":14,"value":80},{"type":9,"tag":981,"props":6532,"children":6533},{},[6534],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":6536},[],{"code":6538,"filePath":6539,"pascalName":6540},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, RowSelectionState } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst treeData = makePeopleTree(3, 3)\nconst selection = ref\u003CRowSelectionState>({\n  P0101: true,\n  P0102: true,\n  P0201: true,\n  P0202: true,\n  P0203: true\n})\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  {\n    type: 'selection',\n    strategy: 'leaf',\n    checkboxProps: (ctx) => {\n      if (ctx.scope === 'header') return { color: 'success' }\n      if (ctx.isLeafAggregate) return { color: 'neutral' }\n      return {\n        disabled: ctx.cellContext.row.original.status === 'offboarded',\n        color: 'primary'\n      }\n    }\n  },\n  { type: 'expand' },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'status', header: '状态' }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable\n    v-model:row-selection=\"selection\"\n    row-key=\"id\"\n    children-key=\"children\"\n    :columns=\"columns\"\n    :data=\"treeData\"\n  \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableSelectionCheckboxPropsExample.vue","DataTableSelectionCheckboxPropsExample",{"data":6542,"body":6543,"toc":7329},{"title":22,"description":22},{"type":6,"children":6544},[6545,7325],{"type":9,"tag":26,"props":6546,"children":6548},{"className":28,"code":6547,"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 treeData = makePeopleTree(3, 3)\nconst selection = ref\u003CRowSelectionState>({\n  P0101: true,\n  P0102: true,\n  P0201: true,\n  P0202: true,\n  P0203: true\n})\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  {\n    type: 'selection',\n    strategy: 'leaf',\n    checkboxProps: (ctx) => {\n      if (ctx.scope === 'header') return { color: 'success' }\n      if (ctx.isLeafAggregate) return { color: 'neutral' }\n      return {\n        disabled: ctx.cellContext.row.original.status === 'offboarded',\n        color: 'primary'\n      }\n    }\n  },\n  { type: 'expand' },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'status', header: '状态' }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable\n    v-model:row-selection=\"selection\"\n    row-key=\"id\"\n    children-key=\"children\"\n    :columns=\"columns\"\n    :data=\"treeData\"\n  \u002F>\n\u003C\u002Ftemplate>\n\n",[6549],{"type":9,"tag":33,"props":6550,"children":6551},{"__ignoreMap":22},[6552,6583,6607,6630,6637,6678,6712,6728,6744,6760,6776,6789,6797,6804,6843,6850,6866,6883,6914,6959,6987,6999,7019,7032,7039,7047,7054,7070,7093,7116,7123,7138,7145,7160,7172,7207,7224,7242,7271,7300,7309],{"type":9,"tag":37,"props":6553,"children":6554},{"class":39,"line":40},[6555,6559,6563,6567,6571,6575,6579],{"type":9,"tag":37,"props":6556,"children":6557},{"style":44},[6558],{"type":14,"value":47},{"type":9,"tag":37,"props":6560,"children":6561},{"style":50},[6562],{"type":14,"value":53},{"type":9,"tag":37,"props":6564,"children":6565},{"style":56},[6566],{"type":14,"value":59},{"type":9,"tag":37,"props":6568,"children":6569},{"style":56},[6570],{"type":14,"value":64},{"type":9,"tag":37,"props":6572,"children":6573},{"style":44},[6574],{"type":14,"value":69},{"type":9,"tag":37,"props":6576,"children":6577},{"style":72},[6578],{"type":14,"value":75},{"type":9,"tag":37,"props":6580,"children":6581},{"style":44},[6582],{"type":14,"value":80},{"type":9,"tag":37,"props":6584,"children":6585},{"class":39,"line":83},[6586,6590,6594,6599,6603],{"type":9,"tag":37,"props":6587,"children":6588},{"style":87},[6589],{"type":14,"value":90},{"type":9,"tag":37,"props":6591,"children":6592},{"style":87},[6593],{"type":14,"value":95},{"type":9,"tag":37,"props":6595,"children":6596},{"style":44},[6597],{"type":14,"value":6598}," { DataTableColumn, RowSelectionState } ",{"type":9,"tag":37,"props":6600,"children":6601},{"style":87},[6602],{"type":14,"value":105},{"type":9,"tag":37,"props":6604,"children":6605},{"style":72},[6606],{"type":14,"value":110},{"type":9,"tag":37,"props":6608,"children":6609},{"class":39,"line":113},[6610,6614,6618,6622,6626],{"type":9,"tag":37,"props":6611,"children":6612},{"style":87},[6613],{"type":14,"value":90},{"type":9,"tag":37,"props":6615,"children":6616},{"style":87},[6617],{"type":14,"value":95},{"type":9,"tag":37,"props":6619,"children":6620},{"style":44},[6621],{"type":14,"value":127},{"type":9,"tag":37,"props":6623,"children":6624},{"style":87},[6625],{"type":14,"value":105},{"type":9,"tag":37,"props":6627,"children":6628},{"style":72},[6629],{"type":14,"value":136},{"type":9,"tag":37,"props":6631,"children":6632},{"class":39,"line":139},[6633],{"type":9,"tag":37,"props":6634,"children":6635},{"emptyLinePlaceholder":143},[6636],{"type":14,"value":146},{"type":9,"tag":37,"props":6638,"children":6639},{"class":39,"line":149},[6640,6644,6649,6653,6658,6662,6666,6670,6674],{"type":9,"tag":37,"props":6641,"children":6642},{"style":87},[6643],{"type":14,"value":155},{"type":9,"tag":37,"props":6645,"children":6646},{"style":158},[6647],{"type":14,"value":6648}," treeData",{"type":9,"tag":37,"props":6650,"children":6651},{"style":87},[6652],{"type":14,"value":166},{"type":9,"tag":37,"props":6654,"children":6655},{"style":56},[6656],{"type":14,"value":6657}," makePeopleTree",{"type":9,"tag":37,"props":6659,"children":6660},{"style":44},[6661],{"type":14,"value":176},{"type":9,"tag":37,"props":6663,"children":6664},{"style":158},[6665],{"type":14,"value":2260},{"type":9,"tag":37,"props":6667,"children":6668},{"style":44},[6669],{"type":14,"value":2463},{"type":9,"tag":37,"props":6671,"children":6672},{"style":158},[6673],{"type":14,"value":2260},{"type":9,"tag":37,"props":6675,"children":6676},{"style":44},[6677],{"type":14,"value":186},{"type":9,"tag":37,"props":6679,"children":6680},{"class":39,"line":189},[6681,6685,6690,6694,6698,6702,6707],{"type":9,"tag":37,"props":6682,"children":6683},{"style":87},[6684],{"type":14,"value":155},{"type":9,"tag":37,"props":6686,"children":6687},{"style":158},[6688],{"type":14,"value":6689}," selection",{"type":9,"tag":37,"props":6691,"children":6692},{"style":87},[6693],{"type":14,"value":166},{"type":9,"tag":37,"props":6695,"children":6696},{"style":56},[6697],{"type":14,"value":5050},{"type":9,"tag":37,"props":6699,"children":6700},{"style":44},[6701],{"type":14,"value":47},{"type":9,"tag":37,"props":6703,"children":6704},{"style":56},[6705],{"type":14,"value":6706},"RowSelectionState",{"type":9,"tag":37,"props":6708,"children":6709},{"style":44},[6710],{"type":14,"value":6711},">({\n",{"type":9,"tag":37,"props":6713,"children":6714},{"class":39,"line":216},[6715,6720,6724],{"type":9,"tag":37,"props":6716,"children":6717},{"style":44},[6718],{"type":14,"value":6719},"  P0101: ",{"type":9,"tag":37,"props":6721,"children":6722},{"style":158},[6723],{"type":14,"value":1526},{"type":9,"tag":37,"props":6725,"children":6726},{"style":44},[6727],{"type":14,"value":431},{"type":9,"tag":37,"props":6729,"children":6730},{"class":39,"line":298},[6731,6736,6740],{"type":9,"tag":37,"props":6732,"children":6733},{"style":44},[6734],{"type":14,"value":6735},"  P0102: ",{"type":9,"tag":37,"props":6737,"children":6738},{"style":158},[6739],{"type":14,"value":1526},{"type":9,"tag":37,"props":6741,"children":6742},{"style":44},[6743],{"type":14,"value":431},{"type":9,"tag":37,"props":6745,"children":6746},{"class":39,"line":306},[6747,6752,6756],{"type":9,"tag":37,"props":6748,"children":6749},{"style":44},[6750],{"type":14,"value":6751},"  P0201: ",{"type":9,"tag":37,"props":6753,"children":6754},{"style":158},[6755],{"type":14,"value":1526},{"type":9,"tag":37,"props":6757,"children":6758},{"style":44},[6759],{"type":14,"value":431},{"type":9,"tag":37,"props":6761,"children":6762},{"class":39,"line":351},[6763,6768,6772],{"type":9,"tag":37,"props":6764,"children":6765},{"style":44},[6766],{"type":14,"value":6767},"  P0202: ",{"type":9,"tag":37,"props":6769,"children":6770},{"style":158},[6771],{"type":14,"value":1526},{"type":9,"tag":37,"props":6773,"children":6774},{"style":44},[6775],{"type":14,"value":431},{"type":9,"tag":37,"props":6777,"children":6778},{"class":39,"line":380},[6779,6784],{"type":9,"tag":37,"props":6780,"children":6781},{"style":44},[6782],{"type":14,"value":6783},"  P0203: ",{"type":9,"tag":37,"props":6785,"children":6786},{"style":158},[6787],{"type":14,"value":6788},"true\n",{"type":9,"tag":37,"props":6790,"children":6791},{"class":39,"line":406},[6792],{"type":9,"tag":37,"props":6793,"children":6794},{"style":44},[6795],{"type":14,"value":6796},"})\n",{"type":9,"tag":37,"props":6798,"children":6799},{"class":39,"line":415},[6800],{"type":9,"tag":37,"props":6801,"children":6802},{"emptyLinePlaceholder":143},[6803],{"type":14,"value":146},{"type":9,"tag":37,"props":6805,"children":6806},{"class":39,"line":434},[6807,6811,6815,6819,6823,6827,6831,6835,6839],{"type":9,"tag":37,"props":6808,"children":6809},{"style":87},[6810],{"type":14,"value":155},{"type":9,"tag":37,"props":6812,"children":6813},{"style":158},[6814],{"type":14,"value":316},{"type":9,"tag":37,"props":6816,"children":6817},{"style":87},[6818],{"type":14,"value":246},{"type":9,"tag":37,"props":6820,"children":6821},{"style":56},[6822],{"type":14,"value":325},{"type":9,"tag":37,"props":6824,"children":6825},{"style":44},[6826],{"type":14,"value":47},{"type":9,"tag":37,"props":6828,"children":6829},{"style":56},[6830],{"type":14,"value":334},{"type":9,"tag":37,"props":6832,"children":6833},{"style":44},[6834],{"type":14,"value":339},{"type":9,"tag":37,"props":6836,"children":6837},{"style":87},[6838],{"type":14,"value":69},{"type":9,"tag":37,"props":6840,"children":6841},{"style":44},[6842],{"type":14,"value":348},{"type":9,"tag":37,"props":6844,"children":6845},{"class":39,"line":452},[6846],{"type":9,"tag":37,"props":6847,"children":6848},{"style":44},[6849],{"type":14,"value":412},{"type":9,"tag":37,"props":6851,"children":6852},{"class":39,"line":470},[6853,6857,6862],{"type":9,"tag":37,"props":6854,"children":6855},{"style":44},[6856],{"type":14,"value":421},{"type":9,"tag":37,"props":6858,"children":6859},{"style":72},[6860],{"type":14,"value":6861},"'selection'",{"type":9,"tag":37,"props":6863,"children":6864},{"style":44},[6865],{"type":14,"value":431},{"type":9,"tag":37,"props":6867,"children":6868},{"class":39,"line":479},[6869,6874,6879],{"type":9,"tag":37,"props":6870,"children":6871},{"style":44},[6872],{"type":14,"value":6873},"    strategy: ",{"type":9,"tag":37,"props":6875,"children":6876},{"style":72},[6877],{"type":14,"value":6878},"'leaf'",{"type":9,"tag":37,"props":6880,"children":6881},{"style":44},[6882],{"type":14,"value":431},{"type":9,"tag":37,"props":6884,"children":6885},{"class":39,"line":596},[6886,6891,6896,6901,6906,6910],{"type":9,"tag":37,"props":6887,"children":6888},{"style":56},[6889],{"type":14,"value":6890},"    checkboxProps",{"type":9,"tag":37,"props":6892,"children":6893},{"style":44},[6894],{"type":14,"value":6895},": (",{"type":9,"tag":37,"props":6897,"children":6898},{"style":238},[6899],{"type":14,"value":6900},"ctx",{"type":9,"tag":37,"props":6902,"children":6903},{"style":44},[6904],{"type":14,"value":6905},") ",{"type":9,"tag":37,"props":6907,"children":6908},{"style":87},[6909],{"type":14,"value":556},{"type":9,"tag":37,"props":6911,"children":6912},{"style":44},[6913],{"type":14,"value":701},{"type":9,"tag":37,"props":6915,"children":6916},{"class":39,"line":605},[6917,6922,6927,6931,6936,6940,6945,6950,6955],{"type":9,"tag":37,"props":6918,"children":6919},{"style":87},[6920],{"type":14,"value":6921},"      if",{"type":9,"tag":37,"props":6923,"children":6924},{"style":44},[6925],{"type":14,"value":6926}," (ctx.scope ",{"type":9,"tag":37,"props":6928,"children":6929},{"style":87},[6930],{"type":14,"value":1572},{"type":9,"tag":37,"props":6932,"children":6933},{"style":72},[6934],{"type":14,"value":6935}," 'header'",{"type":9,"tag":37,"props":6937,"children":6938},{"style":44},[6939],{"type":14,"value":6905},{"type":9,"tag":37,"props":6941,"children":6942},{"style":87},[6943],{"type":14,"value":6944},"return",{"type":9,"tag":37,"props":6946,"children":6947},{"style":44},[6948],{"type":14,"value":6949}," { color: ",{"type":9,"tag":37,"props":6951,"children":6952},{"style":72},[6953],{"type":14,"value":6954},"'success'",{"type":9,"tag":37,"props":6956,"children":6957},{"style":44},[6958],{"type":14,"value":3833},{"type":9,"tag":37,"props":6960,"children":6961},{"class":39,"line":623},[6962,6966,6971,6975,6979,6983],{"type":9,"tag":37,"props":6963,"children":6964},{"style":87},[6965],{"type":14,"value":6921},{"type":9,"tag":37,"props":6967,"children":6968},{"style":44},[6969],{"type":14,"value":6970}," (ctx.isLeafAggregate) ",{"type":9,"tag":37,"props":6972,"children":6973},{"style":87},[6974],{"type":14,"value":6944},{"type":9,"tag":37,"props":6976,"children":6977},{"style":44},[6978],{"type":14,"value":6949},{"type":9,"tag":37,"props":6980,"children":6981},{"style":72},[6982],{"type":14,"value":5731},{"type":9,"tag":37,"props":6984,"children":6985},{"style":44},[6986],{"type":14,"value":3833},{"type":9,"tag":37,"props":6988,"children":6989},{"class":39,"line":663},[6990,6995],{"type":9,"tag":37,"props":6991,"children":6992},{"style":87},[6993],{"type":14,"value":6994},"      return",{"type":9,"tag":37,"props":6996,"children":6997},{"style":44},[6998],{"type":14,"value":701},{"type":9,"tag":37,"props":7000,"children":7001},{"class":39,"line":704},[7002,7007,7011,7015],{"type":9,"tag":37,"props":7003,"children":7004},{"style":44},[7005],{"type":14,"value":7006},"        disabled: ctx.cellContext.row.original.status ",{"type":9,"tag":37,"props":7008,"children":7009},{"style":87},[7010],{"type":14,"value":1572},{"type":9,"tag":37,"props":7012,"children":7013},{"style":72},[7014],{"type":14,"value":2595},{"type":9,"tag":37,"props":7016,"children":7017},{"style":44},[7018],{"type":14,"value":431},{"type":9,"tag":37,"props":7020,"children":7021},{"class":39,"line":756},[7022,7027],{"type":9,"tag":37,"props":7023,"children":7024},{"style":44},[7025],{"type":14,"value":7026},"        color: ",{"type":9,"tag":37,"props":7028,"children":7029},{"style":72},[7030],{"type":14,"value":7031},"'primary'\n",{"type":9,"tag":37,"props":7033,"children":7034},{"class":39,"line":794},[7035],{"type":9,"tag":37,"props":7036,"children":7037},{"style":44},[7038],{"type":14,"value":809},{"type":9,"tag":37,"props":7040,"children":7041},{"class":39,"line":803},[7042],{"type":9,"tag":37,"props":7043,"children":7044},{"style":44},[7045],{"type":14,"value":7046},"    }\n",{"type":9,"tag":37,"props":7048,"children":7049},{"class":39,"line":812},[7050],{"type":9,"tag":37,"props":7051,"children":7052},{"style":44},[7053],{"type":14,"value":5751},{"type":9,"tag":37,"props":7055,"children":7056},{"class":39,"line":821},[7057,7061,7066],{"type":9,"tag":37,"props":7058,"children":7059},{"style":44},[7060],{"type":14,"value":3805},{"type":9,"tag":37,"props":7062,"children":7063},{"style":72},[7064],{"type":14,"value":7065},"'expand'",{"type":9,"tag":37,"props":7067,"children":7068},{"style":44},[7069],{"type":14,"value":377},{"type":9,"tag":37,"props":7071,"children":7072},{"class":39,"line":830},[7073,7077,7081,7085,7089],{"type":9,"tag":37,"props":7074,"children":7075},{"style":44},[7076],{"type":14,"value":357},{"type":9,"tag":37,"props":7078,"children":7079},{"style":72},[7080],{"type":14,"value":362},{"type":9,"tag":37,"props":7082,"children":7083},{"style":44},[7084],{"type":14,"value":367},{"type":9,"tag":37,"props":7086,"children":7087},{"style":72},[7088],{"type":14,"value":372},{"type":9,"tag":37,"props":7090,"children":7091},{"style":44},[7092],{"type":14,"value":377},{"type":9,"tag":37,"props":7094,"children":7095},{"class":39,"line":839},[7096,7100,7104,7108,7112],{"type":9,"tag":37,"props":7097,"children":7098},{"style":44},[7099],{"type":14,"value":357},{"type":9,"tag":37,"props":7101,"children":7102},{"style":72},[7103],{"type":14,"value":1288},{"type":9,"tag":37,"props":7105,"children":7106},{"style":44},[7107],{"type":14,"value":367},{"type":9,"tag":37,"props":7109,"children":7110},{"style":72},[7111],{"type":14,"value":1297},{"type":9,"tag":37,"props":7113,"children":7114},{"style":44},[7115],{"type":14,"value":3833},{"type":9,"tag":37,"props":7117,"children":7118},{"class":39,"line":856},[7119],{"type":9,"tag":37,"props":7120,"children":7121},{"style":44},[7122],{"type":14,"value":836},{"type":9,"tag":37,"props":7124,"children":7125},{"class":39,"line":864},[7126,7130,7134],{"type":9,"tag":37,"props":7127,"children":7128},{"style":44},[7129],{"type":14,"value":845},{"type":9,"tag":37,"props":7131,"children":7132},{"style":50},[7133],{"type":14,"value":53},{"type":9,"tag":37,"props":7135,"children":7136},{"style":44},[7137],{"type":14,"value":80},{"type":9,"tag":37,"props":7139,"children":7140},{"class":39,"line":881},[7141],{"type":9,"tag":37,"props":7142,"children":7143},{"emptyLinePlaceholder":143},[7144],{"type":14,"value":146},{"type":9,"tag":37,"props":7146,"children":7147},{"class":39,"line":966},[7148,7152,7156],{"type":9,"tag":37,"props":7149,"children":7150},{"style":44},[7151],{"type":14,"value":47},{"type":9,"tag":37,"props":7153,"children":7154},{"style":50},[7155],{"type":14,"value":874},{"type":9,"tag":37,"props":7157,"children":7158},{"style":44},[7159],{"type":14,"value":80},{"type":9,"tag":37,"props":7161,"children":7162},{"class":39,"line":1802},[7163,7167],{"type":9,"tag":37,"props":7164,"children":7165},{"style":44},[7166],{"type":14,"value":887},{"type":9,"tag":37,"props":7168,"children":7169},{"style":50},[7170],{"type":14,"value":7171},"MDataTable\n",{"type":9,"tag":37,"props":7173,"children":7174},{"class":39,"line":1818},[7175,7180,7184,7189,7193,7197,7202],{"type":9,"tag":37,"props":7176,"children":7177},{"style":56},[7178],{"type":14,"value":7179},"    v-model",{"type":9,"tag":37,"props":7181,"children":7182},{"style":44},[7183],{"type":14,"value":246},{"type":9,"tag":37,"props":7185,"children":7186},{"style":56},[7187],{"type":14,"value":7188},"row-selection",{"type":9,"tag":37,"props":7190,"children":7191},{"style":44},[7192],{"type":14,"value":69},{"type":9,"tag":37,"props":7194,"children":7195},{"style":72},[7196],{"type":14,"value":925},{"type":9,"tag":37,"props":7198,"children":7199},{"style":44},[7200],{"type":14,"value":7201},"selection",{"type":9,"tag":37,"props":7203,"children":7204},{"style":72},[7205],{"type":14,"value":7206},"\"\n",{"type":9,"tag":37,"props":7208,"children":7209},{"class":39,"line":1894},[7210,7215,7219],{"type":9,"tag":37,"props":7211,"children":7212},{"style":56},[7213],{"type":14,"value":7214},"    row-key",{"type":9,"tag":37,"props":7216,"children":7217},{"style":44},[7218],{"type":14,"value":69},{"type":9,"tag":37,"props":7220,"children":7221},{"style":72},[7222],{"type":14,"value":7223},"\"id\"\n",{"type":9,"tag":37,"props":7225,"children":7227},{"class":39,"line":7226},37,[7228,7233,7237],{"type":9,"tag":37,"props":7229,"children":7230},{"style":56},[7231],{"type":14,"value":7232},"    children-key",{"type":9,"tag":37,"props":7234,"children":7235},{"style":44},[7236],{"type":14,"value":69},{"type":9,"tag":37,"props":7238,"children":7239},{"style":72},[7240],{"type":14,"value":7241},"\"children\"\n",{"type":9,"tag":37,"props":7243,"children":7245},{"class":39,"line":7244},38,[7246,7251,7255,7259,7263,7267],{"type":9,"tag":37,"props":7247,"children":7248},{"style":44},[7249],{"type":14,"value":7250},"    :",{"type":9,"tag":37,"props":7252,"children":7253},{"style":56},[7254],{"type":14,"value":916},{"type":9,"tag":37,"props":7256,"children":7257},{"style":44},[7258],{"type":14,"value":69},{"type":9,"tag":37,"props":7260,"children":7261},{"style":72},[7262],{"type":14,"value":925},{"type":9,"tag":37,"props":7264,"children":7265},{"style":44},[7266],{"type":14,"value":916},{"type":9,"tag":37,"props":7268,"children":7269},{"style":72},[7270],{"type":14,"value":7206},{"type":9,"tag":37,"props":7272,"children":7274},{"class":39,"line":7273},39,[7275,7279,7283,7287,7291,7296],{"type":9,"tag":37,"props":7276,"children":7277},{"style":44},[7278],{"type":14,"value":7250},{"type":9,"tag":37,"props":7280,"children":7281},{"style":56},[7282],{"type":14,"value":942},{"type":9,"tag":37,"props":7284,"children":7285},{"style":44},[7286],{"type":14,"value":69},{"type":9,"tag":37,"props":7288,"children":7289},{"style":72},[7290],{"type":14,"value":925},{"type":9,"tag":37,"props":7292,"children":7293},{"style":44},[7294],{"type":14,"value":7295},"treeData",{"type":9,"tag":37,"props":7297,"children":7298},{"style":72},[7299],{"type":14,"value":7206},{"type":9,"tag":37,"props":7301,"children":7303},{"class":39,"line":7302},40,[7304],{"type":9,"tag":37,"props":7305,"children":7306},{"style":44},[7307],{"type":14,"value":7308},"  \u002F>\n",{"type":9,"tag":37,"props":7310,"children":7312},{"class":39,"line":7311},41,[7313,7317,7321],{"type":9,"tag":37,"props":7314,"children":7315},{"style":44},[7316],{"type":14,"value":845},{"type":9,"tag":37,"props":7318,"children":7319},{"style":50},[7320],{"type":14,"value":874},{"type":9,"tag":37,"props":7322,"children":7323},{"style":44},[7324],{"type":14,"value":80},{"type":9,"tag":981,"props":7326,"children":7327},{},[7328],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":7330},[],{"code":7332,"filePath":7333,"pascalName":7334},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, RowSelectionState } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst props = defineProps\u003C{\n  mode: 'multiple' | 'single'\n}>()\n\nconst data = makePeople(6)\nconst selection = ref\u003CRowSelectionState>({})\n\nconst columns = computed\u003CDataTableColumn\u003CPerson>[]>(() => [\n  props.mode === 'single'\n    ? { type: 'selection', mode: 'single', header: '选择', size: 80 }\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    \u003CMDataTable v-model:row-selection=\"selection\" row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n    \u003Cpre class=\"text-xs p-3 rounded-md bg-muted overflow-auto\">rowSelection: {{ selection }}\u003C\u002Fpre>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableSelectionExample.vue","DataTableSelectionExample",{"data":7336,"body":7337,"toc":8021},{"title":22,"description":22},{"type":6,"children":7338},[7339,8017],{"type":9,"tag":26,"props":7340,"children":7342},{"className":28,"code":7341,"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 props = defineProps\u003C{\n  mode: 'multiple' | 'single'\n}>()\n\nconst data = makePeople(6)\nconst selection = ref\u003CRowSelectionState>({})\n\nconst columns = computed\u003CDataTableColumn\u003CPerson>[]>(() => [\n  props.mode === 'single'\n    ? { type: 'selection', mode: 'single', header: '选择', size: 80 }\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    \u003CMDataTable v-model:row-selection=\"selection\" row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n    \u003Cpre class=\"text-xs p-3 rounded-md bg-muted overflow-auto\">rowSelection: {{ selection }}\u003C\u002Fpre>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n\n",[7343],{"type":9,"tag":33,"props":7344,"children":7345},{"__ignoreMap":22},[7346,7377,7400,7423,7430,7456,7483,7491,7498,7529,7561,7568,7618,7634,7682,7701,7724,7747,7770,7778,7793,7800,7815,7845,7949,7986,8002],{"type":9,"tag":37,"props":7347,"children":7348},{"class":39,"line":40},[7349,7353,7357,7361,7365,7369,7373],{"type":9,"tag":37,"props":7350,"children":7351},{"style":44},[7352],{"type":14,"value":47},{"type":9,"tag":37,"props":7354,"children":7355},{"style":50},[7356],{"type":14,"value":53},{"type":9,"tag":37,"props":7358,"children":7359},{"style":56},[7360],{"type":14,"value":59},{"type":9,"tag":37,"props":7362,"children":7363},{"style":56},[7364],{"type":14,"value":64},{"type":9,"tag":37,"props":7366,"children":7367},{"style":44},[7368],{"type":14,"value":69},{"type":9,"tag":37,"props":7370,"children":7371},{"style":72},[7372],{"type":14,"value":75},{"type":9,"tag":37,"props":7374,"children":7375},{"style":44},[7376],{"type":14,"value":80},{"type":9,"tag":37,"props":7378,"children":7379},{"class":39,"line":83},[7380,7384,7388,7392,7396],{"type":9,"tag":37,"props":7381,"children":7382},{"style":87},[7383],{"type":14,"value":90},{"type":9,"tag":37,"props":7385,"children":7386},{"style":87},[7387],{"type":14,"value":95},{"type":9,"tag":37,"props":7389,"children":7390},{"style":44},[7391],{"type":14,"value":6598},{"type":9,"tag":37,"props":7393,"children":7394},{"style":87},[7395],{"type":14,"value":105},{"type":9,"tag":37,"props":7397,"children":7398},{"style":72},[7399],{"type":14,"value":110},{"type":9,"tag":37,"props":7401,"children":7402},{"class":39,"line":113},[7403,7407,7411,7415,7419],{"type":9,"tag":37,"props":7404,"children":7405},{"style":87},[7406],{"type":14,"value":90},{"type":9,"tag":37,"props":7408,"children":7409},{"style":87},[7410],{"type":14,"value":95},{"type":9,"tag":37,"props":7412,"children":7413},{"style":44},[7414],{"type":14,"value":127},{"type":9,"tag":37,"props":7416,"children":7417},{"style":87},[7418],{"type":14,"value":105},{"type":9,"tag":37,"props":7420,"children":7421},{"style":72},[7422],{"type":14,"value":136},{"type":9,"tag":37,"props":7424,"children":7425},{"class":39,"line":139},[7426],{"type":9,"tag":37,"props":7427,"children":7428},{"emptyLinePlaceholder":143},[7429],{"type":14,"value":146},{"type":9,"tag":37,"props":7431,"children":7432},{"class":39,"line":149},[7433,7437,7442,7446,7451],{"type":9,"tag":37,"props":7434,"children":7435},{"style":87},[7436],{"type":14,"value":155},{"type":9,"tag":37,"props":7438,"children":7439},{"style":158},[7440],{"type":14,"value":7441}," props",{"type":9,"tag":37,"props":7443,"children":7444},{"style":87},[7445],{"type":14,"value":166},{"type":9,"tag":37,"props":7447,"children":7448},{"style":56},[7449],{"type":14,"value":7450}," defineProps",{"type":9,"tag":37,"props":7452,"children":7453},{"style":44},[7454],{"type":14,"value":7455},"\u003C{\n",{"type":9,"tag":37,"props":7457,"children":7458},{"class":39,"line":189},[7459,7464,7468,7473,7478],{"type":9,"tag":37,"props":7460,"children":7461},{"style":238},[7462],{"type":14,"value":7463},"  mode",{"type":9,"tag":37,"props":7465,"children":7466},{"style":87},[7467],{"type":14,"value":246},{"type":9,"tag":37,"props":7469,"children":7470},{"style":72},[7471],{"type":14,"value":7472}," 'multiple'",{"type":9,"tag":37,"props":7474,"children":7475},{"style":87},[7476],{"type":14,"value":7477}," |",{"type":9,"tag":37,"props":7479,"children":7480},{"style":72},[7481],{"type":14,"value":7482}," 'single'\n",{"type":9,"tag":37,"props":7484,"children":7485},{"class":39,"line":216},[7486],{"type":9,"tag":37,"props":7487,"children":7488},{"style":44},[7489],{"type":14,"value":7490},"}>()\n",{"type":9,"tag":37,"props":7492,"children":7493},{"class":39,"line":298},[7494],{"type":9,"tag":37,"props":7495,"children":7496},{"emptyLinePlaceholder":143},[7497],{"type":14,"value":146},{"type":9,"tag":37,"props":7499,"children":7500},{"class":39,"line":306},[7501,7505,7509,7513,7517,7521,7525],{"type":9,"tag":37,"props":7502,"children":7503},{"style":87},[7504],{"type":14,"value":155},{"type":9,"tag":37,"props":7506,"children":7507},{"style":158},[7508],{"type":14,"value":161},{"type":9,"tag":37,"props":7510,"children":7511},{"style":87},[7512],{"type":14,"value":166},{"type":9,"tag":37,"props":7514,"children":7515},{"style":56},[7516],{"type":14,"value":171},{"type":9,"tag":37,"props":7518,"children":7519},{"style":44},[7520],{"type":14,"value":176},{"type":9,"tag":37,"props":7522,"children":7523},{"style":158},[7524],{"type":14,"value":5554},{"type":9,"tag":37,"props":7526,"children":7527},{"style":44},[7528],{"type":14,"value":186},{"type":9,"tag":37,"props":7530,"children":7531},{"class":39,"line":351},[7532,7536,7540,7544,7548,7552,7556],{"type":9,"tag":37,"props":7533,"children":7534},{"style":87},[7535],{"type":14,"value":155},{"type":9,"tag":37,"props":7537,"children":7538},{"style":158},[7539],{"type":14,"value":6689},{"type":9,"tag":37,"props":7541,"children":7542},{"style":87},[7543],{"type":14,"value":166},{"type":9,"tag":37,"props":7545,"children":7546},{"style":56},[7547],{"type":14,"value":5050},{"type":9,"tag":37,"props":7549,"children":7550},{"style":44},[7551],{"type":14,"value":47},{"type":9,"tag":37,"props":7553,"children":7554},{"style":56},[7555],{"type":14,"value":6706},{"type":9,"tag":37,"props":7557,"children":7558},{"style":44},[7559],{"type":14,"value":7560},">({})\n",{"type":9,"tag":37,"props":7562,"children":7563},{"class":39,"line":380},[7564],{"type":9,"tag":37,"props":7565,"children":7566},{"emptyLinePlaceholder":143},[7567],{"type":14,"value":146},{"type":9,"tag":37,"props":7569,"children":7570},{"class":39,"line":406},[7571,7575,7579,7583,7588,7592,7597,7601,7605,7610,7614],{"type":9,"tag":37,"props":7572,"children":7573},{"style":87},[7574],{"type":14,"value":155},{"type":9,"tag":37,"props":7576,"children":7577},{"style":158},[7578],{"type":14,"value":316},{"type":9,"tag":37,"props":7580,"children":7581},{"style":87},[7582],{"type":14,"value":166},{"type":9,"tag":37,"props":7584,"children":7585},{"style":56},[7586],{"type":14,"value":7587}," computed",{"type":9,"tag":37,"props":7589,"children":7590},{"style":44},[7591],{"type":14,"value":47},{"type":9,"tag":37,"props":7593,"children":7594},{"style":56},[7595],{"type":14,"value":7596},"DataTableColumn",{"type":9,"tag":37,"props":7598,"children":7599},{"style":44},[7600],{"type":14,"value":47},{"type":9,"tag":37,"props":7602,"children":7603},{"style":56},[7604],{"type":14,"value":334},{"type":9,"tag":37,"props":7606,"children":7607},{"style":44},[7608],{"type":14,"value":7609},">[]>(() ",{"type":9,"tag":37,"props":7611,"children":7612},{"style":87},[7613],{"type":14,"value":556},{"type":9,"tag":37,"props":7615,"children":7616},{"style":44},[7617],{"type":14,"value":348},{"type":9,"tag":37,"props":7619,"children":7620},{"class":39,"line":415},[7621,7626,7630],{"type":9,"tag":37,"props":7622,"children":7623},{"style":44},[7624],{"type":14,"value":7625},"  props.mode ",{"type":9,"tag":37,"props":7627,"children":7628},{"style":87},[7629],{"type":14,"value":1572},{"type":9,"tag":37,"props":7631,"children":7632},{"style":72},[7633],{"type":14,"value":7482},{"type":9,"tag":37,"props":7635,"children":7636},{"class":39,"line":434},[7637,7642,7647,7651,7656,7661,7665,7670,7674,7678],{"type":9,"tag":37,"props":7638,"children":7639},{"style":87},[7640],{"type":14,"value":7641},"    ?",{"type":9,"tag":37,"props":7643,"children":7644},{"style":44},[7645],{"type":14,"value":7646}," { type: ",{"type":9,"tag":37,"props":7648,"children":7649},{"style":72},[7650],{"type":14,"value":6861},{"type":9,"tag":37,"props":7652,"children":7653},{"style":44},[7654],{"type":14,"value":7655},", mode: ",{"type":9,"tag":37,"props":7657,"children":7658},{"style":72},[7659],{"type":14,"value":7660},"'single'",{"type":9,"tag":37,"props":7662,"children":7663},{"style":44},[7664],{"type":14,"value":367},{"type":9,"tag":37,"props":7666,"children":7667},{"style":72},[7668],{"type":14,"value":7669},"'选择'",{"type":9,"tag":37,"props":7671,"children":7672},{"style":44},[7673],{"type":14,"value":521},{"type":9,"tag":37,"props":7675,"children":7676},{"style":158},[7677],{"type":14,"value":4320},{"type":9,"tag":37,"props":7679,"children":7680},{"style":44},[7681],{"type":14,"value":3833},{"type":9,"tag":37,"props":7683,"children":7684},{"class":39,"line":452},[7685,7689,7693,7697],{"type":9,"tag":37,"props":7686,"children":7687},{"style":87},[7688],{"type":14,"value":7250},{"type":9,"tag":37,"props":7690,"children":7691},{"style":44},[7692],{"type":14,"value":7646},{"type":9,"tag":37,"props":7694,"children":7695},{"style":72},[7696],{"type":14,"value":6861},{"type":9,"tag":37,"props":7698,"children":7699},{"style":44},[7700],{"type":14,"value":377},{"type":9,"tag":37,"props":7702,"children":7703},{"class":39,"line":470},[7704,7708,7712,7716,7720],{"type":9,"tag":37,"props":7705,"children":7706},{"style":44},[7707],{"type":14,"value":357},{"type":9,"tag":37,"props":7709,"children":7710},{"style":72},[7711],{"type":14,"value":362},{"type":9,"tag":37,"props":7713,"children":7714},{"style":44},[7715],{"type":14,"value":367},{"type":9,"tag":37,"props":7717,"children":7718},{"style":72},[7719],{"type":14,"value":372},{"type":9,"tag":37,"props":7721,"children":7722},{"style":44},[7723],{"type":14,"value":377},{"type":9,"tag":37,"props":7725,"children":7726},{"class":39,"line":479},[7727,7731,7735,7739,7743],{"type":9,"tag":37,"props":7728,"children":7729},{"style":44},[7730],{"type":14,"value":357},{"type":9,"tag":37,"props":7732,"children":7733},{"style":72},[7734],{"type":14,"value":390},{"type":9,"tag":37,"props":7736,"children":7737},{"style":44},[7738],{"type":14,"value":367},{"type":9,"tag":37,"props":7740,"children":7741},{"style":72},[7742],{"type":14,"value":399},{"type":9,"tag":37,"props":7744,"children":7745},{"style":44},[7746],{"type":14,"value":377},{"type":9,"tag":37,"props":7748,"children":7749},{"class":39,"line":596},[7750,7754,7758,7762,7766],{"type":9,"tag":37,"props":7751,"children":7752},{"style":44},[7753],{"type":14,"value":357},{"type":9,"tag":37,"props":7755,"children":7756},{"style":72},[7757],{"type":14,"value":5809},{"type":9,"tag":37,"props":7759,"children":7760},{"style":44},[7761],{"type":14,"value":367},{"type":9,"tag":37,"props":7763,"children":7764},{"style":72},[7765],{"type":14,"value":5818},{"type":9,"tag":37,"props":7767,"children":7768},{"style":44},[7769],{"type":14,"value":3833},{"type":9,"tag":37,"props":7771,"children":7772},{"class":39,"line":605},[7773],{"type":9,"tag":37,"props":7774,"children":7775},{"style":44},[7776],{"type":14,"value":7777},"])\n",{"type":9,"tag":37,"props":7779,"children":7780},{"class":39,"line":623},[7781,7785,7789],{"type":9,"tag":37,"props":7782,"children":7783},{"style":44},[7784],{"type":14,"value":845},{"type":9,"tag":37,"props":7786,"children":7787},{"style":50},[7788],{"type":14,"value":53},{"type":9,"tag":37,"props":7790,"children":7791},{"style":44},[7792],{"type":14,"value":80},{"type":9,"tag":37,"props":7794,"children":7795},{"class":39,"line":663},[7796],{"type":9,"tag":37,"props":7797,"children":7798},{"emptyLinePlaceholder":143},[7799],{"type":14,"value":146},{"type":9,"tag":37,"props":7801,"children":7802},{"class":39,"line":704},[7803,7807,7811],{"type":9,"tag":37,"props":7804,"children":7805},{"style":44},[7806],{"type":14,"value":47},{"type":9,"tag":37,"props":7808,"children":7809},{"style":50},[7810],{"type":14,"value":874},{"type":9,"tag":37,"props":7812,"children":7813},{"style":44},[7814],{"type":14,"value":80},{"type":9,"tag":37,"props":7816,"children":7817},{"class":39,"line":756},[7818,7822,7827,7832,7836,7841],{"type":9,"tag":37,"props":7819,"children":7820},{"style":44},[7821],{"type":14,"value":887},{"type":9,"tag":37,"props":7823,"children":7824},{"style":50},[7825],{"type":14,"value":7826},"div",{"type":9,"tag":37,"props":7828,"children":7829},{"style":56},[7830],{"type":14,"value":7831}," class",{"type":9,"tag":37,"props":7833,"children":7834},{"style":44},[7835],{"type":14,"value":69},{"type":9,"tag":37,"props":7837,"children":7838},{"style":72},[7839],{"type":14,"value":7840},"\"flex flex-col gap-3\"",{"type":9,"tag":37,"props":7842,"children":7843},{"style":44},[7844],{"type":14,"value":80},{"type":9,"tag":37,"props":7846,"children":7847},{"class":39,"line":794},[7848,7853,7857,7861,7865,7869,7873,7877,7881,7885,7889,7893,7897,7901,7905,7909,7913,7917,7921,7925,7929,7933,7937,7941,7945],{"type":9,"tag":37,"props":7849,"children":7850},{"style":44},[7851],{"type":14,"value":7852},"    \u003C",{"type":9,"tag":37,"props":7854,"children":7855},{"style":50},[7856],{"type":14,"value":892},{"type":9,"tag":37,"props":7858,"children":7859},{"style":56},[7860],{"type":14,"value":5312},{"type":9,"tag":37,"props":7862,"children":7863},{"style":44},[7864],{"type":14,"value":246},{"type":9,"tag":37,"props":7866,"children":7867},{"style":56},[7868],{"type":14,"value":7188},{"type":9,"tag":37,"props":7870,"children":7871},{"style":44},[7872],{"type":14,"value":69},{"type":9,"tag":37,"props":7874,"children":7875},{"style":72},[7876],{"type":14,"value":925},{"type":9,"tag":37,"props":7878,"children":7879},{"style":44},[7880],{"type":14,"value":7201},{"type":9,"tag":37,"props":7882,"children":7883},{"style":72},[7884],{"type":14,"value":925},{"type":9,"tag":37,"props":7886,"children":7887},{"style":56},[7888],{"type":14,"value":897},{"type":9,"tag":37,"props":7890,"children":7891},{"style":44},[7892],{"type":14,"value":69},{"type":9,"tag":37,"props":7894,"children":7895},{"style":72},[7896],{"type":14,"value":906},{"type":9,"tag":37,"props":7898,"children":7899},{"style":44},[7900],{"type":14,"value":911},{"type":9,"tag":37,"props":7902,"children":7903},{"style":56},[7904],{"type":14,"value":916},{"type":9,"tag":37,"props":7906,"children":7907},{"style":44},[7908],{"type":14,"value":69},{"type":9,"tag":37,"props":7910,"children":7911},{"style":72},[7912],{"type":14,"value":925},{"type":9,"tag":37,"props":7914,"children":7915},{"style":44},[7916],{"type":14,"value":916},{"type":9,"tag":37,"props":7918,"children":7919},{"style":72},[7920],{"type":14,"value":925},{"type":9,"tag":37,"props":7922,"children":7923},{"style":44},[7924],{"type":14,"value":911},{"type":9,"tag":37,"props":7926,"children":7927},{"style":56},[7928],{"type":14,"value":942},{"type":9,"tag":37,"props":7930,"children":7931},{"style":44},[7932],{"type":14,"value":69},{"type":9,"tag":37,"props":7934,"children":7935},{"style":72},[7936],{"type":14,"value":925},{"type":9,"tag":37,"props":7938,"children":7939},{"style":44},[7940],{"type":14,"value":942},{"type":9,"tag":37,"props":7942,"children":7943},{"style":72},[7944],{"type":14,"value":925},{"type":9,"tag":37,"props":7946,"children":7947},{"style":44},[7948],{"type":14,"value":963},{"type":9,"tag":37,"props":7950,"children":7951},{"class":39,"line":803},[7952,7956,7960,7964,7968,7973,7978,7982],{"type":9,"tag":37,"props":7953,"children":7954},{"style":44},[7955],{"type":14,"value":7852},{"type":9,"tag":37,"props":7957,"children":7958},{"style":50},[7959],{"type":14,"value":26},{"type":9,"tag":37,"props":7961,"children":7962},{"style":56},[7963],{"type":14,"value":7831},{"type":9,"tag":37,"props":7965,"children":7966},{"style":44},[7967],{"type":14,"value":69},{"type":9,"tag":37,"props":7969,"children":7970},{"style":72},[7971],{"type":14,"value":7972},"\"text-xs p-3 rounded-md bg-muted overflow-auto\"",{"type":9,"tag":37,"props":7974,"children":7975},{"style":44},[7976],{"type":14,"value":7977},">rowSelection: {{ selection }}\u003C\u002F",{"type":9,"tag":37,"props":7979,"children":7980},{"style":50},[7981],{"type":14,"value":26},{"type":9,"tag":37,"props":7983,"children":7984},{"style":44},[7985],{"type":14,"value":80},{"type":9,"tag":37,"props":7987,"children":7988},{"class":39,"line":812},[7989,7994,7998],{"type":9,"tag":37,"props":7990,"children":7991},{"style":44},[7992],{"type":14,"value":7993},"  \u003C\u002F",{"type":9,"tag":37,"props":7995,"children":7996},{"style":50},[7997],{"type":14,"value":7826},{"type":9,"tag":37,"props":7999,"children":8000},{"style":44},[8001],{"type":14,"value":80},{"type":9,"tag":37,"props":8003,"children":8004},{"class":39,"line":821},[8005,8009,8013],{"type":9,"tag":37,"props":8006,"children":8007},{"style":44},[8008],{"type":14,"value":845},{"type":9,"tag":37,"props":8010,"children":8011},{"style":50},[8012],{"type":14,"value":874},{"type":9,"tag":37,"props":8014,"children":8015},{"style":44},[8016],{"type":14,"value":80},{"type":9,"tag":981,"props":8018,"children":8019},{},[8020],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":8022},[],{"code":8024,"filePath":8025,"pascalName":8026},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableExposed } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst treeData = makePeopleTree(3, 3)\nconst selectionKeys = ref\u003Cstring[]>([])\nconst tableRef = useTemplateRef\u003CDataTableExposed\u003CPerson>>('tableRef')\n\nconst derived = computed(() => {\n  const r = tableRef.value?.treeSelection\n  return {\n    leaves: r?.leaves.map(p => p.name) ?? [],\n    parents: r?.parents.map(p => p.name) ?? [],\n    halfSelected: r?.halfSelected.map(p => p.name) ?? []\n  }\n})\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  \u003Cdiv class=\"flex flex-col gap-3\">\n    \u003CMDataTable\n      ref=\"tableRef\"\n      v-model:row-selection-keys=\"selectionKeys\"\n      row-key=\"id\"\n      children-key=\"children\"\n      :columns=\"columns\"\n      :data=\"treeData\"\n    \u002F>\n    \u003Cpre class=\"text-xs p-3 rounded-md bg-muted overflow-auto\">treeSelection: {{ derived }}\u003C\u002Fpre>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableSelectionKeysExample.vue","DataTableSelectionKeysExample",{"data":8028,"body":8029,"toc":8865},{"title":22,"description":22},{"type":6,"children":8030},[8031,8861],{"type":9,"tag":26,"props":8032,"children":8034},{"className":28,"code":8033,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableExposed } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst treeData = makePeopleTree(3, 3)\nconst selectionKeys = ref\u003Cstring[]>([])\nconst tableRef = useTemplateRef\u003CDataTableExposed\u003CPerson>>('tableRef')\n\nconst derived = computed(() => {\n  const r = tableRef.value?.treeSelection\n  return {\n    leaves: r?.leaves.map(p => p.name) ?? [],\n    parents: r?.parents.map(p => p.name) ?? [],\n    halfSelected: r?.halfSelected.map(p => p.name) ?? []\n  }\n})\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  \u003Cdiv class=\"flex flex-col gap-3\">\n    \u003CMDataTable\n      ref=\"tableRef\"\n      v-model:row-selection-keys=\"selectionKeys\"\n      row-key=\"id\"\n      children-key=\"children\"\n      :columns=\"columns\"\n      :data=\"treeData\"\n    \u002F>\n    \u003Cpre class=\"text-xs p-3 rounded-md bg-muted overflow-auto\">treeSelection: {{ derived }}\u003C\u002Fpre>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n\n",[8035],{"type":9,"tag":33,"props":8036,"children":8037},{"__ignoreMap":22},[8038,8069,8093,8116,8123,8162,8196,8248,8255,8288,8309,8320,8360,8396,8432,8439,8446,8453,8492,8507,8522,8545,8568,8575,8590,8597,8612,8639,8650,8667,8701,8717,8733,8760,8787,8795,8831,8846],{"type":9,"tag":37,"props":8039,"children":8040},{"class":39,"line":40},[8041,8045,8049,8053,8057,8061,8065],{"type":9,"tag":37,"props":8042,"children":8043},{"style":44},[8044],{"type":14,"value":47},{"type":9,"tag":37,"props":8046,"children":8047},{"style":50},[8048],{"type":14,"value":53},{"type":9,"tag":37,"props":8050,"children":8051},{"style":56},[8052],{"type":14,"value":59},{"type":9,"tag":37,"props":8054,"children":8055},{"style":56},[8056],{"type":14,"value":64},{"type":9,"tag":37,"props":8058,"children":8059},{"style":44},[8060],{"type":14,"value":69},{"type":9,"tag":37,"props":8062,"children":8063},{"style":72},[8064],{"type":14,"value":75},{"type":9,"tag":37,"props":8066,"children":8067},{"style":44},[8068],{"type":14,"value":80},{"type":9,"tag":37,"props":8070,"children":8071},{"class":39,"line":83},[8072,8076,8080,8085,8089],{"type":9,"tag":37,"props":8073,"children":8074},{"style":87},[8075],{"type":14,"value":90},{"type":9,"tag":37,"props":8077,"children":8078},{"style":87},[8079],{"type":14,"value":95},{"type":9,"tag":37,"props":8081,"children":8082},{"style":44},[8083],{"type":14,"value":8084}," { DataTableColumn, DataTableExposed } ",{"type":9,"tag":37,"props":8086,"children":8087},{"style":87},[8088],{"type":14,"value":105},{"type":9,"tag":37,"props":8090,"children":8091},{"style":72},[8092],{"type":14,"value":110},{"type":9,"tag":37,"props":8094,"children":8095},{"class":39,"line":113},[8096,8100,8104,8108,8112],{"type":9,"tag":37,"props":8097,"children":8098},{"style":87},[8099],{"type":14,"value":90},{"type":9,"tag":37,"props":8101,"children":8102},{"style":87},[8103],{"type":14,"value":95},{"type":9,"tag":37,"props":8105,"children":8106},{"style":44},[8107],{"type":14,"value":127},{"type":9,"tag":37,"props":8109,"children":8110},{"style":87},[8111],{"type":14,"value":105},{"type":9,"tag":37,"props":8113,"children":8114},{"style":72},[8115],{"type":14,"value":136},{"type":9,"tag":37,"props":8117,"children":8118},{"class":39,"line":139},[8119],{"type":9,"tag":37,"props":8120,"children":8121},{"emptyLinePlaceholder":143},[8122],{"type":14,"value":146},{"type":9,"tag":37,"props":8124,"children":8125},{"class":39,"line":149},[8126,8130,8134,8138,8142,8146,8150,8154,8158],{"type":9,"tag":37,"props":8127,"children":8128},{"style":87},[8129],{"type":14,"value":155},{"type":9,"tag":37,"props":8131,"children":8132},{"style":158},[8133],{"type":14,"value":6648},{"type":9,"tag":37,"props":8135,"children":8136},{"style":87},[8137],{"type":14,"value":166},{"type":9,"tag":37,"props":8139,"children":8140},{"style":56},[8141],{"type":14,"value":6657},{"type":9,"tag":37,"props":8143,"children":8144},{"style":44},[8145],{"type":14,"value":176},{"type":9,"tag":37,"props":8147,"children":8148},{"style":158},[8149],{"type":14,"value":2260},{"type":9,"tag":37,"props":8151,"children":8152},{"style":44},[8153],{"type":14,"value":2463},{"type":9,"tag":37,"props":8155,"children":8156},{"style":158},[8157],{"type":14,"value":2260},{"type":9,"tag":37,"props":8159,"children":8160},{"style":44},[8161],{"type":14,"value":186},{"type":9,"tag":37,"props":8163,"children":8164},{"class":39,"line":189},[8165,8169,8174,8178,8182,8186,8191],{"type":9,"tag":37,"props":8166,"children":8167},{"style":87},[8168],{"type":14,"value":155},{"type":9,"tag":37,"props":8170,"children":8171},{"style":158},[8172],{"type":14,"value":8173}," selectionKeys",{"type":9,"tag":37,"props":8175,"children":8176},{"style":87},[8177],{"type":14,"value":166},{"type":9,"tag":37,"props":8179,"children":8180},{"style":56},[8181],{"type":14,"value":5050},{"type":9,"tag":37,"props":8183,"children":8184},{"style":44},[8185],{"type":14,"value":47},{"type":9,"tag":37,"props":8187,"children":8188},{"style":158},[8189],{"type":14,"value":8190},"string",{"type":9,"tag":37,"props":8192,"children":8193},{"style":44},[8194],{"type":14,"value":8195},"[]>([])\n",{"type":9,"tag":37,"props":8197,"children":8198},{"class":39,"line":216},[8199,8203,8208,8212,8217,8221,8226,8230,8234,8239,8244],{"type":9,"tag":37,"props":8200,"children":8201},{"style":87},[8202],{"type":14,"value":155},{"type":9,"tag":37,"props":8204,"children":8205},{"style":158},[8206],{"type":14,"value":8207}," tableRef",{"type":9,"tag":37,"props":8209,"children":8210},{"style":87},[8211],{"type":14,"value":166},{"type":9,"tag":37,"props":8213,"children":8214},{"style":56},[8215],{"type":14,"value":8216}," useTemplateRef",{"type":9,"tag":37,"props":8218,"children":8219},{"style":44},[8220],{"type":14,"value":47},{"type":9,"tag":37,"props":8222,"children":8223},{"style":56},[8224],{"type":14,"value":8225},"DataTableExposed",{"type":9,"tag":37,"props":8227,"children":8228},{"style":44},[8229],{"type":14,"value":47},{"type":9,"tag":37,"props":8231,"children":8232},{"style":56},[8233],{"type":14,"value":334},{"type":9,"tag":37,"props":8235,"children":8236},{"style":44},[8237],{"type":14,"value":8238},">>(",{"type":9,"tag":37,"props":8240,"children":8241},{"style":72},[8242],{"type":14,"value":8243},"'tableRef'",{"type":9,"tag":37,"props":8245,"children":8246},{"style":44},[8247],{"type":14,"value":186},{"type":9,"tag":37,"props":8249,"children":8250},{"class":39,"line":298},[8251],{"type":9,"tag":37,"props":8252,"children":8253},{"emptyLinePlaceholder":143},[8254],{"type":14,"value":146},{"type":9,"tag":37,"props":8256,"children":8257},{"class":39,"line":306},[8258,8262,8267,8271,8275,8280,8284],{"type":9,"tag":37,"props":8259,"children":8260},{"style":87},[8261],{"type":14,"value":155},{"type":9,"tag":37,"props":8263,"children":8264},{"style":158},[8265],{"type":14,"value":8266}," derived",{"type":9,"tag":37,"props":8268,"children":8269},{"style":87},[8270],{"type":14,"value":166},{"type":9,"tag":37,"props":8272,"children":8273},{"style":56},[8274],{"type":14,"value":7587},{"type":9,"tag":37,"props":8276,"children":8277},{"style":44},[8278],{"type":14,"value":8279},"(() ",{"type":9,"tag":37,"props":8281,"children":8282},{"style":87},[8283],{"type":14,"value":556},{"type":9,"tag":37,"props":8285,"children":8286},{"style":44},[8287],{"type":14,"value":701},{"type":9,"tag":37,"props":8289,"children":8290},{"class":39,"line":351},[8291,8295,8300,8304],{"type":9,"tag":37,"props":8292,"children":8293},{"style":87},[8294],{"type":14,"value":3365},{"type":9,"tag":37,"props":8296,"children":8297},{"style":158},[8298],{"type":14,"value":8299}," r",{"type":9,"tag":37,"props":8301,"children":8302},{"style":87},[8303],{"type":14,"value":166},{"type":9,"tag":37,"props":8305,"children":8306},{"style":44},[8307],{"type":14,"value":8308}," tableRef.value?.treeSelection\n",{"type":9,"tag":37,"props":8310,"children":8311},{"class":39,"line":380},[8312,8316],{"type":9,"tag":37,"props":8313,"children":8314},{"style":87},[8315],{"type":14,"value":3673},{"type":9,"tag":37,"props":8317,"children":8318},{"style":44},[8319],{"type":14,"value":701},{"type":9,"tag":37,"props":8321,"children":8322},{"class":39,"line":406},[8323,8328,8333,8337,8341,8345,8350,8355],{"type":9,"tag":37,"props":8324,"children":8325},{"style":44},[8326],{"type":14,"value":8327},"    leaves: r?.leaves.",{"type":9,"tag":37,"props":8329,"children":8330},{"style":56},[8331],{"type":14,"value":8332},"map",{"type":9,"tag":37,"props":8334,"children":8335},{"style":44},[8336],{"type":14,"value":176},{"type":9,"tag":37,"props":8338,"children":8339},{"style":238},[8340],{"type":14,"value":10},{"type":9,"tag":37,"props":8342,"children":8343},{"style":87},[8344],{"type":14,"value":270},{"type":9,"tag":37,"props":8346,"children":8347},{"style":44},[8348],{"type":14,"value":8349}," p.name) ",{"type":9,"tag":37,"props":8351,"children":8352},{"style":87},[8353],{"type":14,"value":8354},"??",{"type":9,"tag":37,"props":8356,"children":8357},{"style":44},[8358],{"type":14,"value":8359}," [],\n",{"type":9,"tag":37,"props":8361,"children":8362},{"class":39,"line":415},[8363,8368,8372,8376,8380,8384,8388,8392],{"type":9,"tag":37,"props":8364,"children":8365},{"style":44},[8366],{"type":14,"value":8367},"    parents: r?.parents.",{"type":9,"tag":37,"props":8369,"children":8370},{"style":56},[8371],{"type":14,"value":8332},{"type":9,"tag":37,"props":8373,"children":8374},{"style":44},[8375],{"type":14,"value":176},{"type":9,"tag":37,"props":8377,"children":8378},{"style":238},[8379],{"type":14,"value":10},{"type":9,"tag":37,"props":8381,"children":8382},{"style":87},[8383],{"type":14,"value":270},{"type":9,"tag":37,"props":8385,"children":8386},{"style":44},[8387],{"type":14,"value":8349},{"type":9,"tag":37,"props":8389,"children":8390},{"style":87},[8391],{"type":14,"value":8354},{"type":9,"tag":37,"props":8393,"children":8394},{"style":44},[8395],{"type":14,"value":8359},{"type":9,"tag":37,"props":8397,"children":8398},{"class":39,"line":434},[8399,8404,8408,8412,8416,8420,8424,8428],{"type":9,"tag":37,"props":8400,"children":8401},{"style":44},[8402],{"type":14,"value":8403},"    halfSelected: r?.halfSelected.",{"type":9,"tag":37,"props":8405,"children":8406},{"style":56},[8407],{"type":14,"value":8332},{"type":9,"tag":37,"props":8409,"children":8410},{"style":44},[8411],{"type":14,"value":176},{"type":9,"tag":37,"props":8413,"children":8414},{"style":238},[8415],{"type":14,"value":10},{"type":9,"tag":37,"props":8417,"children":8418},{"style":87},[8419],{"type":14,"value":270},{"type":9,"tag":37,"props":8421,"children":8422},{"style":44},[8423],{"type":14,"value":8349},{"type":9,"tag":37,"props":8425,"children":8426},{"style":87},[8427],{"type":14,"value":8354},{"type":9,"tag":37,"props":8429,"children":8430},{"style":44},[8431],{"type":14,"value":3399},{"type":9,"tag":37,"props":8433,"children":8434},{"class":39,"line":452},[8435],{"type":9,"tag":37,"props":8436,"children":8437},{"style":44},[8438],{"type":14,"value":827},{"type":9,"tag":37,"props":8440,"children":8441},{"class":39,"line":470},[8442],{"type":9,"tag":37,"props":8443,"children":8444},{"style":44},[8445],{"type":14,"value":6796},{"type":9,"tag":37,"props":8447,"children":8448},{"class":39,"line":479},[8449],{"type":9,"tag":37,"props":8450,"children":8451},{"emptyLinePlaceholder":143},[8452],{"type":14,"value":146},{"type":9,"tag":37,"props":8454,"children":8455},{"class":39,"line":596},[8456,8460,8464,8468,8472,8476,8480,8484,8488],{"type":9,"tag":37,"props":8457,"children":8458},{"style":87},[8459],{"type":14,"value":155},{"type":9,"tag":37,"props":8461,"children":8462},{"style":158},[8463],{"type":14,"value":316},{"type":9,"tag":37,"props":8465,"children":8466},{"style":87},[8467],{"type":14,"value":246},{"type":9,"tag":37,"props":8469,"children":8470},{"style":56},[8471],{"type":14,"value":325},{"type":9,"tag":37,"props":8473,"children":8474},{"style":44},[8475],{"type":14,"value":47},{"type":9,"tag":37,"props":8477,"children":8478},{"style":56},[8479],{"type":14,"value":334},{"type":9,"tag":37,"props":8481,"children":8482},{"style":44},[8483],{"type":14,"value":339},{"type":9,"tag":37,"props":8485,"children":8486},{"style":87},[8487],{"type":14,"value":69},{"type":9,"tag":37,"props":8489,"children":8490},{"style":44},[8491],{"type":14,"value":348},{"type":9,"tag":37,"props":8493,"children":8494},{"class":39,"line":605},[8495,8499,8503],{"type":9,"tag":37,"props":8496,"children":8497},{"style":44},[8498],{"type":14,"value":3805},{"type":9,"tag":37,"props":8500,"children":8501},{"style":72},[8502],{"type":14,"value":6861},{"type":9,"tag":37,"props":8504,"children":8505},{"style":44},[8506],{"type":14,"value":377},{"type":9,"tag":37,"props":8508,"children":8509},{"class":39,"line":623},[8510,8514,8518],{"type":9,"tag":37,"props":8511,"children":8512},{"style":44},[8513],{"type":14,"value":3805},{"type":9,"tag":37,"props":8515,"children":8516},{"style":72},[8517],{"type":14,"value":7065},{"type":9,"tag":37,"props":8519,"children":8520},{"style":44},[8521],{"type":14,"value":377},{"type":9,"tag":37,"props":8523,"children":8524},{"class":39,"line":663},[8525,8529,8533,8537,8541],{"type":9,"tag":37,"props":8526,"children":8527},{"style":44},[8528],{"type":14,"value":357},{"type":9,"tag":37,"props":8530,"children":8531},{"style":72},[8532],{"type":14,"value":362},{"type":9,"tag":37,"props":8534,"children":8535},{"style":44},[8536],{"type":14,"value":367},{"type":9,"tag":37,"props":8538,"children":8539},{"style":72},[8540],{"type":14,"value":372},{"type":9,"tag":37,"props":8542,"children":8543},{"style":44},[8544],{"type":14,"value":377},{"type":9,"tag":37,"props":8546,"children":8547},{"class":39,"line":704},[8548,8552,8556,8560,8564],{"type":9,"tag":37,"props":8549,"children":8550},{"style":44},[8551],{"type":14,"value":357},{"type":9,"tag":37,"props":8553,"children":8554},{"style":72},[8555],{"type":14,"value":390},{"type":9,"tag":37,"props":8557,"children":8558},{"style":44},[8559],{"type":14,"value":367},{"type":9,"tag":37,"props":8561,"children":8562},{"style":72},[8563],{"type":14,"value":399},{"type":9,"tag":37,"props":8565,"children":8566},{"style":44},[8567],{"type":14,"value":3833},{"type":9,"tag":37,"props":8569,"children":8570},{"class":39,"line":756},[8571],{"type":9,"tag":37,"props":8572,"children":8573},{"style":44},[8574],{"type":14,"value":836},{"type":9,"tag":37,"props":8576,"children":8577},{"class":39,"line":794},[8578,8582,8586],{"type":9,"tag":37,"props":8579,"children":8580},{"style":44},[8581],{"type":14,"value":845},{"type":9,"tag":37,"props":8583,"children":8584},{"style":50},[8585],{"type":14,"value":53},{"type":9,"tag":37,"props":8587,"children":8588},{"style":44},[8589],{"type":14,"value":80},{"type":9,"tag":37,"props":8591,"children":8592},{"class":39,"line":803},[8593],{"type":9,"tag":37,"props":8594,"children":8595},{"emptyLinePlaceholder":143},[8596],{"type":14,"value":146},{"type":9,"tag":37,"props":8598,"children":8599},{"class":39,"line":812},[8600,8604,8608],{"type":9,"tag":37,"props":8601,"children":8602},{"style":44},[8603],{"type":14,"value":47},{"type":9,"tag":37,"props":8605,"children":8606},{"style":50},[8607],{"type":14,"value":874},{"type":9,"tag":37,"props":8609,"children":8610},{"style":44},[8611],{"type":14,"value":80},{"type":9,"tag":37,"props":8613,"children":8614},{"class":39,"line":821},[8615,8619,8623,8627,8631,8635],{"type":9,"tag":37,"props":8616,"children":8617},{"style":44},[8618],{"type":14,"value":887},{"type":9,"tag":37,"props":8620,"children":8621},{"style":50},[8622],{"type":14,"value":7826},{"type":9,"tag":37,"props":8624,"children":8625},{"style":56},[8626],{"type":14,"value":7831},{"type":9,"tag":37,"props":8628,"children":8629},{"style":44},[8630],{"type":14,"value":69},{"type":9,"tag":37,"props":8632,"children":8633},{"style":72},[8634],{"type":14,"value":7840},{"type":9,"tag":37,"props":8636,"children":8637},{"style":44},[8638],{"type":14,"value":80},{"type":9,"tag":37,"props":8640,"children":8641},{"class":39,"line":830},[8642,8646],{"type":9,"tag":37,"props":8643,"children":8644},{"style":44},[8645],{"type":14,"value":7852},{"type":9,"tag":37,"props":8647,"children":8648},{"style":50},[8649],{"type":14,"value":7171},{"type":9,"tag":37,"props":8651,"children":8652},{"class":39,"line":839},[8653,8658,8662],{"type":9,"tag":37,"props":8654,"children":8655},{"style":56},[8656],{"type":14,"value":8657},"      ref",{"type":9,"tag":37,"props":8659,"children":8660},{"style":44},[8661],{"type":14,"value":69},{"type":9,"tag":37,"props":8663,"children":8664},{"style":72},[8665],{"type":14,"value":8666},"\"tableRef\"\n",{"type":9,"tag":37,"props":8668,"children":8669},{"class":39,"line":856},[8670,8675,8679,8684,8688,8692,8697],{"type":9,"tag":37,"props":8671,"children":8672},{"style":56},[8673],{"type":14,"value":8674},"      v-model",{"type":9,"tag":37,"props":8676,"children":8677},{"style":44},[8678],{"type":14,"value":246},{"type":9,"tag":37,"props":8680,"children":8681},{"style":56},[8682],{"type":14,"value":8683},"row-selection-keys",{"type":9,"tag":37,"props":8685,"children":8686},{"style":44},[8687],{"type":14,"value":69},{"type":9,"tag":37,"props":8689,"children":8690},{"style":72},[8691],{"type":14,"value":925},{"type":9,"tag":37,"props":8693,"children":8694},{"style":44},[8695],{"type":14,"value":8696},"selectionKeys",{"type":9,"tag":37,"props":8698,"children":8699},{"style":72},[8700],{"type":14,"value":7206},{"type":9,"tag":37,"props":8702,"children":8703},{"class":39,"line":864},[8704,8709,8713],{"type":9,"tag":37,"props":8705,"children":8706},{"style":56},[8707],{"type":14,"value":8708},"      row-key",{"type":9,"tag":37,"props":8710,"children":8711},{"style":44},[8712],{"type":14,"value":69},{"type":9,"tag":37,"props":8714,"children":8715},{"style":72},[8716],{"type":14,"value":7223},{"type":9,"tag":37,"props":8718,"children":8719},{"class":39,"line":881},[8720,8725,8729],{"type":9,"tag":37,"props":8721,"children":8722},{"style":56},[8723],{"type":14,"value":8724},"      children-key",{"type":9,"tag":37,"props":8726,"children":8727},{"style":44},[8728],{"type":14,"value":69},{"type":9,"tag":37,"props":8730,"children":8731},{"style":72},[8732],{"type":14,"value":7241},{"type":9,"tag":37,"props":8734,"children":8735},{"class":39,"line":966},[8736,8740,8744,8748,8752,8756],{"type":9,"tag":37,"props":8737,"children":8738},{"style":44},[8739],{"type":14,"value":5709},{"type":9,"tag":37,"props":8741,"children":8742},{"style":56},[8743],{"type":14,"value":916},{"type":9,"tag":37,"props":8745,"children":8746},{"style":44},[8747],{"type":14,"value":69},{"type":9,"tag":37,"props":8749,"children":8750},{"style":72},[8751],{"type":14,"value":925},{"type":9,"tag":37,"props":8753,"children":8754},{"style":44},[8755],{"type":14,"value":916},{"type":9,"tag":37,"props":8757,"children":8758},{"style":72},[8759],{"type":14,"value":7206},{"type":9,"tag":37,"props":8761,"children":8762},{"class":39,"line":1802},[8763,8767,8771,8775,8779,8783],{"type":9,"tag":37,"props":8764,"children":8765},{"style":44},[8766],{"type":14,"value":5709},{"type":9,"tag":37,"props":8768,"children":8769},{"style":56},[8770],{"type":14,"value":942},{"type":9,"tag":37,"props":8772,"children":8773},{"style":44},[8774],{"type":14,"value":69},{"type":9,"tag":37,"props":8776,"children":8777},{"style":72},[8778],{"type":14,"value":925},{"type":9,"tag":37,"props":8780,"children":8781},{"style":44},[8782],{"type":14,"value":7295},{"type":9,"tag":37,"props":8784,"children":8785},{"style":72},[8786],{"type":14,"value":7206},{"type":9,"tag":37,"props":8788,"children":8789},{"class":39,"line":1818},[8790],{"type":9,"tag":37,"props":8791,"children":8792},{"style":44},[8793],{"type":14,"value":8794},"    \u002F>\n",{"type":9,"tag":37,"props":8796,"children":8797},{"class":39,"line":1894},[8798,8802,8806,8810,8814,8818,8823,8827],{"type":9,"tag":37,"props":8799,"children":8800},{"style":44},[8801],{"type":14,"value":7852},{"type":9,"tag":37,"props":8803,"children":8804},{"style":50},[8805],{"type":14,"value":26},{"type":9,"tag":37,"props":8807,"children":8808},{"style":56},[8809],{"type":14,"value":7831},{"type":9,"tag":37,"props":8811,"children":8812},{"style":44},[8813],{"type":14,"value":69},{"type":9,"tag":37,"props":8815,"children":8816},{"style":72},[8817],{"type":14,"value":7972},{"type":9,"tag":37,"props":8819,"children":8820},{"style":44},[8821],{"type":14,"value":8822},">treeSelection: {{ derived }}\u003C\u002F",{"type":9,"tag":37,"props":8824,"children":8825},{"style":50},[8826],{"type":14,"value":26},{"type":9,"tag":37,"props":8828,"children":8829},{"style":44},[8830],{"type":14,"value":80},{"type":9,"tag":37,"props":8832,"children":8833},{"class":39,"line":7226},[8834,8838,8842],{"type":9,"tag":37,"props":8835,"children":8836},{"style":44},[8837],{"type":14,"value":7993},{"type":9,"tag":37,"props":8839,"children":8840},{"style":50},[8841],{"type":14,"value":7826},{"type":9,"tag":37,"props":8843,"children":8844},{"style":44},[8845],{"type":14,"value":80},{"type":9,"tag":37,"props":8847,"children":8848},{"class":39,"line":7244},[8849,8853,8857],{"type":9,"tag":37,"props":8850,"children":8851},{"style":44},[8852],{"type":14,"value":845},{"type":9,"tag":37,"props":8854,"children":8855},{"style":50},[8856],{"type":14,"value":874},{"type":9,"tag":37,"props":8858,"children":8859},{"style":44},[8860],{"type":14,"value":80},{"type":9,"tag":981,"props":8862,"children":8863},{},[8864],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":8866},[],{"code":8868,"filePath":8869,"pascalName":8870},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableTreeSelectionStrategy, RowSelectionState } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst treeData = makePeopleTree(3, 3)\nconst cascade = ref\u003CRowSelectionState>({})\nconst isolated = ref\u003CRowSelectionState>({})\nconst leaf = ref\u003CRowSelectionState>({})\n\nconst treeBase: DataTableColumn\u003CPerson>[] = [\n  { type: 'expand' },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' }\n]\nfunction strategyColumns(strategy: DataTableTreeSelectionStrategy): DataTableColumn\u003CPerson>[] {\n  return [{ type: 'selection', strategy }, ...treeBase]\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv class=\"grid grid-cols-1 md:grid-cols-3 gap-3\">\n    \u003Cdiv class=\"flex flex-col gap-2\">\n      \u003Cdiv class=\"text-xs text-muted\">\n        cascade（父子级联）\n      \u003C\u002Fdiv>\n      \u003CMDataTable\n        v-model:row-selection=\"cascade\"\n        row-key=\"id\"\n        children-key=\"children\"\n        :columns=\"strategyColumns('cascade')\"\n        :data=\"treeData\"\n      \u002F>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"flex flex-col gap-2\">\n      \u003Cdiv class=\"text-xs text-muted\">\n        isolated（独立勾选）\n      \u003C\u002Fdiv>\n      \u003CMDataTable\n        v-model:row-selection=\"isolated\"\n        row-key=\"id\"\n        children-key=\"children\"\n        :columns=\"strategyColumns('isolated')\"\n        :data=\"treeData\"\n      \u002F>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"flex flex-col gap-2\">\n      \u003Cdiv class=\"text-xs text-muted\">\n        leaf（仅叶子）\n      \u003C\u002Fdiv>\n      \u003CMDataTable\n        v-model:row-selection=\"leaf\"\n        row-key=\"id\"\n        children-key=\"children\"\n        :columns=\"strategyColumns('leaf')\"\n        :data=\"treeData\"\n      \u002F>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableSelectionStrategyExample.vue","DataTableSelectionStrategyExample",{"data":8872,"body":8873,"toc":10158},{"title":22,"description":22},{"type":6,"children":8874},[8875,10154],{"type":9,"tag":8876,"props":8877,"children":8878},"code-collapse",{},[8879],{"type":9,"tag":26,"props":8880,"children":8882},{"className":28,"code":8881,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableTreeSelectionStrategy, RowSelectionState } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst treeData = makePeopleTree(3, 3)\nconst cascade = ref\u003CRowSelectionState>({})\nconst isolated = ref\u003CRowSelectionState>({})\nconst leaf = ref\u003CRowSelectionState>({})\n\nconst treeBase: DataTableColumn\u003CPerson>[] = [\n  { type: 'expand' },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' }\n]\nfunction strategyColumns(strategy: DataTableTreeSelectionStrategy): DataTableColumn\u003CPerson>[] {\n  return [{ type: 'selection', strategy }, ...treeBase]\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv class=\"grid grid-cols-1 md:grid-cols-3 gap-3\">\n    \u003Cdiv class=\"flex flex-col gap-2\">\n      \u003Cdiv class=\"text-xs text-muted\">\n        cascade（父子级联）\n      \u003C\u002Fdiv>\n      \u003CMDataTable\n        v-model:row-selection=\"cascade\"\n        row-key=\"id\"\n        children-key=\"children\"\n        :columns=\"strategyColumns('cascade')\"\n        :data=\"treeData\"\n      \u002F>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"flex flex-col gap-2\">\n      \u003Cdiv class=\"text-xs text-muted\">\n        isolated（独立勾选）\n      \u003C\u002Fdiv>\n      \u003CMDataTable\n        v-model:row-selection=\"isolated\"\n        row-key=\"id\"\n        children-key=\"children\"\n        :columns=\"strategyColumns('isolated')\"\n        :data=\"treeData\"\n      \u002F>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"flex flex-col gap-2\">\n      \u003Cdiv class=\"text-xs text-muted\">\n        leaf（仅叶子）\n      \u003C\u002Fdiv>\n      \u003CMDataTable\n        v-model:row-selection=\"leaf\"\n        row-key=\"id\"\n        children-key=\"children\"\n        :columns=\"strategyColumns('leaf')\"\n        :data=\"treeData\"\n      \u002F>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n\n",[8883],{"type":9,"tag":33,"props":8884,"children":8885},{"__ignoreMap":22},[8886,8917,8941,8964,8971,9010,9042,9074,9106,9113,9153,9168,9191,9214,9221,9277,9307,9314,9329,9336,9351,9379,9407,9436,9444,9460,9471,9504,9520,9536,9578,9605,9613,9629,9656,9683,9691,9706,9717,9749,9764,9779,9820,9848,9856,9872,9900,9928,9937,9953,9965,9998,10014,10030,10070,10098,10106,10122,10138],{"type":9,"tag":37,"props":8887,"children":8888},{"class":39,"line":40},[8889,8893,8897,8901,8905,8909,8913],{"type":9,"tag":37,"props":8890,"children":8891},{"style":44},[8892],{"type":14,"value":47},{"type":9,"tag":37,"props":8894,"children":8895},{"style":50},[8896],{"type":14,"value":53},{"type":9,"tag":37,"props":8898,"children":8899},{"style":56},[8900],{"type":14,"value":59},{"type":9,"tag":37,"props":8902,"children":8903},{"style":56},[8904],{"type":14,"value":64},{"type":9,"tag":37,"props":8906,"children":8907},{"style":44},[8908],{"type":14,"value":69},{"type":9,"tag":37,"props":8910,"children":8911},{"style":72},[8912],{"type":14,"value":75},{"type":9,"tag":37,"props":8914,"children":8915},{"style":44},[8916],{"type":14,"value":80},{"type":9,"tag":37,"props":8918,"children":8919},{"class":39,"line":83},[8920,8924,8928,8933,8937],{"type":9,"tag":37,"props":8921,"children":8922},{"style":87},[8923],{"type":14,"value":90},{"type":9,"tag":37,"props":8925,"children":8926},{"style":87},[8927],{"type":14,"value":95},{"type":9,"tag":37,"props":8929,"children":8930},{"style":44},[8931],{"type":14,"value":8932}," { DataTableColumn, DataTableTreeSelectionStrategy, RowSelectionState } ",{"type":9,"tag":37,"props":8934,"children":8935},{"style":87},[8936],{"type":14,"value":105},{"type":9,"tag":37,"props":8938,"children":8939},{"style":72},[8940],{"type":14,"value":110},{"type":9,"tag":37,"props":8942,"children":8943},{"class":39,"line":113},[8944,8948,8952,8956,8960],{"type":9,"tag":37,"props":8945,"children":8946},{"style":87},[8947],{"type":14,"value":90},{"type":9,"tag":37,"props":8949,"children":8950},{"style":87},[8951],{"type":14,"value":95},{"type":9,"tag":37,"props":8953,"children":8954},{"style":44},[8955],{"type":14,"value":127},{"type":9,"tag":37,"props":8957,"children":8958},{"style":87},[8959],{"type":14,"value":105},{"type":9,"tag":37,"props":8961,"children":8962},{"style":72},[8963],{"type":14,"value":136},{"type":9,"tag":37,"props":8965,"children":8966},{"class":39,"line":139},[8967],{"type":9,"tag":37,"props":8968,"children":8969},{"emptyLinePlaceholder":143},[8970],{"type":14,"value":146},{"type":9,"tag":37,"props":8972,"children":8973},{"class":39,"line":149},[8974,8978,8982,8986,8990,8994,8998,9002,9006],{"type":9,"tag":37,"props":8975,"children":8976},{"style":87},[8977],{"type":14,"value":155},{"type":9,"tag":37,"props":8979,"children":8980},{"style":158},[8981],{"type":14,"value":6648},{"type":9,"tag":37,"props":8983,"children":8984},{"style":87},[8985],{"type":14,"value":166},{"type":9,"tag":37,"props":8987,"children":8988},{"style":56},[8989],{"type":14,"value":6657},{"type":9,"tag":37,"props":8991,"children":8992},{"style":44},[8993],{"type":14,"value":176},{"type":9,"tag":37,"props":8995,"children":8996},{"style":158},[8997],{"type":14,"value":2260},{"type":9,"tag":37,"props":8999,"children":9000},{"style":44},[9001],{"type":14,"value":2463},{"type":9,"tag":37,"props":9003,"children":9004},{"style":158},[9005],{"type":14,"value":2260},{"type":9,"tag":37,"props":9007,"children":9008},{"style":44},[9009],{"type":14,"value":186},{"type":9,"tag":37,"props":9011,"children":9012},{"class":39,"line":189},[9013,9017,9022,9026,9030,9034,9038],{"type":9,"tag":37,"props":9014,"children":9015},{"style":87},[9016],{"type":14,"value":155},{"type":9,"tag":37,"props":9018,"children":9019},{"style":158},[9020],{"type":14,"value":9021}," cascade",{"type":9,"tag":37,"props":9023,"children":9024},{"style":87},[9025],{"type":14,"value":166},{"type":9,"tag":37,"props":9027,"children":9028},{"style":56},[9029],{"type":14,"value":5050},{"type":9,"tag":37,"props":9031,"children":9032},{"style":44},[9033],{"type":14,"value":47},{"type":9,"tag":37,"props":9035,"children":9036},{"style":56},[9037],{"type":14,"value":6706},{"type":9,"tag":37,"props":9039,"children":9040},{"style":44},[9041],{"type":14,"value":7560},{"type":9,"tag":37,"props":9043,"children":9044},{"class":39,"line":216},[9045,9049,9054,9058,9062,9066,9070],{"type":9,"tag":37,"props":9046,"children":9047},{"style":87},[9048],{"type":14,"value":155},{"type":9,"tag":37,"props":9050,"children":9051},{"style":158},[9052],{"type":14,"value":9053}," isolated",{"type":9,"tag":37,"props":9055,"children":9056},{"style":87},[9057],{"type":14,"value":166},{"type":9,"tag":37,"props":9059,"children":9060},{"style":56},[9061],{"type":14,"value":5050},{"type":9,"tag":37,"props":9063,"children":9064},{"style":44},[9065],{"type":14,"value":47},{"type":9,"tag":37,"props":9067,"children":9068},{"style":56},[9069],{"type":14,"value":6706},{"type":9,"tag":37,"props":9071,"children":9072},{"style":44},[9073],{"type":14,"value":7560},{"type":9,"tag":37,"props":9075,"children":9076},{"class":39,"line":298},[9077,9081,9086,9090,9094,9098,9102],{"type":9,"tag":37,"props":9078,"children":9079},{"style":87},[9080],{"type":14,"value":155},{"type":9,"tag":37,"props":9082,"children":9083},{"style":158},[9084],{"type":14,"value":9085}," leaf",{"type":9,"tag":37,"props":9087,"children":9088},{"style":87},[9089],{"type":14,"value":166},{"type":9,"tag":37,"props":9091,"children":9092},{"style":56},[9093],{"type":14,"value":5050},{"type":9,"tag":37,"props":9095,"children":9096},{"style":44},[9097],{"type":14,"value":47},{"type":9,"tag":37,"props":9099,"children":9100},{"style":56},[9101],{"type":14,"value":6706},{"type":9,"tag":37,"props":9103,"children":9104},{"style":44},[9105],{"type":14,"value":7560},{"type":9,"tag":37,"props":9107,"children":9108},{"class":39,"line":306},[9109],{"type":9,"tag":37,"props":9110,"children":9111},{"emptyLinePlaceholder":143},[9112],{"type":14,"value":146},{"type":9,"tag":37,"props":9114,"children":9115},{"class":39,"line":351},[9116,9120,9125,9129,9133,9137,9141,9145,9149],{"type":9,"tag":37,"props":9117,"children":9118},{"style":87},[9119],{"type":14,"value":155},{"type":9,"tag":37,"props":9121,"children":9122},{"style":158},[9123],{"type":14,"value":9124}," treeBase",{"type":9,"tag":37,"props":9126,"children":9127},{"style":87},[9128],{"type":14,"value":246},{"type":9,"tag":37,"props":9130,"children":9131},{"style":56},[9132],{"type":14,"value":325},{"type":9,"tag":37,"props":9134,"children":9135},{"style":44},[9136],{"type":14,"value":47},{"type":9,"tag":37,"props":9138,"children":9139},{"style":56},[9140],{"type":14,"value":334},{"type":9,"tag":37,"props":9142,"children":9143},{"style":44},[9144],{"type":14,"value":339},{"type":9,"tag":37,"props":9146,"children":9147},{"style":87},[9148],{"type":14,"value":69},{"type":9,"tag":37,"props":9150,"children":9151},{"style":44},[9152],{"type":14,"value":348},{"type":9,"tag":37,"props":9154,"children":9155},{"class":39,"line":380},[9156,9160,9164],{"type":9,"tag":37,"props":9157,"children":9158},{"style":44},[9159],{"type":14,"value":3805},{"type":9,"tag":37,"props":9161,"children":9162},{"style":72},[9163],{"type":14,"value":7065},{"type":9,"tag":37,"props":9165,"children":9166},{"style":44},[9167],{"type":14,"value":377},{"type":9,"tag":37,"props":9169,"children":9170},{"class":39,"line":406},[9171,9175,9179,9183,9187],{"type":9,"tag":37,"props":9172,"children":9173},{"style":44},[9174],{"type":14,"value":357},{"type":9,"tag":37,"props":9176,"children":9177},{"style":72},[9178],{"type":14,"value":362},{"type":9,"tag":37,"props":9180,"children":9181},{"style":44},[9182],{"type":14,"value":367},{"type":9,"tag":37,"props":9184,"children":9185},{"style":72},[9186],{"type":14,"value":372},{"type":9,"tag":37,"props":9188,"children":9189},{"style":44},[9190],{"type":14,"value":377},{"type":9,"tag":37,"props":9192,"children":9193},{"class":39,"line":415},[9194,9198,9202,9206,9210],{"type":9,"tag":37,"props":9195,"children":9196},{"style":44},[9197],{"type":14,"value":357},{"type":9,"tag":37,"props":9199,"children":9200},{"style":72},[9201],{"type":14,"value":390},{"type":9,"tag":37,"props":9203,"children":9204},{"style":44},[9205],{"type":14,"value":367},{"type":9,"tag":37,"props":9207,"children":9208},{"style":72},[9209],{"type":14,"value":399},{"type":9,"tag":37,"props":9211,"children":9212},{"style":44},[9213],{"type":14,"value":3833},{"type":9,"tag":37,"props":9215,"children":9216},{"class":39,"line":434},[9217],{"type":9,"tag":37,"props":9218,"children":9219},{"style":44},[9220],{"type":14,"value":836},{"type":9,"tag":37,"props":9222,"children":9223},{"class":39,"line":452},[9224,9229,9234,9238,9243,9247,9252,9256,9260,9264,9268,9272],{"type":9,"tag":37,"props":9225,"children":9226},{"style":87},[9227],{"type":14,"value":9228},"function",{"type":9,"tag":37,"props":9230,"children":9231},{"style":56},[9232],{"type":14,"value":9233}," strategyColumns",{"type":9,"tag":37,"props":9235,"children":9236},{"style":44},[9237],{"type":14,"value":176},{"type":9,"tag":37,"props":9239,"children":9240},{"style":238},[9241],{"type":14,"value":9242},"strategy",{"type":9,"tag":37,"props":9244,"children":9245},{"style":87},[9246],{"type":14,"value":246},{"type":9,"tag":37,"props":9248,"children":9249},{"style":56},[9250],{"type":14,"value":9251}," DataTableTreeSelectionStrategy",{"type":9,"tag":37,"props":9253,"children":9254},{"style":44},[9255],{"type":14,"value":256},{"type":9,"tag":37,"props":9257,"children":9258},{"style":87},[9259],{"type":14,"value":246},{"type":9,"tag":37,"props":9261,"children":9262},{"style":56},[9263],{"type":14,"value":325},{"type":9,"tag":37,"props":9265,"children":9266},{"style":44},[9267],{"type":14,"value":47},{"type":9,"tag":37,"props":9269,"children":9270},{"style":56},[9271],{"type":14,"value":334},{"type":9,"tag":37,"props":9273,"children":9274},{"style":44},[9275],{"type":14,"value":9276},">[] {\n",{"type":9,"tag":37,"props":9278,"children":9279},{"class":39,"line":470},[9280,9284,9289,9293,9298,9302],{"type":9,"tag":37,"props":9281,"children":9282},{"style":87},[9283],{"type":14,"value":3673},{"type":9,"tag":37,"props":9285,"children":9286},{"style":44},[9287],{"type":14,"value":9288}," [{ type: ",{"type":9,"tag":37,"props":9290,"children":9291},{"style":72},[9292],{"type":14,"value":6861},{"type":9,"tag":37,"props":9294,"children":9295},{"style":44},[9296],{"type":14,"value":9297},", strategy }, ",{"type":9,"tag":37,"props":9299,"children":9300},{"style":87},[9301],{"type":14,"value":3683},{"type":9,"tag":37,"props":9303,"children":9304},{"style":44},[9305],{"type":14,"value":9306},"treeBase]\n",{"type":9,"tag":37,"props":9308,"children":9309},{"class":39,"line":479},[9310],{"type":9,"tag":37,"props":9311,"children":9312},{"style":44},[9313],{"type":14,"value":3705},{"type":9,"tag":37,"props":9315,"children":9316},{"class":39,"line":596},[9317,9321,9325],{"type":9,"tag":37,"props":9318,"children":9319},{"style":44},[9320],{"type":14,"value":845},{"type":9,"tag":37,"props":9322,"children":9323},{"style":50},[9324],{"type":14,"value":53},{"type":9,"tag":37,"props":9326,"children":9327},{"style":44},[9328],{"type":14,"value":80},{"type":9,"tag":37,"props":9330,"children":9331},{"class":39,"line":605},[9332],{"type":9,"tag":37,"props":9333,"children":9334},{"emptyLinePlaceholder":143},[9335],{"type":14,"value":146},{"type":9,"tag":37,"props":9337,"children":9338},{"class":39,"line":623},[9339,9343,9347],{"type":9,"tag":37,"props":9340,"children":9341},{"style":44},[9342],{"type":14,"value":47},{"type":9,"tag":37,"props":9344,"children":9345},{"style":50},[9346],{"type":14,"value":874},{"type":9,"tag":37,"props":9348,"children":9349},{"style":44},[9350],{"type":14,"value":80},{"type":9,"tag":37,"props":9352,"children":9353},{"class":39,"line":663},[9354,9358,9362,9366,9370,9375],{"type":9,"tag":37,"props":9355,"children":9356},{"style":44},[9357],{"type":14,"value":887},{"type":9,"tag":37,"props":9359,"children":9360},{"style":50},[9361],{"type":14,"value":7826},{"type":9,"tag":37,"props":9363,"children":9364},{"style":56},[9365],{"type":14,"value":7831},{"type":9,"tag":37,"props":9367,"children":9368},{"style":44},[9369],{"type":14,"value":69},{"type":9,"tag":37,"props":9371,"children":9372},{"style":72},[9373],{"type":14,"value":9374},"\"grid grid-cols-1 md:grid-cols-3 gap-3\"",{"type":9,"tag":37,"props":9376,"children":9377},{"style":44},[9378],{"type":14,"value":80},{"type":9,"tag":37,"props":9380,"children":9381},{"class":39,"line":704},[9382,9386,9390,9394,9398,9403],{"type":9,"tag":37,"props":9383,"children":9384},{"style":44},[9385],{"type":14,"value":7852},{"type":9,"tag":37,"props":9387,"children":9388},{"style":50},[9389],{"type":14,"value":7826},{"type":9,"tag":37,"props":9391,"children":9392},{"style":56},[9393],{"type":14,"value":7831},{"type":9,"tag":37,"props":9395,"children":9396},{"style":44},[9397],{"type":14,"value":69},{"type":9,"tag":37,"props":9399,"children":9400},{"style":72},[9401],{"type":14,"value":9402},"\"flex flex-col gap-2\"",{"type":9,"tag":37,"props":9404,"children":9405},{"style":44},[9406],{"type":14,"value":80},{"type":9,"tag":37,"props":9408,"children":9409},{"class":39,"line":756},[9410,9415,9419,9423,9427,9432],{"type":9,"tag":37,"props":9411,"children":9412},{"style":44},[9413],{"type":14,"value":9414},"      \u003C",{"type":9,"tag":37,"props":9416,"children":9417},{"style":50},[9418],{"type":14,"value":7826},{"type":9,"tag":37,"props":9420,"children":9421},{"style":56},[9422],{"type":14,"value":7831},{"type":9,"tag":37,"props":9424,"children":9425},{"style":44},[9426],{"type":14,"value":69},{"type":9,"tag":37,"props":9428,"children":9429},{"style":72},[9430],{"type":14,"value":9431},"\"text-xs text-muted\"",{"type":9,"tag":37,"props":9433,"children":9434},{"style":44},[9435],{"type":14,"value":80},{"type":9,"tag":37,"props":9437,"children":9438},{"class":39,"line":794},[9439],{"type":9,"tag":37,"props":9440,"children":9441},{"style":44},[9442],{"type":14,"value":9443},"        cascade（父子级联）\n",{"type":9,"tag":37,"props":9445,"children":9446},{"class":39,"line":803},[9447,9452,9456],{"type":9,"tag":37,"props":9448,"children":9449},{"style":44},[9450],{"type":14,"value":9451},"      \u003C\u002F",{"type":9,"tag":37,"props":9453,"children":9454},{"style":50},[9455],{"type":14,"value":7826},{"type":9,"tag":37,"props":9457,"children":9458},{"style":44},[9459],{"type":14,"value":80},{"type":9,"tag":37,"props":9461,"children":9462},{"class":39,"line":812},[9463,9467],{"type":9,"tag":37,"props":9464,"children":9465},{"style":44},[9466],{"type":14,"value":9414},{"type":9,"tag":37,"props":9468,"children":9469},{"style":50},[9470],{"type":14,"value":7171},{"type":9,"tag":37,"props":9472,"children":9473},{"class":39,"line":821},[9474,9479,9483,9487,9491,9495,9500],{"type":9,"tag":37,"props":9475,"children":9476},{"style":56},[9477],{"type":14,"value":9478},"        v-model",{"type":9,"tag":37,"props":9480,"children":9481},{"style":44},[9482],{"type":14,"value":246},{"type":9,"tag":37,"props":9484,"children":9485},{"style":56},[9486],{"type":14,"value":7188},{"type":9,"tag":37,"props":9488,"children":9489},{"style":44},[9490],{"type":14,"value":69},{"type":9,"tag":37,"props":9492,"children":9493},{"style":72},[9494],{"type":14,"value":925},{"type":9,"tag":37,"props":9496,"children":9497},{"style":44},[9498],{"type":14,"value":9499},"cascade",{"type":9,"tag":37,"props":9501,"children":9502},{"style":72},[9503],{"type":14,"value":7206},{"type":9,"tag":37,"props":9505,"children":9506},{"class":39,"line":830},[9507,9512,9516],{"type":9,"tag":37,"props":9508,"children":9509},{"style":56},[9510],{"type":14,"value":9511},"        row-key",{"type":9,"tag":37,"props":9513,"children":9514},{"style":44},[9515],{"type":14,"value":69},{"type":9,"tag":37,"props":9517,"children":9518},{"style":72},[9519],{"type":14,"value":7223},{"type":9,"tag":37,"props":9521,"children":9522},{"class":39,"line":839},[9523,9528,9532],{"type":9,"tag":37,"props":9524,"children":9525},{"style":56},[9526],{"type":14,"value":9527},"        children-key",{"type":9,"tag":37,"props":9529,"children":9530},{"style":44},[9531],{"type":14,"value":69},{"type":9,"tag":37,"props":9533,"children":9534},{"style":72},[9535],{"type":14,"value":7241},{"type":9,"tag":37,"props":9537,"children":9538},{"class":39,"line":856},[9539,9544,9548,9552,9556,9561,9565,9570,9574],{"type":9,"tag":37,"props":9540,"children":9541},{"style":44},[9542],{"type":14,"value":9543},"        :",{"type":9,"tag":37,"props":9545,"children":9546},{"style":56},[9547],{"type":14,"value":916},{"type":9,"tag":37,"props":9549,"children":9550},{"style":44},[9551],{"type":14,"value":69},{"type":9,"tag":37,"props":9553,"children":9554},{"style":72},[9555],{"type":14,"value":925},{"type":9,"tag":37,"props":9557,"children":9558},{"style":56},[9559],{"type":14,"value":9560},"strategyColumns",{"type":9,"tag":37,"props":9562,"children":9563},{"style":44},[9564],{"type":14,"value":176},{"type":9,"tag":37,"props":9566,"children":9567},{"style":72},[9568],{"type":14,"value":9569},"'cascade'",{"type":9,"tag":37,"props":9571,"children":9572},{"style":44},[9573],{"type":14,"value":256},{"type":9,"tag":37,"props":9575,"children":9576},{"style":72},[9577],{"type":14,"value":7206},{"type":9,"tag":37,"props":9579,"children":9580},{"class":39,"line":864},[9581,9585,9589,9593,9597,9601],{"type":9,"tag":37,"props":9582,"children":9583},{"style":44},[9584],{"type":14,"value":9543},{"type":9,"tag":37,"props":9586,"children":9587},{"style":56},[9588],{"type":14,"value":942},{"type":9,"tag":37,"props":9590,"children":9591},{"style":44},[9592],{"type":14,"value":69},{"type":9,"tag":37,"props":9594,"children":9595},{"style":72},[9596],{"type":14,"value":925},{"type":9,"tag":37,"props":9598,"children":9599},{"style":44},[9600],{"type":14,"value":7295},{"type":9,"tag":37,"props":9602,"children":9603},{"style":72},[9604],{"type":14,"value":7206},{"type":9,"tag":37,"props":9606,"children":9607},{"class":39,"line":881},[9608],{"type":9,"tag":37,"props":9609,"children":9610},{"style":44},[9611],{"type":14,"value":9612},"      \u002F>\n",{"type":9,"tag":37,"props":9614,"children":9615},{"class":39,"line":966},[9616,9621,9625],{"type":9,"tag":37,"props":9617,"children":9618},{"style":44},[9619],{"type":14,"value":9620},"    \u003C\u002F",{"type":9,"tag":37,"props":9622,"children":9623},{"style":50},[9624],{"type":14,"value":7826},{"type":9,"tag":37,"props":9626,"children":9627},{"style":44},[9628],{"type":14,"value":80},{"type":9,"tag":37,"props":9630,"children":9631},{"class":39,"line":1802},[9632,9636,9640,9644,9648,9652],{"type":9,"tag":37,"props":9633,"children":9634},{"style":44},[9635],{"type":14,"value":7852},{"type":9,"tag":37,"props":9637,"children":9638},{"style":50},[9639],{"type":14,"value":7826},{"type":9,"tag":37,"props":9641,"children":9642},{"style":56},[9643],{"type":14,"value":7831},{"type":9,"tag":37,"props":9645,"children":9646},{"style":44},[9647],{"type":14,"value":69},{"type":9,"tag":37,"props":9649,"children":9650},{"style":72},[9651],{"type":14,"value":9402},{"type":9,"tag":37,"props":9653,"children":9654},{"style":44},[9655],{"type":14,"value":80},{"type":9,"tag":37,"props":9657,"children":9658},{"class":39,"line":1818},[9659,9663,9667,9671,9675,9679],{"type":9,"tag":37,"props":9660,"children":9661},{"style":44},[9662],{"type":14,"value":9414},{"type":9,"tag":37,"props":9664,"children":9665},{"style":50},[9666],{"type":14,"value":7826},{"type":9,"tag":37,"props":9668,"children":9669},{"style":56},[9670],{"type":14,"value":7831},{"type":9,"tag":37,"props":9672,"children":9673},{"style":44},[9674],{"type":14,"value":69},{"type":9,"tag":37,"props":9676,"children":9677},{"style":72},[9678],{"type":14,"value":9431},{"type":9,"tag":37,"props":9680,"children":9681},{"style":44},[9682],{"type":14,"value":80},{"type":9,"tag":37,"props":9684,"children":9685},{"class":39,"line":1894},[9686],{"type":9,"tag":37,"props":9687,"children":9688},{"style":44},[9689],{"type":14,"value":9690},"        isolated（独立勾选）\n",{"type":9,"tag":37,"props":9692,"children":9693},{"class":39,"line":7226},[9694,9698,9702],{"type":9,"tag":37,"props":9695,"children":9696},{"style":44},[9697],{"type":14,"value":9451},{"type":9,"tag":37,"props":9699,"children":9700},{"style":50},[9701],{"type":14,"value":7826},{"type":9,"tag":37,"props":9703,"children":9704},{"style":44},[9705],{"type":14,"value":80},{"type":9,"tag":37,"props":9707,"children":9708},{"class":39,"line":7244},[9709,9713],{"type":9,"tag":37,"props":9710,"children":9711},{"style":44},[9712],{"type":14,"value":9414},{"type":9,"tag":37,"props":9714,"children":9715},{"style":50},[9716],{"type":14,"value":7171},{"type":9,"tag":37,"props":9718,"children":9719},{"class":39,"line":7273},[9720,9724,9728,9732,9736,9740,9745],{"type":9,"tag":37,"props":9721,"children":9722},{"style":56},[9723],{"type":14,"value":9478},{"type":9,"tag":37,"props":9725,"children":9726},{"style":44},[9727],{"type":14,"value":246},{"type":9,"tag":37,"props":9729,"children":9730},{"style":56},[9731],{"type":14,"value":7188},{"type":9,"tag":37,"props":9733,"children":9734},{"style":44},[9735],{"type":14,"value":69},{"type":9,"tag":37,"props":9737,"children":9738},{"style":72},[9739],{"type":14,"value":925},{"type":9,"tag":37,"props":9741,"children":9742},{"style":44},[9743],{"type":14,"value":9744},"isolated",{"type":9,"tag":37,"props":9746,"children":9747},{"style":72},[9748],{"type":14,"value":7206},{"type":9,"tag":37,"props":9750,"children":9751},{"class":39,"line":7302},[9752,9756,9760],{"type":9,"tag":37,"props":9753,"children":9754},{"style":56},[9755],{"type":14,"value":9511},{"type":9,"tag":37,"props":9757,"children":9758},{"style":44},[9759],{"type":14,"value":69},{"type":9,"tag":37,"props":9761,"children":9762},{"style":72},[9763],{"type":14,"value":7223},{"type":9,"tag":37,"props":9765,"children":9766},{"class":39,"line":7311},[9767,9771,9775],{"type":9,"tag":37,"props":9768,"children":9769},{"style":56},[9770],{"type":14,"value":9527},{"type":9,"tag":37,"props":9772,"children":9773},{"style":44},[9774],{"type":14,"value":69},{"type":9,"tag":37,"props":9776,"children":9777},{"style":72},[9778],{"type":14,"value":7241},{"type":9,"tag":37,"props":9780,"children":9782},{"class":39,"line":9781},42,[9783,9787,9791,9795,9799,9803,9807,9812,9816],{"type":9,"tag":37,"props":9784,"children":9785},{"style":44},[9786],{"type":14,"value":9543},{"type":9,"tag":37,"props":9788,"children":9789},{"style":56},[9790],{"type":14,"value":916},{"type":9,"tag":37,"props":9792,"children":9793},{"style":44},[9794],{"type":14,"value":69},{"type":9,"tag":37,"props":9796,"children":9797},{"style":72},[9798],{"type":14,"value":925},{"type":9,"tag":37,"props":9800,"children":9801},{"style":56},[9802],{"type":14,"value":9560},{"type":9,"tag":37,"props":9804,"children":9805},{"style":44},[9806],{"type":14,"value":176},{"type":9,"tag":37,"props":9808,"children":9809},{"style":72},[9810],{"type":14,"value":9811},"'isolated'",{"type":9,"tag":37,"props":9813,"children":9814},{"style":44},[9815],{"type":14,"value":256},{"type":9,"tag":37,"props":9817,"children":9818},{"style":72},[9819],{"type":14,"value":7206},{"type":9,"tag":37,"props":9821,"children":9823},{"class":39,"line":9822},43,[9824,9828,9832,9836,9840,9844],{"type":9,"tag":37,"props":9825,"children":9826},{"style":44},[9827],{"type":14,"value":9543},{"type":9,"tag":37,"props":9829,"children":9830},{"style":56},[9831],{"type":14,"value":942},{"type":9,"tag":37,"props":9833,"children":9834},{"style":44},[9835],{"type":14,"value":69},{"type":9,"tag":37,"props":9837,"children":9838},{"style":72},[9839],{"type":14,"value":925},{"type":9,"tag":37,"props":9841,"children":9842},{"style":44},[9843],{"type":14,"value":7295},{"type":9,"tag":37,"props":9845,"children":9846},{"style":72},[9847],{"type":14,"value":7206},{"type":9,"tag":37,"props":9849,"children":9851},{"class":39,"line":9850},44,[9852],{"type":9,"tag":37,"props":9853,"children":9854},{"style":44},[9855],{"type":14,"value":9612},{"type":9,"tag":37,"props":9857,"children":9859},{"class":39,"line":9858},45,[9860,9864,9868],{"type":9,"tag":37,"props":9861,"children":9862},{"style":44},[9863],{"type":14,"value":9620},{"type":9,"tag":37,"props":9865,"children":9866},{"style":50},[9867],{"type":14,"value":7826},{"type":9,"tag":37,"props":9869,"children":9870},{"style":44},[9871],{"type":14,"value":80},{"type":9,"tag":37,"props":9873,"children":9875},{"class":39,"line":9874},46,[9876,9880,9884,9888,9892,9896],{"type":9,"tag":37,"props":9877,"children":9878},{"style":44},[9879],{"type":14,"value":7852},{"type":9,"tag":37,"props":9881,"children":9882},{"style":50},[9883],{"type":14,"value":7826},{"type":9,"tag":37,"props":9885,"children":9886},{"style":56},[9887],{"type":14,"value":7831},{"type":9,"tag":37,"props":9889,"children":9890},{"style":44},[9891],{"type":14,"value":69},{"type":9,"tag":37,"props":9893,"children":9894},{"style":72},[9895],{"type":14,"value":9402},{"type":9,"tag":37,"props":9897,"children":9898},{"style":44},[9899],{"type":14,"value":80},{"type":9,"tag":37,"props":9901,"children":9903},{"class":39,"line":9902},47,[9904,9908,9912,9916,9920,9924],{"type":9,"tag":37,"props":9905,"children":9906},{"style":44},[9907],{"type":14,"value":9414},{"type":9,"tag":37,"props":9909,"children":9910},{"style":50},[9911],{"type":14,"value":7826},{"type":9,"tag":37,"props":9913,"children":9914},{"style":56},[9915],{"type":14,"value":7831},{"type":9,"tag":37,"props":9917,"children":9918},{"style":44},[9919],{"type":14,"value":69},{"type":9,"tag":37,"props":9921,"children":9922},{"style":72},[9923],{"type":14,"value":9431},{"type":9,"tag":37,"props":9925,"children":9926},{"style":44},[9927],{"type":14,"value":80},{"type":9,"tag":37,"props":9929,"children":9931},{"class":39,"line":9930},48,[9932],{"type":9,"tag":37,"props":9933,"children":9934},{"style":44},[9935],{"type":14,"value":9936},"        leaf（仅叶子）\n",{"type":9,"tag":37,"props":9938,"children":9940},{"class":39,"line":9939},49,[9941,9945,9949],{"type":9,"tag":37,"props":9942,"children":9943},{"style":44},[9944],{"type":14,"value":9451},{"type":9,"tag":37,"props":9946,"children":9947},{"style":50},[9948],{"type":14,"value":7826},{"type":9,"tag":37,"props":9950,"children":9951},{"style":44},[9952],{"type":14,"value":80},{"type":9,"tag":37,"props":9954,"children":9956},{"class":39,"line":9955},50,[9957,9961],{"type":9,"tag":37,"props":9958,"children":9959},{"style":44},[9960],{"type":14,"value":9414},{"type":9,"tag":37,"props":9962,"children":9963},{"style":50},[9964],{"type":14,"value":7171},{"type":9,"tag":37,"props":9966,"children":9968},{"class":39,"line":9967},51,[9969,9973,9977,9981,9985,9989,9994],{"type":9,"tag":37,"props":9970,"children":9971},{"style":56},[9972],{"type":14,"value":9478},{"type":9,"tag":37,"props":9974,"children":9975},{"style":44},[9976],{"type":14,"value":246},{"type":9,"tag":37,"props":9978,"children":9979},{"style":56},[9980],{"type":14,"value":7188},{"type":9,"tag":37,"props":9982,"children":9983},{"style":44},[9984],{"type":14,"value":69},{"type":9,"tag":37,"props":9986,"children":9987},{"style":72},[9988],{"type":14,"value":925},{"type":9,"tag":37,"props":9990,"children":9991},{"style":44},[9992],{"type":14,"value":9993},"leaf",{"type":9,"tag":37,"props":9995,"children":9996},{"style":72},[9997],{"type":14,"value":7206},{"type":9,"tag":37,"props":9999,"children":10001},{"class":39,"line":10000},52,[10002,10006,10010],{"type":9,"tag":37,"props":10003,"children":10004},{"style":56},[10005],{"type":14,"value":9511},{"type":9,"tag":37,"props":10007,"children":10008},{"style":44},[10009],{"type":14,"value":69},{"type":9,"tag":37,"props":10011,"children":10012},{"style":72},[10013],{"type":14,"value":7223},{"type":9,"tag":37,"props":10015,"children":10017},{"class":39,"line":10016},53,[10018,10022,10026],{"type":9,"tag":37,"props":10019,"children":10020},{"style":56},[10021],{"type":14,"value":9527},{"type":9,"tag":37,"props":10023,"children":10024},{"style":44},[10025],{"type":14,"value":69},{"type":9,"tag":37,"props":10027,"children":10028},{"style":72},[10029],{"type":14,"value":7241},{"type":9,"tag":37,"props":10031,"children":10033},{"class":39,"line":10032},54,[10034,10038,10042,10046,10050,10054,10058,10062,10066],{"type":9,"tag":37,"props":10035,"children":10036},{"style":44},[10037],{"type":14,"value":9543},{"type":9,"tag":37,"props":10039,"children":10040},{"style":56},[10041],{"type":14,"value":916},{"type":9,"tag":37,"props":10043,"children":10044},{"style":44},[10045],{"type":14,"value":69},{"type":9,"tag":37,"props":10047,"children":10048},{"style":72},[10049],{"type":14,"value":925},{"type":9,"tag":37,"props":10051,"children":10052},{"style":56},[10053],{"type":14,"value":9560},{"type":9,"tag":37,"props":10055,"children":10056},{"style":44},[10057],{"type":14,"value":176},{"type":9,"tag":37,"props":10059,"children":10060},{"style":72},[10061],{"type":14,"value":6878},{"type":9,"tag":37,"props":10063,"children":10064},{"style":44},[10065],{"type":14,"value":256},{"type":9,"tag":37,"props":10067,"children":10068},{"style":72},[10069],{"type":14,"value":7206},{"type":9,"tag":37,"props":10071,"children":10073},{"class":39,"line":10072},55,[10074,10078,10082,10086,10090,10094],{"type":9,"tag":37,"props":10075,"children":10076},{"style":44},[10077],{"type":14,"value":9543},{"type":9,"tag":37,"props":10079,"children":10080},{"style":56},[10081],{"type":14,"value":942},{"type":9,"tag":37,"props":10083,"children":10084},{"style":44},[10085],{"type":14,"value":69},{"type":9,"tag":37,"props":10087,"children":10088},{"style":72},[10089],{"type":14,"value":925},{"type":9,"tag":37,"props":10091,"children":10092},{"style":44},[10093],{"type":14,"value":7295},{"type":9,"tag":37,"props":10095,"children":10096},{"style":72},[10097],{"type":14,"value":7206},{"type":9,"tag":37,"props":10099,"children":10101},{"class":39,"line":10100},56,[10102],{"type":9,"tag":37,"props":10103,"children":10104},{"style":44},[10105],{"type":14,"value":9612},{"type":9,"tag":37,"props":10107,"children":10109},{"class":39,"line":10108},57,[10110,10114,10118],{"type":9,"tag":37,"props":10111,"children":10112},{"style":44},[10113],{"type":14,"value":9620},{"type":9,"tag":37,"props":10115,"children":10116},{"style":50},[10117],{"type":14,"value":7826},{"type":9,"tag":37,"props":10119,"children":10120},{"style":44},[10121],{"type":14,"value":80},{"type":9,"tag":37,"props":10123,"children":10125},{"class":39,"line":10124},58,[10126,10130,10134],{"type":9,"tag":37,"props":10127,"children":10128},{"style":44},[10129],{"type":14,"value":7993},{"type":9,"tag":37,"props":10131,"children":10132},{"style":50},[10133],{"type":14,"value":7826},{"type":9,"tag":37,"props":10135,"children":10136},{"style":44},[10137],{"type":14,"value":80},{"type":9,"tag":37,"props":10139,"children":10141},{"class":39,"line":10140},59,[10142,10146,10150],{"type":9,"tag":37,"props":10143,"children":10144},{"style":44},[10145],{"type":14,"value":845},{"type":9,"tag":37,"props":10147,"children":10148},{"style":50},[10149],{"type":14,"value":874},{"type":9,"tag":37,"props":10151,"children":10152},{"style":44},[10153],{"type":14,"value":80},{"type":9,"tag":981,"props":10155,"children":10156},{},[10157],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":10159},[],{"code":10161,"filePath":10162,"pascalName":10163},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableAction, DataTableColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(5)\nconst toast = useToast()\nconst actions: DataTableAction\u003CPerson>[] = [\n  { key: 'view', buttonProps: { icon: 'i-lucide-eye', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => { toast.add({ title: `查看 ${row.name}`, duration: 1500 }) } }\n]\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { type: 'selection', pinable: true, resizable: true },\n  { type: 'index', visibility: false },\n  { type: 'row-pinning', pinable: false },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门', resizable: true },\n  { type: 'actions', size: 80, actions }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fspecial-columns\u002FDataTableSpecialSharedExample.vue","DataTableSpecialSharedExample",{"data":10165,"body":10166,"toc":10812},{"title":22,"description":22},{"type":6,"children":10167},[10168,10808],{"type":9,"tag":26,"props":10169,"children":10171},{"className":28,"code":10170,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableAction, DataTableColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(5)\nconst toast = useToast()\nconst actions: DataTableAction\u003CPerson>[] = [\n  { key: 'view', buttonProps: { icon: 'i-lucide-eye', variant: 'ghost', size: 'xs' }, onClick: ({ row }) => { toast.add({ title: `查看 ${row.name}`, duration: 1500 }) } }\n]\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { type: 'selection', pinable: true, resizable: true },\n  { type: 'index', visibility: false },\n  { type: 'row-pinning', pinable: false },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门', resizable: true },\n  { type: 'actions', size: 80, actions }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable row-key=\"id\" :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n\n",[10172],{"type":9,"tag":33,"props":10173,"children":10174},{"__ignoreMap":22},[10175,10206,10230,10253,10260,10291,10314,10353,10462,10469,10476,10515,10548,10573,10596,10619,10650,10674,10681,10696,10703,10718,10793],{"type":9,"tag":37,"props":10176,"children":10177},{"class":39,"line":40},[10178,10182,10186,10190,10194,10198,10202],{"type":9,"tag":37,"props":10179,"children":10180},{"style":44},[10181],{"type":14,"value":47},{"type":9,"tag":37,"props":10183,"children":10184},{"style":50},[10185],{"type":14,"value":53},{"type":9,"tag":37,"props":10187,"children":10188},{"style":56},[10189],{"type":14,"value":59},{"type":9,"tag":37,"props":10191,"children":10192},{"style":56},[10193],{"type":14,"value":64},{"type":9,"tag":37,"props":10195,"children":10196},{"style":44},[10197],{"type":14,"value":69},{"type":9,"tag":37,"props":10199,"children":10200},{"style":72},[10201],{"type":14,"value":75},{"type":9,"tag":37,"props":10203,"children":10204},{"style":44},[10205],{"type":14,"value":80},{"type":9,"tag":37,"props":10207,"children":10208},{"class":39,"line":83},[10209,10213,10217,10222,10226],{"type":9,"tag":37,"props":10210,"children":10211},{"style":87},[10212],{"type":14,"value":90},{"type":9,"tag":37,"props":10214,"children":10215},{"style":87},[10216],{"type":14,"value":95},{"type":9,"tag":37,"props":10218,"children":10219},{"style":44},[10220],{"type":14,"value":10221}," { DataTableAction, DataTableColumn } ",{"type":9,"tag":37,"props":10223,"children":10224},{"style":87},[10225],{"type":14,"value":105},{"type":9,"tag":37,"props":10227,"children":10228},{"style":72},[10229],{"type":14,"value":110},{"type":9,"tag":37,"props":10231,"children":10232},{"class":39,"line":113},[10233,10237,10241,10245,10249],{"type":9,"tag":37,"props":10234,"children":10235},{"style":87},[10236],{"type":14,"value":90},{"type":9,"tag":37,"props":10238,"children":10239},{"style":87},[10240],{"type":14,"value":95},{"type":9,"tag":37,"props":10242,"children":10243},{"style":44},[10244],{"type":14,"value":127},{"type":9,"tag":37,"props":10246,"children":10247},{"style":87},[10248],{"type":14,"value":105},{"type":9,"tag":37,"props":10250,"children":10251},{"style":72},[10252],{"type":14,"value":136},{"type":9,"tag":37,"props":10254,"children":10255},{"class":39,"line":139},[10256],{"type":9,"tag":37,"props":10257,"children":10258},{"emptyLinePlaceholder":143},[10259],{"type":14,"value":146},{"type":9,"tag":37,"props":10261,"children":10262},{"class":39,"line":149},[10263,10267,10271,10275,10279,10283,10287],{"type":9,"tag":37,"props":10264,"children":10265},{"style":87},[10266],{"type":14,"value":155},{"type":9,"tag":37,"props":10268,"children":10269},{"style":158},[10270],{"type":14,"value":161},{"type":9,"tag":37,"props":10272,"children":10273},{"style":87},[10274],{"type":14,"value":166},{"type":9,"tag":37,"props":10276,"children":10277},{"style":56},[10278],{"type":14,"value":171},{"type":9,"tag":37,"props":10280,"children":10281},{"style":44},[10282],{"type":14,"value":176},{"type":9,"tag":37,"props":10284,"children":10285},{"style":158},[10286],{"type":14,"value":181},{"type":9,"tag":37,"props":10288,"children":10289},{"style":44},[10290],{"type":14,"value":186},{"type":9,"tag":37,"props":10292,"children":10293},{"class":39,"line":189},[10294,10298,10302,10306,10310],{"type":9,"tag":37,"props":10295,"children":10296},{"style":87},[10297],{"type":14,"value":155},{"type":9,"tag":37,"props":10299,"children":10300},{"style":158},[10301],{"type":14,"value":199},{"type":9,"tag":37,"props":10303,"children":10304},{"style":87},[10305],{"type":14,"value":166},{"type":9,"tag":37,"props":10307,"children":10308},{"style":56},[10309],{"type":14,"value":208},{"type":9,"tag":37,"props":10311,"children":10312},{"style":44},[10313],{"type":14,"value":213},{"type":9,"tag":37,"props":10315,"children":10316},{"class":39,"line":216},[10317,10321,10325,10329,10333,10337,10341,10345,10349],{"type":9,"tag":37,"props":10318,"children":10319},{"style":87},[10320],{"type":14,"value":155},{"type":9,"tag":37,"props":10322,"children":10323},{"style":158},[10324],{"type":14,"value":3291},{"type":9,"tag":37,"props":10326,"children":10327},{"style":87},[10328],{"type":14,"value":246},{"type":9,"tag":37,"props":10330,"children":10331},{"style":56},[10332],{"type":14,"value":3056},{"type":9,"tag":37,"props":10334,"children":10335},{"style":44},[10336],{"type":14,"value":47},{"type":9,"tag":37,"props":10338,"children":10339},{"style":56},[10340],{"type":14,"value":334},{"type":9,"tag":37,"props":10342,"children":10343},{"style":44},[10344],{"type":14,"value":339},{"type":9,"tag":37,"props":10346,"children":10347},{"style":87},[10348],{"type":14,"value":69},{"type":9,"tag":37,"props":10350,"children":10351},{"style":44},[10352],{"type":14,"value":348},{"type":9,"tag":37,"props":10354,"children":10355},{"class":39,"line":298},[10356,10360,10364,10368,10375,10379,10383,10387,10391,10395,10399,10403,10407,10411,10415,10419,10423,10428,10432,10436,10440,10444,10448,10453,10457],{"type":9,"tag":37,"props":10357,"children":10358},{"style":44},[10359],{"type":14,"value":3084},{"type":9,"tag":37,"props":10361,"children":10362},{"style":72},[10363],{"type":14,"value":490},{"type":9,"tag":37,"props":10365,"children":10366},{"style":44},[10367],{"type":14,"value":495},{"type":9,"tag":37,"props":10369,"children":10370},{"style":72},[10371,10374],{"type":9,"tag":500,"props":10372,"children":10373},{"class":502,"style":503},[],{"type":14,"value":506},{"type":9,"tag":37,"props":10376,"children":10377},{"style":44},[10378],{"type":14,"value":511},{"type":9,"tag":37,"props":10380,"children":10381},{"style":72},[10382],{"type":14,"value":516},{"type":9,"tag":37,"props":10384,"children":10385},{"style":44},[10386],{"type":14,"value":521},{"type":9,"tag":37,"props":10388,"children":10389},{"style":72},[10390],{"type":14,"value":526},{"type":9,"tag":37,"props":10392,"children":10393},{"style":44},[10394],{"type":14,"value":531},{"type":9,"tag":37,"props":10396,"children":10397},{"style":56},[10398],{"type":14,"value":536},{"type":9,"tag":37,"props":10400,"children":10401},{"style":44},[10402],{"type":14,"value":541},{"type":9,"tag":37,"props":10404,"children":10405},{"style":238},[10406],{"type":14,"value":546},{"type":9,"tag":37,"props":10408,"children":10409},{"style":44},[10410],{"type":14,"value":551},{"type":9,"tag":37,"props":10412,"children":10413},{"style":87},[10414],{"type":14,"value":556},{"type":9,"tag":37,"props":10416,"children":10417},{"style":44},[10418],{"type":14,"value":275},{"type":9,"tag":37,"props":10420,"children":10421},{"style":56},[10422],{"type":14,"value":280},{"type":9,"tag":37,"props":10424,"children":10425},{"style":44},[10426],{"type":14,"value":10427},"({ title: ",{"type":9,"tag":37,"props":10429,"children":10430},{"style":72},[10431],{"type":14,"value":569},{"type":9,"tag":37,"props":10433,"children":10434},{"style":44},[10435],{"type":14,"value":546},{"type":9,"tag":37,"props":10437,"children":10438},{"style":72},[10439],{"type":14,"value":578},{"type":9,"tag":37,"props":10441,"children":10442},{"style":44},[10443],{"type":14,"value":583},{"type":9,"tag":37,"props":10445,"children":10446},{"style":72},[10447],{"type":14,"value":588},{"type":9,"tag":37,"props":10449,"children":10450},{"style":44},[10451],{"type":14,"value":10452},", duration: ",{"type":9,"tag":37,"props":10454,"children":10455},{"style":158},[10456],{"type":14,"value":290},{"type":9,"tag":37,"props":10458,"children":10459},{"style":44},[10460],{"type":14,"value":10461}," }) } }\n",{"type":9,"tag":37,"props":10463,"children":10464},{"class":39,"line":306},[10465],{"type":9,"tag":37,"props":10466,"children":10467},{"style":44},[10468],{"type":14,"value":836},{"type":9,"tag":37,"props":10470,"children":10471},{"class":39,"line":351},[10472],{"type":9,"tag":37,"props":10473,"children":10474},{"emptyLinePlaceholder":143},[10475],{"type":14,"value":146},{"type":9,"tag":37,"props":10477,"children":10478},{"class":39,"line":380},[10479,10483,10487,10491,10495,10499,10503,10507,10511],{"type":9,"tag":37,"props":10480,"children":10481},{"style":87},[10482],{"type":14,"value":155},{"type":9,"tag":37,"props":10484,"children":10485},{"style":158},[10486],{"type":14,"value":316},{"type":9,"tag":37,"props":10488,"children":10489},{"style":87},[10490],{"type":14,"value":246},{"type":9,"tag":37,"props":10492,"children":10493},{"style":56},[10494],{"type":14,"value":325},{"type":9,"tag":37,"props":10496,"children":10497},{"style":44},[10498],{"type":14,"value":47},{"type":9,"tag":37,"props":10500,"children":10501},{"style":56},[10502],{"type":14,"value":334},{"type":9,"tag":37,"props":10504,"children":10505},{"style":44},[10506],{"type":14,"value":339},{"type":9,"tag":37,"props":10508,"children":10509},{"style":87},[10510],{"type":14,"value":69},{"type":9,"tag":37,"props":10512,"children":10513},{"style":44},[10514],{"type":14,"value":348},{"type":9,"tag":37,"props":10516,"children":10517},{"class":39,"line":406},[10518,10522,10526,10531,10535,10540,10544],{"type":9,"tag":37,"props":10519,"children":10520},{"style":44},[10521],{"type":14,"value":3805},{"type":9,"tag":37,"props":10523,"children":10524},{"style":72},[10525],{"type":14,"value":6861},{"type":9,"tag":37,"props":10527,"children":10528},{"style":44},[10529],{"type":14,"value":10530},", pinable: ",{"type":9,"tag":37,"props":10532,"children":10533},{"style":158},[10534],{"type":14,"value":1526},{"type":9,"tag":37,"props":10536,"children":10537},{"style":44},[10538],{"type":14,"value":10539},", resizable: ",{"type":9,"tag":37,"props":10541,"children":10542},{"style":158},[10543],{"type":14,"value":1526},{"type":9,"tag":37,"props":10545,"children":10546},{"style":44},[10547],{"type":14,"value":377},{"type":9,"tag":37,"props":10549,"children":10550},{"class":39,"line":415},[10551,10555,10559,10564,10569],{"type":9,"tag":37,"props":10552,"children":10553},{"style":44},[10554],{"type":14,"value":3805},{"type":9,"tag":37,"props":10556,"children":10557},{"style":72},[10558],{"type":14,"value":5141},{"type":9,"tag":37,"props":10560,"children":10561},{"style":44},[10562],{"type":14,"value":10563},", visibility: ",{"type":9,"tag":37,"props":10565,"children":10566},{"style":158},[10567],{"type":14,"value":10568},"false",{"type":9,"tag":37,"props":10570,"children":10571},{"style":44},[10572],{"type":14,"value":377},{"type":9,"tag":37,"props":10574,"children":10575},{"class":39,"line":434},[10576,10580,10584,10588,10592],{"type":9,"tag":37,"props":10577,"children":10578},{"style":44},[10579],{"type":14,"value":3805},{"type":9,"tag":37,"props":10581,"children":10582},{"style":72},[10583],{"type":14,"value":5623},{"type":9,"tag":37,"props":10585,"children":10586},{"style":44},[10587],{"type":14,"value":10530},{"type":9,"tag":37,"props":10589,"children":10590},{"style":158},[10591],{"type":14,"value":10568},{"type":9,"tag":37,"props":10593,"children":10594},{"style":44},[10595],{"type":14,"value":377},{"type":9,"tag":37,"props":10597,"children":10598},{"class":39,"line":452},[10599,10603,10607,10611,10615],{"type":9,"tag":37,"props":10600,"children":10601},{"style":44},[10602],{"type":14,"value":357},{"type":9,"tag":37,"props":10604,"children":10605},{"style":72},[10606],{"type":14,"value":362},{"type":9,"tag":37,"props":10608,"children":10609},{"style":44},[10610],{"type":14,"value":367},{"type":9,"tag":37,"props":10612,"children":10613},{"style":72},[10614],{"type":14,"value":372},{"type":9,"tag":37,"props":10616,"children":10617},{"style":44},[10618],{"type":14,"value":377},{"type":9,"tag":37,"props":10620,"children":10621},{"class":39,"line":470},[10622,10626,10630,10634,10638,10642,10646],{"type":9,"tag":37,"props":10623,"children":10624},{"style":44},[10625],{"type":14,"value":357},{"type":9,"tag":37,"props":10627,"children":10628},{"style":72},[10629],{"type":14,"value":390},{"type":9,"tag":37,"props":10631,"children":10632},{"style":44},[10633],{"type":14,"value":367},{"type":9,"tag":37,"props":10635,"children":10636},{"style":72},[10637],{"type":14,"value":399},{"type":9,"tag":37,"props":10639,"children":10640},{"style":44},[10641],{"type":14,"value":10539},{"type":9,"tag":37,"props":10643,"children":10644},{"style":158},[10645],{"type":14,"value":1526},{"type":9,"tag":37,"props":10647,"children":10648},{"style":44},[10649],{"type":14,"value":377},{"type":9,"tag":37,"props":10651,"children":10652},{"class":39,"line":479},[10653,10657,10661,10665,10669],{"type":9,"tag":37,"props":10654,"children":10655},{"style":44},[10656],{"type":14,"value":3805},{"type":9,"tag":37,"props":10658,"children":10659},{"style":72},[10660],{"type":14,"value":426},{"type":9,"tag":37,"props":10662,"children":10663},{"style":44},[10664],{"type":14,"value":521},{"type":9,"tag":37,"props":10666,"children":10667},{"style":158},[10668],{"type":14,"value":4320},{"type":9,"tag":37,"props":10670,"children":10671},{"style":44},[10672],{"type":14,"value":10673},", actions }\n",{"type":9,"tag":37,"props":10675,"children":10676},{"class":39,"line":596},[10677],{"type":9,"tag":37,"props":10678,"children":10679},{"style":44},[10680],{"type":14,"value":836},{"type":9,"tag":37,"props":10682,"children":10683},{"class":39,"line":605},[10684,10688,10692],{"type":9,"tag":37,"props":10685,"children":10686},{"style":44},[10687],{"type":14,"value":845},{"type":9,"tag":37,"props":10689,"children":10690},{"style":50},[10691],{"type":14,"value":53},{"type":9,"tag":37,"props":10693,"children":10694},{"style":44},[10695],{"type":14,"value":80},{"type":9,"tag":37,"props":10697,"children":10698},{"class":39,"line":623},[10699],{"type":9,"tag":37,"props":10700,"children":10701},{"emptyLinePlaceholder":143},[10702],{"type":14,"value":146},{"type":9,"tag":37,"props":10704,"children":10705},{"class":39,"line":663},[10706,10710,10714],{"type":9,"tag":37,"props":10707,"children":10708},{"style":44},[10709],{"type":14,"value":47},{"type":9,"tag":37,"props":10711,"children":10712},{"style":50},[10713],{"type":14,"value":874},{"type":9,"tag":37,"props":10715,"children":10716},{"style":44},[10717],{"type":14,"value":80},{"type":9,"tag":37,"props":10719,"children":10720},{"class":39,"line":704},[10721,10725,10729,10733,10737,10741,10745,10749,10753,10757,10761,10765,10769,10773,10777,10781,10785,10789],{"type":9,"tag":37,"props":10722,"children":10723},{"style":44},[10724],{"type":14,"value":887},{"type":9,"tag":37,"props":10726,"children":10727},{"style":50},[10728],{"type":14,"value":892},{"type":9,"tag":37,"props":10730,"children":10731},{"style":56},[10732],{"type":14,"value":897},{"type":9,"tag":37,"props":10734,"children":10735},{"style":44},[10736],{"type":14,"value":69},{"type":9,"tag":37,"props":10738,"children":10739},{"style":72},[10740],{"type":14,"value":906},{"type":9,"tag":37,"props":10742,"children":10743},{"style":44},[10744],{"type":14,"value":911},{"type":9,"tag":37,"props":10746,"children":10747},{"style":56},[10748],{"type":14,"value":916},{"type":9,"tag":37,"props":10750,"children":10751},{"style":44},[10752],{"type":14,"value":69},{"type":9,"tag":37,"props":10754,"children":10755},{"style":72},[10756],{"type":14,"value":925},{"type":9,"tag":37,"props":10758,"children":10759},{"style":44},[10760],{"type":14,"value":916},{"type":9,"tag":37,"props":10762,"children":10763},{"style":72},[10764],{"type":14,"value":925},{"type":9,"tag":37,"props":10766,"children":10767},{"style":44},[10768],{"type":14,"value":911},{"type":9,"tag":37,"props":10770,"children":10771},{"style":56},[10772],{"type":14,"value":942},{"type":9,"tag":37,"props":10774,"children":10775},{"style":44},[10776],{"type":14,"value":69},{"type":9,"tag":37,"props":10778,"children":10779},{"style":72},[10780],{"type":14,"value":925},{"type":9,"tag":37,"props":10782,"children":10783},{"style":44},[10784],{"type":14,"value":942},{"type":9,"tag":37,"props":10786,"children":10787},{"style":72},[10788],{"type":14,"value":925},{"type":9,"tag":37,"props":10790,"children":10791},{"style":44},[10792],{"type":14,"value":963},{"type":9,"tag":37,"props":10794,"children":10795},{"class":39,"line":756},[10796,10800,10804],{"type":9,"tag":37,"props":10797,"children":10798},{"style":44},[10799],{"type":14,"value":845},{"type":9,"tag":37,"props":10801,"children":10802},{"style":50},[10803],{"type":14,"value":874},{"type":9,"tag":37,"props":10805,"children":10806},{"style":44},[10807],{"type":14,"value":80},{"type":9,"tag":981,"props":10809,"children":10810},{},[10811],{"type":14,"value":985},{"title":22,"searchDepth":83,"depth":83,"links":10813},[],{"id":10815,"title":10816,"body":10817,"category":11328,"description":15,"difficulty":11328,"extension":11329,"index":11330,"keywords":11328,"links":11328,"meta":11331,"navigation":11328,"path":11332,"requires":11328,"seo":11333,"sitemap":11334,"stem":11335,"__hash__":11336},"docs\u002Fdocs\u002F3.data-table\u002F4.special-columns.md","特殊列",{"type":10818,"value":10819,"toc":11298},"minimark",[10820,10824,10838,10913,10936,10939,10947,10968,10972,10978,10996,10998,11005,11020,11022,11026,11053,11055,11058,11071,11073,11076,11083,11109,11111,11118,11136,11138,11141,11148,11157,11159,11165,11174,11176,11180,11185,11187,11194,11215,11217,11221,11235,11237,11240,11296],[10821,10822,10823],"h2",{"id":10823},"概述",[10,10825,10826,10827,10830,10831,10834,10835,10837],{},"数据列用 ",[33,10828,10829],{},"accessorKey"," 绑定字段；特殊列通过 ",[33,10832,10833],{},"type"," 区分，无需 ",[33,10836,10829],{},"：",[10839,10840,10841,10855],"table",{},[10842,10843,10844],"thead",{},[10845,10846,10847,10852],"tr",{},[10848,10849,10850],"th",{},[33,10851,10833],{},[10848,10853,10854],{},"用途",[10856,10857,10858,10868,10878,10894,10903],"tbody",{},[10845,10859,10860,10865],{},[10861,10862,10863],"td",{},[33,10864,7201],{},[10861,10866,10867],{},"行选择（单选\u002F多选，树形支持级联策略）",[10845,10869,10870,10875],{},[10861,10871,10872],{},[33,10873,10874],{},"index",[10861,10876,10877],{},"行序号",[10845,10879,10880,10885],{},[10861,10881,10882],{},[33,10883,10884],{},"expand",[10861,10886,10887,10888,10893],{},"树形展开（见",[10889,10890,10892],"a",{"href":10891},"\u002Fdocs\u002Fdata-table\u002Ftree","树形数据","）",[10845,10895,10896,10900],{},[10861,10897,10898],{},[33,10899,6398],{},[10861,10901,10902],{},"行固定到顶部\u002F底部",[10845,10904,10905,10910],{},[10861,10906,10907],{},[33,10908,10909],{},"actions",[10861,10911,10912],{},"行操作按钮",[10914,10915,10916,10917,10919,10920,10919,10923,10919,10926,10919,10929,10919,10932,10935],"tip",{},"所有特殊列同样支持 ",[33,10918,2566],{},"、",[33,10921,10922],{},"pinable",[33,10924,10925],{},"resizable",[33,10927,10928],{},"fixed",[33,10930,10931],{},"size",[33,10933,10934],{},"align","。",[10821,10937,10938],{"id":10938},"选择列",[10940,10941,10943,10946],"h3",{"id":10942},"mode-单选-多选",[33,10944,10945],{},"mode"," 单选 \u002F 多选",[10,10948,10949,10951,10952,10955,10956,10959,10960,10963,10964,10967],{},[33,10950,10945],{}," 作用：默认 ",[33,10953,10954],{},"multiple"," 自动渲染表头与单元格复选框、",[33,10957,10958],{},"v-model:row-selection"," 同步选中 id 字典；",[33,10961,10962],{},"single"," 关闭多选并显示自定义 ",[33,10965,10966],{},"header","，选中态始终至多保留一个：",[10969,10970],"component-example",{"name":7334,":options":10971},"[{\"name\":\"mode\",\"label\":\"mode\",\"items\":[\"multiple\",\"single\"],\"default\":\"multiple\"}]",[10940,10973,10975,10977],{"id":10974},"strategy-树形选择策略",[33,10976,9242],{}," 树形选择策略",[10,10979,10980,10982,10983,10986,10987,10989,10990,10992,10993,10995],{},[33,10981,9242],{}," 在树形模式（",[33,10984,10985],{},"children-key","）下生效，控制父子勾选关系：",[33,10988,9499],{}," 父子级联、",[33,10991,9744],{}," 独立勾选、",[33,10994,9993],{}," 仅叶子可选（父节点展示为派生态）：",[10969,10997],{"name":8870,":collapse":1526},[10940,10999,11001,11004],{"id":11000},"checkboxprops-函数式配置",[33,11002,11003],{},"checkboxProps"," 函数式配置",[10,11006,11007,11009,11010,11013,11014,11017,11018,10837],{},[33,11008,11003],{}," 接收上下文返回 props：可按 ",[33,11011,11012],{},"scope"," 区分表头\u002F单元格、按 ",[33,11015,11016],{},"isLeafAggregate"," 区分父行派生态、按行数据派生 ",[33,11019,2428],{},[10969,11021],{"name":6540},[10940,11023,11025],{"id":11024},"rowselectionkeys-与-treeselection","rowSelectionKeys 与 treeSelection",[10,11027,11028,11031,11032,11035,11036,10919,11039,10919,11042,10919,11045,11048,11049,11052],{},[33,11029,11030],{},"v-model:row-selection-keys"," 用数组形态外部受控；组件 expose 的 ",[33,11033,11034],{},"treeSelection"," 派生 ",[33,11037,11038],{},"leaves",[33,11040,11041],{},"parents",[33,11043,11044],{},"halfSelected",[33,11046,11047],{},"strictlyChecked"," 等业务视图（通过 ",[33,11050,11051],{},"useTemplateRef"," 访问）：",[10969,11054],{"name":8026},[10821,11056,11057],{"id":11057},"索引列",[10,11059,11060,11063,11064,11067,11068,11070],{},[33,11061,11062],{},"type: 'index'"," 默认渲染 ",[33,11065,11066],{},"#"," 表头，行号随排序、分页自动重新计算，可通过 ",[33,11069,10966],{}," 自定义：",[10969,11072],{"name":4902},[10821,11074,11075],{"id":11075},"行固定列",[10940,11077,11079,11082],{"id":11078},"position-顶部-底部固定",[33,11080,11081],{},"position"," 顶部 \u002F 底部固定",[10,11084,11085,11088,11089,11091,11092,11095,11096,11099,11100,11103,11104,10919,11106,11108],{},[33,11086,11087],{},"type: 'row-pinning'"," 的 ",[33,11090,11081],{}," 取 ",[33,11093,11094],{},"top"," 或 ",[33,11097,11098],{},"bottom","，把行钉到表头或表尾，",[33,11101,11102],{},"v-model:row-pinning"," 暴露 ",[33,11105,11094],{},[33,11107,11098],{}," 两组 id：",[10969,11110],{"name":5966},[10940,11112,11114,11117],{"id":11113},"buttonprops-动态固定按钮",[33,11115,11116],{},"buttonProps"," 动态固定按钮",[10,11119,11120,11122,11123,11125,11126,10919,11129,10919,11132,11135],{},[33,11121,11116],{}," 接收 ",[33,11124,5644],{}," 状态返回 ",[33,11127,11128],{},"icon",[33,11130,11131],{},"color",[33,11133,11134],{},"variant","，区分已固定与未固定行：",[10969,11137],{"name":5431},[10821,11139,11140],{"id":11140},"操作列",[10940,11142,11144,11147],{"id":11143},"maxinline-内联与折叠",[33,11145,11146],{},"maxInline"," 内联与折叠",[10,11149,11150,11152,11153,11156],{},[33,11151,11146],{}," 控制平铺按钮数，超出部分折叠到溢出菜单；",[33,11154,11155],{},"action.divider"," 在菜单中插入分隔线：",[10969,11158],{"name":3977},[10940,11160,11162,11164],{"id":11161},"actions-数组与函数式",[33,11163,10909],{}," 数组与函数式",[10,11166,11167,11169,11170,11173],{},[33,11168,10909],{}," 既可传静态数组，也可传 ",[33,11171,11172],{},"(ctx) => DataTableAction[]"," 按行派生：",[10969,11175],{"name":2811},[10940,11177,11179],{"id":11178},"异步动作自动-loading","异步动作自动 loading",[10,11181,11182,11184],{},[33,11183,536],{}," 返回 Promise 时按钮自动进入 loading，期间禁用并阻止重复触发（仅作用于内联按钮）：",[10969,11186],{"name":19},[10940,11188,11190,11193],{"id":11189},"confirm-二次确认",[33,11191,11192],{},"confirm"," 二次确认",[10,11195,11196,11199,11200,11203,11204,10919,11207,10919,11209,10919,11212,10837],{},[33,11197,11198],{},"confirm: true"," 在执行前弹出 MessageBox；",[33,11201,11202],{},"confirmProps"," 可动态返回 ",[33,11205,11206],{},"title",[33,11208,10833],{},[33,11210,11211],{},"description",[33,11213,11214],{},"confirmLabel",[10969,11216],{"name":991},[10940,11218,11220],{"id":11219},"动态-disabled-与-visibility","动态 disabled 与 visibility",[10,11222,11223,11226,11227,11230,11231,11234],{},[33,11224,11225],{},"action.disabled"," 与 ",[33,11228,11229],{},"action.visibility"," 接受布尔或 ",[33,11232,11233],{},"(ctx) => boolean","，按行派生禁用或隐藏：",[10969,11236],{"name":1917},[10821,11238,11239],{"id":11239},"特殊列的共享字段",[10,11241,11242,10919,11244,10919,11246,10919,11248,11250,11251,10919,11253,10919,11255,10919,11257,10919,11259,10919,11262,10919,11265,10919,11267,11269,11270,11272,11273,11275,11276,11278,11279,11281,11282,11284,11285,11288,11289,11291,11292,10935],{},[33,11243,7201],{},[33,11245,10874],{},[33,11247,6398],{},[33,11249,10909],{}," 列与数据列一样支持 ",[33,11252,2566],{},[33,11254,10922],{},[33,11256,10925],{},[33,11258,10931],{},[33,11260,11261],{},"minSize",[33,11263,11264],{},"maxSize",[33,11266,10934],{},[33,11268,10928],{},"。特殊列默认固定宽 60；给 ",[33,11271,11261],{}," \u002F ",[33,11274,11264],{},"（且不设 ",[33,11277,10931],{},"）即改为按内容自适应——",[33,11280,11261],{}," 为下限、",[33,11283,11264],{}," 为拖拽上限。右侧唯一的操作列（",[33,11286,11287],{},"fixed: 'right'","）设 ",[33,11290,11261],{}," 可让其随按钮数撑开，详见",[10889,11293,11295],{"href":11294},"\u002Fdocs\u002Fdata-table\u002Fcolumns","数据列的列宽规则",[10969,11297],{"name":10163},{"title":22,"searchDepth":83,"depth":83,"links":11299},[11300,11301,11310,11311,11317,11327],{"id":10823,"depth":83,"text":10823},{"id":10938,"depth":83,"text":10938,"children":11302},[11303,11305,11307,11309],{"id":10942,"depth":113,"text":11304},"mode 单选 \u002F 多选",{"id":10974,"depth":113,"text":11306},"strategy 树形选择策略",{"id":11000,"depth":113,"text":11308},"checkboxProps 函数式配置",{"id":11024,"depth":113,"text":11025},{"id":11057,"depth":83,"text":11057},{"id":11075,"depth":83,"text":11075,"children":11312},[11313,11315],{"id":11078,"depth":113,"text":11314},"position 顶部 \u002F 底部固定",{"id":11113,"depth":113,"text":11316},"buttonProps 动态固定按钮",{"id":11140,"depth":83,"text":11140,"children":11318},[11319,11321,11323,11324,11326],{"id":11143,"depth":113,"text":11320},"maxInline 内联与折叠",{"id":11161,"depth":113,"text":11322},"actions 数组与函数式",{"id":11178,"depth":113,"text":11179},{"id":11189,"depth":113,"text":11325},"confirm 二次确认",{"id":11219,"depth":113,"text":11220},{"id":11239,"depth":83,"text":11239},null,"md",false,{},"\u002Fdocs\u002Fdata-table\u002Fspecial-columns",{"title":10816,"description":15},{"loc":11332},"docs\u002F3.data-table\u002F4.special-columns","L6UcM_008hKSZm3ex9UgPcfKlPulHZL53jEA1iDI4zY",[11338],{"title":11339,"path":11340,"stem":11341,"children":11342,"page":11330},"Docs","\u002Fdocs","docs",[11343,11382,11437,11468,11507],{"title":11344,"path":11345,"stem":11346,"children":11347,"category":11328,"description":11328,"icon":11381},"快速开始","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[11348,11351,11356,11361,11366,11371,11376],{"title":11349,"path":11345,"stem":11346,"category":11328,"description":11350},"介绍","了解 Movk Nuxt 的表单、数据表格、组件和 API 集成，并选择适合 Nuxt 或 Vue + Vite 项目的接入方式。",{"title":11352,"path":11353,"stem":11354,"category":11328,"description":11355},"安装","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","在 Nuxt 4 项目中安装和配置 Movk Nuxt 模块。",{"title":11357,"path":11358,"stem":11359,"category":11328,"description":11360},"模块配置","\u002Fdocs\u002Fgetting-started\u002Fconfiguration","docs\u002F1.getting-started\u002F3.configuration","配置组件前缀、主题颜色、字体、API 端点、认证策略、响应解析规则和 Toast 提示行为。",{"title":11362,"path":11363,"stem":11364,"category":11328,"description":11365},"Vue \u002F Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F4.vue","在纯 Vue + Vite 项目中使用 Movk 的独立组件、主题与 Composables，无需 Nuxt。",{"title":11367,"path":11368,"stem":11369,"category":11328,"description":11370},"主题系统","\u002Fdocs\u002Fgetting-started\u002Ftheme","docs\u002F1.getting-started\u002F5.theme","通过模块默认值、ThemePicker 组件和 useTheme composable 管理颜色、圆角、图标集与深色模式，字体则在构建期配置。",{"title":11372,"path":11373,"stem":11374,"category":11328,"description":11375},"迁移到 v2","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F6.migration","从 v1 升级到 v2 时需要处理的破坏性变更。",{"title":11377,"path":11378,"stem":11379,"category":11328,"description":11380},"AI 集成","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002F7.ai","通过 MCP、llms.txt 与 Skills 让 AI 助手理解 Movk Nuxt。","i-lucide-square-play",{"title":11383,"category":11328,"description":11328,"icon":11384,"path":11385,"stem":11386,"children":11387,"page":11330},"表单","i-lucide-square-pen","\u002Fdocs\u002Fauto-form","docs\u002F2.auto-form",[11388,11392,11397,11402,11407,11412,11417,11422,11427,11432],{"title":11344,"path":11389,"stem":11390,"category":11328,"description":11391},"\u002Fdocs\u002Fauto-form\u002Fquickstart","docs\u002F2.auto-form\u002F1.quickstart","了解 AutoForm 的核心设计理念和基本使用方式。",{"title":11393,"path":11394,"stem":11395,"category":11328,"description":11396},"实战示例","\u002Fdocs\u002Fauto-form\u002Frecipes","docs\u002F2.auto-form\u002F10.recipes","登录、注册分组校验、多文件上传与横向搜索表单等 AutoForm 组合场景。",{"title":11398,"path":11399,"stem":11400,"category":11328,"description":11401},"字段类型","\u002Fdocs\u002Fauto-form\u002Ffield-types","docs\u002F2.auto-form\u002F2.field-types","afz 各字段类型到控件的映射与配置。",{"title":11403,"path":11404,"stem":11405,"category":11328,"description":11406},"对象与数组","\u002Fdocs\u002Fauto-form\u002Fobject-array","docs\u002F2.auto-form\u002F3.object-array","嵌套对象与动态数组字段的渲染与增删。",{"title":11408,"path":11409,"stem":11410,"category":11328,"description":11411},"控件","\u002Fdocs\u002Fauto-form\u002Fcontrols","docs\u002F2.auto-form\u002F4.controls","通过 type 字段将 schema 映射到 Nuxt UI 控件，或注册、直接传入自定义 Vue 组件扩展表单字段。",{"title":11413,"path":11414,"stem":11415,"category":11328,"description":11416},"元数据与布局","\u002Fdocs\u002Fauto-form\u002Fmetadata-layout","docs\u002F2.auto-form\u002F5.metadata-layout","通过 meta 配置字段属性，并用 afz.layout 组织布局。",{"title":11418,"path":11419,"stem":11420,"category":11328,"description":11421},"插槽","\u002Fdocs\u002Fauto-form\u002Fslots","docs\u002F2.auto-form\u002F6.slots","通过具名插槽自定义 AutoForm 的头尾、字段控件、字段前后与布局内容。",{"title":11423,"path":11424,"stem":11425,"category":11328,"description":11426},"联动与提交","\u002Fdocs\u002Fauto-form\u002Freactive-submit","docs\u002F2.auto-form\u002F7.reactive-submit","字段间响应式联动与表单提交处理。",{"title":11428,"path":11429,"stem":11430,"category":11328,"description":11431},"SearchForm","\u002Fdocs\u002Fauto-form\u002Fsearch-form","docs\u002F2.auto-form\u002F8.search-form","Schema 驱动的可折叠搜索表单组件。",{"title":11433,"path":11434,"stem":11435,"category":11328,"description":11436},"useAutoForm","\u002Fdocs\u002Fauto-form\u002Fuse-auto-form","docs\u002F2.auto-form\u002F9.use-auto-form","用于创建类型化 Zod Schema 和管理 AutoForm 控件的 composable。",{"title":11438,"path":11439,"stem":11440,"children":11441,"category":11328,"description":11328,"icon":11467},"DataTable","\u002Fdocs\u002Fdata-table","docs\u002F3.data-table\u002F1.index",[11442,11444,11449,11453,11454,11459,11462],{"title":11349,"path":11439,"stem":11440,"category":11328,"description":11443},"基于 TanStack Table 的声明式数据表格，含列配置、选择、展开、树形、分页、加载更多与完整 API 参考。",{"title":11445,"path":11446,"stem":11447,"category":11328,"description":11448},"外观","\u002Fdocs\u002Fdata-table\u002Fappearance","docs\u002F3.data-table\u002F2.appearance","组件样式覆盖、分页样式覆盖、斑马纹与边框、视觉密度、内容自适应、空值占位与粘性表头。",{"title":11450,"path":11294,"stem":11451,"category":11328,"description":11452},"列配置","docs\u002F3.data-table\u002F3.columns","数据列的固定、排序、列固定切换、列宽拖拽、文本截断、Tooltip、可见性与函数式配置。",{"title":10816,"path":11332,"stem":11335,"category":11328,"description":15},{"title":11455,"path":11456,"stem":11457,"category":11328,"description":11458},"行为与交互","\u002Fdocs\u002Fdata-table\u002Frows","docs\u002F3.data-table\u002F5.rows","行选择、展开详情、点击行为、动态行样式、悬停、右键菜单与编程式控制。",{"title":10892,"path":10891,"stem":11460,"category":11328,"description":11461},"docs\u002F3.data-table\u002F6.tree","通过 childrenKey 启用树形表格，配置展开、级联选择策略、缩进与选中结果读取。",{"title":11463,"path":11464,"stem":11465,"category":11328,"description":11466},"分页与加载更多","\u002Fdocs\u002Fdata-table\u002Fpagination","docs\u002F3.data-table\u002F7.pagination","客户端自动分页、服务端手动分页与加载状态，以及触底加载、无限滚动的实用参数。","i-lucide-table",{"title":11469,"path":11470,"stem":11471,"children":11472,"category":11328,"description":11328,"icon":11506},"API","\u002Fdocs\u002Fapi","docs\u002F4.api\u002F1.index",[11473,11476,11481,11486,11491,11496,11501],{"title":11474,"path":11470,"stem":11471,"category":11328,"description":11475},"概览","Nuxt 数据获取基础与 Movk Nuxt API 系统的核心概念和架构设计。",{"title":11477,"path":11478,"stem":11479,"category":11328,"description":11480},"$api","\u002Fdocs\u002Fapi\u002Fapi-plugin","docs\u002F4.api\u002F2.api-plugin","由 api.factory 插件创建的增强型 $fetch 实例，支持认证注入、数据解包、业务检查和多端点切换。",{"title":11482,"path":11483,"stem":11484,"category":11328,"description":11485},"hooks","\u002Fdocs\u002Fapi\u002Fhooks","docs\u002F4.api\u002F3.hooks","通过 Nuxt 运行时 Hook 扩展 API 系统行为，实现全局请求拦截、错误处理和 401 自定义处理。",{"title":11487,"path":11488,"stem":11489,"category":11328,"description":11490},"useApiFetch","\u002Fdocs\u002Fapi\u002Fuse-api-fetch","docs\u002F4.api\u002F4.use-api-fetch","基于 Nuxt useFetch 封装的 API 请求 composable，提供自动认证、业务状态码检查和 Toast 提示。",{"title":11492,"path":11493,"stem":11494,"category":11328,"description":11495},"上传与下载","\u002Fdocs\u002Fapi\u002Fupload-download","docs\u002F4.api\u002F5.upload-download","带进度监控的文件上传与下载。",{"title":11497,"path":11498,"stem":11499,"category":11328,"description":11500},"流式请求","\u002Fdocs\u002Fapi\u002Fstream","docs\u002F4.api\u002F6.stream","SSE 流式请求与 AI SDK Chat Transport。",{"title":11502,"path":11503,"stem":11504,"category":11328,"description":11505},"API 架构设计","\u002Fdocs\u002Fapi\u002Farchitecture","docs\u002F4.api\u002F7.architecture","厘清 @movk\u002Fnuxt 的职责边界，用最小化分层组织直连后端、同源代理与最小化 BFF，并梳理两类 Auth 的完整闭环。","i-lucide-cloud",{"title":11508,"category":11328,"description":11328,"icon":11509,"path":11510,"stem":11511,"children":11512,"page":11330},"Components","i-lucide-box","\u002Fdocs\u002Fcomponents","docs\u002F5.components",[11513,11519,11525],{"title":11514,"path":11515,"stem":11516,"category":11517,"description":11518},"DatePicker","\u002Fdocs\u002Fcomponents\u002Fdate-picker","docs\u002F5.components\u002Fdate-picker","advanced","基于国际化标准的日期选择器组件。",{"title":11520,"path":11521,"stem":11522,"category":11523,"description":11524},"MessageBox","\u002Fdocs\u002Fcomponents\u002Fmessage-box","docs\u002F5.components\u002Fmessage-box","feedback","模态消息对话框，提供声明式与编程式两种调用方式。",{"title":11526,"path":11527,"stem":11528,"category":11517,"description":11529,"badge":11530},"Tree","\u002Fdocs\u002Fcomponents\u002Ftree","docs\u002F5.components\u002Ftree","基于 Nuxt UI Tree 的树形组件，补齐搜索、懒加载、工具栏、复选框与父子策略。","v1.4.2",{"data":11532,"body":11533},{},{"type":6,"children":11534},[11535],{"type":9,"tag":10,"props":11536,"children":11537},{},[11538,11540],{"type":14,"value":11539},"Copyright © 2025 - 2026 YiXuan - ",{"type":9,"tag":37,"props":11541,"children":11544},{"className":11542},[11543],"text-highlighted",[11545],{"type":14,"value":11546},"MIT License",[11548,11549],{"title":11450,"path":11294,"stem":11451,"description":11452,"children":-1},{"title":11455,"path":11456,"stem":11457,"description":11458,"children":-1},1795763784116,"237a5cff-9aba-4421-be98-81a239f14b62"]