@feedmepos/mf-report 5.27.1 → 5.27.2

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-DSAYuPnw.js → App-Bfv_DOz-.js} +4 -4
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-B7zYI-10.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-Bgb4TGpm.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-B7WhnyxK.js → Default.vue_vue_type_script_setup_true_lang-B-U9N9-v.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CtyS5biZ.js → DynamicWidget.vue_vue_type_script_setup_true_lang-BMxLcoWw.js} +160 -160
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CQYxNukN.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-D2sseBCO.js} +2 -2
  6. package/dist/{InsightView-CjlC5ji1.js → InsightView-CowtE62a.js} +4 -4
  7. package/dist/{Integration-uqt_9jzh.js → Integration-DyNpHwaG.js} +3 -3
  8. package/dist/{Integrations-DjdaH7TB.js → Integrations-D88GWl1S.js} +2 -2
  9. package/dist/{Layout-D-K_X8I_.js → Layout-uRwpuPJm.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-7gIW0Dcq.js → MenuTab.vue_vue_type_script_setup_true_lang-dMbfIQT4.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CtfaY3pC.js → NavigationTab.vue_vue_type_script_setup_true_lang-mZf2eNwG.js} +3 -3
  12. package/dist/{OverviewView-C6ma5uuY.js → OverviewView-7jiEaTUc.js} +4 -4
  13. package/dist/{Report-DRA9kM_8.js → Report-B_ZtnUm0.js} +3 -3
  14. package/dist/{ReportEditor-jt1hSp5y.js → ReportEditor-B4aqGNFy.js} +5 -5
  15. package/dist/{ReportView-CngZsjWx.js → ReportView-Bh4lvjQ6.js} +6 -6
  16. package/dist/{Setting-NGJ9WoHW.js → Setting-B_pQRgpK.js} +3 -3
  17. package/dist/{Template-XsYAFAr0.js → Template-C7L4PXJ9.js} +3 -3
  18. package/dist/{TileEditor-BOHGCkUR.js → TileEditor-DplYKFUm.js} +5 -5
  19. package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-D56AWX-c.js → TileGrid.vue_vue_type_script_setup_true_lang-Yxa4FKLB.js} +1 -1
  20. package/dist/{TransitionFade-BV7CpStl.js → TransitionFade-DcogP1xA.js} +4 -4
  21. package/dist/{app-CrCAF5RB.js → app-D9Ks9OA8.js} +12 -12
  22. package/dist/app.js +1 -1
  23. package/dist/{useRestaurantPermission-dTlc-8eB.js → useRestaurantPermission-BvRBcdO8.js} +1 -1
  24. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { computed as g, defineComponent as Me, ref as D, watch as Te, onMounted as Rt, onBeforeUnmount as no, resolveComponent as se, createBlock as ie, openBlock as K, Transition as Vo, withCtx as we, createElementBlock as ae, createCommentVNode as fe, createElementVNode as q, unref as i, normalizeStyle as Le, withModifiers as jt, toDisplayString as Se, createVNode as ue, Fragment as Be, renderList as lt, normalizeClass as _e, nextTick as No, mergeModels as Ne, useModel as ze, renderSlot as Qe, h as Yt, createSlots as zo, resolveDynamicComponent as oo, toRaw as Ho, markRaw as Wo, createTextVNode as Oo, onUnmounted as ao, withDirectives as Uo, vShow as Ko } from "vue";
