@feedmepos/mf-report 5.19.18-beta.0 → 5.19.19-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-DwWXNKAS.js → App-BG5uoHAn.js} +4 -4
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-BEG-40hp.js → BaseDialog.vue_vue_type_script_setup_true_lang-dX7Y4f-_.js} +5970 -5720
  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-ByFmmddT.js → Default.vue_vue_type_script_setup_true_lang-arY3ZcKZ.js} +2 -2
  5. package/dist/FilterSelector.vue_vue_type_script_setup_true_lang-BlJuhyD7.js +2377 -0
  6. package/dist/{InsightView-Ci_pCGnU.js → InsightView-BEo7cPN3.js} +5 -5
  7. package/dist/{Integration-BkIHfAt8.js → Integration-BovNO2yX.js} +2 -2
  8. package/dist/{Integrations-D4ju0l38.js → Integrations-DIXSWGS_.js} +3 -3
  9. package/dist/{Layout-CY43vr91.js → Layout-DhAHGBTk.js} +1 -1
  10. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-BSapw37S.js +107 -0
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-6EVsYRgO.js → NavigationTab.vue_vue_type_script_setup_true_lang-DuzQ1OX-.js} +7331 -7518
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-DX1We5Q0.js → NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js} +1 -1
  13. package/dist/{OverviewView-D4RsjXsi.js → OverviewView-DEZKfz6j.js} +5 -5
  14. package/dist/{Report-kmmEiKsD.js → Report-WQb5zc2W.js} +4 -4
  15. package/dist/ReportEditor-BiRciW22.js +1055 -0
  16. package/dist/{ReportView-DMeJUCyN.js → ReportView-CJ4PA-Je.js} +7 -7
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-DYOjRnAy.js → SelectComponent.vue_vue_type_script_setup_true_lang-BcQEW5MO.js} +1 -1
  18. package/dist/{Setting-BAzn1os_.js → Setting-Do3ReOAh.js} +4 -4
  19. package/dist/TileEditor-S-aswtJh.js +2744 -0
  20. package/dist/TransitionFade-C6FDOvN4.js +2365 -0
  21. package/dist/app.js +41 -15
  22. package/dist/{vue-i18n-DsnU36hZ.js → vue-i18n-BJW_sJot.js} +405 -400
  23. package/package.json +1 -1
  24. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-BVi8DNni.js +0 -185
  25. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-SkUHyVo3.js +0 -1669
  26. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-z3Y4Ge2y.js +0 -352
  27. package/dist/ReportEditor-BfcKqCqX.js +0 -1013
  28. package/dist/TileEditor-D_jbHVqu.js +0 -2735
  29. package/dist/TransitionFade-EklwxNml.js +0 -2499
  30. package/dist/helper-CLGnwM-X.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-ByFmmddT.js";
2
+ import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-arY3ZcKZ.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-DuzQ1OX-.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-dX7Y4f-_.js";
7
+ import { a as S } from "./FilterSelector.vue_vue_type_script_setup_true_lang-BlJuhyD7.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
+ };