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,21 +1,22 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { L as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { useCssVars as at, computed as b, ref as r, watch as Ae, onMounted as lt, onBeforeUnmount as ot, openBlock as u, createElementBlock as i, normalizeClass as U, normalizeStyle as d, unref as c, createBlock as O, createCommentVNode as y, createSlots as nt, withCtx as k, renderSlot as _, normalizeProps as G, guardReactiveProps as H, createElementVNode as n, toDisplayString as v, createVNode as re, Fragment as W, renderList as j, withKeys as ut, createTextVNode as st } from "vue";
|
|
2
|
+
import { u as rt, c as it, t as dt, a as ct, p as z, b as vt, o as Be, e as Z, v as S, d as ie, i as ee, f as I, X as ht, s as de, w as pt, x as yt, y as gt, q as ft, r as bt } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { t as mt, u as _t } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as kt } from "./Title-aSAft5dl.js";
|
|
5
|
+
import { u as xt, U as $t } from "./usePrinter-DaybDVqP.js";
|
|
6
|
+
import { _ as Ct } from "./Tooltip-smutPF--.js";
|
|
7
|
+
import { L as De } from "./Legend-BLaZxMge.js";
|
|
8
|
+
import wt from "./vue-ui-skeleton-Bniq21d9.js";
|
|
9
|
+
import Tt from "./BaseIcon-CmiukQBl.js";
|
|
10
|
+
import Lt from "./vue-ui-accordion-5d5iVpr7.js";
|
|
11
|
+
import { u as Re } from "./useNestedProp-BN8claGG.js";
|
|
12
|
+
import { _ as Nt } from "./PackageVersion-CxJghxYD.js";
|
|
13
|
+
import { P as Pt } from "./PenAndPaper-ZdZEumki.js";
|
|
14
|
+
import { u as St } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Ft = ["id"], Mt = ["onClick"], Ot = ["xmlns", "viewBox"], zt = ["id"], It = ["stop-color"], At = ["stop-color"], Bt = ["x", "y", "width", "height", "fill", "rx"], Dt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Rt = ["x2", "y1", "y2", "stroke", "stroke-width"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Et = ["x", "y", "font-size", "fill", "font-weight"], Gt = ["x", "y", "font-size", "fill", "font-weight"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Wt = ["y", "width", "height", "fill", "onMouseenter"], jt = {
|
|
16
17
|
key: 6,
|
|
17
18
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
19
|
+
}, Yt = ["onClick"], qt = { style: "width:100%;padding-top: 36px;position:relative" }, Kt = { class: "vue-ui-data-table" }, Jt = { key: 0 }, Qt = { style: { width: "100%" } }, Zt = ["data-cell"], ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ta = ["data-cell"], aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = ["data-cell"], oa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, na = ["data-cell"], ua = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sa = ["data-cell"], ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ia = ["data-cell"], da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ca = ["data-cell"], va = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = {
|
|
19
20
|
__name: "vue-ui-vertical-bar",
|
|
20
21
|
props: {
|
|
21
22
|
config: {
|
|
@@ -32,76 +33,76 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
emits: ["selectLegend"],
|
|
35
|
-
setup(
|
|
36
|
-
const C =
|
|
37
|
-
|
|
38
|
-
"
|
|
36
|
+
setup(Ue, { expose: Xe, emit: Ee }) {
|
|
37
|
+
const C = Ue;
|
|
38
|
+
at((t) => ({
|
|
39
|
+
"443c2c5a": t.tdo
|
|
39
40
|
}));
|
|
40
|
-
const { vue_ui_vertical_bar:
|
|
41
|
-
get: () =>
|
|
41
|
+
const { vue_ui_vertical_bar: Ge } = rt(), Y = b(() => !!C.dataset && C.dataset.length), V = r(it()), He = r(null), te = r(!1), ae = r(""), q = r(0), We = r(null), ce = r(0), A = r(null), ve = r(null), le = r(null), he = r(null), pe = r(null), ye = r(0), oe = r(0), e = b({
|
|
42
|
+
get: () => me(),
|
|
42
43
|
set: (t) => t
|
|
43
|
-
});
|
|
44
|
-
function
|
|
45
|
-
const t =
|
|
44
|
+
}), { userOptionsVisible: ge, setUserOptionsVisibility: fe, keepUserOptionState: be } = St({ config: e.value });
|
|
45
|
+
function me() {
|
|
46
|
+
const t = Re({
|
|
46
47
|
userConfig: C.config,
|
|
47
|
-
defaultConfig:
|
|
48
|
+
defaultConfig: Ge
|
|
48
49
|
});
|
|
49
50
|
return t.theme ? {
|
|
50
|
-
...
|
|
51
|
-
userConfig:
|
|
51
|
+
...Re({
|
|
52
|
+
userConfig: dt.vue_ui_vertical_bar[t.theme] || C.config,
|
|
52
53
|
defaultConfig: t
|
|
53
54
|
}),
|
|
54
|
-
customPalette:
|
|
55
|
+
customPalette: ct[t.theme] || z
|
|
55
56
|
} : t;
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
-
e.value =
|
|
59
|
-
}, { deep: !0 }),
|
|
60
|
-
const { isPrinting:
|
|
58
|
+
Ae(() => C.config, (t) => {
|
|
59
|
+
e.value = me(), Le(), ye.value += 1, oe.value += 1, h.value = e.value.style.chart.layout.bars.height, g.value = e.value.style.chart.layout.bars.gap;
|
|
60
|
+
}, { deep: !0 }), Ae(() => C.dataset, J, { deep: !0 });
|
|
61
|
+
const { isPrinting: _e, isImaging: ke, generatePdf: xe, generateImage: $e } = xt({
|
|
61
62
|
elementId: `vue-ui-vertical-bar_${V.value}`,
|
|
62
63
|
fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
|
|
63
|
-
}),
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
}), je = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ce = b(() => vt(e.value.customPalette)), we = r(null), Te = r(!1), Ye = b(() => e.value.table.responsiveBreakpoint), K = r(null);
|
|
65
|
+
lt(() => {
|
|
66
|
+
Le();
|
|
66
67
|
});
|
|
67
|
-
function
|
|
68
|
-
if (
|
|
68
|
+
function Le() {
|
|
69
|
+
if (Be(C.dataset) && Z({
|
|
69
70
|
componentName: "VueUiVerticalBar",
|
|
70
71
|
type: "dataset"
|
|
71
|
-
}), q.value = C.dataset.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0),
|
|
72
|
-
const t =
|
|
73
|
-
const { width: l, height: a } =
|
|
72
|
+
}), q.value = C.dataset.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), qe(), e.value.responsive) {
|
|
73
|
+
const t = mt(() => {
|
|
74
|
+
const { width: l, height: a } = _t({
|
|
74
75
|
chart: A.value,
|
|
75
76
|
title: e.value.style.chart.title.text ? ve.value : null,
|
|
76
77
|
legend: e.value.style.chart.legend.show ? le.value : null,
|
|
77
78
|
source: he.value,
|
|
78
79
|
noTitle: pe.value
|
|
79
80
|
});
|
|
80
|
-
|
|
81
|
+
Se.value = l, h.value = a / q.value - g.value * 2;
|
|
81
82
|
});
|
|
82
83
|
K.value = new ResizeObserver(t), K.value.observe(A.value.parentNode);
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
|
-
|
|
86
|
+
ot(() => {
|
|
86
87
|
K.value && K.value.disconnect();
|
|
87
88
|
});
|
|
88
|
-
function
|
|
89
|
+
function qe() {
|
|
89
90
|
new ResizeObserver((l) => {
|
|
90
91
|
l.forEach((a) => {
|
|
91
|
-
|
|
92
|
+
Te.value = a.contentRect.width < Ye.value;
|
|
92
93
|
});
|
|
93
|
-
}).observe(
|
|
94
|
+
}).observe(we.value);
|
|
94
95
|
}
|
|
95
96
|
const $ = r({
|
|
96
97
|
showTable: e.value.table.show,
|
|
97
98
|
sortDesc: e.value.style.chart.layout.bars.sort === "desc",
|
|
98
99
|
showTooltip: e.value.style.chart.tooltip.show
|
|
99
|
-
}),
|
|
100
|
+
}), Ne = b(() => $.value.sortDesc), F = b(() => (C.dataset.forEach((t, l) => {
|
|
100
101
|
!t.value && !t.children && Z({
|
|
101
102
|
componentName: "VueUiVerticalBar",
|
|
102
103
|
type: "datasetAttributeEmpty",
|
|
103
104
|
property: `value (index ${l})`
|
|
104
|
-
}), t.children && (
|
|
105
|
+
}), t.children && (Be(t.children) ? Z({
|
|
105
106
|
componentName: "VueUiVerticalBar",
|
|
106
107
|
type: "datasetAttributeEmpty",
|
|
107
108
|
property: `children (index ${l})`
|
|
@@ -125,10 +126,10 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
125
126
|
sign: p,
|
|
126
127
|
hasChildren: o,
|
|
127
128
|
isChild: !1,
|
|
128
|
-
segregate: () =>
|
|
129
|
+
segregate: () => X(a),
|
|
129
130
|
isSegregated: T.value.includes(a),
|
|
130
|
-
color: ie(t.color) ||
|
|
131
|
-
children: !t.children || !t.children.length ? [] : t.children.toSorted((x, N) =>
|
|
131
|
+
color: ie(t.color) || Ce.value[l] || z[l] || z[l % z.length],
|
|
132
|
+
children: !t.children || !t.children.length ? [] : t.children.toSorted((x, N) => Ne.value ? N.value - x.value : x.value - N.value).map((x, N) => ({
|
|
132
133
|
...x,
|
|
133
134
|
value: S(Math.abs(x.value)),
|
|
134
135
|
sign: x.value >= 0 ? 1 : -1,
|
|
@@ -139,23 +140,23 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
139
140
|
parentSign: p,
|
|
140
141
|
id: `vertical_child_${l}_${N}_${V.value}`,
|
|
141
142
|
childIndex: N,
|
|
142
|
-
color: ie(x.color) || ie(t.color) ||
|
|
143
|
+
color: ie(x.color) || ie(t.color) || Ce.value[l] || z[l] || z[l % z.length]
|
|
143
144
|
})).map((x, N) => ({
|
|
144
145
|
...x,
|
|
145
146
|
isFirstChild: N === 0,
|
|
146
147
|
isLastChild: N === t.children.length - 1
|
|
147
148
|
}))
|
|
148
149
|
};
|
|
149
|
-
}).toSorted((t, l) =>
|
|
150
|
+
}).toSorted((t, l) => Ne.value ? l.value - t.value : t.value - l.value))), Pe = b(() => ({
|
|
150
151
|
cy: "vertical-bar-div-legend",
|
|
151
152
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
152
153
|
color: e.value.style.chart.legend.color,
|
|
153
154
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
154
155
|
paddingBottom: 12,
|
|
155
156
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
156
|
-
})),
|
|
157
|
-
width:
|
|
158
|
-
height:
|
|
157
|
+
})), h = r(e.value.style.chart.layout.bars.height), g = r(e.value.style.chart.layout.bars.gap), Ke = b(() => (h.value + g.value) * q.value), Se = r(512), f = b(() => ({
|
|
158
|
+
width: Se.value,
|
|
159
|
+
height: Ke.value,
|
|
159
160
|
padding: {
|
|
160
161
|
top: 12,
|
|
161
162
|
left: 128 + e.value.style.chart.layout.bars.offsetX,
|
|
@@ -171,43 +172,43 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
171
172
|
width: f.value.width - (f.value.padding.left + f.value.padding.right)
|
|
172
173
|
}));
|
|
173
174
|
function J() {
|
|
174
|
-
q.value =
|
|
175
|
+
q.value = M.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0);
|
|
175
176
|
}
|
|
176
177
|
const T = r([]);
|
|
177
|
-
function
|
|
178
|
-
T.value.includes(t) ? T.value = T.value.filter((l) => l !== t) : T.value.push(t), J(),
|
|
178
|
+
function X(t) {
|
|
179
|
+
T.value.includes(t) ? T.value = T.value.filter((l) => l !== t) : T.value.push(t), J(), Ee("selectLegend", M.value);
|
|
179
180
|
}
|
|
180
|
-
const
|
|
181
|
-
function
|
|
181
|
+
const M = b(() => F.value.filter((t) => !T.value.includes(t.id))), L = b(() => M.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
|
|
182
|
+
function Ve(t, l = !1, a = 0) {
|
|
182
183
|
return l ? I({
|
|
183
184
|
v: S(Math.abs(t) / L.value * 100),
|
|
184
185
|
s: "%",
|
|
185
186
|
r: a
|
|
186
187
|
}) : Math.abs(t) / L.value;
|
|
187
188
|
}
|
|
188
|
-
const B = b(() =>
|
|
189
|
+
const B = b(() => M.value.flatMap((t) => t.hasChildren ? t.children : t)), D = b(() => B.value.map((t) => t.sign).includes(-1)), Je = b(() => Math.max(...M.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
|
|
189
190
|
function P(t) {
|
|
190
|
-
const l = t /
|
|
191
|
+
const l = t / Je.value;
|
|
191
192
|
return s.value.width / (D.value ? 2 : 1) * l;
|
|
192
193
|
}
|
|
193
|
-
function
|
|
194
|
+
function Qe(t) {
|
|
194
195
|
return P(t) + s.value.left;
|
|
195
196
|
}
|
|
196
|
-
function
|
|
197
|
-
const a =
|
|
197
|
+
function E(t, l) {
|
|
198
|
+
const a = M.value.find((p) => p.id === t.parentId), o = s.value.top + (g.value + h.value) * l, m = a.children.length * (g.value + h.value);
|
|
198
199
|
return {
|
|
199
200
|
y: o + m / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
200
201
|
name: a.name,
|
|
201
202
|
value: [void 0, NaN, null].includes(a.value) ? "" : a.sign === 1 ? a.value : -a.value,
|
|
202
|
-
percentageToTotal: isNaN(a.value / L.value) ? "" :
|
|
203
|
+
percentageToTotal: isNaN(a.value / L.value) ? "" : Ve(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
|
|
203
204
|
sign: a.sign
|
|
204
205
|
};
|
|
205
206
|
}
|
|
206
|
-
function
|
|
207
|
-
return
|
|
207
|
+
function Ze() {
|
|
208
|
+
return M.value;
|
|
208
209
|
}
|
|
209
210
|
const ne = r(null), ue = r(null);
|
|
210
|
-
function
|
|
211
|
+
function et(t, l) {
|
|
211
212
|
ue.value = {
|
|
212
213
|
datapoint: t,
|
|
213
214
|
seriesIndex: l,
|
|
@@ -216,7 +217,7 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
216
217
|
}, te.value = !0, ne.value = t.id;
|
|
217
218
|
let a = "";
|
|
218
219
|
const o = t.isChild ? t.parentName : t.name, m = t.isChild ? t.name : "", p = e.value.style.chart.tooltip.customFormat;
|
|
219
|
-
|
|
220
|
+
yt(p) && gt(() => p({
|
|
220
221
|
datapoint: t,
|
|
221
222
|
series: F.value,
|
|
222
223
|
config: e.value,
|
|
@@ -249,7 +250,7 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
249
250
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
250
251
|
})}</b></div>`)), ae.value = `<div style="text-align:left">${a}</div>`);
|
|
251
252
|
}
|
|
252
|
-
function
|
|
253
|
+
function Fe(t, l, a, o) {
|
|
253
254
|
if (!e.value.style.chart.layout.bars.dataLabels.value.show)
|
|
254
255
|
return "";
|
|
255
256
|
const m = ee(
|
|
@@ -262,7 +263,7 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
262
263
|
r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
|
|
263
264
|
}),
|
|
264
265
|
{ datapoint: l, seriesIndex: a }
|
|
265
|
-
), p = `(${
|
|
266
|
+
), p = `(${Ve(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
|
|
266
267
|
return `${m}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${p}` : ""}`;
|
|
267
268
|
}
|
|
268
269
|
const w = b(() => {
|
|
@@ -304,7 +305,7 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
304
305
|
});
|
|
305
306
|
return { head: t, body: l };
|
|
306
307
|
});
|
|
307
|
-
function
|
|
308
|
+
function Me() {
|
|
308
309
|
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = w.value.head, a = w.value.body.map((p) => [
|
|
309
310
|
p.parentName,
|
|
310
311
|
p.parentValue,
|
|
@@ -313,66 +314,68 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
313
314
|
p.childValue,
|
|
314
315
|
p.childPercentageToParent,
|
|
315
316
|
p.childPercentageToTotal
|
|
316
|
-
]), o = t.concat([l]).concat(a), m =
|
|
317
|
-
|
|
317
|
+
]), o = t.concat([l]).concat(a), m = ft(o);
|
|
318
|
+
bt({ csvContent: m, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
|
|
318
319
|
}
|
|
319
320
|
const R = r(!1);
|
|
320
|
-
function
|
|
321
|
+
function tt(t) {
|
|
321
322
|
R.value = t, ce.value += 1;
|
|
322
323
|
}
|
|
323
|
-
function
|
|
324
|
+
function Oe() {
|
|
324
325
|
$.value.showTable = !$.value.showTable;
|
|
325
326
|
}
|
|
326
|
-
function
|
|
327
|
+
function ze() {
|
|
327
328
|
$.value.sortDesc = !$.value.sortDesc, J();
|
|
328
329
|
}
|
|
329
|
-
function
|
|
330
|
+
function Ie() {
|
|
330
331
|
$.value.showTooltip = !$.value.showTooltip;
|
|
331
332
|
}
|
|
332
333
|
const Q = r(!1);
|
|
333
334
|
function se() {
|
|
334
335
|
Q.value = !Q.value;
|
|
335
336
|
}
|
|
336
|
-
return
|
|
337
|
-
getData:
|
|
337
|
+
return Xe({
|
|
338
|
+
getData: Ze,
|
|
338
339
|
recalculateHeight: J,
|
|
339
|
-
generatePdf:
|
|
340
|
-
generateCsv:
|
|
341
|
-
generateImage:
|
|
342
|
-
toggleTable:
|
|
343
|
-
toggleSort:
|
|
344
|
-
toggleTooltip:
|
|
340
|
+
generatePdf: xe,
|
|
341
|
+
generateCsv: Me,
|
|
342
|
+
generateImage: $e,
|
|
343
|
+
toggleTable: Oe,
|
|
344
|
+
toggleSort: ze,
|
|
345
|
+
toggleTooltip: Ie,
|
|
345
346
|
toggleAnnotator: se
|
|
346
347
|
}), (t, l) => (u(), i("div", {
|
|
347
|
-
class:
|
|
348
|
+
class: U(`vue-ui-vertical-bar ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
348
349
|
ref_key: "verticalBarChart",
|
|
349
350
|
ref: A,
|
|
350
351
|
id: `vue-ui-vertical-bar_${V.value}`,
|
|
351
|
-
style:
|
|
352
|
+
style: d(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
353
|
+
onMouseenter: l[5] || (l[5] = () => c(fe)(!0)),
|
|
354
|
+
onMouseleave: l[6] || (l[6] = () => c(fe)(!1))
|
|
352
355
|
}, [
|
|
353
|
-
e.value.userOptions.buttons.annotator ? (u(),
|
|
356
|
+
e.value.userOptions.buttons.annotator ? (u(), O(Pt, {
|
|
354
357
|
key: 0,
|
|
355
358
|
parent: A.value,
|
|
356
359
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
357
360
|
color: e.value.style.chart.color,
|
|
358
361
|
active: Q.value,
|
|
359
362
|
onClose: se
|
|
360
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
361
|
-
|
|
363
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
364
|
+
je.value ? (u(), i("div", {
|
|
362
365
|
key: 1,
|
|
363
366
|
ref_key: "noTitle",
|
|
364
367
|
ref: pe,
|
|
365
368
|
class: "vue-data-ui-no-title-space",
|
|
366
369
|
style: "height:36px; width: 100%;background:transparent"
|
|
367
|
-
}, null, 512)) :
|
|
370
|
+
}, null, 512)) : y("", !0),
|
|
368
371
|
e.value.style.chart.title.text ? (u(), i("div", {
|
|
369
372
|
key: 2,
|
|
370
373
|
ref_key: "chartTitle",
|
|
371
374
|
ref: ve,
|
|
372
375
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
373
376
|
}, [
|
|
374
|
-
(u(),
|
|
375
|
-
key: `title_${
|
|
377
|
+
(u(), O(kt, {
|
|
378
|
+
key: `title_${ye.value}`,
|
|
376
379
|
config: {
|
|
377
380
|
title: {
|
|
378
381
|
cy: "vertical-bar-div-title",
|
|
@@ -384,15 +387,15 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
384
387
|
}
|
|
385
388
|
}
|
|
386
389
|
}, null, 8, ["config"]))
|
|
387
|
-
], 512)) :
|
|
388
|
-
e.value.userOptions.show && Y.value ? (u(),
|
|
390
|
+
], 512)) : y("", !0),
|
|
391
|
+
e.value.userOptions.show && Y.value && (c(be) || c(ge)) ? (u(), O($t, {
|
|
389
392
|
ref_key: "details",
|
|
390
|
-
ref:
|
|
393
|
+
ref: He,
|
|
391
394
|
key: `user_options_${ce.value}`,
|
|
392
395
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
393
396
|
color: e.value.style.chart.color,
|
|
394
|
-
isImaging:
|
|
395
|
-
isPrinting:
|
|
397
|
+
isImaging: c(ke),
|
|
398
|
+
isPrinting: c(_e),
|
|
396
399
|
uid: V.value,
|
|
397
400
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
398
401
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -408,15 +411,18 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
408
411
|
position: e.value.userOptions.position,
|
|
409
412
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
410
413
|
isAnnotation: Q.value,
|
|
411
|
-
onToggleFullscreen:
|
|
412
|
-
onGeneratePdf:
|
|
413
|
-
onGenerateCsv:
|
|
414
|
-
onGenerateImage:
|
|
415
|
-
onToggleTable:
|
|
416
|
-
onToggleSort:
|
|
417
|
-
onToggleTooltip:
|
|
418
|
-
onToggleAnnotator: se
|
|
419
|
-
|
|
414
|
+
onToggleFullscreen: tt,
|
|
415
|
+
onGeneratePdf: c(xe),
|
|
416
|
+
onGenerateCsv: Me,
|
|
417
|
+
onGenerateImage: c($e),
|
|
418
|
+
onToggleTable: Oe,
|
|
419
|
+
onToggleSort: ze,
|
|
420
|
+
onToggleTooltip: Ie,
|
|
421
|
+
onToggleAnnotator: se,
|
|
422
|
+
style: d({
|
|
423
|
+
visibility: c(be) ? c(ge) ? "visible" : "hidden" : "visible"
|
|
424
|
+
})
|
|
425
|
+
}, nt({ _: 2 }, [
|
|
420
426
|
t.$slots.optionTooltip ? {
|
|
421
427
|
name: "optionTooltip",
|
|
422
428
|
fn: k(() => [
|
|
@@ -469,57 +475,57 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
469
475
|
t.$slots.optionFullscreen ? {
|
|
470
476
|
name: "optionFullscreen",
|
|
471
477
|
fn: k(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
472
|
-
_(t.$slots, "optionFullscreen",
|
|
478
|
+
_(t.$slots, "optionFullscreen", G(H({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
473
479
|
]),
|
|
474
480
|
key: "7"
|
|
475
481
|
} : void 0,
|
|
476
482
|
t.$slots.optionAnnotator ? {
|
|
477
483
|
name: "optionAnnotator",
|
|
478
484
|
fn: k(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
479
|
-
_(t.$slots, "optionAnnotator",
|
|
485
|
+
_(t.$slots, "optionAnnotator", G(H({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
480
486
|
]),
|
|
481
487
|
key: "8"
|
|
482
488
|
} : void 0
|
|
483
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
489
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
484
490
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), i("div", {
|
|
485
491
|
key: 4,
|
|
486
492
|
ref_key: "chartLegend",
|
|
487
493
|
ref: le
|
|
488
494
|
}, [
|
|
489
|
-
(u(),
|
|
495
|
+
(u(), O(De, {
|
|
490
496
|
key: `legend_top_${oe.value}`,
|
|
491
497
|
legendSet: F.value,
|
|
492
|
-
config:
|
|
493
|
-
onClickMarker: l[0] || (l[0] = ({ legend: a }) =>
|
|
498
|
+
config: Pe.value,
|
|
499
|
+
onClickMarker: l[0] || (l[0] = ({ legend: a }) => X(a.id))
|
|
494
500
|
}, {
|
|
495
501
|
item: k(({ legend: a, index: o }) => [
|
|
496
502
|
n("div", {
|
|
497
503
|
"data-cy-legend-item": "",
|
|
498
|
-
onClick: (m) =>
|
|
499
|
-
style:
|
|
500
|
-
},
|
|
504
|
+
onClick: (m) => X(a.id),
|
|
505
|
+
style: d(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
|
|
506
|
+
}, v(a.name) + ": " + v(c(ee)(
|
|
501
507
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
502
508
|
a.value,
|
|
503
|
-
|
|
509
|
+
c(I)({
|
|
504
510
|
p: e.value.style.chart.legend.prefix,
|
|
505
511
|
v: a.value,
|
|
506
512
|
s: e.value.style.chart.legend.suffix,
|
|
507
513
|
r: e.value.style.chart.legend.roundingValue
|
|
508
514
|
}),
|
|
509
515
|
{ datapoint: a, seriesIndex: o }
|
|
510
|
-
)), 13,
|
|
516
|
+
)), 13, Mt)
|
|
511
517
|
]),
|
|
512
518
|
_: 1
|
|
513
519
|
}, 8, ["legendSet", "config"]))
|
|
514
|
-
], 512)) :
|
|
520
|
+
], 512)) : y("", !0),
|
|
515
521
|
Y.value ? (u(), i("svg", {
|
|
516
522
|
key: 5,
|
|
517
|
-
xmlns:
|
|
518
|
-
class:
|
|
523
|
+
xmlns: c(ht),
|
|
524
|
+
class: U({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
519
525
|
viewBox: `0 0 ${f.value.width <= 0 ? 10 : f.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
|
|
520
|
-
style:
|
|
526
|
+
style: d(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
521
527
|
}, [
|
|
522
|
-
re(
|
|
528
|
+
re(Nt),
|
|
523
529
|
(u(!0), i(W, null, j(B.value, (a, o) => (u(), i("linearGradient", {
|
|
524
530
|
x1: "0%",
|
|
525
531
|
y1: "0%",
|
|
@@ -530,45 +536,45 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
530
536
|
n("stop", {
|
|
531
537
|
offset: "0%",
|
|
532
538
|
"stop-color": a.color
|
|
533
|
-
}, null, 8,
|
|
539
|
+
}, null, 8, It),
|
|
534
540
|
n("stop", {
|
|
535
541
|
offset: "100%",
|
|
536
|
-
"stop-color":
|
|
537
|
-
}, null, 8,
|
|
538
|
-
], 8,
|
|
542
|
+
"stop-color": c(de)(c(pt)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
|
|
543
|
+
}, null, 8, At)
|
|
544
|
+
], 8, zt))), 256)),
|
|
539
545
|
(u(!0), i(W, null, j(B.value, (a, o) => (u(), i("g", null, [
|
|
540
546
|
n("rect", {
|
|
541
|
-
x:
|
|
542
|
-
y: s.value.top + (
|
|
543
|
-
width:
|
|
544
|
-
height:
|
|
547
|
+
x: c(S)(D.value ? s.value.left + s.value.width / 2 - (a.sign === 1 ? 0 : P(a.value) <= 0 ? 1e-4 : P(a.value)) : s.value.left),
|
|
548
|
+
y: s.value.top + (g.value + h.value) * o,
|
|
549
|
+
width: c(S)(P(a.value) <= 0 ? 1e-4 : P(a.value)),
|
|
550
|
+
height: h.value <= 0 ? 1e-4 : h.value,
|
|
545
551
|
fill: e.value.style.chart.layout.bars.underlayerColor,
|
|
546
552
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
547
|
-
class:
|
|
548
|
-
}, null, 10,
|
|
553
|
+
class: U({ animated: e.value.useCssAnimation })
|
|
554
|
+
}, null, 10, Bt)
|
|
549
555
|
]))), 256)),
|
|
550
556
|
(u(!0), i(W, null, j(B.value, (a, o) => (u(), i("g", null, [
|
|
551
557
|
n("rect", {
|
|
552
|
-
x:
|
|
553
|
-
y: s.value.top + (
|
|
554
|
-
width:
|
|
555
|
-
height:
|
|
556
|
-
fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${V.value}_${o})` :
|
|
558
|
+
x: c(S)(D.value ? s.value.left + s.value.width / 2 - (a.sign === 1 ? 0 : P(a.value) <= 0 ? 1e-4 : P(a.value)) : s.value.left),
|
|
559
|
+
y: s.value.top + (g.value + h.value) * o,
|
|
560
|
+
width: c(S)(P(a.value) <= 0 ? 1e-4 : P(a.value)),
|
|
561
|
+
height: h.value <= 0 ? 1e-4 : h.value,
|
|
562
|
+
fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${V.value}_${o})` : c(de)(a.color, e.value.style.chart.layout.bars.fillOpacity),
|
|
557
563
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
558
564
|
stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
|
|
559
565
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
560
|
-
class:
|
|
561
|
-
}, null, 10,
|
|
566
|
+
class: U({ animated: e.value.useCssAnimation })
|
|
567
|
+
}, null, 10, Dt),
|
|
562
568
|
(!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (u(), i("line", {
|
|
563
569
|
key: 0,
|
|
564
570
|
x1: 0,
|
|
565
571
|
x2: s.value.left,
|
|
566
|
-
y1:
|
|
567
|
-
y2:
|
|
572
|
+
y1: h.value + g.value / 2 + s.value.top + (g.value + h.value) * o,
|
|
573
|
+
y2: h.value + g.value / 2 + s.value.top + (g.value + h.value) * o,
|
|
568
574
|
stroke: e.value.style.chart.layout.separators.color,
|
|
569
575
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
570
576
|
"stroke-linecap": "round"
|
|
571
|
-
}, null, 8,
|
|
577
|
+
}, null, 8, Rt)) : y("", !0),
|
|
572
578
|
D.value && e.value.style.chart.layout.separators.show ? (u(), i("line", {
|
|
573
579
|
key: 1,
|
|
574
580
|
x1: s.value.left + s.value.width / 2,
|
|
@@ -578,61 +584,61 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
578
584
|
stroke: e.value.style.chart.layout.separators.color,
|
|
579
585
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
580
586
|
"stroke-linecap": "round"
|
|
581
|
-
}, null, 8,
|
|
587
|
+
}, null, 8, Ut)) : y("", !0),
|
|
582
588
|
n("text", {
|
|
583
|
-
x: D.value ? s.value.left + s.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) :
|
|
584
|
-
y: s.value.top + (
|
|
589
|
+
x: D.value ? s.value.left + s.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Qe(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
|
|
590
|
+
y: s.value.top + (g.value + h.value) * o + h.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
|
|
585
591
|
"text-anchor": !D.value || a.sign === -1 ? "start" : "end",
|
|
586
592
|
"font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
|
|
587
593
|
fill: e.value.style.chart.layout.bars.dataLabels.color,
|
|
588
594
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
|
|
589
|
-
},
|
|
595
|
+
}, v(Fe(a.value, a, o, a.sign)), 9, Xt),
|
|
590
596
|
(a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), i("text", {
|
|
591
597
|
key: 2,
|
|
592
598
|
"text-anchor": "end",
|
|
593
599
|
x: s.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
|
|
594
|
-
y: s.value.top + (
|
|
600
|
+
y: s.value.top + (g.value + h.value) * o + h.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
|
|
595
601
|
"font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
596
602
|
fill: e.value.style.chart.layout.bars.nameLabels.color,
|
|
597
603
|
"font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
|
|
598
|
-
},
|
|
604
|
+
}, v(a.name), 9, Et)) : y("", !0),
|
|
599
605
|
a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), i("text", {
|
|
600
606
|
key: 3,
|
|
601
607
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
602
|
-
y:
|
|
608
|
+
y: E(a, o).y,
|
|
603
609
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
604
610
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
605
611
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
606
612
|
"text-anchor": "start"
|
|
607
|
-
},
|
|
613
|
+
}, v(E(a, o).name), 9, Gt)) : y("", !0),
|
|
608
614
|
a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), i("text", {
|
|
609
615
|
key: 4,
|
|
610
616
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
611
|
-
y:
|
|
617
|
+
y: E(a, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
|
|
612
618
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
613
619
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
614
620
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
615
621
|
"text-anchor": "start"
|
|
616
|
-
},
|
|
622
|
+
}, v(Fe(E(a, o).value), E(a, o), o, a.parentSign || a.sign), 9, Ht)) : y("", !0),
|
|
617
623
|
n("rect", {
|
|
618
624
|
"data-cy-trap": "",
|
|
619
625
|
x: 0,
|
|
620
|
-
y: s.value.top + (
|
|
626
|
+
y: s.value.top + (g.value + h.value) * o - g.value / 2,
|
|
621
627
|
width: f.value.width <= 0 ? 1e-4 : f.value.width,
|
|
622
|
-
height:
|
|
623
|
-
fill: ne.value === a.id ?
|
|
624
|
-
onMouseenter: (m) =>
|
|
628
|
+
height: h.value + g.value <= 0 ? 1e-4 : h.value + g.value,
|
|
629
|
+
fill: ne.value === a.id ? c(de)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
|
|
630
|
+
onMouseenter: (m) => et(a, o),
|
|
625
631
|
onMouseleave: l[1] || (l[1] = (m) => {
|
|
626
|
-
|
|
632
|
+
We.value = null, te.value = !1, ne.value = null;
|
|
627
633
|
})
|
|
628
|
-
}, null, 40,
|
|
634
|
+
}, null, 40, Wt)
|
|
629
635
|
]))), 256)),
|
|
630
636
|
_(t.$slots, "svg", { svg: f.value }, void 0, !0)
|
|
631
|
-
], 14,
|
|
632
|
-
t.$slots.watermark ? (u(), i("div",
|
|
633
|
-
_(t.$slots, "watermark",
|
|
634
|
-
])) :
|
|
635
|
-
Y.value ?
|
|
637
|
+
], 14, Ot)) : y("", !0),
|
|
638
|
+
t.$slots.watermark ? (u(), i("div", jt, [
|
|
639
|
+
_(t.$slots, "watermark", G(H({ isPrinting: c(_e) || c(ke) })), void 0, !0)
|
|
640
|
+
])) : y("", !0),
|
|
641
|
+
Y.value ? y("", !0) : (u(), O(wt, {
|
|
636
642
|
key: 7,
|
|
637
643
|
config: {
|
|
638
644
|
type: "verticalBar",
|
|
@@ -652,31 +658,31 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
652
658
|
ref_key: "chartLegend",
|
|
653
659
|
ref: le
|
|
654
660
|
}, [
|
|
655
|
-
(u(),
|
|
661
|
+
(u(), O(De, {
|
|
656
662
|
key: `legend_bottom_${oe.value}`,
|
|
657
663
|
legendSet: F.value,
|
|
658
|
-
config:
|
|
659
|
-
onClickMarker: l[2] || (l[2] = ({ legend: a }) =>
|
|
664
|
+
config: Pe.value,
|
|
665
|
+
onClickMarker: l[2] || (l[2] = ({ legend: a }) => X(a.id))
|
|
660
666
|
}, {
|
|
661
667
|
item: k(({ legend: a, index: o }) => [
|
|
662
668
|
n("div", {
|
|
663
|
-
onClick: (m) =>
|
|
664
|
-
style:
|
|
665
|
-
},
|
|
669
|
+
onClick: (m) => X(a.id),
|
|
670
|
+
style: d(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
|
|
671
|
+
}, v(a.name) + ": " + v(c(ee)(
|
|
666
672
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
667
673
|
a.value,
|
|
668
|
-
|
|
674
|
+
c(I)({
|
|
669
675
|
p: e.value.style.chart.legend.prefix,
|
|
670
676
|
v: a.value,
|
|
671
677
|
s: e.value.style.chart.legend.suffix,
|
|
672
678
|
r: e.value.style.chart.legend.roundingValue
|
|
673
679
|
}),
|
|
674
680
|
{ datapoint: a, seriesIndex: o }
|
|
675
|
-
)), 13,
|
|
681
|
+
)), 13, Yt)
|
|
676
682
|
]),
|
|
677
683
|
_: 1
|
|
678
684
|
}, 8, ["legendSet", "config"]))
|
|
679
|
-
], 512)) :
|
|
685
|
+
], 512)) : y("", !0),
|
|
680
686
|
_(t.$slots, "legend", { legend: F.value }, void 0, !0),
|
|
681
687
|
t.$slots.source ? (u(), i("div", {
|
|
682
688
|
key: 9,
|
|
@@ -685,8 +691,8 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
685
691
|
dir: "auto"
|
|
686
692
|
}, [
|
|
687
693
|
_(t.$slots, "source", {}, void 0, !0)
|
|
688
|
-
], 512)) :
|
|
689
|
-
re(
|
|
694
|
+
], 512)) : y("", !0),
|
|
695
|
+
re(Ct, {
|
|
690
696
|
show: $.value.showTooltip && te.value && T.value.length < C.dataset.length,
|
|
691
697
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
692
698
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -703,14 +709,14 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
703
709
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
704
710
|
}, {
|
|
705
711
|
"tooltip-before": k(() => [
|
|
706
|
-
_(t.$slots, "tooltip-before",
|
|
712
|
+
_(t.$slots, "tooltip-before", G(H({ ...ue.value })), void 0, !0)
|
|
707
713
|
]),
|
|
708
714
|
"tooltip-after": k(() => [
|
|
709
|
-
_(t.$slots, "tooltip-after",
|
|
715
|
+
_(t.$slots, "tooltip-after", G(H({ ...ue.value })), void 0, !0)
|
|
710
716
|
]),
|
|
711
717
|
_: 3
|
|
712
718
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
713
|
-
Y.value ? (u(),
|
|
719
|
+
Y.value ? (u(), O(Lt, {
|
|
714
720
|
key: 10,
|
|
715
721
|
hideDetails: "",
|
|
716
722
|
config: {
|
|
@@ -729,18 +735,18 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
729
735
|
content: k(() => [
|
|
730
736
|
n("div", {
|
|
731
737
|
ref_key: "tableContainer",
|
|
732
|
-
ref:
|
|
738
|
+
ref: we,
|
|
733
739
|
class: "vue-ui-vertical-bar-table"
|
|
734
740
|
}, [
|
|
735
|
-
n("div",
|
|
741
|
+
n("div", qt, [
|
|
736
742
|
n("div", {
|
|
737
743
|
role: "button",
|
|
738
744
|
tabindex: "0",
|
|
739
|
-
style:
|
|
745
|
+
style: d(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
740
746
|
onClick: l[3] || (l[3] = (a) => $.value.showTable = !1),
|
|
741
|
-
onKeypress: l[4] || (l[4] =
|
|
747
|
+
onKeypress: l[4] || (l[4] = ut((a) => $.value.showTable = !1, ["enter"]))
|
|
742
748
|
}, [
|
|
743
|
-
re(
|
|
749
|
+
re(Tt, {
|
|
744
750
|
name: "close",
|
|
745
751
|
stroke: e.value.table.th.color,
|
|
746
752
|
"stroke-width": 2
|
|
@@ -748,111 +754,111 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
748
754
|
], 36),
|
|
749
755
|
n("div", {
|
|
750
756
|
style: { width: "100%", "container-type": "inline-size" },
|
|
751
|
-
class:
|
|
757
|
+
class: U({ "vue-ui-responsive": Te.value })
|
|
752
758
|
}, [
|
|
753
|
-
n("table",
|
|
759
|
+
n("table", Kt, [
|
|
754
760
|
n("caption", {
|
|
755
|
-
style:
|
|
761
|
+
style: d({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
756
762
|
class: "vue-ui-data-table__caption"
|
|
757
763
|
}, [
|
|
758
|
-
|
|
759
|
-
e.value.style.chart.title.subtitle.text ? (u(), i("span",
|
|
764
|
+
st(v(e.value.style.chart.title.text) + " ", 1),
|
|
765
|
+
e.value.style.chart.title.subtitle.text ? (u(), i("span", Jt, v(e.value.style.chart.title.subtitle.text), 1)) : y("", !0)
|
|
760
766
|
], 4),
|
|
761
767
|
n("thead", null, [
|
|
762
768
|
n("tr", {
|
|
763
769
|
role: "row",
|
|
764
|
-
style:
|
|
770
|
+
style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
765
771
|
}, [
|
|
766
772
|
(u(!0), i(W, null, j(w.value.head, (a) => (u(), i("th", {
|
|
767
|
-
style:
|
|
773
|
+
style: d(`outline:${e.value.table.th.outline}`)
|
|
768
774
|
}, [
|
|
769
|
-
n("div",
|
|
775
|
+
n("div", Qt, v(a), 1)
|
|
770
776
|
], 4))), 256))
|
|
771
777
|
], 4),
|
|
772
778
|
n("tr", null, [
|
|
773
779
|
n("th", {
|
|
774
|
-
style:
|
|
780
|
+
style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
775
781
|
}, null, 4),
|
|
776
782
|
n("th", {
|
|
777
|
-
style:
|
|
778
|
-
}, "∑ " +
|
|
783
|
+
style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
|
|
784
|
+
}, "∑ " + v(e.value.table.td.prefix) + v(isNaN(L.value) ? "" : L.value.toFixed(e.value.table.td.roundingValue)) + v(e.value.table.td.suffix), 5),
|
|
779
785
|
n("th", {
|
|
780
|
-
style:
|
|
786
|
+
style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
|
|
781
787
|
}, "100%", 4),
|
|
782
788
|
n("th", {
|
|
783
|
-
style:
|
|
789
|
+
style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
784
790
|
}, null, 4),
|
|
785
791
|
n("th", {
|
|
786
|
-
style:
|
|
792
|
+
style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
787
793
|
}, null, 4),
|
|
788
794
|
n("th", {
|
|
789
|
-
style:
|
|
795
|
+
style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
790
796
|
}, null, 4),
|
|
791
797
|
n("th", {
|
|
792
|
-
style:
|
|
798
|
+
style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
793
799
|
}, null, 4)
|
|
794
800
|
])
|
|
795
801
|
]),
|
|
796
802
|
n("tbody", null, [
|
|
797
803
|
(u(!0), i(W, null, j(w.value.body, (a, o) => (u(), i("tr", {
|
|
798
|
-
class:
|
|
799
|
-
style:
|
|
804
|
+
class: U({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
|
|
805
|
+
style: d(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
800
806
|
}, [
|
|
801
807
|
n("td", {
|
|
802
808
|
class: "vue-ui-data-table__tbody__td",
|
|
803
|
-
style:
|
|
809
|
+
style: d(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
|
|
804
810
|
"data-cell": w.value.head[0] ?? ""
|
|
805
811
|
}, [
|
|
806
|
-
n("div",
|
|
812
|
+
n("div", ea, [
|
|
807
813
|
a.color ? (u(), i("span", {
|
|
808
814
|
key: 0,
|
|
809
|
-
style:
|
|
810
|
-
}, "⬤", 4)) :
|
|
811
|
-
n("span", null,
|
|
815
|
+
style: d(`color:${a.color};margin-right:3px`)
|
|
816
|
+
}, "⬤", 4)) : y("", !0),
|
|
817
|
+
n("span", null, v(a.parentName), 1)
|
|
812
818
|
])
|
|
813
|
-
], 12,
|
|
819
|
+
], 12, Zt),
|
|
814
820
|
n("td", {
|
|
815
821
|
class: "vue-ui-data-table__tbody__td",
|
|
816
|
-
style:
|
|
822
|
+
style: d(`outline:${e.value.table.td.outline}`),
|
|
817
823
|
"data-cell": w.value.head[1] ?? ""
|
|
818
824
|
}, [
|
|
819
|
-
n("div",
|
|
820
|
-
], 12,
|
|
825
|
+
n("div", aa, v(e.value.table.td.prefix) + v(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + v(e.value.table.td.suffix), 1)
|
|
826
|
+
], 12, ta),
|
|
821
827
|
n("td", {
|
|
822
828
|
class: "vue-ui-data-table__tbody__td",
|
|
823
|
-
style:
|
|
829
|
+
style: d(`outline:${e.value.table.td.outline}`),
|
|
824
830
|
"data-cell": w.value.head[2] ?? ""
|
|
825
831
|
}, [
|
|
826
|
-
n("div",
|
|
827
|
-
], 12,
|
|
832
|
+
n("div", oa, v(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
833
|
+
], 12, la),
|
|
828
834
|
n("td", {
|
|
829
835
|
class: "vue-ui-data-table__tbody__td",
|
|
830
|
-
style:
|
|
836
|
+
style: d(`outline:${e.value.table.td.outline}`),
|
|
831
837
|
"data-cell": w.value.head[3] ?? ""
|
|
832
838
|
}, [
|
|
833
|
-
n("div",
|
|
834
|
-
], 12,
|
|
839
|
+
n("div", ua, v(a.childName), 1)
|
|
840
|
+
], 12, na),
|
|
835
841
|
n("td", {
|
|
836
842
|
class: "vue-ui-data-table__tbody__td",
|
|
837
|
-
style:
|
|
843
|
+
style: d(`outline:${e.value.table.td.outline}`),
|
|
838
844
|
"data-cell": w.value.head[4] ?? ""
|
|
839
845
|
}, [
|
|
840
|
-
n("div",
|
|
841
|
-
], 12,
|
|
846
|
+
n("div", ra, v(e.value.table.td.prefix) + v(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + v(e.value.table.td.suffix), 1)
|
|
847
|
+
], 12, sa),
|
|
842
848
|
n("td", {
|
|
843
849
|
class: "vue-ui-data-table__tbody__td",
|
|
844
|
-
style:
|
|
850
|
+
style: d(`outline:${e.value.table.td.outline}`),
|
|
845
851
|
"data-cell": w.value.head[5] ?? ""
|
|
846
852
|
}, [
|
|
847
|
-
n("div",
|
|
848
|
-
], 12,
|
|
853
|
+
n("div", da, v(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
854
|
+
], 12, ia),
|
|
849
855
|
n("td", {
|
|
850
856
|
class: "vue-ui-data-table__tbody__td",
|
|
851
|
-
style:
|
|
857
|
+
style: d(`outline:${e.value.table.td.outline}`),
|
|
852
858
|
"data-cell": w.value.head[6] ?? ""
|
|
853
859
|
}, [
|
|
854
|
-
n("div",
|
|
855
|
-
], 12,
|
|
860
|
+
n("div", va, v(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
861
|
+
], 12, ca)
|
|
856
862
|
], 6))), 256))
|
|
857
863
|
])
|
|
858
864
|
])
|
|
@@ -861,10 +867,10 @@ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], Ft
|
|
|
861
867
|
], 512)
|
|
862
868
|
]),
|
|
863
869
|
_: 1
|
|
864
|
-
}, 8, ["config"])) :
|
|
865
|
-
],
|
|
870
|
+
}, 8, ["config"])) : y("", !0)
|
|
871
|
+
], 46, Ft));
|
|
866
872
|
}
|
|
867
|
-
},
|
|
873
|
+
}, Pa = /* @__PURE__ */ Vt(ha, [["__scopeId", "data-v-bbce86e4"]]);
|
|
868
874
|
export {
|
|
869
|
-
|
|
875
|
+
Pa as default
|
|
870
876
|
};
|