@agile-team/mach-report 2.25.1 → 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 +14 -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-C9c0Rp7Y.js +7380 -0
- 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-D7x7QsWD.js → auto-C7udkeAa.js} +89 -88
- 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-Amq3XrtU.js → encoding-D480EM2r.js} +2 -2
- package/dist/{encoding-DRVXs5xm.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.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +25 -25
- package/dist/{json-snapshot-CBVWZvyC.js → json-snapshot-BZ0CIQln.js} +1142 -951
- 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-DHe8y5pD.cjs → plugin-B7Bi-1te.cjs} +1 -1
- package/dist/{plugin-BdCplNe1.js → plugin-OKDFQFS4.js} +1 -1
- package/dist/{prefill-Buy4NJ15.js → prefill-C8fF91JB.js} +3 -3
- package/dist/{prefill-Cw4ZYGXZ.cjs → prefill-C_Bf_AMo.cjs} +1 -1
- package/dist/{prepared-BlNeOjoO.cjs → prepared-BLhV7vdE.cjs} +1 -1
- package/dist/{prepared-CBJ7BkK0.js → prepared-DhgQ0d-h.js} +7 -7
- package/dist/protocol-CZ-BILne.cjs +1 -0
- package/dist/{protocol-CB19KXGr.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 +2323 -2120
- 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-CM6U_RlD.js → template-catalog-BbrN9dgu.js} +5 -5
- package/dist/{template-catalog-Cj66M84u.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 +217 -25
- package/dist/vue/index.d.ts +217 -25
- package/dist/vue-async.cjs +1 -1
- package/dist/vue-async.js +3 -3
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +434 -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-CnxaDTCO.js +0 -7170
- package/dist/ReportPreview-DqFBcsJQ.cjs +0 -6
- package/dist/auto-mPK9W0y5.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-DCFEtfFw.cjs +0 -2
- package/dist/protocol-BU_4sXP0.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-B5d_lQNQ.js +0 -227
- package/dist/runtime-BRx8Agqr.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. */
|
|
@@ -965,7 +977,8 @@ export declare function createFetchRequest(options?: FetchRequestOptions): HostR
|
|
|
965
977
|
export declare function createLocalFetcher(entries: Record<string, LocalTemplateEntry> | ReportRegistry): PlanFetcher;
|
|
966
978
|
/** Independent physical test page. Its ruler is measured in millimetres, never CSS pixels. */
|
|
967
979
|
export declare function createPrintCalibrationPlan(widthMm: number, heightMm: number): RenderPlan;
|
|
968
|
-
/** Explicit persistence bridge.
|
|
980
|
+
/** Explicit persistence bridge. Direct callbacks own one logical editing session;
|
|
981
|
+
* Preview instances isolate a shared bridge automatically. Registration never enables saving. */
|
|
969
982
|
export declare function createProviderEditing(provider: ReportProvider, options?: ProviderEditingOptions): ReportEditingOptions;
|
|
970
983
|
/** Optional browser convenience adapter. Access errors are handled by the preview. */
|
|
971
984
|
export declare function createReportStoragePreferences(storage: Pick<Storage, "getItem" | "setItem" | "removeItem">): ReportPreferencesAdapter;
|
|
@@ -1006,6 +1019,72 @@ declare interface DiagnosticSummary<T> {
|
|
|
1006
1019
|
readonly counts: Readonly<Record<string, number>>;
|
|
1007
1020
|
};
|
|
1008
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
|
+
}
|
|
1009
1088
|
declare interface ExcelImportedSheet {
|
|
1010
1089
|
name: string;
|
|
1011
1090
|
/** Original, one-based workbook position. */
|
|
@@ -1086,16 +1165,17 @@ declare interface ExcelImportOptions_2 extends OutputTaskOptions_3 {
|
|
|
1086
1165
|
/** Optional resource limits; hard ceilings prevent unbounded allocations. */
|
|
1087
1166
|
limits?: ExcelImportLimits_2;
|
|
1088
1167
|
}
|
|
1089
|
-
declare interface ExcelImportResult {
|
|
1168
|
+
declare interface ExcelImportResult extends ExcelImportDiagnostics {
|
|
1090
1169
|
template: ReportTemplate;
|
|
1091
1170
|
warnings: string[];
|
|
1092
1171
|
sheets: ExcelImportedSheet[];
|
|
1093
1172
|
}
|
|
1094
|
-
declare interface ExcelImportResult_2 {
|
|
1173
|
+
declare interface ExcelImportResult_2 extends ExcelImportDiagnostics_2 {
|
|
1095
1174
|
template: ReportTemplate_3;
|
|
1096
1175
|
warnings: string[];
|
|
1097
1176
|
sheets: ExcelImportedSheet_2[];
|
|
1098
1177
|
}
|
|
1178
|
+
declare function exportDocument(format: "pdf" | "xlsx"): Promise<ReportRuntimeExportResult>;
|
|
1099
1179
|
declare interface ExpressionOptions {
|
|
1100
1180
|
numeric?: "number" | "decimal";
|
|
1101
1181
|
digits?: number;
|
|
@@ -1140,6 +1220,8 @@ declare interface FormulaAdapter_2 {
|
|
|
1140
1220
|
rows: readonly Record<string, unknown>[];
|
|
1141
1221
|
}): unknown;
|
|
1142
1222
|
}
|
|
1223
|
+
declare function gotoPage(n: number): void;
|
|
1224
|
+
declare function gotoPage_2(page: number): Promise<void>;
|
|
1143
1225
|
declare interface GridCell {
|
|
1144
1226
|
/** Resolved visual only. Original value, text, editability and source are unchanged. */
|
|
1145
1227
|
dataBar?: {
|
|
@@ -1779,8 +1861,9 @@ export declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
1779
1861
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1780
1862
|
*/
|
|
1781
1863
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1782
|
-
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 {
|
|
1783
1865
|
previousSnapshot?: string;
|
|
1866
|
+
importOmitted?: string;
|
|
1784
1867
|
reviewTools?: string;
|
|
1785
1868
|
validationTitle?: string;
|
|
1786
1869
|
validationError?: string;
|
|
@@ -2518,6 +2601,24 @@ declare interface PlanTableFragment_3 {
|
|
|
2518
2601
|
rowKey?: string | number;
|
|
2519
2602
|
};
|
|
2520
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
|
+
}
|
|
2521
2622
|
/** Bounded concurrency, one stage timeout, and cancellation even for a hanging decoder. */
|
|
2522
2623
|
export declare function preparePrintResources(doc: Document, options?: ReportPrintOptions, signal?: AbortSignal, base?: string): Promise<void>;
|
|
2523
2624
|
declare interface PreviewEncoding {
|
|
@@ -2563,6 +2664,7 @@ export declare interface ProviderEditingOptions extends Pick<ReportEditingOption
|
|
|
2563
2664
|
sourceToken?: Current<string | undefined>;
|
|
2564
2665
|
onDiagnostic?(diagnostic: ReportDiagnostic): void;
|
|
2565
2666
|
}
|
|
2667
|
+
declare function reload(): Promise<void>;
|
|
2566
2668
|
declare interface RenderPlan {
|
|
2567
2669
|
schemaVersion: string;
|
|
2568
2670
|
/** 编辑需要模板重算上下文;跨 Worker/JSON 保留要求,但不声明本地会话可用。 */
|
|
@@ -2921,7 +3023,7 @@ declare interface ReportDataComparisonField {
|
|
|
2921
3023
|
zeroDenominator?: "omit" | "zero-if-equal";
|
|
2922
3024
|
missing?: "distinct" | "empty-equivalent" | "zero";
|
|
2923
3025
|
}
|
|
2924
|
-
export declare const ReportDataComparisonPanel: DefineComponent<
|
|
3026
|
+
export declare const ReportDataComparisonPanel: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, MachReportVuePublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}>;
|
|
2925
3027
|
export declare interface ReportDataComparisonReviewOptions extends ReportDataReviewSource {
|
|
2926
3028
|
fields: readonly ReportDataComparisonField[];
|
|
2927
3029
|
maxDifferences?: number;
|
|
@@ -3075,6 +3177,79 @@ declare interface ReportDiagnostic_2 extends Partial<Pick<OutputDiagnostic_2, "f
|
|
|
3075
3177
|
target?: ReportDataTarget_2;
|
|
3076
3178
|
}
|
|
3077
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
|
+
}
|
|
3078
3253
|
/** Serializable action metadata. URLs, scripts and automatic navigation are deliberately absent. */
|
|
3079
3254
|
declare interface ReportDrillAction {
|
|
3080
3255
|
id: string;
|
|
@@ -3211,10 +3386,10 @@ export declare interface ReportExportExecutionOptions {
|
|
|
3211
3386
|
}
|
|
3212
3387
|
/** 输出能力仍由宿主授权;工具偏好只决定当前预览实例的可见与启用状态。 */
|
|
3213
3388
|
export declare type ReportExportFormat = "html" | "pdf" | "xlsx" | "png" | "word";
|
|
3214
|
-
export declare const ReportExportMenu: DefineComponent<
|
|
3389
|
+
export declare const ReportExportMenu: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3215
3390
|
export: (format: ReportExportFormat) => any;
|
|
3216
3391
|
action: (id: string) => any;
|
|
3217
|
-
}, string, MachReportVuePublicProps, Readonly<
|
|
3392
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
3218
3393
|
onExport?: ((format: ReportExportFormat) => any) | undefined;
|
|
3219
3394
|
onAction?: ((id: string) => any) | undefined;
|
|
3220
3395
|
}>, {}>;
|
|
@@ -3430,9 +3605,9 @@ declare interface ReportPageFlow_2 {
|
|
|
3430
3605
|
declare interface ReportPageFlow_3 {
|
|
3431
3606
|
bands: ReportFlowBand_3[];
|
|
3432
3607
|
}
|
|
3433
|
-
export declare const ReportPagination: DefineComponent<
|
|
3608
|
+
export declare const ReportPagination: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3434
3609
|
goto: (page: number) => any;
|
|
3435
|
-
}, string, MachReportVuePublicProps, Readonly<
|
|
3610
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
3436
3611
|
onGoto?: ((page: number) => any) | undefined;
|
|
3437
3612
|
}>, {}>;
|
|
3438
3613
|
/** 报表参数定义(声明式,模板自描述参数面:渲染组件据此生成查询面板) */
|
|
@@ -3543,13 +3718,13 @@ export declare interface ReportParamOptionsMessages {
|
|
|
3543
3718
|
paramNumberRangeStart?: string;
|
|
3544
3719
|
paramNumberRangeEnd?: string;
|
|
3545
3720
|
}
|
|
3546
|
-
export declare const ReportParamPanel: DefineComponent<
|
|
3721
|
+
export declare const ReportParamPanel: DefineComponent<__VLS_Props_4, {
|
|
3547
3722
|
focusInvalid: typeof focusInvalid;
|
|
3548
3723
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3549
3724
|
reset: () => any;
|
|
3550
3725
|
query: () => any;
|
|
3551
3726
|
"update:modelValue": (value: Record<string, string>) => any;
|
|
3552
|
-
}, string, MachReportVuePublicProps, Readonly<
|
|
3727
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_4> & Readonly<{
|
|
3553
3728
|
onReset?: (() => any) | undefined;
|
|
3554
3729
|
onQuery?: (() => any) | undefined;
|
|
3555
3730
|
"onUpdate:modelValue"?: ((value: Record<string, string>) => any) | undefined;
|
|
@@ -3651,7 +3826,7 @@ declare interface ReportPrefillItem {
|
|
|
3651
3826
|
before?: ReportCellValue;
|
|
3652
3827
|
after?: ReportCellValue;
|
|
3653
3828
|
}
|
|
3654
|
-
export declare const ReportPrefillPanel: DefineComponent<
|
|
3829
|
+
export declare const ReportPrefillPanel: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, MachReportVuePublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}>;
|
|
3655
3830
|
declare interface ReportPrefillPreview {
|
|
3656
3831
|
sourceScope?: string;
|
|
3657
3832
|
datasetId: string;
|
|
@@ -3793,6 +3968,23 @@ declare interface ReportRuntimeBudget {
|
|
|
3793
3968
|
maxPreparedBytes?: number;
|
|
3794
3969
|
maxDurationMs?: number;
|
|
3795
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
|
+
}
|
|
3796
3988
|
declare interface ReportSaveInput extends ReportLoadContext {
|
|
3797
3989
|
requestId: string;
|
|
3798
3990
|
expectedRevision?: string;
|
|
@@ -3830,9 +4022,9 @@ declare interface ReportTaskMonitoring {
|
|
|
3830
4022
|
onEvent?: ReportTaskObserver;
|
|
3831
4023
|
}
|
|
3832
4024
|
declare type ReportTaskObserver = (event: ReportTaskEvent) => void;
|
|
3833
|
-
export declare const ReportTaskStatus: DefineComponent<
|
|
4025
|
+
export declare const ReportTaskStatus: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3834
4026
|
cancel: () => any;
|
|
3835
|
-
}, string, MachReportVuePublicProps, Readonly<
|
|
4027
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
3836
4028
|
onCancel?: (() => any) | undefined;
|
|
3837
4029
|
}>, {
|
|
3838
4030
|
messages: MachReportMessages;
|
|
@@ -3970,9 +4162,9 @@ declare interface ReportValidationIssue {
|
|
|
3970
4162
|
severity: "error" | "warning";
|
|
3971
4163
|
message: string;
|
|
3972
4164
|
}
|
|
3973
|
-
export declare const ReportValidationPanel: DefineComponent<
|
|
4165
|
+
export declare const ReportValidationPanel: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3974
4166
|
locate: (issue: ReportValidationIssue) => any;
|
|
3975
|
-
}, string, MachReportVuePublicProps, Readonly<
|
|
4167
|
+
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_5> & Readonly<{
|
|
3976
4168
|
onLocate?: ((issue: ReportValidationIssue) => any) | undefined;
|
|
3977
4169
|
}>, {}>;
|
|
3978
4170
|
declare interface ReportValidationPanelMessages {
|