@feedmepos/mf-report 5.27.37 → 5.27.38-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-BrbT7vmt.js → App-BPE9W7lQ.js} +39 -39
- package/dist/{DateRangeSelect-B54PGnx2.js → DateRangeSelect-D2ndkMiS.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BGI-mCSo.js → Default.vue_vue_type_script_setup_true_lang-CrCaitGi.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-C2HrNMXQ.js → DynamicWidget.vue_vue_type_script_setup_true_lang-Cs_0wm4a.js} +3 -3
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BbVBan2q.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C4UI5IYR.js} +2 -2
- package/dist/{InsightView-BkU1xTZs.js → InsightView-BBYo7KEV.js} +4 -4
- package/dist/{Integration-B3G3-uVM.js → Integration-BYkv-vv3.js} +3 -3
- package/dist/{Integrations-BivXVGOc.js → Integrations-Cfd5KCsN.js} +2 -2
- package/dist/{Layout-CzAq24oV.js → Layout-DH4zNwvD.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-cmPC9Hf_.js → MenuTab.vue_vue_type_script_setup_true_lang-sV590Nd5.js} +4 -4
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-5oaPX2tU.js → NavigationTab.vue_vue_type_script_setup_true_lang-D2TDUM57.js} +3 -3
- package/dist/{OverviewView-Doqz2YX1.js → OverviewView-C7pKC0bE.js} +4 -4
- package/dist/{Report-DiVQz78k.js → Report-DQAyuryN.js} +3 -3
- package/dist/{ReportEditor-DF8A66Bl.js → ReportEditor-BxSLEBHQ.js} +6 -6
- package/dist/{ReportView-BuwHET6s.js → ReportView-OtriBhxp.js} +6 -6
- package/dist/{Setting-Bbp1hfjt.js → Setting-BmP047IA.js} +3 -3
- package/dist/{Template-BcccGDIh.js → Template-DqTM8L7x.js} +3 -3
- package/dist/TileEditor-BIjALNuL.js +4185 -0
- package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-D4etYQEo.js → TileGrid.vue_vue_type_script_setup_true_lang-SesyFPly.js} +2 -2
- package/dist/{TransitionFade-Cbc8A4jK.js → TransitionFade-D4Zzk_dp.js} +4 -4
- package/dist/{app-D5GeEz6-.js → app-6R9F21ZB.js} +13 -13
- package/dist/app.js +1 -1
- package/dist/{useRestaurantPermission-Cyvkk1Mo.js → useRestaurantPermission-BqQDDlbA.js} +1 -1
- package/package.json +1 -1
- package/dist/TileEditor-B-tBav8W.js +0 -4160
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { defineComponent as me, resolveComponent as Y, createBlock as pe, openBlock as k, unref as u, isRef as
|
|
2
|
-
import { detectLocale as j, useCoreStore as
|
|
3
|
-
import { d as O, u as Ue, a as ce, b as je, c as de, e as
|
|
1
|
+
import { defineComponent as me, resolveComponent as Y, createBlock as pe, openBlock as k, unref as u, isRef as Fe, withCtx as G, createElementVNode as oe, createVNode as Z, toDisplayString as se, createTextVNode as $e, onMounted as fe, watch as q, ref as U, computed as ie, onBeforeMount as xe, onBeforeUnmount as Je, createElementBlock as H, Fragment as Qe } from "vue";
|
|
2
|
+
import { detectLocale as j, useCoreStore as X } from "@feedmepos/mf-common";
|
|
3
|
+
import { d as O, u as Ue, a as ce, b as je, c as de, e as We, f as Ke, s as Pe, g as V } from "./app-6R9F21ZB.js";
|
|
4
4
|
import { storeToRefs as T } from "pinia";
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as Ye, _ as Ze } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Ge, a as He } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
6
|
+
import { u as Xe, a as Ve } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C4UI5IYR.js";
|
|
7
|
+
import { u as Ye, _ as Ze } from "./NavigationTab.vue_vue_type_script_setup_true_lang-D2TDUM57.js";
|
|
8
8
|
import { u as ue } from "./message-dialog-UoMWOnil.js";
|
|
9
9
|
import { useRoute as Me, useRouter as et } from "vue-router";
|
|
10
10
|
const tt = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, nt = /* @__PURE__ */ me({
|
|
11
11
|
__name: "Dialog",
|
|
12
12
|
setup(z) {
|
|
13
|
-
const { t: c } =
|
|
13
|
+
const { t: c } = Ge(), g = ue(), { isOpened: y, message: R, title: L } = T(ue());
|
|
14
14
|
return (E, _) => {
|
|
15
|
-
const
|
|
16
|
-
return k(), pe(
|
|
15
|
+
const N = Y("FmButton"), W = Y("FmDialog");
|
|
16
|
+
return k(), pe(W, {
|
|
17
17
|
modelValue: u(y),
|
|
18
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
18
|
+
"onUpdate:modelValue": _[0] || (_[0] = (K) => Fe(y) ? y.value = K : null),
|
|
19
19
|
overlay: "",
|
|
20
20
|
"close-button": !1,
|
|
21
21
|
"z-index": 3e3
|
|
22
22
|
}, {
|
|
23
|
-
"dialog-header":
|
|
23
|
+
"dialog-header": G(() => [
|
|
24
24
|
$e(se(u(L)), 1)
|
|
25
25
|
]),
|
|
26
|
-
default:
|
|
26
|
+
default: G(() => [
|
|
27
27
|
oe("p", tt, se(u(R)), 1)
|
|
28
28
|
]),
|
|
29
|
-
"dialog-footer":
|
|
29
|
+
"dialog-footer": G(() => [
|
|
30
30
|
_[1] || (_[1] = oe("div", { class: "grow" }, null, -1)),
|
|
31
|
-
Z(
|
|
31
|
+
Z(N, {
|
|
32
32
|
label: u(c)("report.common.cancel"),
|
|
33
33
|
variant: "tertiary",
|
|
34
34
|
onClick: u(g).dismiss
|
|
35
35
|
}, null, 8, ["label", "onClick"]),
|
|
36
|
-
Z(
|
|
36
|
+
Z(N, {
|
|
37
37
|
label: u(c)("report.common.confirm"),
|
|
38
38
|
onClick: u(g).confirm
|
|
39
39
|
}, null, 8, ["label", "onClick"])
|
|
@@ -64,19 +64,19 @@ O.locale(j() === "zh-CN" ? "zh-cn" : "en");
|
|
|
64
64
|
const at = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
65
65
|
__name: "App",
|
|
66
66
|
setup(z) {
|
|
67
|
-
const { businessId: c, token: g, country: y } = T(Ue()), { sessionUser: R, currentBusiness: L, currentCountry: E, registerSidebarComponent: _ } =
|
|
68
|
-
getRestaurantAndWarehouse:
|
|
69
|
-
getBusinessSetting:
|
|
70
|
-
beginBusinessLoad:
|
|
67
|
+
const { businessId: c, token: g, country: y } = T(Ue()), { sessionUser: R, currentBusiness: L, currentCountry: E, registerSidebarComponent: _ } = X(), {
|
|
68
|
+
getRestaurantAndWarehouse: N,
|
|
69
|
+
getBusinessSetting: W,
|
|
70
|
+
beginBusinessLoad: K,
|
|
71
71
|
completeBusinessLoad: ge,
|
|
72
72
|
resetTimezoneContext: ye
|
|
73
|
-
} = ce(), ve = je(), { getFeatureFlags: Se } = ve, { version: v } = T(de()), { getSettings: De } =
|
|
73
|
+
} = ce(), ve = je(), { getFeatureFlags: Se } = ve, { version: v } = T(de()), { getSettings: De } = We(), { promptLoader: he } = He(), n = Me(), B = et(), b = Xe(), M = Ye(), o = ce(), w = de(), { suppressReportRouteSync: F } = T(w), { getReports: Ie, getOverviewReport: _e, getReportConfig: Re, currentReportId: ee } = b, { currentReportId: Le, reports: Ee } = T(b), { getSchema: be } = Ve(), { fetchSchedules: we } = M, { init: Ae } = Ke(), P = U("v5"), $ = U(!1), x = U(!0), Ce = ie(() => `https://portal-v1.feedmedev.cc/b/${c.value}/report/CLOSE_UP?showHeader=false&country=${y.value.toUpperCase()}&menuOption=business-report&token=${g.value}&v2=true&reportV5Button=true`), ke = ie(() => `https://report-v4.feedmedev.cc?businessId=${c.value}&country=${y.value}&token=${g.value}&reportV3Button=true`);
|
|
74
74
|
q(
|
|
75
75
|
[() => L.value, () => R.value, () => E.value],
|
|
76
76
|
() => {
|
|
77
77
|
var e, r;
|
|
78
78
|
const t = ((e = L.value) == null ? void 0 : e.id) ?? "";
|
|
79
|
-
L.value && R.value && E.value && (
|
|
79
|
+
L.value && R.value && E.value && (Pe(E.value), c.value !== t && (c.value = t), g.value = ((r = R.value) == null ? void 0 : r.token) ?? "", y.value = E.value ?? "");
|
|
80
80
|
},
|
|
81
81
|
{ immediate: !0 }
|
|
82
82
|
);
|
|
@@ -93,17 +93,17 @@ const at = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
93
93
|
if (typeof t.data == "string")
|
|
94
94
|
try {
|
|
95
95
|
const e = JSON.parse(t.data);
|
|
96
|
-
(e == null ? void 0 : e.v5) === !0 ? v.value =
|
|
96
|
+
(e == null ? void 0 : e.v5) === !0 ? v.value = P.value : (e == null ? void 0 : e.v3) === !0 && (v.value = "v3");
|
|
97
97
|
} catch (e) {
|
|
98
98
|
console.error(e);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
q(v, () => {
|
|
102
|
-
["v3", "v4"].includes(v.value) ?
|
|
102
|
+
["v3", "v4"].includes(v.value) ? X().hideSidebarToggle(!0) : X().hideSidebarToggle(!1);
|
|
103
103
|
}), xe(() => {
|
|
104
104
|
_(Ze);
|
|
105
105
|
}), fe(() => {
|
|
106
|
-
console.log("5.27.
|
|
106
|
+
console.log("5.27.38-beta.0", !0), window.addEventListener("message", te), window.addEventListener("message", ne);
|
|
107
107
|
}), Je(() => {
|
|
108
108
|
window.removeEventListener("message", te), window.removeEventListener("message", ne), b.$dispose(), M.$dispose();
|
|
109
109
|
});
|
|
@@ -167,7 +167,7 @@ const at = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
167
167
|
}
|
|
168
168
|
if (!Q) {
|
|
169
169
|
const s = o.selectedLocationIds;
|
|
170
|
-
s.length === f.length && s.every((
|
|
170
|
+
s.length === f.length && s.every((Ne, Be) => Ne === f[Be]) || o.setSelectedLocationIds(f);
|
|
171
171
|
}
|
|
172
172
|
return {
|
|
173
173
|
// TODO: this returned value can used for getBusinessSetting
|
|
@@ -186,7 +186,7 @@ const at = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
186
186
|
() => c.value,
|
|
187
187
|
async (t, e) => {
|
|
188
188
|
if (t !== "") {
|
|
189
|
-
$.value = !1,
|
|
189
|
+
$.value = !1, K(t);
|
|
190
190
|
const r = "mf-report-prev-business-id", a = (() => {
|
|
191
191
|
try {
|
|
192
192
|
return sessionStorage.getItem(r);
|
|
@@ -210,42 +210,42 @@ const at = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
210
210
|
i = {
|
|
211
211
|
...f,
|
|
212
212
|
isAllLocation: "true"
|
|
213
|
-
}, S = !0, await
|
|
213
|
+
}, S = !0, await B.replace({
|
|
214
214
|
name: n.name,
|
|
215
215
|
params: n.params,
|
|
216
216
|
query: i
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
|
-
|
|
219
|
+
F.value !== void 0 && (F.value = !0), await he(async () => {
|
|
220
220
|
await Ae({
|
|
221
|
-
apiKey: "
|
|
221
|
+
apiKey: "MaGoXrEWuEJNpWgKTqseee",
|
|
222
222
|
url: "https://flag.feedme.farm/api/v1/",
|
|
223
223
|
enableAnalytics: !1,
|
|
224
224
|
cacheFlags: !1
|
|
225
225
|
});
|
|
226
226
|
const D = await Re();
|
|
227
|
-
|
|
227
|
+
P.value = D.version, v.value = P.value, await Se(), n.name === "template" && !w.canAccessTemplate() && await B.replace({
|
|
228
228
|
name: "reports",
|
|
229
229
|
query: n.query
|
|
230
230
|
});
|
|
231
231
|
const h = w.canAccess(
|
|
232
|
-
|
|
232
|
+
V.report_accessOverview
|
|
233
233
|
), A = w.canAccess(
|
|
234
|
-
|
|
234
|
+
V.report_accessSetting
|
|
235
235
|
), C = w.canAccess(
|
|
236
|
-
|
|
236
|
+
V.report_accessIntegration
|
|
237
237
|
), m = [
|
|
238
238
|
be(),
|
|
239
239
|
we(),
|
|
240
240
|
Ie(),
|
|
241
|
-
|
|
241
|
+
N(
|
|
242
242
|
(() => {
|
|
243
243
|
const p = J(i.locationIds);
|
|
244
244
|
return Array.isArray(p) ? p : void 0;
|
|
245
245
|
})()
|
|
246
246
|
)
|
|
247
247
|
];
|
|
248
|
-
if (h && m.push(_e()), C && m.push(De()), await Promise.all(m), A && await
|
|
248
|
+
if (h && m.push(_e()), C && m.push(De()), await Promise.all(m), A && await W(), Te(i), S) {
|
|
249
249
|
const {
|
|
250
250
|
locationIds: p,
|
|
251
251
|
startDate: Q,
|
|
@@ -256,7 +256,7 @@ const at = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
256
256
|
compareEndDate: ze,
|
|
257
257
|
...ae
|
|
258
258
|
} = n.query;
|
|
259
|
-
(n.query.locationIds !== void 0 || n.query.startDate !== void 0 || n.query.endDate !== void 0 || n.query.timeStart !== void 0 || n.query.timeEnd !== void 0 || n.query.compareStartDate !== void 0 || n.query.compareEndDate !== void 0 || n.query.isAllLocation !== "true") && await
|
|
259
|
+
(n.query.locationIds !== void 0 || n.query.startDate !== void 0 || n.query.endDate !== void 0 || n.query.timeStart !== void 0 || n.query.timeEnd !== void 0 || n.query.compareStartDate !== void 0 || n.query.compareEndDate !== void 0 || n.query.isAllLocation !== "true") && await B.replace({
|
|
260
260
|
name: n.name,
|
|
261
261
|
params: n.params,
|
|
262
262
|
query: {
|
|
@@ -287,8 +287,8 @@ const at = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
287
287
|
}),
|
|
288
288
|
(t) => {
|
|
289
289
|
if (!$.value || !t.reportId || x.value) return;
|
|
290
|
-
if (
|
|
291
|
-
|
|
290
|
+
if (F.value) {
|
|
291
|
+
F.value = !1;
|
|
292
292
|
return;
|
|
293
293
|
}
|
|
294
294
|
const e = t.selectedLocationIds, r = t.dateRange, a = t.timeRange, d = t.compareDateRange, i = {
|
|
@@ -307,7 +307,7 @@ const at = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
307
307
|
}, S = e.length === o.locations.length;
|
|
308
308
|
i.isAllLocation = String(S), S ? delete i.locationIds : e.length > 0 ? i.locationIds = JSON.stringify(e) : delete i.locationIds;
|
|
309
309
|
const D = JSON.stringify(n.query), h = JSON.stringify(i);
|
|
310
|
-
D !== h &&
|
|
310
|
+
D !== h && B.replace({
|
|
311
311
|
name: n.name,
|
|
312
312
|
params: n.params,
|
|
313
313
|
query: i
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as se, resolveComponent as Y, createBlock as R, openBlock as p, normalizeClass as Ce, withCtx as V, createCommentVNode as F, createElementVNode as N, toDisplayString as pe, renderSlot as Re, mergeModels as Q, useModel as j, ref as A, computed as B, watch as x, nextTick as Z, onMounted as Se, onBeforeUnmount as xe, createElementBlock as be, unref as P, createVNode as ee } from "vue";
|
|
2
|
-
import { d as m, a as Pe, C as $, j as Ee } from "./app-
|
|
2
|
+
import { d as m, a as Pe, C as $, j as Ee } from "./app-6R9F21ZB.js";
|
|
3
3
|
import { detectLocale as te } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as Te, _ as we } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
5
5
|
import { storeToRefs as Me } from "pinia";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as p, resolveComponent as f, 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-D2TDUM57.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, a as w } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as c, defineComponent as Be, ref as P, watch as Le, onMounted as zt, onBeforeUnmount as Co, resolveComponent as fe, createBlock as de, openBlock as K, Transition as ia, withCtx as De, createElementBlock as le, createCommentVNode as he, createElementVNode as Y, unref as i, normalizeStyle as Pe, withModifiers as un, toDisplayString as Ce, createVNode as pe, Fragment as Ne, renderList as ft, normalizeClass as Ie, nextTick as xo, mergeModels as Oe, useModel as Ue, renderSlot as ot, h as nn, createSlots as ua, resolveDynamicComponent as wo, toRaw as ca, markRaw as da, createTextVNode as fa, onUnmounted as _o, withDirectives as ma, vShow as pa } from "vue";
|
|
2
|
-
import { W as E, x as ha, S as At, y as Rt, z as ga, F as Bt, e as on, A as xn, B as So, b as va, E as ya, G as ba, H as Ca, R as bt, J as xa } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { l as cn, a as fn, u as ko } from "./app-
|
|
4
|
-
import { d as kn } from "./DateRangeSelect-
|
|
2
|
+
import { W as E, x as ha, S as At, y as Rt, z as ga, F as Bt, e as on, A as xn, B as So, b as va, E as ya, G as ba, H as Ca, R as bt, J as xa } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C4UI5IYR.js";
|
|
3
|
+
import { l as cn, a as fn, u as ko } from "./app-6R9F21ZB.js";
|
|
4
|
+
import { d as kn } from "./DateRangeSelect-D2ndkMiS.js";
|
|
5
5
|
import { storeToRefs as Nt } from "pinia";
|
|
6
6
|
import { detectLocale as Vn } from "@feedmepos/mf-common";
|
|
7
7
|
import { C as Tn } from "./chart-DDDh8zNk.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as R0, computed as c1, watch as V1, defineComponent as Yt, mergeModels as ot, useModel as Lt, resolveComponent as o1, createElementBlock as h1, openBlock as r1, createVNode as U0, withCtx as d1, createElementVNode as j0, createCommentVNode as It, Fragment as _e, renderList as Ft, createBlock as v1, createTextVNode as it, withDirectives as $a, toDisplayString as S1, unref as E0, vShow as ya, renderSlot as Gr, normalizeStyle as ma, normalizeClass as Rr, withModifiers as gt } from "vue";
|
|
2
|
-
import { c as Cr, f as Qr, _ as Vr, D as qa, h as ga } from "./DateRangeSelect-
|
|
3
|
-
import { w as ha, n as Sa, u as G0, F as Q0, r as e1, x as Ta, a as le, b as Ea, t as Ra, h as jr, d as B0, c as Be, m as Gt, g as Ca } from "./app-
|
|
2
|
+
import { c as Cr, f as Qr, _ as Vr, D as qa, h as ga } from "./DateRangeSelect-D2ndkMiS.js";
|
|
3
|
+
import { w as ha, n as Sa, u as G0, F as Q0, r as e1, x as Ta, a as le, b as Ea, t as Ra, h as jr, d as B0, c as Be, m as Gt, g as Ca } from "./app-6R9F21ZB.js";
|
|
4
4
|
import { storeToRefs as C0, defineStore as Ne } from "pinia";
|
|
5
5
|
import { useSnackbar as Kr } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as Zr } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref as I, defineComponent as S, watch as P, computed as $, onMounted as de, createElementBlock as r, openBlock as o, createElementVNode as s, renderSlot as J, toDisplayString as C, resolveDirective as K, createCommentVNode as D, Fragment as z, renderList as N, createBlock as R, withDirectives as T, resolveDynamicComponent as U, unref as m, withCtx as B, createVNode as p, normalizeClass as W, resolveComponent as M, useModel as ce, createTextVNode as ue, isRef as j, nextTick as fe } from "vue";
|
|
2
|
-
import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { c as H, D as ge } from "./DateRangeSelect-
|
|
4
|
-
import { d as E, u as Q, F as ee, q as te, a as pe, h as ve, g as X, i as he, j as ye, k as we } from "./app-
|
|
2
|
+
import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-CrCaitGi.js";
|
|
3
|
+
import { c as H, D as ge } from "./DateRangeSelect-D2ndkMiS.js";
|
|
4
|
+
import { d as E, u as Q, F as ee, q as te, a as pe, h as ve, g as X, i as he, j as ye, k as we } from "./app-6R9F21ZB.js";
|
|
5
5
|
import { storeToRefs as ae } from "pinia";
|
|
6
6
|
import { C as le, r as xe } from "./chart-DDDh8zNk.js";
|
|
7
7
|
import { components as Y, useSnackbar as be } from "@feedmepos/ui-library";
|
|
8
8
|
import { u as se } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
9
9
|
import { _ as Ce } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
|
|
10
|
-
import { a as ke, G as _e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { a as ke, G as _e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-D2TDUM57.js";
|
|
11
11
|
import { useCoreStore as $e } from "@feedmepos/mf-common";
|
|
12
12
|
function Ae({ start: e, end: t }) {
|
|
13
13
|
return `${E(t).format("DD MMM")}, ${E(t).format("YYYY")}`;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ce, mergeModels as we, useModel as fe, computed as W, resolveComponent as I, createElementBlock as R, openBlock as w, createElementVNode as t, createCommentVNode as z, normalizeClass as et, Fragment as $e, renderList as ze, createBlock as ee, normalizeStyle as at, createVNode as l, withCtx as Ce, renderSlot as Vt, toDisplayString as S, unref as n, h as b, createTextVNode as $t, ref as ae, onUnmounted as He, watch as _e, isRef as Ee, resolveDynamicComponent as Be, mergeProps as st, withKeys as ot, withModifiers as dt, nextTick as kt, onMounted as pt } from "vue";
|
|
2
2
|
import { useRouter as Se, useRoute as It } from "vue-router";
|
|
3
|
-
import { B as he, E as nt, d as Ne, G as Tt, e as Le, a as De, H as be, J as Nt, p as Kt, y as pe, A as Ge, K as Ye, L as Oe, M as Qe, N as rt, O as Ft, P as Mt, Q as Ut, R as Rt, S as it, b as ut, T as Pt, U as Lt, t as jt, I as je, V as Ot, W as Et, X as Bt } from "./app-
|
|
3
|
+
import { B as he, E as nt, d as Ne, G as Tt, e as Le, a as De, H as be, J as Nt, p as Kt, y as pe, A as Ge, K as Ye, L as Oe, M as Qe, N as rt, O as Ft, P as Mt, Q as Ut, R as Rt, S as it, b as ut, T as Pt, U as Lt, t as jt, I as je, V as Ot, W as Et, X as Bt } from "./app-6R9F21ZB.js";
|
|
4
4
|
import { u as ve, a as We, _ as Yt } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
5
5
|
import { u as Xe } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { useSnackbar as Ae } from "@feedmepos/ui-library";
|
|
7
|
-
import { s as St, D as Je } from "./DateRangeSelect-
|
|
8
|
-
import { u as qe, h as ke } from "./useRestaurantPermission-
|
|
7
|
+
import { s as St, D as Je } from "./DateRangeSelect-D2ndkMiS.js";
|
|
8
|
+
import { u as qe, h as ke } from "./useRestaurantPermission-BqQDDlbA.js";
|
|
9
9
|
import { storeToRefs as Ze } from "pinia";
|
|
10
10
|
const qt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, zt = { class: "w-[100%] overflow-hidden" }, Ht = { class: "inline-flex max-w-full items-center gap-2 align-top" }, Gt = { class: "text-nowrap min-w-0 overflow-hidden text-ellipsis font-semibold" }, Qt = {
|
|
11
11
|
key: 0,
|