@flyfish-group/file-viewer 1.0.0 → 1.0.2
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 +2 -2
- package/dist/components/ImageViewer.js +841 -584
- package/dist/components/MarkdownViewer.js +432 -413
- package/dist/components/PdfView.js +6641 -6474
- package/dist/components/PptxRender.js +1800 -1787
- package/dist/components/XlsxTable.js +25698 -20699
- package/dist/components/_commonjsHelpers.js +1 -1
- package/dist/components/docx-preview.js +5622 -0
- package/dist/components/index.js +736 -646
- package/dist/components/worker-ref.js +1 -1
- package/dist/index.umd.js +144 -209
- package/dist/style.css +10 -10
- package/dist/worker/pdf.worker.js +31 -31
- package/dist/worker/pptx.worker.js +7 -7
- package/dist/worker/sheet.worker.js +24 -24
- package/dist/worker/xlsx.worker.js +17 -17
- package/package.json +10 -10
- package/dist/components/docx-preview.min.js +0 -5354
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ npm run lint
|
|
|
46
46
|
如果您使用了flyfish的私库,请使用以下命令安装依赖即可。
|
|
47
47
|
|
|
48
48
|
```
|
|
49
|
-
npm install --save file-viewer
|
|
49
|
+
npm install --save @flyfish-group/file-viewer
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
常规情况下,请使用`npm link`的方式进行集成。
|
|
@@ -73,7 +73,7 @@ export default {
|
|
|
73
73
|
name: "SimpleExample",
|
|
74
74
|
data() {
|
|
75
75
|
return {
|
|
76
|
-
url: '
|
|
76
|
+
url: 'https://flyfish.dev/%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%8F%B0%E7%AC%94%E8%AE%B0(1).docx',
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
}
|