@feedmepos/mf-report 5.24.2-beta.0 → 5.24.3-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-Du2I5pkc.js → App-Dzeer__9.js} +4 -4
- package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-DLOzQ_4p.js +380 -0
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BxNe4Imp.js → Default.vue_vue_type_script_setup_true_lang-BOAXeqWf.js} +1 -1
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-xpdb2Id4.js +4661 -0
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-Bo0rDoIQ.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C7gr0NWs.js} +8299 -7427
- package/dist/{InsightView-XQqVF4K5.js → InsightView-Bd68THYO.js} +5 -5
- package/dist/{Integration-CHzPty6e.js → Integration-DHn_dXct.js} +22 -22
- package/dist/{Integrations-B9z4axiH.js → Integrations-DWN55pp9.js} +13 -12
- package/dist/{Layout-BKHzNlTV.js → Layout-BllH8uBy.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang--Yq7SlV0.js → MenuTab.vue_vue_type_script_setup_true_lang-D-FlY4Oz.js} +26 -27
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-B45yOf-r.js → NavigationTab.vue_vue_type_script_setup_true_lang-aocfb4uL.js} +6342 -6322
- package/dist/{OverviewView-BP6X5TwG.js → OverviewView-BxwON8if.js} +5 -5
- package/dist/{Report-BSC2CckY.js → Report-BOwmlQGQ.js} +4 -4
- package/dist/{ReportEditor-CD7kUHS-.js → ReportEditor-W1qI7G3B.js} +571 -573
- package/dist/{ReportView-Dgw-ngJe.js → ReportView-DAFN6S8c.js} +16 -17
- package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Af_Z54a4.js +143 -0
- package/dist/{Setting-CzNvYYHE.js → Setting-BRZ-TxfM.js} +4 -4
- package/dist/{TileEditor-CaPhvKJt.js → TileEditor-Bpa-f6SA.js} +325 -323
- package/dist/{TransitionFade-BKjSVuIj.js → TransitionFade-BQNwYOp6.js} +18 -18
- package/dist/{app-BauK9tUb.js → app-DiLOz-1s.js} +2229 -2311
- package/dist/app.js +1 -1
- package/dist/assets/{formatChartData.worker-C3U_CcDO.js → formatChartData.worker-DaLXwMTs.js} +2 -2
- package/dist/assets/{processTableData.worker-D_oiIvNW.js → processTableData.worker-Be0ZD94L.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useRestaurantPermission-GEh6OAuS.js → useRestaurantPermission-Cp46lfU5.js} +1 -1
- package/package.json +1 -1
- package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-DiCLbdxO.js +0 -286
- package/dist/FilterSelector.vue_vue_type_script_setup_true_lang-9mGbqTLb.js +0 -5467
- package/dist/NoData.vue_vue_type_script_setup_true_lang-CDKHIlF2.js +0 -38
- package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Df40itH5.js +0 -110
|
@@ -3,13 +3,13 @@ import { u as Pt, a as Pn } from "./vue-i18n-DVWuTfed.js";
|
|
|
3
3
|
import { useCoreStore as Vn } from "@feedmepos/mf-common";
|
|
4
4
|
import { storeToRefs as Mn } from "pinia";
|
|
5
5
|
import { useRoute as Ln } from "vue-router";
|
|
6
|
-
import { W as F,
|
|
7
|
-
import { p as
|
|
8
|
-
import {
|
|
9
|
-
import { R as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
6
|
+
import { W as F, I as Be, f as rn, h as an, c as De, g as Bn, e as $n } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C7gr0NWs.js";
|
|
7
|
+
import { p as Rn, a as ln, d as Xn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DLOzQ_4p.js";
|
|
8
|
+
import { a as Vt, b as Wt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Af_Z54a4.js";
|
|
9
|
+
import { R as Yn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-xpdb2Id4.js";
|
|
10
|
+
import { d as ht } from "./app-DiLOz-1s.js";
|
|
11
|
+
import { r as Wn } from "./i18n-CI_sQ5d_.js";
|
|
12
|
+
import { useSnackbar as Un } from "@feedmepos/ui-library";
|
|
13
13
|
const jn = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
|
|
@@ -1792,7 +1792,7 @@ const Ro = {
|
|
|
1792
1792
|
break;
|
|
1793
1793
|
}
|
|
1794
1794
|
return {
|
|
1795
|
-
label:
|
|
1795
|
+
label: Rn(t[0]),
|
|
1796
1796
|
icon: e,
|
|
1797
1797
|
value: t[1]
|
|
1798
1798
|
};
|
|
@@ -1857,7 +1857,7 @@ function jo(t) {
|
|
|
1857
1857
|
let e, n, o, r;
|
|
1858
1858
|
switch (t) {
|
|
1859
1859
|
case F.Table:
|
|
1860
|
-
e = [], n = !1, o =
|
|
1860
|
+
e = [], n = !1, o = Yn.top;
|
|
1861
1861
|
break;
|
|
1862
1862
|
case F.ClusteredStackBarChart:
|
|
1863
1863
|
r = !0;
|
|
@@ -1988,7 +1988,7 @@ const Ho = {
|
|
|
1988
1988
|
}
|
|
1989
1989
|
function a(l, u) {
|
|
1990
1990
|
var y, _;
|
|
1991
|
-
const f =
|
|
1991
|
+
const f = rn(n.option), s = an(n.option);
|
|
1992
1992
|
((y = n.config) == null ? void 0 : y.type) === Be.TextField && (f !== void 0 && u < f || s !== void 0 && u > s) && (o.value[l] = `Value must be between ${f} and ${s}`);
|
|
1993
1993
|
const v = [...e.value];
|
|
1994
1994
|
((_ = n.config) == null ? void 0 : _.type) === Be.Timestamp ? v[l] = i({
|
|
@@ -2055,13 +2055,13 @@ const Ho = {
|
|
|
2055
2055
|
);
|
|
2056
2056
|
function Er(t) {
|
|
2057
2057
|
return On.map((e) => ({
|
|
2058
|
-
label: t(`report.section.filter.${
|
|
2058
|
+
label: t(`report.section.filter.${ln(e)}`),
|
|
2059
2059
|
value: e
|
|
2060
2060
|
}));
|
|
2061
2061
|
}
|
|
2062
2062
|
function Qo(t) {
|
|
2063
2063
|
return Zo.map((e) => ({
|
|
2064
|
-
label: t(`report.section.filter.${
|
|
2064
|
+
label: t(`report.section.filter.${ln(e)}`),
|
|
2065
2065
|
value: e
|
|
2066
2066
|
}));
|
|
2067
2067
|
}
|
|
@@ -2082,14 +2082,14 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2082
2082
|
}),
|
|
2083
2083
|
emits: ["update:modelValue"],
|
|
2084
2084
|
setup(t) {
|
|
2085
|
-
const { t: e, te: n } = Pt(), o = Ge(t, "modelValue"), r = t, i = Fe(() => e(`report.section.filter.${r.label}`)), a = Se(!1), c =
|
|
2085
|
+
const { t: e, te: n } = Pt(), o = Ge(t, "modelValue"), r = t, i = Fe(() => e(`report.section.filter.${r.label}`)), a = Se(!1), c = Un(), l = Fe(
|
|
2086
2086
|
() => o.value.map((m, p) => {
|
|
2087
2087
|
const E = r.options.find(
|
|
2088
2088
|
(B) => B.schemaName === m.schemaName && B.name === m.name
|
|
2089
2089
|
), I = (E == null ? void 0 : E.labels) || [m.schemaName, m.name];
|
|
2090
2090
|
return {
|
|
2091
2091
|
index: p,
|
|
2092
|
-
label: I.map((B) =>
|
|
2092
|
+
label: I.map((B) => Wn(e, n, B, "other")).join(" "),
|
|
2093
2093
|
value: m
|
|
2094
2094
|
};
|
|
2095
2095
|
})
|
|
@@ -2110,7 +2110,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2110
2110
|
var p;
|
|
2111
2111
|
return (p = b.value.find((E) => E.option === m)) == null ? void 0 : p.value;
|
|
2112
2112
|
}
|
|
2113
|
-
const q =
|
|
2113
|
+
const q = Xn(
|
|
2114
2114
|
(m, p) => {
|
|
2115
2115
|
const E = b.value.find((I) => I.option === m);
|
|
2116
2116
|
E ? E.value = p : b.value.push({ option: m, value: p });
|
|
@@ -2172,7 +2172,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2172
2172
|
});
|
|
2173
2173
|
}
|
|
2174
2174
|
function L() {
|
|
2175
|
-
_.value && s.value && (y.value =
|
|
2175
|
+
_.value && s.value && (y.value = Bn({
|
|
2176
2176
|
operator: s.value.operator,
|
|
2177
2177
|
dataType: _.value.type,
|
|
2178
2178
|
dimensionOption: s.value.option,
|
|
@@ -2194,7 +2194,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2194
2194
|
const m = [...l.value.map((B) => B.value)];
|
|
2195
2195
|
if (s.value) {
|
|
2196
2196
|
v.value || (s.value.dataFormula = void 0);
|
|
2197
|
-
const B =
|
|
2197
|
+
const B = rn((p = s.value) == null ? void 0 : p.option), z = an((E = s.value) == null ? void 0 : E.option), pe = (I = s.value.values) == null ? void 0 : I.map(
|
|
2198
2198
|
($, Le) => $ == null || $ === "" || !ye($, B, z) ? Le : null
|
|
2199
2199
|
).filter(($) => $ !== null);
|
|
2200
2200
|
if (!s.value.values || pe.length > 0) {
|
|
@@ -2223,7 +2223,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2223
2223
|
return (m, p) => {
|
|
2224
2224
|
const E = N("FmCheckbox"), I = N("FmTextarea"), B = N("FmSelect"), z = N("FmForm"), pe = N("FmIcon"), $ = N("FmButton"), Le = N("FmListItem"), $t = N("FmList"), Ze = N("FmField");
|
|
2225
2225
|
return V(), ee("div", er, [
|
|
2226
|
-
A(
|
|
2226
|
+
A($n, {
|
|
2227
2227
|
modelValue: a.value,
|
|
2228
2228
|
"onUpdate:modelValue": p[6] || (p[6] = (_e) => a.value = _e),
|
|
2229
2229
|
title: i.value,
|