@feedmepos/mf-report 5.4.12-beta.1 → 5.4.13

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-BfiD9wmy.js → App-fwdY-VgU.js} +30 -30
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-CpiR4ObD.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-D7xFDtWS.js} +2 -2
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-6dgHXUk3.js → Default.vue_vue_type_script_setup_true_lang-BRVTZ-1Q.js} +2 -2
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DKTYFcWp.js → DynamicWidget.vue_vue_type_script_setup_true_lang-TzcBKr7X.js} +3 -3
  5. package/dist/{InsightView-D--f3-pW.js → InsightView-NRDxXS5U.js} +5 -5
  6. package/dist/{Integration-ksYAaTEL.js → Integration-DBUsQoR5.js} +3 -3
  7. package/dist/{Integrations-B-1-XM7e.js → Integrations-DZI6I4ub.js} +1 -1
  8. package/dist/{Layout-C4LN_UCn.js → Layout-D7kmXstx.js} +1 -1
  9. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-B3GeSJ17.js → LocationSelect.vue_vue_type_script_setup_true_lang-CMlV5upC.js} +2 -2
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-CRCXKFqR.js → MenuTab.vue_vue_type_script_setup_true_lang-Qu5DHicC.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BOeN_d37.js → NavigationTab.vue_vue_type_script_setup_true_lang-kyCqqk9L.js} +3 -3
  12. package/dist/{OverviewView-Cxr6evbQ.js → OverviewView-BupHqLLi.js} +4 -4
  13. package/dist/{Report-CENcCPN3.js → Report-dL5BLDI0.js} +3 -3
  14. package/dist/{ReportEditor-C9xlGtQB.js → ReportEditor-C319jjGg.js} +4 -4
  15. package/dist/{ReportView-CVRJ-zW-.js → ReportView-NecE73EB.js} +6 -6
  16. package/dist/{Setting-CjErDTYk.js → Setting-Za7nt43H.js} +4 -4
  17. package/dist/{TileEditor-CCdfNvYC.js → TileEditor-DeXdXeO8.js} +6 -6
  18. package/dist/{TransitionFade-CJVHPwW2.js → TransitionFade-FRNDa7rV.js} +4 -4
  19. package/dist/app.js +11 -11
  20. package/dist/{global-loader-D0HoIQuN.js → global-loader-BXUq_uOb.js} +1 -1
  21. package/dist/{index-CoXjL8fr.js → index-D5LVkVbJ.js} +1 -1
  22. package/dist/{report-schema-ZDNzst0e.js → report-schema-Bf8XSI6U.js} +1 -1
  23. package/dist/{timeFormat-LsHi_wa0.js → timeFormat-GVzfkgtj.js} +1 -1
  24. package/dist/{v4-Cp79gNIM.js → v4-CDZkk94d.js} +1 -1
  25. package/package.json +1 -1
@@ -1,32 +1,32 @@
1
- import { defineComponent as N, resolveComponent as w, createBlock as U, openBlock as c, unref as u, isRef as H, withCtx as _, createElementVNode as R, createVNode as k, toDisplayString as V, createTextVNode as Q, computed as q, watch as y, onBeforeMount as X, onMounted as j, onBeforeUnmount as z, ref as Y, createElementBlock as S, Fragment as Z } from "vue";
1
+ import { defineComponent as U, resolveComponent as w, createBlock as x, openBlock as c, unref as u, isRef as K, withCtx as _, createElementVNode as V, createVNode as k, toDisplayString as E, createTextVNode as Q, computed as q, watch as y, onBeforeMount as W, onMounted as z, onBeforeUnmount as X, ref as Y, createElementBlock as S, Fragment as Z } from "vue";
2
2
  import { useCoreStore as h } from "@feedmepos/mf-common";
3
- import { u as M, a as ee, b as te, c as oe, d as re, e as ne } from "./global-loader-D0HoIQuN.js";
3
+ import { u as M, a as ee, b as te, c as oe, d as re, e as ne } from "./global-loader-BXUq_uOb.js";
4
4
  import { storeToRefs as b } from "pinia";
5
- import { u as se, a as ae } from "./v4-Cp79gNIM.js";
6
- import { u as ue } from "./report-schema-ZDNzst0e.js";
7
- import { _ as le, u as ie } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BOeN_d37.js";
5
+ import { u as se, a as ae } from "./v4-CDZkk94d.js";
6
+ import { u as ue } from "./report-schema-Bf8XSI6U.js";
7
+ import { _ as le, u as ie } from "./NavigationTab.vue_vue_type_script_setup_true_lang-kyCqqk9L.js";
8
8
  import { u as L } from "./message-dialog-UoMWOnil.js";
9
9
  import { useRoute as ce } from "vue-router";
