@feedmepos/mf-report 5.18.0-beta.0 → 5.18.2-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.
Files changed (18) hide show
  1. package/dist/App-Cts_hjbs.js +157 -0
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js → BaseDialog.vue_vue_type_script_setup_true_lang-BrHd550j.js} +273 -272
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-BX_Bz8I8.js → Default.vue_vue_type_script_setup_true_lang-4V19EFBP.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CNRtuVTK.js → DynamicWidget.vue_vue_type_script_setup_true_lang-B75aeM0i.js} +1 -1
  5. package/dist/{InsightView-DV6Nvi6h.js → InsightView-DCIgjpGL.js} +2 -2
  6. package/dist/{Layout-CTUQOBlj.js → Layout-Dco__bZI.js} +1 -1
  7. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DAFwqfMp.js → MenuTab.vue_vue_type_script_setup_true_lang-BJM6sKQU.js} +2 -2
  8. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BDA9wTdJ.js → NavigationTab.vue_vue_type_script_setup_true_lang-4v9iLIA2.js} +1 -1
  9. package/dist/{OverviewView-BdkNW-E-.js → OverviewView-CUPsimnH.js} +4 -4
  10. package/dist/{Report-YAviXRm9.js → Report-BljRc1xi.js} +2 -2
  11. package/dist/{ReportEditor-CMqGCf9p.js → ReportEditor-DgAWdCZe.js} +3 -3
  12. package/dist/{ReportView-CyTt0xju.js → ReportView-CMRcpoTz.js} +5 -5
  13. package/dist/{Setting-CxGy_k2J.js → Setting-BciZnr8l.js} +2 -2
  14. package/dist/{TileEditor-BxXlzNXM.js → TileEditor-DgawblCV.js} +3 -3
  15. package/dist/{TransitionFade-C0ttcU9I.js → TransitionFade-1tV8-j1Z.js} +2 -2
  16. package/dist/app.js +9 -9
  17. package/package.json +1 -1
  18. package/dist/App-C9I2NljG.js +0 -152
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as f, resolveComponent as p, 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-BDA9wTdJ.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-4v9iLIA2.js";
3
3
  import { useBreakpoints as b } from "@feedmepos/ui-library";
4
4
  import { storeToRefs as C } from "pinia";
5
5
  import { u as q, f as w } from "./vue-i18n-CTLGxUiF.js";
@@ -1,5 +1,5 @@
1
1
  import { computed as y, defineComponent as ee, mergeModels as me, useModel as te, ref as h, onMounted as ke, nextTick as X, watch as J, resolveComponent as V, createElementBlock as N, openBlock as W, Fragment as oe, renderSlot as pe, createVNode as B, normalizeStyle as ne, unref as l, createElementVNode as P, toDisplayString as Le, withCtx as q, createBlock as U, createCommentVNode as he, normalizeClass as Pe, h as bt, renderList as kt, createTextVNode as Qt, onUnmounted as ea, resolveDynamicComponent as ta, withDirectives as aa, vShow as la } from "vue";
2
- import { W as F, d as Ee, v as $e, e as Ye, f as _t, q as oa, R as xe, g as na } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
2
+ import { W as F, d as Ee, v as $e, e as Ye, f as _t, q as oa, R as xe, g as na } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BrHd550j.js";
3
3
  import { u as Me, b as at, a as lt } from "./vue-i18n-CTLGxUiF.js";
4
4
  import { a as wt } from "./helper-UCnMF9KV.js";
5
5
  import { storeToRefs as ze, defineStore as sa } from "pinia";
