@feedmepos/mf-report 5.28.4-beta.1 → 5.28.4-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 (28) hide show
  1. package/dist/{App-TTaomYWJ.js → App-CO0rIxWA.js} +4 -4
  2. package/dist/{DateRangeSelect-CDWvx37Z.js → DateRangeSelect-j_1JPSHY.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-B4GS0LAe.js → Default.vue_vue_type_script_setup_true_lang-BTRNbPiK.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BXb30lZS.js → DynamicWidget.vue_vue_type_script_setup_true_lang-D1MP0Koc.js} +4 -4
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Mkp4Nbem.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CQgXdnVJ.js} +3 -3
  6. package/dist/{InsightView-DNJahikW.js → InsightView-D3Cq98b1.js} +5 -5
  7. package/dist/{Integration-BeErYlGf.js → Integration-D1-45oFB.js} +3 -3
  8. package/dist/{Integrations-DFuALsa_.js → Integrations-OQyPdZh-.js} +2 -2
  9. package/dist/{Layout-BSfIs3TK.js → Layout-Bbhc8Z8O.js} +1 -1
  10. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-C-DhURYX.js → LocationSelect.vue_vue_type_script_setup_true_lang-Bv4_DVSD.js} +2 -2
  11. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-By-I-Ye-.js → MenuTab.vue_vue_type_script_setup_true_lang-DsWBKmfz.js} +5 -5
  12. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BWLE2D5s.js → NavigationTab.vue_vue_type_script_setup_true_lang-CplZ_0DK.js} +5 -5
  13. package/dist/{OverviewView-C6bc-nyW.js → OverviewView-DAYR_-3O.js} +4 -4
  14. package/dist/{Report-Cgrz4IUu.js → Report-4NU9XLHT.js} +22 -23
  15. package/dist/{ReportCanvasView-6ratBE_J.js → ReportCanvasView-B-meSoDE.js} +3 -3
  16. package/dist/{ReportEditor-ChllQ8e0.js → ReportEditor-E-LrtdYl.js} +7 -7
  17. package/dist/{ReportView-wesF2Wbp.js → ReportView-BOBv-FMc.js} +6 -6
  18. package/dist/{ReportViewRoute-BgYwRrL6.js → ReportViewRoute-B5yL1meP.js} +2 -2
  19. package/dist/{Setting-DiWyp9vo.js → Setting-DIUJFKvF.js} +3 -3
  20. package/dist/{Template-Ce-SmgVJ.js → Template-BXHt9ILt.js} +3 -3
  21. package/dist/{TileEditor-BBNuA1AB.js → TileEditor-Dfd00DF1.js} +6 -6
  22. package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-nTBw3Jmd.js → TilePageStack.vue_vue_type_script_setup_true_lang-CcGtQ7-x.js} +2 -2
  23. package/dist/{TransitionFade-CDVNSlPY.js → TransitionFade-C0h34wzI.js} +5 -5
  24. package/dist/{app-DI6EG74T.js → app-DCn4N0uO.js} +12 -12
  25. package/dist/app.js +1 -1
  26. package/dist/{report-CFFZa-VL.js → report-Dt0VwwmM.js} +1 -1
  27. package/dist/{useRestaurantPermission-CmkLx2Hj.js → useRestaurantPermission-BAEw8_HZ.js} +1 -1
  28. package/package.json +1 -1
