@feedmepos/mf-report 5.25.6-beta.0 → 5.25.7-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 (24) hide show
  1. package/dist/{App-CJHrxSKN.js → App-gHghnXVv.js} +4 -4
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-87Y5RtaZ.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DNA5N91t.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-CeIlFhvA.js → Default.vue_vue_type_script_setup_true_lang-D6Gy1vgv.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BhBoyM4q.js → DynamicWidget.vue_vue_type_script_setup_true_lang-DJ6rvvHv.js} +166 -166
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Dg-2QRDD.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BgRqSRmF.js} +872 -816
  6. package/dist/{InsightView-CB8RI99y.js → InsightView-BsdAAgRZ.js} +4 -4
  7. package/dist/{Integration-CGYT_xPR.js → Integration-B8cFqUeq.js} +3 -3
  8. package/dist/{Integrations-0HXyr_ZW.js → Integrations-BjbzzNzo.js} +2 -2
  9. package/dist/{Layout-C7HpP7jG.js → Layout-ZaDAeDuB.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-2rJOqMDy.js → MenuTab.vue_vue_type_script_setup_true_lang-IFfHx1DE.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BnF-sxq8.js → NavigationTab.vue_vue_type_script_setup_true_lang-BmX9xtKP.js} +3 -3
  12. package/dist/{OverviewView-BWln84_K.js → OverviewView--bmm8Bpw.js} +4 -4
  13. package/dist/{Report-D-wx9SON.js → Report-DlVStJzk.js} +3 -3
  14. package/dist/{ReportEditor-65aSBIpQ.js → ReportEditor-DKFh0x3n.js} +3 -3
  15. package/dist/{ReportView-BpaO-WFu.js → ReportView-Dioy3fJC.js} +6 -6
  16. package/dist/{Setting-D7UrXe8P.js → Setting-RVTiGH53.js} +3 -3
  17. package/dist/{TileEditor-C7Et5kwH.js → TileEditor-BjfFS0tl.js} +5 -5
  18. package/dist/{TransitionFade-BdeKFYyf.js → TransitionFade-D2O_Adv6.js} +4 -4
  19. package/dist/{app-BVf1wKAD.js → app-CuihnbMq.js} +11 -11
  20. package/dist/app.js +1 -1
  21. package/dist/assets/{formatChartData.worker-Bl33nKWr.js → formatChartData.worker-BzuADGYi.js} +55 -36
  22. package/dist/assets/{processTableData.worker-CNwOO2hz.js → processTableData.worker-DTnbVu-a.js} +55 -36
  23. package/dist/{useRestaurantPermission-CE5p_ZlI.js → useRestaurantPermission-DA_3RCjb.js} +1 -1
  24. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { computed as x, defineComponent as Fe, ref as P, onMounted as ut, onBeforeUnmount as ao, resolveComponent as de, createBlock as me, openBlock as J, Transition as Ho, withCtx as Te, createElementBlock as ue, createCommentVNode as ge, createElementVNode as ne, unref as a, normalizeStyle as Le, withModifiers as Zt, toDisplayString as Be, createVNode as ce, Fragment as Ve, renderList as $t, normalizeClass as De, watch as Pe, nextTick as it, mergeModels as Ue, useModel as He, renderSlot as Qe, h as Gt, createSlots as Wo, resolveDynamicComponent as ro, toRaw as Oo, markRaw as Eo, createTextVNode as Uo, onUnmounted as lo, withDirectives as Ko, vShow as Xo } from "vue";
