file-viewer3 1.0.6 → 1.0.8
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/.vscode/extensions.json +3 -0
- package/README.md +2 -0
- package/dist/components/ImageViewer.js +2 -2
- package/dist/components/PdfView.js +1 -1
- package/dist/components/XlsxTable.js +8244 -8227
- package/dist/components/index.js +136 -130
- package/dist/index.umd.js +7 -7
- package/dist/src/package/common/type.d.ts +4 -0
- package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +1 -1
- package/dist/src/package/components/FileViewer/index.d.ts +1 -1
- package/dist/src/package/use/index.d.ts +1 -0
- package/dist/src/package/use/worker.d.ts +24 -0
- package/dist/src/package/vendors/xlsx/XlsxTable.vue.d.ts +8 -0
- package/dist/src/package/vendors/xlsx/index.d.ts +1 -1
- package/dist/src/package/vendors/xlsx/worker/index.d.ts +6 -4
- package/dist/src/package/vendors/xlsx/worker/xls/SheetJsModel.d.ts +36 -0
- package/dist/src/package/vendors/xlsx/worker/xls/index.d.ts +4 -0
- package/dist/src/package/vendors/xlsx/worker/{SheetData.d.ts → xlsx/ExcelJsModel.d.ts} +3 -15
- package/dist/src/package/vendors/xlsx/worker/{context.d.ts → xlsx/context.d.ts} +2 -1
- package/dist/src/package/vendors/xlsx/worker/xlsx/index.d.ts +4 -0
- package/dist/style.css +3 -3
- package/dist/worker/sheet.worker.js +38 -0
- package/dist/worker/xlsx.worker.js +1 -1
- package/package.json +4 -3
- /package/dist/src/package/vendors/xlsx/worker/{color.d.ts → xlsx/color.d.ts} +0 -0
- /package/dist/src/package/vendors/xlsx/worker/{util.d.ts → xlsx/util.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -1878,7 +1878,7 @@ const ts = ["src"], es = /* @__PURE__ */ Ee({
|
|
|
1878
1878
|
const t = e, i = We(() => t.image ? [{ src: t.image, index: 0 }] : []);
|
|
1879
1879
|
return (r, n) => (ft(), Xe(Tt(Qa), {
|
|
1880
1880
|
images: Tt(i),
|
|
1881
|
-
style: { height: "
|
|
1881
|
+
style: { height: "100%" }
|
|
1882
1882
|
}, {
|
|
1883
1883
|
default: qe(() => [
|
|
1884
1884
|
(ft(!0), St(He, null, Ue(Tt(i), (a) => (ft(), St("img", {
|
|
@@ -1892,7 +1892,7 @@ const ts = ["src"], es = /* @__PURE__ */ Ee({
|
|
|
1892
1892
|
}, 8, ["images"]));
|
|
1893
1893
|
}
|
|
1894
1894
|
});
|
|
1895
|
-
const ns = /* @__PURE__ */ Be(es, [["__scopeId", "data-v-
|
|
1895
|
+
const ns = /* @__PURE__ */ Be(es, [["__scopeId", "data-v-b0f61c51"]]);
|
|
1896
1896
|
export {
|
|
1897
1897
|
ns as default
|
|
1898
1898
|
};
|
|
@@ -21569,7 +21569,7 @@ var pdfExports = requirePdf(), pdf_viewerExports = {}, pdf_viewer = {
|
|
|
21569
21569
|
})(pdf_viewer);
|
|
21570
21570
|
const pdf = "", PDFWorker = {
|
|
21571
21571
|
create() {
|
|
21572
|
-
return refWorker("
|
|
21572
|
+
return refWorker("pdf.worker.js").defaults(() => new Worker(new URL("" + new URL("../worker/pdf.worker.js", import.meta.url).href, self.location), { type: "module" }));
|
|
21573
21573
|
}
|
|
21574
21574
|
}, _withScopeId = (W) => (pushScopeId("data-v-9bad3887"), W = W(), popScopeId(), W), _hoisted_1 = { class: "container" }, _hoisted_2 = { class: "pdf_down" }, _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
21575
21575
|
id: "viewer",
|