@feedmepos/mf-report 5.27.52-beta.0 → 5.27.52
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-Ck1ao-JB.js → App-oAR-nkyQ.js} +36 -36
- package/dist/{DateRangeSelect-BMbEySOu.js → DateRangeSelect-Ry-G_PTU.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-EQMARgqq.js → Default.vue_vue_type_script_setup_true_lang-Cnh5ZfVd.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DfYE0rub.js → DynamicWidget.vue_vue_type_script_setup_true_lang-DZn45AuH.js} +3 -3
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-J0-23kpC.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Bru5A8A7.js} +2 -2
- package/dist/{InsightView-x9oqke7G.js → InsightView-C8NpbN5Y.js} +4 -4
- package/dist/{Integration-Bb9uodeN.js → Integration-DOsdT6TI.js} +3 -3
- package/dist/{Integrations-DNj4xPNg.js → Integrations-DhUe08Dw.js} +2 -2
- package/dist/{Layout-B-r769x9.js → Layout-DknQz5MT.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-D1mBDCOO.js → MenuTab.vue_vue_type_script_setup_true_lang-P9GpIprW.js} +4 -4
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DeuMiX9F.js → NavigationTab.vue_vue_type_script_setup_true_lang-D6tEMpv7.js} +3 -3
- package/dist/{OverviewView-CBmU0aNW.js → OverviewView-DkQLgu65.js} +4 -4
- package/dist/{Report-BbBDyn9Y.js → Report-DVeiF4v2.js} +3 -3
- package/dist/{ReportEditor-D48D-A7l.js → ReportEditor-D-N0Tgec.js} +6 -6
- package/dist/{ReportView-D5hOO9dE.js → ReportView-tg85Wp8U.js} +6 -6
- package/dist/{Setting-B-Ey22U6.js → Setting-Byk9j9G-.js} +3 -3
- package/dist/{Template-B1oOOQ2w.js → Template-DovaDFcl.js} +3 -3
- package/dist/{TileEditor-BY6qqLI_.js → TileEditor-DeFjEOnd.js} +5 -5
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-iDyczjtT.js → TilePageStack.vue_vue_type_script_setup_true_lang-qaMRk6vT.js} +2 -2
- package/dist/{TransitionFade-DjuFuFlH.js → TransitionFade-DvLq7ml8.js} +4 -4
- package/dist/{app-steRuSYW.js → app-9zygESPP.js} +13 -13
- package/dist/app.js +1 -1
- package/dist/{useRestaurantPermission-CCKy96Jg.js → useRestaurantPermission-qvBnSrPS.js} +1 -1
- package/package.json +1 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as me, resolveComponent as
|
|
2
|
-
import { detectLocale as j, useCoreStore as
|
|
3
|
-
import { d as q, u as Qe, a as ie, b as Ue, c as ce, e as je, f as
|
|
1
|
+
import { defineComponent as me, resolveComponent as X, createBlock as pe, openBlock as A, unref as u, isRef as Fe, withCtx as W, createElementVNode as ae, createVNode as Y, toDisplayString as oe, createTextVNode as Ne, onMounted as fe, watch as C, ref as U, computed as se, onBeforeMount as $e, onBeforeUnmount as xe, createElementBlock as H, Fragment as Je } from "vue";
|
|
2
|
+
import { detectLocale as j, useCoreStore as V } from "@feedmepos/mf-common";
|
|
3
|
+
import { d as q, u as Qe, a as ie, b as Ue, c as ce, e as je, f as Pe, g as de } from "./app-9zygESPP.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 Ge, a as Ke } from "./_plugin-vue_export-helper-kkiiQoKl.js";
|
|
6
|
+
import { u as We, a as He } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Bru5A8A7.js";
|
|
7
|
+
import { u as Ve, _ as Xe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-D6tEMpv7.js";
|
|
8
8
|
import { u as ue } from "./message-dialog-UoMWOnil.js";
|
|
9
9
|
import { useRoute as Ye, useRouter as Ze } from "vue-router";
|
|
10
10
|
const Me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, et = /* @__PURE__ */ me({
|
|
11
11
|
__name: "Dialog",
|
|
12
12
|
setup(T) {
|
|
13
|
-
const { t: c } =
|
|
13
|
+
const { t: c } = Ge(), f = ue(), { isOpened: g, message: R, title: L } = k(ue());
|
|
14
14
|
return (O, _) => {
|
|
15
|
-
const z =
|
|
16
|
-
return A(), pe(
|
|
15
|
+
const z = X("FmButton"), P = X("FmDialog");
|
|
16
|
+
return A(), pe(P, {
|
|
17
17
|
modelValue: u(g),
|
|
18
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
18
|
+
"onUpdate:modelValue": _[0] || (_[0] = (G) => Fe(g) ? g.value = G : null),
|
|
19
19
|
overlay: "",
|
|
20
20
|
"close-button": !1,
|
|
21
21
|
"z-index": 3e3
|
|
22
22
|
}, {
|
|
23
|
-
"dialog-header":
|
|
24
|
-
|
|
23
|
+
"dialog-header": W(() => [
|
|
24
|
+
Ne(oe(u(L)), 1)
|
|
25
25
|
]),
|
|
26
|
-
default:
|
|
26
|
+
default: W(() => [
|
|
27
27
|
ae("p", Me, oe(u(R)), 1)
|
|
28
28
|
]),
|
|
29
|
-
"dialog-footer":
|
|
29
|
+
"dialog-footer": W(() => [
|
|
30
30
|
_[1] || (_[1] = ae("div", { class: "grow" }, null, -1)),
|
|
31
31
|
Y(z, {
|
|
32
32
|
label: u(c)("report.common.cancel"),
|
|
@@ -64,13 +64,13 @@ q.locale(j() === "zh-CN" ? "zh-cn" : "en");
|
|
|
64
64
|
const nt = ["src"], rt = ["src"], ft = /* @__PURE__ */ me({
|
|
65
65
|
__name: "App",
|
|
66
66
|
setup(T) {
|
|
67
|
-
const { businessId: c, token: f, country: g } = k(Qe()), { sessionUser: R, currentBusiness: L, currentCountry: O, registerSidebarComponent: _ } =
|
|
67
|
+
const { businessId: c, token: f, country: g } = k(Qe()), { sessionUser: R, currentBusiness: L, currentCountry: O, registerSidebarComponent: _ } = V(), {
|
|
68
68
|
getRestaurantAndWarehouse: z,
|
|
69
|
-
getBusinessSetting:
|
|
70
|
-
beginBusinessLoad:
|
|
69
|
+
getBusinessSetting: P,
|
|
70
|
+
beginBusinessLoad: G,
|
|
71
71
|
completeBusinessLoad: ge,
|
|
72
72
|
resetTimezoneContext: ye
|
|
73
|
-
} = ie(), ve = Ue(), { getFeatureFlags: Se } = ve, { version: y } = k(ce()), { getSettings: De } = je(), { promptLoader: he } =
|
|
73
|
+
} = ie(), ve = Ue(), { getFeatureFlags: Se } = ve, { version: y } = k(ce()), { getSettings: De } = je(), { promptLoader: he } = Ke(), n = Ye(), B = Ze(), E = We(), Z = Ve(), o = ie(), F = ce(), { suppressReportRouteSync: N } = k(F), { getReports: Ie, getOverviewReport: _e, getReportConfig: Re, currentReportId: M } = E, { currentReportId: Le, reports: Ee } = k(E), { getSchema: be } = He(), { fetchSchedules: we } = Z, { init: Ae } = Pe(), 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`);
|
|
74
74
|
C(
|
|
75
75
|
[() => L.value, () => R.value, () => O.value],
|
|
76
76
|
() => {
|
|
@@ -93,17 +93,17 @@ const nt = ["src"], rt = ["src"], ft = /* @__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 ? y.value =
|
|
96
|
+
(e == null ? void 0 : e.v5) === !0 ? y.value = K.value : (e == null ? void 0 : e.v3) === !0 && (y.value = "v3");
|
|
97
97
|
} catch (e) {
|
|
98
98
|
console.error(e);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
C(y, () => {
|
|
102
|
-
["v3", "v4"].includes(y.value) ?
|
|
102
|
+
["v3", "v4"].includes(y.value) ? V().hideSidebarToggle(!0) : V().hideSidebarToggle(!1);
|
|
103
103
|
}), $e(() => {
|
|
104
|
-
_(
|
|
104
|
+
_(Xe);
|
|
105
105
|
}), fe(() => {
|
|
106
|
-
console.log("5.27.52
|
|
106
|
+
console.log("5.27.52", !0), window.addEventListener("message", ee), window.addEventListener("message", te);
|
|
107
107
|
}), xe(() => {
|
|
108
108
|
window.removeEventListener("message", ee), window.removeEventListener("message", te), E.$dispose(), Z.$dispose();
|
|
109
109
|
});
|
|
@@ -167,7 +167,7 @@ const nt = ["src"], rt = ["src"], ft = /* @__PURE__ */ me({
|
|
|
167
167
|
}
|
|
168
168
|
if (!Q) {
|
|
169
169
|
const s = o.selectedLocationIds;
|
|
170
|
-
s.length === p.length && s.every((ze,
|
|
170
|
+
s.length === p.length && s.every((ze, Be) => ze === p[Be]) || o.setSelectedLocationIds(p);
|
|
171
171
|
}
|
|
172
172
|
return {
|
|
173
173
|
// TODO: this returned value can used for getBusinessSetting
|
|
@@ -186,7 +186,7 @@ const nt = ["src"], rt = ["src"], ft = /* @__PURE__ */ me({
|
|
|
186
186
|
() => c.value,
|
|
187
187
|
async (t, e) => {
|
|
188
188
|
if (t !== "") {
|
|
189
|
-
$.value = !1,
|
|
189
|
+
$.value = !1, G(t);
|
|
190
190
|
const r = "mf-report-prev-business-id", a = (() => {
|
|
191
191
|
try {
|
|
192
192
|
return sessionStorage.getItem(r);
|
|
@@ -210,27 +210,27 @@ const nt = ["src"], rt = ["src"], ft = /* @__PURE__ */ me({
|
|
|
210
210
|
i = {
|
|
211
211
|
...p,
|
|
212
212
|
isAllLocation: "true"
|
|
213
|
-
}, v = !0, await
|
|
213
|
+
}, v = !0, await B.replace({
|
|
214
214
|
name: n.name,
|
|
215
215
|
params: n.params,
|
|
216
216
|
query: i
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
|
-
|
|
219
|
+
N.value !== void 0 && (N.value = !0), await he(async () => {
|
|
220
220
|
await Ae({
|
|
221
|
-
apiKey: "
|
|
221
|
+
apiKey: "6GhcttsJ9Rj9cTevcdrpin",
|
|
222
222
|
url: "https://flag.feedme.farm/api/v1/",
|
|
223
223
|
enableAnalytics: !1,
|
|
224
224
|
cacheFlags: !1
|
|
225
225
|
});
|
|
226
226
|
const S = await Re();
|
|
227
|
-
|
|
227
|
+
K.value = S.version, y.value = K.value, await Se(), n.name === "template" && !F.canAccessTemplate() && await B.replace({
|
|
228
228
|
name: "reports",
|
|
229
229
|
query: n.query
|
|
230
230
|
});
|
|
231
|
-
const D =
|
|
231
|
+
const D = F.canAccess(
|
|
232
232
|
de.report_accessOverview
|
|
233
|
-
), b =
|
|
233
|
+
), b = F.canAccess(
|
|
234
234
|
de.report_accessIntegration
|
|
235
235
|
), h = [
|
|
236
236
|
be(),
|
|
@@ -243,7 +243,7 @@ const nt = ["src"], rt = ["src"], ft = /* @__PURE__ */ me({
|
|
|
243
243
|
})()
|
|
244
244
|
)
|
|
245
245
|
];
|
|
246
|
-
if (D && h.push(_e()), b && h.push(De()), await Promise.all(h), await
|
|
246
|
+
if (D && h.push(_e()), b && h.push(De()), await Promise.all(h), await P(), Te(i), v) {
|
|
247
247
|
const {
|
|
248
248
|
locationIds: m,
|
|
249
249
|
startDate: w,
|
|
@@ -254,7 +254,7 @@ const nt = ["src"], rt = ["src"], ft = /* @__PURE__ */ me({
|
|
|
254
254
|
compareEndDate: s,
|
|
255
255
|
...re
|
|
256
256
|
} = n.query;
|
|
257
|
-
(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
|
|
257
|
+
(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({
|
|
258
258
|
name: n.name,
|
|
259
259
|
params: n.params,
|
|
260
260
|
query: {
|
|
@@ -285,8 +285,8 @@ const nt = ["src"], rt = ["src"], ft = /* @__PURE__ */ me({
|
|
|
285
285
|
}),
|
|
286
286
|
(t) => {
|
|
287
287
|
if (!$.value || !t.reportId || x.value) return;
|
|
288
|
-
if (
|
|
289
|
-
|
|
288
|
+
if (N.value) {
|
|
289
|
+
N.value = !1;
|
|
290
290
|
return;
|
|
291
291
|
}
|
|
292
292
|
const e = t.selectedLocationIds, r = t.dateRange, a = t.timeRange, d = t.compareDateRange, i = {
|
|
@@ -305,7 +305,7 @@ const nt = ["src"], rt = ["src"], ft = /* @__PURE__ */ me({
|
|
|
305
305
|
}, v = e.length === o.locations.length;
|
|
306
306
|
i.isAllLocation = String(v), v ? delete i.locationIds : e.length > 0 ? i.locationIds = JSON.stringify(e) : delete i.locationIds;
|
|
307
307
|
const S = JSON.stringify(n.query), D = JSON.stringify(i);
|
|
308
|
-
S !== D &&
|
|
308
|
+
S !== D && B.replace({
|
|
309
309
|
name: n.name,
|
|
310
310
|
params: n.params,
|
|
311
311
|
query: i
|
|
@@ -313,7 +313,7 @@ const nt = ["src"], rt = ["src"], ft = /* @__PURE__ */ me({
|
|
|
313
313
|
},
|
|
314
314
|
{ deep: !0 }
|
|
315
315
|
), tt(), (t, e) => {
|
|
316
|
-
const r =
|
|
316
|
+
const r = X("router-view");
|
|
317
317
|
return A(), H(Je, null, [
|
|
318
318
|
Y(et),
|
|
319
319
|
u(y) === "v3" ? (A(), H("iframe", {
|
|
@@ -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-9zygESPP.js";
|
|
3
3
|
import { detectLocale as te } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as Te, _ as we } from "./_plugin-vue_export-helper-kkiiQoKl.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-D6tEMpv7.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-kkiiQoKl.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as c, defineComponent as Be, ref as D, watch as Le, onMounted as zt, onBeforeUnmount as wo, resolveComponent as fe, createBlock as ce, openBlock as Y, Transition as ma, withCtx as De, createElementBlock as le, createCommentVNode as he, createElementVNode as j, unref as l, normalizeStyle as Me, withModifiers as cn, toDisplayString as we, createVNode as pe, Fragment as Ve, renderList as ft, normalizeClass as Ie, nextTick as _o, mergeModels as Oe, useModel as Ue, renderSlot as ot, h as on, createSlots as pa, resolveDynamicComponent as So, toRaw as ha, markRaw as ga, createTextVNode as va, onUnmounted as ko, provide as ya, inject as ba, withDirectives as Ca, vShow as xa } from "vue";
|
|
2
|
-
import { W as Z, B as wa, S as Bt, E as Rt, G as _a, F as At, e as an, H as wn, J as To, f as Sa, b as ka, K as Ta, L as La, N as Da, R as Ct, O as Ia } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { l as dn, a as mn, u as Lo } from "./app-
|
|
4
|
-
import { d as Ln } from "./DateRangeSelect-
|
|
2
|
+
import { W as Z, B as wa, S as Bt, E as Rt, G as _a, F as At, e as an, H as wn, J as To, f as Sa, b as ka, K as Ta, L as La, N as Da, R as Ct, O as Ia } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Bru5A8A7.js";
|
|
3
|
+
import { l as dn, a as mn, u as Lo } from "./app-9zygESPP.js";
|
|
4
|
+
import { d as Ln } from "./DateRangeSelect-Ry-G_PTU.js";
|
|
5
5
|
import { storeToRefs as Vt } from "pinia";
|
|
6
6
|
import { detectLocale as $n } from "@feedmepos/mf-common";
|
|
7
7
|
import { C as Dn } from "./chart-DDDh8zNk.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as R0, computed as c1, watch as Q1, defineComponent as Qt, mergeModels as st, useModel as It, resolveComponent as o1, createElementBlock as h1, openBlock as r1, createVNode as U0, withCtx as d1, createElementVNode as j0, createCommentVNode as Bt, Fragment as _e, renderList as Nt, createBlock as v1, unref as g0, createTextVNode as ut, withDirectives as Ea, toDisplayString as S1, vShow as Ta, renderSlot as tn, normalizeStyle as Ra, normalizeClass as Lr, withModifiers as St } from "vue";
|
|
2
|
-
import { c as Wr, f as rn, _ as nn, D as Ca, h as La } from "./DateRangeSelect-
|
|
3
|
-
import { x as Wa, p as Fa, u as G0, F as V0, r as e1, y as Ia, a as le, b as Ba, v as Na, h as an, d as B0, c as xe, o as jt, g as xa } from "./app-
|
|
2
|
+
import { c as Wr, f as rn, _ as nn, D as Ca, h as La } from "./DateRangeSelect-Ry-G_PTU.js";
|
|
3
|
+
import { x as Wa, p as Fa, u as G0, F as V0, r as e1, y as Ia, a as le, b as Ba, v as Na, h as an, d as B0, c as xe, o as jt, g as xa } from "./app-9zygESPP.js";
|
|
4
4
|
import { storeToRefs as C0, defineStore as ve } from "pinia";
|
|
5
5
|
import { useSnackbar as on } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as sn } from "./_plugin-vue_export-helper-kkiiQoKl.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-Cnh5ZfVd.js";
|
|
3
|
+
import { c as H, D as ge } from "./DateRangeSelect-Ry-G_PTU.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-9zygESPP.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-kkiiQoKl.js";
|
|
9
9
|
import { _ as Ce } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Ckn2p74A.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-D6tEMpv7.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 { E as he, G as nt, d as Ne, H as Tt, e as Le, a as De, J as be, K as Nt, t as Kt, z as pe, B as Ge, L as Ye, M as Oe, N as Qe, O as rt, P as Ft, Q as Mt, R as Ut, S as Rt, T as it, b as ut, U as Pt, V as Lt, v as jt, I as je, W as Ot, X as Et, Y as Bt } from "./app-
|
|
3
|
+
import { E as he, G as nt, d as Ne, H as Tt, e as Le, a as De, J as be, K as Nt, t as Kt, z as pe, B as Ge, L as Ye, M as Oe, N as Qe, O as rt, P as Ft, Q as Mt, R as Ut, S as Rt, T as it, b as ut, U as Pt, V as Lt, v as jt, I as je, W as Ot, X as Et, Y as Bt } from "./app-9zygESPP.js";
|
|
4
4
|
import { u as ve, a as We, _ as Yt } from "./_plugin-vue_export-helper-kkiiQoKl.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-Ry-G_PTU.js";
|
|
8
|
+
import { u as qe, h as ke } from "./useRestaurantPermission-qvBnSrPS.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,
|