UNPKG

react-multi-carousel-18

Version:

Production-ready, lightweight fully customizable React carousel component that rocks supports multiple items and SSR(Server-side rendering) with typescript.

1 lines 3.26 kB
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getInitialSlideInInfiniteMode=exports.notEnoughChildren=exports.populateSlidesOnMouseTouchMove=exports.populatePreviousSlides=exports.populateNextSlides=exports.throwError=exports.getTransformForPartialVsibile=exports.getTransformForCenterMode=exports.getIfSlideIsVisbile=exports.getInitialState=exports.throttle=exports.getPartialVisibilityGutter=exports.getItemClientSideWidth=exports.checkClonesPosition=exports.getWidthFromDeviceType=exports.getSlidesToSlide=exports.getClones=exports.getOriginalCounterPart=exports.isInRightEnd=exports.isInLeftEnd=void 0;const clones_1=require("./clones"),elementWidth_1=(Object.defineProperty(exports,"getOriginalCounterPart",{enumerable:!0,get:function(){return clones_1.getOriginalCounterPart}}),Object.defineProperty(exports,"getClones",{enumerable:!0,get:function(){return clones_1.getClones}}),Object.defineProperty(exports,"checkClonesPosition",{enumerable:!0,get:function(){return clones_1.checkClonesPosition}}),Object.defineProperty(exports,"getInitialSlideInInfiniteMode",{enumerable:!0,get:function(){return clones_1.getInitialSlideInInfiniteMode}}),require("./elementWidth")),common_1=(Object.defineProperty(exports,"getWidthFromDeviceType",{enumerable:!0,get:function(){return elementWidth_1.getWidthFromDeviceType}}),Object.defineProperty(exports,"getPartialVisibilityGutter",{enumerable:!0,get:function(){return elementWidth_1.getPartialVisibilityGutter}}),Object.defineProperty(exports,"getItemClientSideWidth",{enumerable:!0,get:function(){return elementWidth_1.getItemClientSideWidth}}),require("./common")),throttle_1=(Object.defineProperty(exports,"getInitialState",{enumerable:!0,get:function(){return common_1.getInitialState}}),Object.defineProperty(exports,"getIfSlideIsVisbile",{enumerable:!0,get:function(){return common_1.getIfSlideIsVisbile}}),Object.defineProperty(exports,"getTransformForCenterMode",{enumerable:!0,get:function(){return common_1.getTransformForCenterMode}}),Object.defineProperty(exports,"getTransformForPartialVsibile",{enumerable:!0,get:function(){return common_1.getTransformForPartialVsibile}}),Object.defineProperty(exports,"isInLeftEnd",{enumerable:!0,get:function(){return common_1.isInLeftEnd}}),Object.defineProperty(exports,"isInRightEnd",{enumerable:!0,get:function(){return common_1.isInRightEnd}}),Object.defineProperty(exports,"notEnoughChildren",{enumerable:!0,get:function(){return common_1.notEnoughChildren}}),Object.defineProperty(exports,"getSlidesToSlide",{enumerable:!0,get:function(){return common_1.getSlidesToSlide}}),require("./throttle")),throwError_1=(exports.throttle=throttle_1.default,require("./throwError")),next_1=(exports.throwError=throwError_1.default,require("./next")),previous_1=(Object.defineProperty(exports,"populateNextSlides",{enumerable:!0,get:function(){return next_1.populateNextSlides}}),require("./previous")),mouseOrTouchMove_1=(Object.defineProperty(exports,"populatePreviousSlides",{enumerable:!0,get:function(){return previous_1.populatePreviousSlides}}),require("./mouseOrTouchMove"));Object.defineProperty(exports,"populateSlidesOnMouseTouchMove",{enumerable:!0,get:function(){return mouseOrTouchMove_1.populateSlidesOnMouseTouchMove}});