@feedmepos/mf-report 5.21.30-beta.0 → 5.21.30
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-CFAv2cOj.js → App-BJoyhKJ0.js} +40 -40
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-BHDUNZTW.js → BaseDialog.vue_vue_type_script_setup_true_lang-QzLGWBvd.js} +2 -2
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-DNyvFLmW.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CS10GX8d.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BngCq1oN.js → Default.vue_vue_type_script_setup_true_lang-oPfgV8Ba.js} +2 -2
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-couq_dUJ.js → FilterSelector.vue_vue_type_script_setup_true_lang-B2jdNYHG.js} +5 -5
- package/dist/{InsightView-ICPiE8SX.js → InsightView-B3zeWLpB.js} +5 -5
- package/dist/{Integration-Xi1LTYf-.js → Integration-Ne6z0Ue8.js} +2 -2
- package/dist/{Integrations-BQT5pOBg.js → Integrations-SXV9M3b-.js} +3 -3
- package/dist/{Layout-DUxsrloe.js → Layout-BfhdHhdb.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BbLrho8e.js → MenuTab.vue_vue_type_script_setup_true_lang-CwzcLrSB.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CW6iYOsZ.js → NavigationTab.vue_vue_type_script_setup_true_lang-M3kgeSAQ.js} +4 -4
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-9qsPvAZJ.js → NoData.vue_vue_type_script_setup_true_lang-DDKbpI_N.js} +1 -1
- package/dist/{OverviewView-Cfndl9st.js → OverviewView-Ds4s9oxp.js} +5 -5
- package/dist/{Report-BMGDPM1m.js → Report-CDyfJ8O3.js} +4 -4
- package/dist/{ReportEditor-pxReQ1bH.js → ReportEditor-BFF57S9g.js} +6 -6
- package/dist/{ReportView-C-fIIMa3.js → ReportView-C_noR8lh.js} +8 -8
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-BzzBdgnw.js → SelectComponent.vue_vue_type_script_setup_true_lang-BhWCLEfp.js} +1 -1
- package/dist/{Setting-BKQ0B3Hk.js → Setting-8zch0HnP.js} +4 -4
- package/dist/{TileEditor-CQTvQwgo.js → TileEditor-BeianCEO.js} +7 -7
- package/dist/{TransitionFade-Bb4GLqqB.js → TransitionFade-B1etHHO2.js} +5 -5
- package/dist/app.js +11 -11
- package/dist/{vue-i18n-BdbYuMnB.js → vue-i18n-D1iec8Wy.js} +1 -1
- package/package.json +1 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { defineComponent as se, resolveComponent as V, createBlock as ie, openBlock as R, unref as c, isRef as
|
|
2
|
-
import { detectLocale as N, useCoreStore as
|
|
3
|
-
import { u as Ae, d as u, a as Ne, b as ne, c as Te, e as Be, f as Fe, s as $e, g as xe } from "./vue-i18n-
|
|
1
|
+
import { defineComponent as se, resolveComponent as V, createBlock as ie, openBlock as R, unref as c, isRef as be, withCtx as j, createElementVNode as M, createVNode as P, toDisplayString as ee, createTextVNode as we, onMounted as ue, watch as q, ref as A, computed as te, onBeforeMount as Ce, onBeforeUnmount as Ee, createElementBlock as z, Fragment as ke } from "vue";
|
|
2
|
+
import { detectLocale as N, useCoreStore as Q } from "@feedmepos/mf-common";
|
|
3
|
+
import { u as Ae, d as u, a as Ne, b as ne, c as Te, e as Be, f as Fe, s as $e, g as xe } from "./vue-i18n-D1iec8Wy.js";
|
|
4
4
|
import { storeToRefs as L } 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
|
|
5
|
+
import { u as re, a as Je, b as Ue } from "./BaseDialog.vue_vue_type_script_setup_true_lang-QzLGWBvd.js";
|
|
6
|
+
import { u as je, _ as ze } from "./NavigationTab.vue_vue_type_script_setup_true_lang-M3kgeSAQ.js";
|
|
7
7
|
import { u as ae } from "./message-dialog-UoMWOnil.js";
|
|
8
|
-
import { useRoute as
|
|
9
|
-
const
|
|
8
|
+
import { useRoute as Qe, useRouter as Ve } from "vue-router";
|
|
9
|
+
const Pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Ge = /* @__PURE__ */ se({
|
|
10
10
|
__name: "Dialog",
|
|
11
11
|
setup(_) {
|
|
12
12
|
const { t: i } = Ae(), l = ae(), { isOpened: d, message: S, title: D } = L(ae());
|
|
13
13
|
return (f, g) => {
|
|
14
|
-
const
|
|
14
|
+
const O = V("FmButton"), T = V("FmDialog");
|
|
15
15
|
return R(), ie(T, {
|
|
16
16
|
modelValue: c(d),
|
|
17
|
-
"onUpdate:modelValue": g[0] || (g[0] = (B) =>
|
|
17
|
+
"onUpdate:modelValue": g[0] || (g[0] = (B) => be(d) ? d.value = B : null),
|
|
18
18
|
overlay: "",
|
|
19
19
|
"close-button": !1
|
|
20
20
|
}, {
|
|
21
|
-
"dialog-header":
|
|
21
|
+
"dialog-header": j(() => [
|
|
22
22
|
we(ee(c(D)), 1)
|
|
23
23
|
]),
|
|
24
|
-
default:
|
|
25
|
-
M("p",
|
|
24
|
+
default: j(() => [
|
|
25
|
+
M("p", Pe, ee(c(S)), 1)
|
|
26
26
|
]),
|
|
27
|
-
"dialog-footer":
|
|
27
|
+
"dialog-footer": j(() => [
|
|
28
28
|
g[1] || (g[1] = M("div", { class: "grow" }, null, -1)),
|
|
29
|
-
|
|
29
|
+
P(O, {
|
|
30
30
|
label: c(i)("report.common.cancel"),
|
|
31
31
|
variant: "tertiary",
|
|
32
32
|
onClick: c(l).dismiss
|
|
33
33
|
}, null, 8, ["label", "onClick"]),
|
|
34
|
-
|
|
34
|
+
P(O, {
|
|
35
35
|
label: c(i)("report.common.confirm"),
|
|
36
36
|
onClick: c(l).confirm
|
|
37
37
|
}, null, 8, ["label", "onClick"])
|
|
@@ -41,7 +41,7 @@ const We = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Pe
|
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
}), oe = A(N());
|
|
44
|
-
function
|
|
44
|
+
function We() {
|
|
45
45
|
const _ = (i) => {
|
|
46
46
|
switch (oe.value = i, i) {
|
|
47
47
|
case "zh-CN":
|
|
@@ -59,10 +59,10 @@ function Ge() {
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
u.locale(N() === "zh-CN" ? "zh-cn" : "en");
|
|
62
|
-
const
|
|
62
|
+
const He = ["src"], Ke = ["src"], it = /* @__PURE__ */ se({
|
|
63
63
|
__name: "App",
|
|
64
64
|
setup(_) {
|
|
65
|
-
const { businessId: i, token: l, country: d } = L(Ne()), { sessionUser: S, currentBusiness: D, currentCountry: f, registerSidebarComponent: g } =
|
|
65
|
+
const { businessId: i, token: l, country: d } = L(Ne()), { sessionUser: S, currentBusiness: D, currentCountry: f, registerSidebarComponent: g } = Q(), { getRestaurantAndWarehouse: O, getBusinessSetting: T, beginBusinessLoad: B, completeBusinessLoad: ce } = ne(), { getFeatureFlags: de } = Te(), { version: m } = L(re()), { getSettings: le } = Be(), { promptLoader: fe } = Fe(), n = Qe(), F = Ve(), h = Je(), G = je(), r = ne(), me = re(), { suppressReportRouteSync: b } = L(me), pe = te(() => `https://portal-v1.feedme.cc/b/${i.value}/report/CLOSE_UP?showHeader=false&country=${d.value.toUpperCase()}&menuOption=business-report&token=${l.value}&v2=true&reportV5Button=true`), ge = te(() => `https://report-v4.feedme.cc?businessId=${i.value}&country=${d.value}&token=${l.value}&reportV3Button=true`);
|
|
66
66
|
q(
|
|
67
67
|
[() => D.value, () => S.value, () => f.value],
|
|
68
68
|
() => {
|
|
@@ -86,7 +86,7 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
|
|
|
86
86
|
},
|
|
87
87
|
{ immediate: !0 }
|
|
88
88
|
);
|
|
89
|
-
function
|
|
89
|
+
function W(e) {
|
|
90
90
|
if (typeof e.data == "string")
|
|
91
91
|
try {
|
|
92
92
|
const t = JSON.parse(e.data);
|
|
@@ -95,7 +95,7 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
|
|
|
95
95
|
console.error(t);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function H(e) {
|
|
99
99
|
if (typeof e.data == "string")
|
|
100
100
|
try {
|
|
101
101
|
const t = JSON.parse(e.data);
|
|
@@ -105,15 +105,15 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
q(m, () => {
|
|
108
|
-
["v3", "v4"].includes(m.value) ?
|
|
108
|
+
["v3", "v4"].includes(m.value) ? Q().hideSidebarToggle(!0) : Q().hideSidebarToggle(!1);
|
|
109
109
|
}), Ce(() => {
|
|
110
|
-
g(
|
|
110
|
+
g(ze);
|
|
111
111
|
}), ue(() => {
|
|
112
|
-
console.log("5.21.30
|
|
112
|
+
console.log("5.21.30", !0), window.addEventListener("message", W), window.addEventListener("message", H);
|
|
113
113
|
}), Ee(() => {
|
|
114
|
-
window.removeEventListener("message",
|
|
114
|
+
window.removeEventListener("message", W), window.removeEventListener("message", H), h.$dispose(), G.$dispose();
|
|
115
115
|
});
|
|
116
|
-
const { getReports: ye, getOverviewReport: ve, getReportConfig:
|
|
116
|
+
const { getReports: ye, getOverviewReport: ve, getReportConfig: K, currentReportId: X } = h, { currentReportId: Se, reports: De } = L(h), { getSchema: he } = Ue(), { fetchSchedules: Ie } = G, { init: Re } = xe(), $ = A("v5"), w = A(!1), x = A(!0);
|
|
117
117
|
function qe(e) {
|
|
118
118
|
try {
|
|
119
119
|
return decodeURIComponent(e);
|
|
@@ -143,7 +143,7 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
|
|
|
143
143
|
return typeof t.hour == "number" && typeof t.minute == "number";
|
|
144
144
|
}
|
|
145
145
|
function Le() {
|
|
146
|
-
const e = n.query.startDate ? u(n.query.startDate).startOf("day").toISOString() : void 0, t = n.query.endDate ? u(n.query.endDate).endOf("day").toISOString() : void 0, a = typeof n.query.timeStart == "string", s = typeof n.query.timeEnd == "string", p = C(n.query.timeStart), I = C(n.query.timeEnd), E = Y(p) ? p : null, k = Y(I) ? I : null, J = n.query.compareStartDate ? u(n.query.compareStartDate).startOf("day").toISOString() : void 0, U = n.query.compareEndDate ? u(n.query.compareEndDate).endOf("day").toISOString() : void 0, Z = n.query.isAllLocation === "true";
|
|
146
|
+
const e = n.query.startDate ? u(n.query.startDate).startOf("day").toISOString() : void 0, t = n.query.endDate ? u(n.query.endDate).endOf("day").toISOString() : void 0, a = typeof n.query.timeStart == "string", s = typeof n.query.timeEnd == "string", p = C(n.query.timeStart), I = C(n.query.timeEnd), E = Y(p) ? p : null, k = Y(I) ? I : null, J = n.query.compareStartDate ? u(n.query.compareStartDate).startOf("day").toISOString() : void 0, U = n.query.compareEndDate ? u(n.query.compareEndDate).endOf("day").toISOString() : void 0, Z = n.query.isAllLocation === "true" || n.query.isAllLocation === void 0;
|
|
147
147
|
let y = [];
|
|
148
148
|
if (Z)
|
|
149
149
|
y = r.selectedLocationIds;
|
|
@@ -169,7 +169,7 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
|
|
|
169
169
|
}
|
|
170
170
|
if (!Z && Array.isArray(y)) {
|
|
171
171
|
const o = r.selectedLocationIds;
|
|
172
|
-
o.length === y.length && o.every((_e,
|
|
172
|
+
o.length === y.length && o.every((_e, Oe) => _e === y[Oe]) || r.setSelectedLocationIds(y);
|
|
173
173
|
}
|
|
174
174
|
return {
|
|
175
175
|
// TODO: this returned value can used for getBusinessSetting
|
|
@@ -195,22 +195,22 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
|
|
|
195
195
|
locationIds: void 0,
|
|
196
196
|
isAllLocation: "true"
|
|
197
197
|
}
|
|
198
|
-
})),
|
|
198
|
+
})), b.value !== void 0 && (b.value = !0), await fe(async () => {
|
|
199
199
|
await Re({
|
|
200
|
-
apiKey: "
|
|
200
|
+
apiKey: "6GhcttsJ9Rj9cTevcdrpin",
|
|
201
201
|
url: "https://flag.feedme.farm/api/v1/",
|
|
202
202
|
enableAnalytics: !1,
|
|
203
203
|
cacheFlags: !1
|
|
204
204
|
});
|
|
205
|
-
const t = await
|
|
205
|
+
const t = await K();
|
|
206
206
|
$.value = t.version, m.value = $.value, await Promise.all([
|
|
207
207
|
de(),
|
|
208
|
-
|
|
208
|
+
K(),
|
|
209
209
|
ve(),
|
|
210
210
|
ye(),
|
|
211
211
|
he(),
|
|
212
212
|
Ie(),
|
|
213
|
-
|
|
213
|
+
O(
|
|
214
214
|
(() => {
|
|
215
215
|
const a = C(n.query.locationIds);
|
|
216
216
|
return Array.isArray(a) ? a : void 0;
|
|
@@ -233,8 +233,8 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
|
|
|
233
233
|
}),
|
|
234
234
|
(e) => {
|
|
235
235
|
if (!w.value || !e.reportId) return;
|
|
236
|
-
if (
|
|
237
|
-
|
|
236
|
+
if (b.value) {
|
|
237
|
+
b.value = !1;
|
|
238
238
|
return;
|
|
239
239
|
}
|
|
240
240
|
const t = e.selectedLocationIds, a = e.dateRange, s = e.timeRange, p = e.compareDateRange, I = {
|
|
@@ -256,19 +256,19 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
|
|
|
256
256
|
});
|
|
257
257
|
},
|
|
258
258
|
{ deep: !0 }
|
|
259
|
-
),
|
|
259
|
+
), We(), (e, t) => {
|
|
260
260
|
const a = V("router-view");
|
|
261
|
-
return R(),
|
|
262
|
-
|
|
263
|
-
c(m) === "v3" ? (R(),
|
|
261
|
+
return R(), z(ke, null, [
|
|
262
|
+
P(Ge),
|
|
263
|
+
c(m) === "v3" ? (R(), z("iframe", {
|
|
264
264
|
key: 0,
|
|
265
265
|
class: "bg-white h-full w-full",
|
|
266
266
|
src: pe.value
|
|
267
|
-
}, null, 8,
|
|
267
|
+
}, null, 8, He)) : c(m) === "v4" ? (R(), z("iframe", {
|
|
268
268
|
key: 1,
|
|
269
269
|
class: "bg-white h-full w-full",
|
|
270
270
|
src: ge.value
|
|
271
|
-
}, null, 8,
|
|
271
|
+
}, null, 8, Ke)) : (R(), ie(a, { key: 2 }))
|
|
272
272
|
], 64);
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -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-D1iec8Wy.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-CS10GX8d.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-D1iec8Wy.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-M3kgeSAQ.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-D1iec8Wy.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-QzLGWBvd.js";
|
|
3
|
+
import { u as at, b as tt, a as Ft, d as Je, i as $l } from "./vue-i18n-D1iec8Wy.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-CS10GX8d.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-BhWCLEfp.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-DDKbpI_N.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-oPfgV8Ba.js";
|
|
6
|
+
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CS10GX8d.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-D1iec8Wy.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-DDKbpI_N.js";
|
|
11
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-M3kgeSAQ.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 Se, 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 Ae, 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 Ae, 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-D1iec8Wy.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-CS10GX8d.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"
|