2
- import { W as te, w as Xo, S as Pt, x as Mt, y as Yo, z as dn, A as ro, j as Eo, B as qo, R as pt, E as Go } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CQYxNukN.js";
3
- import { i as Jt, a as en, u as lo } from "./app-CrCAF5RB.js";
4
- import { d as hn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-B7zYI-10.js";
1
+ import { computed as g, defineComponent as Me, ref as D, watch as Te, onMounted as Rt, onBeforeUnmount as no, resolveComponent as se, createBlock as ie, openBlock as K, Transition as Vo, withCtx as we, createElementBlock as ae, createCommentVNode as fe, createElementVNode as G, unref as i, normalizeStyle as Le, withModifiers as jt, toDisplayString as Se, createVNode as ue, Fragment as Be, renderList as lt, normalizeClass as _e, nextTick as No, mergeModels as Ne, useModel as ze, renderSlot as Qe, h as Yt, createSlots as zo, resolveDynamicComponent as oo, toRaw as Ho, markRaw as Wo, createTextVNode as Oo, onUnmounted as ao, withDirectives as Uo, vShow as Ko } from "vue";
2
+ import { W as te, w as Xo, S as Pt, x as Mt, y as Yo, z as dn, A as ro, j as Eo, B as Go, R as pt, E as qo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-D2sseBCO.js";
3
+ import { i as Jt, a as en, u as lo } from "./app-D9Ks9OA8.js";
4
+ import { d as hn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Bgb4TGpm.js";
5
5
  import { storeToRefs as Bt } from "pinia";
6
6
  import { detectLocale as so } from "@feedmepos/mf-common";
7
7
  import { C as gn } from "./chart-DDDh8zNk.js";
@@ -123,7 +123,7 @@ function uo(e) {
123
123
  return s === 0 ? r : tn(r, Math.min(0.18 * s, 0.72));
124
124
  });
125
125
  }
126
- const Wl = vt.map(() => "solid");
126
+ const Ol = vt.map(() => "solid");
127
127
  function ht({
128
128
  datasetIndex: e,
129
129
  label: t
@@ -700,12 +700,12 @@ function xo(e, t, n, o, r, s, a, c) {
700
700
  const V = w ? L.map((A) => {
701
701
  const X = k.get(A.matchingKey);
702
702
  return !X || X.length === 0 ? Kn(A) : X.shift() ?? Kn(A);
703
- }) : [], G = v.length > L.length || b.length > V.length, I = (A, X = !1) => `<div style="${Ua(X)}">${_n(A)}</div>`, N = (A) => {
703
+ }) : [], q = v.length > L.length || b.length > V.length, I = (A, X = !1) => `<div style="${Ua(X)}">${_n(A)}</div>`, N = (A) => {
704
704
  const X = Ka(A.isBar, A.color);
705
705
  return `<div style="${ia}"><span style="${X}"></span><span style="${ua}">${_n(A.text)}</span></div>`;
706
706
  };
707
707
  let C = "";
708
- x.length > 0 && (C += I(x)), C += L.map((A) => N(A)).join(""), w && V.length > 0 && (C += I(w, C.length > 0), C += V.map((A) => N(A)).join("")), r && G && (C += Xa(n));
708
+ x.length > 0 && (C += I(x)), C += L.map((A) => N(A)).join(""), w && V.length > 0 && (C += I(w, C.length > 0), C += V.map((A) => N(A)).join("")), r && q && (C += Xa(n));
709
709
  const M = [
710
710
  {
711
711
  title: x,
@@ -719,7 +719,7 @@ function xo(e, t, n, o, r, s, a, c) {
719
719
  return {
720
720
  html: C,
721
721
  detailsPayload: { sections: M },
722
- hasCollapsedValues: G
722
+ hasCollapsedValues: q
723
723
  };
724
724
  }
725
725
  function Xn(e) {
@@ -832,7 +832,7 @@ function Yn(e, t) {
832
832
  }
833
833
  return e;
834
834
  }
835
- function qt(e, t) {
835
+ function Gt(e, t) {
836
836
  return typeof e == "string" ? Yn(e, t) : Array.isArray(e) ? e.map(
837
837
  (n) => typeof n == "string" ? Yn(n, t) : n
838
838
  ) : e;
@@ -845,16 +845,16 @@ function Ea(e) {
845
845
  pointBackgroundColor: Reflect.get(e, "pointBackgroundColor")
846
846
  });
847
847
  }
848
- function qa(e) {
848
+ function Ga(e) {
849
849
  const t = e.__tooltipOriginalStyle;
850
850
  t && (Reflect.set(e, "borderColor", t.borderColor), Reflect.set(e, "backgroundColor", t.backgroundColor), Reflect.set(e, "pointBorderColor", t.pointBorderColor), Reflect.set(e, "pointBackgroundColor", t.pointBackgroundColor));
851
851
  }
852
- function Ga(e, t) {
852
+ function qa(e, t) {
853
853
  const n = e.__tooltipOriginalStyle;
854
- n && (Reflect.set(e, "borderColor", qt(n.borderColor, t)), Reflect.set(e, "backgroundColor", qt(n.backgroundColor, t)), Reflect.set(e, "pointBorderColor", qt(n.pointBorderColor, t)), Reflect.set(
854
+ n && (Reflect.set(e, "borderColor", Gt(n.borderColor, t)), Reflect.set(e, "backgroundColor", Gt(n.backgroundColor, t)), Reflect.set(e, "pointBorderColor", Gt(n.pointBorderColor, t)), Reflect.set(
855
855
  e,
856
856
  "pointBackgroundColor",
857
- qt(n.pointBackgroundColor, t)
857
+ Gt(n.pointBackgroundColor, t)
858
858
  ));
859
859
  }
860
860
  function Sn(e) {
@@ -873,7 +873,7 @@ function Qt(e, t) {
873
873
  const n = e.data.datasets;
874
874
  if (n.length !== 0) {
875
875
  if (n.forEach((o, r) => {
876
- Ea(o), !t || r === t.datasetIndex ? qa(o) : Ga(o, ya);
876
+ Ea(o), !t || r === t.datasetIndex ? Ga(o) : qa(o, ya);
877
877
  }), typeof e.setActiveElements == "function")
878
878
  try {
879
879
  t ? e.setActiveElements([
@@ -918,7 +918,7 @@ function In(e) {
918
918
  function Mn(e, t, n, o, r, s, a = "center", c = !1) {
919
919
  const d = t.getBoundingClientRect(), m = n.getBoundingClientRect(), P = n.scrollLeft, x = n.scrollTop, w = n.clientWidth, v = n.clientHeight, b = e;
920
920
  (!Number.isFinite(b.__cachedWidth) || !Number.isFinite(b.__cachedHeight) || b.__measurementHostWidth !== w || b.__measurementHostHeight !== v) && (b.__cachedWidth = e.offsetWidth, b.__cachedHeight = e.offsetHeight, b.__measurementHostWidth = w, b.__measurementHostHeight = v);
921
- const L = b.__cachedWidth ?? e.offsetWidth, k = b.__cachedHeight ?? e.offsetHeight, V = 8, G = d.left - m.left + P + o, I = d.top - m.top + x + r, N = c ? a === "left" ? G - L - V : G + V : a === "left" ? G - L - V : a === "right" ? G + V : G - L / 2, C = c ? I + V : s ? I - k / 2 : I + V, M = P + V;
921
+ const L = b.__cachedWidth ?? e.offsetWidth, k = b.__cachedHeight ?? e.offsetHeight, V = 8, q = d.left - m.left + P + o, I = d.top - m.top + x + r, N = c ? a === "left" ? q - L - V : q + V : a === "left" ? q - L - V : a === "right" ? q + V : q - L / 2, C = c ? I + V : s ? I - k / 2 : I + V, M = P + V;
922
922
  let $ = x + V;
923
923
  const A = document.querySelector('[data-menu-tab="true"]');
924
924
  if (A) {
@@ -1014,7 +1014,7 @@ function En(e, t, n, o, r) {
1014
1014
  function Re(e, t, n = !1) {
1015
1015
  yt(e) && !n || (Ct(e), So(e), bo(e, !1), za(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));
1016
1016
  }
1017
- function qn(e, t, n = ba) {
1017
+ function Gn(e, t, n = ba) {
1018
1018
  e.__isTooltipHovered || (Ct(e), e.__hideTimeoutId = window.setTimeout(() => {
1019
1019
  e.__isTooltipHovered || Re(e, t);
1020
1020
  }, n));
@@ -1058,7 +1058,7 @@ function lr(e, t, n, o, r) {
1058
1058
  var M, $, A, X;
1059
1059
  if (V.length === 0)
1060
1060
  return !1;
1061
- const G = (M = V.find(
1061
+ const q = (M = V.find(
1062
1062
  (ee) => typeof ee.dataIndex == "number"
1063
1063
  )) == null ? void 0 : M.dataIndex, I = (($ = n == null ? void 0 : n.data) == null ? void 0 : $.datasets) ?? [], N = (A = n == null ? void 0 : n.config) == null ? void 0 : A.type, C = xo(
1064
1064
  V,
@@ -1067,7 +1067,7 @@ function lr(e, t, n, o, r) {
1067
1067
  s,
1068
1068
  !0,
1069
1069
  I,
1070
- G,
1070
+ q,
1071
1071
  N
1072
1072
  ).detailsPayload;
1073
1073
  return (X = r.onViewFullDetails) == null || X.call(r, C, n), Re(e, n), !0;
@@ -1215,14 +1215,14 @@ function ir(e, t) {
1215
1215
  if (d || (d = Za(c)), d.parentElement !== a && a.appendChild(d), Pn(d, a), sr(d, s, e), nr(d, o, s), or(d, s), lr(d, s, o, e, t), ((r == null ? void 0 : r.opacity) ?? 0) === 0) {
1216
1216
  if (rt() && yt(d))
1217
1217
  return;
1218
- t != null && t.onViewFullDetails ? qn(d, o) : Re(d, o);
1218
+ t != null && t.onViewFullDetails ? Gn(d, o) : Re(d, o);
1219
1219
  return;
1220
1220
  }
1221
1221
  const m = (r == null ? void 0 : r.dataPoints) ?? [];
1222
1222
  if (m.length === 0) {
1223
1223
  if (rt() && yt(d))
1224
1224
  return;
1225
- t != null && t.onViewFullDetails ? qn(d, o) : Re(d, o);
1225
+ t != null && t.onViewFullDetails ? Gn(d, o) : Re(d, o);
1226
1226
  return;
1227
1227
  }
1228
1228
  ar(a, c, s), Ct(d);
@@ -1240,8 +1240,8 @@ function ir(e, t) {
1240
1240
  b
1241
1241
  ), k = x && L;
1242
1242
  d.__detailsPayload = k ? F : void 0, d.style.pointerEvents = k ? "auto" : "none";
1243
- const V = typeof (r == null ? void 0 : r.caretX) == "number" ? r.caretX : 0, G = Number(d.dataset.cursorCanvasX), I = Number(d.dataset.cursorCanvasY);
1244
- if (!(Number.isFinite(G) && Number.isFinite(I))) {
1243
+ const V = typeof (r == null ? void 0 : r.caretX) == "number" ? r.caretX : 0, q = Number(d.dataset.cursorCanvasX), I = Number(d.dataset.cursorCanvasY);
1244
+ if (!(Number.isFinite(q) && Number.isFinite(I))) {
1245
1245
  d.style.opacity = "0";
1246
1246
  return;
1247
1247
  }
@@ -1253,7 +1253,7 @@ function ir(e, t) {
1253
1253
  return z;
1254
1254
  const S = Number.isFinite(M) ? M : V, Z = Math.abs(y - S);
1255
1255
  return Math.abs(z - S) > Z ? z : y;
1256
- }, Number.NaN) : Number.NaN, A = G, X = I, ee = e ? Number.isFinite(M) && Number.isFinite($) && $ < M ? "left" : "right" : "center";
1256
+ }, Number.NaN) : Number.NaN, A = q, X = I, ee = e ? Number.isFinite(M) && Number.isFinite($) && $ < M ? "left" : "right" : "center";
1257
1257
  Mn(
1258
1258
  d,
1259
1259
  s,
@@ -1273,7 +1273,7 @@ function kn(e = !1, t) {
1273
1273
  external: ir(e, t)
1274
1274
  };
1275
1275
  }
1276
- const Gn = "en-US";
1276
+ const qn = "en-US";
1277
1277
  function jn(e, t) {
1278
1278
  const n = t.split(".");
1279
1279
  let o = e;
@@ -1286,7 +1286,7 @@ function jn(e, t) {
1286
1286
  }
1287
1287
  function ur() {
1288
1288
  const e = so(), t = "report.widget.legend.comparison";
1289
- return `(${jn(Jt[e] ?? Jt[Gn], t) ?? jn(Jt[Gn], t) ?? "Comparison"})`;
1289
+ return `(${jn(Jt[e] ?? Jt[qn], t) ?? jn(Jt[qn], t) ?? "Comparison"})`;
1290
1290
  }
1291
1291
  function ko(e) {
1292
1292
  function o(x, w, v) {
@@ -1340,8 +1340,8 @@ function ko(e) {
1340
1340
  const F = b == null ? void 0 : b.chart, L = b == null ? void 0 : b.ctx, k = F.height * 0.25;
1341
1341
  if (L && k > 0) {
1342
1342
  L.save();
1343
- const G = L.measureText(v).width > k ? o(L, v, k) : v;
1344
- return L.restore(), G;
1343
+ const q = L.measureText(v).width > k ? o(L, v, k) : v;
1344
+ return L.restore(), q;
1345
1345
  }
1346
1346
  return v;
1347
1347
  },
@@ -1388,8 +1388,8 @@ function ko(e) {
1388
1388
  const F = b == null ? void 0 : b.chart, L = b == null ? void 0 : b.ctx, k = F.width * 0.4;
1389
1389
  if (L && k > 0) {
1390
1390
  L.save();
1391
- const G = L.measureText(v).width > k ? o(L, v, k) : v;
1392
- return L.restore(), G;
1391
+ const q = L.measureText(v).width > k ? o(L, v, k) : v;
1392
+ return L.restore(), q;
1393
1393
  }
1394
1394
  return v;
1395
1395
  }
@@ -1419,13 +1419,13 @@ function ko(e) {
1419
1419
  if (v.length === 1 && Array.isArray(v[0].backgroundColor) && v[0].backgroundColor.length > 1 && Array.isArray(v[0].data)) {
1420
1420
  const F = v[0];
1421
1421
  return x.data.labels.map((k, V) => {
1422
- const G = F.backgroundColor[V];
1422
+ const q = F.backgroundColor[V];
1423
1423
  return {
1424
1424
  text: k,
1425
1425
  fontColor: w,
1426
1426
  color: w,
1427
- fillStyle: G,
1428
- strokeStyle: G,
1427
+ fillStyle: q,
1428
+ strokeStyle: q,
1429
1429
  datasetIndex: 0,
1430
1430
  index: V,
1431
1431
  hidden: x.getDataVisibility ? !x.getDataVisibility(V) : !1
@@ -1458,7 +1458,7 @@ const cr = {
1458
1458
  }, gr = ["onMouseenter", "onFocus"], vr = { class: "min-w-0 flex flex-1 items-center gap-2.5 pr-2" }, yr = { class: "min-w-0 break-all text-fm-color-typo-secondary" }, br = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-secondary shrink-0 text-right tabular-nums" }, Cr = {
1459
1459
  key: 1,
1460
1460
  class: "flex justify-center px-2 pt-2"
1461
- }, Jn = 500, xr = 320, Gt = 30, Ht = /* @__PURE__ */ Me({
1461
+ }, Jn = 500, xr = 320, qt = 30, Ht = /* @__PURE__ */ Me({
1462
1462
  __name: "TooltipDetailSidesheet",
1463
1463
  props: {
1464
1464
  modelValue: { type: Boolean },
@@ -1474,7 +1474,7 @@ const cr = {
1474
1474
  return (((T = n.detailsPayload) == null ? void 0 : T.sections) ?? []).filter((u) => u.values.length > 0);
1475
1475
  }), x = g(
1476
1476
  () => P.value.map((T, u) => {
1477
- const y = k(T.title, u), B = Math.min(d.value[y] ?? Gt, T.values.length);
1477
+ const y = k(T.title, u), B = Math.min(d.value[y] ?? qt, T.values.length);
1478
1478
  return {
1479
1479
  ...T,
1480
1480
  key: y,
@@ -1505,14 +1505,14 @@ const cr = {
1505
1505
  }
1506
1506
  function V() {
1507
1507
  d.value = P.value.reduce(
1508
- (T, u, y) => (T[k(u.title, y)] = Gt, T),
1508
+ (T, u, y) => (T[k(u.title, y)] = qt, T),
1509
1509
  {}
1510
1510
  );
1511
1511
  }
1512
- function G(T) {
1512
+ function q(T) {
1513
1513
  d.value = {
1514
1514
  ...d.value,
1515
- [T]: (d.value[T] ?? Gt) + Gt
1515
+ [T]: (d.value[T] ?? qt) + qt
1516
1516
  };
1517
1517
  }
1518
1518
  function I() {
@@ -1571,7 +1571,7 @@ const cr = {
1571
1571
  }, {
1572
1572
  default: we(() => [
1573
1573
  m.value ? (K(), ae("div", cr, [
1574
- q("div", {
1574
+ G("div", {
1575
1575
  ref_key: "panelRef",
1576
1576
  ref: s,
1577
1577
  class: "glassmorphism pointer-events-auto relative ml-auto flex h-full flex-col px-24 py-3 overflow-hidden rounded-l-2xl border border-fm-color-border-secondary bg-fm-color-neutral-white duration-200 ease-out",
@@ -1580,13 +1580,13 @@ const cr = {
1580
1580
  "aria-modal": "false",
1581
1581
  "aria-label": i(r)("report.widget.comparisonTooltip.fullBreakdownTitle")
1582
1582
  }, [
1583
- q("div", {
1583
+ G("div", {
1584
1584
  class: "absolute left-0 top-0 z-40 h-full w-3 -translate-x-1/2 cursor-ew-resize",
1585
1585
  onPointerdown: jt(X, ["prevent"])
1586
1586
  }, null, 32),
1587
- q("div", fr, [
1588
- q("div", mr, Se(i(r)("report.widget.comparisonTooltip.fullBreakdownTitle")), 1),
1589
- q("div", pr, [
1587
+ G("div", fr, [
1588
+ G("div", mr, Se(i(r)("report.widget.comparisonTooltip.fullBreakdownTitle")), 1),
1589
+ G("div", pr, [
1590
1590
  ue(y, {
1591
1591
  class: "relative z-30 h-9 w-9 shrink-0",
1592
1592
  variant: "tertiary",
@@ -1596,7 +1596,7 @@ const cr = {
1596
1596
  }, null, 8, ["aria-label"])
1597
1597
  ])
1598
1598
  ]),
1599
- q("div", {
1599
+ G("div", {
1600
1600
  class: "flex flex-1 flex-col gap-4 overflow-y-auto px-4 py-4 sm:px-5",
1601
1601
  onMouseleave: L
1602
1602
  }, [
@@ -1614,17 +1614,17 @@ const cr = {
1614
1614
  onMouseleave: L,
1615
1615
  onBlur: L
1616
1616
  }, [
1617
- q("span", vr, [
1618
- q("span", {
1617
+ G("span", vr, [
1618
+ G("span", {
1619
1619
  class: _e([
1620
1620
  "inline-block h-3 w-3 shrink-0 box-border",
1621
1621
  z.isBar ? "rounded-sm border border-fm-color-neutral-gray-400" : "rounded-full border border-white shadow-[0_0_0_1px_rgba(17,24,39,0.28)]"
1622
1622
  ]),
1623
1623
  style: Le({ backgroundColor: z.color })
1624
1624
  }, null, 6),
1625
- q("span", yr, Se(b(z)), 1)
1625
+ G("span", yr, Se(b(z)), 1)
1626
1626
  ]),
1627
- q("span", br, Se(v(z)), 1)
1627
+ G("span", br, Se(v(z)), 1)
1628
1628
  ], 40, gr))), 128)),
1629
1629
  B.hasMore ? (K(), ae("div", Cr, [
1630
1630
  ue(y, {
@@ -1632,7 +1632,7 @@ const cr = {
1632
1632
  variant: "tertiary",
1633
1633
  size: "sm",
1634
1634
  label: `${i(r)("report.widget.legend.viewMore")} (${B.remainingCount})`,
1635
- onClick: (z) => G(B.key)
1635
+ onClick: (z) => q(B.key)
1636
1636
  }, null, 8, ["label", "onClick"])
1637
1637
  ])) : fe("", !0)
1638
1638
  ]))), 128))
@@ -1671,7 +1671,7 @@ const cr = {
1671
1671
  },
1672
1672
  emits: ["toggleDatasetVisibility", "toggleDataPointVisibility"],
1673
1673
  setup(e, { emit: t }) {
1674
- const n = e, o = t, { t: r, locale: s } = st(), a = D([]), c = D(0), d = D(!1), m = D(!1), P = D(0), x = D(null), w = D(null), v = D(null), b = D(null), F = D(!1), L = D(0), k = D(0), V = D(!1), G = D(0), I = D(0), N = g(() => n.enabled !== !1), C = g(() => n.position === "left" || n.position === "right");
1674
+ const n = e, o = t, { t: r, locale: s } = st(), a = D([]), c = D(0), d = D(!1), m = D(!1), P = D(0), x = D(null), w = D(null), v = D(null), b = D(null), F = D(!1), L = D(0), k = D(0), V = D(!1), q = D(0), I = D(0), N = g(() => n.enabled !== !1), C = g(() => n.position === "left" || n.position === "right");
1675
1675
  let M = null;
1676
1676
  const $ = g(
1677
1677
  () => d.value && m.value && F.value
@@ -1749,7 +1749,7 @@ const cr = {
1749
1749
  p.scrollTop = J * U, H();
1750
1750
  }
1751
1751
  function Z(l) {
1752
- F.value && (V.value = !0, G.value = l.clientY, I.value = k.value);
1752
+ F.value && (V.value = !0, q.value = l.clientY, I.value = k.value);
1753
1753
  }
1754
1754
  function Q(l) {
1755
1755
  if (!V.value)
@@ -1757,7 +1757,7 @@ const cr = {
1757
1757
  const p = v.value;
1758
1758
  if (!p)
1759
1759
  return;
1760
- const f = l.clientY - G.value, h = Math.max(1, p.clientHeight - L.value), O = Math.min(h, Math.max(0, I.value + f)) / h, E = Math.max(0, p.scrollHeight - p.clientHeight);
1760
+ const f = l.clientY - q.value, h = Math.max(1, p.clientHeight - L.value), O = Math.min(h, Math.max(0, I.value + f)) / h, E = Math.max(0, p.scrollHeight - p.clientHeight);
1761
1761
  p.scrollTop = O * E, H();
1762
1762
  }
1763
1763
  function oe() {
@@ -2000,7 +2000,7 @@ const cr = {
2000
2000
  return f.endsWith(` ${h}`) || f.endsWith(h) ? f : (p == null ? void 0 : p.dash) === !0 || (p == null ? void 0 : p.isCompare) === !0 ? `${f} ${h}` : f;
2001
2001
  }
2002
2002
  );
2003
- function qe(l, p) {
2003
+ function Ge(l, p) {
2004
2004
  if (!Array.isArray(l) || l.length === 0)
2005
2005
  return [];
2006
2006
  const f = l, h = f[0], R = Array.isArray(h == null ? void 0 : h.labels) ? h.labels : [], O = Array.isArray(p == null ? void 0 : p.metrics) ? p.metrics : [], E = R.length > 0 ? R : O, J = h == null ? void 0 : h.backgroundColor;
@@ -2037,7 +2037,7 @@ const cr = {
2037
2037
  const l = (p = n.chartRef) == null ? void 0 : p.datasets;
2038
2038
  return Array.isArray(l) ? l : [];
2039
2039
  }
2040
- function Ge(l, p) {
2040
+ function qe(l, p) {
2041
2041
  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:${p}`;
2042
2042
  }
2043
2043
  function Ut() {
@@ -2176,7 +2176,7 @@ const cr = {
2176
2176
  const l = u();
2177
2177
  if (!l) {
2178
2178
  a.value = tt(
2179
- qe(n.legendUpdateKey, n.chartRef)
2179
+ Ge(n.legendUpdateKey, n.chartRef)
2180
2180
  ), He();
2181
2181
  return;
2182
2182
  }
@@ -2186,7 +2186,7 @@ const cr = {
2186
2186
  a.value = [];
2187
2187
  }
2188
2188
  const p = Array.isArray((h = l == null ? void 0 : l.data) == null ? void 0 : h.datasets) ? l.data.datasets : [];
2189
- a.value.length === 0 && (a.value = qe(n.legendUpdateKey, n.chartRef)), a.value.length === 0 && (a.value = ct(l)), a.value = it(tt(a.value));
2189
+ a.value.length === 0 && (a.value = Ge(n.legendUpdateKey, n.chartRef)), a.value.length === 0 && (a.value = ct(l)), a.value = it(tt(a.value));
2190
2190
  const f = Array.isArray(n.legendUpdateKey) && n.legendUpdateKey.length > 0 || !Array.isArray(n.legendUpdateKey) && !!n.legendUpdateKey;
2191
2191
  a.value.length === 0 && !(p.length > 0 || f) && Y(0), He();
2192
2192
  }
@@ -2275,7 +2275,7 @@ const cr = {
2275
2275
  const de = j[ne];
2276
2276
  de && typeof de == "object" && (de.hidden = ge);
2277
2277
  }), Tt(
2278
- (ne) => Ge(ne, 0) === Ge(l, 0),
2278
+ (ne) => qe(ne, 0) === qe(l, 0),
2279
2279
  ge
2280
2280
  );
2281
2281
  }
@@ -2290,7 +2290,7 @@ const cr = {
2290
2290
  const ve = j[de];
2291
2291
  ve && typeof ve == "object" && (ve.hidden = !ne);
2292
2292
  }), f.update(), Tt(
2293
- (de) => Ge(de, 0) === Ge(l, 0),
2293
+ (de) => qe(de, 0) === qe(l, 0),
2294
2294
  !ne
2295
2295
  );
2296
2296
  }
@@ -2327,19 +2327,19 @@ const cr = {
2327
2327
  }]),
2328
2328
  style: Le(St.value)
2329
2329
  }, [
2330
- q("div", {
2330
+ G("div", {
2331
2331
  ref_key: "legendScrollShellRef",
2332
2332
  ref: w,
2333
2333
  class: "relative z-[2] flex flex-1 min-h-0 flex-col overflow-hidden"
2334
2334
  }, [
2335
- q("div", {
2335
+ G("div", {
2336
2336
  ref_key: "legendToggleMeasureRef",
2337
2337
  ref: b,
2338
2338
  class: "absolute invisible pointer-events-none left-0 top-0 z-[2] inline-flex max-w-full select-none"
2339
2339
  }, [
2340
- q("button", wr, Se(i(r)("report.widget.legend.viewMore")), 1)
2340
+ G("button", wr, Se(i(r)("report.widget.legend.viewMore")), 1)
2341
2341
  ], 512),
2342
- q("ul", {
2342
+ G("ul", {
2343
2343
  ref_key: "legendListRef",
2344
2344
  ref: v,
2345
2345
  class: _e(["chart-legend-list m-0 flex list-none p-0", [
@@ -2349,13 +2349,13 @@ const cr = {
2349
2349
  onScroll: z
2350
2350
  }, [
2351
2351
  (K(!0), ae(Be, null, lt(je.value, (f, h) => (K(), ae("li", {
2352
- key: Ge(f, h),
2352
+ key: qe(f, h),
2353
2353
  class: _e(["chart-legend-item relative z-[2] inline-flex max-w-full cursor-pointer select-none pointer-events-auto", {
2354
2354
  "opacity-45": f.hidden
2355
2355
  }]),
2356
2356
  "data-legend-data": "true"
2357
2357
  }, [
2358
- q("button", {
2358
+ G("button", {
2359
2359
  type: "button",
2360
2360
  class: _e(["inline-flex max-w-full items-center gap-1.5 border-none bg-transparent p-0", { "justify-start text-left": C.value }]),
2361
2361
  "aria-pressed": f.hidden === !0 ? "false" : "true",
@@ -2373,7 +2373,7 @@ const cr = {
2373
2373
  borderColor: "#c7c7cc"
2374
2374
  })
2375
2375
  }, null, 4)),
2376
- q("span", {
2376
+ G("span", {
2377
2377
  class: _e(["chart-legend-text leading-[1.4]", {
2378
2378
  "max-w-[120px] whitespace-nowrap overflow-hidden text-left": C.value,
2379
2379
  "whitespace-nowrap overflow-hidden": !C.value,
@@ -2384,7 +2384,7 @@ const cr = {
2384
2384
  ], 10, _r)
2385
2385
  ], 2))), 128)),
2386
2386
  m.value ? (K(), ae("li", kr, [
2387
- q("button", {
2387
+ G("button", {
2388
2388
  type: "button",
2389
2389
  class: "inline-flex max-w-full cursor-pointer select-none underline items-center gap-1 rounded px-1 py-0.5 border-none bg-transparent text-fm-color-system-info-300 leading-[1.4] transition-colors hover:bg-black/5",
2390
2390
  style: { fontSize: "var(--legend-font-size)" },
@@ -2397,7 +2397,7 @@ const cr = {
2397
2397
  class: "absolute top-0 right-0 h-full w-2 rounded-full bg-transparent",
2398
2398
  onMousedown: S
2399
2399
  }, [
2400
- q("div", {
2400
+ G("div", {
2401
2401
  class: "absolute left-0 w-full rounded-full bg-gray-500/60 cursor-pointer hover:bg-gray-500/85",
2402
2402
  style: Le(A.value),
2403
2403
  onMousedown: jt(Z, ["stop"])
@@ -2489,7 +2489,7 @@ function Wt({ chartRef: e, model: t, baseDatasets: n }) {
2489
2489
  return !$ || $ === "top" || $ === "bottom" || $ === "left" || $ === "right";
2490
2490
  }), k = g(() => b.value.position ?? "top"), V = g(
2491
2491
  () => k.value === "left" || k.value === "right"
2492
- ), G = g(
2492
+ ), q = g(
2493
2493
  () => k.value === "top" || k.value === "left"
2494
2494
  ), { hiddenDatasetKeys: I, isDatasetHidden: N, toggleDatasetVisibility: C } = Mr(n), M = g(() => n.value.map(($, A) => ({
2495
2495
  ...$,
@@ -2510,7 +2510,7 @@ function Wt({ chartRef: e, model: t, baseDatasets: n }) {
2510
2510
  useCustomLegend: L,
2511
2511
  legendPosition: k,
2512
2512
  isLegendSide: V,
2513
- isLegendBeforeChart: G,
2513
+ isLegendBeforeChart: q,
2514
2514
  hiddenDatasetKeys: I,
2515
2515
  toggleDatasetVisibility: C,
2516
2516
  datasets: M
@@ -2598,7 +2598,7 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2598
2598
  comparisonTooltip: L,
2599
2599
  datalabels: k,
2600
2600
  xCfg: V,
2601
- yCfg: G,
2601
+ yCfg: q,
2602
2602
  isTransposed: I,
2603
2603
  legend: N,
2604
2604
  useCustomLegend: C,
@@ -2637,9 +2637,9 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2637
2637
  var H, z, S, Z, Q, oe;
2638
2638
  const B = se("FmBarChart");
2639
2639
  return K(), ae(Be, null, [
2640
- q("div", Br, [
2640
+ G("div", Br, [
2641
2641
  Qe(u.$slots, "menu"),
2642
- q("div", {
2642
+ G("div", {
2643
2643
  class: _e(["chart-layout", {
2644
2644
  "chart-layout--side": i(C) && (i(N).display ?? !1) && i($)
2645
2645
  }])
@@ -2668,7 +2668,7 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2668
2668
  datasets: W.value,
2669
2669
  "x-axis": { categories: a.value },
2670
2670
  "x-cfg": i(V),
2671
- "y-cfg": i(G),
2671
+ "y-cfg": i(q),
2672
2672
  transpose: i(I),
2673
2673
  legend: T.value,
2674
2674
  tooltip: i(L),
@@ -2757,7 +2757,7 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2757
2757
  const I = (N = a.value.labels) == null ? void 0 : N.color;
2758
2758
  return typeof I == "string" && I.trim().length > 0 ? I : t.value.legendColor ?? "#6b6b6b";
2759
2759
  }), k = g(() => m.value), V = fa();
2760
- function G({ itemIndex: I }) {
2760
+ function q({ itemIndex: I }) {
2761
2761
  if (r.value.includes(I)) {
2762
2762
  r.value = r.value.filter(
2763
2763
  (N) => N !== I
@@ -2770,7 +2770,7 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2770
2770
  const C = se("FmPieChart");
2771
2771
  return K(), ae("div", Fr, [
2772
2772
  Qe(I.$slots, "menu"),
2773
- q("div", {
2773
+ G("div", {
2774
2774
  class: _e(["chart-layout", {
2775
2775
  "chart-layout--side": w.value && b.value
2776
2776
  }])
@@ -2790,7 +2790,7 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2790
2790
  "chart-use-secondary-metric-shades": t.value.chartUseSecondaryMetricShades,
2791
2791
  "metric-count": t.value.metricCount,
2792
2792
  "hidden-data-point-indexes": r.value,
2793
- onToggleDataPointVisibility: G
2793
+ onToggleDataPointVisibility: q
2794
2794
  }, 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-data-point-indexes"])) : fe("", !0),
2795
2795
  ue(C, {
2796
2796
  ref_key: "chartRef",
@@ -2822,7 +2822,7 @@ const Br = { class: "widget-content" }, mn = 1, eo = "rgba(0, 0, 0, 0)", Ar = /*
2822
2822
  "chart-use-secondary-metric-shades": t.value.chartUseSecondaryMetricShades,
2823
2823
  "metric-count": t.value.metricCount,
2824
2824
  "hidden-data-point-indexes": r.value,
2825
- onToggleDataPointVisibility: G
2825
+ onToggleDataPointVisibility: q
2826
2826
  }, 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-data-point-indexes"])) : fe("", !0)
2827
2827
  ], 2)
2828
2828
  ]);
@@ -2861,25 +2861,25 @@ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "f
2861
2861
  });
2862
2862
  });
2863
2863
  return (o, r) => (K(), ae("div", $r, [
2864
- q("div", Vr, [
2864
+ G("div", Vr, [
2865
2865
  (K(!0), ae(Be, null, lt(n.value, (s, a) => (K(), ae("div", {
2866
2866
  key: a,
2867
2867
  class: "flex flex-col gap-1 flex-1 min-w-[80px]"
2868
2868
  }, [
2869
- q("div", Nr, [
2870
- q("span", {
2869
+ G("div", Nr, [
2870
+ G("span", {
2871
2871
  class: "inline-block w-3 h-3 rounded-sm shrink-0",
2872
2872
  style: Le({ backgroundColor: s.color })
2873
2873
  }, null, 4),
2874
- q("p", {
2874
+ G("p", {
2875
2875
  class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary truncate",
2876
2876
  title: s.label
2877
2877
  }, Se(s.label), 9, zr)
2878
2878
  ]),
2879
- q("p", Hr, Se(s.display), 1)
2879
+ G("p", Hr, Se(s.display), 1)
2880
2880
  ]))), 128))
2881
2881
  ]),
2882
- q("div", Wr, [
2882
+ G("div", Wr, [
2883
2883
  (K(!0), ae(Be, null, lt(n.value, (s, a) => (K(), ae("div", {
2884
2884
  key: a,
2885
2885
  style: Le({ width: `${s.width}%`, backgroundColor: s.color })
@@ -2890,10 +2890,10 @@ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "f
2890
2890
  }), Ur = { class: "flex flex-col h-full" }, Kr = { class: "fm-typo-en-title-md-600" }, Xr = { class: "flex gap-2 mt-2" }, Yr = { class: "fm-typo-en-body-md-600 text-fm-color-typo-primary" }, Er = {
2891
2891
  key: 0,
2892
2892
  class: "grow min-h-0 mt-2"
2893
- }, qr = {
2893
+ }, Gr = {
2894
2894
  key: 1,
2895
2895
  class: "mt-2"
2896
- }, Gr = /* @__PURE__ */ Me({
2896
+ }, qr = /* @__PURE__ */ Me({
2897
2897
  __name: "WidgetScorecard",
2898
2898
  props: {
2899
2899
  modelValue: { required: !0 },
@@ -2938,11 +2938,11 @@ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "f
2938
2938
  ), F = g(() => kn(!1)), L = g(() => kn(!1));
2939
2939
  return (k, V) => {
2940
2940
  var $;
2941
- const G = se("FmIcon"), I = se("FmChip"), N = se("FmTooltip"), C = se("FmLineChart"), M = se("FmBarChart");
2941
+ const q = se("FmIcon"), I = se("FmChip"), N = se("FmTooltip"), C = se("FmLineChart"), M = se("FmBarChart");
2942
2942
  return K(), ae("div", Ur, [
2943
2943
  Qe(k.$slots, "menu"),
2944
- q("p", Kr, Se(c.value), 1),
2945
- q("div", Xr, [
2944
+ G("p", Kr, Se(c.value), 1),
2945
+ G("div", Xr, [
2946
2946
  ue(N, {
2947
2947
  disabled: d.value === null,
2948
2948
  placement: "right",
@@ -2952,7 +2952,7 @@ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "f
2952
2952
  content: we(() => {
2953
2953
  var A;
2954
2954
  return [
2955
- q("span", Yr, Se(`vs. ${(A = i(r).defaultCompareType) == null ? void 0 : A.split("_").join(" ")}`), 1)
2955
+ G("span", Yr, Se(`vs. ${(A = i(r).defaultCompareType) == null ? void 0 : A.split("_").join(" ")}`), 1)
2956
2956
  ];
2957
2957
  }),
2958
2958
  default: we(() => [
@@ -2963,11 +2963,11 @@ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "f
2963
2963
  compact: ""
2964
2964
  }, {
2965
2965
  default: we(() => [
2966
- ue(G, {
2966
+ ue(q, {
2967
2967
  name: d.value.icon.name,
2968
2968
  color: d.value.icon.color
2969
2969
  }, null, 8, ["name", "color"]),
2970
- q("p", {
2970
+ G("p", {
2971
2971
  class: "fm-typo-en-body-md-600",
2972
2972
  style: Le({ color: d.value.icon.color })
2973
2973
  }, Se(d.value.value), 5)
@@ -2981,11 +2981,11 @@ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "f
2981
2981
  compact: ""
2982
2982
  }, {
2983
2983
  default: we(() => [
2984
- ue(G, {
2984
+ ue(q, {
2985
2985
  name: "arrow_upward",
2986
2986
  color: "#C7C7CC"
2987
2987
  }),
2988
- V[0] || (V[0] = q("p", { class: "fm-typo-en-body-md-600" }, " ", -1))
2988
+ V[0] || (V[0] = G("p", { class: "fm-typo-en-body-md-600" }, " ", -1))
2989
2989
  ]),
2990
2990
  _: 1
2991
2991
  })) : fe("", !0)
@@ -3026,13 +3026,13 @@ const $r = { class: "h-full flex flex-col gap-2 justify-end" }, Vr = { class: "f
3026
3026
  values: (($ = P.value.datasets[0]) == null ? void 0 : $.values) ?? [],
3027
3027
  "percent-of-total": P.value.percentOfTotal === !0
3028
3028
  }, null, 8, ["dimensions", "values", "percent-of-total"]))
3029
- ])) : (K(), ae("div", qr, V[1] || (V[1] = [
3030
- q("div", { class: "sparkline" }, [
3031
- q("div", { class: "flex flex-col gap-8" }, [
3032
- q("div"),
3033
- q("div")
3029
+ ])) : (K(), ae("div", Gr, V[1] || (V[1] = [
3030
+ G("div", { class: "sparkline" }, [
3031
+ G("div", { class: "flex flex-col gap-8" }, [
3032
+ G("div"),
3033
+ G("div")
3034
3034
  ]),
3035
- q("div", { class: "grow" })
3035
+ G("div", { class: "grow" })
3036
3036
  ], -1)
3037
3037
  ])))
3038
3038
  ]);
@@ -3088,7 +3088,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3088
3088
  maxWidth: y
3089
3089
  };
3090
3090
  }
3091
- const V = g(() => o.value.filterText), G = g(() => {
3091
+ const V = g(() => o.value.filterText), q = g(() => {
3092
3092
  var y;
3093
3093
  const u = (y = o.value.grandTotalLabel) == null ? void 0 : y.trim();
3094
3094
  return u && u.length > 0 ? u : at(t, n, "Grand total", "other");
@@ -3128,7 +3128,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3128
3128
  });
3129
3129
  break;
3130
3130
  }
3131
- return u.length > 0 && u[0].main === "" && (u[0].main = G.value), u;
3131
+ return u.length > 0 && u[0].main === "" && (u[0].main = q.value), u;
3132
3132
  });
3133
3133
  function M(u) {
3134
3134
  let y = (u == null ? void 0 : u.main) || "";
@@ -3264,7 +3264,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3264
3264
  return (u, y) => {
3265
3265
  const B = se("FmTable");
3266
3266
  return K(), ae("div", el, [
3267
- q("div", tl, [
3267
+ G("div", tl, [
3268
3268
  Qe(u.$slots, "menu")
3269
3269
  ]),
3270
3270
  ue(B, {
@@ -3285,7 +3285,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3285
3285
  fn: we(() => [
3286
3286
  (K(), ie(oo(I.value === i(Ze).bottom ? "tfoot" : "tbody"), null, {
3287
3287
  default: we(() => [
3288
- q("tr", nl, [
3288
+ G("tr", nl, [
3289
3289
  (K(!0), ae(Be, null, lt(C.value, (H, z) => {
3290
3290
  var S;
3291
3291
  return K(), ae("td", {
@@ -3293,7 +3293,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3293
3293
  class: "text-fm-color-typo-primary px-16",
3294
3294
  style: Le({ ...F(), ...k((S = x.value[z]) == null ? void 0 : S.key) })
3295
3295
  }, [
3296
- q("span", {
3296
+ G("span", {
3297
3297
  class: _e([
3298
3298
  "flex items-center text-fm-color-typo-secondary gap-2",
3299
3299
  H.rowType === "NUMERIC" ? "text-right justify-end" : "",
@@ -3302,8 +3302,8 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3302
3302
  ]),
3303
3303
  style: Le(F())
3304
3304
  }, [
3305
- q("p", ol, Se(H.rowType === "NUMERIC" ? i(At)(H.main) : H.main), 1),
3306
- q("p", al, Se(H.comparison ? H.rowType === "NUMERIC" ? `(${i(At)(H.comparison)})` : `(${H.comparison})` : ""), 1)
3305
+ G("p", ol, Se(H.rowType === "NUMERIC" ? i(At)(H.main) : H.main), 1),
3306
+ G("p", al, Se(H.comparison ? H.rowType === "NUMERIC" ? `(${i(At)(H.comparison)})` : `(${H.comparison})` : ""), 1)
3307
3307
  ], 6)
3308
3308
  ], 4);
3309
3309
  }), 128))
@@ -3335,7 +3335,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3335
3335
  var T;
3336
3336
  return ((T = t.value.data) == null ? void 0 : T.datasets) ?? [];
3337
3337
  }), s = zt("bar"), a = g(() => t.value.stackBarOverlap === !0), c = g(() => a.value === !1), d = g(() => ({
3338
- ...G.value,
3338
+ ...q.value,
3339
3339
  stacked: c.value
3340
3340
  })), m = g(() => ({
3341
3341
  ...I.value,
@@ -3409,7 +3409,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3409
3409
  handleTooltipDetailsLeave: L,
3410
3410
  comparisonTooltip: k,
3411
3411
  datalabels: V,
3412
- xCfg: G,
3412
+ xCfg: q,
3413
3413
  yCfg: I,
3414
3414
  isTransposed: N,
3415
3415
  legend: C,
@@ -3429,9 +3429,9 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3429
3429
  var B, H, z, S, Z, Q;
3430
3430
  const y = se("FmBarChart");
3431
3431
  return K(), ae(Be, null, [
3432
- q("div", ll, [
3432
+ G("div", ll, [
3433
3433
  Qe(T.$slots, "menu"),
3434
- q("div", {
3434
+ G("div", {
3435
3435
  class: _e(["chart-layout", {
3436
3436
  "chart-layout--side": i(M) && (i(C).display ?? !1) && i(A)
3437
3437
  }])
@@ -3610,7 +3610,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3610
3610
  }), ct = v({
3611
3611
  datasetIndex: pe,
3612
3612
  colorIndex: Fe
3613
- }), dt = le.values.map((qe) => qe === null ? NaN : Number(qe));
3613
+ }), dt = le.values.map((Ge) => Ge === null ? NaN : Number(Ge));
3614
3614
  return {
3615
3615
  label: le.name,
3616
3616
  tooltipLabel: `${Xe} - ${et}`,
@@ -3628,7 +3628,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3628
3628
  isTooltipDetailsSheetOpen: L,
3629
3629
  tooltipDetailsPayload: k,
3630
3630
  handleTooltipDetailsSheetVisibility: V,
3631
- handleTooltipDetailsHover: G,
3631
+ handleTooltipDetailsHover: q,
3632
3632
  handleTooltipDetailsLeave: I,
3633
3633
  comparisonTooltip: N,
3634
3634
  datalabels: C,
@@ -3672,9 +3672,9 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3672
3672
  var oe, re, he, le, pe, Ce;
3673
3673
  const Q = se("FmBarChart");
3674
3674
  return K(), ae(Be, null, [
3675
- q("div", il, [
3675
+ G("div", il, [
3676
3676
  Qe(S.$slots, "menu"),
3677
- q("div", {
3677
+ G("div", {
3678
3678
  class: _e(["chart-layout", {
3679
3679
  "chart-layout--side": i(ee) && (i(X).display ?? !1) && i(W)
3680
3680
  }])
@@ -3735,7 +3735,7 @@ const Zr = /* @__PURE__ */ io(jr, [["render", Jr]]), Qr = "/assets/processTableD
3735
3735
  "model-value": i(L),
3736
3736
  "details-payload": i(k),
3737
3737
  "onUpdate:modelValue": i(V),
3738
- onValueHover: i(G),
3738
+ onValueHover: i(q),
3739
3739
  onValueLeave: i(I)
3740
3740
  }, null, 8, ["model-value", "details-payload", "onUpdate:modelValue", "onValueHover", "onValueLeave"])
3741
3741
  ], 64);
@@ -3840,7 +3840,7 @@ const dl = { class: "widget-content" }, fl = /* @__PURE__ */ Me({
3840
3840
  datalabels: L,
3841
3841
  xCfg: k,
3842
3842
  yCfg: V,
3843
- isTransposed: G,
3843
+ isTransposed: q,
3844
3844
  legend: I,
3845
3845
  useCustomLegend: N,
3846
3846
  legendPosition: C,
@@ -3858,9 +3858,9 @@ const dl = { class: "widget-content" }, fl = /* @__PURE__ */ Me({
3858
3858
  var u, y, B, H, z, S;
3859
3859
  const T = se("FmLineChart");
3860
3860
  return K(), ae(Be, null, [
3861
- q("div", dl, [
3861
+ G("div", dl, [
3862
3862
  Qe(Y.$slots, "menu"),
3863
- q("div", {
3863
+ G("div", {
3864
3864
  class: _e(["chart-layout", {
3865
3865
  "chart-layout--side": i(N) && (i(I).display ?? !1) && i(M)
3866
3866
  }])
@@ -3890,7 +3890,7 @@ const dl = { class: "widget-content" }, fl = /* @__PURE__ */ Me({
3890
3890
  "x-axis": { categories: s.value },
3891
3891
  "x-cfg": i(k),
3892
3892
  "y-cfg": i(V),
3893
- transpose: i(G),
3893
+ transpose: i(q),
3894
3894
  legend: {
3895
3895
  display: !1
3896
3896
  },
@@ -3961,11 +3961,11 @@ function vl(e) {
3961
3961
  function yl(e) {
3962
3962
  return An[hl(e) - 1];
3963
3963
  }
3964
- const bl = 200;
3965
- function Cl(e) {
3966
- return bl * e;
3964
+ const bl = 150, Cl = 200;
3965
+ function xl(e, t) {
3966
+ return (t === "SCORECARD" ? Cl : bl) * e;
3967
3967
  }
3968
- const xl = { class: "widget-content" }, wl = /* @__PURE__ */ Me({
3968
+ const wl = { class: "widget-content" }, _l = /* @__PURE__ */ Me({
3969
3969
  __name: "WidgetLinechart",
3970
3970
  props: /* @__PURE__ */ Ne({
3971
3971
  tileIndex: {}
@@ -4048,7 +4048,7 @@ const xl = { class: "widget-content" }, wl = /* @__PURE__ */ Me({
4048
4048
  comparisonTooltip: L,
4049
4049
  datalabels: k,
4050
4050
  xCfg: V,
4051
- yCfg: G,
4051
+ yCfg: q,
4052
4052
  isTransposed: I,
4053
4053
  legend: N,
4054
4054
  useCustomLegend: C,
@@ -4067,9 +4067,9 @@ const xl = { class: "widget-content" }, wl = /* @__PURE__ */ Me({
4067
4067
  var y, B, H, z, S, Z;
4068
4068
  const u = se("FmLineChart");
4069
4069
  return K(), ae(Be, null, [
4070
- q("div", xl, [
4070
+ G("div", wl, [
4071
4071
  Qe(W.$slots, "menu"),
4072
- q("div", {
4072
+ G("div", {
4073
4073
  class: _e(["chart-layout", {
4074
4074
  "chart-layout--side": i(C) && (i(N).display ?? !1) && i($)
4075
4075
  }])
@@ -4098,7 +4098,7 @@ const xl = { class: "widget-content" }, wl = /* @__PURE__ */ Me({
4098
4098
  datasets: i(Y),
4099
4099
  "x-axis": { categories: c.value },
4100
4100
  "x-cfg": i(V),
4101
- "y-cfg": i(G),
4101
+ "y-cfg": i(q),
4102
4102
  transpose: i(I),
4103
4103
  legend: {
4104
4104
  display: !1
@@ -4137,7 +4137,7 @@ const xl = { class: "widget-content" }, wl = /* @__PURE__ */ Me({
4137
4137
  ], 64);
4138
4138
  };
4139
4139
  }
4140
- }), _l = { class: "flex flex-col gap-16" }, Sl = { class: "flex flex-row" }, kl = /* @__PURE__ */ Me({
4140
+ }), Sl = { class: "flex flex-col gap-16" }, kl = { class: "flex flex-row" }, Tl = /* @__PURE__ */ Me({
4141
4141
  __name: "PdfOrientationDialog",
4142
4142
  props: /* @__PURE__ */ Ne({
4143
4143
  reportType: {},
@@ -4172,7 +4172,7 @@ const xl = { class: "widget-content" }, wl = /* @__PURE__ */ Me({
4172
4172
  }
4173
4173
  }
4174
4174
  return (F, L) => {
4175
- const k = se("FmRadio"), V = se("FmRadioGroup"), G = se("FmButton"), I = se("FmDialog");
4175
+ const k = se("FmRadio"), V = se("FmRadioGroup"), q = se("FmButton"), I = se("FmDialog");
4176
4176
  return K(), ie(I, {
4177
4177
  modelValue: s.value,
4178
4178
  "onUpdate:modelValue": L[2] || (L[2] = (N) => s.value = N),
@@ -4189,7 +4189,7 @@ const xl = { class: "widget-content" }, wl = /* @__PURE__ */ Me({
4189
4189
  onValidationSuccess: b
4190
4190
  }, {
4191
4191
  default: we(() => [
4192
- q("div", _l, [
4192
+ G("div", Sl, [
4193
4193
  ue(V, {
4194
4194
  modelValue: w.value,
4195
4195
  "onUpdate:modelValue": L[0] || (L[0] = (N) => w.value = N)
@@ -4207,15 +4207,15 @@ const xl = { class: "widget-content" }, wl = /* @__PURE__ */ Me({
4207
4207
  _: 1
4208
4208
  }, 8, ["modelValue"])
4209
4209
  ]),
4210
- q("div", Sl, [
4211
- L[4] || (L[4] = q("div", { class: "grow" }, null, -1)),
4212
- ue(G, {
4210
+ G("div", kl, [
4211
+ L[4] || (L[4] = G("div", { class: "grow" }, null, -1)),
4212
+ ue(q, {
4213
4213
  label: i(t)("report.common.cancel"),
4214
4214
  variant: "tertiary",
4215
4215
  onClick: L[1] || (L[1] = (N) => s.value = !1)
4216
4216
  }, null, 8, ["label"]),
4217
- q("div", null, [
4218
- ue(G, {
4217
+ G("div", null, [
4218
+ ue(q, {
4219
4219
  label: i(t)("report.common.download"),
4220
4220
  loading: c.value,
4221
4221
  onClick: v
@@ -4231,7 +4231,7 @@ const xl = { class: "widget-content" }, wl = /* @__PURE__ */ Me({
4231
4231
  };
4232
4232
  }
4233
4233
  });
4234
- function Tl(e) {
4234
+ function Ll(e) {
4235
4235
  const { breakpoints: t } = $t(), { containerRef: n, isTable: o = D(!0) } = e;
4236
4236
  let r = D(1), s = null, a = null, c = null, d = null, m = null, P = null;
4237
4237
  function x() {
@@ -4277,7 +4277,7 @@ function Tl(e) {
4277
4277
  pointer-events: auto;
4278
4278
  `;
4279
4279
  const M = c.cloneNode(!0);
4280
- M.style.cssText = "pointer-events: auto;", b(c, M), C.appendChild(M), s.appendChild(C), document.body.appendChild(s), k(), V(), G(), L();
4280
+ M.style.cssText = "pointer-events: auto;", b(c, M), C.appendChild(M), s.appendChild(C), document.body.appendChild(s), k(), V(), q(), L();
4281
4281
  }
4282
4282
  function b(C, M) {
4283
4283
  const $ = C.querySelectorAll("th, td"), A = M.querySelectorAll("th, td");
@@ -4363,7 +4363,7 @@ function Tl(e) {
4363
4363
  L();
4364
4364
  }), n.value && d.observe(n.value), a && d.observe(a);
4365
4365
  }
4366
- function G() {
4366
+ function q() {
4367
4367
  if (!c) return;
4368
4368
  const C = hn(() => v(), 100), M = () => {
4369
4369
  if (c && s) {
@@ -4408,16 +4408,16 @@ function Tl(e) {
4408
4408
  I();
4409
4409
  }), { refresh: N, cleanup: I };
4410
4410
  }
4411
- const Ll = {
4411
+ const Dl = {
4412
4412
  key: 0,
4413
4413
  class: "h-full"
4414
- }, Dl = {
4414
+ }, Pl = {
4415
4415
  key: 1,
4416
4416
  class: "grow"
4417
- }, Pl = {
4417
+ }, Il = {
4418
4418
  key: 2,
4419
4419
  class: "flex"
4420
- }, Ol = /* @__PURE__ */ Me({
4420
+ }, Ul = /* @__PURE__ */ Me({
4421
4421
  __name: "DynamicWidget",
4422
4422
  props: /* @__PURE__ */ Ne({
4423
4423
  index: {
@@ -4452,7 +4452,7 @@ const Ll = {
4452
4452
  const n = D(!0), o = ze(e, "modelValue"), r = t, s = o.value.widget.config, { t: a, te: c, locale: d } = st(), m = e, P = D(null), x = g(() => o.value.widget.type === te.Table), w = g(() => {
4453
4453
  var _;
4454
4454
  return (_ = P.value) == null ? void 0 : _.$el;
4455
- }), { refresh: v } = Tl({
4455
+ }), { refresh: v } = Ll({
4456
4456
  containerRef: w,
4457
4457
  isTable: x
4458
4458
  }), b = D(s.rollup), F = D(Mt()), L = D(s.drillDimension), k = g(() => {
@@ -4463,7 +4463,7 @@ const Ll = {
4463
4463
  return _ >= 0 ? _ : 0;
4464
4464
  } else
4465
4465
  return -1;
4466
- }), V = g(() => k.value !== 0), G = g(
4466
+ }), V = g(() => k.value !== 0), q = g(
4467
4467
  () => k.value != ye.value.length - 1
4468
4468
  ), I = D(s.showTitle ?? !0), N = D(s.titleFontSize ?? 14), C = D(s.titleBold ?? !1), M = D(s.titleItalic ?? !1), $ = D(s.titleUnderline ?? !1), A = D(
4469
4469
  Array.isArray(s.chartColors) ? [...s.chartColors] : void 0
@@ -4478,7 +4478,7 @@ const Ll = {
4478
4478
  var _;
4479
4479
  return ((_ = $e.value) == null ? void 0 : _.showSearchBar) === !0 && (j.value.config.showSearchBar ?? !0);
4480
4480
  }
4481
- ), oe = D(s.showX ?? !0), re = D(s.xPosition ?? bn.bottom), he = D(s.showXGrid ?? !1), le = D(s.showXTick ?? !0), pe = D(s.xTickFontSize ?? 12), Ce = D(s.showXTitle ?? !1), Fe = D(s.xTitle ?? ""), Xe = D(s.xTitleFontSize ?? 12), et = D(s.showY ?? !0), ke = D(s.yPosition ?? Cn.left), wt = D(s.showYGrid ?? !1), Ye = D(s.showYTick ?? !0), tt = D(s.yTickFontSize ?? 12), it = D(s.showYTitle ?? !1), ut = D(s.yTitle ?? ""), ct = D(s.yTitleFontSize ?? 12), dt = D(s.showLegend ?? void 0), Ee = D(s.legendPosition ?? xn.top), qe = D(s.usePointStyle ?? !0), Ot = D(s.legendFontSize), Ge = D(s.legendColor ?? "#6b6b6b"), Ut = D(s.maxTooltipItems), Kt = D(s.stackBarOverlap ?? !1), Xt = D(s.rowHeight ?? null), _t = D(s.colWidths ?? null), He = D(!1), St = D(""), { breakpoints: je, getBreakpointsBoundary: nt } = $t(), kt = D(), xe = g(
4481
+ ), oe = D(s.showX ?? !0), re = D(s.xPosition ?? bn.bottom), he = D(s.showXGrid ?? !1), le = D(s.showXTick ?? !0), pe = D(s.xTickFontSize ?? 12), Ce = D(s.showXTitle ?? !1), Fe = D(s.xTitle ?? ""), Xe = D(s.xTitleFontSize ?? 12), et = D(s.showY ?? !0), ke = D(s.yPosition ?? Cn.left), wt = D(s.showYGrid ?? !1), Ye = D(s.showYTick ?? !0), tt = D(s.yTickFontSize ?? 12), it = D(s.showYTitle ?? !1), ut = D(s.yTitle ?? ""), ct = D(s.yTitleFontSize ?? 12), dt = D(s.showLegend ?? void 0), Ee = D(s.legendPosition ?? xn.top), Ge = D(s.usePointStyle ?? !0), Ot = D(s.legendFontSize), qe = D(s.legendColor ?? "#6b6b6b"), Ut = D(s.maxTooltipItems), Kt = D(s.stackBarOverlap ?? !1), Xt = D(s.rowHeight ?? null), _t = D(s.colWidths ?? null), He = D(!1), St = D(""), { breakpoints: je, getBreakpointsBoundary: nt } = $t(), kt = D(), xe = g(
4482
4482
  () => m.customScreenWidth === void 0 ? window.innerWidth : m.customScreenWidth
4483
4483
  ), nn = g(
4484
4484
  () => (xe == null ? void 0 : xe.value) > nt("xs")[1] && (xe == null ? void 0 : xe.value) <= nt("sm")[1]
@@ -4506,13 +4506,13 @@ const Ll = {
4506
4506
  case te.ClusteredStackBarChart:
4507
4507
  return ul;
4508
4508
  case te.LineChart:
4509
- return wl;
4509
+ return _l;
4510
4510
  case te.StackLineChart:
4511
4511
  return fl;
4512
4512
  case te.Circular:
4513
4513
  return Rr;
4514
4514
  case te.Scorecard:
4515
- return Gr;
4515
+ return qr;
4516
4516
  case te.Spacer:
4517
4517
  return Zr;
4518
4518
  case te.Table:
@@ -4588,9 +4588,9 @@ const Ll = {
4588
4588
  isTransposed: j.value.config.isTransposed,
4589
4589
  showLegend: dt.value,
4590
4590
  legendPosition: Ee.value,
4591
- usePointStyle: qe.value,
4591
+ usePointStyle: Ge.value,
4592
4592
  legendFontSize: Ot.value,
4593
- legendColor: Ge.value,
4593
+ legendColor: qe.value,
4594
4594
  maxTooltipItems: Ut.value,
4595
4595
  stackBarOverlap: Kt.value
4596
4596
  };
@@ -4648,7 +4648,7 @@ const Ll = {
4648
4648
  Te(
4649
4649
  () => o.value.widget.config,
4650
4650
  (_) => {
4651
- b.value = _.rollup, I.value = _.showTitle ?? !0, N.value = _.titleFontSize ?? 14, C.value = _.titleBold ?? !1, M.value = _.titleItalic ?? !1, $.value = _.titleUnderline ?? !1, A.value = Array.isArray(_.chartColors) ? [..._.chartColors] : void 0, X.value = Array.isArray(_.chartColorLayers) ? [..._.chartColorLayers] : void 0, ee.value = Array.isArray(_.chartBreakdownColors) ? [..._.chartBreakdownColors] : void 0, Y.value = _.chartUseSecondaryMetricShades ?? !0, W.value = _.chartColorBinding, T.value = Array.isArray(_.lineStyles) ? [..._.lineStyles] : void 0, u.value = _.lineStyleBinding, y.value = _.showLabel ?? !1, B.value = _.labelAlign ?? yn.center, H.value = _.labelAnchor ?? vn.center, z.value = _.labelRotation ?? 0, S.value = _.labelOffset ?? 0, Z.value = _.labelFontSize ?? 12, oe.value = _.showX ?? !0, re.value = _.xPosition ?? bn.bottom, he.value = _.showXGrid ?? !1, le.value = _.showXTick ?? !0, pe.value = _.xTickFontSize ?? 12, Ce.value = _.showXTitle ?? !1, Fe.value = _.xTitle ?? "", Xe.value = _.xTitleFontSize ?? 12, et.value = _.showY ?? !0, ke.value = _.yPosition ?? Cn.left, wt.value = _.showYGrid ?? !1, Ye.value = _.showYTick ?? !0, tt.value = _.yTickFontSize ?? 12, it.value = _.showYTitle ?? !1, ut.value = _.yTitle ?? "", ct.value = _.yTitleFontSize ?? 12, dt.value = _.showLegend ?? void 0, Ee.value = _.legendPosition ?? xn.top, qe.value = _.usePointStyle ?? !0, Ot.value = _.legendFontSize, Ge.value = _.legendColor ?? "#6b6b6b", Ut.value = _.maxTooltipItems, Kt.value = _.stackBarOverlap ?? !1, Xt.value = _.rowHeight ?? null, _t.value = _.colWidths ?? null, F.value = Mt();
4651
+ b.value = _.rollup, I.value = _.showTitle ?? !0, N.value = _.titleFontSize ?? 14, C.value = _.titleBold ?? !1, M.value = _.titleItalic ?? !1, $.value = _.titleUnderline ?? !1, A.value = Array.isArray(_.chartColors) ? [..._.chartColors] : void 0, X.value = Array.isArray(_.chartColorLayers) ? [..._.chartColorLayers] : void 0, ee.value = Array.isArray(_.chartBreakdownColors) ? [..._.chartBreakdownColors] : void 0, Y.value = _.chartUseSecondaryMetricShades ?? !0, W.value = _.chartColorBinding, T.value = Array.isArray(_.lineStyles) ? [..._.lineStyles] : void 0, u.value = _.lineStyleBinding, y.value = _.showLabel ?? !1, B.value = _.labelAlign ?? yn.center, H.value = _.labelAnchor ?? vn.center, z.value = _.labelRotation ?? 0, S.value = _.labelOffset ?? 0, Z.value = _.labelFontSize ?? 12, oe.value = _.showX ?? !0, re.value = _.xPosition ?? bn.bottom, he.value = _.showXGrid ?? !1, le.value = _.showXTick ?? !0, pe.value = _.xTickFontSize ?? 12, Ce.value = _.showXTitle ?? !1, Fe.value = _.xTitle ?? "", Xe.value = _.xTitleFontSize ?? 12, et.value = _.showY ?? !0, ke.value = _.yPosition ?? Cn.left, wt.value = _.showYGrid ?? !1, Ye.value = _.showYTick ?? !0, tt.value = _.yTickFontSize ?? 12, it.value = _.showYTitle ?? !1, ut.value = _.yTitle ?? "", ct.value = _.yTitleFontSize ?? 12, dt.value = _.showLegend ?? void 0, Ee.value = _.legendPosition ?? xn.top, Ge.value = _.usePointStyle ?? !0, Ot.value = _.legendFontSize, qe.value = _.legendColor ?? "#6b6b6b", Ut.value = _.maxTooltipItems, Kt.value = _.stackBarOverlap ?? !1, Xt.value = _.rowHeight ?? null, _t.value = _.colWidths ?? null, F.value = Mt();
4652
4652
  },
4653
4653
  { deep: !0, immediate: !0 }
4654
4654
  ), Te(
@@ -4702,7 +4702,7 @@ const Ll = {
4702
4702
  try {
4703
4703
  n.value = !0, Ve && Ve.abort(), Ve = new AbortController();
4704
4704
  const _ = Ve.signal, ce = J.value, Ie = await hn(
4705
- qo,
4705
+ Go,
4706
4706
  500
4707
4707
  )({
4708
4708
  widget: j.value,
@@ -4717,7 +4717,7 @@ const Ll = {
4717
4717
  }
4718
4718
  function ot() {
4719
4719
  if (o.value.widget.type !== "SPACER")
4720
- return `${Cl(o.value.size.height)}px`;
4720
+ return `${xl(o.value.size.height, o.value.widget.type)}px`;
4721
4721
  }
4722
4722
  function sn() {
4723
4723
  const _ = k.value - 1;
@@ -4728,7 +4728,7 @@ const Ll = {
4728
4728
  _ >= 0 && _ < ye.value.length && (L.value = ye.value[_].value);
4729
4729
  }
4730
4730
  const Lt = D(pt.EXCEL), Fn = D(), Lo = Object.values(pt).map((_) => ({
4731
- label: Go(_),
4731
+ label: qo(_),
4732
4732
  value: _,
4733
4733
  onClick: async () => {
4734
4734
  _ === pt.EXCEL || _ === pt.PDFFULLSIZE || _ === pt.PDFRECEIPT ? await ro({
@@ -4751,13 +4751,13 @@ const Ll = {
4751
4751
  style: Le({ height: kt.value })
4752
4752
  }, {
4753
4753
  default: we(() => [
4754
- ue(kl, {
4754
+ ue(Tl, {
4755
4755
  modelValue: He.value,
4756
4756
  "onUpdate:modelValue": ce[0] || (ce[0] = (mt) => He.value = mt),
4757
4757
  "report-type": Lt.value,
4758
4758
  index: Fn.value
4759
4759
  }, null, 8, ["modelValue", "report-type", "index"]),
4760
- (i(O).length > 0 ? i(E) && !n.value : !n.value) ? (K(), ae("div", Ll, [
4760
+ (i(O).length > 0 ? i(E) && !n.value : !n.value) ? (K(), ae("div", Dl, [
4761
4761
  (K(), ie(oo(ln.value), {
4762
4762
  key: F.value,
4763
4763
  modelValue: de.value,
@@ -4803,7 +4803,7 @@ const Ll = {
4803
4803
  modelValue: St.value,
4804
4804
  "onUpdate:modelValue": ce[1] || (ce[1] = (Ue) => St.value = Ue),
4805
4805
  class: "grow"
4806
- }, null, 8, ["modelValue"])) : (K(), ae("div", Dl)),
4806
+ }, null, 8, ["modelValue"])) : (K(), ae("div", Pl)),
4807
4807
  Uo(ue(cn, {
4808
4808
  modelValue: y.value,
4809
4809
  "onUpdate:modelValue": ce[2] || (ce[2] = (Ue) => y.value = Ue),
@@ -4812,7 +4812,7 @@ const Ll = {
4812
4812
  }, null, 8, ["modelValue"]), [
4813
4813
  [Ko, (mt = $e.value) == null ? void 0 : mt.showLabel]
4814
4814
  ]),
4815
- (Rn = $e.value) != null && Rn.showDrillDimension && ye.value.length > 0 ? (K(), ae("div", Pl, [
4815
+ (Rn = $e.value) != null && Rn.showDrillDimension && ye.value.length > 0 ? (K(), ae("div", Il, [
4816
4816
  ue(ft, {
4817
4817
  icon: "arrow_upward",
4818
4818
  variant: "tertiary",
@@ -4822,7 +4822,7 @@ const Ll = {
4822
4822
  ue(ft, {
4823
4823
  icon: "arrow_downward",
4824
4824
  variant: "tertiary",
4825
- disabled: !G.value,
4825
+ disabled: !q.value,
4826
4826
  onClick: un
4827
4827
  }, null, 8, ["disabled"])
4828
4828
  ])) : fe("", !0),
@@ -4870,7 +4870,7 @@ export {
4870
4870
  yn as L,
4871
4871
  Ze as R,
4872
4872
  be as S,
4873
- Ol as _,
4873
+ Ul as _,
4874
4874
  vl as a,
4875
4875
  yl as b,
4876
4876
  gl as c,
@@ -4878,6 +4878,6 @@ export {
4878
4878
  vt as e,
4879
4879
  uo as f,
4880
4880
  Zo as g,
4881
- Wl as h,
4882
- Cl as t
4881
+ Ol as h,
4882
+ xl as t
4883
4883
  };