@feedmepos/mf-report 5.19.25 → 5.19.26-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 (25) hide show
  1. package/dist/{App-1Jhmopro.js → App-DJL7jlvo.js} +31 -31
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-DsJ6dnJR.js → BaseDialog.vue_vue_type_script_setup_true_lang-VoYJPgLd.js} +6581 -6557
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-cfshXMB2.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js} +1 -1
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-D6aGDUeN.js → Default.vue_vue_type_script_setup_true_lang-DCAJ2qZA.js} +2 -2
  5. package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-0kJlz2dC.js → FilterSelector.vue_vue_type_script_setup_true_lang-e_LJW5vD.js} +53 -53
  6. package/dist/{InsightView-DVA_F05n.js → InsightView-8dkCo1zp.js} +5 -5
  7. package/dist/{Integration-CFnCxPWk.js → Integration-D5OB-goi.js} +5 -5
  8. package/dist/{Integrations-jn20KmcD.js → Integrations-DIXSWGS_.js} +3 -3
  9. package/dist/{Layout-BbLqCWXS.js → Layout-ZFCNKmmC.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-Dv2IyHpL.js → MenuTab.vue_vue_type_script_setup_true_lang-Bi13Q7oN.js} +5 -5
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-_UhFIXlm.js → NavigationTab.vue_vue_type_script_setup_true_lang-BmPyzm7X.js} +4 -4
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-BUoYdn5S.js → NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js} +1 -1
  13. package/dist/{OverviewView-LFNHS3LM.js → OverviewView-2ACbIsxD.js} +5 -5
  14. package/dist/{Report-UsRU052H.js → Report-DpxoMlfF.js} +4 -4
  15. package/dist/{ReportEditor-BpvROtTK.js → ReportEditor-56ziYhc1.js} +7 -7
  16. package/dist/{ReportView-DRARHqBY.js → ReportView-B8nGqnCa.js} +7 -7
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-B2oCOTUH.js → SelectComponent.vue_vue_type_script_setup_true_lang-BcQEW5MO.js} +1 -1
  18. package/dist/{Setting-DmNhG_XR.js → Setting-DXVsDqOF.js} +4 -4
  19. package/dist/{TileEditor-BDdAJ-Tw.js → TileEditor-DM2zsmHb.js} +7 -7
  20. package/dist/{TransitionFade-CN89fQQ_.js → TransitionFade-B1js8Twg.js} +5 -5
  21. package/dist/app.js +11 -11
  22. package/dist/assets/{formatChartData.worker-DmEF8HW6.js → formatChartData.worker-De1oPBGR.js} +6 -6
  23. package/dist/assets/{processTableData.worker-BsdnWDQK.js → processTableData.worker-CBFayI_I.js} +6 -6
  24. package/dist/{vue-i18n-BQN8HgvD.js → vue-i18n-BJW_sJot.js} +1 -1
  25. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as V, resolveComponent as S, createBlock as p, openBlock as y, withCtx as I, createCommentVNode as Y, createElementVNode as M, toDisplayString as j, renderSlot as A, mergeModels as $, useModel as R, ref as O, watch as k, createElementBlock as U, createVNode as b, unref as D } from "vue";
2
- import { d as r, m as B, t as W, u as q, b as G, U as H, C as K } from "./vue-i18n-BQN8HgvD.js";
2
+ import { d as r, m as B, t as W, u as q, b as G, U as H, C as K } from "./vue-i18n-BJW_sJot.js";
3
3
  import { detectLocale as z } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as L } from "pinia";
5
5
  var g = /* @__PURE__ */ ((e) => (e.Year = "YEAR", e.Month = "MONTH", e.Week = "WEEK", e.Day = "DAY", e))(g || {});
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as u, computed as f, resolveComponent as p, 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-_UhFIXlm.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BmPyzm7X.js";
3
3
  import { useBreakpoints as b } from "@feedmepos/ui-library";
4
4
  import { storeToRefs as C } from "pinia";
5
- import { u as q, f as w } from "./vue-i18n-BQN8HgvD.js";
5
+ import { u as q, f as w } from "./vue-i18n-BJW_sJot.js";
6
6
  import { useRoute as B } from "vue-router";
