@feedmepos/mf-report 5.27.25 → 5.27.26

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 (25) hide show
  1. package/dist/{App-DjVs-2jP.js → App-C_04mBmg.js} +4 -4
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-BuO42-MR.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CIStXVl_.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-8Lfk9D0S.js → Default.vue_vue_type_script_setup_true_lang-Go7gifP6.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BGD1_4cA.js → DynamicWidget.vue_vue_type_script_setup_true_lang-DkUAO3Pw.js} +3 -3
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DXtWF7LP.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C8BAjwYE.js} +1316 -1315
  6. package/dist/{InsightView-D6b8_QUl.js → InsightView-DxcA19xM.js} +4 -4
  7. package/dist/{Integration-D3swSuoZ.js → Integration-BjDMACOk.js} +3 -3
  8. package/dist/{Integrations-BipzHbPq.js → Integrations-C0ygYpUr.js} +2 -2
  9. package/dist/{Layout-D2KTFMYS.js → Layout-BZt9uxku.js} +1 -1
  10. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-kFFnLTTQ.js +130 -0
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-TBmbqppw.js → NavigationTab.vue_vue_type_script_setup_true_lang-C5oOG7nr.js} +3 -3
  12. package/dist/{OverviewView-D8eN2tXc.js → OverviewView-B413Q1mY.js} +4 -4
  13. package/dist/{Report-D7oY7MNR.js → Report-CpgL93uy.js} +3 -3
  14. package/dist/{ReportEditor-D4Sdv6-2.js → ReportEditor-CthLn0Wx.js} +479 -476
  15. package/dist/{ReportView-L_VETn4p.js → ReportView-B2D5Jl3u.js} +6 -6
  16. package/dist/{Setting-CC9wH9NT.js → Setting-BuSJoJVP.js} +3 -3
  17. package/dist/{Template-DHm7_rLJ.js → Template-BLh1du5v.js} +3 -3
  18. package/dist/{TileEditor-CQAqJkTy.js → TileEditor-VQxT6p51.js} +137 -137
  19. package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-jbujDyFY.js → TileGrid.vue_vue_type_script_setup_true_lang-Bc2TNbmf.js} +1 -1
  20. package/dist/{TransitionFade-BYS_PD1Y.js → TransitionFade-DnF7WkzY.js} +4 -4
  21. package/dist/{app-dOrzXjgr.js → app-CZ1_gioS.js} +12 -12
  22. package/dist/app.js +1 -1
  23. package/dist/{useRestaurantPermission-BhsJdiXZ.js → useRestaurantPermission-DCs4m_N3.js} +1 -1
  24. package/package.json +1 -1
  25. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-CpLX_mmh.js +0 -107
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as ue, mergeModels as pe, useModel as ge, computed as k, ref as le, resolveComponent as L, createElementBlock as E, openBlock as f, createVNode as c, createElementVNode as h, unref as l, withCtx as K, toDisplayString as G, Fragment as re, renderList as Ve, withModifiers as Ce, createTextVNode as Ie, watch as we, createCommentVNode as I, createBlock as R, renderSlot as Cl, onBeforeUnmount as il, resolveDynamicComponent as wl, normalizeClass as ke, withDirectives as Fe, vShow as Te, onMounted as xl, withKeys as cl, vModelText as zl, normalizeStyle as ol, isRef as Il } from "vue";
2
2
  import { useRoute as Pl, useRouter as El } from "vue-router";
3
- import { u as sl, f as rl, h as ze, F as je, d as Ke, S as al, a as Wl, W as Xl, T as Hl, c as ql, b as pl } from "./TransitionFade-BYS_PD1Y.js";
4
- import { W as q, a as Fl, q as Pe, D as Gl, S as vl, C as Yl, u as kl, P as fl, j as Jl, b as Kl, h as Ql } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DXtWF7LP.js";
5
- import { storeToRefs as Ne } from "pinia";
3
+ import { u as sl, f as rl, h as ze, F as Ne, d as Ke, S as al, a as Wl, W as Xl, T as Hl, c as ql, b as pl } from "./TransitionFade-DnF7WkzY.js";
4
+ import { W as q, a as Fl, q as Pe, D as Gl, S as vl, C as Yl, u as kl, P as fl, b as Jl, c as Kl, i as Ql } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-C8BAjwYE.js";
5
+ import { storeToRefs as je } from "pinia";
6
6
  import { u as Vl } from "./message-dialog-UoMWOnil.js";
7
7
  import { useSnackbar as Zl, useBreakpoints as Sl, FmButtonColorThemeVariant as Ue } from "@feedmepos/ui-library";
