@feedmepos/mf-report 5.24.2 → 5.24.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.
Files changed (30) hide show
  1. package/dist/{App-mqLN8UFM.js → App-CH45KtMi.js} +4 -4
  2. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-C3gJtMm-.js +380 -0
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-BzVweuOL.js → Default.vue_vue_type_script_setup_true_lang-Duu-LyqL.js} +1 -1
  4. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-CtV3BEJO.js +4661 -0
  5. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-C731Br2T.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BDXjO_Sp.js} +8299 -7427
  6. package/dist/{InsightView-ADisfb4R.js → InsightView-BWVD5IIN.js} +5 -5
  7. package/dist/{Integration-CDqNMoR0.js → Integration-BVN352PX.js} +22 -22
  8. package/dist/{Integrations-DQIv4LVI.js → Integrations-BUojqghs.js} +13 -12
  9. package/dist/{Layout-DMSB8Kfu.js → Layout-B5kumbJ0.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-2gpx86l4.js → MenuTab.vue_vue_type_script_setup_true_lang-D1-Jlcbz.js} +26 -27
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DHUUdyp2.js → NavigationTab.vue_vue_type_script_setup_true_lang-DDbNobqI.js} +6342 -6322
  12. package/dist/{OverviewView-CRg2cFuh.js → OverviewView-DJOcIDmH.js} +5 -5
  13. package/dist/{Report-BwqcLICQ.js → Report-CuZpyzTW.js} +4 -4
  14. package/dist/{ReportEditor-DGY3SxpW.js → ReportEditor-B3haFTU6.js} +571 -573
  15. package/dist/{ReportView-BIY-5Lbi.js → ReportView-4JWtTu3y.js} +16 -17
  16. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Af_Z54a4.js +143 -0
  17. package/dist/{Setting-CpfDtK_s.js → Setting-Dl8HsHao.js} +4 -4
  18. package/dist/{TileEditor-D5jwVXhB.js → TileEditor-1hvqccL1.js} +325 -323
  19. package/dist/{TransitionFade-CC0PpKBo.js → TransitionFade-9A8VZ8Fm.js} +18 -18
  20. package/dist/{app-CILH73ZA.js → app-CBHDMsDR.js} +2229 -2311
  21. package/dist/app.js +1 -1
  22. package/dist/assets/{formatChartData.worker-C3U_CcDO.js → formatChartData.worker-DaLXwMTs.js} +2 -2
  23. package/dist/assets/{processTableData.worker-D_oiIvNW.js → processTableData.worker-Be0ZD94L.js} +2 -2
  24. package/dist/style.css +1 -1
  25. package/dist/{useRestaurantPermission-UJ4KkZq1.js → useRestaurantPermission-CGonMXA-.js} +1 -1
  26. package/package.json +1 -1
  27. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-BYxYhdsf.js +0 -286
  28. package/dist/FilterSelector.vue_vue_type_script_setup_true_lang-LZyZxm7z.js +0 -5467
  29. package/dist/NoData.vue_vue_type_script_setup_true_lang-CDKHIlF2.js +0 -38
  30. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Df40itH5.js +0 -110
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, resolveComponent as t, createBlock as r, openBlock as n, withCtx as _, createVNode as c } from "vue";
2
- import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-BzVweuOL.js";
2
+ import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-Duu-LyqL.js";
3
3
  const f = /* @__PURE__ */ o({
4
4
  __name: "Layout",
5
5
  setup(m) {
@@ -1,13 +1,12 @@
1
- import { defineComponent as b, computed as V, createElementBlock as x, openBlock as a, createElementVNode as y, createVNode as u, unref as e, isRef as p, withCtx as _, createBlock as g, createCommentVNode as k, useModel as $, resolveComponent as f, normalizeClass as R, Fragment as w, renderList as M, toDisplayString as T } from "vue";
2
- import { a as B } from "./app-CILH73ZA.js";
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-CBHDMsDR.js";
3
3
  import { storeToRefs as D } from "pinia";
4
- import { a as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DHUUdyp2.js";
5
- import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BYxYhdsf.js";
6
- import { _ as N } from "./BaseDialog.vue_vue_type_script_setup_true_lang-C731Br2T.js";
7
- import { a as S } from "./FilterSelector.vue_vue_type_script_setup_true_lang-LZyZxm7z.js";
4
+ import { a as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DDbNobqI.js";
5
+ import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-C3gJtMm-.js";
6
+ import { _ as N, b as S } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BDXjO_Sp.js";
8
7
  import { useRoute as z } from "vue-router";
9
8
  import { useBreakpoints as E } from "@feedmepos/ui-library";
10
- 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__ */ b({
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({
11
10
  __name: "Filter",
12
11
  setup(F) {
13
12
  const {
@@ -17,30 +16,30 @@ const L = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scroll
17
16
  compareDateRange: l,
18
17
  timeRange: m,
19
18
  defaultDateSetting: s,
20
- selectTimeDefault: i
19
+ selectTimeDefault: u
21
20
  } = D(B()), v = z(), r = V(() => v.name === "overview");
22
- return (C, t) => (a(), x("div", L, [
21
+ return (b, t) => (a(), x("div", L, [
23
22
  y("div", O, [
24
- u(I, {
23
+ p(I, {
25
24
  modelValue: e(n),
26
- "onUpdate:modelValue": t[5] || (t[5] = (o) => p(n) ? n.value = o : null),
25
+ "onUpdate:modelValue": t[5] || (t[5] = (o) => i(n) ? n.value = o : null),
27
26
  options: e(d)
28
27
  }, {
29
28
  default: _(() => [
30
- u(U, {
29
+ p(U, {
31
30
  "date-range": e(c),
32
- "onUpdate:dateRange": t[0] || (t[0] = (o) => p(c) ? c.value = o : null),
31
+ "onUpdate:dateRange": t[0] || (t[0] = (o) => i(c) ? c.value = o : null),
33
32
  "compare-date-range": e(l),
34
- "onUpdate:compareDateRange": t[1] || (t[1] = (o) => p(l) ? l.value = o : null),
33
+ "onUpdate:compareDateRange": t[1] || (t[1] = (o) => i(l) ? l.value = o : null),
35
34
  "compare-type": e(s).defaultCompareType,
36
35
  "onUpdate:compareType": t[2] || (t[2] = (o) => e(s).defaultCompareType = o),
37
36
  compare: ""
38
37
  }, null, 8, ["date-range", "compare-date-range", "compare-type"]),
39
- u(N, {
38
+ p(N, {
40
39
  "time-range": e(m),
41
- "onUpdate:timeRange": t[3] || (t[3] = (o) => p(m) ? m.value = o : null),
42
- "select-time-default": e(i),
43
- "onUpdate:selectTimeDefault": t[4] || (t[4] = (o) => p(i) ? i.value = o : null),
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),
44
43
  "default-date-range": e(s).timeOptions
45
44
  }, null, 8, ["time-range", "select-time-default", "default-date-range"]),
46
45
  r.value ? k("", !0) : (a(), g(S, { key: 0 }))
@@ -50,7 +49,7 @@ const L = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scroll
50
49
  ])
51
50
  ]));
52
51
  }
53
- }), j = { class: "fm-typo-en-body-md-400" }, Y = /* @__PURE__ */ b({
52
+ }), j = { class: "fm-typo-en-body-md-400" }, X = /* @__PURE__ */ R({
54
53
  __name: "MenuTab",
55
54
  props: {
56
55
  modelValue: { required: !1, default: [] },
@@ -60,22 +59,22 @@ const L = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scroll
60
59
  setup(F) {
61
60
  const d = $(F, "modelValue"), { breakpoints: n } = E();
62
61
  return (c, l) => {
63
- const m = f("FmButton"), s = f("FmIcon"), i = f("FmMenuItem"), v = f("FmMenu");
62
+ const m = f("FmButton"), s = f("FmIcon"), u = f("FmMenuItem"), v = f("FmMenu");
64
63
  return a(), x("div", {
65
64
  "data-menu-tab": "true",
66
- class: R(["flex items-start pb-2 px-24", `${e(n).lg || e(n).md ? "px-24" : "pl-3"}`])
65
+ class: C(["flex items-start pb-2 px-24", `${e(n).lg || e(n).md ? "px-24" : "pl-3"}`])
67
66
  }, [
68
- u(q),
67
+ p(q),
69
68
  l[0] || (l[0] = y("div", { class: "flex grow" }, null, -1)),
70
69
  d.value.length > 0 ? (a(), g(v, {
71
70
  key: 0,
72
71
  trigger: "click",
73
72
  placement: "left",
74
73
  shift: !0,
75
- class: R(e(n).sm || e(n).xs ? "pr-3" : "")
74
+ class: C(e(n).sm || e(n).xs ? "pr-3" : "")
76
75
  }, {
77
76
  "menu-button": _(() => [
78
- u(m, {
77
+ p(m, {
79
78
  "append-icon": "more_vert",
80
79
  variant: "tertiary",
81
80
  size: "md",
@@ -83,8 +82,8 @@ const L = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scroll
83
82
  })
84
83
  ]),
85
84
  default: _(() => [
86
- (a(!0), x(w, null, M(d.value, (r, C) => (a(), g(i, {
87
- key: `button-${C}`,
85
+ (a(!0), x(w, null, M(d.value, (r, b) => (a(), g(u, {
86
+ key: `button-${b}`,
88
87
  onClick: r.onClick
89
88
  }, {
90
89
  label: _(() => [
@@ -104,5 +103,5 @@ const L = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scroll
104
103
  }
105
104
  });
106
105
  export {
107
- Y as _
106
+ X as _
108
107
  };