@agile-team/mach-report 2.23.1 → 2.25.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 +10 -4
- package/dist/{ExcelBindingWizard-BrTmdo7f.cjs → ExcelBindingWizard-BgJG-T6k.cjs} +1 -1
- package/dist/{ExcelBindingWizard-CcDMLO8Q.js → ExcelBindingWizard-NQ_v396s.js} +3 -3
- package/dist/ParamEditor-DEP38mBp.cjs +1 -0
- package/dist/ParamEditor-Z-3yodp5.js +750 -0
- package/dist/{ReportBatchPanel-CHxBtG9R.cjs → ReportBatchPanel-D33LjMrA.cjs} +1 -1
- package/dist/{ReportBatchPanel-CJB67WNd.js → ReportBatchPanel-DG8FV-5X.js} +2 -2
- package/dist/{ReportLabelStudio-Tplc1TLJ.js → ReportLabelStudio-BZp23_hA.js} +68 -68
- package/dist/ReportLabelStudio-Bz-xAayk.cjs +1 -0
- package/dist/ReportParamPanel-B27IGJjk.cjs +1 -0
- package/dist/{ReportParamPanel-GI43aGa0.js → ReportParamPanel-DGXzBzl2.js} +328 -298
- package/dist/ReportPreview-CilFAS9U.js +7170 -0
- package/dist/ReportPreview-dOOzPts2.cjs +6 -0
- package/dist/{ReportTemplateLibrary-KqX4E2sN.js → ReportTemplateLibrary-DpSGgvFa.js} +28 -28
- package/dist/{ReportTemplateLibrary-BFQIX0sg.cjs → ReportTemplateLibrary-uG1gENaW.cjs} +1 -1
- package/dist/{RuleEditor-OPX1awrH.js → RuleEditor-BONALh1Q.js} +846 -835
- package/dist/RuleEditor-bLXiRcxL.cjs +1 -0
- package/dist/{TemplateOutlinePanel-CVYKVLv_.cjs → TemplateOutlinePanel-C3nfHuaR.cjs} +1 -1
- package/dist/{TemplateOutlinePanel-DQS-eOs6.js → TemplateOutlinePanel-JGBKeF3e.js} +10 -10
- package/dist/{TemplateReusePanel-CY6O93Zk.cjs → TemplateReusePanel-BKhgp6kg.cjs} +1 -1
- package/dist/{TemplateReusePanel-DKXiFTyB.js → TemplateReusePanel-DXQUO6nQ.js} +2 -2
- package/dist/TemplateReviewPanel-5RWFUUEf.cjs +1 -0
- package/dist/TemplateReviewPanel-DhL7Hapy.js +602 -0
- package/dist/analytics.d.cts +1 -1
- package/dist/analytics.d.ts +1 -1
- package/dist/artifact-integrity.json +98 -98
- package/dist/assets-BYdpkTIt.cjs +1 -0
- package/dist/assets-C4MIvzQ4.js +137 -0
- package/dist/auto-D-eDZa_V.cjs +1 -0
- package/dist/{auto-BB99S802.js → auto-umW_ozwr.js} +10 -10
- package/dist/capabilities-CN_kSVjO.js +121 -0
- package/dist/capabilities-D4nfhcvB.cjs +1 -0
- package/dist/cell-style-B6Qffrx8.js +37 -0
- package/dist/cell-style-y_uh1pZp.cjs +1 -0
- package/dist/{data-bar-IkI6VvMQ.js → data-bar-Bfh54sT4.js} +1 -1
- package/dist/data-bar-DzceAVeR.cjs +1 -0
- package/dist/designer-CCyj5WYS.js +7595 -0
- package/dist/designer-Cj7fn4Hh.cjs +2 -0
- package/dist/designer.cjs +1 -1
- package/dist/designer.d.cts +143 -10
- package/dist/designer.d.ts +143 -10
- package/dist/designer.js +5 -5
- 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-JWrchIre.js → dom-DxdCMLzs.js} +185 -185
- package/dist/{encoding-CEd-dq9A.js → encoding-CEkBtlUP.js} +2 -2
- package/dist/{encoding-7lquyj0w.cjs → encoding-Cipno7dq.cjs} +1 -1
- package/dist/{font-loader-CNWXomuV.js → font-loader-D4NLIKJL.js} +1 -1
- package/dist/{font-loader-D8pI87fL.cjs → font-loader-p_SyTvqt.cjs} +1 -1
- package/dist/{grid-strokes-EoY66L2f.js → grid-strokes-DkZEZvcI.js} +1 -1
- package/dist/grid-strokes-RFMR91jn.cjs +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +48 -9
- package/dist/index.d.ts +48 -9
- package/dist/index.js +137 -136
- package/dist/json-snapshot-DQdkA_At.cjs +2 -0
- package/dist/{json-snapshot-BRnzKudk.js → json-snapshot-x0JpllWL.js} +919 -791
- package/dist/{pdf-DpMkW72B.cjs → pdf-C060D5UY.cjs} +31 -31
- package/dist/{pdf-CJToa81Z.js → pdf-DU8HelKd.js} +2499 -2492
- 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-BWTp-X7b.cjs → plugin-B_k23hut.cjs} +1 -1
- package/dist/{plugin-_BkUVc2z.js → plugin-CttO46hc.js} +1 -1
- package/dist/{prefill-CWGdnqQd.js → prefill-BkF9Fw_p.js} +13 -13
- package/dist/prefill-BvkuwooY.cjs +1 -0
- package/dist/prepared-CSywIEAZ.cjs +1 -0
- package/dist/prepared-Cyuh61fJ.js +128 -0
- package/dist/protocol-BwbJNVZl.cjs +1 -0
- package/dist/protocol-DwtxjXzO.js +96 -0
- package/dist/record-bindings-B7djSjNs.cjs +1 -0
- package/dist/{record-bindings-DatJZv_e.js → record-bindings-Cv7lFiof.js} +47 -47
- package/dist/{region-binding-workflow-l7NGfagJ.cjs → region-binding-workflow-COD8nISZ.cjs} +1 -1
- package/dist/{region-binding-workflow-DjrXuR1q.js → region-binding-workflow-D8I4QWRh.js} +2 -2
- package/dist/report-encoding-worker.cjs +1 -1
- package/dist/report-encoding-worker.js +1 -1
- package/dist/{rich-text-layout-Ciwa6D2o.js → rich-text-layout-Ch_N0Ubu.js} +1 -1
- package/dist/rich-text-layout-yJGuThtC.cjs +3 -0
- package/dist/runtime-BE30icyB.js +227 -0
- package/dist/runtime-DRSuy_SQ.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 +2742 -2417
- package/dist/server.cjs +1 -1
- package/dist/server.d.cts +51 -16
- package/dist/server.d.ts +51 -16
- package/dist/server.js +8 -8
- package/dist/style.css +1 -1
- package/dist/{template-catalog-DtrtT1FY.cjs → template-catalog-C0riwrx7.cjs} +1 -1
- package/dist/{template-catalog-CRuZL3pi.js → template-catalog-D_gl93va.js} +3 -3
- package/dist/template-fragments-CgzPdFKB.cjs +1 -0
- package/dist/{template-fragments-CPpGpQoz.js → template-fragments-D94ZZmPc.js} +2 -2
- package/dist/template-registry-BMScUmM4.cjs +1 -0
- package/dist/{template-registry-O0hNIOfB.js → template-registry-DZOtRY7t.js} +19 -19
- package/dist/{textwrap-D4ZksyMK.js → textwrap-BywMBMXM.js} +1 -1
- package/dist/textwrap-LhJkHWb1.cjs +4 -0
- package/dist/vue/async.d.cts +101 -22
- package/dist/vue/async.d.ts +101 -22
- package/dist/vue/index.d.cts +133 -34
- package/dist/vue/index.d.ts +133 -34
- 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-C6-SrnCT.cjs → workbook-session-DR2j6Hxm.cjs} +3 -3
- package/dist/{workbook-session-C9ZmCBwY.js → workbook-session-SzfILBJJ.js} +106 -107
- 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/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 +4 -4
- package/dist/xlsx.d.cts +20 -3
- package/dist/xlsx.d.ts +20 -3
- package/dist/xlsx.js +302 -295
- package/package.json +1 -1
- package/dist/ParamEditor-BGjovFUe.js +0 -737
- package/dist/ParamEditor-CeNp4_zQ.cjs +0 -1
- package/dist/ReportLabelStudio-g8PkqJWn.cjs +0 -1
- package/dist/ReportParamPanel-C7fZTllk.cjs +0 -1
- package/dist/ReportPreview-BoGBGyRr.cjs +0 -6
- package/dist/ReportPreview-QLONCyci.js +0 -6257
- package/dist/RuleEditor-BZUP9yvL.cjs +0 -1
- package/dist/TemplateReviewPanel-DbeNC8Ms.cjs +0 -1
- package/dist/TemplateReviewPanel-Dijwm9YE.js +0 -593
- package/dist/assets-D2gHc4Mz.cjs +0 -1
- package/dist/assets-T_gDeFaz.js +0 -132
- package/dist/auto-BrPWo7Xm.cjs +0 -1
- package/dist/capabilities-DiBj4Qgl.cjs +0 -1
- package/dist/capabilities-pg7j7VLT.js +0 -106
- package/dist/data-bar-CeZuFmYl.cjs +0 -1
- package/dist/designer-BZoVWTgl.js +0 -7172
- package/dist/designer-zS2uKJmY.cjs +0 -2
- package/dist/dom-ChE5D-L-.cjs +0 -1
- package/dist/grid-strokes-Be24LGuV.cjs +0 -1
- package/dist/json-snapshot-DNiIbpOr.cjs +0 -2
- package/dist/prefill-PaAy6wLk.cjs +0 -1
- package/dist/prepared-CJy_qk7d.js +0 -94
- package/dist/prepared-D0yCSxSO.cjs +0 -1
- package/dist/progress-BXzlVbIp.js +0 -29
- package/dist/progress-ByiOxUD3.js +0 -250
- package/dist/progress-DJBd9Rb9.cjs +0 -1
- package/dist/progress-WomPRP3B.cjs +0 -1
- package/dist/protocol-BG16rz6D.js +0 -90
- package/dist/protocol-wzhl1Fim.cjs +0 -1
- package/dist/record-bindings-MBxbeBsi.cjs +0 -1
- package/dist/rich-text-layout-DK7A_a5r.cjs +0 -3
- package/dist/runtime-DYMOS_gz.cjs +0 -1
- package/dist/runtime-PiCax9zQ.js +0 -171
- package/dist/template-fragments-GVjpew_q.cjs +0 -1
- package/dist/template-registry-DI59PXVK.cjs +0 -1
- package/dist/textwrap-DEHqAjKZ.cjs +0 -4
package/dist/index.d.ts
CHANGED
|
@@ -462,6 +462,19 @@ export declare function defineReportTemplate(document: Omit<ReportTemplateDocume
|
|
|
462
462
|
schemaVersion?: typeof REPORT_TEMPLATE_DOCUMENT_VERSION;
|
|
463
463
|
}): ReportTemplateDocument;
|
|
464
464
|
|
|
465
|
+
/** Bounded detail window with exact occurrence totals. Unknown business codes beyond 128 buckets share `other`. */
|
|
466
|
+
export declare interface DiagnosticSummary<T> {
|
|
467
|
+
readonly total: number;
|
|
468
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
469
|
+
readonly entries: readonly T[];
|
|
470
|
+
readonly omitted: number;
|
|
471
|
+
/** Business value explanations form a separate presentation channel, including omitted locations. */
|
|
472
|
+
readonly explanations?: {
|
|
473
|
+
readonly total: number;
|
|
474
|
+
readonly counts: Readonly<Record<string, number>>;
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
|
|
465
478
|
/** Semantic column identities keep a reorder distinct from deleting or rebinding a field. */
|
|
466
479
|
export declare function diffReportTemplates(previous: ReportTemplateDocument, next: ReportTemplateDocument, options?: {
|
|
467
480
|
maxChanges?: number;
|
|
@@ -634,8 +647,12 @@ export declare function imposeLabelSheets(plan: RenderPlan, options: LabelSheetO
|
|
|
634
647
|
/** Explicit replacement is atomic and preserves surrounding components and the document CAS revision. */
|
|
635
648
|
export declare function insertTemplateFragment(input: ReportTemplateDocument, fragment: ReportTemplateFragment, options: TemplateFragmentInsertOptions): TemplateFragmentResult;
|
|
636
649
|
|
|
650
|
+
/** Complete enumeration retained for callers that explicitly need every issue location. */
|
|
637
651
|
export declare function inspectOutputCapabilities(plan: RenderPlan, format: OutputFormat): OutputDiagnostic[];
|
|
638
652
|
|
|
653
|
+
/** Exact issue totals and a bounded location window, without materializing every issue. */
|
|
654
|
+
export declare function inspectOutputCapabilitiesSummary(plan: RenderPlan, format: OutputFormat, limit?: number): DiagnosticSummary<OutputDiagnostic>;
|
|
655
|
+
|
|
639
656
|
/** Check before applying a stored template to a new host dataset. Missing provenance is explicit. */
|
|
640
657
|
export declare function inspectReportTemplateCompatibility(template: ReportTemplate, target: ReportTemplateDataContract): ReportTemplateCompatibilityResult;
|
|
641
658
|
|
|
@@ -732,7 +749,7 @@ export declare type LabelTemplatePage = Pick<TemplatePage, "components" | "meta"
|
|
|
732
749
|
/** 默认行高倍数(基线距 = 字号 × 该系数) */
|
|
733
750
|
export declare const LINE_HEIGHT = 1.35;
|
|
734
751
|
|
|
735
|
-
/** auto
|
|
752
|
+
/** auto:真实数字、显式数值格式、日期与布尔居中,其他内容居左。 */
|
|
736
753
|
export declare type ListAlignment = NonNullable<ComponentStyle["align"]> | "auto";
|
|
737
754
|
|
|
738
755
|
export declare interface ListColumn {
|
|
@@ -791,7 +808,7 @@ export declare interface ListComponent {
|
|
|
791
808
|
paddingMm?: number;
|
|
792
809
|
headerEveryPage?: boolean;
|
|
793
810
|
headerBackgroundColor?: string;
|
|
794
|
-
/**
|
|
811
|
+
/** 内容默认对齐,列配置可覆盖,缺省为 auto。 */
|
|
795
812
|
align?: ListAlignment;
|
|
796
813
|
/** 表头默认对齐,列配置可覆盖。 */
|
|
797
814
|
headerAlign?: ComponentStyle["align"];
|
|
@@ -956,12 +973,15 @@ export declare interface OutputDiagnosticOptions extends OutputTaskOptions {
|
|
|
956
973
|
onDiagnostic?: (diagnostic: OutputDiagnostic) => void;
|
|
957
974
|
/** Reject known unsupported content before creating an incomplete file. Default warn. */
|
|
958
975
|
fidelity?: "warn" | "strict";
|
|
976
|
+
/** Explicit bounded detail window (0–1000); omitted retains the complete diagnostic array. */
|
|
977
|
+
diagnosticLimit?: number;
|
|
959
978
|
}
|
|
960
979
|
|
|
961
980
|
export declare class OutputFidelityError extends Error {
|
|
962
981
|
readonly diagnostics: readonly OutputDiagnostic[];
|
|
982
|
+
readonly diagnosticSummary?: DiagnosticSummary<OutputDiagnostic> | undefined;
|
|
963
983
|
readonly code = "output-fidelity";
|
|
964
|
-
constructor(diagnostics: readonly OutputDiagnostic[]);
|
|
984
|
+
constructor(diagnostics: readonly OutputDiagnostic[], diagnosticSummary?: DiagnosticSummary<OutputDiagnostic> | undefined);
|
|
965
985
|
}
|
|
966
986
|
|
|
967
987
|
export declare type OutputFormat = "dom" | "canvas" | "pdf" | "xlsx";
|
|
@@ -1628,7 +1648,7 @@ export declare interface ReportDefinitionOptions<TData> extends Omit<ReportDefin
|
|
|
1628
1648
|
mapData: (data: TData, context: ReportLoadContext) => DatasetRows;
|
|
1629
1649
|
}
|
|
1630
1650
|
|
|
1631
|
-
export declare interface ReportDiagnostic {
|
|
1651
|
+
export declare interface ReportDiagnostic extends Partial<Pick<OutputDiagnostic, "format" | "pageIndex" | "componentIndex" | "componentPath" | "kind" | "nid" | "extension">> {
|
|
1632
1652
|
code: string;
|
|
1633
1653
|
message: string;
|
|
1634
1654
|
path?: string;
|
|
@@ -1975,6 +1995,11 @@ export declare interface ReportProvider {
|
|
|
1975
1995
|
templates?: ReportTemplateProvider;
|
|
1976
1996
|
}
|
|
1977
1997
|
|
|
1998
|
+
export declare interface ReportProviderConflict extends Pick<ReportEditConflict, "message" | "currentValue" | "revision"> {
|
|
1999
|
+
editIndex: number;
|
|
2000
|
+
code: string;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
1978
2003
|
export declare interface ReportProviderExportInput extends ReportLoadContext {
|
|
1979
2004
|
format: "pdf" | "xlsx";
|
|
1980
2005
|
}
|
|
@@ -1986,6 +2011,14 @@ export declare interface ReportProviderExportResult {
|
|
|
1986
2011
|
diagnostics?: ReportDiagnostic[];
|
|
1987
2012
|
}
|
|
1988
2013
|
|
|
2014
|
+
/** Context of an accepted query, independent of an unsubmitted filter form. */
|
|
2015
|
+
export declare interface ReportQueryContext {
|
|
2016
|
+
queryId?: string;
|
|
2017
|
+
reportIds: readonly string[];
|
|
2018
|
+
params: Readonly<Record<string, string>>;
|
|
2019
|
+
sources: readonly Readonly<ReportQuerySource>[];
|
|
2020
|
+
}
|
|
2021
|
+
|
|
1989
2022
|
export declare interface ReportQueryResult {
|
|
1990
2023
|
datasets: DatasetRows;
|
|
1991
2024
|
revision?: string;
|
|
@@ -1993,6 +2026,15 @@ export declare interface ReportQueryResult {
|
|
|
1993
2026
|
diagnostics?: ReportDiagnostic[];
|
|
1994
2027
|
}
|
|
1995
2028
|
|
|
2029
|
+
/** One ordered query occurrence, shared by browser editing and Node preparation. */
|
|
2030
|
+
export declare interface ReportQuerySource {
|
|
2031
|
+
reportId: string;
|
|
2032
|
+
reportIndex: number;
|
|
2033
|
+
reportScope: string;
|
|
2034
|
+
revision?: string;
|
|
2035
|
+
sourceToken?: string;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
1996
2038
|
export declare type ReportRegistry = Record<string, ReportDefinition>;
|
|
1997
2039
|
|
|
1998
2040
|
export declare interface ReportSaveInput extends ReportLoadContext {
|
|
@@ -2006,11 +2048,7 @@ export declare interface ReportSaveInput extends ReportLoadContext {
|
|
|
2006
2048
|
export declare interface ReportSaveResult {
|
|
2007
2049
|
revision: string;
|
|
2008
2050
|
sourceToken?: string;
|
|
2009
|
-
conflicts?:
|
|
2010
|
-
editIndex: number;
|
|
2011
|
-
code: string;
|
|
2012
|
-
message: string;
|
|
2013
|
-
}>;
|
|
2051
|
+
conflicts?: ReportProviderConflict[];
|
|
2014
2052
|
diagnostics?: ReportDiagnostic[];
|
|
2015
2053
|
}
|
|
2016
2054
|
|
|
@@ -2430,6 +2468,7 @@ export declare function resolvePaper(paper: PaperName | {
|
|
|
2430
2468
|
export declare function resolvePlanAssets(plan: RenderPlan, options?: ResolvePlanAssetsOptions): Promise<{
|
|
2431
2469
|
plan: RenderPlan;
|
|
2432
2470
|
diagnostics: OutputDiagnostic[];
|
|
2471
|
+
diagnosticSummary?: DiagnosticSummary<OutputDiagnostic>;
|
|
2433
2472
|
}>;
|
|
2434
2473
|
|
|
2435
2474
|
export declare interface ResolvePlanAssetsOptions extends AssetRenderOptions {
|
package/dist/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { a as V,
|
|
2
|
-
import { C as lr,
|
|
3
|
-
import { P as
|
|
4
|
-
import { v as Fe, R as je, a as me, p as X, b as ct } from "./template-registry-
|
|
5
|
-
import { c as
|
|
1
|
+
import { a as V, c as Q, d as fe, i as he, D as ge, o as nt, e as le, p as _, f as rt, r as it, g as ot, b as at, h as st, P as ee, w as Pe } from "./diagnostic-collector-gB07PHy2.js";
|
|
2
|
+
import { C as lr, j as mr, k as dr, l as fr, L as hr, M as gr, R as ur, S as pr, m as wr, n as br, q as yr, s as Mr, t as vr } from "./diagnostic-collector-gB07PHy2.js";
|
|
3
|
+
import { P as Er, e as Sr, f as Rr, R as Cr, g as Tr, h as Pr, p as $r, b as Or, t as Ar, j as Ir } from "./record-bindings-Cv7lFiof.js";
|
|
4
|
+
import { v as Fe, R as je, a as me, p as X, b as ct } from "./template-registry-DZOtRY7t.js";
|
|
5
|
+
import { c as Lr, d as Nr, e as kr, i as Fr, s as jr, f as zr, g as Hr, h as Br } from "./template-registry-DZOtRY7t.js";
|
|
6
6
|
import { v as lt } from "./dataset-DL83majE.js";
|
|
7
|
-
import { d as
|
|
8
|
-
import { h as ue, w as ze } from "./textwrap-
|
|
9
|
-
import { c as
|
|
10
|
-
import { R as pe, d as mt, s as He, a as dt, p as ft } from "./json-snapshot-
|
|
11
|
-
import { D as
|
|
12
|
-
import { c as
|
|
13
|
-
import { d as ht } from "./data-bar-
|
|
14
|
-
import { d as gt } from "./rich-text-layout-
|
|
15
|
-
import { r as re, n as Be, O as ut } from "./capabilities-
|
|
16
|
-
import { i as
|
|
17
|
-
import { r as we } from "./assets-
|
|
18
|
-
import { O as
|
|
19
|
-
import { r as pt } from "./grid-strokes-
|
|
20
|
-
import { c as wt } from "./prefill-
|
|
21
|
-
import { R as
|
|
22
|
-
import { R as
|
|
23
|
-
import { n as
|
|
24
|
-
import { c as
|
|
25
|
-
import { a as
|
|
26
|
-
import { T as
|
|
7
|
+
import { d as Wr } from "./dataset-DL83majE.js";
|
|
8
|
+
import { h as ue, w as ze } from "./textwrap-BywMBMXM.js";
|
|
9
|
+
import { c as qr, a as Vr, b as Jr, m as Gr } from "./textwrap-BywMBMXM.js";
|
|
10
|
+
import { R as pe, d as mt, s as He, a as dt, p as ft } from "./json-snapshot-x0JpllWL.js";
|
|
11
|
+
import { D as Yr, b as Xr, c as Zr, e as Qr, f as ei, g as ti, h as ni, i as ri, j as ii, k as oi, l as ai, m as si, n as ci, o as li, q as mi, r as di, t as fi, u as hi, v as gi, w as ui, x as pi, y as wi, z as bi, A as yi, B as Mi, C as vi, E as xi, F as Ei, G as Si } from "./json-snapshot-x0JpllWL.js";
|
|
12
|
+
import { c as Ci, a as Ti, b as Pi, i as $i, r as Oi, d as Ai, e as Ii, t as Di } from "./dom-DxdCMLzs.js";
|
|
13
|
+
import { d as ht } from "./data-bar-Bfh54sT4.js";
|
|
14
|
+
import { d as gt } from "./rich-text-layout-Ch_N0Ubu.js";
|
|
15
|
+
import { r as re, n as Be, O as ut } from "./capabilities-CN_kSVjO.js";
|
|
16
|
+
import { i as Ni, a as ki } from "./capabilities-CN_kSVjO.js";
|
|
17
|
+
import { r as we } from "./assets-C4MIvzQ4.js";
|
|
18
|
+
import { O as ji } from "./assets-C4MIvzQ4.js";
|
|
19
|
+
import { r as pt } from "./grid-strokes-DkZEZvcI.js";
|
|
20
|
+
import { c as wt } from "./prefill-BkF9Fw_p.js";
|
|
21
|
+
import { R as Hi, a as Bi, b as _i, d as Wi, e as Ui, m as qi, r as Vi, f as Ji, g as Gi, v as Ki } from "./prefill-BkF9Fw_p.js";
|
|
22
|
+
import { R as Xi, a as Zi, f as Qi, b as eo, c as to, d as no, i as ro, e as io, g as oo, p as ao, h as so, j as co, k as lo, r as mo, v as fo, l as ho } from "./param-validation-CnDEd2l-.js";
|
|
23
|
+
import { n as uo, f as po, o as wo, r as bo, l as yo } from "./computed-f3pOqWLX.js";
|
|
24
|
+
import { c as vo, a as xo, d as Eo, r as So, b as Ro } from "./template-catalog-D_gl93va.js";
|
|
25
|
+
import { a as To, c as Po, i as $o, b as Oo } from "./template-fragments-D94ZZmPc.js";
|
|
26
|
+
import { T as Io, c as Do, a as Lo } from "./template-serialization-CWmHq7lX.js";
|
|
27
27
|
function be(e, t, n, r, i, o, l, s = "top") {
|
|
28
28
|
e.font = `${t.italic ? "italic " : ""}${t.bold ? "bold " : ""}${t.fontSizePx}px ${l}`, "letterSpacing" in e && (e.letterSpacing = "0px"), e.fillStyle = t.color, e.textBaseline = "alphabetic";
|
|
29
29
|
const a = t.fontSizePx * t.lineHeight, c = t.text === "" ? [""] : t.text.split(`
|
|
@@ -155,7 +155,7 @@ function Tt(e, t, n, r, i, o, l, s, a, c, m, f) {
|
|
|
155
155
|
for (const h of d.cells) Pt(e, h, n, r, i, s, a, c, m, f);
|
|
156
156
|
}
|
|
157
157
|
function Pt(e, t, n, r, i, o, l, s, a, c) {
|
|
158
|
-
const m = n.grid?.paddingMm ?? 0.5, f = t.cell.text ?? "", d = at(n.style, t.cell
|
|
158
|
+
const m = n.grid?.paddingMm ?? 0.5, f = t.cell.text ?? "", d = at(n.style, t.cell), h = V(d, l), g = t.cell.indentMm ?? 0, S = Math.max(0, t.widthMm - 2 * m - g), E = ze(f, S, { fontSizePt: h.fontSizePt, bold: d.bold, italic: d.italic, fontFamily: d.fontFamily ?? s, letterSpacingPt: d.letterSpacing }, a).join(`
|
|
159
159
|
`), b = { x: r + (t.xMm + m + g) * o, y: i + (t.yMm + m) * o, width: S * o, height: Math.max(0, t.heightMm - 2 * m) * o };
|
|
160
160
|
e.save(), e.beginPath(), e.rect(b.x, b.y, b.width, b.height), e.clip(), t.cell.richParagraphs?.length ? _e(e, { ...n, richParagraphs: t.cell.richParagraphs, style: { verticalAlign: "middle", ...d } }, b, l, s) : be(
|
|
161
161
|
e,
|
|
@@ -1516,180 +1516,181 @@ export {
|
|
|
1516
1516
|
mr as DEFAULT_BORDER_PT,
|
|
1517
1517
|
ge as DEFAULT_FONT_FAMILY,
|
|
1518
1518
|
dr as DEFAULT_FONT_PT,
|
|
1519
|
-
|
|
1519
|
+
Yr as DEFAULT_LABEL_PAGE_LIMIT,
|
|
1520
1520
|
fr as DEFAULT_STROKE_COLOR,
|
|
1521
1521
|
st as DEFAULT_TEXT_COLOR,
|
|
1522
1522
|
hr as LINE_HEIGHT,
|
|
1523
1523
|
P as LabelSheetError,
|
|
1524
1524
|
gr as MM_PER_INCH,
|
|
1525
|
-
|
|
1525
|
+
ji as OutputAssetError,
|
|
1526
1526
|
ut as OutputFidelityError,
|
|
1527
1527
|
ee as PAPER_SIZES,
|
|
1528
1528
|
Dt as PageBuilder,
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1529
|
+
Er as PaginateCellLimitError,
|
|
1530
|
+
Sr as PaginateChartComponentLimitError,
|
|
1531
|
+
Rr as PaginatePageLimitError,
|
|
1532
1532
|
ur as RENDER_PLAN_SCHEMA_VERSION,
|
|
1533
1533
|
me as REPORT_TEMPLATE_DOCUMENT_VERSION,
|
|
1534
|
-
|
|
1534
|
+
Cr as ReportBindingError,
|
|
1535
1535
|
y as ReportCalculationError,
|
|
1536
1536
|
dt as ReportCellEditError,
|
|
1537
1537
|
nn as ReportCellFieldError,
|
|
1538
1538
|
u as ReportComponentExtensionError,
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1539
|
+
Hi as ReportDataError,
|
|
1540
|
+
Bi as ReportDrillError,
|
|
1541
|
+
Xi as ReportParamValidationError,
|
|
1542
1542
|
pe as ReportSourceError,
|
|
1543
1543
|
je as ReportTemplateError,
|
|
1544
1544
|
N as ReportTemplateMigrationError,
|
|
1545
1545
|
L as ReportTemplateStoreError,
|
|
1546
|
-
|
|
1546
|
+
Xr as ReportValidationError,
|
|
1547
1547
|
pr as SCHEMA_VERSION_MACH,
|
|
1548
1548
|
It as TemplateBuilder,
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1549
|
+
Io as TreeRowLimitError,
|
|
1550
|
+
Zr as applyReportCellEdit,
|
|
1551
|
+
Qr as applyReportCellEditBatch,
|
|
1552
|
+
To as applyReportDocumentStyle,
|
|
1553
|
+
ei as applyReportEditResult,
|
|
1554
|
+
ti as applyReportSourceMetadata,
|
|
1555
|
+
Lr as assertRenderPlan,
|
|
1556
|
+
Zi as assertReportParams,
|
|
1557
|
+
ni as assertReportValidation,
|
|
1558
1558
|
ar as bindReportTemplateContext,
|
|
1559
1559
|
rr as calculateReportSelection,
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1560
|
+
Po as captureTemplateFragment,
|
|
1561
|
+
qr as charWidthEm,
|
|
1562
|
+
Ci as classOf,
|
|
1563
|
+
vo as cloneReportTemplate,
|
|
1564
|
+
Ti as collectTemplateOutline,
|
|
1565
1565
|
Vn as columnsFromContract,
|
|
1566
|
-
|
|
1567
|
-
|
|
1566
|
+
_i as compareReportData,
|
|
1567
|
+
uo as compileReportPredicate,
|
|
1568
1568
|
St as computePageWindow,
|
|
1569
|
-
|
|
1570
|
-
|
|
1569
|
+
ri as countTemplatePages,
|
|
1570
|
+
Vr as createCanvasMeasurer,
|
|
1571
1571
|
Un as createCanvasPager,
|
|
1572
|
-
|
|
1572
|
+
Jr as createHeuristicMeasurer,
|
|
1573
1573
|
Gn as createLabelTemplate,
|
|
1574
|
-
|
|
1574
|
+
xo as createLocalTemplateCatalog,
|
|
1575
1575
|
Zn as createMemoryTemplateStore,
|
|
1576
|
-
|
|
1576
|
+
Pi as createPageViewportRenderer,
|
|
1577
1577
|
Yn as createProviderReport,
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1578
|
+
ii as createReportCellEdit,
|
|
1579
|
+
oi as createReportCellEditBatch,
|
|
1580
|
+
ai as createReportCellResolver,
|
|
1581
|
+
po as createReportChartData,
|
|
1582
1582
|
Qn as createReportComponentRegistry,
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1583
|
+
Wi as createReportDrillRequest,
|
|
1584
|
+
si as createReportEditSession,
|
|
1585
|
+
Ui as createReportPrefill,
|
|
1586
|
+
ci as createReportSource,
|
|
1587
1587
|
Jn as createTableTemplate,
|
|
1588
1588
|
qn as createTemplate,
|
|
1589
1589
|
Xn as createTemplateManager,
|
|
1590
1590
|
Wt as createTemplateMigrator,
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1591
|
+
Nr as createTemplateRegistry,
|
|
1592
|
+
Do as createTreeTable,
|
|
1593
|
+
Wr as datasetJsonSchema,
|
|
1594
1594
|
Kn as defineLabelReport,
|
|
1595
1595
|
mt as defineReport,
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1596
|
+
kr as defineReportTemplate,
|
|
1597
|
+
Eo as diffReportTemplates,
|
|
1598
|
+
li as estimateListLayoutCells,
|
|
1599
|
+
Tr as evalStyleRule,
|
|
1600
1600
|
Sn as evaluateReportAggregateExpression,
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1601
|
+
wo as evaluateReportPredicate,
|
|
1602
|
+
mi as explainDatasetField,
|
|
1603
|
+
Qi as formatReportCascaderPath,
|
|
1604
|
+
di as formatReportCellEdit,
|
|
1605
1605
|
er as formatReportClipboard,
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1606
|
+
eo as formatReportDateRange,
|
|
1607
|
+
to as formatReportNumberRange,
|
|
1608
|
+
no as formatReportParamSelection,
|
|
1609
|
+
Pr as formatValue,
|
|
1610
|
+
fi as getReportCellContext,
|
|
1611
|
+
hi as getReportEditSession,
|
|
1612
|
+
gi as hasValidDataExplanation,
|
|
1613
1613
|
ue as heuristicMeasurer,
|
|
1614
1614
|
ir as imposeLabelSheets,
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1615
|
+
$o as insertTemplateFragment,
|
|
1616
|
+
Ni as inspectOutputCapabilities,
|
|
1617
|
+
ki as inspectOutputCapabilitiesSummary,
|
|
1618
|
+
Fr as inspectReportTemplateCompatibility,
|
|
1619
|
+
$i as inspectTemplateFieldUsage,
|
|
1620
|
+
Oo as inspectTemplateFragmentBindings,
|
|
1620
1621
|
he as isImageBackedComponent,
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1622
|
+
ui as isReportDataTarget,
|
|
1623
|
+
ro as isReportDate,
|
|
1624
|
+
io as isReportMonth,
|
|
1625
|
+
pi as isReportValueState,
|
|
1626
|
+
oo as isReportYear,
|
|
1626
1627
|
ot as isRichText,
|
|
1627
|
-
|
|
1628
|
+
qi as matchReportDrillActions,
|
|
1628
1629
|
ve as measurePageSizePx,
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1630
|
+
Gr as measureTextMm,
|
|
1631
|
+
wr as mergeComponentStyles,
|
|
1632
|
+
br as mmToPx,
|
|
1633
|
+
yr as mmToPxFactor,
|
|
1634
|
+
wi as paginateTemplate,
|
|
1635
|
+
bi as paginateTemplatePages,
|
|
1636
|
+
$r as parseDateLocal,
|
|
1637
|
+
ao as parseReportCascaderPath,
|
|
1637
1638
|
nr as parseReportCellFieldInput,
|
|
1638
1639
|
ft as parseReportCellInput,
|
|
1639
1640
|
tr as parseReportClipboard,
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1641
|
+
so as parseReportDateRange,
|
|
1642
|
+
co as parseReportNumberRange,
|
|
1643
|
+
lo as parseReportParamSelection,
|
|
1643
1644
|
X as parseReportTemplate,
|
|
1644
1645
|
Hn as planFontSizePx,
|
|
1645
|
-
|
|
1646
|
+
yi as projectListColumns,
|
|
1646
1647
|
_ as ptToPx,
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1648
|
+
Mr as pxToMm,
|
|
1649
|
+
Mi as registerReportEditSession,
|
|
1650
|
+
vi as relocateReportCellEdits,
|
|
1651
|
+
Oi as renderComponent,
|
|
1652
|
+
Ai as renderPage,
|
|
1653
|
+
Ii as renderPlan,
|
|
1653
1654
|
_n as renderPlanToCanvas,
|
|
1654
1655
|
Wn as renderPlanToCanvasAsync,
|
|
1655
1656
|
Bn as renderPlanToImages,
|
|
1656
|
-
|
|
1657
|
-
|
|
1657
|
+
xi as reportCellEditKey,
|
|
1658
|
+
Vi as reportDataSnapshotFromPlan,
|
|
1658
1659
|
or as reportDateDefault,
|
|
1659
1660
|
re as reportOutputDiagnostics,
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1661
|
+
mo as reportParamsJsonSchema,
|
|
1662
|
+
bo as reportPredicateFields,
|
|
1663
|
+
Ji as reportPrefillInputs,
|
|
1663
1664
|
rt as resolveBoxBorders,
|
|
1664
|
-
|
|
1665
|
+
Or as resolveComponentBinding,
|
|
1665
1666
|
V as resolveFontSize,
|
|
1666
1667
|
it as resolveGridLayout,
|
|
1667
1668
|
Q as resolveLineHeight,
|
|
1668
1669
|
Je as resolvePaper,
|
|
1669
1670
|
we as resolvePlanAssets,
|
|
1670
|
-
|
|
1671
|
+
Gi as resolveReportDrillReturn,
|
|
1671
1672
|
le as resolveStroke,
|
|
1672
1673
|
fe as resolveTextColor,
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1674
|
+
So as reviewReportTemplate,
|
|
1675
|
+
Ro as reviewReportTemplateAsync,
|
|
1676
|
+
vr as round,
|
|
1677
|
+
jr as serializeReportTemplate,
|
|
1678
|
+
Ei as summarizeReportCellEdits,
|
|
1679
|
+
Di as templatePathLocation,
|
|
1680
|
+
Ar as toExcelNumberFormat,
|
|
1681
|
+
Ir as toNumber,
|
|
1682
|
+
zr as validateComponent,
|
|
1682
1683
|
lt as validateDatasetRows,
|
|
1683
|
-
|
|
1684
|
+
Hr as validatePage,
|
|
1684
1685
|
ct as validateRenderPlan,
|
|
1685
1686
|
dn as validateReportCellFieldDefinition,
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1687
|
+
yo as validateReportChartBinding,
|
|
1688
|
+
Si as validateReportDataset,
|
|
1689
|
+
Ki as validateReportDrillActions,
|
|
1690
|
+
fo as validateReportParamDefinitions,
|
|
1691
|
+
ho as validateReportParams,
|
|
1691
1692
|
Fe as validateReportTemplate,
|
|
1692
|
-
|
|
1693
|
-
|
|
1693
|
+
Br as validateReportTemplateDocument,
|
|
1694
|
+
Lo as validateTreeOptions,
|
|
1694
1695
|
ze as wrapText
|
|
1695
1696
|
};
|