@tarojs/components 3.3.12 → 3.3.13
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/cjs/{index-eefce54e.js → index-7464647f.js} +156 -101
- package/dist/cjs/{index-cf56824f.js → index-cde74e58.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-block-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +6 -5
- package/dist/cjs/taro-components.cjs.js +5 -5
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-form-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-icon-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-image-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-input-core.cjs.entry.js +18 -10
- package/dist/cjs/taro-label-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-movable-area-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-movable-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigator-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +4 -4
- package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-progress-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +3 -3
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +3 -3
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-slider-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +112 -106
- package/dist/cjs/taro-switch-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabbar.cjs.entry.js +3 -3
- package/dist/cjs/taro-text-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-video-control_3.cjs.entry.js +5 -5
- package/dist/cjs/taro-view-core.cjs.entry.js +11 -3
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/checkbox/checkbox.js +21 -2
- package/dist/collection/components/input/input.js +16 -8
- package/dist/collection/components/swiper/swiper.js +7 -1
- package/dist/collection/components/view/view.js +9 -1
- package/dist/esm/{index-310de3d5.js → index-165a6222.js} +156 -101
- package/dist/esm/{index-ff1b322a.js → index-85e10859.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/taro-audio-core.entry.js +2 -2
- package/dist/esm/taro-block-core.entry.js +2 -2
- package/dist/esm/taro-button-core.entry.js +3 -3
- package/dist/esm/taro-camera-core.entry.js +2 -2
- package/dist/esm/taro-canvas-core.entry.js +2 -2
- package/dist/esm/taro-checkbox-core_2.entry.js +6 -5
- package/dist/esm/taro-components.js +5 -5
- package/dist/esm/taro-cover-image-core.entry.js +2 -2
- package/dist/esm/taro-cover-view-core.entry.js +2 -2
- package/dist/esm/taro-custom-wrapper-core.entry.js +2 -2
- package/dist/esm/taro-form-core.entry.js +2 -2
- package/dist/esm/taro-icon-core.entry.js +3 -3
- package/dist/esm/taro-image-core.entry.js +3 -3
- package/dist/esm/taro-input-core.entry.js +18 -10
- package/dist/esm/taro-label-core.entry.js +2 -2
- package/dist/esm/taro-movable-area-core.entry.js +2 -2
- package/dist/esm/taro-movable-view-core.entry.js +2 -2
- package/dist/esm/taro-navigator-core.entry.js +3 -3
- package/dist/esm/taro-open-data-core.entry.js +2 -2
- package/dist/esm/taro-picker-core_2.entry.js +4 -4
- package/dist/esm/taro-picker-view-column-core.entry.js +2 -2
- package/dist/esm/taro-picker-view-core.entry.js +2 -2
- package/dist/esm/taro-progress-core.entry.js +2 -2
- package/dist/esm/taro-pull-to-refresh.entry.js +3 -3
- package/dist/esm/taro-radio-core_2.entry.js +3 -3
- package/dist/esm/taro-rich-text-core.entry.js +2 -2
- package/dist/esm/taro-scroll-view-core.entry.js +3 -3
- package/dist/esm/taro-slider-core.entry.js +2 -2
- package/dist/esm/taro-swiper-core_2.entry.js +112 -106
- package/dist/esm/taro-switch-core.entry.js +2 -2
- package/dist/esm/taro-tabbar.entry.js +3 -3
- package/dist/esm/taro-text-core.entry.js +3 -3
- package/dist/esm/taro-textarea-core.entry.js +2 -2
- package/dist/esm/taro-video-control_3.entry.js +5 -5
- package/dist/esm/taro-view-core.entry.js +11 -3
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm-es5/index-165a6222.js +1 -0
- package/dist/esm-es5/{index-ff1b322a.js → index-85e10859.js} +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-audio-core.entry.js +1 -1
- package/dist/esm-es5/taro-block-core.entry.js +1 -1
- package/dist/esm-es5/taro-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
- package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm-es5/taro-form-core.entry.js +1 -1
- package/dist/esm-es5/taro-icon-core.entry.js +1 -1
- package/dist/esm-es5/taro-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-label-core.entry.js +1 -1
- package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
- package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-progress-core.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
- package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-slider-core.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-switch-core.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
- package/dist/taro-components/{p-8eb84de2.system.entry.js → p-00328ebf.system.entry.js} +1 -1
- package/dist/taro-components/p-016f56cc.system.entry.js +1 -0
- package/dist/taro-components/{p-15121391.system.entry.js → p-098f4931.system.entry.js} +1 -1
- package/dist/taro-components/p-0da88b1b.entry.js +1 -0
- package/dist/taro-components/p-0fb7f599.entry.js +1 -0
- package/dist/taro-components/p-1507bcbf.entry.js +1 -0
- package/dist/taro-components/p-17c0731f.entry.js +1 -0
- package/dist/taro-components/{p-9a4123eb.system.entry.js → p-1ed219a6.system.entry.js} +1 -1
- package/dist/taro-components/p-26c08f44.entry.js +1 -0
- package/dist/taro-components/{p-502841e0.system.entry.js → p-26d8c60a.system.entry.js} +1 -1
- package/dist/taro-components/{p-970ed6da.system.entry.js → p-2b6a2449.system.entry.js} +1 -1
- package/dist/taro-components/p-2c5d57af.entry.js +1 -0
- package/dist/taro-components/{p-239bf0ca.system.entry.js → p-2ce9bc65.system.entry.js} +1 -1
- package/dist/taro-components/{p-1f2dfaef.system.entry.js → p-2de1a146.system.entry.js} +1 -1
- package/dist/taro-components/{p-a079321f.system.entry.js → p-2eda9121.system.entry.js} +1 -1
- package/dist/taro-components/p-2ef4681b.system.entry.js +1 -0
- package/dist/taro-components/p-30bfacb9.system.js +1 -0
- package/dist/taro-components/{p-921a765a.system.entry.js → p-321aeeec.system.entry.js} +1 -1
- package/dist/taro-components/p-3554df41.entry.js +1 -0
- package/dist/taro-components/p-37cfef64.entry.js +1 -0
- package/dist/taro-components/{p-7911ccd6.system.entry.js → p-382cabbc.system.entry.js} +1 -1
- package/dist/taro-components/p-3e2d4793.entry.js +1 -0
- package/dist/taro-components/{p-e15654c4.system.entry.js → p-4168e24d.system.entry.js} +1 -1
- package/dist/taro-components/{p-236774f0.system.entry.js → p-4462dca4.system.entry.js} +1 -1
- package/dist/taro-components/{p-30c0639e.js → p-49ae5efb.js} +1 -1
- package/dist/taro-components/p-4a2ffc1c.entry.js +1 -0
- package/dist/taro-components/p-4ff67760.entry.js +1 -0
- package/dist/taro-components/p-5412a1d2.system.entry.js +1 -0
- package/dist/taro-components/{p-9242dcf7.system.entry.js → p-5a13bd63.system.entry.js} +1 -1
- package/dist/taro-components/{p-aed3d0e9.system.entry.js → p-5c8ba192.system.entry.js} +1 -1
- package/dist/taro-components/p-5d84eaf0.entry.js +1 -0
- package/dist/taro-components/{p-318795b9.system.entry.js → p-5e6feca6.system.entry.js} +1 -1
- package/dist/taro-components/{p-625158f0.js → p-6967e577.js} +0 -0
- package/dist/taro-components/{p-bd00f506.system.js → p-696f0d1c.system.js} +0 -0
- package/dist/taro-components/{p-d402dc94.system.entry.js → p-69be8189.system.entry.js} +1 -1
- package/dist/taro-components/p-6daacf48.entry.js +1 -0
- package/dist/taro-components/p-70f40e3a.entry.js +1 -0
- package/dist/taro-components/p-72f2b6f5.entry.js +1 -0
- package/dist/taro-components/p-76c00960.entry.js +1 -0
- package/dist/taro-components/p-7a5be745.entry.js +1 -0
- package/dist/taro-components/p-7b021c48.entry.js +1 -0
- package/dist/taro-components/p-7f3e5f09.entry.js +1 -0
- package/dist/taro-components/{p-c1d6c0ba.system.entry.js → p-7ffcfb05.system.entry.js} +1 -1
- package/dist/taro-components/p-81588c19.entry.js +1 -0
- package/dist/taro-components/{p-89fc30f0.entry.js → p-8cf16235.entry.js} +1 -1
- package/dist/taro-components/{p-4f139925.system.entry.js → p-8d905ff5.system.entry.js} +1 -1
- package/dist/taro-components/p-923c6e08.entry.js +1 -0
- package/dist/taro-components/p-93748645.system.js +1 -0
- package/dist/taro-components/p-9767491b.entry.js +1 -0
- package/dist/taro-components/{p-3eb31172.system.entry.js → p-9d6a7a70.system.entry.js} +1 -1
- package/dist/taro-components/{p-e3e40b03.system.entry.js → p-9e807bd6.system.entry.js} +1 -1
- package/dist/taro-components/p-9e912454.system.entry.js +1 -0
- package/dist/taro-components/{p-9c9178cd.system.entry.js → p-a34988ff.system.entry.js} +1 -1
- package/dist/taro-components/p-a895db87.entry.js +1 -0
- package/dist/taro-components/{p-9ffb69e5.system.entry.js → p-af9ec312.system.entry.js} +1 -1
- package/dist/taro-components/{p-0f393c6d.system.entry.js → p-b685a487.system.entry.js} +1 -1
- package/dist/taro-components/p-b6e0dca6.entry.js +1 -0
- package/dist/taro-components/{p-129341f2.system.entry.js → p-bd922592.system.entry.js} +1 -1
- package/dist/taro-components/{p-73c389e7.system.entry.js → p-c221cebb.system.entry.js} +1 -1
- package/dist/taro-components/p-c5722042.entry.js +1 -0
- package/dist/taro-components/p-ca67c759.entry.js +1 -0
- package/dist/taro-components/p-ce093936.entry.js +1 -0
- package/dist/taro-components/{p-4d11f3ad.system.entry.js → p-ce49e2f4.system.entry.js} +1 -1
- package/dist/taro-components/p-d12592f1.entry.js +1 -0
- package/dist/taro-components/{p-a74d5aa5.system.entry.js → p-d52009d1.system.entry.js} +1 -1
- package/dist/taro-components/{p-2e9e9ca7.system.entry.js → p-d52bf5f5.system.entry.js} +1 -1
- package/dist/taro-components/{p-81f5977d.system.entry.js → p-d6269b5e.system.entry.js} +1 -1
- package/dist/taro-components/p-d6a37b93.entry.js +1 -0
- package/dist/taro-components/p-de3a4828.entry.js +1 -0
- package/dist/taro-components/p-f4158e42.entry.js +1 -0
- package/dist/taro-components/p-f6c7f07c.system.entry.js +1 -0
- package/dist/taro-components/p-f7b6c1a6.entry.js +1 -0
- package/dist/taro-components/p-f8d0dabb.entry.js +1 -0
- package/dist/taro-components/{p-8c43da73.system.entry.js → p-f9013b36.system.entry.js} +1 -1
- package/dist/taro-components/p-f991bc7b.entry.js +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +1 -0
- package/dist/types/components/view/view.d.ts +2 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +190 -182
- package/loader/index.d.ts +0 -1
- package/package.json +4 -4
- package/dist/esm-es5/index-310de3d5.js +0 -1
- package/dist/taro-components/p-180fd001.entry.js +0 -1
- package/dist/taro-components/p-28348261.entry.js +0 -1
- package/dist/taro-components/p-31b89eb3.entry.js +0 -1
- package/dist/taro-components/p-31f0f881.entry.js +0 -1
- package/dist/taro-components/p-4591dff5.entry.js +0 -1
- package/dist/taro-components/p-4afe24d7.entry.js +0 -1
- package/dist/taro-components/p-4b632069.entry.js +0 -1
- package/dist/taro-components/p-4f1d45ff.entry.js +0 -1
- package/dist/taro-components/p-5032d822.entry.js +0 -1
- package/dist/taro-components/p-593ee811.entry.js +0 -1
- package/dist/taro-components/p-6287057a.entry.js +0 -1
- package/dist/taro-components/p-66120099.entry.js +0 -1
- package/dist/taro-components/p-6730fa44.entry.js +0 -1
- package/dist/taro-components/p-6f331ed3.entry.js +0 -1
- package/dist/taro-components/p-8031d6b5.system.entry.js +0 -1
- package/dist/taro-components/p-80f50da7.entry.js +0 -1
- package/dist/taro-components/p-82185d54.system.entry.js +0 -1
- package/dist/taro-components/p-8676c058.entry.js +0 -1
- package/dist/taro-components/p-8f7b75f6.system.entry.js +0 -1
- package/dist/taro-components/p-906c3a0a.entry.js +0 -1
- package/dist/taro-components/p-9205470e.entry.js +0 -1
- package/dist/taro-components/p-945fa1a0.entry.js +0 -1
- package/dist/taro-components/p-95f5261c.entry.js +0 -1
- package/dist/taro-components/p-96771939.entry.js +0 -1
- package/dist/taro-components/p-96f1e9e7.entry.js +0 -1
- package/dist/taro-components/p-9c47f99e.entry.js +0 -1
- package/dist/taro-components/p-9fe2309f.entry.js +0 -1
- package/dist/taro-components/p-a208926a.entry.js +0 -1
- package/dist/taro-components/p-a3e783c3.entry.js +0 -1
- package/dist/taro-components/p-af393b0b.entry.js +0 -1
- package/dist/taro-components/p-b2ed71a7.entry.js +0 -1
- package/dist/taro-components/p-b5d2597b.system.js +0 -1
- package/dist/taro-components/p-b7c29d05.entry.js +0 -1
- package/dist/taro-components/p-c2810ece.entry.js +0 -1
- package/dist/taro-components/p-c37d9a5d.system.entry.js +0 -1
- package/dist/taro-components/p-c9380fa6.entry.js +0 -1
- package/dist/taro-components/p-ca74a018.entry.js +0 -1
- package/dist/taro-components/p-cf496b3b.system.js +0 -1
- package/dist/taro-components/p-e256974b.system.entry.js +0 -1
- package/dist/taro-components/p-e28625a2.entry.js +0 -1
- package/dist/taro-components/p-e302b8d7.entry.js +0 -1
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index$1 = require('./index-
|
|
6
|
-
const index$2 = require('./index-
|
|
5
|
+
const index$1 = require('./index-7464647f.js');
|
|
6
|
+
const index$2 = require('./index-cde74e58.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* SSR Window 3.0.0
|
|
@@ -17,22 +17,22 @@ const index$2 = require('./index-cf56824f.js');
|
|
|
17
17
|
* Released on: November 9, 2020
|
|
18
18
|
*/
|
|
19
19
|
/* eslint-disable no-param-reassign */
|
|
20
|
-
function isObject(obj) {
|
|
20
|
+
function isObject$1(obj) {
|
|
21
21
|
return (obj !== null &&
|
|
22
22
|
typeof obj === 'object' &&
|
|
23
23
|
'constructor' in obj &&
|
|
24
24
|
obj.constructor === Object);
|
|
25
25
|
}
|
|
26
|
-
function extend(target, src) {
|
|
26
|
+
function extend$1(target, src) {
|
|
27
27
|
if (target === void 0) { target = {}; }
|
|
28
28
|
if (src === void 0) { src = {}; }
|
|
29
29
|
Object.keys(src).forEach(function (key) {
|
|
30
30
|
if (typeof target[key] === 'undefined')
|
|
31
31
|
target[key] = src[key];
|
|
32
|
-
else if (isObject(src[key]) &&
|
|
33
|
-
isObject(target[key]) &&
|
|
32
|
+
else if (isObject$1(src[key]) &&
|
|
33
|
+
isObject$1(target[key]) &&
|
|
34
34
|
Object.keys(src[key]).length > 0) {
|
|
35
|
-
extend(target[key], src[key]);
|
|
35
|
+
extend$1(target[key], src[key]);
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
}
|
|
@@ -89,7 +89,7 @@ var ssrDocument = {
|
|
|
89
89
|
};
|
|
90
90
|
function getDocument() {
|
|
91
91
|
var doc = typeof document !== 'undefined' ? document : {};
|
|
92
|
-
extend(doc, ssrDocument);
|
|
92
|
+
extend$1(doc, ssrDocument);
|
|
93
93
|
return doc;
|
|
94
94
|
}
|
|
95
95
|
|
|
@@ -150,7 +150,7 @@ var ssrWindow = {
|
|
|
150
150
|
};
|
|
151
151
|
function getWindow() {
|
|
152
152
|
var win = typeof window !== 'undefined' ? window : {};
|
|
153
|
-
extend(win, ssrWindow);
|
|
153
|
+
extend$1(win, ssrWindow);
|
|
154
154
|
return win;
|
|
155
155
|
}
|
|
156
156
|
|
|
@@ -481,7 +481,7 @@ function transform(transform) {
|
|
|
481
481
|
return this;
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
-
function transition(duration) {
|
|
484
|
+
function transition$1(duration) {
|
|
485
485
|
for (var i = 0; i < this.length; i += 1) {
|
|
486
486
|
this[i].style.transitionDuration = typeof duration !== 'string' ? duration + "ms" : duration;
|
|
487
487
|
}
|
|
@@ -664,7 +664,7 @@ function trigger() {
|
|
|
664
664
|
return this;
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
-
function transitionEnd(callback) {
|
|
667
|
+
function transitionEnd$1(callback) {
|
|
668
668
|
var dom = this;
|
|
669
669
|
|
|
670
670
|
function fireCallBack(e) {
|
|
@@ -1100,11 +1100,11 @@ var Methods = {
|
|
|
1100
1100
|
attr: attr,
|
|
1101
1101
|
removeAttr: removeAttr,
|
|
1102
1102
|
transform: transform,
|
|
1103
|
-
transition: transition,
|
|
1103
|
+
transition: transition$1,
|
|
1104
1104
|
on: on,
|
|
1105
1105
|
off: off,
|
|
1106
1106
|
trigger: trigger,
|
|
1107
|
-
transitionEnd: transitionEnd,
|
|
1107
|
+
transitionEnd: transitionEnd$1,
|
|
1108
1108
|
outerWidth: outerWidth,
|
|
1109
1109
|
outerHeight: outerHeight,
|
|
1110
1110
|
styles: styles,
|
|
@@ -1228,7 +1228,7 @@ function getTranslate(el, axis) {
|
|
|
1228
1228
|
return curTransform || 0;
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
|
-
function isObject
|
|
1231
|
+
function isObject(o) {
|
|
1232
1232
|
return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object';
|
|
1233
1233
|
}
|
|
1234
1234
|
|
|
@@ -1241,7 +1241,7 @@ function isNode(node) {
|
|
|
1241
1241
|
return node && (node.nodeType === 1 || node.nodeType === 11);
|
|
1242
1242
|
}
|
|
1243
1243
|
|
|
1244
|
-
function extend
|
|
1244
|
+
function extend() {
|
|
1245
1245
|
var to = Object(arguments.length <= 0 ? undefined : arguments[0]);
|
|
1246
1246
|
var noExtend = ['__proto__', 'constructor', 'prototype'];
|
|
1247
1247
|
|
|
@@ -1258,19 +1258,19 @@ function extend$1() {
|
|
|
1258
1258
|
var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);
|
|
1259
1259
|
|
|
1260
1260
|
if (desc !== undefined && desc.enumerable) {
|
|
1261
|
-
if (isObject
|
|
1261
|
+
if (isObject(to[nextKey]) && isObject(nextSource[nextKey])) {
|
|
1262
1262
|
if (nextSource[nextKey].__swiper__) {
|
|
1263
1263
|
to[nextKey] = nextSource[nextKey];
|
|
1264
1264
|
} else {
|
|
1265
|
-
extend
|
|
1265
|
+
extend(to[nextKey], nextSource[nextKey]);
|
|
1266
1266
|
}
|
|
1267
|
-
} else if (!isObject
|
|
1267
|
+
} else if (!isObject(to[nextKey]) && isObject(nextSource[nextKey])) {
|
|
1268
1268
|
to[nextKey] = {};
|
|
1269
1269
|
|
|
1270
1270
|
if (nextSource[nextKey].__swiper__) {
|
|
1271
1271
|
to[nextKey] = nextSource[nextKey];
|
|
1272
1272
|
} else {
|
|
1273
|
-
extend
|
|
1273
|
+
extend(to[nextKey], nextSource[nextKey]);
|
|
1274
1274
|
}
|
|
1275
1275
|
} else {
|
|
1276
1276
|
to[nextKey] = nextSource[nextKey];
|
|
@@ -1285,7 +1285,7 @@ function extend$1() {
|
|
|
1285
1285
|
|
|
1286
1286
|
function bindModuleMethods(instance, obj) {
|
|
1287
1287
|
Object.keys(obj).forEach(function (key) {
|
|
1288
|
-
if (isObject
|
|
1288
|
+
if (isObject(obj[key])) {
|
|
1289
1289
|
Object.keys(obj[key]).forEach(function (subKey) {
|
|
1290
1290
|
if (typeof obj[key][subKey] === 'function') {
|
|
1291
1291
|
obj[key][subKey] = obj[key][subKey].bind(instance);
|
|
@@ -1457,7 +1457,7 @@ const Resize = {
|
|
|
1457
1457
|
name: 'resize',
|
|
1458
1458
|
create: function create() {
|
|
1459
1459
|
var swiper = this;
|
|
1460
|
-
extend
|
|
1460
|
+
extend(swiper, {
|
|
1461
1461
|
resize: {
|
|
1462
1462
|
observer: null,
|
|
1463
1463
|
createObserver: function createObserver() {
|
|
@@ -1523,7 +1523,7 @@ const Resize = {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
};
|
|
1525
1525
|
|
|
1526
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
1526
|
+
function _extends$i() { _extends$i = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
|
|
1527
1527
|
var Observer = {
|
|
1528
1528
|
attach: function attach(target, options) {
|
|
1529
1529
|
if (options === void 0) {
|
|
@@ -1598,7 +1598,7 @@ const Observer$1 = {
|
|
|
1598
1598
|
create: function create() {
|
|
1599
1599
|
var swiper = this;
|
|
1600
1600
|
bindModuleMethods(swiper, {
|
|
1601
|
-
observer: _extends({}, Observer, {
|
|
1601
|
+
observer: _extends$i({}, Observer, {
|
|
1602
1602
|
observers: []
|
|
1603
1603
|
})
|
|
1604
1604
|
});
|
|
@@ -1621,7 +1621,7 @@ const modular = {
|
|
|
1621
1621
|
var module = instance.modules[moduleName]; // Extend params
|
|
1622
1622
|
|
|
1623
1623
|
if (module.params) {
|
|
1624
|
-
extend
|
|
1624
|
+
extend(instanceParams, module.params);
|
|
1625
1625
|
}
|
|
1626
1626
|
});
|
|
1627
1627
|
},
|
|
@@ -1788,7 +1788,7 @@ function updateSize() {
|
|
|
1788
1788
|
height = height - parseInt($el.css('padding-top') || 0, 10) - parseInt($el.css('padding-bottom') || 0, 10);
|
|
1789
1789
|
if (Number.isNaN(width)) width = 0;
|
|
1790
1790
|
if (Number.isNaN(height)) height = 0;
|
|
1791
|
-
extend
|
|
1791
|
+
extend(swiper, {
|
|
1792
1792
|
width: width,
|
|
1793
1793
|
height: height,
|
|
1794
1794
|
size: swiper.isHorizontal() ? width : height
|
|
@@ -2116,7 +2116,7 @@ function updateSlides() {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
}
|
|
2118
2118
|
|
|
2119
|
-
extend
|
|
2119
|
+
extend(swiper, {
|
|
2120
2120
|
slides: slides,
|
|
2121
2121
|
snapGrid: snapGrid,
|
|
2122
2122
|
slidesGrid: slidesGrid,
|
|
@@ -2269,7 +2269,7 @@ function updateProgress(translate) {
|
|
|
2269
2269
|
isEnd = progress >= 1;
|
|
2270
2270
|
}
|
|
2271
2271
|
|
|
2272
|
-
extend
|
|
2272
|
+
extend(swiper, {
|
|
2273
2273
|
progress: progress,
|
|
2274
2274
|
isBeginning: isBeginning,
|
|
2275
2275
|
isEnd: isEnd
|
|
@@ -2405,7 +2405,7 @@ function updateActiveIndex(newActiveIndex) {
|
|
|
2405
2405
|
|
|
2406
2406
|
|
|
2407
2407
|
var realIndex = parseInt(swiper.slides.eq(activeIndex).attr('data-swiper-slide-index') || activeIndex, 10);
|
|
2408
|
-
extend
|
|
2408
|
+
extend(swiper, {
|
|
2409
2409
|
snapIndex: snapIndex,
|
|
2410
2410
|
realIndex: realIndex,
|
|
2411
2411
|
previousIndex: previousIndex,
|
|
@@ -2701,7 +2701,7 @@ function transitionStart(runCallbacks, direction) {
|
|
|
2701
2701
|
}
|
|
2702
2702
|
}
|
|
2703
2703
|
|
|
2704
|
-
function transitionEnd
|
|
2704
|
+
function transitionEnd(runCallbacks, direction) {
|
|
2705
2705
|
if (runCallbacks === void 0) {
|
|
2706
2706
|
runCallbacks = true;
|
|
2707
2707
|
}
|
|
@@ -2737,10 +2737,10 @@ function transitionEnd$1(runCallbacks, direction) {
|
|
|
2737
2737
|
}
|
|
2738
2738
|
}
|
|
2739
2739
|
|
|
2740
|
-
const transition
|
|
2740
|
+
const transition = {
|
|
2741
2741
|
setTransition: setTransition,
|
|
2742
2742
|
transitionStart: transitionStart,
|
|
2743
|
-
transitionEnd: transitionEnd
|
|
2743
|
+
transitionEnd: transitionEnd
|
|
2744
2744
|
};
|
|
2745
2745
|
|
|
2746
2746
|
function slideTo(index, speed, runCallbacks, internal, initial) {
|
|
@@ -3518,7 +3518,7 @@ function onTouchStart(event) {
|
|
|
3518
3518
|
}
|
|
3519
3519
|
}
|
|
3520
3520
|
|
|
3521
|
-
extend
|
|
3521
|
+
extend(data, {
|
|
3522
3522
|
isTouched: true,
|
|
3523
3523
|
isMoved: false,
|
|
3524
3524
|
allowTouchCallbacks: true,
|
|
@@ -3587,7 +3587,7 @@ function onTouchMove(event) {
|
|
|
3587
3587
|
swiper.allowClick = false;
|
|
3588
3588
|
|
|
3589
3589
|
if (data.isTouched) {
|
|
3590
|
-
extend
|
|
3590
|
+
extend(touches, {
|
|
3591
3591
|
startX: pageX,
|
|
3592
3592
|
startY: pageY,
|
|
3593
3593
|
currentX: pageX,
|
|
@@ -4381,9 +4381,9 @@ function setBreakpoint() {
|
|
|
4381
4381
|
swiper.changeDirection();
|
|
4382
4382
|
}
|
|
4383
4383
|
|
|
4384
|
-
extend
|
|
4384
|
+
extend(swiper.params, breakpointParams);
|
|
4385
4385
|
var isEnabled = swiper.params.enabled;
|
|
4386
|
-
extend
|
|
4386
|
+
extend(swiper, {
|
|
4387
4387
|
allowTouchMove: swiper.params.allowTouchMove,
|
|
4388
4388
|
allowSlideNext: swiper.params.allowSlideNext,
|
|
4389
4389
|
allowSlidePrev: swiper.params.allowSlidePrev
|
|
@@ -4748,7 +4748,7 @@ var prototypes = {
|
|
|
4748
4748
|
eventsEmitter: eventsEmitter,
|
|
4749
4749
|
update: update,
|
|
4750
4750
|
translate: translate,
|
|
4751
|
-
transition: transition
|
|
4751
|
+
transition: transition,
|
|
4752
4752
|
slide: slide,
|
|
4753
4753
|
loop: loop,
|
|
4754
4754
|
grabCursor: grabCursor,
|
|
@@ -4761,7 +4761,7 @@ var prototypes = {
|
|
|
4761
4761
|
};
|
|
4762
4762
|
var extendedDefaults = {};
|
|
4763
4763
|
|
|
4764
|
-
var Swiper = /*#__PURE__*/function () {
|
|
4764
|
+
var Swiper$1 = /*#__PURE__*/function () {
|
|
4765
4765
|
function Swiper() {
|
|
4766
4766
|
var el;
|
|
4767
4767
|
var params;
|
|
@@ -4778,13 +4778,13 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
4778
4778
|
}
|
|
4779
4779
|
|
|
4780
4780
|
if (!params) params = {};
|
|
4781
|
-
params = extend
|
|
4781
|
+
params = extend({}, params);
|
|
4782
4782
|
if (el && !params.el) params.el = el;
|
|
4783
4783
|
|
|
4784
4784
|
if (params.el && $(params.el).length > 1) {
|
|
4785
4785
|
var swipers = [];
|
|
4786
4786
|
$(params.el).each(function (containerEl) {
|
|
4787
|
-
var newParams = extend
|
|
4787
|
+
var newParams = extend({}, params, {
|
|
4788
4788
|
el: containerEl
|
|
4789
4789
|
});
|
|
4790
4790
|
swipers.push(new Swiper(newParams));
|
|
@@ -4839,12 +4839,12 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
4839
4839
|
}
|
|
4840
4840
|
}); // Extend defaults with modules params
|
|
4841
4841
|
|
|
4842
|
-
var swiperParams = extend
|
|
4842
|
+
var swiperParams = extend({}, defaults);
|
|
4843
4843
|
swiper.useParams(swiperParams); // Extend defaults with passed params
|
|
4844
4844
|
|
|
4845
|
-
swiper.params = extend
|
|
4846
|
-
swiper.originalParams = extend
|
|
4847
|
-
swiper.passedParams = extend
|
|
4845
|
+
swiper.params = extend({}, swiperParams, extendedDefaults, params);
|
|
4846
|
+
swiper.originalParams = extend({}, swiper.params);
|
|
4847
|
+
swiper.passedParams = extend({}, params); // add event listeners
|
|
4848
4848
|
|
|
4849
4849
|
if (swiper.params && swiper.params.on) {
|
|
4850
4850
|
Object.keys(swiper.params.on).forEach(function (eventName) {
|
|
@@ -4859,7 +4859,7 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
4859
4859
|
|
|
4860
4860
|
swiper.$ = $; // Extend Swiper
|
|
4861
4861
|
|
|
4862
|
-
extend
|
|
4862
|
+
extend(swiper, {
|
|
4863
4863
|
enabled: swiper.params.enabled,
|
|
4864
4864
|
el: el,
|
|
4865
4865
|
// Classes
|
|
@@ -5194,7 +5194,7 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
5194
5194
|
});
|
|
5195
5195
|
}
|
|
5196
5196
|
|
|
5197
|
-
extend
|
|
5197
|
+
extend(swiper, {
|
|
5198
5198
|
$el: $el,
|
|
5199
5199
|
el: el,
|
|
5200
5200
|
$wrapperEl: $wrapperEl,
|
|
@@ -5317,7 +5317,7 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
5317
5317
|
};
|
|
5318
5318
|
|
|
5319
5319
|
Swiper.extendDefaults = function extendDefaults(newDefaults) {
|
|
5320
|
-
extend
|
|
5320
|
+
extend(extendedDefaults, newDefaults);
|
|
5321
5321
|
};
|
|
5322
5322
|
|
|
5323
5323
|
Swiper.installModule = function installModule(module) {
|
|
@@ -5355,12 +5355,12 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
5355
5355
|
|
|
5356
5356
|
Object.keys(prototypes).forEach(function (prototypeGroup) {
|
|
5357
5357
|
Object.keys(prototypes[prototypeGroup]).forEach(function (protoMethod) {
|
|
5358
|
-
Swiper.prototype[protoMethod] = prototypes[prototypeGroup][protoMethod];
|
|
5358
|
+
Swiper$1.prototype[protoMethod] = prototypes[prototypeGroup][protoMethod];
|
|
5359
5359
|
});
|
|
5360
5360
|
});
|
|
5361
|
-
Swiper.use([Resize, Observer$1]);
|
|
5361
|
+
Swiper$1.use([Resize, Observer$1]);
|
|
5362
5362
|
|
|
5363
|
-
function _extends$
|
|
5363
|
+
function _extends$h() { _extends$h = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
|
|
5364
5364
|
var Virtual = {
|
|
5365
5365
|
update: function update(force) {
|
|
5366
5366
|
var swiper = this;
|
|
@@ -5396,7 +5396,7 @@ var Virtual = {
|
|
|
5396
5396
|
var from = Math.max((activeIndex || 0) - slidesBefore, 0);
|
|
5397
5397
|
var to = Math.min((activeIndex || 0) + slidesAfter, slides.length - 1);
|
|
5398
5398
|
var offset = (swiper.slidesGrid[from] || 0) - (swiper.slidesGrid[0] || 0);
|
|
5399
|
-
extend
|
|
5399
|
+
extend(swiper.virtual, {
|
|
5400
5400
|
from: from,
|
|
5401
5401
|
to: to,
|
|
5402
5402
|
offset: offset,
|
|
@@ -5601,7 +5601,7 @@ const Virtual$1 = {
|
|
|
5601
5601
|
create: function create() {
|
|
5602
5602
|
var swiper = this;
|
|
5603
5603
|
bindModuleMethods(swiper, {
|
|
5604
|
-
virtual: _extends$
|
|
5604
|
+
virtual: _extends$h({}, Virtual, {
|
|
5605
5605
|
slides: swiper.params.virtual.slides,
|
|
5606
5606
|
cache: {}
|
|
5607
5607
|
})
|
|
@@ -5614,8 +5614,8 @@ const Virtual$1 = {
|
|
|
5614
5614
|
var overwriteParams = {
|
|
5615
5615
|
watchSlidesProgress: true
|
|
5616
5616
|
};
|
|
5617
|
-
extend
|
|
5618
|
-
extend
|
|
5617
|
+
extend(swiper.params, overwriteParams);
|
|
5618
|
+
extend(swiper.originalParams, overwriteParams);
|
|
5619
5619
|
|
|
5620
5620
|
if (!swiper.params.initialSlide) {
|
|
5621
5621
|
swiper.virtual.update();
|
|
@@ -5628,7 +5628,7 @@ const Virtual$1 = {
|
|
|
5628
5628
|
}
|
|
5629
5629
|
};
|
|
5630
5630
|
|
|
5631
|
-
function _extends$
|
|
5631
|
+
function _extends$g() { _extends$g = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
5632
5632
|
var Keyboard = {
|
|
5633
5633
|
handle: function handle(event) {
|
|
5634
5634
|
var swiper = this;
|
|
@@ -5739,7 +5739,7 @@ const Keyboard$1 = {
|
|
|
5739
5739
|
create: function create() {
|
|
5740
5740
|
var swiper = this;
|
|
5741
5741
|
bindModuleMethods(swiper, {
|
|
5742
|
-
keyboard: _extends$
|
|
5742
|
+
keyboard: _extends$g({
|
|
5743
5743
|
enabled: false
|
|
5744
5744
|
}, Keyboard)
|
|
5745
5745
|
});
|
|
@@ -6233,7 +6233,7 @@ const Mousewheel$1 = {
|
|
|
6233
6233
|
}
|
|
6234
6234
|
};
|
|
6235
6235
|
|
|
6236
|
-
function _extends$
|
|
6236
|
+
function _extends$f() { _extends$f = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
|
|
6237
6237
|
var Navigation = {
|
|
6238
6238
|
toggleEl: function toggleEl($el, disabled) {
|
|
6239
6239
|
$el[disabled ? 'addClass' : 'removeClass'](this.params.navigation.disabledClass);
|
|
@@ -6320,7 +6320,7 @@ var Navigation = {
|
|
|
6320
6320
|
$prevEl.on('click', swiper.navigation.onPrevClick);
|
|
6321
6321
|
}
|
|
6322
6322
|
|
|
6323
|
-
extend
|
|
6323
|
+
extend(swiper.navigation, {
|
|
6324
6324
|
$nextEl: $nextEl,
|
|
6325
6325
|
nextEl: $nextEl && $nextEl[0],
|
|
6326
6326
|
$prevEl: $prevEl,
|
|
@@ -6364,7 +6364,7 @@ const Navigation$1 = {
|
|
|
6364
6364
|
create: function create() {
|
|
6365
6365
|
var swiper = this;
|
|
6366
6366
|
bindModuleMethods(swiper, {
|
|
6367
|
-
navigation: _extends$
|
|
6367
|
+
navigation: _extends$f({}, Navigation)
|
|
6368
6368
|
});
|
|
6369
6369
|
},
|
|
6370
6370
|
on: {
|
|
@@ -6428,7 +6428,7 @@ const Navigation$1 = {
|
|
|
6428
6428
|
}
|
|
6429
6429
|
};
|
|
6430
6430
|
|
|
6431
|
-
function _extends$
|
|
6431
|
+
function _extends$e() { _extends$e = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
|
|
6432
6432
|
var Pagination = {
|
|
6433
6433
|
update: function update() {
|
|
6434
6434
|
// Render || Update Pagination bullets/items
|
|
@@ -6679,7 +6679,7 @@ var Pagination = {
|
|
|
6679
6679
|
});
|
|
6680
6680
|
}
|
|
6681
6681
|
|
|
6682
|
-
extend
|
|
6682
|
+
extend(swiper.pagination, {
|
|
6683
6683
|
$el: $el,
|
|
6684
6684
|
el: $el[0]
|
|
6685
6685
|
});
|
|
@@ -6742,7 +6742,7 @@ const Pagination$1 = {
|
|
|
6742
6742
|
create: function create() {
|
|
6743
6743
|
var swiper = this;
|
|
6744
6744
|
bindModuleMethods(swiper, {
|
|
6745
|
-
pagination: _extends$
|
|
6745
|
+
pagination: _extends$e({
|
|
6746
6746
|
dynamicBulletIndex: 0
|
|
6747
6747
|
}, Pagination)
|
|
6748
6748
|
});
|
|
@@ -6806,7 +6806,7 @@ const Pagination$1 = {
|
|
|
6806
6806
|
}
|
|
6807
6807
|
};
|
|
6808
6808
|
|
|
6809
|
-
function _extends$
|
|
6809
|
+
function _extends$d() { _extends$d = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
|
|
6810
6810
|
var Scrollbar = {
|
|
6811
6811
|
setTranslate: function setTranslate() {
|
|
6812
6812
|
var swiper = this;
|
|
@@ -6895,7 +6895,7 @@ var Scrollbar = {
|
|
|
6895
6895
|
$el[0].style.opacity = 0;
|
|
6896
6896
|
}
|
|
6897
6897
|
|
|
6898
|
-
extend
|
|
6898
|
+
extend(scrollbar, {
|
|
6899
6899
|
trackSize: trackSize,
|
|
6900
6900
|
divider: divider,
|
|
6901
6901
|
moveDivider: moveDivider,
|
|
@@ -7090,7 +7090,7 @@ var Scrollbar = {
|
|
|
7090
7090
|
$el.append($dragEl);
|
|
7091
7091
|
}
|
|
7092
7092
|
|
|
7093
|
-
extend
|
|
7093
|
+
extend(scrollbar, {
|
|
7094
7094
|
$el: $el,
|
|
7095
7095
|
el: $el[0],
|
|
7096
7096
|
$dragEl: $dragEl,
|
|
@@ -7126,7 +7126,7 @@ const Scrollbar$1 = {
|
|
|
7126
7126
|
create: function create() {
|
|
7127
7127
|
var swiper = this;
|
|
7128
7128
|
bindModuleMethods(swiper, {
|
|
7129
|
-
scrollbar: _extends$
|
|
7129
|
+
scrollbar: _extends$d({
|
|
7130
7130
|
isTouched: false,
|
|
7131
7131
|
timeout: null,
|
|
7132
7132
|
dragTimeout: null
|
|
@@ -7167,7 +7167,7 @@ const Scrollbar$1 = {
|
|
|
7167
7167
|
}
|
|
7168
7168
|
};
|
|
7169
7169
|
|
|
7170
|
-
function _extends$
|
|
7170
|
+
function _extends$c() { _extends$c = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
|
|
7171
7171
|
var Parallax = {
|
|
7172
7172
|
setTransform: function setTransform(el, progress) {
|
|
7173
7173
|
var swiper = this;
|
|
@@ -7262,7 +7262,7 @@ const Parallax$1 = {
|
|
|
7262
7262
|
create: function create() {
|
|
7263
7263
|
var swiper = this;
|
|
7264
7264
|
bindModuleMethods(swiper, {
|
|
7265
|
-
parallax: _extends$
|
|
7265
|
+
parallax: _extends$c({}, Parallax)
|
|
7266
7266
|
});
|
|
7267
7267
|
},
|
|
7268
7268
|
on: {
|
|
@@ -7286,7 +7286,7 @@ const Parallax$1 = {
|
|
|
7286
7286
|
}
|
|
7287
7287
|
};
|
|
7288
7288
|
|
|
7289
|
-
function _extends$
|
|
7289
|
+
function _extends$b() { _extends$b = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
|
|
7290
7290
|
var Zoom = {
|
|
7291
7291
|
// Calc Scale From Multi-touches
|
|
7292
7292
|
getDistanceBetweenTouches: function getDistanceBetweenTouches(e) {
|
|
@@ -7793,7 +7793,7 @@ const Zoom$1 = {
|
|
|
7793
7793
|
create: function create() {
|
|
7794
7794
|
var swiper = this;
|
|
7795
7795
|
bindModuleMethods(swiper, {
|
|
7796
|
-
zoom: _extends$
|
|
7796
|
+
zoom: _extends$b({
|
|
7797
7797
|
enabled: false,
|
|
7798
7798
|
scale: 1,
|
|
7799
7799
|
currentScale: 1,
|
|
@@ -7882,7 +7882,7 @@ const Zoom$1 = {
|
|
|
7882
7882
|
}
|
|
7883
7883
|
};
|
|
7884
7884
|
|
|
7885
|
-
function _extends$
|
|
7885
|
+
function _extends$a() { _extends$a = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
|
|
7886
7886
|
var Lazy = {
|
|
7887
7887
|
loadInSlide: function loadInSlide(index, loadInDuplicate) {
|
|
7888
7888
|
if (loadInDuplicate === void 0) {
|
|
@@ -8095,7 +8095,7 @@ const Lazy$1 = {
|
|
|
8095
8095
|
create: function create() {
|
|
8096
8096
|
var swiper = this;
|
|
8097
8097
|
bindModuleMethods(swiper, {
|
|
8098
|
-
lazy: _extends$
|
|
8098
|
+
lazy: _extends$a({
|
|
8099
8099
|
initialImageLoaded: false
|
|
8100
8100
|
}, Lazy)
|
|
8101
8101
|
});
|
|
@@ -8348,7 +8348,7 @@ const Controller$1 = {
|
|
|
8348
8348
|
}
|
|
8349
8349
|
};
|
|
8350
8350
|
|
|
8351
|
-
function _extends$
|
|
8351
|
+
function _extends$8() { _extends$8 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
|
8352
8352
|
var A11y = {
|
|
8353
8353
|
getRandomNumber: function getRandomNumber(size) {
|
|
8354
8354
|
if (size === void 0) {
|
|
@@ -8611,7 +8611,7 @@ const A11y$1 = {
|
|
|
8611
8611
|
create: function create() {
|
|
8612
8612
|
var swiper = this;
|
|
8613
8613
|
bindModuleMethods(swiper, {
|
|
8614
|
-
a11y: _extends$
|
|
8614
|
+
a11y: _extends$8({}, A11y, {
|
|
8615
8615
|
liveRegion: $("<span class=\"" + swiper.params.a11y.notificationClass + "\" aria-live=\"assertive\" aria-atomic=\"true\"></span>")
|
|
8616
8616
|
})
|
|
8617
8617
|
});
|
|
@@ -8641,7 +8641,7 @@ const A11y$1 = {
|
|
|
8641
8641
|
}
|
|
8642
8642
|
};
|
|
8643
8643
|
|
|
8644
|
-
function _extends$
|
|
8644
|
+
function _extends$7() { _extends$7 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
|
|
8645
8645
|
var History = {
|
|
8646
8646
|
init: function init() {
|
|
8647
8647
|
var swiper = this;
|
|
@@ -8771,7 +8771,7 @@ const History$1 = {
|
|
|
8771
8771
|
create: function create() {
|
|
8772
8772
|
var swiper = this;
|
|
8773
8773
|
bindModuleMethods(swiper, {
|
|
8774
|
-
history: _extends$
|
|
8774
|
+
history: _extends$7({}, History)
|
|
8775
8775
|
});
|
|
8776
8776
|
},
|
|
8777
8777
|
on: {
|
|
@@ -8798,7 +8798,7 @@ const History$1 = {
|
|
|
8798
8798
|
}
|
|
8799
8799
|
};
|
|
8800
8800
|
|
|
8801
|
-
function _extends$
|
|
8801
|
+
function _extends$6() { _extends$6 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
|
|
8802
8802
|
var HashNavigation = {
|
|
8803
8803
|
onHashChange: function onHashChange() {
|
|
8804
8804
|
var swiper = this;
|
|
@@ -8876,7 +8876,7 @@ const HashNavigation$1 = {
|
|
|
8876
8876
|
create: function create() {
|
|
8877
8877
|
var swiper = this;
|
|
8878
8878
|
bindModuleMethods(swiper, {
|
|
8879
|
-
hashNavigation: _extends$
|
|
8879
|
+
hashNavigation: _extends$6({
|
|
8880
8880
|
initialized: false
|
|
8881
8881
|
}, HashNavigation)
|
|
8882
8882
|
});
|
|
@@ -8905,7 +8905,7 @@ const HashNavigation$1 = {
|
|
|
8905
8905
|
}
|
|
8906
8906
|
};
|
|
8907
8907
|
|
|
8908
|
-
function _extends$
|
|
8908
|
+
function _extends$5() { _extends$5 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
|
|
8909
8909
|
var Autoplay = {
|
|
8910
8910
|
run: function run() {
|
|
8911
8911
|
var swiper = this;
|
|
@@ -9073,7 +9073,7 @@ const Autoplay$1 = {
|
|
|
9073
9073
|
create: function create() {
|
|
9074
9074
|
var swiper = this;
|
|
9075
9075
|
bindModuleMethods(swiper, {
|
|
9076
|
-
autoplay: _extends$
|
|
9076
|
+
autoplay: _extends$5({}, Autoplay, {
|
|
9077
9077
|
running: false,
|
|
9078
9078
|
paused: false
|
|
9079
9079
|
})
|
|
@@ -9124,7 +9124,7 @@ const Autoplay$1 = {
|
|
|
9124
9124
|
}
|
|
9125
9125
|
};
|
|
9126
9126
|
|
|
9127
|
-
function _extends$
|
|
9127
|
+
function _extends$4() { _extends$4 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
|
9128
9128
|
var Fade = {
|
|
9129
9129
|
setTranslate: function setTranslate() {
|
|
9130
9130
|
var swiper = this;
|
|
@@ -9180,7 +9180,7 @@ const EffectFade = {
|
|
|
9180
9180
|
create: function create() {
|
|
9181
9181
|
var swiper = this;
|
|
9182
9182
|
bindModuleMethods(swiper, {
|
|
9183
|
-
fadeEffect: _extends$
|
|
9183
|
+
fadeEffect: _extends$4({}, Fade)
|
|
9184
9184
|
});
|
|
9185
9185
|
},
|
|
9186
9186
|
on: {
|
|
@@ -9195,8 +9195,8 @@ const EffectFade = {
|
|
|
9195
9195
|
spaceBetween: 0,
|
|
9196
9196
|
virtualTranslate: true
|
|
9197
9197
|
};
|
|
9198
|
-
extend
|
|
9199
|
-
extend
|
|
9198
|
+
extend(swiper.params, overwriteParams);
|
|
9199
|
+
extend(swiper.originalParams, overwriteParams);
|
|
9200
9200
|
},
|
|
9201
9201
|
setTranslate: function setTranslate(swiper) {
|
|
9202
9202
|
if (swiper.params.effect !== 'fade') return;
|
|
@@ -9209,7 +9209,7 @@ const EffectFade = {
|
|
|
9209
9209
|
}
|
|
9210
9210
|
};
|
|
9211
9211
|
|
|
9212
|
-
function _extends$
|
|
9212
|
+
function _extends$3() { _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
|
9213
9213
|
var Cube = {
|
|
9214
9214
|
setTranslate: function setTranslate() {
|
|
9215
9215
|
var swiper = this;
|
|
@@ -9369,7 +9369,7 @@ const EffectCube = {
|
|
|
9369
9369
|
create: function create() {
|
|
9370
9370
|
var swiper = this;
|
|
9371
9371
|
bindModuleMethods(swiper, {
|
|
9372
|
-
cubeEffect: _extends$
|
|
9372
|
+
cubeEffect: _extends$3({}, Cube)
|
|
9373
9373
|
});
|
|
9374
9374
|
},
|
|
9375
9375
|
on: {
|
|
@@ -9387,8 +9387,8 @@ const EffectCube = {
|
|
|
9387
9387
|
centeredSlides: false,
|
|
9388
9388
|
virtualTranslate: true
|
|
9389
9389
|
};
|
|
9390
|
-
extend
|
|
9391
|
-
extend
|
|
9390
|
+
extend(swiper.params, overwriteParams);
|
|
9391
|
+
extend(swiper.originalParams, overwriteParams);
|
|
9392
9392
|
},
|
|
9393
9393
|
setTranslate: function setTranslate(swiper) {
|
|
9394
9394
|
if (swiper.params.effect !== 'cube') return;
|
|
@@ -9401,7 +9401,7 @@ const EffectCube = {
|
|
|
9401
9401
|
}
|
|
9402
9402
|
};
|
|
9403
9403
|
|
|
9404
|
-
function _extends$
|
|
9404
|
+
function _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
|
|
9405
9405
|
var Flip = {
|
|
9406
9406
|
setTranslate: function setTranslate() {
|
|
9407
9407
|
var swiper = this;
|
|
@@ -9492,7 +9492,7 @@ const EffectFlip = {
|
|
|
9492
9492
|
create: function create() {
|
|
9493
9493
|
var swiper = this;
|
|
9494
9494
|
bindModuleMethods(swiper, {
|
|
9495
|
-
flipEffect: _extends$
|
|
9495
|
+
flipEffect: _extends$2({}, Flip)
|
|
9496
9496
|
});
|
|
9497
9497
|
},
|
|
9498
9498
|
on: {
|
|
@@ -9508,8 +9508,8 @@ const EffectFlip = {
|
|
|
9508
9508
|
spaceBetween: 0,
|
|
9509
9509
|
virtualTranslate: true
|
|
9510
9510
|
};
|
|
9511
|
-
extend
|
|
9512
|
-
extend
|
|
9511
|
+
extend(swiper.params, overwriteParams);
|
|
9512
|
+
extend(swiper.originalParams, overwriteParams);
|
|
9513
9513
|
},
|
|
9514
9514
|
setTranslate: function setTranslate(swiper) {
|
|
9515
9515
|
if (swiper.params.effect !== 'flip') return;
|
|
@@ -9522,7 +9522,7 @@ const EffectFlip = {
|
|
|
9522
9522
|
}
|
|
9523
9523
|
};
|
|
9524
9524
|
|
|
9525
|
-
function _extends$
|
|
9525
|
+
function _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
|
|
9526
9526
|
var Coverflow = {
|
|
9527
9527
|
setTranslate: function setTranslate() {
|
|
9528
9528
|
var swiper = this;
|
|
@@ -9606,7 +9606,7 @@ const EffectCoverflow = {
|
|
|
9606
9606
|
create: function create() {
|
|
9607
9607
|
var swiper = this;
|
|
9608
9608
|
bindModuleMethods(swiper, {
|
|
9609
|
-
coverflowEffect: _extends$
|
|
9609
|
+
coverflowEffect: _extends$1({}, Coverflow)
|
|
9610
9610
|
});
|
|
9611
9611
|
},
|
|
9612
9612
|
on: {
|
|
@@ -9628,7 +9628,7 @@ const EffectCoverflow = {
|
|
|
9628
9628
|
}
|
|
9629
9629
|
};
|
|
9630
9630
|
|
|
9631
|
-
function _extends
|
|
9631
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
9632
9632
|
var Thumbs = {
|
|
9633
9633
|
init: function init() {
|
|
9634
9634
|
var swiper = this;
|
|
@@ -9639,16 +9639,16 @@ var Thumbs = {
|
|
|
9639
9639
|
|
|
9640
9640
|
if (thumbsParams.swiper instanceof SwiperClass) {
|
|
9641
9641
|
swiper.thumbs.swiper = thumbsParams.swiper;
|
|
9642
|
-
extend
|
|
9642
|
+
extend(swiper.thumbs.swiper.originalParams, {
|
|
9643
9643
|
watchSlidesProgress: true,
|
|
9644
9644
|
slideToClickedSlide: false
|
|
9645
9645
|
});
|
|
9646
|
-
extend
|
|
9646
|
+
extend(swiper.thumbs.swiper.params, {
|
|
9647
9647
|
watchSlidesProgress: true,
|
|
9648
9648
|
slideToClickedSlide: false
|
|
9649
9649
|
});
|
|
9650
|
-
} else if (isObject
|
|
9651
|
-
swiper.thumbs.swiper = new SwiperClass(extend
|
|
9650
|
+
} else if (isObject(thumbsParams.swiper)) {
|
|
9651
|
+
swiper.thumbs.swiper = new SwiperClass(extend({}, thumbsParams.swiper, {
|
|
9652
9652
|
watchSlidesVisibility: true,
|
|
9653
9653
|
watchSlidesProgress: true,
|
|
9654
9654
|
slideToClickedSlide: false
|
|
@@ -9793,7 +9793,7 @@ const Thumbs$1 = {
|
|
|
9793
9793
|
create: function create() {
|
|
9794
9794
|
var swiper = this;
|
|
9795
9795
|
bindModuleMethods(swiper, {
|
|
9796
|
-
thumbs: _extends
|
|
9796
|
+
thumbs: _extends({
|
|
9797
9797
|
swiper: null,
|
|
9798
9798
|
initialized: false
|
|
9799
9799
|
}, Thumbs)
|
|
@@ -9852,12 +9852,12 @@ const Thumbs$1 = {
|
|
|
9852
9852
|
|
|
9853
9853
|
// Swiper Class
|
|
9854
9854
|
var components = [Virtual$1, Keyboard$1, Mousewheel$1, Navigation$1, Pagination$1, Scrollbar$1, Parallax$1, Zoom$1, Lazy$1, Controller$1, A11y$1, History$1, HashNavigation$1, Autoplay$1, EffectFade, EffectCube, EffectFlip, EffectCoverflow, Thumbs$1];
|
|
9855
|
-
Swiper.use(components);
|
|
9855
|
+
Swiper$1.use(components);
|
|
9856
9856
|
|
|
9857
9857
|
const indexCss = "@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA') format('woff');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px,0,0);transform:translate3d(0px,0,0)}.swiper-container-multirow>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-container-pointer-events{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-pointer-events.swiper-container-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top, right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:'next'}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#ffffff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s opacity;transition:.3s opacity;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:50%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0px,-50%,0);transform:translate3d(0px,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:.2s transform,.2s top;transition:.2s transform,.2s top}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s left;transition:.2s transform,.2s left}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s right;transition:.2s transform,.2s right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white{--swiper-pagination-color:#ffffff}.swiper-pagination-black{--swiper-pagination-color:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-container-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;-webkit-filter:blur(50px);filter:blur(50px)}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}taro-swiper-core{display:block;height:150px}.swiper-container{height:100%}.swiper-pagination{font-size:0}.swiper-pagination-bullet{opacity:1}";
|
|
9858
9858
|
|
|
9859
9859
|
let INSTANCE_ID = 0;
|
|
9860
|
-
|
|
9860
|
+
let Swiper = class {
|
|
9861
9861
|
constructor(hostRef) {
|
|
9862
9862
|
index$1.registerInstance(this, hostRef);
|
|
9863
9863
|
this.onChange = index$1.createEvent(this, "change", 7);
|
|
@@ -10061,7 +10061,13 @@ const Swiper$1 = class {
|
|
|
10061
10061
|
that.current = this.realIndex;
|
|
10062
10062
|
},
|
|
10063
10063
|
// slideChange 事件在 swiper.slideTo 改写 current 时不触发,因此用 slideChangeTransitionEnd 事件代替
|
|
10064
|
-
slideChangeTransitionEnd() {
|
|
10064
|
+
slideChangeTransitionEnd(_swiper) {
|
|
10065
|
+
if (circular) {
|
|
10066
|
+
if (_swiper.isBeginning || _swiper.isEnd) {
|
|
10067
|
+
_swiper.slideToLoop(this.realIndex, 0); // 更新下标
|
|
10068
|
+
return;
|
|
10069
|
+
}
|
|
10070
|
+
}
|
|
10065
10071
|
that.onChange.emit({
|
|
10066
10072
|
current: this.realIndex,
|
|
10067
10073
|
source: ''
|
|
@@ -10091,7 +10097,7 @@ const Swiper$1 = class {
|
|
|
10091
10097
|
disableOnInteraction: false
|
|
10092
10098
|
};
|
|
10093
10099
|
}
|
|
10094
|
-
this.swiper = new Swiper(`.taro-swiper-${this._id} > .swiper-container`, options);
|
|
10100
|
+
this.swiper = new Swiper$1(`.taro-swiper-${this._id} > .swiper-container`, options);
|
|
10095
10101
|
this.swiperWrapper = this.el.querySelector(`.taro-swiper-${this._id} > .swiper-container > .swiper-wrapper`);
|
|
10096
10102
|
}
|
|
10097
10103
|
render() {
|
|
@@ -10141,9 +10147,9 @@ function debounce(fn, delay) {
|
|
|
10141
10147
|
}, delay);
|
|
10142
10148
|
};
|
|
10143
10149
|
}
|
|
10144
|
-
Swiper
|
|
10150
|
+
Swiper.style = indexCss;
|
|
10145
10151
|
|
|
10146
|
-
|
|
10152
|
+
let SwiperItem = class {
|
|
10147
10153
|
constructor(hostRef) {
|
|
10148
10154
|
index$1.registerInstance(this, hostRef);
|
|
10149
10155
|
}
|
|
@@ -10152,5 +10158,5 @@ const SwiperItem = class {
|
|
|
10152
10158
|
}
|
|
10153
10159
|
};
|
|
10154
10160
|
|
|
10155
|
-
exports.taro_swiper_core = Swiper
|
|
10161
|
+
exports.taro_swiper_core = Swiper;
|
|
10156
10162
|
exports.taro_swiper_item_core = SwiperItem;
|