PageSourceSearch

https://www.toolstation.nl/_nuxt/asset/6.0.10/TsCarousel-BjTpeanx.js

js toolstation.nl collected 2026-09-26 04:02:12 UTC 2,140 bytes, 2 lines download raw bytes

1import{l as g,Z as w,$ as v,b as y,w as h,H as o,Q as t,P as r,S as s,U as A,R as u}from"./carousel-BVOjnoof.js";const k=g({__name:"TsCarousel",props:w({itemsToShow:{default:1},itemsToScroll:{default:1},wrapAround:{type:Boolean,default:!0},snapAlign:{default:"center"},transition:{default:300},autoplay:{default:0},breakpoints:{default:null},mouseDrag:{type:Boolean,default:!0},touchDrag:{type:Boolean,default:!0},pauseAutoplayOnHover:{type:Boolean,default:!1},dir:{default:"ltr"},i18n:{default:()=>({ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide index",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"})},pagination:{type:Boolean,default:!0},navigation:{type:Boolean,default:!0},currentSlide:{default:0},dataTestid:{default:"ts-carousel"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,l=v(n,"modelValue"),a=y();return h(()=>{a.value&&a.value&&a.value.data&&a.value.data.slideTo(e.currentSlide)}),(d,i)=>{const p=o("Navigation"),f=o("Pagination"),c=o("Carousel");return r(),t(c,{ref_key:"carouselRef",ref:a,modelValue:l.value,"onUpdate:modelValue":i[0]||(i[0]=m=>l.value=m),"items-to-show":e.itemsToShow,"items-to-scroll":e.itemsToScroll,"wrap-around":e.wrapAround,"snap-align":e.snapAlign,transition:e.transition,autoplay:e.autoplay,breakpoints:e.breakpoints,"mouse-drag":e.mouseDrag,"touch-drag":e.touchDrag,"pause-autoplay-on-hover":e.pauseAutoplayOnHover,dir:e.dir,i18n:e.i18n,"data-testid":e.dataTestid||"ts-carousel"},{addons:s(()=>[e.navigation?(r(),t(p,{key:0})):u("",!0),e.pagination?(r(),t(f,{key:1})):u("",!0)]),default:s(()=>[A(d.$slots,"default")]),_:3},8,["modelValue","items-to-show","items-to-scroll","wrap-around","snap-align","transition","autoplay","breakpoints","mouse-drag","touch-drag","pause-autoplay-on-hover","dir","i18n","data-testid"])}}});export{k as default};
2//# sourceMappingURL=TsCarousel-BjTpeanx.js.map

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.