@agile-team/mach-report 2.25.1 → 2.25.2
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 +4 -2
- package/dist/ReportPreview-D1ZC5kzz.js +7317 -0
- package/dist/ReportPreview-DAU-V3Ov.cjs +6 -0
- package/dist/artifact-integrity.json +35 -35
- package/dist/{auto-mPK9W0y5.cjs → auto-DjmvmcX-.cjs} +1 -1
- package/dist/{auto-D7x7QsWD.js → auto-j7mr8Kvc.js} +82 -82
- package/dist/{encoding-Amq3XrtU.js → encoding-BWEMdzFG.js} +2 -2
- package/dist/{encoding-DRVXs5xm.cjs → encoding-DVea2qIR.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/{json-snapshot-CBVWZvyC.js → json-snapshot-DdzALe8q.js} +811 -774
- package/dist/json-snapshot-L_gJ7KRS.cjs +2 -0
- package/dist/{plugin-DHe8y5pD.cjs → plugin-D5BRHlne.cjs} +1 -1
- package/dist/{plugin-BdCplNe1.js → plugin-FWhTnjr0.js} +1 -1
- package/dist/{prefill-Cw4ZYGXZ.cjs → prefill-DZymomY6.cjs} +1 -1
- package/dist/{prefill-Buy4NJ15.js → prefill-m01IM1hl.js} +1 -1
- package/dist/{prepared-BlNeOjoO.cjs → prepared-BHu8bIdj.cjs} +1 -1
- package/dist/{prepared-CBJ7BkK0.js → prepared-DO5pe6Ed.js} +1 -1
- package/dist/{protocol-CB19KXGr.js → protocol-CZddmu2n.js} +2 -2
- package/dist/{protocol-BU_4sXP0.cjs → protocol-CymmHWmL.cjs} +1 -1
- package/dist/report-encoding-worker.cjs +1 -1
- package/dist/report-encoding-worker.js +1 -1
- package/dist/{runtime-B5d_lQNQ.js → runtime-D8AlfJ6S.js} +82 -75
- package/dist/runtime-ywf3oLBR.cjs +1 -0
- package/dist/sbom.cdx.json +1 -1
- package/dist/server-node.cjs +5 -5
- package/dist/server-node.js +1978 -1935
- package/dist/server.cjs +1 -1
- package/dist/server.js +5 -5
- package/dist/{template-catalog-CM6U_RlD.js → template-catalog-DLu814zA.js} +1 -1
- package/dist/{template-catalog-Cj66M84u.cjs → template-catalog-Lil5Ryt-.cjs} +1 -1
- package/dist/vue/index.d.cts +2 -1
- package/dist/vue/index.d.ts +2 -1
- package/dist/vue-async.cjs +1 -1
- package/dist/vue-async.js +3 -3
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +127 -126
- package/dist/worker.cjs +1 -1
- package/dist/worker.js +4 -4
- package/package.json +1 -1
- package/dist/ReportPreview-CnxaDTCO.js +0 -7170
- package/dist/ReportPreview-DqFBcsJQ.cjs +0 -6
- package/dist/json-snapshot-DCFEtfFw.cjs +0 -2
- package/dist/runtime-BRx8Agqr.cjs +0 -1
package/dist/vue.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { createReportSource as
|
|
1
|
+
import { createReportSource as _, ReportCellEditError as I } from "@agile-team/mach-report";
|
|
2
2
|
export * from "@agile-team/mach-report";
|
|
3
|
-
import { P as
|
|
4
|
-
import { R as
|
|
3
|
+
import { P as y, r as M, c as w } from "./ReportPreview-D1ZC5kzz.js";
|
|
4
|
+
import { R as ae, a as ie, _ as ce, b as ue, d as fe, e as de, f as ge, g as le, h as pe, i as me, j as Pe, k as Ee, l as Re, m as he, n as ye, o as we, p as Se, q as ve, s as Te, t as Ie, u as Ae, v as xe, w as Ce, x as Oe } from "./ReportPreview-D1ZC5kzz.js";
|
|
5
5
|
import { M as d } from "./ReportParamPanel-DGXzBzl2.js";
|
|
6
|
-
import { D as
|
|
7
|
-
import { M as
|
|
8
|
-
import { a as
|
|
9
|
-
import { M as
|
|
10
|
-
import { shallowRef as
|
|
11
|
-
import { v as
|
|
12
|
-
import { z as
|
|
13
|
-
function
|
|
14
|
-
const r =
|
|
15
|
-
if (t.reportIds.length === 0) throw new
|
|
6
|
+
import { D as Me, a as De, b as be, c as ke, d as Fe, P as Le, R as qe, S as Ne, e as Ue, f as Ve, n as je, p as Ge, g as ze, r as He, h as We, i as Ye, s as Be, t as Ke, j as $e, u as Xe } from "./ReportParamPanel-DGXzBzl2.js";
|
|
7
|
+
import { M as D } from "./injection-keys-e85udZCp.js";
|
|
8
|
+
import { a as Ze, b as Qe, c as er } from "./injection-keys-e85udZCp.js";
|
|
9
|
+
import { M as tr, m as nr } from "./plugin-FWhTnjr0.js";
|
|
10
|
+
import { shallowRef as b, computed as k, inject as F } from "vue";
|
|
11
|
+
import { v as L } from "./json-snapshot-DdzALe8q.js";
|
|
12
|
+
import { z as q } from "./diagnostic-collector-gB07PHy2.js";
|
|
13
|
+
function ee(e) {
|
|
14
|
+
const r = _(e), o = async (t) => {
|
|
15
|
+
if (t.reportIds.length === 0) throw new y("缺少报表 ID");
|
|
16
16
|
for (const n of t.reportIds)
|
|
17
17
|
if (!Object.prototype.hasOwnProperty.call(e, n) || !e[n])
|
|
18
|
-
throw new
|
|
18
|
+
throw new y(`本地模板 ${n} 不存在`);
|
|
19
19
|
return r(t);
|
|
20
20
|
};
|
|
21
21
|
return o.getParamDefs = r.getParamDefs, o;
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const N = Object.freeze({
|
|
24
24
|
loading: !1,
|
|
25
25
|
hasPlan: !1,
|
|
26
26
|
pageCount: 0,
|
|
@@ -32,8 +32,8 @@ const L = Object.freeze({
|
|
|
32
32
|
error: null,
|
|
33
33
|
pdfFont: Object.freeze({ status: "unchecked", fontUrl: "" })
|
|
34
34
|
});
|
|
35
|
-
function
|
|
36
|
-
const e =
|
|
35
|
+
function re() {
|
|
36
|
+
const e = b(null), r = () => e.value?.state ?? N, o = Object.freeze({
|
|
37
37
|
get loading() {
|
|
38
38
|
return r().loading;
|
|
39
39
|
},
|
|
@@ -117,7 +117,7 @@ function Z() {
|
|
|
117
117
|
const s = n;
|
|
118
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;
|
|
119
119
|
},
|
|
120
|
-
ready:
|
|
120
|
+
ready: k(() => e.value !== null),
|
|
121
121
|
state: o,
|
|
122
122
|
async checkPdfFont() {
|
|
123
123
|
const n = t();
|
|
@@ -172,93 +172,93 @@ function Z() {
|
|
|
172
172
|
pasteSelection: async (n) => await t().pasteSelection?.(n) ?? !1
|
|
173
173
|
};
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
return
|
|
175
|
+
function te() {
|
|
176
|
+
return F(D, null);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function E(e) {
|
|
179
179
|
return !!e && typeof e == "object" && !Array.isArray(e);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
return Array.isArray(e) && e.every((r) =>
|
|
181
|
+
function U(e) {
|
|
182
|
+
return Array.isArray(e) && e.every((r) => E(r) && typeof r.code == "string" && typeof r.message == "string" && ["info", "warning", "error"].includes(r.severity) && (r.path === void 0 || typeof r.path == "string") && L(r));
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function A(e) {
|
|
185
185
|
return typeof e == "number" && Number.isFinite(e) && (!Number.isInteger(e) || Number.isSafeInteger(e));
|
|
186
186
|
}
|
|
187
|
-
function
|
|
188
|
-
return e == null || typeof e == "string" || typeof e == "boolean" ||
|
|
187
|
+
function V(e) {
|
|
188
|
+
return e == null || typeof e == "string" || typeof e == "boolean" || A(e);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
191
|
-
return e === void 0 || typeof e == "string" && !!e.trim() ||
|
|
190
|
+
function j(e) {
|
|
191
|
+
return e === void 0 || typeof e == "string" && !!e.trim() || A(e);
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
return Array.isArray(e) && e.every((o) =>
|
|
193
|
+
function G(e, r) {
|
|
194
|
+
return Array.isArray(e) && e.every((o) => E(o) && Number.isSafeInteger(o.editIndex) && o.editIndex >= 0 && o.editIndex < r && typeof o.code == "string" && typeof o.message == "string" && V(o.currentValue) && j(o.revision));
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function z(e, r) {
|
|
197
197
|
let o;
|
|
198
|
-
if (!
|
|
198
|
+
if (!E(e) || typeof e.revision != "string" || !e.revision.trim() ? o = "非空 revision(请先在适配器解包业务响应)" : e.sourceToken !== void 0 && typeof e.sourceToken != "string" ? o = "字符串 sourceToken" : e.diagnostics !== void 0 && !U(e.diagnostics) ? o = "结构化 diagnostics" : e.conflicts !== void 0 && !G(e.conflicts, r) && (o = "有效 editIndex/code/message/currentValue/revision conflicts"), o) throw new d("edit", `ReportProvider.save 必须返回${o};服务器可能已提交,请重新查询确认后再编辑`);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function S(e) {
|
|
201
201
|
return typeof e == "function" ? e() : e;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function v(e, r) {
|
|
204
204
|
const o = new Set(e.flatMap((t) => t.source?.[r] === void 0 ? [] : [String(t.source[r])]));
|
|
205
205
|
return o.size === 1 ? [...o][0] : void 0;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
return typeof e == "function" ? e() : s ? t ?? n?.[o] ??
|
|
207
|
+
function T(e, r, o, t, n, s = !1) {
|
|
208
|
+
return typeof e == "function" ? e() : s ? t ?? n?.[o] ?? v(r, o) ?? e : v(r, o) ?? t ?? e ?? n?.[o];
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function H(e, r, o) {
|
|
211
211
|
const t = r.query, n = e.reportId === void 0;
|
|
212
212
|
if (n && (!t || t.reportIds.length !== 1)) throw new d("config", "自动业务保存需要当前成功查询的单个报表上下文");
|
|
213
|
-
const s = e.reportId === void 0 ? t.reportIds[0] :
|
|
213
|
+
const s = e.reportId === void 0 ? t.reportIds[0] : S(e.reportId);
|
|
214
214
|
if (!s.trim()) throw new d("config", "业务保存缺少报表 ID");
|
|
215
|
-
if (n && new Set(o.map((
|
|
216
|
-
const f = { ...
|
|
215
|
+
if (n && new Set(o.map((a) => a.source?.sourceScope)).size > 1) throw new I("atomic");
|
|
216
|
+
const f = { ...S(e.params ?? t?.params ?? {}) }, g = t?.sources.filter((a) => a.reportId === s) ?? [], l = g.length === 1 ? g[0] : void 0;
|
|
217
217
|
return {
|
|
218
218
|
reportId: s,
|
|
219
219
|
params: f,
|
|
220
|
-
source:
|
|
220
|
+
source: l,
|
|
221
221
|
automatic: n,
|
|
222
|
-
identity: JSON.stringify([s, f, t?.queryId
|
|
222
|
+
identity: JSON.stringify([s, f, t?.queryId, t?.sources])
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function W(e) {
|
|
226
226
|
return e.requestId ?? globalThis.crypto?.randomUUID?.() ?? `mr-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function Y(e, r = {}) {
|
|
229
229
|
if (!e.save) throw new d("config", "ReportProvider.save 未配置,无法启用业务保存");
|
|
230
230
|
let o = "", t, n, s = 0;
|
|
231
|
-
function f(a,
|
|
232
|
-
a.conflicts?.length ||
|
|
231
|
+
function f(a, c, p) {
|
|
232
|
+
a.conflicts?.length || c !== o || p !== s || (t = a.revision, a.sourceToken !== void 0 && (n = a.sourceToken));
|
|
233
233
|
}
|
|
234
|
-
async function
|
|
235
|
-
if (
|
|
236
|
-
const { reportId:
|
|
237
|
-
if (
|
|
234
|
+
async function g(a, c) {
|
|
235
|
+
if (c.signal.aborted) throw c.signal.reason ?? new DOMException("Aborted", "AbortError");
|
|
236
|
+
const { reportId: p, params: x, identity: m, source: R, automatic: h } = H(r, c, a.edits), C = ++s;
|
|
237
|
+
if (m !== o && (o = m, t = void 0, n = void 0), r.requireSource !== !1 && a.edits.some((i) => !i.source)) throw new I("missing");
|
|
238
238
|
const u = await e.save({
|
|
239
|
-
reportId:
|
|
240
|
-
params:
|
|
241
|
-
signal:
|
|
239
|
+
reportId: p,
|
|
240
|
+
params: x,
|
|
241
|
+
signal: c.signal,
|
|
242
242
|
requestId: a.requestId,
|
|
243
|
-
action:
|
|
244
|
-
edits:
|
|
245
|
-
expectedRevision:
|
|
246
|
-
sourceToken:
|
|
243
|
+
action: c.action,
|
|
244
|
+
edits: w(a.edits),
|
|
245
|
+
expectedRevision: T(r.expectedRevision, a.edits, "revision", t, R, h),
|
|
246
|
+
sourceToken: T(r.sourceToken, a.edits, "sourceToken", n, R, h)
|
|
247
247
|
});
|
|
248
|
-
if (
|
|
249
|
-
|
|
250
|
-
const
|
|
251
|
-
if (
|
|
252
|
-
const
|
|
253
|
-
source: a.edits[
|
|
254
|
-
address: a.edits[
|
|
255
|
-
message:
|
|
256
|
-
...
|
|
257
|
-
revision:
|
|
248
|
+
if (c.signal.aborted) throw c.signal.reason ?? new DOMException("Aborted", "AbortError");
|
|
249
|
+
z(u, a.edits.length), u.diagnostics?.forEach((i) => q(() => r.onDiagnostic?.(i)));
|
|
250
|
+
const P = u.diagnostics?.filter((i) => i.severity === "error");
|
|
251
|
+
if (P?.length) throw new d("edit", P.map((i) => i.message).join(";"), { diagnostics: P });
|
|
252
|
+
const O = u.conflicts?.map((i) => ({
|
|
253
|
+
source: a.edits[i.editIndex]?.source,
|
|
254
|
+
address: a.edits[i.editIndex]?.address,
|
|
255
|
+
message: i.message,
|
|
256
|
+
...i.currentValue === void 0 ? {} : { currentValue: i.currentValue },
|
|
257
|
+
revision: i.revision ?? u.revision
|
|
258
258
|
}));
|
|
259
|
-
return f(u,
|
|
259
|
+
return f(u, m, C), { revision: u.revision, sourceToken: u.sourceToken, conflicts: O };
|
|
260
260
|
}
|
|
261
|
-
|
|
261
|
+
const l = {
|
|
262
262
|
requireSource: r.requireSource ?? !0,
|
|
263
263
|
canEdit: r.canEdit,
|
|
264
264
|
readOnlyReason: r.readOnlyReason,
|
|
@@ -267,65 +267,66 @@ function ee(e, r = {}) {
|
|
|
267
267
|
validate: r.validate,
|
|
268
268
|
validation: r.validation,
|
|
269
269
|
validateBatch: r.validateBatch,
|
|
270
|
-
saveBatch:
|
|
271
|
-
save: (a,
|
|
270
|
+
saveBatch: g,
|
|
271
|
+
save: (a, c) => g({ requestId: W(c), edits: [w(a)] }, c)
|
|
272
272
|
};
|
|
273
|
+
return M(l, () => Y(e, r)), l;
|
|
273
274
|
}
|
|
274
275
|
export {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
276
|
+
Me as DEFAULT_CALCULATION_MESSAGES,
|
|
277
|
+
De as DEFAULT_DATA_REVIEW_MESSAGES,
|
|
278
|
+
be as DEFAULT_MESSAGES,
|
|
279
|
+
ke as DEFAULT_PRINT_MESSAGES,
|
|
280
|
+
Fe as DEFAULT_THEME,
|
|
281
|
+
Ze as MACH_REPORT_CONFIG_KEY,
|
|
282
|
+
D as MACH_REPORT_CONTROLLER_KEY,
|
|
283
|
+
Qe as MACH_REPORT_FETCHER_KEY,
|
|
284
|
+
er as MACH_REPORT_PDF_EXPORTER_KEY,
|
|
284
285
|
d as MachReportError,
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
286
|
+
tr as MachReportPreview,
|
|
287
|
+
Le as PARAM_OPTIONS_MESSAGES,
|
|
288
|
+
y as PlanLoadError,
|
|
289
|
+
ae as REPORT_EXPORT_FORMATS,
|
|
290
|
+
ie as REPORT_PREVIEW_TOOLS,
|
|
291
|
+
ce as ReportDataComparisonPanel,
|
|
292
|
+
ue as ReportExportMenu,
|
|
293
|
+
fe as ReportPagination,
|
|
294
|
+
qe as ReportParamPanel,
|
|
295
|
+
de as ReportPrefillPanel,
|
|
296
|
+
ge as ReportPreview,
|
|
297
|
+
le as ReportPrintResourceError,
|
|
298
|
+
pe as ReportTaskStatus,
|
|
299
|
+
me as ReportToolbar,
|
|
300
|
+
Pe as ReportValidationPanel,
|
|
301
|
+
Ne as SILENT_LOGGER,
|
|
302
|
+
Ee as buildPrintDocument,
|
|
303
|
+
Re as buildWordHtml,
|
|
304
|
+
he as createDefaultPdfExporter,
|
|
305
|
+
ye as createFetchRequest,
|
|
306
|
+
ee as createLocalFetcher,
|
|
307
|
+
we as createPrintCalibrationPlan,
|
|
308
|
+
Y as createProviderEditing,
|
|
309
|
+
Se as createReportStoragePreferences,
|
|
310
|
+
Ue as defineMachReportConfig,
|
|
311
|
+
Ve as defineMachReportPreset,
|
|
312
|
+
ve as joinReportIds,
|
|
313
|
+
nr as machReportPlugin,
|
|
314
|
+
Te as normalizeReportIds,
|
|
315
|
+
je as normalizeReportLoadError,
|
|
316
|
+
Ie as preparePrintResources,
|
|
317
|
+
Ge as printCalibration,
|
|
318
|
+
Ae as printPlans,
|
|
319
|
+
ze as provideMachReportConfig,
|
|
320
|
+
He as resolveCalculationMessages,
|
|
321
|
+
We as resolveConfig,
|
|
322
|
+
Ye as resolveDataReviewMessages,
|
|
323
|
+
Be as snapshotPrintOptions,
|
|
324
|
+
Ke as themeToCssVars,
|
|
325
|
+
$e as toErrorDetail,
|
|
326
|
+
re as useMachReport,
|
|
327
|
+
Xe as useMachReportConfig,
|
|
328
|
+
xe as usePageWindow,
|
|
329
|
+
Ce as usePrintExport,
|
|
330
|
+
te as useReportPreview,
|
|
331
|
+
Oe as useZoom
|
|
331
332
|
};
|
package/dist/worker.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./protocol-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./protocol-CymmHWmL.cjs"),s=require("./auto-DjmvmcX-.cjs"),R=require("./encoding-DVea2qIR.cjs");function p(n,e=globalThis){const a=t=>{r.isReportWorkerRequest(t.data)&&r.runReportWorkerRequest(n,t.data,o=>e.postMessage({protocol:r.REPORT_WORKER_PROTOCOL,id:t.data.id,type:"event",event:o})).then(o=>e.postMessage(o,r.reportWorkerTransferList(o)))};return e.addEventListener("message",a),()=>e.removeEventListener("message",a)}exports.ReportWorkerError=r.ReportWorkerError;exports.ReportWorkerStartError=s.ReportWorkerStartError;exports.createAutoReportExporter=s.createAutoReportExporter;exports.createBrowserReportExecutor=s.createBrowserReportExecutor;exports.serveReportEncodingWorker=R.serveReportEncodingWorker;exports.serveReportWorker=p;
|
package/dist/worker.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as a, r as R, R as p, a as n } from "./protocol-
|
|
2
|
-
import { b as W } from "./protocol-
|
|
3
|
-
import { R as g, c as k, a as u } from "./auto-
|
|
4
|
-
import { s as x } from "./encoding-
|
|
1
|
+
import { i as a, r as R, R as p, a as n } from "./protocol-CZddmu2n.js";
|
|
2
|
+
import { b as W } from "./protocol-CZddmu2n.js";
|
|
3
|
+
import { R as g, c as k, a as u } from "./auto-j7mr8Kvc.js";
|
|
4
|
+
import { s as x } from "./encoding-BWEMdzFG.js";
|
|
5
5
|
function d(s, r = globalThis) {
|
|
6
6
|
const t = (o) => {
|
|
7
7
|
a(o.data) && R(s, o.data, (e) => r.postMessage({ protocol: p, id: o.data.id, type: "event", event: e })).then((e) => r.postMessage(e, n(e)));
|