@agile-team/mach-report 2.23.1 → 2.25.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 +10 -4
- package/dist/{ExcelBindingWizard-BrTmdo7f.cjs → ExcelBindingWizard-BgJG-T6k.cjs} +1 -1
- package/dist/{ExcelBindingWizard-CcDMLO8Q.js → ExcelBindingWizard-NQ_v396s.js} +3 -3
- package/dist/ParamEditor-DEP38mBp.cjs +1 -0
- package/dist/ParamEditor-Z-3yodp5.js +750 -0
- package/dist/{ReportBatchPanel-CHxBtG9R.cjs → ReportBatchPanel-D33LjMrA.cjs} +1 -1
- package/dist/{ReportBatchPanel-CJB67WNd.js → ReportBatchPanel-DG8FV-5X.js} +2 -2
- package/dist/{ReportLabelStudio-Tplc1TLJ.js → ReportLabelStudio-BZp23_hA.js} +68 -68
- package/dist/ReportLabelStudio-Bz-xAayk.cjs +1 -0
- package/dist/ReportParamPanel-B27IGJjk.cjs +1 -0
- package/dist/{ReportParamPanel-GI43aGa0.js → ReportParamPanel-DGXzBzl2.js} +328 -298
- package/dist/ReportPreview-CilFAS9U.js +7170 -0
- package/dist/ReportPreview-dOOzPts2.cjs +6 -0
- package/dist/{ReportTemplateLibrary-KqX4E2sN.js → ReportTemplateLibrary-DpSGgvFa.js} +28 -28
- package/dist/{ReportTemplateLibrary-BFQIX0sg.cjs → ReportTemplateLibrary-uG1gENaW.cjs} +1 -1
- package/dist/{RuleEditor-OPX1awrH.js → RuleEditor-BONALh1Q.js} +846 -835
- package/dist/RuleEditor-bLXiRcxL.cjs +1 -0
- package/dist/{TemplateOutlinePanel-CVYKVLv_.cjs → TemplateOutlinePanel-C3nfHuaR.cjs} +1 -1
- package/dist/{TemplateOutlinePanel-DQS-eOs6.js → TemplateOutlinePanel-JGBKeF3e.js} +10 -10
- package/dist/{TemplateReusePanel-CY6O93Zk.cjs → TemplateReusePanel-BKhgp6kg.cjs} +1 -1
- package/dist/{TemplateReusePanel-DKXiFTyB.js → TemplateReusePanel-DXQUO6nQ.js} +2 -2
- package/dist/TemplateReviewPanel-5RWFUUEf.cjs +1 -0
- package/dist/TemplateReviewPanel-DhL7Hapy.js +602 -0
- package/dist/analytics.d.cts +1 -1
- package/dist/analytics.d.ts +1 -1
- package/dist/artifact-integrity.json +98 -98
- package/dist/assets-BYdpkTIt.cjs +1 -0
- package/dist/assets-C4MIvzQ4.js +137 -0
- package/dist/auto-D-eDZa_V.cjs +1 -0
- package/dist/{auto-BB99S802.js → auto-umW_ozwr.js} +10 -10
- package/dist/capabilities-CN_kSVjO.js +121 -0
- package/dist/capabilities-D4nfhcvB.cjs +1 -0
- package/dist/cell-style-B6Qffrx8.js +37 -0
- package/dist/cell-style-y_uh1pZp.cjs +1 -0
- package/dist/{data-bar-IkI6VvMQ.js → data-bar-Bfh54sT4.js} +1 -1
- package/dist/data-bar-DzceAVeR.cjs +1 -0
- package/dist/designer-CCyj5WYS.js +7595 -0
- package/dist/designer-Cj7fn4Hh.cjs +2 -0
- package/dist/designer.cjs +1 -1
- package/dist/designer.d.cts +143 -10
- package/dist/designer.d.ts +143 -10
- package/dist/designer.js +5 -5
- package/dist/diagnostic-collector-gB07PHy2.js +392 -0
- package/dist/diagnostic-collector-wASg6Fzs.cjs +1 -0
- package/dist/dom-CXWMmwh-.cjs +1 -0
- package/dist/{dom-JWrchIre.js → dom-DxdCMLzs.js} +185 -185
- package/dist/{encoding-CEd-dq9A.js → encoding-CEkBtlUP.js} +2 -2
- package/dist/{encoding-7lquyj0w.cjs → encoding-Cipno7dq.cjs} +1 -1
- package/dist/{font-loader-CNWXomuV.js → font-loader-D4NLIKJL.js} +1 -1
- package/dist/{font-loader-D8pI87fL.cjs → font-loader-p_SyTvqt.cjs} +1 -1
- package/dist/{grid-strokes-EoY66L2f.js → grid-strokes-DkZEZvcI.js} +1 -1
- package/dist/grid-strokes-RFMR91jn.cjs +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +48 -9
- package/dist/index.d.ts +48 -9
- package/dist/index.js +137 -136
- package/dist/json-snapshot-DQdkA_At.cjs +2 -0
- package/dist/{json-snapshot-BRnzKudk.js → json-snapshot-x0JpllWL.js} +919 -791
- package/dist/{pdf-DpMkW72B.cjs → pdf-C060D5UY.cjs} +31 -31
- package/dist/{pdf-CJToa81Z.js → pdf-DU8HelKd.js} +2499 -2492
- package/dist/pdf.cjs +1 -1
- package/dist/pdf.d.cts +18 -0
- package/dist/pdf.d.ts +18 -0
- package/dist/pdf.js +2 -2
- package/dist/{plugin-BWTp-X7b.cjs → plugin-B_k23hut.cjs} +1 -1
- package/dist/{plugin-_BkUVc2z.js → plugin-CttO46hc.js} +1 -1
- package/dist/{prefill-CWGdnqQd.js → prefill-BkF9Fw_p.js} +13 -13
- package/dist/prefill-BvkuwooY.cjs +1 -0
- package/dist/prepared-CSywIEAZ.cjs +1 -0
- package/dist/prepared-Cyuh61fJ.js +128 -0
- package/dist/protocol-BwbJNVZl.cjs +1 -0
- package/dist/protocol-DwtxjXzO.js +96 -0
- package/dist/record-bindings-B7djSjNs.cjs +1 -0
- package/dist/{record-bindings-DatJZv_e.js → record-bindings-Cv7lFiof.js} +47 -47
- package/dist/{region-binding-workflow-l7NGfagJ.cjs → region-binding-workflow-COD8nISZ.cjs} +1 -1
- package/dist/{region-binding-workflow-DjrXuR1q.js → region-binding-workflow-D8I4QWRh.js} +2 -2
- package/dist/report-encoding-worker.cjs +1 -1
- package/dist/report-encoding-worker.js +1 -1
- package/dist/{rich-text-layout-Ciwa6D2o.js → rich-text-layout-Ch_N0Ubu.js} +1 -1
- package/dist/rich-text-layout-yJGuThtC.cjs +3 -0
- package/dist/runtime-BE30icyB.js +227 -0
- package/dist/runtime-DRSuy_SQ.cjs +1 -0
- package/dist/sbom.cdx.json +1 -1
- package/dist/server/node.d.cts +55 -7
- package/dist/server/node.d.ts +55 -7
- package/dist/server-node.cjs +5 -5
- package/dist/server-node.js +2742 -2417
- package/dist/server.cjs +1 -1
- package/dist/server.d.cts +51 -16
- package/dist/server.d.ts +51 -16
- package/dist/server.js +8 -8
- package/dist/style.css +1 -1
- package/dist/{template-catalog-DtrtT1FY.cjs → template-catalog-C0riwrx7.cjs} +1 -1
- package/dist/{template-catalog-CRuZL3pi.js → template-catalog-D_gl93va.js} +3 -3
- package/dist/template-fragments-CgzPdFKB.cjs +1 -0
- package/dist/{template-fragments-CPpGpQoz.js → template-fragments-D94ZZmPc.js} +2 -2
- package/dist/template-registry-BMScUmM4.cjs +1 -0
- package/dist/{template-registry-O0hNIOfB.js → template-registry-DZOtRY7t.js} +19 -19
- package/dist/{textwrap-D4ZksyMK.js → textwrap-BywMBMXM.js} +1 -1
- package/dist/textwrap-LhJkHWb1.cjs +4 -0
- package/dist/vue/async.d.cts +101 -22
- package/dist/vue/async.d.ts +101 -22
- package/dist/vue/index.d.cts +133 -34
- package/dist/vue/index.d.ts +133 -34
- package/dist/vue-async.cjs +1 -1
- package/dist/vue-async.js +3 -3
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +192 -162
- package/dist/{workbook-session-C6-SrnCT.cjs → workbook-session-DR2j6Hxm.cjs} +3 -3
- package/dist/{workbook-session-C9ZmCBwY.js → workbook-session-SzfILBJJ.js} +106 -107
- package/dist/worker.cjs +1 -1
- package/dist/worker.d.cts +55 -7
- package/dist/worker.d.ts +55 -7
- package/dist/worker.js +4 -4
- package/dist/xlsx/node.d.cts +30 -1
- package/dist/xlsx/node.d.ts +30 -1
- package/dist/xlsx-node.cjs +42 -42
- package/dist/xlsx-node.js +3908 -3889
- package/dist/xlsx.cjs +4 -4
- package/dist/xlsx.d.cts +20 -3
- package/dist/xlsx.d.ts +20 -3
- package/dist/xlsx.js +302 -295
- package/package.json +1 -1
- package/dist/ParamEditor-BGjovFUe.js +0 -737
- package/dist/ParamEditor-CeNp4_zQ.cjs +0 -1
- package/dist/ReportLabelStudio-g8PkqJWn.cjs +0 -1
- package/dist/ReportParamPanel-C7fZTllk.cjs +0 -1
- package/dist/ReportPreview-BoGBGyRr.cjs +0 -6
- package/dist/ReportPreview-QLONCyci.js +0 -6257
- package/dist/RuleEditor-BZUP9yvL.cjs +0 -1
- package/dist/TemplateReviewPanel-DbeNC8Ms.cjs +0 -1
- package/dist/TemplateReviewPanel-Dijwm9YE.js +0 -593
- package/dist/assets-D2gHc4Mz.cjs +0 -1
- package/dist/assets-T_gDeFaz.js +0 -132
- package/dist/auto-BrPWo7Xm.cjs +0 -1
- package/dist/capabilities-DiBj4Qgl.cjs +0 -1
- package/dist/capabilities-pg7j7VLT.js +0 -106
- package/dist/data-bar-CeZuFmYl.cjs +0 -1
- package/dist/designer-BZoVWTgl.js +0 -7172
- package/dist/designer-zS2uKJmY.cjs +0 -2
- package/dist/dom-ChE5D-L-.cjs +0 -1
- package/dist/grid-strokes-Be24LGuV.cjs +0 -1
- package/dist/json-snapshot-DNiIbpOr.cjs +0 -2
- package/dist/prefill-PaAy6wLk.cjs +0 -1
- package/dist/prepared-CJy_qk7d.js +0 -94
- package/dist/prepared-D0yCSxSO.cjs +0 -1
- package/dist/progress-BXzlVbIp.js +0 -29
- package/dist/progress-ByiOxUD3.js +0 -250
- package/dist/progress-DJBd9Rb9.cjs +0 -1
- package/dist/progress-WomPRP3B.cjs +0 -1
- package/dist/protocol-BG16rz6D.js +0 -90
- package/dist/protocol-wzhl1Fim.cjs +0 -1
- package/dist/record-bindings-MBxbeBsi.cjs +0 -1
- package/dist/rich-text-layout-DK7A_a5r.cjs +0 -3
- package/dist/runtime-DYMOS_gz.cjs +0 -1
- package/dist/runtime-PiCax9zQ.js +0 -171
- package/dist/template-fragments-GVjpew_q.cjs +0 -1
- package/dist/template-registry-DI59PXVK.cjs +0 -1
- package/dist/textwrap-DEHqAjKZ.cjs +0 -4
package/dist/vue/async.d.cts
CHANGED
|
@@ -374,6 +374,26 @@ declare interface ComputedField_3 extends ExpressionOptions_3 {
|
|
|
374
374
|
/** String adapter expressions cannot be inspected; declare dependencies explicitly. */
|
|
375
375
|
dependsOn?: readonly string[];
|
|
376
376
|
}
|
|
377
|
+
declare interface ConflictReviewMessages {
|
|
378
|
+
conflictReviewTitle: string;
|
|
379
|
+
conflictReviewDescription: string;
|
|
380
|
+
conflictReviewRefresh: string;
|
|
381
|
+
conflictReviewLoading: string;
|
|
382
|
+
conflictReviewApply: string;
|
|
383
|
+
conflictReviewOriginal: string;
|
|
384
|
+
conflictReviewLocal: string;
|
|
385
|
+
conflictReviewServer: string;
|
|
386
|
+
conflictReviewChoose: string;
|
|
387
|
+
conflictReviewMissing: string;
|
|
388
|
+
conflictReviewAmbiguous: string;
|
|
389
|
+
conflictReviewReadonly: string;
|
|
390
|
+
conflictReviewUnavailable: string;
|
|
391
|
+
conflictReviewCount: string;
|
|
392
|
+
conflictReviewSearch: string;
|
|
393
|
+
conflictReviewEmpty: string;
|
|
394
|
+
conflictReviewStale: string;
|
|
395
|
+
conflictReviewRetained: string;
|
|
396
|
+
}
|
|
377
397
|
declare interface DatasetContract {
|
|
378
398
|
fields: readonly ReportFieldContract[];
|
|
379
399
|
rowKey?: string;
|
|
@@ -385,6 +405,18 @@ declare interface DatasetValidationOptions {
|
|
|
385
405
|
maxCells?: number;
|
|
386
406
|
maxIssues?: number;
|
|
387
407
|
}
|
|
408
|
+
/** Bounded detail window with exact occurrence totals. Unknown business codes beyond 128 buckets share `other`. */
|
|
409
|
+
declare interface DiagnosticSummary<T> {
|
|
410
|
+
readonly total: number;
|
|
411
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
412
|
+
readonly entries: readonly T[];
|
|
413
|
+
readonly omitted: number;
|
|
414
|
+
/** Business value explanations form a separate presentation channel, including omitted locations. */
|
|
415
|
+
readonly explanations?: {
|
|
416
|
+
readonly total: number;
|
|
417
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
418
|
+
};
|
|
419
|
+
}
|
|
388
420
|
declare interface ExcelImportedSheet {
|
|
389
421
|
name: string;
|
|
390
422
|
/** Original, one-based workbook position. */
|
|
@@ -612,9 +644,9 @@ declare interface ImageMediaOptions_2 {
|
|
|
612
644
|
/** Maximum source dimension, default 16384 pixels. */
|
|
613
645
|
maxImageDimension?: number;
|
|
614
646
|
}
|
|
615
|
-
/** auto
|
|
647
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
616
648
|
declare type ListAlignment = NonNullable<ComponentStyle["align"]> | "auto";
|
|
617
|
-
/** auto
|
|
649
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
618
650
|
declare type ListAlignment_2 = NonNullable<ComponentStyle_3["align"]> | "auto";
|
|
619
651
|
declare interface ListColumn {
|
|
620
652
|
header: string;
|
|
@@ -698,7 +730,7 @@ declare interface ListComponent {
|
|
|
698
730
|
paddingMm?: number;
|
|
699
731
|
headerEveryPage?: boolean;
|
|
700
732
|
headerBackgroundColor?: string;
|
|
701
|
-
/**
|
|
733
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
702
734
|
align?: ListAlignment;
|
|
703
735
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
704
736
|
headerAlign?: ComponentStyle["align"];
|
|
@@ -750,7 +782,7 @@ declare interface ListComponent_2 {
|
|
|
750
782
|
paddingMm?: number;
|
|
751
783
|
headerEveryPage?: boolean;
|
|
752
784
|
headerBackgroundColor?: string;
|
|
753
|
-
/**
|
|
785
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
754
786
|
align?: ListAlignment_2;
|
|
755
787
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
756
788
|
headerAlign?: ComponentStyle_3["align"];
|
|
@@ -921,7 +953,7 @@ declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
921
953
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
922
954
|
*/
|
|
923
955
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
924
|
-
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
956
|
+
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
925
957
|
previousSnapshot?: string;
|
|
926
958
|
reviewTools?: string;
|
|
927
959
|
validationTitle?: string;
|
|
@@ -930,6 +962,21 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
930
962
|
validationDataset?: string;
|
|
931
963
|
validationRow?: string;
|
|
932
964
|
validationMore?: string;
|
|
965
|
+
validationSearch?: string;
|
|
966
|
+
validationSearchPlaceholder?: string;
|
|
967
|
+
validationSeverity?: string;
|
|
968
|
+
validationAllSeverities?: string;
|
|
969
|
+
validationDatasetFilter?: string;
|
|
970
|
+
validationAllDatasets?: string;
|
|
971
|
+
validationResults?: string;
|
|
972
|
+
validationRange?: string;
|
|
973
|
+
validationPage?: string;
|
|
974
|
+
validationEmpty?: string;
|
|
975
|
+
validationNoMatches?: string;
|
|
976
|
+
validationClear?: string;
|
|
977
|
+
validationLoading?: string;
|
|
978
|
+
validationUnavailable?: string;
|
|
979
|
+
validationFailureSummary?: string;
|
|
933
980
|
drillActions?: string;
|
|
934
981
|
drillOpening?: string;
|
|
935
982
|
drillMissingValue?: string;
|
|
@@ -1100,6 +1147,8 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1100
1147
|
diagnosticsTitle?: string;
|
|
1101
1148
|
diagnosticsSearch?: string;
|
|
1102
1149
|
diagnosticsMore?: string;
|
|
1150
|
+
diagnosticsOmitted?: string;
|
|
1151
|
+
diagnosticsShowMore?: string;
|
|
1103
1152
|
diagnosticsLocate?: string;
|
|
1104
1153
|
diagnosticsLocation?: string;
|
|
1105
1154
|
diagnosticsStrict?: string;
|
|
@@ -1164,6 +1213,7 @@ declare interface MachReportState {
|
|
|
1164
1213
|
readonly pendingLocalChanges?: boolean;
|
|
1165
1214
|
readonly task?: Readonly<ReportPreviewTask> | null;
|
|
1166
1215
|
readonly diagnostics?: readonly Readonly<ReportPreviewDiagnostic>[];
|
|
1216
|
+
readonly diagnosticSummary?: DiagnosticSummary<Readonly<ReportPreviewDiagnostic>>;
|
|
1167
1217
|
/** Context of the displayed API snapshot, which can differ from an unexecuted query form. */
|
|
1168
1218
|
readonly reportIds?: readonly string[];
|
|
1169
1219
|
readonly params?: Readonly<Record<string, string>>;
|
|
@@ -1323,12 +1373,16 @@ declare interface OutputDiagnosticOptions extends OutputTaskOptions {
|
|
|
1323
1373
|
onDiagnostic?: (diagnostic: OutputDiagnostic) => void;
|
|
1324
1374
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
1325
1375
|
fidelity?: "warn" | "strict";
|
|
1376
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
1377
|
+
diagnosticLimit?: number;
|
|
1326
1378
|
}
|
|
1327
1379
|
declare interface OutputDiagnosticOptions_2 extends OutputTaskOptions_2 {
|
|
1328
1380
|
/** Structured fidelity diagnostics; rendering never silently invents missing content. */
|
|
1329
1381
|
onDiagnostic?: (diagnostic: OutputDiagnostic_2) => void;
|
|
1330
1382
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
1331
1383
|
fidelity?: "warn" | "strict";
|
|
1384
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
1385
|
+
diagnosticLimit?: number;
|
|
1332
1386
|
}
|
|
1333
1387
|
declare type OutputFormat = "dom" | "canvas" | "pdf" | "xlsx";
|
|
1334
1388
|
declare type OutputFormat_2 = "dom" | "canvas" | "pdf" | "xlsx";
|
|
@@ -2024,7 +2078,7 @@ declare interface ReportDefinition {
|
|
|
2024
2078
|
params?: ReportParamDef[];
|
|
2025
2079
|
pagination?: PaginateOptions;
|
|
2026
2080
|
}
|
|
2027
|
-
declare interface ReportDiagnostic {
|
|
2081
|
+
declare interface ReportDiagnostic extends Partial<Pick<OutputDiagnostic, "format" | "pageIndex" | "componentIndex" | "componentPath" | "kind" | "nid" | "extension">> {
|
|
2028
2082
|
code: string;
|
|
2029
2083
|
message: string;
|
|
2030
2084
|
path?: string;
|
|
@@ -2033,6 +2087,15 @@ declare interface ReportDiagnostic {
|
|
|
2033
2087
|
valueState?: ReportValueState;
|
|
2034
2088
|
target?: ReportDataTarget;
|
|
2035
2089
|
}
|
|
2090
|
+
declare interface ReportDiagnostic_2 extends Partial<Pick<OutputDiagnostic_2, "format" | "pageIndex" | "componentIndex" | "componentPath" | "kind" | "nid" | "extension">> {
|
|
2091
|
+
code: string;
|
|
2092
|
+
message: string;
|
|
2093
|
+
path?: string;
|
|
2094
|
+
severity: "warning" | "error" | "info";
|
|
2095
|
+
/** Optional explanation supplied by the business source, not inferred from blank cells. */
|
|
2096
|
+
valueState?: ReportValueState_2;
|
|
2097
|
+
target?: ReportDataTarget_2;
|
|
2098
|
+
}
|
|
2036
2099
|
declare type ReportDiscardReason = "reload" | "import" | "replace" | "leave";
|
|
2037
2100
|
/** Serializable action metadata. URLs, scripts and automatic navigation are deliberately absent. */
|
|
2038
2101
|
declare interface ReportDrillAction {
|
|
@@ -2083,6 +2146,13 @@ declare interface ReportEditBatch {
|
|
|
2083
2146
|
edits: ReportCellEdit_2[];
|
|
2084
2147
|
}
|
|
2085
2148
|
declare interface ReportEditConflict {
|
|
2149
|
+
source?: Readonly<ReportCellSource>;
|
|
2150
|
+
address?: ReportCellAddress;
|
|
2151
|
+
message: string;
|
|
2152
|
+
currentValue?: ReportCellValue;
|
|
2153
|
+
revision?: string | number;
|
|
2154
|
+
}
|
|
2155
|
+
declare interface ReportEditConflict_2 {
|
|
2086
2156
|
source?: Readonly<ReportCellSource_2>;
|
|
2087
2157
|
address?: ReportCellAddress_2;
|
|
2088
2158
|
message: string;
|
|
@@ -2122,13 +2192,16 @@ declare interface ReportEditOperation {
|
|
|
2122
2192
|
signal: AbortSignal;
|
|
2123
2193
|
requestId?: string;
|
|
2124
2194
|
action?: "edit" | "undo" | "redo" | "restore";
|
|
2195
|
+
/** Immutable context of the report being edited. */
|
|
2196
|
+
query?: Readonly<ReportEditQueryContext>;
|
|
2125
2197
|
}
|
|
2198
|
+
declare type ReportEditQueryContext = ReportQueryContext;
|
|
2126
2199
|
declare interface ReportEditResult {
|
|
2127
2200
|
/** A successful result may advance concurrency tokens for the affected dataset. */
|
|
2128
2201
|
revision?: string | number;
|
|
2129
2202
|
sourceToken?: string;
|
|
2130
2203
|
/** Any conflict rejects the entire client batch. A server must also transact atomically. */
|
|
2131
|
-
conflicts?: readonly
|
|
2204
|
+
conflicts?: readonly ReportEditConflict_2[];
|
|
2132
2205
|
}
|
|
2133
2206
|
/** 报表含表头但业务行为空时,由接入方明确声明;组件不推测业务数据。 */
|
|
2134
2207
|
declare interface ReportEmptyState {
|
|
@@ -2500,17 +2573,8 @@ declare interface ReportPreviewDataTarget extends ReportDataTarget_2 {
|
|
|
2500
2573
|
/** Added by the query adapter; isolates identical dataset/row/field identities across reports. */
|
|
2501
2574
|
reportScope?: string;
|
|
2502
2575
|
}
|
|
2503
|
-
declare interface ReportPreviewDiagnostic {
|
|
2504
|
-
valueState?: ReportValueState_2;
|
|
2576
|
+
declare interface ReportPreviewDiagnostic extends ReportDiagnostic_2 {
|
|
2505
2577
|
target?: ReportPreviewDataTarget;
|
|
2506
|
-
code: string;
|
|
2507
|
-
severity: "warning" | "error" | "info";
|
|
2508
|
-
message: string;
|
|
2509
|
-
path?: string;
|
|
2510
|
-
format?: OutputFormat;
|
|
2511
|
-
pageIndex?: number;
|
|
2512
|
-
componentIndex?: number;
|
|
2513
|
-
componentPath?: readonly number[];
|
|
2514
2578
|
}
|
|
2515
2579
|
declare type ReportPreviewPreferences = Record<ReportPreviewTool, boolean>;
|
|
2516
2580
|
declare interface ReportPreviewTask {
|
|
@@ -2561,6 +2625,10 @@ declare interface ReportProvider {
|
|
|
2561
2625
|
export?(input: ReportProviderExportInput): ReportProviderExportResult | Promise<ReportProviderExportResult>;
|
|
2562
2626
|
templates?: ReportTemplateProvider;
|
|
2563
2627
|
}
|
|
2628
|
+
declare interface ReportProviderConflict extends Pick<ReportEditConflict, "message" | "currentValue" | "revision"> {
|
|
2629
|
+
editIndex: number;
|
|
2630
|
+
code: string;
|
|
2631
|
+
}
|
|
2564
2632
|
declare interface ReportProviderExportInput extends ReportLoadContext {
|
|
2565
2633
|
format: "pdf" | "xlsx";
|
|
2566
2634
|
}
|
|
@@ -2570,12 +2638,27 @@ declare interface ReportProviderExportResult {
|
|
|
2570
2638
|
fileName?: string;
|
|
2571
2639
|
diagnostics?: ReportDiagnostic[];
|
|
2572
2640
|
}
|
|
2641
|
+
/** Context of an accepted query, independent of an unsubmitted filter form. */
|
|
2642
|
+
declare interface ReportQueryContext {
|
|
2643
|
+
queryId?: string;
|
|
2644
|
+
reportIds: readonly string[];
|
|
2645
|
+
params: Readonly<Record<string, string>>;
|
|
2646
|
+
sources: readonly Readonly<ReportQuerySource>[];
|
|
2647
|
+
}
|
|
2573
2648
|
declare interface ReportQueryResult {
|
|
2574
2649
|
datasets: DatasetRows;
|
|
2575
2650
|
revision?: string;
|
|
2576
2651
|
sourceToken?: string;
|
|
2577
2652
|
diagnostics?: ReportDiagnostic[];
|
|
2578
2653
|
}
|
|
2654
|
+
/** One ordered query occurrence, shared by browser editing and Node preparation. */
|
|
2655
|
+
declare interface ReportQuerySource {
|
|
2656
|
+
reportId: string;
|
|
2657
|
+
reportIndex: number;
|
|
2658
|
+
reportScope: string;
|
|
2659
|
+
revision?: string;
|
|
2660
|
+
sourceToken?: string;
|
|
2661
|
+
}
|
|
2579
2662
|
/** Explicit refresh policy. The key identifies template/layout revisions outside query parameters. */
|
|
2580
2663
|
declare interface ReportRefreshOptions {
|
|
2581
2664
|
retainPrevious?: boolean;
|
|
@@ -2609,11 +2692,7 @@ declare interface ReportSaveInput extends ReportLoadContext {
|
|
|
2609
2692
|
declare interface ReportSaveResult {
|
|
2610
2693
|
revision: string;
|
|
2611
2694
|
sourceToken?: string;
|
|
2612
|
-
conflicts?:
|
|
2613
|
-
editIndex: number;
|
|
2614
|
-
code: string;
|
|
2615
|
-
message: string;
|
|
2616
|
-
}>;
|
|
2695
|
+
conflicts?: ReportProviderConflict[];
|
|
2617
2696
|
diagnostics?: ReportDiagnostic[];
|
|
2618
2697
|
}
|
|
2619
2698
|
declare interface ReportStoredPreferences extends Partial<ReportPreviewPreferences> {
|
package/dist/vue/async.d.ts
CHANGED
|
@@ -374,6 +374,26 @@ declare interface ComputedField_3 extends ExpressionOptions_3 {
|
|
|
374
374
|
/** String adapter expressions cannot be inspected; declare dependencies explicitly. */
|
|
375
375
|
dependsOn?: readonly string[];
|
|
376
376
|
}
|
|
377
|
+
declare interface ConflictReviewMessages {
|
|
378
|
+
conflictReviewTitle: string;
|
|
379
|
+
conflictReviewDescription: string;
|
|
380
|
+
conflictReviewRefresh: string;
|
|
381
|
+
conflictReviewLoading: string;
|
|
382
|
+
conflictReviewApply: string;
|
|
383
|
+
conflictReviewOriginal: string;
|
|
384
|
+
conflictReviewLocal: string;
|
|
385
|
+
conflictReviewServer: string;
|
|
386
|
+
conflictReviewChoose: string;
|
|
387
|
+
conflictReviewMissing: string;
|
|
388
|
+
conflictReviewAmbiguous: string;
|
|
389
|
+
conflictReviewReadonly: string;
|
|
390
|
+
conflictReviewUnavailable: string;
|
|
391
|
+
conflictReviewCount: string;
|
|
392
|
+
conflictReviewSearch: string;
|
|
393
|
+
conflictReviewEmpty: string;
|
|
394
|
+
conflictReviewStale: string;
|
|
395
|
+
conflictReviewRetained: string;
|
|
396
|
+
}
|
|
377
397
|
declare interface DatasetContract {
|
|
378
398
|
fields: readonly ReportFieldContract[];
|
|
379
399
|
rowKey?: string;
|
|
@@ -385,6 +405,18 @@ declare interface DatasetValidationOptions {
|
|
|
385
405
|
maxCells?: number;
|
|
386
406
|
maxIssues?: number;
|
|
387
407
|
}
|
|
408
|
+
/** Bounded detail window with exact occurrence totals. Unknown business codes beyond 128 buckets share `other`. */
|
|
409
|
+
declare interface DiagnosticSummary<T> {
|
|
410
|
+
readonly total: number;
|
|
411
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
412
|
+
readonly entries: readonly T[];
|
|
413
|
+
readonly omitted: number;
|
|
414
|
+
/** Business value explanations form a separate presentation channel, including omitted locations. */
|
|
415
|
+
readonly explanations?: {
|
|
416
|
+
readonly total: number;
|
|
417
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
418
|
+
};
|
|
419
|
+
}
|
|
388
420
|
declare interface ExcelImportedSheet {
|
|
389
421
|
name: string;
|
|
390
422
|
/** Original, one-based workbook position. */
|
|
@@ -612,9 +644,9 @@ declare interface ImageMediaOptions_2 {
|
|
|
612
644
|
/** Maximum source dimension, default 16384 pixels. */
|
|
613
645
|
maxImageDimension?: number;
|
|
614
646
|
}
|
|
615
|
-
/** auto
|
|
647
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
616
648
|
declare type ListAlignment = NonNullable<ComponentStyle["align"]> | "auto";
|
|
617
|
-
/** auto
|
|
649
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
618
650
|
declare type ListAlignment_2 = NonNullable<ComponentStyle_3["align"]> | "auto";
|
|
619
651
|
declare interface ListColumn {
|
|
620
652
|
header: string;
|
|
@@ -698,7 +730,7 @@ declare interface ListComponent {
|
|
|
698
730
|
paddingMm?: number;
|
|
699
731
|
headerEveryPage?: boolean;
|
|
700
732
|
headerBackgroundColor?: string;
|
|
701
|
-
/**
|
|
733
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
702
734
|
align?: ListAlignment;
|
|
703
735
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
704
736
|
headerAlign?: ComponentStyle["align"];
|
|
@@ -750,7 +782,7 @@ declare interface ListComponent_2 {
|
|
|
750
782
|
paddingMm?: number;
|
|
751
783
|
headerEveryPage?: boolean;
|
|
752
784
|
headerBackgroundColor?: string;
|
|
753
|
-
/**
|
|
785
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
754
786
|
align?: ListAlignment_2;
|
|
755
787
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
756
788
|
headerAlign?: ComponentStyle_3["align"];
|
|
@@ -921,7 +953,7 @@ declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
921
953
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
922
954
|
*/
|
|
923
955
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
924
|
-
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
956
|
+
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
925
957
|
previousSnapshot?: string;
|
|
926
958
|
reviewTools?: string;
|
|
927
959
|
validationTitle?: string;
|
|
@@ -930,6 +962,21 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
930
962
|
validationDataset?: string;
|
|
931
963
|
validationRow?: string;
|
|
932
964
|
validationMore?: string;
|
|
965
|
+
validationSearch?: string;
|
|
966
|
+
validationSearchPlaceholder?: string;
|
|
967
|
+
validationSeverity?: string;
|
|
968
|
+
validationAllSeverities?: string;
|
|
969
|
+
validationDatasetFilter?: string;
|
|
970
|
+
validationAllDatasets?: string;
|
|
971
|
+
validationResults?: string;
|
|
972
|
+
validationRange?: string;
|
|
973
|
+
validationPage?: string;
|
|
974
|
+
validationEmpty?: string;
|
|
975
|
+
validationNoMatches?: string;
|
|
976
|
+
validationClear?: string;
|
|
977
|
+
validationLoading?: string;
|
|
978
|
+
validationUnavailable?: string;
|
|
979
|
+
validationFailureSummary?: string;
|
|
933
980
|
drillActions?: string;
|
|
934
981
|
drillOpening?: string;
|
|
935
982
|
drillMissingValue?: string;
|
|
@@ -1100,6 +1147,8 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1100
1147
|
diagnosticsTitle?: string;
|
|
1101
1148
|
diagnosticsSearch?: string;
|
|
1102
1149
|
diagnosticsMore?: string;
|
|
1150
|
+
diagnosticsOmitted?: string;
|
|
1151
|
+
diagnosticsShowMore?: string;
|
|
1103
1152
|
diagnosticsLocate?: string;
|
|
1104
1153
|
diagnosticsLocation?: string;
|
|
1105
1154
|
diagnosticsStrict?: string;
|
|
@@ -1164,6 +1213,7 @@ declare interface MachReportState {
|
|
|
1164
1213
|
readonly pendingLocalChanges?: boolean;
|
|
1165
1214
|
readonly task?: Readonly<ReportPreviewTask> | null;
|
|
1166
1215
|
readonly diagnostics?: readonly Readonly<ReportPreviewDiagnostic>[];
|
|
1216
|
+
readonly diagnosticSummary?: DiagnosticSummary<Readonly<ReportPreviewDiagnostic>>;
|
|
1167
1217
|
/** Context of the displayed API snapshot, which can differ from an unexecuted query form. */
|
|
1168
1218
|
readonly reportIds?: readonly string[];
|
|
1169
1219
|
readonly params?: Readonly<Record<string, string>>;
|
|
@@ -1323,12 +1373,16 @@ declare interface OutputDiagnosticOptions extends OutputTaskOptions {
|
|
|
1323
1373
|
onDiagnostic?: (diagnostic: OutputDiagnostic) => void;
|
|
1324
1374
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
1325
1375
|
fidelity?: "warn" | "strict";
|
|
1376
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
1377
|
+
diagnosticLimit?: number;
|
|
1326
1378
|
}
|
|
1327
1379
|
declare interface OutputDiagnosticOptions_2 extends OutputTaskOptions_2 {
|
|
1328
1380
|
/** Structured fidelity diagnostics; rendering never silently invents missing content. */
|
|
1329
1381
|
onDiagnostic?: (diagnostic: OutputDiagnostic_2) => void;
|
|
1330
1382
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
1331
1383
|
fidelity?: "warn" | "strict";
|
|
1384
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
1385
|
+
diagnosticLimit?: number;
|
|
1332
1386
|
}
|
|
1333
1387
|
declare type OutputFormat = "dom" | "canvas" | "pdf" | "xlsx";
|
|
1334
1388
|
declare type OutputFormat_2 = "dom" | "canvas" | "pdf" | "xlsx";
|
|
@@ -2024,7 +2078,7 @@ declare interface ReportDefinition {
|
|
|
2024
2078
|
params?: ReportParamDef[];
|
|
2025
2079
|
pagination?: PaginateOptions;
|
|
2026
2080
|
}
|
|
2027
|
-
declare interface ReportDiagnostic {
|
|
2081
|
+
declare interface ReportDiagnostic extends Partial<Pick<OutputDiagnostic, "format" | "pageIndex" | "componentIndex" | "componentPath" | "kind" | "nid" | "extension">> {
|
|
2028
2082
|
code: string;
|
|
2029
2083
|
message: string;
|
|
2030
2084
|
path?: string;
|
|
@@ -2033,6 +2087,15 @@ declare interface ReportDiagnostic {
|
|
|
2033
2087
|
valueState?: ReportValueState;
|
|
2034
2088
|
target?: ReportDataTarget;
|
|
2035
2089
|
}
|
|
2090
|
+
declare interface ReportDiagnostic_2 extends Partial<Pick<OutputDiagnostic_2, "format" | "pageIndex" | "componentIndex" | "componentPath" | "kind" | "nid" | "extension">> {
|
|
2091
|
+
code: string;
|
|
2092
|
+
message: string;
|
|
2093
|
+
path?: string;
|
|
2094
|
+
severity: "warning" | "error" | "info";
|
|
2095
|
+
/** Optional explanation supplied by the business source, not inferred from blank cells. */
|
|
2096
|
+
valueState?: ReportValueState_2;
|
|
2097
|
+
target?: ReportDataTarget_2;
|
|
2098
|
+
}
|
|
2036
2099
|
declare type ReportDiscardReason = "reload" | "import" | "replace" | "leave";
|
|
2037
2100
|
/** Serializable action metadata. URLs, scripts and automatic navigation are deliberately absent. */
|
|
2038
2101
|
declare interface ReportDrillAction {
|
|
@@ -2083,6 +2146,13 @@ declare interface ReportEditBatch {
|
|
|
2083
2146
|
edits: ReportCellEdit_2[];
|
|
2084
2147
|
}
|
|
2085
2148
|
declare interface ReportEditConflict {
|
|
2149
|
+
source?: Readonly<ReportCellSource>;
|
|
2150
|
+
address?: ReportCellAddress;
|
|
2151
|
+
message: string;
|
|
2152
|
+
currentValue?: ReportCellValue;
|
|
2153
|
+
revision?: string | number;
|
|
2154
|
+
}
|
|
2155
|
+
declare interface ReportEditConflict_2 {
|
|
2086
2156
|
source?: Readonly<ReportCellSource_2>;
|
|
2087
2157
|
address?: ReportCellAddress_2;
|
|
2088
2158
|
message: string;
|
|
@@ -2122,13 +2192,16 @@ declare interface ReportEditOperation {
|
|
|
2122
2192
|
signal: AbortSignal;
|
|
2123
2193
|
requestId?: string;
|
|
2124
2194
|
action?: "edit" | "undo" | "redo" | "restore";
|
|
2195
|
+
/** Immutable context of the report being edited. */
|
|
2196
|
+
query?: Readonly<ReportEditQueryContext>;
|
|
2125
2197
|
}
|
|
2198
|
+
declare type ReportEditQueryContext = ReportQueryContext;
|
|
2126
2199
|
declare interface ReportEditResult {
|
|
2127
2200
|
/** A successful result may advance concurrency tokens for the affected dataset. */
|
|
2128
2201
|
revision?: string | number;
|
|
2129
2202
|
sourceToken?: string;
|
|
2130
2203
|
/** Any conflict rejects the entire client batch. A server must also transact atomically. */
|
|
2131
|
-
conflicts?: readonly
|
|
2204
|
+
conflicts?: readonly ReportEditConflict_2[];
|
|
2132
2205
|
}
|
|
2133
2206
|
/** 报表含表头但业务行为空时,由接入方明确声明;组件不推测业务数据。 */
|
|
2134
2207
|
declare interface ReportEmptyState {
|
|
@@ -2500,17 +2573,8 @@ declare interface ReportPreviewDataTarget extends ReportDataTarget_2 {
|
|
|
2500
2573
|
/** Added by the query adapter; isolates identical dataset/row/field identities across reports. */
|
|
2501
2574
|
reportScope?: string;
|
|
2502
2575
|
}
|
|
2503
|
-
declare interface ReportPreviewDiagnostic {
|
|
2504
|
-
valueState?: ReportValueState_2;
|
|
2576
|
+
declare interface ReportPreviewDiagnostic extends ReportDiagnostic_2 {
|
|
2505
2577
|
target?: ReportPreviewDataTarget;
|
|
2506
|
-
code: string;
|
|
2507
|
-
severity: "warning" | "error" | "info";
|
|
2508
|
-
message: string;
|
|
2509
|
-
path?: string;
|
|
2510
|
-
format?: OutputFormat;
|
|
2511
|
-
pageIndex?: number;
|
|
2512
|
-
componentIndex?: number;
|
|
2513
|
-
componentPath?: readonly number[];
|
|
2514
2578
|
}
|
|
2515
2579
|
declare type ReportPreviewPreferences = Record<ReportPreviewTool, boolean>;
|
|
2516
2580
|
declare interface ReportPreviewTask {
|
|
@@ -2561,6 +2625,10 @@ declare interface ReportProvider {
|
|
|
2561
2625
|
export?(input: ReportProviderExportInput): ReportProviderExportResult | Promise<ReportProviderExportResult>;
|
|
2562
2626
|
templates?: ReportTemplateProvider;
|
|
2563
2627
|
}
|
|
2628
|
+
declare interface ReportProviderConflict extends Pick<ReportEditConflict, "message" | "currentValue" | "revision"> {
|
|
2629
|
+
editIndex: number;
|
|
2630
|
+
code: string;
|
|
2631
|
+
}
|
|
2564
2632
|
declare interface ReportProviderExportInput extends ReportLoadContext {
|
|
2565
2633
|
format: "pdf" | "xlsx";
|
|
2566
2634
|
}
|
|
@@ -2570,12 +2638,27 @@ declare interface ReportProviderExportResult {
|
|
|
2570
2638
|
fileName?: string;
|
|
2571
2639
|
diagnostics?: ReportDiagnostic[];
|
|
2572
2640
|
}
|
|
2641
|
+
/** Context of an accepted query, independent of an unsubmitted filter form. */
|
|
2642
|
+
declare interface ReportQueryContext {
|
|
2643
|
+
queryId?: string;
|
|
2644
|
+
reportIds: readonly string[];
|
|
2645
|
+
params: Readonly<Record<string, string>>;
|
|
2646
|
+
sources: readonly Readonly<ReportQuerySource>[];
|
|
2647
|
+
}
|
|
2573
2648
|
declare interface ReportQueryResult {
|
|
2574
2649
|
datasets: DatasetRows;
|
|
2575
2650
|
revision?: string;
|
|
2576
2651
|
sourceToken?: string;
|
|
2577
2652
|
diagnostics?: ReportDiagnostic[];
|
|
2578
2653
|
}
|
|
2654
|
+
/** One ordered query occurrence, shared by browser editing and Node preparation. */
|
|
2655
|
+
declare interface ReportQuerySource {
|
|
2656
|
+
reportId: string;
|
|
2657
|
+
reportIndex: number;
|
|
2658
|
+
reportScope: string;
|
|
2659
|
+
revision?: string;
|
|
2660
|
+
sourceToken?: string;
|
|
2661
|
+
}
|
|
2579
2662
|
/** Explicit refresh policy. The key identifies template/layout revisions outside query parameters. */
|
|
2580
2663
|
declare interface ReportRefreshOptions {
|
|
2581
2664
|
retainPrevious?: boolean;
|
|
@@ -2609,11 +2692,7 @@ declare interface ReportSaveInput extends ReportLoadContext {
|
|
|
2609
2692
|
declare interface ReportSaveResult {
|
|
2610
2693
|
revision: string;
|
|
2611
2694
|
sourceToken?: string;
|
|
2612
|
-
conflicts?:
|
|
2613
|
-
editIndex: number;
|
|
2614
|
-
code: string;
|
|
2615
|
-
message: string;
|
|
2616
|
-
}>;
|
|
2695
|
+
conflicts?: ReportProviderConflict[];
|
|
2617
2696
|
diagnostics?: ReportDiagnostic[];
|
|
2618
2697
|
}
|
|
2619
2698
|
declare interface ReportStoredPreferences extends Partial<ReportPreviewPreferences> {
|