@feedmepos/mf-report 5.35.0-beta.0 → 5.35.1-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 (40) hide show
  1. package/dist/{App-DQyEf0mm.js → App-wJ9WSGoD.js} +5 -5
  2. package/dist/{DateRangeSelect-DvE_au_i.js → DateRangeSelect-DP3kVLFZ.js} +2 -2
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-B5Ir3Xuu.js → Default.vue_vue_type_script_setup_true_lang-ExZd3iUN.js} +2 -2
  4. package/dist/{DigestListView-Cl2EK5bf.js → DigestListView-DHZ9uWT8.js} +5 -5
  5. package/dist/{DigestReaderView-BS0iuanX.js → DigestReaderView-GvmR498S.js} +6 -6
  6. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DfVW7Q_x.js → DynamicWidget.vue_vue_type_script_setup_true_lang-BMyxEehB.js} +175 -175
  7. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Fcz2N71N.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-MRlI711m.js} +86 -86
  8. package/dist/{InsightView-CmA2Xi0T.js → InsightView-BU1hBisp.js} +7 -7
  9. package/dist/{Integration-DdfS7Jgh.js → Integration-DXHSSO_6.js} +4 -4
  10. package/dist/{Integrations-CRMbmKLq.js → Integrations-DShLPU8f.js} +4 -4
  11. package/dist/{Layout-kcAw_A-E.js → Layout-BMTJ5TJW.js} +1 -1
  12. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-BRYP_afx.js → LocationSelect.vue_vue_type_script_setup_true_lang-6xAohPSs.js} +3 -3
  13. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-I8gsgGXJ.js → MenuTab.vue_vue_type_script_setup_true_lang-XdyA0h5e.js} +5 -5
  14. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-D3QOPpyj.js → NavigationTab.vue_vue_type_script_setup_true_lang-Bc5u9ueb.js} +7 -7
  15. package/dist/{OverviewView-tS8EKm9q.js → OverviewView-DnD6tsor.js} +6 -6
  16. package/dist/{Report-BvJw6A0s.js → Report-Ojq5zBYw.js} +4 -4
  17. package/dist/{ReportCanvasView-Bywb09Z7.js → ReportCanvasView-DqLfg9wu.js} +6 -6
  18. package/dist/{ReportEditor-D88J-04n.js → ReportEditor-DsozpAI2.js} +9 -9
  19. package/dist/{ReportView-DxnYH37m.js → ReportView-DSTwd9Bf.js} +8 -8
  20. package/dist/{ReportViewRoute-DJdbgiqN.js → ReportViewRoute-Cp8cpnbp.js} +2 -2
  21. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js → SelectComponent.vue_vue_type_script_setup_true_lang-D8f9NgeK.js} +1 -1
  22. package/dist/{Setting-CNrh7nBB.js → Setting-BTUhW6_R.js} +5 -5
  23. package/dist/{Template-BreFV27K.js → Template-f9-DqPdH.js} +5 -5
  24. package/dist/TileEditor-D3vwDcLv.js +4197 -0
  25. package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-HMTKQELw.js → TilePageStack.vue_vue_type_script_setup_true_lang-BkBTuFfY.js} +3 -3
  26. package/dist/{TransitionFade-tUK-3l63.js → TransitionFade-io2DbCi9.js} +7 -7
  27. package/dist/_plugin-vue_export-helper-N63MbPK5.js +2905 -0
  28. package/dist/{app-CwMmSHUw.js → app-CKZMopgy.js} +16 -15
  29. package/dist/app.js +1 -1
  30. package/dist/assets/{formatChartData.worker-Bt8turfo.js → formatChartData.worker-CQS_7KcL.js} +26 -23
  31. package/dist/assets/{processTableData.worker-MGb36f8J.js → processTableData.worker-OuexVqV8.js} +26 -23
  32. package/dist/{currency-BUi-Xq6N.js → currency-Cpemdbbd.js} +1 -1
  33. package/dist/{index-cojDf4MH.js → index-B3YkJCSm.js} +27 -24
  34. package/dist/{report-CtMB0C_H.js → report-Df6BkcRs.js} +1 -1
  35. package/dist/{useDigestFont-HI14Bq_l.js → useDigestFont-BpKzXve9.js} +2 -2
  36. package/dist/{useReportCanvasPicks-ZAlJK9Cv.js → useReportCanvasPicks-CYG3eYe-.js} +4 -4
  37. package/dist/{useRestaurantPermission-DO4WIH7P.js → useRestaurantPermission-BAzncDqR.js} +2 -2
  38. package/package.json +2 -2
  39. package/dist/TileEditor-CLXi5in3.js +0 -4183
  40. package/dist/_plugin-vue_export-helper-Bx7s49ra.js +0 -2828
@@ -1,18 +1,18 @@
1
- import { computed as c, defineComponent as ze, ref as k, watch as Le, onMounted as jt, onBeforeUnmount as Eo, resolveComponent as be, openBlock as G, createBlock as ye, Transition as Ya, withCtx as Re, createElementBlock as me, createElementVNode as Q, unref as l, normalizeStyle as Ve, withModifiers as Cn, toDisplayString as Me, createVNode as Ce, Fragment as Ye, renderList as St, createCommentVNode as we, normalizeClass as Fe, nextTick as Go, useModel as at, renderSlot as pt, mergeModels as ot, h as Pt, createSlots as Xa, resolveDynamicComponent as jo, markRaw as So, toRaw as Ea, createTextVNode as Ga, onUnmounted as Yn, provide as ja, inject as qa, withDirectives as Ja, vShow as Za } from "vue";
2
- import { u as Qa, h as er, i as qo, j as tr, q as ko, k as nr } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Fcz2N71N.js";
3
- import { u as Ln, ag as xn, a as _n, ah as or } from "./app-CwMmSHUw.js";
4
- import { W as Z, S as Je, v as Kt, F as Ot, c as pn, w as Hn, d as ar, o as rr, x as lr, E as Mt, y as sr } from "./report-CtMB0C_H.js";
5
- import { c as Dn, w as Et } from "./currency-BUi-Xq6N.js";
6
- import { d as Xn } from "./DateRangeSelect-DvE_au_i.js";
1
+ import { computed as c, defineComponent as ze, ref as k, watch as Le, onMounted as Gt, onBeforeUnmount as Eo, resolveComponent as be, openBlock as j, createBlock as ye, Transition as Ya, withCtx as Re, createElementBlock as me, createElementVNode as Q, unref as l, normalizeStyle as Ve, withModifiers as Cn, toDisplayString as Me, createVNode as Ce, Fragment as Ye, renderList as St, createCommentVNode as we, normalizeClass as Fe, nextTick as jo, useModel as at, renderSlot as pt, mergeModels as ot, h as Pt, createSlots as Xa, resolveDynamicComponent as Go, markRaw as So, toRaw as Ea, createTextVNode as ja, onUnmounted as Yn, provide as Ga, inject as qa, withDirectives as Ja, vShow as Za } from "vue";
2
+ import { u as Qa, h as er, i as qo, j as tr, q as ko, k as nr } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-MRlI711m.js";
3
+ import { u as Ln, ag as xn, a as _n, ah as or } from "./app-CKZMopgy.js";
4
+ import { W as Z, S as Je, v as Kt, F as Ot, c as pn, w as Hn, d as ar, o as rr, x as lr, E as Mt, y as sr } from "./report-Df6BkcRs.js";
5
+ import { c as Dn, w as Et } from "./currency-Cpemdbbd.js";
6
+ import { d as Xn } from "./DateRangeSelect-DP3kVLFZ.js";
7
7
  import { storeToRefs as At } from "pinia";
8
8
  import { detectLocale as oo } from "@feedmepos/mf-common";
9
- import "./index-cojDf4MH.js";
9
+ import "./index-B3YkJCSm.js";
10
10
  import { C as En, t as ir } from "./chart-DU0N9V2o.js";
11
11
  import { useBreakpoints as qt, useSnackbar as Sn, components as ur } from "@feedmepos/ui-library";
12
- import { u as kt, _ as Jo } from "./_plugin-vue_export-helper-Bx7s49ra.js";
12
+ import { u as kt, _ as Jo } from "./_plugin-vue_export-helper-N63MbPK5.js";
13
13
  import { r as wt } from "./i18n-DbyciK4x.js";
14
- import { _ as Wn } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js";
15
- var Yt = /* @__PURE__ */ ((e) => (e.line = "LINECHART", e.bar = "BARCHART", e.stackedBar = "STACKBARCHART", e.progress = "PROGRESS", e))(Yt || {}), qe = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(qe || {}), Gn = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(Gn || {}), jn = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(jn || {}), qn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(qn || {}), Jn = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(Jn || {}), Zn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(Zn || {}), Be = /* @__PURE__ */ ((e) => (e.series = "SERIES", e.metric = "METRIC", e.breakdown = "BREAKDOWN", e))(Be || {});
14
+ import { _ as Wn } from "./SelectComponent.vue_vue_type_script_setup_true_lang-D8f9NgeK.js";
15
+ var Yt = /* @__PURE__ */ ((e) => (e.line = "LINECHART", e.bar = "BARCHART", e.stackedBar = "STACKBARCHART", e.progress = "PROGRESS", e))(Yt || {}), qe = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(qe || {}), jn = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(jn || {}), Gn = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(Gn || {}), qn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(qn || {}), Jn = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(Jn || {}), Zn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(Zn || {}), Be = /* @__PURE__ */ ((e) => (e.series = "SERIES", e.metric = "METRIC", e.breakdown = "BREAKDOWN", e))(Be || {});
16
16
  Z.Circular, Z.Table, Z.BarChart, Z.LineChart, Z.StackBarChart, Z.ClusteredStackBarChart, Z.StackLineChart, Z.Scorecard, Z.Spacer;
