@feedmepos/mf-report 5.27.5 → 5.27.6

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 (29) hide show
  1. package/dist/{App-DJWMqt7f.js → App-BWU-8sIB.js} +5 -5
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-BMKUeE9w.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DO6_l1xS.js} +2 -2
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-CLSO7arU.js → Default.vue_vue_type_script_setup_true_lang-goan1e68.js} +2 -2
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-gXdLQZ0D.js → DynamicWidget.vue_vue_type_script_setup_true_lang-CYP0Wttg.js} +5 -5
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfUSF_R.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.js} +4 -4
  6. package/dist/{InsightView-tDYTkUBy.js → InsightView-DquTdoPz.js} +6 -6
  7. package/dist/Integration-8lUFztLw.js +7760 -0
  8. package/dist/{Integrations-COJFJ3II.js → Integrations-BlpISWx3.js} +6 -6
  9. package/dist/{Layout-DIrgp3nZ.js → Layout-B6s59x5r.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-Bbob__gU.js → MenuTab.vue_vue_type_script_setup_true_lang-iTVb0ilS.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-D5fefUpx.js → NavigationTab.vue_vue_type_script_setup_true_lang-tVEdFcI7.js} +5 -5
  12. package/dist/{OverviewView-CgOJpxko.js → OverviewView-CB40VGmB.js} +5 -5
  13. package/dist/{Report-CE1sKMhv.js → Report-BD78fghf.js} +5 -5
  14. package/dist/{ReportEditor-B-In0uhN.js → ReportEditor-kyddZIao.js} +7 -7
  15. package/dist/{ReportView-s_nX6HmE.js → ReportView-BAjSkJd0.js} +11 -11
  16. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js +137 -0
  17. package/dist/{Setting-B30AzHh1.js → Setting-CWTM0eta.js} +5 -5
  18. package/dist/{Template-xIeLPbgo.js → Template-Zlmz7-IE.js} +5 -5
  19. package/dist/{TileEditor-CWMVvY6U.js → TileEditor-Cds-X8PY.js} +11 -11
  20. package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-DHpiRHwF.js → TileGrid.vue_vue_type_script_setup_true_lang-C-8ll21c.js} +1 -1
  21. package/dist/{TransitionFade-ClsjeQVn.js → TransitionFade-BUQphuy0.js} +6 -6
  22. package/dist/{vue-i18n-DVWuTfed.js → _plugin-vue_export-helper-onplcgja.js} +239 -232
  23. package/dist/{app-AmhS6tIU.js → app-Bvc2Y3Ap.js} +32 -12
  24. package/dist/app.js +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/{useRestaurantPermission-DMuk_sW7.js → useRestaurantPermission-CcgwNQbG.js} +2 -2
  27. package/package.json +1 -1
  28. package/dist/Integration-D4JjtxJJ.js +0 -7657
  29. 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
- };