@feedmepos/mf-report 5.33.3 → 5.34.1-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.
- package/dist/{App-BgRqim5d.js → App-BdSGNJ3L.js} +114 -113
- package/dist/{DateRangeSelect-XyU5XG5c.js → DateRangeSelect-Cre6UJLD.js} +67 -67
- package/dist/{Default.vue_vue_type_script_setup_true_lang-CC7fE3F8.js → Default.vue_vue_type_script_setup_true_lang-CvM5oewZ.js} +3 -3
- package/dist/DigestListView-BuB4JOlT.js +876 -0
- package/dist/{DigestReaderView-DSNoAESE.js → DigestReaderView-DdpTY1Ax.js} +63 -63
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CsDiXGUk.js → DynamicWidget.vue_vue_type_script_setup_true_lang-4qBcakJs.js} +733 -733
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-D7Rsh-uY.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BL3kxHFR.js} +526 -526
- package/dist/{InsightView-CF8mQJha.js → InsightView-CZOStmyJ.js} +88 -88
- package/dist/{Integration-QMdYwTwW.js → Integration-BC-DWRpD.js} +1983 -1967
- package/dist/{Integrations-Dbx1ScOv.js → Integrations-ibKrdipe.js} +10 -10
- package/dist/{Layout-CgiplBHM.js → Layout-D0W7xdty.js} +3 -3
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-zW8JA7j3.js → LocationSelect.vue_vue_type_script_setup_true_lang-CJCSJkT_.js} +306 -306
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-B0q9V1x8.js → MenuTab.vue_vue_type_script_setup_true_lang-DnPC8AcN.js} +6 -6
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BVWZ8vTw.js → NavigationTab.vue_vue_type_script_setup_true_lang-CKaMBQka.js} +12784 -11760
- package/dist/{OverviewView-BbZ8WkLb.js → OverviewView-AOwgvPBq.js} +7 -7
- package/dist/{Report-BYi0pPZs.js → Report-Bs5sy1OF.js} +12 -12
- package/dist/{ReportCanvasView-CfFtVomc.js → ReportCanvasView-CYai96pI.js} +426 -426
- package/dist/{ReportEditor-BLEkGUVR.js → ReportEditor-BbsLe4B7.js} +32 -32
- package/dist/{ReportView-TG78Krm2.js → ReportView-B5Fqspyn.js} +13 -13
- package/dist/{ReportViewRoute-BUADf4Cr.js → ReportViewRoute-D2wI79x9.js} +5 -5
- package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js +137 -0
- package/dist/{Setting-Curkhv9_.js → Setting-DdYXi5qR.js} +6 -6
- package/dist/{Template-BN_ds698.js → Template-YEa1E6oz.js} +80 -80
- package/dist/{TileEditor-Cfb0uXGr.js → TileEditor-CnmEhIab.js} +1566 -1566
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-1FKwWbpC.js → TilePageStack.vue_vue_type_script_setup_true_lang-CqWXV57r.js} +82 -82
- package/dist/{TransitionFade-D0_ZoB-O.js → TransitionFade-BmItOXFf.js} +170 -170
- package/dist/{XeroRedirect-CuTrP62C.js → XeroRedirect-D4sHbZe7.js} +3 -3
- package/dist/_plugin-vue_export-helper-Bx7s49ra.js +2828 -0
- package/dist/{app-LKjvcmXa.js → app-BmNusIzI.js} +5688 -13890
- package/dist/app.js +1 -1
- package/dist/assets/{formatChartData.worker-DvK7K5ca.js → formatChartData.worker-Cpgnh20a.js} +62 -62
- package/dist/assets/{processTableData.worker-C3l4iUXL.js → processTableData.worker-B7I6PElJ.js} +64 -64
- package/dist/{chart-BywXiz4O.js → chart-DU0N9V2o.js} +7 -4
- package/dist/currency-DAk-bsf8.js +12 -0
- package/dist/index-6T_rmIM_.js +24722 -0
- package/dist/{report-Ci2ElGpp.js → report-NKl3Yb5J.js} +23 -23
- package/dist/style.css +1 -1
- package/dist/{useDigestFont-BxXC7U3d.js → useDigestFont-Bxq6g3WO.js} +80 -80
- package/dist/{useReportCanvasPanel-BjmRiMSh.js → useReportCanvasPanel-BN-Gq7Uj.js} +975 -976
- package/dist/{useRestaurantPermission-DX52YBfA.js → useRestaurantPermission-D8b3oI0-.js} +2 -2
- package/package.json +11 -11
- package/dist/DigestListView-Bqp4LA1w.js +0 -876
- package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js +0 -137
- package/dist/_plugin-vue_export-helper-C6QDExPN.js +0 -2718
- package/dist/currency-DFN_8rRJ.js +0 -12
- package/dist/index-xdTpLFHc.js +0 -25511
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as ye,
|
|
2
|
-
import { W as Il, g as Ul, _ as Nl, a as Bl, e as Ne, S as je, d as wl, b as _l, T as Ml, c as Rl } from "./TransitionFade-
|
|
3
|
-
import { D as oe, b as ze, C as Pe, F as Ye, c as Be, u as sl, i as qe, d as fe, M as Fl, r as zl, e as ll, n as Pl, f as ql, g as El, h as Ll, j as Al, k as Gl, m as Wl, a as Hl, o as cl, p as tl, q as jl, Q as Xe, l as Jl, t as Ql } from "./report-
|
|
1
|
+
import { defineComponent as ye, useModel as Ce, ref as G, computed as b, resolveComponent as T, openBlock as p, createBlock as k, withCtx as V, createElementVNode as f, createVNode as d, unref as t, normalizeClass as Ae, createTextVNode as Je, toDisplayString as B, mergeModels as Te, createElementBlock as z, Fragment as ke, renderSlot as bl, createCommentVNode as U, watch as ge, renderList as Le, onMounted as yl, onUnmounted as Dl, resolveDynamicComponent as Ol, isRef as hl, normalizeStyle as nl } from "vue";
|
|
2
|
+
import { W as Il, g as Ul, _ as Nl, a as Bl, e as Ne, S as je, d as wl, b as _l, T as Ml, c as Rl } from "./TransitionFade-BmItOXFf.js";
|
|
3
|
+
import { D as oe, b as ze, C as Pe, F as Ye, c as Be, u as sl, i as qe, d as fe, M as Fl, r as zl, e as ll, n as Pl, f as ql, g as El, h as Ll, j as Al, k as Gl, m as Wl, a as Hl, o as cl, p as tl, q as jl, Q as Xe, l as Jl, t as Ql } from "./report-NKl3Yb5J.js";
|
|
4
4
|
import { storeToRefs as Ee } from "pinia";
|
|
5
5
|
import { useRouter as ul, useRoute as dl } from "vue-router";
|
|
6
6
|
import { useBreakpoints as Ze, useSnackbar as Vl, FmButtonColorThemeVariant as xe } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as ml } from "./message-dialog-UoMWOnil.js";
|
|
8
8
|
import { u as Kl } from "./global-loader-BuxFfehu.js";
|
|
9
|
-
import { u as Ge } from "./_plugin-vue_export-helper-
|
|
9
|
+
import { u as Ge } from "./_plugin-vue_export-helper-Bx7s49ra.js";
|
|
10
10
|
import { r as Qe } from "./i18n-DbyciK4x.js";
|
|
11
|
-
import { _ as ol } from "./TilePageStack.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { a as al, _ as rl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import {
|
|
14
|
-
import { g as et, d as lt, _ as pl } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as ol } from "./TilePageStack.vue_vue_type_script_setup_true_lang-CqWXV57r.js";
|
|
12
|
+
import { a as al, _ as rl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js";
|
|
13
|
+
import { e as Yl, d as Xl, i as Zl } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-4qBcakJs.js";
|
|
14
|
+
import { g as et, d as lt, _ as pl } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BL3kxHFR.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-BmNusIzI.js";
|
|
17
|
+
import { d as rt } from "./DateRangeSelect-Cre6UJLD.js";
|
|
18
18
|
const nt = /* @__PURE__ */ ye({
|
|
19
19
|
__name: "WidgetDialog",
|
|
20
|
-
props: /* @__PURE__ */
|
|
20
|
+
props: /* @__PURE__ */ Te({
|
|
21
21
|
isOpen: { type: Boolean }
|
|
22
22
|
}, {
|
|
23
23
|
modelValue: {},
|
|
24
24
|
modelModifiers: {}
|
|
25
25
|
}),
|
|
26
|
-
emits: /* @__PURE__ */
|
|
26
|
+
emits: /* @__PURE__ */ Te(["update:isOpen"], ["update:modelValue"]),
|
|
27
27
|
setup(P, { emit: v }) {
|
|
28
|
-
const { t: m } = Ge(), { breakpoints: y } = Ze(), n =
|
|
28
|
+
const { t: m } = Ge(), { breakpoints: y } = Ze(), n = Ce(P, "modelValue"), w = P, L = v;
|
|
29
29
|
function X() {
|
|
30
30
|
L("update:isOpen", !1);
|
|
31
31
|
}
|
|
@@ -68,7 +68,7 @@ const nt = /* @__PURE__ */ ye({
|
|
|
68
68
|
}
|
|
69
69
|
}), it = { class: "fm-typo-en-body-lg-600" }, il = /* @__PURE__ */ ye({
|
|
70
70
|
__name: "ReportEditorTabHeader",
|
|
71
|
-
props: /* @__PURE__ */
|
|
71
|
+
props: /* @__PURE__ */ Te({
|
|
72
72
|
icon: {
|
|
73
73
|
type: String,
|
|
74
74
|
required: !0
|
|
@@ -79,7 +79,7 @@ const nt = /* @__PURE__ */ ye({
|
|
|
79
79
|
}),
|
|
80
80
|
emits: ["update:modelValue"],
|
|
81
81
|
setup(P) {
|
|
82
|
-
const { t: v } = Ge(), m =
|
|
82
|
+
const { t: v } = Ge(), m = Ce(P, "modelValue"), y = P;
|
|
83
83
|
return (n, w) => {
|
|
84
84
|
const L = T("FmIcon");
|
|
85
85
|
return p(), z("div", {
|
|
@@ -102,7 +102,7 @@ const nt = /* @__PURE__ */ ye({
|
|
|
102
102
|
},
|
|
103
103
|
emits: ["update:modelValue"],
|
|
104
104
|
setup(P) {
|
|
105
|
-
const v =
|
|
105
|
+
const v = Ce(P, "modelValue");
|
|
106
106
|
return (m, y) => (p(), z(ke, null, [
|
|
107
107
|
d(il, {
|
|
108
108
|
modelValue: v.value,
|
|
@@ -120,7 +120,7 @@ const nt = /* @__PURE__ */ ye({
|
|
|
120
120
|
},
|
|
121
121
|
emits: ["update:modelValue"],
|
|
122
122
|
setup(P) {
|
|
123
|
-
const v =
|
|
123
|
+
const v = Ce(P, "modelValue");
|
|
124
124
|
return (m, y) => {
|
|
125
125
|
const n = T("FmTopSheet"), w = T("FmCard");
|
|
126
126
|
return p(), k(w, { class: "fixed bottom-0 w-full" }, {
|
|
@@ -141,7 +141,7 @@ const nt = /* @__PURE__ */ ye({
|
|
|
141
141
|
"onUpdate:modelValue": y[1] || (y[1] = (L) => v.value = L),
|
|
142
142
|
icon: "keyboard_double_arrow_down"
|
|
143
143
|
}, null, 8, ["modelValue"]),
|
|
144
|
-
v.value ? bl(m.$slots, "default", {
|
|
144
|
+
v.value ? bl(m.$slots, "default", {}, void 0, void 0, 0) : U("", !0)
|
|
145
145
|
]),
|
|
146
146
|
_: 3
|
|
147
147
|
}, 8, ["modelValue"])
|
|
@@ -167,7 +167,7 @@ const nt = /* @__PURE__ */ ye({
|
|
|
167
167
|
class: "flex flex-col gap-2"
|
|
168
168
|
}, yt = /* @__PURE__ */ ye({
|
|
169
169
|
__name: "GlobalFilterDialog",
|
|
170
|
-
props: /* @__PURE__ */
|
|
170
|
+
props: /* @__PURE__ */ Te({
|
|
171
171
|
schemas: {
|
|
172
172
|
type: Array,
|
|
173
173
|
default: () => []
|
|
@@ -186,7 +186,7 @@ const nt = /* @__PURE__ */ ye({
|
|
|
186
186
|
}),
|
|
187
187
|
emits: ["update:globalFilter", "update:isOpen"],
|
|
188
188
|
setup(P) {
|
|
189
|
-
const { t: v, te: m } = Ge(), y =
|
|
189
|
+
const { t: v, te: m } = Ge(), y = Ce(P, "globalFilter"), n = Ce(P, "isOpen"), w = Vl(), L = P, X = G(""), D = G(), F = G(), N = G(), Z = G([]), A = G([]), a = G(!1), O = G([]), S = G([]), ae = G(!1), ie = b(
|
|
190
190
|
() => !!F.value && F.value.type !== oe.Timestamp
|
|
191
191
|
);
|
|
192
192
|
function de(e) {
|
|
@@ -686,8 +686,8 @@ const nt = /* @__PURE__ */ ye({
|
|
|
686
686
|
class: "text-fm-color-system-error-300"
|
|
687
687
|
})
|
|
688
688
|
]),
|
|
689
|
-
_:
|
|
690
|
-
},
|
|
689
|
+
_: 1
|
|
690
|
+
}, 8, ["content"])) : U("", !0)
|
|
691
691
|
]))), 128))
|
|
692
692
|
])) : (p(), k(W, {
|
|
693
693
|
key: 5,
|
|
@@ -894,10 +894,10 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
|
|
|
894
894
|
}), _e = b({
|
|
895
895
|
get: () => {
|
|
896
896
|
var r, o;
|
|
897
|
-
return be.value === Be.Custom ?
|
|
897
|
+
return be.value === Be.Custom ? Xl(((r = a.value) == null ? void 0 : r.tabIcon) ?? "") : ((o = a.value) == null ? void 0 : o.tabIcon) ?? "";
|
|
898
898
|
},
|
|
899
899
|
set: (r) => {
|
|
900
|
-
a.value && (a.value.tabIcon = be.value === Be.Custom ?
|
|
900
|
+
a.value && (a.value.tabIcon = be.value === Be.Custom ? Yl(r) : r.trim());
|
|
901
901
|
}
|
|
902
902
|
}), Fe = G(!1), Ve = G(null), te = G([]);
|
|
903
903
|
function Ue(r) {
|
|
@@ -1220,8 +1220,8 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
|
|
|
1220
1220
|
label: V(() => [
|
|
1221
1221
|
f("p", Wt, B(t(n)("report.common.remove")), 1)
|
|
1222
1222
|
]),
|
|
1223
|
-
_:
|
|
1224
|
-
},
|
|
1223
|
+
_: 1
|
|
1224
|
+
}, 8, ["onClick"])
|
|
1225
1225
|
]),
|
|
1226
1226
|
_: 2
|
|
1227
1227
|
}, 1024)
|
|
@@ -1310,7 +1310,7 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
|
|
|
1310
1310
|
class: "flex flex-col gap-8 rounded-md border border-fm-color-border px-16 py-12"
|
|
1311
1311
|
}, Xt = { class: "fm-typo-en-body-sm-400" }, Zt = { class: "fm-typo-en-body-sm-400 font-bold" }, eo = { class: "space-y-1 fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, lo = { class: "flex flex-col gap-24 top-0 bg-fm-color-neutral-white z-10" }, to = { class: "flex items-center gap-1 max-w-[195px] w-[195px]" }, oo = { class: "line-clamp-2 overflow-hidden max-w-[195px] w-[195px]" }, gl = /* @__PURE__ */ ye({
|
|
1312
1312
|
__name: "ReportEditorTab",
|
|
1313
|
-
props: /* @__PURE__ */
|
|
1313
|
+
props: /* @__PURE__ */ Te({
|
|
1314
1314
|
hideConfiguration: {
|
|
1315
1315
|
type: Boolean,
|
|
1316
1316
|
default: !1
|
|
@@ -1324,9 +1324,9 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
|
|
|
1324
1324
|
modelValue: { required: !0 },
|
|
1325
1325
|
modelModifiers: {}
|
|
1326
1326
|
}),
|
|
1327
|
-
emits: /* @__PURE__ */
|
|
1327
|
+
emits: /* @__PURE__ */ Te(["hideConfiguration"], ["update:modelValue"]),
|
|
1328
1328
|
setup(P, { emit: v }) {
|
|
1329
|
-
const m =
|
|
1329
|
+
const m = Ce(P, "modelValue"), { breakpoints: y } = Ze(), n = P, w = v, L = ul(), X = dl(), D = G(), {
|
|
1330
1330
|
currentSelectWidgetType: F,
|
|
1331
1331
|
categories: N,
|
|
1332
1332
|
editingTile: Z,
|
|
@@ -1820,7 +1820,7 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
|
|
|
1820
1820
|
class: "w-full"
|
|
1821
1821
|
}, go = /* @__PURE__ */ ye({
|
|
1822
1822
|
__name: "ReportEditorViewport",
|
|
1823
|
-
props: /* @__PURE__ */
|
|
1823
|
+
props: /* @__PURE__ */ Te({
|
|
1824
1824
|
hideConfiguration: { type: Boolean, required: !1, default: !1 },
|
|
1825
1825
|
readOnly: { type: Boolean, required: !1, default: !1 },
|
|
1826
1826
|
previewWidth: { type: Number, required: !0 },
|
|
@@ -1831,9 +1831,9 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
|
|
|
1831
1831
|
} },
|
|
1832
1832
|
modelModifiers: {}
|
|
1833
1833
|
}),
|
|
1834
|
-
emits: /* @__PURE__ */
|
|
1834
|
+
emits: /* @__PURE__ */ Te(["hideConfiguration"], ["update:modelValue"]),
|
|
1835
1835
|
setup(P, { emit: v }) {
|
|
1836
|
-
const { breakpoints: m } = Ze(), y =
|
|
1836
|
+
const { breakpoints: m } = Ze(), y = Ce(P, "modelValue"), n = b(() => {
|
|
1837
1837
|
var F;
|
|
1838
1838
|
return Jl((F = y.value) == null ? void 0 : F.tiles);
|
|
1839
1839
|
}), w = P, L = b(() => w.previewWidth > 0 && w.previewHeight > 0), X = b(() => m.value.sm || m.value.xs), D = v;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as z, computed as n,
|
|
2
|
-
import { _ as ve } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as fe } from "./TilePageStack.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as ye, l as ge } from "./report-
|
|
1
|
+
import { defineComponent as z, computed as n, openBlock as y, createBlock as g, withCtx as w, renderSlot as ie, ref as ue, watch as ce, resolveComponent as V, createVNode as k, unref as l, createElementVNode as R, toDisplayString as pe, normalizeStyle as me, normalizeClass as de } from "vue";
|
|
2
|
+
import { _ as ve } from "./MenuTab.vue_vue_type_script_setup_true_lang-DnPC8AcN.js";
|
|
3
|
+
import { _ as fe } from "./TilePageStack.vue_vue_type_script_setup_true_lang-CqWXV57r.js";
|
|
4
|
+
import { u as ye, l as ge } from "./report-NKl3Yb5J.js";
|
|
5
5
|
import { useRouter as be, useRoute as _e } from "vue-router";
|
|
6
|
-
import { _ as we } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as we } from "./Default.vue_vue_type_script_setup_true_lang-CvM5oewZ.js";
|
|
7
7
|
import { storeToRefs as f } from "pinia";
|
|
8
|
-
import { u as Se, e as Ce, j as xe } from "./app-
|
|
9
|
-
import { a as Te, b as he, u as ke, g as Re } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as L } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as Se, e as Ce, j as xe } from "./app-BmNusIzI.js";
|
|
9
|
+
import { a as Te, b as he, u as ke, g as Re } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CKaMBQka.js";
|
|
10
|
+
import { _ as L } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js";
|
|
11
11
|
import { useSnackbar as Pe, useBreakpoints as De } from "@feedmepos/ui-library";
|
|
12
12
|
import { u as Oe } from "./global-loader-BuxFfehu.js";
|
|
13
13
|
import { u as Ie } from "./message-dialog-UoMWOnil.js";
|
|
14
|
-
import { u as Q, _ as Ee } from "./_plugin-vue_export-helper-
|
|
14
|
+
import { u as Q, _ as Ee } from "./_plugin-vue_export-helper-Bx7s49ra.js";
|
|
15
15
|
import { r as $e } from "./i18n-DbyciK4x.js";
|
|
16
16
|
const Ae = /* @__PURE__ */ z({
|
|
17
17
|
__name: "NoPermission",
|
|
@@ -21,7 +21,7 @@ const Ae = /* @__PURE__ */ z({
|
|
|
21
21
|
},
|
|
22
22
|
setup(P) {
|
|
23
23
|
const t = P, { t: b } = Q(), m = n(() => b(t.title)), c = n(() => b(t.subTitle));
|
|
24
|
-
return (r, S) => (
|
|
24
|
+
return (r, S) => (y(), g(L, {
|
|
25
25
|
title: m.value,
|
|
26
26
|
"sub-title": c.value
|
|
27
27
|
}, {
|
|
@@ -251,7 +251,7 @@ const Ae = /* @__PURE__ */ z({
|
|
|
251
251
|
});
|
|
252
252
|
return (s, o) => {
|
|
253
253
|
const a = V("FmTooltip"), v = V("FmPageHead");
|
|
254
|
-
return
|
|
254
|
+
return y(), g(we, null, {
|
|
255
255
|
default: w(() => {
|
|
256
256
|
var F;
|
|
257
257
|
return [
|
|
@@ -289,13 +289,13 @@ const Ae = /* @__PURE__ */ z({
|
|
|
289
289
|
"model-value": l(u).lg || l(u).md ? oe.value : []
|
|
290
290
|
}, null, 8, ["model-value"])
|
|
291
291
|
]),
|
|
292
|
-
l(e) && !_.value ? (
|
|
292
|
+
l(e) && !_.value ? (y(), g(Ae, { key: 0 })) : l(e) && ((F = T.value) == null ? void 0 : F.length) > 0 ? (y(), g(fe, {
|
|
293
293
|
key: 1,
|
|
294
294
|
tiles: T.value,
|
|
295
295
|
"report-id": l(p),
|
|
296
296
|
"leaf-index-by-id": le.value,
|
|
297
297
|
"grid-class": l(u).sm || l(u).xs ? "px-3 gap-[16px]" : "px-24 gap-[24px]"
|
|
298
|
-
}, null, 8, ["tiles", "report-id", "leaf-index-by-id", "grid-class"])) : (
|
|
298
|
+
}, null, 8, ["tiles", "report-id", "leaf-index-by-id", "grid-class"])) : (y(), g(L, { key: 2 }))
|
|
299
299
|
], 6)
|
|
300
300
|
];
|
|
301
301
|
}),
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as i, defineAsyncComponent as t, computed as m,
|
|
1
|
+
import { defineComponent as i, defineAsyncComponent as t, computed as m, openBlock as r, createBlock 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-NKl3Yb5J.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-B5Fqspyn.js")), s = t(() => import("./ReportCanvasView-CYai96pI.js")), c = f(), u = _(), a = m(() => {
|
|
8
8
|
var e;
|
|
9
9
|
return ((e = u.currentReport) == null ? void 0 : e.reportType) === "canvas";
|
|
10
10
|
});
|
|
11
|
-
return (e, d) => a.value ? (
|
|
11
|
+
return (e, d) => a.value ? (r(), n(o(s), {
|
|
12
12
|
key: String(o(c).query.reportId ?? "")
|
|
13
|
-
})) : (
|
|
13
|
+
})) : (r(), n(o(p), { key: 1 }));
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
export {
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { defineComponent as S, computed as i, resolveComponent as s, openBlock as p, createElementBlock as y, renderSlot as N, createVNode as c, withCtx as d, createCommentVNode as j, createElementVNode as u, toDisplayString as v, useModel as A, ref as x, createBlock as F, normalizeStyle as B, withDirectives as O, unref as P, vShow as z, Fragment as L, renderList as R, normalizeClass as U, mergeModels as E } from "vue";
|
|
2
|
+
import { u as w } from "./_plugin-vue_export-helper-Bx7s49ra.js";
|
|
3
|
+
const H = { class: "flex flex-col h-full" }, q = ["src"], G = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, J = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, Z = /* @__PURE__ */ S({
|
|
4
|
+
__name: "NoData",
|
|
5
|
+
props: {
|
|
6
|
+
title: { default: "report.messages.noData" },
|
|
7
|
+
subTitle: { default: "report.messages.adjustFiltersOrSelectADifferentTimeRange" },
|
|
8
|
+
svgPath: { default: "" }
|
|
9
|
+
},
|
|
10
|
+
setup(n) {
|
|
11
|
+
const { t: m } = w(), t = n, o = i(() => t.title === "report.messages.noData" ? m("report.messages.noData") : t.title), _ = i(() => t.subTitle === "report.messages.adjustFiltersOrSelectADifferentTimeRange" ? m("report.messages.adjustFiltersOrSelectADifferentTimeRange") : t.subTitle);
|
|
12
|
+
return (a, f) => {
|
|
13
|
+
const h = s("FmCard");
|
|
14
|
+
return p(), y("div", H, [
|
|
15
|
+
N(a.$slots, "menu"),
|
|
16
|
+
c(h, {
|
|
17
|
+
class: "p-24 h-full flex flex-col gap-2 items-center justify-center",
|
|
18
|
+
variant: "flat"
|
|
19
|
+
}, {
|
|
20
|
+
default: d(() => [
|
|
21
|
+
n.svgPath ? (p(), y("img", {
|
|
22
|
+
key: 0,
|
|
23
|
+
src: n.svgPath,
|
|
24
|
+
alt: "No data illustration",
|
|
25
|
+
class: "mb-4 w-80 h-80"
|
|
26
|
+
}, null, 8, q)) : j("", !0),
|
|
27
|
+
u("p", G, v(o.value), 1),
|
|
28
|
+
u("p", J, v(_.value), 1)
|
|
29
|
+
]),
|
|
30
|
+
_: 1
|
|
31
|
+
})
|
|
32
|
+
]);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
}), K = { class: "fm-typo-en-body-lg-400 flex gap-4 text-fm-color-typo-primary" }, Q = { class: "fm-typo-en-body-lg-400 line-clamp-1" }, W = { class: "sticky top-0" }, ee = /* @__PURE__ */ S({
|
|
36
|
+
__name: "SelectComponent",
|
|
37
|
+
props: /* @__PURE__ */ E({
|
|
38
|
+
items: {
|
|
39
|
+
type: Array,
|
|
40
|
+
default: () => []
|
|
41
|
+
},
|
|
42
|
+
placeHolder: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: ""
|
|
45
|
+
},
|
|
46
|
+
label: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: ""
|
|
49
|
+
},
|
|
50
|
+
disableSearch: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: !1
|
|
53
|
+
}
|
|
54
|
+
}, {
|
|
55
|
+
modelValue: { required: !0 },
|
|
56
|
+
modelModifiers: {}
|
|
57
|
+
}),
|
|
58
|
+
emits: ["update:modelValue"],
|
|
59
|
+
setup(n) {
|
|
60
|
+
const { t: m } = w(), t = A(n, "modelValue"), o = n, _ = (e) => {
|
|
61
|
+
t.value = e.value, setTimeout(() => {
|
|
62
|
+
a.value = !1;
|
|
63
|
+
}, 0);
|
|
64
|
+
}, a = x(!1), f = x(""), h = i(
|
|
65
|
+
() => o.items.filter(
|
|
66
|
+
(e) => e.label.toLowerCase().indexOf(f.value.toLowerCase()) !== -1
|
|
67
|
+
)
|
|
68
|
+
), C = i(
|
|
69
|
+
() => {
|
|
70
|
+
var e;
|
|
71
|
+
return ((e = o.items.find((r) => r.value === t.value)) == null ? void 0 : e.label) ?? m("report.common.select");
|
|
72
|
+
}
|
|
73
|
+
), V = i(() => o.items.filter((e) => e.value === t.value));
|
|
74
|
+
return (e, r) => {
|
|
75
|
+
const D = s("FmIcon"), M = s("FmField"), T = s("FmSearch"), k = s("FmMenuDivider"), I = s("FmMenuItem"), $ = s("FmMenu");
|
|
76
|
+
return p(), F($, {
|
|
77
|
+
trigger: "click",
|
|
78
|
+
shift: !0,
|
|
79
|
+
"max-height": 300,
|
|
80
|
+
width: 200,
|
|
81
|
+
onMenuChanged: r[1] || (r[1] = (g) => {
|
|
82
|
+
a.value = g;
|
|
83
|
+
})
|
|
84
|
+
}, {
|
|
85
|
+
"menu-button": d(() => [
|
|
86
|
+
u("p", K, v(o.label), 1),
|
|
87
|
+
c(M, {
|
|
88
|
+
class: U(["cursor-pointer", `${a.value ? "border-fm-color-primary" : ""}`]),
|
|
89
|
+
focused: a.value
|
|
90
|
+
}, {
|
|
91
|
+
append: d(() => [
|
|
92
|
+
c(D, {
|
|
93
|
+
color: "black",
|
|
94
|
+
name: a.value ? "expand_less" : "expand_more",
|
|
95
|
+
size: "md"
|
|
96
|
+
}, null, 8, ["name"])
|
|
97
|
+
]),
|
|
98
|
+
default: d(() => [
|
|
99
|
+
u("div", Q, v(C.value), 1)
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
}, 8, ["class", "focused"])
|
|
103
|
+
]),
|
|
104
|
+
"menu-wrapper": d(({ maxHeight: g }) => [
|
|
105
|
+
u("div", {
|
|
106
|
+
style: B({ maxHeight: `${g}px` }),
|
|
107
|
+
class: "bg-fm-color-neutral-white overflow-y-auto overflow-x-hidden rounded-md shadow-light-300 w-[250px]"
|
|
108
|
+
}, [
|
|
109
|
+
O(u("div", W, [
|
|
110
|
+
c(T, {
|
|
111
|
+
modelValue: f.value,
|
|
112
|
+
"onUpdate:modelValue": r[0] || (r[0] = (l) => f.value = l),
|
|
113
|
+
placeholder: P(m)("report.select.filterPlaceholder")
|
|
114
|
+
}, null, 8, ["modelValue", "placeholder"]),
|
|
115
|
+
c(k)
|
|
116
|
+
], 512), [
|
|
117
|
+
[z, !o.disableSearch]
|
|
118
|
+
]),
|
|
119
|
+
(p(!0), y(L, null, R(h.value, (l) => (p(), F(I, {
|
|
120
|
+
key: l.value,
|
|
121
|
+
label: l.label,
|
|
122
|
+
sublabel: l.sublabel,
|
|
123
|
+
"model-value": V.value.some((b) => b.value === l.value),
|
|
124
|
+
value: l.value,
|
|
125
|
+
"onUpdate:modelValue": (b) => _(l)
|
|
126
|
+
}, null, 8, ["label", "sublabel", "model-value", "value", "onUpdate:modelValue"]))), 128))
|
|
127
|
+
], 4)
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
});
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
export {
|
|
135
|
+
Z as _,
|
|
136
|
+
ee as a
|
|
137
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as R, ref as N, useModel as L, resolveComponent as V,
|
|
2
|
-
import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { d as A, C as G, D as ve, x as ge, y as Z, a as ye } from "./app-
|
|
1
|
+
import { defineComponent as R, ref as N, useModel as L, resolveComponent as V, openBlock as h, createElementBlock as $, createBlock as U, resolveDynamicComponent as ue, unref as e, withCtx as b, createVNode as n, normalizeClass as B, createElementVNode as t, 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-CvM5oewZ.js";
|
|
3
|
+
import { d as A, C as G, D as ve, x as ge, y as Z, a as ye } from "./app-BmNusIzI.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-BL3kxHFR.js";
|
|
6
6
|
import { u as xe } from "./message-dialog-UoMWOnil.js";
|
|
7
|
-
import { u as w } from "./_plugin-vue_export-helper-
|
|
7
|
+
import { u as w } from "./_plugin-vue_export-helper-Bx7s49ra.js";
|
|
8
8
|
import { detectLocale as F } from "@feedmepos/mf-common";
|
|
9
|
-
import { a as j } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { a as j } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js";
|
|
10
10
|
import { storeToRefs as be } from "pinia";
|
|
11
11
|
const Ve = { class: "px-5 py-2" }, Te = { class: "flex" }, Ce = { class: "flex px-5 gap-2" }, De = { class: "flex flex-col gap-2" }, $e = { class: "fm-typo-en-title-sm-600" }, Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ke = { class: "w-full gap-[24px] flex flex-col pt-2" }, Fe = { class: "flex items-center w-full gap-3" }, Re = { class: "text-fm-color-typo-primary" }, we = { class: "text-fm-color-typo-secondary" }, Oe = { class: "flex items-center gap-2" }, He = /* @__PURE__ */ R({
|
|
12
12
|
__name: "ReportHour",
|