@agile-team/mach-report 2.25.1 → 2.26.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.
Files changed (143) hide show
  1. package/README.md +14 -8
  2. package/dist/ExcelBindingWizard-B418l44t.js +1578 -0
  3. package/dist/ExcelBindingWizard-C4FGVsY_.cjs +1 -0
  4. package/dist/{ParamEditor-CGfaweYX.cjs → ParamEditor-BemJE8n8.cjs} +1 -1
  5. package/dist/{ParamEditor-B7YVD28E.js → ParamEditor-XvMtf_XQ.js} +2 -2
  6. package/dist/{ReportBatchPanel-BRJt0TXp.cjs → ReportBatchPanel-CbY4fvXD.cjs} +1 -1
  7. package/dist/{ReportBatchPanel-BTKHtLTW.js → ReportBatchPanel-Ds0R_uXn.js} +37 -37
  8. package/dist/{ReportLabelStudio-BvK_WBke.cjs → ReportLabelStudio-DuTwN5er.cjs} +1 -1
  9. package/dist/{ReportLabelStudio-CZwqyO3t.js → ReportLabelStudio-ZFy79eRv.js} +26 -26
  10. package/dist/ReportParamPanel-Chxu4MTx.cjs +1 -0
  11. package/dist/{ReportParamPanel-DGXzBzl2.js → ReportParamPanel-Czm3OPo_.js} +216 -205
  12. package/dist/ReportPreview-C9c0Rp7Y.js +7380 -0
  13. package/dist/ReportPreview-CIMR4ERo.cjs +6 -0
  14. package/dist/{ReportTemplateLibrary-ClwxhnC0.cjs → ReportTemplateLibrary-C6lByc69.cjs} +1 -1
  15. package/dist/{ReportTemplateLibrary-C7sB0Jay.js → ReportTemplateLibrary-XJVoTDIz.js} +1 -1
  16. package/dist/{RuleEditor-CsDGFaWz.js → RuleEditor-CeNFPeOc.js} +5 -5
  17. package/dist/{RuleEditor-D-OdaGdR.cjs → RuleEditor-gggUkEwB.cjs} +1 -1
  18. package/dist/{TemplateOutlinePanel-DAqR9zQi.cjs → TemplateOutlinePanel-B0e-umq2.cjs} +1 -1
  19. package/dist/{TemplateOutlinePanel-CXOT7d1r.js → TemplateOutlinePanel-BWN4Y9iz.js} +2 -2
  20. package/dist/{TemplateReusePanel-Dcfx3Hba.js → TemplateReusePanel-CR-4OHoU.js} +2 -2
  21. package/dist/{TemplateReusePanel-ygIi-Ajz.cjs → TemplateReusePanel-Cthig1S1.cjs} +1 -1
  22. package/dist/{TemplateReviewPanel-COU8FqPq.js → TemplateReviewPanel-BkWzyNL4.js} +2 -2
  23. package/dist/{TemplateReviewPanel-DyGULVxr.cjs → TemplateReviewPanel-D8o2gDaK.cjs} +1 -1
  24. package/dist/analytics.cjs +1 -1
  25. package/dist/analytics.js +5 -5
  26. package/dist/artifact-integrity.json +106 -102
  27. package/dist/{assets-C4MIvzQ4.js → assets-BFTP-0WR.js} +2 -2
  28. package/dist/{assets-BYdpkTIt.cjs → assets-CZiZhTf2.cjs} +1 -1
  29. package/dist/{auto-D7x7QsWD.js → auto-C7udkeAa.js} +89 -88
  30. package/dist/auto-CXd2E2aZ.cjs +1 -0
  31. package/dist/capabilities-D8UU2clQ.cjs +1 -0
  32. package/dist/{capabilities-CN_kSVjO.js → capabilities-g0a2j9Yy.js} +50 -46
  33. package/dist/{charts-Cjw5AYkg.cjs → charts-D-Vg-ak9.cjs} +1 -1
  34. package/dist/{charts-CxJZ0XaY.js → charts-D48XCefN.js} +1 -1
  35. package/dist/computed-BQgBrma-.cjs +1 -0
  36. package/dist/{computed-f3pOqWLX.js → computed-CH3NYPOW.js} +198 -188
  37. package/dist/{data-bar-Bfh54sT4.js → data-bar-DjOgTLqu.js} +1 -1
  38. package/dist/{dataset-DL83majE.js → dataset-B8oTsC6o.js} +69 -66
  39. package/dist/dataset-D3OsyzG1.cjs +1 -0
  40. package/dist/designer-COuSUxZ1.cjs +2 -0
  41. package/dist/designer-CT4mlrr0.js +7997 -0
  42. package/dist/designer.cjs +1 -1
  43. package/dist/designer.d.cts +83 -4
  44. package/dist/designer.d.ts +83 -4
  45. package/dist/designer.js +4 -4
  46. package/dist/{diagnostic-collector-gB07PHy2.js → diagnostic-collector-C-JBA016.js} +2 -2
  47. package/dist/dom-DgWc-DY1.js +452 -0
  48. package/dist/dom-Fk4NF-gN.cjs +1 -0
  49. package/dist/{encoding-Amq3XrtU.js → encoding-D480EM2r.js} +2 -2
  50. package/dist/{encoding-DRVXs5xm.cjs → encoding-tWc2Wn89.cjs} +1 -1
  51. package/dist/execution-result-7sG_mdcD.cjs +1 -0
  52. package/dist/execution-result-Ba65gieT.js +39 -0
  53. package/dist/{font-loader-p_SyTvqt.cjs → font-loader-BIxme_9g.cjs} +1 -1
  54. package/dist/{font-loader-D4NLIKJL.js → font-loader-CHmEwkHl.js} +1 -1
  55. package/dist/{grid-strokes-DkZEZvcI.js → grid-strokes-DsoICRjZ.js} +1 -1
  56. package/dist/import-range-BwT86Z3j.cjs +1 -0
  57. package/dist/import-range-D9p_blcb.js +98 -0
  58. package/dist/index.cjs +1 -1
  59. package/dist/index.d.cts +1 -1
  60. package/dist/index.d.ts +1 -1
  61. package/dist/index.js +25 -25
  62. package/dist/{json-snapshot-CBVWZvyC.js → json-snapshot-BZ0CIQln.js} +1142 -951
  63. package/dist/json-snapshot-DGFeI30h.cjs +2 -0
  64. package/dist/{matrix-b6T291xo.js → matrix-CB9TqTEy.js} +1 -1
  65. package/dist/{matrix-DUYPRL7t.cjs → matrix-CcqYOuq_.cjs} +1 -1
  66. package/dist/{pdf-DU8HelKd.js → pdf-DTR7fAIr.js} +3596 -3517
  67. package/dist/{pdf-C060D5UY.cjs → pdf-d9oJ6V0P.cjs} +49 -49
  68. package/dist/pdf.cjs +1 -1
  69. package/dist/pdf.js +2 -2
  70. package/dist/{plugin-DHe8y5pD.cjs → plugin-B7Bi-1te.cjs} +1 -1
  71. package/dist/{plugin-BdCplNe1.js → plugin-OKDFQFS4.js} +1 -1
  72. package/dist/{prefill-Buy4NJ15.js → prefill-C8fF91JB.js} +3 -3
  73. package/dist/{prefill-Cw4ZYGXZ.cjs → prefill-C_Bf_AMo.cjs} +1 -1
  74. package/dist/{prepared-BlNeOjoO.cjs → prepared-BLhV7vdE.cjs} +1 -1
  75. package/dist/{prepared-CBJ7BkK0.js → prepared-DhgQ0d-h.js} +7 -7
  76. package/dist/protocol-CZ-BILne.cjs +1 -0
  77. package/dist/{protocol-CB19KXGr.js → protocol-DHO91-Jt.js} +3 -3
  78. package/dist/{record-bindings-Cv7lFiof.js → record-bindings-DBrCu6zO.js} +3 -3
  79. package/dist/{record-bindings-B7djSjNs.cjs → record-bindings-KEs-DKCS.cjs} +1 -1
  80. package/dist/region-binding-workflow-FSyIZge8.js +882 -0
  81. package/dist/region-binding-workflow-ikpY1Kbw.cjs +3 -0
  82. package/dist/report-encoding-worker.cjs +1 -1
  83. package/dist/report-encoding-worker.js +1 -1
  84. package/dist/rich-text-layout-BYbIc3eJ.cjs +3 -0
  85. package/dist/rich-text-layout-BtygMWZC.js +96 -0
  86. package/dist/runtime-B5HG8poy.cjs +1 -0
  87. package/dist/runtime-BsvAqz4a.js +204 -0
  88. package/dist/sbom.cdx.json +1 -1
  89. package/dist/server-node.cjs +5 -5
  90. package/dist/server-node.js +2323 -2120
  91. package/dist/server.cjs +1 -1
  92. package/dist/server.d.cts +35 -0
  93. package/dist/server.d.ts +35 -0
  94. package/dist/server.js +340 -328
  95. package/dist/style.css +1 -1
  96. package/dist/{template-catalog-CM6U_RlD.js → template-catalog-BbrN9dgu.js} +5 -5
  97. package/dist/{template-catalog-Cj66M84u.cjs → template-catalog-DDH-5J57.cjs} +1 -1
  98. package/dist/{template-fragments-BDxdCuMD.js → template-fragments-CUTE8-_I.js} +3 -3
  99. package/dist/{template-fragments-DbKdxI1z.cjs → template-fragments-cyAQu7aw.cjs} +1 -1
  100. package/dist/{template-registry-B-AK1oam.cjs → template-registry-D24Z8aQf.cjs} +1 -1
  101. package/dist/{template-registry-DeVgwEZj.js → template-registry-PSuLsnyq.js} +4 -4
  102. package/dist/{template-serialization-CqQY4zDg.cjs → template-serialization-BOUidUlh.cjs} +1 -1
  103. package/dist/{template-serialization-CWmHq7lX.js → template-serialization-BgGWYV_1.js} +1 -1
  104. package/dist/{textwrap-BywMBMXM.js → textwrap-Bt_tnI6V.js} +1 -1
  105. package/dist/vue/async.d.cts +46 -3
  106. package/dist/vue/async.d.ts +46 -3
  107. package/dist/vue/index.d.cts +217 -25
  108. package/dist/vue/index.d.ts +217 -25
  109. package/dist/vue-async.cjs +1 -1
  110. package/dist/vue-async.js +3 -3
  111. package/dist/vue.cjs +1 -1
  112. package/dist/vue.js +434 -202
  113. package/dist/workbook-session-BJfZVp4q.cjs +29 -0
  114. package/dist/{workbook-session-B6hRjTyX.js → workbook-session-DRnMjIFK.js} +2377 -2350
  115. package/dist/worker.cjs +1 -1
  116. package/dist/worker.js +4 -4
  117. package/dist/xlsx.cjs +1 -1
  118. package/dist/xlsx.d.cts +27 -2
  119. package/dist/xlsx.d.ts +27 -2
  120. package/dist/xlsx.js +15 -15
  121. package/package.json +1 -1
  122. package/dist/ExcelBindingWizard-bs3F4dD8.js +0 -1486
  123. package/dist/ExcelBindingWizard-jSdjBtWw.cjs +0 -1
  124. package/dist/ReportParamPanel-B27IGJjk.cjs +0 -1
  125. package/dist/ReportPreview-CnxaDTCO.js +0 -7170
  126. package/dist/ReportPreview-DqFBcsJQ.cjs +0 -6
  127. package/dist/auto-mPK9W0y5.cjs +0 -1
  128. package/dist/capabilities-D4nfhcvB.cjs +0 -1
  129. package/dist/computed-DK6BruFz.cjs +0 -1
  130. package/dist/dataset-IrlXbUvh.cjs +0 -1
  131. package/dist/designer-B597ZdC0.js +0 -7595
  132. package/dist/designer-DFIdv_n7.cjs +0 -2
  133. package/dist/dom-CXWMmwh-.cjs +0 -1
  134. package/dist/dom-DxdCMLzs.js +0 -452
  135. package/dist/json-snapshot-DCFEtfFw.cjs +0 -2
  136. package/dist/protocol-BU_4sXP0.cjs +0 -1
  137. package/dist/region-binding-workflow-EYxvUYJ-.js +0 -977
  138. package/dist/region-binding-workflow-NdkMSFCh.cjs +0 -3
  139. package/dist/rich-text-layout-Ch_N0Ubu.js +0 -52
  140. package/dist/rich-text-layout-yJGuThtC.cjs +0 -3
  141. package/dist/runtime-B5d_lQNQ.js +0 -227
  142. package/dist/runtime-BRx8Agqr.cjs +0 -1
  143. package/dist/workbook-session-BclW7KKH.cjs +0 -29
