@agile-team/mach-report 2.14.0 → 2.15.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 +16 -11
- package/THIRD_PARTY_NOTICES.md +3 -1
- package/dist/{ExcelBindingWizard-CvsWR8Ga.js → ExcelBindingWizard-BKH1nGNS.js} +3 -3
- package/dist/{ExcelBindingWizard-CLT2p7P3.cjs → ExcelBindingWizard-Bs43BGNp.cjs} +1 -1
- package/dist/ParamEditor-Da4akw6V.cjs +1 -0
- package/dist/ParamEditor-DoAhzJsm.js +594 -0
- package/dist/{ReportBatchPanel-LqVgiqp7.js → ReportBatchPanel-BMf6boMA.js} +39 -39
- package/dist/{ReportBatchPanel-DkxTzBkD.cjs → ReportBatchPanel-wP9m9Pj1.cjs} +1 -1
- package/dist/ReportPreview-ChV19HBp.js +4619 -0
- package/dist/ReportPreview-DbLvvOUT.cjs +6 -0
- package/dist/{ReportTemplateLibrary-MjWEtc7X.js → ReportTemplateLibrary-C9wutIiT.js} +1 -1
- package/dist/{ReportTemplateLibrary-cQ1sqNYo.cjs → ReportTemplateLibrary-Sxr3eD0J.cjs} +1 -1
- package/dist/{RuleEditor-ChuXMlei.js → RuleEditor-C_Clasvd.js} +5 -5
- package/dist/{RuleEditor-BaR6xUiI.cjs → RuleEditor-XhGHK8DE.cjs} +1 -1
- package/dist/{TemplateOutlinePanel-Dci6aRn1.js → TemplateOutlinePanel-D6Bkny59.js} +2 -2
- package/dist/{TemplateOutlinePanel-BHKP89Xz.cjs → TemplateOutlinePanel-JTSR53vJ.cjs} +1 -1
- package/dist/{TemplateReusePanel-CY5eO2Sh.cjs → TemplateReusePanel-Kx35S0Ql.cjs} +1 -1
- package/dist/{TemplateReusePanel-B7Gmyc1z.js → TemplateReusePanel-rVuK1kTz.js} +2 -2
- package/dist/{TemplateReviewPanel-DjlX3xpt.js → TemplateReviewPanel-B0ar9_zf.js} +2 -2
- package/dist/{TemplateReviewPanel-JvZe9_4G.cjs → TemplateReviewPanel-Dn6X9UmY.cjs} +1 -1
- package/dist/analytics.cjs +1 -1
- package/dist/analytics.d.cts +3 -1
- package/dist/analytics.d.ts +3 -1
- package/dist/analytics.js +154 -60
- package/dist/artifact-integrity.json +135 -0
- package/dist/assets-B9ImAi6_.cjs +1 -0
- package/dist/assets-DEaz4qsp.js +124 -0
- package/dist/batch-BaP6pWDE.cjs +1 -0
- package/dist/batch-BfZHN1do.js +220 -0
- package/dist/batch-CGyt-b2W.js +273 -0
- package/dist/batch-CLpELXBl.cjs +1 -0
- package/dist/capabilities-CAh2Nrue.cjs +1 -0
- package/dist/capabilities-DskCHs3V.js +69 -0
- package/dist/codes.d.cts +2 -0
- package/dist/codes.d.ts +2 -0
- package/dist/{computed-Bvk0W15F.js → computed-C-4C2S5h.js} +3 -3
- package/dist/config-BVsJXSqS.js +842 -0
- package/dist/config-D10us76d.cjs +1 -0
- package/dist/data-explanation-B8MZRYVS.js +16 -0
- package/dist/data-explanation-DE55G30w.cjs +1 -0
- package/dist/designer-2bDlcNXQ.js +5136 -0
- package/dist/designer-BT7XCdbW.cjs +2 -0
- package/dist/designer.cjs +1 -1
- package/dist/designer.d.cts +144 -16
- package/dist/designer.d.ts +144 -16
- package/dist/designer.js +1 -1
- package/dist/drill-ByJviLXS.js +145 -0
- package/dist/drill-DYTxuL3A.cjs +1 -0
- package/dist/{font-loader-vhCT8znW.cjs → font-loader-B_UkxpzC.cjs} +1 -1
- package/dist/{font-loader-DHto6Lra.js → font-loader-Q3bQjmrI.js} +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +82 -4
- package/dist/index.d.ts +82 -4
- package/dist/index.js +785 -820
- package/dist/json-snapshot-DFb2eWkf.js +1416 -0
- package/dist/json-snapshot-WWSGlaHG.cjs +2 -0
- package/dist/licenses/_bwip-js_generic-4.11.4.txt +24 -0
- package/dist/licenses/_fast-csv_format-4.3.5.txt +22 -0
- package/dist/licenses/_fast-csv_parse-4.3.6.txt +22 -0
- package/dist/licenses/_pdf-lib_fontkit-1.1.1.txt +326 -0
- package/dist/licenses/_pdf-lib_standard-fonts-1.0.0.txt +22 -0
- package/dist/licenses/_pdf-lib_upng-1.0.1.txt +22 -0
- package/dist/licenses/_types_node-14.18.63.txt +22 -0
- package/dist/licenses/_types_pako-2.0.3.txt +22 -0
- package/dist/licenses/_types_pegjs-0.10.6.txt +22 -0
- package/dist/licenses/archiver-5.3.2.txt +23 -0
- package/dist/licenses/archiver-utils-2.1.0.txt +23 -0
- package/dist/licenses/archiver-utils-3.0.4.txt +23 -0
- package/dist/licenses/async-3.2.6.txt +20 -0
- package/dist/licenses/balanced-match-1.0.2.txt +22 -0
- package/dist/licenses/base64-js-1.5.1.txt +22 -0
- package/dist/licenses/big-integer-1.6.52.txt +25 -0
- package/dist/licenses/binary-0.3.0.txt +178 -0
- package/dist/licenses/bl-4.1.0.txt +14 -0
- package/dist/licenses/bluebird-3.4.7.txt +22 -0
- package/dist/licenses/brace-expansion-1.1.21.txt +22 -0
- package/dist/licenses/brace-expansion-2.1.7.txt +22 -0
- package/dist/licenses/buffer-5.7.1.txt +22 -0
- package/dist/licenses/buffer-crc32-0.2.13.txt +20 -0
- package/dist/licenses/buffer-indexof-polyfill-1.0.2.txt +23 -0
- package/dist/licenses/buffers-0.1.1.txt +140 -0
- package/dist/licenses/chainsaw-0.1.0.txt +184 -0
- package/dist/licenses/compress-commons-4.1.2.txt +23 -0
- package/dist/licenses/concat-map-0.0.1.txt +19 -0
- package/dist/licenses/core-util-is-1.0.3.txt +20 -0
- package/dist/licenses/crc-32-1.2.2.txt +202 -0
- package/dist/licenses/crc32-stream-4.0.3.txt +23 -0
- package/dist/licenses/dayjs-1.11.23.txt +22 -0
- package/dist/licenses/duplexer2-0.1.4.txt +27 -0
- package/dist/licenses/end-of-stream-1.4.5.txt +22 -0
- package/dist/licenses/exceljs-4.4.0.txt +23 -0
- package/dist/licenses/fast-csv-4.3.6.txt +22 -0
- package/dist/licenses/fast-png-6.4.0.txt +22 -0
- package/dist/licenses/fs-constants-1.0.0.txt +22 -0
- package/dist/licenses/fs.realpath-1.0.0.txt +44 -0
- package/dist/licenses/fstream-1.0.12.txt +16 -0
- package/dist/licenses/glob-7.2.3.txt +22 -0
- package/dist/licenses/graceful-fs-4.2.11.txt +16 -0
- package/dist/licenses/ieee754-1.2.1.txt +12 -0
- package/dist/licenses/immediate-3.0.6.txt +21 -0
- package/dist/licenses/inflight-1.0.6.txt +16 -0
- package/dist/licenses/inherits-2.0.4.txt +17 -0
- package/dist/licenses/iobuffer-5.4.0.txt +23 -0
- package/dist/licenses/isarray-1.0.0.txt +61 -0
- package/dist/licenses/jszip-3.10.2.txt +652 -0
- package/dist/licenses/lazystream-1.0.1.txt +24 -0
- package/dist/licenses/lie-3.3.0.txt +8 -0
- package/dist/licenses/listenercount-1.0.1.txt +6 -0
- package/dist/licenses/lodash.defaults-4.2.0.txt +48 -0
- package/dist/licenses/lodash.difference-4.5.0.txt +48 -0
- package/dist/licenses/lodash.escaperegexp-4.1.2.txt +48 -0
- package/dist/licenses/lodash.flatten-4.4.0.txt +48 -0
- package/dist/licenses/lodash.groupby-4.6.0.txt +48 -0
- package/dist/licenses/lodash.isboolean-3.0.3.txt +23 -0
- package/dist/licenses/lodash.isequal-4.5.0.txt +48 -0
- package/dist/licenses/lodash.isfunction-3.0.9.txt +48 -0
- package/dist/licenses/lodash.isnil-4.0.0.txt +23 -0
- package/dist/licenses/lodash.isplainobject-4.0.6.txt +48 -0
- package/dist/licenses/lodash.isundefined-3.0.1.txt +23 -0
- package/dist/licenses/lodash.union-4.6.0.txt +48 -0
- package/dist/licenses/lodash.uniq-4.5.0.txt +48 -0
- package/dist/licenses/minimatch-3.1.5.txt +16 -0
- package/dist/licenses/minimatch-5.1.9.txt +16 -0
- package/dist/licenses/minimist-1.2.8.txt +19 -0
- package/dist/licenses/mkdirp-0.5.6.txt +22 -0
- package/dist/licenses/node-sql-parser-5.4.0.txt +202 -0
- package/dist/licenses/normalize-path-3.0.0.txt +22 -0
- package/dist/licenses/once-1.4.0.txt +16 -0
- package/dist/licenses/pako-1.0.11.txt +22 -0
- package/dist/licenses/pako-2.2.0.txt +22 -0
- package/dist/licenses/path-is-absolute-1.0.1.txt +22 -0
- package/dist/licenses/pdf-lib-1.17.1.txt +22 -0
- package/dist/licenses/process-nextick-args-2.0.1.txt +20 -0
- package/dist/licenses/readable-stream-2.3.8.txt +48 -0
- package/dist/licenses/readable-stream-3.6.2.txt +48 -0
- package/dist/licenses/readdir-glob-1.1.3.txt +202 -0
- package/dist/licenses/rimraf-2.7.1.txt +16 -0
- package/dist/licenses/safe-buffer-5.1.2.txt +22 -0
- package/dist/licenses/safe-buffer-5.2.1.txt +22 -0
- package/dist/licenses/saxes-5.0.1.txt +397 -0
- package/dist/licenses/setimmediate-1.0.5.txt +21 -0
- package/dist/licenses/string_decoder-1.1.1.txt +49 -0
- package/dist/licenses/string_decoder-1.3.0.txt +49 -0
- package/dist/licenses/tar-stream-2.2.0.txt +22 -0
- package/dist/licenses/tmp-0.2.7.txt +22 -0
- package/dist/licenses/traverse-0.3.9.txt +25 -0
- package/dist/licenses/tslib-1.14.1.txt +13 -0
- package/dist/licenses/unzipper-0.10.14.txt +26 -0
- package/dist/licenses/util-deprecate-1.0.2.txt +25 -0
- package/dist/licenses/uuid-11.1.1.txt +10 -0
- package/dist/licenses/wrappy-1.0.2.txt +16 -0
- package/dist/licenses/xmlchars-2.2.0.txt +19 -0
- package/dist/licenses/zip-stream-4.1.1.txt +23 -0
- package/dist/matrix-CGRGkn5s.js +112 -0
- package/dist/matrix-gEO7ZM_u.cjs +1 -0
- package/dist/media-B7vnpD8k.cjs +1 -0
- package/dist/media-Y90dHK9z.js +70 -0
- package/dist/param-validation-C3HlcLLO.cjs +1 -0
- package/dist/param-validation-Do7Eg8Zv.js +181 -0
- package/dist/{pdf-8UPQebOE.js → pdf-BwNyeGpt.js} +4385 -4321
- package/dist/{pdf-AyJGb22z.cjs → pdf-CvvrjPQg.cjs} +51 -49
- package/dist/pdf.cjs +1 -1
- package/dist/pdf.d.cts +18 -3
- package/dist/pdf.d.ts +18 -3
- package/dist/pdf.js +2 -2
- package/dist/{plugin-BGKf-Tqg.js → plugin-Ca_XZG3l.js} +2 -2
- package/dist/{plugin-CktLH_Iy.cjs → plugin-DHO7X8z2.cjs} +1 -1
- package/dist/prepared-CFy9B75C.cjs +1 -0
- package/dist/prepared-ajM-H-9B.js +69 -0
- package/dist/progress-B0ctFpKf.cjs +1 -0
- package/dist/progress-D-OTpEav.js +52 -0
- package/dist/record-bindings-By_UKZ2g.cjs +1 -0
- package/dist/record-bindings-Do_b3h4V.js +196 -0
- package/dist/{region-binding-workflow-DEJbhpCv.js → region-binding-workflow-BMhK_TjP.js} +1 -1
- package/dist/{region-binding-workflow-BzfbxRiR.cjs → region-binding-workflow-DIYJdCUr.cjs} +1 -1
- package/dist/{report-params-B44imUd4.js → report-params-B1RzkhJj.js} +1 -1
- package/dist/{report-params-SJfhKgaX.cjs → report-params-WDGrA4oP.cjs} +1 -1
- package/dist/sbom.cdx.json +3982 -0
- package/dist/server/node.d.cts +20 -1
- package/dist/server/node.d.ts +20 -1
- package/dist/server-node.cjs +1 -1
- package/dist/server-node.js +247 -237
- package/dist/server.cjs +1 -1
- package/dist/server.d.cts +772 -4
- package/dist/server.d.ts +772 -4
- package/dist/server.js +885 -645
- package/dist/sha256-ArEYjaTI.cjs +1 -0
- package/dist/sha256-DPEuJ3nh.js +155 -0
- package/dist/style.css +1 -1
- package/dist/template-bindings-C2SpvsMU.js +58 -0
- package/dist/template-bindings-CEtWyiLX.cjs +1 -0
- package/dist/template-catalog-FJE_c9Qe.cjs +1 -0
- package/dist/template-catalog-j2B1MJlL.js +414 -0
- package/dist/{template-fragments-CLkGo6To.js → template-fragments-BGbQLGlV.js} +21 -21
- package/dist/{template-fragments-DFUpq5QM.cjs → template-fragments-DcKeiylI.cjs} +1 -1
- package/dist/{template-outline-B3xVkzSv.cjs → template-outline-BwRV_eRo.cjs} +1 -1
- package/dist/{template-outline-CFenM1PV.js → template-outline-cnWfT_LK.js} +3 -3
- package/dist/{template-registry-COXDEJEM.js → template-registry-BtaKPELV.js} +364 -201
- package/dist/template-registry-Co1zPq5e.cjs +1 -0
- package/dist/textwrap-CWHyzkBH.cjs +4 -0
- package/dist/textwrap-DE1kgcJB.js +110 -0
- package/dist/{tree-CqcQ99NM.js → tree-CjVZLRw7.js} +1 -1
- package/dist/vue/async.d.cts +123 -14
- package/dist/vue/async.d.ts +123 -14
- package/dist/vue/index.d.cts +158 -22
- package/dist/vue/index.d.ts +158 -22
- package/dist/vue-async.cjs +1 -1
- package/dist/vue-async.js +3 -3
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +80 -78
- package/dist/{workbook-session-DNa2RHNG.cjs → workbook-session-Bjv1YCRK.cjs} +18 -18
- package/dist/{workbook-session-BfK1yHOO.js → workbook-session-BvToI-Fd.js} +5440 -5288
- package/dist/worker.cjs +1 -1
- package/dist/worker.d.cts +20 -1
- package/dist/worker.d.ts +20 -1
- package/dist/worker.js +33 -32
- package/dist/xlsx-node.cjs +34 -34
- package/dist/xlsx-node.js +878 -870
- package/dist/xlsx.cjs +3 -4
- package/dist/xlsx.d.cts +22 -10
- package/dist/xlsx.d.ts +22 -10
- package/dist/xlsx.js +261 -253
- package/package.json +2 -2
- package/dist/ParamEditor-CflQV3eQ.js +0 -526
- package/dist/ParamEditor-vIDzvpPV.cjs +0 -1
- package/dist/ReportPreview-CvbqLUzM.cjs +0 -6
- package/dist/ReportPreview-D_ywJ_-H.js +0 -4533
- package/dist/assets-C2U-e-Sz.cjs +0 -4
- package/dist/assets-Q0wUwNrV.js +0 -217
- package/dist/batch-DzaTNLWI.js +0 -371
- package/dist/batch-xMkqYiTr.cjs +0 -1
- package/dist/capabilities-CK_7hizc.js +0 -63
- package/dist/capabilities-CsZ-pNHR.cjs +0 -1
- package/dist/config-0UIohTS7.cjs +0 -1
- package/dist/config-Dt9NtCPl.js +0 -566
- package/dist/data-explanation-BktvER5B.cjs +0 -1
- package/dist/data-explanation-C_J6jYNi.js +0 -16
- package/dist/designer-Ci1LizA9.js +0 -5020
- package/dist/designer-rtmVIIdN.cjs +0 -2
- package/dist/json-snapshot-BeFT3Tso.js +0 -1952
- package/dist/json-snapshot-D1NTP2oI.cjs +0 -2
- package/dist/matrix-DVyWiYsd.cjs +0 -1
- package/dist/matrix-yZsGnldA.js +0 -227
- package/dist/page-window-index-CIuT4BAv.js +0 -43
- package/dist/page-window-index-DEjnM6IB.cjs +0 -1
- package/dist/param-validation-BlHHXs6u.js +0 -153
- package/dist/param-validation-DCK039V1.cjs +0 -1
- package/dist/progress-7OSZbFok.js +0 -39
- package/dist/progress-BnLiS5eH.cjs +0 -1
- package/dist/task-events-DQ276fn2.cjs +0 -1
- package/dist/task-events-Dpsvf_t2.js +0 -47
- package/dist/template-bindings-BJR4k7qZ.cjs +0 -1
- package/dist/template-bindings-Daui7hLF.js +0 -252
- package/dist/template-registry-D3SjENi6.cjs +0 -1
- package/dist/validate-BJ5HIWY8.cjs +0 -1
- package/dist/validate-CkQBWCeg.js +0 -163
package/dist/designer.d.cts
CHANGED
|
@@ -43,7 +43,7 @@ declare interface AssetRenderBudget {
|
|
|
43
43
|
/** Wall-clock budget, including adapters that ignore AbortSignal. Default 30 seconds. */
|
|
44
44
|
maxDurationMs?: number;
|
|
45
45
|
}
|
|
46
|
-
declare interface AssetRenderOptions extends OutputDiagnosticOptions {
|
|
46
|
+
declare interface AssetRenderOptions extends OutputDiagnosticOptions, ImageMediaOptions {
|
|
47
47
|
assetRenderers?: Partial<Record<ImageComponentKind, ComponentImageRenderer>>;
|
|
48
48
|
assetBudget?: AssetRenderBudget;
|
|
49
49
|
/** Default throw prevents an incomplete export; placeholder retains the component and emits diagnostics. */
|
|
@@ -500,11 +500,11 @@ export declare const ExcelBindingWizard: DefineComponent<ExcelBindingWizardOptio
|
|
|
500
500
|
apply: () => Promise<void>;
|
|
501
501
|
cancel: () => void;
|
|
502
502
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
503
|
-
dirty: (value: boolean) => any;
|
|
504
503
|
apply: (result: ExcelBindingWizardApply) => any;
|
|
504
|
+
dirty: (value: boolean) => any;
|
|
505
505
|
}, string, MachReportVuePublicProps, Readonly<ExcelBindingWizardOptions> & Readonly<{
|
|
506
|
-
onDirty?: ((value: boolean) => any) | undefined;
|
|
507
506
|
onApply?: ((result: ExcelBindingWizardApply) => any) | undefined;
|
|
507
|
+
onDirty?: ((value: boolean) => any) | undefined;
|
|
508
508
|
}>, {}>;
|
|
509
509
|
export declare type ExcelBindingWizardApply = AnyExcelBindingDocumentResult & {
|
|
510
510
|
session: AnyExcelBindingSession;
|
|
@@ -724,6 +724,18 @@ declare interface GridCell_3 {
|
|
|
724
724
|
style?: ComponentStyle_3;
|
|
725
725
|
}
|
|
726
726
|
declare type ImageComponentKind = "image" | "chart" | "barcode" | "qrcode";
|
|
727
|
+
/** Bounded binary image inspection shared by PDF, Excel and template import. No decoder is loaded. */
|
|
728
|
+
declare interface ImageMediaOptions {
|
|
729
|
+
maxImageBytes?: number;
|
|
730
|
+
maxTotalImageBytes?: number;
|
|
731
|
+
maxImages?: number;
|
|
732
|
+
/** Decoded pixels per unique image, default 16 million. */
|
|
733
|
+
maxImagePixels?: number;
|
|
734
|
+
/** Total decoded pixels for unique media, default 64 million. */
|
|
735
|
+
maxTotalImagePixels?: number;
|
|
736
|
+
/** Maximum source dimension, default 16384 pixels. */
|
|
737
|
+
maxImageDimension?: number;
|
|
738
|
+
}
|
|
727
739
|
/** auto:真实数字/显式数值格式居右,日期与布尔居中,其他内容居左。 */
|
|
728
740
|
declare type ListAlignment = NonNullable<ComponentStyle["align"]> | "auto";
|
|
729
741
|
/** auto:真实数字/显式数值格式居右,日期与布尔居中,其他内容居左。 */
|
|
@@ -1080,6 +1092,8 @@ declare interface ListGroupBy_3 {
|
|
|
1080
1092
|
}
|
|
1081
1093
|
/** defaults 层可配置项(全部可选,均有内置缺省) */
|
|
1082
1094
|
declare interface MachReportDefaults {
|
|
1095
|
+
drill?: ReportDrillOptions;
|
|
1096
|
+
loadParamOptions?: ReportParamOptionsLoader;
|
|
1083
1097
|
printOptions?: ReportPrintOptions;
|
|
1084
1098
|
showExport?: boolean;
|
|
1085
1099
|
showPrint?: boolean;
|
|
@@ -1122,7 +1136,11 @@ declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
1122
1136
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1123
1137
|
*/
|
|
1124
1138
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1125
|
-
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, ReportPrintMessages {
|
|
1139
|
+
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1140
|
+
drillActions?: string;
|
|
1141
|
+
drillOpening?: string;
|
|
1142
|
+
drillMissingValue?: string;
|
|
1143
|
+
drillFailed?: string;
|
|
1126
1144
|
exportMenu?: string;
|
|
1127
1145
|
exportMenuDescription?: string;
|
|
1128
1146
|
clearSearch?: string;
|
|
@@ -1297,7 +1315,11 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1297
1315
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1298
1316
|
*/
|
|
1299
1317
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1300
|
-
declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages_2>, ReportPrintMessages_2 {
|
|
1318
|
+
declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages_2>, ReportPrintMessages_2, ReportParamOptionsMessages_2 {
|
|
1319
|
+
drillActions?: string;
|
|
1320
|
+
drillOpening?: string;
|
|
1321
|
+
drillMissingValue?: string;
|
|
1322
|
+
drillFailed?: string;
|
|
1301
1323
|
exportMenu?: string;
|
|
1302
1324
|
exportMenuDescription?: string;
|
|
1303
1325
|
clearSearch?: string;
|
|
@@ -1544,7 +1566,7 @@ declare interface MatrixTableOptions_3 {
|
|
|
1544
1566
|
maxCells?: number;
|
|
1545
1567
|
}
|
|
1546
1568
|
declare interface OutputDiagnostic {
|
|
1547
|
-
code: "missing-image" | "unsupported-component" | "unsupported-image-format" | "unsupported-style" | "rich-text-flattened" | "nested-components-omitted" | "async-image-required" | "image-decode-failed" | "asset-render-failed" | "asset-budget-exceeded";
|
|
1569
|
+
code: "invalid-image-data" | "image-budget-exceeded" | "component-render-failed" | "unsupported-text" | "output-degraded" | "missing-image" | "unsupported-component" | "unsupported-image-format" | "unsupported-style" | "rich-text-flattened" | "nested-components-omitted" | "async-image-required" | "image-decode-failed" | "asset-render-failed" | "asset-budget-exceeded";
|
|
1548
1570
|
severity: "warning";
|
|
1549
1571
|
format: OutputFormat;
|
|
1550
1572
|
pageIndex: number;
|
|
@@ -1556,7 +1578,7 @@ declare interface OutputDiagnostic {
|
|
|
1556
1578
|
message: string;
|
|
1557
1579
|
}
|
|
1558
1580
|
declare interface OutputDiagnostic_2 {
|
|
1559
|
-
code: "missing-image" | "unsupported-component" | "unsupported-image-format" | "unsupported-style" | "rich-text-flattened" | "nested-components-omitted" | "async-image-required" | "image-decode-failed" | "asset-render-failed" | "asset-budget-exceeded";
|
|
1581
|
+
code: "invalid-image-data" | "image-budget-exceeded" | "component-render-failed" | "unsupported-text" | "output-degraded" | "missing-image" | "unsupported-component" | "unsupported-image-format" | "unsupported-style" | "rich-text-flattened" | "nested-components-omitted" | "async-image-required" | "image-decode-failed" | "asset-render-failed" | "asset-budget-exceeded";
|
|
1560
1582
|
severity: "warning";
|
|
1561
1583
|
format: OutputFormat_2;
|
|
1562
1584
|
pageIndex: number;
|
|
@@ -1604,6 +1626,13 @@ export declare const PARAM_EDITOR_MESSAGES: {
|
|
|
1604
1626
|
paramMinLength: string;
|
|
1605
1627
|
paramMaxLength: string;
|
|
1606
1628
|
paramOptions: string;
|
|
1629
|
+
paramOptionsMode: string;
|
|
1630
|
+
paramOptionsStatic: string;
|
|
1631
|
+
paramOptionsRemote: string;
|
|
1632
|
+
paramOptionsSource: string;
|
|
1633
|
+
paramDependencyUnavailable: string;
|
|
1634
|
+
paramDependencies: string;
|
|
1635
|
+
paramRemoteHint: string;
|
|
1607
1636
|
paramOptionValue: string;
|
|
1608
1637
|
paramOptionLabel: string;
|
|
1609
1638
|
paramOptionAdd: string;
|
|
@@ -1816,6 +1845,13 @@ declare interface PlanTableFragment_3 {
|
|
|
1816
1845
|
};
|
|
1817
1846
|
}
|
|
1818
1847
|
declare const PRODUCT_TEMPLATE_EDITOR_MESSAGES: {
|
|
1848
|
+
toolTarget: string;
|
|
1849
|
+
toolPreview: string;
|
|
1850
|
+
toolPreviewHide: string;
|
|
1851
|
+
toolChooseComponent: string;
|
|
1852
|
+
previousColumns: string;
|
|
1853
|
+
nextColumns: string;
|
|
1854
|
+
columnWindow: string;
|
|
1819
1855
|
paperAndPages: string;
|
|
1820
1856
|
pageDirectory: string;
|
|
1821
1857
|
pageName: string;
|
|
@@ -2194,6 +2230,8 @@ declare type ReportCellFieldOptions = ReportCellFieldBase & ({
|
|
|
2194
2230
|
declare type ReportCellReadOnlyReason = "cell" | "formula" | "complex" | "structure" | "derived";
|
|
2195
2231
|
/** 可持久化的业务身份与计划坐标独立;权限及并发校验仍由业务服务器执行。 */
|
|
2196
2232
|
declare interface ReportCellSource {
|
|
2233
|
+
/** Source identity across report occurrences; sharing must be explicitly declared. */
|
|
2234
|
+
sourceScope?: string;
|
|
2197
2235
|
datasetId: string;
|
|
2198
2236
|
rowKey: string | number;
|
|
2199
2237
|
field: string;
|
|
@@ -2202,6 +2240,8 @@ declare interface ReportCellSource {
|
|
|
2202
2240
|
}
|
|
2203
2241
|
/** 可持久化的业务身份与计划坐标独立;权限及并发校验仍由业务服务器执行。 */
|
|
2204
2242
|
declare interface ReportCellSource_2 {
|
|
2243
|
+
/** Source identity across report occurrences; sharing must be explicitly declared. */
|
|
2244
|
+
sourceScope?: string;
|
|
2205
2245
|
datasetId: string;
|
|
2206
2246
|
rowKey: string | number;
|
|
2207
2247
|
field: string;
|
|
@@ -2210,6 +2250,8 @@ declare interface ReportCellSource_2 {
|
|
|
2210
2250
|
}
|
|
2211
2251
|
/** 可持久化的业务身份与计划坐标独立;权限及并发校验仍由业务服务器执行。 */
|
|
2212
2252
|
declare interface ReportCellSource_3 {
|
|
2253
|
+
/** Source identity across report occurrences; sharing must be explicitly declared. */
|
|
2254
|
+
sourceScope?: string;
|
|
2213
2255
|
datasetId: string;
|
|
2214
2256
|
rowKey: string | number;
|
|
2215
2257
|
field: string;
|
|
@@ -2232,6 +2274,49 @@ declare interface ReportDocumentStyle {
|
|
|
2232
2274
|
style: ComponentStyle_2;
|
|
2233
2275
|
target?: "content" | "header";
|
|
2234
2276
|
}
|
|
2277
|
+
/** Serializable action metadata. URLs, scripts and automatic navigation are deliberately absent. */
|
|
2278
|
+
declare interface ReportDrillAction {
|
|
2279
|
+
id: string;
|
|
2280
|
+
label: string;
|
|
2281
|
+
target: {
|
|
2282
|
+
field: string;
|
|
2283
|
+
datasetId?: string;
|
|
2284
|
+
reportScope?: string;
|
|
2285
|
+
roles?: readonly string[];
|
|
2286
|
+
};
|
|
2287
|
+
params?: Readonly<Record<string, ReportDrillBinding>>;
|
|
2288
|
+
}
|
|
2289
|
+
declare type ReportDrillBinding = {
|
|
2290
|
+
value: string | number | boolean;
|
|
2291
|
+
} | {
|
|
2292
|
+
from: "value" | "rowKey";
|
|
2293
|
+
} | {
|
|
2294
|
+
from: "query" | "field";
|
|
2295
|
+
field: string;
|
|
2296
|
+
};
|
|
2297
|
+
/** Trusted host-owned allowlist. Matching serialized metadata alone never executes an action. */
|
|
2298
|
+
declare interface ReportDrillOptions {
|
|
2299
|
+
actions: readonly ReportDrillAction[];
|
|
2300
|
+
open(request: ReportDrillRequest & {
|
|
2301
|
+
signal: AbortSignal;
|
|
2302
|
+
view: Readonly<{
|
|
2303
|
+
zoom: number;
|
|
2304
|
+
scrollTop: number;
|
|
2305
|
+
scrollLeft: number;
|
|
2306
|
+
}>;
|
|
2307
|
+
}): void | Promise<void>;
|
|
2308
|
+
}
|
|
2309
|
+
declare interface ReportDrillRequest {
|
|
2310
|
+
actionId: string;
|
|
2311
|
+
params: Readonly<Record<string, string>>;
|
|
2312
|
+
returnState: Readonly<ReportDrillReturnState>;
|
|
2313
|
+
}
|
|
2314
|
+
declare interface ReportDrillReturnState {
|
|
2315
|
+
params: Readonly<Record<string, string>>;
|
|
2316
|
+
address: Readonly<ReportCellAddress>;
|
|
2317
|
+
reportScope?: string;
|
|
2318
|
+
source?: Readonly<Pick<ReportCellSource, "sourceScope" | "datasetId" | "rowKey" | "field">>;
|
|
2319
|
+
}
|
|
2235
2320
|
declare interface ReportEditBatch {
|
|
2236
2321
|
/** Idempotency identity; the server should bind it to the exact payload. */
|
|
2237
2322
|
requestId: string;
|
|
@@ -2393,6 +2478,10 @@ declare interface ReportParamDef {
|
|
|
2393
2478
|
label: string;
|
|
2394
2479
|
value: string;
|
|
2395
2480
|
}>;
|
|
2481
|
+
/** Opaque host-resolved source key. No URL, credentials or executable code is stored. */
|
|
2482
|
+
optionsSource?: string;
|
|
2483
|
+
/** Select dependencies must be declared parameters; changing a parent clears descendants. */
|
|
2484
|
+
dependsOn?: string[];
|
|
2396
2485
|
defaultValue?: string;
|
|
2397
2486
|
required?: boolean;
|
|
2398
2487
|
placeholder?: string;
|
|
@@ -2414,6 +2503,10 @@ declare interface ReportParamDef_2 {
|
|
|
2414
2503
|
label: string;
|
|
2415
2504
|
value: string;
|
|
2416
2505
|
}>;
|
|
2506
|
+
/** Opaque host-resolved source key. No URL, credentials or executable code is stored. */
|
|
2507
|
+
optionsSource?: string;
|
|
2508
|
+
/** Select dependencies must be declared parameters; changing a parent clears descendants. */
|
|
2509
|
+
dependsOn?: string[];
|
|
2417
2510
|
defaultValue?: string;
|
|
2418
2511
|
required?: boolean;
|
|
2419
2512
|
placeholder?: string;
|
|
@@ -2435,6 +2528,10 @@ declare interface ReportParamDef_3 {
|
|
|
2435
2528
|
label: string;
|
|
2436
2529
|
value: string;
|
|
2437
2530
|
}>;
|
|
2531
|
+
/** Opaque host-resolved source key. No URL, credentials or executable code is stored. */
|
|
2532
|
+
optionsSource?: string;
|
|
2533
|
+
/** Select dependencies must be declared parameters; changing a parent clears descendants. */
|
|
2534
|
+
dependsOn?: string[];
|
|
2438
2535
|
defaultValue?: string;
|
|
2439
2536
|
required?: boolean;
|
|
2440
2537
|
placeholder?: string;
|
|
@@ -2444,6 +2541,37 @@ declare interface ReportParamDef_3 {
|
|
|
2444
2541
|
minLength?: number;
|
|
2445
2542
|
maxLength?: number;
|
|
2446
2543
|
}
|
|
2544
|
+
declare interface ReportParamOption {
|
|
2545
|
+
readonly label: string;
|
|
2546
|
+
readonly value: string;
|
|
2547
|
+
}
|
|
2548
|
+
declare interface ReportParamOptionsInput {
|
|
2549
|
+
readonly source: string;
|
|
2550
|
+
readonly field: string;
|
|
2551
|
+
readonly query: string;
|
|
2552
|
+
/** Only declared dependencies, captured at request start. Never the mutable form. */
|
|
2553
|
+
readonly params: Readonly<Record<string, string>>;
|
|
2554
|
+
readonly signal: AbortSignal;
|
|
2555
|
+
readonly limit: number;
|
|
2556
|
+
}
|
|
2557
|
+
/** Resolve a trusted source key through the host's existing API/authentication. */
|
|
2558
|
+
declare type ReportParamOptionsLoader = (input: ReportParamOptionsInput) => Promise<readonly ReportParamOption[]>;
|
|
2559
|
+
declare interface ReportParamOptionsMessages {
|
|
2560
|
+
paramOptionsLoading?: string;
|
|
2561
|
+
paramOptionsEmpty?: string;
|
|
2562
|
+
paramOptionsFailed?: string;
|
|
2563
|
+
paramOptionsMissingLoader?: string;
|
|
2564
|
+
paramOptionsDependencies?: string;
|
|
2565
|
+
paramOptionsClear?: string;
|
|
2566
|
+
}
|
|
2567
|
+
declare interface ReportParamOptionsMessages_2 {
|
|
2568
|
+
paramOptionsLoading?: string;
|
|
2569
|
+
paramOptionsEmpty?: string;
|
|
2570
|
+
paramOptionsFailed?: string;
|
|
2571
|
+
paramOptionsMissingLoader?: string;
|
|
2572
|
+
paramOptionsDependencies?: string;
|
|
2573
|
+
paramOptionsClear?: string;
|
|
2574
|
+
}
|
|
2447
2575
|
declare interface ReportPreferencesAdapter {
|
|
2448
2576
|
load(key: string): Partial<ReportPreviewPreferences> | null | Promise<Partial<ReportPreviewPreferences> | null>;
|
|
2449
2577
|
save(key: string, value: Readonly<Partial<ReportPreviewPreferences>>): void | Promise<void>;
|
|
@@ -2909,6 +3037,13 @@ declare interface StyleRule_3 {
|
|
|
2909
3037
|
style: Record<string, unknown>;
|
|
2910
3038
|
}
|
|
2911
3039
|
export declare const TEMPLATE_EDITOR_MESSAGES: {
|
|
3040
|
+
toolTarget: string;
|
|
3041
|
+
toolPreview: string;
|
|
3042
|
+
toolPreviewHide: string;
|
|
3043
|
+
toolChooseComponent: string;
|
|
3044
|
+
previousColumns: string;
|
|
3045
|
+
nextColumns: string;
|
|
3046
|
+
columnWindow: string;
|
|
2912
3047
|
paperAndPages: string;
|
|
2913
3048
|
pageDirectory: string;
|
|
2914
3049
|
pageName: string;
|
|
@@ -3599,21 +3734,14 @@ declare type ValueFormat = ColumnFormat;
|
|
|
3599
3734
|
declare type ValueFormat_2 = ColumnFormat_2;
|
|
3600
3735
|
/** The same declarative formatting used by list columns, before any output backend. */
|
|
3601
3736
|
declare type ValueFormat_3 = ColumnFormat_3;
|
|
3602
|
-
declare
|
|
3603
|
-
/** Decoded bytes per unique embedded image; default 16 MiB. */
|
|
3604
|
-
maxImageBytes?: number;
|
|
3605
|
-
/** Total decoded bytes of unique images in this workbook; default 32 MiB. */
|
|
3606
|
-
maxTotalImageBytes?: number;
|
|
3607
|
-
/** Unique embedded media limit, default 1000; repeated placements reuse the same media. */
|
|
3608
|
-
maxImages?: number;
|
|
3609
|
-
}
|
|
3737
|
+
declare type XlsxImageOptions = ImageMediaOptions;
|
|
3610
3738
|
/**
|
|
3611
3739
|
* RenderPlan → xlsx 导出(B 端第二出口,对齐家族 @agile-team/mach-table-xlsx 路线):
|
|
3612
3740
|
* - 网格组件 → 真表格:列宽(mm→Excel 宽度)、行高(mm→pt)、colSpan/rowSpan 合并、
|
|
3613
3741
|
* 加粗/对齐/底色/字号直译(resolveGridLayout 复用单真相源几何)
|
|
3614
3742
|
* - 文本组件 → 合并标题行(顺序流式输出,保字号/加粗/对齐;非像素级定位,
|
|
3615
3743
|
* 目标是"财务能直接用的对账表"而非复刻版面)
|
|
3616
|
-
* -
|
|
3744
|
+
* - 原生 richText 保留基础字形;未支持组件、段落专有排版与单元格嵌套组件计入 diagnostics / warnings
|
|
3617
3745
|
*/
|
|
3618
3746
|
declare interface XlsxRenderOptions extends OutputDiagnosticOptions, XlsxImageOptions {
|
|
3619
3747
|
/** 工作表命名(连续表默认使用标题,其余默认 "Sheet1" 起序)。 */
|
package/dist/designer.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ declare interface AssetRenderBudget {
|
|
|
43
43
|
/** Wall-clock budget, including adapters that ignore AbortSignal. Default 30 seconds. */
|
|
44
44
|
maxDurationMs?: number;
|
|
45
45
|
}
|
|
46
|
-
declare interface AssetRenderOptions extends OutputDiagnosticOptions {
|
|
46
|
+
declare interface AssetRenderOptions extends OutputDiagnosticOptions, ImageMediaOptions {
|
|
47
47
|
assetRenderers?: Partial<Record<ImageComponentKind, ComponentImageRenderer>>;
|
|
48
48
|
assetBudget?: AssetRenderBudget;
|
|
49
49
|
/** Default throw prevents an incomplete export; placeholder retains the component and emits diagnostics. */
|
|
@@ -500,11 +500,11 @@ export declare const ExcelBindingWizard: DefineComponent<ExcelBindingWizardOptio
|
|
|
500
500
|
apply: () => Promise<void>;
|
|
501
501
|
cancel: () => void;
|
|
502
502
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
503
|
-
dirty: (value: boolean) => any;
|
|
504
503
|
apply: (result: ExcelBindingWizardApply) => any;
|
|
504
|
+
dirty: (value: boolean) => any;
|
|
505
505
|
}, string, MachReportVuePublicProps, Readonly<ExcelBindingWizardOptions> & Readonly<{
|
|
506
|
-
onDirty?: ((value: boolean) => any) | undefined;
|
|
507
506
|
onApply?: ((result: ExcelBindingWizardApply) => any) | undefined;
|
|
507
|
+
onDirty?: ((value: boolean) => any) | undefined;
|
|
508
508
|
}>, {}>;
|
|
509
509
|
export declare type ExcelBindingWizardApply = AnyExcelBindingDocumentResult & {
|
|
510
510
|
session: AnyExcelBindingSession;
|
|
@@ -724,6 +724,18 @@ declare interface GridCell_3 {
|
|
|
724
724
|
style?: ComponentStyle_3;
|
|
725
725
|
}
|
|
726
726
|
declare type ImageComponentKind = "image" | "chart" | "barcode" | "qrcode";
|
|
727
|
+
/** Bounded binary image inspection shared by PDF, Excel and template import. No decoder is loaded. */
|
|
728
|
+
declare interface ImageMediaOptions {
|
|
729
|
+
maxImageBytes?: number;
|
|
730
|
+
maxTotalImageBytes?: number;
|
|
731
|
+
maxImages?: number;
|
|
732
|
+
/** Decoded pixels per unique image, default 16 million. */
|
|
733
|
+
maxImagePixels?: number;
|
|
734
|
+
/** Total decoded pixels for unique media, default 64 million. */
|
|
735
|
+
maxTotalImagePixels?: number;
|
|
736
|
+
/** Maximum source dimension, default 16384 pixels. */
|
|
737
|
+
maxImageDimension?: number;
|
|
738
|
+
}
|
|
727
739
|
/** auto:真实数字/显式数值格式居右,日期与布尔居中,其他内容居左。 */
|
|
728
740
|
declare type ListAlignment = NonNullable<ComponentStyle["align"]> | "auto";
|
|
729
741
|
/** auto:真实数字/显式数值格式居右,日期与布尔居中,其他内容居左。 */
|
|
@@ -1080,6 +1092,8 @@ declare interface ListGroupBy_3 {
|
|
|
1080
1092
|
}
|
|
1081
1093
|
/** defaults 层可配置项(全部可选,均有内置缺省) */
|
|
1082
1094
|
declare interface MachReportDefaults {
|
|
1095
|
+
drill?: ReportDrillOptions;
|
|
1096
|
+
loadParamOptions?: ReportParamOptionsLoader;
|
|
1083
1097
|
printOptions?: ReportPrintOptions;
|
|
1084
1098
|
showExport?: boolean;
|
|
1085
1099
|
showPrint?: boolean;
|
|
@@ -1122,7 +1136,11 @@ declare type MachReportLogger = Pick<Console, "warn" | "info">;
|
|
|
1122
1136
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1123
1137
|
*/
|
|
1124
1138
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1125
|
-
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, ReportPrintMessages {
|
|
1139
|
+
declare interface MachReportMessages extends Partial<ReportCalculationMessages>, ReportPrintMessages, ReportParamOptionsMessages {
|
|
1140
|
+
drillActions?: string;
|
|
1141
|
+
drillOpening?: string;
|
|
1142
|
+
drillMissingValue?: string;
|
|
1143
|
+
drillFailed?: string;
|
|
1126
1144
|
exportMenu?: string;
|
|
1127
1145
|
exportMenuDescription?: string;
|
|
1128
1146
|
clearSearch?: string;
|
|
@@ -1297,7 +1315,11 @@ declare interface MachReportMessages extends Partial<ReportCalculationMessages>,
|
|
|
1297
1315
|
* - 优先级:组件 props > 路由级叠加 > preset > defaults(props 永远最高)
|
|
1298
1316
|
*/
|
|
1299
1317
|
/** 工具栏与状态文案(默认简体中文;出海场景覆写) */
|
|
1300
|
-
declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages_2>, ReportPrintMessages_2 {
|
|
1318
|
+
declare interface MachReportMessages_2 extends Partial<ReportCalculationMessages_2>, ReportPrintMessages_2, ReportParamOptionsMessages_2 {
|
|
1319
|
+
drillActions?: string;
|
|
1320
|
+
drillOpening?: string;
|
|
1321
|
+
drillMissingValue?: string;
|
|
1322
|
+
drillFailed?: string;
|
|
1301
1323
|
exportMenu?: string;
|
|
1302
1324
|
exportMenuDescription?: string;
|
|
1303
1325
|
clearSearch?: string;
|
|
@@ -1544,7 +1566,7 @@ declare interface MatrixTableOptions_3 {
|
|
|
1544
1566
|
maxCells?: number;
|
|
1545
1567
|
}
|
|
1546
1568
|
declare interface OutputDiagnostic {
|
|
1547
|
-
code: "missing-image" | "unsupported-component" | "unsupported-image-format" | "unsupported-style" | "rich-text-flattened" | "nested-components-omitted" | "async-image-required" | "image-decode-failed" | "asset-render-failed" | "asset-budget-exceeded";
|
|
1569
|
+
code: "invalid-image-data" | "image-budget-exceeded" | "component-render-failed" | "unsupported-text" | "output-degraded" | "missing-image" | "unsupported-component" | "unsupported-image-format" | "unsupported-style" | "rich-text-flattened" | "nested-components-omitted" | "async-image-required" | "image-decode-failed" | "asset-render-failed" | "asset-budget-exceeded";
|
|
1548
1570
|
severity: "warning";
|
|
1549
1571
|
format: OutputFormat;
|
|
1550
1572
|
pageIndex: number;
|
|
@@ -1556,7 +1578,7 @@ declare interface OutputDiagnostic {
|
|
|
1556
1578
|
message: string;
|
|
1557
1579
|
}
|
|
1558
1580
|
declare interface OutputDiagnostic_2 {
|
|
1559
|
-
code: "missing-image" | "unsupported-component" | "unsupported-image-format" | "unsupported-style" | "rich-text-flattened" | "nested-components-omitted" | "async-image-required" | "image-decode-failed" | "asset-render-failed" | "asset-budget-exceeded";
|
|
1581
|
+
code: "invalid-image-data" | "image-budget-exceeded" | "component-render-failed" | "unsupported-text" | "output-degraded" | "missing-image" | "unsupported-component" | "unsupported-image-format" | "unsupported-style" | "rich-text-flattened" | "nested-components-omitted" | "async-image-required" | "image-decode-failed" | "asset-render-failed" | "asset-budget-exceeded";
|
|
1560
1582
|
severity: "warning";
|
|
1561
1583
|
format: OutputFormat_2;
|
|
1562
1584
|
pageIndex: number;
|
|
@@ -1604,6 +1626,13 @@ export declare const PARAM_EDITOR_MESSAGES: {
|
|
|
1604
1626
|
paramMinLength: string;
|
|
1605
1627
|
paramMaxLength: string;
|
|
1606
1628
|
paramOptions: string;
|
|
1629
|
+
paramOptionsMode: string;
|
|
1630
|
+
paramOptionsStatic: string;
|
|
1631
|
+
paramOptionsRemote: string;
|
|
1632
|
+
paramOptionsSource: string;
|
|
1633
|
+
paramDependencyUnavailable: string;
|
|
1634
|
+
paramDependencies: string;
|
|
1635
|
+
paramRemoteHint: string;
|
|
1607
1636
|
paramOptionValue: string;
|
|
1608
1637
|
paramOptionLabel: string;
|
|
1609
1638
|
paramOptionAdd: string;
|
|
@@ -1816,6 +1845,13 @@ declare interface PlanTableFragment_3 {
|
|
|
1816
1845
|
};
|
|
1817
1846
|
}
|
|
1818
1847
|
declare const PRODUCT_TEMPLATE_EDITOR_MESSAGES: {
|
|
1848
|
+
toolTarget: string;
|
|
1849
|
+
toolPreview: string;
|
|
1850
|
+
toolPreviewHide: string;
|
|
1851
|
+
toolChooseComponent: string;
|
|
1852
|
+
previousColumns: string;
|
|
1853
|
+
nextColumns: string;
|
|
1854
|
+
columnWindow: string;
|
|
1819
1855
|
paperAndPages: string;
|
|
1820
1856
|
pageDirectory: string;
|
|
1821
1857
|
pageName: string;
|
|
@@ -2194,6 +2230,8 @@ declare type ReportCellFieldOptions = ReportCellFieldBase & ({
|
|
|
2194
2230
|
declare type ReportCellReadOnlyReason = "cell" | "formula" | "complex" | "structure" | "derived";
|
|
2195
2231
|
/** 可持久化的业务身份与计划坐标独立;权限及并发校验仍由业务服务器执行。 */
|
|
2196
2232
|
declare interface ReportCellSource {
|
|
2233
|
+
/** Source identity across report occurrences; sharing must be explicitly declared. */
|
|
2234
|
+
sourceScope?: string;
|
|
2197
2235
|
datasetId: string;
|
|
2198
2236
|
rowKey: string | number;
|
|
2199
2237
|
field: string;
|
|
@@ -2202,6 +2240,8 @@ declare interface ReportCellSource {
|
|
|
2202
2240
|
}
|
|
2203
2241
|
/** 可持久化的业务身份与计划坐标独立;权限及并发校验仍由业务服务器执行。 */
|
|
2204
2242
|
declare interface ReportCellSource_2 {
|
|
2243
|
+
/** Source identity across report occurrences; sharing must be explicitly declared. */
|
|
2244
|
+
sourceScope?: string;
|
|
2205
2245
|
datasetId: string;
|
|
2206
2246
|
rowKey: string | number;
|
|
2207
2247
|
field: string;
|
|
@@ -2210,6 +2250,8 @@ declare interface ReportCellSource_2 {
|
|
|
2210
2250
|
}
|
|
2211
2251
|
/** 可持久化的业务身份与计划坐标独立;权限及并发校验仍由业务服务器执行。 */
|
|
2212
2252
|
declare interface ReportCellSource_3 {
|
|
2253
|
+
/** Source identity across report occurrences; sharing must be explicitly declared. */
|
|
2254
|
+
sourceScope?: string;
|
|
2213
2255
|
datasetId: string;
|
|
2214
2256
|
rowKey: string | number;
|
|
2215
2257
|
field: string;
|
|
@@ -2232,6 +2274,49 @@ declare interface ReportDocumentStyle {
|
|
|
2232
2274
|
style: ComponentStyle_2;
|
|
2233
2275
|
target?: "content" | "header";
|
|
2234
2276
|
}
|
|
2277
|
+
/** Serializable action metadata. URLs, scripts and automatic navigation are deliberately absent. */
|
|
2278
|
+
declare interface ReportDrillAction {
|
|
2279
|
+
id: string;
|
|
2280
|
+
label: string;
|
|
2281
|
+
target: {
|
|
2282
|
+
field: string;
|
|
2283
|
+
datasetId?: string;
|
|
2284
|
+
reportScope?: string;
|
|
2285
|
+
roles?: readonly string[];
|
|
2286
|
+
};
|
|
2287
|
+
params?: Readonly<Record<string, ReportDrillBinding>>;
|
|
2288
|
+
}
|
|
2289
|
+
declare type ReportDrillBinding = {
|
|
2290
|
+
value: string | number | boolean;
|
|
2291
|
+
} | {
|
|
2292
|
+
from: "value" | "rowKey";
|
|
2293
|
+
} | {
|
|
2294
|
+
from: "query" | "field";
|
|
2295
|
+
field: string;
|
|
2296
|
+
};
|
|
2297
|
+
/** Trusted host-owned allowlist. Matching serialized metadata alone never executes an action. */
|
|
2298
|
+
declare interface ReportDrillOptions {
|
|
2299
|
+
actions: readonly ReportDrillAction[];
|
|
2300
|
+
open(request: ReportDrillRequest & {
|
|
2301
|
+
signal: AbortSignal;
|
|
2302
|
+
view: Readonly<{
|
|
2303
|
+
zoom: number;
|
|
2304
|
+
scrollTop: number;
|
|
2305
|
+
scrollLeft: number;
|
|
2306
|
+
}>;
|
|
2307
|
+
}): void | Promise<void>;
|
|
2308
|
+
}
|
|
2309
|
+
declare interface ReportDrillRequest {
|
|
2310
|
+
actionId: string;
|
|
2311
|
+
params: Readonly<Record<string, string>>;
|
|
2312
|
+
returnState: Readonly<ReportDrillReturnState>;
|
|
2313
|
+
}
|
|
2314
|
+
declare interface ReportDrillReturnState {
|
|
2315
|
+
params: Readonly<Record<string, string>>;
|
|
2316
|
+
address: Readonly<ReportCellAddress>;
|
|
2317
|
+
reportScope?: string;
|
|
2318
|
+
source?: Readonly<Pick<ReportCellSource, "sourceScope" | "datasetId" | "rowKey" | "field">>;
|
|
2319
|
+
}
|
|
2235
2320
|
declare interface ReportEditBatch {
|
|
2236
2321
|
/** Idempotency identity; the server should bind it to the exact payload. */
|
|
2237
2322
|
requestId: string;
|
|
@@ -2393,6 +2478,10 @@ declare interface ReportParamDef {
|
|
|
2393
2478
|
label: string;
|
|
2394
2479
|
value: string;
|
|
2395
2480
|
}>;
|
|
2481
|
+
/** Opaque host-resolved source key. No URL, credentials or executable code is stored. */
|
|
2482
|
+
optionsSource?: string;
|
|
2483
|
+
/** Select dependencies must be declared parameters; changing a parent clears descendants. */
|
|
2484
|
+
dependsOn?: string[];
|
|
2396
2485
|
defaultValue?: string;
|
|
2397
2486
|
required?: boolean;
|
|
2398
2487
|
placeholder?: string;
|
|
@@ -2414,6 +2503,10 @@ declare interface ReportParamDef_2 {
|
|
|
2414
2503
|
label: string;
|
|
2415
2504
|
value: string;
|
|
2416
2505
|
}>;
|
|
2506
|
+
/** Opaque host-resolved source key. No URL, credentials or executable code is stored. */
|
|
2507
|
+
optionsSource?: string;
|
|
2508
|
+
/** Select dependencies must be declared parameters; changing a parent clears descendants. */
|
|
2509
|
+
dependsOn?: string[];
|
|
2417
2510
|
defaultValue?: string;
|
|
2418
2511
|
required?: boolean;
|
|
2419
2512
|
placeholder?: string;
|
|
@@ -2435,6 +2528,10 @@ declare interface ReportParamDef_3 {
|
|
|
2435
2528
|
label: string;
|
|
2436
2529
|
value: string;
|
|
2437
2530
|
}>;
|
|
2531
|
+
/** Opaque host-resolved source key. No URL, credentials or executable code is stored. */
|
|
2532
|
+
optionsSource?: string;
|
|
2533
|
+
/** Select dependencies must be declared parameters; changing a parent clears descendants. */
|
|
2534
|
+
dependsOn?: string[];
|
|
2438
2535
|
defaultValue?: string;
|
|
2439
2536
|
required?: boolean;
|
|
2440
2537
|
placeholder?: string;
|
|
@@ -2444,6 +2541,37 @@ declare interface ReportParamDef_3 {
|
|
|
2444
2541
|
minLength?: number;
|
|
2445
2542
|
maxLength?: number;
|
|
2446
2543
|
}
|
|
2544
|
+
declare interface ReportParamOption {
|
|
2545
|
+
readonly label: string;
|
|
2546
|
+
readonly value: string;
|
|
2547
|
+
}
|
|
2548
|
+
declare interface ReportParamOptionsInput {
|
|
2549
|
+
readonly source: string;
|
|
2550
|
+
readonly field: string;
|
|
2551
|
+
readonly query: string;
|
|
2552
|
+
/** Only declared dependencies, captured at request start. Never the mutable form. */
|
|
2553
|
+
readonly params: Readonly<Record<string, string>>;
|
|
2554
|
+
readonly signal: AbortSignal;
|
|
2555
|
+
readonly limit: number;
|
|
2556
|
+
}
|
|
2557
|
+
/** Resolve a trusted source key through the host's existing API/authentication. */
|
|
2558
|
+
declare type ReportParamOptionsLoader = (input: ReportParamOptionsInput) => Promise<readonly ReportParamOption[]>;
|
|
2559
|
+
declare interface ReportParamOptionsMessages {
|
|
2560
|
+
paramOptionsLoading?: string;
|
|
2561
|
+
paramOptionsEmpty?: string;
|
|
2562
|
+
paramOptionsFailed?: string;
|
|
2563
|
+
paramOptionsMissingLoader?: string;
|
|
2564
|
+
paramOptionsDependencies?: string;
|
|
2565
|
+
paramOptionsClear?: string;
|
|
2566
|
+
}
|
|
2567
|
+
declare interface ReportParamOptionsMessages_2 {
|
|
2568
|
+
paramOptionsLoading?: string;
|
|
2569
|
+
paramOptionsEmpty?: string;
|
|
2570
|
+
paramOptionsFailed?: string;
|
|
2571
|
+
paramOptionsMissingLoader?: string;
|
|
2572
|
+
paramOptionsDependencies?: string;
|
|
2573
|
+
paramOptionsClear?: string;
|
|
2574
|
+
}
|
|
2447
2575
|
declare interface ReportPreferencesAdapter {
|
|
2448
2576
|
load(key: string): Partial<ReportPreviewPreferences> | null | Promise<Partial<ReportPreviewPreferences> | null>;
|
|
2449
2577
|
save(key: string, value: Readonly<Partial<ReportPreviewPreferences>>): void | Promise<void>;
|
|
@@ -2909,6 +3037,13 @@ declare interface StyleRule_3 {
|
|
|
2909
3037
|
style: Record<string, unknown>;
|
|
2910
3038
|
}
|
|
2911
3039
|
export declare const TEMPLATE_EDITOR_MESSAGES: {
|
|
3040
|
+
toolTarget: string;
|
|
3041
|
+
toolPreview: string;
|
|
3042
|
+
toolPreviewHide: string;
|
|
3043
|
+
toolChooseComponent: string;
|
|
3044
|
+
previousColumns: string;
|
|
3045
|
+
nextColumns: string;
|
|
3046
|
+
columnWindow: string;
|
|
2912
3047
|
paperAndPages: string;
|
|
2913
3048
|
pageDirectory: string;
|
|
2914
3049
|
pageName: string;
|
|
@@ -3599,21 +3734,14 @@ declare type ValueFormat = ColumnFormat;
|
|
|
3599
3734
|
declare type ValueFormat_2 = ColumnFormat_2;
|
|
3600
3735
|
/** The same declarative formatting used by list columns, before any output backend. */
|
|
3601
3736
|
declare type ValueFormat_3 = ColumnFormat_3;
|
|
3602
|
-
declare
|
|
3603
|
-
/** Decoded bytes per unique embedded image; default 16 MiB. */
|
|
3604
|
-
maxImageBytes?: number;
|
|
3605
|
-
/** Total decoded bytes of unique images in this workbook; default 32 MiB. */
|
|
3606
|
-
maxTotalImageBytes?: number;
|
|
3607
|
-
/** Unique embedded media limit, default 1000; repeated placements reuse the same media. */
|
|
3608
|
-
maxImages?: number;
|
|
3609
|
-
}
|
|
3737
|
+
declare type XlsxImageOptions = ImageMediaOptions;
|
|
3610
3738
|
/**
|
|
3611
3739
|
* RenderPlan → xlsx 导出(B 端第二出口,对齐家族 @agile-team/mach-table-xlsx 路线):
|
|
3612
3740
|
* - 网格组件 → 真表格:列宽(mm→Excel 宽度)、行高(mm→pt)、colSpan/rowSpan 合并、
|
|
3613
3741
|
* 加粗/对齐/底色/字号直译(resolveGridLayout 复用单真相源几何)
|
|
3614
3742
|
* - 文本组件 → 合并标题行(顺序流式输出,保字号/加粗/对齐;非像素级定位,
|
|
3615
3743
|
* 目标是"财务能直接用的对账表"而非复刻版面)
|
|
3616
|
-
* -
|
|
3744
|
+
* - 原生 richText 保留基础字形;未支持组件、段落专有排版与单元格嵌套组件计入 diagnostics / warnings
|
|
3617
3745
|
*/
|
|
3618
3746
|
declare interface XlsxRenderOptions extends OutputDiagnosticOptions, XlsxImageOptions {
|
|
3619
3747
|
/** 工作表命名(连续表默认使用标题,其余默认 "Sheet1" 起序)。 */
|
package/dist/designer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { E as S, c as T, P as s, d as R, R as t, D as A, e as _, f as r, g as M, h as l, i as P, a as i, b as p, j as m, T as o, k as G, l as L, m as n, n as D } from "./designer-
|
|
2
|
+
import { E as S, c as T, P as s, d as R, R as t, D as A, e as _, f as r, g as M, h as l, i as P, a as i, b as p, j as m, T as o, k as G, l as L, m as n, n as D } from "./designer-2bDlcNXQ.js";
|
|
3
3
|
export {
|
|
4
4
|
S as EXCEL_BINDING_MESSAGES,
|
|
5
5
|
T as ExcelBindingWizard,
|