@feedmepos/mf-report 5.32.3 → 5.33.0-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 (40) hide show
  1. package/dist/App-ZE1kA1jU.js +358 -0
  2. package/dist/{DateRangeSelect-6ojNsYQf.js → DateRangeSelect-B10B3ZaN.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-DinIx-4F.js → Default.vue_vue_type_script_setup_true_lang-dtu8Gum_.js} +1 -1
  4. package/dist/{DigestListView-Rv4nvsme.js → DigestListView-CqyxDNR_.js} +3 -3
  5. package/dist/{DigestReaderView-Cy5rWEDn.js → DigestReaderView-ILhtZ6ke.js} +4 -4
  6. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CrRev99v.js → DynamicWidget.vue_vue_type_script_setup_true_lang-Dk6NA-nL.js} +7 -7
  7. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CaFtkGgu.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Do8UrF5k.js} +753 -753
  8. package/dist/{InsightView-SOS32a9h.js → InsightView-cZx4gAxG.js} +5 -5
  9. package/dist/{Integration-CWo6GL7F.js → Integration-CgEy3mhX.js} +3 -3
  10. package/dist/{Integrations-T1M6Fbke.js → Integrations-BTy2r5Au.js} +2 -2
  11. package/dist/{Layout-CNhJDEmI.js → Layout-B3MnHb6_.js} +1 -1
  12. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-DgFWhBfv.js → LocationSelect.vue_vue_type_script_setup_true_lang-DqPi50ty.js} +1752 -1743
  13. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BltVG4Ta.js → MenuTab.vue_vue_type_script_setup_true_lang-DGMEWWMl.js} +5 -5
  14. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-B70bamMw.js → NavigationTab.vue_vue_type_script_setup_true_lang-CS-gvEAf.js} +3187 -3187
  15. package/dist/{OverviewView-DM_qaGcz.js → OverviewView-CnsSS3dA.js} +5 -5
  16. package/dist/Report-aCXfcgbD.js +722 -0
  17. package/dist/{ReportCanvasView-0680UK2i.js → ReportCanvasView-DJiD7cHf.js} +5 -5
  18. package/dist/{ReportEditor-9gIhhaWp.js → ReportEditor-D6VOw4xg.js} +7 -7
  19. package/dist/{ReportView-B1a3q6Ea.js → ReportView-DHxQQHdv.js} +64 -62
  20. package/dist/{ReportViewRoute-DW-K8Abr.js → ReportViewRoute-R7QAQx-y.js} +2 -2
  21. package/dist/{Setting-BikzZySl.js → Setting-C3q0gsVs.js} +3 -3
  22. package/dist/Template-DulgV4HH.js +557 -0
  23. package/dist/{TileEditor-B21SIE0n.js → TileEditor-B04Vkqd4.js} +6 -6
  24. package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-BH2WdtF-.js → TilePageStack.vue_vue_type_script_setup_true_lang-Cn6yji3z.js} +2 -2
  25. package/dist/{TransitionFade-DNtxHJq8.js → TransitionFade-B0IFIQeH.js} +6 -6
  26. package/dist/{app-DSxKqUxD.js → app-60Wbr-Yr.js} +2517 -2449
  27. package/dist/app.js +2 -2
  28. package/dist/assets/{formatChartData.worker-McooHFG-.js → formatChartData.worker-o6kHvamD.js} +4 -4
  29. package/dist/assets/{processTableData.worker-B6m0dNAb.js → processTableData.worker-B7UZDrcg.js} +4 -4
  30. package/dist/{currency-BJiFhFc7.js → currency-JlsW9tkr.js} +1 -1
  31. package/dist/{index-BdZ-RSDt.js → index-BcttP7wp.js} +15 -15
  32. package/dist/{report-DcuMyUEc.js → report-CN9S4Zga.js} +132 -132
  33. package/dist/style.css +1 -1
  34. package/dist/{useDigestFont-DYDD96g_.js → useDigestFont-CyF_Sl2L.js} +1 -1
  35. package/dist/{useReportCanvasPanel-6D4KNid_.js → useReportCanvasPanel-DHUVpFYD.js} +3 -3
  36. package/dist/{useRestaurantPermission-5C-J7LtV.js → useRestaurantPermission-BjxYCII1.js} +1 -1
  37. package/package.json +2 -2
  38. package/dist/App-Ct4zKRmu.js +0 -339
  39. package/dist/Report-BpCqn_xs.js +0 -712
  40. package/dist/Template-DKUNK3A7.js +0 -522
