@feedmepos/mf-report 5.22.30-beta.0 → 5.22.30
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-DAgnd4VG.js → App-Cof-X-OX.js} +61 -61
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-BCz61GC9.js → BaseDialog.vue_vue_type_script_setup_true_lang-Cn_mVx9D.js} +2 -2
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-BOaYxU7G.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CJOaN-RA.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-D8slta-R.js → Default.vue_vue_type_script_setup_true_lang-Dz_5iNus.js} +1 -1
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-D3o6PfhT.js → FilterSelector.vue_vue_type_script_setup_true_lang-Lnxc9CzU.js} +3 -3
- package/dist/{InsightView-bJe5z0WJ.js → InsightView-DktFtdy9.js} +4 -4
- package/dist/{Integration-Cw5UjrYC.js → Integration-CFtbFghr.js} +3 -3
- package/dist/{Integrations-Dn2Vp7Yq.js → Integrations-fSWspKwj.js} +2 -2
- package/dist/{Layout-uyYxpWho.js → Layout-CcunW_mF.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-C2WpQ5AB.js → MenuTab.vue_vue_type_script_setup_true_lang-Bwq0tcXV.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DO1QZlWu.js → NavigationTab.vue_vue_type_script_setup_true_lang-C5bwFbZj.js} +3 -3
- package/dist/{OverviewView-BuOHVfaO.js → OverviewView-Dq5tvKOF.js} +4 -4
- package/dist/{Report-Baa2ok8f.js → Report-CHlX2qrM.js} +3 -3
- package/dist/{ReportEditor-DfGlfWsI.js → ReportEditor-Dj3PktxT.js} +4 -4
- package/dist/{ReportView-ChNE3q_B.js → ReportView-lwvhOIVg.js} +6 -6
- package/dist/{Setting-BOSjW1Wm.js → Setting-BhK2ktyL.js} +3 -3
- package/dist/{TileEditor-OEmx_zoQ.js → TileEditor-B_JDpB3I.js} +5 -5
- package/dist/{TransitionFade-CH6Lhegp.js → TransitionFade-D7Yi5DZW.js} +4 -4
- package/dist/{app-CvOpVkhV.js → app-DlT1RNrY.js} +12 -12
- package/dist/app.js +1 -1
- package/dist/{useRestaurantPermission-XyHzt_1-.js → useRestaurantPermission-DB3sRIJN.js} +1 -1
- package/package.json +1 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { defineComponent as ue, resolveComponent as H, createBlock as de, openBlock as A, unref as d, isRef as
|
|
2
|
-
import { detectLocale as Q, useCoreStore as
|
|
3
|
-
import { d as u, u as Be, a as
|
|
4
|
-
import { storeToRefs as
|
|
1
|
+
import { defineComponent as ue, resolveComponent as H, createBlock as de, openBlock as A, unref as d, isRef as Ee, withCtx as P, createElementVNode as ne, createVNode as X, toDisplayString as oe, createTextVNode as ke, onMounted as le, watch as C, ref as J, computed as re, onBeforeMount as Te, onBeforeUnmount as Ne, createElementBlock as G, Fragment as $e } from "vue";
|
|
2
|
+
import { detectLocale as Q, useCoreStore as K } from "@feedmepos/mf-common";
|
|
3
|
+
import { d as u, u as Be, a as ae, b as Fe, c as se, e as qe, f as xe, s as Je, t as W } from "./app-DlT1RNrY.js";
|
|
4
|
+
import { storeToRefs as E } from "pinia";
|
|
5
5
|
import { u as Qe, a as Ue } from "./vue-i18n-DVWuTfed.js";
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as Ve, _ as
|
|
6
|
+
import { u as je, a as ze } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Cn_mVx9D.js";
|
|
7
|
+
import { u as Ve, _ as Pe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-C5bwFbZj.js";
|
|
8
8
|
import { u as ie } from "./message-dialog-UoMWOnil.js";
|
|
9
|
-
import { useRoute as
|
|
10
|
-
const
|
|
9
|
+
import { useRoute as Ge, useRouter as Ke } from "vue-router";
|
|
10
|
+
const We = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, He = /* @__PURE__ */ ue({
|
|
11
11
|
__name: "Dialog",
|
|
12
12
|
setup(k) {
|
|
13
|
-
const { t: c } = Qe(), p = ie(), { isOpened: g, message: _, title: L } =
|
|
13
|
+
const { t: c } = Qe(), p = ie(), { isOpened: g, message: _, title: L } = E(ie());
|
|
14
14
|
return (O, I) => {
|
|
15
|
-
const
|
|
15
|
+
const T = H("FmButton"), U = H("FmDialog");
|
|
16
16
|
return A(), de(U, {
|
|
17
17
|
modelValue: d(g),
|
|
18
|
-
"onUpdate:modelValue": I[0] || (I[0] = (
|
|
18
|
+
"onUpdate:modelValue": I[0] || (I[0] = (j) => Ee(g) ? g.value = j : null),
|
|
19
19
|
overlay: "",
|
|
20
20
|
"close-button": !1
|
|
21
21
|
}, {
|
|
22
|
-
"dialog-header":
|
|
22
|
+
"dialog-header": P(() => [
|
|
23
23
|
ke(oe(d(L)), 1)
|
|
24
24
|
]),
|
|
25
|
-
default:
|
|
26
|
-
ne("p",
|
|
25
|
+
default: P(() => [
|
|
26
|
+
ne("p", We, oe(d(_)), 1)
|
|
27
27
|
]),
|
|
28
|
-
"dialog-footer":
|
|
28
|
+
"dialog-footer": P(() => [
|
|
29
29
|
I[1] || (I[1] = ne("div", { class: "grow" }, null, -1)),
|
|
30
|
-
X(
|
|
30
|
+
X(T, {
|
|
31
31
|
label: d(c)("report.common.cancel"),
|
|
32
32
|
variant: "tertiary",
|
|
33
33
|
onClick: d(p).dismiss
|
|
34
34
|
}, null, 8, ["label", "onClick"]),
|
|
35
|
-
X(
|
|
35
|
+
X(T, {
|
|
36
36
|
label: d(c)("report.common.confirm"),
|
|
37
37
|
onClick: d(p).confirm
|
|
38
38
|
}, null, 8, ["label", "onClick"])
|
|
@@ -55,7 +55,7 @@ function Xe() {
|
|
|
55
55
|
};
|
|
56
56
|
return le(() => {
|
|
57
57
|
k(Q());
|
|
58
|
-
}),
|
|
58
|
+
}), C(() => Q(), k, { deep: !0, immediate: !0 }), {
|
|
59
59
|
currentLocale: ce
|
|
60
60
|
};
|
|
61
61
|
}
|
|
@@ -63,8 +63,8 @@ u.locale(Q() === "zh-CN" ? "zh-cn" : "en");
|
|
|
63
63
|
const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
|
|
64
64
|
__name: "App",
|
|
65
65
|
setup(k) {
|
|
66
|
-
const { businessId: c, token: p, country: g } =
|
|
67
|
-
|
|
66
|
+
const { businessId: c, token: p, country: g } = E(Be()), { sessionUser: _, currentBusiness: L, currentCountry: O, registerSidebarComponent: I } = K(), { getRestaurantAndWarehouse: T, getBusinessSetting: U, beginBusinessLoad: j, completeBusinessLoad: fe } = ae(), { getFeatureFlags: me } = Fe(), { version: v } = E(se()), { getSettings: pe } = qe(), { promptLoader: ge } = Ue(), s = Ge(), z = Ke(), w = je(), Y = Ve(), a = ae(), N = se(), { suppressReportRouteSync: $ } = E(N), { getReports: ve, getOverviewReport: ye, getReportConfig: Se, currentReportId: Z } = w, { currentReportId: De, reports: Ie } = E(w), { getSchema: he } = ze(), { fetchSchedules: Re } = Y, { init: _e } = xe(), V = J("v5"), B = J(!1), F = J(!0), Le = re(() => `https://portal-v1.feedme.cc/b/${c.value}/report/CLOSE_UP?showHeader=false&country=${g.value.toUpperCase()}&menuOption=business-report&token=${p.value}&v2=true&reportV5Button=true`), Oe = re(() => `https://report-v4.feedme.cc?businessId=${c.value}&country=${g.value}&token=${p.value}&reportV3Button=true`);
|
|
67
|
+
C(
|
|
68
68
|
[() => L.value, () => _.value, () => O.value],
|
|
69
69
|
() => {
|
|
70
70
|
var e, n;
|
|
@@ -91,13 +91,13 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
|
|
|
91
91
|
console.error(e);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
|
|
95
|
-
["v3", "v4"].includes(v.value) ?
|
|
96
|
-
}), Ne(() => {
|
|
97
|
-
I(We);
|
|
98
|
-
}), le(() => {
|
|
99
|
-
console.log("5.22.30-beta.0", !0), window.addEventListener("message", M), window.addEventListener("message", ee);
|
|
94
|
+
C(v, () => {
|
|
95
|
+
["v3", "v4"].includes(v.value) ? K().hideSidebarToggle(!0) : K().hideSidebarToggle(!1);
|
|
100
96
|
}), Te(() => {
|
|
97
|
+
I(Pe);
|
|
98
|
+
}), le(() => {
|
|
99
|
+
console.log("5.22.30", !0), window.addEventListener("message", M), window.addEventListener("message", ee);
|
|
100
|
+
}), Ne(() => {
|
|
101
101
|
window.removeEventListener("message", M), window.removeEventListener("message", ee), w.$dispose(), Y.$dispose();
|
|
102
102
|
});
|
|
103
103
|
function we(t) {
|
|
@@ -132,30 +132,30 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
|
|
|
132
132
|
const e = t, n = e.startDate ? u(e.startDate).startOf("day").toISOString() : void 0, o = e.endDate ? u(e.endDate).endOf("day").toISOString() : void 0, l = typeof e.timeStart == "string", i = typeof e.timeEnd == "string", f = q(e.timeStart), y = q(e.timeEnd), m = te(f) ? f : null, x = te(y) ? y : null, b = e.compareStartDate ? u(e.compareStartDate).startOf("day").toISOString() : void 0, S = e.compareEndDate ? u(e.compareEndDate).endOf("day").toISOString() : void 0, h = e.isAllLocation === "true" || e.isAllLocation === void 0;
|
|
133
133
|
let D = [];
|
|
134
134
|
if (h)
|
|
135
|
-
D =
|
|
135
|
+
D = a.selectedLocationIds ?? [];
|
|
136
136
|
else {
|
|
137
|
-
const
|
|
138
|
-
D = Array.isArray(
|
|
137
|
+
const r = q(e.locationIds);
|
|
138
|
+
D = Array.isArray(r) ? r : [];
|
|
139
139
|
}
|
|
140
140
|
let R = e.reportId || Z;
|
|
141
|
-
if (Ie.value.find((
|
|
142
|
-
const
|
|
143
|
-
(
|
|
141
|
+
if (Ie.value.find((r) => r.id === R) || (R = Z), R && R !== w.currentReportId && w.updateCurrentReportId(R), n || o) {
|
|
142
|
+
const r = a.dateRange;
|
|
143
|
+
(r.startDate !== n || r.endDate !== o) && a.setDateRange({ startDate: n, endDate: o });
|
|
144
144
|
}
|
|
145
145
|
if (l || i) {
|
|
146
|
-
const
|
|
147
|
-
(
|
|
146
|
+
const r = a.timeRange;
|
|
147
|
+
(r.start !== m || r.end !== x) && a.setTimeRange({ start: m, end: x });
|
|
148
148
|
}
|
|
149
149
|
if (b || S) {
|
|
150
|
-
const
|
|
151
|
-
(
|
|
150
|
+
const r = a.compareDateRange;
|
|
151
|
+
(r.startDate !== b || r.endDate !== S) && a.setCompareDateRange({
|
|
152
152
|
startDate: b,
|
|
153
153
|
endDate: S
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
156
|
if (!h) {
|
|
157
|
-
const
|
|
158
|
-
|
|
157
|
+
const r = a.selectedLocationIds;
|
|
158
|
+
r.length === D.length && r.every((Ae, Ce) => Ae === D[Ce]) || a.setSelectedLocationIds(D);
|
|
159
159
|
}
|
|
160
160
|
return {
|
|
161
161
|
// TODO: this returned value can used for getBusinessSetting
|
|
@@ -170,11 +170,11 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
|
|
|
170
170
|
isAllLocation: e.isAllLocation
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
return
|
|
173
|
+
return C(
|
|
174
174
|
() => c.value,
|
|
175
175
|
async (t, e) => {
|
|
176
176
|
if (t !== "") {
|
|
177
|
-
B.value = !1,
|
|
177
|
+
B.value = !1, j(t);
|
|
178
178
|
const n = "mf-report-prev-business-id", o = (() => {
|
|
179
179
|
try {
|
|
180
180
|
return sessionStorage.getItem(n);
|
|
@@ -184,12 +184,12 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
|
|
|
184
184
|
})(), l = !!o && o !== t;
|
|
185
185
|
let i = { ...s.query }, f = !1;
|
|
186
186
|
if (!F.value || e !== void 0 || l) {
|
|
187
|
-
|
|
187
|
+
a.setSelectedLocationIds([]);
|
|
188
188
|
const { locationIds: y, ...m } = s.query;
|
|
189
189
|
i = {
|
|
190
190
|
...m,
|
|
191
191
|
isAllLocation: "true"
|
|
192
|
-
}, f = !0, await
|
|
192
|
+
}, f = !0, await z.replace({
|
|
193
193
|
name: s.name,
|
|
194
194
|
params: s.params,
|
|
195
195
|
query: i
|
|
@@ -197,24 +197,24 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
|
|
|
197
197
|
}
|
|
198
198
|
$.value !== void 0 && ($.value = !0), await ge(async () => {
|
|
199
199
|
await _e({
|
|
200
|
-
apiKey: "
|
|
200
|
+
apiKey: "6GhcttsJ9Rj9cTevcdrpin",
|
|
201
201
|
url: "https://flag.feedme.farm/api/v1/",
|
|
202
202
|
enableAnalytics: !1,
|
|
203
203
|
cacheFlags: !1
|
|
204
204
|
});
|
|
205
205
|
const y = await Se();
|
|
206
206
|
V.value = y.version, v.value = V.value, await me();
|
|
207
|
-
const m =
|
|
208
|
-
|
|
209
|
-
), x =
|
|
210
|
-
|
|
211
|
-
), b =
|
|
212
|
-
|
|
207
|
+
const m = N.canAccess(
|
|
208
|
+
W.report_accessOverview
|
|
209
|
+
), x = N.canAccess(
|
|
210
|
+
W.report_accessSetting
|
|
211
|
+
), b = N.canAccess(
|
|
212
|
+
W.report_accessIntegration
|
|
213
213
|
), S = [
|
|
214
214
|
he(),
|
|
215
215
|
Re(),
|
|
216
216
|
ve(),
|
|
217
|
-
|
|
217
|
+
T(
|
|
218
218
|
(() => {
|
|
219
219
|
const h = q(i.locationIds);
|
|
220
220
|
return Array.isArray(h) ? h : void 0;
|
|
@@ -223,7 +223,7 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
|
|
|
223
223
|
];
|
|
224
224
|
if (m && S.push(ye()), b && S.push(pe()), await Promise.all(S), x && await U(), be(i), f) {
|
|
225
225
|
const { locationIds: h, ...D } = s.query;
|
|
226
|
-
(s.query.locationIds !== void 0 || s.query.isAllLocation !== "true") && await
|
|
226
|
+
(s.query.locationIds !== void 0 || s.query.isAllLocation !== "true") && await z.replace({
|
|
227
227
|
name: s.name,
|
|
228
228
|
params: s.params,
|
|
229
229
|
query: {
|
|
@@ -243,13 +243,13 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
|
|
|
243
243
|
{
|
|
244
244
|
immediate: !0
|
|
245
245
|
}
|
|
246
|
-
),
|
|
246
|
+
), C(
|
|
247
247
|
() => (B.value, {
|
|
248
248
|
reportId: De.value,
|
|
249
|
-
selectedLocationIds:
|
|
250
|
-
dateRange:
|
|
251
|
-
timeRange:
|
|
252
|
-
compareDateRange:
|
|
249
|
+
selectedLocationIds: a.selectedLocationIds,
|
|
250
|
+
dateRange: a.dateRange,
|
|
251
|
+
timeRange: a.timeRange,
|
|
252
|
+
compareDateRange: a.compareDateRange
|
|
253
253
|
}),
|
|
254
254
|
(t) => {
|
|
255
255
|
if (!B.value || !t.reportId || F.value) return;
|
|
@@ -266,10 +266,10 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
|
|
|
266
266
|
compareEndDate: l.endDate ? u(l.endDate).endOf("day").toISOString() : void 0,
|
|
267
267
|
timeStart: o.start ? JSON.stringify(o.start) : void 0,
|
|
268
268
|
timeEnd: o.end ? JSON.stringify(o.end) : void 0
|
|
269
|
-
}, f = e.length ===
|
|
269
|
+
}, f = e.length === a.locations.length;
|
|
270
270
|
i.isAllLocation = String(f), f ? delete i.locationIds : e.length > 0 ? i.locationIds = JSON.stringify(e) : delete i.locationIds;
|
|
271
271
|
const y = JSON.stringify(s.query), m = JSON.stringify(i);
|
|
272
|
-
y !== m &&
|
|
272
|
+
y !== m && z.replace({
|
|
273
273
|
name: s.name,
|
|
274
274
|
params: s.params,
|
|
275
275
|
query: i
|
|
@@ -278,13 +278,13 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
|
|
|
278
278
|
{ deep: !0 }
|
|
279
279
|
), Xe(), (t, e) => {
|
|
280
280
|
const n = H("router-view");
|
|
281
|
-
return A(),
|
|
281
|
+
return A(), G($e, null, [
|
|
282
282
|
X(He),
|
|
283
|
-
d(v) === "v3" ? (A(),
|
|
283
|
+
d(v) === "v3" ? (A(), G("iframe", {
|
|
284
284
|
key: 0,
|
|
285
285
|
class: "bg-white h-full w-full",
|
|
286
286
|
src: Le.value
|
|
287
|
-
}, null, 8, Ye)) : d(v) === "v4" ? (A(),
|
|
287
|
+
}, null, 8, Ye)) : d(v) === "v4" ? (A(), G("iframe", {
|
|
288
288
|
key: 1,
|
|
289
289
|
class: "bg-white h-full w-full",
|
|
290
290
|
src: Oe.value
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as y0, F as m0, x as A0, y as Ie, a as V0, b as Fe, w as Me, g as Re, d as E0, c as De, r as K0 } from "./app-
|
|
1
|
+
import { u as y0, F as m0, x as A0, y as Ie, a as V0, b as Fe, w as Me, g as Re, d as E0, c as De, r as K0 } from "./app-DlT1RNrY.js";
|
|
2
2
|
import { storeToRefs as D0, defineStore as Y0 } from "pinia";
|
|
3
3
|
import { ref as d0, computed as H0, watch as Z0, defineComponent as ce, mergeModels as X0, useModel as j0, resolveComponent as O0, createElementBlock as G0, openBlock as k0, createVNode as C0, withCtx as B0, createElementVNode as L0, createCommentVNode as xe, Fragment as ie, renderList as Le, createBlock as fe, createTextVNode as pe, withDirectives as Oe, toDisplayString as v0, unref as S0, vShow as we, renderSlot as ve } from "vue";
|
|
4
4
|
import { useSnackbar as $e } from "@feedmepos/ui-library";
|
|
5
5
|
import { u as Be } from "./vue-i18n-DVWuTfed.js";
|
|
6
6
|
import { useCoreStore as Pe, detectLocale as P0 } from "@feedmepos/mf-common";
|
|
7
|
-
import { c as Je, a as He } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { c as Je, a as He } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CJOaN-RA.js";
|
|
8
8
|
function ye(E) {
|
|
9
9
|
throw new Error('Could not dynamically require "' + E + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as A, resolveComponent as S, createBlock as p, openBlock as y, withCtx as T, createCommentVNode as R, createElementVNode as M, toDisplayString as j, renderSlot as B, mergeModels as k, useModel as b, ref as C, watch as x, createElementBlock as U, unref as f, createVNode as O } from "vue";
|
|
2
|
-
import { d as r, a as W, _ as q, C as G } from "./app-
|
|
2
|
+
import { d as r, a as W, _ as q, C as G } from "./app-DlT1RNrY.js";
|
|
3
3
|
import { detectLocale as E } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as H } from "./vue-i18n-DVWuTfed.js";
|
|
5
5
|
import { storeToRefs as K } 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-C5bwFbZj.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 "./vue-i18n-DVWuTfed.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as v, defineComponent as at, ref as L, onMounted as it, onBeforeUnmount as da, resolveComponent as ve, createBlock as we, openBlock as Y, Transition as Ka, withCtx as $e, createElementBlock as ge, createCommentVNode as Me, createElementVNode as J, unref as r, normalizeStyle as Ze, withModifiers as Tt, toDisplayString as Ge, createVNode as fe, Fragment as et, renderList as Lt, normalizeClass as Ye, watch as Re, nextTick as tt, mergeModels as gt, useModel as ct, renderSlot as yt, h as on, createSlots as qa, resolveDynamicComponent as fa, toRaw as Ya, markRaw as Xa, createTextVNode as bn, onUnmounted as ha, withDirectives as Ga, vShow as ja } from "vue";
|
|
2
|
-
import { W as se, d as Ht, e as Ja, S as St, v as Xt, f as Za, g as vn, h as ma, q as pa, R as Ft, i as Qa, D as mt, b as Je, C as st, u as eo, a as to, _ as no } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { k as ao, z as oo, l as ro, m as lo, a as Gt, u as Bn, d as Bt, i as so } from "./app-
|
|
4
|
-
import { d as Cn, _ as io, a as uo, b as co, c as fo } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { W as se, d as Ht, e as Ja, S as St, v as Xt, f as Za, g as vn, h as ma, q as pa, R as Ft, i as Qa, D as mt, b as Je, C as st, u as eo, a as to, _ as no } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Cn_mVx9D.js";
|
|
3
|
+
import { k as ao, z as oo, l as ro, m as lo, a as Gt, u as Bn, d as Bt, i as so } from "./app-DlT1RNrY.js";
|
|
4
|
+
import { d as Cn, _ as io, a as uo, b as co, c as fo } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CJOaN-RA.js";
|
|
5
5
|
import { storeToRefs as vt, defineStore as va } from "pinia";
|
|
6
6
|
import { C as wn } from "./chart-DDDh8zNk.js";
|
|
7
7
|
import { detectLocale as ho } from "@feedmepos/mf-common";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref as B, defineComponent as S, watch as T, computed as _, onMounted as le, createElementBlock as d, openBlock as a, createElementVNode as o, renderSlot as H, toDisplayString as w, resolveDirective as X, createCommentVNode as A, Fragment as z, renderList as P, createBlock as V, withDirectives as M, resolveDynamicComponent as N, unref as m, withCtx as I, createVNode as y, normalizeClass as L, resolveComponent as R, useModel as oe, createTextVNode as ae, isRef as j, nextTick as se } from "vue";
|
|
2
|
-
import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { d as W, u as G, F as O, q as J, h as Y, a as re } from "./app-
|
|
2
|
+
import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-Dz_5iNus.js";
|
|
3
|
+
import { _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CJOaN-RA.js";
|
|
4
|
+
import { d as W, u as G, F as O, q as J, h as Y, a as re } from "./app-DlT1RNrY.js";
|
|
5
5
|
import { storeToRefs as K } from "pinia";
|
|
6
6
|
import { C as Q, r as de } from "./chart-DDDh8zNk.js";
|
|
7
7
|
import { components as E, useSnackbar as ce } from "@feedmepos/ui-library";
|
|
8
8
|
import { u as ee } from "./vue-i18n-DVWuTfed.js";
|
|
9
9
|
import { _ as ue } from "./NoData.vue_vue_type_script_setup_true_lang-CDKHIlF2.js";
|
|
10
|
-
import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-C5bwFbZj.js";
|
|
11
11
|
import { useCoreStore as ge } from "@feedmepos/mf-common";
|
|
12
12
|
function pe({ start: e, end: t }) {
|
|
13
13
|
return `${W(t).format("DD MMM")}, ${W(t).format("YYYY")}`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as te, mergeModels as Ve, useModel as ne, computed as Y, resolveComponent as K, createElementBlock as N, openBlock as b, createElementVNode as t, createCommentVNode as B, normalizeClass as We, Fragment as De, createBlock as O, withCtx as ke, toDisplayString as S, renderList as Le, createVNode as l, unref as m, h as V, normalizeStyle as dt, createTextVNode as mt, ref as W, onUnmounted as Oe, watch as Ke, isRef as Me, resolveDynamicComponent as Pe, mergeProps as tt, onMounted as nt } from "vue";
|
|
2
2
|
import { useRouter as Ce, useRoute as pt } from "vue-router";
|
|
3
|
-
import { G as we, H as et, d as Ie, J as rt, K as ut, e as Re, a as $e, L as he, M as ct, v as ft, A as Z, E as Be, N as Ye, O as Ne, P as qe, Q as ot, R as gt, S as vt, T as yt, U as at, b as st, V as xt, W as bt, w as wt, I as Ue, X as ht, Y as _t, Z as Ct } from "./app-
|
|
3
|
+
import { G as we, H as et, d as Ie, J as rt, K as ut, e as Re, a as $e, L as he, M as ct, v as ft, A as Z, E as Be, N as Ye, O as Ne, P as qe, Q as ot, R as gt, S as vt, T as yt, U as at, b as st, V as xt, W as bt, w as wt, I as Ue, X as ht, Y as _t, Z as Ct } from "./app-DlT1RNrY.js";
|
|
4
4
|
import { u as se, a as ze } from "./vue-i18n-DVWuTfed.js";
|
|
5
5
|
import { u as He } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { useSnackbar as Se } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as je, h as _e } from "./useRestaurantPermission-
|
|
7
|
+
import { u as je, h as _e } from "./useRestaurantPermission-DB3sRIJN.js";
|
|
8
8
|
import { storeToRefs as Ge } from "pinia";
|
|
9
|
-
import { _ as Qe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Qe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CJOaN-RA.js";
|
|
10
10
|
const kt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, $t = { class: "w-[100%]" }, St = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, At = { class: "w-[100%] flex flex-row gap-[4px]" }, Vt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, Dt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, Kt = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "w-[24px] flex items-center"
|