@agile-team/mach-report 2.25.2 → 2.26.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 +12 -8
- package/dist/ExcelBindingWizard-B418l44t.js +1578 -0
- package/dist/ExcelBindingWizard-C4FGVsY_.cjs +1 -0
- package/dist/{ParamEditor-CGfaweYX.cjs → ParamEditor-BemJE8n8.cjs} +1 -1
- package/dist/{ParamEditor-B7YVD28E.js → ParamEditor-XvMtf_XQ.js} +2 -2
- package/dist/{ReportBatchPanel-BRJt0TXp.cjs → ReportBatchPanel-CbY4fvXD.cjs} +1 -1
- package/dist/{ReportBatchPanel-BTKHtLTW.js → ReportBatchPanel-Ds0R_uXn.js} +37 -37
- package/dist/{ReportLabelStudio-BvK_WBke.cjs → ReportLabelStudio-DuTwN5er.cjs} +1 -1
- package/dist/{ReportLabelStudio-CZwqyO3t.js → ReportLabelStudio-ZFy79eRv.js} +26 -26
- package/dist/ReportParamPanel-Chxu4MTx.cjs +1 -0
- package/dist/{ReportParamPanel-DGXzBzl2.js → ReportParamPanel-Czm3OPo_.js} +216 -205
- package/dist/{ReportPreview-D1ZC5kzz.js → ReportPreview-C9c0Rp7Y.js} +2938 -2875
- package/dist/ReportPreview-CIMR4ERo.cjs +6 -0
- package/dist/{ReportTemplateLibrary-ClwxhnC0.cjs → ReportTemplateLibrary-C6lByc69.cjs} +1 -1
- package/dist/{ReportTemplateLibrary-C7sB0Jay.js → ReportTemplateLibrary-XJVoTDIz.js} +1 -1
- package/dist/{RuleEditor-CsDGFaWz.js → RuleEditor-CeNFPeOc.js} +5 -5
- package/dist/{RuleEditor-D-OdaGdR.cjs → RuleEditor-gggUkEwB.cjs} +1 -1
- package/dist/{TemplateOutlinePanel-DAqR9zQi.cjs → TemplateOutlinePanel-B0e-umq2.cjs} +1 -1
- package/dist/{TemplateOutlinePanel-CXOT7d1r.js → TemplateOutlinePanel-BWN4Y9iz.js} +2 -2
- package/dist/{TemplateReusePanel-Dcfx3Hba.js → TemplateReusePanel-CR-4OHoU.js} +2 -2
- package/dist/{TemplateReusePanel-ygIi-Ajz.cjs → TemplateReusePanel-Cthig1S1.cjs} +1 -1
- package/dist/{TemplateReviewPanel-COU8FqPq.js → TemplateReviewPanel-BkWzyNL4.js} +2 -2
- package/dist/{TemplateReviewPanel-DyGULVxr.cjs → TemplateReviewPanel-D8o2gDaK.cjs} +1 -1
- package/dist/analytics.cjs +1 -1
- package/dist/analytics.js +5 -5
- package/dist/artifact-integrity.json +106 -102
- package/dist/{assets-C4MIvzQ4.js → assets-BFTP-0WR.js} +2 -2
- package/dist/{assets-BYdpkTIt.cjs → assets-CZiZhTf2.cjs} +1 -1
- package/dist/{auto-j7mr8Kvc.js → auto-C7udkeAa.js} +20 -19
- package/dist/auto-CXd2E2aZ.cjs +1 -0
- package/dist/capabilities-D8UU2clQ.cjs +1 -0
- package/dist/{capabilities-CN_kSVjO.js → capabilities-g0a2j9Yy.js} +50 -46
- package/dist/{charts-Cjw5AYkg.cjs → charts-D-Vg-ak9.cjs} +1 -1
- package/dist/{charts-CxJZ0XaY.js → charts-D48XCefN.js} +1 -1
- package/dist/computed-BQgBrma-.cjs +1 -0
- package/dist/{computed-f3pOqWLX.js → computed-CH3NYPOW.js} +198 -188
- package/dist/{data-bar-Bfh54sT4.js → data-bar-DjOgTLqu.js} +1 -1
- package/dist/{dataset-DL83majE.js → dataset-B8oTsC6o.js} +69 -66
- package/dist/dataset-D3OsyzG1.cjs +1 -0
- package/dist/designer-COuSUxZ1.cjs +2 -0
- package/dist/designer-CT4mlrr0.js +7997 -0
- package/dist/designer.cjs +1 -1
- package/dist/designer.d.cts +83 -4
- package/dist/designer.d.ts +83 -4
- package/dist/designer.js +4 -4
- package/dist/{diagnostic-collector-gB07PHy2.js → diagnostic-collector-C-JBA016.js} +2 -2
- package/dist/dom-DgWc-DY1.js +452 -0
- package/dist/dom-Fk4NF-gN.cjs +1 -0
- package/dist/{encoding-BWEMdzFG.js → encoding-D480EM2r.js} +2 -2
- package/dist/{encoding-DVea2qIR.cjs → encoding-tWc2Wn89.cjs} +1 -1
- package/dist/execution-result-7sG_mdcD.cjs +1 -0
- package/dist/execution-result-Ba65gieT.js +39 -0
- package/dist/{font-loader-p_SyTvqt.cjs → font-loader-BIxme_9g.cjs} +1 -1
- package/dist/{font-loader-D4NLIKJL.js → font-loader-CHmEwkHl.js} +1 -1
- package/dist/{grid-strokes-DkZEZvcI.js → grid-strokes-DsoICRjZ.js} +1 -1
- package/dist/import-range-BwT86Z3j.cjs +1 -0
- package/dist/import-range-D9p_blcb.js +98 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +25 -25
- package/dist/{json-snapshot-DdzALe8q.js → json-snapshot-BZ0CIQln.js} +1041 -887
- package/dist/json-snapshot-DGFeI30h.cjs +2 -0
- package/dist/{matrix-b6T291xo.js → matrix-CB9TqTEy.js} +1 -1
- package/dist/{matrix-DUYPRL7t.cjs → matrix-CcqYOuq_.cjs} +1 -1
- package/dist/{pdf-DU8HelKd.js → pdf-DTR7fAIr.js} +3596 -3517
- package/dist/{pdf-C060D5UY.cjs → pdf-d9oJ6V0P.cjs} +49 -49
- package/dist/pdf.cjs +1 -1
- package/dist/pdf.js +2 -2
- package/dist/{plugin-D5BRHlne.cjs → plugin-B7Bi-1te.cjs} +1 -1
- package/dist/{plugin-FWhTnjr0.js → plugin-OKDFQFS4.js} +1 -1
- package/dist/{prefill-m01IM1hl.js → prefill-C8fF91JB.js} +3 -3
- package/dist/{prefill-DZymomY6.cjs → prefill-C_Bf_AMo.cjs} +1 -1
- package/dist/{prepared-BHu8bIdj.cjs → prepared-BLhV7vdE.cjs} +1 -1
- package/dist/{prepared-DO5pe6Ed.js → prepared-DhgQ0d-h.js} +7 -7
- package/dist/protocol-CZ-BILne.cjs +1 -0
- package/dist/{protocol-CZddmu2n.js → protocol-DHO91-Jt.js} +3 -3
- package/dist/{record-bindings-Cv7lFiof.js → record-bindings-DBrCu6zO.js} +3 -3
- package/dist/{record-bindings-B7djSjNs.cjs → record-bindings-KEs-DKCS.cjs} +1 -1
- package/dist/region-binding-workflow-FSyIZge8.js +882 -0
- package/dist/region-binding-workflow-ikpY1Kbw.cjs +3 -0
- package/dist/report-encoding-worker.cjs +1 -1
- package/dist/report-encoding-worker.js +1 -1
- package/dist/rich-text-layout-BYbIc3eJ.cjs +3 -0
- package/dist/rich-text-layout-BtygMWZC.js +96 -0
- package/dist/runtime-B5HG8poy.cjs +1 -0
- package/dist/runtime-BsvAqz4a.js +204 -0
- package/dist/sbom.cdx.json +1 -1
- package/dist/server-node.cjs +5 -5
- package/dist/server-node.js +2049 -1889
- package/dist/server.cjs +1 -1
- package/dist/server.d.cts +35 -0
- package/dist/server.d.ts +35 -0
- package/dist/server.js +340 -328
- package/dist/style.css +1 -1
- package/dist/{template-catalog-DLu814zA.js → template-catalog-BbrN9dgu.js} +5 -5
- package/dist/{template-catalog-Lil5Ryt-.cjs → template-catalog-DDH-5J57.cjs} +1 -1
- package/dist/{template-fragments-BDxdCuMD.js → template-fragments-CUTE8-_I.js} +3 -3
- package/dist/{template-fragments-DbKdxI1z.cjs → template-fragments-cyAQu7aw.cjs} +1 -1
- package/dist/{template-registry-B-AK1oam.cjs → template-registry-D24Z8aQf.cjs} +1 -1
- package/dist/{template-registry-DeVgwEZj.js → template-registry-PSuLsnyq.js} +4 -4
- package/dist/{template-serialization-CqQY4zDg.cjs → template-serialization-BOUidUlh.cjs} +1 -1
- package/dist/{template-serialization-CWmHq7lX.js → template-serialization-BgGWYV_1.js} +1 -1
- package/dist/{textwrap-BywMBMXM.js → textwrap-Bt_tnI6V.js} +1 -1
- package/dist/vue/async.d.cts +46 -3
- package/dist/vue/async.d.ts +46 -3
- package/dist/vue/index.d.cts +215 -24
- package/dist/vue/index.d.ts +215 -24
- package/dist/vue-async.cjs +1 -1
- package/dist/vue-async.js +3 -3
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +433 -202
- package/dist/workbook-session-BJfZVp4q.cjs +29 -0
- package/dist/{workbook-session-B6hRjTyX.js → workbook-session-DRnMjIFK.js} +2377 -2350
- package/dist/worker.cjs +1 -1
- package/dist/worker.js +4 -4
- package/dist/xlsx.cjs +1 -1
- package/dist/xlsx.d.cts +27 -2
- package/dist/xlsx.d.ts +27 -2
- package/dist/xlsx.js +15 -15
- package/package.json +1 -1
- package/dist/ExcelBindingWizard-bs3F4dD8.js +0 -1486
- package/dist/ExcelBindingWizard-jSdjBtWw.cjs +0 -1
- package/dist/ReportParamPanel-B27IGJjk.cjs +0 -1
- package/dist/ReportPreview-DAU-V3Ov.cjs +0 -6
- package/dist/auto-DjmvmcX-.cjs +0 -1
- package/dist/capabilities-D4nfhcvB.cjs +0 -1
- package/dist/computed-DK6BruFz.cjs +0 -1
- package/dist/dataset-IrlXbUvh.cjs +0 -1
- package/dist/designer-B597ZdC0.js +0 -7595
- package/dist/designer-DFIdv_n7.cjs +0 -2
- package/dist/dom-CXWMmwh-.cjs +0 -1
- package/dist/dom-DxdCMLzs.js +0 -452
- package/dist/json-snapshot-L_gJ7KRS.cjs +0 -2
- package/dist/protocol-CymmHWmL.cjs +0 -1
- package/dist/region-binding-workflow-EYxvUYJ-.js +0 -977
- package/dist/region-binding-workflow-NdkMSFCh.cjs +0 -3
- package/dist/rich-text-layout-Ch_N0Ubu.js +0 -52
- package/dist/rich-text-layout-yJGuThtC.cjs +0 -3
- package/dist/runtime-D8AlfJ6S.js +0 -234
- package/dist/runtime-ywf3oLBR.cjs +0 -1
- package/dist/workbook-session-BclW7KKH.cjs +0 -29
package/dist/vue/index.d.cts
CHANGED
|
@@ -378,7 +378,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
378
378
|
paramDefs: ReportParamDef[] | undefined;
|
|
379
379
|
fetcher: PlanFetcher | null;
|
|
380
380
|
}>;
|
|
381
|
-
declare const __VLS_component_2: DefineComponent<
|
|
381
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {
|
|
382
382
|
focusSearch: () => void;
|
|
383
383
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
384
384
|
export: (format: ReportExportFormat) => any;
|
|
@@ -392,7 +392,7 @@ declare const __VLS_component_2: DefineComponent<__VLS_Props, {
|
|
|
392
392
|
"thumbs-toggle": () => any;
|
|
393
393
|
"import-excel": () => any;
|
|
394
394
|
"settings-toggle": () => any;
|
|
395
|
-
}, string, MachReportVuePublicProps, Readonly<
|
|
395
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
396
396
|
onExport?: ((format: ReportExportFormat) => any) | undefined;
|
|
397
397
|
onZoom?: ((mode: number | "fit") => any) | undefined;
|
|
398
398
|
onPrint?: (() => any) | undefined;
|
|
@@ -411,6 +411,12 @@ declare const __VLS_component_2: DefineComponent<__VLS_Props, {
|
|
|
411
411
|
exportFormats: readonly ReportExportFormat[];
|
|
412
412
|
}>;
|
|
413
413
|
declare type __VLS_Props = {
|
|
414
|
+
source: ReportDocumentSource;
|
|
415
|
+
height?: string;
|
|
416
|
+
messages?: Partial<MachReportMessages>;
|
|
417
|
+
preset?: string;
|
|
418
|
+
};
|
|
419
|
+
declare type __VLS_Props_2 = {
|
|
414
420
|
pageCount: number;
|
|
415
421
|
currentPage: number;
|
|
416
422
|
zoomMode: "fit" | "raw";
|
|
@@ -438,13 +444,13 @@ declare type __VLS_Props = {
|
|
|
438
444
|
/** Standalone toolbar escape hatch; ReportPreview renders pagination in its footer. */
|
|
439
445
|
showPagination?: boolean;
|
|
440
446
|
};
|
|
441
|
-
declare type
|
|
447
|
+
declare type __VLS_Props_3 = {
|
|
442
448
|
pageCount: number;
|
|
443
449
|
currentPage: number;
|
|
444
450
|
messages: MachReportMessages;
|
|
445
451
|
busy?: boolean;
|
|
446
452
|
};
|
|
447
|
-
declare type
|
|
453
|
+
declare type __VLS_Props_4 = {
|
|
448
454
|
defs: ReportParamDef[];
|
|
449
455
|
modelValue: Record<string, string>;
|
|
450
456
|
messages: MachReportMessages;
|
|
@@ -457,21 +463,21 @@ declare type __VLS_Props_3 = {
|
|
|
457
463
|
disabled?: boolean;
|
|
458
464
|
loadOptions?: ReportParamOptionsLoader;
|
|
459
465
|
};
|
|
460
|
-
declare type
|
|
466
|
+
declare type __VLS_Props_5 = {
|
|
461
467
|
issues: readonly ReportValidationIssue[];
|
|
462
468
|
messages?: Partial<ReportValidationPanelMessages>;
|
|
463
469
|
plan?: RenderPlan | null;
|
|
464
470
|
busy?: boolean;
|
|
465
471
|
};
|
|
466
|
-
declare type
|
|
472
|
+
declare type __VLS_Props_6 = {
|
|
467
473
|
state: ReportPrefillState;
|
|
468
474
|
messages: ReportDataReviewMessages;
|
|
469
475
|
};
|
|
470
|
-
declare type
|
|
476
|
+
declare type __VLS_Props_7 = {
|
|
471
477
|
state: ReportDataComparisonState;
|
|
472
478
|
messages: ReportDataReviewMessages;
|
|
473
479
|
};
|
|
474
|
-
declare type
|
|
480
|
+
declare type __VLS_Props_8 = {
|
|
475
481
|
messages: MachReportMessages;
|
|
476
482
|
formats?: readonly ReportExportFormat[];
|
|
477
483
|
busy?: boolean;
|
|
@@ -483,7 +489,7 @@ declare type __VLS_Props_7 = {
|
|
|
483
489
|
disabled?: boolean;
|
|
484
490
|
}[];
|
|
485
491
|
};
|
|
486
|
-
declare type
|
|
492
|
+
declare type __VLS_Props_9 = {
|
|
487
493
|
task: Readonly<ReportPreviewTask> | null;
|
|
488
494
|
messages?: MachReportMessages;
|
|
489
495
|
};
|
|
@@ -496,6 +502,11 @@ declare function __VLS_template(): {
|
|
|
496
502
|
messages: MachReportMessages;
|
|
497
503
|
}): any;
|
|
498
504
|
settings?(_: {}): any;
|
|
505
|
+
pagination?(_: {
|
|
506
|
+
pageCount: number;
|
|
507
|
+
currentPage: number;
|
|
508
|
+
gotoPage: typeof gotoPage;
|
|
509
|
+
}): any;
|
|
499
510
|
default?(_: {}): any;
|
|
500
511
|
};
|
|
501
512
|
};
|
|
@@ -631,6 +642,7 @@ export declare function buildWordHtml(p: RenderPlan_2): {
|
|
|
631
642
|
html: string;
|
|
632
643
|
filename: string;
|
|
633
644
|
};
|
|
645
|
+
declare function cancel(): void;
|
|
634
646
|
/** Serializable symbol settings. Encoders remain in the optional /codes entry. */
|
|
635
647
|
declare interface CodeOptions {
|
|
636
648
|
/** Explicit content, including an empty value, takes precedence over legacy fallbackText. */
|
|
@@ -1007,6 +1019,72 @@ declare interface DiagnosticSummary<T> {
|
|
|
1007
1019
|
readonly counts: Readonly<Record<string, number>>;
|
|
1008
1020
|
};
|
|
1009
1021
|
}
|
|
1022
|
+
/** Bounded detail window with exact occurrence totals. Unknown business codes beyond 128 buckets share `other`. */
|
|
1023
|
+
declare interface DiagnosticSummary_2<T> {
|
|
1024
|
+
readonly total: number;
|
|
1025
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
1026
|
+
readonly entries: readonly T[];
|
|
1027
|
+
readonly omitted: number;
|
|
1028
|
+
/** Business value explanations form a separate presentation channel, including omitted locations. */
|
|
1029
|
+
readonly explanations?: {
|
|
1030
|
+
readonly total: number;
|
|
1031
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
1032
|
+
};
|
|
1033
|
+
}
|
|
1034
|
+
/** Bounded detail window with exact occurrence totals. Unknown business codes beyond 128 buckets share `other`. */
|
|
1035
|
+
declare interface DiagnosticSummary_3<T> {
|
|
1036
|
+
readonly total: number;
|
|
1037
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
1038
|
+
readonly entries: readonly T[];
|
|
1039
|
+
readonly omitted: number;
|
|
1040
|
+
/** Business value explanations form a separate presentation channel, including omitted locations. */
|
|
1041
|
+
readonly explanations?: {
|
|
1042
|
+
readonly total: number;
|
|
1043
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
declare interface ExcelImportDiagnostic extends ExcelImportDiagnosticLocation {
|
|
1047
|
+
code: ExcelImportDiagnosticCode;
|
|
1048
|
+
severity: "warning";
|
|
1049
|
+
message: string;
|
|
1050
|
+
}
|
|
1051
|
+
declare interface ExcelImportDiagnostic_2 extends ExcelImportDiagnosticLocation_2 {
|
|
1052
|
+
code: ExcelImportDiagnosticCode_2;
|
|
1053
|
+
severity: "warning";
|
|
1054
|
+
message: string;
|
|
1055
|
+
}
|
|
1056
|
+
declare type ExcelImportDiagnosticCode = "formula-shared" | "formula-cached" | "formula-result-missing" | "number-format" | "date-readonly" | "date-epoch" | "literal-placeholder" | "style-color" | "style-fill" | "style-border" | "style-alignment" | "font-decoration" | "rich-text-color" | "rich-text-decoration" | "hidden-column" | "hidden-row" | "paper-scale" | "hidden-sheet" | "protected-sheet" | "conditional-format" | "auto-filter" | "data-validation" | "image-omitted" | "image-segment" | "image-crop" | "image-transform" | "image-external" | "drawing-shape" | "chart" | "pivot" | "external-link" | "embedded-object";
|
|
1057
|
+
declare type ExcelImportDiagnosticCode_2 = "formula-shared" | "formula-cached" | "formula-result-missing" | "number-format" | "date-readonly" | "date-epoch" | "literal-placeholder" | "style-color" | "style-fill" | "style-border" | "style-alignment" | "font-decoration" | "rich-text-color" | "rich-text-decoration" | "hidden-column" | "hidden-row" | "paper-scale" | "hidden-sheet" | "protected-sheet" | "conditional-format" | "auto-filter" | "data-validation" | "image-omitted" | "image-segment" | "image-crop" | "image-transform" | "image-external" | "drawing-shape" | "chart" | "pivot" | "external-link" | "embedded-object";
|
|
1058
|
+
/** Original workbook coordinates, independent of preview segmentation. Rows/columns are one-based. */
|
|
1059
|
+
declare interface ExcelImportDiagnosticLocation {
|
|
1060
|
+
sheet?: string;
|
|
1061
|
+
range?: string;
|
|
1062
|
+
cell?: string;
|
|
1063
|
+
row?: number;
|
|
1064
|
+
column?: number;
|
|
1065
|
+
/** OOXML part when a workbook feature cannot safely be attributed to a sheet. */
|
|
1066
|
+
part?: string;
|
|
1067
|
+
}
|
|
1068
|
+
/** Original workbook coordinates, independent of preview segmentation. Rows/columns are one-based. */
|
|
1069
|
+
declare interface ExcelImportDiagnosticLocation_2 {
|
|
1070
|
+
sheet?: string;
|
|
1071
|
+
range?: string;
|
|
1072
|
+
cell?: string;
|
|
1073
|
+
row?: number;
|
|
1074
|
+
column?: number;
|
|
1075
|
+
/** OOXML part when a workbook feature cannot safely be attributed to a sheet. */
|
|
1076
|
+
part?: string;
|
|
1077
|
+
}
|
|
1078
|
+
declare interface ExcelImportDiagnostics {
|
|
1079
|
+
/** Bounded detail window (200); use summary counts for all feature occurrences. */
|
|
1080
|
+
diagnostics?: readonly ExcelImportDiagnostic[];
|
|
1081
|
+
diagnosticSummary?: DiagnosticSummary_2<ExcelImportDiagnostic>;
|
|
1082
|
+
}
|
|
1083
|
+
declare interface ExcelImportDiagnostics_2 {
|
|
1084
|
+
/** Bounded detail window (200); use summary counts for all feature occurrences. */
|
|
1085
|
+
diagnostics?: readonly ExcelImportDiagnostic_2[];
|
|
1086
|
+
diagnosticSummary?: DiagnosticSummary_3<ExcelImportDiagnostic_2>;
|
|
1087
|
+
}
|
|
1010
1088
|
declare interface ExcelImportedSheet {
|
|
1011
1089
|
name: string;
|
|
1012
1090
|
/** Original, one-based workbook position. */
|
|
@@ -1087,16 +1165,17 @@ declare interface ExcelImportOptions_2 extends OutputTaskOptions_3 {
|
|
|
1087
1165
|
/** Optional resource limits; hard ceilings prevent unbounded allocations. */
|
|
1088
1166
|
limits?: ExcelImportLimits_2;
|
|
1089
1167
|
}
|
|
1090
|
-
declare interface ExcelImportResult {
|
|
1168
|
+
declare interface ExcelImportResult extends ExcelImportDiagnostics {
|
|
1091
1169
|
template: ReportTemplate;
|
|
1092
1170
|
warnings: string[];
|
|
1093
1171
|
sheets: ExcelImportedSheet[];
|
|
1094
1172
|
}
|
|
1095
|
-
declare interface ExcelImportResult_2 {
|
|
1173
|
+
declare interface ExcelImportResult_2 extends ExcelImportDiagnostics_2 {
|
|
1096
1174
|
template: ReportTemplate_3;
|
|
1097
1175
|
warnings: string[];
|
|
1098
1176
|
sheets: ExcelImportedSheet_2[];
|
|
1099
1177
|
}
|
|
1178
|
+
declare function exportDocument(format: "pdf" | "xlsx"): Promise<ReportRuntimeExportResult>;
|
|
1100
1179
|
declare interface ExpressionOptions {
|
|
1101
1180
|
numeric?: "number" | "decimal";
|
|
1102
1181
|
digits?: number;
|
|
@@ -1141,6 +1220,8 @@ declare interface FormulaAdapter_2 {
|
|
|
1141
1220
|
rows: readonly Record<string, unknown>[];
|
|
1142
1221
|
}): unknown;
|
|
1143
1222
|
}
|
|
1223
|
+
declare function gotoPage(n: number): void;
|
|
1224
|
+
declare function gotoPage_2(page: number): Promise<void>;
|
|
1144
1225
|
declare interface GridCell {
|
|
1145
1226
|
/** Resolved visual only. Original value, text, editability and source are unchanged. */
|
|
1146
1227
|
dataBar?: {
|
|
@@ -1780,8 +1861,9 @@ export declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
1780
1861
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1781
1862
|
*/
|
|
1782
1863
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1783
|
-
export declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1864
|
+
export declare interface MachReportMessages extends Partial<ReportDocumentMessages>, Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1784
1865
|
previousSnapshot?: string;
|
|
1866
|
+
importOmitted?: string;
|
|
1785
1867
|
reviewTools?: string;
|
|
1786
1868
|
validationTitle?: string;
|
|
1787
1869
|
validationError?: string;
|
|
@@ -2519,6 +2601,24 @@ declare interface PlanTableFragment_3 {
|
|
|
2519
2601
|
rowKey?: string | number;
|
|
2520
2602
|
};
|
|
2521
2603
|
}
|
|
2604
|
+
declare interface PreparedReport {
|
|
2605
|
+
plan: RenderPlan;
|
|
2606
|
+
diagnostics: ReportDiagnostic_2[];
|
|
2607
|
+
/** Present when an explicit diagnosticLimit bounds the detail array. Totals include omitted locations. */
|
|
2608
|
+
diagnosticSummary?: DiagnosticSummary_2<ReportDiagnostic_2>;
|
|
2609
|
+
stats: ReportRuntimeStats;
|
|
2610
|
+
revisions: Record<string, {
|
|
2611
|
+
revision?: string;
|
|
2612
|
+
sourceToken?: string;
|
|
2613
|
+
}>;
|
|
2614
|
+
/** Ordered occurrences; legacy revisions remains last-value-by-ID for compatibility. */
|
|
2615
|
+
sources?: ReportRuntimeSource[];
|
|
2616
|
+
/** Captured metrics identity; absence on old saved instances remains supported with diagnostics. */
|
|
2617
|
+
layout?: {
|
|
2618
|
+
textMetrics: "heuristic" | "provided" | "font-bytes";
|
|
2619
|
+
fontFingerprint?: string;
|
|
2620
|
+
};
|
|
2621
|
+
}
|
|
2522
2622
|
/** Bounded concurrency, one stage timeout, and cancellation even for a hanging decoder. */
|
|
2523
2623
|
export declare function preparePrintResources(doc: Document, options?: ReportPrintOptions, signal?: AbortSignal, base?: string): Promise<void>;
|
|
2524
2624
|
declare interface PreviewEncoding {
|
|
@@ -2564,6 +2664,7 @@ export declare interface ProviderEditingOptions extends Pick<ReportEditingOption
|
|
|
2564
2664
|
sourceToken?: Current<string | undefined>;
|
|
2565
2665
|
onDiagnostic?(diagnostic: ReportDiagnostic): void;
|
|
2566
2666
|
}
|
|
2667
|
+
declare function reload(): Promise<void>;
|
|
2567
2668
|
declare interface RenderPlan {
|
|
2568
2669
|
schemaVersion: string;
|
|
2569
2670
|
/** 编辑需要模板重算上下文;跨 Worker/JSON 保留要求,但不声明本地会话可用。 */
|
|
@@ -2922,7 +3023,7 @@ declare interface ReportDataComparisonField {
|
|
|
2922
3023
|
zeroDenominator?: "omit" | "zero-if-equal";
|
|
2923
3024
|
missing?: "distinct" | "empty-equivalent" | "zero";
|
|
2924
3025
|
}
|
|
2925
|
-
export declare const ReportDataComparisonPanel: DefineComponent<
|
|
3026
|
+
export declare const ReportDataComparisonPanel: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, MachReportVuePublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}>;
|
|
2926
3027
|
export declare interface ReportDataComparisonReviewOptions extends ReportDataReviewSource {
|
|
2927
3028
|
fields: readonly ReportDataComparisonField[];
|
|
2928
3029
|
maxDifferences?: number;
|
|
@@ -3076,6 +3177,79 @@ declare interface ReportDiagnostic_2 extends Partial<Pick<OutputDiagnostic_2, "f
|
|
|
3076
3177
|
target?: ReportDataTarget_2;
|
|
3077
3178
|
}
|
|
3078
3179
|
export declare type ReportDiscardReason = "reload" | "import" | "replace" | "leave";
|
|
3180
|
+
export declare interface ReportDocumentExportRequest {
|
|
3181
|
+
version: string;
|
|
3182
|
+
format: "pdf" | "xlsx";
|
|
3183
|
+
signal?: AbortSignal;
|
|
3184
|
+
}
|
|
3185
|
+
declare interface ReportDocumentManifest {
|
|
3186
|
+
scope: string;
|
|
3187
|
+
id: string;
|
|
3188
|
+
version: string;
|
|
3189
|
+
/** CAS token increases after each append and completion. */
|
|
3190
|
+
revision: number;
|
|
3191
|
+
state: "building" | "complete" | "failed";
|
|
3192
|
+
failure?: {
|
|
3193
|
+
code: "cancelled" | "generation";
|
|
3194
|
+
message: string;
|
|
3195
|
+
};
|
|
3196
|
+
pageCount: number;
|
|
3197
|
+
bytes: number;
|
|
3198
|
+
plan: Omit<RenderPlan, "pages">;
|
|
3199
|
+
metadata?: Omit<PreparedReport, "plan">;
|
|
3200
|
+
}
|
|
3201
|
+
export declare interface ReportDocumentMessages {
|
|
3202
|
+
documentBuilding: string;
|
|
3203
|
+
documentComplete: string;
|
|
3204
|
+
documentFailed: string;
|
|
3205
|
+
documentRefresh: string;
|
|
3206
|
+
documentLoading: string;
|
|
3207
|
+
documentCancel: string;
|
|
3208
|
+
documentFullExport: string;
|
|
3209
|
+
}
|
|
3210
|
+
export declare const ReportDocumentPreview: DefineComponent<__VLS_Props, {
|
|
3211
|
+
reload: typeof reload;
|
|
3212
|
+
gotoPage: typeof gotoPage_2;
|
|
3213
|
+
cancel: typeof cancel;
|
|
3214
|
+
export: typeof exportDocument;
|
|
3215
|
+
state: ComputedRef<{
|
|
3216
|
+
manifest: ReportDocumentManifest | null;
|
|
3217
|
+
currentPage: number;
|
|
3218
|
+
loading: boolean;
|
|
3219
|
+
exporting: boolean;
|
|
3220
|
+
error: string;
|
|
3221
|
+
}>;
|
|
3222
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3223
|
+
error: (message: string) => any;
|
|
3224
|
+
loaded: (manifest: Readonly<ReportDocumentManifest>) => any;
|
|
3225
|
+
exported: (result: ReportRuntimeExportResult) => any;
|
|
3226
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
3227
|
+
onError?: ((message: string) => any) | undefined;
|
|
3228
|
+
onLoaded?: ((manifest: Readonly<ReportDocumentManifest>) => any) | undefined;
|
|
3229
|
+
onExported?: ((result: ReportRuntimeExportResult) => any) | undefined;
|
|
3230
|
+
}>, {
|
|
3231
|
+
height: string;
|
|
3232
|
+
messages: Partial<MachReportMessages>;
|
|
3233
|
+
preset: string;
|
|
3234
|
+
}>;
|
|
3235
|
+
/** Host-authorized transport. Export must encode the complete pinned document. */
|
|
3236
|
+
export declare interface ReportDocumentSource {
|
|
3237
|
+
load(input: ReportDocumentWindowRequest): Promise<ReportDocumentWindow>;
|
|
3238
|
+
export?(input: ReportDocumentExportRequest): Promise<ReportRuntimeExportResult>;
|
|
3239
|
+
}
|
|
3240
|
+
export declare interface ReportDocumentWindow {
|
|
3241
|
+
manifest: ReportDocumentManifest;
|
|
3242
|
+
pages: PlanPage[];
|
|
3243
|
+
nextPage: number;
|
|
3244
|
+
}
|
|
3245
|
+
export declare interface ReportDocumentWindowRequest {
|
|
3246
|
+
/** Omit only when opening or explicitly refreshing a document. */
|
|
3247
|
+
version?: string;
|
|
3248
|
+
/** Zero-based global page offset. */
|
|
3249
|
+
fromPage: number;
|
|
3250
|
+
limit: number;
|
|
3251
|
+
signal?: AbortSignal;
|
|
3252
|
+
}
|
|
3079
3253
|
/** Serializable action metadata. URLs, scripts and automatic navigation are deliberately absent. */
|
|
3080
3254
|
declare interface ReportDrillAction {
|
|
3081
3255
|
id: string;
|
|
@@ -3212,10 +3386,10 @@ export declare interface ReportExportExecutionOptions {
|
|
|
3212
3386
|
}
|
|
3213
3387
|
/** 输出能力仍由宿主授权;工具偏好只决定当前预览实例的可见与启用状态。 */
|
|
3214
3388
|
export declare type ReportExportFormat = "html" | "pdf" | "xlsx" | "png" | "word";
|
|
3215
|
-
export declare const ReportExportMenu: DefineComponent<
|
|
3389
|
+
export declare const ReportExportMenu: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3216
3390
|
export: (format: ReportExportFormat) => any;
|
|
3217
3391
|
action: (id: string) => any;
|
|
3218
|
-
}, string, MachReportVuePublicProps, Readonly<
|
|
3392
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
3219
3393
|
onExport?: ((format: ReportExportFormat) => any) | undefined;
|
|
3220
3394
|
onAction?: ((id: string) => any) | undefined;
|
|
3221
3395
|
}>, {}>;
|
|
@@ -3431,9 +3605,9 @@ declare interface ReportPageFlow_2 {
|
|
|
3431
3605
|
declare interface ReportPageFlow_3 {
|
|
3432
3606
|
bands: ReportFlowBand_3[];
|
|
3433
3607
|
}
|
|
3434
|
-
export declare const ReportPagination: DefineComponent<
|
|
3608
|
+
export declare const ReportPagination: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3435
3609
|
goto: (page: number) => any;
|
|
3436
|
-
}, string, MachReportVuePublicProps, Readonly<
|
|
3610
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
3437
3611
|
onGoto?: ((page: number) => any) | undefined;
|
|
3438
3612
|
}>, {}>;
|
|
3439
3613
|
/** 报表参数定义(声明式,模板自描述参数面:渲染组件据此生成查询面板) */
|
|
@@ -3544,13 +3718,13 @@ export declare interface ReportParamOptionsMessages {
|
|
|
3544
3718
|
paramNumberRangeStart?: string;
|
|
3545
3719
|
paramNumberRangeEnd?: string;
|
|
3546
3720
|
}
|
|
3547
|
-
export declare const ReportParamPanel: DefineComponent<
|
|
3721
|
+
export declare const ReportParamPanel: DefineComponent<__VLS_Props_4, {
|
|
3548
3722
|
focusInvalid: typeof focusInvalid;
|
|
3549
3723
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3550
3724
|
reset: () => any;
|
|
3551
3725
|
query: () => any;
|
|
3552
3726
|
"update:modelValue": (value: Record<string, string>) => any;
|
|
3553
|
-
}, string, MachReportVuePublicProps, Readonly<
|
|
3727
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_4> & Readonly<{
|
|
3554
3728
|
onReset?: (() => any) | undefined;
|
|
3555
3729
|
onQuery?: (() => any) | undefined;
|
|
3556
3730
|
"onUpdate:modelValue"?: ((value: Record<string, string>) => any) | undefined;
|
|
@@ -3652,7 +3826,7 @@ declare interface ReportPrefillItem {
|
|
|
3652
3826
|
before?: ReportCellValue;
|
|
3653
3827
|
after?: ReportCellValue;
|
|
3654
3828
|
}
|
|
3655
|
-
export declare const ReportPrefillPanel: DefineComponent<
|
|
3829
|
+
export declare const ReportPrefillPanel: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, MachReportVuePublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}>;
|
|
3656
3830
|
declare interface ReportPrefillPreview {
|
|
3657
3831
|
sourceScope?: string;
|
|
3658
3832
|
datasetId: string;
|
|
@@ -3794,6 +3968,23 @@ declare interface ReportRuntimeBudget {
|
|
|
3794
3968
|
maxPreparedBytes?: number;
|
|
3795
3969
|
maxDurationMs?: number;
|
|
3796
3970
|
}
|
|
3971
|
+
declare interface ReportRuntimeExportResult extends Omit<PreparedReport, "plan"> {
|
|
3972
|
+
bytes: Uint8Array;
|
|
3973
|
+
format: "pdf" | "xlsx";
|
|
3974
|
+
contentType: string;
|
|
3975
|
+
}
|
|
3976
|
+
/** One query occurrence; repeated report IDs retain independent provenance. */
|
|
3977
|
+
declare interface ReportRuntimeSource extends ReportQuerySource {
|
|
3978
|
+
/** Runtime provenance uses the same ordered occurrence scope as the query session. */
|
|
3979
|
+
reportScope: ReportQuerySource["reportScope"];
|
|
3980
|
+
}
|
|
3981
|
+
declare interface ReportRuntimeStats {
|
|
3982
|
+
rows: number;
|
|
3983
|
+
pages: number;
|
|
3984
|
+
cells: number;
|
|
3985
|
+
durationMs: number;
|
|
3986
|
+
outputBytes?: number;
|
|
3987
|
+
}
|
|
3797
3988
|
declare interface ReportSaveInput extends ReportLoadContext {
|
|
3798
3989
|
requestId: string;
|
|
3799
3990
|
expectedRevision?: string;
|
|
@@ -3831,9 +4022,9 @@ declare interface ReportTaskMonitoring {
|
|
|
3831
4022
|
onEvent?: ReportTaskObserver;
|
|
3832
4023
|
}
|
|
3833
4024
|
declare type ReportTaskObserver = (event: ReportTaskEvent) => void;
|
|
3834
|
-
export declare const ReportTaskStatus: DefineComponent<
|
|
4025
|
+
export declare const ReportTaskStatus: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3835
4026
|
cancel: () => any;
|
|
3836
|
-
}, string, MachReportVuePublicProps, Readonly<
|
|
4027
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
3837
4028
|
onCancel?: (() => any) | undefined;
|
|
3838
4029
|
}>, {
|
|
3839
4030
|
messages: MachReportMessages;
|
|
@@ -3971,9 +4162,9 @@ declare interface ReportValidationIssue {
|
|
|
3971
4162
|
severity: "error" | "warning";
|
|
3972
4163
|
message: string;
|
|
3973
4164
|
}
|
|
3974
|
-
export declare const ReportValidationPanel: DefineComponent<
|
|
4165
|
+
export declare const ReportValidationPanel: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3975
4166
|
locate: (issue: ReportValidationIssue) => any;
|
|
3976
|
-
}, string, MachReportVuePublicProps, Readonly<
|
|
4167
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_5> & Readonly<{
|
|
3977
4168
|
onLocate?: ((issue: ReportValidationIssue) => any) | undefined;
|
|
3978
4169
|
}>, {}>;
|
|
3979
4170
|
declare interface ReportValidationPanelMessages {
|