@feedmepos/mf-report 5.19.21 → 5.19.23-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/{App-Ukq6UyUP.js → App-Dl4FEwnr.js} +31 -31
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-g-uxOKsk.js → BaseDialog.vue_vue_type_script_setup_true_lang-BMUdA00d.js} +2 -2
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-cfshXMB2.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js} +1 -1
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-CKFgPJYQ.js → Default.vue_vue_type_script_setup_true_lang-B4KGPc-A.js} +2 -2
  5. package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-CaNN2UuW.js → FilterSelector.vue_vue_type_script_setup_true_lang-Bp0VTpqx.js} +6 -6
  6. package/dist/{InsightView-C454vlgZ.js → InsightView-VRhKOgcg.js} +5 -5
  7. package/dist/{Integration-CPVZguLL.js → Integration-BovNO2yX.js} +2 -2
  8. package/dist/{Integrations-jn20KmcD.js → Integrations-DIXSWGS_.js} +3 -3
  9. package/dist/{Layout-D5Wd65PM.js → Layout-Djm1HkoE.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-D-WSq7fL.js → MenuTab.vue_vue_type_script_setup_true_lang-BRCHCYha.js} +5 -5
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CmW84nrF.js → NavigationTab.vue_vue_type_script_setup_true_lang-BRpEu6MW.js} +4 -4
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-BUoYdn5S.js → NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js} +1 -1
  13. package/dist/{OverviewView-TpvpO6h7.js → OverviewView-BNle5SLL.js} +5 -5
  14. package/dist/{Report-BUofTX7w.js → Report-DUK8tWB1.js} +5 -5
  15. package/dist/{ReportEditor-DDiBdI4N.js → ReportEditor-C55X4vz_.js} +7 -7
  16. package/dist/{ReportView-L-b31EKi.js → ReportView-DAmVomKW.js} +65 -65
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-B2oCOTUH.js → SelectComponent.vue_vue_type_script_setup_true_lang-BcQEW5MO.js} +1 -1
  18. package/dist/{Setting-CuBDsvAT.js → Setting-DgU3IvCo.js} +4 -4
  19. package/dist/{TileEditor-56iZaQx_.js → TileEditor-UfdRj82z.js} +467 -467
  20. package/dist/{TransitionFade-CgWSxrTR.js → TransitionFade-Cqa0p_nG.js} +5 -5
  21. package/dist/app.js +119 -15
  22. package/dist/i18n-DQxDgiLO.js +11 -0
  23. package/dist/{vue-i18n-BQN8HgvD.js → vue-i18n-BJW_sJot.js} +1 -1
  24. package/package.json +1 -1
  25. package/dist/i18n-Cif1I9J2.js +0 -11
@@ -1,16 +1,16 @@
1
- import { defineComponent as A, mergeModels as J, useModel as ee, computed as _, ref as W, resolveComponent as x, createElementBlock as I, openBlock as h, createVNode as m, createElementVNode as C, unref as e, withCtx as $, toDisplayString as L, Fragment as Z, renderList as de, withModifiers as te, createTextVNode as me, watch as se, createCommentVNode as U, createBlock as T, onMounted as ke, onUnmounted as Xe, renderSlot as Ne, onBeforeUnmount as We, resolveDynamicComponent as Oe, normalizeClass as Ie, withDirectives as ae, vShow as ne, normalizeStyle as qe, isRef as He } from "vue";
1
+ import { defineComponent as A, mergeModels as J, useModel as ee, computed as _, ref as W, resolveComponent as x, createElementBlock as I, openBlock as h, createVNode as m, createElementVNode as C, unref as l, withCtx as $, toDisplayString as L, Fragment as Z, renderList as de, withModifiers as ae, createTextVNode as me, watch as se, createCommentVNode as U, createBlock as T, onMounted as ke, onUnmounted as Xe, renderSlot as Ne, onBeforeUnmount as We, resolveDynamicComponent as Oe, normalizeClass as Ie, withDirectives as te, vShow as ne, normalizeStyle as qe, isRef as He } from "vue";
2
2
  import { useRoute as Ye, useRouter as Ee } from "vue-router";
