@eternalheart/vue-file-preview 1.6.6 → 1.6.7
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/README.md +9 -3
- package/README.zh-CN.md +9 -3
- package/lib/FilePreviewContent.vue.d.ts +6 -0
- package/lib/FilePreviewEmbed.vue.d.ts +6 -0
- package/lib/FilePreviewModal.vue.d.ts +6 -0
- package/lib/chunks/{index-lDd0gQfG.mjs → index--sqXkUEP.mjs} +1 -1
- package/lib/chunks/{index-DcNc3goP.mjs → index-06Ivpw6V.mjs} +1 -1
- package/lib/chunks/{index-DxBxbEDT.mjs → index-B3jcS1UB.mjs} +1 -1
- package/lib/chunks/{index-Dh91eAMV.mjs → index-B6UNmyiS.mjs} +1 -1
- package/lib/chunks/{index-BV8V9hEs.mjs → index-BWNmKHd0.mjs} +2 -2
- package/lib/chunks/{index-C-hfrxhW.mjs → index-BflKoE04.mjs} +1 -1
- package/lib/chunks/{index-07rgqwSI.mjs → index-BgTW_P3u.mjs} +1 -1
- package/lib/chunks/{index-DWWV1OKd.mjs → index-BmsJxBJa.mjs} +2 -2
- package/lib/chunks/{index-CdsYIxSD.mjs → index-CBN0qoP1.mjs} +1 -1
- package/lib/chunks/{index-BF0-zECZ.mjs → index-CK43N0Ho.mjs} +1 -1
- package/lib/chunks/{index-BnDCjh8a.mjs → index-CR3QkKJt.mjs} +1 -1
- package/lib/chunks/{index-CybXawTx.mjs → index-CSY197_j.mjs} +1 -1
- package/lib/chunks/{index-u7QUztr_.mjs → index-CXAEvuVP.mjs} +1 -1
- package/lib/chunks/{index-tOax5IQg.mjs → index-Cr7raBmi.mjs} +1 -1
- package/lib/chunks/{index-DXqRgna1.mjs → index-Cv0lIWeI.mjs} +1 -1
- package/lib/chunks/{index-CksNYAz_.mjs → index-CyIp8Xfg.mjs} +1 -1
- package/lib/chunks/{index-hDUlDDey.mjs → index-D_XKzCZJ.mjs} +15 -15
- package/lib/chunks/{index-xY2bzsk7.mjs → index-DdbaVSB8.mjs} +765 -744
- package/lib/chunks/{index-BHy2oKCa.mjs → index-DlIRXpmw.mjs} +1 -1
- package/lib/chunks/{index-D656tL42.mjs → index-DoqCnKkl.mjs} +2 -2
- package/lib/chunks/{index-ChMheVNW.mjs → index-Xta2zHnj.mjs} +1 -1
- package/lib/chunks/{index-CUrAAk7J.mjs → index-sPfLaVRe.mjs} +1 -1
- package/lib/chunks/{useShikiHighlight-DwEsf_jW.mjs → useShikiHighlight-J62fUszo.mjs} +1 -1
- package/lib/index.cjs +36 -36
- package/lib/index.css +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ie, ref as c, watch as U, onMounted as se, onBeforeUnmount as ue, openBlock as p, createElementBlock as v, createBlock as fe, createCommentVNode as C, createElementVNode as h, normalizeStyle as T, toDisplayString as N, unref as J, createVNode as ce, Fragment as O, renderList as K } from "vue";
|
|
2
2
|
import pe from "@likecoin/epub-ts";
|
|
3
3
|
import { List as ve, ChevronLeft as he, ChevronRight as de, Minimize2 as be, Maximize2 as me, X as ge } from "lucide-vue-next";
|
|
4
|
-
import { u as xe, b as ye } from "./index-
|
|
4
|
+
import { u as xe, b as ye } from "./index-DdbaVSB8.mjs";
|
|
5
5
|
import { _ as we } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
|
|
6
6
|
import { T as ke } from "./base.types-DaftHyg7.mjs";
|
|
7
7
|
const _e = { class: "vfp-relative vfp-w-full vfp-h-full vfp-flex vfp-justify-center vfp-bg-surface-1 vfp-overflow-hidden" }, Te = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as L, ref as c, watch as M, computed as D, openBlock as n, createElementBlock as a, createElementVNode as r, createBlock as H, unref as h, toDisplayString as w, normalizeStyle as B, Fragment as y, renderList as F } from "vue";
|
|
2
|
-
import { u as G, b as N, e as P } from "./index-
|
|
3
|
-
import { u as X } from "./useShikiHighlight-
|
|
2
|
+
import { u as G, b as N, e as P } from "./index-DdbaVSB8.mjs";
|
|
3
|
+
import { u as X } from "./useShikiHighlight-J62fUszo.mjs";
|
|
4
4
|
import { _ as j } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
|
|
5
5
|
const E = {
|
|
6
6
|
key: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as $, ref as y, watch as G, computed as h, openBlock as a, createElementBlock as r, createElementVNode as e, createBlock as S, unref as u, normalizeClass as x, Fragment as g, renderList as k, toDisplayString as o, createCommentVNode as T } from "vue";
|
|
2
|
-
import { u as V, b as j, M as z, $ as d, e as A, _ as D } from "./index-
|
|
2
|
+
import { u as V, b as j, M as z, $ as d, e as A, _ as D } from "./index-DdbaVSB8.mjs";
|
|
3
3
|
import { _ as I } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
|
|
4
4
|
const O = {
|
|
5
5
|
key: 0,
|
|
@@ -14,7 +14,7 @@ var $t = (u, e, t, s) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import { defineComponent as jb, ref as Si, watch as aa, nextTick as wu, onMounted as Gb, onBeforeUnmount as _b, openBlock as zh, createElementBlock as Eu, normalizeStyle as Ep, createElementVNode as sn, toDisplayString as zb, unref as Im, createVNode as Vb, createCommentVNode as Su, createBlock as Wb } from "vue";
|
|
17
|
-
import { a as Xb, u as Yb, Y as Pm, A as Kb } from "./index-
|
|
17
|
+
import { a as Xb, u as Yb, Y as Pm, A as Kb } from "./index-DdbaVSB8.mjs";
|
|
18
18
|
import { _ as Jb } from "./RendererError.vue_vue_type_script_setup_true_lang-BNoENOWX.mjs";
|
|
19
19
|
import { X as Qb, Menu as Zb, ChevronLeft as qb, ChevronRight as tA, ZoomOut as eA, ZoomIn as sA, RefreshCw as iA } from "lucide-vue-next";
|
|
20
20
|
import { T as nA } from "./base.types-DaftHyg7.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as i, watch as m } from "vue";
|
|
2
2
|
import { codeToHtml as h } from "shiki";
|
|
3
|
-
import { c as f } from "./index-
|
|
3
|
+
import { c as f } from "./index-DdbaVSB8.mjs";
|
|
4
4
|
function T(t, n) {
|
|
5
5
|
const a = f(), e = i(""), r = i([]), l = i(!0);
|
|
6
6
|
return m([t, n, a], async () => {
|