infinity-forge 0.54.0 → 0.54.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sites/context/scripts/component.js +2 -2
- package/dist/sites/context/scripts/component.js.map +1 -1
- package/dist/sites/fixed-components/list-blog/carousel-configs.d.ts +1 -2
- package/dist/sites/fixed-components/list-blog/carousel-configs.js.map +1 -1
- package/dist/ui/components/carousel/index.js +2 -2
- package/dist/ui/components/carousel/interfaces.d.ts +1 -2
- package/dist/ui/components/carousel/swiper/core/core.d.ts +116 -0
- package/dist/ui/components/carousel/swiper/core/core.js +654 -0
- package/dist/ui/components/carousel/swiper/core/core.js.map +1 -0
- package/dist/ui/components/carousel/swiper/core/defaults.d.ts +92 -0
- package/dist/ui/components/carousel/swiper/core/defaults.js +119 -0
- package/dist/ui/components/carousel/swiper/core/defaults.js.map +1 -0
- package/dist/ui/components/carousel/swiper/core/events-emitter.d.ts +9 -0
- package/dist/ui/components/carousel/swiper/core/events-emitter.js +133 -0
- package/dist/ui/components/carousel/swiper/core/events-emitter.js.map +1 -0
- package/dist/ui/components/carousel/swiper/core/moduleExtendParams.d.ts +1 -0
- package/dist/ui/components/carousel/swiper/core/moduleExtendParams.js +42 -0
- package/dist/ui/components/carousel/swiper/core/moduleExtendParams.js.map +1 -0
- package/dist/ui/components/carousel/swiper/modules/effect-fade.js +8 -8
- package/dist/ui/components/carousel/swiper/modules/effect-fade.js.map +1 -1
- package/dist/ui/components/carousel/swiper/modules/free-mode.js +7 -7
- package/dist/ui/components/carousel/swiper/modules/free-mode.js.map +1 -1
- package/dist/ui/components/carousel/swiper/modules/navigation.js +12 -12
- package/dist/ui/components/carousel/swiper/modules/navigation.js.map +1 -1
- package/dist/ui/components/carousel/swiper/modules/pagination.js +22 -22
- package/dist/ui/components/carousel/swiper/modules/pagination.js.map +1 -1
- package/dist/ui/components/carousel/swiper/modules/virtual.js +5 -5
- package/dist/ui/components/carousel/swiper/modules/virtual.js.map +1 -1
- package/dist/ui/components/carousel/swiper/react/context.d.ts +5 -0
- package/dist/ui/components/carousel/swiper/react/context.js +15 -0
- package/dist/ui/components/carousel/swiper/react/context.js.map +1 -0
- package/dist/ui/components/carousel/swiper/react/get-children.d.ts +10 -0
- package/dist/ui/components/carousel/swiper/react/get-children.js +54 -0
- package/dist/ui/components/carousel/swiper/react/get-children.js.map +1 -0
- package/dist/ui/components/carousel/swiper/react/swiper-slide.d.ts +3 -0
- package/dist/ui/components/carousel/swiper/react/swiper-slide.js +88 -0
- package/dist/ui/components/carousel/swiper/react/swiper-slide.js.map +1 -0
- package/dist/ui/components/carousel/swiper/react/swiper.d.ts +3 -0
- package/dist/ui/components/carousel/swiper/react/swiper.js +210 -0
- package/dist/ui/components/carousel/swiper/react/swiper.js.map +1 -0
- package/dist/ui/components/carousel/swiper/react/use-isomorphic-layout-effect.d.ts +2 -0
- package/dist/ui/components/carousel/swiper/react/use-isomorphic-layout-effect.js +12 -0
- package/dist/ui/components/carousel/swiper/react/use-isomorphic-layout-effect.js.map +1 -0
- package/dist/ui/components/carousel/swiper/react/virtual.d.ts +12 -0
- package/dist/ui/components/carousel/swiper/react/virtual.js +48 -0
- package/dist/ui/components/carousel/swiper/react/virtual.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/classes-to-selector.d.ts +1 -0
- package/dist/ui/components/carousel/swiper/shared/classes-to-selector.js +11 -0
- package/dist/ui/components/carousel/swiper/shared/classes-to-selector.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/classes-to-tokens.d.ts +1 -0
- package/dist/ui/components/carousel/swiper/shared/classes-to-tokens.js +11 -0
- package/dist/ui/components/carousel/swiper/shared/classes-to-tokens.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/create-element-if-not-defined.d.ts +1 -0
- package/dist/ui/components/carousel/swiper/shared/create-element-if-not-defined.js +22 -0
- package/dist/ui/components/carousel/swiper/shared/create-element-if-not-defined.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/create-shadow.d.ts +1 -0
- package/dist/ui/components/carousel/swiper/shared/create-shadow.js +15 -0
- package/dist/ui/components/carousel/swiper/shared/create-shadow.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/effect-init.d.ts +1 -0
- package/dist/ui/components/carousel/swiper/shared/effect-init.js +58 -0
- package/dist/ui/components/carousel/swiper/shared/effect-init.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/effect-target.d.ts +1 -0
- package/dist/ui/components/carousel/swiper/shared/effect-target.js +13 -0
- package/dist/ui/components/carousel/swiper/shared/effect-target.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/effect-virtual-transition-end.d.ts +6 -0
- package/dist/ui/components/carousel/swiper/shared/effect-virtual-transition-end.js +47 -0
- package/dist/ui/components/carousel/swiper/shared/effect-virtual-transition-end.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/get-browser.d.ts +2 -0
- package/dist/ui/components/carousel/swiper/shared/get-browser.js +43 -0
- package/dist/ui/components/carousel/swiper/shared/get-browser.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/get-device.d.ts +1 -0
- package/dist/ui/components/carousel/swiper/shared/get-device.js +69 -0
- package/dist/ui/components/carousel/swiper/shared/get-device.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/get-support.d.ts +2 -0
- package/dist/ui/components/carousel/swiper/shared/get-support.js +24 -0
- package/dist/ui/components/carousel/swiper/shared/get-support.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/process-lazy-preloader.d.ts +2 -0
- package/dist/ui/components/carousel/swiper/shared/process-lazy-preloader.js +79 -0
- package/dist/ui/components/carousel/swiper/shared/process-lazy-preloader.js.map +1 -0
- package/dist/ui/components/carousel/swiper/shared/utils.d.ts +32 -0
- package/dist/ui/components/carousel/swiper/shared/utils.js +371 -0
- package/dist/ui/components/carousel/swiper/shared/utils.js.map +1 -0
- package/dist/ui/components/carousel/swiper/swiper-bundle.d.ts +1 -0
- package/dist/ui/components/carousel/swiper/swiper-bundle.js +18 -0
- package/dist/ui/components/carousel/swiper/swiper-bundle.js.map +1 -0
- package/dist/ui/components/carousel/swiper/swiper-effect-utils.d.ts +6 -0
- package/dist/ui/components/carousel/swiper/swiper-effect-utils.js +17 -0
- package/dist/ui/components/carousel/swiper/swiper-effect-utils.js.map +1 -0
- package/dist/ui/components/carousel/swiper/swiper-react.d.ts +4 -0
- package/dist/ui/components/carousel/swiper/swiper-react.js +11 -0
- package/dist/ui/components/carousel/swiper/swiper-react.js.map +1 -0
- package/dist/ui/components/carousel/swiper/swiper.d.ts +1 -0
- package/dist/ui/components/carousel/swiper/swiper.js +10 -0
- package/dist/ui/components/carousel/swiper/swiper.js.map +1 -0
- package/package.json +3 -3
|
@@ -36,9 +36,9 @@ function Scripts(_a) {
|
|
|
36
36
|
}
|
|
37
37
|
}, [router.events, router.pathname, router.asPath, (_b = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.google) === null || _b === void 0 ? void 0 : _b.ua]);
|
|
38
38
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(head_1.default, { children: [((_c = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.facebook) === null || _c === void 0 ? void 0 : _c.facebookDomainVerification) && ((0, jsx_runtime_1.jsx)("meta", { name: 'facebook-domain-verification', content: (_d = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.facebook) === null || _d === void 0 ? void 0 : _d.facebookDomainVerification })), (0, jsx_runtime_1.jsx)("link", { rel: 'preconnect', href: 'https://www.google-analytics.com' }), (0, jsx_runtime_1.jsx)("link", { rel: 'dns-prefetch', href: 'https://www.google-analytics.com' }), ((_e = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.facebook) === null || _e === void 0 ? void 0 : _e.pixelFacebook) && ((0, jsx_runtime_1.jsx)("script", { id: 'fb-pixel', dangerouslySetInnerHTML: {
|
|
39
|
-
__html: "\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents
|
|
39
|
+
__html: "\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents');\n fbq('init', ".concat((_f = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.facebook) === null || _f === void 0 ? void 0 : _f.pixelFacebook, ");\n fbq('track', 'PageView');\n "),
|
|
40
40
|
} })), ((_g = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.google) === null || _g === void 0 ? void 0 : _g.gtm) && ((0, jsx_runtime_1.jsx)("script", { dangerouslySetInnerHTML: {
|
|
41
|
-
__html: "\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm
|
|
41
|
+
__html: "\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat((_h = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.google) === null || _h === void 0 ? void 0 : _h.gtm, "');\n "),
|
|
42
42
|
} }))] }), ((_j = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.google) === null || _j === void 0 ? void 0 : _j.gtm) && ((0, jsx_runtime_1.jsx)("noscript", { children: (0, jsx_runtime_1.jsx)("iframe", { src: "https://www.googletagmanager.com/ns.html?id=".concat((_k = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.google) === null || _k === void 0 ? void 0 : _k.gtm), height: '0', width: '0', style: { display: 'none', visibility: 'hidden' } }) })), ((_l = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.tawkto) === null || _l === void 0 ? void 0 : _l.propertyId) && ((_m = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.tawkto) === null || _m === void 0 ? void 0 : _m.widgetId) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, src: "https://embed.tawk.to/".concat((_o = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.tawkto) === null || _o === void 0 ? void 0 : _o.propertyId, "/").concat((_p = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.tawkto) === null || _p === void 0 ? void 0 : _p.widgetId) })), ((_q = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.redesSociais) === null || _q === void 0 ? void 0 : _q.whatsappfixo) && ((_r = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.redesSociais) === null || _r === void 0 ? void 0 : _r.whatsapp) && ((0, jsx_runtime_1.jsx)(whatsapp_fixed_1.Whatsappfixed, { href: siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.redesSociais.whatsapp })), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.ratedR) ? ((0, jsx_runtime_1.jsx)(acept_ratedr_1.AceptRatedr, { children: (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.enableCookieVerification) ? (0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children }) : children })) : (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.enableCookieVerification) ? ((0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children })) : (children), process.browser && ((_s = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.google) === null || _s === void 0 ? void 0 : _s.aw) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, src: "https://www.googletagmanager.com/gtag/js?id=".concat((_t = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.google) === null || _t === void 0 ? void 0 : _t.aw), type: 'text/javascript', strategy: 'afterInteractive' })), process.browser && ((_u = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.google) === null || _u === void 0 ? void 0 : _u.aw) && ((0, jsx_runtime_1.jsx)(script_1.default, { id: 'google-analytics', children: "\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n \n gtag('js', new Date());\n gtag('config', '".concat((_v = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.google) === null || _v === void 0 ? void 0 : _v.aw, "');\n ") })), ((_w = siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.rdStation) === null || _w === void 0 ? void 0 : _w.habilitarRD) && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [process.browser && (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.rdStation.rdstation1) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, type: 'text/javascript', strategy: 'afterInteractive', src: siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.rdStation.rdstation1 })), process.browser && (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.rdStation.rdstation2) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, type: 'text/javascript', strategy: 'afterInteractive', src: siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.rdStation.rdstation2 }))] }))] }));
|
|
43
43
|
}
|
|
44
44
|
exports.Scripts = Scripts;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/sites/context/scripts/component.tsx"],"names":[],"mappings":";;;;;;;AAAA,+BAAiC;AAEjC,mDAA4B;AAC5B,uDAAgC;AAChC,sCAAuC;AAEvC,qCAAqD;AAIrD,+CAA4C;AAC5C,iDAA8C;AAC9C,mDAAgD;AAEhD,SAAgB,OAAO,CAAC,EAA0C;;QAAxC,QAAQ,cAAA,EAAE,kBAAkB,wBAAA;IACpD,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAE1B,IAAA,iBAAS,EAAC;;QACR,IAAK,OAAe,CAAC,OAAO,KAAI,MAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,MAAM,0CAAE,EAAE,CAAA,EAAE,CAAC;YAC/D,IAAM,UAAQ,GAAG,UAAC,MAAc;gBAC9B,CAAC;gBAAA,CAAC,MAAc,aAAd,MAAM,uBAAN,MAAM,CAAU,GAAG,KAAK,MAAc,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;YAC/D,CAAC,CAAA;YAED,IAAM,mBAAiB,GAAG;gBACxB,UAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;YACzB,CAAC,CAAA;YAED,IAAA,qBAAU,EAAC,MAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,MAAM,0CAAE,EAAE,CAAC,CAAA;YAE1C,IAAA,mBAAE,EAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,CAAC,CAAA;YAElB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,qBAAqB,EAAE,mBAAiB,CAAC,CAAA;YAE1D,OAAO;gBACL,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,qBAAqB,EAAE,mBAAiB,CAAC,CAAA;YAC7D,CAAC,CAAA;QACH,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,gBAAM,IAAC,EAAE,EAAC,kBAAkB,YAC1B,yLAKiB,MAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,MAAM,0CAAE,EAAE,kBACjD,GACQ,CACV,EAEA,CAAA,MAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,SAAS,0CAAE,WAAW,KAAI,CAC7C,6DACI,OAAe,CAAC,OAAO,KAAI,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,SAAS,CAAC,UAAU,CAAA,IAAI,CACvE,uBAAC,gBAAM,IAAC,KAAK,QAAC,IAAI,EAAC,iBAAiB,EAAC,QAAQ,EAAC,kBAAkB,EAAC,GAAG,EAAE,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,SAAS,CAAC,UAAU,GAAI,CACnH,EAEC,OAAe,CAAC,OAAO,KAAI,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,SAAS,CAAC,UAAU,CAAA,IAAI,CACvE,uBAAC,gBAAM,IAAC,KAAK,QAAC,IAAI,EAAC,iBAAiB,EAAC,QAAQ,EAAC,kBAAkB,EAAC,GAAG,EAAE,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,SAAS,CAAC,UAAU,GAAI,CACnH,IACA,CACJ,IACA,CACJ,CAAA;AACH,CAAC;AAxID,0BAwIC"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const carouselConfigs: SwiperProps;
|
|
1
|
+
export declare const carouselConfigs: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel-configs.js","sourceRoot":"","sources":["../../../../src/sites/fixed-components/list-blog/carousel-configs.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"carousel-configs.js","sourceRoot":"","sources":["../../../../src/sites/fixed-components/list-blog/carousel-configs.ts"],"names":[],"mappings":";;;AACa,QAAA,eAAe,GAAQ;IAClC,UAAU,EAAE,IAAI;IAChB,aAAa,EAAE,CAAC;IAChB,YAAY,EAAE,EAAE;IAChB,WAAW,EAAE;QACX,GAAG,EAAE;YACH,aAAa,EAAE,CAAC;SACjB;QACD,GAAG,EAAE;YACH,aAAa,EAAE,GAAG;YAClB,cAAc,EAAE,IAAI;SACrB;QACD,GAAG,EAAE;YACH,aAAa,EAAE,GAAG;YAClB,cAAc,EAAE,IAAI;SACrB;QACD,CAAC,EAAE;YACD,aAAa,EAAE,GAAG;SACnB;KACF;CACF,CAAA"}
|
|
@@ -37,8 +37,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.useCarousel = void 0;
|
|
38
38
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
39
|
var ui_1 = require("../../../ui/index.js");
|
|
40
|
-
var swiper_1 = require("./swiper/react/swiper");
|
|
41
|
-
var swiper_slide_1 = require("./swiper/react/swiper-slide");
|
|
40
|
+
var swiper_1 = require("./swiper/react/swiper.js");
|
|
41
|
+
var swiper_slide_1 = require("./swiper/react/swiper-slide.js");
|
|
42
42
|
var index_1 = require("./swiper/modules/index.js");
|
|
43
43
|
var S = __importStar(require("./styles.js"));
|
|
44
44
|
function useCarousel(_a) {
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
declare class Swiper {
|
|
2
|
+
constructor(...args: any[]);
|
|
3
|
+
getDirectionLabel(property: any): any;
|
|
4
|
+
getSlideIndex(slideEl: any): number;
|
|
5
|
+
getSlideIndexByData(index: any): number;
|
|
6
|
+
recalcSlides(): void;
|
|
7
|
+
enable(): void;
|
|
8
|
+
disable(): void;
|
|
9
|
+
setProgress(progress: any, speed: any): void;
|
|
10
|
+
emitContainerClasses(): void;
|
|
11
|
+
getSlideClasses(slideEl: any): any;
|
|
12
|
+
emitSlidesClasses(): void;
|
|
13
|
+
slidesPerViewDynamic(view?: string, exact?: boolean): any;
|
|
14
|
+
update(): void;
|
|
15
|
+
changeDirection(newDirection: any, needUpdate?: boolean): this;
|
|
16
|
+
changeLanguageDirection(direction: any): void;
|
|
17
|
+
mount(element: any): boolean;
|
|
18
|
+
init(el: any): this;
|
|
19
|
+
destroy(deleteInstance?: boolean, cleanStyles?: boolean): any;
|
|
20
|
+
static extendDefaults(newDefaults: any): void;
|
|
21
|
+
static get extendedDefaults(): {};
|
|
22
|
+
static get defaults(): {
|
|
23
|
+
init: boolean;
|
|
24
|
+
direction: string;
|
|
25
|
+
oneWayMovement: boolean;
|
|
26
|
+
swiperElementNodeName: string;
|
|
27
|
+
touchEventsTarget: string;
|
|
28
|
+
initialSlide: number;
|
|
29
|
+
speed: number;
|
|
30
|
+
cssMode: boolean;
|
|
31
|
+
updateOnWindowResize: boolean;
|
|
32
|
+
resizeObserver: boolean;
|
|
33
|
+
nested: boolean;
|
|
34
|
+
createElements: boolean;
|
|
35
|
+
eventsPrefix: string;
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
focusableElements: string;
|
|
38
|
+
width: any;
|
|
39
|
+
height: any;
|
|
40
|
+
preventInteractionOnTransition: boolean;
|
|
41
|
+
userAgent: any;
|
|
42
|
+
url: any;
|
|
43
|
+
edgeSwipeDetection: boolean;
|
|
44
|
+
edgeSwipeThreshold: number;
|
|
45
|
+
autoHeight: boolean;
|
|
46
|
+
setWrapperSize: boolean;
|
|
47
|
+
virtualTranslate: boolean;
|
|
48
|
+
effect: string;
|
|
49
|
+
breakpoints: any;
|
|
50
|
+
breakpointsBase: string;
|
|
51
|
+
spaceBetween: number;
|
|
52
|
+
slidesPerView: number;
|
|
53
|
+
slidesPerGroup: number;
|
|
54
|
+
slidesPerGroupSkip: number;
|
|
55
|
+
slidesPerGroupAuto: boolean;
|
|
56
|
+
centeredSlides: boolean;
|
|
57
|
+
centeredSlidesBounds: boolean;
|
|
58
|
+
slidesOffsetBefore: number;
|
|
59
|
+
slidesOffsetAfter: number;
|
|
60
|
+
normalizeSlideIndex: boolean;
|
|
61
|
+
centerInsufficientSlides: boolean;
|
|
62
|
+
watchOverflow: boolean;
|
|
63
|
+
roundLengths: boolean;
|
|
64
|
+
touchRatio: number;
|
|
65
|
+
touchAngle: number;
|
|
66
|
+
simulateTouch: boolean;
|
|
67
|
+
shortSwipes: boolean;
|
|
68
|
+
longSwipes: boolean;
|
|
69
|
+
longSwipesRatio: number;
|
|
70
|
+
longSwipesMs: number;
|
|
71
|
+
followFinger: boolean;
|
|
72
|
+
allowTouchMove: boolean;
|
|
73
|
+
threshold: number;
|
|
74
|
+
touchMoveStopPropagation: boolean;
|
|
75
|
+
touchStartPreventDefault: boolean;
|
|
76
|
+
touchStartForcePreventDefault: boolean;
|
|
77
|
+
touchReleaseOnEdges: boolean;
|
|
78
|
+
uniqueNavElements: boolean;
|
|
79
|
+
resistance: boolean;
|
|
80
|
+
resistanceRatio: number;
|
|
81
|
+
watchSlidesProgress: boolean;
|
|
82
|
+
grabCursor: boolean;
|
|
83
|
+
preventClicks: boolean;
|
|
84
|
+
preventClicksPropagation: boolean;
|
|
85
|
+
slideToClickedSlide: boolean;
|
|
86
|
+
loop: boolean;
|
|
87
|
+
loopAddBlankSlides: boolean;
|
|
88
|
+
loopAdditionalSlides: number;
|
|
89
|
+
loopPreventsSliding: boolean;
|
|
90
|
+
rewind: boolean;
|
|
91
|
+
allowSlidePrev: boolean;
|
|
92
|
+
allowSlideNext: boolean;
|
|
93
|
+
swipeHandler: any;
|
|
94
|
+
noSwiping: boolean;
|
|
95
|
+
noSwipingClass: string;
|
|
96
|
+
noSwipingSelector: any;
|
|
97
|
+
passiveListeners: boolean;
|
|
98
|
+
maxBackfaceHiddenSlides: number;
|
|
99
|
+
containerModifierClass: string;
|
|
100
|
+
slideClass: string;
|
|
101
|
+
slideBlankClass: string;
|
|
102
|
+
slideActiveClass: string;
|
|
103
|
+
slideVisibleClass: string;
|
|
104
|
+
slideFullyVisibleClass: string;
|
|
105
|
+
slideNextClass: string;
|
|
106
|
+
slidePrevClass: string;
|
|
107
|
+
wrapperClass: string;
|
|
108
|
+
lazyPreloaderClass: string;
|
|
109
|
+
lazyPreloadPrevNext: number;
|
|
110
|
+
runCallbacksOnInit: boolean;
|
|
111
|
+
_emitClasses: boolean;
|
|
112
|
+
};
|
|
113
|
+
static installModule(mod: any): void;
|
|
114
|
+
static use(module: any): typeof Swiper;
|
|
115
|
+
}
|
|
116
|
+
export default Swiper;
|