@feedmepos/mf-report 5.30.2 → 5.30.4-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-6zO4iQws.js → App-Bp2T86pd.js} +34 -34
- package/dist/{DateRangeSelect-BuA-6Cqk.js → DateRangeSelect-COoxXj-r.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-C8rb1ZoC.js → Default.vue_vue_type_script_setup_true_lang-DCU8ehY7.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-ClwALNEj.js → DynamicWidget.vue_vue_type_script_setup_true_lang-N5cxTr5h.js} +6 -6
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CLkuxs9G.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-B4uPv0Pp.js} +4 -4
- package/dist/{InsightView-BNHq0EtF.js → InsightView-EI3MZTiZ.js} +5 -5
- package/dist/{Integration-DphGslTR.js → Integration--zhnuAYf.js} +3 -3
- package/dist/{Integrations-BCJLD7Sw.js → Integrations-Cg2zVFJc.js} +2 -2
- package/dist/{Layout-7V1d_pkT.js → Layout-Ci4Zbsz6.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-B2it9IPE.js → LocationSelect.vue_vue_type_script_setup_true_lang-BnHDHWXN.js} +2 -2
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-B6F3Hki4.js → MenuTab.vue_vue_type_script_setup_true_lang-D4T_HYLY.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-Sucqh6EA.js → NavigationTab.vue_vue_type_script_setup_true_lang-C_GyUaKD.js} +5 -5
- package/dist/{OverviewView-9Hln0g2v.js → OverviewView-BbsFvXn5.js} +5 -5
- package/dist/{Report-Q70-i6Or.js → Report-CSvPRLxX.js} +3 -3
- package/dist/{ReportCanvasView-BiTnB13m.js → ReportCanvasView-7_7iDDMo.js} +5 -5
- package/dist/{ReportEditor-1CN33Gnq.js → ReportEditor-6VS6VVVo.js} +7 -7
- package/dist/{ReportView-critFY-G.js → ReportView-D-FE2uvk.js} +6 -6
- package/dist/{ReportViewRoute-CFPaGWsc.js → ReportViewRoute-P3kY1pgh.js} +2 -2
- package/dist/{Setting-D62B-6wp.js → Setting-BTGjs8ef.js} +3 -3
- package/dist/{Template-q38kvrMM.js → Template-BFsmogCz.js} +3 -3
- package/dist/{TileEditor-nZZlRwbN.js → TileEditor-B1mD41so.js} +6 -6
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-BTxYHBq6.js → TilePageStack.vue_vue_type_script_setup_true_lang-BxMJxsRs.js} +2 -2
- package/dist/{TransitionFade-3P3TmFUU.js → TransitionFade-DyVbdV16.js} +5 -5
- package/dist/{app-guIXajh-.js → app-DL6B8kX0.js} +14 -14
- package/dist/app.js +1 -1
- package/dist/{currency-CoYTPdJI.js → currency-IE26CkEv.js} +1 -1
- package/dist/{index-CB3Wm4Rz.js → index-C4HJJRwa.js} +1 -1
- package/dist/{report-D2c06ACp.js → report-DUmqY1C-.js} +1 -1
- package/dist/{useRestaurantPermission-Bn1JV1ua.js → useRestaurantPermission-D4W9mFY1.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 V, createBlock as pe, openBlock as A, unref as l, isRef as Fe, withCtx as G, 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 X } from "@feedmepos/mf-common";
|
|
3
|
+
import { d as q, u as Ue, a as ie, b as je, c as ce, e as We, f as Ke, g as de } from "./app-DL6B8kX0.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 Pe } from "./global-loader-BuxFfehu.js";
|
|
6
|
+
import { u as Ge, a as He } from "./report-DUmqY1C-.js";
|
|
7
|
+
import { u as Xe, _ as Ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-C_GyUaKD.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 = V("FmButton"), W = V("FmDialog");
|
|
17
|
+
return A(), pe(W, {
|
|
18
18
|
modelValue: l(g),
|
|
19
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
19
|
+
"onUpdate:modelValue": _[0] || (_[0] = (K) => Fe(g) ? g.value = K : null),
|
|
20
20
|
overlay: "",
|
|
21
21
|
"close-button": !1,
|
|
22
22
|
"z-index": 3e3
|
|
23
23
|
}, {
|
|
24
|
-
"dialog-header":
|
|
24
|
+
"dialog-header": G(() => [
|
|
25
25
|
$e(ae(l(E)), 1)
|
|
26
26
|
]),
|
|
27
|
-
default:
|
|
27
|
+
default: G(() => [
|
|
28
28
|
oe("p", et, ae(l(L)), 1)
|
|
29
29
|
]),
|
|
30
|
-
"dialog-footer":
|
|
30
|
+
"dialog-footer": G(() => [
|
|
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: _ } = X(), {
|
|
69
69
|
getRestaurantAndWarehouse: z,
|
|
70
|
-
getBusinessSetting:
|
|
71
|
-
beginBusinessLoad:
|
|
70
|
+
getBusinessSetting: W,
|
|
71
|
+
beginBusinessLoad: K,
|
|
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 } = We(), { promptLoader: he } = Pe(), n = Ze(), N = Me(), b = Ge(), Z = Xe(), a = ie(), B = ce(), { suppressReportRouteSync: F } = k(B), { getReports: Ie, getOverviewReport: _e, getReportConfig: Re, currentReportId: M } = b, { currentReportId: Le, reports: Ee } = k(b), { getSchema: be } = He(), { fetchSchedules: we } = Z, { init: Ae } = Ke(), P = U("v5"), $ = U(!1), x = U(!0), Ce = se(() => `https://portal-v1.feedmedev.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.feedmedev.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 = P.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) ? X().hideSidebarToggle(!0) : X().hideSidebarToggle(!1);
|
|
104
104
|
}), xe(() => {
|
|
105
|
-
_(
|
|
105
|
+
_(Ve);
|
|
106
106
|
}), fe(() => {
|
|
107
|
-
console.log("5.30.
|
|
107
|
+
console.log("5.30.4-beta.0", !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((Ne, Be) => Ne === p[Be]) || 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, K(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 N.replace({
|
|
215
215
|
name: n.name,
|
|
216
216
|
params: n.params,
|
|
217
217
|
query: i
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
-
|
|
220
|
+
F.value !== void 0 && (F.value = !0), await he(async () => {
|
|
221
221
|
await Ae({
|
|
222
|
-
apiKey: "
|
|
222
|
+
apiKey: "MaGoXrEWuEJNpWgKTqseee",
|
|
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
|
+
P.value = S.version, y.value = P.value, await Se(), n.name === "template" && !B.canAccessTemplate() && await N.replace({
|
|
229
229
|
name: "reports",
|
|
230
230
|
query: n.query
|
|
231
231
|
});
|
|
232
|
-
const D =
|
|
232
|
+
const D = B.canAccess(
|
|
233
233
|
de.report_accessOverview
|
|
234
|
-
), w =
|
|
234
|
+
), w = B.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 W(), 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 N.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 (F.value) {
|
|
294
|
+
F.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 && N.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 = V("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-DL6B8kX0.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-C_GyUaKD.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,12 +1,12 @@
|
|
|
1
1
|
import { computed as c, defineComponent as ze, ref as k, watch as Le, onMounted as Gt, onBeforeUnmount as Eo, resolveComponent as be, createBlock as ye, openBlock as j, Transition as Ya, withCtx as Re, createElementBlock as pe, createCommentVNode as we, createElementVNode as Q, unref as l, normalizeStyle as Ve, withModifiers as Cn, toDisplayString as Me, createVNode as Ce, Fragment as Ye, renderList as St, normalizeClass as Fe, nextTick as jo, mergeModels as ot, useModel as at, renderSlot as gt, h as Pt, createSlots as Xa, resolveDynamicComponent as Go, markRaw as So, toRaw as Ea, createTextVNode as ja, onUnmounted as Yn, provide as Ga, inject as qa, withDirectives as Ja, vShow as Za } from "vue";
|
|
2
|
-
import { u as Qa, h as er, i as qo, j as tr, q as ko, k as nr } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as Ln, Y as xn, a as _n, Z as or } from "./app-
|
|
4
|
-
import { W as Z, S as Je, v as Kt, F as Ot, c as gn, w as Hn, d as ar, o as rr, x as lr, E as Mt, y as sr } from "./report-
|
|
5
|
-
import { c as Dn, w as Et } from "./currency-
|
|
6
|
-
import { d as Xn } from "./DateRangeSelect-
|
|
2
|
+
import { u as Qa, h as er, i as qo, j as tr, q as ko, k as nr } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-B4uPv0Pp.js";
|
|
3
|
+
import { u as Ln, Y as xn, a as _n, Z as or } from "./app-DL6B8kX0.js";
|
|
4
|
+
import { W as Z, S as Je, v as Kt, F as Ot, c as gn, w as Hn, d as ar, o as rr, x as lr, E as Mt, y as sr } from "./report-DUmqY1C-.js";
|
|
5
|
+
import { c as Dn, w as Et } from "./currency-IE26CkEv.js";
|
|
6
|
+
import { d as Xn } from "./DateRangeSelect-COoxXj-r.js";
|
|
7
7
|
import { storeToRefs as At } from "pinia";
|
|
8
8
|
import { detectLocale as oo } from "@feedmepos/mf-common";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-C4HJJRwa.js";
|
|
10
10
|
import { C as En, t as ir } from "./chart-BywXiz4O.js";
|
|
11
11
|
import { useBreakpoints as qt, useSnackbar as Sn, components as ur } from "@feedmepos/ui-library";
|
|
12
12
|
import { u as kt, _ as Jo } from "./_plugin-vue_export-helper-C6QDExPN.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as he, computed as Se, defineComponent as yt, mergeModels as lt, useModel as ft, watch as Ie, resolveComponent as ee, createElementBlock as pe, openBlock as J, createVNode as P, withCtx as ie, createElementVNode as j, createCommentVNode as bt, Fragment as Le, renderList as ht, createBlock as we, unref as T, createTextVNode as nt, withDirectives as $l, toDisplayString as be, vShow as xl, renderSlot as qt, normalizeStyle as Al, normalizeClass as Et, withModifiers as dt } from "vue";
|
|
2
|
-
import { c as jt, _ as Qt, D as Gl, e as El } from "./DateRangeSelect-
|
|
3
|
-
import { e as St } from "./index-
|
|
4
|
-
import { d as I, u as Oe, c as qe, a as Me, F as ke, _ as gt, r as Ae, g as Ll, h as Ml } from "./app-
|
|
5
|
-
import { b as B, C as W, Q as tt, u as Pe, o as Ge, p as Ue, D as fe, a as Pl, x as Lt, W as Mt, A as Bl, S as Pt } from "./report-
|
|
2
|
+
import { c as jt, _ as Qt, D as Gl, e as El } from "./DateRangeSelect-COoxXj-r.js";
|
|
3
|
+
import { e as St } from "./index-C4HJJRwa.js";
|
|
4
|
+
import { d as I, u as Oe, c as qe, a as Me, F as ke, _ as gt, r as Ae, g as Ll, h as Ml } from "./app-DL6B8kX0.js";
|
|
5
|
+
import { b as B, C as W, Q as tt, u as Pe, o as Ge, p as Ue, D as fe, a as Pl, x as Lt, W as Mt, A as Bl, S as Pt } from "./report-DUmqY1C-.js";
|
|
6
6
|
import { defineStore as Ft, storeToRefs as re } from "pinia";
|
|
7
7
|
import { detectLocale as xe } from "@feedmepos/mf-common";
|
|
8
8
|
import { u as Kt } 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-DCU8ehY7.js";
|
|
3
|
+
import { D as ge } from "./DateRangeSelect-COoxXj-r.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-DL6B8kX0.js";
|
|
5
5
|
import { storeToRefs as ae } from "pinia";
|
|
6
6
|
import { C as le, r as xe } from "./chart-BywXiz4O.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-BnHDHWXN.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-C_GyUaKD.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 ve, mergeModels as ke, useModel as be, computed as X, resolveComponent as T, createElementBlock as R, openBlock as x, createElementVNode as t, createCommentVNode as q, normalizeClass as Ye, Fragment as $e, renderList as qe, createBlock as ae, normalizeStyle as st, createVNode as l, withCtx as Ce, renderSlot as It, toDisplayString as C, unref as n, h, createTextVNode as $t, ref as se, onUnmounted as Xe, watch as De, isRef as He, resolveDynamicComponent as Ge, mergeProps as dt, onMounted as ct, withKeys as nt, withModifiers as mt, nextTick as kt } from "vue";
|
|
2
2
|
import { useRouter as Ie, useRoute as Tt } from "vue-router";
|
|
3
|
-
import { A as Se, v as it, d as Fe, w as Nt, e as Ee, a as Te, x as _e, y as Vt, z as Ft, o as ce, t as Je, B as Qe, E as ze, G as Ze, H as pt, J as Kt, K as Mt, L as Ut, M as Rt, N as Pt, O as ut, b as ft, P as Ot, Q as Lt, n as jt, I as Be, R as Et, S as Bt, T as Yt } from "./app-
|
|
3
|
+
import { A as Se, v as it, d as Fe, w as Nt, e as Ee, a as Te, x as _e, y as Vt, z as Ft, o as ce, t as Je, B as Qe, E as ze, G as Ze, H as pt, J as Kt, K as Mt, L as Ut, M as Rt, N as Pt, O as ut, b as ft, P as Ot, Q as Lt, n as jt, I as Be, R as Et, S as Bt, T as Yt } from "./app-DL6B8kX0.js";
|
|
4
4
|
import { u as et } from "./global-loader-BuxFfehu.js";
|
|
5
5
|
import { u as tt } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { useSnackbar as Ne } from "@feedmepos/ui-library";
|
|
7
7
|
import { s as St } from "./index-CtZE4sab.js";
|
|
8
8
|
import { u as we, _ as qt } from "./_plugin-vue_export-helper-C6QDExPN.js";
|
|
9
|
-
import { u as We, h as Ae } from "./useRestaurantPermission-
|
|
9
|
+
import { u as We, h as Ae } from "./useRestaurantPermission-D4W9mFY1.js";
|
|
10
10
|
import { storeToRefs as ot } from "pinia";
|
|
11
|
-
import { D as at } from "./DateRangeSelect-
|
|
11
|
+
import { D as at } from "./DateRangeSelect-COoxXj-r.js";
|
|
12
12
|
const zt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, Ht = { class: "w-[100%] overflow-hidden" }, Gt = { class: "inline-flex max-w-full items-center gap-2 align-top" }, Qt = { class: "text-nowrap min-w-0 overflow-hidden text-ellipsis font-semibold" }, Wt = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "w-[24px] flex items-center"
|