@agile-team/mach-report 2.23.1 → 2.24.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 +8 -2
- package/dist/{ExcelBindingWizard-BrTmdo7f.cjs → ExcelBindingWizard-BV12hGiK.cjs} +1 -1
- package/dist/{ExcelBindingWizard-CcDMLO8Q.js → ExcelBindingWizard-Cy_lPjWV.js} +3 -3
- package/dist/ParamEditor-DenKjvKu.cjs +1 -0
- package/dist/ParamEditor-PyOqHzzw.js +750 -0
- package/dist/{ReportBatchPanel-CJB67WNd.js → ReportBatchPanel-8EFtMrKk.js} +2 -2
- package/dist/{ReportBatchPanel-CHxBtG9R.cjs → ReportBatchPanel-pQ6d0yqJ.cjs} +1 -1
- package/dist/ReportLabelStudio-B_KF3Zc_.cjs +1 -0
- package/dist/{ReportLabelStudio-Tplc1TLJ.js → ReportLabelStudio-HUeo2TsU.js} +68 -68
- package/dist/ReportParamPanel-8xR85nz-.cjs +1 -0
- package/dist/{ReportParamPanel-GI43aGa0.js → ReportParamPanel-DA-YpkvC.js} +328 -298
- package/dist/ReportPreview-CyUXJSVX.cjs +6 -0
- package/dist/ReportPreview-_wTJnsG1.js +7120 -0
- package/dist/{ReportTemplateLibrary-BFQIX0sg.cjs → ReportTemplateLibrary-CjArKxRG.cjs} +1 -1
- package/dist/{ReportTemplateLibrary-KqX4E2sN.js → ReportTemplateLibrary-DH8jl9IF.js} +28 -28
- package/dist/RuleEditor-Bmj98oC4.cjs +1 -0
- package/dist/{RuleEditor-OPX1awrH.js → RuleEditor-GDydlEHz.js} +846 -834
- package/dist/{TemplateOutlinePanel-CVYKVLv_.cjs → TemplateOutlinePanel-B554_qk1.cjs} +1 -1
- package/dist/{TemplateOutlinePanel-DQS-eOs6.js → TemplateOutlinePanel-DjPqzU9h.js} +10 -10
- package/dist/{TemplateReusePanel-CY6O93Zk.cjs → TemplateReusePanel-D0628OYc.cjs} +1 -1
- package/dist/{TemplateReusePanel-DKXiFTyB.js → TemplateReusePanel-DtYbCN7U.js} +2 -2
- package/dist/TemplateReviewPanel-CSwvCz3f.cjs +1 -0
- package/dist/TemplateReviewPanel-D_FR4ISq.js +602 -0
- package/dist/artifact-integrity.json +94 -94
- package/dist/assets-B4AJIOTB.cjs +1 -0
- package/dist/assets-D0FbszhB.js +137 -0
- package/dist/{auto-BB99S802.js → auto-BksreoKc.js} +5 -5
- package/dist/auto-C3mGqzJ8.cjs +1 -0
- package/dist/capabilities-CTwlcl8q.cjs +1 -0
- package/dist/capabilities-lqDEZSq5.js +121 -0
- package/dist/data-bar-2NLRzOCQ.cjs +1 -0
- package/dist/{data-bar-IkI6VvMQ.js → data-bar-BnGtnJ82.js} +1 -1
- package/dist/designer-BNf7NWd6.js +7589 -0
- package/dist/designer-DWnZZ_ej.cjs +2 -0
- package/dist/designer.cjs +1 -1
- package/dist/designer.d.cts +137 -4
- package/dist/designer.d.ts +137 -4
- package/dist/designer.js +5 -5
- package/dist/diagnostic-collector-1sqd7DQP.js +355 -0
- package/dist/diagnostic-collector-D3rlvxm3.cjs +1 -0
- package/dist/{dom-JWrchIre.js → dom-C90cTM6Y.js} +4 -4
- package/dist/dom-CxOkm_Sy.cjs +1 -0
- package/dist/{encoding-7lquyj0w.cjs → encoding-CkziAnZI.cjs} +1 -1
- package/dist/{encoding-CEd-dq9A.js → encoding-DSc9zv2F.js} +2 -2
- package/dist/{font-loader-D8pI87fL.cjs → font-loader-D-znWNWS.cjs} +1 -1
- package/dist/{font-loader-CNWXomuV.js → font-loader-i7lZbqH_.js} +1 -1
- package/dist/{grid-strokes-EoY66L2f.js → grid-strokes-BPiV1WHe.js} +1 -1
- package/dist/grid-strokes-DYf-6DMl.cjs +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +46 -7
- package/dist/index.d.ts +46 -7
- package/dist/index.js +69 -68
- package/dist/{json-snapshot-BRnzKudk.js → json-snapshot-BJWZNryO.js} +919 -791
- package/dist/json-snapshot-C7QZrRBf.cjs +2 -0
- package/dist/{pdf-CJToa81Z.js → pdf-0_5XiTCx.js} +2499 -2492
- package/dist/{pdf-DpMkW72B.cjs → pdf-DWuq6uxx.cjs} +31 -31
- 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-_BkUVc2z.js → plugin-B1ydqEmS.js} +1 -1
- package/dist/{plugin-BWTp-X7b.cjs → plugin-BQBz2vLG.cjs} +1 -1
- package/dist/prefill-2p9wrpn9.cjs +1 -0
- package/dist/{prefill-CWGdnqQd.js → prefill-Cuzh1wxf.js} +13 -13
- package/dist/prepared-CVbgO9KR.js +128 -0
- package/dist/prepared-DAwe8Il2.cjs +1 -0
- package/dist/protocol-BOri9qJL.js +105 -0
- package/dist/protocol-DD5dHSz-.cjs +1 -0
- package/dist/record-bindings-CAyM5tGg.cjs +1 -0
- package/dist/{record-bindings-DatJZv_e.js → record-bindings-fhav-NLG.js} +1 -1
- package/dist/{region-binding-workflow-DjrXuR1q.js → region-binding-workflow-Cm4mqhih.js} +2 -2
- package/dist/{region-binding-workflow-l7NGfagJ.cjs → region-binding-workflow-DWCUgjZl.cjs} +1 -1
- package/dist/report-encoding-worker.cjs +1 -1
- package/dist/report-encoding-worker.js +1 -1
- package/dist/rich-text-layout-X9YOz1JD.cjs +3 -0
- package/dist/{rich-text-layout-Ciwa6D2o.js → rich-text-layout-YJHtCWQI.js} +1 -1
- package/dist/runtime-BpSAgOw1.js +201 -0
- package/dist/runtime-Cd2UTnwe.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 +2721 -2430
- package/dist/server.cjs +1 -1
- package/dist/server.d.cts +47 -12
- package/dist/server.d.ts +47 -12
- package/dist/server.js +8 -8
- package/dist/style.css +1 -1
- package/dist/{template-catalog-DtrtT1FY.cjs → template-catalog--yBX169M.cjs} +1 -1
- package/dist/{template-catalog-CRuZL3pi.js → template-catalog-Bu7s7ReF.js} +3 -3
- package/dist/template-fragments-5EzVn7bm.cjs +1 -0
- package/dist/{template-fragments-CPpGpQoz.js → template-fragments-Di2vDFnx.js} +2 -2
- package/dist/{template-registry-O0hNIOfB.js → template-registry-BCBF2b8j.js} +10 -10
- package/dist/template-registry-Bnh5aEYf.cjs +1 -0
- package/dist/textwrap-BPFxhpOw.cjs +4 -0
- package/dist/{textwrap-D4ZksyMK.js → textwrap-CmVkhMhx.js} +1 -1
- package/dist/vue/async.d.cts +97 -18
- package/dist/vue/async.d.ts +97 -18
- package/dist/vue/index.d.cts +127 -28
- package/dist/vue/index.d.ts +127 -28
- 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-C9ZmCBwY.js → workbook-session-B6P_-5a4.js} +2 -2
- package/dist/{workbook-session-C6-SrnCT.cjs → workbook-session-BnPK3T58.cjs} +1 -1
- 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.cjs +4 -4
- package/dist/xlsx.d.cts +18 -1
- package/dist/xlsx.d.ts +18 -1
- package/dist/xlsx.js +279 -272
- 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-ByiOxUD3.js +0 -250
- 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/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-DWnZZ_ej.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
|
@@ -510,6 +510,46 @@ declare interface ComputedField_3 extends ExpressionOptions_3 {
|
|
|
510
510
|
/** String adapter expressions cannot be inspected; declare dependencies explicitly. */
|
|
511
511
|
dependsOn?: readonly string[];
|
|
512
512
|
}
|
|
513
|
+
declare interface ConflictReviewMessages {
|
|
514
|
+
conflictReviewTitle: string;
|
|
515
|
+
conflictReviewDescription: string;
|
|
516
|
+
conflictReviewRefresh: string;
|
|
517
|
+
conflictReviewLoading: string;
|
|
518
|
+
conflictReviewApply: string;
|
|
519
|
+
conflictReviewOriginal: string;
|
|
520
|
+
conflictReviewLocal: string;
|
|
521
|
+
conflictReviewServer: string;
|
|
522
|
+
conflictReviewChoose: string;
|
|
523
|
+
conflictReviewMissing: string;
|
|
524
|
+
conflictReviewAmbiguous: string;
|
|
525
|
+
conflictReviewReadonly: string;
|
|
526
|
+
conflictReviewUnavailable: string;
|
|
527
|
+
conflictReviewCount: string;
|
|
528
|
+
conflictReviewSearch: string;
|
|
529
|
+
conflictReviewEmpty: string;
|
|
530
|
+
conflictReviewStale: string;
|
|
531
|
+
conflictReviewRetained: string;
|
|
532
|
+
}
|
|
533
|
+
declare interface ConflictReviewMessages_2 {
|
|
534
|
+
conflictReviewTitle: string;
|
|
535
|
+
conflictReviewDescription: string;
|
|
536
|
+
conflictReviewRefresh: string;
|
|
537
|
+
conflictReviewLoading: string;
|
|
538
|
+
conflictReviewApply: string;
|
|
539
|
+
conflictReviewOriginal: string;
|
|
540
|
+
conflictReviewLocal: string;
|
|
541
|
+
conflictReviewServer: string;
|
|
542
|
+
conflictReviewChoose: string;
|
|
543
|
+
conflictReviewMissing: string;
|
|
544
|
+
conflictReviewAmbiguous: string;
|
|
545
|
+
conflictReviewReadonly: string;
|
|
546
|
+
conflictReviewUnavailable: string;
|
|
547
|
+
conflictReviewCount: string;
|
|
548
|
+
conflictReviewSearch: string;
|
|
549
|
+
conflictReviewEmpty: string;
|
|
550
|
+
conflictReviewStale: string;
|
|
551
|
+
conflictReviewRetained: string;
|
|
552
|
+
}
|
|
513
553
|
/** No global storage access: hosts explicitly choose localStorage, sessionStorage or their own adapter. */
|
|
514
554
|
export declare function createTemplateDraftStorage(storage: Pick<Storage, "getItem" | "setItem" | "removeItem">): TemplateDraftStorageAdapter;
|
|
515
555
|
declare interface DatasetContract {
|
|
@@ -548,6 +588,23 @@ export declare type DesignerInsertMessages = {
|
|
|
548
588
|
} & Partial<{
|
|
549
589
|
[K in keyof typeof BATCH_INSERT_MESSAGES]: string;
|
|
550
590
|
}>;
|
|
591
|
+
declare interface DesignerRuleTarget {
|
|
592
|
+
tab: "computations" | "groups" | "conditions" | "detail" | "matrix" | "tree";
|
|
593
|
+
field?: string;
|
|
594
|
+
index?: number;
|
|
595
|
+
effect?: "style" | "cell" | "rowVisibility";
|
|
596
|
+
}
|
|
597
|
+
declare interface DesignerTarget {
|
|
598
|
+
section: TemplateInspectorSection;
|
|
599
|
+
tool?: "params" | "rules";
|
|
600
|
+
pageIndex?: number;
|
|
601
|
+
componentIndex?: number;
|
|
602
|
+
field?: string;
|
|
603
|
+
columnIndex?: number;
|
|
604
|
+
paramField?: string;
|
|
605
|
+
rule?: DesignerRuleTarget;
|
|
606
|
+
control?: string;
|
|
607
|
+
}
|
|
551
608
|
/** Optional wizard labels remain independent of the general designer configuration. */
|
|
552
609
|
export declare const EXCEL_BINDING_MESSAGES: {
|
|
553
610
|
recoveredMapping: string;
|
|
@@ -1501,7 +1558,7 @@ declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
1501
1558
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1502
1559
|
*/
|
|
1503
1560
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1504
|
-
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1561
|
+
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1505
1562
|
previousSnapshot?: string;
|
|
1506
1563
|
reviewTools?: string;
|
|
1507
1564
|
validationTitle?: string;
|
|
@@ -1510,6 +1567,21 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1510
1567
|
validationDataset?: string;
|
|
1511
1568
|
validationRow?: string;
|
|
1512
1569
|
validationMore?: string;
|
|
1570
|
+
validationSearch?: string;
|
|
1571
|
+
validationSearchPlaceholder?: string;
|
|
1572
|
+
validationSeverity?: string;
|
|
1573
|
+
validationAllSeverities?: string;
|
|
1574
|
+
validationDatasetFilter?: string;
|
|
1575
|
+
validationAllDatasets?: string;
|
|
1576
|
+
validationResults?: string;
|
|
1577
|
+
validationRange?: string;
|
|
1578
|
+
validationPage?: string;
|
|
1579
|
+
validationEmpty?: string;
|
|
1580
|
+
validationNoMatches?: string;
|
|
1581
|
+
validationClear?: string;
|
|
1582
|
+
validationLoading?: string;
|
|
1583
|
+
validationUnavailable?: string;
|
|
1584
|
+
validationFailureSummary?: string;
|
|
1513
1585
|
drillActions?: string;
|
|
1514
1586
|
drillOpening?: string;
|
|
1515
1587
|
drillMissingValue?: string;
|
|
@@ -1680,6 +1752,8 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1680
1752
|
diagnosticsTitle?: string;
|
|
1681
1753
|
diagnosticsSearch?: string;
|
|
1682
1754
|
diagnosticsMore?: string;
|
|
1755
|
+
diagnosticsOmitted?: string;
|
|
1756
|
+
diagnosticsShowMore?: string;
|
|
1683
1757
|
diagnosticsLocate?: string;
|
|
1684
1758
|
diagnosticsLocation?: string;
|
|
1685
1759
|
diagnosticsStrict?: string;
|
|
@@ -1702,7 +1776,7 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1702
1776
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1703
1777
|
*/
|
|
1704
1778
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1705
|
-
declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages_2>, Partial<ReportDataReviewMessages_2>, ReportPrintMessages_2, ReportParamOptionsMessages_2 {
|
|
1779
|
+
declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages_2>, Partial<ReportDataReviewMessages_2>, Partial<ConflictReviewMessages_2>, ReportPrintMessages_2, ReportParamOptionsMessages_2 {
|
|
1706
1780
|
previousSnapshot?: string;
|
|
1707
1781
|
reviewTools?: string;
|
|
1708
1782
|
validationTitle?: string;
|
|
@@ -1711,6 +1785,21 @@ declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages
|
|
|
1711
1785
|
validationDataset?: string;
|
|
1712
1786
|
validationRow?: string;
|
|
1713
1787
|
validationMore?: string;
|
|
1788
|
+
validationSearch?: string;
|
|
1789
|
+
validationSearchPlaceholder?: string;
|
|
1790
|
+
validationSeverity?: string;
|
|
1791
|
+
validationAllSeverities?: string;
|
|
1792
|
+
validationDatasetFilter?: string;
|
|
1793
|
+
validationAllDatasets?: string;
|
|
1794
|
+
validationResults?: string;
|
|
1795
|
+
validationRange?: string;
|
|
1796
|
+
validationPage?: string;
|
|
1797
|
+
validationEmpty?: string;
|
|
1798
|
+
validationNoMatches?: string;
|
|
1799
|
+
validationClear?: string;
|
|
1800
|
+
validationLoading?: string;
|
|
1801
|
+
validationUnavailable?: string;
|
|
1802
|
+
validationFailureSummary?: string;
|
|
1714
1803
|
drillActions?: string;
|
|
1715
1804
|
drillOpening?: string;
|
|
1716
1805
|
drillMissingValue?: string;
|
|
@@ -1881,6 +1970,8 @@ declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages
|
|
|
1881
1970
|
diagnosticsTitle?: string;
|
|
1882
1971
|
diagnosticsSearch?: string;
|
|
1883
1972
|
diagnosticsMore?: string;
|
|
1973
|
+
diagnosticsOmitted?: string;
|
|
1974
|
+
diagnosticsShowMore?: string;
|
|
1884
1975
|
diagnosticsLocate?: string;
|
|
1885
1976
|
diagnosticsLocation?: string;
|
|
1886
1977
|
diagnosticsStrict?: string;
|
|
@@ -2086,6 +2177,8 @@ declare interface OutputDiagnosticOptions extends OutputTaskOptions {
|
|
|
2086
2177
|
onDiagnostic?: (diagnostic: OutputDiagnostic) => void;
|
|
2087
2178
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
2088
2179
|
fidelity?: "warn" | "strict";
|
|
2180
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
2181
|
+
diagnosticLimit?: number;
|
|
2089
2182
|
}
|
|
2090
2183
|
declare type OutputFormat = "dom" | "canvas" | "pdf" | "xlsx";
|
|
2091
2184
|
declare type OutputFormat_2 = "dom" | "canvas" | "pdf" | "xlsx";
|
|
@@ -2178,6 +2271,8 @@ export declare const ParamEditor: DefineComponent<ParamEditorOptions, {
|
|
|
2178
2271
|
}>, {}>;
|
|
2179
2272
|
export declare type ParamEditorMessages = typeof PARAM_EDITOR_MESSAGES;
|
|
2180
2273
|
export declare interface ParamEditorOptions {
|
|
2274
|
+
/** Advanced navigation supplied by the template workspace; optional for standalone forms. */
|
|
2275
|
+
location?: Pick<DesignerTarget, "paramField" | "control">;
|
|
2181
2276
|
document: ReportTemplateDocument;
|
|
2182
2277
|
readonly?: boolean;
|
|
2183
2278
|
messages?: Partial<ParamEditorMessages>;
|
|
@@ -3200,7 +3295,10 @@ declare interface ReportEditOperation {
|
|
|
3200
3295
|
signal: AbortSignal;
|
|
3201
3296
|
requestId?: string;
|
|
3202
3297
|
action?: "edit" | "undo" | "redo" | "restore";
|
|
3298
|
+
/** Immutable context of the report being edited. */
|
|
3299
|
+
query?: Readonly<ReportEditQueryContext>;
|
|
3203
3300
|
}
|
|
3301
|
+
declare type ReportEditQueryContext = ReportQueryContext;
|
|
3204
3302
|
declare interface ReportEditResult {
|
|
3205
3303
|
/** A successful result may advance concurrency tokens for the affected dataset. */
|
|
3206
3304
|
revision?: string | number;
|
|
@@ -3680,6 +3778,21 @@ declare interface ReportPrintOptions {
|
|
|
3680
3778
|
/** Physical translation only; no scaling or mutation of the report data/plan. */
|
|
3681
3779
|
calibration?: ReportPrintCalibration;
|
|
3682
3780
|
}
|
|
3781
|
+
/** Context of an accepted query, independent of an unsubmitted filter form. */
|
|
3782
|
+
declare interface ReportQueryContext {
|
|
3783
|
+
queryId?: string;
|
|
3784
|
+
reportIds: readonly string[];
|
|
3785
|
+
params: Readonly<Record<string, string>>;
|
|
3786
|
+
sources: readonly Readonly<ReportQuerySource>[];
|
|
3787
|
+
}
|
|
3788
|
+
/** One ordered query occurrence, shared by browser editing and Node preparation. */
|
|
3789
|
+
declare interface ReportQuerySource {
|
|
3790
|
+
reportId: string;
|
|
3791
|
+
reportIndex: number;
|
|
3792
|
+
reportScope: string;
|
|
3793
|
+
revision?: string;
|
|
3794
|
+
sourceToken?: string;
|
|
3795
|
+
}
|
|
3683
3796
|
/** Explicit refresh policy. The key identifies template/layout revisions outside query parameters. */
|
|
3684
3797
|
declare interface ReportRefreshOptions {
|
|
3685
3798
|
retainPrevious?: boolean;
|
|
@@ -4198,6 +4311,8 @@ export declare const RuleEditor: DefineComponent<RuleEditorOptions, {
|
|
|
4198
4311
|
}>, {}>;
|
|
4199
4312
|
export declare type RuleEditorMessages = typeof RULE_EDITOR_MESSAGES;
|
|
4200
4313
|
export declare interface RuleEditorOptions {
|
|
4314
|
+
/** Advanced navigation supplied by the template workspace; preserves local rule drafts. */
|
|
4315
|
+
location?: DesignerRuleTarget;
|
|
4201
4316
|
recoveryKey?: string;
|
|
4202
4317
|
list: ListComponent_2;
|
|
4203
4318
|
datasets?: DatasetRows_2;
|
|
@@ -4483,6 +4598,16 @@ export declare const TEMPLATE_EDITOR_MESSAGES: {
|
|
|
4483
4598
|
applyJson: string;
|
|
4484
4599
|
note: string;
|
|
4485
4600
|
invalid: string;
|
|
4601
|
+
locationRemoved: string;
|
|
4602
|
+
locationExternal: string;
|
|
4603
|
+
locationUnavailable: string;
|
|
4604
|
+
locationScope: string;
|
|
4605
|
+
backToReview: string;
|
|
4606
|
+
viewAvailable: string;
|
|
4607
|
+
viewResume: string;
|
|
4608
|
+
viewDismiss: string;
|
|
4609
|
+
viewAdjusted: string;
|
|
4610
|
+
viewStorageError: string;
|
|
4486
4611
|
outlineTool: string;
|
|
4487
4612
|
reuseTool: string;
|
|
4488
4613
|
fitWidth: string;
|
|
@@ -4619,6 +4744,9 @@ export declare const TEMPLATE_RECOVERY_MESSAGES: {
|
|
|
4619
4744
|
readonly toolsNeedSource: "Excel 映射配置已恢复,请重新选择原文件后核对。";
|
|
4620
4745
|
};
|
|
4621
4746
|
export declare const TEMPLATE_REVIEW_MESSAGES: {
|
|
4747
|
+
locationRemoved: string;
|
|
4748
|
+
locationExternal: string;
|
|
4749
|
+
locationUnavailable: string;
|
|
4622
4750
|
cancel: string;
|
|
4623
4751
|
cancelled: string;
|
|
4624
4752
|
progress: string;
|
|
@@ -4707,6 +4835,8 @@ export declare interface TemplateDraftRecord {
|
|
|
4707
4835
|
tools: Record<string, TemplateToolDraft>;
|
|
4708
4836
|
}
|
|
4709
4837
|
export declare interface TemplateDraftStorage {
|
|
4838
|
+
/** Opt in to bounded, account-scoped workspace position recovery without storing report data. */
|
|
4839
|
+
rememberView?: boolean;
|
|
4710
4840
|
/** Account / project scope. Changing scope cancels previous reads and isolates recovery. */
|
|
4711
4841
|
scope: string;
|
|
4712
4842
|
adapter: TemplateDraftStorageAdapter;
|
|
@@ -4758,7 +4888,7 @@ export declare interface TemplateEditorController {
|
|
|
4758
4888
|
save(): Promise<void>;
|
|
4759
4889
|
}
|
|
4760
4890
|
/** Newly introduced labels are optional for existing complete message dictionaries. */
|
|
4761
|
-
export declare type TemplateEditorMessages = typeof BASE_TEMPLATE_EDITOR_MESSAGES & Partial<typeof PRODUCT_TEMPLATE_EDITOR_MESSAGES
|
|
4891
|
+
export declare type TemplateEditorMessages = typeof BASE_TEMPLATE_EDITOR_MESSAGES & Partial<typeof PRODUCT_TEMPLATE_EDITOR_MESSAGES> & Partial<Pick<typeof TEMPLATE_EDITOR_MESSAGES, "locationRemoved" | "locationExternal" | "locationUnavailable" | "locationScope" | "backToReview" | "viewAvailable" | "viewResume" | "viewDismiss" | "viewAdjusted" | "viewStorageError">>;
|
|
4762
4892
|
export declare interface TemplateEditorOptions extends TemplateEditorConflictOptions {
|
|
4763
4893
|
/** Hide the duplicate save action when the host already provides an apply/save footer. */
|
|
4764
4894
|
showSave?: boolean;
|
|
@@ -4796,6 +4926,7 @@ export declare interface TemplateEditorSaveContext {
|
|
|
4796
4926
|
expectedRevision?: string;
|
|
4797
4927
|
signal: AbortSignal;
|
|
4798
4928
|
}
|
|
4929
|
+
declare type TemplateInspectorSection = "fields" | "component" | "template" | "tools" | "advanced";
|
|
4799
4930
|
export declare type TemplateLibraryMessages = typeof TEMPLATE_LIBRARY_MESSAGES;
|
|
4800
4931
|
export declare interface TemplateLibraryOptions {
|
|
4801
4932
|
provider: ReportTemplateCatalogProvider;
|
|
@@ -4891,7 +5022,7 @@ export declare const TemplateReusePanel: DefineComponent<TemplateReuseOptions, {
|
|
|
4891
5022
|
}, string, MachReportVuePublicProps, Readonly<TemplateReuseOptions> & Readonly<{
|
|
4892
5023
|
onSelect?: ((location: CanvasSelection) => any) | undefined;
|
|
4893
5024
|
}>, {}>;
|
|
4894
|
-
export declare type TemplateReviewMessages = typeof TEMPLATE_REVIEW_MESSAGES
|
|
5025
|
+
export declare type TemplateReviewMessages = Omit<typeof TEMPLATE_REVIEW_MESSAGES, "locationRemoved" | "locationExternal" | "locationUnavailable"> & Partial<Pick<typeof TEMPLATE_REVIEW_MESSAGES, "locationRemoved" | "locationExternal" | "locationUnavailable">>;
|
|
4895
5026
|
declare interface TemplateReviewOptions {
|
|
4896
5027
|
document: ReportTemplateDocument;
|
|
4897
5028
|
previous?: ReportTemplateDocument;
|
|
@@ -4903,10 +5034,12 @@ declare interface TemplateReviewOptions {
|
|
|
4903
5034
|
}
|
|
4904
5035
|
export declare const TemplateReviewPanel: DefineComponent<TemplateReviewOptions & {
|
|
4905
5036
|
messages?: Partial<TemplateReviewMessages>;
|
|
5037
|
+
capabilities?: Partial<Record<"params" | "rules", boolean>>;
|
|
4906
5038
|
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4907
5039
|
locate: (value: Pick<ReportTemplateReviewIssue, "field" | "path" | "pageIndex" | "componentIndex">) => any;
|
|
4908
5040
|
}, string, MachReportVuePublicProps, Readonly<TemplateReviewOptions & {
|
|
4909
5041
|
messages?: Partial<TemplateReviewMessages>;
|
|
5042
|
+
capabilities?: Partial<Record<"params" | "rules", boolean>>;
|
|
4910
5043
|
}> & Readonly<{
|
|
4911
5044
|
onLocate?: ((value: Pick<ReportTemplateReviewIssue, "field" | "path" | "pageIndex" | "componentIndex">) => any) | undefined;
|
|
4912
5045
|
}>, {}>;
|
package/dist/designer.d.ts
CHANGED
|
@@ -510,6 +510,46 @@ declare interface ComputedField_3 extends ExpressionOptions_3 {
|
|
|
510
510
|
/** String adapter expressions cannot be inspected; declare dependencies explicitly. */
|
|
511
511
|
dependsOn?: readonly string[];
|
|
512
512
|
}
|
|
513
|
+
declare interface ConflictReviewMessages {
|
|
514
|
+
conflictReviewTitle: string;
|
|
515
|
+
conflictReviewDescription: string;
|
|
516
|
+
conflictReviewRefresh: string;
|
|
517
|
+
conflictReviewLoading: string;
|
|
518
|
+
conflictReviewApply: string;
|
|
519
|
+
conflictReviewOriginal: string;
|
|
520
|
+
conflictReviewLocal: string;
|
|
521
|
+
conflictReviewServer: string;
|
|
522
|
+
conflictReviewChoose: string;
|
|
523
|
+
conflictReviewMissing: string;
|
|
524
|
+
conflictReviewAmbiguous: string;
|
|
525
|
+
conflictReviewReadonly: string;
|
|
526
|
+
conflictReviewUnavailable: string;
|
|
527
|
+
conflictReviewCount: string;
|
|
528
|
+
conflictReviewSearch: string;
|
|
529
|
+
conflictReviewEmpty: string;
|
|
530
|
+
conflictReviewStale: string;
|
|
531
|
+
conflictReviewRetained: string;
|
|
532
|
+
}
|
|
533
|
+
declare interface ConflictReviewMessages_2 {
|
|
534
|
+
conflictReviewTitle: string;
|
|
535
|
+
conflictReviewDescription: string;
|
|
536
|
+
conflictReviewRefresh: string;
|
|
537
|
+
conflictReviewLoading: string;
|
|
538
|
+
conflictReviewApply: string;
|
|
539
|
+
conflictReviewOriginal: string;
|
|
540
|
+
conflictReviewLocal: string;
|
|
541
|
+
conflictReviewServer: string;
|
|
542
|
+
conflictReviewChoose: string;
|
|
543
|
+
conflictReviewMissing: string;
|
|
544
|
+
conflictReviewAmbiguous: string;
|
|
545
|
+
conflictReviewReadonly: string;
|
|
546
|
+
conflictReviewUnavailable: string;
|
|
547
|
+
conflictReviewCount: string;
|
|
548
|
+
conflictReviewSearch: string;
|
|
549
|
+
conflictReviewEmpty: string;
|
|
550
|
+
conflictReviewStale: string;
|
|
551
|
+
conflictReviewRetained: string;
|
|
552
|
+
}
|
|
513
553
|
/** No global storage access: hosts explicitly choose localStorage, sessionStorage or their own adapter. */
|
|
514
554
|
export declare function createTemplateDraftStorage(storage: Pick<Storage, "getItem" | "setItem" | "removeItem">): TemplateDraftStorageAdapter;
|
|
515
555
|
declare interface DatasetContract {
|
|
@@ -548,6 +588,23 @@ export declare type DesignerInsertMessages = {
|
|
|
548
588
|
} & Partial<{
|
|
549
589
|
[K in keyof typeof BATCH_INSERT_MESSAGES]: string;
|
|
550
590
|
}>;
|
|
591
|
+
declare interface DesignerRuleTarget {
|
|
592
|
+
tab: "computations" | "groups" | "conditions" | "detail" | "matrix" | "tree";
|
|
593
|
+
field?: string;
|
|
594
|
+
index?: number;
|
|
595
|
+
effect?: "style" | "cell" | "rowVisibility";
|
|
596
|
+
}
|
|
597
|
+
declare interface DesignerTarget {
|
|
598
|
+
section: TemplateInspectorSection;
|
|
599
|
+
tool?: "params" | "rules";
|
|
600
|
+
pageIndex?: number;
|
|
601
|
+
componentIndex?: number;
|
|
602
|
+
field?: string;
|
|
603
|
+
columnIndex?: number;
|
|
604
|
+
paramField?: string;
|
|
605
|
+
rule?: DesignerRuleTarget;
|
|
606
|
+
control?: string;
|
|
607
|
+
}
|
|
551
608
|
/** Optional wizard labels remain independent of the general designer configuration. */
|
|
552
609
|
export declare const EXCEL_BINDING_MESSAGES: {
|
|
553
610
|
recoveredMapping: string;
|
|
@@ -1501,7 +1558,7 @@ declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
1501
1558
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1502
1559
|
*/
|
|
1503
1560
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1504
|
-
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1561
|
+
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, Partial<ReportDataReviewMessages>, Partial<ConflictReviewMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1505
1562
|
previousSnapshot?: string;
|
|
1506
1563
|
reviewTools?: string;
|
|
1507
1564
|
validationTitle?: string;
|
|
@@ -1510,6 +1567,21 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1510
1567
|
validationDataset?: string;
|
|
1511
1568
|
validationRow?: string;
|
|
1512
1569
|
validationMore?: string;
|
|
1570
|
+
validationSearch?: string;
|
|
1571
|
+
validationSearchPlaceholder?: string;
|
|
1572
|
+
validationSeverity?: string;
|
|
1573
|
+
validationAllSeverities?: string;
|
|
1574
|
+
validationDatasetFilter?: string;
|
|
1575
|
+
validationAllDatasets?: string;
|
|
1576
|
+
validationResults?: string;
|
|
1577
|
+
validationRange?: string;
|
|
1578
|
+
validationPage?: string;
|
|
1579
|
+
validationEmpty?: string;
|
|
1580
|
+
validationNoMatches?: string;
|
|
1581
|
+
validationClear?: string;
|
|
1582
|
+
validationLoading?: string;
|
|
1583
|
+
validationUnavailable?: string;
|
|
1584
|
+
validationFailureSummary?: string;
|
|
1513
1585
|
drillActions?: string;
|
|
1514
1586
|
drillOpening?: string;
|
|
1515
1587
|
drillMissingValue?: string;
|
|
@@ -1680,6 +1752,8 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1680
1752
|
diagnosticsTitle?: string;
|
|
1681
1753
|
diagnosticsSearch?: string;
|
|
1682
1754
|
diagnosticsMore?: string;
|
|
1755
|
+
diagnosticsOmitted?: string;
|
|
1756
|
+
diagnosticsShowMore?: string;
|
|
1683
1757
|
diagnosticsLocate?: string;
|
|
1684
1758
|
diagnosticsLocation?: string;
|
|
1685
1759
|
diagnosticsStrict?: string;
|
|
@@ -1702,7 +1776,7 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1702
1776
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1703
1777
|
*/
|
|
1704
1778
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1705
|
-
declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages_2>, Partial<ReportDataReviewMessages_2>, ReportPrintMessages_2, ReportParamOptionsMessages_2 {
|
|
1779
|
+
declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages_2>, Partial<ReportDataReviewMessages_2>, Partial<ConflictReviewMessages_2>, ReportPrintMessages_2, ReportParamOptionsMessages_2 {
|
|
1706
1780
|
previousSnapshot?: string;
|
|
1707
1781
|
reviewTools?: string;
|
|
1708
1782
|
validationTitle?: string;
|
|
@@ -1711,6 +1785,21 @@ declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages
|
|
|
1711
1785
|
validationDataset?: string;
|
|
1712
1786
|
validationRow?: string;
|
|
1713
1787
|
validationMore?: string;
|
|
1788
|
+
validationSearch?: string;
|
|
1789
|
+
validationSearchPlaceholder?: string;
|
|
1790
|
+
validationSeverity?: string;
|
|
1791
|
+
validationAllSeverities?: string;
|
|
1792
|
+
validationDatasetFilter?: string;
|
|
1793
|
+
validationAllDatasets?: string;
|
|
1794
|
+
validationResults?: string;
|
|
1795
|
+
validationRange?: string;
|
|
1796
|
+
validationPage?: string;
|
|
1797
|
+
validationEmpty?: string;
|
|
1798
|
+
validationNoMatches?: string;
|
|
1799
|
+
validationClear?: string;
|
|
1800
|
+
validationLoading?: string;
|
|
1801
|
+
validationUnavailable?: string;
|
|
1802
|
+
validationFailureSummary?: string;
|
|
1714
1803
|
drillActions?: string;
|
|
1715
1804
|
drillOpening?: string;
|
|
1716
1805
|
drillMissingValue?: string;
|
|
@@ -1881,6 +1970,8 @@ declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages
|
|
|
1881
1970
|
diagnosticsTitle?: string;
|
|
1882
1971
|
diagnosticsSearch?: string;
|
|
1883
1972
|
diagnosticsMore?: string;
|
|
1973
|
+
diagnosticsOmitted?: string;
|
|
1974
|
+
diagnosticsShowMore?: string;
|
|
1884
1975
|
diagnosticsLocate?: string;
|
|
1885
1976
|
diagnosticsLocation?: string;
|
|
1886
1977
|
diagnosticsStrict?: string;
|
|
@@ -2086,6 +2177,8 @@ declare interface OutputDiagnosticOptions extends OutputTaskOptions {
|
|
|
2086
2177
|
onDiagnostic?: (diagnostic: OutputDiagnostic) => void;
|
|
2087
2178
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
2088
2179
|
fidelity?: "warn" | "strict";
|
|
2180
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
2181
|
+
diagnosticLimit?: number;
|
|
2089
2182
|
}
|
|
2090
2183
|
declare type OutputFormat = "dom" | "canvas" | "pdf" | "xlsx";
|
|
2091
2184
|
declare type OutputFormat_2 = "dom" | "canvas" | "pdf" | "xlsx";
|
|
@@ -2178,6 +2271,8 @@ export declare const ParamEditor: DefineComponent<ParamEditorOptions, {
|
|
|
2178
2271
|
}>, {}>;
|
|
2179
2272
|
export declare type ParamEditorMessages = typeof PARAM_EDITOR_MESSAGES;
|
|
2180
2273
|
export declare interface ParamEditorOptions {
|
|
2274
|
+
/** Advanced navigation supplied by the template workspace; optional for standalone forms. */
|
|
2275
|
+
location?: Pick<DesignerTarget, "paramField" | "control">;
|
|
2181
2276
|
document: ReportTemplateDocument;
|
|
2182
2277
|
readonly?: boolean;
|
|
2183
2278
|
messages?: Partial<ParamEditorMessages>;
|
|
@@ -3200,7 +3295,10 @@ declare interface ReportEditOperation {
|
|
|
3200
3295
|
signal: AbortSignal;
|
|
3201
3296
|
requestId?: string;
|
|
3202
3297
|
action?: "edit" | "undo" | "redo" | "restore";
|
|
3298
|
+
/** Immutable context of the report being edited. */
|
|
3299
|
+
query?: Readonly<ReportEditQueryContext>;
|
|
3203
3300
|
}
|
|
3301
|
+
declare type ReportEditQueryContext = ReportQueryContext;
|
|
3204
3302
|
declare interface ReportEditResult {
|
|
3205
3303
|
/** A successful result may advance concurrency tokens for the affected dataset. */
|
|
3206
3304
|
revision?: string | number;
|
|
@@ -3680,6 +3778,21 @@ declare interface ReportPrintOptions {
|
|
|
3680
3778
|
/** Physical translation only; no scaling or mutation of the report data/plan. */
|
|
3681
3779
|
calibration?: ReportPrintCalibration;
|
|
3682
3780
|
}
|
|
3781
|
+
/** Context of an accepted query, independent of an unsubmitted filter form. */
|
|
3782
|
+
declare interface ReportQueryContext {
|
|
3783
|
+
queryId?: string;
|
|
3784
|
+
reportIds: readonly string[];
|
|
3785
|
+
params: Readonly<Record<string, string>>;
|
|
3786
|
+
sources: readonly Readonly<ReportQuerySource>[];
|
|
3787
|
+
}
|
|
3788
|
+
/** One ordered query occurrence, shared by browser editing and Node preparation. */
|
|
3789
|
+
declare interface ReportQuerySource {
|
|
3790
|
+
reportId: string;
|
|
3791
|
+
reportIndex: number;
|
|
3792
|
+
reportScope: string;
|
|
3793
|
+
revision?: string;
|
|
3794
|
+
sourceToken?: string;
|
|
3795
|
+
}
|
|
3683
3796
|
/** Explicit refresh policy. The key identifies template/layout revisions outside query parameters. */
|
|
3684
3797
|
declare interface ReportRefreshOptions {
|
|
3685
3798
|
retainPrevious?: boolean;
|
|
@@ -4198,6 +4311,8 @@ export declare const RuleEditor: DefineComponent<RuleEditorOptions, {
|
|
|
4198
4311
|
}>, {}>;
|
|
4199
4312
|
export declare type RuleEditorMessages = typeof RULE_EDITOR_MESSAGES;
|
|
4200
4313
|
export declare interface RuleEditorOptions {
|
|
4314
|
+
/** Advanced navigation supplied by the template workspace; preserves local rule drafts. */
|
|
4315
|
+
location?: DesignerRuleTarget;
|
|
4201
4316
|
recoveryKey?: string;
|
|
4202
4317
|
list: ListComponent_2;
|
|
4203
4318
|
datasets?: DatasetRows_2;
|
|
@@ -4483,6 +4598,16 @@ export declare const TEMPLATE_EDITOR_MESSAGES: {
|
|
|
4483
4598
|
applyJson: string;
|
|
4484
4599
|
note: string;
|
|
4485
4600
|
invalid: string;
|
|
4601
|
+
locationRemoved: string;
|
|
4602
|
+
locationExternal: string;
|
|
4603
|
+
locationUnavailable: string;
|
|
4604
|
+
locationScope: string;
|
|
4605
|
+
backToReview: string;
|
|
4606
|
+
viewAvailable: string;
|
|
4607
|
+
viewResume: string;
|
|
4608
|
+
viewDismiss: string;
|
|
4609
|
+
viewAdjusted: string;
|
|
4610
|
+
viewStorageError: string;
|
|
4486
4611
|
outlineTool: string;
|
|
4487
4612
|
reuseTool: string;
|
|
4488
4613
|
fitWidth: string;
|
|
@@ -4619,6 +4744,9 @@ export declare const TEMPLATE_RECOVERY_MESSAGES: {
|
|
|
4619
4744
|
readonly toolsNeedSource: "Excel 映射配置已恢复,请重新选择原文件后核对。";
|
|
4620
4745
|
};
|
|
4621
4746
|
export declare const TEMPLATE_REVIEW_MESSAGES: {
|
|
4747
|
+
locationRemoved: string;
|
|
4748
|
+
locationExternal: string;
|
|
4749
|
+
locationUnavailable: string;
|
|
4622
4750
|
cancel: string;
|
|
4623
4751
|
cancelled: string;
|
|
4624
4752
|
progress: string;
|
|
@@ -4707,6 +4835,8 @@ export declare interface TemplateDraftRecord {
|
|
|
4707
4835
|
tools: Record<string, TemplateToolDraft>;
|
|
4708
4836
|
}
|
|
4709
4837
|
export declare interface TemplateDraftStorage {
|
|
4838
|
+
/** Opt in to bounded, account-scoped workspace position recovery without storing report data. */
|
|
4839
|
+
rememberView?: boolean;
|
|
4710
4840
|
/** Account / project scope. Changing scope cancels previous reads and isolates recovery. */
|
|
4711
4841
|
scope: string;
|
|
4712
4842
|
adapter: TemplateDraftStorageAdapter;
|
|
@@ -4758,7 +4888,7 @@ export declare interface TemplateEditorController {
|
|
|
4758
4888
|
save(): Promise<void>;
|
|
4759
4889
|
}
|
|
4760
4890
|
/** Newly introduced labels are optional for existing complete message dictionaries. */
|
|
4761
|
-
export declare type TemplateEditorMessages = typeof BASE_TEMPLATE_EDITOR_MESSAGES & Partial<typeof PRODUCT_TEMPLATE_EDITOR_MESSAGES
|
|
4891
|
+
export declare type TemplateEditorMessages = typeof BASE_TEMPLATE_EDITOR_MESSAGES & Partial<typeof PRODUCT_TEMPLATE_EDITOR_MESSAGES> & Partial<Pick<typeof TEMPLATE_EDITOR_MESSAGES, "locationRemoved" | "locationExternal" | "locationUnavailable" | "locationScope" | "backToReview" | "viewAvailable" | "viewResume" | "viewDismiss" | "viewAdjusted" | "viewStorageError">>;
|
|
4762
4892
|
export declare interface TemplateEditorOptions extends TemplateEditorConflictOptions {
|
|
4763
4893
|
/** Hide the duplicate save action when the host already provides an apply/save footer. */
|
|
4764
4894
|
showSave?: boolean;
|
|
@@ -4796,6 +4926,7 @@ export declare interface TemplateEditorSaveContext {
|
|
|
4796
4926
|
expectedRevision?: string;
|
|
4797
4927
|
signal: AbortSignal;
|
|
4798
4928
|
}
|
|
4929
|
+
declare type TemplateInspectorSection = "fields" | "component" | "template" | "tools" | "advanced";
|
|
4799
4930
|
export declare type TemplateLibraryMessages = typeof TEMPLATE_LIBRARY_MESSAGES;
|
|
4800
4931
|
export declare interface TemplateLibraryOptions {
|
|
4801
4932
|
provider: ReportTemplateCatalogProvider;
|
|
@@ -4891,7 +5022,7 @@ export declare const TemplateReusePanel: DefineComponent<TemplateReuseOptions, {
|
|
|
4891
5022
|
}, string, MachReportVuePublicProps, Readonly<TemplateReuseOptions> & Readonly<{
|
|
4892
5023
|
onSelect?: ((location: CanvasSelection) => any) | undefined;
|
|
4893
5024
|
}>, {}>;
|
|
4894
|
-
export declare type TemplateReviewMessages = typeof TEMPLATE_REVIEW_MESSAGES
|
|
5025
|
+
export declare type TemplateReviewMessages = Omit<typeof TEMPLATE_REVIEW_MESSAGES, "locationRemoved" | "locationExternal" | "locationUnavailable"> & Partial<Pick<typeof TEMPLATE_REVIEW_MESSAGES, "locationRemoved" | "locationExternal" | "locationUnavailable">>;
|
|
4895
5026
|
declare interface TemplateReviewOptions {
|
|
4896
5027
|
document: ReportTemplateDocument;
|
|
4897
5028
|
previous?: ReportTemplateDocument;
|
|
@@ -4903,10 +5034,12 @@ declare interface TemplateReviewOptions {
|
|
|
4903
5034
|
}
|
|
4904
5035
|
export declare const TemplateReviewPanel: DefineComponent<TemplateReviewOptions & {
|
|
4905
5036
|
messages?: Partial<TemplateReviewMessages>;
|
|
5037
|
+
capabilities?: Partial<Record<"params" | "rules", boolean>>;
|
|
4906
5038
|
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4907
5039
|
locate: (value: Pick<ReportTemplateReviewIssue, "field" | "path" | "pageIndex" | "componentIndex">) => any;
|
|
4908
5040
|
}, string, MachReportVuePublicProps, Readonly<TemplateReviewOptions & {
|
|
4909
5041
|
messages?: Partial<TemplateReviewMessages>;
|
|
5042
|
+
capabilities?: Partial<Record<"params" | "rules", boolean>>;
|
|
4910
5043
|
}> & Readonly<{
|
|
4911
5044
|
onLocate?: ((value: Pick<ReportTemplateReviewIssue, "field" | "path" | "pageIndex" | "componentIndex">) => any) | undefined;
|
|
4912
5045
|
}>, {}>;
|
package/dist/designer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { C as e,
|
|
2
|
+
import { C as e, h as s, i as t, j as T, E as _, k as A, L as R, P as r, l as M, R as l, D as o, m as i, n as p, o as G, p as L, q as P, s as n, c as m, d as I, t as D, T as d, v as O, w as C, x as u, y as B, z as c } from "./designer-BNf7NWd6.js";
|
|
3
3
|
export {
|
|
4
4
|
e as COLUMN_VISUAL_MESSAGES,
|
|
5
5
|
s as ChartBindingInspector,
|
|
@@ -7,8 +7,8 @@ export {
|
|
|
7
7
|
T as DESIGNER_GUIDE_MESSAGES,
|
|
8
8
|
_ as EXCEL_BINDING_MESSAGES,
|
|
9
9
|
A as ExcelBindingWizard,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
R as LABEL_STUDIO_MESSAGES,
|
|
11
|
+
r as PARAM_EDITOR_MESSAGES,
|
|
12
12
|
M as ParamEditor,
|
|
13
13
|
l as REPORT_BATCH_MESSAGES,
|
|
14
14
|
o as RULE_EDITOR_MESSAGES,
|
|
@@ -21,8 +21,8 @@ export {
|
|
|
21
21
|
m as TEMPLATE_LIBRARY_MESSAGES,
|
|
22
22
|
I as TEMPLATE_PRODUCT_MESSAGES,
|
|
23
23
|
D as TEMPLATE_RECOVERY_MESSAGES,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
d as TEMPLATE_REVIEW_MESSAGES,
|
|
25
|
+
O as TemplateOutlinePanel,
|
|
26
26
|
C as TemplateReusePanel,
|
|
27
27
|
u as TemplateReviewPanel,
|
|
28
28
|
B as createTemplateDraftStorage,
|