2
- import { W as oe, i as so, j as Yo, S as Rt, v as Nt, k as qo, l as dn, m as io, d as Go, q as jo, R as yt, n as Jo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Dg-2QRDD.js";
3
- import { i as Qt, a as nn, u as uo } from "./app-BVf1wKAD.js";
4
- import { d as gn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-87Y5RtaZ.js";
1
+ import { computed as x, defineComponent as Fe, ref as P, onMounted as ut, onBeforeUnmount as ao, resolveComponent as de, createBlock as me, openBlock as J, Transition as Ho, withCtx as Te, createElementBlock as ue, createCommentVNode as ge, createElementVNode as ne, unref as a, normalizeStyle as Le, withModifiers as Zt, toDisplayString as Be, createVNode as ce, Fragment as Ve, renderList as Nt, normalizeClass as De, watch as Pe, nextTick as it, mergeModels as Ue, useModel as He, renderSlot as Qe, h as Gt, createSlots as Wo, resolveDynamicComponent as ro, toRaw as Oo, markRaw as Eo, createTextVNode as Uo, onUnmounted as lo, withDirectives as Ko, vShow as Xo } from "vue";
2
+ import { W as oe, i as so, j as Yo, S as Rt, v as $t, k as qo, l as dn, m as io, d as Go, q as jo, R as yt, n as Jo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BgRqSRmF.js";
3
+ import { i as Qt, a as nn, u as uo } from "./app-CuihnbMq.js";
4
+ import { d as gn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DNA5N91t.js";
5
5
  import { storeToRefs as xt, defineStore as Zo } from "pinia";
6
6
  import { detectLocale as co } from "@feedmepos/mf-common";
7
7
  import { C as vn } from "./chart-DDDh8zNk.js";
@@ -562,7 +562,7 @@ function Fa(e, n, t) {
562
562
  const o = Ft(e.borderColor, n) || Ft(e.color, n), r = Ft(e.backgroundColor, n), i = Ft(e.pointBorderColor, n), s = Ft(e.pointBackgroundColor, n);
563
563
  return t ? Un(r, s, o, i) : Un(o, i, r, s);
564
564
  }
565
- function Na(e) {
565
+ function $a(e) {
566
566
  return e.trim().toLowerCase();
567
567
  }
568
568
  function Ft(e, n) {
@@ -572,7 +572,7 @@ function Ft(e, n) {
572
572
  return typeof t == "string" ? t : void 0;
573
573
  }
574
574
  }
575
- function $a(e) {
575
+ function Na(e) {
576
576
  if (typeof e != "string") return "#9ca3af";
577
577
  const n = e.trim();
578
578
  return /^[-#(),.%\sa-zA-Z0-9]+$/.test(n) ? n : "#9ca3af";
@@ -584,7 +584,7 @@ function Va(e) {
584
584
  function Un(...e) {
585
585
  for (const n of e) {
586
586
  if (!n) continue;
587
- const t = $a(n);
587
+ const t = Na(n);
588
588
  if (!Va(t))
589
589
  return t;
590
590
  }
@@ -680,7 +680,7 @@ function _o(e, n, t, o, r, i, s, c) {
680
680
  isBar: j,
681
681
  value: G,
682
682
  datasetLabel: K,
683
- matchingKey: Na(K)
683
+ matchingKey: $a(K)
684
684
  };
685
685
  if (H && Ia(M)) {
686
686
  p.push(Y);
@@ -966,7 +966,7 @@ function ar(e, n, t) {
966
966
  An(e, t);
967
967
  return;
968
968
  }
969
- $e(e, n, !0);
969
+ Ne(e, n, !0);
970
970
  }, window.addEventListener(Dn, e.__onNavigationChange), window.addEventListener("popstate", e.__onNavigationChange), window.addEventListener("hashchange", e.__onNavigationChange), window.addEventListener("beforeunload", e.__onNavigationChange));
971
971
  }
972
972
  function rr(e, n) {
@@ -1011,12 +1011,12 @@ function qn(e, n, t, o, r) {
1011
1011
  );
1012
1012
  }));
1013
1013
  }
1014
- function $e(e, n, t = !1) {
1014
+ function Ne(e, n, t = !1) {
1015
1015
  St(e) && !t || (kt(e), Lo(e), wo(e, !1), Wa(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", en(n));
1016
1016
  }
1017
1017
  function Gn(e, n, t = xa) {
1018
1018
  e.__isTooltipHovered || (kt(e), e.__hideTimeoutId = window.setTimeout(() => {
1019
- e.__isTooltipHovered || $e(e, n);
1019
+ e.__isTooltipHovered || Ne(e, n);
1020
1020
  }, t));
1021
1021
  }
1022
1022
  function ir(e, n, t, o, r) {
@@ -1047,7 +1047,7 @@ function ir(e, n, t, o, r) {
1047
1047
  }, n.addEventListener("pointermove", e.__onCanvasPointerMove, {
1048
1048
  passive: !0
1049
1049
  })), e.__onCanvasPointerLeave || (e.__onCanvasPointerLeave = () => {
1050
- st() && St(e) || $e(e, t);
1050
+ st() && St(e) || Ne(e, t);
1051
1051
  }, n.addEventListener("pointerleave", e.__onCanvasPointerLeave, {
1052
1052
  passive: !0
1053
1053
  })), e.__onCanvasClick || (e.__onCanvasClick = (s) => {
@@ -1070,7 +1070,7 @@ function ir(e, n, t, o, r) {
1070
1070
  S,
1071
1071
  D
1072
1072
  ).detailsPayload;
1073
- return (I = r.onViewFullDetails) == null || I.call(r, f, t), $e(e, t), !0;
1073
+ return (I = r.onViewFullDetails) == null || I.call(r, f, t), Ne(e, t), !0;
1074
1074
  }, d = ((w = t == null ? void 0 : t.tooltip) == null ? void 0 : w.dataPoints) ?? [];
1075
1075
  if (c(d))
1076
1076
  return;
@@ -1128,7 +1128,7 @@ function ir(e, n, t, o, r) {
1128
1128
  index: F.index
1129
1129
  }));
1130
1130
  if (H.length === 0) {
1131
- $e(e, t, !0);
1131
+ Ne(e, t, !0);
1132
1132
  return;
1133
1133
  }
1134
1134
  const y = H[0], p = Ea(
@@ -1137,7 +1137,7 @@ function ir(e, n, t, o, r) {
1137
1137
  y.index
1138
1138
  ), k = Number.isFinite(e.__lastPhoneTapAt), w = p && Ua(e, s.offsetX, s.offsetY, s.timeStamp);
1139
1139
  if (k && !w && p) {
1140
- $e(e, t, !0);
1140
+ Ne(e, t, !0);
1141
1141
  return;
1142
1142
  }
1143
1143
  wo(e, !0), kt(e), e.dataset.cursorCanvasX = String(s.offsetX), e.dataset.cursorCanvasY = String(s.offsetY), e.dataset.caretX = String(s.offsetX), e.dataset.caretY = String(s.offsetY), d.setActiveElements(H, {
@@ -1150,7 +1150,7 @@ function ir(e, n, t, o, r) {
1150
1150
  return;
1151
1151
  }
1152
1152
  if (w && (r != null && r.onViewFullDetails) && e.__detailsPayload) {
1153
- r.onViewFullDetails(e.__detailsPayload, t), $e(e, t);
1153
+ r.onViewFullDetails(e.__detailsPayload, t), Ne(e, t);
1154
1154
  return;
1155
1155
  }
1156
1156
  Oa(
@@ -1167,11 +1167,11 @@ function ir(e, n, t, o, r) {
1167
1167
  }, n.addEventListener("pointerup", e.__onCanvasPointerUp)), r != null && r.onViewFullDetails && (e.__onDetailsClick || (e.__onDetailsClick = (s) => {
1168
1168
  var v;
1169
1169
  const c = s.target;
1170
- c != null && c.closest('[data-tooltip-full-details="true"]') && (s.preventDefault(), s.stopPropagation(), e.__detailsPayload && ((v = r.onViewFullDetails) == null || v.call(r, e.__detailsPayload, t), $e(e, t)));
1170
+ c != null && c.closest('[data-tooltip-full-details="true"]') && (s.preventDefault(), s.stopPropagation(), e.__detailsPayload && ((v = r.onViewFullDetails) == null || v.call(r, e.__detailsPayload, t), Ne(e, t)));
1171
1171
  }, e.addEventListener("click", e.__onDetailsClick)), e.__onTooltipPointerEnter || (e.__onTooltipPointerEnter = () => {
1172
1172
  e.__isTooltipHovered = !0, kt(e);
1173
1173
  }, e.addEventListener("pointerenter", e.__onTooltipPointerEnter)), e.__onTooltipPointerLeave || (e.__onTooltipPointerLeave = () => {
1174
- e.__isTooltipHovered = !1, $e(e, t);
1174
+ e.__isTooltipHovered = !1, Ne(e, t);
1175
1175
  }, e.addEventListener("pointerleave", e.__onTooltipPointerLeave)));
1176
1176
  }
1177
1177
  function ur(e, n, t) {
@@ -1215,14 +1215,14 @@ function cr(e, n) {
1215
1215
  if (d || (d = er(c)), d.parentElement !== s && s.appendChild(d), In(d, s), ur(d, i, e), ar(d, o, i), rr(d, i), ir(d, i, o, e, n), ((r == null ? void 0 : r.opacity) ?? 0) === 0) {
1216
1216
  if (st() && St(d))
1217
1217
  return;
1218
- n != null && n.onViewFullDetails ? Gn(d, o) : $e(d, o);
1218
+ n != null && n.onViewFullDetails ? Gn(d, o) : Ne(d, o);
1219
1219
  return;
1220
1220
  }
1221
1221
  const v = (r == null ? void 0 : r.dataPoints) ?? [];
1222
1222
  if (v.length === 0) {
1223
1223
  if (st() && St(d))
1224
1224
  return;
1225
- n != null && n.onViewFullDetails ? Gn(d, o) : $e(d, o);
1225
+ n != null && n.onViewFullDetails ? Gn(d, o) : Ne(d, o);
1226
1226
  return;
1227
1227
  }
1228
1228
  lr(s, c, i), kt(d);
@@ -1251,8 +1251,8 @@ function cr(e, n) {
1251
1251
  return z;
1252
1252
  if (!Number.isFinite(z))
1253
1253
  return O;
1254
- const N = Number.isFinite(L) ? L : g, X = Math.abs(z - N);
1255
- return Math.abs(O - N) > X ? O : z;
1254
+ const $ = Number.isFinite(L) ? L : g, X = Math.abs(z - $);
1255
+ return Math.abs(O - $) > X ? O : z;
1256
1256
  }, Number.NaN) : Number.NaN, u = S, I = B, M = e ? Number.isFinite(L) && Number.isFinite(A) && A < L ? "left" : "right" : "center";
1257
1257
  Bn(
1258
1258
  d,
@@ -1570,12 +1570,12 @@ const fr = {
1570
1570
  class: "flex flex-1 flex-col gap-4 overflow-y-auto px-4 py-4 sm:px-5",
1571
1571
  onMouseleave: p
1572
1572
  }, [
1573
- (J(!0), ue(Ve, null, $t(v.value, (K, G) => (J(), ue("div", {
1573
+ (J(!0), ue(Ve, null, Nt(v.value, (K, G) => (J(), ue("div", {
1574
1574
  key: `${K.title || "section"}-${G}`,
1575
1575
  class: "flex flex-col gap-2 rounded-2xl bg-fm-color-neutral-white/45 py-3"
1576
1576
  }, [
1577
1577
  K.title ? (J(), ue("p", vr, Be(K.title), 1)) : ge("", !0),
1578
- (J(!0), ue(Ve, null, $t(K.values, (j, Y) => (J(), ue("button", {
1578
+ (J(!0), ue(Ve, null, Nt(K.values, (j, Y) => (J(), ue("button", {
1579
1579
  key: `${j.text}-${Y}`,
1580
1580
  type: "button",
1581
1581
  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",
@@ -1702,7 +1702,7 @@ const fr = {
1702
1702
  function O() {
1703
1703
  b();
1704
1704
  }
1705
- function N(l) {
1705
+ function $(l) {
1706
1706
  const m = y.value, h = H.value;
1707
1707
  if (!m || !h || !k.value)
1708
1708
  return;
@@ -1721,7 +1721,7 @@ const fr = {
1721
1721
  const h = l.clientY - S.value, C = Math.max(1, m.clientHeight - w.value), E = Math.min(C, Math.max(0, B.value + h)) / C, Z = Math.max(0, m.scrollHeight - m.clientHeight);
1722
1722
  m.scrollTop = E * Z, b();
1723
1723
  }
1724
- function $() {
1724
+ function N() {
1725
1725
  g.value && (g.value = !1);
1726
1726
  }
1727
1727
  function te() {
@@ -1998,7 +1998,7 @@ const fr = {
1998
1998
  const l = (m = t.chartRef) == null ? void 0 : m.datasets;
1999
1999
  return Array.isArray(l) ? l : [];
2000
2000
  }
2001
- function Ne(l, m) {
2001
+ function $e(l, m) {
2002
2002
  return typeof l.datasetKey == "string" && l.datasetKey.trim().length > 0 ? `dataset-key:${l.datasetKey}` : typeof l.datasetIndex == "number" && typeof l.index == "number" ? `dataset:${l.datasetIndex}-item:${l.index}` : typeof l.datasetIndex == "number" ? `dataset:${l.datasetIndex}` : typeof l.index == "number" ? `item:${l.index}` : typeof l.text == "string" && l.text.trim().length > 0 ? `text:${l.text.trim()}` : `fallback:${m}`;
2003
2003
  }
2004
2004
  function ot() {
@@ -2236,7 +2236,7 @@ const fr = {
2236
2236
  const he = Q[re];
2237
2237
  he && typeof he == "object" && (he.hidden = ve);
2238
2238
  }), Bt(
2239
- (re) => Ne(re, 0) === Ne(l, 0),
2239
+ (re) => $e(re, 0) === $e(l, 0),
2240
2240
  ve
2241
2241
  );
2242
2242
  }
@@ -2251,7 +2251,7 @@ const fr = {
2251
2251
  const Ce = Q[he];
2252
2252
  Ce && typeof Ce == "object" && (Ce.hidden = !re);
2253
2253
  }), h.update(), Bt(
2254
- (he) => Ne(he, 0) === Ne(l, 0),
2254
+ (he) => $e(he, 0) === $e(l, 0),
2255
2255
  !re
2256
2256
  );
2257
2257
  }
@@ -2263,7 +2263,7 @@ const fr = {
2263
2263
  d.value = !1, y.value && (y.value.scrollTop = 0), Ye();
2264
2264
  }
2265
2265
  return ut(() => {
2266
- qt(), window.addEventListener("mousemove", q), window.addEventListener("mouseup", $);
2266
+ qt(), window.addEventListener("mousemove", q), window.addEventListener("mouseup", N);
2267
2267
  }), Pe(
2268
2268
  () => [
2269
2269
  t.enabled,
@@ -2276,7 +2276,7 @@ const fr = {
2276
2276
  Ge();
2277
2277
  }
2278
2278
  ), ao(() => {
2279
- g.value = !1, j(), G({ height: 0, width: 0 }), window.removeEventListener("mousemove", q), window.removeEventListener("mouseup", $);
2279
+ g.value = !1, j(), G({ height: 0, width: 0 }), window.removeEventListener("mousemove", q), window.removeEventListener("mouseup", N);
2280
2280
  }), (l, m) => D.value ? (J(), ue("div", {
2281
2281
  key: 0,
2282
2282
  ref_key: "legendPanelRef",
@@ -2309,8 +2309,8 @@ const fr = {
2309
2309
  style: Le(qe.value),
2310
2310
  onScroll: O
2311
2311
  }, [
2312
- (J(!0), ue(Ve, null, $t(Mt.value, (h, C) => (J(), ue("li", {
2313
- key: Ne(h, C),
2312
+ (J(!0), ue(Ve, null, Nt(Mt.value, (h, C) => (J(), ue("li", {
2313
+ key: $e(h, C),
2314
2314
  class: De(["chart-legend-item relative z-[2] inline-flex max-w-full cursor-pointer select-none pointer-events-auto", {
2315
2315
  "opacity-45": h.hidden
2316
2316
  }]),
@@ -2356,7 +2356,7 @@ const fr = {
2356
2356
  A.value ? (J(), ue("div", {
2357
2357
  key: 0,
2358
2358
  class: "absolute top-0 right-0 h-full w-2 rounded-full bg-transparent",
2359
- onMousedown: N
2359
+ onMousedown: $
2360
2360
  }, [
2361
2361
  ne("div", {
2362
2362
  class: "absolute left-0 w-full rounded-full bg-gray-500/60 cursor-pointer hover:bg-gray-500/85",
@@ -2522,28 +2522,28 @@ const Ar = { class: "widget-content" }, Rr = 2, mn = 1, to = "rgba(0, 0, 0, 0)",
2522
2522
  }
2523
2523
  const W = x(() => r.value.length > 0 ? [
2524
2524
  ...r.value.map((b, O) => {
2525
- const N = Ht({
2525
+ const $ = Ht({
2526
2526
  datasets: r.value,
2527
2527
  datasetIndex: O
2528
2528
  }), X = Ie({
2529
- datasetIndex: N,
2529
+ datasetIndex: $,
2530
2530
  isCompare: !1,
2531
2531
  metricCount: t.value.metricCount,
2532
2532
  mode: t.value.chartColorBinding
2533
2533
  }), q = Ie({
2534
- datasetIndex: N,
2534
+ datasetIndex: $,
2535
2535
  isCompare: !1,
2536
2536
  metricCount: t.value.metricCount,
2537
2537
  mode: xe.metric
2538
2538
  });
2539
- let $ = b.values;
2540
- s.value && ($ = r.value.map(
2539
+ let N = b.values;
2540
+ s.value && (N = r.value.map(
2541
2541
  (se, ye) => ye === O ? b.values[0] : NaN
2542
2542
  ));
2543
2543
  const te = t.value.chartColorBinding === xe.breakdown, ae = _t({
2544
- fallbackIndex: N,
2544
+ fallbackIndex: $,
2545
2545
  metricCount: t.value.metricCount
2546
- }), le = $.map((se) => se === null ? NaN : Number(se));
2546
+ }), le = N.map((se) => se === null ? NaN : Number(se));
2547
2547
  return {
2548
2548
  label: b.name,
2549
2549
  data: le,
@@ -2595,26 +2595,26 @@ const Ar = { class: "widget-content" }, Rr = 2, mn = 1, to = "rgba(0, 0, 0, 0)",
2595
2595
  if (!d.value)
2596
2596
  return Y.value;
2597
2597
  const b = [];
2598
- return Y.value.forEach((O, N) => {
2598
+ return Y.value.forEach((O, $) => {
2599
2599
  b.push({
2600
2600
  ...O,
2601
2601
  barPercentage: mn
2602
2602
  });
2603
- const X = Y.value[N + 1];
2604
- O.dash === !0 && X && b.push(R(N));
2603
+ const X = Y.value[$ + 1];
2604
+ O.dash === !0 && X && b.push(R($));
2605
2605
  }), b;
2606
2606
  }), _ = x(() => ({
2607
2607
  display: !1,
2608
2608
  labels: {
2609
2609
  filter: (b, O) => {
2610
- var N, X;
2611
- return !((X = (N = O.datasets) == null ? void 0 : N[b.datasetIndex ?? -1]) != null && X.isSpacer);
2610
+ var $, X;
2611
+ return !((X = ($ = O.datasets) == null ? void 0 : $[b.datasetIndex ?? -1]) != null && X.isSpacer);
2612
2612
  }
2613
2613
  }
2614
2614
  }));
2615
2615
  return (b, O) => {
2616
- var X, q, $, te, ae, le;
2617
- const N = de("FmBarChart");
2616
+ var X, q, N, te, ae, le;
2617
+ const $ = de("FmBarChart");
2618
2618
  return J(), ue(Ve, null, [
2619
2619
  ne("div", Ar, [
2620
2620
  Qe(b.$slots, "menu"),
@@ -2630,7 +2630,7 @@ const Ar = { class: "widget-content" }, Rr = 2, mn = 1, to = "rgba(0, 0, 0, 0)",
2630
2630
  position: a(I),
2631
2631
  "max-width": a(f).maxWidth,
2632
2632
  "text-color": (X = a(f).labels) == null ? void 0 : X.color,
2633
- "font-size": ($ = (q = a(f).labels) == null ? void 0 : q.font) == null ? void 0 : $.size,
2633
+ "font-size": (N = (q = a(f).labels) == null ? void 0 : q.font) == null ? void 0 : N.size,
2634
2634
  "legend-update-key": a(Y),
2635
2635
  "use-point-style": t.value.usePointStyle ?? !0,
2636
2636
  "chart-color-binding": t.value.chartColorBinding,
@@ -2641,7 +2641,7 @@ const Ar = { class: "widget-content" }, Rr = 2, mn = 1, to = "rgba(0, 0, 0, 0)",
2641
2641
  "hidden-dataset-keys": a(G),
2642
2642
  onToggleDatasetVisibility: a(j)
2643
2643
  }, null, 8, ["chart-ref", "enabled", "position", "max-width", "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"])) : ge("", !0),
2644
- ce(N, {
2644
+ ce($, {
2645
2645
  ref_key: "chartRef",
2646
2646
  ref: o,
2647
2647
  class: "bar-chart",
@@ -2690,7 +2690,7 @@ const Ar = { class: "widget-content" }, Rr = 2, mn = 1, to = "rgba(0, 0, 0, 0)",
2690
2690
  ], 64);
2691
2691
  };
2692
2692
  }
2693
- }), Nr = { class: "widget-content" }, $r = /* @__PURE__ */ Fe({
2693
+ }), $r = { class: "widget-content" }, Nr = /* @__PURE__ */ Fe({
2694
2694
  __name: "WidgetCircular",
2695
2695
  props: /* @__PURE__ */ Ue({
2696
2696
  tileIndex: {}
@@ -2762,7 +2762,7 @@ const Ar = { class: "widget-content" }, Rr = 2, mn = 1, to = "rgba(0, 0, 0, 0)",
2762
2762
  }
2763
2763
  return (u, I) => {
2764
2764
  const M = de("FmPieChart");
2765
- return J(), ue("div", Nr, [
2765
+ return J(), ue("div", $r, [
2766
2766
  Qe(u.$slots, "menu"),
2767
2767
  ne("div", {
2768
2768
  class: De(["chart-layout", {
@@ -3021,11 +3021,11 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3021
3021
  const L = f.getBoundingClientRect().width || 60, A = f.querySelector("button"), u = (A == null ? void 0 : A.querySelector("span")) || f.querySelector("p") || f;
3022
3022
  let I = 60;
3023
3023
  if (u) {
3024
- const z = u.textContent || "", _ = window.getComputedStyle(u), b = `${_.fontWeight} ${_.fontSize} ${_.fontFamily}`, N = document.createElement("canvas").getContext("2d");
3025
- if (N) {
3026
- N.font = b;
3027
- const X = N.measureText(z), q = window.getComputedStyle(f), $ = parseFloat(q.paddingLeft || "0"), te = parseFloat(q.paddingRight || "0");
3028
- I = X.width + $ + te;
3024
+ const z = u.textContent || "", _ = window.getComputedStyle(u), b = `${_.fontWeight} ${_.fontSize} ${_.fontFamily}`, $ = document.createElement("canvas").getContext("2d");
3025
+ if ($) {
3026
+ $.font = b;
3027
+ const X = $.measureText(z), q = window.getComputedStyle(f), N = parseFloat(q.paddingLeft || "0"), te = parseFloat(q.paddingRight || "0");
3028
+ I = X.width + N + te;
3029
3029
  }
3030
3030
  }
3031
3031
  R(S, !1);
@@ -3035,8 +3035,8 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3035
3035
  const z = f;
3036
3036
  z.style.width = `${K}px`;
3037
3037
  let _ = 0;
3038
- D.querySelectorAll("th").forEach((O, N) => {
3039
- _ += N === S ? K : O.getBoundingClientRect().width;
3038
+ D.querySelectorAll("th").forEach((O, $) => {
3039
+ _ += $ === S ? K : O.getBoundingClientRect().width;
3040
3040
  }), D.classList.remove("w-full"), D.style.width = `${_}px`, M = null;
3041
3041
  }, j = (z) => {
3042
3042
  const _ = z.clientX - B;
@@ -3100,7 +3100,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3100
3100
  d();
3101
3101
  }
3102
3102
  };
3103
- }), Gr = "/assets/processTableData.worker-CNwOO2hz.js", jr = { class: "my-4" }, Jr = {
3103
+ }), Gr = "/assets/processTableData.worker-DTnbVu-a.js", jr = { class: "my-4" }, Jr = {
3104
3104
  class: "border-b border-fm-color-neutral-gray-100 hover:bg-fm-color-opacity-sm",
3105
3105
  style: { backgroundColor: "#f9f9f9" }
3106
3106
  }, Zr = { class: "font-bold" }, Qr = { class: "text-fm-color-neutral-gray-300" }, el = /* @__PURE__ */ Fe({
@@ -3132,27 +3132,27 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3132
3132
  return Je.bottom;
3133
3133
  }
3134
3134
  }), f = x(() => {
3135
- const N = D.value !== void 0 ? 1 : 0, X = (w.value ? w.value.$el.offsetHeight : 0) - 48;
3136
- return Math.floor((X - 34.5 - 32) / 48) - N;
3135
+ const $ = D.value !== void 0 ? 1 : 0, X = (w.value ? w.value.$el.offsetHeight : 0) - 48;
3136
+ return Math.floor((X - 34.5 - 32) / 48) - $;
3137
3137
  }), L = x(() => {
3138
3138
  var b, O;
3139
3139
  let _ = [];
3140
3140
  switch (D.value) {
3141
3141
  case Je.top:
3142
- _ = [...((b = g.value[0]) == null ? void 0 : b.cells) || []].map((N, X) => {
3142
+ _ = [...((b = g.value[0]) == null ? void 0 : b.cells) || []].map(($, X) => {
3143
3143
  var q;
3144
3144
  return {
3145
- main: N,
3145
+ main: $,
3146
3146
  comparison: (q = g.value[0]) == null ? void 0 : q.comparisonCells[X],
3147
3147
  rowType: F.value[X].type
3148
3148
  };
3149
3149
  });
3150
3150
  break;
3151
3151
  case Je.bottom:
3152
- _ = [...((O = g.value[g.value.length - 1]) == null ? void 0 : O.cells) || []].map((N, X) => {
3152
+ _ = [...((O = g.value[g.value.length - 1]) == null ? void 0 : O.cells) || []].map(($, X) => {
3153
3153
  var q;
3154
3154
  return {
3155
- main: N,
3155
+ main: $,
3156
3156
  comparison: (q = g.value[g.value.length - 1]) == null ? void 0 : q.comparisonCells[X],
3157
3157
  rowType: F.value[X].type
3158
3158
  };
@@ -3190,7 +3190,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3190
3190
  key: q.key,
3191
3191
  type: q.type,
3192
3192
  label: q.label
3193
- })), N = {
3193
+ })), $ = {
3194
3194
  rows: b,
3195
3195
  columns: O,
3196
3196
  filter: S.value ?? "",
@@ -3201,7 +3201,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3201
3201
  grandTotalPosition: D.value,
3202
3202
  pageSize: f.value
3203
3203
  };
3204
- qo(Gr, N).then((q) => {
3204
+ qo(Gr, $).then((q) => {
3205
3205
  _ === I && (q != null && q.error ? (c.open({ message: "Failed to process table data. Please retry.", type: "error" }), console.log(q.error), u.value = []) : u.value = Eo(q.data || []));
3206
3206
  });
3207
3207
  }
@@ -3213,8 +3213,8 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3213
3213
  { immediate: !0, deep: !0 }
3214
3214
  );
3215
3215
  const G = x(() => {
3216
- var O, N;
3217
- const _ = ((O = o.value.data) == null ? void 0 : O.rows) || [], b = ((N = o.value.data) == null ? void 0 : N.columns) || [];
3216
+ var O, $;
3217
+ const _ = ((O = o.value.data) == null ? void 0 : O.rows) || [], b = (($ = o.value.data) == null ? void 0 : $.columns) || [];
3218
3218
  return JSON.stringify({
3219
3219
  rowsLength: _.length,
3220
3220
  columns: b.map((X) => ({ key: X.key, type: X.type, label: X.label })),
@@ -3247,11 +3247,11 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3247
3247
  ), z = x(() => {
3248
3248
  var _;
3249
3249
  return (_ = o.value.data) != null && _.columns ? o.value.data.columns.map((b) => {
3250
- const O = lt(n, t, b.label, "other"), N = v.value.find(($) => $.key === b.key), X = !!N, q = X ? N.type === Rt.Asc ? "arrow_upward" : "arrow_downward" : "unfold_more";
3250
+ const O = lt(n, t, b.label, "other"), $ = v.value.find((N) => N.key === b.key), X = !!$, q = X ? $.type === Rt.Asc ? "arrow_upward" : "arrow_downward" : "unfold_more";
3251
3251
  return {
3252
3252
  accessorKey: b.key,
3253
3253
  header: () => {
3254
- const $ = de("FmIcon");
3254
+ const N = de("FmIcon");
3255
3255
  return Gt(
3256
3256
  "button",
3257
3257
  {
@@ -3265,7 +3265,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3265
3265
  { class: `${b.type === "NUMERIC" ? "text-right" : ""} whitespace-nowrap` },
3266
3266
  O
3267
3267
  ),
3268
- Gt($, {
3268
+ Gt(N, {
3269
3269
  name: q,
3270
3270
  color: X ? "primary" : "neutral-gray-400",
3271
3271
  size: "sm",
@@ -3275,9 +3275,9 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3275
3275
  ]
3276
3276
  );
3277
3277
  },
3278
- cell: ($) => {
3278
+ cell: (N) => {
3279
3279
  var le, se;
3280
- const te = A($.getValue()), ae = (se = (le = $ == null ? void 0 : $.row) == null ? void 0 : le.original) == null ? void 0 : se.isRollup;
3280
+ const te = A(N.getValue()), ae = (se = (le = N == null ? void 0 : N.row) == null ? void 0 : le.original) == null ? void 0 : se.isRollup;
3281
3281
  return Gt(
3282
3282
  "div",
3283
3283
  {
@@ -3309,9 +3309,9 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3309
3309
  const b = _.querySelector("table");
3310
3310
  if (!b) return;
3311
3311
  b.classList.add(Y.value ? "table-fixed" : "table-auto");
3312
- let O, N;
3313
- R.value ? (k(), O = W.value, N = H.value) : (N = o.value.rowHeight, O = o.value.colWidths), typeof N == "number" && p(N, _), O == null || O.forEach((q, $) => {
3314
- y($, q, _);
3312
+ let O, $;
3313
+ R.value ? (k(), O = W.value, $ = H.value) : ($ = o.value.rowHeight, O = o.value.colWidths), typeof $ == "number" && p($, _), O == null || O.forEach((q, N) => {
3314
+ y(N, q, _);
3315
3315
  });
3316
3316
  },
3317
3317
  { immediate: !0 }
@@ -3340,19 +3340,19 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3340
3340
  (J(), me(ro(D.value === a(Je).bottom ? "tfoot" : "tbody"), null, {
3341
3341
  default: Te(() => [
3342
3342
  ne("tr", Jr, [
3343
- (J(!0), ue(Ve, null, $t(L.value, (N, X) => (J(), ue("td", {
3344
- key: `${a(Nt)()}_${X}`,
3343
+ (J(!0), ue(Ve, null, Nt(L.value, ($, X) => (J(), ue("td", {
3344
+ key: `${a($t)()}_${X}`,
3345
3345
  class: "h-[48px] text-fm-color-typo-primary px-16"
3346
3346
  }, [
3347
3347
  ne("span", {
3348
3348
  class: De([
3349
3349
  "items-center text-fm-color-typo-secondary gap-2",
3350
- N.rowType === "NUMERIC" ? "text-right" : "",
3350
+ $.rowType === "NUMERIC" ? "text-right" : "",
3351
3351
  Y.value ? "whitespace-normal break-words line-clamp-6" : "whitespace-nowrap"
3352
3352
  ])
3353
3353
  }, [
3354
- ne("p", Zr, Be(N.rowType === "NUMERIC" ? a(tn)(N.main) : N.main), 1),
3355
- ne("p", Qr, Be(N.comparison ? N.rowType === "NUMERIC" ? `(${a(tn)(N.comparison)})` : `(${N.comparison})` : ""), 1)
3354
+ ne("p", Zr, Be($.rowType === "NUMERIC" ? a(tn)($.main) : $.main), 1),
3355
+ ne("p", Qr, Be($.comparison ? $.rowType === "NUMERIC" ? `(${a(tn)($.comparison)})` : `(${$.comparison})` : ""), 1)
3356
3356
  ], 2)
3357
3357
  ]))), 128))
3358
3358
  ])
@@ -3394,33 +3394,33 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3394
3394
  colorIndex: b,
3395
3395
  breakdownIndex: O
3396
3396
  }) {
3397
- var $;
3398
- const N = t.value.chartColorBinding === xe.metric ? b : t.value.chartColorBinding === xe.breakdown ? O : _, X = ($ = t.value.chartColorLayers) == null ? void 0 : $[N], q = Number(X);
3399
- return Number.isInteger(q) && q > 0 ? q : N + 1;
3397
+ var N;
3398
+ const $ = t.value.chartColorBinding === xe.metric ? b : t.value.chartColorBinding === xe.breakdown ? O : _, X = (N = t.value.chartColorLayers) == null ? void 0 : N[$], q = Number(X);
3399
+ return Number.isInteger(q) && q > 0 ? q : $ + 1;
3400
3400
  }
3401
3401
  const H = x(() => {
3402
3402
  if (i.value.length > 0) {
3403
3403
  const _ = i.value.map((b, O) => {
3404
- const N = Ht({
3404
+ const $ = Ht({
3405
3405
  datasets: i.value,
3406
3406
  datasetIndex: O
3407
3407
  }), X = Ie({
3408
- datasetIndex: N,
3408
+ datasetIndex: $,
3409
3409
  isCompare: !1,
3410
3410
  metricCount: t.value.metricCount,
3411
3411
  mode: t.value.chartColorBinding
3412
3412
  }), q = Ie({
3413
- datasetIndex: N,
3413
+ datasetIndex: $,
3414
3414
  isCompare: !1,
3415
3415
  metricCount: t.value.metricCount,
3416
3416
  mode: xe.metric
3417
- }), $ = _t({
3418
- fallbackIndex: N,
3417
+ }), N = _t({
3418
+ fallbackIndex: $,
3419
3419
  metricCount: t.value.metricCount
3420
3420
  }), te = W({
3421
- datasetIndex: N,
3421
+ datasetIndex: $,
3422
3422
  colorIndex: X,
3423
- breakdownIndex: $
3423
+ breakdownIndex: N
3424
3424
  }), le = b.values.map((se) => se === null ? NaN : Number(se));
3425
3425
  return {
3426
3426
  dataset: {
@@ -3431,7 +3431,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3431
3431
  grouped: c.value ? !1 : void 0,
3432
3432
  order: c.value ? te : void 0,
3433
3433
  backgroundColor: t.value.chartColorBinding === xe.breakdown ? Lt({
3434
- breakdownIndex: $,
3434
+ breakdownIndex: N,
3435
3435
  metricIndex: q,
3436
3436
  metricCount: t.value.metricCount,
3437
3437
  isCompare: b.isCompare,
@@ -3477,7 +3477,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3477
3477
  tileIndex: n.tileIndex
3478
3478
  });
3479
3479
  return (_, b) => {
3480
- var N, X, q, $, te, ae;
3480
+ var $, X, q, N, te, ae;
3481
3481
  const O = de("FmBarChart");
3482
3482
  return J(), ue(Ve, null, [
3483
3483
  ne("div", tl, [
@@ -3493,7 +3493,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3493
3493
  enabled: a(L).display ?? !1,
3494
3494
  position: a(M),
3495
3495
  "max-width": a(L).maxWidth,
3496
- "text-color": (N = a(L).labels) == null ? void 0 : N.color,
3496
+ "text-color": ($ = a(L).labels) == null ? void 0 : $.color,
3497
3497
  "font-size": (q = (X = a(L).labels) == null ? void 0 : X.font) == null ? void 0 : q.size,
3498
3498
  "legend-update-key": a(z),
3499
3499
  "use-point-style": t.value.usePointStyle ?? !0,
@@ -3533,7 +3533,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3533
3533
  enabled: a(L).display ?? !1,
3534
3534
  position: a(M),
3535
3535
  "max-width": a(L).maxWidth,
3536
- "text-color": ($ = a(L).labels) == null ? void 0 : $.color,
3536
+ "text-color": (N = a(L).labels) == null ? void 0 : N.color,
3537
3537
  "font-size": (ae = (te = a(L).labels) == null ? void 0 : te.font) == null ? void 0 : ae.size,
3538
3538
  "legend-update-key": a(z),
3539
3539
  "use-point-style": t.value.usePointStyle ?? !0,
@@ -3568,51 +3568,51 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3568
3568
  emits: ["update:modelValue"],
3569
3569
  setup(e) {
3570
3570
  const n = e, t = He(e, "modelValue"), o = P(null), r = x(() => {
3571
- var $;
3572
- return (($ = t.value.data) == null ? void 0 : $.xAxis) || [];
3571
+ var N;
3572
+ return ((N = t.value.data) == null ? void 0 : N.xAxis) || [];
3573
3573
  }), i = x(() => {
3574
- var $;
3575
- return (($ = t.value.data) == null ? void 0 : $.datasets) ?? [];
3576
- }), s = Ot("bar"), c = x(() => t.value.stackBarOverlap === !0), d = x(() => c.value === !1), v = x(() => r.value.length === 1 && i.value.some(($) => $.isCompare === !0)), R = x(() => ({
3574
+ var N;
3575
+ return ((N = t.value.data) == null ? void 0 : N.datasets) ?? [];
3576
+ }), s = Ot("bar"), c = x(() => t.value.stackBarOverlap === !0), d = x(() => c.value === !1), v = x(() => r.value.length === 1 && i.value.some((N) => N.isCompare === !0)), R = x(() => ({
3577
3577
  ...A.value,
3578
3578
  stacked: d.value
3579
3579
  })), W = x(() => ({
3580
3580
  ...u.value,
3581
3581
  stacked: d.value
3582
3582
  }));
3583
- function H($) {
3584
- const te = " - ", ae = $.lastIndexOf(te);
3583
+ function H(N) {
3584
+ const te = " - ", ae = N.lastIndexOf(te);
3585
3585
  return ae < 0 ? {
3586
- clusterKey: $,
3587
- metricLabel: $
3586
+ clusterKey: N,
3587
+ metricLabel: N
3588
3588
  } : {
3589
- clusterKey: $.slice(0, ae),
3590
- metricLabel: $.slice(ae + te.length)
3589
+ clusterKey: N.slice(0, ae),
3590
+ metricLabel: N.slice(ae + te.length)
3591
3591
  };
3592
3592
  }
3593
- function y($, te) {
3594
- if (typeof $ == "string") {
3595
- const ae = $.trim();
3593
+ function y(N, te) {
3594
+ if (typeof N == "string") {
3595
+ const ae = N.trim();
3596
3596
  if (ae.length > 0)
3597
3597
  return ae;
3598
3598
  }
3599
3599
  return `Series ${te + 1}`;
3600
3600
  }
3601
3601
  function p({
3602
- datasetIndex: $,
3602
+ datasetIndex: N,
3603
3603
  colorIndex: te
3604
3604
  }) {
3605
3605
  var ye;
3606
- const ae = t.value.chartColorBinding === xe.metric ? te : $, le = (ye = t.value.chartColorLayers) == null ? void 0 : ye[ae], se = Number(le);
3606
+ const ae = t.value.chartColorBinding === xe.metric ? te : N, le = (ye = t.value.chartColorLayers) == null ? void 0 : ye[ae], se = Number(le);
3607
3607
  return Number.isInteger(se) && se > 0 ? se : ae + 1;
3608
3608
  }
3609
- function k($) {
3609
+ function k(N) {
3610
3610
  return {
3611
- label: `__comparison_gap__${$}`,
3612
- tooltipLabel: `__comparison_gap__${$}`,
3611
+ label: `__comparison_gap__${N}`,
3612
+ tooltipLabel: `__comparison_gap__${N}`,
3613
3613
  data: [0],
3614
3614
  grouped: !0,
3615
- stack: `__comparison_gap__${$}`,
3615
+ stack: `__comparison_gap__${N}`,
3616
3616
  backgroundColor: oo,
3617
3617
  borderColor: oo,
3618
3618
  minBarLength: 0,
@@ -3623,19 +3623,19 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3623
3623
  const w = x(() => {
3624
3624
  if (i.value.length === 0)
3625
3625
  return [];
3626
- const $ = i.value.map((ie, be) => ({
3626
+ const N = i.value.map((ie, be) => ({
3627
3627
  source: ie,
3628
3628
  index: be,
3629
3629
  name: y(ie == null ? void 0 : ie.name, be),
3630
3630
  values: (ie == null ? void 0 : ie.values) ?? []
3631
3631
  })), te = /* @__PURE__ */ new Map(), ae = /* @__PURE__ */ new Map();
3632
- for (const ie of $) {
3632
+ for (const ie of N) {
3633
3633
  const { clusterKey: be, metricLabel: Se } = H(ie.name);
3634
3634
  ae.has(be) || ae.set(be, ae.size), te.has(Se) || te.set(Se, te.size);
3635
3635
  }
3636
3636
  const le = Math.max(te.size, 1), se = t.value.chartColorBinding === xe.breakdown, ye = t.value.chartUseSecondaryMetricShades !== !1;
3637
- return $.map((ie) => {
3638
- var Ne;
3637
+ return N.map((ie) => {
3638
+ var $e;
3639
3639
  const be = Ht({
3640
3640
  datasets: i.value,
3641
3641
  datasetIndex: ie.index
@@ -3647,7 +3647,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3647
3647
  isCompare: !1,
3648
3648
  metricCount: t.value.metricCount,
3649
3649
  mode: t.value.chartColorBinding
3650
- }), { clusterKey: Ke, metricLabel: Xe } = H(ie.name), et = ((Ne = $[Se]) == null ? void 0 : Ne.name) ?? ie.name, { clusterKey: Dt, metricLabel: dt } = H(et), ft = Ie({
3650
+ }), { clusterKey: Ke, metricLabel: Xe } = H(ie.name), et = (($e = N[Se]) == null ? void 0 : $e.name) ?? ie.name, { clusterKey: Dt, metricLabel: dt } = H(et), ft = Ie({
3651
3651
  datasetIndex: be,
3652
3652
  isCompare: !1,
3653
3653
  metricCount: le,
@@ -3701,7 +3701,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3701
3701
  isLegendBeforeChart: _,
3702
3702
  hiddenDatasetKeys: b,
3703
3703
  toggleDatasetVisibility: O,
3704
- datasets: N
3704
+ datasets: $
3705
3705
  } = Ut({
3706
3706
  chartRef: o,
3707
3707
  model: t,
@@ -3709,31 +3709,31 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3709
3709
  tileIndex: n.tileIndex
3710
3710
  }), X = x(() => {
3711
3711
  if (!v.value)
3712
- return N.value;
3713
- const $ = [];
3714
- return N.value.forEach((te, ae) => {
3715
- $.push({
3712
+ return $.value;
3713
+ const N = [];
3714
+ return $.value.forEach((te, ae) => {
3715
+ N.push({
3716
3716
  ...te,
3717
3717
  barPercentage: pn
3718
3718
  });
3719
- const le = N.value[ae + 1];
3720
- te.dash === !0 && le && $.push(k(ae));
3721
- }), $;
3719
+ const le = $.value[ae + 1];
3720
+ te.dash === !0 && le && N.push(k(ae));
3721
+ }), N;
3722
3722
  }), q = x(() => ({
3723
3723
  display: !1,
3724
3724
  labels: {
3725
- filter: ($, te) => {
3725
+ filter: (N, te) => {
3726
3726
  var ae, le;
3727
- return !((le = (ae = te.datasets) == null ? void 0 : ae[$.datasetIndex ?? -1]) != null && le.isSpacer);
3727
+ return !((le = (ae = te.datasets) == null ? void 0 : ae[N.datasetIndex ?? -1]) != null && le.isSpacer);
3728
3728
  }
3729
3729
  }
3730
3730
  }));
3731
- return ($, te) => {
3731
+ return (N, te) => {
3732
3732
  var le, se, ye, ie, be, Se;
3733
3733
  const ae = de("FmBarChart");
3734
3734
  return J(), ue(Ve, null, [
3735
3735
  ne("div", al, [
3736
- Qe($.$slots, "menu"),
3736
+ Qe(N.$slots, "menu"),
3737
3737
  ne("div", {
3738
3738
  class: De(["chart-layout", {
3739
3739
  "chart-layout--side": a(j) && (a(M).display ?? !1) && a(z)
@@ -3747,7 +3747,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3747
3747
  "max-width": a(M).maxWidth,
3748
3748
  "text-color": (le = a(M).labels) == null ? void 0 : le.color,
3749
3749
  "font-size": (ye = (se = a(M).labels) == null ? void 0 : se.font) == null ? void 0 : ye.size,
3750
- "legend-update-key": a(N),
3750
+ "legend-update-key": a($),
3751
3751
  "use-point-style": t.value.usePointStyle ?? !0,
3752
3752
  "chart-color-binding": t.value.chartColorBinding,
3753
3753
  "chart-colors": t.value.chartColors,
@@ -3785,7 +3785,7 @@ const Yr = /* @__PURE__ */ fo(Kr, [["render", Xr]]), qr = "mf-reporttable-dimens
3785
3785
  "max-width": a(M).maxWidth,
3786
3786
  "text-color": (ie = a(M).labels) == null ? void 0 : ie.color,
3787
3787
  "font-size": (Se = (be = a(M).labels) == null ? void 0 : be.font) == null ? void 0 : Se.size,
3788
- "legend-update-key": a(N),
3788
+ "legend-update-key": a($),
3789
3789
  "use-point-style": t.value.usePointStyle ?? !0,
3790
3790
  "chart-color-binding": t.value.chartColorBinding,
3791
3791
  "chart-colors": t.value.chartColors,
@@ -3851,7 +3851,7 @@ const il = { class: "widget-content" }, ul = /* @__PURE__ */ Fe({
3851
3851
  });
3852
3852
  let b = Y.values;
3853
3853
  i.value && (b = [NaN, b[0], NaN]);
3854
- const O = b.map((ye) => ye === null ? NaN : Number(ye)), N = Ie({
3854
+ const O = b.map((ye) => ye === null ? NaN : Number(ye)), $ = Ie({
3855
3855
  datasetIndex: _,
3856
3856
  isCompare: !1,
3857
3857
  metricCount: t.value.metricCount,
@@ -3866,7 +3866,7 @@ const il = { class: "widget-content" }, ul = /* @__PURE__ */ Fe({
3866
3866
  isCompare: Y.isCompare,
3867
3867
  metricCount: t.value.metricCount,
3868
3868
  mode: t.value.lineStyleBinding
3869
- }), $ = (se = t.value.lineStyles) == null ? void 0 : se[q], te = t.value.chartColorBinding === xe.breakdown, ae = _t({
3869
+ }), N = (se = t.value.lineStyles) == null ? void 0 : se[q], te = t.value.chartColorBinding === xe.breakdown, ae = _t({
3870
3870
  fallbackIndex: _,
3871
3871
  metricCount: t.value.metricCount
3872
3872
  }), le = te ? Lt({
@@ -3878,7 +3878,7 @@ const il = { class: "widget-content" }, ul = /* @__PURE__ */ Fe({
3878
3878
  useSecondaryMetricShades: t.value.chartUseSecondaryMetricShades,
3879
3879
  customColors: t.value.chartColors
3880
3880
  }) : Ze({
3881
- index: N,
3881
+ index: $,
3882
3882
  isCompare: Y.isCompare,
3883
3883
  customColors: t.value.chartColors
3884
3884
  });
@@ -3886,7 +3886,7 @@ const il = { class: "widget-content" }, ul = /* @__PURE__ */ Fe({
3886
3886
  label: Y.name,
3887
3887
  data: O,
3888
3888
  dash: Y.isCompare,
3889
- lineStyle: $,
3889
+ lineStyle: N,
3890
3890
  fill: !0,
3891
3891
  color: le,
3892
3892
  pointRadius: i.value ? 4 : void 0,
@@ -3924,7 +3924,7 @@ const il = { class: "widget-content" }, ul = /* @__PURE__ */ Fe({
3924
3924
  tileIndex: n.tileIndex
3925
3925
  });
3926
3926
  return (Y, z) => {
3927
- var b, O, N, X, q, $;
3927
+ var b, O, $, X, q, N;
3928
3928
  const _ = de("FmLineChart");
3929
3929
  return J(), ue(Ve, null, [
3930
3930
  ne("div", il, [
@@ -3941,7 +3941,7 @@ const il = { class: "widget-content" }, ul = /* @__PURE__ */ Fe({
3941
3941
  position: a(u),
3942
3942
  "max-width": a(D).maxWidth,
3943
3943
  "text-color": (b = a(D).labels) == null ? void 0 : b.color,
3944
- "font-size": (N = (O = a(D).labels) == null ? void 0 : O.font) == null ? void 0 : N.size,
3944
+ "font-size": ($ = (O = a(D).labels) == null ? void 0 : O.font) == null ? void 0 : $.size,
3945
3945
  "legend-update-key": a(j),
3946
3946
  "use-point-style": t.value.usePointStyle ?? !0,
3947
3947
  "chart-color-binding": t.value.chartColorBinding,
@@ -3981,7 +3981,7 @@ const il = { class: "widget-content" }, ul = /* @__PURE__ */ Fe({
3981
3981
  position: a(u),
3982
3982
  "max-width": a(D).maxWidth,
3983
3983
  "text-color": (X = a(D).labels) == null ? void 0 : X.color,
3984
- "font-size": ($ = (q = a(D).labels) == null ? void 0 : q.font) == null ? void 0 : $.size,
3984
+ "font-size": (N = (q = a(D).labels) == null ? void 0 : q.font) == null ? void 0 : N.size,
3985
3985
  "legend-update-key": a(j),
3986
3986
  "use-point-style": t.value.usePointStyle ?? !0,
3987
3987
  "chart-color-binding": t.value.chartColorBinding,
@@ -4056,7 +4056,7 @@ const hl = { class: "widget-content" }, ml = /* @__PURE__ */ Fe({
4056
4056
  isCompare: !1,
4057
4057
  metricCount: t.value.metricCount,
4058
4058
  mode: t.value.chartColorBinding
4059
- }), N = Ie({
4059
+ }), $ = Ie({
4060
4060
  datasetIndex: b,
4061
4061
  isCompare: !1,
4062
4062
  metricCount: t.value.metricCount,
@@ -4065,12 +4065,12 @@ const hl = { class: "widget-content" }, ml = /* @__PURE__ */ Fe({
4065
4065
  index: O,
4066
4066
  isCompare: z.isCompare,
4067
4067
  customColors: t.value.chartColors
4068
- }), q = t.value.chartColorBinding === xe.breakdown, $ = _t({
4068
+ }), q = t.value.chartColorBinding === xe.breakdown, N = _t({
4069
4069
  fallbackIndex: b,
4070
4070
  metricCount: t.value.metricCount
4071
4071
  }), te = q ? Lt({
4072
- breakdownIndex: $,
4073
- metricIndex: N,
4072
+ breakdownIndex: N,
4073
+ metricIndex: $,
4074
4074
  metricCount: t.value.metricCount,
4075
4075
  isCompare: z.isCompare,
4076
4076
  breakdownColors: t.value.chartBreakdownColors,
@@ -4129,7 +4129,7 @@ const hl = { class: "widget-content" }, ml = /* @__PURE__ */ Fe({
4129
4129
  tileIndex: n.tileIndex
4130
4130
  });
4131
4131
  return (z, _) => {
4132
- var O, N, X, q, $, te;
4132
+ var O, $, X, q, N, te;
4133
4133
  const b = de("FmLineChart");
4134
4134
  return J(), ue(Ve, null, [
4135
4135
  ne("div", hl, [
@@ -4146,7 +4146,7 @@ const hl = { class: "widget-content" }, ml = /* @__PURE__ */ Fe({
4146
4146
  position: a(I),
4147
4147
  "max-width": a(f).maxWidth,
4148
4148
  "text-color": (O = a(f).labels) == null ? void 0 : O.color,
4149
- "font-size": (X = (N = a(f).labels) == null ? void 0 : N.font) == null ? void 0 : X.size,
4149
+ "font-size": (X = ($ = a(f).labels) == null ? void 0 : $.font) == null ? void 0 : X.size,
4150
4150
  "legend-update-key": a(Y),
4151
4151
  "chart-color-binding": t.value.chartColorBinding,
4152
4152
  "chart-colors": t.value.chartColors,
@@ -4185,7 +4185,7 @@ const hl = { class: "widget-content" }, ml = /* @__PURE__ */ Fe({
4185
4185
  position: a(I),
4186
4186
  "max-width": a(f).maxWidth,
4187
4187
  "text-color": (q = a(f).labels) == null ? void 0 : q.color,
4188
- "font-size": (te = ($ = a(f).labels) == null ? void 0 : $.font) == null ? void 0 : te.size,
4188
+ "font-size": (te = (N = a(f).labels) == null ? void 0 : N.font) == null ? void 0 : te.size,
4189
4189
  "legend-update-key": a(Y),
4190
4190
  "chart-color-binding": t.value.chartColorBinding,
4191
4191
  "chart-colors": t.value.chartColors,
@@ -4518,7 +4518,7 @@ const bl = {
4518
4518
  }), { refresh: W } = yl({
4519
4519
  containerRef: R,
4520
4520
  isTable: v
4521
- }), H = P(o.rollup), y = P(Nt()), p = P(o.drillDimension), k = x(() => {
4521
+ }), H = P(o.rollup), y = P($t()), p = P(o.drillDimension), k = x(() => {
4522
4522
  if (we.value.length > 0) {
4523
4523
  const T = we.value.findIndex(
4524
4524
  (fe) => fe.value === p.value
@@ -4536,7 +4536,7 @@ const bl = {
4536
4536
  Array.isArray(o.chartBreakdownColors) ? [...o.chartBreakdownColors] : void 0
4537
4537
  ), K = P(o.chartUseSecondaryMetricShades ?? !0), G = P(o.chartColorBinding), j = P(
4538
4538
  Array.isArray(o.lineStyles) ? [...o.lineStyles] : void 0
4539
- ), Y = P(o.lineStyleBinding), z = P(o.showLabel ?? !1), _ = P(o.labelAlign ?? Cn.center), b = P(o.labelAnchor ?? bn.center), O = P(o.labelRotation ?? 0), N = P(o.labelOffset ?? 0), X = P(o.labelFontSize ?? 12), q = x(() => o.showSearchBar), $ = P(o.showX ?? !0), te = P(o.xPosition ?? xn.bottom), ae = P(o.showXGrid ?? !1), le = P(o.showXTick ?? !0), se = P(o.xTickFontSize ?? 12), ye = P(o.showXTitle ?? !1), ie = P(o.xTitle ?? ""), be = P(o.xTitleFontSize ?? 12), Se = P(o.showY ?? !0), _e = P(o.yPosition ?? wn.left), Ke = P(o.showYGrid ?? !1), Xe = P(o.showYTick ?? !0), et = P(o.yTickFontSize ?? 12), Dt = P(o.showYTitle ?? !1), dt = P(o.yTitle ?? ""), ft = P(o.yTitleFontSize ?? 12), ht = P(o.showLegend ?? void 0), tt = P(o.legendPosition ?? Sn.top), nt = P(o.usePointStyle ?? !0), mt = P(o.legendFontSize), Ne = P(o.legendColor ?? "#6b6b6b"), ot = P(o.legendMaxWidth), Kt = P(o.maxTooltipItems), Xt = P(o.stackBarOverlap ?? !1), Pt = P(o.rowHeight ?? 0), Ye = P(o.colWidths ?? []), It = P(!1), Mt = P(""), { breakpoints: qe, getBreakpointsBoundary: Ge } = zt(), Yt = P(), ke = x(
4539
+ ), Y = P(o.lineStyleBinding), z = P(o.showLabel ?? !1), _ = P(o.labelAlign ?? Cn.center), b = P(o.labelAnchor ?? bn.center), O = P(o.labelRotation ?? 0), $ = P(o.labelOffset ?? 0), X = P(o.labelFontSize ?? 12), q = x(() => o.showSearchBar), N = P(o.showX ?? !0), te = P(o.xPosition ?? xn.bottom), ae = P(o.showXGrid ?? !1), le = P(o.showXTick ?? !0), se = P(o.xTickFontSize ?? 12), ye = P(o.showXTitle ?? !1), ie = P(o.xTitle ?? ""), be = P(o.xTitleFontSize ?? 12), Se = P(o.showY ?? !0), _e = P(o.yPosition ?? wn.left), Ke = P(o.showYGrid ?? !1), Xe = P(o.showYTick ?? !0), et = P(o.yTickFontSize ?? 12), Dt = P(o.showYTitle ?? !1), dt = P(o.yTitle ?? ""), ft = P(o.yTitleFontSize ?? 12), ht = P(o.showLegend ?? void 0), tt = P(o.legendPosition ?? Sn.top), nt = P(o.usePointStyle ?? !0), mt = P(o.legendFontSize), $e = P(o.legendColor ?? "#6b6b6b"), ot = P(o.legendMaxWidth), Kt = P(o.maxTooltipItems), Xt = P(o.stackBarOverlap ?? !1), Pt = P(o.rowHeight ?? 0), Ye = P(o.colWidths ?? []), It = P(!1), Mt = P(""), { breakpoints: qe, getBreakpointsBoundary: Ge } = zt(), Yt = P(), ke = x(
4540
4540
  () => c.customScreenWidth === void 0 ? window.innerWidth : c.customScreenWidth
4541
4541
  ), Bt = x(
4542
4542
  () => (ke == null ? void 0 : ke.value) > Ge("xs")[1] && (ke == null ? void 0 : ke.value) <= Ge("sm")[1]
@@ -4549,7 +4549,7 @@ const bl = {
4549
4549
  () => ea.find((T) => T.type === t.value.widget.type)
4550
4550
  ), je = gn(() => {
4551
4551
  var T;
4552
- Yt.value = at((T = d.value) == null ? void 0 : T.$el.offsetWidth), y.value = Nt();
4552
+ Yt.value = at((T = d.value) == null ? void 0 : T.$el.offsetWidth), y.value = $t();
4553
4553
  }), ln = x(() => {
4554
4554
  if (ta(Q.value.type, l.value))
4555
4555
  switch (t.value.widget.type) {
@@ -4564,7 +4564,7 @@ const bl = {
4564
4564
  case oe.StackLineChart:
4565
4565
  return ul;
4566
4566
  case oe.Circular:
4567
- return $r;
4567
+ return Nr;
4568
4568
  case oe.Scorecard:
4569
4569
  return Ur;
4570
4570
  case oe.Spacer:
@@ -4623,9 +4623,9 @@ const bl = {
4623
4623
  labelAnchor: b.value,
4624
4624
  labelAlign: _.value,
4625
4625
  labelRotation: O.value,
4626
- labelOffset: N.value,
4626
+ labelOffset: $.value,
4627
4627
  labelFontSize: X.value,
4628
- showX: $.value,
4628
+ showX: N.value,
4629
4629
  xPosition: te.value,
4630
4630
  showXGrid: ae.value,
4631
4631
  showXTick: le.value,
@@ -4646,7 +4646,7 @@ const bl = {
4646
4646
  legendPosition: tt.value,
4647
4647
  usePointStyle: nt.value,
4648
4648
  legendFontSize: mt.value,
4649
- legendColor: Ne.value,
4649
+ legendColor: $e.value,
4650
4650
  legendMaxWidth: ot.value,
4651
4651
  maxTooltipItems: Kt.value,
4652
4652
  stackBarOverlap: Xt.value
@@ -4707,7 +4707,7 @@ const bl = {
4707
4707
  Pe(
4708
4708
  () => t.value.widget.config,
4709
4709
  (T) => {
4710
- H.value = T.rollup, g.value = T.showTitle ?? !0, S.value = T.titleFontSize ?? 14, B.value = T.titleBold ?? !1, D.value = T.titleItalic ?? !1, f.value = T.titleUnderline ?? !1, A.value = T.chartHeight ?? void 0, L.value = T.chartWidth ?? void 0, u.value = Array.isArray(T.chartColors) ? [...T.chartColors] : void 0, I.value = Array.isArray(T.chartColorLayers) ? [...T.chartColorLayers] : void 0, M.value = Array.isArray(T.chartBreakdownColors) ? [...T.chartBreakdownColors] : void 0, K.value = T.chartUseSecondaryMetricShades ?? !0, G.value = T.chartColorBinding, j.value = Array.isArray(T.lineStyles) ? [...T.lineStyles] : void 0, Y.value = T.lineStyleBinding, z.value = T.showLabel ?? !1, _.value = T.labelAlign ?? Cn.center, b.value = T.labelAnchor ?? bn.center, O.value = T.labelRotation ?? 0, N.value = T.labelOffset ?? 0, X.value = T.labelFontSize ?? 12, $.value = T.showX ?? !0, te.value = T.xPosition ?? xn.bottom, ae.value = T.showXGrid ?? !1, le.value = T.showXTick ?? !0, se.value = T.xTickFontSize ?? 12, ye.value = T.showXTitle ?? !1, ie.value = T.xTitle ?? "", be.value = T.xTitleFontSize ?? 12, Se.value = T.showY ?? !0, _e.value = T.yPosition ?? wn.left, Ke.value = T.showYGrid ?? !1, Xe.value = T.showYTick ?? !0, et.value = T.yTickFontSize ?? 12, Dt.value = T.showYTitle ?? !1, dt.value = T.yTitle ?? "", ft.value = T.yTitleFontSize ?? 12, ht.value = T.showLegend ?? void 0, tt.value = T.legendPosition ?? Sn.top, nt.value = T.usePointStyle ?? !0, mt.value = T.legendFontSize, Ne.value = T.legendColor ?? "#6b6b6b", ot.value = T.legendMaxWidth, Kt.value = T.maxTooltipItems, Xt.value = T.stackBarOverlap ?? !1, Pt.value = T.rowHeight ?? 0, Ye.value = T.colWidths ?? [], y.value = Nt();
4710
+ H.value = T.rollup, g.value = T.showTitle ?? !0, S.value = T.titleFontSize ?? 14, B.value = T.titleBold ?? !1, D.value = T.titleItalic ?? !1, f.value = T.titleUnderline ?? !1, A.value = T.chartHeight ?? void 0, L.value = T.chartWidth ?? void 0, u.value = Array.isArray(T.chartColors) ? [...T.chartColors] : void 0, I.value = Array.isArray(T.chartColorLayers) ? [...T.chartColorLayers] : void 0, M.value = Array.isArray(T.chartBreakdownColors) ? [...T.chartBreakdownColors] : void 0, K.value = T.chartUseSecondaryMetricShades ?? !0, G.value = T.chartColorBinding, j.value = Array.isArray(T.lineStyles) ? [...T.lineStyles] : void 0, Y.value = T.lineStyleBinding, z.value = T.showLabel ?? !1, _.value = T.labelAlign ?? Cn.center, b.value = T.labelAnchor ?? bn.center, O.value = T.labelRotation ?? 0, $.value = T.labelOffset ?? 0, X.value = T.labelFontSize ?? 12, N.value = T.showX ?? !0, te.value = T.xPosition ?? xn.bottom, ae.value = T.showXGrid ?? !1, le.value = T.showXTick ?? !0, se.value = T.xTickFontSize ?? 12, ye.value = T.showXTitle ?? !1, ie.value = T.xTitle ?? "", be.value = T.xTitleFontSize ?? 12, Se.value = T.showY ?? !0, _e.value = T.yPosition ?? wn.left, Ke.value = T.showYGrid ?? !1, Xe.value = T.showYTick ?? !0, et.value = T.yTickFontSize ?? 12, Dt.value = T.showYTitle ?? !1, dt.value = T.yTitle ?? "", ft.value = T.yTitleFontSize ?? 12, ht.value = T.showLegend ?? void 0, tt.value = T.legendPosition ?? Sn.top, nt.value = T.usePointStyle ?? !0, mt.value = T.legendFontSize, $e.value = T.legendColor ?? "#6b6b6b", ot.value = T.legendMaxWidth, Kt.value = T.maxTooltipItems, Xt.value = T.stackBarOverlap ?? !1, Pt.value = T.rowHeight ?? 0, Ye.value = T.colWidths ?? [], y.value = $t();
4711
4711
  },
4712
4712
  { deep: !0 }
4713
4713
  ), Pe([() => H.value], () => {
@@ -4759,7 +4759,7 @@ const bl = {
4759
4759
  signal: T,
4760
4760
  tileId: t.value.id
4761
4761
  });
4762
- ee.value === fe && (l.value = Ae, y.value = Nt(), setTimeout(() => W(), 100)), n.value = !1;
4762
+ ee.value === fe && (l.value = Ae, y.value = $t(), setTimeout(() => W(), 100)), n.value = !1;
4763
4763
  } catch (T) {
4764
4764
  T.code !== "ERR_CANCELED" && (l.value = null, Oe.open({ message: `Invalid chart ${Q.value.type}`, type: "error" }), console.log(T), n.value = !1);
4765
4765
  }
@@ -4799,7 +4799,7 @@ const bl = {
4799
4799
  }
4800
4800
  })), Bo = Q.value.type === oe.Spacer ? "flat" : "outlined", Ao = Q.value.type === oe.Spacer ? "p-0" : "p-16";
4801
4801
  return (T, fe) => {
4802
- const Ae = de("FmTooltip"), rt = de("FmSearch"), cn = de("FmCheckbox"), gt = de("FmButton"), Ro = de("FmSelect"), Fo = de("FmMenuItem"), No = de("FmMenu"), $o = de("FmForm"), Vo = de("FmCircularProgress"), zo = de("FmCard");
4802
+ const Ae = de("FmTooltip"), rt = de("FmSearch"), cn = de("FmCheckbox"), gt = de("FmButton"), Ro = de("FmSelect"), Fo = de("FmMenuItem"), $o = de("FmMenu"), No = de("FmForm"), Vo = de("FmCircularProgress"), zo = de("FmCard");
4803
4803
  return J(), me(zo, {
4804
4804
  ref_key: "tileCard",
4805
4805
  ref: d,
@@ -4824,9 +4824,9 @@ const bl = {
4824
4824
  "tile-index": c.index
4825
4825
  }, {
4826
4826
  menu: Te(() => [
4827
- ce($o, { class: "flex items-center gap-2" }, {
4827
+ ce(No, { class: "flex items-center gap-2" }, {
4828
4828
  default: Te(() => {
4829
- var vt, Fn, Nn, $n;
4829
+ var vt, Fn, $n, Nn;
4830
4830
  return [
4831
4831
  ce(Ae, {
4832
4832
  variant: "plain",
@@ -4867,7 +4867,7 @@ const bl = {
4867
4867
  }, null, 8, ["modelValue"]), [
4868
4868
  [Xo, (Fn = pt.value) == null ? void 0 : Fn.showLabel]
4869
4869
  ]),
4870
- (Nn = pt.value) != null && Nn.showDrillDimension && we.value.length > 0 ? (J(), ue("div", Cl, [
4870
+ ($n = pt.value) != null && $n.showDrillDimension && we.value.length > 0 ? (J(), ue("div", Cl, [
4871
4871
  ce(gt, {
4872
4872
  icon: "arrow_upward",
4873
4873
  variant: "tertiary",
@@ -4881,14 +4881,14 @@ const bl = {
4881
4881
  onClick: un
4882
4882
  }, null, 8, ["disabled"])
4883
4883
  ])) : ge("", !0),
4884
- ($n = pt.value) != null && $n.showRollup && Ce.value.length > 0 ? (J(), me(Ro, {
4884
+ (Nn = pt.value) != null && Nn.showRollup && Ce.value.length > 0 ? (J(), me(Ro, {
4885
4885
  key: `rollup-${a(s)}`,
4886
4886
  modelValue: H.value,
4887
4887
  "onUpdate:modelValue": fe[3] || (fe[3] = (Ee) => H.value = Ee),
4888
4888
  class: "w-[150px]",
4889
4889
  items: Ce.value
4890
4890
  }, null, 8, ["modelValue", "items"])) : ge("", !0),
4891
- c.hideExport ? ge("", !0) : (J(), me(No, {
4891
+ c.hideExport ? ge("", !0) : (J(), me($o, {
4892
4892
  key: 4,
4893
4893
  shift: !0
4894
4894
  }, {
@@ -4899,7 +4899,7 @@ const bl = {
4899
4899
  })
4900
4900
  ]),
4901
4901
  default: Te(() => [
4902
- (J(!0), ue(Ve, null, $t(a(Mo), (Ee) => (J(), me(Fo, {
4902
+ (J(!0), ue(Ve, null, Nt(a(Mo), (Ee) => (J(), me(Fo, {
4903
4903
  key: Ee.value,
4904
4904
  label: Ee.label,
4905
4905
  onClick: Ee.onClick