@wikicasa-dev/components 2.4.2-alpha.12 → 2.4.2-alpha.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/Swiper/Autoplay/factory.js +1 -1
- package/dist/Swiper/Autoplay/index.js +1 -1
- package/dist/Swiper/Controller/factory.js +4 -4
- package/dist/Swiper/Controller/index.js +1 -1
- package/dist/Swiper/FreeMode/factory.js +4 -4
- package/dist/Swiper/Keyboard/factory.js +5 -5
- package/dist/Swiper/Keyboard/index.js +1 -1
- package/dist/Swiper/Navigation/factory.js +5 -5
- package/dist/Swiper/Pagination/factory.js +4 -4
- package/dist/Swiper/Thumbs/factory.js +4 -4
- package/dist/Swiper/Thumbs/index.js +1 -1
- package/dist/Swiper/Zoom/factory.js +3 -3
- package/dist/Swiper/factory.js +12 -8
- package/package.json +1 -1
- /package/dist/assets/{swiper-autoplay.css → swiper-keyboard.css} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
3
|
-
...
|
|
1
|
+
const l = (o) => ({
|
|
2
|
+
loader: () => import("./index.js").then((e) => e.default),
|
|
3
|
+
...o ? { options: { controller: o } } : {}
|
|
4
4
|
});
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
l as ControllerModule
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
1
|
+
const d = (e) => ({
|
|
2
|
+
loader: () => import("./index.js").then((o) => o.default),
|
|
3
3
|
...e === void 0 ? {} : {
|
|
4
|
-
freeMode: e
|
|
4
|
+
options: { freeMode: e }
|
|
5
5
|
}
|
|
6
6
|
});
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
d as FreemodeModule
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
3
|
-
...
|
|
4
|
-
keyboard:
|
|
1
|
+
const d = (o) => ({
|
|
2
|
+
loader: () => import("./index.js").then((e) => e.default),
|
|
3
|
+
...o === void 0 ? {} : {
|
|
4
|
+
options: { keyboard: o }
|
|
5
5
|
}
|
|
6
6
|
});
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
d as KeyboardModule
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
3
|
-
...
|
|
4
|
-
navigation:
|
|
1
|
+
const a = (o) => ({
|
|
2
|
+
loader: () => import("./index.js").then((t) => t.default),
|
|
3
|
+
...o === void 0 ? {} : {
|
|
4
|
+
options: { navigation: o }
|
|
5
5
|
}
|
|
6
6
|
});
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
a as NavigationModule
|
|
9
9
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
3
|
-
...
|
|
1
|
+
const a = (o) => ({
|
|
2
|
+
loader: () => import("./index.js").then((t) => t.default),
|
|
3
|
+
...o === void 0 ? {} : { options: { pagination: o } }
|
|
4
4
|
});
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as PaginationModule
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
3
|
-
...
|
|
1
|
+
const o = (t) => ({
|
|
2
|
+
loader: () => import("./index.js").then((e) => e.default),
|
|
3
|
+
...t ? { options: { thumbs: t } } : {}
|
|
4
4
|
});
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
o as ThumbsModule
|
|
7
7
|
};
|
package/dist/Swiper/factory.js
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const c = async (o, r, t) => {
|
|
2
|
+
const n = t.map((e) => e.loader()), [{ Swiper: l }, ...p] = await Promise.all([
|
|
3
3
|
import("./index.js"),
|
|
4
|
-
...
|
|
5
|
-
]),
|
|
6
|
-
(e,
|
|
4
|
+
...n
|
|
5
|
+
]), s = t.reduce(
|
|
6
|
+
(e, i) => (console.log("DEBUG:", {
|
|
7
|
+
left: e,
|
|
8
|
+
right: i.options
|
|
9
|
+
}), Object.assign(e, i.options)),
|
|
7
10
|
{ ...r, modules: p }
|
|
8
11
|
);
|
|
9
12
|
return console.log("DEBUG:createSwiper", {
|
|
10
13
|
container: o,
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
mergedOptions: s,
|
|
15
|
+
baseOptions: r
|
|
16
|
+
}), new l(o, s);
|
|
13
17
|
};
|
|
14
18
|
export {
|
|
15
|
-
|
|
19
|
+
c as createSwiper
|
|
16
20
|
};
|
package/package.json
CHANGED
|
File without changes
|