@agile-team/mach-report 2.3.1 → 2.3.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 +4 -2
- package/dist/pdf.cjs +47 -47
- package/dist/pdf.js +2134 -2117
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
</p>
|
|
9
9
|
|
|
10
10
|
<p align="center">
|
|
11
|
-
<img src="https://img.shields.io/badge/source-2.3.
|
|
11
|
+
<img src="https://img.shields.io/badge/source-2.3.2-2563eb" alt="Source version 2.3.2" />
|
|
12
12
|
<a href="https://www.npmjs.com/package/@agile-team/mach-report"><img src="https://img.shields.io/npm/v/@agile-team/mach-report?label=npm&color=3178c6" alt="npm version" /></a>
|
|
13
13
|
<a href="https://github.com/ChenyCHENYU/MachReport/actions/workflows/ci.yml"><img src="https://github.com/ChenyCHENYU/MachReport/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
|
|
14
14
|
<a href="https://github.com/ChenyCHENYU/MachReport/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-authorization%20required-dc2626" alt="Authorization required" /></a>
|
|
@@ -307,6 +307,8 @@ app.use(machReportPlugin, { fetcher, config });
|
|
|
307
307
|
|
|
308
308
|
优先级为:内置值 → 应用 defaults → 命名 preset → 组件属性;路由级 `provideMachReportConfig` 会叠加应用配置。中文 PDF 需要部署覆盖所用字符的字体并配置 `pdfFontUrl`;Vue 出口遇到缺字或页面渲染错误会阻止下载。`.doc` 出口是 Word 兼容的 HTML 文档,并非 `.docx`。
|
|
309
309
|
|
|
310
|
+
自定义 PDF 字体完整嵌入提供的字体文件,保留中文字符的字形映射;使用完整字库时,PDF 体积会相应增加。
|
|
311
|
+
|
|
310
312
|
有效报表显示后,组件对已启用的 PDF 出口自动做轻量 HEAD 字体检查,不下载字库或加载 PDF 引擎。结果通过 `state.pdfFont` 提供,资源异常显示可重试提示;实际导出再验证字体文件及文字覆盖范围。部署、跨域与缓存处理见 [PDF 字体指南](https://github.com/ChenyCHENYU/MachReport/blob/main/docs/PDF.md)。
|
|
311
313
|
|
|
312
314
|
## 接入项目数据
|
|
@@ -411,7 +413,7 @@ CI 使用同一套校验命令,并在构建后检查实际发布产物。协
|
|
|
411
413
|
|
|
412
414
|
## 版本与授权
|
|
413
415
|
|
|
414
|
-
当前源码版本为 `2.3.
|
|
416
|
+
当前源码版本为 `2.3.2`,以 [`packages/mach-report/package.json`](https://github.com/ChenyCHENYU/MachReport/blob/main/packages/mach-report/package.json) 为准;npm 已发布版本由顶部 npm 标识展示。
|
|
415
417
|
|
|
416
418
|
Copyright © 2026 ChenyCHENYU (Agile Team). All rights reserved.
|
|
417
419
|
|