@feedmepos/mf-report 5.33.3-beta.0 → 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-GzjtZ_d7.js → App-DyrakazI.js} +98 -97
  2. package/dist/{DateRangeSelect-CfV_WX9B.js → DateRangeSelect-D5SGi6ca.js} +67 -67
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-Y9S0SZ7o.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-C1aKtovl.js → DigestReaderView-ByISB4qT.js} +63 -63
  6. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CH2pf4XK.js → DynamicWidget.vue_vue_type_script_setup_true_lang-BKNNtuyG.js} +733 -733
  7. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DJ-LIqFg.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DHrnVaog.js} +526 -526
  8. package/dist/{InsightView-O5pzXY-g.js → InsightView-CUBTqwTI.js} +88 -88
  9. package/dist/{Integration-DHtuuAEx.js → Integration-WDbqUebw.js} +30 -30
  10. package/dist/{Integrations-xK1WbyH5.js → Integrations-C5_nERZt.js} +10 -10
  11. package/dist/{Layout-QoN7zexW.js → Layout-BqzoK8Mg.js} +3 -3
  12. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-DEeDj0JI.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-tmHI7t6B.js → MenuTab.vue_vue_type_script_setup_true_lang-B8uHS4bV.js} +6 -6
  14. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DNrIAtGk.js → NavigationTab.vue_vue_type_script_setup_true_lang-CpexikuB.js} +12784 -11760
  15. package/dist/{OverviewView-CcqkLuon.js → OverviewView-mOEI9DAV.js} +7 -7
  16. package/dist/{Report-CcGTeCCn.js → Report-DmbTzjbj.js} +12 -12
  17. package/dist/{ReportCanvasView-C7CJq01e.js → ReportCanvasView-BqZ38Tsk.js} +426 -426
  18. package/dist/{ReportEditor-Vu592FeV.js → ReportEditor-8oAVfFdY.js} +32 -32
  19. package/dist/{ReportView-D-J7pmp5.js → ReportView-B6nE3qwV.js} +13 -13
  20. package/dist/{ReportViewRoute-TSaFpVVj.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-tUrQLnqy.js → Setting-C01x-O-V.js} +6 -6
  23. package/dist/{Template-DRdVU80G.js → Template-VyBWHUXE.js} +80 -80
  24. package/dist/{TileEditor-CIR7d_cP.js → TileEditor-DICyBR1o.js} +1566 -1566
  25. package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-BtHZMHPR.js → TilePageStack.vue_vue_type_script_setup_true_lang-Dyaao76o.js} +82 -82
  26. package/dist/{TransitionFade-7EvXhuHo.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-1dD87x1L.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-B547gOvv.js → report-CcXsPATD.js} +23 -23
  37. package/dist/style.css +1 -1
  38. package/dist/{useDigestFont-CVDCu0Is.js → useDigestFont-CjZZOIRM.js} +80 -80
  39. package/dist/{useReportCanvasPanel-DLt-AkFQ.js → useReportCanvasPanel-dWlB_xvo.js} +975 -976
  40. package/dist/{useRestaurantPermission-BtRjWi-p.js → useRestaurantPermission-D3G7ET0Z.js} +2 -2
  41. package/package.json +11 -11
  42. package/dist/DigestListView-DJQikkEC.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-BXCfWg4A.js +0 -12
  46. package/dist/index-B_yQyaGT.js +0 -25511
