@feedmepos/mf-report 5.22.1-remy-beta.1 → 5.22.1-remy-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-C7mY8Mti.js → App-iSIj8_lS.js} +17 -17
- package/dist/BaseDialog.vue_vue_type_script_setup_true_lang-Bnu9l9U0.js +315 -0
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CPniBJgZ.js} +37 -36
- package/dist/{Default.vue_vue_type_script_setup_true_lang-7MJTbycc.js → Default.vue_vue_type_script_setup_true_lang-Blc6DBml.js} +12 -11
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-Cq2Ssoih.js → FilterSelector.vue_vue_type_script_setup_true_lang-CHTMrqtt.js} +236 -235
- package/dist/{InsightView-CENPnVe7.js → InsightView-Ckkwb92m.js} +17 -16
- package/dist/{Integration-Czc6q14E.js → Integration-BoYn0XvH.js} +5 -4
- package/dist/{Integrations-DIXSWGS_.js → Integrations-D6Qz0hqf.js} +28 -27
- package/dist/{Layout-BJ7gfx7X.js → Layout-DIs6pMOT.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-V28xf-H0.js → MenuTab.vue_vue_type_script_setup_true_lang-Brwm-7zb.js} +9 -9
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-9PbGrSC0.js → NavigationTab.vue_vue_type_script_setup_true_lang-DZIauCN0.js} +98 -97
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js → NoData.vue_vue_type_script_setup_true_lang-CW6oZEnc.js} +1 -1
- package/dist/{OverviewView-C-DrSun5.js → OverviewView-Bx_6RMle.js} +16 -16
- package/dist/{Report-CrUITZYf.js → Report-E8GN07k7.js} +8 -9
- package/dist/{ReportEditor-hyFAa6EB.js → ReportEditor-bz8aajNj.js} +9 -8
- package/dist/{ReportView-Ci4mKX0q.js → ReportView-BEWiRAvV.js} +12 -12
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-BcQEW5MO.js → SelectComponent.vue_vue_type_script_setup_true_lang-CiT09OeD.js} +1 -1
- package/dist/{Setting-BzClHxv3.js → Setting-B6nnaJaX.js} +7 -6
- package/dist/{TileEditor-H3XGcpji.js → TileEditor-DncjwvcR.js} +18 -17
- package/dist/{TransitionFade-woMemCnD.js → TransitionFade-Bold22aO.js} +22 -21
- package/dist/app-CDw9UOqm.js +28808 -0
- package/dist/app.js +6 -5184
- package/dist/vue-i18n-CQAzKJVO.js +2711 -0
- package/package.json +1 -1
- package/dist/BaseDialog.vue_vue_type_script_setup_true_lang-Ccrz29qZ.js +0 -19983
- package/dist/vue-i18n-BJW_sJot.js +0 -6457
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as k, computed as w, resolveComponent as $, createBlock as
|
|
2
|
-
import { _ as F } from "./FilterSelector.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as L } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import {
|
|
1
|
+
import { defineComponent as k, computed as w, resolveComponent as $, createBlock as a, openBlock as t, withCtx as y, createVNode as d, createElementVNode as h, unref as e, normalizeStyle as C, normalizeClass as u, createElementBlock as _, Fragment as b, renderList as B } from "vue";
|
|
2
|
+
import { _ as F } from "./FilterSelector.vue_vue_type_script_setup_true_lang-CHTMrqtt.js";
|
|
3
|
+
import { _ as L } from "./Default.vue_vue_type_script_setup_true_lang-Blc6DBml.js";
|
|
4
|
+
import { g as P } from "./app-CDw9UOqm.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-CW6oZEnc.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-Brwm-7zb.js";
|
|
9
9
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
10
10
|
import { r as E } from "./i18n-DQxDgiLO.js";
|
|
11
11
|
const M = /* @__PURE__ */ k({
|
|
12
12
|
__name: "OverviewView",
|
|
13
13
|
setup(H) {
|
|
14
|
-
const { t: l, te: f } = D(), v = P(), { breakpoints: o } = V(), { isOpenDownloadDialog:
|
|
15
|
-
var
|
|
16
|
-
return ((
|
|
14
|
+
const { t: l, te: f } = D(), v = P(), { breakpoints: o } = V(), { isOpenDownloadDialog: g, overviewReport: r } = R(v), s = w(() => {
|
|
15
|
+
var n;
|
|
16
|
+
return ((n = r.value) == null ? void 0 : n.tiles) || [];
|
|
17
17
|
});
|
|
18
|
-
return (
|
|
19
|
-
const
|
|
20
|
-
return t(),
|
|
18
|
+
return (n, m) => {
|
|
19
|
+
const x = $("FmPageHead");
|
|
20
|
+
return t(), a(L, null, {
|
|
21
21
|
default: y(() => {
|
|
22
22
|
var i;
|
|
23
23
|
return [
|
|
24
|
-
d(
|
|
24
|
+
d(x, {
|
|
25
25
|
title: e(E)(e(l), e(f), (i = e(r)) == null ? void 0 : i.name, "other"),
|
|
26
26
|
class: "h-[68px]",
|
|
27
27
|
actions: [
|
|
@@ -32,7 +32,7 @@ const M = /* @__PURE__ */ k({
|
|
|
32
32
|
prependIcon: "download"
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
|
-
"onClick:action": m[0] || (m[0] = (p) =>
|
|
35
|
+
"onClick:action": m[0] || (m[0] = (p) => g.value = !0)
|
|
36
36
|
}, null, 8, ["title", "actions"]),
|
|
37
37
|
h("div", {
|
|
38
38
|
class: u(`flex flex-col gap-2 ${e(o).sm || e(o).xs ? "mb-20" : ""}`),
|
|
@@ -43,12 +43,12 @@ const M = /* @__PURE__ */ k({
|
|
|
43
43
|
key: 0,
|
|
44
44
|
class: u(["grid grid-cols-12", e(o).sm || e(o).xs ? "px-3 gap-[16px]" : "px-24 gap-[24px]"])
|
|
45
45
|
}, [
|
|
46
|
-
(t(!0), _(b, null, B(s.value, (p, c) => (t(),
|
|
46
|
+
(t(!0), _(b, null, B(s.value, (p, c) => (t(), a(F, {
|
|
47
47
|
key: `widget_${e(r).id}_${c}`,
|
|
48
48
|
"model-value": p,
|
|
49
49
|
index: c
|
|
50
50
|
}, null, 8, ["model-value", "index"]))), 128))
|
|
51
|
-
], 2)) : (t(),
|
|
51
|
+
], 2)) : (t(), a(S, { key: 1 }))
|
|
52
52
|
], 6)
|
|
53
53
|
];
|
|
54
54
|
}),
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { defineComponent as Se, ref as Y, watch as ne, computed as S, h as y, withModifiers as Ce, resolveComponent as C, createBlock as q, openBlock as J, withCtx as u, createVNode as s, createElementVNode as g, unref as e, normalizeStyle as xe, normalizeClass as x, withDirectives as U, createElementBlock as _e, Fragment as ke, renderList as we, toDisplayString as z, createTextVNode as $e, vShow as j } from "vue";
|
|
2
2
|
import { storeToRefs as le } from "pinia";
|
|
3
|
-
import {
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { b as se, f as Le } from "./vue-i18n-BJW_sJot.js";
|
|
3
|
+
import { g as Ie, c as Re, a as se, f as De } from "./app-CDw9UOqm.js";
|
|
4
|
+
import { _ as Fe } from "./Default.vue_vue_type_script_setup_true_lang-Blc6DBml.js";
|
|
5
|
+
import { u as Le } from "./message-dialog-UoMWOnil.js";
|
|
7
6
|
import { useSnackbar as Oe, useBreakpoints as Ne, components as Ve, FmButtonColorThemeVariant as Je } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as ze } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as ze } from "./NoData.vue_vue_type_script_setup_true_lang-CW6oZEnc.js";
|
|
9
8
|
import { useRouter as Ae, useRoute as Pe, onBeforeRouteLeave as Te } from "vue-router";
|
|
10
9
|
import { useI18n as Be } from "@feedmepos/mf-common";
|
|
11
10
|
import { r as ce } from "./i18n-DQxDgiLO.js";
|
|
12
|
-
const Ee = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ke = { class: "w-[343px]" }, Me = { class: "fm-typo-en-body-md-600" },
|
|
11
|
+
const Ee = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ke = { class: "w-[343px]" }, Me = { class: "fm-typo-en-body-md-600" }, tt = /* @__PURE__ */ Se({
|
|
13
12
|
__name: "Report",
|
|
14
13
|
setup(Ye) {
|
|
15
14
|
const { t: a, te: G } = Be(), H = Ae(), Q = Pe(), d = Ie(), ie = Re(), { business: ue } = le(se()), {
|
|
@@ -21,7 +20,7 @@ const Ee = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ke
|
|
|
21
20
|
scrollPositionY: W,
|
|
22
21
|
customReportQuota: D,
|
|
23
22
|
canCreateCustomReport: X
|
|
24
|
-
} = le(d), { promptMessage: Z } =
|
|
23
|
+
} = le(d), { promptMessage: Z } = Le(), { promptLoader: A } = De(), m = Oe(), { breakpoints: c } = Ne(), b = Y();
|
|
25
24
|
Te(() => {
|
|
26
25
|
b.value && (W.value = b.value.$el.children[0].scrollTop);
|
|
27
26
|
}), ne(b, () => {
|
|
@@ -288,7 +287,7 @@ const Ee = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ke
|
|
|
288
287
|
const { selectedLocationIds: k, dateRange: L, compareDateRange: O, timeRange: v, locations: he } = se(), N = S(() => k.length === he.length);
|
|
289
288
|
return (o, t) => {
|
|
290
289
|
const r = C("FmPageHead"), l = C("FmSearch"), w = C("FmForm"), M = C("FmListItem"), V = C("FmList"), i = C("FmTable");
|
|
291
|
-
return J(), q(
|
|
290
|
+
return J(), q(Fe, null, {
|
|
292
291
|
default: u(() => [
|
|
293
292
|
s(r, {
|
|
294
293
|
title: e(a)("report.common.report", 1),
|
|
@@ -484,5 +483,5 @@ const Ee = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ke
|
|
|
484
483
|
}
|
|
485
484
|
});
|
|
486
485
|
export {
|
|
487
|
-
|
|
486
|
+
tt as default
|
|
488
487
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { defineComponent as X, mergeModels as K, useModel as Q, ref as I, computed as D, resolveComponent as p, createBlock as V, openBlock as i, withCtx as u, createElementVNode as h, createVNode as o, unref as t, normalizeClass as ie, createTextVNode as _e, toDisplayString as H, createElementBlock as T, Fragment as G, renderSlot as $e, createCommentVNode as A, watch as de, renderList as ee, resolveDynamicComponent as Ie, isRef as Te, normalizeStyle as we, onMounted as Re } from "vue";
|
|
2
|
-
import { W as We, g as qe, _ as Ee, i as Pe, S as xe, d as ke, T as Je, a as ze } from "./TransitionFade-
|
|
3
|
-
import { D as j,
|
|
2
|
+
import { W as We, g as qe, _ as Ee, i as Pe, S as xe, d as ke, T as Je, a as ze } from "./TransitionFade-Bold22aO.js";
|
|
3
|
+
import { D as j, k as ue, C as ge, g as Oe, h as He, a as Le, l as be, f as je } from "./app-CDw9UOqm.js";
|
|
4
4
|
import { storeToRefs as me } from "pinia";
|
|
5
5
|
import { useRouter as Ne, useRoute as Me } from "vue-router";
|
|
6
6
|
import { useBreakpoints as pe, useSnackbar as De, FmButtonColorThemeVariant as oe } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as Ue } from "./message-dialog-UoMWOnil.js";
|
|
8
|
-
import { u as se
|
|
9
|
-
import { a as Ve, _ as he } from "./FilterSelector.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as ye } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as se } from "./vue-i18n-CQAzKJVO.js";
|
|
9
|
+
import { a as Ve, _ as he } from "./FilterSelector.vue_vue_type_script_setup_true_lang-CHTMrqtt.js";
|
|
10
|
+
import { _ as ye } from "./NoData.vue_vue_type_script_setup_true_lang-CW6oZEnc.js";
|
|
11
11
|
import { r as ce } from "./i18n-DQxDgiLO.js";
|
|
12
|
-
import { _ as Ce } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as Ce } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CiT09OeD.js";
|
|
13
|
+
import { v as re } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Bnu9l9U0.js";
|
|
13
14
|
const Ge = /* @__PURE__ */ X({
|
|
14
15
|
__name: "WidgetDialog",
|
|
15
16
|
props: /* @__PURE__ */ K({
|
|
@@ -920,7 +921,7 @@ const Ge = /* @__PURE__ */ X({
|
|
|
920
921
|
]);
|
|
921
922
|
};
|
|
922
923
|
}
|
|
923
|
-
}), bl = { class: "flex items-center gap-4" }, hl = { class: "flex justify-center items-center gap-2 w-full" }, yl = { class: "flex gap-4" },
|
|
924
|
+
}), bl = { class: "flex items-center gap-4" }, hl = { class: "flex justify-center items-center gap-2 w-full" }, yl = { class: "flex gap-4" }, Dl = /* @__PURE__ */ X({
|
|
924
925
|
__name: "ReportEditor",
|
|
925
926
|
setup(x) {
|
|
926
927
|
const r = Ne(), a = Me(), n = Oe(), { promptLoader: y } = je(), { t: m } = se(), { currentReport: _, editingReport: f } = me(n), { breakpoints: C } = pe(), s = D(() => {
|
|
@@ -1072,5 +1073,5 @@ const Ge = /* @__PURE__ */ X({
|
|
|
1072
1073
|
}
|
|
1073
1074
|
});
|
|
1074
1075
|
export {
|
|
1075
|
-
|
|
1076
|
+
Dl as default
|
|
1076
1077
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as H, computed as g, resolveComponent as M, createBlock as y, openBlock as u, withCtx as Y, createVNode as R, createElementVNode as O, unref as r, normalizeStyle as G, normalizeClass as $, createElementBlock as D, Fragment as Q, renderList as U } from "vue";
|
|
2
|
-
import { _ as W } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as K } from "./FilterSelector.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as W } from "./MenuTab.vue_vue_type_script_setup_true_lang-Brwm-7zb.js";
|
|
3
|
+
import { _ as K } from "./FilterSelector.vue_vue_type_script_setup_true_lang-CHTMrqtt.js";
|
|
4
4
|
import { useRouter as X, useRoute as Z } from "vue-router";
|
|
5
|
-
import { _ as ee } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import {
|
|
5
|
+
import { _ as ee } from "./Default.vue_vue_type_script_setup_true_lang-Blc6DBml.js";
|
|
6
|
+
import { g as oe, f as te, e as re } from "./app-CDw9UOqm.js";
|
|
7
7
|
import { storeToRefs as v } from "pinia";
|
|
8
|
-
import { b as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { useSnackbar as
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as pe } from "./
|
|
8
|
+
import { b as ae, c as le, u as se } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DZIauCN0.js";
|
|
9
|
+
import { _ as ne } from "./NoData.vue_vue_type_script_setup_true_lang-CW6oZEnc.js";
|
|
10
|
+
import { useSnackbar as ie, useBreakpoints as ue } from "@feedmepos/ui-library";
|
|
11
|
+
import { u as ce } from "./message-dialog-UoMWOnil.js";
|
|
12
|
+
import { u as pe } from "./vue-i18n-CQAzKJVO.js";
|
|
13
13
|
import { r as me } from "./i18n-DQxDgiLO.js";
|
|
14
14
|
const de = { class: "sticky top-0 z-10 bg-white" }, $e = /* @__PURE__ */ H({
|
|
15
15
|
__name: "ReportView",
|
|
16
16
|
setup(ve) {
|
|
17
|
-
const { t: e, te: E } =
|
|
17
|
+
const { t: e, te: E } = pe(), f = X(), c = Z(), i = ie(), { promptMessage: P } = ce(), p = oe(), b = ae(), { promptLoader: _ } = te(), { breakpoints: n } = ue(), {
|
|
18
18
|
currentReport: t,
|
|
19
19
|
overviewReport: I,
|
|
20
20
|
currentReportId: m,
|
|
@@ -23,7 +23,7 @@ const de = { class: "sticky top-0 z-10 bg-white" }, $e = /* @__PURE__ */ H({
|
|
|
23
23
|
editingReport: q,
|
|
24
24
|
canCreateCustomReport: A,
|
|
25
25
|
customReportQuota: w
|
|
26
|
-
} = v(p), { isOpenAccountingDialog: B } = v(
|
|
26
|
+
} = v(p), { isOpenAccountingDialog: B } = v(le()), { isOpenScheduleDialog: k } = v(se()), { disabled: L } = v(re()), T = g(() => {
|
|
27
27
|
var s;
|
|
28
28
|
const a = m.value === ((s = I.value) == null ? void 0 : s.id), o = [
|
|
29
29
|
{
|
|
@@ -180,7 +180,7 @@ const de = { class: "sticky top-0 z-10 bg-white" }, $e = /* @__PURE__ */ H({
|
|
|
180
180
|
"model-value": l,
|
|
181
181
|
index: h
|
|
182
182
|
}, null, 8, ["model-value", "index"]))), 128))
|
|
183
|
-
], 2)) : (u(), y(
|
|
183
|
+
], 2)) : (u(), y(ne, { key: 1 }))
|
|
184
184
|
], 6)
|
|
185
185
|
];
|
|
186
186
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as B, mergeModels as D, useModel as z, ref as b, computed as f, resolveComponent as n, createBlock as y, openBlock as _, withCtx as m, createElementVNode as c, normalizeStyle as L, withDirectives as U, createElementBlock as $, createVNode as d, unref as E, vShow as H, Fragment as N, renderList as O, toDisplayString as g, normalizeClass as q } from "vue";
|
|
2
|
-
import { u as A } from "./vue-i18n-
|
|
2
|
+
import { u as A } from "./vue-i18n-CQAzKJVO.js";
|
|
3
3
|
const K = (s, u) => {
|
|
4
4
|
const t = s.__vccOpts || s;
|
|
5
5
|
for (const [o, i] of u)
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent as B, ref as H, useModel as J, resolveComponent as h, createElementBlock as k, openBlock as x, createBlock as P, createElementVNode as t, resolveDynamicComponent as ne, unref as e, withCtx as y, createVNode as a, normalizeClass as O, toDisplayString as s, Fragment as K, renderList as Q, withDirectives as M, createTextVNode as ie, vShow as j, watch as me, normalizeStyle as ue } from "vue";
|
|
2
|
-
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import {
|
|
2
|
+
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-Blc6DBml.js";
|
|
3
|
+
import { d as z, w as I, x as pe, a as ce } from "./app-CDw9UOqm.js";
|
|
4
4
|
import { components as A, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as G } from "@feedmepos/ui-library";
|
|
5
|
-
import { t as N, s as fe } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { t as N, s as fe } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Bnu9l9U0.js";
|
|
6
6
|
import { u as ve } from "./message-dialog-UoMWOnil.js";
|
|
7
|
+
import { u as U } from "./vue-i18n-CQAzKJVO.js";
|
|
7
8
|
import { detectLocale as F } from "@feedmepos/mf-common";
|
|
8
|
-
import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CiT09OeD.js";
|
|
9
10
|
import { storeToRefs as _e } from "pinia";
|
|
10
11
|
const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex px-5 gap-2" }, xe = { class: "flex flex-col gap-2" }, be = { class: "fm-typo-en-title-sm-600" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ve = { class: "w-full gap-[24px] flex flex-col pt-2" }, Te = { class: "flex items-center w-full gap-3" }, De = { class: "text-fm-color-typo-primary" }, $e = { class: "text-fm-color-typo-secondary" }, Se = { class: "flex items-center gap-2" }, ke = /* @__PURE__ */ B({
|
|
11
12
|
__name: "ReportHour",
|
|
@@ -250,7 +251,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
250
251
|
}, null, 8, ["modelValue", "label", "items"])
|
|
251
252
|
]));
|
|
252
253
|
}
|
|
253
|
-
}), Be = { class: "w-2/4" }, Ue = { class: "fm-typo-en-title-sm-600" }, Ee = { class: "text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-lg-600" }, Me = { class: "text-fm-color-typo-secondary" }, je = { class: "fm-typo-en-body-lg-600" }, Je = { class: "text-fm-color-typo-secondary" }, Le = { class: "fm-typo-en-body-lg-600" },
|
|
254
|
+
}), Be = { class: "w-2/4" }, Ue = { class: "fm-typo-en-title-sm-600" }, Ee = { class: "text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-lg-600" }, Me = { class: "text-fm-color-typo-secondary" }, je = { class: "fm-typo-en-body-lg-600" }, Je = { class: "text-fm-color-typo-secondary" }, Le = { class: "fm-typo-en-body-lg-600" }, Ze = /* @__PURE__ */ B({
|
|
254
255
|
__name: "Setting",
|
|
255
256
|
setup(T) {
|
|
256
257
|
const { breakpoints: o } = X(), p = ce(), { defaultDateSetting: l } = _e(p), c = W(), { t: n } = U();
|
|
@@ -319,5 +320,5 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
319
320
|
}
|
|
320
321
|
});
|
|
321
322
|
export {
|
|
322
|
-
|
|
323
|
+
Ze as default
|
|
323
324
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { defineComponent as X, mergeModels as G, useModel as le, computed as _, ref as q, resolveComponent as x, createElementBlock as I, openBlock as h, createVNode as u, createElementVNode as C, unref as l, withCtx as $, toDisplayString as j, Fragment as ee, renderList as de, withModifiers as ae, createTextVNode as me, watch as se, createCommentVNode as U, createBlock as T, onMounted as ke, onUnmounted as Xe, renderSlot as Ne, onBeforeUnmount as We, resolveDynamicComponent as Oe, normalizeClass as Ie, withDirectives as te, vShow as ne, normalizeStyle as qe, isRef as He } from "vue";
|
|
2
2
|
import { useRoute as Ye, useRouter as Ee } from "vue-router";
|
|
3
|
-
import { h as Je, d as _e, S as we, _ as Ge, W as Ke, b as Qe, T as Ze, a as el } from "./TransitionFade-
|
|
4
|
-
import {
|
|
3
|
+
import { h as Je, d as _e, S as we, _ as Ge, W as Ke, b as Qe, T as Ze, a as el } from "./TransitionFade-Bold22aO.js";
|
|
4
|
+
import { h as Be, D as ll, S as Te, j as Le, p as ol, C as al, P as Ue, a as je, d as ce, g as tl } from "./app-CDw9UOqm.js";
|
|
5
5
|
import { storeToRefs as ue } from "pinia";
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as Y, h as je, p as tl, b as Re, d as ce } from "./vue-i18n-BJW_sJot.js";
|
|
6
|
+
import { u as Re } from "./message-dialog-UoMWOnil.js";
|
|
8
7
|
import { useSnackbar as nl, useBreakpoints as Me, FmButtonColorThemeVariant as ve } from "@feedmepos/ui-library";
|
|
9
|
-
import {
|
|
8
|
+
import { W as B, a as pe } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Bnu9l9U0.js";
|
|
9
|
+
import { _ as Q } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CiT09OeD.js";
|
|
10
|
+
import { u as Y } from "./vue-i18n-CQAzKJVO.js";
|
|
10
11
|
import { r as Z } from "./i18n-DQxDgiLO.js";
|
|
11
|
-
import { g as fe, u as ge, L as ie, b as Ve, _ as ze, a as il } from "./FilterSelector.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { d as be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { _ as Pe } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { g as fe, u as ge, L as ie, b as Ve, _ as ze, a as il } from "./FilterSelector.vue_vue_type_script_setup_true_lang-CHTMrqtt.js";
|
|
13
|
+
import { d as be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CPniBJgZ.js";
|
|
14
|
+
import { _ as Pe } from "./NoData.vue_vue_type_script_setup_true_lang-CW6oZEnc.js";
|
|
14
15
|
const he = [
|
|
15
16
|
{
|
|
16
17
|
type: B.Circular,
|
|
@@ -1014,7 +1015,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
|
|
|
1014
1015
|
}, {
|
|
1015
1016
|
default: $(() => [
|
|
1016
1017
|
u(r, { name: "drag_handle" }),
|
|
1017
|
-
C("p", Sl, j(l(
|
|
1018
|
+
C("p", Sl, j(l(Le)(A.name)), 1),
|
|
1018
1019
|
d[8] || (d[8] = C("div", { class: "grow" }, null, -1)),
|
|
1019
1020
|
u(k, {
|
|
1020
1021
|
icon: "close",
|
|
@@ -1157,7 +1158,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
|
|
|
1157
1158
|
function O(d) {
|
|
1158
1159
|
if (m.value)
|
|
1159
1160
|
switch (d) {
|
|
1160
|
-
case
|
|
1161
|
+
case al.Between:
|
|
1161
1162
|
m.value = {
|
|
1162
1163
|
...m.value,
|
|
1163
1164
|
operator: d,
|
|
@@ -1276,7 +1277,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
|
|
|
1276
1277
|
default: $(() => {
|
|
1277
1278
|
var H, E;
|
|
1278
1279
|
return [
|
|
1279
|
-
C("p", Bl, j(l(
|
|
1280
|
+
C("p", Bl, j(l(ol)(((H = M.joinDimension) == null ? void 0 : H.schemaName) ?? "")) + " " + j((E = M.joinDimension) == null ? void 0 : E.label), 1),
|
|
1280
1281
|
c[4] || (c[4] = C("div", { class: "grow" }, null, -1)),
|
|
1281
1282
|
u(r, {
|
|
1282
1283
|
icon: "close",
|
|
@@ -1752,7 +1753,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
|
|
|
1752
1753
|
emits: /* @__PURE__ */ G(["hideConfiguration"], ["update:modelValue"]),
|
|
1753
1754
|
setup(w, { emit: p }) {
|
|
1754
1755
|
var e, r;
|
|
1755
|
-
const o =
|
|
1756
|
+
const o = je(), { dateRange: s, timezone: n } = ue(o), f = {
|
|
1756
1757
|
startDate: s.value.startDate,
|
|
1757
1758
|
endDate: s.value.endDate
|
|
1758
1759
|
}, V = q({
|
|
@@ -1771,7 +1772,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
|
|
|
1771
1772
|
), We(() => {
|
|
1772
1773
|
s.value = { ...f };
|
|
1773
1774
|
});
|
|
1774
|
-
const v = le(w, "modelValue"), { breakpoints: m } = Me(), a = w, { promptMessage: i } =
|
|
1775
|
+
const v = le(w, "modelValue"), { breakpoints: m } = Me(), a = w, { promptMessage: i } = Re(), F = p, { t: S } = Y();
|
|
1775
1776
|
function D(k) {
|
|
1776
1777
|
v.value = yl(k);
|
|
1777
1778
|
}
|
|
@@ -2689,10 +2690,10 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
|
|
|
2689
2690
|
}, Lo = {
|
|
2690
2691
|
key: 0,
|
|
2691
2692
|
class: "flex items-start justify-start px-24 py-12 flex-wrap w-full"
|
|
2692
|
-
},
|
|
2693
|
+
}, Ko = /* @__PURE__ */ X({
|
|
2693
2694
|
__name: "TileEditor",
|
|
2694
2695
|
setup(w) {
|
|
2695
|
-
const { rowHeight: p, colWidths: o } = ue(ge()), s = Ye(), n = Ee(), f =
|
|
2696
|
+
const { rowHeight: p, colWidths: o } = ue(ge()), s = Ye(), n = Ee(), f = tl(), { globalFilters: V } = ue(je()), { currentSelectWidgetType: v, editingReport: m, editingTile: a, editingTileIndex: i } = ue(f), { breakpoints: F } = Me(), { promptMessage: S } = Re(), { t: D } = Y(), O = q(!1);
|
|
2696
2697
|
function b() {
|
|
2697
2698
|
v.value = void 0, a.value = void 0, i.value = -1, n.back();
|
|
2698
2699
|
}
|
|
@@ -2734,7 +2735,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
|
|
|
2734
2735
|
title: $(() => {
|
|
2735
2736
|
var r;
|
|
2736
2737
|
return [
|
|
2737
|
-
l(F).lg || l(F).md ? (h(), I("p", Bo, j(l(
|
|
2738
|
+
l(F).lg || l(F).md ? (h(), I("p", Bo, j(l(Le)(((r = l(a)) == null ? void 0 : r.widget.type) ?? "New report")), 1)) : U("", !0)
|
|
2738
2739
|
];
|
|
2739
2740
|
}),
|
|
2740
2741
|
_: 1
|
|
@@ -2762,5 +2763,5 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
|
|
|
2762
2763
|
}
|
|
2763
2764
|
});
|
|
2764
2765
|
export {
|
|
2765
|
-
|
|
2766
|
+
Ko as default
|
|
2766
2767
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { defineComponent as xe, onBeforeMount as On, onBeforeUnmount as In, resolveComponent as N, createElementBlock as Q, openBlock as V, normalizeStyle as Fn, unref as M, renderSlot as He, createVNode as k, createElementVNode as ve, toDisplayString as Ae, TransitionGroup as kn, nextTick as en, h as Bt, mergeModels as At, useModel as ze, computed as Fe, Fragment as Ge, renderList as tn, createBlock as Pe, normalizeClass as An, withCtx as ae, createTextVNode as nn, Transition as Tt, createCommentVNode as fe, ref as De, watch as mt, withModifiers as Rt } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { f as Nn, p as Pn, d as pt, k as Ce, m as on, j as Vn } from "./app-CDw9UOqm.js";
|
|
3
3
|
import { useCoreStore as Mn } from "@feedmepos/mf-common";
|
|
4
4
|
import { storeToRefs as Ln } from "pinia";
|
|
5
5
|
import { useRoute as $n } from "vue-router";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { u as Nt } from "./vue-i18n-CQAzKJVO.js";
|
|
7
|
+
import { W as L, a as Bn } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Bnu9l9U0.js";
|
|
8
|
+
import { a as Pt, _ as Xt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CiT09OeD.js";
|
|
9
|
+
import { R as Rn, I as Le, c as rn, d as an, e as Xn } from "./FilterSelector.vue_vue_type_script_setup_true_lang-CHTMrqtt.js";
|
|
9
10
|
import { useSnackbar as Yn } from "@feedmepos/ui-library";
|
|
10
|
-
import { d as Wn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { d as Wn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CPniBJgZ.js";
|
|
11
12
|
const Un = {
|
|
12
13
|
key: 0,
|
|
13
14
|
class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
|
|
14
|
-
}, jn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" },
|
|
15
|
+
}, jn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, hi = /* @__PURE__ */ xe({
|
|
15
16
|
__name: "FullScreen",
|
|
16
17
|
setup(t) {
|
|
17
18
|
const { t: e } = Nt(), n = $n(), { isLoading: o } = Ln(Nn()), i = Mn();
|
|
@@ -1845,7 +1846,7 @@ const Bo = {
|
|
|
1845
1846
|
]);
|
|
1846
1847
|
};
|
|
1847
1848
|
}
|
|
1848
|
-
}),
|
|
1849
|
+
}), gi = /* @__PURE__ */ Pt(Wo, [["__scopeId", "data-v-7c1916a3"]]);
|
|
1849
1850
|
function Uo(t) {
|
|
1850
1851
|
let e, n, o;
|
|
1851
1852
|
switch (t) {
|
|
@@ -1872,7 +1873,7 @@ function Uo(t) {
|
|
|
1872
1873
|
joinDatasources: e
|
|
1873
1874
|
};
|
|
1874
1875
|
}
|
|
1875
|
-
function
|
|
1876
|
+
function vi(t, e) {
|
|
1876
1877
|
let n = 1, o = 1;
|
|
1877
1878
|
switch (t) {
|
|
1878
1879
|
case L.Scorecard:
|
|
@@ -1906,7 +1907,7 @@ function gi(t, e) {
|
|
|
1906
1907
|
}
|
|
1907
1908
|
};
|
|
1908
1909
|
}
|
|
1909
|
-
function
|
|
1910
|
+
function bi(t, e) {
|
|
1910
1911
|
return t.filter((n, o) => o !== e);
|
|
1911
1912
|
}
|
|
1912
1913
|
const jo = {
|
|
@@ -1945,7 +1946,7 @@ const jo = {
|
|
|
1945
1946
|
], 64);
|
|
1946
1947
|
};
|
|
1947
1948
|
}
|
|
1948
|
-
}),
|
|
1949
|
+
}), yi = /* @__PURE__ */ Pt(Ho, [["__scopeId", "data-v-fa67a3a4"]]), zo = { class: "grow" }, Go = {
|
|
1949
1950
|
key: 2,
|
|
1950
1951
|
class: "w-full"
|
|
1951
1952
|
}, qo = { key: 0 }, Ko = /* @__PURE__ */ xe({
|
|
@@ -2041,7 +2042,7 @@ const jo = {
|
|
|
2041
2042
|
], Jo = xn.filter(
|
|
2042
2043
|
(t) => t !== Ce.DateTime
|
|
2043
2044
|
);
|
|
2044
|
-
function
|
|
2045
|
+
function _i(t) {
|
|
2045
2046
|
return xn.map((e) => ({
|
|
2046
2047
|
label: t(`report.section.filter.${on(e)}`),
|
|
2047
2048
|
value: e
|
|
@@ -2053,7 +2054,7 @@ function Zo(t) {
|
|
|
2053
2054
|
value: e
|
|
2054
2055
|
}));
|
|
2055
2056
|
}
|
|
2056
|
-
const Qo = { class: "flex flex-col my-2 gap-8" }, ei = { class: "fm-typo-en-body-lg-600" }, ti = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, ni = { class: "fm-typo-en-body-lg-400 text-ellipsis overflow-hidden line-clamp-1" },
|
|
2057
|
+
const Qo = { class: "flex flex-col my-2 gap-8" }, ei = { class: "fm-typo-en-body-lg-600" }, ti = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, ni = { class: "fm-typo-en-body-lg-400 text-ellipsis overflow-hidden line-clamp-1" }, wi = /* @__PURE__ */ xe({
|
|
2057
2058
|
__name: "FilterSection",
|
|
2058
2059
|
props: /* @__PURE__ */ At({
|
|
2059
2060
|
options: {
|
|
@@ -2351,16 +2352,16 @@ const Qo = { class: "flex flex-col my-2 gap-8" }, ei = { class: "fm-typo-en-body
|
|
|
2351
2352
|
})
|
|
2352
2353
|
], 64));
|
|
2353
2354
|
}
|
|
2354
|
-
}),
|
|
2355
|
+
}), Ei = /* @__PURE__ */ Pt(oi, [["__scopeId", "data-v-a98ca9bc"]]);
|
|
2355
2356
|
export {
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2357
|
+
yi as S,
|
|
2358
|
+
Ei as T,
|
|
2359
|
+
gi as W,
|
|
2360
|
+
wi as _,
|
|
2361
|
+
hi as a,
|
|
2361
2362
|
Uo as b,
|
|
2362
2363
|
Xo as d,
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2364
|
+
_i as g,
|
|
2365
|
+
bi as h,
|
|
2366
|
+
vi as i
|
|
2366
2367
|
};
|