@feedmepos/mf-report 5.27.4 → 5.27.5-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 (26) hide show
  1. package/dist/{App-DSuxKJ9P.js → App-CFy7uVWa.js} +60 -60
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-DKMUlWwU.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-BeQGMwaJ.js} +125 -121
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-C4whbVXF.js → Default.vue_vue_type_script_setup_true_lang-Clr6FpOC.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BOXyAHWY.js → DynamicWidget.vue_vue_type_script_setup_true_lang-4no6fWm5.js} +167 -167
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Bq-DMwgI.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CZgNkimr.js} +423 -423
  6. package/dist/{InsightView-CvU47sJZ.js → InsightView-DU8zljsK.js} +4 -4
  7. package/dist/{Integration-CQCN_kEz.js → Integration-CYzbIowW.js} +3 -3
  8. package/dist/{Integrations-DIjq5ZcG.js → Integrations-Bduuzxhw.js} +2 -2
  9. package/dist/{Layout-DvK82b14.js → Layout-BVwIE7cw.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-ntdpYP8w.js → MenuTab.vue_vue_type_script_setup_true_lang-BVchswag.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CUF9qJDG.js → NavigationTab.vue_vue_type_script_setup_true_lang-YP0CF-o8.js} +3 -3
  12. package/dist/{OverviewView-C1gdxgsj.js → OverviewView-Bdx32y3s.js} +4 -4
  13. package/dist/{Report-BzytoOgL.js → Report-_zTTyNSJ.js} +3 -3
  14. package/dist/{ReportEditor-CwBgSOon.js → ReportEditor-DYEOVuv-.js} +5 -5
  15. package/dist/{ReportView-D6Q2iNXv.js → ReportView-CwL2OqAA.js} +6 -6
  16. package/dist/{Setting-WYA8Ewhw.js → Setting-7r18HuYT.js} +3 -3
  17. package/dist/{Template-BsLZkxJT.js → Template-DktljGgT.js} +3 -3
  18. package/dist/{TileEditor-MlG5cKZR.js → TileEditor-CJZ-J8q-.js} +5 -5
  19. package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-BcWgISqp.js → TileGrid.vue_vue_type_script_setup_true_lang-jAvfQmuu.js} +1 -1
  20. package/dist/{TransitionFade-1C6f7Xta.js → TransitionFade-CJHCf0fY.js} +4 -4
  21. package/dist/{app-CoOO1CM8.js → app-DrMXbBEc.js} +13 -13
  22. package/dist/app.js +1 -1
  23. package/dist/assets/{formatChartData.worker-CM1Z4AJT.js → formatChartData.worker-BPj1kHSl.js} +9 -9
  24. package/dist/assets/{processTableData.worker-DlxE2vZ8.js → processTableData.worker-BNG4ahN0.js} +9 -9
  25. package/dist/{useRestaurantPermission-BBV-xOEB.js → useRestaurantPermission-CEpSe7Xz.js} +1 -1
  26. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { computed as g, defineComponent as Me, ref as D, watch as Te, onMounted as Rt, onBeforeUnmount as no, resolveComponent as se, createBlock as ie, openBlock as K, Transition as Vo, withCtx as we, createElementBlock as ae, createCommentVNode as fe, createElementVNode as G, unref as i, normalizeStyle as Le, withModifiers as jt, toDisplayString as Se, createVNode as ue, Fragment as Be, renderList as lt, normalizeClass as _e, nextTick as No, mergeModels as Ne, useModel as ze, renderSlot as Qe, h as Yt, createSlots as zo, resolveDynamicComponent as oo, toRaw as Ho, markRaw as Wo, createTextVNode as Oo, onUnmounted as ao, withDirectives as Uo, vShow as Ko } from "vue";
