@feedmepos/mf-report 5.22.19-beta.0 → 5.22.19
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-DzKKAf3v.js → App-COGFM59w.js} +34 -34
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-ju6UDLeO.js → BaseDialog.vue_vue_type_script_setup_true_lang-CpPggDTn.js} +3 -3
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-Dkh8jTBT.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CD_INaTH.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-CdMQKYzS.js → Default.vue_vue_type_script_setup_true_lang-BBBm2zeV.js} +2 -2
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-C6MxCrN7.js → FilterSelector.vue_vue_type_script_setup_true_lang-CRtqPKcb.js} +6 -6
- package/dist/{InsightView-8AvyGSOG.js → InsightView-nAjEsKUZ.js} +6 -6
- package/dist/{Integration-DHJArucw.js → Integration-B7o4DpQ2.js} +4 -4
- package/dist/{Integrations-CUBYFTK6.js → Integrations-DoqMCThZ.js} +4 -4
- package/dist/{Layout-CptksDjs.js → Layout-DxkxaQ1B.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-B_RnpbkF.js → MenuTab.vue_vue_type_script_setup_true_lang-DaSoyVAI.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CK2MsqhY.js → NavigationTab.vue_vue_type_script_setup_true_lang-D6n_km8R.js} +5 -5
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-Dex70UZs.js → NoData.vue_vue_type_script_setup_true_lang-BgwSGgGU.js} +1 -1
- package/dist/{OverviewView-CkTEvlEj.js → OverviewView-C9BOn7Bb.js} +5 -5
- package/dist/{Report-C8RlSw8w.js → Report-kimjiUSI.js} +4 -4
- package/dist/{ReportEditor-KCoa8qsh.js → ReportEditor-DkADq6qo.js} +6 -6
- package/dist/{ReportView-DK6zi1zJ.js → ReportView-DWHGpPAV.js} +8 -8
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-Bry-gIWG.js → SelectComponent.vue_vue_type_script_setup_true_lang-D89xYYT0.js} +1 -1
- package/dist/{Setting-DJm-8mIu.js → Setting-v2KklKgi.js} +5 -5
- package/dist/{TileEditor-CJQN2Mxp.js → TileEditor-Dsyfnl1T.js} +8 -8
- package/dist/{TransitionFade-p22tmVfO.js → TransitionFade-C8GnPaYR.js} +6 -6
- package/dist/{app-ifiBuFsn.js → app-CeVFa3GS.js} +11 -11
- package/dist/app.js +1 -1
- package/dist/{useRestaurantPermission-Dwt9K_5Q.js → useRestaurantPermission-ttW245gZ.js} +1 -1
- package/dist/{vue-i18n-Bw25ZAcI.js → vue-i18n-DYZdbLEQ.js} +2 -2
- package/package.json +1 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { defineComponent as ce, resolveComponent as
|
|
2
|
-
import { detectLocale as F, useCoreStore as
|
|
3
|
-
import { u as $e, a as Be, b as re, c as Fe, d as qe, e as xe, f as Je, s as Qe } from "./vue-i18n-
|
|
1
|
+
import { defineComponent as ce, resolveComponent as G, createBlock as de, openBlock as O, unref as l, isRef as Ee, withCtx as z, createElementVNode as te, createVNode as K, toDisplayString as ne, createTextVNode as ke, onMounted as ue, watch as b, ref as B, computed as oe, onBeforeMount as Ae, onBeforeUnmount as Ne, createElementBlock as V, Fragment as Te } from "vue";
|
|
2
|
+
import { detectLocale as F, useCoreStore as P } from "@feedmepos/mf-common";
|
|
3
|
+
import { u as $e, a as Be, b as re, c as Fe, d as qe, e as xe, f as Je, s as Qe } from "./vue-i18n-DYZdbLEQ.js";
|
|
4
4
|
import { storeToRefs as w } from "pinia";
|
|
5
|
-
import { u as ae, a as Ue, b as
|
|
6
|
-
import { u as
|
|
5
|
+
import { u as ae, a as Ue, b as je } from "./BaseDialog.vue_vue_type_script_setup_true_lang-CpPggDTn.js";
|
|
6
|
+
import { u as ze, _ as Ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-D6n_km8R.js";
|
|
7
7
|
import { u as se } from "./message-dialog-UoMWOnil.js";
|
|
8
|
-
import { d } from "./app-
|
|
9
|
-
import { useRoute as
|
|
10
|
-
const
|
|
8
|
+
import { d } from "./app-CeVFa3GS.js";
|
|
9
|
+
import { useRoute as Pe, useRouter as Ge } from "vue-router";
|
|
10
|
+
const Ke = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, We = /* @__PURE__ */ ce({
|
|
11
11
|
__name: "Dialog",
|
|
12
|
-
setup(
|
|
12
|
+
setup(C) {
|
|
13
13
|
const { t: c } = $e(), p = se(), { isOpened: g, message: I, title: h } = w(se());
|
|
14
14
|
return (R, S) => {
|
|
15
|
-
const
|
|
15
|
+
const E = G("FmButton"), q = G("FmDialog");
|
|
16
16
|
return O(), de(q, {
|
|
17
17
|
modelValue: l(g),
|
|
18
|
-
"onUpdate:modelValue": S[0] || (S[0] = (x) =>
|
|
18
|
+
"onUpdate:modelValue": S[0] || (S[0] = (x) => Ee(g) ? g.value = x : null),
|
|
19
19
|
overlay: "",
|
|
20
20
|
"close-button": !1
|
|
21
21
|
}, {
|
|
22
|
-
"dialog-header":
|
|
22
|
+
"dialog-header": z(() => [
|
|
23
23
|
ke(ne(l(h)), 1)
|
|
24
24
|
]),
|
|
25
|
-
default:
|
|
26
|
-
te("p",
|
|
25
|
+
default: z(() => [
|
|
26
|
+
te("p", Ke, ne(l(I)), 1)
|
|
27
27
|
]),
|
|
28
|
-
"dialog-footer":
|
|
28
|
+
"dialog-footer": z(() => [
|
|
29
29
|
S[1] || (S[1] = te("div", { class: "grow" }, null, -1)),
|
|
30
|
-
|
|
30
|
+
K(E, {
|
|
31
31
|
label: l(c)("report.common.cancel"),
|
|
32
32
|
variant: "tertiary",
|
|
33
33
|
onClick: l(p).dismiss
|
|
34
34
|
}, null, 8, ["label", "onClick"]),
|
|
35
|
-
|
|
35
|
+
K(E, {
|
|
36
36
|
label: l(c)("report.common.confirm"),
|
|
37
37
|
onClick: l(p).confirm
|
|
38
38
|
}, null, 8, ["label", "onClick"])
|
|
@@ -43,7 +43,7 @@ const Pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Ge
|
|
|
43
43
|
}
|
|
44
44
|
}), ie = B(F());
|
|
45
45
|
function He() {
|
|
46
|
-
const
|
|
46
|
+
const C = (c) => {
|
|
47
47
|
switch (ie.value = c, c) {
|
|
48
48
|
case "zh-CN":
|
|
49
49
|
d.locale("zh-cn");
|
|
@@ -54,16 +54,16 @@ function He() {
|
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
return ue(() => {
|
|
57
|
-
|
|
58
|
-
}), b(() => F(),
|
|
57
|
+
C(F());
|
|
58
|
+
}), b(() => F(), C, { deep: !0, immediate: !0 }), {
|
|
59
59
|
currentLocale: ie
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
d.locale(F() === "zh-CN" ? "zh-cn" : "en");
|
|
63
63
|
const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
|
|
64
64
|
__name: "App",
|
|
65
|
-
setup(
|
|
66
|
-
const { businessId: c, token: p, country: g } = w(Be()), { sessionUser: I, currentBusiness: h, currentCountry: R, registerSidebarComponent: S } =
|
|
65
|
+
setup(C) {
|
|
66
|
+
const { businessId: c, token: p, country: g } = w(Be()), { sessionUser: I, currentBusiness: h, currentCountry: R, registerSidebarComponent: S } = P(), { getRestaurantAndWarehouse: E, getBusinessSetting: q, beginBusinessLoad: x, completeBusinessLoad: le } = re(), { getFeatureFlags: fe } = Fe(), { version: y } = w(ae()), { getSettings: me } = qe(), { promptLoader: pe } = xe(), s = Pe(), J = Ge(), L = Ue(), W = ze(), a = re(), ge = ae(), { suppressReportRouteSync: k } = w(ge), { getReports: ye, getOverviewReport: ve, getReportConfig: H, currentReportId: X } = L, { currentReportId: Se, reports: De } = w(L), { getSchema: Ie } = je(), { fetchSchedules: he } = W, { init: Re } = Je(), Q = B("v5"), A = B(!1), N = B(!0), Le = oe(() => `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`), _e = oe(() => `https://report-v4.feedme.cc?businessId=${c.value}&country=${g.value}&token=${p.value}&reportV3Button=true`);
|
|
67
67
|
b(
|
|
68
68
|
[() => h.value, () => I.value, () => R.value],
|
|
69
69
|
() => {
|
|
@@ -92,13 +92,13 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
b(y, () => {
|
|
95
|
-
["v3", "v4"].includes(y.value) ?
|
|
95
|
+
["v3", "v4"].includes(y.value) ? P().hideSidebarToggle(!0) : P().hideSidebarToggle(!1);
|
|
96
96
|
}), Ae(() => {
|
|
97
97
|
S(Ve);
|
|
98
98
|
}), ue(() => {
|
|
99
|
-
console.log("5.22.19
|
|
99
|
+
console.log("5.22.19", !0), window.addEventListener("message", Y), window.addEventListener("message", Z);
|
|
100
100
|
}), Ne(() => {
|
|
101
|
-
window.removeEventListener("message", Y), window.removeEventListener("message", Z), L.$dispose(),
|
|
101
|
+
window.removeEventListener("message", Y), window.removeEventListener("message", Z), L.$dispose(), W.$dispose();
|
|
102
102
|
});
|
|
103
103
|
function Oe(t) {
|
|
104
104
|
try {
|
|
@@ -129,7 +129,7 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
|
|
|
129
129
|
return typeof e.hour == "number" && typeof e.minute == "number";
|
|
130
130
|
}
|
|
131
131
|
function be(t = s.query) {
|
|
132
|
-
const e = t, n = e.startDate ? d(e.startDate).startOf("day").toISOString() : void 0, o = e.endDate ? d(e.endDate).endOf("day").toISOString() : void 0, f = typeof e.timeStart == "string", i = typeof e.timeEnd == "string", m = T(e.timeStart), v = T(e.timeEnd), u = M(m) ? m : null, $ = M(v) ? v : null, U = e.compareStartDate ? d(e.compareStartDate).startOf("day").toISOString() : void 0,
|
|
132
|
+
const e = t, n = e.startDate ? d(e.startDate).startOf("day").toISOString() : void 0, o = e.endDate ? d(e.endDate).endOf("day").toISOString() : void 0, f = typeof e.timeStart == "string", i = typeof e.timeEnd == "string", m = T(e.timeStart), v = T(e.timeEnd), u = M(m) ? m : null, $ = M(v) ? v : null, U = e.compareStartDate ? d(e.compareStartDate).startOf("day").toISOString() : void 0, j = e.compareEndDate ? d(e.compareEndDate).endOf("day").toISOString() : void 0, ee = e.isAllLocation === "true" || e.isAllLocation === void 0;
|
|
133
133
|
let _ = [];
|
|
134
134
|
if (ee)
|
|
135
135
|
_ = a.selectedLocationIds ?? [];
|
|
@@ -146,16 +146,16 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
|
|
|
146
146
|
const r = a.timeRange;
|
|
147
147
|
(r.start !== u || r.end !== $) && a.setTimeRange({ start: u, end: $ });
|
|
148
148
|
}
|
|
149
|
-
if (U ||
|
|
149
|
+
if (U || j) {
|
|
150
150
|
const r = a.compareDateRange;
|
|
151
|
-
(r.startDate !== U || r.endDate !==
|
|
151
|
+
(r.startDate !== U || r.endDate !== j) && a.setCompareDateRange({
|
|
152
152
|
startDate: U,
|
|
153
|
-
endDate:
|
|
153
|
+
endDate: j
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
156
|
if (!ee) {
|
|
157
157
|
const r = a.selectedLocationIds;
|
|
158
|
-
r.length === _.length && r.every((we,
|
|
158
|
+
r.length === _.length && r.every((we, Ce) => we === _[Ce]) || a.setSelectedLocationIds(_);
|
|
159
159
|
}
|
|
160
160
|
return {
|
|
161
161
|
// TODO: this returned value can used for getBusinessSetting
|
|
@@ -197,7 +197,7 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
|
|
|
197
197
|
}
|
|
198
198
|
k.value !== void 0 && (k.value = !0), await pe(async () => {
|
|
199
199
|
await Re({
|
|
200
|
-
apiKey: "
|
|
200
|
+
apiKey: "6GhcttsJ9Rj9cTevcdrpin",
|
|
201
201
|
url: "https://flag.feedme.farm/api/v1/",
|
|
202
202
|
enableAnalytics: !1,
|
|
203
203
|
cacheFlags: !1
|
|
@@ -210,7 +210,7 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
|
|
|
210
210
|
ye(),
|
|
211
211
|
Ie(),
|
|
212
212
|
he(),
|
|
213
|
-
|
|
213
|
+
E(
|
|
214
214
|
(() => {
|
|
215
215
|
const u = T(i.locationIds);
|
|
216
216
|
return Array.isArray(u) ? u : void 0;
|
|
@@ -273,9 +273,9 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
|
|
|
273
273
|
},
|
|
274
274
|
{ deep: !0 }
|
|
275
275
|
), He(), (t, e) => {
|
|
276
|
-
const n =
|
|
276
|
+
const n = G("router-view");
|
|
277
277
|
return O(), V(Te, null, [
|
|
278
|
-
|
|
278
|
+
K(We),
|
|
279
279
|
l(y) === "v3" ? (O(), V("iframe", {
|
|
280
280
|
key: 0,
|
|
281
281
|
class: "bg-white h-full w-full",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as $0, F as m0, l as E0, m as Oe, c as $e, k as Z0, y as C0, n as ee, b as G0, d as we, r as re, u as ve } from "./vue-i18n-
|
|
1
|
+
import { a as $0, F as m0, l as E0, m as Oe, c as $e, k as Z0, y as C0, n as ee, b as G0, d as we, r as re, u as ve } from "./vue-i18n-DYZdbLEQ.js";
|
|
2
2
|
import { storeToRefs as d0, defineStore as Q0 } from "pinia";
|
|
3
3
|
import { ref as l0, computed as R0, watch as z0, h as Be, defineComponent as ye, mergeModels as Y0, useModel as te, resolveComponent as v0, createElementBlock as W0, openBlock as U0, createVNode as b0, withCtx as J0, createElementVNode as w0, createCommentVNode as Pe, Fragment as oe, renderList as Je, createBlock as me, createTextVNode as ge, withDirectives as He, toDisplayString as P0, unref as S0, vShow as Ne, renderSlot as ke } from "vue";
|
|
4
4
|
import { useSnackbar as he, components as Ue } from "@feedmepos/ui-library";
|
|
5
5
|
import { useCoreStore as ne, detectLocale as H0 } from "@feedmepos/mf-common";
|
|
6
|
-
import { d as A0 } from "./app-
|
|
6
|
+
import { d as A0 } from "./app-CeVFa3GS.js";
|
|
7
7
|
import { useRouter as qe } from "vue-router";
|
|
8
|
-
import { c as Qe, a as Xe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { c as Qe, a as Xe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CD_INaTH.js";
|
|
9
9
|
function Se(A) {
|
|
10
10
|
throw new Error('Could not dynamically require "' + A + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { u as W, b as q, R as G, C as H } from "./vue-i18n-
|
|
3
|
-
import { d as r } from "./app-
|
|
2
|
+
import { u as W, b as q, R as G, C as H } from "./vue-i18n-DYZdbLEQ.js";
|
|
3
|
+
import { d as r } from "./app-CeVFa3GS.js";
|
|
4
4
|
import { detectLocale as E } from "@feedmepos/mf-common";
|
|
5
5
|
import { storeToRefs as K } from "pinia";
|
|
6
6
|
var v = /* @__PURE__ */ ((e) => (e.Year = "YEAR", e.Month = "MONTH", e.Week = "WEEK", e.Day = "DAY", e))(v || {}), L = /* @__PURE__ */ ((e) => (e.Yesterday = "YESTERDAY", e.Today = "TODAY", e))(L || {});
|
|
@@ -1,8 +1,8 @@
|
|
|
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-D6n_km8R.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as C } from "pinia";
|
|
5
|
-
import { u as q, e as w } from "./vue-i18n-
|
|
5
|
+
import { u as q, e as w } from "./vue-i18n-DYZdbLEQ.js";
|
|
6
6
|
import { useRoute as B } from "vue-router";
|
|
7
7
|
const $ = {
|
|
8
8
|
key: 1,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { computed as v, defineComponent as tt, ref as L, onMounted as lt, onBeforeUnmount as da, resolveComponent as ge, createBlock as xe, openBlock as X, Transition as Ka, withCtx as Re, createElementBlock as ye, createCommentVNode as Le, createElementVNode as J, unref as l, normalizeStyle as je, withModifiers as kt, toDisplayString as Ye, createVNode as fe, Fragment as Je, renderList as Tt, normalizeClass as Xe, watch as Pe, nextTick as Qe, mergeModels as pt, useModel as it, renderSlot as vt, h as an, createSlots as qa, resolveDynamicComponent as fa, toRaw as Xa, markRaw as Ya, createTextVNode as bn, onUnmounted as ha, withDirectives as Ga, vShow as ja } from "vue";
|
|
2
|
-
import { W as se, f as Nt, g as Ja, S as xt, v as Xt, h as Za, i as vn, j as ma, q as pa, R as Mt, k as Qa, D as ft, d as Ge, C as rt, a as eo, b as to, _ as no } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as Ct, b as Yt, a as Bn, h as ao } from "./vue-i18n-
|
|
4
|
-
import { d as Cn, _ as oo, a as ro, b as lo, c as so } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { W as se, f as Nt, g as Ja, S as xt, v as Xt, h as Za, i as vn, j as ma, q as pa, R as Mt, k as Qa, D as ft, d as Ge, C as rt, a as eo, b as to, _ as no } from "./BaseDialog.vue_vue_type_script_setup_true_lang-CpPggDTn.js";
|
|
3
|
+
import { u as Ct, b as Yt, a as Bn, h as ao } from "./vue-i18n-DYZdbLEQ.js";
|
|
4
|
+
import { d as Cn, _ as oo, a as ro, b as lo, c as so } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CD_INaTH.js";
|
|
5
5
|
import { storeToRefs as mt, defineStore as va } from "pinia";
|
|
6
6
|
import { C as wn } from "./chart-DDDh8zNk.js";
|
|
7
7
|
import { detectLocale as io } from "@feedmepos/mf-common";
|
|
8
8
|
import { useBreakpoints as dn, useSnackbar as Vn, components as uo } from "@feedmepos/ui-library";
|
|
9
|
-
import { t as co, z as fo, a as ho, e as mo, d as Ft } from "./app-
|
|
10
|
-
import { _ as ga } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { t as co, z as fo, a as ho, e as mo, d as Ft } from "./app-CeVFa3GS.js";
|
|
10
|
+
import { _ as ga } from "./SelectComponent.vue_vue_type_script_setup_true_lang-D89xYYT0.js";
|
|
11
11
|
import { r as St } from "./i18n-CI_sQ5d_.js";
|
|
12
|
-
import { _ as xn } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as xn } from "./NoData.vue_vue_type_script_setup_true_lang-BgwSGgGU.js";
|
|
13
13
|
var Sn = /* @__PURE__ */ ((e) => (e.line = "LINE", e.bar = "BAR", e))(Sn || {}), yt = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(yt || {}), _n = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(_n || {}), kn = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(kn || {}), Tn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(Tn || {}), Ln = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(Ln || {}), Dn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(Dn || {}), Ee = /* @__PURE__ */ ((e) => (e.series = "SERIES", e.metric = "METRIC", e.breakdown = "BREAKDOWN", e))(Ee || {});
|
|
14
14
|
se.Circular, se.Table, se.BarChart, se.LineChart, se.StackBarChart, se.ClusteredStackBarChart, se.StackLineChart, se.Scorecard, se.Spacer;
|
|
15
15
|
const po = [
|
|
@@ -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 o, createElementVNode as a, 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 h, normalizeClass as L, resolveComponent as R, useModel as ae, createTextVNode as oe, 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 { a as G, q as O, F as J, u as K, g as Y, b as re } from "./vue-i18n-
|
|
2
|
+
import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-BBBm2zeV.js";
|
|
3
|
+
import { _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CD_INaTH.js";
|
|
4
|
+
import { a as G, q as O, F as J, u as K, g as Y, b as re } from "./vue-i18n-DYZdbLEQ.js";
|
|
5
5
|
import { storeToRefs as Q } from "pinia";
|
|
6
|
-
import { d as W } from "./app-
|
|
6
|
+
import { d as W } from "./app-CeVFa3GS.js";
|
|
7
7
|
import { C as ee, r as de } from "./chart-DDDh8zNk.js";
|
|
8
8
|
import { components as E, useSnackbar as ce } from "@feedmepos/ui-library";
|
|
9
|
-
import { _ as ue } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as ue } from "./NoData.vue_vue_type_script_setup_true_lang-BgwSGgGU.js";
|
|
10
|
+
import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-D6n_km8R.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 Z, mergeModels as Ae, useModel as oe, computed as z, resolveComponent as D, createElementBlock as M, openBlock as w, createElementVNode as t, createCommentVNode as B, normalizeClass as Ge, Fragment as Ve, createBlock as E, withCtx as he, toDisplayString as A, renderList as Pe, createVNode as l, unref as u, h as S, normalizeStyle as st, createTextVNode as rt, ref as Q, onUnmounted as Le, watch as De, isRef as Te, resolveDynamicComponent as Ue, mergeProps as Ze, onMounted as at } from "vue";
|
|
2
2
|
import { useRouter as _e, useRoute as it } from "vue-router";
|
|
3
|
-
import { u as ae, I as Se, v as dt, w as mt, d as Fe, e as je, b as Ce, A as be, x as pt, j as ut, y as W, t as Oe, z as Ee, B as Re, E as Be, G as et, H as ct, J as ft, K as gt, L as tt, c as lt, M as vt, N as yt, O as xt, P as bt, Q as wt } from "./vue-i18n-
|
|
3
|
+
import { u as ae, I as Se, v as dt, w as mt, d as Fe, e as je, b as Ce, A as be, x as pt, j as ut, y as W, t as Oe, z as Ee, B as Re, E as Be, G as et, H as ct, J as ft, K as gt, L as tt, c as lt, M as vt, N as yt, O as xt, P as bt, Q as wt } from "./vue-i18n-DYZdbLEQ.js";
|
|
4
4
|
import { u as Ye } from "./message-dialog-UoMWOnil.js";
|
|
5
5
|
import { useSnackbar as ke } from "@feedmepos/ui-library";
|
|
6
|
-
import { d as Ie } from "./app-
|
|
7
|
-
import { u as Ne, h as we } from "./useRestaurantPermission-
|
|
6
|
+
import { d as Ie } from "./app-CeVFa3GS.js";
|
|
7
|
+
import { u as Ne, h as we } from "./useRestaurantPermission-ttW245gZ.js";
|
|
8
8
|
import { storeToRefs as qe } from "pinia";
|
|
9
|
-
import { _ as ze } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as ze } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CD_INaTH.js";
|
|
10
10
|
const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, ht = { class: "w-[100%]" }, Ct = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, kt = { class: "w-[100%] flex flex-row gap-[4px]" }, $t = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, St = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, At = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "w-[24px] flex items-center"
|