@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,137 +0,0 @@
|
|
|
1
|
-
import { defineComponent as S, computed as d, resolveComponent as s, createElementBlock as y, openBlock as i, renderSlot as N, createVNode as m, withCtx as c, createCommentVNode as j, createElementVNode as r, toDisplayString as v, mergeModels as A, useModel as B, ref as F, createBlock as x, normalizeStyle as O, withDirectives as P, unref as z, vShow as L, Fragment as R, renderList as U, normalizeClass as E } from "vue";
|
|
2
|
-
import { u as w } from "./_plugin-vue_export-helper-C6QDExPN.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(p) {
|
|
11
|
-
const { t: u } = w(), l = p, a = d(() => l.title === "report.messages.noData" ? u("report.messages.noData") : l.title), _ = d(() => l.subTitle === "report.messages.adjustFiltersOrSelectADifferentTimeRange" ? u("report.messages.adjustFiltersOrSelectADifferentTimeRange") : l.subTitle);
|
|
12
|
-
return (e, f) => {
|
|
13
|
-
const h = s("FmCard");
|
|
14
|
-
return i(), y("div", H, [
|
|
15
|
-
N(e.$slots, "menu"),
|
|
16
|
-
m(h, {
|
|
17
|
-
class: "p-24 h-full flex flex-col gap-2 items-center justify-center",
|
|
18
|
-
variant: "flat"
|
|
19
|
-
}, {
|
|
20
|
-
default: c(() => [
|
|
21
|
-
e.svgPath ? (i(), y("img", {
|
|
22
|
-
key: 0,
|
|
23
|
-
src: e.svgPath,
|
|
24
|
-
alt: "No data illustration",
|
|
25
|
-
class: "mb-4 w-80 h-80"
|
|
26
|
-
}, null, 8, q)) : j("", !0),
|
|
27
|
-
r("p", G, v(a.value), 1),
|
|
28
|
-
r("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__ */ A({
|
|
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(p) {
|
|
60
|
-
const { t: u } = w(), l = B(p, "modelValue"), a = p, _ = (t) => {
|
|
61
|
-
l.value = t.value, setTimeout(() => {
|
|
62
|
-
e.value = !1;
|
|
63
|
-
}, 0);
|
|
64
|
-
}, e = F(!1), f = F(""), h = d(
|
|
65
|
-
() => a.items.filter(
|
|
66
|
-
(t) => t.label.toLowerCase().indexOf(f.value.toLowerCase()) !== -1
|
|
67
|
-
)
|
|
68
|
-
), C = d(
|
|
69
|
-
() => {
|
|
70
|
-
var t;
|
|
71
|
-
return ((t = a.items.find((n) => n.value === l.value)) == null ? void 0 : t.label) ?? u("report.common.select");
|
|
72
|
-
}
|
|
73
|
-
), V = d(() => a.items.filter((t) => t.value === l.value));
|
|
74
|
-
return (t, n) => {
|
|
75
|
-
const D = s("FmIcon"), M = s("FmField"), T = s("FmSearch"), k = s("FmMenuDivider"), I = s("FmMenuItem"), $ = s("FmMenu");
|
|
76
|
-
return i(), x($, {
|
|
77
|
-
trigger: "click",
|
|
78
|
-
shift: !0,
|
|
79
|
-
"max-height": 300,
|
|
80
|
-
width: 200,
|
|
81
|
-
onMenuChanged: n[1] || (n[1] = (g) => {
|
|
82
|
-
e.value = g;
|
|
83
|
-
})
|
|
84
|
-
}, {
|
|
85
|
-
"menu-button": c(() => [
|
|
86
|
-
r("p", K, v(a.label), 1),
|
|
87
|
-
m(M, {
|
|
88
|
-
class: E(["cursor-pointer", `${e.value ? "border-fm-color-primary" : ""}`]),
|
|
89
|
-
focused: e.value
|
|
90
|
-
}, {
|
|
91
|
-
append: c(() => [
|
|
92
|
-
m(D, {
|
|
93
|
-
color: "black",
|
|
94
|
-
name: e.value ? "expand_less" : "expand_more",
|
|
95
|
-
size: "md"
|
|
96
|
-
}, null, 8, ["name"])
|
|
97
|
-
]),
|
|
98
|
-
default: c(() => [
|
|
99
|
-
r("div", Q, v(C.value), 1)
|
|
100
|
-
]),
|
|
101
|
-
_: 1
|
|
102
|
-
}, 8, ["class", "focused"])
|
|
103
|
-
]),
|
|
104
|
-
"menu-wrapper": c(({ maxHeight: g }) => [
|
|
105
|
-
r("div", {
|
|
106
|
-
style: O({ 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
|
-
P(r("div", W, [
|
|
110
|
-
m(T, {
|
|
111
|
-
modelValue: f.value,
|
|
112
|
-
"onUpdate:modelValue": n[0] || (n[0] = (o) => f.value = o),
|
|
113
|
-
placeholder: z(u)("report.select.filterPlaceholder")
|
|
114
|
-
}, null, 8, ["modelValue", "placeholder"]),
|
|
115
|
-
m(k)
|
|
116
|
-
], 512), [
|
|
117
|
-
[L, !a.disableSearch]
|
|
118
|
-
]),
|
|
119
|
-
(i(!0), y(R, null, U(h.value, (o) => (i(), x(I, {
|
|
120
|
-
key: o.value,
|
|
121
|
-
label: o.label,
|
|
122
|
-
sublabel: o.sublabel,
|
|
123
|
-
"model-value": V.value.some((b) => b.value === o.value),
|
|
124
|
-
value: o.value,
|
|
125
|
-
"onUpdate:modelValue": (b) => _(o)
|
|
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
|
-
};
|