@feedmepos/mf-report 5.10.9 → 5.11.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.
- package/dist/{App-C3LtgfsE.js → App-Cj5j4FC3.js} +4 -4
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-DFhiXlTW.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CgLjbbN6.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-CdQW5BHW.js → Default.vue_vue_type_script_setup_true_lang-K4iokW6j.js} +2 -2
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-YLYE8W5f.js +1497 -0
- package/dist/{InsightView-D9h2E2NR.js → InsightView-DTcknJtZ.js} +5 -5
- package/dist/Integration-QtdzWEiF.js +6024 -0
- package/dist/{Integrations-BGmJBj90.js → Integrations-DnfCNEU_.js} +3 -3
- package/dist/{Layout-BywfWvap.js → Layout-lndubAWv.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DMnPt2U4.js → MenuTab.vue_vue_type_script_setup_true_lang-CDOVhCDV.js} +7 -7
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DvaG1juq.js → NavigationTab.vue_vue_type_script_setup_true_lang-6zh1MvyE.js} +5 -5
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-D-J81GXC.js → NoData.vue_vue_type_script_setup_true_lang-Gln3UbEF.js} +1 -1
- package/dist/{OverviewView-T56xyQu1.js → OverviewView-DypcGSm2.js} +5 -5
- package/dist/{Report-CY0sMF_I.js → Report-KZtIua_Z.js} +4 -4
- package/dist/{ReportEditor-Dlza3qtL.js → ReportEditor-z2DUlGRW.js} +6 -6
- package/dist/{ReportView-Bpgn1bve.js → ReportView-D4c6Ufy1.js} +42 -40
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-CGlkGXWL.js → SelectComponent.vue_vue_type_script_setup_true_lang-CJBY5CtV.js} +1 -1
- package/dist/{Setting--iRLg_Tu.js → Setting-BqDiKKaX.js} +4 -4
- package/dist/TileEditor-BUYcVXey.js +3221 -0
- package/dist/{TransitionFade-93KE5OJb.js → TransitionFade-D-GlYElq.js} +4 -4
- package/dist/app.js +152 -22
- package/dist/{helper-CFNxnCtm.js → helper-DgCafQmS.js} +1 -1
- package/dist/{v4-4SogFhTB.js → v4-D1ICEWtF.js} +1 -1
- package/dist/{vue-i18n-DX0diAld.js → vue-i18n-B1WI_h8l.js} +3519 -3511
- package/package.json +1 -1
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-D8-FlHFK.js +0 -1484
- package/dist/Integration-DqI8o9i8.js +0 -5277
- package/dist/TileEditor-ByxLpR6P.js +0 -3102
|
@@ -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-K4iokW6j.js";
|
|
3
3
|
const f = /* @__PURE__ */ o({
|
|
4
4
|
__name: "Layout",
|
|
5
5
|
setup(m) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as R, computed as W, ref as oe, watch as q, resolveComponent as b, createElementBlock as f, openBlock as u, renderSlot as re, Fragment as D, renderList as U, createBlock as g, unref as r, withCtx as C, createElementVNode as L, createCommentVNode as N, createVNode as p, isRef as S, useModel as ue, normalizeClass as z, toDisplayString as ie } from "vue";
|
|
2
|
-
import { u as me, b as H, d as E, j as de } from "./vue-i18n-
|
|
2
|
+
import { u as me, b as H, d as E, j as de } from "./vue-i18n-B1WI_h8l.js";
|
|
3
3
|
import { storeToRefs as T } from "pinia";
|
|
4
|
-
import { a as pe, d as ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as J, a as fe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { a as ve, b as be, D as w, q as _e, W as Y, S as he } from "./v4-
|
|
7
|
-
import { _ as ye } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { d as ge } from "./helper-
|
|
4
|
+
import { a as pe, d as ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-6zh1MvyE.js";
|
|
5
|
+
import { _ as J, a as fe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CgLjbbN6.js";
|
|
6
|
+
import { a as ve, b as be, D as w, q as _e, W as Y, S as he } from "./v4-D1ICEWtF.js";
|
|
7
|
+
import { _ as ye } from "./NoData.vue_vue_type_script_setup_true_lang-Gln3UbEF.js";
|
|
8
|
+
import { d as ge } from "./helper-DgCafQmS.js";
|
|
9
9
|
import { detectLocale as Fe } from "@feedmepos/mf-common";
|
|
10
10
|
import { useBreakpoints as ke } from "@feedmepos/ui-library";
|
|
11
11
|
const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1 p-2 bg-fm-color-neutral-white max-h-[300px] overflow-y-auto relative fm-shadow-light-300" }, Ce = {
|
|
@@ -305,7 +305,7 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
305
305
|
return (F, i) => {
|
|
306
306
|
const _ = b("FmButton"), h = b("FmIcon"), y = b("FmMenuItem"), $ = b("FmMenu");
|
|
307
307
|
return u(), f("div", {
|
|
308
|
-
class: z(["flex items-start pb-
|
|
308
|
+
class: z(["flex items-start pb-2 px-24", `${r(m).lg || r(m).md ? "px-24" : "pl-3"}`])
|
|
309
309
|
}, [
|
|
310
310
|
p(Te),
|
|
311
311
|
i[0] || (i[0] = L("div", { class: "flex grow" }, null, -1)),
|
|
@@ -4,13 +4,13 @@ var ds = (e, t, r) => E9(e, typeof t != "symbol" ? t + "" : t, r);
|
|
|
4
4
|
import { defineComponent as qr, computed as Fr, useModel as Ea, ref as Ne, watch as na, resolveComponent as Ae, createBlock as Ye, unref as K, openBlock as le, withCtx as Me, createElementVNode as oe, createVNode as Q, toDisplayString as ir, withDirectives as zn, createElementBlock as Be, Fragment as mr, renderList as Br, vShow as u0, createTextVNode as Lt, mergeModels as Cn, createCommentVNode as gr, normalizeClass as jn, withModifiers as Is, onMounted as Md, renderSlot as Rd, mergeProps as F9, nextTick as P9, resolveDynamicComponent as xh, withKeys as S9, vModelText as O9, normalizeStyle as D9, isRef as B0, createSlots as I9 } from "vue";
|
|
5
5
|
import { useRouter as Xd, useRoute as zd } from "vue-router";
|
|
6
6
|
import { storeToRefs as yt, defineStore as nu } from "pinia";
|
|
7
|
-
import { a as Xi, R as h0, g as Co, v as N9, P as Cs, d as V9, r as B9, e as xn, f as L9, h as M9, i as R9, s as X9, u as z9 } from "./v4-
|
|
7
|
+
import { a as Xi, R as h0, g as Co, v as N9, P as Cs, d as V9, r as B9, e as xn, f as L9, h as M9, i as R9, s as X9, u as z9 } from "./v4-D1ICEWtF.js";
|
|
8
8
|
import { useBreakpoints as il, components as d0, useSnackbar as zi, useDialog as H9, useDialogChild as q9, FmButtonVariant as gh } from "@feedmepos/ui-library";
|
|
9
|
-
import { u as Pa, k as iu, l as sl, a as Ua, F as Za, h as Ya, d as Ke, b as w0, m as Hi, n as W9, o as j9, e as U9, q as As, s as Z9, p as Y9 } from "./vue-i18n-
|
|
10
|
-
import { _ as yh, a as G9 } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { C as nn, g as Q9, b as Hd } from "./helper-
|
|
9
|
+
import { u as Pa, k as iu, l as sl, a as Ua, F as Za, h as Ya, d as Ke, b as w0, m as Hi, n as W9, o as j9, e as U9, q as As, s as Z9, p as Y9 } from "./vue-i18n-B1WI_h8l.js";
|
|
10
|
+
import { _ as yh, a as G9 } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CJBY5CtV.js";
|
|
11
|
+
import { C as nn, g as Q9, b as Hd } from "./helper-DgCafQmS.js";
|
|
12
12
|
import { _ as K9 } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
|
|
13
|
-
import { a as qd, _ as Wd } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { a as qd, _ as Wd } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CgLjbbN6.js";
|
|
14
14
|
import { detectLocale as ps, useCoreStore as J9 } from "@feedmepos/mf-common";
|
|
15
15
|
const _9 = { class: "flex flex-col" }, $9 = { class: "fm-typo-en-title-sm-600" }, e6 = { class: "grow" }, r6 = { class: "flex flex-col gap-8" }, t6 = { class: "flex flex-col w-full" }, a6 = { class: "flex flex-col gap-5 p-6" }, n6 = { class: "flex" }, wh = {
|
|
16
16
|
// sales: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as o, resolveComponent as d, createElementBlock as r, openBlock as a, renderSlot as f, createVNode as g, withCtx as _, createCommentVNode as y, createElementVNode as l, toDisplayString as n } from "vue";
|
|
2
|
-
import { u as h } from "./vue-i18n-
|
|
2
|
+
import { u as h } from "./vue-i18n-B1WI_h8l.js";
|
|
3
3
|
const v = { class: "flex flex-col h-full" }, D = ["src"], T = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, b = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, F = /* @__PURE__ */ u({
|
|
4
4
|
__name: "NoData",
|
|
5
5
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as g, computed as w, resolveComponent as k, createBlock as a, openBlock as t, withCtx as $, createVNode as d, createElementVNode as y, unref as e, normalizeStyle as C, normalizeClass as u, createElementBlock as _, Fragment as h, renderList as B } from "vue";
|
|
2
|
-
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as P } from "./v4-
|
|
2
|
+
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-YLYE8W5f.js";
|
|
3
|
+
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-K4iokW6j.js";
|
|
4
|
+
import { a as P } from "./v4-D1ICEWtF.js";
|
|
5
5
|
import { storeToRefs as R } from "pinia";
|
|
6
|
-
import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-Gln3UbEF.js";
|
|
7
7
|
import { useBreakpoints as V } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-CDOVhCDV.js";
|
|
9
9
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
10
10
|
const G = /* @__PURE__ */ g({
|
|
11
11
|
__name: "OverviewView",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as me, ref as O, watch as W, computed as w, h as f, withModifiers as ue, resolveComponent as x, createBlock as T, openBlock as F, withCtx as i, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as pe, normalizeClass as C, withDirectives as B, createElementBlock as de, Fragment as fe, renderList as ve, toDisplayString as R, createTextVNode as ye, vShow as D } from "vue";
|
|
2
2
|
import { storeToRefs as X } from "pinia";
|
|
3
|
-
import { a as ge } from "./v4-
|
|
4
|
-
import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a as ge } from "./v4-D1ICEWtF.js";
|
|
4
|
+
import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-K4iokW6j.js";
|
|
5
5
|
import { u as he } from "./message-dialog-UoMWOnil.js";
|
|
6
|
-
import { b as xe, f as Ce } from "./vue-i18n-
|
|
6
|
+
import { b as xe, f as Ce } from "./vue-i18n-B1WI_h8l.js";
|
|
7
7
|
import { useSnackbar as _e, useBreakpoints as ke, components as we, FmButtonColorThemeVariant as $e } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as Ie } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Ie } from "./NoData.vue_vue_type_script_setup_true_lang-Gln3UbEF.js";
|
|
9
9
|
import { useRouter as Se, useRoute as Fe, onBeforeRouteLeave as Re } from "vue-router";
|
|
10
10
|
import { useI18n as Le } from "@feedmepos/mf-common";
|
|
11
11
|
import { r as Z } from "./i18n-Cif1I9J2.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as G, mergeModels as J, useModel as j, ref as R, computed as N, resolveComponent as v, createBlock as k, openBlock as i, withCtx as s, createElementVNode as h, createVNode as a, unref as e, normalizeClass as le, createTextVNode as de, toDisplayString as E, createElementBlock as S, Fragment as L, renderSlot as Ce, createCommentVNode as Y, watch as me, renderList as Q, resolveDynamicComponent as Be, isRef as ke, normalizeStyle as ce, onMounted as Ue } from "vue";
|
|
2
|
-
import { W as We, i as De, S as he, d as ye, T as Re, _ as qe } from "./TransitionFade-
|
|
3
|
-
import { D as K, c as Ie, C as we, a as Ve, b as Ee, v as ee } from "./v4-
|
|
2
|
+
import { W as We, i as De, S as he, d as ye, T as Re, _ as qe } from "./TransitionFade-D-GlYElq.js";
|
|
3
|
+
import { D as K, c as Ie, C as we, a as Ve, b as Ee, v as ee } from "./v4-D1ICEWtF.js";
|
|
4
4
|
import { storeToRefs as ae } from "pinia";
|
|
5
5
|
import { useRouter as Se, useRoute as $e } from "vue-router";
|
|
6
6
|
import { useBreakpoints as ne, useSnackbar as Oe, FmButtonColorThemeVariant as X } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as Te } from "./message-dialog-UoMWOnil.js";
|
|
8
|
-
import { u as te, j as ie, f as He } from "./vue-i18n-
|
|
9
|
-
import { _ as se } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as ue } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as te, j as ie, f as He } from "./vue-i18n-B1WI_h8l.js";
|
|
9
|
+
import { _ as se } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-YLYE8W5f.js";
|
|
10
|
+
import { _ as ue } from "./NoData.vue_vue_type_script_setup_true_lang-Gln3UbEF.js";
|
|
11
11
|
import { r as _e } from "./i18n-Cif1I9J2.js";
|
|
12
|
-
import { _ as Fe } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as Fe } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CJBY5CtV.js";
|
|
13
13
|
const Pe = /* @__PURE__ */ G({
|
|
14
14
|
__name: "WidgetDialog",
|
|
15
15
|
props: /* @__PURE__ */ J({
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as U } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as W } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as z, computed as v, resolveComponent as H, createBlock as g, openBlock as u, withCtx as M, createVNode as h, createElementVNode as D, unref as o, normalizeStyle as Y, normalizeClass as R, createElementBlock as $, Fragment as G, renderList as Q } from "vue";
|
|
2
|
+
import { _ as U } from "./MenuTab.vue_vue_type_script_setup_true_lang-CDOVhCDV.js";
|
|
3
|
+
import { _ as W } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-YLYE8W5f.js";
|
|
4
4
|
import { useRouter as K, useRoute as X } from "vue-router";
|
|
5
|
-
import { _ as Z } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { a as ee } from "./v4-
|
|
5
|
+
import { _ as Z } from "./Default.vue_vue_type_script_setup_true_lang-K4iokW6j.js";
|
|
6
|
+
import { a as ee } from "./v4-D1ICEWtF.js";
|
|
7
7
|
import { storeToRefs as p } from "pinia";
|
|
8
|
-
import { b as oe, c as te, u as re } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as ae } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { b as oe, c as te, u as re } from "./NavigationTab.vue_vue_type_script_setup_true_lang-6zh1MvyE.js";
|
|
9
|
+
import { _ as ae } from "./NoData.vue_vue_type_script_setup_true_lang-Gln3UbEF.js";
|
|
10
10
|
import { useSnackbar as le, useBreakpoints as ne } from "@feedmepos/ui-library";
|
|
11
|
-
import { u as ie, f as se, e as ue } from "./vue-i18n-
|
|
11
|
+
import { u as ie, f as se, e as ue } from "./vue-i18n-B1WI_h8l.js";
|
|
12
12
|
import { u as ce } from "./message-dialog-UoMWOnil.js";
|
|
13
13
|
import { r as pe } from "./i18n-Cif1I9J2.js";
|
|
14
|
-
const
|
|
14
|
+
const me = { class: "sticky top-0 z-10 bg-white" }, Re = /* @__PURE__ */ z({
|
|
15
15
|
__name: "ReportView",
|
|
16
|
-
setup(
|
|
17
|
-
const { t: r, te:
|
|
16
|
+
setup(de) {
|
|
17
|
+
const { t: r, te: P } = ie(), m = K(), d = X(), i = le(), { promptMessage: E } = ce(), f = ee(), b = oe(), { promptLoader: I } = se(), { breakpoints: n } = ne(), {
|
|
18
18
|
currentReport: t,
|
|
19
19
|
currentReportId: c,
|
|
20
|
-
isOpenDownloadDialog:
|
|
21
|
-
isOpenEmailDialog:
|
|
22
|
-
editingReport:
|
|
23
|
-
canCreateCustomReport:
|
|
20
|
+
isOpenDownloadDialog: O,
|
|
21
|
+
isOpenEmailDialog: J,
|
|
22
|
+
editingReport: N,
|
|
23
|
+
canCreateCustomReport: q,
|
|
24
24
|
customReportQuota: y
|
|
25
|
-
} = p(f), { isOpenAccountingDialog:
|
|
25
|
+
} = p(f), { isOpenAccountingDialog: A } = p(te()), { isOpenScheduleDialog: _ } = p(re()), { disabled: B } = p(ue()), L = v(() => {
|
|
26
26
|
const l = [
|
|
27
27
|
{
|
|
28
28
|
icon: "mail",
|
|
@@ -65,7 +65,7 @@ const De = /* @__PURE__ */ V({
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
];
|
|
68
|
-
return
|
|
68
|
+
return B.value || l.splice(1, 0, {
|
|
69
69
|
icon: "download",
|
|
70
70
|
label: r("report.common.accountingExport"),
|
|
71
71
|
onClick: C
|
|
@@ -74,14 +74,14 @@ const De = /* @__PURE__ */ V({
|
|
|
74
74
|
async function k() {
|
|
75
75
|
b.isOpenJobDialog = !0, await b.getJobs();
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
|
|
77
|
+
function T() {
|
|
78
|
+
N.value = JSON.parse(JSON.stringify(t.value)), m.push({
|
|
79
79
|
name: "reportEditor",
|
|
80
80
|
query: d.query
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
|
-
async function
|
|
84
|
-
if (!
|
|
83
|
+
async function j() {
|
|
84
|
+
if (!q.value) {
|
|
85
85
|
let e = `Your current plan only support up to ${y.value} custom reports.`;
|
|
86
86
|
y.value === 0 && (e = "Your current plan does not support custom report."), i.open({
|
|
87
87
|
message: e,
|
|
@@ -93,7 +93,7 @@ const De = /* @__PURE__ */ V({
|
|
|
93
93
|
i.open({ message: "No Widget", type: "error" });
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
|
-
if (await
|
|
96
|
+
if (await E({
|
|
97
97
|
title: `${r("report.messages.saveReport")}`,
|
|
98
98
|
message: r("report.messages.confirmAction", {
|
|
99
99
|
action: r("report.common.duplicate"),
|
|
@@ -103,7 +103,7 @@ const De = /* @__PURE__ */ V({
|
|
|
103
103
|
const e = JSON.parse(JSON.stringify(t.value));
|
|
104
104
|
e.editable = !0, e.id = "", e.name = `${e.name} duplicate`;
|
|
105
105
|
try {
|
|
106
|
-
await
|
|
106
|
+
await I(async () => {
|
|
107
107
|
await f.createOrUpdateReport(e), f.updateCurrentReportId(c.value), m.push({
|
|
108
108
|
name: "reportView",
|
|
109
109
|
query: d.query
|
|
@@ -115,12 +115,12 @@ const De = /* @__PURE__ */ V({
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
function C() {
|
|
118
|
-
|
|
118
|
+
A.value = !0;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function F() {
|
|
121
121
|
t.value && (navigator.clipboard.writeText(c.value), i.open({ message: "Copied report ID to clipboard", type: "success" }));
|
|
122
122
|
}
|
|
123
|
-
const x = v(() => t.value ? t.value.tiles : []),
|
|
123
|
+
const x = v(() => t.value ? t.value.tiles : []), V = v(() => {
|
|
124
124
|
var e;
|
|
125
125
|
let l = [
|
|
126
126
|
(e = t == null ? void 0 : t.value) != null && e.editable ? { label: r("report.common.edit"), value: "edit", isPrimary: !1 } : {
|
|
@@ -146,32 +146,34 @@ const De = /* @__PURE__ */ V({
|
|
|
146
146
|
], l = l.filter((s) => s.value !== "edit")), l;
|
|
147
147
|
});
|
|
148
148
|
return (l, e) => {
|
|
149
|
-
const s =
|
|
149
|
+
const s = H("FmPageHead");
|
|
150
150
|
return u(), g(Z, null, {
|
|
151
|
-
default:
|
|
151
|
+
default: M(() => {
|
|
152
152
|
var S;
|
|
153
153
|
return [
|
|
154
154
|
h(s, {
|
|
155
|
-
title: o(pe)(o(r), o(
|
|
155
|
+
title: o(pe)(o(r), o(P), (S = o(t)) == null ? void 0 : S.name, "other"),
|
|
156
156
|
"back-button": !0,
|
|
157
|
-
actions:
|
|
157
|
+
actions: V.value,
|
|
158
158
|
"onClick:back": e[0] || (e[0] = (a) => o(m).push({ name: "reports", query: o(d).query })),
|
|
159
159
|
"onClick:action": e[1] || (e[1] = (a) => {
|
|
160
|
-
a === "duplicate" &&
|
|
160
|
+
a === "duplicate" && j(), a === "download" && (O.value = !0), a === "email" && (J.value = !0), a === "edit" && T(), a === "schedule_email" && (_.value = !0), a === "content_copy" && F(), a === "export" && C(), a === "report_jobs" && k();
|
|
161
161
|
})
|
|
162
162
|
}, null, 8, ["title", "actions"]),
|
|
163
|
-
|
|
164
|
-
class:
|
|
163
|
+
D("div", {
|
|
164
|
+
class: R(`flex flex-col overflow-y-auto ${o(n).xs || o(n).sm ? "pb-20" : ""}`),
|
|
165
165
|
style: Y({ height: `calc(100% - ${o(n).lg || o(n).md ? 72 : 64}px)` })
|
|
166
166
|
}, [
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
D("div", me, [
|
|
168
|
+
h(U, {
|
|
169
|
+
"model-value": o(n).lg || o(n).md ? L.value : []
|
|
170
|
+
}, null, 8, ["model-value"])
|
|
171
|
+
]),
|
|
172
|
+
o(t) && x.value.length > 0 ? (u(), $("div", {
|
|
171
173
|
key: 0,
|
|
172
|
-
class:
|
|
174
|
+
class: R(["grid grid-cols-12", o(n).sm || o(n).xs ? "px-3 gap-[16px]" : "px-24 gap-[24px]"])
|
|
173
175
|
}, [
|
|
174
|
-
(u(!0),
|
|
176
|
+
(u(!0), $(G, null, Q(x.value, (a, w) => (u(), g(W, {
|
|
175
177
|
key: `widget_${o(c)}_${w}`,
|
|
176
178
|
"model-value": a,
|
|
177
179
|
index: w
|
|
@@ -186,5 +188,5 @@ const De = /* @__PURE__ */ V({
|
|
|
186
188
|
}
|
|
187
189
|
});
|
|
188
190
|
export {
|
|
189
|
-
|
|
191
|
+
Re as default
|
|
190
192
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as B, mergeModels as D, useModel as z, ref as b, computed as f, resolveComponent as n, createBlock as y, openBlock as _, withCtx as m, createElementVNode as c, normalizeStyle as L, withDirectives as U, createElementBlock as $, createVNode as d, unref as E, vShow as H, Fragment as N, renderList as O, toDisplayString as g, normalizeClass as q } from "vue";
|
|
2
|
-
import { u as A } from "./vue-i18n-
|
|
2
|
+
import { u as A } from "./vue-i18n-B1WI_h8l.js";
|
|
3
3
|
const K = (s, u) => {
|
|
4
4
|
const t = s.__vccOpts || s;
|
|
5
5
|
for (const [o, i] of u)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as B, ref as H, useModel as J, resolveComponent as h, createElementBlock as k, openBlock as x, createBlock as P, createElementVNode as t, resolveDynamicComponent as ne, unref as e, withCtx as y, createVNode as a, normalizeClass as O, toDisplayString as s, Fragment as K, renderList as Q, withDirectives as M, createTextVNode as ie, vShow as j, watch as me, normalizeStyle as ue } from "vue";
|
|
2
|
-
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as U, d as z, C as I, D as pe, b as ce } from "./vue-i18n-
|
|
2
|
+
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-K4iokW6j.js";
|
|
3
|
+
import { u as U, d as z, C as I, D as pe, b as ce } from "./vue-i18n-B1WI_h8l.js";
|
|
4
4
|
import { components as A, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as G } from "@feedmepos/ui-library";
|
|
5
|
-
import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-6zh1MvyE.js";
|
|
6
6
|
import { u as ve } from "./message-dialog-UoMWOnil.js";
|
|
7
7
|
import { detectLocale as F } from "@feedmepos/mf-common";
|
|
8
|
-
import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CJBY5CtV.js";
|
|
9
9
|
import { storeToRefs as _e } from "pinia";
|
|
10
10
|
const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex px-5 gap-2" }, xe = { class: "flex flex-col gap-2" }, be = { class: "fm-typo-en-title-sm-600" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ve = { class: "w-full gap-[24px] flex flex-col pt-2" }, Te = { class: "flex items-center w-full gap-3" }, De = { class: "text-fm-color-typo-primary" }, $e = { class: "text-fm-color-typo-secondary" }, Se = { class: "flex items-center gap-2" }, ke = /* @__PURE__ */ B({
|
|
11
11
|
__name: "ReportHour",
|