8
- import { h as et, g as $e, R as gl, d as lt, L as Ae, e as el, S as ne, f as ve, j as ll, k as yl, _ as _l } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BGD1_4cA.js";
8
+ import { h as et, g as $e, R as gl, d as lt, L as Ae, e as el, S as ne, f as ve, j as ll, k as yl, _ as _l } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DkUAO3Pw.js";
9
9
  import { a as be, _ as Tl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
10
10
  import { u as ce, _ as $l } from "./_plugin-vue_export-helper-onplcgja.js";
11
11
  import { r as se } from "./i18n-CI_sQ5d_.js";
12
- import { a as Oe, d as qe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BuO42-MR.js";
13
- import { a as tt, d as He } from "./app-dOrzXjgr.js";
12
+ import { a as Oe, d as qe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CIStXVl_.js";
13
+ import { a as tt, d as He } from "./app-CZ1_gioS.js";
14
14
  const Qe = [
15
15
  {
16
16
  type: q.Circular,
@@ -182,7 +182,7 @@ const Qe = [
182
182
  }),
183
183
  emits: ["update:modelValue"],
184
184
  setup($) {
185
- const { t: v, te: e } = ce(), a = ge($, "modelValue"), n = $, { schemas: V } = Ne(Fl()), w = k(
185
+ const { t: v, te: e } = ce(), a = ge($, "modelValue"), n = $, { schemas: V } = je(Fl()), w = k(
186
186
  () => V.value.map((p) => ({
187
187
  label: p.label,
188
188
  value: p.name,
@@ -247,13 +247,13 @@ const Qe = [
247
247
  h("p", at, G(l(v)("report.section.schema.title")), 1),
248
248
  h("p", nt, G(l(v)("report.section.schema.description")), 1)
249
249
  ]),
250
- (f(!0), E(re, null, Ve(a.value.schemaNames, (u, j) => (f(), E("div", {
251
- key: j,
250
+ (f(!0), E(re, null, Ve(a.value.schemaNames, (u, N) => (f(), E("div", {
251
+ key: N,
252
252
  class: "flex flex-col gap-2 w-full"
253
253
  }, [
254
254
  h("div", {
255
255
  class: "flex items-center gap-2 border rounded-md border-neutral-300 p-2 h-[40px]",
256
- onClick: (Y) => F(j)
256
+ onClick: (Y) => F(N)
257
257
  }, [
258
258
  h("p", st, G(y(u)), 1),
259
259
  r[3] || (r[3] = h("div", { class: "grow" }, null, -1)),
@@ -261,7 +261,7 @@ const Qe = [
261
261
  name: "close",
262
262
  onClick: Ce(
263
263
  () => {
264
- a.value.schemaNames = l(et)(a.value.schemaNames, j);
264
+ a.value.schemaNames = l(et)(a.value.schemaNames, N);
265
265
  },
266
266
  ["stop"]
267
267
  )
@@ -326,20 +326,20 @@ const Qe = [
326
326
  }))
327
327
  ), _ = le(a.value.length > 0 ? 0 : void 0);
328
328
  function M(o) {
329
- var b, N, te, de;
329
+ var b, j, te, de;
330
330
  w.value = !0, i.value = o != null && o.value ? JSON.parse(
331
331
  JSON.stringify({
332
332
  ...o.value,
333
333
  label: se(v, e, (b = o.value) == null ? void 0 : b.label, "other"),
334
- moveToColumn: (((N = n.config) == null ? void 0 : N.columnIds) || []).includes($e(o.value))
334
+ moveToColumn: (((j = n.config) == null ? void 0 : j.columnIds) || []).includes($e(o.value))
335
335
  })
336
336
  ) : void 0, _.value = o == null ? void 0 : o.index, s.value = !!((te = i.value) != null && te.dataFormula || (de = i.value) != null && de.displayFormula), i.value && i.value.formatter === void 0 && o != null && o.value.timeFormatter && i.value.formatter === void 0 && (i.value.formatter = o == null ? void 0 : o.value.timeFormatter, i.value.timeFormatter = void 0);
337
337
  }
338
338
  const i = le(void 0), s = le(!1), y = k(
339
339
  () => n.options.find(
340
340
  (o) => {
341
- var b, N;
342
- return o.schemaName === ((b = i.value) == null ? void 0 : b.schemaName) && o.name === ((N = i.value) == null ? void 0 : N.name);
341
+ var b, j;
342
+ return o.schemaName === ((b = i.value) == null ? void 0 : b.schemaName) && o.name === ((j = i.value) == null ? void 0 : j.name);
343
343
  }
344
344
  ) ?? {}
345
345
  );
@@ -354,13 +354,13 @@ const Qe = [
354
354
  );
355
355
  const F = k(
356
356
  () => {
357
- var o, b, N;
358
- return (N = (o = y.value) == null ? void 0 : o.fillGapDimensionOptions) == null ? void 0 : N.includes(((b = i.value) == null ? void 0 : b.option) || "");
357
+ var o, b, j;
358
+ return (j = (o = y.value) == null ? void 0 : o.fillGapDimensionOptions) == null ? void 0 : j.includes(((b = i.value) == null ? void 0 : b.option) || "");
359
359
  }
360
360
  );
361
361
  function U(o) {
362
- var b, N;
363
- (o.schemaName !== ((b = i.value) == null ? void 0 : b.schemaName) || o.name !== ((N = i.value) == null ? void 0 : N.name)) && (i.value = {
362
+ var b, j;
363
+ (o.schemaName !== ((b = i.value) == null ? void 0 : b.schemaName) || o.name !== ((j = i.value) == null ? void 0 : j.name)) && (i.value = {
364
364
  schemaName: o.schemaName,
365
365
  name: o.name,
366
366
  option: o.dimensionOptions[0],
@@ -378,8 +378,8 @@ const Qe = [
378
378
  s.value || (i.value.dataFormula = void 0, i.value.displayFormula = void 0), _.value !== void 0 ? o[_.value] = i.value : o.push(i.value), a.value = o, w.value = !1;
379
379
  }
380
380
  function r(o) {
381
- const N = [...g.value.map((te) => te.value)].filter((te, de) => de !== o);
382
- a.value = N;
381
+ const j = [...g.value.map((te) => te.value)].filter((te, de) => de !== o);
382
+ a.value = j;
383
383
  }
384
384
  function B(o) {
385
385
  i.value && (i.value.decimal = Number(o));
@@ -395,7 +395,7 @@ const Qe = [
395
395
  function u(o) {
396
396
  return Array.isArray(o) ? o.length > 0 : o;
397
397
  }
398
- const j = k(
398
+ const N = k(
399
399
  () => n.options.map((o) => ({
400
400
  label: o.labels.join(" "),
401
401
  value: o
@@ -408,9 +408,9 @@ const Qe = [
408
408
  return [o.schemaName, o.name, o.option, o.label || ""].join("__");
409
409
  }
410
410
  const t = k(() => {
411
- var N;
411
+ var j;
412
412
  const o = /* @__PURE__ */ new Map(), b = i.value ? d(i.value) : "";
413
- for (const te of ((N = n.config) == null ? void 0 : N.dimensions) ?? [])
413
+ for (const te of ((j = n.config) == null ? void 0 : j.dimensions) ?? [])
414
414
  b && d(te) === b || o.set($e(te), te);
415
415
  return i.value && o.set($e(i.value), i.value), Array.from(o.values());
416
416
  }), { formulaFieldDataList: A, allowedFormulaFields: z } = sl({
@@ -434,7 +434,7 @@ const Qe = [
434
434
  getAllowedFields: () => z.value
435
435
  });
436
436
  return (o, b) => {
437
- const N = L("FmTextField"), te = L("FmStepperField"), de = L("FmCheckbox"), fe = L("FmForm"), Q = L("FmIcon"), Re = L("FmButton"), Se = L("FmListItem"), Be = L("FmList"), xe = L("FmField");
437
+ const j = L("FmTextField"), te = L("FmStepperField"), de = L("FmCheckbox"), fe = L("FmForm"), Q = L("FmIcon"), Re = L("FmButton"), Se = L("FmListItem"), Be = L("FmList"), xe = L("FmField");
438
438
  return $.max !== 0 ? (f(), E("div", ut, [
439
439
  c(Pe, {
440
440
  modelValue: w.value,
@@ -454,13 +454,13 @@ const Qe = [
454
454
  return [
455
455
  c(be, {
456
456
  "model-value": y.value,
457
- items: j.value,
457
+ items: N.value,
458
458
  placeholder: V.value,
459
459
  label: V.value,
460
460
  "onUpdate:modelValue": b[0] || (b[0] = (ae) => U(ae))
461
461
  }, null, 8, ["model-value", "items", "placeholder", "label"]),
462
462
  i.value ? (f(), E(re, { key: 0 }, [
463
- c(N, {
463
+ c(j, {
464
464
  modelValue: i.value.label,
465
465
  "onUpdate:modelValue": b[1] || (b[1] = (ae) => i.value.label = ae),
466
466
  label: l(v)("report.section.dimension.label")
@@ -542,7 +542,7 @@ const Qe = [
542
542
  "onUpdate:modelValue": b[10] || (b[10] = (ae) => i.value.dataFormula = ae),
543
543
  placeholder: l(v)("report.section.dimension.dataFormula"),
544
544
  "field-data-list": l(A),
545
- "formula-field": l(je).Dimension,
545
+ "formula-field": l(Ne).Dimension,
546
546
  "validation-result": l(J),
547
547
  "is-validating": l(D),
548
548
  "valid-formula-label": l(v)("report.common.validFormula")
@@ -553,7 +553,7 @@ const Qe = [
553
553
  "onUpdate:modelValue": b[11] || (b[11] = (ae) => i.value.displayFormula = ae),
554
554
  placeholder: l(v)("report.section.dimension.displayFormula"),
555
555
  "field-data-list": l(A),
556
- "formula-field": l(je).Dimension,
556
+ "formula-field": l(Ne).Dimension,
557
557
  "validation-result": l(ie),
558
558
  "is-validating": l(m),
559
559
  "valid-formula-label": l(v)("report.common.validFormula")
@@ -723,13 +723,13 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
723
723
  }))
724
724
  ), M = le(n.value.length > 0 ? 0 : void 0);
725
725
  function i(m) {
726
- var o, b, N;
726
+ var o, b, j;
727
727
  g.value = !0, s.value = m != null && m.value ? JSON.parse(
728
728
  JSON.stringify({
729
729
  ...m.value,
730
730
  label: se(e, a, m.value.label, "other")
731
731
  })
732
- ) : void 0, M.value = m == null ? void 0 : m.index, y.value = !!((o = s.value) != null && o.dataFormula || (b = s.value) != null && b.displayFormula), s.value && s.value.formatter === void 0 && m != null && m.value.timeFormatter && s.value.formatter === void 0 && (s.value.formatter = m == null ? void 0 : m.value.timeFormatter, s.value.timeFormatter = void 0), V.hasRowColumn && ((N = V.config.rowIds) == null ? void 0 : N.includes(Ge.value)) === !0 && s.value && s.value.moveToRow === void 0 && (s.value.moveToRow = !0), s.value && (!V.hasXy || s.value.nullable === void 0) && (s.value.nullable = !1);
732
+ ) : void 0, M.value = m == null ? void 0 : m.index, y.value = !!((o = s.value) != null && o.dataFormula || (b = s.value) != null && b.displayFormula), s.value && s.value.formatter === void 0 && m != null && m.value.timeFormatter && s.value.formatter === void 0 && (s.value.formatter = m == null ? void 0 : m.value.timeFormatter, s.value.timeFormatter = void 0), V.hasRowColumn && ((j = V.config.rowIds) == null ? void 0 : j.includes(Ge.value)) === !0 && s.value && s.value.moveToRow === void 0 && (s.value.moveToRow = !0), s.value && (!V.hasXy || s.value.nullable === void 0) && (s.value.nullable = !1);
733
733
  }
734
734
  const s = le(void 0), y = le(!1), F = k(
735
735
  () => V.options.find(
@@ -792,7 +792,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
792
792
  value: m
793
793
  }))
794
794
  );
795
- function j(m) {
795
+ function N(m) {
796
796
  return [m.schemaName, m.name, se(e, a, m.label, "other")].join(" ");
797
797
  }
798
798
  function Y(m) {
@@ -801,8 +801,8 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
801
801
  const d = k(() => {
802
802
  var b;
803
803
  const m = /* @__PURE__ */ new Map(), o = s.value ? Y(s.value) : "";
804
- for (const N of ((b = V.config) == null ? void 0 : b.metrics) ?? [])
805
- o && Y(N) === o || m.set($e(N), N);
804
+ for (const j of ((b = V.config) == null ? void 0 : b.metrics) ?? [])
805
+ o && Y(j) === o || m.set($e(j), j);
806
806
  return s.value && m.set($e(s.value), s.value), Array.from(m.values());
807
807
  }), { formulaFieldDataList: t, allowedFormulaFields: A } = sl({
808
808
  options: k(() => V.options),
@@ -811,7 +811,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
811
811
  return ((m = V.config) == null ? void 0 : m.dimensions) ?? [];
812
812
  }),
813
813
  secondaryFields: d,
814
- getLabel: j
814
+ getLabel: N
815
815
  }), { dataValidation: z, displayValidation: J, isDataValidating: ie, isDisplayValidating: D } = rl({
816
816
  getDataFormula: () => {
817
817
  var m;
@@ -825,7 +825,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
825
825
  getAllowedFields: () => A.value
826
826
  });
827
827
  return (m, o) => {
828
- const b = L("FmTextField"), N = L("FmStepperField"), te = L("FmCheckbox"), de = L("FmForm"), fe = L("FmIcon"), Q = L("FmButton"), Re = L("FmListItem"), Se = L("FmList"), Be = L("FmField");
828
+ const b = L("FmTextField"), j = L("FmStepperField"), te = L("FmCheckbox"), de = L("FmForm"), fe = L("FmIcon"), Q = L("FmButton"), Re = L("FmListItem"), Se = L("FmList"), Be = L("FmField");
829
829
  return f(), E("div", vt, [
830
830
  c(Pe, {
831
831
  modelValue: g.value,
@@ -864,7 +864,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
864
864
  value: Z
865
865
  }))) ?? []
866
866
  }, null, 8, ["modelValue", "label", "items"])) : I("", !0),
867
- r.value ? (f(), R(N, {
867
+ r.value ? (f(), R(j, {
868
868
  key: 1,
869
869
  label: l(e)("report.common.decimal"),
870
870
  "model-value": ((he = s.value) == null ? void 0 : he.decimal) ?? 2,
@@ -931,7 +931,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
931
931
  "onUpdate:modelValue": o[10] || (o[10] = (Z) => s.value.dataFormula = Z),
932
932
  placeholder: l(e)("report.section.metric.dataFormula"),
933
933
  "field-data-list": l(t),
934
- "formula-field": l(je).Metric,
934
+ "formula-field": l(Ne).Metric,
935
935
  "validation-result": l(z),
936
936
  "is-validating": l(ie),
937
937
  "valid-formula-label": l(e)("report.common.validFormula")
@@ -942,7 +942,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
942
942
  "onUpdate:modelValue": o[11] || (o[11] = (Z) => s.value.displayFormula = Z),
943
943
  placeholder: l(e)("report.section.metric.displayFormula"),
944
944
  "field-data-list": l(t),
945
- "formula-field": l(je).Metric,
945
+ "formula-field": l(Ne).Metric,
946
946
  "validation-result": l(J),
947
947
  "is-validating": l(D),
948
948
  "valid-formula-label": l(e)("report.common.validFormula")
@@ -1093,7 +1093,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1093
1093
  primaryFields: k(() => n.dimensions),
1094
1094
  secondaryFields: k(() => n.metrics),
1095
1095
  getLabel: O
1096
- }), { dataValidation: j, isDataValidating: Y } = rl({
1096
+ }), { dataValidation: N, isDataValidating: Y } = rl({
1097
1097
  getDataFormula: () => {
1098
1098
  var d;
1099
1099
  return (d = i.value) == null ? void 0 : d.dataFormula;
@@ -1118,7 +1118,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1118
1118
  class: "flex flex-col gap-2 w-[490px]"
1119
1119
  }, {
1120
1120
  default: K(() => {
1121
- var b, N, te, de, fe;
1121
+ var b, j, te, de, fe;
1122
1122
  return [
1123
1123
  c(be, {
1124
1124
  "model-value": y.value,
@@ -1132,7 +1132,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1132
1132
  key: 0,
1133
1133
  modelValue: i.value.dimensionOption,
1134
1134
  "onUpdate:modelValue": t[1] || (t[1] = (Q) => i.value.dimensionOption = Q),
1135
- items: ((N = y.value) == null ? void 0 : N.dimensionOptions.map((Q) => ({
1135
+ items: ((j = y.value) == null ? void 0 : j.dimensionOptions.map((Q) => ({
1136
1136
  label: r(Q),
1137
1137
  value: Q
1138
1138
  }))) ?? [],
@@ -1172,8 +1172,8 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1172
1172
  "onUpdate:modelValue": t[5] || (t[5] = (Q) => i.value.dataFormula = Q),
1173
1173
  placeholder: l(v)("report.section.sort.dataFormula"),
1174
1174
  "field-data-list": l(C),
1175
- "formula-field": ((fe = y.value) == null ? void 0 : fe.type) === "NUMERIC" ? l(je).Metric : l(je).Dimension,
1176
- "validation-result": l(j),
1175
+ "formula-field": ((fe = y.value) == null ? void 0 : fe.type) === "NUMERIC" ? l(Ne).Metric : l(Ne).Dimension,
1176
+ "validation-result": l(N),
1177
1177
  "is-validating": l(Y),
1178
1178
  "valid-formula-label": l(v)("report.common.validFormula")
1179
1179
  }, null, 8, ["modelValue", "placeholder", "field-data-list", "formula-field", "validation-result", "is-validating", "valid-formula-label"])) : I("", !0)
@@ -1196,20 +1196,20 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1196
1196
  "item-key": "id",
1197
1197
  class: "flex flex-col gap-2 w-full"
1198
1198
  }, {
1199
- item: K(({ element: b, index: N }) => [
1199
+ item: K(({ element: b, index: j }) => [
1200
1200
  c(D, {
1201
1201
  class: "!cursor-grab border rounded-md border-neutral-300 h-[40px] !p-[8px]",
1202
- onClick: Ce((te) => M(g.value[N]), ["stop"])
1202
+ onClick: Ce((te) => M(g.value[j]), ["stop"])
1203
1203
  }, {
1204
1204
  default: K(() => [
1205
1205
  c(J, { name: "drag_handle" }),
1206
- h("p", xt, G(g.value[N].label), 1),
1206
+ h("p", xt, G(g.value[j].label), 1),
1207
1207
  t[8] || (t[8] = h("div", { class: "grow" }, null, -1)),
1208
1208
  c(ie, {
1209
1209
  icon: "close",
1210
1210
  size: "md",
1211
1211
  variant: "tertiary",
1212
- onClick: Ce((te) => p(N), ["stop"])
1212
+ onClick: Ce((te) => p(j), ["stop"])
1213
1213
  }, null, 8, ["onClick"])
1214
1214
  ]),
1215
1215
  _: 2
@@ -1285,12 +1285,12 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1285
1285
  const { t: v, te: e } = ce(), a = ge($, "modelValue"), n = $, V = k(() => v(`report.section.condition.${n.label}`)), w = le(!1), g = k(
1286
1286
  () => a.value.map((C, u) => {
1287
1287
  var d, t;
1288
- const j = n.joinFieldOptions.find(
1288
+ const N = n.joinFieldOptions.find(
1289
1289
  (A) => {
1290
1290
  var z, J;
1291
1291
  return A.schemaName === ((z = C.joinDimension) == null ? void 0 : z.schemaName) && A.name === ((J = C.joinDimension) == null ? void 0 : J.name);
1292
1292
  }
1293
- ), Y = (j == null ? void 0 : j.labels) || [
1293
+ ), Y = (N == null ? void 0 : N.labels) || [
1294
1294
  (d = C.joinDimension) == null ? void 0 : d.schemaName,
1295
1295
  (t = C.joinDimension) == null ? void 0 : t.name
1296
1296
  ];
@@ -1311,8 +1311,8 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1311
1311
  const i = le(void 0), s = k(
1312
1312
  () => n.joinFieldOptions.find(
1313
1313
  (C) => {
1314
- var u, j;
1315
- return C.schemaName === ((j = (u = i.value) == null ? void 0 : u.joinDimension) == null ? void 0 : j.schemaName) && C.name === i.value.joinDimension.name;
1314
+ var u, N;
1315
+ return C.schemaName === ((N = (u = i.value) == null ? void 0 : u.joinDimension) == null ? void 0 : N.schemaName) && C.name === i.value.joinDimension.name;
1316
1316
  }
1317
1317
  ) ?? {}
1318
1318
  ), y = k(
@@ -1320,7 +1320,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1320
1320
  var C;
1321
1321
  return (((C = i.value) == null ? void 0 : C.mainDimensions) || []).map(
1322
1322
  (u) => n.mainFieldOptions.find(
1323
- (j) => j.schemaName === (u == null ? void 0 : u.schemaName) && j.name === u.name
1323
+ (N) => N.schemaName === (u == null ? void 0 : u.schemaName) && N.name === u.name
1324
1324
  ) ?? {}
1325
1325
  );
1326
1326
  }
@@ -1328,8 +1328,8 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1328
1328
  () => n.joinFieldOptions.map((C) => ({ label: C.labels.join(" "), value: C }))
1329
1329
  );
1330
1330
  function U(C) {
1331
- var u, j, Y, d;
1332
- i.value && (i.value && C.schemaName !== ((j = (u = i.value) == null ? void 0 : u.joinDimension) == null ? void 0 : j.schemaName) || C.name !== ((d = (Y = i.value) == null ? void 0 : Y.joinDimension) == null ? void 0 : d.name)) && (i.value = {
1331
+ var u, N, Y, d;
1332
+ i.value && (i.value && C.schemaName !== ((N = (u = i.value) == null ? void 0 : u.joinDimension) == null ? void 0 : N.schemaName) || C.name !== ((d = (Y = i.value) == null ? void 0 : Y.joinDimension) == null ? void 0 : d.name)) && (i.value = {
1333
1333
  ...i.value,
1334
1334
  joinDimension: {
1335
1335
  schemaName: C.schemaName,
@@ -1341,8 +1341,8 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1341
1341
  }, C.joinConditionOperators.includes(i.value.operator) || r(C.joinConditionOperators[0]));
1342
1342
  }
1343
1343
  function p(C, u) {
1344
- var j, Y, d, t;
1345
- if (i.value && u >= 0 && (i.value && C.schemaName !== ((Y = (j = i.value) == null ? void 0 : j.mainDimensions[u]) == null ? void 0 : Y.schemaName) || C.name !== ((t = (d = i.value) == null ? void 0 : d.mainDimensions[u]) == null ? void 0 : t.name))) {
1344
+ var N, Y, d, t;
1345
+ if (i.value && u >= 0 && (i.value && C.schemaName !== ((Y = (N = i.value) == null ? void 0 : N.mainDimensions[u]) == null ? void 0 : Y.schemaName) || C.name !== ((t = (d = i.value) == null ? void 0 : d.mainDimensions[u]) == null ? void 0 : t.name))) {
1346
1346
  const A = [...i.value.mainDimensions];
1347
1347
  A[u] = {
1348
1348
  schemaName: C.schemaName,
@@ -1382,11 +1382,11 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1382
1382
  ), _.value !== void 0 ? C[_.value] = i.value : C.push(i.value)), a.value = C, w.value = !1;
1383
1383
  }
1384
1384
  function O(C) {
1385
- const u = [...g.value.map((j) => j.value)];
1385
+ const u = [...g.value.map((N) => N.value)];
1386
1386
  u.splice(C, 1), a.value = u;
1387
1387
  }
1388
1388
  return (C, u) => {
1389
- const j = L("FmMenuDivider"), Y = L("FmForm"), d = L("FmIcon"), t = L("FmButton"), A = L("FmListItem"), z = L("FmList"), J = L("FmField");
1389
+ const N = L("FmMenuDivider"), Y = L("FmForm"), d = L("FmIcon"), t = L("FmButton"), A = L("FmListItem"), z = L("FmList"), J = L("FmField");
1390
1390
  return f(), E("div", _t, [
1391
1391
  c(Pe, {
1392
1392
  modelValue: w.value,
@@ -1407,30 +1407,30 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1407
1407
  "model-value": s.value,
1408
1408
  items: F.value,
1409
1409
  placeholder: l(v)("report.section.condition.joinDimension"),
1410
- "onUpdate:modelValue": u[0] || (u[0] = (N) => U(N))
1410
+ "onUpdate:modelValue": u[0] || (u[0] = (j) => U(j))
1411
1411
  }, null, 8, ["label", "model-value", "items", "placeholder"]),
1412
- c(j),
1412
+ c(N),
1413
1413
  (ie = i.value) != null && ie.joinDimension && (((D = s.value) == null ? void 0 : D.dimensionOptions) || []).length > 0 ? (f(), R(be, {
1414
1414
  key: 0,
1415
1415
  modelValue: i.value.joinDimension.option,
1416
- "onUpdate:modelValue": u[1] || (u[1] = (N) => i.value.joinDimension.option = N),
1416
+ "onUpdate:modelValue": u[1] || (u[1] = (j) => i.value.joinDimension.option = j),
1417
1417
  label: l(v)("report.section.condition.format"),
1418
- items: ((m = s.value) == null ? void 0 : m.dimensionOptions.map((N) => ({
1419
- label: l(e)(`report.section.filter.${l(Oe)(N)}`) ? l(v)(`report.section.filter.${l(Oe)(N)}`) : N,
1420
- value: N
1418
+ items: ((m = s.value) == null ? void 0 : m.dimensionOptions.map((j) => ({
1419
+ label: l(e)(`report.section.filter.${l(Oe)(j)}`) ? l(v)(`report.section.filter.${l(Oe)(j)}`) : j,
1420
+ value: j
1421
1421
  }))) ?? []
1422
1422
  }, null, 8, ["modelValue", "label", "items"])) : I("", !0),
1423
1423
  i.value && (((o = s.value) == null ? void 0 : o.joinConditionOperators) || []).length > 0 ? (f(), R(be, {
1424
1424
  key: 1,
1425
1425
  "model-value": i.value.operator,
1426
1426
  label: l(v)("report.section.condition.operator"),
1427
- items: s.value.joinConditionOperators.map((N) => ({
1428
- label: l(v)("report.section.comparisonOperator." + N),
1429
- value: N
1427
+ items: s.value.joinConditionOperators.map((j) => ({
1428
+ label: l(v)("report.section.comparisonOperator." + j),
1429
+ value: j
1430
1430
  })) ?? [],
1431
1431
  "onUpdate:modelValue": r
1432
1432
  }, null, 8, ["model-value", "label", "items"])) : I("", !0),
1433
- (f(!0), E(re, null, Ve(((b = i.value) == null ? void 0 : b.mainDimensions) || [], (N, te) => {
1433
+ (f(!0), E(re, null, Ve(((b = i.value) == null ? void 0 : b.mainDimensions) || [], (j, te) => {
1434
1434
  var de, fe;
1435
1435
  return f(), E("div", {
1436
1436
  key: te,
@@ -1445,16 +1445,16 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1445
1445
  })),
1446
1446
  "onUpdate:modelValue": (Q) => p(Q, te)
1447
1447
  }, null, 8, ["model-value", "label", "items", "onUpdate:modelValue"]),
1448
- N && (((de = y.value[te]) == null ? void 0 : de.dimensionOptions) || []).length > 0 && N ? (f(), R(be, {
1448
+ j && (((de = y.value[te]) == null ? void 0 : de.dimensionOptions) || []).length > 0 && j ? (f(), R(be, {
1449
1449
  key: 0,
1450
- modelValue: N.option,
1451
- "onUpdate:modelValue": (Q) => N.option = Q,
1450
+ modelValue: j.option,
1451
+ "onUpdate:modelValue": (Q) => j.option = Q,
1452
1452
  items: (fe = y.value[te]) == null ? void 0 : fe.dimensionOptions.map((Q) => ({
1453
1453
  label: l(e)(`report.section.filter.${l(Oe)(Q)}`) ? l(v)(`report.section.filter.${l(Oe)(Q)}`) : Q,
1454
1454
  value: Q
1455
1455
  }))
1456
1456
  }, null, 8, ["modelValue", "onUpdate:modelValue", "items"])) : I("", !0),
1457
- c(j)
1457
+ c(N)
1458
1458
  ]);
1459
1459
  }), 128))
1460
1460
  ];
@@ -1557,7 +1557,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1557
1557
  },
1558
1558
  { deep: !0 }
1559
1559
  );
1560
- const a = $, n = v, { schemas: V } = Ne(Fl()), { editingReport: w } = Ne(kl()), g = k(() => {
1560
+ const a = $, n = v, { schemas: V } = je(Fl()), { editingReport: w } = je(kl()), g = k(() => {
1561
1561
  var d;
1562
1562
  return ((d = w.value) == null ? void 0 : d.queryVersion) === "v2";
1563
1563
  }), { t: _, te: M, locale: i } = ce(), s = k(() => !a.mainDatasourceConfig), y = k(
@@ -1623,7 +1623,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1623
1623
  label: M(`report.section.datasource.periodType.${d}`) ? _(`report.section.datasource.periodType.${d}`) : d,
1624
1624
  value: fl[d]
1625
1625
  }))
1626
- ]), j = k(() => [
1626
+ ]), N = k(() => [
1627
1627
  { label: _("report.section.datasource.joinType.left"), value: "LEFT" },
1628
1628
  { label: _("report.section.datasource.joinType.fullOuter"), value: "FULL_OUTER" }
1629
1629
  ]), Y = k(() => [
@@ -1803,7 +1803,7 @@ const vt = { class: "flex flex-col my-2 gap-8" }, ft = { class: "fm-typo-en-body
1803
1803
  key: 12,
1804
1804
  "model-value": e.value.joinType ?? "LEFT",
1805
1805
  label: l(_)("report.section.datasource.joinType.label"),
1806
- items: j.value,
1806
+ items: N.value,
1807
1807
  "onUpdate:modelValue": t[22] || (t[22] = (D) => {
1808
1808
  e.value.joinType = D;
1809
1809
  })
@@ -1924,7 +1924,7 @@ function Dl($, v = 600) {
1924
1924
  resetStyleEditing: n
1925
1925
  };
1926
1926
  }
1927
- const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-600" }, Nt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, Rt = { class: "flex gap-16" }, zt = { class: "flex flex-col gap-8 max-w-[120px]" }, It = { class: "fm-typo-en-body-lg-600" }, Pt = { class: "flex flex-col gap-16" }, Et = { class: "fm-typo-en-body-lg-600" }, Wt = { class: "flex flex-row gap-8" }, Xt = /* @__PURE__ */ ue({
1927
+ const Ot = { class: "flex flex-col gap-5" }, Nt = { class: "fm-typo-en-body-lg-600" }, jt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, Rt = { class: "flex gap-16" }, zt = { class: "flex flex-col gap-8 max-w-[120px]" }, It = { class: "fm-typo-en-body-lg-600" }, Pt = { class: "flex flex-col gap-16" }, Et = { class: "fm-typo-en-body-lg-600" }, Wt = { class: "flex flex-row gap-8" }, Xt = /* @__PURE__ */ ue({
1928
1928
  __name: "TitleSection",
1929
1929
  props: /* @__PURE__ */ pe({
1930
1930
  title: {},
@@ -1981,7 +1981,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
1981
1981
  }
1982
1982
  });
1983
1983
  return (r, B) => {
1984
- const O = L("FmTextField"), C = L("FmTextarea"), u = L("FmStepperField"), j = L("FmButton"), Y = L("FmSwitch");
1984
+ const O = L("FmTextField"), C = L("FmTextarea"), u = L("FmStepperField"), N = L("FmButton"), Y = L("FmSwitch");
1985
1985
  return f(), E(re, null, [
1986
1986
  h("div", Ot, [
1987
1987
  c(O, {
@@ -1998,8 +1998,8 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
1998
1998
  "helper-text": l(w)("report.tile.widget.descriptionHelper")
1999
1999
  }, {
2000
2000
  label: K(() => [
2001
- h("p", jt, G(l(w)("report.tile.widget.widgetDescription")), 1),
2002
- h("p", Nt, " (" + G(l(w)("report.tile.widget.optional")) + ") ", 1)
2001
+ h("p", Nt, G(l(w)("report.tile.widget.widgetDescription")), 1),
2002
+ h("p", jt, " (" + G(l(w)("report.tile.widget.optional")) + ") ", 1)
2003
2003
  ]),
2004
2004
  _: 1
2005
2005
  }, 8, ["modelValue", "disabled", "placeholder", "helper-text"]),
@@ -2017,7 +2017,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2017
2017
  h("div", Pt, [
2018
2018
  h("p", Et, G(l(w)("report.section.datasource.title.textStyleFormat")), 1),
2019
2019
  h("div", Wt, [
2020
- c(j, {
2020
+ c(N, {
2021
2021
  "append-icon": "format_bold",
2022
2022
  "model-value": r.model.titleBold ?? !1,
2023
2023
  variant: "tertiary",
@@ -2026,7 +2026,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2026
2026
  class: "rounded-sm",
2027
2027
  onClick: B[3] || (B[3] = (d) => F.value = !F.value)
2028
2028
  }, null, 8, ["model-value", "icon-color", "bg-color"]),
2029
- c(j, {
2029
+ c(N, {
2030
2030
  "append-icon": "format_italic",
2031
2031
  "model-value": r.model.titleItalic ?? !1,
2032
2032
  "icon-color": r.model.titleItalic ? "neutral-gray-400" : "neutral-gray-300",
@@ -2034,7 +2034,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2034
2034
  class: "rounded-sm",
2035
2035
  onClick: B[4] || (B[4] = (d) => U.value = !U.value)
2036
2036
  }, null, 8, ["model-value", "icon-color", "bg-color"]),
2037
- c(j, {
2037
+ c(N, {
2038
2038
  "append-icon": "format_underlined",
2039
2039
  "model-value": r.model.titleUnderline ?? !1,
2040
2040
  "icon-color": r.model.titleUnderline ? "neutral-gray-400" : "neutral-gray-300",
@@ -2079,12 +2079,12 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2079
2079
  }),
2080
2080
  emits: /* @__PURE__ */ pe(["hideConfiguration"], ["update:modelValue", "update:isEditingStyle"]),
2081
2081
  setup($, { emit: v }) {
2082
- var j, Y;
2083
- const e = tt(), { dateRange: a, timezone: n } = Ne(e), V = {
2082
+ var N, Y;
2083
+ const e = tt(), { dateRange: a, timezone: n } = je(e), V = {
2084
2084
  startDate: a.value.startDate,
2085
2085
  endDate: a.value.endDate
2086
2086
  }, w = le({
2087
- startDate: (j = He(a.value.startDate)) == null ? void 0 : j.tz(n.value).format(hl),
2087
+ startDate: (N = He(a.value.startDate)) == null ? void 0 : N.tz(n.value).format(hl),
2088
2088
  endDate: (Y = He(a.value.endDate)) == null ? void 0 : Y.tz(n.value).format(hl)
2089
2089
  });
2090
2090
  we(
@@ -2352,8 +2352,8 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2352
2352
  Fe(h("div", Jt, [
2353
2353
  h("p", Kt, G(l(n)("report.section.datasource.alignment.textAlignment")), 1),
2354
2354
  h("div", Qt, [
2355
- (f(), E(re, null, Ve(s, ({ icon: u, value: j, tooltip: Y }) => c(B, {
2356
- key: j,
2355
+ (f(), E(re, null, Ve(s, ({ icon: u, value: N, tooltip: Y }) => c(B, {
2356
+ key: N,
2357
2357
  variant: "plain",
2358
2358
  placement: "top",
2359
2359
  content: l(n)(`report.section.datasource.alignment.alignOptions.${Y}`),
@@ -2363,10 +2363,10 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2363
2363
  c(r, {
2364
2364
  "append-icon": u,
2365
2365
  variant: "tertiary",
2366
- "icon-color": F.model.labelAlign === j ? "neutral-gray-400" : "neutral-gray-300",
2367
- "bg-color": F.model.labelAlign === j ? "neutral-gray-100" : "neutral-white",
2366
+ "icon-color": F.model.labelAlign === N ? "neutral-gray-400" : "neutral-gray-300",
2367
+ "bg-color": F.model.labelAlign === N ? "neutral-gray-100" : "neutral-white",
2368
2368
  class: "rounded-sm",
2369
- onClick: (d) => M(j)
2369
+ onClick: (d) => M(N)
2370
2370
  }, null, 8, ["append-icon", "icon-color", "bg-color", "onClick"])
2371
2371
  ]),
2372
2372
  _: 2
@@ -2374,8 +2374,8 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2374
2374
  ]),
2375
2375
  h("p", Zt, G(l(n)("report.section.datasource.alignment.anchor")), 1),
2376
2376
  h("div", eo, [
2377
- (f(), E(re, null, Ve(y, ({ icon: u, value: j, tooltip: Y }) => c(B, {
2378
- key: j,
2377
+ (f(), E(re, null, Ve(y, ({ icon: u, value: N, tooltip: Y }) => c(B, {
2378
+ key: N,
2379
2379
  variant: "plain",
2380
2380
  placement: "top",
2381
2381
  content: l(n)(`report.section.datasource.alignment.anchorOptions.${Y}`),
@@ -2385,10 +2385,10 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2385
2385
  c(r, {
2386
2386
  "append-icon": u,
2387
2387
  variant: "tertiary",
2388
- "icon-color": F.model.labelAnchor === j ? "neutral-gray-400" : "neutral-gray-300",
2389
- "bg-color": F.model.labelAnchor === j ? "neutral-gray-100" : "neutral-white",
2388
+ "icon-color": F.model.labelAnchor === N ? "neutral-gray-400" : "neutral-gray-300",
2389
+ "bg-color": F.model.labelAnchor === N ? "neutral-gray-100" : "neutral-white",
2390
2390
  class: "rounded-sm",
2391
- onClick: (d) => i(j)
2391
+ onClick: (d) => i(N)
2392
2392
  }, null, 8, ["append-icon", "icon-color", "bg-color", "onClick"])
2393
2393
  ]),
2394
2394
  _: 2
@@ -2734,7 +2734,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2734
2734
  }, To = { class: "fm-shadow-light-100 rounded-md border border-fm-color-neutral-gray-100 bg-fm-color-neutral-white p-10" }, $o = { class: "mb-8 flex min-w-0 items-center gap-[8px] pb-8" }, Do = ["title"], Uo = ["title"], Bo = { class: "flex w-full items-center gap-8 sm:w-auto sm:shrink-0" }, Ao = ["aria-label"], Lo = { class: "min-w-0 truncate text-[12px] uppercase leading-none tracking-[0.02em]" }, Mo = ["value", "disabled", "onInput", "onChange"], Oo = {
2735
2735
  key: 0,
2736
2736
  class: "flex items-center gap-8"
2737
- }, De = 10, jo = /* @__PURE__ */ ue({
2737
+ }, De = 10, No = /* @__PURE__ */ ue({
2738
2738
  __name: "ChartColorSection",
2739
2739
  props: {
2740
2740
  model: {},
@@ -2839,12 +2839,12 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2839
2839
  });
2840
2840
  });
2841
2841
  }
2842
- const j = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;
2842
+ const N = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;
2843
2843
  function Y(x) {
2844
2844
  if (!x)
2845
2845
  return null;
2846
2846
  const S = x.trim();
2847
- if (!j.test(S))
2847
+ if (!N.test(S))
2848
2848
  return null;
2849
2849
  if (S.length === 4) {
2850
2850
  const T = S.charAt(1), P = S.charAt(2), H = S.charAt(3);
@@ -2880,12 +2880,12 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2880
2880
  }
2881
2881
  return T;
2882
2882
  }
2883
- const z = k(() => N.value === ne.series ? i(F.value) : M(N.value)), J = k(
2883
+ const z = k(() => j.value === ne.series ? i(F.value) : M(j.value)), J = k(
2884
2884
  () => Array.from({ length: z.value.length }).map((x, S) => ({
2885
2885
  label: `L${S + 1}`,
2886
2886
  value: S + 1
2887
2887
  }))
2888
- ), ie = k(() => typeof e.showLayerControl == "boolean" ? e.showLayerControl : !!e.model.stackBarOverlap), D = le([]), m = le([]), o = le([]), b = le(!0), N = le(ne.series), te = le(!0), de = le(!1), fe = le(!1);
2888
+ ), ie = k(() => typeof e.showLayerControl == "boolean" ? e.showLayerControl : !!e.model.stackBarOverlap), D = le([]), m = le([]), o = le([]), b = le(!0), j = le(ne.series), te = le(!0), de = le(!1), fe = le(!1);
2889
2889
  we(
2890
2890
  [
2891
2891
  () => e.model.chartColors,
@@ -2897,14 +2897,14 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2897
2897
  () => e.model.joinDatasources
2898
2898
  ],
2899
2899
  ([x, S]) => {
2900
- de.value = !0, N.value = w(S), F.value = s(
2900
+ de.value = !0, j.value = w(S), F.value = s(
2901
2901
  x,
2902
2902
  e.model.chartColorLayers
2903
2903
  ), U.value = p(
2904
2904
  e.model.chartBreakdownColors,
2905
2905
  Math.max(1, y.value.length)
2906
2906
  );
2907
- const T = N.value === ne.series ? F.value : M(N.value).length;
2907
+ const T = j.value === ne.series ? F.value : M(j.value).length;
2908
2908
  D.value = t(x, T), m.value = A(e.model.chartColorLayers, T), b.value = e.model.chartUseSecondaryMetricShades !== !1, o.value = u(
2909
2909
  r.value,
2910
2910
  y.value,
@@ -2915,7 +2915,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2915
2915
  { immediate: !0, deep: !0 }
2916
2916
  );
2917
2917
  function Q() {
2918
- const x = N.value === ne.series, S = N.value === ne.series ? ve.length : M(N.value).length, T = t(void 0, S), P = A(void 0, S), H = D.value.length === T.length && D.value.every((ee, me) => ee === T[me]), W = m.value.length === P.length && m.value.every((ee, me) => ee === P[me]), X = u(
2918
+ const x = j.value === ne.series, S = j.value === ne.series ? ve.length : M(j.value).length, T = t(void 0, S), P = A(void 0, S), H = D.value.length === T.length && D.value.every((ee, me) => ee === T[me]), W = m.value.length === P.length && m.value.every((ee, me) => ee === P[me]), X = u(
2919
2919
  Array.from({ length: ve.length }, (ee, me) => `breakdown-${me + 1}`),
2920
2920
  y.value,
2921
2921
  void 0,
@@ -2923,7 +2923,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2923
2923
  ), oe = o.value.length === X.length && o.value.every((ee, me) => ee === X[me]);
2924
2924
  return {
2925
2925
  ...e.model,
2926
- chartColorBinding: x ? void 0 : N.value,
2926
+ chartColorBinding: x ? void 0 : j.value,
2927
2927
  chartColors: H ? void 0 : [...D.value],
2928
2928
  chartColorLayers: W ? void 0 : [...m.value],
2929
2929
  chartBreakdownColors: oe ? void 0 : [...o.value],
@@ -2943,7 +2943,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2943
2943
  m,
2944
2944
  o,
2945
2945
  b,
2946
- N,
2946
+ j,
2947
2947
  F,
2948
2948
  U
2949
2949
  ],
@@ -2963,10 +2963,10 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
2963
2963
  if (e.limitToSeriesMode)
2964
2964
  return;
2965
2965
  const S = w(x);
2966
- if (S === N.value)
2966
+ if (S === j.value)
2967
2967
  return;
2968
2968
  const T = S === ne.series ? F.value : M(S).length;
2969
- N.value = S, D.value = t(D.value, T), m.value = A(m.value, T), S === ne.breakdown && (o.value = u(
2969
+ j.value = S, D.value = t(D.value, T), m.value = A(m.value, T), S === ne.breakdown && (o.value = u(
2970
2970
  r.value,
2971
2971
  y.value,
2972
2972
  o.value,
@@ -3105,15 +3105,15 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3105
3105
  b.value
3106
3106
  );
3107
3107
  }
3108
- function jl() {
3109
- N.value = ne.series, F.value = ve.length, U.value = ve.length, D.value = t(void 0, ve.length), m.value = A(void 0, ve.length), b.value = !0, o.value = u(
3108
+ function Nl() {
3109
+ j.value = ne.series, F.value = ve.length, U.value = ve.length, D.value = t(void 0, ve.length), m.value = A(void 0, ve.length), b.value = !0, o.value = u(
3110
3110
  Array.from({ length: ve.length }, (x, S) => `breakdown-${S + 1}`),
3111
3111
  y.value,
3112
3112
  void 0,
3113
3113
  !0
3114
3114
  );
3115
3115
  }
3116
- function Nl() {
3116
+ function jl() {
3117
3117
  te.value = !te.value;
3118
3118
  }
3119
3119
  function dl(x) {
@@ -3132,12 +3132,12 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3132
3132
  label: l(n)("report.section.datasource.chartColor.title"),
3133
3133
  "prepend-icon": te.value ? "expand_less" : "expand_more",
3134
3134
  "aria-expanded": te.value ? "true" : "false",
3135
- onClick: Nl
3135
+ onClick: jl
3136
3136
  }, null, 8, ["label", "prepend-icon", "aria-expanded"])
3137
3137
  ]),
3138
3138
  Fe(h("div", ho, [
3139
3139
  c(P, {
3140
- "model-value": N.value,
3140
+ "model-value": j.value,
3141
3141
  items: V.value,
3142
3142
  "onUpdate:modelValue": ye
3143
3143
  }, null, 8, ["model-value", "items"]),
@@ -3148,10 +3148,10 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3148
3148
  size: "md",
3149
3149
  class: "w-full",
3150
3150
  label: l(n)("report.section.datasource.chartColor.reset"),
3151
- onClick: jl
3151
+ onClick: Nl
3152
3152
  }, null, 8, ["label"])
3153
3153
  ]),
3154
- N.value === l(ne).breakdown ? (f(), R(H, {
3154
+ j.value === l(ne).breakdown ? (f(), R(H, {
3155
3155
  key: 0,
3156
3156
  "model-value": b.value,
3157
3157
  value: !1,
@@ -3159,7 +3159,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3159
3159
  "onUpdate:modelValue": S[0] || (S[0] = (W) => Ol(!!W)),
3160
3160
  class: "p-4"
3161
3161
  }, null, 8, ["model-value", "label"])) : I("", !0),
3162
- N.value !== l(ne).breakdown ? (f(), E("div", wo, [
3162
+ j.value !== l(ne).breakdown ? (f(), E("div", wo, [
3163
3163
  (f(!0), E(re, null, Ve(D.value, (W, X) => (f(), E(re, {
3164
3164
  key: `series-color-${X}`
3165
3165
  }, [
@@ -3296,7 +3296,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3296
3296
  ]);
3297
3297
  };
3298
3298
  }
3299
- }), No = { class: "flex flex-col gap-8" }, Ro = { class: "flex items-center justify-between" }, zo = { class: "fm-typo-en-body-lg-600" }, Io = { class: "flex items-center gap-8 text-fm-color-system-info-300" }, Po = { class: "grid grid-cols-2 gap-8" }, Eo = { class: "flex items-center gap-8" }, Wo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xo = /* @__PURE__ */ ue({
3299
+ }), jo = { class: "flex flex-col gap-8" }, Ro = { class: "flex items-center justify-between" }, zo = { class: "fm-typo-en-body-lg-600" }, Io = { class: "flex items-center gap-8 text-fm-color-system-info-300" }, Po = { class: "grid grid-cols-2 gap-8" }, Eo = { class: "flex items-center gap-8" }, Wo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xo = /* @__PURE__ */ ue({
3300
3300
  __name: "ChartLineStyleSection",
3301
3301
  props: {
3302
3302
  model: {}
@@ -3392,7 +3392,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3392
3392
  const z = [...B.value];
3393
3393
  z[t] = s(A), B.value = z;
3394
3394
  }
3395
- function j(t) {
3395
+ function N(t) {
3396
3396
  const A = w(t);
3397
3397
  if (A === O.value)
3398
3398
  return;
@@ -3412,7 +3412,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3412
3412
  }
3413
3413
  return (t, A) => {
3414
3414
  const z = L("FmButton"), J = L("FmSelect");
3415
- return f(), E("div", No, [
3415
+ return f(), E("div", jo, [
3416
3416
  h("div", Ro, [
3417
3417
  h("p", zo, G(l(n)("report.section.datasource.lineStyle.title")), 1),
3418
3418
  h("div", Io, [
@@ -3429,7 +3429,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3429
3429
  "model-value": O.value,
3430
3430
  items: V.value,
3431
3431
  label: l(n)("report.section.datasource.styleTarget.title"),
3432
- "onUpdate:modelValue": j
3432
+ "onUpdate:modelValue": N
3433
3433
  }, null, 8, ["model-value", "items", "label"]),
3434
3434
  h("div", Po, [
3435
3435
  (f(!0), E(re, null, Ve(B.value, (ie, D) => (f(), E("div", {
@@ -3536,7 +3536,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3536
3536
  onClick: y[0] || (y[0] = Ce((r) => n("click-close"), ["stop"]))
3537
3537
  })) : I("", !0),
3538
3538
  h("div", qo, [
3539
- a.config.hasChart ? (f(), R(jo, {
3539
+ a.config.hasChart ? (f(), R(No, {
3540
3540
  key: 0,
3541
3541
  model: e.value,
3542
3542
  "show-layer-control": g.value && i.value,
@@ -3739,9 +3739,9 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3739
3739
  }
3740
3740
  }), r = k(() => {
3741
3741
  var C, u;
3742
- return y.value ? ((u = (C = M.tableResponse) == null ? void 0 : C.columns) == null ? void 0 : u.map((j) => ({
3743
- key: j.key,
3744
- label: j.label
3742
+ return y.value ? ((u = (C = M.tableResponse) == null ? void 0 : C.columns) == null ? void 0 : u.map((N) => ({
3743
+ key: N.key,
3744
+ label: N.label
3745
3745
  }))) ?? [] : [];
3746
3746
  });
3747
3747
  function B() {
@@ -3751,7 +3751,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3751
3751
  w.value = !1, _();
3752
3752
  }
3753
3753
  return (C, u) => {
3754
- const j = L("FmCircularProgress"), Y = L("FmButton");
3754
+ const N = L("FmCircularProgress"), Y = L("FmButton");
3755
3755
  return w.value ? (f(), E("div", ca, [
3756
3756
  c(Je, {
3757
3757
  "model-value": w.value,
@@ -3772,7 +3772,7 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3772
3772
  "onUpdate:layout": u[2] || (u[2] = (d) => U.value = d),
3773
3773
  columns: r.value
3774
3774
  }, null, 8, ["layout", "columns"])) : I("", !0)
3775
- ])) : (f(), R(j, { key: 0 }))
3775
+ ])) : (f(), R(N, { key: 0 }))
3776
3776
  ])) : (f(), E("div", {
3777
3777
  key: 1,
3778
3778
  class: ke([
@@ -3987,9 +3987,9 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
3987
3987
  }, Ra = /* @__PURE__ */ ue({
3988
3988
  __name: "TileEditor",
3989
3989
  setup($) {
3990
- const v = Pl(), e = El(), a = kl(), { globalFilters: n } = Ne(Jl()), { currentSelectWidgetType: V, editingReport: w, editingTile: g, editingTileIndex: _ } = Ne(a), { breakpoints: M } = Sl(), { promptMessage: i } = Vl(), { t: s, te: y } = ce(), F = k(() => {
3991
- var u, j;
3992
- const O = (j = (u = g.value) == null ? void 0 : u.widget) == null ? void 0 : j.type;
3990
+ const v = Pl(), e = El(), a = kl(), { globalFilters: n } = je(Jl()), { currentSelectWidgetType: V, editingReport: w, editingTile: g, editingTileIndex: _ } = je(a), { breakpoints: M } = Sl(), { promptMessage: i } = Vl(), { t: s, te: y } = ce(), F = k(() => {
3991
+ var u, N;
3992
+ const O = (N = (u = g.value) == null ? void 0 : u.widget) == null ? void 0 : N.type;
3993
3993
  if (!O)
3994
3994
  return s("report.editor.newReport");
3995
3995
  const C = `report.widget.types.${O.toLowerCase()}`;
@@ -4005,8 +4005,8 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
4005
4005
  title: s("report.tile.save.title"),
4006
4006
  message: s("report.tile.save.confirm", { title: ((u = (C = g.value) == null ? void 0 : C.widget) == null ? void 0 : u.title) ?? "" })
4007
4007
  }) && g.value) {
4008
- const j = Ql(w.value.tiles, pl.value);
4009
- _.value === -1 ? j.push(g.value) : j[_.value] = g.value, p();
4008
+ const N = Ql(w.value.tiles, pl.value);
4009
+ _.value === -1 ? N.push(g.value) : N[_.value] = g.value, p();
4010
4010
  }
4011
4011
  }
4012
4012
  async function B() {
@@ -4028,8 +4028,8 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
4028
4028
  { label: l(s)("report.common.cancel"), value: "cancel", isPrimary: !1 },
4029
4029
  { label: l(s)("report.common.save"), value: "save", isPrimary: !0 }
4030
4030
  ],
4031
- "onClick:action": C[0] || (C[0] = (j) => {
4032
- j === "cancel" && B(), j === "save" && r();
4031
+ "onClick:action": C[0] || (C[0] = (N) => {
4032
+ N === "cancel" && B(), N === "save" && r();
4033
4033
  })
4034
4034
  }, {
4035
4035
  title: K(() => [
@@ -4037,8 +4037,8 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
4037
4037
  ]),
4038
4038
  _: 1
4039
4039
  }, 8, ["actions"]),
4040
- l(g) && (l(n) || []).some((j) => {
4041
- const Y = j.tileIds, d = l(g) && l(g).id;
4040
+ l(g) && (l(n) || []).some((N) => {
4041
+ const Y = N.tileIds, d = l(g) && l(g).id;
4042
4042
  return Array.isArray(Y) && typeof d == "string" && Y.includes(d);
4043
4043
  }) ? (f(), E("div", Va, [
4044
4044
  c(Kl)
@@ -4046,12 +4046,12 @@ const Ot = { class: "flex flex-col gap-5" }, jt = { class: "fm-typo-en-body-lg-6
4046
4046
  l(g) ? (f(), R(wl(l(M).lg || l(M).md ? Ca : Fa), {
4047
4047
  key: 1,
4048
4048
  modelValue: l(g),
4049
- "onUpdate:modelValue": C[1] || (C[1] = (j) => Il(g) ? g.value = j : null),
4049
+ "onUpdate:modelValue": C[1] || (C[1] = (N) => Il(g) ? g.value = N : null),
4050
4050
  class: ke(`${l(M).lg || l(M).md ? "flex" : ""} w-full`),
4051
4051
  style: ol({ height: `calc( 100% - ${l(M).lg || l(M).md ? 72 : 64}px)` }),
4052
4052
  "hide-configuration": U.value,
4053
4053
  index: Number(l(v).params.tileIndex),
4054
- onHideConfiguration: C[2] || (C[2] = (j) => U.value = j)
4054
+ onHideConfiguration: C[2] || (C[2] = (N) => U.value = N)
4055
4055
  }, null, 40, ["modelValue", "class", "style", "hide-configuration", "index"])) : I("", !0)
4056
4056
  ]),
4057
4057
  _: 1