@feedmepos/mf-report 5.5.0-beta.0 → 5.5.0-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-Cgynv4z6.js → App-3AA82w93.js} +3 -3
- package/dist/{Default.vue_vue_type_script_setup_true_lang-DoZjQrXi.js → Default.vue_vue_type_script_setup_true_lang-C9Z0V0n1.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-9HLzKjix.js → DynamicWidget.vue_vue_type_script_setup_true_lang-C6n257cI.js} +1 -1
- package/dist/{InsightView-CazscxFM.js → InsightView-Ni6vW3aD.js} +7 -8
- package/dist/{Layout-B6nbTiWn.js → Layout-DVo5xdO3.js} +1 -1
- package/dist/MenuTab.vue_vue_type_script_setup_true_lang-Bb3LInGT.js +101 -0
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DfXW3V-Z.js → NavigationTab.vue_vue_type_script_setup_true_lang-zwKrwMyb.js} +16152 -7953
- package/dist/{OverviewView-D4f5GD94.js → OverviewView-CElfEZSC.js} +4 -4
- package/dist/{Report-t5C_RytN.js → Report-BfJv7BYZ.js} +2 -2
- package/dist/{ReportEditor-CyI-OeIq.js → ReportEditor-CACAI5rx.js} +3 -3
- package/dist/{ReportView-DSa6UBCG.js → ReportView-Buv6RyGB.js} +5 -5
- package/dist/{Setting-C3cEoUqd.js → Setting-EjtiAOJn.js} +2 -2
- package/dist/{TileEditor-DpD-oLcv.js → TileEditor-DnDiDIo3.js} +3 -3
- package/dist/{TransitionFade-DGn_cYeQ.js → TransitionFade-DBduwk2M.js} +2 -2
- package/dist/app.js +9 -9
- package/dist/{v4-BDHq16P_.js → v4-BS8SFGqd.js} +378 -364
- package/package.json +1 -1
- package/dist/LocationSelect.vue_vue_type_script_setup_true_lang-BRAZAoJz.js +0 -7988
- package/dist/MenuTab.vue_vue_type_script_setup_true_lang-BdDMXz7S.js +0 -276
- package/dist/timeFormat-CAyeO7-a.js +0 -9
|
@@ -2,9 +2,9 @@ import { defineComponent as O, resolveComponent as C, createBlock as T, openBloc
|
|
|
2
2
|
import { detectLocale as g, useCoreStore as k } from "@feedmepos/mf-common";
|
|
3
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-BqFQzk46.js";
|
|
4
4
|
import { storeToRefs as B } from "pinia";
|
|
5
|
-
import { u as ie, a as ce } from "./v4-
|
|
5
|
+
import { u as ie, a as ce } from "./v4-BS8SFGqd.js";
|
|
6
6
|
import { u as me } from "./report-schema-OJAFh4P6.js";
|
|
7
|
-
import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-zwKrwMyb.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({
|
|
@@ -96,7 +96,7 @@ const he = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
|
|
|
96
96
|
}), M(() => {
|
|
97
97
|
u(de);
|
|
98
98
|
}), z(() => {
|
|
99
|
-
console.log("5.5.0-beta.
|
|
99
|
+
console.log("5.5.0-beta.2", !0), window.addEventListener("message", E), window.addEventListener("message", L);
|
|
100
100
|
});
|
|
101
101
|
const R = ce(), N = ve();
|
|
102
102
|
ee(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as r, openBlock as s, normalizeStyle as l, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString 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-zwKrwMyb.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as w } from "pinia";
|
|
5
5
|
import { u as q, f as C } from "./global-loader-BqFQzk46.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as H, useModel as O, computed as s, ref as F, resolveComponent as w, createElementBlock as L, openBlock as h, Fragment as W, renderSlot as G, createVNode as S, createElementVNode as k, toDisplayString as Z, unref as j, withCtx as B, createBlock as $, createCommentVNode as K, 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 i, v as te, R as Ue, g as je, d as Ge, q as Je } from "./v4-
|
|
2
|
+
import { W as i, v as te, R as Ue, g as je, d as Ge, q as Je } from "./v4-BS8SFGqd.js";
|
|
3
3
|
import { u as ie, b as xe, a as ue } from "./global-loader-BqFQzk46.js";
|
|
4
4
|
import { d as be } from "./index-Cmh079Bh.js";
|
|
5
5
|
import { storeToRefs as se } from "pinia";
|
|
@@ -2,16 +2,15 @@ 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-
|
|
5
|
+
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-C9Z0V0n1.js";
|
|
6
6
|
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Xex8S8XX.js";
|
|
7
7
|
import { d as Bi, a as Kn, h as qn, F as Gn, u as Zn, b as oa } from "./global-loader-BqFQzk46.js";
|
|
8
8
|
import { storeToRefs as Jn } from "pinia";
|
|
9
9
|
import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
|
|
10
10
|
import { c as ys } from "./index-Cmh079Bh.js";
|
|
11
11
|
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
|
|
12
|
-
import {
|
|
13
|
-
import { useCoreStore as
|
|
14
|
-
import { G as ha } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DfXW3V-Z.js";
|
|
12
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-zwKrwMyb.js";
|
|
13
|
+
import { useCoreStore as ha } from "@feedmepos/mf-common";
|
|
15
14
|
function da({ start: i, end: t }) {
|
|
16
15
|
return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
|
|
17
16
|
}
|
|
@@ -9596,10 +9595,10 @@ const yd = { class: "flex flex-col h-full overflow-hidden" }, vd = { class: "fle
|
|
|
9596
9595
|
}, au = {
|
|
9597
9596
|
key: 0,
|
|
9598
9597
|
class: "flex flex-row flex-wrap gap-24 px-24 py-16"
|
|
9599
|
-
},
|
|
9598
|
+
}, xu = /* @__PURE__ */ oe({
|
|
9600
9599
|
__name: "InsightView",
|
|
9601
9600
|
setup(i) {
|
|
9602
|
-
const { t } = Zn(), e =
|
|
9601
|
+
const { t } = Zn(), e = ha(), { dateRange: s, compareDateRange: n, locations: o, selectedLocationIds: a, business: r } = Jn(oa()), l = $t([]), c = $t(null), h = $t(!1), d = aa();
|
|
9603
9602
|
ri(
|
|
9604
9603
|
r,
|
|
9605
9604
|
() => {
|
|
@@ -9625,7 +9624,7 @@ const yd = { class: "flex flex-col h-full overflow-hidden" }, vd = { class: "fle
|
|
|
9625
9624
|
try {
|
|
9626
9625
|
e.pushDataLayer(
|
|
9627
9626
|
{
|
|
9628
|
-
event:
|
|
9627
|
+
event: ca.report_insight_click_insight_card,
|
|
9629
9628
|
insight: JSON.stringify(l.value[p])
|
|
9630
9629
|
},
|
|
9631
9630
|
"insight"
|
|
@@ -9715,5 +9714,5 @@ const yd = { class: "flex flex-col h-full overflow-hidden" }, vd = { class: "fle
|
|
|
9715
9714
|
}
|
|
9716
9715
|
});
|
|
9717
9716
|
export {
|
|
9718
|
-
|
|
9717
|
+
xu as default
|
|
9719
9718
|
};
|
|
@@ -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-C9Z0V0n1.js";
|
|
3
3
|
const f = /* @__PURE__ */ o({
|
|
4
4
|
__name: "Layout",
|
|
5
5
|
setup(m) {
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { defineComponent as b, createElementBlock as y, openBlock as l, createVNode as d, unref as t, isRef as u, withCtx as g, useModel as R, resolveComponent as _, normalizeClass as x, createElementVNode as F, createBlock as v, createCommentVNode as C, Fragment as V, renderList as M, toDisplayString as T } from "vue";
|
|
2
|
+
import { b as $ } from "./global-loader-BqFQzk46.js";
|
|
3
|
+
import { storeToRefs as B } from "pinia";
|
|
4
|
+
import { a as D, d as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-zwKrwMyb.js";
|
|
5
|
+
import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Xex8S8XX.js";
|
|
6
|
+
import { useBreakpoints as w } from "@feedmepos/ui-library";
|
|
7
|
+
const S = { class: "flex overflow-x-auto overflow-y-hidden scrollbar-hide" }, N = /* @__PURE__ */ b({
|
|
8
|
+
__name: "Filter",
|
|
9
|
+
setup(k) {
|
|
10
|
+
const c = $(), {
|
|
11
|
+
locations: n,
|
|
12
|
+
selectedLocationIds: f,
|
|
13
|
+
dateRange: a,
|
|
14
|
+
compareDateRange: r,
|
|
15
|
+
timeRange: m,
|
|
16
|
+
defaultDateSetting: s,
|
|
17
|
+
selectTimeDefault: p
|
|
18
|
+
} = B(c);
|
|
19
|
+
return (i, e) => (l(), y("div", S, [
|
|
20
|
+
d(D, {
|
|
21
|
+
modelValue: t(f),
|
|
22
|
+
"onUpdate:modelValue": e[5] || (e[5] = (o) => u(f) ? f.value = o : null),
|
|
23
|
+
options: t(n)
|
|
24
|
+
}, {
|
|
25
|
+
default: g(() => [
|
|
26
|
+
d(U, {
|
|
27
|
+
"date-range": t(a),
|
|
28
|
+
"onUpdate:dateRange": e[0] || (e[0] = (o) => u(a) ? a.value = o : null),
|
|
29
|
+
"compare-date-range": t(r),
|
|
30
|
+
"onUpdate:compareDateRange": e[1] || (e[1] = (o) => u(r) ? r.value = o : null),
|
|
31
|
+
"compare-type": t(s).defaultCompareType,
|
|
32
|
+
"onUpdate:compareType": e[2] || (e[2] = (o) => t(s).defaultCompareType = o),
|
|
33
|
+
compare: ""
|
|
34
|
+
}, null, 8, ["date-range", "compare-date-range", "compare-type"]),
|
|
35
|
+
d(I, {
|
|
36
|
+
"time-range": t(m),
|
|
37
|
+
"onUpdate:timeRange": e[3] || (e[3] = (o) => u(m) ? m.value = o : null),
|
|
38
|
+
"select-time-default": t(p),
|
|
39
|
+
"onUpdate:selectTimeDefault": e[4] || (e[4] = (o) => u(p) ? p.value = o : null),
|
|
40
|
+
"default-date-range": t(s).timeOptions
|
|
41
|
+
}, null, 8, ["time-range", "select-time-default", "default-date-range"])
|
|
42
|
+
]),
|
|
43
|
+
_: 1
|
|
44
|
+
}, 8, ["modelValue", "options"])
|
|
45
|
+
]));
|
|
46
|
+
}
|
|
47
|
+
}), z = { class: "fm-typo-en-body-md-400" }, G = /* @__PURE__ */ b({
|
|
48
|
+
__name: "MenuTab",
|
|
49
|
+
props: {
|
|
50
|
+
modelValue: { required: !1, default: [] },
|
|
51
|
+
modelModifiers: {}
|
|
52
|
+
},
|
|
53
|
+
emits: ["update:modelValue"],
|
|
54
|
+
setup(k) {
|
|
55
|
+
const c = R(k, "modelValue"), { breakpoints: n } = w();
|
|
56
|
+
return (f, a) => {
|
|
57
|
+
const r = _("FmButton"), m = _("FmIcon"), s = _("FmMenuItem"), p = _("FmMenu");
|
|
58
|
+
return l(), y("div", {
|
|
59
|
+
class: x(["flex items-center pb-6 px-24", `${t(n).lg || t(n).md ? "px-24" : "pl-3"}`])
|
|
60
|
+
}, [
|
|
61
|
+
d(N),
|
|
62
|
+
a[0] || (a[0] = F("div", { class: "flex grow" }, null, -1)),
|
|
63
|
+
c.value.length > 0 ? (l(), v(p, {
|
|
64
|
+
key: 0,
|
|
65
|
+
trigger: "click",
|
|
66
|
+
placement: "left",
|
|
67
|
+
shift: !0,
|
|
68
|
+
class: x(t(n).sm || t(n).xs ? "pr-3" : "")
|
|
69
|
+
}, {
|
|
70
|
+
"menu-button": g(() => [
|
|
71
|
+
d(r, {
|
|
72
|
+
"append-icon": "more_vert",
|
|
73
|
+
variant: "tertiary",
|
|
74
|
+
size: "md",
|
|
75
|
+
class: "w-[36px] bg-none"
|
|
76
|
+
})
|
|
77
|
+
]),
|
|
78
|
+
default: g(() => [
|
|
79
|
+
(l(!0), y(V, null, M(c.value, (i, e) => (l(), v(s, {
|
|
80
|
+
key: `button-${e}`,
|
|
81
|
+
onClick: i.onClick
|
|
82
|
+
}, {
|
|
83
|
+
label: g(() => [
|
|
84
|
+
i.prependIcon ?? !1 ? (l(), v(m, {
|
|
85
|
+
key: 0,
|
|
86
|
+
name: i.icon
|
|
87
|
+
}, null, 8, ["name"])) : C("", !0),
|
|
88
|
+
F("p", z, T(i.label), 1)
|
|
89
|
+
]),
|
|
90
|
+
_: 2
|
|
91
|
+
}, 1032, ["onClick"]))), 128))
|
|
92
|
+
]),
|
|
93
|
+
_: 1
|
|
94
|
+
}, 8, ["class"])) : C("", !0)
|
|
95
|
+
], 2);
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
export {
|
|
100
|
+
G as _
|
|
101
|
+
};
|