@agile-team/mach-report 2.11.1 → 2.12.0
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 +15 -6
- package/THIRD_PARTY_NOTICES.md +270 -0
- package/dist/{ExcelBindingWizard-LWX6G1A2.js → ExcelBindingWizard-CeAf4QSE.js} +2 -2
- package/dist/{ExcelBindingWizard-a4kslPHF.cjs → ExcelBindingWizard-y0mT-AHR.cjs} +1 -1
- package/dist/{RuleEditor-C2QsOHOs.cjs → RuleEditor-ChRzNQuF.cjs} +1 -1
- package/dist/{RuleEditor-D9wQHrkf.js → RuleEditor-DzAmW5YH.js} +1 -1
- package/dist/analytics.d.cts +28 -0
- package/dist/analytics.d.ts +28 -0
- package/dist/assets-C2U-e-Sz.cjs +4 -0
- package/dist/assets-Q0wUwNrV.js +217 -0
- package/dist/code-options-BKXXY7NI.js +18 -0
- package/dist/code-options-BUTChiZZ.cjs +1 -0
- package/dist/codes.cjs +9 -0
- package/dist/codes.d.cts +223 -0
- package/dist/codes.d.ts +223 -0
- package/dist/codes.js +26917 -0
- package/dist/designer.cjs +2 -2
- package/dist/designer.d.cts +267 -0
- package/dist/designer.d.ts +267 -0
- package/dist/designer.js +2737 -1941
- package/dist/grid-strokes-Cr7DwUux.cjs +1 -0
- package/dist/grid-strokes-DyyG1q_o.js +53 -0
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +80 -1
- package/dist/index.d.ts +80 -1
- package/dist/index.js +404 -374
- package/dist/pdf.cjs +76 -59
- package/dist/pdf.d.cts +51 -0
- package/dist/pdf.d.ts +51 -0
- package/dist/pdf.js +32193 -32102
- package/dist/record-bindings-By_UKZ2g.cjs +1 -0
- package/dist/{list-cell-ClFra1zS.js → record-bindings-D-5jQlTj.js} +67 -44
- package/dist/{region-binding-workflow-DhQvu1co.cjs → region-binding-workflow-BzfbxRiR.cjs} +1 -1
- package/dist/{region-binding-workflow-CXDmt9Bs.js → region-binding-workflow-CcUq8W2Q.js} +1 -1
- package/dist/server/node.d.cts +52 -1
- package/dist/server/node.d.ts +52 -1
- package/dist/server-node.cjs +1 -1
- package/dist/server-node.js +239 -210
- package/dist/server.cjs +1 -1
- package/dist/server.d.cts +95 -3
- package/dist/server.d.ts +95 -3
- package/dist/server.js +456 -433
- package/dist/style.css +1 -1
- package/dist/{template-registry-WNXdkiET.js → template-registry-BjE1VS6g.js} +221 -157
- package/dist/template-registry-D3SjENi6.cjs +1 -0
- package/dist/template-review-BfCC8Ng9.cjs +2 -0
- package/dist/{template-review-BdcXSYbx.js → template-review-BzpcI-tR.js} +772 -666
- package/dist/validate-BJ5HIWY8.cjs +1 -0
- package/dist/validate-DbgEM1Hh.js +163 -0
- package/dist/vue/async.d.cts +121 -2
- package/dist/vue/async.d.ts +121 -2
- package/dist/vue/index.d.cts +114 -6
- package/dist/vue/index.d.ts +114 -6
- package/dist/{workbook-session-BKOTwcoq.js → workbook-session-BPb3TMnT.js} +1 -1
- package/dist/{workbook-session-CLYLhZWu.cjs → workbook-session-DNa2RHNG.cjs} +1 -1
- package/dist/worker.cjs +1 -1
- package/dist/worker.d.cts +52 -1
- package/dist/worker.d.ts +52 -1
- package/dist/worker.js +2 -2
- package/dist/xlsx.cjs +1 -1
- package/dist/xlsx.d.cts +40 -0
- package/dist/xlsx.d.ts +40 -0
- package/dist/xlsx.js +3 -3
- package/package.json +16 -3
- package/dist/assets-Bu6UohJx.cjs +0 -1
- package/dist/assets-DegqDNqY.js +0 -160
- package/dist/list-cell-BuYn4tGF.cjs +0 -1
- package/dist/template-registry-ukBGlm8N.cjs +0 -1
- package/dist/template-review-BXp2oyqg.cjs +0 -1
- package/dist/textwrap-CWHyzkBH.cjs +0 -4
- package/dist/textwrap-DE1kgcJB.js +0 -110
- package/dist/validate-7s0yn6ii.js +0 -148
- package/dist/validate-DsRiNw8h.cjs +0 -1
package/README.md
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<strong
|
|
7
|
-
完整宽表 · Excel 模板绑定 ·
|
|
6
|
+
<strong>面向业务宽表、明细台账与工业标签的 TypeScript 报表引擎</strong><br />
|
|
7
|
+
完整宽表 · Excel 模板绑定 · 工业标签 · 前后端共用契约 · 受控服务端输出
|
|
8
8
|
</p>
|
|
9
9
|
|
|
10
10
|
<p align="center">
|
|
11
|
-
<img src="https://img.shields.io/badge/source-2.
|
|
11
|
+
<img src="https://img.shields.io/badge/source-2.12.0-2563eb" alt="Source version 2.12.0" />
|
|
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>
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
<a href="#60-秒开始"><strong>快速开始</strong></a> ·
|
|
21
21
|
<a href="#完整宽表与标准纸张"><strong>完整宽表</strong></a> ·
|
|
22
22
|
<a href="#excel-报表能力与边界"><strong>Excel 能力</strong></a> ·
|
|
23
|
+
<a href="#工业标签与材料标识">工业标签</a> ·
|
|
23
24
|
<a href="#单元格编辑">单元格编辑</a> ·
|
|
24
25
|
<a href="#对齐与可读性">对齐配置</a> ·
|
|
25
26
|
<a href="#模板配置与管理扩展">模板管理</a> ·
|
|
@@ -47,6 +48,7 @@ MachReport 把模板、数据和输出分开:用 TypeScript DSL 或 JSON 定
|
|
|
47
48
|
| 内容编辑 | 默认只读;双击与批量粘贴、原子保存、编辑后重算、撤销 / 重做、恢复与变更清单 |
|
|
48
49
|
| Excel 导入 | 多 Sheet 会话复用、可取消预检、完整宽表、合并样式与缓存公式值转换为模板 |
|
|
49
50
|
| 模板配置 | 可视化画布、Excel 业务绑定向导、计算与规则、变更对比与发布验收、CAS 历史 / 回滚 |
|
|
51
|
+
| 工业标签 | 自定义毫米纸张、逐记录字段绑定、多版相邻与份数、按需 QR / 条码、可视化设计 |
|
|
50
52
|
| 输出 | 浏览器打印、HTML、PDF、真正的 `.xlsx`、逐页 PNG、Word 兼容 HTML `.doc` |
|
|
51
53
|
| 工程接入 | 局部组件、全局插件、异步入口、分层配置、结构化错误与导出告警 |
|
|
52
54
|
| 引擎复用 | 共用契约与计算、逐页排版、Node Runtime / Worker、流式 Excel、可恢复持久任务 |
|
|
@@ -183,6 +185,12 @@ document.querySelector("#report")!.replaceChildren(renderPlan(plan, document));
|
|
|
183
185
|
|
|
184
186
|
`paginateTemplate` 可在客户端或服务端运行。`renderPlan` 需要 DOM;Canvas、图片与浏览器打印同样需要浏览器环境。大量页面使用页窗口或 Vue 预览组件,避免一次创建全部页面节点。
|
|
185
187
|
|
|
188
|
+
## 工业标签与材料标识
|
|
189
|
+
|
|
190
|
+
同一引擎可设计 80 × 55 mm 等自定义标签。`createLabelTemplate({ dataset, rowKey, components })` 声明尺寸和字段绑定;多版使用 `pages`,逐条记录按“份数 → 各版”相邻输出。真实零值和前导零保留,缺字段、文字溢出和超预算明确反馈。设计器提供纸张、边距、页面复制、字段与码图属性,复用毫米画布、吸附、对齐和撤销。
|
|
191
|
+
|
|
192
|
+
可选 `/codes` 提供真实 QR、Code 128 / 39、EAN-13 / 8,并统一生成 PNG 供浏览器与 Node 的预览、PDF、打印及 Excel 使用。使用侧只传模板、数据和 `assets: { assetRenderers: createCodeAssetRenderers() }`;编码器不进入核心或默认 Vue 产物。运行 `/labels.html` 体验工业标签设计与输出,详见[标签接入与设备边界](https://github.com/ChenyCHENYU/MachReport/blob/main/docs/LABELS.md)。驱动中的纸张、100% 比例与扫码实样需按设备校准;多版输出不等同硬件自动双面。
|
|
193
|
+
|
|
186
194
|
## Excel 报表能力与边界
|
|
187
195
|
|
|
188
196
|
**支持生成真正的 Excel `.xlsx` 工作簿。** Vue 工具栏提供「导出 Excel」,组件控制器支持 `exportAs("xlsx")` / `exportAs("excel")`;原生与 Node.js 可从 `/xlsx` 使用 `renderPlanToXlsx`。
|
|
@@ -379,7 +387,7 @@ const { bytes, contentType, diagnostics, stats } = await runtime.export({
|
|
|
379
387
|
|
|
380
388
|
`/worker` 与 `/server/node` 提供真实浏览器 Worker / worker_threads 适配器,运行同步分页时可硬取消;有界队列限制并发和排队。默认同步执行仅在阶段边界检查取消,不宣称阻塞期间可抢占。接入与预算详见[服务端与 Worker](https://github.com/ChenyCHENYU/MachReport/blob/main/docs/SERVER.md)。
|
|
381
389
|
|
|
382
|
-
交叉汇总、声明式计算和基础柱图 / 折线图位于可选 `/analytics`。图形展开成共享基础图元;公式字符串需显式引擎适配器,不执行 `eval`,不重算导入 Excel
|
|
390
|
+
交叉汇总、声明式计算和基础柱图 / 折线图位于可选 `/analytics`。图形展开成共享基础图元;公式字符串需显式引擎适配器,不执行 `eval`,不重算导入 Excel 的公式。二维码与条码可选内置 `/codes`;其他码制与图表仍可配置 `assets.assetRenderers`,异步准备一次后供预览和导出共用,并返回缺失 / 不支持的结构化诊断。用法见[分析与资源适配](https://github.com/ChenyCHENYU/MachReport/blob/main/docs/ANALYTICS.md)。
|
|
383
391
|
|
|
384
392
|
## 大报表预览与性能
|
|
385
393
|
|
|
@@ -422,7 +430,7 @@ app.use(machReportPlugin, { fetcher, config });
|
|
|
422
430
|
|
|
423
431
|
优先级为:内置值 → 应用 defaults → 命名 preset → 组件属性;路由级 `provideMachReportConfig` 会叠加应用配置。中文 PDF 需要部署覆盖所用字符的字体并配置 `pdfFontUrl`;Vue 出口遇到缺字或页面渲染错误会阻止下载。`.doc` 出口是 Word 兼容的 HTML 文档,并非 `.docx`。
|
|
424
432
|
|
|
425
|
-
自定义 PDF
|
|
433
|
+
自定义 PDF 字体完整嵌入提供的字体文件,保留中文字符的字形映射;`pdfFontUrl` 可指向完整字体的 `.gz` 静态资源以减少首次下载量,解压后的字节仍受预算与校验保护。使用完整字库时,PDF 体积会相应增加。
|
|
426
434
|
|
|
427
435
|
### 设置入口与零数据反馈
|
|
428
436
|
|
|
@@ -561,6 +569,7 @@ const fetcher: PlanFetcher = async ({ reportIds, params, signal }) => {
|
|
|
561
569
|
| `@agile-team/mach-report/xlsx/node` | AsyncIterable 行数据流式输出,仅 Node |
|
|
562
570
|
| `@agile-team/mach-report/designer` | 可选 Vue 画布、属性、Excel绑定向导、规则与验收面板 |
|
|
563
571
|
| `@agile-team/mach-report/analytics` | 交叉表、受控计算、柱图 / 折线图基础图元 |
|
|
572
|
+
| `@agile-team/mach-report/codes` | 可选跨浏览器 / Node 的 QR、条码编码、物理尺寸与静区校验 |
|
|
564
573
|
|
|
565
574
|
内核保持零运行时依赖;ExcelJS、pdf-lib / fontkit、SQL parser 分别内联于对应构建入口。导入 `/xlsx` 才使用 Excel 能力,导入 `/pdf` 才使用 PDF 能力;Vue 不进入引擎主入口。npm 构建提供 ESM、CommonJS 与类型声明。
|
|
566
575
|
|
|
@@ -627,7 +636,7 @@ CI 使用同一套校验命令,并在构建后检查实际发布产物。协
|
|
|
627
636
|
|
|
628
637
|
## 版本与授权
|
|
629
638
|
|
|
630
|
-
当前源码版本为 `2.
|
|
639
|
+
当前源码版本为 `2.12.0`,以 [`packages/mach-report/package.json`](https://github.com/ChenyCHENYU/MachReport/blob/main/packages/mach-report/package.json) 为准;npm 已发布版本由顶部 npm 标识展示。
|
|
631
640
|
|
|
632
641
|
Copyright © 2026 ChenyCHENYU (Agile Team). All rights reserved.
|
|
633
642
|
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
# Third-party notices for the optional codes entry
|
|
2
|
+
|
|
3
|
+
The optional `@agile-team/mach-report/codes` build includes the following third-party software. Their original licenses remain applicable to their respective components and embedded font assets. These notices do not change the MachReport license. The encoding and raster libraries are absent from the core entry.
|
|
4
|
+
|
|
5
|
+
Upstream: https://github.com/metafloor/bwip-js, https://github.com/image-js/fast-png, https://github.com/image-js/iobuffer, https://github.com/nodeca/pako.
|
|
6
|
+
|
|
7
|
+
## @bwip-js/generic 4.11.4 — bwip-js
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
bwip-js : Barcode Writer in Pure JavaScript
|
|
11
|
+
|
|
12
|
+
Copyright (c) 2011-2026 Mark Warren
|
|
13
|
+
|
|
14
|
+
The MIT License
|
|
15
|
+
|
|
16
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
17
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
18
|
+
in the Software without restriction, including without limitation the rights
|
|
19
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
20
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
21
|
+
furnished to do so, subject to the following conditions:
|
|
22
|
+
|
|
23
|
+
The above copyright notice and this permission notice shall be included in
|
|
24
|
+
all copies or substantial portions of the Software.
|
|
25
|
+
|
|
26
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
28
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
29
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
30
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
31
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
32
|
+
THE SOFTWARE.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Barcode Writer in Pure PostScript — BWIPP 2026-05-28
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
Barcode Writer in Pure PostScript
|
|
39
|
+
|
|
40
|
+
Copyright (c) 2004-2024 Terry Burton
|
|
41
|
+
|
|
42
|
+
The MIT License
|
|
43
|
+
|
|
44
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
45
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
46
|
+
in the Software without restriction, including without limitation the rights
|
|
47
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
48
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
49
|
+
furnished to do so, subject to the following conditions:
|
|
50
|
+
|
|
51
|
+
The above copyright notice and this permission notice shall be included in
|
|
52
|
+
all copies or substantial portions of the Software.
|
|
53
|
+
|
|
54
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
55
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
56
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
57
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
58
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
59
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
60
|
+
THE SOFTWARE.
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## stb_truetype JavaScript translation
|
|
64
|
+
|
|
65
|
+
```text
|
|
66
|
+
Copyright (c) 2019 Mark Warren : MIT LICENSE
|
|
67
|
+
|
|
68
|
+
Copyright notice from stb_truetype.h:
|
|
69
|
+
|
|
70
|
+
MIT License
|
|
71
|
+
|
|
72
|
+
Copyright (c) 2017 Sean Barrett
|
|
73
|
+
|
|
74
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
75
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
76
|
+
the Software without restriction, including without limitation the rights to
|
|
77
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
78
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
79
|
+
so, subject to the following conditions:
|
|
80
|
+
The above copyright notice and this permission notice shall be included in all
|
|
81
|
+
copies or substantial portions of the Software.
|
|
82
|
+
|
|
83
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
84
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
85
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
86
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
87
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
88
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
89
|
+
SOFTWARE.
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Inconsolata embedded in bwip-js
|
|
93
|
+
|
|
94
|
+
```text
|
|
95
|
+
Copyright (c) <dates>, <Copyright Holder> (<URL|email>),
|
|
96
|
+
with Reserved Font Name <Reserved Font Name>.
|
|
97
|
+
Copyright (c) <dates>, <additional Copyright Holder> (<URL|email>),
|
|
98
|
+
with Reserved Font Name <additional Reserved Font Name>.
|
|
99
|
+
Copyright (c) <dates>, <additional Copyright Holder> (<URL|email>).
|
|
100
|
+
|
|
101
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
102
|
+
This license is copied below, and is also available with a FAQ at:
|
|
103
|
+
http://scripts.sil.org/OFL
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
-----------------------------------------------------------
|
|
107
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
108
|
+
-----------------------------------------------------------
|
|
109
|
+
|
|
110
|
+
PREAMBLE
|
|
111
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
112
|
+
development of collaborative font projects, to support the font creation
|
|
113
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
114
|
+
open framework in which fonts may be shared and improved in partnership
|
|
115
|
+
with others.
|
|
116
|
+
|
|
117
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
118
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
119
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
120
|
+
redistributed and/or sold with any software provided that any reserved
|
|
121
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
122
|
+
however, cannot be released under any other type of license. The
|
|
123
|
+
requirement for fonts to remain under this license does not apply
|
|
124
|
+
to any document created using the fonts or their derivatives.
|
|
125
|
+
|
|
126
|
+
DEFINITIONS
|
|
127
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
128
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
129
|
+
include source files, build scripts and documentation.
|
|
130
|
+
|
|
131
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
132
|
+
copyright statement(s).
|
|
133
|
+
|
|
134
|
+
"Original Version" refers to the collection of Font Software components as
|
|
135
|
+
distributed by the Copyright Holder(s).
|
|
136
|
+
|
|
137
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
138
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
139
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
140
|
+
new environment.
|
|
141
|
+
|
|
142
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
143
|
+
writer or other person who contributed to the Font Software.
|
|
144
|
+
|
|
145
|
+
PERMISSION & CONDITIONS
|
|
146
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
147
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
148
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
149
|
+
Software, subject to the following conditions:
|
|
150
|
+
|
|
151
|
+
1) Neither the Font Software nor any of its individual components,
|
|
152
|
+
in Original or Modified Versions, may be sold by itself.
|
|
153
|
+
|
|
154
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
155
|
+
redistributed and/or sold with any software, provided that each copy
|
|
156
|
+
contains the above copyright notice and this license. These can be
|
|
157
|
+
included either as stand-alone text files, human-readable headers or
|
|
158
|
+
in the appropriate machine-readable metadata fields within text or
|
|
159
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
160
|
+
|
|
161
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
162
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
163
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
164
|
+
presented to the users.
|
|
165
|
+
|
|
166
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
167
|
+
Software shall not be used to promote, endorse or advertise any
|
|
168
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
169
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
170
|
+
permission.
|
|
171
|
+
|
|
172
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
173
|
+
must be distributed entirely under this license, and must not be
|
|
174
|
+
distributed under any other license. The requirement for fonts to
|
|
175
|
+
remain under this license does not apply to any document created
|
|
176
|
+
using the Font Software.
|
|
177
|
+
|
|
178
|
+
TERMINATION
|
|
179
|
+
This license becomes null and void if any of the above conditions are
|
|
180
|
+
not met.
|
|
181
|
+
|
|
182
|
+
DISCLAIMER
|
|
183
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
184
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
185
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
186
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
187
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
188
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
189
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
190
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
191
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
## fast-png 6.4.0
|
|
195
|
+
|
|
196
|
+
```text
|
|
197
|
+
MIT License
|
|
198
|
+
|
|
199
|
+
Copyright (c) 2015 Michaël Zasso
|
|
200
|
+
|
|
201
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
202
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
203
|
+
in the Software without restriction, including without limitation the rights
|
|
204
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
205
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
206
|
+
furnished to do so, subject to the following conditions:
|
|
207
|
+
|
|
208
|
+
The above copyright notice and this permission notice shall be included in all
|
|
209
|
+
copies or substantial portions of the Software.
|
|
210
|
+
|
|
211
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
212
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
213
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
214
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
215
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
216
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
217
|
+
SOFTWARE.
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
## iobuffer 5.4.0
|
|
221
|
+
|
|
222
|
+
```text
|
|
223
|
+
The MIT License (MIT)
|
|
224
|
+
|
|
225
|
+
Copyright (c) 2015 Michaël Zasso
|
|
226
|
+
|
|
227
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
228
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
229
|
+
in the Software without restriction, including without limitation the rights
|
|
230
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
231
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
232
|
+
furnished to do so, subject to the following conditions:
|
|
233
|
+
|
|
234
|
+
The above copyright notice and this permission notice shall be included in all
|
|
235
|
+
copies or substantial portions of the Software.
|
|
236
|
+
|
|
237
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
238
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
239
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
240
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
241
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
242
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
243
|
+
SOFTWARE.
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
## pako 2.2.0
|
|
247
|
+
|
|
248
|
+
```text
|
|
249
|
+
(The MIT License)
|
|
250
|
+
|
|
251
|
+
Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
|
|
252
|
+
|
|
253
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
254
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
255
|
+
in the Software without restriction, including without limitation the rights
|
|
256
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
257
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
258
|
+
furnished to do so, subject to the following conditions:
|
|
259
|
+
|
|
260
|
+
The above copyright notice and this permission notice shall be included in
|
|
261
|
+
all copies or substantial portions of the Software.
|
|
262
|
+
|
|
263
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
264
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
265
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
266
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
267
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
268
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
269
|
+
THE SOFTWARE.
|
|
270
|
+
```
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Fe, ref as F, computed as S, watch as ie, nextTick as Ee, openBlock as c, createElementBlock as v, createElementVNode as n, createTextVNode as P, toDisplayString as l, createVNode as W, Fragment as O, renderList as J, normalizeClass as xe, createCommentVNode as T, unref as e, withDirectives as De, vModelText as Xe, shallowRef as Qe, onBeforeUnmount as Ye, normalizeStyle as Ze, createBlock as et, vShow as tt } from "vue";
|
|
2
|
-
import { o as pe, q as Me, f as nt, n as at, m as lt, h as ot, k as it, v as st, i as rt, p as ut, d as dt, c as ct, e as vt, a as gt, g as ft } from "./region-binding-workflow-
|
|
2
|
+
import { o as pe, q as Me, f as nt, n as at, m as lt, h as ot, k as it, v as st, i as rt, p as ut, d as dt, c as ct, e as vt, a as gt, g as ft } from "./region-binding-workflow-CcUq8W2Q.js";
|
|
3
3
|
import { a as A } from "./_plugin-vue_export-helper-8SL1F89S.js";
|
|
4
4
|
import { u as bt } from "./useLocalDraft-C07SYRnC.js";
|
|
5
5
|
import { EXCEL_BINDING_MESSAGES as mt } from "./designer.js";
|
|
@@ -617,7 +617,7 @@ function wn(t, x) {
|
|
|
617
617
|
ee = new AbortController(), X.value = !0, K.value = "";
|
|
618
618
|
let D;
|
|
619
619
|
try {
|
|
620
|
-
const { openExcelWorkbook: _ } = await import("./workbook-session-
|
|
620
|
+
const { openExcelWorkbook: _ } = await import("./workbook-session-BPb3TMnT.js").then((ce) => ce.w);
|
|
621
621
|
if (f !== Y || t.readonly || (D = await _(s, { ...t.importOptions, signal: ee.signal }), f !== Y || t.readonly)) return;
|
|
622
622
|
const me = D.inspect().sheets.filter((ce) => ce.visible);
|
|
623
623
|
if (!me.length) throw new Error("Excel 中没有可导入的可见工作表");
|