@@ -2,13 +2,13 @@ var Zo = Object.defineProperty;
2
2
  var Jo = (i, t, e) => t in i ? Zo(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var k = (i, t, e) => Jo(i, typeof t != "symbol" ? t + "" : t, e);
4
4
  import { ref as $t, defineComponent as oe, watch as ri, computed as _t, onMounted as Qo, createElementBlock as U, openBlock as I, createElementVNode as R, renderSlot as Un, toDisplayString as lt, resolveDirective as Xn, createCommentVNode as St, Fragment as Ii, renderList as zi, createBlock as Ht, withDirectives as Ge, resolveDynamicComponent as es, unref as G, withCtx as Yt, createVNode as et, normalizeClass as Ze, resolveComponent as Me, useModel as ta, createTextVNode as ea, isRef as ki, nextTick as ia } from "vue";
5
- import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-BX_Bz8I8.js";
5
+ import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-4V19EFBP.js";
6
6
  import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-uiSe3Jon.js";
7
7
  import { d as Bi, a as Kn, q as qn, F as Gn, u as Zn, h as ys, b as oa } from "./vue-i18n-CTLGxUiF.js";
8
8
  import { storeToRefs as Jn } from "pinia";
9
9
  import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
10
10
  import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js";
11
- import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BDA9wTdJ.js";
11
+ import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-4v9iLIA2.js";
12
12
  import { useCoreStore as ha } from "@feedmepos/mf-common";
13
13
  function da({ start: i, end: t }) {
14
14
  return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
@@ -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-BX_Bz8I8.js";
2
+ import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-4V19EFBP.js";
3
3
  const f = /* @__PURE__ */ o({
4
4
  __name: "Layout",
5
5
  setup(m) {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as R, computed as j, ref as oe, watch as q, resolveComponent as b, createElementBlock as f, openBlock as u, renderSlot as re, Fragment as D, renderList as U, createBlock as g, unref as r, withCtx as C, createElementVNode as L, createCommentVNode as N, createVNode as p, isRef as S, useModel as ue, normalizeClass as z, toDisplayString as ie } from "vue";
2
2
  import { u as me, b as H, d as E, i as de } from "./vue-i18n-CTLGxUiF.js";
3
3
  import { storeToRefs as T } from "pinia";
4
- import { a as pe, d as ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BDA9wTdJ.js";
4
+ import { a as pe, d as ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-4v9iLIA2.js";
5
5
  import { _ as J, a as fe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-uiSe3Jon.js";
6
- import { a as ve, b as be, D as w, q as _e, W as Y, S as ye } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
6
+ import { a as ve, b as be, D as w, q as _e, W as Y, S as ye } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BrHd550j.js";
7
7
  import { _ as he } from "./NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js";
8
8
  import { d as ge } from "./helper-UCnMF9KV.js";
9
9
  import { detectLocale as Fe } from "@feedmepos/mf-common";
@@ -4,7 +4,7 @@ var As = (e, r, t) => M9(e, typeof r != "symbol" ? r + "" : r, t);
4
4
  import { defineComponent as jt, computed as pt, useModel as Ea, ref as De, watch as Rr, resolveComponent as de, createBlock as Ge, unref as H, openBlock as ne, withCtx as Be, createElementVNode as ee, createVNode as J, toDisplayString as Ye, withDirectives as bn, createElementBlock as Oe, Fragment as ft, renderList as Ot, vShow as d0, createTextVNode as Or, mergeModels as kn, createCommentVNode as lt, normalizeClass as Un, onMounted as su, withKeys as jh, withModifiers as R0, isRef as Xn, vModelText as Uh, normalizeStyle as Zh, renderSlot as Yh, mergeProps as R9, nextTick as X9, resolveDynamicComponent as kd, createSlots as z9 } from "vue";
5
5
  import { useRouter as Gh, useRoute as Qh } from "vue-router";
6
6
  import { storeToRefs as mr, defineStore as lu } from "pinia";
7
- import { a as Hi, h as Td, i as H9, R as nn, g as ou, e as ko, j as fu, _ as q9, v as W9, f as j9, r as U9, k as xn, s as Z9, u as Y9 } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
7
+ import { a as Hi, h as Td, i as H9, R as nn, g as ou, e as ko, j as fu, _ as q9, v as W9, f as j9, r as U9, k as xn, s as Z9, u as Y9 } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BrHd550j.js";
8
8
  import { useBreakpoints as nl, components as h0, useSnackbar as $0, useDialog as G9, useDialogChild as Q9, FmButtonVariant as Ed } from "@feedmepos/ui-library";
9
9
  import { u as Pa, j as cu, k as il, a as Ua, F as Za, r as sl, d as $e, b as w0, l as qi, q as ll, m as K9, n as J9, e as _9, o as ps, t as Kh, v as $9, p as e6 } from "./vue-i18n-CTLGxUiF.js";
10
10
  import { _ as Fd, a as t6 } from "./SelectComponent.vue_vue_type_script_setup_true_lang-mR2PeX3S.js";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as g, computed as w, resolveComponent as k, createBlock as a, openBlock as t, withCtx as $, createVNode as d, createElementVNode as y, unref as e, normalizeStyle as C, normalizeClass as u, createElementBlock as _, Fragment as h, renderList as B } from "vue";
2
- import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CNRtuVTK.js";
3
- import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-BX_Bz8I8.js";
4
- import { a as P } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
2
+ import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B75aeM0i.js";
3
+ import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-4V19EFBP.js";
4
+ import { a as P } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BrHd550j.js";
5
5
  import { storeToRefs as R } from "pinia";
6
6
  import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js";
7
7
  import { useBreakpoints as V } from "@feedmepos/ui-library";
8
- import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-DAFwqfMp.js";
8
+ import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-BJM6sKQU.js";
9
9
  import { useI18n as D } from "@feedmepos/mf-common";
10
10
  const G = /* @__PURE__ */ g({
11
11
  __name: "OverviewView",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ye, ref as B, watch as oe, computed as C, h as g, withModifiers as be, resolveComponent as _, createBlock as E, openBlock as O, withCtx as i, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as he, normalizeClass as S, withDirectives as M, createElementBlock as xe, Fragment as Ce, renderList as _e, toDisplayString as V, createTextVNode as Se, vShow as q } from "vue";
2
2
  import { storeToRefs as ae } from "pinia";
3
- import { a as ke } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
4
- import { _ as Ie } from "./Default.vue_vue_type_script_setup_true_lang-BX_Bz8I8.js";
3
+ import { a as ke } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BrHd550j.js";
4
+ import { _ as Ie } from "./Default.vue_vue_type_script_setup_true_lang-4V19EFBP.js";
5
5
  import { u as we } from "./message-dialog-UoMWOnil.js";
6
6
  import { b as re, f as $e } from "./vue-i18n-CTLGxUiF.js";
7
7
  import { useSnackbar as Re, useBreakpoints as De, components as Fe, FmButtonColorThemeVariant as Le } from "@feedmepos/ui-library";
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as G, mergeModels as L, useModel as j, ref as q, computed as U, resolveComponent as f, createBlock as $, openBlock as i, withCtx as s, createElementVNode as w, createVNode as t, unref as l, normalizeClass as oe, createTextVNode as ce, toDisplayString as P, createElementBlock as S, Fragment as J, renderSlot as Ce, createCommentVNode as Q, watch as pe, renderList as X, resolveDynamicComponent as Ue, isRef as ke, normalizeStyle as ve, onMounted as Be } from "vue";
2
- import { W as De, _ as We, i as Ie, S as ye, d as _e, T as Re, a as qe } from "./TransitionFade-C0ttcU9I.js";
3
- import { c as Pe, D as le, C as we, a as Ve, b as Ee, v as te } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
2
+ import { W as De, _ as We, i as Ie, S as ye, d as _e, T as Re, a as qe } from "./TransitionFade-1tV8-j1Z.js";
3
+ import { c as Pe, D as le, C as we, a as Ve, b as Ee, v as te } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BrHd550j.js";
4
4
  import { storeToRefs as fe } from "pinia";
5
5
  import { useRouter as Se, useRoute as $e } from "vue-router";
6
6
  import { useBreakpoints as ie, useSnackbar as Oe, FmButtonColorThemeVariant as Z } from "@feedmepos/ui-library";
7
7
  import { u as Te } from "./message-dialog-UoMWOnil.js";
8
8
  import { u as ae, i as ue, f as ze } from "./vue-i18n-CTLGxUiF.js";
9
- import { _ as de } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CNRtuVTK.js";
9
+ import { _ as de } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B75aeM0i.js";
10
10
  import { _ as me } from "./NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js";
11
11
  import { r as re } from "./i18n-Cif1I9J2.js";
12
12
  import { _ as Fe } from "./SelectComponent.vue_vue_type_script_setup_true_lang-mR2PeX3S.js";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ee, computed as c, watch as J, resolveComponent as te, createBlock as _, openBlock as y, withCtx as ae, createVNode as E, createElementVNode as L, unref as n, normalizeStyle as re, normalizeClass as N, createElementBlock as $, Fragment as oe, renderList as ne } from "vue";
2
- import { _ as ie } from "./MenuTab.vue_vue_type_script_setup_true_lang-DAFwqfMp.js";
3
- import { _ as se } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CNRtuVTK.js";
2
+ import { _ as ie } from "./MenuTab.vue_vue_type_script_setup_true_lang-BJM6sKQU.js";
3
+ import { _ as se } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B75aeM0i.js";
4
4
  import { useRouter as le, useRoute as ue } from "vue-router";
5
- import { _ as ce } from "./Default.vue_vue_type_script_setup_true_lang-BX_Bz8I8.js";
6
- import { a as de } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
5
+ import { _ as ce } from "./Default.vue_vue_type_script_setup_true_lang-4V19EFBP.js";
6
+ import { a as de } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BrHd550j.js";
7
7
  import { storeToRefs as I } from "pinia";
8
- import { b as pe, c as me, u as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BDA9wTdJ.js";
8
+ import { b as pe, c as me, u as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-4v9iLIA2.js";
9
9
  import { _ as ge } from "./NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js";
10
10
  import { useSnackbar as ye, useBreakpoints as ve } from "@feedmepos/ui-library";
11
11
  import { u as De, b as Se, f as be, d, e as Re } from "./vue-i18n-CTLGxUiF.js";
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as B, ref as H, useModel as J, 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 K, renderList as Q, withDirectives as M, createTextVNode as ie, vShow as j, watch as me, normalizeStyle as ue } from "vue";
2
- import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-BX_Bz8I8.js";
2
+ import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-4V19EFBP.js";
3
3
  import { u as U, d as z, C as I, D as pe, b as ce } from "./vue-i18n-CTLGxUiF.js";
4
4
  import { components as A, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as G } from "@feedmepos/ui-library";
5
- import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BDA9wTdJ.js";
5
+ import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-4v9iLIA2.js";
6
6
  import { u as ve } from "./message-dialog-UoMWOnil.js";
7
7
  import { detectLocale as F } from "@feedmepos/mf-common";
8
8
  import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-mR2PeX3S.js";
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as M, mergeModels as J, useModel as ee, computed as _, ref as A, resolveComponent as F, createElementBlock as I, openBlock as h, createVNode as m, createElementVNode as w, unref as l, withCtx as N, toDisplayString as L, Fragment as Z, renderList as ue, withModifiers as te, createTextVNode as re, watch as se, createCommentVNode as U, createBlock as T, onMounted as Ce, onUnmounted as Pe, renderSlot as $e, onBeforeUnmount as Ae, resolveDynamicComponent as Ne, normalizeClass as Oe, withDirectives as ae, vShow as ne, normalizeStyle as Xe, isRef as We } from "vue";
2
2
  import { useRoute as qe, useRouter as He } from "vue-router";
3
- import { h as Ye, d as ke, S as Fe, _ as Ee, W as Je, b as Ge, T as Ke, a as Qe } from "./TransitionFade-C0ttcU9I.js";
4
- import { W as B, b as Be, _ as me, D as Ze, S as Se, C as el, P as Te, a as ll } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
3
+ import { h as Ye, d as ke, S as Fe, _ as Ee, W as Je, b as Ge, T as Ke, a as Qe } from "./TransitionFade-1tV8-j1Z.js";
4
+ import { W as B, b as Be, _ as me, D as Ze, S as Se, C as el, P as Te, a as ll } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BrHd550j.js";
5
5
  import { storeToRefs as de } from "pinia";
6
6
  import { u as Ie } from "./message-dialog-UoMWOnil.js";
7
7
  import { u as H, h as Le, p as ol, b as tl, d as pe } from "./vue-i18n-CTLGxUiF.js";
8
8
  import { useSnackbar as al, useBreakpoints as je, FmButtonColorThemeVariant as ce } from "@feedmepos/ui-library";
9
9
  import { _ as K } from "./SelectComponent.vue_vue_type_script_setup_true_lang-mR2PeX3S.js";
10
10
  import { r as Q } from "./i18n-Cif1I9J2.js";
11
- import { g as ve, u as fe, L as ie, a as he, _ as Re } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CNRtuVTK.js";
11
+ import { g as ve, u as fe, L as ie, a as he, _ as Re } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B75aeM0i.js";
12
12
  import { a as ge } from "./helper-UCnMF9KV.js";
13
13
  import { _ as Me } from "./NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js";
14
14
  const ye = [
@@ -3,9 +3,9 @@ import { u as Pt, f as An, p as Nn, d as ht, h as Pn } from "./vue-i18n-CTLGxUiF
3
3
  import { useCoreStore as Vn } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as Mn } from "pinia";
5
5
  import { useRoute as Ln } from "vue-router";
6
- import { W as L, D as Ze, c as z, C as de, _ as Bn } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
6
+ import { W as L, D as Ze, c as z, C as de, _ as Bn } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BrHd550j.js";
7
7
  import { a as Vt, _ as Yt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-mR2PeX3S.js";
8
- import { R as $n } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CNRtuVTK.js";
8
+ import { R as $n } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B75aeM0i.js";
9
9
  import { useSnackbar as Rn } from "@feedmepos/ui-library";
10
10
  import { a as Yn } from "./helper-UCnMF9KV.js";
11
11
  const Wn = {
package/dist/app.js CHANGED
@@ -4960,41 +4960,41 @@ const a = {
4960
4960
  path: "/overview",
4961
4961
  alias: ["/"],
4962
4962
  name: "overview",
4963
- component: () => import("./OverviewView-BdkNW-E-.js")
4963
+ component: () => import("./OverviewView-CUPsimnH.js")
4964
4964
  },
4965
4965
  {
4966
4966
  path: "/report",
4967
4967
  name: "reports",
4968
- component: () => import("./Report-YAviXRm9.js")
4968
+ component: () => import("./Report-BljRc1xi.js")
4969
4969
  },
4970
4970
  {
4971
4971
  path: "/insights",
4972
4972
  name: "insights",
4973
- component: () => import("./InsightView-DV6Nvi6h.js")
4973
+ component: () => import("./InsightView-DCIgjpGL.js")
4974
4974
  },
4975
4975
  {
4976
4976
  path: "/report-view",
4977
4977
  name: "reportView",
4978
- component: () => import("./ReportView-CyTt0xju.js")
4978
+ component: () => import("./ReportView-CMRcpoTz.js")
4979
4979
  },
4980
4980
  {
4981
4981
  path: "/report-editor",
4982
4982
  name: "reportEditor",
4983
- component: () => import("./ReportEditor-CMqGCf9p.js")
4983
+ component: () => import("./ReportEditor-DgAWdCZe.js")
4984
4984
  },
4985
4985
  {
4986
4986
  path: "/report-editor/tile-editor",
4987
4987
  name: "tileEditor",
4988
- component: () => import("./TileEditor-BxXlzNXM.js")
4988
+ component: () => import("./TileEditor-DgawblCV.js")
4989
4989
  },
4990
4990
  {
4991
4991
  path: "/setting",
4992
4992
  name: "setting",
4993
- component: () => import("./Setting-CxGy_k2J.js")
4993
+ component: () => import("./Setting-BciZnr8l.js")
4994
4994
  },
4995
4995
  {
4996
4996
  path: "/integration",
4997
- component: () => import("./Layout-CTUQOBlj.js"),
4997
+ component: () => import("./Layout-Dco__bZI.js"),
4998
4998
  children: [
4999
4999
  {
5000
5000
  name: "integrations",
@@ -5028,7 +5028,7 @@ const u = {
5028
5028
  "zh-CN": m,
5029
5029
  "th-TH": c,
5030
5030
  "zh-Hant": p
5031
- }, h = e(() => import("./App-C9I2NljG.js"));
5031
+ }, h = e(() => import("./App-Cts_hjbs.js"));
5032
5032
  export {
5033
5033
  h as FmApp,
5034
5034
  u as i18nMessages,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-report",
3
- "version": "5.18.0-beta.0",
3
+ "version": "5.18.2-beta.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -1,152 +0,0 @@
1
- import { defineComponent as x, resolveComponent as b, createBlock as T, openBlock as c, unref as r, isRef as Y, withCtx as S, createElementVNode as V, createVNode as k, toDisplayString as D, createTextVNode as Z, onMounted as z, watch as f, ref as J, computed as I, onBeforeMount as M, onBeforeUnmount as ee, createElementBlock as y, Fragment as te } from "vue";
2
- import { detectLocale as p, useCoreStore as w } from "@feedmepos/mf-common";
3
- import { u as oe, d as C, a as re, b as ae, c as ne, e as se, f as le, s as ue, g as ie } from "./vue-i18n-CTLGxUiF.js";
4
- import { storeToRefs as $ } from "pinia";
5
- import { u as ce, a as me, b as de } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
6
- import { _ as ve, u as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BDA9wTdJ.js";
7
- import { u as O } from "./message-dialog-UoMWOnil.js";
8
- import { useRoute as pe } from "vue-router";
9
- const ge = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, he = /* @__PURE__ */ x({
10
- __name: "Dialog",
11
- setup(m) {
12
- const { t } = oe(), n = O(), { isOpened: a, message: u, title: i } = $(O());
13
- return (d, l) => {
14
- const v = b("FmButton"), g = b("FmDialog");
15
- return c(), T(g, {
16
- modelValue: r(a),
17
- "onUpdate:modelValue": l[0] || (l[0] = (h) => Y(a) ? a.value = h : null),
18
- overlay: "",
19
- "close-button": !1
20
- }, {
21
- "dialog-header": S(() => [
22
- Z(D(r(i)), 1)
23
- ]),
24
- default: S(() => [
25
- V("p", ge, D(r(u)), 1)
26
- ]),
27
- "dialog-footer": S(() => [
28
- l[1] || (l[1] = V("div", { class: "grow" }, null, -1)),
29
- k(v, {
30
- label: r(t)("report.common.cancel"),
31
- variant: "tertiary",
32
- onClick: r(n).dismiss
33
- }, null, 8, ["label", "onClick"]),
34
- k(v, {
35
- label: r(t)("report.common.confirm"),
36
- onClick: r(n).confirm
37
- }, null, 8, ["label", "onClick"])
38
- ]),
39
- _: 1
40
- }, 8, ["modelValue"]);
41
- };
42
- }
43
- }), U = J(p());
44
- function _e() {
45
- const m = (t) => {
46
- switch (U.value = t, t) {
47
- case "zh-CN":
48
- C.locale("zh-cn");
49
- break;
50
- default:
51
- C.locale("en");
52
- break;
53
- }
54
- };
55
- return z(() => {
56
- m(p());
57
- }), f(() => p(), m, { deep: !0, immediate: !0 }), {
58
- currentLocale: U
59
- };
60
- }
61
- C.locale(p() === "zh-CN" ? "zh-cn" : "en");
62
- const Se = ["src"], ye = ["src"], Le = /* @__PURE__ */ x({
63
- __name: "App",
64
- setup(m) {
65
- const { businessId: t, token: n, country: a } = $(re()), { sessionUser: u, currentBusiness: i, currentCountry: d, registerSidebarComponent: l } = w(), { getRestaurantAndWarehouse: v, getBusinessSetting: g } = ae(), { getFeatureFlags: h } = ne(), { version: s } = $(ce()), { getSettings: j } = se(), { promptLoader: q } = le(), F = pe(), A = I(() => `https://portal-v1.feedmedev.cc/b/${t.value}/report/CLOSE_UP?showHeader=false&country=${a.value.toUpperCase()}&menuOption=business-report&token=${n.value}&v2=true&reportV5Button=true`), W = I(() => `https://report-v4.feedmedev.cc?businessId=${t.value}&country=${a.value}&token=${n.value}&reportV3Button=true`);
66
- f(
67
- [() => i.value, () => u.value, () => d.value],
68
- () => {
69
- var o, e;
70
- i.value && u.value && d.value && (ue(a.value), t.value = ((o = i.value) == null ? void 0 : o.id) ?? "", n.value = ((e = u.value) == null ? void 0 : e.token) ?? "", a.value = d.value ?? "");
71
- },
72
- { immediate: !0 }
73
- );
74
- function B(o) {
75
- if (typeof o.data == "string")
76
- try {
77
- const e = JSON.parse(o.data);
78
- (e == null ? void 0 : e.token) !== "" && (e == null ? void 0 : e.token) !== void 0 && (n.value = e.token);
79
- } catch (e) {
80
- console.error(e);
81
- }
82
- }
83
- function E(o) {
84
- if (typeof o.data == "string")
85
- try {
86
- const e = JSON.parse(o.data);
87
- (e == null ? void 0 : e.v5) === !0 ? s.value = _.value : (e == null ? void 0 : e.v3) === !0 && (s.value = "v3");
88
- } catch (e) {
89
- console.error(e);
90
- }
91
- }
92
- f(s, () => {
93
- ["v3", "v4"].includes(s.value) ? w().hideSidebarToggle(!0) : w().hideSidebarToggle(!1);
94
- }), M(() => {
95
- l(ve);
96
- }), z(() => {
97
- console.log("5.18.0-beta.0", !0), window.addEventListener("message", B), window.addEventListener("message", E);
98
- });
99
- const L = me(), N = fe();
100
- ee(() => {
101
- window.removeEventListener("message", B), window.removeEventListener("message", E), L.$dispose(), N.$dispose();
102
- });
103
- const { getReports: G, getOverviewReport: K, getReportConfig: R } = L, { getSchema: P } = de(), { fetchSchedules: H } = N, { init: Q } = ie(), _ = J("v5");
104
- return f(
105
- () => t.value,
106
- () => {
107
- t.value !== "" && q(async () => {
108
- await Q({
109
- apiKey: "MaGoXrEWuEJNpWgKTqseee",
110
- url: "https://flag.feedme.farm/api/v1/",
111
- enableAnalytics: !1,
112
- cacheFlags: !1
113
- });
114
- const o = await R();
115
- _.value = o.version, s.value = _.value, await Promise.all([
116
- h(),
117
- R(),
118
- K(),
119
- G(),
120
- P(),
121
- H(),
122
- g(),
123
- v(
124
- F.query.locationIds ? JSON.parse(F.query.locationIds) : null
125
- ),
126
- j()
127
- ]);
128
- });
129
- },
130
- {
131
- immediate: !0
132
- }
133
- ), _e(), (o, e) => {
134
- const X = b("router-view");
135
- return c(), y(te, null, [
136
- k(he),
137
- r(s) === "v3" ? (c(), y("iframe", {
138
- key: 0,
139
- class: "bg-white h-full w-full",
140
- src: A.value
141
- }, null, 8, Se)) : r(s) === "v4" ? (c(), y("iframe", {
142
- key: 1,
143
- class: "bg-white h-full w-full",
144
- src: W.value
145
- }, null, 8, ye)) : (c(), T(X, { key: 2 }))
146
- ], 64);
147
- };
148
- }
149
- });
150
- export {
151
- Le as default
152
- };