@feedmepos/mf-report 5.27.25 → 5.27.26

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.
Files changed (25) hide show
  1. package/dist/{App-DjVs-2jP.js → App-C_04mBmg.js} +4 -4
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-BuO42-MR.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CIStXVl_.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-8Lfk9D0S.js → Default.vue_vue_type_script_setup_true_lang-Go7gifP6.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BGD1_4cA.js → DynamicWidget.vue_vue_type_script_setup_true_lang-DkUAO3Pw.js} +3 -3
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DXtWF7LP.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C8BAjwYE.js} +1316 -1315
  6. package/dist/{InsightView-D6b8_QUl.js → InsightView-DxcA19xM.js} +4 -4
  7. package/dist/{Integration-D3swSuoZ.js → Integration-BjDMACOk.js} +3 -3
  8. package/dist/{Integrations-BipzHbPq.js → Integrations-C0ygYpUr.js} +2 -2
  9. package/dist/{Layout-D2KTFMYS.js → Layout-BZt9uxku.js} +1 -1
  10. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-kFFnLTTQ.js +130 -0
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-TBmbqppw.js → NavigationTab.vue_vue_type_script_setup_true_lang-C5oOG7nr.js} +3 -3
  12. package/dist/{OverviewView-D8eN2tXc.js → OverviewView-B413Q1mY.js} +4 -4
  13. package/dist/{Report-D7oY7MNR.js → Report-CpgL93uy.js} +3 -3
  14. package/dist/{ReportEditor-D4Sdv6-2.js → ReportEditor-CthLn0Wx.js} +479 -476
  15. package/dist/{ReportView-L_VETn4p.js → ReportView-B2D5Jl3u.js} +6 -6
  16. package/dist/{Setting-CC9wH9NT.js → Setting-BuSJoJVP.js} +3 -3
  17. package/dist/{Template-DHm7_rLJ.js → Template-BLh1du5v.js} +3 -3
  18. package/dist/{TileEditor-CQAqJkTy.js → TileEditor-VQxT6p51.js} +137 -137
  19. package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-jbujDyFY.js → TileGrid.vue_vue_type_script_setup_true_lang-Bc2TNbmf.js} +1 -1
  20. package/dist/{TransitionFade-BYS_PD1Y.js → TransitionFade-DnF7WkzY.js} +4 -4
  21. package/dist/{app-dOrzXjgr.js → app-CZ1_gioS.js} +12 -12
  22. package/dist/app.js +1 -1
  23. package/dist/{useRestaurantPermission-BhsJdiXZ.js → useRestaurantPermission-DCs4m_N3.js} +1 -1
  24. package/package.json +1 -1
  25. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-CpLX_mmh.js +0 -107
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as U, reactive as E, resolveComponent as b, createElementBlock as a, openBlock as s, Fragment as h, renderList as I, createBlock as g, createCommentVNode as W, normalizeStyle as F, normalizeClass as f, withCtx as V, createVNode as c, createElementVNode as z, withDirectives as H, vShow as K } from "vue";
2
- import { _ as D, c as P, a as j, b as q, t as A } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BGD1_4cA.js";
2
+ import { _ as D, c as P, a as j, b as q, t as A } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DkUAO3Pw.js";
3
3
  import { useBreakpoints as J } from "@feedmepos/ui-library";
4
4
  const O = { class: "flex-1 min-h-0 overflow-y-auto" }, Q = {
5
5
  key: 0,
@@ -3,13 +3,13 @@ import { u as Lt, a as fo, _ as an } from "./_plugin-vue_export-helper-onplcgja.
3
3
  import { useCoreStore as po } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as In } from "pinia";
5
5
  import { useRoute as mo } from "vue-router";
