@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.
Files changed (73) hide show
  1. package/README.md +15 -6
  2. package/THIRD_PARTY_NOTICES.md +270 -0
  3. package/dist/{ExcelBindingWizard-LWX6G1A2.js → ExcelBindingWizard-CeAf4QSE.js} +2 -2
  4. package/dist/{ExcelBindingWizard-a4kslPHF.cjs → ExcelBindingWizard-y0mT-AHR.cjs} +1 -1
  5. package/dist/{RuleEditor-C2QsOHOs.cjs → RuleEditor-ChRzNQuF.cjs} +1 -1
  6. package/dist/{RuleEditor-D9wQHrkf.js → RuleEditor-DzAmW5YH.js} +1 -1
  7. package/dist/analytics.d.cts +28 -0
  8. package/dist/analytics.d.ts +28 -0
  9. package/dist/assets-C2U-e-Sz.cjs +4 -0
  10. package/dist/assets-Q0wUwNrV.js +217 -0
  11. package/dist/code-options-BKXXY7NI.js +18 -0
  12. package/dist/code-options-BUTChiZZ.cjs +1 -0
  13. package/dist/codes.cjs +9 -0
  14. package/dist/codes.d.cts +223 -0
  15. package/dist/codes.d.ts +223 -0
  16. package/dist/codes.js +26917 -0
  17. package/dist/designer.cjs +2 -2
  18. package/dist/designer.d.cts +267 -0
  19. package/dist/designer.d.ts +267 -0
  20. package/dist/designer.js +2737 -1941
  21. package/dist/grid-strokes-Cr7DwUux.cjs +1 -0
  22. package/dist/grid-strokes-DyyG1q_o.js +53 -0
  23. package/dist/index.cjs +7 -7
  24. package/dist/index.d.cts +80 -1
  25. package/dist/index.d.ts +80 -1
  26. package/dist/index.js +404 -374
  27. package/dist/pdf.cjs +76 -59
  28. package/dist/pdf.d.cts +51 -0
  29. package/dist/pdf.d.ts +51 -0
  30. package/dist/pdf.js +32193 -32102
  31. package/dist/record-bindings-By_UKZ2g.cjs +1 -0
  32. package/dist/{list-cell-ClFra1zS.js → record-bindings-D-5jQlTj.js} +67 -44
  33. package/dist/{region-binding-workflow-DhQvu1co.cjs → region-binding-workflow-BzfbxRiR.cjs} +1 -1
  34. package/dist/{region-binding-workflow-CXDmt9Bs.js → region-binding-workflow-CcUq8W2Q.js} +1 -1
  35. package/dist/server/node.d.cts +52 -1
  36. package/dist/server/node.d.ts +52 -1
  37. package/dist/server-node.cjs +1 -1
  38. package/dist/server-node.js +239 -210
  39. package/dist/server.cjs +1 -1
  40. package/dist/server.d.cts +95 -3
  41. package/dist/server.d.ts +95 -3
  42. package/dist/server.js +456 -433
  43. package/dist/style.css +1 -1
  44. package/dist/{template-registry-WNXdkiET.js → template-registry-BjE1VS6g.js} +221 -157
  45. package/dist/template-registry-D3SjENi6.cjs +1 -0
  46. package/dist/template-review-BfCC8Ng9.cjs +2 -0
  47. package/dist/{template-review-BdcXSYbx.js → template-review-BzpcI-tR.js} +772 -666
  48. package/dist/validate-BJ5HIWY8.cjs +1 -0
  49. package/dist/validate-DbgEM1Hh.js +163 -0
  50. package/dist/vue/async.d.cts +121 -2
  51. package/dist/vue/async.d.ts +121 -2
  52. package/dist/vue/index.d.cts +114 -6
  53. package/dist/vue/index.d.ts +114 -6
  54. package/dist/{workbook-session-BKOTwcoq.js → workbook-session-BPb3TMnT.js} +1 -1
  55. package/dist/{workbook-session-CLYLhZWu.cjs → workbook-session-DNa2RHNG.cjs} +1 -1
  56. package/dist/worker.cjs +1 -1
  57. package/dist/worker.d.cts +52 -1
  58. package/dist/worker.d.ts +52 -1
  59. package/dist/worker.js +2 -2
  60. package/dist/xlsx.cjs +1 -1
  61. package/dist/xlsx.d.cts +40 -0
  62. package/dist/xlsx.d.ts +40 -0
  63. package/dist/xlsx.js +3 -3
  64. package/package.json +16 -3
  65. package/dist/assets-Bu6UohJx.cjs +0 -1
  66. package/dist/assets-DegqDNqY.js +0 -160
  67. package/dist/list-cell-BuYn4tGF.cjs +0 -1
  68. package/dist/template-registry-ukBGlm8N.cjs +0 -1
  69. package/dist/template-review-BXp2oyqg.cjs +0 -1
  70. package/dist/textwrap-CWHyzkBH.cjs +0 -4
  71. package/dist/textwrap-DE1kgcJB.js +0 -110
  72. package/dist/validate-7s0yn6ii.js +0 -148
  73. package/dist/validate-DsRiNw8h.cjs +0 -1
