hongshu-view 0.4.8 → 0.4.9
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/hongshu-view.mjs
CHANGED
|
@@ -17142,7 +17142,8 @@ const ZIe = (o, a = 1e3, c) => {
|
|
|
17142
17142
|
};
|
|
17143
17143
|
};
|
|
17144
17144
|
function qIe(o, a) {
|
|
17145
|
-
a || (a = window.location.href)
|
|
17145
|
+
if (a || (a = window.location.href), a.indexOf("?") < 0)
|
|
17146
|
+
return "";
|
|
17146
17147
|
var c = new RegExp("(^|&)" + o + "=([^&]*)(&|$)", "i"), h = a.split("?")[1].match(c);
|
|
17147
17148
|
return h != null ? decodeURIComponent(h[2]) : null;
|
|
17148
17149
|
}
|
|
@@ -22854,13 +22855,15 @@ const c4 = rv("components.FileList"), hPe = c4("previewText"), vPe = c4("downloa
|
|
|
22854
22855
|
});
|
|
22855
22856
|
return;
|
|
22856
22857
|
}
|
|
22858
|
+
let Ne = !!_.value;
|
|
22857
22859
|
XA(c.previewPath, {
|
|
22858
22860
|
requestPath: J.requestPath
|
|
22859
22861
|
}, {
|
|
22860
22862
|
fullscreen: !0,
|
|
22861
|
-
fd: !0
|
|
22862
|
-
|
|
22863
|
-
|
|
22863
|
+
fd: !0,
|
|
22864
|
+
appendToken: Ne
|
|
22865
|
+
}).then(({ data: pe }) => {
|
|
22866
|
+
window.open(pe, "_blank");
|
|
22864
22867
|
});
|
|
22865
22868
|
}, G = () => {
|
|
22866
22869
|
}, U = (J) => {
|