@feedmepos/mf-report 5.24.2-beta.0 → 5.24.3-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.
Files changed (30) hide show
  1. package/dist/{App-Du2I5pkc.js → App-Dzeer__9.js} +4 -4
  2. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-DLOzQ_4p.js +380 -0
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-BxNe4Imp.js → Default.vue_vue_type_script_setup_true_lang-BOAXeqWf.js} +1 -1
  4. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-xpdb2Id4.js +4661 -0
  5. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-Bo0rDoIQ.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C7gr0NWs.js} +8299 -7427
  6. package/dist/{InsightView-XQqVF4K5.js → InsightView-Bd68THYO.js} +5 -5
  7. package/dist/{Integration-CHzPty6e.js → Integration-DHn_dXct.js} +22 -22
  8. package/dist/{Integrations-B9z4axiH.js → Integrations-DWN55pp9.js} +13 -12
  9. package/dist/{Layout-BKHzNlTV.js → Layout-BllH8uBy.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang--Yq7SlV0.js → MenuTab.vue_vue_type_script_setup_true_lang-D-FlY4Oz.js} +26 -27
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-B45yOf-r.js → NavigationTab.vue_vue_type_script_setup_true_lang-aocfb4uL.js} +6342 -6322
  12. package/dist/{OverviewView-BP6X5TwG.js → OverviewView-BxwON8if.js} +5 -5
  13. package/dist/{Report-BSC2CckY.js → Report-BOwmlQGQ.js} +4 -4
  14. package/dist/{ReportEditor-CD7kUHS-.js → ReportEditor-W1qI7G3B.js} +571 -573
  15. package/dist/{ReportView-Dgw-ngJe.js → ReportView-DAFN6S8c.js} +16 -17
  16. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Af_Z54a4.js +143 -0
  17. package/dist/{Setting-CzNvYYHE.js → Setting-BRZ-TxfM.js} +4 -4
  18. package/dist/{TileEditor-CaPhvKJt.js → TileEditor-Bpa-f6SA.js} +325 -323
  19. package/dist/{TransitionFade-BKjSVuIj.js → TransitionFade-BQNwYOp6.js} +18 -18
  20. package/dist/{app-BauK9tUb.js → app-DiLOz-1s.js} +2229 -2311
  21. package/dist/app.js +1 -1
  22. package/dist/assets/{formatChartData.worker-C3U_CcDO.js → formatChartData.worker-DaLXwMTs.js} +2 -2
  23. package/dist/assets/{processTableData.worker-D_oiIvNW.js → processTableData.worker-Be0ZD94L.js} +2 -2
  24. package/dist/style.css +1 -1
  25. package/dist/{useRestaurantPermission-GEh6OAuS.js → useRestaurantPermission-Cp46lfU5.js} +1 -1
  26. package/package.json +1 -1
  27. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-DiCLbdxO.js +0 -286
  28. package/dist/FilterSelector.vue_vue_type_script_setup_true_lang-9mGbqTLb.js +0 -5467
  29. package/dist/NoData.vue_vue_type_script_setup_true_lang-CDKHIlF2.js +0 -38
  30. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Df40itH5.js +0 -110
