@feedmepos/mf-report 5.23.8-beta.0 → 5.23.9-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 (24) hide show
  1. package/dist/{App-Blp7iZTh.js → App-DCBB7mNX.js} +4 -4
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-Cfwj1rcj.js → BaseDialog.vue_vue_type_script_setup_true_lang-rcMb9Qlk.js} +19 -9
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-DczxgxKP.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-HVLqbZxB.js} +1 -1
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-pulH3QTS.js → Default.vue_vue_type_script_setup_true_lang-7U4ZfG61.js} +1 -1
  5. package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-ZxvjCKIH.js → FilterSelector.vue_vue_type_script_setup_true_lang-D1f7E73m.js} +390 -390
  6. package/dist/{InsightView-DB-95oTS.js → InsightView-CzrIJERT.js} +4 -4
  7. package/dist/{Integration-bvoaSvky.js → Integration-D1Hq9pNR.js} +3 -3
  8. package/dist/{Integrations-DbkFDc4x.js → Integrations-DjbP0Iaa.js} +2 -2
  9. package/dist/{Layout-CAB6c4iP.js → Layout-C815uK8h.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BLiBtPV_.js → MenuTab.vue_vue_type_script_setup_true_lang-bZiM_nO7.js} +5 -5
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-D4Z4I2ME.js → NavigationTab.vue_vue_type_script_setup_true_lang-dx3zsU65.js} +3 -3
  12. package/dist/{OverviewView-DgmOWTMa.js → OverviewView-D6jc2V7S.js} +4 -4
  13. package/dist/{Report-lvzCvoub.js → Report-Ci-XLL39.js} +3 -3
  14. package/dist/{ReportEditor-DBxoT69p.js → ReportEditor-D__qWI8C.js} +4 -4
  15. package/dist/{ReportView-aIc3h00s.js → ReportView-Dblelh3x.js} +6 -6
  16. package/dist/{Setting-C0QpxvMi.js → Setting-DzIyYBIp.js} +3 -3
  17. package/dist/{TileEditor-hPCZjKiC.js → TileEditor-3pszqZbc.js} +5 -5
  18. package/dist/{TransitionFade-DWbddsES.js → TransitionFade-Dp9Hukmz.js} +4 -4
  19. package/dist/{app-BzpOue2V.js → app-ChVGzTXe.js} +11 -11
  20. package/dist/app.js +1 -1
  21. package/dist/assets/{formatChartData.worker-BDvFT0pw.js → formatChartData.worker-DkfLOO1x.js} +28 -28
  22. package/dist/assets/{processTableData.worker-CORwAutg.js → processTableData.worker-CC1ehXtr.js} +28 -28
  23. package/dist/{useRestaurantPermission-DXhg26Nr.js → useRestaurantPermission-CkdP0IQ5.js} +1 -1
  24. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as ue, resolveComponent as H, createBlock as de, openBlock as A, unref as d, isRef as Ce, withCtx as W, createElementVNode as ne, createVNode as X, toDisplayString as oe, createTextVNode as ke, onMounted as le, watch as E, ref as J, computed as ae, onBeforeMount as Ne, onBeforeUnmount as Te, createElementBlock as K, Fragment as $e } from "vue";
2
2
  import { detectLocale as Q, useCoreStore as P } from "@feedmepos/mf-common";
3
- import { d as u, u as Be, a as re, b as Fe, c as se, e as qe, f as xe, s as Je, t as G } from "./app-BzpOue2V.js";
3
+ import { d as u, u as Be, a as re, b as Fe, c as se, e as qe, f as xe, s as Je, t as G } from "./app-ChVGzTXe.js";
4
4
  import { storeToRefs as C } from "pinia";
5
5
  import { u as Qe, a as Ue } from "./vue-i18n-DVWuTfed.js";
6
- import { u as ze, a as je } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Cfwj1rcj.js";
7
- import { u as Ve, _ as We } from "./NavigationTab.vue_vue_type_script_setup_true_lang-D4Z4I2ME.js";
6
+ import { u as ze, a as je } from "./BaseDialog.vue_vue_type_script_setup_true_lang-rcMb9Qlk.js";
7
+ import { u as Ve, _ as We } from "./NavigationTab.vue_vue_type_script_setup_true_lang-dx3zsU65.js";
8
8
  import { u as ie } from "./message-dialog-UoMWOnil.js";
9
9
  import { useRoute as Ke, useRouter as Pe } from "vue-router";
10
10
  const Ge = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, He = /* @__PURE__ */ ue({
@@ -96,7 +96,7 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
96
96
  }), Ne(() => {
97
97
  I(We);
98
98
  }), le(() => {
99
- console.log("5.23.8-beta.0", !0), window.addEventListener("message", M), window.addEventListener("message", ee);
99
+ console.log("5.23.9-beta.0", !0), window.addEventListener("message", M), window.addEventListener("message", ee);
100
100
  }), Te(() => {
101
101
  window.removeEventListener("message", M), window.removeEventListener("message", ee), w.$dispose(), Y.$dispose();
102
102
  });
