@agile-team/mach-report 2.11.2 → 2.13.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 +30 -5
- 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/{ReportBatchPanel-B5ClP9tm.js → ReportBatchPanel-CW2HV9I8.js} +1 -1
- package/dist/{ReportBatchPanel-Dc-SDkYA.cjs → ReportBatchPanel-Fp1ePFag.cjs} +1 -1
- package/dist/ReportPreview-BN6fk7Wz.cjs +6 -0
- package/dist/ReportPreview-D2Jkyh1U.js +4243 -0
- 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/config-Bb7RiIO5.cjs +1 -0
- package/dist/{config-B612mw0x.js → config-XVwG87IA.js} +4 -0
- package/dist/designer.cjs +2 -2
- package/dist/designer.d.cts +283 -0
- package/dist/designer.d.ts +283 -0
- package/dist/designer.js +2852 -2010
- 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 +105 -1
- package/dist/index.d.ts +105 -1
- package/dist/index.js +488 -439
- package/dist/pdf.cjs +76 -59
- package/dist/pdf.d.cts +51 -0
- package/dist/pdf.d.ts +51 -0
- package/dist/pdf.js +32128 -32048
- package/dist/{plugin-Cd5G2QQn.js → plugin-D4wizDXB.js} +1 -1
- package/dist/{plugin-BDTU4D94.cjs → plugin-DzS6pxTA.cjs} +1 -1
- 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 +457 -434
- 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-DGwWOoCv.cjs +2 -0
- package/dist/{template-review-BdcXSYbx.js → template-review-PgEe_Wr9.js} +792 -666
- package/dist/validate-BJ5HIWY8.cjs +1 -0
- package/dist/validate-DbgEM1Hh.js +163 -0
- package/dist/vue/async.d.cts +125 -2
- package/dist/vue/async.d.ts +125 -2
- package/dist/vue/index.d.cts +121 -8
- package/dist/vue/index.d.ts +121 -8
- package/dist/vue-async.cjs +1 -1
- package/dist/vue-async.js +3 -3
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +5 -5
- 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/ReportPreview-DWXROHBP.cjs +0 -6
- package/dist/ReportPreview-DiNXhQI0.js +0 -4138
- package/dist/assets-Bu6UohJx.cjs +0 -1
- package/dist/assets-DegqDNqY.js +0 -160
- package/dist/config-BRoLo2oj.cjs +0 -1
- 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/dist/pdf.d.cts
CHANGED
|
@@ -19,6 +19,50 @@ declare interface AssetRenderOptions extends OutputDiagnosticOptions {
|
|
|
19
19
|
|
|
20
20
|
export declare function clearFontCache(): Promise<void>;
|
|
21
21
|
|
|
22
|
+
/** Serializable symbol settings. Encoders remain in the optional /codes entry. */
|
|
23
|
+
declare interface CodeOptions {
|
|
24
|
+
/** Explicit content, including an empty value, takes precedence over legacy fallbackText. */
|
|
25
|
+
value?: string;
|
|
26
|
+
symbology?: "code128" | "code39" | "ean13" | "ean8";
|
|
27
|
+
errorCorrection?: "L" | "M" | "Q" | "H";
|
|
28
|
+
/** White modules around a symbol: QR >=4, linear >=10, EAN >=11. */
|
|
29
|
+
quietZoneModules?: number;
|
|
30
|
+
/** Human-readable content below a linear barcode. */
|
|
31
|
+
showText?: boolean;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* 列值格式化(声明式、JSON 可序列化)。
|
|
36
|
+
* 在 paginate 的 cellText 出口统一消费:格式化发生在进 RenderPlan 之前,
|
|
37
|
+
* 三后端(DOM/Canvas/PDF)零改动。
|
|
38
|
+
*
|
|
39
|
+
* 语义约定(v0.9 固化):
|
|
40
|
+
* - number.digits 显式给出 → 精确保留(12.5 + digits:2 → "12.50")
|
|
41
|
+
* - number.thousands 默认 false(千分位显式开启)
|
|
42
|
+
* - date 字符串按"本地时区的日历日"解析(YYYY-MM-DD / YYYY/MM/DD 直取年月日,
|
|
43
|
+
* 不经 Date 字符串构造——后者按 UTC 零点,负时区环境会少一天)
|
|
44
|
+
*/
|
|
45
|
+
declare type ColumnFormat = {
|
|
46
|
+
kind: "number";
|
|
47
|
+
thousands?: boolean;
|
|
48
|
+
digits?: number;
|
|
49
|
+
} | {
|
|
50
|
+
kind: "percent";
|
|
51
|
+
digits?: number;
|
|
52
|
+
} | {
|
|
53
|
+
kind: "date";
|
|
54
|
+
pattern?: string;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/** A literal own field of the current label record; expressions and paths are not evaluated. */
|
|
58
|
+
declare interface ComponentBinding {
|
|
59
|
+
field: string;
|
|
60
|
+
format?: ValueFormat;
|
|
61
|
+
prefix?: string;
|
|
62
|
+
suffix?: string;
|
|
63
|
+
emptyText?: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
22
66
|
declare interface ComponentImageContext {
|
|
23
67
|
readonly component: Readonly<PlanComponent>;
|
|
24
68
|
readonly pageIndex: number;
|
|
@@ -192,6 +236,10 @@ export declare interface PdfRenderResult {
|
|
|
192
236
|
}
|
|
193
237
|
|
|
194
238
|
declare interface PlanComponent {
|
|
239
|
+
/** Optional QR/barcode encoding configuration; no encoder is loaded by the core. */
|
|
240
|
+
code?: CodeOptions;
|
|
241
|
+
/** Template-only binding; resolved and removed before constructing the output plan. */
|
|
242
|
+
binding?: ComponentBinding;
|
|
195
243
|
/** Template page furniture repeats per page and reserves its vertical band. */
|
|
196
244
|
pageAnchor?: "header" | "footer";
|
|
197
245
|
kind: ComponentKind;
|
|
@@ -330,4 +378,7 @@ declare interface TextMeasurer_2 {
|
|
|
330
378
|
measureMm(text: string, options: TextMeasureOptions_2): number;
|
|
331
379
|
}
|
|
332
380
|
|
|
381
|
+
/** The same declarative formatting used by list columns, before any output backend. */
|
|
382
|
+
declare type ValueFormat = ColumnFormat;
|
|
383
|
+
|
|
333
384
|
export { }
|
package/dist/pdf.d.ts
CHANGED
|
@@ -19,6 +19,50 @@ declare interface AssetRenderOptions extends OutputDiagnosticOptions {
|
|
|
19
19
|
|
|
20
20
|
export declare function clearFontCache(): Promise<void>;
|
|
21
21
|
|
|
22
|
+
/** Serializable symbol settings. Encoders remain in the optional /codes entry. */
|
|
23
|
+
declare interface CodeOptions {
|
|
24
|
+
/** Explicit content, including an empty value, takes precedence over legacy fallbackText. */
|
|
25
|
+
value?: string;
|
|
26
|
+
symbology?: "code128" | "code39" | "ean13" | "ean8";
|
|
27
|
+
errorCorrection?: "L" | "M" | "Q" | "H";
|
|
28
|
+
/** White modules around a symbol: QR >=4, linear >=10, EAN >=11. */
|
|
29
|
+
quietZoneModules?: number;
|
|
30
|
+
/** Human-readable content below a linear barcode. */
|
|
31
|
+
showText?: boolean;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* 列值格式化(声明式、JSON 可序列化)。
|
|
36
|
+
* 在 paginate 的 cellText 出口统一消费:格式化发生在进 RenderPlan 之前,
|
|
37
|
+
* 三后端(DOM/Canvas/PDF)零改动。
|
|
38
|
+
*
|
|
39
|
+
* 语义约定(v0.9 固化):
|
|
40
|
+
* - number.digits 显式给出 → 精确保留(12.5 + digits:2 → "12.50")
|
|
41
|
+
* - number.thousands 默认 false(千分位显式开启)
|
|
42
|
+
* - date 字符串按"本地时区的日历日"解析(YYYY-MM-DD / YYYY/MM/DD 直取年月日,
|
|
43
|
+
* 不经 Date 字符串构造——后者按 UTC 零点,负时区环境会少一天)
|
|
44
|
+
*/
|
|
45
|
+
declare type ColumnFormat = {
|
|
46
|
+
kind: "number";
|
|
47
|
+
thousands?: boolean;
|
|
48
|
+
digits?: number;
|
|
49
|
+
} | {
|
|
50
|
+
kind: "percent";
|
|
51
|
+
digits?: number;
|
|
52
|
+
} | {
|
|
53
|
+
kind: "date";
|
|
54
|
+
pattern?: string;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/** A literal own field of the current label record; expressions and paths are not evaluated. */
|
|
58
|
+
declare interface ComponentBinding {
|
|
59
|
+
field: string;
|
|
60
|
+
format?: ValueFormat;
|
|
61
|
+
prefix?: string;
|
|
62
|
+
suffix?: string;
|
|
63
|
+
emptyText?: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
22
66
|
declare interface ComponentImageContext {
|
|
23
67
|
readonly component: Readonly<PlanComponent>;
|
|
24
68
|
readonly pageIndex: number;
|
|
@@ -192,6 +236,10 @@ export declare interface PdfRenderResult {
|
|
|
192
236
|
}
|
|
193
237
|
|
|
194
238
|
declare interface PlanComponent {
|
|
239
|
+
/** Optional QR/barcode encoding configuration; no encoder is loaded by the core. */
|
|
240
|
+
code?: CodeOptions;
|
|
241
|
+
/** Template-only binding; resolved and removed before constructing the output plan. */
|
|
242
|
+
binding?: ComponentBinding;
|
|
195
243
|
/** Template page furniture repeats per page and reserves its vertical band. */
|
|
196
244
|
pageAnchor?: "header" | "footer";
|
|
197
245
|
kind: ComponentKind;
|
|
@@ -330,4 +378,7 @@ declare interface TextMeasurer_2 {
|
|
|
330
378
|
measureMm(text: string, options: TextMeasureOptions_2): number;
|
|
331
379
|
}
|
|
332
380
|
|
|
381
|
+
/** The same declarative formatting used by list columns, before any output backend. */
|
|
382
|
+
declare type ValueFormat = ColumnFormat;
|
|
383
|
+
|
|
333
384
|
export { }
|