@feedmepos/mf-report 5.21.32 → 5.21.33-beta.2
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-BVPfeKM1.js → App-CTyvwXtl.js} +41 -40
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-BNTtoXSl.js → BaseDialog.vue_vue_type_script_setup_true_lang-Btely_wI.js} +35 -34
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-Cg6ChdaG.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-BNWuNb9K.js} +13 -12
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BlAfWU6A.js → Default.vue_vue_type_script_setup_true_lang-4SLazb8N.js} +5 -5
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-DpUWWlZ7.js → FilterSelector.vue_vue_type_script_setup_true_lang-CgxYZrjw.js} +16 -15
- package/dist/{InsightView-D0FQmOAa.js → InsightView-C2bKy19H.js} +8 -7
- package/dist/{Integration-DUauFkbS.js → Integration-DLCZaTMZ.js} +80 -79
- package/dist/{Integrations-BPvh4SIF.js → Integrations-D7Qvnm78.js} +3 -3
- package/dist/{Layout-DG-JKjLP.js → Layout-vFMGoyBB.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BHrs_LW4.js → MenuTab.vue_vue_type_script_setup_true_lang-DQpysAxz.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-Cl2n4jUd.js → NavigationTab.vue_vue_type_script_setup_true_lang-DIgxp2Q2.js} +4597 -4659
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-BRz75rkR.js → NoData.vue_vue_type_script_setup_true_lang-ClTU_4Ln.js} +1 -1
- package/dist/{OverviewView-DUqScbfn.js → OverviewView-CT4hfZyt.js} +5 -5
- package/dist/{Report-DYicrOSm.js → Report-BuTQaruU.js} +4 -4
- package/dist/{ReportEditor-D7GGcHre.js → ReportEditor-BAAH4kAg.js} +67 -67
- package/dist/{ReportView-BzZR7ZLF.js → ReportView-DGREDAsw.js} +8 -8
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-BXZkFRRh.js → SelectComponent.vue_vue_type_script_setup_true_lang-C4Ha7qXn.js} +1 -1
- package/dist/{Setting-BCyliq0w.js → Setting-BoI1BbYT.js} +18 -17
- package/dist/{TileEditor-DB6cd_RH.js → TileEditor-ewv2bdQg.js} +10 -9
- package/dist/{TransitionFade-B-yJvnSS.js → TransitionFade-CI0UTMeH.js} +22 -21
- package/dist/app-D0RqblLh.js +6156 -0
- package/dist/app.js +5 -5724
- package/dist/{vue-i18n-D4W4y-_2.js → vue-i18n-EzUoP-WP.js} +2836 -3198
- package/package.json +1 -1
|
@@ -1,37 +1,38 @@
|
|
|
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,
|
|
1
|
+
import { defineComponent as se, resolveComponent as V, createBlock as ie, openBlock as R, unref as c, isRef as Oe, withCtx as z, createElementVNode as M, createVNode as W, 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 Q, Fragment as ke } from "vue";
|
|
2
|
+
import { detectLocale as N, useCoreStore as j } from "@feedmepos/mf-common";
|
|
3
|
+
import { u as Ae, a as Ne, b as ne, c as Te, d as Be, e as Fe, s as $e, f as xe } from "./vue-i18n-EzUoP-WP.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-Btely_wI.js";
|
|
6
|
+
import { u as ze, _ as Qe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DIgxp2Q2.js";
|
|
7
7
|
import { u as ae } from "./message-dialog-UoMWOnil.js";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import { d as u } from "./app-D0RqblLh.js";
|
|
9
|
+
import { useRoute as je, useRouter as Ve } from "vue-router";
|
|
10
|
+
const We = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Pe = /* @__PURE__ */ se({
|
|
10
11
|
__name: "Dialog",
|
|
11
12
|
setup(_) {
|
|
12
13
|
const { t: i } = Ae(), l = ae(), { isOpened: d, message: S, title: D } = L(ae());
|
|
13
14
|
return (f, g) => {
|
|
14
|
-
const
|
|
15
|
+
const b = V("FmButton"), T = V("FmDialog");
|
|
15
16
|
return R(), ie(T, {
|
|
16
17
|
modelValue: c(d),
|
|
17
|
-
"onUpdate:modelValue": g[0] || (g[0] = (B) =>
|
|
18
|
+
"onUpdate:modelValue": g[0] || (g[0] = (B) => Oe(d) ? d.value = B : null),
|
|
18
19
|
overlay: "",
|
|
19
20
|
"close-button": !1
|
|
20
21
|
}, {
|
|
21
|
-
"dialog-header":
|
|
22
|
+
"dialog-header": z(() => [
|
|
22
23
|
we(ee(c(D)), 1)
|
|
23
24
|
]),
|
|
24
|
-
default:
|
|
25
|
-
M("p",
|
|
25
|
+
default: z(() => [
|
|
26
|
+
M("p", We, ee(c(S)), 1)
|
|
26
27
|
]),
|
|
27
|
-
"dialog-footer":
|
|
28
|
+
"dialog-footer": z(() => [
|
|
28
29
|
g[1] || (g[1] = M("div", { class: "grow" }, null, -1)),
|
|
29
|
-
|
|
30
|
+
W(b, {
|
|
30
31
|
label: c(i)("report.common.cancel"),
|
|
31
32
|
variant: "tertiary",
|
|
32
33
|
onClick: c(l).dismiss
|
|
33
34
|
}, null, 8, ["label", "onClick"]),
|
|
34
|
-
|
|
35
|
+
W(b, {
|
|
35
36
|
label: c(i)("report.common.confirm"),
|
|
36
37
|
onClick: c(l).confirm
|
|
37
38
|
}, null, 8, ["label", "onClick"])
|
|
@@ -41,7 +42,7 @@ const Pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Ge
|
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
}), oe = A(N());
|
|
44
|
-
function
|
|
45
|
+
function Ge() {
|
|
45
46
|
const _ = (i) => {
|
|
46
47
|
switch (oe.value = i, i) {
|
|
47
48
|
case "zh-CN":
|
|
@@ -59,10 +60,10 @@ function We() {
|
|
|
59
60
|
};
|
|
60
61
|
}
|
|
61
62
|
u.locale(N() === "zh-CN" ? "zh-cn" : "en");
|
|
62
|
-
const
|
|
63
|
+
const Ke = ["src"], He = ["src"], ut = /* @__PURE__ */ se({
|
|
63
64
|
__name: "App",
|
|
64
65
|
setup(_) {
|
|
65
|
-
const { businessId: i, token: l, country: d } = L(Ne()), { sessionUser: S, currentBusiness: D, currentCountry: f, registerSidebarComponent: g } =
|
|
66
|
+
const { businessId: i, token: l, country: d } = L(Ne()), { sessionUser: S, currentBusiness: D, currentCountry: f, registerSidebarComponent: g } = j(), { getRestaurantAndWarehouse: b, getBusinessSetting: T, beginBusinessLoad: B, completeBusinessLoad: ce } = ne(), { getFeatureFlags: de } = Te(), { version: m } = L(re()), { getSettings: le } = Be(), { promptLoader: fe } = Fe(), n = je(), F = Ve(), h = Je(), P = ze(), r = ne(), me = re(), { suppressReportRouteSync: O } = L(me), pe = te(() => `https://portal-v1.feedmedev.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.feedmedev.cc?businessId=${i.value}&country=${d.value}&token=${l.value}&reportV3Button=true`);
|
|
66
67
|
q(
|
|
67
68
|
[() => D.value, () => S.value, () => f.value],
|
|
68
69
|
() => {
|
|
@@ -86,7 +87,7 @@ const He = ["src"], Ke = ["src"], it = /* @__PURE__ */ se({
|
|
|
86
87
|
},
|
|
87
88
|
{ immediate: !0 }
|
|
88
89
|
);
|
|
89
|
-
function
|
|
90
|
+
function G(e) {
|
|
90
91
|
if (typeof e.data == "string")
|
|
91
92
|
try {
|
|
92
93
|
const t = JSON.parse(e.data);
|
|
@@ -95,7 +96,7 @@ const He = ["src"], Ke = ["src"], it = /* @__PURE__ */ se({
|
|
|
95
96
|
console.error(t);
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
+
function K(e) {
|
|
99
100
|
if (typeof e.data == "string")
|
|
100
101
|
try {
|
|
101
102
|
const t = JSON.parse(e.data);
|
|
@@ -105,15 +106,15 @@ const He = ["src"], Ke = ["src"], it = /* @__PURE__ */ se({
|
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
q(m, () => {
|
|
108
|
-
["v3", "v4"].includes(m.value) ?
|
|
109
|
+
["v3", "v4"].includes(m.value) ? j().hideSidebarToggle(!0) : j().hideSidebarToggle(!1);
|
|
109
110
|
}), Ce(() => {
|
|
110
|
-
g(
|
|
111
|
+
g(Qe);
|
|
111
112
|
}), ue(() => {
|
|
112
|
-
console.log("5.21.
|
|
113
|
+
console.log("5.21.33-beta.2", !0), window.addEventListener("message", G), window.addEventListener("message", K);
|
|
113
114
|
}), Ee(() => {
|
|
114
|
-
window.removeEventListener("message",
|
|
115
|
+
window.removeEventListener("message", G), window.removeEventListener("message", K), h.$dispose(), P.$dispose();
|
|
115
116
|
});
|
|
116
|
-
const { getReports: ye, getOverviewReport: ve, getReportConfig:
|
|
117
|
+
const { getReports: ye, getOverviewReport: ve, getReportConfig: H, currentReportId: X } = h, { currentReportId: Se, reports: De } = L(h), { getSchema: he } = Ue(), { fetchSchedules: Ie } = P, { init: Re } = xe(), $ = A("v5"), w = A(!1), x = A(!0);
|
|
117
118
|
function qe(e) {
|
|
118
119
|
try {
|
|
119
120
|
return decodeURIComponent(e);
|
|
@@ -169,7 +170,7 @@ const He = ["src"], Ke = ["src"], it = /* @__PURE__ */ se({
|
|
|
169
170
|
}
|
|
170
171
|
if (!Z && Array.isArray(y)) {
|
|
171
172
|
const o = r.selectedLocationIds;
|
|
172
|
-
o.length === y.length && o.every((_e,
|
|
173
|
+
o.length === y.length && o.every((_e, be) => _e === y[be]) || r.setSelectedLocationIds(y);
|
|
173
174
|
}
|
|
174
175
|
return {
|
|
175
176
|
// TODO: this returned value can used for getBusinessSetting
|
|
@@ -195,22 +196,22 @@ const He = ["src"], Ke = ["src"], it = /* @__PURE__ */ se({
|
|
|
195
196
|
locationIds: void 0,
|
|
196
197
|
isAllLocation: "true"
|
|
197
198
|
}
|
|
198
|
-
})),
|
|
199
|
+
})), O.value !== void 0 && (O.value = !0), await fe(async () => {
|
|
199
200
|
await Re({
|
|
200
|
-
apiKey: "
|
|
201
|
+
apiKey: "MaGoXrEWuEJNpWgKTqseee",
|
|
201
202
|
url: "https://flag.feedme.farm/api/v1/",
|
|
202
203
|
enableAnalytics: !1,
|
|
203
204
|
cacheFlags: !1
|
|
204
205
|
});
|
|
205
|
-
const t = await
|
|
206
|
+
const t = await H();
|
|
206
207
|
$.value = t.version, m.value = $.value, await Promise.all([
|
|
207
208
|
de(),
|
|
208
|
-
|
|
209
|
+
H(),
|
|
209
210
|
ve(),
|
|
210
211
|
ye(),
|
|
211
212
|
he(),
|
|
212
213
|
Ie(),
|
|
213
|
-
|
|
214
|
+
b(
|
|
214
215
|
(() => {
|
|
215
216
|
const a = C(n.query.locationIds);
|
|
216
217
|
return Array.isArray(a) ? a : void 0;
|
|
@@ -233,8 +234,8 @@ const He = ["src"], Ke = ["src"], it = /* @__PURE__ */ se({
|
|
|
233
234
|
}),
|
|
234
235
|
(e) => {
|
|
235
236
|
if (!w.value || !e.reportId) return;
|
|
236
|
-
if (
|
|
237
|
-
|
|
237
|
+
if (O.value) {
|
|
238
|
+
O.value = !1;
|
|
238
239
|
return;
|
|
239
240
|
}
|
|
240
241
|
const t = e.selectedLocationIds, a = e.dateRange, s = e.timeRange, p = e.compareDateRange, I = {
|
|
@@ -256,23 +257,23 @@ const He = ["src"], Ke = ["src"], it = /* @__PURE__ */ se({
|
|
|
256
257
|
});
|
|
257
258
|
},
|
|
258
259
|
{ deep: !0 }
|
|
259
|
-
),
|
|
260
|
+
), Ge(), (e, t) => {
|
|
260
261
|
const a = V("router-view");
|
|
261
|
-
return R(),
|
|
262
|
-
|
|
263
|
-
c(m) === "v3" ? (R(),
|
|
262
|
+
return R(), Q(ke, null, [
|
|
263
|
+
W(Pe),
|
|
264
|
+
c(m) === "v3" ? (R(), Q("iframe", {
|
|
264
265
|
key: 0,
|
|
265
266
|
class: "bg-white h-full w-full",
|
|
266
267
|
src: pe.value
|
|
267
|
-
}, null, 8,
|
|
268
|
+
}, null, 8, Ke)) : c(m) === "v4" ? (R(), Q("iframe", {
|
|
268
269
|
key: 1,
|
|
269
270
|
class: "bg-white h-full w-full",
|
|
270
271
|
src: ge.value
|
|
271
|
-
}, null, 8,
|
|
272
|
+
}, null, 8, He)) : (R(), ie(a, { key: 2 }))
|
|
272
273
|
], 64);
|
|
273
274
|
};
|
|
274
275
|
}
|
|
275
276
|
});
|
|
276
277
|
export {
|
|
277
|
-
|
|
278
|
+
ut as default
|
|
278
279
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { a as m0, F as y0,
|
|
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-EzUoP-WP.js";
|
|
2
2
|
import { storeToRefs as p0, defineStore as B0 } from "pinia";
|
|
3
|
-
import { ref as s0, computed as C0, watch as U0, h as
|
|
4
|
-
import { useSnackbar as ce, components as
|
|
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 S0, 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
|
+
import { useSnackbar as ce, components as ve } from "@feedmepos/ui-library";
|
|
5
|
+
import { d as h0, u as Pe } from "./app-D0RqblLh.js";
|
|
5
6
|
import { useRouter as Be } from "vue-router";
|
|
6
7
|
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-
|
|
8
|
+
import { c as Je, a as He } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BNWuNb9K.js";
|
|
8
9
|
function pe(T) {
|
|
9
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.');
|
|
10
11
|
}
|
|
@@ -19424,7 +19425,7 @@ var Z0 = {
|
|
|
19424
19425
|
...ze,
|
|
19425
19426
|
...Ye
|
|
19426
19427
|
}, W0 = /* @__PURE__ */ ((T) => (T.DateTime = "DATE_TIME", T.Hour = "HOUR", T.Day = "DAY", T.Week = "WEEK", T.Month = "MONTH", T.TimeOfDay = "TIME_OF_DAY", T.HourOfDay = "HOUR_OF_DAY", T.DayOfWeek = "DAY_OF_WEEK", T.DayOfMonth = "DAY_OF_MONTH", T.MonthOfYear = "MONTH_OF_YEAR", T.Year = "YEAR", T.YearMonthDay = "YEAR_MONTH_DAY", T))(W0 || {}), je = /* @__PURE__ */ ((T) => (T.Asc = "ASC", T.Desc = "DESC", T))(je || {}), j0 = /* @__PURE__ */ ((T) => (T.Equal = "EQUAL", T.NotEqual = "NOT_EQUAL", T.GreaterThan = "GREATER_THAN", T.LessThan = "LESS_THAN", T.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", T.LessThanOrEqual = "LESS_THAN_OR_EQUAL", T.Between = "BETWEEN", T.Like = "LIKE", T.NotLike = "NOT_LIKE", T.And = "AND", T.Or = "OR", T))(j0 || {}), Ke = /* @__PURE__ */ ((T) => (T.String = "STRING", T.Timestamp = "TIMESTAMP", T.Bool = "BOOL", T.Numeric = "NUMERIC", T))(Ke || {}), Ze = /* @__PURE__ */ ((T) => (T.MTD = "MTD", T))(Ze || {}), et = /* @__PURE__ */ ((T) => (T.Scorecard = "SCORECARD", T.Spacer = "SPACER", T.Table = "TABLE", T.BarChart = "BARCHART", T.StackBarChart = "STACKBARCHART", T.LineChart = "LINECHART", T.StackLineChart = "STACKLINECHART", T.Circular = "CIRCULAR", T))(et || {}), tt = /* @__PURE__ */ ((T) => (T.EXCEL = "excel", T.PDF = "pdf", T.PDFFULLSIZE = "pdfFullSize", T.PDFRECEIPT = "pdfReceipt", T))(tt || {}), rt = /* @__PURE__ */ ((T) => (T.PORTRAIT = "portrait", T.LANDSCAPE = "landscape", T))(rt || {});
|
|
19427
|
-
function
|
|
19428
|
+
function Xt(T) {
|
|
19428
19429
|
switch (T) {
|
|
19429
19430
|
case "excel":
|
|
19430
19431
|
return "Excel";
|
|
@@ -19438,7 +19439,7 @@ function Qt(T) {
|
|
|
19438
19439
|
return "Unknown";
|
|
19439
19440
|
}
|
|
19440
19441
|
}
|
|
19441
|
-
function
|
|
19442
|
+
function Vt(T) {
|
|
19442
19443
|
switch (T) {
|
|
19443
19444
|
case "landscape":
|
|
19444
19445
|
return "report.common.landscape";
|
|
@@ -19696,7 +19697,7 @@ const v0 = {
|
|
|
19696
19697
|
label: "insight",
|
|
19697
19698
|
value: "insight",
|
|
19698
19699
|
route: "insights",
|
|
19699
|
-
badge: () =>
|
|
19700
|
+
badge: () => Me(ve.FmPill, { variant: "beta" })
|
|
19700
19701
|
},
|
|
19701
19702
|
{
|
|
19702
19703
|
label: "setting",
|
|
@@ -19804,7 +19805,7 @@ const ht = "mf-reportwidget-size", he = B0(ht, () => {
|
|
|
19804
19805
|
}
|
|
19805
19806
|
return { tileSort: T, setTileSorts: R, getTileSorts: O, clearTileSorts: H };
|
|
19806
19807
|
});
|
|
19807
|
-
h0.extend(
|
|
19808
|
+
h0.extend(Pe);
|
|
19808
19809
|
async function Et(T, R) {
|
|
19809
19810
|
for (let O = 0; O < T.length; O++)
|
|
19810
19811
|
try {
|
|
@@ -19815,7 +19816,7 @@ async function Et(T, R) {
|
|
|
19815
19816
|
}
|
|
19816
19817
|
throw new Error("No callback");
|
|
19817
19818
|
}
|
|
19818
|
-
const
|
|
19819
|
+
const Gt = async (T, R, O) => {
|
|
19819
19820
|
var o0, _0, d0, c0;
|
|
19820
19821
|
const { businessId: H, country: B } = p0(m0()), { currentReport: J } = ee(), {
|
|
19821
19822
|
selectedRestaurantIds: N,
|
|
@@ -19905,7 +19906,7 @@ function Ae(T) {
|
|
|
19905
19906
|
colWidths: R.colWidths
|
|
19906
19907
|
};
|
|
19907
19908
|
}
|
|
19908
|
-
const
|
|
19909
|
+
const Yt = async ({
|
|
19909
19910
|
reportType: T,
|
|
19910
19911
|
index: R,
|
|
19911
19912
|
orientationTypes: O,
|
|
@@ -19963,7 +19964,7 @@ const Gt = async ({
|
|
|
19963
19964
|
}
|
|
19964
19965
|
}, { headers: c0, data: Q } = await K0.rawFetch(d0), Y = c0["content-disposition"].split("filename=")[1].replaceAll('"', ""), r0 = window.URL.createObjectURL(new Blob([new Uint8Array(Q).buffer])), e0 = document.createElement("a");
|
|
19965
19966
|
e0.href = r0, e0.setAttribute("download", decodeURIComponent(Y)), document.body.appendChild(e0), e0.click(), e0.remove();
|
|
19966
|
-
},
|
|
19967
|
+
}, zt = async ({
|
|
19967
19968
|
emails: T,
|
|
19968
19969
|
types: R,
|
|
19969
19970
|
dateRange: O,
|
|
@@ -20028,7 +20029,7 @@ const Gt = async ({
|
|
|
20028
20029
|
data: c0,
|
|
20029
20030
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
20030
20031
|
});
|
|
20031
|
-
},
|
|
20032
|
+
}, Wt = async (T) => {
|
|
20032
20033
|
const { businessId: R } = p0(m0());
|
|
20033
20034
|
await K0.fetch({
|
|
20034
20035
|
fetchType: y0.Post,
|
|
@@ -20036,13 +20037,13 @@ const Gt = async ({
|
|
|
20036
20037
|
data: { jobId: T },
|
|
20037
20038
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
20038
20039
|
});
|
|
20039
|
-
},
|
|
20040
|
+
}, jt = async () => {
|
|
20040
20041
|
const { businessId: T } = p0(m0());
|
|
20041
20042
|
return await g0.fetch({
|
|
20042
20043
|
fetchType: y0.Get,
|
|
20043
20044
|
url: `/${T.value}/reports/email-recipients`
|
|
20044
20045
|
});
|
|
20045
|
-
},
|
|
20046
|
+
}, Kt = async (T) => {
|
|
20046
20047
|
const { businessId: R } = p0(m0());
|
|
20047
20048
|
await g0.fetch({
|
|
20048
20049
|
fetchType: y0.Post,
|
|
@@ -20133,7 +20134,7 @@ function bt(T, R = 0) {
|
|
|
20133
20134
|
const Ft = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), oe = {
|
|
20134
20135
|
randomUUID: Ft
|
|
20135
20136
|
};
|
|
20136
|
-
function
|
|
20137
|
+
function Zt(T, R, O) {
|
|
20137
20138
|
if (oe.randomUUID && !R && !T)
|
|
20138
20139
|
return oe.randomUUID();
|
|
20139
20140
|
T = T || {};
|
|
@@ -20149,7 +20150,7 @@ function Kt(T, R, O) {
|
|
|
20149
20150
|
const le = (T, R = "en") => h0().set("hour", T.hour).set("minute", T.minute).locale(R).format("h:mm A"), It = (T, R) => {
|
|
20150
20151
|
const O = h0().set("hour", T.hour).set("minute", T.minute);
|
|
20151
20152
|
return h0().set("hour", R.hour).set("minute", R.minute) < O ? "+1" : "";
|
|
20152
|
-
}, Mt = { class: "px-24 py-16 rounded-lg shadow-light-300" }, Rt = { class: "text-fm-color-typo-primary" }, xt = { class: "text-fm-color-typo-secondary" }, Lt = { class: "fm-typo-en-body-lg-600 mb-8" }, Ot = { class: "flex items-center justify-center w-full" }, wt = { class: "fm-typo-en-body-lg-600 mb-8" }, vt = { class: "flex items-center justify-center" }, Pt = { class: "flex flex-row mb-4 px-4 gap-2" },
|
|
20153
|
+
}, Mt = { class: "px-24 py-16 rounded-lg shadow-light-300" }, Rt = { class: "text-fm-color-typo-primary" }, xt = { class: "text-fm-color-typo-secondary" }, Lt = { class: "fm-typo-en-body-lg-600 mb-8" }, Ot = { class: "flex items-center justify-center w-full" }, wt = { class: "fm-typo-en-body-lg-600 mb-8" }, vt = { class: "flex items-center justify-center" }, Pt = { class: "flex flex-row mb-4 px-4 gap-2" }, er = /* @__PURE__ */ _e({
|
|
20153
20154
|
__name: "TimeRangeSelect",
|
|
20154
20155
|
props: /* @__PURE__ */ N0({
|
|
20155
20156
|
defaultDateRange: {
|
|
@@ -20190,7 +20191,7 @@ const le = (T, R = "en") => h0().set("hour", T.hour).set("minute", T.minute).loc
|
|
|
20190
20191
|
}),
|
|
20191
20192
|
emits: /* @__PURE__ */ N0(["update", "chip-closed"], ["update:timeRange", "update:selectTimeDefault"]),
|
|
20192
20193
|
setup(T, { emit: R }) {
|
|
20193
|
-
const { t: O, locale: H } =
|
|
20194
|
+
const { t: O, locale: H } = Ie(), B = z0(T, "timeRange"), J = R, N = z0(T, "selectTimeDefault");
|
|
20194
20195
|
function k(Z) {
|
|
20195
20196
|
Z && (B.value = Z, J("update", B.value)), X.value = !1;
|
|
20196
20197
|
}
|
|
@@ -20255,7 +20256,7 @@ const le = (T, R = "en") => h0().set("hour", T.hour).set("minute", T.minute).loc
|
|
|
20255
20256
|
"onUpdate:modelValue": G[1] || (G[1] = (z) => N.value = z)
|
|
20256
20257
|
}, {
|
|
20257
20258
|
default: b0(() => [
|
|
20258
|
-
(P0(!0), V0(re, null,
|
|
20259
|
+
(P0(!0), V0(re, null, xe(T.defaultDateRange, (z, t0) => (P0(), De(u0, {
|
|
20259
20260
|
key: `range_${t0}`,
|
|
20260
20261
|
value: t0 + 1,
|
|
20261
20262
|
label: z.name,
|
|
@@ -20264,12 +20265,12 @@ const le = (T, R = "en") => h0().set("hour", T.hour).set("minute", T.minute).loc
|
|
|
20264
20265
|
label: b0(() => [
|
|
20265
20266
|
E0("p", Rt, [
|
|
20266
20267
|
de(T0(z.name) + " ", 1),
|
|
20267
|
-
|
|
20268
|
+
Le(S0(a0, {
|
|
20268
20269
|
label: $0(O)("report.common.default"),
|
|
20269
20270
|
class: "bg-fm-color-system-info-100 border-fm-color-typo-info text-fm-color-typo-info",
|
|
20270
20271
|
compact: ""
|
|
20271
20272
|
}, null, 8, ["label"]), [
|
|
20272
|
-
[
|
|
20273
|
+
[Oe, z.isDefault]
|
|
20273
20274
|
])
|
|
20274
20275
|
]),
|
|
20275
20276
|
E0("p", xt, T0($0(le)(z.startTime, $0(F0)())) + " - " + T0($0(le)(z.endTime, $0(F0)())) + " " + T0($0(It)(z.startTime, z.endTime)), 1)
|
|
@@ -20314,7 +20315,7 @@ const le = (T, R = "en") => h0().set("hour", T.hour).set("minute", T.minute).loc
|
|
|
20314
20315
|
})
|
|
20315
20316
|
}, null, 8, ["model-value"])
|
|
20316
20317
|
])
|
|
20317
|
-
], 64)) :
|
|
20318
|
+
], 64)) : Re("", !0),
|
|
20318
20319
|
E0("div", Pt, [
|
|
20319
20320
|
G[7] || (G[7] = E0("div", { class: "grow" }, null, -1)),
|
|
20320
20321
|
S0(c0, {
|
|
@@ -20335,7 +20336,7 @@ const le = (T, R = "en") => h0().set("hour", T.hour).set("minute", T.minute).loc
|
|
|
20335
20336
|
]);
|
|
20336
20337
|
};
|
|
20337
20338
|
}
|
|
20338
|
-
}),
|
|
20339
|
+
}), tr = /* @__PURE__ */ _e({
|
|
20339
20340
|
__name: "BaseDialog",
|
|
20340
20341
|
props: /* @__PURE__ */ N0({
|
|
20341
20342
|
title: {
|
|
@@ -20370,7 +20371,7 @@ const le = (T, R = "en") => h0().set("hour", T.hour).set("minute", T.minute).loc
|
|
|
20370
20371
|
de(T0(H.title), 1)
|
|
20371
20372
|
]),
|
|
20372
20373
|
default: b0(() => [
|
|
20373
|
-
|
|
20374
|
+
we(J.$slots, "content")
|
|
20374
20375
|
]),
|
|
20375
20376
|
"dialog-footer": b0(() => [
|
|
20376
20377
|
N[3] || (N[3] = E0("div", { class: "grow" }, null, -1)),
|
|
@@ -20397,26 +20398,26 @@ export {
|
|
|
20397
20398
|
tt as R,
|
|
20398
20399
|
je as S,
|
|
20399
20400
|
et as W,
|
|
20400
|
-
|
|
20401
|
+
er as _,
|
|
20401
20402
|
ee as a,
|
|
20402
20403
|
pt as b,
|
|
20403
20404
|
W0 as c,
|
|
20404
|
-
|
|
20405
|
+
tr as d,
|
|
20405
20406
|
he as e,
|
|
20406
20407
|
Se as f,
|
|
20407
20408
|
mt as g,
|
|
20408
20409
|
rt as h,
|
|
20409
|
-
|
|
20410
|
-
|
|
20411
|
-
|
|
20412
|
-
|
|
20413
|
-
|
|
20410
|
+
Yt as i,
|
|
20411
|
+
Xt as j,
|
|
20412
|
+
Kt as k,
|
|
20413
|
+
jt as l,
|
|
20414
|
+
Vt as m,
|
|
20414
20415
|
me as n,
|
|
20415
|
-
|
|
20416
|
-
|
|
20417
|
-
|
|
20416
|
+
zt as o,
|
|
20417
|
+
Gt as q,
|
|
20418
|
+
Wt as r,
|
|
20418
20419
|
It as s,
|
|
20419
20420
|
le as t,
|
|
20420
20421
|
ge as u,
|
|
20421
|
-
|
|
20422
|
+
Zt as v
|
|
20422
20423
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { defineComponent as P, resolveComponent as S, createBlock as p, openBlock as y, withCtx as z, createCommentVNode as M, createElementVNode as R, toDisplayString as A, renderSlot as B, mergeModels as C, useModel as b, ref as k, watch as x, createElementBlock as U, unref as f, createVNode as O } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { u as W, b as q, O as G, C as H } from "./vue-i18n-EzUoP-WP.js";
|
|
3
|
+
import { d as l } from "./app-D0RqblLh.js";
|
|
3
4
|
import { detectLocale as F } from "@feedmepos/mf-common";
|
|
4
5
|
import { storeToRefs as K } from "pinia";
|
|
5
6
|
var v = /* @__PURE__ */ ((e) => (e.Year = "YEAR", e.Month = "MONTH", e.Week = "WEEK", e.Day = "DAY", e))(v || {});
|
|
6
|
-
function
|
|
7
|
+
function le(e, t = 100) {
|
|
7
8
|
let n = null;
|
|
8
9
|
const a = function(...o) {
|
|
9
10
|
return n && clearTimeout(n), new Promise((r) => {
|
|
@@ -21,7 +22,7 @@ function ne(e, t = 100) {
|
|
|
21
22
|
function L() {
|
|
22
23
|
return [...Array(12).keys()].map((e) => l().month(e).format("MMM"));
|
|
23
24
|
}
|
|
24
|
-
function
|
|
25
|
+
function re(e, t, n = "") {
|
|
25
26
|
switch (e.type) {
|
|
26
27
|
case v.Day:
|
|
27
28
|
return t("report.schedule.everyDay");
|
|
@@ -70,7 +71,7 @@ function V(e = {
|
|
|
70
71
|
let t = l().subtract(1, "day").endOf("day"), n = l().endOf("day");
|
|
71
72
|
return e.startDate && (t = e.timezone ? l(e.startDate).tz(e.timezone).locale(e.locale) : l(e.startDate).locale(e.locale)), e.endDate && (n = e.timezone ? l(e.endDate).tz(e.timezone).locale(e.locale) : l(e.endDate).locale(e.locale)), t.format("YYYY") !== n.format("YYYY") ? `${t.format("DD MMM YYYY")} - ${n.format("DD MMM YYYY")}` : `${t.format("DD MMM")} - ${n.format("DD MMM YYYY")}`;
|
|
72
73
|
}
|
|
73
|
-
function
|
|
74
|
+
function oe(e = {
|
|
74
75
|
startTime: null,
|
|
75
76
|
endTime: null,
|
|
76
77
|
locale: "en-US"
|
|
@@ -138,7 +139,7 @@ const J = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
138
139
|
});
|
|
139
140
|
};
|
|
140
141
|
}
|
|
141
|
-
}), Z = { class: "flex gap-2 items-center" }, Y = "YYYY-MM-DD",
|
|
142
|
+
}), Z = { class: "flex gap-2 items-center" }, Y = "YYYY-MM-DD", de = /* @__PURE__ */ P({
|
|
142
143
|
__name: "DateRangeSelect",
|
|
143
144
|
props: /* @__PURE__ */ C({
|
|
144
145
|
compare: {
|
|
@@ -184,12 +185,12 @@ const J = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
184
185
|
}),
|
|
185
186
|
emits: /* @__PURE__ */ C(["update", "chip-closed"], ["update:compareType", "update:dateRange", "update:compareDateRange"]),
|
|
186
187
|
setup(e, { emit: t }) {
|
|
187
|
-
var I, T,
|
|
188
|
+
var I, $, T, w;
|
|
188
189
|
const { t: n, locale: a } = W(), o = t, r = b(e, "compareType"), m = b(e, "dateRange"), g = b(e, "compareDateRange"), { timezone: i } = K(q()), s = k({
|
|
189
190
|
startDate: m.value.startDate ? (I = l(m.value.startDate)) == null ? void 0 : I.tz(i.value).format(Y) : null,
|
|
190
|
-
endDate: m.value.endDate ? (
|
|
191
|
+
endDate: m.value.endDate ? ($ = l(m.value.endDate)) == null ? void 0 : $.tz(i.value).format(Y) : null
|
|
191
192
|
}), D = k({
|
|
192
|
-
startDate: g.value.startDate ? (
|
|
193
|
+
startDate: g.value.startDate ? (T = l(g.value.startDate)) == null ? void 0 : T.tz(i.value).format(Y) : null,
|
|
193
194
|
endDate: g.value.endDate ? (w = l(g.value.endDate)) == null ? void 0 : w.tz(i.value).format(Y) : null
|
|
194
195
|
});
|
|
195
196
|
x(
|
|
@@ -274,11 +275,11 @@ const J = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
274
275
|
});
|
|
275
276
|
export {
|
|
276
277
|
v as C,
|
|
277
|
-
|
|
278
|
+
de as _,
|
|
278
279
|
E as a,
|
|
279
280
|
V as b,
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
281
|
+
oe as c,
|
|
282
|
+
le as d,
|
|
283
|
+
re as e,
|
|
283
284
|
L as g
|
|
284
285
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as u, computed as
|
|
2
|
-
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
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-DIgxp2Q2.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as C } from "pinia";
|
|
5
|
-
import { u as q,
|
|
5
|
+
import { u as q, e as w } from "./vue-i18n-EzUoP-WP.js";
|
|
6
6
|
import { useRoute as B } from "vue-router";
|
|
7
7
|
const $ = {
|
|
8
8
|
key: 1,
|
|
@@ -10,9 +10,9 @@ const $ = {
|
|
|
10
10
|
}, N = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, P = /* @__PURE__ */ u({
|
|
11
11
|
__name: "Default",
|
|
12
12
|
setup(S) {
|
|
13
|
-
const { t: l } = q(), { breakpoints: r } = b(), { isLoading: c } = C(w()), o = B(), a =
|
|
13
|
+
const { t: l } = q(), { breakpoints: r } = b(), { isLoading: c } = C(w()), o = B(), a = p(() => !o.query.token);
|
|
14
14
|
return (m, z) => {
|
|
15
|
-
const i =
|
|
15
|
+
const i = f("FmCircularProgress");
|
|
16
16
|
return t(), s("div", {
|
|
17
17
|
class: d(`${e(r).lg || e(r).md ? "flex w-full" : ""} bg-fm-color-neutral-white`),
|
|
18
18
|
style: n({
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { computed as k, defineComponent as Te, mergeModels as Ne, useModel as Ee, ref as g, onMounted as Ie, nextTick as Se, watch as de, resolveComponent as B, createElementBlock as ne, openBlock as W, Fragment as xe, renderSlot as Me, createVNode as U, normalizeStyle as Ve, unref as s, createElementVNode as X, toDisplayString as De, withCtx as ie, createBlock as pe, createCommentVNode as ke, normalizeClass as Qe, 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 zl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as at, b as tt, a as Ft,
|
|
4
|
-
import { d as bt, _ as Vl, a as El, b as Al, c as Wl } 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 zl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Btely_wI.js";
|
|
3
|
+
import { u as at, b as tt, a as Ft, h as $l } from "./vue-i18n-EzUoP-WP.js";
|
|
4
|
+
import { d as bt, _ as Vl, a as El, b as Al, c as Wl } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BNWuNb9K.js";
|
|
5
5
|
import { storeToRefs as ze, defineStore as Xt } from "pinia";
|
|
6
6
|
import { useBreakpoints as jt, useSnackbar as Lt, components as Nl } 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-C4Ha7qXn.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-ClTU_4Ln.js";
|
|
10
|
+
import { d as Je } from "./app-D0RqblLh.js";
|
|
10
11
|
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
12
|
A.Circular, A.Table, A.BarChart, A.LineChart, A.StackBarChart, A.StackLineChart, A.Scorecard, A.Spacer;
|
|
12
13
|
const Ml = [
|
|
@@ -1456,7 +1457,7 @@ const va = {
|
|
|
1456
1457
|
}, ga = {
|
|
1457
1458
|
key: 2,
|
|
1458
1459
|
class: "flex"
|
|
1459
|
-
},
|
|
1460
|
+
}, Ua = /* @__PURE__ */ Te({
|
|
1460
1461
|
__name: "DynamicWidget",
|
|
1461
1462
|
props: /* @__PURE__ */ Ne({
|
|
1462
1463
|
index: {
|
|
@@ -1881,7 +1882,7 @@ function ya(e) {
|
|
|
1881
1882
|
count: o
|
|
1882
1883
|
};
|
|
1883
1884
|
}
|
|
1884
|
-
function
|
|
1885
|
+
function Ya({
|
|
1885
1886
|
operator: e,
|
|
1886
1887
|
dimensionOption: a,
|
|
1887
1888
|
dataType: o,
|
|
@@ -1932,7 +1933,7 @@ function Ua({
|
|
|
1932
1933
|
default: ""
|
|
1933
1934
|
};
|
|
1934
1935
|
}
|
|
1935
|
-
function
|
|
1936
|
+
function Ga(e) {
|
|
1936
1937
|
switch (e) {
|
|
1937
1938
|
case ge.HourOfDay:
|
|
1938
1939
|
return 0;
|
|
@@ -1942,7 +1943,7 @@ function Ya(e) {
|
|
|
1942
1943
|
return;
|
|
1943
1944
|
}
|
|
1944
1945
|
}
|
|
1945
|
-
function
|
|
1946
|
+
function Xa(e) {
|
|
1946
1947
|
switch (e) {
|
|
1947
1948
|
case ge.HourOfDay:
|
|
1948
1949
|
return 23;
|
|
@@ -2096,7 +2097,7 @@ const wa = Xt(ba, () => {
|
|
|
2096
2097
|
}), xa = { class: "flex flex-row flex-wrap gap-2" }, Sa = { class: "inline-flex max-w-[460px]" }, Ca = {
|
|
2097
2098
|
key: 0,
|
|
2098
2099
|
class: "flex justify-center my-2"
|
|
2099
|
-
}, ka = { class: "px-2 pb-8" }, Ta = { class: "flex-1 overflow-y-auto overflow-x-hidden" }, _a = { class: "px-2 pb-8" }, Fa = { class: "flex items-start w-full" }, La = ["onClick"], Ra = { class: "fm-typo-en-body-md-400" }, Da = { key: 0 }, za = { class: "px-12 py-3" }, $a = { class: "flex items-center justify-between" }, Va = { class: "text-xs max-w-[200px]" }, Ea = { class: "px-4 py-3 flex flex-row justify-end gap-2 bg-white" },
|
|
2100
|
+
}, ka = { class: "px-2 pb-8" }, Ta = { class: "flex-1 overflow-y-auto overflow-x-hidden" }, _a = { class: "px-2 pb-8" }, Fa = { class: "flex items-start w-full" }, La = ["onClick"], Ra = { class: "fm-typo-en-body-md-400" }, Da = { key: 0 }, za = { class: "px-12 py-3" }, $a = { class: "flex items-center justify-between" }, Va = { class: "text-xs max-w-[200px]" }, Ea = { class: "px-4 py-3 flex flex-row justify-end gap-2 bg-white" }, ja = /* @__PURE__ */ Te({
|
|
2100
2101
|
__name: "FilterSelector",
|
|
2101
2102
|
setup(e) {
|
|
2102
2103
|
const { t: a, locale: o } = at(), { currentReport: l, editingTile: u } = ze(Rl());
|
|
@@ -2612,12 +2613,12 @@ export {
|
|
|
2612
2613
|
Ye as I,
|
|
2613
2614
|
Ct as L,
|
|
2614
2615
|
Be as R,
|
|
2615
|
-
|
|
2616
|
-
|
|
2616
|
+
Ua as _,
|
|
2617
|
+
ja as a,
|
|
2617
2618
|
St as b,
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2619
|
+
Ga as c,
|
|
2620
|
+
Xa as d,
|
|
2621
|
+
Ya as e,
|
|
2621
2622
|
vt as g,
|
|
2622
2623
|
Pt as u
|
|
2623
2624
|
};
|
|
@@ -2,13 +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 {
|
|
5
|
+
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-4SLazb8N.js";
|
|
6
|
+
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BNWuNb9K.js";
|
|
7
|
+
import { a as Kn, q as qn, F as Gn, u as Zn, g as ys, b as oa } from "./vue-i18n-EzUoP-WP.js";
|
|
8
8
|
import { storeToRefs as Jn } from "pinia";
|
|
9
|
+
import { d as Bi } from "./app-D0RqblLh.js";
|
|
9
10
|
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-
|
|
11
|
+
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-ClTU_4Ln.js";
|
|
12
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DIgxp2Q2.js";
|
|
12
13
|
import { useCoreStore as ha } from "@feedmepos/mf-common";
|
|
13
14
|
function da({ start: i, end: t }) {
|
|
14
15
|
return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
|
|
@@ -9594,7 +9595,7 @@ const yd = { class: "flex flex-col h-full overflow-hidden" }, vd = { class: "fle
|
|
|
9594
9595
|
}, au = {
|
|
9595
9596
|
key: 0,
|
|
9596
9597
|
class: "flex flex-row flex-wrap gap-24 px-24 py-16"
|
|
9597
|
-
},
|
|
9598
|
+
}, xu = /* @__PURE__ */ oe({
|
|
9598
9599
|
__name: "InsightView",
|
|
9599
9600
|
setup(i) {
|
|
9600
9601
|
const { t } = Zn(), e = ha(), {
|
|
@@ -9720,5 +9721,5 @@ const yd = { class: "flex flex-col h-full overflow-hidden" }, vd = { class: "fle
|
|
|
9720
9721
|
}
|
|
9721
9722
|
});
|
|
9722
9723
|
export {
|
|
9723
|
-
|
|
9724
|
+
xu as default
|
|
9724
9725
|
};
|