@feedmepos/mf-report 5.16.2-beta.0 → 5.16.3-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-Cai6hgDX.js → App-EyBj9lkx.js} +3 -3
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-4ProJ47u.js → BaseDialog.vue_vue_type_script_setup_true_lang-80m6qiJM.js} +76 -81
- package/dist/{Default.vue_vue_type_script_setup_true_lang-Be1zUefG.js → Default.vue_vue_type_script_setup_true_lang-HTsqdmVI.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BouULeLr.js → DynamicWidget.vue_vue_type_script_setup_true_lang-C53TKTho.js} +1 -1
- package/dist/{InsightView-BMdULXxB.js → InsightView-BpwEtg9y.js} +2 -2
- package/dist/{Layout-Bj0UH9g4.js → Layout-DQmST4Gj.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-VZzP3ioV.js → MenuTab.vue_vue_type_script_setup_true_lang-Bz_l-DFb.js} +2 -2
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DB0u1Tyc.js → NavigationTab.vue_vue_type_script_setup_true_lang-BmqKyJ6o.js} +1 -1
- package/dist/{OverviewView-Bc_LHFuc.js → OverviewView-C6oPAYU_.js} +4 -4
- package/dist/{Report-Dm5yvNtt.js → Report-CWsfwkS0.js} +2 -2
- package/dist/{ReportEditor-CJW_8r_X.js → ReportEditor-DntTro8H.js} +3 -3
- package/dist/{ReportView-BY2yuFlE.js → ReportView-Bk38b2-F.js} +5 -5
- package/dist/{Setting-CtJiTvSy.js → Setting-QmIhwd54.js} +2 -2
- package/dist/{TileEditor-RppSHYuT.js → TileEditor-MYBKeoTu.js} +3 -3
- package/dist/{TransitionFade-j_XBbJri.js → TransitionFade-DURtQcT9.js} +2 -2
- package/dist/app.js +9 -9
- package/package.json +1 -1
|
@@ -2,8 +2,8 @@ import { defineComponent as O, resolveComponent as b, createBlock as I, openBloc
|
|
|
2
2
|
import { detectLocale as p, useCoreStore as y } from "@feedmepos/mf-common";
|
|
3
3
|
import { u as te, d as C, a as oe, b as re, c as ae, e as ne, f as se, g as le } from "./vue-i18n-CHLsTHGb.js";
|
|
4
4
|
import { storeToRefs as $ } from "pinia";
|
|
5
|
-
import { u as ue, a as ie, b as ce } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as de, u as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as ue, a as ie, b as ce } from "./BaseDialog.vue_vue_type_script_setup_true_lang-80m6qiJM.js";
|
|
6
|
+
import { _ as de, u as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BmqKyJ6o.js";
|
|
7
7
|
import { u as U } from "./message-dialog-UoMWOnil.js";
|
|
8
8
|
const ve = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, fe = /* @__PURE__ */ O({
|
|
9
9
|
__name: "Dialog",
|
|
@@ -93,7 +93,7 @@ const ge = ["src"], he = ["src"], $e = /* @__PURE__ */ O({
|
|
|
93
93
|
}), Z(() => {
|
|
94
94
|
l(de);
|
|
95
95
|
}), T(() => {
|
|
96
|
-
console.log("5.16.
|
|
96
|
+
console.log("5.16.3-beta.0", !0), window.addEventListener("message", F), window.addEventListener("message", B);
|
|
97
97
|
});
|
|
98
98
|
const E = ie(), L = me();
|
|
99
99
|
M(() => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as Ne, a as te, F as Z, s as ee, b as Ce, c as at, o as st, d as
|
|
1
|
+
import { k as Ne, a as te, F as Z, s as ee, b as Ce, c as at, o as st, d as fe, e as lt, r as Je, l as ot } from "./vue-i18n-CHLsTHGb.js";
|
|
2
2
|
import { storeToRefs as V, defineStore as Me } from "pinia";
|
|
3
3
|
import { ref as B, computed as Ae, watch as De, h as _t, defineComponent as ut, mergeModels as qe, useModel as dt, resolveComponent as ke, createBlock as ct, openBlock as pt, withCtx as be, createElementVNode as yt, createVNode as He, renderSlot as ft, createTextVNode as $t, toDisplayString as St } from "vue";
|
|
4
4
|
import { useSnackbar as Ge, components as gt } from "@feedmepos/ui-library";
|
|
@@ -115,7 +115,7 @@ var Re = {};
|
|
|
115
115
|
function X(r, t) {
|
|
116
116
|
P(t.prototype, r.prototype), r.prototype.constructor = r;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function ae(r, t, i, n) {
|
|
119
119
|
var a = r;
|
|
120
120
|
r[t] = a, r[i] = function() {
|
|
121
121
|
r[i] = function() {
|
|
@@ -132,7 +132,7 @@ var Re = {};
|
|
|
132
132
|
return s;
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function _e(r, t, i, n) {
|
|
136
136
|
var a = r;
|
|
137
137
|
r[t] = a, r[i] = function() {
|
|
138
138
|
return r[t] === a && (r[t] = n()), r[i] = function() {
|
|
@@ -140,7 +140,7 @@ var Re = {};
|
|
|
140
140
|
}, r[t];
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function le(r, t, i, n) {
|
|
144
144
|
var a = r;
|
|
145
145
|
r[t] = a, r[i] = function() {
|
|
146
146
|
if (r[t] === a) {
|
|
@@ -159,7 +159,7 @@ var Re = {};
|
|
|
159
159
|
function ue(r) {
|
|
160
160
|
return r;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function de(r) {
|
|
163
163
|
for (var t = 0; t < r.length; ++t)
|
|
164
164
|
r[t];
|
|
165
165
|
}
|
|
@@ -171,26 +171,26 @@ var Re = {};
|
|
|
171
171
|
return i === null && (i = e.closureFromTearOff(t)), new i(this, null);
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function ce(r) {
|
|
175
175
|
var t = null;
|
|
176
176
|
return function() {
|
|
177
177
|
return t === null && (t = e.closureFromTearOff(r).prototype), t;
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
-
var
|
|
181
|
-
function
|
|
182
|
-
return typeof _ == "number" && (_ +=
|
|
180
|
+
var ie = 0;
|
|
181
|
+
function se(r, t, i, n, a, s, o, _, d, c) {
|
|
182
|
+
return typeof _ == "number" && (_ += ie), { co: r, iS: t, iI: i, rC: n, dV: a, cs: s, fs: o, fT: _, aI: d || 0, nDA: c };
|
|
183
183
|
}
|
|
184
184
|
function Y(r, t, i, n, a, s, o, _) {
|
|
185
|
-
var d =
|
|
185
|
+
var d = se(r, !0, !1, i, n, a, s, o, _, !1), c = ce(d);
|
|
186
186
|
r[t] = c;
|
|
187
187
|
}
|
|
188
188
|
function oe(r, t, i, n, a, s, o, _, d, c) {
|
|
189
189
|
i = !!i;
|
|
190
|
-
var p =
|
|
190
|
+
var p = se(r, !1, i, n, a, s, o, _, d, !!c), y = K(i, p);
|
|
191
191
|
r[t] = y;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function ne(r) {
|
|
194
194
|
var t = D.interceptorsByTag;
|
|
195
195
|
if (!t) {
|
|
196
196
|
D.interceptorsByTag = r;
|
|
@@ -198,7 +198,7 @@ var Re = {};
|
|
|
198
198
|
}
|
|
199
199
|
J(r, t);
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function pe(r) {
|
|
202
202
|
var t = D.leafTags;
|
|
203
203
|
if (!t) {
|
|
204
204
|
D.leafTags = r;
|
|
@@ -206,7 +206,7 @@ var Re = {};
|
|
|
206
206
|
}
|
|
207
207
|
J(r, t);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function ye(r) {
|
|
210
210
|
var t = D.types, i = t.length;
|
|
211
211
|
return t.push.apply(t, r), i;
|
|
212
212
|
}
|
|
@@ -223,7 +223,7 @@ var Re = {};
|
|
|
223
223
|
return Y(o, _, i, n, a, [d], c, s);
|
|
224
224
|
};
|
|
225
225
|
};
|
|
226
|
-
return { inherit: Q, inheritMany: U, mixin: z, mixinHard: X, installStaticTearOff: Y, installInstanceTearOff: oe, _instance_0u: r(0, 0, null, ["call$0"], 0), _instance_1u: r(0, 1, null, ["call$1"], 0), _instance_2u: r(0, 2, null, ["call$2"], 0), _instance_0i: r(1, 0, null, ["call$0"], 0), _instance_1i: r(1, 1, null, ["call$1"], 0), _instance_2i: r(1, 2, null, ["call$2"], 0), _static_0: t(0, null, ["call$0"], 0), _static_1: t(1, null, ["call$1"], 0), _static_2: t(2, null, ["call$2"], 0), makeConstList: re, lazy:
|
|
226
|
+
return { inherit: Q, inheritMany: U, mixin: z, mixinHard: X, installStaticTearOff: Y, installInstanceTearOff: oe, _instance_0u: r(0, 0, null, ["call$0"], 0), _instance_1u: r(0, 1, null, ["call$1"], 0), _instance_2u: r(0, 2, null, ["call$2"], 0), _instance_0i: r(1, 0, null, ["call$0"], 0), _instance_1i: r(1, 1, null, ["call$1"], 0), _instance_2i: r(1, 2, null, ["call$2"], 0), _static_0: t(0, null, ["call$0"], 0), _static_1: t(1, null, ["call$1"], 0), _static_2: t(2, null, ["call$2"], 0), makeConstList: re, lazy: _e, lazyFinal: le, lazyOld: ae, updateHolder: me, convertToFastObject: ue, updateTypes: ye, setOrUpdateInterceptorsByTag: ne, setOrUpdateLeafTags: pe };
|
|
227
227
|
}(), e = {
|
|
228
228
|
JS_CONST: function() {
|
|
229
229
|
},
|
|
@@ -10132,7 +10132,7 @@ then EXTRACT(EPOCH FROM COALESCE(timesheets.ended_at,!end)-(timesheets.created_a
|
|
|
10132
10132
|
return this(r, t, i);
|
|
10133
10133
|
}, Function.prototype.call$8 = function(r, t, i, n, a, s, o, _) {
|
|
10134
10134
|
return this(r, t, i, n, a, s, o, _);
|
|
10135
|
-
},
|
|
10135
|
+
}, de(he), function(r) {
|
|
10136
10136
|
if (typeof document > "u") {
|
|
10137
10137
|
r(null);
|
|
10138
10138
|
return;
|
|
@@ -10300,13 +10300,13 @@ const Se = {
|
|
|
10300
10300
|
getSchema: C
|
|
10301
10301
|
};
|
|
10302
10302
|
}), kt = "mf-reportreport-store", Ve = Me(kt, () => {
|
|
10303
|
-
const { business: g, globalFilters: I } = V(Ce()), { schemas: C } = V(qt()), { flags: b } = V(at()), L = B([]), M = B([]), J = B(0), P = Ge(), x = Ae(() => L.value.filter((r) => r.editable)), k = Ae(() => L.value.filter((r) => !r.editable)), Q = B(!1), U = B(""), z = B(), X = B(),
|
|
10303
|
+
const { business: g, globalFilters: I } = V(Ce()), { schemas: C } = V(qt()), { flags: b } = V(at()), L = B([]), M = B([]), J = B(0), P = Ge(), x = Ae(() => L.value.filter((r) => r.editable)), k = Ae(() => L.value.filter((r) => !r.editable)), Q = B(!1), U = B(""), z = B(), X = B(), ae = Ae(() => {
|
|
10304
10304
|
const r = b.value.find(
|
|
10305
10305
|
(t) => t.key === st.report_portal_integration_custom_report
|
|
10306
10306
|
);
|
|
10307
10307
|
return typeof (r == null ? void 0 : r.value) == "number" ? r.value : null;
|
|
10308
|
-
}),
|
|
10309
|
-
async function
|
|
10308
|
+
}), _e = Ae(() => ae.value === null ? !0 : ae.value - x.value.length > 0);
|
|
10309
|
+
async function le() {
|
|
10310
10310
|
return X.value = await wt(), X.value;
|
|
10311
10311
|
}
|
|
10312
10312
|
async function re() {
|
|
@@ -10324,7 +10324,7 @@ const Se = {
|
|
|
10324
10324
|
const ue = Ae(
|
|
10325
10325
|
() => L.value.find((r) => r.id === U.value)
|
|
10326
10326
|
);
|
|
10327
|
-
function
|
|
10327
|
+
function de(r) {
|
|
10328
10328
|
var i;
|
|
10329
10329
|
const t = (i = C.value.find((n) => n.name === r.schemaName)) == null ? void 0 : i.fields.find((n) => n.name === r.name);
|
|
10330
10330
|
return t == null ? void 0 : t.type;
|
|
@@ -10339,13 +10339,13 @@ const Se = {
|
|
|
10339
10339
|
...t,
|
|
10340
10340
|
options: [],
|
|
10341
10341
|
values: [],
|
|
10342
|
-
type:
|
|
10342
|
+
type: de(t)
|
|
10343
10343
|
}));
|
|
10344
10344
|
},
|
|
10345
10345
|
{ deep: !0 }
|
|
10346
10346
|
);
|
|
10347
|
-
const K = B(),
|
|
10348
|
-
async function
|
|
10347
|
+
const K = B(), ce = B(0), ie = B(), se = B(null), Y = B(null), oe = B(!1), ne = B(!1), pe = B(!1);
|
|
10348
|
+
async function ye(r) {
|
|
10349
10349
|
const t = x.value.findIndex((n) => n.id === r.id);
|
|
10350
10350
|
let i;
|
|
10351
10351
|
t >= 0 ? i = (await Rt(r)).id : i = (await bt(r)).id, await re(), $(i);
|
|
@@ -10394,12 +10394,12 @@ const Se = {
|
|
|
10394
10394
|
const r = Se.getJson("feedback");
|
|
10395
10395
|
if (!r[g.value._id])
|
|
10396
10396
|
r[g.value._id] = {
|
|
10397
|
-
date:
|
|
10397
|
+
date: fe().local().format("YYYY-MM-DD"),
|
|
10398
10398
|
feedback: !1
|
|
10399
10399
|
};
|
|
10400
10400
|
else {
|
|
10401
|
-
const t =
|
|
10402
|
-
Math.abs(t.diff(
|
|
10401
|
+
const t = fe(r[g.value._id].date).local();
|
|
10402
|
+
Math.abs(t.diff(fe().endOf("day").local(), "d")) >= 1 && !r[g.value._id].feedback && (ne.value = !0);
|
|
10403
10403
|
}
|
|
10404
10404
|
Se.setJson("feedback", r);
|
|
10405
10405
|
}
|
|
@@ -10409,16 +10409,16 @@ const Se = {
|
|
|
10409
10409
|
}
|
|
10410
10410
|
return {
|
|
10411
10411
|
isOpenDownloadDialog: oe,
|
|
10412
|
-
isOpenFeedbackDialog:
|
|
10413
|
-
isOpenEmailDialog:
|
|
10412
|
+
isOpenFeedbackDialog: ne,
|
|
10413
|
+
isOpenEmailDialog: pe,
|
|
10414
10414
|
currentSelectWidgetType: z,
|
|
10415
10415
|
reports: L,
|
|
10416
10416
|
categories: M,
|
|
10417
10417
|
currentReport: ue,
|
|
10418
10418
|
editingReport: K,
|
|
10419
|
-
editingTileIndex:
|
|
10420
|
-
editingTile:
|
|
10421
|
-
editingGlobalFilterIndex:
|
|
10419
|
+
editingTileIndex: ce,
|
|
10420
|
+
editingTile: ie,
|
|
10421
|
+
editingGlobalFilterIndex: se,
|
|
10422
10422
|
editingGlobalFilter: Y,
|
|
10423
10423
|
currentReportId: U,
|
|
10424
10424
|
editableReports: x,
|
|
@@ -10427,15 +10427,15 @@ const Se = {
|
|
|
10427
10427
|
overviewReport: X,
|
|
10428
10428
|
pinReport: l,
|
|
10429
10429
|
scrollPositionY: J,
|
|
10430
|
-
customReportQuota:
|
|
10431
|
-
canCreateCustomReport:
|
|
10432
|
-
createOrUpdateReport:
|
|
10430
|
+
customReportQuota: ae,
|
|
10431
|
+
canCreateCustomReport: _e,
|
|
10432
|
+
createOrUpdateReport: ye,
|
|
10433
10433
|
removeReport: W,
|
|
10434
10434
|
updateCurrentReportId: $,
|
|
10435
10435
|
getReports: re,
|
|
10436
10436
|
updateDefaultReport: e,
|
|
10437
10437
|
checkFeedback: h,
|
|
10438
|
-
getOverviewReport:
|
|
10438
|
+
getOverviewReport: le,
|
|
10439
10439
|
refreshPinReport: he,
|
|
10440
10440
|
cachePinReport: f,
|
|
10441
10441
|
clearPinReport: D,
|
|
@@ -10551,7 +10551,7 @@ const Gt = "mf-reportwidget-size", Ye = Me(Gt, () => {
|
|
|
10551
10551
|
}
|
|
10552
10552
|
return { sizes: g, extractChartSize: I };
|
|
10553
10553
|
});
|
|
10554
|
-
|
|
10554
|
+
fe.extend(ot);
|
|
10555
10555
|
async function Vt(g, I) {
|
|
10556
10556
|
for (let C = 0; C < g.length; C++)
|
|
10557
10557
|
try {
|
|
@@ -10563,7 +10563,7 @@ async function Vt(g, I) {
|
|
|
10563
10563
|
throw new Error("No callback");
|
|
10564
10564
|
}
|
|
10565
10565
|
const sr = async (g, I, C) => {
|
|
10566
|
-
var
|
|
10566
|
+
var le, re, ue, de;
|
|
10567
10567
|
const { businessId: b, country: L } = V(te()), {
|
|
10568
10568
|
selectedRestaurantIds: M,
|
|
10569
10569
|
selectedWarehouseIds: J,
|
|
@@ -10583,32 +10583,27 @@ const sr = async (g, I, C) => {
|
|
|
10583
10583
|
dateRange: [x.startDate, x.endDate],
|
|
10584
10584
|
compareDateRange: k.startDate && k.endDate ? [k.startDate, k.endDate] : void 0,
|
|
10585
10585
|
timeRange: [
|
|
10586
|
-
|
|
10587
|
-
|
|
10586
|
+
fe().set("hour", Number((le = Q.start) == null ? void 0 : le.hour)).set("minute", Number((re = Q.start) == null ? void 0 : re.minute)).toISOString(),
|
|
10587
|
+
fe().set("hour", Number((ue = Q.end) == null ? void 0 : ue.hour)).set("minute", Number((de = Q.end) == null ? void 0 : de.minute)).toISOString()
|
|
10588
10588
|
],
|
|
10589
10589
|
businessIds: b.value ? [b.value] : [],
|
|
10590
10590
|
restaurantIds: M,
|
|
10591
10591
|
warehouseIds: J,
|
|
10592
10592
|
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
10593
|
-
}).map((
|
|
10594
|
-
const
|
|
10593
|
+
}).map((K, ce) => {
|
|
10594
|
+
const ie = ce === 0 ? 3e3 : 12e3;
|
|
10595
10595
|
return {
|
|
10596
|
-
...
|
|
10597
|
-
limit: M.length > 50 ? g.config.limit ||
|
|
10596
|
+
...K,
|
|
10597
|
+
limit: M.length > 50 ? g.config.limit || ie : g.config.limit
|
|
10598
10598
|
};
|
|
10599
10599
|
}),
|
|
10600
10600
|
requestConfig: {
|
|
10601
10601
|
timeout: 1e3 * 60 * 5,
|
|
10602
10602
|
signal: I
|
|
10603
10603
|
}
|
|
10604
|
-
},
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
() => ee.fetch(X),
|
|
10608
|
-
() => (X.url = X.url.replace("postgres-query", "query"), ee.fetch(X))
|
|
10609
|
-
],
|
|
10610
|
-
2e3
|
|
10611
|
-
);
|
|
10604
|
+
}, ae = [() => ee.fetch(X)];
|
|
10605
|
+
M.length < 50 && ae.push(() => ee.fetch(X)), ae.push(() => (X.url = X.url.replace("postgres-query", "query"), ee.fetch(X)));
|
|
10606
|
+
const _e = await Vt(ae, 2e3);
|
|
10612
10607
|
return (await Bt(Ut, {
|
|
10613
10608
|
responses: _e,
|
|
10614
10609
|
widget: JSON.parse(JSON.stringify(g)),
|
|
@@ -10662,24 +10657,24 @@ const lr = async ({
|
|
|
10662
10657
|
timeRange: M,
|
|
10663
10658
|
dateRange: J
|
|
10664
10659
|
}) => {
|
|
10665
|
-
const { businessId: P } = V(te()), { restaurants: x, warehouses: k, globalFilters: Q } = Ce(), { currentReport: U, overviewReport: z } = Ve(), { selectedNavigationTab: X } = We(), { sizes:
|
|
10666
|
-
let
|
|
10667
|
-
X === "overview" && z && (
|
|
10668
|
-
const re =
|
|
10660
|
+
const { businessId: P } = V(te()), { restaurants: x, warehouses: k, globalFilters: Q } = Ce(), { currentReport: U, overviewReport: z } = Ve(), { selectedNavigationTab: X } = We(), { sizes: ae } = Ye();
|
|
10661
|
+
let _e = U == null ? void 0 : U.id, le = (U == null ? void 0 : U.tiles) ?? [];
|
|
10662
|
+
X === "overview" && z && (_e = z == null ? void 0 : z.id, le = (z == null ? void 0 : z.tiles) ?? []);
|
|
10663
|
+
const re = le.filter((Y, oe) => typeof I == "number" ? oe === I : !0).map((Y) => xe(Y.widget, Q, Y.id)), ue = {
|
|
10669
10664
|
fetchType: Z.Post,
|
|
10670
10665
|
url: `/${P.value}/file?lang=${Pe()}`,
|
|
10671
10666
|
data: {
|
|
10672
10667
|
configs: [
|
|
10673
10668
|
...re.map((Y, oe) => {
|
|
10674
|
-
var
|
|
10675
|
-
const
|
|
10669
|
+
var pe, ye, me, W;
|
|
10670
|
+
const ne = ae[I ?? oe];
|
|
10676
10671
|
return {
|
|
10677
10672
|
requests: Re.getQueryRequests({
|
|
10678
10673
|
widget: Y,
|
|
10679
10674
|
dateRange: [J.startDate, J.endDate],
|
|
10680
10675
|
timeRange: [
|
|
10681
|
-
|
|
10682
|
-
|
|
10676
|
+
fe().set("hour", Number((pe = M.start) == null ? void 0 : pe.hour)).set("minute", Number((ye = M.start) == null ? void 0 : ye.minute)).toISOString(),
|
|
10677
|
+
fe().set("hour", Number((me = M.end) == null ? void 0 : me.hour)).set("minute", Number((W = M.end) == null ? void 0 : W.minute)).toISOString()
|
|
10683
10678
|
],
|
|
10684
10679
|
businessIds: P ? [P.value] : [],
|
|
10685
10680
|
restaurantIds: L.filter(
|
|
@@ -10692,14 +10687,14 @@ const lr = async ({
|
|
|
10692
10687
|
}),
|
|
10693
10688
|
index: I || oe,
|
|
10694
10689
|
drillDimension: null,
|
|
10695
|
-
chartWidth: (
|
|
10696
|
-
chartHeight: (
|
|
10690
|
+
chartWidth: (ne == null ? void 0 : ne.width) ?? Y.config.chartWidth,
|
|
10691
|
+
chartHeight: (ne == null ? void 0 : ne.height) ?? Y.config.chartHeight,
|
|
10697
10692
|
...je(Y),
|
|
10698
10693
|
...Ke(Y)
|
|
10699
10694
|
};
|
|
10700
10695
|
})
|
|
10701
10696
|
],
|
|
10702
|
-
reportId:
|
|
10697
|
+
reportId: _e,
|
|
10703
10698
|
type: g,
|
|
10704
10699
|
orientationTypes: C,
|
|
10705
10700
|
isCombinedLocationLayout: b
|
|
@@ -10708,8 +10703,8 @@ const lr = async ({
|
|
|
10708
10703
|
responseType: "arraybuffer",
|
|
10709
10704
|
timeout: 1e3 * 60 * 60 * 24
|
|
10710
10705
|
}
|
|
10711
|
-
}, { headers:
|
|
10712
|
-
|
|
10706
|
+
}, { headers: de, data: K } = await Je.rawFetch(ue), ce = de["content-disposition"].split("filename=")[1].replaceAll('"', ""), ie = window.URL.createObjectURL(new Blob([new Uint8Array(K).buffer])), se = document.createElement("a");
|
|
10707
|
+
se.href = ie, se.setAttribute("download", decodeURIComponent(ce)), document.body.appendChild(se), se.click(), se.remove();
|
|
10713
10708
|
}, or = async ({
|
|
10714
10709
|
emails: g,
|
|
10715
10710
|
types: I,
|
|
@@ -10719,51 +10714,51 @@ const lr = async ({
|
|
|
10719
10714
|
orientationTypes: M,
|
|
10720
10715
|
isCombinedLocationLayout: J
|
|
10721
10716
|
}) => {
|
|
10722
|
-
const { businessId: P } = V(te()), { currentReport: x, overviewReport: k } = Ve(), { selectedNavigationTab: Q } = We(), { restaurants: U, warehouses: z, globalFilters: X } = Ce(), { sizes:
|
|
10717
|
+
const { businessId: P } = V(te()), { currentReport: x, overviewReport: k } = Ve(), { selectedNavigationTab: Q } = We(), { restaurants: U, warehouses: z, globalFilters: X } = Ce(), { sizes: ae } = Ye();
|
|
10723
10718
|
if (g.length === 0) {
|
|
10724
10719
|
console.error("No email addresses provided.");
|
|
10725
10720
|
return;
|
|
10726
10721
|
}
|
|
10727
|
-
let
|
|
10728
|
-
Q === "overview" && k && (
|
|
10729
|
-
const ue = re.map((K) => xe(K.widget, X, K.id)),
|
|
10722
|
+
let _e = (x == null ? void 0 : x.id) || "", le = (x == null ? void 0 : x.name) || "", re = (x == null ? void 0 : x.tiles) ?? [];
|
|
10723
|
+
Q === "overview" && k && (_e = k == null ? void 0 : k.id, le = k.name, re = (k == null ? void 0 : k.tiles) ?? []);
|
|
10724
|
+
const ue = re.map((K) => xe(K.widget, X, K.id)), de = {
|
|
10730
10725
|
businessId: P.value,
|
|
10731
10726
|
status: ze.generating,
|
|
10732
10727
|
dateRange: {
|
|
10733
10728
|
start: C.startDate,
|
|
10734
10729
|
end: C.endDate
|
|
10735
10730
|
},
|
|
10736
|
-
reportName:
|
|
10731
|
+
reportName: le,
|
|
10737
10732
|
emails: g,
|
|
10738
|
-
configs: ue.map((K,
|
|
10739
|
-
var
|
|
10740
|
-
const
|
|
10733
|
+
configs: ue.map((K, ce) => {
|
|
10734
|
+
var se, Y, oe, ne;
|
|
10735
|
+
const ie = ae[ce];
|
|
10741
10736
|
return {
|
|
10742
10737
|
requests: Re.getQueryRequests({
|
|
10743
10738
|
widget: K,
|
|
10744
10739
|
dateRange: [C.startDate, C.endDate],
|
|
10745
10740
|
timeRange: [
|
|
10746
|
-
|
|
10747
|
-
|
|
10741
|
+
fe().hour(Number((se = b.start) == null ? void 0 : se.hour)).minute(Number((Y = b.start) == null ? void 0 : Y.minute)).toISOString(),
|
|
10742
|
+
fe().hour(Number((oe = b.end) == null ? void 0 : oe.hour)).minute(Number((ne = b.end) == null ? void 0 : ne.minute)).toISOString()
|
|
10748
10743
|
],
|
|
10749
10744
|
businessIds: P ? [P.value] : [],
|
|
10750
10745
|
restaurantIds: L.filter(
|
|
10751
|
-
(
|
|
10746
|
+
(pe) => U.find((ye) => ye.id === pe)
|
|
10752
10747
|
),
|
|
10753
10748
|
warehouseIds: L.filter(
|
|
10754
|
-
(
|
|
10749
|
+
(pe) => z.find((ye) => ye.id === pe)
|
|
10755
10750
|
),
|
|
10756
10751
|
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
10757
10752
|
}),
|
|
10758
|
-
index:
|
|
10753
|
+
index: ce,
|
|
10759
10754
|
drillDimension: null,
|
|
10760
|
-
chartWidth: (
|
|
10761
|
-
chartHeight: (
|
|
10755
|
+
chartWidth: (ie == null ? void 0 : ie.width) ?? K.config.chartWidth,
|
|
10756
|
+
chartHeight: (ie == null ? void 0 : ie.height) ?? K.config.chartHeight,
|
|
10762
10757
|
...je(K),
|
|
10763
10758
|
...Ke(K)
|
|
10764
10759
|
};
|
|
10765
10760
|
}),
|
|
10766
|
-
reportId:
|
|
10761
|
+
reportId: _e,
|
|
10767
10762
|
type: I,
|
|
10768
10763
|
orientationTypes: M,
|
|
10769
10764
|
isCombinedLocationLayout: J
|
|
@@ -10771,7 +10766,7 @@ const lr = async ({
|
|
|
10771
10766
|
await Je.fetch({
|
|
10772
10767
|
fetchType: Z.Post,
|
|
10773
10768
|
url: `/${P.value}/reports/email?lang=${Pe()}`,
|
|
10774
|
-
data:
|
|
10769
|
+
data: de,
|
|
10775
10770
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
10776
10771
|
});
|
|
10777
10772
|
}, _r = async (g) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as s, openBlock as t, normalizeStyle as n, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as g, renderSlot as x } from "vue";
|
|
2
|
-
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BmqKyJ6o.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as C } from "pinia";
|
|
5
5
|
import { u as q, f as w } from "./vue-i18n-CHLsTHGb.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as y, defineComponent as ee, mergeModels as me, useModel as te, ref as h, onMounted as ke, nextTick as X, watch as J, resolveComponent as V, createElementBlock as N, openBlock as W, Fragment as oe, renderSlot as pe, createVNode as B, normalizeStyle as ne, unref as l, createElementVNode as P, toDisplayString as Le, withCtx as q, createBlock as U, createCommentVNode as he, normalizeClass as Pe, h as bt, renderList as kt, createTextVNode as Qt, onUnmounted as ea, resolveDynamicComponent as ta, withDirectives as aa, vShow as la } from "vue";
|
|
2
|
-
import { W as F, d as Ee, v as $e, e as Ye, f as _t, q as oa, R as xe, g as na } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { W as F, d as Ee, v as $e, e as Ye, f as _t, q as oa, R as xe, g as na } from "./BaseDialog.vue_vue_type_script_setup_true_lang-80m6qiJM.js";
|
|
3
3
|
import { u as Me, b as at, a as lt } from "./vue-i18n-CHLsTHGb.js";
|
|
4
4
|
import { a as wt } from "./helper-DJZfVXf0.js";
|
|
5
5
|
import { storeToRefs as ze, defineStore as sa } from "pinia";
|
|
@@ -2,13 +2,13 @@ var Zo = Object.defineProperty;
|
|
|
2
2
|
var Jo = (i, t, e) => t in i ? Zo(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var k = (i, t, e) => Jo(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import { ref as $t, defineComponent as oe, watch as ri, computed as _t, onMounted as Qo, createElementBlock as U, openBlock as I, createElementVNode as R, renderSlot as Un, toDisplayString as lt, resolveDirective as Xn, createCommentVNode as St, Fragment as Ii, renderList as zi, createBlock as Ht, withDirectives as Ge, resolveDynamicComponent as es, unref as G, withCtx as Yt, createVNode as et, normalizeClass as Ze, resolveComponent as Me, useModel as ta, createTextVNode as ea, isRef as ki, nextTick as ia } from "vue";
|
|
5
|
-
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-HTsqdmVI.js";
|
|
6
6
|
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Yv4mU3CA.js";
|
|
7
7
|
import { d as Bi, a as Kn, q as qn, F as Gn, u as Zn, h as ys, b as oa } from "./vue-i18n-CHLsTHGb.js";
|
|
8
8
|
import { storeToRefs as Jn } from "pinia";
|
|
9
9
|
import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
|
|
10
10
|
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-BF1MLXsF.js";
|
|
11
|
-
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BmqKyJ6o.js";
|
|
12
12
|
import { useCoreStore as ha } from "@feedmepos/mf-common";
|
|
13
13
|
function da({ start: i, end: t }) {
|
|
14
14
|
return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, resolveComponent as t, createBlock as r, openBlock as n, withCtx as _, createVNode as c } from "vue";
|
|
2
|
-
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-HTsqdmVI.js";
|
|
3
3
|
const f = /* @__PURE__ */ o({
|
|
4
4
|
__name: "Layout",
|
|
5
5
|
setup(m) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as R, computed as j, ref as oe, watch as q, resolveComponent as b, createElementBlock as f, openBlock as u, renderSlot as re, Fragment as D, renderList as U, createBlock as g, unref as r, withCtx as C, createElementVNode as L, createCommentVNode as N, createVNode as p, isRef as S, useModel as ue, normalizeClass as z, toDisplayString as ie } from "vue";
|
|
2
2
|
import { u as me, b as H, d as E, i as de } from "./vue-i18n-CHLsTHGb.js";
|
|
3
3
|
import { storeToRefs as T } from "pinia";
|
|
4
|
-
import { a as pe, d as ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { a as pe, d as ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BmqKyJ6o.js";
|
|
5
5
|
import { _ as J, a as fe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Yv4mU3CA.js";
|
|
6
|
-
import { a as ve, b as be, D as w, q as _e, W as Y, S as ye } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { a as ve, b as be, D as w, q as _e, W as Y, S as ye } from "./BaseDialog.vue_vue_type_script_setup_true_lang-80m6qiJM.js";
|
|
7
7
|
import { _ as he } from "./NoData.vue_vue_type_script_setup_true_lang-BF1MLXsF.js";
|
|
8
8
|
import { d as ge } from "./helper-DJZfVXf0.js";
|
|
9
9
|
import { detectLocale as Fe } from "@feedmepos/mf-common";
|
|
@@ -4,7 +4,7 @@ var hs = (e, r, t) => P9(e, typeof r != "symbol" ? r + "" : r, t);
|
|
|
4
4
|
import { defineComponent as qt, computed as Et, useModel as Ea, ref as De, watch as na, resolveComponent as pe, createBlock as Ge, unref as Y, openBlock as le, withCtx as Re, createElementVNode as se, createVNode as Q, toDisplayString as Ke, withDirectives as Xn, createElementBlock as Le, Fragment as xt, renderList as Lt, vShow as u0, createTextVNode as Br, mergeModels as bn, createCommentVNode as mt, normalizeClass as Wn, withModifiers as Ds, onMounted as Rd, renderSlot as Xd, mergeProps as S9, nextTick as O9, resolveDynamicComponent as gh, withKeys as D9, vModelText as I9, normalizeStyle as V9, isRef as N0, createSlots as N9 } from "vue";
|
|
5
5
|
import { useRouter as zd, useRoute as Hd } from "vue-router";
|
|
6
6
|
import { storeToRefs as pr, defineStore as nu } from "pinia";
|
|
7
|
-
import { a as Ri, R as o0, g as iu, _ as L9, v as B9, e as bs, f as M9, r as R9, h as mn, i as X9, j as z9, k as H9, s as q9, u as W9 } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { a as Ri, R as o0, g as iu, _ as L9, v as B9, e as bs, f as M9, r as R9, h as mn, i as X9, j as z9, k as H9, s as q9, u as W9 } from "./BaseDialog.vue_vue_type_script_setup_true_lang-80m6qiJM.js";
|
|
8
8
|
import { useBreakpoints as nl, components as h0, useSnackbar as Xi, useDialog as j9, useDialogChild as U9, FmButtonVariant as yh } from "@feedmepos/ui-library";
|
|
9
9
|
import { u as Pa, j as su, k as il, a as Sa, F as Za, r as sl, d as _e, b as y0, l as zi, q as ll, m as Z9, n as Y9, e as G9, o as ds, s as qd, t as Q9, p as K9 } from "./vue-i18n-CHLsTHGb.js";
|
|
10
10
|
import { _ as wh, a as J9 } from "./SelectComponent.vue_vue_type_script_setup_true_lang-nAU0NNg5.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as g, computed as w, resolveComponent as k, createBlock as a, openBlock as t, withCtx as $, createVNode as d, createElementVNode as y, unref as e, normalizeStyle as C, normalizeClass as u, createElementBlock as _, Fragment as h, renderList as B } from "vue";
|
|
2
|
-
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as P } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-C53TKTho.js";
|
|
3
|
+
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-HTsqdmVI.js";
|
|
4
|
+
import { a as P } from "./BaseDialog.vue_vue_type_script_setup_true_lang-80m6qiJM.js";
|
|
5
5
|
import { storeToRefs as R } from "pinia";
|
|
6
6
|
import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-BF1MLXsF.js";
|
|
7
7
|
import { useBreakpoints as V } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-Bz_l-DFb.js";
|
|
9
9
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
10
10
|
const G = /* @__PURE__ */ g({
|
|
11
11
|
__name: "OverviewView",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as me, ref as O, watch as W, computed as w, h as f, withModifiers as ue, resolveComponent as x, createBlock as T, openBlock as F, withCtx as i, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as pe, normalizeClass as C, withDirectives as B, createElementBlock as de, Fragment as fe, renderList as ve, toDisplayString as R, createTextVNode as ye, vShow as D } from "vue";
|
|
2
2
|
import { storeToRefs as X } from "pinia";
|
|
3
|
-
import { a as ge } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a as ge } from "./BaseDialog.vue_vue_type_script_setup_true_lang-80m6qiJM.js";
|
|
4
|
+
import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-HTsqdmVI.js";
|
|
5
5
|
import { u as he } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { b as xe, f as Ce } from "./vue-i18n-CHLsTHGb.js";
|
|
7
7
|
import { useSnackbar as _e, useBreakpoints as ke, components as we, FmButtonColorThemeVariant as $e } from "@feedmepos/ui-library";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as G, mergeModels as L, useModel as j, ref as q, computed as U, resolveComponent as f, createBlock as $, openBlock as i, withCtx as s, createElementVNode as w, createVNode as t, unref as l, normalizeClass as oe, createTextVNode as ce, toDisplayString as P, createElementBlock as S, Fragment as J, renderSlot as Ce, createCommentVNode as Q, watch as pe, renderList as X, resolveDynamicComponent as Ue, isRef as ke, normalizeStyle as ve, onMounted as Be } from "vue";
|
|
2
|
-
import { W as De, _ as We, i as Ie, S as ye, d as _e, T as Re, a as qe } from "./TransitionFade-
|
|
3
|
-
import { c as Pe, D as le, C as we, a as Ve, b as Ee, v as te } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { W as De, _ as We, i as Ie, S as ye, d as _e, T as Re, a as qe } from "./TransitionFade-DURtQcT9.js";
|
|
3
|
+
import { c as Pe, D as le, C as we, a as Ve, b as Ee, v as te } from "./BaseDialog.vue_vue_type_script_setup_true_lang-80m6qiJM.js";
|
|
4
4
|
import { storeToRefs as fe } from "pinia";
|
|
5
5
|
import { useRouter as Se, useRoute as $e } from "vue-router";
|
|
6
6
|
import { useBreakpoints as ie, useSnackbar as Oe, FmButtonColorThemeVariant as Z } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as Te } from "./message-dialog-UoMWOnil.js";
|
|
8
8
|
import { u as ae, i as ue, f as ze } from "./vue-i18n-CHLsTHGb.js";
|
|
9
|
-
import { _ as de } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as de } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-C53TKTho.js";
|
|
10
10
|
import { _ as me } from "./NoData.vue_vue_type_script_setup_true_lang-BF1MLXsF.js";
|
|
11
11
|
import { r as re } from "./i18n-Cif1I9J2.js";
|
|
12
12
|
import { _ as Fe } from "./SelectComponent.vue_vue_type_script_setup_true_lang-nAU0NNg5.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as z, computed as v, resolveComponent as H, createBlock as g, openBlock as u, withCtx as M, createVNode as h, createElementVNode as D, unref as o, normalizeStyle as Y, normalizeClass as R, createElementBlock as $, Fragment as G, renderList as Q } from "vue";
|
|
2
|
-
import { _ as U } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as W } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as U } from "./MenuTab.vue_vue_type_script_setup_true_lang-Bz_l-DFb.js";
|
|
3
|
+
import { _ as W } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-C53TKTho.js";
|
|
4
4
|
import { useRouter as K, useRoute as X } from "vue-router";
|
|
5
|
-
import { _ as Z } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { a as ee } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as Z } from "./Default.vue_vue_type_script_setup_true_lang-HTsqdmVI.js";
|
|
6
|
+
import { a as ee } from "./BaseDialog.vue_vue_type_script_setup_true_lang-80m6qiJM.js";
|
|
7
7
|
import { storeToRefs as p } from "pinia";
|
|
8
|
-
import { b as oe, c as te, u as re } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { b as oe, c as te, u as re } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BmqKyJ6o.js";
|
|
9
9
|
import { _ as ae } from "./NoData.vue_vue_type_script_setup_true_lang-BF1MLXsF.js";
|
|
10
10
|
import { useSnackbar as le, useBreakpoints as ne } from "@feedmepos/ui-library";
|
|
11
11
|
import { u as ie, f as se, e as ue } from "./vue-i18n-CHLsTHGb.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as B, ref as H, useModel as J, resolveComponent as h, createElementBlock as k, openBlock as x, createBlock as P, createElementVNode as t, resolveDynamicComponent as ne, unref as e, withCtx as y, createVNode as a, normalizeClass as O, toDisplayString as s, Fragment as K, renderList as Q, withDirectives as M, createTextVNode as ie, vShow as j, watch as me, normalizeStyle as ue } from "vue";
|
|
2
|
-
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-HTsqdmVI.js";
|
|
3
3
|
import { u as U, d as z, C as I, D as pe, b as ce } from "./vue-i18n-CHLsTHGb.js";
|
|
4
4
|
import { components as A, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as G } from "@feedmepos/ui-library";
|
|
5
|
-
import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BmqKyJ6o.js";
|
|
6
6
|
import { u as ve } from "./message-dialog-UoMWOnil.js";
|
|
7
7
|
import { detectLocale as F } from "@feedmepos/mf-common";
|
|
8
8
|
import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-nAU0NNg5.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as M, mergeModels as J, useModel as ee, computed as _, ref as A, resolveComponent as F, createElementBlock as I, openBlock as h, createVNode as m, createElementVNode as w, unref as l, withCtx as N, toDisplayString as L, Fragment as Z, renderList as ue, withModifiers as te, createTextVNode as re, watch as se, createCommentVNode as U, createBlock as T, onMounted as Ce, onUnmounted as Pe, renderSlot as $e, onBeforeUnmount as Ae, resolveDynamicComponent as Ne, normalizeClass as Oe, withDirectives as ae, vShow as ne, normalizeStyle as Xe, isRef as We } from "vue";
|
|
2
2
|
import { useRoute as qe, useRouter as He } from "vue-router";
|
|
3
|
-
import { h as Ye, d as ke, S as Fe, _ as Ee, W as Je, b as Ge, T as Ke, a as Qe } from "./TransitionFade-
|
|
4
|
-
import { W as B, b as Be, _ as me, D as Ze, S as Se, C as el, P as Te, a as ll } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { h as Ye, d as ke, S as Fe, _ as Ee, W as Je, b as Ge, T as Ke, a as Qe } from "./TransitionFade-DURtQcT9.js";
|
|
4
|
+
import { W as B, b as Be, _ as me, D as Ze, S as Se, C as el, P as Te, a as ll } from "./BaseDialog.vue_vue_type_script_setup_true_lang-80m6qiJM.js";
|
|
5
5
|
import { storeToRefs as de } from "pinia";
|
|
6
6
|
import { u as Ie } from "./message-dialog-UoMWOnil.js";
|
|
7
7
|
import { u as H, h as Le, p as ol, b as tl, d as pe } from "./vue-i18n-CHLsTHGb.js";
|
|
8
8
|
import { useSnackbar as al, useBreakpoints as je, FmButtonColorThemeVariant as ce } from "@feedmepos/ui-library";
|
|
9
9
|
import { _ as K } from "./SelectComponent.vue_vue_type_script_setup_true_lang-nAU0NNg5.js";
|
|
10
10
|
import { r as Q } from "./i18n-Cif1I9J2.js";
|
|
11
|
-
import { g as ve, u as fe, L as ie, a as he, _ as Re } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { g as ve, u as fe, L as ie, a as he, _ as Re } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-C53TKTho.js";
|
|
12
12
|
import { a as ge } from "./helper-DJZfVXf0.js";
|
|
13
13
|
import { _ as Me } from "./NoData.vue_vue_type_script_setup_true_lang-BF1MLXsF.js";
|
|
14
14
|
const ye = [
|
|
@@ -3,9 +3,9 @@ import { u as Pt, f as An, p as Nn, d as ht, h as Pn } from "./vue-i18n-CHLsTHGb
|
|
|
3
3
|
import { useCoreStore as Vn } from "@feedmepos/mf-common";
|
|
4
4
|
import { storeToRefs as Mn } from "pinia";
|
|
5
5
|
import { useRoute as Ln } from "vue-router";
|
|
6
|
-
import { W as L, D as Ze, c as z, C as de, _ as Bn } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { W as L, D as Ze, c as z, C as de, _ as Bn } from "./BaseDialog.vue_vue_type_script_setup_true_lang-80m6qiJM.js";
|
|
7
7
|
import { a as Vt, _ as Yt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-nAU0NNg5.js";
|
|
8
|
-
import { R as $n } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { R as $n } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-C53TKTho.js";
|
|
9
9
|
import { useSnackbar as Rn } from "@feedmepos/ui-library";
|
|
10
10
|
import { a as Yn } from "./helper-DJZfVXf0.js";
|
|
11
11
|
const Wn = {
|
package/dist/app.js
CHANGED
|
@@ -4912,41 +4912,41 @@ const a = {
|
|
|
4912
4912
|
path: "/overview",
|
|
4913
4913
|
alias: ["/"],
|
|
4914
4914
|
name: "overview",
|
|
4915
|
-
component: () => import("./OverviewView-
|
|
4915
|
+
component: () => import("./OverviewView-C6oPAYU_.js")
|
|
4916
4916
|
},
|
|
4917
4917
|
{
|
|
4918
4918
|
path: "/report",
|
|
4919
4919
|
name: "reports",
|
|
4920
|
-
component: () => import("./Report-
|
|
4920
|
+
component: () => import("./Report-CWsfwkS0.js")
|
|
4921
4921
|
},
|
|
4922
4922
|
{
|
|
4923
4923
|
path: "/insights",
|
|
4924
4924
|
name: "insights",
|
|
4925
|
-
component: () => import("./InsightView-
|
|
4925
|
+
component: () => import("./InsightView-BpwEtg9y.js")
|
|
4926
4926
|
},
|
|
4927
4927
|
{
|
|
4928
4928
|
path: "/report-view",
|
|
4929
4929
|
name: "reportView",
|
|
4930
|
-
component: () => import("./ReportView-
|
|
4930
|
+
component: () => import("./ReportView-Bk38b2-F.js")
|
|
4931
4931
|
},
|
|
4932
4932
|
{
|
|
4933
4933
|
path: "/report-editor",
|
|
4934
4934
|
name: "reportEditor",
|
|
4935
|
-
component: () => import("./ReportEditor-
|
|
4935
|
+
component: () => import("./ReportEditor-DntTro8H.js")
|
|
4936
4936
|
},
|
|
4937
4937
|
{
|
|
4938
4938
|
path: "/report-editor/tile-editor",
|
|
4939
4939
|
name: "tileEditor",
|
|
4940
|
-
component: () => import("./TileEditor-
|
|
4940
|
+
component: () => import("./TileEditor-MYBKeoTu.js")
|
|
4941
4941
|
},
|
|
4942
4942
|
{
|
|
4943
4943
|
path: "/setting",
|
|
4944
4944
|
name: "setting",
|
|
4945
|
-
component: () => import("./Setting-
|
|
4945
|
+
component: () => import("./Setting-QmIhwd54.js")
|
|
4946
4946
|
},
|
|
4947
4947
|
{
|
|
4948
4948
|
path: "/integration",
|
|
4949
|
-
component: () => import("./Layout-
|
|
4949
|
+
component: () => import("./Layout-DQmST4Gj.js"),
|
|
4950
4950
|
children: [
|
|
4951
4951
|
{
|
|
4952
4952
|
name: "integrations",
|
|
@@ -4980,7 +4980,7 @@ const u = {
|
|
|
4980
4980
|
"zh-CN": m,
|
|
4981
4981
|
"th-TH": c,
|
|
4982
4982
|
"zh-Hant": p
|
|
4983
|
-
}, h = e(() => import("./App-
|
|
4983
|
+
}, h = e(() => import("./App-EyBj9lkx.js"));
|
|
4984
4984
|
export {
|
|
4985
4985
|
h as FmApp,
|
|
4986
4986
|
u as i18nMessages,
|