PageSourceSearch

https://gotov.org/_nuxt/WYagKSIj.js

js gotov.org collected 2026-10-07 16:04:24 UTC 1,512 bytes, 1 lines download raw bytes

1import{u as f,o as P,c as h}from"./C6O4reqJ.js";import{b as k}from"./CTBuBO2W.js";import{k as B,B as w,c as M,H as C,P as N,Q as q,L as i,U as r,a6 as o,u as n,l as E}from"./CXy4zFZB.js";const H={mobile:"360px",tablet:"768px",laptop:"1024px",desktop:"1920px"},R={class:"pagination"},U={class:"pagination-button prev"},V={class:"pagination-button__icon"},y={class:"pagination-button next"},G={class:"pagination-button__icon"},I=B({__name:"Pagination",props:{currentModel:{},total:{},itemsPerPage:{}},emits:["update:currentModel"],setup(c,{emit:u}){const l=c,_=f(),{itemsPerPage:m,total:d,currentModel:s}=w(l),g=u,x=k(H),b=E(()=>x.isGreaterOrEqual("tablet")?7:3),p=t=>{!t||t===s.value||g("update:currentModel",t)};return M(()=>{var t;return(t=_.query)==null?void 0:t.page},(t,e)=>{const a=t?Number(t):1;t===e||a===s.value||p(a)}),(t,e)=>{const a=P,v=C("vue-awesome-paginate");return q(),N("div",R,[i(v,{"total-items":n(d),"items-per-page":n(m),"max-pages-shown":n(b),"model-value":n(s),"hide-prev-next-when-ends":!0,"onUpdate:modelValue":p},{"prev-button":r(()=>[o("div",U,[o("span",V,[i(a,{name:"ic_pagination_button",filled:""})]),e[0]||(e[0]=o("span",{class:"pagination-button__text"},"Назад",-1))])]),"next-button":r(()=>[o("div",y,[e[1]||(e[1]=o("span",{class:"pagination-button__text"},"Далее",-1)),o("span",G,[i(a,{name:"ic_pagination_button",filled:""})])])]),_:1},8,["total-items","items-per-page","max-pages-shown","model-value"])])}}}),$=h(I,[["__scopeId","data-v-46391158"]]);export{$ as P};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.