@feedmepos/mf-report 5.24.2-beta.0 → 5.24.3-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-Du2I5pkc.js → App-Dzeer__9.js} +4 -4
  2. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-DLOzQ_4p.js +380 -0
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-BxNe4Imp.js → Default.vue_vue_type_script_setup_true_lang-BOAXeqWf.js} +1 -1
  4. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-xpdb2Id4.js +4661 -0
  5. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-Bo0rDoIQ.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C7gr0NWs.js} +8299 -7427
  6. package/dist/{InsightView-XQqVF4K5.js → InsightView-Bd68THYO.js} +5 -5
  7. package/dist/{Integration-CHzPty6e.js → Integration-DHn_dXct.js} +22 -22
  8. package/dist/{Integrations-B9z4axiH.js → Integrations-DWN55pp9.js} +13 -12
  9. package/dist/{Layout-BKHzNlTV.js → Layout-BllH8uBy.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang--Yq7SlV0.js → MenuTab.vue_vue_type_script_setup_true_lang-D-FlY4Oz.js} +26 -27
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-B45yOf-r.js → NavigationTab.vue_vue_type_script_setup_true_lang-aocfb4uL.js} +6342 -6322
  12. package/dist/{OverviewView-BP6X5TwG.js → OverviewView-BxwON8if.js} +5 -5
  13. package/dist/{Report-BSC2CckY.js → Report-BOwmlQGQ.js} +4 -4
  14. package/dist/{ReportEditor-CD7kUHS-.js → ReportEditor-W1qI7G3B.js} +571 -573
  15. package/dist/{ReportView-Dgw-ngJe.js → ReportView-DAFN6S8c.js} +16 -17
  16. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Af_Z54a4.js +143 -0
  17. package/dist/{Setting-CzNvYYHE.js → Setting-BRZ-TxfM.js} +4 -4
  18. package/dist/{TileEditor-CaPhvKJt.js → TileEditor-Bpa-f6SA.js} +325 -323
  19. package/dist/{TransitionFade-BKjSVuIj.js → TransitionFade-BQNwYOp6.js} +18 -18
  20. package/dist/{app-BauK9tUb.js → app-DiLOz-1s.js} +2229 -2311
  21. package/dist/app.js +1 -1
  22. package/dist/assets/{formatChartData.worker-C3U_CcDO.js → formatChartData.worker-DaLXwMTs.js} +2 -2
  23. package/dist/assets/{processTableData.worker-D_oiIvNW.js → processTableData.worker-Be0ZD94L.js} +2 -2
  24. package/dist/style.css +1 -1
  25. package/dist/{useRestaurantPermission-GEh6OAuS.js → useRestaurantPermission-Cp46lfU5.js} +1 -1
  26. package/package.json +1 -1
  27. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-DiCLbdxO.js +0 -286
  28. package/dist/FilterSelector.vue_vue_type_script_setup_true_lang-9mGbqTLb.js +0 -5467
  29. package/dist/NoData.vue_vue_type_script_setup_true_lang-CDKHIlF2.js +0 -38
  30. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Df40itH5.js +0 -110
@@ -3,13 +3,13 @@ import { u as Pt, a as Pn } from "./vue-i18n-DVWuTfed.js";
3
3
  import { useCoreStore as Vn } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as Mn } from "pinia";
5
5
  import { useRoute as Ln } from "vue-router";
