@agile-team/mach-report 2.25.2 → 2.26.1
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-Bzndrp_z.js +1578 -0
- package/dist/ExcelBindingWizard-D1LZxm93.cjs +1 -0
- package/dist/{ParamEditor-CGfaweYX.cjs → ParamEditor-BTIx9UDt.cjs} +1 -1
- package/dist/{ParamEditor-B7YVD28E.js → ParamEditor-BrUrInJH.js} +2 -2
- package/dist/{ReportBatchPanel-BTKHtLTW.js → ReportBatchPanel-2mXS1uol.js} +37 -37
- package/dist/{ReportBatchPanel-BRJt0TXp.cjs → ReportBatchPanel-CU2BbpBg.cjs} +1 -1
- package/dist/{ReportLabelStudio-CZwqyO3t.js → ReportLabelStudio-BUKNmYUY.js} +193 -193
- package/dist/ReportLabelStudio-BXKE0GVs.cjs +1 -0
- package/dist/ReportParamPanel-Chxu4MTx.cjs +1 -0
- package/dist/{ReportParamPanel-DGXzBzl2.js → ReportParamPanel-Czm3OPo_.js} +216 -205
- package/dist/{ReportPreview-D1ZC5kzz.js → ReportPreview-C9c0Rp7Y.js} +2938 -2875
- package/dist/ReportPreview-CIMR4ERo.cjs +6 -0
- package/dist/{ReportTemplateLibrary-C7sB0Jay.js → ReportTemplateLibrary-ovj03u0F.js} +1 -1
- package/dist/{ReportTemplateLibrary-ClwxhnC0.cjs → ReportTemplateLibrary-tv1sNa78.cjs} +1 -1
- package/dist/{RuleEditor-CsDGFaWz.js → RuleEditor-4JTKq_N7.js} +5 -5
- package/dist/{RuleEditor-D-OdaGdR.cjs → RuleEditor-CvyjPyR6.cjs} +1 -1
- package/dist/{TemplateOutlinePanel-CXOT7d1r.js → TemplateOutlinePanel-DfFRc91I.js} +2 -2
- package/dist/{TemplateOutlinePanel-DAqR9zQi.cjs → TemplateOutlinePanel-hb8cKkKR.cjs} +1 -1
- package/dist/{TemplateReusePanel-ygIi-Ajz.cjs → TemplateReusePanel-CR5jF00y.cjs} +1 -1
- package/dist/{TemplateReusePanel-Dcfx3Hba.js → TemplateReusePanel-CmX1rq69.js} +2 -2
- package/dist/{TemplateReviewPanel-COU8FqPq.js → TemplateReviewPanel-BKMo7Qd7.js} +2 -2
- package/dist/{TemplateReviewPanel-DyGULVxr.cjs → TemplateReviewPanel-BU35FHwG.cjs} +1 -1
- package/dist/analytics.cjs +1 -1
- package/dist/analytics.js +5 -5
- package/dist/artifact-integrity.json +106 -102
- package/dist/{assets-C4MIvzQ4.js → assets-BFTP-0WR.js} +2 -2
- package/dist/{assets-BYdpkTIt.cjs → assets-CZiZhTf2.cjs} +1 -1
- package/dist/{auto-j7mr8Kvc.js → auto-C7udkeAa.js} +20 -19
- package/dist/auto-CXd2E2aZ.cjs +1 -0
- package/dist/capabilities-D8UU2clQ.cjs +1 -0
- package/dist/{capabilities-CN_kSVjO.js → capabilities-g0a2j9Yy.js} +50 -46
- package/dist/{charts-Cjw5AYkg.cjs → charts-D-Vg-ak9.cjs} +1 -1
- package/dist/{charts-CxJZ0XaY.js → charts-D48XCefN.js} +1 -1
- package/dist/computed-BQgBrma-.cjs +1 -0
- package/dist/{computed-f3pOqWLX.js → computed-CH3NYPOW.js} +198 -188
- package/dist/{data-bar-Bfh54sT4.js → data-bar-DjOgTLqu.js} +1 -1
- package/dist/{dataset-DL83majE.js → dataset-B8oTsC6o.js} +69 -66
- package/dist/dataset-D3OsyzG1.cjs +1 -0
- package/dist/designer-CEMTZomv.cjs +2 -0
- package/dist/designer-_IKm_n5N.js +8002 -0
- package/dist/designer.cjs +1 -1
- package/dist/designer.d.cts +83 -4
- package/dist/designer.d.ts +83 -4
- package/dist/designer.js +4 -4
- package/dist/{diagnostic-collector-gB07PHy2.js → diagnostic-collector-C-JBA016.js} +2 -2
- package/dist/dom-DgWc-DY1.js +452 -0
- package/dist/dom-Fk4NF-gN.cjs +1 -0
- package/dist/{encoding-BWEMdzFG.js → encoding-D480EM2r.js} +2 -2
- package/dist/{encoding-DVea2qIR.cjs → encoding-tWc2Wn89.cjs} +1 -1
- package/dist/execution-result-7sG_mdcD.cjs +1 -0
- package/dist/execution-result-Ba65gieT.js +39 -0
- package/dist/{font-loader-p_SyTvqt.cjs → font-loader-BIxme_9g.cjs} +1 -1
- package/dist/{font-loader-D4NLIKJL.js → font-loader-CHmEwkHl.js} +1 -1
- package/dist/{grid-strokes-DkZEZvcI.js → grid-strokes-DsoICRjZ.js} +1 -1
- package/dist/import-range-BwT86Z3j.cjs +1 -0
- package/dist/import-range-D9p_blcb.js +98 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +25 -25
- package/dist/{json-snapshot-DdzALe8q.js → json-snapshot-BZ0CIQln.js} +1041 -887
- package/dist/json-snapshot-DGFeI30h.cjs +2 -0
- package/dist/{matrix-b6T291xo.js → matrix-CB9TqTEy.js} +1 -1
- package/dist/{matrix-DUYPRL7t.cjs → matrix-CcqYOuq_.cjs} +1 -1
- package/dist/{pdf-DU8HelKd.js → pdf-DTR7fAIr.js} +3596 -3517
- package/dist/{pdf-C060D5UY.cjs → pdf-d9oJ6V0P.cjs} +49 -49
- package/dist/pdf.cjs +1 -1
- package/dist/pdf.js +2 -2
- package/dist/{plugin-D5BRHlne.cjs → plugin-B7Bi-1te.cjs} +1 -1
- package/dist/{plugin-FWhTnjr0.js → plugin-OKDFQFS4.js} +1 -1
- package/dist/{prefill-m01IM1hl.js → prefill-C8fF91JB.js} +3 -3
- package/dist/{prefill-DZymomY6.cjs → prefill-C_Bf_AMo.cjs} +1 -1
- package/dist/{prepared-BHu8bIdj.cjs → prepared-BLhV7vdE.cjs} +1 -1
- package/dist/{prepared-DO5pe6Ed.js → prepared-DhgQ0d-h.js} +7 -7
- package/dist/protocol-CZ-BILne.cjs +1 -0
- package/dist/{protocol-CZddmu2n.js → protocol-DHO91-Jt.js} +3 -3
- package/dist/{record-bindings-Cv7lFiof.js → record-bindings-DBrCu6zO.js} +3 -3
- package/dist/{record-bindings-B7djSjNs.cjs → record-bindings-KEs-DKCS.cjs} +1 -1
- package/dist/region-binding-workflow-FSyIZge8.js +882 -0
- package/dist/region-binding-workflow-ikpY1Kbw.cjs +3 -0
- package/dist/report-encoding-worker.cjs +1 -1
- package/dist/report-encoding-worker.js +1 -1
- package/dist/rich-text-layout-BYbIc3eJ.cjs +3 -0
- package/dist/rich-text-layout-BtygMWZC.js +96 -0
- package/dist/runtime-B5HG8poy.cjs +1 -0
- package/dist/runtime-BsvAqz4a.js +204 -0
- package/dist/sbom.cdx.json +1 -1
- package/dist/server-node.cjs +5 -5
- package/dist/server-node.js +2049 -1889
- package/dist/server.cjs +1 -1
- package/dist/server.d.cts +35 -0
- package/dist/server.d.ts +35 -0
- package/dist/server.js +340 -328
- package/dist/style.css +1 -1
- package/dist/{template-catalog-DLu814zA.js → template-catalog-BbrN9dgu.js} +5 -5
- package/dist/{template-catalog-Lil5Ryt-.cjs → template-catalog-DDH-5J57.cjs} +1 -1
- package/dist/{template-fragments-BDxdCuMD.js → template-fragments-CUTE8-_I.js} +3 -3
- package/dist/{template-fragments-DbKdxI1z.cjs → template-fragments-cyAQu7aw.cjs} +1 -1
- package/dist/{template-registry-B-AK1oam.cjs → template-registry-D24Z8aQf.cjs} +1 -1
- package/dist/{template-registry-DeVgwEZj.js → template-registry-PSuLsnyq.js} +4 -4
- package/dist/{template-serialization-CqQY4zDg.cjs → template-serialization-BOUidUlh.cjs} +1 -1
- package/dist/{template-serialization-CWmHq7lX.js → template-serialization-BgGWYV_1.js} +1 -1
- package/dist/{textwrap-BywMBMXM.js → textwrap-Bt_tnI6V.js} +1 -1
- package/dist/vue/async.d.cts +46 -3
- package/dist/vue/async.d.ts +46 -3
- package/dist/vue/index.d.cts +215 -24
- package/dist/vue/index.d.ts +215 -24
- package/dist/vue-async.cjs +1 -1
- package/dist/vue-async.js +3 -3
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +433 -202
- package/dist/workbook-session-BJfZVp4q.cjs +29 -0
- package/dist/{workbook-session-B6hRjTyX.js → workbook-session-DRnMjIFK.js} +2377 -2350
- package/dist/worker.cjs +1 -1
- package/dist/worker.js +4 -4
- package/dist/xlsx.cjs +1 -1
- package/dist/xlsx.d.cts +27 -2
- package/dist/xlsx.d.ts +27 -2
- package/dist/xlsx.js +15 -15
- package/package.json +1 -1
- package/dist/ExcelBindingWizard-bs3F4dD8.js +0 -1486
- package/dist/ExcelBindingWizard-jSdjBtWw.cjs +0 -1
- package/dist/ReportLabelStudio-BvK_WBke.cjs +0 -1
- package/dist/ReportParamPanel-B27IGJjk.cjs +0 -1
- package/dist/ReportPreview-DAU-V3Ov.cjs +0 -6
- package/dist/auto-DjmvmcX-.cjs +0 -1
- package/dist/capabilities-D4nfhcvB.cjs +0 -1
- package/dist/computed-DK6BruFz.cjs +0 -1
- package/dist/dataset-IrlXbUvh.cjs +0 -1
- package/dist/designer-B597ZdC0.js +0 -7595
- package/dist/designer-DFIdv_n7.cjs +0 -2
- package/dist/dom-CXWMmwh-.cjs +0 -1
- package/dist/dom-DxdCMLzs.js +0 -452
- package/dist/json-snapshot-L_gJ7KRS.cjs +0 -2
- package/dist/protocol-CymmHWmL.cjs +0 -1
- package/dist/region-binding-workflow-EYxvUYJ-.js +0 -977
- package/dist/region-binding-workflow-NdkMSFCh.cjs +0 -3
- package/dist/rich-text-layout-Ch_N0Ubu.js +0 -52
- package/dist/rich-text-layout-yJGuThtC.cjs +0 -3
- package/dist/runtime-D8AlfJ6S.js +0 -234
- package/dist/runtime-ywf3oLBR.cjs +0 -1
- package/dist/workbook-session-BclW7KKH.cjs +0 -29
package/dist/designer.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const E=require("./designer-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const E=require("./designer-CEMTZomv.cjs");exports.COLUMN_VISUAL_MESSAGES=E.COLUMN_VISUAL_MESSAGES;exports.ChartBindingInspector=E.ChartBindingInspector;exports.ColumnVisualEditor=E.ColumnVisualEditor;exports.DESIGNER_GUIDE_MESSAGES=E.DESIGNER_GUIDE_MESSAGES;exports.EXCEL_BINDING_MESSAGES=E.EXCEL_BINDING_MESSAGES;exports.ExcelBindingWizard=E.ExcelBindingWizard;exports.LABEL_STUDIO_MESSAGES=E.LABEL_STUDIO_MESSAGES;exports.PARAM_EDITOR_MESSAGES=E.PARAM_EDITOR_MESSAGES;exports.ParamEditor=E.ParamEditor;exports.REPORT_BATCH_MESSAGES=E.REPORT_BATCH_MESSAGES;exports.RULE_EDITOR_MESSAGES=E.DEFAULT_RULE_EDITOR_MESSAGES;exports.ReportBatchPanel=E.ReportBatchPanel;exports.ReportLabelStudio=E.ReportLabelStudio;exports.ReportTemplateEditor=E.ReportTemplateEditor;exports.ReportTemplateLibrary=E.ReportTemplateLibrary;exports.RuleEditor=E.RuleEditor;exports.TEMPLATE_EDITOR_MESSAGES=E.TEMPLATE_EDITOR_MESSAGES;exports.TEMPLATE_LIBRARY_MESSAGES=E.TEMPLATE_LIBRARY_MESSAGES;exports.TEMPLATE_PRODUCT_MESSAGES=E.TEMPLATE_PRODUCT_MESSAGES;exports.TEMPLATE_RECOVERY_MESSAGES=E.TEMPLATE_RECOVERY_MESSAGES;exports.TEMPLATE_REVIEW_MESSAGES=E.TEMPLATE_REVIEW_MESSAGES;exports.TemplateOutlinePanel=E.TemplateOutlinePanel;exports.TemplateReusePanel=E.TemplateReusePanel;exports.TemplateReviewPanel=E.TemplateReviewPanel;exports.createTemplateDraftStorage=E.createTemplateDraftStorage;exports.useTemplateWorkbench=E.useTemplateWorkbench;
|
package/dist/designer.d.cts
CHANGED
|
@@ -605,6 +605,18 @@ declare interface DesignerTarget {
|
|
|
605
605
|
rule?: DesignerRuleTarget;
|
|
606
606
|
control?: string;
|
|
607
607
|
}
|
|
608
|
+
/** Bounded detail window with exact occurrence totals. Unknown business codes beyond 128 buckets share `other`. */
|
|
609
|
+
declare interface DiagnosticSummary<T> {
|
|
610
|
+
readonly total: number;
|
|
611
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
612
|
+
readonly entries: readonly T[];
|
|
613
|
+
readonly omitted: number;
|
|
614
|
+
/** Business value explanations form a separate presentation channel, including omitted locations. */
|
|
615
|
+
readonly explanations?: {
|
|
616
|
+
readonly total: number;
|
|
617
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
618
|
+
};
|
|
619
|
+
}
|
|
608
620
|
/** Optional wizard labels remain independent of the general designer configuration. */
|
|
609
621
|
export declare const EXCEL_BINDING_MESSAGES: {
|
|
610
622
|
recoveredMapping: string;
|
|
@@ -721,6 +733,8 @@ export declare const EXCEL_BINDING_MESSAGES: {
|
|
|
721
733
|
mappedTo: string;
|
|
722
734
|
sampleOnly: string;
|
|
723
735
|
schemaOnly: string;
|
|
736
|
+
diagnosticDetails: string;
|
|
737
|
+
locateSource: string;
|
|
724
738
|
};
|
|
725
739
|
declare interface ExcelBindingDataset {
|
|
726
740
|
id: string;
|
|
@@ -740,7 +754,7 @@ declare interface ExcelBindingField extends ReportFieldContract_2 {
|
|
|
740
754
|
digits?: number;
|
|
741
755
|
sample?: string | number | boolean | null;
|
|
742
756
|
}
|
|
743
|
-
export declare type ExcelBindingMessages = typeof EXCEL_BINDING_MESSAGES
|
|
757
|
+
export declare type ExcelBindingMessages = Omit<typeof EXCEL_BINDING_MESSAGES, keyof typeof IMPORT_DIAGNOSTIC_MESSAGES> & Partial<typeof IMPORT_DIAGNOSTIC_MESSAGES>;
|
|
744
758
|
/** Explicit coordinates and mappings, independently persistable alongside the source asset. */
|
|
745
759
|
declare interface ExcelBindingRecipe {
|
|
746
760
|
version: "1.0";
|
|
@@ -797,6 +811,27 @@ export declare interface ExcelBindingWizardOptions {
|
|
|
797
811
|
importOptions?: Pick<ExcelImportOptions_2, "layout" | "landscape" | "limits">;
|
|
798
812
|
messages?: Partial<ExcelBindingMessages>;
|
|
799
813
|
}
|
|
814
|
+
declare interface ExcelImportDiagnostic extends ExcelImportDiagnosticLocation {
|
|
815
|
+
code: ExcelImportDiagnosticCode;
|
|
816
|
+
severity: "warning";
|
|
817
|
+
message: string;
|
|
818
|
+
}
|
|
819
|
+
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";
|
|
820
|
+
/** Original workbook coordinates, independent of preview segmentation. Rows/columns are one-based. */
|
|
821
|
+
declare interface ExcelImportDiagnosticLocation {
|
|
822
|
+
sheet?: string;
|
|
823
|
+
range?: string;
|
|
824
|
+
cell?: string;
|
|
825
|
+
row?: number;
|
|
826
|
+
column?: number;
|
|
827
|
+
/** OOXML part when a workbook feature cannot safely be attributed to a sheet. */
|
|
828
|
+
part?: string;
|
|
829
|
+
}
|
|
830
|
+
declare interface ExcelImportDiagnostics {
|
|
831
|
+
/** Bounded detail window (200); use summary counts for all feature occurrences. */
|
|
832
|
+
diagnostics?: readonly ExcelImportDiagnostic[];
|
|
833
|
+
diagnosticSummary?: DiagnosticSummary<ExcelImportDiagnostic>;
|
|
834
|
+
}
|
|
800
835
|
declare interface ExcelImportedSheet {
|
|
801
836
|
name: string;
|
|
802
837
|
/** Original, one-based workbook position. */
|
|
@@ -866,7 +901,7 @@ declare interface ExcelImportOptions_2 extends OutputTaskOptions_2 {
|
|
|
866
901
|
/** Optional resource limits; hard ceilings prevent unbounded allocations. */
|
|
867
902
|
limits?: ExcelImportLimits_2;
|
|
868
903
|
}
|
|
869
|
-
declare interface ExcelImportResult {
|
|
904
|
+
declare interface ExcelImportResult extends ExcelImportDiagnostics {
|
|
870
905
|
template: ReportTemplate_2;
|
|
871
906
|
warnings: string[];
|
|
872
907
|
sheets: ExcelImportedSheet[];
|
|
@@ -1040,6 +1075,10 @@ declare interface ImageMediaOptions {
|
|
|
1040
1075
|
/** Maximum source dimension, default 16384 pixels. */
|
|
1041
1076
|
maxImageDimension?: number;
|
|
1042
1077
|
}
|
|
1078
|
+
declare const IMPORT_DIAGNOSTIC_MESSAGES: {
|
|
1079
|
+
diagnosticDetails: string;
|
|
1080
|
+
locateSource: string;
|
|
1081
|
+
};
|
|
1043
1082
|
export declare const LABEL_STUDIO_MESSAGES: {
|
|
1044
1083
|
readonly applyFirst: "请先应用当前配置或修正模板问题,再切换打印预览。";
|
|
1045
1084
|
readonly saveFailed: "模板尚未保存,请检查提示后重试。";
|
|
@@ -1558,8 +1597,9 @@ declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
1558
1597
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1559
1598
|
*/
|
|
1560
1599
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1561
|
-
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1600
|
+
declare interface MachReportMessages extends Partial<ReportDocumentMessages>, Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1562
1601
|
previousSnapshot?: string;
|
|
1602
|
+
importOmitted?: string;
|
|
1563
1603
|
reviewTools?: string;
|
|
1564
1604
|
validationTitle?: string;
|
|
1565
1605
|
validationError?: string;
|
|
@@ -1776,8 +1816,9 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1776
1816
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1777
1817
|
*/
|
|
1778
1818
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1779
|
-
declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages_2>, Partial<ReportDataReviewMessages_2>, Partial<ConflictReviewMessages_2>, ReportPrintMessages_2, ReportParamOptionsMessages_2 {
|
|
1819
|
+
declare interface MachReportMessages_2 extends Partial<ReportDocumentMessages_2>, Partial<ReportCalculationMessages_2>, Partial<ReportDataReviewMessages_2>, Partial<ConflictReviewMessages_2>, ReportPrintMessages_2, ReportParamOptionsMessages_2 {
|
|
1780
1820
|
previousSnapshot?: string;
|
|
1821
|
+
importOmitted?: string;
|
|
1781
1822
|
reviewTools?: string;
|
|
1782
1823
|
validationTitle?: string;
|
|
1783
1824
|
validationError?: string;
|
|
@@ -2459,6 +2500,8 @@ declare interface PlanTableFragment_3 {
|
|
|
2459
2500
|
};
|
|
2460
2501
|
}
|
|
2461
2502
|
declare const PRODUCT_TEMPLATE_EDITOR_MESSAGES: {
|
|
2503
|
+
fieldSearch: string;
|
|
2504
|
+
fieldNoMatches: string;
|
|
2462
2505
|
chartNumeric: string;
|
|
2463
2506
|
chartNumber: string;
|
|
2464
2507
|
chartDecimal: string;
|
|
@@ -2653,6 +2696,14 @@ declare const PRODUCT_TEMPLATE_EDITOR_MESSAGES: {
|
|
|
2653
2696
|
batchBody: string;
|
|
2654
2697
|
batchHeader: string;
|
|
2655
2698
|
chooseAlignment: string;
|
|
2699
|
+
batchKeep: string;
|
|
2700
|
+
batchMixed: string;
|
|
2701
|
+
batchApply: string;
|
|
2702
|
+
batchEnabled: string;
|
|
2703
|
+
batchDisabled: string;
|
|
2704
|
+
batchHint: string;
|
|
2705
|
+
thousands: string;
|
|
2706
|
+
fontItalic: string;
|
|
2656
2707
|
discardTitle: string;
|
|
2657
2708
|
discardDescription: string;
|
|
2658
2709
|
keepEditing: string;
|
|
@@ -3201,6 +3252,24 @@ declare interface ReportDatasetValidationOptions {
|
|
|
3201
3252
|
signal?: AbortSignal;
|
|
3202
3253
|
}
|
|
3203
3254
|
declare type ReportDiscardReason = "reload" | "import" | "replace" | "leave";
|
|
3255
|
+
declare interface ReportDocumentMessages {
|
|
3256
|
+
documentBuilding: string;
|
|
3257
|
+
documentComplete: string;
|
|
3258
|
+
documentFailed: string;
|
|
3259
|
+
documentRefresh: string;
|
|
3260
|
+
documentLoading: string;
|
|
3261
|
+
documentCancel: string;
|
|
3262
|
+
documentFullExport: string;
|
|
3263
|
+
}
|
|
3264
|
+
declare interface ReportDocumentMessages_2 {
|
|
3265
|
+
documentBuilding: string;
|
|
3266
|
+
documentComplete: string;
|
|
3267
|
+
documentFailed: string;
|
|
3268
|
+
documentRefresh: string;
|
|
3269
|
+
documentLoading: string;
|
|
3270
|
+
documentCancel: string;
|
|
3271
|
+
documentFullExport: string;
|
|
3272
|
+
}
|
|
3204
3273
|
declare interface ReportDocumentStyle {
|
|
3205
3274
|
id: string;
|
|
3206
3275
|
name: string;
|
|
@@ -4341,6 +4410,8 @@ declare interface StyleRule_3 {
|
|
|
4341
4410
|
style: Record<string, unknown>;
|
|
4342
4411
|
}
|
|
4343
4412
|
export declare const TEMPLATE_EDITOR_MESSAGES: {
|
|
4413
|
+
fieldSearch: string;
|
|
4414
|
+
fieldNoMatches: string;
|
|
4344
4415
|
chartNumeric: string;
|
|
4345
4416
|
chartNumber: string;
|
|
4346
4417
|
chartDecimal: string;
|
|
@@ -4535,6 +4606,14 @@ export declare const TEMPLATE_EDITOR_MESSAGES: {
|
|
|
4535
4606
|
batchBody: string;
|
|
4536
4607
|
batchHeader: string;
|
|
4537
4608
|
chooseAlignment: string;
|
|
4609
|
+
batchKeep: string;
|
|
4610
|
+
batchMixed: string;
|
|
4611
|
+
batchApply: string;
|
|
4612
|
+
batchEnabled: string;
|
|
4613
|
+
batchDisabled: string;
|
|
4614
|
+
batchHint: string;
|
|
4615
|
+
thousands: string;
|
|
4616
|
+
fontItalic: string;
|
|
4538
4617
|
discardTitle: string;
|
|
4539
4618
|
discardDescription: string;
|
|
4540
4619
|
keepEditing: string;
|
package/dist/designer.d.ts
CHANGED
|
@@ -605,6 +605,18 @@ declare interface DesignerTarget {
|
|
|
605
605
|
rule?: DesignerRuleTarget;
|
|
606
606
|
control?: string;
|
|
607
607
|
}
|
|
608
|
+
/** Bounded detail window with exact occurrence totals. Unknown business codes beyond 128 buckets share `other`. */
|
|
609
|
+
declare interface DiagnosticSummary<T> {
|
|
610
|
+
readonly total: number;
|
|
611
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
612
|
+
readonly entries: readonly T[];
|
|
613
|
+
readonly omitted: number;
|
|
614
|
+
/** Business value explanations form a separate presentation channel, including omitted locations. */
|
|
615
|
+
readonly explanations?: {
|
|
616
|
+
readonly total: number;
|
|
617
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
618
|
+
};
|
|
619
|
+
}
|
|
608
620
|
/** Optional wizard labels remain independent of the general designer configuration. */
|
|
609
621
|
export declare const EXCEL_BINDING_MESSAGES: {
|
|
610
622
|
recoveredMapping: string;
|
|
@@ -721,6 +733,8 @@ export declare const EXCEL_BINDING_MESSAGES: {
|
|
|
721
733
|
mappedTo: string;
|
|
722
734
|
sampleOnly: string;
|
|
723
735
|
schemaOnly: string;
|
|
736
|
+
diagnosticDetails: string;
|
|
737
|
+
locateSource: string;
|
|
724
738
|
};
|
|
725
739
|
declare interface ExcelBindingDataset {
|
|
726
740
|
id: string;
|
|
@@ -740,7 +754,7 @@ declare interface ExcelBindingField extends ReportFieldContract_2 {
|
|
|
740
754
|
digits?: number;
|
|
741
755
|
sample?: string | number | boolean | null;
|
|
742
756
|
}
|
|
743
|
-
export declare type ExcelBindingMessages = typeof EXCEL_BINDING_MESSAGES
|
|
757
|
+
export declare type ExcelBindingMessages = Omit<typeof EXCEL_BINDING_MESSAGES, keyof typeof IMPORT_DIAGNOSTIC_MESSAGES> & Partial<typeof IMPORT_DIAGNOSTIC_MESSAGES>;
|
|
744
758
|
/** Explicit coordinates and mappings, independently persistable alongside the source asset. */
|
|
745
759
|
declare interface ExcelBindingRecipe {
|
|
746
760
|
version: "1.0";
|
|
@@ -797,6 +811,27 @@ export declare interface ExcelBindingWizardOptions {
|
|
|
797
811
|
importOptions?: Pick<ExcelImportOptions_2, "layout" | "landscape" | "limits">;
|
|
798
812
|
messages?: Partial<ExcelBindingMessages>;
|
|
799
813
|
}
|
|
814
|
+
declare interface ExcelImportDiagnostic extends ExcelImportDiagnosticLocation {
|
|
815
|
+
code: ExcelImportDiagnosticCode;
|
|
816
|
+
severity: "warning";
|
|
817
|
+
message: string;
|
|
818
|
+
}
|
|
819
|
+
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";
|
|
820
|
+
/** Original workbook coordinates, independent of preview segmentation. Rows/columns are one-based. */
|
|
821
|
+
declare interface ExcelImportDiagnosticLocation {
|
|
822
|
+
sheet?: string;
|
|
823
|
+
range?: string;
|
|
824
|
+
cell?: string;
|
|
825
|
+
row?: number;
|
|
826
|
+
column?: number;
|
|
827
|
+
/** OOXML part when a workbook feature cannot safely be attributed to a sheet. */
|
|
828
|
+
part?: string;
|
|
829
|
+
}
|
|
830
|
+
declare interface ExcelImportDiagnostics {
|
|
831
|
+
/** Bounded detail window (200); use summary counts for all feature occurrences. */
|
|
832
|
+
diagnostics?: readonly ExcelImportDiagnostic[];
|
|
833
|
+
diagnosticSummary?: DiagnosticSummary<ExcelImportDiagnostic>;
|
|
834
|
+
}
|
|
800
835
|
declare interface ExcelImportedSheet {
|
|
801
836
|
name: string;
|
|
802
837
|
/** Original, one-based workbook position. */
|
|
@@ -866,7 +901,7 @@ declare interface ExcelImportOptions_2 extends OutputTaskOptions_2 {
|
|
|
866
901
|
/** Optional resource limits; hard ceilings prevent unbounded allocations. */
|
|
867
902
|
limits?: ExcelImportLimits_2;
|
|
868
903
|
}
|
|
869
|
-
declare interface ExcelImportResult {
|
|
904
|
+
declare interface ExcelImportResult extends ExcelImportDiagnostics {
|
|
870
905
|
template: ReportTemplate_2;
|
|
871
906
|
warnings: string[];
|
|
872
907
|
sheets: ExcelImportedSheet[];
|
|
@@ -1040,6 +1075,10 @@ declare interface ImageMediaOptions {
|
|
|
1040
1075
|
/** Maximum source dimension, default 16384 pixels. */
|
|
1041
1076
|
maxImageDimension?: number;
|
|
1042
1077
|
}
|
|
1078
|
+
declare const IMPORT_DIAGNOSTIC_MESSAGES: {
|
|
1079
|
+
diagnosticDetails: string;
|
|
1080
|
+
locateSource: string;
|
|
1081
|
+
};
|
|
1043
1082
|
export declare const LABEL_STUDIO_MESSAGES: {
|
|
1044
1083
|
readonly applyFirst: "请先应用当前配置或修正模板问题,再切换打印预览。";
|
|
1045
1084
|
readonly saveFailed: "模板尚未保存,请检查提示后重试。";
|
|
@@ -1558,8 +1597,9 @@ declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
1558
1597
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1559
1598
|
*/
|
|
1560
1599
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1561
|
-
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1600
|
+
declare interface MachReportMessages extends Partial<ReportDocumentMessages>, Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1562
1601
|
previousSnapshot?: string;
|
|
1602
|
+
importOmitted?: string;
|
|
1563
1603
|
reviewTools?: string;
|
|
1564
1604
|
validationTitle?: string;
|
|
1565
1605
|
validationError?: string;
|
|
@@ -1776,8 +1816,9 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1776
1816
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1777
1817
|
*/
|
|
1778
1818
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1779
|
-
declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages_2>, Partial<ReportDataReviewMessages_2>, Partial<ConflictReviewMessages_2>, ReportPrintMessages_2, ReportParamOptionsMessages_2 {
|
|
1819
|
+
declare interface MachReportMessages_2 extends Partial<ReportDocumentMessages_2>, Partial<ReportCalculationMessages_2>, Partial<ReportDataReviewMessages_2>, Partial<ConflictReviewMessages_2>, ReportPrintMessages_2, ReportParamOptionsMessages_2 {
|
|
1780
1820
|
previousSnapshot?: string;
|
|
1821
|
+
importOmitted?: string;
|
|
1781
1822
|
reviewTools?: string;
|
|
1782
1823
|
validationTitle?: string;
|
|
1783
1824
|
validationError?: string;
|
|
@@ -2459,6 +2500,8 @@ declare interface PlanTableFragment_3 {
|
|
|
2459
2500
|
};
|
|
2460
2501
|
}
|
|
2461
2502
|
declare const PRODUCT_TEMPLATE_EDITOR_MESSAGES: {
|
|
2503
|
+
fieldSearch: string;
|
|
2504
|
+
fieldNoMatches: string;
|
|
2462
2505
|
chartNumeric: string;
|
|
2463
2506
|
chartNumber: string;
|
|
2464
2507
|
chartDecimal: string;
|
|
@@ -2653,6 +2696,14 @@ declare const PRODUCT_TEMPLATE_EDITOR_MESSAGES: {
|
|
|
2653
2696
|
batchBody: string;
|
|
2654
2697
|
batchHeader: string;
|
|
2655
2698
|
chooseAlignment: string;
|
|
2699
|
+
batchKeep: string;
|
|
2700
|
+
batchMixed: string;
|
|
2701
|
+
batchApply: string;
|
|
2702
|
+
batchEnabled: string;
|
|
2703
|
+
batchDisabled: string;
|
|
2704
|
+
batchHint: string;
|
|
2705
|
+
thousands: string;
|
|
2706
|
+
fontItalic: string;
|
|
2656
2707
|
discardTitle: string;
|
|
2657
2708
|
discardDescription: string;
|
|
2658
2709
|
keepEditing: string;
|
|
@@ -3201,6 +3252,24 @@ declare interface ReportDatasetValidationOptions {
|
|
|
3201
3252
|
signal?: AbortSignal;
|
|
3202
3253
|
}
|
|
3203
3254
|
declare type ReportDiscardReason = "reload" | "import" | "replace" | "leave";
|
|
3255
|
+
declare interface ReportDocumentMessages {
|
|
3256
|
+
documentBuilding: string;
|
|
3257
|
+
documentComplete: string;
|
|
3258
|
+
documentFailed: string;
|
|
3259
|
+
documentRefresh: string;
|
|
3260
|
+
documentLoading: string;
|
|
3261
|
+
documentCancel: string;
|
|
3262
|
+
documentFullExport: string;
|
|
3263
|
+
}
|
|
3264
|
+
declare interface ReportDocumentMessages_2 {
|
|
3265
|
+
documentBuilding: string;
|
|
3266
|
+
documentComplete: string;
|
|
3267
|
+
documentFailed: string;
|
|
3268
|
+
documentRefresh: string;
|
|
3269
|
+
documentLoading: string;
|
|
3270
|
+
documentCancel: string;
|
|
3271
|
+
documentFullExport: string;
|
|
3272
|
+
}
|
|
3204
3273
|
declare interface ReportDocumentStyle {
|
|
3205
3274
|
id: string;
|
|
3206
3275
|
name: string;
|
|
@@ -4341,6 +4410,8 @@ declare interface StyleRule_3 {
|
|
|
4341
4410
|
style: Record<string, unknown>;
|
|
4342
4411
|
}
|
|
4343
4412
|
export declare const TEMPLATE_EDITOR_MESSAGES: {
|
|
4413
|
+
fieldSearch: string;
|
|
4414
|
+
fieldNoMatches: string;
|
|
4344
4415
|
chartNumeric: string;
|
|
4345
4416
|
chartNumber: string;
|
|
4346
4417
|
chartDecimal: string;
|
|
@@ -4535,6 +4606,14 @@ export declare const TEMPLATE_EDITOR_MESSAGES: {
|
|
|
4535
4606
|
batchBody: string;
|
|
4536
4607
|
batchHeader: string;
|
|
4537
4608
|
chooseAlignment: string;
|
|
4609
|
+
batchKeep: string;
|
|
4610
|
+
batchMixed: string;
|
|
4611
|
+
batchApply: string;
|
|
4612
|
+
batchEnabled: string;
|
|
4613
|
+
batchDisabled: string;
|
|
4614
|
+
batchHint: string;
|
|
4615
|
+
thousands: string;
|
|
4616
|
+
fontItalic: string;
|
|
4538
4617
|
discardTitle: string;
|
|
4539
4618
|
discardDescription: string;
|
|
4540
4619
|
keepEditing: string;
|
package/dist/designer.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { C as e,
|
|
2
|
+
import { C as e, i as s, j as t, k as T, E as A, l as _, L as R, P as r, m as M, R as l, D as o, n as i, o as p, p as G, q as L, s as P, t as n, d as m, e as I, v as D, T as d, w as O, x as C, y as u, z as B, A as U } from "./designer-_IKm_n5N.js";
|
|
3
3
|
export {
|
|
4
4
|
e as COLUMN_VISUAL_MESSAGES,
|
|
5
5
|
s as ChartBindingInspector,
|
|
6
6
|
t as ColumnVisualEditor,
|
|
7
7
|
T as DESIGNER_GUIDE_MESSAGES,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
A as EXCEL_BINDING_MESSAGES,
|
|
9
|
+
_ as ExcelBindingWizard,
|
|
10
10
|
R as LABEL_STUDIO_MESSAGES,
|
|
11
11
|
r as PARAM_EDITOR_MESSAGES,
|
|
12
12
|
M as ParamEditor,
|
|
@@ -26,5 +26,5 @@ export {
|
|
|
26
26
|
C as TemplateReusePanel,
|
|
27
27
|
u as TemplateReviewPanel,
|
|
28
28
|
B as createTemplateDraftStorage,
|
|
29
|
-
|
|
29
|
+
U as useTemplateWorkbench
|
|
30
30
|
};
|