package/dist/vue.js CHANGED
@@ -1,26 +1,256 @@
1
- import { createReportSource as O, ReportCellEditError as T } from "@agile-team/mach-report";
1
+ import { createReportSource as le, ReportCellEditError as oe } from "@agile-team/mach-report";
2
2
  export * from "@agile-team/mach-report";
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
- import { M as _ } from "./injection-keys-e85udZCp.js";
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-BdCplNe1.js";
10
- import { shallowRef as M, computed as D, inject as b } from "vue";
11
- import { v as k } from "./json-snapshot-CBVWZvyC.js";
12
- import { z as F } from "./diagnostic-collector-gB07PHy2.js";
13
- function J(e) {
14
- const r = O(e), o = async (t) => {
15
- if (t.reportIds.length === 0) throw new h("缺少报表 ID");
16
- for (const n of t.reportIds)
3
+ import { c as A, R as fe, a as de, b as ge, P as Y, r as pe } from "./ReportPreview-C9c0Rp7Y.js";
4
+ import { d as mt, e as vt, _ as yt, f as ht, g as wt, h as Et, i as Pt, j as bt, k as Rt, l as Ct, m as St, n as _t, o as Tt, p as At, q as xt, s as It, t as Ot, u as Dt, v as Mt, w as kt, x as Nt } from "./ReportPreview-C9c0Rp7Y.js";
5
+ import { defineComponent as me, computed as D, shallowRef as j, ref as O, watch as ve, onMounted as ye, onUnmounted as he, openBlock as k, createElementBlock as N, normalizeStyle as we, unref as Ee, createElementVNode as J, toDisplayString as F, createCommentVNode as $, createBlock as Pe, withCtx as X, createVNode as Z, inject as be } from "vue";
6
+ import { a as Re } from "./execution-result-Ba65gieT.js";
7
+ import { z as T, w as B, A as Ce } from "./diagnostic-collector-C-JBA016.js";
8
+ import { M as S, u as Se, r as _e, D as Te, t as Ae } from "./ReportParamPanel-Czm3OPo_.js";
9
+ import { a as Lt, b as Ut, c as jt, d as Bt, e as qt, P as Vt, R as Wt, S as Gt, f as zt, g as Ht, n as Kt, p as Yt, h as Jt, i as $t, j as Xt, s as Zt, k as Qt } from "./ReportParamPanel-Czm3OPo_.js";
10
+ import { s as Q, v as xe } from "./json-snapshot-BZ0CIQln.js";
11
+ import { b as se } from "./template-registry-PSuLsnyq.js";
12
+ import { _ as Ie } from "./_plugin-vue_export-helper-8SL1F89S.js";
13
+ import { M as Oe } from "./injection-keys-e85udZCp.js";
14
+ import { a as tr, b as rr, c as nr } from "./injection-keys-e85udZCp.js";
15
+ import { M as sr, m as ar } from "./plugin-OKDFQFS4.js";
16
+ const De = 3, Me = 8e6, ke = 16e6, Ne = 7;
17
+ function P(e) {
18
+ return new S("validate", e);
19
+ }
20
+ function Fe(e) {
21
+ return !e || ![e.scope, e.id, e.version].every((t) => typeof t == "string" && !!t.trim() && t.length <= 256) || !["building", "complete", "failed"].includes(e.state) || !Number.isSafeInteger(e.pageCount) || e.pageCount < 0 || e.pageCount > 1e5 || e.revision !== e.pageCount + (e.state === "building" ? 0 : 1) || !Number.isSafeInteger(e.bytes) || e.bytes < 0 || !e.plan || "pages" in e.plan || !se({ ...e.plan, pages: [] }).ok ? !1 : e.state !== "failed" || !!e.failure && ["cancelled", "generation"].includes(e.failure.code) && typeof e.failure.message == "string" && e.failure.message.length <= 1024;
22
+ }
23
+ function q(e, t) {
24
+ if (Object.is(e, t)) return !0;
25
+ if (!e || !t || typeof e != "object" || typeof t != "object" || Array.isArray(e) !== Array.isArray(t)) return !1;
26
+ const o = e, r = t, n = Object.keys(o);
27
+ return n.length === Object.keys(r).length && n.every((a) => Object.prototype.hasOwnProperty.call(r, a) && q(o[a], r[a]));
28
+ }
29
+ function Le(e, t) {
30
+ if (t) {
31
+ if (e.scope !== t.scope || e.id !== t.id || e.version !== t.version) throw P("文档版本已变化,请刷新后重新打开");
32
+ if (e.revision < t.revision || t.state !== "building" && (e.revision !== t.revision || e.state !== t.state)) throw P("文档修订发生回退或终态被修改");
33
+ if (e.pageCount < t.pageCount || e.bytes < t.bytes || !q(e.plan, t.plan)) throw P("文档已提交边界回退或计划头被修改");
34
+ if (t.state !== "building" && !q(e, t)) throw P("终态文档清单被修改");
35
+ }
36
+ }
37
+ function Ue(e, t, o) {
38
+ const r = Q(e, { maxBytes: Me, check: () => T(t.signal), error: (l, c) => P(c) });
39
+ if (!Fe(r.manifest) || !Array.isArray(r.pages)) throw P("文档页窗口清单无效");
40
+ const { manifest: n, pages: a, nextPage: E } = r;
41
+ if (Q(n, { maxBytes: 1e6, error: (l, c) => P(c) }), Le(n, o), t.version !== void 0 && t.version !== n.version) throw P("文档返回了不同版本");
42
+ const d = Math.min(t.fromPage, n.pageCount);
43
+ if (a.length > t.limit || E !== d + a.length || E > n.pageCount || d < n.pageCount && a.length === 0) throw P("文档页窗口边界无效");
44
+ if (!se({ ...n.plan, pages: a }).ok) throw P("文档页内容无效");
45
+ return r;
46
+ }
47
+ function ee(e) {
48
+ const t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
49
+ let r, n = 0, a = 0, E = !1;
50
+ function d(s, g) {
51
+ const f = new TextEncoder().encode(JSON.stringify(g)).byteLength, w = t.get(s);
52
+ for (w && (n -= w.bytes), t.delete(s), t.set(s, { page: g, bytes: f }), n += f; t.size > Ne || n > ke; ) {
53
+ const m = t.keys().next().value;
54
+ n -= t.get(m).bytes, t.delete(m);
55
+ }
56
+ }
57
+ function l(s) {
58
+ const g = o.get(s);
59
+ if (g) return g;
60
+ const f = new AbortController(), w = a, m = { fromPage: s, limit: De, version: r?.version, signal: f.signal }, v = { controller: f, users: 0, promise: B(Promise.resolve().then(() => (T(f.signal), e.load({ ...m }))), f.signal).then((y) => {
61
+ if (T(f.signal), w !== a) throw P("文档加载已被替换");
62
+ const b = Ue(y, m, r);
63
+ return r = b.manifest, b.pages.forEach((_, h) => d(s + h, _)), b;
64
+ }).finally(() => {
65
+ o.get(s) === v && o.delete(s);
66
+ }) };
67
+ return o.set(s, v), v;
68
+ }
69
+ async function c(s, g) {
70
+ if (T(g), E || !Number.isSafeInteger(s) || s < 0 || s >= 1e5) throw P("文档页索引无效或预览已关闭");
71
+ const f = t.get(s);
72
+ if (f && r)
73
+ return t.delete(s), t.set(s, f), A({ manifest: r, page: f.page });
74
+ const w = s, m = l(w);
75
+ m.users++;
76
+ try {
77
+ const v = await B(m.promise, g);
78
+ if (T(g), s >= v.manifest.pageCount && (v.manifest.pageCount > 0 || s > 0)) throw P("页码超出文档范围");
79
+ const y = v.pages[s - w];
80
+ if (!y && s < v.manifest.pageCount) throw P("目标页未返回,请缩小页窗口");
81
+ return A({ manifest: v.manifest, ...y ? { page: y } : {} });
82
+ } finally {
83
+ --m.users === 0 && o.get(w) === m && (o.delete(w), m.controller.abort());
84
+ }
85
+ }
86
+ function p() {
87
+ a++;
88
+ for (const s of o.values()) s.controller.abort();
89
+ o.clear(), t.clear(), n = 0, r = void 0;
90
+ }
91
+ return { load: c, reset: p, dispose: () => {
92
+ p(), E = !0;
93
+ }, get cachedPages() {
94
+ return t.size;
95
+ }, get cachedBytes() {
96
+ return n;
97
+ } };
98
+ }
99
+ const je = ["aria-busy"], Be = {
100
+ class: "mrp-document-status",
101
+ role: "status"
102
+ }, qe = {
103
+ key: 0,
104
+ class: "mrp-document-error",
105
+ role: "alert"
106
+ }, Ve = /* @__PURE__ */ me({
107
+ __name: "ReportDocumentPreview",
108
+ props: {
109
+ source: {},
110
+ height: { default: "100vh" },
111
+ messages: { default: void 0 },
112
+ preset: { default: void 0 }
113
+ },
114
+ emits: ["loaded", "error", "exported"],
115
+ setup(e, { expose: t, emit: o }) {
116
+ const r = e, n = o, a = Se(), E = D(() => _e(a.value, r.preset)), d = D(() => ({ ...Te, ...E.value.messages, ...r.messages })), l = j(), c = j(), p = O(1), s = O(!1), g = O(!1), f = O(""), w = O(!1);
117
+ let m = ee(r.source), v = 0, y = !1, b, _;
118
+ const h = async () => A(c.value), W = O(""), G = D(() => !!r.source.export && l.value?.state === "complete" && l.value.pageCount > 0 && !w.value), ie = D(() => {
119
+ if (s.value) return d.value.documentLoading;
120
+ const i = l.value;
121
+ return i ? (i.state === "building" ? d.value.documentBuilding : i.state === "failed" ? d.value.documentFailed : d.value.documentComplete).replace("{pages}", String(i.pageCount)) : "";
122
+ });
123
+ function L(i) {
124
+ f.value = i instanceof Error ? i.message : String(i), n("error", f.value);
125
+ }
126
+ function M() {
127
+ v++, b?.abort(), _?.abort(), b = void 0, _ = void 0, s.value = !1, g.value = !1;
128
+ }
129
+ function ce(i) {
130
+ if (i.target instanceof Element && i.target.closest("input,textarea,select,[contenteditable=true]") || i.ctrlKey || i.metaKey || i.altKey || s.value || g.value || !l.value?.pageCount) return;
131
+ const C = { PageDown: p.value + 1, PageUp: p.value - 1, Home: 1, End: l.value.pageCount }[i.key];
132
+ C !== void 0 && (i.preventDefault(), i.stopPropagation(), x(Math.max(1, Math.min(C, l.value.pageCount))));
133
+ }
134
+ async function x(i) {
135
+ if (!Number.isSafeInteger(i) || i < 1 || l.value && i > l.value.pageCount) throw new S("param", d.value.pageJumpInvalid ?? "请输入有效页码");
136
+ b?.abort();
137
+ const R = new AbortController(), C = ++v;
138
+ b = R, s.value = !0, f.value = "";
139
+ try {
140
+ const u = await m.load(i - 1, R.signal);
141
+ if (T(R.signal), C !== v) return;
142
+ l.value = u.manifest, p.value = i, w.value = !1, c.value = { ...u.manifest.plan, pages: u.page ? [u.page] : [] }, W.value = JSON.stringify([u.manifest.scope, u.manifest.id, u.manifest.version, i]), n("loaded", A(u.manifest));
143
+ } catch (u) {
144
+ !R.signal.aborted && C === v && (w.value = !0, L(u));
145
+ } finally {
146
+ C === v && (s.value = !1, b = void 0);
147
+ }
148
+ }
149
+ async function z() {
150
+ M(), m.reset(), w.value = !!c.value, l.value = void 0, await x(1);
151
+ }
152
+ async function H(i) {
153
+ const R = r.source, C = l.value;
154
+ if (!R.export || !C || !G.value || s.value || g.value) throw new S("export", d.value.documentFullExport);
155
+ const u = new AbortController();
156
+ _ = u, g.value = !0;
157
+ try {
158
+ const I = await B(R.export({ version: C.version, format: i, signal: u.signal }), u.signal);
159
+ if (T(u.signal), Re(I, i), R !== r.source || l.value?.version !== C.version || I.stats.pages !== C.pageCount) throw new S("export", "完整文档导出的版本或页数不一致");
160
+ return n("exported", I), I;
161
+ } finally {
162
+ _ === u && (g.value = !1, _ = void 0);
163
+ }
164
+ }
165
+ async function ue(i) {
166
+ if (i !== "pdf" && i !== "xlsx") return;
167
+ const R = v, C = r.source;
168
+ try {
169
+ const u = await H(i), I = new Blob([Uint8Array.from(u.bytes).buffer], { type: u.contentType }), K = URL.createObjectURL(I), U = document.createElement("a");
170
+ U.href = K, U.download = `report.${i}`, U.click(), setTimeout(() => URL.revokeObjectURL(K), 1e4);
171
+ } catch (u) {
172
+ if (R !== v || C !== r.source || u && typeof u == "object" && "name" in u && u.name === "AbortError") return;
173
+ L(u);
174
+ }
175
+ }
176
+ return ve(() => r.source, () => {
177
+ M(), m.dispose(), m = ee(r.source), c.value = void 0, l.value = void 0, y && x(1);
178
+ }), ye(() => {
179
+ y = !0, x(1);
180
+ }), he(() => {
181
+ y = !1, M(), m.dispose();
182
+ }), t({ reload: z, gotoPage: x, cancel: M, export: H, state: D(() => A({ manifest: l.value ?? null, currentPage: p.value, loading: s.value, exporting: g.value, error: f.value })) }), (i, R) => (k(), N("section", {
183
+ class: "mrp-document",
184
+ style: we({ ...Ee(Ae)(E.value.theme), height: e.height }),
185
+ "aria-busy": s.value || g.value,
186
+ onKeydownCapture: ce
187
+ }, [
188
+ J("div", Be, [
189
+ J("span", null, F(ie.value), 1),
190
+ s.value || g.value ? (k(), N("button", {
191
+ key: 0,
192
+ type: "button",
193
+ onClick: M
194
+ }, F(d.value.documentCancel), 1)) : (k(), N("button", {
195
+ key: 1,
196
+ type: "button",
197
+ onClick: z
198
+ }, F(d.value.documentRefresh), 1))
199
+ ]),
200
+ f.value ? (k(), N("div", qe, F(f.value), 1)) : $("", !0),
201
+ c.value ? (k(), Pe(fe, {
202
+ key: 1,
203
+ "report-id": W.value,
204
+ fetcher: h,
205
+ height: "100%",
206
+ messages: d.value,
207
+ preset: e.preset,
208
+ editable: !1,
209
+ "excel-import": !1,
210
+ prefill: !1,
211
+ "data-comparison": !1,
212
+ "show-params": !1,
213
+ "show-export": G.value,
214
+ "show-print": !1,
215
+ "show-pdf-window": !1,
216
+ "show-settings": !1,
217
+ toolbar: { search: !1, thumbnails: !1, exportFormats: [] },
218
+ interaction: { navigation: !1, calculations: !1 },
219
+ onError: L
220
+ }, {
221
+ export: X(() => [
222
+ Z(ge, {
223
+ messages: d.value,
224
+ formats: ["pdf", "xlsx"],
225
+ busy: s.value || g.value,
226
+ onExport: ue
227
+ }, null, 8, ["messages", "busy"])
228
+ ]),
229
+ pagination: X(() => [
230
+ Z(de, {
231
+ "page-count": l.value?.pageCount ?? 0,
232
+ "current-page": p.value,
233
+ messages: d.value,
234
+ busy: s.value || g.value,
235
+ onGoto: x
236
+ }, null, 8, ["page-count", "current-page", "messages", "busy"])
237
+ ]),
238
+ _: 1
239
+ }, 8, ["report-id", "messages", "preset", "show-export"])) : $("", !0)
240
+ ], 44, je));
241
+ }
242
+ }), ct = /* @__PURE__ */ Ie(Ve, [["__scopeId", "data-v-69238bdb"]]);
243
+ function ut(e) {
244
+ const t = le(e), o = async (r) => {
245
+ if (r.reportIds.length === 0) throw new Y("缺少报表 ID");
246
+ for (const n of r.reportIds)
17
247
  if (!Object.prototype.hasOwnProperty.call(e, n) || !e[n])
18
- throw new h(`本地模板 ${n} 不存在`);
19
- return r(t);
248
+ throw new Y(`本地模板 ${n} 不存在`);
249
+ return t(r);
20
250
  };
21
- return o.getParamDefs = r.getParamDefs, o;
251
+ return o.getParamDefs = t.getParamDefs, o;
22
252
  }
23
- const L = Object.freeze({
253
+ const We = Object.freeze({
24
254
  loading: !1,
25
255
  hasPlan: !1,
26
256
  pageCount: 0,
@@ -32,300 +262,302 @@ const L = Object.freeze({
32
262
  error: null,
33
263
  pdfFont: Object.freeze({ status: "unchecked", fontUrl: "" })
34
264
  });
35
- function Z() {
36
- const e = M(null), r = () => e.value?.state ?? L, o = Object.freeze({
265
+ function lt() {
266
+ const e = j(null), t = () => e.value?.state ?? We, o = Object.freeze({
37
267
  get loading() {
38
- return r().loading;
268
+ return t().loading;
39
269
  },
40
270
  get stale() {
41
- return r().stale ?? !1;
271
+ return t().stale ?? !1;
42
272
  },
43
273
  get hasPlan() {
44
- return r().hasPlan;
274
+ return t().hasPlan;
45
275
  },
46
276
  get pageCount() {
47
- return r().pageCount;
277
+ return t().pageCount;
48
278
  },
49
279
  get currentPage() {
50
- return r().currentPage;
280
+ return t().currentPage;
51
281
  },
52
282
  get exporting() {
53
- return r().exporting;
283
+ return t().exporting;
54
284
  },
55
285
  get printing() {
56
- return r().printing;
286
+ return t().printing;
57
287
  },
58
288
  get canExport() {
59
- return r().canExport;
289
+ return t().canExport;
60
290
  },
61
291
  get canPrint() {
62
- return r().canPrint;
292
+ return t().canPrint;
63
293
  },
64
294
  get error() {
65
- return r().error;
295
+ return t().error;
66
296
  },
67
297
  get pdfFont() {
68
- return r().pdfFont;
298
+ return t().pdfFont;
69
299
  },
70
300
  get editing() {
71
- return r().editing ?? !1;
301
+ return t().editing ?? !1;
72
302
  },
73
303
  get saving() {
74
- return r().saving ?? !1;
304
+ return t().saving ?? !1;
75
305
  },
76
306
  get importing() {
77
- return r().importing ?? !1;
307
+ return t().importing ?? !1;
78
308
  },
79
309
  get dirty() {
80
- return r().dirty ?? !1;
310
+ return t().dirty ?? !1;
81
311
  },
82
312
  get pendingLocalChanges() {
83
- return r().pendingLocalChanges ?? !1;
313
+ return t().pendingLocalChanges ?? !1;
84
314
  },
85
315
  get task() {
86
- return r().task ?? null;
316
+ return t().task ?? null;
87
317
  },
88
318
  get diagnostics() {
89
- return r().diagnostics ?? [];
319
+ return t().diagnostics ?? [];
90
320
  },
91
321
  get reportIds() {
92
- return r().reportIds ?? [];
322
+ return t().reportIds ?? [];
93
323
  },
94
324
  get params() {
95
- return r().params ?? {};
325
+ return t().params ?? {};
96
326
  },
97
327
  get canUndo() {
98
- return r().canUndo ?? !1;
328
+ return t().canUndo ?? !1;
99
329
  },
100
330
  get canRedo() {
101
- return r().canRedo ?? !1;
331
+ return t().canRedo ?? !1;
102
332
  },
103
333
  get changeCount() {
104
- return r().changeCount ?? 0;
334
+ return t().changeCount ?? 0;
105
335
  },
106
336
  get selection() {
107
- return r().selection ?? null;
337
+ return t().selection ?? null;
108
338
  }
109
339
  });
110
- function t() {
340
+ function r() {
111
341
  if (!e.value)
112
- throw new d("config", "报表预览尚未挂载,请在 ready 后调用控制器");
342
+ throw new S("config", "报表预览尚未挂载,请在 ready 后调用控制器");
113
343
  return e.value;
114
344
  }
115
345
  return {
116
346
  ref(n) {
117
- const s = n;
118
- 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;
347
+ const a = n;
348
+ e.value = a && typeof a.reload == "function" && typeof a.print == "function" && typeof a.exportAs == "function" && typeof a.openPdfWindow == "function" && typeof a.gotoPage == "function" && typeof a.setParams == "function" ? a : null;
119
349
  },
120
350
  ready: D(() => e.value !== null),
121
351
  state: o,
122
352
  async checkPdfFont() {
123
- const n = t();
353
+ const n = r();
124
354
  return n.checkPdfFont ? n.checkPdfFont() : { status: "unverified", fontUrl: "", message: "旧自定义控制器未提供字体检查,请由宿主确认字体配置" };
125
355
  },
126
356
  cancelTask() {
127
- t().cancelTask?.();
357
+ r().cancelTask?.();
128
358
  },
129
359
  async confirmDiscard(n) {
130
- return await t().confirmDiscard?.(n) ?? !0;
360
+ return await r().confirmDiscard?.(n) ?? !0;
131
361
  },
132
362
  getOutputDiagnostics(n) {
133
- return t().getOutputDiagnostics?.(n) ?? [];
363
+ return r().getOutputDiagnostics?.(n) ?? [];
134
364
  },
135
365
  async reload() {
136
- await t().reload();
366
+ await r().reload();
137
367
  },
138
368
  async print() {
139
- await t().print();
369
+ await r().print();
140
370
  },
141
371
  async exportAs(n) {
142
- await t().exportAs(n);
372
+ await r().exportAs(n);
143
373
  },
144
374
  openPdfWindow() {
145
- t().openPdfWindow();
375
+ r().openPdfWindow();
146
376
  },
147
377
  gotoPage(n) {
148
- t().gotoPage(n);
378
+ r().gotoPage(n);
149
379
  },
150
- async setParams(n, s) {
151
- await t().setParams(n, s);
380
+ async setParams(n, a) {
381
+ await r().setParams(n, a);
152
382
  },
153
- async importExcel(n, s) {
154
- const f = t();
155
- if (!f.importExcel) throw new d("config", "旧自定义控制器未提供 Excel 导入");
156
- return f.importExcel(n, s);
383
+ async importExcel(n, a) {
384
+ const E = r();
385
+ if (!E.importExcel) throw new S("config", "旧自定义控制器未提供 Excel 导入");
386
+ return E.importExcel(n, a);
157
387
  },
158
388
  getPlan() {
159
- return t().getPlan?.() ?? null;
389
+ return r().getPlan?.() ?? null;
160
390
  },
161
391
  getChanges() {
162
- return t().getChanges?.() ?? [];
163
- },
164
- getDifferences: () => t().getDifferences?.() ?? [],
165
- undo: async () => await t().undo?.() ?? !1,
166
- redo: async () => await t().redo?.() ?? !1,
167
- restoreChanges: async () => await t().restoreChanges?.() ?? !1,
168
- getSelection: () => t().getSelection?.() ?? null,
169
- focusCell: async (n, s) => await t().focusCell?.(n, s) ?? !1,
170
- focusField: async (n) => await t().focusField?.(n) ?? !1,
171
- copySelection: () => t().copySelection?.() ?? "",
172
- pasteSelection: async (n) => await t().pasteSelection?.(n) ?? !1
392
+ return r().getChanges?.() ?? [];
393
+ },
394
+ getDifferences: () => r().getDifferences?.() ?? [],
395
+ undo: async () => await r().undo?.() ?? !1,
396
+ redo: async () => await r().redo?.() ?? !1,
397
+ restoreChanges: async () => await r().restoreChanges?.() ?? !1,
398
+ getSelection: () => r().getSelection?.() ?? null,
399
+ focusCell: async (n, a) => await r().focusCell?.(n, a) ?? !1,
400
+ focusField: async (n) => await r().focusField?.(n) ?? !1,
401
+ copySelection: () => r().copySelection?.() ?? "",
402
+ pasteSelection: async (n) => await r().pasteSelection?.(n) ?? !1
173
403
  };
174
404
  }
175
- function Q() {
176
- return b(_, null);
405
+ function ft() {
406
+ return be(Oe, null);
177
407
  }
178
- function P(e) {
408
+ function V(e) {
179
409
  return !!e && typeof e == "object" && !Array.isArray(e);
180
410
  }
181
- function q(e) {
182
- return Array.isArray(e) && e.every((r) => P(r) && typeof r.code == "string" && typeof r.message == "string" && ["info", "warning", "error"].includes(r.severity) && (r.path === void 0 || typeof r.path == "string") && k(r));
411
+ function Ge(e) {
412
+ return Array.isArray(e) && e.every((t) => V(t) && typeof t.code == "string" && typeof t.message == "string" && ["info", "warning", "error"].includes(t.severity) && (t.path === void 0 || typeof t.path == "string") && xe(t));
183
413
  }
184
- function I(e) {
414
+ function ae(e) {
185
415
  return typeof e == "number" && Number.isFinite(e) && (!Number.isInteger(e) || Number.isSafeInteger(e));
186
416
  }
187
- function N(e) {
188
- return e == null || typeof e == "string" || typeof e == "boolean" || I(e);
417
+ function ze(e) {
418
+ return e == null || typeof e == "string" || typeof e == "boolean" || ae(e);
189
419
  }
190
- function U(e) {
191
- return e === void 0 || typeof e == "string" && !!e.trim() || I(e);
420
+ function He(e) {
421
+ return e === void 0 || typeof e == "string" && !!e.trim() || ae(e);
192
422
  }
193
- function V(e, r) {
194
- return Array.isArray(e) && e.every((o) => P(o) && Number.isSafeInteger(o.editIndex) && o.editIndex >= 0 && o.editIndex < r && typeof o.code == "string" && typeof o.message == "string" && N(o.currentValue) && U(o.revision));
423
+ function Ke(e, t) {
424
+ return Array.isArray(e) && e.every((o) => V(o) && Number.isSafeInteger(o.editIndex) && o.editIndex >= 0 && o.editIndex < t && typeof o.code == "string" && typeof o.message == "string" && ze(o.currentValue) && He(o.revision));
195
425
  }
196
- function j(e, r) {
426
+ function Ye(e, t) {
197
427
  let o;
198
- if (!P(e) || typeof e.revision != "string" || !e.revision.trim() ? o = "非空 revision(请先在适配器解包业务响应)" : e.sourceToken !== void 0 && typeof e.sourceToken != "string" ? o = "字符串 sourceToken" : e.diagnostics !== void 0 && !q(e.diagnostics) ? o = "结构化 diagnostics" : e.conflicts !== void 0 && !V(e.conflicts, r) && (o = "有效 editIndex/code/message/currentValue/revision conflicts"), o) throw new d("edit", `ReportProvider.save 必须返回${o};服务器可能已提交,请重新查询确认后再编辑`);
428
+ if (!V(e) || typeof e.revision != "string" || !e.revision.trim() ? o = "非空 revision(请先在适配器解包业务响应)" : e.sourceToken !== void 0 && typeof e.sourceToken != "string" ? o = "字符串 sourceToken" : e.diagnostics !== void 0 && !Ge(e.diagnostics) ? o = "结构化 diagnostics" : e.conflicts !== void 0 && !Ke(e.conflicts, t) && (o = "有效 editIndex/code/message/currentValue/revision conflicts"), o) throw new S("edit", `ReportProvider.save 必须返回${o};服务器可能已提交,请重新查询确认后再编辑`);
199
429
  }
200
- function w(e) {
430
+ function te(e) {
201
431
  return typeof e == "function" ? e() : e;
202
432
  }
203
- function S(e, r) {
204
- const o = new Set(e.flatMap((t) => t.source?.[r] === void 0 ? [] : [String(t.source[r])]));
433
+ function re(e, t) {
434
+ const o = new Set(e.flatMap((r) => r.source?.[t] === void 0 ? [] : [String(r.source[t])]));
205
435
  return o.size === 1 ? [...o][0] : void 0;
206
436
  }
207
- function v(e, r, o, t, n, s = !1) {
208
- return typeof e == "function" ? e() : s ? t ?? n?.[o] ?? S(r, o) ?? e : S(r, o) ?? t ?? e ?? n?.[o];
437
+ function ne(e, t, o, r, n, a = !1) {
438
+ return typeof e == "function" ? e() : a ? r ?? n?.[o] ?? re(t, o) ?? e : re(t, o) ?? r ?? e ?? n?.[o];
209
439
  }
210
- function G(e, r, o) {
211
- const t = r.query, n = e.reportId === void 0;
212
- if (n && (!t || t.reportIds.length !== 1)) throw new d("config", "自动业务保存需要当前成功查询的单个报表上下文");
213
- const s = e.reportId === void 0 ? t.reportIds[0] : w(e.reportId);
214
- if (!s.trim()) throw new d("config", "业务保存缺少报表 ID");
215
- if (n && new Set(o.map((i) => i.source?.sourceScope)).size > 1) throw new T("atomic");
216
- const f = { ...w(e.params ?? t?.params ?? {}) }, l = t?.sources.filter((i) => i.reportId === s) ?? [], a = l.length === 1 ? l[0] : void 0;
440
+ function Je(e, t, o) {
441
+ const r = t.query, n = e.reportId === void 0;
442
+ if (n && (!r || r.reportIds.length !== 1)) throw new S("config", "自动业务保存需要当前成功查询的单个报表上下文");
443
+ const a = e.reportId === void 0 ? r.reportIds[0] : te(e.reportId);
444
+ if (!a.trim()) throw new S("config", "业务保存缺少报表 ID");
445
+ if (n && new Set(o.map((c) => c.source?.sourceScope)).size > 1) throw new oe("atomic");
446
+ const E = { ...te(e.params ?? r?.params ?? {}) }, d = r?.sources.filter((c) => c.reportId === a) ?? [], l = d.length === 1 ? d[0] : void 0;
217
447
  return {
218
- reportId: s,
219
- params: f,
220
- source: a,
448
+ reportId: a,
449
+ params: E,
450
+ source: l,
221
451
  automatic: n,
222
- identity: JSON.stringify([s, f, t?.queryId ?? t?.sources])
452
+ identity: JSON.stringify([a, E, r?.queryId, r?.sources])
223
453
  };
224
454
  }
225
- function z(e) {
455
+ function $e(e) {
226
456
  return e.requestId ?? globalThis.crypto?.randomUUID?.() ?? `mr-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
227
457
  }
228
- function ee(e, r = {}) {
229
- if (!e.save) throw new d("config", "ReportProvider.save 未配置,无法启用业务保存");
230
- let o = "", t, n, s = 0;
231
- function f(a, i, g) {
232
- a.conflicts?.length || i !== o || g !== s || (t = a.revision, n = a.sourceToken);
458
+ function Xe(e, t = {}) {
459
+ if (!e.save) throw new S("config", "ReportProvider.save 未配置,无法启用业务保存");
460
+ let o = "", r, n, a = 0;
461
+ function E(c, p, s) {
462
+ c.conflicts?.length || p !== o || s !== a || (r = c.revision, c.sourceToken !== void 0 && (n = c.sourceToken));
233
463
  }
234
- async function l(a, i) {
235
- if (i.signal.aborted) throw i.signal.reason ?? new DOMException("Aborted", "AbortError");
236
- const { reportId: g, params: A, identity: p, source: E, automatic: R } = G(r, i, a.edits), x = ++s;
237
- if (p !== o && (o = p, t = void 0, n = void 0), r.requireSource !== !1 && a.edits.some((c) => !c.source)) throw new T("missing");
238
- const u = await e.save({
239
- reportId: g,
240
- params: A,
241
- signal: i.signal,
242
- requestId: a.requestId,
243
- action: i.action,
244
- edits: y(a.edits),
245
- expectedRevision: v(r.expectedRevision, a.edits, "revision", t, E, R),
246
- sourceToken: v(r.sourceToken, a.edits, "sourceToken", n, E, R)
464
+ async function d(c, p) {
465
+ if (p.signal.aborted) throw p.signal.reason ?? new DOMException("Aborted", "AbortError");
466
+ const { reportId: s, params: g, identity: f, source: w, automatic: m } = Je(t, p, c.edits), v = ++a;
467
+ if (f !== o && (o = f, r = void 0, n = void 0), t.requireSource !== !1 && c.edits.some((h) => !h.source)) throw new oe("missing");
468
+ const y = await e.save({
469
+ reportId: s,
470
+ params: g,
471
+ signal: p.signal,
472
+ requestId: c.requestId,
473
+ action: p.action,
474
+ edits: A(c.edits),
475
+ expectedRevision: ne(t.expectedRevision, c.edits, "revision", r, w, m),
476
+ sourceToken: ne(t.sourceToken, c.edits, "sourceToken", n, w, m)
247
477
  });
248
- if (i.signal.aborted) throw i.signal.reason ?? new DOMException("Aborted", "AbortError");
249
- j(u, a.edits.length), u.diagnostics?.forEach((c) => F(() => r.onDiagnostic?.(c)));
250
- const m = u.diagnostics?.filter((c) => c.severity === "error");
251
- if (m?.length) throw new d("edit", m.map((c) => c.message).join(";"), { diagnostics: m });
252
- const C = u.conflicts?.map((c) => ({
253
- source: a.edits[c.editIndex]?.source,
254
- address: a.edits[c.editIndex]?.address,
255
- message: c.message,
256
- ...c.currentValue === void 0 ? {} : { currentValue: c.currentValue },
257
- revision: c.revision ?? u.revision
478
+ if (p.signal.aborted) throw p.signal.reason ?? new DOMException("Aborted", "AbortError");
479
+ Ye(y, c.edits.length), y.diagnostics?.forEach((h) => Ce(() => t.onDiagnostic?.(h)));
480
+ const b = y.diagnostics?.filter((h) => h.severity === "error");
481
+ if (b?.length) throw new S("edit", b.map((h) => h.message).join(";"), { diagnostics: b });
482
+ const _ = y.conflicts?.map((h) => ({
483
+ source: c.edits[h.editIndex]?.source,
484
+ address: c.edits[h.editIndex]?.address,
485
+ message: h.message,
486
+ ...h.currentValue === void 0 ? {} : { currentValue: h.currentValue },
487
+ revision: h.revision ?? y.revision
258
488
  }));
259
- return f(u, p, x), { revision: u.revision, sourceToken: u.sourceToken, conflicts: C };
489
+ return E(y, f, v), { revision: y.revision, sourceToken: y.sourceToken, conflicts: _ };
260
490
  }
261
- return {
262
- requireSource: r.requireSource ?? !0,
263
- canEdit: r.canEdit,
264
- readOnlyReason: r.readOnlyReason,
265
- history: r.history,
266
- fields: r.fields,
267
- validate: r.validate,
268
- validation: r.validation,
269
- validateBatch: r.validateBatch,
270
- saveBatch: l,
271
- save: (a, i) => l({ requestId: z(i), edits: [y(a)] }, i)
491
+ const l = {
492
+ requireSource: t.requireSource ?? !0,
493
+ canEdit: t.canEdit,
494
+ readOnlyReason: t.readOnlyReason,
495
+ history: t.history,
496
+ fields: t.fields,
497
+ validate: t.validate,
498
+ validation: t.validation,
499
+ validateBatch: t.validateBatch,
500
+ saveBatch: d,
501
+ save: (c, p) => d({ requestId: $e(p), edits: [A(c)] }, p)
272
502
  };
503
+ return pe(l, () => Xe(e, t)), l;
273
504
  }
274
505
  export {
275
- Oe as DEFAULT_CALCULATION_MESSAGES,
276
- _e as DEFAULT_DATA_REVIEW_MESSAGES,
277
- Me as DEFAULT_MESSAGES,
278
- De as DEFAULT_PRINT_MESSAGES,
279
- be as DEFAULT_THEME,
280
- Xe as MACH_REPORT_CONFIG_KEY,
281
- _ as MACH_REPORT_CONTROLLER_KEY,
282
- Je as MACH_REPORT_FETCHER_KEY,
283
- Ze as MACH_REPORT_PDF_EXPORTER_KEY,
284
- d as MachReportError,
285
- er as MachReportPreview,
286
- ke as PARAM_OPTIONS_MESSAGES,
287
- h as PlanLoadError,
288
- oe as REPORT_EXPORT_FORMATS,
289
- se as REPORT_PREVIEW_TOOLS,
290
- ae as ReportDataComparisonPanel,
291
- ie as ReportExportMenu,
292
- ce as ReportPagination,
293
- Fe as ReportParamPanel,
294
- ue as ReportPrefillPanel,
506
+ Lt as DEFAULT_CALCULATION_MESSAGES,
507
+ Ut as DEFAULT_DATA_REVIEW_MESSAGES,
508
+ jt as DEFAULT_MESSAGES,
509
+ Bt as DEFAULT_PRINT_MESSAGES,
510
+ qt as DEFAULT_THEME,
511
+ tr as MACH_REPORT_CONFIG_KEY,
512
+ Oe as MACH_REPORT_CONTROLLER_KEY,
513
+ rr as MACH_REPORT_FETCHER_KEY,
514
+ nr as MACH_REPORT_PDF_EXPORTER_KEY,
515
+ S as MachReportError,
516
+ sr as MachReportPreview,
517
+ Vt as PARAM_OPTIONS_MESSAGES,
518
+ Y as PlanLoadError,
519
+ mt as REPORT_EXPORT_FORMATS,
520
+ vt as REPORT_PREVIEW_TOOLS,
521
+ yt as ReportDataComparisonPanel,
522
+ ct as ReportDocumentPreview,
523
+ ge as ReportExportMenu,
524
+ de as ReportPagination,
525
+ Wt as ReportParamPanel,
526
+ ht as ReportPrefillPanel,
295
527
  fe as ReportPreview,
296
- de as ReportPrintResourceError,
297
- le as ReportTaskStatus,
298
- ge as ReportToolbar,
299
- pe as ReportValidationPanel,
300
- Le as SILENT_LOGGER,
301
- me as buildPrintDocument,
302
- Pe as buildWordHtml,
303
- Ee as createDefaultPdfExporter,
304
- Re as createFetchRequest,
305
- J as createLocalFetcher,
306
- he as createPrintCalibrationPlan,
307
- ee as createProviderEditing,
308
- ye as createReportStoragePreferences,
309
- qe as defineMachReportConfig,
310
- Ne as defineMachReportPreset,
311
- we as joinReportIds,
312
- rr as machReportPlugin,
313
- Se as normalizeReportIds,
314
- Ue as normalizeReportLoadError,
315
- ve as preparePrintResources,
316
- Ve as printCalibration,
317
- Te as printPlans,
318
- je as provideMachReportConfig,
319
- Ge as resolveCalculationMessages,
320
- ze as resolveConfig,
321
- He as resolveDataReviewMessages,
322
- We as snapshotPrintOptions,
323
- Ye as themeToCssVars,
324
- Be as toErrorDetail,
325
- Z as useMachReport,
326
- Ke as useMachReportConfig,
327
- Ie as usePageWindow,
328
- Ae as usePrintExport,
329
- Q as useReportPreview,
330
- xe as useZoom
528
+ wt as ReportPrintResourceError,
529
+ Et as ReportTaskStatus,
530
+ Pt as ReportToolbar,
531
+ bt as ReportValidationPanel,
532
+ Gt as SILENT_LOGGER,
533
+ Rt as buildPrintDocument,
534
+ Ct as buildWordHtml,
535
+ St as createDefaultPdfExporter,
536
+ _t as createFetchRequest,
537
+ ut as createLocalFetcher,
538
+ Tt as createPrintCalibrationPlan,
539
+ Xe as createProviderEditing,
540
+ At as createReportStoragePreferences,
541
+ zt as defineMachReportConfig,
542
+ Ht as defineMachReportPreset,
543
+ xt as joinReportIds,
544
+ ar as machReportPlugin,
545
+ It as normalizeReportIds,
546
+ Kt as normalizeReportLoadError,
547
+ Ot as preparePrintResources,
548
+ Yt as printCalibration,
549
+ Dt as printPlans,
550
+ Jt as provideMachReportConfig,
551
+ $t as resolveCalculationMessages,
552
+ _e as resolveConfig,
553
+ Xt as resolveDataReviewMessages,
554
+ Zt as snapshotPrintOptions,
555
+ Ae as themeToCssVars,
556
+ Qt as toErrorDetail,
557
+ lt as useMachReport,
558
+ Se as useMachReportConfig,
559
+ Mt as usePageWindow,
560
+ kt as usePrintExport,
561
+ ft as useReportPreview,
562
+ Nt as useZoom
331
563
  };