@agile-team/mach-report 2.11.1 → 2.11.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.
Files changed (4) hide show
  1. package/README.md +3 -3
  2. package/dist/pdf.cjs +44 -44
  3. package/dist/pdf.js +1656 -1645
  4. 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.11.1-2563eb" alt="Source version 2.11.1" />
11
+ <img src="https://img.shields.io/badge/source-2.11.2-2563eb" alt="Source version 2.11.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>
@@ -422,7 +422,7 @@ app.use(machReportPlugin, { fetcher, config });
422
422
 
423
423
  优先级为:内置值 → 应用 defaults → 命名 preset → 组件属性;路由级 `provideMachReportConfig` 会叠加应用配置。中文 PDF 需要部署覆盖所用字符的字体并配置 `pdfFontUrl`;Vue 出口遇到缺字或页面渲染错误会阻止下载。`.doc` 出口是 Word 兼容的 HTML 文档,并非 `.docx`。
424
424
 
425
- 自定义 PDF 字体完整嵌入提供的字体文件,保留中文字符的字形映射;使用完整字库时,PDF 体积会相应增加。
425
+ 自定义 PDF 字体完整嵌入提供的字体文件,保留中文字符的字形映射;`pdfFontUrl` 可指向完整字体的 `.gz` 静态资源以减少首次下载量,解压后的字节仍受预算与校验保护。使用完整字库时,PDF 体积会相应增加。
426
426
 
427
427
  ### 设置入口与零数据反馈
428
428
 
@@ -627,7 +627,7 @@ CI 使用同一套校验命令,并在构建后检查实际发布产物。协
627
627
 
628
628
  ## 版本与授权
629
629
 
630
- 当前源码版本为 `2.11.1`,以 [`packages/mach-report/package.json`](https://github.com/ChenyCHENYU/MachReport/blob/main/packages/mach-report/package.json) 为准;npm 已发布版本由顶部 npm 标识展示。
630
+ 当前源码版本为 `2.11.2`,以 [`packages/mach-report/package.json`](https://github.com/ChenyCHENYU/MachReport/blob/main/packages/mach-report/package.json) 为准;npm 已发布版本由顶部 npm 标识展示。
631
631
 
632
632
  Copyright © 2026 ChenyCHENYU (Agile Team). All rights reserved.
633
633