@feedmepos/mf-report 5.23.2 → 5.23.3
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-CSij4paM.js → App-B9NGptc1.js} +4 -4
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-ZJMNUjQl.js → BaseDialog.vue_vue_type_script_setup_true_lang-BQQb5IJd.js} +11107 -7398
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-DVxWKwKl.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CE1597BI.js} +14 -14
- package/dist/{Default.vue_vue_type_script_setup_true_lang-Qs5g-6xF.js → Default.vue_vue_type_script_setup_true_lang-Eqkot8H6.js} +1 -1
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-wR5bMnZP.js → FilterSelector.vue_vue_type_script_setup_true_lang-DcMvhw0u.js} +4 -4
- package/dist/{InsightView-BMTYE35J.js → InsightView-nhUMhVsB.js} +4 -4
- package/dist/{Integration-9Tx0zhPJ.js → Integration-D_cLYXAj.js} +3 -3
- package/dist/{Integrations-BmJMM7Ao.js → Integrations-CLS5CHkW.js} +2 -2
- package/dist/{Layout-C_P8TbS-.js → Layout-C5KIQ-Vo.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-CTNSpWUA.js → MenuTab.vue_vue_type_script_setup_true_lang-CV0OSgBW.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-B9ai7fxW.js → NavigationTab.vue_vue_type_script_setup_true_lang-0uXcwSj0.js} +3 -3
- package/dist/{OverviewView-j_FBFv0h.js → OverviewView-DBgRz4OE.js} +4 -4
- package/dist/{Report-iDUTWAjX.js → Report-B_PXv1xj.js} +3 -3
- package/dist/{ReportEditor-BFdXC63h.js → ReportEditor-BG-LE-Y3.js} +4 -4
- package/dist/{ReportView-Cfx4keq4.js → ReportView-Mx9r3THm.js} +6 -6
- package/dist/{Setting-O0ftKwEi.js → Setting-BPPS1mYG.js} +3 -3
- package/dist/{TileEditor-B2JHN8mx.js → TileEditor-CpIR1UGf.js} +5 -5
- package/dist/{TransitionFade-DCmg-RnE.js → TransitionFade-C7Fleu7I.js} +4 -4
- package/dist/{app-Be5xvdAe.js → app-AiSMEgJb.js} +99 -79
- package/dist/app.js +1 -1
- package/dist/assets/formatChartData.worker-BcdwnlGM.js +303 -0
- package/dist/assets/processTableData.worker-BacYCzdp.js +303 -0
- package/dist/{useRestaurantPermission-BFERr5kL.js → useRestaurantPermission-DsYAph_H.js} +1 -1
- package/package.json +1 -1
- package/dist/assets/formatChartData.worker-CApVGN13.js +0 -289
- package/dist/assets/processTableData.worker-h4Q-L25K.js +0 -289
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as A, resolveComponent as S, createBlock as p, openBlock as y, withCtx as T, createCommentVNode as R, createElementVNode as M, toDisplayString as j, renderSlot as B, mergeModels as k, useModel as b, ref as C, watch as x, createElementBlock as U, unref as f, createVNode as O } from "vue";
|
|
2
|
-
import { d as r, a as W,
|
|
2
|
+
import { d as r, a as W, $ as q, C as G } from "./app-AiSMEgJb.js";
|
|
3
3
|
import { detectLocale as E } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as H } from "./vue-i18n-DVWuTfed.js";
|
|
5
5
|
import { storeToRefs as K } from "pinia";
|
|
@@ -19,7 +19,7 @@ function le(e, t = 100) {
|
|
|
19
19
|
n && (clearTimeout(n), n = null);
|
|
20
20
|
}, a;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function J() {
|
|
23
23
|
return [...Array(12).keys()].map((e) => r().month(e).format("MMM"));
|
|
24
24
|
}
|
|
25
25
|
function oe(e, t, n = "") {
|
|
@@ -51,7 +51,7 @@ function oe(e, t, n = "") {
|
|
|
51
51
|
return t("report.schedule.customDate");
|
|
52
52
|
let a = `${t("report.schedule.everyYear")} `;
|
|
53
53
|
if (e.months) {
|
|
54
|
-
const o =
|
|
54
|
+
const o = J();
|
|
55
55
|
a = a + e.months.map((l) => o[l - 1]).join(",");
|
|
56
56
|
}
|
|
57
57
|
return e.months && e.days && (a = a + ` ${t("report.common.and")} `), e.days && (a = a + e.days.join(",")), a;
|
|
@@ -81,7 +81,7 @@ function de(e = {
|
|
|
81
81
|
const l = r().set("hour", n.hour).set("minute", n.minute).locale(o), m = r().set("hour", a.hour).set("minute", a.minute).locale(o);
|
|
82
82
|
return `${l.format(t)}-${m.format(t)}`;
|
|
83
83
|
}
|
|
84
|
-
const
|
|
84
|
+
const Q = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-0" }, X = { class: "text-ellipsis overflow-hidden whitespace-nowrap flex-1 min-w-0" }, Z = { class: "whitespace-nowrap flex-none" }, V = /* @__PURE__ */ A({
|
|
85
85
|
__name: "FilterChip",
|
|
86
86
|
props: {
|
|
87
87
|
label: {
|
|
@@ -114,8 +114,8 @@ const J = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
114
114
|
outline: "",
|
|
115
115
|
class: "flex-none"
|
|
116
116
|
}, null, 8, ["name"])) : R("", !0),
|
|
117
|
-
M("div",
|
|
118
|
-
M("span",
|
|
117
|
+
M("div", Q, [
|
|
118
|
+
M("span", X, j(t.label), 1),
|
|
119
119
|
e.rightIcon ? (y(), p(o, {
|
|
120
120
|
key: 0,
|
|
121
121
|
name: e.rightIcon,
|
|
@@ -123,7 +123,7 @@ const J = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
123
123
|
outline: "",
|
|
124
124
|
class: "flex-none"
|
|
125
125
|
}, null, 8, ["name"])) : R("", !0),
|
|
126
|
-
M("span",
|
|
126
|
+
M("span", Z, [
|
|
127
127
|
B(n.$slots, "default")
|
|
128
128
|
]),
|
|
129
129
|
e.trailingIcon ? (y(), p(o, {
|
|
@@ -139,7 +139,7 @@ const J = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
139
139
|
});
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
|
-
}),
|
|
142
|
+
}), _ = { class: "flex gap-2 items-center" }, Y = "YYYY-MM-DD", ue = /* @__PURE__ */ A({
|
|
143
143
|
__name: "DateRangeSelect",
|
|
144
144
|
props: /* @__PURE__ */ k({
|
|
145
145
|
compare: {
|
|
@@ -185,12 +185,12 @@ const J = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
185
185
|
}),
|
|
186
186
|
emits: /* @__PURE__ */ k(["update", "chip-closed"], ["update:compareType", "update:dateRange", "update:compareDateRange"]),
|
|
187
187
|
setup(e, { emit: t }) {
|
|
188
|
-
var z, I,
|
|
188
|
+
var $, z, I, w;
|
|
189
189
|
const { t: n, locale: a } = H(), o = t, l = b(e, "compareType"), m = b(e, "dateRange"), g = b(e, "compareDateRange"), { timezone: i } = K(W()), s = C({
|
|
190
|
-
startDate: m.value.startDate ? (
|
|
191
|
-
endDate: m.value.endDate ? (
|
|
190
|
+
startDate: m.value.startDate ? ($ = r(m.value.startDate)) == null ? void 0 : $.tz(i.value).format(Y) : null,
|
|
191
|
+
endDate: m.value.endDate ? (z = r(m.value.endDate)) == null ? void 0 : z.tz(i.value).format(Y) : null
|
|
192
192
|
}), D = C({
|
|
193
|
-
startDate: g.value.startDate ? (
|
|
193
|
+
startDate: g.value.startDate ? (I = r(g.value.startDate)) == null ? void 0 : I.tz(i.value).format(Y) : null,
|
|
194
194
|
endDate: g.value.endDate ? (w = r(g.value.endDate)) == null ? void 0 : w.tz(i.value).format(Y) : null
|
|
195
195
|
});
|
|
196
196
|
x(
|
|
@@ -221,7 +221,7 @@ const J = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
221
221
|
}
|
|
222
222
|
return (u, d) => {
|
|
223
223
|
const h = S("FmSimpleDateRangePicker");
|
|
224
|
-
return y(), U("div",
|
|
224
|
+
return y(), U("div", _, [
|
|
225
225
|
(y(), p(h, {
|
|
226
226
|
key: `date-picker-${f(a)}`,
|
|
227
227
|
modelValue: s.value,
|
|
@@ -282,5 +282,5 @@ export {
|
|
|
282
282
|
le as d,
|
|
283
283
|
L as e,
|
|
284
284
|
oe as f,
|
|
285
|
-
|
|
285
|
+
J as g
|
|
286
286
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as p, resolveComponent as f, createElementBlock as s, openBlock as t, normalizeStyle as n, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as g, renderSlot as x } 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-0uXcwSj0.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as C } from "pinia";
|
|
5
5
|
import { u as q, a as w } from "./vue-i18n-DVWuTfed.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as v, defineComponent as at, ref as D, onMounted as it, onBeforeUnmount as ia, resolveComponent as ge, createBlock as we, openBlock as Y, Transition as Ha, withCtx as ze, createElementBlock as be, createCommentVNode as Me, createElementVNode as J, unref as l, normalizeStyle as Ze, withModifiers as Tt, toDisplayString as Ge, createVNode as me, Fragment as et, renderList as Lt, normalizeClass as qe, watch as Pe, nextTick as tt, mergeModels as gt, useModel as ct, renderSlot as yt, h as ln, createSlots as Wa, resolveDynamicComponent as ua, toRaw as Oa, markRaw as Ea, createTextVNode as bn, onUnmounted as ca, withDirectives as Ua, vShow as Ka } from "vue";
|
|
2
|
-
import { W as ie, d as Ht, e as qa, S as St, v as Gt, f as Ya, g as vn, h as da, q as fa, R as Ft, i as Xa, D as ht, b as Je, C as st, u as Ga, a as ja, _ as Ja } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { k as Za, z as Qa, l as eo, m as to, a as jt, u as Bn, d as Bt, i as no } from "./app-
|
|
4
|
-
import { d as Cn, _ as ao, a as oo, b as lo, c as ro } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { W as ie, d as Ht, e as qa, S as St, v as Gt, f as Ya, g as vn, h as da, q as fa, R as Ft, i as Xa, D as ht, b as Je, C as st, u as Ga, a as ja, _ as Ja } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BQQb5IJd.js";
|
|
3
|
+
import { k as Za, z as Qa, l as eo, m as to, a as jt, u as Bn, d as Bt, i as no } from "./app-AiSMEgJb.js";
|
|
4
|
+
import { d as Cn, _ as ao, a as oo, b as lo, c as ro } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CE1597BI.js";
|
|
5
5
|
import { storeToRefs as vt, defineStore as ma } from "pinia";
|
|
6
6
|
import { C as wn } from "./chart-DDDh8zNk.js";
|
|
7
7
|
import { detectLocale as so } from "@feedmepos/mf-common";
|
|
@@ -2856,7 +2856,7 @@ const Ol = /* @__PURE__ */ ha(Hl, [["render", Wl]]), El = "mf-reporttable-dimens
|
|
|
2856
2856
|
d();
|
|
2857
2857
|
}
|
|
2858
2858
|
};
|
|
2859
|
-
}), Ul = "/assets/processTableData.worker-
|
|
2859
|
+
}), Ul = "/assets/processTableData.worker-BacYCzdp.js", Kl = { class: "my-4" }, ql = {
|
|
2860
2860
|
class: "border-b border-fm-color-neutral-gray-100 hover:bg-fm-color-opacity-sm",
|
|
2861
2861
|
style: { backgroundColor: "#f9f9f9" }
|
|
2862
2862
|
}, Yl = { class: "font-bold" }, Xl = { class: "text-fm-color-neutral-gray-300" }, Gl = /* @__PURE__ */ at({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref as B, defineComponent as S, watch as T, computed as _, onMounted as le, createElementBlock as d, openBlock as a, createElementVNode as o, renderSlot as H, toDisplayString as w, resolveDirective as X, createCommentVNode as A, Fragment as z, renderList as P, createBlock as V, withDirectives as M, resolveDynamicComponent as N, unref as m, withCtx as I, createVNode as y, normalizeClass as L, resolveComponent as R, useModel as oe, createTextVNode as ae, isRef as j, nextTick as se } from "vue";
|
|
2
|
-
import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { d as W, u as G, F as O, q as J, h as Y, a as re } from "./app-
|
|
2
|
+
import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-Eqkot8H6.js";
|
|
3
|
+
import { _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CE1597BI.js";
|
|
4
|
+
import { d as W, u as G, F as O, q as J, h as Y, a as re } from "./app-AiSMEgJb.js";
|
|
5
5
|
import { storeToRefs as K } from "pinia";
|
|
6
6
|
import { C as Q, r as de } from "./chart-DDDh8zNk.js";
|
|
7
7
|
import { components as E, useSnackbar as ce } from "@feedmepos/ui-library";
|
|
8
8
|
import { u as ee } from "./vue-i18n-DVWuTfed.js";
|
|
9
9
|
import { _ as ue } from "./NoData.vue_vue_type_script_setup_true_lang-CDKHIlF2.js";
|
|
10
|
-
import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-0uXcwSj0.js";
|
|
11
11
|
import { useCoreStore as ge } from "@feedmepos/mf-common";
|
|
12
12
|
function pe({ start: e, end: t }) {
|
|
13
13
|
return `${W(t).format("DD MMM")}, ${W(t).format("YYYY")}`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as te, mergeModels as Ve, useModel as ne, computed as Y, resolveComponent as K, createElementBlock as N, openBlock as b, createElementVNode as t, createCommentVNode as B, normalizeClass as We, Fragment as De, createBlock as O, withCtx as ke, toDisplayString as S, renderList as Le, createVNode as l, unref as u, h as V, normalizeStyle as dt, createTextVNode as mt, ref as W, onUnmounted as Oe, watch as Ke, isRef as Me, resolveDynamicComponent as Pe, mergeProps as tt, onMounted as nt } from "vue";
|
|
2
2
|
import { useRouter as Ce, useRoute as ut } from "vue-router";
|
|
3
|
-
import {
|
|
3
|
+
import { H as we, J as et, d as Ie, K as rt, L as pt, e as Re, a as $e, M as he, N as ct, v as ft, B as Z, G as Be, O as Ye, P as Ne, Q as qe, R as ot, S as gt, T as vt, U as yt, V as at, b as st, W as xt, X as bt, w as wt, I as Ue, Y as ht, Z as _t, _ as Ct } from "./app-AiSMEgJb.js";
|
|
4
4
|
import { u as se, a as ze } from "./vue-i18n-DVWuTfed.js";
|
|
5
5
|
import { u as He } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { useSnackbar as Se } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as je, h as _e } from "./useRestaurantPermission-
|
|
7
|
+
import { u as je, h as _e } from "./useRestaurantPermission-DsYAph_H.js";
|
|
8
8
|
import { storeToRefs as Ge } from "pinia";
|
|
9
|
-
import { _ as Qe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Qe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CE1597BI.js";
|
|
10
10
|
const kt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, $t = { class: "w-[100%]" }, St = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, At = { class: "w-[100%] flex flex-row gap-[4px]" }, Vt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, Dt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, Kt = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "w-[24px] flex items-center"
|