@feedmepos/mf-report 5.24.2 → 5.24.3

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 (30) hide show
  1. package/dist/{App-mqLN8UFM.js → App-CH45KtMi.js} +4 -4
  2. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-C3gJtMm-.js +380 -0
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-BzVweuOL.js → Default.vue_vue_type_script_setup_true_lang-Duu-LyqL.js} +1 -1
  4. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-CtV3BEJO.js +4661 -0
  5. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-C731Br2T.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BDXjO_Sp.js} +8299 -7427
  6. package/dist/{InsightView-ADisfb4R.js → InsightView-BWVD5IIN.js} +5 -5
  7. package/dist/{Integration-CDqNMoR0.js → Integration-BVN352PX.js} +22 -22
  8. package/dist/{Integrations-DQIv4LVI.js → Integrations-BUojqghs.js} +13 -12
  9. package/dist/{Layout-DMSB8Kfu.js → Layout-B5kumbJ0.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-2gpx86l4.js → MenuTab.vue_vue_type_script_setup_true_lang-D1-Jlcbz.js} +26 -27
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DHUUdyp2.js → NavigationTab.vue_vue_type_script_setup_true_lang-DDbNobqI.js} +6342 -6322
  12. package/dist/{OverviewView-CRg2cFuh.js → OverviewView-DJOcIDmH.js} +5 -5
  13. package/dist/{Report-BwqcLICQ.js → Report-CuZpyzTW.js} +4 -4
  14. package/dist/{ReportEditor-DGY3SxpW.js → ReportEditor-B3haFTU6.js} +571 -573
  15. package/dist/{ReportView-BIY-5Lbi.js → ReportView-4JWtTu3y.js} +16 -17
  16. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Af_Z54a4.js +143 -0
  17. package/dist/{Setting-CpfDtK_s.js → Setting-Dl8HsHao.js} +4 -4
  18. package/dist/{TileEditor-D5jwVXhB.js → TileEditor-1hvqccL1.js} +325 -323
  19. package/dist/{TransitionFade-CC0PpKBo.js → TransitionFade-9A8VZ8Fm.js} +18 -18
  20. package/dist/{app-CILH73ZA.js → app-CBHDMsDR.js} +2229 -2311
  21. package/dist/app.js +1 -1
  22. package/dist/assets/{formatChartData.worker-C3U_CcDO.js → formatChartData.worker-DaLXwMTs.js} +2 -2
  23. package/dist/assets/{processTableData.worker-D_oiIvNW.js → processTableData.worker-Be0ZD94L.js} +2 -2
  24. package/dist/style.css +1 -1
  25. package/dist/{useRestaurantPermission-UJ4KkZq1.js → useRestaurantPermission-CGonMXA-.js} +1 -1
  26. package/package.json +1 -1
  27. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-BYxYhdsf.js +0 -286
  28. package/dist/FilterSelector.vue_vue_type_script_setup_true_lang-LZyZxm7z.js +0 -5467
  29. package/dist/NoData.vue_vue_type_script_setup_true_lang-CDKHIlF2.js +0 -38
  30. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Df40itH5.js +0 -110
