@feedmepos/mf-report 5.21.27 → 5.21.28-beta.0
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-B7pZn85d.js → App-CvCrQ9Wq.js} +57 -54
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-QzLGWBvd.js → BaseDialog.vue_vue_type_script_setup_true_lang-BHDUNZTW.js} +2 -2
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-CS10GX8d.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DNyvFLmW.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-oPfgV8Ba.js → Default.vue_vue_type_script_setup_true_lang-BngCq1oN.js} +2 -2
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-B2jdNYHG.js → FilterSelector.vue_vue_type_script_setup_true_lang-couq_dUJ.js} +5 -5
- package/dist/{InsightView-B3zeWLpB.js → InsightView-ICPiE8SX.js} +5 -5
- package/dist/{Integration-DAfyew-m.js → Integration-DTtpwsgt.js} +2 -2
- package/dist/{Integrations-SXV9M3b-.js → Integrations-BQT5pOBg.js} +3 -3
- package/dist/{Layout-BfhdHhdb.js → Layout-DUxsrloe.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-CwzcLrSB.js → MenuTab.vue_vue_type_script_setup_true_lang-BbLrho8e.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-M3kgeSAQ.js → NavigationTab.vue_vue_type_script_setup_true_lang-CW6iYOsZ.js} +4 -4
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-DDKbpI_N.js → NoData.vue_vue_type_script_setup_true_lang-9qsPvAZJ.js} +1 -1
- package/dist/{OverviewView-Ds4s9oxp.js → OverviewView-Cfndl9st.js} +5 -5
- package/dist/{Report-i-ZrteAi.js → Report-Csp-bDoC.js} +4 -4
- package/dist/{ReportEditor-BFF57S9g.js → ReportEditor-pxReQ1bH.js} +6 -6
- package/dist/{ReportView-C_noR8lh.js → ReportView-C-fIIMa3.js} +8 -8
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-BhWCLEfp.js → SelectComponent.vue_vue_type_script_setup_true_lang-BzzBdgnw.js} +1 -1
- package/dist/{Setting-8zch0HnP.js → Setting-BKQ0B3Hk.js} +4 -4
- package/dist/{TileEditor-BeianCEO.js → TileEditor-CQTvQwgo.js} +7 -7
- package/dist/{TransitionFade-B1etHHO2.js → TransitionFade-Bb4GLqqB.js} +5 -5
- package/dist/app.js +11 -11
- package/dist/{vue-i18n-D1iec8Wy.js → vue-i18n-BdbYuMnB.js} +1 -1
- package/package.json +1 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as ee, resolveComponent as U, createBlock as te, openBlock as
|
|
2
|
-
import { detectLocale as
|
|
3
|
-
import { u as
|
|
4
|
-
import { storeToRefs as
|
|
5
|
-
import { u as Y, a as Ne, b as Be } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import {
|
|
1
|
+
import { defineComponent as ee, resolveComponent as U, createBlock as te, openBlock as q, unref as u, isRef as Ie, withCtx as J, createElementVNode as K, createVNode as z, toDisplayString as P, createTextVNode as he, onMounted as ae, watch as S, ref as k, computed as H, onBeforeMount as Re, onBeforeUnmount as qe, createElementBlock as A, Fragment as Le } from "vue";
|
|
2
|
+
import { detectLocale as C, useCoreStore as T } from "@feedmepos/mf-common";
|
|
3
|
+
import { u as Oe, d as i, a as _e, b as X, c as be, e as we, f as Ee, s as ke, g as Ce } from "./vue-i18n-BdbYuMnB.js";
|
|
4
|
+
import { storeToRefs as L } from "pinia";
|
|
5
|
+
import { u as Y, a as Ne, b as Be } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BHDUNZTW.js";
|
|
6
|
+
import { u as Fe, _ as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CW6iYOsZ.js";
|
|
7
7
|
import { u as Z } from "./message-dialog-UoMWOnil.js";
|
|
8
8
|
import { useRoute as xe, useRouter as Je } from "vue-router";
|
|
9
9
|
const Ae = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Te = /* @__PURE__ */ ee({
|
|
10
10
|
__name: "Dialog",
|
|
11
11
|
setup(O) {
|
|
12
|
-
const { t: r } =
|
|
13
|
-
return (
|
|
12
|
+
const { t: r } = Oe(), f = Z(), { isOpened: l, message: D, title: I } = L(Z());
|
|
13
|
+
return (h, g) => {
|
|
14
14
|
const _ = U("FmButton"), N = U("FmDialog");
|
|
15
|
-
return
|
|
15
|
+
return q(), te(N, {
|
|
16
16
|
modelValue: u(l),
|
|
17
17
|
"onUpdate:modelValue": g[0] || (g[0] = (B) => Ie(l) ? l.value = B : null),
|
|
18
18
|
overlay: "",
|
|
19
19
|
"close-button": !1
|
|
20
20
|
}, {
|
|
21
21
|
"dialog-header": J(() => [
|
|
22
|
-
he(
|
|
22
|
+
he(P(u(I)), 1)
|
|
23
23
|
]),
|
|
24
24
|
default: J(() => [
|
|
25
|
-
|
|
25
|
+
K("p", Ae, P(u(D)), 1)
|
|
26
26
|
]),
|
|
27
27
|
"dialog-footer": J(() => [
|
|
28
|
-
g[1] || (g[1] =
|
|
28
|
+
g[1] || (g[1] = K("div", { class: "grow" }, null, -1)),
|
|
29
29
|
z(_, {
|
|
30
30
|
label: u(r)("report.common.cancel"),
|
|
31
31
|
variant: "tertiary",
|
|
@@ -40,7 +40,7 @@ const Ae = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Te
|
|
|
40
40
|
}, 8, ["modelValue"]);
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
}), M = k(
|
|
43
|
+
}), M = k(C());
|
|
44
44
|
function Ue() {
|
|
45
45
|
const O = (r) => {
|
|
46
46
|
switch (M.value = r, r) {
|
|
@@ -53,22 +53,22 @@ function Ue() {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
return ae(() => {
|
|
56
|
-
O(
|
|
57
|
-
}),
|
|
56
|
+
O(C());
|
|
57
|
+
}), S(() => C(), O, { deep: !0, immediate: !0 }), {
|
|
58
58
|
currentLocale: M
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
i.locale(
|
|
61
|
+
i.locale(C() === "zh-CN" ? "zh-cn" : "en");
|
|
62
62
|
const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
|
|
63
63
|
__name: "App",
|
|
64
64
|
setup(O) {
|
|
65
|
-
const { businessId: r, token: f, country: l } =
|
|
66
|
-
|
|
67
|
-
[() =>
|
|
65
|
+
const { businessId: r, token: f, country: l } = L(_e()), { sessionUser: D, currentBusiness: I, currentCountry: h, registerSidebarComponent: g } = T(), { getRestaurantAndWarehouse: _, getBusinessSetting: N, beginBusinessLoad: B, completeBusinessLoad: ne } = X(), { getFeatureFlags: re } = be(), { version: p } = L(Y()), { getSettings: oe } = we(), { promptLoader: se } = Ee(), e = xe(), F = Je(), R = Ne(), Q = Fe(), n = X(), ie = Y(), { suppressReportRouteSync: b } = L(ie), ue = H(() => `https://portal-v1.feedmedev.cc/b/${r.value}/report/CLOSE_UP?showHeader=false&country=${l.value.toUpperCase()}&menuOption=business-report&token=${f.value}&v2=true&reportV5Button=true`), le = H(() => `https://report-v4.feedmedev.cc?businessId=${r.value}&country=${l.value}&token=${f.value}&reportV3Button=true`);
|
|
66
|
+
S(
|
|
67
|
+
[() => I.value, () => D.value, () => h.value],
|
|
68
68
|
() => {
|
|
69
69
|
var t, o;
|
|
70
|
-
const a = ((t =
|
|
71
|
-
|
|
70
|
+
const a = ((t = I.value) == null ? void 0 : t.id) ?? "";
|
|
71
|
+
I.value && D.value && h.value && (ke(l.value), r.value !== a && (r.value = a), f.value = ((o = D.value) == null ? void 0 : o.token) ?? "", l.value = h.value ?? "", e.query.businessId !== r.value && F.replace({
|
|
72
72
|
name: e.name,
|
|
73
73
|
params: e.params,
|
|
74
74
|
query: { ...e.query, businessId: r.value }
|
|
@@ -76,7 +76,7 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
|
|
|
76
76
|
},
|
|
77
77
|
{ immediate: !0 }
|
|
78
78
|
);
|
|
79
|
-
function
|
|
79
|
+
function V(a) {
|
|
80
80
|
if (typeof a.data == "string")
|
|
81
81
|
try {
|
|
82
82
|
const t = JSON.parse(a.data);
|
|
@@ -85,7 +85,7 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
|
|
|
85
85
|
console.error(t);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function W(a) {
|
|
89
89
|
if (typeof a.data == "string")
|
|
90
90
|
try {
|
|
91
91
|
const t = JSON.parse(a.data);
|
|
@@ -94,24 +94,22 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
|
|
|
94
94
|
console.error(t);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
S(p, () => {
|
|
98
98
|
["v3", "v4"].includes(p.value) ? T().hideSidebarToggle(!0) : T().hideSidebarToggle(!1);
|
|
99
99
|
}), Re(() => {
|
|
100
|
-
g(
|
|
100
|
+
g($e);
|
|
101
101
|
}), ae(() => {
|
|
102
|
-
console.log("5.21.
|
|
102
|
+
console.log("5.21.28-beta.0", !0), window.addEventListener("message", V), window.addEventListener("message", W);
|
|
103
|
+
}), qe(() => {
|
|
104
|
+
window.removeEventListener("message", V), window.removeEventListener("message", W), R.$dispose(), Q.$dispose();
|
|
103
105
|
});
|
|
104
|
-
const
|
|
105
|
-
qe(() => {
|
|
106
|
-
window.removeEventListener("message", Q), window.removeEventListener("message", j), I.$dispose(), V.$dispose();
|
|
107
|
-
});
|
|
108
|
-
const { getReports: ce, getOverviewReport: de, getReportConfig: G, currentReportId: P } = I, { currentReportId: me, reports: fe } = q(I), { getSchema: pe } = Be(), { fetchSchedules: ge } = V, { init: ve } = Ee(), $ = k("v5"), b = k(!1), x = k(!0);
|
|
106
|
+
const { getReports: ce, getOverviewReport: de, getReportConfig: j, currentReportId: G } = R, { currentReportId: me, reports: fe } = L(R), { getSchema: pe } = Be(), { fetchSchedules: ge } = Q, { init: ve } = Ce(), $ = k("v5"), w = k(!1), x = k(!0);
|
|
109
107
|
function ye() {
|
|
110
|
-
const a = e.query.startDate ? i(e.query.startDate).startOf("day").toISOString() : void 0, t = e.query.endDate ? i(e.query.endDate).endOf("day").toISOString() : void 0, o = e.query.timeStart ? JSON.parse(e.query.timeStart) : void 0, c = e.query.timeEnd ? JSON.parse(e.query.timeEnd) : void 0, d = e.query.compareStartDate ? i(e.query.compareStartDate).startOf("day").toISOString() : void 0, v = e.query.compareEndDate ? i(e.query.compareEndDate).endOf("day").toISOString() : void 0,
|
|
108
|
+
const a = e.query.startDate ? i(e.query.startDate).startOf("day").toISOString() : void 0, t = e.query.endDate ? i(e.query.endDate).endOf("day").toISOString() : void 0, o = e.query.timeStart ? JSON.parse(e.query.timeStart) : void 0, c = e.query.timeEnd ? JSON.parse(e.query.timeEnd) : void 0, d = e.query.compareStartDate ? i(e.query.compareStartDate).startOf("day").toISOString() : void 0, v = e.query.compareEndDate ? i(e.query.compareEndDate).endOf("day").toISOString() : void 0, E = e.query.isAllLocation === "true";
|
|
111
109
|
let m = [];
|
|
112
|
-
|
|
113
|
-
let y = e.query.reportId ||
|
|
114
|
-
if (fe.value.find((s) => s.id === y) || (y =
|
|
110
|
+
E ? m = n.selectedLocationIds : m = e.query.locationIds ? JSON.parse(e.query.locationIds) : void 0;
|
|
111
|
+
let y = e.query.reportId || G;
|
|
112
|
+
if (fe.value.find((s) => s.id === y) || (y = G), y && y !== R.currentReportId && R.updateCurrentReportId(y), a || t) {
|
|
115
113
|
const s = n.dateRange;
|
|
116
114
|
(s.startDate !== a || s.endDate !== t) && n.setDateRange({ startDate: a, endDate: t });
|
|
117
115
|
}
|
|
@@ -126,7 +124,7 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
|
|
|
126
124
|
endDate: v
|
|
127
125
|
});
|
|
128
126
|
}
|
|
129
|
-
if (!
|
|
127
|
+
if (!E && Array.isArray(m)) {
|
|
130
128
|
const s = n.selectedLocationIds;
|
|
131
129
|
s.length === m.length && s.every((Se, De) => Se === m[De]) || n.setSelectedLocationIds(m);
|
|
132
130
|
}
|
|
@@ -143,10 +141,15 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
|
|
|
143
141
|
isAllLocation: e.query.isAllLocation
|
|
144
142
|
};
|
|
145
143
|
}
|
|
146
|
-
return
|
|
144
|
+
return S(
|
|
145
|
+
() => h.value,
|
|
146
|
+
(a, t) => {
|
|
147
|
+
!a || a === t || n.setSelectedLocationIds([]);
|
|
148
|
+
}
|
|
149
|
+
), S(
|
|
147
150
|
() => r.value,
|
|
148
151
|
async (a) => {
|
|
149
|
-
a !== "" && (
|
|
152
|
+
a !== "" && (w.value = !1, B(a), x.value || (n.setSelectedLocationIds([]), F.replace({
|
|
150
153
|
name: e.name,
|
|
151
154
|
params: e.params,
|
|
152
155
|
query: {
|
|
@@ -154,17 +157,17 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
|
|
|
154
157
|
locationIds: void 0,
|
|
155
158
|
isAllLocation: "true"
|
|
156
159
|
}
|
|
157
|
-
})),
|
|
160
|
+
})), b.value !== void 0 && (b.value = !0), await se(async () => {
|
|
158
161
|
await ve({
|
|
159
|
-
apiKey: "
|
|
162
|
+
apiKey: "MaGoXrEWuEJNpWgKTqseee",
|
|
160
163
|
url: "https://flag.feedme.farm/api/v1/",
|
|
161
164
|
enableAnalytics: !1,
|
|
162
165
|
cacheFlags: !1
|
|
163
166
|
});
|
|
164
|
-
const t = await
|
|
167
|
+
const t = await j();
|
|
165
168
|
$.value = t.version, p.value = $.value, await Promise.all([
|
|
166
169
|
re(),
|
|
167
|
-
|
|
170
|
+
j(),
|
|
168
171
|
de(),
|
|
169
172
|
ce(),
|
|
170
173
|
pe(),
|
|
@@ -174,13 +177,13 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
|
|
|
174
177
|
),
|
|
175
178
|
oe()
|
|
176
179
|
]), await N(), ye(), ne(a);
|
|
177
|
-
}),
|
|
180
|
+
}), w.value = !0, x.value && (x.value = !1));
|
|
178
181
|
},
|
|
179
182
|
{
|
|
180
183
|
immediate: !0
|
|
181
184
|
}
|
|
182
|
-
),
|
|
183
|
-
() => (
|
|
185
|
+
), S(
|
|
186
|
+
() => (w.value, {
|
|
184
187
|
reportId: me.value,
|
|
185
188
|
selectedLocationIds: n.selectedLocationIds,
|
|
186
189
|
dateRange: n.dateRange,
|
|
@@ -188,9 +191,9 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
|
|
|
188
191
|
compareDateRange: n.compareDateRange
|
|
189
192
|
}),
|
|
190
193
|
(a) => {
|
|
191
|
-
if (!
|
|
192
|
-
if (
|
|
193
|
-
|
|
194
|
+
if (!w.value || !a.reportId) return;
|
|
195
|
+
if (b.value) {
|
|
196
|
+
b.value = !1;
|
|
194
197
|
return;
|
|
195
198
|
}
|
|
196
199
|
const t = a.selectedLocationIds, o = a.dateRange, c = a.timeRange, d = a.compareDateRange, v = {
|
|
@@ -204,8 +207,8 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
|
|
|
204
207
|
timeEnd: c.end ? JSON.stringify(c.end) : void 0,
|
|
205
208
|
locationIds: t.length === n.locations.length ? null : t.length > 0 ? JSON.stringify(t) : void 0,
|
|
206
209
|
isAllLocation: String(t.length === n.locations.length)
|
|
207
|
-
},
|
|
208
|
-
|
|
210
|
+
}, E = JSON.stringify(e.query), m = JSON.stringify(v);
|
|
211
|
+
E !== m && F.replace({
|
|
209
212
|
name: e.name,
|
|
210
213
|
params: e.params,
|
|
211
214
|
query: v
|
|
@@ -214,17 +217,17 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
|
|
|
214
217
|
{ deep: !0 }
|
|
215
218
|
), Ue(), (a, t) => {
|
|
216
219
|
const o = U("router-view");
|
|
217
|
-
return
|
|
220
|
+
return q(), A(Le, null, [
|
|
218
221
|
z(Te),
|
|
219
|
-
u(p) === "v3" ? (
|
|
222
|
+
u(p) === "v3" ? (q(), A("iframe", {
|
|
220
223
|
key: 0,
|
|
221
224
|
class: "bg-white h-full w-full",
|
|
222
225
|
src: ue.value
|
|
223
|
-
}, null, 8, ze)) : u(p) === "v4" ? (
|
|
226
|
+
}, null, 8, ze)) : u(p) === "v4" ? (q(), A("iframe", {
|
|
224
227
|
key: 1,
|
|
225
228
|
class: "bg-white h-full w-full",
|
|
226
229
|
src: le.value
|
|
227
|
-
}, null, 8, Qe)) : (
|
|
230
|
+
}, null, 8, Qe)) : (q(), te(o, { key: 2 }))
|
|
228
231
|
], 64);
|
|
229
232
|
};
|
|
230
233
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as m0, F as y0, w as g0, b as k0, c as Ce, v as be, e as Fe, d as h0, r as K0, m as Ie, u as Me } from "./vue-i18n-
|
|
1
|
+
import { a as m0, F as y0, w as g0, b as k0, c as Ce, v as be, e as Fe, d as h0, r as K0, m as Ie, u as Me } from "./vue-i18n-BdbYuMnB.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 Re, defineComponent as _e, mergeModels as N0, useModel as z0, resolveComponent as A0, createElementBlock as V0, openBlock as P0, createVNode as S0, withCtx as b0, createElementVNode as E0, createCommentVNode as xe, Fragment as re, renderList as Le, createBlock as De, createTextVNode as de, withDirectives as Oe, toDisplayString as T0, unref as $0, vShow as we, renderSlot as ve } from "vue";
|
|
4
4
|
import { useSnackbar as ce, components as Pe } from "@feedmepos/ui-library";
|
|
5
5
|
import { useRouter as Be } from "vue-router";
|
|
6
6
|
import { detectLocale as F0 } from "@feedmepos/mf-common";
|
|
7
|
-
import { c as Je, a as He } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { c as Je, a as He } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DNyvFLmW.js";
|
|
8
8
|
function pe(T) {
|
|
9
9
|
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.');
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as E, resolveComponent as S, createBlock as y, openBlock as D, withCtx as I, createCommentVNode as M, createElementVNode as R, toDisplayString as A, renderSlot as U, mergeModels as C, useModel as b, ref as k, watch as O, createElementBlock as B, unref as f, createVNode as z } from "vue";
|
|
2
|
-
import { d as r, m as W, t as q, u as G, b as H, U as K, C as L } from "./vue-i18n-
|
|
2
|
+
import { d as r, m as W, t as q, u as G, b as H, U as K, C as L } from "./vue-i18n-BdbYuMnB.js";
|
|
3
3
|
import { detectLocale as F } from "@feedmepos/mf-common";
|
|
4
4
|
import { storeToRefs as J } from "pinia";
|
|
5
5
|
var v = /* @__PURE__ */ ((e) => (e.Year = "YEAR", e.Month = "MONTH", e.Week = "WEEK", e.Day = "DAY", e))(v || {});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as u, computed as f, resolveComponent as p, 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-CW6iYOsZ.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as C } from "pinia";
|
|
5
|
-
import { u as q, f as w } from "./vue-i18n-
|
|
5
|
+
import { u as q, f as w } from "./vue-i18n-BdbYuMnB.js";
|
|
6
6
|
import { useRoute as B } from "vue-router";
|
|
7
7
|
const $ = {
|
|
8
8
|
key: 1,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { computed as T, defineComponent as Te, mergeModels as We, useModel as ze, ref as v, onMounted as Ie, nextTick as Se, watch as me, resolveComponent as B, createElementBlock as ne, openBlock as M, Fragment as xe, renderSlot as Ne, createVNode as q, normalizeStyle as Ee, unref as s, createElementVNode as X, toDisplayString as De, withCtx as ie, createBlock as de, createCommentVNode as ke, normalizeClass as Ze, h as rt, renderList as ut, toRaw as xl, markRaw as Sl, createTextVNode as yt, onUnmounted as Ut, resolveDynamicComponent as Cl, withDirectives as kl, vShow as Tl, withModifiers as ht } from "vue";
|
|
2
|
-
import { W as A, e as lt, f as _l, S as qe, v as it, g as Fl, h as ft, i as Yt, q as Gt, R as Ke, j as Ll, D as Re, c as ge, C as Ce, a as Rl, b as Dl, _ as Vl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as at, b as tt, a as Ft, d as Je, i as $l } from "./vue-i18n-
|
|
4
|
-
import { d as bt, _ as El, a as zl, b as Al, c as Ml } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { W as A, e as lt, f as _l, S as qe, v as it, g as Fl, h as ft, i as Yt, q as Gt, R as Ke, j as Ll, D as Re, c as ge, C as Ce, a as Rl, b as Dl, _ as Vl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BHDUNZTW.js";
|
|
3
|
+
import { u as at, b as tt, a as Ft, d as Je, i as $l } from "./vue-i18n-BdbYuMnB.js";
|
|
4
|
+
import { d as bt, _ as El, a as zl, b as Al, c as Ml } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DNyvFLmW.js";
|
|
5
5
|
import { storeToRefs as Ve, defineStore as Xt } from "pinia";
|
|
6
6
|
import { useBreakpoints as jt, useSnackbar as Lt, components as Wl } from "@feedmepos/ui-library";
|
|
7
|
-
import { _ as Il } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as Il } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BzzBdgnw.js";
|
|
8
8
|
import { r as Ue } from "./i18n-7InkCBCc.js";
|
|
9
|
-
import { _ as wt } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as wt } from "./NoData.vue_vue_type_script_setup_true_lang-9qsPvAZJ.js";
|
|
10
10
|
var xt = /* @__PURE__ */ ((e) => (e.line = "LINE", e.bar = "BAR", e))(xt || {}), Be = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(Be || {}), St = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(St || {}), Ct = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(Ct || {}), kt = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(kt || {}), Tt = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(Tt || {}), _t = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(_t || {});
|
|
11
11
|
A.Circular, A.Table, A.BarChart, A.LineChart, A.StackBarChart, A.StackLineChart, A.Scorecard, A.Spacer;
|
|
12
12
|
const Nl = [
|
|
@@ -2,13 +2,13 @@ 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 { d as Bi, a as Kn, q as qn, F as Gn, u as Zn, h as ys, b as oa } from "./vue-i18n-
|
|
5
|
+
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-BngCq1oN.js";
|
|
6
|
+
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DNyvFLmW.js";
|
|
7
|
+
import { d as Bi, a as Kn, q as qn, F as Gn, u as Zn, h as ys, b as oa } from "./vue-i18n-BdbYuMnB.js";
|
|
8
8
|
import { storeToRefs as Jn } from "pinia";
|
|
9
9
|
import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
|
|
10
|
-
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-9qsPvAZJ.js";
|
|
11
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CW6iYOsZ.js";
|
|
12
12
|
import { useCoreStore as ha } from "@feedmepos/mf-common";
|
|
13
13
|
function da({ start: i, end: t }) {
|
|
14
14
|
return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as J, mergeModels as Ae, useModel as te, computed as q, resolveComponent as A, 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 Qe, onMounted as Ge } from "vue";
|
|
2
2
|
import { useRouter as be, useRoute as at } from "vue-router";
|
|
3
|
-
import { u as oe, I as he, d as Se, z as lt, A as nt, e as Ve, f as Pe, b as we, B as ve, E as st, o as rt, y as Me, G as je, H as Ke, J as Le, K as ze, L as it, M as dt, N as mt, O as qe, c as Ze, P as pt, Q as ut, R as ct, S as ft, T as gt } from "./vue-i18n-
|
|
3
|
+
import { u as oe, I as he, d as Se, z as lt, A as nt, e as Ve, f as Pe, b as we, B as ve, E as st, o as rt, y as Me, G as je, H as Ke, J as Le, K as ze, L as it, M as dt, N as mt, O as qe, c as Ze, P as pt, Q as ut, R as ct, S as ft, T as gt } from "./vue-i18n-BdbYuMnB.js";
|
|
4
4
|
import { u as Oe } from "./message-dialog-UoMWOnil.js";
|
|
5
5
|
import { useSnackbar as _e } from "@feedmepos/ui-library";
|
|
6
6
|
import { storeToRefs as Ee } from "pinia";
|
|
7
|
-
import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DNyvFLmW.js";
|
|
8
8
|
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 = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "w-[24px] flex items-center"
|