@feedmepos/mf-report 5.21.12-beta.0 → 5.21.13-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.
- package/dist/{App-oQUW7dy2.js → App-Dt6ubB1t.js} +3 -3
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-9T4oMO7h.js → BaseDialog.vue_vue_type_script_setup_true_lang-B_rcaGpA.js} +732 -660
- package/dist/{Default.vue_vue_type_script_setup_true_lang-DkcYheYP.js → Default.vue_vue_type_script_setup_true_lang-Dy_BCSBB.js} +1 -1
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-BIxgeeUJ.js → FilterSelector.vue_vue_type_script_setup_true_lang-yanjJaxT.js} +105 -105
- package/dist/{InsightView-C9FgEP_6.js → InsightView-DCo1bO6l.js} +2 -2
- package/dist/{Layout-DnfofkhT.js → Layout-FG7P7csi.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-bKn_wMql.js → MenuTab.vue_vue_type_script_setup_true_lang-CW-2kKZK.js} +3 -3
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CMWhS18T.js → NavigationTab.vue_vue_type_script_setup_true_lang-CNulYlIN.js} +1 -1
- package/dist/{OverviewView-ClzWkpD_.js → OverviewView-ChN1PjXK.js} +4 -4
- package/dist/{Report-BOrYLb0y.js → Report-BOvhR61k.js} +2 -2
- package/dist/{ReportEditor-D24u3Mo-.js → ReportEditor-Bd6tigyn.js} +3 -3
- package/dist/{ReportView-CLAaXYpF.js → ReportView-BajXZzQz.js} +5 -5
- package/dist/{Setting-CWHkap2V.js → Setting-BlonBllV.js} +2 -2
- package/dist/{TileEditor-P187soS_.js → TileEditor-BlNHckJS.js} +3 -3
- package/dist/{TransitionFade-rgdNNCAg.js → TransitionFade-BQyLl8zj.js} +2 -2
- package/dist/app.js +9 -9
- package/dist/assets/{formatChartData.worker-B_urmW55.js → formatChartData.worker-CWeoECGm.js} +6 -6
- package/dist/assets/{processTableData.worker-B_-FBESg.js → processTableData.worker-CEGZqqhL.js} +6 -6
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as s, openBlock as t, normalizeStyle as n, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as g, renderSlot as x } from "vue";
|
|
2
|
-
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CNulYlIN.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as C } from "pinia";
|
|
5
5
|
import { u as q, f as w } from "./vue-i18n-Ddfg_5-j.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as C, defineComponent as Te, mergeModels as Ie, useModel as Ae, ref as h, onMounted as Ue, nextTick as we, watch as fe, resolveComponent as B, createElementBlock as te, openBlock as $, Fragment as be, renderSlot as Ne, createVNode as P, normalizeStyle as $e, unref as n, createElementVNode as O, toDisplayString as ke, withCtx as ne, createBlock as re, createCommentVNode as _e, normalizeClass as qe, h as nt, renderList as st, toRaw as fl, markRaw as vl, createTextVNode as ht, onUnmounted as gl, resolveDynamicComponent as yl, withDirectives as bl, vShow as wl, withModifiers as ct } from "vue";
|
|
2
|
-
import { W as A, e as et, f as xl, S as Be, v as ot, g as Sl, h as dt, i as Bt, q as Ot, R as je, j as Cl, D as Re, c as he, C as Se, a as kl, b as _l, _ as Tl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { W as A, e as et, f as xl, S as Be, v as ot, g as Sl, h as dt, i as Bt, q as Ot, R as je, j as Cl, D as Re, c as he, C as Se, a as kl, b as _l, _ as Tl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-B_rcaGpA.js";
|
|
3
3
|
import { u as tt, b as Qe, a as St, d as Ke, i as Fl } from "./vue-i18n-Ddfg_5-j.js";
|
|
4
|
-
import { d as Mt, _ as
|
|
4
|
+
import { d as Mt, _ as Ll, a as Dl, b as Rl, c as Vl } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BPgwa2JR.js";
|
|
5
5
|
import { storeToRefs as Ve, defineStore as Ht } from "pinia";
|
|
6
6
|
import { useBreakpoints as qt, useSnackbar as Ct, components as zl } from "@feedmepos/ui-library";
|
|
7
7
|
import { a as $l } from "./SelectComponent.vue_vue_type_script_setup_true_lang-5tTdsBOc.js";
|
|
@@ -131,12 +131,12 @@ function Ut(e, a, o) {
|
|
|
131
131
|
const g = Number(l(e)), k = Number(l(a));
|
|
132
132
|
if (isNaN(g) || isNaN(k))
|
|
133
133
|
return null;
|
|
134
|
-
let
|
|
135
|
-
k === 0 ? g === 0 ?
|
|
136
|
-
const
|
|
134
|
+
let L = 0;
|
|
135
|
+
k === 0 ? g === 0 ? L = 0 : L = 1 : L = (g - k) / k;
|
|
136
|
+
const D = Ml(L);
|
|
137
137
|
return {
|
|
138
|
-
value: isNaN(
|
|
139
|
-
icon:
|
|
138
|
+
value: isNaN(L) ? "" : `${(L * 100).toFixed(0)}%`,
|
|
139
|
+
icon: D
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
function Ml(e) {
|
|
@@ -295,8 +295,8 @@ function lt(e) {
|
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
|
-
})),
|
|
299
|
-
return { datalabels: o, xCfg: l, yCfg: g, isTransposed:
|
|
298
|
+
})), L = C(() => e.isTransposed), D = C(() => e.chartWidth), z = C(() => e.chartHeight);
|
|
299
|
+
return { datalabels: o, xCfg: l, yCfg: g, isTransposed: L, legend: k, chartWidth: D, chartHeight: z };
|
|
300
300
|
}
|
|
301
301
|
const Il = /* @__PURE__ */ Te({
|
|
302
302
|
__name: "WidgetBarchart",
|
|
@@ -314,7 +314,7 @@ const Il = /* @__PURE__ */ Te({
|
|
|
314
314
|
}), k = C(() => {
|
|
315
315
|
var y;
|
|
316
316
|
return ((y = o.value.data) == null ? void 0 : y.datasets) ?? [];
|
|
317
|
-
}), { datalabels:
|
|
317
|
+
}), { datalabels: L, xCfg: D, yCfg: z, isTransposed: c, legend: p, chartWidth: m, chartHeight: r } = lt(
|
|
318
318
|
o.value
|
|
319
319
|
), w = C(() => k.value.length > 0 ? [
|
|
320
320
|
...k.value.map((y, W) => ({
|
|
@@ -343,7 +343,7 @@ const Il = /* @__PURE__ */ Te({
|
|
|
343
343
|
class: "bar-chart",
|
|
344
344
|
datasets: w.value,
|
|
345
345
|
"x-axis": { categories: g.value },
|
|
346
|
-
"x-cfg": n(
|
|
346
|
+
"x-cfg": n(D),
|
|
347
347
|
"y-cfg": n(z),
|
|
348
348
|
transpose: n(c),
|
|
349
349
|
legend: {
|
|
@@ -353,7 +353,7 @@ const Il = /* @__PURE__ */ Te({
|
|
|
353
353
|
maxWidth: n(p).maxWidth,
|
|
354
354
|
labels: n(p).labels
|
|
355
355
|
},
|
|
356
|
-
datalabels: n(
|
|
356
|
+
datalabels: n(L),
|
|
357
357
|
"maintain-aspect-ratio": !1,
|
|
358
358
|
style: $e({
|
|
359
359
|
"--chart-width": n(m) !== void 0 ? n(m) + "px" : "100%",
|
|
@@ -373,7 +373,7 @@ const Il = /* @__PURE__ */ Te({
|
|
|
373
373
|
}),
|
|
374
374
|
emits: ["update:modelValue"],
|
|
375
375
|
setup(e) {
|
|
376
|
-
const a = e, o = Ae(e, "modelValue"), { breakpoints: l } = qt(), g = h(null), { datalabels: k, legend:
|
|
376
|
+
const a = e, o = Ae(e, "modelValue"), { breakpoints: l } = qt(), g = h(null), { datalabels: k, legend: L, chartWidth: D, chartHeight: z } = lt(o.value), c = C(() => {
|
|
377
377
|
let w = [];
|
|
378
378
|
return o.value.data.datasets && o.value.data.metrics && o.value.data.datasets.length > 0 && o.value.data.metrics.length > 0 && (w = [
|
|
379
379
|
{
|
|
@@ -407,12 +407,12 @@ const Il = /* @__PURE__ */ Te({
|
|
|
407
407
|
metrics: o.value.data.datasets.map((y) => y.name),
|
|
408
408
|
variant: "doughnut",
|
|
409
409
|
legend: {
|
|
410
|
-
display: n(
|
|
411
|
-
position: n(
|
|
412
|
-
maxHeight: n(
|
|
413
|
-
maxWidth: n(
|
|
410
|
+
display: n(L).display ?? !0,
|
|
411
|
+
position: n(L).position ?? "top",
|
|
412
|
+
maxHeight: n(L).maxHeight,
|
|
413
|
+
maxWidth: n(L).maxWidth,
|
|
414
414
|
labels: {
|
|
415
|
-
...n(
|
|
415
|
+
...n(L).labels,
|
|
416
416
|
font: {
|
|
417
417
|
size: r.value
|
|
418
418
|
}
|
|
@@ -421,7 +421,7 @@ const Il = /* @__PURE__ */ Te({
|
|
|
421
421
|
datalabels: n(k),
|
|
422
422
|
"maintain-aspect-ratio": !1,
|
|
423
423
|
style: $e({
|
|
424
|
-
"--chart-width": n(
|
|
424
|
+
"--chart-width": n(D) !== void 0 ? n(D) + "px" : "100%",
|
|
425
425
|
"--chart-height": n(z) !== void 0 ? n(z) + "px" : "calc(100% - 36px)"
|
|
426
426
|
})
|
|
427
427
|
}, null, 8, ["datasets", "metrics", "legend", "datalabels", "style"])
|
|
@@ -436,12 +436,12 @@ const Il = /* @__PURE__ */ Te({
|
|
|
436
436
|
},
|
|
437
437
|
emits: ["update:modelValue"],
|
|
438
438
|
setup(e) {
|
|
439
|
-
const a = Ae(e, "modelValue"), { t: o } = tt(), { compareDateRange: l, defaultDateSetting: g } = Ve(Qe()), { country: k } = St(),
|
|
439
|
+
const a = Ae(e, "modelValue"), { t: o } = tt(), { compareDateRange: l, defaultDateSetting: g } = Ve(Qe()), { country: k } = St(), L = C(() => {
|
|
440
440
|
var m;
|
|
441
441
|
return ((m = a.value.data) == null ? void 0 : m.value) || "";
|
|
442
|
-
}),
|
|
442
|
+
}), D = C(() => {
|
|
443
443
|
const { data: m } = a.value;
|
|
444
|
-
return m != null && m.comparison ? Ut(
|
|
444
|
+
return m != null && m.comparison ? Ut(L.value, m.comparison, k) : null;
|
|
445
445
|
});
|
|
446
446
|
function z(m) {
|
|
447
447
|
switch (m) {
|
|
@@ -467,7 +467,7 @@ const Il = /* @__PURE__ */ Te({
|
|
|
467
467
|
const w = B("FmIcon"), x = B("FmChip"), S = B("FmTooltip"), y = B("FmLineChart");
|
|
468
468
|
return $(), te("div", Wl, [
|
|
469
469
|
Ne(m.$slots, "menu"),
|
|
470
|
-
O("p", Pl, ke(
|
|
470
|
+
O("p", Pl, ke(L.value), 1),
|
|
471
471
|
O("div", Bl, [
|
|
472
472
|
P(S, {
|
|
473
473
|
content: `vs. ${(W = n(g).defaultCompareType) == null ? void 0 : W.split("_").join(" ")}`,
|
|
@@ -476,25 +476,25 @@ const Il = /* @__PURE__ */ Te({
|
|
|
476
476
|
variant: "plain"
|
|
477
477
|
}, {
|
|
478
478
|
default: ne(() => [
|
|
479
|
-
|
|
479
|
+
D.value ? ($(), re(x, {
|
|
480
480
|
key: 0,
|
|
481
|
-
icon:
|
|
482
|
-
class: qe(`bg-${
|
|
481
|
+
icon: D.value.icon.name,
|
|
482
|
+
class: qe(`bg-${D.value.icon.tailwind}`),
|
|
483
483
|
compact: ""
|
|
484
484
|
}, {
|
|
485
485
|
default: ne(() => [
|
|
486
486
|
P(w, {
|
|
487
|
-
name:
|
|
488
|
-
color:
|
|
487
|
+
name: D.value.icon.name,
|
|
488
|
+
color: D.value.icon.color
|
|
489
489
|
}, null, 8, ["name", "color"]),
|
|
490
490
|
O("p", {
|
|
491
491
|
class: "fm-typo-en-body-md-600",
|
|
492
|
-
style: $e({ color:
|
|
493
|
-
}, ke(
|
|
492
|
+
style: $e({ color: D.value.icon.color })
|
|
493
|
+
}, ke(D.value.value), 5)
|
|
494
494
|
]),
|
|
495
495
|
_: 1
|
|
496
496
|
}, 8, ["icon", "class"])) : _e("", !0),
|
|
497
|
-
n(l).endDate !== null && n(l).startDate !== null &&
|
|
497
|
+
n(l).endDate !== null && n(l).startDate !== null && D.value === null ? ($(), re(x, {
|
|
498
498
|
key: 1,
|
|
499
499
|
compact: ""
|
|
500
500
|
}, {
|
|
@@ -546,14 +546,14 @@ const Yl = /* @__PURE__ */ $l(Ul, [["render", Gl]]), Xl = "mf-reporttable-dimens
|
|
|
546
546
|
const e = h(0), a = h([]), o = h(!1), l = (v, i) => {
|
|
547
547
|
e.value = v, k(v, i);
|
|
548
548
|
}, g = (v, i, T, d) => {
|
|
549
|
-
a[v] = i, a.value = [...a.value],
|
|
549
|
+
a[v] = i, a.value = [...a.value], L(v, i, T, d);
|
|
550
550
|
}, k = (v, i) => {
|
|
551
551
|
const T = (i == null ? void 0 : i.querySelectorAll("thead tr")) ?? [], d = (i == null ? void 0 : i.querySelectorAll("tbody tr")) ?? [];
|
|
552
552
|
[...T, ...d].forEach((ee) => {
|
|
553
553
|
const X = ee;
|
|
554
554
|
X && (X.style.height = `${v}px`);
|
|
555
555
|
});
|
|
556
|
-
},
|
|
556
|
+
}, L = (v, i, T, d = !1) => {
|
|
557
557
|
const V = (T == null ? void 0 : T.querySelectorAll("th")) ?? [];
|
|
558
558
|
if (v === void 0) return;
|
|
559
559
|
const ee = V[v], X = d ? a[v] : i;
|
|
@@ -562,7 +562,7 @@ const Yl = /* @__PURE__ */ $l(Ul, [["render", Gl]]), Xl = "mf-reporttable-dimens
|
|
|
562
562
|
ee.style.width = `${X}px`;
|
|
563
563
|
};
|
|
564
564
|
d ? requestAnimationFrame(K) : K();
|
|
565
|
-
},
|
|
565
|
+
}, D = () => {
|
|
566
566
|
const v = document.querySelectorAll("th"), i = document.querySelectorAll("td"), T = document.querySelector("table");
|
|
567
567
|
T == null || T.classList.add("table-fixed"), v.forEach((d) => d.classList.add("toggleEditResize")), i.forEach((d) => d.classList.add("toggleEditResize")), o.value = !0;
|
|
568
568
|
}, z = () => {
|
|
@@ -646,8 +646,8 @@ const Yl = /* @__PURE__ */ $l(Ul, [["render", Gl]]), Xl = "mf-reporttable-dimens
|
|
|
646
646
|
updateRowHeight: l,
|
|
647
647
|
updateColWidth: g,
|
|
648
648
|
setRowHeights: k,
|
|
649
|
-
setColWidths:
|
|
650
|
-
enableEditMode:
|
|
649
|
+
setColWidths: L,
|
|
650
|
+
enableEditMode: D,
|
|
651
651
|
disableEditMode: z,
|
|
652
652
|
resetStore: c,
|
|
653
653
|
highlightCol: p,
|
|
@@ -673,7 +673,7 @@ const Yl = /* @__PURE__ */ $l(Ul, [["render", Gl]]), Xl = "mf-reporttable-dimens
|
|
|
673
673
|
const de = V("col", ve), Ce = V("row", ve);
|
|
674
674
|
oe.appendChild(de), oe.appendChild(Ce);
|
|
675
675
|
});
|
|
676
|
-
}),
|
|
676
|
+
}), D();
|
|
677
677
|
},
|
|
678
678
|
cancelResizingChanges: () => {
|
|
679
679
|
z();
|
|
@@ -688,7 +688,7 @@ function pt(e) {
|
|
|
688
688
|
const [l, g] = a.split("."), k = new Intl.NumberFormat("en-US").format(Number(l));
|
|
689
689
|
return g !== void 0 ? `${k}.${g}` : k;
|
|
690
690
|
}
|
|
691
|
-
const jl = "/assets/processTableData.worker-
|
|
691
|
+
const jl = "/assets/processTableData.worker-CEGZqqhL.js", Kl = { class: "my-4" }, Jl = {
|
|
692
692
|
class: "border-b border-fm-color-neutral-gray-100 hover:bg-fm-color-opacity-sm",
|
|
693
693
|
style: { backgroundColor: "#f9f9f9" }
|
|
694
694
|
}, Zl = { class: "font-bold" }, Ql = { class: "text-fm-color-neutral-gray-300" }, ea = /* @__PURE__ */ Te({
|
|
@@ -701,7 +701,7 @@ const jl = "/assets/processTableData.worker-B_-FBESg.js", Kl = { class: "my-4" }
|
|
|
701
701
|
}),
|
|
702
702
|
emits: ["update:modelValue"],
|
|
703
703
|
setup(e) {
|
|
704
|
-
const { t: a, te: o } = tt(), l = Ae(e, "modelValue"), { country: g } = St(), { clearTileSorts: k, setTileSorts:
|
|
704
|
+
const { t: a, te: o } = tt(), l = Ae(e, "modelValue"), { country: g } = St(), { clearTileSorts: k, setTileSorts: L } = xl(), D = Ct(), z = e, c = h([]), { isEditing: p, colWidths: m, rowHeight: r } = Ve(Nt()), { setColWidths: w, setRowHeights: x, enableCellResizing: S } = Nt(), y = h(null), W = C(() => {
|
|
705
705
|
var f;
|
|
706
706
|
return ((f = l.value.data) == null ? void 0 : f.columns) || [{ label: "", key: "" }];
|
|
707
707
|
}), v = C(() => {
|
|
@@ -786,13 +786,13 @@ const jl = "/assets/processTableData.worker-B_-FBESg.js", Kl = { class: "my-4" }
|
|
|
786
786
|
pageSize: d.value
|
|
787
787
|
};
|
|
788
788
|
Sl(jl, N).then((I) => {
|
|
789
|
-
f === K && (I != null && I.error ? (
|
|
789
|
+
f === K && (I != null && I.error ? (D.open({ message: "Failed to process table data. Please retry.", type: "error" }), console.log(I.error), X.value = []) : X.value = vl(I.data || []));
|
|
790
790
|
});
|
|
791
791
|
}
|
|
792
792
|
fe(
|
|
793
793
|
() => c.value,
|
|
794
794
|
(f) => {
|
|
795
|
-
z.tileIndex === void 0 || z.tileIndex === null ||
|
|
795
|
+
z.tileIndex === void 0 || z.tileIndex === null || L(z.tileIndex, f);
|
|
796
796
|
},
|
|
797
797
|
{ immediate: !0, deep: !0 }
|
|
798
798
|
);
|
|
@@ -958,7 +958,7 @@ const jl = "/assets/processTableData.worker-B_-FBESg.js", Kl = { class: "my-4" }
|
|
|
958
958
|
}), k = C(() => {
|
|
959
959
|
var y;
|
|
960
960
|
return ((y = o.value.data) == null ? void 0 : y.datasets) ?? [];
|
|
961
|
-
}), { datalabels:
|
|
961
|
+
}), { datalabels: L, xCfg: D, yCfg: z, isTransposed: c, legend: p, chartWidth: m, chartHeight: r } = lt(
|
|
962
962
|
o.value
|
|
963
963
|
), w = C(() => k.value.length > 0 ? [
|
|
964
964
|
...k.value.map((y, W) => {
|
|
@@ -990,7 +990,7 @@ const jl = "/assets/processTableData.worker-B_-FBESg.js", Kl = { class: "my-4" }
|
|
|
990
990
|
class: "bar-chart",
|
|
991
991
|
datasets: w.value,
|
|
992
992
|
"x-axis": { categories: g.value },
|
|
993
|
-
"x-cfg": n(
|
|
993
|
+
"x-cfg": n(D),
|
|
994
994
|
"y-cfg": n(z),
|
|
995
995
|
transpose: n(c),
|
|
996
996
|
stacked: !0,
|
|
@@ -1001,7 +1001,7 @@ const jl = "/assets/processTableData.worker-B_-FBESg.js", Kl = { class: "my-4" }
|
|
|
1001
1001
|
maxWidth: n(p).maxWidth,
|
|
1002
1002
|
labels: n(p).labels
|
|
1003
1003
|
},
|
|
1004
|
-
datalabels: n(
|
|
1004
|
+
datalabels: n(L),
|
|
1005
1005
|
"maintain-aspect-ratio": !1,
|
|
1006
1006
|
style: $e({
|
|
1007
1007
|
"--chart-width": n(m) !== void 0 ? n(m) + "px" : "100%",
|
|
@@ -1023,14 +1023,14 @@ const jl = "/assets/processTableData.worker-B_-FBESg.js", Kl = { class: "my-4" }
|
|
|
1023
1023
|
setup(e) {
|
|
1024
1024
|
var v;
|
|
1025
1025
|
const a = e, o = Ae(e, "modelValue"), l = ((v = o.value.data) == null ? void 0 : v.xAxis) ?? [], g = C(
|
|
1026
|
-
() => l.length === 1 &&
|
|
1027
|
-
), k = C(() => g.value ? ["", l[0], ""] : l),
|
|
1026
|
+
() => l.length === 1 && D.value.length > 0 && D.value.every((i) => i.values.length === 1)
|
|
1027
|
+
), k = C(() => g.value ? ["", l[0], ""] : l), L = h(null), D = C(() => {
|
|
1028
1028
|
var i;
|
|
1029
1029
|
return ((i = o.value.data) == null ? void 0 : i.datasets) ?? [];
|
|
1030
1030
|
}), { datalabels: z, xCfg: c, yCfg: p, isTransposed: m, legend: r, chartWidth: w, chartHeight: x } = lt(
|
|
1031
1031
|
o.value
|
|
1032
|
-
), S = C(() =>
|
|
1033
|
-
...
|
|
1032
|
+
), S = C(() => D.value.length > 0 ? [
|
|
1033
|
+
...D.value.map((i, T) => {
|
|
1034
1034
|
let d = i.values;
|
|
1035
1035
|
return g.value && (d = [NaN, d[0], NaN]), {
|
|
1036
1036
|
label: i.name,
|
|
@@ -1047,7 +1047,7 @@ const jl = "/assets/processTableData.worker-B_-FBESg.js", Kl = { class: "my-4" }
|
|
|
1047
1047
|
})
|
|
1048
1048
|
] : []), y = et();
|
|
1049
1049
|
function W() {
|
|
1050
|
-
return y.extractChartSize(
|
|
1050
|
+
return y.extractChartSize(L.value, a.tileIndex) || { width: 0, height: 0 };
|
|
1051
1051
|
}
|
|
1052
1052
|
return Ue(() => {
|
|
1053
1053
|
we(() => {
|
|
@@ -1061,7 +1061,7 @@ const jl = "/assets/processTableData.worker-B_-FBESg.js", Kl = { class: "my-4" }
|
|
|
1061
1061
|
Ne(i.$slots, "menu"),
|
|
1062
1062
|
P(d, {
|
|
1063
1063
|
ref_key: "chartRef",
|
|
1064
|
-
ref:
|
|
1064
|
+
ref: L,
|
|
1065
1065
|
class: "line-chart",
|
|
1066
1066
|
datasets: S.value,
|
|
1067
1067
|
"x-axis": { categories: k.value },
|
|
@@ -1121,14 +1121,14 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1121
1121
|
setup(e) {
|
|
1122
1122
|
var v;
|
|
1123
1123
|
const a = e, o = Ae(e, "modelValue"), l = ((v = o.value.data) == null ? void 0 : v.xAxis) ?? [], g = C(
|
|
1124
|
-
() => l.length === 1 &&
|
|
1125
|
-
), k = C(() => g.value ? ["", l[0], ""] : l),
|
|
1124
|
+
() => l.length === 1 && D.value.length > 0 && D.value.every((i) => i.values.length === 1)
|
|
1125
|
+
), k = C(() => g.value ? ["", l[0], ""] : l), L = h(null), D = C(() => {
|
|
1126
1126
|
var i;
|
|
1127
1127
|
return ((i = o.value.data) == null ? void 0 : i.datasets) ?? [];
|
|
1128
1128
|
}), { datalabels: z, xCfg: c, yCfg: p, isTransposed: m, legend: r, chartWidth: w, chartHeight: x } = lt(
|
|
1129
1129
|
o.value
|
|
1130
|
-
), S = C(() =>
|
|
1131
|
-
...
|
|
1130
|
+
), S = C(() => D.value.length > 0 ? [
|
|
1131
|
+
...D.value.map((i, T) => {
|
|
1132
1132
|
let d = i.values;
|
|
1133
1133
|
return g.value && (d = [NaN, d[0], NaN]), {
|
|
1134
1134
|
label: i.name,
|
|
@@ -1145,7 +1145,7 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1145
1145
|
})
|
|
1146
1146
|
] : []), y = et();
|
|
1147
1147
|
function W() {
|
|
1148
|
-
return y.extractChartSize(
|
|
1148
|
+
return y.extractChartSize(L.value, a.tileIndex) || { width: 0, height: 0 };
|
|
1149
1149
|
}
|
|
1150
1150
|
return Ue(() => {
|
|
1151
1151
|
we(() => {
|
|
@@ -1159,7 +1159,7 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1159
1159
|
Ne(i.$slots, "menu"),
|
|
1160
1160
|
P(d, {
|
|
1161
1161
|
ref_key: "chartRef",
|
|
1162
|
-
ref:
|
|
1162
|
+
ref: L,
|
|
1163
1163
|
class: "line-chart",
|
|
1164
1164
|
datasets: S.value,
|
|
1165
1165
|
"x-axis": { categories: k.value },
|
|
@@ -1194,19 +1194,19 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1194
1194
|
}),
|
|
1195
1195
|
emits: ["update:modelValue"],
|
|
1196
1196
|
setup(e) {
|
|
1197
|
-
const { t: a } = tt(), { FmForm: o } = zl, l = e, g = h(), k = Ae(e, "modelValue"),
|
|
1197
|
+
const { t: a } = tt(), { FmForm: o } = zl, l = e, g = h(), k = Ae(e, "modelValue"), L = h(!0), D = h(!1), z = Ct(), { selectedLocationIds: c, dateRange: p, timeRange: m } = Ve(Qe()), r = h(dt.PORTRAIT);
|
|
1198
1198
|
function w() {
|
|
1199
1199
|
var S;
|
|
1200
1200
|
(S = g.value) == null || S.validateInputs();
|
|
1201
1201
|
}
|
|
1202
1202
|
async function x() {
|
|
1203
|
-
|
|
1203
|
+
D.value = !0;
|
|
1204
1204
|
try {
|
|
1205
1205
|
l.index != null && await Bt({
|
|
1206
1206
|
reportType: l.reportType,
|
|
1207
1207
|
index: l.index,
|
|
1208
1208
|
orientationTypes: [r.value],
|
|
1209
|
-
isCombinedLocationLayout:
|
|
1209
|
+
isCombinedLocationLayout: L.value,
|
|
1210
1210
|
timeRange: m.value,
|
|
1211
1211
|
dateRange: p.value,
|
|
1212
1212
|
locationIds: c.value
|
|
@@ -1214,7 +1214,7 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1214
1214
|
} catch (S) {
|
|
1215
1215
|
z.open({ message: S.message, type: "error" });
|
|
1216
1216
|
} finally {
|
|
1217
|
-
|
|
1217
|
+
D.value = !1;
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
1220
1220
|
return (S, y) => {
|
|
@@ -1263,7 +1263,7 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1263
1263
|
O("div", null, [
|
|
1264
1264
|
P(i, {
|
|
1265
1265
|
label: n(a)("report.common.download"),
|
|
1266
|
-
loading:
|
|
1266
|
+
loading: D.value,
|
|
1267
1267
|
onClick: w
|
|
1268
1268
|
}, null, 8, ["label", "loading"])
|
|
1269
1269
|
])
|
|
@@ -1305,7 +1305,7 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1305
1305
|
}),
|
|
1306
1306
|
emits: ["update:modelValue"],
|
|
1307
1307
|
setup(e) {
|
|
1308
|
-
const a = h(!0), o = Ae(e, "modelValue"), l = o.value.widget.config, { t: g, te: k } = tt(),
|
|
1308
|
+
const a = h(!0), o = Ae(e, "modelValue"), l = o.value.widget.config, { t: g, te: k } = tt(), L = e, D = h(null), z = h(l.rollup), c = h(ot()), p = h(l.drillDimension), m = C(() => {
|
|
1309
1309
|
if (We.value.length > 0) {
|
|
1310
1310
|
const s = We.value.findIndex(
|
|
1311
1311
|
(Q) => Q.value === p.value
|
|
@@ -1316,7 +1316,7 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1316
1316
|
}), r = C(() => m.value !== 0), w = C(
|
|
1317
1317
|
() => m.value != We.value.length - 1
|
|
1318
1318
|
), x = h(l.showTitle ?? !0), S = h(l.titleFontSize ?? 14), y = h(l.titleBold ?? !1), W = h(l.titleItalic ?? !1), v = h(l.titleUnderline ?? !1), i = h(l.chartWidth ?? void 0), T = h(l.chartHeight ?? void 0), d = h(l.showLabel ?? !1), V = h(l.labelAlign ?? yt.center), ee = h(l.labelAnchor ?? gt.center), X = h(l.labelRotation ?? 0), K = h(l.labelOffset ?? 0), oe = h(l.labelFontSize ?? 12), ve = C(() => l.showSearchBar), de = h(l.showX ?? !0), Ce = h(l.xPosition ?? bt.bottom), xe = h(l.showXGrid ?? !1), ge = h(l.showXTick ?? !0), f = h(l.xTickFontSize ?? 12), _ = h(l.showXTitle ?? !1), H = h(l.xTitle ?? ""), N = h(l.xTitleFontSize ?? 12), E = h(l.showY ?? !0), I = h(l.yPosition ?? wt.left), ie = h(l.showYGrid ?? !1), Fe = h(l.showYTick ?? !0), Ee = h(l.yTickFontSize ?? 12), Me = h(l.showYTitle ?? !1), t = h(l.yTitle ?? ""), b = h(l.yTitleFontSize ?? 12), R = h(l.showLegend ?? void 0), F = h(l.legendPosition ?? xt.top), U = h(l.usePointStyle ?? !0), ae = h(l.legendMaxHeight), me = h(l.legendMaxWidth), pe = h(l.rowHeight ?? 0), J = h(l.colWidths ?? []), M = h(!1), u = h(""), { breakpoints: Y, getBreakpointsBoundary: j } = qt(), Z = h(), q = C(
|
|
1319
|
-
() =>
|
|
1319
|
+
() => L.customScreenWidth === void 0 ? window.innerWidth : L.customScreenWidth
|
|
1320
1320
|
), se = C(
|
|
1321
1321
|
() => (q == null ? void 0 : q.value) > j("xs")[1] && (q == null ? void 0 : q.value) <= j("sm")[1]
|
|
1322
1322
|
), le = C(
|
|
@@ -1328,7 +1328,7 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1328
1328
|
() => Al.find((s) => s.type === o.value.widget.type)
|
|
1329
1329
|
), G = Mt(() => {
|
|
1330
1330
|
var s;
|
|
1331
|
-
Z.value = ll((s =
|
|
1331
|
+
Z.value = ll((s = D.value) == null ? void 0 : s.$el.offsetWidth), c.value = ot();
|
|
1332
1332
|
}), Yt = C(() => {
|
|
1333
1333
|
if (El(ce.value.type, Ye.value))
|
|
1334
1334
|
switch (o.value.widget.type) {
|
|
@@ -1436,17 +1436,17 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1436
1436
|
default:
|
|
1437
1437
|
return { data: Ye.value };
|
|
1438
1438
|
}
|
|
1439
|
-
}),
|
|
1439
|
+
}), Lt = C(() => {
|
|
1440
1440
|
const { config: s } = o.value.widget;
|
|
1441
1441
|
if (s.rollup != null) {
|
|
1442
|
-
const Q = [...s.dimensions].filter((
|
|
1442
|
+
const Q = [...s.dimensions].filter((Le) => !Le.hide);
|
|
1443
1443
|
return Q.sort(
|
|
1444
|
-
(
|
|
1444
|
+
(Le, Ze) => (s.rowIds || []).indexOf(mt(Le)) - (s.rowIds || []).indexOf(mt(Ze))
|
|
1445
1445
|
), [
|
|
1446
1446
|
{ label: Oe(g, k, "None", "other"), value: "none" },
|
|
1447
1447
|
{ label: Oe(g, k, "Grand Total", "other"), value: 0 },
|
|
1448
|
-
...[...Q].slice(0, Q.length - 1).map((
|
|
1449
|
-
label: Oe(g, k,
|
|
1448
|
+
...[...Q].slice(0, Q.length - 1).map((Le, Ze) => ({
|
|
1449
|
+
label: Oe(g, k, Le.label, "other"),
|
|
1450
1450
|
value: Ze + 1
|
|
1451
1451
|
}))
|
|
1452
1452
|
];
|
|
@@ -1497,11 +1497,11 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1497
1497
|
}), gl(() => {
|
|
1498
1498
|
Y.value.sm || Y.value.md || Y.value.xs ? (console.log("Ignoring resize event due to keyboard"), removeEventListener("change", G)) : removeEventListener("resize", G);
|
|
1499
1499
|
});
|
|
1500
|
-
const
|
|
1500
|
+
const Dt = Ct();
|
|
1501
1501
|
let at;
|
|
1502
1502
|
async function Rt() {
|
|
1503
1503
|
if (ce.value.config.schemaNames.length <= 0 && !(ce.value.config.dimensions.length <= 0 || ce.value.config.metrics.length <= 0)) {
|
|
1504
|
-
|
|
1504
|
+
Dt.open({
|
|
1505
1505
|
message: "schema must not be empty and dimension or metrics must have at least 1 column",
|
|
1506
1506
|
type: "info"
|
|
1507
1507
|
}), a.value = !1;
|
|
@@ -1509,10 +1509,10 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1509
1509
|
}
|
|
1510
1510
|
try {
|
|
1511
1511
|
a.value = !0, at && at.abort(), at = new AbortController();
|
|
1512
|
-
const s = at.signal, Q = it.value,
|
|
1513
|
-
it.value === Q && (Ye.value =
|
|
1512
|
+
const s = at.signal, Q = it.value, Le = await Mt(Ot, 500)(ce.value, s, o.value.id);
|
|
1513
|
+
it.value === Q && (Ye.value = Le, c.value = ot()), a.value = !1;
|
|
1514
1514
|
} catch (s) {
|
|
1515
|
-
s.code !== "ERR_CANCELED" && (Ye.value = null,
|
|
1515
|
+
s.code !== "ERR_CANCELED" && (Ye.value = null, Dt.open({ message: `Invalid chart ${ce.value.type}`, type: "error" }), console.log(s), a.value = !1);
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
1518
|
function ll(s) {
|
|
@@ -1540,19 +1540,19 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1540
1540
|
onClick: async () => {
|
|
1541
1541
|
s === je.EXCEL || s === je.PDFFULLSIZE || s === je.PDFRECEIPT ? await Bt({
|
|
1542
1542
|
reportType: s,
|
|
1543
|
-
index:
|
|
1543
|
+
index: L.index,
|
|
1544
1544
|
isCombinedLocationLayout: Zt.value,
|
|
1545
1545
|
timeRange: _t.value,
|
|
1546
1546
|
dateRange: kt.value,
|
|
1547
1547
|
locationIds: rt.value
|
|
1548
|
-
}) : s === je.PDF && (Vt.value = s, zt.value =
|
|
1548
|
+
}) : s === je.PDF && (Vt.value = s, zt.value = L.index, M.value = !0);
|
|
1549
1549
|
}
|
|
1550
1550
|
})), sl = ce.value.type === A.Spacer ? "flat" : "outlined", rl = ce.value.type === A.Spacer ? "p-0" : "p-16";
|
|
1551
1551
|
return (s, Q) => {
|
|
1552
|
-
const
|
|
1552
|
+
const Le = B("FmTooltip"), Ze = B("FmSearch"), il = B("FmCheckbox"), ut = B("FmButton"), ul = B("FmSelect"), cl = B("FmMenuItem"), dl = B("FmMenu"), ml = B("FmForm"), pl = B("FmCircularProgress"), hl = B("FmCard");
|
|
1553
1553
|
return $(), re(hl, {
|
|
1554
1554
|
ref_key: "tileCard",
|
|
1555
|
-
ref:
|
|
1555
|
+
ref: D,
|
|
1556
1556
|
class: qe(`${ue.value} ${n(rl)}`),
|
|
1557
1557
|
variant: n(sl)
|
|
1558
1558
|
}, {
|
|
@@ -1571,14 +1571,14 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1571
1571
|
key: c.value,
|
|
1572
1572
|
modelValue: Ft.value,
|
|
1573
1573
|
"onUpdate:modelValue": Q[4] || (Q[4] = (Xe) => Ft.value = Xe),
|
|
1574
|
-
"tile-index":
|
|
1574
|
+
"tile-index": L.index
|
|
1575
1575
|
}, {
|
|
1576
1576
|
menu: ne(() => [
|
|
1577
1577
|
P(ml, { class: "flex items-center gap-2" }, {
|
|
1578
1578
|
default: ne(() => {
|
|
1579
1579
|
var Xe, $t, At, Et;
|
|
1580
1580
|
return [
|
|
1581
|
-
P(
|
|
1581
|
+
P(Le, {
|
|
1582
1582
|
variant: "plain",
|
|
1583
1583
|
placement: "right",
|
|
1584
1584
|
content: ce.value.description,
|
|
@@ -1605,12 +1605,12 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1605
1605
|
(Xe = Ge.value) != null && Xe.showSearchBar ? ($(), re(Ze, {
|
|
1606
1606
|
key: 0,
|
|
1607
1607
|
modelValue: u.value,
|
|
1608
|
-
"onUpdate:modelValue": Q[1] || (Q[1] = (
|
|
1608
|
+
"onUpdate:modelValue": Q[1] || (Q[1] = (De) => u.value = De),
|
|
1609
1609
|
class: "grow"
|
|
1610
1610
|
}, null, 8, ["modelValue"])) : ($(), te("div", ca)),
|
|
1611
1611
|
bl(P(il, {
|
|
1612
1612
|
modelValue: d.value,
|
|
1613
|
-
"onUpdate:modelValue": Q[2] || (Q[2] = (
|
|
1613
|
+
"onUpdate:modelValue": Q[2] || (Q[2] = (De) => d.value = De),
|
|
1614
1614
|
label: "Label",
|
|
1615
1615
|
value: !1
|
|
1616
1616
|
}, null, 8, ["modelValue"]), [
|
|
@@ -1630,14 +1630,14 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1630
1630
|
onClick: nl
|
|
1631
1631
|
}, null, 8, ["disabled"])
|
|
1632
1632
|
])) : _e("", !0),
|
|
1633
|
-
(Et = Ge.value) != null && Et.showRollup &&
|
|
1633
|
+
(Et = Ge.value) != null && Et.showRollup && Lt.value.length > 0 ? ($(), re(ul, {
|
|
1634
1634
|
key: 3,
|
|
1635
1635
|
modelValue: z.value,
|
|
1636
|
-
"onUpdate:modelValue": Q[3] || (Q[3] = (
|
|
1636
|
+
"onUpdate:modelValue": Q[3] || (Q[3] = (De) => z.value = De),
|
|
1637
1637
|
class: "w-[150px]",
|
|
1638
|
-
items:
|
|
1638
|
+
items: Lt.value
|
|
1639
1639
|
}, null, 8, ["modelValue", "items"])) : _e("", !0),
|
|
1640
|
-
|
|
1640
|
+
L.hideExport ? _e("", !0) : ($(), re(dl, {
|
|
1641
1641
|
key: 4,
|
|
1642
1642
|
shift: !0
|
|
1643
1643
|
}, {
|
|
@@ -1648,10 +1648,10 @@ const sa = /* @__PURE__ */ Te({
|
|
|
1648
1648
|
})
|
|
1649
1649
|
]),
|
|
1650
1650
|
default: ne(() => [
|
|
1651
|
-
($(!0), te(be, null, st(n(ol), (
|
|
1652
|
-
key:
|
|
1653
|
-
label:
|
|
1654
|
-
onClick:
|
|
1651
|
+
($(!0), te(be, null, st(n(ol), (De) => ($(), re(cl, {
|
|
1652
|
+
key: De.value,
|
|
1653
|
+
label: De.label,
|
|
1654
|
+
onClick: De.onClick
|
|
1655
1655
|
}, null, 8, ["label", "onClick"]))), 128))
|
|
1656
1656
|
]),
|
|
1657
1657
|
_: 1
|
|
@@ -1878,8 +1878,8 @@ const ha = Ht(pa, () => {
|
|
|
1878
1878
|
const x = Pt(r, w);
|
|
1879
1879
|
return e.value[x] || (e.value[x] = l()), e.value[x];
|
|
1880
1880
|
}
|
|
1881
|
-
const k = C(() => e.value),
|
|
1882
|
-
function
|
|
1881
|
+
const k = C(() => e.value), L = (r) => o.value === r;
|
|
1882
|
+
function D(r, w, x, S) {
|
|
1883
1883
|
g(r, w)[x] = S;
|
|
1884
1884
|
}
|
|
1885
1885
|
function z(r, w, x = 50) {
|
|
@@ -1899,8 +1899,8 @@ const ha = Ht(pa, () => {
|
|
|
1899
1899
|
includeUnavailable: a,
|
|
1900
1900
|
openMenuKey: o,
|
|
1901
1901
|
getGlobalFilter: g,
|
|
1902
|
-
isMenuOpen:
|
|
1903
|
-
setGlobalFilter:
|
|
1902
|
+
isMenuOpen: L,
|
|
1903
|
+
setGlobalFilter: D,
|
|
1904
1904
|
showMore: z,
|
|
1905
1905
|
setIncludeUnavailable: c,
|
|
1906
1906
|
openMenu: p,
|
|
@@ -1910,11 +1910,11 @@ const ha = Ht(pa, () => {
|
|
|
1910
1910
|
}), fa = { class: "flex flex-row flex-wrap gap-2" }, va = { class: "inline-flex max-w-[460px]" }, ga = {
|
|
1911
1911
|
key: 0,
|
|
1912
1912
|
class: "flex justify-center my-2"
|
|
1913
|
-
}, ya = { class: "px-2 pb-8" }, ba = { class: "flex-1 overflow-y-auto overflow-x-hidden" }, wa = { class: "px-2 pb-8" }, xa = { class: "flex items-start w-full" }, Sa = ["onClick"], Ca = { class: "fm-typo-en-body-md-400" }, ka = { key: 0 }, _a = { class: "px-12 py-3" }, Ta = { class: "flex items-center justify-between" }, Fa = ["onClick"],
|
|
1913
|
+
}, ya = { class: "px-2 pb-8" }, ba = { class: "flex-1 overflow-y-auto overflow-x-hidden" }, wa = { class: "px-2 pb-8" }, xa = { class: "flex items-start w-full" }, Sa = ["onClick"], Ca = { class: "fm-typo-en-body-md-400" }, ka = { key: 0 }, _a = { class: "px-12 py-3" }, Ta = { class: "flex items-center justify-between" }, Fa = ["onClick"], La = { class: "fm-typo-en-body-md-400" }, Da = { class: "text-xs max-w-[200px]" }, Ra = { class: "px-4 py-3 flex flex-row justify-end gap-2 bg-white" }, qa = /* @__PURE__ */ Te({
|
|
1914
1914
|
__name: "FilterSelector",
|
|
1915
1915
|
setup(e) {
|
|
1916
1916
|
const { t: a, locale: o } = tt(), { currentReport: l, editingTile: g } = Ve(kl());
|
|
1917
|
-
let { globalFilters: k, isGlobalFiltersLoading:
|
|
1917
|
+
let { globalFilters: k, isGlobalFiltersLoading: L, timeRange: D, dateRange: z, selectedLocationIds: c } = Ve(Qe()), { schemas: p } = Ve(_l()), {
|
|
1918
1918
|
showMore: m,
|
|
1919
1919
|
getGlobalFilter: r,
|
|
1920
1920
|
setGlobalFilter: w,
|
|
@@ -1955,7 +1955,7 @@ const ha = Ht(pa, () => {
|
|
|
1955
1955
|
},
|
|
1956
1956
|
{ immediate: !0 }
|
|
1957
1957
|
), fe(
|
|
1958
|
-
[
|
|
1958
|
+
[D, z, c],
|
|
1959
1959
|
async () => {
|
|
1960
1960
|
await ge();
|
|
1961
1961
|
},
|
|
@@ -2143,11 +2143,11 @@ const ha = Ht(pa, () => {
|
|
|
2143
2143
|
const b = new AbortController();
|
|
2144
2144
|
i = b;
|
|
2145
2145
|
try {
|
|
2146
|
-
t || (
|
|
2146
|
+
t || (L.value = !0), T.value = !0, await Promise.all(
|
|
2147
2147
|
V.value.map((R) => xe(R, b.signal))
|
|
2148
2148
|
);
|
|
2149
2149
|
} finally {
|
|
2150
|
-
i === b && (t || (
|
|
2150
|
+
i === b && (t || (L.value = !1), T.value = !1);
|
|
2151
2151
|
}
|
|
2152
2152
|
}
|
|
2153
2153
|
function f(t, b) {
|
|
@@ -2244,7 +2244,7 @@ const ha = Ht(pa, () => {
|
|
|
2244
2244
|
return $(), te("div", {
|
|
2245
2245
|
key: `${u.id}`
|
|
2246
2246
|
}, [
|
|
2247
|
-
u.filter.option === n(he).DateTime ? ($(), re(
|
|
2247
|
+
u.filter.option === n(he).DateTime ? ($(), re(Ll, {
|
|
2248
2248
|
key: 0,
|
|
2249
2249
|
"model-value": { startDate: (j = u.filter.values) == null ? void 0 : j[0], endDate: (Z = u.filter.values) == null ? void 0 : Z[1] },
|
|
2250
2250
|
class: "w-full",
|
|
@@ -2269,7 +2269,7 @@ const ha = Ht(pa, () => {
|
|
|
2269
2269
|
}, {
|
|
2270
2270
|
"menu-button": ne(() => [
|
|
2271
2271
|
O("div", va, [
|
|
2272
|
-
P(
|
|
2272
|
+
P(Dl, {
|
|
2273
2273
|
"left-icon": "filter_alt",
|
|
2274
2274
|
"trailing-icon": "expand_more",
|
|
2275
2275
|
label: E(u).preview,
|
|
@@ -2289,7 +2289,7 @@ const ha = Ht(pa, () => {
|
|
|
2289
2289
|
}, [
|
|
2290
2290
|
T.value ? ($(), te("div", ga, [
|
|
2291
2291
|
P(R)
|
|
2292
|
-
])) : u.options.length > 0 && !n(
|
|
2292
|
+
])) : u.options.length > 0 && !n(L) ? ($(), te(be, { key: 1 }, [
|
|
2293
2293
|
O("div", ya, [
|
|
2294
2294
|
P(F, {
|
|
2295
2295
|
modelValue: u.search,
|
|
@@ -2383,14 +2383,14 @@ const ha = Ht(pa, () => {
|
|
|
2383
2383
|
u.keepSelection ? "text-fm-color-primary" : "text-fm-color-neutral-gray-400"
|
|
2384
2384
|
)
|
|
2385
2385
|
}, null, 8, ["name", "class"]),
|
|
2386
|
-
O("span",
|
|
2386
|
+
O("span", La, ke(n(a)("report.section.filter.keepSelection")), 1)
|
|
2387
2387
|
], 8, Fa),
|
|
2388
2388
|
P(ae, {
|
|
2389
2389
|
placement: "top",
|
|
2390
2390
|
"z-index": 2e3
|
|
2391
2391
|
}, {
|
|
2392
2392
|
content: ne(() => [
|
|
2393
|
-
O("div",
|
|
2393
|
+
O("div", Da, ke(n(a)("report.section.filter.keepSelectionTooltip")), 1)
|
|
2394
2394
|
]),
|
|
2395
2395
|
default: ne(() => [
|
|
2396
2396
|
P(me, {
|
|
@@ -2416,7 +2416,7 @@ const ha = Ht(pa, () => {
|
|
|
2416
2416
|
label: n(a)("report.common.apply")
|
|
2417
2417
|
}, null, 8, ["onClick", "label"])
|
|
2418
2418
|
])
|
|
2419
|
-
], 64)) : n(
|
|
2419
|
+
], 64)) : n(L) ? _e("", !0) : ($(), re(ft, { key: 2 }))
|
|
2420
2420
|
], 4)
|
|
2421
2421
|
]),
|
|
2422
2422
|
_: 2
|