@feedmepos/mf-report 5.10.6 → 5.10.7

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.
@@ -93,7 +93,7 @@ const ge = ["src"], he = ["src"], $e = /* @__PURE__ */ O({
93
93
  }), Z(() => {
94
94
  l(me);
95
95
  }), T(() => {
96
- console.log("5.10.6", !0), window.addEventListener("message", F), window.addEventListener("message", B);
96
+ console.log("5.10.7", !0), window.addEventListener("message", F), window.addEventListener("message", B);
97
97
  });
98
98
  const L = ie(), R = de();
99
99
  M(() => {
@@ -1302,21 +1302,23 @@ const za = /* @__PURE__ */ Z({
1302
1302
  const ut = Tt();
1303
1303
  let $e;
1304
1304
  async function ct() {
1305
- if (!(Ne.value.length === 0 || Ie.value)) {
1306
- if (M.value.config.schemaNames.length <= 0 && !(M.value.config.dimensions.length <= 0 || M.value.config.metrics.length <= 0)) {
1307
- ut.open({
1308
- message: "schema must not be empty and dimension or metrics must have at least 1 column",
1309
- type: "info"
1310
- }), s.value = !1;
1311
- return;
1312
- }
1313
- try {
1314
- s.value = !0, $e && $e.abort(), $e = new AbortController();
1315
- const l = $e.signal;
1316
- ve.value = await yt(aa, 500)(M.value, l, p.value.id), D.value = Ae(), s.value = !1;
1317
- } catch (l) {
1318
- l.code !== "ERR_CANCELED" && (ve.value = null, ut.open({ message: `Invalid chart ${M.value.type}`, type: "error" }), console.log(l), s.value = !1);
1319
- }
1305
+ if (Ne.value.length === 0 || Ie.value) {
1306
+ s.value = !1;
1307
+ return;
1308
+ }
1309
+ if (M.value.config.schemaNames.length <= 0 && !(M.value.config.dimensions.length <= 0 || M.value.config.metrics.length <= 0)) {
1310
+ ut.open({
1311
+ message: "schema must not be empty and dimension or metrics must have at least 1 column",
1312
+ type: "info"
1313
+ }), s.value = !1;
1314
+ return;
1315
+ }
1316
+ try {
1317
+ s.value = !0, $e && $e.abort(), $e = new AbortController();
1318
+ const l = $e.signal;
1319
+ ve.value = await yt(aa, 500)(M.value, l, p.value.id), D.value = Ae(), s.value = !1;
1320
+ } catch (l) {
1321
+ l.code !== "ERR_CANCELED" && (ve.value = null, ut.open({ message: `Invalid chart ${M.value.type}`, type: "error" }), console.log(l), s.value = !1);
1320
1322
  }
1321
1323
  }
1322
1324
  function Vt(l) {