[{"data":1,"prerenderedAt":7733,"buildId":7734},["ShallowReactive",2],{"-docs-data-table-columns-description":3,"component-example-dataTableColumnSettingsExample":16,"component-example-dataTableColumnSettingsExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":20,"component-example-dataTableColumnSlotsExample":642,"component-example-dataTableColumnSlotsExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":646,"component-example-dataTableFixedExample":1789,"component-example-dataTableFixedExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":1793,"component-example-dataTableFunctionalExample":2415,"component-example-dataTableFunctionalExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":2419,"component-example-dataTableGroupExample":3558,"component-example-dataTableGroupExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":3562,"component-example-dataTablePinableExample":4201,"component-example-dataTablePinableExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":4205,"component-example-dataTableResizableExample":4778,"component-example-dataTableResizableExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":4782,"component-example-dataTableSortableExample":5274,"component-example-dataTableSortableExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":5278,"component-example-dataTableTruncateExample":5808,"component-example-dataTableTruncateExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":5812,"component-example-dataTableVisibilityExample":6282,"component-example-dataTableVisibilityExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":6286,"docs--docs-data-table-columns":6873,"docs-navigation-zh-CN":7518,"mdc-d0lvp9-key":7714,"surround--docs-data-table-columns":7730},{"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","数据列的固定、排序、列固定切换、列宽拖拽、文本截断、Tooltip、可见性与函数式配置。",{"code":17,"filePath":18,"pascalName":19},"\u003Cscript setup lang=\"ts\">\nconst data = [{ name: 'Ada', team: 'Research' }, { name: 'Lin', team: 'Design' }]\nconst columns = [{ accessorKey: 'name', header: 'Name' }, { accessorKey: 'team', header: 'Team' }]\nconst table = useTemplateRef('table')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable ref=\"table\" :data=\"data\" :columns=\"columns\" column-settings persist-key=\"docs-people-columns\">\n    \u003Ctemplate #toolbar>\n      \u003CUButton label=\"Export displayed columns\" @click=\"table?.exportCsv({ rows: 'page', filename: 'people.csv' })\" \u002F>\n      \u003CUButton label=\"Reset columns\" variant=\"outline\" @click=\"table?.resetColumns()\" \u002F>\n    \u003C\u002Ftemplate>\n  \u003C\u002FMDataTable>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fcolumns\u002FDataTableColumnSettingsExample.vue","DataTableColumnSettingsExample",{"data":21,"body":23,"toc":640},{"title":22,"description":22},"",{"type":6,"children":24},[25,634],{"type":9,"tag":26,"props":27,"children":31},"pre",{"className":28,"code":29,"language":30,"meta":22,"style":22},"language-vue shiki shiki-themes github-light github-light github-dark","\u003Cscript setup lang=\"ts\">\nconst data = [{ name: 'Ada', team: 'Research' }, { name: 'Lin', team: 'Design' }]\nconst columns = [{ accessorKey: 'name', header: 'Name' }, { accessorKey: 'team', header: 'Team' }]\nconst table = useTemplateRef('table')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable ref=\"table\" :data=\"data\" :columns=\"columns\" column-settings persist-key=\"docs-people-columns\">\n    \u003Ctemplate #toolbar>\n      \u003CUButton label=\"Export displayed columns\" @click=\"table?.exportCsv({ rows: 'page', filename: 'people.csv' })\" \u002F>\n      \u003CUButton label=\"Reset columns\" variant=\"outline\" @click=\"table?.resetColumns()\" \u002F>\n    \u003C\u002Ftemplate>\n  \u003C\u002FMDataTable>\n\u003C\u002Ftemplate>\n\n","vue",[32],{"type":9,"tag":33,"props":34,"children":35},"code",{"__ignoreMap":22},[36,81,146,206,243,260,270,287,390,417,507,584,601,618],{"type":9,"tag":37,"props":38,"children":41},"span",{"class":39,"line":40},"line",1,[42,48,54,60,65,70,76],{"type":9,"tag":37,"props":43,"children":45},{"style":44},"--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8",[46],{"type":14,"value":47},"\u003C",{"type":9,"tag":37,"props":49,"children":51},{"style":50},"--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D",[52],{"type":14,"value":53},"script",{"type":9,"tag":37,"props":55,"children":57},{"style":56},"--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0",[58],{"type":14,"value":59}," setup",{"type":9,"tag":37,"props":61,"children":62},{"style":56},[63],{"type":14,"value":64}," lang",{"type":9,"tag":37,"props":66,"children":67},{"style":44},[68],{"type":14,"value":69},"=",{"type":9,"tag":37,"props":71,"children":73},{"style":72},"--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF",[74],{"type":14,"value":75},"\"ts\"",{"type":9,"tag":37,"props":77,"children":78},{"style":44},[79],{"type":14,"value":80},">\n",{"type":9,"tag":37,"props":82,"children":84},{"class":39,"line":83},2,[85,91,97,102,107,112,117,122,127,132,136,141],{"type":9,"tag":37,"props":86,"children":88},{"style":87},"--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583",[89],{"type":14,"value":90},"const",{"type":9,"tag":37,"props":92,"children":94},{"style":93},"--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF",[95],{"type":14,"value":96}," data",{"type":9,"tag":37,"props":98,"children":99},{"style":87},[100],{"type":14,"value":101}," =",{"type":9,"tag":37,"props":103,"children":104},{"style":44},[105],{"type":14,"value":106}," [{ name: ",{"type":9,"tag":37,"props":108,"children":109},{"style":72},[110],{"type":14,"value":111},"'Ada'",{"type":9,"tag":37,"props":113,"children":114},{"style":44},[115],{"type":14,"value":116},", team: ",{"type":9,"tag":37,"props":118,"children":119},{"style":72},[120],{"type":14,"value":121},"'Research'",{"type":9,"tag":37,"props":123,"children":124},{"style":44},[125],{"type":14,"value":126}," }, { name: ",{"type":9,"tag":37,"props":128,"children":129},{"style":72},[130],{"type":14,"value":131},"'Lin'",{"type":9,"tag":37,"props":133,"children":134},{"style":44},[135],{"type":14,"value":116},{"type":9,"tag":37,"props":137,"children":138},{"style":72},[139],{"type":14,"value":140},"'Design'",{"type":9,"tag":37,"props":142,"children":143},{"style":44},[144],{"type":14,"value":145}," }]\n",{"type":9,"tag":37,"props":147,"children":149},{"class":39,"line":148},3,[150,154,159,163,168,173,178,183,188,193,197,202],{"type":9,"tag":37,"props":151,"children":152},{"style":87},[153],{"type":14,"value":90},{"type":9,"tag":37,"props":155,"children":156},{"style":93},[157],{"type":14,"value":158}," columns",{"type":9,"tag":37,"props":160,"children":161},{"style":87},[162],{"type":14,"value":101},{"type":9,"tag":37,"props":164,"children":165},{"style":44},[166],{"type":14,"value":167}," [{ accessorKey: ",{"type":9,"tag":37,"props":169,"children":170},{"style":72},[171],{"type":14,"value":172},"'name'",{"type":9,"tag":37,"props":174,"children":175},{"style":44},[176],{"type":14,"value":177},", header: ",{"type":9,"tag":37,"props":179,"children":180},{"style":72},[181],{"type":14,"value":182},"'Name'",{"type":9,"tag":37,"props":184,"children":185},{"style":44},[186],{"type":14,"value":187}," }, { accessorKey: ",{"type":9,"tag":37,"props":189,"children":190},{"style":72},[191],{"type":14,"value":192},"'team'",{"type":9,"tag":37,"props":194,"children":195},{"style":44},[196],{"type":14,"value":177},{"type":9,"tag":37,"props":198,"children":199},{"style":72},[200],{"type":14,"value":201},"'Team'",{"type":9,"tag":37,"props":203,"children":204},{"style":44},[205],{"type":14,"value":145},{"type":9,"tag":37,"props":207,"children":209},{"class":39,"line":208},4,[210,214,219,223,228,233,238],{"type":9,"tag":37,"props":211,"children":212},{"style":87},[213],{"type":14,"value":90},{"type":9,"tag":37,"props":215,"children":216},{"style":93},[217],{"type":14,"value":218}," table",{"type":9,"tag":37,"props":220,"children":221},{"style":87},[222],{"type":14,"value":101},{"type":9,"tag":37,"props":224,"children":225},{"style":56},[226],{"type":14,"value":227}," useTemplateRef",{"type":9,"tag":37,"props":229,"children":230},{"style":44},[231],{"type":14,"value":232},"(",{"type":9,"tag":37,"props":234,"children":235},{"style":72},[236],{"type":14,"value":237},"'table'",{"type":9,"tag":37,"props":239,"children":240},{"style":44},[241],{"type":14,"value":242},")\n",{"type":9,"tag":37,"props":244,"children":246},{"class":39,"line":245},5,[247,252,256],{"type":9,"tag":37,"props":248,"children":249},{"style":44},[250],{"type":14,"value":251},"\u003C\u002F",{"type":9,"tag":37,"props":253,"children":254},{"style":50},[255],{"type":14,"value":53},{"type":9,"tag":37,"props":257,"children":258},{"style":44},[259],{"type":14,"value":80},{"type":9,"tag":37,"props":261,"children":263},{"class":39,"line":262},6,[264],{"type":9,"tag":37,"props":265,"children":267},{"emptyLinePlaceholder":266},true,[268],{"type":14,"value":269},"\n",{"type":9,"tag":37,"props":271,"children":273},{"class":39,"line":272},7,[274,278,283],{"type":9,"tag":37,"props":275,"children":276},{"style":44},[277],{"type":14,"value":47},{"type":9,"tag":37,"props":279,"children":280},{"style":50},[281],{"type":14,"value":282},"template",{"type":9,"tag":37,"props":284,"children":285},{"style":44},[286],{"type":14,"value":80},{"type":9,"tag":37,"props":288,"children":290},{"class":39,"line":289},8,[291,296,301,306,310,315,320,325,329,334,338,342,346,351,355,359,363,367,372,377,381,386],{"type":9,"tag":37,"props":292,"children":293},{"style":44},[294],{"type":14,"value":295},"  \u003C",{"type":9,"tag":37,"props":297,"children":298},{"style":50},[299],{"type":14,"value":300},"MDataTable",{"type":9,"tag":37,"props":302,"children":303},{"style":56},[304],{"type":14,"value":305}," ref",{"type":9,"tag":37,"props":307,"children":308},{"style":44},[309],{"type":14,"value":69},{"type":9,"tag":37,"props":311,"children":312},{"style":72},[313],{"type":14,"value":314},"\"table\"",{"type":9,"tag":37,"props":316,"children":317},{"style":44},[318],{"type":14,"value":319}," :",{"type":9,"tag":37,"props":321,"children":322},{"style":56},[323],{"type":14,"value":324},"data",{"type":9,"tag":37,"props":326,"children":327},{"style":44},[328],{"type":14,"value":69},{"type":9,"tag":37,"props":330,"children":331},{"style":72},[332],{"type":14,"value":333},"\"",{"type":9,"tag":37,"props":335,"children":336},{"style":44},[337],{"type":14,"value":324},{"type":9,"tag":37,"props":339,"children":340},{"style":72},[341],{"type":14,"value":333},{"type":9,"tag":37,"props":343,"children":344},{"style":44},[345],{"type":14,"value":319},{"type":9,"tag":37,"props":347,"children":348},{"style":56},[349],{"type":14,"value":350},"columns",{"type":9,"tag":37,"props":352,"children":353},{"style":44},[354],{"type":14,"value":69},{"type":9,"tag":37,"props":356,"children":357},{"style":72},[358],{"type":14,"value":333},{"type":9,"tag":37,"props":360,"children":361},{"style":44},[362],{"type":14,"value":350},{"type":9,"tag":37,"props":364,"children":365},{"style":72},[366],{"type":14,"value":333},{"type":9,"tag":37,"props":368,"children":369},{"style":56},[370],{"type":14,"value":371}," column-settings",{"type":9,"tag":37,"props":373,"children":374},{"style":56},[375],{"type":14,"value":376}," persist-key",{"type":9,"tag":37,"props":378,"children":379},{"style":44},[380],{"type":14,"value":69},{"type":9,"tag":37,"props":382,"children":383},{"style":72},[384],{"type":14,"value":385},"\"docs-people-columns\"",{"type":9,"tag":37,"props":387,"children":388},{"style":44},[389],{"type":14,"value":80},{"type":9,"tag":37,"props":391,"children":393},{"class":39,"line":392},9,[394,399,403,408,413],{"type":9,"tag":37,"props":395,"children":396},{"style":44},[397],{"type":14,"value":398},"    \u003C",{"type":9,"tag":37,"props":400,"children":401},{"style":50},[402],{"type":14,"value":282},{"type":9,"tag":37,"props":404,"children":405},{"style":44},[406],{"type":14,"value":407}," #",{"type":9,"tag":37,"props":409,"children":410},{"style":56},[411],{"type":14,"value":412},"toolbar",{"type":9,"tag":37,"props":414,"children":415},{"style":44},[416],{"type":14,"value":80},{"type":9,"tag":37,"props":418,"children":420},{"class":39,"line":419},10,[421,426,431,436,440,445,450,455,459,463,468,473,478,483,488,493,498,502],{"type":9,"tag":37,"props":422,"children":423},{"style":44},[424],{"type":14,"value":425},"      \u003C",{"type":9,"tag":37,"props":427,"children":428},{"style":50},[429],{"type":14,"value":430},"UButton",{"type":9,"tag":37,"props":432,"children":433},{"style":56},[434],{"type":14,"value":435}," label",{"type":9,"tag":37,"props":437,"children":438},{"style":44},[439],{"type":14,"value":69},{"type":9,"tag":37,"props":441,"children":442},{"style":72},[443],{"type":14,"value":444},"\"Export displayed columns\"",{"type":9,"tag":37,"props":446,"children":447},{"style":44},[448],{"type":14,"value":449}," @",{"type":9,"tag":37,"props":451,"children":452},{"style":56},[453],{"type":14,"value":454},"click",{"type":9,"tag":37,"props":456,"children":457},{"style":44},[458],{"type":14,"value":69},{"type":9,"tag":37,"props":460,"children":461},{"style":72},[462],{"type":14,"value":333},{"type":9,"tag":37,"props":464,"children":465},{"style":44},[466],{"type":14,"value":467},"table?.",{"type":9,"tag":37,"props":469,"children":470},{"style":56},[471],{"type":14,"value":472},"exportCsv",{"type":9,"tag":37,"props":474,"children":475},{"style":44},[476],{"type":14,"value":477},"({ rows: ",{"type":9,"tag":37,"props":479,"children":480},{"style":72},[481],{"type":14,"value":482},"'page'",{"type":9,"tag":37,"props":484,"children":485},{"style":44},[486],{"type":14,"value":487},", filename: ",{"type":9,"tag":37,"props":489,"children":490},{"style":72},[491],{"type":14,"value":492},"'people.csv'",{"type":9,"tag":37,"props":494,"children":495},{"style":44},[496],{"type":14,"value":497}," })",{"type":9,"tag":37,"props":499,"children":500},{"style":72},[501],{"type":14,"value":333},{"type":9,"tag":37,"props":503,"children":504},{"style":44},[505],{"type":14,"value":506}," \u002F>\n",{"type":9,"tag":37,"props":508,"children":510},{"class":39,"line":509},11,[511,515,519,523,527,532,537,541,546,550,554,558,562,566,571,576,580],{"type":9,"tag":37,"props":512,"children":513},{"style":44},[514],{"type":14,"value":425},{"type":9,"tag":37,"props":516,"children":517},{"style":50},[518],{"type":14,"value":430},{"type":9,"tag":37,"props":520,"children":521},{"style":56},[522],{"type":14,"value":435},{"type":9,"tag":37,"props":524,"children":525},{"style":44},[526],{"type":14,"value":69},{"type":9,"tag":37,"props":528,"children":529},{"style":72},[530],{"type":14,"value":531},"\"Reset columns\"",{"type":9,"tag":37,"props":533,"children":534},{"style":56},[535],{"type":14,"value":536}," variant",{"type":9,"tag":37,"props":538,"children":539},{"style":44},[540],{"type":14,"value":69},{"type":9,"tag":37,"props":542,"children":543},{"style":72},[544],{"type":14,"value":545},"\"outline\"",{"type":9,"tag":37,"props":547,"children":548},{"style":44},[549],{"type":14,"value":449},{"type":9,"tag":37,"props":551,"children":552},{"style":56},[553],{"type":14,"value":454},{"type":9,"tag":37,"props":555,"children":556},{"style":44},[557],{"type":14,"value":69},{"type":9,"tag":37,"props":559,"children":560},{"style":72},[561],{"type":14,"value":333},{"type":9,"tag":37,"props":563,"children":564},{"style":44},[565],{"type":14,"value":467},{"type":9,"tag":37,"props":567,"children":568},{"style":56},[569],{"type":14,"value":570},"resetColumns",{"type":9,"tag":37,"props":572,"children":573},{"style":44},[574],{"type":14,"value":575},"()",{"type":9,"tag":37,"props":577,"children":578},{"style":72},[579],{"type":14,"value":333},{"type":9,"tag":37,"props":581,"children":582},{"style":44},[583],{"type":14,"value":506},{"type":9,"tag":37,"props":585,"children":587},{"class":39,"line":586},12,[588,593,597],{"type":9,"tag":37,"props":589,"children":590},{"style":44},[591],{"type":14,"value":592},"    \u003C\u002F",{"type":9,"tag":37,"props":594,"children":595},{"style":50},[596],{"type":14,"value":282},{"type":9,"tag":37,"props":598,"children":599},{"style":44},[600],{"type":14,"value":80},{"type":9,"tag":37,"props":602,"children":604},{"class":39,"line":603},13,[605,610,614],{"type":9,"tag":37,"props":606,"children":607},{"style":44},[608],{"type":14,"value":609},"  \u003C\u002F",{"type":9,"tag":37,"props":611,"children":612},{"style":50},[613],{"type":14,"value":300},{"type":9,"tag":37,"props":615,"children":616},{"style":44},[617],{"type":14,"value":80},{"type":9,"tag":37,"props":619,"children":621},{"class":39,"line":620},14,[622,626,630],{"type":9,"tag":37,"props":623,"children":624},{"style":44},[625],{"type":14,"value":251},{"type":9,"tag":37,"props":627,"children":628},{"style":50},[629],{"type":14,"value":282},{"type":9,"tag":37,"props":631,"children":632},{"style":44},[633],{"type":14,"value":80},{"type":9,"tag":635,"props":636,"children":637},"style",{},[638],{"type":14,"value":639},"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":641},[],{"code":643,"filePath":644,"pascalName":645},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(6)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号', size: 100 },\n  { accessorKey: 'name', header: '姓名', size: 140, sortable: true },\n  { accessorKey: 'department', header: '部门', size: 120 },\n  { accessorKey: 'level', header: '职级', size: 120 },\n  { accessorKey: 'salary', header: '薪资', align: 'right', size: 140, cell: moneyCell }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\">\n    \u003Ctemplate #name-header>\n      \u003Cspan class=\"inline-flex items-center gap-1 truncate\">\n        \u003CUIcon name=\"i-lucide-user-round\" class=\"size-4 text-primary\" \u002F>\n        姓名\n      \u003C\u002Fspan>\n    \u003C\u002Ftemplate>\n\n    \u003Ctemplate #department-cell=\"{ row }\">\n      \u003CUBadge color=\"neutral\" variant=\"subtle\" size=\"sm\">\n        {{ row.original.department }}\n      \u003C\u002FUBadge>\n    \u003C\u002Ftemplate>\n\n    \u003Ctemplate #level-cell=\"{ getValue }\">\n      \u003CUBadge v-if=\"getValue()\" color=\"primary\" variant=\"soft\" size=\"sm\">\n        {{ getValue() }}\n      \u003C\u002FUBadge>\n      \u003Cspan v-else class=\"text-muted\">未定级\u003C\u002Fspan>\n    \u003C\u002Ftemplate>\n  \u003C\u002FMDataTable>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fcolumns\u002FDataTableColumnSlotsExample.vue","DataTableColumnSlotsExample",{"data":647,"body":648,"toc":1787},{"title":22,"description":22},{"type":6,"children":649},[650,1783],{"type":9,"tag":26,"props":651,"children":653},{"className":28,"code":652,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(6)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号', size: 100 },\n  { accessorKey: 'name', header: '姓名', size: 140, sortable: true },\n  { accessorKey: 'department', header: '部门', size: 120 },\n  { accessorKey: 'level', header: '职级', size: 120 },\n  { accessorKey: 'salary', header: '薪资', align: 'right', size: 140, cell: moneyCell }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\">\n    \u003Ctemplate #name-header>\n      \u003Cspan class=\"inline-flex items-center gap-1 truncate\">\n        \u003CUIcon name=\"i-lucide-user-round\" class=\"size-4 text-primary\" \u002F>\n        姓名\n      \u003C\u002Fspan>\n    \u003C\u002Ftemplate>\n\n    \u003Ctemplate #department-cell=\"{ row }\">\n      \u003CUBadge color=\"neutral\" variant=\"subtle\" size=\"sm\">\n        {{ row.original.department }}\n      \u003C\u002FUBadge>\n    \u003C\u002Ftemplate>\n\n    \u003Ctemplate #level-cell=\"{ getValue }\">\n      \u003CUBadge v-if=\"getValue()\" color=\"primary\" variant=\"soft\" size=\"sm\">\n        {{ getValue() }}\n      \u003C\u002FUBadge>\n      \u003Cspan v-else class=\"text-muted\">未定级\u003C\u002Fspan>\n    \u003C\u002Ftemplate>\n  \u003C\u002FMDataTable>\n\u003C\u002Ftemplate>\n\n",[654],{"type":9,"tag":33,"props":655,"children":656},{"__ignoreMap":22},[657,688,716,741,748,781,889,896,938,975,1018,1052,1085,1129,1137,1153,1161,1177,1241,1266,1296,1347,1356,1373,1389,1397,1439,1497,1506,1522,1538,1546,1588,1667,1676,1692,1735,1751,1767],{"type":9,"tag":37,"props":658,"children":659},{"class":39,"line":40},[660,664,668,672,676,680,684],{"type":9,"tag":37,"props":661,"children":662},{"style":44},[663],{"type":14,"value":47},{"type":9,"tag":37,"props":665,"children":666},{"style":50},[667],{"type":14,"value":53},{"type":9,"tag":37,"props":669,"children":670},{"style":56},[671],{"type":14,"value":59},{"type":9,"tag":37,"props":673,"children":674},{"style":56},[675],{"type":14,"value":64},{"type":9,"tag":37,"props":677,"children":678},{"style":44},[679],{"type":14,"value":69},{"type":9,"tag":37,"props":681,"children":682},{"style":72},[683],{"type":14,"value":75},{"type":9,"tag":37,"props":685,"children":686},{"style":44},[687],{"type":14,"value":80},{"type":9,"tag":37,"props":689,"children":690},{"class":39,"line":83},[691,696,701,706,711],{"type":9,"tag":37,"props":692,"children":693},{"style":87},[694],{"type":14,"value":695},"import",{"type":9,"tag":37,"props":697,"children":698},{"style":87},[699],{"type":14,"value":700}," type",{"type":9,"tag":37,"props":702,"children":703},{"style":44},[704],{"type":14,"value":705}," { DataTableColumn, DataTableDataColumn } ",{"type":9,"tag":37,"props":707,"children":708},{"style":87},[709],{"type":14,"value":710},"from",{"type":9,"tag":37,"props":712,"children":713},{"style":72},[714],{"type":14,"value":715}," '@movk\u002Fnuxt'\n",{"type":9,"tag":37,"props":717,"children":718},{"class":39,"line":148},[719,723,727,732,736],{"type":9,"tag":37,"props":720,"children":721},{"style":87},[722],{"type":14,"value":695},{"type":9,"tag":37,"props":724,"children":725},{"style":87},[726],{"type":14,"value":700},{"type":9,"tag":37,"props":728,"children":729},{"style":44},[730],{"type":14,"value":731}," { Person } ",{"type":9,"tag":37,"props":733,"children":734},{"style":87},[735],{"type":14,"value":710},{"type":9,"tag":37,"props":737,"children":738},{"style":72},[739],{"type":14,"value":740}," '~\u002Fcomposables\u002FuseTableMock'\n",{"type":9,"tag":37,"props":742,"children":743},{"class":39,"line":208},[744],{"type":9,"tag":37,"props":745,"children":746},{"emptyLinePlaceholder":266},[747],{"type":14,"value":269},{"type":9,"tag":37,"props":749,"children":750},{"class":39,"line":245},[751,755,759,763,768,772,777],{"type":9,"tag":37,"props":752,"children":753},{"style":87},[754],{"type":14,"value":90},{"type":9,"tag":37,"props":756,"children":757},{"style":93},[758],{"type":14,"value":96},{"type":9,"tag":37,"props":760,"children":761},{"style":87},[762],{"type":14,"value":101},{"type":9,"tag":37,"props":764,"children":765},{"style":56},[766],{"type":14,"value":767}," makePeople",{"type":9,"tag":37,"props":769,"children":770},{"style":44},[771],{"type":14,"value":232},{"type":9,"tag":37,"props":773,"children":774},{"style":93},[775],{"type":14,"value":776},"6",{"type":9,"tag":37,"props":778,"children":779},{"style":44},[780],{"type":14,"value":242},{"type":9,"tag":37,"props":782,"children":783},{"class":39,"line":262},[784,788,793,798,803,807,812,817,822,827,831,836,842,847,852,857,861,865,870,875,880,884],{"type":9,"tag":37,"props":785,"children":786},{"style":87},[787],{"type":14,"value":90},{"type":9,"tag":37,"props":789,"children":790},{"style":56},[791],{"type":14,"value":792}," moneyCell",{"type":9,"tag":37,"props":794,"children":795},{"style":87},[796],{"type":14,"value":797},":",{"type":9,"tag":37,"props":799,"children":800},{"style":56},[801],{"type":14,"value":802}," DataTableDataColumn",{"type":9,"tag":37,"props":804,"children":805},{"style":44},[806],{"type":14,"value":47},{"type":9,"tag":37,"props":808,"children":809},{"style":56},[810],{"type":14,"value":811},"Person",{"type":9,"tag":37,"props":813,"children":814},{"style":44},[815],{"type":14,"value":816},">[",{"type":9,"tag":37,"props":818,"children":819},{"style":72},[820],{"type":14,"value":821},"'cell'",{"type":9,"tag":37,"props":823,"children":824},{"style":44},[825],{"type":14,"value":826},"] ",{"type":9,"tag":37,"props":828,"children":829},{"style":87},[830],{"type":14,"value":69},{"type":9,"tag":37,"props":832,"children":833},{"style":44},[834],{"type":14,"value":835}," ({ ",{"type":9,"tag":37,"props":837,"children":839},{"style":838},"--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70",[840],{"type":14,"value":841},"getValue",{"type":9,"tag":37,"props":843,"children":844},{"style":44},[845],{"type":14,"value":846}," }) ",{"type":9,"tag":37,"props":848,"children":849},{"style":87},[850],{"type":14,"value":851},"=>",{"type":9,"tag":37,"props":853,"children":854},{"style":72},[855],{"type":14,"value":856}," `¥${",{"type":9,"tag":37,"props":858,"children":859},{"style":56},[860],{"type":14,"value":841},{"type":9,"tag":37,"props":862,"children":863},{"style":72},[864],{"type":14,"value":47},{"type":9,"tag":37,"props":866,"children":867},{"style":93},[868],{"type":14,"value":869},"number",{"type":9,"tag":37,"props":871,"children":872},{"style":72},[873],{"type":14,"value":874},">().",{"type":9,"tag":37,"props":876,"children":877},{"style":56},[878],{"type":14,"value":879},"toLocaleString",{"type":9,"tag":37,"props":881,"children":882},{"style":72},[883],{"type":14,"value":575},{"type":9,"tag":37,"props":885,"children":886},{"style":72},[887],{"type":14,"value":888},"}`\n",{"type":9,"tag":37,"props":890,"children":891},{"class":39,"line":272},[892],{"type":9,"tag":37,"props":893,"children":894},{"emptyLinePlaceholder":266},[895],{"type":14,"value":269},{"type":9,"tag":37,"props":897,"children":898},{"class":39,"line":289},[899,903,907,911,916,920,924,929,933],{"type":9,"tag":37,"props":900,"children":901},{"style":87},[902],{"type":14,"value":90},{"type":9,"tag":37,"props":904,"children":905},{"style":93},[906],{"type":14,"value":158},{"type":9,"tag":37,"props":908,"children":909},{"style":87},[910],{"type":14,"value":797},{"type":9,"tag":37,"props":912,"children":913},{"style":56},[914],{"type":14,"value":915}," DataTableColumn",{"type":9,"tag":37,"props":917,"children":918},{"style":44},[919],{"type":14,"value":47},{"type":9,"tag":37,"props":921,"children":922},{"style":56},[923],{"type":14,"value":811},{"type":9,"tag":37,"props":925,"children":926},{"style":44},[927],{"type":14,"value":928},">[] ",{"type":9,"tag":37,"props":930,"children":931},{"style":87},[932],{"type":14,"value":69},{"type":9,"tag":37,"props":934,"children":935},{"style":44},[936],{"type":14,"value":937}," [\n",{"type":9,"tag":37,"props":939,"children":940},{"class":39,"line":392},[941,946,951,955,960,965,970],{"type":9,"tag":37,"props":942,"children":943},{"style":44},[944],{"type":14,"value":945},"  { accessorKey: ",{"type":9,"tag":37,"props":947,"children":948},{"style":72},[949],{"type":14,"value":950},"'id'",{"type":9,"tag":37,"props":952,"children":953},{"style":44},[954],{"type":14,"value":177},{"type":9,"tag":37,"props":956,"children":957},{"style":72},[958],{"type":14,"value":959},"'工号'",{"type":9,"tag":37,"props":961,"children":962},{"style":44},[963],{"type":14,"value":964},", size: ",{"type":9,"tag":37,"props":966,"children":967},{"style":93},[968],{"type":14,"value":969},"100",{"type":9,"tag":37,"props":971,"children":972},{"style":44},[973],{"type":14,"value":974}," },\n",{"type":9,"tag":37,"props":976,"children":977},{"class":39,"line":419},[978,982,986,990,995,999,1004,1009,1014],{"type":9,"tag":37,"props":979,"children":980},{"style":44},[981],{"type":14,"value":945},{"type":9,"tag":37,"props":983,"children":984},{"style":72},[985],{"type":14,"value":172},{"type":9,"tag":37,"props":987,"children":988},{"style":44},[989],{"type":14,"value":177},{"type":9,"tag":37,"props":991,"children":992},{"style":72},[993],{"type":14,"value":994},"'姓名'",{"type":9,"tag":37,"props":996,"children":997},{"style":44},[998],{"type":14,"value":964},{"type":9,"tag":37,"props":1000,"children":1001},{"style":93},[1002],{"type":14,"value":1003},"140",{"type":9,"tag":37,"props":1005,"children":1006},{"style":44},[1007],{"type":14,"value":1008},", sortable: ",{"type":9,"tag":37,"props":1010,"children":1011},{"style":93},[1012],{"type":14,"value":1013},"true",{"type":9,"tag":37,"props":1015,"children":1016},{"style":44},[1017],{"type":14,"value":974},{"type":9,"tag":37,"props":1019,"children":1020},{"class":39,"line":509},[1021,1025,1030,1034,1039,1043,1048],{"type":9,"tag":37,"props":1022,"children":1023},{"style":44},[1024],{"type":14,"value":945},{"type":9,"tag":37,"props":1026,"children":1027},{"style":72},[1028],{"type":14,"value":1029},"'department'",{"type":9,"tag":37,"props":1031,"children":1032},{"style":44},[1033],{"type":14,"value":177},{"type":9,"tag":37,"props":1035,"children":1036},{"style":72},[1037],{"type":14,"value":1038},"'部门'",{"type":9,"tag":37,"props":1040,"children":1041},{"style":44},[1042],{"type":14,"value":964},{"type":9,"tag":37,"props":1044,"children":1045},{"style":93},[1046],{"type":14,"value":1047},"120",{"type":9,"tag":37,"props":1049,"children":1050},{"style":44},[1051],{"type":14,"value":974},{"type":9,"tag":37,"props":1053,"children":1054},{"class":39,"line":586},[1055,1059,1064,1068,1073,1077,1081],{"type":9,"tag":37,"props":1056,"children":1057},{"style":44},[1058],{"type":14,"value":945},{"type":9,"tag":37,"props":1060,"children":1061},{"style":72},[1062],{"type":14,"value":1063},"'level'",{"type":9,"tag":37,"props":1065,"children":1066},{"style":44},[1067],{"type":14,"value":177},{"type":9,"tag":37,"props":1069,"children":1070},{"style":72},[1071],{"type":14,"value":1072},"'职级'",{"type":9,"tag":37,"props":1074,"children":1075},{"style":44},[1076],{"type":14,"value":964},{"type":9,"tag":37,"props":1078,"children":1079},{"style":93},[1080],{"type":14,"value":1047},{"type":9,"tag":37,"props":1082,"children":1083},{"style":44},[1084],{"type":14,"value":974},{"type":9,"tag":37,"props":1086,"children":1087},{"class":39,"line":603},[1088,1092,1097,1101,1106,1111,1116,1120,1124],{"type":9,"tag":37,"props":1089,"children":1090},{"style":44},[1091],{"type":14,"value":945},{"type":9,"tag":37,"props":1093,"children":1094},{"style":72},[1095],{"type":14,"value":1096},"'salary'",{"type":9,"tag":37,"props":1098,"children":1099},{"style":44},[1100],{"type":14,"value":177},{"type":9,"tag":37,"props":1102,"children":1103},{"style":72},[1104],{"type":14,"value":1105},"'薪资'",{"type":9,"tag":37,"props":1107,"children":1108},{"style":44},[1109],{"type":14,"value":1110},", align: ",{"type":9,"tag":37,"props":1112,"children":1113},{"style":72},[1114],{"type":14,"value":1115},"'right'",{"type":9,"tag":37,"props":1117,"children":1118},{"style":44},[1119],{"type":14,"value":964},{"type":9,"tag":37,"props":1121,"children":1122},{"style":93},[1123],{"type":14,"value":1003},{"type":9,"tag":37,"props":1125,"children":1126},{"style":44},[1127],{"type":14,"value":1128},", cell: moneyCell }\n",{"type":9,"tag":37,"props":1130,"children":1131},{"class":39,"line":620},[1132],{"type":9,"tag":37,"props":1133,"children":1134},{"style":44},[1135],{"type":14,"value":1136},"]\n",{"type":9,"tag":37,"props":1138,"children":1140},{"class":39,"line":1139},15,[1141,1145,1149],{"type":9,"tag":37,"props":1142,"children":1143},{"style":44},[1144],{"type":14,"value":251},{"type":9,"tag":37,"props":1146,"children":1147},{"style":50},[1148],{"type":14,"value":53},{"type":9,"tag":37,"props":1150,"children":1151},{"style":44},[1152],{"type":14,"value":80},{"type":9,"tag":37,"props":1154,"children":1156},{"class":39,"line":1155},16,[1157],{"type":9,"tag":37,"props":1158,"children":1159},{"emptyLinePlaceholder":266},[1160],{"type":14,"value":269},{"type":9,"tag":37,"props":1162,"children":1164},{"class":39,"line":1163},17,[1165,1169,1173],{"type":9,"tag":37,"props":1166,"children":1167},{"style":44},[1168],{"type":14,"value":47},{"type":9,"tag":37,"props":1170,"children":1171},{"style":50},[1172],{"type":14,"value":282},{"type":9,"tag":37,"props":1174,"children":1175},{"style":44},[1176],{"type":14,"value":80},{"type":9,"tag":37,"props":1178,"children":1180},{"class":39,"line":1179},18,[1181,1185,1189,1193,1197,1201,1205,1209,1213,1217,1221,1225,1229,1233,1237],{"type":9,"tag":37,"props":1182,"children":1183},{"style":44},[1184],{"type":14,"value":295},{"type":9,"tag":37,"props":1186,"children":1187},{"style":50},[1188],{"type":14,"value":300},{"type":9,"tag":37,"props":1190,"children":1191},{"style":44},[1192],{"type":14,"value":319},{"type":9,"tag":37,"props":1194,"children":1195},{"style":56},[1196],{"type":14,"value":350},{"type":9,"tag":37,"props":1198,"children":1199},{"style":44},[1200],{"type":14,"value":69},{"type":9,"tag":37,"props":1202,"children":1203},{"style":72},[1204],{"type":14,"value":333},{"type":9,"tag":37,"props":1206,"children":1207},{"style":44},[1208],{"type":14,"value":350},{"type":9,"tag":37,"props":1210,"children":1211},{"style":72},[1212],{"type":14,"value":333},{"type":9,"tag":37,"props":1214,"children":1215},{"style":44},[1216],{"type":14,"value":319},{"type":9,"tag":37,"props":1218,"children":1219},{"style":56},[1220],{"type":14,"value":324},{"type":9,"tag":37,"props":1222,"children":1223},{"style":44},[1224],{"type":14,"value":69},{"type":9,"tag":37,"props":1226,"children":1227},{"style":72},[1228],{"type":14,"value":333},{"type":9,"tag":37,"props":1230,"children":1231},{"style":44},[1232],{"type":14,"value":324},{"type":9,"tag":37,"props":1234,"children":1235},{"style":72},[1236],{"type":14,"value":333},{"type":9,"tag":37,"props":1238,"children":1239},{"style":44},[1240],{"type":14,"value":80},{"type":9,"tag":37,"props":1242,"children":1244},{"class":39,"line":1243},19,[1245,1249,1253,1257,1262],{"type":9,"tag":37,"props":1246,"children":1247},{"style":44},[1248],{"type":14,"value":398},{"type":9,"tag":37,"props":1250,"children":1251},{"style":50},[1252],{"type":14,"value":282},{"type":9,"tag":37,"props":1254,"children":1255},{"style":44},[1256],{"type":14,"value":407},{"type":9,"tag":37,"props":1258,"children":1259},{"style":56},[1260],{"type":14,"value":1261},"name-header",{"type":9,"tag":37,"props":1263,"children":1264},{"style":44},[1265],{"type":14,"value":80},{"type":9,"tag":37,"props":1267,"children":1269},{"class":39,"line":1268},20,[1270,1274,1278,1283,1287,1292],{"type":9,"tag":37,"props":1271,"children":1272},{"style":44},[1273],{"type":14,"value":425},{"type":9,"tag":37,"props":1275,"children":1276},{"style":50},[1277],{"type":14,"value":37},{"type":9,"tag":37,"props":1279,"children":1280},{"style":56},[1281],{"type":14,"value":1282}," class",{"type":9,"tag":37,"props":1284,"children":1285},{"style":44},[1286],{"type":14,"value":69},{"type":9,"tag":37,"props":1288,"children":1289},{"style":72},[1290],{"type":14,"value":1291},"\"inline-flex items-center gap-1 truncate\"",{"type":9,"tag":37,"props":1293,"children":1294},{"style":44},[1295],{"type":14,"value":80},{"type":9,"tag":37,"props":1297,"children":1299},{"class":39,"line":1298},21,[1300,1305,1310,1315,1319,1330,1334,1338,1343],{"type":9,"tag":37,"props":1301,"children":1302},{"style":44},[1303],{"type":14,"value":1304},"        \u003C",{"type":9,"tag":37,"props":1306,"children":1307},{"style":50},[1308],{"type":14,"value":1309},"UIcon",{"type":9,"tag":37,"props":1311,"children":1312},{"style":56},[1313],{"type":14,"value":1314}," name",{"type":9,"tag":37,"props":1316,"children":1317},{"style":44},[1318],{"type":14,"value":69},{"type":9,"tag":37,"props":1320,"children":1321},{"style":72},[1322,1328],{"type":9,"tag":1323,"props":1324,"children":1327},"i",{"class":1325,"style":1326},"shiki-icon-highlight","--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fuser-round.svg?color=%23000)",[],{"type":14,"value":1329},"\"i-lucide-user-round\"",{"type":9,"tag":37,"props":1331,"children":1332},{"style":56},[1333],{"type":14,"value":1282},{"type":9,"tag":37,"props":1335,"children":1336},{"style":44},[1337],{"type":14,"value":69},{"type":9,"tag":37,"props":1339,"children":1340},{"style":72},[1341],{"type":14,"value":1342},"\"size-4 text-primary\"",{"type":9,"tag":37,"props":1344,"children":1345},{"style":44},[1346],{"type":14,"value":506},{"type":9,"tag":37,"props":1348,"children":1350},{"class":39,"line":1349},22,[1351],{"type":9,"tag":37,"props":1352,"children":1353},{"style":44},[1354],{"type":14,"value":1355},"        姓名\n",{"type":9,"tag":37,"props":1357,"children":1359},{"class":39,"line":1358},23,[1360,1365,1369],{"type":9,"tag":37,"props":1361,"children":1362},{"style":44},[1363],{"type":14,"value":1364},"      \u003C\u002F",{"type":9,"tag":37,"props":1366,"children":1367},{"style":50},[1368],{"type":14,"value":37},{"type":9,"tag":37,"props":1370,"children":1371},{"style":44},[1372],{"type":14,"value":80},{"type":9,"tag":37,"props":1374,"children":1376},{"class":39,"line":1375},24,[1377,1381,1385],{"type":9,"tag":37,"props":1378,"children":1379},{"style":44},[1380],{"type":14,"value":592},{"type":9,"tag":37,"props":1382,"children":1383},{"style":50},[1384],{"type":14,"value":282},{"type":9,"tag":37,"props":1386,"children":1387},{"style":44},[1388],{"type":14,"value":80},{"type":9,"tag":37,"props":1390,"children":1392},{"class":39,"line":1391},25,[1393],{"type":9,"tag":37,"props":1394,"children":1395},{"emptyLinePlaceholder":266},[1396],{"type":14,"value":269},{"type":9,"tag":37,"props":1398,"children":1400},{"class":39,"line":1399},26,[1401,1405,1409,1413,1418,1422,1426,1431,1435],{"type":9,"tag":37,"props":1402,"children":1403},{"style":44},[1404],{"type":14,"value":398},{"type":9,"tag":37,"props":1406,"children":1407},{"style":50},[1408],{"type":14,"value":282},{"type":9,"tag":37,"props":1410,"children":1411},{"style":44},[1412],{"type":14,"value":407},{"type":9,"tag":37,"props":1414,"children":1415},{"style":56},[1416],{"type":14,"value":1417},"department-cell",{"type":9,"tag":37,"props":1419,"children":1420},{"style":44},[1421],{"type":14,"value":69},{"type":9,"tag":37,"props":1423,"children":1424},{"style":72},[1425],{"type":14,"value":333},{"type":9,"tag":37,"props":1427,"children":1428},{"style":44},[1429],{"type":14,"value":1430},"{ row }",{"type":9,"tag":37,"props":1432,"children":1433},{"style":72},[1434],{"type":14,"value":333},{"type":9,"tag":37,"props":1436,"children":1437},{"style":44},[1438],{"type":14,"value":80},{"type":9,"tag":37,"props":1440,"children":1442},{"class":39,"line":1441},27,[1443,1447,1452,1457,1461,1466,1470,1474,1479,1484,1488,1493],{"type":9,"tag":37,"props":1444,"children":1445},{"style":44},[1446],{"type":14,"value":425},{"type":9,"tag":37,"props":1448,"children":1449},{"style":50},[1450],{"type":14,"value":1451},"UBadge",{"type":9,"tag":37,"props":1453,"children":1454},{"style":56},[1455],{"type":14,"value":1456}," color",{"type":9,"tag":37,"props":1458,"children":1459},{"style":44},[1460],{"type":14,"value":69},{"type":9,"tag":37,"props":1462,"children":1463},{"style":72},[1464],{"type":14,"value":1465},"\"neutral\"",{"type":9,"tag":37,"props":1467,"children":1468},{"style":56},[1469],{"type":14,"value":536},{"type":9,"tag":37,"props":1471,"children":1472},{"style":44},[1473],{"type":14,"value":69},{"type":9,"tag":37,"props":1475,"children":1476},{"style":72},[1477],{"type":14,"value":1478},"\"subtle\"",{"type":9,"tag":37,"props":1480,"children":1481},{"style":56},[1482],{"type":14,"value":1483}," size",{"type":9,"tag":37,"props":1485,"children":1486},{"style":44},[1487],{"type":14,"value":69},{"type":9,"tag":37,"props":1489,"children":1490},{"style":72},[1491],{"type":14,"value":1492},"\"sm\"",{"type":9,"tag":37,"props":1494,"children":1495},{"style":44},[1496],{"type":14,"value":80},{"type":9,"tag":37,"props":1498,"children":1500},{"class":39,"line":1499},28,[1501],{"type":9,"tag":37,"props":1502,"children":1503},{"style":44},[1504],{"type":14,"value":1505},"        {{ row.original.department }}\n",{"type":9,"tag":37,"props":1507,"children":1509},{"class":39,"line":1508},29,[1510,1514,1518],{"type":9,"tag":37,"props":1511,"children":1512},{"style":44},[1513],{"type":14,"value":1364},{"type":9,"tag":37,"props":1515,"children":1516},{"style":50},[1517],{"type":14,"value":1451},{"type":9,"tag":37,"props":1519,"children":1520},{"style":44},[1521],{"type":14,"value":80},{"type":9,"tag":37,"props":1523,"children":1525},{"class":39,"line":1524},30,[1526,1530,1534],{"type":9,"tag":37,"props":1527,"children":1528},{"style":44},[1529],{"type":14,"value":592},{"type":9,"tag":37,"props":1531,"children":1532},{"style":50},[1533],{"type":14,"value":282},{"type":9,"tag":37,"props":1535,"children":1536},{"style":44},[1537],{"type":14,"value":80},{"type":9,"tag":37,"props":1539,"children":1541},{"class":39,"line":1540},31,[1542],{"type":9,"tag":37,"props":1543,"children":1544},{"emptyLinePlaceholder":266},[1545],{"type":14,"value":269},{"type":9,"tag":37,"props":1547,"children":1549},{"class":39,"line":1548},32,[1550,1554,1558,1562,1567,1571,1575,1580,1584],{"type":9,"tag":37,"props":1551,"children":1552},{"style":44},[1553],{"type":14,"value":398},{"type":9,"tag":37,"props":1555,"children":1556},{"style":50},[1557],{"type":14,"value":282},{"type":9,"tag":37,"props":1559,"children":1560},{"style":44},[1561],{"type":14,"value":407},{"type":9,"tag":37,"props":1563,"children":1564},{"style":56},[1565],{"type":14,"value":1566},"level-cell",{"type":9,"tag":37,"props":1568,"children":1569},{"style":44},[1570],{"type":14,"value":69},{"type":9,"tag":37,"props":1572,"children":1573},{"style":72},[1574],{"type":14,"value":333},{"type":9,"tag":37,"props":1576,"children":1577},{"style":44},[1578],{"type":14,"value":1579},"{ getValue }",{"type":9,"tag":37,"props":1581,"children":1582},{"style":72},[1583],{"type":14,"value":333},{"type":9,"tag":37,"props":1585,"children":1586},{"style":44},[1587],{"type":14,"value":80},{"type":9,"tag":37,"props":1589,"children":1591},{"class":39,"line":1590},33,[1592,1596,1600,1605,1609,1613,1617,1621,1625,1629,1633,1638,1642,1646,1651,1655,1659,1663],{"type":9,"tag":37,"props":1593,"children":1594},{"style":44},[1595],{"type":14,"value":425},{"type":9,"tag":37,"props":1597,"children":1598},{"style":50},[1599],{"type":14,"value":1451},{"type":9,"tag":37,"props":1601,"children":1602},{"style":87},[1603],{"type":14,"value":1604}," v-if",{"type":9,"tag":37,"props":1606,"children":1607},{"style":44},[1608],{"type":14,"value":69},{"type":9,"tag":37,"props":1610,"children":1611},{"style":72},[1612],{"type":14,"value":333},{"type":9,"tag":37,"props":1614,"children":1615},{"style":56},[1616],{"type":14,"value":841},{"type":9,"tag":37,"props":1618,"children":1619},{"style":44},[1620],{"type":14,"value":575},{"type":9,"tag":37,"props":1622,"children":1623},{"style":72},[1624],{"type":14,"value":333},{"type":9,"tag":37,"props":1626,"children":1627},{"style":56},[1628],{"type":14,"value":1456},{"type":9,"tag":37,"props":1630,"children":1631},{"style":44},[1632],{"type":14,"value":69},{"type":9,"tag":37,"props":1634,"children":1635},{"style":72},[1636],{"type":14,"value":1637},"\"primary\"",{"type":9,"tag":37,"props":1639,"children":1640},{"style":56},[1641],{"type":14,"value":536},{"type":9,"tag":37,"props":1643,"children":1644},{"style":44},[1645],{"type":14,"value":69},{"type":9,"tag":37,"props":1647,"children":1648},{"style":72},[1649],{"type":14,"value":1650},"\"soft\"",{"type":9,"tag":37,"props":1652,"children":1653},{"style":56},[1654],{"type":14,"value":1483},{"type":9,"tag":37,"props":1656,"children":1657},{"style":44},[1658],{"type":14,"value":69},{"type":9,"tag":37,"props":1660,"children":1661},{"style":72},[1662],{"type":14,"value":1492},{"type":9,"tag":37,"props":1664,"children":1665},{"style":44},[1666],{"type":14,"value":80},{"type":9,"tag":37,"props":1668,"children":1670},{"class":39,"line":1669},34,[1671],{"type":9,"tag":37,"props":1672,"children":1673},{"style":44},[1674],{"type":14,"value":1675},"        {{ getValue() }}\n",{"type":9,"tag":37,"props":1677,"children":1679},{"class":39,"line":1678},35,[1680,1684,1688],{"type":9,"tag":37,"props":1681,"children":1682},{"style":44},[1683],{"type":14,"value":1364},{"type":9,"tag":37,"props":1685,"children":1686},{"style":50},[1687],{"type":14,"value":1451},{"type":9,"tag":37,"props":1689,"children":1690},{"style":44},[1691],{"type":14,"value":80},{"type":9,"tag":37,"props":1693,"children":1695},{"class":39,"line":1694},36,[1696,1700,1704,1709,1713,1717,1722,1727,1731],{"type":9,"tag":37,"props":1697,"children":1698},{"style":44},[1699],{"type":14,"value":425},{"type":9,"tag":37,"props":1701,"children":1702},{"style":50},[1703],{"type":14,"value":37},{"type":9,"tag":37,"props":1705,"children":1706},{"style":56},[1707],{"type":14,"value":1708}," v-else",{"type":9,"tag":37,"props":1710,"children":1711},{"style":56},[1712],{"type":14,"value":1282},{"type":9,"tag":37,"props":1714,"children":1715},{"style":44},[1716],{"type":14,"value":69},{"type":9,"tag":37,"props":1718,"children":1719},{"style":72},[1720],{"type":14,"value":1721},"\"text-muted\"",{"type":9,"tag":37,"props":1723,"children":1724},{"style":44},[1725],{"type":14,"value":1726},">未定级\u003C\u002F",{"type":9,"tag":37,"props":1728,"children":1729},{"style":50},[1730],{"type":14,"value":37},{"type":9,"tag":37,"props":1732,"children":1733},{"style":44},[1734],{"type":14,"value":80},{"type":9,"tag":37,"props":1736,"children":1738},{"class":39,"line":1737},37,[1739,1743,1747],{"type":9,"tag":37,"props":1740,"children":1741},{"style":44},[1742],{"type":14,"value":592},{"type":9,"tag":37,"props":1744,"children":1745},{"style":50},[1746],{"type":14,"value":282},{"type":9,"tag":37,"props":1748,"children":1749},{"style":44},[1750],{"type":14,"value":80},{"type":9,"tag":37,"props":1752,"children":1754},{"class":39,"line":1753},38,[1755,1759,1763],{"type":9,"tag":37,"props":1756,"children":1757},{"style":44},[1758],{"type":14,"value":609},{"type":9,"tag":37,"props":1760,"children":1761},{"style":50},[1762],{"type":14,"value":300},{"type":9,"tag":37,"props":1764,"children":1765},{"style":44},[1766],{"type":14,"value":80},{"type":9,"tag":37,"props":1768,"children":1770},{"class":39,"line":1769},39,[1771,1775,1779],{"type":9,"tag":37,"props":1772,"children":1773},{"style":44},[1774],{"type":14,"value":251},{"type":9,"tag":37,"props":1776,"children":1777},{"style":50},[1778],{"type":14,"value":282},{"type":9,"tag":37,"props":1780,"children":1781},{"style":44},[1782],{"type":14,"value":80},{"type":9,"tag":635,"props":1784,"children":1785},{},[1786],{"type":14,"value":639},{"title":22,"searchDepth":83,"depth":83,"links":1788},[],{"code":1790,"filePath":1791,"pascalName":1792},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号', fixed: 'left', size: 100 },\n  { accessorKey: 'name', header: '姓名', fixed: 'left', size: 120 },\n  { accessorKey: 'role', header: '岗位' },\n  { accessorKey: 'address', header: '地址' },\n  { accessorKey: 'email', header: '邮箱' },\n  { accessorKey: 'salary', header: '薪资', fixed: 'right', align: 'right', cell: moneyCell }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" :ui=\"{ root: 'max-w-2xl' }\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fcolumns\u002FDataTableFixedExample.vue","DataTableFixedExample",{"data":1794,"body":1795,"toc":2413},{"title":22,"description":22},{"type":6,"children":1796},[1797,2409],{"type":9,"tag":26,"props":1798,"children":1800},{"className":28,"code":1799,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号', fixed: 'left', size: 100 },\n  { accessorKey: 'name', header: '姓名', fixed: 'left', size: 120 },\n  { accessorKey: 'role', header: '岗位' },\n  { accessorKey: 'address', header: '地址' },\n  { accessorKey: 'email', header: '邮箱' },\n  { accessorKey: 'salary', header: '薪资', fixed: 'right', align: 'right', cell: moneyCell }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" :ui=\"{ root: 'max-w-2xl' }\" \u002F>\n\u003C\u002Ftemplate>\n\n",[1801],{"type":9,"tag":33,"props":1802,"children":1803},{"__ignoreMap":22},[1804,1835,1858,1881,1888,1920,2011,2018,2057,2098,2137,2162,2187,2212,2251,2258,2273,2280,2295,2394],{"type":9,"tag":37,"props":1805,"children":1806},{"class":39,"line":40},[1807,1811,1815,1819,1823,1827,1831],{"type":9,"tag":37,"props":1808,"children":1809},{"style":44},[1810],{"type":14,"value":47},{"type":9,"tag":37,"props":1812,"children":1813},{"style":50},[1814],{"type":14,"value":53},{"type":9,"tag":37,"props":1816,"children":1817},{"style":56},[1818],{"type":14,"value":59},{"type":9,"tag":37,"props":1820,"children":1821},{"style":56},[1822],{"type":14,"value":64},{"type":9,"tag":37,"props":1824,"children":1825},{"style":44},[1826],{"type":14,"value":69},{"type":9,"tag":37,"props":1828,"children":1829},{"style":72},[1830],{"type":14,"value":75},{"type":9,"tag":37,"props":1832,"children":1833},{"style":44},[1834],{"type":14,"value":80},{"type":9,"tag":37,"props":1836,"children":1837},{"class":39,"line":83},[1838,1842,1846,1850,1854],{"type":9,"tag":37,"props":1839,"children":1840},{"style":87},[1841],{"type":14,"value":695},{"type":9,"tag":37,"props":1843,"children":1844},{"style":87},[1845],{"type":14,"value":700},{"type":9,"tag":37,"props":1847,"children":1848},{"style":44},[1849],{"type":14,"value":705},{"type":9,"tag":37,"props":1851,"children":1852},{"style":87},[1853],{"type":14,"value":710},{"type":9,"tag":37,"props":1855,"children":1856},{"style":72},[1857],{"type":14,"value":715},{"type":9,"tag":37,"props":1859,"children":1860},{"class":39,"line":148},[1861,1865,1869,1873,1877],{"type":9,"tag":37,"props":1862,"children":1863},{"style":87},[1864],{"type":14,"value":695},{"type":9,"tag":37,"props":1866,"children":1867},{"style":87},[1868],{"type":14,"value":700},{"type":9,"tag":37,"props":1870,"children":1871},{"style":44},[1872],{"type":14,"value":731},{"type":9,"tag":37,"props":1874,"children":1875},{"style":87},[1876],{"type":14,"value":710},{"type":9,"tag":37,"props":1878,"children":1879},{"style":72},[1880],{"type":14,"value":740},{"type":9,"tag":37,"props":1882,"children":1883},{"class":39,"line":208},[1884],{"type":9,"tag":37,"props":1885,"children":1886},{"emptyLinePlaceholder":266},[1887],{"type":14,"value":269},{"type":9,"tag":37,"props":1889,"children":1890},{"class":39,"line":245},[1891,1895,1899,1903,1907,1911,1916],{"type":9,"tag":37,"props":1892,"children":1893},{"style":87},[1894],{"type":14,"value":90},{"type":9,"tag":37,"props":1896,"children":1897},{"style":93},[1898],{"type":14,"value":96},{"type":9,"tag":37,"props":1900,"children":1901},{"style":87},[1902],{"type":14,"value":101},{"type":9,"tag":37,"props":1904,"children":1905},{"style":56},[1906],{"type":14,"value":767},{"type":9,"tag":37,"props":1908,"children":1909},{"style":44},[1910],{"type":14,"value":232},{"type":9,"tag":37,"props":1912,"children":1913},{"style":93},[1914],{"type":14,"value":1915},"8",{"type":9,"tag":37,"props":1917,"children":1918},{"style":44},[1919],{"type":14,"value":242},{"type":9,"tag":37,"props":1921,"children":1922},{"class":39,"line":262},[1923,1927,1931,1935,1939,1943,1947,1951,1955,1959,1963,1967,1971,1975,1979,1983,1987,1991,1995,1999,2003,2007],{"type":9,"tag":37,"props":1924,"children":1925},{"style":87},[1926],{"type":14,"value":90},{"type":9,"tag":37,"props":1928,"children":1929},{"style":56},[1930],{"type":14,"value":792},{"type":9,"tag":37,"props":1932,"children":1933},{"style":87},[1934],{"type":14,"value":797},{"type":9,"tag":37,"props":1936,"children":1937},{"style":56},[1938],{"type":14,"value":802},{"type":9,"tag":37,"props":1940,"children":1941},{"style":44},[1942],{"type":14,"value":47},{"type":9,"tag":37,"props":1944,"children":1945},{"style":56},[1946],{"type":14,"value":811},{"type":9,"tag":37,"props":1948,"children":1949},{"style":44},[1950],{"type":14,"value":816},{"type":9,"tag":37,"props":1952,"children":1953},{"style":72},[1954],{"type":14,"value":821},{"type":9,"tag":37,"props":1956,"children":1957},{"style":44},[1958],{"type":14,"value":826},{"type":9,"tag":37,"props":1960,"children":1961},{"style":87},[1962],{"type":14,"value":69},{"type":9,"tag":37,"props":1964,"children":1965},{"style":44},[1966],{"type":14,"value":835},{"type":9,"tag":37,"props":1968,"children":1969},{"style":838},[1970],{"type":14,"value":841},{"type":9,"tag":37,"props":1972,"children":1973},{"style":44},[1974],{"type":14,"value":846},{"type":9,"tag":37,"props":1976,"children":1977},{"style":87},[1978],{"type":14,"value":851},{"type":9,"tag":37,"props":1980,"children":1981},{"style":72},[1982],{"type":14,"value":856},{"type":9,"tag":37,"props":1984,"children":1985},{"style":56},[1986],{"type":14,"value":841},{"type":9,"tag":37,"props":1988,"children":1989},{"style":72},[1990],{"type":14,"value":47},{"type":9,"tag":37,"props":1992,"children":1993},{"style":93},[1994],{"type":14,"value":869},{"type":9,"tag":37,"props":1996,"children":1997},{"style":72},[1998],{"type":14,"value":874},{"type":9,"tag":37,"props":2000,"children":2001},{"style":56},[2002],{"type":14,"value":879},{"type":9,"tag":37,"props":2004,"children":2005},{"style":72},[2006],{"type":14,"value":575},{"type":9,"tag":37,"props":2008,"children":2009},{"style":72},[2010],{"type":14,"value":888},{"type":9,"tag":37,"props":2012,"children":2013},{"class":39,"line":272},[2014],{"type":9,"tag":37,"props":2015,"children":2016},{"emptyLinePlaceholder":266},[2017],{"type":14,"value":269},{"type":9,"tag":37,"props":2019,"children":2020},{"class":39,"line":289},[2021,2025,2029,2033,2037,2041,2045,2049,2053],{"type":9,"tag":37,"props":2022,"children":2023},{"style":87},[2024],{"type":14,"value":90},{"type":9,"tag":37,"props":2026,"children":2027},{"style":93},[2028],{"type":14,"value":158},{"type":9,"tag":37,"props":2030,"children":2031},{"style":87},[2032],{"type":14,"value":797},{"type":9,"tag":37,"props":2034,"children":2035},{"style":56},[2036],{"type":14,"value":915},{"type":9,"tag":37,"props":2038,"children":2039},{"style":44},[2040],{"type":14,"value":47},{"type":9,"tag":37,"props":2042,"children":2043},{"style":56},[2044],{"type":14,"value":811},{"type":9,"tag":37,"props":2046,"children":2047},{"style":44},[2048],{"type":14,"value":928},{"type":9,"tag":37,"props":2050,"children":2051},{"style":87},[2052],{"type":14,"value":69},{"type":9,"tag":37,"props":2054,"children":2055},{"style":44},[2056],{"type":14,"value":937},{"type":9,"tag":37,"props":2058,"children":2059},{"class":39,"line":392},[2060,2064,2068,2072,2076,2081,2086,2090,2094],{"type":9,"tag":37,"props":2061,"children":2062},{"style":44},[2063],{"type":14,"value":945},{"type":9,"tag":37,"props":2065,"children":2066},{"style":72},[2067],{"type":14,"value":950},{"type":9,"tag":37,"props":2069,"children":2070},{"style":44},[2071],{"type":14,"value":177},{"type":9,"tag":37,"props":2073,"children":2074},{"style":72},[2075],{"type":14,"value":959},{"type":9,"tag":37,"props":2077,"children":2078},{"style":44},[2079],{"type":14,"value":2080},", fixed: ",{"type":9,"tag":37,"props":2082,"children":2083},{"style":72},[2084],{"type":14,"value":2085},"'left'",{"type":9,"tag":37,"props":2087,"children":2088},{"style":44},[2089],{"type":14,"value":964},{"type":9,"tag":37,"props":2091,"children":2092},{"style":93},[2093],{"type":14,"value":969},{"type":9,"tag":37,"props":2095,"children":2096},{"style":44},[2097],{"type":14,"value":974},{"type":9,"tag":37,"props":2099,"children":2100},{"class":39,"line":419},[2101,2105,2109,2113,2117,2121,2125,2129,2133],{"type":9,"tag":37,"props":2102,"children":2103},{"style":44},[2104],{"type":14,"value":945},{"type":9,"tag":37,"props":2106,"children":2107},{"style":72},[2108],{"type":14,"value":172},{"type":9,"tag":37,"props":2110,"children":2111},{"style":44},[2112],{"type":14,"value":177},{"type":9,"tag":37,"props":2114,"children":2115},{"style":72},[2116],{"type":14,"value":994},{"type":9,"tag":37,"props":2118,"children":2119},{"style":44},[2120],{"type":14,"value":2080},{"type":9,"tag":37,"props":2122,"children":2123},{"style":72},[2124],{"type":14,"value":2085},{"type":9,"tag":37,"props":2126,"children":2127},{"style":44},[2128],{"type":14,"value":964},{"type":9,"tag":37,"props":2130,"children":2131},{"style":93},[2132],{"type":14,"value":1047},{"type":9,"tag":37,"props":2134,"children":2135},{"style":44},[2136],{"type":14,"value":974},{"type":9,"tag":37,"props":2138,"children":2139},{"class":39,"line":509},[2140,2144,2149,2153,2158],{"type":9,"tag":37,"props":2141,"children":2142},{"style":44},[2143],{"type":14,"value":945},{"type":9,"tag":37,"props":2145,"children":2146},{"style":72},[2147],{"type":14,"value":2148},"'role'",{"type":9,"tag":37,"props":2150,"children":2151},{"style":44},[2152],{"type":14,"value":177},{"type":9,"tag":37,"props":2154,"children":2155},{"style":72},[2156],{"type":14,"value":2157},"'岗位'",{"type":9,"tag":37,"props":2159,"children":2160},{"style":44},[2161],{"type":14,"value":974},{"type":9,"tag":37,"props":2163,"children":2164},{"class":39,"line":586},[2165,2169,2174,2178,2183],{"type":9,"tag":37,"props":2166,"children":2167},{"style":44},[2168],{"type":14,"value":945},{"type":9,"tag":37,"props":2170,"children":2171},{"style":72},[2172],{"type":14,"value":2173},"'address'",{"type":9,"tag":37,"props":2175,"children":2176},{"style":44},[2177],{"type":14,"value":177},{"type":9,"tag":37,"props":2179,"children":2180},{"style":72},[2181],{"type":14,"value":2182},"'地址'",{"type":9,"tag":37,"props":2184,"children":2185},{"style":44},[2186],{"type":14,"value":974},{"type":9,"tag":37,"props":2188,"children":2189},{"class":39,"line":603},[2190,2194,2199,2203,2208],{"type":9,"tag":37,"props":2191,"children":2192},{"style":44},[2193],{"type":14,"value":945},{"type":9,"tag":37,"props":2195,"children":2196},{"style":72},[2197],{"type":14,"value":2198},"'email'",{"type":9,"tag":37,"props":2200,"children":2201},{"style":44},[2202],{"type":14,"value":177},{"type":9,"tag":37,"props":2204,"children":2205},{"style":72},[2206],{"type":14,"value":2207},"'邮箱'",{"type":9,"tag":37,"props":2209,"children":2210},{"style":44},[2211],{"type":14,"value":974},{"type":9,"tag":37,"props":2213,"children":2214},{"class":39,"line":620},[2215,2219,2223,2227,2231,2235,2239,2243,2247],{"type":9,"tag":37,"props":2216,"children":2217},{"style":44},[2218],{"type":14,"value":945},{"type":9,"tag":37,"props":2220,"children":2221},{"style":72},[2222],{"type":14,"value":1096},{"type":9,"tag":37,"props":2224,"children":2225},{"style":44},[2226],{"type":14,"value":177},{"type":9,"tag":37,"props":2228,"children":2229},{"style":72},[2230],{"type":14,"value":1105},{"type":9,"tag":37,"props":2232,"children":2233},{"style":44},[2234],{"type":14,"value":2080},{"type":9,"tag":37,"props":2236,"children":2237},{"style":72},[2238],{"type":14,"value":1115},{"type":9,"tag":37,"props":2240,"children":2241},{"style":44},[2242],{"type":14,"value":1110},{"type":9,"tag":37,"props":2244,"children":2245},{"style":72},[2246],{"type":14,"value":1115},{"type":9,"tag":37,"props":2248,"children":2249},{"style":44},[2250],{"type":14,"value":1128},{"type":9,"tag":37,"props":2252,"children":2253},{"class":39,"line":1139},[2254],{"type":9,"tag":37,"props":2255,"children":2256},{"style":44},[2257],{"type":14,"value":1136},{"type":9,"tag":37,"props":2259,"children":2260},{"class":39,"line":1155},[2261,2265,2269],{"type":9,"tag":37,"props":2262,"children":2263},{"style":44},[2264],{"type":14,"value":251},{"type":9,"tag":37,"props":2266,"children":2267},{"style":50},[2268],{"type":14,"value":53},{"type":9,"tag":37,"props":2270,"children":2271},{"style":44},[2272],{"type":14,"value":80},{"type":9,"tag":37,"props":2274,"children":2275},{"class":39,"line":1163},[2276],{"type":9,"tag":37,"props":2277,"children":2278},{"emptyLinePlaceholder":266},[2279],{"type":14,"value":269},{"type":9,"tag":37,"props":2281,"children":2282},{"class":39,"line":1179},[2283,2287,2291],{"type":9,"tag":37,"props":2284,"children":2285},{"style":44},[2286],{"type":14,"value":47},{"type":9,"tag":37,"props":2288,"children":2289},{"style":50},[2290],{"type":14,"value":282},{"type":9,"tag":37,"props":2292,"children":2293},{"style":44},[2294],{"type":14,"value":80},{"type":9,"tag":37,"props":2296,"children":2297},{"class":39,"line":1243},[2298,2302,2306,2310,2314,2318,2322,2326,2330,2334,2338,2342,2346,2350,2354,2358,2363,2367,2371,2376,2381,2386,2390],{"type":9,"tag":37,"props":2299,"children":2300},{"style":44},[2301],{"type":14,"value":295},{"type":9,"tag":37,"props":2303,"children":2304},{"style":50},[2305],{"type":14,"value":300},{"type":9,"tag":37,"props":2307,"children":2308},{"style":44},[2309],{"type":14,"value":319},{"type":9,"tag":37,"props":2311,"children":2312},{"style":56},[2313],{"type":14,"value":350},{"type":9,"tag":37,"props":2315,"children":2316},{"style":44},[2317],{"type":14,"value":69},{"type":9,"tag":37,"props":2319,"children":2320},{"style":72},[2321],{"type":14,"value":333},{"type":9,"tag":37,"props":2323,"children":2324},{"style":44},[2325],{"type":14,"value":350},{"type":9,"tag":37,"props":2327,"children":2328},{"style":72},[2329],{"type":14,"value":333},{"type":9,"tag":37,"props":2331,"children":2332},{"style":44},[2333],{"type":14,"value":319},{"type":9,"tag":37,"props":2335,"children":2336},{"style":56},[2337],{"type":14,"value":324},{"type":9,"tag":37,"props":2339,"children":2340},{"style":44},[2341],{"type":14,"value":69},{"type":9,"tag":37,"props":2343,"children":2344},{"style":72},[2345],{"type":14,"value":333},{"type":9,"tag":37,"props":2347,"children":2348},{"style":44},[2349],{"type":14,"value":324},{"type":9,"tag":37,"props":2351,"children":2352},{"style":72},[2353],{"type":14,"value":333},{"type":9,"tag":37,"props":2355,"children":2356},{"style":44},[2357],{"type":14,"value":319},{"type":9,"tag":37,"props":2359,"children":2360},{"style":56},[2361],{"type":14,"value":2362},"ui",{"type":9,"tag":37,"props":2364,"children":2365},{"style":44},[2366],{"type":14,"value":69},{"type":9,"tag":37,"props":2368,"children":2369},{"style":72},[2370],{"type":14,"value":333},{"type":9,"tag":37,"props":2372,"children":2373},{"style":44},[2374],{"type":14,"value":2375},"{ root: ",{"type":9,"tag":37,"props":2377,"children":2378},{"style":72},[2379],{"type":14,"value":2380},"'max-w-2xl'",{"type":9,"tag":37,"props":2382,"children":2383},{"style":44},[2384],{"type":14,"value":2385}," }",{"type":9,"tag":37,"props":2387,"children":2388},{"style":72},[2389],{"type":14,"value":333},{"type":9,"tag":37,"props":2391,"children":2392},{"style":44},[2393],{"type":14,"value":506},{"type":9,"tag":37,"props":2395,"children":2396},{"class":39,"line":1268},[2397,2401,2405],{"type":9,"tag":37,"props":2398,"children":2399},{"style":44},[2400],{"type":14,"value":251},{"type":9,"tag":37,"props":2402,"children":2403},{"style":50},[2404],{"type":14,"value":282},{"type":9,"tag":37,"props":2406,"children":2407},{"style":44},[2408],{"type":14,"value":80},{"type":9,"tag":635,"props":2410,"children":2411},{},[2412],{"type":14,"value":639},{"title":22,"searchDepth":83,"depth":83,"links":2414},[],{"code":2416,"filePath":2417,"pascalName":2418},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn, DataTableProps } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号' },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  { accessorKey: 'bio', header: '个人简介' },\n  { accessorKey: 'address', header: '地址', size: 200 },\n  { accessorKey: 'salary', header: '薪资', align: 'right', cell: moneyCell }\n]\n\nconst sortableFn: DataTableProps\u003CPerson>['sortable'] = col => col.accessorKey !== 'id'\nconst pinableFn: DataTableProps\u003CPerson>['pinable'] = col => !['bio', 'address'].includes(col.accessorKey)\nconst resizableFn: DataTableProps\u003CPerson>['resizable'] = col => col.accessorKey !== 'salary'\nconst truncateFn: DataTableDataColumn\u003CPerson>['truncate'] = ctx =>\n  ctx.column.id === 'bio' ? (ctx.row.original.bio.length > 45 ? 3 : 2) : true\nconst tooltipFn: DataTableDataColumn\u003CPerson>['tooltip'] = ctx => ctx.column.id === 'address'\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable\n    :columns=\"columns\"\n    :data=\"data\"\n    :sortable=\"sortableFn\"\n    :pinable=\"pinableFn\"\n    :resizable=\"resizableFn\"\n    :truncate=\"truncateFn\"\n    :tooltip=\"tooltipFn\"\n  \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fcolumns\u002FDataTableFunctionalExample.vue","DataTableFunctionalExample",{"data":2420,"body":2421,"toc":3556},{"title":22,"description":22},{"type":6,"children":2422},[2423,3552],{"type":9,"tag":26,"props":2424,"children":2426},{"className":28,"code":2425,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn, DataTableProps } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号' },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  { accessorKey: 'bio', header: '个人简介' },\n  { accessorKey: 'address', header: '地址', size: 200 },\n  { accessorKey: 'salary', header: '薪资', align: 'right', cell: moneyCell }\n]\n\nconst sortableFn: DataTableProps\u003CPerson>['sortable'] = col => col.accessorKey !== 'id'\nconst pinableFn: DataTableProps\u003CPerson>['pinable'] = col => !['bio', 'address'].includes(col.accessorKey)\nconst resizableFn: DataTableProps\u003CPerson>['resizable'] = col => col.accessorKey !== 'salary'\nconst truncateFn: DataTableDataColumn\u003CPerson>['truncate'] = ctx =>\n  ctx.column.id === 'bio' ? (ctx.row.original.bio.length > 45 ? 3 : 2) : true\nconst tooltipFn: DataTableDataColumn\u003CPerson>['tooltip'] = ctx => ctx.column.id === 'address'\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable\n    :columns=\"columns\"\n    :data=\"data\"\n    :sortable=\"sortableFn\"\n    :pinable=\"pinableFn\"\n    :resizable=\"resizableFn\"\n    :truncate=\"truncateFn\"\n    :tooltip=\"tooltipFn\"\n  \u002F>\n\u003C\u002Ftemplate>\n\n",[2427],{"type":9,"tag":33,"props":2428,"children":2429},{"__ignoreMap":22},[2430,2461,2485,2508,2515,2546,2637,2644,2683,2706,2729,2752,2777,2809,2840,2847,2854,2925,3016,3082,3137,3212,3279,3294,3301,3316,3328,3357,3384,3413,3442,3471,3500,3529,3537],{"type":9,"tag":37,"props":2431,"children":2432},{"class":39,"line":40},[2433,2437,2441,2445,2449,2453,2457],{"type":9,"tag":37,"props":2434,"children":2435},{"style":44},[2436],{"type":14,"value":47},{"type":9,"tag":37,"props":2438,"children":2439},{"style":50},[2440],{"type":14,"value":53},{"type":9,"tag":37,"props":2442,"children":2443},{"style":56},[2444],{"type":14,"value":59},{"type":9,"tag":37,"props":2446,"children":2447},{"style":56},[2448],{"type":14,"value":64},{"type":9,"tag":37,"props":2450,"children":2451},{"style":44},[2452],{"type":14,"value":69},{"type":9,"tag":37,"props":2454,"children":2455},{"style":72},[2456],{"type":14,"value":75},{"type":9,"tag":37,"props":2458,"children":2459},{"style":44},[2460],{"type":14,"value":80},{"type":9,"tag":37,"props":2462,"children":2463},{"class":39,"line":83},[2464,2468,2472,2477,2481],{"type":9,"tag":37,"props":2465,"children":2466},{"style":87},[2467],{"type":14,"value":695},{"type":9,"tag":37,"props":2469,"children":2470},{"style":87},[2471],{"type":14,"value":700},{"type":9,"tag":37,"props":2473,"children":2474},{"style":44},[2475],{"type":14,"value":2476}," { DataTableColumn, DataTableDataColumn, DataTableProps } ",{"type":9,"tag":37,"props":2478,"children":2479},{"style":87},[2480],{"type":14,"value":710},{"type":9,"tag":37,"props":2482,"children":2483},{"style":72},[2484],{"type":14,"value":715},{"type":9,"tag":37,"props":2486,"children":2487},{"class":39,"line":148},[2488,2492,2496,2500,2504],{"type":9,"tag":37,"props":2489,"children":2490},{"style":87},[2491],{"type":14,"value":695},{"type":9,"tag":37,"props":2493,"children":2494},{"style":87},[2495],{"type":14,"value":700},{"type":9,"tag":37,"props":2497,"children":2498},{"style":44},[2499],{"type":14,"value":731},{"type":9,"tag":37,"props":2501,"children":2502},{"style":87},[2503],{"type":14,"value":710},{"type":9,"tag":37,"props":2505,"children":2506},{"style":72},[2507],{"type":14,"value":740},{"type":9,"tag":37,"props":2509,"children":2510},{"class":39,"line":208},[2511],{"type":9,"tag":37,"props":2512,"children":2513},{"emptyLinePlaceholder":266},[2514],{"type":14,"value":269},{"type":9,"tag":37,"props":2516,"children":2517},{"class":39,"line":245},[2518,2522,2526,2530,2534,2538,2542],{"type":9,"tag":37,"props":2519,"children":2520},{"style":87},[2521],{"type":14,"value":90},{"type":9,"tag":37,"props":2523,"children":2524},{"style":93},[2525],{"type":14,"value":96},{"type":9,"tag":37,"props":2527,"children":2528},{"style":87},[2529],{"type":14,"value":101},{"type":9,"tag":37,"props":2531,"children":2532},{"style":56},[2533],{"type":14,"value":767},{"type":9,"tag":37,"props":2535,"children":2536},{"style":44},[2537],{"type":14,"value":232},{"type":9,"tag":37,"props":2539,"children":2540},{"style":93},[2541],{"type":14,"value":1915},{"type":9,"tag":37,"props":2543,"children":2544},{"style":44},[2545],{"type":14,"value":242},{"type":9,"tag":37,"props":2547,"children":2548},{"class":39,"line":262},[2549,2553,2557,2561,2565,2569,2573,2577,2581,2585,2589,2593,2597,2601,2605,2609,2613,2617,2621,2625,2629,2633],{"type":9,"tag":37,"props":2550,"children":2551},{"style":87},[2552],{"type":14,"value":90},{"type":9,"tag":37,"props":2554,"children":2555},{"style":56},[2556],{"type":14,"value":792},{"type":9,"tag":37,"props":2558,"children":2559},{"style":87},[2560],{"type":14,"value":797},{"type":9,"tag":37,"props":2562,"children":2563},{"style":56},[2564],{"type":14,"value":802},{"type":9,"tag":37,"props":2566,"children":2567},{"style":44},[2568],{"type":14,"value":47},{"type":9,"tag":37,"props":2570,"children":2571},{"style":56},[2572],{"type":14,"value":811},{"type":9,"tag":37,"props":2574,"children":2575},{"style":44},[2576],{"type":14,"value":816},{"type":9,"tag":37,"props":2578,"children":2579},{"style":72},[2580],{"type":14,"value":821},{"type":9,"tag":37,"props":2582,"children":2583},{"style":44},[2584],{"type":14,"value":826},{"type":9,"tag":37,"props":2586,"children":2587},{"style":87},[2588],{"type":14,"value":69},{"type":9,"tag":37,"props":2590,"children":2591},{"style":44},[2592],{"type":14,"value":835},{"type":9,"tag":37,"props":2594,"children":2595},{"style":838},[2596],{"type":14,"value":841},{"type":9,"tag":37,"props":2598,"children":2599},{"style":44},[2600],{"type":14,"value":846},{"type":9,"tag":37,"props":2602,"children":2603},{"style":87},[2604],{"type":14,"value":851},{"type":9,"tag":37,"props":2606,"children":2607},{"style":72},[2608],{"type":14,"value":856},{"type":9,"tag":37,"props":2610,"children":2611},{"style":56},[2612],{"type":14,"value":841},{"type":9,"tag":37,"props":2614,"children":2615},{"style":72},[2616],{"type":14,"value":47},{"type":9,"tag":37,"props":2618,"children":2619},{"style":93},[2620],{"type":14,"value":869},{"type":9,"tag":37,"props":2622,"children":2623},{"style":72},[2624],{"type":14,"value":874},{"type":9,"tag":37,"props":2626,"children":2627},{"style":56},[2628],{"type":14,"value":879},{"type":9,"tag":37,"props":2630,"children":2631},{"style":72},[2632],{"type":14,"value":575},{"type":9,"tag":37,"props":2634,"children":2635},{"style":72},[2636],{"type":14,"value":888},{"type":9,"tag":37,"props":2638,"children":2639},{"class":39,"line":272},[2640],{"type":9,"tag":37,"props":2641,"children":2642},{"emptyLinePlaceholder":266},[2643],{"type":14,"value":269},{"type":9,"tag":37,"props":2645,"children":2646},{"class":39,"line":289},[2647,2651,2655,2659,2663,2667,2671,2675,2679],{"type":9,"tag":37,"props":2648,"children":2649},{"style":87},[2650],{"type":14,"value":90},{"type":9,"tag":37,"props":2652,"children":2653},{"style":93},[2654],{"type":14,"value":158},{"type":9,"tag":37,"props":2656,"children":2657},{"style":87},[2658],{"type":14,"value":797},{"type":9,"tag":37,"props":2660,"children":2661},{"style":56},[2662],{"type":14,"value":915},{"type":9,"tag":37,"props":2664,"children":2665},{"style":44},[2666],{"type":14,"value":47},{"type":9,"tag":37,"props":2668,"children":2669},{"style":56},[2670],{"type":14,"value":811},{"type":9,"tag":37,"props":2672,"children":2673},{"style":44},[2674],{"type":14,"value":928},{"type":9,"tag":37,"props":2676,"children":2677},{"style":87},[2678],{"type":14,"value":69},{"type":9,"tag":37,"props":2680,"children":2681},{"style":44},[2682],{"type":14,"value":937},{"type":9,"tag":37,"props":2684,"children":2685},{"class":39,"line":392},[2686,2690,2694,2698,2702],{"type":9,"tag":37,"props":2687,"children":2688},{"style":44},[2689],{"type":14,"value":945},{"type":9,"tag":37,"props":2691,"children":2692},{"style":72},[2693],{"type":14,"value":950},{"type":9,"tag":37,"props":2695,"children":2696},{"style":44},[2697],{"type":14,"value":177},{"type":9,"tag":37,"props":2699,"children":2700},{"style":72},[2701],{"type":14,"value":959},{"type":9,"tag":37,"props":2703,"children":2704},{"style":44},[2705],{"type":14,"value":974},{"type":9,"tag":37,"props":2707,"children":2708},{"class":39,"line":419},[2709,2713,2717,2721,2725],{"type":9,"tag":37,"props":2710,"children":2711},{"style":44},[2712],{"type":14,"value":945},{"type":9,"tag":37,"props":2714,"children":2715},{"style":72},[2716],{"type":14,"value":172},{"type":9,"tag":37,"props":2718,"children":2719},{"style":44},[2720],{"type":14,"value":177},{"type":9,"tag":37,"props":2722,"children":2723},{"style":72},[2724],{"type":14,"value":994},{"type":9,"tag":37,"props":2726,"children":2727},{"style":44},[2728],{"type":14,"value":974},{"type":9,"tag":37,"props":2730,"children":2731},{"class":39,"line":509},[2732,2736,2740,2744,2748],{"type":9,"tag":37,"props":2733,"children":2734},{"style":44},[2735],{"type":14,"value":945},{"type":9,"tag":37,"props":2737,"children":2738},{"style":72},[2739],{"type":14,"value":1029},{"type":9,"tag":37,"props":2741,"children":2742},{"style":44},[2743],{"type":14,"value":177},{"type":9,"tag":37,"props":2745,"children":2746},{"style":72},[2747],{"type":14,"value":1038},{"type":9,"tag":37,"props":2749,"children":2750},{"style":44},[2751],{"type":14,"value":974},{"type":9,"tag":37,"props":2753,"children":2754},{"class":39,"line":586},[2755,2759,2764,2768,2773],{"type":9,"tag":37,"props":2756,"children":2757},{"style":44},[2758],{"type":14,"value":945},{"type":9,"tag":37,"props":2760,"children":2761},{"style":72},[2762],{"type":14,"value":2763},"'bio'",{"type":9,"tag":37,"props":2765,"children":2766},{"style":44},[2767],{"type":14,"value":177},{"type":9,"tag":37,"props":2769,"children":2770},{"style":72},[2771],{"type":14,"value":2772},"'个人简介'",{"type":9,"tag":37,"props":2774,"children":2775},{"style":44},[2776],{"type":14,"value":974},{"type":9,"tag":37,"props":2778,"children":2779},{"class":39,"line":603},[2780,2784,2788,2792,2796,2800,2805],{"type":9,"tag":37,"props":2781,"children":2782},{"style":44},[2783],{"type":14,"value":945},{"type":9,"tag":37,"props":2785,"children":2786},{"style":72},[2787],{"type":14,"value":2173},{"type":9,"tag":37,"props":2789,"children":2790},{"style":44},[2791],{"type":14,"value":177},{"type":9,"tag":37,"props":2793,"children":2794},{"style":72},[2795],{"type":14,"value":2182},{"type":9,"tag":37,"props":2797,"children":2798},{"style":44},[2799],{"type":14,"value":964},{"type":9,"tag":37,"props":2801,"children":2802},{"style":93},[2803],{"type":14,"value":2804},"200",{"type":9,"tag":37,"props":2806,"children":2807},{"style":44},[2808],{"type":14,"value":974},{"type":9,"tag":37,"props":2810,"children":2811},{"class":39,"line":620},[2812,2816,2820,2824,2828,2832,2836],{"type":9,"tag":37,"props":2813,"children":2814},{"style":44},[2815],{"type":14,"value":945},{"type":9,"tag":37,"props":2817,"children":2818},{"style":72},[2819],{"type":14,"value":1096},{"type":9,"tag":37,"props":2821,"children":2822},{"style":44},[2823],{"type":14,"value":177},{"type":9,"tag":37,"props":2825,"children":2826},{"style":72},[2827],{"type":14,"value":1105},{"type":9,"tag":37,"props":2829,"children":2830},{"style":44},[2831],{"type":14,"value":1110},{"type":9,"tag":37,"props":2833,"children":2834},{"style":72},[2835],{"type":14,"value":1115},{"type":9,"tag":37,"props":2837,"children":2838},{"style":44},[2839],{"type":14,"value":1128},{"type":9,"tag":37,"props":2841,"children":2842},{"class":39,"line":1139},[2843],{"type":9,"tag":37,"props":2844,"children":2845},{"style":44},[2846],{"type":14,"value":1136},{"type":9,"tag":37,"props":2848,"children":2849},{"class":39,"line":1155},[2850],{"type":9,"tag":37,"props":2851,"children":2852},{"emptyLinePlaceholder":266},[2853],{"type":14,"value":269},{"type":9,"tag":37,"props":2855,"children":2856},{"class":39,"line":1163},[2857,2861,2866,2870,2875,2879,2883,2887,2892,2896,2900,2905,2910,2915,2920],{"type":9,"tag":37,"props":2858,"children":2859},{"style":87},[2860],{"type":14,"value":90},{"type":9,"tag":37,"props":2862,"children":2863},{"style":56},[2864],{"type":14,"value":2865}," sortableFn",{"type":9,"tag":37,"props":2867,"children":2868},{"style":87},[2869],{"type":14,"value":797},{"type":9,"tag":37,"props":2871,"children":2872},{"style":56},[2873],{"type":14,"value":2874}," DataTableProps",{"type":9,"tag":37,"props":2876,"children":2877},{"style":44},[2878],{"type":14,"value":47},{"type":9,"tag":37,"props":2880,"children":2881},{"style":56},[2882],{"type":14,"value":811},{"type":9,"tag":37,"props":2884,"children":2885},{"style":44},[2886],{"type":14,"value":816},{"type":9,"tag":37,"props":2888,"children":2889},{"style":72},[2890],{"type":14,"value":2891},"'sortable'",{"type":9,"tag":37,"props":2893,"children":2894},{"style":44},[2895],{"type":14,"value":826},{"type":9,"tag":37,"props":2897,"children":2898},{"style":87},[2899],{"type":14,"value":69},{"type":9,"tag":37,"props":2901,"children":2902},{"style":838},[2903],{"type":14,"value":2904}," col",{"type":9,"tag":37,"props":2906,"children":2907},{"style":87},[2908],{"type":14,"value":2909}," =>",{"type":9,"tag":37,"props":2911,"children":2912},{"style":44},[2913],{"type":14,"value":2914}," col.accessorKey ",{"type":9,"tag":37,"props":2916,"children":2917},{"style":87},[2918],{"type":14,"value":2919},"!==",{"type":9,"tag":37,"props":2921,"children":2922},{"style":72},[2923],{"type":14,"value":2924}," 'id'\n",{"type":9,"tag":37,"props":2926,"children":2927},{"class":39,"line":1179},[2928,2932,2937,2941,2945,2949,2953,2957,2962,2966,2970,2974,2978,2983,2988,2992,2997,3001,3006,3011],{"type":9,"tag":37,"props":2929,"children":2930},{"style":87},[2931],{"type":14,"value":90},{"type":9,"tag":37,"props":2933,"children":2934},{"style":56},[2935],{"type":14,"value":2936}," pinableFn",{"type":9,"tag":37,"props":2938,"children":2939},{"style":87},[2940],{"type":14,"value":797},{"type":9,"tag":37,"props":2942,"children":2943},{"style":56},[2944],{"type":14,"value":2874},{"type":9,"tag":37,"props":2946,"children":2947},{"style":44},[2948],{"type":14,"value":47},{"type":9,"tag":37,"props":2950,"children":2951},{"style":56},[2952],{"type":14,"value":811},{"type":9,"tag":37,"props":2954,"children":2955},{"style":44},[2956],{"type":14,"value":816},{"type":9,"tag":37,"props":2958,"children":2959},{"style":72},[2960],{"type":14,"value":2961},"'pinable'",{"type":9,"tag":37,"props":2963,"children":2964},{"style":44},[2965],{"type":14,"value":826},{"type":9,"tag":37,"props":2967,"children":2968},{"style":87},[2969],{"type":14,"value":69},{"type":9,"tag":37,"props":2971,"children":2972},{"style":838},[2973],{"type":14,"value":2904},{"type":9,"tag":37,"props":2975,"children":2976},{"style":87},[2977],{"type":14,"value":2909},{"type":9,"tag":37,"props":2979,"children":2980},{"style":87},[2981],{"type":14,"value":2982}," !",{"type":9,"tag":37,"props":2984,"children":2985},{"style":44},[2986],{"type":14,"value":2987},"[",{"type":9,"tag":37,"props":2989,"children":2990},{"style":72},[2991],{"type":14,"value":2763},{"type":9,"tag":37,"props":2993,"children":2994},{"style":44},[2995],{"type":14,"value":2996},", ",{"type":9,"tag":37,"props":2998,"children":2999},{"style":72},[3000],{"type":14,"value":2173},{"type":9,"tag":37,"props":3002,"children":3003},{"style":44},[3004],{"type":14,"value":3005},"].",{"type":9,"tag":37,"props":3007,"children":3008},{"style":56},[3009],{"type":14,"value":3010},"includes",{"type":9,"tag":37,"props":3012,"children":3013},{"style":44},[3014],{"type":14,"value":3015},"(col.accessorKey)\n",{"type":9,"tag":37,"props":3017,"children":3018},{"class":39,"line":1243},[3019,3023,3028,3032,3036,3040,3044,3048,3053,3057,3061,3065,3069,3073,3077],{"type":9,"tag":37,"props":3020,"children":3021},{"style":87},[3022],{"type":14,"value":90},{"type":9,"tag":37,"props":3024,"children":3025},{"style":56},[3026],{"type":14,"value":3027}," resizableFn",{"type":9,"tag":37,"props":3029,"children":3030},{"style":87},[3031],{"type":14,"value":797},{"type":9,"tag":37,"props":3033,"children":3034},{"style":56},[3035],{"type":14,"value":2874},{"type":9,"tag":37,"props":3037,"children":3038},{"style":44},[3039],{"type":14,"value":47},{"type":9,"tag":37,"props":3041,"children":3042},{"style":56},[3043],{"type":14,"value":811},{"type":9,"tag":37,"props":3045,"children":3046},{"style":44},[3047],{"type":14,"value":816},{"type":9,"tag":37,"props":3049,"children":3050},{"style":72},[3051],{"type":14,"value":3052},"'resizable'",{"type":9,"tag":37,"props":3054,"children":3055},{"style":44},[3056],{"type":14,"value":826},{"type":9,"tag":37,"props":3058,"children":3059},{"style":87},[3060],{"type":14,"value":69},{"type":9,"tag":37,"props":3062,"children":3063},{"style":838},[3064],{"type":14,"value":2904},{"type":9,"tag":37,"props":3066,"children":3067},{"style":87},[3068],{"type":14,"value":2909},{"type":9,"tag":37,"props":3070,"children":3071},{"style":44},[3072],{"type":14,"value":2914},{"type":9,"tag":37,"props":3074,"children":3075},{"style":87},[3076],{"type":14,"value":2919},{"type":9,"tag":37,"props":3078,"children":3079},{"style":72},[3080],{"type":14,"value":3081}," 'salary'\n",{"type":9,"tag":37,"props":3083,"children":3084},{"class":39,"line":1268},[3085,3089,3094,3098,3102,3106,3110,3114,3119,3123,3127,3132],{"type":9,"tag":37,"props":3086,"children":3087},{"style":87},[3088],{"type":14,"value":90},{"type":9,"tag":37,"props":3090,"children":3091},{"style":56},[3092],{"type":14,"value":3093}," truncateFn",{"type":9,"tag":37,"props":3095,"children":3096},{"style":87},[3097],{"type":14,"value":797},{"type":9,"tag":37,"props":3099,"children":3100},{"style":56},[3101],{"type":14,"value":802},{"type":9,"tag":37,"props":3103,"children":3104},{"style":44},[3105],{"type":14,"value":47},{"type":9,"tag":37,"props":3107,"children":3108},{"style":56},[3109],{"type":14,"value":811},{"type":9,"tag":37,"props":3111,"children":3112},{"style":44},[3113],{"type":14,"value":816},{"type":9,"tag":37,"props":3115,"children":3116},{"style":72},[3117],{"type":14,"value":3118},"'truncate'",{"type":9,"tag":37,"props":3120,"children":3121},{"style":44},[3122],{"type":14,"value":826},{"type":9,"tag":37,"props":3124,"children":3125},{"style":87},[3126],{"type":14,"value":69},{"type":9,"tag":37,"props":3128,"children":3129},{"style":838},[3130],{"type":14,"value":3131}," ctx",{"type":9,"tag":37,"props":3133,"children":3134},{"style":87},[3135],{"type":14,"value":3136}," =>\n",{"type":9,"tag":37,"props":3138,"children":3139},{"class":39,"line":1298},[3140,3145,3150,3155,3160,3165,3170,3175,3180,3184,3189,3193,3198,3203,3207],{"type":9,"tag":37,"props":3141,"children":3142},{"style":44},[3143],{"type":14,"value":3144},"  ctx.column.id ",{"type":9,"tag":37,"props":3146,"children":3147},{"style":87},[3148],{"type":14,"value":3149},"===",{"type":9,"tag":37,"props":3151,"children":3152},{"style":72},[3153],{"type":14,"value":3154}," 'bio'",{"type":9,"tag":37,"props":3156,"children":3157},{"style":87},[3158],{"type":14,"value":3159}," ?",{"type":9,"tag":37,"props":3161,"children":3162},{"style":44},[3163],{"type":14,"value":3164}," (ctx.row.original.bio.",{"type":9,"tag":37,"props":3166,"children":3167},{"style":93},[3168],{"type":14,"value":3169},"length",{"type":9,"tag":37,"props":3171,"children":3172},{"style":87},[3173],{"type":14,"value":3174}," >",{"type":9,"tag":37,"props":3176,"children":3177},{"style":93},[3178],{"type":14,"value":3179}," 45",{"type":9,"tag":37,"props":3181,"children":3182},{"style":87},[3183],{"type":14,"value":3159},{"type":9,"tag":37,"props":3185,"children":3186},{"style":93},[3187],{"type":14,"value":3188}," 3",{"type":9,"tag":37,"props":3190,"children":3191},{"style":87},[3192],{"type":14,"value":319},{"type":9,"tag":37,"props":3194,"children":3195},{"style":93},[3196],{"type":14,"value":3197}," 2",{"type":9,"tag":37,"props":3199,"children":3200},{"style":44},[3201],{"type":14,"value":3202},") ",{"type":9,"tag":37,"props":3204,"children":3205},{"style":87},[3206],{"type":14,"value":797},{"type":9,"tag":37,"props":3208,"children":3209},{"style":93},[3210],{"type":14,"value":3211}," true\n",{"type":9,"tag":37,"props":3213,"children":3214},{"class":39,"line":1349},[3215,3219,3224,3228,3232,3236,3240,3244,3249,3253,3257,3261,3265,3270,3274],{"type":9,"tag":37,"props":3216,"children":3217},{"style":87},[3218],{"type":14,"value":90},{"type":9,"tag":37,"props":3220,"children":3221},{"style":56},[3222],{"type":14,"value":3223}," tooltipFn",{"type":9,"tag":37,"props":3225,"children":3226},{"style":87},[3227],{"type":14,"value":797},{"type":9,"tag":37,"props":3229,"children":3230},{"style":56},[3231],{"type":14,"value":802},{"type":9,"tag":37,"props":3233,"children":3234},{"style":44},[3235],{"type":14,"value":47},{"type":9,"tag":37,"props":3237,"children":3238},{"style":56},[3239],{"type":14,"value":811},{"type":9,"tag":37,"props":3241,"children":3242},{"style":44},[3243],{"type":14,"value":816},{"type":9,"tag":37,"props":3245,"children":3246},{"style":72},[3247],{"type":14,"value":3248},"'tooltip'",{"type":9,"tag":37,"props":3250,"children":3251},{"style":44},[3252],{"type":14,"value":826},{"type":9,"tag":37,"props":3254,"children":3255},{"style":87},[3256],{"type":14,"value":69},{"type":9,"tag":37,"props":3258,"children":3259},{"style":838},[3260],{"type":14,"value":3131},{"type":9,"tag":37,"props":3262,"children":3263},{"style":87},[3264],{"type":14,"value":2909},{"type":9,"tag":37,"props":3266,"children":3267},{"style":44},[3268],{"type":14,"value":3269}," ctx.column.id ",{"type":9,"tag":37,"props":3271,"children":3272},{"style":87},[3273],{"type":14,"value":3149},{"type":9,"tag":37,"props":3275,"children":3276},{"style":72},[3277],{"type":14,"value":3278}," 'address'\n",{"type":9,"tag":37,"props":3280,"children":3281},{"class":39,"line":1358},[3282,3286,3290],{"type":9,"tag":37,"props":3283,"children":3284},{"style":44},[3285],{"type":14,"value":251},{"type":9,"tag":37,"props":3287,"children":3288},{"style":50},[3289],{"type":14,"value":53},{"type":9,"tag":37,"props":3291,"children":3292},{"style":44},[3293],{"type":14,"value":80},{"type":9,"tag":37,"props":3295,"children":3296},{"class":39,"line":1375},[3297],{"type":9,"tag":37,"props":3298,"children":3299},{"emptyLinePlaceholder":266},[3300],{"type":14,"value":269},{"type":9,"tag":37,"props":3302,"children":3303},{"class":39,"line":1391},[3304,3308,3312],{"type":9,"tag":37,"props":3305,"children":3306},{"style":44},[3307],{"type":14,"value":47},{"type":9,"tag":37,"props":3309,"children":3310},{"style":50},[3311],{"type":14,"value":282},{"type":9,"tag":37,"props":3313,"children":3314},{"style":44},[3315],{"type":14,"value":80},{"type":9,"tag":37,"props":3317,"children":3318},{"class":39,"line":1399},[3319,3323],{"type":9,"tag":37,"props":3320,"children":3321},{"style":44},[3322],{"type":14,"value":295},{"type":9,"tag":37,"props":3324,"children":3325},{"style":50},[3326],{"type":14,"value":3327},"MDataTable\n",{"type":9,"tag":37,"props":3329,"children":3330},{"class":39,"line":1441},[3331,3336,3340,3344,3348,3352],{"type":9,"tag":37,"props":3332,"children":3333},{"style":44},[3334],{"type":14,"value":3335},"    :",{"type":9,"tag":37,"props":3337,"children":3338},{"style":56},[3339],{"type":14,"value":350},{"type":9,"tag":37,"props":3341,"children":3342},{"style":44},[3343],{"type":14,"value":69},{"type":9,"tag":37,"props":3345,"children":3346},{"style":72},[3347],{"type":14,"value":333},{"type":9,"tag":37,"props":3349,"children":3350},{"style":44},[3351],{"type":14,"value":350},{"type":9,"tag":37,"props":3353,"children":3354},{"style":72},[3355],{"type":14,"value":3356},"\"\n",{"type":9,"tag":37,"props":3358,"children":3359},{"class":39,"line":1499},[3360,3364,3368,3372,3376,3380],{"type":9,"tag":37,"props":3361,"children":3362},{"style":44},[3363],{"type":14,"value":3335},{"type":9,"tag":37,"props":3365,"children":3366},{"style":56},[3367],{"type":14,"value":324},{"type":9,"tag":37,"props":3369,"children":3370},{"style":44},[3371],{"type":14,"value":69},{"type":9,"tag":37,"props":3373,"children":3374},{"style":72},[3375],{"type":14,"value":333},{"type":9,"tag":37,"props":3377,"children":3378},{"style":44},[3379],{"type":14,"value":324},{"type":9,"tag":37,"props":3381,"children":3382},{"style":72},[3383],{"type":14,"value":3356},{"type":9,"tag":37,"props":3385,"children":3386},{"class":39,"line":1508},[3387,3391,3396,3400,3404,3409],{"type":9,"tag":37,"props":3388,"children":3389},{"style":44},[3390],{"type":14,"value":3335},{"type":9,"tag":37,"props":3392,"children":3393},{"style":56},[3394],{"type":14,"value":3395},"sortable",{"type":9,"tag":37,"props":3397,"children":3398},{"style":44},[3399],{"type":14,"value":69},{"type":9,"tag":37,"props":3401,"children":3402},{"style":72},[3403],{"type":14,"value":333},{"type":9,"tag":37,"props":3405,"children":3406},{"style":44},[3407],{"type":14,"value":3408},"sortableFn",{"type":9,"tag":37,"props":3410,"children":3411},{"style":72},[3412],{"type":14,"value":3356},{"type":9,"tag":37,"props":3414,"children":3415},{"class":39,"line":1524},[3416,3420,3425,3429,3433,3438],{"type":9,"tag":37,"props":3417,"children":3418},{"style":44},[3419],{"type":14,"value":3335},{"type":9,"tag":37,"props":3421,"children":3422},{"style":56},[3423],{"type":14,"value":3424},"pinable",{"type":9,"tag":37,"props":3426,"children":3427},{"style":44},[3428],{"type":14,"value":69},{"type":9,"tag":37,"props":3430,"children":3431},{"style":72},[3432],{"type":14,"value":333},{"type":9,"tag":37,"props":3434,"children":3435},{"style":44},[3436],{"type":14,"value":3437},"pinableFn",{"type":9,"tag":37,"props":3439,"children":3440},{"style":72},[3441],{"type":14,"value":3356},{"type":9,"tag":37,"props":3443,"children":3444},{"class":39,"line":1540},[3445,3449,3454,3458,3462,3467],{"type":9,"tag":37,"props":3446,"children":3447},{"style":44},[3448],{"type":14,"value":3335},{"type":9,"tag":37,"props":3450,"children":3451},{"style":56},[3452],{"type":14,"value":3453},"resizable",{"type":9,"tag":37,"props":3455,"children":3456},{"style":44},[3457],{"type":14,"value":69},{"type":9,"tag":37,"props":3459,"children":3460},{"style":72},[3461],{"type":14,"value":333},{"type":9,"tag":37,"props":3463,"children":3464},{"style":44},[3465],{"type":14,"value":3466},"resizableFn",{"type":9,"tag":37,"props":3468,"children":3469},{"style":72},[3470],{"type":14,"value":3356},{"type":9,"tag":37,"props":3472,"children":3473},{"class":39,"line":1548},[3474,3478,3483,3487,3491,3496],{"type":9,"tag":37,"props":3475,"children":3476},{"style":44},[3477],{"type":14,"value":3335},{"type":9,"tag":37,"props":3479,"children":3480},{"style":56},[3481],{"type":14,"value":3482},"truncate",{"type":9,"tag":37,"props":3484,"children":3485},{"style":44},[3486],{"type":14,"value":69},{"type":9,"tag":37,"props":3488,"children":3489},{"style":72},[3490],{"type":14,"value":333},{"type":9,"tag":37,"props":3492,"children":3493},{"style":44},[3494],{"type":14,"value":3495},"truncateFn",{"type":9,"tag":37,"props":3497,"children":3498},{"style":72},[3499],{"type":14,"value":3356},{"type":9,"tag":37,"props":3501,"children":3502},{"class":39,"line":1590},[3503,3507,3512,3516,3520,3525],{"type":9,"tag":37,"props":3504,"children":3505},{"style":44},[3506],{"type":14,"value":3335},{"type":9,"tag":37,"props":3508,"children":3509},{"style":56},[3510],{"type":14,"value":3511},"tooltip",{"type":9,"tag":37,"props":3513,"children":3514},{"style":44},[3515],{"type":14,"value":69},{"type":9,"tag":37,"props":3517,"children":3518},{"style":72},[3519],{"type":14,"value":333},{"type":9,"tag":37,"props":3521,"children":3522},{"style":44},[3523],{"type":14,"value":3524},"tooltipFn",{"type":9,"tag":37,"props":3526,"children":3527},{"style":72},[3528],{"type":14,"value":3356},{"type":9,"tag":37,"props":3530,"children":3531},{"class":39,"line":1669},[3532],{"type":9,"tag":37,"props":3533,"children":3534},{"style":44},[3535],{"type":14,"value":3536},"  \u002F>\n",{"type":9,"tag":37,"props":3538,"children":3539},{"class":39,"line":1678},[3540,3544,3548],{"type":9,"tag":37,"props":3541,"children":3542},{"style":44},[3543],{"type":14,"value":251},{"type":9,"tag":37,"props":3545,"children":3546},{"style":50},[3547],{"type":14,"value":282},{"type":9,"tag":37,"props":3549,"children":3550},{"style":44},[3551],{"type":14,"value":80},{"type":9,"tag":635,"props":3553,"children":3554},{},[3555],{"type":14,"value":639},{"title":22,"searchDepth":83,"depth":83,"links":3557},[],{"code":3559,"filePath":3560,"pascalName":3561},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(6)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号' },\n  {\n    header: '员工信息',\n    children: [\n      { accessorKey: 'name', header: '姓名' },\n      { accessorKey: 'department', header: '部门' },\n      { accessorKey: 'role', header: '岗位' }\n    ]\n  },\n  {\n    header: '薪酬',\n    children: [\n      { accessorKey: 'level', header: '职级' },\n      { accessorKey: 'salary', header: '薪资', align: 'right', cell: moneyCell }\n    ]\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" bordered \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fcolumns\u002FDataTableGroupExample.vue","DataTableGroupExample",{"data":3563,"body":3564,"toc":4199},{"title":22,"description":22},{"type":6,"children":3565},[3566,4195],{"type":9,"tag":26,"props":3567,"children":3569},{"className":28,"code":3568,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(6)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号' },\n  {\n    header: '员工信息',\n    children: [\n      { accessorKey: 'name', header: '姓名' },\n      { accessorKey: 'department', header: '部门' },\n      { accessorKey: 'role', header: '岗位' }\n    ]\n  },\n  {\n    header: '薪酬',\n    children: [\n      { accessorKey: 'level', header: '职级' },\n      { accessorKey: 'salary', header: '薪资', align: 'right', cell: moneyCell }\n    ]\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" bordered \u002F>\n\u003C\u002Ftemplate>\n\n",[3570],{"type":9,"tag":33,"props":3571,"children":3572},{"__ignoreMap":22},[3573,3604,3627,3650,3657,3688,3779,3786,3825,3848,3856,3874,3882,3906,3929,3953,3961,3969,3976,3992,3999,4022,4053,4060,4068,4075,4090,4097,4112,4180],{"type":9,"tag":37,"props":3574,"children":3575},{"class":39,"line":40},[3576,3580,3584,3588,3592,3596,3600],{"type":9,"tag":37,"props":3577,"children":3578},{"style":44},[3579],{"type":14,"value":47},{"type":9,"tag":37,"props":3581,"children":3582},{"style":50},[3583],{"type":14,"value":53},{"type":9,"tag":37,"props":3585,"children":3586},{"style":56},[3587],{"type":14,"value":59},{"type":9,"tag":37,"props":3589,"children":3590},{"style":56},[3591],{"type":14,"value":64},{"type":9,"tag":37,"props":3593,"children":3594},{"style":44},[3595],{"type":14,"value":69},{"type":9,"tag":37,"props":3597,"children":3598},{"style":72},[3599],{"type":14,"value":75},{"type":9,"tag":37,"props":3601,"children":3602},{"style":44},[3603],{"type":14,"value":80},{"type":9,"tag":37,"props":3605,"children":3606},{"class":39,"line":83},[3607,3611,3615,3619,3623],{"type":9,"tag":37,"props":3608,"children":3609},{"style":87},[3610],{"type":14,"value":695},{"type":9,"tag":37,"props":3612,"children":3613},{"style":87},[3614],{"type":14,"value":700},{"type":9,"tag":37,"props":3616,"children":3617},{"style":44},[3618],{"type":14,"value":705},{"type":9,"tag":37,"props":3620,"children":3621},{"style":87},[3622],{"type":14,"value":710},{"type":9,"tag":37,"props":3624,"children":3625},{"style":72},[3626],{"type":14,"value":715},{"type":9,"tag":37,"props":3628,"children":3629},{"class":39,"line":148},[3630,3634,3638,3642,3646],{"type":9,"tag":37,"props":3631,"children":3632},{"style":87},[3633],{"type":14,"value":695},{"type":9,"tag":37,"props":3635,"children":3636},{"style":87},[3637],{"type":14,"value":700},{"type":9,"tag":37,"props":3639,"children":3640},{"style":44},[3641],{"type":14,"value":731},{"type":9,"tag":37,"props":3643,"children":3644},{"style":87},[3645],{"type":14,"value":710},{"type":9,"tag":37,"props":3647,"children":3648},{"style":72},[3649],{"type":14,"value":740},{"type":9,"tag":37,"props":3651,"children":3652},{"class":39,"line":208},[3653],{"type":9,"tag":37,"props":3654,"children":3655},{"emptyLinePlaceholder":266},[3656],{"type":14,"value":269},{"type":9,"tag":37,"props":3658,"children":3659},{"class":39,"line":245},[3660,3664,3668,3672,3676,3680,3684],{"type":9,"tag":37,"props":3661,"children":3662},{"style":87},[3663],{"type":14,"value":90},{"type":9,"tag":37,"props":3665,"children":3666},{"style":93},[3667],{"type":14,"value":96},{"type":9,"tag":37,"props":3669,"children":3670},{"style":87},[3671],{"type":14,"value":101},{"type":9,"tag":37,"props":3673,"children":3674},{"style":56},[3675],{"type":14,"value":767},{"type":9,"tag":37,"props":3677,"children":3678},{"style":44},[3679],{"type":14,"value":232},{"type":9,"tag":37,"props":3681,"children":3682},{"style":93},[3683],{"type":14,"value":776},{"type":9,"tag":37,"props":3685,"children":3686},{"style":44},[3687],{"type":14,"value":242},{"type":9,"tag":37,"props":3689,"children":3690},{"class":39,"line":262},[3691,3695,3699,3703,3707,3711,3715,3719,3723,3727,3731,3735,3739,3743,3747,3751,3755,3759,3763,3767,3771,3775],{"type":9,"tag":37,"props":3692,"children":3693},{"style":87},[3694],{"type":14,"value":90},{"type":9,"tag":37,"props":3696,"children":3697},{"style":56},[3698],{"type":14,"value":792},{"type":9,"tag":37,"props":3700,"children":3701},{"style":87},[3702],{"type":14,"value":797},{"type":9,"tag":37,"props":3704,"children":3705},{"style":56},[3706],{"type":14,"value":802},{"type":9,"tag":37,"props":3708,"children":3709},{"style":44},[3710],{"type":14,"value":47},{"type":9,"tag":37,"props":3712,"children":3713},{"style":56},[3714],{"type":14,"value":811},{"type":9,"tag":37,"props":3716,"children":3717},{"style":44},[3718],{"type":14,"value":816},{"type":9,"tag":37,"props":3720,"children":3721},{"style":72},[3722],{"type":14,"value":821},{"type":9,"tag":37,"props":3724,"children":3725},{"style":44},[3726],{"type":14,"value":826},{"type":9,"tag":37,"props":3728,"children":3729},{"style":87},[3730],{"type":14,"value":69},{"type":9,"tag":37,"props":3732,"children":3733},{"style":44},[3734],{"type":14,"value":835},{"type":9,"tag":37,"props":3736,"children":3737},{"style":838},[3738],{"type":14,"value":841},{"type":9,"tag":37,"props":3740,"children":3741},{"style":44},[3742],{"type":14,"value":846},{"type":9,"tag":37,"props":3744,"children":3745},{"style":87},[3746],{"type":14,"value":851},{"type":9,"tag":37,"props":3748,"children":3749},{"style":72},[3750],{"type":14,"value":856},{"type":9,"tag":37,"props":3752,"children":3753},{"style":56},[3754],{"type":14,"value":841},{"type":9,"tag":37,"props":3756,"children":3757},{"style":72},[3758],{"type":14,"value":47},{"type":9,"tag":37,"props":3760,"children":3761},{"style":93},[3762],{"type":14,"value":869},{"type":9,"tag":37,"props":3764,"children":3765},{"style":72},[3766],{"type":14,"value":874},{"type":9,"tag":37,"props":3768,"children":3769},{"style":56},[3770],{"type":14,"value":879},{"type":9,"tag":37,"props":3772,"children":3773},{"style":72},[3774],{"type":14,"value":575},{"type":9,"tag":37,"props":3776,"children":3777},{"style":72},[3778],{"type":14,"value":888},{"type":9,"tag":37,"props":3780,"children":3781},{"class":39,"line":272},[3782],{"type":9,"tag":37,"props":3783,"children":3784},{"emptyLinePlaceholder":266},[3785],{"type":14,"value":269},{"type":9,"tag":37,"props":3787,"children":3788},{"class":39,"line":289},[3789,3793,3797,3801,3805,3809,3813,3817,3821],{"type":9,"tag":37,"props":3790,"children":3791},{"style":87},[3792],{"type":14,"value":90},{"type":9,"tag":37,"props":3794,"children":3795},{"style":93},[3796],{"type":14,"value":158},{"type":9,"tag":37,"props":3798,"children":3799},{"style":87},[3800],{"type":14,"value":797},{"type":9,"tag":37,"props":3802,"children":3803},{"style":56},[3804],{"type":14,"value":915},{"type":9,"tag":37,"props":3806,"children":3807},{"style":44},[3808],{"type":14,"value":47},{"type":9,"tag":37,"props":3810,"children":3811},{"style":56},[3812],{"type":14,"value":811},{"type":9,"tag":37,"props":3814,"children":3815},{"style":44},[3816],{"type":14,"value":928},{"type":9,"tag":37,"props":3818,"children":3819},{"style":87},[3820],{"type":14,"value":69},{"type":9,"tag":37,"props":3822,"children":3823},{"style":44},[3824],{"type":14,"value":937},{"type":9,"tag":37,"props":3826,"children":3827},{"class":39,"line":392},[3828,3832,3836,3840,3844],{"type":9,"tag":37,"props":3829,"children":3830},{"style":44},[3831],{"type":14,"value":945},{"type":9,"tag":37,"props":3833,"children":3834},{"style":72},[3835],{"type":14,"value":950},{"type":9,"tag":37,"props":3837,"children":3838},{"style":44},[3839],{"type":14,"value":177},{"type":9,"tag":37,"props":3841,"children":3842},{"style":72},[3843],{"type":14,"value":959},{"type":9,"tag":37,"props":3845,"children":3846},{"style":44},[3847],{"type":14,"value":974},{"type":9,"tag":37,"props":3849,"children":3850},{"class":39,"line":419},[3851],{"type":9,"tag":37,"props":3852,"children":3853},{"style":44},[3854],{"type":14,"value":3855},"  {\n",{"type":9,"tag":37,"props":3857,"children":3858},{"class":39,"line":509},[3859,3864,3869],{"type":9,"tag":37,"props":3860,"children":3861},{"style":44},[3862],{"type":14,"value":3863},"    header: ",{"type":9,"tag":37,"props":3865,"children":3866},{"style":72},[3867],{"type":14,"value":3868},"'员工信息'",{"type":9,"tag":37,"props":3870,"children":3871},{"style":44},[3872],{"type":14,"value":3873},",\n",{"type":9,"tag":37,"props":3875,"children":3876},{"class":39,"line":586},[3877],{"type":9,"tag":37,"props":3878,"children":3879},{"style":44},[3880],{"type":14,"value":3881},"    children: [\n",{"type":9,"tag":37,"props":3883,"children":3884},{"class":39,"line":603},[3885,3890,3894,3898,3902],{"type":9,"tag":37,"props":3886,"children":3887},{"style":44},[3888],{"type":14,"value":3889},"      { accessorKey: ",{"type":9,"tag":37,"props":3891,"children":3892},{"style":72},[3893],{"type":14,"value":172},{"type":9,"tag":37,"props":3895,"children":3896},{"style":44},[3897],{"type":14,"value":177},{"type":9,"tag":37,"props":3899,"children":3900},{"style":72},[3901],{"type":14,"value":994},{"type":9,"tag":37,"props":3903,"children":3904},{"style":44},[3905],{"type":14,"value":974},{"type":9,"tag":37,"props":3907,"children":3908},{"class":39,"line":620},[3909,3913,3917,3921,3925],{"type":9,"tag":37,"props":3910,"children":3911},{"style":44},[3912],{"type":14,"value":3889},{"type":9,"tag":37,"props":3914,"children":3915},{"style":72},[3916],{"type":14,"value":1029},{"type":9,"tag":37,"props":3918,"children":3919},{"style":44},[3920],{"type":14,"value":177},{"type":9,"tag":37,"props":3922,"children":3923},{"style":72},[3924],{"type":14,"value":1038},{"type":9,"tag":37,"props":3926,"children":3927},{"style":44},[3928],{"type":14,"value":974},{"type":9,"tag":37,"props":3930,"children":3931},{"class":39,"line":1139},[3932,3936,3940,3944,3948],{"type":9,"tag":37,"props":3933,"children":3934},{"style":44},[3935],{"type":14,"value":3889},{"type":9,"tag":37,"props":3937,"children":3938},{"style":72},[3939],{"type":14,"value":2148},{"type":9,"tag":37,"props":3941,"children":3942},{"style":44},[3943],{"type":14,"value":177},{"type":9,"tag":37,"props":3945,"children":3946},{"style":72},[3947],{"type":14,"value":2157},{"type":9,"tag":37,"props":3949,"children":3950},{"style":44},[3951],{"type":14,"value":3952}," }\n",{"type":9,"tag":37,"props":3954,"children":3955},{"class":39,"line":1155},[3956],{"type":9,"tag":37,"props":3957,"children":3958},{"style":44},[3959],{"type":14,"value":3960},"    ]\n",{"type":9,"tag":37,"props":3962,"children":3963},{"class":39,"line":1163},[3964],{"type":9,"tag":37,"props":3965,"children":3966},{"style":44},[3967],{"type":14,"value":3968},"  },\n",{"type":9,"tag":37,"props":3970,"children":3971},{"class":39,"line":1179},[3972],{"type":9,"tag":37,"props":3973,"children":3974},{"style":44},[3975],{"type":14,"value":3855},{"type":9,"tag":37,"props":3977,"children":3978},{"class":39,"line":1243},[3979,3983,3988],{"type":9,"tag":37,"props":3980,"children":3981},{"style":44},[3982],{"type":14,"value":3863},{"type":9,"tag":37,"props":3984,"children":3985},{"style":72},[3986],{"type":14,"value":3987},"'薪酬'",{"type":9,"tag":37,"props":3989,"children":3990},{"style":44},[3991],{"type":14,"value":3873},{"type":9,"tag":37,"props":3993,"children":3994},{"class":39,"line":1268},[3995],{"type":9,"tag":37,"props":3996,"children":3997},{"style":44},[3998],{"type":14,"value":3881},{"type":9,"tag":37,"props":4000,"children":4001},{"class":39,"line":1298},[4002,4006,4010,4014,4018],{"type":9,"tag":37,"props":4003,"children":4004},{"style":44},[4005],{"type":14,"value":3889},{"type":9,"tag":37,"props":4007,"children":4008},{"style":72},[4009],{"type":14,"value":1063},{"type":9,"tag":37,"props":4011,"children":4012},{"style":44},[4013],{"type":14,"value":177},{"type":9,"tag":37,"props":4015,"children":4016},{"style":72},[4017],{"type":14,"value":1072},{"type":9,"tag":37,"props":4019,"children":4020},{"style":44},[4021],{"type":14,"value":974},{"type":9,"tag":37,"props":4023,"children":4024},{"class":39,"line":1349},[4025,4029,4033,4037,4041,4045,4049],{"type":9,"tag":37,"props":4026,"children":4027},{"style":44},[4028],{"type":14,"value":3889},{"type":9,"tag":37,"props":4030,"children":4031},{"style":72},[4032],{"type":14,"value":1096},{"type":9,"tag":37,"props":4034,"children":4035},{"style":44},[4036],{"type":14,"value":177},{"type":9,"tag":37,"props":4038,"children":4039},{"style":72},[4040],{"type":14,"value":1105},{"type":9,"tag":37,"props":4042,"children":4043},{"style":44},[4044],{"type":14,"value":1110},{"type":9,"tag":37,"props":4046,"children":4047},{"style":72},[4048],{"type":14,"value":1115},{"type":9,"tag":37,"props":4050,"children":4051},{"style":44},[4052],{"type":14,"value":1128},{"type":9,"tag":37,"props":4054,"children":4055},{"class":39,"line":1358},[4056],{"type":9,"tag":37,"props":4057,"children":4058},{"style":44},[4059],{"type":14,"value":3960},{"type":9,"tag":37,"props":4061,"children":4062},{"class":39,"line":1375},[4063],{"type":9,"tag":37,"props":4064,"children":4065},{"style":44},[4066],{"type":14,"value":4067},"  }\n",{"type":9,"tag":37,"props":4069,"children":4070},{"class":39,"line":1391},[4071],{"type":9,"tag":37,"props":4072,"children":4073},{"style":44},[4074],{"type":14,"value":1136},{"type":9,"tag":37,"props":4076,"children":4077},{"class":39,"line":1399},[4078,4082,4086],{"type":9,"tag":37,"props":4079,"children":4080},{"style":44},[4081],{"type":14,"value":251},{"type":9,"tag":37,"props":4083,"children":4084},{"style":50},[4085],{"type":14,"value":53},{"type":9,"tag":37,"props":4087,"children":4088},{"style":44},[4089],{"type":14,"value":80},{"type":9,"tag":37,"props":4091,"children":4092},{"class":39,"line":1441},[4093],{"type":9,"tag":37,"props":4094,"children":4095},{"emptyLinePlaceholder":266},[4096],{"type":14,"value":269},{"type":9,"tag":37,"props":4098,"children":4099},{"class":39,"line":1499},[4100,4104,4108],{"type":9,"tag":37,"props":4101,"children":4102},{"style":44},[4103],{"type":14,"value":47},{"type":9,"tag":37,"props":4105,"children":4106},{"style":50},[4107],{"type":14,"value":282},{"type":9,"tag":37,"props":4109,"children":4110},{"style":44},[4111],{"type":14,"value":80},{"type":9,"tag":37,"props":4113,"children":4114},{"class":39,"line":1508},[4115,4119,4123,4127,4131,4135,4139,4143,4147,4151,4155,4159,4163,4167,4171,4176],{"type":9,"tag":37,"props":4116,"children":4117},{"style":44},[4118],{"type":14,"value":295},{"type":9,"tag":37,"props":4120,"children":4121},{"style":50},[4122],{"type":14,"value":300},{"type":9,"tag":37,"props":4124,"children":4125},{"style":44},[4126],{"type":14,"value":319},{"type":9,"tag":37,"props":4128,"children":4129},{"style":56},[4130],{"type":14,"value":350},{"type":9,"tag":37,"props":4132,"children":4133},{"style":44},[4134],{"type":14,"value":69},{"type":9,"tag":37,"props":4136,"children":4137},{"style":72},[4138],{"type":14,"value":333},{"type":9,"tag":37,"props":4140,"children":4141},{"style":44},[4142],{"type":14,"value":350},{"type":9,"tag":37,"props":4144,"children":4145},{"style":72},[4146],{"type":14,"value":333},{"type":9,"tag":37,"props":4148,"children":4149},{"style":44},[4150],{"type":14,"value":319},{"type":9,"tag":37,"props":4152,"children":4153},{"style":56},[4154],{"type":14,"value":324},{"type":9,"tag":37,"props":4156,"children":4157},{"style":44},[4158],{"type":14,"value":69},{"type":9,"tag":37,"props":4160,"children":4161},{"style":72},[4162],{"type":14,"value":333},{"type":9,"tag":37,"props":4164,"children":4165},{"style":44},[4166],{"type":14,"value":324},{"type":9,"tag":37,"props":4168,"children":4169},{"style":72},[4170],{"type":14,"value":333},{"type":9,"tag":37,"props":4172,"children":4173},{"style":56},[4174],{"type":14,"value":4175}," bordered",{"type":9,"tag":37,"props":4177,"children":4178},{"style":44},[4179],{"type":14,"value":506},{"type":9,"tag":37,"props":4181,"children":4182},{"class":39,"line":1524},[4183,4187,4191],{"type":9,"tag":37,"props":4184,"children":4185},{"style":44},[4186],{"type":14,"value":251},{"type":9,"tag":37,"props":4188,"children":4189},{"style":50},[4190],{"type":14,"value":282},{"type":9,"tag":37,"props":4192,"children":4193},{"style":44},[4194],{"type":14,"value":80},{"type":9,"tag":635,"props":4196,"children":4197},{},[4198],{"type":14,"value":639},{"title":22,"searchDepth":83,"depth":83,"links":4200},[],{"code":4202,"filePath":4203,"pascalName":4204},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号', fixed: 'left', pinable: true },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门', pinable: false },\n  { accessorKey: 'role', header: '岗位' },\n  { accessorKey: 'salary', header: '薪资', align: 'right', cell: moneyCell }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" :ui=\"{ root: 'max-w-3xl' }\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fcolumns\u002FDataTablePinableExample.vue","DataTablePinableExample",{"data":4206,"body":4207,"toc":4776},{"title":22,"description":22},{"type":6,"children":4208},[4209,4772],{"type":9,"tag":26,"props":4210,"children":4212},{"className":28,"code":4211,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号', fixed: 'left', pinable: true },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门', pinable: false },\n  { accessorKey: 'role', header: '岗位' },\n  { accessorKey: 'salary', header: '薪资', align: 'right', cell: moneyCell }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" :ui=\"{ root: 'max-w-3xl' }\" \u002F>\n\u003C\u002Ftemplate>\n\n",[4213],{"type":9,"tag":33,"props":4214,"children":4215},{"__ignoreMap":22},[4216,4247,4270,4293,4300,4331,4422,4429,4468,4508,4531,4563,4586,4617,4624,4639,4646,4661,4757],{"type":9,"tag":37,"props":4217,"children":4218},{"class":39,"line":40},[4219,4223,4227,4231,4235,4239,4243],{"type":9,"tag":37,"props":4220,"children":4221},{"style":44},[4222],{"type":14,"value":47},{"type":9,"tag":37,"props":4224,"children":4225},{"style":50},[4226],{"type":14,"value":53},{"type":9,"tag":37,"props":4228,"children":4229},{"style":56},[4230],{"type":14,"value":59},{"type":9,"tag":37,"props":4232,"children":4233},{"style":56},[4234],{"type":14,"value":64},{"type":9,"tag":37,"props":4236,"children":4237},{"style":44},[4238],{"type":14,"value":69},{"type":9,"tag":37,"props":4240,"children":4241},{"style":72},[4242],{"type":14,"value":75},{"type":9,"tag":37,"props":4244,"children":4245},{"style":44},[4246],{"type":14,"value":80},{"type":9,"tag":37,"props":4248,"children":4249},{"class":39,"line":83},[4250,4254,4258,4262,4266],{"type":9,"tag":37,"props":4251,"children":4252},{"style":87},[4253],{"type":14,"value":695},{"type":9,"tag":37,"props":4255,"children":4256},{"style":87},[4257],{"type":14,"value":700},{"type":9,"tag":37,"props":4259,"children":4260},{"style":44},[4261],{"type":14,"value":705},{"type":9,"tag":37,"props":4263,"children":4264},{"style":87},[4265],{"type":14,"value":710},{"type":9,"tag":37,"props":4267,"children":4268},{"style":72},[4269],{"type":14,"value":715},{"type":9,"tag":37,"props":4271,"children":4272},{"class":39,"line":148},[4273,4277,4281,4285,4289],{"type":9,"tag":37,"props":4274,"children":4275},{"style":87},[4276],{"type":14,"value":695},{"type":9,"tag":37,"props":4278,"children":4279},{"style":87},[4280],{"type":14,"value":700},{"type":9,"tag":37,"props":4282,"children":4283},{"style":44},[4284],{"type":14,"value":731},{"type":9,"tag":37,"props":4286,"children":4287},{"style":87},[4288],{"type":14,"value":710},{"type":9,"tag":37,"props":4290,"children":4291},{"style":72},[4292],{"type":14,"value":740},{"type":9,"tag":37,"props":4294,"children":4295},{"class":39,"line":208},[4296],{"type":9,"tag":37,"props":4297,"children":4298},{"emptyLinePlaceholder":266},[4299],{"type":14,"value":269},{"type":9,"tag":37,"props":4301,"children":4302},{"class":39,"line":245},[4303,4307,4311,4315,4319,4323,4327],{"type":9,"tag":37,"props":4304,"children":4305},{"style":87},[4306],{"type":14,"value":90},{"type":9,"tag":37,"props":4308,"children":4309},{"style":93},[4310],{"type":14,"value":96},{"type":9,"tag":37,"props":4312,"children":4313},{"style":87},[4314],{"type":14,"value":101},{"type":9,"tag":37,"props":4316,"children":4317},{"style":56},[4318],{"type":14,"value":767},{"type":9,"tag":37,"props":4320,"children":4321},{"style":44},[4322],{"type":14,"value":232},{"type":9,"tag":37,"props":4324,"children":4325},{"style":93},[4326],{"type":14,"value":1915},{"type":9,"tag":37,"props":4328,"children":4329},{"style":44},[4330],{"type":14,"value":242},{"type":9,"tag":37,"props":4332,"children":4333},{"class":39,"line":262},[4334,4338,4342,4346,4350,4354,4358,4362,4366,4370,4374,4378,4382,4386,4390,4394,4398,4402,4406,4410,4414,4418],{"type":9,"tag":37,"props":4335,"children":4336},{"style":87},[4337],{"type":14,"value":90},{"type":9,"tag":37,"props":4339,"children":4340},{"style":56},[4341],{"type":14,"value":792},{"type":9,"tag":37,"props":4343,"children":4344},{"style":87},[4345],{"type":14,"value":797},{"type":9,"tag":37,"props":4347,"children":4348},{"style":56},[4349],{"type":14,"value":802},{"type":9,"tag":37,"props":4351,"children":4352},{"style":44},[4353],{"type":14,"value":47},{"type":9,"tag":37,"props":4355,"children":4356},{"style":56},[4357],{"type":14,"value":811},{"type":9,"tag":37,"props":4359,"children":4360},{"style":44},[4361],{"type":14,"value":816},{"type":9,"tag":37,"props":4363,"children":4364},{"style":72},[4365],{"type":14,"value":821},{"type":9,"tag":37,"props":4367,"children":4368},{"style":44},[4369],{"type":14,"value":826},{"type":9,"tag":37,"props":4371,"children":4372},{"style":87},[4373],{"type":14,"value":69},{"type":9,"tag":37,"props":4375,"children":4376},{"style":44},[4377],{"type":14,"value":835},{"type":9,"tag":37,"props":4379,"children":4380},{"style":838},[4381],{"type":14,"value":841},{"type":9,"tag":37,"props":4383,"children":4384},{"style":44},[4385],{"type":14,"value":846},{"type":9,"tag":37,"props":4387,"children":4388},{"style":87},[4389],{"type":14,"value":851},{"type":9,"tag":37,"props":4391,"children":4392},{"style":72},[4393],{"type":14,"value":856},{"type":9,"tag":37,"props":4395,"children":4396},{"style":56},[4397],{"type":14,"value":841},{"type":9,"tag":37,"props":4399,"children":4400},{"style":72},[4401],{"type":14,"value":47},{"type":9,"tag":37,"props":4403,"children":4404},{"style":93},[4405],{"type":14,"value":869},{"type":9,"tag":37,"props":4407,"children":4408},{"style":72},[4409],{"type":14,"value":874},{"type":9,"tag":37,"props":4411,"children":4412},{"style":56},[4413],{"type":14,"value":879},{"type":9,"tag":37,"props":4415,"children":4416},{"style":72},[4417],{"type":14,"value":575},{"type":9,"tag":37,"props":4419,"children":4420},{"style":72},[4421],{"type":14,"value":888},{"type":9,"tag":37,"props":4423,"children":4424},{"class":39,"line":272},[4425],{"type":9,"tag":37,"props":4426,"children":4427},{"emptyLinePlaceholder":266},[4428],{"type":14,"value":269},{"type":9,"tag":37,"props":4430,"children":4431},{"class":39,"line":289},[4432,4436,4440,4444,4448,4452,4456,4460,4464],{"type":9,"tag":37,"props":4433,"children":4434},{"style":87},[4435],{"type":14,"value":90},{"type":9,"tag":37,"props":4437,"children":4438},{"style":93},[4439],{"type":14,"value":158},{"type":9,"tag":37,"props":4441,"children":4442},{"style":87},[4443],{"type":14,"value":797},{"type":9,"tag":37,"props":4445,"children":4446},{"style":56},[4447],{"type":14,"value":915},{"type":9,"tag":37,"props":4449,"children":4450},{"style":44},[4451],{"type":14,"value":47},{"type":9,"tag":37,"props":4453,"children":4454},{"style":56},[4455],{"type":14,"value":811},{"type":9,"tag":37,"props":4457,"children":4458},{"style":44},[4459],{"type":14,"value":928},{"type":9,"tag":37,"props":4461,"children":4462},{"style":87},[4463],{"type":14,"value":69},{"type":9,"tag":37,"props":4465,"children":4466},{"style":44},[4467],{"type":14,"value":937},{"type":9,"tag":37,"props":4469,"children":4470},{"class":39,"line":392},[4471,4475,4479,4483,4487,4491,4495,4500,4504],{"type":9,"tag":37,"props":4472,"children":4473},{"style":44},[4474],{"type":14,"value":945},{"type":9,"tag":37,"props":4476,"children":4477},{"style":72},[4478],{"type":14,"value":950},{"type":9,"tag":37,"props":4480,"children":4481},{"style":44},[4482],{"type":14,"value":177},{"type":9,"tag":37,"props":4484,"children":4485},{"style":72},[4486],{"type":14,"value":959},{"type":9,"tag":37,"props":4488,"children":4489},{"style":44},[4490],{"type":14,"value":2080},{"type":9,"tag":37,"props":4492,"children":4493},{"style":72},[4494],{"type":14,"value":2085},{"type":9,"tag":37,"props":4496,"children":4497},{"style":44},[4498],{"type":14,"value":4499},", pinable: ",{"type":9,"tag":37,"props":4501,"children":4502},{"style":93},[4503],{"type":14,"value":1013},{"type":9,"tag":37,"props":4505,"children":4506},{"style":44},[4507],{"type":14,"value":974},{"type":9,"tag":37,"props":4509,"children":4510},{"class":39,"line":419},[4511,4515,4519,4523,4527],{"type":9,"tag":37,"props":4512,"children":4513},{"style":44},[4514],{"type":14,"value":945},{"type":9,"tag":37,"props":4516,"children":4517},{"style":72},[4518],{"type":14,"value":172},{"type":9,"tag":37,"props":4520,"children":4521},{"style":44},[4522],{"type":14,"value":177},{"type":9,"tag":37,"props":4524,"children":4525},{"style":72},[4526],{"type":14,"value":994},{"type":9,"tag":37,"props":4528,"children":4529},{"style":44},[4530],{"type":14,"value":974},{"type":9,"tag":37,"props":4532,"children":4533},{"class":39,"line":509},[4534,4538,4542,4546,4550,4554,4559],{"type":9,"tag":37,"props":4535,"children":4536},{"style":44},[4537],{"type":14,"value":945},{"type":9,"tag":37,"props":4539,"children":4540},{"style":72},[4541],{"type":14,"value":1029},{"type":9,"tag":37,"props":4543,"children":4544},{"style":44},[4545],{"type":14,"value":177},{"type":9,"tag":37,"props":4547,"children":4548},{"style":72},[4549],{"type":14,"value":1038},{"type":9,"tag":37,"props":4551,"children":4552},{"style":44},[4553],{"type":14,"value":4499},{"type":9,"tag":37,"props":4555,"children":4556},{"style":93},[4557],{"type":14,"value":4558},"false",{"type":9,"tag":37,"props":4560,"children":4561},{"style":44},[4562],{"type":14,"value":974},{"type":9,"tag":37,"props":4564,"children":4565},{"class":39,"line":586},[4566,4570,4574,4578,4582],{"type":9,"tag":37,"props":4567,"children":4568},{"style":44},[4569],{"type":14,"value":945},{"type":9,"tag":37,"props":4571,"children":4572},{"style":72},[4573],{"type":14,"value":2148},{"type":9,"tag":37,"props":4575,"children":4576},{"style":44},[4577],{"type":14,"value":177},{"type":9,"tag":37,"props":4579,"children":4580},{"style":72},[4581],{"type":14,"value":2157},{"type":9,"tag":37,"props":4583,"children":4584},{"style":44},[4585],{"type":14,"value":974},{"type":9,"tag":37,"props":4587,"children":4588},{"class":39,"line":603},[4589,4593,4597,4601,4605,4609,4613],{"type":9,"tag":37,"props":4590,"children":4591},{"style":44},[4592],{"type":14,"value":945},{"type":9,"tag":37,"props":4594,"children":4595},{"style":72},[4596],{"type":14,"value":1096},{"type":9,"tag":37,"props":4598,"children":4599},{"style":44},[4600],{"type":14,"value":177},{"type":9,"tag":37,"props":4602,"children":4603},{"style":72},[4604],{"type":14,"value":1105},{"type":9,"tag":37,"props":4606,"children":4607},{"style":44},[4608],{"type":14,"value":1110},{"type":9,"tag":37,"props":4610,"children":4611},{"style":72},[4612],{"type":14,"value":1115},{"type":9,"tag":37,"props":4614,"children":4615},{"style":44},[4616],{"type":14,"value":1128},{"type":9,"tag":37,"props":4618,"children":4619},{"class":39,"line":620},[4620],{"type":9,"tag":37,"props":4621,"children":4622},{"style":44},[4623],{"type":14,"value":1136},{"type":9,"tag":37,"props":4625,"children":4626},{"class":39,"line":1139},[4627,4631,4635],{"type":9,"tag":37,"props":4628,"children":4629},{"style":44},[4630],{"type":14,"value":251},{"type":9,"tag":37,"props":4632,"children":4633},{"style":50},[4634],{"type":14,"value":53},{"type":9,"tag":37,"props":4636,"children":4637},{"style":44},[4638],{"type":14,"value":80},{"type":9,"tag":37,"props":4640,"children":4641},{"class":39,"line":1155},[4642],{"type":9,"tag":37,"props":4643,"children":4644},{"emptyLinePlaceholder":266},[4645],{"type":14,"value":269},{"type":9,"tag":37,"props":4647,"children":4648},{"class":39,"line":1163},[4649,4653,4657],{"type":9,"tag":37,"props":4650,"children":4651},{"style":44},[4652],{"type":14,"value":47},{"type":9,"tag":37,"props":4654,"children":4655},{"style":50},[4656],{"type":14,"value":282},{"type":9,"tag":37,"props":4658,"children":4659},{"style":44},[4660],{"type":14,"value":80},{"type":9,"tag":37,"props":4662,"children":4663},{"class":39,"line":1179},[4664,4668,4672,4676,4680,4684,4688,4692,4696,4700,4704,4708,4712,4716,4720,4724,4728,4732,4736,4740,4745,4749,4753],{"type":9,"tag":37,"props":4665,"children":4666},{"style":44},[4667],{"type":14,"value":295},{"type":9,"tag":37,"props":4669,"children":4670},{"style":50},[4671],{"type":14,"value":300},{"type":9,"tag":37,"props":4673,"children":4674},{"style":44},[4675],{"type":14,"value":319},{"type":9,"tag":37,"props":4677,"children":4678},{"style":56},[4679],{"type":14,"value":350},{"type":9,"tag":37,"props":4681,"children":4682},{"style":44},[4683],{"type":14,"value":69},{"type":9,"tag":37,"props":4685,"children":4686},{"style":72},[4687],{"type":14,"value":333},{"type":9,"tag":37,"props":4689,"children":4690},{"style":44},[4691],{"type":14,"value":350},{"type":9,"tag":37,"props":4693,"children":4694},{"style":72},[4695],{"type":14,"value":333},{"type":9,"tag":37,"props":4697,"children":4698},{"style":44},[4699],{"type":14,"value":319},{"type":9,"tag":37,"props":4701,"children":4702},{"style":56},[4703],{"type":14,"value":324},{"type":9,"tag":37,"props":4705,"children":4706},{"style":44},[4707],{"type":14,"value":69},{"type":9,"tag":37,"props":4709,"children":4710},{"style":72},[4711],{"type":14,"value":333},{"type":9,"tag":37,"props":4713,"children":4714},{"style":44},[4715],{"type":14,"value":324},{"type":9,"tag":37,"props":4717,"children":4718},{"style":72},[4719],{"type":14,"value":333},{"type":9,"tag":37,"props":4721,"children":4722},{"style":44},[4723],{"type":14,"value":319},{"type":9,"tag":37,"props":4725,"children":4726},{"style":56},[4727],{"type":14,"value":2362},{"type":9,"tag":37,"props":4729,"children":4730},{"style":44},[4731],{"type":14,"value":69},{"type":9,"tag":37,"props":4733,"children":4734},{"style":72},[4735],{"type":14,"value":333},{"type":9,"tag":37,"props":4737,"children":4738},{"style":44},[4739],{"type":14,"value":2375},{"type":9,"tag":37,"props":4741,"children":4742},{"style":72},[4743],{"type":14,"value":4744},"'max-w-3xl'",{"type":9,"tag":37,"props":4746,"children":4747},{"style":44},[4748],{"type":14,"value":2385},{"type":9,"tag":37,"props":4750,"children":4751},{"style":72},[4752],{"type":14,"value":333},{"type":9,"tag":37,"props":4754,"children":4755},{"style":44},[4756],{"type":14,"value":506},{"type":9,"tag":37,"props":4758,"children":4759},{"class":39,"line":1243},[4760,4764,4768],{"type":9,"tag":37,"props":4761,"children":4762},{"style":44},[4763],{"type":14,"value":251},{"type":9,"tag":37,"props":4765,"children":4766},{"style":50},[4767],{"type":14,"value":282},{"type":9,"tag":37,"props":4769,"children":4770},{"style":44},[4771],{"type":14,"value":80},{"type":9,"tag":635,"props":4773,"children":4774},{},[4775],{"type":14,"value":639},{"title":22,"searchDepth":83,"depth":83,"links":4777},[],{"code":4779,"filePath":4780,"pascalName":4781},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号' },\n  { accessorKey: 'name', header: '姓名', minSize: 80 },\n  { accessorKey: 'level', header: '职级', resizable: false },\n  { accessorKey: 'address', header: '地址', size: 120 },\n  { accessorKey: 'bio', header: '个人简介', size: 150, resizable: true }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" :ui=\"{ root: 'max-w-3xl' }\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fcolumns\u002FDataTableResizableExample.vue","DataTableResizableExample",{"data":4783,"body":4784,"toc":5272},{"title":22,"description":22},{"type":6,"children":4785},[4786,5268],{"type":9,"tag":26,"props":4787,"children":4789},{"className":28,"code":4788,"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)\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号' },\n  { accessorKey: 'name', header: '姓名', minSize: 80 },\n  { accessorKey: 'level', header: '职级', resizable: false },\n  { accessorKey: 'address', header: '地址', size: 120 },\n  { accessorKey: 'bio', header: '个人简介', size: 150, resizable: true }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" :ui=\"{ root: 'max-w-3xl' }\" \u002F>\n\u003C\u002Ftemplate>\n\n",[4790],{"type":9,"tag":33,"props":4791,"children":4792},{"__ignoreMap":22},[4793,4824,4848,4871,4878,4909,4916,4955,4978,5011,5043,5074,5114,5121,5136,5143,5158,5253],{"type":9,"tag":37,"props":4794,"children":4795},{"class":39,"line":40},[4796,4800,4804,4808,4812,4816,4820],{"type":9,"tag":37,"props":4797,"children":4798},{"style":44},[4799],{"type":14,"value":47},{"type":9,"tag":37,"props":4801,"children":4802},{"style":50},[4803],{"type":14,"value":53},{"type":9,"tag":37,"props":4805,"children":4806},{"style":56},[4807],{"type":14,"value":59},{"type":9,"tag":37,"props":4809,"children":4810},{"style":56},[4811],{"type":14,"value":64},{"type":9,"tag":37,"props":4813,"children":4814},{"style":44},[4815],{"type":14,"value":69},{"type":9,"tag":37,"props":4817,"children":4818},{"style":72},[4819],{"type":14,"value":75},{"type":9,"tag":37,"props":4821,"children":4822},{"style":44},[4823],{"type":14,"value":80},{"type":9,"tag":37,"props":4825,"children":4826},{"class":39,"line":83},[4827,4831,4835,4840,4844],{"type":9,"tag":37,"props":4828,"children":4829},{"style":87},[4830],{"type":14,"value":695},{"type":9,"tag":37,"props":4832,"children":4833},{"style":87},[4834],{"type":14,"value":700},{"type":9,"tag":37,"props":4836,"children":4837},{"style":44},[4838],{"type":14,"value":4839}," { DataTableColumn } ",{"type":9,"tag":37,"props":4841,"children":4842},{"style":87},[4843],{"type":14,"value":710},{"type":9,"tag":37,"props":4845,"children":4846},{"style":72},[4847],{"type":14,"value":715},{"type":9,"tag":37,"props":4849,"children":4850},{"class":39,"line":148},[4851,4855,4859,4863,4867],{"type":9,"tag":37,"props":4852,"children":4853},{"style":87},[4854],{"type":14,"value":695},{"type":9,"tag":37,"props":4856,"children":4857},{"style":87},[4858],{"type":14,"value":700},{"type":9,"tag":37,"props":4860,"children":4861},{"style":44},[4862],{"type":14,"value":731},{"type":9,"tag":37,"props":4864,"children":4865},{"style":87},[4866],{"type":14,"value":710},{"type":9,"tag":37,"props":4868,"children":4869},{"style":72},[4870],{"type":14,"value":740},{"type":9,"tag":37,"props":4872,"children":4873},{"class":39,"line":208},[4874],{"type":9,"tag":37,"props":4875,"children":4876},{"emptyLinePlaceholder":266},[4877],{"type":14,"value":269},{"type":9,"tag":37,"props":4879,"children":4880},{"class":39,"line":245},[4881,4885,4889,4893,4897,4901,4905],{"type":9,"tag":37,"props":4882,"children":4883},{"style":87},[4884],{"type":14,"value":90},{"type":9,"tag":37,"props":4886,"children":4887},{"style":93},[4888],{"type":14,"value":96},{"type":9,"tag":37,"props":4890,"children":4891},{"style":87},[4892],{"type":14,"value":101},{"type":9,"tag":37,"props":4894,"children":4895},{"style":56},[4896],{"type":14,"value":767},{"type":9,"tag":37,"props":4898,"children":4899},{"style":44},[4900],{"type":14,"value":232},{"type":9,"tag":37,"props":4902,"children":4903},{"style":93},[4904],{"type":14,"value":1915},{"type":9,"tag":37,"props":4906,"children":4907},{"style":44},[4908],{"type":14,"value":242},{"type":9,"tag":37,"props":4910,"children":4911},{"class":39,"line":262},[4912],{"type":9,"tag":37,"props":4913,"children":4914},{"emptyLinePlaceholder":266},[4915],{"type":14,"value":269},{"type":9,"tag":37,"props":4917,"children":4918},{"class":39,"line":272},[4919,4923,4927,4931,4935,4939,4943,4947,4951],{"type":9,"tag":37,"props":4920,"children":4921},{"style":87},[4922],{"type":14,"value":90},{"type":9,"tag":37,"props":4924,"children":4925},{"style":93},[4926],{"type":14,"value":158},{"type":9,"tag":37,"props":4928,"children":4929},{"style":87},[4930],{"type":14,"value":797},{"type":9,"tag":37,"props":4932,"children":4933},{"style":56},[4934],{"type":14,"value":915},{"type":9,"tag":37,"props":4936,"children":4937},{"style":44},[4938],{"type":14,"value":47},{"type":9,"tag":37,"props":4940,"children":4941},{"style":56},[4942],{"type":14,"value":811},{"type":9,"tag":37,"props":4944,"children":4945},{"style":44},[4946],{"type":14,"value":928},{"type":9,"tag":37,"props":4948,"children":4949},{"style":87},[4950],{"type":14,"value":69},{"type":9,"tag":37,"props":4952,"children":4953},{"style":44},[4954],{"type":14,"value":937},{"type":9,"tag":37,"props":4956,"children":4957},{"class":39,"line":289},[4958,4962,4966,4970,4974],{"type":9,"tag":37,"props":4959,"children":4960},{"style":44},[4961],{"type":14,"value":945},{"type":9,"tag":37,"props":4963,"children":4964},{"style":72},[4965],{"type":14,"value":950},{"type":9,"tag":37,"props":4967,"children":4968},{"style":44},[4969],{"type":14,"value":177},{"type":9,"tag":37,"props":4971,"children":4972},{"style":72},[4973],{"type":14,"value":959},{"type":9,"tag":37,"props":4975,"children":4976},{"style":44},[4977],{"type":14,"value":974},{"type":9,"tag":37,"props":4979,"children":4980},{"class":39,"line":392},[4981,4985,4989,4993,4997,5002,5007],{"type":9,"tag":37,"props":4982,"children":4983},{"style":44},[4984],{"type":14,"value":945},{"type":9,"tag":37,"props":4986,"children":4987},{"style":72},[4988],{"type":14,"value":172},{"type":9,"tag":37,"props":4990,"children":4991},{"style":44},[4992],{"type":14,"value":177},{"type":9,"tag":37,"props":4994,"children":4995},{"style":72},[4996],{"type":14,"value":994},{"type":9,"tag":37,"props":4998,"children":4999},{"style":44},[5000],{"type":14,"value":5001},", minSize: ",{"type":9,"tag":37,"props":5003,"children":5004},{"style":93},[5005],{"type":14,"value":5006},"80",{"type":9,"tag":37,"props":5008,"children":5009},{"style":44},[5010],{"type":14,"value":974},{"type":9,"tag":37,"props":5012,"children":5013},{"class":39,"line":419},[5014,5018,5022,5026,5030,5035,5039],{"type":9,"tag":37,"props":5015,"children":5016},{"style":44},[5017],{"type":14,"value":945},{"type":9,"tag":37,"props":5019,"children":5020},{"style":72},[5021],{"type":14,"value":1063},{"type":9,"tag":37,"props":5023,"children":5024},{"style":44},[5025],{"type":14,"value":177},{"type":9,"tag":37,"props":5027,"children":5028},{"style":72},[5029],{"type":14,"value":1072},{"type":9,"tag":37,"props":5031,"children":5032},{"style":44},[5033],{"type":14,"value":5034},", resizable: ",{"type":9,"tag":37,"props":5036,"children":5037},{"style":93},[5038],{"type":14,"value":4558},{"type":9,"tag":37,"props":5040,"children":5041},{"style":44},[5042],{"type":14,"value":974},{"type":9,"tag":37,"props":5044,"children":5045},{"class":39,"line":509},[5046,5050,5054,5058,5062,5066,5070],{"type":9,"tag":37,"props":5047,"children":5048},{"style":44},[5049],{"type":14,"value":945},{"type":9,"tag":37,"props":5051,"children":5052},{"style":72},[5053],{"type":14,"value":2173},{"type":9,"tag":37,"props":5055,"children":5056},{"style":44},[5057],{"type":14,"value":177},{"type":9,"tag":37,"props":5059,"children":5060},{"style":72},[5061],{"type":14,"value":2182},{"type":9,"tag":37,"props":5063,"children":5064},{"style":44},[5065],{"type":14,"value":964},{"type":9,"tag":37,"props":5067,"children":5068},{"style":93},[5069],{"type":14,"value":1047},{"type":9,"tag":37,"props":5071,"children":5072},{"style":44},[5073],{"type":14,"value":974},{"type":9,"tag":37,"props":5075,"children":5076},{"class":39,"line":586},[5077,5081,5085,5089,5093,5097,5102,5106,5110],{"type":9,"tag":37,"props":5078,"children":5079},{"style":44},[5080],{"type":14,"value":945},{"type":9,"tag":37,"props":5082,"children":5083},{"style":72},[5084],{"type":14,"value":2763},{"type":9,"tag":37,"props":5086,"children":5087},{"style":44},[5088],{"type":14,"value":177},{"type":9,"tag":37,"props":5090,"children":5091},{"style":72},[5092],{"type":14,"value":2772},{"type":9,"tag":37,"props":5094,"children":5095},{"style":44},[5096],{"type":14,"value":964},{"type":9,"tag":37,"props":5098,"children":5099},{"style":93},[5100],{"type":14,"value":5101},"150",{"type":9,"tag":37,"props":5103,"children":5104},{"style":44},[5105],{"type":14,"value":5034},{"type":9,"tag":37,"props":5107,"children":5108},{"style":93},[5109],{"type":14,"value":1013},{"type":9,"tag":37,"props":5111,"children":5112},{"style":44},[5113],{"type":14,"value":3952},{"type":9,"tag":37,"props":5115,"children":5116},{"class":39,"line":603},[5117],{"type":9,"tag":37,"props":5118,"children":5119},{"style":44},[5120],{"type":14,"value":1136},{"type":9,"tag":37,"props":5122,"children":5123},{"class":39,"line":620},[5124,5128,5132],{"type":9,"tag":37,"props":5125,"children":5126},{"style":44},[5127],{"type":14,"value":251},{"type":9,"tag":37,"props":5129,"children":5130},{"style":50},[5131],{"type":14,"value":53},{"type":9,"tag":37,"props":5133,"children":5134},{"style":44},[5135],{"type":14,"value":80},{"type":9,"tag":37,"props":5137,"children":5138},{"class":39,"line":1139},[5139],{"type":9,"tag":37,"props":5140,"children":5141},{"emptyLinePlaceholder":266},[5142],{"type":14,"value":269},{"type":9,"tag":37,"props":5144,"children":5145},{"class":39,"line":1155},[5146,5150,5154],{"type":9,"tag":37,"props":5147,"children":5148},{"style":44},[5149],{"type":14,"value":47},{"type":9,"tag":37,"props":5151,"children":5152},{"style":50},[5153],{"type":14,"value":282},{"type":9,"tag":37,"props":5155,"children":5156},{"style":44},[5157],{"type":14,"value":80},{"type":9,"tag":37,"props":5159,"children":5160},{"class":39,"line":1163},[5161,5165,5169,5173,5177,5181,5185,5189,5193,5197,5201,5205,5209,5213,5217,5221,5225,5229,5233,5237,5241,5245,5249],{"type":9,"tag":37,"props":5162,"children":5163},{"style":44},[5164],{"type":14,"value":295},{"type":9,"tag":37,"props":5166,"children":5167},{"style":50},[5168],{"type":14,"value":300},{"type":9,"tag":37,"props":5170,"children":5171},{"style":44},[5172],{"type":14,"value":319},{"type":9,"tag":37,"props":5174,"children":5175},{"style":56},[5176],{"type":14,"value":350},{"type":9,"tag":37,"props":5178,"children":5179},{"style":44},[5180],{"type":14,"value":69},{"type":9,"tag":37,"props":5182,"children":5183},{"style":72},[5184],{"type":14,"value":333},{"type":9,"tag":37,"props":5186,"children":5187},{"style":44},[5188],{"type":14,"value":350},{"type":9,"tag":37,"props":5190,"children":5191},{"style":72},[5192],{"type":14,"value":333},{"type":9,"tag":37,"props":5194,"children":5195},{"style":44},[5196],{"type":14,"value":319},{"type":9,"tag":37,"props":5198,"children":5199},{"style":56},[5200],{"type":14,"value":324},{"type":9,"tag":37,"props":5202,"children":5203},{"style":44},[5204],{"type":14,"value":69},{"type":9,"tag":37,"props":5206,"children":5207},{"style":72},[5208],{"type":14,"value":333},{"type":9,"tag":37,"props":5210,"children":5211},{"style":44},[5212],{"type":14,"value":324},{"type":9,"tag":37,"props":5214,"children":5215},{"style":72},[5216],{"type":14,"value":333},{"type":9,"tag":37,"props":5218,"children":5219},{"style":44},[5220],{"type":14,"value":319},{"type":9,"tag":37,"props":5222,"children":5223},{"style":56},[5224],{"type":14,"value":2362},{"type":9,"tag":37,"props":5226,"children":5227},{"style":44},[5228],{"type":14,"value":69},{"type":9,"tag":37,"props":5230,"children":5231},{"style":72},[5232],{"type":14,"value":333},{"type":9,"tag":37,"props":5234,"children":5235},{"style":44},[5236],{"type":14,"value":2375},{"type":9,"tag":37,"props":5238,"children":5239},{"style":72},[5240],{"type":14,"value":4744},{"type":9,"tag":37,"props":5242,"children":5243},{"style":44},[5244],{"type":14,"value":2385},{"type":9,"tag":37,"props":5246,"children":5247},{"style":72},[5248],{"type":14,"value":333},{"type":9,"tag":37,"props":5250,"children":5251},{"style":44},[5252],{"type":14,"value":506},{"type":9,"tag":37,"props":5254,"children":5255},{"class":39,"line":1179},[5256,5260,5264],{"type":9,"tag":37,"props":5257,"children":5258},{"style":44},[5259],{"type":14,"value":251},{"type":9,"tag":37,"props":5261,"children":5262},{"style":50},[5263],{"type":14,"value":282},{"type":9,"tag":37,"props":5265,"children":5266},{"style":44},[5267],{"type":14,"value":80},{"type":9,"tag":635,"props":5269,"children":5270},{},[5271],{"type":14,"value":639},{"title":22,"searchDepth":83,"depth":83,"links":5273},[],{"code":5275,"filePath":5276,"pascalName":5277},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号', sortable: true },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'level', header: '职级', sortable: false },\n  { accessorKey: 'address', header: '地址' },\n  { accessorKey: 'salary', header: '薪资', align: 'right', cell: moneyCell }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fcolumns\u002FDataTableSortableExample.vue","DataTableSortableExample",{"data":5279,"body":5280,"toc":5806},{"title":22,"description":22},{"type":6,"children":5281},[5282,5802],{"type":9,"tag":26,"props":5283,"children":5285},{"className":28,"code":5284,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号', sortable: true },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'level', header: '职级', sortable: false },\n  { accessorKey: 'address', header: '地址' },\n  { accessorKey: 'salary', header: '薪资', align: 'right', cell: moneyCell }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n\n",[5286],{"type":9,"tag":33,"props":5287,"children":5288},{"__ignoreMap":22},[5289,5320,5343,5366,5373,5404,5495,5502,5541,5572,5595,5626,5649,5680,5687,5702,5709,5724,5787],{"type":9,"tag":37,"props":5290,"children":5291},{"class":39,"line":40},[5292,5296,5300,5304,5308,5312,5316],{"type":9,"tag":37,"props":5293,"children":5294},{"style":44},[5295],{"type":14,"value":47},{"type":9,"tag":37,"props":5297,"children":5298},{"style":50},[5299],{"type":14,"value":53},{"type":9,"tag":37,"props":5301,"children":5302},{"style":56},[5303],{"type":14,"value":59},{"type":9,"tag":37,"props":5305,"children":5306},{"style":56},[5307],{"type":14,"value":64},{"type":9,"tag":37,"props":5309,"children":5310},{"style":44},[5311],{"type":14,"value":69},{"type":9,"tag":37,"props":5313,"children":5314},{"style":72},[5315],{"type":14,"value":75},{"type":9,"tag":37,"props":5317,"children":5318},{"style":44},[5319],{"type":14,"value":80},{"type":9,"tag":37,"props":5321,"children":5322},{"class":39,"line":83},[5323,5327,5331,5335,5339],{"type":9,"tag":37,"props":5324,"children":5325},{"style":87},[5326],{"type":14,"value":695},{"type":9,"tag":37,"props":5328,"children":5329},{"style":87},[5330],{"type":14,"value":700},{"type":9,"tag":37,"props":5332,"children":5333},{"style":44},[5334],{"type":14,"value":705},{"type":9,"tag":37,"props":5336,"children":5337},{"style":87},[5338],{"type":14,"value":710},{"type":9,"tag":37,"props":5340,"children":5341},{"style":72},[5342],{"type":14,"value":715},{"type":9,"tag":37,"props":5344,"children":5345},{"class":39,"line":148},[5346,5350,5354,5358,5362],{"type":9,"tag":37,"props":5347,"children":5348},{"style":87},[5349],{"type":14,"value":695},{"type":9,"tag":37,"props":5351,"children":5352},{"style":87},[5353],{"type":14,"value":700},{"type":9,"tag":37,"props":5355,"children":5356},{"style":44},[5357],{"type":14,"value":731},{"type":9,"tag":37,"props":5359,"children":5360},{"style":87},[5361],{"type":14,"value":710},{"type":9,"tag":37,"props":5363,"children":5364},{"style":72},[5365],{"type":14,"value":740},{"type":9,"tag":37,"props":5367,"children":5368},{"class":39,"line":208},[5369],{"type":9,"tag":37,"props":5370,"children":5371},{"emptyLinePlaceholder":266},[5372],{"type":14,"value":269},{"type":9,"tag":37,"props":5374,"children":5375},{"class":39,"line":245},[5376,5380,5384,5388,5392,5396,5400],{"type":9,"tag":37,"props":5377,"children":5378},{"style":87},[5379],{"type":14,"value":90},{"type":9,"tag":37,"props":5381,"children":5382},{"style":93},[5383],{"type":14,"value":96},{"type":9,"tag":37,"props":5385,"children":5386},{"style":87},[5387],{"type":14,"value":101},{"type":9,"tag":37,"props":5389,"children":5390},{"style":56},[5391],{"type":14,"value":767},{"type":9,"tag":37,"props":5393,"children":5394},{"style":44},[5395],{"type":14,"value":232},{"type":9,"tag":37,"props":5397,"children":5398},{"style":93},[5399],{"type":14,"value":1915},{"type":9,"tag":37,"props":5401,"children":5402},{"style":44},[5403],{"type":14,"value":242},{"type":9,"tag":37,"props":5405,"children":5406},{"class":39,"line":262},[5407,5411,5415,5419,5423,5427,5431,5435,5439,5443,5447,5451,5455,5459,5463,5467,5471,5475,5479,5483,5487,5491],{"type":9,"tag":37,"props":5408,"children":5409},{"style":87},[5410],{"type":14,"value":90},{"type":9,"tag":37,"props":5412,"children":5413},{"style":56},[5414],{"type":14,"value":792},{"type":9,"tag":37,"props":5416,"children":5417},{"style":87},[5418],{"type":14,"value":797},{"type":9,"tag":37,"props":5420,"children":5421},{"style":56},[5422],{"type":14,"value":802},{"type":9,"tag":37,"props":5424,"children":5425},{"style":44},[5426],{"type":14,"value":47},{"type":9,"tag":37,"props":5428,"children":5429},{"style":56},[5430],{"type":14,"value":811},{"type":9,"tag":37,"props":5432,"children":5433},{"style":44},[5434],{"type":14,"value":816},{"type":9,"tag":37,"props":5436,"children":5437},{"style":72},[5438],{"type":14,"value":821},{"type":9,"tag":37,"props":5440,"children":5441},{"style":44},[5442],{"type":14,"value":826},{"type":9,"tag":37,"props":5444,"children":5445},{"style":87},[5446],{"type":14,"value":69},{"type":9,"tag":37,"props":5448,"children":5449},{"style":44},[5450],{"type":14,"value":835},{"type":9,"tag":37,"props":5452,"children":5453},{"style":838},[5454],{"type":14,"value":841},{"type":9,"tag":37,"props":5456,"children":5457},{"style":44},[5458],{"type":14,"value":846},{"type":9,"tag":37,"props":5460,"children":5461},{"style":87},[5462],{"type":14,"value":851},{"type":9,"tag":37,"props":5464,"children":5465},{"style":72},[5466],{"type":14,"value":856},{"type":9,"tag":37,"props":5468,"children":5469},{"style":56},[5470],{"type":14,"value":841},{"type":9,"tag":37,"props":5472,"children":5473},{"style":72},[5474],{"type":14,"value":47},{"type":9,"tag":37,"props":5476,"children":5477},{"style":93},[5478],{"type":14,"value":869},{"type":9,"tag":37,"props":5480,"children":5481},{"style":72},[5482],{"type":14,"value":874},{"type":9,"tag":37,"props":5484,"children":5485},{"style":56},[5486],{"type":14,"value":879},{"type":9,"tag":37,"props":5488,"children":5489},{"style":72},[5490],{"type":14,"value":575},{"type":9,"tag":37,"props":5492,"children":5493},{"style":72},[5494],{"type":14,"value":888},{"type":9,"tag":37,"props":5496,"children":5497},{"class":39,"line":272},[5498],{"type":9,"tag":37,"props":5499,"children":5500},{"emptyLinePlaceholder":266},[5501],{"type":14,"value":269},{"type":9,"tag":37,"props":5503,"children":5504},{"class":39,"line":289},[5505,5509,5513,5517,5521,5525,5529,5533,5537],{"type":9,"tag":37,"props":5506,"children":5507},{"style":87},[5508],{"type":14,"value":90},{"type":9,"tag":37,"props":5510,"children":5511},{"style":93},[5512],{"type":14,"value":158},{"type":9,"tag":37,"props":5514,"children":5515},{"style":87},[5516],{"type":14,"value":797},{"type":9,"tag":37,"props":5518,"children":5519},{"style":56},[5520],{"type":14,"value":915},{"type":9,"tag":37,"props":5522,"children":5523},{"style":44},[5524],{"type":14,"value":47},{"type":9,"tag":37,"props":5526,"children":5527},{"style":56},[5528],{"type":14,"value":811},{"type":9,"tag":37,"props":5530,"children":5531},{"style":44},[5532],{"type":14,"value":928},{"type":9,"tag":37,"props":5534,"children":5535},{"style":87},[5536],{"type":14,"value":69},{"type":9,"tag":37,"props":5538,"children":5539},{"style":44},[5540],{"type":14,"value":937},{"type":9,"tag":37,"props":5542,"children":5543},{"class":39,"line":392},[5544,5548,5552,5556,5560,5564,5568],{"type":9,"tag":37,"props":5545,"children":5546},{"style":44},[5547],{"type":14,"value":945},{"type":9,"tag":37,"props":5549,"children":5550},{"style":72},[5551],{"type":14,"value":950},{"type":9,"tag":37,"props":5553,"children":5554},{"style":44},[5555],{"type":14,"value":177},{"type":9,"tag":37,"props":5557,"children":5558},{"style":72},[5559],{"type":14,"value":959},{"type":9,"tag":37,"props":5561,"children":5562},{"style":44},[5563],{"type":14,"value":1008},{"type":9,"tag":37,"props":5565,"children":5566},{"style":93},[5567],{"type":14,"value":1013},{"type":9,"tag":37,"props":5569,"children":5570},{"style":44},[5571],{"type":14,"value":974},{"type":9,"tag":37,"props":5573,"children":5574},{"class":39,"line":419},[5575,5579,5583,5587,5591],{"type":9,"tag":37,"props":5576,"children":5577},{"style":44},[5578],{"type":14,"value":945},{"type":9,"tag":37,"props":5580,"children":5581},{"style":72},[5582],{"type":14,"value":172},{"type":9,"tag":37,"props":5584,"children":5585},{"style":44},[5586],{"type":14,"value":177},{"type":9,"tag":37,"props":5588,"children":5589},{"style":72},[5590],{"type":14,"value":994},{"type":9,"tag":37,"props":5592,"children":5593},{"style":44},[5594],{"type":14,"value":974},{"type":9,"tag":37,"props":5596,"children":5597},{"class":39,"line":509},[5598,5602,5606,5610,5614,5618,5622],{"type":9,"tag":37,"props":5599,"children":5600},{"style":44},[5601],{"type":14,"value":945},{"type":9,"tag":37,"props":5603,"children":5604},{"style":72},[5605],{"type":14,"value":1063},{"type":9,"tag":37,"props":5607,"children":5608},{"style":44},[5609],{"type":14,"value":177},{"type":9,"tag":37,"props":5611,"children":5612},{"style":72},[5613],{"type":14,"value":1072},{"type":9,"tag":37,"props":5615,"children":5616},{"style":44},[5617],{"type":14,"value":1008},{"type":9,"tag":37,"props":5619,"children":5620},{"style":93},[5621],{"type":14,"value":4558},{"type":9,"tag":37,"props":5623,"children":5624},{"style":44},[5625],{"type":14,"value":974},{"type":9,"tag":37,"props":5627,"children":5628},{"class":39,"line":586},[5629,5633,5637,5641,5645],{"type":9,"tag":37,"props":5630,"children":5631},{"style":44},[5632],{"type":14,"value":945},{"type":9,"tag":37,"props":5634,"children":5635},{"style":72},[5636],{"type":14,"value":2173},{"type":9,"tag":37,"props":5638,"children":5639},{"style":44},[5640],{"type":14,"value":177},{"type":9,"tag":37,"props":5642,"children":5643},{"style":72},[5644],{"type":14,"value":2182},{"type":9,"tag":37,"props":5646,"children":5647},{"style":44},[5648],{"type":14,"value":974},{"type":9,"tag":37,"props":5650,"children":5651},{"class":39,"line":603},[5652,5656,5660,5664,5668,5672,5676],{"type":9,"tag":37,"props":5653,"children":5654},{"style":44},[5655],{"type":14,"value":945},{"type":9,"tag":37,"props":5657,"children":5658},{"style":72},[5659],{"type":14,"value":1096},{"type":9,"tag":37,"props":5661,"children":5662},{"style":44},[5663],{"type":14,"value":177},{"type":9,"tag":37,"props":5665,"children":5666},{"style":72},[5667],{"type":14,"value":1105},{"type":9,"tag":37,"props":5669,"children":5670},{"style":44},[5671],{"type":14,"value":1110},{"type":9,"tag":37,"props":5673,"children":5674},{"style":72},[5675],{"type":14,"value":1115},{"type":9,"tag":37,"props":5677,"children":5678},{"style":44},[5679],{"type":14,"value":1128},{"type":9,"tag":37,"props":5681,"children":5682},{"class":39,"line":620},[5683],{"type":9,"tag":37,"props":5684,"children":5685},{"style":44},[5686],{"type":14,"value":1136},{"type":9,"tag":37,"props":5688,"children":5689},{"class":39,"line":1139},[5690,5694,5698],{"type":9,"tag":37,"props":5691,"children":5692},{"style":44},[5693],{"type":14,"value":251},{"type":9,"tag":37,"props":5695,"children":5696},{"style":50},[5697],{"type":14,"value":53},{"type":9,"tag":37,"props":5699,"children":5700},{"style":44},[5701],{"type":14,"value":80},{"type":9,"tag":37,"props":5703,"children":5704},{"class":39,"line":1155},[5705],{"type":9,"tag":37,"props":5706,"children":5707},{"emptyLinePlaceholder":266},[5708],{"type":14,"value":269},{"type":9,"tag":37,"props":5710,"children":5711},{"class":39,"line":1163},[5712,5716,5720],{"type":9,"tag":37,"props":5713,"children":5714},{"style":44},[5715],{"type":14,"value":47},{"type":9,"tag":37,"props":5717,"children":5718},{"style":50},[5719],{"type":14,"value":282},{"type":9,"tag":37,"props":5721,"children":5722},{"style":44},[5723],{"type":14,"value":80},{"type":9,"tag":37,"props":5725,"children":5726},{"class":39,"line":1179},[5727,5731,5735,5739,5743,5747,5751,5755,5759,5763,5767,5771,5775,5779,5783],{"type":9,"tag":37,"props":5728,"children":5729},{"style":44},[5730],{"type":14,"value":295},{"type":9,"tag":37,"props":5732,"children":5733},{"style":50},[5734],{"type":14,"value":300},{"type":9,"tag":37,"props":5736,"children":5737},{"style":44},[5738],{"type":14,"value":319},{"type":9,"tag":37,"props":5740,"children":5741},{"style":56},[5742],{"type":14,"value":350},{"type":9,"tag":37,"props":5744,"children":5745},{"style":44},[5746],{"type":14,"value":69},{"type":9,"tag":37,"props":5748,"children":5749},{"style":72},[5750],{"type":14,"value":333},{"type":9,"tag":37,"props":5752,"children":5753},{"style":44},[5754],{"type":14,"value":350},{"type":9,"tag":37,"props":5756,"children":5757},{"style":72},[5758],{"type":14,"value":333},{"type":9,"tag":37,"props":5760,"children":5761},{"style":44},[5762],{"type":14,"value":319},{"type":9,"tag":37,"props":5764,"children":5765},{"style":56},[5766],{"type":14,"value":324},{"type":9,"tag":37,"props":5768,"children":5769},{"style":44},[5770],{"type":14,"value":69},{"type":9,"tag":37,"props":5772,"children":5773},{"style":72},[5774],{"type":14,"value":333},{"type":9,"tag":37,"props":5776,"children":5777},{"style":44},[5778],{"type":14,"value":324},{"type":9,"tag":37,"props":5780,"children":5781},{"style":72},[5782],{"type":14,"value":333},{"type":9,"tag":37,"props":5784,"children":5785},{"style":44},[5786],{"type":14,"value":506},{"type":9,"tag":37,"props":5788,"children":5789},{"class":39,"line":1243},[5790,5794,5798],{"type":9,"tag":37,"props":5791,"children":5792},{"style":44},[5793],{"type":14,"value":251},{"type":9,"tag":37,"props":5795,"children":5796},{"style":50},[5797],{"type":14,"value":282},{"type":9,"tag":37,"props":5799,"children":5800},{"style":44},[5801],{"type":14,"value":80},{"type":9,"tag":635,"props":5803,"children":5804},{},[5805],{"type":14,"value":639},{"title":22,"searchDepth":83,"depth":83,"links":5807},[],{"code":5809,"filePath":5810,"pascalName":5811},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(8)\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'bio', header: '个人简介', size: 240, tooltip: 1 },\n  { accessorKey: 'role', header: '角色', size: 60 },\n  { accessorKey: 'address', header: '地址', size: 200, truncate: true }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" :ui=\"{ root: 'max-w-3xl' }\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fcolumns\u002FDataTableTruncateExample.vue","DataTableTruncateExample",{"data":5813,"body":5814,"toc":6280},{"title":22,"description":22},{"type":6,"children":5815},[5816,6276],{"type":9,"tag":26,"props":5817,"children":5819},{"className":28,"code":5818,"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)\n\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'bio', header: '个人简介', size: 240, tooltip: 1 },\n  { accessorKey: 'role', header: '角色', size: 60 },\n  { accessorKey: 'address', header: '地址', size: 200, truncate: true }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" :ui=\"{ root: 'max-w-3xl' }\" \u002F>\n\u003C\u002Ftemplate>\n\n",[5820],{"type":9,"tag":33,"props":5821,"children":5822},{"__ignoreMap":22},[5823,5854,5877,5900,5907,5938,5945,5984,6007,6049,6082,6122,6129,6144,6151,6166,6261],{"type":9,"tag":37,"props":5824,"children":5825},{"class":39,"line":40},[5826,5830,5834,5838,5842,5846,5850],{"type":9,"tag":37,"props":5827,"children":5828},{"style":44},[5829],{"type":14,"value":47},{"type":9,"tag":37,"props":5831,"children":5832},{"style":50},[5833],{"type":14,"value":53},{"type":9,"tag":37,"props":5835,"children":5836},{"style":56},[5837],{"type":14,"value":59},{"type":9,"tag":37,"props":5839,"children":5840},{"style":56},[5841],{"type":14,"value":64},{"type":9,"tag":37,"props":5843,"children":5844},{"style":44},[5845],{"type":14,"value":69},{"type":9,"tag":37,"props":5847,"children":5848},{"style":72},[5849],{"type":14,"value":75},{"type":9,"tag":37,"props":5851,"children":5852},{"style":44},[5853],{"type":14,"value":80},{"type":9,"tag":37,"props":5855,"children":5856},{"class":39,"line":83},[5857,5861,5865,5869,5873],{"type":9,"tag":37,"props":5858,"children":5859},{"style":87},[5860],{"type":14,"value":695},{"type":9,"tag":37,"props":5862,"children":5863},{"style":87},[5864],{"type":14,"value":700},{"type":9,"tag":37,"props":5866,"children":5867},{"style":44},[5868],{"type":14,"value":4839},{"type":9,"tag":37,"props":5870,"children":5871},{"style":87},[5872],{"type":14,"value":710},{"type":9,"tag":37,"props":5874,"children":5875},{"style":72},[5876],{"type":14,"value":715},{"type":9,"tag":37,"props":5878,"children":5879},{"class":39,"line":148},[5880,5884,5888,5892,5896],{"type":9,"tag":37,"props":5881,"children":5882},{"style":87},[5883],{"type":14,"value":695},{"type":9,"tag":37,"props":5885,"children":5886},{"style":87},[5887],{"type":14,"value":700},{"type":9,"tag":37,"props":5889,"children":5890},{"style":44},[5891],{"type":14,"value":731},{"type":9,"tag":37,"props":5893,"children":5894},{"style":87},[5895],{"type":14,"value":710},{"type":9,"tag":37,"props":5897,"children":5898},{"style":72},[5899],{"type":14,"value":740},{"type":9,"tag":37,"props":5901,"children":5902},{"class":39,"line":208},[5903],{"type":9,"tag":37,"props":5904,"children":5905},{"emptyLinePlaceholder":266},[5906],{"type":14,"value":269},{"type":9,"tag":37,"props":5908,"children":5909},{"class":39,"line":245},[5910,5914,5918,5922,5926,5930,5934],{"type":9,"tag":37,"props":5911,"children":5912},{"style":87},[5913],{"type":14,"value":90},{"type":9,"tag":37,"props":5915,"children":5916},{"style":93},[5917],{"type":14,"value":96},{"type":9,"tag":37,"props":5919,"children":5920},{"style":87},[5921],{"type":14,"value":101},{"type":9,"tag":37,"props":5923,"children":5924},{"style":56},[5925],{"type":14,"value":767},{"type":9,"tag":37,"props":5927,"children":5928},{"style":44},[5929],{"type":14,"value":232},{"type":9,"tag":37,"props":5931,"children":5932},{"style":93},[5933],{"type":14,"value":1915},{"type":9,"tag":37,"props":5935,"children":5936},{"style":44},[5937],{"type":14,"value":242},{"type":9,"tag":37,"props":5939,"children":5940},{"class":39,"line":262},[5941],{"type":9,"tag":37,"props":5942,"children":5943},{"emptyLinePlaceholder":266},[5944],{"type":14,"value":269},{"type":9,"tag":37,"props":5946,"children":5947},{"class":39,"line":272},[5948,5952,5956,5960,5964,5968,5972,5976,5980],{"type":9,"tag":37,"props":5949,"children":5950},{"style":87},[5951],{"type":14,"value":90},{"type":9,"tag":37,"props":5953,"children":5954},{"style":93},[5955],{"type":14,"value":158},{"type":9,"tag":37,"props":5957,"children":5958},{"style":87},[5959],{"type":14,"value":797},{"type":9,"tag":37,"props":5961,"children":5962},{"style":56},[5963],{"type":14,"value":915},{"type":9,"tag":37,"props":5965,"children":5966},{"style":44},[5967],{"type":14,"value":47},{"type":9,"tag":37,"props":5969,"children":5970},{"style":56},[5971],{"type":14,"value":811},{"type":9,"tag":37,"props":5973,"children":5974},{"style":44},[5975],{"type":14,"value":928},{"type":9,"tag":37,"props":5977,"children":5978},{"style":87},[5979],{"type":14,"value":69},{"type":9,"tag":37,"props":5981,"children":5982},{"style":44},[5983],{"type":14,"value":937},{"type":9,"tag":37,"props":5985,"children":5986},{"class":39,"line":289},[5987,5991,5995,5999,6003],{"type":9,"tag":37,"props":5988,"children":5989},{"style":44},[5990],{"type":14,"value":945},{"type":9,"tag":37,"props":5992,"children":5993},{"style":72},[5994],{"type":14,"value":172},{"type":9,"tag":37,"props":5996,"children":5997},{"style":44},[5998],{"type":14,"value":177},{"type":9,"tag":37,"props":6000,"children":6001},{"style":72},[6002],{"type":14,"value":994},{"type":9,"tag":37,"props":6004,"children":6005},{"style":44},[6006],{"type":14,"value":974},{"type":9,"tag":37,"props":6008,"children":6009},{"class":39,"line":392},[6010,6014,6018,6022,6026,6030,6035,6040,6045],{"type":9,"tag":37,"props":6011,"children":6012},{"style":44},[6013],{"type":14,"value":945},{"type":9,"tag":37,"props":6015,"children":6016},{"style":72},[6017],{"type":14,"value":2763},{"type":9,"tag":37,"props":6019,"children":6020},{"style":44},[6021],{"type":14,"value":177},{"type":9,"tag":37,"props":6023,"children":6024},{"style":72},[6025],{"type":14,"value":2772},{"type":9,"tag":37,"props":6027,"children":6028},{"style":44},[6029],{"type":14,"value":964},{"type":9,"tag":37,"props":6031,"children":6032},{"style":93},[6033],{"type":14,"value":6034},"240",{"type":9,"tag":37,"props":6036,"children":6037},{"style":44},[6038],{"type":14,"value":6039},", tooltip: ",{"type":9,"tag":37,"props":6041,"children":6042},{"style":93},[6043],{"type":14,"value":6044},"1",{"type":9,"tag":37,"props":6046,"children":6047},{"style":44},[6048],{"type":14,"value":974},{"type":9,"tag":37,"props":6050,"children":6051},{"class":39,"line":419},[6052,6056,6060,6064,6069,6073,6078],{"type":9,"tag":37,"props":6053,"children":6054},{"style":44},[6055],{"type":14,"value":945},{"type":9,"tag":37,"props":6057,"children":6058},{"style":72},[6059],{"type":14,"value":2148},{"type":9,"tag":37,"props":6061,"children":6062},{"style":44},[6063],{"type":14,"value":177},{"type":9,"tag":37,"props":6065,"children":6066},{"style":72},[6067],{"type":14,"value":6068},"'角色'",{"type":9,"tag":37,"props":6070,"children":6071},{"style":44},[6072],{"type":14,"value":964},{"type":9,"tag":37,"props":6074,"children":6075},{"style":93},[6076],{"type":14,"value":6077},"60",{"type":9,"tag":37,"props":6079,"children":6080},{"style":44},[6081],{"type":14,"value":974},{"type":9,"tag":37,"props":6083,"children":6084},{"class":39,"line":509},[6085,6089,6093,6097,6101,6105,6109,6114,6118],{"type":9,"tag":37,"props":6086,"children":6087},{"style":44},[6088],{"type":14,"value":945},{"type":9,"tag":37,"props":6090,"children":6091},{"style":72},[6092],{"type":14,"value":2173},{"type":9,"tag":37,"props":6094,"children":6095},{"style":44},[6096],{"type":14,"value":177},{"type":9,"tag":37,"props":6098,"children":6099},{"style":72},[6100],{"type":14,"value":2182},{"type":9,"tag":37,"props":6102,"children":6103},{"style":44},[6104],{"type":14,"value":964},{"type":9,"tag":37,"props":6106,"children":6107},{"style":93},[6108],{"type":14,"value":2804},{"type":9,"tag":37,"props":6110,"children":6111},{"style":44},[6112],{"type":14,"value":6113},", truncate: ",{"type":9,"tag":37,"props":6115,"children":6116},{"style":93},[6117],{"type":14,"value":1013},{"type":9,"tag":37,"props":6119,"children":6120},{"style":44},[6121],{"type":14,"value":3952},{"type":9,"tag":37,"props":6123,"children":6124},{"class":39,"line":586},[6125],{"type":9,"tag":37,"props":6126,"children":6127},{"style":44},[6128],{"type":14,"value":1136},{"type":9,"tag":37,"props":6130,"children":6131},{"class":39,"line":603},[6132,6136,6140],{"type":9,"tag":37,"props":6133,"children":6134},{"style":44},[6135],{"type":14,"value":251},{"type":9,"tag":37,"props":6137,"children":6138},{"style":50},[6139],{"type":14,"value":53},{"type":9,"tag":37,"props":6141,"children":6142},{"style":44},[6143],{"type":14,"value":80},{"type":9,"tag":37,"props":6145,"children":6146},{"class":39,"line":620},[6147],{"type":9,"tag":37,"props":6148,"children":6149},{"emptyLinePlaceholder":266},[6150],{"type":14,"value":269},{"type":9,"tag":37,"props":6152,"children":6153},{"class":39,"line":1139},[6154,6158,6162],{"type":9,"tag":37,"props":6155,"children":6156},{"style":44},[6157],{"type":14,"value":47},{"type":9,"tag":37,"props":6159,"children":6160},{"style":50},[6161],{"type":14,"value":282},{"type":9,"tag":37,"props":6163,"children":6164},{"style":44},[6165],{"type":14,"value":80},{"type":9,"tag":37,"props":6167,"children":6168},{"class":39,"line":1155},[6169,6173,6177,6181,6185,6189,6193,6197,6201,6205,6209,6213,6217,6221,6225,6229,6233,6237,6241,6245,6249,6253,6257],{"type":9,"tag":37,"props":6170,"children":6171},{"style":44},[6172],{"type":14,"value":295},{"type":9,"tag":37,"props":6174,"children":6175},{"style":50},[6176],{"type":14,"value":300},{"type":9,"tag":37,"props":6178,"children":6179},{"style":44},[6180],{"type":14,"value":319},{"type":9,"tag":37,"props":6182,"children":6183},{"style":56},[6184],{"type":14,"value":350},{"type":9,"tag":37,"props":6186,"children":6187},{"style":44},[6188],{"type":14,"value":69},{"type":9,"tag":37,"props":6190,"children":6191},{"style":72},[6192],{"type":14,"value":333},{"type":9,"tag":37,"props":6194,"children":6195},{"style":44},[6196],{"type":14,"value":350},{"type":9,"tag":37,"props":6198,"children":6199},{"style":72},[6200],{"type":14,"value":333},{"type":9,"tag":37,"props":6202,"children":6203},{"style":44},[6204],{"type":14,"value":319},{"type":9,"tag":37,"props":6206,"children":6207},{"style":56},[6208],{"type":14,"value":324},{"type":9,"tag":37,"props":6210,"children":6211},{"style":44},[6212],{"type":14,"value":69},{"type":9,"tag":37,"props":6214,"children":6215},{"style":72},[6216],{"type":14,"value":333},{"type":9,"tag":37,"props":6218,"children":6219},{"style":44},[6220],{"type":14,"value":324},{"type":9,"tag":37,"props":6222,"children":6223},{"style":72},[6224],{"type":14,"value":333},{"type":9,"tag":37,"props":6226,"children":6227},{"style":44},[6228],{"type":14,"value":319},{"type":9,"tag":37,"props":6230,"children":6231},{"style":56},[6232],{"type":14,"value":2362},{"type":9,"tag":37,"props":6234,"children":6235},{"style":44},[6236],{"type":14,"value":69},{"type":9,"tag":37,"props":6238,"children":6239},{"style":72},[6240],{"type":14,"value":333},{"type":9,"tag":37,"props":6242,"children":6243},{"style":44},[6244],{"type":14,"value":2375},{"type":9,"tag":37,"props":6246,"children":6247},{"style":72},[6248],{"type":14,"value":4744},{"type":9,"tag":37,"props":6250,"children":6251},{"style":44},[6252],{"type":14,"value":2385},{"type":9,"tag":37,"props":6254,"children":6255},{"style":72},[6256],{"type":14,"value":333},{"type":9,"tag":37,"props":6258,"children":6259},{"style":44},[6260],{"type":14,"value":506},{"type":9,"tag":37,"props":6262,"children":6263},{"class":39,"line":1163},[6264,6268,6272],{"type":9,"tag":37,"props":6265,"children":6266},{"style":44},[6267],{"type":14,"value":251},{"type":9,"tag":37,"props":6269,"children":6270},{"style":50},[6271],{"type":14,"value":282},{"type":9,"tag":37,"props":6273,"children":6274},{"style":44},[6275],{"type":14,"value":80},{"type":9,"tag":635,"props":6277,"children":6278},{},[6279],{"type":14,"value":639},{"title":22,"searchDepth":83,"depth":83,"links":6281},[],{"code":6283,"filePath":6284,"pascalName":6285},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(6)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号' },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  { accessorKey: 'role', header: '岗位' },\n  { accessorKey: 'level', header: '职级' },\n  { accessorKey: 'email', header: '邮箱' },\n  { accessorKey: 'joinedAt', header: '入职日期', visibility: false },\n  { accessorKey: 'salary', header: '薪资', align: 'right', cell: moneyCell }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fdata-table\u002Fcolumns\u002FDataTableVisibilityExample.vue","DataTableVisibilityExample",{"data":6287,"body":6288,"toc":6871},{"title":22,"description":22},{"type":6,"children":6289},[6290,6867],{"type":9,"tag":26,"props":6291,"children":6293},{"className":28,"code":6292,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { DataTableColumn, DataTableDataColumn } from '@movk\u002Fnuxt'\nimport type { Person } from '~\u002Fcomposables\u002FuseTableMock'\n\nconst data = makePeople(6)\nconst moneyCell: DataTableDataColumn\u003CPerson>['cell'] = ({ getValue }) => `¥${getValue\u003Cnumber>().toLocaleString()}`\nconst columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'id', header: '工号' },\n  { accessorKey: 'name', header: '姓名' },\n  { accessorKey: 'department', header: '部门' },\n  { accessorKey: 'role', header: '岗位' },\n  { accessorKey: 'level', header: '职级' },\n  { accessorKey: 'email', header: '邮箱' },\n  { accessorKey: 'joinedAt', header: '入职日期', visibility: false },\n  { accessorKey: 'salary', header: '薪资', align: 'right', cell: moneyCell }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMDataTable :columns=\"columns\" :data=\"data\" \u002F>\n\u003C\u002Ftemplate>\n\n",[6294],{"type":9,"tag":33,"props":6295,"children":6296},{"__ignoreMap":22},[6297,6328,6351,6374,6381,6412,6503,6542,6565,6588,6611,6634,6657,6680,6714,6745,6752,6767,6774,6789,6852],{"type":9,"tag":37,"props":6298,"children":6299},{"class":39,"line":40},[6300,6304,6308,6312,6316,6320,6324],{"type":9,"tag":37,"props":6301,"children":6302},{"style":44},[6303],{"type":14,"value":47},{"type":9,"tag":37,"props":6305,"children":6306},{"style":50},[6307],{"type":14,"value":53},{"type":9,"tag":37,"props":6309,"children":6310},{"style":56},[6311],{"type":14,"value":59},{"type":9,"tag":37,"props":6313,"children":6314},{"style":56},[6315],{"type":14,"value":64},{"type":9,"tag":37,"props":6317,"children":6318},{"style":44},[6319],{"type":14,"value":69},{"type":9,"tag":37,"props":6321,"children":6322},{"style":72},[6323],{"type":14,"value":75},{"type":9,"tag":37,"props":6325,"children":6326},{"style":44},[6327],{"type":14,"value":80},{"type":9,"tag":37,"props":6329,"children":6330},{"class":39,"line":83},[6331,6335,6339,6343,6347],{"type":9,"tag":37,"props":6332,"children":6333},{"style":87},[6334],{"type":14,"value":695},{"type":9,"tag":37,"props":6336,"children":6337},{"style":87},[6338],{"type":14,"value":700},{"type":9,"tag":37,"props":6340,"children":6341},{"style":44},[6342],{"type":14,"value":705},{"type":9,"tag":37,"props":6344,"children":6345},{"style":87},[6346],{"type":14,"value":710},{"type":9,"tag":37,"props":6348,"children":6349},{"style":72},[6350],{"type":14,"value":715},{"type":9,"tag":37,"props":6352,"children":6353},{"class":39,"line":148},[6354,6358,6362,6366,6370],{"type":9,"tag":37,"props":6355,"children":6356},{"style":87},[6357],{"type":14,"value":695},{"type":9,"tag":37,"props":6359,"children":6360},{"style":87},[6361],{"type":14,"value":700},{"type":9,"tag":37,"props":6363,"children":6364},{"style":44},[6365],{"type":14,"value":731},{"type":9,"tag":37,"props":6367,"children":6368},{"style":87},[6369],{"type":14,"value":710},{"type":9,"tag":37,"props":6371,"children":6372},{"style":72},[6373],{"type":14,"value":740},{"type":9,"tag":37,"props":6375,"children":6376},{"class":39,"line":208},[6377],{"type":9,"tag":37,"props":6378,"children":6379},{"emptyLinePlaceholder":266},[6380],{"type":14,"value":269},{"type":9,"tag":37,"props":6382,"children":6383},{"class":39,"line":245},[6384,6388,6392,6396,6400,6404,6408],{"type":9,"tag":37,"props":6385,"children":6386},{"style":87},[6387],{"type":14,"value":90},{"type":9,"tag":37,"props":6389,"children":6390},{"style":93},[6391],{"type":14,"value":96},{"type":9,"tag":37,"props":6393,"children":6394},{"style":87},[6395],{"type":14,"value":101},{"type":9,"tag":37,"props":6397,"children":6398},{"style":56},[6399],{"type":14,"value":767},{"type":9,"tag":37,"props":6401,"children":6402},{"style":44},[6403],{"type":14,"value":232},{"type":9,"tag":37,"props":6405,"children":6406},{"style":93},[6407],{"type":14,"value":776},{"type":9,"tag":37,"props":6409,"children":6410},{"style":44},[6411],{"type":14,"value":242},{"type":9,"tag":37,"props":6413,"children":6414},{"class":39,"line":262},[6415,6419,6423,6427,6431,6435,6439,6443,6447,6451,6455,6459,6463,6467,6471,6475,6479,6483,6487,6491,6495,6499],{"type":9,"tag":37,"props":6416,"children":6417},{"style":87},[6418],{"type":14,"value":90},{"type":9,"tag":37,"props":6420,"children":6421},{"style":56},[6422],{"type":14,"value":792},{"type":9,"tag":37,"props":6424,"children":6425},{"style":87},[6426],{"type":14,"value":797},{"type":9,"tag":37,"props":6428,"children":6429},{"style":56},[6430],{"type":14,"value":802},{"type":9,"tag":37,"props":6432,"children":6433},{"style":44},[6434],{"type":14,"value":47},{"type":9,"tag":37,"props":6436,"children":6437},{"style":56},[6438],{"type":14,"value":811},{"type":9,"tag":37,"props":6440,"children":6441},{"style":44},[6442],{"type":14,"value":816},{"type":9,"tag":37,"props":6444,"children":6445},{"style":72},[6446],{"type":14,"value":821},{"type":9,"tag":37,"props":6448,"children":6449},{"style":44},[6450],{"type":14,"value":826},{"type":9,"tag":37,"props":6452,"children":6453},{"style":87},[6454],{"type":14,"value":69},{"type":9,"tag":37,"props":6456,"children":6457},{"style":44},[6458],{"type":14,"value":835},{"type":9,"tag":37,"props":6460,"children":6461},{"style":838},[6462],{"type":14,"value":841},{"type":9,"tag":37,"props":6464,"children":6465},{"style":44},[6466],{"type":14,"value":846},{"type":9,"tag":37,"props":6468,"children":6469},{"style":87},[6470],{"type":14,"value":851},{"type":9,"tag":37,"props":6472,"children":6473},{"style":72},[6474],{"type":14,"value":856},{"type":9,"tag":37,"props":6476,"children":6477},{"style":56},[6478],{"type":14,"value":841},{"type":9,"tag":37,"props":6480,"children":6481},{"style":72},[6482],{"type":14,"value":47},{"type":9,"tag":37,"props":6484,"children":6485},{"style":93},[6486],{"type":14,"value":869},{"type":9,"tag":37,"props":6488,"children":6489},{"style":72},[6490],{"type":14,"value":874},{"type":9,"tag":37,"props":6492,"children":6493},{"style":56},[6494],{"type":14,"value":879},{"type":9,"tag":37,"props":6496,"children":6497},{"style":72},[6498],{"type":14,"value":575},{"type":9,"tag":37,"props":6500,"children":6501},{"style":72},[6502],{"type":14,"value":888},{"type":9,"tag":37,"props":6504,"children":6505},{"class":39,"line":272},[6506,6510,6514,6518,6522,6526,6530,6534,6538],{"type":9,"tag":37,"props":6507,"children":6508},{"style":87},[6509],{"type":14,"value":90},{"type":9,"tag":37,"props":6511,"children":6512},{"style":93},[6513],{"type":14,"value":158},{"type":9,"tag":37,"props":6515,"children":6516},{"style":87},[6517],{"type":14,"value":797},{"type":9,"tag":37,"props":6519,"children":6520},{"style":56},[6521],{"type":14,"value":915},{"type":9,"tag":37,"props":6523,"children":6524},{"style":44},[6525],{"type":14,"value":47},{"type":9,"tag":37,"props":6527,"children":6528},{"style":56},[6529],{"type":14,"value":811},{"type":9,"tag":37,"props":6531,"children":6532},{"style":44},[6533],{"type":14,"value":928},{"type":9,"tag":37,"props":6535,"children":6536},{"style":87},[6537],{"type":14,"value":69},{"type":9,"tag":37,"props":6539,"children":6540},{"style":44},[6541],{"type":14,"value":937},{"type":9,"tag":37,"props":6543,"children":6544},{"class":39,"line":289},[6545,6549,6553,6557,6561],{"type":9,"tag":37,"props":6546,"children":6547},{"style":44},[6548],{"type":14,"value":945},{"type":9,"tag":37,"props":6550,"children":6551},{"style":72},[6552],{"type":14,"value":950},{"type":9,"tag":37,"props":6554,"children":6555},{"style":44},[6556],{"type":14,"value":177},{"type":9,"tag":37,"props":6558,"children":6559},{"style":72},[6560],{"type":14,"value":959},{"type":9,"tag":37,"props":6562,"children":6563},{"style":44},[6564],{"type":14,"value":974},{"type":9,"tag":37,"props":6566,"children":6567},{"class":39,"line":392},[6568,6572,6576,6580,6584],{"type":9,"tag":37,"props":6569,"children":6570},{"style":44},[6571],{"type":14,"value":945},{"type":9,"tag":37,"props":6573,"children":6574},{"style":72},[6575],{"type":14,"value":172},{"type":9,"tag":37,"props":6577,"children":6578},{"style":44},[6579],{"type":14,"value":177},{"type":9,"tag":37,"props":6581,"children":6582},{"style":72},[6583],{"type":14,"value":994},{"type":9,"tag":37,"props":6585,"children":6586},{"style":44},[6587],{"type":14,"value":974},{"type":9,"tag":37,"props":6589,"children":6590},{"class":39,"line":419},[6591,6595,6599,6603,6607],{"type":9,"tag":37,"props":6592,"children":6593},{"style":44},[6594],{"type":14,"value":945},{"type":9,"tag":37,"props":6596,"children":6597},{"style":72},[6598],{"type":14,"value":1029},{"type":9,"tag":37,"props":6600,"children":6601},{"style":44},[6602],{"type":14,"value":177},{"type":9,"tag":37,"props":6604,"children":6605},{"style":72},[6606],{"type":14,"value":1038},{"type":9,"tag":37,"props":6608,"children":6609},{"style":44},[6610],{"type":14,"value":974},{"type":9,"tag":37,"props":6612,"children":6613},{"class":39,"line":509},[6614,6618,6622,6626,6630],{"type":9,"tag":37,"props":6615,"children":6616},{"style":44},[6617],{"type":14,"value":945},{"type":9,"tag":37,"props":6619,"children":6620},{"style":72},[6621],{"type":14,"value":2148},{"type":9,"tag":37,"props":6623,"children":6624},{"style":44},[6625],{"type":14,"value":177},{"type":9,"tag":37,"props":6627,"children":6628},{"style":72},[6629],{"type":14,"value":2157},{"type":9,"tag":37,"props":6631,"children":6632},{"style":44},[6633],{"type":14,"value":974},{"type":9,"tag":37,"props":6635,"children":6636},{"class":39,"line":586},[6637,6641,6645,6649,6653],{"type":9,"tag":37,"props":6638,"children":6639},{"style":44},[6640],{"type":14,"value":945},{"type":9,"tag":37,"props":6642,"children":6643},{"style":72},[6644],{"type":14,"value":1063},{"type":9,"tag":37,"props":6646,"children":6647},{"style":44},[6648],{"type":14,"value":177},{"type":9,"tag":37,"props":6650,"children":6651},{"style":72},[6652],{"type":14,"value":1072},{"type":9,"tag":37,"props":6654,"children":6655},{"style":44},[6656],{"type":14,"value":974},{"type":9,"tag":37,"props":6658,"children":6659},{"class":39,"line":603},[6660,6664,6668,6672,6676],{"type":9,"tag":37,"props":6661,"children":6662},{"style":44},[6663],{"type":14,"value":945},{"type":9,"tag":37,"props":6665,"children":6666},{"style":72},[6667],{"type":14,"value":2198},{"type":9,"tag":37,"props":6669,"children":6670},{"style":44},[6671],{"type":14,"value":177},{"type":9,"tag":37,"props":6673,"children":6674},{"style":72},[6675],{"type":14,"value":2207},{"type":9,"tag":37,"props":6677,"children":6678},{"style":44},[6679],{"type":14,"value":974},{"type":9,"tag":37,"props":6681,"children":6682},{"class":39,"line":620},[6683,6687,6692,6696,6701,6706,6710],{"type":9,"tag":37,"props":6684,"children":6685},{"style":44},[6686],{"type":14,"value":945},{"type":9,"tag":37,"props":6688,"children":6689},{"style":72},[6690],{"type":14,"value":6691},"'joinedAt'",{"type":9,"tag":37,"props":6693,"children":6694},{"style":44},[6695],{"type":14,"value":177},{"type":9,"tag":37,"props":6697,"children":6698},{"style":72},[6699],{"type":14,"value":6700},"'入职日期'",{"type":9,"tag":37,"props":6702,"children":6703},{"style":44},[6704],{"type":14,"value":6705},", visibility: ",{"type":9,"tag":37,"props":6707,"children":6708},{"style":93},[6709],{"type":14,"value":4558},{"type":9,"tag":37,"props":6711,"children":6712},{"style":44},[6713],{"type":14,"value":974},{"type":9,"tag":37,"props":6715,"children":6716},{"class":39,"line":1139},[6717,6721,6725,6729,6733,6737,6741],{"type":9,"tag":37,"props":6718,"children":6719},{"style":44},[6720],{"type":14,"value":945},{"type":9,"tag":37,"props":6722,"children":6723},{"style":72},[6724],{"type":14,"value":1096},{"type":9,"tag":37,"props":6726,"children":6727},{"style":44},[6728],{"type":14,"value":177},{"type":9,"tag":37,"props":6730,"children":6731},{"style":72},[6732],{"type":14,"value":1105},{"type":9,"tag":37,"props":6734,"children":6735},{"style":44},[6736],{"type":14,"value":1110},{"type":9,"tag":37,"props":6738,"children":6739},{"style":72},[6740],{"type":14,"value":1115},{"type":9,"tag":37,"props":6742,"children":6743},{"style":44},[6744],{"type":14,"value":1128},{"type":9,"tag":37,"props":6746,"children":6747},{"class":39,"line":1155},[6748],{"type":9,"tag":37,"props":6749,"children":6750},{"style":44},[6751],{"type":14,"value":1136},{"type":9,"tag":37,"props":6753,"children":6754},{"class":39,"line":1163},[6755,6759,6763],{"type":9,"tag":37,"props":6756,"children":6757},{"style":44},[6758],{"type":14,"value":251},{"type":9,"tag":37,"props":6760,"children":6761},{"style":50},[6762],{"type":14,"value":53},{"type":9,"tag":37,"props":6764,"children":6765},{"style":44},[6766],{"type":14,"value":80},{"type":9,"tag":37,"props":6768,"children":6769},{"class":39,"line":1179},[6770],{"type":9,"tag":37,"props":6771,"children":6772},{"emptyLinePlaceholder":266},[6773],{"type":14,"value":269},{"type":9,"tag":37,"props":6775,"children":6776},{"class":39,"line":1243},[6777,6781,6785],{"type":9,"tag":37,"props":6778,"children":6779},{"style":44},[6780],{"type":14,"value":47},{"type":9,"tag":37,"props":6782,"children":6783},{"style":50},[6784],{"type":14,"value":282},{"type":9,"tag":37,"props":6786,"children":6787},{"style":44},[6788],{"type":14,"value":80},{"type":9,"tag":37,"props":6790,"children":6791},{"class":39,"line":1268},[6792,6796,6800,6804,6808,6812,6816,6820,6824,6828,6832,6836,6840,6844,6848],{"type":9,"tag":37,"props":6793,"children":6794},{"style":44},[6795],{"type":14,"value":295},{"type":9,"tag":37,"props":6797,"children":6798},{"style":50},[6799],{"type":14,"value":300},{"type":9,"tag":37,"props":6801,"children":6802},{"style":44},[6803],{"type":14,"value":319},{"type":9,"tag":37,"props":6805,"children":6806},{"style":56},[6807],{"type":14,"value":350},{"type":9,"tag":37,"props":6809,"children":6810},{"style":44},[6811],{"type":14,"value":69},{"type":9,"tag":37,"props":6813,"children":6814},{"style":72},[6815],{"type":14,"value":333},{"type":9,"tag":37,"props":6817,"children":6818},{"style":44},[6819],{"type":14,"value":350},{"type":9,"tag":37,"props":6821,"children":6822},{"style":72},[6823],{"type":14,"value":333},{"type":9,"tag":37,"props":6825,"children":6826},{"style":44},[6827],{"type":14,"value":319},{"type":9,"tag":37,"props":6829,"children":6830},{"style":56},[6831],{"type":14,"value":324},{"type":9,"tag":37,"props":6833,"children":6834},{"style":44},[6835],{"type":14,"value":69},{"type":9,"tag":37,"props":6837,"children":6838},{"style":72},[6839],{"type":14,"value":333},{"type":9,"tag":37,"props":6841,"children":6842},{"style":44},[6843],{"type":14,"value":324},{"type":9,"tag":37,"props":6845,"children":6846},{"style":72},[6847],{"type":14,"value":333},{"type":9,"tag":37,"props":6849,"children":6850},{"style":44},[6851],{"type":14,"value":506},{"type":9,"tag":37,"props":6853,"children":6854},{"class":39,"line":1298},[6855,6859,6863],{"type":9,"tag":37,"props":6856,"children":6857},{"style":44},[6858],{"type":14,"value":251},{"type":9,"tag":37,"props":6860,"children":6861},{"style":50},[6862],{"type":14,"value":282},{"type":9,"tag":37,"props":6864,"children":6865},{"style":44},[6866],{"type":14,"value":80},{"type":9,"tag":635,"props":6868,"children":6869},{},[6870],{"type":14,"value":639},{"title":22,"searchDepth":83,"depth":83,"links":6872},[],{"id":6874,"title":6875,"body":6876,"category":7509,"description":15,"difficulty":7509,"extension":7510,"index":7511,"keywords":7509,"links":7509,"meta":7512,"navigation":7509,"path":7513,"requires":7509,"seo":7514,"sitemap":7515,"stem":7516,"__hash__":7517},"docs\u002Fdocs\u002F3.data-table\u002F3.columns.md","列配置",{"type":6877,"value":6878,"toc":7489},"minimark",[6879,6887,6893,6896,6903,6913,6915,6921,6934,6937,6943,6962,6965,6971,6992,6995,7009,7044,7144,7165,7179,7183,7200,7203,7206,7220,7223,7230,7245,7247,7250,7271,7273,7277,7280,7313,7446,7448,7465,7486],[6880,6881,6883,6886],"h2",{"id":6882},"fixed-固定列",[33,6884,6885],{},"fixed"," 固定列",[10,6888,6889,6892],{},[33,6890,6891],{},"column.fixed"," 把列贴到表格两侧，横向滚动时保持可见：",[6894,6895],"component-example",{"name":1792},[6880,6897,6899,6902],{"id":6898},"children-分组表头",[33,6900,6901],{},"children"," 分组表头",[10,6904,6905,6906,6908,6909,6912],{},"通过 ",[33,6907,6901],{}," 定义分组列（",[33,6910,6911],{},"DataTableGroupColumn","），形成多级表头：",[6894,6914],{"name":3561},[6880,6916,6918,6920],{"id":6917},"sortable-列排序",[33,6919,3395],{}," 列排序",[10,6922,6923,6924,6926,6927,6929,6930,6933],{},"全局 ",[33,6925,3395],{}," 启用所有数据列点击表头排序；列级 ",[33,6928,3395],{}," 反向覆盖单列（如 ",[33,6931,6932],{},"sortable: false"," 锁定不可排序）：",[6894,6935],{"name":5277,":options":6936},"[{\"name\":\"sortable\",\"label\":\"sortable\",\"items\":[true,false],\"default\":true}]",[6880,6938,6940,6942],{"id":6939},"pinable-列固定切换",[33,6941,3424],{}," 列固定切换",[10,6944,6923,6945,6947,6948,6951,6952,6951,6955,6958,6959,6961],{},[33,6946,3424],{}," 让用户点表头图钉在 ",[33,6949,6950],{},"left","、",[33,6953,6954],{},"right",[33,6956,6957],{},"none"," 间循环；列级 ",[33,6960,3424],{}," 优先级更高，可锁住强制位：",[6894,6963],{"name":4204,":options":6964},"[{\"name\":\"pinable\",\"label\":\"pinable\",\"items\":[true,false],\"default\":true}]",[6880,6966,6968,6970],{"id":6967},"resizable-列宽拖拽",[33,6969,3453],{}," 列宽拖拽",[10,6972,6923,6973,6975,6976,6979,6980,6983,6984,6987,6988,6991],{},[33,6974,3453],{}," 给所有数据列加拖拽手柄；列级 ",[33,6977,6978],{},"resizable: false"," 锁定单列宽度。",[33,6981,6982],{},"columnResizeMode"," 控制 ",[33,6985,6986],{},"onChange","（拖动中实时重排）或 ",[33,6989,6990],{},"onEnd","（释放后更新）：",[6894,6993],{"name":4781,":options":6994},"[{\"name\":\"resizable\",\"label\":\"resizable\",\"items\":[true,false],\"default\":true},{\"name\":\"column-resize-mode\",\"label\":\"columnResizeMode\",\"items\":[\"onChange\",\"onEnd\"],\"default\":\"onChange\"}]",[6880,6996,6998,7001,7002,7001,7005,7008],{"id":6997},"size-minsize-maxsize-列宽",[33,6999,7000],{},"size"," \u002F ",[33,7003,7004],{},"minSize",[33,7006,7007],{},"maxSize"," 列宽",[10,7010,7011,7013,7014,7017,7018,7021,7022,7024,7025,7001,7027,7029,7030,7032,7033,7035,7036,7038,7039,7001,7041,7043],{},[33,7012,7000],{}," 设定固定列宽（数值或预设 ",[33,7015,7016],{},"xs","–",[33,7019,7020],{},"xl","）。不设 ",[33,7023,7000],{}," 而仅给 ",[33,7026,7004],{},[33,7028,7007],{}," 时，列宽由内容自适应：",[33,7031,7004],{}," 是自适应与拖拽的下限；",[33,7034,7007],{}," 是可拖拽到的最大宽度。已设 ",[33,7037,7000],{}," 的列会被 ",[33,7040,7004],{},[33,7042,7007],{}," 双向收敛。",[26,7045,7049],{"className":7046,"code":7047,"language":7048,"meta":22,"style":22},"language-ts shiki shiki-themes github-light github-light github-dark","const columns: DataTableColumn\u003CPerson>[] = [\n  { accessorKey: 'name', header: '姓名', minSize: 120 },    \u002F\u002F 自适应，不小于 120\n  { accessorKey: 'bio', header: '简介', maxSize: 240 },     \u002F\u002F 自适应，拖拽不超过 240\n  { accessorKey: 'id', header: '工号', size: 'sm' }         \u002F\u002F 固定预设宽 120\n]\n","ts",[33,7050,7051,7075,7097,7119,7140],{"__ignoreMap":22},[37,7052,7053,7056,7059,7061,7064,7067,7069,7071,7073],{"class":39,"line":40},[37,7054,90],{"class":7055},"s8jYJ",[37,7057,158],{"class":7058},"sBjJW",[37,7060,797],{"class":7055},[37,7062,915],{"class":7063},"snPdu",[37,7065,47],{"class":7066},"sxrX7",[37,7068,811],{"class":7063},[37,7070,928],{"class":7066},[37,7072,69],{"class":7055},[37,7074,937],{"class":7066},[37,7076,7077,7079,7082,7084,7086,7088,7090,7093],{"class":39,"line":83},[37,7078,945],{"class":7066},[37,7080,172],{"class":7081},"sIIMD",[37,7083,177],{"class":7066},[37,7085,994],{"class":7081},[37,7087,5001],{"class":7066},[37,7089,1047],{"class":7058},[37,7091,7092],{"class":7066}," },    ",[37,7094,7096],{"class":7095},"sCsY4","\u002F\u002F 自适应，不小于 120\n",[37,7098,7099,7101,7103,7105,7108,7111,7113,7116],{"class":39,"line":148},[37,7100,945],{"class":7066},[37,7102,2763],{"class":7081},[37,7104,177],{"class":7066},[37,7106,7107],{"class":7081},"'简介'",[37,7109,7110],{"class":7066},", maxSize: ",[37,7112,6034],{"class":7058},[37,7114,7115],{"class":7066}," },     ",[37,7117,7118],{"class":7095},"\u002F\u002F 自适应，拖拽不超过 240\n",[37,7120,7121,7123,7125,7127,7129,7131,7134,7137],{"class":39,"line":208},[37,7122,945],{"class":7066},[37,7124,950],{"class":7081},[37,7126,177],{"class":7066},[37,7128,959],{"class":7081},[37,7130,964],{"class":7066},[37,7132,7133],{"class":7081},"'sm'",[37,7135,7136],{"class":7066}," }         ",[37,7138,7139],{"class":7095},"\u002F\u002F 固定预设宽 120\n",[37,7141,7142],{"class":39,"line":245},[37,7143,1136],{"class":7066},[7145,7146,7147,7148,7151,7152,7154,7155,7158,7159,7161,7162,7164],"note",{},"表格采用 ",[33,7149,7150],{},"table-layout: auto"," 并撑满容器，自适应列的内容宽度可能超过 ",[33,7153,7007],{},"（auto 布局忽略单元格 ",[33,7156,7157],{},"max-width","）。因此对自适应列，",[33,7160,7007],{}," 仅约束拖拽上限；要严格固定列宽请改用 ",[33,7163,7000],{},"。",[7145,7166,7167,7168,7170,7171,7173,7174,7001,7176,7178],{},"固定列（",[33,7169,6885],{},"）需要确定宽度参与 sticky 偏移计算，因此默认固定为 ",[33,7172,7000],{},"。仅当某一侧只有一个固定列（贴近滚动区的内侧固定列）时，该列才支持按内容自适应——此时设 ",[33,7175,7004],{},[33,7177,7007],{}," 即可让它随内容撑开（典型如右侧唯一的操作列）。",[6880,7180,7182],{"id":7181},"文本截断与-tooltip","文本截断与 Tooltip",[10,7184,7185,7187,7188,7190,7191,7193,7194,7196,7197,7199],{},[33,7186,3482],{}," 控制纯截断（",[33,7189,1013],{}," 单行 \u002F ",[33,7192,869],{}," 多行 \u002F ",[33,7195,4558],{}," 禁用 \u002F 函数动态）；",[33,7198,3511],{}," 自带相同行数的截断，并在溢出时浮出完整内容。两者不需同时配置：",[6894,7201],{"name":5811,":options":7202},"[{\"name\":\"truncate\",\"label\":\"truncate\",\"items\":[true,false],\"default\":true},{\"name\":\"tooltip\",\"label\":\"tooltip\",\"items\":[true,false,1,2],\"default\":1}]",[6880,7204,7205],{"id":7205},"列可见性",[10,7207,7208,7211,7212,7215,7216,7219],{},[33,7209,7210],{},"column.visibility"," 设默认显隐；",[33,7213,7214],{},"columnVisibilityKeys","（白名单）与 ",[33,7217,7218],{},"columnVisibilityExcludeKeys","（黑名单）互斥，同传时白名单优先：",[6894,7221],{"name":6285,":options":7222},"[{\"name\":\"column-visibility-keys\",\"label\":\"columnVisibilityKeys\",\"items\":[\"id\",\"name\",\"department\",\"role\",\"level\",\"email\",\"joinedAt\",\"salary\"],\"multiple\":true},{\"name\":\"column-visibility-exclude-keys\",\"label\":\"columnVisibilityExcludeKeys\",\"items\":[\"id\",\"name\",\"department\",\"role\",\"level\",\"email\",\"joinedAt\",\"salary\"],\"multiple\":true}]",[6880,7224,7226,7229],{"id":7225},"columnsettings-列设置",[33,7227,7228],{},"columnSettings"," 列设置",[10,7231,7232,7233,7236,7237,7240,7241,7244],{},"开启列设置后可调整列显隐与顺序。",[33,7234,7235],{},"persistKey"," 将列设置和每页条数保存在浏览器。",[33,7238,7239],{},"v-model:columnOrder"," 可从外部控制顺序，",[33,7242,7243],{},"resetColumns()"," 恢复默认列设置。",[6894,7246],{"name":19},[6880,7248,7249],{"id":7249},"函数式配置",[10,7251,7252,6951,7254,6951,7256,7258,7259,7262,7263,6951,7265,7258,7267,7270],{},[33,7253,3395],{},[33,7255,3424],{},[33,7257,3453],{}," 接受 ",[33,7260,7261],{},"(col) => boolean","，",[33,7264,3482],{},[33,7266,3511],{},[33,7268,7269],{},"(ctx) => boolean | number","，一次声明替代逐列布尔，并可按字段或单元格上下文动态决定：",[6894,7272],{"name":2418},[7274,7275,7276],"tip",{},"列级 prop 优先级始终高于全局 prop。推荐用「全局开 + 个别列关」或「全局关 + 个别列开」的对照方式表达差异。",[6880,7278,7279],{"id":7279},"表头与单元格插槽",[10,7281,7282,7283,7285,7286,7001,7289,7292,7293,7296,7297,6951,7300,6951,7303,6951,7306,6951,7309,7312],{},"除了在 ",[33,7284,350],{}," 里配置 ",[33,7287,7288],{},"header",[33,7290,7291],{},"cell","，也可以按列 id 使用插槽渲染。列 id 即数据列的 ",[33,7294,7295],{},"accessorKey","，特殊列则是 ",[33,7298,7299],{},"__selection",[33,7301,7302],{},"__index",[33,7304,7305],{},"__expand",[33,7307,7308],{},"__row_pinning",[33,7310,7311],{},"__actions","：",[7314,7315,7316,7332],"table",{},[7317,7318,7319],"thead",{},[7320,7321,7322,7326,7329],"tr",{},[7323,7324,7325],"th",{},"插槽",[7323,7327,7328],{},"作用域类型",[7323,7330,7331],{},"说明",[7333,7334,7335,7378,7412],"tbody",{},[7320,7336,7337,7355,7375],{},[7338,7339,7340],"td",{},[33,7341,7344,7347,7350,7353],{"className":7342,"language":7343,"style":22},"language-ts-type shiki shiki-themes github-light github-light github-dark","ts-type",[37,7345,7346],{"class":7066},"#\u003C",[37,7348,7349],{"class":7063},"column",[37,7351,7352],{"class":7066},">-",[37,7354,7288],{"class":7063},[7338,7356,7357],{},[33,7358,7359,7362,7364,7367,7369,7372],{"className":7342,"language":7343,"style":22},[37,7360,7361],{"class":7063},"HeaderContext",[37,7363,47],{"class":7066},[37,7365,7366],{"class":7063},"T",[37,7368,2996],{"class":7066},[37,7370,7371],{"class":7058},"unknown",[37,7373,7374],{"class":7066},">",[7338,7376,7377],{},"替换该列表头标签",[7320,7379,7380,7392,7409],{},[7338,7381,7382],{},[33,7383,7384,7386,7388,7390],{"className":7342,"language":7343,"style":22},[37,7385,7346],{"class":7066},[37,7387,7349],{"class":7063},[37,7389,7352],{"class":7066},[37,7391,7291],{"class":7063},[7338,7393,7394],{},[33,7395,7396,7399,7401,7403,7405,7407],{"className":7342,"language":7343,"style":22},[37,7397,7398],{"class":7063},"CellContext",[37,7400,47],{"class":7066},[37,7402,7366],{"class":7063},[37,7404,2996],{"class":7066},[37,7406,7371],{"class":7058},[37,7408,7374],{"class":7066},[7338,7410,7411],{},"替换该列单元格内容",[7320,7413,7414,7427,7443],{},[7338,7415,7416],{},[33,7417,7418,7420,7422,7424],{"className":7342,"language":7343,"style":22},[37,7419,7346],{"class":7066},[37,7421,7349],{"class":7063},[37,7423,7352],{"class":7066},[37,7425,7426],{"class":7063},"footer",[7338,7428,7429],{},[33,7430,7431,7433,7435,7437,7439,7441],{"className":7342,"language":7343,"style":22},[37,7432,7361],{"class":7063},[37,7434,47],{"class":7066},[37,7436,7366],{"class":7063},[37,7438,2996],{"class":7066},[37,7440,7371],{"class":7058},[37,7442,7374],{"class":7066},[7338,7444,7445],{},"替换该列表尾内容",[6894,7447],{"name":645},[7145,7449,7450,7453,7454,7262,7458,6951,7460,6951,7462,7464],{},[33,7451,7452],{},"#\u003Ccolumn>-header"," 只替换",[7455,7456,7457],"strong",{},"标签位",[33,7459,3395],{},[33,7461,3424],{},[33,7463,3453],{}," 生成的排序按钮、图钉按钮与列宽拖拽手柄仍会保留在表头内，无需自行渲染。",[7466,7467,7468,7471,7472,6951,7474,6951,7476,7479,7480,7482,7483,7485],"warning",{},[33,7469,7470],{},"#\u003Ccolumn>-cell"," 整体替换单元格内容，该列的 ",[33,7473,3482],{},[33,7475,3511],{},[33,7477,7478],{},"emptyCell"," 不再生效，需要时请在插槽内自行处理。分组表头（",[33,7481,6901],{},"）的 id 由 TanStack 内部拼接，不支持插槽覆写，请用 ",[33,7484,7288],{}," 配置。",[635,7487,7488],{},"html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}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":7490},[7491,7493,7495,7497,7499,7501,7503,7504,7505,7507,7508],{"id":6882,"depth":83,"text":7492},"fixed 固定列",{"id":6898,"depth":83,"text":7494},"children 分组表头",{"id":6917,"depth":83,"text":7496},"sortable 列排序",{"id":6939,"depth":83,"text":7498},"pinable 列固定切换",{"id":6967,"depth":83,"text":7500},"resizable 列宽拖拽",{"id":6997,"depth":83,"text":7502},"size \u002F minSize \u002F maxSize 列宽",{"id":7181,"depth":83,"text":7182},{"id":7205,"depth":83,"text":7205},{"id":7225,"depth":83,"text":7506},"columnSettings 列设置",{"id":7249,"depth":83,"text":7249},{"id":7279,"depth":83,"text":7279},null,"md",false,{},"\u002Fdocs\u002Fdata-table\u002Fcolumns",{"title":6875,"description":15},{"loc":7513},"docs\u002F3.data-table\u002F3.columns","msA2ZAYZqf01zdPvs3MW2GCAA6Kmzw5x68hUm8FtMDI",[7519],{"title":7520,"path":7521,"stem":7522,"children":7523,"page":7511},"Docs","\u002Fdocs","docs",[7524,7563,7617,7651,7690],{"title":7525,"path":7526,"stem":7527,"children":7528,"category":7509,"description":7509,"icon":7562},"快速开始","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[7529,7532,7537,7542,7547,7552,7557],{"title":7530,"path":7526,"stem":7527,"category":7509,"description":7531},"介绍","了解 Movk Nuxt 的表单、数据表格、组件和 API 集成，并选择适合 Nuxt 或 Vue + Vite 项目的接入方式。",{"title":7533,"path":7534,"stem":7535,"category":7509,"description":7536},"安装","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","在 Nuxt 4 项目中安装和配置 Movk Nuxt 模块。",{"title":7538,"path":7539,"stem":7540,"category":7509,"description":7541},"模块配置","\u002Fdocs\u002Fgetting-started\u002Fconfiguration","docs\u002F1.getting-started\u002F3.configuration","配置组件前缀、主题颜色、字体、API 端点、认证策略、响应解析规则和 Toast 提示行为。",{"title":7543,"path":7544,"stem":7545,"category":7509,"description":7546},"Vue \u002F Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F4.vue","在纯 Vue + Vite 项目中使用 Movk 的独立组件、主题与 Composables，无需 Nuxt。",{"title":7548,"path":7549,"stem":7550,"category":7509,"description":7551},"主题系统","\u002Fdocs\u002Fgetting-started\u002Ftheme","docs\u002F1.getting-started\u002F5.theme","通过模块默认值、ThemePicker 组件和 useTheme composable 管理颜色、圆角、图标集与深色模式，字体则在构建期配置。",{"title":7553,"path":7554,"stem":7555,"category":7509,"description":7556},"迁移到 v2","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F6.migration","从 v1 升级到 v2 时需要处理的破坏性变更。",{"title":7558,"path":7559,"stem":7560,"category":7509,"description":7561},"AI 集成","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002F7.ai","通过 MCP、llms.txt 与 Skills 让 AI 助手理解 Movk Nuxt。","i-lucide-square-play",{"title":7564,"category":7509,"description":7509,"icon":7565,"path":7566,"stem":7567,"children":7568,"page":7511},"表单","i-lucide-square-pen","\u002Fdocs\u002Fauto-form","docs\u002F2.auto-form",[7569,7573,7578,7583,7588,7593,7598,7602,7607,7612],{"title":7525,"path":7570,"stem":7571,"category":7509,"description":7572},"\u002Fdocs\u002Fauto-form\u002Fquickstart","docs\u002F2.auto-form\u002F1.quickstart","了解 AutoForm 的核心设计理念和基本使用方式。",{"title":7574,"path":7575,"stem":7576,"category":7509,"description":7577},"实战示例","\u002Fdocs\u002Fauto-form\u002Frecipes","docs\u002F2.auto-form\u002F10.recipes","登录、注册分组校验、多文件上传与横向搜索表单等 AutoForm 组合场景。",{"title":7579,"path":7580,"stem":7581,"category":7509,"description":7582},"字段类型","\u002Fdocs\u002Fauto-form\u002Ffield-types","docs\u002F2.auto-form\u002F2.field-types","afz 各字段类型到控件的映射与配置。",{"title":7584,"path":7585,"stem":7586,"category":7509,"description":7587},"对象与数组","\u002Fdocs\u002Fauto-form\u002Fobject-array","docs\u002F2.auto-form\u002F3.object-array","嵌套对象与动态数组字段的渲染与增删。",{"title":7589,"path":7590,"stem":7591,"category":7509,"description":7592},"控件","\u002Fdocs\u002Fauto-form\u002Fcontrols","docs\u002F2.auto-form\u002F4.controls","通过 type 字段将 schema 映射到 Nuxt UI 控件，或注册、直接传入自定义 Vue 组件扩展表单字段。",{"title":7594,"path":7595,"stem":7596,"category":7509,"description":7597},"元数据与布局","\u002Fdocs\u002Fauto-form\u002Fmetadata-layout","docs\u002F2.auto-form\u002F5.metadata-layout","通过 meta 配置字段属性，并用 afz.layout 组织布局。",{"title":7325,"path":7599,"stem":7600,"category":7509,"description":7601},"\u002Fdocs\u002Fauto-form\u002Fslots","docs\u002F2.auto-form\u002F6.slots","通过具名插槽自定义 AutoForm 的头尾、字段控件、字段前后与布局内容。",{"title":7603,"path":7604,"stem":7605,"category":7509,"description":7606},"联动与提交","\u002Fdocs\u002Fauto-form\u002Freactive-submit","docs\u002F2.auto-form\u002F7.reactive-submit","字段间响应式联动与表单提交处理。",{"title":7608,"path":7609,"stem":7610,"category":7509,"description":7611},"SearchForm","\u002Fdocs\u002Fauto-form\u002Fsearch-form","docs\u002F2.auto-form\u002F8.search-form","Schema 驱动的可折叠搜索表单组件。",{"title":7613,"path":7614,"stem":7615,"category":7509,"description":7616},"useAutoForm","\u002Fdocs\u002Fauto-form\u002Fuse-auto-form","docs\u002F2.auto-form\u002F9.use-auto-form","用于创建类型化 Zod Schema 和管理 AutoForm 控件的 composable。",{"title":7618,"path":7619,"stem":7620,"children":7621,"category":7509,"description":7509,"icon":7650},"DataTable","\u002Fdocs\u002Fdata-table","docs\u002F3.data-table\u002F1.index",[7622,7624,7629,7630,7635,7640,7645],{"title":7530,"path":7619,"stem":7620,"category":7509,"description":7623},"基于 TanStack Table 的声明式数据表格，含列配置、选择、展开、树形、分页、加载更多与完整 API 参考。",{"title":7625,"path":7626,"stem":7627,"category":7509,"description":7628},"外观","\u002Fdocs\u002Fdata-table\u002Fappearance","docs\u002F3.data-table\u002F2.appearance","组件样式覆盖、分页样式覆盖、斑马纹与边框、视觉密度、内容自适应、空值占位与粘性表头。",{"title":6875,"path":7513,"stem":7516,"category":7509,"description":15},{"title":7631,"path":7632,"stem":7633,"category":7509,"description":7634},"特殊列","\u002Fdocs\u002Fdata-table\u002Fspecial-columns","docs\u002F3.data-table\u002F4.special-columns","选择列、索引列、行固定列与操作列的配置，含树形选择策略、动态按钮与二次确认。",{"title":7636,"path":7637,"stem":7638,"category":7509,"description":7639},"行为与交互","\u002Fdocs\u002Fdata-table\u002Frows","docs\u002F3.data-table\u002F5.rows","行选择、展开详情、点击行为、动态行样式、悬停、右键菜单与编程式控制。",{"title":7641,"path":7642,"stem":7643,"category":7509,"description":7644},"树形数据","\u002Fdocs\u002Fdata-table\u002Ftree","docs\u002F3.data-table\u002F6.tree","通过 childrenKey 启用树形表格，配置展开、级联选择策略、缩进与选中结果读取。",{"title":7646,"path":7647,"stem":7648,"category":7509,"description":7649},"分页与加载更多","\u002Fdocs\u002Fdata-table\u002Fpagination","docs\u002F3.data-table\u002F7.pagination","客户端自动分页、服务端手动分页与加载状态，以及触底加载、无限滚动的实用参数。","i-lucide-table",{"title":7652,"path":7653,"stem":7654,"children":7655,"category":7509,"description":7509,"icon":7689},"API","\u002Fdocs\u002Fapi","docs\u002F4.api\u002F1.index",[7656,7659,7664,7669,7674,7679,7684],{"title":7657,"path":7653,"stem":7654,"category":7509,"description":7658},"概览","Nuxt 数据获取基础与 Movk Nuxt API 系统的核心概念和架构设计。",{"title":7660,"path":7661,"stem":7662,"category":7509,"description":7663},"$api","\u002Fdocs\u002Fapi\u002Fapi-plugin","docs\u002F4.api\u002F2.api-plugin","由 api.factory 插件创建的增强型 $fetch 实例，支持认证注入、数据解包、业务检查和多端点切换。",{"title":7665,"path":7666,"stem":7667,"category":7509,"description":7668},"hooks","\u002Fdocs\u002Fapi\u002Fhooks","docs\u002F4.api\u002F3.hooks","通过 Nuxt 运行时 Hook 扩展 API 系统行为，实现全局请求拦截、错误处理和 401 自定义处理。",{"title":7670,"path":7671,"stem":7672,"category":7509,"description":7673},"useApiFetch","\u002Fdocs\u002Fapi\u002Fuse-api-fetch","docs\u002F4.api\u002F4.use-api-fetch","基于 Nuxt useFetch 封装的 API 请求 composable，提供自动认证、业务状态码检查和 Toast 提示。",{"title":7675,"path":7676,"stem":7677,"category":7509,"description":7678},"上传与下载","\u002Fdocs\u002Fapi\u002Fupload-download","docs\u002F4.api\u002F5.upload-download","带进度监控的文件上传与下载。",{"title":7680,"path":7681,"stem":7682,"category":7509,"description":7683},"流式请求","\u002Fdocs\u002Fapi\u002Fstream","docs\u002F4.api\u002F6.stream","SSE 流式请求与 AI SDK Chat Transport。",{"title":7685,"path":7686,"stem":7687,"category":7509,"description":7688},"API 架构设计","\u002Fdocs\u002Fapi\u002Farchitecture","docs\u002F4.api\u002F7.architecture","厘清 @movk\u002Fnuxt 的职责边界，用最小化分层组织直连后端、同源代理与最小化 BFF，并梳理两类 Auth 的完整闭环。","i-lucide-cloud",{"title":7691,"category":7509,"description":7509,"icon":7692,"path":7693,"stem":7694,"children":7695,"page":7511},"Components","i-lucide-box","\u002Fdocs\u002Fcomponents","docs\u002F5.components",[7696,7702,7708],{"title":7697,"path":7698,"stem":7699,"category":7700,"description":7701},"DatePicker","\u002Fdocs\u002Fcomponents\u002Fdate-picker","docs\u002F5.components\u002Fdate-picker","advanced","基于国际化标准的日期选择器组件。",{"title":7703,"path":7704,"stem":7705,"category":7706,"description":7707},"MessageBox","\u002Fdocs\u002Fcomponents\u002Fmessage-box","docs\u002F5.components\u002Fmessage-box","feedback","模态消息对话框，提供声明式与编程式两种调用方式。",{"title":7709,"path":7710,"stem":7711,"category":7700,"description":7712,"badge":7713},"Tree","\u002Fdocs\u002Fcomponents\u002Ftree","docs\u002F5.components\u002Ftree","基于 Nuxt UI Tree 的树形组件，补齐搜索、懒加载、工具栏、复选框与父子策略。","v1.4.2",{"data":7715,"body":7716},{},{"type":6,"children":7717},[7718],{"type":9,"tag":10,"props":7719,"children":7720},{},[7721,7723],{"type":14,"value":7722},"Copyright © 2025 - 2026 YiXuan - ",{"type":9,"tag":37,"props":7724,"children":7727},{"className":7725},[7726],"text-highlighted",[7728],{"type":14,"value":7729},"MIT License",[7731,7732],{"title":7625,"path":7626,"stem":7627,"description":7628,"children":-1},{"title":7631,"path":7632,"stem":7633,"description":7634,"children":-1},1795763784084,"237a5cff-9aba-4421-be98-81a239f14b62"]