2
- import { W as te, w as Xo, S as Pt, x as Mt, y as Yo, z as dn, A as ro, j as Eo, B as Go, R as pt, E as qo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Bq-DMwgI.js";
3
- import { i as Jt, a as en, u as lo } from "./app-CoOO1CM8.js";
4
- import { d as hn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DKMUlWwU.js";
1
+ import { computed as g, defineComponent as Me, ref as D, watch as Te, onMounted as Rt, onBeforeUnmount as no, resolveComponent as se, createBlock as ie, openBlock as K, Transition as No, withCtx as we, createElementBlock as ae, createCommentVNode as fe, createElementVNode as G, unref as i, normalizeStyle as Le, withModifiers as jt, toDisplayString as Se, createVNode as ue, Fragment as Be, renderList as lt, normalizeClass as _e, nextTick as Vo, mergeModels as Ve, useModel as ze, renderSlot as Qe, h as Yt, createSlots as zo, resolveDynamicComponent as oo, toRaw as Ho, markRaw as Wo, createTextVNode as Oo, onUnmounted as ao, withDirectives as Uo, vShow as Ko } from "vue";
2
+ import { W as te, w as Xo, S as Pt, x as Mt, y as Yo, z as dn, A as ro, j as Eo, B as Go, R as pt, E as qo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CZgNkimr.js";
3
+ import { i as Jt, a as en, u as lo } from "./app-DrMXbBEc.js";
4
+ import { d as hn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BeQGMwaJ.js";
5
5
  import { storeToRefs as Bt } from "pinia";
6
6
  import { detectLocale as so } from "@feedmepos/mf-common";
7
7
  import { C as gn } from "./chart-DDDh8zNk.js";
8
8
  import { useBreakpoints as $t, useSnackbar as Tn, components as jo } from "@feedmepos/ui-library";
9
9
  import { u as st } from "./vue-i18n-DVWuTfed.js";
10
- import { b as io, _ as Vn } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
10
+ import { b as io, _ as Nn } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
11
11
  import { r as at } from "./i18n-CI_sQ5d_.js";
12
12
  var Zt = /* @__PURE__ */ ((e) => (e.line = "LINECHART", e.bar = "BARCHART", e.stackedBar = "STACKBARCHART", e))(Zt || {}), Ze = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(Ze || {}), vn = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(vn || {}), yn = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(yn || {}), bn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(bn || {}), Cn = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(Cn || {}), xn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(xn || {}), be = /* @__PURE__ */ ((e) => (e.series = "SERIES", e.metric = "METRIC", e.breakdown = "BREAKDOWN", e))(be || {});
13
13
  te.Circular, te.Table, te.BarChart, te.LineChart, te.StackBarChart, te.ClusteredStackBarChart, te.StackLineChart, te.Scorecard, te.Spacer;
@@ -177,7 +177,7 @@ function co({
177
177
  return a;
178
178
  return t;
179
179
  }
180
- function Vt({
180
+ function Nt({
181
181
  datasets: e,
182
182
  datasetIndex: t
183
183
  }) {
@@ -238,7 +238,7 @@ const aa = 0.25, po = 0.7;
238
238
  function ho(e) {
239
239
  return tn(e, aa);
240
240
  }
241
- function Nn(e) {
241
+ function Vn(e) {
242
242
  return Math.min(0.55 + (e - 1) * 0.18, 0.95);
243
243
  }
244
244
  function Ke({
@@ -268,7 +268,7 @@ function xt({
268
268
  colorMode: c,
269
269
  customColors: d
270
270
  }) {
271
- const m = Number.isInteger(n) && Number(n) > 0 ? Number(n) : 1, P = Number.isInteger(t) && Number(t) >= 0 ? Number(t) : 0, x = a !== !1, w = e * m + P, v = c === "clustered" ? uo(Math.max(vt.length, e + 1)) : fo(d), b = Ft(s == null ? void 0 : s[e * m]) ?? v[e % v.length], F = x && P > 0 ? tn(b, Nn(P)) : Ft(s == null ? void 0 : s[w]) ?? (P > 0 ? tn(b, Nn(P)) : b), L = o ? ho(F) : F;
271
+ const m = Number.isInteger(n) && Number(n) > 0 ? Number(n) : 1, P = Number.isInteger(t) && Number(t) >= 0 ? Number(t) : 0, x = a !== !1, w = e * m + P, v = c === "clustered" ? uo(Math.max(vt.length, e + 1)) : fo(d), b = Ft(s == null ? void 0 : s[e * m]) ?? v[e % v.length], F = x && P > 0 ? tn(b, Vn(P)) : Ft(s == null ? void 0 : s[w]) ?? (P > 0 ? tn(b, Vn(P)) : b), L = o ? ho(F) : F;
272
272
  let k = typeof r == "number" ? r : 1;
273
273
  return o && (k = k * po), mo(L, k);
274
274
  }
@@ -303,7 +303,7 @@ function ra(e) {
303
303
  tailwind: "fm-color-neutral-gray-100"
304
304
  };
305
305
  }
306
- function Nt(e) {
306
+ function Vt(e) {
307
307
  return Object.entries(e).map(([t, n]) => `${t}:${n}`).join(";");
308
308
  }
309
309
  function vo(e) {
@@ -342,7 +342,7 @@ function vo(e) {
342
342
  titleMarginBottom: 6
343
343
  };
344
344
  }
345
- const la = Nt({
345
+ const la = Vt({
346
346
  display: "block",
347
347
  padding: "0",
348
348
  background: "none",
@@ -361,7 +361,7 @@ const la = Nt({
361
361
  "white-space": "normal",
362
362
  "word-break": "break-word",
363
363
  "overflow-wrap": "anywhere"
364
- }, ia = Nt({
364
+ }, ia = Vt({
365
365
  display: "flex",
366
366
  "align-items": "flex-start",
367
367
  "font-size": "13px",
@@ -371,7 +371,7 @@ const la = Nt({
371
371
  "line-height": "1.35",
372
372
  margin: "0 0 3px",
373
373
  overflow: "hidden"
374
- }), ua = Nt({
374
+ }), ua = Vt({
375
375
  flex: "1 1 auto",
376
376
  "min-width": "0",
377
377
  "white-space": "normal",
@@ -593,15 +593,15 @@ function Un(...e) {
593
593
  function _n(e) {
594
594
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\"/g, "&quot;").replace(/'/g, "&#39;");
595
595
  }
596
- function Va(e) {
596
+ function Na(e) {
597
597
  const t = typeof e == "number" ? e : typeof e == "string" ? Number(e) : Number.NaN;
598
598
  return Number.isFinite(t) ? Math.max(wn, Math.floor(t)) : ga;
599
599
  }
600
- function Na(e) {
600
+ function Va(e) {
601
601
  return e <= 0 ? 320 : gt.value.xs || gt.value.sm || e <= 640 ? Math.max(160, Math.floor(e * 0.38)) : gt.value.md || e <= 900 ? Math.max(200, Math.floor(e * 0.46)) : gt.value.lg || e <= 1200 ? Math.max(240, Math.floor(e * 0.54)) : Math.max(280, Math.floor(e * 0.62));
602
602
  }
603
603
  function Pn(e, t) {
604
- const n = window.innerHeight, o = Na(n), r = t ? Math.max(120, t.clientHeight - 16) : Number.POSITIVE_INFINITY, s = Math.max(120, Math.min(o, r));
604
+ const n = window.innerHeight, o = Va(n), r = t ? Math.max(120, t.clientHeight - 16) : Number.POSITIVE_INFINITY, s = Math.max(120, Math.min(o, r));
605
605
  e.style.maxHeight = `${s}px`;
606
606
  }
607
607
  function rt() {
@@ -619,7 +619,7 @@ function bo(e, t) {
619
619
  }
620
620
  function Co(e) {
621
621
  return {
622
- maxTooltipItems: Va(e == null ? void 0 : e.maxTooltipItems)
622
+ maxTooltipItems: Na(e == null ? void 0 : e.maxTooltipItems)
623
623
  };
624
624
  }
625
625
  function za(e) {
@@ -651,13 +651,13 @@ function Kn(e) {
651
651
  };
652
652
  }
653
653
  function Ua(e) {
654
- return Nt({
654
+ return Vt({
655
655
  ...sa,
656
656
  margin: `${e ? "8px" : "0"} 0 4px`
657
657
  });
658
658
  }
659
659
  function Ka(e, t) {
660
- return Nt({
660
+ return Vt({
661
661
  ...e ? ca : da,
662
662
  background: t
663
663
  });
@@ -697,15 +697,15 @@ function xo(e, t, n, o, r, s, a, c) {
697
697
  }
698
698
  X.push(A);
699
699
  });
700
- const V = w ? L.map((A) => {
700
+ const N = w ? L.map((A) => {
701
701
  const X = k.get(A.matchingKey);
702
702
  return !X || X.length === 0 ? Kn(A) : X.shift() ?? Kn(A);
703
- }) : [], q = v.length > L.length || b.length > V.length, I = (A, X = !1) => `<div style="${Ua(X)}">${_n(A)}</div>`, N = (A) => {
703
+ }) : [], q = v.length > L.length || b.length > N.length, I = (A, X = !1) => `<div style="${Ua(X)}">${_n(A)}</div>`, V = (A) => {
704
704
  const X = Ka(A.isBar, A.color);
705
705
  return `<div style="${ia}"><span style="${X}"></span><span style="${ua}">${_n(A.text)}</span></div>`;
706
706
  };
707
707
  let C = "";
708
- x.length > 0 && (C += I(x)), C += L.map((A) => N(A)).join(""), w && V.length > 0 && (C += I(w, C.length > 0), C += V.map((A) => N(A)).join("")), r && q && (C += Xa(n));
708
+ x.length > 0 && (C += I(x)), C += L.map((A) => V(A)).join(""), w && N.length > 0 && (C += I(w, C.length > 0), C += N.map((A) => V(A)).join("")), r && q && (C += Xa(n));
709
709
  const M = [
710
710
  {
711
711
  title: x,
@@ -918,14 +918,14 @@ function In(e) {
918
918
  function Mn(e, t, n, o, r, s, a = "center", c = !1) {
919
919
  const d = t.getBoundingClientRect(), m = n.getBoundingClientRect(), P = n.scrollLeft, x = n.scrollTop, w = n.clientWidth, v = n.clientHeight, b = e;
920
920
  (!Number.isFinite(b.__cachedWidth) || !Number.isFinite(b.__cachedHeight) || b.__measurementHostWidth !== w || b.__measurementHostHeight !== v) && (b.__cachedWidth = e.offsetWidth, b.__cachedHeight = e.offsetHeight, b.__measurementHostWidth = w, b.__measurementHostHeight = v);
921
- const L = b.__cachedWidth ?? e.offsetWidth, k = b.__cachedHeight ?? e.offsetHeight, V = 8, q = d.left - m.left + P + o, I = d.top - m.top + x + r, N = c ? a === "left" ? q - L - V : q + V : a === "left" ? q - L - V : a === "right" ? q + V : q - L / 2, C = c ? I + V : s ? I - k / 2 : I + V, M = P + V;
922
- let $ = x + V;
921
+ const L = b.__cachedWidth ?? e.offsetWidth, k = b.__cachedHeight ?? e.offsetHeight, N = 8, q = d.left - m.left + P + o, I = d.top - m.top + x + r, V = c ? a === "left" ? q - L - N : q + N : a === "left" ? q - L - N : a === "right" ? q + N : q - L / 2, C = c ? I + N : s ? I - k / 2 : I + N, M = P + N;
922
+ let $ = x + N;
923
923
  const A = document.querySelector('[data-menu-tab="true"]');
924
924
  if (A) {
925
- const u = A.getBoundingClientRect().bottom - m.top + x + V;
925
+ const u = A.getBoundingClientRect().bottom - m.top + x + N;
926
926
  $ = Math.max($, u);
927
927
  }
928
- const X = Math.max(M, P + w - L - V), ee = Math.max($, x + v - k - V), Y = Math.round(Math.min(Math.max(M, N), X)), W = Math.round(Math.min(Math.max($, C), ee));
928
+ const X = Math.max(M, P + w - L - N), ee = Math.max($, x + v - k - N), Y = Math.round(Math.min(Math.max(M, V), X)), W = Math.round(Math.min(Math.max($, C), ee));
929
929
  b.__lastLeftPx === Y && b.__lastTopPx === W || (b.__lastLeftPx = Y, b.__lastTopPx = W, e.style.left = `${Y}px`, e.style.top = `${W}px`);
930
930
  }
931
931
  function _o(e) {
@@ -1054,21 +1054,21 @@ function lr(e, t, n, o, r) {
1054
1054
  var L, k;
1055
1055
  if (rt() || !(r != null && r.onViewFullDetails) || !e.__detailsPayload || e.style.opacity !== "1")
1056
1056
  return;
1057
- const c = (V) => {
1057
+ const c = (N) => {
1058
1058
  var M, $, A, X;
1059
- if (V.length === 0)
1059
+ if (N.length === 0)
1060
1060
  return !1;
1061
- const q = (M = V.find(
1061
+ const q = (M = N.find(
1062
1062
  (ee) => typeof ee.dataIndex == "number"
1063
- )) == null ? void 0 : M.dataIndex, I = (($ = n == null ? void 0 : n.data) == null ? void 0 : $.datasets) ?? [], N = (A = n == null ? void 0 : n.config) == null ? void 0 : A.type, C = xo(
1064
- V,
1063
+ )) == null ? void 0 : M.dataIndex, I = (($ = n == null ? void 0 : n.data) == null ? void 0 : $.datasets) ?? [], V = (A = n == null ? void 0 : n.config) == null ? void 0 : A.type, C = xo(
1064
+ N,
1065
1065
  o,
1066
1066
  (r == null ? void 0 : r.viewFullDetailsLabel) ?? yo(),
1067
1067
  s,
1068
1068
  !0,
1069
1069
  I,
1070
1070
  q,
1071
- N
1071
+ V
1072
1072
  ).detailsPayload;
1073
1073
  return (X = r.onViewFullDetails) == null || X.call(r, C, n), Re(e, n), !0;
1074
1074
  }, d = ((L = n == null ? void 0 : n.tooltip) == null ? void 0 : L.dataPoints) ?? [];
@@ -1089,7 +1089,7 @@ function lr(e, t, n, o, r) {
1089
1089
  "index",
1090
1090
  { intersect: !1 },
1091
1091
  !1
1092
- ), v = (P.length > 0 ? P : x).filter((V) => typeof V.datasetIndex == "number" && typeof V.index == "number").map((V) => ({ datasetIndex: V.datasetIndex, index: V.index }));
1092
+ ), v = (P.length > 0 ? P : x).filter((N) => typeof N.datasetIndex == "number" && typeof N.index == "number").map((N) => ({ datasetIndex: N.datasetIndex, index: N.index }));
1093
1093
  if (v.length === 0)
1094
1094
  return;
1095
1095
  const b = n == null ? void 0 : n.tooltip;
@@ -1240,7 +1240,7 @@ function ir(e, t) {
1240
1240
  b
1241
1241
  ), k = x && L;
1242
1242
  d.__detailsPayload = k ? F : void 0, d.style.pointerEvents = k ? "auto" : "none";
1243
- const V = typeof (r == null ? void 0 : r.caretX) == "number" ? r.caretX : 0, q = Number(d.dataset.cursorCanvasX), I = Number(d.dataset.cursorCanvasY);
1243
+ const N = typeof (r == null ? void 0 : r.caretX) == "number" ? r.caretX : 0, q = Number(d.dataset.cursorCanvasX), I = Number(d.dataset.cursorCanvasY);
1244
1244
  if (!(Number.isFinite(q) && Number.isFinite(I))) {
1245
1245
  d.style.opacity = "0";
1246
1246
  return;
@@ -1251,7 +1251,7 @@ function ir(e, t) {
1251
1251
  return y;
1252
1252
  if (!Number.isFinite(y))
1253
1253
  return z;
1254
- const S = Number.isFinite(M) ? M : V, Z = Math.abs(y - S);
1254
+ const S = Number.isFinite(M) ? M : N, Z = Math.abs(y - S);
1255
1255
  return Math.abs(z - S) > Z ? z : y;
1256
1256
  }, Number.NaN) : Number.NaN, A = q, X = I, ee = e ? Number.isFinite(M) && Number.isFinite($) && $ < M ? "left" : "right" : "center";
1257
1257
  Mn(
@@ -1294,8 +1294,8 @@ function ko(e) {
1294
1294
  const b = "…";
1295
1295
  let F = 0, L = w.length;
1296
1296
  for (; F < L; ) {
1297
- const k = Math.floor((F + L) / 2), V = w.slice(0, k) + b;
1298
- x.measureText(V).width <= v ? F = k + 1 : L = k;
1297
+ const k = Math.floor((F + L) / 2), N = w.slice(0, k) + b;
1298
+ x.measureText(N).width <= v ? F = k + 1 : L = k;
1299
1299
  }
1300
1300
  return w.slice(0, F - 1) + b;
1301
1301
  }
@@ -1418,8 +1418,8 @@ function ko(e) {
1418
1418
  if (v.length === 0) return [];
1419
1419
  if (v.length === 1 && Array.isArray(v[0].backgroundColor) && v[0].backgroundColor.length > 1 && Array.isArray(v[0].data)) {
1420
1420
  const F = v[0];
1421
- return x.data.labels.map((k, V) => {
1422
- const q = F.backgroundColor[V];
1421
+ return x.data.labels.map((k, N) => {
1422
+ const q = F.backgroundColor[N];
1423
1423
  return {
1424
1424
  text: k,
1425
1425
  fontColor: w,
@@ -1427,8 +1427,8 @@ function ko(e) {
1427
1427
  fillStyle: q,
1428
1428
  strokeStyle: q,
1429
1429
  datasetIndex: 0,
1430
- index: V,
1431
- hidden: x.getDataVisibility ? !x.getDataVisibility(V) : !1
1430
+ index: N,
1431
+ hidden: x.getDataVisibility ? !x.getDataVisibility(N) : !1
1432
1432
  };
1433
1433
  });
1434
1434
  }
@@ -1503,7 +1503,7 @@ const cr = {
1503
1503
  function k(T, u) {
1504
1504
  return `${T || "section"}-${u}`;
1505
1505
  }
1506
- function V() {
1506
+ function N() {
1507
1507
  d.value = P.value.reduce(
1508
1508
  (T, u, y) => (T[k(u.title, y)] = qt, T),
1509
1509
  {}
@@ -1518,11 +1518,11 @@ const cr = {
1518
1518
  function I() {
1519
1519
  L(), m.value = !1;
1520
1520
  }
1521
- function N() {
1521
+ function V() {
1522
1522
  return typeof window > "u" ? Jn : Math.floor(window.innerWidth * 0.94);
1523
1523
  }
1524
1524
  function C(T) {
1525
- const u = N(), y = Math.min(xr, u);
1525
+ const u = V(), y = Math.min(xr, u);
1526
1526
  return Math.min(u, Math.max(y, Math.floor(T)));
1527
1527
  }
1528
1528
  function M(T) {
@@ -1554,14 +1554,14 @@ const cr = {
1554
1554
  m.value && T.key === "Escape" && I();
1555
1555
  }
1556
1556
  return Te([P, m], () => {
1557
- m.value && V();
1557
+ m.value && N();
1558
1558
  }), Rt(() => {
1559
- a.value = C(a.value), V(), document.addEventListener("pointerdown", Y, !0), document.addEventListener("keydown", W), window.addEventListener("resize", ee);
1559
+ a.value = C(a.value), N(), document.addEventListener("pointerdown", Y, !0), document.addEventListener("keydown", W), window.addEventListener("resize", ee);
1560
1560
  }), no(() => {
1561
1561
  $(), document.removeEventListener("pointerdown", Y, !0), document.removeEventListener("keydown", W), window.removeEventListener("resize", ee);
1562
1562
  }), (T, u) => {
1563
1563
  const y = se("FmButton");
1564
- return K(), ie(Vo, {
1564
+ return K(), ie(No, {
1565
1565
  "enter-active-class": "transform transition duration-200 ease-out",
1566
1566
  "enter-from-class": "translate-x-full opacity-0",
1567
1567
  "enter-to-class": "translate-x-0 opacity-100",
@@ -1671,7 +1671,7 @@ const cr = {
1671
1671
  },
1672
1672
  emits: ["toggleDatasetVisibility", "toggleDataPointVisibility"],
1673
1673
  setup(e, { emit: t }) {
1674
- const n = e, o = t, { t: r, locale: s } = st(), a = D([]), c = D(0), d = D(!1), m = D(!1), P = D(0), x = D(null), w = D(null), v = D(null), b = D(null), F = D(!1), L = D(0), k = D(0), V = D(!1), q = D(0), I = D(0), N = g(() => n.enabled !== !1), C = g(() => n.position === "left" || n.position === "right");
1674
+ const n = e, o = t, { t: r, locale: s } = st(), a = D([]), c = D(0), d = D(!1), m = D(!1), P = D(0), x = D(null), w = D(null), v = D(null), b = D(null), F = D(!1), L = D(0), k = D(0), N = D(!1), q = D(0), I = D(0), V = g(() => n.enabled !== !1), C = g(() => n.position === "left" || n.position === "right");
1675
1675
  let M = null;
1676
1676
  const $ = g(
1677
1677
  () => d.value && m.value && F.value
@@ -1749,10 +1749,10 @@ const cr = {
1749
1749
  p.scrollTop = J * U, H();
1750
1750
  }
1751
1751
  function Z(l) {
1752
- F.value && (V.value = !0, q.value = l.clientY, I.value = k.value);
1752
+ F.value && (N.value = !0, q.value = l.clientY, I.value = k.value);
1753
1753
  }
1754
1754
  function Q(l) {
1755
- if (!V.value)
1755
+ if (!N.value)
1756
1756
  return;
1757
1757
  const p = v.value;
1758
1758
  if (!p)
@@ -1761,7 +1761,7 @@ const cr = {
1761
1761
  p.scrollTop = O * E, H();
1762
1762
  }
1763
1763
  function oe() {
1764
- V.value && (V.value = !1);
1764
+ N.value && (N.value = !1);
1765
1765
  }
1766
1766
  function re() {
1767
1767
  var p;
@@ -2061,10 +2061,10 @@ const cr = {
2061
2061
  const Oe = l[We];
2062
2062
  if (!Oe)
2063
2063
  continue;
2064
- const Ve = ve + (ye > 0 ? ne : 0) + Oe.offsetHeight, ot = l.length - (We + 1) > 0 ? ne + de : 0;
2065
- if (Ve + ot > h)
2064
+ const Ne = ve + (ye > 0 ? ne : 0) + Oe.offsetHeight, ot = l.length - (We + 1) > 0 ? ne + de : 0;
2065
+ if (Ne + ot > h)
2066
2066
  break;
2067
- ve = Ve, ye += 1;
2067
+ ve = Ne, ye += 1;
2068
2068
  }
2069
2069
  return ye > 0 ? ye : 1;
2070
2070
  }
@@ -2107,9 +2107,9 @@ const cr = {
2107
2107
  if (ne > 0 && (P.value = ne), window.getComputedStyle(l).flexDirection.startsWith("column") && c.value < a.value.length) {
2108
2108
  const ye = Math.max(0, P.value - Zn), We = l.scrollHeight;
2109
2109
  if (We + 1 < ye) {
2110
- const Oe = p.map((Pe) => Pe.offsetHeight).filter((Pe) => Number.isFinite(Pe) && Pe > 0), Ve = Oe.length > 0 ? Oe.reduce((Pe, ot) => Pe + ot, 0) / Oe.length : 0;
2111
- if (Ve > 0) {
2112
- const Pe = window.getComputedStyle(l), ot = Number.parseFloat(Pe.rowGap || Pe.gap || "0") || 0, sn = Math.max(1, Ve + ot), un = ye - We, Lt = Math.floor(un / sn);
2110
+ const Oe = p.map((Pe) => Pe.offsetHeight).filter((Pe) => Number.isFinite(Pe) && Pe > 0), Ne = Oe.length > 0 ? Oe.reduce((Pe, ot) => Pe + ot, 0) / Oe.length : 0;
2111
+ if (Ne > 0) {
2112
+ const Pe = window.getComputedStyle(l), ot = Number.parseFloat(Pe.rowGap || Pe.gap || "0") || 0, sn = Math.max(1, Ne + ot), un = ye - We, Lt = Math.floor(un / sn);
2113
2113
  if (Lt > 0) {
2114
2114
  c.value = Math.min(
2115
2115
  a.value.length,
@@ -2127,7 +2127,7 @@ const cr = {
2127
2127
  (R || c.value <= 0) && (c.value = Math.max(0, ge)), m.value = me > O, y(), H();
2128
2128
  }
2129
2129
  function He() {
2130
- No(() => {
2130
+ Vo(() => {
2131
2131
  _t(), window.requestAnimationFrame(() => {
2132
2132
  _t(), B(), H();
2133
2133
  });
@@ -2159,7 +2159,7 @@ const cr = {
2159
2159
  return a.value;
2160
2160
  const l = Math.max(1, c.value), p = C.value ? l : Math.max(0, l - 1);
2161
2161
  return a.value.slice(0, Math.min(p, a.value.length));
2162
- }), nt = g(() => N.value ? m.value && d.value ? {
2162
+ }), nt = g(() => V.value ? m.value && d.value ? {
2163
2163
  flex: "1 1 auto",
2164
2164
  minHeight: "0",
2165
2165
  overflowY: "auto"
@@ -2168,7 +2168,7 @@ const cr = {
2168
2168
  } : {} : {});
2169
2169
  function kt() {
2170
2170
  var h;
2171
- if (!N.value) {
2171
+ if (!V.value) {
2172
2172
  a.value = [], c.value = 0, d.value = !1, m.value = !1, P.value = 0, W({ height: 0, width: 0 });
2173
2173
  return;
2174
2174
  }
@@ -2315,8 +2315,8 @@ const cr = {
2315
2315
  kt();
2316
2316
  }
2317
2317
  ), no(() => {
2318
- V.value = !1, T(), W({ height: 0, width: 0 }), window.removeEventListener("mousemove", Q), window.removeEventListener("mouseup", oe);
2319
- }), (l, p) => N.value ? (K(), ae("div", {
2318
+ N.value = !1, T(), W({ height: 0, width: 0 }), window.removeEventListener("mousemove", Q), window.removeEventListener("mouseup", oe);
2319
+ }), (l, p) => V.value ? (K(), ae("div", {
2320
2320
  key: 0,
2321
2321
  ref_key: "legendPanelRef",
2322
2322
  ref: x,
@@ -2487,13 +2487,13 @@ function Wt({ chartRef: e, model: t, baseDatasets: n }) {
2487
2487
  ), L = g(() => {
2488
2488
  const $ = b.value.position;
2489
2489
  return !$ || $ === "top" || $ === "bottom" || $ === "left" || $ === "right";
2490
- }), k = g(() => b.value.position ?? "top"), V = g(
2490
+ }), k = g(() => b.value.position ?? "top"), N = g(
2491
2491
  () => k.value === "left" || k.value === "right"
2492
2492
  ), q = g(
2493
2493
  () => k.value === "top" || k.value === "left"
2494
- ), { hiddenDatasetKeys: I, isDatasetHidden: N, toggleDatasetVisibility: C } = Mr(n), M = g(() => n.value.map(($, A) => ({
2494
+ ), { hiddenDatasetKeys: I, isDatasetHidden: V, toggleDatasetVisibility: C } = Mr(n), M = g(() => n.value.map(($, A) => ({
2495
2495
  ...$,
2496
- hidden: N($, A)
2496
+ hidden: V($, A)
2497
2497
  })));
2498
2498
  return {
2499
2499
  isTooltipDetailsSheetOpen: r,
@@ -2509,7 +2509,7 @@ function Wt({ chartRef: e, model: t, baseDatasets: n }) {
2509
2509
  legend: b,
2510
2510
  useCustomLegend: L,
2511
2511
  legendPosition: k,
2512
- isLegendSide: V,
2512
+ isLegendSide: N,
2513
2513
  isLegendBeforeChart: q,
2514
2514
  hiddenDatasetKeys: I,
2515
2515
  toggleDatasetVisibility: C,
@@ -2518,7 +2518,7 @@ function Wt({ chartRef: e, model: t, baseDatasets: n }) {
2518
2518
  }
2519
2519
  const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /* @__PURE__ */ Me({
2520
2520
  __name: "WidgetBarchart",
2521
- props: /* @__PURE__ */ Ne({
2521
+ props: /* @__PURE__ */ Ve({
2522
2522
  tileIndex: {}
2523
2523
  }, {
2524
2524
  modelValue: { required: !0 },
@@ -2546,7 +2546,7 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2546
2546
  }
2547
2547
  const P = g(() => o.value.length > 0 ? [
2548
2548
  ...o.value.map((u, y) => {
2549
- const B = Vt({
2549
+ const B = Nt({
2550
2550
  datasets: o.value,
2551
2551
  datasetIndex: y
2552
2552
  }), H = De({
@@ -2597,10 +2597,10 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2597
2597
  handleTooltipDetailsLeave: F,
2598
2598
  comparisonTooltip: L,
2599
2599
  datalabels: k,
2600
- xCfg: V,
2600
+ xCfg: N,
2601
2601
  yCfg: q,
2602
2602
  isTransposed: I,
2603
- legend: N,
2603
+ legend: V,
2604
2604
  useCustomLegend: C,
2605
2605
  legendPosition: M,
2606
2606
  isLegendSide: $,
@@ -2641,16 +2641,16 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2641
2641
  Qe(u.$slots, "menu"),
2642
2642
  G("div", {
2643
2643
  class: _e(["chart-layout", {
2644
- "chart-layout--side": i(C) && (i(N).display ?? !1) && i($)
2644
+ "chart-layout--side": i(C) && (i(V).display ?? !1) && i($)
2645
2645
  }])
2646
2646
  }, [
2647
- i(C) && (i(N).display ?? !1) && i(A) ? (K(), ie(Ae, {
2647
+ i(C) && (i(V).display ?? !1) && i(A) ? (K(), ie(Ae, {
2648
2648
  key: 0,
2649
2649
  "chart-ref": n.value,
2650
- enabled: i(N).display ?? !1,
2650
+ enabled: i(V).display ?? !1,
2651
2651
  position: i(M),
2652
- "text-color": (H = i(N).labels) == null ? void 0 : H.color,
2653
- "font-size": (S = (z = i(N).labels) == null ? void 0 : z.font) == null ? void 0 : S.size,
2652
+ "text-color": (H = i(V).labels) == null ? void 0 : H.color,
2653
+ "font-size": (S = (z = i(V).labels) == null ? void 0 : z.font) == null ? void 0 : S.size,
2654
2654
  "legend-update-key": i(Y),
2655
2655
  "use-point-style": t.value.usePointStyle ?? !0,
2656
2656
  "chart-color-binding": t.value.chartColorBinding,
@@ -2667,7 +2667,7 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2667
2667
  class: "bar-chart",
2668
2668
  datasets: W.value,
2669
2669
  "x-axis": { categories: a.value },
2670
- "x-cfg": i(V),
2670
+ "x-cfg": i(N),
2671
2671
  "y-cfg": i(q),
2672
2672
  transpose: i(I),
2673
2673
  legend: T.value,
@@ -2676,13 +2676,13 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2676
2676
  plugins: [i(d)],
2677
2677
  "maintain-aspect-ratio": !1
2678
2678
  }, null, 8, ["datasets", "x-axis", "x-cfg", "y-cfg", "transpose", "legend", "tooltip", "datalabels", "plugins"]),
2679
- i(C) && (i(N).display ?? !1) && !i(A) ? (K(), ie(Ae, {
2679
+ i(C) && (i(V).display ?? !1) && !i(A) ? (K(), ie(Ae, {
2680
2680
  key: 1,
2681
2681
  "chart-ref": n.value,
2682
- enabled: i(N).display ?? !1,
2682
+ enabled: i(V).display ?? !1,
2683
2683
  position: i(M),
2684
- "text-color": (Z = i(N).labels) == null ? void 0 : Z.color,
2685
- "font-size": (oe = (Q = i(N).labels) == null ? void 0 : Q.font) == null ? void 0 : oe.size,
2684
+ "text-color": (Z = i(V).labels) == null ? void 0 : Z.color,
2685
+ "font-size": (oe = (Q = i(V).labels) == null ? void 0 : Q.font) == null ? void 0 : oe.size,
2686
2686
  "legend-update-key": i(Y),
2687
2687
  "use-point-style": t.value.usePointStyle ?? !0,
2688
2688
  "chart-color-binding": t.value.chartColorBinding,
@@ -2707,7 +2707,7 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2707
2707
  }
2708
2708
  }), Fr = { class: "widget-content" }, Rr = /* @__PURE__ */ Me({
2709
2709
  __name: "WidgetCircular",
2710
- props: /* @__PURE__ */ Ne({
2710
+ props: /* @__PURE__ */ Ve({
2711
2711
  tileIndex: {}
2712
2712
  }, {
2713
2713
  modelValue: { required: !0 },
@@ -2716,8 +2716,8 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2716
2716
  emits: ["update:modelValue"],
2717
2717
  setup(e) {
2718
2718
  const t = ze(e, "modelValue"), { breakpoints: n } = $t(), o = D(null), r = D([]), { datalabels: s, legend: a } = ko(t.value), c = g(() => {
2719
- const I = Array.isArray(t.value.data.datasets) ? t.value.data.datasets.map((N) => N.name) : [];
2720
- return I.length > 0 ? I : Array.isArray(t.value.data.metrics) ? t.value.data.metrics.map((N) => String(N)) : [];
2719
+ const I = Array.isArray(t.value.data.datasets) ? t.value.data.datasets.map((V) => V.name) : [];
2720
+ return I.length > 0 ? I : Array.isArray(t.value.data.metrics) ? t.value.data.metrics.map((V) => String(V)) : [];
2721
2721
  }), d = g(() => {
2722
2722
  let I = [];
2723
2723
  return Array.isArray(t.value.data.datasets) && t.value.data.datasets.length > 0 && (I = [
@@ -2736,11 +2736,11 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2736
2736
  Te(
2737
2737
  () => t.value.data.datasets,
2738
2738
  (I) => {
2739
- const N = new Set(
2739
+ const V = new Set(
2740
2740
  Array.isArray(I) ? I.map((C, M) => M) : []
2741
2741
  );
2742
2742
  r.value = r.value.filter(
2743
- (C) => N.has(C)
2743
+ (C) => V.has(C)
2744
2744
  );
2745
2745
  },
2746
2746
  { deep: !0 }
@@ -2753,20 +2753,20 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2753
2753
  ), F = g(
2754
2754
  () => v.value === "top" || v.value === "left"
2755
2755
  ), L = g(() => {
2756
- var N;
2757
- const I = (N = a.value.labels) == null ? void 0 : N.color;
2756
+ var V;
2757
+ const I = (V = a.value.labels) == null ? void 0 : V.color;
2758
2758
  return typeof I == "string" && I.trim().length > 0 ? I : t.value.legendColor ?? "#6b6b6b";
2759
- }), k = g(() => m.value), V = fa();
2759
+ }), k = g(() => m.value), N = fa();
2760
2760
  function q({ itemIndex: I }) {
2761
2761
  if (r.value.includes(I)) {
2762
2762
  r.value = r.value.filter(
2763
- (N) => N !== I
2763
+ (V) => V !== I
2764
2764
  );
2765
2765
  return;
2766
2766
  }
2767
2767
  r.value = [...r.value, I];
2768
2768
  }
2769
- return (I, N) => {
2769
+ return (I, V) => {
2770
2770
  const C = se("FmPieChart");
2771
2771
  return K(), ae("div", Fr, [
2772
2772
  Qe(I.$slots, "menu"),
@@ -2799,7 +2799,7 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2799
2799
  percentage: "70%",
2800
2800
  datasets: d.value,
2801
2801
  metrics: c.value,
2802
- tooltip: i(V),
2802
+ tooltip: i(N),
2803
2803
  variant: "doughnut",
2804
2804
  legend: {
2805
2805
  display: !1
@@ -2837,7 +2837,7 @@ function At(e) {
2837
2837
  const [o, r] = t.split("."), s = new Intl.NumberFormat("en-US").format(Number(o));
2838
2838
  return r !== void 0 ? `${s}.${r}` : s;
2839
2839
  }
2840
- const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "flex flex-wrap gap-x-4 gap-y-2" }, Nr = { class: "flex items-center gap-1" }, zr = ["title"], Hr = { class: "fm-typo-en-body-lg-600" }, Wr = {
2840
+ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Nr = { class: "flex flex-wrap gap-x-4 gap-y-2" }, Vr = { class: "flex items-center gap-1" }, zr = ["title"], Hr = { class: "fm-typo-en-body-lg-600" }, Wr = {
2841
2841
  class: "flex w-full h-3 shrink-0 rounded-full overflow-hidden",
2842
2842
  style: { "background-color": "#f2f2f7" }
2843
2843
  }, Or = /* @__PURE__ */ Me({
@@ -2861,12 +2861,12 @@ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "f
2861
2861
  });
2862
2862
  });
2863
2863
  return (o, r) => (K(), ae("div", $r, [
2864
- G("div", Vr, [
2864
+ G("div", Nr, [
2865
2865
  (K(!0), ae(Be, null, lt(n.value, (s, a) => (K(), ae("div", {
2866
2866
  key: a,
2867
2867
  class: "flex flex-col gap-1 flex-1 min-w-[80px]"
2868
2868
  }, [
2869
- G("div", Nr, [
2869
+ G("div", Vr, [
2870
2870
  G("span", {
2871
2871
  class: "inline-block w-3 h-3 rounded-sm shrink-0",
2872
2872
  style: Le({ backgroundColor: s.color })
@@ -2936,14 +2936,14 @@ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "f
2936
2936
  }))), b = g(
2937
2937
  () => v.value.map((k) => ({ ...k, backgroundColor: "rgba(54,162,235,0.25)" }))
2938
2938
  ), F = g(() => kn(!1)), L = g(() => kn(!1));
2939
- return (k, V) => {
2939
+ return (k, N) => {
2940
2940
  var $;
2941
- const q = se("FmIcon"), I = se("FmChip"), N = se("FmTooltip"), C = se("FmLineChart"), M = se("FmBarChart");
2941
+ const q = se("FmIcon"), I = se("FmChip"), V = se("FmTooltip"), C = se("FmLineChart"), M = se("FmBarChart");
2942
2942
  return K(), ae("div", Ur, [
2943
2943
  Qe(k.$slots, "menu"),
2944
2944
  G("p", Kr, Se(c.value), 1),
2945
2945
  G("div", Xr, [
2946
- ue(N, {
2946
+ ue(V, {
2947
2947
  disabled: d.value === null,
2948
2948
  placement: "right",
2949
2949
  "hide-arrow": "",
@@ -2985,7 +2985,7 @@ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "f
2985
2985
  name: "arrow_upward",
2986
2986
  color: "#C7C7CC"
2987
2987
  }),
2988
- V[0] || (V[0] = G("p", { class: "fm-typo-en-body-md-600" }, " ", -1))
2988
+ N[0] || (N[0] = G("p", { class: "fm-typo-en-body-md-600" }, " ", -1))
2989
2989
  ]),
2990
2990
  _: 1
2991
2991
  })) : fe("", !0)
@@ -3026,7 +3026,7 @@ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "f
3026
3026
  values: (($ = P.value.datasets[0]) == null ? void 0 : $.values) ?? [],
3027
3027
  "percent-of-total": P.value.percentOfTotal === !0
3028
3028
  }, null, 8, ["dimensions", "values", "percent-of-total"]))
3029
- ])) : (K(), ae("div", Gr, V[1] || (V[1] = [
3029
+ ])) : (K(), ae("div", Gr, N[1] || (N[1] = [
3030
3030
  G("div", { class: "sparkline" }, [
3031
3031
  G("div", { class: "flex flex-col gap-8" }, [
3032
3032
  G("div"),
@@ -3043,12 +3043,12 @@ function Jr(e, t) {
3043
3043
  const n = se("FmMenuDivider");
3044
3044
  return K(), ie(n);
3045
3045
  }
3046
- const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableData.worker-DlxE2vZ8.js", el = { class: "flex h-full flex-col" }, tl = { class: "my-4 shrink-0" }, nl = {
3046
+ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableData.worker-BNG4ahN0.js", el = { class: "flex h-full flex-col" }, tl = { class: "my-4 shrink-0" }, nl = {
3047
3047
  class: "border-b border-fm-color-neutral-gray-100 hover:bg-fm-color-opacity-sm",
3048
3048
  style: { backgroundColor: "#f9f9f9" }
3049
3049
  }, ol = { class: "font-bold" }, al = { class: "text-fm-color-neutral-gray-300" }, rl = /* @__PURE__ */ Me({
3050
3050
  __name: "WidgetTable",
3051
- props: /* @__PURE__ */ Ne({
3051
+ props: /* @__PURE__ */ Ve({
3052
3052
  tileIndex: {}
3053
3053
  }, {
3054
3054
  modelValue: { required: !0 },
@@ -3088,19 +3088,19 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3088
3088
  maxWidth: y
3089
3089
  };
3090
3090
  }
3091
- const V = g(() => o.value.filterText), q = g(() => {
3091
+ const N = g(() => o.value.filterText), q = g(() => {
3092
3092
  var y;
3093
3093
  const u = (y = o.value.grandTotalLabel) == null ? void 0 : y.trim();
3094
3094
  return u && u.length > 0 ? u : at(t, n, "Grand total", "other");
3095
3095
  }), I = g(() => {
3096
3096
  var u, y;
3097
- if (!(V.value && V.value.trim().length > 0 || !((u = w.value[0]) != null && u.isRollup) && !((y = w.value[w.value.length - 1]) != null && y.isRollup))) {
3097
+ if (!(N.value && N.value.trim().length > 0 || !((u = w.value[0]) != null && u.isRollup) && !((y = w.value[w.value.length - 1]) != null && y.isRollup))) {
3098
3098
  if (o.value.rollupPosition === Ze.top || o.value.rollupPosition === void 0)
3099
3099
  return Ze.top;
3100
3100
  if (o.value.rollupPosition === Ze.bottom)
3101
3101
  return Ze.bottom;
3102
3102
  }
3103
- }), N = g(() => {
3103
+ }), V = g(() => {
3104
3104
  const u = b.value, y = 34.5, B = 32, H = I.value !== void 0 ? 1 : 0, z = (P.value ? P.value.$el.offsetHeight : 0) - u;
3105
3105
  return Math.floor((z - y - B) / u) - H;
3106
3106
  }), C = g(() => {
@@ -3162,13 +3162,13 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3162
3162
  })), H = {
3163
3163
  rows: y,
3164
3164
  columns: B,
3165
- filter: V.value ?? "",
3165
+ filter: N.value ?? "",
3166
3166
  globalSorts: Ho(m.value).map((S) => ({
3167
3167
  key: S.key,
3168
3168
  type: S.type
3169
3169
  })),
3170
3170
  grandTotalPosition: I.value,
3171
- pageSize: N.value
3171
+ pageSize: V.value
3172
3172
  };
3173
3173
  Yo(Qr, H).then((S) => {
3174
3174
  u === A && (S != null && S.error ? (c.open({ message: "Failed to process table data. Please retry.", type: "error" }), console.log(S.error), $.value = []) : $.value = Wo(S.data || []));
@@ -3187,10 +3187,10 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3187
3187
  return JSON.stringify({
3188
3188
  rowsLength: u.length,
3189
3189
  columns: y.map((z) => ({ key: z.key, type: z.type, label: z.label })),
3190
- filter: V.value ?? "",
3190
+ filter: N.value ?? "",
3191
3191
  globalSorts: m.value.map((z) => ({ key: z.key, type: z.type })),
3192
3192
  grandTotalPosition: I.value,
3193
- pageSize: N.value
3193
+ pageSize: V.value
3194
3194
  });
3195
3195
  });
3196
3196
  Te(
@@ -3272,8 +3272,8 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3272
3272
  ref: P,
3273
3273
  "column-defs": T.value,
3274
3274
  "row-data": $.value,
3275
- "search-value": V.value,
3276
- "page-size": N.value,
3275
+ "search-value": N.value,
3276
+ "page-size": V.value,
3277
3277
  "shrink-at": !1,
3278
3278
  "force-mobile-footer": !0,
3279
3279
  class: "scrollbar-hide-table min-h-0 flex-1",
@@ -3320,7 +3320,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3320
3320
  }
3321
3321
  }), ll = { class: "widget-content" }, sl = /* @__PURE__ */ Me({
3322
3322
  __name: "WidgetStackBarChart",
3323
- props: /* @__PURE__ */ Ne({
3323
+ props: /* @__PURE__ */ Ve({
3324
3324
  tileIndex: {}
3325
3325
  }, {
3326
3326
  modelValue: { required: !0 },
@@ -3353,7 +3353,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3353
3353
  const x = g(() => {
3354
3354
  if (r.value.length > 0) {
3355
3355
  const T = r.value.map((u, y) => {
3356
- const B = Vt({
3356
+ const B = Nt({
3357
3357
  datasets: r.value,
3358
3358
  datasetIndex: y
3359
3359
  }), H = De({
@@ -3408,10 +3408,10 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3408
3408
  handleTooltipDetailsHover: F,
3409
3409
  handleTooltipDetailsLeave: L,
3410
3410
  comparisonTooltip: k,
3411
- datalabels: V,
3411
+ datalabels: N,
3412
3412
  xCfg: q,
3413
3413
  yCfg: I,
3414
- isTransposed: N,
3414
+ isTransposed: V,
3415
3415
  legend: C,
3416
3416
  useCustomLegend: M,
3417
3417
  legendPosition: $,
@@ -3461,14 +3461,14 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3461
3461
  "x-axis": { categories: o.value },
3462
3462
  "x-cfg": d.value,
3463
3463
  "y-cfg": m.value,
3464
- transpose: i(N),
3464
+ transpose: i(V),
3465
3465
  stacked: c.value,
3466
3466
  legend: {
3467
3467
  display: !1
3468
3468
  },
3469
3469
  tooltip: i(k),
3470
3470
  plugins: [i(s)],
3471
- datalabels: i(V),
3471
+ datalabels: i(N),
3472
3472
  "maintain-aspect-ratio": !1
3473
3473
  }, null, 8, ["datasets", "x-axis", "x-cfg", "y-cfg", "transpose", "stacked", "tooltip", "plugins", "datalabels"]),
3474
3474
  i(M) && (i(C).display ?? !1) && !i(X) ? (K(), ie(Ae, {
@@ -3502,7 +3502,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3502
3502
  }
3503
3503
  }), il = { class: "widget-content" }, pn = 1, to = "rgba(0, 0, 0, 0)", ul = /* @__PURE__ */ Me({
3504
3504
  __name: "WidgetClusteredStackBarchart",
3505
- props: /* @__PURE__ */ Ne({
3505
+ props: /* @__PURE__ */ Ve({
3506
3506
  tileIndex: {}
3507
3507
  }, {
3508
3508
  modelValue: { required: !0 },
@@ -3579,7 +3579,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3579
3579
  const oe = Math.max(Z.size, 1), re = t.value.chartColorBinding === be.breakdown, he = t.value.chartUseSecondaryMetricShades !== !1;
3580
3580
  return S.map((le) => {
3581
3581
  var Ee;
3582
- const pe = Vt({
3582
+ const pe = Nt({
3583
3583
  datasets: r.value,
3584
3584
  datasetIndex: le.index
3585
3585
  }), Ce = co({
@@ -3627,10 +3627,10 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3627
3627
  }), {
3628
3628
  isTooltipDetailsSheetOpen: L,
3629
3629
  tooltipDetailsPayload: k,
3630
- handleTooltipDetailsSheetVisibility: V,
3630
+ handleTooltipDetailsSheetVisibility: N,
3631
3631
  handleTooltipDetailsHover: q,
3632
3632
  handleTooltipDetailsLeave: I,
3633
- comparisonTooltip: N,
3633
+ comparisonTooltip: V,
3634
3634
  datalabels: C,
3635
3635
  xCfg: M,
3636
3636
  yCfg: $,
@@ -3707,7 +3707,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3707
3707
  transpose: i(A),
3708
3708
  stacked: c.value,
3709
3709
  legend: z.value,
3710
- tooltip: i(N),
3710
+ tooltip: i(V),
3711
3711
  plugins: [i(s)],
3712
3712
  datalabels: i(C),
3713
3713
  "maintain-aspect-ratio": !1
@@ -3734,7 +3734,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3734
3734
  ue(Ht, {
3735
3735
  "model-value": i(L),
3736
3736
  "details-payload": i(k),
3737
- "onUpdate:modelValue": i(V),
3737
+ "onUpdate:modelValue": i(N),
3738
3738
  onValueHover: i(q),
3739
3739
  onValueLeave: i(I)
3740
3740
  }, null, 8, ["model-value", "details-payload", "onUpdate:modelValue", "onValueHover", "onValueLeave"])
@@ -3760,7 +3760,7 @@ function To(e = "report-line-style-plugin") {
3760
3760
  }
3761
3761
  const dl = { class: "widget-content" }, fl = /* @__PURE__ */ Me({
3762
3762
  __name: "WidgetStackLineChart",
3763
- props: /* @__PURE__ */ Ne({
3763
+ props: /* @__PURE__ */ Ve({
3764
3764
  tileIndex: {}
3765
3765
  }, {
3766
3766
  modelValue: { required: !0 },
@@ -3779,7 +3779,7 @@ const dl = { class: "widget-content" }, fl = /* @__PURE__ */ Me({
3779
3779
  }), c = zt("line"), d = To("report-line-style-plugin-stack-line"), m = g(() => a.value.length > 0 ? [
3780
3780
  ...a.value.map((Y, W) => {
3781
3781
  var re;
3782
- const T = Vt({
3782
+ const T = Nt({
3783
3783
  datasets: a.value,
3784
3784
  datasetIndex: W
3785
3785
  });
@@ -3839,10 +3839,10 @@ const dl = { class: "widget-content" }, fl = /* @__PURE__ */ Me({
3839
3839
  comparisonTooltip: F,
3840
3840
  datalabels: L,
3841
3841
  xCfg: k,
3842
- yCfg: V,
3842
+ yCfg: N,
3843
3843
  isTransposed: q,
3844
3844
  legend: I,
3845
- useCustomLegend: N,
3845
+ useCustomLegend: V,
3846
3846
  legendPosition: C,
3847
3847
  isLegendSide: M,
3848
3848
  isLegendBeforeChart: $,
@@ -3862,10 +3862,10 @@ const dl = { class: "widget-content" }, fl = /* @__PURE__ */ Me({
3862
3862
  Qe(Y.$slots, "menu"),
3863
3863
  G("div", {
3864
3864
  class: _e(["chart-layout", {
3865
- "chart-layout--side": i(N) && (i(I).display ?? !1) && i(M)
3865
+ "chart-layout--side": i(V) && (i(I).display ?? !1) && i(M)
3866
3866
  }])
3867
3867
  }, [
3868
- i(N) && (i(I).display ?? !1) && i($) ? (K(), ie(Ae, {
3868
+ i(V) && (i(I).display ?? !1) && i($) ? (K(), ie(Ae, {
3869
3869
  key: 0,
3870
3870
  "chart-ref": n.value,
3871
3871
  enabled: i(I).display ?? !1,
@@ -3889,7 +3889,7 @@ const dl = { class: "widget-content" }, fl = /* @__PURE__ */ Me({
3889
3889
  datasets: i(ee),
3890
3890
  "x-axis": { categories: s.value },
3891
3891
  "x-cfg": i(k),
3892
- "y-cfg": i(V),
3892
+ "y-cfg": i(N),
3893
3893
  transpose: i(q),
3894
3894
  legend: {
3895
3895
  display: !1
@@ -3900,7 +3900,7 @@ const dl = { class: "widget-content" }, fl = /* @__PURE__ */ Me({
3900
3900
  datalabels: i(L),
3901
3901
  "maintain-aspect-ratio": !1
3902
3902
  }, null, 8, ["datasets", "x-axis", "x-cfg", "y-cfg", "transpose", "tooltip", "plugins", "datalabels"]),
3903
- i(N) && (i(I).display ?? !1) && !i($) ? (K(), ie(Ae, {
3903
+ i(V) && (i(I).display ?? !1) && !i($) ? (K(), ie(Ae, {
3904
3904
  key: 1,
3905
3905
  "chart-ref": n.value,
3906
3906
  enabled: i(I).display ?? !1,
@@ -3967,7 +3967,7 @@ function xl(e, t) {
3967
3967
  }
3968
3968
  const wl = { class: "widget-content" }, _l = /* @__PURE__ */ Me({
3969
3969
  __name: "WidgetLinechart",
3970
- props: /* @__PURE__ */ Ne({
3970
+ props: /* @__PURE__ */ Ve({
3971
3971
  tileIndex: {}
3972
3972
  }, {
3973
3973
  modelValue: { required: !0 },
@@ -3986,7 +3986,7 @@ const wl = { class: "widget-content" }, _l = /* @__PURE__ */ Me({
3986
3986
  ), c = g(() => s.value ? o.value.map((W) => W.name) : a.value ? ["", r.value[0], ""] : r.value), d = zt("line"), m = To("report-line-style-plugin-line"), P = g(() => o.value.length > 0 ? [
3987
3987
  ...o.value.map((W, T) => {
3988
3988
  var pe;
3989
- const u = Vt({
3989
+ const u = Nt({
3990
3990
  datasets: o.value,
3991
3991
  datasetIndex: T
3992
3992
  }), y = De({
@@ -4047,10 +4047,10 @@ const wl = { class: "widget-content" }, _l = /* @__PURE__ */ Me({
4047
4047
  handleTooltipDetailsLeave: F,
4048
4048
  comparisonTooltip: L,
4049
4049
  datalabels: k,
4050
- xCfg: V,
4050
+ xCfg: N,
4051
4051
  yCfg: q,
4052
4052
  isTransposed: I,
4053
- legend: N,
4053
+ legend: V,
4054
4054
  useCustomLegend: C,
4055
4055
  legendPosition: M,
4056
4056
  isLegendSide: $,
@@ -4071,16 +4071,16 @@ const wl = { class: "widget-content" }, _l = /* @__PURE__ */ Me({
4071
4071
  Qe(W.$slots, "menu"),
4072
4072
  G("div", {
4073
4073
  class: _e(["chart-layout", {
4074
- "chart-layout--side": i(C) && (i(N).display ?? !1) && i($)
4074
+ "chart-layout--side": i(C) && (i(V).display ?? !1) && i($)
4075
4075
  }])
4076
4076
  }, [
4077
- i(C) && (i(N).display ?? !1) && i(A) ? (K(), ie(Ae, {
4077
+ i(C) && (i(V).display ?? !1) && i(A) ? (K(), ie(Ae, {
4078
4078
  key: 0,
4079
4079
  "chart-ref": n.value,
4080
- enabled: i(N).display ?? !1,
4080
+ enabled: i(V).display ?? !1,
4081
4081
  position: i(M),
4082
- "text-color": (y = i(N).labels) == null ? void 0 : y.color,
4083
- "font-size": (H = (B = i(N).labels) == null ? void 0 : B.font) == null ? void 0 : H.size,
4082
+ "text-color": (y = i(V).labels) == null ? void 0 : y.color,
4083
+ "font-size": (H = (B = i(V).labels) == null ? void 0 : B.font) == null ? void 0 : H.size,
4084
4084
  "legend-update-key": i(Y),
4085
4085
  "chart-color-binding": t.value.chartColorBinding,
4086
4086
  "chart-colors": t.value.chartColors,
@@ -4097,7 +4097,7 @@ const wl = { class: "widget-content" }, _l = /* @__PURE__ */ Me({
4097
4097
  class: "line-chart",
4098
4098
  datasets: i(Y),
4099
4099
  "x-axis": { categories: c.value },
4100
- "x-cfg": i(V),
4100
+ "x-cfg": i(N),
4101
4101
  "y-cfg": i(q),
4102
4102
  transpose: i(I),
4103
4103
  legend: {
@@ -4108,13 +4108,13 @@ const wl = { class: "widget-content" }, _l = /* @__PURE__ */ Me({
4108
4108
  plugins: [i(d), i(m)],
4109
4109
  "maintain-aspect-ratio": !1
4110
4110
  }, null, 8, ["datasets", "x-axis", "x-cfg", "y-cfg", "transpose", "tooltip", "datalabels", "plugins"]),
4111
- i(C) && (i(N).display ?? !1) && !i(A) ? (K(), ie(Ae, {
4111
+ i(C) && (i(V).display ?? !1) && !i(A) ? (K(), ie(Ae, {
4112
4112
  key: 1,
4113
4113
  "chart-ref": n.value,
4114
- enabled: i(N).display ?? !1,
4114
+ enabled: i(V).display ?? !1,
4115
4115
  position: i(M),
4116
- "text-color": (z = i(N).labels) == null ? void 0 : z.color,
4117
- "font-size": (Z = (S = i(N).labels) == null ? void 0 : S.font) == null ? void 0 : Z.size,
4116
+ "text-color": (z = i(V).labels) == null ? void 0 : z.color,
4117
+ "font-size": (Z = (S = i(V).labels) == null ? void 0 : S.font) == null ? void 0 : Z.size,
4118
4118
  "legend-update-key": i(Y),
4119
4119
  "chart-color-binding": t.value.chartColorBinding,
4120
4120
  "chart-colors": t.value.chartColors,
@@ -4139,7 +4139,7 @@ const wl = { class: "widget-content" }, _l = /* @__PURE__ */ Me({
4139
4139
  }
4140
4140
  }), Sl = { class: "flex flex-col gap-16" }, kl = { class: "flex flex-row" }, Tl = /* @__PURE__ */ Me({
4141
4141
  __name: "PdfOrientationDialog",
4142
- props: /* @__PURE__ */ Ne({
4142
+ props: /* @__PURE__ */ Ve({
4143
4143
  reportType: {},
4144
4144
  index: {}
4145
4145
  }, {
@@ -4172,10 +4172,10 @@ const wl = { class: "widget-content" }, _l = /* @__PURE__ */ Me({
4172
4172
  }
4173
4173
  }
4174
4174
  return (F, L) => {
4175
- const k = se("FmRadio"), V = se("FmRadioGroup"), q = se("FmButton"), I = se("FmDialog");
4175
+ const k = se("FmRadio"), N = se("FmRadioGroup"), q = se("FmButton"), I = se("FmDialog");
4176
4176
  return K(), ie(I, {
4177
4177
  modelValue: s.value,
4178
- "onUpdate:modelValue": L[2] || (L[2] = (N) => s.value = N),
4178
+ "onUpdate:modelValue": L[2] || (L[2] = (V) => s.value = V),
4179
4179
  overlay: !0,
4180
4180
  "z-index": 10
4181
4181
  }, {
@@ -4190,9 +4190,9 @@ const wl = { class: "widget-content" }, _l = /* @__PURE__ */ Me({
4190
4190
  }, {
4191
4191
  default: we(() => [
4192
4192
  G("div", Sl, [
4193
- ue(V, {
4193
+ ue(N, {
4194
4194
  modelValue: w.value,
4195
- "onUpdate:modelValue": L[0] || (L[0] = (N) => w.value = N)
4195
+ "onUpdate:modelValue": L[0] || (L[0] = (V) => w.value = V)
4196
4196
  }, {
4197
4197
  default: we(() => [
4198
4198
  ue(k, {
@@ -4212,7 +4212,7 @@ const wl = { class: "widget-content" }, _l = /* @__PURE__ */ Me({
4212
4212
  ue(q, {
4213
4213
  label: i(t)("report.common.cancel"),
4214
4214
  variant: "tertiary",
4215
- onClick: L[1] || (L[1] = (N) => s.value = !1)
4215
+ onClick: L[1] || (L[1] = (V) => s.value = !1)
4216
4216
  }, null, 8, ["label"]),
4217
4217
  G("div", null, [
4218
4218
  ue(q, {
@@ -4277,7 +4277,7 @@ function Ll(e) {
4277
4277
  pointer-events: auto;
4278
4278
  `;
4279
4279
  const M = c.cloneNode(!0);
4280
- M.style.cssText = "pointer-events: auto;", b(c, M), C.appendChild(M), s.appendChild(C), document.body.appendChild(s), k(), V(), q(), L();
4280
+ M.style.cssText = "pointer-events: auto;", b(c, M), C.appendChild(M), s.appendChild(C), document.body.appendChild(s), k(), N(), q(), L();
4281
4281
  }
4282
4282
  function b(C, M) {
4283
4283
  const $ = C.querySelectorAll("th, td"), A = M.querySelectorAll("th, td");
@@ -4352,7 +4352,7 @@ function Ll(e) {
4352
4352
  for (; C; )
4353
4353
  C !== document.body && (C.scrollHeight > C.clientHeight || C.scrollWidth > C.clientWidth) && C.addEventListener("scroll", m, { passive: !0 }), C = C.parentElement;
4354
4354
  }
4355
- function V() {
4355
+ function N() {
4356
4356
  d = new ResizeObserver(() => {
4357
4357
  if (c && s) {
4358
4358
  const C = s.querySelector("thead");
@@ -4393,7 +4393,7 @@ function Ll(e) {
4393
4393
  }
4394
4394
  d && (d.disconnect(), d = null), P && (P.disconnect(), P = null), a = null, c = null;
4395
4395
  }
4396
- function N() {
4396
+ function V() {
4397
4397
  v();
4398
4398
  }
4399
4399
  return Te(o, (C) => {
@@ -4406,7 +4406,7 @@ function Ll(e) {
4406
4406
  o.value && setTimeout(v, 100);
4407
4407
  }), ao(() => {
4408
4408
  I();
4409
- }), { refresh: N, cleanup: I };
4409
+ }), { refresh: V, cleanup: I };
4410
4410
  }
4411
4411
  const Dl = {
4412
4412
  key: 0,
@@ -4419,7 +4419,7 @@ const Dl = {
4419
4419
  class: "flex"
4420
4420
  }, Ul = /* @__PURE__ */ Me({
4421
4421
  __name: "DynamicWidget",
4422
- props: /* @__PURE__ */ Ne({
4422
+ props: /* @__PURE__ */ Ve({
4423
4423
  index: {
4424
4424
  type: Number,
4425
4425
  default: 0
@@ -4447,7 +4447,7 @@ const Dl = {
4447
4447
  } },
4448
4448
  modelModifiers: {}
4449
4449
  }),
4450
- emits: /* @__PURE__ */ Ne(["update:table-response"], ["update:modelValue"]),
4450
+ emits: /* @__PURE__ */ Ve(["update:table-response"], ["update:modelValue"]),
4451
4451
  setup(e, { emit: t }) {
4452
4452
  const n = D(!0), o = ze(e, "modelValue"), r = t, s = o.value.widget.config, { t: a, te: c, locale: d } = st(), m = e, P = D(null), x = g(() => o.value.widget.type === te.Table), w = g(() => {
4453
4453
  var _;
@@ -4463,9 +4463,9 @@ const Dl = {
4463
4463
  return _ >= 0 ? _ : 0;
4464
4464
  } else
4465
4465
  return -1;
4466
- }), V = g(() => k.value !== 0), q = g(
4466
+ }), N = g(() => k.value !== 0), q = g(
4467
4467
  () => k.value != ye.value.length - 1
4468
- ), I = D(s.showTitle ?? !0), N = D(s.titleFontSize ?? 14), C = D(s.titleBold ?? !1), M = D(s.titleItalic ?? !1), $ = D(s.titleUnderline ?? !1), A = D(
4468
+ ), I = D(s.showTitle ?? !0), V = D(s.titleFontSize ?? 14), C = D(s.titleBold ?? !1), M = D(s.titleItalic ?? !1), $ = D(s.titleUnderline ?? !1), A = D(
4469
4469
  Array.isArray(s.chartColors) ? [...s.chartColors] : void 0
4470
4470
  ), X = D(
4471
4471
  Array.isArray(s.chartColorLayers) ? [...s.chartColorLayers] : void 0
@@ -4518,10 +4518,10 @@ const Dl = {
4518
4518
  case te.Table:
4519
4519
  return rl;
4520
4520
  default:
4521
- return Vn;
4521
+ return Nn;
4522
4522
  }
4523
4523
  else
4524
- return Vn;
4524
+ return Nn;
4525
4525
  }), l = D(null), { selectedLocationIds: p, dateRange: f, compareDateRange: h, timeRange: R } = Bt(en()), { globalFilters: O, isAllGlobalFiltersLoaded: E } = Bt(Eo()), { businessDataVersion: J } = Bt(en()), U = D(!0), j = g(() => {
4526
4526
  const _ = JSON.parse(JSON.stringify(o.value.widget));
4527
4527
  return {
@@ -4551,7 +4551,7 @@ const Dl = {
4551
4551
  return {
4552
4552
  data: l.value,
4553
4553
  showTitle: I.value,
4554
- titleFontSize: N.value,
4554
+ titleFontSize: V.value,
4555
4555
  titleBold: C.value,
4556
4556
  titleItalic: M.value,
4557
4557
  titleUnderline: $.value,
@@ -4648,7 +4648,7 @@ const Dl = {
4648
4648
  Te(
4649
4649
  () => o.value.widget.config,
4650
4650
  (_) => {
4651
- b.value = _.rollup, I.value = _.showTitle ?? !0, N.value = _.titleFontSize ?? 14, C.value = _.titleBold ?? !1, M.value = _.titleItalic ?? !1, $.value = _.titleUnderline ?? !1, A.value = Array.isArray(_.chartColors) ? [..._.chartColors] : void 0, X.value = Array.isArray(_.chartColorLayers) ? [..._.chartColorLayers] : void 0, ee.value = Array.isArray(_.chartBreakdownColors) ? [..._.chartBreakdownColors] : void 0, Y.value = _.chartUseSecondaryMetricShades ?? !0, W.value = _.chartColorBinding, T.value = Array.isArray(_.lineStyles) ? [..._.lineStyles] : void 0, u.value = _.lineStyleBinding, y.value = _.showLabel ?? !1, B.value = _.labelAlign ?? yn.center, H.value = _.labelAnchor ?? vn.center, z.value = _.labelRotation ?? 0, S.value = _.labelOffset ?? 0, Z.value = _.labelFontSize ?? 12, oe.value = _.showX ?? !0, re.value = _.xPosition ?? bn.bottom, he.value = _.showXGrid ?? !1, le.value = _.showXTick ?? !0, pe.value = _.xTickFontSize ?? 12, Ce.value = _.showXTitle ?? !1, Fe.value = _.xTitle ?? "", Xe.value = _.xTitleFontSize ?? 12, et.value = _.showY ?? !0, ke.value = _.yPosition ?? Cn.left, wt.value = _.showYGrid ?? !1, Ye.value = _.showYTick ?? !0, tt.value = _.yTickFontSize ?? 12, it.value = _.showYTitle ?? !1, ut.value = _.yTitle ?? "", ct.value = _.yTitleFontSize ?? 12, dt.value = _.showLegend ?? void 0, Ee.value = _.legendPosition ?? xn.top, Ge.value = _.usePointStyle ?? !0, Ot.value = _.legendFontSize, qe.value = _.legendColor ?? "#6b6b6b", Ut.value = _.maxTooltipItems, Kt.value = _.stackBarOverlap ?? !1, Xt.value = _.rowHeight ?? null, _t.value = _.colWidths ?? null, F.value = Mt();
4651
+ b.value = _.rollup, I.value = _.showTitle ?? !0, V.value = _.titleFontSize ?? 14, C.value = _.titleBold ?? !1, M.value = _.titleItalic ?? !1, $.value = _.titleUnderline ?? !1, A.value = Array.isArray(_.chartColors) ? [..._.chartColors] : void 0, X.value = Array.isArray(_.chartColorLayers) ? [..._.chartColorLayers] : void 0, ee.value = Array.isArray(_.chartBreakdownColors) ? [..._.chartBreakdownColors] : void 0, Y.value = _.chartUseSecondaryMetricShades ?? !0, W.value = _.chartColorBinding, T.value = Array.isArray(_.lineStyles) ? [..._.lineStyles] : void 0, u.value = _.lineStyleBinding, y.value = _.showLabel ?? !1, B.value = _.labelAlign ?? yn.center, H.value = _.labelAnchor ?? vn.center, z.value = _.labelRotation ?? 0, S.value = _.labelOffset ?? 0, Z.value = _.labelFontSize ?? 12, oe.value = _.showX ?? !0, re.value = _.xPosition ?? bn.bottom, he.value = _.showXGrid ?? !1, le.value = _.showXTick ?? !0, pe.value = _.xTickFontSize ?? 12, Ce.value = _.showXTitle ?? !1, Fe.value = _.xTitle ?? "", Xe.value = _.xTitleFontSize ?? 12, et.value = _.showY ?? !0, ke.value = _.yPosition ?? Cn.left, wt.value = _.showYGrid ?? !1, Ye.value = _.showYTick ?? !0, tt.value = _.yTickFontSize ?? 12, it.value = _.showYTitle ?? !1, ut.value = _.yTitle ?? "", ct.value = _.yTitleFontSize ?? 12, dt.value = _.showLegend ?? void 0, Ee.value = _.legendPosition ?? xn.top, Ge.value = _.usePointStyle ?? !0, Ot.value = _.legendFontSize, qe.value = _.legendColor ?? "#6b6b6b", Ut.value = _.maxTooltipItems, Kt.value = _.stackBarOverlap ?? !1, Xt.value = _.rowHeight ?? null, _t.value = _.colWidths ?? null, F.value = Mt();
4652
4652
  },
4653
4653
  { deep: !0, immediate: !0 }
4654
4654
  ), Te(
@@ -4689,7 +4689,7 @@ const Dl = {
4689
4689
  je.value.sm || je.value.md || je.value.xs ? (console.log("Ignoring resize event due to keyboard"), removeEventListener("change", Je)) : removeEventListener("resize", Je);
4690
4690
  });
4691
4691
  const Oe = Tn();
4692
- let Ve;
4692
+ let Ne;
4693
4693
  async function Pe() {
4694
4694
  if (!m.isEditingStyle && !(O.value.length > 0 && !E.value)) {
4695
4695
  if (j.value.config.schemaNames.length <= 0 && !(j.value.config.dimensions.length <= 0 || j.value.config.metrics.length <= 0)) {
@@ -4700,8 +4700,8 @@ const Dl = {
4700
4700
  return;
4701
4701
  }
4702
4702
  try {
4703
- n.value = !0, Ve && Ve.abort(), Ve = new AbortController();
4704
- const _ = Ve.signal, ce = J.value, Ie = await hn(
4703
+ n.value = !0, Ne && Ne.abort(), Ne = new AbortController();
4704
+ const _ = Ne.signal, ce = J.value, Ie = await hn(
4705
4705
  Go,
4706
4706
  500
4707
4707
  )({
@@ -4784,14 +4784,14 @@ const Dl = {
4784
4784
  I.value !== !1 ? (K(), ae("p", {
4785
4785
  key: 0,
4786
4786
  style: Le({
4787
- fontSize: N.value + "px",
4787
+ fontSize: V.value + "px",
4788
4788
  fontWeight: C.value ? "bold" : "normal",
4789
4789
  fontStyle: M.value ? "italic" : "normal",
4790
4790
  paddingRight: M.value ? "4px" : "0px",
4791
4791
  textDecoration: $.value ? "underline" : "none"
4792
4792
  }),
4793
4793
  class: _e(["text-fm-color-typo-secondary line-clamp-1", [
4794
- N.value <= 18 ? "fm-typo-en-body-md-400" : "",
4794
+ V.value <= 18 ? "fm-typo-en-body-md-400" : "",
4795
4795
  j.value.description ? "border-b-2 border-dashed border-gray-300" : ""
4796
4796
  ]])
4797
4797
  }, Se(i(at)(i(a), i(c), j.value.title, "other")), 7)) : fe("", !0)
@@ -4816,7 +4816,7 @@ const Dl = {
4816
4816
  ue(ft, {
4817
4817
  icon: "arrow_upward",
4818
4818
  variant: "tertiary",
4819
- disabled: !V.value,
4819
+ disabled: !N.value,
4820
4820
  onClick: sn
4821
4821
  }, null, 8, ["disabled"]),
4822
4822
  ue(ft, {