@@ -1,10 +1,10 @@
1
- import { A as kr, n as Ur, u as C0, F as W0, x as I0, B as Qr, a as ee, b as Yr, w as Gr, g as Vr, d as v0, c as Bt, r as Ve } from "./app-BzpOue2V.js";
1
+ import { A as kr, n as Ur, u as C0, F as W0, x as I0, B as Qr, a as ee, b as Yr, w as Gr, g as Vr, d as v0, c as Bt, r as Ve } from "./app-ChVGzTXe.js";
2
2
  import { storeToRefs as T0, defineStore as $e } from "pinia";
3
3
  import { ref as h0, computed as L1, watch as je, defineComponent as Nt, mergeModels as de, useModel as Je, resolveComponent as p1, createElementBlock as Fe, openBlock as Q1, createVNode as X0, withCtx as h1, createElementVNode as o1, createCommentVNode as jr, Fragment as qt, renderList as Kr, createBlock as xt, createTextVNode as wt, withDirectives as Zr, toDisplayString as g1, unref as x0, vShow as en, renderSlot as tn } from "vue";
4
4
  import { useSnackbar as vt } from "@feedmepos/ui-library";
5
5
  import { u as rn } from "./vue-i18n-DVWuTfed.js";
6
6
  import { useCoreStore as nn, detectLocale as S1 } from "@feedmepos/mf-common";
7
- import { c as on, a as an } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DczxgxKP.js";
7
+ import { c as on, a as an } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-HVLqbZxB.js";
8
8
  function Pt(M) {
9
9
  throw new Error('Could not dynamically require "' + M + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
10
10
  }
@@ -14311,7 +14311,7 @@ var sn = un, Ht = {};
14311
14311
  }
14312
14312
  },
14313
14313
  DataTypeExtension__formatTime(e, n, o) {
14314
- var a, u, s, l, c, d, b, z, D, q, m;
14314
+ var a, u, s, l, c, d, b, z, D, q, m, g;
14315
14315
  switch (n) {
14316
14316
  case A.TIME_FORMATTER_0:
14317
14317
  case A.FORMATTER_TYPE_0:
@@ -14344,7 +14344,7 @@ var sn = un, Ht = {};
14344
14344
  a = 0, u = !0, s = !1;
14345
14345
  break;
14346
14346
  }
14347
- return l = A.JSNumber_methods.round$0(a / 60), c = A.JSInt_methods.$mod(l, 60), d = A.JSNumber_methods.round$0(A.JSNumber_methods.$mod(a, 60)), s ? "" + A.JSInt_methods._tdivFast$1(l, 60) + "h" + A.JSString_methods.padLeft$2(A.JSInt_methods.toString$0(c), 2, "0") + "m" : (b = r.JSArray_int, z = r.MappedListIterable_int_String, u ? (D = A.JSNumber_methods.floor$0(a / 86400), q = new i.MappedListIterable(i._setArrayType([A.JSNumber_methods.floor$0(A.JSNumber_methods.$mod(a, 86400) / 3600), c, d], b), new i.DataTypeExtension__formatTime_closure(), z).join$1(0, ":"), D > 0 ? (b = D > 1 ? "s" : "", m = "" + D + " day" + b + " ") : m = "", m + q) : new i.MappedListIterable(i._setArrayType([A.JSNumber_methods.floor$0(a / 3600), c, d], b), new i.DataTypeExtension__formatTime_closure0(), z).join$1(0, ":"));
14347
+ return s ? (l = A.JSInt_methods._tdivFast$1(A.JSNumber_methods.floor$0(a), 60), "" + A.JSInt_methods._tdivFast$1(l, 60) + "h" + A.JSString_methods.padLeft$2(A.JSInt_methods.toString$0(A.JSInt_methods.$mod(l, 60)), 2, "0") + "m") : (c = A.JSNumber_methods.round$0(a), d = A.JSInt_methods._tdivFast$1(A.JSInt_methods.$mod(c, 3600), 60), b = A.JSInt_methods.$mod(c, 60), z = r.JSArray_int, D = r.MappedListIterable_int_String, u ? (q = A.JSNumber_methods.floor$0(a / 86400), m = new i.MappedListIterable(i._setArrayType([A.JSNumber_methods.floor$0(A.JSNumber_methods.$mod(a, 86400) / 3600), d, b], z), new i.DataTypeExtension__formatTime_closure(), D).join$1(0, ":"), q > 0 ? (z = q > 1 ? "s" : "", g = "" + q + " day" + z + " ") : g = "", g + m) : new i.MappedListIterable(i._setArrayType([A.JSNumber_methods.floor$0(a / 3600), d, b], z), new i.DataTypeExtension__formatTime_closure0(), D).join$1(0, ":"));
14348
14348
  },