7
7
  const $ = {
8
8
  key: 1,
@@ -1,12 +1,12 @@
1
1
  import { computed as C, defineComponent as Ee, mergeModels as Ue, useModel as Oe, ref as p, onMounted as Ke, nextTick as ke, watch as fe, resolveComponent as q, createElementBlock as ee, openBlock as E, Fragment as Ce, renderSlot as Ye, createVNode as O, normalizeStyle as He, unref as s, createElementVNode as U, toDisplayString as ze, withCtx as ae, createBlock as ie, createCommentVNode as Ae, normalizeClass as Je, h as xt, renderList as Ct, toRaw as va, markRaw as ga, createTextVNode as Rt, onUnmounted as ya, resolveDynamicComponent as ba, withDirectives as wa, vShow as Sa, withModifiers as Tt, isRef as xa } from "vue";
2
- import { W as M, e as dt, f as Ca, S as st, v as ut, g as ka, h as Ft, i as Kt, q as Qt, R as tt, j as _a, D as Pe, c as he, C as Fe, a as Ta, b as Fa, _ as Da } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DsJ6dnJR.js";
3
- import { u as mt, b as ct, a as It, d as at, i as La } from "./vue-i18n-BQN8HgvD.js";
4
- import { d as Yt, _ as Ra, a as Va, b as za, c as Aa } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-cfshXMB2.js";
5
- import { storeToRefs as $e, defineStore as Zt } from "pinia";
2
+ import { W as M, e as dt, f as Ca, S as st, v as ut, g as ka, h as Ft, i as Kt, q as Zt, R as tt, j as _a, D as Pe, c as he, C as Fe, a as Ta, b as Fa, _ as Da } from "./BaseDialog.vue_vue_type_script_setup_true_lang-VoYJPgLd.js";
3
+ import { u as mt, b as ct, a as It, d as at, i as La } from "./vue-i18n-BJW_sJot.js";
4
+ import { d as Yt, _ as Ra, a as Va, b as za, c as Aa } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js";
5
+ import { storeToRefs as $e, defineStore as Qt } from "pinia";
6
6
  import { useBreakpoints as ea, useSnackbar as Wt, components as $a } from "@feedmepos/ui-library";
7
- import { a as Ea } from "./SelectComponent.vue_vue_type_script_setup_true_lang-B2oCOTUH.js";
7
+ import { a as Ea } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BcQEW5MO.js";
8
8
  import { r as Ge } from "./i18n-DQxDgiLO.js";
9
- import { _ as Vt } from "./NoData.vue_vue_type_script_setup_true_lang-BUoYdn5S.js";
9
+ import { _ as Vt } from "./NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js";
10
10
  import "@feedmepos/mf-common";
11
11
  var zt = /* @__PURE__ */ ((e) => (e.line = "LINE", e.bar = "BAR", e))(zt || {}), je = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(je || {}), At = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(At || {}), $t = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))($t || {}), Et = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(Et || {}), Mt = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(Mt || {}), Nt = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(Nt || {});
12
12
  M.Circular, M.Table, M.BarChart, M.LineChart, M.StackBarChart, M.StackLineChart, M.Scorecard, M.Spacer;
@@ -543,7 +543,7 @@ function Ga(e, l) {
543
543
  const i = q("FmMenuDivider");
544
544
  return E(), ie(i);
545
545
  }