6
- import { W as xe, Q as ho, I as rt, t as On, v as Sn, c as Ge, g as go, q as vo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DXtWF7LP.js";
7
- import { p as bo, d as Cn, a as Rn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BuO42-MR.js";
8
- import { u as yo, F as Eo, r as _o, d as Ut } from "./app-dOrzXjgr.js";
6
+ import { W as xe, Q as ho, I as rt, t as On, v as Sn, d as Ge, g as go, q as vo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C8BAjwYE.js";
7
+ import { p as bo, d as Cn, a as Rn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CIStXVl_.js";
8
+ import { u as yo, F as Eo, r as _o, d as Ut } from "./app-CZ1_gioS.js";
9
9
  import { a as dn } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
10
10
  import { r as fn } from "./i18n-CI_sQ5d_.js";
11
11
  import { useSnackbar as To } from "@feedmepos/ui-library";
12
- import { g as gt } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BGD1_4cA.js";
12
+ import { g as gt } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DkUAO3Pw.js";
13
13
  const wo = {
14
14
  key: 0,
15
15
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
@@ -12842,7 +12842,7 @@ const os = [
12842
12842
  path: "/overview",
12843
12843
  alias: ["/"],
12844
12844
  name: "overview",
12845
- component: ft(() => import("./OverviewView-D8eN2tXc.js")),
12845
+ component: ft(() => import("./OverviewView-B413Q1mY.js")),
12846
12846
  meta: {
12847
12847
  validationManifest: pt(
12848
12848
  X.report_accessOverview
@@ -12852,18 +12852,18 @@ const os = [
12852
12852
  {
12853
12853
  path: "/report",
12854
12854
  name: "reports",
12855
- component: () => import("./Report-D7oY7MNR.js")
12855
+ component: () => import("./Report-CpgL93uy.js")
12856
12856
  },
12857
12857
  {
12858
12858
  path: "/template",
12859
12859
  name: "template",
12860
- component: () => import("./Template-DHm7_rLJ.js"),
12860
+ component: () => import("./Template-BLh1du5v.js"),
12861
12861
  beforeEnter: () => qr().canAccessTemplate() ? !0 : { name: "reports" }
12862
12862
  },
12863
12863
  {
12864
12864
  path: "/insights",
12865
12865
  name: "insights",
12866
- component: ft(() => import("./InsightView-D6b8_QUl.js")),
12866
+ component: ft(() => import("./InsightView-DxcA19xM.js")),
12867
12867
  meta: {
12868
12868
  validationManifest: pt(
12869
12869
  X.report_accessInsight
@@ -12873,22 +12873,22 @@ const os = [
12873
12873
  {
12874
12874
  path: "/report-view",
12875
12875
  name: "reportView",
12876
- component: () => import("./ReportView-L_VETn4p.js")
12876
+ component: () => import("./ReportView-B2D5Jl3u.js")
12877
12877
  },
12878
12878
  {
12879
12879
  path: "/report-editor",
12880
12880
  name: "reportEditor",
12881
- component: () => import("./ReportEditor-D4Sdv6-2.js")
12881
+ component: () => import("./ReportEditor-CthLn0Wx.js")
12882
12882
  },
12883
12883
  {
12884
12884
  path: "/report-editor/tile-editor",
12885
12885
  name: "tileEditor",
12886
- component: () => import("./TileEditor-CQAqJkTy.js")
12886
+ component: () => import("./TileEditor-VQxT6p51.js")
12887
12887
  },
12888
12888
  {
12889
12889
  path: "/setting",
12890
12890
  name: "setting",
12891
- component: ft(() => import("./Setting-CC9wH9NT.js")),
12891
+ component: ft(() => import("./Setting-BuSJoJVP.js")),
12892
12892
  meta: {
12893
12893
  validationManifest: pt(
12894
12894
  X.report_accessSetting
@@ -12897,7 +12897,7 @@ const os = [
12897
12897
  },
12898
12898
  {
12899
12899
  path: "/integration",
12900
- component: ft(() => import("./Layout-D2KTFMYS.js")),
12900
+ component: ft(() => import("./Layout-BZt9uxku.js")),
12901
12901
  meta: {
12902
12902
  validationManifest: pt(
12903
12903
  X.report_accessIntegration
@@ -12907,12 +12907,12 @@ const os = [
12907
12907
  {
12908
12908
  name: "integrations",
12909
12909
  path: "",
12910
- component: () => import("./Integrations-BipzHbPq.js")
12910
+ component: () => import("./Integrations-C0ygYpUr.js")
12911
12911
  },
12912
12912
  {
12913
12913
  name: "integration",
12914
12914
  path: "/integration/:id",
12915
- component: () => import("./Integration-D3swSuoZ.js")
12915
+ component: () => import("./Integration-BjDMACOk.js")
12916
12916
  }
12917
12917
  ]
12918
12918
  },
@@ -12936,7 +12936,7 @@ const Ws = {
12936
12936
  "zh-CN": un,
12937
12937
  "th-TH": fn,
12938
12938
  "zh-Hant": yn
12939
- }, Zs = $o(() => import("./App-DjVs-2jP.js"));
12939
+ }, Zs = $o(() => import("./App-C_04mBmg.js"));
12940
12940
  export {
12941
12941
  Kc as A,
12942
12942
  Ec as B,
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { X as e, i as o, Y as p } from "./app-dOrzXjgr.js";
2
+ import { X as e, i as o, Y as p } from "./app-CZ1_gioS.js";
3
3
  export {
4
4
  e as FmApp,
5
5
  o as i18nMessages,
@@ -2,7 +2,7 @@ import { computed as u } from "vue";
2
2
  import { u as c } from "./_plugin-vue_export-helper-onplcgja.js";
3
3
  import { useSnackbar as f } from "@feedmepos/ui-library";
4
4
  import { useCoreStore as d } from "@feedmepos/mf-common";
5
- import { V as l, W as i } from "./app-dOrzXjgr.js";
5
+ import { V as l, W as i } from "./app-CZ1_gioS.js";
6
6
  function g(t) {
7
7
  return Array.isArray(t) ? t : [];
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-report",
3
- "version": "5.27.25",
3
+ "version": "5.27.26",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -1,107 +0,0 @@
1
- import { defineComponent as R, computed as V, createElementBlock as x, openBlock as a, createElementVNode as y, createVNode as p, unref as e, isRef as i, withCtx as _, createBlock as g, createCommentVNode as k, useModel as $, resolveComponent as f, normalizeClass as C, Fragment as w, renderList as M, toDisplayString as T } from "vue";
2
- import { a as B } from "./app-dOrzXjgr.js";
3
- import { storeToRefs as D } from "pinia";
4
- import { a as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-TBmbqppw.js";
5
- import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BuO42-MR.js";
6
- import { _ as N, b as S } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DXtWF7LP.js";
7
- import { useRoute as z } from "vue-router";
8
- import { useBreakpoints as E } from "@feedmepos/ui-library";
9
- const L = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scrollbar-hide" }, O = { class: "flex flex-col gap-2 py-2" }, q = /* @__PURE__ */ R({
10
- __name: "Filter",
11
- setup(F) {
12
- const {
13
- locations: d,
14
- selectedLocationIds: n,
15
- dateRange: c,
16
- compareDateRange: l,
17
- timeRange: m,
18
- defaultDateSetting: s,
19
- selectTimeDefault: u
20
- } = D(B()), v = z(), r = V(() => v.name === "overview");
21
- return (b, t) => (a(), x("div", L, [
22
- y("div", O, [
23
- p(I, {
24
- modelValue: e(n),
25
- "onUpdate:modelValue": t[5] || (t[5] = (o) => i(n) ? n.value = o : null),
26
- options: e(d)
27
- }, {
28
- default: _(() => [
29
- p(U, {
30
- "date-range": e(c),
31
- "onUpdate:dateRange": t[0] || (t[0] = (o) => i(c) ? c.value = o : null),
32
- "compare-date-range": e(l),
33
- "onUpdate:compareDateRange": t[1] || (t[1] = (o) => i(l) ? l.value = o : null),
34
- "compare-type": e(s).defaultCompareType,
35
- "onUpdate:compareType": t[2] || (t[2] = (o) => e(s).defaultCompareType = o),
36
- compare: ""
37
- }, null, 8, ["date-range", "compare-date-range", "compare-type"]),
38
- p(N, {
39
- "time-range": e(m),
40
- "onUpdate:timeRange": t[3] || (t[3] = (o) => i(m) ? m.value = o : null),
41
- "select-time-default": e(u),
42
- "onUpdate:selectTimeDefault": t[4] || (t[4] = (o) => i(u) ? u.value = o : null),
43
- "default-date-range": e(s).timeOptions
44
- }, null, 8, ["time-range", "select-time-default", "default-date-range"]),
45
- r.value ? k("", !0) : (a(), g(S, { key: 0 }))
46
- ]),
47
- _: 1
48
- }, 8, ["modelValue", "options"])
49
- ])
50
- ]));
51
- }
52
- }), j = { class: "fm-typo-en-body-md-400" }, X = /* @__PURE__ */ R({
53
- __name: "MenuTab",
54
- props: {
55
- modelValue: { required: !1, default: [] },
56
- modelModifiers: {}
57
- },
58
- emits: ["update:modelValue"],
59
- setup(F) {
60
- const d = $(F, "modelValue"), { breakpoints: n } = E();
61
- return (c, l) => {
62
- const m = f("FmButton"), s = f("FmIcon"), u = f("FmMenuItem"), v = f("FmMenu");
63
- return a(), x("div", {
64
- "data-menu-tab": "true",
65
- class: C(["flex items-start pb-2 px-24", `${e(n).lg || e(n).md ? "px-24" : "pl-3"}`])
66
- }, [
67
- p(q),
68
- l[0] || (l[0] = y("div", { class: "flex grow" }, null, -1)),
69
- d.value.length > 0 ? (a(), g(v, {
70
- key: 0,
71
- trigger: "click",
72
- placement: "left",
73
- shift: !0,
74
- class: C(e(n).sm || e(n).xs ? "pr-3" : "")
75
- }, {
76
- "menu-button": _(() => [
77
- p(m, {
78
- "append-icon": "more_vert",
79
- variant: "tertiary",
80
- size: "md",
81
- class: "w-[36px] bg-none"
82
- })
83
- ]),
84
- default: _(() => [
85
- (a(!0), x(w, null, M(d.value, (r, b) => (a(), g(u, {
86
- key: `button-${b}`,
87
- onClick: r.onClick
88
- }, {
89
- label: _(() => [
90
- r.prependIcon ?? !1 ? (a(), g(s, {
91
- key: 0,
92
- name: r.icon
93
- }, null, 8, ["name"])) : k("", !0),
94
- y("p", j, T(r.label), 1)
95
- ]),
96
- _: 2
97
- }, 1032, ["onClick"]))), 128))
98
- ]),
99
- _: 1
100
- }, 8, ["class"])) : k("", !0)
101
- ], 2);
102
- };
103
- }
104
- });
105
- export {
106
- X as _
107
- };