14349
14349
  DataTypeExtension__toDisplay(e, n, o, a, u, s, l, c, d, b) {
14350
14350
  var z, D, q, m, g;
@@ -23963,7 +23963,11 @@ function Eu(M) {
23963
23963
  const K = new Array(Q.length).fill(0);
23964
23964
  for (const l0 of R.rows) {
23965
23965
  if (l0.isRollup) continue;
23966
- const D0 = w ? w0(l0.value[w.id] ?? null, w, h) : "", b0 = V.get(D0);
23966
+ const D0 = w ? w0(
23967
+ l0.value[w.id] ?? null,
23968
+ w,
23969
+ h
23970
+ ) : "", b0 = V.get(D0);
23967
23971
  b0 != null && (K[b0] = w1(l0.value[t0.id]));
23968
23972
  }
23969
23973
  k.push({
@@ -23981,7 +23985,11 @@ function Eu(M) {
23981
23985
  const D0 = new Array(Q.length).fill(0);
23982
23986
  for (const b0 of t0.rows) {
23983
23987
  if (b0.isRollup) continue;
23984
- const e0 = w ? w0(b0.value[w.id] ?? null, w, h) : "", n0 = V.get(e0);
23988
+ const e0 = w ? w0(
23989
+ b0.value[w.id] ?? null,
23990
+ w,
23991
+ h
23992
+ ) : "", n0 = V.get(e0);
23985
23993
  n0 != null && (D0[n0] = w1(b0.value[l0.id]));
23986
23994
  }
23987
23995
  k.push({
@@ -24127,7 +24135,7 @@ function Iu(M, _) {
24127
24135
  function Fu(M, _) {
24128
24136
  if (!_ || _.length === 0) return "0";
24129
24137
  const f = _[_.length - 1];
24130
- let y = Math.round(M / _e[f]) * _e[f];
24138
+ let y = Math.floor(M / _e[f]) * _e[f];
24131
24139
  return _.map((h, R) => {
24132
24140
  const N = _e[h], v = Math.floor(y / N);
24133
24141
  return y -= v * N, `${R === 0 ? String(v) : String(v).padStart(2, "0")}${Lu[h]}`;
@@ -24248,7 +24256,9 @@ function Ct(M, _) {
24248
24256
  return (Math.round(M * f) / f).toFixed(_);
24249
24257
  }
24250
24258
  function wu(M, _, f) {
24251
- const $ = f.filter((y) => y.fieldType === "DIMENSION");
24259
+ const $ = f.filter(
24260
+ (y) => y.fieldType === "DIMENSION"
24261
+ );
24252
24262
  return _.find((y) => M.isRollup !== y.isRollup ? !1 : $.every(
24253
24263
  (h) => M.value[h.id] === y.value[h.id]
24254
24264
  ));
@@ -24559,7 +24569,7 @@ const ps = "mf-reportreport-store", Le = $e(ps, () => {
24559
24569
  };
24560
24570
  });
24561
24571
  var xr = /* @__PURE__ */ ((M) => (M.generating = "GENERATING", M.completed = "COMPLETED", M.failed = "FAILED", M.canceled = "CANCELLED", M))(xr || {});
24562
- const Ms = "/assets/formatChartData.worker-BDvFT0pw.js", Pe = /* @__PURE__ */ new Map();
24572
+ const Ms = "/assets/formatChartData.worker-DkfLOO1x.js", Pe = /* @__PURE__ */ new Map();
24563
24573
  function Wt(M) {
24564
24574
  return new Worker(M, { type: "module" });
24565
24575
  }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as A, resolveComponent as S, createBlock as p, openBlock as y, withCtx as T, createCommentVNode as R, createElementVNode as M, toDisplayString as j, renderSlot as B, mergeModels as k, useModel as b, ref as C, watch as x, createElementBlock as U, unref as f, createVNode as O } from "vue";
2
- import { d as r, a as W, a0 as q, C as G } from "./app-BzpOue2V.js";
2
+ import { d as r, a as W, a0 as q, C as G } from "./app-ChVGzTXe.js";
3
3
  import { detectLocale as E } from "@feedmepos/mf-common";
4
4
  import { u as H } from "./vue-i18n-DVWuTfed.js";
5
5
  import { storeToRefs as K } from "pinia";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as p, resolveComponent as f, createElementBlock as s, openBlock as t, normalizeStyle as n, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as g, renderSlot as x } from "vue";
2
- import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-D4Z4I2ME.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-dx3zsU65.js";
3
3
  import { useBreakpoints as b } from "@feedmepos/ui-library";
4
4
  import { storeToRefs as C } from "pinia";
5
5
  import { u as q, a as w } from "./vue-i18n-DVWuTfed.js";