@feedmepos/mf-report 5.18.2-beta.4 → 5.18.2-beta.5
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-BRjX1jFN.js → App-0zRta0Xy.js} +47 -45
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-djyc20Cp.js → BaseDialog.vue_vue_type_script_setup_true_lang-DLAmjLpT.js} +1 -1
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-uiSe3Jon.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DJIV8Ogq.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-DpSgAipe.js → Default.vue_vue_type_script_setup_true_lang-az465cWp.js} +2 -2
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DKA5lLXB.js → DynamicWidget.vue_vue_type_script_setup_true_lang-Cg9Q0Alk.js} +5 -5
- package/dist/{InsightView-CxCeRQ-P.js → InsightView-C580gT_F.js} +5 -5
- package/dist/{Integration-CWUSF_o7.js → Integration-DY8R4ERN.js} +2 -2
- package/dist/{Integrations-BOVIAEgw.js → Integrations-DyYYCkQh.js} +3 -3
- package/dist/{Layout-B2cpQx3C.js → Layout-Cg6B3_PB.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-C8oiHuOX.js → MenuTab.vue_vue_type_script_setup_true_lang-mevBIWGb.js} +6 -6
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CDxb2Mjg.js → NavigationTab.vue_vue_type_script_setup_true_lang-CbS3wT-Z.js} +6759 -6747
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js → NoData.vue_vue_type_script_setup_true_lang-JK38qSlL.js} +1 -1
- package/dist/{OverviewView-D8mA0P3y.js → OverviewView-DPlvHfbM.js} +5 -5
- package/dist/{Report-Cg9Fen7g.js → Report-CYFbRFXI.js} +4 -4
- package/dist/{ReportEditor-C6TXPHhT.js → ReportEditor-CDdWFzYL.js} +6 -6
- package/dist/{ReportView-CUEWuq1w.js → ReportView-vZTFkb70.js} +7 -7
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-mR2PeX3S.js → SelectComponent.vue_vue_type_script_setup_true_lang-CoMcbMHU.js} +1 -1
- package/dist/{Setting-BxLdkt7x.js → Setting-B31bz7Ok.js} +4 -4
- package/dist/{TileEditor-DbbSibJa.js → TileEditor-C_hRfM-H.js} +7 -7
- package/dist/{TransitionFade-CiVLb7cy.js → TransitionFade-K0ZfP5kz.js} +5 -5
- package/dist/app.js +23 -19
- package/dist/{helper-UCnMF9KV.js → helper-DDO1q72b.js} +1 -1
- package/dist/{vue-i18n-CTLGxUiF.js → vue-i18n-Cjs2Btd-.js} +23 -23
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as X, resolveComponent as
|
|
2
|
-
import { detectLocale as C, useCoreStore as
|
|
3
|
-
import { u as Se, d as i, a as De, b as K, c as Ie, e as he, f as Re, s as qe, g as Oe } from "./vue-i18n-
|
|
1
|
+
import { defineComponent as X, resolveComponent as B, createBlock as Y, openBlock as I, unref as u, isRef as fe, withCtx as F, createElementVNode as V, createVNode as x, toDisplayString as W, createTextVNode as pe, onMounted as Z, watch as h, ref as A, computed as G, onBeforeMount as ge, onBeforeUnmount as ye, createElementBlock as $, Fragment as ve } from "vue";
|
|
2
|
+
import { detectLocale as C, useCoreStore as J } from "@feedmepos/mf-common";
|
|
3
|
+
import { u as Se, d as i, a as De, b as K, c as Ie, e as he, f as Re, s as qe, g as Oe } from "./vue-i18n-Cjs2Btd-.js";
|
|
4
4
|
import { storeToRefs as b } from "pinia";
|
|
5
|
-
import { u as _e, a as
|
|
6
|
-
import { _ as be, u as Ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as _e, a as Le, b as we } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DLAmjLpT.js";
|
|
6
|
+
import { _ as be, u as Ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CbS3wT-Z.js";
|
|
7
7
|
import { u as P } from "./message-dialog-UoMWOnil.js";
|
|
8
8
|
import { useRoute as Ee, useRouter as ke } from "vue-router";
|
|
9
9
|
const Ne = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Fe = /* @__PURE__ */ X({
|
|
10
10
|
__name: "Dialog",
|
|
11
11
|
setup(R) {
|
|
12
|
-
const { t:
|
|
12
|
+
const { t: o } = Se(), f = P(), { isOpened: c, message: v, title: S } = b(P());
|
|
13
13
|
return (q, g) => {
|
|
14
|
-
const O =
|
|
14
|
+
const O = B("FmButton"), E = B("FmDialog");
|
|
15
15
|
return I(), Y(E, {
|
|
16
16
|
modelValue: u(c),
|
|
17
17
|
"onUpdate:modelValue": g[0] || (g[0] = (k) => fe(c) ? c.value = k : null),
|
|
@@ -22,17 +22,17 @@ const Ne = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Fe
|
|
|
22
22
|
pe(W(u(S)), 1)
|
|
23
23
|
]),
|
|
24
24
|
default: F(() => [
|
|
25
|
-
|
|
25
|
+
V("p", Ne, W(u(v)), 1)
|
|
26
26
|
]),
|
|
27
27
|
"dialog-footer": F(() => [
|
|
28
|
-
g[1] || (g[1] =
|
|
28
|
+
g[1] || (g[1] = V("div", { class: "grow" }, null, -1)),
|
|
29
29
|
x(O, {
|
|
30
|
-
label: u(
|
|
30
|
+
label: u(o)("report.common.cancel"),
|
|
31
31
|
variant: "tertiary",
|
|
32
32
|
onClick: u(f).dismiss
|
|
33
33
|
}, null, 8, ["label", "onClick"]),
|
|
34
34
|
x(O, {
|
|
35
|
-
label: u(
|
|
35
|
+
label: u(o)("report.common.confirm"),
|
|
36
36
|
onClick: u(f).confirm
|
|
37
37
|
}, null, 8, ["label", "onClick"])
|
|
38
38
|
]),
|
|
@@ -42,8 +42,8 @@ const Ne = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Fe
|
|
|
42
42
|
}
|
|
43
43
|
}), H = A(C());
|
|
44
44
|
function $e() {
|
|
45
|
-
const R = (
|
|
46
|
-
switch (H.value =
|
|
45
|
+
const R = (o) => {
|
|
46
|
+
switch (H.value = o, o) {
|
|
47
47
|
case "zh-CN":
|
|
48
48
|
i.locale("zh-cn");
|
|
49
49
|
break;
|
|
@@ -59,19 +59,19 @@ function $e() {
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
i.locale(C() === "zh-CN" ? "zh-cn" : "en");
|
|
62
|
-
const
|
|
62
|
+
const Je = ["src"], Be = ["src"], Ke = /* @__PURE__ */ X({
|
|
63
63
|
__name: "App",
|
|
64
64
|
setup(R) {
|
|
65
|
-
const { businessId:
|
|
65
|
+
const { businessId: o, token: f, country: c } = b(De()), { sessionUser: v, currentBusiness: S, currentCountry: q, registerSidebarComponent: g } = J(), { getRestaurantAndWarehouse: O, getBusinessSetting: E } = K(), { getFeatureFlags: k } = Ie(), { version: p } = b(_e()), { getSettings: M } = he(), { promptLoader: ee } = Re(), e = Ee(), T = ke(), te = G(() => `https://portal-v1.feedmedev.cc/b/${o.value}/report/CLOSE_UP?showHeader=false&country=${c.value.toUpperCase()}&menuOption=business-report&token=${f.value}&v2=true&reportV5Button=true`), ae = G(() => `https://report-v4.feedmedev.cc?businessId=${o.value}&country=${c.value}&token=${f.value}&reportV3Button=true`);
|
|
66
66
|
h(
|
|
67
67
|
[() => S.value, () => v.value, () => q.value],
|
|
68
68
|
() => {
|
|
69
|
-
var t,
|
|
69
|
+
var t, r;
|
|
70
70
|
const a = ((t = S.value) == null ? void 0 : t.id) ?? "";
|
|
71
|
-
S.value && v.value && q.value && (qe(c.value),
|
|
71
|
+
S.value && v.value && q.value && (qe(c.value), o.value !== a && (o.value = a), f.value = ((r = v.value) == null ? void 0 : r.token) ?? "", c.value = q.value ?? "", e.query.businessId !== o.value && T.replace({
|
|
72
72
|
name: e.name,
|
|
73
73
|
params: e.params,
|
|
74
|
-
query: { ...e.query, businessId:
|
|
74
|
+
query: { ...e.query, businessId: o.value }
|
|
75
75
|
}));
|
|
76
76
|
},
|
|
77
77
|
{ immediate: !0 }
|
|
@@ -95,29 +95,29 @@ const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
h(p, () => {
|
|
98
|
-
["v3", "v4"].includes(p.value) ?
|
|
98
|
+
["v3", "v4"].includes(p.value) ? J().hideSidebarToggle(!0) : J().hideSidebarToggle(!1);
|
|
99
99
|
}), ge(() => {
|
|
100
100
|
g(be);
|
|
101
101
|
}), Z(() => {
|
|
102
|
-
console.log("5.18.2-beta.
|
|
102
|
+
console.log("5.18.2-beta.5", !0), window.addEventListener("message", U), window.addEventListener("message", z);
|
|
103
103
|
});
|
|
104
|
-
const D =
|
|
104
|
+
const D = Le(), Q = Ce(), n = K();
|
|
105
105
|
ye(() => {
|
|
106
106
|
window.removeEventListener("message", U), window.removeEventListener("message", z), D.$dispose(), Q.$dispose();
|
|
107
107
|
});
|
|
108
|
-
const { getReports: ne, getOverviewReport: re, getReportConfig:
|
|
108
|
+
const { getReports: ne, getOverviewReport: re, getReportConfig: j, currentReportId: oe } = D, { currentReportId: se } = b(D), { getSchema: ie } = we(), { fetchSchedules: ue } = Q, { init: ce } = Oe(), N = A("v5"), _ = A(!1);
|
|
109
109
|
function le() {
|
|
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,
|
|
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, r = e.query.timeStart ? JSON.parse(e.query.timeStart) : void 0, l = e.query.timeEnd ? JSON.parse(e.query.timeEnd) : void 0, d = e.query.compareStartDate ? i(e.query.compareStartDate).startOf("day").toISOString() : void 0, y = e.query.compareEndDate ? i(e.query.compareEndDate).endOf("day").toISOString() : void 0, L = e.query.isAllLocation === "true";
|
|
111
111
|
let m = [];
|
|
112
|
-
|
|
113
|
-
const
|
|
114
|
-
if (
|
|
112
|
+
L ? m = n.selectedLocationIds : m = e.query.locationIds ? JSON.parse(e.query.locationIds) : void 0;
|
|
113
|
+
const w = e.query.reportId || oe;
|
|
114
|
+
if (w && w !== D.currentReportId && D.updateCurrentReportId(w), a || t) {
|
|
115
115
|
const s = n.dateRange;
|
|
116
116
|
(s.startDate !== a || s.endDate !== t) && n.setDateRange({ startDate: a, endDate: t });
|
|
117
117
|
}
|
|
118
|
-
if (
|
|
118
|
+
if (r || l) {
|
|
119
119
|
const s = n.timeRange;
|
|
120
|
-
(s.start !==
|
|
120
|
+
(s.start !== r || s.end !== l) && n.setTimeRange({ start: r, end: l });
|
|
121
121
|
}
|
|
122
122
|
if (d || y) {
|
|
123
123
|
const s = n.compareDateRange;
|
|
@@ -126,12 +126,13 @@ const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
|
|
|
126
126
|
endDate: y
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
|
-
if (!
|
|
129
|
+
if (!L && Array.isArray(m)) {
|
|
130
130
|
const s = n.selectedLocationIds;
|
|
131
131
|
s.length === m.length && s.every((de, me) => de === m[me]) || n.setSelectedLocationIds(m);
|
|
132
132
|
}
|
|
133
133
|
return {
|
|
134
|
-
|
|
134
|
+
// TODO: this returned value can used for getBusinessSetting
|
|
135
|
+
reportId: w,
|
|
135
136
|
startDate: e.query.startDate,
|
|
136
137
|
endDate: e.query.endDate,
|
|
137
138
|
timeStart: e.query.timeStart,
|
|
@@ -143,19 +144,19 @@ const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
|
|
|
143
144
|
};
|
|
144
145
|
}
|
|
145
146
|
return h(
|
|
146
|
-
() =>
|
|
147
|
-
async () => {
|
|
148
|
-
|
|
147
|
+
() => o.value,
|
|
148
|
+
async (a, t) => {
|
|
149
|
+
a !== "" && (_.value = !1, await ee(async () => {
|
|
149
150
|
await ce({
|
|
150
151
|
apiKey: "MaGoXrEWuEJNpWgKTqseee",
|
|
151
152
|
url: "https://flag.feedme.farm/api/v1/",
|
|
152
153
|
enableAnalytics: !1,
|
|
153
154
|
cacheFlags: !1
|
|
154
155
|
});
|
|
155
|
-
const
|
|
156
|
-
N.value =
|
|
156
|
+
const r = await j();
|
|
157
|
+
N.value = r.version, p.value = N.value, await Promise.all([
|
|
157
158
|
k(),
|
|
158
|
-
|
|
159
|
+
j(),
|
|
159
160
|
re(),
|
|
160
161
|
ne(),
|
|
161
162
|
ie(),
|
|
@@ -164,7 +165,7 @@ const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
|
|
|
164
165
|
e.query.locationIds ? JSON.parse(e.query.locationIds) : null
|
|
165
166
|
),
|
|
166
167
|
M()
|
|
167
|
-
]), await E(), le();
|
|
168
|
+
]), await E(), (!t || t == a) && le();
|
|
168
169
|
}), _.value = !0);
|
|
169
170
|
},
|
|
170
171
|
{
|
|
@@ -180,19 +181,20 @@ const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
|
|
|
180
181
|
}),
|
|
181
182
|
(a) => {
|
|
182
183
|
if (!_.value || !a.reportId) return;
|
|
183
|
-
|
|
184
|
+
console.log("loaded.."), console.log(a);
|
|
185
|
+
const t = a.selectedLocationIds, r = a.dateRange, l = a.timeRange, d = a.compareDateRange, y = {
|
|
184
186
|
...e.query,
|
|
185
187
|
reportId: a.reportId,
|
|
186
|
-
startDate:
|
|
187
|
-
endDate:
|
|
188
|
+
startDate: r.startDate ? i(r.startDate).startOf("day").toISOString() : void 0,
|
|
189
|
+
endDate: r.endDate ? i(r.endDate).endOf("day").toISOString() : void 0,
|
|
188
190
|
compareStartDate: d.startDate ? i(d.startDate).startOf("day").toISOString() : void 0,
|
|
189
191
|
compareEndDate: d.endDate ? i(d.endDate).endOf("day").toISOString() : void 0,
|
|
190
192
|
timeStart: l.start ? JSON.stringify(l.start) : void 0,
|
|
191
193
|
timeEnd: l.end ? JSON.stringify(l.end) : void 0,
|
|
192
194
|
locationIds: t.length === n.locations.length ? null : t.length > 0 ? JSON.stringify(t) : void 0,
|
|
193
195
|
isAllLocation: String(t.length === n.locations.length)
|
|
194
|
-
},
|
|
195
|
-
|
|
196
|
+
}, L = JSON.stringify(e.query), m = JSON.stringify(y);
|
|
197
|
+
L !== m && T.replace({
|
|
196
198
|
name: e.name,
|
|
197
199
|
params: e.params,
|
|
198
200
|
query: y
|
|
@@ -200,18 +202,18 @@ const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
|
|
|
200
202
|
},
|
|
201
203
|
{ deep: !0 }
|
|
202
204
|
), $e(), (a, t) => {
|
|
203
|
-
const
|
|
205
|
+
const r = B("router-view");
|
|
204
206
|
return I(), $(ve, null, [
|
|
205
207
|
x(Fe),
|
|
206
208
|
u(p) === "v3" ? (I(), $("iframe", {
|
|
207
209
|
key: 0,
|
|
208
210
|
class: "bg-white h-full w-full",
|
|
209
211
|
src: te.value
|
|
210
|
-
}, null, 8,
|
|
212
|
+
}, null, 8, Je)) : u(p) === "v4" ? (I(), $("iframe", {
|
|
211
213
|
key: 1,
|
|
212
214
|
class: "bg-white h-full w-full",
|
|
213
215
|
src: ae.value
|
|
214
|
-
}, null, 8,
|
|
216
|
+
}, null, 8, Be)) : (I(), Y(r, { key: 2 }))
|
|
215
217
|
], 64);
|
|
216
218
|
};
|
|
217
219
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as Q0, a as e0, F as Z,
|
|
1
|
+
import { k as Q0, a as e0, F as Z, w as x0, b as R0, c as tu, v as ru, d as p0, e as fu, m as H0, r as N0, l as iu } from "./vue-i18n-Cjs2Btd-.js";
|
|
2
2
|
import { storeToRefs as X, defineStore as D0 } from "pinia";
|
|
3
3
|
import { ref as V, computed as m0, watch as q0, h as nu, defineComponent as bu, mergeModels as G0, useModel as su, resolveComponent as V0, createBlock as lu, openBlock as ou, withCtx as v0, createElementVNode as _u, createVNode as z0, renderSlot as pu, createTextVNode as $u, toDisplayString as yu } from "vue";
|
|
4
4
|
import { useSnackbar as Y0, components as gu } from "@feedmepos/ui-library";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as $, resolveComponent as S, createBlock as v, openBlock as c, withCtx as C, createCommentVNode as h, createElementVNode as x, toDisplayString as Y, renderSlot as j, mergeModels as T, useModel as R, ref as V, watch as k, createElementBlock as U, createVNode as b, unref as m } from "vue";
|
|
2
|
-
import { d as n, l as q,
|
|
3
|
-
import { d as F } from "./helper-
|
|
2
|
+
import { d as n, l as q, t as _, u as A, a as G, m as L, S as Q, C as H } from "./vue-i18n-Cjs2Btd-.js";
|
|
3
|
+
import { d as F } from "./helper-DDO1q72b.js";
|
|
4
4
|
import { detectLocale as P } from "@feedmepos/mf-common";
|
|
5
5
|
import { storeToRefs as J } from "pinia";
|
|
6
6
|
const K = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, W = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, M = /* @__PURE__ */ $({
|
|
@@ -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-CbS3wT-Z.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-Cjs2Btd-.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 y, defineComponent as ee, mergeModels as me, useModel as te, ref as h, onMounted as ke, nextTick as X, watch as J, resolveComponent as V, createElementBlock as N, openBlock as W, Fragment as oe, renderSlot as pe, createVNode as B, normalizeStyle as ne, unref as l, createElementVNode as P, toDisplayString as Le, withCtx as q, createBlock as U, createCommentVNode as he, normalizeClass as Pe, h as bt, renderList as kt, createTextVNode as Qt, onUnmounted as ea, resolveDynamicComponent as ta, withDirectives as aa, vShow as la } from "vue";
|
|
2
|
-
import { W as F, d as Ee, v as $e, e as Ye, f as _t, q as oa, R as xe, g as na } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as Me, b as at, a as lt } from "./vue-i18n-
|
|
4
|
-
import { a as wt } from "./helper-
|
|
2
|
+
import { W as F, d as Ee, v as $e, e as Ye, f as _t, q as oa, R as xe, g as na } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DLAmjLpT.js";
|
|
3
|
+
import { u as Me, b as at, a as lt } from "./vue-i18n-Cjs2Btd-.js";
|
|
4
|
+
import { a as wt } from "./helper-DDO1q72b.js";
|
|
5
5
|
import { storeToRefs as ze, defineStore as sa } from "pinia";
|
|
6
6
|
import { useBreakpoints as Tt, components as ra, useSnackbar as Rt } from "@feedmepos/ui-library";
|
|
7
|
-
import { a as ia } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { a as ia } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CoMcbMHU.js";
|
|
8
8
|
import { r as Ce } from "./i18n-Cif1I9J2.js";
|
|
9
|
-
import { _ as xt } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as xt } from "./NoData.vue_vue_type_script_setup_true_lang-JK38qSlL.js";
|
|
10
10
|
var Je = /* @__PURE__ */ ((e) => (e.line = "LINE", e.bar = "BAR", e))(Je || {}), Z = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(Z || {}), Ke = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(Ke || {}), Ze = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(Ze || {}), Qe = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(Qe || {}), et = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(et || {}), tt = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(tt || {});
|
|
11
11
|
F.Circular, F.Table, F.BarChart, F.LineChart, F.StackBarChart, F.StackLineChart, F.Scorecard, F.Spacer;
|
|
12
12
|
const ua = [
|
|
@@ -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-az465cWp.js";
|
|
6
|
+
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DJIV8Ogq.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-Cjs2Btd-.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-JK38qSlL.js";
|
|
11
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CbS3wT-Z.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 Q, mergeModels as Se, useModel as W, computed as Y, resolveComponent as K, createElementBlock as P, openBlock as b, createElementVNode as t, createCommentVNode as O, normalizeClass as je, Fragment as xe, createBlock as M, withCtx as we, toDisplayString as C, renderList as Ce, createVNode as n, unref as r, normalizeStyle as Je, createTextVNode as Ze, ref as q, onUnmounted as Ae, watch as _e, isRef as $e, h as A, resolveDynamicComponent as Ve, mergeProps as Be, onMounted as qe } from "vue";
|
|
2
2
|
import { useRouter as ue, useRoute as et } from "vue-router";
|
|
3
|
-
import { u as J, I as ge, d as Me,
|
|
3
|
+
import { u as J, I as ge, d as Me, x as tt, e as ke, f as De, b as fe, A as ot, o as at, z as Ke, B as Te, E as Fe, G as Ne, H as Ee, J as lt, K as nt, L as st, M as be, N as Oe, O as it, P as rt, Q as dt, R as mt } from "./vue-i18n-Cjs2Btd-.js";
|
|
4
4
|
import { u as Ue } from "./message-dialog-UoMWOnil.js";
|
|
5
5
|
import { useSnackbar as ve } from "@feedmepos/ui-library";
|
|
6
6
|
import { storeToRefs as Ie } from "pinia";
|
|
7
|
-
import { _ as Pe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as Pe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DJIV8Ogq.js";
|
|
8
8
|
const pt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, ct = { class: "w-[100%]" }, ut = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, ft = { class: "w-[100%] flex flex-row gap-[4px]" }, vt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, gt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, yt = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "w-[24px] flex items-center"
|