@tarojs/components 3.3.9 → 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 +37 -12
- 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 +5 -7
- 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/picker/picker-group.js +59 -9
- package/dist/collection/components/swiper/swiper.js +7 -1
- package/dist/collection/components/tabbar/tabbar.js +2 -4
- 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 +37 -12
- 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 +5 -7
- 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-f9013b36.system.entry.js +1 -0
- 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/picker/picker-group.d.ts +7 -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/dist-h5/react/utils/reactify-wc.js +1 -0
- package/loader/index.d.ts +0 -1
- package/package.json +5 -4
- package/types/Camera.d.ts +7 -7
- package/types/LivePusher.d.ts +51 -3
- package/types/Map.d.ts +11 -1
- package/types/PickerView.d.ts +7 -7
- package/types/Swiper.d.ts +2 -0
- package/dist/esm-es5/index-310de3d5.js +0 -1
- package/dist/taro-components/p-153b839d.system.entry.js +0 -1
- package/dist/taro-components/p-180fd001.entry.js +0 -1
- package/dist/taro-components/p-1925bbdb.entry.js +0 -1
- package/dist/taro-components/p-1f44e8ef.system.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-3bda72b4.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-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-82185d54.system.entry.js +0 -1
- package/dist/taro-components/p-8676c058.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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-165a6222.js';
|
|
2
|
+
import { c as classnames } from './index-85e10859.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* SSR Window 3.0.0
|
|
@@ -13,22 +13,22 @@ import { c as classnames } from './index-ff1b322a.js';
|
|
|
13
13
|
* Released on: November 9, 2020
|
|
14
14
|
*/
|
|
15
15
|
/* eslint-disable no-param-reassign */
|
|
16
|
-
function isObject(obj) {
|
|
16
|
+
function isObject$1(obj) {
|
|
17
17
|
return (obj !== null &&
|
|
18
18
|
typeof obj === 'object' &&
|
|
19
19
|
'constructor' in obj &&
|
|
20
20
|
obj.constructor === Object);
|
|
21
21
|
}
|
|
22
|
-
function extend(target, src) {
|
|
22
|
+
function extend$1(target, src) {
|
|
23
23
|
if (target === void 0) { target = {}; }
|
|
24
24
|
if (src === void 0) { src = {}; }
|
|
25
25
|
Object.keys(src).forEach(function (key) {
|
|
26
26
|
if (typeof target[key] === 'undefined')
|
|
27
27
|
target[key] = src[key];
|
|
28
|
-
else if (isObject(src[key]) &&
|
|
29
|
-
isObject(target[key]) &&
|
|
28
|
+
else if (isObject$1(src[key]) &&
|
|
29
|
+
isObject$1(target[key]) &&
|
|
30
30
|
Object.keys(src[key]).length > 0) {
|
|
31
|
-
extend(target[key], src[key]);
|
|
31
|
+
extend$1(target[key], src[key]);
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -85,7 +85,7 @@ var ssrDocument = {
|
|
|
85
85
|
};
|
|
86
86
|
function getDocument() {
|
|
87
87
|
var doc = typeof document !== 'undefined' ? document : {};
|
|
88
|
-
extend(doc, ssrDocument);
|
|
88
|
+
extend$1(doc, ssrDocument);
|
|
89
89
|
return doc;
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -146,7 +146,7 @@ var ssrWindow = {
|
|
|
146
146
|
};
|
|
147
147
|
function getWindow() {
|
|
148
148
|
var win = typeof window !== 'undefined' ? window : {};
|
|
149
|
-
extend(win, ssrWindow);
|
|
149
|
+
extend$1(win, ssrWindow);
|
|
150
150
|
return win;
|
|
151
151
|
}
|
|
152
152
|
|
|
@@ -477,7 +477,7 @@ function transform(transform) {
|
|
|
477
477
|
return this;
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
function transition(duration) {
|
|
480
|
+
function transition$1(duration) {
|
|
481
481
|
for (var i = 0; i < this.length; i += 1) {
|
|
482
482
|
this[i].style.transitionDuration = typeof duration !== 'string' ? duration + "ms" : duration;
|
|
483
483
|
}
|
|
@@ -660,7 +660,7 @@ function trigger() {
|
|
|
660
660
|
return this;
|
|
661
661
|
}
|
|
662
662
|
|
|
663
|
-
function transitionEnd(callback) {
|
|
663
|
+
function transitionEnd$1(callback) {
|
|
664
664
|
var dom = this;
|
|
665
665
|
|
|
666
666
|
function fireCallBack(e) {
|
|
@@ -1096,11 +1096,11 @@ var Methods = {
|
|
|
1096
1096
|
attr: attr,
|
|
1097
1097
|
removeAttr: removeAttr,
|
|
1098
1098
|
transform: transform,
|
|
1099
|
-
transition: transition,
|
|
1099
|
+
transition: transition$1,
|
|
1100
1100
|
on: on,
|
|
1101
1101
|
off: off,
|
|
1102
1102
|
trigger: trigger,
|
|
1103
|
-
transitionEnd: transitionEnd,
|
|
1103
|
+
transitionEnd: transitionEnd$1,
|
|
1104
1104
|
outerWidth: outerWidth,
|
|
1105
1105
|
outerHeight: outerHeight,
|
|
1106
1106
|
styles: styles,
|
|
@@ -1224,7 +1224,7 @@ function getTranslate(el, axis) {
|
|
|
1224
1224
|
return curTransform || 0;
|
|
1225
1225
|
}
|
|
1226
1226
|
|
|
1227
|
-
function isObject
|
|
1227
|
+
function isObject(o) {
|
|
1228
1228
|
return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object';
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
@@ -1237,7 +1237,7 @@ function isNode(node) {
|
|
|
1237
1237
|
return node && (node.nodeType === 1 || node.nodeType === 11);
|
|
1238
1238
|
}
|
|
1239
1239
|
|
|
1240
|
-
function extend
|
|
1240
|
+
function extend() {
|
|
1241
1241
|
var to = Object(arguments.length <= 0 ? undefined : arguments[0]);
|
|
1242
1242
|
var noExtend = ['__proto__', 'constructor', 'prototype'];
|
|
1243
1243
|
|
|
@@ -1254,19 +1254,19 @@ function extend$1() {
|
|
|
1254
1254
|
var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);
|
|
1255
1255
|
|
|
1256
1256
|
if (desc !== undefined && desc.enumerable) {
|
|
1257
|
-
if (isObject
|
|
1257
|
+
if (isObject(to[nextKey]) && isObject(nextSource[nextKey])) {
|
|
1258
1258
|
if (nextSource[nextKey].__swiper__) {
|
|
1259
1259
|
to[nextKey] = nextSource[nextKey];
|
|
1260
1260
|
} else {
|
|
1261
|
-
extend
|
|
1261
|
+
extend(to[nextKey], nextSource[nextKey]);
|
|
1262
1262
|
}
|
|
1263
|
-
} else if (!isObject
|
|
1263
|
+
} else if (!isObject(to[nextKey]) && isObject(nextSource[nextKey])) {
|
|
1264
1264
|
to[nextKey] = {};
|
|
1265
1265
|
|
|
1266
1266
|
if (nextSource[nextKey].__swiper__) {
|
|
1267
1267
|
to[nextKey] = nextSource[nextKey];
|
|
1268
1268
|
} else {
|
|
1269
|
-
extend
|
|
1269
|
+
extend(to[nextKey], nextSource[nextKey]);
|
|
1270
1270
|
}
|
|
1271
1271
|
} else {
|
|
1272
1272
|
to[nextKey] = nextSource[nextKey];
|
|
@@ -1281,7 +1281,7 @@ function extend$1() {
|
|
|
1281
1281
|
|
|
1282
1282
|
function bindModuleMethods(instance, obj) {
|
|
1283
1283
|
Object.keys(obj).forEach(function (key) {
|
|
1284
|
-
if (isObject
|
|
1284
|
+
if (isObject(obj[key])) {
|
|
1285
1285
|
Object.keys(obj[key]).forEach(function (subKey) {
|
|
1286
1286
|
if (typeof obj[key][subKey] === 'function') {
|
|
1287
1287
|
obj[key][subKey] = obj[key][subKey].bind(instance);
|
|
@@ -1453,7 +1453,7 @@ const Resize = {
|
|
|
1453
1453
|
name: 'resize',
|
|
1454
1454
|
create: function create() {
|
|
1455
1455
|
var swiper = this;
|
|
1456
|
-
extend
|
|
1456
|
+
extend(swiper, {
|
|
1457
1457
|
resize: {
|
|
1458
1458
|
observer: null,
|
|
1459
1459
|
createObserver: function createObserver() {
|
|
@@ -1519,7 +1519,7 @@ const Resize = {
|
|
|
1519
1519
|
}
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
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); }
|
|
1522
|
+
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); }
|
|
1523
1523
|
var Observer = {
|
|
1524
1524
|
attach: function attach(target, options) {
|
|
1525
1525
|
if (options === void 0) {
|
|
@@ -1594,7 +1594,7 @@ const Observer$1 = {
|
|
|
1594
1594
|
create: function create() {
|
|
1595
1595
|
var swiper = this;
|
|
1596
1596
|
bindModuleMethods(swiper, {
|
|
1597
|
-
observer: _extends({}, Observer, {
|
|
1597
|
+
observer: _extends$i({}, Observer, {
|
|
1598
1598
|
observers: []
|
|
1599
1599
|
})
|
|
1600
1600
|
});
|
|
@@ -1617,7 +1617,7 @@ const modular = {
|
|
|
1617
1617
|
var module = instance.modules[moduleName]; // Extend params
|
|
1618
1618
|
|
|
1619
1619
|
if (module.params) {
|
|
1620
|
-
extend
|
|
1620
|
+
extend(instanceParams, module.params);
|
|
1621
1621
|
}
|
|
1622
1622
|
});
|
|
1623
1623
|
},
|
|
@@ -1784,7 +1784,7 @@ function updateSize() {
|
|
|
1784
1784
|
height = height - parseInt($el.css('padding-top') || 0, 10) - parseInt($el.css('padding-bottom') || 0, 10);
|
|
1785
1785
|
if (Number.isNaN(width)) width = 0;
|
|
1786
1786
|
if (Number.isNaN(height)) height = 0;
|
|
1787
|
-
extend
|
|
1787
|
+
extend(swiper, {
|
|
1788
1788
|
width: width,
|
|
1789
1789
|
height: height,
|
|
1790
1790
|
size: swiper.isHorizontal() ? width : height
|
|
@@ -2112,7 +2112,7 @@ function updateSlides() {
|
|
|
2112
2112
|
}
|
|
2113
2113
|
}
|
|
2114
2114
|
|
|
2115
|
-
extend
|
|
2115
|
+
extend(swiper, {
|
|
2116
2116
|
slides: slides,
|
|
2117
2117
|
snapGrid: snapGrid,
|
|
2118
2118
|
slidesGrid: slidesGrid,
|
|
@@ -2265,7 +2265,7 @@ function updateProgress(translate) {
|
|
|
2265
2265
|
isEnd = progress >= 1;
|
|
2266
2266
|
}
|
|
2267
2267
|
|
|
2268
|
-
extend
|
|
2268
|
+
extend(swiper, {
|
|
2269
2269
|
progress: progress,
|
|
2270
2270
|
isBeginning: isBeginning,
|
|
2271
2271
|
isEnd: isEnd
|
|
@@ -2401,7 +2401,7 @@ function updateActiveIndex(newActiveIndex) {
|
|
|
2401
2401
|
|
|
2402
2402
|
|
|
2403
2403
|
var realIndex = parseInt(swiper.slides.eq(activeIndex).attr('data-swiper-slide-index') || activeIndex, 10);
|
|
2404
|
-
extend
|
|
2404
|
+
extend(swiper, {
|
|
2405
2405
|
snapIndex: snapIndex,
|
|
2406
2406
|
realIndex: realIndex,
|
|
2407
2407
|
previousIndex: previousIndex,
|
|
@@ -2697,7 +2697,7 @@ function transitionStart(runCallbacks, direction) {
|
|
|
2697
2697
|
}
|
|
2698
2698
|
}
|
|
2699
2699
|
|
|
2700
|
-
function transitionEnd
|
|
2700
|
+
function transitionEnd(runCallbacks, direction) {
|
|
2701
2701
|
if (runCallbacks === void 0) {
|
|
2702
2702
|
runCallbacks = true;
|
|
2703
2703
|
}
|
|
@@ -2733,10 +2733,10 @@ function transitionEnd$1(runCallbacks, direction) {
|
|
|
2733
2733
|
}
|
|
2734
2734
|
}
|
|
2735
2735
|
|
|
2736
|
-
const transition
|
|
2736
|
+
const transition = {
|
|
2737
2737
|
setTransition: setTransition,
|
|
2738
2738
|
transitionStart: transitionStart,
|
|
2739
|
-
transitionEnd: transitionEnd
|
|
2739
|
+
transitionEnd: transitionEnd
|
|
2740
2740
|
};
|
|
2741
2741
|
|
|
2742
2742
|
function slideTo(index, speed, runCallbacks, internal, initial) {
|
|
@@ -3514,7 +3514,7 @@ function onTouchStart(event) {
|
|
|
3514
3514
|
}
|
|
3515
3515
|
}
|
|
3516
3516
|
|
|
3517
|
-
extend
|
|
3517
|
+
extend(data, {
|
|
3518
3518
|
isTouched: true,
|
|
3519
3519
|
isMoved: false,
|
|
3520
3520
|
allowTouchCallbacks: true,
|
|
@@ -3583,7 +3583,7 @@ function onTouchMove(event) {
|
|
|
3583
3583
|
swiper.allowClick = false;
|
|
3584
3584
|
|
|
3585
3585
|
if (data.isTouched) {
|
|
3586
|
-
extend
|
|
3586
|
+
extend(touches, {
|
|
3587
3587
|
startX: pageX,
|
|
3588
3588
|
startY: pageY,
|
|
3589
3589
|
currentX: pageX,
|
|
@@ -4377,9 +4377,9 @@ function setBreakpoint() {
|
|
|
4377
4377
|
swiper.changeDirection();
|
|
4378
4378
|
}
|
|
4379
4379
|
|
|
4380
|
-
extend
|
|
4380
|
+
extend(swiper.params, breakpointParams);
|
|
4381
4381
|
var isEnabled = swiper.params.enabled;
|
|
4382
|
-
extend
|
|
4382
|
+
extend(swiper, {
|
|
4383
4383
|
allowTouchMove: swiper.params.allowTouchMove,
|
|
4384
4384
|
allowSlideNext: swiper.params.allowSlideNext,
|
|
4385
4385
|
allowSlidePrev: swiper.params.allowSlidePrev
|
|
@@ -4744,7 +4744,7 @@ var prototypes = {
|
|
|
4744
4744
|
eventsEmitter: eventsEmitter,
|
|
4745
4745
|
update: update,
|
|
4746
4746
|
translate: translate,
|
|
4747
|
-
transition: transition
|
|
4747
|
+
transition: transition,
|
|
4748
4748
|
slide: slide,
|
|
4749
4749
|
loop: loop,
|
|
4750
4750
|
grabCursor: grabCursor,
|
|
@@ -4757,7 +4757,7 @@ var prototypes = {
|
|
|
4757
4757
|
};
|
|
4758
4758
|
var extendedDefaults = {};
|
|
4759
4759
|
|
|
4760
|
-
var Swiper = /*#__PURE__*/function () {
|
|
4760
|
+
var Swiper$1 = /*#__PURE__*/function () {
|
|
4761
4761
|
function Swiper() {
|
|
4762
4762
|
var el;
|
|
4763
4763
|
var params;
|
|
@@ -4774,13 +4774,13 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
4774
4774
|
}
|
|
4775
4775
|
|
|
4776
4776
|
if (!params) params = {};
|
|
4777
|
-
params = extend
|
|
4777
|
+
params = extend({}, params);
|
|
4778
4778
|
if (el && !params.el) params.el = el;
|
|
4779
4779
|
|
|
4780
4780
|
if (params.el && $(params.el).length > 1) {
|
|
4781
4781
|
var swipers = [];
|
|
4782
4782
|
$(params.el).each(function (containerEl) {
|
|
4783
|
-
var newParams = extend
|
|
4783
|
+
var newParams = extend({}, params, {
|
|
4784
4784
|
el: containerEl
|
|
4785
4785
|
});
|
|
4786
4786
|
swipers.push(new Swiper(newParams));
|
|
@@ -4835,12 +4835,12 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
4835
4835
|
}
|
|
4836
4836
|
}); // Extend defaults with modules params
|
|
4837
4837
|
|
|
4838
|
-
var swiperParams = extend
|
|
4838
|
+
var swiperParams = extend({}, defaults);
|
|
4839
4839
|
swiper.useParams(swiperParams); // Extend defaults with passed params
|
|
4840
4840
|
|
|
4841
|
-
swiper.params = extend
|
|
4842
|
-
swiper.originalParams = extend
|
|
4843
|
-
swiper.passedParams = extend
|
|
4841
|
+
swiper.params = extend({}, swiperParams, extendedDefaults, params);
|
|
4842
|
+
swiper.originalParams = extend({}, swiper.params);
|
|
4843
|
+
swiper.passedParams = extend({}, params); // add event listeners
|
|
4844
4844
|
|
|
4845
4845
|
if (swiper.params && swiper.params.on) {
|
|
4846
4846
|
Object.keys(swiper.params.on).forEach(function (eventName) {
|
|
@@ -4855,7 +4855,7 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
4855
4855
|
|
|
4856
4856
|
swiper.$ = $; // Extend Swiper
|
|
4857
4857
|
|
|
4858
|
-
extend
|
|
4858
|
+
extend(swiper, {
|
|
4859
4859
|
enabled: swiper.params.enabled,
|
|
4860
4860
|
el: el,
|
|
4861
4861
|
// Classes
|
|
@@ -5190,7 +5190,7 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
5190
5190
|
});
|
|
5191
5191
|
}
|
|
5192
5192
|
|
|
5193
|
-
extend
|
|
5193
|
+
extend(swiper, {
|
|
5194
5194
|
$el: $el,
|
|
5195
5195
|
el: el,
|
|
5196
5196
|
$wrapperEl: $wrapperEl,
|
|
@@ -5313,7 +5313,7 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
5313
5313
|
};
|
|
5314
5314
|
|
|
5315
5315
|
Swiper.extendDefaults = function extendDefaults(newDefaults) {
|
|
5316
|
-
extend
|
|
5316
|
+
extend(extendedDefaults, newDefaults);
|
|
5317
5317
|
};
|
|
5318
5318
|
|
|
5319
5319
|
Swiper.installModule = function installModule(module) {
|
|
@@ -5351,12 +5351,12 @@ var Swiper = /*#__PURE__*/function () {
|
|
|
5351
5351
|
|
|
5352
5352
|
Object.keys(prototypes).forEach(function (prototypeGroup) {
|
|
5353
5353
|
Object.keys(prototypes[prototypeGroup]).forEach(function (protoMethod) {
|
|
5354
|
-
Swiper.prototype[protoMethod] = prototypes[prototypeGroup][protoMethod];
|
|
5354
|
+
Swiper$1.prototype[protoMethod] = prototypes[prototypeGroup][protoMethod];
|
|
5355
5355
|
});
|
|
5356
5356
|
});
|
|
5357
|
-
Swiper.use([Resize, Observer$1]);
|
|
5357
|
+
Swiper$1.use([Resize, Observer$1]);
|
|
5358
5358
|
|
|
5359
|
-
function _extends$
|
|
5359
|
+
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); }
|
|
5360
5360
|
var Virtual = {
|
|
5361
5361
|
update: function update(force) {
|
|
5362
5362
|
var swiper = this;
|
|
@@ -5392,7 +5392,7 @@ var Virtual = {
|
|
|
5392
5392
|
var from = Math.max((activeIndex || 0) - slidesBefore, 0);
|
|
5393
5393
|
var to = Math.min((activeIndex || 0) + slidesAfter, slides.length - 1);
|
|
5394
5394
|
var offset = (swiper.slidesGrid[from] || 0) - (swiper.slidesGrid[0] || 0);
|
|
5395
|
-
extend
|
|
5395
|
+
extend(swiper.virtual, {
|
|
5396
5396
|
from: from,
|
|
5397
5397
|
to: to,
|
|
5398
5398
|
offset: offset,
|
|
@@ -5597,7 +5597,7 @@ const Virtual$1 = {
|
|
|
5597
5597
|
create: function create() {
|
|
5598
5598
|
var swiper = this;
|
|
5599
5599
|
bindModuleMethods(swiper, {
|
|
5600
|
-
virtual: _extends$
|
|
5600
|
+
virtual: _extends$h({}, Virtual, {
|
|
5601
5601
|
slides: swiper.params.virtual.slides,
|
|
5602
5602
|
cache: {}
|
|
5603
5603
|
})
|
|
@@ -5610,8 +5610,8 @@ const Virtual$1 = {
|
|
|
5610
5610
|
var overwriteParams = {
|
|
5611
5611
|
watchSlidesProgress: true
|
|
5612
5612
|
};
|
|
5613
|
-
extend
|
|
5614
|
-
extend
|
|
5613
|
+
extend(swiper.params, overwriteParams);
|
|
5614
|
+
extend(swiper.originalParams, overwriteParams);
|
|
5615
5615
|
|
|
5616
5616
|
if (!swiper.params.initialSlide) {
|
|
5617
5617
|
swiper.virtual.update();
|
|
@@ -5624,7 +5624,7 @@ const Virtual$1 = {
|
|
|
5624
5624
|
}
|
|
5625
5625
|
};
|
|
5626
5626
|
|
|
5627
|
-
function _extends$
|
|
5627
|
+
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); }
|
|
5628
5628
|
var Keyboard = {
|
|
5629
5629
|
handle: function handle(event) {
|
|
5630
5630
|
var swiper = this;
|
|
@@ -5735,7 +5735,7 @@ const Keyboard$1 = {
|
|
|
5735
5735
|
create: function create() {
|
|
5736
5736
|
var swiper = this;
|
|
5737
5737
|
bindModuleMethods(swiper, {
|
|
5738
|
-
keyboard: _extends$
|
|
5738
|
+
keyboard: _extends$g({
|
|
5739
5739
|
enabled: false
|
|
5740
5740
|
}, Keyboard)
|
|
5741
5741
|
});
|
|
@@ -6229,7 +6229,7 @@ const Mousewheel$1 = {
|
|
|
6229
6229
|
}
|
|
6230
6230
|
};
|
|
6231
6231
|
|
|
6232
|
-
function _extends$
|
|
6232
|
+
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); }
|
|
6233
6233
|
var Navigation = {
|
|
6234
6234
|
toggleEl: function toggleEl($el, disabled) {
|
|
6235
6235
|
$el[disabled ? 'addClass' : 'removeClass'](this.params.navigation.disabledClass);
|
|
@@ -6316,7 +6316,7 @@ var Navigation = {
|
|
|
6316
6316
|
$prevEl.on('click', swiper.navigation.onPrevClick);
|
|
6317
6317
|
}
|
|
6318
6318
|
|
|
6319
|
-
extend
|
|
6319
|
+
extend(swiper.navigation, {
|
|
6320
6320
|
$nextEl: $nextEl,
|
|
6321
6321
|
nextEl: $nextEl && $nextEl[0],
|
|
6322
6322
|
$prevEl: $prevEl,
|
|
@@ -6360,7 +6360,7 @@ const Navigation$1 = {
|
|
|
6360
6360
|
create: function create() {
|
|
6361
6361
|
var swiper = this;
|
|
6362
6362
|
bindModuleMethods(swiper, {
|
|
6363
|
-
navigation: _extends$
|
|
6363
|
+
navigation: _extends$f({}, Navigation)
|
|
6364
6364
|
});
|
|
6365
6365
|
},
|
|
6366
6366
|
on: {
|
|
@@ -6424,7 +6424,7 @@ const Navigation$1 = {
|
|
|
6424
6424
|
}
|
|
6425
6425
|
};
|
|
6426
6426
|
|
|
6427
|
-
function _extends$
|
|
6427
|
+
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); }
|
|
6428
6428
|
var Pagination = {
|
|
6429
6429
|
update: function update() {
|
|
6430
6430
|
// Render || Update Pagination bullets/items
|
|
@@ -6675,7 +6675,7 @@ var Pagination = {
|
|
|
6675
6675
|
});
|
|
6676
6676
|
}
|
|
6677
6677
|
|
|
6678
|
-
extend
|
|
6678
|
+
extend(swiper.pagination, {
|
|
6679
6679
|
$el: $el,
|
|
6680
6680
|
el: $el[0]
|
|
6681
6681
|
});
|
|
@@ -6738,7 +6738,7 @@ const Pagination$1 = {
|
|
|
6738
6738
|
create: function create() {
|
|
6739
6739
|
var swiper = this;
|
|
6740
6740
|
bindModuleMethods(swiper, {
|
|
6741
|
-
pagination: _extends$
|
|
6741
|
+
pagination: _extends$e({
|
|
6742
6742
|
dynamicBulletIndex: 0
|
|
6743
6743
|
}, Pagination)
|
|
6744
6744
|
});
|
|
@@ -6802,7 +6802,7 @@ const Pagination$1 = {
|
|
|
6802
6802
|
}
|
|
6803
6803
|
};
|
|
6804
6804
|
|
|
6805
|
-
function _extends$
|
|
6805
|
+
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); }
|
|
6806
6806
|
var Scrollbar = {
|
|
6807
6807
|
setTranslate: function setTranslate() {
|
|
6808
6808
|
var swiper = this;
|
|
@@ -6891,7 +6891,7 @@ var Scrollbar = {
|
|
|
6891
6891
|
$el[0].style.opacity = 0;
|
|
6892
6892
|
}
|
|
6893
6893
|
|
|
6894
|
-
extend
|
|
6894
|
+
extend(scrollbar, {
|
|
6895
6895
|
trackSize: trackSize,
|
|
6896
6896
|
divider: divider,
|
|
6897
6897
|
moveDivider: moveDivider,
|
|
@@ -7086,7 +7086,7 @@ var Scrollbar = {
|
|
|
7086
7086
|
$el.append($dragEl);
|
|
7087
7087
|
}
|
|
7088
7088
|
|
|
7089
|
-
extend
|
|
7089
|
+
extend(scrollbar, {
|
|
7090
7090
|
$el: $el,
|
|
7091
7091
|
el: $el[0],
|
|
7092
7092
|
$dragEl: $dragEl,
|
|
@@ -7122,7 +7122,7 @@ const Scrollbar$1 = {
|
|
|
7122
7122
|
create: function create() {
|
|
7123
7123
|
var swiper = this;
|
|
7124
7124
|
bindModuleMethods(swiper, {
|
|
7125
|
-
scrollbar: _extends$
|
|
7125
|
+
scrollbar: _extends$d({
|
|
7126
7126
|
isTouched: false,
|
|
7127
7127
|
timeout: null,
|
|
7128
7128
|
dragTimeout: null
|
|
@@ -7163,7 +7163,7 @@ const Scrollbar$1 = {
|
|
|
7163
7163
|
}
|
|
7164
7164
|
};
|
|
7165
7165
|
|
|
7166
|
-
function _extends$
|
|
7166
|
+
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); }
|
|
7167
7167
|
var Parallax = {
|
|
7168
7168
|
setTransform: function setTransform(el, progress) {
|
|
7169
7169
|
var swiper = this;
|
|
@@ -7258,7 +7258,7 @@ const Parallax$1 = {
|
|
|
7258
7258
|
create: function create() {
|
|
7259
7259
|
var swiper = this;
|
|
7260
7260
|
bindModuleMethods(swiper, {
|
|
7261
|
-
parallax: _extends$
|
|
7261
|
+
parallax: _extends$c({}, Parallax)
|
|
7262
7262
|
});
|
|
7263
7263
|
},
|
|
7264
7264
|
on: {
|
|
@@ -7282,7 +7282,7 @@ const Parallax$1 = {
|
|
|
7282
7282
|
}
|
|
7283
7283
|
};
|
|
7284
7284
|
|
|
7285
|
-
function _extends$
|
|
7285
|
+
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); }
|
|
7286
7286
|
var Zoom = {
|
|
7287
7287
|
// Calc Scale From Multi-touches
|
|
7288
7288
|
getDistanceBetweenTouches: function getDistanceBetweenTouches(e) {
|
|
@@ -7789,7 +7789,7 @@ const Zoom$1 = {
|
|
|
7789
7789
|
create: function create() {
|
|
7790
7790
|
var swiper = this;
|
|
7791
7791
|
bindModuleMethods(swiper, {
|
|
7792
|
-
zoom: _extends$
|
|
7792
|
+
zoom: _extends$b({
|
|
7793
7793
|
enabled: false,
|
|
7794
7794
|
scale: 1,
|
|
7795
7795
|
currentScale: 1,
|
|
@@ -7878,7 +7878,7 @@ const Zoom$1 = {
|
|
|
7878
7878
|
}
|
|
7879
7879
|
};
|
|
7880
7880
|
|
|
7881
|
-
function _extends$
|
|
7881
|
+
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); }
|
|
7882
7882
|
var Lazy = {
|
|
7883
7883
|
loadInSlide: function loadInSlide(index, loadInDuplicate) {
|
|
7884
7884
|
if (loadInDuplicate === void 0) {
|
|
@@ -8091,7 +8091,7 @@ const Lazy$1 = {
|
|
|
8091
8091
|
create: function create() {
|
|
8092
8092
|
var swiper = this;
|
|
8093
8093
|
bindModuleMethods(swiper, {
|
|
8094
|
-
lazy: _extends$
|
|
8094
|
+
lazy: _extends$a({
|
|
8095
8095
|
initialImageLoaded: false
|
|
8096
8096
|
}, Lazy)
|
|
8097
8097
|
});
|
|
@@ -8344,7 +8344,7 @@ const Controller$1 = {
|
|
|
8344
8344
|
}
|
|
8345
8345
|
};
|
|
8346
8346
|
|
|
8347
|
-
function _extends$
|
|
8347
|
+
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); }
|
|
8348
8348
|
var A11y = {
|
|
8349
8349
|
getRandomNumber: function getRandomNumber(size) {
|
|
8350
8350
|
if (size === void 0) {
|
|
@@ -8607,7 +8607,7 @@ const A11y$1 = {
|
|
|
8607
8607
|
create: function create() {
|
|
8608
8608
|
var swiper = this;
|
|
8609
8609
|
bindModuleMethods(swiper, {
|
|
8610
|
-
a11y: _extends$
|
|
8610
|
+
a11y: _extends$8({}, A11y, {
|
|
8611
8611
|
liveRegion: $("<span class=\"" + swiper.params.a11y.notificationClass + "\" aria-live=\"assertive\" aria-atomic=\"true\"></span>")
|
|
8612
8612
|
})
|
|
8613
8613
|
});
|
|
@@ -8637,7 +8637,7 @@ const A11y$1 = {
|
|
|
8637
8637
|
}
|
|
8638
8638
|
};
|
|
8639
8639
|
|
|
8640
|
-
function _extends$
|
|
8640
|
+
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); }
|
|
8641
8641
|
var History = {
|
|
8642
8642
|
init: function init() {
|
|
8643
8643
|
var swiper = this;
|
|
@@ -8767,7 +8767,7 @@ const History$1 = {
|
|
|
8767
8767
|
create: function create() {
|
|
8768
8768
|
var swiper = this;
|
|
8769
8769
|
bindModuleMethods(swiper, {
|
|
8770
|
-
history: _extends$
|
|
8770
|
+
history: _extends$7({}, History)
|
|
8771
8771
|
});
|
|
8772
8772
|
},
|
|
8773
8773
|
on: {
|
|
@@ -8794,7 +8794,7 @@ const History$1 = {
|
|
|
8794
8794
|
}
|
|
8795
8795
|
};
|
|
8796
8796
|
|
|
8797
|
-
function _extends$
|
|
8797
|
+
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); }
|
|
8798
8798
|
var HashNavigation = {
|
|
8799
8799
|
onHashChange: function onHashChange() {
|
|
8800
8800
|
var swiper = this;
|
|
@@ -8872,7 +8872,7 @@ const HashNavigation$1 = {
|
|
|
8872
8872
|
create: function create() {
|
|
8873
8873
|
var swiper = this;
|
|
8874
8874
|
bindModuleMethods(swiper, {
|
|
8875
|
-
hashNavigation: _extends$
|
|
8875
|
+
hashNavigation: _extends$6({
|
|
8876
8876
|
initialized: false
|
|
8877
8877
|
}, HashNavigation)
|
|
8878
8878
|
});
|
|
@@ -8901,7 +8901,7 @@ const HashNavigation$1 = {
|
|
|
8901
8901
|
}
|
|
8902
8902
|
};
|
|
8903
8903
|
|
|
8904
|
-
function _extends$
|
|
8904
|
+
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); }
|
|
8905
8905
|
var Autoplay = {
|
|
8906
8906
|
run: function run() {
|
|
8907
8907
|
var swiper = this;
|
|
@@ -9069,7 +9069,7 @@ const Autoplay$1 = {
|
|
|
9069
9069
|
create: function create() {
|
|
9070
9070
|
var swiper = this;
|
|
9071
9071
|
bindModuleMethods(swiper, {
|
|
9072
|
-
autoplay: _extends$
|
|
9072
|
+
autoplay: _extends$5({}, Autoplay, {
|
|
9073
9073
|
running: false,
|
|
9074
9074
|
paused: false
|
|
9075
9075
|
})
|
|
@@ -9120,7 +9120,7 @@ const Autoplay$1 = {
|
|
|
9120
9120
|
}
|
|
9121
9121
|
};
|
|
9122
9122
|
|
|
9123
|
-
function _extends$
|
|
9123
|
+
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); }
|
|
9124
9124
|
var Fade = {
|
|
9125
9125
|
setTranslate: function setTranslate() {
|
|
9126
9126
|
var swiper = this;
|
|
@@ -9176,7 +9176,7 @@ const EffectFade = {
|
|
|
9176
9176
|
create: function create() {
|
|
9177
9177
|
var swiper = this;
|
|
9178
9178
|
bindModuleMethods(swiper, {
|
|
9179
|
-
fadeEffect: _extends$
|
|
9179
|
+
fadeEffect: _extends$4({}, Fade)
|
|
9180
9180
|
});
|
|
9181
9181
|
},
|
|
9182
9182
|
on: {
|
|
@@ -9191,8 +9191,8 @@ const EffectFade = {
|
|
|
9191
9191
|
spaceBetween: 0,
|
|
9192
9192
|
virtualTranslate: true
|
|
9193
9193
|
};
|
|
9194
|
-
extend
|
|
9195
|
-
extend
|
|
9194
|
+
extend(swiper.params, overwriteParams);
|
|
9195
|
+
extend(swiper.originalParams, overwriteParams);
|
|
9196
9196
|
},
|
|
9197
9197
|
setTranslate: function setTranslate(swiper) {
|
|
9198
9198
|
if (swiper.params.effect !== 'fade') return;
|
|
@@ -9205,7 +9205,7 @@ const EffectFade = {
|
|
|
9205
9205
|
}
|
|
9206
9206
|
};
|
|
9207
9207
|
|
|
9208
|
-
function _extends$
|
|
9208
|
+
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); }
|
|
9209
9209
|
var Cube = {
|
|
9210
9210
|
setTranslate: function setTranslate() {
|
|
9211
9211
|
var swiper = this;
|
|
@@ -9365,7 +9365,7 @@ const EffectCube = {
|
|
|
9365
9365
|
create: function create() {
|
|
9366
9366
|
var swiper = this;
|
|
9367
9367
|
bindModuleMethods(swiper, {
|
|
9368
|
-
cubeEffect: _extends$
|
|
9368
|
+
cubeEffect: _extends$3({}, Cube)
|
|
9369
9369
|
});
|
|
9370
9370
|
},
|
|
9371
9371
|
on: {
|
|
@@ -9383,8 +9383,8 @@ const EffectCube = {
|
|
|
9383
9383
|
centeredSlides: false,
|
|
9384
9384
|
virtualTranslate: true
|
|
9385
9385
|
};
|
|
9386
|
-
extend
|
|
9387
|
-
extend
|
|
9386
|
+
extend(swiper.params, overwriteParams);
|
|
9387
|
+
extend(swiper.originalParams, overwriteParams);
|
|
9388
9388
|
},
|
|
9389
9389
|
setTranslate: function setTranslate(swiper) {
|
|
9390
9390
|
if (swiper.params.effect !== 'cube') return;
|
|
@@ -9397,7 +9397,7 @@ const EffectCube = {
|
|
|
9397
9397
|
}
|
|
9398
9398
|
};
|
|
9399
9399
|
|
|
9400
|
-
function _extends$
|
|
9400
|
+
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); }
|
|
9401
9401
|
var Flip = {
|
|
9402
9402
|
setTranslate: function setTranslate() {
|
|
9403
9403
|
var swiper = this;
|
|
@@ -9488,7 +9488,7 @@ const EffectFlip = {
|
|
|
9488
9488
|
create: function create() {
|
|
9489
9489
|
var swiper = this;
|
|
9490
9490
|
bindModuleMethods(swiper, {
|
|
9491
|
-
flipEffect: _extends$
|
|
9491
|
+
flipEffect: _extends$2({}, Flip)
|
|
9492
9492
|
});
|
|
9493
9493
|
},
|
|
9494
9494
|
on: {
|
|
@@ -9504,8 +9504,8 @@ const EffectFlip = {
|
|
|
9504
9504
|
spaceBetween: 0,
|
|
9505
9505
|
virtualTranslate: true
|
|
9506
9506
|
};
|
|
9507
|
-
extend
|
|
9508
|
-
extend
|
|
9507
|
+
extend(swiper.params, overwriteParams);
|
|
9508
|
+
extend(swiper.originalParams, overwriteParams);
|
|
9509
9509
|
},
|
|
9510
9510
|
setTranslate: function setTranslate(swiper) {
|
|
9511
9511
|
if (swiper.params.effect !== 'flip') return;
|
|
@@ -9518,7 +9518,7 @@ const EffectFlip = {
|
|
|
9518
9518
|
}
|
|
9519
9519
|
};
|
|
9520
9520
|
|
|
9521
|
-
function _extends$
|
|
9521
|
+
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); }
|
|
9522
9522
|
var Coverflow = {
|
|
9523
9523
|
setTranslate: function setTranslate() {
|
|
9524
9524
|
var swiper = this;
|
|
@@ -9602,7 +9602,7 @@ const EffectCoverflow = {
|
|
|
9602
9602
|
create: function create() {
|
|
9603
9603
|
var swiper = this;
|
|
9604
9604
|
bindModuleMethods(swiper, {
|
|
9605
|
-
coverflowEffect: _extends$
|
|
9605
|
+
coverflowEffect: _extends$1({}, Coverflow)
|
|
9606
9606
|
});
|
|
9607
9607
|
},
|
|
9608
9608
|
on: {
|
|
@@ -9624,7 +9624,7 @@ const EffectCoverflow = {
|
|
|
9624
9624
|
}
|
|
9625
9625
|
};
|
|
9626
9626
|
|
|
9627
|
-
function _extends
|
|
9627
|
+
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); }
|
|
9628
9628
|
var Thumbs = {
|
|
9629
9629
|
init: function init() {
|
|
9630
9630
|
var swiper = this;
|
|
@@ -9635,16 +9635,16 @@ var Thumbs = {
|
|
|
9635
9635
|
|
|
9636
9636
|
if (thumbsParams.swiper instanceof SwiperClass) {
|
|
9637
9637
|
swiper.thumbs.swiper = thumbsParams.swiper;
|
|
9638
|
-
extend
|
|
9638
|
+
extend(swiper.thumbs.swiper.originalParams, {
|
|
9639
9639
|
watchSlidesProgress: true,
|
|
9640
9640
|
slideToClickedSlide: false
|
|
9641
9641
|
});
|
|
9642
|
-
extend
|
|
9642
|
+
extend(swiper.thumbs.swiper.params, {
|
|
9643
9643
|
watchSlidesProgress: true,
|
|
9644
9644
|
slideToClickedSlide: false
|
|
9645
9645
|
});
|
|
9646
|
-
} else if (isObject
|
|
9647
|
-
swiper.thumbs.swiper = new SwiperClass(extend
|
|
9646
|
+
} else if (isObject(thumbsParams.swiper)) {
|
|
9647
|
+
swiper.thumbs.swiper = new SwiperClass(extend({}, thumbsParams.swiper, {
|
|
9648
9648
|
watchSlidesVisibility: true,
|
|
9649
9649
|
watchSlidesProgress: true,
|
|
9650
9650
|
slideToClickedSlide: false
|
|
@@ -9789,7 +9789,7 @@ const Thumbs$1 = {
|
|
|
9789
9789
|
create: function create() {
|
|
9790
9790
|
var swiper = this;
|
|
9791
9791
|
bindModuleMethods(swiper, {
|
|
9792
|
-
thumbs: _extends
|
|
9792
|
+
thumbs: _extends({
|
|
9793
9793
|
swiper: null,
|
|
9794
9794
|
initialized: false
|
|
9795
9795
|
}, Thumbs)
|
|
@@ -9848,12 +9848,12 @@ const Thumbs$1 = {
|
|
|
9848
9848
|
|
|
9849
9849
|
// Swiper Class
|
|
9850
9850
|
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];
|
|
9851
|
-
Swiper.use(components);
|
|
9851
|
+
Swiper$1.use(components);
|
|
9852
9852
|
|
|
9853
9853
|
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}";
|
|
9854
9854
|
|
|
9855
9855
|
let INSTANCE_ID = 0;
|
|
9856
|
-
|
|
9856
|
+
let Swiper = class {
|
|
9857
9857
|
constructor(hostRef) {
|
|
9858
9858
|
registerInstance(this, hostRef);
|
|
9859
9859
|
this.onChange = createEvent(this, "change", 7);
|
|
@@ -10057,7 +10057,13 @@ const Swiper$1 = class {
|
|
|
10057
10057
|
that.current = this.realIndex;
|
|
10058
10058
|
},
|
|
10059
10059
|
// slideChange 事件在 swiper.slideTo 改写 current 时不触发,因此用 slideChangeTransitionEnd 事件代替
|
|
10060
|
-
slideChangeTransitionEnd() {
|
|
10060
|
+
slideChangeTransitionEnd(_swiper) {
|
|
10061
|
+
if (circular) {
|
|
10062
|
+
if (_swiper.isBeginning || _swiper.isEnd) {
|
|
10063
|
+
_swiper.slideToLoop(this.realIndex, 0); // 更新下标
|
|
10064
|
+
return;
|
|
10065
|
+
}
|
|
10066
|
+
}
|
|
10061
10067
|
that.onChange.emit({
|
|
10062
10068
|
current: this.realIndex,
|
|
10063
10069
|
source: ''
|
|
@@ -10087,7 +10093,7 @@ const Swiper$1 = class {
|
|
|
10087
10093
|
disableOnInteraction: false
|
|
10088
10094
|
};
|
|
10089
10095
|
}
|
|
10090
|
-
this.swiper = new Swiper(`.taro-swiper-${this._id} > .swiper-container`, options);
|
|
10096
|
+
this.swiper = new Swiper$1(`.taro-swiper-${this._id} > .swiper-container`, options);
|
|
10091
10097
|
this.swiperWrapper = this.el.querySelector(`.taro-swiper-${this._id} > .swiper-container > .swiper-wrapper`);
|
|
10092
10098
|
}
|
|
10093
10099
|
render() {
|
|
@@ -10137,9 +10143,9 @@ function debounce(fn, delay) {
|
|
|
10137
10143
|
}, delay);
|
|
10138
10144
|
};
|
|
10139
10145
|
}
|
|
10140
|
-
Swiper
|
|
10146
|
+
Swiper.style = indexCss;
|
|
10141
10147
|
|
|
10142
|
-
|
|
10148
|
+
let SwiperItem = class {
|
|
10143
10149
|
constructor(hostRef) {
|
|
10144
10150
|
registerInstance(this, hostRef);
|
|
10145
10151
|
}
|
|
@@ -10148,4 +10154,4 @@ const SwiperItem = class {
|
|
|
10148
10154
|
}
|
|
10149
10155
|
};
|
|
10150
10156
|
|
|
10151
|
-
export { Swiper
|
|
10157
|
+
export { Swiper as taro_swiper_core, SwiperItem as taro_swiper_item_core };
|