@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/index.d.cts
CHANGED
|
@@ -459,15 +459,9 @@ declare type __VLS_Props_3 = {
|
|
|
459
459
|
};
|
|
460
460
|
declare type __VLS_Props_4 = {
|
|
461
461
|
issues: readonly ReportValidationIssue[];
|
|
462
|
-
messages?: Partial<
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
warning: string;
|
|
466
|
-
locate: string;
|
|
467
|
-
dataset: string;
|
|
468
|
-
row: string;
|
|
469
|
-
more: string;
|
|
470
|
-
}>;
|
|
462
|
+
messages?: Partial<ReportValidationPanelMessages>;
|
|
463
|
+
plan?: RenderPlan | null;
|
|
464
|
+
busy?: boolean;
|
|
471
465
|
};
|
|
472
466
|
declare type __VLS_Props_5 = {
|
|
473
467
|
state: ReportPrefillState;
|
|
@@ -932,6 +926,26 @@ declare interface ComputedField_3 extends ExpressionOptions_3 {
|
|
|
932
926
|
dependsOn?: readonly string[];
|
|
933
927
|
}
|
|
934
928
|
declare type ConfigRef = ComputedRef<MachReportConfig | null>;
|
|
929
|
+
declare interface ConflictReviewMessages {
|
|
930
|
+
conflictReviewTitle: string;
|
|
931
|
+
conflictReviewDescription: string;
|
|
932
|
+
conflictReviewRefresh: string;
|
|
933
|
+
conflictReviewLoading: string;
|
|
934
|
+
conflictReviewApply: string;
|
|
935
|
+
conflictReviewOriginal: string;
|
|
936
|
+
conflictReviewLocal: string;
|
|
937
|
+
conflictReviewServer: string;
|
|
938
|
+
conflictReviewChoose: string;
|
|
939
|
+
conflictReviewMissing: string;
|
|
940
|
+
conflictReviewAmbiguous: string;
|
|
941
|
+
conflictReviewReadonly: string;
|
|
942
|
+
conflictReviewUnavailable: string;
|
|
943
|
+
conflictReviewCount: string;
|
|
944
|
+
conflictReviewSearch: string;
|
|
945
|
+
conflictReviewEmpty: string;
|
|
946
|
+
conflictReviewStale: string;
|
|
947
|
+
conflictReviewRetained: string;
|
|
948
|
+
}
|
|
935
949
|
/**
|
|
936
950
|
* 默认 PDF 导出器:
|
|
937
951
|
* - 懒加载 @agile-team/mach-report/pdf(含 pdf-lib,只在首次导出时进 bundle)
|
|
@@ -952,7 +966,7 @@ export declare function createLocalFetcher(entries: Record<string, LocalTemplate
|
|
|
952
966
|
/** Independent physical test page. Its ruler is measured in millimetres, never CSS pixels. */
|
|
953
967
|
export declare function createPrintCalibrationPlan(widthMm: number, heightMm: number): RenderPlan;
|
|
954
968
|
/** Explicit persistence bridge. Merely registering ReportProvider never enables editing or saving. */
|
|
955
|
-
export declare function createProviderEditing(provider: ReportProvider, options
|
|
969
|
+
export declare function createProviderEditing(provider: ReportProvider, options?: ProviderEditingOptions): ReportEditingOptions;
|
|
956
970
|
/** Optional browser convenience adapter. Access errors are handled by the preview. */
|
|
957
971
|
export declare function createReportStoragePreferences(storage: Pick<Storage, "getItem" | "setItem" | "removeItem">): ReportPreferencesAdapter;
|
|
958
972
|
declare type Current<T> = T | (() => T);
|
|
@@ -980,6 +994,18 @@ export declare interface DefaultPdfExporterOptions {
|
|
|
980
994
|
export declare function defineMachReportConfig(config?: MachReportConfigInput): MachReportConfig;
|
|
981
995
|
/** 类型化 preset 声明 */
|
|
982
996
|
export declare function defineMachReportPreset(preset: MachReportPreset): MachReportPreset;
|
|
997
|
+
/** Bounded detail window with exact occurrence totals. Unknown business codes beyond 128 buckets share `other`. */
|
|
998
|
+
declare interface DiagnosticSummary<T> {
|
|
999
|
+
readonly total: number;
|
|
1000
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
1001
|
+
readonly entries: readonly T[];
|
|
1002
|
+
readonly omitted: number;
|
|
1003
|
+
/** Business value explanations form a separate presentation channel, including omitted locations. */
|
|
1004
|
+
readonly explanations?: {
|
|
1005
|
+
readonly total: number;
|
|
1006
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
1007
|
+
};
|
|
1008
|
+
}
|
|
983
1009
|
declare interface ExcelImportedSheet {
|
|
984
1010
|
name: string;
|
|
985
1011
|
/** Original, one-based workbook position. */
|
|
@@ -1242,11 +1268,11 @@ declare interface ImageMediaOptions_2 {
|
|
|
1242
1268
|
maxImageDimension?: number;
|
|
1243
1269
|
}
|
|
1244
1270
|
export declare function joinReportIds(reportId: ReportIdInput): string;
|
|
1245
|
-
/** auto
|
|
1271
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1246
1272
|
declare type ListAlignment = NonNullable<ComponentStyle_2["align"]> | "auto";
|
|
1247
|
-
/** auto
|
|
1273
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1248
1274
|
declare type ListAlignment_2 = NonNullable<ComponentStyle["align"]> | "auto";
|
|
1249
|
-
/** auto
|
|
1275
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1250
1276
|
declare type ListAlignment_3 = NonNullable<ComponentStyle_3["align"]> | "auto";
|
|
1251
1277
|
declare interface ListColumn {
|
|
1252
1278
|
header: string;
|
|
@@ -1357,7 +1383,7 @@ declare interface ListComponent {
|
|
|
1357
1383
|
paddingMm?: number;
|
|
1358
1384
|
headerEveryPage?: boolean;
|
|
1359
1385
|
headerBackgroundColor?: string;
|
|
1360
|
-
/**
|
|
1386
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1361
1387
|
align?: ListAlignment;
|
|
1362
1388
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1363
1389
|
headerAlign?: ComponentStyle_2["align"];
|
|
@@ -1409,7 +1435,7 @@ declare interface ListComponent_2 {
|
|
|
1409
1435
|
paddingMm?: number;
|
|
1410
1436
|
headerEveryPage?: boolean;
|
|
1411
1437
|
headerBackgroundColor?: string;
|
|
1412
|
-
/**
|
|
1438
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1413
1439
|
align?: ListAlignment_2;
|
|
1414
1440
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1415
1441
|
headerAlign?: ComponentStyle["align"];
|
|
@@ -1461,7 +1487,7 @@ declare interface ListComponent_3 {
|
|
|
1461
1487
|
paddingMm?: number;
|
|
1462
1488
|
headerEveryPage?: boolean;
|
|
1463
1489
|
headerBackgroundColor?: string;
|
|
1464
|
-
/**
|
|
1490
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1465
1491
|
align?: ListAlignment_3;
|
|
1466
1492
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1467
1493
|
headerAlign?: ComponentStyle_3["align"];
|
|
@@ -1753,7 +1779,7 @@ export declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
1753
1779
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1754
1780
|
*/
|
|
1755
1781
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1756
|
-
export declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1782
|
+
export declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1757
1783
|
previousSnapshot?: string;
|
|
1758
1784
|
reviewTools?: string;
|
|
1759
1785
|
validationTitle?: string;
|
|
@@ -1762,6 +1788,21 @@ export declare interface MachReportMessages extends Partial<ReportCalculationMes
|
|
|
1762
1788
|
validationDataset?: string;
|
|
1763
1789
|
validationRow?: string;
|
|
1764
1790
|
validationMore?: string;
|
|
1791
|
+
validationSearch?: string;
|
|
1792
|
+
validationSearchPlaceholder?: string;
|
|
1793
|
+
validationSeverity?: string;
|
|
1794
|
+
validationAllSeverities?: string;
|
|
1795
|
+
validationDatasetFilter?: string;
|
|
1796
|
+
validationAllDatasets?: string;
|
|
1797
|
+
validationResults?: string;
|
|
1798
|
+
validationRange?: string;
|
|
1799
|
+
validationPage?: string;
|
|
1800
|
+
validationEmpty?: string;
|
|
1801
|
+
validationNoMatches?: string;
|
|
1802
|
+
validationClear?: string;
|
|
1803
|
+
validationLoading?: string;
|
|
1804
|
+
validationUnavailable?: string;
|
|
1805
|
+
validationFailureSummary?: string;
|
|
1765
1806
|
drillActions?: string;
|
|
1766
1807
|
drillOpening?: string;
|
|
1767
1808
|
drillMissingValue?: string;
|
|
@@ -1932,6 +1973,8 @@ export declare interface MachReportMessages extends Partial<ReportCalculationMes
|
|
|
1932
1973
|
diagnosticsTitle?: string;
|
|
1933
1974
|
diagnosticsSearch?: string;
|
|
1934
1975
|
diagnosticsMore?: string;
|
|
1976
|
+
diagnosticsOmitted?: string;
|
|
1977
|
+
diagnosticsShowMore?: string;
|
|
1935
1978
|
diagnosticsLocate?: string;
|
|
1936
1979
|
diagnosticsLocation?: string;
|
|
1937
1980
|
diagnosticsStrict?: string;
|
|
@@ -2009,6 +2052,7 @@ export declare interface MachReportState {
|
|
|
2009
2052
|
readonly pendingLocalChanges?: boolean;
|
|
2010
2053
|
readonly task?: Readonly<ReportPreviewTask> | null;
|
|
2011
2054
|
readonly diagnostics?: readonly Readonly<ReportPreviewDiagnostic>[];
|
|
2055
|
+
readonly diagnosticSummary?: DiagnosticSummary<Readonly<ReportPreviewDiagnostic>>;
|
|
2012
2056
|
/** Context of the displayed API snapshot, which can differ from an unexecuted query form. */
|
|
2013
2057
|
readonly reportIds?: readonly string[];
|
|
2014
2058
|
readonly params?: Readonly<Record<string, string>>;
|
|
@@ -2207,12 +2251,16 @@ declare interface OutputDiagnosticOptions extends OutputTaskOptions {
|
|
|
2207
2251
|
onDiagnostic?: (diagnostic: OutputDiagnostic) => void;
|
|
2208
2252
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
2209
2253
|
fidelity?: "warn" | "strict";
|
|
2254
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
2255
|
+
diagnosticLimit?: number;
|
|
2210
2256
|
}
|
|
2211
2257
|
declare interface OutputDiagnosticOptions_2 extends OutputTaskOptions_2 {
|
|
2212
2258
|
/** Structured fidelity diagnostics; rendering never silently invents missing content. */
|
|
2213
2259
|
onDiagnostic?: (diagnostic: OutputDiagnostic_2) => void;
|
|
2214
2260
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
2215
2261
|
fidelity?: "warn" | "strict";
|
|
2262
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
2263
|
+
diagnosticLimit?: number;
|
|
2216
2264
|
}
|
|
2217
2265
|
declare type OutputFormat = "dom" | "canvas" | "pdf" | "xlsx";
|
|
2218
2266
|
declare type OutputFormat_2 = "dom" | "canvas" | "pdf" | "xlsx";
|
|
@@ -2508,7 +2556,7 @@ export declare function printPlans(plans: RenderPlan_2[], options?: {
|
|
|
2508
2556
|
*/
|
|
2509
2557
|
export declare function provideMachReportConfig(overlay: MachReportConfigInput | MachReportDefaults): void;
|
|
2510
2558
|
export declare interface ProviderEditingOptions extends Pick<ReportEditingOptions, "canEdit" | "readOnlyReason" | "history" | "fields" | "validate" | "validation" | "validateBatch" | "requireSource"> {
|
|
2511
|
-
reportId
|
|
2559
|
+
reportId?: Current<string>;
|
|
2512
2560
|
params?: Current<Record<string, string>>;
|
|
2513
2561
|
/** Getters are useful when query metadata is held by the host. Otherwise stable cell sources are used. */
|
|
2514
2562
|
expectedRevision?: Current<string | undefined>;
|
|
@@ -3008,7 +3056,7 @@ declare interface ReportDefinition {
|
|
|
3008
3056
|
params?: ReportParamDef[];
|
|
3009
3057
|
pagination?: PaginateOptions;
|
|
3010
3058
|
}
|
|
3011
|
-
declare interface ReportDiagnostic {
|
|
3059
|
+
declare interface ReportDiagnostic extends Partial<Pick<OutputDiagnostic, "format" | "pageIndex" | "componentIndex" | "componentPath" | "kind" | "nid" | "extension">> {
|
|
3012
3060
|
code: string;
|
|
3013
3061
|
message: string;
|
|
3014
3062
|
path?: string;
|
|
@@ -3017,6 +3065,15 @@ declare interface ReportDiagnostic {
|
|
|
3017
3065
|
valueState?: ReportValueState;
|
|
3018
3066
|
target?: ReportDataTarget;
|
|
3019
3067
|
}
|
|
3068
|
+
declare interface ReportDiagnostic_2 extends Partial<Pick<OutputDiagnostic_2, "format" | "pageIndex" | "componentIndex" | "componentPath" | "kind" | "nid" | "extension">> {
|
|
3069
|
+
code: string;
|
|
3070
|
+
message: string;
|
|
3071
|
+
path?: string;
|
|
3072
|
+
severity: "warning" | "error" | "info";
|
|
3073
|
+
/** Optional explanation supplied by the business source, not inferred from blank cells. */
|
|
3074
|
+
valueState?: ReportValueState_2;
|
|
3075
|
+
target?: ReportDataTarget_2;
|
|
3076
|
+
}
|
|
3020
3077
|
export declare type ReportDiscardReason = "reload" | "import" | "replace" | "leave";
|
|
3021
3078
|
/** Serializable action metadata. URLs, scripts and automatic navigation are deliberately absent. */
|
|
3022
3079
|
declare interface ReportDrillAction {
|
|
@@ -3073,6 +3130,13 @@ declare interface ReportEditConflict {
|
|
|
3073
3130
|
currentValue?: ReportCellValue;
|
|
3074
3131
|
revision?: string | number;
|
|
3075
3132
|
}
|
|
3133
|
+
declare interface ReportEditConflict_2 {
|
|
3134
|
+
source?: Readonly<ReportCellSource_2>;
|
|
3135
|
+
address?: ReportCellAddress_2;
|
|
3136
|
+
message: string;
|
|
3137
|
+
currentValue?: ReportCellValue_2;
|
|
3138
|
+
revision?: string | number;
|
|
3139
|
+
}
|
|
3076
3140
|
export declare interface ReportEditHistoryOptions {
|
|
3077
3141
|
/** Retained undo/redo transactions. Default 100. Zero disables undo retention. */
|
|
3078
3142
|
maxSteps?: number;
|
|
@@ -3106,7 +3170,10 @@ export declare interface ReportEditOperation {
|
|
|
3106
3170
|
signal: AbortSignal;
|
|
3107
3171
|
requestId?: string;
|
|
3108
3172
|
action?: "edit" | "undo" | "redo" | "restore";
|
|
3173
|
+
/** Immutable context of the report being edited. */
|
|
3174
|
+
query?: Readonly<ReportEditQueryContext>;
|
|
3109
3175
|
}
|
|
3176
|
+
export declare type ReportEditQueryContext = ReportQueryContext;
|
|
3110
3177
|
declare interface ReportEditResult {
|
|
3111
3178
|
/** A successful result may advance concurrency tokens for the affected dataset. */
|
|
3112
3179
|
revision?: string | number;
|
|
@@ -3611,17 +3678,8 @@ export declare interface ReportPreviewDataTarget extends ReportDataTarget_2 {
|
|
|
3611
3678
|
/** Added by the query adapter; isolates identical dataset/row/field identities across reports. */
|
|
3612
3679
|
reportScope?: string;
|
|
3613
3680
|
}
|
|
3614
|
-
export declare interface ReportPreviewDiagnostic {
|
|
3615
|
-
valueState?: ReportValueState_2;
|
|
3681
|
+
export declare interface ReportPreviewDiagnostic extends ReportDiagnostic_2 {
|
|
3616
3682
|
target?: ReportPreviewDataTarget;
|
|
3617
|
-
code: string;
|
|
3618
|
-
severity: "warning" | "error" | "info";
|
|
3619
|
-
message: string;
|
|
3620
|
-
path?: string;
|
|
3621
|
-
format?: OutputFormat;
|
|
3622
|
-
pageIndex?: number;
|
|
3623
|
-
componentIndex?: number;
|
|
3624
|
-
componentPath?: readonly number[];
|
|
3625
3683
|
}
|
|
3626
3684
|
export declare type ReportPreviewPreferences = Record<ReportPreviewTool, boolean>;
|
|
3627
3685
|
export declare interface ReportPreviewTask {
|
|
@@ -3678,6 +3736,10 @@ declare interface ReportProvider {
|
|
|
3678
3736
|
export?(input: ReportProviderExportInput): ReportProviderExportResult | Promise<ReportProviderExportResult>;
|
|
3679
3737
|
templates?: ReportTemplateProvider;
|
|
3680
3738
|
}
|
|
3739
|
+
declare interface ReportProviderConflict extends Pick<ReportEditConflict_2, "message" | "currentValue" | "revision"> {
|
|
3740
|
+
editIndex: number;
|
|
3741
|
+
code: string;
|
|
3742
|
+
}
|
|
3681
3743
|
declare interface ReportProviderExportInput extends ReportLoadContext {
|
|
3682
3744
|
format: "pdf" | "xlsx";
|
|
3683
3745
|
}
|
|
@@ -3687,12 +3749,27 @@ declare interface ReportProviderExportResult {
|
|
|
3687
3749
|
fileName?: string;
|
|
3688
3750
|
diagnostics?: ReportDiagnostic[];
|
|
3689
3751
|
}
|
|
3752
|
+
/** Context of an accepted query, independent of an unsubmitted filter form. */
|
|
3753
|
+
declare interface ReportQueryContext {
|
|
3754
|
+
queryId?: string;
|
|
3755
|
+
reportIds: readonly string[];
|
|
3756
|
+
params: Readonly<Record<string, string>>;
|
|
3757
|
+
sources: readonly Readonly<ReportQuerySource>[];
|
|
3758
|
+
}
|
|
3690
3759
|
declare interface ReportQueryResult {
|
|
3691
3760
|
datasets: DatasetRows;
|
|
3692
3761
|
revision?: string;
|
|
3693
3762
|
sourceToken?: string;
|
|
3694
3763
|
diagnostics?: ReportDiagnostic[];
|
|
3695
3764
|
}
|
|
3765
|
+
/** One ordered query occurrence, shared by browser editing and Node preparation. */
|
|
3766
|
+
declare interface ReportQuerySource {
|
|
3767
|
+
reportId: string;
|
|
3768
|
+
reportIndex: number;
|
|
3769
|
+
reportScope: string;
|
|
3770
|
+
revision?: string;
|
|
3771
|
+
sourceToken?: string;
|
|
3772
|
+
}
|
|
3696
3773
|
/** Explicit refresh policy. The key identifies template/layout revisions outside query parameters. */
|
|
3697
3774
|
export declare interface ReportRefreshOptions {
|
|
3698
3775
|
retainPrevious?: boolean;
|
|
@@ -3726,11 +3803,7 @@ declare interface ReportSaveInput extends ReportLoadContext {
|
|
|
3726
3803
|
declare interface ReportSaveResult {
|
|
3727
3804
|
revision: string;
|
|
3728
3805
|
sourceToken?: string;
|
|
3729
|
-
conflicts?:
|
|
3730
|
-
editIndex: number;
|
|
3731
|
-
code: string;
|
|
3732
|
-
message: string;
|
|
3733
|
-
}>;
|
|
3806
|
+
conflicts?: ReportProviderConflict[];
|
|
3734
3807
|
diagnostics?: ReportDiagnostic[];
|
|
3735
3808
|
}
|
|
3736
3809
|
export declare interface ReportSection {
|
|
@@ -3902,6 +3975,32 @@ export declare const ReportValidationPanel: DefineComponent<__VLS_Props_4, {}, {
|
|
|
3902
3975
|
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_4> & Readonly<{
|
|
3903
3976
|
onLocate?: ((issue: ReportValidationIssue) => any) | undefined;
|
|
3904
3977
|
}>, {}>;
|
|
3978
|
+
declare interface ReportValidationPanelMessages {
|
|
3979
|
+
title: string;
|
|
3980
|
+
error: string;
|
|
3981
|
+
warning: string;
|
|
3982
|
+
locate: string;
|
|
3983
|
+
dataset: string;
|
|
3984
|
+
row: string;
|
|
3985
|
+
/** Kept for existing message overrides; every issue is now reachable by pagination. */
|
|
3986
|
+
more: string;
|
|
3987
|
+
search: string;
|
|
3988
|
+
searchPlaceholder: string;
|
|
3989
|
+
severity: string;
|
|
3990
|
+
allSeverities: string;
|
|
3991
|
+
datasetFilter: string;
|
|
3992
|
+
allDatasets: string;
|
|
3993
|
+
results: string;
|
|
3994
|
+
range: string;
|
|
3995
|
+
previous: string;
|
|
3996
|
+
next: string;
|
|
3997
|
+
page: string;
|
|
3998
|
+
empty: string;
|
|
3999
|
+
noMatches: string;
|
|
4000
|
+
clear: string;
|
|
4001
|
+
loading: string;
|
|
4002
|
+
unavailable: string;
|
|
4003
|
+
}
|
|
3905
4004
|
declare interface ReportValidationRule {
|
|
3906
4005
|
id: string;
|
|
3907
4006
|
/** Optional target; omitted applies to each candidate dataset. */
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -459,15 +459,9 @@ declare type __VLS_Props_3 = {
|
|
|
459
459
|
};
|
|
460
460
|
declare type __VLS_Props_4 = {
|
|
461
461
|
issues: readonly ReportValidationIssue[];
|
|
462
|
-
messages?: Partial<
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
warning: string;
|
|
466
|
-
locate: string;
|
|
467
|
-
dataset: string;
|
|
468
|
-
row: string;
|
|
469
|
-
more: string;
|
|
470
|
-
}>;
|
|
462
|
+
messages?: Partial<ReportValidationPanelMessages>;
|
|
463
|
+
plan?: RenderPlan | null;
|
|
464
|
+
busy?: boolean;
|
|
471
465
|
};
|
|
472
466
|
declare type __VLS_Props_5 = {
|
|
473
467
|
state: ReportPrefillState;
|
|
@@ -932,6 +926,26 @@ declare interface ComputedField_3 extends ExpressionOptions_3 {
|
|
|
932
926
|
dependsOn?: readonly string[];
|
|
933
927
|
}
|
|
934
928
|
declare type ConfigRef = ComputedRef<MachReportConfig | null>;
|
|
929
|
+
declare interface ConflictReviewMessages {
|
|
930
|
+
conflictReviewTitle: string;
|
|
931
|
+
conflictReviewDescription: string;
|
|
932
|
+
conflictReviewRefresh: string;
|
|
933
|
+
conflictReviewLoading: string;
|
|
934
|
+
conflictReviewApply: string;
|
|
935
|
+
conflictReviewOriginal: string;
|
|
936
|
+
conflictReviewLocal: string;
|
|
937
|
+
conflictReviewServer: string;
|
|
938
|
+
conflictReviewChoose: string;
|
|
939
|
+
conflictReviewMissing: string;
|
|
940
|
+
conflictReviewAmbiguous: string;
|
|
941
|
+
conflictReviewReadonly: string;
|
|
942
|
+
conflictReviewUnavailable: string;
|
|
943
|
+
conflictReviewCount: string;
|
|
944
|
+
conflictReviewSearch: string;
|
|
945
|
+
conflictReviewEmpty: string;
|
|
946
|
+
conflictReviewStale: string;
|
|
947
|
+
conflictReviewRetained: string;
|
|
948
|
+
}
|
|
935
949
|
/**
|
|
936
950
|
* 默认 PDF 导出器:
|
|
937
951
|
* - 懒加载 @agile-team/mach-report/pdf(含 pdf-lib,只在首次导出时进 bundle)
|
|
@@ -952,7 +966,7 @@ export declare function createLocalFetcher(entries: Record<string, LocalTemplate
|
|
|
952
966
|
/** Independent physical test page. Its ruler is measured in millimetres, never CSS pixels. */
|
|
953
967
|
export declare function createPrintCalibrationPlan(widthMm: number, heightMm: number): RenderPlan;
|
|
954
968
|
/** Explicit persistence bridge. Merely registering ReportProvider never enables editing or saving. */
|
|
955
|
-
export declare function createProviderEditing(provider: ReportProvider, options
|
|
969
|
+
export declare function createProviderEditing(provider: ReportProvider, options?: ProviderEditingOptions): ReportEditingOptions;
|
|
956
970
|
/** Optional browser convenience adapter. Access errors are handled by the preview. */
|
|
957
971
|
export declare function createReportStoragePreferences(storage: Pick<Storage, "getItem" | "setItem" | "removeItem">): ReportPreferencesAdapter;
|
|
958
972
|
declare type Current<T> = T | (() => T);
|
|
@@ -980,6 +994,18 @@ export declare interface DefaultPdfExporterOptions {
|
|
|
980
994
|
export declare function defineMachReportConfig(config?: MachReportConfigInput): MachReportConfig;
|
|
981
995
|
/** 类型化 preset 声明 */
|
|
982
996
|
export declare function defineMachReportPreset(preset: MachReportPreset): MachReportPreset;
|
|
997
|
+
/** Bounded detail window with exact occurrence totals. Unknown business codes beyond 128 buckets share `other`. */
|
|
998
|
+
declare interface DiagnosticSummary<T> {
|
|
999
|
+
readonly total: number;
|
|
1000
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
1001
|
+
readonly entries: readonly T[];
|
|
1002
|
+
readonly omitted: number;
|
|
1003
|
+
/** Business value explanations form a separate presentation channel, including omitted locations. */
|
|
1004
|
+
readonly explanations?: {
|
|
1005
|
+
readonly total: number;
|
|
1006
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
1007
|
+
};
|
|
1008
|
+
}
|
|
983
1009
|
declare interface ExcelImportedSheet {
|
|
984
1010
|
name: string;
|
|
985
1011
|
/** Original, one-based workbook position. */
|
|
@@ -1242,11 +1268,11 @@ declare interface ImageMediaOptions_2 {
|
|
|
1242
1268
|
maxImageDimension?: number;
|
|
1243
1269
|
}
|
|
1244
1270
|
export declare function joinReportIds(reportId: ReportIdInput): string;
|
|
1245
|
-
/** auto
|
|
1271
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1246
1272
|
declare type ListAlignment = NonNullable<ComponentStyle_2["align"]> | "auto";
|
|
1247
|
-
/** auto
|
|
1273
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1248
1274
|
declare type ListAlignment_2 = NonNullable<ComponentStyle["align"]> | "auto";
|
|
1249
|
-
/** auto
|
|
1275
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1250
1276
|
declare type ListAlignment_3 = NonNullable<ComponentStyle_3["align"]> | "auto";
|
|
1251
1277
|
declare interface ListColumn {
|
|
1252
1278
|
header: string;
|
|
@@ -1357,7 +1383,7 @@ declare interface ListComponent {
|
|
|
1357
1383
|
paddingMm?: number;
|
|
1358
1384
|
headerEveryPage?: boolean;
|
|
1359
1385
|
headerBackgroundColor?: string;
|
|
1360
|
-
/**
|
|
1386
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1361
1387
|
align?: ListAlignment;
|
|
1362
1388
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1363
1389
|
headerAlign?: ComponentStyle_2["align"];
|
|
@@ -1409,7 +1435,7 @@ declare interface ListComponent_2 {
|
|
|
1409
1435
|
paddingMm?: number;
|
|
1410
1436
|
headerEveryPage?: boolean;
|
|
1411
1437
|
headerBackgroundColor?: string;
|
|
1412
|
-
/**
|
|
1438
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1413
1439
|
align?: ListAlignment_2;
|
|
1414
1440
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1415
1441
|
headerAlign?: ComponentStyle["align"];
|
|
@@ -1461,7 +1487,7 @@ declare interface ListComponent_3 {
|
|
|
1461
1487
|
paddingMm?: number;
|
|
1462
1488
|
headerEveryPage?: boolean;
|
|
1463
1489
|
headerBackgroundColor?: string;
|
|
1464
|
-
/**
|
|
1490
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1465
1491
|
align?: ListAlignment_3;
|
|
1466
1492
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1467
1493
|
headerAlign?: ComponentStyle_3["align"];
|
|
@@ -1753,7 +1779,7 @@ export declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
1753
1779
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1754
1780
|
*/
|
|
1755
1781
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1756
|
-
export declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1782
|
+
export declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1757
1783
|
previousSnapshot?: string;
|
|
1758
1784
|
reviewTools?: string;
|
|
1759
1785
|
validationTitle?: string;
|
|
@@ -1762,6 +1788,21 @@ export declare interface MachReportMessages extends Partial<ReportCalculationMes
|
|
|
1762
1788
|
validationDataset?: string;
|
|
1763
1789
|
validationRow?: string;
|
|
1764
1790
|
validationMore?: string;
|
|
1791
|
+
validationSearch?: string;
|
|
1792
|
+
validationSearchPlaceholder?: string;
|
|
1793
|
+
validationSeverity?: string;
|
|
1794
|
+
validationAllSeverities?: string;
|
|
1795
|
+
validationDatasetFilter?: string;
|
|
1796
|
+
validationAllDatasets?: string;
|
|
1797
|
+
validationResults?: string;
|
|
1798
|
+
validationRange?: string;
|
|
1799
|
+
validationPage?: string;
|
|
1800
|
+
validationEmpty?: string;
|
|
1801
|
+
validationNoMatches?: string;
|
|
1802
|
+
validationClear?: string;
|
|
1803
|
+
validationLoading?: string;
|
|
1804
|
+
validationUnavailable?: string;
|
|
1805
|
+
validationFailureSummary?: string;
|
|
1765
1806
|
drillActions?: string;
|
|
1766
1807
|
drillOpening?: string;
|
|
1767
1808
|
drillMissingValue?: string;
|
|
@@ -1932,6 +1973,8 @@ export declare interface MachReportMessages extends Partial<ReportCalculationMes
|
|
|
1932
1973
|
diagnosticsTitle?: string;
|
|
1933
1974
|
diagnosticsSearch?: string;
|
|
1934
1975
|
diagnosticsMore?: string;
|
|
1976
|
+
diagnosticsOmitted?: string;
|
|
1977
|
+
diagnosticsShowMore?: string;
|
|
1935
1978
|
diagnosticsLocate?: string;
|
|
1936
1979
|
diagnosticsLocation?: string;
|
|
1937
1980
|
diagnosticsStrict?: string;
|
|
@@ -2009,6 +2052,7 @@ export declare interface MachReportState {
|
|
|
2009
2052
|
readonly pendingLocalChanges?: boolean;
|
|
2010
2053
|
readonly task?: Readonly<ReportPreviewTask> | null;
|
|
2011
2054
|
readonly diagnostics?: readonly Readonly<ReportPreviewDiagnostic>[];
|
|
2055
|
+
readonly diagnosticSummary?: DiagnosticSummary<Readonly<ReportPreviewDiagnostic>>;
|
|
2012
2056
|
/** Context of the displayed API snapshot, which can differ from an unexecuted query form. */
|
|
2013
2057
|
readonly reportIds?: readonly string[];
|
|
2014
2058
|
readonly params?: Readonly<Record<string, string>>;
|
|
@@ -2207,12 +2251,16 @@ declare interface OutputDiagnosticOptions extends OutputTaskOptions {
|
|
|
2207
2251
|
onDiagnostic?: (diagnostic: OutputDiagnostic) => void;
|
|
2208
2252
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
2209
2253
|
fidelity?: "warn" | "strict";
|
|
2254
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
2255
|
+
diagnosticLimit?: number;
|
|
2210
2256
|
}
|
|
2211
2257
|
declare interface OutputDiagnosticOptions_2 extends OutputTaskOptions_2 {
|
|
2212
2258
|
/** Structured fidelity diagnostics; rendering never silently invents missing content. */
|
|
2213
2259
|
onDiagnostic?: (diagnostic: OutputDiagnostic_2) => void;
|
|
2214
2260
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
2215
2261
|
fidelity?: "warn" | "strict";
|
|
2262
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
2263
|
+
diagnosticLimit?: number;
|
|
2216
2264
|
}
|
|
2217
2265
|
declare type OutputFormat = "dom" | "canvas" | "pdf" | "xlsx";
|
|
2218
2266
|
declare type OutputFormat_2 = "dom" | "canvas" | "pdf" | "xlsx";
|
|
@@ -2508,7 +2556,7 @@ export declare function printPlans(plans: RenderPlan_2[], options?: {
|
|
|
2508
2556
|
*/
|
|
2509
2557
|
export declare function provideMachReportConfig(overlay: MachReportConfigInput | MachReportDefaults): void;
|
|
2510
2558
|
export declare interface ProviderEditingOptions extends Pick<ReportEditingOptions, "canEdit" | "readOnlyReason" | "history" | "fields" | "validate" | "validation" | "validateBatch" | "requireSource"> {
|
|
2511
|
-
reportId
|
|
2559
|
+
reportId?: Current<string>;
|
|
2512
2560
|
params?: Current<Record<string, string>>;
|
|
2513
2561
|
/** Getters are useful when query metadata is held by the host. Otherwise stable cell sources are used. */
|
|
2514
2562
|
expectedRevision?: Current<string | undefined>;
|
|
@@ -3008,7 +3056,7 @@ declare interface ReportDefinition {
|
|
|
3008
3056
|
params?: ReportParamDef[];
|
|
3009
3057
|
pagination?: PaginateOptions;
|
|
3010
3058
|
}
|
|
3011
|
-
declare interface ReportDiagnostic {
|
|
3059
|
+
declare interface ReportDiagnostic extends Partial<Pick<OutputDiagnostic, "format" | "pageIndex" | "componentIndex" | "componentPath" | "kind" | "nid" | "extension">> {
|
|
3012
3060
|
code: string;
|
|
3013
3061
|
message: string;
|
|
3014
3062
|
path?: string;
|
|
@@ -3017,6 +3065,15 @@ declare interface ReportDiagnostic {
|
|
|
3017
3065
|
valueState?: ReportValueState;
|
|
3018
3066
|
target?: ReportDataTarget;
|
|
3019
3067
|
}
|
|
3068
|
+
declare interface ReportDiagnostic_2 extends Partial<Pick<OutputDiagnostic_2, "format" | "pageIndex" | "componentIndex" | "componentPath" | "kind" | "nid" | "extension">> {
|
|
3069
|
+
code: string;
|
|
3070
|
+
message: string;
|
|
3071
|
+
path?: string;
|
|
3072
|
+
severity: "warning" | "error" | "info";
|
|
3073
|
+
/** Optional explanation supplied by the business source, not inferred from blank cells. */
|
|
3074
|
+
valueState?: ReportValueState_2;
|
|
3075
|
+
target?: ReportDataTarget_2;
|
|
3076
|
+
}
|
|
3020
3077
|
export declare type ReportDiscardReason = "reload" | "import" | "replace" | "leave";
|
|
3021
3078
|
/** Serializable action metadata. URLs, scripts and automatic navigation are deliberately absent. */
|
|
3022
3079
|
declare interface ReportDrillAction {
|
|
@@ -3073,6 +3130,13 @@ declare interface ReportEditConflict {
|
|
|
3073
3130
|
currentValue?: ReportCellValue;
|
|
3074
3131
|
revision?: string | number;
|
|
3075
3132
|
}
|
|
3133
|
+
declare interface ReportEditConflict_2 {
|
|
3134
|
+
source?: Readonly<ReportCellSource_2>;
|
|
3135
|
+
address?: ReportCellAddress_2;
|
|
3136
|
+
message: string;
|
|
3137
|
+
currentValue?: ReportCellValue_2;
|
|
3138
|
+
revision?: string | number;
|
|
3139
|
+
}
|
|
3076
3140
|
export declare interface ReportEditHistoryOptions {
|
|
3077
3141
|
/** Retained undo/redo transactions. Default 100. Zero disables undo retention. */
|
|
3078
3142
|
maxSteps?: number;
|
|
@@ -3106,7 +3170,10 @@ export declare interface ReportEditOperation {
|
|
|
3106
3170
|
signal: AbortSignal;
|
|
3107
3171
|
requestId?: string;
|
|
3108
3172
|
action?: "edit" | "undo" | "redo" | "restore";
|
|
3173
|
+
/** Immutable context of the report being edited. */
|
|
3174
|
+
query?: Readonly<ReportEditQueryContext>;
|
|
3109
3175
|
}
|
|
3176
|
+
export declare type ReportEditQueryContext = ReportQueryContext;
|
|
3110
3177
|
declare interface ReportEditResult {
|
|
3111
3178
|
/** A successful result may advance concurrency tokens for the affected dataset. */
|
|
3112
3179
|
revision?: string | number;
|
|
@@ -3611,17 +3678,8 @@ export declare interface ReportPreviewDataTarget extends ReportDataTarget_2 {
|
|
|
3611
3678
|
/** Added by the query adapter; isolates identical dataset/row/field identities across reports. */
|
|
3612
3679
|
reportScope?: string;
|
|
3613
3680
|
}
|
|
3614
|
-
export declare interface ReportPreviewDiagnostic {
|
|
3615
|
-
valueState?: ReportValueState_2;
|
|
3681
|
+
export declare interface ReportPreviewDiagnostic extends ReportDiagnostic_2 {
|
|
3616
3682
|
target?: ReportPreviewDataTarget;
|
|
3617
|
-
code: string;
|
|
3618
|
-
severity: "warning" | "error" | "info";
|
|
3619
|
-
message: string;
|
|
3620
|
-
path?: string;
|
|
3621
|
-
format?: OutputFormat;
|
|
3622
|
-
pageIndex?: number;
|
|
3623
|
-
componentIndex?: number;
|
|
3624
|
-
componentPath?: readonly number[];
|
|
3625
3683
|
}
|
|
3626
3684
|
export declare type ReportPreviewPreferences = Record<ReportPreviewTool, boolean>;
|
|
3627
3685
|
export declare interface ReportPreviewTask {
|
|
@@ -3678,6 +3736,10 @@ declare interface ReportProvider {
|
|
|
3678
3736
|
export?(input: ReportProviderExportInput): ReportProviderExportResult | Promise<ReportProviderExportResult>;
|
|
3679
3737
|
templates?: ReportTemplateProvider;
|
|
3680
3738
|
}
|
|
3739
|
+
declare interface ReportProviderConflict extends Pick<ReportEditConflict_2, "message" | "currentValue" | "revision"> {
|
|
3740
|
+
editIndex: number;
|
|
3741
|
+
code: string;
|
|
3742
|
+
}
|
|
3681
3743
|
declare interface ReportProviderExportInput extends ReportLoadContext {
|
|
3682
3744
|
format: "pdf" | "xlsx";
|
|
3683
3745
|
}
|
|
@@ -3687,12 +3749,27 @@ declare interface ReportProviderExportResult {
|
|
|
3687
3749
|
fileName?: string;
|
|
3688
3750
|
diagnostics?: ReportDiagnostic[];
|
|
3689
3751
|
}
|
|
3752
|
+
/** Context of an accepted query, independent of an unsubmitted filter form. */
|
|
3753
|
+
declare interface ReportQueryContext {
|
|
3754
|
+
queryId?: string;
|
|
3755
|
+
reportIds: readonly string[];
|
|
3756
|
+
params: Readonly<Record<string, string>>;
|
|
3757
|
+
sources: readonly Readonly<ReportQuerySource>[];
|
|
3758
|
+
}
|
|
3690
3759
|
declare interface ReportQueryResult {
|
|
3691
3760
|
datasets: DatasetRows;
|
|
3692
3761
|
revision?: string;
|
|
3693
3762
|
sourceToken?: string;
|
|
3694
3763
|
diagnostics?: ReportDiagnostic[];
|
|
3695
3764
|
}
|
|
3765
|
+
/** One ordered query occurrence, shared by browser editing and Node preparation. */
|
|
3766
|
+
declare interface ReportQuerySource {
|
|
3767
|
+
reportId: string;
|
|
3768
|
+
reportIndex: number;
|
|
3769
|
+
reportScope: string;
|
|
3770
|
+
revision?: string;
|
|
3771
|
+
sourceToken?: string;
|
|
3772
|
+
}
|
|
3696
3773
|
/** Explicit refresh policy. The key identifies template/layout revisions outside query parameters. */
|
|
3697
3774
|
export declare interface ReportRefreshOptions {
|
|
3698
3775
|
retainPrevious?: boolean;
|
|
@@ -3726,11 +3803,7 @@ declare interface ReportSaveInput extends ReportLoadContext {
|
|
|
3726
3803
|
declare interface ReportSaveResult {
|
|
3727
3804
|
revision: string;
|
|
3728
3805
|
sourceToken?: string;
|
|
3729
|
-
conflicts?:
|
|
3730
|
-
editIndex: number;
|
|
3731
|
-
code: string;
|
|
3732
|
-
message: string;
|
|
3733
|
-
}>;
|
|
3806
|
+
conflicts?: ReportProviderConflict[];
|
|
3734
3807
|
diagnostics?: ReportDiagnostic[];
|
|
3735
3808
|
}
|
|
3736
3809
|
export declare interface ReportSection {
|
|
@@ -3902,6 +3975,32 @@ export declare const ReportValidationPanel: DefineComponent<__VLS_Props_4, {}, {
|
|
|
3902
3975
|
}, string, MachReportVuePublicProps, Readonly<__VLS_Props_4> & Readonly<{
|
|
3903
3976
|
onLocate?: ((issue: ReportValidationIssue) => any) | undefined;
|
|
3904
3977
|
}>, {}>;
|
|
3978
|
+
declare interface ReportValidationPanelMessages {
|
|
3979
|
+
title: string;
|
|
3980
|
+
error: string;
|
|
3981
|
+
warning: string;
|
|
3982
|
+
locate: string;
|
|
3983
|
+
dataset: string;
|
|
3984
|
+
row: string;
|
|
3985
|
+
/** Kept for existing message overrides; every issue is now reachable by pagination. */
|
|
3986
|
+
more: string;
|
|
3987
|
+
search: string;
|
|
3988
|
+
searchPlaceholder: string;
|
|
3989
|
+
severity: string;
|
|
3990
|
+
allSeverities: string;
|
|
3991
|
+
datasetFilter: string;
|
|
3992
|
+
allDatasets: string;
|
|
3993
|
+
results: string;
|
|
3994
|
+
range: string;
|
|
3995
|
+
previous: string;
|
|
3996
|
+
next: string;
|
|
3997
|
+
page: string;
|
|
3998
|
+
empty: string;
|
|
3999
|
+
noMatches: string;
|
|
4000
|
+
clear: string;
|
|
4001
|
+
loading: string;
|
|
4002
|
+
unavailable: string;
|
|
4003
|
+
}
|
|
3905
4004
|
declare interface ReportValidationRule {
|
|
3906
4005
|
id: string;
|
|
3907
4006
|
/** Optional target; omitted applies to each candidate dataset. */
|
package/dist/vue-async.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./plugin-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./plugin-B_k23hut.cjs");function i(){return Promise.resolve().then(()=>require("./ReportPreview-dOOzPts2.cjs")).then(e=>e.ReportPreview$1)}const t={install(e,o={}){r.machReportPlugin.install(e,o)}};exports.MachReportPreview=r.MachReportPreview;exports.default=t;exports.machReportAsyncPlugin=t;exports.preloadMachReport=i;
|