@@ -1,31 +1,31 @@
1
- import { defineComponent as ye, mergeModels as Ce, useModel as Te, ref as G, computed as b, resolveComponent as T, createBlock as k, openBlock as p, withCtx as V, createElementVNode as f, createVNode as d, unref as t, normalizeClass as Ae, createTextVNode as Je, toDisplayString as B, createElementBlock as z, Fragment as ke, renderSlot as bl, createCommentVNode as U, watch as ge, renderList as Le, onMounted as yl, onUnmounted as Dl, resolveDynamicComponent as Ol, isRef as hl, normalizeStyle as nl } from "vue";
2
- import { W as Il, g as Ul, _ as Nl, a as Bl, e as Ne, S as je, d as wl, b as _l, T as Ml, c as Rl } from "./TransitionFade-7EvXhuHo.js";
3
- import { D as oe, b as ze, C as Pe, F as Ye, c as Be, u as sl, i as qe, d as fe, M as Fl, r as zl, e as ll, n as Pl, f as ql, g as El, h as Ll, j as Al, k as Gl, m as Wl, a as Hl, o as cl, p as tl, q as jl, Q as Xe, l as Jl, t as Ql } from "./report-B547gOvv.js";
1
+ import { defineComponent as ye, useModel as Ce, ref as G, computed as b, resolveComponent as T, openBlock as p, createBlock as k, withCtx as V, createElementVNode as f, createVNode as d, unref as t, normalizeClass as Ae, createTextVNode as Je, toDisplayString as B, mergeModels as Te, createElementBlock as z, Fragment as ke, renderSlot as bl, createCommentVNode as U, watch as ge, renderList as Le, onMounted as yl, onUnmounted as Dl, resolveDynamicComponent as Ol, isRef as hl, normalizeStyle as nl } from "vue";
2
+ import { W as Il, g as Ul, _ as Nl, a as Bl, e as Ne, S as je, d as wl, b as _l, T as Ml, c as Rl } from "./TransitionFade-kXCDPEMQ.js";
3
+ import { D as oe, b as ze, C as Pe, F as Ye, c as Be, u as sl, i as qe, d as fe, M as Fl, r as zl, e as ll, n as Pl, f as ql, g as El, h as Ll, j as Al, k as Gl, m as Wl, a as Hl, o as cl, p as tl, q as jl, Q as Xe, l as Jl, t as Ql } from "./report-CcXsPATD.js";
4
4
  import { storeToRefs as Ee } from "pinia";
5
5
  import { useRouter as ul, useRoute as dl } from "vue-router";
6
6
  import { useBreakpoints as Ze, useSnackbar as Vl, FmButtonColorThemeVariant as xe } from "@feedmepos/ui-library";
7
7
  import { u as ml } from "./message-dialog-UoMWOnil.js";
8
8
  import { u as Kl } from "./global-loader-BuxFfehu.js";
9
- import { u as Ge } from "./_plugin-vue_export-helper-C6QDExPN.js";
9
+ import { u as Ge } from "./_plugin-vue_export-helper-Bx7s49ra.js";
10
10
  import { r as Qe } from "./i18n-DbyciK4x.js";
