@feedmepos/mf-report 5.19.20 → 5.19.21-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 (34) hide show
  1. package/dist/{App-CpPkDCME.js → App-nUveJE2d.js} +31 -31
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-BLVm6EP9.js → BaseDialog.vue_vue_type_script_setup_true_lang-BMUdA00d.js} +2096 -1854
  3. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js +282 -0
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-DTHkWGvx.js → Default.vue_vue_type_script_setup_true_lang-B4KGPc-A.js} +2 -2
  5. package/dist/FilterSelector.vue_vue_type_script_setup_true_lang-TaboGeqe.js +2455 -0
  6. package/dist/{InsightView-wYbhKrWa.js → InsightView-VRhKOgcg.js} +5 -5
  7. package/dist/{Integration-GkPCivXG.js → Integration-BovNO2yX.js} +2 -2
  8. package/dist/{Integrations-BGNXoeWI.js → Integrations-DIXSWGS_.js} +3 -3
  9. package/dist/{Layout-B7pJLV4_.js → Layout-Djm1HkoE.js} +1 -1
  10. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-BKLjwl2R.js +107 -0
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-Cl6q8Efn.js → NavigationTab.vue_vue_type_script_setup_true_lang-BRpEu6MW.js} +7331 -7518
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-CUuIeYhQ.js → NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js} +1 -1
  13. package/dist/{OverviewView-DzumtIfB.js → OverviewView-D58xngVs.js} +5 -5
  14. package/dist/{Report-B_SX8ejx.js → Report-B-YYrr3B.js} +4 -4
  15. package/dist/ReportEditor-0cP29pgc.js +1070 -0
  16. package/dist/{ReportView-DPMurcsC.js → ReportView-BgUotxrl.js} +7 -7
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-IdXw91_v.js → SelectComponent.vue_vue_type_script_setup_true_lang-BcQEW5MO.js} +1 -1
  18. package/dist/{Setting-BsikuNba.js → Setting-DgU3IvCo.js} +4 -4
  19. package/dist/TileEditor-DzDpc7L6.js +2766 -0
  20. package/dist/TransitionFade-DwcV3_6N.js +2366 -0
  21. package/dist/app.js +49 -23
  22. package/dist/assets/formatChartData.worker-Cb40k96i.js +134 -0
  23. package/dist/assets/processTableData.worker-DS6uNX_h.js +134 -0
  24. package/dist/{vue-i18n-D33f1SSo.js → vue-i18n-BJW_sJot.js} +405 -400
  25. package/package.json +1 -1
  26. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-C7mhpRK0.js +0 -185
  27. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-DVY4vxAN.js +0 -1669
  28. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-C7pQMilo.js +0 -352
  29. package/dist/ReportEditor-D5OHT5As.js +0 -1013
  30. package/dist/TileEditor-Bzk4U52d.js +0 -2735
  31. package/dist/TransitionFade-Blz6m84x.js +0 -2499
  32. package/dist/assets/formatChartData.worker-CO5zKPH5.js +0 -134
  33. package/dist/assets/processTableData.worker-BAMcED0j.js +0 -134
  34. package/dist/helper-B2iB0Dbh.js +0 -75
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, resolveComponent as t, createBlock as r, openBlock as n, withCtx as _, createVNode as c } from "vue";
2
- import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-DTHkWGvx.js";
2
+ import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-B4KGPc-A.js";
3
3
  const f = /* @__PURE__ */ o({
4
4
  __name: "Layout",
5
5
  setup(m) {
@@ -0,0 +1,107 @@
1
+ import { defineComponent as b, computed as V, createElementBlock as x, openBlock as a, createElementVNode as y, createVNode as u, unref as e, isRef as p, withCtx as _, createBlock as g, createCommentVNode as k, useModel as $, resolveComponent as f, normalizeClass as R, Fragment as w, renderList as M, toDisplayString as T } from "vue";
2
+ import { b as B } from "./vue-i18n-BJW_sJot.js";
3
+ import { storeToRefs as D } from "pinia";
4
+ import { a as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BRpEu6MW.js";
5
+ import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js";
6
+ import { _ as N } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BMUdA00d.js";
7
+ import { a as S } from "./FilterSelector.vue_vue_type_script_setup_true_lang-TaboGeqe.js";
8
+ import { useRoute as z } from "vue-router";
9
+ import { useBreakpoints as E } from "@feedmepos/ui-library";
10
+ const L = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scrollbar-hide" }, O = { class: "flex flex-col gap-2 py-2" }, q = /* @__PURE__ */ b({
11
+ __name: "Filter",
12
+ setup(F) {
13
+ const {
14
+ locations: d,
15
+ selectedLocationIds: n,
16
+ dateRange: c,
17
+ compareDateRange: l,
18
+ timeRange: m,
19
+ defaultDateSetting: s,
20
+ selectTimeDefault: i
21
+ } = D(B()), v = z(), r = V(() => v.name === "overview");
22
+ return (C, t) => (a(), x("div", L, [
23
+ y("div", O, [
24
+ u(I, {
25
+ modelValue: e(n),
26
+ "onUpdate:modelValue": t[5] || (t[5] = (o) => p(n) ? n.value = o : null),
27
+ options: e(d)
28
+ }, {
29
+ default: _(() => [
30
+ u(U, {
31
+ "date-range": e(c),
32
+ "onUpdate:dateRange": t[0] || (t[0] = (o) => p(c) ? c.value = o : null),
33
+ "compare-date-range": e(l),
34
+ "onUpdate:compareDateRange": t[1] || (t[1] = (o) => p(l) ? l.value = o : null),
35
+ "compare-type": e(s).defaultCompareType,
36
+ "onUpdate:compareType": t[2] || (t[2] = (o) => e(s).defaultCompareType = o),
37
+ compare: ""
38
+ }, null, 8, ["date-range", "compare-date-range", "compare-type"]),
39
+ u(N, {
40
+ "time-range": e(m),
41
+ "onUpdate:timeRange": t[3] || (t[3] = (o) => p(m) ? m.value = o : null),
42
+ "select-time-default": e(i),
43
+ "onUpdate:selectTimeDefault": t[4] || (t[4] = (o) => p(i) ? i.value = o : null),
44
+ "default-date-range": e(s).timeOptions
45
+ }, null, 8, ["time-range", "select-time-default", "default-date-range"]),
46
+ r.value ? k("", !0) : (a(), g(S, { key: 0 }))
47
+ ]),
48
+ _: 1
49
+ }, 8, ["modelValue", "options"])
50
+ ])
51
+ ]));
52
+ }
53
+ }), j = { class: "fm-typo-en-body-md-400" }, Y = /* @__PURE__ */ b({
54
+ __name: "MenuTab",
55
+ props: {
56
+ modelValue: { required: !1, default: [] },
57
+ modelModifiers: {}
58
+ },
59
+ emits: ["update:modelValue"],
60
+ setup(F) {
61
+ const d = $(F, "modelValue"), { breakpoints: n } = E();
62
+ return (c, l) => {
63
+ const m = f("FmButton"), s = f("FmIcon"), i = f("FmMenuItem"), v = f("FmMenu");
64
+ return a(), x("div", {
65
+ class: R(["flex items-start pb-2 px-24", `${e(n).lg || e(n).md ? "px-24" : "pl-3"}`])
66
+ }, [
67
+ u(q),
68
+ l[0] || (l[0] = y("div", { class: "flex grow" }, null, -1)),
69
+ d.value.length > 0 ? (a(), g(v, {
70
+ key: 0,
71
+ trigger: "click",
72
+ placement: "left",
73
+ shift: !0,
74
+ class: R(e(n).sm || e(n).xs ? "pr-3" : "")
75
+ }, {
76
+ "menu-button": _(() => [
77
+ u(m, {
78
+ "append-icon": "more_vert",
79
+ variant: "tertiary",
80
+ size: "md",
81
+ class: "w-[36px] bg-none"
82
+ })
83
+ ]),
84
+ default: _(() => [
85
+ (a(!0), x(w, null, M(d.value, (r, C) => (a(), g(i, {
86
+ key: `button-${C}`,
87
+ onClick: r.onClick
88
+ }, {
89
+ label: _(() => [
90
+ r.prependIcon ?? !1 ? (a(), g(s, {
91
+ key: 0,
92
+ name: r.icon
93
+ }, null, 8, ["name"])) : k("", !0),
94
+ y("p", j, T(r.label), 1)
95
+ ]),
96
+ _: 2
97
+ }, 1032, ["onClick"]))), 128))
98
+ ]),
99
+ _: 1
100
+ }, 8, ["class"])) : k("", !0)
101
+ ], 2);
102
+ };
103
+ }
104
+ });
105
+ export {
106
+ Y as _
107
+ };