vue-data-ui 2.4.41 → 2.4.43
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/README.md +34 -34
- package/dist/{Arrow-6z0ZQva_.js → Arrow-BB6bdwAh.js} +1 -1
- package/dist/{Arrow-Cht76m69.cjs → Arrow-DGDnIooM.cjs} +1 -1
- package/dist/{BaseIcon-DCE3wRiG.js → BaseIcon-Cg6tqk_d.js} +1 -1
- package/dist/{BaseIcon-D-JUZiGA.cjs → BaseIcon-Cj2lO-KJ.cjs} +1 -1
- package/dist/{DataTable-Cr3Xkxe4.cjs → DataTable-DnaY4y8p.cjs} +1 -1
- package/dist/{DataTable-B5DiCrf_.js → DataTable-YQ5lDRtX.js} +2 -2
- package/dist/{Legend-DzxQIjDO.js → Legend-3DteuHjj.js} +1 -1
- package/dist/{Legend-BXG_XPom.cjs → Legend-BPogA3ac.cjs} +1 -1
- package/dist/{PackageVersion-CMtZxTqq.cjs → PackageVersion-CQ9hp4g5.cjs} +1 -1
- package/dist/{PackageVersion-S7OD_s5u.js → PackageVersion-CS8EAteX.js} +1 -1
- package/dist/{PenAndPaper-DWYhyZye.cjs → PenAndPaper-B1DxKWdn.cjs} +1 -1
- package/dist/{PenAndPaper-BxJZd7k9.js → PenAndPaper-D22t_fD9.js} +3 -3
- package/dist/{Shape-C3ywBhkW.js → Shape-7VxscoGH.js} +1 -1
- package/dist/{Shape-CvL90fNe.cjs → Shape-BIoU-M2b.cjs} +1 -1
- package/dist/Slicer-BcXvtaNe.js +423 -0
- package/dist/Slicer-C_1pd_Kh.cjs +1 -0
- package/dist/{Title-BB0O0yol.js → Title-DQcop8gI.js} +1 -1
- package/dist/{Title-D9gPXVTT.cjs → Title-DoxrpVfD.cjs} +1 -1
- package/dist/{Tooltip-GvLaModr.js → Tooltip-Dx07vASW.js} +33 -25
- package/dist/Tooltip-t5_yWU6c.cjs +1 -0
- package/dist/documentation/installation.md +34 -34
- package/dist/index-Ce0TFqvS.cjs +9 -0
- package/dist/{index-B6Q1Fyk0.js → index-CvhiHStv.js} +48 -42
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +6 -0
- package/dist/types/vue-data-ui.d.ts +6 -0
- package/dist/{useNestedProp-DQpuJSz3.js → useNestedProp-Ccre6tXM.js} +1 -1
- package/dist/{useNestedProp-bZitLnbb.cjs → useNestedProp-Dv81zO0o.cjs} +1 -1
- package/dist/{usePrinter-D8dIU7aG.js → usePrinter-BVA2_kNp.js} +1 -1
- package/dist/{usePrinter-DtpFEgOX.cjs → usePrinter-Dq9TRqqU.cjs} +1 -1
- package/dist/{vue-data-ui-H24TWcBx.js → vue-data-ui-CXGGUSE5.js} +60 -60
- package/dist/{vue-data-ui-DBN7iJHU.cjs → vue-data-ui-DBaa-Zm-.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +3 -3
- package/dist/{vue-ui-3d-bar-BaNI_M3v.cjs → vue-ui-3d-bar-B0eWYShT.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-BA2CQYGW.js → vue-ui-3d-bar-Bvyn0JAH.js} +9 -9
- package/dist/{vue-ui-accordion-u4xDSvRn.cjs → vue-ui-accordion-2oBs8M8G.cjs} +1 -1
- package/dist/{vue-ui-accordion-BOHicozd.js → vue-ui-accordion-CzsbGsxC.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DN25tjv-.cjs → vue-ui-age-pyramid-8dnWY_2V.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-vKWko9vn.js → vue-ui-age-pyramid-gy4b8534.js} +42 -41
- package/dist/{vue-ui-annotator-D4KNucw5.js → vue-ui-annotator-BOxVmY-t.js} +1 -1
- package/dist/{vue-ui-annotator-BcxUQ5tM.cjs → vue-ui-annotator-D4AFe-ds.cjs} +1 -1
- package/dist/{vue-ui-bullet-DZgtd_qb.js → vue-ui-bullet-CYRzrrdq.js} +15 -15
- package/dist/{vue-ui-bullet-C3DKTZbg.cjs → vue-ui-bullet-DS61aLmi.cjs} +1 -1
- package/dist/vue-ui-candlestick-CnMW4VI7.cjs +2 -0
- package/dist/vue-ui-candlestick-z1XCCmjs.js +740 -0
- package/dist/{vue-ui-carousel-table-Bpsrlbx9.js → vue-ui-carousel-table-Dusdq9C-.js} +4 -4
- package/dist/{vue-ui-carousel-table-C62szGjt.cjs → vue-ui-carousel-table-STfjKv04.cjs} +1 -1
- package/dist/{vue-ui-chestnut-VWwSZnUX.cjs → vue-ui-chestnut-CiOs7_Mn.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DhPSNM96.js → vue-ui-chestnut-xOUxz__4.js} +8 -8
- package/dist/{vue-ui-cursor-BM2OiZnZ.js → vue-ui-cursor-BAZcn7gS.js} +2 -2
- package/dist/{vue-ui-cursor-BwnZYB4D.cjs → vue-ui-cursor-CgulNaZF.cjs} +1 -1
- package/dist/{vue-ui-dashboard-D8FU1GbE.cjs → vue-ui-dashboard-B-e6E048.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BcnW7vDs.js → vue-ui-dashboard-CM5h0sJK.js} +2 -2
- package/dist/{vue-ui-digits-BmQBwho3.cjs → vue-ui-digits-DE-VUfnq.cjs} +1 -1
- package/dist/{vue-ui-digits-M4Pvrg0n.js → vue-ui-digits-DFYtiFpE.js} +2 -2
- package/dist/{vue-ui-donut-BgsQjURe.js → vue-ui-donut-B7WCvZ9X.js} +99 -98
- package/dist/{vue-ui-donut-CZZfvbPk.cjs → vue-ui-donut-Dh1MEQSX.cjs} +1 -1
- package/dist/vue-ui-donut-evolution-E8YRIlka.cjs +1 -0
- package/dist/vue-ui-donut-evolution-tseD-zkG.js +908 -0
- package/dist/{vue-ui-dumbbell-zv7yiPPM.js → vue-ui-dumbbell-CB-nTGSr.js} +10 -10
- package/dist/{vue-ui-dumbbell-CsMqgiGr.cjs → vue-ui-dumbbell-DoajPALb.cjs} +1 -1
- package/dist/{vue-ui-flow-E5MkZ3Yb.cjs → vue-ui-flow-DZo1e2BI.cjs} +1 -1
- package/dist/{vue-ui-flow-BqtIWBkz.js → vue-ui-flow-DgM7D7Kz.js} +46 -46
- package/dist/{vue-ui-funnel-CmVLAttG.js → vue-ui-funnel-Bae7zmv7.js} +19 -19
- package/dist/{vue-ui-funnel-QU0_JscL.cjs → vue-ui-funnel-FwQya4Js.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BPDH-9KW.cjs → vue-ui-galaxy-BmQPNy0t.cjs} +1 -1
- package/dist/{vue-ui-galaxy-sy8zvgcg.js → vue-ui-galaxy-C1hMuu_6.js} +53 -52
- package/dist/{vue-ui-gauge-D_yokJMS.cjs → vue-ui-gauge-4Gy_NFvq.cjs} +1 -1
- package/dist/{vue-ui-gauge--hARSvgz.js → vue-ui-gauge-CvUdCkBJ.js} +7 -7
- package/dist/{vue-ui-gizmo-CvTeq5j0.js → vue-ui-gizmo-B6t4exHM.js} +3 -3
- package/dist/{vue-ui-gizmo-AUJq3EQL.cjs → vue-ui-gizmo-F0ACp4Ym.cjs} +1 -1
- package/dist/{vue-ui-heatmap-lI8oO-nh.js → vue-ui-heatmap-CNptUmPc.js} +60 -59
- package/dist/{vue-ui-heatmap-D-xNLuqW.cjs → vue-ui-heatmap-DeLrr3m8.cjs} +1 -1
- package/dist/{vue-ui-history-plot-D3CwJpll.js → vue-ui-history-plot-DnVFjg0P.js} +60 -59
- package/dist/{vue-ui-history-plot-BC0Rvo-r.cjs → vue-ui-history-plot-iK6KKQTl.cjs} +1 -1
- package/dist/{vue-ui-kpi-C0agq-Os.js → vue-ui-kpi-BIb8GWpr.js} +3 -3
- package/dist/{vue-ui-kpi-B4FQKZ_r.cjs → vue-ui-kpi-BOLWEQ7j.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BJ70GAEv.cjs → vue-ui-mini-loader-dzvCTPe_.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CkjJ5pRO.js → vue-ui-mini-loader-vn8l58Co.js} +2 -2
- package/dist/{vue-ui-molecule-V9UFJHeV.js → vue-ui-molecule-BXVfvrYp.js} +26 -25
- package/dist/{vue-ui-molecule-CsQfkIEE.cjs → vue-ui-molecule-CztdOxnV.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CdU2vusL.cjs → vue-ui-mood-radar-COiSqYpY.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-Cj_wOEbY.js → vue-ui-mood-radar-FyUqJ_WI.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DFVQwbHg.js → vue-ui-nested-donuts-C3mVKHnx.js} +78 -77
- package/dist/{vue-ui-nested-donuts-DevV-xZr.cjs → vue-ui-nested-donuts-CyzGIcRn.cjs} +2 -2
- package/dist/{vue-ui-onion-BJ-PjA7d.js → vue-ui-onion-C3uZpdTX.js} +49 -48
- package/dist/{vue-ui-onion-DGWktnME.cjs → vue-ui-onion-PCbFeTBq.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-CjxZbVNa.cjs → vue-ui-parallel-coordinate-plot-BbyG3T_L.cjs} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-33naX1Ss.js → vue-ui-parallel-coordinate-plot-_nN05_KZ.js} +70 -69
- package/dist/{vue-ui-quadrant-xJaZzXgo.js → vue-ui-quadrant-CqcqhOTk.js} +55 -54
- package/dist/{vue-ui-quadrant-DqZqBb2L.cjs → vue-ui-quadrant-D48AnGwm.cjs} +1 -1
- package/dist/vue-ui-quick-chart-CUG-kf3L.cjs +15 -0
- package/dist/{vue-ui-quick-chart-BwN9eLye.js → vue-ui-quick-chart-CvhtEA16.js} +637 -622
- package/dist/{vue-ui-radar-CQ66YUG5.cjs → vue-ui-radar-CKq_4-3B.cjs} +1 -1
- package/dist/{vue-ui-radar-B4EXwJDY.js → vue-ui-radar-o4cmO82a.js} +38 -37
- package/dist/{vue-ui-rating-DNkygw1i.js → vue-ui-rating-CuBodH3C.js} +2 -2
- package/dist/{vue-ui-rating-D334I4ju.cjs → vue-ui-rating-DG1svxO9.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CP2Z6IWV.cjs → vue-ui-relation-circle-AXwyCjxM.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BKeSh28h.js → vue-ui-relation-circle-C--j7Q0q.js} +19 -19
- package/dist/{vue-ui-rings-D6M3UNSE.js → vue-ui-rings-DpVKPZCb.js} +49 -48
- package/dist/vue-ui-rings-fAvuiSZU.cjs +2 -0
- package/dist/{vue-ui-scatter-C9ZoWV1q.cjs → vue-ui-scatter-CHY2sxci.cjs} +1 -1
- package/dist/{vue-ui-scatter-JUPbbsO7.js → vue-ui-scatter-D_KsmIg_.js} +26 -25
- package/dist/{vue-ui-screenshot-JMBX_AWn.cjs → vue-ui-screenshot-Baj16IKL.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DmLDHfF9.js → vue-ui-screenshot-C21qDF26.js} +1 -1
- package/dist/{vue-ui-skeleton-E9_X0-sa.cjs → vue-ui-skeleton-BdbO4Bxt.cjs} +1 -1
- package/dist/{vue-ui-skeleton-D7rg5vFC.js → vue-ui-skeleton-p82n8dLi.js} +3 -3
- package/dist/{vue-ui-smiley-BAlHZm8H.js → vue-ui-smiley-DDBn_kg-.js} +2 -2
- package/dist/{vue-ui-smiley-aRTznf8z.cjs → vue-ui-smiley-DGdo7pOJ.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-J9swikF_.js → vue-ui-spark-trend-CM-XDvvj.js} +5 -5
- package/dist/{vue-ui-spark-trend-DZR6Fqu5.cjs → vue-ui-spark-trend-CyiYuOb3.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-B0tCpwZ9.js → vue-ui-sparkbar-BRWlzT5P.js} +4 -4
- package/dist/{vue-ui-sparkbar-Bjmi8pMf.cjs → vue-ui-sparkbar-Bi952P46.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DVX2pIC3.js → vue-ui-sparkgauge-BPcFMY0I.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dhzbkn67.cjs → vue-ui-sparkgauge-bhzDdT-A.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-gIaXDrFh.cjs → vue-ui-sparkhistogram-BdiA32Fs.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Wd6q0mqj.js → vue-ui-sparkhistogram-DAtbloqL.js} +5 -5
- package/dist/{vue-ui-sparkline-B5ySeM9y.cjs → vue-ui-sparkline-BXa0bOgm.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DYT-gts9.js → vue-ui-sparkline-CbnPVyxs.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-ilvB3RBv.cjs → vue-ui-sparkstackbar-BDupdTEm.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BMGA05VR.js → vue-ui-sparkstackbar-BdjWWadM.js} +5 -5
- package/dist/vue-ui-stackbar-CUXctt_2.js +1026 -0
- package/dist/vue-ui-stackbar-DvIG4zyP.cjs +6 -0
- package/dist/{vue-ui-strip-plot-DPo7osh_.cjs → vue-ui-strip-plot-C5r83jmv.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-B-r4luYX.js → vue-ui-strip-plot-lb-y68Hd.js} +71 -70
- package/dist/{vue-ui-table-wlXHwJVW.js → vue-ui-table-DFfsqpZU.js} +1 -1
- package/dist/{vue-ui-table-C6z56ODT.cjs → vue-ui-table-DgCMMvSx.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CM-c7n0F.js → vue-ui-table-heatmap-BiSTfmrM.js} +9 -9
- package/dist/{vue-ui-table-heatmap-B05GifSw.cjs → vue-ui-table-heatmap-jp5xDCCO.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Dx-ePVqW.cjs → vue-ui-table-sparkline-8itAuNdX.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DHaEHFG_.js → vue-ui-table-sparkline-B7sNio6G.js} +5 -5
- package/dist/{vue-ui-thermometer-HCpOZBHv.cjs → vue-ui-thermometer-CsY6PZxF.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BU_ckSdu.js → vue-ui-thermometer-Cvoq-NoB.js} +7 -7
- package/dist/{vue-ui-timer-CUChwyzF.cjs → vue-ui-timer-BBYru0Q7.cjs} +1 -1
- package/dist/{vue-ui-timer-DiRZ849L.js → vue-ui-timer-CKkmEEyh.js} +9 -9
- package/dist/{vue-ui-tiremarks-yoQtfbj7.cjs → vue-ui-tiremarks-CJyRAXGr.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BHMNb_tq.js → vue-ui-tiremarks-CVDQcr2f.js} +7 -7
- package/dist/{vue-ui-treemap-BInwLSes.cjs → vue-ui-treemap-BKA7MrUz.cjs} +1 -1
- package/dist/{vue-ui-treemap-BpD6OdL3.js → vue-ui-treemap-BLDOoQdk.js} +98 -97
- package/dist/{vue-ui-vertical-bar-hS4gzdKs.cjs → vue-ui-vertical-bar-BNZ-jiBi.cjs} +2 -2
- package/dist/{vue-ui-vertical-bar-CBNWMmCg.js → vue-ui-vertical-bar-DgluCuy7.js} +58 -57
- package/dist/{vue-ui-waffle-Cmq6zhD8.cjs → vue-ui-waffle-COGvHmU8.cjs} +1 -1
- package/dist/{vue-ui-waffle-BE8iTrGF.js → vue-ui-waffle-DOZ8DM_y.js} +79 -78
- package/dist/{vue-ui-wheel-BXSIBRLM.js → vue-ui-wheel-BiHGxIWR.js} +7 -7
- package/dist/{vue-ui-wheel-BT0mLxln.cjs → vue-ui-wheel-DrhwR-Z-.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-3wvSYRbp.js → vue-ui-word-cloud-CEfsjt8Y.js} +10 -10
- package/dist/{vue-ui-word-cloud-BXHlm41O.cjs → vue-ui-word-cloud-ClzpBDxZ.cjs} +1 -1
- package/dist/{vue-ui-xy-D8XvOgW6.js → vue-ui-xy-BU03SArU.js} +888 -837
- package/dist/vue-ui-xy-CO99Ia72.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-Cx7vPyfT.js → vue-ui-xy-canvas-D6xrOdYB.js} +378 -365
- package/dist/vue-ui-xy-canvas-lOb9PCZm.cjs +9 -0
- package/package.json +1 -1
- package/dist/Slicer-B2aHb4bj.cjs +0 -1
- package/dist/Slicer-D9ASV60L.js +0 -400
- package/dist/Tooltip-ypQtmi99.cjs +0 -1
- package/dist/index-B5Ugkauv.cjs +0 -9
- package/dist/vue-ui-candlestick-C8yBMu8-.js +0 -725
- package/dist/vue-ui-candlestick-DVEofXBZ.cjs +0 -2
- package/dist/vue-ui-donut-evolution-BO2-ARBX.js +0 -895
- package/dist/vue-ui-donut-evolution-DP14ctdf.cjs +0 -1
- package/dist/vue-ui-quick-chart-BzpXJYR_.cjs +0 -15
- package/dist/vue-ui-rings-2oDSTctd.cjs +0 -2
- package/dist/vue-ui-stackbar-BZKwsAjO.cjs +0 -6
- package/dist/vue-ui-stackbar-BZbOagnf.js +0 -947
- package/dist/vue-ui-xy-CfduqTWA.cjs +0 -3
- package/dist/vue-ui-xy-canvas-BTR-cL02.cjs +0 -9
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as st, c as Le, t as rt, a as ut, p as T, b as it, o as ct, e as dt, d as ae, i as ne, f as K, X as vt, l as Re,
|
|
3
|
-
import { _ as gt } from "./Title-
|
|
4
|
-
import { u as yt, U as mt } from "./usePrinter-
|
|
5
|
-
import { _ as bt } from "./Tooltip-
|
|
6
|
-
import { L as wt } from "./Legend-
|
|
7
|
-
import kt from "./vue-ui-skeleton-
|
|
8
|
-
import { D as Ct } from "./DataTable-
|
|
9
|
-
import $t from "./vue-ui-accordion-
|
|
1
|
+
import { computed as w, ref as f, watch as Qe, onMounted as et, onBeforeUnmount as tt, openBlock as g, createElementBlock as k, normalizeClass as ze, normalizeStyle as B, createBlock as G, createCommentVNode as O, unref as C, createSlots as ot, withCtx as x, renderSlot as $, normalizeProps as U, guardReactiveProps as X, createVNode as Pe, Fragment as Ae, renderList as Fe, createElementVNode as S, toDisplayString as Y, createTextVNode as Ie, nextTick as lt, pushScopeId as at, popScopeId as nt } from "vue";
|
|
2
|
+
import { u as st, c as Le, t as rt, a as ut, p as T, b as it, o as ct, e as dt, d as ae, i as ne, f as K, X as vt, l as Re, G as De, x as Me, y as ht, q as ft, r as pt } from "./index-CvhiHStv.js";
|
|
3
|
+
import { _ as gt } from "./Title-DQcop8gI.js";
|
|
4
|
+
import { u as yt, U as mt } from "./usePrinter-BVA2_kNp.js";
|
|
5
|
+
import { _ as bt } from "./Tooltip-Dx07vASW.js";
|
|
6
|
+
import { L as wt } from "./Legend-3DteuHjj.js";
|
|
7
|
+
import kt from "./vue-ui-skeleton-p82n8dLi.js";
|
|
8
|
+
import { D as Ct } from "./DataTable-YQ5lDRtX.js";
|
|
9
|
+
import $t from "./vue-ui-accordion-CzsbGsxC.js";
|
|
10
10
|
import { t as xt, u as Tt } from "./useResponsive-CoxXLe23.js";
|
|
11
|
-
import { u as Ve } from "./useNestedProp-
|
|
12
|
-
import { _ as _t } from "./PackageVersion-
|
|
13
|
-
import { P as Ot } from "./PenAndPaper-
|
|
11
|
+
import { u as Ve } from "./useNestedProp-Ccre6tXM.js";
|
|
12
|
+
import { _ as _t } from "./PackageVersion-CS8EAteX.js";
|
|
13
|
+
import { P as Ot } from "./PenAndPaper-D22t_fD9.js";
|
|
14
14
|
import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
function Be(a, i) {
|
|
16
16
|
const s = a.length;
|
|
@@ -69,14 +69,14 @@ function At(a) {
|
|
|
69
69
|
}
|
|
70
70
|
function He(a, i) {
|
|
71
71
|
const { width: s, height: n, xOffset: u, yOffset: c } = ce(i), d = a.length, h = a.map((p) => p.normalizedValue || 0).reduce((p, _) => p + _, 0), v = h / n, N = h / s;
|
|
72
|
-
let
|
|
72
|
+
let b = u, z = c;
|
|
73
73
|
const y = [];
|
|
74
74
|
if (s >= n) {
|
|
75
75
|
for (let p = 0; p < d; p += 1) {
|
|
76
76
|
const _ = a[p], P = z + _.normalizedValue / v, R = {
|
|
77
|
-
x0:
|
|
77
|
+
x0: b,
|
|
78
78
|
y0: z,
|
|
79
|
-
x1:
|
|
79
|
+
x1: b + v,
|
|
80
80
|
y1: P
|
|
81
81
|
}, A = Object.assign({}, _, R);
|
|
82
82
|
z = P, y.push(A);
|
|
@@ -84,22 +84,22 @@ function He(a, i) {
|
|
|
84
84
|
return y;
|
|
85
85
|
} else {
|
|
86
86
|
for (let p = 0; p < d; p += 1) {
|
|
87
|
-
const _ = a[p], P =
|
|
88
|
-
x0:
|
|
87
|
+
const _ = a[p], P = b + _.normalizedValue / N, R = {
|
|
88
|
+
x0: b,
|
|
89
89
|
y0: z,
|
|
90
90
|
x1: P,
|
|
91
91
|
y1: z + N
|
|
92
92
|
}, A = Object.assign({}, _, R);
|
|
93
|
-
|
|
93
|
+
b = P, y.push(A);
|
|
94
94
|
}
|
|
95
95
|
return y;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Ft(a) {
|
|
99
99
|
const i = ce(a), s = i.width, n = i.height;
|
|
100
100
|
return Math.min(s, n);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function It(a, i) {
|
|
103
103
|
const s = a.length, n = a.map((v) => v.value ?? 0).reduce((v, N) => v + N, 0), u = i / n, c = [];
|
|
104
104
|
let d, h;
|
|
105
105
|
for (let v = 0; v < s; v += 1)
|
|
@@ -125,9 +125,9 @@ function Lt(a, i, s, n) {
|
|
|
125
125
|
const y = He(c, d);
|
|
126
126
|
return h.concat(y);
|
|
127
127
|
}
|
|
128
|
-
const N =
|
|
129
|
-
if (Nt(c,
|
|
130
|
-
const y = c.concat(
|
|
128
|
+
const N = Ft(d), b = u[0], z = u.slice(1, v);
|
|
129
|
+
if (Nt(c, b, N)) {
|
|
130
|
+
const y = c.concat(b);
|
|
131
131
|
u = z, c = y, d = d, h = h;
|
|
132
132
|
} else {
|
|
133
133
|
const y = c.length;
|
|
@@ -143,7 +143,7 @@ function Ee(a) {
|
|
|
143
143
|
if (typeof a.children > "u" || !a.children.length)
|
|
144
144
|
return [a];
|
|
145
145
|
{
|
|
146
|
-
const i =
|
|
146
|
+
const i = It(
|
|
147
147
|
a.children,
|
|
148
148
|
At(a)
|
|
149
149
|
), s = Lt(i, [], a, []), n = s.length, u = [];
|
|
@@ -172,7 +172,7 @@ function Rt(a, i) {
|
|
|
172
172
|
return We(v);
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
const Dt = (a) => (at("data-v-
|
|
175
|
+
const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = ["xmlns", "viewBox"], Bt = { key: 0 }, Wt = ["id"], Ht = ["stop-color"], Et = ["stop-color"], Gt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], Ut = ["x", "y", "height", "width"], Xt = {
|
|
176
176
|
style: { width: "100%", height: "100%" },
|
|
177
177
|
class: "vue-ui-treemap-cell"
|
|
178
178
|
}, qt = /* @__PURE__ */ Dt(() => /* @__PURE__ */ S("br", null, null, -1)), jt = {
|
|
@@ -196,7 +196,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
196
196
|
},
|
|
197
197
|
emits: ["selectLegend", "selectDatapoint"],
|
|
198
198
|
setup(a, { expose: i, emit: s }) {
|
|
199
|
-
const n = a, { vue_ui_treemap: u } = st(), c =
|
|
199
|
+
const n = a, { vue_ui_treemap: u } = st(), c = w(() => !!n.dataset && n.dataset.length), d = w(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), h = f(Le()), v = f(!1), N = f(""), b = f(!1), z = f(0), y = f([]), p = f(null), _ = f(null), P = f(null), R = f(null), A = f(null), de = f(0), ve = f(0), he = f(0), e = w({
|
|
200
200
|
get: () => fe(),
|
|
201
201
|
set: (t) => t
|
|
202
202
|
});
|
|
@@ -219,13 +219,13 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
219
219
|
const { isPrinting: pe, isImaging: ge, generatePdf: ye, generateImage: me } = yt({
|
|
220
220
|
elementId: `treemap_${h.value}`,
|
|
221
221
|
fileName: e.value.style.chart.title.text || "vue-ui-treemap"
|
|
222
|
-
}),
|
|
222
|
+
}), Ge = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), Q = w(() => it(e.value.customPalette)), D = f({
|
|
223
223
|
showTable: e.value.table.show,
|
|
224
224
|
showTooltip: e.value.style.chart.tooltip.show
|
|
225
225
|
}), M = f({
|
|
226
226
|
height: e.value.style.chart.height,
|
|
227
227
|
width: e.value.style.chart.width
|
|
228
|
-
}), W =
|
|
228
|
+
}), W = w(() => ({
|
|
229
229
|
bottom: M.value.height - e.value.style.chart.padding.bottom,
|
|
230
230
|
height: M.value.height - e.value.style.chart.padding.top - e.value.style.chart.padding.bottom,
|
|
231
231
|
left: e.value.style.chart.padding.left,
|
|
@@ -244,9 +244,9 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
244
244
|
}
|
|
245
245
|
const H = f(n.dataset), ee = f(null);
|
|
246
246
|
et(() => {
|
|
247
|
-
|
|
247
|
+
Ue();
|
|
248
248
|
});
|
|
249
|
-
function
|
|
249
|
+
function Ue() {
|
|
250
250
|
if (ct(n.dataset) && dt({
|
|
251
251
|
componentName: "VueUiTreemap",
|
|
252
252
|
type: "dataset"
|
|
@@ -267,10 +267,10 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
267
267
|
tt(() => {
|
|
268
268
|
ee.value && ee.value.disconnect();
|
|
269
269
|
});
|
|
270
|
-
const se = f(H.value), Z =
|
|
270
|
+
const se = f(H.value), Z = w(() => se.value.map((t, l) => ({
|
|
271
271
|
...t,
|
|
272
272
|
color: ae(t.color) || Q.value[l] || T[l] || T[l % T.length]
|
|
273
|
-
})).filter((t) => !y.value.includes(t.id))), q =
|
|
273
|
+
})).filter((t) => !y.value.includes(t.id))), q = w(() => H.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value || 0).reduce((t, l) => t + l, 0)), we = w({
|
|
274
274
|
get() {
|
|
275
275
|
let t = [...Z.value];
|
|
276
276
|
return e.value.style.chart.layout.sorted && (t = [...Z.value].sort((l, o) => o.value - l.value)), t.map((l) => ({
|
|
@@ -300,7 +300,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
300
300
|
};
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
|
-
const J =
|
|
303
|
+
const J = w(() => Pt(
|
|
304
304
|
we.value.map((t, l) => {
|
|
305
305
|
const o = t.children ? t.children.reduce((r, m) => r + m.value, 0) : t.value;
|
|
306
306
|
return {
|
|
@@ -324,14 +324,14 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
324
324
|
return l < e.value.style.chart.layout.labels.minFontSize ? e.value.style.chart.layout.labels.minFontSize : l;
|
|
325
325
|
}
|
|
326
326
|
function qe(t) {
|
|
327
|
-
|
|
327
|
+
b.value = t, z.value += 1;
|
|
328
328
|
}
|
|
329
|
-
const j =
|
|
329
|
+
const j = w(() => ({
|
|
330
330
|
startX: 0,
|
|
331
331
|
startY: 0,
|
|
332
332
|
width: W.value.vbWidth,
|
|
333
333
|
height: W.value.vbHeight
|
|
334
|
-
})),
|
|
334
|
+
})), F = f(!1);
|
|
335
335
|
function re(t, l = H.value) {
|
|
336
336
|
for (const o of l) {
|
|
337
337
|
if (o.id === t)
|
|
@@ -345,16 +345,16 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
345
345
|
return null;
|
|
346
346
|
}
|
|
347
347
|
function je(t) {
|
|
348
|
-
if (
|
|
348
|
+
if (F.value)
|
|
349
349
|
s("selectDatapoint", void 0), se.value = H.value;
|
|
350
350
|
else {
|
|
351
351
|
if (s("selectDatapoint", t), !re(t.parentId))
|
|
352
352
|
return;
|
|
353
353
|
se.value = [re(t.parentId)];
|
|
354
354
|
}
|
|
355
|
-
|
|
355
|
+
F.value = !F.value;
|
|
356
356
|
}
|
|
357
|
-
const
|
|
357
|
+
const I = f(null), Te = w(() => H.value.map((t, l) => ({
|
|
358
358
|
...t,
|
|
359
359
|
color: ae(t.color) || Q.value[l] || T[l] || T[l % T.length],
|
|
360
360
|
shape: "square"
|
|
@@ -362,7 +362,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
362
362
|
...t,
|
|
363
363
|
proportion: t.value / H.value.map((o) => o.value).reduce((o, r) => o + r, 0),
|
|
364
364
|
opacity: y.value.includes(t.id) ? 0.5 : 1
|
|
365
|
-
}))), Ye =
|
|
365
|
+
}))), Ye = w(() => ({
|
|
366
366
|
cy: "treemap-div-legend",
|
|
367
367
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
368
368
|
color: e.value.style.chart.legend.color,
|
|
@@ -371,11 +371,11 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
371
371
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
372
372
|
}));
|
|
373
373
|
function _e(t) {
|
|
374
|
-
|
|
374
|
+
F.value = !1, I.value = null, y.value.includes(t.id) ? y.value = y.value.filter((l) => l !== t.id) : y.value.length < n.dataset.length - 1 && y.value.push(t.id), s("selectLegend", we.value);
|
|
375
375
|
}
|
|
376
376
|
const ue = f(null);
|
|
377
377
|
function Ze({ datapoint: t, seriesIndex: l }) {
|
|
378
|
-
|
|
378
|
+
I.value = t, ue.value = { datapoint: t, seriesIndex: l, config: e.value, series: Z.value };
|
|
379
379
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
380
380
|
if (Me(o) && ht(() => o({
|
|
381
381
|
seriesIndex: l,
|
|
@@ -405,7 +405,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
405
405
|
}
|
|
406
406
|
v.value = !0;
|
|
407
407
|
}
|
|
408
|
-
const L =
|
|
408
|
+
const L = w(() => {
|
|
409
409
|
const t = J.value.map((o) => ({
|
|
410
410
|
name: o.name,
|
|
411
411
|
color: o.color
|
|
@@ -420,7 +420,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
420
420
|
pt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-treemap" });
|
|
421
421
|
});
|
|
422
422
|
}
|
|
423
|
-
const te =
|
|
423
|
+
const te = w(() => {
|
|
424
424
|
const t = [
|
|
425
425
|
e.value.table.columnNames.series,
|
|
426
426
|
e.value.table.columnNames.value,
|
|
@@ -493,14 +493,14 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
493
493
|
toggleTable: Se,
|
|
494
494
|
toggleTooltip: Ne,
|
|
495
495
|
toggleAnnotator: ie
|
|
496
|
-
}), (t, l) => (g(),
|
|
496
|
+
}), (t, l) => (g(), k("div", {
|
|
497
497
|
ref_key: "treemapChart",
|
|
498
498
|
ref: p,
|
|
499
|
-
class: ze(`vue-ui-treemap ${
|
|
499
|
+
class: ze(`vue-ui-treemap ${b.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
500
500
|
style: B(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
501
501
|
id: `treemap_${h.value}`
|
|
502
502
|
}, [
|
|
503
|
-
e.value.userOptions.buttons.annotator ? (g(),
|
|
503
|
+
e.value.userOptions.buttons.annotator ? (g(), G(Ot, {
|
|
504
504
|
key: 0,
|
|
505
505
|
parent: p.value,
|
|
506
506
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -508,20 +508,20 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
508
508
|
active: oe.value,
|
|
509
509
|
onClose: ie
|
|
510
510
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : O("", !0),
|
|
511
|
-
|
|
511
|
+
Ge.value ? (g(), k("div", {
|
|
512
512
|
key: 1,
|
|
513
513
|
ref_key: "noTitle",
|
|
514
514
|
ref: A,
|
|
515
515
|
class: "vue-data-ui-no-title-space",
|
|
516
516
|
style: "height:36px; width: 100%;background:transparent"
|
|
517
517
|
}, null, 512)) : O("", !0),
|
|
518
|
-
e.value.style.chart.title.text ? (g(),
|
|
518
|
+
e.value.style.chart.title.text ? (g(), k("div", {
|
|
519
519
|
key: 2,
|
|
520
520
|
ref_key: "chartTitle",
|
|
521
521
|
ref: _,
|
|
522
522
|
style: B(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:6px`)
|
|
523
523
|
}, [
|
|
524
|
-
(g(),
|
|
524
|
+
(g(), G(gt, {
|
|
525
525
|
key: `title_${de.value}`,
|
|
526
526
|
config: {
|
|
527
527
|
title: {
|
|
@@ -535,13 +535,13 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
535
535
|
}
|
|
536
536
|
}, null, 8, ["config"]))
|
|
537
537
|
], 4)) : O("", !0),
|
|
538
|
-
e.value.userOptions.show && c.value ? (g(),
|
|
538
|
+
e.value.userOptions.show && c.value ? (g(), G(mt, {
|
|
539
539
|
ref: "details",
|
|
540
540
|
key: `user_option_${z.value}`,
|
|
541
541
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
542
542
|
color: e.value.style.chart.color,
|
|
543
|
-
isPrinting:
|
|
544
|
-
isImaging:
|
|
543
|
+
isPrinting: C(pe),
|
|
544
|
+
isImaging: C(ge),
|
|
545
545
|
uid: h.value,
|
|
546
546
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
547
547
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -549,7 +549,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
549
549
|
hasImg: e.value.userOptions.buttons.img,
|
|
550
550
|
hasTable: e.value.userOptions.buttons.table,
|
|
551
551
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
552
|
-
isFullscreen:
|
|
552
|
+
isFullscreen: b.value,
|
|
553
553
|
isTooltip: D.value.showTooltip,
|
|
554
554
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
555
555
|
chartElement: p.value,
|
|
@@ -557,9 +557,9 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
557
557
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
558
558
|
isAnnotation: oe.value,
|
|
559
559
|
onToggleFullscreen: qe,
|
|
560
|
-
onGeneratePdf:
|
|
560
|
+
onGeneratePdf: C(ye),
|
|
561
561
|
onGenerateCsv: Oe,
|
|
562
|
-
onGenerateImage:
|
|
562
|
+
onGenerateImage: C(me),
|
|
563
563
|
onToggleTable: Se,
|
|
564
564
|
onToggleTooltip: Ne,
|
|
565
565
|
onToggleAnnotator: ie
|
|
@@ -602,28 +602,28 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
602
602
|
t.$slots.optionFullscreen ? {
|
|
603
603
|
name: "optionFullscreen",
|
|
604
604
|
fn: x(({ toggleFullscreen: o, isFullscreen: r }) => [
|
|
605
|
-
$(t.$slots, "optionFullscreen",
|
|
605
|
+
$(t.$slots, "optionFullscreen", U(X({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
|
|
606
606
|
]),
|
|
607
607
|
key: "5"
|
|
608
608
|
} : void 0,
|
|
609
609
|
t.$slots.optionAnnotator ? {
|
|
610
610
|
name: "optionAnnotator",
|
|
611
611
|
fn: x(({ toggleAnnotator: o, isAnnotator: r }) => [
|
|
612
|
-
$(t.$slots, "optionAnnotator",
|
|
612
|
+
$(t.$slots, "optionAnnotator", U(X({ toggleAnnotator: o, isAnnotator: r })), void 0, !0)
|
|
613
613
|
]),
|
|
614
614
|
key: "6"
|
|
615
615
|
} : void 0
|
|
616
616
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : O("", !0),
|
|
617
|
-
c.value ? (g(),
|
|
617
|
+
c.value ? (g(), k("svg", {
|
|
618
618
|
key: 4,
|
|
619
|
-
xmlns:
|
|
620
|
-
class: ze({ "vue-data-ui-fullscreen--on":
|
|
619
|
+
xmlns: C(vt),
|
|
620
|
+
class: ze({ "vue-data-ui-fullscreen--on": b.value, "vue-data-ui-fulscreen--off": !b.value, "vue-data-ui-zoom-plus": !F.value, "vue-data-ui-zoom-minus": F.value }),
|
|
621
621
|
viewBox: `${j.value.startX} ${j.value.startY} ${j.value.width <= 0 ? 10 : j.value.width} ${j.value.height <= 0 ? 10 : j.value.height}`,
|
|
622
622
|
style: B(`max-width:100%; overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
|
|
623
623
|
}, [
|
|
624
624
|
Pe(_t),
|
|
625
|
-
(g(!0),
|
|
626
|
-
e.value.style.chart.layout.rects.gradient.show ? (g(),
|
|
625
|
+
(g(!0), k(Ae, null, Fe(J.value, (o, r) => (g(), k("g", null, [
|
|
626
|
+
e.value.style.chart.layout.rects.gradient.show ? (g(), k("defs", Bt, [
|
|
627
627
|
S("radialGradient", {
|
|
628
628
|
id: `tgrad_${o.id}`,
|
|
629
629
|
gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
|
|
@@ -634,12 +634,12 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
634
634
|
}, null, 8, Ht),
|
|
635
635
|
S("stop", {
|
|
636
636
|
offset: "100%",
|
|
637
|
-
"stop-color":
|
|
637
|
+
"stop-color": C(Re)(o.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
|
|
638
638
|
}, null, 8, Et)
|
|
639
639
|
], 8, Wt)
|
|
640
640
|
])) : O("", !0)
|
|
641
641
|
]))), 256)),
|
|
642
|
-
(g(!0),
|
|
642
|
+
(g(!0), k(Ae, null, Fe(J.value, (o, r) => (g(), k("g", null, [
|
|
643
643
|
S("rect", {
|
|
644
644
|
x: o.x0,
|
|
645
645
|
y: o.y0,
|
|
@@ -647,20 +647,20 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
647
647
|
width: xe(o),
|
|
648
648
|
fill: d.value ? o.color : e.value.style.chart.layout.rects.gradient.show ? `url(#tgrad_${o.id})` : o.color,
|
|
649
649
|
rx: e.value.style.chart.layout.rects.borderRadius,
|
|
650
|
-
stroke:
|
|
651
|
-
"stroke-width":
|
|
650
|
+
stroke: I.value && I.value.id === o.id ? e.value.style.chart.layout.rects.selected.stroke : e.value.style.chart.layout.rects.stroke,
|
|
651
|
+
"stroke-width": I.value && I.value.id === o.id ? e.value.style.chart.layout.rects.selected.strokeWidth : e.value.style.chart.layout.rects.strokeWidth,
|
|
652
652
|
onClick: (m) => je(o),
|
|
653
653
|
onMouseenter: () => Ze({
|
|
654
654
|
datapoint: o,
|
|
655
655
|
seriesIndex: r
|
|
656
656
|
}),
|
|
657
657
|
onMouseleave: l[0] || (l[0] = (m) => {
|
|
658
|
-
|
|
658
|
+
I.value = null, v.value = !1;
|
|
659
659
|
}),
|
|
660
|
-
style: B(`opacity:${
|
|
660
|
+
style: B(`opacity:${I.value ? I.value.id === o.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
|
|
661
661
|
class: "vue-ui-treemap-rect"
|
|
662
|
-
}, null, 44,
|
|
663
|
-
(g(),
|
|
662
|
+
}, null, 44, Gt),
|
|
663
|
+
(g(), k("foreignObject", {
|
|
664
664
|
x: o.x0,
|
|
665
665
|
y: o.y0,
|
|
666
666
|
height: $e(o),
|
|
@@ -668,10 +668,10 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
668
668
|
class: "vue-ui-treemap-cell-foreignObject"
|
|
669
669
|
}, [
|
|
670
670
|
S("div", Xt, [
|
|
671
|
-
e.value.style.chart.layout.labels.showDefaultLabels && (o.proportion > e.value.style.chart.layout.labels.hideUnderProportion ||
|
|
671
|
+
e.value.style.chart.layout.labels.showDefaultLabels && (o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || F.value) ? (g(), k("div", {
|
|
672
672
|
key: 0,
|
|
673
673
|
class: "vue-ui-treemap-cell-default",
|
|
674
|
-
style: B(`width:calc(100% - ${E(o) / 1.5}px);text-align:left;line-height:${E(o) < 14 ? 14 : E(o)}px;padding:${E(o) / 3}px; color:${
|
|
674
|
+
style: B(`width:calc(100% - ${E(o) / 1.5}px);text-align:left;line-height:${E(o) < 14 ? 14 : E(o)}px;padding:${E(o) / 3}px; color:${C(De)(o.color)}`)
|
|
675
675
|
}, [
|
|
676
676
|
S("span", {
|
|
677
677
|
style: B(`width:100%;font-size:${E(o)}px;`)
|
|
@@ -679,10 +679,10 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
679
679
|
qt,
|
|
680
680
|
S("span", {
|
|
681
681
|
style: B(`width:100%;font-size:${E(o)}px;`)
|
|
682
|
-
}, Y(
|
|
682
|
+
}, Y(C(ne)(
|
|
683
683
|
e.value.style.chart.layout.labels.formatter,
|
|
684
684
|
o.value,
|
|
685
|
-
|
|
685
|
+
C(K)({
|
|
686
686
|
p: e.value.style.chart.layout.labels.prefix,
|
|
687
687
|
v: o.value,
|
|
688
688
|
s: e.value.style.chart.layout.labels.suffix,
|
|
@@ -691,22 +691,22 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
691
691
|
{ datapoint: o }
|
|
692
692
|
)), 5)
|
|
693
693
|
], 4)) : O("", !0),
|
|
694
|
-
$(t.$slots, "rect",
|
|
694
|
+
$(t.$slots, "rect", U(X({
|
|
695
695
|
rect: o,
|
|
696
|
-
shouldShow: o.proportion > e.value.style.chart.layout.labels.hideUnderProportion ||
|
|
696
|
+
shouldShow: o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || F.value,
|
|
697
697
|
fontSize: E(o),
|
|
698
|
-
isZoom:
|
|
699
|
-
textColor:
|
|
698
|
+
isZoom: F.value,
|
|
699
|
+
textColor: C(De)(o.color)
|
|
700
700
|
})), void 0, !0)
|
|
701
701
|
])
|
|
702
|
-
], 8,
|
|
702
|
+
], 8, Ut))
|
|
703
703
|
]))), 256)),
|
|
704
|
-
$(t.$slots, "svg",
|
|
704
|
+
$(t.$slots, "svg", U(X({ svg: W.value, isZoom: F.value, rect: I.value, config: e.value })), void 0, !0)
|
|
705
705
|
], 14, Vt)) : O("", !0),
|
|
706
|
-
t.$slots.watermark ? (g(),
|
|
707
|
-
$(t.$slots, "watermark",
|
|
706
|
+
t.$slots.watermark ? (g(), k("div", jt, [
|
|
707
|
+
$(t.$slots, "watermark", U(X({ isPrinting: C(pe) || C(ge) })), void 0, !0)
|
|
708
708
|
])) : O("", !0),
|
|
709
|
-
c.value ? O("", !0) : (g(),
|
|
709
|
+
c.value ? O("", !0) : (g(), G(kt, {
|
|
710
710
|
key: 6,
|
|
711
711
|
config: {
|
|
712
712
|
type: "treemap",
|
|
@@ -722,7 +722,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
722
722
|
ref_key: "chartLegend",
|
|
723
723
|
ref: P
|
|
724
724
|
}, [
|
|
725
|
-
e.value.style.chart.legend.show ? (g(),
|
|
725
|
+
e.value.style.chart.legend.show ? (g(), G(wt, {
|
|
726
726
|
key: `legend_${he.value}`,
|
|
727
727
|
legendSet: Te.value,
|
|
728
728
|
config: Ye.value,
|
|
@@ -734,10 +734,10 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
734
734
|
onClick: (m) => _e(o),
|
|
735
735
|
style: B(`opacity:${y.value.includes(o.id) ? 0.5 : 1}`)
|
|
736
736
|
}, [
|
|
737
|
-
|
|
737
|
+
Ie(Y(o.name) + ": " + Y(C(ne)(
|
|
738
738
|
e.value.style.chart.layout.labels.formatter,
|
|
739
739
|
o.value,
|
|
740
|
-
|
|
740
|
+
C(K)({
|
|
741
741
|
p: e.value.style.chart.layout.labels.prefix,
|
|
742
742
|
v: o.value,
|
|
743
743
|
s: e.value.style.chart.layout.labels.suffix,
|
|
@@ -745,7 +745,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
745
745
|
}),
|
|
746
746
|
{ datapoint: o }
|
|
747
747
|
)) + " ", 1),
|
|
748
|
-
y.value.includes(o.id) ? (g(),
|
|
748
|
+
y.value.includes(o.id) ? (g(), k("span", Jt, " ( - % ) ")) : (g(), k("span", Zt, " (" + Y(isNaN(o.value / q.value) ? "-" : (o.value / q.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
|
|
749
749
|
], 12, Yt)
|
|
750
750
|
]),
|
|
751
751
|
_: 1
|
|
@@ -754,7 +754,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
754
754
|
legend: Te.value
|
|
755
755
|
}, void 0, !0)
|
|
756
756
|
], 512),
|
|
757
|
-
t.$slots.source ? (g(),
|
|
757
|
+
t.$slots.source ? (g(), k("div", {
|
|
758
758
|
key: 7,
|
|
759
759
|
ref_key: "source",
|
|
760
760
|
ref: R,
|
|
@@ -775,17 +775,18 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
775
775
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
776
776
|
parent: p.value,
|
|
777
777
|
content: N.value,
|
|
778
|
-
|
|
778
|
+
isFullscreen: b.value,
|
|
779
|
+
isCustom: C(Me)(e.value.style.chart.tooltip.customFormat)
|
|
779
780
|
}, {
|
|
780
781
|
"tooltip-before": x(() => [
|
|
781
|
-
$(t.$slots, "tooltip-before",
|
|
782
|
+
$(t.$slots, "tooltip-before", U(X({ ...ue.value })), void 0, !0)
|
|
782
783
|
]),
|
|
783
784
|
"tooltip-after": x(() => [
|
|
784
|
-
$(t.$slots, "tooltip-after",
|
|
785
|
+
$(t.$slots, "tooltip-after", U(X({ ...ue.value })), void 0, !0)
|
|
785
786
|
]),
|
|
786
787
|
_: 3
|
|
787
|
-
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
788
|
-
c.value ? (g(),
|
|
788
|
+
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
789
|
+
c.value ? (g(), G($t, {
|
|
789
790
|
key: 8,
|
|
790
791
|
hideDetails: "",
|
|
791
792
|
config: {
|
|
@@ -802,7 +803,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
802
803
|
}
|
|
803
804
|
}, {
|
|
804
805
|
content: x(() => [
|
|
805
|
-
(g(),
|
|
806
|
+
(g(), G(Ct, {
|
|
806
807
|
key: `table_${ve.value}`,
|
|
807
808
|
colNames: te.value.colNames,
|
|
808
809
|
head: te.value.head,
|
|
@@ -818,7 +819,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
818
819
|
}, null, 8, Kt)
|
|
819
820
|
]),
|
|
820
821
|
td: x(({ td: o }) => [
|
|
821
|
-
|
|
822
|
+
Ie(Y(o.name || o), 1)
|
|
822
823
|
]),
|
|
823
824
|
_: 1
|
|
824
825
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -827,7 +828,7 @@ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
827
828
|
}, 8, ["config"])) : O("", !0)
|
|
828
829
|
], 14, Mt));
|
|
829
830
|
}
|
|
830
|
-
}, po = /* @__PURE__ */ St(Qt, [["__scopeId", "data-v-
|
|
831
|
+
}, po = /* @__PURE__ */ St(Qt, [["__scopeId", "data-v-69853ca9"]]);
|
|
831
832
|
export {
|
|
832
833
|
po as default
|
|
833
834
|
};
|