@@ -3,11 +3,11 @@ import { useRoute as na, useRouter as ra } from "vue-router";
3
3
  import { u as ct, _ as vt } from "./_plugin-vue_export-helper-C6QDExPN.js";
4
4
  import { storeToRefs as je } from "pinia";
5
5
  import { useSnackbar as sa } from "@feedmepos/ui-library";
6
- import { g as la, r as ia, f as ua, h as da, u as ca, c as va, b as fa, a as ma, R as pa, e as ya, p as ba, i as ha, j as ga, k as it, l as wa } from "./useReportCanvasPanel-6D4KNid_.js";
7
- import { _ as _a } from "./LocationSelect.vue_vue_type_script_setup_true_lang-DgFWhBfv.js";
8
- import { D as ka } from "./DateRangeSelect-6ojNsYQf.js";
9
- import { a as ft, j as xa } from "./app-DSxKqUxD.js";
10
- import { u as Ca } from "./report-DcuMyUEc.js";
6
+ import { g as la, r as ia, f as ua, h as da, u as ca, c as va, b as fa, a as ma, R as pa, e as ya, p as ba, i as ha, j as ga, k as it, l as wa } from "./useReportCanvasPanel-DHUVpFYD.js";
7
+ import { _ as _a } from "./LocationSelect.vue_vue_type_script_setup_true_lang-DqPi50ty.js";
8
+ import { D as ka } from "./DateRangeSelect-B10B3ZaN.js";
9
+ import { a as ft, j as xa } from "./app-60Wbr-Yr.js";
10
+ import { u as Ca } from "./report-CN9S4Zga.js";
11
11
  import { u as Sa } from "./global-loader-BuxFfehu.js";
12
12
  import { r as Ra } from "./i18n-DbyciK4x.js";