@@ -1,38 +0,0 @@
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-DVWuTfed.js";
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
- __name: "NoData",
5
- props: {
6
- title: { default: "report.messages.noData" },
7
- subTitle: { default: "report.messages.adjustFiltersOrSelectADifferentTimeRange" },
8
- svgPath: { default: "" }
9
- },
10
- setup(i) {
11
- const { t: s } = h(), e = i, c = o(() => e.title === "report.messages.noData" ? s("report.messages.noData") : e.title), m = o(() => e.subTitle === "report.messages.adjustFiltersOrSelectADifferentTimeRange" ? s("report.messages.adjustFiltersOrSelectADifferentTimeRange") : e.subTitle);
12
- return (t, x) => {
13
- const p = d("FmCard");
14
- return a(), r("div", v, [
15
- f(t.$slots, "menu"),
16
- g(p, {
17
- class: "p-24 h-full flex flex-col gap-2 items-center justify-center",
18
- variant: "flat"
19
- }, {
20
- default: _(() => [
21
- t.svgPath ? (a(), r("img", {
22
- key: 0,
23
- src: t.svgPath,
24
- alt: "No data illustration",
25
- class: "mb-4 w-80 h-80"
26
- }, null, 8, D)) : y("", !0),
27
- l("p", T, n(c.value), 1),
28
- l("p", b, n(m.value), 1)
29
- ]),
30
- _: 1
31
- })
32
- ]);
33
- };
34
- }
35
- });
36
- export {
37
- F as _
38
- };
@@ -1,110 +0,0 @@
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-DVWuTfed.js";
3
- const K = (s, u) => {
4
- const t = s.__vccOpts || s;
5
- for (const [o, i] of u)
6
- t[o] = i;
7
- return t;
8
- }, P = { class: "fm-typo-en-body-lg-400 flex gap-4 text-fm-color-typo-primary" }, T = { class: "fm-typo-en-body-lg-400 line-clamp-1" }, j = { class: "sticky top-0" }, Q = /* @__PURE__ */ B({
9
- __name: "SelectComponent",
10
- props: /* @__PURE__ */ D({
11
- items: {
12
- type: Array,
13
- default: () => []
14
- },
15
- placeHolder: {
16
- type: String,
17
- default: ""
18
- },
19
- label: {
20
- type: String,
21
- default: ""
22
- },
23
- disableSearch: {
24
- type: Boolean,
25
- default: !1
26
- }
27
- }, {
28
- modelValue: { required: !0 },
29
- modelModifiers: {}
30
- }),
31
- emits: ["update:modelValue"],
32
- setup(s) {
33
- const { t: u } = A(), t = z(s, "modelValue"), o = s, i = (e) => {
34
- t.value = e.value, setTimeout(() => {
35
- r.value = !1;
36
- }, 0);
37
- }, r = b(!1), p = b(""), F = f(
38
- () => o.items.filter(
39
- (e) => e.label.toLowerCase().indexOf(p.value.toLowerCase()) !== -1
40
- )
41
- ), x = f(
42
- () => {
43
- var e;
44
- return ((e = o.items.find((a) => a.value === t.value)) == null ? void 0 : e.label) ?? u("report.common.select");
45
- }
46
- ), w = f(() => o.items.filter((e) => e.value === t.value));
47
- return (e, a) => {
48
- const M = n("FmIcon"), V = n("FmField"), S = n("FmSearch"), C = n("FmMenuDivider"), k = n("FmMenuItem"), I = n("FmMenu");
49
- return _(), y(I, {
50
- trigger: "click",
51
- shift: !0,
52
- "max-height": 300,
53
- width: 200,
54
- onMenuChanged: a[1] || (a[1] = (v) => {
55
- r.value = v;
56
- })
57
- }, {
58
- "menu-button": m(() => [
59
- c("p", P, g(o.label), 1),
60
- d(V, {
61
- class: q(["cursor-pointer", `${r.value ? "border-fm-color-primary" : ""}`]),
62
- focused: r.value
63
- }, {
64
- append: m(() => [
65
- d(M, {
66
- color: "black",
67
- name: r.value ? "expand_less" : "expand_more",
68
- size: "md"
69
- }, null, 8, ["name"])
70
- ]),
71
- default: m(() => [
72
- c("div", T, g(x.value), 1)
73
- ]),
74
- _: 1
75
- }, 8, ["class", "focused"])
76
- ]),
77
- "menu-wrapper": m(({ maxHeight: v }) => [
78
- c("div", {
79
- style: L({ maxHeight: `${v}px` }),
80
- class: "bg-fm-color-neutral-white overflow-y-auto overflow-x-hidden rounded-md shadow-light-300 w-[250px]"
81
- }, [
82
- U(c("div", j, [
83
- d(S, {
84
- modelValue: p.value,
85
- "onUpdate:modelValue": a[0] || (a[0] = (l) => p.value = l),
86
- placeholder: E(u)("report.select.filterPlaceholder")
87
- }, null, 8, ["modelValue", "placeholder"]),
88
- d(C)
89
- ], 512), [
90
- [H, !o.disableSearch]
91
- ]),
92
- (_(!0), $(N, null, O(F.value, (l) => (_(), y(k, {
93
- key: l.value,
94
- label: l.label,
95
- sublabel: l.sublabel,
96
- "model-value": w.value.some((h) => h.value === l.value),
97
- value: l.value,
98
- "onUpdate:modelValue": (h) => i(l)
99
- }, null, 8, ["label", "sublabel", "model-value", "value", "onUpdate:modelValue"]))), 128))
100
- ], 4)
101
- ]),
102
- _: 1
103
- });
104
- };
105
- }
106
- });
107
- export {
108
- K as _,
109
- Q as a
110
- };