@feedmepos/mf-report 5.4.20 → 5.4.21-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-DcCBKV_X.js → App-C-jZYb8W.js} +42 -42
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-CIDrrVrf.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-BaVjCBz9.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-LFlmBY0o.js → Default.vue_vue_type_script_setup_true_lang-DF2k79j3.js} +2 -2
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CxE6t7oL.js → DynamicWidget.vue_vue_type_script_setup_true_lang-B9lO4Xn1.js} +4 -4
- package/dist/{InsightView-Cgio5T-2.js → InsightView-DGe9I2eo.js} +6 -6
- package/dist/{Integration-DqhfFdDt.js → Integration-Rpft-wWc.js} +3 -3
- package/dist/{Integrations-C0KEvLA9.js → Integrations-OOJ4jft8.js} +3 -3
- package/dist/{Layout-8ARULQXB.js → Layout-DG22wg9C.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-CGsQmh3S.js → LocationSelect.vue_vue_type_script_setup_true_lang-DtCmKms0.js} +2 -2
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-oIsq1i1c.js → MenuTab.vue_vue_type_script_setup_true_lang-CwPa5SJD.js} +4 -4
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CwO5eJne.js → NavigationTab.vue_vue_type_script_setup_true_lang-C9O5yO0_.js} +4 -4
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-O7qHGZkw.js → NoData.vue_vue_type_script_setup_true_lang-8iT-uGdI.js} +1 -1
- package/dist/{OverviewView-H2bHENp8.js → OverviewView-DfATrawV.js} +5 -5
- package/dist/{Report-DPgKNAL4.js → Report-CKpOrNwx.js} +39 -39
- package/dist/{ReportEditor-ClTrZx6L.js → ReportEditor-BcC_gLX7.js} +5 -5
- package/dist/{ReportView-qIFBmGXf.js → ReportView-CBv6vAEA.js} +7 -7
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-B5OLIl_Y.js → SelectComponent.vue_vue_type_script_setup_true_lang-gtUCqf4j.js} +1 -1
- package/dist/{Setting-NPMH5-PG.js → Setting-DUTaqkHT.js} +4 -4
- package/dist/{TileEditor-CCdfSWZX.js → TileEditor-BnxzyDyT.js} +8 -8
- package/dist/{TransitionFade-DH9LRxD7.js → TransitionFade-ZVhmbHPE.js} +4 -4
- package/dist/app.js +11 -11
- package/dist/{global-loader-D9UMph7l.js → global-loader-BKQvLNRz.js} +308 -308
- package/dist/{index-CxVnRxOJ.js → index-2OLtpO8C.js} +1 -1
- package/dist/{report-schema-BEEUlheS.js → report-schema-D791R8wK.js} +1 -1
- package/dist/{timeFormat-BRqkZ3bP.js → timeFormat-DWBAXBup.js} +1 -1
- package/dist/{v4-tAe7F6Li.js → v4-6qwV7ITU.js} +1307 -1352
- package/package.json +1 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as O, resolveComponent as C, createBlock as T, openBlock as m, unref as r, isRef as Y, withCtx as w, createElementVNode as
|
|
2
|
-
import { detectLocale as g, useCoreStore as
|
|
3
|
-
import { u as oe, d as F, a as re, b as ne, c as
|
|
1
|
+
import { defineComponent as O, resolveComponent as C, createBlock as T, openBlock as m, unref as r, isRef as Y, withCtx as w, createElementVNode as q, createVNode as $, toDisplayString as D, createTextVNode as Z, onMounted as z, watch as p, ref as j, computed as I, onBeforeMount as M, onBeforeUnmount as ee, createElementBlock as b, Fragment as te } from "vue";
|
|
2
|
+
import { detectLocale as g, useCoreStore as k } from "@feedmepos/mf-common";
|
|
3
|
+
import { u as oe, d as F, a as re, b as ne, c as ae, e as se, f as le, g as ue } from "./global-loader-BKQvLNRz.js";
|
|
4
4
|
import { storeToRefs as B } from "pinia";
|
|
5
|
-
import { u as ie, a as ce } from "./v4-
|
|
6
|
-
import { u as me } from "./report-schema-
|
|
7
|
-
import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as ie, a as ce } from "./v4-6qwV7ITU.js";
|
|
6
|
+
import { u as me } from "./report-schema-D791R8wK.js";
|
|
7
|
+
import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-C9O5yO0_.js";
|
|
8
8
|
import { u as U } from "./message-dialog-UoMWOnil.js";
|
|
9
9
|
import { useRoute as fe } from "vue-router";
|
|
10
10
|
const pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, ge = /* @__PURE__ */ O({
|
|
11
11
|
__name: "Dialog",
|
|
12
12
|
setup(d) {
|
|
13
|
-
const { t } = oe(), n = U(), { isOpened:
|
|
14
|
-
return (
|
|
15
|
-
const v = C("FmButton"),
|
|
16
|
-
return m(), T(
|
|
17
|
-
modelValue: r(
|
|
18
|
-
"onUpdate:modelValue": u[0] || (u[0] = (_) => Y(
|
|
13
|
+
const { t } = oe(), n = U(), { isOpened: a, message: i, title: c } = B(U());
|
|
14
|
+
return (y, u) => {
|
|
15
|
+
const v = C("FmButton"), h = C("FmDialog");
|
|
16
|
+
return m(), T(h, {
|
|
17
|
+
modelValue: r(a),
|
|
18
|
+
"onUpdate:modelValue": u[0] || (u[0] = (_) => Y(a) ? a.value = _ : null),
|
|
19
19
|
overlay: "",
|
|
20
20
|
"close-button": !1
|
|
21
21
|
}, {
|
|
22
22
|
"dialog-header": w(() => [
|
|
23
|
-
Z(
|
|
23
|
+
Z(D(r(c)), 1)
|
|
24
24
|
]),
|
|
25
25
|
default: w(() => [
|
|
26
|
-
|
|
26
|
+
q("p", pe, D(r(i)), 1)
|
|
27
27
|
]),
|
|
28
28
|
"dialog-footer": w(() => [
|
|
29
|
-
u[1] || (u[1] =
|
|
29
|
+
u[1] || (u[1] = q("div", { class: "grow" }, null, -1)),
|
|
30
30
|
$(v, {
|
|
31
31
|
label: r(t)("report.common.cancel"),
|
|
32
32
|
variant: "tertiary",
|
|
@@ -41,8 +41,8 @@ const pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, ge
|
|
|
41
41
|
}, 8, ["modelValue"]);
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
}), x =
|
|
45
|
-
function
|
|
44
|
+
}), x = j(g());
|
|
45
|
+
function ye() {
|
|
46
46
|
const d = (t) => {
|
|
47
47
|
switch (x.value = t, t) {
|
|
48
48
|
case "zh-CN":
|
|
@@ -53,27 +53,27 @@ function he() {
|
|
|
53
53
|
break;
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
|
-
return
|
|
56
|
+
return z(() => {
|
|
57
57
|
d(g());
|
|
58
58
|
}), p(() => g(), d, { deep: !0, immediate: !0 }), {
|
|
59
59
|
currentLocale: x
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
F.locale(g() === "zh-CN" ? "zh-cn" : "en");
|
|
63
|
-
const
|
|
63
|
+
const he = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
|
|
64
64
|
__name: "App",
|
|
65
65
|
setup(d) {
|
|
66
|
-
const { businessId: t, token: n, country:
|
|
66
|
+
const { businessId: t, token: n, country: a } = B(re()), { sessionUser: i, currentBusiness: c, currentCountry: y, registerSidebarComponent: u } = k(), { getRestaurantAndWarehouse: v, getBusinessSetting: h } = ne(), { getFeatureFlags: _ } = ae(), { version: s } = B(ie()), { getSettings: A } = se(), l = fe(), { promptLoader: J } = le(), W = I(() => `https://portal-v1.feedmedev.cc/b/${t.value}/report/CLOSE_UP?showHeader=false&country=${a.value.toUpperCase()}&menuOption=business-report&token=${n.value}&v2=true&reportV5Button=true`), G = I(() => `https://report-v4.feedmedev.cc?businessId=${t.value}&country=${a.value}&token=${n.value}&reportV3Button=true`);
|
|
67
67
|
p(
|
|
68
68
|
// if route query pass in the detail we switch accordingly
|
|
69
69
|
[() => l.query, () => c.value, () => i.value],
|
|
70
70
|
() => {
|
|
71
71
|
var o, e, f;
|
|
72
|
-
l.query.token && l.query.businessId && l.query.country ? (t.value = l.query.businessId, n.value = l.query.token,
|
|
72
|
+
l.query.token && l.query.businessId && l.query.country ? (t.value = l.query.businessId, n.value = l.query.token, a.value = l.query.country) : ((o = c.value) != null && o.id && (t.value = c.value.id), (e = i.value) != null && e.token && (n.value = (f = i.value) == null ? void 0 : f.token), y.value && (a.value = y.value));
|
|
73
73
|
},
|
|
74
74
|
{ immediate: !0 }
|
|
75
75
|
);
|
|
76
|
-
function
|
|
76
|
+
function E(o) {
|
|
77
77
|
if (typeof o.data == "string")
|
|
78
78
|
try {
|
|
79
79
|
const e = JSON.parse(o.data);
|
|
@@ -86,42 +86,42 @@ const ye = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
|
|
|
86
86
|
if (typeof o.data == "string")
|
|
87
87
|
try {
|
|
88
88
|
const e = JSON.parse(o.data);
|
|
89
|
-
(e == null ? void 0 : e.v5) === !0 ?
|
|
89
|
+
(e == null ? void 0 : e.v5) === !0 ? s.value = S.value : (e == null ? void 0 : e.v3) === !0 && (s.value = "v3");
|
|
90
90
|
} catch (e) {
|
|
91
91
|
console.error(e);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
p(
|
|
95
|
-
["v3", "v4"].includes(
|
|
94
|
+
p(s, () => {
|
|
95
|
+
["v3", "v4"].includes(s.value) ? k().hideSidebarToggle(!0) : k().hideSidebarToggle(!1);
|
|
96
96
|
}), M(() => {
|
|
97
97
|
u(de);
|
|
98
|
-
}),
|
|
99
|
-
console.log("5.4.
|
|
98
|
+
}), z(() => {
|
|
99
|
+
console.log("5.4.21-beta.0", !0), window.addEventListener("message", E), window.addEventListener("message", L);
|
|
100
100
|
});
|
|
101
|
-
const
|
|
101
|
+
const R = ce(), N = ve();
|
|
102
102
|
ee(() => {
|
|
103
|
-
window.removeEventListener("message",
|
|
103
|
+
window.removeEventListener("message", E), window.removeEventListener("message", L), R.$dispose(), N.$dispose();
|
|
104
104
|
});
|
|
105
|
-
const { getReports:
|
|
105
|
+
const { getReports: K, getOverviewReport: P, getReportConfig: V } = R, { getSchema: H } = me(), { fetchSchedules: Q } = N, { init: X } = ue(), S = j("v5");
|
|
106
106
|
return p(
|
|
107
107
|
() => t.value,
|
|
108
108
|
() => {
|
|
109
109
|
t.value !== "" && J(async () => {
|
|
110
110
|
await X({
|
|
111
|
-
apiKey: "
|
|
111
|
+
apiKey: "MaGoXrEWuEJNpWgKTqseee",
|
|
112
112
|
url: "https://flag.feedme.farm/api/v1/",
|
|
113
113
|
enableAnalytics: !1,
|
|
114
114
|
cacheFlags: !1
|
|
115
115
|
});
|
|
116
|
-
const o = await
|
|
117
|
-
S.value = o.version,
|
|
116
|
+
const o = await V();
|
|
117
|
+
S.value = o.version, s.value = S.value, await Promise.all([
|
|
118
118
|
_(),
|
|
119
|
-
|
|
119
|
+
V(),
|
|
120
|
+
P(),
|
|
120
121
|
K(),
|
|
121
122
|
H(),
|
|
122
123
|
Q(),
|
|
123
|
-
|
|
124
|
-
y(),
|
|
124
|
+
h(),
|
|
125
125
|
v(),
|
|
126
126
|
A()
|
|
127
127
|
]);
|
|
@@ -130,18 +130,18 @@ const ye = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
|
|
|
130
130
|
{
|
|
131
131
|
immediate: !0
|
|
132
132
|
}
|
|
133
|
-
),
|
|
133
|
+
), ye(), (o, e) => {
|
|
134
134
|
const f = C("router-view");
|
|
135
|
-
return m(),
|
|
135
|
+
return m(), b(te, null, [
|
|
136
136
|
$(ge),
|
|
137
|
-
r(
|
|
137
|
+
r(s) === "v3" ? (m(), b("iframe", {
|
|
138
138
|
key: 0,
|
|
139
139
|
class: "bg-white h-full w-full",
|
|
140
|
-
src:
|
|
141
|
-
}, null, 8,
|
|
140
|
+
src: W.value
|
|
141
|
+
}, null, 8, he)) : r(s) === "v4" ? (m(), b("iframe", {
|
|
142
142
|
key: 1,
|
|
143
143
|
class: "bg-white h-full w-full",
|
|
144
|
-
src:
|
|
144
|
+
src: G.value
|
|
145
145
|
}, null, 8, _e)) : (m(), T(f, { key: 2 }))
|
|
146
146
|
], 64);
|
|
147
147
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as F, resolveComponent as g, createBlock as p, openBlock as u, withCtx as v, createCommentVNode as y, createElementVNode as w, toDisplayString as M, renderSlot as P, mergeModels as T, useModel as f, ref as C, watch as I, createElementBlock as x, createVNode as D, unref as c } from "vue";
|
|
2
|
-
import { d as n, G as O, C as B } from "./global-loader-
|
|
3
|
-
import { b as V } from "./index-
|
|
2
|
+
import { d as n, G as O, C as B } from "./global-loader-BKQvLNRz.js";
|
|
3
|
+
import { b as V } from "./index-2OLtpO8C.js";
|
|
4
4
|
import { detectLocale as $ } from "@feedmepos/mf-common";
|
|
5
5
|
const Y = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, j = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, k = /* @__PURE__ */ F({
|
|
6
6
|
__name: "FilterChip",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as s, openBlock as r, normalizeStyle as n, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as k, createElementVNode as x, renderSlot as g } 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-C9O5yO0_.js";
|
|
3
3
|
import { useBreakpoints as h } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as b } from "pinia";
|
|
5
|
-
import { f as w } from "./global-loader-
|
|
5
|
+
import { f as w } from "./global-loader-BKQvLNRz.js";
|
|
6
6
|
import { useRoute as q } from "vue-router";
|
|
7
7
|
const C = {
|
|
8
8
|
key: 1,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as W, useModel as H, computed as i, ref as L, resolveComponent as y, createElementBlock as D, openBlock as v, Fragment as z, renderSlot as j, createVNode as S, createElementVNode as k, toDisplayString as Z, unref as U, withCtx as V, createBlock as T, createCommentVNode as J, normalizeClass as le, normalizeStyle as _e, h as ge, renderList as Ce, mergeModels as Ee, watch as ae, onMounted as ze, onUnmounted as We, resolveDynamicComponent as He, withDirectives as Oe, vShow as qe } from "vue";
|
|
2
|
-
import { W as r, v as te, R as Ue, g as je, d as Ge, q as Je } from "./v4-
|
|
3
|
-
import { u as ie, b as xe, a as ue } from "./global-loader-
|
|
4
|
-
import { d as be } from "./index-
|
|
2
|
+
import { W as r, v as te, R as Ue, g as je, d as Ge, q as Je } from "./v4-6qwV7ITU.js";
|
|
3
|
+
import { u as ie, b as xe, a as ue } from "./global-loader-BKQvLNRz.js";
|
|
4
|
+
import { d as be } from "./index-2OLtpO8C.js";
|
|
5
5
|
import { storeToRefs as ne } from "pinia";
|
|
6
6
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
import { _ as ye } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as ye } from "./NoData.vue_vue_type_script_setup_true_lang-8iT-uGdI.js";
|
|
8
8
|
import { useBreakpoints as Qe, useSnackbar as Ze } from "@feedmepos/ui-library";
|
|
9
9
|
var re = /* @__PURE__ */ ((l) => (l.line = "LINE", l.bar = "BAR", l))(re || {}), A = /* @__PURE__ */ ((l) => (l.top = "TOP", l.bottom = "BOTTOM", l))(A || {});
|
|
10
10
|
r.Circular, r.Table, r.BarChart, r.LineChart, r.StackBarChart, r.StackLineChart, r.Scorecard, r.Spacer;
|
|
@@ -2,14 +2,14 @@ var Zo = Object.defineProperty;
|
|
|
2
2
|
var Qo = (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) => Qo(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import { ref as $t, defineComponent as oe, watch as ri, computed as _t, onMounted as Jo, 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, h as qn, F as Gn, u as Zn, b as oa } from "./global-loader-
|
|
5
|
+
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-DF2k79j3.js";
|
|
6
|
+
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BaVjCBz9.js";
|
|
7
|
+
import { d as Bi, a as Kn, h as qn, F as Gn, u as Zn, b as oa } from "./global-loader-BKQvLNRz.js";
|
|
8
8
|
import { storeToRefs as Qn } from "pinia";
|
|
9
9
|
import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
|
|
10
|
-
import { c as ys } from "./index-
|
|
11
|
-
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { _ as la } from "./LocationSelect.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { c as ys } from "./index-2OLtpO8C.js";
|
|
11
|
+
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-8iT-uGdI.js";
|
|
12
|
+
import { _ as la } from "./LocationSelect.vue_vue_type_script_setup_true_lang-DtCmKms0.js";
|
|
13
13
|
function ca({ start: i, end: t }) {
|
|
14
14
|
return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
|
|
15
15
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as H, mergeModels as _e, useModel as X, computed as E, resolveComponent as $, createElementBlock as D, openBlock as d, createElementVNode as t, createCommentVNode as R, normalizeClass as Ke, Fragment as L, renderList as Q, createBlock as K, createVNode as i, withCtx as xe, toDisplayString as T, unref as f, ref as B, watch as ge, isRef as he, h as I, resolveDynamicComponent as be, mergeProps as Le, onMounted as ze } from "vue";
|
|
2
2
|
import { useRouter as pe, useRoute as Ee } from "vue-router";
|
|
3
|
-
import { u as W, I as de, d as je, e as we, f as ke, b as ue, q as Ye, m as qe, p as Ve, r as $e, s as Se, t as Ce, v as Ae, w as He, x as Qe, y as Xe, A as ve, z as Pe, B as Ge, E as Je } from "./global-loader-
|
|
3
|
+
import { u as W, I as de, d as je, e as we, f as ke, b as ue, q as Ye, m as qe, p as Ve, r as $e, s as Se, t as Ce, v as Ae, w as He, x as Qe, y as Xe, A as ve, z as Pe, B as Ge, E as Je } from "./global-loader-BKQvLNRz.js";
|
|
4
4
|
import { u as Fe } from "./message-dialog-UoMWOnil.js";
|
|
5
5
|
import { useSnackbar as fe } from "@feedmepos/ui-library";
|
|
6
|
-
import { s as We } from "./index-
|
|
6
|
+
import { s as We } from "./index-2OLtpO8C.js";
|
|
7
7
|
import { storeToRefs as De } from "pinia";
|
|
8
|
-
import { _ as Ue } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Ue } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BaVjCBz9.js";
|
|
9
9
|
const Ze = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, et = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis" }, tt = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "w-[24px] flex items-center"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as q, mergeModels as z, useModel as $, computed as G, resolveComponent as b, createBlock as S, unref as n, openBlock as V, withCtx as w, createElementVNode as i, createVNode as m, toDisplayString as J, createTextVNode as Q, ref as T, h as g, createElementBlock as X, Fragment as Y } from "vue";
|
|
2
2
|
import { useRouter as Z, useRoute as ee } from "vue-router";
|
|
3
|
-
import { I as R, u as E, e as N, f as oe, o as P, p as te } from "./global-loader-
|
|
3
|
+
import { I as R, u as E, e as N, f as oe, o as P, p as te } from "./global-loader-BKQvLNRz.js";
|
|
4
4
|
import { useBreakpoints as K, useSnackbar as ae, components as le, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as ne } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as ne } from "./SelectComponent.vue_vue_type_script_setup_true_lang-gtUCqf4j.js";
|
|
6
6
|
import { storeToRefs as O } from "pinia";
|
|
7
7
|
import { u as re } from "./message-dialog-UoMWOnil.js";
|
|
8
|
-
import { _ as se } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as se } from "./NoData.vue_vue_type_script_setup_true_lang-8iT-uGdI.js";
|
|
9
9
|
import { _ as ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const me = { class: "flex flex-col" }, de = { class: "fm-typo-en-body-lg-600" }, ue = { class: "flex gap-2 overflow-hidden flex-col" }, pe = { class: "flex gap-2 overflow-hidden" }, ce = { class: "flex flex-col w-full" }, fe = { class: "flex flex-col gap-5 p-6" }, ge = { class: "flex" }, ve = /* @__PURE__ */ q({
|
|
11
11
|
__name: "AddIntegrationDialog",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, resolveComponent as t, createBlock as r, openBlock as n, withCtx as _, createVNode as c } from "vue";
|
|
2
|
-
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-DF2k79j3.js";
|
|
3
3
|
const f = /* @__PURE__ */ o({
|
|
4
4
|
__name: "Layout",
|
|
5
5
|
setup(m) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as wt, mergeModels as nu, useModel as Ks, ref as _e, createElementBlock as ce, onMounted as ny, openBlock as F, Fragment as Ve, createBlock as le, createCommentVNode as Ze, unref as yt, computed as _t, watch as Dn, resolveComponent as W, createElementVNode as ae, createVNode as P, renderList as kt, withCtx as Oe, toDisplayString as fr, renderSlot as Gs, mergeProps as ry, normalizeClass as ay, withDirectives as iy, vShow as uy, withModifiers as oy, nextTick as sy } from "vue";
|
|
2
|
-
import { a as ly } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as cy, b as fy } from "./global-loader-
|
|
2
|
+
import { a as ly } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BaVjCBz9.js";
|
|
3
|
+
import { u as cy, b as fy } from "./global-loader-BKQvLNRz.js";
|
|
4
4
|
import { useBreakpoints as dy, useDialog as py, useDialogChild as hy } from "@feedmepos/ui-library";
|
|
5
5
|
const vy = { class: "px-8" }, my = { class: "max-h-[160px] overflow-y-auto" }, yy = /* @__PURE__ */ wt({
|
|
6
6
|
__name: "FilterEntry",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as I, mergeModels as Q, useModel as C, ref as L, watch as W, resolveComponent as c, createElementBlock as D, openBlock as f, createTextVNode as P, createVNode as u, toDisplayString as _, unref as t, withCtx as g, createElementVNode as d, createCommentVNode as V, Fragment as M, renderList as H, createBlock as S, withDirectives as X, vShow as Y, isRef as $, normalizeClass as z } from "vue";
|
|
2
|
-
import { u as Z, d as F, b as E } from "./global-loader-
|
|
2
|
+
import { u as Z, d as F, b as E } from "./global-loader-BKQvLNRz.js";
|
|
3
3
|
import { storeToRefs as G } from "pinia";
|
|
4
|
-
import { _ as ee } from "./LocationSelect.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { a as te, _ as oe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { t as q, s as le } from "./timeFormat-
|
|
4
|
+
import { _ as ee } from "./LocationSelect.vue_vue_type_script_setup_true_lang-DtCmKms0.js";
|
|
5
|
+
import { a as te, _ as oe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BaVjCBz9.js";
|
|
6
|
+
import { t as q, s as le } from "./timeFormat-DWBAXBup.js";
|
|
7
7
|
import { detectLocale as k } from "@feedmepos/mf-common";
|
|
8
8
|
import { useBreakpoints as ne } from "@feedmepos/ui-library";
|
|
9
9
|
const ae = { class: "px-24 py-16 rounded-lg shadow-light-300" }, me = { class: "text-fm-color-typo-primary" }, ue = { class: "text-fm-color-typo-secondary" }, ie = { class: "fm-typo-en-body-lg-600 mb-8" }, re = { class: "flex items-center justify-center w-full" }, se = { class: "fm-typo-en-body-lg-600 mb-8" }, de = { class: "flex items-center justify-center" }, ce = { class: "flex flex-row mb-4 px-4 gap-2" }, pe = /* @__PURE__ */ I({
|
|
@@ -4,11 +4,11 @@ var za = (e, t, r) => Ml(e, typeof t != "symbol" ? t + "" : t, r);
|
|
|
4
4
|
import { defineComponent as Hr, computed as hr, useModel as Nt, ref as Le, watch as ln, resolveComponent as pe, createBlock as Je, unref as Y, openBlock as Ae, withCtx as ke, createElementVNode as Se, createVNode as te, toDisplayString as Er, withDirectives as ya, createElementBlock as mr, Fragment as vt, renderList as gt, vShow as Fa, createTextVNode as Ot, mergeModels as Ia, createCommentVNode as Xt, normalizeClass as fa, withModifiers as Bl, resolveDynamicComponent as Ui, isRef as ja, createSlots as Ul } from "vue";
|
|
5
5
|
import { useRouter as ef, useRoute as rf } from "vue-router";
|
|
6
6
|
import { storeToRefs as Mr, defineStore as tf } from "pinia";
|
|
7
|
-
import { a as La, R as Oa, g as $n, v as Vl, d as Wl, s as Hl, u as Xl } from "./v4-
|
|
7
|
+
import { a as La, R as Oa, g as $n, v as Vl, d as Wl, s as Hl, u as Xl } from "./v4-6qwV7ITU.js";
|
|
8
8
|
import { useBreakpoints as i0, components as Gt, useSnackbar as En, FmButtonVariant as Vi } from "@feedmepos/ui-library";
|
|
9
|
-
import { u as _t, i as Gl, j as z0, a as wt, h as kt, F as Tt, d as Pe, b as s0, k as Ma, l as $l, m as Yl, e as zl, n as Ka } from "./global-loader-
|
|
10
|
-
import { _ as Wi } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { C as ft, g as jl, a as af, p as Kl } from "./index-
|
|
9
|
+
import { u as _t, i as Gl, j as z0, a as wt, h as kt, F as Tt, d as Pe, b as s0, k as Ma, l as $l, m as Yl, e as zl, n as Ka } from "./global-loader-BKQvLNRz.js";
|
|
10
|
+
import { _ as Wi } from "./SelectComponent.vue_vue_type_script_setup_true_lang-gtUCqf4j.js";
|
|
11
|
+
import { C as ft, g as jl, a as af, p as Kl } from "./index-2OLtpO8C.js";
|
|
12
12
|
import "@feedmepos/mf-common";
|
|
13
13
|
import { _ as Jl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
|
|
14
14
|
import { _ as ql } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as m, computed as s, resolveComponent as p, createElementBlock as f, openBlock as u, renderSlot as d, createVNode as _, withCtx as g, createElementVNode as o, toDisplayString as r } from "vue";
|
|
2
|
-
import { u as y } from "./global-loader-
|
|
2
|
+
import { u as y } from "./global-loader-BKQvLNRz.js";
|
|
3
3
|
const x = { class: "flex flex-col h-full" }, D = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, T = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, v = /* @__PURE__ */ m({
|
|
4
4
|
__name: "NoData",
|
|
5
5
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as g, computed as w, resolveComponent as k, createBlock as a, openBlock as t, withCtx as $, createVNode as d, createElementVNode as y, unref as e, normalizeStyle as C, normalizeClass as u, createElementBlock as _, Fragment as h, renderList as B } from "vue";
|
|
2
|
-
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as P } from "./v4-
|
|
2
|
+
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B9lO4Xn1.js";
|
|
3
|
+
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-DF2k79j3.js";
|
|
4
|
+
import { a as P } from "./v4-6qwV7ITU.js";
|
|
5
5
|
import { storeToRefs as R } from "pinia";
|
|
6
|
-
import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-8iT-uGdI.js";
|
|
7
7
|
import { useBreakpoints as V } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-CwPa5SJD.js";
|
|
9
9
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
10
10
|
const G = /* @__PURE__ */ g({
|
|
11
11
|
__name: "OverviewView",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ce, ref as O, watch as Q, computed as $, h as f, withModifiers as me, resolveComponent as C, createBlock as T, openBlock as F, withCtx as m, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as ie, normalizeClass as _, withDirectives as B, createElementBlock as ue, Fragment as pe, renderList as de, toDisplayString as S, createTextVNode as fe, vShow as D } from "vue";
|
|
2
2
|
import { storeToRefs as W } from "pinia";
|
|
3
|
-
import { a as ve } from "./v4-
|
|
4
|
-
import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a as ve } from "./v4-6qwV7ITU.js";
|
|
4
|
+
import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-DF2k79j3.js";
|
|
5
5
|
import { u as ge } from "./message-dialog-UoMWOnil.js";
|
|
6
|
-
import { b as be, f as xe } from "./global-loader-
|
|
6
|
+
import { b as be, f as xe } from "./global-loader-BKQvLNRz.js";
|
|
7
7
|
import { useSnackbar as Ce, useBreakpoints as _e, components as he, FmButtonColorThemeVariant as ke } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as $e } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as $e } from "./NoData.vue_vue_type_script_setup_true_lang-8iT-uGdI.js";
|
|
9
9
|
import { useRouter as we, useRoute as Ie, onBeforeRouteLeave as Re } from "vue-router";
|
|
10
10
|
import { useI18n as Fe } from "@feedmepos/mf-common";
|
|
11
11
|
const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le = { class: "w-[343px]" }, Ve = { class: "fm-typo-en-body-md-600" }, Je = /* @__PURE__ */ ce({
|
|
@@ -48,22 +48,22 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
48
48
|
}))
|
|
49
49
|
]), b = O(Y.value[0]), R = O(""), x = $(() => j.value.length === 0 || w.value.length === 0 ? [] : [
|
|
50
50
|
...L.value.map((o) => {
|
|
51
|
-
const
|
|
51
|
+
const a = w.value.find((c) => c.id === o.category);
|
|
52
52
|
return {
|
|
53
53
|
name: o.name,
|
|
54
|
-
categoryId: (
|
|
55
|
-
category:
|
|
54
|
+
categoryId: (a == null ? void 0 : a.id) ?? "",
|
|
55
|
+
category: a != null && a.name ? r(`report.category.${a.name}`) : r("report.common.Uncategorized"),
|
|
56
56
|
reportId: o.id,
|
|
57
57
|
editable: o.editable,
|
|
58
58
|
pin: !0
|
|
59
59
|
};
|
|
60
60
|
}).filter((o) => b.value.value && o.categoryId !== b.value.value ? !1 : o.name.toLowerCase().indexOf(R.value.toLowerCase()) !== -1),
|
|
61
61
|
...j.value.map((o) => {
|
|
62
|
-
const
|
|
62
|
+
const a = w.value.find((c) => c.id === o.category);
|
|
63
63
|
return {
|
|
64
64
|
name: o.name,
|
|
65
|
-
categoryId: (
|
|
66
|
-
category:
|
|
65
|
+
categoryId: (a == null ? void 0 : a.id) ?? "",
|
|
66
|
+
category: a != null && a.name ? r(`report.category.${a.name}`) : r("report.common.uncategorized"),
|
|
67
67
|
reportId: o.id,
|
|
68
68
|
editable: o.editable,
|
|
69
69
|
pin: !1
|
|
@@ -102,7 +102,7 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
102
102
|
width: "100px"
|
|
103
103
|
},
|
|
104
104
|
cell: (t) => {
|
|
105
|
-
const o = t.row.original,
|
|
105
|
+
const o = t.row.original, a = o.reportId, c = d.value.find((i) => i.id === a), N = [
|
|
106
106
|
{
|
|
107
107
|
label: r("report.common.duplicate"),
|
|
108
108
|
onClick: () => {
|
|
@@ -191,11 +191,11 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
191
191
|
title: r("report.common.duplicateReport"),
|
|
192
192
|
message: r("report.common.confirmDuplicate", { name: t.name })
|
|
193
193
|
})) {
|
|
194
|
-
const
|
|
195
|
-
|
|
194
|
+
const a = JSON.parse(JSON.stringify(t));
|
|
195
|
+
a.editable = !0, a.id = "", a.name = `${a.name} ${r("report.common.duplicate")}`, K(async () => {
|
|
196
196
|
try {
|
|
197
|
-
await p.createOrUpdateReport(
|
|
198
|
-
message: `${r("report.common.duplicate")} ${
|
|
197
|
+
await p.createOrUpdateReport(a), v.open({
|
|
198
|
+
message: `${r("report.common.duplicate")} ${a.name} ${r(
|
|
199
199
|
"report.common.successful"
|
|
200
200
|
)}`,
|
|
201
201
|
type: "success"
|
|
@@ -208,7 +208,7 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
208
208
|
}
|
|
209
209
|
async function G(t) {
|
|
210
210
|
await J({
|
|
211
|
-
title: r("report.
|
|
211
|
+
title: r("report.messages.deleteReport"),
|
|
212
212
|
message: r("report.messages.confirmDelete", { name: t.name })
|
|
213
213
|
}) && K(async () => {
|
|
214
214
|
try {
|
|
@@ -216,12 +216,12 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
216
216
|
message: `${r("report.common.delete")} ${t.name} ${r("report.common.successful")}`,
|
|
217
217
|
type: "success"
|
|
218
218
|
});
|
|
219
|
-
} catch (
|
|
220
|
-
v.open({ message: JSON.stringify(
|
|
219
|
+
} catch (a) {
|
|
220
|
+
v.open({ message: JSON.stringify(a), type: "error" });
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function ae() {
|
|
225
225
|
if (ee.value)
|
|
226
226
|
Z.value = !0;
|
|
227
227
|
else {
|
|
@@ -241,14 +241,14 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
241
241
|
type: "success"
|
|
242
242
|
}), p.cachePinReport(t));
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function le(t) {
|
|
245
245
|
b.value = t;
|
|
246
246
|
}
|
|
247
247
|
return (t, o) => {
|
|
248
|
-
const
|
|
248
|
+
const a = C("FmPageHead"), c = C("FmSearch"), N = C("FmForm"), i = C("FmListItem"), ne = C("FmList"), se = C("FmTable");
|
|
249
249
|
return F(), T(ye, null, {
|
|
250
250
|
default: m(() => [
|
|
251
|
-
n(
|
|
251
|
+
n(a, {
|
|
252
252
|
title: e(r)("report.common.report", 1),
|
|
253
253
|
class: "h-[68px]",
|
|
254
254
|
actions: [
|
|
@@ -259,7 +259,7 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
259
259
|
prependIcon: "add"
|
|
260
260
|
}
|
|
261
261
|
],
|
|
262
|
-
"onClick:action": o[0] || (o[0] = (
|
|
262
|
+
"onClick:action": o[0] || (o[0] = (l) => ae())
|
|
263
263
|
}, null, 8, ["title", "actions"]),
|
|
264
264
|
y("div", {
|
|
265
265
|
class: _(`overflow-y-hidden flex flex-col gap-8 ${e(s).sm || e(s).xs ? "mb-20" : ""}`),
|
|
@@ -280,10 +280,10 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
280
280
|
})
|
|
281
281
|
]),
|
|
282
282
|
default: m(() => [
|
|
283
|
-
(F(!0), ue(pe, null, de(Y.value, (
|
|
283
|
+
(F(!0), ue(pe, null, de(Y.value, (l, u) => (F(), T(e(h), {
|
|
284
284
|
key: u,
|
|
285
|
-
label: e(r)(`report.category.${
|
|
286
|
-
onClick: () =>
|
|
285
|
+
label: e(r)(`report.category.${l.label}`),
|
|
286
|
+
onClick: () => le(l)
|
|
287
287
|
}, null, 8, ["label", "onClick"]))), 128))
|
|
288
288
|
]),
|
|
289
289
|
_: 1
|
|
@@ -297,7 +297,7 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
297
297
|
y("div", Le, [
|
|
298
298
|
n(c, {
|
|
299
299
|
modelValue: R.value,
|
|
300
|
-
"onUpdate:modelValue": o[1] || (o[1] = (
|
|
300
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => R.value = l),
|
|
301
301
|
class: _(`${e(s).lg || e(s).md ? "grow" : ""}`)
|
|
302
302
|
}, null, 8, ["modelValue", "class"])
|
|
303
303
|
])
|
|
@@ -315,17 +315,17 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
315
315
|
"page-size": x.value.length,
|
|
316
316
|
"hide-footer": !0,
|
|
317
317
|
"row-class-name": "row",
|
|
318
|
-
onRowClick: o[2] || (o[2] = (
|
|
319
|
-
e(p).updateCurrentReportId(
|
|
318
|
+
onRowClick: o[2] || (o[2] = (l) => {
|
|
319
|
+
e(p).updateCurrentReportId(l.original.reportId), e(M).push({
|
|
320
320
|
name: "reportView",
|
|
321
321
|
query: e(U).query
|
|
322
322
|
});
|
|
323
323
|
})
|
|
324
324
|
}, {
|
|
325
|
-
"list-row": m(({ original:
|
|
325
|
+
"list-row": m(({ original: l }) => [
|
|
326
326
|
n(ne, {
|
|
327
327
|
onClick: () => {
|
|
328
|
-
|
|
328
|
+
l.reportId && (e(p).updateCurrentReportId(l.reportId), e(M).push({
|
|
329
329
|
name: "reportView",
|
|
330
330
|
query: e(U).query
|
|
331
331
|
}));
|
|
@@ -334,18 +334,18 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
334
334
|
default: m(() => [
|
|
335
335
|
n(i, {
|
|
336
336
|
tag: "label",
|
|
337
|
-
label:
|
|
337
|
+
label: l.name,
|
|
338
338
|
clickable: ""
|
|
339
339
|
}, {
|
|
340
340
|
append: m(() => [
|
|
341
341
|
n(e(P), {
|
|
342
342
|
class: _(
|
|
343
|
-
|
|
343
|
+
l.category !== "Uncategorized" ? "bg-fm-color-system-info-100 text-fm-color-typo-info" : "text-fm-color-typo-secondary"
|
|
344
344
|
),
|
|
345
345
|
compact: !0
|
|
346
346
|
}, {
|
|
347
347
|
default: m(() => [
|
|
348
|
-
y("p", Ve, S(
|
|
348
|
+
y("p", Ve, S(l.category), 1)
|
|
349
349
|
]),
|
|
350
350
|
_: 2
|
|
351
351
|
}, 1032, ["class"]),
|
|
@@ -361,10 +361,10 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
361
361
|
]),
|
|
362
362
|
default: m(() => [
|
|
363
363
|
n(e(h), {
|
|
364
|
-
label:
|
|
364
|
+
label: l.pin ? "Unpin" : "Pin",
|
|
365
365
|
onClick: () => {
|
|
366
366
|
const u = e(d).find(
|
|
367
|
-
(k) => k.id ===
|
|
367
|
+
(k) => k.id === l.reportId
|
|
368
368
|
);
|
|
369
369
|
u && H(u);
|
|
370
370
|
}
|
|
@@ -373,7 +373,7 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
373
373
|
label: e(r)("report.common.duplicate"),
|
|
374
374
|
onClick: () => {
|
|
375
375
|
const u = e(d).find(
|
|
376
|
-
(k) => k.id ===
|
|
376
|
+
(k) => k.id === l.reportId
|
|
377
377
|
);
|
|
378
378
|
u && E(u);
|
|
379
379
|
}
|
|
@@ -383,7 +383,7 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
383
383
|
class: "text-fm-color-typo-error",
|
|
384
384
|
onClick: () => {
|
|
385
385
|
const u = e(d).find(
|
|
386
|
-
(k) => k.id ===
|
|
386
|
+
(k) => k.id === l.reportId
|
|
387
387
|
);
|
|
388
388
|
u && G(u);
|
|
389
389
|
}
|
|
@@ -393,7 +393,7 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
393
393
|
]),
|
|
394
394
|
_: 2
|
|
395
395
|
}, 1032, ["label", "onClick"]), [
|
|
396
|
-
[D,
|
|
396
|
+
[D, l.editable]
|
|
397
397
|
])
|
|
398
398
|
]),
|
|
399
399
|
_: 2
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as S, mergeModels as $, useModel as M, ref as N, computed as P, resolveComponent as c, createBlock as b, openBlock as s, withCtx as m, createElementVNode as C, createVNode as a, unref as o, normalizeClass as E, createTextVNode as fe, toDisplayString as O, createElementBlock as x, Fragment as q, renderSlot as j, createCommentVNode as U, watch as ve, resolveDynamicComponent as K, isRef as Q, renderList as H, onMounted as ge, normalizeStyle as _e } from "vue";
|
|
2
|
-
import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-
|
|
3
|
-
import { a as X, v as Y } from "./v4-
|
|
2
|
+
import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-ZVhmbHPE.js";
|
|
3
|
+
import { a as X, v as Y } from "./v4-6qwV7ITU.js";
|
|
4
4
|
import { storeToRefs as Z } from "pinia";
|
|
5
5
|
import { useRouter as ee, useRoute as oe } from "vue-router";
|
|
6
6
|
import { useBreakpoints as A, FmButtonColorThemeVariant as W, useSnackbar as xe } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as te } from "./message-dialog-UoMWOnil.js";
|
|
8
|
-
import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as I, f as he } from "./global-loader-
|
|
8
|
+
import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B9lO4Xn1.js";
|
|
9
|
+
import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-8iT-uGdI.js";
|
|
10
|
+
import { u as I, f as he } from "./global-loader-BKQvLNRz.js";
|
|
11
11
|
const we = /* @__PURE__ */ S({
|
|
12
12
|
__name: "WidgetDialog",
|
|
13
13
|
props: /* @__PURE__ */ $({
|