13
13
  const Va = ["aria-label"], Aa = { class: "flex h-64 shrink-0 items-center gap-12 border-b border-fm-color-border-secondary px-[20px]" }, $a = { class: "fm-typo-en-body-md-600 grow" }, Ea = ["aria-label", "disabled"], Fa = { class: "min-h-0 grow overflow-y-auto px-[20px] py-[20px]" }, Da = { class: "fm-typo-en-body-md-400 mb-[20px] text-fm-color-typo-secondary" }, Ia = { class: "mb-24 rounded-[12px] border border-fm-color-border-secondary p-16" }, Ta = { class: "mb-8 flex items-center gap-8" }, Oa = { class: "fm-typo-en-body-md-600 grow" }, Ba = { class: "fm-typo-en-body-sm-600 rounded-md bg-fm-color-neutral-gray-100 px-8 py-4" }, La = {
@@ -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-DNtxHJq8.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-DcuMyUEc.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-B0IFIQeH.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-CN9S4Zga.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-BH2WdtF-.js";
11
+ import { _ as tl } from "./TilePageStack.vue_vue_type_script_setup_true_lang-Cn6yji3z.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-CrRev99v.js";
14
- import { g as et, d as lt, _ as cl } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CaFtkGgu.js";
13
+ import { d as Yl, e as Xl, i as Zl } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-Dk6NA-nL.js";
14
+ import { g as et, d as lt, _ as cl } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Do8UrF5k.js";
15
15
  import { useCoreStore as tt } from "@feedmepos/mf-common";
16
- import { u as ot, a as at } from "./app-DSxKqUxD.js";
17
- import { d as rt } from "./DateRangeSelect-6ojNsYQf.js";
16
+ import { u as ot, a as at } from "./app-60Wbr-Yr.js";
17
+ import { d as rt } from "./DateRangeSelect-B10B3ZaN.js";
18
18
  const nt = /* @__PURE__ */ we({
19
19
  __name: "WidgetDialog",
20
20
  props: /* @__PURE__ */ ke({
@@ -1,67 +1,69 @@
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-BltVG4Ta.js";
3
- import { _ as ve } from "./TilePageStack.vue_vue_type_script_setup_true_lang-BH2WdtF-.js";
4
- import { u as fe, l as ye } from "./report-DcuMyUEc.js";
5
- import { useRouter as ge, useRoute as be } from "vue-router";
6
- import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-DinIx-4F.js";
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-B70bamMw.js";
1
+ import { defineComponent as z, computed as n, createBlock as y, openBlock as g, withCtx as w, renderSlot as ie, ref as ue, watch as ce, resolveComponent as V, createVNode as k, createElementVNode as R, unref as l, toDisplayString as pe, normalizeStyle as me, normalizeClass as de } from "vue";
2
+ import { _ as ve } from "./MenuTab.vue_vue_type_script_setup_true_lang-DGMEWWMl.js";
3
+ import { _ as fe } from "./TilePageStack.vue_vue_type_script_setup_true_lang-Cn6yji3z.js";
4
+ import { u as ye, l as ge } from "./report-CN9S4Zga.js";
5
+ import { useRouter as be, useRoute as _e } from "vue-router";
6
+ import { _ as we } from "./Default.vue_vue_type_script_setup_true_lang-dtu8Gum_.js";
7
+ import { storeToRefs as f } from "pinia";
8
+ import { u as Se, e as Ce, j as xe } from "./app-60Wbr-Yr.js";
9
+ import { a as Te, b as he, u as ke, g as Re } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CS-gvEAf.js";
9
10
  import { _ as L } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
10
- import { useSnackbar as Te, useBreakpoints as he } from "@feedmepos/ui-library";
11
- import { u as ke } from "./global-loader-BuxFfehu.js";
12
- import { u as Re } from "./message-dialog-UoMWOnil.js";
13
- import { e as Pe, j as De } from "./app-DSxKqUxD.js";
14
- import { u as Q, _ as Oe } from "./_plugin-vue_export-helper-C6QDExPN.js";
15
- import { r as Ie } from "./i18n-DbyciK4x.js";
16
- const Ee = /* @__PURE__ */ z({
11
+ import { useSnackbar as Pe, useBreakpoints as De } from "@feedmepos/ui-library";
12
+ import { u as Oe } from "./global-loader-BuxFfehu.js";
13
+ import { u as Ie } from "./message-dialog-UoMWOnil.js";
14
+ import { u as Q, _ as Ee } from "./_plugin-vue_export-helper-C6QDExPN.js";
15
+ import { r as $e } from "./i18n-DbyciK4x.js";
16
+ const Ae = /* @__PURE__ */ z({
17
17
  __name: "NoPermission",
18
18
  props: {
19
19
  title: { default: "report.messages.noPermission" },
20
20
  subTitle: { default: "report.messages.noPermissionPageAccess" }
21
21
  },
22
22
  setup(P) {
23
- const t = P, { t: g } = Q(), m = n(() => g(t.title)), c = n(() => g(t.subTitle));
24
- return (r, S) => (y(), f(L, {
23
+ const t = P, { t: b } = Q(), m = n(() => b(t.title)), c = n(() => b(t.subTitle));
24
+ return (r, S) => (g(), y(L, {
25
25
  title: m.value,
26
26
  "sub-title": c.value
27
27
  }, {
28
28
  menu: w(() => [
29
- ne(r.$slots, "menu")
29
+ ie(r.$slots, "menu")
30
30
  ]),
31
31
  _: 3
32
32
  }, 8, ["title", "sub-title"]));
33
33
  }
34
- }), $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-hidden text-ellipsis whitespace-nowrap" }, Ae = { class: "sticky top-0 z-10 bg-white" }, Ne = /* @__PURE__ */ z({
34
+ }), Ne = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-hidden text-ellipsis whitespace-nowrap" }, Je = { class: "sticky top-0 z-10 bg-white" }, qe = /* @__PURE__ */ z({
35
35
  __name: "ReportView",
36
36
  setup(P) {
37
- const { t, te: g } = Q(), m = ge(), c = be(), r = Te(), { promptMessage: S } = Re(), d = fe(), D = we(), { promptLoader: x } = ke(), { breakpoints: u } = he(), { isOpenAccountingDialog: U } = _(Se()), { isOpenScheduleDialog: O } = _(xe()), { disabled: I } = _(Pe()), E = ie(null), $ = n(
37
+ const { t, te: b } = Q(), m = be(), c = _e(), r = Pe(), { promptMessage: S } = Ie(), d = ye(), D = Te(), { promptLoader: C } = Oe(), { breakpoints: u } = De(), { isOpenAccountingDialog: U } = f(he()), { isFoodCourt: H } = f(Se()), { isOpenScheduleDialog: O } = f(ke()), { disabled: I } = f(Ce()), E = ue(null), $ = n(
38
38
  () => {
39
39
  var s;
40
40
  return ((s = E.value) == null ? void 0 : s.reportId) === p.value;
41
41
  }
42
42
  ), {
43
43
  currentReport: e,
44
- overviewReport: H,
44
+ overviewReport: M,
45
45
  currentReportId: p,
46
- isOpenDownloadDialog: M,
47
- isOpenEmailDialog: W,
46
+ isOpenDownloadDialog: W,
47
+ isOpenEmailDialog: Y,
48
48
  editingReport: A,
49
- canCreateCustomReport: Y,
49
+ canCreateCustomReport: G,
50
50
  customReportQuota: N
51
- } = _(d), { canRead: G, canUpdate: K, canDuplicate: X, canEditQueryEngine: Z, isAdmin: ee } = De(), J = n(
52
- () => !!e.value && Z(e.value)
53
- ), b = n(() => e.value ? G(e.value) : !0), C = n(
54
- () => b.value && ee.value && !!e.value && !e.value.isDefault
51
+ } = f(d), { canRead: K, canUpdate: X, canDuplicate: Z, canEditQueryEngine: ee, isAdmin: te } = xe(), J = n(
52
+ () => !!e.value && ee(e.value)
53
+ ), _ = n(() => e.value ? K(e.value) : !0), x = n(
54
+ () => _.value && te.value && !!e.value && !e.value.isDefault
55
55
  );
56
- ue(
56
+ ce(
57
57
  () => p.value,
58
- async () => E.value = await Ce(p.value),
58
+ async () => {
59
+ E.value = H.value ? null : await Re(p.value);
60
+ },
59
61
  { immediate: !0 }
60
62
  );
61
- const te = n(() => {
63
+ const oe = n(() => {
62
64
  var a;
63
- if (!b.value) return [];
64
- const s = p.value === ((a = H.value) == null ? void 0 : a.id), o = [
65
+ if (!_.value) return [];
66
+ const s = p.value === ((a = M.value) == null ? void 0 : a.id), o = [
65
67
  {
66
68
  icon: "mail",
67
69
  label: t("report.common.emailSchedule"),
@@ -73,7 +75,7 @@ const Ee = /* @__PURE__ */ z({
73
75
  icon: "article",
74
76
  label: t(s ? "report.common.unsetAsOverview" : "report.common.setAsOverview"),
75
77
  onClick: async () => {
76
- await x(async () => {
78
+ await C(async () => {
77
79
  if (e.value)
78
80
  try {
79
81
  await d.updateDefaultReport(s ? null : e.value.id), r.open({
@@ -105,7 +107,7 @@ const Ee = /* @__PURE__ */ z({
105
107
  icon: "download",
106
108
  label: t("report.common.accountingExport"),
107
109
  onClick: B
108
- }), C.value && o.splice(o.length - 1, 0, {
110
+ }), x.value && o.splice(o.length - 1, 0, {
109
111
  icon: "library_add",
110
112
  label: t("report.common.copyToTemplate"),
111
113
  onClick: () => {
@@ -116,12 +118,12 @@ const Ee = /* @__PURE__ */ z({
116
118
  async function q() {
117
119
  D.isOpenJobDialog = !0, await D.getJobs();
118
120
  }
119
- function oe() {
121
+ function ae() {
120
122
  if (e.value && J.value) {
121
123
  A.value = JSON.parse(JSON.stringify(e.value)), m.push({ name: "reportEditor", query: c.query });
122
124
  return;
123
125
  }
124
- if (!e.value || !K(e.value)) {
126
+ if (!e.value || !X(e.value)) {
125
127
  r.open({
126
128
  message: t("report.messages.noPermissionUpdateReport"),
127
129
  type: "error"
@@ -133,15 +135,15 @@ const Ee = /* @__PURE__ */ z({
133
135
  query: c.query
134
136
  });
135
137
  }
136
- async function ae() {
137
- if (!e.value || !X(e.value)) {
138
+ async function re() {
139
+ if (!e.value || !Z(e.value)) {
138
140
  r.open({
139
141
  message: t("report.messages.noPermissionDuplicateReport"),
140
142
  type: "error"
141
143
  });
142
144
  return;
143
145
  }
144
- if (!Y.value) {
146
+ if (!G.value) {
145
147
  let o = `Your current plan only support up to ${N.value} custom reports.`;
146
148
  N.value === 0 && (o = "Your current plan does not support custom report."), r.open({
147
149
  message: o,
@@ -163,7 +165,7 @@ const Ee = /* @__PURE__ */ z({
163
165
  const o = JSON.parse(JSON.stringify(e.value));
164
166
  o.editable = !0, o.id = "", o.name = `${o.name} duplicate`, o.isDefault = !1;
165
167
  try {
166
- await x(async () => {
168
+ await C(async () => {
167
169
  const a = await d.createOrUpdateReport(o);
168
170
  d.updateCurrentReportId(a.id), m.push({
169
171
  name: "reportView",
@@ -178,7 +180,7 @@ const Ee = /* @__PURE__ */ z({
178
180
  }
179
181
  async function j() {
180
182
  var o;
181
- if (!C.value) {
183
+ if (!x.value) {
182
184
  r.open({
183
185
  message: t("report.messages.noPermission"),
184
186
  type: "error"
@@ -197,7 +199,7 @@ const Ee = /* @__PURE__ */ z({
197
199
  })
198
200
  }))
199
201
  try {
200
- await x(async () => {
202
+ await C(async () => {
201
203
  var a;
202
204
  await d.createReportTemplate(e.value), r.open({
203
205
  message: t("report.messages.copyTemplateSuccess", { name: (a = e.value) == null ? void 0 : a.name }),
@@ -214,12 +216,12 @@ const Ee = /* @__PURE__ */ z({
214
216
  function B() {
215
217
  U.value = !0;
216
218
  }
217
- function re() {
219
+ function se() {
218
220
  e.value && (navigator.clipboard.writeText(p.value), r.open({ message: "Copied report ID to clipboard", type: "success" }));
219
221
  }
220
- const T = n(() => e.value ? e.value.tiles : []), se = n(() => ye(T.value)), le = n(() => {
222
+ const T = n(() => e.value ? e.value.tiles : []), le = n(() => ge(T.value)), ne = n(() => {
221
223
  var a;
222
- if (!b.value) return [];
224
+ if (!_.value) return [];
223
225
  const s = !!((a = e.value) != null && a.editable);
224
226
  let o = [
225
227
  ...s || J.value ? [{ label: t("report.common.edit"), value: "edit", isPrimary: !1 }] : [],
@@ -238,29 +240,29 @@ const Ee = /* @__PURE__ */ z({
238
240
  { label: t("report.common.reportStatus"), value: "report_jobs", isPrimary: !1 },
239
241
  { label: t("report.common.emailSchedule"), value: "schedule_email", isPrimary: !1 },
240
242
  { label: t("report.common.copyID"), value: "content_copy", isPrimary: !1 }
241
- ], C.value && o.push({
243
+ ], x.value && o.push({
242
244
  label: t("report.common.copyToTemplate"),
243
245
  value: "copy_to_template",
244
246
  isPrimary: !1
245
247
  }), !I.value && $.value && o.push({ label: t("report.common.accountingExport"), value: "export", isPrimary: !1 }), o = o.filter((v) => v.value !== "edit")), o;
246
248
  }), h = n(() => {
247
249
  var s;
248
- return Ie(t, g, (s = e == null ? void 0 : e.value) == null ? void 0 : s.name, "other");
250
+ return $e(t, b, (s = e == null ? void 0 : e.value) == null ? void 0 : s.name, "other");
249
251
  });
250
252
  return (s, o) => {
251
253
  const a = V("FmTooltip"), v = V("FmPageHead");
252
- return y(), f(_e, null, {
254
+ return g(), y(we, null, {
253
255
  default: w(() => {
254
256
  var F;
255
257
  return [
256
258
  k(v, {
257
259
  title: h.value,
258
260
  "back-button": !0,
259
- actions: le.value,
261
+ actions: ne.value,
260
262
  class: "remove-line-clamping",
261
263
  "onClick:back": o[0] || (o[0] = (i) => l(m).push({ name: "reports", query: l(c).query })),
262
264
  "onClick:action": o[1] || (o[1] = (i) => {
263
- i === "duplicate" && ae(), i === "download" && (M.value = !0), i === "email" && (W.value = !0), i === "edit" && oe(), i === "schedule_email" && (O.value = !0), i === "content_copy" && re(), i === "copy_to_template" && j(), i === "export" && B(), i === "report_jobs" && q();
265
+ i === "duplicate" && re(), i === "download" && (W.value = !0), i === "email" && (Y.value = !0), i === "edit" && ae(), i === "schedule_email" && (O.value = !0), i === "content_copy" && se(), i === "copy_to_template" && j(), i === "export" && B(), i === "report_jobs" && q();
264
266
  })
265
267
  }, {
266
268
  title: w(() => [
@@ -271,7 +273,7 @@ const Ee = /* @__PURE__ */ z({
271
273
  class: "flex min-w-0 max-w-full justify-start"
272
274
  }, {
273
275
  default: w(() => [
274
- R("p", $e, ce(h.value), 1)
276
+ R("p", Ne, pe(h.value), 1)
275
277
  ]),
276
278
  _: 1
277
279
  }, 8, ["content"])
@@ -279,21 +281,21 @@ const Ee = /* @__PURE__ */ z({
279
281
  _: 1
280
282
  }, 8, ["title", "actions"]),
281
283
  R("div", {
282
- class: me(`flex flex-col overflow-y-auto ${l(u).xs || l(u).sm ? "pb-20" : ""}`),
283
- style: pe({ height: `calc(100% - ${l(u).lg || l(u).md ? 72 : 64}px)` })
284
+ class: de(`flex flex-col overflow-y-auto ${l(u).xs || l(u).sm ? "pb-20" : ""}`),
285
+ style: me({ height: `calc(100% - ${l(u).lg || l(u).md ? 72 : 64}px)` })
284
286
  }, [
285
- R("div", Ae, [
286
- k(de, {
287
- "model-value": l(u).lg || l(u).md ? te.value : []
287
+ R("div", Je, [
288
+ k(ve, {
289
+ "model-value": l(u).lg || l(u).md ? oe.value : []
288
290
  }, null, 8, ["model-value"])
289
291
  ]),
290
- l(e) && !b.value ? (y(), f(Ee, { key: 0 })) : l(e) && ((F = T.value) == null ? void 0 : F.length) > 0 ? (y(), f(ve, {
292
+ l(e) && !_.value ? (g(), y(Ae, { key: 0 })) : l(e) && ((F = T.value) == null ? void 0 : F.length) > 0 ? (g(), y(fe, {
291
293
  key: 1,
292
294
  tiles: T.value,
293
295
  "report-id": l(p),
294
- "leaf-index-by-id": se.value,
296
+ "leaf-index-by-id": le.value,
295
297
  "grid-class": l(u).sm || l(u).xs ? "px-3 gap-[16px]" : "px-24 gap-[24px]"
296
- }, null, 8, ["tiles", "report-id", "leaf-index-by-id", "grid-class"])) : (y(), f(L, { key: 2 }))
298
+ }, null, 8, ["tiles", "report-id", "leaf-index-by-id", "grid-class"])) : (g(), y(L, { key: 2 }))
297
299
  ], 6)
298
300
  ];
299
301
  }),
@@ -301,7 +303,7 @@ const Ee = /* @__PURE__ */ z({
301
303
  });
302
304
  };
303
305
  }
304
- }), Ke = /* @__PURE__ */ Oe(Ne, [["__scopeId", "data-v-9c5593f0"]]);
306
+ }), Ze = /* @__PURE__ */ Ee(qe, [["__scopeId", "data-v-f2612eb6"]]);
305
307
  export {
306
- Ke as default
308
+ Ze as default
307
309
  };
@@ -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-DcuMyUEc.js";
3
+ import { u as _ } from "./report-CN9S4Zga.js";
4
4
  const v = /* @__PURE__ */ i({
5
5
  __name: "ReportViewRoute",
6
6
  setup(R) {
7
- const p = t(() => import("./ReportView-B1a3q6Ea.js")), s = t(() => import("./ReportCanvasView-0680UK2i.js")), c = f(), u = _(), a = m(() => {
7
+ const p = t(() => import("./ReportView-DHxQQHdv.js")), s = t(() => import("./ReportCanvasView-DJiD7cHf.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-DinIx-4F.js";
3
- import { d as A, C as G, D as ve, w as ge, x as Z, a as ye } from "./app-DSxKqUxD.js";
2
+ import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-dtu8Gum_.js";
3
+ import { d as A, C as G, D as ve, x as ge, y as Z, a as ye } from "./app-60Wbr-Yr.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-CaFtkGgu.js";
5
+ import { e as le, t as E, s as he } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Do8UrF5k.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";