@feedmepos/mf-report 5.33.3 → 5.34.0-beta.1

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 (46) hide show
  1. package/dist/{App-BgRqim5d.js → App-DyrakazI.js} +114 -113
  2. package/dist/{DateRangeSelect-XyU5XG5c.js → DateRangeSelect-D5SGi6ca.js} +67 -67
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-CC7fE3F8.js → Default.vue_vue_type_script_setup_true_lang-DsTRZa_6.js} +3 -3
  4. package/dist/DigestListView-BnkDRa7x.js +876 -0
  5. package/dist/{DigestReaderView-DSNoAESE.js → DigestReaderView-ByISB4qT.js} +63 -63
  6. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CsDiXGUk.js → DynamicWidget.vue_vue_type_script_setup_true_lang-BKNNtuyG.js} +733 -733
  7. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-D7Rsh-uY.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DHrnVaog.js} +526 -526
  8. package/dist/{InsightView-CF8mQJha.js → InsightView-CUBTqwTI.js} +88 -88
  9. package/dist/{Integration-QMdYwTwW.js → Integration-WDbqUebw.js} +30 -30
  10. package/dist/{Integrations-Dbx1ScOv.js → Integrations-C5_nERZt.js} +10 -10
  11. package/dist/{Layout-CgiplBHM.js → Layout-BqzoK8Mg.js} +3 -3
  12. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-zW8JA7j3.js → LocationSelect.vue_vue_type_script_setup_true_lang-kvdk_gEw.js} +306 -306
  13. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-B0q9V1x8.js → MenuTab.vue_vue_type_script_setup_true_lang-B8uHS4bV.js} +6 -6
  14. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BVWZ8vTw.js → NavigationTab.vue_vue_type_script_setup_true_lang-CpexikuB.js} +12784 -11760
  15. package/dist/{OverviewView-BbZ8WkLb.js → OverviewView-mOEI9DAV.js} +7 -7
  16. package/dist/{Report-BYi0pPZs.js → Report-DmbTzjbj.js} +12 -12
  17. package/dist/{ReportCanvasView-CfFtVomc.js → ReportCanvasView-BqZ38Tsk.js} +426 -426
  18. package/dist/{ReportEditor-BLEkGUVR.js → ReportEditor-8oAVfFdY.js} +32 -32
  19. package/dist/{ReportView-TG78Krm2.js → ReportView-B6nE3qwV.js} +13 -13
  20. package/dist/{ReportViewRoute-BUADf4Cr.js → ReportViewRoute-DqXbM93B.js} +5 -5
  21. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js +137 -0
  22. package/dist/{Setting-Curkhv9_.js → Setting-C01x-O-V.js} +6 -6
  23. package/dist/{Template-BN_ds698.js → Template-VyBWHUXE.js} +80 -80
  24. package/dist/{TileEditor-Cfb0uXGr.js → TileEditor-DICyBR1o.js} +1566 -1566
  25. package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-1FKwWbpC.js → TilePageStack.vue_vue_type_script_setup_true_lang-Dyaao76o.js} +82 -82
  26. package/dist/{TransitionFade-D0_ZoB-O.js → TransitionFade-kXCDPEMQ.js} +170 -170
  27. package/dist/{XeroRedirect-CuTrP62C.js → XeroRedirect-D4sHbZe7.js} +3 -3
  28. package/dist/_plugin-vue_export-helper-Bx7s49ra.js +2828 -0
  29. package/dist/{app-LKjvcmXa.js → app-BQDKX7NB.js} +5688 -13890
  30. package/dist/app.js +1 -1
  31. package/dist/assets/{formatChartData.worker-DvK7K5ca.js → formatChartData.worker-Cpgnh20a.js} +62 -62
  32. package/dist/assets/{processTableData.worker-C3l4iUXL.js → processTableData.worker-B7I6PElJ.js} +64 -64
  33. package/dist/{chart-BywXiz4O.js → chart-DU0N9V2o.js} +7 -4
  34. package/dist/currency-8SmajsvB.js +12 -0
  35. package/dist/index-BQ8NJuCA.js +24722 -0
  36. package/dist/{report-Ci2ElGpp.js → report-CcXsPATD.js} +23 -23
  37. package/dist/style.css +1 -1
  38. package/dist/{useDigestFont-BxXC7U3d.js → useDigestFont-CjZZOIRM.js} +80 -80
  39. package/dist/{useReportCanvasPanel-BjmRiMSh.js → useReportCanvasPanel-dWlB_xvo.js} +975 -976
  40. package/dist/{useRestaurantPermission-DX52YBfA.js → useRestaurantPermission-D3G7ET0Z.js} +2 -2
  41. package/package.json +11 -11
  42. package/dist/DigestListView-Bqp4LA1w.js +0 -876
  43. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js +0 -137
  44. package/dist/_plugin-vue_export-helper-C6QDExPN.js +0 -2718
  45. package/dist/currency-DFN_8rRJ.js +0 -12
  46. 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
- };