@feedmepos/mf-report 5.27.50 → 5.27.51

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 (28) hide show
  1. package/dist/{App-BmsF09Zx.js → App-BUacyp4N.js} +4 -4
  2. package/dist/{DateRangeSelect-DFrmdy1V.js → DateRangeSelect-w6BujNnz.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-CiFQcLSi.js → Default.vue_vue_type_script_setup_true_lang-hyLYYw0g.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-B7BFGX1N.js → DynamicWidget.vue_vue_type_script_setup_true_lang-B3srDs3Y.js} +1565 -1560
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.js} +2861 -2776
  6. package/dist/{InsightView-ButMjg-U.js → InsightView-DS6rf2VG.js} +4 -4
  7. package/dist/{Integration-kEwQu7ai.js → Integration-BHWhJ9JT.js} +3 -3
  8. package/dist/{Integrations-CQSoSK5V.js → Integrations-BcPNQ1Ga.js} +2 -2
  9. package/dist/{Layout-DTsjR_RE.js → Layout-BGsnPPEz.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BrRzCA9f.js → MenuTab.vue_vue_type_script_setup_true_lang-BsTMVreF.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DUs73Dgk.js → NavigationTab.vue_vue_type_script_setup_true_lang-DuGertQd.js} +3 -3
  12. package/dist/{OverviewView-C7rXqkqu.js → OverviewView-cISqmDJF.js} +5 -5
  13. package/dist/{Report-DmMvV31s.js → Report-uI-i1vQO.js} +4 -4
  14. package/dist/{ReportEditor-BiEsvXZY.js → ReportEditor-lT9Q-hMV.js} +7 -7
  15. package/dist/{ReportView-bervDyDE.js → ReportView-DCeFWOHh.js} +7 -7
  16. package/dist/{Setting-DKnjhY5Y.js → Setting-BWRoxXWB.js} +3 -3
  17. package/dist/{Template-CA1pA8Tn.js → Template-CymYDuLw.js} +4 -4
  18. package/dist/{TileEditor-BO3GDx7j.js → TileEditor-CFtBvrVA.js} +6 -6
  19. package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-BwkSae0h.js → TilePageStack.vue_vue_type_script_setup_true_lang-nyilnJSr.js} +99 -99
  20. package/dist/{TransitionFade-PFvFcMin.js → TransitionFade-Kv-ST21m.js} +5 -5
  21. package/dist/{app-BeHt_Ouq.js → app-CbOo1IIJ.js} +1056 -930
  22. package/dist/app.js +1 -1
  23. package/dist/assets/{processTableData.worker-CXe8nW3O.js → formatChartData.worker-BSkJ6ZoI.js} +43 -28
  24. package/dist/assets/{formatChartData.worker-DcDBJkDq.js → processTableData.worker-CIXM58BV.js} +43 -28
  25. package/dist/i18n-DbyciK4x.js +76 -0
  26. package/dist/{useRestaurantPermission-46Gnzr-t.js → useRestaurantPermission-DujRDo_N.js} +1 -1
  27. package/package.json +1 -1
  28. package/dist/i18n-CI_sQ5d_.js +0 -76