@@ -160,8 +160,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
160
160
  cause?: unknown;
161
161
  } | undefined) => any;
162
162
  warning: (message: string) => any;
163
- task: (task: Readonly<ReportPreviewTask>) => any;
164
163
  diagnostic: (diagnostic: Readonly<ReportPreviewDiagnostic>) => any;
164
+ task: (task: Readonly<ReportPreviewTask>) => any;
165
165
  loaded: (pageCount: number) => any;
166
166
  "cell-edit": (edit: ReportCellEdit_2) => any;
167
167
  "template-import": (result: ExcelImportResult) => any;
@@ -281,8 +281,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
281
281
  cause?: unknown;
282
282
  } | undefined) => any) | undefined;
283
283
  onWarning?: ((message: string) => any) | undefined;
284
- onTask?: ((task: Readonly<ReportPreviewTask>) => any) | undefined;
285
284
  onDiagnostic?: ((diagnostic: Readonly<ReportPreviewDiagnostic>) => any) | undefined;
285
+ onTask?: ((task: Readonly<ReportPreviewTask>) => any) | undefined;
286
286
  onLoaded?: ((pageCount: number) => any) | undefined;
287
287
  "onCell-edit"?: ((edit: ReportCellEdit_2) => any) | undefined;
288
288
  "onTemplate-import"?: ((result: ExcelImportResult) => any) | undefined;
@@ -293,8 +293,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
293
293
  output: ReportOutputOptions;
294
294
  height: string;
295
295
  gapPx: number;
296
- reportId: string | string[] | null;
297
296
  assets: AssetRenderOptions;
297
+ reportId: string | string[] | null;
298
298
  debug: boolean;
299
299
  showExport: boolean;
300
300
  showPrint: boolean;
@@ -474,6 +474,39 @@ export declare function buildWordHtml(p: RenderPlan): {
474
474
  html: string;
475
475
  filename: string;
476
476
  };
