@file-viewer/jquery-full 2.1.22 → 2.1.24
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.en.md +2 -1
- package/README.md +2 -1
- package/package.json +3 -3
package/README.en.md
CHANGED
|
@@ -295,7 +295,8 @@ View-state sync is designed for projection systems, remote-control displays, sid
|
|
|
295
295
|
| --- | --- |
|
|
296
296
|
| `load` / `update` / `reload` / `destroy` | Imperatively load, update, reload, and destroy the viewer. |
|
|
297
297
|
| `downloadOriginalFile()` | Downloads the original file while respecting toolbar and `beforeOperation` checks. |
|
|
298
|
-
| `printRenderedHtml()` | Prints the complete rendered document using the best available per-format print adapter. |
|
|
298
|
+
| `printRenderedHtml(options?)` | Prints the complete rendered document using the best available per-format print adapter. Enabled watermarks are included; pass `mask` for cover regions. |
|
|
299
|
+
| `printWithMask(options?)` | Opens the black-cover mask designer, then prints. The designer is async-loaded inside core and works out of the box with component packages. |
|
|
299
300
|
| `exportRenderedHtml()` | Exports rendered HTML for archiving, audit, or offline review. |
|
|
300
301
|
| `zoomIn()` / `zoomOut()` / `resetZoom()` | Uses the active renderer zoom provider instead of outer CSS transforms that can break coordinates. |
|
|
301
302
|
| `searchDocument()` / `nextSearchResult()` / `previousSearchResult()` | Runs document-level search and navigates highlighted matches. |
|
package/README.md
CHANGED
|
@@ -295,7 +295,8 @@ const options = {
|
|
|
295
295
|
| --- | --- |
|
|
296
296
|
| `load` / `update` / `reload` / `destroy` | 命令式控制文档加载、参数更新、重新加载和销毁。 |
|
|
297
297
|
| `downloadOriginalFile()` | 下载原始文件,遵循 toolbar 与 `beforeOperation` 权限校验。 |
|
|
298
|
-
| `printRenderedHtml()` |
|
|
298
|
+
| `printRenderedHtml(options?)` | 打印当前完整渲染内容,优先使用各格式的高保真打印适配器;开启水印时会一并输出,也可传入 `mask` 遮盖区域。 |
|
|
299
|
+
| `printWithMask(options?)` | 打开掩膜设计器拖拽黑色遮盖块,确认后打印;设计器由 core 异步加载,组件开箱即用。 |
|
|
299
300
|
| `exportRenderedHtml()` | 导出当前渲染后的 HTML,用于归档、审计和离线查看。 |
|
|
300
301
|
| `zoomIn()` / `zoomOut()` / `resetZoom()` | 调用当前格式自己的缩放 provider,避免外层 CSS 缩放导致坐标偏移。 |
|
|
301
302
|
| `searchDocument()` / `nextSearchResult()` / `previousSearchResult()` | 打开文档级搜索并在命中之间导航,保持高亮状态。 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@file-viewer/jquery-full",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.24",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Full jQuery package for Flyfish File Viewer with the complete preset enabled by default.",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"jquery": ">=3 <5"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@file-viewer/jquery": "
|
|
60
|
-
"@file-viewer/preset-all": "
|
|
59
|
+
"@file-viewer/jquery": "2.1.24",
|
|
60
|
+
"@file-viewer/preset-all": "2.1.24"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/jquery": "^4.0.1",
|