3
- import { h as Je, d as _e, S as we, _ as Ge, W as Ke, b as Qe, T as Ze, a as el } from "./TransitionFade-CgWSxrTR.js";
4
- import { W as B, b as Be, d as pe, D as ll, S as Te, C as ol, P as Ue, a as tl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-g-uxOKsk.js";
3
+ import { h as Je, d as _e, S as we, _ as Ge, W as Ke, b as Qe, T as Ze, a as el } from "./TransitionFade-Cqa0p_nG.js";
4
+ import { W as B, b as Be, d as pe, D as ll, S as Te, C as ol, P as Ue, a as al } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BMUdA00d.js";
5
5
  import { storeToRefs as ue } from "pinia";
6
6
  import { u as Le } from "./message-dialog-UoMWOnil.js";
7
- import { u as Y, h as je, p as al, b as Re, d as ce } from "./vue-i18n-BQN8HgvD.js";
7
+ import { u as Y, h as je, p as tl, b as Re, d as ce } from "./vue-i18n-BJW_sJot.js";
8
8
  import { useSnackbar as nl, useBreakpoints as Me, FmButtonColorThemeVariant as ve } from "@feedmepos/ui-library";
9
- import { _ as K } from "./SelectComponent.vue_vue_type_script_setup_true_lang-B2oCOTUH.js";
10
- import { r as Q } from "./i18n-Cif1I9J2.js";
11
- import { g as fe, u as ge, L as ie, b as Ve, _ as ze, a as il } from "./FilterSelector.vue_vue_type_script_setup_true_lang-CaNN2UuW.js";
12
- import { d as be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-cfshXMB2.js";
13
- import { _ as Pe } from "./NoData.vue_vue_type_script_setup_true_lang-BUoYdn5S.js";
9
+ import { _ as K } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BcQEW5MO.js";
10
+ import { r as Q } from "./i18n-DQxDgiLO.js";
11
+ import { g as fe, u as ge, L as ie, b as Ve, _ as ze, a as il } from "./FilterSelector.vue_vue_type_script_setup_true_lang-Bp0VTpqx.js";
12
+ import { d as be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js";
13
+ import { _ as Pe } from "./NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js";
14
14
  const he = [
15
15
  {
16
16
  type: B.Circular,
@@ -178,7 +178,7 @@ const he = [
178
178
  const b = u.value.schemaNames[0], y = g.value.find((v) => v.name === b), r = ((y == null ? void 0 : y.joins) || []).map((v) => v);
179
179
  return d.value.filter((v) => r.includes(v.raw.name));
180
180
  }
181
- }), p = W(!1), t = W(""), i = W(), f = nl();
181
+ }), p = W(!1), a = W(""), i = W(), f = nl();
182
182
  function N(b) {
183
183
  var y;
184
184
  return Q(
@@ -189,35 +189,35 @@ const he = [
189
189
  );
190
190
  }
191
191
  function D(b) {
192
- i.value = b, p.value = !0, b !== void 0 ? t.value = u.value.schemaNames[b] : t.value = "";
192
+ i.value = b, p.value = !0, b !== void 0 ? a.value = u.value.schemaNames[b] : a.value = "";
193
193
  }
194
194
  function O() {
195
- t.value !== "" ? (i.value !== void 0 ? u.value.schemaNames[i.value] = t.value : u.value.schemaNames.push(t.value), p.value = !1) : f.open({ message: c("report.section.schema.nothingSelected"), type: "error" });
195
+ a.value !== "" ? (i.value !== void 0 ? u.value.schemaNames[i.value] = a.value : u.value.schemaNames.push(a.value), p.value = !1) : f.open({ message: c("report.section.schema.nothingSelected"), type: "error" });
196
196
  }
197
197
  return (b, y) => {
198
- const r = x("FmForm"), v = x("FmIcon"), a = x("FmField");
198
+ const r = x("FmForm"), v = x("FmIcon"), t = x("FmField");
199
199
  return h(), I("div", sl, [
200
200
  m(pe, {
201
201
  modelValue: p.value,
202
- "onUpdate:modelValue": y[1] || (y[1] = (l) => p.value = l),
202
+ "onUpdate:modelValue": y[1] || (y[1] = (e) => p.value = e),
203
203
  title: n.label,
204
- "primary-button-label": e(c)("report.common.confirm"),
205
- "secondary-button-label": e(c)("report.common.cancel"),
204
+ "primary-button-label": l(c)("report.common.confirm"),
205
+ "secondary-button-label": l(c)("report.common.cancel"),
206
206
  onConfirm: O
207
207
  }, {
208
208
  content: $(() => [
209
209
  m(r, { ref: "form" }, {
210
210
  default: $(() => [
211
211
  m(K, {
212
- modelValue: t.value,
213
- "onUpdate:modelValue": y[0] || (y[0] = (l) => t.value = l),
214
- label: e(c)("report.section.schema.title"),
215
- items: i.value === 0 ? d.value.map((l) => ({
216
- label: e(Q)(e(c), e(o), l.label, "schema"),
217
- value: l.value
218
- })) : k.value.map((l) => ({
219
- label: e(Q)(e(c), e(o), l.label, "schema"),
220
- value: l.value
212
+ modelValue: a.value,
213
+ "onUpdate:modelValue": y[0] || (y[0] = (e) => a.value = e),
214
+ label: l(c)("report.section.schema.title"),
215
+ items: i.value === 0 ? d.value.map((e) => ({
216
+ label: l(Q)(l(c), l(o), e.label, "schema"),
217
+ value: e.value
218
+ })) : k.value.map((e) => ({
219
+ label: l(Q)(l(c), l(o), e.label, "schema"),
220
+ value: e.value
221
221
  }))
222
222
  }, null, 8, ["modelValue", "label", "items"])
223
223
  ]),
@@ -227,10 +227,10 @@ const he = [
227
227
  _: 1
228
228
  }, 8, ["modelValue", "title", "primary-button-label", "secondary-button-label"]),
229
229
  C("div", null, [
230
- C("p", ul, L(e(c)("report.section.schema.title")), 1),
231
- C("p", dl, L(e(c)("report.section.schema.description")), 1)
230
+ C("p", ul, L(l(c)("report.section.schema.title")), 1),
231
+ C("p", dl, L(l(c)("report.section.schema.description")), 1)
232
232
  ]),
233
- (h(!0), I(Z, null, de(u.value.schemaNames, (l, s) => (h(), I("div", {
233
+ (h(!0), I(Z, null, de(u.value.schemaNames, (e, s) => (h(), I("div", {
234
234
  key: s,
235
235
  class: "flex flex-col gap-2 w-full"
236
236
  }, [
@@ -238,27 +238,27 @@ const he = [
238
238
  class: "flex items-center gap-2 border rounded-md border-neutral-300 p-2 h-[40px]",
239
239
  onClick: (F) => D(s)
240
240
  }, [
241
- C("p", ml, L(N(l)), 1),
241
+ C("p", ml, L(N(e)), 1),
242
242
  y[3] || (y[3] = C("div", { class: "grow" }, null, -1)),
243
243
  m(v, {
244
244
  name: "close",
245
- onClick: te(
245
+ onClick: ae(
246
246
  () => {
247
- u.value.schemaNames = e(Je)(u.value.schemaNames, s);
247
+ u.value.schemaNames = l(Je)(u.value.schemaNames, s);
248
248
  },
249
249
  ["stop"]
250
250
  )
251
251
  }, null, 8, ["onClick"])
252
252
  ], 8, rl)
253
253
  ]))), 128)),
254
- m(a, {
254
+ m(t, {
255
255
  class: "text-fm-color-typo-tertiary",
256
256
  onClick: y[2] || (y[2] = () => {
257
257
  D();
258
258
  })
259
259
  }, {
260
260
  default: $(() => [
261
- me(L(e(c)("report.section.schema.add")), 1)
261
+ me(L(l(c)("report.section.schema.add")), 1)
262
262
  ]),
263
263
  _: 1
264
264
  })
@@ -302,92 +302,92 @@ const he = [
302
302
  emits: ["update:modelValue"],
303
303
  setup(w) {
304
304
  const { t: c, te: o } = Y(), u = ee(w, "modelValue"), n = w, g = W(!1), d = _(
305
- () => u.value.map((a, l) => ({
306
- index: l,
307
- labels: [a.label || a.name],
308
- value: a
305
+ () => u.value.map((t, e) => ({
306
+ index: e,
307
+ labels: [t.label || t.name],
308
+ value: t
309
309
  }))
310
310
  ), k = W(u.value.length > 0 ? 0 : void 0);
311
- function p(a) {
312
- var l, s, F;
313
- g.value = !0, t.value = a != null && a.value ? JSON.parse(
311
+ function p(t) {
312
+ var e, s, F;
313
+ g.value = !0, a.value = t != null && t.value ? JSON.parse(
314
314
  JSON.stringify({
315
- ...a.value,
316
- label: Q(c, o, (l = a.value) == null ? void 0 : l.label, "other")
315
+ ...t.value,
316
+ label: Q(c, o, (e = t.value) == null ? void 0 : e.label, "other")
317
317
  })
318
- ) : void 0, k.value = a == null ? void 0 : a.index, i.value = !!((s = t.value) != null && s.dataFormula || (F = t.value) != null && F.displayFormula), t.value && t.value.formatter === void 0 && (n.options.find(
318
+ ) : void 0, k.value = t == null ? void 0 : t.index, i.value = !!((s = a.value) != null && s.dataFormula || (F = a.value) != null && F.displayFormula), a.value && a.value.formatter === void 0 && (n.options.find(
319
319
  (V) => {
320
320
  var M, z;
321
- return V.schemaName === ((M = t.value) == null ? void 0 : M.schemaName) && V.name === ((z = t.value) == null ? void 0 : z.name);
321
+ return V.schemaName === ((M = a.value) == null ? void 0 : M.schemaName) && V.name === ((z = a.value) == null ? void 0 : z.name);
322
322
  }
323
- ), a.value.timeFormatter && t.value.formatter === void 0 && (t.value.formatter = a.value.timeFormatter, t.value.timeFormatter = void 0));
323
+ ), t != null && t.value.timeFormatter && a.value.formatter === void 0 && (a.value.formatter = t == null ? void 0 : t.value.timeFormatter, a.value.timeFormatter = void 0));
324
324
  }
325
- const t = W(void 0), i = W(!1), f = _(
325
+ const a = W(void 0), i = W(!1), f = _(
326
326
  () => n.options.find(
327
- (a) => {
328
- var l, s;
329
- return a.schemaName === ((l = t.value) == null ? void 0 : l.schemaName) && a.name === ((s = t.value) == null ? void 0 : s.name);
327
+ (t) => {
328
+ var e, s;
329
+ return t.schemaName === ((e = a.value) == null ? void 0 : e.schemaName) && t.name === ((s = a.value) == null ? void 0 : s.name);
330
330
  }
331
331
  ) ?? {}
332
332
  );
333
333
  se(
334
334
  () => {
335
- var a;
336
- return (a = t.value) == null ? void 0 : a.option;
335
+ var t;
336
+ return (t = a.value) == null ? void 0 : t.option;
337
337
  },
338
338
  () => {
339
- !N.value && t.value && (t.value.fillGap = !1);
339
+ !N.value && a.value && (a.value.fillGap = !1);
340
340
  }
341
341
  );
342
342
  const N = _(
343
343
  () => {
344
- var a, l, s;
345
- return (s = (a = f.value) == null ? void 0 : a.fillGapDimensionOptions) == null ? void 0 : s.includes(((l = t.value) == null ? void 0 : l.option) || "");
344
+ var t, e, s;
345
+ return (s = (t = f.value) == null ? void 0 : t.fillGapDimensionOptions) == null ? void 0 : s.includes(((e = a.value) == null ? void 0 : e.option) || "");
346
346
  }
347
347
  );
348
- function D(a) {
349
- var l, s;
350
- (a.schemaName !== ((l = t.value) == null ? void 0 : l.schemaName) || a.name !== ((s = t.value) == null ? void 0 : s.name)) && (t.value = {
351
- schemaName: a.schemaName,
352
- name: a.name,
353
- option: a.dimensionOptions[0],
354
- label: Q(c, o, a.label, "other"),
355
- decimal: a.isNumericType ? 2 : void 0,
348
+ function D(t) {
349
+ var e, s;
350
+ (t.schemaName !== ((e = a.value) == null ? void 0 : e.schemaName) || t.name !== ((s = a.value) == null ? void 0 : s.name)) && (a.value = {
351
+ schemaName: t.schemaName,
352
+ name: t.name,
353
+ option: t.dimensionOptions[0],
354
+ label: Q(c, o, t.label, "other"),
355
+ decimal: t.isNumericType ? 2 : void 0,
356
356
  hide: !1
357
357
  }, i.value = !1);
358
358
  }
359
359
  function O() {
360
- if (!t.value) {
360
+ if (!a.value) {
361
361
  console.error("new field is undefined");
362
362
  return;
363
363
  }
364
- const a = [...d.value.map((l) => l.value)];
365
- i.value || (t.value.dataFormula = void 0), k.value !== void 0 ? a[k.value] = t.value : a.push(t.value), u.value = a, g.value = !1;
364
+ const t = [...d.value.map((e) => e.value)];
365
+ i.value || (a.value.dataFormula = void 0), k.value !== void 0 ? t[k.value] = a.value : t.push(a.value), u.value = t, g.value = !1;
366
366
  }
367
- function b(a) {
368
- const s = [...d.value.map((F) => F.value)].filter((F, V) => V !== a);
367
+ function b(t) {
368
+ const s = [...d.value.map((F) => F.value)].filter((F, V) => V !== t);
369
369
  u.value = s;
370
370
  }
371
- function y(a) {
372
- t.value && (t.value.decimal = Number(a));
371
+ function y(t) {
372
+ a.value && (a.value.decimal = Number(t));
373
373
  }
374
374
  const r = _(
375
- () => n.options.map((a) => ({
376
- label: a.labels.join(" "),
377
- value: a
375
+ () => n.options.map((t) => ({
376
+ label: t.labels.join(" "),
377
+ value: t
378
378
  }))
379
379
  ), v = _(
380
380
  () => n.label ? n.label : c(`report.section.dimension.${n.label}`)
381
381
  );
382
- return (a, l) => {
382
+ return (t, e) => {
383
383
  const s = x("FmTextField"), F = x("FmStepperField"), V = x("FmCheckbox"), M = x("FmTextarea"), z = x("FmForm"), P = x("FmIcon"), q = x("FmButton"), G = x("FmListItem"), oe = x("FmList"), S = x("FmField");
384
384
  return w.max !== 0 ? (h(), I("div", cl, [
385
385
  m(pe, {
386
386
  modelValue: g.value,
387
- "onUpdate:modelValue": l[12] || (l[12] = (X) => g.value = X),
387
+ "onUpdate:modelValue": e[12] || (e[12] = (X) => g.value = X),
388
388
  title: v.value,
389
- "primary-button-label": e(c)("report.common.confirm"),
390
- "secondary-button-label": e(c)("report.common.cancel"),
389
+ "primary-button-label": l(c)("report.common.confirm"),
390
+ "secondary-button-label": l(c)("report.common.cancel"),
391
391
  onConfirm: O
392
392
  }, {
393
393
  content: $(() => [
@@ -403,37 +403,37 @@ const he = [
403
403
  items: r.value,
404
404
  placeholder: v.value,
405
405
  label: v.value,
406
- "onUpdate:modelValue": l[0] || (l[0] = (j) => D(j))
406
+ "onUpdate:modelValue": e[0] || (e[0] = (j) => D(j))
407
407
  }, null, 8, ["model-value", "items", "placeholder", "label"]),
408
- t.value ? (h(), I(Z, { key: 0 }, [
408
+ a.value ? (h(), I(Z, { key: 0 }, [
409
409
  m(s, {
410
- modelValue: t.value.label,
411
- "onUpdate:modelValue": l[1] || (l[1] = (j) => t.value.label = j),
412
- label: e(c)("report.section.dimension.label")
410
+ modelValue: a.value.label,
411
+ "onUpdate:modelValue": e[1] || (e[1] = (j) => a.value.label = j),
412
+ label: l(c)("report.section.dimension.label")
413
413
  }, null, 8, ["modelValue", "label"]),
414
414
  (((X = f.value) == null ? void 0 : X.dimensionOptions) || []).length > 0 ? (h(), T(K, {
415
415
  key: 0,
416
- modelValue: t.value.option,
417
- "onUpdate:modelValue": l[2] || (l[2] = (j) => t.value.option = j),
416
+ modelValue: a.value.option,
417
+ "onUpdate:modelValue": e[2] || (e[2] = (j) => a.value.option = j),
418
418
  items: ((H = f.value) == null ? void 0 : H.dimensionOptions.map((j) => ({
419
- label: e(Q)(e(c), e(o), j, "field"),
419
+ label: l(Q)(l(c), l(o), j, "field"),
420
420
  value: j
421
421
  }))) ?? []
422
422
  }, null, 8, ["modelValue", "items"])) : U("", !0),
423
423
  (le = f.value) != null && le.isNumericType ? (h(), T(F, {
424
424
  key: 1,
425
- label: e(c)("report.common.decimal"),
426
- "model-value": ((E = t.value) == null ? void 0 : E.decimal) ?? 2,
427
- "onUpdate:modelValue": l[3] || (l[3] = (j) => {
425
+ label: l(c)("report.common.decimal"),
426
+ "model-value": ((E = a.value) == null ? void 0 : E.decimal) ?? 2,
427
+ "onUpdate:modelValue": e[3] || (e[3] = (j) => {
428
428
  y(j);
429
429
  })
430
430
  }, null, 8, ["label", "model-value"])) : U("", !0),
431
431
  (re = f.value) != null && re.isNumericType ? (h(), T(K, {
432
432
  key: 2,
433
- modelValue: t.value.formatter,
434
- "onUpdate:modelValue": l[4] || (l[4] = (j) => t.value.formatter = j),
435
- placeholder: e(c)("report.section.dimension.formatter"),
436
- label: e(c)("report.section.dimension.formatter"),
433
+ modelValue: a.value.formatter,
434
+ "onUpdate:modelValue": e[4] || (e[4] = (j) => a.value.formatter = j),
435
+ placeholder: l(c)("report.section.dimension.formatter"),
436
+ label: l(c)("report.section.dimension.formatter"),
437
437
  items: [
438
438
  { label: "NONE", value: null },
439
439
  ...(((R = f.value) == null ? void 0 : R.formatters) || []).map((j) => ({
@@ -444,53 +444,53 @@ const he = [
444
444
  }, null, 8, ["modelValue", "placeholder", "label", "items"])) : U("", !0),
445
445
  N.value ? (h(), T(V, {
446
446
  key: 3,
447
- "model-value": t.value.fillGap ?? !1,
448
- label: e(c)("report.section.dimension.fillGap"),
447
+ "model-value": a.value.fillGap ?? !1,
448
+ label: l(c)("report.section.dimension.fillGap"),
449
449
  value: "",
450
450
  placeholder: "Fill gap",
451
- "onUpdate:modelValue": l[5] || (l[5] = (j) => {
452
- t.value && (t.value.fillGap = j);
451
+ "onUpdate:modelValue": e[5] || (e[5] = (j) => {
452
+ a.value && (a.value.fillGap = j);
453
453
  })
454
454
  }, null, 8, ["model-value", "label"])) : U("", !0),
455
- ((Se = f.value) == null ? void 0 : Se.type) === e(ll).Timestamp ? (h(), T(V, {
455
+ ((Se = f.value) == null ? void 0 : Se.type) === l(ll).Timestamp ? (h(), T(V, {
456
456
  key: 4,
457
- "model-value": t.value.dateComparison ?? !1,
458
- label: e(c)("report.section.dimension.dateComparison"),
457
+ "model-value": a.value.dateComparison ?? !1,
458
+ label: l(c)("report.section.dimension.dateComparison"),
459
459
  value: "",
460
- "onUpdate:modelValue": l[6] || (l[6] = (j) => {
461
- t.value && (t.value.dateComparison = j);
460
+ "onUpdate:modelValue": e[6] || (e[6] = (j) => {
461
+ a.value && (a.value.dateComparison = j);
462
462
  })
463
463
  }, null, 8, ["model-value", "label"])) : U("", !0),
464
464
  m(V, {
465
- modelValue: t.value.hide,
466
- "onUpdate:modelValue": l[7] || (l[7] = (j) => t.value.hide = j),
467
- label: e(c)("report.section.dimension.hide"),
465
+ modelValue: a.value.hide,
466
+ "onUpdate:modelValue": e[7] || (e[7] = (j) => a.value.hide = j),
467
+ label: l(c)("report.section.dimension.hide"),
468
468
  value: ""
469
469
  }, null, 8, ["modelValue", "label"]),
470
470
  n.hasRowColumn ? (h(), T(V, {
471
471
  key: 5,
472
- modelValue: t.value.moveToColumn,
473
- "onUpdate:modelValue": l[8] || (l[8] = (j) => t.value.moveToColumn = j),
474
- label: e(c)("report.section.dimension.moveToColumn"),
472
+ modelValue: a.value.moveToColumn,
473
+ "onUpdate:modelValue": e[8] || (e[8] = (j) => a.value.moveToColumn = j),
474
+ label: l(c)("report.section.dimension.moveToColumn"),
475
475
  value: ""
476
476
  }, null, 8, ["modelValue", "label"])) : U("", !0),
477
477
  m(V, {
478
478
  modelValue: i.value,
479
- "onUpdate:modelValue": l[9] || (l[9] = (j) => i.value = j),
480
- label: e(c)("report.section.dimension.advance"),
479
+ "onUpdate:modelValue": e[9] || (e[9] = (j) => i.value = j),
480
+ label: l(c)("report.section.dimension.advance"),
481
481
  value: !0
482
482
  }, null, 8, ["modelValue", "label"]),
483
483
  i.value ? (h(), T(M, {
484
484
  key: 6,
485
- modelValue: t.value.dataFormula,
486
- "onUpdate:modelValue": l[10] || (l[10] = (j) => t.value.dataFormula = j),
487
- placeholder: e(c)("report.section.dimension.dataFormula")
485
+ modelValue: a.value.dataFormula,
486
+ "onUpdate:modelValue": e[10] || (e[10] = (j) => a.value.dataFormula = j),
487
+ placeholder: l(c)("report.section.dimension.dataFormula")
488
488
  }, null, 8, ["modelValue", "placeholder"])) : U("", !0),
489
489
  i.value ? (h(), T(M, {
490
490
  key: 7,
491
- modelValue: t.value.displayFormula,
492
- "onUpdate:modelValue": l[11] || (l[11] = (j) => t.value.displayFormula = j),
493
- placeholder: e(c)("report.section.dimension.displayFormula")
491
+ modelValue: a.value.displayFormula,
492
+ "onUpdate:modelValue": e[11] || (e[11] = (j) => a.value.displayFormula = j),
493
+ placeholder: l(c)("report.section.dimension.displayFormula")
494
494
  }, null, 8, ["modelValue", "placeholder"])) : U("", !0)
495
495
  ], 64)) : U("", !0)
496
496
  ];
@@ -502,11 +502,11 @@ const he = [
502
502
  }, 8, ["modelValue", "title", "primary-button-label", "secondary-button-label"]),
503
503
  C("div", null, [
504
504
  C("p", vl, L(v.value), 1),
505
- C("p", fl, L(e(c)("report.section.dimension.description")), 1)
505
+ C("p", fl, L(l(c)("report.section.dimension.description")), 1)
506
506
  ]),
507
507
  m(oe, null, {
508
508
  default: $(() => [
509
- m(e(_e), {
509
+ m(l(_e), {
510
510
  list: u.value,
511
511
  "item-key": "id",
512
512
  class: "flex flex-col gap-2"
@@ -514,17 +514,17 @@ const he = [
514
514
  item: $(({ element: X, index: H }) => [
515
515
  m(G, {
516
516
  class: "!cursor-grab border rounded-md border-neutral-300 h-[40px] !p-[8px]",
517
- onClick: te((le) => p(d.value[H]), ["stop"])
517
+ onClick: ae((le) => p(d.value[H]), ["stop"])
518
518
  }, {
519
519
  default: $(() => [
520
520
  m(P, { name: "drag_handle" }),
521
- C("p", gl, L(e(Q)(e(c), e(o), X.label, "other")), 1),
522
- l[14] || (l[14] = C("div", { class: "grow" }, null, -1)),
521
+ C("p", gl, L(l(Q)(l(c), l(o), X.label, "other")), 1),
522
+ e[14] || (e[14] = C("div", { class: "grow" }, null, -1)),
523
523
  m(q, {
524
524
  icon: "close",
525
525
  size: "md",
526
526
  variant: "tertiary",
527
- onClick: te((le) => b(H), ["stop"])
527
+ onClick: ae((le) => b(H), ["stop"])
528
528
  }, null, 8, ["onClick"])
529
529
  ]),
530
530
  _: 2
@@ -537,12 +537,12 @@ const he = [
537
537
  }),
538
538
  m(S, {
539
539
  class: "text-fm-color-typo-tertiary",
540
- onClick: l[13] || (l[13] = () => {
540
+ onClick: e[13] || (e[13] = () => {
541
541
  p();
542
542
  })
543
543
  }, {
544
544
  default: $(() => [
545
- me(L(e(c)("report.section.dimension.add")), 1)
545
+ me(L(l(c)("report.section.dimension.add")), 1)
546
546
  ]),
547
547
  _: 1
548
548
  })
@@ -638,82 +638,82 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
638
638
  const { t: o, te: u } = Y(), n = ee(w, "modelValue"), g = w;
639
639
  _(() => !!g.max && n.value.length === g.max);
640
640
  const d = W(!1), k = _(
641
- () => n.value.map((l, s) => ({
641
+ () => n.value.map((e, s) => ({
642
642
  index: s,
643
- labels: [l.label || l.name],
644
- value: l
643
+ labels: [e.label || e.name],
644
+ value: e
645
645
  }))
646
646
  ), p = W(n.value.length > 0 ? 0 : void 0);
647
- function t(l) {
647
+ function a(e) {
648
648
  var s, F, V;
649
- d.value = !0, i.value = l != null && l.value ? JSON.parse(
649
+ d.value = !0, i.value = e != null && e.value ? JSON.parse(
650
650
  JSON.stringify({
651
- ...l.value,
652
- label: Q(o, u, l.value.label, "other")
651
+ ...e.value,
652
+ label: Q(o, u, e.value.label, "other")
653
653
  })
654
- ) : void 0, p.value = l == null ? void 0 : l.index, f.value = !!((s = i.value) != null && s.dataFormula || (F = i.value) != null && F.displayFormula), i.value && i.value.formatter === void 0 && (g.options.find(
654
+ ) : void 0, p.value = e == null ? void 0 : e.index, f.value = !!((s = i.value) != null && s.dataFormula || (F = i.value) != null && F.displayFormula), i.value && i.value.formatter === void 0 && (g.options.find(
655
655
  (M) => {
656
656
  var z, P;
657
657
  return M.schemaName === ((z = i.value) == null ? void 0 : z.schemaName) && M.name === ((P = i.value) == null ? void 0 : P.name);
658
658
  }
659
- ), l.value.timeFormatter && i.value.formatter === void 0 && (i.value.formatter = l.value.timeFormatter, i.value.timeFormatter = void 0)), ((V = g.config.rowIds) == null ? void 0 : V.findIndex((M) => M === xe.value)) !== -1 && i.value && (i.value.moveToRow = !0);
659
+ ), e != null && e.value.timeFormatter && i.value.formatter === void 0 && (i.value.formatter = e == null ? void 0 : e.value.timeFormatter, i.value.timeFormatter = void 0)), ((V = g.config.rowIds) == null ? void 0 : V.findIndex((M) => M === xe.value)) !== -1 && i.value && (i.value.moveToRow = !0);
660
660
  }
661
661
  const i = W(void 0), f = W(!1), N = _(
662
662
  () => g.options.find(
663
- (l) => {
663
+ (e) => {
664
664
  var s, F;
665
- return l.schemaName === ((s = i.value) == null ? void 0 : s.schemaName) && l.name === ((F = i.value) == null ? void 0 : F.name);
665
+ return e.schemaName === ((s = i.value) == null ? void 0 : s.schemaName) && e.name === ((F = i.value) == null ? void 0 : F.name);
666
666
  }
667
667
  ) ?? {}
668
668
  );
669
- function D(l, s) {
669
+ function D(e, s) {
670
670
  var F;
671
- return (l == null ? void 0 : l.isNumericType) || ((F = l == null ? void 0 : l.isNumericAggregations) == null ? void 0 : F.includes(s || ""));
671
+ return (e == null ? void 0 : e.isNumericType) || ((F = e == null ? void 0 : e.isNumericAggregations) == null ? void 0 : F.includes(s || ""));
672
672
  }
673
673
  const O = _(
674
674
  () => {
675
- var l;
676
- return D(N.value, (l = i.value) == null ? void 0 : l.aggregation);
675
+ var e;
676
+ return D(N.value, (e = i.value) == null ? void 0 : e.aggregation);
677
677
  }
678
678
  );
679
- se(O, (l) => {
680
- i.value && (l ? i.value.decimal = typeof i.value.decimal != "number" ? 2 : i.value.decimal : i.value.decimal = void 0);
679
+ se(O, (e) => {
680
+ i.value && (e ? i.value.decimal = typeof i.value.decimal != "number" ? 2 : i.value.decimal : i.value.decimal = void 0);
681
681
  });
682
- function b(l) {
682
+ function b(e) {
683
683
  var s, F;
684
- (l.schemaName !== ((s = i.value) == null ? void 0 : s.schemaName) || l.name !== ((F = i.value) == null ? void 0 : F.name)) && (i.value = {
685
- schemaName: l.schemaName,
686
- name: l.name,
687
- aggregation: l.aggregations[0],
688
- label: Q(o, u, l.label, "other"),
689
- decimal: D(l, l.aggregations[0]) ? 2 : void 0,
684
+ (e.schemaName !== ((s = i.value) == null ? void 0 : s.schemaName) || e.name !== ((F = i.value) == null ? void 0 : F.name)) && (i.value = {
685
+ schemaName: e.schemaName,
686
+ name: e.name,
687
+ aggregation: e.aggregations[0],
688
+ label: Q(o, u, e.label, "other"),
689
+ decimal: D(e, e.aggregations[0]) ? 2 : void 0,
690
690
  moveToRow: !1,
691
691
  hide: !1
692
692
  }, f.value = !1);
693
693
  }
694
694
  function y() {
695
- const l = [...k.value.map((s) => s.value)];
696
- i.value && (f.value || (i.value.dataFormula = void 0), p.value !== void 0 ? l[p.value] = i.value : l.push(i.value)), n.value = l, d.value = !1;
695
+ const e = [...k.value.map((s) => s.value)];
696
+ i.value && (f.value || (i.value.dataFormula = void 0), p.value !== void 0 ? e[p.value] = i.value : e.push(i.value)), n.value = e, d.value = !1;
697
697
  }
698
- function r(l) {
698
+ function r(e) {
699
699
  const s = [...k.value.map((F) => F.value)];
700
- s.splice(l, 1), n.value = s;
700
+ s.splice(e, 1), n.value = s;
701
701
  }
702
702
  const v = _(
703
- () => g.options.map((l) => ({
704
- label: l.labels.join(" "),
705
- value: l
703
+ () => g.options.map((e) => ({
704
+ label: e.labels.join(" "),
705
+ value: e
706
706
  }))
707
- ), a = _(
707
+ ), t = _(
708
708
  () => g.label ? g.label : o(`report.section.metric.${g.label}`)
709
709
  );
710
- return (l, s) => {
710
+ return (e, s) => {
711
711
  const F = x("FmTextField"), V = x("FmStepperField"), M = x("FmCheckbox"), z = x("FmTextarea"), P = x("FmForm"), q = x("FmIcon"), G = x("FmButton"), oe = x("FmListItem"), S = x("FmList"), X = x("FmField");
712
712
  return h(), I("div", hl, [
713
713
  m(pe, {
714
714
  modelValue: d.value,
715
715
  "onUpdate:modelValue": s[10] || (s[10] = (H) => d.value = H),
716
- title: a.value,
716
+ title: t.value,
717
717
  onConfirm: y
718
718
  }, {
719
719
  content: $(() => [
@@ -727,29 +727,29 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
727
727
  m(K, {
728
728
  "model-value": N.value,
729
729
  items: v.value,
730
- placeholder: a.value,
731
- label: a.value,
730
+ placeholder: t.value,
731
+ label: t.value,
732
732
  "onUpdate:modelValue": s[0] || (s[0] = (R) => b(R))
733
733
  }, null, 8, ["model-value", "items", "placeholder", "label"]),
734
734
  i.value ? (h(), I(Z, { key: 0 }, [
735
735
  m(F, {
736
736
  modelValue: i.value.label,
737
737
  "onUpdate:modelValue": s[1] || (s[1] = (R) => i.value.label = R),
738
- label: e(o)("report.section.metric.label")
738
+ label: l(o)("report.section.metric.label")
739
739
  }, null, 8, ["modelValue", "label"]),
740
740
  (((H = N.value) == null ? void 0 : H.aggregations) || []).length > 0 ? (h(), T(K, {
741
741
  key: 0,
742
742
  modelValue: i.value.aggregation,
743
743
  "onUpdate:modelValue": s[2] || (s[2] = (R) => i.value.aggregation = R),
744
- label: e(o)("report.section.metric.aggregation"),
744
+ label: l(o)("report.section.metric.aggregation"),
745
745
  items: ((le = N.value) == null ? void 0 : le.aggregations.map((R) => ({
746
- label: e(Q)(e(o), e(u), R, "field"),
746
+ label: l(Q)(l(o), l(u), R, "field"),
747
747
  value: R
748
748
  }))) ?? []
749
749
  }, null, 8, ["modelValue", "label", "items"])) : U("", !0),
750
750
  O.value ? (h(), T(V, {
751
751
  key: 1,
752
- label: e(o)("report.common.decimal"),
752
+ label: l(o)("report.common.decimal"),
753
753
  "model-value": ((E = i.value) == null ? void 0 : E.decimal) ?? 2,
754
754
  "onUpdate:modelValue": s[3] || (s[3] = (R) => {
755
755
  i.value && (i.value.decimal = R);
@@ -759,8 +759,8 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
759
759
  key: 2,
760
760
  modelValue: i.value.formatter,
761
761
  "onUpdate:modelValue": s[4] || (s[4] = (R) => i.value.formatter = R),
762
- placeholder: e(o)("report.section.metric.formatter"),
763
- label: e(o)("report.section.metric.formatter"),
762
+ placeholder: l(o)("report.section.metric.formatter"),
763
+ label: l(o)("report.section.metric.formatter"),
764
764
  items: [
765
765
  { label: "NONE", value: null },
766
766
  ...(((re = N.value) == null ? void 0 : re.formatters) || []).map((R) => ({
@@ -772,33 +772,33 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
772
772
  m(M, {
773
773
  modelValue: i.value.hide,
774
774
  "onUpdate:modelValue": s[5] || (s[5] = (R) => i.value.hide = R),
775
- label: e(o)("report.section.metric.hide"),
775
+ label: l(o)("report.section.metric.hide"),
776
776
  value: ""
777
777
  }, null, 8, ["modelValue", "label"]),
778
778
  g.hasRowColumn ? (h(), T(M, {
779
779
  key: 3,
780
780
  modelValue: i.value.moveToRow,
781
781
  "onUpdate:modelValue": s[6] || (s[6] = (R) => i.value.moveToRow = R),
782
- label: e(o)("report.section.metric.moveToRow"),
782
+ label: l(o)("report.section.metric.moveToRow"),
783
783
  value: ""
784
784
  }, null, 8, ["modelValue", "label"])) : U("", !0),
785
785
  m(M, {
786
786
  modelValue: f.value,
787
787
  "onUpdate:modelValue": s[7] || (s[7] = (R) => f.value = R),
788
- label: e(o)("report.section.metric.advance"),
788
+ label: l(o)("report.section.metric.advance"),
789
789
  value: !0
790
790
  }, null, 8, ["modelValue", "label"]),
791
791
  f.value ? (h(), T(z, {
792
792
  key: 4,
793
793
  modelValue: i.value.dataFormula,
794
794
  "onUpdate:modelValue": s[8] || (s[8] = (R) => i.value.dataFormula = R),
795
- placeholder: e(o)("report.section.metric.dataFormula")
795
+ placeholder: l(o)("report.section.metric.dataFormula")
796
796
  }, null, 8, ["modelValue", "placeholder"])) : U("", !0),
797
797
  f.value ? (h(), T(z, {
798
798
  key: 5,
799
799
  modelValue: i.value.displayFormula,
800
800
  "onUpdate:modelValue": s[9] || (s[9] = (R) => i.value.displayFormula = R),
801
- placeholder: e(o)("report.section.metric.displayFormula")
801
+ placeholder: l(o)("report.section.metric.displayFormula")
802
802
  }, null, 8, ["modelValue", "placeholder"])) : U("", !0)
803
803
  ], 64)) : U("", !0)
804
804
  ];
@@ -809,12 +809,12 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
809
809
  _: 1
810
810
  }, 8, ["modelValue", "title"]),
811
811
  C("div", null, [
812
- C("p", Vl, L(a.value), 1),
813
- C("p", Fl, L(e(o)("report.section.metric.description")), 1)
812
+ C("p", Vl, L(t.value), 1),
813
+ C("p", Fl, L(l(o)("report.section.metric.description")), 1)
814
814
  ]),
815
815
  m(S, null, {
816
816
  default: $(() => [
817
- m(e(_e), {
817
+ m(l(_e), {
818
818
  list: n.value,
819
819
  "item-key": "id",
820
820
  class: "flex flex-col gap-2 w-full"
@@ -822,17 +822,17 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
822
822
  item: $(({ element: H, index: le }) => [
823
823
  m(oe, {
824
824
  class: "!cursor-grab border rounded-md border-neutral-300 h-[40px] !p-[8px]",
825
- onClick: te((E) => t(k.value[le]), ["stop"])
825
+ onClick: ae((E) => a(k.value[le]), ["stop"])
826
826
  }, {
827
827
  default: $(() => [
828
828
  m(q, { name: "drag_handle" }),
829
- C("p", wl, L(e(Q)(e(o), e(u), H.label, "other")), 1),
829
+ C("p", wl, L(l(Q)(l(o), l(u), H.label, "other")), 1),
830
830
  s[12] || (s[12] = C("div", { class: "grow" }, null, -1)),
831
831
  m(G, {
832
832
  icon: "close",
833
833
  size: "md",
834
834
  variant: "tertiary",
835
- onClick: te((E) => r(le), ["stop"])
835
+ onClick: ae((E) => r(le), ["stop"])
836
836
  }, null, 8, ["onClick"])
837
837
  ]),
838
838
  _: 2
@@ -846,11 +846,11 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
846
846
  m(X, {
847
847
  class: "text-fm-color-typo-tertiary",
848
848
  onClick: s[11] || (s[11] = () => {
849
- t();
849
+ a();
850
850
  })
851
851
  }, {
852
852
  default: $(() => [
853
- me(L(e(o)("report.section.metric.add")), 1)
853
+ me(L(l(o)("report.section.metric.add")), 1)
854
854
  ]),
855
855
  _: 1
856
856
  })
@@ -879,7 +879,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
879
879
  ), g = W(!1), d = _(
880
880
  () => o.value.map((y, r) => {
881
881
  const v = u.options.find(
882
- (a) => a.schemaName === y.schemaName && a.name === y.name
882
+ (t) => t.schemaName === y.schemaName && t.name === y.name
883
883
  );
884
884
  return {
885
885
  index: r,
@@ -890,19 +890,19 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
890
890
  ), k = W(o.value.length > 0 ? 0 : void 0);
891
891
  function p(y) {
892
892
  var r;
893
- g.value = !0, t.value = y != null && y.value ? JSON.parse(JSON.stringify(y.value)) : void 0, k.value = y == null ? void 0 : y.index, i.value = !!((r = t.value) != null && r.dataFormula);
893
+ g.value = !0, a.value = y != null && y.value ? JSON.parse(JSON.stringify(y.value)) : void 0, k.value = y == null ? void 0 : y.index, i.value = !!((r = a.value) != null && r.dataFormula);
894
894
  }
895
- const t = W(void 0), i = W(!1), f = _(
895
+ const a = W(void 0), i = W(!1), f = _(
896
896
  () => u.options.find(
897
897
  (y) => {
898
898
  var r, v;
899
- return y.schemaName === ((r = t.value) == null ? void 0 : r.schemaName) && y.name === ((v = t.value) == null ? void 0 : v.name);
899
+ return y.schemaName === ((r = a.value) == null ? void 0 : r.schemaName) && y.name === ((v = a.value) == null ? void 0 : v.name);
900
900
  }
901
901
  ) ?? {}
902
902
  );
903
903
  function N(y) {
904
904
  var r, v;
905
- (y.schemaName !== ((r = t.value) == null ? void 0 : r.schemaName) || y.name !== ((v = t.value) == null ? void 0 : v.name)) && (t.value = {
905
+ (y.schemaName !== ((r = a.value) == null ? void 0 : r.schemaName) || y.name !== ((v = a.value) == null ? void 0 : v.name)) && (a.value = {
906
906
  schemaName: y.schemaName,
907
907
  name: y.name,
908
908
  dimensionOption: y.dimensionOptions[0],
@@ -911,12 +911,12 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
911
911
  });
912
912
  }
913
913
  function D() {
914
- if (!t.value) {
914
+ if (!a.value) {
915
915
  console.log("new sort is undefined");
916
916
  return;
917
917
  }
918
918
  const y = [...d.value.map((r) => r.value)];
919
- i.value || (newField.value.dataFormula = void 0), k.value !== void 0 ? y[k.value] = t.value : y.push(t.value), o.value = y, g.value = !1;
919
+ i.value || (a.value.dataFormula = void 0), k.value !== void 0 ? y[k.value] = a.value : y.push(a.value), o.value = y, g.value = !1;
920
920
  }
921
921
  function O(y) {
922
922
  const r = [...d.value.map((v) => v.value)];
@@ -929,7 +929,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
929
929
  }))
930
930
  );
931
931
  return (y, r) => {
932
- const v = x("FmCheckbox"), a = x("FmTextarea"), l = x("FmForm"), s = x("FmIcon"), F = x("FmButton"), V = x("FmListItem"), M = x("FmList"), z = x("FmField");
932
+ const v = x("FmCheckbox"), t = x("FmTextarea"), e = x("FmForm"), s = x("FmIcon"), F = x("FmButton"), V = x("FmListItem"), M = x("FmList"), z = x("FmField");
933
933
  return h(), I("div", Cl, [
934
934
  m(pe, {
935
935
  modelValue: g.value,
@@ -938,7 +938,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
938
938
  onConfirm: D
939
939
  }, {
940
940
  content: $(() => [
941
- m(l, {
941
+ m(e, {
942
942
  ref: "form",
943
943
  class: "flex flex-col gap-2 w-[490px]"
944
944
  }, {
@@ -952,41 +952,41 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
952
952
  label: n.value,
953
953
  "onUpdate:modelValue": r[0] || (r[0] = (S) => N(S))
954
954
  }, null, 8, ["model-value", "items", "placeholder", "label"]),
955
- t.value ? (h(), I(Z, { key: 0 }, [
955
+ a.value ? (h(), I(Z, { key: 0 }, [
956
956
  (((P = f.value) == null ? void 0 : P.dimensionOptions) || []).length > 0 ? (h(), T(K, {
957
957
  key: 0,
958
- modelValue: t.value.dimensionOption,
959
- "onUpdate:modelValue": r[1] || (r[1] = (S) => t.value.dimensionOption = S),
958
+ modelValue: a.value.dimensionOption,
959
+ "onUpdate:modelValue": r[1] || (r[1] = (S) => a.value.dimensionOption = S),
960
960
  items: ((q = f.value) == null ? void 0 : q.dimensionOptions.map((S) => ({ label: S, value: S }))) ?? [],
961
- placeholder: e(c)("report.section.sort.format"),
962
- label: e(c)("report.section.sort.format")
961
+ placeholder: l(c)("report.section.sort.format"),
962
+ label: l(c)("report.section.sort.format")
963
963
  }, null, 8, ["modelValue", "items", "placeholder", "label"])) : U("", !0),
964
964
  (((G = f.value) == null ? void 0 : G.aggregations) || []).length > 0 ? (h(), T(K, {
965
965
  key: 1,
966
- modelValue: t.value.aggregation,
967
- "onUpdate:modelValue": r[2] || (r[2] = (S) => t.value.aggregation = S),
966
+ modelValue: a.value.aggregation,
967
+ "onUpdate:modelValue": r[2] || (r[2] = (S) => a.value.aggregation = S),
968
968
  items: ((oe = f.value) == null ? void 0 : oe.aggregations.map((S) => ({ label: S, value: S }))) ?? [],
969
- label: e(c)("report.section.sort.aggregation"),
970
- placeholder: e(c)("report.section.sort.aggregation")
969
+ label: l(c)("report.section.sort.aggregation"),
970
+ placeholder: l(c)("report.section.sort.aggregation")
971
971
  }, null, 8, ["modelValue", "items", "label", "placeholder"])) : U("", !0),
972
972
  m(K, {
973
- modelValue: t.value.type,
974
- "onUpdate:modelValue": r[3] || (r[3] = (S) => t.value.type = S),
975
- items: Object.values(e(Te)).map((S) => ({ label: S, value: S })),
976
- placeholder: e(c)("report.section.sort.order"),
977
- label: e(c)("report.section.sort.order")
973
+ modelValue: a.value.type,
974
+ "onUpdate:modelValue": r[3] || (r[3] = (S) => a.value.type = S),
975
+ items: Object.values(l(Te)).map((S) => ({ label: S, value: S })),
976
+ placeholder: l(c)("report.section.sort.order"),
977
+ label: l(c)("report.section.sort.order")
978
978
  }, null, 8, ["modelValue", "items", "placeholder", "label"]),
979
979
  m(v, {
980
980
  modelValue: i.value,
981
981
  "onUpdate:modelValue": r[4] || (r[4] = (S) => i.value = S),
982
- label: e(c)("report.section.sort.advance"),
982
+ label: l(c)("report.section.sort.advance"),
983
983
  value: !0
984
984
  }, null, 8, ["modelValue", "label"]),
985
- i.value ? (h(), T(a, {
985
+ i.value ? (h(), T(t, {
986
986
  key: 2,
987
- modelValue: t.value.dataFormula,
988
- "onUpdate:modelValue": r[5] || (r[5] = (S) => t.value.dataFormula = S),
989
- placeholder: e(c)("report.section.sort.dataFormula")
987
+ modelValue: a.value.dataFormula,
988
+ "onUpdate:modelValue": r[5] || (r[5] = (S) => a.value.dataFormula = S),
989
+ placeholder: l(c)("report.section.sort.dataFormula")
990
990
  }, null, 8, ["modelValue", "placeholder"])) : U("", !0)
991
991
  ], 64)) : U("", !0)
992
992
  ];
@@ -998,11 +998,11 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
998
998
  }, 8, ["modelValue", "title"]),
999
999
  C("div", null, [
1000
1000
  C("p", kl, L(n.value), 1),
1001
- C("p", _l, L(e(c)("report.section.sort.description")), 1)
1001
+ C("p", _l, L(l(c)("report.section.sort.description")), 1)
1002
1002
  ]),
1003
1003
  m(M, null, {
1004
1004
  default: $(() => [
1005
- m(e(_e), {
1005
+ m(l(_e), {
1006
1006
  list: o.value,
1007
1007
  "item-key": "id",
1008
1008
  class: "flex flex-col gap-2 w-full"
@@ -1010,17 +1010,17 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1010
1010
  item: $(({ element: P, index: q }) => [
1011
1011
  m(V, {
1012
1012
  class: "!cursor-grab border rounded-md border-neutral-300 h-[40px] !p-[8px]",
1013
- onClick: te((G) => p(d.value[q]), ["stop"])
1013
+ onClick: ae((G) => p(d.value[q]), ["stop"])
1014
1014
  }, {
1015
1015
  default: $(() => [
1016
1016
  m(s, { name: "drag_handle" }),
1017
- C("p", Sl, L(e(je)(P.name)), 1),
1017
+ C("p", Sl, L(l(je)(P.name)), 1),
1018
1018
  r[8] || (r[8] = C("div", { class: "grow" }, null, -1)),
1019
1019
  m(F, {
1020
1020
  icon: "close",
1021
1021
  size: "md",
1022
1022
  variant: "tertiary",
1023
- onClick: te((G) => O(q), ["stop"])
1023
+ onClick: ae((G) => O(q), ["stop"])
1024
1024
  }, null, 8, ["onClick"])
1025
1025
  ]),
1026
1026
  _: 2
@@ -1038,7 +1038,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1038
1038
  })
1039
1039
  }, {
1040
1040
  default: $(() => [
1041
- me(L(e(c)("report.section.sort.add")), 1)
1041
+ me(L(l(c)("report.section.sort.add")), 1)
1042
1042
  ]),
1043
1043
  _: 1
1044
1044
  })
@@ -1060,14 +1060,14 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1060
1060
  const d = x("FmTextField");
1061
1061
  return h(), I(Z, null, [
1062
1062
  C("div", null, [
1063
- C("p", Ul, L(e(c)("report.section.limit.title")), 1),
1064
- C("p", Dl, L(e(c)("report.section.limit.description")), 1)
1063
+ C("p", Ul, L(l(c)("report.section.limit.title")), 1),
1064
+ C("p", Dl, L(l(c)("report.section.limit.description")), 1)
1065
1065
  ]),
1066
1066
  m(d, {
1067
1067
  "model-value": o.value,
1068
1068
  inputmode: "numeric",
1069
- placeholder: e(c)("report.section.limit.placeholder"),
1070
- "onUpdate:modelValue": g[0] || (g[0] = (k) => e(u)(k))
1069
+ placeholder: l(c)("report.section.limit.placeholder"),
1070
+ "onUpdate:modelValue": g[0] || (g[0] = (k) => l(u)(k))
1071
1071
  }, null, 8, ["model-value", "placeholder"])
1072
1072
  ], 64);
1073
1073
  };
@@ -1091,10 +1091,10 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1091
1091
  setup(w) {
1092
1092
  const { t: c } = Y(), o = ee(w, "modelValue"), u = w, n = W(!1), g = _(
1093
1093
  () => o.value.map((r, v) => {
1094
- var a, l;
1094
+ var t, e;
1095
1095
  return {
1096
1096
  index: v,
1097
- labels: [(a = r.joinDimension) == null ? void 0 : a.schemaName, (l = r.joinDimension) == null ? void 0 : l.name],
1097
+ labels: [(t = r.joinDimension) == null ? void 0 : t.schemaName, (e = r.joinDimension) == null ? void 0 : e.name],
1098
1098
  value: r
1099
1099
  };
1100
1100
  })
@@ -1106,11 +1106,11 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1106
1106
  mainDimensions: []
1107
1107
  }, d.value = void 0), n.value = !0;
1108
1108
  }
1109
- const p = W(void 0), t = _(
1109
+ const p = W(void 0), a = _(
1110
1110
  () => u.joinFieldOptions.find(
1111
1111
  (r) => {
1112
- var v, a;
1113
- return r.schemaName === ((a = (v = p.value) == null ? void 0 : v.joinDimension) == null ? void 0 : a.schemaName) && r.name === p.value.joinDimension.name;
1112
+ var v, t;
1113
+ return r.schemaName === ((t = (v = p.value) == null ? void 0 : v.joinDimension) == null ? void 0 : t.schemaName) && r.name === p.value.joinDimension.name;
1114
1114
  }
1115
1115
  ) ?? {}
1116
1116
  ), i = _(
@@ -1118,7 +1118,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1118
1118
  var r;
1119
1119
  return (((r = p.value) == null ? void 0 : r.mainDimensions) || []).map(
1120
1120
  (v) => u.mainFieldOptions.find(
1121
- (a) => a.schemaName === (v == null ? void 0 : v.schemaName) && a.name === v.name
1121
+ (t) => t.schemaName === (v == null ? void 0 : v.schemaName) && t.name === v.name
1122
1122
  ) ?? {}
1123
1123
  );
1124
1124
  }
@@ -1126,8 +1126,8 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1126
1126
  () => u.joinFieldOptions.map((r) => ({ label: r.labels.join(" "), value: r }))
1127
1127
  );
1128
1128
  function N(r) {
1129
- var v, a, l, s;
1130
- p.value && (p.value && r.schemaName !== ((a = (v = p.value) == null ? void 0 : v.joinDimension) == null ? void 0 : a.schemaName) || r.name !== ((s = (l = p.value) == null ? void 0 : l.joinDimension) == null ? void 0 : s.name)) && (p.value = {
1129
+ var v, t, e, s;
1130
+ p.value && (p.value && r.schemaName !== ((t = (v = p.value) == null ? void 0 : v.joinDimension) == null ? void 0 : t.schemaName) || r.name !== ((s = (e = p.value) == null ? void 0 : e.joinDimension) == null ? void 0 : s.name)) && (p.value = {
1131
1131
  ...p.value,
1132
1132
  joinDimension: {
1133
1133
  schemaName: r.schemaName,
@@ -1139,8 +1139,8 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1139
1139
  }, r.joinConditionOperators.includes(p.value.operator) || O(r.joinConditionOperators[0]));
1140
1140
  }
1141
1141
  function D(r, v) {
1142
- var a, l, s, F;
1143
- if (p.value && v >= 0 && (p.value && r.schemaName !== ((l = (a = p.value) == null ? void 0 : a.mainDimensions[v]) == null ? void 0 : l.schemaName) || r.name !== ((F = (s = p.value) == null ? void 0 : s.mainDimensions[v]) == null ? void 0 : F.name))) {
1142
+ var t, e, s, F;
1143
+ if (p.value && v >= 0 && (p.value && r.schemaName !== ((e = (t = p.value) == null ? void 0 : t.mainDimensions[v]) == null ? void 0 : e.schemaName) || r.name !== ((F = (s = p.value) == null ? void 0 : s.mainDimensions[v]) == null ? void 0 : F.name))) {
1144
1144
  const V = [...p.value.mainDimensions];
1145
1145
  V[v] = {
1146
1146
  schemaName: r.schemaName,
@@ -1180,20 +1180,20 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1180
1180
  ), d.value !== void 0 ? r[d.value] = p.value : r.push(p.value)), o.value = r, n.value = !1;
1181
1181
  }
1182
1182
  function y(r) {
1183
- const v = [...g.value.map((a) => a.value)];
1183
+ const v = [...g.value.map((t) => t.value)];
1184
1184
  v.splice(r, 1), o.value = v;
1185
1185
  }
1186
1186
  return (r, v) => {
1187
- const a = x("FmMenuDivider"), l = x("FmForm"), s = x("FmButton"), F = x("FmListItem"), V = x("FmList"), M = x("FmField");
1187
+ const t = x("FmMenuDivider"), e = x("FmForm"), s = x("FmButton"), F = x("FmListItem"), V = x("FmList"), M = x("FmField");
1188
1188
  return h(), I("div", Nl, [
1189
1189
  m(pe, {
1190
1190
  modelValue: n.value,
1191
1191
  "onUpdate:modelValue": v[2] || (v[2] = (z) => n.value = z),
1192
- title: e(c)("report.section.condition.condition"),
1192
+ title: l(c)("report.section.condition.condition"),
1193
1193
  onConfirm: b
1194
1194
  }, {
1195
1195
  content: $(() => [
1196
- m(l, {
1196
+ m(e, {
1197
1197
  ref: "form",
1198
1198
  class: "flex flex-col gap-2 w-[490px]"
1199
1199
  }, {
@@ -1201,28 +1201,28 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1201
1201
  var z, P, q, G, oe;
1202
1202
  return [
1203
1203
  m(K, {
1204
- label: e(c)("report.section.condition.joinDatasource"),
1205
- "model-value": t.value,
1204
+ label: l(c)("report.section.condition.joinDatasource"),
1205
+ "model-value": a.value,
1206
1206
  items: f.value,
1207
- placeholder: e(c)("report.section.condition.joinDimension"),
1207
+ placeholder: l(c)("report.section.condition.joinDimension"),
1208
1208
  "onUpdate:modelValue": v[0] || (v[0] = (S) => N(S))
1209
1209
  }, null, 8, ["label", "model-value", "items", "placeholder"]),
1210
- m(a),
1211
- (z = p.value) != null && z.joinDimension && (((P = t.value) == null ? void 0 : P.dimensionOptions) || []).length > 0 ? (h(), T(K, {
1210
+ m(t),
1211
+ (z = p.value) != null && z.joinDimension && (((P = a.value) == null ? void 0 : P.dimensionOptions) || []).length > 0 ? (h(), T(K, {
1212
1212
  key: 0,
1213
1213
  modelValue: p.value.joinDimension.option,
1214
1214
  "onUpdate:modelValue": v[1] || (v[1] = (S) => p.value.joinDimension.option = S),
1215
- label: e(c)("report.section.condition.format"),
1216
- items: ((q = t.value) == null ? void 0 : q.dimensionOptions.map((S) => ({
1215
+ label: l(c)("report.section.condition.format"),
1216
+ items: ((q = a.value) == null ? void 0 : q.dimensionOptions.map((S) => ({
1217
1217
  label: S,
1218
1218
  value: S
1219
1219
  }))) ?? []
1220
1220
  }, null, 8, ["modelValue", "label", "items"])) : U("", !0),
1221
- p.value && (((G = t.value) == null ? void 0 : G.joinConditionOperators) || []).length > 0 ? (h(), T(K, {
1221
+ p.value && (((G = a.value) == null ? void 0 : G.joinConditionOperators) || []).length > 0 ? (h(), T(K, {
1222
1222
  key: 1,
1223
1223
  "model-value": p.value.operator,
1224
- label: e(c)("report.section.condition.operator"),
1225
- items: t.value.joinConditionOperators.map((S) => ({
1224
+ label: l(c)("report.section.condition.operator"),
1225
+ items: a.value.joinConditionOperators.map((S) => ({
1226
1226
  label: S,
1227
1227
  value: S
1228
1228
  })) ?? [],
@@ -1236,7 +1236,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1236
1236
  }, [
1237
1237
  m(K, {
1238
1238
  "model-value": i.value[X],
1239
- label: e(c)("report.section.condition.mainDatasource", { index: X + 1 }),
1239
+ label: l(c)("report.section.condition.mainDatasource", { index: X + 1 }),
1240
1240
  items: u.mainFieldOptions.map((E) => ({
1241
1241
  label: E.labels.join(" "),
1242
1242
  value: E
@@ -1252,7 +1252,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1252
1252
  value: E
1253
1253
  }))
1254
1254
  }, null, 8, ["modelValue", "onUpdate:modelValue", "items"])) : U("", !0),
1255
- m(a)
1255
+ m(t)
1256
1256
  ]);
1257
1257
  }), 128))
1258
1258
  ];
@@ -1263,8 +1263,8 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1263
1263
  _: 1
1264
1264
  }, 8, ["modelValue", "title"]),
1265
1265
  C("div", null, [
1266
- C("p", Ol, L(e(c)("report.section.condition.condition")), 1),
1267
- C("p", Il, L(e(c)("report.section.condition.description")), 1)
1266
+ C("p", Ol, L(l(c)("report.section.condition.condition")), 1),
1267
+ C("p", Il, L(l(c)("report.section.condition.description")), 1)
1268
1268
  ]),
1269
1269
  m(V, { class: "flex flex-col gap-2" }, {
1270
1270
  default: $(() => [
@@ -1276,13 +1276,13 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1276
1276
  default: $(() => {
1277
1277
  var q, G;
1278
1278
  return [
1279
- C("p", Bl, L(e(al)(((q = z.joinDimension) == null ? void 0 : q.schemaName) ?? "")) + " " + L((G = z.joinDimension) == null ? void 0 : G.label), 1),
1279
+ C("p", Bl, L(l(tl)(((q = z.joinDimension) == null ? void 0 : q.schemaName) ?? "")) + " " + L((G = z.joinDimension) == null ? void 0 : G.label), 1),
1280
1280
  v[4] || (v[4] = C("div", { class: "grow" }, null, -1)),
1281
1281
  m(s, {
1282
1282
  icon: "close",
1283
1283
  size: "md",
1284
1284
  variant: "tertiary",
1285
- onClick: te((oe) => y(P), ["stop"])
1285
+ onClick: ae((oe) => y(P), ["stop"])
1286
1286
  }, null, 8, ["onClick"])
1287
1287
  ];
1288
1288
  }),
@@ -1296,7 +1296,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1296
1296
  onClick: v[3] || (v[3] = (z) => k())
1297
1297
  }, {
1298
1298
  default: $(() => [
1299
- me(L(e(c)("report.section.condition.add")), 1)
1299
+ me(L(l(c)("report.section.condition.add")), 1)
1300
1300
  ]),
1301
1301
  _: 1
1302
1302
  })
@@ -1312,17 +1312,17 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1312
1312
  const { t: c, te: o } = Y(), u = w, { isEditing: n, colWidths: g, rowHeight: d } = ue(ge()), { enableCellResizing: k, cancelResizingChanges: p } = ge();
1313
1313
  return ke(() => {
1314
1314
  u.model.rowHeight !== void 0 && (d.value = u.model.rowHeight), u.model.colWidths && (g.value = [...u.model.colWidths]);
1315
- }), (t, i) => {
1315
+ }), (a, i) => {
1316
1316
  const f = x("FmButton");
1317
1317
  return h(), I(Z, null, [
1318
1318
  m(f, {
1319
- label: e(c)("report.section.datasource.resizeTable"),
1320
- onClick: e(k)
1319
+ label: l(c)("report.section.datasource.resizeTable"),
1320
+ onClick: l(k)
1321
1321
  }, null, 8, ["label", "onClick"]),
1322
- e(n) ? (h(), T(f, {
1322
+ l(n) ? (h(), T(f, {
1323
1323
  key: 0,
1324
- label: e(c)("report.common.cancel"),
1325
- onClick: e(p)
1324
+ label: l(c)("report.common.cancel"),
1325
+ onClick: l(p)
1326
1326
  }, null, 8, ["label", "onClick"])) : U("", !0)
1327
1327
  ], 64);
1328
1328
  };
@@ -1362,8 +1362,8 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1362
1362
  se(
1363
1363
  [() => n.value.dimensions, () => n.value.metrics],
1364
1364
  () => {
1365
- const { rowIds: v, columnIds: a } = ye(n.value);
1366
- n.value.rowIds = v, n.value.columnIds = a;
1365
+ const { rowIds: v, columnIds: t } = ye(n.value);
1366
+ n.value.rowIds = v, n.value.columnIds = t;
1367
1367
  },
1368
1368
  { deep: !0 }
1369
1369
  );
@@ -1371,43 +1371,43 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1371
1371
  Xe(() => {
1372
1372
  o(), u();
1373
1373
  });
1374
- const { t: p, te: t } = Y(), i = _(() => !g.mainDatasourceConfig), f = _(
1374
+ const { t: p, te: a } = Y(), i = _(() => !g.mainDatasourceConfig), f = _(
1375
1375
  () => [B.BarChart, B.LineChart, B.Scorecard].includes(g.config.type)
1376
1376
  ), N = _(() => {
1377
- const v = [...n.value.dimensions].filter((a) => !a.hide);
1377
+ const v = [...n.value.dimensions].filter((t) => !t.hide);
1378
1378
  return v.sort(
1379
- (a, l) => (n.value.rowIds || []).indexOf(fe(a)) - (n.value.rowIds || []).indexOf(fe(l))
1379
+ (t, e) => (n.value.rowIds || []).indexOf(fe(t)) - (n.value.rowIds || []).indexOf(fe(e))
1380
1380
  ), v;
1381
1381
  }), D = _(() => g.config.type === B.Scorecard), O = _(
1382
1382
  () => {
1383
1383
  var v;
1384
1384
  return (((v = g.mainDatasourceConfig) == null ? void 0 : v.schemaNames) || []).reduce(
1385
- (a, l) => {
1386
- const s = k.value.find((F) => F.name === l);
1387
- return s && (a = [
1388
- ...a,
1385
+ (t, e) => {
1386
+ const s = k.value.find((F) => F.name === e);
1387
+ return s && (t = [
1388
+ ...t,
1389
1389
  ...s.fields.map((F) => ({
1390
1390
  ...F,
1391
1391
  labels: [
1392
- Q(p, t, s.label, "schema"),
1393
- Q(p, t, F.label || F.name, "other")
1392
+ Q(p, a, s.label, "schema"),
1393
+ Q(p, a, F.label || F.name, "other")
1394
1394
  ]
1395
1395
  }))
1396
- ]), a;
1396
+ ]), t;
1397
1397
  },
1398
1398
  []
1399
1399
  );
1400
1400
  }
1401
1401
  ), b = _(
1402
- () => n.value.schemaNames.reduce((v, a) => {
1403
- const l = k.value.find((s) => s.name === a);
1404
- return l && (v = [
1402
+ () => n.value.schemaNames.reduce((v, t) => {
1403
+ const e = k.value.find((s) => s.name === t);
1404
+ return e && (v = [
1405
1405
  ...v,
1406
- ...l.fields.map((s) => ({
1406
+ ...e.fields.map((s) => ({
1407
1407
  ...s,
1408
1408
  labels: [
1409
- Q(p, t, l.label, "schema"),
1410
- Q(p, t, s.label || s.name, "other")
1409
+ Q(p, a, e.label, "schema"),
1410
+ Q(p, a, s.label || s.name, "other")
1411
1411
  ]
1412
1412
  }))
1413
1413
  ]), v;
@@ -1415,9 +1415,9 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1415
1415
  ), y = _(() => [
1416
1416
  { label: p("report.section.datasource.none"), value: null },
1417
1417
  { label: p("report.section.datasource.grandTotal"), value: 0 },
1418
- ...[...N.value].slice(0, N.value.length - 1).map((v, a) => ({
1419
- label: Q(p, t, v.label, "other"),
1420
- value: a + 1
1418
+ ...[...N.value].slice(0, N.value.length - 1).map((v, t) => ({
1419
+ label: Q(p, a, v.label, "other"),
1420
+ value: t + 1
1421
1421
  }))
1422
1422
  ]), r = [
1423
1423
  {
@@ -1429,145 +1429,145 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1429
1429
  value: Ue[v]
1430
1430
  }))
1431
1431
  ];
1432
- return (v, a) => {
1433
- const l = x("FmButton"), s = x("FmSwitch"), F = x("FmSelect");
1432
+ return (v, t) => {
1433
+ const e = x("FmButton"), s = x("FmSwitch"), F = x("FmSelect");
1434
1434
  return h(), T(we, null, {
1435
1435
  header: $(() => [
1436
1436
  C("p", null, L(g.label), 1),
1437
- a[20] || (a[20] = C("div", { class: "grow" }, null, -1)),
1438
- g.closeable ? (h(), T(l, {
1437
+ t[20] || (t[20] = C("div", { class: "grow" }, null, -1)),
1438
+ g.closeable ? (h(), T(e, {
1439
1439
  key: 0,
1440
1440
  icon: "close",
1441
1441
  variant: "tertiary",
1442
1442
  size: "md",
1443
- onClick: a[0] || (a[0] = te((V) => d("click-close"), ["stop"]))
1443
+ onClick: t[0] || (t[0] = ae((V) => d("click-close"), ["stop"]))
1444
1444
  })) : U("", !0)
1445
1445
  ]),
1446
1446
  content: $(() => [
1447
1447
  m(pl, {
1448
1448
  modelValue: n.value,
1449
- "onUpdate:modelValue": a[1] || (a[1] = (V) => n.value = V),
1450
- label: e(p)("report.section.schema.title")
1449
+ "onUpdate:modelValue": t[1] || (t[1] = (V) => n.value = V),
1450
+ label: l(p)("report.section.schema.title")
1451
1451
  }, null, 8, ["modelValue", "label"]),
1452
1452
  m(Fe, {
1453
1453
  modelValue: n.value.dimensions,
1454
- "onUpdate:modelValue": a[2] || (a[2] = (V) => n.value.dimensions = V),
1454
+ "onUpdate:modelValue": t[2] || (t[2] = (V) => n.value.dimensions = V),
1455
1455
  options: b.value,
1456
1456
  config: n.value,
1457
1457
  max: g.config.maxDimension,
1458
1458
  "has-row-column": !0,
1459
- onConfig: a[3] || (a[3] = (V) => {
1459
+ onConfig: t[3] || (t[3] = (V) => {
1460
1460
  n.value = V;
1461
1461
  })
1462
1462
  }, null, 8, ["modelValue", "options", "config", "max"]),
1463
1463
  m(s, {
1464
1464
  "label-placement": "right",
1465
- label: e(p)("report.section.datasource.comparable"),
1465
+ label: l(p)("report.section.datasource.comparable"),
1466
1466
  "model-value": n.value.isComparable ?? !1,
1467
- "onUpdate:modelValue": a[4] || (a[4] = (V) => {
1467
+ "onUpdate:modelValue": t[4] || (t[4] = (V) => {
1468
1468
  n.value.isComparable = V;
1469
1469
  })
1470
1470
  }, null, 8, ["label", "model-value"]),
1471
1471
  f.value ? (h(), T(s, {
1472
1472
  key: 0,
1473
1473
  "label-placement": "right",
1474
- label: e(p)("report.section.datasource.cumulative"),
1474
+ label: l(p)("report.section.datasource.cumulative"),
1475
1475
  "model-value": n.value.isCumulative ?? !1,
1476
- "onUpdate:modelValue": a[5] || (a[5] = (V) => {
1476
+ "onUpdate:modelValue": t[5] || (t[5] = (V) => {
1477
1477
  n.value.isCumulative = V;
1478
1478
  })
1479
1479
  }, null, 8, ["label", "model-value"])) : U("", !0),
1480
1480
  g.config.isDrillConfigurable && i.value ? (h(), T(s, {
1481
1481
  key: 1,
1482
- label: e(p)("report.section.datasource.drill"),
1482
+ label: l(p)("report.section.datasource.drill"),
1483
1483
  "label-placement": "right",
1484
1484
  "model-value": n.value.isDrillable ?? !1,
1485
- "onUpdate:modelValue": a[6] || (a[6] = (V) => {
1485
+ "onUpdate:modelValue": t[6] || (t[6] = (V) => {
1486
1486
  n.value.isDrillable = V;
1487
1487
  })
1488
1488
  }, null, 8, ["label", "model-value"])) : U("", !0),
1489
1489
  i.value ? (h(), T(s, {
1490
1490
  key: 2,
1491
1491
  modelValue: n.value.isBlend,
1492
- "onUpdate:modelValue": a[7] || (a[7] = (V) => n.value.isBlend = V),
1493
- label: e(p)("report.section.datasource.blend"),
1492
+ "onUpdate:modelValue": t[7] || (t[7] = (V) => n.value.isBlend = V),
1493
+ label: l(p)("report.section.datasource.blend"),
1494
1494
  "label-placement": "right"
1495
1495
  }, null, 8, ["modelValue", "label"])) : U("", !0),
1496
1496
  g.config.canRollup && i.value ? (h(), T(F, {
1497
1497
  key: 3,
1498
1498
  modelValue: n.value.rollup,
1499
- "onUpdate:modelValue": a[8] || (a[8] = (V) => n.value.rollup = V),
1500
- label: e(p)("report.section.datasource.subTotal"),
1499
+ "onUpdate:modelValue": t[8] || (t[8] = (V) => n.value.rollup = V),
1500
+ label: l(p)("report.section.datasource.subTotal"),
1501
1501
  items: y.value
1502
1502
  }, null, 8, ["modelValue", "label", "items"])) : U("", !0),
1503
1503
  i.value ? U("", !0) : (h(), T(F, {
1504
1504
  key: 4,
1505
1505
  modelValue: n.value.periodType,
1506
- "onUpdate:modelValue": a[9] || (a[9] = (V) => n.value.periodType = V),
1507
- label: e(p)("report.section.datasource.periodType"),
1506
+ "onUpdate:modelValue": t[9] || (t[9] = (V) => n.value.periodType = V),
1507
+ label: l(p)("report.section.datasource.periodType"),
1508
1508
  items: r
1509
1509
  }, null, 8, ["modelValue", "label"])),
1510
1510
  g.config.canTranspose && i.value ? (h(), T(s, {
1511
1511
  key: 5,
1512
1512
  modelValue: n.value.isTransposed,
1513
- "onUpdate:modelValue": a[10] || (a[10] = (V) => n.value.isTransposed = V),
1514
- label: e(p)("report.section.datasource.transpose"),
1513
+ "onUpdate:modelValue": t[10] || (t[10] = (V) => n.value.isTransposed = V),
1514
+ label: l(p)("report.section.datasource.transpose"),
1515
1515
  "label-placement": "right"
1516
1516
  }, null, 8, ["modelValue", "label"])) : U("", !0),
1517
1517
  g.config.hasTable ? (h(), T(jl, {
1518
1518
  key: 6,
1519
1519
  model: n.value,
1520
- "onUpdate:model": a[11] || (a[11] = (V) => n.value = V)
1520
+ "onUpdate:model": t[11] || (t[11] = (V) => n.value = V)
1521
1521
  }, null, 8, ["model"])) : U("", !0),
1522
1522
  g.config.hasBreakdownDimension ? (h(), T(Fe, {
1523
1523
  key: 7,
1524
1524
  "model-value": n.value.breakdownDimension ? [n.value.breakdownDimension] : [],
1525
- label: e(p)("report.section.dimension.breakdownDimension"),
1525
+ label: l(p)("report.section.dimension.breakdownDimension"),
1526
1526
  max: 1,
1527
1527
  options: b.value,
1528
- "onUpdate:modelValue": a[12] || (a[12] = (V) => {
1528
+ "onUpdate:modelValue": t[12] || (t[12] = (V) => {
1529
1529
  n.value.breakdownDimension = V[0];
1530
1530
  })
1531
1531
  }, null, 8, ["model-value", "label", "options"])) : U("", !0),
1532
1532
  D.value ? (h(), T(Fe, {
1533
1533
  key: 8,
1534
1534
  "model-value": n.value.sparklineDimension ? [n.value.sparklineDimension] : [],
1535
- label: e(p)("report.section.dimension.sparklineDimension"),
1535
+ label: l(p)("report.section.dimension.sparklineDimension"),
1536
1536
  max: 1,
1537
1537
  options: b.value,
1538
- "onUpdate:modelValue": a[13] || (a[13] = (V) => {
1538
+ "onUpdate:modelValue": t[13] || (t[13] = (V) => {
1539
1539
  n.value.sparklineDimension = V[0];
1540
1540
  })
1541
1541
  }, null, 8, ["model-value", "label", "options"])) : U("", !0),
1542
1542
  m(xl, {
1543
1543
  modelValue: n.value.metrics,
1544
- "onUpdate:modelValue": a[14] || (a[14] = (V) => n.value.metrics = V),
1544
+ "onUpdate:modelValue": t[14] || (t[14] = (V) => n.value.metrics = V),
1545
1545
  options: b.value,
1546
1546
  max: g.config.maxMetric,
1547
1547
  config: n.value,
1548
- "has-row-column": g.config.type === e(B).Table,
1549
- onConfig: a[15] || (a[15] = (V) => {
1548
+ "has-row-column": g.config.type === l(B).Table,
1549
+ onConfig: t[15] || (t[15] = (V) => {
1550
1550
  n.value = V;
1551
1551
  })
1552
1552
  }, null, 8, ["modelValue", "options", "max", "config", "has-row-column"]),
1553
1553
  m(Ge, {
1554
1554
  modelValue: n.value.filters,
1555
- "onUpdate:modelValue": a[16] || (a[16] = (V) => n.value.filters = V),
1555
+ "onUpdate:modelValue": t[16] || (t[16] = (V) => n.value.filters = V),
1556
1556
  options: b.value
1557
1557
  }, null, 8, ["modelValue", "options"]),
1558
1558
  m(Tl, {
1559
1559
  modelValue: n.value.sorts,
1560
- "onUpdate:modelValue": a[17] || (a[17] = (V) => n.value.sorts = V),
1560
+ "onUpdate:modelValue": t[17] || (t[17] = (V) => n.value.sorts = V),
1561
1561
  options: b.value
1562
1562
  }, null, 8, ["modelValue", "options"]),
1563
1563
  m($l, {
1564
1564
  modelValue: n.value.limit,
1565
- "onUpdate:modelValue": a[18] || (a[18] = (V) => n.value.limit = V)
1565
+ "onUpdate:modelValue": t[18] || (t[18] = (V) => n.value.limit = V)
1566
1566
  }, null, 8, ["modelValue"]),
1567
1567
  n.value.conditions ? (h(), T(Ll, {
1568
1568
  key: 9,
1569
1569
  modelValue: n.value.conditions,
1570
- "onUpdate:modelValue": a[19] || (a[19] = (V) => n.value.conditions = V),
1570
+ "onUpdate:modelValue": t[19] || (t[19] = (V) => n.value.conditions = V),
1571
1571
  "join-field-options": b.value,
1572
1572
  "main-field-options": O.value
1573
1573
  }, null, 8, ["modelValue", "join-field-options", "main-field-options"])) : U("", !0)
@@ -1596,7 +1596,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1596
1596
  class: "px-6 py-16 flex items-center gap-2 bg-fm-color-neutral-white border cursor-pointer",
1597
1597
  onClick: g[0] || (g[0] = (k) => o.value = !o.value)
1598
1598
  }, [
1599
- C("p", Rl, L(e(c)("report.tile.setting")), 1),
1599
+ C("p", Rl, L(l(c)("report.tile.setting")), 1),
1600
1600
  g[1] || (g[1] = C("div", { class: "grow" }, null, -1)),
1601
1601
  m(d, {
1602
1602
  name: u.icon
@@ -1676,7 +1676,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1676
1676
  }), p = _({
1677
1677
  get: () => o.model.titleItalic ?? !1,
1678
1678
  set: (i) => u("update:model", { ...o.model, titleItalic: i })
1679
- }), t = _({
1679
+ }), a = _({
1680
1680
  get: () => o.model.titleUnderline ?? !1,
1681
1681
  set: (i) => u("update:model", { ...o.model, titleUnderline: i })
1682
1682
  });
@@ -1686,7 +1686,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1686
1686
  C("div", null, [
1687
1687
  C("div", Al, [
1688
1688
  C("div", Xl, [
1689
- C("p", Wl, L(e(n)("report.section.datasource.title.titleFontSize")), 1),
1689
+ C("p", Wl, L(l(n)("report.section.datasource.title.titleFontSize")), 1),
1690
1690
  m(N, {
1691
1691
  modelValue: d.value,
1692
1692
  "onUpdate:modelValue": f[0] || (f[0] = (b) => d.value = b),
@@ -1721,7 +1721,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1721
1721
  "icon-color": i.model.titleUnderline ? "neutral-gray-400" : "neutral-gray-300",
1722
1722
  "bg-color": i.model.titleUnderline ? "neutral-gray-100" : "neutral-white",
1723
1723
  class: "rounded-sm",
1724
- onClick: f[3] || (f[3] = (b) => t.value = !t.value)
1724
+ onClick: f[3] || (f[3] = (b) => a.value = !a.value)
1725
1725
  }, null, 8, ["model-value", "icon-color", "bg-color"])
1726
1726
  ])
1727
1727
  ])
@@ -1730,7 +1730,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1730
1730
  m(O, {
1731
1731
  modelValue: g.value,
1732
1732
  "onUpdate:modelValue": f[4] || (f[4] = (b) => g.value = b),
1733
- label: e(n)("report.section.datasource.title.showTitle"),
1733
+ label: l(n)("report.section.datasource.title.showTitle"),
1734
1734
  "label-placement": "right"
1735
1735
  }, null, 8, ["modelValue", "label"])
1736
1736
  ], 64);
@@ -1751,13 +1751,13 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1751
1751
  }),
1752
1752
  emits: /* @__PURE__ */ J(["hideConfiguration"], ["update:modelValue"]),
1753
1753
  setup(w, { emit: c }) {
1754
- var a, l;
1754
+ var t, e;
1755
1755
  const o = Re(), { dateRange: u } = ue(o), n = {
1756
1756
  startDate: u.value.startDate,
1757
1757
  endDate: u.value.endDate
1758
1758
  }, g = W({
1759
- startDate: (a = ce(u.value.startDate)) == null ? void 0 : a.local().format($e),
1760
- endDate: (l = ce(u.value.endDate)) == null ? void 0 : l.local().format($e)
1759
+ startDate: (t = ce(u.value.startDate)) == null ? void 0 : t.local().format($e),
1760
+ endDate: (e = ce(u.value.endDate)) == null ? void 0 : e.local().format($e)
1761
1761
  });
1762
1762
  se(
1763
1763
  g,
@@ -1771,7 +1771,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1771
1771
  ), We(() => {
1772
1772
  u.value = { ...n };
1773
1773
  });
1774
- const d = ee(w, "modelValue"), { breakpoints: k } = Me(), p = w, { promptMessage: t } = Le(), i = c, { t: f } = Y();
1774
+ const d = ee(w, "modelValue"), { breakpoints: k } = Me(), p = w, { promptMessage: a } = Le(), i = c, { t: f } = Y();
1775
1775
  function N(s) {
1776
1776
  d.value = yl(s);
1777
1777
  }
@@ -1789,7 +1789,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1789
1789
  });
1790
1790
  }
1791
1791
  async function O(s) {
1792
- if (!await t({
1792
+ if (!await a({
1793
1793
  title: f("report.tile.datasource.remove"),
1794
1794
  message: f("report.tile.datasource.confirmRemove", { index: s + 1 })
1795
1795
  })) return;
@@ -1854,7 +1854,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1854
1854
  }
1855
1855
  ), (s, F) => {
1856
1856
  const V = x("FmCircularProgress"), M = x("FmSimpleDateRangePicker"), z = x("FmTextField"), P = x("FmTextarea"), q = x("FmStepperField"), G = x("FmButton"), oe = x("FmForm");
1857
- return h(), T(Oe(e(k).lg || e(k).md ? Ml : Pl), {
1857
+ return h(), T(Oe(l(k).lg || l(k).md ? Ml : Pl), {
1858
1858
  "model-value": p.hideConfiguration,
1859
1859
  "onUpdate:modelValue": F[8] || (F[8] = (S) => i("hideConfiguration", S))
1860
1860
  }, {
@@ -1873,26 +1873,26 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1873
1873
  ]),
1874
1874
  m(we, null, {
1875
1875
  header: $(() => [
1876
- C("p", Jl, L(e(f)("report.tile.widget.details")), 1),
1876
+ C("p", Jl, L(l(f)("report.tile.widget.details")), 1),
1877
1877
  F[9] || (F[9] = C("div", { class: "grow" }, null, -1))
1878
1878
  ]),
1879
1879
  content: $(() => [
1880
1880
  m(z, {
1881
1881
  "model-value": d.value.widget.title,
1882
- label: e(f)("report.tile.widget.title"),
1883
- placeholder: e(f)("report.tile.widget.titlePlaceholder"),
1884
- "onUpdate:modelValue": e(v)
1882
+ label: l(f)("report.tile.widget.title"),
1883
+ placeholder: l(f)("report.tile.widget.titlePlaceholder"),
1884
+ "onUpdate:modelValue": l(v)
1885
1885
  }, null, 8, ["model-value", "label", "placeholder", "onUpdate:modelValue"]),
1886
1886
  m(P, {
1887
1887
  modelValue: d.value.widget.description,
1888
1888
  "onUpdate:modelValue": F[1] || (F[1] = (S) => d.value.widget.description = S),
1889
1889
  disabled: d.value.widget.title === "",
1890
- placeholder: e(f)("report.tile.widget.descriptionPlaceholder"),
1891
- "helper-text": e(f)("report.tile.widget.descriptionHelper")
1890
+ placeholder: l(f)("report.tile.widget.descriptionPlaceholder"),
1891
+ "helper-text": l(f)("report.tile.widget.descriptionHelper")
1892
1892
  }, {
1893
1893
  label: $(() => [
1894
- C("p", Gl, L(e(f)("report.tile.widget.widgetDescription")), 1),
1895
- C("p", Kl, " (" + L(e(f)("report.tile.widget.optional")) + ") ", 1)
1894
+ C("p", Gl, L(l(f)("report.tile.widget.widgetDescription")), 1),
1895
+ C("p", Kl, " (" + L(l(f)("report.tile.widget.optional")) + ") ", 1)
1896
1896
  ]),
1897
1897
  _: 1
1898
1898
  }, 8, ["modelValue", "disabled", "placeholder", "helper-text"]),
@@ -1901,22 +1901,22 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1901
1901
  "onUpdate:model": F[2] || (F[2] = (S) => d.value.widget.config = S)
1902
1902
  }, null, 8, ["model"]),
1903
1903
  C("div", {
1904
- class: Ie(["flex flex-row", `${e(k).sm || e(k).xs ? "gap-16" : "gap-2"}`])
1904
+ class: Ie(["flex flex-row", `${l(k).sm || l(k).xs ? "gap-16" : "gap-2"}`])
1905
1905
  }, [
1906
1906
  m(q, {
1907
1907
  modelValue: d.value.size.width,
1908
1908
  "onUpdate:modelValue": F[3] || (F[3] = (S) => d.value.size.width = S),
1909
- label: e(f)("report.tile.widget.width"),
1909
+ label: l(f)("report.tile.widget.width"),
1910
1910
  min: 1,
1911
1911
  max: 12
1912
1912
  }, null, 8, ["modelValue", "label"]),
1913
1913
  m(q, {
1914
1914
  modelValue: d.value.size.height,
1915
1915
  "onUpdate:modelValue": F[4] || (F[4] = (S) => d.value.size.height = S),
1916
- label: e(f)("report.tile.widget.height"),
1916
+ label: l(f)("report.tile.widget.height"),
1917
1917
  min: 1,
1918
1918
  max: 12,
1919
- disabled: d.value.widget.type === e(B).Scorecard
1919
+ disabled: d.value.widget.type === l(B).Scorecard
1920
1920
  }, null, 8, ["modelValue", "label", "disabled"])
1921
1921
  ], 2)
1922
1922
  ]),
@@ -1924,7 +1924,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1924
1924
  }),
1925
1925
  m(we, null, {
1926
1926
  header: $(() => [
1927
- C("p", null, L(e(f)("report.tile.widget.type")), 1),
1927
+ C("p", null, L(l(f)("report.tile.widget.type")), 1),
1928
1928
  F[10] || (F[10] = C("div", { class: "grow" }, null, -1))
1929
1929
  ]),
1930
1930
  content: $(() => [
@@ -1933,7 +1933,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1933
1933
  "model-value": d.value.widget.type,
1934
1934
  class: "grid grid-cols-1 gap-2",
1935
1935
  "child-class": "flex flex-row p-[8px] gap-2",
1936
- "exclude-widge-type": [e(B).Spacer],
1936
+ "exclude-widge-type": [l(B).Spacer],
1937
1937
  "onUpdate:modelValue": F[5] || (F[5] = (S) => d.value = b(S, d.value))
1938
1938
  }, null, 8, ["model-value", "exclude-widge-type"])
1939
1939
  ]),
@@ -1942,14 +1942,14 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1942
1942
  m(De, {
1943
1943
  modelValue: d.value.widget.config,
1944
1944
  "onUpdate:modelValue": F[6] || (F[6] = (S) => d.value.widget.config = S),
1945
- label: e(f)("report.tile.datasource.main"),
1945
+ label: l(f)("report.tile.datasource.main"),
1946
1946
  config: y.value
1947
1947
  }, null, 8, ["modelValue", "label", "config"]),
1948
1948
  r.value ? (h(!0), I(Z, { key: 0 }, de(r.value, (S, X) => (h(), I("div", { key: X }, [
1949
1949
  m(De, {
1950
1950
  modelValue: r.value[X],
1951
1951
  "onUpdate:modelValue": (H) => r.value[X] = H,
1952
- label: e(f)("report.tile.datasource.join", { index: X + 1 }),
1952
+ label: l(f)("report.tile.datasource.join", { index: X + 1 }),
1953
1953
  config: y.value,
1954
1954
  "main-datasource-config": d.value.widget.config,
1955
1955
  closeable: !0,
@@ -1958,12 +1958,12 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1958
1958
  ]))), 128)) : U("", !0),
1959
1959
  C("div", Ql, [
1960
1960
  m(G, {
1961
- label: e(f)("report.tile.datasource.joinButton"),
1961
+ label: l(f)("report.tile.datasource.joinButton"),
1962
1962
  variant: "secondary",
1963
1963
  icon: "add",
1964
1964
  "icon-position": "prepend",
1965
- "border-color": e(ve).ColorPrimary,
1966
- "text-color": e(ve).ColorPrimary,
1965
+ "border-color": l(ve).ColorPrimary,
1966
+ "text-color": l(ve).ColorPrimary,
1967
1967
  class: "w-full",
1968
1968
  onClick: F[7] || (F[7] = (S) => D())
1969
1969
  }, null, 8, ["label", "border-color", "text-color"])
@@ -1976,7 +1976,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1976
1976
  }, 8, ["model-value"]);
1977
1977
  };
1978
1978
  }
1979
- }), Zl = { class: "flex flex-col gap-8" }, eo = { class: "pl-32 flex flex-col gap-8" }, lo = { class: "fm-typo-en-body-lg-600" }, oo = { class: "flex flex-row gap-8" }, to = { class: "fm-typo-en-body-lg-600" }, ao = { class: "flex flex-row gap-8" }, no = /* @__PURE__ */ A({
1979
+ }), Zl = { class: "flex flex-col gap-8" }, eo = { class: "pl-32 flex flex-col gap-8" }, lo = { class: "fm-typo-en-body-lg-600" }, oo = { class: "flex flex-row gap-8" }, ao = { class: "fm-typo-en-body-lg-600" }, to = { class: "flex flex-row gap-8" }, no = /* @__PURE__ */ A({
1980
1980
  __name: "LabelSection",
1981
1981
  props: {
1982
1982
  model: {}
@@ -1997,7 +1997,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
1997
1997
  }), p = _({
1998
1998
  get: () => o.model.labelFontSize ?? 12,
1999
1999
  set: (D) => u("update:model", { ...o.model, labelFontSize: D })
2000
- }), t = (D) => {
2000
+ }), a = (D) => {
2001
2001
  u("update:model", {
2002
2002
  ...o.model,
2003
2003
  labelAlign: o.model.labelAlign === D ? void 0 : D
@@ -2021,51 +2021,51 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2021
2021
  { icon: "format_align_right", value: Ve.end, tooltip: "anchorEnd" }
2022
2022
  ];
2023
2023
  return (D, O) => {
2024
- const b = x("FmCheckbox"), y = x("FmButton"), r = x("FmTooltip"), v = x("FmTextField"), a = x("FmStepperField");
2024
+ const b = x("FmCheckbox"), y = x("FmButton"), r = x("FmTooltip"), v = x("FmTextField"), t = x("FmStepperField");
2025
2025
  return h(), I("div", Zl, [
2026
2026
  m(b, {
2027
2027
  modelValue: g.value,
2028
- "onUpdate:modelValue": O[0] || (O[0] = (l) => g.value = l),
2028
+ "onUpdate:modelValue": O[0] || (O[0] = (e) => g.value = e),
2029
2029
  value: !1,
2030
- label: e(n)("report.section.datasource.label.showLabel"),
2030
+ label: l(n)("report.section.datasource.label.showLabel"),
2031
2031
  "label-placement": "right",
2032
2032
  class: "fm-typo-en-body-lg-400"
2033
2033
  }, null, 8, ["modelValue", "label"]),
2034
- ae(C("div", eo, [
2035
- C("p", lo, L(e(n)("report.section.datasource.alignment.textAlignment")), 1),
2034
+ te(C("div", eo, [
2035
+ C("p", lo, L(l(n)("report.section.datasource.alignment.textAlignment")), 1),
2036
2036
  C("div", oo, [
2037
- (h(), I(Z, null, de(f, ({ icon: l, value: s, tooltip: F }) => m(r, {
2037
+ (h(), I(Z, null, de(f, ({ icon: e, value: s, tooltip: F }) => m(r, {
2038
2038
  key: s,
2039
2039
  variant: "plain",
2040
2040
  placement: "top",
2041
- content: e(n)(`report.section.datasource.alignment.alignOptions.${F}`),
2041
+ content: l(n)(`report.section.datasource.alignment.alignOptions.${F}`),
2042
2042
  "z-index": 50
2043
2043
  }, {
2044
2044
  default: $(() => [
2045
2045
  m(y, {
2046
- "append-icon": l,
2046
+ "append-icon": e,
2047
2047
  variant: "tertiary",
2048
2048
  "icon-color": D.model.labelAlign === s ? "neutral-gray-400" : "neutral-gray-300",
2049
2049
  "bg-color": D.model.labelAlign === s ? "neutral-gray-100" : "neutral-white",
2050
2050
  class: "rounded-sm",
2051
- onClick: (V) => t(s)
2051
+ onClick: (V) => a(s)
2052
2052
  }, null, 8, ["append-icon", "icon-color", "bg-color", "onClick"])
2053
2053
  ]),
2054
2054
  _: 2
2055
2055
  }, 1032, ["content"])), 64))
2056
2056
  ]),
2057
- C("p", to, L(e(n)("report.section.datasource.alignment.anchor")), 1),
2058
- C("div", ao, [
2059
- (h(), I(Z, null, de(N, ({ icon: l, value: s, tooltip: F }) => m(r, {
2057
+ C("p", ao, L(l(n)("report.section.datasource.alignment.anchor")), 1),
2058
+ C("div", to, [
2059
+ (h(), I(Z, null, de(N, ({ icon: e, value: s, tooltip: F }) => m(r, {
2060
2060
  key: s,
2061
2061
  variant: "plain",
2062
2062
  placement: "top",
2063
- content: e(n)(`report.section.datasource.alignment.anchorOptions.${F}`),
2063
+ content: l(n)(`report.section.datasource.alignment.anchorOptions.${F}`),
2064
2064
  "z-index": 50
2065
2065
  }, {
2066
2066
  default: $(() => [
2067
2067
  m(y, {
2068
- "append-icon": l,
2068
+ "append-icon": e,
2069
2069
  variant: "tertiary",
2070
2070
  "icon-color": D.model.labelAnchor === s ? "neutral-gray-400" : "neutral-gray-300",
2071
2071
  "bg-color": D.model.labelAnchor === s ? "neutral-gray-100" : "neutral-white",
@@ -2078,8 +2078,8 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2078
2078
  ]),
2079
2079
  m(v, {
2080
2080
  modelValue: d.value,
2081
- "onUpdate:modelValue": O[1] || (O[1] = (l) => d.value = l),
2082
- label: e(n)("report.section.datasource.alignment.rotation"),
2081
+ "onUpdate:modelValue": O[1] || (O[1] = (e) => d.value = e),
2082
+ label: l(n)("report.section.datasource.alignment.rotation"),
2083
2083
  type: "number",
2084
2084
  min: -180,
2085
2085
  max: 180,
@@ -2087,14 +2087,14 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2087
2087
  }, null, 8, ["modelValue", "label"]),
2088
2088
  m(v, {
2089
2089
  modelValue: k.value,
2090
- "onUpdate:modelValue": O[2] || (O[2] = (l) => k.value = l),
2091
- label: e(n)("report.section.datasource.alignment.offset"),
2090
+ "onUpdate:modelValue": O[2] || (O[2] = (e) => k.value = e),
2091
+ label: l(n)("report.section.datasource.alignment.offset"),
2092
2092
  type: "number"
2093
2093
  }, null, 8, ["modelValue", "label"]),
2094
- m(a, {
2094
+ m(t, {
2095
2095
  modelValue: p.value,
2096
- "onUpdate:modelValue": O[3] || (O[3] = (l) => p.value = l),
2097
- label: e(n)("report.section.datasource.fontSize"),
2096
+ "onUpdate:modelValue": O[3] || (O[3] = (e) => p.value = e),
2097
+ label: l(n)("report.section.datasource.fontSize"),
2098
2098
  type: "number",
2099
2099
  min: 1
2100
2100
  }, null, 8, ["modelValue", "label"])
@@ -2131,7 +2131,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2131
2131
  set: (b) => {
2132
2132
  u("update:model", { ...o.model, showY: b });
2133
2133
  }
2134
- }), t = _({
2134
+ }), a = _({
2135
2135
  get: () => o.model.showYGrid ?? !0,
2136
2136
  set: (b) => {
2137
2137
  u("update:model", { ...o.model, showYGrid: b });
@@ -2160,38 +2160,38 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2160
2160
  var b, y, r, v;
2161
2161
  !o.model.xTitle && ((y = (b = o.model.metrics) == null ? void 0 : b[0]) != null && y.label) && D(o.model.metrics[0].label), !o.model.yTitle && ((v = (r = o.model.dimensions) == null ? void 0 : r[0]) != null && v.label) && O(o.model.dimensions[0].label);
2162
2162
  }), (b, y) => {
2163
- const r = x("FmCheckbox"), v = x("FmStepperField"), a = x("FmTextField");
2163
+ const r = x("FmCheckbox"), v = x("FmStepperField"), t = x("FmTextField");
2164
2164
  return h(), I("div", io, [
2165
2165
  m(r, {
2166
2166
  modelValue: g.value,
2167
- "onUpdate:modelValue": y[0] || (y[0] = (l) => g.value = l),
2168
- label: e(n)("report.section.datasource.axis.showX"),
2167
+ "onUpdate:modelValue": y[0] || (y[0] = (e) => g.value = e),
2168
+ label: l(n)("report.section.datasource.axis.showX"),
2169
2169
  "label-placement": "right",
2170
2170
  value: !0
2171
2171
  }, null, 8, ["modelValue", "label"]),
2172
- ae(C("div", so, [
2172
+ te(C("div", so, [
2173
2173
  m(r, {
2174
2174
  modelValue: d.value,
2175
- "onUpdate:modelValue": y[1] || (y[1] = (l) => d.value = l),
2176
- label: e(n)("report.section.datasource.axis.showGrid"),
2175
+ "onUpdate:modelValue": y[1] || (y[1] = (e) => d.value = e),
2176
+ label: l(n)("report.section.datasource.axis.showGrid"),
2177
2177
  "label-placement": "right",
2178
2178
  value: !1
2179
2179
  }, null, 8, ["modelValue", "label"]),
2180
2180
  m(r, {
2181
2181
  modelValue: k.value,
2182
- "onUpdate:modelValue": y[2] || (y[2] = (l) => k.value = l),
2183
- label: e(n)("report.section.datasource.axis.showTick"),
2182
+ "onUpdate:modelValue": y[2] || (y[2] = (e) => k.value = e),
2183
+ label: l(n)("report.section.datasource.axis.showTick"),
2184
2184
  "label-placement": "right",
2185
2185
  value: !0
2186
2186
  }, null, 8, ["modelValue", "label"]),
2187
- ae(C("div", uo, [
2187
+ te(C("div", uo, [
2188
2188
  m(v, {
2189
- label: e(n)("report.section.datasource.fontSize"),
2189
+ label: l(n)("report.section.datasource.fontSize"),
2190
2190
  type: "number",
2191
2191
  "model-value": b.model.xTickFontSize ?? 12,
2192
2192
  min: 1,
2193
- "onUpdate:modelValue": y[3] || (y[3] = (l) => {
2194
- u("update:model", { ...b.model, xTickFontSize: Number(l) });
2193
+ "onUpdate:modelValue": y[3] || (y[3] = (e) => {
2194
+ u("update:model", { ...b.model, xTickFontSize: Number(e) });
2195
2195
  })
2196
2196
  }, null, 8, ["label", "model-value"])
2197
2197
  ], 512), [
@@ -2199,25 +2199,25 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2199
2199
  ]),
2200
2200
  m(r, {
2201
2201
  modelValue: f.value,
2202
- "onUpdate:modelValue": y[4] || (y[4] = (l) => f.value = l),
2203
- label: e(n)("report.section.datasource.axis.showTitle"),
2202
+ "onUpdate:modelValue": y[4] || (y[4] = (e) => f.value = e),
2203
+ label: l(n)("report.section.datasource.axis.showTitle"),
2204
2204
  "label-placement": "right",
2205
2205
  value: !0
2206
2206
  }, null, 8, ["modelValue", "label"]),
2207
- ae(C("div", ro, [
2208
- m(a, {
2207
+ te(C("div", ro, [
2208
+ m(t, {
2209
2209
  "model-value": b.model.xTitle,
2210
- label: e(n)("report.common.title"),
2211
- placeholder: e(n)("report.tile.widget.titlePlaceholder"),
2212
- "onUpdate:modelValue": e(D)
2210
+ label: l(n)("report.common.title"),
2211
+ placeholder: l(n)("report.tile.widget.titlePlaceholder"),
2212
+ "onUpdate:modelValue": l(D)
2213
2213
  }, null, 8, ["model-value", "label", "placeholder", "onUpdate:modelValue"]),
2214
2214
  m(v, {
2215
- label: e(n)("report.section.datasource.fontSize"),
2215
+ label: l(n)("report.section.datasource.fontSize"),
2216
2216
  type: "number",
2217
2217
  "model-value": b.model.xTitleFontSize ?? 12,
2218
2218
  min: 1,
2219
- "onUpdate:modelValue": y[5] || (y[5] = (l) => {
2220
- u("update:model", { ...b.model, xTitleFontSize: Number(l) });
2219
+ "onUpdate:modelValue": y[5] || (y[5] = (e) => {
2220
+ u("update:model", { ...b.model, xTitleFontSize: Number(e) });
2221
2221
  })
2222
2222
  }, null, 8, ["label", "model-value"])
2223
2223
  ], 512), [
@@ -2228,34 +2228,34 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2228
2228
  ]),
2229
2229
  m(r, {
2230
2230
  modelValue: p.value,
2231
- "onUpdate:modelValue": y[6] || (y[6] = (l) => p.value = l),
2232
- label: e(n)("report.section.datasource.axis.showY"),
2231
+ "onUpdate:modelValue": y[6] || (y[6] = (e) => p.value = e),
2232
+ label: l(n)("report.section.datasource.axis.showY"),
2233
2233
  "label-placement": "right",
2234
2234
  value: !0
2235
2235
  }, null, 8, ["modelValue", "label"]),
2236
- ae(C("div", mo, [
2236
+ te(C("div", mo, [
2237
2237
  m(r, {
2238
- modelValue: t.value,
2239
- "onUpdate:modelValue": y[7] || (y[7] = (l) => t.value = l),
2240
- label: e(n)("report.section.datasource.axis.showGrid"),
2238
+ modelValue: a.value,
2239
+ "onUpdate:modelValue": y[7] || (y[7] = (e) => a.value = e),
2240
+ label: l(n)("report.section.datasource.axis.showGrid"),
2241
2241
  "label-placement": "right",
2242
2242
  value: !1
2243
2243
  }, null, 8, ["modelValue", "label"]),
2244
2244
  m(r, {
2245
2245
  modelValue: i.value,
2246
- "onUpdate:modelValue": y[8] || (y[8] = (l) => i.value = l),
2247
- label: e(n)("report.section.datasource.axis.showTick"),
2246
+ "onUpdate:modelValue": y[8] || (y[8] = (e) => i.value = e),
2247
+ label: l(n)("report.section.datasource.axis.showTick"),
2248
2248
  "label-placement": "right",
2249
2249
  value: !0
2250
2250
  }, null, 8, ["modelValue", "label"]),
2251
- ae(C("div", po, [
2251
+ te(C("div", po, [
2252
2252
  m(v, {
2253
- label: e(n)("report.section.datasource.fontSize"),
2253
+ label: l(n)("report.section.datasource.fontSize"),
2254
2254
  type: "number",
2255
2255
  "model-value": b.model.yTickFontSize ?? 12,
2256
2256
  min: 1,
2257
- "onUpdate:modelValue": y[9] || (y[9] = (l) => {
2258
- u("update:model", { ...b.model, yTickFontSize: Number(l) });
2257
+ "onUpdate:modelValue": y[9] || (y[9] = (e) => {
2258
+ u("update:model", { ...b.model, yTickFontSize: Number(e) });
2259
2259
  })
2260
2260
  }, null, 8, ["label", "model-value"])
2261
2261
  ], 512), [
@@ -2263,25 +2263,25 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2263
2263
  ]),
2264
2264
  m(r, {
2265
2265
  modelValue: N.value,
2266
- "onUpdate:modelValue": y[10] || (y[10] = (l) => N.value = l),
2267
- label: e(n)("report.section.datasource.axis.showTitle"),
2266
+ "onUpdate:modelValue": y[10] || (y[10] = (e) => N.value = e),
2267
+ label: l(n)("report.section.datasource.axis.showTitle"),
2268
2268
  "label-placement": "right",
2269
2269
  value: !0
2270
2270
  }, null, 8, ["modelValue", "label"]),
2271
- ae(C("div", co, [
2272
- m(a, {
2271
+ te(C("div", co, [
2272
+ m(t, {
2273
2273
  "model-value": b.model.yTitle,
2274
- label: e(n)("report.common.title"),
2275
- placeholder: e(n)("report.tile.widget.titlePlaceholder"),
2276
- "onUpdate:modelValue": e(O)
2274
+ label: l(n)("report.common.title"),
2275
+ placeholder: l(n)("report.tile.widget.titlePlaceholder"),
2276
+ "onUpdate:modelValue": l(O)
2277
2277
  }, null, 8, ["model-value", "label", "placeholder", "onUpdate:modelValue"]),
2278
2278
  m(v, {
2279
- label: e(n)("report.section.datasource.fontSize"),
2279
+ label: l(n)("report.section.datasource.fontSize"),
2280
2280
  type: "number",
2281
2281
  "model-value": b.model.yTitleFontSize ?? 12,
2282
2282
  min: 1,
2283
- "onUpdate:modelValue": y[11] || (y[11] = (l) => {
2284
- u("update:model", { ...b.model, yTitleFontSize: Number(l) });
2283
+ "onUpdate:modelValue": y[11] || (y[11] = (e) => {
2284
+ u("update:model", { ...b.model, yTitleFontSize: Number(e) });
2285
2285
  })
2286
2286
  }, null, 8, ["label", "model-value"])
2287
2287
  ], 512), [
@@ -2321,7 +2321,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2321
2321
  set: (i) => {
2322
2322
  u("update:model", { ...o.model, legendMaxHeight: i });
2323
2323
  }
2324
- }), t = _({
2324
+ }), a = _({
2325
2325
  get: () => o.model.legendMaxWidth ?? 54,
2326
2326
  set: (i) => {
2327
2327
  u("update:model", { ...o.model, legendMaxWidth: i });
@@ -2335,11 +2335,11 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2335
2335
  "onUpdate:modelValue": f[0] || (f[0] = (b) => d.value = b),
2336
2336
  class: "fm-typo-en-body-lg-400",
2337
2337
  value: !1,
2338
- label: e(n)("report.section.datasource.legend.showLegend")
2338
+ label: l(n)("report.section.datasource.legend.showLegend")
2339
2339
  }, null, 8, ["modelValue", "label"]),
2340
- ae(C("div", go, [
2340
+ te(C("div", go, [
2341
2341
  m(D, {
2342
- label: e(n)("report.section.datasource.position.showPosition"),
2342
+ label: l(n)("report.section.datasource.position.showPosition"),
2343
2343
  items: g,
2344
2344
  "model-value": i.model.legendPosition ?? "top",
2345
2345
  "onUpdate:modelValue": f[1] || (f[1] = (b) => u("update:model", { ...i.model, legendPosition: b }))
@@ -2347,19 +2347,19 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2347
2347
  m(N, {
2348
2348
  modelValue: k.value,
2349
2349
  "onUpdate:modelValue": f[2] || (f[2] = (b) => k.value = b),
2350
- label: e(n)("report.section.datasource.legend.usePointStyle"),
2350
+ label: l(n)("report.section.datasource.legend.usePointStyle"),
2351
2351
  value: !1
2352
2352
  }, null, 8, ["modelValue", "label"]),
2353
2353
  i.model.legendPosition === "top" || i.model.legendPosition === "bottom" || !i.model.legendPosition ? (h(), T(O, {
2354
2354
  key: 0,
2355
- label: e(n)("report.section.datasource.legend.maxHeight"),
2355
+ label: l(n)("report.section.datasource.legend.maxHeight"),
2356
2356
  "model-value": p.value,
2357
2357
  "onUpdate:modelValue": f[3] || (f[3] = (b) => u("update:model", { ...i.model, legendMaxHeight: b }))
2358
2358
  }, null, 8, ["label", "model-value"])) : U("", !0),
2359
2359
  i.model.legendPosition === "left" || i.model.legendPosition === "right" ? (h(), T(O, {
2360
2360
  key: 1,
2361
- label: e(n)("report.section.datasource.legend.maxWidth"),
2362
- "model-value": t.value,
2361
+ label: l(n)("report.section.datasource.legend.maxWidth"),
2362
+ "model-value": a.value,
2363
2363
  "onUpdate:modelValue": f[4] || (f[4] = (b) => u("update:model", { ...i.model, legendMaxWidth: b }))
2364
2364
  }, null, 8, ["label", "model-value"])) : U("", !0)
2365
2365
  ], 512), [
@@ -2387,22 +2387,22 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2387
2387
  }
2388
2388
  });
2389
2389
  return (k, p) => {
2390
- const t = x("FmStepperField");
2390
+ const a = x("FmStepperField");
2391
2391
  return h(), I("div", yo, [
2392
- m(t, {
2392
+ m(a, {
2393
2393
  modelValue: g.value,
2394
2394
  "onUpdate:modelValue": p[0] || (p[0] = (i) => g.value = i),
2395
2395
  type: "number",
2396
- label: e(n)("report.section.datasource.chartHeight"),
2396
+ label: l(n)("report.section.datasource.chartHeight"),
2397
2397
  suffix: "px",
2398
2398
  min: 1,
2399
2399
  placeholder: "Auto"
2400
2400
  }, null, 8, ["modelValue", "label"]),
2401
- m(t, {
2401
+ m(a, {
2402
2402
  modelValue: d.value,
2403
2403
  "onUpdate:modelValue": p[1] || (p[1] = (i) => d.value = i),
2404
2404
  type: "number",
2405
- label: e(n)("report.section.datasource.chartWidth"),
2405
+ label: l(n)("report.section.datasource.chartWidth"),
2406
2406
  suffix: "px",
2407
2407
  min: 1,
2408
2408
  placeholder: "Auto"
@@ -2445,47 +2445,47 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2445
2445
  se(
2446
2446
  [() => o.value.dimensions, () => o.value.metrics],
2447
2447
  () => {
2448
- const { rowIds: p, columnIds: t } = ye(o.value);
2449
- o.value.rowIds = p, o.value.columnIds = t;
2448
+ const { rowIds: p, columnIds: a } = ye(o.value);
2449
+ o.value.rowIds = p, o.value.columnIds = a;
2450
2450
  },
2451
2451
  { deep: !0 }
2452
2452
  );
2453
2453
  const u = w, n = c, { t: g, te: d } = Y(), k = _(() => u.config.type === B.Circular);
2454
- return (p, t) => {
2454
+ return (p, a) => {
2455
2455
  const i = x("FmButton");
2456
2456
  return h(), I(Z, null, [
2457
- t[6] || (t[6] = C("div", { class: "grow" }, null, -1)),
2457
+ a[6] || (a[6] = C("div", { class: "grow" }, null, -1)),
2458
2458
  u.closeable ? (h(), T(i, {
2459
2459
  key: 0,
2460
2460
  icon: "close",
2461
2461
  variant: "tertiary",
2462
2462
  size: "md",
2463
- onClick: t[0] || (t[0] = te((f) => n("click-close"), ["stop"]))
2463
+ onClick: a[0] || (a[0] = ae((f) => n("click-close"), ["stop"]))
2464
2464
  })) : U("", !0),
2465
2465
  C("div", Vo, [
2466
2466
  u.config.hasChart ? (h(), T(ho, {
2467
2467
  key: 0,
2468
2468
  model: o.value,
2469
- "onUpdate:model": t[1] || (t[1] = (f) => o.value = f)
2469
+ "onUpdate:model": a[1] || (a[1] = (f) => o.value = f)
2470
2470
  }, null, 8, ["model"])) : U("", !0),
2471
2471
  C("div", Fo, [
2472
- t[5] || (t[5] = C("p", { class: "fm-typo-en-body-lg-600" }, "Configuration", -1)),
2472
+ a[5] || (a[5] = C("p", { class: "fm-typo-en-body-lg-600" }, "Configuration", -1)),
2473
2473
  C("div", wo, [
2474
2474
  u.config.hasLabel ? (h(), T(no, {
2475
2475
  key: 0,
2476
2476
  model: o.value,
2477
- "onUpdate:model": t[2] || (t[2] = (f) => o.value = f)
2477
+ "onUpdate:model": a[2] || (a[2] = (f) => o.value = f)
2478
2478
  }, null, 8, ["model"])) : U("", !0),
2479
2479
  u.config.hasLegend ? (h(), T(bo, {
2480
2480
  key: 1,
2481
2481
  model: o.value,
2482
2482
  "is-circular-widget": k.value,
2483
- "onUpdate:model": t[3] || (t[3] = (f) => o.value = f)
2483
+ "onUpdate:model": a[3] || (a[3] = (f) => o.value = f)
2484
2484
  }, null, 8, ["model", "is-circular-widget"])) : U("", !0),
2485
2485
  u.config.hasXy ? (h(), T(vo, {
2486
2486
  key: 2,
2487
2487
  model: o.value,
2488
- "onUpdate:model": t[4] || (t[4] = (f) => o.value = f)
2488
+ "onUpdate:model": a[4] || (a[4] = (f) => o.value = f)
2489
2489
  }, null, 8, ["model"])) : U("", !0)
2490
2490
  ])
2491
2491
  ])
@@ -2507,8 +2507,8 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2507
2507
  () => he.find((g) => g.type === o.value.widget.type)
2508
2508
  ), n = W(!1);
2509
2509
  return (g, d) => {
2510
- const k = x("FmCircularProgress"), p = x("FmButton"), t = x("FmSideSheet");
2511
- return h(), T(t, {
2510
+ const k = x("FmCircularProgress"), p = x("FmButton"), a = x("FmSideSheet");
2511
+ return h(), T(a, {
2512
2512
  modelValue: n.value,
2513
2513
  "onUpdate:modelValue": d[2] || (d[2] = (i) => n.value = i),
2514
2514
  "close-button": !1,
@@ -2566,8 +2566,8 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2566
2566
  setup(w, { emit: c }) {
2567
2567
  const o = ee(w, "modelValue"), u = w, n = _(
2568
2568
  () => he.find((p) => {
2569
- var t;
2570
- return p.type === ((t = o.value) == null ? void 0 : t.widget.type);
2569
+ var a;
2570
+ return p.type === ((a = o.value) == null ? void 0 : a.widget.type);
2571
2571
  })
2572
2572
  ), g = c, d = [
2573
2573
  B.BarChart,
@@ -2576,7 +2576,7 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2576
2576
  B.StackLineChart,
2577
2577
  B.Circular
2578
2578
  ], k = _(() => d.includes(o.value.widget.type));
2579
- return (p, t) => {
2579
+ return (p, a) => {
2580
2580
  const i = x("FmCircularProgress"), f = x("FmButton");
2581
2581
  return h(), I("div", null, [
2582
2582
  o.value ? (h(), I(Z, { key: 1 }, [
@@ -2587,10 +2587,10 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2587
2587
  C("div", So, [
2588
2588
  m(Ae, {
2589
2589
  modelValue: o.value,
2590
- "onUpdate:modelValue": t[0] || (t[0] = (N) => o.value = N),
2590
+ "onUpdate:modelValue": a[0] || (a[0] = (N) => o.value = N),
2591
2591
  config: n.value,
2592
2592
  "hide-configuration": w.hideConfiguration,
2593
- onHideConfiguration: t[1] || (t[1] = (N) => {
2593
+ onHideConfiguration: a[1] || (a[1] = (N) => {
2594
2594
  g("hideConfiguration", N);
2595
2595
  })
2596
2596
  }, null, 8, ["modelValue", "config", "hide-configuration"])
@@ -2601,11 +2601,11 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2601
2601
  m(f, {
2602
2602
  variant: "secondary",
2603
2603
  icon: "keyboard_double_arrow_right",
2604
- "border-color": e(ve).ColorPrimary,
2605
- "text-color": e(ve).ColorPrimary,
2604
+ "border-color": l(ve).ColorPrimary,
2605
+ "text-color": l(ve).ColorPrimary,
2606
2606
  class: "m-24 my-16",
2607
2607
  size: "md",
2608
- onClick: t[2] || (t[2] = (N) => g("hideConfiguration", !u.hideConfiguration))
2608
+ onClick: a[2] || (a[2] = (N) => g("hideConfiguration", !u.hideConfiguration))
2609
2609
  }, null, 8, ["border-color", "text-color"])
2610
2610
  ])
2611
2611
  ]),
@@ -2624,9 +2624,9 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2624
2624
  k.value ? (h(), T(_o, {
2625
2625
  key: 0,
2626
2626
  modelValue: o.value,
2627
- "onUpdate:modelValue": t[3] || (t[3] = (N) => o.value = N),
2627
+ "onUpdate:modelValue": a[3] || (a[3] = (N) => o.value = N),
2628
2628
  "hide-configuration": w.hideConfiguration,
2629
- onHideConfiguration: t[4] || (t[4] = (N) => {
2629
+ onHideConfiguration: a[4] || (a[4] = (N) => {
2630
2630
  g("hideConfiguration", N);
2631
2631
  })
2632
2632
  }, null, 8, ["modelValue", "hide-configuration"])) : U("", !0)
@@ -2670,11 +2670,11 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2670
2670
  ]),
2671
2671
  m(Ae, {
2672
2672
  modelValue: o.value,
2673
- "onUpdate:modelValue": k[0] || (k[0] = (t) => o.value = t),
2673
+ "onUpdate:modelValue": k[0] || (k[0] = (a) => o.value = a),
2674
2674
  config: n.value,
2675
2675
  "hide-configuration": w.hideConfiguration,
2676
- onHideConfiguration: k[1] || (k[1] = (t) => {
2677
- g("hideConfiguration", t);
2676
+ onHideConfiguration: k[1] || (k[1] = (a) => {
2677
+ g("hideConfiguration", a);
2678
2678
  })
2679
2679
  }, null, 8, ["modelValue", "config", "hide-configuration"])
2680
2680
  ], 64)) : (h(), I("div", No, [
@@ -2692,68 +2692,68 @@ const hl = { class: "flex flex-col my-2 gap-8" }, Vl = { class: "fm-typo-en-body
2692
2692
  }, Go = /* @__PURE__ */ A({
2693
2693
  __name: "TileEditor",
2694
2694
  setup(w) {
2695
- const { rowHeight: c, colWidths: o } = ue(ge()), u = Ye(), n = Ee(), g = tl(), { globalFilters: d } = ue(Re()), { currentSelectWidgetType: k, editingReport: p, editingTile: t, editingTileIndex: i } = ue(g), { breakpoints: f } = Me(), { promptMessage: N } = Le(), { t: D } = Y(), O = W(!1);
2695
+ const { rowHeight: c, colWidths: o } = ue(ge()), u = Ye(), n = Ee(), g = al(), { globalFilters: d } = ue(Re()), { currentSelectWidgetType: k, editingReport: p, editingTile: a, editingTileIndex: i } = ue(g), { breakpoints: f } = Me(), { promptMessage: N } = Le(), { t: D } = Y(), O = W(!1);
2696
2696
  function b() {
2697
- k.value = void 0, t.value = void 0, i.value = -1, n.back();
2697
+ k.value = void 0, a.value = void 0, i.value = -1, n.back();
2698
2698
  }
2699
2699
  async function y() {
2700
- var a;
2700
+ var t;
2701
2701
  if (!p.value) return;
2702
2702
  await N({
2703
2703
  title: D("report.tile.save.title"),
2704
- message: D("report.tile.save.confirm", { title: (a = t.value) == null ? void 0 : a.widget.title })
2705
- }) && t.value && (t.value.widget.config = {
2706
- ...t.value.widget.config,
2704
+ message: D("report.tile.save.confirm", { title: (t = a.value) == null ? void 0 : t.widget.title })
2705
+ }) && a.value && (a.value.widget.config = {
2706
+ ...a.value.widget.config,
2707
2707
  rowHeight: c.value,
2708
2708
  colWidths: [...o.value]
2709
- }, i.value === -1 ? p.value.tiles.push(t.value) : p.value.tiles[i.value] = t.value, b());
2709
+ }, i.value === -1 ? p.value.tiles.push(a.value) : p.value.tiles[i.value] = a.value, b());
2710
2710
  }
2711
2711
  async function r() {
2712
- var a;
2712
+ var t;
2713
2713
  if (!p.value) return;
2714
2714
  await N({
2715
2715
  title: D("report.tile.cancel.title"),
2716
- message: D("report.tile.cancel.confirm", { title: (a = t.value) == null ? void 0 : a.widget.title })
2716
+ message: D("report.tile.cancel.confirm", { title: (t = a.value) == null ? void 0 : t.widget.title })
2717
2717
  }) && b();
2718
2718
  }
2719
2719
  return ke(() => {
2720
2720
  p.value || n.push({ name: "reports" });
2721
- }), (v, a) => {
2722
- const l = x("FmPageHead");
2721
+ }), (v, t) => {
2722
+ const e = x("FmPageHead");
2723
2723
  return h(), T(el, null, {
2724
2724
  default: $(() => [
2725
- m(l, {
2725
+ m(e, {
2726
2726
  actions: [
2727
2727
  { label: "Cancel", value: "cancel", isPrimary: !1 },
2728
2728
  { label: "Save", value: "save", isPrimary: !0 }
2729
2729
  ],
2730
- "onClick:action": a[0] || (a[0] = (s) => {
2730
+ "onClick:action": t[0] || (t[0] = (s) => {
2731
2731
  s === "cancel" && r(), s === "save" && y();
2732
2732
  })
2733
2733
  }, {
2734
2734
  title: $(() => {
2735
2735
  var s;
2736
2736
  return [
2737
- e(f).lg || e(f).md ? (h(), I("p", Bo, L(e(je)(((s = e(t)) == null ? void 0 : s.widget.type) ?? "New report")), 1)) : U("", !0)
2737
+ l(f).lg || l(f).md ? (h(), I("p", Bo, L(l(je)(((s = l(a)) == null ? void 0 : s.widget.type) ?? "New report")), 1)) : U("", !0)
2738
2738
  ];
2739
2739
  }),
2740
2740
  _: 1
2741
2741
  }),
2742
- e(t) && (e(d) || []).some((s) => {
2743
- const F = s.tileIds, V = e(t) && e(t).id;
2742
+ l(a) && (l(d) || []).some((s) => {
2743
+ const F = s.tileIds, V = l(a) && l(a).id;
2744
2744
  return Array.isArray(F) && typeof V == "string" && F.includes(V);
2745
2745
  }) ? (h(), I("div", Lo, [
2746
2746
  m(il)
2747
2747
  ])) : U("", !0),
2748
- e(t) ? (h(), T(Oe(e(f).lg || e(f).md ? $o : Io), {
2748
+ l(a) ? (h(), T(Oe(l(f).lg || l(f).md ? $o : Io), {
2749
2749
  key: 1,
2750
- modelValue: e(t),
2751
- "onUpdate:modelValue": a[1] || (a[1] = (s) => He(t) ? t.value = s : null),
2752
- class: Ie(`${e(f).lg || e(f).md ? "flex" : ""} w-full`),
2753
- style: qe({ height: `calc( 100% - ${e(f).lg || e(f).md ? 72 : 64}px)` }),
2750
+ modelValue: l(a),
2751
+ "onUpdate:modelValue": t[1] || (t[1] = (s) => He(a) ? a.value = s : null),
2752
+ class: Ie(`${l(f).lg || l(f).md ? "flex" : ""} w-full`),
2753
+ style: qe({ height: `calc( 100% - ${l(f).lg || l(f).md ? 72 : 64}px)` }),
2754
2754
  "hide-configuration": O.value,
2755
- index: Number(e(u).params.tileIndex),
2756
- onHideConfiguration: a[2] || (a[2] = (s) => O.value = s)
2755
+ index: Number(l(u).params.tileIndex),
2756
+ onHideConfiguration: t[2] || (t[2] = (s) => O.value = s)
2757
2757
  }, null, 40, ["modelValue", "class", "style", "hide-configuration", "index"])) : U("", !0)
2758
2758
  ]),
2759
2759
  _: 1