@@ -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-B4GS0LAe.js";
2
+ import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-BTRNbPiK.js";
3
3
  const f = /* @__PURE__ */ o({
4
4
  __name: "Layout",
5
5
  setup(m) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as Zt, mergeModels as du, useModel as tl, ref as ve, createElementBlock as ce, onMounted as ry, openBlock as N, Fragment as Ze, createBlock as de, createCommentVNode as Oe, unref as yt, computed as Ee, watch as Jn, resolveComponent as W, createElementVNode as ne, createVNode as R, renderList as jt, withCtx as Se, toDisplayString as Bn, renderSlot as nl, mergeProps as ay, normalizeClass as rl, normalizeStyle as iy, withModifiers as lu, nextTick as uy } from "vue";
2
- import { _ as oy } from "./DateRangeSelect-CDWvx37Z.js";
3
- import { a as sy } from "./app-DI6EG74T.js";
2
+ import { _ as oy } from "./DateRangeSelect-j_1JPSHY.js";
3
+ import { a as sy } from "./app-DCn4N0uO.js";
4
4
  import { useBreakpoints as ly, useDialog as cy, useDialogChild as fy } from "@feedmepos/ui-library";
5
5
  import { u as dy } from "./_plugin-vue_export-helper-C6QDExPN.js";
6
6
  const py = { class: "px-8" }, hy = { class: "max-h-[160px] overflow-y-auto" }, vy = /* @__PURE__ */ Zt({
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as S, computed as w, watch as A, createElementBlock as k, openBlock as d, createElementVNode as C, createVNode as p, unref as t, isRef as g, withCtx as y, useModel as E, resolveComponent as x, normalizeClass as B, createBlock as b, createCommentVNode as I, Fragment as L, renderList as j, toDisplayString as q } from "vue";
2
- import { a as G, h as H, g as J, i as K, j as Q, k as M } from "./app-DI6EG74T.js";
2
+ import { a as G, h as H, g as J, i as K, j as Q, k as M } from "./app-DCn4N0uO.js";
3
3
  import { storeToRefs as F } from "pinia";
4
- import { _ as X } from "./LocationSelect.vue_vue_type_script_setup_true_lang-C-DhURYX.js";
5
- import { D as Y } from "./DateRangeSelect-CDWvx37Z.js";
6
- import { f as Z, _ as h } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Mkp4Nbem.js";
4
+ import { _ as X } from "./LocationSelect.vue_vue_type_script_setup_true_lang-Bv4_DVSD.js";
5
+ import { D as Y } from "./DateRangeSelect-j_1JPSHY.js";
6
+ import { f as Z, _ as h } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CQgXdnVJ.js";
7
7
  import { useRoute as ee } from "vue-router";
8
- import { u as te, o as ae } from "./report-CFFZa-VL.js";
8
+ import { u as te, o as ae } from "./report-Dt0VwwmM.js";
9
9
  import { useBreakpoints as oe } from "@feedmepos/ui-library";
10
10
  const ne = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scrollbar-hide" }, le = { class: "flex flex-col gap-2 py-2" }, re = /* @__PURE__ */ S({
11
11
  __name: "Filter",
@@ -4,15 +4,15 @@ var wn = (e, t, r) => so(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { defineComponent as Ur, computed as Ne, useModel as ta, ref as xe, watch as ct, resolveComponent as ye, createBlock as Ge, unref as b, openBlock as fe, withCtx as De, createElementVNode as q, createVNode as re, toDisplayString as me, withDirectives as Aa, createElementBlock as be, Fragment as gr, renderList as wr, vShow as $a, createTextVNode as Hr, mergeModels as fn, createCommentVNode as Je, normalizeClass as Va, onMounted as b2, withKeys as x2, withModifiers as en, isRef as st, vModelText as P2, normalizeStyle as Ti, resolveDynamicComponent as ii, createSlots as io } from "vue";
5
5
  import { useRouter as S2, useRoute as O2 } from "vue-router";
6
6
  import { storeToRefs as Lr, defineStore as ki } from "pinia";
7
- import { u as Ha, w as Kt, E as mt, y as rn, z as Vn, v as fo, o as lo, A as oo } from "./report-CFFZa-VL.js";
7
+ import { u as Ha, w as Kt, E as mt, y as rn, z as Vn, v as fo, o as lo, A as oo } from "./report-Dt0VwwmM.js";
8
8
  import { useBreakpoints as Ls, components as ha, useSnackbar as ga, FmButtonVariant as c0 } from "@feedmepos/ui-library";
9
9
  import { u as ft, _ as D2 } from "./_plugin-vue_export-helper-C6QDExPN.js";
10
10
  import { a as u0 } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
11
- import { C as dr, g as co, a as Qt, b as I2, D as L2 } from "./DateRangeSelect-CDWvx37Z.js";
12
- import { u as wt, F as yt, X as un, a as wa, d as Ze, q as Gn, Y as F2, Z as uo, z as Ao, e as ho, n as yn, r as V2, c as po, _ as vo } from "./app-DI6EG74T.js";
11
+ import { C as dr, g as co, a as Qt, b as I2, D as L2 } from "./DateRangeSelect-j_1JPSHY.js";
12
+ import { u as wt, F as yt, X as un, a as wa, d as Ze, q as Gn, Y as F2, Z as uo, z as Ao, e as ho, n as yn, r as V2, c as po, _ as vo } from "./app-DCn4N0uO.js";
13
13
  import { detectLocale as mo, useCoreStore as go } from "@feedmepos/mf-common";
14
- import { k as A0, l as wo, f as Ci, a as yo, _ as N2, i as To, r as ko, R as Nt, m as Co } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Mkp4Nbem.js";
15
- import { _ as M2 } from "./LocationSelect.vue_vue_type_script_setup_true_lang-C-DhURYX.js";
14
+ import { k as A0, l as wo, f as Ci, a as yo, _ as N2, i as To, r as ko, R as Nt, m as Co } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CQgXdnVJ.js";
15
+ import { _ as M2 } from "./LocationSelect.vue_vue_type_script_setup_true_lang-Bv4_DVSD.js";
16
16
  import { p as Eo } from "./index-CtZE4sab.js";
17
17
  const bo = { class: "flex flex-col" }, xo = { class: "fm-typo-en-title-sm-600" }, Po = { class: "grow" }, So = { class: "flex flex-col gap-8" }, Oo = { class: "flex flex-col w-full" }, Do = { class: "flex flex-col gap-5 p-6" }, Io = { class: "flex" }, h0 = {
18
18
  // sales: [
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as g, computed as s, resolveComponent as w, createBlock as l, openBlock as i, withCtx as y, createVNode as p, createElementVNode as c, unref as e, normalizeStyle as k, normalizeClass as b } from "vue";
2
- import { _ as h } from "./TilePageStack.vue_vue_type_script_setup_true_lang-nTBw3Jmd.js";
3
- import { u as I, l as $ } from "./report-CFFZa-VL.js";
4
- import { _ as C } from "./Default.vue_vue_type_script_setup_true_lang-B4GS0LAe.js";
2
+ import { _ as h } from "./TilePageStack.vue_vue_type_script_setup_true_lang-CcGtQ7-x.js";
3
+ import { u as I, l as $ } from "./report-Dt0VwwmM.js";
4
+ import { _ as C } from "./Default.vue_vue_type_script_setup_true_lang-BTRNbPiK.js";
5
5
  import { storeToRefs as B } from "pinia";
6
6
  import { _ as z } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
7
7
  import { useBreakpoints as P } from "@feedmepos/ui-library";
8
- import { _ as R } from "./MenuTab.vue_vue_type_script_setup_true_lang-By-I-Ye-.js";
8
+ import { _ as R } from "./MenuTab.vue_vue_type_script_setup_true_lang-DsWBKmfz.js";
9
9
  import { useI18n as S } from "@feedmepos/mf-common";
10
10
  import { r as V } from "./i18n-DbyciK4x.js";
11
11
  const D = { class: "sticky top-0 z-10 bg-white" }, K = /* @__PURE__ */ g({
@@ -1,24 +1,24 @@
1
1
  import { defineComponent as Ne, ref as z, watch as be, computed as R, h as f, withModifiers as ge, resolveComponent as k, createBlock as Z, openBlock as J, withCtx as u, createVNode as i, createElementVNode as C, unref as t, normalizeStyle as Ue, normalizeClass as y, withDirectives as Se, createElementBlock as Te, Fragment as Ae, renderList as ze, toDisplayString as _, createTextVNode as Je, vShow as Ce } from "vue";
2
2
  import { storeToRefs as he } from "pinia";
3
- import { u as Be, s as Ee } from "./report-CFFZa-VL.js";
4
- import { _ as Ke } from "./Default.vue_vue_type_script_setup_true_lang-B4GS0LAe.js";
3
+ import { u as Be, s as Ee } from "./report-Dt0VwwmM.js";
4
+ import { _ as Ke } from "./Default.vue_vue_type_script_setup_true_lang-BTRNbPiK.js";
5
5
  import { u as Me } from "./message-dialog-UoMWOnil.js";
6
6
  import { u as Ye } from "./global-loader-BuxFfehu.js";
7
7
  import { useSnackbar as qe, useBreakpoints as He, components as je, FmButtonColorThemeVariant as Ge } from "@feedmepos/ui-library";
8
8
  import { _ as Qe } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
9
- import { c as We, a as we, h as Xe } from "./app-DI6EG74T.js";
9
+ import { c as We, a as we, h as Xe } from "./app-DCn4N0uO.js";
10
10
  import { useRouter as Ze, useRoute as et, onBeforeRouteLeave as tt } from "vue-router";
11
11
  import { useI18n as ot } from "@feedmepos/mf-common";
12
12
  import { r as ee } from "./i18n-DbyciK4x.js";
13
13
  const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st = { class: "w-[343px]" }, rt = { class: "fm-typo-en-body-md-600" }, St = /* @__PURE__ */ Ne({
14
14
  __name: "Report",
15
15
  setup(nt) {
16
- const { t: a, te: B } = ot(), te = Ze(), oe = et(), b = Be(), Re = We(), { business: Pe } = he(we()), {
16
+ const { t: a, te: B } = ot(), te = Ze(), oe = et(), b = Be(), Re = We(), { business: Ie } = he(we()), {
17
17
  reports: d,
18
18
  overviewReport: E,
19
19
  categories: $,
20
20
  pinReport: O,
21
- isOpenAddReportDialog: Ie,
21
+ isOpenAddReportDialog: Pe,
22
22
  scrollPositionY: ae,
23
23
  customReportQuota: F,
24
24
  canCreateCustomReport: se
@@ -35,7 +35,7 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
35
35
  return (e = O.value) == null ? void 0 : e.includes(o.id);
36
36
  }) : []);
37
37
  be(
38
- [() => Pe.value],
38
+ [() => Ie.value],
39
39
  () => {
40
40
  b.refreshPinReport();
41
41
  },
@@ -49,7 +49,7 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
49
49
  value: o.id,
50
50
  label: o.name
51
51
  }))
52
- ]), L = z(ue.value[0]), G = z(""), P = R(() => ce.value.length === 0 || $.value.length === 0 ? [] : [
52
+ ]), L = z(ue.value[0]), G = z(""), I = R(() => ce.value.length === 0 || $.value.length === 0 ? [] : [
53
53
  ...Y.value.map((e) => {
54
54
  const r = $.value.find((n) => n.id === e.category);
55
55
  return {
@@ -85,7 +85,7 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
85
85
  };
86
86
  })
87
87
  ].filter((e) => L.value.value && e.categoryId !== L.value.value ? !1 : `${(e == null ? void 0 : e.name) || ""}${(e == null ? void 0 : e.description) || ""}`.toLowerCase().indexOf(G.value.toLowerCase()) !== -1)), _e = R(
88
- () => P.value.map((o) => `${o.name}${o.category}`).toString()
88
+ () => I.value.map((o) => `${o.name}${o.category}`).toString()
89
89
  ), $e = R(() => [
90
90
  {
91
91
  accessorKey: "name",
@@ -135,11 +135,11 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
135
135
  id: "Action",
136
136
  header: a("report.common.actions"),
137
137
  meta: {
138
- width: "220px"
138
+ width: "140px"
139
139
  },
140
140
  cell: (o) => {
141
141
  var m;
142
- const e = o.row.original, r = e.reportId, n = d.value.find((g) => g.id === r), X = r === ((m = E.value) == null ? void 0 : m.id), T = !e.canRead, D = n ? ie(n) : !1, A = n ? M(n) : !1, s = !e.canUpdate || !e.isPosSupportConfigurable || v.value.has(r), I = e.isPosSupportConfigurable ? a("reportV5.reportList.posV8Hint") : a("reportV5.reportList.mandatoryPosReportHint"), c = [
142
+ const e = o.row.original, r = e.reportId, n = d.value.find((g) => g.id === r), X = r === ((m = E.value) == null ? void 0 : m.id), T = !e.canRead, D = n ? ie(n) : !1, A = n ? M(n) : !1, s = !e.canUpdate || !e.isPosSupportConfigurable || v.value.has(r), P = e.isPosSupportConfigurable ? a("reportV5.reportList.posV8Hint") : a("reportV5.reportList.mandatoryPosReportHint"), c = [
143
143
  {
144
144
  label: a("report.common.duplicate"),
145
145
  onClick: () => {
@@ -180,14 +180,13 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
180
180
  default: () => [
181
181
  f(
182
182
  De,
183
- { content: I, placement: "bottom", zIndex: 2e3 },
183
+ { content: P, placement: "bottom", zIndex: 2e3 },
184
184
  {
185
185
  default: () => f(pe, {
186
186
  modelValue: e.isSupportPos,
187
187
  disabled: s,
188
- label: "POS v8",
189
188
  "aria-label": a("report.common.showInPOS"),
190
- class: "mr-2",
189
+ class: "mr-2 scale-75",
191
190
  "onUpdate:modelValue": () => {
192
191
  n && me(n);
193
192
  },
@@ -364,7 +363,7 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
364
363
  return;
365
364
  }
366
365
  if (se.value)
367
- Ie.value = !0;
366
+ Pe.value = !0;
368
367
  else {
369
368
  let o = `Your current plan only support up to ${F.value} custom reports.`;
370
369
  F.value === 0 && (o = "Your current plan does not support custom report."), l.open({
@@ -423,8 +422,8 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
423
422
  })
424
423
  ]),
425
424
  default: u(() => [
426
- (J(!0), Te(Ae, null, ze(ue.value, (s, I) => (J(), Z(t(w), {
427
- key: I,
425
+ (J(!0), Te(Ae, null, ze(ue.value, (s, P) => (J(), Z(t(w), {
426
+ key: P,
428
427
  label: t(a)(`report.category.${s.label}`),
429
428
  onClick: () => Le(s)
430
429
  }, null, 8, ["label", "onClick"]))), 128))
@@ -434,7 +433,7 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
434
433
  C("div", {
435
434
  class: y(`flex ${t(p).sm || t(p).xs ? "justify-center items-center" : ""}`)
436
435
  }, [
437
- C("p", at, _(t(a)("report.common.results", { count: P.value.length })), 1)
436
+ C("p", at, _(t(a)("report.common.results", { count: I.value.length })), 1)
438
437
  ], 2),
439
438
  e[3] || (e[3] = C("div", { class: "grow" }, null, -1)),
440
439
  C("div", st, [
@@ -454,8 +453,8 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
454
453
  class: y([t(p).sm || t(p).xs ? "px-0" : "px-24", "report-table"]),
455
454
  style: { height: "calc(100% - 40px)" },
456
455
  "column-defs": $e.value,
457
- "row-data": P.value,
458
- "page-size": P.value.length,
456
+ "row-data": I.value,
457
+ "page-size": I.value.length,
459
458
  "hide-footer": !0,
460
459
  "row-class-name": "row",
461
460
  onRowClick: e[2] || (e[2] = (s) => {
@@ -536,7 +535,7 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
536
535
  })
537
536
  ]),
538
537
  default: u(() => {
539
- var I;
538
+ var P;
540
539
  return [
541
540
  i(t(w), {
542
541
  label: s.pin ? "Unpin" : "Pin",
@@ -596,7 +595,7 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
596
595
  }, null, 8, ["label", "disabled", "class", "onClick"]),
597
596
  i(t(w), {
598
597
  label: t(a)(
599
- s.reportId === ((I = t(E)) == null ? void 0 : I.id) ? "report.common.unsetAsOverview" : "report.common.setAsOverview"
598
+ s.reportId === ((P = t(E)) == null ? void 0 : P.id) ? "report.common.unsetAsOverview" : "report.common.setAsOverview"
600
599
  ),
601
600
  onClick: () => {
602
601
  const c = t(d).find(
@@ -641,10 +640,10 @@ const at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, st
641
640
  ]),
642
641
  _: 1
643
642
  }, 8, ["class", "column-defs", "row-data", "page-size"])), [
644
- [Ce, P.value.length > 0]
643
+ [Ce, I.value.length > 0]
645
644
  ]),
646
645
  Se(i(Qe, null, null, 512), [
647
- [Ce, P.value.length === 0]
646
+ [Ce, I.value.length === 0]
648
647
  ])
649
648
  ], 6)
650
649
  ]),
@@ -2,9 +2,9 @@ import { ref as q, shallowRef as en, onMounted as W, onBeforeUnmount as tn, defi
2
2
  import { useRoute as cn } from "vue-router";
3
3
  import { u as ln } from "./_plugin-vue_export-helper-C6QDExPN.js";
4
4
  import { storeToRefs as N } from "pinia";
5
- import { _ as un } from "./LocationSelect.vue_vue_type_script_setup_true_lang-C-DhURYX.js";
6
- import { D as fn } from "./DateRangeSelect-CDWvx37Z.js";
7
- import { F as B, r as D, u as G, a as X, a0 as mn } from "./app-DI6EG74T.js";
5
+ import { _ as un } from "./LocationSelect.vue_vue_type_script_setup_true_lang-Bv4_DVSD.js";
6
+ import { D as fn } from "./DateRangeSelect-j_1JPSHY.js";
7
+ import { F as B, r as D, u as G, a as X, a0 as mn } from "./app-DCn4N0uO.js";
8
8
  function $(r) {
9
9
  const { businessId: c } = N(G());
10
10
  if (!c.value) throw new Error("Business Id is not defined");
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as we, mergeModels as ke, useModel as Te, ref as L, computed as g, resolveComponent as C, createBlock as x, openBlock as c, withCtx as _, createElementVNode as v, createVNode as u, unref as t, normalizeClass as Le, createTextVNode as Ae, toDisplayString as U, createElementBlock as R, Fragment as he, renderSlot as gl, createCommentVNode as D, watch as ve, renderList as Ee, onMounted as bl, onUnmounted as Dl, resolveDynamicComponent as Ol, isRef as yl, normalizeStyle as rl } from "vue";
2
- import { W as Il, g as Ul, _ as Nl, a as Bl, e as De, S as We, d as hl, b as wl, T as Ml, c as Rl } from "./TransitionFade-CDVNSlPY.js";
3
- import { C as xe, D as te, b as ze, F as Je, c as Oe, u as il, i as Pe, d as pe, M as _l, r as zl, e as el, n as Pl, f as ql, g as El, h as Ll, j as Gl, k as Wl, m as Al, a as Hl, o as ml, p as ll, q as jl, Q as Qe, l as Jl, t as Ql } from "./report-CFFZa-VL.js";
2
+ import { W as Il, g as Ul, _ as Nl, a as Bl, e as De, S as We, d as hl, b as wl, T as Ml, c as Rl } from "./TransitionFade-C0h34wzI.js";
3
+ import { C as xe, D as te, b as ze, F as Je, c as Oe, u as il, i as Pe, d as pe, M as _l, r as zl, e as el, n as Pl, f as ql, g as El, h as Ll, j as Gl, k as Wl, m as Al, a as Hl, o as ml, p as ll, q as jl, Q as Qe, l as Jl, t as Ql } from "./report-Dt0VwwmM.js";
4
4
  import { storeToRefs as qe } from "pinia";
5
5
  import { useRouter as sl, useRoute as ul } from "vue-router";
6
6
  import { useBreakpoints as Ke, useSnackbar as Fl, FmButtonColorThemeVariant as Ce } from "@feedmepos/ui-library";
@@ -8,13 +8,13 @@ import { u as dl } from "./message-dialog-UoMWOnil.js";
8
8
  import { u as Kl } from "./global-loader-BuxFfehu.js";
9
9
  import { u as Ge } from "./_plugin-vue_export-helper-C6QDExPN.js";
10
10
  import { r as He } from "./i18n-DbyciK4x.js";
11
- import { _ as tl } from "./TilePageStack.vue_vue_type_script_setup_true_lang-nTBw3Jmd.js";
11
+ import { _ as tl } from "./TilePageStack.vue_vue_type_script_setup_true_lang-CcGtQ7-x.js";
12
12
  import { a as ol, _ as al } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
13
- import { d as Yl, e as Xl, i as Zl } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BXb30lZS.js";
14
- import { g as et, d as lt, _ as cl } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Mkp4Nbem.js";
13
+ import { d as Yl, e as Xl, i as Zl } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-D1MP0Koc.js";
14
+ import { g as et, d as lt, _ as cl } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CQgXdnVJ.js";
15
15
  import { useCoreStore as tt } from "@feedmepos/mf-common";
16
- import { u as ot, a as at } from "./app-DI6EG74T.js";
17
- import { d as rt } from "./DateRangeSelect-CDWvx37Z.js";
16
+ import { u as ot, a as at } from "./app-DCn4N0uO.js";
17
+ import { d as rt } from "./DateRangeSelect-j_1JPSHY.js";
18
18
  const nt = /* @__PURE__ */ we({
19
19
  __name: "WidgetDialog",
20
20
  props: /* @__PURE__ */ ke({
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as z, computed as n, createBlock as f, openBlock as y, withCtx as w, renderSlot as ne, ref as ie, watch as ue, resolveComponent as V, createVNode as k, createElementVNode as R, unref as l, toDisplayString as ce, normalizeStyle as pe, normalizeClass as me } from "vue";
2
- import { _ as de } from "./MenuTab.vue_vue_type_script_setup_true_lang-By-I-Ye-.js";
3
- import { _ as ve } from "./TilePageStack.vue_vue_type_script_setup_true_lang-nTBw3Jmd.js";
4
- import { u as fe, l as ye } from "./report-CFFZa-VL.js";
2
+ import { _ as de } from "./MenuTab.vue_vue_type_script_setup_true_lang-DsWBKmfz.js";
3
+ import { _ as ve } from "./TilePageStack.vue_vue_type_script_setup_true_lang-CcGtQ7-x.js";
4
+ import { u as fe, l as ye } from "./report-Dt0VwwmM.js";
5
5
  import { useRouter as ge, useRoute as be } from "vue-router";
6
- import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-B4GS0LAe.js";
6
+ import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-BTRNbPiK.js";
7
7
  import { storeToRefs as _ } from "pinia";
8
- import { a as we, b as Se, u as xe, g as Ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BWLE2D5s.js";
8
+ import { a as we, b as Se, u as xe, g as Ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CplZ_0DK.js";
9
9
  import { _ as L } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
10
10
  import { useSnackbar as Te, useBreakpoints as he } from "@feedmepos/ui-library";
11
11
  import { u as ke } from "./global-loader-BuxFfehu.js";
12
12
  import { u as Re } from "./message-dialog-UoMWOnil.js";
13
- import { e as Pe, h as De } from "./app-DI6EG74T.js";
13
+ import { e as Pe, h as De } from "./app-DCn4N0uO.js";
14
14
  import { u as Q, _ as Oe } from "./_plugin-vue_export-helper-C6QDExPN.js";
15
15
  import { r as Ie } from "./i18n-DbyciK4x.js";
16
16
  const Ee = /* @__PURE__ */ z({
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as i, defineAsyncComponent as t, computed as m, createBlock as r, openBlock as n, unref as o } from "vue";
2
2
  import { useRoute as f } from "vue-router";
3
- import { u as _ } from "./report-CFFZa-VL.js";
3
+ import { u as _ } from "./report-Dt0VwwmM.js";
4
4
  const v = /* @__PURE__ */ i({
5
5
  __name: "ReportViewRoute",
6
6
  setup(R) {
7
- const p = t(() => import("./ReportView-wesF2Wbp.js")), s = t(() => import("./ReportCanvasView-6ratBE_J.js")), c = f(), u = _(), a = m(() => {
7
+ const p = t(() => import("./ReportView-BOBv-FMc.js")), s = t(() => import("./ReportCanvasView-B-meSoDE.js")), c = f(), u = _(), a = m(() => {
8
8
  var e;
9
9
  return ((e = u.currentReport) == null ? void 0 : e.reportType) === "canvas";
10
10
  });
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as R, ref as N, useModel as L, resolveComponent as V, createElementBlock as $, openBlock as h, createBlock as U, createElementVNode as t, resolveDynamicComponent as ue, unref as e, withCtx as b, createVNode as n, normalizeClass as B, toDisplayString as a, Fragment as W, renderList as X, createTextVNode as de, withDirectives as Y, vShow as ee, createCommentVNode as pe, computed as q, watch as ce, normalizeStyle as fe } from "vue";
2
- import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-B4GS0LAe.js";
3
- import { d as A, C as G, D as ve, l as ge, m as Z, a as ye } from "./app-DI6EG74T.js";
2
+ import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-BTRNbPiK.js";
3
+ import { d as A, C as G, D as ve, l as ge, m as Z, a as ye } from "./app-DCn4N0uO.js";
4
4
  import { components as K, useSnackbar as te, useBreakpoints as oe, FmButtonColorThemeVariant as Q } from "@feedmepos/ui-library";
5
- import { e as le, t as E, s as he } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Mkp4Nbem.js";
5
+ import { e as le, t as E, s as he } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CQgXdnVJ.js";
6
6
  import { u as xe } from "./message-dialog-UoMWOnil.js";
7
7
  import { u as w } from "./_plugin-vue_export-helper-C6QDExPN.js";
8
8
  import { detectLocale as F } from "@feedmepos/mf-common";
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as ie, computed as u, resolveComponent as v, createElementBlock as A, openBlock as _, renderSlot as Ve, createVNode as n, withCtx as s, createCommentVNode as q, createElementVNode as i, toDisplayString as d, ref as b, h as p, onMounted as Le, createBlock as R, unref as l, normalizeStyle as Se, normalizeClass as C, withDirectives as ae, Fragment as $e, renderList as Ie, withModifiers as re, vShow as ne } from "vue";
2
2
  import { a as Re } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
3
3
  import { u as me } from "./_plugin-vue_export-helper-C6QDExPN.js";
4
- import { _ as Pe } from "./Default.vue_vue_type_script_setup_true_lang-B4GS0LAe.js";
4
+ import { _ as Pe } from "./Default.vue_vue_type_script_setup_true_lang-BTRNbPiK.js";
5
5
  import { u as ze } from "./global-loader-BuxFfehu.js";
6
6
  import { u as De } from "./message-dialog-UoMWOnil.js";
7
- import { u as Ne } from "./report-CFFZa-VL.js";
7
+ import { u as Ne } from "./report-Dt0VwwmM.js";
8
8
  import { r as se } from "./i18n-DbyciK4x.js";
9
9
  import { useBreakpoints as Be, useSnackbar as Me, components as Ee, FmButtonColorThemeVariant as Ke } from "@feedmepos/ui-library";
10
10
  import { useRouter as Ue, useRoute as He } from "vue-router";
11
11
  import { storeToRefs as Oe } from "pinia";
12
- import { h as je } from "./app-DI6EG74T.js";
12
+ import { h as je } from "./app-DCn4N0uO.js";
13
13
  const Ae = { class: "flex flex-col h-full" }, qe = ["src"], Ge = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Je = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, Qe = /* @__PURE__ */ ie({
14
14
  __name: "NoTemplate",
15
15
  props: {
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as de, mergeModels as ve, useModel as ge, computed as C, ref as oe, resolveComponent as A, createElementBlock as W, openBlock as m, createVNode as u, createElementVNode as g, unref as l, withCtx as Z, toDisplayString as K, Fragment as me, renderList as $e, withModifiers as he, createTextVNode as Xe, watch as ke, createCommentVNode as P, createBlock as z, renderSlot as Fl, onBeforeUnmount as ul, resolveDynamicComponent as Vl, normalizeClass as Ve, withDirectives as Fe, vShow as Te, onMounted as Sl, withKeys as fl, vModelText as Xl, normalizeStyle as sl, isRef as Hl } from "vue";
2
2
  import { useRoute as ql, useRouter as Gl } from "vue-router";
3
- import { u as dl, f as ml, h as We, F as Ne, d as He, S as rl, a as Yl, W as Jl, T as Kl, c as Ql, b as gl } from "./TransitionFade-CDVNSlPY.js";
4
- import { W as J, a as _l, D as Ke, S as yl, C as Zl, u as Tl, P as bl, F as Pe, c as Le, o as et, k as lt } from "./report-CFFZa-VL.js";
3
+ import { u as dl, f as ml, h as We, F as Ne, d as He, S as rl, a as Yl, W as Jl, T as Kl, c as Ql, b as gl } from "./TransitionFade-C0h34wzI.js";
4
+ import { W as J, a as _l, D as Ke, S as yl, C as Zl, u as Tl, P as bl, F as Pe, c as Le, o as et, k as lt } from "./report-Dt0VwwmM.js";
5
5
  import { storeToRefs as Re } from "pinia";
6
6
  import { u as $l } from "./message-dialog-UoMWOnil.js";
7
7
  import { useSnackbar as tt, useBreakpoints as Dl, FmButtonColorThemeVariant as Ue } from "@feedmepos/ui-library";
8
- import { h as ot, g as xe, R as hl, d as at, e as nt, a as it, L as Ae, b as al, S as re, c as fe, f as nl, j as wl, _ as Ul } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BXb30lZS.js";
9
- import { a as qe, _ as st } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Mkp4Nbem.js";
8
+ import { h as ot, g as xe, R as hl, d as at, e as nt, a as it, L as Ae, b as al, S as re, c as fe, f as nl, j as wl, _ as Ul } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-D1MP0Koc.js";
9
+ import { a as qe, _ as st } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CQgXdnVJ.js";
10
10
  import { a as be, _ as Bl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
11
11
  import { u as pe, _ as Ll } from "./_plugin-vue_export-helper-C6QDExPN.js";
12
12
  import { r as ue } from "./i18n-DbyciK4x.js";
13
13
  import { a as je } from "./index-CtZE4sab.js";
14
- import { d as Qe } from "./DateRangeSelect-CDWvx37Z.js";
15
- import { a as rt, d as Je } from "./app-DI6EG74T.js";
14
+ import { d as Qe } from "./DateRangeSelect-j_1JPSHY.js";
15
+ import { a as rt, d as Je } from "./app-DCn4N0uO.js";
16
16
  const tl = [
17
17
  {
18
18
  type: J.Circular,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as R, reactive as J, resolveComponent as B, createElementBlock as d, openBlock as n, Fragment as I, renderList as P, createBlock as V, createCommentVNode as y, unref as oe, normalizeStyle as w, normalizeClass as l, withCtx as C, createVNode as u, createElementVNode as $, toDisplayString as T, mergeProps as ne, createSlots as ie, withDirectives as G, vShow as L, ref as de, watch as se } from "vue";
2
2
  import { u as X } from "./_plugin-vue_export-helper-C6QDExPN.js";
3
- import { k as ae, _ as O, l as ce, m as le, n as ue, t as pe, p as me } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BXb30lZS.js";
4
- import { i as fe, F as D, W as ye } from "./report-CFFZa-VL.js";
3
+ import { k as ae, _ as O, l as ce, m as le, n as ue, t as pe, p as me } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-D1MP0Koc.js";
4
+ import { i as fe, F as D, W as ye } from "./report-Dt0VwwmM.js";
5
5
  import { useBreakpoints as he } from "@feedmepos/ui-library";
6
6
  import { r as Y } from "./i18n-DbyciK4x.js";
7
7
  const _e = {
@@ -4,15 +4,15 @@ import { useCoreStore as po } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as In } from "pinia";
5
5
  import { useRoute as mo } from "vue-router";
6
6
  import { u as Lt, _ as an } from "./_plugin-vue_export-helper-C6QDExPN.js";
7
- import { W as xe, Q as ho, b as Ge } from "./report-CFFZa-VL.js";
7
+ import { W as xe, Q as ho, b as Ge } from "./report-Dt0VwwmM.js";
8
8
  import { p as go, a as On } from "./index-CtZE4sab.js";
9
- import { d as Sn } from "./DateRangeSelect-CDWvx37Z.js";
10
- import { u as vo, F as bo, r as yo, d as Ut } from "./app-DI6EG74T.js";
11
- import { I as rt, b as Cn, c as Rn, g as Eo, a as _o } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Mkp4Nbem.js";
9
+ import { d as Sn } from "./DateRangeSelect-j_1JPSHY.js";
10
+ import { u as vo, F as bo, r as yo, d as Ut } from "./app-DCn4N0uO.js";
11
+ import { I as rt, b as Cn, c as Rn, g as Eo, a as _o } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CQgXdnVJ.js";
12
12
  import { a as dn } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
13
13
  import { r as fn } from "./i18n-DbyciK4x.js";
14
14
  import { useSnackbar as To } from "@feedmepos/ui-library";
15
- import { g as gt } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BXb30lZS.js";
15
+ import { g as gt } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-D1MP0Koc.js";
16
16
  const wo = {
17
17
  key: 0,
18
18
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
@@ -16594,7 +16594,7 @@ const Cd = [
16594
16594
  path: "/overview",
16595
16595
  alias: ["/"],
16596
16596
  name: "overview",
16597
- component: io(() => import("./OverviewView-C6bc-nyW.js")),
16597
+ component: io(() => import("./OverviewView-DAYR_-3O.js")),
16598
16598
  meta: {
16599
16599
  validationManifest: ao(
16600
16600
  y.report_accessOverview
@@ -16604,18 +16604,18 @@ const Cd = [
16604
16604
  {
16605
16605
  path: "/report",
16606
16606
  name: "reports",
16607
- component: () => import("./Report-Cgrz4IUu.js")
16607
+ component: () => import("./Report-4NU9XLHT.js")
16608
16608
  },
16609
16609
  {
16610
16610
  path: "/template",
16611
16611
  name: "template",
16612
- component: () => import("./Template-Ce-SmgVJ.js"),
16612
+ component: () => import("./Template-BXHt9ILt.js"),
16613
16613
  beforeEnter: () => ti().canAccessTemplate() ? !0 : { name: "reports" }
16614
16614
  },
16615
16615
  {
16616
16616
  path: "/insights",
16617
16617
  name: "insights",
16618
- component: io(() => import("./InsightView-DNJahikW.js")),
16618
+ component: io(() => import("./InsightView-D3Cq98b1.js")),
16619
16619
  meta: {
16620
16620
  validationManifest: ao(
16621
16621
  y.report_accessInsight
@@ -16625,7 +16625,7 @@ const Cd = [
16625
16625
  {
16626
16626
  path: "/report-view",
16627
16627
  name: "reportView",
16628
- component: () => import("./ReportViewRoute-BgYwRrL6.js")
16628
+ component: () => import("./ReportViewRoute-B5yL1meP.js")
16629
16629
  },
16630
16630
  {
16631
16631
  // canvas reports used to live here; existing links and scheduled emails still carry it
@@ -16635,17 +16635,17 @@ const Cd = [
16635
16635
  {
16636
16636
  path: "/report-editor",
16637
16637
  name: "reportEditor",
16638
- component: () => import("./ReportEditor-ChllQ8e0.js")
16638
+ component: () => import("./ReportEditor-E-LrtdYl.js")
16639
16639
  },
16640
16640
  {
16641
16641
  path: "/report-editor/tile-editor",
16642
16642
  name: "tileEditor",
16643
- component: () => import("./TileEditor-BBNuA1AB.js")
16643
+ component: () => import("./TileEditor-Dfd00DF1.js")
16644
16644
  },
16645
16645
  {
16646
16646
  path: "/setting",
16647
16647
  name: "setting",
16648
- component: io(() => import("./Setting-DiWyp9vo.js")),
16648
+ component: io(() => import("./Setting-DIUJFKvF.js")),
16649
16649
  meta: {
16650
16650
  validationManifest: ao(
16651
16651
  y.report_accessSetting
@@ -16654,7 +16654,7 @@ const Cd = [
16654
16654
  },
16655
16655
  {
16656
16656
  path: "/integration",
16657
- component: io(() => import("./Layout-BSfIs3TK.js")),
16657
+ component: io(() => import("./Layout-Bbhc8Z8O.js")),
16658
16658
  meta: {
16659
16659
  validationManifest: ao(
16660
16660
  y.report_accessIntegration
@@ -16664,12 +16664,12 @@ const Cd = [
16664
16664
  {
16665
16665
  name: "integrations",
16666
16666
  path: "",
16667
- component: () => import("./Integrations-DFuALsa_.js")
16667
+ component: () => import("./Integrations-OQyPdZh-.js")
16668
16668
  },
16669
16669
  {
16670
16670
  name: "integration",
16671
16671
  path: "/integration/:id",
16672
- component: () => import("./Integration-BeErYlGf.js")
16672
+ component: () => import("./Integration-D1-45oFB.js")
16673
16673
  }
16674
16674
  ]
16675
16675
  },
@@ -16688,7 +16688,7 @@ pi({
16688
16688
  history: fi("/"),
16689
16689
  routes: Cd
16690
16690
  });
16691
- const wu = Tn(() => import("./App-TTaomYWJ.js"));
16691
+ const wu = Tn(() => import("./App-CO0rIxWA.js"));
16692
16692
  export {
16693
16693
  xd as $,
16694
16694
  Ol as A,
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { a1 as e, V as o, a2 as p } from "./app-DI6EG74T.js";
2
+ import { a1 as e, V as o, a2 as p } from "./app-DCn4N0uO.js";
3
3
  export {
4
4
  e as FmApp,
5
5
  o as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { u as p, F as m, r as v, p as be, a as ye, b as we, n as Se, h as Ie } from "./app-DI6EG74T.js";
1
+ import { u as p, F as m, r as v, p as be, a as ye, b as we, n as Se, h as Ie } from "./app-DCn4N0uO.js";
2
2
  import { storeToRefs as l, defineStore as j } from "pinia";
3
3
  import { ref as i, computed as $, watch as Ae } from "vue";
4
4
  import { useSnackbar as W } from "@feedmepos/ui-library";
@@ -2,7 +2,7 @@ import { computed as u } from "vue";
2
2
  import { u as c } from "./_plugin-vue_export-helper-C6QDExPN.js";
3
3
  import { useSnackbar as f } from "@feedmepos/ui-library";
4
4
  import { useCoreStore as d } from "@feedmepos/mf-common";
5
- import { T as l, U as i } from "./app-DI6EG74T.js";
5
+ import { T as l, U as i } from "./app-DCn4N0uO.js";
6
6
  function g(t) {
7
7
  return Array.isArray(t) ? t : [];
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-report",
3
- "version": "5.28.4-beta.1",
3
+ "version": "5.28.4-beta.2",
4
4
  "files": [
5
5
  "dist"
6
6
  ],