@feedmepos/mf-report 5.29.2-beta.0 → 5.29.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/dist/{App-CdqBLTph.js → App-BZSznIVk.js} +34 -34
- package/dist/{DateRangeSelect-BP61phjZ.js → DateRangeSelect-DkvUo0cb.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-DadP8bgW.js → Default.vue_vue_type_script_setup_true_lang-CpcW6e8f.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DodfseuN.js → DynamicWidget.vue_vue_type_script_setup_true_lang-D-v8cfNo.js} +4 -4
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BPhVG-F9.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DstuZr3i.js} +3 -3
- package/dist/{InsightView-BFV1gYo0.js → InsightView-BlBTxYPI.js} +5 -5
- package/dist/{Integration-BcozHvQb.js → Integration-Cn0dO3bp.js} +3 -3
- package/dist/{Integrations-Bp2wzBLN.js → Integrations-BbIEat5a.js} +2 -2
- package/dist/{Layout-BMX6k6CB.js → Layout-CLOxLFnG.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-Zt-YVkGt.js → LocationSelect.vue_vue_type_script_setup_true_lang-BPBUsbFi.js} +2 -2
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-CMHUjjxv.js → MenuTab.vue_vue_type_script_setup_true_lang-BUbVlzC2.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BChw15jO.js → NavigationTab.vue_vue_type_script_setup_true_lang--ZqfguuE.js} +5 -5
- package/dist/{OverviewView-UwTiDEbA.js → OverviewView-BnUQ_3U7.js} +5 -5
- package/dist/{Report-CmXxwpiP.js → Report-BgvWo3nT.js} +3 -3
- package/dist/{ReportCanvasView-BmNlYA2y.js → ReportCanvasView-CPArvQyC.js} +4 -4
- package/dist/{ReportEditor-DXK_OM-C.js → ReportEditor-DMn20A0v.js} +7 -7
- package/dist/{ReportView-ALpz1EZz.js → ReportView-4ZwIkVpM.js} +6 -6
- package/dist/{ReportViewRoute-CRCiwWuD.js → ReportViewRoute-CUXYY7p8.js} +2 -2
- package/dist/{Setting-DmNjiIs_.js → Setting-rT9gqbLW.js} +3 -3
- package/dist/{Template-BYgNnEAg.js → Template-BPWPq033.js} +3 -3
- package/dist/{TileEditor-DMhlSBkp.js → TileEditor-D_Mdi1L7.js} +6 -6
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-0bRsA2Qj.js → TilePageStack.vue_vue_type_script_setup_true_lang-DPMdTPX0.js} +2 -2
- package/dist/{TransitionFade-AgdRkqvQ.js → TransitionFade-BXD3t2SP.js} +5 -5
- package/dist/{app-DeZw7-Tj.js → app-CECOMH9a.js} +14 -14
- package/dist/app.js +1 -1
- package/dist/{report-BiTR5oQm.js → report-DSqxkGWu.js} +1 -1
- package/dist/{useRestaurantPermission-D259H-qg.js → useRestaurantPermission-Bj6HF5-f.js} +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as me, resolveComponent as
|
|
2
|
-
import { detectLocale as j, useCoreStore as
|
|
3
|
-
import { d as q, u as Ue, a as ie, b as je, c as ce, e as
|
|
1
|
+
import { defineComponent as me, resolveComponent as X, createBlock as pe, openBlock as A, unref as l, isRef as Ne, withCtx as W, createElementVNode as oe, createVNode as Y, toDisplayString as ae, createTextVNode as $e, onMounted as fe, watch as C, ref as U, computed as se, onBeforeMount as xe, onBeforeUnmount as Je, createElementBlock as H, Fragment as Qe } from "vue";
|
|
2
|
+
import { detectLocale as j, useCoreStore as V } from "@feedmepos/mf-common";
|
|
3
|
+
import { d as q, u as Ue, a as ie, b as je, c as ce, e as Pe, f as Ge, g as de } from "./app-CECOMH9a.js";
|
|
4
4
|
import { storeToRefs as k } from "pinia";
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
5
|
+
import { u as Ke } from "./global-loader-BuxFfehu.js";
|
|
6
|
+
import { u as We, a as He } from "./report-DSqxkGWu.js";
|
|
7
|
+
import { u as Ve, _ as Xe } from "./NavigationTab.vue_vue_type_script_setup_true_lang--ZqfguuE.js";
|
|
8
8
|
import { u as ue } from "./message-dialog-UoMWOnil.js";
|
|
9
9
|
import { u as Ye } from "./_plugin-vue_export-helper-C6QDExPN.js";
|
|
10
10
|
import { useRoute as Ze, useRouter as Me } from "vue-router";
|
|
@@ -13,21 +13,21 @@ const et = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, tt
|
|
|
13
13
|
setup(T) {
|
|
14
14
|
const { t: c } = Ye(), f = ue(), { isOpened: g, message: L, title: E } = k(ue());
|
|
15
15
|
return (O, _) => {
|
|
16
|
-
const z =
|
|
17
|
-
return A(), pe(
|
|
16
|
+
const z = X("FmButton"), P = X("FmDialog");
|
|
17
|
+
return A(), pe(P, {
|
|
18
18
|
modelValue: l(g),
|
|
19
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
19
|
+
"onUpdate:modelValue": _[0] || (_[0] = (G) => Ne(g) ? g.value = G : null),
|
|
20
20
|
overlay: "",
|
|
21
21
|
"close-button": !1,
|
|
22
22
|
"z-index": 3e3
|
|
23
23
|
}, {
|
|
24
|
-
"dialog-header":
|
|
24
|
+
"dialog-header": W(() => [
|
|
25
25
|
$e(ae(l(E)), 1)
|
|
26
26
|
]),
|
|
27
|
-
default:
|
|
27
|
+
default: W(() => [
|
|
28
28
|
oe("p", et, ae(l(L)), 1)
|
|
29
29
|
]),
|
|
30
|
-
"dialog-footer":
|
|
30
|
+
"dialog-footer": W(() => [
|
|
31
31
|
_[1] || (_[1] = oe("div", { class: "grow" }, null, -1)),
|
|
32
32
|
Y(z, {
|
|
33
33
|
label: l(c)("report.common.cancel"),
|
|
@@ -65,13 +65,13 @@ q.locale(j() === "zh-CN" ? "zh-cn" : "en");
|
|
|
65
65
|
const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
66
66
|
__name: "App",
|
|
67
67
|
setup(T) {
|
|
68
|
-
const { businessId: c, token: f, country: g } = k(Ue()), { sessionUser: L, currentBusiness: E, currentCountry: O, registerSidebarComponent: _ } =
|
|
68
|
+
const { businessId: c, token: f, country: g } = k(Ue()), { sessionUser: L, currentBusiness: E, currentCountry: O, registerSidebarComponent: _ } = V(), {
|
|
69
69
|
getRestaurantAndWarehouse: z,
|
|
70
|
-
getBusinessSetting:
|
|
71
|
-
beginBusinessLoad:
|
|
70
|
+
getBusinessSetting: P,
|
|
71
|
+
beginBusinessLoad: G,
|
|
72
72
|
completeBusinessLoad: ge,
|
|
73
73
|
resetTimezoneContext: ye
|
|
74
|
-
} = ie(), ve = je(), { getFeatureFlags: Se } = ve, { version: y } = k(ce()), { getSettings: De } =
|
|
74
|
+
} = ie(), ve = je(), { getFeatureFlags: Se } = ve, { version: y } = k(ce()), { getSettings: De } = Pe(), { promptLoader: he } = Ke(), n = Ze(), B = Me(), b = We(), Z = Ve(), a = ie(), F = ce(), { suppressReportRouteSync: N } = k(F), { getReports: Ie, getOverviewReport: _e, getReportConfig: Re, currentReportId: M } = b, { currentReportId: Le, reports: Ee } = k(b), { getSchema: be } = He(), { fetchSchedules: we } = Z, { init: Ae } = Ge(), K = U("v5"), $ = U(!1), x = U(!0), Ce = se(() => `https://portal-v1.feedme.cc/b/${c.value}/report/CLOSE_UP?showHeader=false&country=${g.value.toUpperCase()}&menuOption=business-report&token=${f.value}&v2=true&reportV5Button=true`), ke = se(() => `https://report-v4.feedme.cc?businessId=${c.value}&country=${g.value}&token=${f.value}&reportV3Button=true`);
|
|
75
75
|
C(
|
|
76
76
|
[() => E.value, () => L.value, () => O.value],
|
|
77
77
|
() => {
|
|
@@ -94,17 +94,17 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
94
94
|
if (typeof t.data == "string")
|
|
95
95
|
try {
|
|
96
96
|
const e = JSON.parse(t.data);
|
|
97
|
-
(e == null ? void 0 : e.v5) === !0 ? y.value =
|
|
97
|
+
(e == null ? void 0 : e.v5) === !0 ? y.value = K.value : (e == null ? void 0 : e.v3) === !0 && (y.value = "v3");
|
|
98
98
|
} catch (e) {
|
|
99
99
|
console.error(e);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
C(y, () => {
|
|
103
|
-
["v3", "v4"].includes(y.value) ?
|
|
103
|
+
["v3", "v4"].includes(y.value) ? V().hideSidebarToggle(!0) : V().hideSidebarToggle(!1);
|
|
104
104
|
}), xe(() => {
|
|
105
|
-
_(
|
|
105
|
+
_(Xe);
|
|
106
106
|
}), fe(() => {
|
|
107
|
-
console.log("5.29.2
|
|
107
|
+
console.log("5.29.2", !0), window.addEventListener("message", ee), window.addEventListener("message", te);
|
|
108
108
|
}), Je(() => {
|
|
109
109
|
window.removeEventListener("message", ee), window.removeEventListener("message", te), b.$dispose(), Z.$dispose();
|
|
110
110
|
});
|
|
@@ -168,7 +168,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
168
168
|
}
|
|
169
169
|
if (!Q) {
|
|
170
170
|
const s = a.selectedLocationIds;
|
|
171
|
-
s.length === p.length && s.every((
|
|
171
|
+
s.length === p.length && s.every((Be, Fe) => Be === p[Fe]) || a.setSelectedLocationIds(p);
|
|
172
172
|
}
|
|
173
173
|
return {
|
|
174
174
|
// TODO: this returned value can used for getBusinessSetting
|
|
@@ -187,7 +187,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
187
187
|
() => c.value,
|
|
188
188
|
async (t, e) => {
|
|
189
189
|
if (t !== "") {
|
|
190
|
-
$.value = !1,
|
|
190
|
+
$.value = !1, G(t);
|
|
191
191
|
const r = "mf-report-prev-business-id", o = (() => {
|
|
192
192
|
try {
|
|
193
193
|
return sessionStorage.getItem(r);
|
|
@@ -211,27 +211,27 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
211
211
|
i = {
|
|
212
212
|
...p,
|
|
213
213
|
isAllLocation: "true"
|
|
214
|
-
}, v = !0, await
|
|
214
|
+
}, v = !0, await B.replace({
|
|
215
215
|
name: n.name,
|
|
216
216
|
params: n.params,
|
|
217
217
|
query: i
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
-
|
|
220
|
+
N.value !== void 0 && (N.value = !0), await he(async () => {
|
|
221
221
|
await Ae({
|
|
222
|
-
apiKey: "
|
|
222
|
+
apiKey: "6GhcttsJ9Rj9cTevcdrpin",
|
|
223
223
|
url: "https://flag.feedme.farm/api/v1/",
|
|
224
224
|
enableAnalytics: !1,
|
|
225
225
|
cacheFlags: !1
|
|
226
226
|
});
|
|
227
227
|
const S = await Re();
|
|
228
|
-
|
|
228
|
+
K.value = S.version, y.value = K.value, await Se(), n.name === "template" && !F.canAccessTemplate() && await B.replace({
|
|
229
229
|
name: "reports",
|
|
230
230
|
query: n.query
|
|
231
231
|
});
|
|
232
|
-
const D =
|
|
232
|
+
const D = F.canAccess(
|
|
233
233
|
de.report_accessOverview
|
|
234
|
-
), w =
|
|
234
|
+
), w = F.canAccess(
|
|
235
235
|
de.report_accessIntegration
|
|
236
236
|
), h = [
|
|
237
237
|
be(),
|
|
@@ -248,7 +248,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
248
248
|
const R = await Promise.allSettled(h);
|
|
249
249
|
for (const d of R)
|
|
250
250
|
d.status === "rejected" && console.log(d.reason);
|
|
251
|
-
if (await
|
|
251
|
+
if (await P(), Te(i), v) {
|
|
252
252
|
const {
|
|
253
253
|
locationIds: d,
|
|
254
254
|
startDate: Q,
|
|
@@ -259,7 +259,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
259
259
|
compareEndDate: ze,
|
|
260
260
|
...re
|
|
261
261
|
} = n.query;
|
|
262
|
-
(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
|
|
262
|
+
(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({
|
|
263
263
|
name: n.name,
|
|
264
264
|
params: n.params,
|
|
265
265
|
query: {
|
|
@@ -290,8 +290,8 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
290
290
|
}),
|
|
291
291
|
(t) => {
|
|
292
292
|
if (!$.value || !t.reportId || x.value) return;
|
|
293
|
-
if (
|
|
294
|
-
|
|
293
|
+
if (N.value) {
|
|
294
|
+
N.value = !1;
|
|
295
295
|
return;
|
|
296
296
|
}
|
|
297
297
|
const e = t.selectedLocationIds, r = t.dateRange, o = t.timeRange, u = t.compareDateRange, i = {
|
|
@@ -310,7 +310,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
310
310
|
}, v = e.length === a.locations.length;
|
|
311
311
|
i.isAllLocation = String(v), v ? delete i.locationIds : e.length > 0 ? i.locationIds = JSON.stringify(e) : delete i.locationIds;
|
|
312
312
|
const S = JSON.stringify(n.query), D = JSON.stringify(i);
|
|
313
|
-
S !== D &&
|
|
313
|
+
S !== D && B.replace({
|
|
314
314
|
name: n.name,
|
|
315
315
|
params: n.params,
|
|
316
316
|
query: i
|
|
@@ -318,7 +318,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
318
318
|
},
|
|
319
319
|
{ deep: !0 }
|
|
320
320
|
), nt(), (t, e) => {
|
|
321
|
-
const r =
|
|
321
|
+
const r = X("router-view");
|
|
322
322
|
return A(), H(Qe, null, [
|
|
323
323
|
Y(tt),
|
|
324
324
|
l(y) === "v3" ? (A(), H("iframe", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as te, resolveComponent as A, createBlock as b, openBlock as C, normalizeClass as ce, withCtx as U, createCommentVNode as E, createElementVNode as I, toDisplayString as me, renderSlot as fe, mergeModels as K, useModel as z, ref as O, computed as L, watch as M, nextTick as J, onMounted as De, onBeforeUnmount as ye, createElementBlock as pe, unref as Y, createVNode as Q } from "vue";
|
|
2
|
-
import { d as u, a as ge, C as P, j as ve } from "./app-
|
|
2
|
+
import { d as u, a as ge, C as P, j as ve } from "./app-CECOMH9a.js";
|
|
3
3
|
import { detectLocale as X } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as he, _ as Ce } from "./_plugin-vue_export-helper-C6QDExPN.js";
|
|
5
5
|
import { storeToRefs as be } from "pinia";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as p, resolveComponent as f, createElementBlock as r, 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--ZqfguuE.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 } from "./global-loader-BuxFfehu.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed as c, defineComponent as $e, ref as S, watch as De, onMounted as Et, onBeforeUnmount as Oo, resolveComponent as ye, createBlock as ve, openBlock as Y, Transition as za, withCtx as Ae, createElementBlock as pe, createCommentVNode as Ce, createElementVNode as Q, unref as l, normalizeStyle as Fe, withModifiers as bn, toDisplayString as Pe, createVNode as be, Fragment as Ke, renderList as _t, normalizeClass as Re, nextTick as Uo, mergeModels as tt, useModel as nt, renderSlot as ft, h as mn, createSlots as Ha, resolveDynamicComponent as Ko, markRaw as bo, toRaw as Wa, createTextVNode as Oa, onUnmounted as Yo, provide as Ua, inject as Ka, withDirectives as Ya, vShow as Xa } from "vue";
|
|
2
|
-
import { u as Ea, h as ja, i as Xo, j as Ga, q as Co } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { X as Cn, a as wn, u as Eo, Y as qa } from "./app-
|
|
4
|
-
import { W as Z, S as qe, v as Ut, F as Wt, c as pn, w as Vn, d as Ja, o as Za, x as Qa, E as Mt, y as er } from "./report-
|
|
5
|
-
import { d as On } from "./DateRangeSelect-
|
|
2
|
+
import { u as Ea, h as ja, i as Xo, j as Ga, q as Co } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DstuZr3i.js";
|
|
3
|
+
import { X as Cn, a as wn, u as Eo, Y as qa } from "./app-CECOMH9a.js";
|
|
4
|
+
import { W as Z, S as qe, v as Ut, F as Wt, c as pn, w as Vn, d as Ja, o as Za, x as Qa, E as Mt, y as er } from "./report-DSqxkGWu.js";
|
|
5
|
+
import { d as On } from "./DateRangeSelect-DkvUo0cb.js";
|
|
6
6
|
import { storeToRefs as Yt } from "pinia";
|
|
7
7
|
import { detectLocale as Qn } from "@feedmepos/mf-common";
|
|
8
8
|
import { C as Un } from "./chart-DDDh8zNk.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as S1, computed as g1, defineComponent as Jt, mergeModels as nt, useModel as Rt, watch as Z1, resolveComponent as t1, createElementBlock as O1, openBlock as Z0, createVNode as J0, withCtx as l1, createElementVNode as G0, createCommentVNode as Ct, Fragment as pe, renderList as Lt, createBlock as F1, unref as g0, createTextVNode as at, withDirectives as la, toDisplayString as f1, vShow as pa, renderSlot as Pr, normalizeStyle as ca, normalizeClass as fr, withModifiers as mt } from "vue";
|
|
2
|
-
import { c as Jr, _ as Hr, D as Ma, e as ba } from "./DateRangeSelect-
|
|
3
|
-
import { a1 as _a, _ as da, d as F0, u as G1, c as Be, a as de, F as V1, Z as Ht, r as ne, g as za, h as Aa } from "./app-
|
|
4
|
-
import { b as H0, C as k0, Q as Ke, u as ze, o as oe, p as Ce, D as D1, a as Oa, x as yr, W as $r, A as Da, S as mr } from "./report-
|
|
2
|
+
import { c as Jr, _ as Hr, D as Ma, e as ba } from "./DateRangeSelect-DkvUo0cb.js";
|
|
3
|
+
import { a1 as _a, _ as da, d as F0, u as G1, c as Be, a as de, F as V1, Z as Ht, r as ne, g as za, h as Aa } from "./app-CECOMH9a.js";
|
|
4
|
+
import { b as H0, C as k0, Q as Ke, u as ze, o as oe, p as Ce, D as D1, a as Oa, x as yr, W as $r, A as Da, S as mr } from "./report-DSqxkGWu.js";
|
|
5
5
|
import { defineStore as Xr, storeToRefs as o1 } from "pinia";
|
|
6
6
|
import { detectLocale as te } from "@feedmepos/mf-common";
|
|
7
7
|
import { u as kr } from "./_plugin-vue_export-helper-C6QDExPN.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
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 { 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 H, i as he, j as ye, k as we } from "./app-
|
|
2
|
+
import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-CpcW6e8f.js";
|
|
3
|
+
import { D as ge } from "./DateRangeSelect-DkvUo0cb.js";
|
|
4
|
+
import { d as E, u as Q, F as ee, q as te, a as pe, h as ve, g as H, i as he, j as ye, k as we } from "./app-CECOMH9a.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-C6QDExPN.js";
|
|
9
9
|
import { c as X } from "./index-CtZE4sab.js";
|
|
10
10
|
import { _ as Ce } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
|
|
11
|
-
import { _ as ke } from "./LocationSelect.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as ke } from "./LocationSelect.vue_vue_type_script_setup_true_lang-BPBUsbFi.js";
|
|
12
12
|
import { useCoreStore as _e } from "@feedmepos/mf-common";
|
|
13
|
-
import { G as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang
|
|
13
|
+
import { G as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang--ZqfguuE.js";
|
|
14
14
|
function Ae({ start: e, end: t }) {
|
|
15
15
|
return `${E(t).format("DD MMM")}, ${E(t).format("YYYY")}`;
|
|
16
16
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { A as he, v as nt, d as Ne, w as Tt, e as Le, a as De, x as be, y as Nt, z as Kt, o as pe, t as Ge, B as Ye, E as Oe, G as Qe, H as rt, J as Ft, K as Mt, L as Ut, M as Rt, N as it, b as ut, O as Pt, P as Lt, n as jt, I as je, Q as Ot, R as Et, S as Bt } from "./app-
|
|
3
|
+
import { A as he, v as nt, d as Ne, w as Tt, e as Le, a as De, x as be, y as Nt, z as Kt, o as pe, t as Ge, B as Ye, E as Oe, G as Qe, H as rt, J as Ft, K as Mt, L as Ut, M as Rt, N as it, b as ut, O as Pt, P as Lt, n as jt, I as je, Q as Ot, R as Et, S as Bt } from "./app-CECOMH9a.js";
|
|
4
4
|
import { u as We } from "./global-loader-BuxFfehu.js";
|
|
5
5
|
import { u as Xe } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { useSnackbar as Ae } from "@feedmepos/ui-library";
|
|
7
7
|
import { s as St } from "./index-CtZE4sab.js";
|
|
8
8
|
import { u as ve, _ as Yt } from "./_plugin-vue_export-helper-C6QDExPN.js";
|
|
9
|
-
import { u as qe, h as ke } from "./useRestaurantPermission-
|
|
9
|
+
import { u as qe, h as ke } from "./useRestaurantPermission-Bj6HF5-f.js";
|
|
10
10
|
import { storeToRefs as Je } from "pinia";
|
|
11
|
-
import { D as Ze } from "./DateRangeSelect-
|
|
11
|
+
import { D as Ze } from "./DateRangeSelect-DkvUo0cb.js";
|
|
12
12
|
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 = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "w-[24px] flex items-center"
|