vue-data-ui 3.3.2 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DLi6NnGD.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-yAMEyP6y.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-By4rru90.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-DyDViSOy.js} +1 -1
- package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BceHSLHf.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-Znzt0gSE.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-Camz1Lce.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-VOcQEHa4.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CSja1SGU.js → UserOptions-C0YT60JN.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-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-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-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-DxyZSvDx.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-J2dLIr8Y.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CEjkWSLj.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-anN8VbM7.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-D7Tgakts.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
- package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-BGzYbrts.js} +62 -55
- package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
- package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
- package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
- package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
- package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-YYE07iRP.js} +35 -35
- package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-BRSqhjxm.js} +47 -47
- package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
- package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-Yw81BFf2.js} +189 -189
- package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-k3xCwZYv.js} +145 -138
- package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-DMPndU1O.js} +82 -75
- package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-D-W3VQTv.js} +75 -75
- package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
- package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
- package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-APtv_CvA.js} +58 -58
- package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
- package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-BBdrkhmg.js} +465 -435
- package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-DL5ioFH4.js} +115 -108
- package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
- package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
- package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
- package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DbanwrFr.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +88 -81
- package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
- package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-C4Uc3DRH.js} +280 -273
- package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
- package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
- package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B1T10gWF.js} +118 -111
- package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-G0bYxlue.js} +50 -50
- package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-DqZwonPL.js} +100 -100
- package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
- package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
- package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
- package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
- package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
- package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-CA4GL9dj.js} +144 -137
- package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-BAbQsJGk.js} +18 -18
- package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
- package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
- package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-Cj677c6_.js} +29 -29
- package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
- package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
- package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
- package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-C39XL2GH.js} +68 -68
- package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
- package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Dlp9LghX.js} +35 -35
- package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-BS8BCZJ3.js} +6 -6
- package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/package.json +1 -1
- package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
- package/dist/vue-ui-candlestick-x9U5Ni0N.js +0 -1066
- package/dist/vue-ui-stackbar-DIUil9DO.js +0 -1442
- package/dist/vue-ui-xy-canvas-BQKR36bd.js +0 -1305
- package/dist/vue-ui-xy-tWE4H5ij.js +0 -4520
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as ee, useSlots as Kt, onMounted as bt, computed as m, ref as y, shallowRef as
|
|
2
|
-
import { c as Te, t as ol, b as al, p as I, e as nl, o as Ct, f as sl, h as de, a as xe, d as he, X as ul,
|
|
1
|
+
import { defineAsyncComponent as ee, useSlots as Kt, onMounted as bt, computed as m, ref as y, shallowRef as H, toRefs as Jt, watch as ke, onBeforeUnmount as Qt, createElementBlock as b, openBlock as h, unref as d, normalizeStyle as R, normalizeClass as Me, createBlock as Z, createCommentVNode as O, createElementVNode as _, createVNode as we, createSlots as kt, withCtx as T, renderSlot as C, normalizeProps as te, guardReactiveProps as le, Fragment as Ce, renderList as Ve, withKeys as wt, withModifiers as Ee, mergeProps as He, createTextVNode as $e, toDisplayString as se, Teleport as el, resolveDynamicComponent as tl, nextTick as ll } from "vue";
|
|
2
|
+
import { c as Te, t as ol, b as al, p as I, e as nl, o as Ct, f as sl, h as de, a as xe, d as he, X as ul, S as $t, J as Tt, G as xt, P as rl, Q as il, H as cl } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as vl, u as dl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as hl, a as Ot } from "./useNestedProp-
|
|
4
|
+
import { u as hl, a as Ot } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as pl, B as fl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as gl } from "./usePrinter-
|
|
6
|
+
import { u as gl } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as ml } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as yl } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import bl from "./img-
|
|
10
|
-
import kl from "./Title-
|
|
9
|
+
import bl from "./img-CFY3JivG.js";
|
|
10
|
+
import kl from "./Title-CFmv95In.js";
|
|
11
11
|
import { t as wl } from "./themes-Dw-dDudK.js";
|
|
12
|
-
import Cl from "./Legend-
|
|
13
|
-
import _t from "./BaseIcon-
|
|
12
|
+
import Cl from "./Legend-C8u37J42.js";
|
|
13
|
+
import _t from "./BaseIcon-B5KaGWWC.js";
|
|
14
14
|
import { u as $l } from "./useSvgExport-DrjCWun4.js";
|
|
15
15
|
import { _ as Tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
function St(n, r) {
|
|
@@ -69,15 +69,15 @@ function Sl(n) {
|
|
|
69
69
|
return (n.x1 - n.x0) * (n.y1 - n.y0);
|
|
70
70
|
}
|
|
71
71
|
function It(n, r) {
|
|
72
|
-
const { width: s, height: i, xOffset: u, yOffset: p } =
|
|
73
|
-
let
|
|
72
|
+
const { width: s, height: i, xOffset: u, yOffset: p } = Ue(r), v = n.length, g = n.map((w) => w.normalizedValue || 0).reduce((w, F) => w + F, 0), f = g / i, U = g / s;
|
|
73
|
+
let L = u, k = p;
|
|
74
74
|
const $ = [];
|
|
75
75
|
if (s >= i) {
|
|
76
76
|
for (let w = 0; w < v; w += 1) {
|
|
77
77
|
const F = n[w], M = k + F.normalizedValue / f, S = {
|
|
78
|
-
x0:
|
|
78
|
+
x0: L,
|
|
79
79
|
y0: k,
|
|
80
|
-
x1:
|
|
80
|
+
x1: L + f,
|
|
81
81
|
y1: M
|
|
82
82
|
}, N = Object.assign({}, F, S);
|
|
83
83
|
k = M, $.push(N);
|
|
@@ -85,23 +85,23 @@ function It(n, r) {
|
|
|
85
85
|
return $;
|
|
86
86
|
} else {
|
|
87
87
|
for (let w = 0; w < v; w += 1) {
|
|
88
|
-
const F = n[w], M =
|
|
89
|
-
x0:
|
|
88
|
+
const F = n[w], M = L + F.normalizedValue / U, S = {
|
|
89
|
+
x0: L,
|
|
90
90
|
y0: k,
|
|
91
91
|
x1: M,
|
|
92
|
-
y1: k +
|
|
92
|
+
y1: k + U
|
|
93
93
|
}, N = Object.assign({}, F, S);
|
|
94
|
-
|
|
94
|
+
L = M, $.push(N);
|
|
95
95
|
}
|
|
96
96
|
return $;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
function Al(n) {
|
|
100
|
-
const r =
|
|
100
|
+
const r = Ue(n), s = r.width, i = r.height;
|
|
101
101
|
return Math.min(s, i);
|
|
102
102
|
}
|
|
103
103
|
function Il(n, r) {
|
|
104
|
-
const s = n.length, i = n.map((f) => f.value ?? 0).reduce((f,
|
|
104
|
+
const s = n.length, i = n.map((f) => f.value ?? 0).reduce((f, U) => f + U, 0), u = r / i, p = [];
|
|
105
105
|
let v, g;
|
|
106
106
|
for (let f = 0; f < s; f += 1)
|
|
107
107
|
g = n[f], v = Object.assign({}, g, {
|
|
@@ -109,7 +109,7 @@ function Il(n, r) {
|
|
|
109
109
|
}), p.push(v);
|
|
110
110
|
return p;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Ue(n) {
|
|
113
113
|
const { x0: r, y0: s, x1: i, y1: u } = n;
|
|
114
114
|
return {
|
|
115
115
|
xOffset: r,
|
|
@@ -126,9 +126,9 @@ function Fl(n, r, s, i) {
|
|
|
126
126
|
const $ = It(p, v);
|
|
127
127
|
return g.concat($);
|
|
128
128
|
}
|
|
129
|
-
const
|
|
130
|
-
if (xl(p,
|
|
131
|
-
const $ = p.concat(
|
|
129
|
+
const U = Al(v), L = u[0], k = u.slice(1, f);
|
|
130
|
+
if (xl(p, L, U)) {
|
|
131
|
+
const $ = p.concat(L);
|
|
132
132
|
u = k, p = $, v = v, g = g;
|
|
133
133
|
} else {
|
|
134
134
|
const $ = p.length;
|
|
@@ -154,7 +154,7 @@ function Ft(n) {
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
function Dl(n, r) {
|
|
157
|
-
const { width: s, height: i, xOffset: u, yOffset: p } =
|
|
157
|
+
const { width: s, height: i, xOffset: u, yOffset: p } = Ue(n);
|
|
158
158
|
if (s >= i) {
|
|
159
159
|
const v = r / i, g = s - v, f = {
|
|
160
160
|
xOffset: u + v,
|
|
@@ -173,13 +173,13 @@ function Dl(n, r) {
|
|
|
173
173
|
return At(f);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
const Nl = ["id"],
|
|
176
|
+
const Nl = ["id"], Pl = ["id"], Rl = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], Ll = { class: "vue-ui-treemap-crumb-unit" }, zl = { class: "vue-ui-treemap-crumb-unit-label" }, Bl = {
|
|
177
177
|
key: 0,
|
|
178
178
|
style: { width: "24px", display: "flex", "align-items": "center" }
|
|
179
179
|
}, Ml = {
|
|
180
180
|
key: 0,
|
|
181
181
|
class: "vue-ui-treemap-crumb-unit-arrow"
|
|
182
|
-
}, Vl = ["xmlns", "viewBox"], El = { key: 0 },
|
|
182
|
+
}, Vl = ["xmlns", "viewBox"], El = { key: 0 }, Hl = ["id"], Ul = ["stop-color"], Wl = ["stop-color"], Gl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter", "onMouseleave"], Xl = ["x", "y", "height", "width"], ql = {
|
|
183
183
|
key: 5,
|
|
184
184
|
class: "vue-data-ui-watermark"
|
|
185
185
|
}, Yl = ["id"], jl = ["onClick"], Zl = ["innerHTML"], Kl = {
|
|
@@ -200,14 +200,14 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
200
200
|
},
|
|
201
201
|
emits: ["selectLegend", "selectDatapoint"],
|
|
202
202
|
setup(n, { expose: r, emit: s }) {
|
|
203
|
-
const i = ee(() => import("./DataTable-
|
|
203
|
+
const i = ee(() => import("./DataTable-DOx3zgih.js")), u = ee(() => import("./PenAndPaper-Dj2diYr0.js")), p = ee(() => import("./vue-ui-accordion-BKkTS12x.js")), v = ee(() => import("./Tooltip-Cs4v8OnI.js")), g = ee(() => import("./UserOptions-C0YT60JN.js")), f = ee(() => import("./PackageVersion-DyDViSOy.js")), U = ee(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_treemap: L } = hl(), k = n, $ = s, w = Kt();
|
|
204
204
|
bt(() => {
|
|
205
205
|
w["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
|
|
206
206
|
});
|
|
207
|
-
const F = m(() => !!k.dataset && k.dataset.length), M = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), S = y(Te()), N = y(!1), Oe = y(""), K = y(!1), We = y(0), z = y([]), V =
|
|
207
|
+
const F = m(() => !!k.dataset && k.dataset.length), M = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), S = y(Te()), N = y(!1), Oe = y(""), K = y(!1), We = y(0), z = y([]), V = H(null), Ge = H(null), Xe = H(null), qe = H(null), Ye = H(null), je = y(0), _e = y(0), Se = y(0), x = y([]), Ae = y(null), Ze = y(!1), ue = y(null), Ie = y(null), e = y(Pe()), { loading: re, FINAL_DATASET: Fe, manualLoading: Dt } = pl({
|
|
208
208
|
...Jt(k),
|
|
209
209
|
FINAL_CONFIG: e,
|
|
210
|
-
prepareConfig:
|
|
210
|
+
prepareConfig: Pe,
|
|
211
211
|
skeletonDataset: [
|
|
212
212
|
{
|
|
213
213
|
name: "_",
|
|
@@ -247,10 +247,10 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
247
247
|
}
|
|
248
248
|
})
|
|
249
249
|
}), { userOptionsVisible: De, setUserOptionsVisibility: Ke, keepUserOptionState: Je } = ml({ config: e.value }), { svgRef: Ne } = yl({ config: e.value.style.chart.title });
|
|
250
|
-
function
|
|
250
|
+
function Pe() {
|
|
251
251
|
const t = Ot({
|
|
252
252
|
userConfig: k.config,
|
|
253
|
-
defaultConfig:
|
|
253
|
+
defaultConfig: L
|
|
254
254
|
});
|
|
255
255
|
return t.theme ? {
|
|
256
256
|
...Ot({
|
|
@@ -261,7 +261,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
261
261
|
} : t;
|
|
262
262
|
}
|
|
263
263
|
ke(() => k.config, (t) => {
|
|
264
|
-
re.value || (e.value =
|
|
264
|
+
re.value || (e.value = Pe()), De.value = !e.value.userOptions.showOnChartHover, je.value += 1, _e.value += 1, Se.value += 1, D.value.showTable = e.value.table.show, D.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
265
265
|
}, { deep: !0 });
|
|
266
266
|
const { isPrinting: Qe, isImaging: et, generatePdf: tt, generateImage: lt } = gl({
|
|
267
267
|
elementId: `treemap_${S.value}`,
|
|
@@ -289,7 +289,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
289
289
|
vbHeight: W.value.height,
|
|
290
290
|
vbWidth: W.value.width,
|
|
291
291
|
width: W.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right
|
|
292
|
-
})),
|
|
292
|
+
})), P = y(Fe.value), G = y(P.value), ot = H(/* @__PURE__ */ new Map());
|
|
293
293
|
function at(t) {
|
|
294
294
|
Array.isArray(t) && t.forEach((o, l) => {
|
|
295
295
|
o.id || (o.id = Te());
|
|
@@ -302,9 +302,9 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
302
302
|
l.id || (l.id = Te()), l.parentId = t.id, l.color = o, nt(l, o);
|
|
303
303
|
});
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function Pt() {
|
|
306
306
|
if (!x.value.length)
|
|
307
|
-
G.value =
|
|
307
|
+
G.value = P.value.slice();
|
|
308
308
|
else {
|
|
309
309
|
const t = x.value[x.value.length - 1], o = Y(t);
|
|
310
310
|
G.value = o?.children?.slice() || [];
|
|
@@ -313,21 +313,21 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
313
313
|
ke(
|
|
314
314
|
() => Fe.value,
|
|
315
315
|
() => {
|
|
316
|
-
|
|
316
|
+
P.value = Fe.value, at(P.value), Pt(), Se.value += 1, _e.value += 1;
|
|
317
317
|
},
|
|
318
318
|
{ deep: !0, immediate: !0, flush: "post" }
|
|
319
319
|
);
|
|
320
|
-
const X =
|
|
320
|
+
const X = H(null), oe = H(null);
|
|
321
321
|
bt(() => {
|
|
322
|
-
Ze.value = !0,
|
|
322
|
+
Ze.value = !0, Lt();
|
|
323
323
|
});
|
|
324
|
-
const
|
|
325
|
-
function
|
|
324
|
+
const Rt = m(() => e.value.debug);
|
|
325
|
+
function Lt() {
|
|
326
326
|
if (Ct(k.dataset) && sl({
|
|
327
327
|
componentName: "VueUiTreemap",
|
|
328
328
|
type: "dataset",
|
|
329
|
-
debug:
|
|
330
|
-
}), at(
|
|
329
|
+
debug: Rt.value
|
|
330
|
+
}), at(P.value), Ct(k.dataset) || (Dt.value = e.value.loading), e.value.responsive) {
|
|
331
331
|
const t = vl(() => {
|
|
332
332
|
const { width: o, height: l } = dl({
|
|
333
333
|
chart: V.value,
|
|
@@ -349,7 +349,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
349
349
|
const ie = m(() => G.value.map((t, o) => ({
|
|
350
350
|
...t,
|
|
351
351
|
color: de(t.color) || pe.value[o] || I[o] || I[o % I.length]
|
|
352
|
-
})).filter((t) => !z.value.includes(t.id))), ae = m(() =>
|
|
352
|
+
})).filter((t) => !z.value.includes(t.id))), ae = m(() => P.value.filter((t) => !z.value.includes(t.id)).map((t) => t.value || 0).reduce((t, o) => t + o, 0)), st = m({
|
|
353
353
|
get() {
|
|
354
354
|
let t = [...ie.value];
|
|
355
355
|
return e.value.style.chart.layout.sorted && (t = [...ie.value].sort((o, l) => l.value - o.value)), t.map((o) => ({
|
|
@@ -414,7 +414,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
414
414
|
height: J.value.vbHeight - t
|
|
415
415
|
};
|
|
416
416
|
});
|
|
417
|
-
function Y(t, o =
|
|
417
|
+
function Y(t, o = P.value) {
|
|
418
418
|
for (const l of o) {
|
|
419
419
|
if (l.id === t)
|
|
420
420
|
return l;
|
|
@@ -429,7 +429,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
429
429
|
const Q = m(() => x.value.length > 0);
|
|
430
430
|
function fe(t, o) {
|
|
431
431
|
if (!t) {
|
|
432
|
-
G.value =
|
|
432
|
+
G.value = P.value.slice(), $("selectDatapoint", void 0), x.value = [];
|
|
433
433
|
return;
|
|
434
434
|
}
|
|
435
435
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
|
|
@@ -447,7 +447,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
447
447
|
const c = Y(a);
|
|
448
448
|
G.value = c.children.slice();
|
|
449
449
|
} else
|
|
450
|
-
G.value =
|
|
450
|
+
G.value = P.value.slice(), x.value = [], $("selectDatapoint", void 0);
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
function Bt(t) {
|
|
@@ -470,12 +470,12 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
470
470
|
});
|
|
471
471
|
}
|
|
472
472
|
return t;
|
|
473
|
-
}), B =
|
|
473
|
+
}), B = H(null), Re = m(() => P.value.map((t, o) => ({
|
|
474
474
|
...t,
|
|
475
475
|
color: de(t.color) || pe.value[o] || I[o] || I[o % I.length],
|
|
476
476
|
shape: "square"
|
|
477
477
|
})).sort((t, o) => o.value - t.value).map((t, o) => {
|
|
478
|
-
const l = t.value /
|
|
478
|
+
const l = t.value / P.value.map((a) => a.value).reduce((a, c) => a + c, 0);
|
|
479
479
|
return {
|
|
480
480
|
...t,
|
|
481
481
|
proportion: l,
|
|
@@ -506,9 +506,9 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
506
506
|
function Vt({ datapoint: t, seriesIndex: o }) {
|
|
507
507
|
B.value = null, N.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
|
|
508
508
|
}
|
|
509
|
-
const
|
|
509
|
+
const Le = y(null);
|
|
510
510
|
function Et({ datapoint: t, seriesIndex: o }) {
|
|
511
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), B.value = t,
|
|
511
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), B.value = t, Le.value = { datapoint: t, seriesIndex: o, config: e.value, series: ie.value };
|
|
512
512
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
513
513
|
if (xt(l) && cl(() => l({
|
|
514
514
|
seriesIndex: o,
|
|
@@ -605,7 +605,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
605
605
|
config: l
|
|
606
606
|
};
|
|
607
607
|
});
|
|
608
|
-
function
|
|
608
|
+
function Ht() {
|
|
609
609
|
return ce.value;
|
|
610
610
|
}
|
|
611
611
|
function ht() {
|
|
@@ -625,7 +625,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
625
625
|
function gt() {
|
|
626
626
|
ye.value = null;
|
|
627
627
|
}
|
|
628
|
-
async function
|
|
628
|
+
async function Ut({ scale: t = 2 } = {}) {
|
|
629
629
|
if (!V.value) return;
|
|
630
630
|
const { width: o, height: l } = V.value.getBoundingClientRect(), a = o / l, { imageUri: c, base64: A } = await bl({ domElement: V.value, base64: !0, img: !0, scale: t });
|
|
631
631
|
return {
|
|
@@ -640,7 +640,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
640
640
|
const ve = m(() => {
|
|
641
641
|
const t = e.value.table.useDialog && !e.value.table.show, o = D.value.showTable;
|
|
642
642
|
return {
|
|
643
|
-
component: t ?
|
|
643
|
+
component: t ? U : p,
|
|
644
644
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
645
645
|
props: t ? {
|
|
646
646
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -673,7 +673,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
673
673
|
function mt() {
|
|
674
674
|
D.value.showTable = !1, Ie.value && Ie.value.setTableIconState(!1);
|
|
675
675
|
}
|
|
676
|
-
const Wt = m(() =>
|
|
676
|
+
const Wt = m(() => Re.value.map((t) => ({
|
|
677
677
|
...t,
|
|
678
678
|
name: t.display
|
|
679
679
|
}))), Gt = m(() => e.value.style.chart.backgroundColor), Xt = m(() => e.value.style.chart.legend), qt = m(() => e.value.style.chart.title), { exportSvg: Yt, getSvg: jt } = $l({
|
|
@@ -691,8 +691,8 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
691
691
|
Yt();
|
|
692
692
|
}
|
|
693
693
|
return r({
|
|
694
|
-
getData:
|
|
695
|
-
getImage:
|
|
694
|
+
getData: Ht,
|
|
695
|
+
getImage: Ut,
|
|
696
696
|
generateCsv: ze,
|
|
697
697
|
generateImage: lt,
|
|
698
698
|
generateSvg: yt,
|
|
@@ -705,7 +705,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
705
705
|
ref_key: "treemapChart",
|
|
706
706
|
ref: V,
|
|
707
707
|
class: Me(`vue-data-ui-component vue-ui-treemap ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
708
|
-
style:
|
|
708
|
+
style: R(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
709
709
|
id: `treemap_${S.value}`,
|
|
710
710
|
onMouseenter: o[2] || (o[2] = () => d(Ke)(!0)),
|
|
711
711
|
onMouseleave: o[3] || (o[3] = () => d(Ke)(!1))
|
|
@@ -729,7 +729,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
729
729
|
key: 2,
|
|
730
730
|
ref_key: "chartTitle",
|
|
731
731
|
ref: Ge,
|
|
732
|
-
style:
|
|
732
|
+
style: R(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:6px`)
|
|
733
733
|
}, [
|
|
734
734
|
(h(), Z(kl, {
|
|
735
735
|
key: `title_${je.value}`,
|
|
@@ -747,7 +747,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
747
747
|
], 4)) : O("", !0),
|
|
748
748
|
_("div", {
|
|
749
749
|
id: `legend-top-${S.value}`
|
|
750
|
-
}, null, 8,
|
|
750
|
+
}, null, 8, Pl),
|
|
751
751
|
e.value.userOptions.show && F.value && (d(Je) || d(De)) ? (h(), Z(d(g), {
|
|
752
752
|
ref_key: "userOptionsRef",
|
|
753
753
|
ref: Ie,
|
|
@@ -782,7 +782,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
782
782
|
onToggleTable: ht,
|
|
783
783
|
onToggleTooltip: pt,
|
|
784
784
|
onToggleAnnotator: Be,
|
|
785
|
-
style:
|
|
785
|
+
style: R({
|
|
786
786
|
visibility: d(Je) ? d(De) ? "visible" : "hidden" : "visible"
|
|
787
787
|
})
|
|
788
788
|
}, kt({ _: 2 }, [
|
|
@@ -862,7 +862,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
862
862
|
],
|
|
863
863
|
class: "vue-ui-treemap-crumb",
|
|
864
864
|
"data-last-crumb": a === j.value.length - 1,
|
|
865
|
-
style:
|
|
865
|
+
style: R({
|
|
866
866
|
color: e.value.style.chart.color
|
|
867
867
|
}),
|
|
868
868
|
onMouseenter: (c) => ft(a),
|
|
@@ -870,9 +870,9 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
870
870
|
onFocus: (c) => ft(a),
|
|
871
871
|
onBlur: gt
|
|
872
872
|
}, [
|
|
873
|
-
_("span",
|
|
873
|
+
_("span", Ll, [
|
|
874
874
|
_("span", zl, [
|
|
875
|
-
C(t.$slots, "breadcrumb-label",
|
|
875
|
+
C(t.$slots, "breadcrumb-label", He({ ref_for: !0 }, { crumb: l, isRoot: a === 0, isFocus: ye.value === a }), () => [
|
|
876
876
|
a === 0 ? (h(), b("div", Bl, [
|
|
877
877
|
we(_t, {
|
|
878
878
|
name: ye.value === 0 ? "homeFilled" : "home",
|
|
@@ -889,7 +889,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
889
889
|
], !0)
|
|
890
890
|
])) : O("", !0)
|
|
891
891
|
])
|
|
892
|
-
], 44,
|
|
892
|
+
], 44, Rl))), 128))
|
|
893
893
|
], 512)) : O("", !0),
|
|
894
894
|
(h(), b("svg", {
|
|
895
895
|
ref_key: "svgRef",
|
|
@@ -897,7 +897,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
897
897
|
xmlns: d(ul),
|
|
898
898
|
class: Me({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value, "vue-data-ui-zoom-plus": !Q.value, "vue-data-ui-zoom-minus": Q.value, loading: d(re) }),
|
|
899
899
|
viewBox: `${ne.value.startX} ${ne.value.startY} ${ne.value.width <= 0 ? 10 : ne.value.width} ${ne.value.height <= 0 ? 10 : ne.value.height}`,
|
|
900
|
-
style:
|
|
900
|
+
style: R(`max-width:100%; overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
|
|
901
901
|
}, [
|
|
902
902
|
we(d(f)),
|
|
903
903
|
(h(!0), b(Ce, null, Ve(ce.value, (l, a) => (h(), b("g", {
|
|
@@ -911,12 +911,12 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
911
911
|
_("stop", {
|
|
912
912
|
offset: "18%",
|
|
913
913
|
"stop-color": l.color
|
|
914
|
-
}, null, 8,
|
|
914
|
+
}, null, 8, Ul),
|
|
915
915
|
_("stop", {
|
|
916
916
|
offset: "100%",
|
|
917
917
|
"stop-color": d($t)(l.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
|
|
918
918
|
}, null, 8, Wl)
|
|
919
|
-
], 8,
|
|
919
|
+
], 8, Hl)
|
|
920
920
|
])) : O("", !0)
|
|
921
921
|
]))), 128)),
|
|
922
922
|
(h(!0), b(Ce, null, Ve(ce.value, (l, a) => (h(), b("g", {
|
|
@@ -937,7 +937,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
937
937
|
seriesIndex: a
|
|
938
938
|
}),
|
|
939
939
|
onMouseleave: (c) => Vt({ datapoint: l, seriesIndex: a }),
|
|
940
|
-
style:
|
|
940
|
+
style: R(`opacity:${B.value ? B.value.id === l.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
|
|
941
941
|
class: Me([
|
|
942
942
|
"vue-ui-treemap-rect",
|
|
943
943
|
Bt(l) ? "vue-data-ui-zoom-plus" : Q.value ? "vue-data-ui-zoom-minus" : ""
|
|
@@ -951,7 +951,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
951
951
|
class: "vue-ui-treemap-cell-foreignObject"
|
|
952
952
|
}, [
|
|
953
953
|
_("div", {
|
|
954
|
-
style:
|
|
954
|
+
style: R({
|
|
955
955
|
width: `calc(100% - ${q(l) / 1.5}px)`,
|
|
956
956
|
height: `calc(100% - ${q(l) / 1.5}px)`,
|
|
957
957
|
padding: `${q(l) / 3}px`,
|
|
@@ -962,14 +962,14 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
962
962
|
e.value.style.chart.layout.labels.showDefaultLabels && (l.proportion > e.value.style.chart.layout.labels.hideUnderProportion || Q.value) ? (h(), b("div", {
|
|
963
963
|
key: 0,
|
|
964
964
|
class: "vue-ui-treemap-cell-default",
|
|
965
|
-
style:
|
|
965
|
+
style: R(`width:calc(100% - ${q(l) / 1.5}px);text-align:left; color:${d(Tt)(l.color)}`)
|
|
966
966
|
}, [
|
|
967
967
|
_("span", {
|
|
968
|
-
style:
|
|
968
|
+
style: R(`width:100%;font-size:${q(l)}px;`)
|
|
969
969
|
}, se(l.name), 5),
|
|
970
970
|
o[5] || (o[5] = _("br", null, null, -1)),
|
|
971
971
|
_("span", {
|
|
972
|
-
style:
|
|
972
|
+
style: R(`width:100%;font-size:${q(l)}px;`)
|
|
973
973
|
}, se(d(xe)(
|
|
974
974
|
e.value.style.chart.layout.labels.formatter,
|
|
975
975
|
l.value,
|
|
@@ -982,7 +982,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
982
982
|
{ datapoint: l }
|
|
983
983
|
)), 5)
|
|
984
984
|
], 4)) : O("", !0),
|
|
985
|
-
d(re) ? O("", !0) : C(t.$slots, "rect",
|
|
985
|
+
d(re) ? O("", !0) : C(t.$slots, "rect", He({
|
|
986
986
|
key: 1,
|
|
987
987
|
ref_for: !0
|
|
988
988
|
}, {
|
|
@@ -1013,7 +1013,7 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
1013
1013
|
}, [
|
|
1014
1014
|
e.value.style.chart.legend.show ? (h(), Z(Cl, {
|
|
1015
1015
|
key: `legend_${Se.value}`,
|
|
1016
|
-
legendSet:
|
|
1016
|
+
legendSet: Re.value,
|
|
1017
1017
|
config: Mt.value,
|
|
1018
1018
|
id: `treemap_legend_${S.value}`,
|
|
1019
1019
|
onClickMarker: o[0] || (o[0] = ({ legend: l }) => dt(l))
|
|
@@ -1022,13 +1022,13 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
1022
1022
|
d(re) ? O("", !0) : (h(), b("div", {
|
|
1023
1023
|
key: 0,
|
|
1024
1024
|
onClick: (c) => dt(l),
|
|
1025
|
-
style:
|
|
1025
|
+
style: R(`opacity:${z.value.includes(l.id) ? 0.5 : 1}`)
|
|
1026
1026
|
}, se(l.display), 13, jl))
|
|
1027
1027
|
]),
|
|
1028
1028
|
_: 1
|
|
1029
1029
|
}, 8, ["legendSet", "config", "id"])) : C(t.$slots, "legend", {
|
|
1030
1030
|
key: 1,
|
|
1031
|
-
legend:
|
|
1031
|
+
legend: Re.value
|
|
1032
1032
|
}, void 0, !0)
|
|
1033
1033
|
], 512)
|
|
1034
1034
|
], 8, ["to"])) : O("", !0),
|
|
@@ -1061,14 +1061,14 @@ const Nl = ["id"], Rl = ["id"], Ll = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
1061
1061
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1062
1062
|
}, {
|
|
1063
1063
|
"tooltip-before": T(() => [
|
|
1064
|
-
C(t.$slots, "tooltip-before", te(le({ ...
|
|
1064
|
+
C(t.$slots, "tooltip-before", te(le({ ...Le.value })), void 0, !0)
|
|
1065
1065
|
]),
|
|
1066
1066
|
"tooltip-after": T(() => [
|
|
1067
|
-
C(t.$slots, "tooltip-after", te(le({ ...
|
|
1067
|
+
C(t.$slots, "tooltip-after", te(le({ ...Le.value })), void 0, !0)
|
|
1068
1068
|
]),
|
|
1069
1069
|
_: 3
|
|
1070
1070
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1071
|
-
F.value && e.value.userOptions.buttons.table ? (h(), Z(tl(ve.value.component),
|
|
1071
|
+
F.value && e.value.userOptions.buttons.table ? (h(), Z(tl(ve.value.component), He({ key: 8 }, ve.value.props, {
|
|
1072
1072
|
ref_key: "tableUnit",
|
|
1073
1073
|
ref: ue,
|
|
1074
1074
|
onClose: mt
|