@feedmepos/mf-report 5.22.14-beta.2 → 5.22.15-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-Cwppqefm.js → App-BQhR0gXI.js} +5 -5
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-CcKWqqNP.js → BaseDialog.vue_vue_type_script_setup_true_lang-CoJrINGt.js} +1890 -1838
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-CryPHoYr.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-HVO_Z_aB.js} +7 -7
- package/dist/{Default.vue_vue_type_script_setup_true_lang-DU3zkEF1.js → Default.vue_vue_type_script_setup_true_lang-B0td3xNS.js} +2 -2
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-CyW-5xr4.js → FilterSelector.vue_vue_type_script_setup_true_lang-DB7d9t3_.js} +6 -6
- package/dist/{InsightView-DAnaBH3D.js → InsightView-CitbD8mF.js} +6 -6
- package/dist/{Integration-DiNs52W5.js → Integration-DjnNmveS.js} +6 -7
- package/dist/{Integrations-BvgLRF5N.js → Integrations-BKYeENnK.js} +6 -7
- package/dist/{Layout-BAYV4nCo.js → Layout-5TdGrp8j.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BZphMQGv.js → MenuTab.vue_vue_type_script_setup_true_lang-DkiUvM56.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DSTG-gQ3.js → NavigationTab.vue_vue_type_script_setup_true_lang-CifNNsqR.js} +3120 -3095
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-zS79GrjC.js → NoData.vue_vue_type_script_setup_true_lang-Uei_Jstp.js} +1 -1
- package/dist/{OverviewView-CvRMdLbB.js → OverviewView-DZoL2KUz.js} +5 -5
- package/dist/{Report-C6445626.js → Report-D_9Db2Pa.js} +216 -187
- package/dist/{ReportEditor-Cy8f2WFu.js → ReportEditor-VGOkYidh.js} +65 -65
- package/dist/{ReportView-D-T3b10U.js → ReportView-B9PQlaFs.js} +22 -22
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-CYDZzbCU.js → SelectComponent.vue_vue_type_script_setup_true_lang-UhEjUKRz.js} +1 -1
- package/dist/{Setting-DBzyuCx-.js → Setting-BpStivU1.js} +5 -5
- package/dist/{TileEditor-CWYE5X71.js → TileEditor-CYwZNqhl.js} +110 -110
- package/dist/{TransitionFade-DwQjFIYA.js → TransitionFade-Cmxee7D0.js} +6 -6
- package/dist/{app-BRv3iLF1.js → app-BXEgzj0c.js} +11 -11
- package/dist/app.js +1 -1
- package/dist/style.css +1 -1
- package/dist/useReportPermission-B_CqU5GP.js +63 -0
- package/dist/useRestaurantPermission-DIlTzfKA.js +64 -0
- package/dist/{vue-i18n-ComGWqEb.js → vue-i18n-mTXrqqL9.js} +4477 -3241
- package/package.json +2 -2
- package/dist/access-Dw5cDt65-C2c0R9q4.js +0 -1238
- package/dist/useReportPermission-CDWkdi6R.js +0 -60
- package/dist/useRestaurantPermission-CjG_t7dK.js +0 -65
|
@@ -1,6 +1,6 @@
|
|
|
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
|
|
2
|
-
import { u as W, b as q,
|
|
3
|
-
import { d as r } from "./app-
|
|
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 { u as W, b as q, R as G, C as H } from "./vue-i18n-mTXrqqL9.js";
|
|
3
|
+
import { d as r } from "./app-BXEgzj0c.js";
|
|
4
4
|
import { detectLocale as E } from "@feedmepos/mf-common";
|
|
5
5
|
import { storeToRefs as K } from "pinia";
|
|
6
6
|
var v = /* @__PURE__ */ ((e) => (e.Year = "YEAR", e.Month = "MONTH", e.Week = "WEEK", e.Day = "DAY", e))(v || {}), L = /* @__PURE__ */ ((e) => (e.Yesterday = "YESTERDAY", e.Today = "TODAY", e))(L || {});
|
|
@@ -193,7 +193,7 @@ const Q = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
193
193
|
startDate: g.value.startDate ? ($ = r(g.value.startDate)) == null ? void 0 : $.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(
|
|
197
197
|
[() => s.value],
|
|
198
198
|
() => {
|
|
199
199
|
s.value.endDate || (s.value.endDate = s.value.startDate);
|
|
@@ -204,7 +204,7 @@ const Q = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
204
204
|
m.value = u, o("update", u);
|
|
205
205
|
},
|
|
206
206
|
{ deep: !0 }
|
|
207
|
-
),
|
|
207
|
+
), x([() => D.value], () => {
|
|
208
208
|
const u = D.value.startDate, d = D.value.endDate, h = u ? r(
|
|
209
209
|
u instanceof Date ? u : r(u).toDate()
|
|
210
210
|
).startOf("day").tz(i.value, !0).toISOString() : void 0, c = d ? r(d instanceof Date ? d : r(d).toDate()).tz(i.value, !0).endOf("day").toISOString() : void 0;
|
|
@@ -234,7 +234,7 @@ const Q = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
234
234
|
class: "w-2/6"
|
|
235
235
|
}, {
|
|
236
236
|
"trigger-button": T(() => [
|
|
237
|
-
|
|
237
|
+
O(V, {
|
|
238
238
|
"left-icon": e.label ? "filter_alt" : "calendar_month",
|
|
239
239
|
label: e.label ?? f(F)({
|
|
240
240
|
startDate: s.value.startDate ?? "",
|
|
@@ -259,7 +259,7 @@ const Q = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-
|
|
|
259
259
|
onSelectComparison: N
|
|
260
260
|
}, {
|
|
261
261
|
"trigger-button": T(() => [
|
|
262
|
-
|
|
262
|
+
O(V, {
|
|
263
263
|
label: `${f(n)("report.common.compare")}: ${f(F)({
|
|
264
264
|
startDate: D.value.startDate ?? null,
|
|
265
265
|
endDate: D.value.endDate ?? null,
|
|
@@ -1,8 +1,8 @@
|
|
|
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-CifNNsqR.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as C } from "pinia";
|
|
5
|
-
import { u as q, e as w } from "./vue-i18n-
|
|
5
|
+
import { u as q, e as w } from "./vue-i18n-mTXrqqL9.js";
|
|
6
6
|
import { useRoute as B } from "vue-router";
|
|
7
7
|
const $ = {
|
|
8
8
|
key: 1,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { computed as m, defineComponent as je, ref as T, onMounted as nt, onBeforeUnmount as sa, resolveComponent as ve, createBlock as Ce, openBlock as G, Transition as Ha, withCtx as Pe, createElementBlock as ge, createCommentVNode as Te, createElementVNode as Q, unref as r, normalizeStyle as Ue, withModifiers as xt, toDisplayString as He, createVNode as ce, Fragment as Ke, renderList as wt, normalizeClass as ze, watch as Ve, nextTick as Ye, mergeModels as ct, useModel as at, renderSlot as dt, h as tn, toRaw as Wa, markRaw as Ea, createTextVNode as gn, onUnmounted as ia, resolveDynamicComponent as Oa, withDirectives as Ua, vShow as Ka } from "vue";
|
|
2
|
-
import { W as le, e as Pt, f as Ya, S as yt, v as Ot, g as qa, h as mn, i as ua, q as ca, R as Lt, j as Xa, D as it, c as Oe, C as tt, a as Ga, b as ja, _ as Ja } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as pt, b as Ut, a as Mn,
|
|
4
|
-
import { d as yn, _ as Qa, a as eo, b as to, c as no } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { W as le, e as Pt, f as Ya, S as yt, v as Ot, g as qa, h as mn, i as ua, q as ca, R as Lt, j as Xa, D as it, c as Oe, C as tt, a as Ga, b as ja, _ as Ja } from "./BaseDialog.vue_vue_type_script_setup_true_lang-CoJrINGt.js";
|
|
3
|
+
import { u as pt, b as Ut, a as Mn, j as Za } from "./vue-i18n-mTXrqqL9.js";
|
|
4
|
+
import { d as yn, _ as Qa, a as eo, b as to, c as no } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-HVO_Z_aB.js";
|
|
5
5
|
import { storeToRefs as ut, defineStore as da } from "pinia";
|
|
6
6
|
import { C as bn } from "./chart-DDDh8zNk.js";
|
|
7
7
|
import { detectLocale as ao } from "@feedmepos/mf-common";
|
|
8
8
|
import { useBreakpoints as Fn, useSnackbar as Bn, components as oo } from "@feedmepos/ui-library";
|
|
9
|
-
import { t as lo, z as ro, a as so, e as io, d as Dt } from "./app-
|
|
10
|
-
import { _ as fa } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { t as lo, z as ro, a as so, e as io, d as Dt } from "./app-BXEgzj0c.js";
|
|
10
|
+
import { _ as fa } from "./SelectComponent.vue_vue_type_script_setup_true_lang-UhEjUKRz.js";
|
|
11
11
|
import { r as bt } from "./i18n-CI_sQ5d_.js";
|
|
12
|
-
import { _ as Cn } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as Cn } from "./NoData.vue_vue_type_script_setup_true_lang-Uei_Jstp.js";
|
|
13
13
|
var xn = /* @__PURE__ */ ((e) => (e.line = "LINE", e.bar = "BAR", e))(xn || {}), gt = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(gt || {}), wn = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(wn || {}), Sn = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(Sn || {}), kn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(kn || {}), _n = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(_n || {}), Tn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(Tn || {}), Re = /* @__PURE__ */ ((e) => (e.series = "SERIES", e.metric = "METRIC", e.breakdown = "BREAKDOWN", e))(Re || {});
|
|
14
14
|
le.Circular, le.Table, le.BarChart, le.LineChart, le.StackBarChart, le.ClusteredStackBarChart, le.StackLineChart, le.Scorecard, le.Spacer;
|
|
15
15
|
const uo = [
|
|
@@ -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 o, createElementVNode as a, 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 h, normalizeClass as L, resolveComponent as R, useModel as ae, createTextVNode as oe, 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 { a as G, q as O, F as J, u as K, g as Y, b as re } from "./vue-i18n-
|
|
2
|
+
import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-B0td3xNS.js";
|
|
3
|
+
import { _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-HVO_Z_aB.js";
|
|
4
|
+
import { a as G, q as O, F as J, u as K, g as Y, b as re } from "./vue-i18n-mTXrqqL9.js";
|
|
5
5
|
import { storeToRefs as Q } from "pinia";
|
|
6
|
-
import { d as W } from "./app-
|
|
6
|
+
import { d as W } from "./app-BXEgzj0c.js";
|
|
7
7
|
import { C as ee, r as de } from "./chart-DDDh8zNk.js";
|
|
8
8
|
import { components as E, useSnackbar as ce } from "@feedmepos/ui-library";
|
|
9
|
-
import { _ as ue } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as ue } from "./NoData.vue_vue_type_script_setup_true_lang-Uei_Jstp.js";
|
|
10
|
+
import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CifNNsqR.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,13 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Z, mergeModels as Ae, useModel as te, computed as q, resolveComponent as D, createElementBlock as M, openBlock as w, createElementVNode as t, createCommentVNode as B, normalizeClass as Ge, Fragment as Ve, createBlock as E, withCtx as he, toDisplayString as A, renderList as Pe, createVNode as l, unref as u, h as S, normalizeStyle as st, createTextVNode as rt, ref as G, onUnmounted as Le, watch as De, isRef as Re, resolveDynamicComponent as Ue, mergeProps as Xe, onMounted as et } from "vue";
|
|
2
2
|
import { useRouter as _e, useRoute as it } from "vue-router";
|
|
3
|
-
import { u as oe, I as Se,
|
|
3
|
+
import { u as oe, I as Se, v as dt, w as mt, d as Ie, e as je, b as Ce, A as be, x as pt, l as ut, y as W, t as Oe, z as Ee, B as Te, E as Be, G as We, H as ct, J as ft, K as gt, L as Je, c as lt, M as vt, N as yt, O as xt, P as bt, Q as wt } from "./vue-i18n-mTXrqqL9.js";
|
|
4
4
|
import { u as Ye } from "./message-dialog-UoMWOnil.js";
|
|
5
5
|
import { useSnackbar as ke } from "@feedmepos/ui-library";
|
|
6
|
-
import { d as Fe } from "./app-
|
|
7
|
-
import {
|
|
8
|
-
import { u as Ne, h as we } from "./useRestaurantPermission-CjG_t7dK.js";
|
|
6
|
+
import { d as Fe } from "./app-BXEgzj0c.js";
|
|
7
|
+
import { u as Ne, h as we } from "./useRestaurantPermission-DIlTzfKA.js";
|
|
9
8
|
import { storeToRefs as qe } from "pinia";
|
|
10
|
-
import { _ as ze } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as ze } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-HVO_Z_aB.js";
|
|
11
10
|
const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, ht = { class: "w-[100%]" }, Ct = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, kt = { class: "w-[100%] flex flex-row gap-[4px]" }, $t = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, St = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, At = {
|
|
12
11
|
key: 0,
|
|
13
12
|
class: "w-[24px] flex items-center"
|
|
@@ -7133,7 +7132,7 @@ const ai = [
|
|
|
7133
7132
|
]);
|
|
7134
7133
|
};
|
|
7135
7134
|
}
|
|
7136
|
-
}), Sd = { class: "px-24 h-full relative" },
|
|
7135
|
+
}), Sd = { class: "px-24 h-full relative" }, Nd = /* @__PURE__ */ Z({
|
|
7137
7136
|
__name: "Integration",
|
|
7138
7137
|
setup(g) {
|
|
7139
7138
|
const a = G(void 0), e = it(), d = _e(), { params: x, query: T } = e, V = Ie(), I = G(), b = G([]), { rules: f, notifyUnauthorized: m } = Ne(), h = G(!1);
|
|
@@ -7193,5 +7192,5 @@ const ai = [
|
|
|
7193
7192
|
}
|
|
7194
7193
|
});
|
|
7195
7194
|
export {
|
|
7196
|
-
|
|
7195
|
+
Nd as default
|
|
7197
7196
|
};
|