vg-print 1.0.381 → 1.0.383
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 +3 -3
- package/dist/{chunk-3VYIPD3A-BUpoM7to.js → chunk-3VYIPD3A-BrO6pd5G.js} +1 -1
- package/dist/{chunk-ANSXOGKI-DK9pBoSG.js → chunk-ANSXOGKI-CFf1aAtS.js} +1 -1
- package/dist/{chunk-T4JIPPZO-B6pbWGpN.js → chunk-T4JIPPZO-CAG1GRkT.js} +1 -1
- package/dist/{download-DIWXugYR.js → download-DTjOpO9V.js} +2 -2
- package/dist/{index-BvD5EGDa.js → index-BjdyHfMZ.js} +189 -243
- package/dist/rasterize-JS5G2XHH-BA2heZxW.js +4 -0
- package/dist/style.css +1 -1
- package/dist/toBlob-DOPuxD4R.js +4 -0
- package/dist/toCanvas-Cmav2KNK.js +4 -0
- package/dist/{toImg-B5xFCGQ_.js → toImg-DpQMoRBQ.js} +2 -2
- package/dist/vg-print.es.js +1 -1
- package/dist/vg-print.umd.js +20 -20
- package/package.json +1 -2
- package/dist/rasterize-JS5G2XHH-DTkZQZCC.js +0 -4
- package/dist/toBlob-uP5vnXpY.js +0 -4
- package/dist/toCanvas-D18OuWSa.js +0 -4
package/README.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
一个开箱即用的打印设计器组件库(Vue 3)。现在聚焦于单一组件 `FullDesigner`,同时暴露底层 `hiprint` 能力与客户端直连(`hiwebSocket`)配置,便于快速集成模板设计、预览、浏览器打印、导出 PDF/图片、直接打印等功能。
|
|
4
4
|

|
|
5
|
-
|
|
5
|
+
您可以直接安装引入体验功能.功能在不断完善中,请及时更新使用,欢迎反馈与建议.
|
|
6
6
|
没有域名限制,无网可用. 提供一对一技术支持.
|
|
7
7
|
npm搜索vg-print.
|
|
8
|
-
联系我加 QQ: 984239686
|
|
8
|
+
联系我加 QQ: 984239686 或使用首页有微信加入群聊解决问题.
|
|
9
9
|
|
|
10
10
|
# 静默打印客户端工具安装包
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ npm搜索vg-print.
|
|
|
13
13
|
|
|
14
14
|
更多信息与下载:
|
|
15
15
|
```
|
|
16
|
-
|
|
16
|
+
https://gitee.com/gao111/electron-vg-print
|
|
17
17
|
```
|
|
18
18
|
客户端工具下载:
|
|
19
19
|
```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as a } from "./chunk-3VYIPD3A-
|
|
1
|
+
import { W as a } from "./chunk-3VYIPD3A-BrO6pd5G.js";
|
|
2
2
|
async function o(r, t) {
|
|
3
3
|
let i = await a(r, t), e = new Image();
|
|
4
4
|
return e.src = i.toDataURL(`image/${t.format}`, t.quality), await e.decode(), e.style.width = `${i.width / t.dpr}px`, e.style.height = `${i.height / t.dpr}px`, e;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as f } from "./chunk-T4JIPPZO-
|
|
2
|
-
import { W as t } from "./chunk-3VYIPD3A-
|
|
1
|
+
import { m as f } from "./chunk-T4JIPPZO-CAG1GRkT.js";
|
|
2
|
+
import { W as t } from "./chunk-3VYIPD3A-BrO6pd5G.js";
|
|
3
3
|
async function w(n, e) {
|
|
4
4
|
let c = ((e == null ? void 0 : e.format) || (e == null ? void 0 : e.type) || "").toLowerCase(), a = c === "jpg" ? "jpeg" : c || "png", i = (e == null ? void 0 : e.filename) || `snapdom.${a}`, o = { ...e || {}, format: a, type: a };
|
|
5
5
|
if (o.dpr = 1, a === "svg") {
|