@feedmepos/mf-report 5.27.10-beta.0 → 5.27.11-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 (28) hide show
  1. package/dist/{App-DjPKEscA.js → App-DI_Kzc-m.js} +4 -4
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-MxfUvTMs.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DWV1lamo.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-DClrZ9yB.js → Default.vue_vue_type_script_setup_true_lang-D99iRpJO.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-n4d1BaRc.js → DynamicWidget.vue_vue_type_script_setup_true_lang-DgM1kcya.js} +169 -169
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BSJoZ-ZZ.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-vEwmwLei.js} +3457 -3459
  6. package/dist/{InsightView-ima0bgBu.js → InsightView-COhNlMpl.js} +4 -4
  7. package/dist/{Integration-CYOPBcL_.js → Integration-Ce0Jt0pQ.js} +3 -3
  8. package/dist/{Integrations-CpWyklaS.js → Integrations-6Srpzfgs.js} +2 -2
  9. package/dist/{Layout-DBiCKFyn.js → Layout-CsiWRIZC.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-P0rdD39Q.js → MenuTab.vue_vue_type_script_setup_true_lang-CyqOskSO.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-Di9ebVZ-.js → NavigationTab.vue_vue_type_script_setup_true_lang-qpCko9Yh.js} +3 -3
  12. package/dist/{OverviewView-U_bXiG1f.js → OverviewView-D5UZFuCx.js} +4 -4
  13. package/dist/{Report-C-K3sP0h.js → Report-C63-3NS5.js} +3 -3
  14. package/dist/{ReportEditor-Cpawj8vR.js → ReportEditor-DgCcZw3K.js} +5 -5
  15. package/dist/{ReportView-C5UTU-eT.js → ReportView-CSfRTrYX.js} +6 -6
  16. package/dist/{Setting-VloyEFlw.js → Setting-C1hihU2n.js} +3 -3
  17. package/dist/{Template-Bv_1UqMo.js → Template-fouiDujh.js} +3 -3
  18. package/dist/{TileEditor-Bw50VTNF.js → TileEditor-CwVqpqD2.js} +5 -5
  19. package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-DhHysXag.js → TileGrid.vue_vue_type_script_setup_true_lang-DR8413sW.js} +1 -1
  20. package/dist/{TransitionFade-79kLaone.js → TransitionFade-C9b5LlE5.js} +4 -4
  21. package/dist/{app-CIEtOHuW.js → app-Cf4bn8z6.js} +28 -12
  22. package/dist/app.js +1 -1
  23. package/dist/assets/formatChartData.worker-geUKveyE.js +365 -0
  24. package/dist/assets/processTableData.worker-CvRlKKfk.js +365 -0
  25. package/dist/{useRestaurantPermission-Dr-M-LGS.js → useRestaurantPermission-yNEOpfOM.js} +1 -1
  26. package/package.json +1 -1
  27. package/dist/assets/formatChartData.worker-BHb-qk1A.js +0 -365
  28. package/dist/assets/processTableData.worker-BmlVDhV4.js +0 -365
