@agile-team/mach-report 2.21.1 → 2.23.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 +20 -5
- package/dist/{ExcelBindingWizard-mnAO2qOX.js → ExcelBindingWizard-D4FLind-.js} +3 -3
- package/dist/{ExcelBindingWizard-Bu0LUlzl.cjs → ExcelBindingWizard-D4RS5Bpg.cjs} +1 -1
- package/dist/{ParamEditor-38ZfNrPU.cjs → ParamEditor-C-6C9rd2.cjs} +1 -1
- package/dist/{ParamEditor-C8l0EC8m.js → ParamEditor-CASZt-Ma.js} +2 -2
- package/dist/{ReportBatchPanel-CfUVhvkO.js → ReportBatchPanel-Bq7t8a5r.js} +2 -2
- package/dist/{ReportBatchPanel-nCC06Nfp.cjs → ReportBatchPanel-YVj5IO5y.cjs} +1 -1
- package/dist/ReportLabelStudio-Cqhita1b.cjs +1 -0
- package/dist/ReportLabelStudio-Dj7GXhuv.js +783 -0
- package/dist/ReportParamPanel-DZbFVmDL.cjs +1 -0
- package/dist/{ReportParamPanel-peB-KEmm.js → ReportParamPanel-Dgmqro1Y.js} +265 -244
- package/dist/ReportPreview-DeWzG8jQ.js +6257 -0
- package/dist/ReportPreview-FFIryrIr.cjs +6 -0
- package/dist/{ReportTemplateLibrary-DVlsf72p.cjs → ReportTemplateLibrary-BaWodmpm.cjs} +1 -1
- package/dist/{ReportTemplateLibrary-B5t_EcIs.js → ReportTemplateLibrary-DdAAAD2I.js} +1 -1
- package/dist/{RuleEditor-kT1JsZ9f.js → RuleEditor-D2UwQGF6.js} +59 -59
- package/dist/{RuleEditor-xFkCVlii.cjs → RuleEditor-DcT9xI1v.cjs} +1 -1
- package/dist/TemplateOutlinePanel-CUHFFiNM.cjs +1 -0
- package/dist/{TemplateOutlinePanel-BesgGR1P.js → TemplateOutlinePanel-DrT7XN0m.js} +2 -2
- package/dist/{TemplateReusePanel-BNFU6V-W.js → TemplateReusePanel-4eejkNqi.js} +2 -2
- package/dist/{TemplateReusePanel-BG9Or5-P.cjs → TemplateReusePanel-DZMyiX5I.cjs} +1 -1
- package/dist/{TemplateReviewPanel-CwvwyCSs.js → TemplateReviewPanel-BIhNLeNw.js} +2 -2
- package/dist/TemplateReviewPanel-DnYImiXu.cjs +1 -0
- package/dist/analytics.cjs +1 -1
- package/dist/analytics.js +26 -26
- package/dist/artifact-integrity.json +108 -106
- package/dist/assets-D2gHc4Mz.cjs +1 -0
- package/dist/assets-T_gDeFaz.js +132 -0
- package/dist/auto-4pK9HePf.cjs +1 -0
- package/dist/auto-CTIJ6PnR.js +257 -0
- package/dist/capabilities-DiBj4Qgl.cjs +1 -0
- package/dist/capabilities-pg7j7VLT.js +106 -0
- package/dist/charts-Cjw5AYkg.cjs +1 -0
- package/dist/{charts-Dlv8j2AG.js → charts-CxJZ0XaY.js} +1 -1
- package/dist/computed-DK6BruFz.cjs +1 -0
- package/dist/{computed-C8NRZQss.js → computed-f3pOqWLX.js} +381 -301
- package/dist/data-bar-CeZuFmYl.cjs +1 -0
- package/dist/{data-bar-8baGYEZ9.js → data-bar-IkI6VvMQ.js} +1 -1
- package/dist/designer-DhrE7jzw.js +7169 -0
- package/dist/designer-IAZu6kBX.cjs +2 -0
- package/dist/designer.cjs +1 -1
- package/dist/designer.d.cts +246 -46
- package/dist/designer.d.ts +246 -46
- package/dist/designer.js +15 -14
- package/dist/dom-ChE5D-L-.cjs +1 -0
- package/dist/dom-JWrchIre.js +452 -0
- package/dist/dom-cell-address-DLD1mkTB.cjs +1 -0
- package/dist/dom-cell-address-Fn-8nk7D.js +11 -0
- package/dist/{encoding-B79hW4zq.cjs → encoding-BefcaHdp.cjs} +1 -1
- package/dist/{encoding-BSeUwrN7.js → encoding-CL6rXEkR.js} +2 -2
- package/dist/{font-loader-Di0lQKFf.js → font-loader-BT5baV-o.js} +1 -1
- package/dist/{font-loader-BB372_XN.cjs → font-loader-Ga51c2VC.cjs} +1 -1
- package/dist/grid-strokes-Be24LGuV.cjs +1 -0
- package/dist/grid-strokes-EoY66L2f.js +53 -0
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +44 -1
- package/dist/index.d.ts +44 -1
- package/dist/index.js +961 -1256
- package/dist/json-snapshot-1tvQNzQE.cjs +2 -0
- package/dist/{json-snapshot-Kgn459Oj.js → json-snapshot-OqkPyUk5.js} +763 -776
- package/dist/matrix-B8QWbsGM.cjs +1 -0
- package/dist/matrix-C6e_r_vp.js +302 -0
- package/dist/{pdf-CARdBcuw.cjs → pdf-HiEeXe9H.cjs} +42 -42
- package/dist/{pdf-DmlnL5eB.js → pdf-aobetCsy.js} +20 -20
- package/dist/pdf.cjs +1 -1
- package/dist/pdf.js +2 -2
- package/dist/{plugin-BaRUGORD.cjs → plugin-BFANt-i8.cjs} +1 -1
- package/dist/{plugin-D4kAxfLG.js → plugin-DeYYAL6F.js} +1 -1
- package/dist/{prefill-CJSazcVY.js → prefill-Dk4C6S5R.js} +21 -21
- package/dist/prefill-DsUD5OoK.cjs +1 -0
- package/dist/prepared-DCIxhKFo.js +94 -0
- package/dist/prepared-Dv-XM3i1.cjs +1 -0
- package/dist/progress-ByiOxUD3.js +250 -0
- package/dist/progress-WomPRP3B.cjs +1 -0
- package/dist/{protocol-C8VWF9An.cjs → protocol-B9YgfQ_d.cjs} +1 -1
- package/dist/{protocol-Bs9-ohHN.js → protocol-DxeUKGYG.js} +3 -3
- package/dist/record-bindings-DatJZv_e.js +200 -0
- package/dist/record-bindings-MBxbeBsi.cjs +1 -0
- package/dist/{region-binding-workflow-Cy4GIOUo.js → region-binding-workflow-DjrXuR1q.js} +2 -2
- package/dist/{region-binding-workflow-JNowHd0A.cjs → region-binding-workflow-l7NGfagJ.cjs} +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 +52 -0
- package/dist/rich-text-layout-DK7A_a5r.cjs +3 -0
- package/dist/{runtime-BDf5x1i1.js → runtime-75Y5Oq5B.js} +52 -51
- package/dist/runtime-DKlGd_D4.cjs +1 -0
- package/dist/sbom.cdx.json +1 -1
- package/dist/server/node.d.cts +9 -0
- package/dist/server/node.d.ts +9 -0
- package/dist/server-node.cjs +5 -4
- package/dist/server-node.js +2178 -2044
- package/dist/server.cjs +1 -1
- package/dist/server.d.cts +81 -0
- package/dist/server.d.ts +81 -0
- package/dist/server.js +24 -24
- package/dist/style.css +1 -1
- package/dist/{template-catalog-DFwIS9aN.js → template-catalog--cjxzgH7.js} +17 -17
- package/dist/template-catalog-CoT7jm_6.cjs +1 -0
- package/dist/{template-fragments-Dng-AlHk.js → template-fragments-CPpGpQoz.js} +24 -24
- package/dist/{template-fragments-DZVUBhuB.cjs → template-fragments-GVjpew_q.cjs} +1 -1
- package/dist/template-registry-DI59PXVK.cjs +1 -0
- package/dist/{template-registry-DhBqoD7W.js → template-registry-O0hNIOfB.js} +333 -261
- package/dist/template-serialization-CWmHq7lX.js +307 -0
- package/dist/template-serialization-CqQY4zDg.cjs +1 -0
- package/dist/{textwrap-CkGjRFT3.js → textwrap-BIjtEWmq.js} +1 -1
- package/dist/textwrap-Cy7o1hIR.cjs +4 -0
- package/dist/vue/async.d.cts +121 -2
- package/dist/vue/async.d.ts +121 -2
- package/dist/vue/index.d.cts +222 -5
- package/dist/vue/index.d.ts +222 -5
- package/dist/vue-async.cjs +1 -1
- package/dist/vue-async.js +3 -3
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +101 -91
- package/dist/{workbook-session-NYv01LHe.cjs → workbook-session-C6-SrnCT.cjs} +4 -4
- package/dist/{workbook-session-oinxX3qo.js → workbook-session-C9ZmCBwY.js} +15 -16
- package/dist/workbook-sheets-CaPAulQ6.cjs +2 -0
- package/dist/workbook-sheets-D4M7XXBh.js +44 -0
- package/dist/worker.cjs +1 -1
- package/dist/worker.d.cts +9 -0
- package/dist/worker.d.ts +9 -0
- package/dist/worker.js +4 -4
- package/dist/xlsx.cjs +4 -4
- package/dist/xlsx.d.cts +39 -2
- package/dist/xlsx.d.ts +39 -2
- package/dist/xlsx.js +300 -275
- package/package.json +1 -1
- package/dist/ReportLabelStudio-CaEvYuSK.cjs +0 -1
- package/dist/ReportLabelStudio-DQPBmh4v.js +0 -765
- package/dist/ReportParamPanel-CVpK8mFc.cjs +0 -1
- package/dist/ReportPreview-BBJNlu2U.js +0 -5740
- package/dist/ReportPreview-nf4Dk1Jc.cjs +0 -6
- package/dist/TemplateOutlinePanel-CDI6mfWx.cjs +0 -1
- package/dist/TemplateReviewPanel-BmBrjt6P.cjs +0 -1
- package/dist/assets-CxHunY_9.js +0 -232
- package/dist/assets-vbjAGgk8.cjs +0 -1
- package/dist/auto-BkdGiNtr.js +0 -240
- package/dist/auto-Tq7ReIC1.cjs +0 -1
- package/dist/charts-aCtoswXq.cjs +0 -1
- package/dist/component-tree-1_QCiQJX.js +0 -67
- package/dist/component-tree-BjZIp6w9.cjs +0 -1
- package/dist/computed-4TnxzgIh.cjs +0 -1
- package/dist/data-bar-YltqGTaC.cjs +0 -1
- package/dist/designer-DU3yDWgs.cjs +0 -2
- package/dist/designer-HQi-03R6.js +0 -6869
- package/dist/grid-geometry-D3SJgWFv.js +0 -136
- package/dist/grid-geometry-D8ReblRV.cjs +0 -1
- package/dist/json-snapshot-I5VI84Vp.cjs +0 -2
- package/dist/matrix-0hywp0-F.cjs +0 -1
- package/dist/matrix-Dy-tyY7E.js +0 -381
- package/dist/prefill-Bpyn58AZ.cjs +0 -1
- package/dist/prepared-BiSz_9vN.cjs +0 -1
- package/dist/prepared-BwjwEzFz.js +0 -87
- package/dist/progress-B0ctFpKf.cjs +0 -1
- package/dist/progress-Hc2vxoCs.js +0 -52
- package/dist/record-bindings-Ct1HkPrc.cjs +0 -1
- package/dist/record-bindings-VZGS-Qd8.js +0 -155
- package/dist/rich-text-layout-K48VHUoW.cjs +0 -3
- package/dist/rich-text-layout-wxBhnAS7.js +0 -102
- package/dist/runtime-DsJt1PIf.cjs +0 -1
- package/dist/template-bindings-Cg5oBLFT.cjs +0 -1
- package/dist/template-bindings-TKnXM7ll.js +0 -62
- package/dist/template-catalog-D_2jdnkL.cjs +0 -1
- package/dist/template-outline-DWkzZXVC.cjs +0 -1
- package/dist/template-outline-DiADphlq.js +0 -88
- package/dist/template-registry-DpLUSLwF.cjs +0 -1
- package/dist/template-serialization-Cc3h-miv.js +0 -247
- package/dist/template-serialization-D1R5oAqh.cjs +0 -1
- package/dist/textwrap-OTOUMr4f.cjs +0 -4
package/dist/vue.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { createReportSource as
|
|
1
|
+
import { createReportSource as T, ReportCellEditError as A } from "@agile-team/mach-report";
|
|
2
2
|
export * from "@agile-team/mach-report";
|
|
3
|
-
import { P as R, c as h } from "./ReportPreview-
|
|
4
|
-
import { R as Z, a as Q, _ as ee, b as re, d as te, e as ne, f as oe, g as
|
|
5
|
-
import { M as
|
|
6
|
-
import { D as
|
|
3
|
+
import { P as R, c as h } from "./ReportPreview-DeWzG8jQ.js";
|
|
4
|
+
import { R as Z, a as Q, _ as ee, b as re, d as te, e as ne, f as oe, g as ae, h as se, i as ie, j as ce, k as ue, l as fe, m as le, n as de, o as ge, p as pe, q as Pe, r as me, s as Ee, t as Re, u as he, v as ye, w as we } from "./ReportPreview-DeWzG8jQ.js";
|
|
5
|
+
import { M as f } from "./ReportParamPanel-Dgmqro1Y.js";
|
|
6
|
+
import { D as ve, a as Te, b as Ae, c as xe, d as Ce, P as Oe, R as _e, S as Ie, e as Me, f as De, n as ke, p as Fe, g as Le, r as be, h as Ue, i as qe, s as je, t as Ge, j as Ne, u as He } from "./ReportParamPanel-Dgmqro1Y.js";
|
|
7
7
|
import { M as x } from "./injection-keys-e85udZCp.js";
|
|
8
|
-
import { a as
|
|
9
|
-
import { M as
|
|
10
|
-
import { shallowRef as C, computed as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
8
|
+
import { a as ze, b as Ve, c as Ye } from "./injection-keys-e85udZCp.js";
|
|
9
|
+
import { M as $e, m as Be } from "./plugin-DeYYAL6F.js";
|
|
10
|
+
import { shallowRef as C, computed as O, inject as _ } from "vue";
|
|
11
|
+
import { v as I } from "./json-snapshot-OqkPyUk5.js";
|
|
12
|
+
import { u as M } from "./progress-ByiOxUD3.js";
|
|
13
13
|
function V(r) {
|
|
14
|
-
const e =
|
|
14
|
+
const e = T(r), o = async (t) => {
|
|
15
15
|
if (t.reportIds.length === 0) throw new R("缺少报表 ID");
|
|
16
16
|
for (const n of t.reportIds)
|
|
17
17
|
if (!Object.prototype.hasOwnProperty.call(r, n) || !r[n])
|
|
@@ -37,6 +37,9 @@ function Y() {
|
|
|
37
37
|
get loading() {
|
|
38
38
|
return e().loading;
|
|
39
39
|
},
|
|
40
|
+
get stale() {
|
|
41
|
+
return e().stale ?? !1;
|
|
42
|
+
},
|
|
40
43
|
get hasPlan() {
|
|
41
44
|
return e().hasPlan;
|
|
42
45
|
},
|
|
@@ -106,15 +109,15 @@ function Y() {
|
|
|
106
109
|
});
|
|
107
110
|
function t() {
|
|
108
111
|
if (!r.value)
|
|
109
|
-
throw new
|
|
112
|
+
throw new f("config", "报表预览尚未挂载,请在 ready 后调用控制器");
|
|
110
113
|
return r.value;
|
|
111
114
|
}
|
|
112
115
|
return {
|
|
113
116
|
ref(n) {
|
|
114
|
-
const
|
|
115
|
-
r.value =
|
|
117
|
+
const a = n;
|
|
118
|
+
r.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;
|
|
116
119
|
},
|
|
117
|
-
ready:
|
|
120
|
+
ready: O(() => r.value !== null),
|
|
118
121
|
state: o,
|
|
119
122
|
async checkPdfFont() {
|
|
120
123
|
const n = t();
|
|
@@ -144,13 +147,13 @@ function Y() {
|
|
|
144
147
|
gotoPage(n) {
|
|
145
148
|
t().gotoPage(n);
|
|
146
149
|
},
|
|
147
|
-
async setParams(n,
|
|
148
|
-
await t().setParams(n,
|
|
150
|
+
async setParams(n, a) {
|
|
151
|
+
await t().setParams(n, a);
|
|
149
152
|
},
|
|
150
|
-
async importExcel(n,
|
|
151
|
-
const
|
|
152
|
-
if (!
|
|
153
|
-
return
|
|
153
|
+
async importExcel(n, a) {
|
|
154
|
+
const l = t();
|
|
155
|
+
if (!l.importExcel) throw new f("config", "旧自定义控制器未提供 Excel 导入");
|
|
156
|
+
return l.importExcel(n, a);
|
|
154
157
|
},
|
|
155
158
|
getPlan() {
|
|
156
159
|
return t().getPlan?.() ?? null;
|
|
@@ -163,129 +166,136 @@ function Y() {
|
|
|
163
166
|
redo: async () => await t().redo?.() ?? !1,
|
|
164
167
|
restoreChanges: async () => await t().restoreChanges?.() ?? !1,
|
|
165
168
|
getSelection: () => t().getSelection?.() ?? null,
|
|
166
|
-
focusCell: async (n,
|
|
169
|
+
focusCell: async (n, a) => await t().focusCell?.(n, a) ?? !1,
|
|
167
170
|
focusField: async (n) => await t().focusField?.(n) ?? !1,
|
|
168
171
|
copySelection: () => t().copySelection?.() ?? "",
|
|
169
172
|
pasteSelection: async (n) => await t().pasteSelection?.(n) ?? !1
|
|
170
173
|
};
|
|
171
174
|
}
|
|
172
175
|
function K() {
|
|
173
|
-
return
|
|
176
|
+
return _(x, null);
|
|
174
177
|
}
|
|
175
178
|
function P(r) {
|
|
176
179
|
return !!r && typeof r == "object" && !Array.isArray(r);
|
|
177
180
|
}
|
|
178
181
|
function k(r) {
|
|
179
|
-
return Array.isArray(r) && r.every((e) => P(e) && typeof e.code == "string" && typeof e.message == "string" && ["info", "warning", "error"].includes(e.severity) && (e.path === void 0 || typeof e.path == "string") &&
|
|
182
|
+
return Array.isArray(r) && r.every((e) => P(e) && typeof e.code == "string" && typeof e.message == "string" && ["info", "warning", "error"].includes(e.severity) && (e.path === void 0 || typeof e.path == "string") && I(e));
|
|
180
183
|
}
|
|
181
184
|
function F(r, e) {
|
|
182
185
|
return Array.isArray(r) && r.every((o) => P(o) && Number.isSafeInteger(o.editIndex) && o.editIndex >= 0 && o.editIndex < e && typeof o.code == "string" && typeof o.message == "string");
|
|
183
186
|
}
|
|
184
187
|
function L(r, e) {
|
|
185
188
|
let o;
|
|
186
|
-
if (!P(r) || typeof r.revision != "string" || !r.revision.trim() ? o = "非空 revision(请先在适配器解包业务响应)" : r.sourceToken !== void 0 && typeof r.sourceToken != "string" ? o = "字符串 sourceToken" : r.diagnostics !== void 0 && !k(r.diagnostics) ? o = "结构化 diagnostics" : r.conflicts !== void 0 && !F(r.conflicts, e) && (o = "有效 editIndex/code/message conflicts"), o) throw new
|
|
189
|
+
if (!P(r) || typeof r.revision != "string" || !r.revision.trim() ? o = "非空 revision(请先在适配器解包业务响应)" : r.sourceToken !== void 0 && typeof r.sourceToken != "string" ? o = "字符串 sourceToken" : r.diagnostics !== void 0 && !k(r.diagnostics) ? o = "结构化 diagnostics" : r.conflicts !== void 0 && !F(r.conflicts, e) && (o = "有效 editIndex/code/message conflicts"), o) throw new f("edit", `ReportProvider.save 必须返回${o};服务器可能已提交,请重新查询确认后再编辑`);
|
|
187
190
|
}
|
|
188
|
-
function
|
|
191
|
+
function y(r) {
|
|
189
192
|
return typeof r == "function" ? r() : r;
|
|
190
193
|
}
|
|
191
194
|
function b(r, e) {
|
|
192
195
|
const o = new Set(r.flatMap((t) => t.source?.[e] === void 0 ? [] : [String(t.source[e])]));
|
|
193
196
|
return o.size === 1 ? [...o][0] : void 0;
|
|
194
197
|
}
|
|
195
|
-
function
|
|
198
|
+
function w(r, e, o, t) {
|
|
196
199
|
return typeof r == "function" ? r() : b(e, o) ?? t ?? r;
|
|
197
200
|
}
|
|
198
201
|
function U(r) {
|
|
199
202
|
return r.requestId ?? globalThis.crypto?.randomUUID?.() ?? `mr-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
|
|
200
203
|
}
|
|
201
204
|
function $(r, e) {
|
|
202
|
-
if (!r.save) throw new
|
|
203
|
-
let o = "", t, n,
|
|
204
|
-
function
|
|
205
|
-
|
|
205
|
+
if (!r.save) throw new f("config", "ReportProvider.save 未配置,无法启用业务保存");
|
|
206
|
+
let o = "", t, n, a = 0;
|
|
207
|
+
function l(s, i, d) {
|
|
208
|
+
s.conflicts?.length || i !== o || d !== a || (t = s.revision, n = s.sourceToken);
|
|
206
209
|
}
|
|
207
|
-
async function m(
|
|
210
|
+
async function m(s, i) {
|
|
208
211
|
if (i.signal.aborted) throw i.signal.reason ?? new DOMException("Aborted", "AbortError");
|
|
209
|
-
const
|
|
210
|
-
if (g !== o && (o = g, t = void 0, n = void 0), e.requireSource !== !1 &&
|
|
211
|
-
const
|
|
212
|
-
reportId:
|
|
212
|
+
const d = y(e.reportId), E = { ...y(e.params ?? {}) }, g = JSON.stringify([d, E]), S = ++a;
|
|
213
|
+
if (g !== o && (o = g, t = void 0, n = void 0), e.requireSource !== !1 && s.edits.some((c) => !c.source)) throw new A("missing");
|
|
214
|
+
const u = await r.save({
|
|
215
|
+
reportId: d,
|
|
213
216
|
params: E,
|
|
214
217
|
signal: i.signal,
|
|
215
|
-
requestId:
|
|
218
|
+
requestId: s.requestId,
|
|
216
219
|
action: i.action,
|
|
217
|
-
edits: h(
|
|
218
|
-
expectedRevision:
|
|
219
|
-
sourceToken:
|
|
220
|
+
edits: h(s.edits),
|
|
221
|
+
expectedRevision: w(e.expectedRevision, s.edits, "revision", t),
|
|
222
|
+
sourceToken: w(e.sourceToken, s.edits, "sourceToken", n)
|
|
220
223
|
});
|
|
221
224
|
if (i.signal.aborted) throw i.signal.reason ?? new DOMException("Aborted", "AbortError");
|
|
222
|
-
L(
|
|
223
|
-
const p =
|
|
224
|
-
if (p?.length) throw new
|
|
225
|
-
const
|
|
226
|
-
return
|
|
225
|
+
L(u, s.edits.length), u.diagnostics?.forEach((c) => M(() => e.onDiagnostic?.(c)));
|
|
226
|
+
const p = u.diagnostics?.filter((c) => c.severity === "error");
|
|
227
|
+
if (p?.length) throw new f("edit", p.map((c) => c.message).join(";"), { diagnostics: p });
|
|
228
|
+
const v = u.conflicts?.map((c) => ({ source: s.edits[c.editIndex]?.source, address: s.edits[c.editIndex]?.address, message: c.message }));
|
|
229
|
+
return l(u, g, S), { revision: u.revision, sourceToken: u.sourceToken, conflicts: v };
|
|
227
230
|
}
|
|
228
231
|
return {
|
|
229
232
|
requireSource: e.requireSource ?? !0,
|
|
230
233
|
canEdit: e.canEdit,
|
|
234
|
+
readOnlyReason: e.readOnlyReason,
|
|
235
|
+
history: e.history,
|
|
236
|
+
fields: e.fields,
|
|
231
237
|
validate: e.validate,
|
|
238
|
+
validation: e.validation,
|
|
239
|
+
validateBatch: e.validateBatch,
|
|
232
240
|
saveBatch: m,
|
|
233
|
-
save: (
|
|
241
|
+
save: (s, i) => m({ requestId: U(i), edits: [h(s)] }, i)
|
|
234
242
|
};
|
|
235
243
|
}
|
|
236
244
|
export {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
245
|
+
ve as DEFAULT_CALCULATION_MESSAGES,
|
|
246
|
+
Te as DEFAULT_DATA_REVIEW_MESSAGES,
|
|
247
|
+
Ae as DEFAULT_MESSAGES,
|
|
248
|
+
xe as DEFAULT_PRINT_MESSAGES,
|
|
249
|
+
Ce as DEFAULT_THEME,
|
|
250
|
+
ze as MACH_REPORT_CONFIG_KEY,
|
|
243
251
|
x as MACH_REPORT_CONTROLLER_KEY,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
252
|
+
Ve as MACH_REPORT_FETCHER_KEY,
|
|
253
|
+
Ye as MACH_REPORT_PDF_EXPORTER_KEY,
|
|
254
|
+
f as MachReportError,
|
|
255
|
+
$e as MachReportPreview,
|
|
256
|
+
Oe as PARAM_OPTIONS_MESSAGES,
|
|
249
257
|
R as PlanLoadError,
|
|
250
258
|
Z as REPORT_EXPORT_FORMATS,
|
|
251
259
|
Q as REPORT_PREVIEW_TOOLS,
|
|
252
260
|
ee as ReportDataComparisonPanel,
|
|
253
|
-
re as
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
ne as
|
|
257
|
-
oe as
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
261
|
+
re as ReportExportMenu,
|
|
262
|
+
te as ReportPagination,
|
|
263
|
+
_e as ReportParamPanel,
|
|
264
|
+
ne as ReportPrefillPanel,
|
|
265
|
+
oe as ReportPreview,
|
|
266
|
+
ae as ReportPrintResourceError,
|
|
267
|
+
se as ReportTaskStatus,
|
|
268
|
+
ie as ReportToolbar,
|
|
269
|
+
ce as ReportValidationPanel,
|
|
270
|
+
Ie as SILENT_LOGGER,
|
|
271
|
+
ue as buildPrintDocument,
|
|
272
|
+
fe as buildWordHtml,
|
|
273
|
+
le as createDefaultPdfExporter,
|
|
274
|
+
de as createFetchRequest,
|
|
265
275
|
V as createLocalFetcher,
|
|
266
|
-
|
|
276
|
+
ge as createPrintCalibrationPlan,
|
|
267
277
|
$ as createProviderEditing,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
278
|
+
pe as createReportStoragePreferences,
|
|
279
|
+
Me as defineMachReportConfig,
|
|
280
|
+
De as defineMachReportPreset,
|
|
281
|
+
Pe as joinReportIds,
|
|
282
|
+
Be as machReportPlugin,
|
|
283
|
+
me as normalizeReportIds,
|
|
284
|
+
ke as normalizeReportLoadError,
|
|
285
|
+
Ee as preparePrintResources,
|
|
286
|
+
Fe as printCalibration,
|
|
287
|
+
Re as printPlans,
|
|
288
|
+
Le as provideMachReportConfig,
|
|
289
|
+
be as resolveCalculationMessages,
|
|
290
|
+
Ue as resolveConfig,
|
|
291
|
+
qe as resolveDataReviewMessages,
|
|
292
|
+
je as snapshotPrintOptions,
|
|
293
|
+
Ge as themeToCssVars,
|
|
294
|
+
Ne as toErrorDetail,
|
|
285
295
|
Y as useMachReport,
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
296
|
+
He as useMachReportConfig,
|
|
297
|
+
he as usePageWindow,
|
|
298
|
+
ye as usePrintExport,
|
|
289
299
|
K as useReportPreview,
|
|
290
|
-
|
|
300
|
+
we as useZoom
|
|
291
301
|
};
|