@@ -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-CiFQcLSi.js";
2
+ import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-hyLYYw0g.js";
3
3
  const f = /* @__PURE__ */ o({
4
4
  __name: "Layout",
5
5
  setup(m) {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as S, computed as w, watch as A, createElementBlock as k, openBlock as d, createElementVNode as C, createVNode as p, unref as t, isRef as g, withCtx as y, useModel as E, resolveComponent as x, normalizeClass as B, createBlock as b, createCommentVNode as I, Fragment as L, renderList as j, toDisplayString as q } from "vue";
2
- import { a as G, h as H, g as J, i as K, j as Q, k as M } from "./app-BeHt_Ouq.js";
2
+ import { a as G, h as H, g as J, i as K, j as Q, k as M } from "./app-CbOo1IIJ.js";
3
3
  import { storeToRefs as F } from "pinia";
4
- import { a as X } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DUs73Dgk.js";
5
- import { D as Y } from "./DateRangeSelect-DFrmdy1V.js";
6
- import { u as Z, b as h, _ as ee, c as te } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js";
4
+ import { a as X } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DuGertQd.js";
5
+ import { D as Y } from "./DateRangeSelect-w6BujNnz.js";
6
+ import { u as Z, b as h, _ as ee, c as te } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.js";
7
7
  import { useRoute as ae } from "vue-router";
8
8
  import { useBreakpoints as oe } from "@feedmepos/ui-library";
9
9
  const ne = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scrollbar-hide" }, le = { class: "flex flex-col gap-2 py-2" }, re = /* @__PURE__ */ S({
@@ -4,12 +4,12 @@ var Dl = (e, r, t) => I5(e, typeof r != "symbol" ? r + "" : r, t);
4
4
  import { defineComponent as tr, computed as Qe, useModel as Sn, ref as Fe, watch as Nr, resolveComponent as ge, createBlock as Ke, unref as V, openBlock as ae, withCtx as Ue, createElementVNode as K, createVNode as _, toDisplayString as Ne, withDirectives as Fi, createElementBlock as Pe, Fragment as gt, renderList as Xt, vShow as Qs, createTextVNode as _r, mergeModels as fi, createCommentVNode as at, normalizeClass as ci, onMounted as o0, withKeys as zh, withModifiers as ii, isRef as wa, vModelText as Xh, normalizeStyle as ac, renderSlot as Hh, mergeProps as F5, nextTick as V5, resolveDynamicComponent as Hu, createSlots as L5 } from "vue";
5
5
  import { useRouter as qh, useRoute as Wh } from "vue-router";
6
6
  import { storeToRefs as Lr, defineStore as f0 } from "pinia";
7
- import { u as gs, X as kd, Y as N5, H as ai, R as Wa, O as Ks, Z as Gl, _ as c0, y as M5, E as R5, b as B5, $ as z5, c as jh, J as X5, a0 as H5, a1 as wn, a2 as q5 } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js";
7
+ import { u as gs, X as kd, Y as N5, H as ai, R as Wa, O as Ks, Z as Gl, _ as c0, y as M5, E as R5, b as B5, $ as z5, c as jh, J as X5, a0 as H5, a1 as wn, a2 as q5 } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.js";
8
8
  import { useBreakpoints as ko, components as Vi, useSnackbar as Hi, useDialog as W5, useDialogChild as j5, FmButtonVariant as xd } from "@feedmepos/ui-library";
9
9
  import { u as ha, _ as Uh } from "./_plugin-vue_export-helper-kkiiQoKl.js";
10
10
  import { a as Td } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Ckn2p74A.js";
11
- import { C as hr, g as U5, b as ti, e as Zh, _ as Z5, D as Yh, p as Y5 } from "./DateRangeSelect-DFrmdy1V.js";
12
- import { u as Za, F as Ya, o as fl, a as hi, d as Vt, q as xo, p as Gh, s as G5, t as Q5, e as K5, v as Il, r as Qh, c as J5, w as _5 } from "./app-BeHt_Ouq.js";
11
+ import { C as hr, g as U5, b as ti, e as Zh, _ as Z5, D as Yh, p as Y5 } from "./DateRangeSelect-w6BujNnz.js";
12
+ import { u as Za, F as Ya, o as fl, a as hi, d as Vt, q as xo, p as Gh, s as G5, t as Q5, e as K5, v as Il, r as Qh, c as J5, w as _5 } from "./app-CbOo1IIJ.js";
13
13
  import { detectLocale as $5, useCoreStore as e8 } from "@feedmepos/mf-common";
14
14
  const t8 = { class: "flex flex-col" }, r8 = { class: "fm-typo-en-title-sm-600" }, a8 = { class: "grow" }, n8 = { class: "flex flex-col gap-8" }, i8 = { class: "flex flex-col w-full" }, s8 = { class: "flex flex-col gap-5 p-6" }, l8 = { class: "flex" }, Cd = {
15
15
  // sales: [
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as g, computed as s, resolveComponent as w, createBlock as l, openBlock as i, withCtx as y, createVNode as p, createElementVNode as c, unref as e, normalizeStyle as k, normalizeClass as b } from "vue";
2
- import { _ as h } from "./TilePageStack.vue_vue_type_script_setup_true_lang-BwkSae0h.js";
3
- import { u as I, l as $ } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js";
4
- import { _ as C } from "./Default.vue_vue_type_script_setup_true_lang-CiFQcLSi.js";
2
+ import { _ as h } from "./TilePageStack.vue_vue_type_script_setup_true_lang-nyilnJSr.js";
3
+ import { u as I, l as $ } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.js";
4
+ import { _ as C } from "./Default.vue_vue_type_script_setup_true_lang-hyLYYw0g.js";
5
5
  import { storeToRefs as B } from "pinia";
6
6
  import { _ as z } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Ckn2p74A.js";
7
7
  import { useBreakpoints as P } from "@feedmepos/ui-library";
8
- import { _ as R } from "./MenuTab.vue_vue_type_script_setup_true_lang-BrRzCA9f.js";
8
+ import { _ as R } from "./MenuTab.vue_vue_type_script_setup_true_lang-BsTMVreF.js";
9
9
  import { useI18n as S } from "@feedmepos/mf-common";
10
- import { r as V } from "./i18n-CI_sQ5d_.js";
10
+ import { r as V } from "./i18n-DbyciK4x.js";
11
11
  const D = { class: "sticky top-0 z-10 bg-white" }, K = /* @__PURE__ */ g({
12
12
  __name: "OverviewView",
13
13
  setup(F) {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as Ie, ref as Q, watch as de, computed as h, h as d, withModifiers as Fe, resolveComponent as x, createBlock as W, openBlock as J, withCtx as m, createVNode as i, createElementVNode as g, unref as e, normalizeStyle as Oe, normalizeClass as y, withDirectives as fe, createElementBlock as Pe, Fragment as Le, renderList as Ne, toDisplayString as _, createTextVNode as Ve, vShow as ye } from "vue";
2
2
  import { storeToRefs as ve } from "pinia";
3
- import { u as Ae } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js";
4
- import { _ as Je } from "./Default.vue_vue_type_script_setup_true_lang-CiFQcLSi.js";
3
+ import { u as Ae } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.js";
4
+ import { _ as Je } from "./Default.vue_vue_type_script_setup_true_lang-hyLYYw0g.js";
5
5
  import { u as ze } from "./message-dialog-UoMWOnil.js";
6
6
  import { a as Be } from "./_plugin-vue_export-helper-kkiiQoKl.js";
7
7
  import { useSnackbar as Te, useBreakpoints as Ue, components as Ee, FmButtonColorThemeVariant as Ke } from "@feedmepos/ui-library";
8
8
  import { _ as Me } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Ckn2p74A.js";
9
- import { c as Ye, a as ge, h as qe } from "./app-BeHt_Ouq.js";
9
+ import { c as Ye, a as ge, h as qe } from "./app-CbOo1IIJ.js";
10
10
  import { useRouter as je, useRoute as Ge, onBeforeRouteLeave as He } from "vue-router";
11
11
  import { useI18n as Qe } from "@feedmepos/mf-common";
12
- import { r as X } from "./i18n-CI_sQ5d_.js";
12
+ import { r as X } from "./i18n-DbyciK4x.js";
13
13
  const We = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xe = { class: "w-[343px]" }, Ze = { class: "fm-typo-en-body-md-600" }, dt = /* @__PURE__ */ Ie({
14
14
  __name: "Report",
15
15
  setup(et) {
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as we, mergeModels as ke, useModel as Te, ref as E, computed as g, resolveComponent as C, createBlock as x, openBlock as c, withCtx as w, createElementVNode as v, createVNode as u, unref as l, normalizeClass as Le, createTextVNode as Ae, toDisplayString as U, createElementBlock as M, Fragment as he, renderSlot as gt, createCommentVNode as I, watch as pe, renderList as Ee, onMounted as bt, onUnmounted as Dt, resolveDynamicComponent as It, isRef as yt, normalizeStyle as rt } from "vue";
2
- import { W as Ot, g as Ut, _ as Nt, a as Bt, e as De, S as We, d as ht, b as wt, T as Mt, c as Rt } from "./TransitionFade-PFvFcMin.js";
3
- import { C as xe, D as te, d as ze, g as zt, F as Je, e as Ie, u as it, i as Pe, f as ce, M as _t, r as Pt, h as et, n as qt, j as Et, k as Lt, m as Gt, o as Wt, p as At, q as Ht, a as jt, b as mt, t as tt, v as Jt, Q as Ke, w as Kt, l as Qt, c as ct, x as Yt } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js";
2
+ import { W as Ot, g as Ut, _ as Nt, a as Bt, e as De, S as We, d as ht, b as wt, T as Mt, c as Rt } from "./TransitionFade-Kv-ST21m.js";
3
+ import { C as xe, D as te, d as ze, g as zt, F as Je, e as Ie, u as it, i as Pe, f as ce, M as _t, r as Pt, h as et, n as qt, j as Et, k as Lt, m as Gt, o as Wt, p as At, q as Ht, a as jt, b as mt, t as tt, v as Jt, Q as Ke, w as Kt, l as Qt, c as ct, x as Yt } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.js";
4
4
  import { storeToRefs as qe } from "pinia";
5
5
  import { useRouter as st, useRoute as ut } from "vue-router";
6
6
  import { useBreakpoints as Qe, useSnackbar as Ft, FmButtonColorThemeVariant as Ce } from "@feedmepos/ui-library";
7
7
  import { u as dt } from "./message-dialog-UoMWOnil.js";
8
8
  import { u as Ge, a as Xt } from "./_plugin-vue_export-helper-kkiiQoKl.js";
9
- import { r as He } from "./i18n-CI_sQ5d_.js";
10
- import { _ as lt } from "./TilePageStack.vue_vue_type_script_setup_true_lang-BwkSae0h.js";
9
+ import { r as He } from "./i18n-DbyciK4x.js";
10
+ import { _ as lt } from "./TilePageStack.vue_vue_type_script_setup_true_lang-nyilnJSr.js";
11
11
  import { a as ot, _ as at } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Ckn2p74A.js";
12
- import { d as Zt, e as el, i as tl } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B7BFGX1N.js";
12
+ import { d as Zt, e as el, i as tl } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B3srDs3Y.js";
13
13
  import { useCoreStore as ll } from "@feedmepos/mf-common";
14
- import { u as ol, a as al } from "./app-BeHt_Ouq.js";
15
- import { d as rl } from "./DateRangeSelect-DFrmdy1V.js";
14
+ import { u as ol, a as al } from "./app-CbOo1IIJ.js";
15
+ import { d as rl } from "./DateRangeSelect-w6BujNnz.js";
16
16
  const nl = /* @__PURE__ */ we({
17
17
  __name: "WidgetDialog",
18
18
  props: /* @__PURE__ */ ke({
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as F, computed as i, createBlock as f, openBlock as y, withCtx as S, renderSlot as ne, ref as ie, watch as ue, resolveComponent as j, createVNode as k, createElementVNode as R, unref as l, toDisplayString as ce, normalizeStyle as pe, normalizeClass as me } from "vue";
2
- import { _ as de } from "./MenuTab.vue_vue_type_script_setup_true_lang-BrRzCA9f.js";
3
- import { _ as ve } from "./TilePageStack.vue_vue_type_script_setup_true_lang-BwkSae0h.js";
4
- import { u as fe, l as ye, s as ge } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js";
2
+ import { _ as de } from "./MenuTab.vue_vue_type_script_setup_true_lang-BsTMVreF.js";
3
+ import { _ as ve } from "./TilePageStack.vue_vue_type_script_setup_true_lang-nyilnJSr.js";
4
+ import { u as fe, l as ye, s as ge } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.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-CiFQcLSi.js";
6
+ import { _ as we } from "./Default.vue_vue_type_script_setup_true_lang-hyLYYw0g.js";
7
7
  import { storeToRefs as w } from "pinia";
8
- import { b as Se, c as he, u as Ce, g as xe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DUs73Dgk.js";
8
+ import { b as Se, c as he, u as Ce, g as xe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DuGertQd.js";
9
9
  import { _ as V } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Ckn2p74A.js";
10
10
  import { useSnackbar as Te, useBreakpoints as ke } from "@feedmepos/ui-library";
11
11
  import { u as z, a as Re, _ as Pe } from "./_plugin-vue_export-helper-kkiiQoKl.js";
12
12
  import { u as De } from "./message-dialog-UoMWOnil.js";
13
- import { e as Ie, h as Oe } from "./app-BeHt_Ouq.js";
14
- import { r as $e } from "./i18n-CI_sQ5d_.js";
13
+ import { e as Ie, h as Oe } from "./app-CbOo1IIJ.js";
14
+ import { r as $e } from "./i18n-DbyciK4x.js";
15
15
  const Ae = /* @__PURE__ */ F({
16
16
  __name: "NoPermission",
17
17
  props: {
@@ -1,8 +1,8 @@
1
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-CiFQcLSi.js";
3
- import { d as A, C as G, D as ve, m as ge, n as Z, a as ye } from "./app-BeHt_Ouq.js";
2
+ import { _ as _e } from "./Default.vue_vue_type_script_setup_true_lang-hyLYYw0g.js";
3
+ import { d as A, C as G, D as ve, m as ge, n as Z, a as ye } from "./app-CbOo1IIJ.js";
4
4
  import { components as K, useSnackbar as te, useBreakpoints as oe, FmButtonColorThemeVariant as Q } from "@feedmepos/ui-library";
5
- import { T as le, U as E, V as he } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js";
5
+ import { T as le, U as E, V as he } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.js";
6
6
  import { u as xe } from "./message-dialog-UoMWOnil.js";
7
7
  import { u as w } from "./_plugin-vue_export-helper-kkiiQoKl.js";
8
8
  import { detectLocale as F } from "@feedmepos/mf-common";
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as ie, computed as u, resolveComponent as v, createElementBlock as A, openBlock as _, renderSlot as Ve, createVNode as n, withCtx as s, createCommentVNode as q, createElementVNode as i, toDisplayString as d, ref as b, h as p, onMounted as Le, createBlock as R, unref as l, normalizeStyle as Se, normalizeClass as C, withDirectives as ae, Fragment as $e, renderList as Ie, withModifiers as re, vShow as ne } from "vue";
2
2
  import { a as Re } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Ckn2p74A.js";
3
3
  import { u as me, a as Pe } from "./_plugin-vue_export-helper-kkiiQoKl.js";
4
- import { _ as ze } from "./Default.vue_vue_type_script_setup_true_lang-CiFQcLSi.js";
4
+ import { _ as ze } from "./Default.vue_vue_type_script_setup_true_lang-hyLYYw0g.js";
5
5
  import { u as De } from "./message-dialog-UoMWOnil.js";
6
- import { u as Ne } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js";
7
- import { r as se } from "./i18n-CI_sQ5d_.js";
6
+ import { u as Ne } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.js";
7
+ import { r as se } from "./i18n-DbyciK4x.js";
8
8
  import { useBreakpoints as Be, useSnackbar as Me, components as Ee, FmButtonColorThemeVariant as Ke } from "@feedmepos/ui-library";
9
9
  import { useRouter as Ue, useRoute as He } from "vue-router";
10
10
  import { storeToRefs as Oe } from "pinia";
11
- import { h as je } from "./app-BeHt_Ouq.js";
11
+ import { h as je } from "./app-CbOo1IIJ.js";
12
12
  const Ae = { class: "flex flex-col h-full" }, qe = ["src"], Ge = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Je = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, Qe = /* @__PURE__ */ ie({
13
13
  __name: "NoTemplate",
14
14
  props: {
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as de, mergeModels as ve, useModel as ge, computed as C, ref as oe, resolveComponent as A, createElementBlock as W, openBlock as m, createVNode as u, createElementVNode as g, unref as l, withCtx as Z, toDisplayString as K, Fragment as me, renderList as $e, withModifiers as he, createTextVNode as Xe, watch as ke, createCommentVNode as P, createBlock as z, renderSlot as Fl, onBeforeUnmount as ul, resolveDynamicComponent as Vl, normalizeClass as Ve, withDirectives as Fe, vShow as Te, onMounted as Sl, withKeys as fl, vModelText as Xl, normalizeStyle as sl, isRef as Hl } from "vue";
2
2
  import { useRoute as ql, useRouter as Gl } from "vue-router";
3
- import { u as dl, f as ml, h as We, F as Ne, d as He, S as rl, a as Yl, W as Jl, T as Kl, c as Ql, b as gl } from "./TransitionFade-PFvFcMin.js";
4
- import { W as J, a as _l, y as qe, D as Ke, S as yl, C as Zl, u as Tl, P as bl, F as Pe, e as Le, b as et, c as lt, p as tt } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js";
3
+ import { u as dl, f as ml, h as We, F as Ne, d as He, S as rl, a as Yl, W as Jl, T as Kl, c as Ql, b as gl } from "./TransitionFade-Kv-ST21m.js";
4
+ import { W as J, a as _l, y as qe, D as Ke, S as yl, C as Zl, u as Tl, P as bl, F as Pe, e as Le, b as et, c as lt, p as tt } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.js";
5
5
  import { storeToRefs as Re } from "pinia";
6
6
  import { u as $l } from "./message-dialog-UoMWOnil.js";
7
7
  import { useSnackbar as ot, useBreakpoints as Dl, FmButtonColorThemeVariant as Ue } from "@feedmepos/ui-library";
8
- import { h as at, g as xe, R as hl, d as nt, e as it, j as st, L as Ae, k as al, S as re, l as fe, m as nl, n as wl, a as Ul } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B7BFGX1N.js";
8
+ import { h as at, g as xe, R as hl, d as nt, e as it, j as st, L as Ae, k as al, S as re, l as fe, m as nl, n as wl, a as Ul } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B3srDs3Y.js";
9
9
  import { a as be, _ as Bl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Ckn2p74A.js";
10
10
  import { u as pe, _ as Ll } from "./_plugin-vue_export-helper-kkiiQoKl.js";
11
- import { r as ue } from "./i18n-CI_sQ5d_.js";
12
- import { a as je, d as Qe } from "./DateRangeSelect-DFrmdy1V.js";
13
- import { a as rt, d as Je } from "./app-BeHt_Ouq.js";
11
+ import { r as ue } from "./i18n-DbyciK4x.js";
12
+ import { a as je, d as Qe } from "./DateRangeSelect-w6BujNnz.js";
13
+ import { a as rt, d as Je } from "./app-CbOo1IIJ.js";
14
14
  const tl = [
15
15
  {
16
16
  type: J.Circular,
@@ -1,19 +1,19 @@
1
- import { defineComponent as R, reactive as J, resolveComponent as B, createElementBlock as d, openBlock as n, Fragment as I, renderList as P, createBlock as V, createCommentVNode as f, unref as Z, normalizeStyle as w, normalizeClass as l, withCtx as W, createVNode as u, createElementVNode as $, toDisplayString as T, mergeProps as ee, createSlots as te, withDirectives as G, vShow as L, ref as re, watch as oe } from "vue";
2
- import { u as ne } from "./_plugin-vue_export-helper-kkiiQoKl.js";
3
- import { _ as ie, a as O, c as de, b as se, f as ae, t as ce, p as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B7BFGX1N.js";
4
- import { i as ue, F as D, W as pe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js";
5
- import { useBreakpoints as me } from "@feedmepos/ui-library";
6
- import { r as fe } from "./i18n-CI_sQ5d_.js";
7
- const ye = {
1
+ import { defineComponent as R, reactive as J, resolveComponent as B, createElementBlock as d, openBlock as n, Fragment as I, renderList as P, createBlock as V, createCommentVNode as y, unref as oe, normalizeStyle as w, normalizeClass as l, withCtx as C, createVNode as u, createElementVNode as $, toDisplayString as T, mergeProps as ne, createSlots as ie, withDirectives as G, vShow as L, ref as de, watch as se } from "vue";
2
+ import { u as X } from "./_plugin-vue_export-helper-kkiiQoKl.js";
3
+ import { _ as ae, a as O, c as ce, b as le, f as ue, t as pe, p as me } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B3srDs3Y.js";
4
+ import { i as fe, F as D, W as ye } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.js";
5
+ import { useBreakpoints as he } from "@feedmepos/ui-library";
6
+ import { r as Y } from "./i18n-DbyciK4x.js";
7
+ const _e = {
8
8
  key: 0,
9
9
  class: "px-16 pt-16 shrink-0"
10
- }, he = { class: "flex-1 min-h-0 overflow-y-auto" }, _e = {
10
+ }, ge = { class: "flex-1 min-h-0 overflow-y-auto" }, ve = {
11
11
  key: 0,
12
12
  class: "grid grid-cols-12"
13
- }, ge = {
13
+ }, xe = {
14
14
  key: 0,
15
15
  class: "px-16 pt-16"
16
- }, ve = { class: "grid grid-cols-12 max-h-full overflow-y-auto" }, Q = /* @__PURE__ */ R({
16
+ }, be = { class: "grid grid-cols-12 max-h-full overflow-y-auto" }, Q = /* @__PURE__ */ R({
17
17
  __name: "TileGrid",
18
18
  props: {
19
19
  tiles: {},
@@ -23,126 +23,126 @@ const ye = {
23
23
  customScreenWidth: {},
24
24
  flat: { type: Boolean }
25
25
  },
26
- setup(E) {
27
- const t = E, { breakpoints: _ } = me();
28
- function g(r) {
26
+ setup(W) {
27
+ const t = W, { breakpoints: g } = he(), { t: E, te: c } = X();
28
+ function v(r) {
29
29
  var i;
30
30
  const o = ((i = r.size) == null ? void 0 : i.width) ?? 12;
31
- return _.value.lg || _.value.md ? de(o) : _.value.sm ? se(o) : ae(o);
31
+ return g.value.lg || g.value.md ? ce(o) : g.value.sm ? le(o) : ue(o);
32
32
  }
33
- function a(r) {
33
+ function x(r) {
34
34
  return t.flat && r > 0 ? "border-t border-neutral-200" : "";
35
35
  }
36
- function F(r) {
36
+ function p(r) {
37
37
  var o;
38
38
  if (!t.flat)
39
- return { height: `${ce(((o = r.size) == null ? void 0 : o.height) ?? 6)}px` };
39
+ return { height: `${pe(((o = r.size) == null ? void 0 : o.height) ?? 6)}px` };
40
40
  }
41
- function y(r, o, i, h) {
41
+ function a(r, o, i, _) {
42
42
  return {
43
43
  fontSize: r ? `${r}px` : void 0,
44
44
  fontWeight: o ? "700" : void 0,
45
45
  fontStyle: i ? "italic" : void 0,
46
- textDecoration: h ? "underline" : void 0
46
+ textDecoration: _ ? "underline" : void 0
47
47
  };
48
48
  }
49
- const p = J({}), c = J({});
50
- function v(r) {
49
+ const h = J({}), f = J({});
50
+ function U(r) {
51
51
  var o;
52
52
  if (r.tabIcon !== void 0) return r.tabIcon || void 0;
53
- if (((o = r.widget) == null ? void 0 : o.type) === pe.Scorecard && r.widget.config.titleIcon !== "")
53
+ if (((o = r.widget) == null ? void 0 : o.type) === ye.Scorecard && r.widget.config.titleIcon !== "")
54
54
  return r.widget.config.titleIcon;
55
55
  }
56
- function x(r) {
56
+ function Z(r) {
57
57
  var o;
58
58
  return r ? r.tabIcon !== void 0 ? r.tabIconSize ?? D.Small : ((o = r.widget) == null ? void 0 : o.config.titleIconSize) ?? D.Small : D.Small;
59
59
  }
60
- function U(r) {
60
+ function ee(r) {
61
61
  var o;
62
62
  if (r)
63
63
  return r.tabIcon !== void 0 ? r.tabIconType : (o = r.widget) == null ? void 0 : o.config.titleIconType;
64
64
  }
65
- function X(r) {
65
+ function te(r) {
66
66
  return (r.tiles ?? []).map((o, i) => ({
67
- label: o.tabTitle || `Tab ${i + 1}`,
67
+ label: o.tabTitle ? Y(E, c, o.tabTitle, "other") : `Tab ${i + 1}`,
68
68
  value: String(i),
69
- icon: v(o)
69
+ icon: U(o)
70
70
  }));
71
71
  }
72
- function z(r, o) {
72
+ function F(r, o) {
73
73
  return r.id || `container_${o}`;
74
74
  }
75
75
  function S(r, o) {
76
- return p[z(r, o)] ?? 0;
76
+ return h[F(r, o)] ?? 0;
77
77
  }
78
- function Y(r, o, i) {
79
- return S(r, o) === i || c[`${z(r, o)}_${i}`];
78
+ function re(r, o, i) {
79
+ return S(r, o) === i || f[`${F(r, o)}_${i}`];
80
80
  }
81
81
  function M(r, o, i) {
82
82
  if (i === null) return;
83
- const h = z(r, o);
84
- c[`${h}_${S(r, o)}`] = !0, p[h] = Number(i), c[`${h}_${i}`] = !0;
83
+ const _ = F(r, o);
84
+ f[`${_}_${S(r, o)}`] = !0, h[_] = Number(i), f[`${_}_${i}`] = !0;
85
85
  }
86
86
  return (r, o) => {
87
- const i = B("FmTab"), h = B("FmTabs"), N = B("TileGrid", !0), H = B("FmCard");
87
+ const i = B("FmTab"), _ = B("FmTabs"), N = B("TileGrid", !0), H = B("FmCard");
88
88
  return n(!0), d(I, null, P(t.tiles, (e, s) => {
89
89
  var K, j, q;
90
90
  return n(), d(I, {
91
91
  key: `tile_${t.reportId}_${e.id || s}`
92
92
  }, [
93
- Z(ue)(e) && ((K = e.tiles) != null && K.length) ? (n(), V(H, {
93
+ oe(fe)(e) && ((K = e.tiles) != null && K.length) ? (n(), V(H, {
94
94
  key: 0,
95
95
  variant: "outlined",
96
- class: l(["p-0 overflow-hidden flex flex-col", [g(e), a(s)]]),
97
- style: w(F(e))
96
+ class: l(["p-0 overflow-hidden flex flex-col", [v(e), x(s)]]),
97
+ style: w(p(e))
98
98
  }, {
99
- default: W(() => [
100
- e.title || e.description ? (n(), d("div", ye, [
99
+ default: C(() => [
100
+ e.title || e.description ? (n(), d("div", _e, [
101
101
  e.title ? (n(), d("p", {
102
102
  key: 0,
103
103
  class: l(["fm-typo-en-body-sm-400", { "text-fm-color-typo-secondary": !(e.titleBold ?? !0) }]),
104
104
  style: w(
105
- y(
105
+ a(
106
106
  e.titleFontSize ?? 16,
107
107
  e.titleBold ?? !0,
108
108
  e.titleItalic,
109
109
  e.titleUnderline
110
110
  )
111
111
  )
112
- }, T(e.title), 7)) : f("", !0),
112
+ }, T(e.title), 7)) : y("", !0),
113
113
  e.description ? (n(), d("p", {
114
114
  key: 1,
115
115
  class: l(["mt-4 fm-typo-en-body-sm-400", { "text-fm-color-typo-secondary": !e.descriptionBold }]),
116
116
  style: w(
117
- y(
117
+ a(
118
118
  e.descriptionFontSize,
119
119
  e.descriptionBold,
120
120
  e.descriptionItalic,
121
121
  e.descriptionUnderline
122
122
  )
123
123
  )
124
- }, T(e.description), 7)) : f("", !0)
125
- ])) : f("", !0),
126
- u(h, {
124
+ }, T(e.description), 7)) : y("", !0)
125
+ ])) : y("", !0),
126
+ u(_, {
127
127
  class: "px-16 pt-8 shrink-0",
128
128
  "model-value": String(S(e, s)),
129
- items: X(e),
129
+ items: te(e),
130
130
  "onUpdate:modelValue": (m) => M(e, s, m)
131
131
  }, {
132
- default: W(({ icon: m, tabsProps: k, ...b }) => [
133
- u(i, ee({ ref_for: !0 }, { ...k, ...b }, {
132
+ default: C(({ icon: m, tabsProps: k, ...b }) => [
133
+ u(i, ne({ ref_for: !0 }, { ...k, ...b }, {
134
134
  "model-value": String(S(e, s)),
135
- "onUpdate:modelValue": (C) => M(e, s, C)
136
- }), te({ _: 2 }, [
135
+ "onUpdate:modelValue": (z) => M(e, s, z)
136
+ }), ie({ _: 2 }, [
137
137
  m ? {
138
138
  name: "prepend",
139
- fn: W(() => {
140
- var C, A;
139
+ fn: C(() => {
140
+ var z, A;
141
141
  return [
142
- u(ie, {
142
+ u(ae, {
143
143
  icon: m,
144
- type: U((C = e.tiles) == null ? void 0 : C[Number(b.value)]),
145
- size: x((A = e.tiles) == null ? void 0 : A[Number(b.value)])
144
+ type: ee((z = e.tiles) == null ? void 0 : z[Number(b.value)]),
145
+ size: Z((A = e.tiles) == null ? void 0 : A[Number(b.value)])
146
146
  }, null, 8, ["icon", "type", "size"])
147
147
  ];
148
148
  }),
@@ -152,13 +152,13 @@ const ye = {
152
152
  ]),
153
153
  _: 2
154
154
  }, 1032, ["model-value", "items", "onUpdate:modelValue"]),
155
- $("div", he, [
155
+ $("div", ge, [
156
156
  (n(!0), d(I, null, P(e.tiles, (m, k) => {
157
157
  var b;
158
158
  return n(), d(I, {
159
- key: `tab_${z(e, s)}_${k}`
159
+ key: `tab_${F(e, s)}_${k}`
160
160
  }, [
161
- Y(e, s, k) ? G((n(), d("div", _e, [
161
+ re(e, s, k) ? G((n(), d("div", ve, [
162
162
  u(N, {
163
163
  tiles: (b = m.tiles) != null && b.length && !m.widget ? m.tiles : [m],
164
164
  "report-id": t.reportId,
@@ -169,7 +169,7 @@ const ye = {
169
169
  }, null, 8, ["tiles", "report-id", "leaf-index-by-id", "hide-export", "custom-screen-width"])
170
170
  ], 512)), [
171
171
  [L, S(e, s) === k]
172
- ]) : f("", !0)
172
+ ]) : y("", !0)
173
173
  ], 64);
174
174
  }), 128))
175
175
  ])
@@ -178,37 +178,37 @@ const ye = {
178
178
  }, 1032, ["class", "style"])) : !e.widget && ((j = e.tiles) != null && j.length) && !t.flat ? (n(), V(H, {
179
179
  key: 1,
180
180
  variant: "outlined",
181
- class: l(["p-0 overflow-hidden", g(e)]),
182
- style: w(F(e))
181
+ class: l(["p-0 overflow-hidden", v(e)]),
182
+ style: w(p(e))
183
183
  }, {
184
- default: W(() => [
185
- e.title || e.description ? (n(), d("div", ge, [
184
+ default: C(() => [
185
+ e.title || e.description ? (n(), d("div", xe, [
186
186
  e.title ? (n(), d("p", {
187
187
  key: 0,
188
188
  class: l(["fm-typo-en-body-sm-400", { "text-fm-color-typo-secondary": !(e.titleBold ?? !0) }]),
189
189
  style: w(
190
- y(
190
+ a(
191
191
  e.titleFontSize ?? 16,
192
192
  e.titleBold ?? !0,
193
193
  e.titleItalic,
194
194
  e.titleUnderline
195
195
  )
196
196
  )
197
- }, T(e.title), 7)) : f("", !0),
197
+ }, T(e.title), 7)) : y("", !0),
198
198
  e.description ? (n(), d("p", {
199
199
  key: 1,
200
200
  class: l(["mt-4 fm-typo-en-body-sm-400", { "text-fm-color-typo-secondary": !e.descriptionBold }]),
201
201
  style: w(
202
- y(
202
+ a(
203
203
  e.descriptionFontSize,
204
204
  e.descriptionBold,
205
205
  e.descriptionItalic,
206
206
  e.descriptionUnderline
207
207
  )
208
208
  )
209
- }, T(e.description), 7)) : f("", !0)
210
- ])) : f("", !0),
211
- $("div", ve, [
209
+ }, T(e.description), 7)) : y("", !0)
210
+ ])) : y("", !0),
211
+ $("div", be, [
212
212
  u(N, {
213
213
  tiles: e.tiles,
214
214
  "report-id": t.reportId,
@@ -222,7 +222,7 @@ const ye = {
222
222
  _: 2
223
223
  }, 1032, ["class", "style"])) : !e.widget && ((q = e.tiles) != null && q.length) ? (n(), d("div", {
224
224
  key: 2,
225
- class: l(["grid grid-cols-12", [g(e), a(s)]])
225
+ class: l(["grid grid-cols-12", [v(e), x(s)]])
226
226
  }, [
227
227
  u(N, {
228
228
  tiles: e.tiles,
@@ -234,7 +234,7 @@ const ye = {
234
234
  }, null, 8, ["tiles", "report-id", "leaf-index-by-id", "hide-export", "custom-screen-width"])
235
235
  ], 2)) : e.widget && t.flat ? (n(), d("div", {
236
236
  key: 3,
237
- class: l([g(e), a(s)])
237
+ class: l([v(e), x(s)])
238
238
  }, [
239
239
  u(O, {
240
240
  "model-value": e,
@@ -251,12 +251,12 @@ const ye = {
251
251
  index: t.leafIndexById[e.id] ?? s,
252
252
  "hide-export": t.hideExport,
253
253
  "custom-screen-width": t.customScreenWidth
254
- }, null, 8, ["model-value", "report-id", "index", "hide-export", "custom-screen-width"])) : f("", !0)
254
+ }, null, 8, ["model-value", "report-id", "index", "hide-export", "custom-screen-width"])) : y("", !0)
255
255
  ], 64);
256
256
  }), 128);
257
257
  };
258
258
  }
259
- }), xe = { class: "col-span-12 flex items-center gap-4" }, be = ["title"], $e = /* @__PURE__ */ R({
259
+ }), we = { class: "col-span-12 flex items-center gap-4" }, Ie = ["title"], ze = /* @__PURE__ */ R({
260
260
  __name: "TilePageStack",
261
261
  props: {
262
262
  tiles: {},
@@ -266,26 +266,26 @@ const ye = {
266
266
  hideExport: { type: Boolean },
267
267
  customScreenWidth: {}
268
268
  },
269
- setup(E) {
270
- const t = E, { t: _, te: g } = ne(), a = re([]);
271
- le({
269
+ setup(W) {
270
+ const t = W, { t: g, te: E } = X(), c = de([]);
271
+ me({
272
272
  openPage: (p) => {
273
- var c;
274
- ((c = a.value[a.value.length - 1]) == null ? void 0 : c.id) !== p.id && a.value.push(p);
273
+ var a;
274
+ ((a = c.value[c.value.length - 1]) == null ? void 0 : a.id) !== p.id && c.value.push(p);
275
275
  }
276
276
  });
277
- function F() {
278
- a.value.pop();
277
+ function v() {
278
+ c.value.pop();
279
279
  }
280
- function y(p) {
281
- var v;
282
- const c = p.tabTitle || ((v = p.widget) == null ? void 0 : v.title) || "";
283
- return c ? fe(_, g, c, "other") : _("report.common.page");
280
+ function x(p) {
281
+ var h;
282
+ const a = p.tabTitle || ((h = p.widget) == null ? void 0 : h.title) || "";
283
+ return a ? Y(g, E, a, "other") : g("report.common.page");
284
284
  }
285
- return oe([() => t.reportId, () => t.tiles], () => {
286
- a.value = [];
287
- }), (p, c) => {
288
- const v = B("FmButton");
285
+ return se([() => t.reportId, () => t.tiles], () => {
286
+ c.value = [];
287
+ }), (p, a) => {
288
+ const h = B("FmButton");
289
289
  return n(), d(I, null, [
290
290
  G($("div", {
291
291
  class: l(["grid grid-cols-12", t.gridClass])
@@ -298,38 +298,38 @@ const ye = {
298
298
  "custom-screen-width": t.customScreenWidth
299
299
  }, null, 8, ["tiles", "report-id", "leaf-index-by-id", "hide-export", "custom-screen-width"])
300
300
  ], 2), [
301
- [L, a.value.length === 0]
301
+ [L, c.value.length === 0]
302
302
  ]),
303
- (n(!0), d(I, null, P(a.value, (x, U) => G((n(), d("div", {
304
- key: `page_${x.id}`,
303
+ (n(!0), d(I, null, P(c.value, (f, U) => G((n(), d("div", {
304
+ key: `page_${f.id}`,
305
305
  class: l(["grid grid-cols-12", t.gridClass])
306
306
  }, [
307
- $("div", xe, [
308
- u(v, {
307
+ $("div", we, [
308
+ u(h, {
309
309
  icon: "arrow_back",
310
310
  variant: "tertiary",
311
311
  class: "-ml-8",
312
- onClick: F
312
+ onClick: v
313
313
  }),
314
314
  $("p", {
315
315
  class: "fm-typo-en-title-sm-600 line-clamp-1 min-w-0 break-all",
316
- title: y(x)
317
- }, T(y(x)), 9, be)
316
+ title: x(f)
317
+ }, T(x(f)), 9, Ie)
318
318
  ]),
319
319
  u(Q, {
320
- tiles: x.tiles ?? [],
320
+ tiles: f.tiles ?? [],
321
321
  "report-id": t.reportId,
322
322
  "leaf-index-by-id": t.leafIndexById,
323
323
  "hide-export": t.hideExport,
324
324
  "custom-screen-width": t.customScreenWidth
325
325
  }, null, 8, ["tiles", "report-id", "leaf-index-by-id", "hide-export", "custom-screen-width"])
326
326
  ], 2)), [
327
- [L, U === a.value.length - 1]
327
+ [L, U === c.value.length - 1]
328
328
  ])), 128))
329
329
  ], 64);
330
330
  };
331
331
  }
332
332
  });
333
333
  export {
334
- $e as _
334
+ ze as _
335
335
  };
@@ -3,13 +3,13 @@ import { u as Lt, a as fo, _ as an } from "./_plugin-vue_export-helper-kkiiQoKl.
3
3
  import { useCoreStore as po } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as In } from "pinia";
5
5
  import { useRoute as mo } from "vue-router";
6
- import { W as xe, Q as ho, I as rt, z as On, A as Sn, d as Ge, g as go, y as vo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-COrPvIuC.js";
7
- import { p as bo, d as Cn, a as Rn } from "./DateRangeSelect-DFrmdy1V.js";
8
- import { u as yo, F as Eo, r as _o, d as Ut } from "./app-BeHt_Ouq.js";
6
+ import { W as xe, Q as ho, I as rt, z as On, A as Sn, d as Ge, g as go, y as vo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DgDsEckO.js";
7
+ import { p as bo, d as Cn, a as Rn } from "./DateRangeSelect-w6BujNnz.js";
8
+ import { u as yo, F as Eo, r as _o, d as Ut } from "./app-CbOo1IIJ.js";
9
9
  import { a as dn } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Ckn2p74A.js";
10
- import { r as fn } from "./i18n-CI_sQ5d_.js";
10
+ import { r as fn } from "./i18n-DbyciK4x.js";
11
11
  import { useSnackbar as To } from "@feedmepos/ui-library";
12
- import { g as gt } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B7BFGX1N.js";
12
+ import { g as gt } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B3srDs3Y.js";
13
13
  const wo = {
14
14
  key: 0,
15
15
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"