@wikicasa-dev/components 2.5.3-alpha.10 → 2.5.3-alpha.11
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/index.js +1 -1
- package/dist/Swiper/Controller/index.js +1 -1
- package/dist/Swiper/Keyboard/index.js +1 -1
- package/dist/Swiper/Thumbs/index.js +1 -1
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.d.ts +1 -1
- package/dist/packages/components/lib/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +16 -18
- package/package.json +1 -1
- /package/dist/assets/{swiper-thumbs.css → swiper-controller.css} +0 -0
|
@@ -12,5 +12,5 @@ export interface SwiperSlideImagePrimitiveProps {
|
|
|
12
12
|
fetchpriority?: "auto" | "high" | "low";
|
|
13
13
|
lazy?: boolean;
|
|
14
14
|
}
|
|
15
|
-
declare const _default: import('vue').DefineComponent<SwiperSlideImagePrimitiveProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SwiperSlideImagePrimitiveProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
15
|
+
declare const _default: import('vue').DefineComponent<SwiperSlideImagePrimitiveProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SwiperSlideImagePrimitiveProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
16
|
export default _default;
|
package/dist/packages/components/lib/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent as i, createPropsRestProxy as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as i, createPropsRestProxy as o, shallowRef as r, inject as l, createBlock as d, openBlock as n, withCtx as m, createElementVNode as u, mergeProps as g } from "vue";
|
|
2
|
+
import f from "../../../../../../components/carousel/SwiperSlide.js";
|
|
3
|
+
import { setLazyImagesLoaderKey as y } from "./SwiperRootPrimitive.vue.js";
|
|
3
4
|
import '../../../../../../assets/SwiperRootPrimitive.css';/* empty css */
|
|
4
5
|
const h = ["src", "srcset", "data-src", "data-srcset"], x = /* @__PURE__ */ i({
|
|
5
6
|
__name: "SwiperSlideImagePrimitive",
|
|
@@ -17,22 +18,19 @@ const h = ["src", "srcset", "data-src", "data-srcset"], x = /* @__PURE__ */ i({
|
|
|
17
18
|
lazy: { type: Boolean }
|
|
18
19
|
},
|
|
19
20
|
setup(e) {
|
|
20
|
-
const s =
|
|
21
|
-
return s.lazy && (t.value = e.src, a.value = e.srcset, c?.(!0)), (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
_: 1
|
|
34
|
-
});
|
|
35
|
-
};
|
|
21
|
+
const s = o(e, ["src", "srcset", "imgClasses"]), t = r(), a = r(), c = l(y, void 0);
|
|
22
|
+
return s.lazy && (t.value = e.src, a.value = e.srcset, c?.(!0)), (v, z) => (n(), d(f, null, {
|
|
23
|
+
default: m(() => [
|
|
24
|
+
u("img", g(s, {
|
|
25
|
+
class: e.imgClasses,
|
|
26
|
+
src: e.lazy ? void 0 : e.src,
|
|
27
|
+
srcset: e.lazy ? void 0 : e.srcset,
|
|
28
|
+
"data-src": t.value,
|
|
29
|
+
"data-srcset": a.value
|
|
30
|
+
}), null, 16, h)
|
|
31
|
+
]),
|
|
32
|
+
_: 1
|
|
33
|
+
}));
|
|
36
34
|
}
|
|
37
35
|
});
|
|
38
36
|
export {
|
package/package.json
CHANGED
|
File without changes
|