@feedmepos/mf-report 5.19.16-beta.0 → 5.19.17-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-BUf0sh3j.js → App-DXK-RV4o.js} +3 -3
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-BAGI-keW.js → BaseDialog.vue_vue_type_script_setup_true_lang-BEG-40hp.js} +7680 -7616
- package/dist/{Default.vue_vue_type_script_setup_true_lang-B_5MME0B.js → Default.vue_vue_type_script_setup_true_lang-ByFmmddT.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang--8kvkrNQ.js → DynamicWidget.vue_vue_type_script_setup_true_lang-SkUHyVo3.js} +136 -136
- package/dist/{InsightView-3cY8PXA2.js → InsightView-Ci_pCGnU.js} +2 -2
- package/dist/{Layout-DmfGacqe.js → Layout-CY43vr91.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DXjzOZX_.js → MenuTab.vue_vue_type_script_setup_true_lang-z3Y4Ge2y.js} +2 -2
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BauHmHEX.js → NavigationTab.vue_vue_type_script_setup_true_lang-6EVsYRgO.js} +1 -1
- package/dist/{OverviewView-BhfD8tGQ.js → OverviewView-D4RsjXsi.js} +4 -4
- package/dist/{Report-DsbRVZwY.js → Report-kmmEiKsD.js} +2 -2
- package/dist/{ReportEditor-BbKkqKuJ.js → ReportEditor-BfcKqCqX.js} +3 -3
- package/dist/{ReportView-BH3kcjko.js → ReportView-DMeJUCyN.js} +5 -5
- package/dist/{Setting-DaOPg-cb.js → Setting-BAzn1os_.js} +2 -2
- package/dist/{TileEditor-CsgJT3I2.js → TileEditor-D_jbHVqu.js} +3 -3
- package/dist/{TransitionFade-DVfXpQCP.js → TransitionFade-EklwxNml.js} +2 -2
- package/dist/app.js +9 -9
- package/dist/assets/{formatChartData.worker-B0yNimSD.js → formatChartData.worker-DOuklPCk.js} +30 -30
- package/dist/assets/{processTableData.worker-VJ40ZCSA.js → processTableData.worker-DphUPEW7.js} +30 -30
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { computed as f, defineComponent as se, mergeModels as me, useModel as re, ref as u, onMounted as we, nextTick as J, watch as G, resolveComponent as H, createElementBlock as O, openBlock as
|
|
2
|
-
import { W as _, d as Ve, e as ca, S as
|
|
1
|
+
import { computed as f, defineComponent as se, mergeModels as me, useModel as re, ref as u, onMounted as we, nextTick as J, watch as G, resolveComponent as H, createElementBlock as O, openBlock as A, Fragment as de, renderSlot as xe, createVNode as I, normalizeStyle as he, unref as l, createElementVNode as M, toDisplayString as Ee, withCtx as Y, createBlock as j, createCommentVNode as be, normalizeClass as Me, h as Be, renderList as Ft, toRaw as aa, markRaw as oa, createTextVNode as la, onUnmounted as na, resolveDynamicComponent as sa, withDirectives as ra, vShow as ia } from "vue";
|
|
2
|
+
import { W as _, d as Ve, e as ca, S as Ae, v as Ie, f as ua, g as Je, h as Rt, q as da, R as Fe, i as ha } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BEG-40hp.js";
|
|
3
3
|
import { u as qe, b as Ne, a as nt } from "./vue-i18n-DsnU36hZ.js";
|
|
4
4
|
import { a as St } from "./helper-CLGnwM-X.js";
|
|
5
5
|
import { storeToRefs as Le, defineStore as ma } from "pinia";
|
|
@@ -72,7 +72,7 @@ const va = [
|
|
|
72
72
|
showSearchBar: !1
|
|
73
73
|
}
|
|
74
74
|
];
|
|
75
|
-
function
|
|
75
|
+
function Ke(e) {
|
|
76
76
|
const n = [e.schemaName, e.name];
|
|
77
77
|
return "option" in e && e.option && n.push(e.option), "aggregation" in e && e.aggregation && n.push(e.aggregation), n.push(e.label.replace(/[^a-zA-Z0-9]/g, "")), n.join("_").toLowerCase();
|
|
78
78
|
}
|
|
@@ -335,7 +335,7 @@ const ba = /* @__PURE__ */ se({
|
|
|
335
335
|
J(() => v());
|
|
336
336
|
}), (h, z) => {
|
|
337
337
|
const d = H("FmBarChart");
|
|
338
|
-
return
|
|
338
|
+
return A(), O(de, null, [
|
|
339
339
|
xe(h.$slots, "menu"),
|
|
340
340
|
I(d, {
|
|
341
341
|
ref_key: "chartRef",
|
|
@@ -396,7 +396,7 @@ const ba = /* @__PURE__ */ se({
|
|
|
396
396
|
const r = f(() => t.value.lg ? 12 : 8);
|
|
397
397
|
return (x, b) => {
|
|
398
398
|
const v = H("FmPieChart");
|
|
399
|
-
return
|
|
399
|
+
return A(), O(de, null, [
|
|
400
400
|
xe(x.$slots, "menu"),
|
|
401
401
|
I(v, {
|
|
402
402
|
ref_key: "chartRef",
|
|
@@ -465,7 +465,7 @@ const ba = /* @__PURE__ */ se({
|
|
|
465
465
|
return (i, r) => {
|
|
466
466
|
var z;
|
|
467
467
|
const x = H("FmIcon"), b = H("FmChip"), v = H("FmTooltip"), h = H("FmLineChart");
|
|
468
|
-
return
|
|
468
|
+
return A(), O("div", xa, [
|
|
469
469
|
xe(i.$slots, "menu"),
|
|
470
470
|
M("p", Ca, Ee(C.value), 1),
|
|
471
471
|
M("div", Sa, [
|
|
@@ -476,7 +476,7 @@ const ba = /* @__PURE__ */ se({
|
|
|
476
476
|
variant: "plain"
|
|
477
477
|
}, {
|
|
478
478
|
default: Y(() => [
|
|
479
|
-
S.value ? (
|
|
479
|
+
S.value ? (A(), j(b, {
|
|
480
480
|
key: 0,
|
|
481
481
|
icon: S.value.icon.name,
|
|
482
482
|
class: Me(`bg-${S.value.icon.tailwind}`),
|
|
@@ -494,7 +494,7 @@ const ba = /* @__PURE__ */ se({
|
|
|
494
494
|
]),
|
|
495
495
|
_: 1
|
|
496
496
|
}, 8, ["icon", "class"])) : be("", !0),
|
|
497
|
-
l(t).endDate !== null && l(t).startDate !== null && S.value === null ? (
|
|
497
|
+
l(t).endDate !== null && l(t).startDate !== null && S.value === null ? (A(), j(b, {
|
|
498
498
|
key: 1,
|
|
499
499
|
compact: ""
|
|
500
500
|
}, {
|
|
@@ -511,8 +511,8 @@ const ba = /* @__PURE__ */ se({
|
|
|
511
511
|
_: 1
|
|
512
512
|
}, 8, ["content"])
|
|
513
513
|
]),
|
|
514
|
-
s.value ? (
|
|
515
|
-
F(s.value.type) === "line" ? (
|
|
514
|
+
s.value ? (A(), O("div", ka, [
|
|
515
|
+
F(s.value.type) === "line" ? (A(), j(h, {
|
|
516
516
|
key: 0,
|
|
517
517
|
class: "sparkline",
|
|
518
518
|
datasets: c.value,
|
|
@@ -525,7 +525,7 @@ const ba = /* @__PURE__ */ se({
|
|
|
525
525
|
"x-cfg": { display: !1 },
|
|
526
526
|
"maintain-aspect-ratio": !1
|
|
527
527
|
}, null, 8, ["datasets", "x-axis"])) : be("", !0)
|
|
528
|
-
])) : (
|
|
528
|
+
])) : (A(), O("div", Ta, r[1] || (r[1] = [
|
|
529
529
|
M("div", { class: "sparkline" }, [
|
|
530
530
|
M("div", { class: "flex flex-col gap-8" }, [
|
|
531
531
|
M("div"),
|
|
@@ -540,7 +540,7 @@ const ba = /* @__PURE__ */ se({
|
|
|
540
540
|
}), Fa = {};
|
|
541
541
|
function Ra(e, n) {
|
|
542
542
|
const m = H("FmMenuDivider");
|
|
543
|
-
return
|
|
543
|
+
return A(), j(m);
|
|
544
544
|
}
|
|
545
545
|
const La = /* @__PURE__ */ fa(Fa, [["render", Ra]]), za = "mf-reporttable-dimension", _t = ma(za, () => {
|
|
546
546
|
const e = u(0), n = u([]), m = u(!1), t = (d, o) => {
|
|
@@ -550,18 +550,18 @@ const La = /* @__PURE__ */ fa(Fa, [["render", Ra]]), za = "mf-reporttable-dimens
|
|
|
550
550
|
}, R = (d, o) => {
|
|
551
551
|
const y = (o == null ? void 0 : o.querySelectorAll("thead tr")) ?? [], g = (o == null ? void 0 : o.querySelectorAll("tbody tr")) ?? [];
|
|
552
552
|
[...y, ...g].forEach((V) => {
|
|
553
|
-
const
|
|
554
|
-
|
|
553
|
+
const P = V;
|
|
554
|
+
P && (P.style.height = `${d}px`);
|
|
555
555
|
});
|
|
556
556
|
}, C = (d, o, y, g = !1) => {
|
|
557
557
|
const k = (y == null ? void 0 : y.querySelectorAll("th")) ?? [];
|
|
558
558
|
if (d === void 0) return;
|
|
559
|
-
const V = k[d],
|
|
560
|
-
if (!V ||
|
|
561
|
-
const
|
|
562
|
-
V.style.width = `${
|
|
559
|
+
const V = k[d], P = g ? n[d] : o;
|
|
560
|
+
if (!V || P === void 0) return;
|
|
561
|
+
const $ = () => {
|
|
562
|
+
V.style.width = `${P}px`;
|
|
563
563
|
};
|
|
564
|
-
g ? requestAnimationFrame(
|
|
564
|
+
g ? requestAnimationFrame($) : $();
|
|
565
565
|
}, S = () => {
|
|
566
566
|
const d = document.querySelectorAll("th"), o = document.querySelectorAll("td"), y = document.querySelector("table");
|
|
567
567
|
y == null || y.classList.add("table-fixed"), d.forEach((g) => g.classList.add("toggleEditResize")), o.forEach((g) => g.classList.add("toggleEditResize")), m.value = !0;
|
|
@@ -593,21 +593,21 @@ const La = /* @__PURE__ */ fa(Fa, [["render", Ra]]), za = "mf-reporttable-dimens
|
|
|
593
593
|
o.classList.remove("highlight-hover-col");
|
|
594
594
|
}) : document.querySelectorAll(".highlight-col").forEach((o) => o.classList.remove("highlight-col"));
|
|
595
595
|
}, b = (d, o) => {
|
|
596
|
-
const y = /* @__PURE__ */ new Map(), g = d.clientX, k = d.target.closest("table"), V = k == null ? void 0 : k.querySelectorAll("th")[o],
|
|
596
|
+
const y = /* @__PURE__ */ new Map(), g = d.clientX, k = d.target.closest("table"), V = k == null ? void 0 : k.querySelectorAll("th")[o], P = V == null ? void 0 : V.getBoundingClientRect().width, $ = y.get(o) ? n[o.toString()] || 60 : (y.set(o, !0), P || n[o.toString()] || 60), N = V == null ? void 0 : V.querySelector("p");
|
|
597
597
|
if (!N) return;
|
|
598
|
-
const ie = N.textContent || "",
|
|
598
|
+
const ie = N.textContent || "", Z = window.getComputedStyle(N), ce = `${Z.fontWeight} ${Z.fontSize} ${Z.fontFamily}`, ee = document.createElement("canvas").getContext("2d");
|
|
599
599
|
if (!ee) return;
|
|
600
600
|
ee.font = ce;
|
|
601
|
-
const p = ee.measureText(ie), T = window.getComputedStyle(V), E = parseFloat(T.paddingLeft || "0"),
|
|
601
|
+
const p = ee.measureText(ie), T = window.getComputedStyle(V), E = parseFloat(T.paddingLeft || "0"), D = parseFloat(T.paddingRight || "0"), W = p.width + E + D;
|
|
602
602
|
c(o, !1);
|
|
603
603
|
const L = (te) => {
|
|
604
|
-
const ae = te.clientX - g, Q = Math.max(
|
|
604
|
+
const ae = te.clientX - g, Q = Math.max(W, $ + ae);
|
|
605
605
|
if (k) {
|
|
606
606
|
w(o, Q, k, !0);
|
|
607
|
-
let
|
|
607
|
+
let K = 0;
|
|
608
608
|
k.querySelectorAll("th").forEach((fe, ve) => {
|
|
609
|
-
|
|
610
|
-
}), k.classList.remove("w-full"), k.style.width = `${
|
|
609
|
+
K += ve === o ? Q : n[ve] || fe.getBoundingClientRect().width;
|
|
610
|
+
}), k.classList.remove("w-full"), k.style.width = `${K}px`;
|
|
611
611
|
const ue = k == null ? void 0 : k.parentElement;
|
|
612
612
|
if (ue) {
|
|
613
613
|
const fe = ue.scrollWidth, ve = ue.scrollLeft;
|
|
@@ -616,18 +616,18 @@ const La = /* @__PURE__ */ fa(Fa, [["render", Ra]]), za = "mf-reporttable-dimens
|
|
|
616
616
|
}
|
|
617
617
|
}, U = () => {
|
|
618
618
|
const te = (k == null ? void 0 : k.querySelectorAll("th")) ?? [], ae = [...n.value];
|
|
619
|
-
te.forEach((Q,
|
|
619
|
+
te.forEach((Q, K) => {
|
|
620
620
|
const Ce = Q.getBoundingClientRect().width;
|
|
621
|
-
n[
|
|
621
|
+
n[K] = Ce, ae[K] = Ce;
|
|
622
622
|
}), n.value = ae, x(!1), document.removeEventListener("mousemove", L), document.removeEventListener("mouseup", U);
|
|
623
623
|
};
|
|
624
624
|
document.addEventListener("mousemove", L), document.addEventListener("mouseup", U);
|
|
625
625
|
}, v = (d) => {
|
|
626
626
|
const o = d.clientY, y = d.target.closest("table"), g = e.value || 48;
|
|
627
627
|
i(!1);
|
|
628
|
-
const k = (
|
|
629
|
-
const
|
|
630
|
-
y && t(
|
|
628
|
+
const k = (P) => {
|
|
629
|
+
const $ = Math.max(30, g + (P.clientY - o));
|
|
630
|
+
y && t($, y);
|
|
631
631
|
}, V = () => {
|
|
632
632
|
r(!1), document.removeEventListener("mousemove", k), document.removeEventListener("mouseup", V);
|
|
633
633
|
};
|
|
@@ -653,19 +653,19 @@ const La = /* @__PURE__ */ fa(Fa, [["render", Ra]]), za = "mf-reporttable-dimens
|
|
|
653
653
|
enableCellResizing: () => {
|
|
654
654
|
const d = document.querySelector("thead"), o = document.querySelectorAll("thead tr"), y = document.querySelectorAll("tbody tr"), g = [...o, ...y];
|
|
655
655
|
d && d.classList.remove("sticky");
|
|
656
|
-
const k = (V,
|
|
657
|
-
const
|
|
658
|
-
return
|
|
659
|
-
N.stopPropagation(), b(N,
|
|
660
|
-
})) : (
|
|
656
|
+
const k = (V, P) => {
|
|
657
|
+
const $ = document.createElement("div");
|
|
658
|
+
return $.className = `${V}-resize-handle`, V === "col" ? ($.addEventListener("mouseenter", () => c(P, !0)), $.addEventListener("mouseleave", () => x(!0)), $.addEventListener("mousedown", (N) => {
|
|
659
|
+
N.stopPropagation(), b(N, P);
|
|
660
|
+
})) : ($.addEventListener("mouseenter", () => i(!0)), $.addEventListener("mouseleave", () => r(!0)), $.addEventListener("mousedown", (N) => {
|
|
661
661
|
N.stopPropagation(), v(N);
|
|
662
|
-
})),
|
|
662
|
+
})), $;
|
|
663
663
|
};
|
|
664
664
|
g.forEach((V) => {
|
|
665
|
-
const
|
|
666
|
-
V.querySelectorAll(
|
|
667
|
-
const
|
|
668
|
-
N.appendChild(
|
|
665
|
+
const P = V.closest("thead") !== null;
|
|
666
|
+
V.querySelectorAll(P ? "th" : "td").forEach((N, ie) => {
|
|
667
|
+
const Z = k("col", ie), ce = k("row", ie);
|
|
668
|
+
N.appendChild(Z), N.appendChild(ce);
|
|
669
669
|
});
|
|
670
670
|
}), S();
|
|
671
671
|
},
|
|
@@ -674,7 +674,7 @@ const La = /* @__PURE__ */ fa(Fa, [["render", Ra]]), za = "mf-reporttable-dimens
|
|
|
674
674
|
}
|
|
675
675
|
};
|
|
676
676
|
});
|
|
677
|
-
function
|
|
677
|
+
function Ze(e) {
|
|
678
678
|
if (e == null || e === "")
|
|
679
679
|
return "";
|
|
680
680
|
const n = String(e), m = Number(n);
|
|
@@ -682,7 +682,7 @@ function Ke(e) {
|
|
|
682
682
|
const [t, w] = n.split("."), R = new Intl.NumberFormat("en-US").format(Number(t));
|
|
683
683
|
return w !== void 0 ? `${R}.${w}` : R;
|
|
684
684
|
}
|
|
685
|
-
const
|
|
685
|
+
const Da = "/assets/processTableData.worker-DphUPEW7.js", Wa = { class: "my-4" }, Aa = {
|
|
686
686
|
class: "border-b border-fm-color-neutral-gray-100 hover:bg-fm-color-opacity-sm",
|
|
687
687
|
style: { backgroundColor: "#f9f9f9" }
|
|
688
688
|
}, Ea = { class: "font-bold" }, Va = { class: "text-fm-color-neutral-gray-300" }, Ha = /* @__PURE__ */ se({
|
|
@@ -710,29 +710,29 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
710
710
|
return ye.bottom;
|
|
711
711
|
}
|
|
712
712
|
}), g = f(() => {
|
|
713
|
-
const
|
|
714
|
-
return Math.floor((
|
|
713
|
+
const D = y.value !== void 0 ? 1 : 0, W = (h.value ? h.value.$el.offsetHeight : 0) - 48;
|
|
714
|
+
return Math.floor((W - 34.5 - 32) / 48) - D;
|
|
715
715
|
}), k = f(() => {
|
|
716
716
|
var T, E;
|
|
717
717
|
let p = [];
|
|
718
718
|
switch (y.value) {
|
|
719
719
|
case ye.top:
|
|
720
|
-
p = [...((T = d.value[0]) == null ? void 0 : T.cells) || []].map((
|
|
720
|
+
p = [...((T = d.value[0]) == null ? void 0 : T.cells) || []].map((D, W) => {
|
|
721
721
|
var L;
|
|
722
722
|
return {
|
|
723
|
-
main:
|
|
724
|
-
comparison: (L = d.value[0]) == null ? void 0 : L.comparisonCells[
|
|
725
|
-
rowType: z.value[
|
|
723
|
+
main: D,
|
|
724
|
+
comparison: (L = d.value[0]) == null ? void 0 : L.comparisonCells[W],
|
|
725
|
+
rowType: z.value[W].type
|
|
726
726
|
};
|
|
727
727
|
});
|
|
728
728
|
break;
|
|
729
729
|
case ye.bottom:
|
|
730
|
-
p = [...((E = d.value[d.value.length - 1]) == null ? void 0 : E.cells) || []].map((
|
|
730
|
+
p = [...((E = d.value[d.value.length - 1]) == null ? void 0 : E.cells) || []].map((D, W) => {
|
|
731
731
|
var L;
|
|
732
732
|
return {
|
|
733
|
-
main:
|
|
734
|
-
comparison: (L = d.value[0]) == null ? void 0 : L.comparisonCells[
|
|
735
|
-
rowType: z.value[
|
|
733
|
+
main: D,
|
|
734
|
+
comparison: (L = d.value[0]) == null ? void 0 : L.comparisonCells[W],
|
|
735
|
+
rowType: z.value[W].type
|
|
736
736
|
};
|
|
737
737
|
});
|
|
738
738
|
break;
|
|
@@ -752,15 +752,15 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
752
752
|
we(() => {
|
|
753
753
|
R();
|
|
754
754
|
});
|
|
755
|
-
const
|
|
756
|
-
let
|
|
755
|
+
const P = u([]);
|
|
756
|
+
let $ = 0, N;
|
|
757
757
|
function ie() {
|
|
758
|
-
var
|
|
759
|
-
if (!((
|
|
760
|
-
|
|
758
|
+
var W;
|
|
759
|
+
if (!((W = t.value) != null && W.data)) {
|
|
760
|
+
P.value = [];
|
|
761
761
|
return;
|
|
762
762
|
}
|
|
763
|
-
const p =
|
|
763
|
+
const p = ++$, T = (t.value.data.rows || []).map((L) => ({
|
|
764
764
|
isRollup: L.isRollup,
|
|
765
765
|
cells: Array.isArray(L.cells) ? [...L.cells] : [],
|
|
766
766
|
comparisonCells: Array.isArray(L.comparisonCells) ? [...L.comparisonCells] : []
|
|
@@ -768,7 +768,7 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
768
768
|
key: L.key,
|
|
769
769
|
type: L.type,
|
|
770
770
|
label: L.label
|
|
771
|
-
})),
|
|
771
|
+
})), D = {
|
|
772
772
|
rows: T,
|
|
773
773
|
columns: E,
|
|
774
774
|
filter: o.value ?? "",
|
|
@@ -779,8 +779,8 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
779
779
|
grandTotalPosition: y.value,
|
|
780
780
|
pageSize: g.value
|
|
781
781
|
};
|
|
782
|
-
ua(
|
|
783
|
-
p ===
|
|
782
|
+
ua(Da, D).then((L) => {
|
|
783
|
+
p === $ && (L != null && L.error ? (S.open({ message: "Failed to process table data. Please retry.", type: "error" }), console.log(L.error), P.value = []) : P.value = oa(L.data || []));
|
|
784
784
|
});
|
|
785
785
|
}
|
|
786
786
|
G(
|
|
@@ -790,20 +790,20 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
790
790
|
},
|
|
791
791
|
{ immediate: !0, deep: !0 }
|
|
792
792
|
);
|
|
793
|
-
const
|
|
794
|
-
var E,
|
|
795
|
-
const p = ((E = t.value.data) == null ? void 0 : E.rows) || [], T = ((
|
|
793
|
+
const Z = f(() => {
|
|
794
|
+
var E, D;
|
|
795
|
+
const p = ((E = t.value.data) == null ? void 0 : E.rows) || [], T = ((D = t.value.data) == null ? void 0 : D.columns) || [];
|
|
796
796
|
return JSON.stringify({
|
|
797
797
|
rowsLength: p.length,
|
|
798
|
-
columns: T.map((
|
|
798
|
+
columns: T.map((W) => ({ key: W.key, type: W.type, label: W.label })),
|
|
799
799
|
filter: o.value ?? "",
|
|
800
|
-
globalSorts: s.value.map((
|
|
800
|
+
globalSorts: s.value.map((W) => ({ key: W.key, type: W.type })),
|
|
801
801
|
grandTotalPosition: y.value,
|
|
802
802
|
pageSize: g.value
|
|
803
803
|
});
|
|
804
804
|
});
|
|
805
805
|
G(
|
|
806
|
-
() =>
|
|
806
|
+
() => Z.value,
|
|
807
807
|
() => {
|
|
808
808
|
clearTimeout(N), N = setTimeout(ie, 200);
|
|
809
809
|
},
|
|
@@ -812,10 +812,10 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
812
812
|
function ce(p) {
|
|
813
813
|
const T = s.value.find((E) => E.key === p);
|
|
814
814
|
if (!T) {
|
|
815
|
-
s.value.push({ key: p, type:
|
|
815
|
+
s.value.push({ key: p, type: Ae.Asc });
|
|
816
816
|
return;
|
|
817
817
|
}
|
|
818
|
-
T.type ===
|
|
818
|
+
T.type === Ae.Asc ? T.type = Ae.Desc : T.type === Ae.Desc && (s.value = s.value.filter((E) => E.key !== p));
|
|
819
819
|
}
|
|
820
820
|
const pe = f(
|
|
821
821
|
() => {
|
|
@@ -825,7 +825,7 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
825
825
|
), ee = f(() => {
|
|
826
826
|
var p;
|
|
827
827
|
return (p = t.value.data) != null && p.columns ? t.value.data.columns.map((T) => {
|
|
828
|
-
const E = Re(n, m, T.label, "other"),
|
|
828
|
+
const E = Re(n, m, T.label, "other"), D = s.value.find((U) => U.key === T.key), W = !!D, L = W ? D.type === Ae.Asc ? "arrow_upward" : "arrow_downward" : "unfold_more";
|
|
829
829
|
return {
|
|
830
830
|
accessorKey: T.key,
|
|
831
831
|
header: () => {
|
|
@@ -834,7 +834,7 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
834
834
|
"button",
|
|
835
835
|
{
|
|
836
836
|
type: "button",
|
|
837
|
-
class: `w-full flex items-center gap-1 group/select-header select-none ${T.type === "NUMERIC" ? "justify-end" : "justify-start"} ${
|
|
837
|
+
class: `w-full flex items-center gap-1 group/select-header select-none ${T.type === "NUMERIC" ? "justify-end" : "justify-start"} ${W ? "text-fm-color-typo-primary" : "text-fm-color-neutral-gray-400"}`,
|
|
838
838
|
onClick: () => ce(T.key)
|
|
839
839
|
},
|
|
840
840
|
[
|
|
@@ -845,7 +845,7 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
845
845
|
),
|
|
846
846
|
Be(U, {
|
|
847
847
|
name: L,
|
|
848
|
-
color:
|
|
848
|
+
color: W ? "primary" : "neutral-gray-400",
|
|
849
849
|
size: "sm",
|
|
850
850
|
class: "transition-transform",
|
|
851
851
|
style: L === "arrow_upward" ? "transform: translateY(-1px);" : ""
|
|
@@ -854,8 +854,8 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
854
854
|
);
|
|
855
855
|
},
|
|
856
856
|
cell: (U) => {
|
|
857
|
-
var Q,
|
|
858
|
-
const te = V(U.getValue()), ae = (
|
|
857
|
+
var Q, K;
|
|
858
|
+
const te = V(U.getValue()), ae = (K = (Q = U == null ? void 0 : U.row) == null ? void 0 : Q.original) == null ? void 0 : K.isRollup;
|
|
859
859
|
return Be(
|
|
860
860
|
"div",
|
|
861
861
|
{
|
|
@@ -865,7 +865,7 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
865
865
|
pe.value ? "whitespace-normal break-words line-clamp-6" : "whitespace-nowrap"
|
|
866
866
|
].join(" ")
|
|
867
867
|
},
|
|
868
|
-
[T.type === "NUMERIC" ?
|
|
868
|
+
[T.type === "NUMERIC" ? Ze(te.main) : te.main]
|
|
869
869
|
);
|
|
870
870
|
},
|
|
871
871
|
enableSorting: !1
|
|
@@ -880,30 +880,30 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
880
880
|
), G(
|
|
881
881
|
[() => ee.value],
|
|
882
882
|
async () => {
|
|
883
|
-
var
|
|
883
|
+
var W;
|
|
884
884
|
await J();
|
|
885
|
-
const p = (
|
|
885
|
+
const p = (W = h.value) == null ? void 0 : W.$el;
|
|
886
886
|
if (!p) return;
|
|
887
887
|
const T = p.querySelector("table");
|
|
888
888
|
if (!T) return;
|
|
889
889
|
T.classList.add(pe.value ? "table-fixed" : "table-auto");
|
|
890
|
-
let E,
|
|
891
|
-
c.value ? (v(), E = i.value,
|
|
890
|
+
let E, D;
|
|
891
|
+
c.value ? (v(), E = i.value, D = r.value) : (D = t.value.rowHeight, E = t.value.colWidths), typeof D == "number" && b(D, p), E == null || E.forEach((L, U) => {
|
|
892
892
|
x(U, L, p);
|
|
893
893
|
});
|
|
894
894
|
},
|
|
895
895
|
{ immediate: !0 }
|
|
896
896
|
), (p, T) => {
|
|
897
897
|
const E = H("FmTable");
|
|
898
|
-
return
|
|
899
|
-
M("div",
|
|
898
|
+
return A(), O(de, null, [
|
|
899
|
+
M("div", Wa, [
|
|
900
900
|
xe(p.$slots, "menu")
|
|
901
901
|
]),
|
|
902
902
|
I(E, {
|
|
903
903
|
ref_key: "table",
|
|
904
904
|
ref: h,
|
|
905
905
|
"column-defs": ee.value,
|
|
906
|
-
"row-data":
|
|
906
|
+
"row-data": P.value,
|
|
907
907
|
"search-value": o.value,
|
|
908
908
|
"page-size": g.value,
|
|
909
909
|
"shrink-at": !1,
|
|
@@ -912,20 +912,20 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
912
912
|
}, {
|
|
913
913
|
"pin-top": Y(() => [
|
|
914
914
|
M("tbody", null, [
|
|
915
|
-
M("tr",
|
|
916
|
-
(
|
|
917
|
-
key: `${l(Ie)()}_${
|
|
915
|
+
M("tr", Aa, [
|
|
916
|
+
(A(!0), O(de, null, Ft(k.value, (D, W) => (A(), O("td", {
|
|
917
|
+
key: `${l(Ie)()}_${W}`,
|
|
918
918
|
class: "h-[48px] text-fm-color-typo-primary px-16"
|
|
919
919
|
}, [
|
|
920
920
|
M("span", {
|
|
921
921
|
class: Me([
|
|
922
922
|
"items-center text-fm-color-typo-secondary gap-2",
|
|
923
|
-
|
|
923
|
+
D.rowType === "NUMERIC" ? "text-right" : "",
|
|
924
924
|
pe.value ? "whitespace-normal break-words line-clamp-6" : "whitespace-nowrap"
|
|
925
925
|
])
|
|
926
926
|
}, [
|
|
927
|
-
M("p", Ea, Ee(
|
|
928
|
-
M("p", Va, Ee(
|
|
927
|
+
M("p", Ea, Ee(D.rowType === "NUMERIC" ? l(Ze)(D.main) : D.main), 1),
|
|
928
|
+
M("p", Va, Ee(D.comparison ? D.rowType === "NUMERIC" ? `(${l(Ze)(D.comparison)})` : `(${D.comparison})` : ""), 1)
|
|
929
929
|
], 2)
|
|
930
930
|
]))), 128))
|
|
931
931
|
])
|
|
@@ -936,7 +936,7 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
936
936
|
], 64);
|
|
937
937
|
};
|
|
938
938
|
}
|
|
939
|
-
}),
|
|
939
|
+
}), Pa = /* @__PURE__ */ se({
|
|
940
940
|
__name: "WidgetStackBarChart",
|
|
941
941
|
props: /* @__PURE__ */ me({
|
|
942
942
|
tileIndex: {}
|
|
@@ -976,7 +976,7 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
976
976
|
J(() => v());
|
|
977
977
|
}), (h, z) => {
|
|
978
978
|
const d = H("FmBarChart");
|
|
979
|
-
return
|
|
979
|
+
return A(), O(de, null, [
|
|
980
980
|
xe(h.$slots, "menu"),
|
|
981
981
|
I(d, {
|
|
982
982
|
ref_key: "chartRef",
|
|
@@ -1005,7 +1005,7 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
1005
1005
|
], 64);
|
|
1006
1006
|
};
|
|
1007
1007
|
}
|
|
1008
|
-
}),
|
|
1008
|
+
}), $a = /* @__PURE__ */ se({
|
|
1009
1009
|
__name: "WidgetStackLineChart",
|
|
1010
1010
|
props: /* @__PURE__ */ me({
|
|
1011
1011
|
tileIndex: {}
|
|
@@ -1051,7 +1051,7 @@ const Aa = "/assets/processTableData.worker-VJ40ZCSA.js", Da = { class: "my-4" }
|
|
|
1051
1051
|
J(() => z());
|
|
1052
1052
|
}), (o, y) => {
|
|
1053
1053
|
const g = H("FmLineChart");
|
|
1054
|
-
return
|
|
1054
|
+
return A(), O(de, null, [
|
|
1055
1055
|
xe(o.$slots, "menu"),
|
|
1056
1056
|
I(g, {
|
|
1057
1057
|
ref_key: "chartRef",
|
|
@@ -1149,7 +1149,7 @@ const Na = /* @__PURE__ */ se({
|
|
|
1149
1149
|
J(() => z());
|
|
1150
1150
|
}), (o, y) => {
|
|
1151
1151
|
const g = H("FmLineChart");
|
|
1152
|
-
return
|
|
1152
|
+
return A(), O(de, null, [
|
|
1153
1153
|
xe(o.$slots, "menu"),
|
|
1154
1154
|
I(g, {
|
|
1155
1155
|
ref_key: "chartRef",
|
|
@@ -1213,7 +1213,7 @@ const Na = /* @__PURE__ */ se({
|
|
|
1213
1213
|
}
|
|
1214
1214
|
return (v, h) => {
|
|
1215
1215
|
const z = H("FmRadio"), d = H("FmRadioGroup"), o = H("FmButton"), y = H("FmDialog");
|
|
1216
|
-
return
|
|
1216
|
+
return A(), j(y, {
|
|
1217
1217
|
modelValue: R.value,
|
|
1218
1218
|
"onUpdate:modelValue": h[2] || (h[2] = (g) => R.value = g),
|
|
1219
1219
|
overlay: !0,
|
|
@@ -1309,16 +1309,16 @@ const Na = /* @__PURE__ */ se({
|
|
|
1309
1309
|
return -1;
|
|
1310
1310
|
}), r = f(() => i.value !== 0), x = f(
|
|
1311
1311
|
() => i.value != ge.value.length - 1
|
|
1312
|
-
), b = u(t.showTitle ?? !0), v = u(t.titleFontSize ?? 14), h = u(t.titleBold ?? !1), z = u(t.titleItalic ?? !1), d = u(t.titleUnderline ?? !1), o = u(t.chartWidth ?? void 0), y = u(t.chartHeight ?? void 0), g = u(t.showLabel ?? !1), k = u(t.labelAlign ?? tt.center), V = u(t.labelAnchor ?? et.center),
|
|
1312
|
+
), b = u(t.showTitle ?? !0), v = u(t.titleFontSize ?? 14), h = u(t.titleBold ?? !1), z = u(t.titleItalic ?? !1), d = u(t.titleUnderline ?? !1), o = u(t.chartWidth ?? void 0), y = u(t.chartHeight ?? void 0), g = u(t.showLabel ?? !1), k = u(t.labelAlign ?? tt.center), V = u(t.labelAnchor ?? et.center), P = u(t.labelRotation ?? 0), $ = u(t.labelOffset ?? 0), N = u(t.labelFontSize ?? 12), ie = f(() => t.showSearchBar), Z = u(t.showX ?? !0), ce = u(t.xPosition ?? at.bottom), pe = u(t.showXGrid ?? !1), ee = u(t.showXTick ?? !0), p = u(t.xTickFontSize ?? 12), T = u(t.showXTitle ?? !1), E = u(t.xTitle ?? ""), D = u(t.xTitleFontSize ?? 12), W = u(t.showY ?? !0), L = u(t.yPosition ?? ot.left), U = u(t.showYGrid ?? !1), te = u(t.showYTick ?? !0), ae = u(t.yTickFontSize ?? 12), Q = u(t.showYTitle ?? !1), K = u(t.yTitle ?? ""), Ce = u(t.yTitleFontSize ?? 12), ue = u(t.showLegend ?? void 0), fe = u(t.legendPosition ?? lt.top), ve = u(t.usePointStyle ?? !0), Ue = u(t.legendMaxHeight), rt = u(t.legendMaxWidth), it = u(t.rowHeight ?? 0), ct = u(t.colWidths ?? []), Oe = u(!1), Xe = u(""), { breakpoints: Se, getBreakpointsBoundary: De } = Lt(), ut = u(), X = f(
|
|
1313
1313
|
() => C.customScreenWidth === void 0 ? window.innerWidth : C.customScreenWidth
|
|
1314
|
-
), At = f(
|
|
1315
|
-
() => (X == null ? void 0 : X.value) > Ae("xs")[1] && (X == null ? void 0 : X.value) <= Ae("sm")[1]
|
|
1316
1314
|
), Dt = f(
|
|
1317
|
-
() => (X == null ? void 0 : X.value) >
|
|
1318
|
-
), Wt = f(
|
|
1315
|
+
() => (X == null ? void 0 : X.value) > De("xs")[1] && (X == null ? void 0 : X.value) <= De("sm")[1]
|
|
1316
|
+
), Wt = f(
|
|
1317
|
+
() => (X == null ? void 0 : X.value) > De("sm")[1] && (X == null ? void 0 : X.value) <= De("md")[1]
|
|
1318
|
+
), At = f(() => (X == null ? void 0 : X.value) > De("md")[1]), Et = f(() => {
|
|
1319
1319
|
const a = m.value.size.width;
|
|
1320
|
-
return
|
|
1321
|
-
}),
|
|
1320
|
+
return At.value || Wt.value ? Ba(a) : Dt.value ? Ia(a) : Ma(a);
|
|
1321
|
+
}), Pe = f(
|
|
1322
1322
|
() => va.find((a) => a.type === m.value.widget.type)
|
|
1323
1323
|
), ke = St(() => {
|
|
1324
1324
|
var a;
|
|
@@ -1329,11 +1329,11 @@ const Na = /* @__PURE__ */ se({
|
|
|
1329
1329
|
case _.BarChart:
|
|
1330
1330
|
return ba;
|
|
1331
1331
|
case _.StackBarChart:
|
|
1332
|
-
return
|
|
1332
|
+
return Pa;
|
|
1333
1333
|
case _.LineChart:
|
|
1334
1334
|
return Na;
|
|
1335
1335
|
case _.StackLineChart:
|
|
1336
|
-
return
|
|
1336
|
+
return $a;
|
|
1337
1337
|
case _.Circular:
|
|
1338
1338
|
return wa;
|
|
1339
1339
|
case _.Scorecard:
|
|
@@ -1352,10 +1352,10 @@ const Na = /* @__PURE__ */ se({
|
|
|
1352
1352
|
dateRange: dt,
|
|
1353
1353
|
compareDateRange: Ht,
|
|
1354
1354
|
timeRange: ht,
|
|
1355
|
-
globalFilters:
|
|
1355
|
+
globalFilters: Pt,
|
|
1356
1356
|
isGlobalFiltersLoading: mt
|
|
1357
|
-
} = Le(Ne()), { businessId:
|
|
1358
|
-
f(() => Bt.value ===
|
|
1357
|
+
} = Le(Ne()), { businessId: $t } = Le(nt()), { businessLoadedId: Bt, businessDataVersion: Ge } = Le(Ne());
|
|
1358
|
+
f(() => Bt.value === $t.value && Ye.value.length > 0 && !mt.value);
|
|
1359
1359
|
const It = u(!0), q = f(() => {
|
|
1360
1360
|
const a = JSON.parse(JSON.stringify(m.value.widget));
|
|
1361
1361
|
return {
|
|
@@ -1381,22 +1381,22 @@ const Na = /* @__PURE__ */ se({
|
|
|
1381
1381
|
showLabel: g.value,
|
|
1382
1382
|
labelAnchor: V.value,
|
|
1383
1383
|
labelAlign: k.value,
|
|
1384
|
-
labelRotation:
|
|
1385
|
-
labelOffset:
|
|
1384
|
+
labelRotation: P.value,
|
|
1385
|
+
labelOffset: $.value,
|
|
1386
1386
|
labelFontSize: N.value,
|
|
1387
|
-
showX:
|
|
1387
|
+
showX: Z.value,
|
|
1388
1388
|
xPosition: ce.value,
|
|
1389
1389
|
showXGrid: pe.value,
|
|
1390
1390
|
showXTick: ee.value,
|
|
1391
1391
|
xTickFontSize: p.value,
|
|
1392
1392
|
showXTitle: T.value,
|
|
1393
1393
|
xTitle: E.value,
|
|
1394
|
-
xTitleFontSize:
|
|
1395
|
-
showY:
|
|
1394
|
+
xTitleFontSize: D.value,
|
|
1395
|
+
showY: W.value,
|
|
1396
1396
|
yPosition: L.value,
|
|
1397
1397
|
showYGrid: U.value,
|
|
1398
1398
|
showYTick: te.value,
|
|
1399
|
-
yTitle:
|
|
1399
|
+
yTitle: K.value,
|
|
1400
1400
|
showYTitle: Q.value,
|
|
1401
1401
|
yTitleFontSize: Ce.value,
|
|
1402
1402
|
yTickFontSize: ae.value,
|
|
@@ -1435,13 +1435,13 @@ const Na = /* @__PURE__ */ se({
|
|
|
1435
1435
|
if (a.rollup != null) {
|
|
1436
1436
|
const B = [...a.dimensions].filter((oe) => !oe.hide);
|
|
1437
1437
|
return B.sort(
|
|
1438
|
-
(oe,
|
|
1438
|
+
(oe, We) => (a.rowIds || []).indexOf(Ke(oe)) - (a.rowIds || []).indexOf(Ke(We))
|
|
1439
1439
|
), [
|
|
1440
1440
|
{ label: Re(w, R, "None", "other"), value: "none" },
|
|
1441
1441
|
{ label: Re(w, R, "Grand Total", "other"), value: 0 },
|
|
1442
|
-
...[...B].slice(0, B.length - 1).map((oe,
|
|
1442
|
+
...[...B].slice(0, B.length - 1).map((oe, We) => ({
|
|
1443
1443
|
label: Re(w, R, oe.label, "other"),
|
|
1444
|
-
value:
|
|
1444
|
+
value: We + 1
|
|
1445
1445
|
}))
|
|
1446
1446
|
];
|
|
1447
1447
|
}
|
|
@@ -1450,13 +1450,13 @@ const Na = /* @__PURE__ */ se({
|
|
|
1450
1450
|
const { config: a } = q.value;
|
|
1451
1451
|
return a.isDrillable ? a.dimensions.map((B) => ({
|
|
1452
1452
|
label: Re(w, R, B.label, "other"),
|
|
1453
|
-
value:
|
|
1453
|
+
value: Ke(B)
|
|
1454
1454
|
})) : [];
|
|
1455
1455
|
});
|
|
1456
1456
|
G(
|
|
1457
1457
|
() => m.value.widget.config,
|
|
1458
1458
|
(a) => {
|
|
1459
|
-
F.value = a.rollup, b.value = a.showTitle ?? !0, v.value = a.titleFontSize ?? 14, h.value = a.titleBold ?? !1, z.value = a.titleItalic ?? !1, d.value = a.titleUnderline ?? !1, y.value = a.chartHeight ?? void 0, o.value = a.chartWidth ?? void 0, g.value = a.showLabel ?? !1, k.value = a.labelAlign ?? tt.center, V.value = a.labelAnchor ?? et.center,
|
|
1459
|
+
F.value = a.rollup, b.value = a.showTitle ?? !0, v.value = a.titleFontSize ?? 14, h.value = a.titleBold ?? !1, z.value = a.titleItalic ?? !1, d.value = a.titleUnderline ?? !1, y.value = a.chartHeight ?? void 0, o.value = a.chartWidth ?? void 0, g.value = a.showLabel ?? !1, k.value = a.labelAlign ?? tt.center, V.value = a.labelAnchor ?? et.center, P.value = a.labelRotation ?? 0, $.value = a.labelOffset ?? 0, N.value = a.labelFontSize ?? 12, Z.value = a.showX ?? !0, ce.value = a.xPosition ?? at.bottom, pe.value = a.showXGrid ?? !1, ee.value = a.showXTick ?? !0, p.value = a.xTickFontSize ?? 12, T.value = a.showXTitle ?? !1, E.value = a.xTitle ?? "", D.value = a.xTitleFontSize ?? 12, W.value = a.showY ?? !0, L.value = a.yPosition ?? ot.left, U.value = a.showYGrid ?? !1, te.value = a.showYTick ?? !0, ae.value = a.yTickFontSize ?? 12, Q.value = a.showYTitle ?? !1, K.value = a.yTitle ?? "", Ce.value = a.yTitleFontSize ?? 12, ue.value = a.showLegend ?? void 0, fe.value = a.legendPosition ?? lt.top, ve.value = a.usePointStyle ?? !0, Ue.value = a.legendMaxHeight, rt.value = a.legendMaxWidth, it.value = a.rowHeight ?? 0, ct.value = a.colWidths ?? [];
|
|
1460
1460
|
},
|
|
1461
1461
|
{ deep: !0 }
|
|
1462
1462
|
), G([() => F.value], () => {
|
|
@@ -1468,7 +1468,7 @@ const Na = /* @__PURE__ */ se({
|
|
|
1468
1468
|
() => ht.value,
|
|
1469
1469
|
() => Ht.value,
|
|
1470
1470
|
() => Ye.value,
|
|
1471
|
-
() =>
|
|
1471
|
+
() => Pt.value,
|
|
1472
1472
|
() => Ge.value
|
|
1473
1473
|
],
|
|
1474
1474
|
() => {
|
|
@@ -1487,7 +1487,7 @@ const Na = /* @__PURE__ */ se({
|
|
|
1487
1487
|
Se.value.sm || Se.value.md || Se.value.xs ? (console.log("Ignoring resize event due to keyboard"), removeEventListener("change", ke)) : removeEventListener("resize", ke);
|
|
1488
1488
|
});
|
|
1489
1489
|
const vt = st();
|
|
1490
|
-
let
|
|
1490
|
+
let $e;
|
|
1491
1491
|
async function gt() {
|
|
1492
1492
|
if (q.value.config.schemaNames.length <= 0 && !(q.value.config.dimensions.length <= 0 || q.value.config.metrics.length <= 0)) {
|
|
1493
1493
|
vt.open({
|
|
@@ -1497,8 +1497,8 @@ const Na = /* @__PURE__ */ se({
|
|
|
1497
1497
|
return;
|
|
1498
1498
|
}
|
|
1499
1499
|
try {
|
|
1500
|
-
n.value = !0,
|
|
1501
|
-
const a =
|
|
1500
|
+
n.value = !0, $e && $e.abort(), $e = new AbortController();
|
|
1501
|
+
const a = $e.signal, B = Ge.value, oe = await St(da, 500)(q.value, a, m.value.id);
|
|
1502
1502
|
Ge.value === B && (Te.value = oe, s.value = Ie()), n.value = !1;
|
|
1503
1503
|
} catch (a) {
|
|
1504
1504
|
a.code !== "ERR_CANCELED" && (Te.value = null, vt.open({ message: `Invalid chart ${q.value.type}`, type: "error" }), console.log(a), n.value = !1);
|
|
@@ -1538,8 +1538,8 @@ const Na = /* @__PURE__ */ se({
|
|
|
1538
1538
|
}
|
|
1539
1539
|
})), Yt = q.value.type === _.Spacer ? "flat" : "outlined", Gt = q.value.type === _.Spacer ? "p-0" : "p-16";
|
|
1540
1540
|
return (a, B) => {
|
|
1541
|
-
const oe = H("FmTooltip"),
|
|
1542
|
-
return
|
|
1541
|
+
const oe = H("FmTooltip"), We = H("FmSearch"), jt = H("FmCheckbox"), je = H("FmButton"), Jt = H("FmSelect"), Kt = H("FmMenuItem"), Zt = H("FmMenu"), Qt = H("FmForm"), ea = H("FmCircularProgress"), ta = H("FmCard");
|
|
1542
|
+
return A(), j(ta, {
|
|
1543
1543
|
ref_key: "tileCard",
|
|
1544
1544
|
ref: S,
|
|
1545
1545
|
class: Me(`${Et.value} ${l(Gt)}`),
|
|
@@ -1552,11 +1552,11 @@ const Na = /* @__PURE__ */ se({
|
|
|
1552
1552
|
"report-type": yt.value,
|
|
1553
1553
|
index: bt.value
|
|
1554
1554
|
}, null, 8, ["modelValue", "report-type", "index"]),
|
|
1555
|
-
!n.value && !l(mt) ? (
|
|
1555
|
+
!n.value && !l(mt) ? (A(), O("div", {
|
|
1556
1556
|
key: 0,
|
|
1557
1557
|
style: he({ height: ut.value })
|
|
1558
1558
|
}, [
|
|
1559
|
-
(
|
|
1559
|
+
(A(), j(sa(Vt.value), {
|
|
1560
1560
|
key: s.value,
|
|
1561
1561
|
modelValue: pt.value,
|
|
1562
1562
|
"onUpdate:modelValue": B[4] || (B[4] = (_e) => pt.value = _e),
|
|
@@ -1575,7 +1575,7 @@ const Na = /* @__PURE__ */ se({
|
|
|
1575
1575
|
disabled: !q.value.description
|
|
1576
1576
|
}, {
|
|
1577
1577
|
default: Y(() => [
|
|
1578
|
-
b.value !== !1 ? (
|
|
1578
|
+
b.value !== !1 ? (A(), O("p", {
|
|
1579
1579
|
key: 0,
|
|
1580
1580
|
style: he({
|
|
1581
1581
|
fontSize: v.value + "px",
|
|
@@ -1591,21 +1591,21 @@ const Na = /* @__PURE__ */ se({
|
|
|
1591
1591
|
]),
|
|
1592
1592
|
_: 1
|
|
1593
1593
|
}, 8, ["content", "disabled"]),
|
|
1594
|
-
(_e =
|
|
1594
|
+
(_e = Pe.value) != null && _e.showSearchBar ? (A(), j(We, {
|
|
1595
1595
|
key: 0,
|
|
1596
1596
|
modelValue: Xe.value,
|
|
1597
1597
|
"onUpdate:modelValue": B[1] || (B[1] = (le) => Xe.value = le),
|
|
1598
1598
|
class: "grow"
|
|
1599
|
-
}, null, 8, ["modelValue"])) : (
|
|
1599
|
+
}, null, 8, ["modelValue"])) : (A(), O("div", Xa)),
|
|
1600
1600
|
ra(I(jt, {
|
|
1601
1601
|
modelValue: g.value,
|
|
1602
1602
|
"onUpdate:modelValue": B[2] || (B[2] = (le) => g.value = le),
|
|
1603
1603
|
label: "Label",
|
|
1604
1604
|
value: !1
|
|
1605
1605
|
}, null, 8, ["modelValue"]), [
|
|
1606
|
-
[ia, (wt =
|
|
1606
|
+
[ia, (wt = Pe.value) == null ? void 0 : wt.showLabel]
|
|
1607
1607
|
]),
|
|
1608
|
-
(xt =
|
|
1608
|
+
(xt = Pe.value) != null && xt.showDrillDimension && ge.value.length > 0 ? (A(), O("div", Ya, [
|
|
1609
1609
|
I(je, {
|
|
1610
1610
|
icon: "arrow_upward",
|
|
1611
1611
|
variant: "tertiary",
|
|
@@ -1619,14 +1619,14 @@ const Na = /* @__PURE__ */ se({
|
|
|
1619
1619
|
onClick: Ot
|
|
1620
1620
|
}, null, 8, ["disabled"])
|
|
1621
1621
|
])) : be("", !0),
|
|
1622
|
-
(Ct =
|
|
1622
|
+
(Ct = Pe.value) != null && Ct.showRollup && ft.value.length > 0 ? (A(), j(Jt, {
|
|
1623
1623
|
key: 3,
|
|
1624
1624
|
modelValue: F.value,
|
|
1625
1625
|
"onUpdate:modelValue": B[3] || (B[3] = (le) => F.value = le),
|
|
1626
1626
|
class: "w-[150px]",
|
|
1627
1627
|
items: ft.value
|
|
1628
1628
|
}, null, 8, ["modelValue", "items"])) : be("", !0),
|
|
1629
|
-
C.hideExport ? be("", !0) : (
|
|
1629
|
+
C.hideExport ? be("", !0) : (A(), j(Zt, {
|
|
1630
1630
|
key: 4,
|
|
1631
1631
|
shift: !0
|
|
1632
1632
|
}, {
|
|
@@ -1637,7 +1637,7 @@ const Na = /* @__PURE__ */ se({
|
|
|
1637
1637
|
})
|
|
1638
1638
|
]),
|
|
1639
1639
|
default: Y(() => [
|
|
1640
|
-
(
|
|
1640
|
+
(A(!0), O(de, null, Ft(l(Xt), (le) => (A(), j(Kt, {
|
|
1641
1641
|
key: le.value,
|
|
1642
1642
|
label: le.label,
|
|
1643
1643
|
onClick: le.onClick
|
|
@@ -1652,7 +1652,7 @@ const Na = /* @__PURE__ */ se({
|
|
|
1652
1652
|
]),
|
|
1653
1653
|
_: 1
|
|
1654
1654
|
}, 8, ["modelValue", "tile-index"]))
|
|
1655
|
-
], 4)) : (
|
|
1655
|
+
], 4)) : (A(), j(ea, { key: 1 }))
|
|
1656
1656
|
]),
|
|
1657
1657
|
_: 1
|
|
1658
1658
|
}, 8, ["class", "variant"]);
|
|
@@ -1664,6 +1664,6 @@ export {
|
|
|
1664
1664
|
ye as R,
|
|
1665
1665
|
oo as _,
|
|
1666
1666
|
et as a,
|
|
1667
|
-
|
|
1667
|
+
Ke as g,
|
|
1668
1668
|
_t as u
|
|
1669
1669
|
};
|