@feedmepos/mf-report 5.27.16-beta.0 → 5.27.16
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-D2MmuTEp.js → App-5d0ln9xC.js} +88 -88
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-vpkYemc0.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CrhdrwFN.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-CJurG9aM.js → Default.vue_vue_type_script_setup_true_lang-D9zgt02b.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BZhyztTx.js → DynamicWidget.vue_vue_type_script_setup_true_lang-qBpnwsX3.js} +3 -3
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-vETD4B-9.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DLiqNgDh.js} +2 -2
- package/dist/{InsightView-QzZe61MS.js → InsightView-Bf821zL5.js} +4 -4
- package/dist/{Integration-D_nAp2HB.js → Integration-DgAFLylx.js} +3 -3
- package/dist/{Integrations-BlVYt-y1.js → Integrations-DYcvcH6L.js} +2 -2
- package/dist/{Layout-Pa7C8HeX.js → Layout-DKvcS2uv.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DFWNnoVH.js → MenuTab.vue_vue_type_script_setup_true_lang-BNNYt7j2.js} +4 -4
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-z4gKPDzg.js → NavigationTab.vue_vue_type_script_setup_true_lang-3IT8Py6c.js} +3 -3
- package/dist/{OverviewView-Ckufbqam.js → OverviewView-l4dJuioJ.js} +4 -4
- package/dist/{Report-pmeE5b9l.js → Report-CTG78KwL.js} +3 -3
- package/dist/{ReportEditor-Cm5sfU6-.js → ReportEditor-C9Um8i5y.js} +6 -6
- package/dist/{ReportView-CanX92KD.js → ReportView-DbG85cqX.js} +6 -6
- package/dist/{Setting-DBuK_81Y.js → Setting-1bdc64rg.js} +3 -3
- package/dist/{Template-BUYrPogm.js → Template-DEP52YrH.js} +3 -3
- package/dist/{TileEditor-Vj8-aJ1o.js → TileEditor-BVPbYl3-.js} +5 -5
- package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-DDS9Uf4P.js → TileGrid.vue_vue_type_script_setup_true_lang-D40atRYl.js} +1 -1
- package/dist/{TransitionFade-D7bz9bhf.js → TransitionFade-CQew0WSV.js} +4 -4
- package/dist/{app-DENAMFRu.js → app-BJ9Xvlfi.js} +13 -13
- package/dist/app.js +1 -1
- package/dist/{useRestaurantPermission-CwQYRiyD.js → useRestaurantPermission-ukX8nidV.js} +1 -1
- package/package.json +1 -1
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { defineComponent as ue, resolveComponent as H, createBlock as
|
|
2
|
-
import { detectLocale as U, useCoreStore as
|
|
3
|
-
import { d as u, u as
|
|
1
|
+
import { defineComponent as ue, resolveComponent as H, createBlock as le, openBlock as C, unref as l, isRef as ke, withCtx as P, createElementVNode as ne, createVNode as X, toDisplayString as oe, createTextVNode as Te, onMounted as de, watch as E, ref as Q, computed as ae, onBeforeMount as Fe, onBeforeUnmount as Ne, createElementBlock as G, Fragment as $e } from "vue";
|
|
2
|
+
import { detectLocale as U, useCoreStore as K } from "@feedmepos/mf-common";
|
|
3
|
+
import { d as u, u as qe, a as re, b as Be, c as se, e as xe, f as Je, s as Qe, t as W } from "./app-BJ9Xvlfi.js";
|
|
4
4
|
import { storeToRefs as k } from "pinia";
|
|
5
5
|
import { u as Ue, a as ze } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
6
|
-
import { u as je, a as Ve } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { u as
|
|
6
|
+
import { u as je, a as Ve } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DLiqNgDh.js";
|
|
7
|
+
import { u as Pe, _ as Ge } from "./NavigationTab.vue_vue_type_script_setup_true_lang-3IT8Py6c.js";
|
|
8
8
|
import { u as ie } from "./message-dialog-UoMWOnil.js";
|
|
9
|
-
import { useRoute as
|
|
9
|
+
import { useRoute as Ke, useRouter as We } from "vue-router";
|
|
10
10
|
const He = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Xe = /* @__PURE__ */ ue({
|
|
11
11
|
__name: "Dialog",
|
|
12
12
|
setup(T) {
|
|
13
13
|
const { t: c } = Ue(), p = ie(), { isOpened: g, message: _, title: L } = k(ie());
|
|
14
14
|
return (O, I) => {
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
modelValue:
|
|
15
|
+
const F = H("FmButton"), z = H("FmDialog");
|
|
16
|
+
return C(), le(z, {
|
|
17
|
+
modelValue: l(g),
|
|
18
18
|
"onUpdate:modelValue": I[0] || (I[0] = (j) => ke(g) ? g.value = j : null),
|
|
19
19
|
overlay: "",
|
|
20
20
|
"close-button": !1,
|
|
21
21
|
"z-index": 3e3
|
|
22
22
|
}, {
|
|
23
|
-
"dialog-header":
|
|
24
|
-
Te(
|
|
23
|
+
"dialog-header": P(() => [
|
|
24
|
+
Te(oe(l(L)), 1)
|
|
25
25
|
]),
|
|
26
|
-
default:
|
|
27
|
-
ne("p", He,
|
|
26
|
+
default: P(() => [
|
|
27
|
+
ne("p", He, oe(l(_)), 1)
|
|
28
28
|
]),
|
|
29
|
-
"dialog-footer":
|
|
29
|
+
"dialog-footer": P(() => [
|
|
30
30
|
I[1] || (I[1] = ne("div", { class: "grow" }, null, -1)),
|
|
31
|
-
X(
|
|
32
|
-
label:
|
|
31
|
+
X(F, {
|
|
32
|
+
label: l(c)("report.common.cancel"),
|
|
33
33
|
variant: "tertiary",
|
|
34
|
-
onClick:
|
|
34
|
+
onClick: l(p).dismiss
|
|
35
35
|
}, null, 8, ["label", "onClick"]),
|
|
36
|
-
X(
|
|
37
|
-
label:
|
|
38
|
-
onClick:
|
|
36
|
+
X(F, {
|
|
37
|
+
label: l(c)("report.common.confirm"),
|
|
38
|
+
onClick: l(p).confirm
|
|
39
39
|
}, null, 8, ["label", "onClick"])
|
|
40
40
|
]),
|
|
41
41
|
_: 1
|
|
@@ -54,9 +54,9 @@ function Ye() {
|
|
|
54
54
|
break;
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
|
-
return
|
|
57
|
+
return de(() => {
|
|
58
58
|
T(U());
|
|
59
|
-
}),
|
|
59
|
+
}), E(() => U(), T, { deep: !0, immediate: !0 }), {
|
|
60
60
|
currentLocale: ce
|
|
61
61
|
};
|
|
62
62
|
}
|
|
@@ -64,8 +64,8 @@ u.locale(U() === "zh-CN" ? "zh-cn" : "en");
|
|
|
64
64
|
const Ze = ["src"], Me = ["src"], mt = /* @__PURE__ */ ue({
|
|
65
65
|
__name: "App",
|
|
66
66
|
setup(T) {
|
|
67
|
-
const { businessId: c, token: p, country: g } = k(
|
|
68
|
-
|
|
67
|
+
const { businessId: c, token: p, country: g } = k(qe()), { sessionUser: _, currentBusiness: L, currentCountry: O, registerSidebarComponent: I } = K(), { getRestaurantAndWarehouse: F, getBusinessSetting: z, beginBusinessLoad: j, completeBusinessLoad: me } = re(), fe = Be(), { getFeatureFlags: pe } = fe, { version: v } = k(se()), { getSettings: ge } = xe(), { promptLoader: ve } = ze(), o = Ke(), N = We(), w = je(), Y = Pe(), a = re(), b = se(), { suppressReportRouteSync: $ } = k(b), { getReports: ye, getOverviewReport: Se, getReportConfig: De, currentReportId: Z } = w, { currentReportId: Ie, reports: he } = k(w), { getSchema: Re } = Ve(), { fetchSchedules: _e } = Y, { init: Le } = Je(), V = Q("v5"), q = Q(!1), B = Q(!0), Oe = ae(() => `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`), we = ae(() => `https://report-v4.feedme.cc?businessId=${c.value}&country=${g.value}&token=${p.value}&reportV3Button=true`);
|
|
68
|
+
E(
|
|
69
69
|
[() => L.value, () => _.value, () => O.value],
|
|
70
70
|
() => {
|
|
71
71
|
var e, n;
|
|
@@ -92,13 +92,13 @@ const Ze = ["src"], Me = ["src"], mt = /* @__PURE__ */ ue({
|
|
|
92
92
|
console.error(e);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
|
|
96
|
-
["v3", "v4"].includes(v.value) ?
|
|
95
|
+
E(v, () => {
|
|
96
|
+
["v3", "v4"].includes(v.value) ? K().hideSidebarToggle(!0) : K().hideSidebarToggle(!1);
|
|
97
|
+
}), Fe(() => {
|
|
98
|
+
I(Ge);
|
|
99
|
+
}), de(() => {
|
|
100
|
+
console.log("5.27.16", !0), window.addEventListener("message", M), window.addEventListener("message", ee);
|
|
97
101
|
}), Ne(() => {
|
|
98
|
-
I(Ke);
|
|
99
|
-
}), le(() => {
|
|
100
|
-
console.log("5.27.16-beta.0", !0), window.addEventListener("message", M), window.addEventListener("message", ee);
|
|
101
|
-
}), qe(() => {
|
|
102
102
|
window.removeEventListener("message", M), window.removeEventListener("message", ee), w.$dispose(), Y.$dispose();
|
|
103
103
|
});
|
|
104
104
|
function be(t) {
|
|
@@ -129,34 +129,34 @@ const Ze = ["src"], Me = ["src"], mt = /* @__PURE__ */ ue({
|
|
|
129
129
|
const e = t;
|
|
130
130
|
return typeof e.hour == "number" && typeof e.minute == "number";
|
|
131
131
|
}
|
|
132
|
-
function Ae(t =
|
|
133
|
-
const e = t, n = e.startDate ? u(e.startDate).startOf("day").toISOString() : void 0, r = e.endDate ? u(e.endDate).endOf("day").toISOString() : void 0,
|
|
132
|
+
function Ae(t = o.query) {
|
|
133
|
+
const e = t, n = e.startDate ? u(e.startDate).startOf("day").toISOString() : void 0, r = e.endDate ? u(e.endDate).endOf("day").toISOString() : void 0, d = typeof e.timeStart == "string", i = typeof e.timeEnd == "string", m = x(e.timeStart), y = x(e.timeEnd), f = te(m) ? m : null, J = te(y) ? y : null, A = 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;
|
|
134
134
|
let D = [];
|
|
135
135
|
if (h)
|
|
136
|
-
D =
|
|
136
|
+
D = a.selectedLocationIds ?? [];
|
|
137
137
|
else {
|
|
138
138
|
const s = x(e.locationIds);
|
|
139
139
|
D = Array.isArray(s) ? s : [];
|
|
140
140
|
}
|
|
141
141
|
let R = e.reportId || Z;
|
|
142
142
|
if (he.value.find((s) => s.id === R) || (R = Z), R && R !== w.currentReportId && w.updateCurrentReportId(R), n || r) {
|
|
143
|
-
const s =
|
|
144
|
-
(s.startDate !== n || s.endDate !== r) &&
|
|
143
|
+
const s = a.dateRange;
|
|
144
|
+
(s.startDate !== n || s.endDate !== r) && a.setDateRange({ startDate: n, endDate: r });
|
|
145
145
|
}
|
|
146
|
-
if (
|
|
147
|
-
const s =
|
|
148
|
-
(s.start !== f || s.end !== J) &&
|
|
146
|
+
if (d || i) {
|
|
147
|
+
const s = a.timeRange;
|
|
148
|
+
(s.start !== f || s.end !== J) && a.setTimeRange({ start: f, end: J });
|
|
149
149
|
}
|
|
150
150
|
if (A || S) {
|
|
151
|
-
const s =
|
|
152
|
-
(s.startDate !== A || s.endDate !== S) &&
|
|
151
|
+
const s = a.compareDateRange;
|
|
152
|
+
(s.startDate !== A || s.endDate !== S) && a.setCompareDateRange({
|
|
153
153
|
startDate: A,
|
|
154
154
|
endDate: S
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
157
|
if (!h) {
|
|
158
|
-
const s =
|
|
159
|
-
s.length === D.length && s.every((
|
|
158
|
+
const s = a.selectedLocationIds;
|
|
159
|
+
s.length === D.length && s.every((Ce, Ee) => Ce === D[Ee]) || a.setSelectedLocationIds(D);
|
|
160
160
|
}
|
|
161
161
|
return {
|
|
162
162
|
// TODO: this returned value can used for getBusinessSetting
|
|
@@ -171,54 +171,54 @@ const Ze = ["src"], Me = ["src"], mt = /* @__PURE__ */ ue({
|
|
|
171
171
|
isAllLocation: e.isAllLocation
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
|
-
return
|
|
174
|
+
return E(
|
|
175
175
|
() => c.value,
|
|
176
176
|
async (t, e) => {
|
|
177
177
|
if (t !== "") {
|
|
178
|
-
|
|
178
|
+
q.value = !1, j(t);
|
|
179
179
|
const n = "mf-report-prev-business-id", r = (() => {
|
|
180
180
|
try {
|
|
181
181
|
return sessionStorage.getItem(n);
|
|
182
182
|
} catch {
|
|
183
183
|
return null;
|
|
184
184
|
}
|
|
185
|
-
})(),
|
|
186
|
-
let i = { ...
|
|
187
|
-
if (!B.value || e !== void 0 ||
|
|
188
|
-
|
|
189
|
-
const { locationIds: y, ...f } =
|
|
185
|
+
})(), d = !!r && r !== t;
|
|
186
|
+
let i = { ...o.query }, m = !1;
|
|
187
|
+
if (!B.value || e !== void 0 || d) {
|
|
188
|
+
a.setSelectedLocationIds([]);
|
|
189
|
+
const { locationIds: y, ...f } = o.query;
|
|
190
190
|
i = {
|
|
191
191
|
...f,
|
|
192
192
|
isAllLocation: "true"
|
|
193
|
-
}, m = !0, await
|
|
194
|
-
name:
|
|
195
|
-
params:
|
|
193
|
+
}, m = !0, await N.replace({
|
|
194
|
+
name: o.name,
|
|
195
|
+
params: o.params,
|
|
196
196
|
query: i
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
|
-
|
|
199
|
+
$.value !== void 0 && ($.value = !0), await ve(async () => {
|
|
200
200
|
await Le({
|
|
201
|
-
apiKey: "
|
|
201
|
+
apiKey: "6GhcttsJ9Rj9cTevcdrpin",
|
|
202
202
|
url: "https://flag.feedme.farm/api/v1/",
|
|
203
203
|
enableAnalytics: !1,
|
|
204
204
|
cacheFlags: !1
|
|
205
205
|
});
|
|
206
206
|
const y = await De();
|
|
207
|
-
V.value = y.version, v.value = V.value, await pe(),
|
|
207
|
+
V.value = y.version, v.value = V.value, await pe(), o.name === "template" && !b.canAccessTemplate() && await N.replace({
|
|
208
208
|
name: "reports",
|
|
209
|
-
query:
|
|
209
|
+
query: o.query
|
|
210
210
|
});
|
|
211
211
|
const f = b.canAccess(
|
|
212
|
-
|
|
212
|
+
W.report_accessOverview
|
|
213
213
|
), J = b.canAccess(
|
|
214
|
-
|
|
214
|
+
W.report_accessSetting
|
|
215
215
|
), A = b.canAccess(
|
|
216
|
-
|
|
216
|
+
W.report_accessIntegration
|
|
217
217
|
), S = [
|
|
218
218
|
Re(),
|
|
219
219
|
_e(),
|
|
220
220
|
ye(),
|
|
221
|
-
|
|
221
|
+
F(
|
|
222
222
|
(() => {
|
|
223
223
|
const h = x(i.locationIds);
|
|
224
224
|
return Array.isArray(h) ? h : void 0;
|
|
@@ -226,10 +226,10 @@ const Ze = ["src"], Me = ["src"], mt = /* @__PURE__ */ ue({
|
|
|
226
226
|
)
|
|
227
227
|
];
|
|
228
228
|
if (f && S.push(Se()), A && S.push(ge()), await Promise.all(S), J && await z(), Ae(i), m) {
|
|
229
|
-
const { locationIds: h, ...D } =
|
|
230
|
-
(
|
|
231
|
-
name:
|
|
232
|
-
params:
|
|
229
|
+
const { locationIds: h, ...D } = o.query;
|
|
230
|
+
(o.query.locationIds !== void 0 || o.query.isAllLocation !== "true") && await N.replace({
|
|
231
|
+
name: o.name,
|
|
232
|
+
params: o.params,
|
|
233
233
|
query: {
|
|
234
234
|
...D,
|
|
235
235
|
isAllLocation: "true"
|
|
@@ -241,59 +241,59 @@ const Ze = ["src"], Me = ["src"], mt = /* @__PURE__ */ ue({
|
|
|
241
241
|
sessionStorage.setItem(n, t);
|
|
242
242
|
} catch {
|
|
243
243
|
}
|
|
244
|
-
}),
|
|
244
|
+
}), q.value = !0, B.value && (B.value = !1);
|
|
245
245
|
}
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
immediate: !0
|
|
249
249
|
}
|
|
250
|
-
),
|
|
251
|
-
() => (
|
|
250
|
+
), E(
|
|
251
|
+
() => (q.value, {
|
|
252
252
|
reportId: Ie.value,
|
|
253
|
-
selectedLocationIds:
|
|
254
|
-
dateRange:
|
|
255
|
-
timeRange:
|
|
256
|
-
compareDateRange:
|
|
257
|
-
timezone:
|
|
253
|
+
selectedLocationIds: a.selectedLocationIds,
|
|
254
|
+
dateRange: a.dateRange,
|
|
255
|
+
timeRange: a.timeRange,
|
|
256
|
+
compareDateRange: a.compareDateRange,
|
|
257
|
+
timezone: a.timezone
|
|
258
258
|
}),
|
|
259
259
|
(t) => {
|
|
260
|
-
if (
|
|
261
|
-
if (
|
|
262
|
-
|
|
260
|
+
if (!q.value || !t.reportId || B.value) return;
|
|
261
|
+
if ($.value) {
|
|
262
|
+
$.value = !1;
|
|
263
263
|
return;
|
|
264
264
|
}
|
|
265
|
-
const e = t.selectedLocationIds, n = t.dateRange, r = t.timeRange,
|
|
266
|
-
...
|
|
265
|
+
const e = t.selectedLocationIds, n = t.dateRange, r = t.timeRange, d = t.compareDateRange, i = {
|
|
266
|
+
...o.query,
|
|
267
267
|
reportId: t.reportId,
|
|
268
268
|
startDate: n.startDate ? u(n.startDate).startOf("day").toISOString() : void 0,
|
|
269
269
|
endDate: n.endDate ? u(n.endDate).endOf("day").toISOString() : void 0,
|
|
270
|
-
compareStartDate:
|
|
271
|
-
compareEndDate:
|
|
270
|
+
compareStartDate: d.startDate ? u(d.startDate).startOf("day").toISOString() : void 0,
|
|
271
|
+
compareEndDate: d.endDate ? u(d.endDate).endOf("day").toISOString() : void 0,
|
|
272
272
|
timeStart: r.start ? JSON.stringify(r.start) : void 0,
|
|
273
273
|
timeEnd: r.end ? JSON.stringify(r.end) : void 0
|
|
274
|
-
}, m = e.length ===
|
|
274
|
+
}, m = e.length === a.locations.length;
|
|
275
275
|
i.isAllLocation = String(m), m ? delete i.locationIds : e.length > 0 ? i.locationIds = JSON.stringify(e) : delete i.locationIds;
|
|
276
|
-
const y = JSON.stringify(
|
|
277
|
-
y !== f &&
|
|
278
|
-
name:
|
|
279
|
-
params:
|
|
276
|
+
const y = JSON.stringify(o.query), f = JSON.stringify(i);
|
|
277
|
+
y !== f && N.replace({
|
|
278
|
+
name: o.name,
|
|
279
|
+
params: o.params,
|
|
280
280
|
query: i
|
|
281
281
|
});
|
|
282
282
|
},
|
|
283
283
|
{ deep: !0 }
|
|
284
284
|
), Ye(), (t, e) => {
|
|
285
285
|
const n = H("router-view");
|
|
286
|
-
return
|
|
286
|
+
return C(), G($e, null, [
|
|
287
287
|
X(Xe),
|
|
288
|
-
|
|
288
|
+
l(v) === "v3" ? (C(), G("iframe", {
|
|
289
289
|
key: 0,
|
|
290
290
|
class: "bg-white h-full w-full",
|
|
291
291
|
src: Oe.value
|
|
292
|
-
}, null, 8, Ze)) :
|
|
292
|
+
}, null, 8, Ze)) : l(v) === "v4" ? (C(), G("iframe", {
|
|
293
293
|
key: 1,
|
|
294
294
|
class: "bg-white h-full w-full",
|
|
295
295
|
src: we.value
|
|
296
|
-
}, null, 8, Me)) : (
|
|
296
|
+
}, null, 8, Me)) : (C(), le(n, { key: 2 }))
|
|
297
297
|
], 64);
|
|
298
298
|
};
|
|
299
299
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as j, resolveComponent as R, createBlock as v, openBlock as h, normalizeClass as W, withCtx as $, createCommentVNode as p, createElementVNode as M, toDisplayString as X, renderSlot as q, mergeModels as E, useModel as P, ref as I, watch as F, createElementBlock as G, unref as g, createVNode as L } from "vue";
|
|
2
|
-
import { d as f, a as H, U as K, C as J } from "./app-
|
|
2
|
+
import { d as f, a as H, U as K, C as J } from "./app-BJ9Xvlfi.js";
|
|
3
3
|
import { detectLocale as k } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as Q } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
5
5
|
import { storeToRefs as Z } 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-3IT8Py6c.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-onplcgja.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as g, defineComponent as Ae, ref as I, watch as we, onMounted as Nt, onBeforeUnmount as uo, resolveComponent as ce, createBlock as de, openBlock as X, Transition as Eo, withCtx as _e, createElementBlock as le, createCommentVNode as he, createElementVNode as q, unref as i, normalizeStyle as Pe, withModifiers as en, toDisplayString as Te, createVNode as fe, Fragment as Fe, renderList as ct, normalizeClass as Se, nextTick as co, mergeModels as He, useModel as We, renderSlot as et, h as jt, createSlots as Go, resolveDynamicComponent as fo, toRaw as qo, markRaw as jo, createTextVNode as Jo, onUnmounted as mo, withDirectives as Zo, vShow as Qo } from "vue";
|
|
2
|
-
import { W as Y, w as ea, S as Pt, x as Mt, y as ta, z as pn, A as po, j as na, B as oa, E as aa, F as ra, R as yt, G as la } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { i as tn, a as an, u as ho } from "./app-
|
|
4
|
-
import { d as yn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { W as Y, w as ea, S as Pt, x as Mt, y as ta, z as pn, A as po, j as na, B as oa, E as aa, F as ra, R as yt, G as la } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DLiqNgDh.js";
|
|
3
|
+
import { i as tn, a as an, u as ho } from "./app-BJ9Xvlfi.js";
|
|
4
|
+
import { d as yn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CrhdrwFN.js";
|
|
5
5
|
import { storeToRefs as At } from "pinia";
|
|
6
6
|
import { detectLocale as In } from "@feedmepos/mf-common";
|
|
7
7
|
import { C as bn } from "./chart-DDDh8zNk.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as R0, computed as b1, watch as V1, defineComponent as Ht, mergeModels as rt, useModel as Et, resolveComponent as a1, createElementBlock as g1, openBlock as r1, createVNode as k0, withCtx as _1, createElementVNode as K0, createCommentVNode as Rt, Fragment as _e, renderList as Ct, createBlock as v1, createTextVNode as nt, withDirectives as _a, toDisplayString as h1, unref as E0, vShow as da, renderSlot as Hr, normalizeStyle as za, normalizeClass as gr, withModifiers as $t } from "vue";
|
|
2
|
-
import { c as hr, h as Xr, f as kr, _ as Oa, i as Aa } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { o as Da, j as fa, u as G0, F as Q0, r as e1, p as $a, a as le, b as ya, m as ma, g as qa, d as B0, c as Fe, h as Xt } from "./app-
|
|
2
|
+
import { c as hr, h as Xr, f as kr, _ as Oa, i as Aa } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CrhdrwFN.js";
|
|
3
|
+
import { o as Da, j as fa, u as G0, F as Q0, r as e1, p as $a, a as le, b as ya, m as ma, g as qa, d as B0, c as Fe, h as Xt } from "./app-BJ9Xvlfi.js";
|
|
4
4
|
import { storeToRefs as C0, defineStore as Be } from "pinia";
|
|
5
5
|
import { useSnackbar as Ur } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as Yr } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
@@ -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 { c as Y, _ 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, a as re } from "./app-
|
|
2
|
+
import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-D9zgt02b.js";
|
|
3
|
+
import { c as Y, _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CrhdrwFN.js";
|
|
4
|
+
import { d as W, u as G, F as O, q as J, a as re } from "./app-BJ9Xvlfi.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 "./_plugin-vue_export-helper-onplcgja.js";
|
|
9
9
|
import { _ as ue } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.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-3IT8Py6c.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,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as se, mergeModels as fe, useModel as re, computed as G, resolveComponent as F, createElementBlock as j, openBlock as w, createElementVNode as t, createCommentVNode as q, normalizeClass as Je, Fragment as Ie, renderList as We, createBlock as Q, normalizeStyle as Ze, createVNode as l, withCtx as ke, renderSlot as pt, toDisplayString as S, unref as s, h as C, createTextVNode as mt, ref as Z, onUnmounted as Pe, watch as Ae, isRef as Te, resolveDynamicComponent as Re, mergeProps as tt, withKeys as rt, withModifiers as ut, nextTick as ct, onMounted as nt } from "vue";
|
|
2
2
|
import { useRouter as Ce, useRoute as ft } from "vue-router";
|
|
3
|
-
import { A as he, y as et, d as Ve, z as gt, e as Ke, a as Se, B as me, E as vt, l as yt, v as ne, x as je, G as Le, H as Me, J as Oe, K as ot, L as xt, M as bt, N as wt, O as at, b as st, P as ht, Q as _t, m as Ct, I as Ne, R as kt, S as St, T as $t } from "./app-
|
|
3
|
+
import { A as he, y as et, d as Ve, z as gt, e as Ke, a as Se, B as me, E as vt, l as yt, v as ne, x as je, G as Le, H as Me, J as Oe, K as ot, L as xt, M as bt, N as wt, O as at, b as st, P as ht, Q as _t, m as Ct, I as Ne, R as kt, S as St, T as $t } from "./app-BJ9Xvlfi.js";
|
|
4
4
|
import { u as de, a as Ee, _ as Dt } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
5
5
|
import { u as Be } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { useSnackbar as $e } from "@feedmepos/ui-library";
|
|
7
|
-
import { s as it, _ as Ye } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as Ue, h as _e } from "./useRestaurantPermission-
|
|
7
|
+
import { s as it, _ as Ye } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CrhdrwFN.js";
|
|
8
|
+
import { u as Ue, h as _e } from "./useRestaurantPermission-ukX8nidV.js";
|
|
9
9
|
import { storeToRefs as qe } from "pinia";
|
|
10
10
|
const At = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, Vt = { class: "w-[100%] overflow-hidden" }, Ft = { class: "inline-flex max-w-full items-center gap-2 align-top" }, It = { class: "text-nowrap min-w-0 overflow-hidden text-ellipsis font-semibold" }, Kt = {
|
|
11
11
|
key: 0,
|