vue-data-ui 2.4.49 → 2.4.51
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 +12 -0
- package/dist/{Arrow-CTukks_V.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-Q0cOmO5p.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-2ZD3jgGz.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-CaYP30Aq.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CO5C8Cmb.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-kMUhutQ4.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-FZN9UHoI.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-DPHcmrzd.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-rnWHRWGI.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-DYk2hOG1.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BQl9-uX0.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-BfgS_5ux.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-BqkMzXqo.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BblkpCyL.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-yEeqKUDF.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-DlgqsI5C.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-5Vedk01J.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-DED-PQ7X.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-DjCKBAC4.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-CHseiJu8.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-igxqCP2w.js → index-BbPeL8Gp.js} +5 -1
- package/dist/index-DhDYBLBe.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-CSVnZVwZ.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-CwpqC_aE.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-DVgxBO4o.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-CnZYDQXB.js → usePrinter-DaybDVqP.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-BrRTkOqu.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-B--WWkUM.js → vue-data-ui-Ckbp-yIf.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
- package/dist/{vue-ui-3d-bar-OzzLYbUl.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-lF7yVkiT.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CRVWlHxs.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-5Vj8AtW1.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-BmO78L3H.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-D8Hx1BFF.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-DwFD41hN.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-By609gwn.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-wwMoteEN.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
- package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
- package/dist/{vue-ui-chestnut-hqorA5EW.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-BCg5VZUb.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-GSkn7N7Z.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-Bkm9bcAc.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DIoYWyXB.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-niqTltAv.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-CpBBTAI9.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-XQp6R0e_.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-DfufBrkk.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DSS8sHHU.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BBNuPVgI.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BDGggRXE.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-6Odi2CwM.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
- package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
- package/dist/{vue-ui-gauge-DeYvNVnR.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-DXQt_8D0.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BcAr2dTN.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-Btm1mK6D.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-OY6N31Ka.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-CQIbWQMk.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-D5oNUDVm.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjqV22Co.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-ByDKGMAp.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-FsLf3YTj.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-31BX-GNG.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BMJW2oHk.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-BUpGgnWA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
- package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-9I00rQEM.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
- package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
- package/dist/{vue-ui-quadrant-CEmoMAL7.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-T_oeRTqY.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DG_Zir8w.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-Juprijdi.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-gswAA28b.js → vue-ui-rating-DQRuqev5.js} +2 -2
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
- package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
- package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
- package/dist/{vue-ui-rings-D3g-ORch.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-DBO-XViT.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-3MDyr6v3.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-K0a-DVD6.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-CWjNNx-k.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-DUNkS05l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cbqg-N-L.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-MwX1c6qK.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-CN5JUPhn.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D9eWTtbE.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-IphZ8jXh.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CPF7YNDd.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B29V7ZTv.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BRMGqR9Z.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-BJTgOWF5.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-rvYaVHmw.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BI9jqI0h.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DX79otAB.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DuollcwK.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-vP28A6AT.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-DnJEgIaA.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DqcHBwd_.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-BMJ0I5nr.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8cgqIJl.js → vue-ui-table-CsEajH9S.js} +1 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
- package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-B_Po0RuC.js → vue-ui-table-sparkline-YV8DUOqh.js} +256 -239
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-C6nfW6uY.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-ldINTqND.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-CfwmMRdZ.js → vue-ui-timer-DvE_nqd9.js} +5 -5
- package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
- package/dist/{vue-ui-treemap-CwMnkcOi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-BZR4YOLh.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-D2BccJmB.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
- package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DiG8DHOr.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-DicLnkBA.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-D6CYL9A8.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
- package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-BHQZE19X.cjs +0 -9
- package/dist/vue-ui-3d-bar-BGVLnjCh.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Cv0Rddsx.cjs +0 -1
- package/dist/vue-ui-bullet-C0Q2Vs5p.cjs +0 -34
- package/dist/vue-ui-candlestick-C7kRHFF3.cjs +0 -2
- package/dist/vue-ui-carousel-table-1_Hy8sGL.cjs +0 -1
- package/dist/vue-ui-chestnut-D3LGylRp.cjs +0 -6
- package/dist/vue-ui-donut-CQEOtlxM.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Dg_XJyX8.cjs +0 -1
- package/dist/vue-ui-dumbbell-RAkNYRoJ.cjs +0 -9
- package/dist/vue-ui-flow-BUmSGSmR.cjs +0 -1
- package/dist/vue-ui-funnel-B9HR0owO.cjs +0 -1
- package/dist/vue-ui-galaxy-DmsMWB1a.cjs +0 -1
- package/dist/vue-ui-gauge-Dvv0v56Z.cjs +0 -1
- package/dist/vue-ui-heatmap-DZ02dS5q.cjs +0 -1
- package/dist/vue-ui-history-plot-DPQWcN0P.cjs +0 -1
- package/dist/vue-ui-molecule-C8O_ViVy.cjs +0 -1
- package/dist/vue-ui-mood-radar-4u98wGWl.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BPc_OBoe.cjs +0 -17
- package/dist/vue-ui-onion-IhkIHn1A.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DzjggyLA.cjs +0 -8
- package/dist/vue-ui-quadrant-EZqQ-7Ev.cjs +0 -1
- package/dist/vue-ui-quick-chart-BKUUR-A1.cjs +0 -15
- package/dist/vue-ui-radar-QBwo6ybW.cjs +0 -1
- package/dist/vue-ui-relation-circle-BWX8zrfH.cjs +0 -1
- package/dist/vue-ui-relation-circle-DtnXrnOP.js +0 -492
- package/dist/vue-ui-rings-Damuv7g9.cjs +0 -2
- package/dist/vue-ui-scatter-RUeAe7Sx.cjs +0 -1
- package/dist/vue-ui-stackbar-BumFmZZF.cjs +0 -6
- package/dist/vue-ui-strip-plot-DupREfRd.cjs +0 -1
- package/dist/vue-ui-table-heatmap-D43pTFli.cjs +0 -1
- package/dist/vue-ui-table-heatmap-D4qeClXn.js +0 -256
- package/dist/vue-ui-table-sparkline-B7OPOium.cjs +0 -1
- package/dist/vue-ui-thermometer-CaV3JF3h.cjs +0 -1
- package/dist/vue-ui-tiremarks-BlyxL_IU.cjs +0 -1
- package/dist/vue-ui-tiremarks-iNKMnu3P.js +0 -317
- package/dist/vue-ui-treemap-YdRDlSHA.cjs +0 -1
- package/dist/vue-ui-vertical-bar-Bji3-X8i.cjs +0 -4
- package/dist/vue-ui-waffle-rO_LJaHR.cjs +0 -1
- package/dist/vue-ui-wheel-BTrpdV-C.cjs +0 -1
- package/dist/vue-ui-wheel-GqWFopE1.js +0 -299
- package/dist/vue-ui-word-cloud-DD-pKUen.cjs +0 -1
- package/dist/vue-ui-xy-C32KNdyx.cjs +0 -3
- package/dist/vue-ui-xy-canvas-9e630nJX.cjs +0 -9
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { computed as w, ref as f, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { L as
|
|
7
|
-
import
|
|
8
|
-
import { D as
|
|
9
|
-
import
|
|
10
|
-
import { t as
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { computed as w, ref as f, watch as ot, onMounted as lt, onBeforeUnmount as at, openBlock as g, createElementBlock as C, normalizeClass as Fe, normalizeStyle as R, unref as m, createBlock as E, createCommentVNode as O, createSlots as nt, withCtx as x, renderSlot as $, normalizeProps as G, guardReactiveProps as X, createVNode as Ie, Fragment as Le, renderList as Re, createElementVNode as S, toDisplayString as Y, createTextVNode as De, nextTick as st, pushScopeId as rt, popScopeId as ut } from "vue";
|
|
2
|
+
import { u as it, c as Me, t as ct, a as dt, p as T, b as vt, o as ht, e as ft, d as ae, i as ne, f as K, X as pt, l as Ve, G as Be, x as Ue, y as gt, q as yt, r as mt } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { _ as bt } from "./Title-aSAft5dl.js";
|
|
4
|
+
import { u as kt, U as wt } from "./usePrinter-DaybDVqP.js";
|
|
5
|
+
import { _ as Ct } from "./Tooltip-smutPF--.js";
|
|
6
|
+
import { L as $t } from "./Legend-BLaZxMge.js";
|
|
7
|
+
import xt from "./vue-ui-skeleton-Bniq21d9.js";
|
|
8
|
+
import { D as Tt } from "./DataTable-DGf6RrOJ.js";
|
|
9
|
+
import _t from "./vue-ui-accordion-5d5iVpr7.js";
|
|
10
|
+
import { t as Ot, u as St } from "./useResponsive-CoxXLe23.js";
|
|
11
|
+
import { u as We } from "./useNestedProp-BN8claGG.js";
|
|
12
|
+
import { _ as Nt } from "./PackageVersion-CxJghxYD.js";
|
|
13
|
+
import { P as zt } from "./PenAndPaper-ZdZEumki.js";
|
|
14
|
+
import { u as Pt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
function He(a, i) {
|
|
16
17
|
const s = a.length;
|
|
17
18
|
if (s === 0)
|
|
18
19
|
throw new Error(`Max aspect ratio cannot be computed: ${a} is an empty array`);
|
|
@@ -28,7 +29,7 @@ function Be(a, i) {
|
|
|
28
29
|
);
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
|
-
function
|
|
32
|
+
function Ee(a) {
|
|
32
33
|
const { xOffset: i, yOffset: s, width: n, height: u } = a;
|
|
33
34
|
return {
|
|
34
35
|
x0: i,
|
|
@@ -37,18 +38,18 @@ function We(a) {
|
|
|
37
38
|
y1: s + u
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
|
-
function
|
|
41
|
+
function Ft(a, i, s) {
|
|
41
42
|
if (a.length === 0)
|
|
42
43
|
return !0;
|
|
43
44
|
{
|
|
44
|
-
const n = a.concat(i), u =
|
|
45
|
+
const n = a.concat(i), u = He(
|
|
45
46
|
a,
|
|
46
47
|
s
|
|
47
|
-
), c =
|
|
48
|
+
), c = He(n, s);
|
|
48
49
|
return u >= c;
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
+
function It(a) {
|
|
52
53
|
const i = [], s = a.length;
|
|
53
54
|
for (let n = 0; n < s; n += 1) {
|
|
54
55
|
const u = a[n], c = u.length;
|
|
@@ -57,49 +58,49 @@ function zt(a) {
|
|
|
57
58
|
}
|
|
58
59
|
return i;
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
+
function Lt(a, i) {
|
|
61
62
|
const s = {
|
|
62
63
|
...i,
|
|
63
64
|
children: a
|
|
64
65
|
};
|
|
65
|
-
return
|
|
66
|
+
return Xe(s);
|
|
66
67
|
}
|
|
67
|
-
function
|
|
68
|
+
function Rt(a) {
|
|
68
69
|
return (a.x1 - a.x0) * (a.y1 - a.y0);
|
|
69
70
|
}
|
|
70
|
-
function
|
|
71
|
+
function Ge(a, i) {
|
|
71
72
|
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
|
|
73
|
+
let k = u, z = c;
|
|
73
74
|
const y = [];
|
|
74
75
|
if (s >= n) {
|
|
75
76
|
for (let p = 0; p < d; p += 1) {
|
|
76
|
-
const _ = a[p], P = z + _.normalizedValue / v,
|
|
77
|
-
x0:
|
|
77
|
+
const _ = a[p], P = z + _.normalizedValue / v, D = {
|
|
78
|
+
x0: k,
|
|
78
79
|
y0: z,
|
|
79
|
-
x1:
|
|
80
|
+
x1: k + v,
|
|
80
81
|
y1: P
|
|
81
|
-
}, A = Object.assign({}, _,
|
|
82
|
+
}, A = Object.assign({}, _, D);
|
|
82
83
|
z = P, y.push(A);
|
|
83
84
|
}
|
|
84
85
|
return y;
|
|
85
86
|
} else {
|
|
86
87
|
for (let p = 0; p < d; p += 1) {
|
|
87
|
-
const _ = a[p], P =
|
|
88
|
-
x0:
|
|
88
|
+
const _ = a[p], P = k + _.normalizedValue / N, D = {
|
|
89
|
+
x0: k,
|
|
89
90
|
y0: z,
|
|
90
91
|
x1: P,
|
|
91
92
|
y1: z + N
|
|
92
|
-
}, A = Object.assign({}, _,
|
|
93
|
-
|
|
93
|
+
}, A = Object.assign({}, _, D);
|
|
94
|
+
k = P, y.push(A);
|
|
94
95
|
}
|
|
95
96
|
return y;
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
+
function Dt(a) {
|
|
99
100
|
const i = ce(a), s = i.width, n = i.height;
|
|
100
101
|
return Math.min(s, n);
|
|
101
102
|
}
|
|
102
|
-
function
|
|
103
|
+
function Mt(a, i) {
|
|
103
104
|
const s = a.length, n = a.map((v) => v.value ?? 0).reduce((v, N) => v + N, 0), u = i / n, c = [];
|
|
104
105
|
let d, h;
|
|
105
106
|
for (let v = 0; v < s; v += 1)
|
|
@@ -117,42 +118,42 @@ function ce(a) {
|
|
|
117
118
|
height: u - s
|
|
118
119
|
};
|
|
119
120
|
}
|
|
120
|
-
function
|
|
121
|
+
function Vt(a, i, s, n) {
|
|
121
122
|
let u = a, c = i, d = s, h = n;
|
|
122
123
|
for (; ; ) {
|
|
123
124
|
const v = u.length;
|
|
124
125
|
if (v === 0) {
|
|
125
|
-
const y =
|
|
126
|
+
const y = Ge(c, d);
|
|
126
127
|
return h.concat(y);
|
|
127
128
|
}
|
|
128
|
-
const N =
|
|
129
|
-
if (
|
|
130
|
-
const y = c.concat(
|
|
129
|
+
const N = Dt(d), k = u[0], z = u.slice(1, v);
|
|
130
|
+
if (Ft(c, k, N)) {
|
|
131
|
+
const y = c.concat(k);
|
|
131
132
|
u = z, c = y, d = d, h = h;
|
|
132
133
|
} else {
|
|
133
134
|
const y = c.length;
|
|
134
135
|
let p = 0;
|
|
135
136
|
for (let A = 0; A < y; A += 1)
|
|
136
137
|
p += c[A].normalizedValue;
|
|
137
|
-
const _ =
|
|
138
|
-
u = u, c = [], d = _, h =
|
|
138
|
+
const _ = Bt(d, p), P = Ge(c, d), D = h.concat(P);
|
|
139
|
+
u = u, c = [], d = _, h = D;
|
|
139
140
|
}
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
|
-
function
|
|
143
|
+
function Xe(a) {
|
|
143
144
|
if (typeof a.children > "u" || !a.children.length)
|
|
144
145
|
return [a];
|
|
145
146
|
{
|
|
146
|
-
const i =
|
|
147
|
+
const i = Mt(
|
|
147
148
|
a.children,
|
|
148
|
-
|
|
149
|
-
), s =
|
|
149
|
+
Rt(a)
|
|
150
|
+
), s = Vt(i, [], a, []), n = s.length, u = [];
|
|
150
151
|
for (let d = 0; d < n; d += 1)
|
|
151
|
-
u.push(
|
|
152
|
-
return
|
|
152
|
+
u.push(Xe(s[d]));
|
|
153
|
+
return It(u);
|
|
153
154
|
}
|
|
154
155
|
}
|
|
155
|
-
function
|
|
156
|
+
function Bt(a, i) {
|
|
156
157
|
const { width: s, height: n, xOffset: u, yOffset: c } = ce(a);
|
|
157
158
|
if (s >= n) {
|
|
158
159
|
const d = i / n, h = s - d, v = {
|
|
@@ -161,7 +162,7 @@ function Rt(a, i) {
|
|
|
161
162
|
width: h,
|
|
162
163
|
height: n
|
|
163
164
|
};
|
|
164
|
-
return
|
|
165
|
+
return Ee(v);
|
|
165
166
|
} else {
|
|
166
167
|
const d = i / s, h = n - d, v = {
|
|
167
168
|
xOffset: u,
|
|
@@ -169,16 +170,16 @@ function Rt(a, i) {
|
|
|
169
170
|
width: s,
|
|
170
171
|
height: h
|
|
171
172
|
};
|
|
172
|
-
return
|
|
173
|
+
return Ee(v);
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
|
-
const
|
|
176
|
+
const Ut = (a) => (rt("data-v-6f68fbde"), a = a(), ut(), a), Wt = ["id"], Ht = ["xmlns", "viewBox"], Et = { key: 0 }, Gt = ["id"], Xt = ["stop-color"], qt = ["stop-color"], jt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], Yt = ["x", "y", "height", "width"], Zt = {
|
|
176
177
|
style: { width: "100%", height: "100%" },
|
|
177
178
|
class: "vue-ui-treemap-cell"
|
|
178
|
-
},
|
|
179
|
+
}, Jt = /* @__PURE__ */ Ut(() => /* @__PURE__ */ S("br", null, null, -1)), Kt = {
|
|
179
180
|
key: 5,
|
|
180
181
|
class: "vue-data-ui-watermark"
|
|
181
|
-
},
|
|
182
|
+
}, Qt = ["onClick"], eo = { key: 0 }, to = { key: 1 }, oo = ["innerHTML"], lo = {
|
|
182
183
|
__name: "vue-ui-treemap",
|
|
183
184
|
props: {
|
|
184
185
|
config: {
|
|
@@ -196,81 +197,81 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
196
197
|
},
|
|
197
198
|
emits: ["selectLegend", "selectDatapoint"],
|
|
198
199
|
setup(a, { expose: i, emit: s }) {
|
|
199
|
-
const n = a, { vue_ui_treemap: u } =
|
|
200
|
-
get: () =>
|
|
200
|
+
const n = a, { vue_ui_treemap: u } = it(), c = w(() => !!n.dataset && n.dataset.length), d = w(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), h = f(Me()), v = f(!1), N = f(""), k = f(!1), z = f(0), y = f([]), p = f(null), _ = f(null), P = f(null), D = f(null), A = f(null), de = f(0), ve = f(0), he = f(0), e = w({
|
|
201
|
+
get: () => ye(),
|
|
201
202
|
set: (t) => t
|
|
202
|
-
});
|
|
203
|
-
function
|
|
204
|
-
const t =
|
|
203
|
+
}), { userOptionsVisible: fe, setUserOptionsVisibility: pe, keepUserOptionState: ge } = Pt({ config: e.value });
|
|
204
|
+
function ye() {
|
|
205
|
+
const t = We({
|
|
205
206
|
userConfig: n.config,
|
|
206
207
|
defaultConfig: u
|
|
207
208
|
});
|
|
208
209
|
return t.theme ? {
|
|
209
|
-
...
|
|
210
|
-
userConfig:
|
|
210
|
+
...We({
|
|
211
|
+
userConfig: ct.vue_ui_treemap[t.theme] || n.config,
|
|
211
212
|
defaultConfig: t
|
|
212
213
|
}),
|
|
213
|
-
customPalette:
|
|
214
|
+
customPalette: dt[t.theme] || T
|
|
214
215
|
} : t;
|
|
215
216
|
}
|
|
216
|
-
|
|
217
|
-
e.value =
|
|
217
|
+
ot(() => n.config, (t) => {
|
|
218
|
+
e.value = ye(), de.value += 1, ve.value += 1, he.value += 1;
|
|
218
219
|
}, { deep: !0 });
|
|
219
|
-
const { isPrinting:
|
|
220
|
+
const { isPrinting: me, isImaging: be, generatePdf: ke, generateImage: we } = kt({
|
|
220
221
|
elementId: `treemap_${h.value}`,
|
|
221
222
|
fileName: e.value.style.chart.title.text || "vue-ui-treemap"
|
|
222
|
-
}),
|
|
223
|
+
}), qe = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), Q = w(() => vt(e.value.customPalette)), M = f({
|
|
223
224
|
showTable: e.value.table.show,
|
|
224
225
|
showTooltip: e.value.style.chart.tooltip.show
|
|
225
|
-
}),
|
|
226
|
+
}), V = f({
|
|
226
227
|
height: e.value.style.chart.height,
|
|
227
228
|
width: e.value.style.chart.width
|
|
228
|
-
}),
|
|
229
|
-
bottom:
|
|
230
|
-
height:
|
|
229
|
+
}), U = w(() => ({
|
|
230
|
+
bottom: V.value.height - e.value.style.chart.padding.bottom,
|
|
231
|
+
height: V.value.height - e.value.style.chart.padding.top - e.value.style.chart.padding.bottom,
|
|
231
232
|
left: e.value.style.chart.padding.left,
|
|
232
|
-
right:
|
|
233
|
+
right: V.value.width - e.value.style.chart.padding.right,
|
|
233
234
|
top: e.value.style.chart.padding.top,
|
|
234
|
-
vbHeight:
|
|
235
|
-
vbWidth:
|
|
236
|
-
width:
|
|
235
|
+
vbHeight: V.value.height,
|
|
236
|
+
vbWidth: V.value.width,
|
|
237
|
+
width: V.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right
|
|
237
238
|
}));
|
|
238
|
-
function
|
|
239
|
+
function Ce(t) {
|
|
239
240
|
t.forEach((l, o) => {
|
|
240
|
-
l.id =
|
|
241
|
+
l.id = Me(), l.color = ae(l.color) || Q.value[o] || T[o] || T[o % T.length], l.children && (l.children.forEach((r) => {
|
|
241
242
|
r.parentId = l.id, r.color = l.color;
|
|
242
|
-
}),
|
|
243
|
+
}), Ce(l.children));
|
|
243
244
|
});
|
|
244
245
|
}
|
|
245
|
-
const
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
const W = f(n.dataset), ee = f(null);
|
|
247
|
+
lt(() => {
|
|
248
|
+
je();
|
|
248
249
|
});
|
|
249
|
-
function
|
|
250
|
-
if (
|
|
250
|
+
function je() {
|
|
251
|
+
if (ht(n.dataset) && ft({
|
|
251
252
|
componentName: "VueUiTreemap",
|
|
252
253
|
type: "dataset"
|
|
253
|
-
}),
|
|
254
|
-
const t =
|
|
255
|
-
const { width: l, height: o } =
|
|
254
|
+
}), Ce(W.value), e.value.responsive) {
|
|
255
|
+
const t = Ot(() => {
|
|
256
|
+
const { width: l, height: o } = St({
|
|
256
257
|
chart: p.value,
|
|
257
258
|
title: e.value.style.chart.title.text ? _.value : null,
|
|
258
259
|
legend: e.value.style.chart.legend.show ? P.value : null,
|
|
259
|
-
source:
|
|
260
|
+
source: D.value,
|
|
260
261
|
noTitle: A.value
|
|
261
262
|
});
|
|
262
|
-
|
|
263
|
+
V.value.width = l, V.value.height = o;
|
|
263
264
|
});
|
|
264
265
|
ee.value = new ResizeObserver(t), ee.value.observe(p.value.parentNode);
|
|
265
266
|
}
|
|
266
267
|
}
|
|
267
|
-
|
|
268
|
+
at(() => {
|
|
268
269
|
ee.value && ee.value.disconnect();
|
|
269
270
|
});
|
|
270
|
-
const se = f(
|
|
271
|
+
const se = f(W.value), Z = w(() => se.value.map((t, l) => ({
|
|
271
272
|
...t,
|
|
272
273
|
color: ae(t.color) || Q.value[l] || T[l] || T[l % T.length]
|
|
273
|
-
})).filter((t) => !y.value.includes(t.id))), q = w(() =>
|
|
274
|
+
})).filter((t) => !y.value.includes(t.id))), q = w(() => W.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value || 0).reduce((t, l) => t + l, 0)), $e = w({
|
|
274
275
|
get() {
|
|
275
276
|
let t = [...Z.value];
|
|
276
277
|
return e.value.style.chart.layout.sorted && (t = [...Z.value].sort((l, o) => o.value - l.value)), t.map((l) => ({
|
|
@@ -281,58 +282,58 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
281
282
|
return t;
|
|
282
283
|
}
|
|
283
284
|
});
|
|
284
|
-
function
|
|
285
|
+
function xe(t, l) {
|
|
285
286
|
return t.value / l;
|
|
286
287
|
}
|
|
287
|
-
function
|
|
288
|
-
const r = e.value.style.chart.layout.rects.colorRatio -
|
|
289
|
-
return
|
|
288
|
+
function Ye(t, l, o) {
|
|
289
|
+
const r = e.value.style.chart.layout.rects.colorRatio - xe(l, o);
|
|
290
|
+
return Ve(t, r < 0 ? 0 : r);
|
|
290
291
|
}
|
|
291
|
-
function
|
|
292
|
-
return t.map((
|
|
293
|
-
const le =
|
|
292
|
+
function Te(t, l, o, r) {
|
|
293
|
+
return t.map((b, B) => {
|
|
294
|
+
const le = Ye(ae(l) || Q.value[B] || T[B] || T[B % T.length], b, r), tt = xe(b, r);
|
|
294
295
|
return {
|
|
295
|
-
...
|
|
296
|
+
...b,
|
|
296
297
|
color: le,
|
|
297
|
-
proportion:
|
|
298
|
+
proportion: tt,
|
|
298
299
|
parentName: o,
|
|
299
|
-
children:
|
|
300
|
+
children: b.children ? Te(b.children, le, b.name, r) : void 0
|
|
300
301
|
};
|
|
301
302
|
});
|
|
302
303
|
}
|
|
303
|
-
const J = w(() =>
|
|
304
|
-
|
|
305
|
-
const o = t.children ? t.children.reduce((r,
|
|
304
|
+
const J = w(() => Lt(
|
|
305
|
+
$e.value.map((t, l) => {
|
|
306
|
+
const o = t.children ? t.children.reduce((r, b) => r + b.value, 0) : t.value;
|
|
306
307
|
return {
|
|
307
308
|
value: t.value,
|
|
308
309
|
id: t.id,
|
|
309
|
-
children: t.children ?
|
|
310
|
+
children: t.children ? Te(t.children.sort((r, b) => b.value - r.value), t.color, t.name, o) : void 0,
|
|
310
311
|
color: t.color,
|
|
311
312
|
name: t.name
|
|
312
313
|
};
|
|
313
314
|
}),
|
|
314
|
-
{ x0:
|
|
315
|
+
{ x0: U.value.left * 2, y0: U.value.top, x1: U.value.width, y1: U.value.height }
|
|
315
316
|
));
|
|
316
|
-
function
|
|
317
|
+
function _e({ y0: t, y1: l }) {
|
|
317
318
|
return l - t <= 0 ? 1e-4 : l - t;
|
|
318
319
|
}
|
|
319
|
-
function
|
|
320
|
+
function Oe({ x0: t, x1: l }) {
|
|
320
321
|
return l - t <= 0 ? 1e-4 : l - t;
|
|
321
322
|
}
|
|
322
|
-
function
|
|
323
|
+
function H(t) {
|
|
323
324
|
const l = e.value.style.chart.layout.labels.fontSize * (t.proportion * 2 > 1 ? 1 : t.proportion * 2);
|
|
324
325
|
return l < e.value.style.chart.layout.labels.minFontSize ? e.value.style.chart.layout.labels.minFontSize : l;
|
|
325
326
|
}
|
|
326
|
-
function
|
|
327
|
-
|
|
327
|
+
function Ze(t) {
|
|
328
|
+
k.value = t, z.value += 1;
|
|
328
329
|
}
|
|
329
330
|
const j = w(() => ({
|
|
330
331
|
startX: 0,
|
|
331
332
|
startY: 0,
|
|
332
|
-
width:
|
|
333
|
-
height:
|
|
333
|
+
width: U.value.vbWidth,
|
|
334
|
+
height: U.value.vbHeight
|
|
334
335
|
})), F = f(!1);
|
|
335
|
-
function re(t, l =
|
|
336
|
+
function re(t, l = W.value) {
|
|
336
337
|
for (const o of l) {
|
|
337
338
|
if (o.id === t)
|
|
338
339
|
return o;
|
|
@@ -344,9 +345,9 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
344
345
|
}
|
|
345
346
|
return null;
|
|
346
347
|
}
|
|
347
|
-
function
|
|
348
|
+
function Je(t) {
|
|
348
349
|
if (F.value)
|
|
349
|
-
s("selectDatapoint", void 0), se.value =
|
|
350
|
+
s("selectDatapoint", void 0), se.value = W.value;
|
|
350
351
|
else {
|
|
351
352
|
if (s("selectDatapoint", t), !re(t.parentId))
|
|
352
353
|
return;
|
|
@@ -354,15 +355,15 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
354
355
|
}
|
|
355
356
|
F.value = !F.value;
|
|
356
357
|
}
|
|
357
|
-
const I = f(null),
|
|
358
|
+
const I = f(null), Se = w(() => W.value.map((t, l) => ({
|
|
358
359
|
...t,
|
|
359
360
|
color: ae(t.color) || Q.value[l] || T[l] || T[l % T.length],
|
|
360
361
|
shape: "square"
|
|
361
362
|
})).sort((t, l) => l.value - t.value).map((t, l) => ({
|
|
362
363
|
...t,
|
|
363
|
-
proportion: t.value /
|
|
364
|
+
proportion: t.value / W.value.map((o) => o.value).reduce((o, r) => o + r, 0),
|
|
364
365
|
opacity: y.value.includes(t.id) ? 0.5 : 1
|
|
365
|
-
}))),
|
|
366
|
+
}))), Ke = w(() => ({
|
|
366
367
|
cy: "treemap-div-legend",
|
|
367
368
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
368
369
|
color: e.value.style.chart.legend.color,
|
|
@@ -370,14 +371,14 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
370
371
|
paddingBottom: 12,
|
|
371
372
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
372
373
|
}));
|
|
373
|
-
function
|
|
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",
|
|
374
|
+
function Ne(t) {
|
|
375
|
+
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", $e.value);
|
|
375
376
|
}
|
|
376
377
|
const ue = f(null);
|
|
377
|
-
function
|
|
378
|
+
function Qe({ datapoint: t, seriesIndex: l }) {
|
|
378
379
|
I.value = t, ue.value = { datapoint: t, seriesIndex: l, config: e.value, series: Z.value };
|
|
379
380
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
380
|
-
if (
|
|
381
|
+
if (Ue(o) && gt(() => o({
|
|
381
382
|
seriesIndex: l,
|
|
382
383
|
datapoint: t,
|
|
383
384
|
series: Z.value,
|
|
@@ -412,12 +413,12 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
412
413
|
})), l = J.value.map((o) => o.value);
|
|
413
414
|
return { head: t, body: l };
|
|
414
415
|
});
|
|
415
|
-
function
|
|
416
|
-
|
|
417
|
-
const t = L.value.head.map((r,
|
|
416
|
+
function ze() {
|
|
417
|
+
st(() => {
|
|
418
|
+
const t = L.value.head.map((r, b) => [[
|
|
418
419
|
r.name
|
|
419
|
-
], [L.value.body[
|
|
420
|
-
|
|
420
|
+
], [L.value.body[b]], [isNaN(L.value.body[b] / q.value) ? "-" : L.value.body[b] / q.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), o = yt(l);
|
|
421
|
+
mt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-treemap" });
|
|
421
422
|
});
|
|
422
423
|
}
|
|
423
424
|
const te = w(() => {
|
|
@@ -425,26 +426,26 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
425
426
|
e.value.table.columnNames.series,
|
|
426
427
|
e.value.table.columnNames.value,
|
|
427
428
|
e.value.table.columnNames.percentage
|
|
428
|
-
], l = L.value.head.map((
|
|
429
|
+
], l = L.value.head.map((b, B) => {
|
|
429
430
|
const le = ne(
|
|
430
431
|
e.value.style.chart.layout.labels.formatter,
|
|
431
|
-
L.value.body[
|
|
432
|
+
L.value.body[B],
|
|
432
433
|
K({
|
|
433
434
|
p: e.value.style.chart.layout.labels.prefix,
|
|
434
|
-
v: L.value.body[
|
|
435
|
+
v: L.value.body[B],
|
|
435
436
|
s: e.value.style.chart.layout.labels.suffix,
|
|
436
437
|
r: e.value.table.td.roundingValue
|
|
437
438
|
})
|
|
438
439
|
);
|
|
439
440
|
return [
|
|
440
441
|
{
|
|
441
|
-
color:
|
|
442
|
-
name:
|
|
442
|
+
color: b.color,
|
|
443
|
+
name: b.name,
|
|
443
444
|
shape: "square"
|
|
444
445
|
},
|
|
445
446
|
le,
|
|
446
|
-
isNaN(L.value.body[
|
|
447
|
-
v: L.value.body[
|
|
447
|
+
isNaN(L.value.body[B] / q.value) ? "-" : K({
|
|
448
|
+
v: L.value.body[B] / q.value * 100,
|
|
448
449
|
s: "%",
|
|
449
450
|
r: e.value.table.td.roundingPercentage
|
|
450
451
|
})
|
|
@@ -472,35 +473,37 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
472
473
|
config: o
|
|
473
474
|
};
|
|
474
475
|
});
|
|
475
|
-
function
|
|
476
|
+
function et() {
|
|
476
477
|
return J.value;
|
|
477
478
|
}
|
|
478
|
-
function
|
|
479
|
-
|
|
479
|
+
function Pe() {
|
|
480
|
+
M.value.showTable = !M.value.showTable;
|
|
480
481
|
}
|
|
481
|
-
function
|
|
482
|
-
|
|
482
|
+
function Ae() {
|
|
483
|
+
M.value.showTooltip = !M.value.showTooltip;
|
|
483
484
|
}
|
|
484
485
|
const oe = f(!1);
|
|
485
486
|
function ie() {
|
|
486
487
|
oe.value = !oe.value;
|
|
487
488
|
}
|
|
488
489
|
return i({
|
|
489
|
-
getData:
|
|
490
|
-
generateCsv:
|
|
491
|
-
generateImage:
|
|
492
|
-
generatePdf:
|
|
493
|
-
toggleTable:
|
|
494
|
-
toggleTooltip:
|
|
490
|
+
getData: et,
|
|
491
|
+
generateCsv: ze,
|
|
492
|
+
generateImage: we,
|
|
493
|
+
generatePdf: ke,
|
|
494
|
+
toggleTable: Pe,
|
|
495
|
+
toggleTooltip: Ae,
|
|
495
496
|
toggleAnnotator: ie
|
|
496
|
-
}), (t, l) => (g(),
|
|
497
|
+
}), (t, l) => (g(), C("div", {
|
|
497
498
|
ref_key: "treemapChart",
|
|
498
499
|
ref: p,
|
|
499
|
-
class:
|
|
500
|
-
style:
|
|
501
|
-
id: `treemap_${h.value}
|
|
500
|
+
class: Fe(`vue-ui-treemap ${k.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
501
|
+
style: R(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
502
|
+
id: `treemap_${h.value}`,
|
|
503
|
+
onMouseenter: l[3] || (l[3] = () => m(pe)(!0)),
|
|
504
|
+
onMouseleave: l[4] || (l[4] = () => m(pe)(!1))
|
|
502
505
|
}, [
|
|
503
|
-
e.value.userOptions.buttons.annotator ? (g(),
|
|
506
|
+
e.value.userOptions.buttons.annotator ? (g(), E(zt, {
|
|
504
507
|
key: 0,
|
|
505
508
|
parent: p.value,
|
|
506
509
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -508,20 +511,20 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
508
511
|
active: oe.value,
|
|
509
512
|
onClose: ie
|
|
510
513
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : O("", !0),
|
|
511
|
-
|
|
514
|
+
qe.value ? (g(), C("div", {
|
|
512
515
|
key: 1,
|
|
513
516
|
ref_key: "noTitle",
|
|
514
517
|
ref: A,
|
|
515
518
|
class: "vue-data-ui-no-title-space",
|
|
516
519
|
style: "height:36px; width: 100%;background:transparent"
|
|
517
520
|
}, null, 512)) : O("", !0),
|
|
518
|
-
e.value.style.chart.title.text ? (g(),
|
|
521
|
+
e.value.style.chart.title.text ? (g(), C("div", {
|
|
519
522
|
key: 2,
|
|
520
523
|
ref_key: "chartTitle",
|
|
521
524
|
ref: _,
|
|
522
|
-
style:
|
|
525
|
+
style: R(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:6px`)
|
|
523
526
|
}, [
|
|
524
|
-
(g(),
|
|
527
|
+
(g(), E(bt, {
|
|
525
528
|
key: `title_${de.value}`,
|
|
526
529
|
config: {
|
|
527
530
|
title: {
|
|
@@ -535,13 +538,13 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
535
538
|
}
|
|
536
539
|
}, null, 8, ["config"]))
|
|
537
540
|
], 4)) : O("", !0),
|
|
538
|
-
e.value.userOptions.show && c.value ? (g(),
|
|
541
|
+
e.value.userOptions.show && c.value && (m(ge) || m(fe)) ? (g(), E(wt, {
|
|
539
542
|
ref: "details",
|
|
540
543
|
key: `user_option_${z.value}`,
|
|
541
544
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
542
545
|
color: e.value.style.chart.color,
|
|
543
|
-
isPrinting:
|
|
544
|
-
isImaging:
|
|
546
|
+
isPrinting: m(me),
|
|
547
|
+
isImaging: m(be),
|
|
545
548
|
uid: h.value,
|
|
546
549
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
547
550
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -549,21 +552,24 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
549
552
|
hasImg: e.value.userOptions.buttons.img,
|
|
550
553
|
hasTable: e.value.userOptions.buttons.table,
|
|
551
554
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
552
|
-
isFullscreen:
|
|
553
|
-
isTooltip:
|
|
555
|
+
isFullscreen: k.value,
|
|
556
|
+
isTooltip: M.value.showTooltip,
|
|
554
557
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
555
558
|
chartElement: p.value,
|
|
556
559
|
position: e.value.userOptions.position,
|
|
557
560
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
558
561
|
isAnnotation: oe.value,
|
|
559
|
-
onToggleFullscreen:
|
|
560
|
-
onGeneratePdf:
|
|
561
|
-
onGenerateCsv:
|
|
562
|
-
onGenerateImage:
|
|
563
|
-
onToggleTable:
|
|
564
|
-
onToggleTooltip:
|
|
565
|
-
onToggleAnnotator: ie
|
|
566
|
-
|
|
562
|
+
onToggleFullscreen: Ze,
|
|
563
|
+
onGeneratePdf: m(ke),
|
|
564
|
+
onGenerateCsv: ze,
|
|
565
|
+
onGenerateImage: m(we),
|
|
566
|
+
onToggleTable: Pe,
|
|
567
|
+
onToggleTooltip: Ae,
|
|
568
|
+
onToggleAnnotator: ie,
|
|
569
|
+
style: R({
|
|
570
|
+
visibility: m(ge) ? m(fe) ? "visible" : "hidden" : "visible"
|
|
571
|
+
})
|
|
572
|
+
}, nt({ _: 2 }, [
|
|
567
573
|
t.$slots.optionTooltip ? {
|
|
568
574
|
name: "optionTooltip",
|
|
569
575
|
fn: x(() => [
|
|
@@ -602,28 +608,28 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
602
608
|
t.$slots.optionFullscreen ? {
|
|
603
609
|
name: "optionFullscreen",
|
|
604
610
|
fn: x(({ toggleFullscreen: o, isFullscreen: r }) => [
|
|
605
|
-
$(t.$slots, "optionFullscreen",
|
|
611
|
+
$(t.$slots, "optionFullscreen", G(X({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
|
|
606
612
|
]),
|
|
607
613
|
key: "5"
|
|
608
614
|
} : void 0,
|
|
609
615
|
t.$slots.optionAnnotator ? {
|
|
610
616
|
name: "optionAnnotator",
|
|
611
617
|
fn: x(({ toggleAnnotator: o, isAnnotator: r }) => [
|
|
612
|
-
$(t.$slots, "optionAnnotator",
|
|
618
|
+
$(t.$slots, "optionAnnotator", G(X({ toggleAnnotator: o, isAnnotator: r })), void 0, !0)
|
|
613
619
|
]),
|
|
614
620
|
key: "6"
|
|
615
621
|
} : void 0
|
|
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(),
|
|
622
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : O("", !0),
|
|
623
|
+
c.value ? (g(), C("svg", {
|
|
618
624
|
key: 4,
|
|
619
|
-
xmlns:
|
|
620
|
-
class:
|
|
625
|
+
xmlns: m(pt),
|
|
626
|
+
class: Fe({ "vue-data-ui-fullscreen--on": k.value, "vue-data-ui-fulscreen--off": !k.value, "vue-data-ui-zoom-plus": !F.value, "vue-data-ui-zoom-minus": F.value }),
|
|
621
627
|
viewBox: `${j.value.startX} ${j.value.startY} ${j.value.width <= 0 ? 10 : j.value.width} ${j.value.height <= 0 ? 10 : j.value.height}`,
|
|
622
|
-
style:
|
|
628
|
+
style: R(`max-width:100%; overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
|
|
623
629
|
}, [
|
|
624
|
-
|
|
625
|
-
(g(!0),
|
|
626
|
-
e.value.style.chart.layout.rects.gradient.show ? (g(),
|
|
630
|
+
Ie(Nt),
|
|
631
|
+
(g(!0), C(Le, null, Re(J.value, (o, r) => (g(), C("g", null, [
|
|
632
|
+
e.value.style.chart.layout.rects.gradient.show ? (g(), C("defs", Et, [
|
|
627
633
|
S("radialGradient", {
|
|
628
634
|
id: `tgrad_${o.id}`,
|
|
629
635
|
gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
|
|
@@ -631,58 +637,58 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
631
637
|
S("stop", {
|
|
632
638
|
offset: "18%",
|
|
633
639
|
"stop-color": o.color
|
|
634
|
-
}, null, 8,
|
|
640
|
+
}, null, 8, Xt),
|
|
635
641
|
S("stop", {
|
|
636
642
|
offset: "100%",
|
|
637
|
-
"stop-color":
|
|
638
|
-
}, null, 8,
|
|
639
|
-
], 8,
|
|
643
|
+
"stop-color": m(Ve)(o.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
|
|
644
|
+
}, null, 8, qt)
|
|
645
|
+
], 8, Gt)
|
|
640
646
|
])) : O("", !0)
|
|
641
647
|
]))), 256)),
|
|
642
|
-
(g(!0),
|
|
648
|
+
(g(!0), C(Le, null, Re(J.value, (o, r) => (g(), C("g", null, [
|
|
643
649
|
S("rect", {
|
|
644
650
|
x: o.x0,
|
|
645
651
|
y: o.y0,
|
|
646
|
-
height:
|
|
647
|
-
width:
|
|
652
|
+
height: _e(o),
|
|
653
|
+
width: Oe(o),
|
|
648
654
|
fill: d.value ? o.color : e.value.style.chart.layout.rects.gradient.show ? `url(#tgrad_${o.id})` : o.color,
|
|
649
655
|
rx: e.value.style.chart.layout.rects.borderRadius,
|
|
650
656
|
stroke: I.value && I.value.id === o.id ? e.value.style.chart.layout.rects.selected.stroke : e.value.style.chart.layout.rects.stroke,
|
|
651
657
|
"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
|
-
onClick: (
|
|
653
|
-
onMouseenter: () =>
|
|
658
|
+
onClick: (b) => Je(o),
|
|
659
|
+
onMouseenter: () => Qe({
|
|
654
660
|
datapoint: o,
|
|
655
661
|
seriesIndex: r
|
|
656
662
|
}),
|
|
657
|
-
onMouseleave: l[0] || (l[0] = (
|
|
663
|
+
onMouseleave: l[0] || (l[0] = (b) => {
|
|
658
664
|
I.value = null, v.value = !1;
|
|
659
665
|
}),
|
|
660
|
-
style:
|
|
666
|
+
style: R(`opacity:${I.value ? I.value.id === o.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
|
|
661
667
|
class: "vue-ui-treemap-rect"
|
|
662
|
-
}, null, 44,
|
|
663
|
-
(g(),
|
|
668
|
+
}, null, 44, jt),
|
|
669
|
+
(g(), C("foreignObject", {
|
|
664
670
|
x: o.x0,
|
|
665
671
|
y: o.y0,
|
|
666
|
-
height:
|
|
667
|
-
width:
|
|
672
|
+
height: _e(o),
|
|
673
|
+
width: Oe(o),
|
|
668
674
|
class: "vue-ui-treemap-cell-foreignObject"
|
|
669
675
|
}, [
|
|
670
|
-
S("div",
|
|
671
|
-
e.value.style.chart.layout.labels.showDefaultLabels && (o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || F.value) ? (g(),
|
|
676
|
+
S("div", Zt, [
|
|
677
|
+
e.value.style.chart.layout.labels.showDefaultLabels && (o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || F.value) ? (g(), C("div", {
|
|
672
678
|
key: 0,
|
|
673
679
|
class: "vue-ui-treemap-cell-default",
|
|
674
|
-
style:
|
|
680
|
+
style: R(`width:calc(100% - ${H(o) / 1.5}px);text-align:left;line-height:${H(o) < 14 ? 14 : H(o)}px;padding:${H(o) / 3}px; color:${m(Be)(o.color)}`)
|
|
675
681
|
}, [
|
|
676
682
|
S("span", {
|
|
677
|
-
style:
|
|
683
|
+
style: R(`width:100%;font-size:${H(o)}px;`)
|
|
678
684
|
}, Y(o.name), 5),
|
|
679
|
-
|
|
685
|
+
Jt,
|
|
680
686
|
S("span", {
|
|
681
|
-
style:
|
|
682
|
-
}, Y(
|
|
687
|
+
style: R(`width:100%;font-size:${H(o)}px;`)
|
|
688
|
+
}, Y(m(ne)(
|
|
683
689
|
e.value.style.chart.layout.labels.formatter,
|
|
684
690
|
o.value,
|
|
685
|
-
|
|
691
|
+
m(K)({
|
|
686
692
|
p: e.value.style.chart.layout.labels.prefix,
|
|
687
693
|
v: o.value,
|
|
688
694
|
s: e.value.style.chart.layout.labels.suffix,
|
|
@@ -691,22 +697,22 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
691
697
|
{ datapoint: o }
|
|
692
698
|
)), 5)
|
|
693
699
|
], 4)) : O("", !0),
|
|
694
|
-
$(t.$slots, "rect",
|
|
700
|
+
$(t.$slots, "rect", G(X({
|
|
695
701
|
rect: o,
|
|
696
702
|
shouldShow: o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || F.value,
|
|
697
|
-
fontSize:
|
|
703
|
+
fontSize: H(o),
|
|
698
704
|
isZoom: F.value,
|
|
699
|
-
textColor:
|
|
705
|
+
textColor: m(Be)(o.color)
|
|
700
706
|
})), void 0, !0)
|
|
701
707
|
])
|
|
702
|
-
], 8,
|
|
708
|
+
], 8, Yt))
|
|
703
709
|
]))), 256)),
|
|
704
|
-
$(t.$slots, "svg",
|
|
705
|
-
], 14,
|
|
706
|
-
t.$slots.watermark ? (g(),
|
|
707
|
-
$(t.$slots, "watermark",
|
|
710
|
+
$(t.$slots, "svg", G(X({ svg: U.value, isZoom: F.value, rect: I.value, config: e.value })), void 0, !0)
|
|
711
|
+
], 14, Ht)) : O("", !0),
|
|
712
|
+
t.$slots.watermark ? (g(), C("div", Kt, [
|
|
713
|
+
$(t.$slots, "watermark", G(X({ isPrinting: m(me) || m(be) })), void 0, !0)
|
|
708
714
|
])) : O("", !0),
|
|
709
|
-
c.value ? O("", !0) : (g(),
|
|
715
|
+
c.value ? O("", !0) : (g(), E(xt, {
|
|
710
716
|
key: 6,
|
|
711
717
|
config: {
|
|
712
718
|
type: "treemap",
|
|
@@ -722,22 +728,22 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
722
728
|
ref_key: "chartLegend",
|
|
723
729
|
ref: P
|
|
724
730
|
}, [
|
|
725
|
-
e.value.style.chart.legend.show ? (g(),
|
|
731
|
+
e.value.style.chart.legend.show ? (g(), E($t, {
|
|
726
732
|
key: `legend_${he.value}`,
|
|
727
|
-
legendSet:
|
|
728
|
-
config:
|
|
733
|
+
legendSet: Se.value,
|
|
734
|
+
config: Ke.value,
|
|
729
735
|
id: `treemap_legend_${h.value}`,
|
|
730
|
-
onClickMarker: l[1] || (l[1] = ({ legend: o }) =>
|
|
736
|
+
onClickMarker: l[1] || (l[1] = ({ legend: o }) => Ne(o))
|
|
731
737
|
}, {
|
|
732
738
|
item: x(({ legend: o, index: r }) => [
|
|
733
739
|
S("div", {
|
|
734
|
-
onClick: (
|
|
735
|
-
style:
|
|
740
|
+
onClick: (b) => Ne(o),
|
|
741
|
+
style: R(`opacity:${y.value.includes(o.id) ? 0.5 : 1}`)
|
|
736
742
|
}, [
|
|
737
|
-
|
|
743
|
+
De(Y(o.name) + ": " + Y(m(ne)(
|
|
738
744
|
e.value.style.chart.layout.labels.formatter,
|
|
739
745
|
o.value,
|
|
740
|
-
|
|
746
|
+
m(K)({
|
|
741
747
|
p: e.value.style.chart.layout.labels.prefix,
|
|
742
748
|
v: o.value,
|
|
743
749
|
s: e.value.style.chart.layout.labels.suffix,
|
|
@@ -745,25 +751,25 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
745
751
|
}),
|
|
746
752
|
{ datapoint: o }
|
|
747
753
|
)) + " ", 1),
|
|
748
|
-
y.value.includes(o.id) ? (g(),
|
|
749
|
-
], 12,
|
|
754
|
+
y.value.includes(o.id) ? (g(), C("span", to, " ( - % ) ")) : (g(), C("span", eo, " (" + Y(isNaN(o.value / q.value) ? "-" : (o.value / q.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
|
|
755
|
+
], 12, Qt)
|
|
750
756
|
]),
|
|
751
757
|
_: 1
|
|
752
758
|
}, 8, ["legendSet", "config", "id"])) : $(t.$slots, "legend", {
|
|
753
759
|
key: 1,
|
|
754
|
-
legend:
|
|
760
|
+
legend: Se.value
|
|
755
761
|
}, void 0, !0)
|
|
756
762
|
], 512),
|
|
757
|
-
t.$slots.source ? (g(),
|
|
763
|
+
t.$slots.source ? (g(), C("div", {
|
|
758
764
|
key: 7,
|
|
759
765
|
ref_key: "source",
|
|
760
|
-
ref:
|
|
766
|
+
ref: D,
|
|
761
767
|
dir: "auto"
|
|
762
768
|
}, [
|
|
763
769
|
$(t.$slots, "source", {}, void 0, !0)
|
|
764
770
|
], 512)) : O("", !0),
|
|
765
|
-
|
|
766
|
-
show:
|
|
771
|
+
Ie(Ct, {
|
|
772
|
+
show: M.value.showTooltip && v.value,
|
|
767
773
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
768
774
|
color: e.value.style.chart.tooltip.color,
|
|
769
775
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -775,22 +781,22 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
775
781
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
776
782
|
parent: p.value,
|
|
777
783
|
content: N.value,
|
|
778
|
-
isFullscreen:
|
|
779
|
-
isCustom:
|
|
784
|
+
isFullscreen: k.value,
|
|
785
|
+
isCustom: m(Ue)(e.value.style.chart.tooltip.customFormat)
|
|
780
786
|
}, {
|
|
781
787
|
"tooltip-before": x(() => [
|
|
782
|
-
$(t.$slots, "tooltip-before",
|
|
788
|
+
$(t.$slots, "tooltip-before", G(X({ ...ue.value })), void 0, !0)
|
|
783
789
|
]),
|
|
784
790
|
"tooltip-after": x(() => [
|
|
785
|
-
$(t.$slots, "tooltip-after",
|
|
791
|
+
$(t.$slots, "tooltip-after", G(X({ ...ue.value })), void 0, !0)
|
|
786
792
|
]),
|
|
787
793
|
_: 3
|
|
788
794
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
789
|
-
c.value ? (g(),
|
|
795
|
+
c.value ? (g(), E(_t, {
|
|
790
796
|
key: 8,
|
|
791
797
|
hideDetails: "",
|
|
792
798
|
config: {
|
|
793
|
-
open:
|
|
799
|
+
open: M.value.showTable,
|
|
794
800
|
maxHeight: 1e4,
|
|
795
801
|
body: {
|
|
796
802
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -803,32 +809,32 @@ const Dt = (a) => (at("data-v-69853ca9"), a = a(), nt(), a), Mt = ["id"], Vt = [
|
|
|
803
809
|
}
|
|
804
810
|
}, {
|
|
805
811
|
content: x(() => [
|
|
806
|
-
(g(),
|
|
812
|
+
(g(), E(Tt, {
|
|
807
813
|
key: `table_${ve.value}`,
|
|
808
814
|
colNames: te.value.colNames,
|
|
809
815
|
head: te.value.head,
|
|
810
816
|
body: te.value.body,
|
|
811
817
|
config: te.value.config,
|
|
812
818
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
813
|
-
onClose: l[2] || (l[2] = (o) =>
|
|
819
|
+
onClose: l[2] || (l[2] = (o) => M.value.showTable = !1)
|
|
814
820
|
}, {
|
|
815
821
|
th: x(({ th: o }) => [
|
|
816
822
|
S("div", {
|
|
817
823
|
innerHTML: o,
|
|
818
824
|
style: { display: "flex", "align-items": "center" }
|
|
819
|
-
}, null, 8,
|
|
825
|
+
}, null, 8, oo)
|
|
820
826
|
]),
|
|
821
827
|
td: x(({ td: o }) => [
|
|
822
|
-
|
|
828
|
+
De(Y(o.name || o), 1)
|
|
823
829
|
]),
|
|
824
830
|
_: 1
|
|
825
831
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
826
832
|
]),
|
|
827
833
|
_: 1
|
|
828
834
|
}, 8, ["config"])) : O("", !0)
|
|
829
|
-
],
|
|
835
|
+
], 46, Wt));
|
|
830
836
|
}
|
|
831
|
-
},
|
|
837
|
+
}, ko = /* @__PURE__ */ At(lo, [["__scopeId", "data-v-6f68fbde"]]);
|
|
832
838
|
export {
|
|
833
|
-
|
|
839
|
+
ko as default
|
|
834
840
|
};
|