6
- import { W as F, b as De, c as Bn } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Bo0rDoIQ.js";
7
- import { p as $n, d as ht, j as rn } from "./app-BauK9tUb.js";
8
- import { _ as Vt, a as Wt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Df40itH5.js";
9
- import { R as Rn, I as Be, h as an, i as ln, g as Xn } from "./FilterSelector.vue_vue_type_script_setup_true_lang-9mGbqTLb.js";
10
- import { r as Yn } from "./i18n-CI_sQ5d_.js";
11
- import { useSnackbar as Wn } from "@feedmepos/ui-library";
12
- import { d as Un } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DiCLbdxO.js";
6
+ import { W as F, I as Be, f as rn, h as an, c as De, g as Bn, e as $n } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C7gr0NWs.js";
7
+ import { p as Rn, a as ln, d as Xn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DLOzQ_4p.js";
8
+ import { a as Vt, b as Wt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Af_Z54a4.js";
9
+ import { R as Yn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-xpdb2Id4.js";
10
+ import { d as ht } from "./app-DiLOz-1s.js";
11
+ import { r as Wn } from "./i18n-CI_sQ5d_.js";
12
+ import { useSnackbar as Un } from "@feedmepos/ui-library";
13
13
  const jn = {
14
14
  key: 0,
15
15
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
@@ -1792,7 +1792,7 @@ const Ro = {
1792
1792
  break;
1793
1793
  }
1794
1794
  return {
1795
- label: $n(t[0]),
1795
+ label: Rn(t[0]),
1796
1796
  icon: e,
1797
1797
  value: t[1]
1798
1798
  };
@@ -1857,7 +1857,7 @@ function jo(t) {
1857
1857
  let e, n, o, r;
1858
1858
  switch (t) {
1859
1859
  case F.Table:
1860
- e = [], n = !1, o = Rn.top;
1860
+ e = [], n = !1, o = Yn.top;
1861
1861
  break;
1862
1862
  case F.ClusteredStackBarChart:
1863
1863
  r = !0;
@@ -1988,7 +1988,7 @@ const Ho = {
1988
1988
  }
1989
1989
  function a(l, u) {
1990
1990
  var y, _;
1991
- const f = an(n.option), s = ln(n.option);
1991
+ const f = rn(n.option), s = an(n.option);
1992
1992
  ((y = n.config) == null ? void 0 : y.type) === Be.TextField && (f !== void 0 && u < f || s !== void 0 && u > s) && (o.value[l] = `Value must be between ${f} and ${s}`);
1993
1993
  const v = [...e.value];
1994
1994
  ((_ = n.config) == null ? void 0 : _.type) === Be.Timestamp ? v[l] = i({
@@ -2055,13 +2055,13 @@ const Ho = {
2055
2055
  );
2056
2056
  function Er(t) {
2057
2057
  return On.map((e) => ({
2058
- label: t(`report.section.filter.${rn(e)}`),
2058
+ label: t(`report.section.filter.${ln(e)}`),
2059
2059
  value: e
2060
2060
  }));
2061
2061
  }
2062
2062
  function Qo(t) {
2063
2063
  return Zo.map((e) => ({
2064
- label: t(`report.section.filter.${rn(e)}`),
2064
+ label: t(`report.section.filter.${ln(e)}`),
2065
2065
  value: e
2066
2066
  }));
2067
2067
  }
@@ -2082,14 +2082,14 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
2082
2082
  }),
2083
2083
  emits: ["update:modelValue"],
2084
2084
  setup(t) {
2085
- const { t: e, te: n } = Pt(), o = Ge(t, "modelValue"), r = t, i = Fe(() => e(`report.section.filter.${r.label}`)), a = Se(!1), c = Wn(), l = Fe(
2085
+ const { t: e, te: n } = Pt(), o = Ge(t, "modelValue"), r = t, i = Fe(() => e(`report.section.filter.${r.label}`)), a = Se(!1), c = Un(), l = Fe(
2086
2086
  () => o.value.map((m, p) => {
2087
2087
  const E = r.options.find(
2088
2088
  (B) => B.schemaName === m.schemaName && B.name === m.name
2089
2089
  ), I = (E == null ? void 0 : E.labels) || [m.schemaName, m.name];
2090
2090
  return {
2091
2091
  index: p,
2092
- label: I.map((B) => Yn(e, n, B, "other")).join(" "),
2092
+ label: I.map((B) => Wn(e, n, B, "other")).join(" "),
2093
2093
  value: m
2094
2094
  };
2095
2095
  })
@@ -2110,7 +2110,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
2110
2110
  var p;
2111
2111
  return (p = b.value.find((E) => E.option === m)) == null ? void 0 : p.value;
2112
2112
  }
2113
- const q = Un(
2113
+ const q = Xn(
2114
2114
  (m, p) => {
2115
2115
  const E = b.value.find((I) => I.option === m);
2116
2116
  E ? E.value = p : b.value.push({ option: m, value: p });
@@ -2172,7 +2172,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
2172
2172
  });
2173
2173
  }
2174
2174
  function L() {
2175
- _.value && s.value && (y.value = Xn({
2175
+ _.value && s.value && (y.value = Bn({
2176
2176
  operator: s.value.operator,
2177
2177
  dataType: _.value.type,
2178
2178
  dimensionOption: s.value.option,
@@ -2194,7 +2194,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
2194
2194
  const m = [...l.value.map((B) => B.value)];
2195
2195
  if (s.value) {
2196
2196
  v.value || (s.value.dataFormula = void 0);
2197
- const B = an((p = s.value) == null ? void 0 : p.option), z = ln((E = s.value) == null ? void 0 : E.option), pe = (I = s.value.values) == null ? void 0 : I.map(
2197
+ const B = rn((p = s.value) == null ? void 0 : p.option), z = an((E = s.value) == null ? void 0 : E.option), pe = (I = s.value.values) == null ? void 0 : I.map(
2198
2198
  ($, Le) => $ == null || $ === "" || !ye($, B, z) ? Le : null
2199
2199
  ).filter(($) => $ !== null);
2200
2200
  if (!s.value.values || pe.length > 0) {
@@ -2223,7 +2223,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
2223
2223
  return (m, p) => {
2224
2224
  const E = N("FmCheckbox"), I = N("FmTextarea"), B = N("FmSelect"), z = N("FmForm"), pe = N("FmIcon"), $ = N("FmButton"), Le = N("FmListItem"), $t = N("FmList"), Ze = N("FmField");
2225
2225
  return V(), ee("div", er, [
2226
- A(Bn, {
2226
+ A($n, {
2227
2227
  modelValue: a.value,
2228
2228
  "onUpdate:modelValue": p[6] || (p[6] = (_e) => a.value = _e),
2229
2229
  title: i.value,