546
- const Xa = /* @__PURE__ */ Ea(ja, [["render", Ga]]), Ja = "mf-reporttable-dimension", Gt = Zt(Ja, () => {
546
+ const Xa = /* @__PURE__ */ Ea(ja, [["render", Ga]]), Ja = "mf-reporttable-dimension", Gt = Qt(Ja, () => {
547
547
  const e = p(0), l = p([]), i = p(!1), a = (h, n) => {
548
548
  e.value = h, x(h, n);
549
549
  }, w = (h, n, k, F) => {
@@ -683,7 +683,7 @@ function Lt(e) {
683
683
  const [a, w] = l.split("."), x = new Intl.NumberFormat("en-US").format(Number(a));
684
684
  return w !== void 0 ? `${x}.${w}` : x;
685
685
  }
686
- const Ka = "/assets/processTableData.worker-BsdnWDQK.js", Qa = { class: "my-4" }, Za = {
686
+ const Ka = "/assets/processTableData.worker-CBFayI_I.js", Za = { class: "my-4" }, Qa = {
687
687
  class: "border-b border-fm-color-neutral-gray-100 hover:bg-fm-color-opacity-sm",
688
688
  style: { backgroundColor: "#f9f9f9" }
689
689
  }, el = { class: "font-bold" }, tl = { class: "text-fm-color-neutral-gray-300" }, al = /* @__PURE__ */ Ee({
@@ -897,7 +897,7 @@ const Ka = "/assets/processTableData.worker-BsdnWDQK.js", Qa = { class: "my-4" }
897
897
  ), (b, $) => {
898
898
  const j = q("FmTable");
899
899
  return E(), ee(Ce, null, [
900
- U("div", Qa, [
900
+ U("div", Za, [
901
901
  Ye(b.$slots, "menu")
902
902
  ]),
903
903
  O(j, {
@@ -913,7 +913,7 @@ const Ka = "/assets/processTableData.worker-BsdnWDQK.js", Qa = { class: "my-4" }
913
913
  }, {
914
914
  "pin-top": ae(() => [
915
915
  U("tbody", null, [
916
- U("tr", Za, [
916
+ U("tr", Qa, [
917
917
  (E(!0), ee(Ce, null, Ct(A.value, (W, H) => (E(), ee("td", {
918
918
  key: `${s(ut)()}_${H}`,
919
919
  class: "h-[48px] text-fm-color-typo-primary px-16"
@@ -1303,14 +1303,14 @@ const il = /* @__PURE__ */ Ee({
1303
1303
  const l = p(!0), i = Oe(e, "modelValue"), a = i.value.widget.config, { t: w, te: x } = mt(), R = e, L = p(null), z = p(a.rollup), d = p(ut()), m = p(a.drillDimension), u = C(() => {
1304
1304
  if (xe.value.length > 0) {
1305
1305
  const r = xe.value.findIndex(
1306
- (Q) => Q.value === m.value
1306
+ (Z) => Z.value === m.value
1307
1307
  );
1308
1308
  return r >= 0 ? r : 0;
1309
1309
  } else
1310
1310
  return -1;
1311
1311
  }), c = C(() => u.value !== 0), S = C(
1312
1312
  () => u.value != xe.value.length - 1
1313
- ), y = p(a.showTitle ?? !0), T = p(a.titleFontSize ?? 14), v = p(a.titleBold ?? !1), I = p(a.titleItalic ?? !1), h = p(a.titleUnderline ?? !1), n = p(a.chartWidth ?? void 0), k = p(a.chartHeight ?? void 0), F = p(a.showLabel ?? !1), A = p(a.labelAlign ?? $t.center), B = p(a.labelAnchor ?? At.center), G = p(a.labelRotation ?? 0), X = p(a.labelOffset ?? 0), le = p(a.labelFontSize ?? 12), ve = C(() => a.showSearchBar), we = p(a.showX ?? !0), De = p(a.xPosition ?? Et.bottom), Le = p(a.showXGrid ?? !1), _e = p(a.showXTick ?? !0), b = p(a.xTickFontSize ?? 12), $ = p(a.showXTitle ?? !1), j = p(a.xTitle ?? ""), W = p(a.xTitleFontSize ?? 12), H = p(a.showY ?? !0), N = p(a.yPosition ?? Mt.left), ue = p(a.showYGrid ?? !1), Te = p(a.showYTick ?? !0), ge = p(a.yTickFontSize ?? 12), Se = p(a.showYTitle ?? !1), ye = p(a.yTitle ?? ""), qe = p(a.yTitleFontSize ?? 12), Re = p(a.showLegend ?? void 0), Ve = p(a.legendPosition ?? Nt.top), t = p(a.usePointStyle ?? !0), f = p(a.legendMaxHeight), g = p(a.legendMaxWidth), _ = p(a.rowHeight ?? 0), D = p(a.colWidths ?? []), Z = p(!1), te = p(""), { breakpoints: se, getBreakpointsBoundary: Y } = ea(), V = p(), o = C(
1313
+ ), y = p(a.showTitle ?? !0), T = p(a.titleFontSize ?? 14), v = p(a.titleBold ?? !1), I = p(a.titleItalic ?? !1), h = p(a.titleUnderline ?? !1), n = p(a.chartWidth ?? void 0), k = p(a.chartHeight ?? void 0), F = p(a.showLabel ?? !1), A = p(a.labelAlign ?? $t.center), B = p(a.labelAnchor ?? At.center), G = p(a.labelRotation ?? 0), X = p(a.labelOffset ?? 0), le = p(a.labelFontSize ?? 12), ve = C(() => a.showSearchBar), we = p(a.showX ?? !0), De = p(a.xPosition ?? Et.bottom), Le = p(a.showXGrid ?? !1), _e = p(a.showXTick ?? !0), b = p(a.xTickFontSize ?? 12), $ = p(a.showXTitle ?? !1), j = p(a.xTitle ?? ""), W = p(a.xTitleFontSize ?? 12), H = p(a.showY ?? !0), N = p(a.yPosition ?? Mt.left), ue = p(a.showYGrid ?? !1), Te = p(a.showYTick ?? !0), ge = p(a.yTickFontSize ?? 12), Se = p(a.showYTitle ?? !1), ye = p(a.yTitle ?? ""), qe = p(a.yTitleFontSize ?? 12), Re = p(a.showLegend ?? void 0), Ve = p(a.legendPosition ?? Nt.top), t = p(a.usePointStyle ?? !0), f = p(a.legendMaxHeight), g = p(a.legendMaxWidth), _ = p(a.rowHeight ?? 0), D = p(a.colWidths ?? []), Q = p(!1), te = p(""), { breakpoints: se, getBreakpointsBoundary: Y } = ea(), V = p(), o = C(
1314
1314
  () => R.customScreenWidth === void 0 ? window.innerWidth : R.customScreenWidth
1315
1315
  ), me = C(
1316
1316
  () => (o == null ? void 0 : o.value) > Y("xs")[1] && (o == null ? void 0 : o.value) <= Y("sm")[1]
@@ -1355,7 +1355,7 @@ const il = /* @__PURE__ */ Ee({
1355
1355
  timeRange: nt,
1356
1356
  globalFilters: ht,
1357
1357
  isGlobalFiltersLoading: rt
1358
- } = $e(ct()), { businessId: ft } = $e(It()), { businessLoadedId: vt, businessDataVersion: Qe } = $e(ct());
1358
+ } = $e(ct()), { businessId: ft } = $e(It()), { businessLoadedId: vt, businessDataVersion: Ze } = $e(ct());
1359
1359
  C(() => vt.value === ft.value && Ne.value.length > 0 && !rt.value);
1360
1360
  const gt = p(!0), oe = C(() => {
1361
1361
  const r = JSON.parse(JSON.stringify(i.value.widget));
@@ -1434,13 +1434,13 @@ const il = /* @__PURE__ */ Ee({
1434
1434
  }), re = C(() => {
1435
1435
  const { config: r } = i.value.widget;
1436
1436
  if (r.rollup != null) {
1437
- const Q = [...r.dimensions].filter((Ie) => !Ie.hide);
1438
- return Q.sort(
1437
+ const Z = [...r.dimensions].filter((Ie) => !Ie.hide);
1438
+ return Z.sort(
1439
1439
  (Ie, it) => (r.rowIds || []).indexOf(Dt(Ie)) - (r.rowIds || []).indexOf(Dt(it))
1440
1440
  ), [
1441
1441
  { label: Ge(w, x, "None", "other"), value: "none" },
1442
1442
  { label: Ge(w, x, "Grand Total", "other"), value: 0 },
1443
- ...[...Q].slice(0, Q.length - 1).map((Ie, it) => ({
1443
+ ...[...Z].slice(0, Z.length - 1).map((Ie, it) => ({
1444
1444
  label: Ge(w, x, Ie.label, "other"),
1445
1445
  value: it + 1
1446
1446
  }))
@@ -1449,14 +1449,14 @@ const il = /* @__PURE__ */ Ee({
1449
1449
  return [];
1450
1450
  }), xe = C(() => {
1451
1451
  const { config: r } = oe.value;
1452
- return r.isDrillable ? r.dimensions.map((Q) => ({
1453
- label: Ge(w, x, Q.label, "other"),
1454
- value: Dt(Q)
1452
+ return r.isDrillable ? r.dimensions.map((Z) => ({
1453
+ label: Ge(w, x, Z.label, "other"),
1454
+ value: Dt(Z)
1455
1455
  })) : [];
1456
1456
  }), wt = C(() => {
1457
1457
  const r = i.value.id;
1458
1458
  return (ht.value || []).filter(
1459
- (Q) => Array.isArray(Q.tileIds) && Q.tileIds.includes(r)
1459
+ (Z) => Array.isArray(Z.tileIds) && Z.tileIds.includes(r)
1460
1460
  );
1461
1461
  });
1462
1462
  fe(
@@ -1475,7 +1475,7 @@ const il = /* @__PURE__ */ Ee({
1475
1475
  () => kt.value,
1476
1476
  () => Ne.value,
1477
1477
  () => wt.value,
1478
- () => Qe.value
1478
+ () => Ze.value
1479
1479
  ],
1480
1480
  () => {
1481
1481
  Pt();
@@ -1493,7 +1493,7 @@ const il = /* @__PURE__ */ Ee({
1493
1493
  se.value.sm || se.value.md || se.value.xs ? (console.log("Ignoring resize event due to keyboard"), removeEventListener("change", J)) : removeEventListener("resize", J);
1494
1494
  });
1495
1495
  const St = Wt();
1496
- let Ze;
1496
+ let Qe;
1497
1497
  async function Pt() {
1498
1498
  if (oe.value.config.schemaNames.length <= 0 && !(oe.value.config.dimensions.length <= 0 || oe.value.config.metrics.length <= 0)) {
1499
1499
  St.open({
@@ -1503,9 +1503,9 @@ const il = /* @__PURE__ */ Ee({
1503
1503
  return;
1504
1504
  }
1505
1505
  try {
1506
- l.value = !0, Ze && Ze.abort(), Ze = new AbortController();
1507
- const r = Ze.signal, Q = Qe.value, Ie = await Yt(Qt, 500)(oe.value, r, i.value.id);
1508
- Qe.value === Q && (de.value = Ie, d.value = ut()), l.value = !1;
1506
+ l.value = !0, Qe && Qe.abort(), Qe = new AbortController();
1507
+ const r = Qe.signal, Z = Ze.value, Ie = await Yt(Zt, 500)(oe.value, r, i.value.id);
1508
+ Ze.value === Z && (de.value = Ie, d.value = ut()), l.value = !1;
1509
1509
  } catch (r) {
1510
1510
  r.code !== "ERR_CANCELED" && (de.value = null, St.open({ message: `Invalid chart ${oe.value.type}`, type: "error" }), console.log(r), l.value = !1);
1511
1511
  }
@@ -1540,10 +1540,10 @@ const il = /* @__PURE__ */ Ee({
1540
1540
  timeRange: nt.value,
1541
1541
  dateRange: K.value,
1542
1542
  locationIds: Ne.value
1543
- }) : r === tt.PDF && (Bt.value = r, Ht.value = R.index, Z.value = !0);
1543
+ }) : r === tt.PDF && (Bt.value = r, Ht.value = R.index, Q.value = !0);
1544
1544
  }
1545
1545
  })), ra = oe.value.type === M.Spacer ? "flat" : "outlined", ia = oe.value.type === M.Spacer ? "p-0" : "p-16";
1546
- return (r, Q) => {
1546
+ return (r, Z) => {
1547
1547
  const Ie = q("FmTooltip"), it = q("FmSearch"), ua = q("FmCheckbox"), _t = q("FmButton"), ca = q("FmSelect"), da = q("FmMenuItem"), ma = q("FmMenu"), pa = q("FmForm"), ha = q("FmCircularProgress"), fa = q("FmCard");
1548
1548
  return E(), ie(fa, {
1549
1549
  ref_key: "tileCard",
@@ -1553,8 +1553,8 @@ const il = /* @__PURE__ */ Ee({
1553
1553
  }, {
1554
1554
  default: ae(() => [
1555
1555
  O(dl, {
1556
- modelValue: Z.value,
1557
- "onUpdate:modelValue": Q[0] || (Q[0] = (et) => Z.value = et),
1556
+ modelValue: Q.value,
1557
+ "onUpdate:modelValue": Z[0] || (Z[0] = (et) => Q.value = et),
1558
1558
  "report-type": Bt.value,
1559
1559
  index: Ht.value
1560
1560
  }, null, 8, ["modelValue", "report-type", "index"]),
@@ -1565,7 +1565,7 @@ const il = /* @__PURE__ */ Ee({
1565
1565
  (E(), ie(ba(Me.value), {
1566
1566
  key: d.value,
1567
1567
  modelValue: P.value,
1568
- "onUpdate:modelValue": Q[4] || (Q[4] = (et) => P.value = et),
1568
+ "onUpdate:modelValue": Z[4] || (Z[4] = (et) => P.value = et),
1569
1569
  "tile-index": R.index
1570
1570
  }, {
1571
1571
  menu: ae(() => [
@@ -1600,12 +1600,12 @@ const il = /* @__PURE__ */ Ee({
1600
1600
  (et = ne.value) != null && et.showSearchBar ? (E(), ie(it, {
1601
1601
  key: 0,
1602
1602
  modelValue: te.value,
1603
- "onUpdate:modelValue": Q[1] || (Q[1] = (We) => te.value = We),
1603
+ "onUpdate:modelValue": Z[1] || (Z[1] = (We) => te.value = We),
1604
1604
  class: "grow"
1605
1605
  }, null, 8, ["modelValue"])) : (E(), ee("div", ml)),
1606
1606
  wa(O(ua, {
1607
1607
  modelValue: F.value,
1608
- "onUpdate:modelValue": Q[2] || (Q[2] = (We) => F.value = We),
1608
+ "onUpdate:modelValue": Z[2] || (Z[2] = (We) => F.value = We),
1609
1609
  label: "Label",
1610
1610
  value: !1
1611
1611
  }, null, 8, ["modelValue"]), [
@@ -1628,7 +1628,7 @@ const il = /* @__PURE__ */ Ee({
1628
1628
  (Ut = ne.value) != null && Ut.showRollup && re.value.length > 0 ? (E(), ie(ca, {
1629
1629
  key: 3,
1630
1630
  modelValue: z.value,
1631
- "onUpdate:modelValue": Q[3] || (Q[3] = (We) => z.value = We),
1631
+ "onUpdate:modelValue": Z[3] || (Z[3] = (We) => z.value = We),
1632
1632
  class: "w-[150px]",
1633
1633
  items: re.value
1634
1634
  }, null, 8, ["modelValue", "items"])) : Ae("", !0),
@@ -1852,7 +1852,7 @@ const fl = "mf-reportglobalFilter";
1852
1852
  function lt(e) {
1853
1853
  return `${e.schemaName}:${e.name}:${e.operator}`;
1854
1854
  }
1855
- const Jt = Zt(fl, () => {
1855
+ const Jt = Qt(fl, () => {
1856
1856
  const e = p({}), l = p(!1), i = () => ({
1857
1857
  search: "",
1858
1858
  selectedValues: [],
@@ -1933,8 +1933,8 @@ const Jt = Zt(fl, () => {
1933
1933
  let X = [];
1934
1934
  function le(t) {
1935
1935
  const f = (t.filters || []).map((D) => {
1936
- const Z = Array.isArray(D.values) ? D.values.join(",") : "";
1937
- return [D.schemaName, D.name, D.operator, D.option, D.dataFormula, Z].map((te) => te == null ? "" : String(te)).join(":");
1936
+ const Q = Array.isArray(D.values) ? D.values.join(",") : "";
1937
+ return [D.schemaName, D.name, D.operator, D.option, D.dataFormula, Q].map((te) => te == null ? "" : String(te)).join(":");
1938
1938
  }).join("|"), g = Array.isArray(t.tileIds) ? t.tileIds.join(",") : "";
1939
1939
  return `${[
1940
1940
  t.schemaName,
@@ -1988,7 +1988,7 @@ const Jt = Zt(fl, () => {
1988
1988
  }
1989
1989
  function De(t) {
1990
1990
  var te, se;
1991
- const f = [], g = x.value ? [x.value] : ((te = w.value) == null ? void 0 : te.tiles) ?? ((se = a.value) == null ? void 0 : se.tiles) ?? [], { name: _ = "", schemaName: D = "" } = t, Z = g.filter((Y) => {
1991
+ const f = [], g = x.value ? [x.value] : ((te = w.value) == null ? void 0 : te.tiles) ?? ((se = a.value) == null ? void 0 : se.tiles) ?? [], { name: _ = "", schemaName: D = "" } = t, Q = g.filter((Y) => {
1992
1992
  var be;
1993
1993
  if (t.tileIds && t.tileIds.length > 0 && !t.tileIds.includes(Y.id))
1994
1994
  return !1;
@@ -2001,8 +2001,8 @@ const Jt = Zt(fl, () => {
2001
2001
  ), pe = (V.schemaNames ?? []).some((ce) => ce === D);
2002
2002
  return o || me || pe;
2003
2003
  });
2004
- return Z.length === 0 ? [] : (Z.forEach((Y) => {
2005
- var nt, ht, rt, ft, vt, Qe, gt, oe, yt, bt;
2004
+ return Q.length === 0 ? [] : (Q.forEach((Y) => {
2005
+ var nt, ht, rt, ft, vt, Ze, gt, oe, yt, bt;
2006
2006
  const V = (nt = Y == null ? void 0 : Y.widget) == null ? void 0 : nt.config;
2007
2007
  if (!V) return;
2008
2008
  const o = {
@@ -2024,11 +2024,11 @@ const Jt = Zt(fl, () => {
2024
2024
  dimensionOption: null
2025
2025
  }, pe = ((V == null ? void 0 : V.dimensions) ?? []).some((P) => P.schemaName === D) || ((V == null ? void 0 : V.schemaNames) ?? []).some((P) => P === D), be = ((V == null ? void 0 : V.joinDatasources) ?? []).find(
2026
2026
  (P) => (P.schemaNames ?? []).some((re) => re === D) || (P.dimensions ?? []).some((re) => re.schemaName === D)
2027
- ), ce = pe ? [o] : [], ne = ((gt = (Qe = Y == null ? void 0 : Y.widget) == null ? void 0 : Qe.config) == null ? void 0 : gt.filters) ?? [], J = /* @__PURE__ */ new Map(), Me = (P, re) => {
2027
+ ), ce = pe ? [o] : [], ne = ((gt = (Ze = Y == null ? void 0 : Y.widget) == null ? void 0 : Ze.config) == null ? void 0 : gt.filters) ?? [], J = /* @__PURE__ */ new Map(), Me = (P, re) => {
2028
2028
  const xe = `${re.schemaName}:${re.name}:${re.operator}`;
2029
2029
  if (P.has(xe)) {
2030
- const wt = P.get(xe), St = re.operator === Fe.Like, Ze = re.operator === Fe.NotLike;
2031
- St || Ze ? wt.values = Array.from(/* @__PURE__ */ new Set([...wt.values ?? [], ...re.values ?? []])) : P.set(xe, { ...re });
2030
+ const wt = P.get(xe), St = re.operator === Fe.Like, Qe = re.operator === Fe.NotLike;
2031
+ St || Qe ? wt.values = Array.from(/* @__PURE__ */ new Set([...wt.values ?? [], ...re.values ?? []])) : P.set(xe, { ...re });
2032
2032
  } else
2033
2033
  P.set(xe, { ...re });
2034
2034
  };
@@ -2109,17 +2109,17 @@ const Jt = Zt(fl, () => {
2109
2109
  }
2110
2110
  const _ = [], D = ve.signal;
2111
2111
  for (const V of g) {
2112
- const o = await Qt(V, D);
2112
+ const o = await Zt(V, D);
2113
2113
  (o == null ? void 0 : o.type) === M.Table && _.push(...o.rows.map((me) => {
2114
2114
  var pe;
2115
2115
  return ((pe = me.cells) == null ? void 0 : pe[0]) ?? " ";
2116
2116
  }));
2117
2117
  }
2118
- const Z = Array.from(new Set(_)), te = (f = I(t.filter).selectedValues) != null && f.length ? I(t.filter).selectedValues : t.selectedValues || [], se = t.keepSelection ? Array.from(/* @__PURE__ */ new Set([...Z, ...te])) : Z, Y = new Set(_);
2118
+ const Q = Array.from(new Set(_)), te = (f = I(t.filter).selectedValues) != null && f.length ? I(t.filter).selectedValues : t.selectedValues || [], se = t.keepSelection ? Array.from(/* @__PURE__ */ new Set([...Q, ...te])) : Q, Y = new Set(_);
2119
2119
  t.options = se.map((V) => ({
2120
2120
  label: String(V),
2121
2121
  value: V,
2122
- available: t.keepSelection ? Y.has(V) : new Set(Z).has(V)
2122
+ available: t.keepSelection ? Y.has(V) : new Set(Q).has(V)
2123
2123
  })), G(t);
2124
2124
  } catch (g) {
2125
2125
  if ((g == null ? void 0 : g.code) === "ERR_CANCELED" || (g == null ? void 0 : g.name) === "CanceledError")
@@ -2162,7 +2162,7 @@ const Jt = Zt(fl, () => {
2162
2162
  function H(t, f) {
2163
2163
  var _;
2164
2164
  if ((_ = t.selectedValues) == null ? void 0 : _.includes(f)) {
2165
- let D = (t.selectedValues || []).filter((Z) => Z !== f && Z !== "(EMPTY)");
2165
+ let D = (t.selectedValues || []).filter((Q) => Q !== f && Q !== "(EMPTY)");
2166
2166
  t.selectedValues = D.length > 0 ? D : ["(EMPTY)"];
2167
2167
  } else
2168
2168
  t.selectedValues = [...(t.selectedValues || []).filter((D) => D !== "(EMPTY)"), f];
@@ -2187,10 +2187,10 @@ const Jt = Zt(fl, () => {
2187
2187
  return `${g} (${_})`;
2188
2188
  }
2189
2189
  function ge(t) {
2190
- var Z, te, se, Y, V;
2190
+ var Q, te, se, Y, V;
2191
2191
  const f = La(t.filter);
2192
2192
  if (t.type === Pe.Timestamp) {
2193
- const o = ((Z = t.filter.values) == null ? void 0 : Z.length) === 2;
2193
+ const o = ((Q = t.filter.values) == null ? void 0 : Q.length) === 2;
2194
2194
  if (t.filter.option === he.DateTime)
2195
2195
  return { preview: o ? `${f} is between ${za({
2196
2196
  startDate: ((te = t.filter.values) == null ? void 0 : te[0]) || null,
@@ -2236,18 +2236,18 @@ const Jt = Zt(fl, () => {
2236
2236
  return t ? t.length > f ? `${t.slice(0, f)}…` : t : "";
2237
2237
  }
2238
2238
  function Ve(t, f) {
2239
- var _, D, Z, te;
2239
+ var _, D, Q, te;
2240
2240
  if (f === null)
2241
2241
  t.values = [];
2242
2242
  else {
2243
- const se = at().set("hour", Number((_ = f.start) == null ? void 0 : _.hour)).set("minute", Number((D = f.start) == null ? void 0 : D.minute)).toISOString(), Y = at().set("hour", Number((Z = f.end) == null ? void 0 : Z.hour)).set("minute", Number((te = f.end) == null ? void 0 : te.minute)).toISOString();
2243
+ const se = at().set("hour", Number((_ = f.start) == null ? void 0 : _.hour)).set("minute", Number((D = f.start) == null ? void 0 : D.minute)).toISOString(), Y = at().set("hour", Number((Q = f.end) == null ? void 0 : Q.hour)).set("minute", Number((te = f.end) == null ? void 0 : te.minute)).toISOString();
2244
2244
  t.values = [se, Y];
2245
2245
  }
2246
2246
  const g = B.value.find((se) => se.filter === t);
2247
2247
  g && (g.keepSelection = f !== null, y(g.filter, g.keepSelection));
2248
2248
  }
2249
2249
  return (t, f) => {
2250
- const g = q("FmCircularProgress"), _ = q("FmTextField"), D = q("FmMenuItem"), Z = q("FmTooltip"), te = q("FmIcon"), se = q("FmMenuDivider"), Y = q("FmButton"), V = q("FmMenu");
2250
+ const g = q("FmCircularProgress"), _ = q("FmTextField"), D = q("FmMenuItem"), Q = q("FmTooltip"), te = q("FmIcon"), se = q("FmMenuDivider"), Y = q("FmButton"), V = q("FmMenu");
2251
2251
  return E(), ee("div", vl, [
2252
2252
  (E(!0), ee(Ce, null, Ct(B.value, (o, me) => {
2253
2253
  var pe, be, ce, ne, J, Me;
@@ -2323,7 +2323,7 @@ const Jt = Zt(fl, () => {
2323
2323
  (E(!0), ee(Ce, null, Ct(b.value[me], (K) => (E(), ee(Ce, {
2324
2324
  key: K.value
2325
2325
  }, [
2326
- K.label && K.label.length > 110 ? (E(), ie(Z, {
2326
+ K.label && K.label.length > 110 ? (E(), ie(Q, {
2327
2327
  key: 0,
2328
2328
  placement: "right",
2329
2329
  "hide-arrow": !0,
@@ -2397,7 +2397,7 @@ const Jt = Zt(fl, () => {
2397
2397
  }, null, 8, ["name", "class"]),
2398
2398
  U("span", Ll, ze(s(l)("report.section.filter.keepSelection")), 1)
2399
2399
  ], 8, Dl),
2400
- O(Z, {
2400
+ O(Q, {
2401
2401
  placement: "top",
2402
2402
  "z-index": 2e3
2403
2403
  }, {
@@ -2,13 +2,13 @@ var Zo = Object.defineProperty;
2
2
  var Jo = (i, t, e) => t in i ? Zo(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var k = (i, t, e) => Jo(i, typeof t != "symbol" ? t + "" : t, e);
4
4
  import { ref as $t, defineComponent as oe, watch as ri, computed as _t, onMounted as Qo, createElementBlock as U, openBlock as I, createElementVNode as R, renderSlot as Un, toDisplayString as lt, resolveDirective as Xn, createCommentVNode as St, Fragment as Ii, renderList as zi, createBlock as Ht, withDirectives as Ge, resolveDynamicComponent as es, unref as G, withCtx as Yt, createVNode as et, normalizeClass as Ze, resolveComponent as Me, useModel as ta, createTextVNode as ea, isRef as ki, nextTick as ia } from "vue";
5
- import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-D6aGDUeN.js";
6
- import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-cfshXMB2.js";
7
- import { d as Bi, a as Kn, q as qn, F as Gn, u as Zn, h as ys, b as oa } from "./vue-i18n-BQN8HgvD.js";
5
+ import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-DCAJ2qZA.js";
6
+ import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js";
7
+ import { d as Bi, a as Kn, q as qn, F as Gn, u as Zn, h as ys, b as oa } from "./vue-i18n-BJW_sJot.js";
8
8
  import { storeToRefs as Jn } from "pinia";
9
9
  import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
10
- import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-BUoYdn5S.js";
11
- import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-_UhFIXlm.js";
10
+ import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js";
11
+ import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BmPyzm7X.js";
12
12
  import { useCoreStore as ha } from "@feedmepos/mf-common";
13
13
  function da({ start: i, end: t }) {
14
14
  return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as J, mergeModels as Se, useModel as te, computed as q, resolveComponent as A, createElementBlock as I, openBlock as w, createElementVNode as t, createCommentVNode as L, normalizeClass as Ue, Fragment as ke, createBlock as j, withCtx as xe, toDisplayString as C, renderList as De, createVNode as l, unref as d, h as k, normalizeStyle as tt, createTextVNode as ot, ref as z, onUnmounted as Re, watch as Ce, isRef as Te, resolveDynamicComponent as Fe, mergeProps as Qe, onMounted as Ge } from "vue";
2
2
  import { useRouter as be, useRoute as at } from "vue-router";
3
- import { u as oe, I as he, d as Ve, x as lt, A as nt, e as Ae, f as Pe, b as we, B as ve, E as st, o as rt, z as Me, G as je, H as Ke, J as Le, K as ze, L as it, M as dt, N as mt, O as qe, c as Ze, P as pt, Q as ut, R as ct, S as ft, T as gt } from "./vue-i18n-BQN8HgvD.js";
3
+ import { u as oe, I as he, d as Ve, x as lt, A as nt, e as Ae, f as Pe, b as we, B as ve, E as st, o as rt, z as Me, G as je, H as Ke, J as Le, K as ze, L as it, M as dt, N as mt, O as qe, c as Ze, P as pt, Q as ut, R as ct, S as ft, T as gt } from "./vue-i18n-BJW_sJot.js";
4
4
  import { u as Oe } from "./message-dialog-UoMWOnil.js";
5
5
  import { useSnackbar as _e } from "@feedmepos/ui-library";
6
6
  import { storeToRefs as Ee } from "pinia";
7
- import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-cfshXMB2.js";
7
+ import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js";
8
8
  const vt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, yt = { class: "w-[100%]" }, xt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, bt = { class: "w-[100%] flex flex-row gap-[4px]" }, wt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, _t = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, ht = {
9
9
  key: 0,
10
10
  class: "w-[24px] flex items-center"
@@ -156,7 +156,7 @@ const vt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
156
156
  }
157
157
  }), kt = { class: "flex flex-col" }, Ct = { class: "flex flex-row items-center fm-typo-en-title-sm-800 h-[36px]" }, $t = { class: "flex flex-row items-center" }, St = {
158
158
  key: 0,
159
- class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
159
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary min-w-[25%]"
160
160
  }, Vt = { key: 0 }, At = { class: "mt-6 mb-6 h-[calc(100vh-180px)] flex flex-col" }, Dt = { class: "flex-grow overflow-auto" }, Kt = { class: "flex flex-col w-[100%] justify-between" }, Tt = { class: "flex flex-row items-center w-[100%] justify-start" }, Ft = { class: "text-nowrap overflow-hidden text-ellipsis font-semibold w-[25%]" }, Nt = {
161
161
  key: 0,
162
162
  class: "flex flex-col w-[100%] justify-start"
@@ -271,7 +271,7 @@ const vt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
271
271
  default: xe(() => [
272
272
  t("div", {
273
273
  class: Ue([
274
- "w-auto truncate ms-3 fm-typo-en-body-md-400 p-1 border-solid border-2 rounded-md cursor-pointer",
274
+ "ms-3 fm-typo-en-body-md-400 p-1 border-solid border-2 rounded-md cursor-pointer max-w-[360px] md:max-w-[520px] lg:max-w-[640px] !truncate",
275
275
  V.value ? "text-fm-color-primary" : "text-fm-color-typo-secondary"
276
276
  ])
277
277
  }, C(i.errorLogs.length > 0 ? `${i.errorLogs[0].messages[0].status} - ${i.errorLogs[0].messages[0].message}` : d(a)("No error logs")), 3)
@@ -279,7 +279,7 @@ const vt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
279
279
  _: 1
280
280
  })) : (w(), I("div", {
281
281
  key: 1,
282
- class: Ue(["w-[100%] w-auto truncate ms-3 fm-typo-en-body-md-400 p-1 border-solid border-2 rounded-md cursor-pointer", V.value ? "text-fm-color-primary" : "text-fm-color-typo-secondary"])
282
+ class: Ue(["ms-3 fm-typo-en-body-md-400 p-1 border-solid border-2 rounded-md cursor-pointer max-w-[360px] md:max-w-[520px] lg:max-w-[640px] !truncate", V.value ? "text-fm-color-primary" : "text-fm-color-typo-secondary"])
283
283
  }, C(i.errorLogs.length > 0 ? `${i.errorLogs[0].messages[0].status} - ${i.errorLogs[0].messages[0].message}` : d(a)("No error logs")), 3))
284
284
  ])) : L("", !0)
285
285
  ]),