@feedmepos/mf-report 5.27.13 → 5.27.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-BlHs_KyM.js → App-CI7sW3nz.js} +62 -61
- package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-EHma_nAl.js +389 -0
- package/dist/{Default.vue_vue_type_script_setup_true_lang-CxR3luuJ.js → Default.vue_vue_type_script_setup_true_lang-CCtErh_M.js} +1 -1
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-CsdBzA7J.js +5079 -0
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-oCAIT-ax.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Dn1UyPl0.js} +5193 -4810
- package/dist/{InsightView-N5Lzz_b4.js → InsightView-BIZZT45p.js} +4 -4
- package/dist/{Integration-BotRTI4i.js → Integration-DW-k9S8l.js} +3 -3
- package/dist/{Integrations-B26o5QXd.js → Integrations-BMfk3Dzv.js} +2 -2
- package/dist/{Layout-6NKUqxol.js → Layout-CSq47_TA.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BijCez3Y.js → MenuTab.vue_vue_type_script_setup_true_lang-CDLiuOXB.js} +4 -4
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CA9MugVT.js → NavigationTab.vue_vue_type_script_setup_true_lang-Ct43ZFaT.js} +2795 -2779
- package/dist/{OverviewView-vdfq-4MN.js → OverviewView-eDLe8OvS.js} +4 -4
- package/dist/{Report-Dz8mKOpQ.js → Report-4qOy6S-v.js} +3 -3
- package/dist/ReportEditor-CHNy5iVN.js +1828 -0
- package/dist/{ReportView-DHNMt0BV.js → ReportView-aiOeRHFh.js} +6 -6
- package/dist/{Setting-Cpy5DtfI.js → Setting-ByEqhsIa.js} +14 -14
- package/dist/{Template-6U_iB8qy.js → Template-DuL6IPfx.js} +3 -3
- package/dist/TileEditor-BeqWnk5j.js +4064 -0
- package/dist/TileGrid.vue_vue_type_script_setup_true_lang-Ddkwx2Y5.js +154 -0
- package/dist/{TransitionFade-C7B6bWjS.js → TransitionFade-B_wBzIMU.js} +760 -828
- package/dist/{app-Dz4qiCQj.js → app-BdxL-mVp.js} +387 -290
- package/dist/app.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{useRestaurantPermission-DDTn3OLP.js → useRestaurantPermission-fkYMJKLu.js} +1 -1
- package/package.json +1 -1
- package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-B9yWyW2A.js +0 -383
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-BZdgw5zR.js +0 -4922
- package/dist/ReportEditor-CSq4R2KR.js +0 -1826
- package/dist/TileEditor-REt2Wbx9.js +0 -4036
- package/dist/TileGrid.vue_vue_type_script_setup_true_lang-D0rrgUXG.js +0 -152
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as te, ref as ae, computed as p, watch as re, resolveComponent as J, createBlock as N, openBlock as S, withCtx as x, createVNode as f, createElementVNode as C, unref as l, toDisplayString as se, normalizeStyle as le, normalizeClass as B, createElementBlock as ne } from "vue";
|
|
2
|
-
import { _ as ie } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as ce } from "./TileGrid.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as pe, l as ue, s as me } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as ie } from "./MenuTab.vue_vue_type_script_setup_true_lang-CDLiuOXB.js";
|
|
3
|
+
import { _ as ce } from "./TileGrid.vue_vue_type_script_setup_true_lang-Ddkwx2Y5.js";
|
|
4
|
+
import { u as pe, l as ue, s as me } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Dn1UyPl0.js";
|
|
5
5
|
import { useRouter as de, useRoute as ve } from "vue-router";
|
|
6
|
-
import { _ as fe } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as fe } from "./Default.vue_vue_type_script_setup_true_lang-CCtErh_M.js";
|
|
7
7
|
import { storeToRefs as y } from "pinia";
|
|
8
|
-
import { b as ye, c as ge, u as be, g as _e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { b as ye, c as ge, u as be, g as _e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Ct43ZFaT.js";
|
|
9
9
|
import { _ as we } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
|
|
10
10
|
import { useSnackbar as Se, useBreakpoints as xe } from "@feedmepos/ui-library";
|
|
11
11
|
import { u as Ce, a as he, _ as ke } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
12
12
|
import { u as Te } from "./message-dialog-UoMWOnil.js";
|
|
13
|
-
import { e as Re, g as Pe } from "./app-
|
|
13
|
+
import { e as Re, g as Pe } from "./app-BdxL-mVp.js";
|
|
14
14
|
import { r as De } from "./i18n-CI_sQ5d_.js";
|
|
15
15
|
const Ie = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-hidden text-ellipsis whitespace-nowrap" }, Oe = { class: "sticky top-0 z-10 bg-white" }, $e = /* @__PURE__ */ te({
|
|
16
16
|
__name: "ReportView",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as B, ref as H, useModel as M, 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
|
|
2
|
-
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { d as L, C as q, D as pe, a as ce } from "./app-
|
|
1
|
+
import { defineComponent as B, ref as H, useModel as M, 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 A, renderList as G, createTextVNode as ie, withDirectives as K, vShow as Q, watch as me, normalizeStyle as ue } from "vue";
|
|
2
|
+
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-CCtErh_M.js";
|
|
3
|
+
import { d as L, C as q, D as pe, a as ce } from "./app-BdxL-mVp.js";
|
|
4
4
|
import { components as z, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as I } from "@feedmepos/ui-library";
|
|
5
|
-
import {
|
|
5
|
+
import { H as N, J as fe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Dn1UyPl0.js";
|
|
6
6
|
import { u as ve } from "./message-dialog-UoMWOnil.js";
|
|
7
7
|
import { u as U } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
8
8
|
import { detectLocale as F } from "@feedmepos/mf-common";
|
|
@@ -29,7 +29,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
29
29
|
}, R = () => {
|
|
30
30
|
var v;
|
|
31
31
|
(v = n.value) == null || v.validateInputs();
|
|
32
|
-
},
|
|
32
|
+
}, J = () => {
|
|
33
33
|
o.value = !1, r.value = l;
|
|
34
34
|
}, Z = (v) => {
|
|
35
35
|
p.value = v, r.value = JSON.parse(JSON.stringify(m.value[p.value])), o.value = !0;
|
|
@@ -83,7 +83,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
83
83
|
a(f, {
|
|
84
84
|
label: "Cancel",
|
|
85
85
|
variant: "tertiary",
|
|
86
|
-
onClick:
|
|
86
|
+
onClick: J
|
|
87
87
|
})
|
|
88
88
|
])
|
|
89
89
|
]),
|
|
@@ -97,7 +97,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
97
97
|
a(f, {
|
|
98
98
|
label: "Cancel",
|
|
99
99
|
variant: "tertiary",
|
|
100
|
-
onClick:
|
|
100
|
+
onClick: J
|
|
101
101
|
})
|
|
102
102
|
])
|
|
103
103
|
]),
|
|
@@ -109,7 +109,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
109
109
|
onValidationSuccess: d
|
|
110
110
|
}, {
|
|
111
111
|
default: y(() => {
|
|
112
|
-
var _, V, S,
|
|
112
|
+
var _, V, S, j;
|
|
113
113
|
return [
|
|
114
114
|
a($, {
|
|
115
115
|
modelValue: r.value.name,
|
|
@@ -127,7 +127,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
127
127
|
})
|
|
128
128
|
}, null, 8, ["model-value", "label"]),
|
|
129
129
|
a(C, {
|
|
130
|
-
"model-value": e(L)().hour(((S = r.value.endTime) == null ? void 0 : S.hour) ?? 0).minute(((
|
|
130
|
+
"model-value": e(L)().hour(((S = r.value.endTime) == null ? void 0 : S.hour) ?? 0).minute(((j = r.value.endTime) == null ? void 0 : j.minute) ?? 0).format("HH:mm"),
|
|
131
131
|
class: "grow",
|
|
132
132
|
label: e(u)("report.setting.reportHour.closeTime"),
|
|
133
133
|
"onUpdate:modelValue": i[2] || (i[2] = (g) => {
|
|
@@ -146,7 +146,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
146
146
|
t("p", Ce, s(e(u)("report.setting.reportHour.description")), 1)
|
|
147
147
|
]),
|
|
148
148
|
t("div", Ve, [
|
|
149
|
-
(x(!0), k(
|
|
149
|
+
(x(!0), k(A, null, G(m.value, (_, V) => (x(), P(re, {
|
|
150
150
|
key: `report_${V}`,
|
|
151
151
|
class: "flex p-4",
|
|
152
152
|
variant: "outlined"
|
|
@@ -252,7 +252,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
252
252
|
}, null, 8, ["modelValue", "label", "items"])
|
|
253
253
|
]));
|
|
254
254
|
}
|
|
255
|
-
}), 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" },
|
|
255
|
+
}), 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({
|
|
256
256
|
__name: "Setting",
|
|
257
257
|
setup(D) {
|
|
258
258
|
const { breakpoints: o } = X(), p = ce(), { defaultDateSetting: l } = _e(p), c = W(), { t: n } = U();
|
|
@@ -302,12 +302,12 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
302
302
|
t("p", Ue, s(e(n)("report.setting.summary.title")), 1),
|
|
303
303
|
a(m),
|
|
304
304
|
t("p", Ee, s(e(n)("report.setting.summary.reportHour")), 1),
|
|
305
|
-
(x(!0), k(
|
|
305
|
+
(x(!0), k(A, null, G(e(l).timeOptions, (d, R) => (x(), k("div", { key: R }, [
|
|
306
306
|
t("p", Pe, s(d.name) + s(d.isDefault ? `(${e(n)("report.setting.reportHour.default")})` : "") + " " + s(e(N)(d.startTime, e(F)())) + " " + s(e(N)(d.endTime, e(F)())) + " " + s(e(fe)(d.startTime, d.endTime)), 1)
|
|
307
307
|
]))), 128)),
|
|
308
308
|
t("p", Me, s(e(n)("report.setting.summary.defaultDateRange")), 1),
|
|
309
|
-
t("p",
|
|
310
|
-
t("p",
|
|
309
|
+
t("p", Je, s(e(n)(`report.date.${e(l).defaultDateRange}`)), 1),
|
|
310
|
+
t("p", je, s(e(n)("report.setting.summary.comparisonDateRange")), 1),
|
|
311
311
|
t("p", Le, s(e(n)(`report.compare.${e(l).defaultCompareType}`)), 1)
|
|
312
312
|
]),
|
|
313
313
|
_: 1
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as re, computed as p, resolveComponent as g, createElementBlock as H, openBlock as _, renderSlot as Te, createVNode as n, withCtx as s, createCommentVNode as ne, createElementVNode as m, toDisplayString as y, ref as b, h as v, onMounted as Ce, createBlock as z, unref as l, normalizeStyle as ke, normalizeClass as T, withDirectives as te, Fragment as Fe, renderList as Le, withModifiers as oe, vShow as le } from "vue";
|
|
2
2
|
import { a as Ve } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
|
|
3
3
|
import { u as se, a as $e } from "./_plugin-vue_export-helper-onplcgja.js";
|
|
4
|
-
import { _ as Se } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as Se } from "./Default.vue_vue_type_script_setup_true_lang-CCtErh_M.js";
|
|
5
5
|
import { u as Re } from "./message-dialog-UoMWOnil.js";
|
|
6
|
-
import { u as Pe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { u as Pe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Dn1UyPl0.js";
|
|
7
7
|
import { r as ae } from "./i18n-CI_sQ5d_.js";
|
|
8
8
|
import { useBreakpoints as ze, useSnackbar as De, components as Ie, FmButtonColorThemeVariant as Ne } from "@feedmepos/ui-library";
|
|
9
9
|
import { useRouter as Oe, useRoute as Be } from "vue-router";
|
|
10
10
|
import { storeToRefs as Ee } from "pinia";
|
|
11
|
-
import { g as Ke } from "./app-
|
|
11
|
+
import { g as Ke } from "./app-BdxL-mVp.js";
|
|
12
12
|
const Me = { class: "flex flex-col h-full" }, Ue = ["src"], je = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Ae = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, He = /* @__PURE__ */ re({
|
|
13
13
|
__name: "NoTemplate",
|
|
14
14
|
props: {
|