@feedmepos/mf-report 5.30.0-beta.0 → 5.30.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-Zx1K4BnQ.js → App-DLfT0eCF.js} +34 -34
- package/dist/{DateRangeSelect-Cvg7j6LZ.js → DateRangeSelect-B7WdpXF2.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-JpSUpeuc.js → Default.vue_vue_type_script_setup_true_lang-CL-aDO0k.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-Cgr7YWnp.js → DynamicWidget.vue_vue_type_script_setup_true_lang-CBQqry-z.js} +6 -6
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-mFJQbOL5.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Dw7f7Ezy.js} +4 -4
- package/dist/{InsightView-X7EyFe1r.js → InsightView-C6C7JOZ6.js} +5 -5
- package/dist/{Integration-G28s7DLD.js → Integration-C-jTirOn.js} +3 -3
- package/dist/{Integrations-DgUgBglZ.js → Integrations-GGOG7SoK.js} +2 -2
- package/dist/{Layout-DxlaTbts.js → Layout-Bh9XKigp.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-BYMSzzGS.js → LocationSelect.vue_vue_type_script_setup_true_lang-rIw_bBJj.js} +2 -2
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DMZH6l7t.js → MenuTab.vue_vue_type_script_setup_true_lang-Cd0znwmF.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BMMX1mz3.js → NavigationTab.vue_vue_type_script_setup_true_lang-DfyDACQ_.js} +5 -5
- package/dist/{OverviewView-DxZA5E-D.js → OverviewView-lMOe2TOC.js} +5 -5
- package/dist/{Report-CfHX_O88.js → Report-D2Xn49J6.js} +3 -3
- package/dist/{ReportCanvasView-CVUemsS7.js → ReportCanvasView-CFD234l5.js} +5 -5
- package/dist/{ReportEditor-DRVVFaw_.js → ReportEditor-CSCoj3H6.js} +7 -7
- package/dist/{ReportView-B4KgPrKn.js → ReportView-CkWRa86t.js} +6 -6
- package/dist/{ReportViewRoute-CYPNbqel.js → ReportViewRoute-BhtvTT7S.js} +2 -2
- package/dist/{Setting-BZKRUKf5.js → Setting-CoeUOLBq.js} +3 -3
- package/dist/{Template-B5QDCpMw.js → Template-CC5lUzPa.js} +3 -3
- package/dist/{TileEditor-MNUpqEnX.js → TileEditor-DrbNsCcm.js} +6 -6
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-PtRMtg10.js → TilePageStack.vue_vue_type_script_setup_true_lang-H9-q9z6X.js} +2 -2
- package/dist/{TransitionFade-BQCo-v6-.js → TransitionFade-BdCRphCd.js} +5 -5
- package/dist/{app-CU72XqgP.js → app-DQmVmRnR.js} +14 -14
- package/dist/app.js +1 -1
- package/dist/{currency-bp_Vqklp.js → currency-D5C8SOmH.js} +1 -1
- package/dist/{index-DVFxeecw.js → index-DXT80H-V.js} +1 -1
- package/dist/{report-BsqIdKBK.js → report-Fll6MFsc.js} +1 -1
- package/dist/{useRestaurantPermission-V4Ye3a0X.js → useRestaurantPermission-D0zsFIys.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-DQmVmRnR.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-Fll6MFsc.js";
|
|
7
|
+
import { u as Ve, _ as Xe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DfyDACQ_.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.30.0
|
|
107
|
+
console.log("5.30.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((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-DQmVmRnR.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-DfyDACQ_.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 S, watch as De, onMounted as Gt, onBeforeUnmount as Yo, resolveComponent as be, createBlock as ye, openBlock as E, Transition as Ka, 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 _t, normalizeClass as Fe, nextTick as Xo, mergeModels as ot, useModel as at, renderSlot as gt, h as Pt, createSlots as Ya, resolveDynamicComponent as Eo, markRaw as wo, toRaw as Xa, createTextVNode as Ea, onUnmounted as jo, provide as ja, inject as Ga, withDirectives as qa, vShow as Ja } from "vue";
|
|
2
|
-
import { u as Za, h as Qa, i as Go, j as er, q as _o } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as Ln, X as xn, a as _n, Y as tr } from "./app-
|
|
4
|
-
import { W as Z, S as Je, v as Kt, F as Ot, c as gn, w as Hn, d as nr, o as or, x as ar, E as Mt, y as rr } from "./report-
|
|
5
|
-
import { c as Dn, w as Et } from "./currency-
|
|
6
|
-
import { d as Yn } from "./DateRangeSelect-
|
|
2
|
+
import { u as Za, h as Qa, i as Go, j as er, q as _o } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Dw7f7Ezy.js";
|
|
3
|
+
import { u as Ln, X as xn, a as _n, Y as tr } from "./app-DQmVmRnR.js";
|
|
4
|
+
import { W as Z, S as Je, v as Kt, F as Ot, c as gn, w as Hn, d as nr, o as or, x as ar, E as Mt, y as rr } from "./report-Fll6MFsc.js";
|
|
5
|
+
import { c as Dn, w as Et } from "./currency-D5C8SOmH.js";
|
|
6
|
+
import { d as Yn } from "./DateRangeSelect-B7WdpXF2.js";
|
|
7
7
|
import { storeToRefs as At } from "pinia";
|
|
8
8
|
import { detectLocale as no } from "@feedmepos/mf-common";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-DXT80H-V.js";
|
|
10
10
|
import { C as Xn } from "./chart-DDDh8zNk.js";
|
|
11
11
|
import { useBreakpoints as qt, useSnackbar as Sn, components as lr } from "@feedmepos/ui-library";
|
|
12
12
|
import { u as St, _ as qo } from "./_plugin-vue_export-helper-C6QDExPN.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as ye, computed as ve, defineComponent as yt, mergeModels as lt, useModel as ft, watch as Ie, resolveComponent as ee, createElementBlock as me, openBlock as H, createVNode as L, withCtx as re, createElementVNode as q, createCommentVNode as bt, Fragment as Le, renderList as ht, createBlock as Fe, unref as T, createTextVNode as nt, withDirectives as xl, toDisplayString as fe, vShow as Al, renderSlot as Ut, normalizeStyle as $l, normalizeClass as Gt, withModifiers as dt } from "vue";
|
|
2
|
-
import { c as jt, _ as qt, D as Gl, e as El } from "./DateRangeSelect-
|
|
3
|
-
import { e as gt } from "./index-
|
|
4
|
-
import { d as I, u as Oe, c as je, a as Me, F as ke, Z as St, r as $e, g as Ll, h as Ml } from "./app-
|
|
5
|
-
import { b as M, C as W, Q as tt, u as Pe, o as Ge, p as Ue, D as pe, a as Pl, x as Et, W as Lt, A as Bl, S as Mt } from "./report-
|
|
2
|
+
import { c as jt, _ as qt, D as Gl, e as El } from "./DateRangeSelect-B7WdpXF2.js";
|
|
3
|
+
import { e as gt } from "./index-DXT80H-V.js";
|
|
4
|
+
import { d as I, u as Oe, c as je, a as Me, F as ke, Z as St, r as $e, g as Ll, h as Ml } from "./app-DQmVmRnR.js";
|
|
5
|
+
import { b as M, C as W, Q as tt, u as Pe, o as Ge, p as Ue, D as pe, a as Pl, x as Et, W as Lt, A as Bl, S as Mt } from "./report-Fll6MFsc.js";
|
|
6
6
|
import { defineStore as Qt, storeToRefs as se } from "pinia";
|
|
7
7
|
import { detectLocale as Ae } 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-CL-aDO0k.js";
|
|
3
|
+
import { D as ge } from "./DateRangeSelect-B7WdpXF2.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-DQmVmRnR.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-rIw_bBJj.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-DfyDACQ_.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-DQmVmRnR.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-D0zsFIys.js";
|
|
10
10
|
import { storeToRefs as Je } from "pinia";
|
|
11
|
-
import { D as Ze } from "./DateRangeSelect-
|
|
11
|
+
import { D as Ze } from "./DateRangeSelect-B7WdpXF2.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"
|