@feedmepos/mf-report 5.4.7-beta.0 → 5.4.7-beta.2

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 (21) hide show
  1. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-H7YtZnjv.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-ALAqa9a8.js} +1 -1
  2. package/dist/Default.vue_vue_type_script_setup_true_lang-Ojic0m8z.js +40 -0
  3. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-tpzMxzux.js → DynamicWidget.vue_vue_type_script_setup_true_lang-JkGZsW5j.js} +1 -1
  4. package/dist/{InsightView-EC1bg9mj.js → InsightView-xMnWPkcd.js} +4 -4
  5. package/dist/{Integration-opBTuKMK.js → Integration-aaArGClv.js} +2 -2
  6. package/dist/{Integrations-kSL7Wnn0.js → Integrations-Jvmgy7Td.js} +1 -1
  7. package/dist/{Layout--8pPKgLK.js → Layout-BOmgUt5I.js} +1 -1
  8. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-v6_H8SNJ.js → LocationSelect.vue_vue_type_script_setup_true_lang-zdSfBYK_.js} +2 -2
  9. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-KCdH-eKV.js → MenuTab.vue_vue_type_script_setup_true_lang-BZdN9ksg.js} +4 -4
  10. package/dist/{OverviewView-Qk8Q_xH4.js → OverviewView-Sq2TziOc.js} +4 -4
  11. package/dist/{Report-RYeaYu2S.js → Report-iU60wORo.js} +2 -2
  12. package/dist/{ReportEditor-3dau0Nny.js → ReportEditor-gAWe_6Zv.js} +3 -3
  13. package/dist/{ReportView-GlnfoK9x.js → ReportView-MVBkD9IO.js} +28 -27
  14. package/dist/{Setting-0klZO-Tw.js → Setting-fv_HcOLm.js} +3 -3
  15. package/dist/{TileEditor-YqEuSHs5.js → TileEditor-AbhRKGkl.js} +3 -3
  16. package/dist/{TransitionFade-CRR74Tgh.js → TransitionFade-pygtZzoS.js} +2 -2
  17. package/dist/{app-_AZY94KC.js → app-hNYZmnp0.js} +1193 -1193
  18. package/dist/app.js +1 -1
  19. package/dist/{timeFormat-MAYX7Etl.js → timeFormat-jYa-Ualp.js} +1 -1
  20. package/package.json +1 -1
  21. package/dist/Default.vue_vue_type_script_setup_true_lang-4RANhaRJ.js +0 -38
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as _, resolveComponent as f, openBlock as r, createBlock as s, withCtx as g, createCommentVNode as D, createElementVNode as x, toDisplayString as F, mergeModels as M, useModel as i, ref as C, watch as b, createElementBlock as P, createVNode as p, unref as I } from "vue";
2
- import { J as T, C as O, d as n, K as w } from "./app-_AZY94KC.js";
2
+ import { J as T, C as O, d as n, K as w } from "./app-hNYZmnp0.js";
3
3
  const B = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, V = /* @__PURE__ */ _({
4
4
  __name: "FilterChip",
5
5
  props: {
@@ -0,0 +1,40 @@
1
+ import { defineComponent as u, computed as f, resolveComponent as p, openBlock as r, createElementBlock as s, normalizeClass as d, unref as e, normalizeStyle as n, createBlock as y, createCommentVNode as _, createVNode as k, createElementVNode as x, renderSlot as g } from "vue";
2
+ import { c as v, r as h } from "./app-hNYZmnp0.js";
3
+ import { useBreakpoints as b } from "@feedmepos/ui-library";
4
+ import { storeToRefs as w } from "pinia";
5
+ import { useRoute as q } from "vue-router";
6
+ const C = {
7
+ key: 1,
8
+ class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
9
+ }, V = /* @__PURE__ */ u({
10
+ __name: "Default",
11
+ setup(B) {
12
+ const { breakpoints: t } = b(), { isLoading: c } = w(v()), o = q(), a = f(() => !o.query.token && !o.query.busines);
13
+ return (m, l) => {
14
+ const i = p("FmCircularProgress");
15
+ return r(), s("div", {
16
+ class: d(`${e(t).lg || e(t).md ? "flex w-full" : ""} bg-fm-color-neutral-white`),
17
+ style: n({
18
+ height: `calc(100vh - ${e(o).query.token && e(o).query.businessId ? "0" : "64"}px)`
19
+ })
20
+ }, [
21
+ a.value ? _("", !0) : (r(), y(h, { key: 0 })),
22
+ e(c) ? (r(), s("div", C, [
23
+ k(i, { size: "xl" }),
24
+ l[0] || (l[0] = x("span", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Loading data... ", -1))
25
+ ])) : (r(), s("div", {
26
+ key: 2,
27
+ class: "w-full flex flex-col overflow-y-scroll overflow-x-scroll",
28
+ style: n({
29
+ height: `calc(100%-${e(o).query.token && e(o).query.businessId ? "56" : "0"}px)`
30
+ })
31
+ }, [
32
+ g(m.$slots, "default")
33
+ ], 4))
34
+ ], 6);
35
+ };
36
+ }
37
+ });
38
+ export {
39
+ V as _
40
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as E, useModel as z, computed as i, ref as D, resolveComponent as y, openBlock as h, createElementBlock as S, Fragment as W, renderSlot as U, createVNode as k, createElementVNode as C, toDisplayString as K, unref as q, withCtx as $, createBlock as R, normalizeClass as te, normalizeStyle as ye, createCommentVNode as G, h as fe, 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 n, a as _e, e as ne, m as Oe, v as ae, l as he, R as qe, n as Ue, o as je, q as Ge } from "./app-_AZY94KC.js";
2
+ import { W as n, a as _e, e as ne, m as Oe, v as ae, l as he, R as qe, n as Ue, o as je, q as Ge } from "./app-hNYZmnp0.js";
3
3
  import { storeToRefs as se } from "pinia";
4
4
  import { _ as ge } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
5
5
  import { useBreakpoints as Je, useSnackbar as Ke } from "@feedmepos/ui-library";
@@ -2,14 +2,14 @@ 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), e);
4
4
  import { ref as Ht, defineComponent as ne, watch as ri, computed as wt, onMounted as qo, openBlock as z, createElementBlock as U, createElementVNode as R, renderSlot as jn, toDisplayString as ft, resolveDirective as $n, Fragment as Ei, renderList as Ii, withDirectives as Ge, createVNode as tt, createCommentVNode as Mt, normalizeClass as Ze, resolveComponent as li, 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-4RANhaRJ.js";
5
+ import { _ as ta } from "./Default.vue_vue_type_script_setup_true_lang-Ojic0m8z.js";
6
6
  import { _ as ea } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
7
- import { _ as ia } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-H7YtZnjv.js";
8
- import { d as zi, e as Yn, F as Un, f as Xn, g as sa, a as na } from "./app-_AZY94KC.js";
7
+ import { _ as ia } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-ALAqa9a8.js";
8
+ import { d as zi, e as Yn, F as Un, f as Xn, g as sa, a as na } from "./app-hNYZmnp0.js";
9
9
  import { storeToRefs as Kn } from "pinia";
10
10
  import { useBreakpoints as oa, components as aa, useSnackbar as ra } from "@feedmepos/ui-library";
11
11
  import { _ as la } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
12
- import { _ as ca } from "./LocationSelect.vue_vue_type_script_setup_true_lang-v6_H8SNJ.js";
12
+ import { _ as ca } from "./LocationSelect.vue_vue_type_script_setup_true_lang-zdSfBYK_.js";
13
13
  function ha({ start: i, end: t }) {
14
14
  return `${zi(t).format("DD MMM")}, ${zi(t).format("YYYY")}`;
15
15
  }
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as M, mergeModels as Ve, useModel as L, computed as R, resolveComponent as V, openBlock as u, createElementBlock as k, createElementVNode as l, normalizeClass as De, Fragment as K, renderList as j, createVNode as o, createBlock as T, withCtx as ue, toDisplayString as me, createCommentVNode as Y, unref as H, ref as P, watch as re, isRef as pe, h as F, resolveDynamicComponent as de, onMounted as Ce } from "vue";
2
2
  import { useRouter as oe, useRoute as Se } from "vue-router";
3
- import { I as le, w as Ue, d as Fe, j as ce, c as fe, b as ve, a as ne, x as Te, y as Ie, z as Ne, t as ge, A as ye, B as xe, E as $e, G as ae, H as ke } from "./app-_AZY94KC.js";
3
+ import { I as le, w as Ue, d as Fe, j as ce, c as fe, b as ve, a as ne, x as Te, y as Ie, z as Ne, t as ge, A as ye, B as xe, E as $e, G as ae, H as ke } from "./app-hNYZmnp0.js";
4
4
  import { useSnackbar as se } from "@feedmepos/ui-library";
5
5
  import { storeToRefs as be } from "pinia";
6
- import { _ as we } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-H7YtZnjv.js";
6
+ import { _ as we } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-ALAqa9a8.js";
7
7
  const Ae = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, Pe = {
8
8
  key: 0,
9
9
  class: "w-[50%]"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as P, mergeModels as L, useModel as U, computed as R, resolveComponent as v, unref as C, openBlock as w, createBlock as A, withCtx as x, createElementVNode as r, createVNode as s, createTextVNode as W, 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, j as D, c as X, b as Z, s as $, t as ee, m as oe } from "./app-_AZY94KC.js";
3
+ import { I as q, j as D, c as X, b as Z, s as $, t as ee, m as oe } from "./app-hNYZmnp0.js";
4
4
  import { useBreakpoints as E, useSnackbar as ae, FmButtonColorThemeVariant as h, components as te } from "@feedmepos/ui-library";
5
5
  import { _ as le } from "./SelectComponent.vue_vue_type_script_setup_true_lang-6i3u0Axg.js";
6
6
  import { storeToRefs as G } from "pinia";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, resolveComponent as t, openBlock as r, createBlock as n, withCtx as _, createVNode as c } from "vue";
2
- import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-4RANhaRJ.js";
2
+ import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-Ojic0m8z.js";
3
3
  const f = /* @__PURE__ */ o({
4
4
  __name: "Layout",
5
5
  setup(m) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as k, mergeModels as w, useModel as C, computed as v, ref as V, resolveComponent as i, openBlock as c, createBlock as f, withCtx as p, createVNode as n, createElementVNode as y, withDirectives as S, vShow as L, createElementBlock as A, Fragment as B, renderList as D } from "vue";
2
- import { a as T } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-H7YtZnjv.js";
3
- import "./app-_AZY94KC.js";
2
+ import { a as T } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-ALAqa9a8.js";
3
+ import "./app-hNYZmnp0.js";
4
4
  const $ = { class: "flex flex-col bg-fm-color-neutral-white w-[260px] max-h-[408px] overflow-y-auto" }, N = /* @__PURE__ */ k({
5
5
  __name: "LocationSelect",
6
6
  props: /* @__PURE__ */ w({
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as D, mergeModels as K, useModel as z, ref as T, resolveComponent as i, openBlock as d, createBlock as R, withCtx as _, createVNode as m, createElementVNode as u, createElementBlock as $, Fragment as w, renderList as E, createTextVNode as Q, toDisplayString as x, withDirectives as W, vShow as X, unref as l, createCommentVNode as C, isRef as V, normalizeClass as B } from "vue";
2
- import { d as k, a as J } from "./app-_AZY94KC.js";
2
+ import { d as k, a as J } from "./app-hNYZmnp0.js";
3
3
  import { storeToRefs as j } from "pinia";
4
- import { _ as Y } from "./LocationSelect.vue_vue_type_script_setup_true_lang-v6_H8SNJ.js";
5
- import { a as Z, _ as ee } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-H7YtZnjv.js";
6
- import { t as P, s as te } from "./timeFormat-MAYX7Etl.js";
4
+ import { _ as Y } from "./LocationSelect.vue_vue_type_script_setup_true_lang-zdSfBYK_.js";
5
+ import { a as Z, _ as ee } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-ALAqa9a8.js";
6
+ import { t as P, s as te } from "./timeFormat-jYa-Ualp.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",
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as g, computed as w, resolveComponent as k, openBlock as n, createBlock as a, withCtx as m, createVNode as s, createElementVNode as p, toDisplayString as $, unref as e, createElementBlock as d, createCommentVNode as y, normalizeClass as v, normalizeStyle as C, Fragment as h, renderList as B, withDirectives as D, vShow as b } from "vue";
2
2
  import { _ as S } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
3
- import { _ as V } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-tpzMxzux.js";
4
- import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-4RANhaRJ.js";
5
- import { u as N } from "./app-_AZY94KC.js";
3
+ import { _ as V } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-JkGZsW5j.js";
4
+ import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-Ojic0m8z.js";
5
+ import { u as N } from "./app-hNYZmnp0.js";
6
6
  import { storeToRefs as R } from "pinia";
7
7
  import { _ as z } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
8
8
  import { useBreakpoints as E } from "@feedmepos/ui-library";
9
- import { _ as L } from "./MenuTab.vue_vue_type_script_setup_true_lang-KCdH-eKV.js";
9
+ import { _ as L } from "./MenuTab.vue_vue_type_script_setup_true_lang-BZdN9ksg.js";
10
10
  const O = { class: "fm-typo-en-title-md-600" }, j = {
11
11
  key: 0,
12
12
  class: "flex gap-2"
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ne, ref as U, watch as ee, computed as h, resolveComponent as w, openBlock as N, createBlock as B, withCtx as c, createVNode as s, createElementVNode as d, withDirectives as $, unref as e, withModifiers as A, vShow as I, normalizeClass as C, normalizeStyle as ce, toDisplayString as G, createElementBlock as ie, Fragment as ue, renderList as de, createTextVNode as me, h as f } from "vue";
2
2
  import { storeToRefs as te } from "pinia";
3
- import { u as pe, a as fe, b as ve, c as ye } from "./app-_AZY94KC.js";
4
- import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-4RANhaRJ.js";
3
+ import { u as pe, a as fe, b as ve, c as ye } from "./app-hNYZmnp0.js";
4
+ import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-Ojic0m8z.js";
5
5
  import { _ as ge } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
6
6
  import { useSnackbar as xe, useBreakpoints as Ce, FmButtonColorThemeVariant as R, components as _e } from "@feedmepos/ui-library";
7
7
  import { _ as ke } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as h, mergeModels as w, useModel as R, ref as D, computed as N, resolveComponent as m, openBlock as r, createBlock as y, withCtx as u, createTextVNode as pe, createVNode as t, normalizeClass as U, unref as l, createElementVNode as _, 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-CRR74Tgh.js";
3
- import { u as j, b as K, v as Q, c as ke } from "./app-_AZY94KC.js";
2
+ import { W as ge, i as _e, S as ye, D as Ce, T as be, _ as Ve } from "./TransitionFade-pygtZzoS.js";
3
+ import { u as j, b as K, v as Q, c as ke } from "./app-hNYZmnp0.js";
4
4
  import { _ as Fe } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
5
5
  import { storeToRefs as X } from "pinia";
6
6
  import { useRouter as Z, useRoute as ee } from "vue-router";
7
7
  import { useBreakpoints as I, FmButtonColorThemeVariant as q, useSnackbar as xe } from "@feedmepos/ui-library";
8
- import { _ as oe } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-tpzMxzux.js";
8
+ import { _ as oe } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-JkGZsW5j.js";
9
9
  import { _ as te } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
10
10
  const we = /* @__PURE__ */ h({
11
11
  __name: "WidgetDialog",
@@ -1,10 +1,10 @@
1
- import { defineComponent as z, computed as h, resolveComponent as d, openBlock as n, createBlock as i, withCtx as c, createVNode as u, unref as e, createElementVNode as x, toDisplayString as Y, createElementBlock as f, Fragment as R, renderList as F, normalizeClass as N, normalizeStyle as Q, withDirectives as U, vShow as W } from "vue";
1
+ import { defineComponent as z, computed as D, resolveComponent as d, openBlock as n, createBlock as i, withCtx as c, createVNode as u, unref as e, createElementVNode as x, toDisplayString as Y, createElementBlock as f, Fragment as R, renderList as F, normalizeClass as N, normalizeStyle as Q, withDirectives as U, vShow as W } from "vue";
2
2
  import { _ as H } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
3
- import { _ as K } from "./MenuTab.vue_vue_type_script_setup_true_lang-KCdH-eKV.js";
4
- import { _ as P } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-tpzMxzux.js";
3
+ import { _ as K } from "./MenuTab.vue_vue_type_script_setup_true_lang-BZdN9ksg.js";
4
+ import { _ as P } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-JkGZsW5j.js";
5
5
  import { useRouter as X, useRoute as Z } from "vue-router";
6
- import { _ as ee } from "./Default.vue_vue_type_script_setup_true_lang-4RANhaRJ.js";
7
- import { b as oe, u as te, c as re, h as ne, i as le, j as ae } from "./app-_AZY94KC.js";
6
+ import { _ as ee } from "./Default.vue_vue_type_script_setup_true_lang-Ojic0m8z.js";
7
+ import { b as te, u as oe, c as re, h as ne, i as le, j as ae } from "./app-hNYZmnp0.js";
8
8
  import { storeToRefs as v } from "pinia";
9
9
  import { _ as se } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
10
10
  import { useSnackbar as ie, useBreakpoints as ue, FmButtonColorThemeVariant as y } from "@feedmepos/ui-library";
@@ -14,14 +14,14 @@ const ce = { class: "fm-typo-en-title-md-600" }, pe = {
14
14
  }, me = { class: "flex w-full justify-end px-2" }, Se = /* @__PURE__ */ z({
15
15
  __name: "ReportView",
16
16
  setup(de) {
17
- const _ = X(), g = Z(), p = ie(), { promptMessage: B } = oe(), k = te(), { promptLoader: I } = re(), { breakpoints: t } = ue(), {
17
+ const _ = X(), g = Z(), p = ie(), { promptMessage: B } = te(), k = oe(), { promptLoader: I } = re(), { breakpoints: o } = ue(), {
18
18
  currentReport: r,
19
19
  currentReportId: b,
20
20
  isOpenDownloadDialog: w,
21
21
  editingReport: O,
22
22
  canCreateCustomReport: C,
23
23
  customReportQuota: S
24
- } = v(k), { isOpenAccountingDialog: E } = v(ne()), { isOpenScheduleDialog: q } = v(le()), { disabled: M } = v(ae()), $ = h(() => {
24
+ } = v(k), { isOpenAccountingDialog: E } = v(ne()), { isOpenScheduleDialog: q } = v(le()), { disabled: M } = v(ae()), $ = D(() => {
25
25
  const m = [
26
26
  {
27
27
  icon: "mail",
@@ -71,9 +71,9 @@ const ce = { class: "fm-typo-en-title-md-600" }, pe = {
71
71
  }
72
72
  async function V() {
73
73
  if (!C.value) {
74
- let o = `Your current plan only support up to ${S.value} custom reports.`;
75
- S.value === 0 && (o = "Your current plan does not support custom report."), p.open({
76
- message: o,
74
+ let t = `Your current plan only support up to ${S.value} custom reports.`;
75
+ S.value === 0 && (t = "Your current plan does not support custom report."), p.open({
76
+ message: t,
77
77
  type: "error"
78
78
  });
79
79
  return;
@@ -86,11 +86,11 @@ const ce = { class: "fm-typo-en-title-md-600" }, pe = {
86
86
  title: "Save report",
87
87
  message: `Do you really want to duplicate ${r.value.name} ?`
88
88
  }) && r.value) {
89
- const o = JSON.parse(JSON.stringify(r.value));
90
- o.editable = !0, o.id = "", o.name = `${o.name} duplicate`;
89
+ const t = JSON.parse(JSON.stringify(r.value));
90
+ t.editable = !0, t.id = "", t.name = `${t.name} duplicate`;
91
91
  try {
92
92
  await I(async () => {
93
- await k.createOrUpdateReport(o), k.updateCurrentReportId(b.value), _.push({
93
+ await k.createOrUpdateReport(t), k.updateCurrentReportId(b.value), _.push({
94
94
  name: "reportView",
95
95
  query: g.query
96
96
  });
@@ -103,8 +103,8 @@ const ce = { class: "fm-typo-en-title-md-600" }, pe = {
103
103
  function A() {
104
104
  E.value = !0;
105
105
  }
106
- const D = h(() => r.value ? r.value.tiles : []);
107
- return (m, o) => {
106
+ const h = D(() => r.value ? r.value.tiles : []);
107
+ return (m, t) => {
108
108
  const s = d("FmButton"), J = d("FmIcon"), L = d("FmMenuItem"), G = d("FmMenu");
109
109
  return n(), i(ee, null, {
110
110
  default: c(() => [
@@ -115,7 +115,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, pe = {
115
115
  u(s, {
116
116
  icon: "arrow_back",
117
117
  variant: "tertiary",
118
- onClick: o[0] || (o[0] = (a) => e(_).push({ name: "reports", query: e(g).query }))
118
+ onClick: t[0] || (t[0] = (a) => e(_).push({ name: "reports", query: e(g).query }))
119
119
  }),
120
120
  x("p", ce, Y((l = e(r)) == null ? void 0 : l.name), 1)
121
121
  ];
@@ -123,7 +123,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, pe = {
123
123
  button: c(() => {
124
124
  var l;
125
125
  return [
126
- e(t).lg || e(t).md ? (n(), f("div", pe, [
126
+ e(o).lg || e(o).md ? (n(), f("div", pe, [
127
127
  (l = e(r)) != null && l.editable ? (n(), i(s, {
128
128
  key: 0,
129
129
  label: "Edit",
@@ -141,11 +141,12 @@ const ce = { class: "fm-typo-en-title-md-600" }, pe = {
141
141
  u(s, {
142
142
  label: "Download",
143
143
  "prepend-icon": "download",
144
- onClick: o[1] || (o[1] = (a) => w.value = !0)
144
+ onClick: t[1] || (t[1] = (a) => w.value = !0)
145
145
  })
146
146
  ])) : (n(), i(G, {
147
147
  key: 1,
148
- placement: "left"
148
+ placement: "left",
149
+ shift: !0
149
150
  }, {
150
151
  "menu-button": c(() => [
151
152
  u(J, { name: "more_vert" })
@@ -166,17 +167,17 @@ const ce = { class: "fm-typo-en-title-md-600" }, pe = {
166
167
  _: 1
167
168
  }),
168
169
  x("div", {
169
- class: N(`flex flex-col overflow-y-auto ${e(t).sm || e(t).xs ? "pb-2" : ""}`),
170
- style: Q({ height: `calc(100% - ${e(t).lg || e(t).md ? 72 : 64}px)` })
170
+ class: N(`flex flex-col overflow-y-auto ${e(o).sm || e(o).xs ? "pb-2" : ""}`),
171
+ style: Q({ height: `calc(100% - ${e(o).lg || e(o).md ? 72 : 64}px)` })
171
172
  }, [
172
173
  u(K, {
173
- "model-value": e(t).lg || e(t).md ? $.value : []
174
+ "model-value": e(o).lg || e(o).md ? $.value : []
174
175
  }, null, 8, ["model-value"]),
175
- e(r) && D.value.length > 0 ? (n(), f("div", {
176
+ e(r) && h.value.length > 0 ? (n(), f("div", {
176
177
  key: 0,
177
- class: N(["grid grid-cols-12", e(t).sm || e(t).xs ? "px-3 gap-[16px]" : "px-24 gap-[24px]"])
178
+ class: N(["grid grid-cols-12", e(o).sm || e(o).xs ? "px-3 gap-[16px]" : "px-24 gap-[24px]"])
178
179
  }, [
179
- (n(!0), f(R, null, F(D.value, (l, a) => (n(), i(P, {
180
+ (n(!0), f(R, null, F(h.value, (l, a) => (n(), i(P, {
180
181
  key: `widget_${e(b)}_${a}`,
181
182
  "model-value": l,
182
183
  index: a
@@ -186,10 +187,10 @@ const ce = { class: "fm-typo-en-title-md-600" }, pe = {
186
187
  u(s, {
187
188
  label: "Download",
188
189
  "prepend-icon": "download",
189
- onClick: o[2] || (o[2] = (l) => w.value = !0)
190
+ onClick: t[2] || (t[2] = (l) => w.value = !0)
190
191
  })
191
192
  ], 512), [
192
- [W, e(t).sm || e(t).xs]
193
+ [W, e(o).sm || e(o).xs]
193
194
  ])
194
195
  ], 6)
195
196
  ]),
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as $, ref as F, useModel as P, resolveComponent as C, openBlock as y, createElementBlock as S, createBlock as U, resolveDynamicComponent as ne, unref as e, withCtx as v, createElementVNode as l, createVNode as n, normalizeClass as h, Fragment as L, renderList as Y, createTextVNode as G, toDisplayString as g, withDirectives as B, vShow as M, watch as re, normalizeStyle as ie } from "vue";
2
2
  import { _ as ue } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
3
- import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-4RANhaRJ.js";
4
- import { b as de, d as H, C as J, g as I, D as pe, a as fe } from "./app-_AZY94KC.js";
3
+ import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-Ojic0m8z.js";
4
+ import { b as de, d as H, C as J, g as I, D as pe, a as fe } from "./app-hNYZmnp0.js";
5
5
  import { useSnackbar as K, useBreakpoints as Q, FmButtonColorThemeVariant as q, components as z } from "@feedmepos/ui-library";
6
- import { t as w, s as ce } from "./timeFormat-MAYX7Etl.js";
6
+ import { t as w, s as ce } from "./timeFormat-jYa-Ualp.js";
7
7
  import { _ as W } from "./SelectComponent.vue_vue_type_script_setup_true_lang-6i3u0Axg.js";
8
8
  import { storeToRefs as ve } from "pinia";
9
9
  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,12 +1,12 @@
1
1
  import { defineComponent as P, mergeModels as H, useModel as z, computed as N, ref as j, resolveComponent as f, openBlock as d, createElementBlock as $, createVNode as s, withCtx as w, createElementVNode as F, Fragment as G, renderList as ue, toDisplayString as X, withModifiers as Z, unref as T, createTextVNode as oe, watch as ie, createBlock as V, createCommentVNode as x, renderSlot as we, resolveDynamicComponent as xe, normalizeClass as Ce, onMounted as Oe, isRef as $e, normalizeStyle 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 ve, W as Re, a as Ae, T as je, _ as Ee } from "./TransitionFade-CRR74Tgh.js";
3
+ import { h as Be, D as re, S as ve, W as Re, a as Ae, T as je, _ as Ee } from "./TransitionFade-pygtZzoS.js";
4
4
  import { _ as qe } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
5
- import { W as C, k as he, _ as te, d as de, g as ye, l as Te, p as Je, b as Se, u as He } from "./app-_AZY94KC.js";
5
+ import { W as C, k as he, _ as te, d as de, g as ye, l as Te, p as Je, b as Se, u as He } from "./app-hNYZmnp0.js";
6
6
  import { storeToRefs as Fe } from "pinia";
7
7
  import { useSnackbar as Pe, useBreakpoints as _e, FmButtonColorThemeVariant as se } from "@feedmepos/ui-library";
8
8
  import { _ as q } from "./SelectComponent.vue_vue_type_script_setup_true_lang-6i3u0Axg.js";
9
- import { g as me, _ as De } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-tpzMxzux.js";
9
+ import { g as me, _ as De } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-JkGZsW5j.js";
10
10
  import { _ as Ne } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
11
11
  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 || {}), pe = /* @__PURE__ */ ((u) => (u.Asc = "ASC", u.Desc = "DESC", u))(pe || {}), 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 || {});
12
12
  const Ve = [
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as Ne, onBeforeMount as sn, onBeforeUnmount as un, resolveComponent as ge, openBlock as ne, createElementBlock as ce, normalizeStyle as cn, unref as Ve, createVNode as ue, createElementVNode as Lt, renderSlot as Pe, TransitionGroup as dn, h as Dt, nextTick as Rt, 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 { c as yn, W as x, p as _n, m as bt } from "./app-_AZY94KC.js";
2
+ import { c as yn, W as x, p as _n, m as bt } from "./app-hNYZmnp0.js";
3
3
  import { useCoreStore as wn } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as En } from "pinia";
5
5
  import { useRoute as Dn } from "vue-router";
6
- import { R as Sn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-tpzMxzux.js";
6
+ import { R as Sn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-JkGZsW5j.js";
7
7
  const Cn = {
8
8
  key: 0,
9
9
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"