@feedmepos/mf-report 5.27.5-beta.0 → 5.27.6-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-CFy7uVWa.js → App-DBCDXJCE.js} +5 -5
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-BeQGMwaJ.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CHULWjG1.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-Clr6FpOC.js → Default.vue_vue_type_script_setup_true_lang-DccFoFmn.js} +2 -2
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-4no6fWm5.js → DynamicWidget.vue_vue_type_script_setup_true_lang-BRDENhJR.js} +5 -5
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CZgNkimr.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Do9G4P4d.js} +4 -4
- package/dist/{InsightView-DU8zljsK.js → InsightView-BcvNdN0f.js} +6 -6
- package/dist/Integration-1FsuhSQP.js +7760 -0
- package/dist/{Integrations-Bduuzxhw.js → Integrations-CqblEiP4.js} +6 -6
- package/dist/{Layout-BVwIE7cw.js → Layout-BWpi_eS8.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BVchswag.js → MenuTab.vue_vue_type_script_setup_true_lang-I8NMgT9w.js} +4 -4
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-YP0CF-o8.js → NavigationTab.vue_vue_type_script_setup_true_lang-KMEcPWSq.js} +5 -5
- package/dist/{OverviewView-Bdx32y3s.js → OverviewView-DBQXwpIk.js} +5 -5
- package/dist/{Report-_zTTyNSJ.js → Report-DP3BODD5.js} +5 -5
- package/dist/{ReportEditor-DYEOVuv-.js → ReportEditor-BHFE4cmn.js} +7 -7
- package/dist/{ReportView-CwL2OqAA.js → ReportView-CNcjqCYd.js} +11 -11
- package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js +137 -0
- package/dist/{Setting-7r18HuYT.js → Setting-DE7BlHYV.js} +5 -5
- package/dist/{Template-DktljGgT.js → Template-elKLSdYa.js} +5 -5
- package/dist/{TileEditor-CJZ-J8q-.js → TileEditor-cm8PcYFG.js} +11 -11
- package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-jAvfQmuu.js → TileGrid.vue_vue_type_script_setup_true_lang-x9AU_vmF.js} +1 -1
- package/dist/{TransitionFade-CJHCf0fY.js → TransitionFade-BQOvnIJ2.js} +6 -6
- package/dist/{vue-i18n-DVWuTfed.js → _plugin-vue_export-helper-onplcgja.js} +239 -232
- package/dist/{app-DrMXbBEc.js → app-shr6CD72.js} +32 -12
- package/dist/app.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{useRestaurantPermission-CEpSe7Xz.js → useRestaurantPermission-DpQjGQ6D.js} +2 -2
- package/package.json +1 -1
- package/dist/Integration-CYzbIowW.js +0 -7657
- package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js +0 -143
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { defineComponent as S, computed as p, resolveComponent as r, createElementBlock as y, openBlock as f, renderSlot as N, createVNode as d, withCtx as i, createCommentVNode as O, createElementVNode as c, toDisplayString as _, mergeModels as j, useModel as A, ref as F, createBlock as x, normalizeStyle as B, 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 "./vue-i18n-DVWuTfed.js";
|
|
3
|
-
const Z = (s, n) => {
|
|
4
|
-
const e = s.__vccOpts || s;
|
|
5
|
-
for (const [t, m] of n)
|
|
6
|
-
e[t] = m;
|
|
7
|
-
return e;
|
|
8
|
-
}, 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" }, ee = /* @__PURE__ */ S({
|
|
9
|
-
__name: "NoData",
|
|
10
|
-
props: {
|
|
11
|
-
title: { default: "report.messages.noData" },
|
|
12
|
-
subTitle: { default: "report.messages.adjustFiltersOrSelectADifferentTimeRange" },
|
|
13
|
-
svgPath: { default: "" }
|
|
14
|
-
},
|
|
15
|
-
setup(s) {
|
|
16
|
-
const { t: n } = w(), e = s, t = p(() => e.title === "report.messages.noData" ? n("report.messages.noData") : e.title), m = p(() => e.subTitle === "report.messages.adjustFiltersOrSelectADifferentTimeRange" ? n("report.messages.adjustFiltersOrSelectADifferentTimeRange") : e.subTitle);
|
|
17
|
-
return (l, v) => {
|
|
18
|
-
const h = r("FmCard");
|
|
19
|
-
return f(), y("div", H, [
|
|
20
|
-
N(l.$slots, "menu"),
|
|
21
|
-
d(h, {
|
|
22
|
-
class: "p-24 h-full flex flex-col gap-2 items-center justify-center",
|
|
23
|
-
variant: "flat"
|
|
24
|
-
}, {
|
|
25
|
-
default: i(() => [
|
|
26
|
-
l.svgPath ? (f(), y("img", {
|
|
27
|
-
key: 0,
|
|
28
|
-
src: l.svgPath,
|
|
29
|
-
alt: "No data illustration",
|
|
30
|
-
class: "mb-4 w-80 h-80"
|
|
31
|
-
}, null, 8, q)) : O("", !0),
|
|
32
|
-
c("p", G, _(t.value), 1),
|
|
33
|
-
c("p", J, _(m.value), 1)
|
|
34
|
-
]),
|
|
35
|
-
_: 1
|
|
36
|
-
})
|
|
37
|
-
]);
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
}), 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" }, te = /* @__PURE__ */ S({
|
|
41
|
-
__name: "SelectComponent",
|
|
42
|
-
props: /* @__PURE__ */ j({
|
|
43
|
-
items: {
|
|
44
|
-
type: Array,
|
|
45
|
-
default: () => []
|
|
46
|
-
},
|
|
47
|
-
placeHolder: {
|
|
48
|
-
type: String,
|
|
49
|
-
default: ""
|
|
50
|
-
},
|
|
51
|
-
label: {
|
|
52
|
-
type: String,
|
|
53
|
-
default: ""
|
|
54
|
-
},
|
|
55
|
-
disableSearch: {
|
|
56
|
-
type: Boolean,
|
|
57
|
-
default: !1
|
|
58
|
-
}
|
|
59
|
-
}, {
|
|
60
|
-
modelValue: { required: !0 },
|
|
61
|
-
modelModifiers: {}
|
|
62
|
-
}),
|
|
63
|
-
emits: ["update:modelValue"],
|
|
64
|
-
setup(s) {
|
|
65
|
-
const { t: n } = w(), e = A(s, "modelValue"), t = s, m = (o) => {
|
|
66
|
-
e.value = o.value, setTimeout(() => {
|
|
67
|
-
l.value = !1;
|
|
68
|
-
}, 0);
|
|
69
|
-
}, l = F(!1), v = F(""), h = p(
|
|
70
|
-
() => t.items.filter(
|
|
71
|
-
(o) => o.label.toLowerCase().indexOf(v.value.toLowerCase()) !== -1
|
|
72
|
-
)
|
|
73
|
-
), C = p(
|
|
74
|
-
() => {
|
|
75
|
-
var o;
|
|
76
|
-
return ((o = t.items.find((u) => u.value === e.value)) == null ? void 0 : o.label) ?? n("report.common.select");
|
|
77
|
-
}
|
|
78
|
-
), V = p(() => t.items.filter((o) => o.value === e.value));
|
|
79
|
-
return (o, u) => {
|
|
80
|
-
const D = r("FmIcon"), M = r("FmField"), k = r("FmSearch"), T = r("FmMenuDivider"), I = r("FmMenuItem"), $ = r("FmMenu");
|
|
81
|
-
return f(), x($, {
|
|
82
|
-
trigger: "click",
|
|
83
|
-
shift: !0,
|
|
84
|
-
"max-height": 300,
|
|
85
|
-
width: 200,
|
|
86
|
-
onMenuChanged: u[1] || (u[1] = (g) => {
|
|
87
|
-
l.value = g;
|
|
88
|
-
})
|
|
89
|
-
}, {
|
|
90
|
-
"menu-button": i(() => [
|
|
91
|
-
c("p", K, _(t.label), 1),
|
|
92
|
-
d(M, {
|
|
93
|
-
class: E(["cursor-pointer", `${l.value ? "border-fm-color-primary" : ""}`]),
|
|
94
|
-
focused: l.value
|
|
95
|
-
}, {
|
|
96
|
-
append: i(() => [
|
|
97
|
-
d(D, {
|
|
98
|
-
color: "black",
|
|
99
|
-
name: l.value ? "expand_less" : "expand_more",
|
|
100
|
-
size: "md"
|
|
101
|
-
}, null, 8, ["name"])
|
|
102
|
-
]),
|
|
103
|
-
default: i(() => [
|
|
104
|
-
c("div", Q, _(C.value), 1)
|
|
105
|
-
]),
|
|
106
|
-
_: 1
|
|
107
|
-
}, 8, ["class", "focused"])
|
|
108
|
-
]),
|
|
109
|
-
"menu-wrapper": i(({ maxHeight: g }) => [
|
|
110
|
-
c("div", {
|
|
111
|
-
style: B({ maxHeight: `${g}px` }),
|
|
112
|
-
class: "bg-fm-color-neutral-white overflow-y-auto overflow-x-hidden rounded-md shadow-light-300 w-[250px]"
|
|
113
|
-
}, [
|
|
114
|
-
P(c("div", W, [
|
|
115
|
-
d(k, {
|
|
116
|
-
modelValue: v.value,
|
|
117
|
-
"onUpdate:modelValue": u[0] || (u[0] = (a) => v.value = a),
|
|
118
|
-
placeholder: z(n)("report.select.filterPlaceholder")
|
|
119
|
-
}, null, 8, ["modelValue", "placeholder"]),
|
|
120
|
-
d(T)
|
|
121
|
-
], 512), [
|
|
122
|
-
[L, !t.disableSearch]
|
|
123
|
-
]),
|
|
124
|
-
(f(!0), y(R, null, U(h.value, (a) => (f(), x(I, {
|
|
125
|
-
key: a.value,
|
|
126
|
-
label: a.label,
|
|
127
|
-
sublabel: a.sublabel,
|
|
128
|
-
"model-value": V.value.some((b) => b.value === a.value),
|
|
129
|
-
value: a.value,
|
|
130
|
-
"onUpdate:modelValue": (b) => m(a)
|
|
131
|
-
}, null, 8, ["label", "sublabel", "model-value", "value", "onUpdate:modelValue"]))), 128))
|
|
132
|
-
], 4)
|
|
133
|
-
]),
|
|
134
|
-
_: 1
|
|
135
|
-
});
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
export {
|
|
140
|
-
ee as _,
|
|
141
|
-
te as a,
|
|
142
|
-
Z as b
|
|
143
|
-
};
|