@feedmepos/mf-report 5.14.1 → 5.14.2-beta.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/dist/{App-BSFklEEa.js → App-y_r1I8Kx.js} +33 -33
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-aFYkpOlH.js → BaseDialog.vue_vue_type_script_setup_true_lang-BfqoIHbA.js} +2 -2
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-DPMsvMfX.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-D_vOomEW.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-C1E7IoIA.js → Default.vue_vue_type_script_setup_true_lang-SKf2r2G8.js} +2 -2
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-AUYQMBzZ.js → DynamicWidget.vue_vue_type_script_setup_true_lang-BMVhDJ_I.js} +618 -592
- package/dist/{InsightView-CMmAT2rl.js → InsightView-BFki5EUd.js} +5 -5
- package/dist/{Integration-DrGnZU7Q.js → Integration-C1vkCqlT.js} +447 -438
- package/dist/{Integrations-BcKluNPe.js → Integrations-BTB-ZK56.js} +3 -3
- package/dist/{Layout-mIWpWnCL.js → Layout-V_HNhnDl.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-dzy_j_cA.js → MenuTab.vue_vue_type_script_setup_true_lang-CTyHtBSW.js} +6 -6
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-euNq77f5.js → NavigationTab.vue_vue_type_script_setup_true_lang-CCX9gZ52.js} +5 -5
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-j8BlZPPp.js → NoData.vue_vue_type_script_setup_true_lang-DT2L1CAc.js} +1 -1
- package/dist/{OverviewView-DDXR_j2B.js → OverviewView-B8azM0WK.js} +5 -5
- package/dist/{Report-BBtxkvJ6.js → Report-CNKUdP4L.js} +4 -4
- package/dist/{ReportEditor-fhkMIuBz.js → ReportEditor-BLwUfj38.js} +6 -6
- package/dist/{ReportView-DeKcGdcr.js → ReportView-CNwMhmvY.js} +7 -7
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-kzXPr73e.js → SelectComponent.vue_vue_type_script_setup_true_lang-CJaP9yq9.js} +1 -1
- package/dist/{Setting-BbkhsS8O.js → Setting-glu98b3A.js} +4 -4
- package/dist/{TileEditor-Bm2N-CGt.js → TileEditor-BmlqAFyc.js} +7 -7
- package/dist/{TransitionFade-SBrSUfhd.js → TransitionFade-DKCPXh2R.js} +5 -5
- package/dist/app.js +11 -11
- package/dist/assets/{formatChartData.worker-CzUhzs-5.js → formatChartData.worker-CtQY7gMJ.js} +2 -2
- package/dist/{helper-C0VLdBRU.js → helper-CZss0RvH.js} +1 -1
- package/dist/{vue-i18n-DG0DIzwC.js → vue-i18n-CLA-22OG.js} +14 -14
- package/package.json +1 -1
|
@@ -1722,7 +1722,7 @@ class fa extends Error {
|
|
|
1722
1722
|
}
|
|
1723
1723
|
}
|
|
1724
1724
|
function sa(e) {
|
|
1725
|
-
const t = "https://query-engine{.country}.
|
|
1725
|
+
const t = "https://query-engine{.country}.feedmeapidev.com", n = e.toLowerCase();
|
|
1726
1726
|
return n === "my" ? t.replace("{.country}", "") : t.replace("{.country}", `.${n}`);
|
|
1727
1727
|
}
|
|
1728
1728
|
function la(e) {
|
|
@@ -3386,30 +3386,30 @@ async function Yl(e) {
|
|
|
3386
3386
|
};
|
|
3387
3387
|
return await Ue.fetch(n);
|
|
3388
3388
|
}
|
|
3389
|
-
async function _l(e) {
|
|
3390
|
-
let
|
|
3389
|
+
async function _l(e, t) {
|
|
3390
|
+
let n = [];
|
|
3391
3391
|
try {
|
|
3392
|
-
const { businessId:
|
|
3393
|
-
dates: [...new Array(
|
|
3394
|
-
(
|
|
3392
|
+
const { businessId: A } = le(), { dateRange: r } = Fn(), o = Ae(r.endDate).diff(r.startDate, "day"), a = {
|
|
3393
|
+
dates: [...new Array(o + 1)].map(
|
|
3394
|
+
(v, g) => Ae(r.startDate).add(g, "day").utc().toISOString()
|
|
3395
3395
|
)
|
|
3396
|
-
},
|
|
3396
|
+
}, s = {
|
|
3397
3397
|
fetchType: ce.Post,
|
|
3398
|
-
url: `/${
|
|
3399
|
-
data:
|
|
3398
|
+
url: `/${A}/integration/${e}/download/metadata${t ? `?types=${t.join(",")}` : ""}`,
|
|
3399
|
+
data: a,
|
|
3400
3400
|
requestConfig: {
|
|
3401
3401
|
timeout: 1e3 * 60 * 3
|
|
3402
3402
|
}
|
|
3403
3403
|
};
|
|
3404
|
-
|
|
3405
|
-
const
|
|
3406
|
-
await ya(e,
|
|
3404
|
+
n = await Ue.fetch(s);
|
|
3405
|
+
const c = n.map(async (v) => {
|
|
3406
|
+
await ya(e, v);
|
|
3407
3407
|
});
|
|
3408
|
-
await Promise.all(
|
|
3408
|
+
await Promise.all(c);
|
|
3409
3409
|
} catch {
|
|
3410
3410
|
throw new Error("Failed to download");
|
|
3411
3411
|
}
|
|
3412
|
-
if (
|
|
3412
|
+
if (n.length === 0)
|
|
3413
3413
|
throw new Error("No downloadable file");
|
|
3414
3414
|
}
|
|
3415
3415
|
async function ya(e, t) {
|