vue-data-ui 3.9.11 → 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-DPLuuWzw.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-B2w3blNC.js → vue-data-ui-DE3O1T8n.js} +67 -67
- package/dist/vue-data-ui.js +83 -83
- package/dist/{vue-ui-3d-bar-Cpp-5jo0.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-BH8z1r48.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-CmLA4Lxs.js → vue-ui-bullet-DhpTML7L.js} +22 -22
- package/dist/{vue-ui-candlestick-IspjAN-a.js → vue-ui-candlestick-BDOKQqMm.js} +85 -85
- package/dist/{vue-ui-carousel-table-9mdO6mvP.js → vue-ui-carousel-table-BW6bKPsX.js} +13 -13
- package/dist/{vue-ui-chestnut-CC1bTcaA.js → vue-ui-chestnut-Cc-lke6P.js} +31 -31
- package/dist/{vue-ui-chord-B0pp0mDm.js → vue-ui-chord-CB6w31Ex.js} +8 -8
- package/dist/{vue-ui-circle-pack-CWhq37at.js → vue-ui-circle-pack-CfihOmNV.js} +6 -6
- package/dist/{vue-ui-cursor-DOWNTk2K.js → vue-ui-cursor-Dnpe76BQ.js} +3 -3
- package/dist/{vue-ui-dag-DlLdvPIA.js → vue-ui-dag-Dq3hKon7.js} +7 -7
- package/dist/{vue-ui-dashboard-BRAyn8IO.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-C95OcKhs.js → vue-ui-donut-evolution-C6H1Vr6m.js} +8 -8
- package/dist/{vue-ui-dumbbell-L8fXdkQm.js → vue-ui-dumbbell-L1p0npq4.js} +33 -33
- package/dist/{vue-ui-flow-CPnYumnP.js → vue-ui-flow-CgAIlvZF.js} +38 -38
- package/dist/{vue-ui-funnel-BPnUog47.js → vue-ui-funnel-CpgqO34n.js} +6 -6
- package/dist/{vue-ui-galaxy-BjtDkIAw.js → vue-ui-galaxy-DAi1I2Cr.js} +316 -291
- package/dist/{vue-ui-gauge-CHqgIzG0.js → vue-ui-gauge-DY78U-uO.js} +7 -7
- package/dist/{vue-ui-geo-C3O4GHZF.js → vue-ui-geo-Befu6fkT.js} +20 -20
- package/dist/{vue-ui-gizmo-Dr0gsAOM.js → vue-ui-gizmo-BM_oOeYY.js} +3 -3
- package/dist/{vue-ui-heatmap-BBshmoO7.js → vue-ui-heatmap-C_ze3bzX.js} +80 -80
- package/dist/{vue-ui-history-plot-BiUyd40D.js → vue-ui-history-plot-C-_zpLPH.js} +50 -50
- package/dist/{vue-ui-horizontal-bar-BDtke67D.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-DH-sHfQ-.js → vue-ui-molecule-N938wMMB.js} +5 -5
- package/dist/{vue-ui-mood-radar-BWASgbMe.js → vue-ui-mood-radar-D1hHnpLB.js} +7 -7
- package/dist/{vue-ui-nested-donuts-4ey-UxN-.js → vue-ui-nested-donuts-DeTGEb4T.js} +597 -595
- package/dist/{vue-ui-onion-40DoblSj.js → vue-ui-onion-BwY998zT.js} +376 -332
- package/dist/{vue-ui-parallel-coordinate-plot-BIV0-SLG.js → vue-ui-parallel-coordinate-plot-B4v3AheY.js} +43 -43
- package/dist/{vue-ui-quadrant-Dvuwg4h7.js → vue-ui-quadrant-4f1p9gSO.js} +8 -8
- package/dist/{vue-ui-quick-chart-CZgZOWsW.js → vue-ui-quick-chart-CGbEBTS1.js} +52 -52
- package/dist/{vue-ui-radar-BfoE3AZN.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-EVMDQTCn.js → vue-ui-relation-circle-CFEL1uYt.js} +7 -7
- package/dist/{vue-ui-ridgeline-BO-JV7Qz.js → vue-ui-ridgeline-LGH61-xE.js} +8 -8
- package/dist/{vue-ui-rings-B0wMY8Cu.js → vue-ui-rings-DNdUdKax.js} +270 -246
- package/dist/{vue-ui-scatter-CyjpTjlf.js → vue-ui-scatter-Duxs0Ie_.js} +8 -8
- package/dist/{vue-ui-skeleton-C8Aq8dTp.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-B1pD2N9Z.js → vue-ui-spark-trend-2c75iF9Y.js} +96 -96
- package/dist/{vue-ui-sparkbar-DFlGdgrX.js → vue-ui-sparkbar-B2E5nzBF.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BMRbWZ_X.js → vue-ui-sparkgauge-DFkpaMkk.js} +13 -13
- package/dist/{vue-ui-sparkhistogram-jI9-0GyS.js → vue-ui-sparkhistogram-K6lo-KnY.js} +4 -4
- package/dist/{vue-ui-sparkline-DLB7uHga.js → vue-ui-sparkline-CsByZZt4.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-E8mYJ8eg.js → vue-ui-sparkstackbar-ByUb6nk-.js} +3 -3
- package/dist/{vue-ui-stackbar-zhHYnvVo.js → vue-ui-stackbar-D7SnQvr4.js} +41 -41
- package/dist/{vue-ui-stackline-rFr4hLbc.js → vue-ui-stackline-BnRxf3k_.js} +130 -130
- package/dist/{vue-ui-strip-plot-DA8uwUaL.js → vue-ui-strip-plot-CJWXdisu.js} +28 -28
- package/dist/{vue-ui-table-CldDVgkf.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-D3XfL4kK.js → vue-ui-table-sparkline-uK0q-dO9.js} +11 -11
- package/dist/{vue-ui-thermometer-CU86DLRC.js → vue-ui-thermometer-Bxn0JNeJ.js} +31 -31
- package/dist/{vue-ui-timer-CPZBXUbs.js → vue-ui-timer-7o5Jrxf3.js} +5 -5
- package/dist/{vue-ui-tiremarks-CLiEtCKe.js → vue-ui-tiremarks-DHoUaHOe.js} +6 -6
- package/dist/{vue-ui-treemap-Dht5s1nE.js → vue-ui-treemap-B_4cIAAI.js} +51 -51
- package/dist/{vue-ui-waffle-BQM8XJln.js → vue-ui-waffle-CddfqNWD.js} +381 -352
- package/dist/{vue-ui-wheel-CX-gWpDL.js → vue-ui-wheel-CGYJA-33.js} +6 -6
- package/dist/{vue-ui-word-cloud-dolAsuyP.js → vue-ui-word-cloud-oszTieHn.js} +32 -32
- package/dist/{vue-ui-world-su4gjhTo.js → vue-ui-world-DQjHEyKe.js} +31 -31
- package/dist/{vue-ui-xy-BSBAegJ1.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-BjSuCwQE.js +0 -2078
|
@@ -1,8 +1,8 @@
|
|
|
1
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,
|
|
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
|
|
15
|
-
import
|
|
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
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,13 +30,13 @@ 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
|
}
|
|
@@ -48,7 +48,7 @@ function Ue({
|
|
|
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
54
|
const N = y.value;
|
|
@@ -88,7 +88,7 @@ function Ue({
|
|
|
88
88
|
});
|
|
89
89
|
}, { flush: "post" });
|
|
90
90
|
}
|
|
91
|
-
const At = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { cells: { selected: { color: "#CCCCCC" } }, dataLabels: { xAxis: { color: "#CCCCCC" }, yAxis: { color: "#CCCCCC" } } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Lt = { style: { backgroundColor: "#FFF8E1", color: "#424242", layout: { cells: { colors: { hot: "#D32F2F", cold: "#FFE082" }, spacing: 0.5, selected: { color: "#B71C1C" } }, dataLabels: { xAxis: { color: "#424242" }, yAxis: { color: "#424242" } } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, legend: { backgroundColor: "#FFF8E1", color: "#424242" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, St = { style: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { cells: { colors: { hot: "#D32F2F", cold: "#FFE082" }, spacing: 0.5, selected: { color: "#B71C1C" } }, dataLabels: { xAxis: { color: "#BDBDBD" }, yAxis: { color: "#BDBDBD" } } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Tt = { style: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { cells: { colors: { hot: "#008000", cold: "#333333" }, spacing: 0.5, selected: { color: "#33FF33" } }, dataLabels: { xAxis: { color: "#AACCAA" }, yAxis: { color: "#AACCAA" } } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, legend: { backgroundColor: "#2A2F2A", color: "#AACCAA" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, _t = { style: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { cells: { colors: { hot: "#DFCA99", cold: "#BBC4D3" }, spacing: 0.5, selected: { color: "#4F5B75" } }, dataLabels: { xAxis: { color: "#A0AC94" }, yAxis: { color: "#A0AC94" } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, zt = { style: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { cells: { colors: { hot: "#6D7D65", cold: "#6C94A5" }, spacing: 0.5, selected: { color: "#404C4D" } }, dataLabels: { xAxis: { color: "#61747E" }, yAxis: { color: "#61747E" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, $t = {
|
|
91
|
+
const At = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { crosshairs: { stroke: "#CCCCCC" }, cells: { selected: { color: "#CCCCCC" } }, dataLabels: { xAxis: { color: "#CCCCCC" }, yAxis: { color: "#CCCCCC" } } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Lt = { style: { backgroundColor: "#FFF8E1", color: "#424242", layout: { crosshairs: { stroke: "#424242" }, cells: { colors: { hot: "#D32F2F", cold: "#FFE082" }, spacing: 0.5, selected: { color: "#B71C1C" } }, dataLabels: { xAxis: { color: "#424242" }, yAxis: { color: "#424242" } } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, legend: { backgroundColor: "#FFF8E1", color: "#424242" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, St = { style: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { crosshairs: { stroke: "#BDBDBD" }, cells: { colors: { hot: "#D32F2F", cold: "#FFE082" }, spacing: 0.5, selected: { color: "#B71C1C" } }, dataLabels: { xAxis: { color: "#BDBDBD" }, yAxis: { color: "#BDBDBD" } } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Tt = { style: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { crosshairs: { stroke: "#33FF33" }, cells: { colors: { hot: "#008000", cold: "#333333" }, spacing: 0.5, selected: { color: "#33FF33" } }, dataLabels: { xAxis: { color: "#AACCAA" }, yAxis: { color: "#AACCAA" } } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, legend: { backgroundColor: "#2A2F2A", color: "#AACCAA" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, _t = { style: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { crosshairs: { stroke: "#8F837A" }, cells: { colors: { hot: "#DFCA99", cold: "#BBC4D3" }, spacing: 0.5, selected: { color: "#4F5B75" } }, dataLabels: { xAxis: { color: "#A0AC94" }, yAxis: { color: "#A0AC94" } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, zt = { style: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { crosshairs: { stroke: "#404C4D" }, cells: { colors: { hot: "#6D7D65", cold: "#6C94A5" }, spacing: 0.5, selected: { color: "#404C4D" } }, dataLabels: { xAxis: { color: "#61747E" }, yAxis: { color: "#61747E" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, $t = {
|
|
92
92
|
default: {},
|
|
93
93
|
dark: At,
|
|
94
94
|
celebration: Lt,
|
|
@@ -115,9 +115,9 @@ const At = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ce
|
|
|
115
115
|
};
|
|
116
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,
|
|
@@ -132,23 +132,23 @@ function wt(y, {
|
|
|
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
138
|
y.setAttribute("font-size", Y);
|
|
139
139
|
const T = y.getBBox(), N = T.x + T.width / 2, te = T.y + T.height / 2;
|
|
140
140
|
y.setAttribute("transform", `rotate(-90 ${N} ${te})`);
|
|
141
141
|
const $ = y.getBBox().width;
|
|
142
|
-
if ($ <=
|
|
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
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
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 = {
|
|
@@ -168,19 +168,19 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
168
168
|
}
|
|
169
169
|
},
|
|
170
170
|
emits: ["selectDatapoint"],
|
|
171
|
-
setup(y, { expose: I, emit:
|
|
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),
|
|
183
|
-
function
|
|
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
|
+
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) {
|
|
186
186
|
const c = [];
|
|
@@ -196,13 +196,13 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
196
196
|
const { loading: me, FINAL_DATASET: k, manualLoading: De } = Tl({
|
|
197
197
|
...rl(m),
|
|
198
198
|
FINAL_CONFIG: e,
|
|
199
|
-
prepareConfig:
|
|
199
|
+
prepareConfig: Me,
|
|
200
200
|
callback: () => {
|
|
201
201
|
Promise.resolve().then(async () => {
|
|
202
202
|
await Te(), $.value && ml($.value, { delta: 0.1, delay: 250 });
|
|
203
203
|
});
|
|
204
204
|
},
|
|
205
|
-
skeletonDataset:
|
|
205
|
+
skeletonDataset: Mt(),
|
|
206
206
|
skeletonConfig: fl({
|
|
207
207
|
defaultConfig: e.value,
|
|
208
208
|
userConfig: {
|
|
@@ -228,11 +228,11 @@ 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
|
}
|
|
235
|
-
function
|
|
235
|
+
function Me() {
|
|
236
236
|
const t = Ve({
|
|
237
237
|
userConfig: m.config,
|
|
238
238
|
defaultConfig: O
|
|
@@ -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 =
|
|
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,7 +290,7 @@ 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(() => {
|
|
@@ -305,7 +305,7 @@ 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), ye = d(e.value.style.layout.height),
|
|
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
310
|
height: Math.max(10, ye.value)
|
|
311
311
|
})), re = d(0), Ht = Se((t) => {
|
|
@@ -315,20 +315,20 @@ 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:
|
|
318
|
+
Ue({ elementRef: Je, callback: Xt, attr: "width" });
|
|
319
319
|
const he = d(0), Pt = Se((t) => {
|
|
320
320
|
t !== he.value && (he.value = t);
|
|
321
321
|
}, 100);
|
|
322
322
|
Ue({ elementRef: Fe, callback: Pt, attr: "height" }), ft(() => {
|
|
323
323
|
re.value = 0, le.value = 0, he.value = 0;
|
|
324
324
|
});
|
|
325
|
-
const r = b(() => Math.min(
|
|
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;
|
|
327
327
|
e.value.style.legend.show && (t = e.value.style.legend.width);
|
|
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 =
|
|
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 =
|
|
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
333
|
height: Math.max(3, h / (k.value.length ?? 1))
|
|
334
334
|
};
|
|
@@ -339,7 +339,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
339
339
|
height: h,
|
|
340
340
|
left: s.left + le.value + c / 2,
|
|
341
341
|
right: s.right - t,
|
|
342
|
-
bottom:
|
|
342
|
+
bottom: B.value.height - s.bottom - he.value,
|
|
343
343
|
width: G,
|
|
344
344
|
cellSize: _
|
|
345
345
|
};
|
|
@@ -425,7 +425,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
425
425
|
}
|
|
426
426
|
const R = d(null), xe = d(null);
|
|
427
427
|
function jt(t, s, a, o) {
|
|
428
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: s }),
|
|
428
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: s }), M.value = { x: a, y: o };
|
|
429
429
|
const { value: v, yAxisName: c, xAxisName: w, id: G } = t;
|
|
430
430
|
Ge.value = G, R.value = v, xe.value = {
|
|
431
431
|
datapoint: t,
|
|
@@ -458,7 +458,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
458
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
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), ne.value = !1, Ge.value = void 0, R.value = null,
|
|
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;
|
|
462
462
|
}
|
|
463
463
|
function Kt(t) {
|
|
464
464
|
return K(
|
|
@@ -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,15 +519,15 @@ 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 } = {}) {
|
|
529
529
|
if (!$.value) return;
|
|
530
|
-
const { width: s, height: a } = $.value.getBoundingClientRect(), o = s / a, { imageUri: v, base64: c } = await
|
|
530
|
+
const { width: s, height: a } = $.value.getBoundingClientRect(), o = s / a, { imageUri: v, base64: c } = await Bl({ domElement: $.value, base64: !0, img: !0, scale: t });
|
|
531
531
|
return {
|
|
532
532
|
imageUri: v,
|
|
533
533
|
base64: c,
|
|
@@ -604,7 +604,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
604
604
|
E.value.showTable = !1, ze.value && ze.value.setTableIconState(!1);
|
|
605
605
|
}
|
|
606
606
|
const ll = b(() => e.value.style.backgroundColor), al = b(() => e.value.style.title), { exportSvg: ol, getSvg: sl } = zl({
|
|
607
|
-
svg:
|
|
607
|
+
svg: Be,
|
|
608
608
|
title: al,
|
|
609
609
|
backgroundColor: ll
|
|
610
610
|
});
|
|
@@ -616,7 +616,7 @@ 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,
|
|
@@ -637,7 +637,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
637
637
|
}, [
|
|
638
638
|
e.value.userOptions.buttons.annotator ? (u(), be(n(D), {
|
|
639
639
|
key: 0,
|
|
640
|
-
svgRef: n(
|
|
640
|
+
svgRef: n(Be),
|
|
641
641
|
backgroundColor: e.value.style.backgroundColor,
|
|
642
642
|
color: e.value.style.color,
|
|
643
643
|
active: Ce.value,
|
|
@@ -676,7 +676,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
676
676
|
ref: qe,
|
|
677
677
|
style: "width:100%;background:transparent"
|
|
678
678
|
}, [
|
|
679
|
-
(u(), be(
|
|
679
|
+
(u(), be(Ml, {
|
|
680
680
|
key: `title_${je.value}`,
|
|
681
681
|
config: {
|
|
682
682
|
title: {
|
|
@@ -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}`,
|
|
@@ -725,7 +725,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
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 ? {
|
|
@@ -800,10 +800,10 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
800
800
|
}, [
|
|
801
801
|
(u(), i("svg", {
|
|
802
802
|
ref_key: "svgRef",
|
|
803
|
-
ref:
|
|
803
|
+
ref: Be,
|
|
804
804
|
xmlns: n(pl),
|
|
805
805
|
class: ge({ "vue-data-ui-fullscreen--on": se.value, "vue-data-ui-fulscreen--off": !se.value }),
|
|
806
|
-
viewBox: `0 0 ${
|
|
806
|
+
viewBox: `0 0 ${B.value.width} ${B.value.height}`,
|
|
807
807
|
width: "100%",
|
|
808
808
|
style: L(`overflow: visible; background:transparent;color:${e.value.style.color}`),
|
|
809
809
|
"aria-live": "polite",
|
|
@@ -826,11 +826,11 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
826
826
|
e.value.style.layout.cells.columnTotal.color.show ? (u(), i("g", {
|
|
827
827
|
key: 1,
|
|
828
828
|
ref_key: "xAxisSumRects",
|
|
829
|
-
ref:
|
|
829
|
+
ref: Bt
|
|
830
830
|
}, [
|
|
831
831
|
(u(!0), i(z, null, P(p.value.xTotals, (a, o) => (u(), i("rect", {
|
|
832
832
|
x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
|
|
833
|
-
y: l.value.top - l.value.sumCellXHeight + r.value * (
|
|
833
|
+
y: l.value.top - l.value.sumCellXHeight + r.value * (B.value.height / B.value.width),
|
|
834
834
|
height: l.value.sumCellXHeight,
|
|
835
835
|
width: l.value.cellSize.width - r.value,
|
|
836
836
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
@@ -839,7 +839,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
839
839
|
}, null, 8, Il))), 256)),
|
|
840
840
|
(u(!0), i(z, null, P(p.value.xTotals, (a, o) => (u(), i("rect", {
|
|
841
841
|
x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
|
|
842
|
-
y: l.value.top - l.value.sumCellXHeight + r.value * (
|
|
842
|
+
y: l.value.top - l.value.sumCellXHeight + r.value * (B.value.height / B.value.width),
|
|
843
843
|
height: l.value.sumCellXHeight,
|
|
844
844
|
width: l.value.cellSize.width - r.value,
|
|
845
845
|
fill: a.color,
|
|
@@ -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,13 +993,13 @@ 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
|
-
|
|
998
|
+
M.value ? (u(), i("g", Zl, [
|
|
999
999
|
g("rect", {
|
|
1000
1000
|
style: { "pointer-events": "none" },
|
|
1001
|
-
x:
|
|
1002
|
-
y:
|
|
1001
|
+
x: M.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
|
|
1002
|
+
y: M.value.y - e.value.style.layout.cells.selected.border / 2 + r.value,
|
|
1003
1003
|
width: l.value.cellSize.width - r.value + e.value.style.layout.cells.selected.border - r.value,
|
|
1004
1004
|
height: l.value.cellSize.height - r.value + e.value.style.layout.cells.selected.border - r.value,
|
|
1005
1005
|
fill: "transparent",
|
|
@@ -1008,21 +1008,21 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1008
1008
|
rx: 1
|
|
1009
1009
|
}, null, 8, ea)
|
|
1010
1010
|
])) : f("", !0),
|
|
1011
|
-
e.value.style.layout.crosshairs.show &&
|
|
1011
|
+
e.value.style.layout.crosshairs.show && M.value ? (u(), i("g", ta, [
|
|
1012
1012
|
g("line", {
|
|
1013
1013
|
x1: l.value.left + l.value.sumCellXHeight,
|
|
1014
|
-
x2:
|
|
1015
|
-
y1:
|
|
1016
|
-
y2:
|
|
1014
|
+
x2: M.value.x + l.value.sumCellXHeight,
|
|
1015
|
+
y1: M.value.y + (l.value.cellSize.height - r.value) / 2,
|
|
1016
|
+
y2: M.value.y + (l.value.cellSize.height - r.value) / 2,
|
|
1017
1017
|
stroke: e.value.style.layout.crosshairs.stroke,
|
|
1018
1018
|
"stroke-width": e.value.style.layout.crosshairs.strokeWidth,
|
|
1019
1019
|
"stroke-dasharray": e.value.style.layout.crosshairs.strokeDasharray,
|
|
1020
1020
|
"stroke-linecap": "round"
|
|
1021
1021
|
}, null, 8, la),
|
|
1022
1022
|
g("line", {
|
|
1023
|
-
x1:
|
|
1024
|
-
x2:
|
|
1025
|
-
y1:
|
|
1023
|
+
x1: M.value.x + l.value.sumCellXHeight + (l.value.cellSize.width - r.value) / 2,
|
|
1024
|
+
x2: M.value.x + l.value.sumCellXHeight + (l.value.cellSize.width - r.value) / 2,
|
|
1025
|
+
y1: M.value.y,
|
|
1026
1026
|
y2: l.value.top,
|
|
1027
1027
|
stroke: e.value.style.layout.crosshairs.stroke,
|
|
1028
1028
|
"stroke-width": e.value.style.layout.crosshairs.strokeWidth,
|
|
@@ -1030,7 +1030,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1030
1030
|
"stroke-linecap": "round"
|
|
1031
1031
|
}, null, 8, aa)
|
|
1032
1032
|
])) : f("", !0),
|
|
1033
|
-
x(t.$slots, "svg", { svg:
|
|
1033
|
+
x(t.$slots, "svg", { svg: B.value }, void 0, !0)
|
|
1034
1034
|
], 14, Xl)),
|
|
1035
1035
|
e.value.style.legend.show ? (u(), i("div", {
|
|
1036
1036
|
key: 0,
|
|
@@ -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)
|
|
@@ -1188,7 +1188,7 @@ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"]
|
|
|
1188
1188
|
onClick: He,
|
|
1189
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
|
|
@@ -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,12 +1271,12 @@ 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(ha, [["__scopeId", "data-v-9f255c51"]]),
|
|
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" }));
|
|
1278
1278
|
export {
|
|
1279
1279
|
Oa as a,
|
|
1280
|
-
|
|
1280
|
+
Ba as b,
|
|
1281
1281
|
fa as v
|
|
1282
1282
|
};
|