[{"data":1,"prerenderedAt":1715},["ShallowReactive",2],{"navigation_docs":3,"-composables-use-table-rows":212,"-composables-use-table-rows-surround":1712},[4,18,182],{"title":5,"path":6,"stem":7,"children":8,"icon":17},"Get Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,12],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download","i-lucide-square-play",{"title":19,"icon":20,"path":21,"stem":22,"children":23,"page":69},"Components","i-lucide-square-code","\u002Fcomponents","2.components",[24,70,135,160,173],{"title":25,"path":26,"stem":27,"children":28,"page":69},"Elements","\u002Fcomponents\u002Felements","2.components\u002F1.elements",[29,33,37,41,45,49,53,57,61,65],{"title":30,"path":31,"stem":32},"Alert","\u002Fcomponents\u002Felements\u002Falert","2.components\u002F1.elements\u002F01.alert",{"title":34,"path":35,"stem":36},"Avatar","\u002Fcomponents\u002Felements\u002Favatar","2.components\u002F1.elements\u002F02.avatar",{"title":38,"path":39,"stem":40},"Avatar group","\u002Fcomponents\u002Felements\u002Favatar-group","2.components\u002F1.elements\u002F03.avatar-group",{"title":42,"path":43,"stem":44},"Badge","\u002Fcomponents\u002Felements\u002Fbadge","2.components\u002F1.elements\u002F04.badge",{"title":46,"path":47,"stem":48},"Button","\u002Fcomponents\u002Felements\u002Fbutton","2.components\u002F1.elements\u002F05.button",{"title":50,"path":51,"stem":52},"Circular progress","\u002Fcomponents\u002Felements\u002Fcircular-progress","2.components\u002F1.elements\u002F06.circular-progress",{"title":54,"path":55,"stem":56},"Loading dots","\u002Fcomponents\u002Felements\u002Floading-dots","2.components\u002F1.elements\u002F07.loading-dots",{"title":58,"path":59,"stem":60},"Loading indicator","\u002Fcomponents\u002Felements\u002Floading-indicator","2.components\u002F1.elements\u002F08.loading-indicator",{"title":62,"path":63,"stem":64},"Separator","\u002Fcomponents\u002Felements\u002Fseparator","2.components\u002F1.elements\u002F09.separator",{"title":66,"path":67,"stem":68},"Text link","\u002Fcomponents\u002Felements\u002Ftext-link","2.components\u002F1.elements\u002F10.text-link",false,{"title":71,"path":72,"stem":73,"children":74,"page":69},"Forms","\u002Fcomponents\u002Fforms","2.components\u002F2.forms",[75,79,83,87,91,95,99,103,107,111,115,119,123,127,131],{"title":76,"path":77,"stem":78},"Checkbox","\u002Fcomponents\u002Fforms\u002Fcheckbox","2.components\u002F2.forms\u002F01.checkbox",{"title":80,"path":81,"stem":82},"Date picker","\u002Fcomponents\u002Fforms\u002Fdate-picker","2.components\u002F2.forms\u002F02.date-picker",{"title":84,"path":85,"stem":86},"Date picker field","\u002Fcomponents\u002Fforms\u002Fdate-picker-field","2.components\u002F2.forms\u002F03.date-picker-field",{"title":88,"path":89,"stem":90},"Date range picker","\u002Fcomponents\u002Fforms\u002Fdate-range-picker","2.components\u002F2.forms\u002F04.date-range-picker",{"title":92,"path":93,"stem":94},"Date range picker field","\u002Fcomponents\u002Fforms\u002Fdate-range-picker-field","2.components\u002F2.forms\u002F05.date-range-picker-field",{"title":96,"path":97,"stem":98},"Input","\u002Fcomponents\u002Fforms\u002Finput","2.components\u002F2.forms\u002F06.input",{"title":100,"path":101,"stem":102},"Radio group","\u002Fcomponents\u002Fforms\u002Fradio-group","2.components\u002F2.forms\u002F07.radio-group",{"title":104,"path":105,"stem":106},"Range slider","\u002Fcomponents\u002Fforms\u002Frange-slider","2.components\u002F2.forms\u002F08.range-slider",{"title":108,"path":109,"stem":110},"Segmented control","\u002Fcomponents\u002Fforms\u002Fsegmented-control","2.components\u002F2.forms\u002F09.segmented-control",{"title":112,"path":113,"stem":114},"Select","\u002Fcomponents\u002Fforms\u002Fselect","2.components\u002F2.forms\u002F10.select",{"title":116,"path":117,"stem":118},"Select field","\u002Fcomponents\u002Fforms\u002Fselect-field","2.components\u002F2.forms\u002F11.select-field",{"title":120,"path":121,"stem":122},"Slider","\u002Fcomponents\u002Fforms\u002Fslider","2.components\u002F2.forms\u002F12.slider",{"title":124,"path":125,"stem":126},"Switch","\u002Fcomponents\u002Fforms\u002Fswitch","2.components\u002F2.forms\u002F13.switch",{"title":128,"path":129,"stem":130},"Text field","\u002Fcomponents\u002Fforms\u002Ftext-field","2.components\u002F2.forms\u002F14.text-field",{"title":132,"path":133,"stem":134},"Textarea","\u002Fcomponents\u002Fforms\u002Ftextarea","2.components\u002F2.forms\u002F15.textarea",{"title":136,"path":137,"stem":138,"children":139,"page":69},"Overlays","\u002Fcomponents\u002Foverlays","2.components\u002F3.overlays",[140,144,148,152,156],{"title":141,"path":142,"stem":143},"Drawer","\u002Fcomponents\u002Foverlays\u002Fdrawer","2.components\u002F3.overlays\u002F1.drawer",{"title":145,"path":146,"stem":147},"Menu","\u002Fcomponents\u002Foverlays\u002Fmenu","2.components\u002F3.overlays\u002F2.menu",{"title":149,"path":150,"stem":151},"Modal","\u002Fcomponents\u002Foverlays\u002Fmodal","2.components\u002F3.overlays\u002F3.modal",{"title":153,"path":154,"stem":155},"Popover","\u002Fcomponents\u002Foverlays\u002Fpopover","2.components\u002F3.overlays\u002F4.popover",{"title":157,"path":158,"stem":159},"Tooltip","\u002Fcomponents\u002Foverlays\u002Ftooltip","2.components\u002F3.overlays\u002F5.tooltip",{"title":161,"path":162,"stem":163,"children":164,"page":69},"Data","\u002Fcomponents\u002Fdata","2.components\u002F4.data",[165,169],{"title":166,"path":167,"stem":168},"Table","\u002Fcomponents\u002Fdata\u002Ftable","2.components\u002F4.data\u002F1.table",{"title":170,"path":171,"stem":172},"Pagination","\u002Fcomponents\u002Fdata\u002Fpagination","2.components\u002F4.data\u002F2.pagination",{"title":174,"path":175,"stem":176,"children":177,"page":69},"Navigation","\u002Fcomponents\u002Fnavigation","2.components\u002F5.navigation",[178],{"title":179,"path":180,"stem":181},"Sidebar","\u002Fcomponents\u002Fnavigation\u002Fsidebar","2.components\u002F5.navigation\u002F1.sidebar",{"title":183,"icon":184,"path":185,"stem":186,"children":187,"page":69},"Composables","i-lucide-square-function","\u002Fcomposables","3.composables",[188,192,196,200,204,208],{"title":189,"path":190,"stem":191},"useConfirm","\u002Fcomposables\u002Fuse-confirm","3.composables\u002F1.use-confirm",{"title":193,"path":194,"stem":195},"useMask","\u002Fcomposables\u002Fuse-mask","3.composables\u002F2.use-mask",{"title":197,"path":198,"stem":199},"useOverlay","\u002Fcomposables\u002Fuse-overlay","3.composables\u002F3.use-overlay",{"title":201,"path":202,"stem":203},"useRowSelection","\u002Fcomposables\u002Fuse-row-selection","3.composables\u002F4.use-row-selection",{"title":205,"path":206,"stem":207},"useShortcuts","\u002Fcomposables\u002Fuse-shortcuts","3.composables\u002F5.use-shortcuts",{"title":209,"path":210,"stem":211},"useTableRows","\u002Fcomposables\u002Fuse-table-rows","3.composables\u002F6.use-table-rows",{"id":213,"title":209,"body":214,"description":1706,"extension":1707,"links":1708,"meta":1709,"navigation":345,"path":210,"seo":1710,"stem":211,"__hash__":1711},"docs\u002F3.composables\u002F6.use-table-rows.md",{"type":215,"value":216,"toc":1699},"minimark",[217,222,233,1356,1359,1365,1378,1382,1405,1409,1589,1593,1695],[218,219,221],"h2",{"id":220},"usage","Usage",[223,224,225,228,229,232],"p",{},[226,227,209],"code",{}," is the engine of the ",[230,231,166],"a",{"href":167},". Use it on its own to give the same search, filters, sort and pages to another layout, like a grid of cards.",[234,235,240],"pre",{"className":236,"code":237,"language":238,"meta":239,"style":239},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nimport { defineTableColumns, type TableSort, useTableRows } from '@kuina-ui\u002Fvue'\nimport { ref } from 'vue'\n\ninterface Transaction {\n  id: string\n  merchant: string\n  date: string\n  amount: number\n}\n\nconst transactions: Transaction[] = [\n  { id: 'txn-1048', merchant: 'Corner Coffee', date: '2026-11-24', amount: -6.75 },\n  { id: 'txn-1047', merchant: 'Acme Corp', date: '2026-11-21', amount: 4850 },\n  { id: 'txn-1046', merchant: 'Streamly', date: '2026-11-19', amount: -11.99 },\n  { id: 'txn-1045', merchant: 'Skyway Airlines', date: '2026-11-16', amount: -428.4 },\n]\n\nconst transactionColumns = defineTableColumns\u003CTransaction>([\n  { key: 'merchant' },\n  { key: 'date', type: 'date' },\n  { key: 'amount', type: 'decimal', formatOptions: { style: 'currency', currency: 'USD' } },\n])\n\nconst searchQuery = ref('')\nconst sort = ref\u003CTableSort>([{ key: 'date', direction: 'descending' }])\nconst page = ref(1)\n\nconst { visibleRows, matchingRowCount, pageCount } = useTableRows(transactions, {\n  columns: transactionColumns,\n  searchQuery,\n  sort,\n  page,\n  rowsPerPage: 12,\n})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CKInput v-model=\"searchQuery\" type=\"search\" aria-label=\"Search transactions\" \u002F>\n\n  \u003Cdiv class=\"grid grid-cols-3 gap-4\">\n    \u003Carticle v-for=\"transaction in visibleRows\" :key=\"transaction.id\" class=\"rounded-xl border border-line p-4\">\n      \u003Ch3 class=\"font-medium\">{{ transaction.merchant }}\u003C\u002Fh3>\n      \u003Cp class=\"text-muted\">{{ transaction.date }}\u003C\u002Fp>\n      \u003Cp class=\"tabular-nums\">{{ transaction.amount }}\u003C\u002Fp>\n    \u003C\u002Farticle>\n  \u003C\u002Fdiv>\n\n  \u003Cp>{{ matchingRowCount }} transactions, page {{ page }} of {{ pageCount }}\u003C\u002Fp>\n  \u003CKPagination v-model:page=\"page\" :page-count=\"pageCount\" :rows-per-page-options=\"[]\" \u002F>\n\u003C\u002Ftemplate>\n","vue","",[226,241,242,277,320,340,347,360,372,382,392,403,409,414,435,499,552,607,662,668,673,697,716,746,814,820,825,846,899,918,923,958,972,980,988,996,1009,1016,1026,1031,1041,1088,1093,1115,1161,1192,1221,1250,1260,1270,1275,1293,1347],{"__ignoreMap":239},[243,244,247,251,255,259,262,265,268,272,274],"span",{"class":245,"line":246},"line",1,[243,248,250],{"class":249},"sMK4o","\u003C",[243,252,254],{"class":253},"swJcz","script",[243,256,258],{"class":257},"spNyl"," setup",[243,260,261],{"class":257}," lang",[243,263,264],{"class":249},"=",[243,266,267],{"class":249},"\"",[243,269,271],{"class":270},"sfazB","ts",[243,273,267],{"class":249},[243,275,276],{"class":249},">\n",[243,278,280,284,287,291,294,297,300,302,305,308,311,314,317],{"class":245,"line":279},2,[243,281,283],{"class":282},"s7zQu","import",[243,285,286],{"class":249}," {",[243,288,290],{"class":289},"sTEyZ"," defineTableColumns",[243,292,293],{"class":249},",",[243,295,296],{"class":282}," type",[243,298,299],{"class":289}," TableSort",[243,301,293],{"class":249},[243,303,304],{"class":289}," useTableRows",[243,306,307],{"class":249}," }",[243,309,310],{"class":282}," from",[243,312,313],{"class":249}," '",[243,315,316],{"class":270},"@kuina-ui\u002Fvue",[243,318,319],{"class":249},"'\n",[243,321,323,325,327,330,332,334,336,338],{"class":245,"line":322},3,[243,324,283],{"class":282},[243,326,286],{"class":249},[243,328,329],{"class":289}," ref",[243,331,307],{"class":249},[243,333,310],{"class":282},[243,335,313],{"class":249},[243,337,238],{"class":270},[243,339,319],{"class":249},[243,341,343],{"class":245,"line":342},4,[243,344,346],{"emptyLinePlaceholder":345},true,"\n",[243,348,350,353,357],{"class":245,"line":349},5,[243,351,352],{"class":257},"interface",[243,354,356],{"class":355},"sBMFI"," Transaction",[243,358,359],{"class":249}," {\n",[243,361,363,366,369],{"class":245,"line":362},6,[243,364,365],{"class":253},"  id",[243,367,368],{"class":249},":",[243,370,371],{"class":355}," string\n",[243,373,375,378,380],{"class":245,"line":374},7,[243,376,377],{"class":253},"  merchant",[243,379,368],{"class":249},[243,381,371],{"class":355},[243,383,385,388,390],{"class":245,"line":384},8,[243,386,387],{"class":253},"  date",[243,389,368],{"class":249},[243,391,371],{"class":355},[243,393,395,398,400],{"class":245,"line":394},9,[243,396,397],{"class":253},"  amount",[243,399,368],{"class":249},[243,401,402],{"class":355}," number\n",[243,404,406],{"class":245,"line":405},10,[243,407,408],{"class":249},"}\n",[243,410,412],{"class":245,"line":411},11,[243,413,346],{"emptyLinePlaceholder":345},[243,415,417,420,423,425,427,430,432],{"class":245,"line":416},12,[243,418,419],{"class":257},"const",[243,421,422],{"class":289}," transactions",[243,424,368],{"class":249},[243,426,356],{"class":355},[243,428,429],{"class":289},"[] ",[243,431,264],{"class":249},[243,433,434],{"class":289}," [\n",[243,436,438,441,444,446,448,451,454,456,459,461,463,466,468,470,473,475,477,480,482,484,487,489,492,496],{"class":245,"line":437},13,[243,439,440],{"class":249},"  {",[243,442,443],{"class":253}," id",[243,445,368],{"class":249},[243,447,313],{"class":249},[243,449,450],{"class":270},"txn-1048",[243,452,453],{"class":249},"'",[243,455,293],{"class":249},[243,457,458],{"class":253}," merchant",[243,460,368],{"class":249},[243,462,313],{"class":249},[243,464,465],{"class":270},"Corner Coffee",[243,467,453],{"class":249},[243,469,293],{"class":249},[243,471,472],{"class":253}," date",[243,474,368],{"class":249},[243,476,313],{"class":249},[243,478,479],{"class":270},"2026-11-24",[243,481,453],{"class":249},[243,483,293],{"class":249},[243,485,486],{"class":253}," amount",[243,488,368],{"class":249},[243,490,491],{"class":249}," -",[243,493,495],{"class":494},"sbssI","6.75",[243,497,498],{"class":249}," },\n",[243,500,502,504,506,508,510,513,515,517,519,521,523,526,528,530,532,534,536,539,541,543,545,547,550],{"class":245,"line":501},14,[243,503,440],{"class":249},[243,505,443],{"class":253},[243,507,368],{"class":249},[243,509,313],{"class":249},[243,511,512],{"class":270},"txn-1047",[243,514,453],{"class":249},[243,516,293],{"class":249},[243,518,458],{"class":253},[243,520,368],{"class":249},[243,522,313],{"class":249},[243,524,525],{"class":270},"Acme Corp",[243,527,453],{"class":249},[243,529,293],{"class":249},[243,531,472],{"class":253},[243,533,368],{"class":249},[243,535,313],{"class":249},[243,537,538],{"class":270},"2026-11-21",[243,540,453],{"class":249},[243,542,293],{"class":249},[243,544,486],{"class":253},[243,546,368],{"class":249},[243,548,549],{"class":494}," 4850",[243,551,498],{"class":249},[243,553,555,557,559,561,563,566,568,570,572,574,576,579,581,583,585,587,589,592,594,596,598,600,602,605],{"class":245,"line":554},15,[243,556,440],{"class":249},[243,558,443],{"class":253},[243,560,368],{"class":249},[243,562,313],{"class":249},[243,564,565],{"class":270},"txn-1046",[243,567,453],{"class":249},[243,569,293],{"class":249},[243,571,458],{"class":253},[243,573,368],{"class":249},[243,575,313],{"class":249},[243,577,578],{"class":270},"Streamly",[243,580,453],{"class":249},[243,582,293],{"class":249},[243,584,472],{"class":253},[243,586,368],{"class":249},[243,588,313],{"class":249},[243,590,591],{"class":270},"2026-11-19",[243,593,453],{"class":249},[243,595,293],{"class":249},[243,597,486],{"class":253},[243,599,368],{"class":249},[243,601,491],{"class":249},[243,603,604],{"class":494},"11.99",[243,606,498],{"class":249},[243,608,610,612,614,616,618,621,623,625,627,629,631,634,636,638,640,642,644,647,649,651,653,655,657,660],{"class":245,"line":609},16,[243,611,440],{"class":249},[243,613,443],{"class":253},[243,615,368],{"class":249},[243,617,313],{"class":249},[243,619,620],{"class":270},"txn-1045",[243,622,453],{"class":249},[243,624,293],{"class":249},[243,626,458],{"class":253},[243,628,368],{"class":249},[243,630,313],{"class":249},[243,632,633],{"class":270},"Skyway Airlines",[243,635,453],{"class":249},[243,637,293],{"class":249},[243,639,472],{"class":253},[243,641,368],{"class":249},[243,643,313],{"class":249},[243,645,646],{"class":270},"2026-11-16",[243,648,453],{"class":249},[243,650,293],{"class":249},[243,652,486],{"class":253},[243,654,368],{"class":249},[243,656,491],{"class":249},[243,658,659],{"class":494},"428.4",[243,661,498],{"class":249},[243,663,665],{"class":245,"line":664},17,[243,666,667],{"class":289},"]\n",[243,669,671],{"class":245,"line":670},18,[243,672,346],{"emptyLinePlaceholder":345},[243,674,676,678,681,683,686,688,691,694],{"class":245,"line":675},19,[243,677,419],{"class":257},[243,679,680],{"class":289}," transactionColumns ",[243,682,264],{"class":249},[243,684,290],{"class":685},"s2Zo4",[243,687,250],{"class":249},[243,689,690],{"class":355},"Transaction",[243,692,693],{"class":249},">",[243,695,696],{"class":289},"([\n",[243,698,700,702,705,707,709,712,714],{"class":245,"line":699},20,[243,701,440],{"class":249},[243,703,704],{"class":253}," key",[243,706,368],{"class":249},[243,708,313],{"class":249},[243,710,711],{"class":270},"merchant",[243,713,453],{"class":249},[243,715,498],{"class":249},[243,717,719,721,723,725,727,730,732,734,736,738,740,742,744],{"class":245,"line":718},21,[243,720,440],{"class":249},[243,722,704],{"class":253},[243,724,368],{"class":249},[243,726,313],{"class":249},[243,728,729],{"class":270},"date",[243,731,453],{"class":249},[243,733,293],{"class":249},[243,735,296],{"class":253},[243,737,368],{"class":249},[243,739,313],{"class":249},[243,741,729],{"class":270},[243,743,453],{"class":249},[243,745,498],{"class":249},[243,747,749,751,753,755,757,760,762,764,766,768,770,773,775,777,780,782,784,787,789,791,794,796,798,801,803,805,808,810,812],{"class":245,"line":748},22,[243,750,440],{"class":249},[243,752,704],{"class":253},[243,754,368],{"class":249},[243,756,313],{"class":249},[243,758,759],{"class":270},"amount",[243,761,453],{"class":249},[243,763,293],{"class":249},[243,765,296],{"class":253},[243,767,368],{"class":249},[243,769,313],{"class":249},[243,771,772],{"class":270},"decimal",[243,774,453],{"class":249},[243,776,293],{"class":249},[243,778,779],{"class":253}," formatOptions",[243,781,368],{"class":249},[243,783,286],{"class":249},[243,785,786],{"class":253}," style",[243,788,368],{"class":249},[243,790,313],{"class":249},[243,792,793],{"class":270},"currency",[243,795,453],{"class":249},[243,797,293],{"class":249},[243,799,800],{"class":253}," currency",[243,802,368],{"class":249},[243,804,313],{"class":249},[243,806,807],{"class":270},"USD",[243,809,453],{"class":249},[243,811,307],{"class":249},[243,813,498],{"class":249},[243,815,817],{"class":245,"line":816},23,[243,818,819],{"class":289},"])\n",[243,821,823],{"class":245,"line":822},24,[243,824,346],{"emptyLinePlaceholder":345},[243,826,828,830,833,835,837,840,843],{"class":245,"line":827},25,[243,829,419],{"class":257},[243,831,832],{"class":289}," searchQuery ",[243,834,264],{"class":249},[243,836,329],{"class":685},[243,838,839],{"class":289},"(",[243,841,842],{"class":249},"''",[243,844,845],{"class":289},")\n",[243,847,849,851,854,856,858,860,863,865,868,871,873,875,877,879,881,883,886,888,890,893,895,897],{"class":245,"line":848},26,[243,850,419],{"class":257},[243,852,853],{"class":289}," sort ",[243,855,264],{"class":249},[243,857,329],{"class":685},[243,859,250],{"class":249},[243,861,862],{"class":355},"TableSort",[243,864,693],{"class":249},[243,866,867],{"class":289},"([",[243,869,870],{"class":249},"{",[243,872,704],{"class":253},[243,874,368],{"class":249},[243,876,313],{"class":249},[243,878,729],{"class":270},[243,880,453],{"class":249},[243,882,293],{"class":249},[243,884,885],{"class":253}," direction",[243,887,368],{"class":249},[243,889,313],{"class":249},[243,891,892],{"class":270},"descending",[243,894,453],{"class":249},[243,896,307],{"class":249},[243,898,819],{"class":289},[243,900,902,904,907,909,911,913,916],{"class":245,"line":901},27,[243,903,419],{"class":257},[243,905,906],{"class":289}," page ",[243,908,264],{"class":249},[243,910,329],{"class":685},[243,912,839],{"class":289},[243,914,915],{"class":494},"1",[243,917,845],{"class":289},[243,919,921],{"class":245,"line":920},28,[243,922,346],{"emptyLinePlaceholder":345},[243,924,926,928,930,933,935,938,940,943,946,949,951,954,956],{"class":245,"line":925},29,[243,927,419],{"class":257},[243,929,286],{"class":249},[243,931,932],{"class":289}," visibleRows",[243,934,293],{"class":249},[243,936,937],{"class":289}," matchingRowCount",[243,939,293],{"class":249},[243,941,942],{"class":289}," pageCount ",[243,944,945],{"class":249},"}",[243,947,948],{"class":249}," =",[243,950,304],{"class":685},[243,952,953],{"class":289},"(transactions",[243,955,293],{"class":249},[243,957,359],{"class":249},[243,959,961,964,966,969],{"class":245,"line":960},30,[243,962,963],{"class":253},"  columns",[243,965,368],{"class":249},[243,967,968],{"class":289}," transactionColumns",[243,970,971],{"class":249},",\n",[243,973,975,978],{"class":245,"line":974},31,[243,976,977],{"class":289},"  searchQuery",[243,979,971],{"class":249},[243,981,983,986],{"class":245,"line":982},32,[243,984,985],{"class":289},"  sort",[243,987,971],{"class":249},[243,989,991,994],{"class":245,"line":990},33,[243,992,993],{"class":289},"  page",[243,995,971],{"class":249},[243,997,999,1002,1004,1007],{"class":245,"line":998},34,[243,1000,1001],{"class":253},"  rowsPerPage",[243,1003,368],{"class":249},[243,1005,1006],{"class":494}," 12",[243,1008,971],{"class":249},[243,1010,1012,1014],{"class":245,"line":1011},35,[243,1013,945],{"class":249},[243,1015,845],{"class":289},[243,1017,1019,1022,1024],{"class":245,"line":1018},36,[243,1020,1021],{"class":249},"\u003C\u002F",[243,1023,254],{"class":253},[243,1025,276],{"class":249},[243,1027,1029],{"class":245,"line":1028},37,[243,1030,346],{"emptyLinePlaceholder":345},[243,1032,1034,1036,1039],{"class":245,"line":1033},38,[243,1035,250],{"class":249},[243,1037,1038],{"class":253},"template",[243,1040,276],{"class":249},[243,1042,1044,1047,1050,1053,1055,1057,1060,1062,1064,1066,1068,1071,1073,1076,1078,1080,1083,1085],{"class":245,"line":1043},39,[243,1045,1046],{"class":249},"  \u003C",[243,1048,1049],{"class":253},"KInput",[243,1051,1052],{"class":257}," v-model",[243,1054,264],{"class":249},[243,1056,267],{"class":249},[243,1058,1059],{"class":289},"searchQuery",[243,1061,267],{"class":249},[243,1063,296],{"class":257},[243,1065,264],{"class":249},[243,1067,267],{"class":249},[243,1069,1070],{"class":270},"search",[243,1072,267],{"class":249},[243,1074,1075],{"class":257}," aria-label",[243,1077,264],{"class":249},[243,1079,267],{"class":249},[243,1081,1082],{"class":270},"Search transactions",[243,1084,267],{"class":249},[243,1086,1087],{"class":249}," \u002F>\n",[243,1089,1091],{"class":245,"line":1090},40,[243,1092,346],{"emptyLinePlaceholder":345},[243,1094,1096,1098,1101,1104,1106,1108,1111,1113],{"class":245,"line":1095},41,[243,1097,1046],{"class":249},[243,1099,1100],{"class":253},"div",[243,1102,1103],{"class":257}," class",[243,1105,264],{"class":249},[243,1107,267],{"class":249},[243,1109,1110],{"class":270},"grid grid-cols-3 gap-4",[243,1112,267],{"class":249},[243,1114,276],{"class":249},[243,1116,1118,1121,1124,1127,1129,1131,1134,1136,1139,1141,1143,1146,1148,1150,1152,1154,1157,1159],{"class":245,"line":1117},42,[243,1119,1120],{"class":249},"    \u003C",[243,1122,1123],{"class":253},"article",[243,1125,1126],{"class":257}," v-for",[243,1128,264],{"class":249},[243,1130,267],{"class":249},[243,1132,1133],{"class":270},"transaction in visibleRows",[243,1135,267],{"class":249},[243,1137,1138],{"class":257}," :key",[243,1140,264],{"class":249},[243,1142,267],{"class":249},[243,1144,1145],{"class":270},"transaction.id",[243,1147,267],{"class":249},[243,1149,1103],{"class":257},[243,1151,264],{"class":249},[243,1153,267],{"class":249},[243,1155,1156],{"class":270},"rounded-xl border border-line p-4",[243,1158,267],{"class":249},[243,1160,276],{"class":249},[243,1162,1164,1167,1170,1172,1174,1176,1179,1181,1183,1186,1188,1190],{"class":245,"line":1163},43,[243,1165,1166],{"class":249},"      \u003C",[243,1168,1169],{"class":253},"h3",[243,1171,1103],{"class":257},[243,1173,264],{"class":249},[243,1175,267],{"class":249},[243,1177,1178],{"class":270},"font-medium",[243,1180,267],{"class":249},[243,1182,693],{"class":249},[243,1184,1185],{"class":289},"{{ transaction.merchant }}",[243,1187,1021],{"class":249},[243,1189,1169],{"class":253},[243,1191,276],{"class":249},[243,1193,1195,1197,1199,1201,1203,1205,1208,1210,1212,1215,1217,1219],{"class":245,"line":1194},44,[243,1196,1166],{"class":249},[243,1198,223],{"class":253},[243,1200,1103],{"class":257},[243,1202,264],{"class":249},[243,1204,267],{"class":249},[243,1206,1207],{"class":270},"text-muted",[243,1209,267],{"class":249},[243,1211,693],{"class":249},[243,1213,1214],{"class":289},"{{ transaction.date }}",[243,1216,1021],{"class":249},[243,1218,223],{"class":253},[243,1220,276],{"class":249},[243,1222,1224,1226,1228,1230,1232,1234,1237,1239,1241,1244,1246,1248],{"class":245,"line":1223},45,[243,1225,1166],{"class":249},[243,1227,223],{"class":253},[243,1229,1103],{"class":257},[243,1231,264],{"class":249},[243,1233,267],{"class":249},[243,1235,1236],{"class":270},"tabular-nums",[243,1238,267],{"class":249},[243,1240,693],{"class":249},[243,1242,1243],{"class":289},"{{ transaction.amount }}",[243,1245,1021],{"class":249},[243,1247,223],{"class":253},[243,1249,276],{"class":249},[243,1251,1253,1256,1258],{"class":245,"line":1252},46,[243,1254,1255],{"class":249},"    \u003C\u002F",[243,1257,1123],{"class":253},[243,1259,276],{"class":249},[243,1261,1263,1266,1268],{"class":245,"line":1262},47,[243,1264,1265],{"class":249},"  \u003C\u002F",[243,1267,1100],{"class":253},[243,1269,276],{"class":249},[243,1271,1273],{"class":245,"line":1272},48,[243,1274,346],{"emptyLinePlaceholder":345},[243,1276,1278,1280,1282,1284,1287,1289,1291],{"class":245,"line":1277},49,[243,1279,1046],{"class":249},[243,1281,223],{"class":253},[243,1283,693],{"class":249},[243,1285,1286],{"class":289},"{{ matchingRowCount }} transactions, page {{ page }} of {{ pageCount }}",[243,1288,1021],{"class":249},[243,1290,223],{"class":253},[243,1292,276],{"class":249},[243,1294,1296,1298,1301,1303,1305,1308,1310,1312,1314,1316,1319,1322,1324,1326,1329,1331,1333,1336,1338,1340,1343,1345],{"class":245,"line":1295},50,[243,1297,1046],{"class":249},[243,1299,1300],{"class":253},"KPagination",[243,1302,1052],{"class":257},[243,1304,368],{"class":249},[243,1306,1307],{"class":257},"page",[243,1309,264],{"class":249},[243,1311,267],{"class":249},[243,1313,1307],{"class":289},[243,1315,267],{"class":249},[243,1317,1318],{"class":249}," :",[243,1320,1321],{"class":257},"page-count",[243,1323,264],{"class":249},[243,1325,267],{"class":249},[243,1327,1328],{"class":289},"pageCount",[243,1330,267],{"class":249},[243,1332,1318],{"class":249},[243,1334,1335],{"class":257},"rows-per-page-options",[243,1337,264],{"class":249},[243,1339,267],{"class":249},[243,1341,1342],{"class":249},"[]",[243,1344,267],{"class":249},[243,1346,1087],{"class":249},[243,1348,1350,1352,1354],{"class":245,"line":1349},51,[243,1351,1021],{"class":249},[243,1353,1038],{"class":253},[243,1355,276],{"class":249},[223,1357,1358],{},"Every option takes a value, a ref or a getter. The columns say how to read, search, format and compare each field, exactly like the columns of the table; without them, they are built from the first record.",[223,1360,1361,1362,1364],{},"Given as a ref, the page goes back to ",[226,1363,915],{}," when the search, a filter or the sort changes, and moves back when the page no longer exists.",[223,1366,1367,1368,1370,1371,1374,1375,1377],{},"With the Nuxt module, ",[226,1369,209],{}," and ",[226,1372,1373],{},"defineTableColumns"," are auto-imported. In a Vue app, import them from ",[226,1376,316],{},".",[218,1379,1381],{"id":1380},"api","API",[234,1383,1386],{"className":1384,"code":1385,"language":271,"meta":239,"style":239},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","useTableRows(rows, options?)\n",[226,1387,1388],{"__ignoreMap":239},[243,1389,1390,1392,1395,1397,1400,1403],{"class":245,"line":246},[243,1391,209],{"class":685},[243,1393,1394],{"class":289},"(rows",[243,1396,293],{"class":249},[243,1398,1399],{"class":289}," options",[243,1401,1402],{"class":249},"?",[243,1404,845],{"class":289},[1169,1406,1408],{"id":1407},"options","Options",[1410,1411,1412,1425],"table",{},[1413,1414,1415],"thead",{},[1416,1417,1418,1422],"tr",{},[1419,1420,1421],"th",{},"Option",[1419,1423,1424],{},"Type",[1426,1427,1428,1441,1453,1465,1475,1487,1499,1511,1523,1534,1547,1564,1577],"tbody",{},[1416,1429,1430,1436],{},[1431,1432,1433],"td",{},[226,1434,1435],{},"columns",[1431,1437,1438],{},[226,1439,1440],{},"TableColumn\u003CRow>[]",[1416,1442,1443,1448],{},[1431,1444,1445],{},[226,1446,1447],{},"columnTypes",[1431,1449,1450],{},[226,1451,1452],{},"Record\u003Cstring, TableColumnType>",[1416,1454,1455,1460],{},[1431,1456,1457],{},[226,1458,1459],{},"locale",[1431,1461,1462],{},[226,1463,1464],{},"string",[1416,1466,1467,1471],{},[1431,1468,1469],{},[226,1470,1059],{},[1431,1472,1473],{},[226,1474,1464],{},[1416,1476,1477,1482],{},[1431,1478,1479],{},[226,1480,1481],{},"searchMatcher",[1431,1483,1484],{},[226,1485,1486],{},"(row, searchQuery) => boolean",[1416,1488,1489,1494],{},[1431,1490,1491],{},[226,1492,1493],{},"columnFilters",[1431,1495,1496],{},[226,1497,1498],{},"Record\u003Cstring, unknown>",[1416,1500,1501,1506],{},[1431,1502,1503],{},[226,1504,1505],{},"sort",[1431,1507,1508],{},[226,1509,1510],{},"{ key, direction }[]",[1416,1512,1513,1517],{},[1431,1514,1515],{},[226,1516,1307],{},[1431,1518,1519,1522],{},[226,1520,1521],{},"number",", or a ref to keep in range",[1416,1524,1525,1530],{},[1431,1526,1527],{},[226,1528,1529],{},"rowsPerPage",[1431,1531,1532],{},[226,1533,1521],{},[1416,1535,1536,1541],{},[1431,1537,1538],{},[226,1539,1540],{},"serverSide",[1431,1542,1543,1546],{},[226,1544,1545],{},"boolean",", to leave the records as they come",[1416,1548,1549,1554],{},[1431,1550,1551],{},[226,1552,1553],{},"rowKey",[1431,1555,1556,1559,1560,1563],{},[226,1557,1558],{},"keyof Row | (row) => string | number",", ",[226,1561,1562],{},"'id'"," by default, to find the pinned rows",[1416,1565,1566,1571],{},[1431,1567,1568],{},[226,1569,1570],{},"pinnedRows",[1431,1572,1573,1576],{},[226,1574,1575],{},"(string | number)[]",", the keys of the records to keep first, whatever the sort",[1416,1578,1579,1584],{},[1431,1580,1581],{},[226,1582,1583],{},"childrenKey",[1431,1585,1586,1588],{},[226,1587,1464],{},", to keep a record when one of its children matches",[1169,1590,1592],{"id":1591},"returned-values","Returned values",[1410,1594,1595,1606],{},[1413,1596,1597],{},[1416,1598,1599,1602,1604],{},[1419,1600,1601],{},"Value",[1419,1603,1424],{},[1419,1605],{},[1426,1607,1608,1623,1637,1651,1665,1680],{},[1416,1609,1610,1615,1620],{},[1431,1611,1612],{},[226,1613,1614],{},"visibleRows",[1431,1616,1617],{},[226,1618,1619],{},"ComputedRef\u003CRow[]>",[1431,1621,1622],{},"The records of the current page.",[1416,1624,1625,1630,1634],{},[1431,1626,1627],{},[226,1628,1629],{},"matchingRows",[1431,1631,1632],{},[226,1633,1619],{},[1431,1635,1636],{},"Every record that matches the search and the filters.",[1416,1638,1639,1644,1648],{},[1431,1640,1641],{},[226,1642,1643],{},"sortedRows",[1431,1645,1646],{},[226,1647,1619],{},[1431,1649,1650],{},"The matching records, sorted.",[1416,1652,1653,1658,1663],{},[1431,1654,1655],{},[226,1656,1657],{},"matchingRowCount",[1431,1659,1660],{},[226,1661,1662],{},"ComputedRef\u003Cnumber>",[1431,1664],{},[1416,1666,1667,1671,1675],{},[1431,1668,1669],{},[226,1670,1328],{},[1431,1672,1673],{},[226,1674,1662],{},[1431,1676,1677,1678,1377],{},"At least ",[226,1679,915],{},[1416,1681,1682,1687,1692],{},[1431,1683,1684],{},[226,1685,1686],{},"resolvedColumns",[1431,1688,1689],{},[226,1690,1691],{},"ComputedRef\u003CTableColumn\u003CRow>[]>",[1431,1693,1694],{},"The given columns, or the built ones.",[1696,1697,1698],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}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":239,"searchDepth":279,"depth":279,"links":1700},[1701,1702],{"id":220,"depth":279,"text":221},{"id":1380,"depth":279,"text":1381,"children":1703},[1704,1705],{"id":1407,"depth":322,"text":1408},{"id":1591,"depth":322,"text":1592},"Search, filter, sort and cut records into pages, for a table or any other list.","md",null,{},{"title":209,"description":1706},"pCTML2jRRJU0uJojTb2h9ZaFy2XgcWyqoxTbkour3Uw",[1713,1708],{"title":205,"path":206,"stem":207,"description":1714,"children":-1},"Run a function when the user presses a keyboard shortcut.",1795933336413]