10
- const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de = /* @__PURE__ */ N({
10
+ const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de = /* @__PURE__ */ U({
11
11
  __name: "Dialog",
12
- setup(x) {
12
+ setup(D) {
13
13
  const o = L(), { isOpened: r, message: l, title: i } = b(L());
14
14
  return (m, n) => {
15
15
  const d = w("FmButton"), f = w("FmDialog");
16
- return c(), U(f, {
16
+ return c(), x(f, {
17
17
  modelValue: u(r),
18
- "onUpdate:modelValue": n[0] || (n[0] = (p) => H(r) ? r.value = p : null),
18
+ "onUpdate:modelValue": n[0] || (n[0] = (p) => K(r) ? r.value = p : null),
19
19
  overlay: "",
20
20
  "close-button": !1
21
21
  }, {
22
22
  "dialog-header": _(() => [
23
- Q(V(u(i)), 1)
23
+ Q(E(u(i)), 1)
24
24
  ]),
25
25
  default: _(() => [
26
- R("p", me, V(u(l)), 1)
26
+ V("p", me, E(u(l)), 1)
27
27
  ]),
28
28
  "dialog-footer": _(() => [
29
- n[1] || (n[1] = R("div", { class: "grow" }, null, -1)),
29
+ n[1] || (n[1] = V("div", { class: "grow" }, null, -1)),
30
30
  k(d, {
31
31
  label: "Cancel",
32
32
  variant: "tertiary",
@@ -41,10 +41,10 @@ const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de
41
41
  }, 8, ["modelValue"]);
42
42
  };
43
43
  }
44
- }), ve = ["src"], fe = ["src"], Ce = /* @__PURE__ */ N({
44
+ }), ve = ["src"], fe = ["src"], Ce = /* @__PURE__ */ U({
45
45
  __name: "App",
46
- setup(x) {
47
- const { businessId: o, token: r, country: l } = b(M()), { sessionUser: i, currentBusiness: m, currentCountry: n, registerSidebarComponent: d } = h(), { getRestaurantAndWarehouse: f, getBusinessSetting: p } = ee(), { getFeatureFlags: D } = te(), { version: s } = b(se()), { getSettings: I } = oe(), a = ce(), { promptLoader: O } = re(), T = q(() => `https://portal-v1.feedmedev.cc/b/${o.value}/report/CLOSE_UP?showHeader=false&country=${l.value.toUpperCase()}&menuOption=business-report&token=${r.value}&v2=true&reportV5Button=true`), A = q(() => `https://report-v4.feedmedev.cc?businessId=${o.value}&country=${l.value}&token=${r.value}&reportV3Button=true`);
46
+ setup(D) {
47
+ const { businessId: o, token: r, country: l } = b(M()), { sessionUser: i, currentBusiness: m, currentCountry: n, registerSidebarComponent: d } = h(), { getRestaurantAndWarehouse: f, getBusinessSetting: p } = ee(), { getFeatureFlags: I } = te(), { version: s } = b(se()), { getSettings: N } = oe(), a = ce(), { promptLoader: O } = re(), T = q(() => `https://portal-v1.feedme.cc/b/${o.value}/report/CLOSE_UP?showHeader=false&country=${l.value.toUpperCase()}&menuOption=business-report&token=${r.value}&v2=true&reportV5Button=true`), A = q(() => `https://report-v4.feedme.cc?businessId=${o.value}&country=${l.value}&token=${r.value}&reportV3Button=true`);
48
48
  y(
49
49
  // if route query pass in the detail we switch accordingly
50
50
  [() => a.query, () => m.value, () => i.value],
@@ -74,37 +74,37 @@ const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de
74
74
  }
75
75
  y(s, () => {
76
76
  ["v3", "v4"].includes(s.value) ? h().hideSidebarToggle(!0) : h().hideSidebarToggle(!1);
77
- }), X(() => {
77
+ }), W(() => {
78
78
  d(le);
79
- }), j(() => {
80
- console.log("5.4.12-beta.1", !0), window.addEventListener("message", C), window.addEventListener("message", $);
79
+ }), z(() => {
80
+ console.log("5.4.13", !0), window.addEventListener("message", C), window.addEventListener("message", $);
81
81
  });
82
82
  const F = ae(), B = ie();
83
- z(() => {
83
+ X(() => {
84
84
  window.removeEventListener("message", C), window.removeEventListener("message", $), F.$dispose(), B.$dispose();
85
85
  });
86
- const { getReports: J, getOverviewReport: W, getReportConfig: E } = F, { getSchema: G } = ue(), { fetchSchedules: K } = B, { init: P } = ne(), g = Y("v5");
86
+ const { getReports: J, getOverviewReport: G, getReportConfig: R } = F, { getSchema: P } = ue(), { fetchSchedules: j } = B, { init: H } = ne(), g = Y("v5");
87
87
  return y(
88
88
  () => o.value,
89
89
  () => {
90
90
  o.value !== "" && O(async () => {
91
- await P({
92
- apiKey: "MaGoXrEWuEJNpWgKTqseee",
91
+ await H({
92
+ apiKey: "6GhcttsJ9Rj9cTevcdrpin",
93
93
  url: "https://flag.feedme.farm/api/v1/",
94
94
  enableAnalytics: !1,
95
95
  cacheFlags: !1
96
96
  });
97
- const t = await E();
97
+ const t = await R();
98
98
  g.value = t.version, s.value = g.value, await Promise.all([
99
- D(),
100
- E(),
101
- W(),
102
- J(),
99
+ I(),
100
+ R(),
103
101
  G(),
104
- K(),
102
+ J(),
103
+ P(),
104
+ j(),
105
105
  p(),
106
106
  f(),
107
- I()
107
+ N()
108
108
  ]);
109
109
  });
110
110
  },
@@ -123,7 +123,7 @@ const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de
123
123
  key: 1,
124
124
  class: "bg-white h-full w-full",
125
125
  src: A.value
126
- }, null, 8, fe)) : (c(), U(v, { key: 2 }))
126
+ }, null, 8, fe)) : (c(), x(v, { key: 2 }))
127
127
  ], 64);
128
128
  };
129
129
  }
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as k, resolveComponent as f, createBlock as s, openBlock as d, withCtx as g, createCommentVNode as D, createElementVNode as _, renderSlot as x, toDisplayString as M, mergeModels as P, useModel as i, ref as h, watch as C, createElementBlock as T, createVNode as p, unref as I } from "vue";
2
- import { f as n, y as O, C as $ } from "./global-loader-D0HoIQuN.js";
3
- import { b as w } from "./index-CoXjL8fr.js";
2
+ import { f as n, y as O, C as $ } from "./global-loader-BXUq_uOb.js";
3
+ import { b as w } from "./index-D5LVkVbJ.js";
4
4
  const B = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, V = /* @__PURE__ */ k({
5
5
  __name: "FilterChip",
6
6
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as s, openBlock as r, normalizeStyle as n, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as k, createElementVNode as x, renderSlot as g } from "vue";
2
- import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BOeN_d37.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-kyCqqk9L.js";
3
3
  import { useBreakpoints as h } from "@feedmepos/ui-library";
4
4
  import { storeToRefs as b } from "pinia";
5
- import { d as w } from "./global-loader-D0HoIQuN.js";
5
+ import { d as w } from "./global-loader-BXUq_uOb.js";
6
6
  import { useRoute as q } from "vue-router";
7
7
  const C = {
8
8
  key: 1,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as E, useModel as z, computed as i, ref as D, resolveComponent as y, createElementBlock as S, openBlock as h, Fragment as W, renderSlot as U, createVNode as k, createElementVNode as C, toDisplayString as K, unref as q, withCtx as $, createBlock as R, createCommentVNode as G, normalizeClass as te, normalizeStyle as ye, h as ve, renderList as we, mergeModels as Ie, watch as ee, onMounted as Pe, onUnmounted as We, resolveDynamicComponent as Ee, withDirectives as ze, vShow as He } from "vue";
2
- import { W as r, v as ae, R as Oe, g as qe, d as Ue, q as je } from "./v4-Cp79gNIM.js";
3
- import { a as _e, u as re } from "./global-loader-D0HoIQuN.js";
4
- import { d as he } from "./index-CoXjL8fr.js";
2
+ import { W as r, v as ae, R as Oe, g as qe, d as Ue, q as je } from "./v4-CDZkk94d.js";
3
+ import { a as _e, u as re } from "./global-loader-BXUq_uOb.js";
4
+ import { d as he } from "./index-D5LVkVbJ.js";
5
5
  import { storeToRefs as se } from "pinia";
6
6
  import { _ as Ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import { _ as ge } from "./NoData.vue_vue_type_script_setup_true_lang-DlBNFLa3.js";
@@ -2,15 +2,15 @@ var Xo = Object.defineProperty;
2
2
  var Ko = (i, t, e) => t in i ? Xo(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var k = (i, t, e) => Ko(i, typeof t != "symbol" ? t + "" : t, e);
4
4
  import { ref as Ht, defineComponent as ne, watch as ai, computed as wt, onMounted as qo, createElementBlock as U, openBlock as z, createElementVNode as R, renderSlot as jn, toDisplayString as ft, resolveDirective as $n, createCommentVNode as Mt, Fragment as Ii, renderList as zi, withDirectives as qe, createVNode as tt, normalizeClass as Ge, resolveComponent as ri, unref as Qt, useModel as Go, createBlock as ue, resolveDynamicComponent as Zo, withCtx as Jt, createTextVNode as Qo, isRef as ki, nextTick as Jo } from "vue";
5
- import { _ as ta } from "./Default.vue_vue_type_script_setup_true_lang-6dgHXUk3.js";
5
+ import { _ as ta } from "./Default.vue_vue_type_script_setup_true_lang-BRVTZ-1Q.js";
6
6
  import { _ as ea } from "./HeaderTab.vue_vue_type_script_setup_true_lang-B5VBDNwX.js";
7
- import { _ as ia } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CpiR4ObD.js";
8
- import { f as Bi, u as Yn, g as Un, F as Xn, a as sa } from "./global-loader-D0HoIQuN.js";
7
+ import { _ as ia } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-D7xFDtWS.js";
8
+ import { f as Bi, u as Yn, g as Un, F as Xn, a as sa } from "./global-loader-BXUq_uOb.js";
9
9
  import { storeToRefs as Kn } from "pinia";
10
- import { c as na } from "./index-CoXjL8fr.js";
10
+ import { c as na } from "./index-D5LVkVbJ.js";
11
11
  import { components as oa, useBreakpoints as aa, useSnackbar as ra } from "@feedmepos/ui-library";
12
12
  import { _ as la } from "./NoData.vue_vue_type_script_setup_true_lang-DlBNFLa3.js";
13
- import { _ as ca } from "./LocationSelect.vue_vue_type_script_setup_true_lang-B3GeSJ17.js";
13
+ import { _ as ca } from "./LocationSelect.vue_vue_type_script_setup_true_lang-CMlV5upC.js";
14
14
  function ha({ start: i, end: t }) {
15
15
  return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
16
16
  }
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as z, mergeModels as ve, useModel as X, computed as Y, resolveComponent as b, createElementBlock as S, openBlock as p, createElementVNode as t, createCommentVNode as E, normalizeClass as Ue, Fragment as H, renderList as Q, createBlock as T, createVNode as n, withCtx as ue, toDisplayString as pe, unref as J, ref as L, watch as me, isRef as ge, h as D, resolveDynamicComponent as ce, onMounted as Te, mergeProps as Ie } from "vue";
2
2
  import { useRouter as ne, useRoute as Pe } from "vue-router";
3
- import { I as oe, f as Ke, c as fe, d as ye, a as se, o as Me, p as Ne, k as Ae, n as xe, q as we, r as _e, s as be, t as $e, A as re, v as Ce, w as Re, x as Be } from "./global-loader-D0HoIQuN.js";
3
+ import { I as oe, f as Ke, c as fe, d as ye, a as se, o as Me, p as Ne, k as Ae, n as xe, q as we, r as _e, s as be, t as $e, A as re, v as Ce, w as Re, x as Be } from "./global-loader-BXUq_uOb.js";
4
4
  import { u as he } from "./message-dialog-UoMWOnil.js";
5
5
  import { useSnackbar as ie } from "@feedmepos/ui-library";
6
6
  import { storeToRefs as Ve } from "pinia";
7
- import { _ as ke } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CpiR4ObD.js";
8
- import { s as je } from "./index-CoXjL8fr.js";
7
+ import { _ as ke } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-D7xFDtWS.js";
8
+ import { s as je } from "./index-D5LVkVbJ.js";
9
9
  const Le = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, Oe = {
10
10
  key: 0,
11
11
  class: "w-[50%]"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as P, mergeModels as W, useModel as U, computed as R, resolveComponent as v, createBlock as h, unref as x, openBlock as w, withCtx as k, createElementVNode as r, createVNode as s, createTextVNode as j, ref as T, createElementBlock as z, Fragment as Y, h as c } from "vue";
2
2
  import { useRouter as J, useRoute as Q } from "vue-router";
3
- import { I as q, c as D, d as X, m as $, n as Z } from "./global-loader-D0HoIQuN.js";
3
+ import { I as q, c as D, d as X, m as $, n as Z } from "./global-loader-BXUq_uOb.js";
4
4
  import { useBreakpoints as E, useSnackbar as ee, components as oe, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
5
5
  import { _ as ae } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DBI9op0g.js";
6
6
  import { storeToRefs as G } from "pinia";
@@ -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-6dgHXUk3.js";
2
+ import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-BRVTZ-1Q.js";
3
3
  const f = /* @__PURE__ */ o({
4
4
  __name: "Layout",
5
5
  setup(m) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as xt, mergeModels as nu, useModel as Ks, ref as _e, createElementBlock as ce, onMounted as ry, openBlock as F, Fragment as Ve, createBlock as le, createCommentVNode as Ze, unref as jt, computed as yt, watch as Dn, resolveComponent as W, createElementVNode as ae, createVNode as P, renderList as bt, withCtx as Oe, toDisplayString as fr, renderSlot as Gs, mergeProps as ay, normalizeClass as iy, withDirectives as uy, vShow as oy, withModifiers as sy, nextTick as ly } from "vue";
2
- import { a as cy } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CpiR4ObD.js";
3
- import { a as fy } from "./global-loader-D0HoIQuN.js";
2
+ import { a as cy } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-D7xFDtWS.js";
3
+ import { a as fy } from "./global-loader-BXUq_uOb.js";
4
4
  import { useBreakpoints as Hs, useDialog as dy, useDialogChild as py } from "@feedmepos/ui-library";
5
5
  const hy = { class: "px-8" }, vy = { class: "max-h-[160px] overflow-y-auto" }, my = /* @__PURE__ */ xt({
6
6
  __name: "FilterEntry",
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as D, mergeModels as K, useModel as z, ref as T, resolveComponent as i, createBlock as R, openBlock as d, withCtx as _, createElementVNode as u, createVNode as m, createElementBlock as $, createCommentVNode as w, Fragment as C, renderList as E, createTextVNode as Q, withDirectives as W, toDisplayString as x, vShow as X, unref as l, isRef as V, normalizeClass as B } from "vue";
2
- import { f as k, a as J } from "./global-loader-D0HoIQuN.js";
2
+ import { f as k, a as J } from "./global-loader-BXUq_uOb.js";
3
3
  import { storeToRefs as j } from "pinia";
4
- import { _ as Y } from "./LocationSelect.vue_vue_type_script_setup_true_lang-B3GeSJ17.js";
5
- import { a as Z, _ as ee } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CpiR4ObD.js";
6
- import { t as P, s as te } from "./timeFormat-LsHi_wa0.js";
4
+ import { _ as Y } from "./LocationSelect.vue_vue_type_script_setup_true_lang-CMlV5upC.js";
5
+ import { a as Z, _ as ee } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-D7xFDtWS.js";
6
+ import { t as P, s as te } from "./timeFormat-GVzfkgtj.js";
7
7
  import { useBreakpoints as oe } from "@feedmepos/ui-library";
8
8
  const ne = { class: "px-24 py-16 rounded-lg shadow-light-300" }, le = { class: "text-fm-color-typo-primary" }, ae = { class: "text-fm-color-typo-secondary" }, me = { class: "flex items-center justify-center w-full" }, re = { class: "flex items-center justify-center" }, se = { class: "flex flex-row mb-4 px-4 gap-2" }, ue = "HH:mm", ie = /* @__PURE__ */ D({
9
9
  __name: "TimeRangeSelect",
@@ -4,10 +4,10 @@ var $a = (e, t, r) => Nl(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { defineComponent as Yr, computed as wr, useModel as $t, ref as Ve, watch as sn, resolveComponent as pe, createBlock as rr, unref as xe, openBlock as De, withCtx as Te, createElementVNode as ye, createVNode as se, withDirectives as Ea, createElementBlock as gr, Fragment as Ct, renderList as bt, toDisplayString as ba, vShow as Sa, createTextVNode as Dt, mergeModels as Da, createCommentVNode as Vt, normalizeClass as na, withModifiers as Pl, resolveDynamicComponent as Li, isRef as On, createSlots as Ll } from "vue";
5
5
  import { useRouter as Js, useRoute as qs } from "vue-router";
6
6
  import { storeToRefs as Lr, defineStore as Zs } from "pinia";
7
- import { a as Na, R as D0, g as Qs, v as Bl, d as Ml, u as Ul } from "./v4-Cp79gNIM.js";
7
+ import { a as Na, R as D0, g as Qs, v as Bl, d as Ml, u as Ul } from "./v4-CDZkk94d.js";
8
8
  import { useBreakpoints as wn, components as ia, useSnackbar as kn, FmButtonVariant as Bi } from "@feedmepos/ui-library";
9
- import { h as Vl, i as Wl, u as pt, g as vt, F as gt, f as Pe, a as a0, j as Pa, k as Hl, c as Xl, l as za } from "./global-loader-D0HoIQuN.js";
10
- import { C as st, g as Gl, a as ef, p as $l } from "./index-CoXjL8fr.js";
9
+ import { h as Vl, i as Wl, u as pt, g as vt, F as gt, f as Pe, a as a0, j as Pa, k as Hl, c as Xl, l as za } from "./global-loader-BXUq_uOb.js";
10
+ import { C as st, g as Gl, a as ef, p as $l } from "./index-D5LVkVbJ.js";
11
11
  import { _ as zl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
12
12
  import { _ as Yl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  const Kl = { class: "grow" }, jl = { class: "flex flex-col gap-8" }, Jl = { class: "flex flex-col w-full" }, ql = { class: "flex flex-col gap-5 p-6" }, Zl = { class: "flex" }, Mi = {
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as x, computed as g, resolveComponent as k, createBlock as l, openBlock as t, withCtx as w, createVNode as c, createElementVNode as $, unref as e, normalizeStyle as y, normalizeClass as d, createElementBlock as u, Fragment as C, renderList as h } from "vue";
2
2
  import { useBreakpoints as B } from "@feedmepos/ui-library";
3
- import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DKTYFcWp.js";
4
- import { _ as D } from "./Default.vue_vue_type_script_setup_true_lang-6dgHXUk3.js";
5
- import { a as F } from "./v4-Cp79gNIM.js";
3
+ import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-TzcBKr7X.js";
4
+ import { _ as D } from "./Default.vue_vue_type_script_setup_true_lang-BRVTZ-1Q.js";
5
+ import { a as F } from "./v4-CDZkk94d.js";
6
6
  import { storeToRefs as P } from "pinia";
7
7
  import { _ as R } from "./NoData.vue_vue_type_script_setup_true_lang-DlBNFLa3.js";
8
- import { _ as S } from "./MenuTab.vue_vue_type_script_setup_true_lang-CRCXKFqR.js";
8
+ import { _ as S } from "./MenuTab.vue_vue_type_script_setup_true_lang-Qu5DHicC.js";
9
9
  const q = /* @__PURE__ */ x({
10
10
  __name: "OverviewView",
11
11
  setup(V) {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as re, ref as N, watch as H, computed as k, resolveComponent as x, createBlock as P, openBlock as $, withCtx as i, createVNode as n, createElementVNode as y, normalizeStyle as se, normalizeClass as _, unref as l, withDirectives as z, createElementBlock as ie, Fragment as ce, renderList as ue, toDisplayString as O, h as p, createTextVNode as me, vShow as T, withModifiers as de } from "vue";
2
2
  import { storeToRefs as Q } from "pinia";
3
- import { a as pe } from "./v4-Cp79gNIM.js";
4
- import { _ as fe } from "./Default.vue_vue_type_script_setup_true_lang-6dgHXUk3.js";
3
+ import { a as pe } from "./v4-CDZkk94d.js";
4
+ import { _ as fe } from "./Default.vue_vue_type_script_setup_true_lang-BRVTZ-1Q.js";
5
5
  import { u as ve } from "./message-dialog-UoMWOnil.js";
6
- import { a as ye, d as be } from "./global-loader-D0HoIQuN.js";
6
+ import { a as ye, d as be } from "./global-loader-BXUq_uOb.js";
7
7
  import { useSnackbar as ge, useBreakpoints as Ce, components as xe, FmButtonColorThemeVariant as _e } from "@feedmepos/ui-library";
8
8
  import { _ as he } from "./NoData.vue_vue_type_script_setup_true_lang-DlBNFLa3.js";
9
9
  import { useRouter as ke, useRoute as we, onBeforeRouteLeave as Ie } from "vue-router";
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as h, mergeModels as w, useModel as R, ref as N, computed as U, resolveComponent as m, createBlock as y, openBlock as r, withCtx as u, createElementVNode as _, createVNode as t, normalizeClass as D, unref as l, createTextVNode as pe, createElementBlock as F, Fragment as B, renderSlot as A, createCommentVNode as O, watch as ce, resolveDynamicComponent as G, isRef as Y, toDisplayString as L, renderList as z, onMounted as fe, normalizeStyle as ve } from "vue";
2
- import { W as ge, i as _e, S as ye, d as Ce, T as be, _ as Ve } from "./TransitionFade-CJVHPwW2.js";
3
- import { a as j, v as K } from "./v4-Cp79gNIM.js";
2
+ import { W as ge, i as _e, S as ye, d as Ce, T as be, _ as Ve } from "./TransitionFade-FRNDa7rV.js";
3
+ import { a as j, v as K } from "./v4-CDZkk94d.js";
4
4
  import { _ as ke } from "./HeaderTab.vue_vue_type_script_setup_true_lang-B5VBDNwX.js";
5
5
  import { storeToRefs as Q } from "pinia";
6
6
  import { useRouter as X, useRoute as Z } from "vue-router";
7
7
  import { useBreakpoints as I, FmButtonColorThemeVariant as q, useSnackbar as Fe } from "@feedmepos/ui-library";
8
8
  import { u as ee } from "./message-dialog-UoMWOnil.js";
9
- import { _ as oe } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DKTYFcWp.js";
9
+ import { _ as oe } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-TzcBKr7X.js";
10
10
  import { _ as te } from "./NoData.vue_vue_type_script_setup_true_lang-DlBNFLa3.js";
11
- import { d as xe } from "./global-loader-D0HoIQuN.js";
11
+ import { d as xe } from "./global-loader-BXUq_uOb.js";
12
12
  const we = /* @__PURE__ */ h({
13
13
  __name: "WidgetDialog",
14
14
  props: /* @__PURE__ */ w({
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as F, computed as f, resolveComponent as J, createBlock as v, openBlock as s, withCtx as L, createVNode as x, createElementVNode as T, unref as t, normalizeStyle as V, normalizeClass as w, createElementBlock as S, Fragment as z, renderList as H } from "vue";
2
2
  import { useSnackbar as M, useBreakpoints as Y } from "@feedmepos/ui-library";
3
- import { _ as G } from "./MenuTab.vue_vue_type_script_setup_true_lang-CRCXKFqR.js";
4
- import { _ as Q } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DKTYFcWp.js";
3
+ import { _ as G } from "./MenuTab.vue_vue_type_script_setup_true_lang-Qu5DHicC.js";
4
+ import { _ as Q } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-TzcBKr7X.js";
5
5
  import { useRouter as U, useRoute as W } from "vue-router";
6
- import { _ as j } from "./Default.vue_vue_type_script_setup_true_lang-6dgHXUk3.js";
7
- import { a as K } from "./v4-Cp79gNIM.js";
6
+ import { _ as j } from "./Default.vue_vue_type_script_setup_true_lang-BRVTZ-1Q.js";
7
+ import { a as K } from "./v4-CDZkk94d.js";
8
8
  import { storeToRefs as c } from "pinia";
9
- import { a as X, u as Z } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BOeN_d37.js";
9
+ import { a as X, u as Z } from "./NavigationTab.vue_vue_type_script_setup_true_lang-kyCqqk9L.js";
10
10
  import { _ as ee } from "./NoData.vue_vue_type_script_setup_true_lang-DlBNFLa3.js";
11
- import { d as oe, c as te } from "./global-loader-D0HoIQuN.js";
11
+ import { d as oe, c as te } from "./global-loader-BXUq_uOb.js";
12
12
  import { u as re } from "./message-dialog-UoMWOnil.js";
13
13
  const ye = /* @__PURE__ */ F({
14
14
  __name: "ReportView",
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as $, ref as F, useModel as P, resolveComponent as C, createElementBlock as S, openBlock as y, createBlock as U, createElementVNode as l, resolveDynamicComponent as ne, unref as e, withCtx as v, createVNode as n, normalizeClass as h, Fragment as L, renderList as Y, withDirectives as B, createTextVNode as G, toDisplayString as g, vShow as M, watch as re, normalizeStyle as ie } from "vue";
2
2
  import { _ as me } from "./HeaderTab.vue_vue_type_script_setup_true_lang-B5VBDNwX.js";
3
- import { _ as ue } from "./Default.vue_vue_type_script_setup_true_lang-6dgHXUk3.js";
4
- import { f as H, C as J, D as de, a as pe } from "./global-loader-D0HoIQuN.js";
3
+ import { _ as ue } from "./Default.vue_vue_type_script_setup_true_lang-BRVTZ-1Q.js";
4
+ import { f as H, C as J, D as de, a as pe } from "./global-loader-BXUq_uOb.js";
5
5
  import { components as q, useSnackbar as I, useBreakpoints as K, FmButtonColorThemeVariant as z } from "@feedmepos/ui-library";
6
- import { t as w, s as fe } from "./timeFormat-LsHi_wa0.js";
6
+ import { t as w, s as fe } from "./timeFormat-GVzfkgtj.js";
7
7
  import { u as ce } from "./message-dialog-UoMWOnil.js";
8
- import { c as Q } from "./index-CoXjL8fr.js";
8
+ import { c as Q } from "./index-D5LVkVbJ.js";
9
9
  import { _ as W } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DBI9op0g.js";
10
10
  import { storeToRefs as ve } from "pinia";
11
11
  const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "w-full gap-[24px] flex flex-col pt-2" }, xe = { class: "flex items-center w-full gap-3" }, Ce = { class: "text-fm-color-typo-primary" }, Ve = { class: "text-fm-color-typo-secondary" }, be = { class: "flex items-center gap-2" }, De = /* @__PURE__ */ $({
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as P, mergeModels as H, useModel as z, computed as N, ref as j, resolveComponent as f, createElementBlock as $, openBlock as d, createVNode as s, createElementVNode as F, withCtx as w, Fragment as G, renderList as ue, toDisplayString as X, withModifiers as Z, unref as T, createTextVNode as oe, watch as ie, createCommentVNode as x, createBlock as V, renderSlot as we, resolveDynamicComponent as xe, normalizeClass as Ce, onMounted as Oe, normalizeStyle as $e, isRef as Ie } from "vue";
2
2
  import { useRoute as Le, useRouter as Me } from "vue-router";
3
- import { h as Be, d as re, S as pe, W as Re, a as Ae, T as je, _ as Ee } from "./TransitionFade-CJVHPwW2.js";
3
+ import { h as Be, d as re, S as pe, W as Re, a as Ae, T as je, _ as Ee } from "./TransitionFade-FRNDa7rV.js";
4
4
  import { _ as qe } from "./HeaderTab.vue_vue_type_script_setup_true_lang-B5VBDNwX.js";
5
- import { W as C, a as Je } from "./v4-Cp79gNIM.js";
5
+ import { W as C, a as Je } from "./v4-CDZkk94d.js";
6
6
  import { storeToRefs as ye } from "pinia";
7
7
  import { u as he } from "./message-dialog-UoMWOnil.js";
8
- import { c as Fe, d as Te, p as He } from "./index-CoXjL8fr.js";
8
+ import { c as Fe, d as Te, p as He } from "./index-D5LVkVbJ.js";
9
9
  import { useSnackbar as Pe, useBreakpoints as Se, FmButtonColorThemeVariant as se } from "@feedmepos/ui-library";
10
- import { u as _e } from "./report-schema-ZDNzst0e.js";
10
+ import { u as _e } from "./report-schema-Bf8XSI6U.js";
11
11
  import { _ as ne } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
12
12
  import { _ as q } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DBI9op0g.js";
13
- import { g as me, _ as De } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DKTYFcWp.js";
14
- import { f as de } from "./global-loader-D0HoIQuN.js";
13
+ import { g as me, _ as De } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-TzcBKr7X.js";
14
+ import { f as de } from "./global-loader-BXUq_uOb.js";
15
15
  import { _ as Ne } from "./NoData.vue_vue_type_script_setup_true_lang-DlBNFLa3.js";
16
16
  var le = /* @__PURE__ */ ((u) => (u.DateTime = "DATE_TIME", u.Hour = "HOUR", u.Day = "DAY", u.Week = "WEEK", u.Month = "MONTH", u.TimeOfDay = "TIME_OF_DAY", u.HourOfDay = "HOUR_OF_DAY", u.DayOfWeek = "DAY_OF_WEEK", u.DayOfMonth = "DAY_OF_MONTH", u.MonthOfYear = "MONTH_OF_YEAR", u.Year = "YEAR", u))(le || {}), ve = /* @__PURE__ */ ((u) => (u.Asc = "ASC", u.Desc = "DESC", u))(ve || {}), Q = /* @__PURE__ */ ((u) => (u.Equal = "EQUAL", u.NotEqual = "NOT_EQUAL", u.GreaterThan = "GREATER_THAN", u.LessThan = "LESS_THAN", u.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", u.LessThanOrEqual = "LESS_THAN_OR_EQUAL", u.Between = "BETWEEN", u.Like = "LIKE", u.NotLike = "NOT_LIKE", u.And = "AND", u.Or = "OR", u))(Q || {}), ae = /* @__PURE__ */ ((u) => (u.String = "STRING", u.Timestamp = "TIMESTAMP", u.Bool = "BOOL", u.Numeric = "NUMERIC", u))(ae || {});
17
17
  const Ve = [
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as Ne, onBeforeMount as sn, onBeforeUnmount as un, resolveComponent as ge, createElementBlock as ce, openBlock as ne, normalizeStyle as cn, unref as Xe, renderSlot as Pe, createVNode as ue, createElementVNode as Lt, TransitionGroup as dn, nextTick as Rt, h as St, mergeModels as fn, useModel as Bt, Fragment as vt, renderList as hn, createBlock as pn, normalizeClass as mn, withCtx as ze, createTextVNode as gn, toDisplayString as vn, ref as bn, Transition as ct, createCommentVNode as dt } from "vue";
2
- import { d as _n } from "./global-loader-D0HoIQuN.js";
2
+ import { d as _n } from "./global-loader-BXUq_uOb.js";
3
3
  import { useCoreStore as yn } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as wn } from "pinia";
5
5
  import { useRoute as En } from "vue-router";
6
- import { W as x } from "./v4-Cp79gNIM.js";
7
- import { p as Sn } from "./index-CoXjL8fr.js";
6
+ import { W as x } from "./v4-CDZkk94d.js";
7
+ import { p as Sn } from "./index-D5LVkVbJ.js";
8
8
  import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { R as Dn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DKTYFcWp.js";
9
+ import { R as Dn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-TzcBKr7X.js";
10
10
  const Cn = {
11
11
  key: 0,
12
12
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
package/dist/app.js CHANGED
@@ -13,51 +13,51 @@ const r = {
13
13
  path: "/overview",
14
14
  alias: ["/"],
15
15
  name: "overview",
16
- component: () => import("./OverviewView-Cxr6evbQ.js")
16
+ component: () => import("./OverviewView-BupHqLLi.js")
17
17
  },
18
18
  {
19
19
  path: "/report",
20
20
  name: "reports",
21
- component: () => import("./Report-CENcCPN3.js")
21
+ component: () => import("./Report-dL5BLDI0.js")
22
22
  },
23
23
  {
24
24
  path: "/insights",
25
25
  name: "insights",
26
- component: () => import("./InsightView-D--f3-pW.js")
26
+ component: () => import("./InsightView-NRDxXS5U.js")
27
27
  },
28
28
  {
29
29
  path: "/report-view",
30
30
  name: "reportView",
31
- component: () => import("./ReportView-CVRJ-zW-.js")
31
+ component: () => import("./ReportView-NecE73EB.js")
32
32
  },
33
33
  {
34
34
  path: "/report-editor",
35
35
  name: "reportEditor",
36
- component: () => import("./ReportEditor-C9xlGtQB.js")
36
+ component: () => import("./ReportEditor-C319jjGg.js")
37
37
  },
38
38
  {
39
39
  path: "/report-editor/tile-editor",
40
40
  name: "tileEditor",
41
- component: () => import("./TileEditor-CCdfNvYC.js")
41
+ component: () => import("./TileEditor-DeXdXeO8.js")
42
42
  },
43
43
  {
44
44
  path: "/setting",
45
45
  name: "setting",
46
- component: () => import("./Setting-CjErDTYk.js")
46
+ component: () => import("./Setting-Za7nt43H.js")
47
47
  },
48
48
  {
49
49
  path: "/integration",
50
- component: () => import("./Layout-C4LN_UCn.js"),
50
+ component: () => import("./Layout-D7kmXstx.js"),
51
51
  children: [
52
52
  {
53
53
  name: "integrations",
54
54
  path: "",
55
- component: () => import("./Integrations-B-1-XM7e.js")
55
+ component: () => import("./Integrations-DZI6I4ub.js")
56
56
  },
57
57
  {
58
58
  name: "integration",
59
59
  path: "/integration/:id",
60
- component: () => import("./Integration-ksYAaTEL.js")
60
+ component: () => import("./Integration-DBUsQoR5.js")
61
61
  }
62
62
  ]
63
63
  },
@@ -79,7 +79,7 @@ o({
79
79
  const c = {
80
80
  "en-US": n,
81
81
  "zh-CN": i
82
- }, h = t(() => import("./App-BfiD9wmy.js"));
82
+ }, h = t(() => import("./App-fwdY-VgU.js"));
83
83
  export {
84
84
  h as FmApp,
85
85
  c as i18nMessages,
@@ -1712,7 +1712,7 @@ const {
1712
1712
  getAdapter: qs,
1713
1713
  mergeConfig: xs
1714
1714
  } = Z;
1715
- var Jt = { myQueryEngineBackendUrl: "https://query-engine-dev.feedmeapi.com", idQueryEngineBackendUrl: "https://query-engine.id.feedmeapi.dev", sgQueryEngineBackendUrl: "https://query-engine.sg.feedmeapi.dev" }, W = /* @__PURE__ */ ((t) => (t.Get = "get", t.Post = "post", t.Put = "put", t.Delete = "delete", t))(W || {});
1715
+ var Jt = { myQueryEngineBackendUrl: "https://query-engine.feedmeapi.com", idQueryEngineBackendUrl: "https://query-engine.id.feedmeapi.com", sgQueryEngineBackendUrl: "https://query-engine.sg.feedmeapi.com" }, W = /* @__PURE__ */ ((t) => (t.Get = "get", t.Post = "post", t.Put = "put", t.Delete = "delete", t))(W || {});
1716
1716
  class Fi extends Error {
1717
1717
  constructor(n, r) {
1718
1718
  super(n);
@@ -1,4 +1,4 @@
1
- import { f } from "./global-loader-D0HoIQuN.js";
1
+ import { f } from "./global-loader-BXUq_uOb.js";
2
2
  var n = /* @__PURE__ */ ((r) => (r.Year = "YEAR", r.Month = "MONTH", r.Week = "WEEK", r.Day = "DAY", r))(n || {});
3
3
  function g(r, e = 100, a = !1) {
4
4
  let t = null;
@@ -1,4 +1,4 @@
1
- import { F as c, g as s } from "./global-loader-D0HoIQuN.js";
1
+ import { F as c, g as s } from "./global-loader-BXUq_uOb.js";
2
2
  import { defineStore as a } from "pinia";
3
3
  import { ref as n } from "vue";
4
4
  import { useSnackbar as m } from "@feedmepos/ui-library";
@@ -1,4 +1,4 @@
1
- import { f as s } from "./global-loader-D0HoIQuN.js";
1
+ import { f as s } from "./global-loader-BXUq_uOb.js";
2
2
  const u = (t) => s().set("hour", t.hour).set("minute", t.minute).format("h:mm A"), m = (t, e) => {
3
3
  const o = s().set("hour", t.hour).set("minute", t.minute);
4
4
  return s().set("hour", e.hour).set("minute", e.minute) < o ? "+1" : "";
@@ -1,4 +1,4 @@
1
- import { i as xe, u as re, F as ie, g as Z, a as ve, b as ke, l as Ge, f as fe, c as Ve, j as We } from "./global-loader-D0HoIQuN.js";
1
+ import { i as xe, u as re, F as ie, g as Z, a as ve, b as ke, l as Ge, f as fe, c as Ve, j as We } from "./global-loader-BXUq_uOb.js";
2
2
  import { storeToRefs as K, defineStore as He } from "pinia";
3
3
  import { ref as z, computed as Ae, h as Ye, watch as je } from "vue";
4
4
  import { useSnackbar as ze, components as Ke } from "@feedmepos/ui-library";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-report",
3
- "version": "5.4.12-beta.1",
3
+ "version": "5.4.13",
4
4
  "files": [
5
5
  "dist"
6
6
  ],