@feedmepos/mf-report 5.21.47 → 5.21.49
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-DAWButCu.js → App-CLWWLcFU.js} +83 -83
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-CSpAxCVL.js → BaseDialog.vue_vue_type_script_setup_true_lang-GYfq__LU.js} +3 -3
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-CAn8mmXT.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-BrmY2Rup.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-DPF0_IoJ.js → Default.vue_vue_type_script_setup_true_lang-D6QYade6.js} +2 -2
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-DToYKBHq.js → FilterSelector.vue_vue_type_script_setup_true_lang-Cs2STHSZ.js} +6 -6
- package/dist/{InsightView-BcwpqiH7.js → InsightView-DKmhchZX.js} +6 -6
- package/dist/{Integration-krNHuqxE.js → Integration-Dtixz4GZ.js} +3 -3
- package/dist/{Integrations-BqxyAi7s.js → Integrations-Bepr1f-w.js} +3 -3
- package/dist/{Layout-q34ccn1y.js → Layout-CaBt14Gw.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DQ7YuABO.js → MenuTab.vue_vue_type_script_setup_true_lang-BU8ACjnx.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-ow8CqbFj.js → NavigationTab.vue_vue_type_script_setup_true_lang-Cxihp1iy.js} +5 -5
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-SVQTrluh.js → NoData.vue_vue_type_script_setup_true_lang-BTjlmBtv.js} +1 -1
- package/dist/{OverviewView-sYGGBUB7.js → OverviewView-DhJs2S4h.js} +5 -5
- package/dist/{Report-DiZzQDzY.js → Report-B1Hm3FxI.js} +4 -4
- package/dist/{ReportEditor-DCKQDJCn.js → ReportEditor-BsHh4C9W.js} +6 -6
- package/dist/{ReportView-DNnylAHp.js → ReportView-DWSEvgCp.js} +8 -8
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-SsIUosTP.js → SelectComponent.vue_vue_type_script_setup_true_lang-DQBXTDxS.js} +1 -1
- package/dist/{Setting-DTMcqh8A.js → Setting-CaWLJxWT.js} +5 -5
- package/dist/{TileEditor-1quVKGns.js → TileEditor-MmzX96u0.js} +8 -8
- package/dist/{TransitionFade-BrSsp6N9.js → TransitionFade-CoJpT4sl.js} +6 -6
- package/dist/{app-C6j4lCKY.js → app-CKnE3Rw-.js} +11 -11
- package/dist/app.js +1 -1
- package/dist/{vue-i18n-DUpIOpIW.js → vue-i18n-C0wbv9TD.js} +1 -1
- package/package.json +1 -1
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { defineComponent as se, resolveComponent as
|
|
2
|
-
import { detectLocale as
|
|
3
|
-
import { u as Be, a as Ae, b as ne, c as Ne, d as Te, e as Fe, f as $e, s as xe } from "./vue-i18n-
|
|
1
|
+
import { defineComponent as se, resolveComponent as Q, createBlock as ie, openBlock as O, unref as l, isRef as Oe, withCtx as U, createElementVNode as M, createVNode as V, toDisplayString as ee, createTextVNode as we, onMounted as ue, watch as w, ref as T, computed as te, onBeforeMount as Ce, onBeforeUnmount as Ee, createElementBlock as j, Fragment as ke } from "vue";
|
|
2
|
+
import { detectLocale as F, useCoreStore as z } from "@feedmepos/mf-common";
|
|
3
|
+
import { u as Be, a as Ae, b as ne, c as Ne, d as Te, e as Fe, f as $e, s as xe } from "./vue-i18n-C0wbv9TD.js";
|
|
4
4
|
import { storeToRefs as C } from "pinia";
|
|
5
|
-
import { u as re, a as Je, b as Ue } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { u as je, _ as ze } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as re, a as Je, b as Ue } from "./BaseDialog.vue_vue_type_script_setup_true_lang-GYfq__LU.js";
|
|
6
|
+
import { u as je, _ as ze } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Cxihp1iy.js";
|
|
7
7
|
import { u as oe } from "./message-dialog-UoMWOnil.js";
|
|
8
|
-
import { d as u } from "./app-
|
|
8
|
+
import { d as u } from "./app-CKnE3Rw-.js";
|
|
9
9
|
import { useRoute as Qe, useRouter as Ve } from "vue-router";
|
|
10
10
|
const Pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, We = /* @__PURE__ */ se({
|
|
11
11
|
__name: "Dialog",
|
|
12
12
|
setup(E) {
|
|
13
|
-
const { t: a } = Be(), p = oe(), { isOpened: c, message:
|
|
14
|
-
return (
|
|
15
|
-
const k =
|
|
16
|
-
return O(), ie(
|
|
17
|
-
modelValue:
|
|
18
|
-
"onUpdate:modelValue": I[0] || (I[0] = (
|
|
13
|
+
const { t: a } = Be(), p = oe(), { isOpened: c, message: q, title: L } = C(oe());
|
|
14
|
+
return (f, I) => {
|
|
15
|
+
const k = Q("FmButton"), $ = Q("FmDialog");
|
|
16
|
+
return O(), ie($, {
|
|
17
|
+
modelValue: l(c),
|
|
18
|
+
"onUpdate:modelValue": I[0] || (I[0] = (x) => Oe(c) ? c.value = x : null),
|
|
19
19
|
overlay: "",
|
|
20
20
|
"close-button": !1
|
|
21
21
|
}, {
|
|
22
|
-
"dialog-header":
|
|
23
|
-
we(ee(
|
|
22
|
+
"dialog-header": U(() => [
|
|
23
|
+
we(ee(l(L)), 1)
|
|
24
24
|
]),
|
|
25
|
-
default:
|
|
26
|
-
M("p", Pe, ee(
|
|
25
|
+
default: U(() => [
|
|
26
|
+
M("p", Pe, ee(l(q)), 1)
|
|
27
27
|
]),
|
|
28
|
-
"dialog-footer":
|
|
28
|
+
"dialog-footer": U(() => [
|
|
29
29
|
I[1] || (I[1] = M("div", { class: "grow" }, null, -1)),
|
|
30
|
-
|
|
31
|
-
label:
|
|
30
|
+
V(k, {
|
|
31
|
+
label: l(a)("report.common.cancel"),
|
|
32
32
|
variant: "tertiary",
|
|
33
|
-
onClick:
|
|
33
|
+
onClick: l(p).dismiss
|
|
34
34
|
}, null, 8, ["label", "onClick"]),
|
|
35
|
-
|
|
36
|
-
label:
|
|
37
|
-
onClick:
|
|
35
|
+
V(k, {
|
|
36
|
+
label: l(a)("report.common.confirm"),
|
|
37
|
+
onClick: l(p).confirm
|
|
38
38
|
}, null, 8, ["label", "onClick"])
|
|
39
39
|
]),
|
|
40
40
|
_: 1
|
|
41
41
|
}, 8, ["modelValue"]);
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
}), ae = F(
|
|
44
|
+
}), ae = T(F());
|
|
45
45
|
function Ge() {
|
|
46
46
|
const E = (a) => {
|
|
47
47
|
switch (ae.value = a, a) {
|
|
@@ -54,49 +54,49 @@ function Ge() {
|
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
return ue(() => {
|
|
57
|
-
E(
|
|
58
|
-
}), w(() =>
|
|
57
|
+
E(F());
|
|
58
|
+
}), w(() => F(), E, { deep: !0, immediate: !0 }), {
|
|
59
59
|
currentLocale: ae
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
u.locale(
|
|
62
|
+
u.locale(F() === "zh-CN" ? "zh-cn" : "en");
|
|
63
63
|
const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
64
64
|
__name: "App",
|
|
65
65
|
setup(E) {
|
|
66
|
-
const { businessId: a, token: p, country: c } = C(Ae()), { sessionUser:
|
|
66
|
+
const { businessId: a, token: p, country: c } = C(Ae()), { sessionUser: q, currentBusiness: L, currentCountry: f, registerSidebarComponent: I } = z(), { getRestaurantAndWarehouse: k, getBusinessSetting: $, beginBusinessLoad: x, completeBusinessLoad: ce } = ne(), { getFeatureFlags: de } = Ne(), { version: g } = C(re()), { getSettings: le } = Te(), { promptLoader: fe } = Fe(), e = Qe(), P = Ve(), _ = Je(), W = je(), s = ne(), me = re(), { suppressReportRouteSync: B } = C(me), { getReports: pe, getOverviewReport: ge, getReportConfig: G, currentReportId: H } = _, { currentReportId: ye, reports: ve } = C(_), { getSchema: Se } = Ue(), { fetchSchedules: Ie } = W, { init: De } = $e(), J = T("v5"), A = T(!1), D = T(!0), he = te(() => `https://portal-v1.feedme.cc/b/${a.value}/report/CLOSE_UP?showHeader=false&country=${c.value.toUpperCase()}&menuOption=business-report&token=${p.value}&v2=true&reportV5Button=true`), Re = te(() => `https://report-v4.feedme.cc?businessId=${a.value}&country=${c.value}&token=${p.value}&reportV3Button=true`);
|
|
67
67
|
w(
|
|
68
|
-
[() =>
|
|
69
|
-
([t, n, r], [i,
|
|
70
|
-
var v,
|
|
71
|
-
const y = ((v =
|
|
72
|
-
if (
|
|
73
|
-
xe(
|
|
68
|
+
[() => L.value, () => q.value, () => f.value],
|
|
69
|
+
([t, n, r], [i, m, d]) => {
|
|
70
|
+
var v, h;
|
|
71
|
+
const y = ((v = L.value) == null ? void 0 : v.id) ?? "";
|
|
72
|
+
if (L.value && q.value && f.value) {
|
|
73
|
+
xe(f.value), a.value !== y && (a.value = y), p.value = ((h = q.value) == null ? void 0 : h.token) ?? "", c.value = f.value ?? "";
|
|
74
74
|
let S = !1;
|
|
75
|
-
|
|
76
|
-
const _ = S || !N.value;
|
|
77
|
-
console.log("[debug] business or user or country changed, checking if need to replace route", {
|
|
75
|
+
d && r && (S = d !== r), S || D.value, console.log("[debug] business or user or country changed, checking if need to replace route", {
|
|
78
76
|
businessId: a.value,
|
|
79
77
|
routeBusinessId: e.query.businessId,
|
|
80
78
|
country: c.value,
|
|
81
|
-
currentCountry:
|
|
79
|
+
currentCountry: f.value,
|
|
80
|
+
oldCountry: d,
|
|
81
|
+
newCountry: r,
|
|
82
82
|
isCountryChanged: S,
|
|
83
|
-
isInitialBusinessWatch:
|
|
84
|
-
}), e.query.businessId !== a.value && (console.log("[debug 1]: route businessId is different from store, replacing route with new businessId and country"), console.log("[debug 1 detail]: country.value: ", c.value, "currentCountry.value: ",
|
|
83
|
+
isInitialBusinessWatch: D.value
|
|
84
|
+
}), e.query.businessId !== a.value && (console.log("[debug 1]: route businessId is different from store, replacing route with new businessId and country"), console.log("[debug 1 detail]: country.value: ", c.value, "currentCountry.value: ", f.value), console.log("[debug 1 detail]: route.query.businessId: ", e.query.businessId, "businessId.value: ", a.value), P.replace({
|
|
85
85
|
name: e.name,
|
|
86
86
|
params: e.params,
|
|
87
87
|
query: {
|
|
88
88
|
...e.query,
|
|
89
89
|
businessId: a.value,
|
|
90
|
-
country:
|
|
91
|
-
isAllLocation:
|
|
92
|
-
locationIds:
|
|
90
|
+
country: f.value,
|
|
91
|
+
isAllLocation: D.value ? e.query.isAllLocation : "true",
|
|
92
|
+
locationIds: D.value ? e.query.locationIds : void 0
|
|
93
93
|
}
|
|
94
94
|
}));
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
{ immediate: !0 }
|
|
98
98
|
);
|
|
99
|
-
function
|
|
99
|
+
function K(t) {
|
|
100
100
|
if (typeof t.data == "string")
|
|
101
101
|
try {
|
|
102
102
|
const n = JSON.parse(t.data);
|
|
@@ -105,23 +105,23 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
105
105
|
console.error(n);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function X(t) {
|
|
109
109
|
if (typeof t.data == "string")
|
|
110
110
|
try {
|
|
111
111
|
const n = JSON.parse(t.data);
|
|
112
|
-
(n == null ? void 0 : n.v5) === !0 ? g.value =
|
|
112
|
+
(n == null ? void 0 : n.v5) === !0 ? g.value = J.value : (n == null ? void 0 : n.v3) === !0 && (g.value = "v3");
|
|
113
113
|
} catch (n) {
|
|
114
114
|
console.error(n);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
w(g, () => {
|
|
118
|
-
["v3", "v4"].includes(g.value) ?
|
|
118
|
+
["v3", "v4"].includes(g.value) ? z().hideSidebarToggle(!0) : z().hideSidebarToggle(!1);
|
|
119
119
|
}), Ce(() => {
|
|
120
120
|
I(ze);
|
|
121
121
|
}), ue(() => {
|
|
122
|
-
console.log("5.21.
|
|
122
|
+
console.log("5.21.49", !0), window.addEventListener("message", K), window.addEventListener("message", X);
|
|
123
123
|
}), Ee(() => {
|
|
124
|
-
window.removeEventListener("message",
|
|
124
|
+
window.removeEventListener("message", K), window.removeEventListener("message", X), _.$dispose(), W.$dispose();
|
|
125
125
|
});
|
|
126
126
|
function be(t) {
|
|
127
127
|
try {
|
|
@@ -130,7 +130,7 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
130
130
|
return t;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function N(t) {
|
|
134
134
|
if (typeof t != "string" || t.length === 0) return;
|
|
135
135
|
const n = t.includes("%") ? [t, be(t)] : [t];
|
|
136
136
|
for (const r of n)
|
|
@@ -146,22 +146,22 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
146
146
|
} catch {
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Y(t) {
|
|
150
150
|
if (!t || typeof t != "object") return !1;
|
|
151
151
|
const n = t;
|
|
152
152
|
return typeof n.hour == "number" && typeof n.minute == "number";
|
|
153
153
|
}
|
|
154
154
|
function qe() {
|
|
155
|
-
const t = e.query.startDate ? u(e.query.startDate).startOf("day").toISOString() : void 0, n = e.query.endDate ? u(e.query.endDate).endOf("day").toISOString() : void 0, r = typeof e.query.timeStart == "string", i = typeof e.query.timeEnd == "string",
|
|
156
|
-
let
|
|
157
|
-
if (
|
|
158
|
-
|
|
155
|
+
const t = e.query.startDate ? u(e.query.startDate).startOf("day").toISOString() : void 0, n = e.query.endDate ? u(e.query.endDate).endOf("day").toISOString() : void 0, r = typeof e.query.timeStart == "string", i = typeof e.query.timeEnd == "string", m = N(e.query.timeStart), d = N(e.query.timeEnd), y = Y(m) ? m : null, v = Y(d) ? d : null, h = e.query.compareStartDate ? u(e.query.compareStartDate).startOf("day").toISOString() : void 0, S = e.query.compareEndDate ? u(e.query.compareEndDate).endOf("day").toISOString() : void 0, Z = e.query.isAllLocation === "true" || e.query.isAllLocation === void 0;
|
|
156
|
+
let R = [];
|
|
157
|
+
if (Z)
|
|
158
|
+
R = s.selectedLocationIds;
|
|
159
159
|
else {
|
|
160
|
-
const o =
|
|
161
|
-
|
|
160
|
+
const o = N(e.query.locationIds);
|
|
161
|
+
R = Array.isArray(o) ? o : [];
|
|
162
162
|
}
|
|
163
|
-
let
|
|
164
|
-
if (ve.value.find((o) => o.id ===
|
|
163
|
+
let b = e.query.reportId || H;
|
|
164
|
+
if (ve.value.find((o) => o.id === b) || (b = H), b && b !== _.currentReportId && _.updateCurrentReportId(b), t || n) {
|
|
165
165
|
const o = s.dateRange;
|
|
166
166
|
(o.startDate !== t || o.endDate !== n) && s.setDateRange({ startDate: t, endDate: n });
|
|
167
167
|
}
|
|
@@ -169,20 +169,20 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
169
169
|
const o = s.timeRange;
|
|
170
170
|
(o.start !== y || o.end !== v) && s.setTimeRange({ start: y, end: v });
|
|
171
171
|
}
|
|
172
|
-
if (
|
|
172
|
+
if (h || S) {
|
|
173
173
|
const o = s.compareDateRange;
|
|
174
|
-
(o.startDate !==
|
|
175
|
-
startDate:
|
|
174
|
+
(o.startDate !== h || o.endDate !== S) && s.setCompareDateRange({
|
|
175
|
+
startDate: h,
|
|
176
176
|
endDate: S
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
|
-
if (!
|
|
179
|
+
if (!Z && Array.isArray(R)) {
|
|
180
180
|
const o = s.selectedLocationIds;
|
|
181
|
-
o.length ===
|
|
181
|
+
o.length === R.length && o.every((Le, _e) => Le === R[_e]) || s.setSelectedLocationIds(R);
|
|
182
182
|
}
|
|
183
183
|
return {
|
|
184
184
|
// TODO: this returned value can used for getBusinessSetting
|
|
185
|
-
reportId:
|
|
185
|
+
reportId: b,
|
|
186
186
|
startDate: e.query.startDate,
|
|
187
187
|
endDate: e.query.endDate,
|
|
188
188
|
timeStart: e.query.timeStart,
|
|
@@ -196,30 +196,30 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
196
196
|
return w(
|
|
197
197
|
() => a.value,
|
|
198
198
|
async (t) => {
|
|
199
|
-
t !== "" && (A.value = !1,
|
|
199
|
+
t !== "" && (A.value = !1, x(t), B.value !== void 0 && (B.value = !0), await fe(async () => {
|
|
200
200
|
await De({
|
|
201
201
|
apiKey: "6GhcttsJ9Rj9cTevcdrpin",
|
|
202
202
|
url: "https://flag.feedme.farm/api/v1/",
|
|
203
203
|
enableAnalytics: !1,
|
|
204
204
|
cacheFlags: !1
|
|
205
205
|
});
|
|
206
|
-
const n = await
|
|
207
|
-
|
|
206
|
+
const n = await G();
|
|
207
|
+
J.value = n.version, g.value = J.value, await Promise.all([
|
|
208
208
|
de(),
|
|
209
|
-
|
|
209
|
+
G(),
|
|
210
210
|
ge(),
|
|
211
211
|
pe(),
|
|
212
212
|
Se(),
|
|
213
213
|
Ie(),
|
|
214
214
|
k(
|
|
215
215
|
(() => {
|
|
216
|
-
const r =
|
|
216
|
+
const r = N(e.query.locationIds);
|
|
217
217
|
return Array.isArray(r) ? r : void 0;
|
|
218
218
|
})()
|
|
219
219
|
),
|
|
220
220
|
le()
|
|
221
|
-
]), await
|
|
222
|
-
}), A.value = !0,
|
|
221
|
+
]), await $(), qe(), ce(t);
|
|
222
|
+
}), A.value = !0, D.value && (D.value = !1));
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
immediate: !0
|
|
@@ -238,34 +238,34 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
238
238
|
B.value = !1;
|
|
239
239
|
return;
|
|
240
240
|
}
|
|
241
|
-
const n = t.selectedLocationIds, r = t.dateRange, i = t.timeRange,
|
|
241
|
+
const n = t.selectedLocationIds, r = t.dateRange, i = t.timeRange, m = t.compareDateRange, d = {
|
|
242
242
|
...e.query,
|
|
243
243
|
reportId: t.reportId,
|
|
244
244
|
startDate: r.startDate ? u(r.startDate).startOf("day").toISOString() : void 0,
|
|
245
245
|
endDate: r.endDate ? u(r.endDate).endOf("day").toISOString() : void 0,
|
|
246
|
-
compareStartDate:
|
|
247
|
-
compareEndDate:
|
|
246
|
+
compareStartDate: m.startDate ? u(m.startDate).startOf("day").toISOString() : void 0,
|
|
247
|
+
compareEndDate: m.endDate ? u(m.endDate).endOf("day").toISOString() : void 0,
|
|
248
248
|
timeStart: i.start ? JSON.stringify(i.start) : void 0,
|
|
249
249
|
timeEnd: i.end ? JSON.stringify(i.end) : void 0,
|
|
250
250
|
locationIds: n.length === s.locations.length ? void 0 : n.length > 0 ? JSON.stringify(n) : void 0,
|
|
251
251
|
isAllLocation: String(n.length === s.locations.length)
|
|
252
|
-
}, y = JSON.stringify(e.query), v = JSON.stringify(
|
|
253
|
-
y !== v &&
|
|
252
|
+
}, y = JSON.stringify(e.query), v = JSON.stringify(d);
|
|
253
|
+
y !== v && P.replace({
|
|
254
254
|
name: e.name,
|
|
255
255
|
params: e.params,
|
|
256
|
-
query:
|
|
256
|
+
query: d
|
|
257
257
|
});
|
|
258
258
|
},
|
|
259
259
|
{ deep: !0 }
|
|
260
260
|
), Ge(), (t, n) => {
|
|
261
|
-
const r =
|
|
262
|
-
return O(),
|
|
263
|
-
|
|
264
|
-
|
|
261
|
+
const r = Q("router-view");
|
|
262
|
+
return O(), j(ke, null, [
|
|
263
|
+
V(We),
|
|
264
|
+
l(g) === "v3" ? (O(), j("iframe", {
|
|
265
265
|
key: 0,
|
|
266
266
|
class: "bg-white h-full w-full",
|
|
267
267
|
src: he.value
|
|
268
|
-
}, null, 8, He)) :
|
|
268
|
+
}, null, 8, He)) : l(g) === "v4" ? (O(), j("iframe", {
|
|
269
269
|
key: 1,
|
|
270
270
|
class: "bg-white h-full w-full",
|
|
271
271
|
src: Re.value
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as m0, F as y0, l as g0, b as k0, c as Ce, k as be, d as Fe, r as K0, u as Ie } from "./vue-i18n-
|
|
1
|
+
import { a as m0, F as y0, l as g0, b as k0, c as Ce, k as be, d as Fe, r as K0, u as Ie } from "./vue-i18n-C0wbv9TD.js";
|
|
2
2
|
import { storeToRefs as p0, defineStore as B0 } from "pinia";
|
|
3
3
|
import { ref as s0, computed as C0, watch as U0, h as Me, defineComponent as _e, mergeModels as N0, useModel as z0, resolveComponent as A0, createElementBlock as V0, openBlock as P0, createVNode as h0, withCtx as b0, createElementVNode as E0, createCommentVNode as Re, Fragment as re, renderList as xe, createBlock as De, createTextVNode as de, withDirectives as Le, toDisplayString as T0, unref as $0, vShow as Oe, renderSlot as we } from "vue";
|
|
4
4
|
import { useSnackbar as ce, components as ve } from "@feedmepos/ui-library";
|
|
5
|
-
import { d as S0 } from "./app-
|
|
5
|
+
import { d as S0 } from "./app-CKnE3Rw-.js";
|
|
6
6
|
import { useRouter as Pe } from "vue-router";
|
|
7
7
|
import { detectLocale as F0 } from "@feedmepos/mf-common";
|
|
8
|
-
import { c as Be, a as Je } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { c as Be, a as Je } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BrmY2Rup.js";
|
|
9
9
|
function pe(T) {
|
|
10
10
|
throw new Error('Could not dynamically require "' + T + '". 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 O, createElementBlock as U, unref as f, createVNode as x } from "vue";
|
|
2
|
-
import { u as W, b as q, O as G, C as H } from "./vue-i18n-
|
|
3
|
-
import { d as r } from "./app-
|
|
2
|
+
import { u as W, b as q, O as G, C as H } from "./vue-i18n-C0wbv9TD.js";
|
|
3
|
+
import { d as r } from "./app-CKnE3Rw-.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-Cxihp1iy.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-C0wbv9TD.js";
|
|
6
6
|
import { useRoute as B } from "vue-router";
|
|
7
7
|
const $ = {
|
|
8
8
|
key: 1,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { computed as F, defineComponent as _e, mergeModels as We, useModel as De, ref as T, onMounted as Ie, nextTick as Ce, watch as me, resolveComponent as U, createElementBlock as se, openBlock as P, Fragment as xe, renderSlot as Ne, createVNode as G, normalizeStyle as Ve, unref as d, createElementVNode as j, toDisplayString as ke, withCtx as ce, createBlock as fe, createCommentVNode as Te, normalizeClass as Ze, h as ut, renderList as dt, toRaw as Sl, markRaw as kl, createTextVNode as wt, onUnmounted as Xt, resolveDynamicComponent as Tl, withDirectives as _l, vShow as Fl, withModifiers as gt } from "vue";
|
|
2
|
-
import { W as N, e as at, f as Ll, S as qe, v as tt, g as Rl, h as yt, i as Gt, q as jt, R as Ke, j as $l, D as $e, c as ye, C as Se, a as zl, b as El, _ as Vl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as nt, b as lt, a as Rt, h as Dl } from "./vue-i18n-
|
|
4
|
-
import { d as xt, _ as Al, a as Ml, b as Wl, c as Il } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { W as N, e as at, f as Ll, S as qe, v as tt, g as Rl, h as yt, i as Gt, q as jt, R as Ke, j as $l, D as $e, c as ye, C as Se, a as zl, b as El, _ as Vl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-GYfq__LU.js";
|
|
3
|
+
import { u as nt, b as lt, a as Rt, h as Dl } from "./vue-i18n-C0wbv9TD.js";
|
|
4
|
+
import { d as xt, _ as Al, a as Ml, b as Wl, c as Il } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BrmY2Rup.js";
|
|
5
5
|
import { storeToRefs as ze, defineStore as Kt } from "pinia";
|
|
6
6
|
import { useBreakpoints as Jt, useSnackbar as $t, components as Nl } from "@feedmepos/ui-library";
|
|
7
|
-
import { _ as Pl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as Pl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DQBXTDxS.js";
|
|
8
8
|
import { r as Ye } from "./i18n-7InkCBCc.js";
|
|
9
|
-
import { _ as Ct } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { d as Je } from "./app-
|
|
9
|
+
import { _ as Ct } from "./NoData.vue_vue_type_script_setup_true_lang-BTjlmBtv.js";
|
|
10
|
+
import { d as Je } from "./app-CKnE3Rw-.js";
|
|
11
11
|
var St = /* @__PURE__ */ ((e) => (e.line = "LINE", e.bar = "BAR", e))(St || {}), Oe = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(Oe || {}), kt = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(kt || {}), Tt = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(Tt || {}), _t = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(_t || {}), Ft = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(Ft || {}), Lt = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(Lt || {});
|
|
12
12
|
N.Circular, N.Table, N.BarChart, N.LineChart, N.StackBarChart, N.StackLineChart, N.Scorecard, N.Spacer;
|
|
13
13
|
const Bl = [
|
|
@@ -2,14 +2,14 @@ var Zo = Object.defineProperty;
|
|
|
2
2
|
var Jo = (i, t, e) => t in i ? Zo(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var k = (i, t, e) => Jo(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import { ref as $t, defineComponent as oe, watch as ri, computed as _t, onMounted as Qo, createElementBlock as U, openBlock as I, createElementVNode as R, renderSlot as Un, toDisplayString as lt, resolveDirective as Xn, createCommentVNode as St, Fragment as Ii, renderList as zi, createBlock as Ht, withDirectives as Ge, resolveDynamicComponent as es, unref as G, withCtx as Yt, createVNode as et, normalizeClass as Ze, resolveComponent as Me, useModel as ta, createTextVNode as ea, isRef as ki, nextTick as ia } from "vue";
|
|
5
|
-
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { a as Kn, q as qn, F as Gn, u as Zn, g as ys, b as oa } from "./vue-i18n-
|
|
5
|
+
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-D6QYade6.js";
|
|
6
|
+
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BrmY2Rup.js";
|
|
7
|
+
import { a as Kn, q as qn, F as Gn, u as Zn, g as ys, b as oa } from "./vue-i18n-C0wbv9TD.js";
|
|
8
8
|
import { storeToRefs as Jn } from "pinia";
|
|
9
|
-
import { d as Bi } from "./app-
|
|
9
|
+
import { d as Bi } from "./app-CKnE3Rw-.js";
|
|
10
10
|
import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
|
|
11
|
-
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-BTjlmBtv.js";
|
|
12
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Cxihp1iy.js";
|
|
13
13
|
import { useCoreStore as ha } from "@feedmepos/mf-common";
|
|
14
14
|
function da({ start: i, end: t }) {
|
|
15
15
|
return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as J, mergeModels as $e, useModel as te, computed as q, resolveComponent as D, createElementBlock as U, openBlock as _, createElementVNode as t, createCommentVNode as L, normalizeClass as Ie, Fragment as ke, createBlock as j, withCtx as xe, toDisplayString as C, renderList as De, createVNode as l, unref as d, h as k, normalizeStyle as tt, createTextVNode as ot, ref as z, onUnmounted as Re, watch as Ce, isRef as Te, resolveDynamicComponent as Fe, mergeProps as Ge, onMounted as Qe } from "vue";
|
|
2
2
|
import { useRouter as be, useRoute as at } from "vue-router";
|
|
3
|
-
import { u as oe, I as he, o as lt, t as nt, d as Ve, e as Pe, b as we, A as ve, v as st, j as rt, n as Me, w as je, x as Ke, y as Le, z as ze, B as it, E as dt, G as mt, H as qe, c as Ze, J as pt, K as ut, L as ct, M as ft, N as gt } from "./vue-i18n-
|
|
3
|
+
import { u as oe, I as he, o as lt, t as nt, d as Ve, e as Pe, b as we, A as ve, v as st, j as rt, n as Me, w as je, x as Ke, y as Le, z as ze, B as it, E as dt, G as mt, H as qe, c as Ze, J as pt, K as ut, L as ct, M as ft, N as gt } from "./vue-i18n-C0wbv9TD.js";
|
|
4
4
|
import { u as Oe } from "./message-dialog-UoMWOnil.js";
|
|
5
5
|
import { useSnackbar as _e } from "@feedmepos/ui-library";
|
|
6
|
-
import { d as Ae } from "./app-
|
|
6
|
+
import { d as Ae } from "./app-CKnE3Rw-.js";
|
|
7
7
|
import { storeToRefs as Ee } from "pinia";
|
|
8
|
-
import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BrmY2Rup.js";
|
|
9
9
|
const vt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, yt = { class: "w-[100%]" }, xt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, bt = { class: "w-[100%] flex flex-row gap-[4px]" }, wt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, _t = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, ht = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "w-[24px] flex items-center"
|