@elmethis/vue 0.2.3 → 0.2.4
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.
|
@@ -69,8 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
69
69
|
createElementVNode("div", {
|
|
70
70
|
class: normalizeClass(_ctx.$style["image-frame"]),
|
|
71
71
|
style: normalizeStyle({
|
|
72
|
-
"--margin-block": __props.margin
|
|
73
|
-
aspectRatio: __props.block ? "1200 / 630" : void 0
|
|
72
|
+
"--margin-block": __props.margin
|
|
74
73
|
})
|
|
75
74
|
}, [
|
|
76
75
|
createVNode(Transition, {
|
|
@@ -3,28 +3,28 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._wrapper_yva5m_1{width:100%;display:flex;flex-direction:column;align-items:center;opacity:var(--opacity);transition:opacity .4s}._error_yva5m_10{display:flex;justify-content:center;align-items:center;gap:1rem;width:100%;height:100%;min-height:10rem;line-height:1.5rem;color:#c56565}._image-frame_yva5m_22{position:relative;width:100%;aspect-ratio:1200/630}._fallback_yva5m_28{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;display:flex;justify-content:center;align-items:center;aspect-ratio:1200/630}._image_yva5m_22{display:block;margin-block:var(--margin-block);max-width:100%;max-height:100vh;transition:opacity .22s ease;z-index:0}._image-block_yva5m_50{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;border-radius:.25rem;box-shadow:0 0 .125rem #0000004d;z-index:0;transition:opacity .22s ease}._alt-container_yva5m_63{max-width:80%;margin:1rem;display:flex;justify-content:center;align-items:center;gap:1rem;color:#6987b8;opacity:.8}._modal_yva5m_74{position:fixed;z-index:10;top:0;left:0;width:100%;height:100vh;display:flex;justify-content:center;align-items:center;background-color:#23262acc;cursor:zoom-out}._modal-image_yva5m_88{display:block;max-width:100%;cursor:zoom-out}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const wrapper = "
|
|
14
|
-
const error = "
|
|
15
|
-
const fallback = "
|
|
16
|
-
const image = "
|
|
17
|
-
const modal = "
|
|
13
|
+
const wrapper = "_wrapper_yva5m_1";
|
|
14
|
+
const error = "_error_yva5m_10";
|
|
15
|
+
const fallback = "_fallback_yva5m_28";
|
|
16
|
+
const image = "_image_yva5m_22";
|
|
17
|
+
const modal = "_modal_yva5m_74";
|
|
18
18
|
const style0 = {
|
|
19
19
|
wrapper,
|
|
20
20
|
error,
|
|
21
|
-
"image-frame": "_image-
|
|
21
|
+
"image-frame": "_image-frame_yva5m_22",
|
|
22
22
|
fallback,
|
|
23
23
|
image,
|
|
24
|
-
"image-block": "_image-
|
|
25
|
-
"alt-container": "_alt-
|
|
24
|
+
"image-block": "_image-block_yva5m_50",
|
|
25
|
+
"alt-container": "_alt-container_yva5m_63",
|
|
26
26
|
modal,
|
|
27
|
-
"modal-image": "_modal-
|
|
27
|
+
"modal-image": "_modal-image_yva5m_88"
|
|
28
28
|
};
|
|
29
29
|
export {
|
|
30
30
|
style0 as default,
|