@agile-team/mach-report 2.24.0 → 2.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/dist/{ExcelBindingWizard-Cy_lPjWV.js → ExcelBindingWizard-bs3F4dD8.js} +3 -3
- package/dist/{ExcelBindingWizard-BV12hGiK.cjs → ExcelBindingWizard-jSdjBtWw.cjs} +1 -1
- package/dist/{ParamEditor-PyOqHzzw.js → ParamEditor-B7YVD28E.js} +2 -2
- package/dist/{ParamEditor-DenKjvKu.cjs → ParamEditor-CGfaweYX.cjs} +1 -1
- package/dist/{ReportBatchPanel-pQ6d0yqJ.cjs → ReportBatchPanel-BRJt0TXp.cjs} +1 -1
- package/dist/{ReportBatchPanel-8EFtMrKk.js → ReportBatchPanel-BTKHtLTW.js} +2 -2
- package/dist/{ReportLabelStudio-B_KF3Zc_.cjs → ReportLabelStudio-BvK_WBke.cjs} +1 -1
- package/dist/{ReportLabelStudio-HUeo2TsU.js → ReportLabelStudio-CZwqyO3t.js} +3 -3
- package/dist/{ReportParamPanel-8xR85nz-.cjs → ReportParamPanel-B27IGJjk.cjs} +1 -1
- package/dist/{ReportParamPanel-DA-YpkvC.js → ReportParamPanel-DGXzBzl2.js} +1 -1
- package/dist/{ReportPreview-_wTJnsG1.js → ReportPreview-CnxaDTCO.js} +2392 -2342
- package/dist/ReportPreview-DqFBcsJQ.cjs +6 -0
- package/dist/{ReportTemplateLibrary-DH8jl9IF.js → ReportTemplateLibrary-C7sB0Jay.js} +1 -1
- package/dist/{ReportTemplateLibrary-CjArKxRG.cjs → ReportTemplateLibrary-ClwxhnC0.cjs} +1 -1
- package/dist/{RuleEditor-GDydlEHz.js → RuleEditor-CsDGFaWz.js} +3 -4
- package/dist/{RuleEditor-Bmj98oC4.cjs → RuleEditor-D-OdaGdR.cjs} +1 -1
- package/dist/{TemplateOutlinePanel-DjPqzU9h.js → TemplateOutlinePanel-CXOT7d1r.js} +2 -2
- package/dist/{TemplateOutlinePanel-B554_qk1.cjs → TemplateOutlinePanel-DAqR9zQi.cjs} +1 -1
- package/dist/{TemplateReusePanel-DtYbCN7U.js → TemplateReusePanel-Dcfx3Hba.js} +2 -2
- package/dist/{TemplateReusePanel-D0628OYc.cjs → TemplateReusePanel-ygIi-Ajz.cjs} +1 -1
- package/dist/{TemplateReviewPanel-D_FR4ISq.js → TemplateReviewPanel-COU8FqPq.js} +1 -1
- package/dist/{TemplateReviewPanel-CSwvCz3f.cjs → TemplateReviewPanel-DyGULVxr.cjs} +1 -1
- package/dist/analytics.cjs +1 -1
- package/dist/analytics.d.cts +1 -1
- package/dist/analytics.d.ts +1 -1
- package/dist/analytics.js +2 -2
- package/dist/artifact-integrity.json +102 -102
- package/dist/{assets-B4AJIOTB.cjs → assets-BYdpkTIt.cjs} +1 -1
- package/dist/{assets-D0FbszhB.js → assets-C4MIvzQ4.js} +2 -2
- package/dist/{auto-BksreoKc.js → auto-D7x7QsWD.js} +10 -10
- package/dist/{auto-C3mGqzJ8.cjs → auto-mPK9W0y5.cjs} +1 -1
- package/dist/{capabilities-lqDEZSq5.js → capabilities-CN_kSVjO.js} +7 -7
- package/dist/{capabilities-CTwlcl8q.cjs → capabilities-D4nfhcvB.cjs} +1 -1
- package/dist/cell-style-B6Qffrx8.js +37 -0
- package/dist/cell-style-y_uh1pZp.cjs +1 -0
- package/dist/{data-bar-BnGtnJ82.js → data-bar-Bfh54sT4.js} +1 -1
- package/dist/{data-bar-2NLRzOCQ.cjs → data-bar-DzceAVeR.cjs} +1 -1
- package/dist/{designer-BNf7NWd6.js → designer-B597ZdC0.js} +2254 -2248
- package/dist/designer-DFIdv_n7.cjs +2 -0
- package/dist/designer.cjs +1 -1
- package/dist/designer.d.cts +6 -6
- package/dist/designer.d.ts +6 -6
- package/dist/designer.js +1 -1
- package/dist/diagnostic-collector-gB07PHy2.js +392 -0
- package/dist/diagnostic-collector-wASg6Fzs.cjs +1 -0
- package/dist/dom-CXWMmwh-.cjs +1 -0
- package/dist/{dom-C90cTM6Y.js → dom-DxdCMLzs.js} +185 -185
- package/dist/{encoding-DSc9zv2F.js → encoding-Amq3XrtU.js} +2 -2
- package/dist/{encoding-CkziAnZI.cjs → encoding-DRVXs5xm.cjs} +1 -1
- package/dist/{font-loader-i7lZbqH_.js → font-loader-D4NLIKJL.js} +1 -1
- package/dist/{font-loader-D-znWNWS.cjs → font-loader-p_SyTvqt.cjs} +1 -1
- package/dist/{grid-strokes-BPiV1WHe.js → grid-strokes-DkZEZvcI.js} +1 -1
- package/dist/{grid-strokes-DYf-6DMl.cjs → grid-strokes-RFMR91jn.cjs} +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +137 -137
- package/dist/{json-snapshot-BJWZNryO.js → json-snapshot-CBVWZvyC.js} +662 -615
- package/dist/json-snapshot-DCFEtfFw.cjs +2 -0
- package/dist/matrix-DUYPRL7t.cjs +1 -0
- package/dist/{matrix-C6e_r_vp.js → matrix-b6T291xo.js} +120 -104
- package/dist/{pdf-DWuq6uxx.cjs → pdf-C060D5UY.cjs} +2 -2
- package/dist/{pdf-0_5XiTCx.js → pdf-DU8HelKd.js} +17 -17
- package/dist/pdf.cjs +1 -1
- package/dist/pdf.js +2 -2
- package/dist/{plugin-B1ydqEmS.js → plugin-BdCplNe1.js} +1 -1
- package/dist/{plugin-BQBz2vLG.cjs → plugin-DHe8y5pD.cjs} +1 -1
- package/dist/{prefill-Cuzh1wxf.js → prefill-Buy4NJ15.js} +2 -2
- package/dist/{prefill-2p9wrpn9.cjs → prefill-Cw4ZYGXZ.cjs} +1 -1
- package/dist/{prepared-DAwe8Il2.cjs → prepared-BlNeOjoO.cjs} +1 -1
- package/dist/{prepared-CVbgO9KR.js → prepared-CBJ7BkK0.js} +2 -2
- package/dist/protocol-BU_4sXP0.cjs +1 -0
- package/dist/protocol-CB19KXGr.js +96 -0
- package/dist/record-bindings-B7djSjNs.cjs +1 -0
- package/dist/{record-bindings-fhav-NLG.js → record-bindings-Cv7lFiof.js} +47 -47
- package/dist/{region-binding-workflow-Cm4mqhih.js → region-binding-workflow-EYxvUYJ-.js} +2 -2
- package/dist/{region-binding-workflow-DWCUgjZl.cjs → region-binding-workflow-NdkMSFCh.cjs} +1 -1
- package/dist/report-encoding-worker.cjs +1 -1
- package/dist/report-encoding-worker.js +1 -1
- package/dist/{rich-text-layout-YJHtCWQI.js → rich-text-layout-Ch_N0Ubu.js} +1 -1
- package/dist/{rich-text-layout-X9YOz1JD.cjs → rich-text-layout-yJGuThtC.cjs} +1 -1
- package/dist/runtime-B5d_lQNQ.js +227 -0
- package/dist/runtime-BRx8Agqr.cjs +1 -0
- package/dist/sbom.cdx.json +1 -1
- package/dist/server-node.cjs +5 -5
- package/dist/server-node.js +1891 -1793
- package/dist/server.cjs +1 -1
- package/dist/server.d.cts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +8 -8
- package/dist/style.css +1 -1
- package/dist/{template-catalog-Bu7s7ReF.js → template-catalog-CM6U_RlD.js} +3 -3
- package/dist/{template-catalog--yBX169M.cjs → template-catalog-Cj66M84u.cjs} +1 -1
- package/dist/{template-fragments-Di2vDFnx.js → template-fragments-BDxdCuMD.js} +2 -2
- package/dist/{template-fragments-5EzVn7bm.cjs → template-fragments-DbKdxI1z.cjs} +1 -1
- package/dist/template-registry-B-AK1oam.cjs +1 -0
- package/dist/{template-registry-BCBF2b8j.js → template-registry-DeVgwEZj.js} +145 -144
- package/dist/{textwrap-CmVkhMhx.js → textwrap-BywMBMXM.js} +1 -1
- package/dist/{textwrap-BPFxhpOw.cjs → textwrap-LhJkHWb1.cjs} +1 -1
- package/dist/vue/async.d.cts +4 -4
- package/dist/vue/async.d.ts +4 -4
- package/dist/vue/index.d.cts +6 -6
- package/dist/vue/index.d.ts +6 -6
- package/dist/vue-async.cjs +1 -1
- package/dist/vue-async.js +3 -3
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +7 -7
- package/dist/{workbook-session-B6P_-5a4.js → workbook-session-B6hRjTyX.js} +106 -107
- package/dist/{workbook-session-BnPK3T58.cjs → workbook-session-BclW7KKH.cjs} +3 -3
- package/dist/worker.cjs +1 -1
- package/dist/worker.js +4 -4
- package/dist/xlsx/node.d.cts +30 -1
- package/dist/xlsx/node.d.ts +30 -1
- package/dist/xlsx-node.cjs +42 -42
- package/dist/xlsx-node.js +3908 -3889
- package/dist/xlsx.cjs +2 -2
- package/dist/xlsx.d.cts +2 -2
- package/dist/xlsx.d.ts +2 -2
- package/dist/xlsx.js +151 -151
- package/package.json +1 -1
- package/dist/ReportPreview-CyUXJSVX.cjs +0 -6
- package/dist/designer-DWnZZ_ej.cjs +0 -2
- package/dist/diagnostic-collector-1sqd7DQP.js +0 -355
- package/dist/diagnostic-collector-D3rlvxm3.cjs +0 -1
- package/dist/dom-CxOkm_Sy.cjs +0 -1
- package/dist/json-snapshot-C7QZrRBf.cjs +0 -2
- package/dist/matrix-B8QWbsGM.cjs +0 -1
- package/dist/progress-BXzlVbIp.js +0 -29
- package/dist/progress-DJBd9Rb9.cjs +0 -1
- package/dist/protocol-BOri9qJL.js +0 -105
- package/dist/protocol-DD5dHSz-.cjs +0 -1
- package/dist/record-bindings-CAyM5tGg.cjs +0 -1
- package/dist/runtime-BpSAgOw1.js +0 -201
- package/dist/runtime-Cd2UTnwe.cjs +0 -1
- package/dist/template-registry-Bnh5aEYf.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as d } from "./diagnostic-collector-
|
|
1
|
+
import { D as d } from "./diagnostic-collector-gB07PHy2.js";
|
|
2
2
|
const M = /[\u3000-\u9fff\uff00-\uffef]/, w = /[ \n\u3000-\u9fff\uff00-\uffef]/, s = new Uint8Array(128);
|
|
3
3
|
{
|
|
4
4
|
for (const t of "iljtf.,:;'`|!()[]") s[t.charCodeAt(0)] = 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const w=require("./diagnostic-collector-
|
|
1
|
+
"use strict";const w=require("./diagnostic-collector-wASg6Fzs.cjs"),M=/[\u3000-\u9fff\uff00-\uffef]/,g=/[ \n\u3000-\u9fff\uff00-\uffef]/,s=new Uint8Array(128);{for(const t of"iljtf.,:;'`|!()[]")s[t.charCodeAt(0)]=1;for(const t of"mwMW@")s[t.charCodeAt(0)]=2;for(let t=48;t<=57;t++)s[t]=3;for(let t=65;t<=90;t++)s[t]=4;s[32]=5}const p=[.54,.26,.95,.59,.67,.3];function d(t){const e=t.charCodeAt(0);return e<128?p[s[e]]:M.test(t)?1:/[A-Z]/.test(t)?.67:.54}const o={measureMm(t,e){const{fontSizePt:i,bold:c=!1,letterSpacingPt:f=0}=e,r=25.4/72;let n=0,h=0;for(const a of t)n+=d(a),h++;return c&&(n*=1.04),(n*i+f*Math.max(0,h-1))*r}};function A(){return o}function T(t,e){return o.measureMm(t,e)}function x(t){let e;return{measureMm(i,c){if(e===void 0&&(e=t()),!e)return o.measureMm(i,c);const f=c.fontSizePt*96/72;e.font=`${c.italic?"italic ":""}${c.bold?"bold ":""}${f}px ${c.fontFamily??w.DEFAULT_FONT_FAMILY}`,"letterSpacing"in e&&(e.letterSpacing="0px");const r=(c.letterSpacingPt??0)*Math.max(0,Array.from(i).length-1);return e.measureText(i).width*25.4/96+r*25.4/72}}}function S(t,e,i){if(!g.test(t))return[{text:t,widthMm:i.measureMm(t,e),cjk:!1}];const c=[];let f="";const r=()=>{f&&(c.push({text:f,widthMm:i.measureMm(f,e),cjk:!1}),f="")};for(const n of t){if(n===`
|
|
2
2
|
`){r(),c.push({text:`
|
|
3
3
|
`,widthMm:0,cjk:!1,br:!0});continue}if(n===" "){r(),c.push({text:n,widthMm:i.measureMm(n,e),cjk:!1,space:!0});continue}if(M.test(n)){r(),c.push({text:n,widthMm:i.measureMm(n,e),cjk:!0});continue}f+=n}return r(),c}function C(t,e,i,c=o){if(!t)return[""];t=t.replace(/\r\n?/g,`
|
|
4
4
|
`);const f=[];let r="",n=0;const h=(i.letterSpacingPt??0)*25.4/72,a=()=>{f.push(r),r="",n=0};for(const u of S(t,i,c)){if(u.br){a();continue}const m=r.length>0?h:0;if(n+m+u.widthMm<=e){r+=u.text,n+=m+u.widthMm;continue}if(u.space){a();continue}if(u.cjk){r.length>0&&a(),r=u.text,n=u.widthMm;continue}if(r.length>0&&a(),u.widthMm<=e){r=u.text,n=u.widthMm;continue}for(const l of u.text)c.measureMm(r+l,i)>e&&r.length>0&&a(),r+=l,n=c.measureMm(r,i)}return a(),f}exports.charWidthEm=d;exports.createCanvasMeasurer=x;exports.createHeuristicMeasurer=A;exports.heuristicMeasurer=o;exports.measureTextMm=T;exports.wrapText=C;
|
package/dist/vue/async.d.cts
CHANGED
|
@@ -644,9 +644,9 @@ declare interface ImageMediaOptions_2 {
|
|
|
644
644
|
/** Maximum source dimension, default 16384 pixels. */
|
|
645
645
|
maxImageDimension?: number;
|
|
646
646
|
}
|
|
647
|
-
/** auto
|
|
647
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
648
648
|
declare type ListAlignment = NonNullable<ComponentStyle["align"]> | "auto";
|
|
649
|
-
/** auto
|
|
649
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
650
650
|
declare type ListAlignment_2 = NonNullable<ComponentStyle_3["align"]> | "auto";
|
|
651
651
|
declare interface ListColumn {
|
|
652
652
|
header: string;
|
|
@@ -730,7 +730,7 @@ declare interface ListComponent {
|
|
|
730
730
|
paddingMm?: number;
|
|
731
731
|
headerEveryPage?: boolean;
|
|
732
732
|
headerBackgroundColor?: string;
|
|
733
|
-
/**
|
|
733
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
734
734
|
align?: ListAlignment;
|
|
735
735
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
736
736
|
headerAlign?: ComponentStyle["align"];
|
|
@@ -782,7 +782,7 @@ declare interface ListComponent_2 {
|
|
|
782
782
|
paddingMm?: number;
|
|
783
783
|
headerEveryPage?: boolean;
|
|
784
784
|
headerBackgroundColor?: string;
|
|
785
|
-
/**
|
|
785
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
786
786
|
align?: ListAlignment_2;
|
|
787
787
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
788
788
|
headerAlign?: ComponentStyle_3["align"];
|
package/dist/vue/async.d.ts
CHANGED
|
@@ -644,9 +644,9 @@ declare interface ImageMediaOptions_2 {
|
|
|
644
644
|
/** Maximum source dimension, default 16384 pixels. */
|
|
645
645
|
maxImageDimension?: number;
|
|
646
646
|
}
|
|
647
|
-
/** auto
|
|
647
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
648
648
|
declare type ListAlignment = NonNullable<ComponentStyle["align"]> | "auto";
|
|
649
|
-
/** auto
|
|
649
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
650
650
|
declare type ListAlignment_2 = NonNullable<ComponentStyle_3["align"]> | "auto";
|
|
651
651
|
declare interface ListColumn {
|
|
652
652
|
header: string;
|
|
@@ -730,7 +730,7 @@ declare interface ListComponent {
|
|
|
730
730
|
paddingMm?: number;
|
|
731
731
|
headerEveryPage?: boolean;
|
|
732
732
|
headerBackgroundColor?: string;
|
|
733
|
-
/**
|
|
733
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
734
734
|
align?: ListAlignment;
|
|
735
735
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
736
736
|
headerAlign?: ComponentStyle["align"];
|
|
@@ -782,7 +782,7 @@ declare interface ListComponent_2 {
|
|
|
782
782
|
paddingMm?: number;
|
|
783
783
|
headerEveryPage?: boolean;
|
|
784
784
|
headerBackgroundColor?: string;
|
|
785
|
-
/**
|
|
785
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
786
786
|
align?: ListAlignment_2;
|
|
787
787
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
788
788
|
headerAlign?: ComponentStyle_3["align"];
|
package/dist/vue/index.d.cts
CHANGED
|
@@ -1268,11 +1268,11 @@ declare interface ImageMediaOptions_2 {
|
|
|
1268
1268
|
maxImageDimension?: number;
|
|
1269
1269
|
}
|
|
1270
1270
|
export declare function joinReportIds(reportId: ReportIdInput): string;
|
|
1271
|
-
/** auto
|
|
1271
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1272
1272
|
declare type ListAlignment = NonNullable<ComponentStyle_2["align"]> | "auto";
|
|
1273
|
-
/** auto
|
|
1273
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1274
1274
|
declare type ListAlignment_2 = NonNullable<ComponentStyle["align"]> | "auto";
|
|
1275
|
-
/** auto
|
|
1275
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1276
1276
|
declare type ListAlignment_3 = NonNullable<ComponentStyle_3["align"]> | "auto";
|
|
1277
1277
|
declare interface ListColumn {
|
|
1278
1278
|
header: string;
|
|
@@ -1383,7 +1383,7 @@ declare interface ListComponent {
|
|
|
1383
1383
|
paddingMm?: number;
|
|
1384
1384
|
headerEveryPage?: boolean;
|
|
1385
1385
|
headerBackgroundColor?: string;
|
|
1386
|
-
/**
|
|
1386
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1387
1387
|
align?: ListAlignment;
|
|
1388
1388
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1389
1389
|
headerAlign?: ComponentStyle_2["align"];
|
|
@@ -1435,7 +1435,7 @@ declare interface ListComponent_2 {
|
|
|
1435
1435
|
paddingMm?: number;
|
|
1436
1436
|
headerEveryPage?: boolean;
|
|
1437
1437
|
headerBackgroundColor?: string;
|
|
1438
|
-
/**
|
|
1438
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1439
1439
|
align?: ListAlignment_2;
|
|
1440
1440
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1441
1441
|
headerAlign?: ComponentStyle["align"];
|
|
@@ -1487,7 +1487,7 @@ declare interface ListComponent_3 {
|
|
|
1487
1487
|
paddingMm?: number;
|
|
1488
1488
|
headerEveryPage?: boolean;
|
|
1489
1489
|
headerBackgroundColor?: string;
|
|
1490
|
-
/**
|
|
1490
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1491
1491
|
align?: ListAlignment_3;
|
|
1492
1492
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1493
1493
|
headerAlign?: ComponentStyle_3["align"];
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -1268,11 +1268,11 @@ declare interface ImageMediaOptions_2 {
|
|
|
1268
1268
|
maxImageDimension?: number;
|
|
1269
1269
|
}
|
|
1270
1270
|
export declare function joinReportIds(reportId: ReportIdInput): string;
|
|
1271
|
-
/** auto
|
|
1271
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1272
1272
|
declare type ListAlignment = NonNullable<ComponentStyle_2["align"]> | "auto";
|
|
1273
|
-
/** auto
|
|
1273
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1274
1274
|
declare type ListAlignment_2 = NonNullable<ComponentStyle["align"]> | "auto";
|
|
1275
|
-
/** auto
|
|
1275
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
1276
1276
|
declare type ListAlignment_3 = NonNullable<ComponentStyle_3["align"]> | "auto";
|
|
1277
1277
|
declare interface ListColumn {
|
|
1278
1278
|
header: string;
|
|
@@ -1383,7 +1383,7 @@ declare interface ListComponent {
|
|
|
1383
1383
|
paddingMm?: number;
|
|
1384
1384
|
headerEveryPage?: boolean;
|
|
1385
1385
|
headerBackgroundColor?: string;
|
|
1386
|
-
/**
|
|
1386
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1387
1387
|
align?: ListAlignment;
|
|
1388
1388
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1389
1389
|
headerAlign?: ComponentStyle_2["align"];
|
|
@@ -1435,7 +1435,7 @@ declare interface ListComponent_2 {
|
|
|
1435
1435
|
paddingMm?: number;
|
|
1436
1436
|
headerEveryPage?: boolean;
|
|
1437
1437
|
headerBackgroundColor?: string;
|
|
1438
|
-
/**
|
|
1438
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1439
1439
|
align?: ListAlignment_2;
|
|
1440
1440
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1441
1441
|
headerAlign?: ComponentStyle["align"];
|
|
@@ -1487,7 +1487,7 @@ declare interface ListComponent_3 {
|
|
|
1487
1487
|
paddingMm?: number;
|
|
1488
1488
|
headerEveryPage?: boolean;
|
|
1489
1489
|
headerBackgroundColor?: string;
|
|
1490
|
-
/**
|
|
1490
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
1491
1491
|
align?: ListAlignment_3;
|
|
1492
1492
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
1493
1493
|
headerAlign?: ComponentStyle_3["align"];
|
package/dist/vue-async.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./plugin-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./plugin-DHe8y5pD.cjs");function i(){return Promise.resolve().then(()=>require("./ReportPreview-DqFBcsJQ.cjs")).then(e=>e.ReportPreview$1)}const t={install(e,o={}){r.machReportPlugin.install(e,o)}};exports.MachReportPreview=r.MachReportPreview;exports.default=t;exports.machReportAsyncPlugin=t;exports.preloadMachReport=i;
|
package/dist/vue-async.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as o } from "./plugin-
|
|
2
|
-
import { M as l } from "./plugin-
|
|
1
|
+
import { m as o } from "./plugin-BdCplNe1.js";
|
|
2
|
+
import { M as l } from "./plugin-BdCplNe1.js";
|
|
3
3
|
function a() {
|
|
4
|
-
return import("./ReportPreview-
|
|
4
|
+
return import("./ReportPreview-CnxaDTCO.js").then((t) => t.x);
|
|
5
5
|
}
|
|
6
6
|
const n = {
|
|
7
7
|
install(t, r = {}) {
|
package/dist/vue.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("@agile-team/mach-report"),i=require("./ReportPreview-CyUXJSVX.cjs"),a=require("./ReportParamPanel-8xR85nz-.cjs"),E=require("./injection-keys-Db_DyLkm.cjs"),M=require("./plugin-BQBz2vLG.cjs"),m=require("vue"),D=require("./json-snapshot-C7QZrRBf.cjs"),L=require("./diagnostic-collector-D3rlvxm3.cjs");function F(e){const r=g.createReportSource(e),n=async t=>{if(t.reportIds.length===0)throw new i.PlanLoadError("缺少报表 ID");for(const o of t.reportIds)if(!Object.prototype.hasOwnProperty.call(e,o)||!e[o])throw new i.PlanLoadError(`本地模板 ${o} 不存在`);return r(t)};return n.getParamDefs=r.getParamDefs,n}const x=Object.freeze({loading:!1,hasPlan:!1,pageCount:0,currentPage:1,exporting:null,printing:!1,canExport:!1,canPrint:!1,error:null,pdfFont:Object.freeze({status:"unchecked",fontUrl:""})});function b(){const e=m.shallowRef(null),r=()=>e.value?.state??x,n=Object.freeze({get loading(){return r().loading},get stale(){return r().stale??!1},get hasPlan(){return r().hasPlan},get pageCount(){return r().pageCount},get currentPage(){return r().currentPage},get exporting(){return r().exporting},get printing(){return r().printing},get canExport(){return r().canExport},get canPrint(){return r().canPrint},get error(){return r().error},get pdfFont(){return r().pdfFont},get editing(){return r().editing??!1},get saving(){return r().saving??!1},get importing(){return r().importing??!1},get dirty(){return r().dirty??!1},get pendingLocalChanges(){return r().pendingLocalChanges??!1},get task(){return r().task??null},get diagnostics(){return r().diagnostics??[]},get reportIds(){return r().reportIds??[]},get params(){return r().params??{}},get canUndo(){return r().canUndo??!1},get canRedo(){return r().canRedo??!1},get changeCount(){return r().changeCount??0},get selection(){return r().selection??null}});function t(){if(!e.value)throw new a.MachReportError("config","报表预览尚未挂载,请在 ready 后调用控制器");return e.value}return{ref(o){const s=o;e.value=s&&typeof s.reload=="function"&&typeof s.print=="function"&&typeof s.exportAs=="function"&&typeof s.openPdfWindow=="function"&&typeof s.gotoPage=="function"&&typeof s.setParams=="function"?s:null},ready:m.computed(()=>e.value!==null),state:n,async checkPdfFont(){const o=t();return o.checkPdfFont?o.checkPdfFont():{status:"unverified",fontUrl:"",message:"旧自定义控制器未提供字体检查,请由宿主确认字体配置"}},cancelTask(){t().cancelTask?.()},async confirmDiscard(o){return await t().confirmDiscard?.(o)??!0},getOutputDiagnostics(o){return t().getOutputDiagnostics?.(o)??[]},async reload(){await t().reload()},async print(){await t().print()},async exportAs(o){await t().exportAs(o)},openPdfWindow(){t().openPdfWindow()},gotoPage(o){t().gotoPage(o)},async setParams(o,s){await t().setParams(o,s)},async importExcel(o,s){const f=t();if(!f.importExcel)throw new a.MachReportError("config","旧自定义控制器未提供 Excel 导入");return f.importExcel(o,s)},getPlan(){return t().getPlan?.()??null},getChanges(){return t().getChanges?.()??[]},getDifferences:()=>t().getDifferences?.()??[],undo:async()=>await t().undo?.()??!1,redo:async()=>await t().redo?.()??!1,restoreChanges:async()=>await t().restoreChanges?.()??!1,getSelection:()=>t().getSelection?.()??null,focusCell:async(o,s)=>await t().focusCell?.(o,s)??!1,focusField:async o=>await t().focusField?.(o)??!1,copySelection:()=>t().copySelection?.()??"",pasteSelection:async o=>await t().pasteSelection?.(o)??!1}}function q(){return m.inject(E.MACH_REPORT_CONTROLLER_KEY,null)}function T(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function N(e){return Array.isArray(e)&&e.every(r=>T(r)&&typeof r.code=="string"&&typeof r.message=="string"&&["info","warning","error"].includes(r.severity)&&(r.path===void 0||typeof r.path=="string")&&D.hasValidDataExplanation(r))}function A(e){return typeof e=="number"&&Number.isFinite(e)&&(!Number.isInteger(e)||Number.isSafeInteger(e))}function k(e){return e==null||typeof e=="string"||typeof e=="boolean"||A(e)}function U(e){return e===void 0||typeof e=="string"&&!!e.trim()||A(e)}function G(e,r){return Array.isArray(e)&&e.every(n=>T(n)&&Number.isSafeInteger(n.editIndex)&&n.editIndex>=0&&n.editIndex<r&&typeof n.code=="string"&&typeof n.message=="string"&&k(n.currentValue)&&U(n.revision))}function j(e,r){let n;if(!T(e)||typeof e.revision!="string"||!e.revision.trim()?n="非空 revision(请先在适配器解包业务响应)":e.sourceToken!==void 0&&typeof e.sourceToken!="string"?n="字符串 sourceToken":e.diagnostics!==void 0&&!N(e.diagnostics)?n="结构化 diagnostics":e.conflicts!==void 0&&!G(e.conflicts,r)&&(n="有效 editIndex/code/message/currentValue/revision conflicts"),n)throw new a.MachReportError("edit",`ReportProvider.save 必须返回${n};服务器可能已提交,请重新查询确认后再编辑`)}function y(e){return typeof e=="function"?e():e}function w(e,r){const n=new Set(e.flatMap(t=>t.source?.[r]===void 0?[]:[String(t.source[r])]));return n.size===1?[...n][0]:void 0}function O(e,r,n,t,o,s=!1){return typeof e=="function"?e():s?t??o?.[n]??w(r,n)??e:w(r,n)??t??e??o?.[n]}function H(e,r,n){const t=r.query,o=e.reportId===void 0;if(o&&(!t||t.reportIds.length!==1))throw new a.MachReportError("config","自动业务保存需要当前成功查询的单个报表上下文");const s=e.reportId===void 0?t.reportIds[0]:y(e.reportId);if(!s.trim())throw new a.MachReportError("config","业务保存缺少报表 ID");if(o&&new Set(n.map(u=>u.source?.sourceScope)).size>1)throw new g.ReportCellEditError("atomic");const f={...y(e.params??t?.params??{})},p=t?.sources.filter(u=>u.reportId===s)??[],c=p.length===1?p[0]:void 0;return{reportId:s,params:f,source:c,automatic:o,identity:JSON.stringify([s,f,t?.queryId??t?.sources])}}function V(e){return e.requestId??globalThis.crypto?.randomUUID?.()??`mr-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}function W(e,r={}){if(!e.save)throw new a.MachReportError("config","ReportProvider.save 未配置,无法启用业务保存");let n="",t,o,s=0;function f(c,u,R){c.conflicts?.length||u!==n||R!==s||(t=c.revision,o=c.sourceToken)}async function p(c,u){if(u.signal.aborted)throw u.signal.reason??new DOMException("Aborted","AbortError");const{reportId:R,params:C,identity:P,source:S,automatic:_}=H(r,u,c.edits),v=++s;if(P!==n&&(n=P,t=void 0,o=void 0),r.requireSource!==!1&&c.edits.some(l=>!l.source))throw new g.ReportCellEditError("missing");const d=await e.save({reportId:R,params:C,signal:u.signal,requestId:c.requestId,action:u.action,edits:i.cloneReportSnapshot(c.edits),expectedRevision:O(r.expectedRevision,c.edits,"revision",t,S,_),sourceToken:O(r.sourceToken,c.edits,"sourceToken",o,S,_)});if(u.signal.aborted)throw u.signal.reason??new DOMException("Aborted","AbortError");j(d,c.edits.length),d.diagnostics?.forEach(l=>L.observeOutput(()=>r.onDiagnostic?.(l)));const h=d.diagnostics?.filter(l=>l.severity==="error");if(h?.length)throw new a.MachReportError("edit",h.map(l=>l.message).join(";"),{diagnostics:h});const I=d.conflicts?.map(l=>({source:c.edits[l.editIndex]?.source,address:c.edits[l.editIndex]?.address,message:l.message,...l.currentValue===void 0?{}:{currentValue:l.currentValue},revision:l.revision??d.revision}));return f(d,P,v),{revision:d.revision,sourceToken:d.sourceToken,conflicts:I}}return{requireSource:r.requireSource??!0,canEdit:r.canEdit,readOnlyReason:r.readOnlyReason,history:r.history,fields:r.fields,validate:r.validate,validation:r.validation,validateBatch:r.validateBatch,saveBatch:p,save:(c,u)=>p({requestId:V(u),edits:[i.cloneReportSnapshot(c)]},u)}}exports.PlanLoadError=i.PlanLoadError;exports.REPORT_EXPORT_FORMATS=i.REPORT_EXPORT_FORMATS;exports.REPORT_PREVIEW_TOOLS=i.REPORT_PREVIEW_TOOLS;exports.ReportDataComparisonPanel=i._sfc_main;exports.ReportExportMenu=i.ReportExportMenu;exports.ReportPagination=i.ReportPagination;exports.ReportPrefillPanel=i._sfc_main$1;exports.ReportPreview=i.ReportPreview;exports.ReportPrintResourceError=i.ReportPrintResourceError;exports.ReportTaskStatus=i.ReportTaskStatus;exports.ReportToolbar=i.ReportToolbar;exports.ReportValidationPanel=i.ReportValidationPanel;exports.buildPrintDocument=i.buildPrintDocument;exports.buildWordHtml=i.buildWordHtml;exports.createDefaultPdfExporter=i.createDefaultPdfExporter;exports.createFetchRequest=i.createFetchRequest;exports.createPrintCalibrationPlan=i.createPrintCalibrationPlan;exports.createReportStoragePreferences=i.createReportStoragePreferences;exports.joinReportIds=i.joinReportIds;exports.normalizeReportIds=i.normalizeReportIds;exports.preparePrintResources=i.preparePrintResources;exports.printPlans=i.printPlans;exports.usePageWindow=i.usePageWindow;exports.usePrintExport=i.usePrintExport;exports.useZoom=i.useZoom;exports.DEFAULT_CALCULATION_MESSAGES=a.DEFAULT_CALCULATION_MESSAGES;exports.DEFAULT_DATA_REVIEW_MESSAGES=a.DEFAULT_DATA_REVIEW_MESSAGES;exports.DEFAULT_MESSAGES=a.DEFAULT_MESSAGES;exports.DEFAULT_PRINT_MESSAGES=a.DEFAULT_PRINT_MESSAGES;exports.DEFAULT_THEME=a.DEFAULT_THEME;exports.MachReportError=a.MachReportError;exports.PARAM_OPTIONS_MESSAGES=a.PARAM_OPTIONS_MESSAGES;exports.ReportParamPanel=a.ReportParamPanel;exports.SILENT_LOGGER=a.SILENT_LOGGER;exports.defineMachReportConfig=a.defineMachReportConfig;exports.defineMachReportPreset=a.defineMachReportPreset;exports.normalizeReportLoadError=a.normalizeReportLoadError;exports.printCalibration=a.printCalibration;exports.provideMachReportConfig=a.provideMachReportConfig;exports.resolveCalculationMessages=a.resolveCalculationMessages;exports.resolveConfig=a.resolveConfig;exports.resolveDataReviewMessages=a.resolveDataReviewMessages;exports.snapshotPrintOptions=a.snapshotPrintOptions;exports.themeToCssVars=a.themeToCssVars;exports.toErrorDetail=a.toErrorDetail;exports.useMachReportConfig=a.useMachReportConfig;exports.MACH_REPORT_CONFIG_KEY=E.MACH_REPORT_CONFIG_KEY;exports.MACH_REPORT_CONTROLLER_KEY=E.MACH_REPORT_CONTROLLER_KEY;exports.MACH_REPORT_FETCHER_KEY=E.MACH_REPORT_FETCHER_KEY;exports.MACH_REPORT_PDF_EXPORTER_KEY=E.MACH_REPORT_PDF_EXPORTER_KEY;exports.MachReportPreview=M.MachReportPreview;exports.machReportPlugin=M.machReportPlugin;exports.createLocalFetcher=F;exports.createProviderEditing=W;exports.useMachReport=b;exports.useReportPreview=q;Object.keys(g).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>g[e]})});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("@agile-team/mach-report"),i=require("./ReportPreview-DqFBcsJQ.cjs"),a=require("./ReportParamPanel-B27IGJjk.cjs"),E=require("./injection-keys-Db_DyLkm.cjs"),M=require("./plugin-DHe8y5pD.cjs"),m=require("vue"),D=require("./json-snapshot-DCFEtfFw.cjs"),L=require("./diagnostic-collector-wASg6Fzs.cjs");function F(e){const r=g.createReportSource(e),n=async t=>{if(t.reportIds.length===0)throw new i.PlanLoadError("缺少报表 ID");for(const o of t.reportIds)if(!Object.prototype.hasOwnProperty.call(e,o)||!e[o])throw new i.PlanLoadError(`本地模板 ${o} 不存在`);return r(t)};return n.getParamDefs=r.getParamDefs,n}const x=Object.freeze({loading:!1,hasPlan:!1,pageCount:0,currentPage:1,exporting:null,printing:!1,canExport:!1,canPrint:!1,error:null,pdfFont:Object.freeze({status:"unchecked",fontUrl:""})});function b(){const e=m.shallowRef(null),r=()=>e.value?.state??x,n=Object.freeze({get loading(){return r().loading},get stale(){return r().stale??!1},get hasPlan(){return r().hasPlan},get pageCount(){return r().pageCount},get currentPage(){return r().currentPage},get exporting(){return r().exporting},get printing(){return r().printing},get canExport(){return r().canExport},get canPrint(){return r().canPrint},get error(){return r().error},get pdfFont(){return r().pdfFont},get editing(){return r().editing??!1},get saving(){return r().saving??!1},get importing(){return r().importing??!1},get dirty(){return r().dirty??!1},get pendingLocalChanges(){return r().pendingLocalChanges??!1},get task(){return r().task??null},get diagnostics(){return r().diagnostics??[]},get reportIds(){return r().reportIds??[]},get params(){return r().params??{}},get canUndo(){return r().canUndo??!1},get canRedo(){return r().canRedo??!1},get changeCount(){return r().changeCount??0},get selection(){return r().selection??null}});function t(){if(!e.value)throw new a.MachReportError("config","报表预览尚未挂载,请在 ready 后调用控制器");return e.value}return{ref(o){const s=o;e.value=s&&typeof s.reload=="function"&&typeof s.print=="function"&&typeof s.exportAs=="function"&&typeof s.openPdfWindow=="function"&&typeof s.gotoPage=="function"&&typeof s.setParams=="function"?s:null},ready:m.computed(()=>e.value!==null),state:n,async checkPdfFont(){const o=t();return o.checkPdfFont?o.checkPdfFont():{status:"unverified",fontUrl:"",message:"旧自定义控制器未提供字体检查,请由宿主确认字体配置"}},cancelTask(){t().cancelTask?.()},async confirmDiscard(o){return await t().confirmDiscard?.(o)??!0},getOutputDiagnostics(o){return t().getOutputDiagnostics?.(o)??[]},async reload(){await t().reload()},async print(){await t().print()},async exportAs(o){await t().exportAs(o)},openPdfWindow(){t().openPdfWindow()},gotoPage(o){t().gotoPage(o)},async setParams(o,s){await t().setParams(o,s)},async importExcel(o,s){const f=t();if(!f.importExcel)throw new a.MachReportError("config","旧自定义控制器未提供 Excel 导入");return f.importExcel(o,s)},getPlan(){return t().getPlan?.()??null},getChanges(){return t().getChanges?.()??[]},getDifferences:()=>t().getDifferences?.()??[],undo:async()=>await t().undo?.()??!1,redo:async()=>await t().redo?.()??!1,restoreChanges:async()=>await t().restoreChanges?.()??!1,getSelection:()=>t().getSelection?.()??null,focusCell:async(o,s)=>await t().focusCell?.(o,s)??!1,focusField:async o=>await t().focusField?.(o)??!1,copySelection:()=>t().copySelection?.()??"",pasteSelection:async o=>await t().pasteSelection?.(o)??!1}}function q(){return m.inject(E.MACH_REPORT_CONTROLLER_KEY,null)}function T(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function N(e){return Array.isArray(e)&&e.every(r=>T(r)&&typeof r.code=="string"&&typeof r.message=="string"&&["info","warning","error"].includes(r.severity)&&(r.path===void 0||typeof r.path=="string")&&D.hasValidDataExplanation(r))}function A(e){return typeof e=="number"&&Number.isFinite(e)&&(!Number.isInteger(e)||Number.isSafeInteger(e))}function k(e){return e==null||typeof e=="string"||typeof e=="boolean"||A(e)}function U(e){return e===void 0||typeof e=="string"&&!!e.trim()||A(e)}function G(e,r){return Array.isArray(e)&&e.every(n=>T(n)&&Number.isSafeInteger(n.editIndex)&&n.editIndex>=0&&n.editIndex<r&&typeof n.code=="string"&&typeof n.message=="string"&&k(n.currentValue)&&U(n.revision))}function j(e,r){let n;if(!T(e)||typeof e.revision!="string"||!e.revision.trim()?n="非空 revision(请先在适配器解包业务响应)":e.sourceToken!==void 0&&typeof e.sourceToken!="string"?n="字符串 sourceToken":e.diagnostics!==void 0&&!N(e.diagnostics)?n="结构化 diagnostics":e.conflicts!==void 0&&!G(e.conflicts,r)&&(n="有效 editIndex/code/message/currentValue/revision conflicts"),n)throw new a.MachReportError("edit",`ReportProvider.save 必须返回${n};服务器可能已提交,请重新查询确认后再编辑`)}function y(e){return typeof e=="function"?e():e}function w(e,r){const n=new Set(e.flatMap(t=>t.source?.[r]===void 0?[]:[String(t.source[r])]));return n.size===1?[...n][0]:void 0}function O(e,r,n,t,o,s=!1){return typeof e=="function"?e():s?t??o?.[n]??w(r,n)??e:w(r,n)??t??e??o?.[n]}function H(e,r,n){const t=r.query,o=e.reportId===void 0;if(o&&(!t||t.reportIds.length!==1))throw new a.MachReportError("config","自动业务保存需要当前成功查询的单个报表上下文");const s=e.reportId===void 0?t.reportIds[0]:y(e.reportId);if(!s.trim())throw new a.MachReportError("config","业务保存缺少报表 ID");if(o&&new Set(n.map(u=>u.source?.sourceScope)).size>1)throw new g.ReportCellEditError("atomic");const f={...y(e.params??t?.params??{})},p=t?.sources.filter(u=>u.reportId===s)??[],c=p.length===1?p[0]:void 0;return{reportId:s,params:f,source:c,automatic:o,identity:JSON.stringify([s,f,t?.queryId??t?.sources])}}function V(e){return e.requestId??globalThis.crypto?.randomUUID?.()??`mr-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}function W(e,r={}){if(!e.save)throw new a.MachReportError("config","ReportProvider.save 未配置,无法启用业务保存");let n="",t,o,s=0;function f(c,u,R){c.conflicts?.length||u!==n||R!==s||(t=c.revision,o=c.sourceToken)}async function p(c,u){if(u.signal.aborted)throw u.signal.reason??new DOMException("Aborted","AbortError");const{reportId:R,params:C,identity:P,source:S,automatic:_}=H(r,u,c.edits),v=++s;if(P!==n&&(n=P,t=void 0,o=void 0),r.requireSource!==!1&&c.edits.some(l=>!l.source))throw new g.ReportCellEditError("missing");const d=await e.save({reportId:R,params:C,signal:u.signal,requestId:c.requestId,action:u.action,edits:i.cloneReportSnapshot(c.edits),expectedRevision:O(r.expectedRevision,c.edits,"revision",t,S,_),sourceToken:O(r.sourceToken,c.edits,"sourceToken",o,S,_)});if(u.signal.aborted)throw u.signal.reason??new DOMException("Aborted","AbortError");j(d,c.edits.length),d.diagnostics?.forEach(l=>L.observeOutput(()=>r.onDiagnostic?.(l)));const h=d.diagnostics?.filter(l=>l.severity==="error");if(h?.length)throw new a.MachReportError("edit",h.map(l=>l.message).join(";"),{diagnostics:h});const I=d.conflicts?.map(l=>({source:c.edits[l.editIndex]?.source,address:c.edits[l.editIndex]?.address,message:l.message,...l.currentValue===void 0?{}:{currentValue:l.currentValue},revision:l.revision??d.revision}));return f(d,P,v),{revision:d.revision,sourceToken:d.sourceToken,conflicts:I}}return{requireSource:r.requireSource??!0,canEdit:r.canEdit,readOnlyReason:r.readOnlyReason,history:r.history,fields:r.fields,validate:r.validate,validation:r.validation,validateBatch:r.validateBatch,saveBatch:p,save:(c,u)=>p({requestId:V(u),edits:[i.cloneReportSnapshot(c)]},u)}}exports.PlanLoadError=i.PlanLoadError;exports.REPORT_EXPORT_FORMATS=i.REPORT_EXPORT_FORMATS;exports.REPORT_PREVIEW_TOOLS=i.REPORT_PREVIEW_TOOLS;exports.ReportDataComparisonPanel=i._sfc_main;exports.ReportExportMenu=i.ReportExportMenu;exports.ReportPagination=i.ReportPagination;exports.ReportPrefillPanel=i._sfc_main$1;exports.ReportPreview=i.ReportPreview;exports.ReportPrintResourceError=i.ReportPrintResourceError;exports.ReportTaskStatus=i.ReportTaskStatus;exports.ReportToolbar=i.ReportToolbar;exports.ReportValidationPanel=i.ReportValidationPanel;exports.buildPrintDocument=i.buildPrintDocument;exports.buildWordHtml=i.buildWordHtml;exports.createDefaultPdfExporter=i.createDefaultPdfExporter;exports.createFetchRequest=i.createFetchRequest;exports.createPrintCalibrationPlan=i.createPrintCalibrationPlan;exports.createReportStoragePreferences=i.createReportStoragePreferences;exports.joinReportIds=i.joinReportIds;exports.normalizeReportIds=i.normalizeReportIds;exports.preparePrintResources=i.preparePrintResources;exports.printPlans=i.printPlans;exports.usePageWindow=i.usePageWindow;exports.usePrintExport=i.usePrintExport;exports.useZoom=i.useZoom;exports.DEFAULT_CALCULATION_MESSAGES=a.DEFAULT_CALCULATION_MESSAGES;exports.DEFAULT_DATA_REVIEW_MESSAGES=a.DEFAULT_DATA_REVIEW_MESSAGES;exports.DEFAULT_MESSAGES=a.DEFAULT_MESSAGES;exports.DEFAULT_PRINT_MESSAGES=a.DEFAULT_PRINT_MESSAGES;exports.DEFAULT_THEME=a.DEFAULT_THEME;exports.MachReportError=a.MachReportError;exports.PARAM_OPTIONS_MESSAGES=a.PARAM_OPTIONS_MESSAGES;exports.ReportParamPanel=a.ReportParamPanel;exports.SILENT_LOGGER=a.SILENT_LOGGER;exports.defineMachReportConfig=a.defineMachReportConfig;exports.defineMachReportPreset=a.defineMachReportPreset;exports.normalizeReportLoadError=a.normalizeReportLoadError;exports.printCalibration=a.printCalibration;exports.provideMachReportConfig=a.provideMachReportConfig;exports.resolveCalculationMessages=a.resolveCalculationMessages;exports.resolveConfig=a.resolveConfig;exports.resolveDataReviewMessages=a.resolveDataReviewMessages;exports.snapshotPrintOptions=a.snapshotPrintOptions;exports.themeToCssVars=a.themeToCssVars;exports.toErrorDetail=a.toErrorDetail;exports.useMachReportConfig=a.useMachReportConfig;exports.MACH_REPORT_CONFIG_KEY=E.MACH_REPORT_CONFIG_KEY;exports.MACH_REPORT_CONTROLLER_KEY=E.MACH_REPORT_CONTROLLER_KEY;exports.MACH_REPORT_FETCHER_KEY=E.MACH_REPORT_FETCHER_KEY;exports.MACH_REPORT_PDF_EXPORTER_KEY=E.MACH_REPORT_PDF_EXPORTER_KEY;exports.MachReportPreview=M.MachReportPreview;exports.machReportPlugin=M.machReportPlugin;exports.createLocalFetcher=F;exports.createProviderEditing=W;exports.useMachReport=b;exports.useReportPreview=q;Object.keys(g).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>g[e]})});
|
package/dist/vue.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createReportSource as O, ReportCellEditError as T } from "@agile-team/mach-report";
|
|
2
2
|
export * from "@agile-team/mach-report";
|
|
3
|
-
import { P as h, c as y } from "./ReportPreview-
|
|
4
|
-
import { R as oe, a as se, _ as ae, b as ie, d as ce, e as ue, f as fe, g as de, h as le, i as ge, j as pe, k as me, l as Pe, m as Ee, n as Re, o as he, p as ye, q as we, r as Se, s as ve, t as Te, u as Ie, v as Ae, w as xe } from "./ReportPreview-
|
|
5
|
-
import { M as d } from "./ReportParamPanel-
|
|
6
|
-
import { D as Oe, a as _e, b as Me, c as De, d as be, P as ke, R as Fe, S as Le, e as qe, f as Ne, n as Ue, p as Ve, g as je, r as Ge, h as ze, i as He, s as We, t as Ye, j as Be, u as Ke } from "./ReportParamPanel-
|
|
3
|
+
import { P as h, c as y } from "./ReportPreview-CnxaDTCO.js";
|
|
4
|
+
import { R as oe, a as se, _ as ae, b as ie, d as ce, e as ue, f as fe, g as de, h as le, i as ge, j as pe, k as me, l as Pe, m as Ee, n as Re, o as he, p as ye, q as we, r as Se, s as ve, t as Te, u as Ie, v as Ae, w as xe } from "./ReportPreview-CnxaDTCO.js";
|
|
5
|
+
import { M as d } from "./ReportParamPanel-DGXzBzl2.js";
|
|
6
|
+
import { D as Oe, a as _e, b as Me, c as De, d as be, P as ke, R as Fe, S as Le, e as qe, f as Ne, n as Ue, p as Ve, g as je, r as Ge, h as ze, i as He, s as We, t as Ye, j as Be, u as Ke } from "./ReportParamPanel-DGXzBzl2.js";
|
|
7
7
|
import { M as _ } from "./injection-keys-e85udZCp.js";
|
|
8
8
|
import { a as Xe, b as Je, c as Ze } from "./injection-keys-e85udZCp.js";
|
|
9
|
-
import { M as er, m as rr } from "./plugin-
|
|
9
|
+
import { M as er, m as rr } from "./plugin-BdCplNe1.js";
|
|
10
10
|
import { shallowRef as M, computed as D, inject as b } from "vue";
|
|
11
|
-
import { v as k } from "./json-snapshot-
|
|
12
|
-
import {
|
|
11
|
+
import { v as k } from "./json-snapshot-CBVWZvyC.js";
|
|
12
|
+
import { z as F } from "./diagnostic-collector-gB07PHy2.js";
|
|
13
13
|
function J(e) {
|
|
14
14
|
const r = O(e), o = async (t) => {
|
|
15
15
|
if (t.reportIds.length === 0) throw new h("缺少报表 ID");
|