@agile-team/mach-report 2.23.0 → 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 +9 -2
- package/dist/ExcelBindingWizard-BV12hGiK.cjs +1 -0
- package/dist/ExcelBindingWizard-Cy_lPjWV.js +1486 -0
- package/dist/ParamEditor-DenKjvKu.cjs +1 -0
- package/dist/ParamEditor-PyOqHzzw.js +750 -0
- package/dist/ReportBatchPanel-8EFtMrKk.js +351 -0
- package/dist/ReportBatchPanel-pQ6d0yqJ.cjs +1 -0
- package/dist/ReportLabelStudio-B_KF3Zc_.cjs +1 -0
- package/dist/ReportLabelStudio-HUeo2TsU.js +784 -0
- package/dist/ReportParamPanel-8xR85nz-.cjs +1 -0
- package/dist/{ReportParamPanel-Dgmqro1Y.js → ReportParamPanel-DA-YpkvC.js} +342 -307
- package/dist/ReportPreview-CyUXJSVX.cjs +6 -0
- package/dist/ReportPreview-_wTJnsG1.js +7120 -0
- package/dist/ReportTemplateLibrary-CjArKxRG.cjs +1 -0
- package/dist/ReportTemplateLibrary-DH8jl9IF.js +312 -0
- package/dist/RuleEditor-Bmj98oC4.cjs +1 -0
- package/dist/RuleEditor-GDydlEHz.js +2354 -0
- package/dist/TemplateOutlinePanel-B554_qk1.cjs +1 -0
- package/dist/TemplateOutlinePanel-DjPqzU9h.js +97 -0
- package/dist/TemplateReusePanel-D0628OYc.cjs +1 -0
- package/dist/TemplateReusePanel-DtYbCN7U.js +389 -0
- 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-CTIJ6PnR.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 +144 -4
- package/dist/designer.d.ts +144 -4
- package/dist/designer.js +6 -6
- 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-BefcaHdp.cjs → encoding-CkziAnZI.cjs} +1 -1
- package/dist/{encoding-CL6rXEkR.js → encoding-DSc9zv2F.js} +2 -2
- package/dist/{font-loader-Ga51c2VC.cjs → font-loader-D-znWNWS.cjs} +1 -1
- package/dist/{font-loader-BT5baV-o.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-OqkPyUk5.js → json-snapshot-BJWZNryO.js} +919 -791
- package/dist/json-snapshot-C7QZrRBf.cjs +2 -0
- package/dist/{pdf-aobetCsy.js → pdf-0_5XiTCx.js} +2499 -2492
- package/dist/{pdf-HiEeXe9H.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-DeYYAL6F.js → plugin-B1ydqEmS.js} +1 -1
- package/dist/{plugin-BFANt-i8.cjs → plugin-BQBz2vLG.cjs} +1 -1
- package/dist/prefill-2p9wrpn9.cjs +1 -0
- package/dist/{prefill-Dk4C6S5R.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 +2710 -2418
- 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-CoT7jm_6.cjs → template-catalog--yBX169M.cjs} +1 -1
- package/dist/{template-catalog--cjxzgH7.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-CmVkhMhx.js +111 -0
- package/dist/vue/async.d.cts +104 -18
- package/dist/vue/async.d.ts +104 -18
- package/dist/vue/index.d.cts +134 -28
- package/dist/vue/index.d.ts +134 -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/ExcelBindingWizard-D4FLind-.js +0 -1485
- package/dist/ExcelBindingWizard-D4RS5Bpg.cjs +0 -1
- package/dist/ParamEditor-C-6C9rd2.cjs +0 -1
- package/dist/ParamEditor-CASZt-Ma.js +0 -732
- package/dist/ReportBatchPanel-Bq7t8a5r.js +0 -350
- package/dist/ReportBatchPanel-YVj5IO5y.cjs +0 -1
- package/dist/ReportLabelStudio-Cqhita1b.cjs +0 -1
- package/dist/ReportLabelStudio-Dj7GXhuv.js +0 -783
- package/dist/ReportParamPanel-DZbFVmDL.cjs +0 -1
- package/dist/ReportPreview-DeWzG8jQ.js +0 -6257
- package/dist/ReportPreview-FFIryrIr.cjs +0 -6
- package/dist/ReportTemplateLibrary-BaWodmpm.cjs +0 -1
- package/dist/ReportTemplateLibrary-DdAAAD2I.js +0 -311
- package/dist/RuleEditor-D2UwQGF6.js +0 -2341
- package/dist/RuleEditor-DcT9xI1v.cjs +0 -1
- package/dist/TemplateOutlinePanel-CUHFFiNM.cjs +0 -1
- package/dist/TemplateOutlinePanel-DrT7XN0m.js +0 -96
- package/dist/TemplateReusePanel-4eejkNqi.js +0 -388
- package/dist/TemplateReusePanel-DZMyiX5I.cjs +0 -1
- package/dist/TemplateReviewPanel-BIhNLeNw.js +0 -592
- package/dist/TemplateReviewPanel-DnYImiXu.cjs +0 -1
- package/dist/assets-D2gHc4Mz.cjs +0 -1
- package/dist/assets-T_gDeFaz.js +0 -132
- package/dist/auto-4pK9HePf.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-DhrE7jzw.js +0 -7169
- package/dist/designer-IAZu6kBX.cjs +0 -2
- package/dist/dom-ChE5D-L-.cjs +0 -1
- package/dist/grid-strokes-Be24LGuV.cjs +0 -1
- package/dist/json-snapshot-1tvQNzQE.cjs +0 -2
- package/dist/prefill-DsUD5OoK.cjs +0 -1
- package/dist/prepared-DCIxhKFo.js +0 -94
- package/dist/prepared-Dv-XM3i1.cjs +0 -1
- package/dist/progress-ByiOxUD3.js +0 -250
- package/dist/progress-WomPRP3B.cjs +0 -1
- package/dist/protocol-B9YgfQ_d.cjs +0 -1
- package/dist/protocol-DxeUKGYG.js +0 -90
- package/dist/record-bindings-MBxbeBsi.cjs +0 -1
- package/dist/rich-text-layout-DK7A_a5r.cjs +0 -3
- package/dist/runtime-75Y5Oq5B.js +0 -171
- package/dist/runtime-DKlGd_D4.cjs +0 -1
- package/dist/template-fragments-GVjpew_q.cjs +0 -1
- package/dist/template-registry-DI59PXVK.cjs +0 -1
- package/dist/textwrap-BIjtEWmq.js +0 -110
- package/dist/textwrap-Cy7o1hIR.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;
|
|
@@ -1905,6 +1996,8 @@ declare interface MachReportPreviewOptions {
|
|
|
1905
1996
|
}
|
|
1906
1997
|
/** 主题变量(组件外壳注入的 --mrp-* CSS 自定义属性) */
|
|
1907
1998
|
declare interface MachReportTheme {
|
|
1999
|
+
/** Native controls follow the host's declared light/dark palette. */
|
|
2000
|
+
colorScheme?: "light" | "dark";
|
|
1908
2001
|
/** 空态插图强调色,不随正文颜色变灰。 */
|
|
1909
2002
|
emptyAccent?: string;
|
|
1910
2003
|
shellBg: string;
|
|
@@ -1917,6 +2010,11 @@ declare interface MachReportTheme {
|
|
|
1917
2010
|
btnHoverBg: string;
|
|
1918
2011
|
btnHoverFg: string;
|
|
1919
2012
|
btnActiveBg: string;
|
|
2013
|
+
/** Foreground on solid primary actions. Optional for existing complete themes. */
|
|
2014
|
+
btnActiveFg?: string;
|
|
2015
|
+
errorFg?: string;
|
|
2016
|
+
warningFg?: string;
|
|
2017
|
+
successFg?: string;
|
|
1920
2018
|
}
|
|
1921
2019
|
declare interface MachReportToolbarOptions {
|
|
1922
2020
|
/** Reasons explain host restrictions without granting capabilities. */
|
|
@@ -2079,6 +2177,8 @@ declare interface OutputDiagnosticOptions extends OutputTaskOptions {
|
|
|
2079
2177
|
onDiagnostic?: (diagnostic: OutputDiagnostic) => void;
|
|
2080
2178
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
2081
2179
|
fidelity?: "warn" | "strict";
|
|
2180
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
2181
|
+
diagnosticLimit?: number;
|
|
2082
2182
|
}
|
|
2083
2183
|
declare type OutputFormat = "dom" | "canvas" | "pdf" | "xlsx";
|
|
2084
2184
|
declare type OutputFormat_2 = "dom" | "canvas" | "pdf" | "xlsx";
|
|
@@ -2171,6 +2271,8 @@ export declare const ParamEditor: DefineComponent<ParamEditorOptions, {
|
|
|
2171
2271
|
}>, {}>;
|
|
2172
2272
|
export declare type ParamEditorMessages = typeof PARAM_EDITOR_MESSAGES;
|
|
2173
2273
|
export declare interface ParamEditorOptions {
|
|
2274
|
+
/** Advanced navigation supplied by the template workspace; optional for standalone forms. */
|
|
2275
|
+
location?: Pick<DesignerTarget, "paramField" | "control">;
|
|
2174
2276
|
document: ReportTemplateDocument;
|
|
2175
2277
|
readonly?: boolean;
|
|
2176
2278
|
messages?: Partial<ParamEditorMessages>;
|
|
@@ -3193,7 +3295,10 @@ declare interface ReportEditOperation {
|
|
|
3193
3295
|
signal: AbortSignal;
|
|
3194
3296
|
requestId?: string;
|
|
3195
3297
|
action?: "edit" | "undo" | "redo" | "restore";
|
|
3298
|
+
/** Immutable context of the report being edited. */
|
|
3299
|
+
query?: Readonly<ReportEditQueryContext>;
|
|
3196
3300
|
}
|
|
3301
|
+
declare type ReportEditQueryContext = ReportQueryContext;
|
|
3197
3302
|
declare interface ReportEditResult {
|
|
3198
3303
|
/** A successful result may advance concurrency tokens for the affected dataset. */
|
|
3199
3304
|
revision?: string | number;
|
|
@@ -3673,6 +3778,21 @@ declare interface ReportPrintOptions {
|
|
|
3673
3778
|
/** Physical translation only; no scaling or mutation of the report data/plan. */
|
|
3674
3779
|
calibration?: ReportPrintCalibration;
|
|
3675
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
|
+
}
|
|
3676
3796
|
/** Explicit refresh policy. The key identifies template/layout revisions outside query parameters. */
|
|
3677
3797
|
declare interface ReportRefreshOptions {
|
|
3678
3798
|
retainPrevious?: boolean;
|
|
@@ -4191,6 +4311,8 @@ export declare const RuleEditor: DefineComponent<RuleEditorOptions, {
|
|
|
4191
4311
|
}>, {}>;
|
|
4192
4312
|
export declare type RuleEditorMessages = typeof RULE_EDITOR_MESSAGES;
|
|
4193
4313
|
export declare interface RuleEditorOptions {
|
|
4314
|
+
/** Advanced navigation supplied by the template workspace; preserves local rule drafts. */
|
|
4315
|
+
location?: DesignerRuleTarget;
|
|
4194
4316
|
recoveryKey?: string;
|
|
4195
4317
|
list: ListComponent_2;
|
|
4196
4318
|
datasets?: DatasetRows_2;
|
|
@@ -4476,6 +4598,16 @@ export declare const TEMPLATE_EDITOR_MESSAGES: {
|
|
|
4476
4598
|
applyJson: string;
|
|
4477
4599
|
note: string;
|
|
4478
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;
|
|
4479
4611
|
outlineTool: string;
|
|
4480
4612
|
reuseTool: string;
|
|
4481
4613
|
fitWidth: string;
|
|
@@ -4612,6 +4744,9 @@ export declare const TEMPLATE_RECOVERY_MESSAGES: {
|
|
|
4612
4744
|
readonly toolsNeedSource: "Excel 映射配置已恢复,请重新选择原文件后核对。";
|
|
4613
4745
|
};
|
|
4614
4746
|
export declare const TEMPLATE_REVIEW_MESSAGES: {
|
|
4747
|
+
locationRemoved: string;
|
|
4748
|
+
locationExternal: string;
|
|
4749
|
+
locationUnavailable: string;
|
|
4615
4750
|
cancel: string;
|
|
4616
4751
|
cancelled: string;
|
|
4617
4752
|
progress: string;
|
|
@@ -4700,6 +4835,8 @@ export declare interface TemplateDraftRecord {
|
|
|
4700
4835
|
tools: Record<string, TemplateToolDraft>;
|
|
4701
4836
|
}
|
|
4702
4837
|
export declare interface TemplateDraftStorage {
|
|
4838
|
+
/** Opt in to bounded, account-scoped workspace position recovery without storing report data. */
|
|
4839
|
+
rememberView?: boolean;
|
|
4703
4840
|
/** Account / project scope. Changing scope cancels previous reads and isolates recovery. */
|
|
4704
4841
|
scope: string;
|
|
4705
4842
|
adapter: TemplateDraftStorageAdapter;
|
|
@@ -4751,7 +4888,7 @@ export declare interface TemplateEditorController {
|
|
|
4751
4888
|
save(): Promise<void>;
|
|
4752
4889
|
}
|
|
4753
4890
|
/** Newly introduced labels are optional for existing complete message dictionaries. */
|
|
4754
|
-
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">>;
|
|
4755
4892
|
export declare interface TemplateEditorOptions extends TemplateEditorConflictOptions {
|
|
4756
4893
|
/** Hide the duplicate save action when the host already provides an apply/save footer. */
|
|
4757
4894
|
showSave?: boolean;
|
|
@@ -4789,6 +4926,7 @@ export declare interface TemplateEditorSaveContext {
|
|
|
4789
4926
|
expectedRevision?: string;
|
|
4790
4927
|
signal: AbortSignal;
|
|
4791
4928
|
}
|
|
4929
|
+
declare type TemplateInspectorSection = "fields" | "component" | "template" | "tools" | "advanced";
|
|
4792
4930
|
export declare type TemplateLibraryMessages = typeof TEMPLATE_LIBRARY_MESSAGES;
|
|
4793
4931
|
export declare interface TemplateLibraryOptions {
|
|
4794
4932
|
provider: ReportTemplateCatalogProvider;
|
|
@@ -4884,7 +5022,7 @@ export declare const TemplateReusePanel: DefineComponent<TemplateReuseOptions, {
|
|
|
4884
5022
|
}, string, MachReportVuePublicProps, Readonly<TemplateReuseOptions> & Readonly<{
|
|
4885
5023
|
onSelect?: ((location: CanvasSelection) => any) | undefined;
|
|
4886
5024
|
}>, {}>;
|
|
4887
|
-
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">>;
|
|
4888
5026
|
declare interface TemplateReviewOptions {
|
|
4889
5027
|
document: ReportTemplateDocument;
|
|
4890
5028
|
previous?: ReportTemplateDocument;
|
|
@@ -4896,10 +5034,12 @@ declare interface TemplateReviewOptions {
|
|
|
4896
5034
|
}
|
|
4897
5035
|
export declare const TemplateReviewPanel: DefineComponent<TemplateReviewOptions & {
|
|
4898
5036
|
messages?: Partial<TemplateReviewMessages>;
|
|
5037
|
+
capabilities?: Partial<Record<"params" | "rules", boolean>>;
|
|
4899
5038
|
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4900
5039
|
locate: (value: Pick<ReportTemplateReviewIssue, "field" | "path" | "pageIndex" | "componentIndex">) => any;
|
|
4901
5040
|
}, string, MachReportVuePublicProps, Readonly<TemplateReviewOptions & {
|
|
4902
5041
|
messages?: Partial<TemplateReviewMessages>;
|
|
5042
|
+
capabilities?: Partial<Record<"params" | "rules", boolean>>;
|
|
4903
5043
|
}> & Readonly<{
|
|
4904
5044
|
onLocate?: ((value: Pick<ReportTemplateReviewIssue, "field" | "path" | "pageIndex" | "componentIndex">) => any) | undefined;
|
|
4905
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;
|
|
@@ -1905,6 +1996,8 @@ declare interface MachReportPreviewOptions {
|
|
|
1905
1996
|
}
|
|
1906
1997
|
/** 主题变量(组件外壳注入的 --mrp-* CSS 自定义属性) */
|
|
1907
1998
|
declare interface MachReportTheme {
|
|
1999
|
+
/** Native controls follow the host's declared light/dark palette. */
|
|
2000
|
+
colorScheme?: "light" | "dark";
|
|
1908
2001
|
/** 空态插图强调色,不随正文颜色变灰。 */
|
|
1909
2002
|
emptyAccent?: string;
|
|
1910
2003
|
shellBg: string;
|
|
@@ -1917,6 +2010,11 @@ declare interface MachReportTheme {
|
|
|
1917
2010
|
btnHoverBg: string;
|
|
1918
2011
|
btnHoverFg: string;
|
|
1919
2012
|
btnActiveBg: string;
|
|
2013
|
+
/** Foreground on solid primary actions. Optional for existing complete themes. */
|
|
2014
|
+
btnActiveFg?: string;
|
|
2015
|
+
errorFg?: string;
|
|
2016
|
+
warningFg?: string;
|
|
2017
|
+
successFg?: string;
|
|
1920
2018
|
}
|
|
1921
2019
|
declare interface MachReportToolbarOptions {
|
|
1922
2020
|
/** Reasons explain host restrictions without granting capabilities. */
|
|
@@ -2079,6 +2177,8 @@ declare interface OutputDiagnosticOptions extends OutputTaskOptions {
|
|
|
2079
2177
|
onDiagnostic?: (diagnostic: OutputDiagnostic) => void;
|
|
2080
2178
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
2081
2179
|
fidelity?: "warn" | "strict";
|
|
2180
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
2181
|
+
diagnosticLimit?: number;
|
|
2082
2182
|
}
|
|
2083
2183
|
declare type OutputFormat = "dom" | "canvas" | "pdf" | "xlsx";
|
|
2084
2184
|
declare type OutputFormat_2 = "dom" | "canvas" | "pdf" | "xlsx";
|
|
@@ -2171,6 +2271,8 @@ export declare const ParamEditor: DefineComponent<ParamEditorOptions, {
|
|
|
2171
2271
|
}>, {}>;
|
|
2172
2272
|
export declare type ParamEditorMessages = typeof PARAM_EDITOR_MESSAGES;
|
|
2173
2273
|
export declare interface ParamEditorOptions {
|
|
2274
|
+
/** Advanced navigation supplied by the template workspace; optional for standalone forms. */
|
|
2275
|
+
location?: Pick<DesignerTarget, "paramField" | "control">;
|
|
2174
2276
|
document: ReportTemplateDocument;
|
|
2175
2277
|
readonly?: boolean;
|
|
2176
2278
|
messages?: Partial<ParamEditorMessages>;
|
|
@@ -3193,7 +3295,10 @@ declare interface ReportEditOperation {
|
|
|
3193
3295
|
signal: AbortSignal;
|
|
3194
3296
|
requestId?: string;
|
|
3195
3297
|
action?: "edit" | "undo" | "redo" | "restore";
|
|
3298
|
+
/** Immutable context of the report being edited. */
|
|
3299
|
+
query?: Readonly<ReportEditQueryContext>;
|
|
3196
3300
|
}
|
|
3301
|
+
declare type ReportEditQueryContext = ReportQueryContext;
|
|
3197
3302
|
declare interface ReportEditResult {
|
|
3198
3303
|
/** A successful result may advance concurrency tokens for the affected dataset. */
|
|
3199
3304
|
revision?: string | number;
|
|
@@ -3673,6 +3778,21 @@ declare interface ReportPrintOptions {
|
|
|
3673
3778
|
/** Physical translation only; no scaling or mutation of the report data/plan. */
|
|
3674
3779
|
calibration?: ReportPrintCalibration;
|
|
3675
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
|
+
}
|
|
3676
3796
|
/** Explicit refresh policy. The key identifies template/layout revisions outside query parameters. */
|
|
3677
3797
|
declare interface ReportRefreshOptions {
|
|
3678
3798
|
retainPrevious?: boolean;
|
|
@@ -4191,6 +4311,8 @@ export declare const RuleEditor: DefineComponent<RuleEditorOptions, {
|
|
|
4191
4311
|
}>, {}>;
|
|
4192
4312
|
export declare type RuleEditorMessages = typeof RULE_EDITOR_MESSAGES;
|
|
4193
4313
|
export declare interface RuleEditorOptions {
|
|
4314
|
+
/** Advanced navigation supplied by the template workspace; preserves local rule drafts. */
|
|
4315
|
+
location?: DesignerRuleTarget;
|
|
4194
4316
|
recoveryKey?: string;
|
|
4195
4317
|
list: ListComponent_2;
|
|
4196
4318
|
datasets?: DatasetRows_2;
|
|
@@ -4476,6 +4598,16 @@ export declare const TEMPLATE_EDITOR_MESSAGES: {
|
|
|
4476
4598
|
applyJson: string;
|
|
4477
4599
|
note: string;
|
|
4478
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;
|
|
4479
4611
|
outlineTool: string;
|
|
4480
4612
|
reuseTool: string;
|
|
4481
4613
|
fitWidth: string;
|
|
@@ -4612,6 +4744,9 @@ export declare const TEMPLATE_RECOVERY_MESSAGES: {
|
|
|
4612
4744
|
readonly toolsNeedSource: "Excel 映射配置已恢复,请重新选择原文件后核对。";
|
|
4613
4745
|
};
|
|
4614
4746
|
export declare const TEMPLATE_REVIEW_MESSAGES: {
|
|
4747
|
+
locationRemoved: string;
|
|
4748
|
+
locationExternal: string;
|
|
4749
|
+
locationUnavailable: string;
|
|
4615
4750
|
cancel: string;
|
|
4616
4751
|
cancelled: string;
|
|
4617
4752
|
progress: string;
|
|
@@ -4700,6 +4835,8 @@ export declare interface TemplateDraftRecord {
|
|
|
4700
4835
|
tools: Record<string, TemplateToolDraft>;
|
|
4701
4836
|
}
|
|
4702
4837
|
export declare interface TemplateDraftStorage {
|
|
4838
|
+
/** Opt in to bounded, account-scoped workspace position recovery without storing report data. */
|
|
4839
|
+
rememberView?: boolean;
|
|
4703
4840
|
/** Account / project scope. Changing scope cancels previous reads and isolates recovery. */
|
|
4704
4841
|
scope: string;
|
|
4705
4842
|
adapter: TemplateDraftStorageAdapter;
|
|
@@ -4751,7 +4888,7 @@ export declare interface TemplateEditorController {
|
|
|
4751
4888
|
save(): Promise<void>;
|
|
4752
4889
|
}
|
|
4753
4890
|
/** Newly introduced labels are optional for existing complete message dictionaries. */
|
|
4754
|
-
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">>;
|
|
4755
4892
|
export declare interface TemplateEditorOptions extends TemplateEditorConflictOptions {
|
|
4756
4893
|
/** Hide the duplicate save action when the host already provides an apply/save footer. */
|
|
4757
4894
|
showSave?: boolean;
|
|
@@ -4789,6 +4926,7 @@ export declare interface TemplateEditorSaveContext {
|
|
|
4789
4926
|
expectedRevision?: string;
|
|
4790
4927
|
signal: AbortSignal;
|
|
4791
4928
|
}
|
|
4929
|
+
declare type TemplateInspectorSection = "fields" | "component" | "template" | "tools" | "advanced";
|
|
4792
4930
|
export declare type TemplateLibraryMessages = typeof TEMPLATE_LIBRARY_MESSAGES;
|
|
4793
4931
|
export declare interface TemplateLibraryOptions {
|
|
4794
4932
|
provider: ReportTemplateCatalogProvider;
|
|
@@ -4884,7 +5022,7 @@ export declare const TemplateReusePanel: DefineComponent<TemplateReuseOptions, {
|
|
|
4884
5022
|
}, string, MachReportVuePublicProps, Readonly<TemplateReuseOptions> & Readonly<{
|
|
4885
5023
|
onSelect?: ((location: CanvasSelection) => any) | undefined;
|
|
4886
5024
|
}>, {}>;
|
|
4887
|
-
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">>;
|
|
4888
5026
|
declare interface TemplateReviewOptions {
|
|
4889
5027
|
document: ReportTemplateDocument;
|
|
4890
5028
|
previous?: ReportTemplateDocument;
|
|
@@ -4896,10 +5034,12 @@ declare interface TemplateReviewOptions {
|
|
|
4896
5034
|
}
|
|
4897
5035
|
export declare const TemplateReviewPanel: DefineComponent<TemplateReviewOptions & {
|
|
4898
5036
|
messages?: Partial<TemplateReviewMessages>;
|
|
5037
|
+
capabilities?: Partial<Record<"params" | "rules", boolean>>;
|
|
4899
5038
|
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4900
5039
|
locate: (value: Pick<ReportTemplateReviewIssue, "field" | "path" | "pageIndex" | "componentIndex">) => any;
|
|
4901
5040
|
}, string, MachReportVuePublicProps, Readonly<TemplateReviewOptions & {
|
|
4902
5041
|
messages?: Partial<TemplateReviewMessages>;
|
|
5042
|
+
capabilities?: Partial<Record<"params" | "rules", boolean>>;
|
|
4903
5043
|
}> & Readonly<{
|
|
4904
5044
|
onLocate?: ((value: Pick<ReportTemplateReviewIssue, "field" | "path" | "pageIndex" | "componentIndex">) => any) | undefined;
|
|
4905
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,10 +21,10 @@ 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,
|
|
29
|
-
|
|
29
|
+
c as useTemplateWorkbench
|
|
30
30
|
};
|