@feedmepos/mf-report 5.4.13 → 5.4.14
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-fwdY-VgU.js → App-DHzvrjFu.js} +5 -5
- package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-Cnt8ADLi.js +160 -0
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BRVTZ-1Q.js → Default.vue_vue_type_script_setup_true_lang-EmurhRmv.js} +2 -2
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-TzcBKr7X.js → DynamicWidget.vue_vue_type_script_setup_true_lang-BAd3WleX.js} +116 -116
- package/dist/{InsightView-NRDxXS5U.js → InsightView-rQByD_va.js} +1415 -1399
- package/dist/{Integration-DBUsQoR5.js → Integration-DsbcE8vH.js} +3 -3
- package/dist/{Integrations-DZI6I4ub.js → Integrations-DXsJ7foD.js} +1 -1
- package/dist/{Layout-D7kmXstx.js → Layout-B-8Y3XwG.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-CMlV5upC.js → LocationSelect.vue_vue_type_script_setup_true_lang-DlKB7oWK.js} +2 -2
- package/dist/MenuTab.vue_vue_type_script_setup_true_lang-n83Ss53U.js +261 -0
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-kyCqqk9L.js → NavigationTab.vue_vue_type_script_setup_true_lang-CxSiGruR.js} +2286 -2286
- package/dist/{OverviewView-BupHqLLi.js → OverviewView-OGDD6b3e.js} +4 -4
- package/dist/{Report-dL5BLDI0.js → Report-C4qDBCPA.js} +3 -3
- package/dist/{ReportEditor-C319jjGg.js → ReportEditor-xdS_5AKE.js} +31 -26
- package/dist/ReportView-wnZJ7UlD.js +270 -0
- package/dist/{Setting-Za7nt43H.js → Setting-Byd4KPwy.js} +4 -4
- package/dist/{TileEditor-DeXdXeO8.js → TileEditor-C79BlYJn.js} +6 -6
- package/dist/{TransitionFade-FRNDa7rV.js → TransitionFade-DZxSIwUD.js} +4 -4
- package/dist/app.js +11 -11
- package/dist/{global-loader-BXUq_uOb.js → global-loader-nEd3h1cv.js} +572 -569
- package/dist/{index-D5LVkVbJ.js → index-C1dNlcXW.js} +7 -7
- package/dist/{report-schema-Bf8XSI6U.js → report-schema-DpQDARvn.js} +5 -5
- package/dist/style.css +1 -1
- package/dist/{timeFormat-GVzfkgtj.js → timeFormat-B5KKAA4i.js} +1 -1
- package/dist/{v4-CDZkk94d.js → v4-CfVkBYAU.js} +1013 -936
- package/package.json +1 -1
- package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-D7xFDtWS.js +0 -150
- package/dist/MenuTab.vue_vue_type_script_setup_true_lang-Qu5DHicC.js +0 -245
- package/dist/ReportView-NecE73EB.js +0 -163
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as U, resolveComponent as w, createBlock as x, openBlock as c, unref as u, isRef as K, withCtx as _, createElementVNode as V, createVNode as k, toDisplayString as E, createTextVNode as Q, computed as q, watch as y, onBeforeMount as W, onMounted as z, onBeforeUnmount as X, ref as Y, createElementBlock as S, Fragment as Z } from "vue";
|
|
2
2
|
import { useCoreStore as h } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as M, a as ee, b as te, c as oe, d as re, e as ne } from "./global-loader-
|
|
3
|
+
import { u as M, a as ee, b as te, c as oe, d as re, e as ne } from "./global-loader-nEd3h1cv.js";
|
|
4
4
|
import { storeToRefs as b } from "pinia";
|
|
5
|
-
import { u as se, a as ae } from "./v4-
|
|
6
|
-
import { u as ue } from "./report-schema-
|
|
7
|
-
import { _ as le, u as ie } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as se, a as ae } from "./v4-CfVkBYAU.js";
|
|
6
|
+
import { u as ue } from "./report-schema-DpQDARvn.js";
|
|
7
|
+
import { _ as le, u as ie } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CxSiGruR.js";
|
|
8
8
|
import { u as L } from "./message-dialog-UoMWOnil.js";
|
|
9
9
|
import { useRoute as ce } from "vue-router";
|
|
10
10
|
const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de = /* @__PURE__ */ U({
|
|
@@ -77,7 +77,7 @@ const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de
|
|
|
77
77
|
}), W(() => {
|
|
78
78
|
d(le);
|
|
79
79
|
}), z(() => {
|
|
80
|
-
console.log("5.4.
|
|
80
|
+
console.log("5.4.14", !0), window.addEventListener("message", C), window.addEventListener("message", $);
|
|
81
81
|
});
|
|
82
82
|
const F = ae(), B = ie();
|
|
83
83
|
X(() => {
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { defineComponent as V, resolveComponent as f, createBlock as s, openBlock as d, withCtx as D, createCommentVNode as g, createElementVNode as F, renderSlot as Y, toDisplayString as _, ref as v, mergeModels as x, useModel as i, watch as C, createElementBlock as P, createVNode as p, unref as I } from "vue";
|
|
2
|
+
import { g as n, y as T, C as $ } from "./global-loader-nEd3h1cv.js";
|
|
3
|
+
import { b as M } from "./index-C1dNlcXW.js";
|
|
4
|
+
const O = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, w = /* @__PURE__ */ V({
|
|
5
|
+
__name: "FilterChip",
|
|
6
|
+
props: {
|
|
7
|
+
label: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: ""
|
|
10
|
+
},
|
|
11
|
+
leftIcon: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: ""
|
|
14
|
+
},
|
|
15
|
+
rightIcon: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: ""
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
setup(t) {
|
|
21
|
+
const r = t;
|
|
22
|
+
return (l, o) => {
|
|
23
|
+
const e = f("FmIcon"), a = f("FmChip");
|
|
24
|
+
return d(), s(a, { class: "bg-fm-color-neutral-gray-100 text-fm-color-neutral-gray-400 max-w-fit" }, {
|
|
25
|
+
default: D(() => [
|
|
26
|
+
t.leftIcon ? (d(), s(e, {
|
|
27
|
+
key: 0,
|
|
28
|
+
name: r.leftIcon,
|
|
29
|
+
size: "sm",
|
|
30
|
+
outline: ""
|
|
31
|
+
}, null, 8, ["name"])) : g("", !0),
|
|
32
|
+
F("p", O, _(r.label), 1),
|
|
33
|
+
t.rightIcon ? (d(), s(e, {
|
|
34
|
+
key: 1,
|
|
35
|
+
name: t.rightIcon,
|
|
36
|
+
size: "sm",
|
|
37
|
+
outline: ""
|
|
38
|
+
}, null, 8, ["name"])) : g("", !0),
|
|
39
|
+
Y(l.$slots, "default")
|
|
40
|
+
]),
|
|
41
|
+
_: 3
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
function E({ start: t, end: r }) {
|
|
47
|
+
return `${n(r).format("DD MMM")}, ${n(r).format("YYYY")}`;
|
|
48
|
+
}
|
|
49
|
+
v(!0);
|
|
50
|
+
const B = { class: "flex gap-2 items-center" }, m = "YYYY-MM-DD", U = /* @__PURE__ */ V({
|
|
51
|
+
__name: "DateRangeSelect",
|
|
52
|
+
props: /* @__PURE__ */ x({
|
|
53
|
+
compare: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: !1
|
|
56
|
+
},
|
|
57
|
+
datePredefinedRanges: {
|
|
58
|
+
type: Array,
|
|
59
|
+
default: () => T
|
|
60
|
+
}
|
|
61
|
+
}, {
|
|
62
|
+
compareType: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: $.PrecedingPeriod
|
|
65
|
+
},
|
|
66
|
+
compareTypeModifiers: {},
|
|
67
|
+
dateRange: {
|
|
68
|
+
type: Object,
|
|
69
|
+
default: () => ({
|
|
70
|
+
startDate: void 0,
|
|
71
|
+
endDate: void 0
|
|
72
|
+
})
|
|
73
|
+
},
|
|
74
|
+
dateRangeModifiers: {},
|
|
75
|
+
compareDateRange: {
|
|
76
|
+
type: Object,
|
|
77
|
+
default: () => ({
|
|
78
|
+
startDate: void 0,
|
|
79
|
+
endDate: void 0
|
|
80
|
+
})
|
|
81
|
+
},
|
|
82
|
+
compareDateRangeModifiers: {}
|
|
83
|
+
}),
|
|
84
|
+
emits: ["update:compareType", "update:dateRange", "update:compareDateRange"],
|
|
85
|
+
setup(t) {
|
|
86
|
+
var y, R, S;
|
|
87
|
+
const r = i(t, "compareType"), l = i(t, "dateRange"), o = i(t, "compareDateRange"), e = v({
|
|
88
|
+
startDate: (y = n(l.value.startDate)) == null ? void 0 : y.local().format(m),
|
|
89
|
+
endDate: (R = n(l.value.endDate)) == null ? void 0 : R.local().format(m)
|
|
90
|
+
}), a = v({
|
|
91
|
+
startDate: o.value.startDate ? (S = n(o.value.startDate)) == null ? void 0 : S.local().format(m) : void 0,
|
|
92
|
+
endDate: o.value.endDate ? n(o.value.endDate).local().format(m) : void 0
|
|
93
|
+
});
|
|
94
|
+
C(
|
|
95
|
+
[() => e.value],
|
|
96
|
+
() => {
|
|
97
|
+
e.value.endDate || (e.value.endDate = e.value.startDate), l.value = {
|
|
98
|
+
startDate: n(e.value.startDate).toISOString(),
|
|
99
|
+
endDate: n(e.value.endDate).toISOString()
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
{ deep: !0 }
|
|
103
|
+
), C([() => a.value], () => {
|
|
104
|
+
o.value = {
|
|
105
|
+
startDate: a.value.startDate ? n(a.value.startDate).toISOString() : void 0,
|
|
106
|
+
endDate: a.value.endDate ? n(a.value.endDate).toISOString() : void 0
|
|
107
|
+
};
|
|
108
|
+
});
|
|
109
|
+
function k(b) {
|
|
110
|
+
r.value = b;
|
|
111
|
+
}
|
|
112
|
+
return (b, u) => {
|
|
113
|
+
const h = f("FmSimpleDateRangePicker");
|
|
114
|
+
return d(), P("div", B, [
|
|
115
|
+
p(h, {
|
|
116
|
+
modelValue: e.value,
|
|
117
|
+
"onUpdate:modelValue": u[0] || (u[0] = (c) => e.value = c),
|
|
118
|
+
"show-predefined-range": "",
|
|
119
|
+
"predefined-range": t.datePredefinedRanges,
|
|
120
|
+
class: "w-2/6"
|
|
121
|
+
}, {
|
|
122
|
+
"trigger-button": D(() => [
|
|
123
|
+
p(w, {
|
|
124
|
+
"left-icon": "calendar_month",
|
|
125
|
+
label: `${I(M)({
|
|
126
|
+
startDate: e.value.startDate ?? "",
|
|
127
|
+
endDate: e.value.endDate ?? ""
|
|
128
|
+
})}`
|
|
129
|
+
}, null, 8, ["label"])
|
|
130
|
+
]),
|
|
131
|
+
_: 1
|
|
132
|
+
}, 8, ["modelValue", "predefined-range"]),
|
|
133
|
+
t.compare ? (d(), s(h, {
|
|
134
|
+
key: 0,
|
|
135
|
+
modelValue: a.value,
|
|
136
|
+
"onUpdate:modelValue": u[1] || (u[1] = (c) => a.value = c),
|
|
137
|
+
"show-predefined-range": "",
|
|
138
|
+
"compare-target": e.value,
|
|
139
|
+
"default-compare-type": r.value,
|
|
140
|
+
onSelectComparison: k
|
|
141
|
+
}, {
|
|
142
|
+
"trigger-button": D(() => [
|
|
143
|
+
p(w, {
|
|
144
|
+
label: `Compare: ${I(M)({
|
|
145
|
+
startDate: a.value.startDate ?? null,
|
|
146
|
+
endDate: a.value.endDate ?? null
|
|
147
|
+
})}`
|
|
148
|
+
}, null, 8, ["label"])
|
|
149
|
+
]),
|
|
150
|
+
_: 1
|
|
151
|
+
}, 8, ["modelValue", "compare-target", "default-compare-type"])) : g("", !0)
|
|
152
|
+
]);
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
export {
|
|
157
|
+
U as _,
|
|
158
|
+
w as a,
|
|
159
|
+
E as f
|
|
160
|
+
};
|
|
@@ -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-CxSiGruR.js";
|
|
3
3
|
import { useBreakpoints as h } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as b } from "pinia";
|
|
5
|
-
import { d as w } from "./global-loader-
|
|
5
|
+
import { d as w } from "./global-loader-nEd3h1cv.js";
|
|
6
6
|
import { useRoute as q } from "vue-router";
|
|
7
7
|
const C = {
|
|
8
8
|
key: 1,
|