ofd-view 0.1.52 → 0.1.54
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +16 -3
- package/lib/ofd-view.common.js.map +1 -1
- package/package.json +2 -2
- package/lib/images/annotation-check.svg +0 -11
- package/lib/images/annotation-comment.svg +0 -16
- package/lib/images/annotation-help.svg +0 -26
- package/lib/images/annotation-insert.svg +0 -10
- package/lib/images/annotation-key.svg +0 -11
- package/lib/images/annotation-newparagraph.svg +0 -11
- package/lib/images/annotation-noicon.svg +0 -7
- package/lib/images/annotation-note.svg +0 -42
- package/lib/images/annotation-paragraph.svg +0 -16
- package/lib/images/eSignature.svg +0 -1
- package/lib/images/findbarButton-next.svg +0 -4
- package/lib/images/findbarButton-previous.svg +0 -4
- package/lib/images/loading-dark.svg +0 -24
- package/lib/images/loading-icon.gif +0 -0
- package/lib/images/loading.svg +0 -1
- package/lib/images/secondaryToolbarButton-documentProperties.svg +0 -15
- package/lib/images/secondaryToolbarButton-firstPage.svg +0 -1
- package/lib/images/secondaryToolbarButton-handTool.svg +0 -1
- package/lib/images/secondaryToolbarButton-lastPage.svg +0 -1
- package/lib/images/secondaryToolbarButton-rotateCcw.svg +0 -1
- package/lib/images/secondaryToolbarButton-rotateCw.svg +0 -4
- package/lib/images/secondaryToolbarButton-scrollHorizontal.svg +0 -1
- package/lib/images/secondaryToolbarButton-scrollPage.svg +0 -1
- package/lib/images/secondaryToolbarButton-scrollVertical.svg +0 -1
- package/lib/images/secondaryToolbarButton-scrollWrapped.svg +0 -1
- package/lib/images/secondaryToolbarButton-selectTool.svg +0 -4
- package/lib/images/secondaryToolbarButton-spreadEven.svg +0 -1
- package/lib/images/secondaryToolbarButton-spreadNone.svg +0 -1
- package/lib/images/secondaryToolbarButton-spreadOdd.svg +0 -1
- package/lib/images/shadow.png +0 -0
- package/lib/images/toolbarButton-bookmark.svg +0 -1
- package/lib/images/toolbarButton-currentOutlineItem.svg +0 -1
- package/lib/images/toolbarButton-download.svg +0 -4
- package/lib/images/toolbarButton-menuArrow.svg +0 -1
- package/lib/images/toolbarButton-openFile.svg +0 -4
- package/lib/images/toolbarButton-pageDown.svg +0 -7
- package/lib/images/toolbarButton-pageUp.svg +0 -12
- package/lib/images/toolbarButton-presentationMode.svg +0 -1
- package/lib/images/toolbarButton-print.svg +0 -4
- package/lib/images/toolbarButton-search.svg +0 -4
- package/lib/images/toolbarButton-secondaryToolbarToggle.svg +0 -4
- package/lib/images/toolbarButton-sidebarToggle.svg +0 -4
- package/lib/images/toolbarButton-viewAttachments.svg +0 -1
- package/lib/images/toolbarButton-viewLayers.svg +0 -1
- package/lib/images/toolbarButton-viewOutline.svg +0 -1
- package/lib/images/toolbarButton-viewSignatures.svg +0 -1
- package/lib/images/toolbarButton-viewThumbnail.svg +0 -4
- package/lib/images/toolbarButton-zoomIn.svg +0 -4
- package/lib/images/toolbarButton-zoomOut.svg +0 -4
- package/lib/images/treeitem-collapsed.svg +0 -1
- package/lib/images/treeitem-expanded.svg +0 -1
- package/lib/viewer.css +0 -3284
package/README.md
CHANGED
@@ -73,7 +73,7 @@
|
|
73
73
|
|
74
74
|
```
|
75
75
|
|
76
|
-
npm i
|
76
|
+
npm i ofd-view -S
|
77
77
|
|
78
78
|
```
|
79
79
|
|
@@ -83,11 +83,12 @@ npm i vue-pdfjs-view -S
|
|
83
83
|
|
84
84
|
```
|
85
85
|
|
86
|
-
import
|
86
|
+
import OfdView from "ofd-view";
|
87
|
+
import 'ofd-view/lib/viewer.css'
|
87
88
|
|
88
89
|
|
89
90
|
|
90
|
-
Vue.use(
|
91
|
+
Vue.use(OfdView);
|
91
92
|
|
92
93
|
```
|
93
94
|
|
@@ -101,3 +102,15 @@ dir="ltr"
|
|
101
102
|
|
102
103
|
```
|
103
104
|
|
105
|
+
|
106
|
+
配置参数
|
107
|
+
|
108
|
+
| 参数 | 说明 | 类型 | 示例 | 默认值 |
|
109
|
+
| --- |---------------------------| --- | --- | --- |
|
110
|
+
| file | ofd文件 | url | | [] |
|
111
|
+
| mem | parser_x.js变量 | object | | - |
|
112
|
+
| secret | | string | | |
|
113
|
+
| digest | | string | | |
|
114
|
+
| canDownload | 是否可下载 | boolean | | true |
|
115
|
+
| canPrint | 是否可打印(打印合脊那边客户看不懂新打开页的意思) | boolean | | true |
|
116
|
+
| canOpen | 是否可打开新文档 | boolean | | false |
|