@feedmepos/mf-report 5.32.0 → 5.32.1
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.
- package/dist/{App-DmCGLjX7.js → App-BJuFjdIP.js} +53 -53
- package/dist/{DateRangeSelect-ByNkTDjz.js → DateRangeSelect-_e6gSn9J.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-B0KI2grl.js → Default.vue_vue_type_script_setup_true_lang-OXDWW29A.js} +1 -1
- package/dist/{DigestListView-De9tIPMS.js → DigestListView-DWPN27s3.js} +27 -27
- package/dist/{DigestReaderView-DO_nmqE8.js → DigestReaderView-BXevYmJS.js} +4 -4
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BCrF_c93.js → DynamicWidget.vue_vue_type_script_setup_true_lang-CTUvUuIF.js} +6 -6
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CqSpNI7C.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfWtseh.js} +4 -4
- package/dist/{InsightView-C-CwTtk_.js → InsightView-DPRL3Nqh.js} +16 -16
- package/dist/{Integration-BRNvT1Bi.js → Integration-sF35hPvK.js} +3 -3
- package/dist/{Integrations-apd0BYi4.js → Integrations-Cz13kRKM.js} +2 -2
- package/dist/{Layout-CAcG75jm.js → Layout-CYQ_dsMP.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-D77iP1So.js → LocationSelect.vue_vue_type_script_setup_true_lang-1awtDPcK.js} +2 -2
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-0FI-8jfq.js → MenuTab.vue_vue_type_script_setup_true_lang-JtEvRQ3L.js} +9 -9
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-caeBZJMd.js → NavigationTab.vue_vue_type_script_setup_true_lang-D8bfnS4L.js} +5 -5
- package/dist/{OverviewView-DT4wH9BY.js → OverviewView-CM1bJX6E.js} +5 -5
- package/dist/{Report-DC5SaVnn.js → Report-BiXRgrAO.js} +39 -39
- package/dist/{ReportCanvasView-DKSSW9vS.js → ReportCanvasView-Bt2gOYfq.js} +5 -5
- package/dist/{ReportEditor-pv17FE6d.js → ReportEditor-BhDN43WO.js} +7 -7
- package/dist/{ReportView-hu8o7gHa.js → ReportView-aL9HVcRy.js} +11 -11
- package/dist/{ReportViewRoute-Dv72tGDa.js → ReportViewRoute-DzhAOsZI.js} +2 -2
- package/dist/{Setting-B98DTITn.js → Setting-DbZWDMvI.js} +3 -3
- package/dist/{Template-CaVg_yFH.js → Template-p0ysKIeV.js} +30 -30
- package/dist/{TileEditor-HXcsJvnS.js → TileEditor-2X9qf54T.js} +6 -6
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-B9kTXx-f.js → TilePageStack.vue_vue_type_script_setup_true_lang-BofHN1Dq.js} +2 -2
- package/dist/{TransitionFade-CIv_c2SU.js → TransitionFade-BfATkHz9.js} +5 -5
- package/dist/{app-DvNjldW6.js → app-DfeWh8B1.js} +2011 -2024
- package/dist/app.js +1 -1
- package/dist/{currency-DkfeAufo.js → currency-Cyqw_pmX.js} +1 -1
- package/dist/{index-BfS1DQsO.js → index-CASt9TkJ.js} +1 -1
- package/dist/{report-BYoPJJLO.js → report-FbmUzxrA.js} +1 -1
- package/dist/{useDigestFont-qj5lGRy-.js → useDigestFont-mCEZapeC.js} +1 -1
- package/dist/{useReportCanvasPanel-BJTLOzd9.js → useReportCanvasPanel-epC6qK7l.js} +3 -3
- package/dist/{useRestaurantPermission-Cy0Wr066.js → useRestaurantPermission-OuUzR6qE.js} +1 -1
- 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-
|
|
2
|
+
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-OXDWW29A.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 he, createElementBlock as se, onMounted as ry, openBlock as N, Fragment as Se, createBlock as fe, createCommentVNode as Ve, unref as mt, computed as Ne, watch as An, resolveComponent as W, createElementVNode as ne, createVNode as R, renderList as jt, withCtx as Te, 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-
|
|
3
|
-
import { a as sy } from "./app-
|
|
2
|
+
import { _ as oy } from "./DateRangeSelect-_e6gSn9J.js";
|
|
3
|
+
import { a as sy } from "./app-DfeWh8B1.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
|
-
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
|
|
2
|
-
import { a as
|
|
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, j as H, h as J, o as K, p as Q, s as M } from "./app-DfeWh8B1.js";
|
|
3
3
|
import { storeToRefs as F } from "pinia";
|
|
4
|
-
import { _ as X } from "./LocationSelect.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { D as Y } from "./DateRangeSelect-
|
|
6
|
-
import { f as Z, _ as h } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as X } from "./LocationSelect.vue_vue_type_script_setup_true_lang-1awtDPcK.js";
|
|
5
|
+
import { D as Y } from "./DateRangeSelect-_e6gSn9J.js";
|
|
6
|
+
import { f as Z, _ as h } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfWtseh.js";
|
|
7
7
|
import { useRoute as ee } from "vue-router";
|
|
8
|
-
import { u as te, o as ae } from "./report-
|
|
8
|
+
import { u as te, o as ae } from "./report-FbmUzxrA.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",
|
|
@@ -19,7 +19,7 @@ const ne = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scrol
|
|
|
19
19
|
defaultDateSetting: f,
|
|
20
20
|
selectTimeDefault: v,
|
|
21
21
|
timezone: u
|
|
22
|
-
} = F(
|
|
22
|
+
} = F(G()), m = ee(), D = w(() => m.name === "overview"), $ = te(), { currentReport: U, overviewReport: W } = F($), { globalFilters: P } = F(ae()), { getReportAccessWindow: z, getPageAccessWindow: N } = H(), i = w(() => D.value ? W.value : U.value), R = w(() => D.value ? N(
|
|
23
23
|
J.report_accessOverview,
|
|
24
24
|
u.value
|
|
25
25
|
) : i.value ? z(i.value, u.value) : null), O = w(
|
|
@@ -134,7 +134,7 @@ const ne = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scrol
|
|
|
134
134
|
})
|
|
135
135
|
]),
|
|
136
136
|
default: y(() => [
|
|
137
|
-
(d(!0), k(L, null,
|
|
137
|
+
(d(!0), k(L, null, j(_.value, (m, D) => (d(), b(v, {
|
|
138
138
|
key: `button-${D}`,
|
|
139
139
|
onClick: m.onClick
|
|
140
140
|
}, {
|
|
@@ -143,7 +143,7 @@ const ne = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scrol
|
|
|
143
143
|
key: 0,
|
|
144
144
|
name: m.icon
|
|
145
145
|
}, null, 8, ["name"])) : I("", !0),
|
|
146
|
-
C("p", se,
|
|
146
|
+
C("p", se, q(m.label), 1)
|
|
147
147
|
]),
|
|
148
148
|
_: 2
|
|
149
149
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -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 Ve, useModel as ta, ref as Pe, watch as lt, resolveComponent as ye, createBlock as Qe, unref as E, openBlock as ie, withCtx as Oe, createElementVNode as H, createVNode as _, createElementBlock as xe, createCommentVNode as _e, Fragment as pr, toDisplayString as he, withDirectives as ha, renderList as gr, vShow as $a, createTextVNode as Hr, mergeModels as fn, normalizeClass as Fa, onMounted as xf, withKeys as Pf, withModifiers as en, isRef as nt, vModelText as Sf, normalizeStyle as Ti, resolveDynamicComponent as ii, createSlots as io } from "vue";
|
|
5
5
|
import { useRouter as Of, useRoute as Df } from "vue-router";
|
|
6
6
|
import { storeToRefs as Ir, defineStore as ki } from "pinia";
|
|
7
|
-
import { u as za, w as Kt, E as vt, y as rn, z as Vn, v as fo, o as lo, A as oo } from "./report-
|
|
7
|
+
import { u as za, w as Kt, E as vt, y as rn, z as Vn, v as fo, o as lo, A as oo } from "./report-FbmUzxrA.js";
|
|
8
8
|
import { useBreakpoints as Ls, components as da, useSnackbar as wa, FmButtonVariant as c0 } from "@feedmepos/ui-library";
|
|
9
9
|
import { u as it, _ as If } 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 {
|
|
12
|
-
import { C as dr, g as mo, a as Qt, b as Vf, D as Nf } from "./DateRangeSelect-
|
|
11
|
+
import { j as co, u as gt, F as wt, ag as un, a as ya, d as Ye, q as Gn, ah as Lf, ai as uo, O as Ao, e as ho, B as yn, v as Ff, c as po, aj as vo } from "./app-DfeWh8B1.js";
|
|
12
|
+
import { C as dr, g as mo, a as Qt, b as Vf, D as Nf } from "./DateRangeSelect-_e6gSn9J.js";
|
|
13
13
|
import { detectLocale as go, useCoreStore as wo } from "@feedmepos/mf-common";
|
|
14
|
-
import { l as A0, m as yo, f as Ci, a as To, _ as Mf, i as ko, r as Co, R as Nt, n as bo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as Bf } from "./LocationSelect.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { l as A0, m as yo, f as Ci, a as To, _ as Mf, i as ko, r as Co, R as Nt, n as bo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfWtseh.js";
|
|
15
|
+
import { _ as Bf } from "./LocationSelect.vue_vue_type_script_setup_true_lang-1awtDPcK.js";
|
|
16
16
|
import { p as Eo } from "./index-CtZE4sab.js";
|
|
17
17
|
const xo = { class: "flex flex-col" }, Po = { class: "fm-typo-en-title-sm-600" }, So = { class: "fm-typo-en-body-sm-600 mt-8" }, Oo = { class: "grow" }, Do = { class: "flex flex-col gap-8" }, Io = { class: "flex flex-col w-full" }, Lo = { class: "flex flex-col gap-5 p-6" }, Fo = { class: "flex" }, h0 = {
|
|
18
18
|
// sales: [
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as C, defineAsyncComponent as b, computed as l, resolveComponent as I, createBlock as n, openBlock as s, withCtx as $, createVNode as d, createElementBlock as u, unref as e, normalizeStyle as v, normalizeClass as B, createElementVNode as R } from "vue";
|
|
2
|
-
import { _ as V } from "./TilePageStack.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as z, l as H } from "./report-
|
|
4
|
-
import { _ as P } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as V } from "./TilePageStack.vue_vue_type_script_setup_true_lang-BofHN1Dq.js";
|
|
3
|
+
import { u as z, l as H } from "./report-FbmUzxrA.js";
|
|
4
|
+
import { _ as P } from "./Default.vue_vue_type_script_setup_true_lang-OXDWW29A.js";
|
|
5
5
|
import { storeToRefs as S } from "pinia";
|
|
6
6
|
import { _ as T } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
|
|
7
7
|
import { useBreakpoints as A } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as D } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as D } from "./MenuTab.vue_vue_type_script_setup_true_lang-JtEvRQ3L.js";
|
|
9
9
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
10
10
|
import { r as F } from "./i18n-DbyciK4x.js";
|
|
11
11
|
const L = { class: "sticky top-0 z-10 bg-white" }, Y = /* @__PURE__ */ C({
|
|
12
12
|
__name: "OverviewView",
|
|
13
13
|
setup(N) {
|
|
14
14
|
const f = b(
|
|
15
|
-
() => import("./ReportCanvasView-
|
|
15
|
+
() => import("./ReportCanvasView-Bt2gOYfq.js")
|
|
16
16
|
), { t: i, te: _ } = E(), x = z(), { breakpoints: a } = A(), { isOpenDownloadDialog: g, overviewReport: t } = S(x), r = l(() => {
|
|
17
17
|
var o;
|
|
18
18
|
return ((o = t.value) == null ? void 0 : o.tiles) || [];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as Ae, ref as $, watch as we, computed as h, h as d, withModifiers as ze, resolveComponent as I, createBlock as se, openBlock as B, withCtx as m, createVNode as c, createElementVNode as v, unref as t, normalizeStyle as Je, normalizeClass as
|
|
1
|
+
import { defineComponent as Ae, ref as $, watch as we, computed as h, h as d, withModifiers as ze, resolveComponent as I, createBlock as se, openBlock as B, withCtx as m, createVNode as c, createElementVNode as v, unref as t, normalizeStyle as Je, normalizeClass as g, withDirectives as Re, createElementBlock as Be, Fragment as Ke, renderList as je, toDisplayString as k, createTextVNode as Ee, vShow as he } from "vue";
|
|
2
2
|
import { storeToRefs as Pe } from "pinia";
|
|
3
|
-
import { u as He, s as Ye } from "./report-
|
|
4
|
-
import { _ as qe } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as He, s as Ye } from "./report-FbmUzxrA.js";
|
|
4
|
+
import { _ as qe } from "./Default.vue_vue_type_script_setup_true_lang-OXDWW29A.js";
|
|
5
5
|
import { u as Ge } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { u as Qe } from "./global-loader-BuxFfehu.js";
|
|
7
7
|
import { useSnackbar as We, useBreakpoints as Xe, components as Ze, FmButtonColorThemeVariant as et } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as tt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
|
|
9
|
-
import { c as ot, a as xe,
|
|
9
|
+
import { c as ot, a as xe, j as at } from "./app-DfeWh8B1.js";
|
|
10
10
|
import { useRouter as st, useRoute as rt, onBeforeRouteLeave as nt } from "vue-router";
|
|
11
11
|
import { useI18n as lt } from "@feedmepos/mf-common";
|
|
12
12
|
import { r as re } from "./i18n-DbyciK4x.js";
|
|
@@ -15,14 +15,14 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
15
15
|
setup(mt) {
|
|
16
16
|
const { t: a, te: K } = lt(), ne = st(), le = rt(), S = He(), Ce = ot(), { business: Ie } = Pe(xe()), {
|
|
17
17
|
reports: f,
|
|
18
|
-
overviewReport:
|
|
18
|
+
overviewReport: j,
|
|
19
19
|
categories: O,
|
|
20
20
|
pinReport: F,
|
|
21
21
|
isOpenAddReportDialog: ke,
|
|
22
22
|
scrollPositionY: ce,
|
|
23
23
|
customReportQuota: T,
|
|
24
24
|
canCreateCustomReport: ie
|
|
25
|
-
} = Pe(S), { promptMessage: pe } = Ge(), { promptLoader:
|
|
25
|
+
} = Pe(S), { promptMessage: pe } = Ge(), { promptLoader: E } = Qe(), l = We(), { breakpoints: p } = Xe(), { canRead: de, canUpdate: H, canDuplicate: ue, canDelete: Y, canCreateReport: _e } = at(), R = $();
|
|
26
26
|
nt(() => {
|
|
27
27
|
R.value && (ce.value = R.value.$el.children[0].scrollTop);
|
|
28
28
|
}), we(R, () => {
|
|
@@ -43,7 +43,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
43
43
|
);
|
|
44
44
|
const me = h(() => q.value.length > 0 ? f.value.filter(
|
|
45
45
|
(o) => q.value.findIndex((e) => e.id === o.id) === -1
|
|
46
|
-
) : f.value), { FmButton: De, FmMenu: G, FmMenuItem: P, FmIcon: Q, FmChip: W, FmTooltip: $e, FmSwitch: fe } = Ze,
|
|
46
|
+
) : f.value), { FmButton: De, FmMenu: G, FmMenuItem: P, FmIcon: Q, FmChip: W, FmTooltip: $e, FmSwitch: fe } = Ze, b = $(/* @__PURE__ */ new Set()), X = $(/* @__PURE__ */ new Map()), Oe = /* @__PURE__ */ new Set([
|
|
47
47
|
"closeup",
|
|
48
48
|
"dailySales",
|
|
49
49
|
"hourlySales",
|
|
@@ -159,11 +159,11 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
159
159
|
},
|
|
160
160
|
cell: (o) => {
|
|
161
161
|
var J;
|
|
162
|
-
const e = o.row.original, r = e.reportId, n = f.value.find((u) => u.id === r), ae = r === ((J =
|
|
162
|
+
const e = o.row.original, r = e.reportId, n = f.value.find((u) => u.id === r), ae = r === ((J = j.value) == null ? void 0 : J.id), A = !e.canRead, D = n ? ue(n) : !1, z = n ? Y(n) : !1, s = e.reportType === "canvas", C = !e.canUpdate || e.isMandatoryPosReport || s || b.value.has(r), i = s ? a("reportV5.reportList.canvasPosReportHint") : e.isMandatoryPosReport ? a("reportV5.reportList.mandatoryPosReportHint") : a("reportV5.reportList.posV8Hint"), y = [
|
|
163
163
|
{
|
|
164
164
|
label: a("report.common.duplicate"),
|
|
165
165
|
onClick: () => {
|
|
166
|
-
n && D ?
|
|
166
|
+
n && D ? ge(n) : D || l.open({
|
|
167
167
|
message: a("report.messages.noPermissionDuplicateReport"),
|
|
168
168
|
type: "error"
|
|
169
169
|
});
|
|
@@ -182,7 +182,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
182
182
|
{
|
|
183
183
|
label: a("report.common.remove"),
|
|
184
184
|
onClick: () => {
|
|
185
|
-
n && (z ?
|
|
185
|
+
n && (z ? be(n) : l.open({
|
|
186
186
|
message: a("report.messages.noPermissionDeleteReport"),
|
|
187
187
|
type: "error"
|
|
188
188
|
}));
|
|
@@ -297,10 +297,10 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
297
297
|
}
|
|
298
298
|
]);
|
|
299
299
|
async function ve(o) {
|
|
300
|
-
await
|
|
300
|
+
await E(async () => {
|
|
301
301
|
var e;
|
|
302
302
|
try {
|
|
303
|
-
const r = o.id === ((e =
|
|
303
|
+
const r = o.id === ((e = j.value) == null ? void 0 : e.id);
|
|
304
304
|
await S.updateDefaultReport(r ? null : o.id), l.open({
|
|
305
305
|
message: `Successfully ${r ? "unset" : "set"} ${o.name} as Overview`,
|
|
306
306
|
type: "success"
|
|
@@ -326,8 +326,8 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
326
326
|
});
|
|
327
327
|
return;
|
|
328
328
|
}
|
|
329
|
-
if (!
|
|
330
|
-
|
|
329
|
+
if (!b.value.has(o.id)) {
|
|
330
|
+
b.value = new Set(b.value).add(o.id);
|
|
331
331
|
try {
|
|
332
332
|
const e = !o.isSupportPos;
|
|
333
333
|
await Ye(o.id, e), o.isSupportPos = e, X.value = new Map(X.value).set(
|
|
@@ -340,8 +340,8 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
340
340
|
type: "error"
|
|
341
341
|
});
|
|
342
342
|
} finally {
|
|
343
|
-
const e = new Set(
|
|
344
|
-
e.delete(o.id),
|
|
343
|
+
const e = new Set(b.value);
|
|
344
|
+
e.delete(o.id), b.value = e;
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
@@ -358,7 +358,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
358
358
|
})
|
|
359
359
|
})) {
|
|
360
360
|
const r = JSON.parse(JSON.stringify(o));
|
|
361
|
-
r.editable = !0, r.id = "", r.name = `${r.name} ${a("report.common.duplicate")}`, r.isDefault = !1,
|
|
361
|
+
r.editable = !0, r.id = "", r.name = `${r.name} ${a("report.common.duplicate")}`, r.isDefault = !1, E(async () => {
|
|
362
362
|
try {
|
|
363
363
|
await S.createOrUpdateReport(r), l.open({
|
|
364
364
|
message: `${a("report.messages.duplicateSuccess", { name: r.name })}`,
|
|
@@ -378,7 +378,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
378
378
|
const e = f.value.find((r) => r.id === o.reportId);
|
|
379
379
|
return !o.editable || !e || !Y(e);
|
|
380
380
|
}
|
|
381
|
-
async function
|
|
381
|
+
async function be(o) {
|
|
382
382
|
if (!Y(o)) {
|
|
383
383
|
l.open({
|
|
384
384
|
message: a("report.messages.noPermissionDeleteReport"),
|
|
@@ -389,7 +389,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
389
389
|
await pe({
|
|
390
390
|
title: a("report.messages.deleteReport"),
|
|
391
391
|
message: a("report.messages.confirmDelete", { name: o.name })
|
|
392
|
-
}) &&
|
|
392
|
+
}) && E(async () => {
|
|
393
393
|
try {
|
|
394
394
|
await S.removeReport(o), l.open({
|
|
395
395
|
message: a("report.messages.deleteSuccess", { name: o.name }),
|
|
@@ -400,7 +400,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
400
400
|
}
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
|
-
async function
|
|
403
|
+
async function ge(o) {
|
|
404
404
|
if (ie.value)
|
|
405
405
|
await Ve(o);
|
|
406
406
|
else {
|
|
@@ -461,11 +461,11 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
461
461
|
"onClick:action": e[0] || (e[0] = (s) => Me())
|
|
462
462
|
}, null, 8, ["title", "actions"]),
|
|
463
463
|
v("div", {
|
|
464
|
-
class:
|
|
464
|
+
class: g(`overflow-y-hidden flex flex-col gap-8 ${t(p).sm || t(p).xs ? "mb-20" : ""}`),
|
|
465
465
|
style: Je({ height: `calc(100% - ${t(p).lg || t(p).md ? 72 : 64}px)` })
|
|
466
466
|
}, [
|
|
467
467
|
c(ae, {
|
|
468
|
-
class:
|
|
468
|
+
class: g(`flex items-center gap-2 ${t(p).sm || t(p).xs ? "px-3" : "px-24"}`)
|
|
469
469
|
}, {
|
|
470
470
|
default: m(() => [
|
|
471
471
|
c(t(G), null, {
|
|
@@ -479,7 +479,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
479
479
|
})
|
|
480
480
|
]),
|
|
481
481
|
default: m(() => [
|
|
482
|
-
(B(!0), Be(Ke, null,
|
|
482
|
+
(B(!0), Be(Ke, null, je(ye.value, (s, C) => (B(), se(t(P), {
|
|
483
483
|
key: C,
|
|
484
484
|
label: t(a)(`report.category.${s.label}`),
|
|
485
485
|
onClick: () => Ne(s)
|
|
@@ -488,7 +488,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
488
488
|
_: 1
|
|
489
489
|
}),
|
|
490
490
|
v("div", {
|
|
491
|
-
class:
|
|
491
|
+
class: g(`flex ${t(p).sm || t(p).xs ? "justify-center items-center" : ""}`)
|
|
492
492
|
}, [
|
|
493
493
|
v("p", ct, k(t(a)("report.common.results", { count: x.value.length })), 1)
|
|
494
494
|
], 2),
|
|
@@ -497,7 +497,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
497
497
|
c(n, {
|
|
498
498
|
modelValue: Z.value,
|
|
499
499
|
"onUpdate:modelValue": e[1] || (e[1] = (s) => Z.value = s),
|
|
500
|
-
class:
|
|
500
|
+
class: g(`${t(p).lg || t(p).md ? "grow" : ""}`)
|
|
501
501
|
}, null, 8, ["modelValue", "class"])
|
|
502
502
|
])
|
|
503
503
|
]),
|
|
@@ -507,7 +507,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
507
507
|
key: Fe.value,
|
|
508
508
|
ref_key: "table",
|
|
509
509
|
ref: R,
|
|
510
|
-
class:
|
|
510
|
+
class: g([t(p).sm || t(p).xs ? "px-0" : "px-24", "report-table"]),
|
|
511
511
|
style: { height: "calc(100% - 40px)" },
|
|
512
512
|
"column-defs": Te.value,
|
|
513
513
|
"row-data": x.value,
|
|
@@ -573,7 +573,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
573
573
|
}, {
|
|
574
574
|
append: m(() => [
|
|
575
575
|
c(t(W), {
|
|
576
|
-
class:
|
|
576
|
+
class: g(`${s.category !== "Uncategorized" ? "bg-fm-color-system-info-100 text-fm-color-typo-info" : "text-fm-color-typo-secondary"} ${s.canRead ? "" : "opacity-40 cursor-not-allowed"}`),
|
|
577
577
|
compact: !0
|
|
578
578
|
}, {
|
|
579
579
|
default: m(() => [
|
|
@@ -606,10 +606,10 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
606
606
|
v("div", {
|
|
607
607
|
role: "menuitem",
|
|
608
608
|
"data-testid": "mobile-pos-v8-toggle",
|
|
609
|
-
tabindex: !s.canUpdate || s.isMandatoryPosReport || s.reportType === "canvas" ||
|
|
610
|
-
"aria-disabled": !s.canUpdate || s.isMandatoryPosReport || s.reportType === "canvas" ||
|
|
611
|
-
class:
|
|
612
|
-
!s.canUpdate || s.isMandatoryPosReport || s.reportType === "canvas" ||
|
|
609
|
+
tabindex: !s.canUpdate || s.isMandatoryPosReport || s.reportType === "canvas" || b.value.has(s.reportId) ? void 0 : -1,
|
|
610
|
+
"aria-disabled": !s.canUpdate || s.isMandatoryPosReport || s.reportType === "canvas" || b.value.has(s.reportId),
|
|
611
|
+
class: g(
|
|
612
|
+
!s.canUpdate || s.isMandatoryPosReport || s.reportType === "canvas" || b.value.has(s.reportId) ? "flex max-h-[78px] w-full cursor-not-allowed items-center justify-between gap-2 rounded px-3 py-2 pl-12 text-fm-color-typo-disabled" : "flex max-h-[78px] w-full cursor-pointer items-center justify-between gap-2 rounded px-3 py-2 pl-12 hover:bg-fm-color-opacity-sm"
|
|
613
613
|
),
|
|
614
614
|
onClick: (i) => {
|
|
615
615
|
i.stopPropagation();
|
|
@@ -626,7 +626,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
626
626
|
s.reportId,
|
|
627
627
|
s.isSupportPos
|
|
628
628
|
),
|
|
629
|
-
disabled: !s.canUpdate || s.isMandatoryPosReport || s.reportType === "canvas" ||
|
|
629
|
+
disabled: !s.canUpdate || s.isMandatoryPosReport || s.reportType === "canvas" || b.value.has(s.reportId),
|
|
630
630
|
"aria-label": "Show in POS v8",
|
|
631
631
|
class: "pointer-events-none"
|
|
632
632
|
}, null, 8, ["model-value", "disabled"])
|
|
@@ -635,14 +635,14 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
635
635
|
c(t(P), {
|
|
636
636
|
label: t(a)("report.common.duplicate"),
|
|
637
637
|
disabled: te(s),
|
|
638
|
-
class:
|
|
638
|
+
class: g(
|
|
639
639
|
te(s) ? "text-fm-color-typo-disabled" : ""
|
|
640
640
|
),
|
|
641
641
|
onClick: () => {
|
|
642
642
|
const i = t(f).find(
|
|
643
643
|
(y) => y.id === s.reportId
|
|
644
644
|
);
|
|
645
|
-
i && !te(s) ?
|
|
645
|
+
i && !te(s) ? ge(i) : t(l).open({
|
|
646
646
|
message: t(a)("report.messages.noPermissionDuplicateReport"),
|
|
647
647
|
type: "error"
|
|
648
648
|
});
|
|
@@ -650,7 +650,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
650
650
|
}, null, 8, ["label", "disabled", "class", "onClick"]),
|
|
651
651
|
c(t(P), {
|
|
652
652
|
label: t(a)(
|
|
653
|
-
s.reportId === ((C = t(
|
|
653
|
+
s.reportId === ((C = t(j)) == null ? void 0 : C.id) ? "report.common.unsetAsOverview" : "report.common.setAsOverview"
|
|
654
654
|
),
|
|
655
655
|
onClick: () => {
|
|
656
656
|
const i = t(f).find(
|
|
@@ -662,18 +662,18 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
662
662
|
c(t(P), {
|
|
663
663
|
label: t(a)("report.common.delete"),
|
|
664
664
|
disabled: oe(s),
|
|
665
|
-
class:
|
|
665
|
+
class: g(
|
|
666
666
|
oe(s) ? "text-fm-color-typo-disabled" : "text-fm-color-typo-error"
|
|
667
667
|
),
|
|
668
668
|
onClick: () => {
|
|
669
669
|
const i = t(f).find(
|
|
670
670
|
(y) => y.id === s.reportId
|
|
671
671
|
);
|
|
672
|
-
i && !oe(s) &&
|
|
672
|
+
i && !oe(s) && be(i);
|
|
673
673
|
}
|
|
674
674
|
}, {
|
|
675
675
|
label: m(() => [
|
|
676
|
-
|
|
676
|
+
Ee(k(t(a)("report.common.delete")), 1)
|
|
677
677
|
]),
|
|
678
678
|
_: 2
|
|
679
679
|
}, 1032, ["label", "disabled", "class", "onClick"])
|
|
@@ -684,7 +684,7 @@ const ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, it
|
|
|
684
684
|
]),
|
|
685
685
|
default: m(() => [
|
|
686
686
|
v("span", {
|
|
687
|
-
class:
|
|
687
|
+
class: g(["fm-typo-en-body-lg-400 line-clamp-1 break-all text-fm-color-typo-primary", s.canRead ? "" : "opacity-40 cursor-not-allowed"])
|
|
688
688
|
}, k(s.name), 3)
|
|
689
689
|
]),
|
|
690
690
|
_: 2
|
|
@@ -2,11 +2,11 @@ import { defineComponent as at, ref as d, computed as E, watch as Re, onMounted
|
|
|
2
2
|
import { useRoute as Ut, useRouter as Mt } from "vue-router";
|
|
3
3
|
import { u as nt, _ as rt } from "./_plugin-vue_export-helper-C6QDExPN.js";
|
|
4
4
|
import { storeToRefs as Ne } from "pinia";
|
|
5
|
-
import { g as Jt, r as Wt, f as Kt, h as Zt, u as Qt, c as Gt, b as Xt, a as Yt, R as ea, e as ta, p as aa, i as oa, j as na, k as tt, l as ra } from "./useReportCanvasPanel-
|
|
6
|
-
import { _ as sa } from "./LocationSelect.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { D as la } from "./DateRangeSelect-
|
|
8
|
-
import { a as st,
|
|
9
|
-
import { u as ua } from "./report-
|
|
5
|
+
import { g as Jt, r as Wt, f as Kt, h as Zt, u as Qt, c as Gt, b as Xt, a as Yt, R as ea, e as ta, p as aa, i as oa, j as na, k as tt, l as ra } from "./useReportCanvasPanel-epC6qK7l.js";
|
|
6
|
+
import { _ as sa } from "./LocationSelect.vue_vue_type_script_setup_true_lang-1awtDPcK.js";
|
|
7
|
+
import { D as la } from "./DateRangeSelect-_e6gSn9J.js";
|
|
8
|
+
import { a as st, j as ia } from "./app-DfeWh8B1.js";
|
|
9
|
+
import { u as ua } from "./report-FbmUzxrA.js";
|
|
10
10
|
import { r as da } from "./i18n-DbyciK4x.js";
|
|
11
11
|
const ca = ["aria-label"], fa = { class: "flex h-64 shrink-0 items-center gap-12 border-b border-fm-color-border-secondary px-[20px]" }, va = { class: "fm-typo-en-body-md-600 grow" }, pa = ["aria-label", "disabled"], ma = { class: "min-h-0 grow overflow-y-auto px-[20px] py-[20px]" }, ya = { class: "fm-typo-en-body-md-400 mb-[20px] text-fm-color-typo-secondary" }, ha = { class: "mb-24 rounded-[12px] border border-fm-color-border-secondary p-16" }, ba = { class: "mb-8 flex items-center gap-8" }, ga = { class: "fm-typo-en-body-md-600 grow" }, wa = { class: "fm-typo-en-body-sm-600 rounded-md bg-fm-color-neutral-gray-100 px-8 py-4" }, _a = {
|
|
12
12
|
key: 0,
|
|
@@ -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-
|
|
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-
|
|
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-BfATkHz9.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-FbmUzxrA.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-
|
|
11
|
+
import { _ as tl } from "./TilePageStack.vue_vue_type_script_setup_true_lang-BofHN1Dq.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-
|
|
14
|
-
import { g as et, d as lt, _ as cl } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { d as Yl, e as Xl, i as Zl } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CTUvUuIF.js";
|
|
14
|
+
import { g as et, d as lt, _ as cl } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfWtseh.js";
|
|
15
15
|
import { useCoreStore as tt } from "@feedmepos/mf-common";
|
|
16
|
-
import { u as ot, a as at } from "./app-
|
|
17
|
-
import { d as rt } from "./DateRangeSelect-
|
|
16
|
+
import { u as ot, a as at } from "./app-DfeWh8B1.js";
|
|
17
|
+
import { d as rt } from "./DateRangeSelect-_e6gSn9J.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-
|
|
3
|
-
import { _ as ve } from "./TilePageStack.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as fe, l as ye } from "./report-
|
|
2
|
+
import { _ as de } from "./MenuTab.vue_vue_type_script_setup_true_lang-JtEvRQ3L.js";
|
|
3
|
+
import { _ as ve } from "./TilePageStack.vue_vue_type_script_setup_true_lang-BofHN1Dq.js";
|
|
4
|
+
import { u as fe, l as ye } from "./report-FbmUzxrA.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-
|
|
6
|
+
import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-OXDWW29A.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-
|
|
8
|
+
import { a as we, b as Se, u as xe, g as Ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-D8bfnS4L.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,
|
|
13
|
+
import { e as Pe, j as De } from "./app-DfeWh8B1.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({
|
|
@@ -104,12 +104,12 @@ const Ee = /* @__PURE__ */ z({
|
|
|
104
104
|
return !I.value && $.value && o.splice(1, 0, {
|
|
105
105
|
icon: "download",
|
|
106
106
|
label: t("report.common.accountingExport"),
|
|
107
|
-
onClick:
|
|
107
|
+
onClick: B
|
|
108
108
|
}), C.value && o.splice(o.length - 1, 0, {
|
|
109
109
|
icon: "library_add",
|
|
110
110
|
label: t("report.common.copyToTemplate"),
|
|
111
111
|
onClick: () => {
|
|
112
|
-
|
|
112
|
+
j();
|
|
113
113
|
}
|
|
114
114
|
}), o;
|
|
115
115
|
});
|
|
@@ -176,7 +176,7 @@ const Ee = /* @__PURE__ */ z({
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
async function
|
|
179
|
+
async function j() {
|
|
180
180
|
var o;
|
|
181
181
|
if (!C.value) {
|
|
182
182
|
r.open({
|
|
@@ -211,7 +211,7 @@ const Ee = /* @__PURE__ */ z({
|
|
|
211
211
|
});
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function B() {
|
|
215
215
|
U.value = !0;
|
|
216
216
|
}
|
|
217
217
|
function re() {
|
|
@@ -260,7 +260,7 @@ const Ee = /* @__PURE__ */ z({
|
|
|
260
260
|
class: "remove-line-clamping",
|
|
261
261
|
"onClick:back": o[0] || (o[0] = (i) => l(m).push({ name: "reports", query: l(c).query })),
|
|
262
262
|
"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" &&
|
|
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();
|
|
264
264
|
})
|
|
265
265
|
}, {
|
|
266
266
|
title: w(() => [
|
|
@@ -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-
|
|
3
|
+
import { u as _ } from "./report-FbmUzxrA.js";
|
|
4
4
|
const v = /* @__PURE__ */ i({
|
|
5
5
|
__name: "ReportViewRoute",
|
|
6
6
|
setup(R) {
|
|
7
|
-
const p = t(() => import("./ReportView-
|
|
7
|
+
const p = t(() => import("./ReportView-aL9HVcRy.js")), s = t(() => import("./ReportCanvasView-Bt2gOYfq.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-
|
|
3
|
-
import { d as A, C as G, D as ve, w as ge, x as Z, a as ye } from "./app-
|
|
2
|
+
import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-OXDWW29A.js";
|
|
3
|
+
import { d as A, C as G, D as ve, w as ge, x as Z, a as ye } from "./app-DfeWh8B1.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-
|
|
5
|
+
import { e as le, t as E, s as he } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfWtseh.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";
|