@@ -1,11 +1,11 @@
1
- import { computed as g, defineComponent as Be, ref as L, watch as Le, onMounted as Vt, onBeforeUnmount as ao, resolveComponent as ie, createBlock as ue, openBlock as U, Transition as zo, withCtx as _e, createElementBlock as le, createCommentVNode as pe, createElementVNode as E, unref as i, normalizeStyle as De, withModifiers as jt, toDisplayString as ke, createVNode as ce, Fragment as Ae, renderList as st, normalizeClass as Se, nextTick as Ho, mergeModels as He, useModel as We, renderSlot as Ze, h as Yt, createSlots as Wo, resolveDynamicComponent as ro, toRaw as Oo, markRaw as Uo, createTextVNode as Ko, onUnmounted as lo, withDirectives as Xo, vShow as Yo } from "vue";
2
- import { W as te, w as Eo, S as It, x as Bt, y as Go, z as dn, A as so, j as qo, B as jo, R as gt, E as Jo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BSJoZ-ZZ.js";
3
- import { i as Jt, a as en, u as io } from "./app-CIEtOHuW.js";
4
- import { d as hn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-MxfUvTMs.js";
1
+ import { computed as g, defineComponent as Be, ref as L, watch as Le, onMounted as Nt, onBeforeUnmount as ao, resolveComponent as ie, createBlock as ue, openBlock as U, Transition as zo, withCtx as _e, createElementBlock as le, createCommentVNode as pe, createElementVNode as E, unref as i, normalizeStyle as De, withModifiers as jt, toDisplayString as ke, createVNode as ce, Fragment as Ae, renderList as st, normalizeClass as Se, nextTick as Ho, mergeModels as He, useModel as We, renderSlot as Ze, h as Yt, createSlots as Wo, resolveDynamicComponent as ro, toRaw as Oo, markRaw as Uo, createTextVNode as Ko, onUnmounted as lo, withDirectives as Xo, vShow as Yo } from "vue";
2
+ import { W as te, w as Eo, S as It, x as Bt, y as Go, z as dn, A as so, j as qo, B as jo, R as gt, E as Jo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-vEwmwLei.js";
3
+ import { i as Jt, a as en, u as io } from "./app-Cf4bn8z6.js";
4
+ import { d as hn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DWV1lamo.js";
5
5
  import { storeToRefs as At } from "pinia";
6
6
  import { detectLocale as Tn } from "@feedmepos/mf-common";
7
7
  import { C as gn } from "./chart-DDDh8zNk.js";
8
- import { useBreakpoints as Nt, useSnackbar as Ln, components as Zo } from "@feedmepos/ui-library";
8
+ import { useBreakpoints as Vt, useSnackbar as Ln, components as Zo } from "@feedmepos/ui-library";
9
9
  import { u as it, _ as uo } from "./_plugin-vue_export-helper-onplcgja.js";
10
10
  import { r as rt } from "./i18n-CI_sQ5d_.js";
11
11
  import { _ as $n } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
@@ -520,7 +520,7 @@ function Ht(e) {
520
520
  }
521
521
  };
522
522
  }
523
- const ba = Number.POSITIVE_INFINITY, wn = 2, Ca = 1, xa = 0.2, wa = 120, _a = 320, Sa = 24, { breakpoints: yt } = Nt(), Dn = "report-v5:locationchange";
523
+ const ba = Number.POSITIVE_INFINITY, wn = 2, Ca = 1, xa = 0.2, wa = 120, _a = 320, Sa = 24, { breakpoints: yt } = Vt(), Dn = "report-v5:locationchange";
524
524
  let On = !1;
525
525
  const ka = "report.widget.comparisonTooltip";
526
526
  function Un() {
@@ -585,11 +585,11 @@ function Fa(e, t) {
585
585
  function Ra(e, t) {
586
586
  return e.type === "bar" ? !0 : t === "bar";
587
587
  }
588
- function Va(e, t, n) {
588
+ function Na(e, t, n) {
589
589
  const o = Mt(e.borderColor, t) || Mt(e.color, t), l = Mt(e.backgroundColor, t), a = Mt(e.pointBorderColor, t), r = Mt(e.pointBackgroundColor, t);
590
590
  return n ? Xn(l, r, o, a) : Xn(o, a, l, r);
591
591
  }
592
- function Na(e) {
592
+ function Va(e) {
593
593
  return e.trim().toLowerCase();
594
594
  }
595
595
  function Mt(e, t) {
@@ -703,11 +703,11 @@ function _o(e, t, n, o, l, a, r, c) {
703
703
  return;
704
704
  const oe = Ba(Q), j = Aa(Q, r), k = Ra(Q, c), p = {
705
705
  text: Fa(oe, j),
706
- color: Va(Q, r, k),
706
+ color: Na(Q, r, k),
707
707
  isBar: k,
708
708
  value: j,
709
709
  datasetLabel: oe,
710
- matchingKey: Na(oe)
710
+ matchingKey: Va(oe)
711
711
  };
712
712
  if (x && Ma(Q)) {
713
713
  v.push(p);
@@ -993,7 +993,7 @@ function rr(e, t, n) {
993
993
  An(e, n);
994
994
  return;
995
995
  }
996
- Ne(e, t, !0);
996
+ Ve(e, t, !0);
997
997
  }, window.addEventListener(Dn, e.__onNavigationChange), window.addEventListener("popstate", e.__onNavigationChange), window.addEventListener("hashchange", e.__onNavigationChange), window.addEventListener("beforeunload", e.__onNavigationChange));
998
998
  }
999
999
  function lr(e, t) {
@@ -1038,12 +1038,12 @@ function qn(e, t, n, o, l) {
1038
1038
  );
1039
1039
  }));
1040
1040
  }
1041
- function Ne(e, t, n = !1) {
1041
+ function Ve(e, t, n = !1) {
1042
1042
  Ct(e) && !n || (wt(e), To(e), xo(e, !1), Oa(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", Qt(t));
1043
1043
  }
1044
1044
  function jn(e, t, n = wa) {
1045
1045
  e.__isTooltipHovered || (wt(e), e.__hideTimeoutId = window.setTimeout(() => {
1046
- e.__isTooltipHovered || Ne(e, t);
1046
+ e.__isTooltipHovered || Ve(e, t);
1047
1047
  }, n));
1048
1048
  }
1049
1049
  function ur(e, t, n, o, l) {
@@ -1074,7 +1074,7 @@ function ur(e, t, n, o, l) {
1074
1074
  }, t.addEventListener("pointermove", e.__onCanvasPointerMove, {
1075
1075
  passive: !0
1076
1076
  })), e.__onCanvasPointerLeave || (e.__onCanvasPointerLeave = () => {
1077
- lt() && Ct(e) || Ne(e, n);
1077
+ lt() && Ct(e) || Ve(e, n);
1078
1078
  }, t.addEventListener("pointerleave", e.__onCanvasPointerLeave, {
1079
1079
  passive: !0
1080
1080
  })), e.__onCanvasClick || (e.__onCanvasClick = (r) => {
@@ -1097,7 +1097,7 @@ function ur(e, t, n, o, l) {
1097
1097
  q,
1098
1098
  z
1099
1099
  ).detailsPayload;
1100
- return (G = l.onViewFullDetails) == null || G.call(l, C, n), Ne(e, n), !0;
1100
+ return (G = l.onViewFullDetails) == null || G.call(l, C, n), Ve(e, n), !0;
1101
1101
  }, u = ((D = n == null ? void 0 : n.tooltip) == null ? void 0 : D.dataPoints) ?? [];
1102
1102
  if (c(u))
1103
1103
  return;
@@ -1155,7 +1155,7 @@ function ur(e, t, n, o, l) {
1155
1155
  index: _.index
1156
1156
  }));
1157
1157
  if (x.length === 0) {
1158
- Ne(e, n, !0);
1158
+ Ve(e, n, !0);
1159
1159
  return;
1160
1160
  }
1161
1161
  const y = x[0], v = Ka(
@@ -1164,7 +1164,7 @@ function ur(e, t, n, o, l) {
1164
1164
  y.index
1165
1165
  ), w = Number.isFinite(e.__lastPhoneTapAt), D = v && Xa(e, r.offsetX, r.offsetY, r.timeStamp);
1166
1166
  if (w && !D && v) {
1167
- Ne(e, n, !0);
1167
+ Ve(e, n, !0);
1168
1168
  return;
1169
1169
  }
1170
1170
  xo(e, !0), wt(e), e.dataset.cursorCanvasX = String(r.offsetX), e.dataset.cursorCanvasY = String(r.offsetY), e.dataset.caretX = String(r.offsetX), e.dataset.caretY = String(r.offsetY), u.setActiveElements(x, {
@@ -1177,7 +1177,7 @@ function ur(e, t, n, o, l) {
1177
1177
  return;
1178
1178
  }
1179
1179
  if (D && (l != null && l.onViewFullDetails) && e.__detailsPayload) {
1180
- l.onViewFullDetails(e.__detailsPayload, n), Ne(e, n);
1180
+ l.onViewFullDetails(e.__detailsPayload, n), Ve(e, n);
1181
1181
  return;
1182
1182
  }
1183
1183
  Ua(
@@ -1194,11 +1194,11 @@ function ur(e, t, n, o, l) {
1194
1194
  }, t.addEventListener("pointerup", e.__onCanvasPointerUp)), l != null && l.onViewFullDetails && (e.__onDetailsClick || (e.__onDetailsClick = (r) => {
1195
1195
  var m;
1196
1196
  const c = r.target;
1197
- c != null && c.closest('[data-tooltip-full-details="true"]') && (r.preventDefault(), r.stopPropagation(), e.__detailsPayload && ((m = l.onViewFullDetails) == null || m.call(l, e.__detailsPayload, n), Ne(e, n)));
1197
+ c != null && c.closest('[data-tooltip-full-details="true"]') && (r.preventDefault(), r.stopPropagation(), e.__detailsPayload && ((m = l.onViewFullDetails) == null || m.call(l, e.__detailsPayload, n), Ve(e, n)));
1198
1198
  }, e.addEventListener("click", e.__onDetailsClick)), e.__onTooltipPointerEnter || (e.__onTooltipPointerEnter = () => {
1199
1199
  e.__isTooltipHovered = !0, wt(e);
1200
1200
  }, e.addEventListener("pointerenter", e.__onTooltipPointerEnter)), e.__onTooltipPointerLeave || (e.__onTooltipPointerLeave = () => {
1201
- e.__isTooltipHovered = !1, Ne(e, n);
1201
+ e.__isTooltipHovered = !1, Ve(e, n);
1202
1202
  }, e.addEventListener("pointerleave", e.__onTooltipPointerLeave)));
1203
1203
  }
1204
1204
  function cr(e, t, n) {
@@ -1242,14 +1242,14 @@ function dr(e, t) {
1242
1242
  if (u || (u = tr(c)), u.parentElement !== r && r.appendChild(u), In(u, r), cr(u, a, e), rr(u, o, a), lr(u, a), ur(u, a, o, e, t), ((l == null ? void 0 : l.opacity) ?? 0) === 0) {
1243
1243
  if (lt() && Ct(u))
1244
1244
  return;
1245
- t != null && t.onViewFullDetails ? jn(u, o) : Ne(u, o);
1245
+ t != null && t.onViewFullDetails ? jn(u, o) : Ve(u, o);
1246
1246
  return;
1247
1247
  }
1248
1248
  const m = (l == null ? void 0 : l.dataPoints) ?? [];
1249
1249
  if (m.length === 0) {
1250
1250
  if (lt() && Ct(u))
1251
1251
  return;
1252
- t != null && t.onViewFullDetails ? jn(u, o) : Ne(u, o);
1252
+ t != null && t.onViewFullDetails ? jn(u, o) : Ve(u, o);
1253
1253
  return;
1254
1254
  }
1255
1255
  sr(r, c, a), wt(u);
@@ -1273,13 +1273,13 @@ function dr(e, t) {
1273
1273
  return;
1274
1274
  }
1275
1275
  const C = (p = o == null ? void 0 : o.scales) == null ? void 0 : p.x, T = C && typeof C.getPixelForValue == "function" ? C.getPixelForValue(0) : NaN, P = e ? m.reduce((f, I) => {
1276
- const V = I == null ? void 0 : I.element, R = V == null ? void 0 : V.x;
1276
+ const N = I == null ? void 0 : I.element, R = N == null ? void 0 : N.x;
1277
1277
  if (typeof R != "number" || !Number.isFinite(R))
1278
1278
  return f;
1279
1279
  if (!Number.isFinite(f))
1280
1280
  return R;
1281
- const O = Number.isFinite(T) ? T : B, N = Math.abs(f - O);
1282
- return Math.abs(R - O) > N ? R : f;
1281
+ const O = Number.isFinite(T) ? T : B, V = Math.abs(f - O);
1282
+ return Math.abs(R - O) > V ? R : f;
1283
1283
  }, Number.NaN) : Number.NaN, A = q, G = K, Q = e ? Number.isFinite(T) && Number.isFinite(P) && P < T ? "left" : "right" : "center";
1284
1284
  Bn(
1285
1285
  u,
@@ -1590,7 +1590,7 @@ const mr = {
1590
1590
  }
1591
1591
  return Le([M, m], () => {
1592
1592
  m.value && B();
1593
- }), Vt(() => {
1593
+ }), Nt(() => {
1594
1594
  r.value = C(r.value), B(), document.addEventListener("pointerdown", oe, !0), document.addEventListener("keydown", j), window.addEventListener("resize", Q);
1595
1595
  }), ao(() => {
1596
1596
  P(), document.removeEventListener("pointerdown", oe, !0), document.removeEventListener("keydown", j), window.removeEventListener("resize", Q);
@@ -1635,7 +1635,7 @@ const mr = {
1635
1635
  class: "flex flex-1 flex-col gap-4 overflow-y-auto px-4 py-4 sm:px-5",
1636
1636
  onMouseleave: D
1637
1637
  }, [
1638
- (U(!0), le(Ae, null, st(W.value, (I, V) => (U(), le("div", {
1638
+ (U(!0), le(Ae, null, st(W.value, (I, N) => (U(), le("div", {
1639
1639
  key: I.key,
1640
1640
  class: "flex flex-col gap-2 rounded-2xl bg-fm-color-neutral-white/45 py-3"
1641
1641
  }, [
@@ -1644,8 +1644,8 @@ const mr = {
1644
1644
  key: `${R.text}-${O}`,
1645
1645
  type: "button",
1646
1646
  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",
1647
- onMouseenter: (N) => w(R),
1648
- onFocus: (N) => w(R),
1647
+ onMouseenter: (V) => w(R),
1648
+ onFocus: (V) => w(R),
1649
1649
  onMouseleave: D,
1650
1650
  onBlur: D
1651
1651
  }, [
@@ -1762,7 +1762,7 @@ const mr = {
1762
1762
  }
1763
1763
  j({ height: 0, width: 0 });
1764
1764
  }
1765
- function V() {
1765
+ function N() {
1766
1766
  const s = y.value;
1767
1767
  if (!s) {
1768
1768
  w.value = !1, D.value = 0, _.value = 0;
@@ -1777,16 +1777,16 @@ const mr = {
1777
1777
  D.value = Y, _.value = Z;
1778
1778
  }
1779
1779
  function R() {
1780
- V();
1780
+ N();
1781
1781
  }
1782
1782
  function O(s) {
1783
1783
  const h = y.value, d = x.value;
1784
1784
  if (!h || !d || !w.value)
1785
1785
  return;
1786
1786
  const b = d.getBoundingClientRect(), F = s.clientY - b.top, $ = Math.max(0, F - D.value / 2), Y = Math.max(1, h.clientHeight - D.value), ee = Math.min(1, $ / Y), H = Math.max(0, h.scrollHeight - h.clientHeight);
1787
- h.scrollTop = ee * H, V();
1787
+ h.scrollTop = ee * H, N();
1788
1788
  }
1789
- function N(s) {
1789
+ function V(s) {
1790
1790
  w.value && (B.value = !0, q.value = s.clientY, K.value = _.value);
1791
1791
  }
1792
1792
  function J(s) {
@@ -1796,7 +1796,7 @@ const mr = {
1796
1796
  if (!h)
1797
1797
  return;
1798
1798
  const d = s.clientY - q.value, b = Math.max(1, h.clientHeight - D.value), $ = Math.min(b, Math.max(0, K.value + d)) / b, Y = Math.max(0, h.scrollHeight - h.clientHeight);
1799
- h.scrollTop = $ * Y, V();
1799
+ h.scrollTop = $ * Y, N();
1800
1800
  }
1801
1801
  function X() {
1802
1802
  B.value && (B.value = !1);
@@ -1897,7 +1897,7 @@ const mr = {
1897
1897
  const F = ye();
1898
1898
  return F != null ? Math.max(0, Math.floor(F * 0.3)) : 180;
1899
1899
  }
1900
- function Ve(s, h) {
1900
+ function Ne(s, h) {
1901
1901
  const d = n.chartColorBinding;
1902
1902
  if (d) {
1903
1903
  const $ = typeof s.datasetIndex == "number" ? s.datasetIndex : h, Y = Number.isInteger(n.metricCount) && Number(n.metricCount) > 0 ? Number(n.metricCount) : Math.max(1, Number(r.value.length));
@@ -2129,14 +2129,14 @@ const mr = {
2129
2129
  function St() {
2130
2130
  const s = y.value;
2131
2131
  if (!s) {
2132
- m.value = !1, M.value = 0, c.value = 0, f(), V();
2132
+ m.value = !1, M.value = 0, c.value = 0, f(), N();
2133
2133
  return;
2134
2134
  }
2135
2135
  const h = Array.from(
2136
2136
  s.querySelectorAll(".chart-legend-item[data-legend-data='true']")
2137
2137
  );
2138
2138
  if (h.length === 0) {
2139
- m.value = !1, M.value = 0, c.value = 0, f(), V();
2139
+ m.value = !1, M.value = 0, c.value = 0, f(), N();
2140
2140
  return;
2141
2141
  }
2142
2142
  const d = Array.from(new Set(h.map((ne) => ne.offsetTop))).sort((ne, me) => ne - me), b = !u.value && r.value.length > h.length, F = !u.value && !b, $ = F || M.value <= 0 ? xe() : M.value;
@@ -2158,16 +2158,16 @@ const mr = {
2158
2158
  }
2159
2159
  }
2160
2160
  }
2161
- m.value = !0, f(), V();
2161
+ m.value = !0, f(), N();
2162
2162
  return;
2163
2163
  }
2164
2164
  const Y = d[0] ?? 0, ee = d[d.length - 1] ?? Y, H = h.filter((ne) => ne.offsetTop === ee), Z = Math.max(...H.map((ne) => ne.offsetHeight), 0), he = Math.max(0, ee - Y + Z), ge = Xt(h, $);
2165
- (F || c.value <= 0) && (c.value = Math.max(0, ge)), m.value = he > $, f(), V();
2165
+ (F || c.value <= 0) && (c.value = Math.max(0, ge)), m.value = he > $, f(), N();
2166
2166
  }
2167
2167
  function Oe() {
2168
2168
  Ho(() => {
2169
2169
  St(), window.requestAnimationFrame(() => {
2170
- St(), I(), V();
2170
+ St(), I(), N();
2171
2171
  });
2172
2172
  });
2173
2173
  }
@@ -2339,7 +2339,7 @@ const mr = {
2339
2339
  function ln() {
2340
2340
  u.value = !1, y.value && (y.value.scrollTop = 0), Oe();
2341
2341
  }
2342
- return Vt(() => {
2342
+ return Nt(() => {
2343
2343
  $e(), window.addEventListener("mousemove", J), window.addEventListener("mouseup", X);
2344
2344
  }), Le(
2345
2345
  () => [
@@ -2402,12 +2402,12 @@ const mr = {
2402
2402
  n.usePointStyle !== !1 ? (U(), le("span", {
2403
2403
  key: 0,
2404
2404
  class: "h-5 w-5 shrink-0 rounded-full",
2405
- style: De({ backgroundColor: Ve(d, b) })
2405
+ style: De({ backgroundColor: Ne(d, b) })
2406
2406
  }, null, 4)) : (U(), le("span", {
2407
2407
  key: 1,
2408
2408
  class: "h-5 w-5 shrink-0 rounded-sm border border-solid border-gray-300",
2409
2409
  style: De({
2410
- backgroundColor: Ve(d, b),
2410
+ backgroundColor: Ne(d, b),
2411
2411
  borderColor: "#c7c7cc"
2412
2412
  })
2413
2413
  }, null, 4)),
@@ -2438,7 +2438,7 @@ const mr = {
2438
2438
  E("div", {
2439
2439
  class: "absolute left-0 w-full rounded-full bg-gray-500/60 cursor-pointer hover:bg-gray-500/85",
2440
2440
  style: De(A.value),
2441
- onMousedown: jt(N, ["stop"])
2441
+ onMousedown: jt(V, ["stop"])
2442
2442
  }, null, 36)
2443
2443
  ], 32)) : pe("", !0)
2444
2444
  ], 512)
@@ -2446,7 +2446,7 @@ const mr = {
2446
2446
  }
2447
2447
  }), Fe = /* @__PURE__ */ uo(Br, [["__scopeId", "data-v-706fa016"]]);
2448
2448
  function Ar(e, t) {
2449
- const { t: n } = it(), { breakpoints: o } = Nt(), l = L(!1), a = L(null), r = L(null);
2449
+ const { t: n } = it(), { breakpoints: o } = Vt(), l = L(!1), a = L(null), r = L(null);
2450
2450
  function c() {
2451
2451
  return So(e.value) ?? r.value;
2452
2452
  }
@@ -2554,7 +2554,7 @@ function Ot({ chartRef: e, model: t, baseDatasets: n }) {
2554
2554
  datasets: T
2555
2555
  };
2556
2556
  }
2557
- const Rr = { class: "widget-content" }, mn = 1, no = "rgba(0, 0, 0, 0)", Vr = /* @__PURE__ */ Be({
2557
+ const Rr = { class: "widget-content" }, mn = 1, no = "rgba(0, 0, 0, 0)", Nr = /* @__PURE__ */ Be({
2558
2558
  __name: "WidgetBarchart",
2559
2559
  props: /* @__PURE__ */ He({
2560
2560
  tileIndex: {}
@@ -2586,28 +2586,28 @@ const Rr = { class: "widget-content" }, mn = 1, no = "rgba(0, 0, 0, 0)", Vr = /*
2586
2586
  }
2587
2587
  const W = g(() => o.value.length > 0 ? [
2588
2588
  ...o.value.map((f, I) => {
2589
- const V = $t({
2589
+ const N = $t({
2590
2590
  datasets: o.value,
2591
2591
  datasetIndex: I
2592
2592
  }), R = Pe({
2593
- datasetIndex: V,
2593
+ datasetIndex: N,
2594
2594
  isCompare: !1,
2595
2595
  metricCount: t.value.metricCount,
2596
2596
  mode: t.value.chartColorBinding
2597
2597
  }), O = Pe({
2598
- datasetIndex: V,
2598
+ datasetIndex: N,
2599
2599
  isCompare: !1,
2600
2600
  metricCount: t.value.metricCount,
2601
2601
  mode: Ce.metric
2602
2602
  });
2603
- let N = f.values;
2604
- a.value && (N = o.value.map(
2603
+ let V = f.values;
2604
+ a.value && (V = o.value.map(
2605
2605
  (de, se) => se === I ? f.values[0] : NaN
2606
2606
  ));
2607
2607
  const J = t.value.chartColorBinding === Ce.breakdown, X = xt({
2608
- fallbackIndex: V,
2608
+ fallbackIndex: N,
2609
2609
  metricCount: t.value.metricCount
2610
- }), ae = N.map((de) => de === null ? NaN : Number(de));
2610
+ }), ae = V.map((de) => de === null ? NaN : Number(de));
2611
2611
  return {
2612
2612
  label: f.name,
2613
2613
  data: ae,
@@ -2656,26 +2656,26 @@ const Rr = { class: "widget-content" }, mn = 1, no = "rgba(0, 0, 0, 0)", Vr = /*
2656
2656
  if (!u.value)
2657
2657
  return j.value;
2658
2658
  const f = [];
2659
- return j.value.forEach((I, V) => {
2659
+ return j.value.forEach((I, N) => {
2660
2660
  f.push({
2661
2661
  ...I,
2662
2662
  barPercentage: mn
2663
2663
  });
2664
- const R = j.value[V + 1];
2665
- I.dash === !0 && R && f.push(M(V));
2664
+ const R = j.value[N + 1];
2665
+ I.dash === !0 && R && f.push(M(N));
2666
2666
  }), f;
2667
2667
  }), p = g(() => ({
2668
2668
  display: !1,
2669
2669
  labels: {
2670
2670
  filter: (f, I) => {
2671
- var V, R;
2672
- return !((R = (V = I.datasets) == null ? void 0 : V[f.datasetIndex ?? -1]) != null && R.isSpacer);
2671
+ var N, R;
2672
+ return !((R = (N = I.datasets) == null ? void 0 : N[f.datasetIndex ?? -1]) != null && R.isSpacer);
2673
2673
  }
2674
2674
  }
2675
2675
  }));
2676
2676
  return (f, I) => {
2677
- var R, O, N, J, X, ae;
2678
- const V = ie("FmBarChart");
2677
+ var R, O, V, J, X, ae;
2678
+ const N = ie("FmBarChart");
2679
2679
  return U(), le(Ae, null, [
2680
2680
  E("div", Rr, [
2681
2681
  Ze(f.$slots, "menu"),
@@ -2690,7 +2690,7 @@ const Rr = { class: "widget-content" }, mn = 1, no = "rgba(0, 0, 0, 0)", Vr = /*
2690
2690
  enabled: i(C).display ?? !1,
2691
2691
  position: i(P),
2692
2692
  "text-color": (R = i(C).labels) == null ? void 0 : R.color,
2693
- "font-size": (N = (O = i(C).labels) == null ? void 0 : O.font) == null ? void 0 : N.size,
2693
+ "font-size": (V = (O = i(C).labels) == null ? void 0 : O.font) == null ? void 0 : V.size,
2694
2694
  "legend-update-key": i(j),
2695
2695
  "use-point-style": t.value.usePointStyle ?? !0,
2696
2696
  "chart-color-binding": t.value.chartColorBinding,
@@ -2701,7 +2701,7 @@ const Rr = { class: "widget-content" }, mn = 1, no = "rgba(0, 0, 0, 0)", Vr = /*
2701
2701
  "hidden-dataset-keys": i(Q),
2702
2702
  onToggleDatasetVisibility: i(oe)
2703
2703
  }, null, 8, ["chart-ref", "enabled", "position", "text-color", "font-size", "legend-update-key", "use-point-style", "chart-color-binding", "chart-colors", "chart-breakdown-colors", "chart-use-secondary-metric-shades", "metric-count", "hidden-dataset-keys", "onToggleDatasetVisibility"])) : pe("", !0),
2704
- ce(V, {
2704
+ ce(N, {
2705
2705
  ref_key: "chartRef",
2706
2706
  ref: n,
2707
2707
  class: "bar-chart",
@@ -2745,7 +2745,7 @@ const Rr = { class: "widget-content" }, mn = 1, no = "rgba(0, 0, 0, 0)", Vr = /*
2745
2745
  ], 64);
2746
2746
  };
2747
2747
  }
2748
- }), Nr = { class: "widget-content" }, $r = /* @__PURE__ */ Be({
2748
+ }), Vr = { class: "widget-content" }, $r = /* @__PURE__ */ Be({
2749
2749
  __name: "WidgetCircular",
2750
2750
  props: /* @__PURE__ */ He({
2751
2751
  tileIndex: {}
@@ -2755,7 +2755,7 @@ const Rr = { class: "widget-content" }, mn = 1, no = "rgba(0, 0, 0, 0)", Vr = /*
2755
2755
  }),
2756
2756
  emits: ["update:modelValue"],
2757
2757
  setup(e) {
2758
- const t = We(e, "modelValue"), { breakpoints: n } = Nt(), o = L(null), l = L([]), { datalabels: a, legend: r } = Lo(t.value), c = g(() => {
2758
+ const t = We(e, "modelValue"), { breakpoints: n } = Vt(), o = L(null), l = L([]), { datalabels: a, legend: r } = Lo(t.value), c = g(() => {
2759
2759
  const z = Array.isArray(t.value.data.datasets) ? t.value.data.datasets.map((C) => C.name) : [];
2760
2760
  return z.length > 0 ? z : Array.isArray(t.value.data.metrics) ? t.value.data.metrics.map((C) => String(C)) : [];
2761
2761
  }), u = g(() => {
@@ -2810,7 +2810,7 @@ const Rr = { class: "widget-content" }, mn = 1, no = "rgba(0, 0, 0, 0)", Vr = /*
2810
2810
  }
2811
2811
  return (z, C) => {
2812
2812
  const T = ie("FmPieChart");
2813
- return U(), le("div", Nr, [
2813
+ return U(), le("div", Vr, [
2814
2814
  Ze(z.$slots, "menu"),
2815
2815
  E("div", {
2816
2816
  class: Se(["chart-layout", {
@@ -3074,7 +3074,7 @@ function el(e, t) {
3074
3074
  const n = ie("FmMenuDivider");
3075
3075
  return U(), ue(n);
3076
3076
  }
3077
- const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableData.worker-BmlVDhV4.js", ol = { class: "flex h-full flex-col" }, al = { class: "my-4 shrink-0" }, rl = {
3077
+ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableData.worker-CvRlKKfk.js", ol = { class: "flex h-full flex-col" }, al = { class: "my-4 shrink-0" }, rl = {
3078
3078
  class: "border-b border-fm-color-neutral-gray-100 hover:bg-fm-color-opacity-sm",
3079
3079
  style: { backgroundColor: "#f9f9f9" }
3080
3080
  }, ll = { class: "font-bold" }, sl = { class: "text-fm-color-neutral-gray-300" }, il = /* @__PURE__ */ Be({
@@ -3132,27 +3132,27 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3132
3132
  return Je.bottom;
3133
3133
  }
3134
3134
  }), z = g(() => {
3135
- const p = v.value, f = 34.5, I = 32, V = K.value !== void 0 ? 1 : 0, R = (M.value ? M.value.$el.offsetHeight : 0) - p;
3136
- return Math.floor((R - f - I) / p) - V;
3135
+ const p = v.value, f = 34.5, I = 32, N = K.value !== void 0 ? 1 : 0, R = (M.value ? M.value.$el.offsetHeight : 0) - p;
3136
+ return Math.floor((R - f - I) / p) - N;
3137
3137
  }), C = g(() => {
3138
3138
  var f, I;
3139
3139
  let p = [];
3140
3140
  switch (K.value) {
3141
3141
  case Je.top:
3142
- p = [...((f = x.value[0]) == null ? void 0 : f.cells) || []].map((V, R) => {
3142
+ p = [...((f = x.value[0]) == null ? void 0 : f.cells) || []].map((N, R) => {
3143
3143
  var O;
3144
3144
  return {
3145
- main: V,
3145
+ main: N,
3146
3146
  comparison: (O = x.value[0]) == null ? void 0 : O.comparisonCells[R],
3147
3147
  rowType: W.value[R].type
3148
3148
  };
3149
3149
  });
3150
3150
  break;
3151
3151
  case Je.bottom:
3152
- p = [...((I = x.value[x.value.length - 1]) == null ? void 0 : I.cells) || []].map((V, R) => {
3152
+ p = [...((I = x.value[x.value.length - 1]) == null ? void 0 : I.cells) || []].map((N, R) => {
3153
3153
  var O;
3154
3154
  return {
3155
- main: V,
3155
+ main: N,
3156
3156
  comparison: (O = x.value[x.value.length - 1]) == null ? void 0 : O.comparisonCells[R],
3157
3157
  rowType: W.value[R].type
3158
3158
  };
@@ -3171,7 +3171,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3171
3171
  difference: vo(p.main, p.comparison, i(l))
3172
3172
  });
3173
3173
  }
3174
- Vt(() => {
3174
+ Nt(() => {
3175
3175
  a();
3176
3176
  });
3177
3177
  const P = L([]);
@@ -3190,7 +3190,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3190
3190
  key: O.key,
3191
3191
  type: O.type,
3192
3192
  label: O.label
3193
- })), V = {
3193
+ })), N = {
3194
3194
  rows: f,
3195
3195
  columns: I,
3196
3196
  filter: B.value ?? "",
@@ -3201,7 +3201,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3201
3201
  grandTotalPosition: K.value,
3202
3202
  pageSize: z.value
3203
3203
  };
3204
- Go(nl, V).then((O) => {
3204
+ Go(nl, N).then((O) => {
3205
3205
  p === A && (O != null && O.error ? (c.open({ message: "Failed to process table data. Please retry.", type: "error" }), console.log(O.error), P.value = []) : P.value = Uo(O.data || []));
3206
3206
  });
3207
3207
  }
@@ -3213,8 +3213,8 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3213
3213
  { immediate: !0, deep: !0 }
3214
3214
  );
3215
3215
  const oe = g(() => {
3216
- var I, V;
3217
- const p = ((I = o.value.data) == null ? void 0 : I.rows) || [], f = ((V = o.value.data) == null ? void 0 : V.columns) || [];
3216
+ var I, N;
3217
+ const p = ((I = o.value.data) == null ? void 0 : I.rows) || [], f = ((N = o.value.data) == null ? void 0 : N.columns) || [];
3218
3218
  return JSON.stringify({
3219
3219
  rowsLength: p.length,
3220
3220
  columns: f.map((R) => ({ key: R.key, type: R.type, label: R.label })),
@@ -3242,7 +3242,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3242
3242
  const k = g(() => {
3243
3243
  var p;
3244
3244
  return (p = o.value.data) != null && p.columns ? o.value.data.columns.map((f, I) => {
3245
- const V = rt(t, n, f.label, "other"), R = m.value.find((X) => X.key === f.key), O = !!R, N = _(f.key), J = O ? R.type === It.Asc ? "arrow_upward" : "arrow_downward" : "unfold_more";
3245
+ const N = rt(t, n, f.label, "other"), R = m.value.find((X) => X.key === f.key), O = !!R, V = _(f.key), J = O ? R.type === It.Asc ? "arrow_upward" : "arrow_downward" : "unfold_more";
3246
3246
  return {
3247
3247
  accessorKey: f.key,
3248
3248
  header: () => {
@@ -3258,7 +3258,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3258
3258
  Yt(
3259
3259
  "span",
3260
3260
  { class: `${f.type === "NUMERIC" ? "text-right" : ""} whitespace-nowrap` },
3261
- V
3261
+ N
3262
3262
  ),
3263
3263
  Yt(X, {
3264
3264
  name: J,
@@ -3287,7 +3287,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3287
3287
  [f.type === "NUMERIC" ? Ft(ae.main) : ae.main]
3288
3288
  );
3289
3289
  },
3290
- meta: N,
3290
+ meta: V,
3291
3291
  enableSorting: !1
3292
3292
  };
3293
3293
  }) : [];
@@ -3317,7 +3317,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3317
3317
  (U(), ue(ro(K.value === i(Je).bottom ? "tfoot" : "tbody"), null, {
3318
3318
  default: _e(() => [
3319
3319
  E("tr", rl, [
3320
- (U(!0), le(Ae, null, st(C.value, (V, R) => {
3320
+ (U(!0), le(Ae, null, st(C.value, (N, R) => {
3321
3321
  var O;
3322
3322
  return U(), le("td", {
3323
3323
  key: `${i(Bt)()}_${R}`,
@@ -3327,14 +3327,14 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3327
3327
  E("span", {
3328
3328
  class: Se([
3329
3329
  "flex items-center text-fm-color-typo-secondary gap-2",
3330
- V.rowType === "NUMERIC" ? "text-right justify-end" : "",
3330
+ N.rowType === "NUMERIC" ? "text-right justify-end" : "",
3331
3331
  "w-full min-w-0",
3332
3332
  "whitespace-nowrap"
3333
3333
  ]),
3334
3334
  style: De(w())
3335
3335
  }, [
3336
- E("p", ll, ke(V.rowType === "NUMERIC" ? i(Ft)(V.main) : V.main), 1),
3337
- E("p", sl, ke(V.comparison ? V.rowType === "NUMERIC" ? `(${i(Ft)(V.comparison)})` : `(${V.comparison})` : ""), 1)
3336
+ E("p", ll, ke(N.rowType === "NUMERIC" ? i(Ft)(N.main) : N.main), 1),
3337
+ E("p", sl, ke(N.comparison ? N.rowType === "NUMERIC" ? `(${i(Ft)(N.comparison)})` : `(${N.comparison})` : ""), 1)
3338
3338
  ], 6)
3339
3339
  ], 4);
3340
3340
  }), 128))
@@ -3379,24 +3379,24 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3379
3379
  function x({
3380
3380
  datasetIndex: f,
3381
3381
  colorIndex: I,
3382
- breakdownIndex: V
3382
+ breakdownIndex: N
3383
3383
  }) {
3384
3384
  var J;
3385
- const R = t.value.chartColorBinding === Ce.metric ? I : t.value.chartColorBinding === Ce.breakdown ? V : f, O = (J = t.value.chartColorLayers) == null ? void 0 : J[R], N = Number(O);
3386
- return Number.isInteger(N) && N > 0 ? N : R + 1;
3385
+ const R = t.value.chartColorBinding === Ce.metric ? I : t.value.chartColorBinding === Ce.breakdown ? N : f, O = (J = t.value.chartColorLayers) == null ? void 0 : J[R], V = Number(O);
3386
+ return Number.isInteger(V) && V > 0 ? V : R + 1;
3387
3387
  }
3388
3388
  const y = g(() => {
3389
3389
  if (a.value.length > 0) {
3390
- const f = a.value.map((I, V) => {
3390
+ const f = a.value.map((I, N) => {
3391
3391
  const R = $t({
3392
3392
  datasets: a.value,
3393
- datasetIndex: V
3393
+ datasetIndex: N
3394
3394
  }), O = Pe({
3395
3395
  datasetIndex: R,
3396
3396
  isCompare: !1,
3397
3397
  metricCount: t.value.metricCount,
3398
3398
  mode: t.value.chartColorBinding
3399
- }), N = Pe({
3399
+ }), V = Pe({
3400
3400
  datasetIndex: R,
3401
3401
  isCompare: !1,
3402
3402
  metricCount: t.value.metricCount,
@@ -3419,7 +3419,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3419
3419
  order: c.value ? X : void 0,
3420
3420
  backgroundColor: t.value.chartColorBinding === Ce.breakdown ? _t({
3421
3421
  breakdownIndex: J,
3422
- metricIndex: N,
3422
+ metricIndex: V,
3423
3423
  metricCount: t.value.metricCount,
3424
3424
  isCompare: I.isCompare,
3425
3425
  breakdownColors: t.value.chartBreakdownColors,
@@ -3461,8 +3461,8 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3461
3461
  baseDatasets: y
3462
3462
  });
3463
3463
  return (f, I) => {
3464
- var R, O, N, J, X, ae;
3465
- const V = ie("FmBarChart");
3464
+ var R, O, V, J, X, ae;
3465
+ const N = ie("FmBarChart");
3466
3466
  return U(), le(Ae, null, [
3467
3467
  E("div", ul, [
3468
3468
  Ze(f.$slots, "menu"),
@@ -3477,7 +3477,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3477
3477
  enabled: i(P).display ?? !1,
3478
3478
  position: i(G),
3479
3479
  "text-color": (R = i(P).labels) == null ? void 0 : R.color,
3480
- "font-size": (N = (O = i(P).labels) == null ? void 0 : O.font) == null ? void 0 : N.size,
3480
+ "font-size": (V = (O = i(P).labels) == null ? void 0 : O.font) == null ? void 0 : V.size,
3481
3481
  "legend-update-key": i(p),
3482
3482
  "use-point-style": t.value.usePointStyle ?? !0,
3483
3483
  "chart-color-binding": t.value.chartColorBinding,
@@ -3488,7 +3488,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3488
3488
  "hidden-dataset-keys": i(j),
3489
3489
  onToggleDatasetVisibility: i(k)
3490
3490
  }, null, 8, ["chart-ref", "enabled", "position", "text-color", "font-size", "legend-update-key", "use-point-style", "chart-color-binding", "chart-colors", "chart-breakdown-colors", "chart-use-secondary-metric-shades", "metric-count", "hidden-dataset-keys", "onToggleDatasetVisibility"])) : pe("", !0),
3491
- ce(V, {
3491
+ ce(N, {
3492
3492
  ref_key: "chartRef",
3493
3493
  ref: n,
3494
3494
  class: "bar-chart",
@@ -3544,53 +3544,53 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3544
3544
  emits: ["update:modelValue"],
3545
3545
  setup(e) {
3546
3546
  const t = We(e, "modelValue"), n = L(null), o = g(() => {
3547
- var N;
3548
- return ((N = t.value.data) == null ? void 0 : N.xAxis) || [];
3547
+ var V;
3548
+ return ((V = t.value.data) == null ? void 0 : V.xAxis) || [];
3549
3549
  }), l = g(() => ({
3550
3550
  categories: o.value
3551
3551
  })), a = g(() => {
3552
- var N;
3553
- return ((N = t.value.data) == null ? void 0 : N.datasets) ?? [];
3554
- }), r = Ht("bar"), c = g(() => t.value.stackBarOverlap === !0), u = g(() => c.value === !1), m = g(() => o.value.length === 1 && a.value.some((N) => N.isCompare === !0)), M = g(() => ({
3552
+ var V;
3553
+ return ((V = t.value.data) == null ? void 0 : V.datasets) ?? [];
3554
+ }), r = Ht("bar"), c = g(() => t.value.stackBarOverlap === !0), u = g(() => c.value === !1), m = g(() => o.value.length === 1 && a.value.some((V) => V.isCompare === !0)), M = g(() => ({
3555
3555
  ...P.value,
3556
3556
  stacked: u.value
3557
3557
  })), W = g(() => ({
3558
3558
  ...A.value,
3559
3559
  stacked: u.value
3560
3560
  }));
3561
- function x(N) {
3562
- const J = " - ", X = N.lastIndexOf(J);
3561
+ function x(V) {
3562
+ const J = " - ", X = V.lastIndexOf(J);
3563
3563
  return X < 0 ? {
3564
- clusterKey: N,
3565
- metricLabel: N
3564
+ clusterKey: V,
3565
+ metricLabel: V
3566
3566
  } : {
3567
- clusterKey: N.slice(0, X),
3568
- metricLabel: N.slice(X + J.length)
3567
+ clusterKey: V.slice(0, X),
3568
+ metricLabel: V.slice(X + J.length)
3569
3569
  };
3570
3570
  }
3571
- function y(N, J) {
3572
- if (typeof N == "string") {
3573
- const X = N.trim();
3571
+ function y(V, J) {
3572
+ if (typeof V == "string") {
3573
+ const X = V.trim();
3574
3574
  if (X.length > 0)
3575
3575
  return X;
3576
3576
  }
3577
3577
  return `Series ${J + 1}`;
3578
3578
  }
3579
3579
  function v({
3580
- datasetIndex: N,
3580
+ datasetIndex: V,
3581
3581
  colorIndex: J
3582
3582
  }) {
3583
3583
  var se;
3584
- const X = t.value.chartColorBinding === Ce.metric ? J : N, ae = (se = t.value.chartColorLayers) == null ? void 0 : se[X], de = Number(ae);
3584
+ const X = t.value.chartColorBinding === Ce.metric ? J : V, ae = (se = t.value.chartColorLayers) == null ? void 0 : se[X], de = Number(ae);
3585
3585
  return Number.isInteger(de) && de > 0 ? de : X + 1;
3586
3586
  }
3587
- function w(N) {
3587
+ function w(V) {
3588
3588
  return {
3589
- label: `__comparison_gap__${N}`,
3590
- tooltipLabel: `__comparison_gap__${N}`,
3589
+ label: `__comparison_gap__${V}`,
3590
+ tooltipLabel: `__comparison_gap__${V}`,
3591
3591
  data: [0],
3592
3592
  grouped: !0,
3593
- stack: `__comparison_gap__${N}`,
3593
+ stack: `__comparison_gap__${V}`,
3594
3594
  backgroundColor: oo,
3595
3595
  borderColor: oo,
3596
3596
  minBarLength: 0,
@@ -3601,18 +3601,18 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3601
3601
  const D = g(() => {
3602
3602
  if (a.value.length === 0)
3603
3603
  return [];
3604
- const N = a.value.map((re, ye) => ({
3604
+ const V = a.value.map((re, ye) => ({
3605
3605
  source: re,
3606
3606
  index: ye,
3607
3607
  name: y(re == null ? void 0 : re.name, ye),
3608
3608
  values: (re == null ? void 0 : re.values) ?? []
3609
3609
  })), J = /* @__PURE__ */ new Map(), X = /* @__PURE__ */ new Map();
3610
- for (const re of N) {
3610
+ for (const re of V) {
3611
3611
  const { clusterKey: ye, metricLabel: xe } = x(re.name);
3612
3612
  X.has(ye) || X.set(ye, X.size), J.has(xe) || J.set(xe, J.size);
3613
3613
  }
3614
3614
  const ae = Math.max(J.size, 1), de = t.value.chartColorBinding === Ce.breakdown, se = t.value.chartUseSecondaryMetricShades !== !1;
3615
- return N.map((re) => {
3615
+ return V.map((re) => {
3616
3616
  var Ee;
3617
3617
  const ye = $t({
3618
3618
  datasets: a.value,
@@ -3625,7 +3625,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3625
3625
  isCompare: !1,
3626
3626
  metricCount: t.value.metricCount,
3627
3627
  mode: t.value.chartColorBinding
3628
- }), { clusterKey: Ve, metricLabel: Te } = x(re.name), ut = ((Ee = N[xe]) == null ? void 0 : Ee.name) ?? re.name, { clusterKey: Qe, metricLabel: et } = x(ut), ct = Pe({
3628
+ }), { clusterKey: Ne, metricLabel: Te } = x(re.name), ut = ((Ee = V[xe]) == null ? void 0 : Ee.name) ?? re.name, { clusterKey: Qe, metricLabel: et } = x(ut), ct = Pe({
3629
3629
  datasetIndex: ye,
3630
3630
  isCompare: !1,
3631
3631
  metricCount: ae,
@@ -3648,14 +3648,14 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3648
3648
  }), tt = re.values.map((nt) => nt === null ? NaN : Number(nt));
3649
3649
  return {
3650
3650
  label: re.name,
3651
- tooltipLabel: `${Ve} - ${Te}`,
3651
+ tooltipLabel: `${Ne} - ${Te}`,
3652
3652
  data: tt,
3653
3653
  dash: !!re.source.isCompare,
3654
3654
  minBarLength: void 0,
3655
3655
  barPercentage: m.value ? pn : void 0,
3656
3656
  grouped: !0,
3657
3657
  order: c.value ? mt : void 0,
3658
- stack: re.source.isCompare ? `${Ve}__compare` : `${Ve}__main`,
3658
+ stack: re.source.isCompare ? `${Ne}__compare` : `${Ne}__main`,
3659
3659
  backgroundColor: ft
3660
3660
  };
3661
3661
  });
@@ -3677,38 +3677,38 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3677
3677
  isLegendBeforeChart: p,
3678
3678
  hiddenDatasetKeys: f,
3679
3679
  toggleDatasetVisibility: I,
3680
- datasets: V
3680
+ datasets: N
3681
3681
  } = Ot({
3682
3682
  chartRef: n,
3683
3683
  model: t,
3684
3684
  baseDatasets: D
3685
3685
  }), R = g(() => {
3686
3686
  if (!m.value)
3687
- return V.value;
3688
- const N = [];
3689
- return V.value.forEach((J, X) => {
3690
- N.push({
3687
+ return N.value;
3688
+ const V = [];
3689
+ return N.value.forEach((J, X) => {
3690
+ V.push({
3691
3691
  ...J,
3692
3692
  barPercentage: pn
3693
3693
  });
3694
- const ae = V.value[X + 1];
3695
- J.dash === !0 && ae && N.push(w(X));
3696
- }), N;
3694
+ const ae = N.value[X + 1];
3695
+ J.dash === !0 && ae && V.push(w(X));
3696
+ }), V;
3697
3697
  }), O = g(() => ({
3698
3698
  display: !1,
3699
3699
  labels: {
3700
- filter: (N, J) => {
3700
+ filter: (V, J) => {
3701
3701
  var X, ae;
3702
- return !((ae = (X = J.datasets) == null ? void 0 : X[N.datasetIndex ?? -1]) != null && ae.isSpacer);
3702
+ return !((ae = (X = J.datasets) == null ? void 0 : X[V.datasetIndex ?? -1]) != null && ae.isSpacer);
3703
3703
  }
3704
3704
  }
3705
3705
  }));
3706
- return (N, J) => {
3706
+ return (V, J) => {
3707
3707
  var ae, de, se, re, ye, xe;
3708
3708
  const X = ie("FmBarChart");
3709
3709
  return U(), le(Ae, null, [
3710
3710
  E("div", dl, [
3711
- Ze(N.$slots, "menu"),
3711
+ Ze(V.$slots, "menu"),
3712
3712
  E("div", {
3713
3713
  class: Se(["chart-layout", {
3714
3714
  "chart-layout--side": i(oe) && (i(Q).display ?? !1) && i(k)
@@ -3721,7 +3721,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3721
3721
  position: i(j),
3722
3722
  "text-color": (ae = i(Q).labels) == null ? void 0 : ae.color,
3723
3723
  "font-size": (se = (de = i(Q).labels) == null ? void 0 : de.font) == null ? void 0 : se.size,
3724
- "legend-update-key": i(V),
3724
+ "legend-update-key": i(N),
3725
3725
  "use-point-style": t.value.usePointStyle ?? !0,
3726
3726
  "chart-color-binding": t.value.chartColorBinding,
3727
3727
  "chart-colors": t.value.chartColors,
@@ -3754,7 +3754,7 @@ const tl = /* @__PURE__ */ uo(Qr, [["render", el]]), nl = "/assets/processTableD
3754
3754
  position: i(j),
3755
3755
  "text-color": (re = i(Q).labels) == null ? void 0 : re.color,
3756
3756
  "font-size": (xe = (ye = i(Q).labels) == null ? void 0 : ye.font) == null ? void 0 : xe.size,
3757
- "legend-update-key": i(V),
3757
+ "legend-update-key": i(N),
3758
3758
  "use-point-style": t.value.usePointStyle ?? !0,
3759
3759
  "chart-color-binding": t.value.chartColorBinding,
3760
3760
  "chart-colors": t.value.chartColors,
@@ -3824,7 +3824,7 @@ const pl = { class: "widget-content" }, hl = /* @__PURE__ */ Be({
3824
3824
  });
3825
3825
  let I = k.values;
3826
3826
  l.value && (I = [NaN, I[0], NaN]);
3827
- const V = I.map((re) => re === null ? NaN : Number(re)), R = Pe({
3827
+ const N = I.map((re) => re === null ? NaN : Number(re)), R = Pe({
3828
3828
  datasetIndex: f,
3829
3829
  isCompare: !1,
3830
3830
  metricCount: t.value.metricCount,
@@ -3834,12 +3834,12 @@ const pl = { class: "widget-content" }, hl = /* @__PURE__ */ Be({
3834
3834
  isCompare: !1,
3835
3835
  metricCount: t.value.metricCount,
3836
3836
  mode: Ce.metric
3837
- }), N = Pe({
3837
+ }), V = Pe({
3838
3838
  datasetIndex: p,
3839
3839
  isCompare: k.isCompare,
3840
3840
  metricCount: t.value.metricCount,
3841
3841
  mode: t.value.lineStyleBinding
3842
- }), J = (se = t.value.lineStyles) == null ? void 0 : se[N], X = t.value.chartColorBinding === Ce.breakdown, ae = xt({
3842
+ }), J = (se = t.value.lineStyles) == null ? void 0 : se[V], X = t.value.chartColorBinding === Ce.breakdown, ae = xt({
3843
3843
  fallbackIndex: f,
3844
3844
  metricCount: t.value.metricCount
3845
3845
  }), de = X ? _t({
@@ -3857,7 +3857,7 @@ const pl = { class: "widget-content" }, hl = /* @__PURE__ */ Be({
3857
3857
  });
3858
3858
  return {
3859
3859
  label: k.name,
3860
- data: V,
3860
+ data: N,
3861
3861
  dash: k.isCompare,
3862
3862
  lineStyle: J,
3863
3863
  fill: !0,
@@ -3894,7 +3894,7 @@ const pl = { class: "widget-content" }, hl = /* @__PURE__ */ Be({
3894
3894
  baseDatasets: W
3895
3895
  });
3896
3896
  return (k, p) => {
3897
- var I, V, R, O, N, J;
3897
+ var I, N, R, O, V, J;
3898
3898
  const f = ie("FmLineChart");
3899
3899
  return U(), le(Ae, null, [
3900
3900
  E("div", pl, [
@@ -3910,7 +3910,7 @@ const pl = { class: "widget-content" }, hl = /* @__PURE__ */ Be({
3910
3910
  enabled: i(C).display ?? !1,
3911
3911
  position: i(P),
3912
3912
  "text-color": (I = i(C).labels) == null ? void 0 : I.color,
3913
- "font-size": (R = (V = i(C).labels) == null ? void 0 : V.font) == null ? void 0 : R.size,
3913
+ "font-size": (R = (N = i(C).labels) == null ? void 0 : N.font) == null ? void 0 : R.size,
3914
3914
  "legend-update-key": i(j),
3915
3915
  "use-point-style": t.value.usePointStyle ?? !0,
3916
3916
  "chart-color-binding": t.value.chartColorBinding,
@@ -3943,7 +3943,7 @@ const pl = { class: "widget-content" }, hl = /* @__PURE__ */ Be({
3943
3943
  enabled: i(C).display ?? !1,
3944
3944
  position: i(P),
3945
3945
  "text-color": (O = i(C).labels) == null ? void 0 : O.color,
3946
- "font-size": (J = (N = i(C).labels) == null ? void 0 : N.font) == null ? void 0 : J.size,
3946
+ "font-size": (J = (V = i(C).labels) == null ? void 0 : V.font) == null ? void 0 : J.size,
3947
3947
  "legend-update-key": i(j),
3948
3948
  "use-point-style": t.value.usePointStyle ?? !0,
3949
3949
  "chart-color-binding": t.value.chartColorBinding,
@@ -4030,7 +4030,7 @@ const kl = { class: "widget-content" }, Tl = /* @__PURE__ */ Be({
4030
4030
  const I = $t({
4031
4031
  datasets: o.value,
4032
4032
  datasetIndex: f
4033
- }), V = Pe({
4033
+ }), N = Pe({
4034
4034
  datasetIndex: I,
4035
4035
  isCompare: !1,
4036
4036
  metricCount: t.value.metricCount,
@@ -4041,13 +4041,13 @@ const kl = { class: "widget-content" }, Tl = /* @__PURE__ */ Be({
4041
4041
  metricCount: t.value.metricCount,
4042
4042
  mode: Ce.metric
4043
4043
  }), O = Ye({
4044
- index: V,
4044
+ index: N,
4045
4045
  isCompare: p.isCompare,
4046
4046
  customColors: t.value.chartColors
4047
- }), N = t.value.chartColorBinding === Ce.breakdown, J = xt({
4047
+ }), V = t.value.chartColorBinding === Ce.breakdown, J = xt({
4048
4048
  fallbackIndex: I,
4049
4049
  metricCount: t.value.metricCount
4050
- }), X = N ? _t({
4050
+ }), X = V ? _t({
4051
4051
  breakdownIndex: J,
4052
4052
  metricIndex: R,
4053
4053
  metricCount: t.value.metricCount,
@@ -4058,7 +4058,7 @@ const kl = { class: "widget-content" }, Tl = /* @__PURE__ */ Be({
4058
4058
  }) : O;
4059
4059
  let ae = p.values;
4060
4060
  a.value ? ae = o.value.map(
4061
- (Re, Ve) => Ve === f ? p.values[0] : NaN
4061
+ (Re, Ne) => Ne === f ? p.values[0] : NaN
4062
4062
  ) : r.value && (ae = [NaN, ae[0], NaN]);
4063
4063
  const de = ae.map((Re) => Re === null ? NaN : Number(Re)), se = r.value || a.value, re = Pe({
4064
4064
  datasetIndex: f,
@@ -4105,7 +4105,7 @@ const kl = { class: "widget-content" }, Tl = /* @__PURE__ */ Be({
4105
4105
  baseDatasets: x
4106
4106
  });
4107
4107
  return (p, f) => {
4108
- var V, R, O, N, J, X;
4108
+ var N, R, O, V, J, X;
4109
4109
  const I = ie("FmLineChart");
4110
4110
  return U(), le(Ae, null, [
4111
4111
  E("div", kl, [
@@ -4120,7 +4120,7 @@ const kl = { class: "widget-content" }, Tl = /* @__PURE__ */ Be({
4120
4120
  "chart-ref": n.value,
4121
4121
  enabled: i(T).display ?? !1,
4122
4122
  position: i(A),
4123
- "text-color": (V = i(T).labels) == null ? void 0 : V.color,
4123
+ "text-color": (N = i(T).labels) == null ? void 0 : N.color,
4124
4124
  "font-size": (O = (R = i(T).labels) == null ? void 0 : R.font) == null ? void 0 : O.size,
4125
4125
  "legend-update-key": i(k),
4126
4126
  "chart-color-binding": t.value.chartColorBinding,
@@ -4152,7 +4152,7 @@ const kl = { class: "widget-content" }, Tl = /* @__PURE__ */ Be({
4152
4152
  "chart-ref": n.value,
4153
4153
  enabled: i(T).display ?? !1,
4154
4154
  position: i(A),
4155
- "text-color": (N = i(T).labels) == null ? void 0 : N.color,
4155
+ "text-color": (V = i(T).labels) == null ? void 0 : V.color,
4156
4156
  "font-size": (X = (J = i(T).labels) == null ? void 0 : J.font) == null ? void 0 : X.size,
4157
4157
  "legend-update-key": i(k),
4158
4158
  "chart-color-binding": t.value.chartColorBinding,
@@ -4271,7 +4271,7 @@ const kl = { class: "widget-content" }, Tl = /* @__PURE__ */ Be({
4271
4271
  }
4272
4272
  });
4273
4273
  function Il(e) {
4274
- const { breakpoints: t } = Nt(), { containerRef: n, isTable: o = L(!0) } = e;
4274
+ const { breakpoints: t } = Vt(), { containerRef: n, isTable: o = L(!0) } = e;
4275
4275
  let l = L(1), a = null, r = null, c = null, u = null, m = null, M = null;
4276
4276
  function W() {
4277
4277
  return n.value ? n.value.querySelector("table") : null;
@@ -4373,12 +4373,12 @@ function Il(e) {
4373
4373
  return;
4374
4374
  }
4375
4375
  a.style.visibility = "visible", a.style.top = `${A}px`;
4376
- const Q = window.getComputedStyle(n.value), oe = parseFloat(Q.paddingLeft) || 0, j = parseFloat(Q.paddingRight) || 0, k = C.left + oe, p = C.right - j, f = Math.max(k, C.left), I = Math.min(p, C.right), V = Math.max(0, I - f);
4377
- if (V <= 0) {
4376
+ const Q = window.getComputedStyle(n.value), oe = parseFloat(Q.paddingLeft) || 0, j = parseFloat(Q.paddingRight) || 0, k = C.left + oe, p = C.right - j, f = Math.max(k, C.left), I = Math.min(p, C.right), N = Math.max(0, I - f);
4377
+ if (N <= 0) {
4378
4378
  a.style.visibility = "hidden";
4379
4379
  return;
4380
4380
  }
4381
- a.style.left = `${f}px`, a.style.width = `${V}px`;
4381
+ a.style.left = `${f}px`, a.style.width = `${N}px`;
4382
4382
  const R = a.querySelector("table");
4383
4383
  R && (R.style.width = `${r.offsetWidth}px`, R.style.marginLeft = `${P.left - f}px`);
4384
4384
  }
@@ -4441,7 +4441,7 @@ function Il(e) {
4441
4441
  a && (a.style.top = `${l.value}px`, D());
4442
4442
  }), Le(n, () => {
4443
4443
  n.value && o.value && setTimeout(y, 100);
4444
- }), Vt(() => {
4444
+ }), Nt(() => {
4445
4445
  o.value && setTimeout(y, 100);
4446
4446
  }), lo(() => {
4447
4447
  K();
@@ -4512,12 +4512,12 @@ const Ml = {
4512
4512
  Array.isArray(a.chartBreakdownColors) ? [...a.chartBreakdownColors] : void 0
4513
4513
  ), oe = L(a.chartUseSecondaryMetricShades ?? !0), j = L(a.chartColorBinding), k = L(
4514
4514
  Array.isArray(a.lineStyles) ? [...a.lineStyles] : void 0
4515
- ), p = L(a.lineStyleBinding), f = L(a.showLabel ?? !1), I = L(a.labelAlign ?? yn.center), V = L(a.labelAnchor ?? vn.center), R = L(a.labelRotation ?? 0), O = L(a.labelOffset ?? 0), N = L(a.labelFontSize ?? 12), J = g(
4515
+ ), p = L(a.lineStyleBinding), f = L(a.showLabel ?? !1), I = L(a.labelAlign ?? yn.center), N = L(a.labelAnchor ?? vn.center), R = L(a.labelRotation ?? 0), O = L(a.labelOffset ?? 0), V = L(a.labelFontSize ?? 12), J = g(
4516
4516
  () => {
4517
4517
  var S;
4518
4518
  return ((S = $e.value) == null ? void 0 : S.showSearchBar) === !0 && (Z.value.config.showSearchBar ?? !0);
4519
4519
  }
4520
- ), X = L(a.showX ?? !0), ae = L(a.xPosition ?? bn.bottom), de = L(a.showXGrid ?? !1), se = L(a.showXTick ?? !0), re = L(a.xTickFontSize ?? 12), ye = L(a.showXTitle ?? !1), xe = L(a.xTitle ?? ""), Re = L(a.xTitleFontSize ?? 12), Ve = L(a.showY ?? !0), Te = L(a.yPosition ?? Cn.left), ut = L(a.showYGrid ?? !1), Qe = L(a.showYTick ?? !0), et = L(a.yTickFontSize ?? 12), ct = L(a.showYTitle ?? !1), dt = L(a.yTitle ?? ""), ft = L(a.yTitleFontSize ?? 12), mt = L(a.showLegend ?? void 0), tt = L(a.legendPosition ?? xn.top), Ee = L(a.usePointStyle ?? !0), nt = L(a.legendFontSize), Ge = L(a.legendColor ?? "#6b6b6b"), Ut = L(a.maxTooltipItems), Kt = L(a.stackBarOverlap ?? !1), Xt = L(a.rowHeight ?? null), St = L(a.colWidths ?? null), Oe = L(!1), kt = L(""), { breakpoints: qe, getBreakpointsBoundary: ot } = Nt(), Tt = L(), we = g(
4520
+ ), X = L(a.showX ?? !0), ae = L(a.xPosition ?? bn.bottom), de = L(a.showXGrid ?? !1), se = L(a.showXTick ?? !0), re = L(a.xTickFontSize ?? 12), ye = L(a.showXTitle ?? !1), xe = L(a.xTitle ?? ""), Re = L(a.xTitleFontSize ?? 12), Ne = L(a.showY ?? !0), Te = L(a.yPosition ?? Cn.left), ut = L(a.showYGrid ?? !1), Qe = L(a.showYTick ?? !0), et = L(a.yTickFontSize ?? 12), ct = L(a.showYTitle ?? !1), dt = L(a.yTitle ?? ""), ft = L(a.yTitleFontSize ?? 12), mt = L(a.showLegend ?? void 0), tt = L(a.legendPosition ?? xn.top), Ee = L(a.usePointStyle ?? !0), nt = L(a.legendFontSize), Ge = L(a.legendColor ?? "#6b6b6b"), Ut = L(a.maxTooltipItems), Kt = L(a.stackBarOverlap ?? !1), Xt = L(a.rowHeight ?? null), St = L(a.colWidths ?? null), Oe = L(!1), kt = L(""), { breakpoints: qe, getBreakpointsBoundary: ot } = Vt(), Tt = L(), we = g(
4521
4521
  () => m.customScreenWidth === void 0 ? window.innerWidth : m.customScreenWidth
4522
4522
  ), nn = g(
4523
4523
  () => (we == null ? void 0 : we.value) > ot("xs")[1] && (we == null ? void 0 : we.value) <= ot("sm")[1]
@@ -4539,7 +4539,7 @@ const Ml = {
4539
4539
  if (ta(Z.value.type, s.value))
4540
4540
  switch (o.value.widget.type) {
4541
4541
  case te.BarChart:
4542
- return Vr;
4542
+ return Nr;
4543
4543
  case te.StackBarChart:
4544
4544
  return cl;
4545
4545
  case te.ClusteredStackBarChart:
@@ -4603,11 +4603,11 @@ const Ml = {
4603
4603
  lineStyles: k.value,
4604
4604
  lineStyleBinding: p.value,
4605
4605
  showLabel: f.value,
4606
- labelAnchor: V.value,
4606
+ labelAnchor: N.value,
4607
4607
  labelAlign: I.value,
4608
4608
  labelRotation: R.value,
4609
4609
  labelOffset: O.value,
4610
- labelFontSize: N.value,
4610
+ labelFontSize: V.value,
4611
4611
  showX: X.value,
4612
4612
  xPosition: ae.value,
4613
4613
  showXGrid: de.value,
@@ -4616,7 +4616,7 @@ const Ml = {
4616
4616
  showXTitle: ye.value,
4617
4617
  xTitle: xe.value,
4618
4618
  xTitleFontSize: Re.value,
4619
- showY: Ve.value,
4619
+ showY: Ne.value,
4620
4620
  yPosition: Te.value,
4621
4621
  showYGrid: ut.value,
4622
4622
  showYTick: Qe.value,
@@ -4687,7 +4687,7 @@ const Ml = {
4687
4687
  Le(
4688
4688
  () => o.value.widget.config,
4689
4689
  (S) => {
4690
- v.value = S.rollup, K.value = S.showTitle ?? !0, z.value = S.titleFontSize ?? 14, C.value = S.titleBold ?? !1, T.value = S.titleItalic ?? !1, P.value = S.titleUnderline ?? !1, A.value = Array.isArray(S.chartColors) ? [...S.chartColors] : void 0, G.value = Array.isArray(S.chartColorLayers) ? [...S.chartColorLayers] : void 0, Q.value = Array.isArray(S.chartBreakdownColors) ? [...S.chartBreakdownColors] : void 0, oe.value = S.chartUseSecondaryMetricShades ?? !0, j.value = S.chartColorBinding, k.value = Array.isArray(S.lineStyles) ? [...S.lineStyles] : void 0, p.value = S.lineStyleBinding, f.value = S.showLabel ?? !1, I.value = S.labelAlign ?? yn.center, V.value = S.labelAnchor ?? vn.center, R.value = S.labelRotation ?? 0, O.value = S.labelOffset ?? 0, N.value = S.labelFontSize ?? 12, X.value = S.showX ?? !0, ae.value = S.xPosition ?? bn.bottom, de.value = S.showXGrid ?? !1, se.value = S.showXTick ?? !0, re.value = S.xTickFontSize ?? 12, ye.value = S.showXTitle ?? !1, xe.value = S.xTitle ?? "", Re.value = S.xTitleFontSize ?? 12, Ve.value = S.showY ?? !0, Te.value = S.yPosition ?? Cn.left, ut.value = S.showYGrid ?? !1, Qe.value = S.showYTick ?? !0, et.value = S.yTickFontSize ?? 12, ct.value = S.showYTitle ?? !1, dt.value = S.yTitle ?? "", ft.value = S.yTitleFontSize ?? 12, mt.value = S.showLegend ?? void 0, tt.value = S.legendPosition ?? xn.top, Ee.value = S.usePointStyle ?? !0, nt.value = S.legendFontSize, Ge.value = S.legendColor ?? "#6b6b6b", Ut.value = S.maxTooltipItems, Kt.value = S.stackBarOverlap ?? !1, Xt.value = S.rowHeight ?? null, St.value = S.colWidths ?? null, w.value = Bt();
4690
+ v.value = S.rollup, K.value = S.showTitle ?? !0, z.value = S.titleFontSize ?? 14, C.value = S.titleBold ?? !1, T.value = S.titleItalic ?? !1, P.value = S.titleUnderline ?? !1, A.value = Array.isArray(S.chartColors) ? [...S.chartColors] : void 0, G.value = Array.isArray(S.chartColorLayers) ? [...S.chartColorLayers] : void 0, Q.value = Array.isArray(S.chartBreakdownColors) ? [...S.chartBreakdownColors] : void 0, oe.value = S.chartUseSecondaryMetricShades ?? !0, j.value = S.chartColorBinding, k.value = Array.isArray(S.lineStyles) ? [...S.lineStyles] : void 0, p.value = S.lineStyleBinding, f.value = S.showLabel ?? !1, I.value = S.labelAlign ?? yn.center, N.value = S.labelAnchor ?? vn.center, R.value = S.labelRotation ?? 0, O.value = S.labelOffset ?? 0, V.value = S.labelFontSize ?? 12, X.value = S.showX ?? !0, ae.value = S.xPosition ?? bn.bottom, de.value = S.showXGrid ?? !1, se.value = S.showXTick ?? !0, re.value = S.xTickFontSize ?? 12, ye.value = S.showXTitle ?? !1, xe.value = S.xTitle ?? "", Re.value = S.xTitleFontSize ?? 12, Ne.value = S.showY ?? !0, Te.value = S.yPosition ?? Cn.left, ut.value = S.showYGrid ?? !1, Qe.value = S.showYTick ?? !0, et.value = S.yTickFontSize ?? 12, ct.value = S.showYTitle ?? !1, dt.value = S.yTitle ?? "", ft.value = S.yTitleFontSize ?? 12, mt.value = S.showLegend ?? void 0, tt.value = S.legendPosition ?? xn.top, Ee.value = S.usePointStyle ?? !0, nt.value = S.legendFontSize, Ge.value = S.legendColor ?? "#6b6b6b", Ut.value = S.maxTooltipItems, Kt.value = S.stackBarOverlap ?? !1, Xt.value = S.rowHeight ?? null, St.value = S.colWidths ?? null, w.value = Bt();
4691
4691
  },
4692
4692
  { deep: !0, immediate: !0 }
4693
4693
  ), Le(
@@ -4722,7 +4722,7 @@ const Ml = {
4722
4722
  je();
4723
4723
  },
4724
4724
  { deep: !0 }
4725
- ), Vt(() => {
4725
+ ), Nt(() => {
4726
4726
  je(), qe.value.sm || qe.value.md || qe.value.xs ? (console.log("Ignoring resize event due to keyboard"), addEventListener("change", je)) : addEventListener("resize", je), Ie();
4727
4727
  }), lo(() => {
4728
4728
  qe.value.sm || qe.value.md || qe.value.xs ? (console.log("Ignoring resize event due to keyboard"), removeEventListener("change", je)) : removeEventListener("resize", je);
@@ -4781,7 +4781,7 @@ const Ml = {
4781
4781
  }
4782
4782
  })), Io = m.flat || Z.value.type === te.Spacer ? "flat" : "outlined", Mo = Z.value.type === te.Spacer ? "p-0" : "p-16", Bo = g(() => m.flat ? "w-full" : an.value);
4783
4783
  return (S, fe) => {
4784
- const Me = ie("FmTooltip"), Pt = ie("FmSearch"), cn = ie("FmCheckbox"), pt = ie("FmButton"), Ao = ie("FmSelect"), Fo = ie("FmMenuItem"), Ro = ie("FmMenu"), Vo = ie("FmForm"), No = ie("FmCircularProgress"), $o = ie("FmCard");
4784
+ const Me = ie("FmTooltip"), Pt = ie("FmSearch"), cn = ie("FmCheckbox"), pt = ie("FmButton"), Ao = ie("FmSelect"), Fo = ie("FmMenuItem"), Ro = ie("FmMenu"), No = ie("FmForm"), Vo = ie("FmCircularProgress"), $o = ie("FmCard");
4785
4785
  return U(), ue($o, {
4786
4786
  ref_key: "tileCard",
4787
4787
  ref: M,
@@ -4804,12 +4804,12 @@ const Ml = {
4804
4804
  "tile-index": m.index
4805
4805
  }, {
4806
4806
  menu: _e(() => [
4807
- rn.value ? (U(), ue(Vo, {
4807
+ rn.value ? (U(), ue(No, {
4808
4808
  key: 0,
4809
4809
  class: "flex items-center gap-2"
4810
4810
  }, {
4811
4811
  default: _e(() => {
4812
- var ht, Vn, Nn;
4812
+ var ht, Nn, Vn;
4813
4813
  return [
4814
4814
  ce(Me, {
4815
4815
  variant: "plain",
@@ -4851,7 +4851,7 @@ const Ml = {
4851
4851
  }, null, 8, ["modelValue"]), [
4852
4852
  [Yo, (ht = $e.value) == null ? void 0 : ht.showLabel]
4853
4853
  ]),
4854
- (Vn = $e.value) != null && Vn.showDrillDimension && be.value.length > 0 ? (U(), le("div", Al, [
4854
+ (Nn = $e.value) != null && Nn.showDrillDimension && be.value.length > 0 ? (U(), le("div", Al, [
4855
4855
  ce(pt, {
4856
4856
  icon: "arrow_upward",
4857
4857
  variant: "tertiary",
@@ -4865,7 +4865,7 @@ const Ml = {
4865
4865
  onClick: un
4866
4866
  }, null, 8, ["disabled"])
4867
4867
  ])) : pe("", !0),
4868
- (Nn = $e.value) != null && Nn.showRollup && ve.value.length > 0 ? (U(), ue(Ao, {
4868
+ (Vn = $e.value) != null && Vn.showRollup && ve.value.length > 0 ? (U(), ue(Ao, {
4869
4869
  key: `rollup-${i(u)}`,
4870
4870
  modelValue: v.value,
4871
4871
  "onUpdate:modelValue": fe[3] || (fe[3] = (Xe) => v.value = Xe),
@@ -4898,7 +4898,7 @@ const Ml = {
4898
4898
  ]),
4899
4899
  _: 1
4900
4900
  }, 8, ["modelValue", "tile-index"]))
4901
- ])) : (U(), ue(No, { key: 1 }))
4901
+ ])) : (U(), ue(Vo, { key: 1 }))
4902
4902
  ]),
4903
4903
  _: 1
4904
4904
  }, 8, ["class", "variant", "style"]);