11
- import { _ as ol } from "./TilePageStack.vue_vue_type_script_setup_true_lang-BtHZMHPR.js";
12
- import { a as al, _ as rl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
13
- import { d as Yl, e as Xl, i as Zl } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CH2pf4XK.js";
14
- import { g as et, d as lt, _ as pl } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DJ-LIqFg.js";
11
+ import { _ as ol } from "./TilePageStack.vue_vue_type_script_setup_true_lang-Dyaao76o.js";
12
+ import { a as al, _ as rl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js";
13
+ import { e as Yl, d as Xl, i as Zl } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BKNNtuyG.js";
14
+ import { g as et, d as lt, _ as pl } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DHrnVaog.js";
15
15
  import { useCoreStore as tt } from "@feedmepos/mf-common";
16
- import { u as ot, a as at } from "./app-1dD87x1L.js";
17
- import { d as rt } from "./DateRangeSelect-CfV_WX9B.js";
16
+ import { u as ot, a as at } from "./app-BQDKX7NB.js";
17
+ import { d as rt } from "./DateRangeSelect-D5SGi6ca.js";
18
18
  const nt = /* @__PURE__ */ ye({
19
19
  __name: "WidgetDialog",
20
- props: /* @__PURE__ */ Ce({
20
+ props: /* @__PURE__ */ Te({
21
21
  isOpen: { type: Boolean }
22
22
  }, {
23
23
  modelValue: {},
24
24
  modelModifiers: {}
25
25
  }),
26
- emits: /* @__PURE__ */ Ce(["update:isOpen"], ["update:modelValue"]),
26
+ emits: /* @__PURE__ */ Te(["update:isOpen"], ["update:modelValue"]),
27
27
  setup(P, { emit: v }) {
28
- const { t: m } = Ge(), { breakpoints: y } = Ze(), n = Te(P, "modelValue"), w = P, L = v;
28
+ const { t: m } = Ge(), { breakpoints: y } = Ze(), n = Ce(P, "modelValue"), w = P, L = v;
29
29
  function X() {
30
30
  L("update:isOpen", !1);
31
31
  }
@@ -68,7 +68,7 @@ const nt = /* @__PURE__ */ ye({
68
68
  }
69
69
  }), it = { class: "fm-typo-en-body-lg-600" }, il = /* @__PURE__ */ ye({
70
70
  __name: "ReportEditorTabHeader",
71
- props: /* @__PURE__ */ Ce({
71
+ props: /* @__PURE__ */ Te({
72
72
  icon: {
73
73
  type: String,
74
74
  required: !0
@@ -79,7 +79,7 @@ const nt = /* @__PURE__ */ ye({
79
79
  }),
80
80
  emits: ["update:modelValue"],
81
81
  setup(P) {
82
- const { t: v } = Ge(), m = Te(P, "modelValue"), y = P;
82
+ const { t: v } = Ge(), m = Ce(P, "modelValue"), y = P;
83
83
  return (n, w) => {
84
84
  const L = T("FmIcon");
85
85
  return p(), z("div", {
@@ -102,7 +102,7 @@ const nt = /* @__PURE__ */ ye({
102
102
  },
103
103
  emits: ["update:modelValue"],
104
104
  setup(P) {
105
- const v = Te(P, "modelValue");
105
+ const v = Ce(P, "modelValue");
106
106
  return (m, y) => (p(), z(ke, null, [
107
107
  d(il, {
108
108
  modelValue: v.value,
@@ -120,7 +120,7 @@ const nt = /* @__PURE__ */ ye({
120
120
  },
121
121
  emits: ["update:modelValue"],
122
122
  setup(P) {
123
- const v = Te(P, "modelValue");
123
+ const v = Ce(P, "modelValue");
124
124
  return (m, y) => {
125
125
  const n = T("FmTopSheet"), w = T("FmCard");
126
126
  return p(), k(w, { class: "fixed bottom-0 w-full" }, {
@@ -141,7 +141,7 @@ const nt = /* @__PURE__ */ ye({
141
141
  "onUpdate:modelValue": y[1] || (y[1] = (L) => v.value = L),
142
142
  icon: "keyboard_double_arrow_down"
143
143
  }, null, 8, ["modelValue"]),
144
- v.value ? bl(m.$slots, "default", { key: 0 }) : U("", !0)
144
+ v.value ? bl(m.$slots, "default", {}, void 0, void 0, 0) : U("", !0)
145
145
  ]),
146
146
  _: 3
147
147
  }, 8, ["modelValue"])
@@ -167,7 +167,7 @@ const nt = /* @__PURE__ */ ye({
167
167
  class: "flex flex-col gap-2"
168
168
  }, yt = /* @__PURE__ */ ye({
169
169
  __name: "GlobalFilterDialog",
170
- props: /* @__PURE__ */ Ce({
170
+ props: /* @__PURE__ */ Te({
171
171
  schemas: {
172
172
  type: Array,
173
173
  default: () => []
@@ -186,7 +186,7 @@ const nt = /* @__PURE__ */ ye({
186
186
  }),
187
187
  emits: ["update:globalFilter", "update:isOpen"],
188
188
  setup(P) {
189
- const { t: v, te: m } = Ge(), y = Te(P, "globalFilter"), n = Te(P, "isOpen"), w = Vl(), L = P, X = G(""), D = G(), F = G(), N = G(), Z = G([]), A = G([]), a = G(!1), O = G([]), S = G([]), ae = G(!1), ie = b(
189
+ const { t: v, te: m } = Ge(), y = Ce(P, "globalFilter"), n = Ce(P, "isOpen"), w = Vl(), L = P, X = G(""), D = G(), F = G(), N = G(), Z = G([]), A = G([]), a = G(!1), O = G([]), S = G([]), ae = G(!1), ie = b(
190
190
  () => !!F.value && F.value.type !== oe.Timestamp
191
191
  );
192
192
  function de(e) {
@@ -686,8 +686,8 @@ const nt = /* @__PURE__ */ ye({
686
686
  class: "text-fm-color-system-error-300"
687
687
  })
688
688
  ]),
689
- _: 2
690
- }, 1032, ["content"])) : U("", !0)
689
+ _: 1
690
+ }, 8, ["content"])) : U("", !0)
691
691
  ]))), 128))
692
692
  ])) : (p(), k(W, {
693
693
  key: 5,
@@ -894,10 +894,10 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
894
894
  }), _e = b({
895
895
  get: () => {
896
896
  var r, o;
897
- return be.value === Be.Custom ? Yl(((r = a.value) == null ? void 0 : r.tabIcon) ?? "") : ((o = a.value) == null ? void 0 : o.tabIcon) ?? "";
897
+ return be.value === Be.Custom ? Xl(((r = a.value) == null ? void 0 : r.tabIcon) ?? "") : ((o = a.value) == null ? void 0 : o.tabIcon) ?? "";
898
898
  },
899
899
  set: (r) => {
900
- a.value && (a.value.tabIcon = be.value === Be.Custom ? Xl(r) : r.trim());
900
+ a.value && (a.value.tabIcon = be.value === Be.Custom ? Yl(r) : r.trim());
901
901
  }
902
902
  }), Fe = G(!1), Ve = G(null), te = G([]);
903
903
  function Ue(r) {
@@ -1220,8 +1220,8 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
1220
1220
  label: V(() => [
1221
1221
  f("p", Wt, B(t(n)("report.common.remove")), 1)
1222
1222
  ]),
1223
- _: 2
1224
- }, 1032, ["onClick"])
1223
+ _: 1
1224
+ }, 8, ["onClick"])
1225
1225
  ]),
1226
1226
  _: 2
1227
1227
  }, 1024)
@@ -1310,7 +1310,7 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
1310
1310
  class: "flex flex-col gap-8 rounded-md border border-fm-color-border px-16 py-12"
1311
1311
  }, Xt = { class: "fm-typo-en-body-sm-400" }, Zt = { class: "fm-typo-en-body-sm-400 font-bold" }, eo = { class: "space-y-1 fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, lo = { class: "flex flex-col gap-24 top-0 bg-fm-color-neutral-white z-10" }, to = { class: "flex items-center gap-1 max-w-[195px] w-[195px]" }, oo = { class: "line-clamp-2 overflow-hidden max-w-[195px] w-[195px]" }, gl = /* @__PURE__ */ ye({
1312
1312
  __name: "ReportEditorTab",
1313
- props: /* @__PURE__ */ Ce({
1313
+ props: /* @__PURE__ */ Te({
1314
1314
  hideConfiguration: {
1315
1315
  type: Boolean,
1316
1316
  default: !1
@@ -1324,9 +1324,9 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
1324
1324
  modelValue: { required: !0 },
1325
1325
  modelModifiers: {}
1326
1326
  }),
1327
- emits: /* @__PURE__ */ Ce(["hideConfiguration"], ["update:modelValue"]),
1327
+ emits: /* @__PURE__ */ Te(["hideConfiguration"], ["update:modelValue"]),
1328
1328
  setup(P, { emit: v }) {
1329
- const m = Te(P, "modelValue"), { breakpoints: y } = Ze(), n = P, w = v, L = ul(), X = dl(), D = G(), {
1329
+ const m = Ce(P, "modelValue"), { breakpoints: y } = Ze(), n = P, w = v, L = ul(), X = dl(), D = G(), {
1330
1330
  currentSelectWidgetType: F,
1331
1331
  categories: N,
1332
1332
  editingTile: Z,
@@ -1820,7 +1820,7 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
1820
1820
  class: "w-full"
1821
1821
  }, go = /* @__PURE__ */ ye({
1822
1822
  __name: "ReportEditorViewport",
1823
- props: /* @__PURE__ */ Ce({
1823
+ props: /* @__PURE__ */ Te({
1824
1824
  hideConfiguration: { type: Boolean, required: !1, default: !1 },
1825
1825
  readOnly: { type: Boolean, required: !1, default: !1 },
1826
1826
  previewWidth: { type: Number, required: !0 },
@@ -1831,9 +1831,9 @@ const Vt = { class: "flex flex-col gap-16" }, xt = {
1831
1831
  } },
1832
1832
  modelModifiers: {}
1833
1833
  }),
1834
- emits: /* @__PURE__ */ Ce(["hideConfiguration"], ["update:modelValue"]),
1834
+ emits: /* @__PURE__ */ Te(["hideConfiguration"], ["update:modelValue"]),
1835
1835
  setup(P, { emit: v }) {
1836
- const { breakpoints: m } = Ze(), y = Te(P, "modelValue"), n = b(() => {
1836
+ const { breakpoints: m } = Ze(), y = Ce(P, "modelValue"), n = b(() => {
1837
1837
  var F;
1838
1838
  return Jl((F = y.value) == null ? void 0 : F.tiles);
1839
1839
  }), w = P, L = b(() => w.previewWidth > 0 && w.previewHeight > 0), X = b(() => m.value.sm || m.value.xs), D = v;
@@ -1,17 +1,17 @@
1
- import { defineComponent as z, computed as n, createBlock as y, openBlock as g, withCtx as w, renderSlot as ie, ref as ue, watch as ce, resolveComponent as V, createVNode as k, createElementVNode as R, unref as l, toDisplayString as pe, normalizeStyle as me, normalizeClass as de } from "vue";
2
- import { _ as ve } from "./MenuTab.vue_vue_type_script_setup_true_lang-tmHI7t6B.js";
3
- import { _ as fe } from "./TilePageStack.vue_vue_type_script_setup_true_lang-BtHZMHPR.js";
4
- import { u as ye, l as ge } from "./report-B547gOvv.js";
1
+ import { defineComponent as z, computed as n, openBlock as y, createBlock as g, withCtx as w, renderSlot as ie, ref as ue, watch as ce, resolveComponent as V, createVNode as k, unref as l, createElementVNode as R, toDisplayString as pe, normalizeStyle as me, normalizeClass as de } from "vue";
2
+ import { _ as ve } from "./MenuTab.vue_vue_type_script_setup_true_lang-B8uHS4bV.js";
3
+ import { _ as fe } from "./TilePageStack.vue_vue_type_script_setup_true_lang-Dyaao76o.js";
4
+ import { u as ye, l as ge } from "./report-CcXsPATD.js";
5
5
  import { useRouter as be, useRoute as _e } from "vue-router";
6
- import { _ as we } from "./Default.vue_vue_type_script_setup_true_lang-Y9S0SZ7o.js";
6
+ import { _ as we } from "./Default.vue_vue_type_script_setup_true_lang-DsTRZa_6.js";
7
7
  import { storeToRefs as f } from "pinia";
8
- import { u as Se, e as Ce, j as xe } from "./app-1dD87x1L.js";
9
- import { a as Te, b as he, u as ke, g as Re } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DNrIAtGk.js";
10
- import { _ as L } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
8
+ import { u as Se, e as Ce, j as xe } from "./app-BQDKX7NB.js";
9
+ import { a as Te, b as he, u as ke, g as Re } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CpexikuB.js";
10
+ import { _ as L } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js";
11
11
  import { useSnackbar as Pe, useBreakpoints as De } from "@feedmepos/ui-library";
12
12
  import { u as Oe } from "./global-loader-BuxFfehu.js";
13
13
  import { u as Ie } from "./message-dialog-UoMWOnil.js";
14
- import { u as Q, _ as Ee } from "./_plugin-vue_export-helper-C6QDExPN.js";
14
+ import { u as Q, _ as Ee } from "./_plugin-vue_export-helper-Bx7s49ra.js";
15
15
  import { r as $e } from "./i18n-DbyciK4x.js";
16
16
  const Ae = /* @__PURE__ */ z({
17
17
  __name: "NoPermission",
@@ -21,7 +21,7 @@ const Ae = /* @__PURE__ */ z({
21
21
  },
22
22
  setup(P) {
23
23
  const t = P, { t: b } = Q(), m = n(() => b(t.title)), c = n(() => b(t.subTitle));
24
- return (r, S) => (g(), y(L, {
24
+ return (r, S) => (y(), g(L, {
25
25
  title: m.value,
26
26
  "sub-title": c.value
27
27
  }, {
@@ -251,7 +251,7 @@ const Ae = /* @__PURE__ */ z({
251
251
  });
252
252
  return (s, o) => {
253
253
  const a = V("FmTooltip"), v = V("FmPageHead");
254
- return g(), y(we, null, {
254
+ return y(), g(we, null, {
255
255
  default: w(() => {
256
256
  var F;
257
257
  return [
@@ -289,13 +289,13 @@ const Ae = /* @__PURE__ */ z({
289
289
  "model-value": l(u).lg || l(u).md ? oe.value : []
290
290
  }, null, 8, ["model-value"])
291
291
  ]),
292
- l(e) && !_.value ? (g(), y(Ae, { key: 0 })) : l(e) && ((F = T.value) == null ? void 0 : F.length) > 0 ? (g(), y(fe, {
292
+ l(e) && !_.value ? (y(), g(Ae, { key: 0 })) : l(e) && ((F = T.value) == null ? void 0 : F.length) > 0 ? (y(), g(fe, {
293
293
  key: 1,
294
294
  tiles: T.value,
295
295
  "report-id": l(p),
296
296
  "leaf-index-by-id": le.value,
297
297
  "grid-class": l(u).sm || l(u).xs ? "px-3 gap-[16px]" : "px-24 gap-[24px]"
298
- }, null, 8, ["tiles", "report-id", "leaf-index-by-id", "grid-class"])) : (g(), y(L, { key: 2 }))
298
+ }, null, 8, ["tiles", "report-id", "leaf-index-by-id", "grid-class"])) : (y(), g(L, { key: 2 }))
299
299
  ], 6)
300
300
  ];
301
301
  }),
@@ -1,16 +1,16 @@
1
- import { defineComponent as i, defineAsyncComponent as t, computed as m, createBlock as r, openBlock as n, unref as o } from "vue";
1
+ import { defineComponent as i, defineAsyncComponent as t, computed as m, openBlock as r, createBlock as n, unref as o } from "vue";
2
2
  import { useRoute as f } from "vue-router";
3
- import { u as _ } from "./report-B547gOvv.js";
3
+ import { u as _ } from "./report-CcXsPATD.js";
4
4
  const v = /* @__PURE__ */ i({
5
5
  __name: "ReportViewRoute",
6
6
  setup(R) {
7
- const p = t(() => import("./ReportView-D-J7pmp5.js")), s = t(() => import("./ReportCanvasView-C7CJq01e.js")), c = f(), u = _(), a = m(() => {
7
+ const p = t(() => import("./ReportView-B6nE3qwV.js")), s = t(() => import("./ReportCanvasView-BqZ38Tsk.js")), c = f(), u = _(), a = m(() => {
8
8
  var e;
9
9
  return ((e = u.currentReport) == null ? void 0 : e.reportType) === "canvas";
10
10
  });
11
- return (e, d) => a.value ? (n(), r(o(s), {
11
+ return (e, d) => a.value ? (r(), n(o(s), {
12
12
  key: String(o(c).query.reportId ?? "")
13
- })) : (n(), r(o(p), { key: 1 }));
13
+ })) : (r(), n(o(p), { key: 1 }));
14
14
  }
15
15
  });
16
16
  export {
@@ -0,0 +1,137 @@
1
+ import { defineComponent as S, computed as i, resolveComponent as s, openBlock as p, createElementBlock as y, renderSlot as N, createVNode as c, withCtx as d, createCommentVNode as j, createElementVNode as u, toDisplayString as v, useModel as A, ref as x, createBlock as F, normalizeStyle as B, withDirectives as O, unref as P, vShow as z, Fragment as L, renderList as R, normalizeClass as U, mergeModels as E } from "vue";
2
+ import { u as w } from "./_plugin-vue_export-helper-Bx7s49ra.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(n) {
11
+ const { t: m } = w(), t = n, o = i(() => t.title === "report.messages.noData" ? m("report.messages.noData") : t.title), _ = i(() => t.subTitle === "report.messages.adjustFiltersOrSelectADifferentTimeRange" ? m("report.messages.adjustFiltersOrSelectADifferentTimeRange") : t.subTitle);
12
+ return (a, f) => {
13
+ const h = s("FmCard");
14
+ return p(), y("div", H, [
15
+ N(a.$slots, "menu"),
16
+ c(h, {
17
+ class: "p-24 h-full flex flex-col gap-2 items-center justify-center",
18
+ variant: "flat"
19
+ }, {
20
+ default: d(() => [
21
+ n.svgPath ? (p(), y("img", {
22
+ key: 0,
23
+ src: n.svgPath,
24
+ alt: "No data illustration",
25
+ class: "mb-4 w-80 h-80"
26
+ }, null, 8, q)) : j("", !0),
27
+ u("p", G, v(o.value), 1),
28
+ u("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__ */ E({
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(n) {
60
+ const { t: m } = w(), t = A(n, "modelValue"), o = n, _ = (e) => {
61
+ t.value = e.value, setTimeout(() => {
62
+ a.value = !1;
63
+ }, 0);
64
+ }, a = x(!1), f = x(""), h = i(
65
+ () => o.items.filter(
66
+ (e) => e.label.toLowerCase().indexOf(f.value.toLowerCase()) !== -1
67
+ )
68
+ ), C = i(
69
+ () => {
70
+ var e;
71
+ return ((e = o.items.find((r) => r.value === t.value)) == null ? void 0 : e.label) ?? m("report.common.select");
72
+ }
73
+ ), V = i(() => o.items.filter((e) => e.value === t.value));
74
+ return (e, r) => {
75
+ const D = s("FmIcon"), M = s("FmField"), T = s("FmSearch"), k = s("FmMenuDivider"), I = s("FmMenuItem"), $ = s("FmMenu");
76
+ return p(), F($, {
77
+ trigger: "click",
78
+ shift: !0,
79
+ "max-height": 300,
80
+ width: 200,
81
+ onMenuChanged: r[1] || (r[1] = (g) => {
82
+ a.value = g;
83
+ })
84
+ }, {
85
+ "menu-button": d(() => [
86
+ u("p", K, v(o.label), 1),
87
+ c(M, {
88
+ class: U(["cursor-pointer", `${a.value ? "border-fm-color-primary" : ""}`]),
89
+ focused: a.value
90
+ }, {
91
+ append: d(() => [
92
+ c(D, {
93
+ color: "black",
94
+ name: a.value ? "expand_less" : "expand_more",
95
+ size: "md"
96
+ }, null, 8, ["name"])
97
+ ]),
98
+ default: d(() => [
99
+ u("div", Q, v(C.value), 1)
100
+ ]),
101
+ _: 1
102
+ }, 8, ["class", "focused"])
103
+ ]),
104
+ "menu-wrapper": d(({ maxHeight: g }) => [
105
+ u("div", {
106
+ style: B({ 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
+ O(u("div", W, [
110
+ c(T, {
111
+ modelValue: f.value,
112
+ "onUpdate:modelValue": r[0] || (r[0] = (l) => f.value = l),
113
+ placeholder: P(m)("report.select.filterPlaceholder")
114
+ }, null, 8, ["modelValue", "placeholder"]),
115
+ c(k)
116
+ ], 512), [
117
+ [z, !o.disableSearch]
118
+ ]),
119
+ (p(!0), y(L, null, R(h.value, (l) => (p(), F(I, {
120
+ key: l.value,
121
+ label: l.label,
122
+ sublabel: l.sublabel,
123
+ "model-value": V.value.some((b) => b.value === l.value),
124
+ value: l.value,
125
+ "onUpdate:modelValue": (b) => _(l)
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
+ };
@@ -1,12 +1,12 @@
1
- import { defineComponent as R, ref as N, useModel as L, resolveComponent as V, createElementBlock as $, openBlock as h, createBlock as U, createElementVNode as t, resolveDynamicComponent as ue, unref as e, withCtx as b, createVNode as n, normalizeClass as B, toDisplayString as a, Fragment as W, renderList as X, createTextVNode as de, withDirectives as Y, vShow as ee, createCommentVNode as pe, computed as q, watch as ce, normalizeStyle as fe } from "vue";
2
- import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-Y9S0SZ7o.js";
3
- import { d as A, C as G, D as ve, x as ge, y as Z, a as ye } from "./app-1dD87x1L.js";
1
+ import { defineComponent as R, ref as N, useModel as L, resolveComponent as V, openBlock as h, createElementBlock as $, createBlock as U, resolveDynamicComponent as ue, unref as e, withCtx as b, createVNode as n, normalizeClass as B, createElementVNode as t, toDisplayString as a, Fragment as W, renderList as X, createTextVNode as de, withDirectives as Y, vShow as ee, createCommentVNode as pe, computed as q, watch as ce, normalizeStyle as fe } from "vue";
2
+ import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-DsTRZa_6.js";
3
+ import { d as A, C as G, D as ve, x as ge, y as Z, a as ye } from "./app-BQDKX7NB.js";
4
4
  import { components as K, useSnackbar as te, useBreakpoints as oe, FmButtonColorThemeVariant as Q } from "@feedmepos/ui-library";
5
- import { e as le, t as E, s as he } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DJ-LIqFg.js";
5
+ import { e as le, t as E, s as he } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DHrnVaog.js";
6
6
  import { u as xe } from "./message-dialog-UoMWOnil.js";
7
- import { u as w } from "./_plugin-vue_export-helper-C6QDExPN.js";
7
+ import { u as w } from "./_plugin-vue_export-helper-Bx7s49ra.js";
8
8
  import { detectLocale as F } from "@feedmepos/mf-common";
9
- import { a as j } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
9
+ import { a as j } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js";
10
10
  import { storeToRefs as be } from "pinia";
11
11
  const Ve = { class: "px-5 py-2" }, Te = { class: "flex" }, Ce = { class: "flex px-5 gap-2" }, De = { class: "flex flex-col gap-2" }, $e = { class: "fm-typo-en-title-sm-600" }, Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ke = { class: "w-full gap-[24px] flex flex-col pt-2" }, Fe = { class: "flex items-center w-full gap-3" }, Re = { class: "text-fm-color-typo-primary" }, we = { class: "text-fm-color-typo-secondary" }, Oe = { class: "flex items-center gap-2" }, He = /* @__PURE__ */ R({
12
12
  __name: "ReportHour",