qbit and vim

This commit is contained in:
2024-03-12 13:41:48 -04:00
parent 81c9080483
commit f3a0a7ec7a
171 changed files with 15225 additions and 8 deletions

View File

@@ -0,0 +1 @@
import{aA as f}from"./index-135ae4c1.js";import{c as d,J as t}from"./vue-d2584a6d.js";function h(a,e,o=1){const{currentPage:n,currentPageSize:r,pageCount:u,isFirstPage:c,isLastPage:i,next:g,prev:l}=f({total:()=>t(a).length,page:o,pageSize:()=>t(e)===-1?t(a).length:t(e)}),p=d(()=>{const s=(n.value-1)*t(e),P=s+r.value;return t(a).slice(s,P)});return{currentPage:n,currentPageSize:r,pageCount:u,isFirstPage:c,isLastPage:i,next:g,prev:l,paginatedResults:p}}export{h as u};