477
+ /** Serializable symbol settings. Encoders remain in the optional /codes entry. */
478
+ declare interface CodeOptions {
479
+ /** Explicit content, including an empty value, takes precedence over legacy fallbackText. */
480
+ value?: string;
481
+ symbology?: "code128" | "code39" | "ean13" | "ean8";
482
+ errorCorrection?: "L" | "M" | "Q" | "H";
483
+ /** White modules around a symbol: QR >=4, linear >=10, EAN >=11. */
484
+ quietZoneModules?: number;
485
+ /** Human-readable content below a linear barcode. */
486
+ showText?: boolean;
487
+ }
488
+ /** Serializable symbol settings. Encoders remain in the optional /codes entry. */
489
+ declare interface CodeOptions_2 {
490
+ /** Explicit content, including an empty value, takes precedence over legacy fallbackText. */
491
+ value?: string;
492
+ symbology?: "code128" | "code39" | "ean13" | "ean8";
493
+ errorCorrection?: "L" | "M" | "Q" | "H";
494
+ /** White modules around a symbol: QR >=4, linear >=10, EAN >=11. */
495
+ quietZoneModules?: number;
496
+ /** Human-readable content below a linear barcode. */
497
+ showText?: boolean;
498
+ }
499
+ /** Serializable symbol settings. Encoders remain in the optional /codes entry. */
500
+ declare interface CodeOptions_3 {
501
+ /** Explicit content, including an empty value, takes precedence over legacy fallbackText. */
502
+ value?: string;
503
+ symbology?: "code128" | "code39" | "ean13" | "ean8";
504
+ errorCorrection?: "L" | "M" | "Q" | "H";
505
+ /** White modules around a symbol: QR >=4, linear >=10, EAN >=11. */
506
+ quietZoneModules?: number;
507
+ /** Human-readable content below a linear barcode. */
508
+ showText?: boolean;
509
+ }
477
510
  /**
478
511
  * 列值格式化(声明式、JSON 可序列化)。
479
512
  * 在 paginate 的 cellText 出口统一消费:格式化发生在进 RenderPlan 之前,
@@ -540,6 +573,30 @@ declare type ColumnFormat_3 = {
540
573
  kind: "date";
541
574
  pattern?: string;
542
575
  };
576
+ /** A literal own field of the current label record; expressions and paths are not evaluated. */
577
+ declare interface ComponentBinding {
578
+ field: string;
579
+ format?: ValueFormat;
580
+ prefix?: string;
581
+ suffix?: string;
582
+ emptyText?: string;
583
+ }
584
+ /** A literal own field of the current label record; expressions and paths are not evaluated. */
585
+ declare interface ComponentBinding_2 {
586
+ field: string;
587
+ format?: ValueFormat_2;
588
+ prefix?: string;
589
+ suffix?: string;
590
+ emptyText?: string;
591
+ }
592
+ /** A literal own field of the current label record; expressions and paths are not evaluated. */
593
+ declare interface ComponentBinding_3 {
594
+ field: string;
595
+ format?: ValueFormat_3;
596
+ prefix?: string;
597
+ suffix?: string;
598
+ emptyText?: string;
599
+ }
543
600
  declare interface ComponentImageContext {
544
601
  readonly component: Readonly<PlanComponent>;
545
602
  readonly pageIndex: number;
@@ -915,7 +972,7 @@ declare interface ListColumn {
915
972
  /** 独立的表头样式,优先于列表级表头样式。 */
916
973
  headerStyle?: ComponentStyle_2;
917
974
  /** 值格式化(声明式):千分位/小数位、百分比、日期 pattern */
918
- format?: ColumnFormat;
975
+ format?: ColumnFormat_2;
919
976
  /** 条件格式规则(声明式,命中合并进单元格样式;如负数红字) */
920
977
  rules?: StyleRule[];
921
978
  /** 内容列编辑控制;仍需由预览显式开启 editing,不影响表头/小计只读规则。 */
@@ -940,7 +997,7 @@ declare interface ListColumn_2 {
940
997
  /** 独立的表头样式,优先于列表级表头样式。 */
941
998
  headerStyle?: ComponentStyle;
942
999
  /** 值格式化(声明式):千分位/小数位、百分比、日期 pattern */
943
- format?: ColumnFormat_2;
1000
+ format?: ColumnFormat;
944
1001
  /** 条件格式规则(声明式,命中合并进单元格样式;如负数红字) */
945
1002
  rules?: StyleRule_2[];
946
1003
  /** 内容列编辑控制;仍需由预览显式开启 editing,不影响表头/小计只读规则。 */
@@ -1788,6 +1845,10 @@ export declare interface PdfFontCheckResult {
1788
1845
  /** available 仅表示字体资源可达;实际导出仍会校验文字能否编码。 */
1789
1846
  export declare type PdfFontStatus = "unchecked" | "checking" | "available" | "disabled" | "unverified" | "error";
1790
1847
  declare interface PlanComponent {
1848
+ /** Optional QR/barcode encoding configuration; no encoder is loaded by the core. */
1849
+ code?: CodeOptions;
1850
+ /** Template-only binding; resolved and removed before constructing the output plan. */
1851
+ binding?: ComponentBinding;
1791
1852
  /** Template page furniture repeats per page and reserves its vertical band. */
1792
1853
  pageAnchor?: "header" | "footer";
1793
1854
  kind: ComponentKind;
@@ -1812,6 +1873,10 @@ declare interface PlanComponent {
1812
1873
  fallbackText?: string;
1813
1874
  }
1814
1875
  declare interface PlanComponent_2 {
1876
+ /** Optional QR/barcode encoding configuration; no encoder is loaded by the core. */
1877
+ code?: CodeOptions_2;
1878
+ /** Template-only binding; resolved and removed before constructing the output plan. */
1879
+ binding?: ComponentBinding_2;
1815
1880
  /** Template page furniture repeats per page and reserves its vertical band. */
1816
1881
  pageAnchor?: "header" | "footer";
1817
1882
  kind: ComponentKind_2;
@@ -1836,6 +1901,10 @@ declare interface PlanComponent_2 {
1836
1901
  fallbackText?: string;
1837
1902
  }
1838
1903
  declare interface PlanComponent_3 {
1904
+ /** Optional QR/barcode encoding configuration; no encoder is loaded by the core. */
1905
+ code?: CodeOptions_3;
1906
+ /** Template-only binding; resolved and removed before constructing the output plan. */
1907
+ binding?: ComponentBinding_3;
1839
1908
  /** Template page furniture repeats per page and reserves its vertical band. */
1840
1909
  pageAnchor?: "header" | "footer";
1841
1910
  kind: ComponentKind_3;
@@ -2516,7 +2585,7 @@ export declare interface ReportSection {
2516
2585
  declare interface ReportTaskEvent {
2517
2586
  taskId: string;
2518
2587
  correlationId?: string;
2519
- stage: "query" | "validate" | "layout" | "encode";
2588
+ stage: "query" | "validate" | "layout" | "assets" | "encode";
2520
2589
  status: "started" | "completed" | "failed";
2521
2590
  reportId?: string;
2522
2591
  completed?: number;
@@ -2532,18 +2601,24 @@ declare interface ReportTemplate {
2532
2601
  schemaVersion?: string;
2533
2602
  /** 参数定义(可选;宿主也可经 ReportPreview 的 paramDefs prop 提供,prop 优先) */
2534
2603
  params?: ReportParamDef_2[];
2604
+ /** Fixed label pages repeat in record → copy → template-page order. */
2605
+ repeat?: ReportTemplateRepeat;
2535
2606
  pages: TemplatePage[];
2536
2607
  }
2537
2608
  declare interface ReportTemplate_2 {
2538
2609
  schemaVersion?: string;
2539
2610
  /** 参数定义(可选;宿主也可经 ReportPreview 的 paramDefs prop 提供,prop 优先) */
2540
2611
  params?: ReportParamDef[];
2612
+ /** Fixed label pages repeat in record → copy → template-page order. */
2613
+ repeat?: ReportTemplateRepeat_2;
2541
2614
  pages: TemplatePage_2[];
2542
2615
  }
2543
2616
  declare interface ReportTemplate_3 {
2544
2617
  schemaVersion?: string;
2545
2618
  /** 参数定义(可选;宿主也可经 ReportPreview 的 paramDefs prop 提供,prop 优先) */
2546
2619
  params?: ReportParamDef_3[];
2620
+ /** Fixed label pages repeat in record → copy → template-page order. */
2621
+ repeat?: ReportTemplateRepeat_3;
2547
2622
  pages: TemplatePage_3[];
2548
2623
  }
2549
2624
  /** 可存入数据库/文件的纯 JSON 模板;数据、接口与鉴权仍由宿主提供。 */
@@ -2565,6 +2640,33 @@ declare interface ReportTemplateProvider {
2565
2640
  signal?: AbortSignal;
2566
2641
  }): Promise<ReportTemplateDocument | undefined>;
2567
2642
  }
2643
+ /** Every record emits its copies, each containing all template pages in their original order. */
2644
+ declare interface ReportTemplateRepeat {
2645
+ dataset: string;
2646
+ rowKey?: string;
2647
+ /** Whole copies per record, 1..1000. The field value must be a number, never a numeric string. */
2648
+ copies?: number | {
2649
+ field: string;
2650
+ };
2651
+ }
2652
+ /** Every record emits its copies, each containing all template pages in their original order. */
2653
+ declare interface ReportTemplateRepeat_2 {
2654
+ dataset: string;
2655
+ rowKey?: string;
2656
+ /** Whole copies per record, 1..1000. The field value must be a number, never a numeric string. */
2657
+ copies?: number | {
2658
+ field: string;
2659
+ };
2660
+ }
2661
+ /** Every record emits its copies, each containing all template pages in their original order. */
2662
+ declare interface ReportTemplateRepeat_3 {
2663
+ dataset: string;
2664
+ rowKey?: string;
2665
+ /** Whole copies per record, 1..1000. The field value must be a number, never a numeric string. */
2666
+ copies?: number | {
2667
+ field: string;
2668
+ };
2669
+ }
2568
2670
  declare type ReportTemplateSummary = Omit<ReportTemplateDocument, "template">;
2569
2671
  export declare const ReportToolbar: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2570
2672
  /** 新消息保持可选,旧的完整文案对象也能获得新增能力的默认文案。 */
@@ -2868,6 +2970,12 @@ export declare function useZoom(getFitInputs: () => {
2868
2970
  applyFitZoom: () => void;
2869
2971
  setZoom: (mode: "fit" | number) => void;
2870
2972
  };
2973
+ /** The same declarative formatting used by list columns, before any output backend. */
2974
+ declare type ValueFormat = ColumnFormat;
2975
+ /** The same declarative formatting used by list columns, before any output backend. */
2976
+ declare type ValueFormat_2 = ColumnFormat_2;
2977
+ /** The same declarative formatting used by list columns, before any output backend. */
2978
+ declare type ValueFormat_3 = ColumnFormat_3;
2871
2979
  declare interface XlsxImageOptions {
2872
2980
  /** Decoded bytes per unique embedded image; default 16 MiB. */
2873
2981
  maxImageBytes?: number;
@@ -160,8 +160,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
160
160
  cause?: unknown;
161
161
  } | undefined) => any;
162
162
  warning: (message: string) => any;
163
- task: (task: Readonly<ReportPreviewTask>) => any;
164
163
  diagnostic: (diagnostic: Readonly<ReportPreviewDiagnostic>) => any;
164
+ task: (task: Readonly<ReportPreviewTask>) => any;
165
165
  loaded: (pageCount: number) => any;
166
166
  "cell-edit": (edit: ReportCellEdit_2) => any;
167
167
  "template-import": (result: ExcelImportResult) => any;
@@ -281,8 +281,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
281
281
  cause?: unknown;
282
282
  } | undefined) => any) | undefined;
283
283
  onWarning?: ((message: string) => any) | undefined;
284
- onTask?: ((task: Readonly<ReportPreviewTask>) => any) | undefined;
285
284
  onDiagnostic?: ((diagnostic: Readonly<ReportPreviewDiagnostic>) => any) | undefined;
285
+ onTask?: ((task: Readonly<ReportPreviewTask>) => any) | undefined;
286
286
  onLoaded?: ((pageCount: number) => any) | undefined;
287
287
  "onCell-edit"?: ((edit: ReportCellEdit_2) => any) | undefined;
288
288
  "onTemplate-import"?: ((result: ExcelImportResult) => any) | undefined;
@@ -293,8 +293,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
293
293
  output: ReportOutputOptions;
294
294
  height: string;
295
295
  gapPx: number;
296
- reportId: string | string[] | null;
297
296
  assets: AssetRenderOptions;
297
+ reportId: string | string[] | null;
298
298
  debug: boolean;
299
299
  showExport: boolean;
300
300
  showPrint: boolean;
@@ -474,6 +474,39 @@ export declare function buildWordHtml(p: RenderPlan): {
474
474
  html: string;
475
475
  filename: string;
476
476
  };
477
+ /** Serializable symbol settings. Encoders remain in the optional /codes entry. */
478
+ declare interface CodeOptions {
479
+ /** Explicit content, including an empty value, takes precedence over legacy fallbackText. */
480
+ value?: string;
481
+ symbology?: "code128" | "code39" | "ean13" | "ean8";
482
+ errorCorrection?: "L" | "M" | "Q" | "H";
483
+ /** White modules around a symbol: QR >=4, linear >=10, EAN >=11. */
484
+ quietZoneModules?: number;
485
+ /** Human-readable content below a linear barcode. */
486
+ showText?: boolean;
487
+ }
488
+ /** Serializable symbol settings. Encoders remain in the optional /codes entry. */
489
+ declare interface CodeOptions_2 {
490
+ /** Explicit content, including an empty value, takes precedence over legacy fallbackText. */
491
+ value?: string;
492
+ symbology?: "code128" | "code39" | "ean13" | "ean8";
493
+ errorCorrection?: "L" | "M" | "Q" | "H";
494
+ /** White modules around a symbol: QR >=4, linear >=10, EAN >=11. */
495
+ quietZoneModules?: number;
496
+ /** Human-readable content below a linear barcode. */
497
+ showText?: boolean;
498
+ }
499
+ /** Serializable symbol settings. Encoders remain in the optional /codes entry. */
500
+ declare interface CodeOptions_3 {
501
+ /** Explicit content, including an empty value, takes precedence over legacy fallbackText. */
502
+ value?: string;
503
+ symbology?: "code128" | "code39" | "ean13" | "ean8";
504
+ errorCorrection?: "L" | "M" | "Q" | "H";
505
+ /** White modules around a symbol: QR >=4, linear >=10, EAN >=11. */
506
+ quietZoneModules?: number;
507
+ /** Human-readable content below a linear barcode. */
508
+ showText?: boolean;
509
+ }
477
510
  /**
478
511
  * 列值格式化(声明式、JSON 可序列化)。
479
512
  * 在 paginate 的 cellText 出口统一消费:格式化发生在进 RenderPlan 之前,
@@ -540,6 +573,30 @@ declare type ColumnFormat_3 = {
540
573
  kind: "date";
541
574
  pattern?: string;
542
575
  };
576
+ /** A literal own field of the current label record; expressions and paths are not evaluated. */
577
+ declare interface ComponentBinding {
578
+ field: string;
579
+ format?: ValueFormat;
580
+ prefix?: string;
581
+ suffix?: string;
582
+ emptyText?: string;
583
+ }
584
+ /** A literal own field of the current label record; expressions and paths are not evaluated. */
585
+ declare interface ComponentBinding_2 {
586
+ field: string;
587
+ format?: ValueFormat_2;
588
+ prefix?: string;
589
+ suffix?: string;
590
+ emptyText?: string;
591
+ }
592
+ /** A literal own field of the current label record; expressions and paths are not evaluated. */
593
+ declare interface ComponentBinding_3 {
594
+ field: string;
595
+ format?: ValueFormat_3;
596
+ prefix?: string;
597
+ suffix?: string;
598
+ emptyText?: string;
599
+ }
543
600
  declare interface ComponentImageContext {
544
601
  readonly component: Readonly<PlanComponent>;
545
602
  readonly pageIndex: number;
@@ -915,7 +972,7 @@ declare interface ListColumn {
915
972
  /** 独立的表头样式,优先于列表级表头样式。 */
916
973
  headerStyle?: ComponentStyle_2;
917
974
  /** 值格式化(声明式):千分位/小数位、百分比、日期 pattern */
918
- format?: ColumnFormat;
975
+ format?: ColumnFormat_2;
919
976
  /** 条件格式规则(声明式,命中合并进单元格样式;如负数红字) */
920
977
  rules?: StyleRule[];
921
978
  /** 内容列编辑控制;仍需由预览显式开启 editing,不影响表头/小计只读规则。 */
@@ -940,7 +997,7 @@ declare interface ListColumn_2 {
940
997
  /** 独立的表头样式,优先于列表级表头样式。 */
941
998
  headerStyle?: ComponentStyle;
942
999
  /** 值格式化(声明式):千分位/小数位、百分比、日期 pattern */
943
- format?: ColumnFormat_2;
1000
+ format?: ColumnFormat;
944
1001
  /** 条件格式规则(声明式,命中合并进单元格样式;如负数红字) */
945
1002
  rules?: StyleRule_2[];
946
1003
  /** 内容列编辑控制;仍需由预览显式开启 editing,不影响表头/小计只读规则。 */
@@ -1788,6 +1845,10 @@ export declare interface PdfFontCheckResult {
1788
1845
  /** available 仅表示字体资源可达;实际导出仍会校验文字能否编码。 */
1789
1846
  export declare type PdfFontStatus = "unchecked" | "checking" | "available" | "disabled" | "unverified" | "error";
1790
1847
  declare interface PlanComponent {
1848
+ /** Optional QR/barcode encoding configuration; no encoder is loaded by the core. */
1849
+ code?: CodeOptions;
1850
+ /** Template-only binding; resolved and removed before constructing the output plan. */
1851
+ binding?: ComponentBinding;
1791
1852
  /** Template page furniture repeats per page and reserves its vertical band. */
1792
1853
  pageAnchor?: "header" | "footer";
1793
1854
  kind: ComponentKind;
@@ -1812,6 +1873,10 @@ declare interface PlanComponent {
1812
1873
  fallbackText?: string;
1813
1874
  }
1814
1875
  declare interface PlanComponent_2 {
1876
+ /** Optional QR/barcode encoding configuration; no encoder is loaded by the core. */
1877
+ code?: CodeOptions_2;
1878
+ /** Template-only binding; resolved and removed before constructing the output plan. */
1879
+ binding?: ComponentBinding_2;
1815
1880
  /** Template page furniture repeats per page and reserves its vertical band. */
1816
1881
  pageAnchor?: "header" | "footer";
1817
1882
  kind: ComponentKind_2;
@@ -1836,6 +1901,10 @@ declare interface PlanComponent_2 {
1836
1901
  fallbackText?: string;
1837
1902
  }
1838
1903
  declare interface PlanComponent_3 {
1904
+ /** Optional QR/barcode encoding configuration; no encoder is loaded by the core. */
1905
+ code?: CodeOptions_3;
1906
+ /** Template-only binding; resolved and removed before constructing the output plan. */
1907
+ binding?: ComponentBinding_3;
1839
1908
  /** Template page furniture repeats per page and reserves its vertical band. */
1840
1909
  pageAnchor?: "header" | "footer";
1841
1910
  kind: ComponentKind_3;
@@ -2516,7 +2585,7 @@ export declare interface ReportSection {
2516
2585
  declare interface ReportTaskEvent {
2517
2586
  taskId: string;
2518
2587
  correlationId?: string;
2519
- stage: "query" | "validate" | "layout" | "encode";
2588
+ stage: "query" | "validate" | "layout" | "assets" | "encode";
2520
2589
  status: "started" | "completed" | "failed";
2521
2590
  reportId?: string;
2522
2591
  completed?: number;
@@ -2532,18 +2601,24 @@ declare interface ReportTemplate {
2532
2601
  schemaVersion?: string;
2533
2602
  /** 参数定义(可选;宿主也可经 ReportPreview 的 paramDefs prop 提供,prop 优先) */
2534
2603
  params?: ReportParamDef_2[];
2604
+ /** Fixed label pages repeat in record → copy → template-page order. */
2605
+ repeat?: ReportTemplateRepeat;
2535
2606
  pages: TemplatePage[];
2536
2607
  }
2537
2608
  declare interface ReportTemplate_2 {
2538
2609
  schemaVersion?: string;
2539
2610
  /** 参数定义(可选;宿主也可经 ReportPreview 的 paramDefs prop 提供,prop 优先) */
2540
2611
  params?: ReportParamDef[];
2612
+ /** Fixed label pages repeat in record → copy → template-page order. */
2613
+ repeat?: ReportTemplateRepeat_2;
2541
2614
  pages: TemplatePage_2[];
2542
2615
  }
2543
2616
  declare interface ReportTemplate_3 {
2544
2617
  schemaVersion?: string;
2545
2618
  /** 参数定义(可选;宿主也可经 ReportPreview 的 paramDefs prop 提供,prop 优先) */
2546
2619
  params?: ReportParamDef_3[];
2620
+ /** Fixed label pages repeat in record → copy → template-page order. */
2621
+ repeat?: ReportTemplateRepeat_3;
2547
2622
  pages: TemplatePage_3[];
2548
2623
  }
2549
2624
  /** 可存入数据库/文件的纯 JSON 模板;数据、接口与鉴权仍由宿主提供。 */
@@ -2565,6 +2640,33 @@ declare interface ReportTemplateProvider {
2565
2640
  signal?: AbortSignal;
2566
2641
  }): Promise<ReportTemplateDocument | undefined>;
2567
2642
  }
2643
+ /** Every record emits its copies, each containing all template pages in their original order. */
2644
+ declare interface ReportTemplateRepeat {
2645
+ dataset: string;
2646
+ rowKey?: string;
2647
+ /** Whole copies per record, 1..1000. The field value must be a number, never a numeric string. */
2648
+ copies?: number | {
2649
+ field: string;
2650
+ };
2651
+ }
2652
+ /** Every record emits its copies, each containing all template pages in their original order. */
2653
+ declare interface ReportTemplateRepeat_2 {
2654
+ dataset: string;
2655
+ rowKey?: string;
2656
+ /** Whole copies per record, 1..1000. The field value must be a number, never a numeric string. */
2657
+ copies?: number | {
2658
+ field: string;
2659
+ };
2660
+ }
2661
+ /** Every record emits its copies, each containing all template pages in their original order. */
2662
+ declare interface ReportTemplateRepeat_3 {
2663
+ dataset: string;
2664
+ rowKey?: string;
2665
+ /** Whole copies per record, 1..1000. The field value must be a number, never a numeric string. */
2666
+ copies?: number | {
2667
+ field: string;
2668
+ };
2669
+ }
2568
2670
  declare type ReportTemplateSummary = Omit<ReportTemplateDocument, "template">;
2569
2671
  export declare const ReportToolbar: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2570
2672
  /** 新消息保持可选,旧的完整文案对象也能获得新增能力的默认文案。 */
@@ -2868,6 +2970,12 @@ export declare function useZoom(getFitInputs: () => {
2868
2970
  applyFitZoom: () => void;
2869
2971
  setZoom: (mode: "fit" | number) => void;
2870
2972
  };
2973
+ /** The same declarative formatting used by list columns, before any output backend. */
2974
+ declare type ValueFormat = ColumnFormat;
2975
+ /** The same declarative formatting used by list columns, before any output backend. */
2976
+ declare type ValueFormat_2 = ColumnFormat_2;
2977
+ /** The same declarative formatting used by list columns, before any output backend. */
2978
+ declare type ValueFormat_3 = ColumnFormat_3;
2871
2979
  declare interface XlsxImageOptions {
2872
2980
  /** Decoded bytes per unique embedded image; default 16 MiB. */
2873
2981
  maxImageBytes?: number;
@@ -1,7 +1,7 @@
1
1
  import { a as ve, w as Ke, o as He, f as er } from "./progress-7OSZbFok.js";
2
2
  import { c as Kt, g as pr } from "./_commonjsHelpers-DaMA6jEr.js";
3
3
  import { R as mr } from "./render-plan-Ck6koX9L.js";
4
- import { o as Ze, s as lr, r as br, t as Ge, u as gr, w as yr, x as vr, y as wr, q as _r } from "./region-binding-workflow-CXDmt9Bs.js";
4
+ import { o as Ze, s as lr, r as br, t as Ge, u as gr, w as yr, x as vr, y as wr, q as _r } from "./region-binding-workflow-CcUq8W2Q.js";
5
5
  import { f as xr } from "./number-format-BA_KwrZe.js";
6
6
  function Ue(Q) {
7
7
  throw new Error('Could not dynamically require "' + Q + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');