vue-data-ui 3.9.12 → 3.9.13
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/{Arrow-Cbn8f8m4.js → Arrow-f1dKmuRH.js} +1 -1
- package/dist/{BaseDraggableDialog-C167SnU0.js → BaseDraggableDialog-CAJxIF6g.js} +2 -2
- package/dist/{BaseIcon-r3_sTK1A.js → BaseIcon-4i3dd7Ty.js} +1 -1
- package/dist/{BaseZoomControls-D8N7fb-c.js → BaseZoomControls-C0H509ZF.js} +6 -6
- package/dist/{ColorPicker-Bq2C5Dll.js → ColorPicker-B9oF4-O6.js} +8 -8
- package/dist/{DataTable-DNeCys3I.js → DataTable-WrXCJkfE.js} +2 -2
- package/dist/{Legend-Dxz13z4E.js → Legend-D6z73edh.js} +2 -2
- package/dist/{NonSvgPenAndPaper-ZnkWbBri.js → NonSvgPenAndPaper-7clRuQVF.js} +11 -11
- package/dist/{PackageVersion-BpArR90N.js → PackageVersion-D3cMhAlf.js} +1 -1
- package/dist/{PenAndPaper-CsqBamFZ.js → PenAndPaper-DxIUvoQ8.js} +17 -17
- package/dist/{Shape-_iTOIp3x.js → Shape-DAHhCEdg.js} +1 -1
- package/dist/{Slicer-DBYna_by.js → Slicer-Bn8azYkD.js} +70 -70
- package/dist/{SlicerPreview-pHjYklxh.js → SlicerPreview-oV3dMuV1.js} +2 -2
- package/dist/{SparkTooltip-BaSHhfes.js → SparkTooltip-D7iYVquk.js} +3 -3
- package/dist/{Title-DFtCaCah.js → Title-BhURirpm.js} +1 -1
- package/dist/{Tooltip-B79qvriT.js → Tooltip-TDyKgLB6.js} +1 -1
- package/dist/{UserOptions-B-2A_KRb.js → UserOptions-CzJWRC4s.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-Cm7R2Zu2.js → dom-to-png-C2K57N1M.js} +1 -1
- package/dist/{img-BJzUSmkm.js → img-DKigoPDs.js} +1 -1
- package/dist/labelUtils-PMU3ZGCb.js +30 -0
- package/dist/{lib-W9waxHL3.js → lib-BwysEpWI.js} +81 -77
- package/dist/{pdf-BJR-8Moh.js → pdf-BHGnVnBG.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +20 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DAdqpHf1.js → useAutoSizeLabelsInsideViewbox-DO2dxQ78.js} +1 -1
- package/dist/{useNestedProp-D-jUHecl.js → useNestedProp--5lL-kf1.js} +209 -197
- package/dist/{usePrinter-DhoMn87n.js → usePrinter-BJzHDpYF.js} +2 -2
- package/dist/{vue-data-ui-Dw19CYml.js → vue-data-ui-DE3O1T8n.js} +67 -67
- package/dist/vue-data-ui.js +83 -83
- package/dist/{vue-ui-3d-bar-Bv7Tft_r.js → vue-ui-3d-bar-CVvhPzdH.js} +6 -6
- package/dist/{vue-ui-accordion-B6BX2vhq.js → vue-ui-accordion-tQNKwbVi.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C6NjJlg4.js → vue-ui-age-pyramid-DxTHqM7w.js} +25 -25
- package/dist/{vue-ui-annotator-DB6dpuUU.js → vue-ui-annotator-Da5aL57a.js} +7 -7
- package/dist/{vue-ui-bullet-BLGvme53.js → vue-ui-bullet-DhpTML7L.js} +22 -22
- package/dist/{vue-ui-candlestick-DBG1mW60.js → vue-ui-candlestick-BDOKQqMm.js} +85 -85
- package/dist/{vue-ui-carousel-table-BYnItN48.js → vue-ui-carousel-table-BW6bKPsX.js} +13 -13
- package/dist/{vue-ui-chestnut-DV6f4SNc.js → vue-ui-chestnut-Cc-lke6P.js} +31 -31
- package/dist/{vue-ui-chord-DRleP2O8.js → vue-ui-chord-CB6w31Ex.js} +8 -8
- package/dist/{vue-ui-circle-pack-BCrMaFWw.js → vue-ui-circle-pack-CfihOmNV.js} +6 -6
- package/dist/{vue-ui-cursor-j10t3UEX.js → vue-ui-cursor-Dnpe76BQ.js} +3 -3
- package/dist/{vue-ui-dag-y0oqslGj.js → vue-ui-dag-Dq3hKon7.js} +7 -7
- package/dist/{vue-ui-dashboard-mBGF94l6.js → vue-ui-dashboard-eMwyGsuD.js} +68 -68
- package/dist/{vue-ui-digits-DQz1eJc-.js → vue-ui-digits-B5QhIbFD.js} +2 -2
- package/dist/vue-ui-donut-D3---CiY.js +2082 -0
- package/dist/{vue-ui-donut-evolution-hkHICgry.js → vue-ui-donut-evolution-C6H1Vr6m.js} +8 -8
- package/dist/{vue-ui-dumbbell-BVPZwi0X.js → vue-ui-dumbbell-L1p0npq4.js} +33 -33
- package/dist/{vue-ui-flow-BNeKU-KR.js → vue-ui-flow-CgAIlvZF.js} +38 -38
- package/dist/{vue-ui-funnel-VorM1bT0.js → vue-ui-funnel-CpgqO34n.js} +6 -6
- package/dist/{vue-ui-galaxy-DKkviRQr.js → vue-ui-galaxy-DAi1I2Cr.js} +316 -291
- package/dist/{vue-ui-gauge-BNaWVi-e.js → vue-ui-gauge-DY78U-uO.js} +7 -7
- package/dist/{vue-ui-geo-_R5mjj-u.js → vue-ui-geo-Befu6fkT.js} +7 -7
- package/dist/{vue-ui-gizmo-AQFQccea.js → vue-ui-gizmo-BM_oOeYY.js} +3 -3
- package/dist/{vue-ui-heatmap-BKX1bPY5.js → vue-ui-heatmap-C_ze3bzX.js} +108 -108
- package/dist/{vue-ui-history-plot-BNX8B2jr.js → vue-ui-history-plot-C-_zpLPH.js} +50 -50
- package/dist/{vue-ui-horizontal-bar-B6VyEs1p.js → vue-ui-horizontal-bar-DvLMeP44.js} +47 -47
- package/dist/{vue-ui-kpi-BnCqocoi.js → vue-ui-kpi-IcOqABQz.js} +3 -3
- package/dist/{vue-ui-mini-loader-Dzqusv9i.js → vue-ui-mini-loader-DxlOXn6v.js} +2 -2
- package/dist/{vue-ui-molecule-PtnhkQLr.js → vue-ui-molecule-N938wMMB.js} +5 -5
- package/dist/{vue-ui-mood-radar-DxSVU35A.js → vue-ui-mood-radar-D1hHnpLB.js} +7 -7
- package/dist/{vue-ui-nested-donuts-BY8C1axg.js → vue-ui-nested-donuts-DeTGEb4T.js} +597 -595
- package/dist/{vue-ui-onion-XJAcsPVV.js → vue-ui-onion-BwY998zT.js} +376 -332
- package/dist/{vue-ui-parallel-coordinate-plot-CDWIZbgp.js → vue-ui-parallel-coordinate-plot-B4v3AheY.js} +43 -43
- package/dist/{vue-ui-quadrant-DY9GXVYY.js → vue-ui-quadrant-4f1p9gSO.js} +8 -8
- package/dist/{vue-ui-quick-chart-Y73WB5GW.js → vue-ui-quick-chart-CGbEBTS1.js} +52 -52
- package/dist/{vue-ui-radar-Deup68ga.js → vue-ui-radar-B15r4HoM.js} +57 -57
- package/dist/{vue-ui-rating-BciQHmzs.js → vue-ui-rating-CaRZVE71.js} +2 -2
- package/dist/{vue-ui-relation-circle-C0W3aPaO.js → vue-ui-relation-circle-CFEL1uYt.js} +7 -7
- package/dist/{vue-ui-ridgeline-D9z3_hRf.js → vue-ui-ridgeline-LGH61-xE.js} +8 -8
- package/dist/{vue-ui-rings-CT3gLUkS.js → vue-ui-rings-DNdUdKax.js} +270 -246
- package/dist/{vue-ui-scatter-DiLSOZGs.js → vue-ui-scatter-Duxs0Ie_.js} +8 -8
- package/dist/{vue-ui-skeleton-D_2C5A85.js → vue-ui-skeleton-UoBAzUyN.js} +3 -3
- package/dist/{vue-ui-smiley-C0Bqip2_.js → vue-ui-smiley-BhpJbcM8.js} +2 -2
- package/dist/{vue-ui-spark-trend-C05f4Fn6.js → vue-ui-spark-trend-2c75iF9Y.js} +96 -96
- package/dist/{vue-ui-sparkbar-CjYaG0Ae.js → vue-ui-sparkbar-B2E5nzBF.js} +3 -3
- package/dist/{vue-ui-sparkgauge-AKIy8PYI.js → vue-ui-sparkgauge-DFkpaMkk.js} +13 -13
- package/dist/{vue-ui-sparkhistogram-nWWgx7iD.js → vue-ui-sparkhistogram-K6lo-KnY.js} +4 -4
- package/dist/{vue-ui-sparkline-CGMDNQpH.js → vue-ui-sparkline-CsByZZt4.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-C3vjYPrM.js → vue-ui-sparkstackbar-ByUb6nk-.js} +3 -3
- package/dist/{vue-ui-stackbar-BQiLC89h.js → vue-ui-stackbar-D7SnQvr4.js} +41 -41
- package/dist/{vue-ui-stackline-DPV5Amgq.js → vue-ui-stackline-BnRxf3k_.js} +130 -130
- package/dist/{vue-ui-strip-plot-CFGml25d.js → vue-ui-strip-plot-CJWXdisu.js} +28 -28
- package/dist/{vue-ui-table-DySeXTmp.js → vue-ui-table-BHWwypkc.js} +27 -27
- package/dist/{vue-ui-table-heatmap-CDnzIKGy.js → vue-ui-table-heatmap-DvHKKwJA.js} +12 -12
- package/dist/{vue-ui-table-sparkline-DbEj6x4N.js → vue-ui-table-sparkline-uK0q-dO9.js} +11 -11
- package/dist/{vue-ui-thermometer-BeiT4slQ.js → vue-ui-thermometer-Bxn0JNeJ.js} +31 -31
- package/dist/{vue-ui-timer-RWg45QKc.js → vue-ui-timer-7o5Jrxf3.js} +5 -5
- package/dist/{vue-ui-tiremarks-B4_W_mWX.js → vue-ui-tiremarks-DHoUaHOe.js} +6 -6
- package/dist/{vue-ui-treemap-fq9-enBk.js → vue-ui-treemap-B_4cIAAI.js} +51 -51
- package/dist/{vue-ui-waffle-BRcWupew.js → vue-ui-waffle-CddfqNWD.js} +381 -352
- package/dist/{vue-ui-wheel-DziR9q2I.js → vue-ui-wheel-CGYJA-33.js} +6 -6
- package/dist/{vue-ui-word-cloud-C6i_7Q6Y.js → vue-ui-word-cloud-oszTieHn.js} +32 -32
- package/dist/{vue-ui-world-Dvn1JWi9.js → vue-ui-world-DQjHEyKe.js} +31 -31
- package/dist/{vue-ui-xy-2ui0juKl.js → vue-ui-xy-D5A8tR-O.js} +9 -9
- package/dist/{vue-ui-xy-canvas-9tgX_s2v.js → vue-ui-xy-canvas-Bzd8pZdH.js} +100 -100
- package/package.json +1 -1
- package/dist/vue-ui-donut-A_IFB9JR.js +0 -2078
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { watchEffect as ul, nextTick as Te, useCssVars as nl, defineAsyncComponent as ve, computed as b, ref as d, shallowRef as il, toRefs as rl, watch as we, onBeforeUnmount as ft, onMounted as vl, reactive as gt, createElementBlock as i, openBlock as u, normalizeStyle as L, normalizeClass as ge, createBlock as be, createCommentVNode as f, createElementVNode as g, createVNode as Ae, unref as n, withCtx as C, renderSlot as x, normalizeProps as H, guardReactiveProps as X, createSlots as bt, Fragment as z, renderList as P, withDirectives as pt, createTextVNode as Pe, toDisplayString as F, vShow as cl, resolveDynamicComponent as dl, mergeProps as
|
|
2
|
-
import { c as Ie, t as fl,
|
|
1
|
+
import { watchEffect as ul, nextTick as Te, useCssVars as nl, defineAsyncComponent as ve, computed as b, ref as d, shallowRef as il, toRefs as rl, watch as we, onBeforeUnmount as ft, onMounted as vl, reactive as gt, createElementBlock as i, openBlock as u, normalizeStyle as L, normalizeClass as ge, createBlock as be, createCommentVNode as f, createElementVNode as g, createVNode as Ae, unref as n, withCtx as C, renderSlot as x, normalizeProps as H, guardReactiveProps as X, createSlots as bt, Fragment as z, renderList as P, withDirectives as pt, createTextVNode as Pe, toDisplayString as F, vShow as cl, resolveDynamicComponent as dl, mergeProps as yl, withKeys as hl } from "vue";
|
|
2
|
+
import { c as Ie, t as fl, a1 as gl, o as mt, g as xt, am as pe, l as bl, X as pl, x as Le, a as K, d as W, U as J, ay as ml, v as xl, r as Cl, y as kl, _ as wl } from "./lib-BwysEpWI.js";
|
|
3
3
|
import { t as Se, u as Al } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ll, a as Ve } from "./useNestedProp-
|
|
5
|
-
import { u as Sl } from "./usePrinter-
|
|
4
|
+
import { u as Ll, a as Ve } from "./useNestedProp--5lL-kf1.js";
|
|
5
|
+
import { u as Sl } from "./usePrinter-BJzHDpYF.js";
|
|
6
6
|
import { u as Tl, B as _l } from "./BaseScanner-BMpwQAfz.js";
|
|
7
7
|
import { u as zl } from "./useSvgExport-ByUukOZt.js";
|
|
8
8
|
import { u as Ct } from "./useTimeLabels-DKoynYae.js";
|
|
@@ -11,16 +11,16 @@ import { u as Fl } from "./useTableResponsive-Cbx-ACcP.js";
|
|
|
11
11
|
import { u as Dl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
12
|
import { u as kt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
13
13
|
import { u as Ol } from "./useChartAccessibility-9icAAmYg.js";
|
|
14
|
-
import Bl from "./img-
|
|
15
|
-
import Ml from "./Title-
|
|
16
|
-
import El from "./vue-ui-accordion-
|
|
14
|
+
import Bl from "./img-DKigoPDs.js";
|
|
15
|
+
import Ml from "./Title-BhURirpm.js";
|
|
16
|
+
import El from "./vue-ui-accordion-tQNKwbVi.js";
|
|
17
17
|
import { _ as Nl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
function Ue({
|
|
19
|
-
elementRef:
|
|
19
|
+
elementRef: y,
|
|
20
20
|
callback: I,
|
|
21
|
-
attr:
|
|
21
|
+
attr: Q,
|
|
22
22
|
earlyReturn: Y = !1,
|
|
23
|
-
retryFrames:
|
|
23
|
+
retryFrames: Z = 12,
|
|
24
24
|
alsoAfterFontsReady: D = !0
|
|
25
25
|
}) {
|
|
26
26
|
if (Y) return;
|
|
@@ -30,28 +30,28 @@ function Ue({
|
|
|
30
30
|
if (typeof S.getBBox == "function")
|
|
31
31
|
try {
|
|
32
32
|
const O = S.getBBox();
|
|
33
|
-
A =
|
|
33
|
+
A = Q === "width" ? O.width : O.height;
|
|
34
34
|
} catch {
|
|
35
35
|
}
|
|
36
36
|
if (typeof A != "number" || Number.isNaN(A))
|
|
37
37
|
try {
|
|
38
38
|
const O = S.getBoundingClientRect();
|
|
39
|
-
A =
|
|
39
|
+
A = Q === "width" ? O.width : O.height;
|
|
40
40
|
} catch {
|
|
41
41
|
A = void 0;
|
|
42
42
|
}
|
|
43
43
|
typeof A == "number" && !Number.isNaN(A) && I(A);
|
|
44
44
|
};
|
|
45
45
|
ul((S) => {
|
|
46
|
-
const A =
|
|
46
|
+
const A = y.value;
|
|
47
47
|
if (!A) return;
|
|
48
48
|
let O = !1;
|
|
49
49
|
(async () => {
|
|
50
50
|
await Te();
|
|
51
|
-
for (let T = 0; T <
|
|
51
|
+
for (let T = 0; T < Z; T += 1) {
|
|
52
52
|
if (O) return;
|
|
53
53
|
await new Promise((te) => requestAnimationFrame(te));
|
|
54
|
-
const N =
|
|
54
|
+
const N = y.value;
|
|
55
55
|
if (!N) return;
|
|
56
56
|
V(N);
|
|
57
57
|
}
|
|
@@ -60,12 +60,12 @@ function Ue({
|
|
|
60
60
|
await document.fonts.ready;
|
|
61
61
|
} catch {
|
|
62
62
|
}
|
|
63
|
-
!O &&
|
|
63
|
+
!O && y.value && V(y.value);
|
|
64
64
|
}
|
|
65
65
|
})();
|
|
66
66
|
const ee = new MutationObserver(() => {
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
y.value && requestAnimationFrame(() => {
|
|
68
|
+
y.value && V(y.value);
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
71
|
ee.observe(A, {
|
|
@@ -79,7 +79,7 @@ function Ue({
|
|
|
79
79
|
if (typeof ResizeObserver < "u") {
|
|
80
80
|
const T = A.ownerSVGElement ? A.ownerSVGElement : A;
|
|
81
81
|
m = new ResizeObserver(() => {
|
|
82
|
-
const N =
|
|
82
|
+
const N = y.value;
|
|
83
83
|
N && V(N);
|
|
84
84
|
}), m.observe(T);
|
|
85
85
|
}
|
|
@@ -106,52 +106,52 @@ const At = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { cr
|
|
|
106
106
|
hack: Tt,
|
|
107
107
|
zen: _t
|
|
108
108
|
}, Symbol.toStringTag, { value: "Module" })), Rl = {
|
|
109
|
-
mounted(
|
|
110
|
-
wt(
|
|
109
|
+
mounted(y, I) {
|
|
110
|
+
wt(y, I.value);
|
|
111
111
|
},
|
|
112
|
-
updated(
|
|
113
|
-
wt(
|
|
112
|
+
updated(y, I) {
|
|
113
|
+
wt(y, I.value);
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
|
-
function wt(
|
|
116
|
+
function wt(y, {
|
|
117
117
|
cellWidth: I,
|
|
118
|
-
cellHeight:
|
|
118
|
+
cellHeight: Q,
|
|
119
119
|
maxFontSize: Y,
|
|
120
|
-
minFontSize:
|
|
120
|
+
minFontSize: Z,
|
|
121
121
|
index: D,
|
|
122
122
|
reportRotation: V,
|
|
123
123
|
reportHide: S,
|
|
124
124
|
rotateAll: A,
|
|
125
125
|
hideAll: O
|
|
126
126
|
}) {
|
|
127
|
-
|
|
127
|
+
y.removeAttribute("transform"), y.removeAttribute("visibility");
|
|
128
128
|
let ue = !1, ee = !1;
|
|
129
|
-
|
|
130
|
-
const m =
|
|
129
|
+
y.setAttribute("font-size", Y);
|
|
130
|
+
const m = y.getComputedTextLength();
|
|
131
131
|
if (m <= I)
|
|
132
132
|
V(D, !1), S(D, !1);
|
|
133
133
|
else {
|
|
134
134
|
const T = Math.floor(Y * I / m);
|
|
135
|
-
T >=
|
|
135
|
+
T >= Z ? (y.setAttribute("font-size", T), V(D, !1), S(D, !1)) : (V(D, !0), S(D, !1), ue = !0);
|
|
136
136
|
}
|
|
137
137
|
if (A && (ue = !0), ue) {
|
|
138
|
-
|
|
139
|
-
const T =
|
|
140
|
-
|
|
141
|
-
const $ =
|
|
142
|
-
if ($ <=
|
|
138
|
+
y.setAttribute("font-size", Y);
|
|
139
|
+
const T = y.getBBox(), N = T.x + T.width / 2, te = T.y + T.height / 2;
|
|
140
|
+
y.setAttribute("transform", `rotate(-90 ${N} ${te})`);
|
|
141
|
+
const $ = y.getBBox().width;
|
|
142
|
+
if ($ <= Q)
|
|
143
143
|
S(D, !1);
|
|
144
144
|
else {
|
|
145
|
-
const ne = Math.floor(Y *
|
|
146
|
-
ne >=
|
|
145
|
+
const ne = Math.floor(Y * Q / $);
|
|
146
|
+
ne >= Z ? (y.setAttribute("font-size", ne), S(D, !1)) : (ee = !0, S(D, !0));
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
(O || ee) &&
|
|
149
|
+
(O || ee) && y.setAttribute("visibility", "hidden");
|
|
150
150
|
}
|
|
151
|
-
const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"], Il = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Vl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ul = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Gl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Wl = ["font-size", "font-weight", "fill", "x", "y"], Yl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], jl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ql = ["font-size", "fill", "x", "y", "font-weight"], Kl = ["font-size", "fill", "x", "y", "font-weight"],
|
|
151
|
+
const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"], Il = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Vl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ul = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Gl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Wl = ["font-size", "font-weight", "fill", "x", "y"], Yl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], jl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ql = ["font-size", "fill", "x", "y", "font-weight"], Kl = ["font-size", "fill", "x", "y", "font-weight"], Jl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ql = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Zl = { key: 6 }, ea = ["x", "y", "width", "height", "stroke", "stroke-width"], ta = { key: 7 }, la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], oa = { class: "vue-ui-heatmap-legend-gauge-right" }, sa = ["data-value"], ua = { class: "vue-ui-heatmap-gauge-indicator-value" }, na = {
|
|
152
152
|
key: 4,
|
|
153
153
|
class: "vue-data-ui-watermark"
|
|
154
|
-
}, ia = { class: "vue-ui-data-table" }, ra = { key: 0 }, va = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, da = ["data-cell"],
|
|
154
|
+
}, ia = { class: "vue-ui-data-table" }, ra = { key: 0 }, va = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, da = ["data-cell"], ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = {
|
|
155
155
|
__name: "vue-ui-heatmap",
|
|
156
156
|
props: {
|
|
157
157
|
config: {
|
|
@@ -168,18 +168,18 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
168
168
|
}
|
|
169
169
|
},
|
|
170
170
|
emits: ["selectDatapoint"],
|
|
171
|
-
setup(
|
|
171
|
+
setup(y, { expose: I, emit: Q }) {
|
|
172
172
|
nl((t) => ({
|
|
173
173
|
v0ce143cf: t.tdo
|
|
174
174
|
}));
|
|
175
|
-
const Y = ve(() => import("./Tooltip-
|
|
175
|
+
const Y = ve(() => import("./Tooltip-TDyKgLB6.js")), Z = ve(() => import("./BaseIcon-4i3dd7Ty.js")), D = ve(() => import("./PenAndPaper-DxIUvoQ8.js")), V = ve(() => import("./UserOptions-CzJWRC4s.js")), S = ve(() => import("./PackageVersion-D3cMhAlf.js")), A = ve(() => import("./BaseDraggableDialog-CAJxIF6g.js")), { vue_ui_heatmap: O } = Ll(), { isThemeValid: ue, warnInvalidTheme: ee } = $l(), m = y, T = Q, N = b({
|
|
176
176
|
get() {
|
|
177
177
|
return !!m.dataset && m.dataset.length;
|
|
178
178
|
},
|
|
179
179
|
set(t) {
|
|
180
180
|
return t;
|
|
181
181
|
}
|
|
182
|
-
}), te = d(Ie()), $ = d(null), ne = d(!1), _e = d(""), Ge = d(void 0), M = d(null), We = d(0), Ye = d(null), je = d(0), Ft = d(null), ce = d(null), ze = d(null), qe = d(null), Ke = d(null), Dt = d(null),
|
|
182
|
+
}), te = d(Ie()), $ = d(null), ne = d(!1), _e = d(""), Ge = d(void 0), M = d(null), We = d(0), Ye = d(null), je = d(0), Ft = d(null), ce = d(null), ze = d(null), qe = d(null), Ke = d(null), Dt = d(null), Je = d(null), Ot = d(null), $e = d(null), Fe = d(null), Bt = d(null), Qe = d(null), ie = il(null), e = d(Me());
|
|
183
183
|
function Mt() {
|
|
184
184
|
const t = Array(7).fill("_"), s = [], a = 14, o = t.length;
|
|
185
185
|
for (let v = 0; v < o; v += 1) {
|
|
@@ -228,7 +228,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
})
|
|
231
|
-
}), { userOptionsVisible: Oe, setUserOptionsVisibility: Et, keepUserOptionState:
|
|
231
|
+
}), { userOptionsVisible: Oe, setUserOptionsVisibility: Et, keepUserOptionState: Ze } = Dl({ config: e.value }), { svgRef: Be } = Ol({ config: e.value.style.title });
|
|
232
232
|
function et(t) {
|
|
233
233
|
Et(t);
|
|
234
234
|
}
|
|
@@ -259,7 +259,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
259
259
|
return m.config && gl(m.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = m.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
|
|
260
260
|
}
|
|
261
261
|
we(() => m.config, (t) => {
|
|
262
|
-
me.value || (e.value = Me()), Oe.value = !e.value.userOptions.showOnChartHover, Ee(), je.value += 1, E.value.showTable = e.value.table.show, E.value.showTooltip = e.value.style.tooltip.show, de.value = e.value.style.layout.width,
|
|
262
|
+
me.value || (e.value = Me()), Oe.value = !e.value.userOptions.showOnChartHover, Ee(), je.value += 1, E.value.showTable = e.value.table.show, E.value.showTooltip = e.value.style.tooltip.show, de.value = e.value.style.layout.width, ye.value = e.value.style.layout.height;
|
|
263
263
|
}, { deep: !0 }), we(() => m.dataset, (t) => {
|
|
264
264
|
Array.isArray(t) && t.length > 0 && (De.value = !1), Ee();
|
|
265
265
|
}, { deep: !0 });
|
|
@@ -290,11 +290,11 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
290
290
|
title: e.value.style.title.text ? qe.value : null,
|
|
291
291
|
// add legend hirizontal in legend attr
|
|
292
292
|
// add legend vertical in some other attr and modify composable to subtract width
|
|
293
|
-
source:
|
|
293
|
+
source: Qe.value,
|
|
294
294
|
noTitle: Ke.value
|
|
295
295
|
});
|
|
296
296
|
requestAnimationFrame(() => {
|
|
297
|
-
de.value = s,
|
|
297
|
+
de.value = s, ye.value = a;
|
|
298
298
|
});
|
|
299
299
|
});
|
|
300
300
|
j.value && (ie.value && j.value.unobserve(ie.value), j.value.disconnect()), j.value = new ResizeObserver(t), ie.value = $.value.parentNode, j.value.observe(ie.value);
|
|
@@ -305,9 +305,9 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
305
305
|
}), vl(() => {
|
|
306
306
|
Ee();
|
|
307
307
|
});
|
|
308
|
-
const U = b(() => Math.max(...k.value.flatMap((t) => (t.values || []).length))), de = d(e.value.style.layout.width),
|
|
308
|
+
const U = b(() => Math.max(...k.value.flatMap((t) => (t.values || []).length))), de = d(e.value.style.layout.width), ye = d(e.value.style.layout.height), B = b(() => ({
|
|
309
309
|
width: Math.max(10, de.value),
|
|
310
|
-
height: Math.max(10,
|
|
310
|
+
height: Math.max(10, ye.value)
|
|
311
311
|
})), re = d(0), Ht = Se((t) => {
|
|
312
312
|
t !== re.value && (re.value = t);
|
|
313
313
|
}, 100);
|
|
@@ -315,12 +315,12 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
315
315
|
const le = d(0), Xt = Se((t) => {
|
|
316
316
|
t !== le.value && (le.value = t);
|
|
317
317
|
}, 100);
|
|
318
|
-
Ue({ elementRef:
|
|
319
|
-
const
|
|
320
|
-
t !==
|
|
318
|
+
Ue({ elementRef: Je, callback: Xt, attr: "width" });
|
|
319
|
+
const he = d(0), Pt = Se((t) => {
|
|
320
|
+
t !== he.value && (he.value = t);
|
|
321
321
|
}, 100);
|
|
322
322
|
Ue({ elementRef: Fe, callback: Pt, attr: "height" }), ft(() => {
|
|
323
|
-
re.value = 0, le.value = 0,
|
|
323
|
+
re.value = 0, le.value = 0, he.value = 0;
|
|
324
324
|
});
|
|
325
325
|
const r = b(() => Math.min(B.value.height, B.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = b(() => {
|
|
326
326
|
let t = 0;
|
|
@@ -328,18 +328,18 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
328
328
|
const s = e.value.style.layout.padding, a = e.value.style.layout.dataLabels.xAxis.fontSize / 3, o = e.value.style.layout.dataLabels.xAxis.fontSize / 2, v = B.value.height - s.top - s.bottom - re.value - a, c = B.value.width / 60, w = {
|
|
329
329
|
x: r.value * U.value,
|
|
330
330
|
y: r.value * ((k.value || []).length + 1)
|
|
331
|
-
}, G = B.value.width - s.left - s.right - w.x - c * 2 - 2 - t - le.value,
|
|
331
|
+
}, G = B.value.width - s.left - s.right - w.x - c * 2 - 2 - t - le.value, h = v - c - w.y - he.value - o - e.value.style.layout.cells.columnTotal.value.offsetY, _ = {
|
|
332
332
|
width: Math.max(3, G / U.value),
|
|
333
|
-
height: Math.max(3,
|
|
333
|
+
height: Math.max(3, h / (k.value.length ?? 1))
|
|
334
334
|
};
|
|
335
335
|
return {
|
|
336
336
|
top: s.top + re.value + c + a,
|
|
337
337
|
topLabelsHeight: re.value,
|
|
338
338
|
sumCellXHeight: c,
|
|
339
|
-
height:
|
|
339
|
+
height: h,
|
|
340
340
|
left: s.left + le.value + c / 2,
|
|
341
341
|
right: s.right - t,
|
|
342
|
-
bottom: B.value.height - s.bottom -
|
|
342
|
+
bottom: B.value.height - s.bottom - he.value,
|
|
343
343
|
width: G,
|
|
344
344
|
cellSize: _
|
|
345
345
|
};
|
|
@@ -359,25 +359,25 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
359
359
|
start: 0,
|
|
360
360
|
end: U.value
|
|
361
361
|
})), p = b(() => {
|
|
362
|
-
const t = It.value.map((
|
|
363
|
-
for (let
|
|
364
|
-
c.push(k.value.map((_) => _.values[
|
|
362
|
+
const t = It.value.map((h) => h.text), s = Vt.value.map((h) => h.text), a = k.value.map((h) => h.values.reduce((_, Xe) => _ + Xe, 0)), o = Math.max(...a), v = Math.min(...a), c = [];
|
|
363
|
+
for (let h = 0; h < U.value; h += 1)
|
|
364
|
+
c.push(k.value.map((_) => _.values[h] || 0).reduce((_, Xe) => _ + Xe, 0));
|
|
365
365
|
const w = Math.max(...c), G = Math.min(...c);
|
|
366
366
|
return {
|
|
367
|
-
yTotals: a.map((
|
|
368
|
-
const _ = isNaN(
|
|
367
|
+
yTotals: a.map((h) => {
|
|
368
|
+
const _ = isNaN(h / o) ? 0 : h / o;
|
|
369
369
|
return {
|
|
370
|
-
total:
|
|
370
|
+
total: h,
|
|
371
371
|
proportion: _,
|
|
372
|
-
color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, v, o,
|
|
372
|
+
color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, v, o, h)
|
|
373
373
|
};
|
|
374
374
|
}),
|
|
375
|
-
xTotals: c.map((
|
|
376
|
-
const _ = isNaN(
|
|
375
|
+
xTotals: c.map((h) => {
|
|
376
|
+
const _ = isNaN(h / w) ? 0 : h / w;
|
|
377
377
|
return {
|
|
378
|
-
total:
|
|
378
|
+
total: h,
|
|
379
379
|
proportion: _,
|
|
380
|
-
color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, G, w,
|
|
380
|
+
color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, G, w, h)
|
|
381
381
|
};
|
|
382
382
|
}),
|
|
383
383
|
yLabels: t,
|
|
@@ -433,7 +433,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
433
433
|
series: oe.value,
|
|
434
434
|
config: e.value
|
|
435
435
|
}, ne.value = !0;
|
|
436
|
-
let
|
|
436
|
+
let h = "";
|
|
437
437
|
const _ = e.value.style.tooltip.customFormat;
|
|
438
438
|
kl(_) && wl(() => _({
|
|
439
439
|
datapoint: t,
|
|
@@ -445,7 +445,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
445
445
|
seriesIndex: s,
|
|
446
446
|
series: oe.value,
|
|
447
447
|
config: e.value
|
|
448
|
-
}) : (
|
|
448
|
+
}) : (h += `<div>${c} ${w ? c ? ` - ${w}` : `${w}` : ""}</div>`, h += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, fe.value, q.value, v)}">⬤</span><span>${isNaN(v) ? "-" : K(
|
|
449
449
|
e.value.style.layout.cells.value.formatter,
|
|
450
450
|
v,
|
|
451
451
|
W({
|
|
@@ -455,7 +455,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
455
455
|
r: e.value.style.tooltip.roundingValue
|
|
456
456
|
}),
|
|
457
457
|
{ datapoint: t, seriesIndex: s }
|
|
458
|
-
)}</span></div>`, _e.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${
|
|
458
|
+
)}</span></div>`, _e.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
|
|
459
459
|
}
|
|
460
460
|
function qt({ datapoint: t, seriesIndex: s }) {
|
|
461
461
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), ne.value = !1, Ge.value = void 0, R.value = null, M.value = null;
|
|
@@ -473,7 +473,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
473
473
|
{ datapoint: p.value.yTotals[t], rowIndex: t }
|
|
474
474
|
);
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function Jt(t) {
|
|
477
477
|
return K(
|
|
478
478
|
e.value.style.layout.cells.value.formatter,
|
|
479
479
|
p.value.xTotals[t].total,
|
|
@@ -519,10 +519,10 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
519
519
|
function Re() {
|
|
520
520
|
Ce.value = !Ce.value;
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Qt(t, s) {
|
|
523
523
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: s }), T("selectDatapoint", t);
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function Zt() {
|
|
526
526
|
return oe.value;
|
|
527
527
|
}
|
|
528
528
|
async function el({ scale: t = 2 } = {}) {
|
|
@@ -540,10 +540,10 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
540
540
|
const dt = b(() => ({
|
|
541
541
|
start: 0,
|
|
542
542
|
end: U.value
|
|
543
|
-
})),
|
|
543
|
+
})), yt = b(() => p.value.xLabels);
|
|
544
544
|
kt({
|
|
545
545
|
timeLabelsEls: $e,
|
|
546
|
-
timeLabels:
|
|
546
|
+
timeLabels: yt,
|
|
547
547
|
slicer: dt,
|
|
548
548
|
configRef: e,
|
|
549
549
|
rotationPath: ["style", "layout", "dataLabels", "xAxis", "rotation"],
|
|
@@ -552,10 +552,10 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
552
552
|
targetClass: ".vue-ui-heatmap-col-name",
|
|
553
553
|
rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle,
|
|
554
554
|
width: de,
|
|
555
|
-
height:
|
|
555
|
+
height: ye
|
|
556
556
|
}), kt({
|
|
557
557
|
timeLabelsEls: Fe,
|
|
558
|
-
timeLabels:
|
|
558
|
+
timeLabels: yt,
|
|
559
559
|
slicer: dt,
|
|
560
560
|
configRef: e,
|
|
561
561
|
rotationPath: ["style", "layout", "cells", "columnTotal", "value", "rotation"],
|
|
@@ -564,7 +564,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
564
564
|
targetClass: ".vue-ui-heatmap-col-total",
|
|
565
565
|
rotation: e.value.style.layout.cells.columnTotal.value.autoRotate.angle,
|
|
566
566
|
width: de,
|
|
567
|
-
height:
|
|
567
|
+
height: ye
|
|
568
568
|
});
|
|
569
569
|
const ke = b(() => {
|
|
570
570
|
const t = e.value.table.useDialog && !e.value.table.show, s = E.value.showTable;
|
|
@@ -608,7 +608,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
608
608
|
title: al,
|
|
609
609
|
backgroundColor: ll
|
|
610
610
|
});
|
|
611
|
-
async function
|
|
611
|
+
async function ht({ isCb: t }) {
|
|
612
612
|
if (t) {
|
|
613
613
|
const { blob: s, url: a, text: o, dataUrl: v } = await sl();
|
|
614
614
|
e.value.userOptions.callbacks.svg({ blob: s, url: a, text: o, dataUrl: v });
|
|
@@ -616,12 +616,12 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
616
616
|
ol();
|
|
617
617
|
}
|
|
618
618
|
return I({
|
|
619
|
-
getData:
|
|
619
|
+
getData: Zt,
|
|
620
620
|
getImage: el,
|
|
621
621
|
generatePdf: at,
|
|
622
622
|
generateCsv: Ne,
|
|
623
623
|
generateImage: ot,
|
|
624
|
-
generateSvg:
|
|
624
|
+
generateSvg: ht,
|
|
625
625
|
toggleTable: vt,
|
|
626
626
|
toggleTooltip: ct,
|
|
627
627
|
toggleAnnotator: Re,
|
|
@@ -690,7 +690,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
690
690
|
}
|
|
691
691
|
}, null, 8, ["config"]))
|
|
692
692
|
], 512)) : f("", !0),
|
|
693
|
-
e.value.userOptions.show && N.value && (n(
|
|
693
|
+
e.value.userOptions.show && N.value && (n(Ze) || n(Oe)) ? (u(), be(n(V), {
|
|
694
694
|
ref_key: "userOptionsRef",
|
|
695
695
|
ref: ze,
|
|
696
696
|
key: `user_options_${We.value}`,
|
|
@@ -720,12 +720,12 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
720
720
|
onGeneratePdf: n(at),
|
|
721
721
|
onGenerateCsv: Ne,
|
|
722
722
|
onGenerateImage: n(ot),
|
|
723
|
-
onGenerateSvg:
|
|
723
|
+
onGenerateSvg: ht,
|
|
724
724
|
onToggleTable: vt,
|
|
725
725
|
onToggleTooltip: ct,
|
|
726
726
|
onToggleAnnotator: Re,
|
|
727
727
|
style: L({
|
|
728
|
-
visibility: n(
|
|
728
|
+
visibility: n(Ze) ? n(Oe) ? "visible" : "hidden" : "visible"
|
|
729
729
|
})
|
|
730
730
|
}, bt({ _: 2 }, [
|
|
731
731
|
t.$slots.menuIcon ? {
|
|
@@ -872,7 +872,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
872
872
|
"stroke-width": r.value,
|
|
873
873
|
onMouseover: (w) => jt(v, o, l.value.left + l.value.cellSize.width * c, l.value.top + l.value.cellSize.height * o),
|
|
874
874
|
onMouseout: () => qt({ datapoint: v, seriesIndex: o }),
|
|
875
|
-
onClick: () =>
|
|
875
|
+
onClick: () => Qt(v, o)
|
|
876
876
|
}, null, 40, Gl),
|
|
877
877
|
e.value.style.layout.cells.value.show ? pt((u(), i("text", {
|
|
878
878
|
key: 0,
|
|
@@ -940,7 +940,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
940
940
|
e.value.style.layout.dataLabels.yAxis.show ? (u(), i("g", {
|
|
941
941
|
key: 3,
|
|
942
942
|
ref_key: "yAxisLabels",
|
|
943
|
-
ref:
|
|
943
|
+
ref: Je
|
|
944
944
|
}, [
|
|
945
945
|
(u(!0), i(z, null, P(oe.value, (a, o) => (u(), i(z, null, [
|
|
946
946
|
g("text", {
|
|
@@ -978,7 +978,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
978
978
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
979
979
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
980
980
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / p.value.xLabels.length * o + e.value.style.layout.dataLabels.xAxis.offsetX + l.value.sumCellXHeight}, ${l.value.topLabelsHeight}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
981
|
-
}, F(a), 9,
|
|
981
|
+
}, F(a), 9, Jl)) : f("", !0)
|
|
982
982
|
], 64))), 256))
|
|
983
983
|
], 512)) : f("", !0),
|
|
984
984
|
e.value.style.layout.cells.columnTotal.value.show ? (u(), i("g", {
|
|
@@ -993,9 +993,9 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
993
993
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
994
994
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
995
995
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / p.value.xLabels.length * o + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + l.value.sumCellXHeight}, ${l.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
|
|
996
|
-
}, F(
|
|
996
|
+
}, F(Jt(o)), 9, Ql))), 256))
|
|
997
997
|
], 512)) : f("", !0),
|
|
998
|
-
M.value ? (u(), i("g",
|
|
998
|
+
M.value ? (u(), i("g", Zl, [
|
|
999
999
|
g("rect", {
|
|
1000
1000
|
style: { "pointer-events": "none" },
|
|
1001
1001
|
x: M.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
|
|
@@ -1050,10 +1050,10 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1050
1050
|
})
|
|
1051
1051
|
}, F(n(K)(
|
|
1052
1052
|
e.value.style.layout.cells.value.formatter,
|
|
1053
|
-
n(
|
|
1053
|
+
n(J)(q.value),
|
|
1054
1054
|
n(W)({
|
|
1055
1055
|
p: e.value.style.layout.dataLabels.prefix,
|
|
1056
|
-
v: n(
|
|
1056
|
+
v: n(J)(q.value),
|
|
1057
1057
|
s: e.value.style.layout.dataLabels.suffix,
|
|
1058
1058
|
r: e.value.style.legend.roundingValue
|
|
1059
1059
|
})
|
|
@@ -1069,10 +1069,10 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1069
1069
|
class: "vue-ui-heatmap-gauge-indicator",
|
|
1070
1070
|
"data-value": n(K)(
|
|
1071
1071
|
e.value.style.layout.cells.value.formatter,
|
|
1072
|
-
n(
|
|
1072
|
+
n(J)(R.value),
|
|
1073
1073
|
n(W)({
|
|
1074
1074
|
p: e.value.style.layout.dataLabels.prefix,
|
|
1075
|
-
v: n(
|
|
1075
|
+
v: n(J)(R.value),
|
|
1076
1076
|
s: e.value.style.layout.dataLabels.suffix,
|
|
1077
1077
|
r: e.value.style.legend.roundingValue
|
|
1078
1078
|
})
|
|
@@ -1093,10 +1093,10 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1093
1093
|
}, [
|
|
1094
1094
|
g("div", ua, F(n(K)(
|
|
1095
1095
|
e.value.style.layout.cells.value.formatter,
|
|
1096
|
-
n(
|
|
1096
|
+
n(J)(R.value),
|
|
1097
1097
|
n(W)({
|
|
1098
1098
|
p: e.value.style.layout.dataLabels.prefix,
|
|
1099
|
-
v: n(
|
|
1099
|
+
v: n(J)(R.value),
|
|
1100
1100
|
s: e.value.style.layout.dataLabels.suffix,
|
|
1101
1101
|
r: e.value.style.legend.roundingValue
|
|
1102
1102
|
})
|
|
@@ -1115,10 +1115,10 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1115
1115
|
})
|
|
1116
1116
|
}, F(n(K)(
|
|
1117
1117
|
e.value.style.layout.cells.value.formatter,
|
|
1118
|
-
n(
|
|
1118
|
+
n(J)(fe.value),
|
|
1119
1119
|
n(W)({
|
|
1120
1120
|
p: e.value.style.layout.dataLabels.prefix,
|
|
1121
|
-
v: n(
|
|
1121
|
+
v: n(J)(fe.value),
|
|
1122
1122
|
s: e.value.style.layout.dataLabels.suffix,
|
|
1123
1123
|
r: e.value.style.legend.roundingValue
|
|
1124
1124
|
})
|
|
@@ -1131,7 +1131,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1131
1131
|
t.$slots.source ? (u(), i("div", {
|
|
1132
1132
|
key: 5,
|
|
1133
1133
|
ref_key: "source",
|
|
1134
|
-
ref:
|
|
1134
|
+
ref: Qe,
|
|
1135
1135
|
dir: "auto"
|
|
1136
1136
|
}, [
|
|
1137
1137
|
x(t.$slots, "source", {}, void 0, !0)
|
|
@@ -1164,7 +1164,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1164
1164
|
]),
|
|
1165
1165
|
_: 3
|
|
1166
1166
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1167
|
-
N.value && e.value.userOptions.buttons.table ? (u(), be(dl(ke.value.component),
|
|
1167
|
+
N.value && e.value.userOptions.buttons.table ? (u(), be(dl(ke.value.component), yl({ key: 6 }, ke.value.props, {
|
|
1168
1168
|
ref_key: "tableUnit",
|
|
1169
1169
|
ref: ce,
|
|
1170
1170
|
onClose: He
|
|
@@ -1186,9 +1186,9 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1186
1186
|
tabindex: "0",
|
|
1187
1187
|
style: L(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
1188
1188
|
onClick: He,
|
|
1189
|
-
onKeypress:
|
|
1189
|
+
onKeypress: hl(He, ["enter"])
|
|
1190
1190
|
}, [
|
|
1191
|
-
Ae(n(
|
|
1191
|
+
Ae(n(Z), {
|
|
1192
1192
|
name: "close",
|
|
1193
1193
|
stroke: e.value.table.th.color,
|
|
1194
1194
|
"stroke-width": 2
|
|
@@ -1210,7 +1210,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1210
1210
|
g("th", {
|
|
1211
1211
|
style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1212
1212
|
}, null, 4),
|
|
1213
|
-
(u(!0), i(z, null, P(
|
|
1213
|
+
(u(!0), i(z, null, P(y.dataset, (a, o) => (u(), i("th", {
|
|
1214
1214
|
align: "right",
|
|
1215
1215
|
style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1216
1216
|
}, F(a.name), 5))), 256))
|
|
@@ -1229,12 +1229,12 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1229
1229
|
}, [
|
|
1230
1230
|
g("div", ca, F(a), 1)
|
|
1231
1231
|
], 12, va),
|
|
1232
|
-
(u(!0), i(z, null, P(
|
|
1232
|
+
(u(!0), i(z, null, P(y.dataset, (v, c) => (u(), i("td", {
|
|
1233
1233
|
class: "vue-ui-data-table__tbody__td",
|
|
1234
|
-
"data-cell":
|
|
1234
|
+
"data-cell": y.dataset[c].name,
|
|
1235
1235
|
style: L(`outline:${e.value.table.td.outline}`)
|
|
1236
1236
|
}, [
|
|
1237
|
-
g("div",
|
|
1237
|
+
g("div", ya, F(isNaN(v.values[o]) ? "-" : n(W)({ p: e.value.style.layout.dataLabels.prefix, v: v.values[o], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
1238
1238
|
], 12, da))), 256))
|
|
1239
1239
|
], 6))), 256))
|
|
1240
1240
|
])
|
|
@@ -1259,7 +1259,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1259
1259
|
class: "vue-ui-user-options-button",
|
|
1260
1260
|
onClick: s[0] || (s[0] = (a) => Ne(e.value.userOptions.callbacks.csv))
|
|
1261
1261
|
}, [
|
|
1262
|
-
Ae(n(
|
|
1262
|
+
Ae(n(Z), {
|
|
1263
1263
|
name: "excel",
|
|
1264
1264
|
stroke: ke.value.props.color
|
|
1265
1265
|
}, null, 8, ["stroke"])
|
|
@@ -1271,7 +1271,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1271
1271
|
n(me) ? (u(), be(_l, { key: 7 })) : f("", !0)
|
|
1272
1272
|
], 46, Hl));
|
|
1273
1273
|
}
|
|
1274
|
-
}, fa = /* @__PURE__ */ Nl(
|
|
1274
|
+
}, fa = /* @__PURE__ */ Nl(ha, [["__scopeId", "data-v-9f255c51"]]), Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1275
1275
|
__proto__: null,
|
|
1276
1276
|
default: fa
|
|
1277
1277
|
}, Symbol.toStringTag, { value: "Module" }));
|