@@ -1,17 +1,16 @@
1
- import { defineComponent as se, mergeModels as ve, useModel as ge, computed as S, ref as ee, resolveComponent as D, createElementBlock as P, openBlock as v, createVNode as d, createElementVNode as b, unref as l, withCtx as Y, toDisplayString as J, Fragment as de, renderList as xe, withModifiers as ye, createTextVNode as Ue, watch as he, createCommentVNode as N, createBlock as O, onUnmounted as Bl, renderSlot as rl, onMounted as Ye, onBeforeUnmount as ul, resolveDynamicComponent as dl, normalizeClass as ke, withDirectives as we, vShow as Ce, withKeys as el, vModelText as Ll, normalizeStyle as Ee, isRef as Al } from "vue";
2
- import { useRoute as Ml, useRouter as Nl } from "vue-router";
3
- import { h as Ol, d as Re, S as We, a as jl, W as zl, c as Rl, T as Il, b as Pl } from "./TransitionFade-CC0PpKBo.js";
4
- import { W as G, a as ml, c as De, D as Xl, S as ll, C as El, P as ol, u as Wl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-C731Br2T.js";
1
+ import { defineComponent as se, mergeModels as ve, useModel as ge, computed as S, ref as ee, resolveComponent as D, createElementBlock as P, openBlock as v, createVNode as d, createElementVNode as b, unref as l, withCtx as Y, toDisplayString as J, Fragment as de, renderList as xe, withModifiers as ye, createTextVNode as Ue, watch as he, createCommentVNode as N, createBlock as O, onUnmounted as Dl, renderSlot as rl, onMounted as Ye, onBeforeUnmount as ul, resolveDynamicComponent as dl, normalizeClass as ke, withDirectives as we, vShow as Ce, withKeys as el, vModelText as Bl, normalizeStyle as Ee, isRef as Ll } from "vue";
2
+ import { useRoute as Al, useRouter as Ml } from "vue-router";
3
+ import { h as Nl, d as Re, S as We, a as Ol, W as zl, c as jl, T as Rl, b as Il } from "./TransitionFade-9A8VZ8Fm.js";
4
+ import { W as G, a as ml, e as De, D as Pl, S as ll, C as Xl, P as ol, u as El, d as Wl, b as ql } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BDXjO_Sp.js";
5
5
  import { storeToRefs as Se } from "pinia";
6
6
  import { u as cl } from "./message-dialog-UoMWOnil.js";
7
- import { useSnackbar as ql, useBreakpoints as pl, FmButtonColorThemeVariant as tl } from "@feedmepos/ui-library";
8
- import { a as fe, _ as vl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Df40itH5.js";
7
+ import { useSnackbar as Hl, useBreakpoints as pl, FmButtonColorThemeVariant as tl } from "@feedmepos/ui-library";
8
+ import { b as fe, a as vl, _ as fl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Af_Z54a4.js";
9
9
  import { u as ce } from "./vue-i18n-DVWuTfed.js";
10
10
  import { r as me } from "./i18n-CI_sQ5d_.js";
11
- import { b as Te, u as Oe, R as al, L as Fe, c as Ne, S as le, d as ie, e as nl, f as Hl, Y as Yl, X as Gl, _ as fl, a as Jl } from "./FilterSelector.vue_vue_type_script_setup_true_lang-LZyZxm7z.js";
12
- import { j as $e, a as gl, d as Me } from "./app-CILH73ZA.js";
13
- import { d as je } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BYxYhdsf.js";
14
- import { _ as yl } from "./NoData.vue_vue_type_script_setup_true_lang-CDKHIlF2.js";
11
+ import { g as Te, u as Oe, R as al, L as Fe, a as Ne, S as le, d as ie, b as nl, c as Yl, Y as Gl, X as Jl, _ as gl } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CtV3BEJO.js";
12
+ import { a as $e, d as ze } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-C3gJtMm-.js";
13
+ import { a as Kl, d as Me } from "./app-CBHDMsDR.js";
15
14
  const Ie = [
16
15
  {
17
16
  type: G.Circular,
@@ -166,7 +165,7 @@ const Ie = [
166
165
  canSearch: !1,
167
166
  periodType: null
168
167
  }
169
- ], Kl = { class: "flex flex-col my-2 gap-8" }, Ql = { class: "fm-typo-en-body-lg-600" }, Zl = { class: "text-sm text-fm-color-neutral-gray-400" }, eo = ["onClick"], lo = { class: "fm-typo-en-body-lg-400 overflow-hidden text-ellipsis line-clamp-1" }, oo = /* @__PURE__ */ se({
168
+ ], Ql = { class: "flex flex-col my-2 gap-8" }, Zl = { class: "fm-typo-en-body-lg-600" }, eo = { class: "text-sm text-fm-color-neutral-gray-400" }, lo = ["onClick"], oo = { class: "fm-typo-en-body-lg-400 overflow-hidden text-ellipsis line-clamp-1" }, to = /* @__PURE__ */ se({
170
169
  __name: "SchemaSection",
171
170
  props: /* @__PURE__ */ ve({
172
171
  options: {
@@ -193,16 +192,16 @@ const Ie = [
193
192
  if (i.value.schemaNames.length === 0 || t.value === 0)
194
193
  return x.value.filter((g) => !g.raw.isJoinOnly);
195
194
  {
196
- const g = i.value.schemaNames[0], C = h.value.find(($) => $.name === g), z = ((C == null ? void 0 : C.joins) || []).map(($) => $);
197
- return x.value.filter(($) => z.includes($.raw.name));
195
+ const g = i.value.schemaNames[0], C = h.value.find(($) => $.name === g), j = ((C == null ? void 0 : C.joins) || []).map(($) => $);
196
+ return x.value.filter(($) => j.includes($.raw.name));
198
197
  }
199
- }), k = ee(!1), T = ee(""), t = ee(), s = ql();
198
+ }), k = ee(!1), T = ee(""), t = ee(), s = Hl();
200
199
  function f(g) {
201
200
  var C;
202
201
  return me(
203
202
  c,
204
203
  e,
205
- (C = h.value.find((z) => z.name === g)) == null ? void 0 : C.label,
204
+ (C = h.value.find((j) => j.name === g)) == null ? void 0 : C.label,
206
205
  "schema"
207
206
  );
208
207
  }
@@ -213,8 +212,8 @@ const Ie = [
213
212
  T.value !== "" ? (t.value !== void 0 ? i.value.schemaNames[t.value] = T.value : i.value.schemaNames.push(T.value), k.value = !1) : s.open({ message: c("report.section.schema.nothingSelected"), type: "error" });
214
213
  }
215
214
  return (g, C) => {
216
- const z = D("FmForm"), $ = D("FmIcon"), m = D("FmField");
217
- return v(), P("div", Kl, [
215
+ const j = D("FmForm"), $ = D("FmIcon"), m = D("FmField");
216
+ return v(), P("div", Ql, [
218
217
  d(De, {
219
218
  modelValue: k.value,
220
219
  "onUpdate:modelValue": C[1] || (C[1] = (a) => k.value = a),
@@ -224,7 +223,7 @@ const Ie = [
224
223
  onConfirm: A
225
224
  }, {
226
225
  content: Y(() => [
227
- d(z, { ref: "form" }, {
226
+ d(j, { ref: "form" }, {
228
227
  default: Y(() => [
229
228
  d(fe, {
230
229
  modelValue: T.value,
@@ -245,8 +244,8 @@ const Ie = [
245
244
  _: 1
246
245
  }, 8, ["modelValue", "title", "primary-button-label", "secondary-button-label"]),
247
246
  b("div", null, [
248
- b("p", Ql, J(l(c)("report.section.schema.title")), 1),
249
- b("p", Zl, J(l(c)("report.section.schema.description")), 1)
247
+ b("p", Zl, J(l(c)("report.section.schema.title")), 1),
248
+ b("p", eo, J(l(c)("report.section.schema.description")), 1)
250
249
  ]),
251
250
  (v(!0), P(de, null, xe(i.value.schemaNames, (a, r) => (v(), P("div", {
252
251
  key: r,
@@ -256,18 +255,18 @@ const Ie = [
256
255
  class: "flex items-center gap-2 border rounded-md border-neutral-300 p-2 h-[40px]",
257
256
  onClick: (n) => w(r)
258
257
  }, [
259
- b("p", lo, J(f(a)), 1),
258
+ b("p", oo, J(f(a)), 1),
260
259
  C[3] || (C[3] = b("div", { class: "grow" }, null, -1)),
261
260
  d($, {
262
261
  name: "close",
263
262
  onClick: ye(
264
263
  () => {
265
- i.value.schemaNames = l(Ol)(i.value.schemaNames, r);
264
+ i.value.schemaNames = l(Nl)(i.value.schemaNames, r);
266
265
  },
267
266
  ["stop"]
268
267
  )
269
268
  }, null, 8, ["onClick"])
270
- ], 8, eo)
269
+ ], 8, lo)
271
270
  ]))), 128)),
272
271
  d(m, {
273
272
  class: "text-fm-color-typo-tertiary",
@@ -283,10 +282,10 @@ const Ie = [
283
282
  ]);
284
283
  };
285
284
  }
286
- }), to = {
285
+ }), ao = {
287
286
  key: 0,
288
287
  class: "flex flex-col my-2 gap-8"
289
- }, ao = { class: "fm-typo-en-body-lg-600 text-ellipsis line-clamp-1" }, no = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, io = { class: "fm-typo-en-body-lg-400 text-ellipsis overflow-hidden line-clamp-1" }, Xe = /* @__PURE__ */ se({
288
+ }, no = { class: "fm-typo-en-body-lg-600 text-ellipsis line-clamp-1" }, io = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, so = { class: "fm-typo-en-body-lg-400 text-ellipsis overflow-hidden line-clamp-1" }, Xe = /* @__PURE__ */ se({
290
289
  __name: "DimensionSection",
291
290
  props: /* @__PURE__ */ ve({
292
291
  options: {
@@ -327,14 +326,14 @@ const Ie = [
327
326
  }))
328
327
  ), k = ee(i.value.length > 0 ? 0 : void 0);
329
328
  function T(n) {
330
- var y, u, V, j;
329
+ var y, u, V, z;
331
330
  x.value = !0, t.value = n != null && n.value ? JSON.parse(
332
331
  JSON.stringify({
333
332
  ...n.value,
334
333
  label: me(c, e, (y = n.value) == null ? void 0 : y.label, "other"),
335
334
  moveToColumn: (((u = o.config) == null ? void 0 : u.columnIds) || []).includes(Te(n.value))
336
335
  })
337
- ) : void 0, k.value = n == null ? void 0 : n.index, s.value = !!((V = t.value) != null && V.dataFormula || (j = t.value) != null && j.displayFormula), t.value && t.value.formatter === void 0 && (o.options.find(
336
+ ) : void 0, k.value = n == null ? void 0 : n.index, s.value = !!((V = t.value) != null && V.dataFormula || (z = t.value) != null && z.displayFormula), t.value && t.value.formatter === void 0 && (o.options.find(
338
337
  (B) => {
339
338
  var oe, Q;
340
339
  return B.schemaName === ((oe = t.value) == null ? void 0 : oe.schemaName) && B.name === ((Q = t.value) == null ? void 0 : Q.name);
@@ -384,10 +383,10 @@ const Ie = [
384
383
  s.value || (t.value.dataFormula = void 0, t.value.displayFormula = void 0), k.value !== void 0 ? n[k.value] = t.value : n.push(t.value), i.value = n, x.value = !1;
385
384
  }
386
385
  function C(n) {
387
- const u = [...p.value.map((V) => V.value)].filter((V, j) => j !== n);
386
+ const u = [...p.value.map((V) => V.value)].filter((V, z) => z !== n);
388
387
  i.value = u;
389
388
  }
390
- function z(n) {
389
+ function j(n) {
391
390
  t.value && (t.value.decimal = Number(n));
392
391
  }
393
392
  function $(n) {
@@ -408,8 +407,8 @@ const Ie = [
408
407
  }))
409
408
  );
410
409
  return (n, y) => {
411
- const u = D("FmTextField"), V = D("FmStepperField"), j = D("FmCheckbox"), B = D("FmTextarea"), oe = D("FmForm"), Q = D("FmIcon"), re = D("FmButton"), ne = D("FmListItem"), I = D("FmList"), M = D("FmField");
412
- return L.max !== 0 ? (v(), P("div", to, [
410
+ const u = D("FmTextField"), V = D("FmStepperField"), z = D("FmCheckbox"), B = D("FmTextarea"), oe = D("FmForm"), Q = D("FmIcon"), re = D("FmButton"), ne = D("FmListItem"), I = D("FmList"), M = D("FmField");
411
+ return L.max !== 0 ? (v(), P("div", ao, [
413
412
  d(De, {
414
413
  modelValue: x.value,
415
414
  "onUpdate:modelValue": y[12] || (y[12] = (q) => x.value = q),
@@ -453,7 +452,7 @@ const Ie = [
453
452
  label: l(c)("report.common.decimal"),
454
453
  "model-value": ((pe = t.value) == null ? void 0 : pe.decimal) ?? 2,
455
454
  "onUpdate:modelValue": y[3] || (y[3] = (Z) => {
456
- z(Z);
455
+ j(Z);
457
456
  })
458
457
  }, null, 8, ["label", "model-value"])) : N("", !0),
459
458
  (be = f.value) != null && be.isNumericType ? (v(), O(fe, {
@@ -470,7 +469,7 @@ const Ie = [
470
469
  }))
471
470
  ]
472
471
  }, null, 8, ["modelValue", "placeholder", "label", "items"])) : N("", !0),
473
- w.value ? (v(), O(j, {
472
+ w.value ? (v(), O(z, {
474
473
  key: 3,
475
474
  "model-value": t.value.fillGap ?? !1,
476
475
  label: l(c)("report.section.dimension.fillGap"),
@@ -480,7 +479,7 @@ const Ie = [
480
479
  t.value && (t.value.fillGap = a(Z));
481
480
  })
482
481
  }, null, 8, ["model-value", "label"])) : N("", !0),
483
- ((Le = f.value) == null ? void 0 : Le.type) === l(Xl).Timestamp ? (v(), O(j, {
482
+ ((Le = f.value) == null ? void 0 : Le.type) === l(Pl).Timestamp ? (v(), O(z, {
484
483
  key: 4,
485
484
  "model-value": t.value.dateComparison ?? !1,
486
485
  label: l(c)("report.section.dimension.dateComparison"),
@@ -489,13 +488,13 @@ const Ie = [
489
488
  t.value && (t.value.dateComparison = a(Z));
490
489
  })
491
490
  }, null, 8, ["model-value", "label"])) : N("", !0),
492
- d(j, {
491
+ d(z, {
493
492
  modelValue: t.value.hide,
494
493
  "onUpdate:modelValue": y[7] || (y[7] = (Z) => t.value.hide = Z),
495
494
  label: l(c)("report.section.dimension.hide"),
496
495
  value: ""
497
496
  }, null, 8, ["modelValue", "label"]),
498
- o.hasRowColumn ? (v(), O(j, {
497
+ o.hasRowColumn ? (v(), O(z, {
499
498
  key: 5,
500
499
  "model-value": t.value.moveToColumn ?? !1,
501
500
  label: l(c)("report.section.dimension.moveToColumn"),
@@ -504,7 +503,7 @@ const Ie = [
504
503
  t.value && (t.value.moveToColumn = a(Z));
505
504
  })
506
505
  }, null, 8, ["model-value", "label"])) : N("", !0),
507
- d(j, {
506
+ d(z, {
508
507
  modelValue: s.value,
509
508
  "onUpdate:modelValue": y[9] || (y[9] = (Z) => s.value = Z),
510
509
  label: l(c)("report.section.dimension.advance"),
@@ -531,8 +530,8 @@ const Ie = [
531
530
  _: 1
532
531
  }, 8, ["modelValue", "title", "primary-button-label", "secondary-button-label"]),
533
532
  b("div", null, [
534
- b("p", ao, J(h.value), 1),
535
- b("p", no, J(l(c)("report.section.dimension.description")), 1)
533
+ b("p", no, J(h.value), 1),
534
+ b("p", io, J(l(c)("report.section.dimension.description")), 1)
536
535
  ]),
537
536
  d(I, null, {
538
537
  default: Y(() => [
@@ -548,7 +547,7 @@ const Ie = [
548
547
  }, {
549
548
  default: Y(() => [
550
549
  d(Q, { name: "drag_handle" }),
551
- b("p", io, J(l(me)(l(c), l(e), q.label, "other")), 1),
550
+ b("p", so, J(l(me)(l(c), l(e), q.label, "other")), 1),
552
551
  y[14] || (y[14] = b("div", { class: "grow" }, null, -1)),
553
552
  d(re, {
554
553
  icon: "close",
@@ -582,7 +581,7 @@ const Ie = [
582
581
  }), qe = {
583
582
  value: "_metric_name"
584
583
  };
585
- function so(L, c, e) {
584
+ function ro(L, c, e) {
586
585
  switch (L) {
587
586
  case G.BarChart:
588
587
  case G.StackBarChart:
@@ -595,9 +594,9 @@ function so(L, c, e) {
595
594
  return e;
596
595
  }
597
596
  }
598
- function ro(L) {
597
+ function uo(L) {
599
598
  var i;
600
- const { rowIds: c, columnIds: e } = ze(L.widget.config);
599
+ const { rowIds: c, columnIds: e } = je(L.widget.config);
601
600
  return {
602
601
  ...L,
603
602
  widget: {
@@ -606,13 +605,13 @@ function ro(L) {
606
605
  ...L.widget.config,
607
606
  rowIds: c,
608
607
  columnIds: e,
609
- isDrillable: so(
608
+ isDrillable: ro(
610
609
  L.widget.type,
611
610
  L.widget.config.dimensions,
612
611
  L.widget.config.isDrillable
613
612
  ),
614
613
  joinDatasources: (i = L.widget.config.joinDatasources) == null ? void 0 : i.map((o) => {
615
- const { rowIds: h, columnIds: x } = ze(o);
614
+ const { rowIds: h, columnIds: x } = je(o);
616
615
  return {
617
616
  ...o,
618
617
  rowIds: h,
@@ -623,7 +622,7 @@ function ro(L) {
623
622
  }
624
623
  };
625
624
  }
626
- function ze(L) {
625
+ function je(L) {
627
626
  const c = L.dimensions.filter((x) => x.hide !== !0 && !x.moveToColumn).map((x) => Te(x)), e = L.dimensions.filter((x) => x.hide !== !0 && x.moveToColumn == !0).map((x) => Te(x)), i = L.metrics.length > 0;
628
627
  i && L.metrics.find((x) => x.moveToRow == !0) ? c.push(qe.value) : i && e.push(qe.value);
629
628
  const o = [], h = [];
@@ -636,7 +635,7 @@ function ze(L) {
636
635
  columnIds: h
637
636
  };
638
637
  }
639
- const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body-lg-600" }, co = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, po = { class: "fm-typo-en-body-lg-400 overflow-hidden text-ellipsis line-clamp-1" }, vo = /* @__PURE__ */ se({
638
+ const mo = { class: "flex flex-col my-2 gap-8" }, co = { class: "fm-typo-en-body-lg-600" }, po = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, vo = { class: "fm-typo-en-body-lg-400 overflow-hidden text-ellipsis line-clamp-1" }, fo = /* @__PURE__ */ se({
640
639
  __name: "MetricSection",
641
640
  props: /* @__PURE__ */ ve({
642
641
  options: {
@@ -688,8 +687,8 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
688
687
  })
689
688
  ) : void 0, T.value = a == null ? void 0 : a.index, f.value = !!((r = s.value) != null && r.dataFormula || (n = s.value) != null && n.displayFormula), s.value && s.value.formatter === void 0 && (h.options.find(
690
689
  (u) => {
691
- var V, j;
692
- return u.schemaName === ((V = s.value) == null ? void 0 : V.schemaName) && u.name === ((j = s.value) == null ? void 0 : j.name);
690
+ var V, z;
691
+ return u.schemaName === ((V = s.value) == null ? void 0 : V.schemaName) && u.name === ((z = s.value) == null ? void 0 : z.name);
693
692
  }
694
693
  ), a != null && a.value.timeFormatter && s.value.formatter === void 0 && (s.value.formatter = a == null ? void 0 : a.value.timeFormatter, s.value.timeFormatter = void 0)), ((y = h.config.rowIds) == null ? void 0 : y.findIndex((u) => u === qe.value)) !== -1 && s.value && (s.value.moveToRow = !0), s.value && (!h.hasXy || s.value.nullable === void 0) && (s.value.nullable = !1);
695
694
  }
@@ -727,7 +726,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
727
726
  hide: !1
728
727
  }, f.value = !1);
729
728
  }
730
- function z() {
729
+ function j() {
731
730
  const a = [...k.value.map((r) => r.value)];
732
731
  s.value && (f.value || (s.value.dataFormula = void 0, s.value.displayFormula = void 0), h.hasXy || (s.value.nullable = !1), T.value !== void 0 ? a[T.value] = s.value : a.push(s.value)), o.value = a, p.value = !1;
733
732
  }
@@ -742,16 +741,16 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
742
741
  }))
743
742
  );
744
743
  return (a, r) => {
745
- const n = D("FmTextField"), y = D("FmStepperField"), u = D("FmCheckbox"), V = D("FmTextarea"), j = D("FmForm"), B = D("FmIcon"), oe = D("FmButton"), Q = D("FmListItem"), re = D("FmList"), ne = D("FmField");
746
- return v(), P("div", uo, [
744
+ const n = D("FmTextField"), y = D("FmStepperField"), u = D("FmCheckbox"), V = D("FmTextarea"), z = D("FmForm"), B = D("FmIcon"), oe = D("FmButton"), Q = D("FmListItem"), re = D("FmList"), ne = D("FmField");
745
+ return v(), P("div", mo, [
747
746
  d(De, {
748
747
  modelValue: p.value,
749
748
  "onUpdate:modelValue": r[11] || (r[11] = (I) => p.value = I),
750
749
  title: x.value,
751
- onConfirm: z
750
+ onConfirm: j
752
751
  }, {
753
752
  content: Y(() => [
754
- d(j, {
753
+ d(z, {
755
754
  ref: "form",
756
755
  class: "flex flex-col gap-2 w-[490px]"
757
756
  }, {
@@ -852,8 +851,8 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
852
851
  _: 1
853
852
  }, 8, ["modelValue", "title"]),
854
853
  b("div", null, [
855
- b("p", mo, J(x.value), 1),
856
- b("p", co, J(l(e)("report.section.metric.description")), 1)
854
+ b("p", co, J(x.value), 1),
855
+ b("p", po, J(l(e)("report.section.metric.description")), 1)
857
856
  ]),
858
857
  d(re, null, {
859
858
  default: Y(() => [
@@ -869,7 +868,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
869
868
  }, {
870
869
  default: Y(() => [
871
870
  d(B, { name: "drag_handle" }),
872
- b("p", po, J(l(me)(l(e), l(i), I.label, "other")), 1),
871
+ b("p", vo, J(l(me)(l(e), l(i), I.label, "other")), 1),
873
872
  r[13] || (r[13] = b("div", { class: "grow" }, null, -1)),
874
873
  d(oe, {
875
874
  icon: "close",
@@ -900,7 +899,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
900
899
  ]);
901
900
  };
902
901
  }
903
- }), fo = { class: "flex flex-col my-2 gap-8" }, go = { class: "fm-typo-en-body-lg-600" }, yo = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, bo = { class: "fm-typo-en-body-lg-400 text-ellipsis overflow-hidden line-clamp-1" }, ho = /* @__PURE__ */ se({
902
+ }), go = { class: "flex flex-col my-2 gap-8" }, yo = { class: "fm-typo-en-body-lg-600" }, bo = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, ho = { class: "fm-typo-en-body-lg-400 text-ellipsis overflow-hidden line-clamp-1" }, wo = /* @__PURE__ */ se({
904
903
  __name: "SortSection",
905
904
  props: /* @__PURE__ */ ve({
906
905
  options: {
@@ -967,15 +966,15 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
967
966
  const m = `report.section.filter.${$e($)}`;
968
967
  return e(m) ? c(m) : me(c, e, $, "field");
969
968
  }
970
- const z = S(
969
+ const j = S(
971
970
  () => o.options.map(($) => ({
972
971
  label: $.labels.join(" "),
973
972
  value: $
974
973
  }))
975
974
  );
976
975
  return ($, m) => {
977
- const a = D("FmCheckbox"), r = D("FmTextarea"), n = D("FmForm"), y = D("FmIcon"), u = D("FmButton"), V = D("FmListItem"), j = D("FmList"), B = D("FmField");
978
- return v(), P("div", fo, [
976
+ const a = D("FmCheckbox"), r = D("FmTextarea"), n = D("FmForm"), y = D("FmIcon"), u = D("FmButton"), V = D("FmListItem"), z = D("FmList"), B = D("FmField");
977
+ return v(), P("div", go, [
979
978
  d(De, {
980
979
  modelValue: x.value,
981
980
  "onUpdate:modelValue": m[6] || (m[6] = (oe) => x.value = oe),
@@ -992,7 +991,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
992
991
  return [
993
992
  d(fe, {
994
993
  "model-value": f.value,
995
- items: z.value,
994
+ items: j.value,
996
995
  placeholder: h.value,
997
996
  label: h.value,
998
997
  "onUpdate:modelValue": m[0] || (m[0] = (I) => w(I))
@@ -1051,10 +1050,10 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1051
1050
  _: 1
1052
1051
  }, 8, ["modelValue", "title"]),
1053
1052
  b("div", null, [
1054
- b("p", go, J(h.value), 1),
1055
- b("p", yo, J(l(c)("report.section.sort.description")), 1)
1053
+ b("p", yo, J(h.value), 1),
1054
+ b("p", bo, J(l(c)("report.section.sort.description")), 1)
1056
1055
  ]),
1057
- d(j, null, {
1056
+ d(z, null, {
1058
1057
  default: Y(() => [
1059
1058
  d(l(Re), {
1060
1059
  list: i.value,
@@ -1068,7 +1067,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1068
1067
  }, {
1069
1068
  default: Y(() => [
1070
1069
  d(y, { name: "drag_handle" }),
1071
- b("p", bo, J(p.value[Q].label), 1),
1070
+ b("p", ho, J(p.value[Q].label), 1),
1072
1071
  m[8] || (m[8] = b("div", { class: "grow" }, null, -1)),
1073
1072
  d(u, {
1074
1073
  icon: "close",
@@ -1099,7 +1098,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1099
1098
  ]);
1100
1099
  };
1101
1100
  }
1102
- }), wo = { class: "fm-typo-en-body-lg-600" }, Co = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, xo = /* @__PURE__ */ se({
1101
+ }), Co = { class: "fm-typo-en-body-lg-600" }, xo = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, Vo = /* @__PURE__ */ se({
1103
1102
  __name: "LimitSection",
1104
1103
  props: {
1105
1104
  modelValue: { required: !0, default: null },
@@ -1107,15 +1106,15 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1107
1106
  },
1108
1107
  emits: ["update:modelValue"],
1109
1108
  setup(L) {
1110
- const { t: c } = ce(), e = ge(L, "modelValue"), i = je((o) => {
1109
+ const { t: c } = ce(), e = ge(L, "modelValue"), i = ze((o) => {
1111
1110
  o !== "" ? e.value = o : e.value = null;
1112
1111
  }, 1e3);
1113
1112
  return (o, h) => {
1114
1113
  const x = D("FmTextField");
1115
1114
  return v(), P(de, null, [
1116
1115
  b("div", null, [
1117
- b("p", wo, J(l(c)("report.section.limit.title")), 1),
1118
- b("p", Co, J(l(c)("report.section.limit.description")), 1)
1116
+ b("p", Co, J(l(c)("report.section.limit.title")), 1),
1117
+ b("p", xo, J(l(c)("report.section.limit.description")), 1)
1119
1118
  ]),
1120
1119
  d(x, {
1121
1120
  "model-value": e.value,
@@ -1126,7 +1125,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1126
1125
  ], 64);
1127
1126
  };
1128
1127
  }
1129
- }), Vo = { class: "flex flex-col my-2 gap-8" }, Fo = { class: "fm-typo-en-body-lg-600" }, ko = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, _o = { class: "fm-typo-en-body-lg-400 text-ellipsis overflow-hidden line-clamp-1" }, So = /* @__PURE__ */ se({
1128
+ }), Fo = { class: "flex flex-col my-2 gap-8" }, ko = { class: "fm-typo-en-body-lg-600" }, _o = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-400" }, So = { class: "fm-typo-en-body-lg-400 text-ellipsis overflow-hidden line-clamp-1" }, To = /* @__PURE__ */ se({
1130
1129
  __name: "ConditionSection",
1131
1130
  props: /* @__PURE__ */ ve({
1132
1131
  joinFieldOptions: {
@@ -1152,8 +1151,8 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1152
1151
  var y, u;
1153
1152
  const r = o.joinFieldOptions.find(
1154
1153
  (V) => {
1155
- var j, B;
1156
- return V.schemaName === ((j = m.joinDimension) == null ? void 0 : j.schemaName) && V.name === ((B = m.joinDimension) == null ? void 0 : B.name);
1154
+ var z, B;
1155
+ return V.schemaName === ((z = m.joinDimension) == null ? void 0 : z.schemaName) && V.name === ((B = m.joinDimension) == null ? void 0 : B.name);
1157
1156
  }
1158
1157
  ), n = (r == null ? void 0 : r.labels) || [
1159
1158
  (y = m.joinDimension) == null ? void 0 : y.schemaName,
@@ -1224,7 +1223,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1224
1223
  function C(m) {
1225
1224
  if (t.value)
1226
1225
  switch (m) {
1227
- case El.Between:
1226
+ case Xl.Between:
1228
1227
  t.value = {
1229
1228
  ...t.value,
1230
1229
  operator: m,
@@ -1240,7 +1239,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1240
1239
  break;
1241
1240
  }
1242
1241
  }
1243
- function z() {
1242
+ function j() {
1244
1243
  const m = [...p.value.map((a) => a.value)];
1245
1244
  t.value && (t.value.mainDimensions = t.value.mainDimensions.filter(
1246
1245
  (a) => a !== "" && a != null
@@ -1251,13 +1250,13 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1251
1250
  a.splice(m, 1), i.value = a;
1252
1251
  }
1253
1252
  return (m, a) => {
1254
- const r = D("FmMenuDivider"), n = D("FmForm"), y = D("FmIcon"), u = D("FmButton"), V = D("FmListItem"), j = D("FmList"), B = D("FmField");
1255
- return v(), P("div", Vo, [
1253
+ const r = D("FmMenuDivider"), n = D("FmForm"), y = D("FmIcon"), u = D("FmButton"), V = D("FmListItem"), z = D("FmList"), B = D("FmField");
1254
+ return v(), P("div", Fo, [
1256
1255
  d(De, {
1257
1256
  modelValue: x.value,
1258
1257
  "onUpdate:modelValue": a[2] || (a[2] = (oe) => x.value = oe),
1259
1258
  title: h.value,
1260
- onConfirm: z
1259
+ onConfirm: j
1261
1260
  }, {
1262
1261
  content: Y(() => [
1263
1262
  d(n, {
@@ -1330,10 +1329,10 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1330
1329
  _: 1
1331
1330
  }, 8, ["modelValue", "title"]),
1332
1331
  b("div", null, [
1333
- b("p", Fo, J(h.value), 1),
1334
- b("p", ko, J(l(c)("report.section.condition.description")), 1)
1332
+ b("p", ko, J(h.value), 1),
1333
+ b("p", _o, J(l(c)("report.section.condition.description")), 1)
1335
1334
  ]),
1336
- d(j, { class: "flex flex-col gap-2" }, {
1335
+ d(z, { class: "flex flex-col gap-2" }, {
1337
1336
  default: Y(() => [
1338
1337
  d(l(Re), {
1339
1338
  list: i.value,
@@ -1343,14 +1342,17 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1343
1342
  },
1344
1343
  class: "flex flex-col gap-2 w-full"
1345
1344
  }, {
1346
- item: Y(({ element: oe, index: Q }) => [
1345
+ item: Y(({
1346
+ element: oe,
1347
+ index: Q
1348
+ }) => [
1347
1349
  d(V, {
1348
1350
  class: "!cursor-grab border rounded-md border-neutral-300 h-[40px] !p-[8px]",
1349
1351
  onClick: ye((re) => T(p.value[Q]), ["stop"])
1350
1352
  }, {
1351
1353
  default: Y(() => [
1352
1354
  d(y, { name: "drag_handle" }),
1353
- b("p", _o, J(p.value[Q].label), 1),
1355
+ b("p", So, J(p.value[Q].label), 1),
1354
1356
  a[4] || (a[4] = b("div", { class: "grow" }, null, -1)),
1355
1357
  d(u, {
1356
1358
  icon: "close",
@@ -1414,13 +1416,13 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1414
1416
  he(
1415
1417
  [() => o.value.dimensions, () => o.value.metrics],
1416
1418
  () => {
1417
- const { rowIds: r, columnIds: n } = ze(o.value);
1419
+ const { rowIds: r, columnIds: n } = je(o.value);
1418
1420
  o.value.rowIds = r, o.value.columnIds = n;
1419
1421
  },
1420
1422
  { deep: !0 }
1421
1423
  );
1422
1424
  const h = L, x = c, { schemas: p } = Se(ml());
1423
- Bl(() => {
1425
+ Dl(() => {
1424
1426
  e(), i();
1425
1427
  });
1426
1428
  const { t: k, te: T, locale: t } = ce(), s = S(() => !h.mainDatasourceConfig), f = S(
@@ -1464,7 +1466,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1464
1466
  }))
1465
1467
  ]), r;
1466
1468
  }, [])
1467
- ), z = S(() => [
1469
+ ), j = S(() => [
1468
1470
  { label: k("report.section.datasource.none"), value: null },
1469
1471
  { label: k("report.section.datasource.grandTotal"), value: 0 },
1470
1472
  ...[...w.value].slice(0, w.value.length - 1).map((r, n) => ({
@@ -1493,7 +1495,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1493
1495
  }))
1494
1496
  ]);
1495
1497
  return (r, n) => {
1496
- const y = D("FmButton"), u = D("FmSwitch"), V = D("FmSelect"), j = D("FmTextField");
1498
+ const y = D("FmButton"), u = D("FmSwitch"), V = D("FmSelect"), z = D("FmTextField");
1497
1499
  return v(), O(We, null, {
1498
1500
  header: Y(() => [
1499
1501
  b("p", null, J(h.label), 1),
@@ -1507,7 +1509,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1507
1509
  })) : N("", !0)
1508
1510
  ]),
1509
1511
  content: Y(() => [
1510
- d(oo, {
1512
+ d(to, {
1511
1513
  modelValue: o.value,
1512
1514
  "onUpdate:modelValue": n[1] || (n[1] = (B) => o.value = B),
1513
1515
  label: l(k)("report.section.schema.title")
@@ -1561,7 +1563,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1561
1563
  modelValue: o.value.rollup,
1562
1564
  "onUpdate:modelValue": n[8] || (n[8] = (B) => o.value.rollup = B),
1563
1565
  label: l(k)("report.section.datasource.subTotal"),
1564
- items: z.value
1566
+ items: j.value
1565
1567
  }, null, 8, ["modelValue", "label", "items"])) : N("", !0),
1566
1568
  h.config.showRollupPosition && s.value ? (v(), O(V, {
1567
1569
  key: `rollup-position-${l(t)}`,
@@ -1570,7 +1572,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1570
1572
  label: l(k)("report.section.datasource.position.showPosition"),
1571
1573
  items: $.value
1572
1574
  }, null, 8, ["modelValue", "label", "items"])) : N("", !0),
1573
- h.config.type === l(G).Table && s.value ? (v(), O(j, {
1575
+ h.config.type === l(G).Table && s.value ? (v(), O(z, {
1574
1576
  key: 5,
1575
1577
  modelValue: o.value.grandTotalLabel,
1576
1578
  "onUpdate:modelValue": n[10] || (n[10] = (B) => o.value.grandTotalLabel = B),
@@ -1611,7 +1613,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1611
1613
  o.value.sparklineDimension = B[0];
1612
1614
  })
1613
1615
  }, null, 8, ["model-value", "options"])) : N("", !0),
1614
- d(vo, {
1616
+ d(fo, {
1615
1617
  modelValue: o.value.metrics,
1616
1618
  "onUpdate:modelValue": n[15] || (n[15] = (B) => o.value.metrics = B),
1617
1619
  options: C.value,
@@ -1623,21 +1625,21 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1623
1625
  o.value = B;
1624
1626
  })
1625
1627
  }, null, 8, ["modelValue", "options", "max", "config", "has-row-column", "has-xy"]),
1626
- d(jl, {
1628
+ d(Ol, {
1627
1629
  modelValue: o.value.filters,
1628
1630
  "onUpdate:modelValue": n[17] || (n[17] = (B) => o.value.filters = B),
1629
1631
  options: C.value
1630
1632
  }, null, 8, ["modelValue", "options"]),
1631
- d(ho, {
1633
+ d(wo, {
1632
1634
  modelValue: o.value.sorts,
1633
1635
  "onUpdate:modelValue": n[18] || (n[18] = (B) => o.value.sorts = B),
1634
1636
  options: C.value
1635
1637
  }, null, 8, ["modelValue", "options"]),
1636
- d(xo, {
1638
+ d(Vo, {
1637
1639
  modelValue: o.value.limit,
1638
1640
  "onUpdate:modelValue": n[19] || (n[19] = (B) => o.value.limit = B)
1639
1641
  }, null, 8, ["modelValue"]),
1640
- o.value.conditions ? (v(), O(So, {
1642
+ o.value.conditions ? (v(), O(To, {
1641
1643
  key: 10,
1642
1644
  modelValue: o.value.conditions,
1643
1645
  "onUpdate:modelValue": n[20] || (n[20] = (B) => o.value.conditions = B),
@@ -1649,7 +1651,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1649
1651
  });
1650
1652
  };
1651
1653
  }
1652
- }), To = { class: "fm-typo-en-title-sm-600" }, He = /* @__PURE__ */ se({
1654
+ }), $o = { class: "fm-typo-en-title-sm-600" }, He = /* @__PURE__ */ se({
1653
1655
  __name: "TileEditorTabHeader",
1654
1656
  props: /* @__PURE__ */ ve({
1655
1657
  icon: {
@@ -1669,7 +1671,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1669
1671
  class: "px-6 py-16 flex items-center gap-2 bg-fm-color-neutral-white border cursor-pointer",
1670
1672
  onClick: h[0] || (h[0] = (p) => e.value = !e.value)
1671
1673
  }, [
1672
- b("p", To, J(l(c)("report.tile.setting")), 1),
1674
+ b("p", $o, J(l(c)("report.tile.setting")), 1),
1673
1675
  h[1] || (h[1] = b("div", { class: "grow" }, null, -1)),
1674
1676
  d(x, {
1675
1677
  name: i.icon
@@ -1677,7 +1679,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1677
1679
  ]);
1678
1680
  };
1679
1681
  }
1680
- }), $o = /* @__PURE__ */ se({
1682
+ }), Uo = /* @__PURE__ */ se({
1681
1683
  __name: "TileEditorTabDesktop",
1682
1684
  props: {
1683
1685
  modelValue: { required: !0, default: !1 },
@@ -1695,7 +1697,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1695
1697
  rl(e.$slots, "default")
1696
1698
  ], 64));
1697
1699
  }
1698
- }), Uo = { class: "fixed bottom-0 w-full" }, Do = /* @__PURE__ */ se({
1700
+ }), Do = { class: "fixed bottom-0 w-full" }, Bo = /* @__PURE__ */ se({
1699
1701
  __name: "TileEditorTabMobile",
1700
1702
  props: {
1701
1703
  modelValue: { required: !0, default: !1 },
@@ -1706,7 +1708,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1706
1708
  const c = ge(L, "modelValue");
1707
1709
  return (e, i) => {
1708
1710
  const o = D("FmTopSheet");
1709
- return v(), P("div", Uo, [
1711
+ return v(), P("div", Do, [
1710
1712
  d(He, {
1711
1713
  modelValue: c.value,
1712
1714
  "onUpdate:modelValue": i[0] || (i[0] = (h) => c.value = h),
@@ -1730,7 +1732,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1730
1732
  ]);
1731
1733
  };
1732
1734
  }
1733
- }), Bo = { class: "flex gap-16" }, Lo = { class: "flex flex-col gap-8 max-w-[120px]" }, Ao = { class: "fm-typo-en-body-lg-600" }, Mo = { class: "flex flex-col gap-16" }, No = { class: "fm-typo-en-body-lg-600" }, Oo = { class: "flex flex-row gap-8" }, jo = /* @__PURE__ */ se({
1735
+ }), Lo = { class: "flex gap-16" }, Ao = { class: "flex flex-col gap-8 max-w-[120px]" }, Mo = { class: "fm-typo-en-body-lg-600" }, No = { class: "flex flex-col gap-16" }, Oo = { class: "fm-typo-en-body-lg-600" }, zo = { class: "flex flex-row gap-8" }, jo = /* @__PURE__ */ se({
1734
1736
  __name: "TitleSection",
1735
1737
  props: {
1736
1738
  model: {}
@@ -1757,9 +1759,9 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1757
1759
  const f = D("FmStepperField"), w = D("FmButton"), A = D("FmSwitch");
1758
1760
  return v(), P(de, null, [
1759
1761
  b("div", null, [
1760
- b("div", Bo, [
1761
- b("div", Lo, [
1762
- b("p", Ao, J(l(o)("report.section.datasource.title.titleFontSize")), 1),
1762
+ b("div", Lo, [
1763
+ b("div", Ao, [
1764
+ b("p", Mo, J(l(o)("report.section.datasource.title.titleFontSize")), 1),
1763
1765
  d(f, {
1764
1766
  modelValue: x.value,
1765
1767
  "onUpdate:modelValue": s[0] || (s[0] = (g) => x.value = g),
@@ -1768,9 +1770,9 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1768
1770
  type: "number"
1769
1771
  }, null, 8, ["modelValue"])
1770
1772
  ]),
1771
- b("div", Mo, [
1772
- b("p", No, J(l(o)("report.section.datasource.title.textStyleFormat")), 1),
1773
- b("div", Oo, [
1773
+ b("div", No, [
1774
+ b("p", Oo, J(l(o)("report.section.datasource.title.textStyleFormat")), 1),
1775
+ b("div", zo, [
1774
1776
  d(w, {
1775
1777
  "append-icon": "format_bold",
1776
1778
  "model-value": t.model.titleBold ?? !1,
@@ -1809,10 +1811,10 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1809
1811
  ], 64);
1810
1812
  };
1811
1813
  }
1812
- }), zo = { class: "flex flex-col gap-8" }, Ro = { class: "text-fm-color-typo-primary fm-typo-en-body-lg-600" }, Io = { class: "flex flex-row gap-2" }, Po = {
1814
+ }), Ro = { class: "flex flex-col gap-8" }, Io = { class: "text-fm-color-typo-primary fm-typo-en-body-lg-600" }, Po = { class: "flex flex-row gap-2" }, Xo = {
1813
1815
  key: 0,
1814
1816
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
1815
- }, Xo = /* @__PURE__ */ se({
1817
+ }, Eo = /* @__PURE__ */ se({
1816
1818
  __name: "TableResizeSection",
1817
1819
  props: {
1818
1820
  layout: {}
@@ -1836,12 +1838,12 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1836
1838
  if (w) {
1837
1839
  w.classList.remove("table-fixed"), w.classList.add("table-auto"), w.style.width = "";
1838
1840
  const A = w.querySelectorAll("th"), g = w.querySelectorAll("td"), C = w.querySelectorAll("tr");
1839
- A.forEach((z) => {
1840
- z.style.width = "";
1841
- }), g.forEach((z) => {
1842
- z.style.width = "";
1843
- }), C.forEach((z) => {
1844
- z.style.height = "";
1841
+ A.forEach((j) => {
1842
+ j.style.width = "";
1843
+ }), g.forEach((j) => {
1844
+ j.style.width = "";
1845
+ }), C.forEach((j) => {
1846
+ j.style.height = "";
1845
1847
  });
1846
1848
  }
1847
1849
  }
@@ -1850,9 +1852,9 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1850
1852
  ((w = i.layout) == null ? void 0 : w.rowHeight) !== void 0 && (p.value = i.layout.rowHeight), (A = i.layout) != null && A.colWidths && (x.value = [...i.layout.colWidths]);
1851
1853
  }), (w, A) => {
1852
1854
  const g = D("FmButton");
1853
- return v(), P("div", zo, [
1854
- b("p", Ro, J(l(e)("report.section.datasource.tableLayout")), 1),
1855
- b("div", Io, [
1855
+ return v(), P("div", Ro, [
1856
+ b("p", Io, J(l(e)("report.section.datasource.tableLayout")), 1),
1857
+ b("div", Po, [
1856
1858
  l(h) ? N("", !0) : (v(), O(g, {
1857
1859
  key: 0,
1858
1860
  label: l(e)("report.section.datasource.resizeTable"),
@@ -1880,11 +1882,11 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1880
1882
  onClick: f
1881
1883
  }, null, 8, ["label"])
1882
1884
  ]),
1883
- l(h) ? (v(), P("p", Po, J(l(e)("report.section.datasource.resizeTableHelper")), 1)) : N("", !0)
1885
+ l(h) ? (v(), P("p", Xo, J(l(e)("report.section.datasource.resizeTableHelper")), 1)) : N("", !0)
1884
1886
  ]);
1885
1887
  };
1886
1888
  }
1887
- }), Eo = { class: "flex gap-16 justify-center items-center" }, Wo = { class: "fm-typo-en-title-sm-600" }, qo = { class: "fm-typo-en-body-lg-600" }, Ho = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, Yo = { class: "h-[40x]" }, sl = "YYYY-MM-DD", bl = /* @__PURE__ */ se({
1889
+ }), Wo = { class: "flex gap-16 justify-center items-center" }, qo = { class: "fm-typo-en-title-sm-600" }, Ho = { class: "fm-typo-en-body-lg-600" }, Yo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, Go = { class: "h-[40x]" }, sl = "YYYY-MM-DD", yl = /* @__PURE__ */ se({
1888
1890
  __name: "TileEditorTab",
1889
1891
  props: /* @__PURE__ */ ve({
1890
1892
  hideConfiguration: {
@@ -1900,7 +1902,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1900
1902
  emits: /* @__PURE__ */ ve(["hideConfiguration"], ["update:modelValue"]),
1901
1903
  setup(L, { emit: c }) {
1902
1904
  var n, y;
1903
- const e = gl(), { dateRange: i, timezone: o } = Se(e), h = {
1905
+ const e = Kl(), { dateRange: i, timezone: o } = Se(e), h = {
1904
1906
  startDate: i.value.startDate,
1905
1907
  endDate: i.value.endDate
1906
1908
  }, x = ee({
@@ -1923,11 +1925,11 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1923
1925
  });
1924
1926
  const p = ge(L, "modelValue"), { breakpoints: k } = pl(), T = L, { promptMessage: t } = cl(), s = c, { t: f, locale: w } = ce();
1925
1927
  function A(u) {
1926
- p.value = ro(u);
1928
+ p.value = uo(u);
1927
1929
  }
1928
1930
  function g() {
1929
1931
  const u = [...p.value.widget.config.joinDatasources || []];
1930
- u.push({ ...Rl(p.value.widget.type), conditions: [] }), A({
1932
+ u.push({ ...jl(p.value.widget.type), conditions: [] }), A({
1931
1933
  ...p.value,
1932
1934
  widget: {
1933
1935
  ...p.value.widget,
@@ -1943,45 +1945,45 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1943
1945
  title: f("report.tile.datasource.remove"),
1944
1946
  message: f("report.tile.datasource.confirmRemove", { index: u + 1 })
1945
1947
  })) return;
1946
- const j = [...p.value.widget.config.joinDatasources || []];
1947
- j.splice(u, 1), A({
1948
+ const z = [...p.value.widget.config.joinDatasources || []];
1949
+ z.splice(u, 1), A({
1948
1950
  ...p.value,
1949
1951
  widget: {
1950
1952
  ...p.value.widget,
1951
1953
  config: {
1952
1954
  ...p.value.widget.config,
1953
- joinDatasources: j
1955
+ joinDatasources: z
1954
1956
  }
1955
1957
  }
1956
1958
  });
1957
1959
  }
1958
- const z = (u, V) => {
1959
- let j = 1, B = 1;
1960
+ const j = (u, V) => {
1961
+ let z = 1, B = 1;
1960
1962
  switch (u) {
1961
1963
  case G.Scorecard:
1962
- j = 1, B = 2;
1964
+ z = 1, B = 2;
1963
1965
  break;
1964
1966
  case G.BarChart:
1965
1967
  case G.StackBarChart:
1966
1968
  case G.ClusteredStackBarChart:
1967
1969
  case G.LineChart:
1968
1970
  case G.StackLineChart:
1969
- j = 4, B = 6;
1971
+ z = 4, B = 6;
1970
1972
  break;
1971
1973
  case G.Table:
1972
- j = 4, B = 12;
1974
+ z = 4, B = 12;
1973
1975
  break;
1974
1976
  case G.Circular:
1975
- j = 4, B = 4;
1977
+ z = 4, B = 4;
1976
1978
  break;
1977
1979
  case G.Spacer:
1978
- j = 0, B = 12;
1980
+ z = 0, B = 12;
1979
1981
  break;
1980
1982
  }
1981
1983
  return {
1982
1984
  id: V.id,
1983
1985
  size: {
1984
- height: j,
1986
+ height: z,
1985
1987
  width: B
1986
1988
  },
1987
1989
  widget: {
@@ -1991,7 +1993,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
1991
1993
  };
1992
1994
  }, $ = S(
1993
1995
  () => Ie.find((u) => u.type === p.value.widget.type)
1994
- ), m = S(() => p.value.widget.config.joinDatasources), a = je((u) => {
1996
+ ), m = S(() => p.value.widget.config.joinDatasources), a = ze((u) => {
1995
1997
  p.value.widget.title = u;
1996
1998
  }, 500), r = S({
1997
1999
  get: () => ({
@@ -2013,8 +2015,8 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2013
2015
  u < 1 && (p.value.size.width = 1), u > 12 && (p.value.size.width = 12);
2014
2016
  }
2015
2017
  ), (u, V) => {
2016
- const j = D("FmCircularProgress"), B = D("FmSimpleDateRangePicker"), oe = D("FmTextField"), Q = D("FmTextarea"), re = D("FmStepperField"), ne = D("FmButton"), I = D("FmForm");
2017
- return v(), O(dl(l(k).lg || l(k).md ? $o : Do), {
2018
+ const z = D("FmCircularProgress"), B = D("FmSimpleDateRangePicker"), oe = D("FmTextField"), Q = D("FmTextarea"), re = D("FmStepperField"), ne = D("FmButton"), I = D("FmForm");
2019
+ return v(), O(dl(l(k).lg || l(k).md ? Uo : Bo), {
2018
2020
  "model-value": T.hideConfiguration,
2019
2021
  "onUpdate:modelValue": V[9] || (V[9] = (M) => s("hideConfiguration", M))
2020
2022
  }, {
@@ -2025,7 +2027,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2025
2027
  class: "px-6 py-16 flex flex-col gap-24 overflow-y-auto overflow-x-hidden"
2026
2028
  }, {
2027
2029
  default: Y(() => [
2028
- b("div", Eo, [
2030
+ b("div", Wo, [
2029
2031
  (v(), O(B, {
2030
2032
  key: `date-picker-${l(w)}`,
2031
2033
  modelValue: x.value,
@@ -2034,7 +2036,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2034
2036
  ]),
2035
2037
  d(We, null, {
2036
2038
  header: Y(() => [
2037
- b("p", Wo, J(l(f)("report.tile.widget.details")), 1),
2039
+ b("p", qo, J(l(f)("report.tile.widget.details")), 1),
2038
2040
  V[10] || (V[10] = b("div", { class: "grow" }, null, -1))
2039
2041
  ]),
2040
2042
  content: Y(() => [
@@ -2052,8 +2054,8 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2052
2054
  "helper-text": l(f)("report.tile.widget.descriptionHelper")
2053
2055
  }, {
2054
2056
  label: Y(() => [
2055
- b("p", qo, J(l(f)("report.tile.widget.widgetDescription")), 1),
2056
- b("p", Ho, " (" + J(l(f)("report.tile.widget.optional")) + ") ", 1)
2057
+ b("p", Ho, J(l(f)("report.tile.widget.widgetDescription")), 1),
2058
+ b("p", Yo, " (" + J(l(f)("report.tile.widget.optional")) + ") ", 1)
2057
2059
  ]),
2058
2060
  _: 1
2059
2061
  }, 8, ["modelValue", "disabled", "placeholder", "helper-text"]),
@@ -2080,7 +2082,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2080
2082
  disabled: p.value.widget.type === l(G).Scorecard
2081
2083
  }, null, 8, ["modelValue", "label", "disabled"])
2082
2084
  ], 2),
2083
- p.value.widget.type === l(G).Table ? (v(), O(Xo, {
2085
+ p.value.widget.type === l(G).Table ? (v(), O(Eo, {
2084
2086
  key: 0,
2085
2087
  layout: r.value,
2086
2088
  "onUpdate:layout": V[5] || (V[5] = (M) => r.value = M)
@@ -2100,7 +2102,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2100
2102
  class: "grid grid-cols-1 gap-2",
2101
2103
  "child-class": "flex flex-row p-[8px] gap-2",
2102
2104
  "exclude-widge-type": [l(G).Spacer],
2103
- "onUpdate:modelValue": V[6] || (V[6] = (M) => p.value = z(M, p.value))
2105
+ "onUpdate:modelValue": V[6] || (V[6] = (M) => p.value = j(M, p.value))
2104
2106
  }, null, 8, ["model-value", "exclude-widge-type"])
2105
2107
  ]),
2106
2108
  _: 1
@@ -2122,7 +2124,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2122
2124
  onClickClose: (te) => C(q)
2123
2125
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "config", "main-datasource-config", "onClickClose"])
2124
2126
  ]))), 128)) : N("", !0),
2125
- b("div", Yo, [
2127
+ b("div", Go, [
2126
2128
  d(ne, {
2127
2129
  label: l(f)("report.tile.datasource.joinButton"),
2128
2130
  variant: "secondary",
@@ -2136,13 +2138,13 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2136
2138
  ])
2137
2139
  ]),
2138
2140
  _: 1
2139
- }, 512)) : (v(), O(j, { key: 0 }))
2141
+ }, 512)) : (v(), O(z, { key: 0 }))
2140
2142
  ]),
2141
2143
  _: 1
2142
2144
  }, 8, ["model-value"]);
2143
2145
  };
2144
2146
  }
2145
- }), Go = { class: "flex flex-col gap-8" }, Jo = { class: "pl-32 flex flex-col gap-8" }, Ko = { class: "fm-typo-en-body-lg-600" }, Qo = { class: "flex flex-row gap-8" }, Zo = { class: "fm-typo-en-body-lg-600" }, et = { class: "flex flex-row gap-8" }, lt = /* @__PURE__ */ se({
2147
+ }), Jo = { class: "flex flex-col gap-8" }, Ko = { class: "pl-32 flex flex-col gap-8" }, Qo = { class: "fm-typo-en-body-lg-600" }, Zo = { class: "flex flex-row gap-8" }, et = { class: "fm-typo-en-body-lg-600" }, lt = { class: "flex flex-row gap-8" }, ot = /* @__PURE__ */ se({
2146
2148
  __name: "LabelSection",
2147
2149
  props: {
2148
2150
  model: {}
@@ -2187,8 +2189,8 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2187
2189
  { icon: "format_align_right", value: Ne.end, tooltip: "anchorEnd" }
2188
2190
  ];
2189
2191
  return (w, A) => {
2190
- const g = D("FmCheckbox"), C = D("FmButton"), z = D("FmTooltip"), $ = D("FmTextField"), m = D("FmStepperField");
2191
- return v(), P("div", Go, [
2192
+ const g = D("FmCheckbox"), C = D("FmButton"), j = D("FmTooltip"), $ = D("FmTextField"), m = D("FmStepperField");
2193
+ return v(), P("div", Jo, [
2192
2194
  d(g, {
2193
2195
  modelValue: h.value,
2194
2196
  "onUpdate:modelValue": A[0] || (A[0] = (a) => h.value = a),
@@ -2197,10 +2199,10 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2197
2199
  "label-placement": "right",
2198
2200
  class: "fm-typo-en-body-lg-400"
2199
2201
  }, null, 8, ["modelValue", "label"]),
2200
- we(b("div", Jo, [
2201
- b("p", Ko, J(l(o)("report.section.datasource.alignment.textAlignment")), 1),
2202
- b("div", Qo, [
2203
- (v(), P(de, null, xe(s, ({ icon: a, value: r, tooltip: n }) => d(z, {
2202
+ we(b("div", Ko, [
2203
+ b("p", Qo, J(l(o)("report.section.datasource.alignment.textAlignment")), 1),
2204
+ b("div", Zo, [
2205
+ (v(), P(de, null, xe(s, ({ icon: a, value: r, tooltip: n }) => d(j, {
2204
2206
  key: r,
2205
2207
  variant: "plain",
2206
2208
  placement: "top",
@@ -2220,9 +2222,9 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2220
2222
  _: 2
2221
2223
  }, 1032, ["content"])), 64))
2222
2224
  ]),
2223
- b("p", Zo, J(l(o)("report.section.datasource.alignment.anchor")), 1),
2224
- b("div", et, [
2225
- (v(), P(de, null, xe(f, ({ icon: a, value: r, tooltip: n }) => d(z, {
2225
+ b("p", et, J(l(o)("report.section.datasource.alignment.anchor")), 1),
2226
+ b("div", lt, [
2227
+ (v(), P(de, null, xe(f, ({ icon: a, value: r, tooltip: n }) => d(j, {
2226
2228
  key: r,
2227
2229
  variant: "plain",
2228
2230
  placement: "top",
@@ -2270,7 +2272,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2270
2272
  ]);
2271
2273
  };
2272
2274
  }
2273
- }), ot = { class: "flex flex-col gap-8" }, tt = { class: "pl-32 flex flex-col gap-8" }, at = { class: "pl-32 flex flex-col gap-8" }, nt = { class: "pl-32 flex flex-col gap-8" }, it = { class: "pl-32 flex flex-col gap-8" }, st = { class: "pl-32 flex flex-col gap-8" }, rt = { class: "pl-32 flex flex-col gap-8" }, ut = /* @__PURE__ */ se({
2275
+ }), tt = { class: "flex flex-col gap-8" }, at = { class: "pl-32 flex flex-col gap-8" }, nt = { class: "pl-32 flex flex-col gap-8" }, it = { class: "pl-32 flex flex-col gap-8" }, st = { class: "pl-32 flex flex-col gap-8" }, rt = { class: "pl-32 flex flex-col gap-8" }, ut = { class: "pl-32 flex flex-col gap-8" }, dt = /* @__PURE__ */ se({
2274
2276
  __name: "XySection",
2275
2277
  props: {
2276
2278
  model: {}
@@ -2317,40 +2319,40 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2317
2319
  set: (g) => {
2318
2320
  i("update:model", { ...e.model, showYTitle: g });
2319
2321
  }
2320
- }), w = je((g) => {
2322
+ }), w = ze((g) => {
2321
2323
  i("update:model", { ...e.model, xTitle: g });
2322
- }, 500), A = je((g) => {
2324
+ }, 500), A = ze((g) => {
2323
2325
  i("update:model", { ...e.model, yTitle: g });
2324
2326
  }, 500);
2325
2327
  return Ye(() => {
2326
- var g, C, z, $;
2327
- !e.model.xTitle && ((C = (g = e.model.metrics) == null ? void 0 : g[0]) != null && C.label) && w(e.model.metrics[0].label), !e.model.yTitle && (($ = (z = e.model.dimensions) == null ? void 0 : z[0]) != null && $.label) && A(e.model.dimensions[0].label);
2328
+ var g, C, j, $;
2329
+ !e.model.xTitle && ((C = (g = e.model.metrics) == null ? void 0 : g[0]) != null && C.label) && w(e.model.metrics[0].label), !e.model.yTitle && (($ = (j = e.model.dimensions) == null ? void 0 : j[0]) != null && $.label) && A(e.model.dimensions[0].label);
2328
2330
  }), (g, C) => {
2329
- const z = D("FmCheckbox"), $ = D("FmStepperField"), m = D("FmTextField");
2330
- return v(), P("div", ot, [
2331
- d(z, {
2331
+ const j = D("FmCheckbox"), $ = D("FmStepperField"), m = D("FmTextField");
2332
+ return v(), P("div", tt, [
2333
+ d(j, {
2332
2334
  modelValue: h.value,
2333
2335
  "onUpdate:modelValue": C[0] || (C[0] = (a) => h.value = a),
2334
2336
  label: l(o)("report.section.datasource.axis.showX"),
2335
2337
  "label-placement": "right",
2336
2338
  value: !0
2337
2339
  }, null, 8, ["modelValue", "label"]),
2338
- we(b("div", tt, [
2339
- d(z, {
2340
+ we(b("div", at, [
2341
+ d(j, {
2340
2342
  modelValue: x.value,
2341
2343
  "onUpdate:modelValue": C[1] || (C[1] = (a) => x.value = a),
2342
2344
  label: l(o)("report.section.datasource.axis.showGrid"),
2343
2345
  "label-placement": "right",
2344
2346
  value: !1
2345
2347
  }, null, 8, ["modelValue", "label"]),
2346
- d(z, {
2348
+ d(j, {
2347
2349
  modelValue: p.value,
2348
2350
  "onUpdate:modelValue": C[2] || (C[2] = (a) => p.value = a),
2349
2351
  label: l(o)("report.section.datasource.axis.showTick"),
2350
2352
  "label-placement": "right",
2351
2353
  value: !0
2352
2354
  }, null, 8, ["modelValue", "label"]),
2353
- we(b("div", at, [
2355
+ we(b("div", nt, [
2354
2356
  d($, {
2355
2357
  label: l(o)("report.section.datasource.fontSize"),
2356
2358
  type: "number",
@@ -2363,14 +2365,14 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2363
2365
  ], 512), [
2364
2366
  [Ce, g.model.showXTick ?? !0]
2365
2367
  ]),
2366
- d(z, {
2368
+ d(j, {
2367
2369
  modelValue: s.value,
2368
2370
  "onUpdate:modelValue": C[4] || (C[4] = (a) => s.value = a),
2369
2371
  label: l(o)("report.section.datasource.axis.showTitle"),
2370
2372
  "label-placement": "right",
2371
2373
  value: !0
2372
2374
  }, null, 8, ["modelValue", "label"]),
2373
- we(b("div", nt, [
2375
+ we(b("div", it, [
2374
2376
  d(m, {
2375
2377
  "model-value": g.model.xTitle,
2376
2378
  label: l(o)("report.common.title"),
@@ -2392,29 +2394,29 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2392
2394
  ], 512), [
2393
2395
  [Ce, g.model.showX ?? !0]
2394
2396
  ]),
2395
- d(z, {
2397
+ d(j, {
2396
2398
  modelValue: k.value,
2397
2399
  "onUpdate:modelValue": C[6] || (C[6] = (a) => k.value = a),
2398
2400
  label: l(o)("report.section.datasource.axis.showY"),
2399
2401
  "label-placement": "right",
2400
2402
  value: !0
2401
2403
  }, null, 8, ["modelValue", "label"]),
2402
- we(b("div", it, [
2403
- d(z, {
2404
+ we(b("div", st, [
2405
+ d(j, {
2404
2406
  modelValue: T.value,
2405
2407
  "onUpdate:modelValue": C[7] || (C[7] = (a) => T.value = a),
2406
2408
  label: l(o)("report.section.datasource.axis.showGrid"),
2407
2409
  "label-placement": "right",
2408
2410
  value: !1
2409
2411
  }, null, 8, ["modelValue", "label"]),
2410
- d(z, {
2412
+ d(j, {
2411
2413
  modelValue: t.value,
2412
2414
  "onUpdate:modelValue": C[8] || (C[8] = (a) => t.value = a),
2413
2415
  label: l(o)("report.section.datasource.axis.showTick"),
2414
2416
  "label-placement": "right",
2415
2417
  value: !0
2416
2418
  }, null, 8, ["modelValue", "label"]),
2417
- we(b("div", st, [
2419
+ we(b("div", rt, [
2418
2420
  d($, {
2419
2421
  label: l(o)("report.section.datasource.fontSize"),
2420
2422
  type: "number",
@@ -2427,14 +2429,14 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2427
2429
  ], 512), [
2428
2430
  [Ce, g.model.showYTick ?? !0]
2429
2431
  ]),
2430
- d(z, {
2432
+ d(j, {
2431
2433
  modelValue: f.value,
2432
2434
  "onUpdate:modelValue": C[10] || (C[10] = (a) => f.value = a),
2433
2435
  label: l(o)("report.section.datasource.axis.showTitle"),
2434
2436
  "label-placement": "right",
2435
2437
  value: !0
2436
2438
  }, null, 8, ["modelValue", "label"]),
2437
- we(b("div", rt, [
2439
+ we(b("div", ut, [
2438
2440
  d(m, {
2439
2441
  "model-value": g.model.yTitle,
2440
2442
  label: l(o)("report.common.title"),
@@ -2459,7 +2461,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2459
2461
  ]);
2460
2462
  };
2461
2463
  }
2462
- }), dt = { class: "flex flex-col gap-8" }, mt = { class: "pl-32 flex flex-col gap-8" }, ct = { class: "text-fm-color-typo-primary fm-typo-en-body-lg-600" }, pt = ["onKeydown"], vt = /* @__PURE__ */ se({
2464
+ }), mt = { class: "flex flex-col gap-8" }, ct = { class: "pl-32 flex flex-col gap-8" }, pt = { class: "text-fm-color-typo-primary fm-typo-en-body-lg-600" }, vt = ["onKeydown"], ft = /* @__PURE__ */ se({
2463
2465
  __name: "LegendSection",
2464
2466
  props: {
2465
2467
  model: {},
@@ -2506,8 +2508,8 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2506
2508
  (A = s.value) == null || A.click();
2507
2509
  }
2508
2510
  return (A, g) => {
2509
- const C = D("FmCheckbox"), z = D("FmSelect"), $ = D("FmStepperField"), m = D("FmButton");
2510
- return v(), P("div", dt, [
2511
+ const C = D("FmCheckbox"), j = D("FmSelect"), $ = D("FmStepperField"), m = D("FmButton");
2512
+ return v(), P("div", mt, [
2511
2513
  d(C, {
2512
2514
  modelValue: x.value,
2513
2515
  "onUpdate:modelValue": g[0] || (g[0] = (a) => x.value = a),
@@ -2515,14 +2517,14 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2515
2517
  value: !1,
2516
2518
  label: l(o)("report.section.datasource.legend.showLegend")
2517
2519
  }, null, 8, ["modelValue", "label"]),
2518
- we(b("div", mt, [
2520
+ we(b("div", ct, [
2519
2521
  d(C, {
2520
2522
  modelValue: p.value,
2521
2523
  "onUpdate:modelValue": g[1] || (g[1] = (a) => p.value = a),
2522
2524
  label: l(o)("report.section.datasource.legend.usePointStyle"),
2523
2525
  value: !1
2524
2526
  }, null, 8, ["modelValue", "label"]),
2525
- d(z, {
2527
+ d(j, {
2526
2528
  label: l(o)("report.section.datasource.position.showPosition"),
2527
2529
  items: h,
2528
2530
  "model-value": A.model.legendPosition ?? "top",
@@ -2537,7 +2539,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2537
2539
  type: "number",
2538
2540
  placeholder: "Auto"
2539
2541
  }, null, 8, ["modelValue", "label"]),
2540
- b("p", ct, J(l(o)("report.section.datasource.legend.color")), 1),
2542
+ b("p", pt, J(l(o)("report.section.datasource.legend.color")), 1),
2541
2543
  b("div", {
2542
2544
  class: "fm-field fm-field--sm flex items-center justify-between gap-8 border rounded-md p-2 border-[#c7c7cc] cursor-pointer",
2543
2545
  role: "button",
@@ -2555,9 +2557,9 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2555
2557
  type: "color",
2556
2558
  class: "legend-color-input cursor-pointer"
2557
2559
  }, null, 512), [
2558
- [Ll, t.value]
2560
+ [Bl, t.value]
2559
2561
  ])
2560
- ], 40, pt),
2562
+ ], 40, vt),
2561
2563
  d(m, {
2562
2564
  size: "md",
2563
2565
  label: l(o)("report.common.apply"),
@@ -2577,7 +2579,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2577
2579
  ]);
2578
2580
  };
2579
2581
  }
2580
- }), ft = /* @__PURE__ */ vl(vt, [["__scopeId", "data-v-0f6af12a"]]), gt = { class: "flex flex-row gap-16" }, yt = /* @__PURE__ */ se({
2582
+ }), gt = /* @__PURE__ */ vl(ft, [["__scopeId", "data-v-0f6af12a"]]), yt = { class: "flex flex-row gap-16" }, bt = /* @__PURE__ */ se({
2581
2583
  __name: "ChartSizeSection",
2582
2584
  props: {
2583
2585
  model: {}
@@ -2597,7 +2599,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2597
2599
  });
2598
2600
  return (p, k) => {
2599
2601
  const T = D("FmStepperField");
2600
- return v(), P("div", gt, [
2602
+ return v(), P("div", yt, [
2601
2603
  d(T, {
2602
2604
  modelValue: h.value,
2603
2605
  "onUpdate:modelValue": k[0] || (k[0] = (t) => h.value = t),
@@ -2619,22 +2621,22 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2619
2621
  ]);
2620
2622
  };
2621
2623
  }
2622
- }), bt = { class: "flex flex-col gap-8" }, ht = { class: "flex gap-8" }, wt = {
2624
+ }), ht = { class: "flex flex-col gap-8" }, wt = { class: "flex gap-8" }, Ct = {
2623
2625
  key: 0,
2624
2626
  class: "flex items-center gap-8 text-fm-color-system-info-300"
2625
- }, Ct = { class: "flex flex-col gap-8" }, xt = {
2627
+ }, xt = { class: "flex flex-col gap-8" }, Vt = {
2626
2628
  key: 1,
2627
2629
  class: "grid grid-cols-1 gap-8 sm:grid-cols-2"
2628
- }, Vt = ["title"], Ft = ["aria-label"], kt = { class: "text-[12px] uppercase leading-none tracking-[0.02em] text-[#6b6b6b]" }, _t = ["value", "onInput", "onChange"], St = {
2630
+ }, Ft = ["title"], kt = ["aria-label"], _t = { class: "text-[12px] uppercase leading-none tracking-[0.02em] text-[#6b6b6b]" }, St = ["value", "onInput", "onChange"], Tt = {
2629
2631
  key: 0,
2630
2632
  class: "flex items-center gap-8"
2631
- }, Tt = {
2633
+ }, $t = {
2632
2634
  key: 2,
2633
2635
  class: "flex flex-col gap-8"
2634
- }, $t = { class: "fm-shadow-light-100 rounded-md border border-fm-color-neutral-gray-100 bg-fm-color-neutral-white p-10" }, Ut = { class: "mb-8 flex min-w-0 items-center gap-[8px] pb-8" }, Dt = ["title"], Bt = ["title"], Lt = ["aria-label"], At = { class: "text-[12px] uppercase leading-none tracking-[0.02em]" }, Mt = ["value", "disabled", "onInput", "onChange"], Nt = {
2636
+ }, Ut = { class: "fm-shadow-light-100 rounded-md border border-fm-color-neutral-gray-100 bg-fm-color-neutral-white p-10" }, Dt = { class: "mb-8 flex min-w-0 items-center gap-[8px] pb-8" }, Bt = ["title"], Lt = ["title"], At = ["aria-label"], Mt = { class: "text-[12px] uppercase leading-none tracking-[0.02em]" }, Nt = ["value", "disabled", "onInput", "onChange"], Ot = {
2635
2637
  key: 0,
2636
2638
  class: "flex items-center gap-8"
2637
- }, Ve = 10, Ot = /* @__PURE__ */ se({
2639
+ }, Ve = 10, zt = /* @__PURE__ */ se({
2638
2640
  __name: "ChartColorSection",
2639
2641
  props: {
2640
2642
  model: {},
@@ -2713,7 +2715,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2713
2715
  (_, U) => `${o("report.section.datasource.styleTarget.breakdown")} ${U + 1}`
2714
2716
  );
2715
2717
  });
2716
- function z(F, _) {
2718
+ function j(F, _) {
2717
2719
  const U = n(F) ?? "#000000", R = (E) => {
2718
2720
  const W = Number.parseInt(U.slice(E, E + 2), 16);
2719
2721
  return Math.round(W + (255 - W) * _).toString(16).padStart(2, "0").toUpperCase();
@@ -2731,7 +2733,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2731
2733
  return F.length === 0 || E <= 0 ? [] : F.flatMap((W, X) => {
2732
2734
  const ae = ie[X % ie.length], K = U == null ? void 0 : U[m(X, 0, E)], ue = n(K) ?? ae;
2733
2735
  return _.map((Ae, _e) => {
2734
- const Pe = m(X, _e, E), Ze = _e === 0 ? ue : z(ue, $(_e));
2736
+ const Pe = m(X, _e, E), Ze = _e === 0 ? ue : j(ue, $(_e));
2735
2737
  return R && _e > 0 ? Ze : n(U == null ? void 0 : U[Pe]) ?? Ze;
2736
2738
  });
2737
2739
  });
@@ -2776,7 +2778,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2776
2778
  }
2777
2779
  const V = S(
2778
2780
  () => x(e.model.chartColorBinding)
2779
- ), j = S(
2781
+ ), z = S(
2780
2782
  () => s(e.model.chartColors, e.model.chartColorLayers)
2781
2783
  ), B = S(() => te.value === le.series ? t(w.value) : T(te.value)), oe = S(
2782
2784
  () => Array.from({ length: B.value.length }).map((F, _) => ({
@@ -2787,12 +2789,12 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2787
2789
  S(
2788
2790
  () => y(
2789
2791
  e.model.chartColors,
2790
- V.value === le.series ? j.value : T(V.value).length
2792
+ V.value === le.series ? z.value : T(V.value).length
2791
2793
  )
2792
2794
  ), S(
2793
2795
  () => u(
2794
2796
  e.model.chartColorLayers,
2795
- V.value === le.series ? j.value : T(V.value).length
2797
+ V.value === le.series ? z.value : T(V.value).length
2796
2798
  )
2797
2799
  );
2798
2800
  const re = S(
@@ -2853,7 +2855,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2853
2855
  }
2854
2856
  function Le() {
2855
2857
  const F = Be();
2856
- Tl(F) || i("update:model", F);
2858
+ Sl(F) || i("update:model", F);
2857
2859
  }
2858
2860
  function Z() {
2859
2861
  pe.value || be.value || Le();
@@ -2877,7 +2879,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2877
2879
  const U = [...ne.value], R = ie[F % ie.length];
2878
2880
  U[F] = n(_) ?? R, ne.value = U;
2879
2881
  }
2880
- function hl(F) {
2882
+ function bl(F) {
2881
2883
  if (e.limitToSeriesMode)
2882
2884
  return;
2883
2885
  const _ = x(F);
@@ -2894,7 +2896,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2894
2896
  function Je(F, _) {
2895
2897
  return F + 1 === _ ? "add" : "remove";
2896
2898
  }
2897
- function wl(F) {
2899
+ function hl(F) {
2898
2900
  const _ = Math.max(ie.length, w.value), U = F + 1;
2899
2901
  if (U === _) {
2900
2902
  const K = _ + Ve;
@@ -2906,7 +2908,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2906
2908
  const E = U, W = Math.max(ie.length, _ - Ve), X = [...ne.value], ae = [...I.value];
2907
2909
  X.splice(E, Ve), ae.splice(E, Ve), w.value = W, ne.value = y(X, W), I.value = u(ae, W);
2908
2910
  }
2909
- function Cl(F) {
2911
+ function wl(F) {
2910
2912
  const _ = Math.max(ie.length, A.value), U = F + 1;
2911
2913
  if (U === _) {
2912
2914
  const Ae = _ + Ve;
@@ -2928,7 +2930,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2928
2930
  q.value
2929
2931
  );
2930
2932
  }
2931
- function xl(F, _) {
2933
+ function Cl(F, _) {
2932
2934
  const U = I.value.length;
2933
2935
  if (U <= 0)
2934
2936
  return;
@@ -2943,15 +2945,15 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2943
2945
  );
2944
2946
  X >= 0 && (E[X] = W), E[F] = R, I.value = E;
2945
2947
  }
2946
- function Vl(F, _) {
2948
+ function xl(F, _) {
2947
2949
  const U = _.target;
2948
2950
  U && (be.value = !0, Ge(F, U.value));
2949
2951
  }
2950
- function Fl(F, _) {
2952
+ function Vl(F, _) {
2951
2953
  const U = _.target;
2952
2954
  U && (Ge(F, U.value), be.value = !1, Z());
2953
2955
  }
2954
- function kl(F, _, U) {
2956
+ function Fl(F, _, U) {
2955
2957
  const R = U.target;
2956
2958
  if (!R)
2957
2959
  return;
@@ -2966,11 +2968,11 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2966
2968
  if (ae[X] = E, q.value && _ === 0)
2967
2969
  for (let K = 1; K < W; K++) {
2968
2970
  const ue = m(F, K, W);
2969
- ae[ue] = z(E, $(K));
2971
+ ae[ue] = j(E, $(K));
2970
2972
  }
2971
2973
  M.value = ae;
2972
2974
  }
2973
- function _l(F, _, U) {
2975
+ function kl(F, _, U) {
2974
2976
  const R = U.target;
2975
2977
  if (!R)
2976
2978
  return;
@@ -2988,7 +2990,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2988
2990
  if (ae[X] = E, q.value && _ === 0)
2989
2991
  for (let K = 1; K < W; K++) {
2990
2992
  const ue = m(F, K, W);
2991
- ae[ue] = z(E, $(K));
2993
+ ae[ue] = j(E, $(K));
2992
2994
  }
2993
2995
  M.value = ae, be.value = !1, Z();
2994
2996
  }
@@ -2996,14 +2998,14 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
2996
2998
  const U = Array.isArray(F) ? F : [], R = Array.isArray(_) ? _ : [];
2997
2999
  return U.length !== R.length ? !1 : U.every((E, W) => E === R[W]);
2998
3000
  }
2999
- function Sl(F, _) {
3001
+ function _l(F, _) {
3000
3002
  const U = Array.isArray(F) ? F : [], R = Array.isArray(_) ? _ : [];
3001
3003
  return U.length !== R.length ? !1 : U.every((E, W) => Number(E) === Number(R[W]));
3002
3004
  }
3003
- function Tl(F) {
3004
- return F.chartColorBinding === e.model.chartColorBinding && F.chartUseSecondaryMetricShades === e.model.chartUseSecondaryMetricShades && Ke(F.chartColors, e.model.chartColors) && Sl(F.chartColorLayers, e.model.chartColorLayers) && Ke(F.chartBreakdownColors, e.model.chartBreakdownColors);
3005
+ function Sl(F) {
3006
+ return F.chartColorBinding === e.model.chartColorBinding && F.chartUseSecondaryMetricShades === e.model.chartUseSecondaryMetricShades && Ke(F.chartColors, e.model.chartColors) && _l(F.chartColorLayers, e.model.chartColorLayers) && Ke(F.chartBreakdownColors, e.model.chartBreakdownColors);
3005
3007
  }
3006
- function $l(F) {
3008
+ function Tl(F) {
3007
3009
  q.value = F, M.value = a(
3008
3010
  Array.from({ length: A.value }, (_, U) => `breakdown-${U + 1}`),
3009
3011
  f.value,
@@ -3011,7 +3013,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3011
3013
  q.value
3012
3014
  );
3013
3015
  }
3014
- function Ul() {
3016
+ function $l() {
3015
3017
  te.value = le.series, w.value = ie.length, A.value = ie.length, ne.value = y(void 0, ie.length), I.value = u(void 0, ie.length), q.value = !0, M.value = a(
3016
3018
  Array.from({ length: ie.length }, (F, _) => `breakdown-${_ + 1}`),
3017
3019
  f.value,
@@ -3019,7 +3021,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3019
3021
  !0
3020
3022
  );
3021
3023
  }
3022
- function Dl() {
3024
+ function Ul() {
3023
3025
  H.value = !H.value;
3024
3026
  }
3025
3027
  function Qe(F) {
@@ -3029,8 +3031,8 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3029
3031
  be.value = !1;
3030
3032
  }), (F, _) => {
3031
3033
  const U = D("FmButton"), R = D("FmSelect"), E = D("FmCheckbox");
3032
- return v(), P("div", bt, [
3033
- b("div", ht, [
3034
+ return v(), P("div", ht, [
3035
+ b("div", wt, [
3034
3036
  d(U, {
3035
3037
  variant: "tertiary",
3036
3038
  size: "md",
@@ -3038,33 +3040,33 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3038
3040
  label: l(o)("report.section.datasource.chartColor.title"),
3039
3041
  "prepend-icon": H.value ? "expand_less" : "expand_more",
3040
3042
  "aria-expanded": H.value ? "true" : "false",
3041
- onClick: Dl
3043
+ onClick: Ul
3042
3044
  }, null, 8, ["label", "prepend-icon", "aria-expanded"]),
3043
- H.value ? (v(), P("div", wt, [
3045
+ H.value ? (v(), P("div", Ct, [
3044
3046
  d(U, {
3045
3047
  variant: "tertiary",
3046
3048
  "text-color": "text-fm-color-system-info-300",
3047
3049
  size: "md",
3048
3050
  label: l(o)("report.section.datasource.chartColor.reset"),
3049
- onClick: Ul
3051
+ onClick: $l
3050
3052
  }, null, 8, ["label"])
3051
3053
  ])) : N("", !0)
3052
3054
  ]),
3053
- we(b("div", Ct, [
3055
+ we(b("div", xt, [
3054
3056
  d(R, {
3055
3057
  "model-value": te.value,
3056
3058
  items: h.value,
3057
- "onUpdate:modelValue": hl
3059
+ "onUpdate:modelValue": bl
3058
3060
  }, null, 8, ["model-value", "items"]),
3059
3061
  te.value === l(le).breakdown ? (v(), O(E, {
3060
3062
  key: 0,
3061
3063
  "model-value": q.value,
3062
3064
  value: !1,
3063
3065
  label: l(o)("report.section.datasource.chartColor.secondaryMetricAutoShade"),
3064
- "onUpdate:modelValue": _[0] || (_[0] = (W) => $l(!!W)),
3066
+ "onUpdate:modelValue": _[0] || (_[0] = (W) => Tl(!!W)),
3065
3067
  class: "p-4"
3066
3068
  }, null, 8, ["model-value", "label"])) : N("", !0),
3067
- te.value !== l(le).breakdown ? (v(), P("div", xt, [
3069
+ te.value !== l(le).breakdown ? (v(), P("div", Vt, [
3068
3070
  (v(!0), P(de, null, xe(ne.value, (W, X) => (v(), P(de, {
3069
3071
  key: `series-color-${X}`
3070
3072
  }, [
@@ -3077,7 +3079,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3077
3079
  b("span", {
3078
3080
  class: ke(["fm-typo-en-body-lg-600 min-w-0", Q.value ? "line-clamp-2 break-words" : "flex-1"]),
3079
3081
  title: B.value[X] || `${l(o)("report.section.datasource.chartColor.color")} ${X + 1}`
3080
- }, J(B.value[X] || `${l(o)("report.section.datasource.chartColor.color")} ${X + 1}`), 11, Vt),
3082
+ }, J(B.value[X] || `${l(o)("report.section.datasource.chartColor.color")} ${X + 1}`), 11, Ft),
3081
3083
  b("div", {
3082
3084
  class: ke(["flex items-center gap-8", Q.value ? "justify-between" : "shrink-0"])
3083
3085
  }, [
@@ -3086,7 +3088,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3086
3088
  class: "min-w-[92px]",
3087
3089
  "model-value": I.value[X],
3088
3090
  items: oe.value,
3089
- "onUpdate:modelValue": (ae) => xl(X, ae)
3091
+ "onUpdate:modelValue": (ae) => Cl(X, ae)
3090
3092
  }, null, 8, ["model-value", "items", "onUpdate:modelValue"])) : N("", !0),
3091
3093
  b("label", {
3092
3094
  class: "relative inline-flex min-h-[34px] cursor-pointer items-center gap-[8px] rounded-[8px] border border-[#d8d8d8] bg-white py-[4px] pl-[4px] pr-[8px]",
@@ -3096,36 +3098,36 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3096
3098
  class: "inline-block h-[20px] w-[28px] rounded-[4px] border border-[#cfcfcf]",
3097
3099
  style: Ee({ backgroundColor: W })
3098
3100
  }, null, 4),
3099
- b("span", kt, J(W), 1),
3101
+ b("span", _t, J(W), 1),
3100
3102
  b("input", {
3101
3103
  type: "color",
3102
3104
  value: W,
3103
3105
  class: "absolute inset-0 cursor-pointer opacity-0",
3104
- onInput: (ae) => Vl(X, ae),
3105
- onChange: (ae) => Fl(X, ae)
3106
- }, null, 40, _t)
3107
- ], 8, Ft)
3106
+ onInput: (ae) => xl(X, ae),
3107
+ onChange: (ae) => Vl(X, ae)
3108
+ }, null, 40, St)
3109
+ ], 8, kt)
3108
3110
  ], 2)
3109
3111
  ], 2),
3110
- Qe(X) ? (v(), P("div", St, [
3112
+ Qe(X) ? (v(), P("div", Tt, [
3111
3113
  d(U, {
3112
3114
  class: "w-full",
3113
3115
  size: "md",
3114
3116
  icon: Je(X, w.value),
3115
- onClick: (ae) => wl(X)
3117
+ onClick: (ae) => hl(X)
3116
3118
  }, null, 8, ["icon", "onClick"])
3117
3119
  ])) : N("", !0)
3118
3120
  ], 64))), 128))
3119
- ])) : (v(), P("div", Tt, [
3121
+ ])) : (v(), P("div", $t, [
3120
3122
  (v(!0), P(de, null, xe(C.value, (W, X) => (v(), P(de, {
3121
3123
  key: `breakdown-group-${X}`
3122
3124
  }, [
3123
- b("div", $t, [
3124
- b("div", Ut, [
3125
+ b("div", Ut, [
3126
+ b("div", Dt, [
3125
3127
  b("span", {
3126
3128
  class: "fm-typo-en-body-lg-600 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
3127
3129
  title: W
3128
- }, J(W), 9, Dt)
3130
+ }, J(W), 9, Bt)
3129
3131
  ]),
3130
3132
  (v(!0), P(de, null, xe(f.value, (ae, K) => (v(), P("div", {
3131
3133
  key: `${W}-${ae}-${K}`,
@@ -3134,7 +3136,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3134
3136
  b("span", {
3135
3137
  class: "fm-typo-en-body-md-400 min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap",
3136
3138
  title: ae
3137
- }, J(ae), 9, Bt),
3139
+ }, J(ae), 9, Lt),
3138
3140
  b("label", {
3139
3141
  class: ke(["relative inline-flex min-h-[34px] w-full max-w-[126px] items-center gap-[8px] rounded-[8px] border border-[#d8d8d8] bg-white py-[4px] pl-[4px] pr-[8px]", {
3140
3142
  "cursor-not-allowed opacity-[0.55]": q.value && K > 0,
@@ -3148,7 +3150,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3148
3150
  backgroundColor: M.value[m(X, K, f.value.length)]
3149
3151
  })
3150
3152
  }, null, 4),
3151
- b("span", At, J(M.value[m(X, K, f.value.length)]), 1),
3153
+ b("span", Mt, J(M.value[m(X, K, f.value.length)]), 1),
3152
3154
  b("input", {
3153
3155
  type: "color",
3154
3156
  value: M.value[m(X, K, f.value.length)],
@@ -3157,18 +3159,18 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3157
3159
  "cursor-pointer": !(q.value && K > 0)
3158
3160
  }]),
3159
3161
  disabled: q.value && K > 0,
3160
- onInput: (ue) => kl(X, K, ue),
3161
- onChange: (ue) => _l(X, K, ue)
3162
- }, null, 42, Mt)
3163
- ], 10, Lt)
3162
+ onInput: (ue) => Fl(X, K, ue),
3163
+ onChange: (ue) => kl(X, K, ue)
3164
+ }, null, 42, Nt)
3165
+ ], 10, At)
3164
3166
  ]))), 128))
3165
3167
  ]),
3166
- Qe(X) ? (v(), P("div", Nt, [
3168
+ Qe(X) ? (v(), P("div", Ot, [
3167
3169
  d(U, {
3168
3170
  class: "w-full",
3169
3171
  size: "md",
3170
3172
  icon: Je(X, A.value),
3171
- onClick: (ae) => Cl(X)
3173
+ onClick: (ae) => wl(X)
3172
3174
  }, null, 8, ["icon", "onClick"])
3173
3175
  ])) : N("", !0)
3174
3176
  ], 64))), 128))
@@ -3179,7 +3181,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3179
3181
  ]);
3180
3182
  };
3181
3183
  }
3182
- }), jt = { class: "flex flex-col gap-8" }, zt = { class: "flex items-center justify-between" }, Rt = { class: "fm-typo-en-body-lg-600" }, It = { class: "flex items-center gap-8 text-fm-color-system-info-300" }, Pt = { class: "grid grid-cols-2 gap-8" }, Xt = { class: "flex items-center gap-8" }, Et = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Wt = /* @__PURE__ */ se({
3184
+ }), jt = { class: "flex flex-col gap-8" }, Rt = { class: "flex items-center justify-between" }, It = { class: "fm-typo-en-body-lg-600" }, Pt = { class: "flex items-center gap-8 text-fm-color-system-info-300" }, Xt = { class: "grid grid-cols-2 gap-8" }, Et = { class: "flex items-center gap-8" }, Wt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, qt = /* @__PURE__ */ se({
3183
3185
  __name: "ChartLineStyleSection",
3184
3186
  props: {
3185
3187
  model: {}
@@ -3208,7 +3210,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3208
3210
  if (!e.model.isBlend)
3209
3211
  return u;
3210
3212
  const V = Array.isArray(e.model.joinDatasources) ? e.model.joinDatasources.flatMap(
3211
- (j) => Array.isArray(j == null ? void 0 : j.metrics) ? j.metrics : []
3213
+ (z) => Array.isArray(z == null ? void 0 : z.metrics) ? z.metrics : []
3212
3214
  ) : [];
3213
3215
  return [...u, ...V];
3214
3216
  }
@@ -3216,10 +3218,10 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3216
3218
  if (u === le.metric) {
3217
3219
  const V = k();
3218
3220
  if (V.length > 0)
3219
- return V.map((j, B) => p(j, B));
3221
+ return V.map((z, B) => p(z, B));
3220
3222
  }
3221
3223
  return ie.map(
3222
- (V, j) => `${o("report.section.datasource.lineStyle.series")} ${j + 1}`
3224
+ (V, z) => `${o("report.section.datasource.lineStyle.series")} ${z + 1}`
3223
3225
  );
3224
3226
  }
3225
3227
  const t = S(() => [
@@ -3244,16 +3246,16 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3244
3246
  }
3245
3247
  function w(u, V) {
3246
3248
  return !Array.isArray(u) || u.length === 0 ? Array.from({ length: V }).map(
3247
- (j, B) => nl[B] ?? "solid"
3249
+ (z, B) => nl[B] ?? "solid"
3248
3250
  ) : Array.from({ length: V }).map(
3249
- (j, B) => s(u[B])
3251
+ (z, B) => s(u[B])
3250
3252
  );
3251
3253
  }
3252
3254
  const A = S(
3253
3255
  () => x(e.model.lineStyleBinding)
3254
3256
  ), g = S(() => T($.value)), C = S(
3255
3257
  () => w(e.model.lineStyles, T(A.value).length)
3256
- ), z = ee([]), $ = ee(le.series);
3258
+ ), j = ee([]), $ = ee(le.series);
3257
3259
  he(
3258
3260
  [
3259
3261
  () => e.model.lineStyles,
@@ -3263,43 +3265,43 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3263
3265
  () => e.model.joinDatasources
3264
3266
  ],
3265
3267
  ([u, V]) => {
3266
- $.value = x(V), z.value = w(
3268
+ $.value = x(V), j.value = w(
3267
3269
  u,
3268
3270
  T($.value).length
3269
3271
  );
3270
3272
  },
3271
3273
  { immediate: !0, deep: !0 }
3272
3274
  );
3273
- const m = S(() => $.value !== A.value || z.value.length !== C.value.length ? !0 : z.value.some((u, V) => u !== C.value[V]));
3275
+ const m = S(() => $.value !== A.value || j.value.length !== C.value.length ? !0 : j.value.some((u, V) => u !== C.value[V]));
3274
3276
  function a(u, V) {
3275
- const j = [...z.value];
3276
- j[u] = s(V), z.value = j;
3277
+ const z = [...j.value];
3278
+ z[u] = s(V), j.value = z;
3277
3279
  }
3278
3280
  function r(u) {
3279
3281
  const V = x(u);
3280
3282
  if (V === $.value)
3281
3283
  return;
3282
- const j = T(V).length;
3283
- $.value = V, z.value = w(z.value, j);
3284
+ const z = T(V).length;
3285
+ $.value = V, j.value = w(j.value, z);
3284
3286
  }
3285
3287
  function n() {
3286
- $.value = le.series, z.value = [...nl];
3288
+ $.value = le.series, j.value = [...nl];
3287
3289
  }
3288
3290
  function y() {
3289
- const u = $.value === le.series, V = z.value.every((j) => j === "solid");
3291
+ const u = $.value === le.series, V = j.value.every((z) => z === "solid");
3290
3292
  i("update:model", {
3291
3293
  ...e.model,
3292
3294
  lineStyleBinding: u ? void 0 : $.value,
3293
- lineStyles: V ? void 0 : [...z.value]
3295
+ lineStyles: V ? void 0 : [...j.value]
3294
3296
  });
3295
3297
  }
3296
3298
  return (u, V) => {
3297
- const j = D("FmButton"), B = D("FmSelect");
3299
+ const z = D("FmButton"), B = D("FmSelect");
3298
3300
  return v(), P("div", jt, [
3299
- b("div", zt, [
3300
- b("p", Rt, J(l(o)("report.section.datasource.lineStyle.title")), 1),
3301
- b("div", It, [
3302
- d(j, {
3301
+ b("div", Rt, [
3302
+ b("p", It, J(l(o)("report.section.datasource.lineStyle.title")), 1),
3303
+ b("div", Pt, [
3304
+ d(z, {
3303
3305
  variant: "tertiary",
3304
3306
  "text-color": "text-fm-color-system-info-300",
3305
3307
  size: "md",
@@ -3314,17 +3316,17 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3314
3316
  label: l(o)("report.section.datasource.styleTarget.title"),
3315
3317
  "onUpdate:modelValue": r
3316
3318
  }, null, 8, ["model-value", "items", "label"]),
3317
- b("div", Pt, [
3318
- (v(!0), P(de, null, xe(z.value, (oe, Q) => (v(), P("div", {
3319
+ b("div", Xt, [
3320
+ (v(!0), P(de, null, xe(j.value, (oe, Q) => (v(), P("div", {
3319
3321
  key: Q,
3320
3322
  class: "flex items-center justify-between gap-8 rounded-md border border-fm-color-neutral-gray-100 px-8 py-6"
3321
3323
  }, [
3322
- b("div", Xt, [
3324
+ b("div", Et, [
3323
3325
  b("span", {
3324
3326
  class: ke(["line-style-icon", f(oe)]),
3325
3327
  "aria-hidden": "true"
3326
3328
  }, null, 2),
3327
- b("span", Et, J(g.value[Q] || `${l(o)("report.section.datasource.lineStyle.line")} ${Q + 1}`), 1)
3329
+ b("span", Wt, J(g.value[Q] || `${l(o)("report.section.datasource.lineStyle.line")} ${Q + 1}`), 1)
3328
3330
  ]),
3329
3331
  d(B, {
3330
3332
  "model-value": oe,
@@ -3334,7 +3336,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3334
3336
  }, null, 8, ["model-value", "items", "onUpdate:modelValue"])
3335
3337
  ]))), 128))
3336
3338
  ]),
3337
- d(j, {
3339
+ d(z, {
3338
3340
  size: "md",
3339
3341
  label: l(o)("report.common.apply"),
3340
3342
  disabled: !m.value,
@@ -3343,10 +3345,10 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3343
3345
  ]);
3344
3346
  };
3345
3347
  }
3346
- }), qt = /* @__PURE__ */ vl(Wt, [["__scopeId", "data-v-f1c35513"]]), Ht = { class: "flex flex-col gap-16" }, Yt = {
3348
+ }), Ht = /* @__PURE__ */ vl(qt, [["__scopeId", "data-v-f1c35513"]]), Yt = { class: "flex flex-col gap-16" }, Gt = {
3347
3349
  key: 2,
3348
3350
  class: "h-px w-full bg-fm-color-neutral-gray-100"
3349
- }, Gt = { class: "flex flex-col gap-8" }, Jt = { class: "fm-typo-en-body-lg-600" }, Kt = { class: "flex flex-col gap-8" }, Qt = /* @__PURE__ */ se({
3351
+ }, Jt = { class: "flex flex-col gap-8" }, Kt = { class: "fm-typo-en-body-lg-600" }, Qt = { class: "flex flex-col gap-8" }, Zt = /* @__PURE__ */ se({
3350
3352
  __name: "StyleDatasource",
3351
3353
  props: /* @__PURE__ */ ve({
3352
3354
  label: {
@@ -3381,7 +3383,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3381
3383
  he(
3382
3384
  [() => e.value.dimensions, () => e.value.metrics],
3383
3385
  () => {
3384
- const { rowIds: s, columnIds: f } = ze(e.value);
3386
+ const { rowIds: s, columnIds: f } = je(e.value);
3385
3387
  e.value.rowIds = s, e.value.columnIds = f;
3386
3388
  },
3387
3389
  { deep: !0 }
@@ -3416,29 +3418,29 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3416
3418
  size: "md",
3417
3419
  onClick: f[0] || (f[0] = ye((C) => o("click-close"), ["stop"]))
3418
3420
  })) : N("", !0),
3419
- b("div", Ht, [
3420
- i.config.hasChart ? (v(), O(yt, {
3421
+ b("div", Yt, [
3422
+ i.config.hasChart ? (v(), O(bt, {
3421
3423
  key: 0,
3422
3424
  model: e.value,
3423
3425
  "onUpdate:model": f[1] || (f[1] = (C) => e.value = C)
3424
3426
  }, null, 8, ["model"])) : N("", !0),
3425
- i.config.hasChart ? (v(), O(Ot, {
3427
+ i.config.hasChart ? (v(), O(zt, {
3426
3428
  key: 1,
3427
3429
  model: e.value,
3428
3430
  "show-layer-control": p.value && t.value,
3429
3431
  "limit-to-series-mode": x.value,
3430
3432
  "onUpdate:model": f[2] || (f[2] = (C) => e.value = C)
3431
3433
  }, null, 8, ["model", "show-layer-control", "limit-to-series-mode"])) : N("", !0),
3432
- i.config.hasChart && k.value ? (v(), P("div", Yt)) : N("", !0),
3433
- i.config.hasChart && k.value ? (v(), O(qt, {
3434
+ i.config.hasChart && k.value ? (v(), P("div", Gt)) : N("", !0),
3435
+ i.config.hasChart && k.value ? (v(), O(Ht, {
3434
3436
  key: 3,
3435
3437
  model: e.value,
3436
3438
  "onUpdate:model": f[3] || (f[3] = (C) => e.value = C)
3437
3439
  }, null, 8, ["model"])) : N("", !0),
3438
3440
  f[9] || (f[9] = b("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)),
3439
- b("div", Gt, [
3440
- b("p", Jt, J(l(h)("report.section.style.configuration")), 1),
3441
- b("div", Kt, [
3441
+ b("div", Jt, [
3442
+ b("p", Kt, J(l(h)("report.section.style.configuration")), 1),
3443
+ b("div", Qt, [
3442
3444
  p.value ? (v(), O(A, {
3443
3445
  key: 0,
3444
3446
  modelValue: t.value,
@@ -3446,18 +3448,18 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3446
3448
  class: "fm-typo-en-body-lg-400",
3447
3449
  label: l(h)("report.section.datasource.stackBar.overlapBars")
3448
3450
  }, null, 8, ["modelValue", "label"])) : N("", !0),
3449
- i.config.hasLabel ? (v(), O(lt, {
3451
+ i.config.hasLabel ? (v(), O(ot, {
3450
3452
  key: 1,
3451
3453
  model: e.value,
3452
3454
  "onUpdate:model": f[5] || (f[5] = (C) => e.value = C)
3453
3455
  }, null, 8, ["model"])) : N("", !0),
3454
- i.config.hasLegend ? (v(), O(ft, {
3456
+ i.config.hasLegend ? (v(), O(gt, {
3455
3457
  key: 2,
3456
3458
  model: e.value,
3457
3459
  "is-circular-widget": x.value,
3458
3460
  "onUpdate:model": f[6] || (f[6] = (C) => e.value = C)
3459
3461
  }, null, 8, ["model", "is-circular-widget"])) : N("", !0),
3460
- i.config.hasXy ? (v(), O(ut, {
3462
+ i.config.hasXy ? (v(), O(dt, {
3461
3463
  key: 3,
3462
3464
  model: e.value,
3463
3465
  "onUpdate:model": f[7] || (f[7] = (C) => e.value = C)
@@ -3478,7 +3480,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3478
3480
  ], 64);
3479
3481
  };
3480
3482
  }
3481
- }), Zt = { class: "fixed bottom-6 right-6" }, ea = { class: "flex w-full items-center gap-8" }, la = { class: "fm-typo-en-title-sm-600" }, oa = { class: "ml-auto text-fm-color-system-info-300" }, ta = /* @__PURE__ */ se({
3483
+ }), ea = { class: "fixed bottom-6 right-6" }, la = { class: "flex w-full items-center gap-8" }, oa = { class: "fm-typo-en-title-sm-600" }, ta = { class: "ml-auto text-fm-color-system-info-300" }, aa = /* @__PURE__ */ se({
3482
3484
  __name: "StyleEditorTab",
3483
3485
  props: {
3484
3486
  modelValue: {
@@ -3511,7 +3513,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3511
3513
  labelOffset: 0,
3512
3514
  labelFontSize: 12,
3513
3515
  showX: !0,
3514
- xPosition: Gl.bottom,
3516
+ xPosition: Jl.bottom,
3515
3517
  showXGrid: !1,
3516
3518
  showXTick: !0,
3517
3519
  xTickFontSize: 12,
@@ -3519,7 +3521,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3519
3521
  xTitle: "",
3520
3522
  xTitleFontSize: 12,
3521
3523
  showY: !0,
3522
- yPosition: Yl.left,
3524
+ yPosition: Gl.left,
3523
3525
  showYGrid: !1,
3524
3526
  showYTick: !0,
3525
3527
  yTickFontSize: 12,
@@ -3527,7 +3529,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3527
3529
  yTitle: "",
3528
3530
  yTitleFontSize: 12,
3529
3531
  showLegend: ((p = i.value) == null ? void 0 : p.type) === G.Circular,
3530
- legendPosition: Hl.top,
3532
+ legendPosition: Yl.top,
3531
3533
  usePointStyle: !0,
3532
3534
  legendFontSize: void 0,
3533
3535
  legendColor: "#6b6b6b",
@@ -3553,7 +3555,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3553
3555
  "max-width": 500
3554
3556
  }, {
3555
3557
  "side-sheet-button": Y(() => [
3556
- b("div", Zt, [
3558
+ b("div", ea, [
3557
3559
  d(t, {
3558
3560
  label: l(c)("report.section.style.button"),
3559
3561
  icon: "edit",
@@ -3563,15 +3565,15 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3563
3565
  ])
3564
3566
  ]),
3565
3567
  "side-sheet-header": Y(() => [
3566
- b("div", ea, [
3568
+ b("div", la, [
3567
3569
  d(t, {
3568
3570
  "prepend-icon": "arrow_back",
3569
3571
  variant: "tertiary",
3570
3572
  class: "fm-icon--rounded fm-icon--md text-fm-color-black",
3571
3573
  onClick: k[0] || (k[0] = (f) => o.value = !1)
3572
3574
  }),
3573
- b("p", la, J(l(c)("report.section.style.title")), 1),
3574
- b("div", oa, [
3575
+ b("p", oa, J(l(c)("report.section.style.title")), 1),
3576
+ b("div", ta, [
3575
3577
  d(t, {
3576
3578
  label: l(c)("report.section.style.reset"),
3577
3579
  variant: "tertiary",
@@ -3584,7 +3586,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3584
3586
  ]),
3585
3587
  default: Y(() => [
3586
3588
  e.value ? N("", !0) : (v(), O(T, { key: 0 })),
3587
- d(Qt, {
3589
+ d(Zt, {
3588
3590
  modelValue: e.value.widget.config,
3589
3591
  "onUpdate:modelValue": k[1] || (k[1] = (f) => e.value.widget.config = f),
3590
3592
  config: i.value
@@ -3594,10 +3596,10 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3594
3596
  }, 8, ["modelValue"]);
3595
3597
  };
3596
3598
  }
3597
- }), aa = { class: "bg-fm-color-neutral-white flex flex-col h-full w-[510px]" }, na = { class: "flex bg-fm-color-neutral-white w-[88px]" }, ia = { class: "w-full overflow-y-auto" }, sa = {
3599
+ }), na = { class: "bg-fm-color-neutral-white flex flex-col h-full w-[510px]" }, ia = { class: "flex bg-fm-color-neutral-white w-[88px]" }, sa = { class: "w-full overflow-y-auto" }, ra = {
3598
3600
  class: "grid grid-cols-12 w-full p-24",
3599
3601
  style: { backgroundColor: "#F6F8FC" }
3600
- }, ra = /* @__PURE__ */ se({
3602
+ }, ua = /* @__PURE__ */ se({
3601
3603
  __name: "TileEditorDesktop",
3602
3604
  props: /* @__PURE__ */ ve({
3603
3605
  hideConfiguration: { type: Boolean, required: !0, default: !1 },
@@ -3627,12 +3629,12 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3627
3629
  const s = D("FmCircularProgress"), f = D("FmButton");
3628
3630
  return v(), P("div", null, [
3629
3631
  e.value ? (v(), P(de, { key: 1 }, [
3630
- d(Il, {
3632
+ d(Rl, {
3631
3633
  "model-value": !L.hideConfiguration
3632
3634
  }, {
3633
3635
  right: Y(() => [
3634
- b("div", aa, [
3635
- d(bl, {
3636
+ b("div", na, [
3637
+ d(yl, {
3636
3638
  modelValue: e.value,
3637
3639
  "onUpdate:modelValue": t[0] || (t[0] = (w) => e.value = w),
3638
3640
  config: o.value,
@@ -3644,7 +3646,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3644
3646
  ])
3645
3647
  ]),
3646
3648
  left: Y(() => [
3647
- b("div", na, [
3649
+ b("div", ia, [
3648
3650
  d(f, {
3649
3651
  variant: "secondary",
3650
3652
  icon: "keyboard_double_arrow_right",
@@ -3658,18 +3660,18 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3658
3660
  ]),
3659
3661
  _: 1
3660
3662
  }, 8, ["model-value"]),
3661
- b("div", ia, [
3662
- b("div", sa, [
3663
- e.value ? (v(), O(fl, {
3663
+ b("div", sa, [
3664
+ b("div", ra, [
3665
+ e.value ? (v(), O(gl, {
3664
3666
  key: 0,
3665
3667
  "model-value": e.value,
3666
3668
  index: i.index,
3667
3669
  "hide-export": !0,
3668
3670
  "is-style-editing": k.value
3669
- }, null, 8, ["model-value", "index", "is-style-editing"])) : (v(), O(yl, { key: 1 }))
3671
+ }, null, 8, ["model-value", "index", "is-style-editing"])) : (v(), O(fl, { key: 1 }))
3670
3672
  ])
3671
3673
  ]),
3672
- p.value ? (v(), O(ta, {
3674
+ p.value ? (v(), O(aa, {
3673
3675
  key: 0,
3674
3676
  modelValue: e.value,
3675
3677
  "onUpdate:modelValue": t[3] || (t[3] = (w) => e.value = w),
@@ -3684,10 +3686,10 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3684
3686
  ]);
3685
3687
  };
3686
3688
  }
3687
- }), ua = {
3689
+ }), da = {
3688
3690
  key: 0,
3689
3691
  class: "flex w-full justify-center items-center"
3690
- }, da = { class: "w-full grid grid-cols-12 pb-28 pt-5 px-5 h-full" }, ma = /* @__PURE__ */ se({
3692
+ }, ma = { class: "w-full grid grid-cols-12 pb-28 pt-5 px-5 h-full" }, ca = /* @__PURE__ */ se({
3691
3693
  __name: "TileEditorMobile",
3692
3694
  props: /* @__PURE__ */ ve({
3693
3695
  hideConfiguration: { type: Boolean, required: !0, default: !1 },
@@ -3710,15 +3712,15 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3710
3712
  const k = D("FmCircularProgress");
3711
3713
  return v(), P("div", null, [
3712
3714
  e.value ? (v(), P(de, { key: 1 }, [
3713
- b("div", da, [
3714
- e.value ? (v(), O(fl, {
3715
+ b("div", ma, [
3716
+ e.value ? (v(), O(gl, {
3715
3717
  key: 0,
3716
3718
  "model-value": e.value,
3717
3719
  index: i.index,
3718
3720
  "hide-export": !0
3719
- }, null, 8, ["model-value", "index"])) : (v(), O(yl, { key: 1 }))
3721
+ }, null, 8, ["model-value", "index"])) : (v(), O(fl, { key: 1 }))
3720
3722
  ]),
3721
- d(bl, {
3723
+ d(yl, {
3722
3724
  modelValue: e.value,
3723
3725
  "onUpdate:modelValue": p[0] || (p[0] = (T) => e.value = T),
3724
3726
  config: o.value,
@@ -3727,22 +3729,22 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3727
3729
  h("hideConfiguration", T);
3728
3730
  })
3729
3731
  }, null, 8, ["modelValue", "config", "hide-configuration"])
3730
- ], 64)) : (v(), P("div", ua, [
3732
+ ], 64)) : (v(), P("div", da, [
3731
3733
  d(k)
3732
3734
  ]))
3733
3735
  ]);
3734
3736
  };
3735
3737
  }
3736
- }), ca = {
3738
+ }), pa = {
3737
3739
  key: 0,
3738
3740
  class: "fm-typo-en-title-md-600"
3739
- }, pa = {
3741
+ }, va = {
3740
3742
  key: 0,
3741
3743
  class: "flex items-start justify-start px-24 py-12 flex-wrap w-full"
3742
3744
  }, Ta = /* @__PURE__ */ se({
3743
3745
  __name: "TileEditor",
3744
3746
  setup(L) {
3745
- const { rowHeight: c, colWidths: e } = Se(Oe()), i = Ml(), o = Nl(), h = Wl(), { globalFilters: x } = Se(gl()), { currentSelectWidgetType: p, editingReport: k, editingTile: T, editingTileIndex: t } = Se(h), { breakpoints: s } = pl(), { promptMessage: f } = cl(), { t: w, te: A } = ce(), g = S(() => {
3747
+ const { rowHeight: c, colWidths: e } = Se(Oe()), i = Al(), o = Ml(), h = El(), { globalFilters: x } = Se(Wl()), { currentSelectWidgetType: p, editingReport: k, editingTile: T, editingTileIndex: t } = Se(h), { breakpoints: s } = pl(), { promptMessage: f } = cl(), { t: w, te: A } = ce(), g = S(() => {
3746
3748
  var n;
3747
3749
  const a = (n = T.value) == null ? void 0 : n.widget.type;
3748
3750
  if (!a)
@@ -3750,7 +3752,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3750
3752
  const r = `report.widget.types.${a.toLowerCase()}`;
3751
3753
  return A(r) ? w(r) : a;
3752
3754
  }), C = ee(!1);
3753
- function z() {
3755
+ function j() {
3754
3756
  p.value = void 0, T.value = void 0, t.value = -1, o.back();
3755
3757
  }
3756
3758
  async function $() {
@@ -3763,7 +3765,7 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3763
3765
  ...T.value.widget.config,
3764
3766
  rowHeight: c.value,
3765
3767
  colWidths: [...e.value]
3766
- }, t.value === -1 ? k.value.tiles.push(T.value) : k.value.tiles[t.value] = T.value, z());
3768
+ }, t.value === -1 ? k.value.tiles.push(T.value) : k.value.tiles[t.value] = T.value, j());
3767
3769
  }
3768
3770
  async function m() {
3769
3771
  var r;
@@ -3771,13 +3773,13 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3771
3773
  await f({
3772
3774
  title: w("report.tile.cancel.title"),
3773
3775
  message: w("report.tile.cancel.confirm", { title: (r = T.value) == null ? void 0 : r.widget.title })
3774
- }) && z();
3776
+ }) && j();
3775
3777
  }
3776
3778
  return Ye(() => {
3777
3779
  k.value || o.push({ name: "reports" });
3778
3780
  }), (a, r) => {
3779
3781
  const n = D("FmPageHead");
3780
- return v(), O(Pl, null, {
3782
+ return v(), O(Il, null, {
3781
3783
  default: Y(() => [
3782
3784
  d(n, {
3783
3785
  actions: [
@@ -3789,20 +3791,20 @@ const uo = { class: "flex flex-col my-2 gap-8" }, mo = { class: "fm-typo-en-body
3789
3791
  })
3790
3792
  }, {
3791
3793
  title: Y(() => [
3792
- l(s).lg || l(s).md ? (v(), P("p", ca, J(g.value), 1)) : N("", !0)
3794
+ l(s).lg || l(s).md ? (v(), P("p", pa, J(g.value), 1)) : N("", !0)
3793
3795
  ]),
3794
3796
  _: 1
3795
3797
  }, 8, ["actions"]),
3796
3798
  l(T) && (l(x) || []).some((y) => {
3797
3799
  const u = y.tileIds, V = l(T) && l(T).id;
3798
3800
  return Array.isArray(u) && typeof V == "string" && u.includes(V);
3799
- }) ? (v(), P("div", pa, [
3800
- d(Jl)
3801
+ }) ? (v(), P("div", va, [
3802
+ d(ql)
3801
3803
  ])) : N("", !0),
3802
- l(T) ? (v(), O(dl(l(s).lg || l(s).md ? ra : ma), {
3804
+ l(T) ? (v(), O(dl(l(s).lg || l(s).md ? ua : ca), {
3803
3805
  key: 1,
3804
3806
  modelValue: l(T),
3805
- "onUpdate:modelValue": r[1] || (r[1] = (y) => Al(T) ? T.value = y : null),
3807
+ "onUpdate:modelValue": r[1] || (r[1] = (y) => Ll(T) ? T.value = y : null),
3806
3808
  class: ke(`${l(s).lg || l(s).md ? "flex" : ""} w-full`),
3807
3809
  style: Ee({ height: `calc( 100% - ${l(s).lg || l(s).md ? 72 : 64}px)` }),
3808
3810
  "hide-configuration": C.value,