17
17
  const cr = [
18
18
  {
@@ -195,7 +195,7 @@ function Jt({
195
195
  return n;
196
196
  }
197
197
  const mr = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;
198
- function Gt(e) {
198
+ function jt(e) {
199
199
  if (!e)
200
200
  return null;
201
201
  const t = e.trim();
@@ -208,7 +208,7 @@ function Gt(e) {
208
208
  return t.toUpperCase();
209
209
  }
210
210
  function pr(e) {
211
- const t = Gt(e) ?? "#000000";
211
+ const t = jt(e) ?? "#000000";
212
212
  return {
213
213
  red: Number.parseInt(t.slice(1, 3), 16),
214
214
  green: Number.parseInt(t.slice(3, 5), 16),
@@ -220,14 +220,14 @@ function ea(e) {
220
220
  Ft.length,
221
221
  Array.isArray(e) ? e.length : 0
222
222
  ), n = Zo(t);
223
- return !Array.isArray(e) || e.length === 0 ? n : n.map((o, r) => Gt(e[r]) ?? o);
223
+ return !Array.isArray(e) || e.length === 0 ? n : n.map((o, r) => jt(e[r]) ?? o);
224
224
  }
225
225
  function ta(e, t) {
226
226
  const { red: n, green: o, blue: r } = pr(e);
227
227
  return `rgba(${n}, ${o}, ${r}, ${t})`;
228
228
  }
229
229
  function kn(e, t) {
230
- const n = Gt(e) ?? "#000000", o = (r) => {
230
+ const n = jt(e) ?? "#000000", o = (r) => {
231
231
  const i = Number.parseInt(n.slice(r, r + 2), 16);
232
232
  return Math.round(i + (255 - i) * t).toString(16).padStart(2, "0").toUpperCase();
233
233
  };
@@ -267,7 +267,7 @@ function zt({
267
267
  colorMode: u,
268
268
  customColors: v
269
269
  }) {
270
- const h = Number.isInteger(n) && Number(n) > 0 ? Number(n) : 1, x = Number.isInteger(t) && Number(t) >= 0 ? Number(t) : 0, Y = a !== !1, H = e * h + x, d = u === "clustered" ? Zo(Math.max(Ft.length, e + 1)) : ea(v), b = Gt(i == null ? void 0 : i[e * h]) ?? d[e % d.length], w = Y && x > 0 ? kn(b, To(x)) : Gt(i == null ? void 0 : i[H]) ?? (x > 0 ? kn(b, To(x)) : b), g = o ? oa(w) : w;
270
+ const h = Number.isInteger(n) && Number(n) > 0 ? Number(n) : 1, x = Number.isInteger(t) && Number(t) >= 0 ? Number(t) : 0, Y = a !== !1, H = e * h + x, d = u === "clustered" ? Zo(Math.max(Ft.length, e + 1)) : ea(v), b = jt(i == null ? void 0 : i[e * h]) ?? d[e % d.length], w = Y && x > 0 ? kn(b, To(x)) : jt(i == null ? void 0 : i[H]) ?? (x > 0 ? kn(b, To(x)) : b), g = o ? oa(w) : w;
271
271
  let I = typeof r == "number" ? r : 1;
272
272
  return o && (I = I * na), ta(g, I);
273
273
  }
@@ -643,11 +643,11 @@ function Er(e) {
643
643
  const t = typeof e == "number" ? e : typeof e == "string" ? Number(e) : Number.NaN;
644
644
  return Number.isFinite(t) ? Math.max(Qn, Math.floor(t)) : Ir;
645
645
  }
646
- function Gr(e) {
646
+ function jr(e) {
647
647
  return e <= 0 ? 320 : Rt.value.xs || Rt.value.sm || e <= 640 ? Math.max(160, Math.floor(e * 0.38)) : Rt.value.md || e <= 900 ? Math.max(200, Math.floor(e * 0.46)) : Rt.value.lg || e <= 1200 ? Math.max(240, Math.floor(e * 0.54)) : Math.max(280, Math.floor(e * 0.62));
648
648
  }
649
649
  function lo(e, t) {
650
- const n = window.innerHeight, o = Gr(n), r = t ? Math.max(120, t.clientHeight - 16) : Number.POSITIVE_INFINITY, i = Math.max(120, Math.min(o, r));
650
+ const n = window.innerHeight, o = jr(n), r = t ? Math.max(120, t.clientHeight - 16) : Number.POSITIVE_INFINITY, i = Math.max(120, Math.min(o, r));
651
651
  e.style.maxHeight = `${i}px`;
652
652
  }
653
653
  function _t() {
@@ -668,7 +668,7 @@ function fa(e) {
668
668
  maxTooltipItems: Er(e == null ? void 0 : e.maxTooltipItems)
669
669
  };
670
670
  }
671
- function jr(e) {
671
+ function Gr(e) {
672
672
  e.__lastPhoneTapAt = void 0, e.__lastPhoneTapX = void 0, e.__lastPhoneTapY = void 0, e.__lastPhoneTapDatasetIndex = void 0, e.__lastPhoneTapDataIndex = void 0;
673
673
  }
674
674
  function qr(e, t, n, o, r, i) {
@@ -1073,7 +1073,7 @@ function Vo(e, t, n, o, r) {
1073
1073
  })));
1074
1074
  }
1075
1075
  function ct(e, t, n = !1) {
1076
- Nt(e) && !n || ($t(e), ga(e), da(e, !1), jr(e), e.__pendingCursorClientX = void 0, e.__pendingCursorClientY = void 0, e.__detailsPayload = void 0, e.__lastLeftPx = void 0, e.__lastTopPx = void 0, delete e.dataset.cursorCanvasX, delete e.dataset.cursorCanvasY, e.__isTooltipHovered = !1, e.style.pointerEvents = "none", e.style.opacity = "0", wn(t));
1076
+ Nt(e) && !n || ($t(e), ga(e), da(e, !1), Gr(e), e.__pendingCursorClientX = void 0, e.__pendingCursorClientY = void 0, e.__detailsPayload = void 0, e.__lastLeftPx = void 0, e.__lastTopPx = void 0, delete e.dataset.cursorCanvasX, delete e.dataset.cursorCanvasY, e.__isTooltipHovered = !1, e.style.pointerEvents = "none", e.style.opacity = "0", wn(t));
1077
1077
  }
1078
1078
  function Tn(e, t, n = Br) {
1079
1079
  e.__isTooltipHovered || ($t(e), e.__hideTimeoutId = window.setTimeout(() => {
@@ -1634,13 +1634,13 @@ const Cl = {
1634
1634
  }
1635
1635
  return Le([x, h], () => {
1636
1636
  h.value && P();
1637
- }), jt(() => {
1637
+ }), Gt(() => {
1638
1638
  a.value = D(a.value), P(), document.addEventListener("pointerdown", R, !0), document.addEventListener("keydown", A), window.addEventListener("resize", ue);
1639
1639
  }), Eo(() => {
1640
1640
  C(), document.removeEventListener("pointerdown", R, !0), document.removeEventListener("keydown", A), window.removeEventListener("resize", ue);
1641
1641
  }), (T, q) => {
1642
1642
  const U = be("FmButton");
1643
- return G(), ye(Ya, {
1643
+ return j(), ye(Ya, {
1644
1644
  "enter-active-class": "transform transition duration-200 ease-out",
1645
1645
  "enter-from-class": "translate-x-full opacity-0",
1646
1646
  "enter-to-class": "translate-x-0 opacity-100",
@@ -1649,7 +1649,7 @@ const Cl = {
1649
1649
  "leave-to-class": "translate-x-full opacity-0"
1650
1650
  }, {
1651
1651
  default: Re(() => [
1652
- h.value ? (G(), me("div", Cl, [
1652
+ h.value ? (j(), me("div", Cl, [
1653
1653
  Q("div", {
1654
1654
  ref_key: "panelRef",
1655
1655
  ref: i,
@@ -1679,12 +1679,12 @@ const Cl = {
1679
1679
  class: "flex flex-1 flex-col gap-4 overflow-y-auto px-4 py-4 sm:px-5",
1680
1680
  onMouseleave: g
1681
1681
  }, [
1682
- (G(!0), me(Ye, null, St(Y.value, (X, B) => (G(), me("div", {
1682
+ (j(!0), me(Ye, null, St(Y.value, (X, B) => (j(), me("div", {
1683
1683
  key: X.key,
1684
1684
  class: "flex flex-col gap-2 rounded-2xl bg-fm-color-neutral-white/45 py-3"
1685
1685
  }, [
1686
- X.title ? (G(), me("p", kl, Me(X.title), 1)) : we("", !0),
1687
- (G(!0), me(Ye, null, St(X.visibleValues, (K, ne) => (G(), me("button", {
1686
+ X.title ? (j(), me("p", kl, Me(X.title), 1)) : we("", !0),
1687
+ (j(!0), me(Ye, null, St(X.visibleValues, (K, ne) => (j(), me("button", {
1688
1688
  key: `${K.text}-${ne}`,
1689
1689
  type: "button",
1690
1690
  class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary flex w-full items-start justify-between gap-3 bg-transparent px-2 py-1.5 text-left transition-colors hover:bg-fm-color-opacity-sm focus-visible:bg-fm-color-opacity-sm focus-visible:outline-none",
@@ -1705,7 +1705,7 @@ const Cl = {
1705
1705
  ]),
1706
1706
  Q("span", Il, Me(d(K)), 1)
1707
1707
  ], 40, Tl))), 128)),
1708
- X.hasMore ? (G(), me("div", Pl, [
1708
+ X.hasMore ? (j(), me("div", Pl, [
1709
1709
  Ce(U, {
1710
1710
  class: "w-full",
1711
1711
  variant: "tertiary",
@@ -1842,7 +1842,7 @@ const Cl = {
1842
1842
  const m = s.clientY - W.value, y = Math.max(1, p.clientHeight - g.value), N = Math.min(y, Math.max(0, M.value + m)) / y, te = Math.max(0, p.scrollHeight - p.clientHeight);
1843
1843
  p.scrollTop = N * te, B();
1844
1844
  }
1845
- function j() {
1845
+ function G() {
1846
1846
  P.value && (P.value = !1);
1847
1847
  }
1848
1848
  function oe() {
@@ -2140,11 +2140,11 @@ const Cl = {
2140
2140
  const ae = Number.parseFloat(V.rowGap || V.gap || "0") || 0, fe = rn();
2141
2141
  let ke = 0, $e = 0;
2142
2142
  for (let Ee = 0; Ee < s.length; Ee += 1) {
2143
- const Ge = s[Ee];
2144
- if (!Ge)
2143
+ const je = s[Ee];
2144
+ if (!je)
2145
2145
  continue;
2146
- const tt = ke + ($e > 0 ? ae : 0) + Ge.offsetHeight, je = s.length - (Ee + 1) > 0 ? ae + fe : 0;
2147
- if (tt + je > y)
2146
+ const tt = ke + ($e > 0 ? ae : 0) + je.offsetHeight, Ge = s.length - (Ee + 1) > 0 ? ae + fe : 0;
2147
+ if (tt + Ge > y)
2148
2148
  break;
2149
2149
  ke = tt, $e += 1;
2150
2150
  }
@@ -2189,9 +2189,9 @@ const Cl = {
2189
2189
  if (ae > 0 && (x.value = ae), window.getComputedStyle(s).flexDirection.startsWith("column") && u.value < a.value.length) {
2190
2190
  const $e = Math.max(0, x.value - Wo), Ee = s.scrollHeight;
2191
2191
  if (Ee + 1 < $e) {
2192
- const Ge = p.map((Ue) => Ue.offsetHeight).filter((Ue) => Number.isFinite(Ue) && Ue > 0), tt = Ge.length > 0 ? Ge.reduce((Ue, je) => Ue + je, 0) / Ge.length : 0;
2192
+ const je = p.map((Ue) => Ue.offsetHeight).filter((Ue) => Number.isFinite(Ue) && Ue > 0), tt = je.length > 0 ? je.reduce((Ue, Ge) => Ue + Ge, 0) / je.length : 0;
2193
2193
  if (tt > 0) {
2194
- const Ue = window.getComputedStyle(s), je = Number.parseFloat(Ue.rowGap || Ue.gap || "0") || 0, Bn = Math.max(1, tt + je), An = $e - Ee, dn = Math.floor(An / Bn);
2194
+ const Ue = window.getComputedStyle(s), Ge = Number.parseFloat(Ue.rowGap || Ue.gap || "0") || 0, Bn = Math.max(1, tt + Ge), An = $e - Ee, dn = Math.floor(An / Bn);
2195
2195
  if (dn > 0) {
2196
2196
  u.value = Math.min(
2197
2197
  a.value.length,
@@ -2209,7 +2209,7 @@ const Cl = {
2209
2209
  (V || u.value <= 0) && (u.value = Math.max(0, Se)), h.value = _e > N, U(), B();
2210
2210
  }
2211
2211
  function vt() {
2212
- Go(() => {
2212
+ jo(() => {
2213
2213
  Ht(), window.requestAnimationFrame(() => {
2214
2214
  Ht(), X(), B();
2215
2215
  });
@@ -2383,8 +2383,8 @@ const Cl = {
2383
2383
  function ut() {
2384
2384
  v.value = !1, d.value && (d.value.scrollTop = 0), vt();
2385
2385
  }
2386
- return jt(() => {
2387
- cn(), window.addEventListener("mousemove", pe), window.addEventListener("mouseup", j);
2386
+ return Gt(() => {
2387
+ cn(), window.addEventListener("mousemove", pe), window.addEventListener("mouseup", G);
2388
2388
  }), Le(
2389
2389
  () => [
2390
2390
  n.enabled,
@@ -2397,8 +2397,8 @@ const Cl = {
2397
2397
  it();
2398
2398
  }
2399
2399
  ), Eo(() => {
2400
- P.value = !1, T(), A({ height: 0, width: 0 }), window.removeEventListener("mousemove", pe), window.removeEventListener("mouseup", j);
2401
- }), (s, p) => S.value ? (G(), me("div", {
2400
+ P.value = !1, T(), A({ height: 0, width: 0 }), window.removeEventListener("mousemove", pe), window.removeEventListener("mouseup", G);
2401
+ }), (s, p) => S.value ? (j(), me("div", {
2402
2402
  key: 0,
2403
2403
  ref_key: "legendPanelRef",
2404
2404
  ref: Y,
@@ -2430,7 +2430,7 @@ const Cl = {
2430
2430
  style: Ve(ht.value),
2431
2431
  onScroll: K
2432
2432
  }, [
2433
- (G(!0), me(Ye, null, St(Wt.value, (m, y) => (G(), me("li", {
2433
+ (j(!0), me(Ye, null, St(Wt.value, (m, y) => (j(), me("li", {
2434
2434
  key: et(m, y),
2435
2435
  class: Fe(["chart-legend-item relative z-[2] inline-flex max-w-full cursor-pointer select-none pointer-events-auto", {
2436
2436
  "opacity-45": m.hidden
@@ -2443,11 +2443,11 @@ const Cl = {
2443
2443
  "aria-pressed": m.hidden === !0 ? "false" : "true",
2444
2444
  onClick: Cn((V) => Pn(m, y), ["stop"])
2445
2445
  }, [
2446
- n.usePointStyle !== !1 ? (G(), me("span", {
2446
+ n.usePointStyle !== !1 ? (j(), me("span", {
2447
2447
  key: 0,
2448
2448
  class: "h-5 w-5 shrink-0 rounded-full",
2449
2449
  style: Ve({ backgroundColor: de(m, y) })
2450
- }, null, 4)) : (G(), me("span", {
2450
+ }, null, 4)) : (j(), me("span", {
2451
2451
  key: 1,
2452
2452
  class: "h-5 w-5 shrink-0 rounded-sm border border-solid border-gray-300",
2453
2453
  style: Ve({
@@ -2465,7 +2465,7 @@ const Cl = {
2465
2465
  }, Me(m.text), 11, Rl)
2466
2466
  ], 10, Al)
2467
2467
  ], 2))), 128)),
2468
- h.value ? (G(), me("li", Fl, [
2468
+ h.value ? (j(), me("li", Fl, [
2469
2469
  Q("button", {
2470
2470
  type: "button",
2471
2471
  class: "inline-flex max-w-full cursor-pointer select-none underline items-center gap-1 rounded px-1 py-0.5 border-none bg-transparent text-fm-color-system-info-300 leading-[1.4] transition-colors hover:bg-black/5",
@@ -2474,7 +2474,7 @@ const Cl = {
2474
2474
  }, Me(v.value ? l(r)("report.widget.legend.viewLess") : l(r)("report.widget.legend.viewMore")), 1)
2475
2475
  ])) : we("", !0)
2476
2476
  ], 38),
2477
- C.value ? (G(), me("div", {
2477
+ C.value ? (j(), me("div", {
2478
2478
  key: 0,
2479
2479
  class: "absolute top-0 right-0 h-full w-2 rounded-full bg-transparent",
2480
2480
  onMousedown: ne
@@ -2679,7 +2679,7 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
2679
2679
  isCompare: !1,
2680
2680
  metricCount: t.value.metricCount,
2681
2681
  mode: t.value.chartColorBinding
2682
- }), j = Oe({
2682
+ }), G = Oe({
2683
2683
  datasetIndex: ce,
2684
2684
  isCompare: !1,
2685
2685
  metricCount: t.value.metricCount,
@@ -2708,7 +2708,7 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
2708
2708
  barPercentage: x.value ? Un : void 0,
2709
2709
  backgroundColor: re ? zt({
2710
2710
  breakdownIndex: ge,
2711
- metricIndex: j,
2711
+ metricIndex: G,
2712
2712
  metricCount: t.value.metricCount,
2713
2713
  isCompare: B.isCompare,
2714
2714
  breakdownColors: t.value.chartBreakdownColors,
@@ -2766,9 +2766,9 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
2766
2766
  }
2767
2767
  }));
2768
2768
  return (B, K) => {
2769
- var ce, pe, j, oe, re, ge;
2769
+ var ce, pe, G, oe, re, ge;
2770
2770
  const ne = be("FmBarChart");
2771
- return G(), me(Ye, null, [
2771
+ return j(), me(Ye, null, [
2772
2772
  Q("div", Ol, [
2773
2773
  pt(B.$slots, "menu"),
2774
2774
  Q("div", {
@@ -2776,13 +2776,13 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
2776
2776
  "chart-layout--side": l(z) && (l(C).display ?? !1) && l(ue)
2777
2777
  }])
2778
2778
  }, [
2779
- l(z) && (l(C).display ?? !1) && l(R) ? (G(), ye(Xe, {
2779
+ l(z) && (l(C).display ?? !1) && l(R) ? (j(), ye(Xe, {
2780
2780
  key: 0,
2781
2781
  "chart-ref": n.value,
2782
2782
  enabled: l(C).display ?? !1,
2783
2783
  position: l(O),
2784
2784
  "text-color": (ce = l(C).labels) == null ? void 0 : ce.color,
2785
- "font-size": (j = (pe = l(C).labels) == null ? void 0 : pe.font) == null ? void 0 : j.size,
2785
+ "font-size": (G = (pe = l(C).labels) == null ? void 0 : pe.font) == null ? void 0 : G.size,
2786
2786
  "legend-update-key": l(q),
2787
2787
  "use-point-style": t.value.usePointStyle ?? !0,
2788
2788
  "chart-color-binding": t.value.chartColorBinding,
@@ -2808,7 +2808,7 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
2808
2808
  plugins: [l(Y)],
2809
2809
  "maintain-aspect-ratio": !1
2810
2810
  }, null, 8, ["datasets", "x-axis", "x-cfg", "y-cfg", "transpose", "legend", "tooltip", "datalabels", "plugins"]),
2811
- l(z) && (l(C).display ?? !1) && !l(R) ? (G(), ye(Xe, {
2811
+ l(z) && (l(C).display ?? !1) && !l(R) ? (j(), ye(Xe, {
2812
2812
  key: 1,
2813
2813
  "chart-ref": n.value,
2814
2814
  enabled: l(C).display ?? !1,
@@ -2902,14 +2902,14 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
2902
2902
  }
2903
2903
  return (S, D) => {
2904
2904
  const $ = be("FmPieChart");
2905
- return G(), me("div", Kl, [
2905
+ return j(), me("div", Kl, [
2906
2906
  pt(S.$slots, "menu"),
2907
2907
  Q("div", {
2908
2908
  class: Fe(["chart-layout", {
2909
2909
  "chart-layout--side": H.value && b.value
2910
2910
  }])
2911
2911
  }, [
2912
- H.value && w.value ? (G(), ye(Xe, {
2912
+ H.value && w.value ? (j(), ye(Xe, {
2913
2913
  key: 0,
2914
2914
  "chart-ref": o.value,
2915
2915
  enabled: Y.value,
@@ -2939,7 +2939,7 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
2939
2939
  datalabels: l(i),
2940
2940
  "maintain-aspect-ratio": !1
2941
2941
  }, null, 8, ["datasets", "metrics", "tooltip", "legend", "datalabels"]),
2942
- H.value && !w.value ? (G(), ye(Xe, {
2942
+ H.value && !w.value ? (j(), ye(Xe, {
2943
2943
  key: 1,
2944
2944
  "chart-ref": o.value,
2945
2945
  enabled: Y.value,
@@ -2960,7 +2960,7 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
2960
2960
  ]);
2961
2961
  };
2962
2962
  }
2963
- }), Xl = { class: "h-full flex flex-col gap-2 justify-end" }, El = { class: "flex flex-wrap gap-x-4 gap-y-2" }, Gl = { class: "flex items-center gap-1" }, jl = ["title"], ql = { class: "fm-typo-en-body-lg-600" }, Jl = {
2963
+ }), Xl = { class: "h-full flex flex-col gap-2 justify-end" }, El = { class: "flex flex-wrap gap-x-4 gap-y-2" }, jl = { class: "flex items-center gap-1" }, Gl = ["title"], ql = { class: "fm-typo-en-body-lg-600" }, Jl = {
2964
2964
  class: "flex w-full h-3 shrink-0 rounded-full overflow-hidden",
2965
2965
  style: { "background-color": "#f2f2f7" }
2966
2966
  }, Zl = /* @__PURE__ */ ze({
@@ -2983,13 +2983,13 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
2983
2983
  };
2984
2984
  });
2985
2985
  });
2986
- return (o, r) => (G(), me("div", Xl, [
2986
+ return (o, r) => (j(), me("div", Xl, [
2987
2987
  Q("div", El, [
2988
- (G(!0), me(Ye, null, St(n.value, (i, a) => (G(), me("div", {
2988
+ (j(!0), me(Ye, null, St(n.value, (i, a) => (j(), me("div", {
2989
2989
  key: a,
2990
2990
  class: "flex flex-col gap-1 flex-1 min-w-[80px]"
2991
2991
  }, [
2992
- Q("div", Gl, [
2992
+ Q("div", jl, [
2993
2993
  Q("span", {
2994
2994
  class: "inline-block w-3 h-3 rounded-sm shrink-0",
2995
2995
  style: Ve({ backgroundColor: i.color })
@@ -2997,13 +2997,13 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
2997
2997
  Q("p", {
2998
2998
  class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary truncate",
2999
2999
  title: i.label
3000
- }, Me(i.label), 9, jl)
3000
+ }, Me(i.label), 9, Gl)
3001
3001
  ]),
3002
3002
  Q("p", ql, Me(i.display), 1)
3003
3003
  ]))), 128))
3004
3004
  ]),
3005
3005
  Q("div", Jl, [
3006
- (G(!0), me(Ye, null, St(n.value, (i, a) => (G(), me("div", {
3006
+ (j(!0), me(Ye, null, St(n.value, (i, a) => (j(), me("div", {
3007
3007
  key: a,
3008
3008
  style: Ve({ width: `${i.width}%`, backgroundColor: i.color })
3009
3009
  }, null, 4))), 128))
@@ -3102,7 +3102,7 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
3102
3102
  return (R, A) => {
3103
3103
  var K;
3104
3104
  const T = be("FmIcon"), q = be("FmChip"), U = be("FmTooltip"), X = be("FmLineChart"), B = be("FmBarChart");
3105
- return G(), me("div", Ql, [
3105
+ return j(), me("div", Ql, [
3106
3106
  pt(R.$slots, "menu"),
3107
3107
  Q("p", es, Me(u.value), 1),
3108
3108
  Q("div", ts, [
@@ -3119,7 +3119,7 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
3119
3119
  ];
3120
3120
  }),
3121
3121
  default: Re(() => [
3122
- W.value ? (G(), ye(q, {
3122
+ W.value ? (j(), ye(q, {
3123
3123
  key: 0,
3124
3124
  icon: W.value.icon.name,
3125
3125
  class: Fe(`bg-${W.value.icon.tailwind}`),
@@ -3137,7 +3137,7 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
3137
3137
  ]),
3138
3138
  _: 1
3139
3139
  }, 8, ["icon", "class"])) : we("", !0),
3140
- l(o).endDate != null && l(o).startDate != null && W.value === null ? (G(), ye(q, {
3140
+ l(o).endDate != null && l(o).startDate != null && W.value === null ? (j(), ye(q, {
3141
3141
  key: 1,
3142
3142
  class: "invisible pointer-events-none",
3143
3143
  "aria-hidden": "true",
@@ -3156,7 +3156,7 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
3156
3156
  _: 1
3157
3157
  }, 8, ["disabled"])
3158
3158
  ]),
3159
- v.value ? (G(), me("div", os, [
3159
+ v.value ? (j(), me("div", os, [
3160
3160
  Q("div", as, [
3161
3161
  Q("span", {
3162
3162
  class: Fe(H.value === null ? "" : "text-fm-color-primary-500")
@@ -3177,8 +3177,8 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
3177
3177
  }, null, 4)
3178
3178
  ], 8, ls),
3179
3179
  Q("p", ss, Me(I.value), 1)
3180
- ])) : S.value ? (G(), me("div", is, [
3181
- M(S.value.type) === "line" ? (G(), ye(X, {
3180
+ ])) : S.value ? (j(), me("div", is, [
3181
+ M(S.value.type) === "line" ? (j(), ye(X, {
3182
3182
  key: 0,
3183
3183
  class: "sparkline sparkline-chart",
3184
3184
  datasets: z.value,
@@ -3191,7 +3191,7 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
3191
3191
  "x-cfg": { display: !1 },
3192
3192
  tooltip: O.value,
3193
3193
  "maintain-aspect-ratio": !1
3194
- }, null, 8, ["datasets", "x-axis", "y-cfg", "tooltip"])) : M(S.value.type) === "bar" ? (G(), ye(B, {
3194
+ }, null, 8, ["datasets", "x-axis", "y-cfg", "tooltip"])) : M(S.value.type) === "bar" ? (j(), ye(B, {
3195
3195
  key: 1,
3196
3196
  class: "sparkline sparkline-chart",
3197
3197
  datasets: C.value,
@@ -3204,13 +3204,13 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
3204
3204
  "x-cfg": { display: !1 },
3205
3205
  tooltip: ue.value,
3206
3206
  "maintain-aspect-ratio": !1
3207
- }, null, 8, ["datasets", "x-axis", "y-cfg", "tooltip"])) : (G(), ye(Zl, {
3207
+ }, null, 8, ["datasets", "x-axis", "y-cfg", "tooltip"])) : (j(), ye(Zl, {
3208
3208
  key: 2,
3209
3209
  dimensions: S.value.dimensions,
3210
3210
  values: ((K = S.value.datasets[0]) == null ? void 0 : K.values) ?? [],
3211
3211
  "percent-of-total": S.value.percentOfTotal === !0
3212
3212
  }, null, 8, ["dimensions", "values", "percent-of-total"]))
3213
- ])) : (G(), me("div", us, [...A[1] || (A[1] = [
3213
+ ])) : (j(), me("div", us, [...A[1] || (A[1] = [
3214
3214
  Q("div", { class: "sparkline" }, [
3215
3215
  Q("div", { class: "flex flex-col gap-8" }, [
3216
3216
  Q("div"),
@@ -3225,9 +3225,9 @@ const Ol = { class: "widget-content" }, Un = 1, Ko = "rgba(0, 0, 0, 0)", Ul = /*
3225
3225
  }), ds = {};
3226
3226
  function fs(e, t) {
3227
3227
  const n = be("FmMenuDivider");
3228
- return G(), ye(n);
3228
+ return j(), ye(n);
3229
3229
  }
3230
- const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableData.worker-MGb36f8J.js", ps = { class: "flex h-full flex-col" }, gs = { class: "my-4 shrink-0" }, hs = {
3230
+ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableData.worker-OuexVqV8.js", ps = { class: "flex h-full flex-col" }, gs = { class: "my-4 shrink-0" }, hs = {
3231
3231
  class: "border-b border-fm-color-neutral-gray-100 hover:bg-fm-color-opacity-sm",
3232
3232
  style: { backgroundColor: "#f9f9f9" }
3233
3233
  }, ys = { class: "font-bold" }, bs = { class: "text-fm-color-neutral-gray-300" }, Cs = /* @__PURE__ */ ze({
@@ -3321,7 +3321,7 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3321
3321
  difference: aa(_.main, _.comparison, l(r))
3322
3322
  });
3323
3323
  }
3324
- jt(() => {
3324
+ Gt(() => {
3325
3325
  i();
3326
3326
  });
3327
3327
  const R = k([]);
@@ -3437,7 +3437,7 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3437
3437
  },
3438
3438
  { immediate: !0 }
3439
3439
  );
3440
- const pe = c(() => ce.value || 12), j = c(() => d.value ? pe.value : C.value), oe = c(
3440
+ const pe = c(() => ce.value || 12), G = c(() => d.value ? pe.value : C.value), oe = c(
3441
3441
  () => d.value ? Math.max(1, Math.ceil(d.value.pageableRows / pe.value)) : 0
3442
3442
  );
3443
3443
  async function re({
@@ -3516,7 +3516,7 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3516
3516
  });
3517
3517
  return (_, L) => {
3518
3518
  const F = be("FmTable");
3519
- return G(), me("div", ps, [
3519
+ return j(), me("div", ps, [
3520
3520
  Q("div", gs, [
3521
3521
  pt(_.$slots, "menu")
3522
3522
  ]),
@@ -3526,7 +3526,7 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3526
3526
  "column-defs": ge.value,
3527
3527
  "row-data": R.value,
3528
3528
  "search-value": W.value,
3529
- "page-size": j.value,
3529
+ "page-size": G.value,
3530
3530
  "page-count": d.value ? oe.value : void 0,
3531
3531
  "shrink-at": !1,
3532
3532
  "force-mobile-footer": !0,
@@ -3540,12 +3540,12 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3540
3540
  $.value ? {
3541
3541
  name: "pin-top",
3542
3542
  fn: Re(() => [
3543
- (G(), ye(jo($.value === l(qe).bottom ? "tfoot" : "tbody"), null, {
3543
+ (j(), ye(Go($.value === l(qe).bottom ? "tfoot" : "tbody"), null, {
3544
3544
  default: Re(() => [
3545
3545
  Q("tr", hs, [
3546
- (G(!0), me(Ye, null, St(z.value, (le, de) => {
3546
+ (j(!0), me(Ye, null, St(z.value, (le, de) => {
3547
3547
  var ee, Ne;
3548
- return G(), me("td", {
3548
+ return j(), me("td", {
3549
3549
  key: `${l(Kt)()}_${de}`,
3550
3550
  class: "text-fm-color-typo-primary px-16",
3551
3551
  style: Ve({
@@ -3617,8 +3617,8 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3617
3617
  breakdownIndex: ne
3618
3618
  }) {
3619
3619
  var oe;
3620
- const ce = t.value.chartColorBinding === Be.metric ? K : t.value.chartColorBinding === Be.breakdown ? ne : B, pe = (oe = t.value.chartColorLayers) == null ? void 0 : oe[ce], j = Number(pe);
3621
- return Number.isInteger(j) && j > 0 ? j : ce + 1;
3620
+ const ce = t.value.chartColorBinding === Be.metric ? K : t.value.chartColorBinding === Be.breakdown ? ne : B, pe = (oe = t.value.chartColorLayers) == null ? void 0 : oe[ce], G = Number(pe);
3621
+ return Number.isInteger(G) && G > 0 ? G : ce + 1;
3622
3622
  }
3623
3623
  const w = c(() => {
3624
3624
  if (i.value.length > 0) {
@@ -3626,7 +3626,7 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3626
3626
  const ce = Jt({
3627
3627
  datasets: u.value,
3628
3628
  datasetIndex: ne
3629
- }), pe = a.value ? on(u.value, ce) : ce, j = Oe({
3629
+ }), pe = a.value ? on(u.value, ce) : ce, G = Oe({
3630
3630
  datasetIndex: pe,
3631
3631
  isCompare: !1,
3632
3632
  metricCount: t.value.metricCount,
@@ -3641,7 +3641,7 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3641
3641
  metricCount: t.value.metricCount
3642
3642
  }), ge = b({
3643
3643
  datasetIndex: pe,
3644
- colorIndex: j,
3644
+ colorIndex: G,
3645
3645
  breakdownIndex: re
3646
3646
  });
3647
3647
  let _ = K.values;
@@ -3667,7 +3667,7 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3667
3667
  useSecondaryMetricShades: t.value.chartUseSecondaryMetricShades,
3668
3668
  customColors: t.value.chartColors
3669
3669
  }) : dt({
3670
- index: j,
3670
+ index: G,
3671
3671
  isCompare: K.isCompare,
3672
3672
  customColors: t.value.chartColors
3673
3673
  })
@@ -3702,9 +3702,9 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3702
3702
  baseDatasets: w
3703
3703
  });
3704
3704
  return (B, K) => {
3705
- var ce, pe, j, oe, re, ge;
3705
+ var ce, pe, G, oe, re, ge;
3706
3706
  const ne = be("FmBarChart");
3707
- return G(), me(Ye, null, [
3707
+ return j(), me(Ye, null, [
3708
3708
  Q("div", xs, [
3709
3709
  pt(B.$slots, "menu"),
3710
3710
  Q("div", {
@@ -3712,13 +3712,13 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3712
3712
  "chart-layout--side": l(ue) && (l(O).display ?? !1) && l(A)
3713
3713
  }])
3714
3714
  }, [
3715
- l(ue) && (l(O).display ?? !1) && l(T) ? (G(), ye(Xe, {
3715
+ l(ue) && (l(O).display ?? !1) && l(T) ? (j(), ye(Xe, {
3716
3716
  key: 0,
3717
3717
  "chart-ref": n.value,
3718
3718
  enabled: l(O).display ?? !1,
3719
3719
  position: l(R),
3720
3720
  "text-color": (ce = l(O).labels) == null ? void 0 : ce.color,
3721
- "font-size": (j = (pe = l(O).labels) == null ? void 0 : pe.font) == null ? void 0 : j.size,
3721
+ "font-size": (G = (pe = l(O).labels) == null ? void 0 : pe.font) == null ? void 0 : G.size,
3722
3722
  "legend-update-key": l(X),
3723
3723
  "use-point-style": t.value.usePointStyle ?? !0,
3724
3724
  "chart-color-binding": t.value.chartColorBinding,
@@ -3745,7 +3745,7 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3745
3745
  datalabels: l(D),
3746
3746
  "maintain-aspect-ratio": !1
3747
3747
  }, null, 8, ["datasets", "x-axis", "x-cfg", "y-cfg", "transpose", "stacked", "legend", "tooltip", "plugins", "datalabels"]),
3748
- l(ue) && (l(O).display ?? !1) && !l(T) ? (G(), ye(Xe, {
3748
+ l(ue) && (l(O).display ?? !1) && !l(T) ? (j(), ye(Xe, {
3749
3749
  key: 1,
3750
3750
  "chart-ref": n.value,
3751
3751
  enabled: l(O).display ?? !1,
@@ -3785,59 +3785,59 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3785
3785
  emits: ["update:modelValue"],
3786
3786
  setup(e) {
3787
3787
  const t = at(e, "modelValue"), n = k(null), o = c(() => {
3788
- var j;
3789
- return ((j = t.value.data) == null ? void 0 : j.xAxis) || [];
3788
+ var G;
3789
+ return ((G = t.value.data) == null ? void 0 : G.xAxis) || [];
3790
3790
  }), r = c(() => ({
3791
3791
  categories: o.value
3792
3792
  })), i = c(() => {
3793
- var j;
3794
- return ((j = t.value.data) == null ? void 0 : j.datasets) ?? [];
3793
+ var G;
3794
+ return ((G = t.value.data) == null ? void 0 : G.datasets) ?? [];
3795
3795
  }), a = c(
3796
- () => i.value.some((j) => j.xAxisIndex !== void 0)
3796
+ () => i.value.some((G) => G.xAxisIndex !== void 0)
3797
3797
  ), u = c(
3798
3798
  () => an(i.value, o.value.length, {
3799
3799
  preserveNullableValues: t.value.hasNullableMetric
3800
3800
  })
3801
- ), v = Qt("bar"), h = c(() => t.value.stackBarOverlap === !0), x = c(() => h.value === !1), Y = c(() => !a.value && o.value.length === 1 && i.value.some((j) => j.isCompare === !0)), H = c(() => ({
3801
+ ), v = Qt("bar"), h = c(() => t.value.stackBarOverlap === !0), x = c(() => h.value === !1), Y = c(() => !a.value && o.value.length === 1 && i.value.some((G) => G.isCompare === !0)), H = c(() => ({
3802
3802
  ...O.value,
3803
3803
  stacked: x.value
3804
3804
  })), d = c(() => ({
3805
3805
  ...ue.value,
3806
3806
  stacked: x.value
3807
3807
  }));
3808
- function b(j) {
3809
- const re = j.lastIndexOf(" - ");
3808
+ function b(G) {
3809
+ const re = G.lastIndexOf(" - ");
3810
3810
  return re < 0 ? {
3811
- clusterKey: j,
3812
- metricLabel: j
3811
+ clusterKey: G,
3812
+ metricLabel: G
3813
3813
  } : {
3814
- clusterKey: j.slice(0, re),
3815
- metricLabel: j.slice(re + 3)
3814
+ clusterKey: G.slice(0, re),
3815
+ metricLabel: G.slice(re + 3)
3816
3816
  };
3817
3817
  }
3818
- function w(j, oe) {
3819
- if (typeof j == "string") {
3820
- const re = j.trim();
3818
+ function w(G, oe) {
3819
+ if (typeof G == "string") {
3820
+ const re = G.trim();
3821
3821
  if (re.length > 0)
3822
3822
  return re;
3823
3823
  }
3824
3824
  return `Series ${oe + 1}`;
3825
3825
  }
3826
3826
  function g({
3827
- datasetIndex: j,
3827
+ datasetIndex: G,
3828
3828
  colorIndex: oe
3829
3829
  }) {
3830
3830
  var L;
3831
- const re = t.value.chartColorBinding === Be.metric ? oe : j, ge = (L = t.value.chartColorLayers) == null ? void 0 : L[re], _ = Number(ge);
3831
+ const re = t.value.chartColorBinding === Be.metric ? oe : G, ge = (L = t.value.chartColorLayers) == null ? void 0 : L[re], _ = Number(ge);
3832
3832
  return Number.isInteger(_) && _ > 0 ? _ : re + 1;
3833
3833
  }
3834
- function I(j) {
3834
+ function I(G) {
3835
3835
  return {
3836
- label: `__comparison_gap__${j}`,
3837
- tooltipLabel: `__comparison_gap__${j}`,
3836
+ label: `__comparison_gap__${G}`,
3837
+ tooltipLabel: `__comparison_gap__${G}`,
3838
3838
  data: [0],
3839
3839
  grouped: !0,
3840
- stack: `__comparison_gap__${j}`,
3840
+ stack: `__comparison_gap__${G}`,
3841
3841
  backgroundColor: Yo,
3842
3842
  borderColor: Yo,
3843
3843
  minBarLength: 0,
@@ -3848,18 +3848,18 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3848
3848
  const P = c(() => {
3849
3849
  if (i.value.length === 0)
3850
3850
  return [];
3851
- const j = u.value.map((F, le) => ({
3851
+ const G = u.value.map((F, le) => ({
3852
3852
  source: F,
3853
3853
  index: le,
3854
3854
  name: w(F == null ? void 0 : F.name, le),
3855
3855
  values: (F == null ? void 0 : F.values) ?? []
3856
3856
  })), oe = /* @__PURE__ */ new Map(), re = /* @__PURE__ */ new Map();
3857
- for (const F of j) {
3857
+ for (const F of G) {
3858
3858
  const { clusterKey: le, metricLabel: de } = b(F.name);
3859
3859
  re.has(le) || re.set(le, re.size), oe.has(de) || oe.set(de, oe.size);
3860
3860
  }
3861
3861
  const ge = Math.max(oe.size, 1), _ = t.value.chartColorBinding === Be.breakdown, L = t.value.chartUseSecondaryMetricShades !== !1;
3862
- return j.map((F) => {
3862
+ return G.map((F) => {
3863
3863
  var gt;
3864
3864
  const le = Jt({
3865
3865
  datasets: u.value,
@@ -3872,7 +3872,7 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3872
3872
  isCompare: !1,
3873
3873
  metricCount: t.value.metricCount,
3874
3874
  mode: t.value.chartColorBinding
3875
- }), { clusterKey: Ie, metricLabel: Te } = b(F.name), Ze = ((gt = j[ee]) == null ? void 0 : gt.name) ?? F.name, { clusterKey: ft, metricLabel: rt } = b(Ze), lt = re.get(ft) ?? re.get(Ie) ?? 0, Qe = oe.get(rt) ?? 0, st = _ ? zt({
3875
+ }), { clusterKey: Ie, metricLabel: Te } = b(F.name), Ze = ((gt = G[ee]) == null ? void 0 : gt.name) ?? F.name, { clusterKey: ft, metricLabel: rt } = b(Ze), lt = re.get(ft) ?? re.get(Ie) ?? 0, Qe = oe.get(rt) ?? 0, st = _ ? zt({
3876
3876
  breakdownIndex: lt,
3877
3877
  metricIndex: Qe,
3878
3878
  metricCount: ge,
@@ -3931,36 +3931,36 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3931
3931
  }), ce = c(() => {
3932
3932
  if (!Y.value)
3933
3933
  return ne.value;
3934
- const j = [];
3934
+ const G = [];
3935
3935
  return ne.value.forEach((oe, re) => {
3936
- j.push({
3936
+ G.push({
3937
3937
  ...oe,
3938
3938
  barPercentage: Kn
3939
3939
  });
3940
3940
  const ge = ne.value[re + 1];
3941
- oe.dash === !0 && ge && j.push(I(re));
3942
- }), j;
3941
+ oe.dash === !0 && ge && G.push(I(re));
3942
+ }), G;
3943
3943
  }), pe = c(() => ({
3944
3944
  display: !1,
3945
3945
  labels: {
3946
- filter: (j, oe) => {
3946
+ filter: (G, oe) => {
3947
3947
  var re, ge;
3948
- return !((ge = (re = oe.datasets) == null ? void 0 : re[j.datasetIndex ?? -1]) != null && ge.isSpacer);
3948
+ return !((ge = (re = oe.datasets) == null ? void 0 : re[G.datasetIndex ?? -1]) != null && ge.isSpacer);
3949
3949
  }
3950
3950
  }
3951
3951
  }));
3952
- return (j, oe) => {
3952
+ return (G, oe) => {
3953
3953
  var ge, _, L, F, le, de;
3954
3954
  const re = be("FmBarChart");
3955
- return G(), me(Ye, null, [
3955
+ return j(), me(Ye, null, [
3956
3956
  Q("div", _s, [
3957
- pt(j.$slots, "menu"),
3957
+ pt(G.$slots, "menu"),
3958
3958
  Q("div", {
3959
3959
  class: Fe(["chart-layout", {
3960
3960
  "chart-layout--side": l(T) && (l(A).display ?? !1) && l(U)
3961
3961
  }])
3962
3962
  }, [
3963
- l(T) && (l(A).display ?? !1) && l(X) ? (G(), ye(Xe, {
3963
+ l(T) && (l(A).display ?? !1) && l(X) ? (j(), ye(Xe, {
3964
3964
  key: 0,
3965
3965
  "chart-ref": n.value,
3966
3966
  enabled: l(A).display ?? !1,
@@ -3993,7 +3993,7 @@ const vs = /* @__PURE__ */ Jo(ds, [["render", fs]]), ms = "/assets/processTableD
3993
3993
  datalabels: l(z),
3994
3994
  "maintain-aspect-ratio": !1
3995
3995
  }, null, 8, ["datasets", "x-axis", "x-cfg", "y-cfg", "transpose", "stacked", "legend", "tooltip", "plugins", "datalabels"]),
3996
- l(T) && (l(A).display ?? !1) && !l(X) ? (G(), ye(Xe, {
3996
+ l(T) && (l(A).display ?? !1) && !l(X) ? (j(), ye(Xe, {
3997
3997
  key: 1,
3998
3998
  "chart-ref": n.value,
3999
3999
  enabled: l(A).display ?? !1,
@@ -4077,7 +4077,7 @@ const Ts = { class: "widget-content" }, Ls = /* @__PURE__ */ ze({
4077
4077
  isCompare: !1,
4078
4078
  metricCount: t.value.metricCount,
4079
4079
  mode: t.value.chartColorBinding
4080
- }), j = Oe({
4080
+ }), G = Oe({
4081
4081
  datasetIndex: K,
4082
4082
  isCompare: !1,
4083
4083
  metricCount: t.value.metricCount,
@@ -4092,7 +4092,7 @@ const Ts = { class: "widget-content" }, Ls = /* @__PURE__ */ ze({
4092
4092
  metricCount: t.value.metricCount
4093
4093
  }), L = ge ? zt({
4094
4094
  breakdownIndex: _,
4095
- metricIndex: j,
4095
+ metricIndex: G,
4096
4096
  metricCount: t.value.metricCount,
4097
4097
  isCompare: U.isCompare,
4098
4098
  breakdownColors: t.value.chartBreakdownColors,
@@ -4143,9 +4143,9 @@ const Ts = { class: "widget-content" }, Ls = /* @__PURE__ */ ze({
4143
4143
  baseDatasets: d
4144
4144
  });
4145
4145
  return (U, X) => {
4146
- var K, ne, ce, pe, j, oe;
4146
+ var K, ne, ce, pe, G, oe;
4147
4147
  const B = be("FmLineChart");
4148
- return G(), me(Ye, null, [
4148
+ return j(), me(Ye, null, [
4149
4149
  Q("div", Ts, [
4150
4150
  pt(U.$slots, "menu"),
4151
4151
  Q("div", {
@@ -4153,7 +4153,7 @@ const Ts = { class: "widget-content" }, Ls = /* @__PURE__ */ ze({
4153
4153
  "chart-layout--side": l(z) && (l(C).display ?? !1) && l(ue)
4154
4154
  }])
4155
4155
  }, [
4156
- l(z) && (l(C).display ?? !1) && l(R) ? (G(), ye(Xe, {
4156
+ l(z) && (l(C).display ?? !1) && l(R) ? (j(), ye(Xe, {
4157
4157
  key: 0,
4158
4158
  "chart-ref": n.value,
4159
4159
  enabled: l(C).display ?? !1,
@@ -4186,13 +4186,13 @@ const Ts = { class: "widget-content" }, Ls = /* @__PURE__ */ ze({
4186
4186
  datalabels: l(M),
4187
4187
  "maintain-aspect-ratio": !1
4188
4188
  }, null, 8, ["datasets", "x-axis", "x-cfg", "y-cfg", "transpose", "legend", "tooltip", "plugins", "datalabels"]),
4189
- l(z) && (l(C).display ?? !1) && !l(R) ? (G(), ye(Xe, {
4189
+ l(z) && (l(C).display ?? !1) && !l(R) ? (j(), ye(Xe, {
4190
4190
  key: 1,
4191
4191
  "chart-ref": n.value,
4192
4192
  enabled: l(C).display ?? !1,
4193
4193
  position: l(O),
4194
4194
  "text-color": (pe = l(C).labels) == null ? void 0 : pe.color,
4195
- "font-size": (oe = (j = l(C).labels) == null ? void 0 : j.font) == null ? void 0 : oe.size,
4195
+ "font-size": (oe = (G = l(C).labels) == null ? void 0 : G.font) == null ? void 0 : oe.size,
4196
4196
  "legend-update-key": l(q),
4197
4197
  "use-point-style": t.value.usePointStyle ?? !0,
4198
4198
  "chart-color-binding": t.value.chartColorBinding,
@@ -4255,13 +4255,13 @@ const Is = ["src"], Ps = /* @__PURE__ */ ze({
4255
4255
  ), r = c(() => o.value !== pn.Custom || !t.icon.trim() ? "" : Ca(t.icon) ? t.icon : Ds(t.icon));
4256
4256
  return (i, a) => {
4257
4257
  const u = be("FmIcon");
4258
- return o.value === l(pn).Material && e.icon ? (G(), ye(u, {
4258
+ return o.value === l(pn).Material && e.icon ? (j(), ye(u, {
4259
4259
  key: 0,
4260
4260
  name: e.icon,
4261
4261
  size: e.size ?? "sm",
4262
4262
  class: "shrink-0",
4263
4263
  "aria-hidden": "true"
4264
- }, null, 8, ["name", "size"])) : r.value ? (G(), me("img", {
4264
+ }, null, 8, ["name", "size"])) : r.value ? (j(), me("img", {
4265
4265
  key: 1,
4266
4266
  src: r.value,
4267
4267
  class: "title-icon shrink-0",
@@ -4347,7 +4347,7 @@ const Hs = { class: "widget-content" }, Ws = /* @__PURE__ */ ze({
4347
4347
  isCompare: !1,
4348
4348
  metricCount: t.value.metricCount,
4349
4349
  mode: Be.metric
4350
- }), j = dt({
4350
+ }), G = dt({
4351
4351
  index: ce,
4352
4352
  isCompare: X.isCompare,
4353
4353
  customColors: t.value.chartColors
@@ -4362,7 +4362,7 @@ const Hs = { class: "widget-content" }, Ws = /* @__PURE__ */ ze({
4362
4362
  breakdownColors: t.value.chartBreakdownColors,
4363
4363
  useSecondaryMetricShades: t.value.chartUseSecondaryMetricShades,
4364
4364
  customColors: t.value.chartColors
4365
- }) : j;
4365
+ }) : G;
4366
4366
  let _ = X.values;
4367
4367
  u.value ? _ = a.value.map(
4368
4368
  (Ne, Ie) => Ie === B ? X.values[0] : NaN
@@ -4413,9 +4413,9 @@ const Hs = { class: "widget-content" }, Ws = /* @__PURE__ */ ze({
4413
4413
  baseDatasets: b
4414
4414
  });
4415
4415
  return (X, B) => {
4416
- var ne, ce, pe, j, oe, re;
4416
+ var ne, ce, pe, G, oe, re;
4417
4417
  const K = be("FmLineChart");
4418
- return G(), me(Ye, null, [
4418
+ return j(), me(Ye, null, [
4419
4419
  Q("div", Hs, [
4420
4420
  pt(X.$slots, "menu"),
4421
4421
  Q("div", {
@@ -4423,7 +4423,7 @@ const Hs = { class: "widget-content" }, Ws = /* @__PURE__ */ ze({
4423
4423
  "chart-layout--side": l(O) && (l(z).display ?? !1) && l(R)
4424
4424
  }])
4425
4425
  }, [
4426
- l(O) && (l(z).display ?? !1) && l(A) ? (G(), ye(Xe, {
4426
+ l(O) && (l(z).display ?? !1) && l(A) ? (j(), ye(Xe, {
4427
4427
  key: 0,
4428
4428
  "chart-ref": n.value,
4429
4429
  enabled: l(z).display ?? !1,
@@ -4455,12 +4455,12 @@ const Hs = { class: "widget-content" }, Ws = /* @__PURE__ */ ze({
4455
4455
  plugins: [l(H), l(d)],
4456
4456
  "maintain-aspect-ratio": !1
4457
4457
  }, null, 8, ["datasets", "x-axis", "x-cfg", "y-cfg", "transpose", "legend", "tooltip", "datalabels", "plugins"]),
4458
- l(O) && (l(z).display ?? !1) && !l(A) ? (G(), ye(Xe, {
4458
+ l(O) && (l(z).display ?? !1) && !l(A) ? (j(), ye(Xe, {
4459
4459
  key: 1,
4460
4460
  "chart-ref": n.value,
4461
4461
  enabled: l(z).display ?? !1,
4462
4462
  position: l(ue),
4463
- "text-color": (j = l(z).labels) == null ? void 0 : j.color,
4463
+ "text-color": (G = l(z).labels) == null ? void 0 : G.color,
4464
4464
  "font-size": (re = (oe = l(z).labels) == null ? void 0 : oe.font) == null ? void 0 : re.size,
4465
4465
  "legend-update-key": l(U),
4466
4466
  "chart-color-binding": t.value.chartColorBinding,
@@ -4520,14 +4520,14 @@ const Hs = { class: "widget-content" }, Ws = /* @__PURE__ */ ze({
4520
4520
  }
4521
4521
  return (w, g) => {
4522
4522
  const I = be("FmRadio"), P = be("FmRadioGroup"), W = be("FmButton"), M = be("FmDialog");
4523
- return G(), ye(M, {
4523
+ return j(), ye(M, {
4524
4524
  modelValue: i.value,
4525
4525
  "onUpdate:modelValue": g[2] || (g[2] = (S) => i.value = S),
4526
4526
  overlay: !0,
4527
4527
  "z-index": 10
4528
4528
  }, {
4529
4529
  "dialog-header": Re(() => [...g[3] || (g[3] = [
4530
- Ga("Select Orientation", -1)
4530
+ ja("Select Orientation", -1)
4531
4531
  ])]),
4532
4532
  default: Re(() => [
4533
4533
  Ce(l(n), {
@@ -4729,7 +4729,7 @@ function Ys(e) {
4729
4729
  i && (i.style.top = `${r.value}px`, g());
4730
4730
  }), Le(n, () => {
4731
4731
  n.value && o.value && setTimeout(d, 100);
4732
- }), jt(() => {
4732
+ }), Gt(() => {
4733
4733
  o.value && setTimeout(d, 100);
4734
4734
  }), Yn(() => {
4735
4735
  M();
@@ -4737,7 +4737,7 @@ function Ys(e) {
4737
4737
  }
4738
4738
  const xa = Symbol("report-page-nav");
4739
4739
  function pi(e) {
4740
- ja(xa, e);
4740
+ Ga(xa, e);
4741
4741
  }
4742
4742
  function Xs() {
4743
4743
  return qa(xa, void 0);
@@ -4817,7 +4817,7 @@ function Xo(e) {
4817
4817
  const t = [e.schemaName, e.name];
4818
4818
  return "option" in e && e.option && t.push(e.option), "aggregation" in e && e.aggregation && t.push(e.aggregation), t.push(e.label.replace(/[^\p{L}\p{N}_]+/gu, "")), t.join("_").toLowerCase();
4819
4819
  }
4820
- function Gs(e, t, n = []) {
4820
+ function js(e, t, n = []) {
4821
4821
  var b, w, g, I, P, W;
4822
4822
  if (!e || !Array.isArray(e.columns) || !Array.isArray(e.rows))
4823
4823
  return [];
@@ -4858,7 +4858,7 @@ function Gs(e, t, n = []) {
4858
4858
  return (S = M == null ? void 0 : M.cells) == null ? void 0 : S[d];
4859
4859
  }).filter((M) => M != null);
4860
4860
  }
4861
- const js = {
4861
+ const Gs = {
4862
4862
  key: 0,
4863
4863
  class: "h-full"
4864
4864
  }, qs = {
@@ -4934,7 +4934,7 @@ const js = {
4934
4934
  Array.isArray(a.chartBreakdownColors) ? [...a.chartBreakdownColors] : void 0
4935
4935
  ), A = k(a.chartUseSecondaryMetricShades ?? !0), T = k(a.chartColorBinding), q = k(
4936
4936
  Array.isArray(a.lineStyles) ? [...a.lineStyles] : void 0
4937
- ), U = k(a.lineStyleBinding), X = k(a.showLabel ?? !1), B = k(a.labelAlign ?? jn.center), K = k(a.labelAnchor ?? Gn.center), ne = k(a.labelRotation ?? 0), ce = k(a.labelOffset ?? 0), pe = k(a.labelFontSize ?? 12), j = Sn(), oe = c(
4937
+ ), U = k(a.lineStyleBinding), X = k(a.showLabel ?? !1), B = k(a.labelAlign ?? Gn.center), K = k(a.labelAnchor ?? jn.center), ne = k(a.labelRotation ?? 0), ce = k(a.labelOffset ?? 0), pe = k(a.labelFontSize ?? 12), G = Sn(), oe = c(
4938
4938
  () => {
4939
4939
  var f;
4940
4940
  return ((f = ut.value) == null ? void 0 : f.showSearchBar) === !0 && (ve.value.config.showSearchBar ?? !0);
@@ -4956,7 +4956,7 @@ const js = {
4956
4956
  return S.value || oe.value || p.value || (((f = ut.value) == null ? void 0 : f.showLabel) ?? !1) || (((J = ut.value) == null ? void 0 : J.showDrillDimension) ?? !1) && mt.value.length > 0 || (((ie = ut.value) == null ? void 0 : ie.showRollup) ?? !1) && $n.value.length > 0;
4957
4957
  }
4958
4958
  ), y = Xn(async () => {
4959
- Lt.value = window.innerWidth, un.value = $a(), g.value = Kt(), await Go(), b();
4959
+ Lt.value = window.innerWidth, un.value = $a(), g.value = Kt(), await jo(), b();
4960
4960
  }), V = c(() => {
4961
4961
  if (o.value)
4962
4962
  return Wn;
@@ -4992,7 +4992,7 @@ const js = {
4992
4992
  var f;
4993
4993
  return ve.value.type === Z.Table ? ((f = N.value) == null ? void 0 : f.paging) ?? null : null;
4994
4994
  }
4995
- ), Ee = c(() => $e.value != null || se.value), Ge = c(() => Se.value ? 1 : 0);
4995
+ ), Ee = c(() => $e.value != null || se.value), je = c(() => Se.value ? 1 : 0);
4996
4996
  function tt() {
4997
4997
  Se.value = null, ae.value = { startIndex: 0, count: ae.value.count }, fe = null;
4998
4998
  }
@@ -5002,13 +5002,13 @@ const js = {
5002
5002
  if (!ie) {
5003
5003
  if (tt(), se.value && J) {
5004
5004
  const De = J.rows;
5005
- Se.value = (xe = De[0]) != null && xe.isRollup ? De[0] : null, ke.value = De.length, fe = { jobId: "whole", blocks: /* @__PURE__ */ new Map([[0, De]]) }, je(Ge.value, ae.value.count || De.length);
5005
+ Se.value = (xe = De[0]) != null && xe.isRollup ? De[0] : null, ke.value = De.length, fe = { jobId: "whole", blocks: /* @__PURE__ */ new Map([[0, De]]) }, Ge(je.value, ae.value.count || De.length);
5006
5006
  }
5007
5007
  return;
5008
5008
  }
5009
- se.value = !0, ke.value = ie.totalRows, Se.value = (Pe = J.rows[0]) != null && Pe.isRollup ? J.rows[0] : null, fe = { jobId: ie.jobId, blocks: /* @__PURE__ */ new Map([[0, J.rows]]) }, je(Ge.value, ae.value.count || Math.min(J.rows.length, 25));
5009
+ se.value = !0, ke.value = ie.totalRows, Se.value = (Pe = J.rows[0]) != null && Pe.isRollup ? J.rows[0] : null, fe = { jobId: ie.jobId, blocks: /* @__PURE__ */ new Map([[0, J.rows]]) }, Ge(je.value, ae.value.count || Math.min(J.rows.length, 25));
5010
5010
  }
5011
- function je(f, J) {
5011
+ function Ge(f, J) {
5012
5012
  var De;
5013
5013
  const ie = N.value;
5014
5014
  if (!ie || !fe) return;
@@ -5028,14 +5028,14 @@ const js = {
5028
5028
  var bt, vn, mn;
5029
5029
  const ie = $e.value;
5030
5030
  if (!ie) {
5031
- je(f, J);
5031
+ Ge(f, J);
5032
5032
  return;
5033
5033
  }
5034
5034
  const xe = ie.pageSize, Pe = Math.floor(f / xe) * xe, De = Math.floor((f + J - 1) / xe) * xe, Ke = [];
5035
5035
  for (let We = Pe; We <= De && We < ke.value; We += xe)
5036
5036
  ((fe == null ? void 0 : fe.jobId) !== ie.jobId || !fe.blocks.has(We)) && Ke.push(We);
5037
5037
  if (Ke.length === 0) {
5038
- je(f, J);
5038
+ Ge(f, J);
5039
5039
  return;
5040
5040
  }
5041
5041
  he.value = !0;
@@ -5054,13 +5054,13 @@ const js = {
5054
5054
  const It = (vn = xt.paging) == null ? void 0 : vn.jobId;
5055
5055
  It && It !== He && (He = It, Bn(He, (mn = xt.paging) == null ? void 0 : mn.totalRows)), (fe == null ? void 0 : fe.jobId) !== He && (fe = { jobId: He, blocks: /* @__PURE__ */ new Map() }), fe.blocks.set(We, xt.rows);
5056
5056
  }
5057
- je(f, J);
5057
+ Ge(f, J);
5058
5058
  } catch (We) {
5059
5059
  if (or(We) === 410) {
5060
5060
  tt(), await Dt();
5061
5061
  return;
5062
5062
  }
5063
- j.open({ message: u("report.messages.errorLoading"), type: "error" }), console.error(We);
5063
+ G.open({ message: u("report.messages.errorLoading"), type: "error" }), console.error(We);
5064
5064
  } finally {
5065
5065
  he.value = !1;
5066
5066
  }
@@ -5191,8 +5191,8 @@ const js = {
5191
5191
  return {
5192
5192
  data: N.value,
5193
5193
  paged: Ee.value ? {
5194
- pageableRows: Math.max(0, ke.value - Ge.value),
5195
- rowOffset: Ge.value,
5194
+ pageableRows: Math.max(0, ke.value - je.value),
5195
+ rowOffset: je.value,
5196
5196
  windowStart: ae.value.startIndex,
5197
5197
  windowSize: ae.value.count,
5198
5198
  loading: he.value,
@@ -5262,7 +5262,7 @@ const js = {
5262
5262
  Le(
5263
5263
  () => r.value.widget.config,
5264
5264
  (f) => {
5265
- w.value = f.rollup, S.value = f.showTitle ?? !0, D.value = f.titleFontSize ?? 14, $.value = f.titleBold ?? !1, C.value = f.titleItalic ?? !1, z.value = f.titleUnderline ?? !1, O.value = Array.isArray(f.chartColors) ? [...f.chartColors] : void 0, ue.value = Array.isArray(f.chartColorLayers) ? [...f.chartColorLayers] : void 0, R.value = Array.isArray(f.chartBreakdownColors) ? [...f.chartBreakdownColors] : void 0, A.value = f.chartUseSecondaryMetricShades ?? !0, T.value = f.chartColorBinding, q.value = Array.isArray(f.lineStyles) ? [...f.lineStyles] : void 0, U.value = f.lineStyleBinding, X.value = f.showLabel ?? !1, B.value = f.labelAlign ?? jn.center, K.value = f.labelAnchor ?? Gn.center, ne.value = f.labelRotation ?? 0, ce.value = f.labelOffset ?? 0, pe.value = f.labelFontSize ?? 12, re.value = f.showX ?? !0, ge.value = f.xPosition ?? qn.bottom, _.value = f.showXGrid ?? !1, L.value = f.showXTick ?? !0, F.value = f.xTickFontSize ?? 12, le.value = f.showXTitle ?? !1, de.value = f.xTitle ?? "", ee.value = f.xTitleFontSize ?? 12, Ne.value = f.showY ?? !0, Ie.value = f.yPosition ?? Jn.left, Te.value = f.showYGrid ?? !1, Ze.value = f.showYTick ?? !0, ft.value = f.yTickFontSize ?? 12, rt.value = f.showYTitle ?? !1, lt.value = f.yTitle ?? "", Qe.value = f.yTitleFontSize ?? 12, st.value = f.showLegend ?? void 0, Tt.value = f.legendPosition ?? Zn.top, et.value = f.usePointStyle ?? !0, gt.value = f.legendFontSize, rn.value = f.legendColor ?? "#6b6b6b", ln.value = f.maxTooltipItems, Ht.value = f.stackBarOverlap ?? !1, vt.value = f.rowHeight ?? null, sn.value = f.colWidths ?? null, g.value = Kt();
5265
+ w.value = f.rollup, S.value = f.showTitle ?? !0, D.value = f.titleFontSize ?? 14, $.value = f.titleBold ?? !1, C.value = f.titleItalic ?? !1, z.value = f.titleUnderline ?? !1, O.value = Array.isArray(f.chartColors) ? [...f.chartColors] : void 0, ue.value = Array.isArray(f.chartColorLayers) ? [...f.chartColorLayers] : void 0, R.value = Array.isArray(f.chartBreakdownColors) ? [...f.chartBreakdownColors] : void 0, A.value = f.chartUseSecondaryMetricShades ?? !0, T.value = f.chartColorBinding, q.value = Array.isArray(f.lineStyles) ? [...f.lineStyles] : void 0, U.value = f.lineStyleBinding, X.value = f.showLabel ?? !1, B.value = f.labelAlign ?? Gn.center, K.value = f.labelAnchor ?? jn.center, ne.value = f.labelRotation ?? 0, ce.value = f.labelOffset ?? 0, pe.value = f.labelFontSize ?? 12, re.value = f.showX ?? !0, ge.value = f.xPosition ?? qn.bottom, _.value = f.showXGrid ?? !1, L.value = f.showXTick ?? !0, F.value = f.xTickFontSize ?? 12, le.value = f.showXTitle ?? !1, de.value = f.xTitle ?? "", ee.value = f.xTitleFontSize ?? 12, Ne.value = f.showY ?? !0, Ie.value = f.yPosition ?? Jn.left, Te.value = f.showYGrid ?? !1, Ze.value = f.showYTick ?? !0, ft.value = f.yTickFontSize ?? 12, rt.value = f.showYTitle ?? !1, lt.value = f.yTitle ?? "", Qe.value = f.yTitleFontSize ?? 12, st.value = f.showLegend ?? void 0, Tt.value = f.legendPosition ?? Zn.top, et.value = f.usePointStyle ?? !0, gt.value = f.legendFontSize, rn.value = f.legendColor ?? "#6b6b6b", ln.value = f.maxTooltipItems, Ht.value = f.stackBarOverlap ?? !1, vt.value = f.rowHeight ?? null, sn.value = f.colWidths ?? null, g.value = Kt();
5266
5266
  },
5267
5267
  { deep: !0, immediate: !0 }
5268
5268
  ), Le(
@@ -5314,7 +5314,7 @@ const js = {
5314
5314
  y();
5315
5315
  },
5316
5316
  { deep: !0 }
5317
- ), jt(() => {
5317
+ ), Gt(() => {
5318
5318
  y(), it.value.sm || it.value.md || it.value.xs ? (console.log("Ignoring resize event due to keyboard"), addEventListener("change", y)) : addEventListener("resize", y), Dt();
5319
5319
  }), Yn(() => {
5320
5320
  it.value.sm || it.value.md || it.value.xs ? (console.log("Ignoring resize event due to keyboard"), removeEventListener("change", y)) : removeEventListener("resize", y);
@@ -5357,7 +5357,7 @@ const js = {
5357
5357
  ...(ve.value.config.joinDatasources ?? []).flatMap((Pe) => Pe.dimensions ?? [])
5358
5358
  ];
5359
5359
  zn.value.length > 0 && zn.value.forEach((Pe) => {
5360
- const De = Gs(ie, Pe, xe), Ke = Array.from(new Set(De));
5360
+ const De = js(ie, Pe, xe), Ke = Array.from(new Set(De));
5361
5361
  Fa(lr(Pe, x.reportId), Ke);
5362
5362
  }), g.value = Kt(), setTimeout(() => b(), 100);
5363
5363
  }
@@ -5406,7 +5406,7 @@ const js = {
5406
5406
  })), Oa = x.flat || ve.value.type === Z.Spacer ? "flat" : "outlined", Ua = ve.value.type === Z.Spacer ? "p-0" : "p-16", Ka = c(() => x.flat ? "w-full" : Mn.value);
5407
5407
  return (f, J) => {
5408
5408
  const ie = be("FmTooltip"), xe = be("FmSearch"), Pe = be("FmCheckbox"), De = be("FmButton"), Ke = be("FmSelect"), He = be("FmMenuItem"), bt = be("FmMenu"), vn = be("FmForm"), mn = be("FmCircularProgress"), We = be("FmCard");
5409
- return G(), ye(We, {
5409
+ return j(), ye(We, {
5410
5410
  ref_key: "tileCard",
5411
5411
  ref: Y,
5412
5412
  class: Fe(`${Ka.value} ${l(Ua)}`),
@@ -5420,8 +5420,8 @@ const js = {
5420
5420
  "file-type": xo.value,
5421
5421
  index: wo.value
5422
5422
  }, null, 8, ["modelValue", "file-type", "index"]),
5423
- n.value ? (G(), ye(mn, { key: 1 })) : (G(), me("div", js, [
5424
- (G(), ye(jo(V.value), {
5423
+ n.value ? (j(), ye(mn, { key: 1 })) : (j(), me("div", Gs, [
5424
+ (j(), ye(Go(V.value), {
5425
5425
  key: g.value,
5426
5426
  modelValue: yo.value,
5427
5427
  "onUpdate:modelValue": J[5] || (J[5] = (Ct) => yo.value = Ct),
@@ -5430,7 +5430,7 @@ const js = {
5430
5430
  "sub-title": o.value ? l(u)("report.messages.errorLoadingHint") : void 0
5431
5431
  }, {
5432
5432
  menu: Re(() => [
5433
- m.value ? (G(), ye(vn, {
5433
+ m.value ? (j(), ye(vn, {
5434
5434
  key: 0,
5435
5435
  class: "flex items-center gap-2"
5436
5436
  }, {
@@ -5446,8 +5446,8 @@ const js = {
5446
5446
  "z-index": 99
5447
5447
  }, {
5448
5448
  default: Re(() => [
5449
- S.value !== !1 ? (G(), me("div", qs, [
5450
- ve.value.type === l(Z).Scorecard && ve.value.config.titleIcon !== "" ? (G(), ye(Ps, {
5449
+ S.value !== !1 ? (j(), me("div", qs, [
5450
+ ve.value.type === l(Z).Scorecard && ve.value.config.titleIcon !== "" ? (j(), ye(Ps, {
5451
5451
  key: 0,
5452
5452
  icon: ve.value.config.titleIcon || "",
5453
5453
  type: ve.value.config.titleIconType,
@@ -5471,12 +5471,12 @@ const js = {
5471
5471
  ]),
5472
5472
  _: 1
5473
5473
  }, 8, ["content", "disabled"]),
5474
- oe.value ? (G(), ye(xe, {
5474
+ oe.value ? (j(), ye(xe, {
5475
5475
  key: 0,
5476
5476
  modelValue: ht.value,
5477
5477
  "onUpdate:modelValue": J[1] || (J[1] = (nt) => ht.value = nt),
5478
5478
  class: "grow"
5479
- }, null, 8, ["modelValue"])) : (G(), me("div", Js)),
5479
+ }, null, 8, ["modelValue"])) : (j(), me("div", Js)),
5480
5480
  Ja(Ce(Pe, {
5481
5481
  modelValue: X.value,
5482
5482
  "onUpdate:modelValue": J[2] || (J[2] = (nt) => X.value = nt),
@@ -5485,7 +5485,7 @@ const js = {
5485
5485
  }, null, 8, ["modelValue"]), [
5486
5486
  [Za, (Ct = ut.value) == null ? void 0 : Ct.showLabel]
5487
5487
  ]),
5488
- (xt = ut.value) != null && xt.showDrillDimension && mt.value.length > 0 ? (G(), me("div", Zs, [
5488
+ (xt = ut.value) != null && xt.showDrillDimension && mt.value.length > 0 ? (j(), me("div", Zs, [
5489
5489
  Ce(De, {
5490
5490
  icon: "arrow_upward",
5491
5491
  variant: "tertiary",
@@ -5499,21 +5499,21 @@ const js = {
5499
5499
  onClick: Ha
5500
5500
  }, null, 8, ["disabled"])
5501
5501
  ])) : we("", !0),
5502
- (It = ut.value) != null && It.showRollup && $n.value.length > 0 ? (G(), ye(Ke, {
5502
+ (It = ut.value) != null && It.showRollup && $n.value.length > 0 ? (j(), ye(Ke, {
5503
5503
  key: `rollup-${l(h)}`,
5504
5504
  modelValue: w.value,
5505
5505
  "onUpdate:modelValue": J[3] || (J[3] = (nt) => w.value = nt),
5506
5506
  class: "w-[150px]",
5507
5507
  items: $n.value
5508
5508
  }, null, 8, ["modelValue", "items"])) : we("", !0),
5509
- p.value ? (G(), ye(De, {
5509
+ p.value ? (j(), ye(De, {
5510
5510
  key: 4,
5511
5511
  icon: "arrow_forward",
5512
5512
  variant: "tertiary",
5513
5513
  title: l(u)("report.common.openPage"),
5514
5514
  onClick: J[4] || (J[4] = (nt) => l(s).openPage(r.value))
5515
5515
  }, null, 8, ["title"])) : we("", !0),
5516
- x.hideExport ? we("", !0) : (G(), ye(bt, {
5516
+ x.hideExport ? we("", !0) : (j(), ye(bt, {
5517
5517
  key: 5,
5518
5518
  shift: !0
5519
5519
  }, {
@@ -5524,7 +5524,7 @@ const js = {
5524
5524
  })
5525
5525
  ]),
5526
5526
  default: Re(() => [
5527
- (G(!0), me(Ye, null, St(l(Wa), (nt) => (G(), ye(He, {
5527
+ (j(!0), me(Ye, null, St(l(Wa), (nt) => (j(), ye(He, {
5528
5528
  key: nt.value,
5529
5529
  label: nt.label,
5530
5530
  onClick: nt.onClick
@@ -5547,12 +5547,12 @@ const js = {
5547
5547
  }
5548
5548
  });
5549
5549
  export {
5550
- jn as L,
5550
+ Gn as L,
5551
5551
  qe as R,
5552
5552
  Be as S,
5553
5553
  yi as _,
5554
5554
  Es as a,
5555
- Gn as b,
5555
+ jn as b,
5556
5556
  Ft as c,
5557
5557
  mi as d,
5558
5558
  Ds as e,