@feedmepos/mf-report 5.21.43 → 5.21.45
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-DljMovRo.js → App-YB3K2Pla.js} +94 -102
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-DNW0OSJz.js → BaseDialog.vue_vue_type_script_setup_true_lang-CcZBwZrG.js} +3 -3
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-AoiqGba6.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-FajTQaEF.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-DJ8v7jz6.js → Default.vue_vue_type_script_setup_true_lang-D8Anmn3U.js} +2 -2
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-DPL5MWio.js → FilterSelector.vue_vue_type_script_setup_true_lang-C3dnlKD1.js} +6 -6
- package/dist/{InsightView-BtNkXO43.js → InsightView-BcaNLAio.js} +6 -6
- package/dist/{Integration-16zid3y9.js → Integration-B2oUigBV.js} +3 -3
- package/dist/{Integrations-CC3QBb_3.js → Integrations-BXs7ebr_.js} +3 -3
- package/dist/{Layout-C56MFWh2.js → Layout-B7UzdpMO.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-Xb9lCtRV.js → MenuTab.vue_vue_type_script_setup_true_lang-CxcGWRnH.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-0mNM1Ktf.js → NavigationTab.vue_vue_type_script_setup_true_lang-DRC8oo7m.js} +5 -5
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-DJte1PXA.js → NoData.vue_vue_type_script_setup_true_lang-COEmI1sC.js} +1 -1
- package/dist/{OverviewView-CaITYmc8.js → OverviewView-CylqH3pr.js} +5 -5
- package/dist/{Report-bLrQAoL8.js → Report-YSloja2n.js} +4 -4
- package/dist/{ReportEditor-BkQNXv21.js → ReportEditor-D4uSvRt1.js} +6 -6
- package/dist/{ReportView-DlYrbKk1.js → ReportView-Dzd79Cmz.js} +8 -8
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-B9YrlWsp.js → SelectComponent.vue_vue_type_script_setup_true_lang-Bx_tLA09.js} +1 -1
- package/dist/{Setting-C1xneq8a.js → Setting-BFXBp6DS.js} +5 -5
- package/dist/{TileEditor-zubsK57X.js → TileEditor-DcuHmPe3.js} +8 -8
- package/dist/{TransitionFade-C0JuThir.js → TransitionFade-CdTx6vpZ.js} +6 -6
- package/dist/{app-BGkK9aSM.js → app-Doxhqiyk.js} +11 -11
- package/dist/app.js +1 -1
- package/dist/{vue-i18n-C2z1yTj8.js → vue-i18n-DViZeYne.js} +1 -1
- package/package.json +1 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { defineComponent as se, resolveComponent as
|
|
2
|
-
import { detectLocale as
|
|
3
|
-
import { u as Ae, a as $e, b as ne, c as
|
|
4
|
-
import { storeToRefs as
|
|
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-
|
|
7
|
-
import { u as
|
|
8
|
-
import { d as u } from "./app-
|
|
1
|
+
import { defineComponent as se, resolveComponent as Q, createBlock as ie, openBlock as R, unref as d, isRef as _e, withCtx as U, createElementVNode as M, createVNode as V, toDisplayString as ee, createTextVNode as Oe, onMounted as ue, watch as b, ref as $, computed as te, onBeforeMount as we, onBeforeUnmount as Ee, createElementBlock as j, Fragment as ke } from "vue";
|
|
2
|
+
import { detectLocale as B, useCoreStore as z } from "@feedmepos/mf-common";
|
|
3
|
+
import { u as Ae, a as $e, b as ne, c as Be, d as Ne, e as Te, f as Fe, s as xe } from "./vue-i18n-DViZeYne.js";
|
|
4
|
+
import { storeToRefs as q } from "pinia";
|
|
5
|
+
import { u as re, a as Je, b as Ue } from "./BaseDialog.vue_vue_type_script_setup_true_lang-CcZBwZrG.js";
|
|
6
|
+
import { u as je, _ as ze } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DRC8oo7m.js";
|
|
7
|
+
import { u as oe } from "./message-dialog-UoMWOnil.js";
|
|
8
|
+
import { d as u } from "./app-Doxhqiyk.js";
|
|
9
9
|
import { useRoute as Qe, useRouter as Ve } from "vue-router";
|
|
10
|
-
const Pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" },
|
|
10
|
+
const Pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, We = /* @__PURE__ */ se({
|
|
11
11
|
__name: "Dialog",
|
|
12
12
|
setup(L) {
|
|
13
|
-
const { t:
|
|
14
|
-
return (
|
|
15
|
-
const
|
|
16
|
-
return R(), ie(
|
|
17
|
-
modelValue: c
|
|
18
|
-
"onUpdate:modelValue": g[0] || (g[0] = (
|
|
13
|
+
const { t: s } = Ae(), f = oe(), { isOpened: c, message: S, title: I } = q(oe());
|
|
14
|
+
return (l, g) => {
|
|
15
|
+
const C = Q("FmButton"), N = Q("FmDialog");
|
|
16
|
+
return R(), ie(N, {
|
|
17
|
+
modelValue: d(c),
|
|
18
|
+
"onUpdate:modelValue": g[0] || (g[0] = (T) => _e(c) ? c.value = T : null),
|
|
19
19
|
overlay: "",
|
|
20
20
|
"close-button": !1
|
|
21
21
|
}, {
|
|
22
|
-
"dialog-header":
|
|
23
|
-
Oe(ee(
|
|
22
|
+
"dialog-header": U(() => [
|
|
23
|
+
Oe(ee(d(I)), 1)
|
|
24
24
|
]),
|
|
25
|
-
default:
|
|
26
|
-
M("p", Pe, ee(
|
|
25
|
+
default: U(() => [
|
|
26
|
+
M("p", Pe, ee(d(S)), 1)
|
|
27
27
|
]),
|
|
28
|
-
"dialog-footer":
|
|
28
|
+
"dialog-footer": U(() => [
|
|
29
29
|
g[1] || (g[1] = M("div", { class: "grow" }, null, -1)),
|
|
30
|
-
|
|
31
|
-
label:
|
|
30
|
+
V(C, {
|
|
31
|
+
label: d(s)("report.common.cancel"),
|
|
32
32
|
variant: "tertiary",
|
|
33
|
-
onClick:
|
|
33
|
+
onClick: d(f).dismiss
|
|
34
34
|
}, null, 8, ["label", "onClick"]),
|
|
35
|
-
|
|
36
|
-
label:
|
|
37
|
-
onClick:
|
|
35
|
+
V(C, {
|
|
36
|
+
label: d(s)("report.common.confirm"),
|
|
37
|
+
onClick: d(f).confirm
|
|
38
38
|
}, null, 8, ["label", "onClick"])
|
|
39
39
|
]),
|
|
40
40
|
_: 1
|
|
41
41
|
}, 8, ["modelValue"]);
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
}),
|
|
45
|
-
function
|
|
46
|
-
const L = (
|
|
47
|
-
switch (
|
|
44
|
+
}), ae = $(B());
|
|
45
|
+
function Ge() {
|
|
46
|
+
const L = (s) => {
|
|
47
|
+
switch (ae.value = s, s) {
|
|
48
48
|
case "zh-CN":
|
|
49
49
|
u.locale("zh-cn");
|
|
50
50
|
break;
|
|
@@ -54,31 +54,31 @@ function We() {
|
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
return ue(() => {
|
|
57
|
-
L(
|
|
58
|
-
}),
|
|
59
|
-
currentLocale:
|
|
57
|
+
L(B());
|
|
58
|
+
}), b(() => B(), L, { deep: !0, immediate: !0 }), {
|
|
59
|
+
currentLocale: ae
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
u.locale(
|
|
62
|
+
u.locale(B() === "zh-CN" ? "zh-cn" : "en");
|
|
63
63
|
const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
64
64
|
__name: "App",
|
|
65
65
|
setup(L) {
|
|
66
|
-
const { businessId:
|
|
67
|
-
|
|
68
|
-
[() =>
|
|
66
|
+
const { businessId: s, token: f, country: c } = q($e()), { sessionUser: S, currentBusiness: I, currentCountry: l, registerSidebarComponent: g } = z(), { getRestaurantAndWarehouse: C, getBusinessSetting: N, beginBusinessLoad: T, completeBusinessLoad: ce } = ne(), { getFeatureFlags: de } = Be(), { version: m } = q(re()), { getSettings: le } = Ne(), { promptLoader: fe } = Te(), e = Qe(), P = Ve(), D = Je(), W = je(), i = ne(), me = re(), { suppressReportRouteSync: _ } = q(me), { getReports: pe, getOverviewReport: ge, getReportConfig: G, currentReportId: H } = D, { currentReportId: ye, reports: ve } = q(D), { getSchema: Se } = Ue(), { fetchSchedules: Ie } = W, { init: De } = Fe(), F = $("v5"), O = $(!1), w = $(!0), he = te(() => `https://portal-v1.feedme.cc/b/${s.value}/report/CLOSE_UP?showHeader=false&country=${c.value.toUpperCase()}&menuOption=business-report&token=${f.value}&v2=true&reportV5Button=true`), Re = te(() => `https://report-v4.feedme.cc?businessId=${s.value}&country=${c.value}&token=${f.value}&reportV3Button=true`);
|
|
67
|
+
b(
|
|
68
|
+
[() => I.value, () => S.value, () => l.value],
|
|
69
69
|
() => {
|
|
70
70
|
var n, o;
|
|
71
|
-
const t = ((n =
|
|
72
|
-
if (
|
|
73
|
-
xe(
|
|
71
|
+
const t = ((n = I.value) == null ? void 0 : n.id) ?? "";
|
|
72
|
+
if (I.value && S.value && l.value) {
|
|
73
|
+
xe(l.value), s.value !== t && (s.value = t);
|
|
74
74
|
let r = !1;
|
|
75
|
-
|
|
75
|
+
c.value !== l.value && (r = !0), f.value = ((o = S.value) == null ? void 0 : o.token) ?? "", c.value = l.value ?? "", console.log("[debug 1]: route.query.businessId !== businessId.value || isCountryChanged, replacing router", `route.query.businessId!==businessId.value: ${e.query.businessId !== s.value}`, `isCountryChanged: ${r}`, `isInitialBusinessWatch.value: ${w.value}`), (e.query.businessId !== s.value || r) && !w.value && (console.log("[debug 1 detail]: country.value: ", c.value, "currentCountry.value: ", l.value), console.log("[debug 1 detail]: route.query.businessId: ", e.query.businessId, "businessId.value: ", s.value), P.replace({
|
|
76
76
|
name: e.name,
|
|
77
77
|
params: e.params,
|
|
78
78
|
query: {
|
|
79
79
|
...e.query,
|
|
80
|
-
businessId:
|
|
81
|
-
country:
|
|
80
|
+
businessId: s.value,
|
|
81
|
+
country: l.value,
|
|
82
82
|
isAllLocation: r ? "true" : e.query.isAllLocation,
|
|
83
83
|
locationIds: r ? void 0 : e.query.locationIds
|
|
84
84
|
}
|
|
@@ -91,7 +91,7 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
91
91
|
if (typeof t.data == "string")
|
|
92
92
|
try {
|
|
93
93
|
const n = JSON.parse(t.data);
|
|
94
|
-
(n == null ? void 0 : n.token) !== "" && (n == null ? void 0 : n.token) !== void 0 && (
|
|
94
|
+
(n == null ? void 0 : n.token) !== "" && (n == null ? void 0 : n.token) !== void 0 && (f.value = n.token);
|
|
95
95
|
} catch (n) {
|
|
96
96
|
console.error(n);
|
|
97
97
|
}
|
|
@@ -100,21 +100,21 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
100
100
|
if (typeof t.data == "string")
|
|
101
101
|
try {
|
|
102
102
|
const n = JSON.parse(t.data);
|
|
103
|
-
(n == null ? void 0 : n.v5) === !0 ? m.value =
|
|
103
|
+
(n == null ? void 0 : n.v5) === !0 ? m.value = F.value : (n == null ? void 0 : n.v3) === !0 && (m.value = "v3");
|
|
104
104
|
} catch (n) {
|
|
105
105
|
console.error(n);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
|
|
109
|
-
["v3", "v4"].includes(m.value) ?
|
|
108
|
+
b(m, () => {
|
|
109
|
+
["v3", "v4"].includes(m.value) ? z().hideSidebarToggle(!0) : z().hideSidebarToggle(!1);
|
|
110
110
|
}), we(() => {
|
|
111
111
|
g(ze);
|
|
112
112
|
}), ue(() => {
|
|
113
|
-
console.log("5.21.
|
|
113
|
+
console.log("5.21.45", !0), window.addEventListener("message", K), window.addEventListener("message", X);
|
|
114
114
|
}), Ee(() => {
|
|
115
|
-
window.removeEventListener("message", K), window.removeEventListener("message", X),
|
|
115
|
+
window.removeEventListener("message", K), window.removeEventListener("message", X), D.$dispose(), W.$dispose();
|
|
116
116
|
});
|
|
117
|
-
function
|
|
117
|
+
function be(t) {
|
|
118
118
|
try {
|
|
119
119
|
return decodeURIComponent(t);
|
|
120
120
|
} catch {
|
|
@@ -123,7 +123,7 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
123
123
|
}
|
|
124
124
|
function E(t) {
|
|
125
125
|
if (typeof t != "string" || t.length === 0) return;
|
|
126
|
-
const n = t.includes("%") ? [t,
|
|
126
|
+
const n = t.includes("%") ? [t, be(t)] : [t];
|
|
127
127
|
for (const o of n)
|
|
128
128
|
try {
|
|
129
129
|
const r = JSON.parse(o);
|
|
@@ -142,34 +142,34 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
142
142
|
const n = t;
|
|
143
143
|
return typeof n.hour == "number" && typeof n.minute == "number";
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
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, o = typeof e.query.timeStart == "string", r = typeof e.query.timeEnd == "string", p = E(e.query.timeStart), h = E(e.query.timeEnd), k = Y(p) ? p : null, A = Y(h) ? h : null,
|
|
145
|
+
function qe() {
|
|
146
|
+
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, o = typeof e.query.timeStart == "string", r = typeof e.query.timeEnd == "string", p = E(e.query.timeStart), h = E(e.query.timeEnd), k = Y(p) ? p : null, A = Y(h) ? h : null, x = e.query.compareStartDate ? u(e.query.compareStartDate).startOf("day").toISOString() : void 0, J = e.query.compareEndDate ? u(e.query.compareEndDate).endOf("day").toISOString() : void 0, Z = e.query.isAllLocation === "true" || e.query.isAllLocation === void 0;
|
|
147
147
|
let y = [];
|
|
148
148
|
if (Z)
|
|
149
|
-
y =
|
|
149
|
+
y = i.selectedLocationIds;
|
|
150
150
|
else {
|
|
151
|
-
const
|
|
152
|
-
y = Array.isArray(
|
|
151
|
+
const a = E(e.query.locationIds);
|
|
152
|
+
y = Array.isArray(a) ? a : [];
|
|
153
153
|
}
|
|
154
154
|
let v = e.query.reportId || H;
|
|
155
|
-
if (ve.value.find((
|
|
156
|
-
const
|
|
157
|
-
(
|
|
155
|
+
if (ve.value.find((a) => a.id === v) || (v = H), v && v !== D.currentReportId && D.updateCurrentReportId(v), t || n) {
|
|
156
|
+
const a = i.dateRange;
|
|
157
|
+
(a.startDate !== t || a.endDate !== n) && i.setDateRange({ startDate: t, endDate: n });
|
|
158
158
|
}
|
|
159
159
|
if (o || r) {
|
|
160
|
-
const
|
|
161
|
-
(
|
|
160
|
+
const a = i.timeRange;
|
|
161
|
+
(a.start !== k || a.end !== A) && i.setTimeRange({ start: k, end: A });
|
|
162
162
|
}
|
|
163
|
-
if (
|
|
164
|
-
const
|
|
165
|
-
(
|
|
166
|
-
startDate:
|
|
167
|
-
endDate:
|
|
163
|
+
if (x || J) {
|
|
164
|
+
const a = i.compareDateRange;
|
|
165
|
+
(a.startDate !== x || a.endDate !== J) && i.setCompareDateRange({
|
|
166
|
+
startDate: x,
|
|
167
|
+
endDate: J
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
170
|
if (!Z && Array.isArray(y)) {
|
|
171
|
-
const
|
|
172
|
-
|
|
171
|
+
const a = i.selectedLocationIds;
|
|
172
|
+
a.length === y.length && a.every((Le, Ce) => Le === y[Ce]) || i.setSelectedLocationIds(y);
|
|
173
173
|
}
|
|
174
174
|
return {
|
|
175
175
|
// TODO: this returned value can used for getBusinessSetting
|
|
@@ -184,57 +184,49 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
184
184
|
isAllLocation: e.query.isAllLocation
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
|
-
return
|
|
188
|
-
() =>
|
|
187
|
+
return b(
|
|
188
|
+
() => s.value,
|
|
189
189
|
async (t) => {
|
|
190
|
-
t !== "" && (O.value = !1,
|
|
191
|
-
|
|
192
|
-
params: e.params,
|
|
193
|
-
query: {
|
|
194
|
-
...e.query,
|
|
195
|
-
locationIds: void 0,
|
|
196
|
-
isAllLocation: "true"
|
|
197
|
-
}
|
|
198
|
-
})), C.value !== void 0 && (C.value = !0), await fe(async () => {
|
|
199
|
-
await Ie({
|
|
190
|
+
t !== "" && (O.value = !1, T(t), _.value !== void 0 && (_.value = !0), await fe(async () => {
|
|
191
|
+
await De({
|
|
200
192
|
apiKey: "6GhcttsJ9Rj9cTevcdrpin",
|
|
201
193
|
url: "https://flag.feedme.farm/api/v1/",
|
|
202
194
|
enableAnalytics: !1,
|
|
203
195
|
cacheFlags: !1
|
|
204
196
|
});
|
|
205
|
-
const n = await
|
|
206
|
-
|
|
197
|
+
const n = await G();
|
|
198
|
+
F.value = n.version, m.value = F.value, await Promise.all([
|
|
207
199
|
de(),
|
|
208
|
-
|
|
200
|
+
G(),
|
|
209
201
|
ge(),
|
|
210
202
|
pe(),
|
|
211
203
|
Se(),
|
|
212
|
-
|
|
213
|
-
|
|
204
|
+
Ie(),
|
|
205
|
+
C(
|
|
214
206
|
(() => {
|
|
215
207
|
const o = E(e.query.locationIds);
|
|
216
208
|
return Array.isArray(o) ? o : void 0;
|
|
217
209
|
})()
|
|
218
210
|
),
|
|
219
211
|
le()
|
|
220
|
-
]), await
|
|
212
|
+
]), await N(), qe(), ce(t);
|
|
221
213
|
}), O.value = !0, w.value && (w.value = !1));
|
|
222
214
|
},
|
|
223
215
|
{
|
|
224
216
|
immediate: !0
|
|
225
217
|
}
|
|
226
|
-
),
|
|
218
|
+
), b(
|
|
227
219
|
() => (O.value, {
|
|
228
220
|
reportId: ye.value,
|
|
229
|
-
selectedLocationIds:
|
|
230
|
-
dateRange:
|
|
231
|
-
timeRange:
|
|
232
|
-
compareDateRange:
|
|
221
|
+
selectedLocationIds: i.selectedLocationIds,
|
|
222
|
+
dateRange: i.dateRange,
|
|
223
|
+
timeRange: i.timeRange,
|
|
224
|
+
compareDateRange: i.compareDateRange
|
|
233
225
|
}),
|
|
234
226
|
(t) => {
|
|
235
227
|
if (!O.value || !t.reportId) return;
|
|
236
|
-
if (
|
|
237
|
-
|
|
228
|
+
if (_.value) {
|
|
229
|
+
_.value = !1;
|
|
238
230
|
return;
|
|
239
231
|
}
|
|
240
232
|
const n = t.selectedLocationIds, o = t.dateRange, r = t.timeRange, p = t.compareDateRange, h = {
|
|
@@ -246,25 +238,25 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
|
|
|
246
238
|
compareEndDate: p.endDate ? u(p.endDate).endOf("day").toISOString() : void 0,
|
|
247
239
|
timeStart: r.start ? JSON.stringify(r.start) : void 0,
|
|
248
240
|
timeEnd: r.end ? JSON.stringify(r.end) : void 0,
|
|
249
|
-
locationIds: n.length ===
|
|
250
|
-
isAllLocation: String(n.length ===
|
|
241
|
+
locationIds: n.length === i.locations.length ? void 0 : n.length > 0 ? JSON.stringify(n) : void 0,
|
|
242
|
+
isAllLocation: String(n.length === i.locations.length)
|
|
251
243
|
}, k = JSON.stringify(e.query), A = JSON.stringify(h);
|
|
252
|
-
k !== A &&
|
|
244
|
+
k !== A && P.replace({
|
|
253
245
|
name: e.name,
|
|
254
246
|
params: e.params,
|
|
255
247
|
query: h
|
|
256
248
|
});
|
|
257
249
|
},
|
|
258
250
|
{ deep: !0 }
|
|
259
|
-
),
|
|
260
|
-
const o =
|
|
261
|
-
return R(),
|
|
262
|
-
|
|
263
|
-
|
|
251
|
+
), Ge(), (t, n) => {
|
|
252
|
+
const o = Q("router-view");
|
|
253
|
+
return R(), j(ke, null, [
|
|
254
|
+
V(We),
|
|
255
|
+
d(m) === "v3" ? (R(), j("iframe", {
|
|
264
256
|
key: 0,
|
|
265
257
|
class: "bg-white h-full w-full",
|
|
266
258
|
src: he.value
|
|
267
|
-
}, null, 8, He)) :
|
|
259
|
+
}, null, 8, He)) : d(m) === "v4" ? (R(), j("iframe", {
|
|
268
260
|
key: 1,
|
|
269
261
|
class: "bg-white h-full w-full",
|
|
270
262
|
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-DViZeYne.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-Doxhqiyk.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-FajTQaEF.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-DViZeYne.js";
|
|
3
|
+
import { d as r } from "./app-Doxhqiyk.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-DRC8oo7m.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-DViZeYne.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 _, defineComponent as Te, mergeModels as We, useModel as Ve, ref as k, onMounted as Ie, nextTick as Se, watch as me, resolveComponent as U, createElementBlock as se, openBlock as P, Fragment as xe, renderSlot as Ne, createVNode as G, normalizeStyle as De, unref as d, createElementVNode as J, toDisplayString as $e, withCtx as de, createBlock as fe, createCommentVNode as ke, normalizeClass as Ze, h as it, renderList as ut, toRaw as Cl, markRaw as kl, createTextVNode as wt, onUnmounted as Xt, resolveDynamicComponent as Tl, withDirectives as _l, vShow as Fl, withModifiers as vt } from "vue";
|
|
2
|
-
import { W as N, e as at, f as Ll, S as qe, v as tt, g as Rl, h as gt, i as Gt, q as jt, R as Ke, j as $l, D as Re, c as ye, C as Ce, a as zl, b as El, _ as Dl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as nt, b as lt, a as Rt, h as Vl } 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 gt, i as Gt, q as jt, R as Ke, j as $l, D as Re, c as ye, C as Ce, a as zl, b as El, _ as Dl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-CcZBwZrG.js";
|
|
3
|
+
import { u as nt, b as lt, a as Rt, h as Vl } from "./vue-i18n-DViZeYne.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-FajTQaEF.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-Bx_tLA09.js";
|
|
8
8
|
import { r as Ye } from "./i18n-7InkCBCc.js";
|
|
9
|
-
import { _ as St } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { d as Je } from "./app-
|
|
9
|
+
import { _ as St } from "./NoData.vue_vue_type_script_setup_true_lang-COEmI1sC.js";
|
|
10
|
+
import { d as Je } from "./app-Doxhqiyk.js";
|
|
11
11
|
var Ct = /* @__PURE__ */ ((e) => (e.line = "LINE", e.bar = "BAR", e))(Ct || {}), 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-D8Anmn3U.js";
|
|
6
|
+
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-FajTQaEF.js";
|
|
7
|
+
import { a as Kn, q as qn, F as Gn, u as Zn, g as ys, b as oa } from "./vue-i18n-DViZeYne.js";
|
|
8
8
|
import { storeToRefs as Jn } from "pinia";
|
|
9
|
-
import { d as Bi } from "./app-
|
|
9
|
+
import { d as Bi } from "./app-Doxhqiyk.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-COEmI1sC.js";
|
|
12
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DRC8oo7m.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-DViZeYne.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-Doxhqiyk.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-FajTQaEF.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"
|