vue-data-ui 2.4.50 → 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-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-BtL_cLa8.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-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.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-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-NkhaiK6y.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-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-I1m4HMWf.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-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-DlBk1FUz.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-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DXj4Ce6l.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-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-DC8VIInA.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-Cl1wiHsK.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-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-DIthBSp_.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-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.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-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.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-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-DF5HkeeS.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-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.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-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.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-DoD-GxZR.cjs +0 -9
- package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
- package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
- package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
- package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
- package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
- package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
- package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
- package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
- package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
- package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
- package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
- package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
- package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
- package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
- package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
- package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
- package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
- package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
- package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
- package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
- package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
- package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
- package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
- package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
- package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
- package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
- package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
- package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
- package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
- package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
- package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
- package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
- package/dist/vue-ui-wheel-D3itrMku.js +0 -299
- package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
- package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
- package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { L as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { D as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { P as
|
|
13
|
-
import {
|
|
14
|
-
|
|
1
|
+
import { computed as h, onMounted as Le, ref as u, watch as Fe, openBlock as o, createElementBlock as i, normalizeClass as A, normalizeStyle as V, unref as n, createBlock as $, createCommentVNode as c, createSlots as Ie, withCtx as v, renderSlot as d, normalizeProps as S, guardReactiveProps as N, createVNode as ie, createElementVNode as _, Fragment as ce, renderList as ve, createTextVNode as de, toDisplayString as E, nextTick as Ae } from "vue";
|
|
2
|
+
import { u as Ve, o as Ee, e as he, g as Me, c as pe, t as De, a as Be, p as M, b as Ge, d as ze, J as ye, M as Ue, f as k, X as We, i as fe, x as ge, y as He, q as Xe, r as Re } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { L as Ye } from "./Legend-BLaZxMge.js";
|
|
4
|
+
import { _ as je } from "./Title-aSAft5dl.js";
|
|
5
|
+
import { _ as qe } from "./Tooltip-smutPF--.js";
|
|
6
|
+
import { D as Je } from "./DataTable-DGf6RrOJ.js";
|
|
7
|
+
import { u as Ke, U as Qe } from "./usePrinter-DaybDVqP.js";
|
|
8
|
+
import Ze from "./vue-ui-skeleton-Bniq21d9.js";
|
|
9
|
+
import et from "./vue-ui-accordion-5d5iVpr7.js";
|
|
10
|
+
import { u as be } from "./useNestedProp-BN8claGG.js";
|
|
11
|
+
import { _ as tt } from "./PackageVersion-CxJghxYD.js";
|
|
12
|
+
import { P as lt } from "./PenAndPaper-ZdZEumki.js";
|
|
13
|
+
import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
|
+
import { _ as ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const st = ["id"], rt = {
|
|
15
16
|
key: 1,
|
|
16
17
|
ref: "noTitle",
|
|
17
18
|
class: "vue-data-ui-no-title-space",
|
|
18
19
|
style: "height:36px; width: 100%;background:transparent"
|
|
19
|
-
},
|
|
20
|
+
}, ut = {
|
|
20
21
|
key: 2,
|
|
21
22
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
22
|
-
},
|
|
23
|
+
}, nt = ["xmlns", "viewBox"], it = ["id"], ct = ["stdDeviation"], vt = ["d", "stroke", "stroke-width"], dt = ["d", "stroke", "stroke-width"], ht = ["filter"], pt = ["d", "stroke", "stroke-width"], yt = ["d", "stroke-width", "onMouseenter", "onClick"], ft = {
|
|
23
24
|
key: 5,
|
|
24
25
|
class: "vue-data-ui-watermark"
|
|
25
|
-
},
|
|
26
|
+
}, gt = ["onClick"], bt = { key: 0 }, mt = { key: 1 }, kt = {
|
|
26
27
|
key: 8,
|
|
27
28
|
ref: "source",
|
|
28
29
|
dir: "auto"
|
|
29
|
-
},
|
|
30
|
+
}, Ct = ["innerHTML"], wt = {
|
|
30
31
|
__name: "vue-ui-galaxy",
|
|
31
32
|
props: {
|
|
32
33
|
config: {
|
|
@@ -43,21 +44,21 @@ const tt = ["id"], lt = {
|
|
|
43
44
|
}
|
|
44
45
|
},
|
|
45
46
|
emits: ["selectLegend", "selectDatapoint"],
|
|
46
|
-
setup(
|
|
47
|
-
const y =
|
|
48
|
-
|
|
47
|
+
setup(me, { expose: ke, emit: H }) {
|
|
48
|
+
const y = me, { vue_ui_galaxy: Ce } = Ve(), O = h(() => !!y.dataset && y.dataset.length);
|
|
49
|
+
Le(() => {
|
|
49
50
|
X();
|
|
50
51
|
});
|
|
51
52
|
function X() {
|
|
52
|
-
|
|
53
|
+
Ee(y.dataset) ? he({
|
|
53
54
|
componentName: "VueUiGalaxy",
|
|
54
55
|
type: "dataset"
|
|
55
56
|
}) : y.dataset.forEach((t, a) => {
|
|
56
|
-
|
|
57
|
+
Me({
|
|
57
58
|
datasetObject: t,
|
|
58
59
|
requiredAttributes: ["name", "values"]
|
|
59
60
|
}).forEach((l) => {
|
|
60
|
-
|
|
61
|
+
he({
|
|
61
62
|
componentName: "VueUiGalaxy",
|
|
62
63
|
type: "datasetSerieAttribute",
|
|
63
64
|
property: l,
|
|
@@ -66,30 +67,30 @@ const tt = ["id"], lt = {
|
|
|
66
67
|
});
|
|
67
68
|
});
|
|
68
69
|
}
|
|
69
|
-
const T = u(
|
|
70
|
-
get: () =>
|
|
70
|
+
const T = u(pe()), L = u(null), we = u(null), D = u(!1), B = u(""), f = u(null), R = u(0), Y = u(0), j = u(0), q = u(0), e = h({
|
|
71
|
+
get: () => Z(),
|
|
71
72
|
set: (t) => t
|
|
72
|
-
});
|
|
73
|
-
function
|
|
74
|
-
const t =
|
|
73
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: K, keepUserOptionState: Q } = at({ config: e.value });
|
|
74
|
+
function Z() {
|
|
75
|
+
const t = be({
|
|
75
76
|
userConfig: y.config,
|
|
76
|
-
defaultConfig:
|
|
77
|
+
defaultConfig: Ce
|
|
77
78
|
});
|
|
78
79
|
return t.theme ? {
|
|
79
|
-
...
|
|
80
|
-
userConfig:
|
|
80
|
+
...be({
|
|
81
|
+
userConfig: De.vue_ui_galaxy[t.theme] || y.config,
|
|
81
82
|
defaultConfig: t
|
|
82
83
|
}),
|
|
83
|
-
customPalette:
|
|
84
|
+
customPalette: Be[t.theme] || M
|
|
84
85
|
} : t;
|
|
85
86
|
}
|
|
86
|
-
|
|
87
|
-
e.value =
|
|
87
|
+
Fe(() => y.config, (t) => {
|
|
88
|
+
e.value = Z(), X(), Y.value += 1, j.value += 1, q.value += 1;
|
|
88
89
|
}, { deep: !0 });
|
|
89
|
-
const { isPrinting:
|
|
90
|
+
const { isPrinting: ee, isImaging: te, generatePdf: le, generateImage: ae } = Ke({
|
|
90
91
|
elementId: `galaxy_${T.value}`,
|
|
91
92
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
|
|
92
|
-
}),
|
|
93
|
+
}), $e = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), xe = h(() => Ge(e.value.customPalette)), b = u({
|
|
93
94
|
dataLabels: {
|
|
94
95
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
95
96
|
},
|
|
@@ -99,62 +100,62 @@ const tt = ["id"], lt = {
|
|
|
99
100
|
height: 180,
|
|
100
101
|
// or 250 if non fibo
|
|
101
102
|
width: 250
|
|
102
|
-
}),
|
|
103
|
-
function
|
|
104
|
-
|
|
103
|
+
}), p = u([]);
|
|
104
|
+
function z(t) {
|
|
105
|
+
p.value.includes(t.id) ? p.value = p.value.filter((a) => a !== t.id) : p.value.push(t.id), H("selectLegend", P.value.map((a) => ({
|
|
105
106
|
name: a.name,
|
|
106
107
|
color: a.color,
|
|
107
108
|
value: a.value
|
|
108
109
|
})));
|
|
109
110
|
}
|
|
110
|
-
const C =
|
|
111
|
+
const C = h(() => y.dataset.map((t, a) => ({
|
|
111
112
|
name: t.name,
|
|
112
|
-
color:
|
|
113
|
-
value: t.values ?
|
|
114
|
-
absoluteValues:
|
|
115
|
-
id:
|
|
113
|
+
color: ze(t.color) || xe.value[a] || M[a] || M[a % M.length],
|
|
114
|
+
value: t.values ? ye(t.values).reduce((l, s) => l + s, 0) : 0,
|
|
115
|
+
absoluteValues: ye(t.values),
|
|
116
|
+
id: pe(),
|
|
116
117
|
seriesIndex: a
|
|
117
118
|
})).sort((t, a) => a.value - t.value));
|
|
118
|
-
function
|
|
119
|
+
function _e() {
|
|
119
120
|
return C.value.map((t) => ({
|
|
120
121
|
name: t.name,
|
|
121
122
|
color: t.color,
|
|
122
123
|
value: t.value
|
|
123
124
|
}));
|
|
124
125
|
}
|
|
125
|
-
const g =
|
|
126
|
+
const g = h(() => C.value.filter((t) => !p.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Te = u(190), oe = h(() => C.value.filter((t) => !p.value.includes(t.id))), P = h(() => {
|
|
126
127
|
const t = [];
|
|
127
|
-
for (let a = 0; a <
|
|
128
|
-
const l =
|
|
129
|
-
let s = l.value / g.value *
|
|
128
|
+
for (let a = 0; a < oe.value.length; a += 1) {
|
|
129
|
+
const l = oe.value[a];
|
|
130
|
+
let s = l.value / g.value * Te.value;
|
|
130
131
|
a > 0 && t.length && (s += t[a - 1].points), t.push({
|
|
131
132
|
points: s,
|
|
132
133
|
...l,
|
|
133
134
|
seriesIndex: a,
|
|
134
135
|
proportion: l.value / g.value,
|
|
135
|
-
path:
|
|
136
|
+
path: Ue({
|
|
136
137
|
points: s,
|
|
137
138
|
startX: 115 + e.value.style.chart.layout.arcs.offsetX,
|
|
138
139
|
startY: 90 + e.value.style.chart.layout.arcs.offsetY
|
|
139
140
|
})
|
|
140
141
|
});
|
|
141
142
|
}
|
|
142
|
-
return t.filter((a, l) => !
|
|
143
|
+
return t.filter((a, l) => !p.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
143
144
|
}), x = u(!1);
|
|
144
|
-
function
|
|
145
|
+
function Pe(t) {
|
|
145
146
|
x.value = t, R.value += 1;
|
|
146
147
|
}
|
|
147
|
-
const
|
|
148
|
-
function
|
|
149
|
-
|
|
148
|
+
const U = u(null);
|
|
149
|
+
function Se({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
|
|
150
|
+
U.value = {
|
|
150
151
|
datapoint: t,
|
|
151
152
|
seriesIndex: l,
|
|
152
153
|
series: C.value,
|
|
153
154
|
config: e.value
|
|
154
|
-
},
|
|
155
|
+
}, D.value = s, f.value = t.id;
|
|
155
156
|
let r = "";
|
|
156
157
|
const w = e.value.style.chart.tooltip.customFormat;
|
|
157
|
-
|
|
158
|
+
ge(w) && He(() => w({
|
|
158
159
|
seriesIndex: l,
|
|
159
160
|
datapoint: t,
|
|
160
161
|
series: C.value,
|
|
@@ -164,7 +165,7 @@ const tt = ["id"], lt = {
|
|
|
164
165
|
datapoint: t,
|
|
165
166
|
series: C.value,
|
|
166
167
|
config: e.value
|
|
167
|
-
}) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${
|
|
168
|
+
}) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${fe(
|
|
168
169
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
169
170
|
t.value,
|
|
170
171
|
k({
|
|
@@ -184,48 +185,48 @@ const tt = ["id"], lt = {
|
|
|
184
185
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
185
186
|
})}</b></div>`), B.value = `<div>${r}</div>`);
|
|
186
187
|
}
|
|
187
|
-
const
|
|
188
|
+
const se = h(() => C.value.map((t, a) => ({
|
|
188
189
|
...t,
|
|
189
190
|
proportion: (t.value || 0) / y.dataset.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
|
|
190
|
-
opacity:
|
|
191
|
+
opacity: p.value.includes(t.id) ? 0.5 : 1,
|
|
191
192
|
shape: t.shape || "circle",
|
|
192
|
-
segregate: () =>
|
|
193
|
-
isSegregated:
|
|
194
|
-
}))),
|
|
193
|
+
segregate: () => z(t),
|
|
194
|
+
isSegregated: p.value.includes(t.id)
|
|
195
|
+
}))), Ne = h(() => ({
|
|
195
196
|
cy: "galaxy-div-legend",
|
|
196
197
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
197
198
|
color: e.value.style.chart.legend.color,
|
|
198
199
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
199
200
|
paddingBottom: 12,
|
|
200
201
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
201
|
-
})), m =
|
|
202
|
+
})), m = h(() => {
|
|
202
203
|
const t = P.value.map((l) => ({
|
|
203
204
|
name: l.name,
|
|
204
205
|
color: l.color
|
|
205
206
|
})), a = P.value.map((l) => l.value);
|
|
206
207
|
return { head: t, body: a };
|
|
207
208
|
});
|
|
208
|
-
function
|
|
209
|
-
|
|
209
|
+
function re() {
|
|
210
|
+
Ae(() => {
|
|
210
211
|
const t = m.value.head.map((s, r) => [[
|
|
211
212
|
s.name
|
|
212
|
-
], [m.value.body[r]], [isNaN(m.value.body[r] / g.value) ? "-" : m.value.body[r] / g.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l =
|
|
213
|
-
|
|
213
|
+
], [m.value.body[r]], [isNaN(m.value.body[r] / g.value) ? "-" : m.value.body[r] / g.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Xe(a);
|
|
214
|
+
Re({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
214
215
|
});
|
|
215
216
|
}
|
|
216
|
-
const F =
|
|
217
|
+
const F = h(() => {
|
|
217
218
|
const t = [
|
|
218
219
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
219
220
|
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: g.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
220
221
|
"100%"
|
|
221
222
|
], a = m.value.head.map((r, w) => {
|
|
222
|
-
const
|
|
223
|
+
const Oe = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[w], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
223
224
|
return [
|
|
224
225
|
{
|
|
225
226
|
color: r.color,
|
|
226
227
|
name: r.name
|
|
227
228
|
},
|
|
228
|
-
|
|
229
|
+
Oe,
|
|
229
230
|
isNaN(m.value.body[w] / g.value) ? "-" : k({
|
|
230
231
|
v: m.value.body[w] / g.value * 100,
|
|
231
232
|
s: "%",
|
|
@@ -256,42 +257,44 @@ const tt = ["id"], lt = {
|
|
|
256
257
|
config: l
|
|
257
258
|
};
|
|
258
259
|
});
|
|
259
|
-
function
|
|
260
|
+
function ue() {
|
|
260
261
|
b.value.showTable = !b.value.showTable;
|
|
261
262
|
}
|
|
262
|
-
function
|
|
263
|
+
function ne() {
|
|
263
264
|
b.value.showTooltip = !b.value.showTooltip;
|
|
264
265
|
}
|
|
265
266
|
const I = u(!1);
|
|
266
267
|
function W() {
|
|
267
268
|
I.value = !I.value;
|
|
268
269
|
}
|
|
269
|
-
return
|
|
270
|
-
getData:
|
|
271
|
-
generatePdf:
|
|
272
|
-
generateCsv:
|
|
273
|
-
generateImage:
|
|
274
|
-
toggleTable:
|
|
275
|
-
toggleTooltip:
|
|
270
|
+
return ke({
|
|
271
|
+
getData: _e,
|
|
272
|
+
generatePdf: le,
|
|
273
|
+
generateCsv: re,
|
|
274
|
+
generateImage: ae,
|
|
275
|
+
toggleTable: ue,
|
|
276
|
+
toggleTooltip: ne,
|
|
276
277
|
toggleAnnotator: W
|
|
277
|
-
}), (t, a) => (o(),
|
|
278
|
+
}), (t, a) => (o(), i("div", {
|
|
278
279
|
ref_key: "galaxyChart",
|
|
279
|
-
ref:
|
|
280
|
+
ref: L,
|
|
280
281
|
class: A(`vue-ui-galaxy ${x.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
281
|
-
style:
|
|
282
|
-
id: `galaxy_${T.value}
|
|
282
|
+
style: V(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
283
|
+
id: `galaxy_${T.value}`,
|
|
284
|
+
onMouseenter: a[3] || (a[3] = () => n(K)(!0)),
|
|
285
|
+
onMouseleave: a[4] || (a[4] = () => n(K)(!1))
|
|
283
286
|
}, [
|
|
284
|
-
e.value.userOptions.buttons.annotator ? (o(), $(
|
|
287
|
+
e.value.userOptions.buttons.annotator ? (o(), $(lt, {
|
|
285
288
|
key: 0,
|
|
286
|
-
parent:
|
|
289
|
+
parent: L.value,
|
|
287
290
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
288
291
|
color: e.value.style.chart.color,
|
|
289
292
|
active: I.value,
|
|
290
293
|
onClose: W
|
|
291
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
292
|
-
|
|
293
|
-
e.value.style.chart.title.text ? (o(),
|
|
294
|
-
(o(), $(
|
|
294
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
295
|
+
$e.value ? (o(), i("div", rt, null, 512)) : c("", !0),
|
|
296
|
+
e.value.style.chart.title.text ? (o(), i("div", ut, [
|
|
297
|
+
(o(), $(je, {
|
|
295
298
|
key: `title_${Y.value}`,
|
|
296
299
|
config: {
|
|
297
300
|
title: {
|
|
@@ -304,15 +307,15 @@ const tt = ["id"], lt = {
|
|
|
304
307
|
}
|
|
305
308
|
}
|
|
306
309
|
}, null, 8, ["config"]))
|
|
307
|
-
])) :
|
|
308
|
-
e.value.userOptions.show &&
|
|
310
|
+
])) : c("", !0),
|
|
311
|
+
e.value.userOptions.show && O.value && (n(Q) || n(J)) ? (o(), $(Qe, {
|
|
309
312
|
ref_key: "details",
|
|
310
|
-
ref:
|
|
313
|
+
ref: we,
|
|
311
314
|
key: `user_option_${R.value}`,
|
|
312
315
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
313
316
|
color: e.value.style.chart.color,
|
|
314
|
-
isPrinting:
|
|
315
|
-
isImaging:
|
|
317
|
+
isPrinting: n(ee),
|
|
318
|
+
isImaging: n(te),
|
|
316
319
|
uid: T.value,
|
|
317
320
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
318
321
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -323,76 +326,79 @@ const tt = ["id"], lt = {
|
|
|
323
326
|
isTooltip: b.value.showTooltip,
|
|
324
327
|
isFullscreen: x.value,
|
|
325
328
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
326
|
-
chartElement:
|
|
329
|
+
chartElement: L.value,
|
|
327
330
|
position: e.value.userOptions.position,
|
|
328
331
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
329
332
|
isAnnotation: I.value,
|
|
330
|
-
onToggleFullscreen:
|
|
331
|
-
onGeneratePdf:
|
|
332
|
-
onGenerateCsv:
|
|
333
|
-
onGenerateImage:
|
|
334
|
-
onToggleTable:
|
|
335
|
-
onToggleTooltip:
|
|
336
|
-
onToggleAnnotator: W
|
|
337
|
-
|
|
333
|
+
onToggleFullscreen: Pe,
|
|
334
|
+
onGeneratePdf: n(le),
|
|
335
|
+
onGenerateCsv: re,
|
|
336
|
+
onGenerateImage: n(ae),
|
|
337
|
+
onToggleTable: ue,
|
|
338
|
+
onToggleTooltip: ne,
|
|
339
|
+
onToggleAnnotator: W,
|
|
340
|
+
style: V({
|
|
341
|
+
visibility: n(Q) ? n(J) ? "visible" : "hidden" : "visible"
|
|
342
|
+
})
|
|
343
|
+
}, Ie({ _: 2 }, [
|
|
338
344
|
t.$slots.optionTooltip ? {
|
|
339
345
|
name: "optionTooltip",
|
|
340
|
-
fn:
|
|
341
|
-
|
|
346
|
+
fn: v(() => [
|
|
347
|
+
d(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
342
348
|
]),
|
|
343
349
|
key: "0"
|
|
344
350
|
} : void 0,
|
|
345
351
|
t.$slots.optionPdf ? {
|
|
346
352
|
name: "optionPdf",
|
|
347
|
-
fn:
|
|
348
|
-
|
|
353
|
+
fn: v(() => [
|
|
354
|
+
d(t.$slots, "optionPdf", {}, void 0, !0)
|
|
349
355
|
]),
|
|
350
356
|
key: "1"
|
|
351
357
|
} : void 0,
|
|
352
358
|
t.$slots.optionCsv ? {
|
|
353
359
|
name: "optionCsv",
|
|
354
|
-
fn:
|
|
355
|
-
|
|
360
|
+
fn: v(() => [
|
|
361
|
+
d(t.$slots, "optionCsv", {}, void 0, !0)
|
|
356
362
|
]),
|
|
357
363
|
key: "2"
|
|
358
364
|
} : void 0,
|
|
359
365
|
t.$slots.optionImg ? {
|
|
360
366
|
name: "optionImg",
|
|
361
|
-
fn:
|
|
362
|
-
|
|
367
|
+
fn: v(() => [
|
|
368
|
+
d(t.$slots, "optionImg", {}, void 0, !0)
|
|
363
369
|
]),
|
|
364
370
|
key: "3"
|
|
365
371
|
} : void 0,
|
|
366
372
|
t.$slots.optionTable ? {
|
|
367
373
|
name: "optionTable",
|
|
368
|
-
fn:
|
|
369
|
-
|
|
374
|
+
fn: v(() => [
|
|
375
|
+
d(t.$slots, "optionTable", {}, void 0, !0)
|
|
370
376
|
]),
|
|
371
377
|
key: "4"
|
|
372
378
|
} : void 0,
|
|
373
379
|
t.$slots.optionFullscreen ? {
|
|
374
380
|
name: "optionFullscreen",
|
|
375
|
-
fn:
|
|
376
|
-
|
|
381
|
+
fn: v(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
382
|
+
d(t.$slots, "optionFullscreen", S(N({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
377
383
|
]),
|
|
378
384
|
key: "5"
|
|
379
385
|
} : void 0,
|
|
380
386
|
t.$slots.optionAnnotator ? {
|
|
381
387
|
name: "optionAnnotator",
|
|
382
|
-
fn:
|
|
383
|
-
|
|
388
|
+
fn: v(({ toggleAnnotator: l, isAnnotator: s }) => [
|
|
389
|
+
d(t.$slots, "optionAnnotator", S(N({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
|
|
384
390
|
]),
|
|
385
391
|
key: "6"
|
|
386
392
|
} : void 0
|
|
387
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
388
|
-
|
|
393
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
394
|
+
O.value ? (o(), i("svg", {
|
|
389
395
|
key: 4,
|
|
390
|
-
xmlns:
|
|
396
|
+
xmlns: n(We),
|
|
391
397
|
class: A({ "vue-data-ui-fullscreen--on": x.value, "vue-data-ui-fulscreen--off": !x.value }),
|
|
392
398
|
viewBox: `0 0 ${G.value.width} ${G.value.height}`,
|
|
393
|
-
style:
|
|
399
|
+
style: V(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
394
400
|
}, [
|
|
395
|
-
|
|
401
|
+
ie(tt),
|
|
396
402
|
_("defs", null, [
|
|
397
403
|
_("filter", {
|
|
398
404
|
id: `blur_${T.value}`,
|
|
@@ -404,19 +410,19 @@ const tt = ["id"], lt = {
|
|
|
404
410
|
_("feGaussianBlur", {
|
|
405
411
|
in: "SourceGraphic",
|
|
406
412
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
407
|
-
}, null, 8,
|
|
408
|
-
], 8,
|
|
413
|
+
}, null, 8, ct)
|
|
414
|
+
], 8, it)
|
|
409
415
|
]),
|
|
410
|
-
(o(!0),
|
|
411
|
-
l.value ? (o(),
|
|
416
|
+
(o(!0), i(ce, null, ve(P.value, (l) => (o(), i("g", null, [
|
|
417
|
+
l.value ? (o(), i("path", {
|
|
412
418
|
key: 0,
|
|
413
419
|
d: l.path,
|
|
414
420
|
fill: "none",
|
|
415
421
|
stroke: e.value.style.chart.backgroundColor,
|
|
416
422
|
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
417
423
|
"stroke-linecap": "round"
|
|
418
|
-
}, null, 8,
|
|
419
|
-
l.value ? (o(),
|
|
424
|
+
}, null, 8, vt)) : c("", !0),
|
|
425
|
+
l.value ? (o(), i("path", {
|
|
420
426
|
key: 1,
|
|
421
427
|
d: l.path,
|
|
422
428
|
fill: "none",
|
|
@@ -424,8 +430,8 @@ const tt = ["id"], lt = {
|
|
|
424
430
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
425
431
|
"stroke-linecap": "round",
|
|
426
432
|
class: A(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
427
|
-
}, null, 10,
|
|
428
|
-
l.value && e.value.style.chart.layout.arcs.gradient.show ? (o(),
|
|
433
|
+
}, null, 10, dt)) : c("", !0),
|
|
434
|
+
l.value && e.value.style.chart.layout.arcs.gradient.show ? (o(), i("g", {
|
|
429
435
|
key: 2,
|
|
430
436
|
filter: `url(#blur_${T.value})`
|
|
431
437
|
}, [
|
|
@@ -436,35 +442,35 @@ const tt = ["id"], lt = {
|
|
|
436
442
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
437
443
|
"stroke-linecap": "round",
|
|
438
444
|
class: A(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
439
|
-
}, null, 10,
|
|
440
|
-
], 8,
|
|
445
|
+
}, null, 10, pt)
|
|
446
|
+
], 8, ht)) : c("", !0)
|
|
441
447
|
]))), 256)),
|
|
442
|
-
(o(!0),
|
|
443
|
-
l.value ? (o(),
|
|
448
|
+
(o(!0), i(ce, null, ve(P.value, (l, s) => (o(), i("g", null, [
|
|
449
|
+
l.value ? (o(), i("path", {
|
|
444
450
|
key: 0,
|
|
445
451
|
d: l.path,
|
|
446
452
|
fill: "none",
|
|
447
453
|
stroke: "transparent",
|
|
448
454
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
449
455
|
"stroke-linecap": "round",
|
|
450
|
-
onMouseenter: (r) =>
|
|
456
|
+
onMouseenter: (r) => Se({
|
|
451
457
|
datapoint: l,
|
|
452
458
|
relativeIndex: s,
|
|
453
459
|
seriesIndex: l.seriesIndex,
|
|
454
460
|
show: !0
|
|
455
461
|
}),
|
|
456
462
|
onMouseleave: a[0] || (a[0] = (r) => {
|
|
457
|
-
|
|
463
|
+
D.value = !1, f.value = null;
|
|
458
464
|
}),
|
|
459
|
-
onClick: (r) =>
|
|
460
|
-
}, null, 40,
|
|
465
|
+
onClick: (r) => H("selectDatapoint", l)
|
|
466
|
+
}, null, 40, yt)) : c("", !0)
|
|
461
467
|
]))), 256)),
|
|
462
|
-
|
|
463
|
-
], 14,
|
|
464
|
-
t.$slots.watermark ? (o(),
|
|
465
|
-
|
|
466
|
-
])) :
|
|
467
|
-
|
|
468
|
+
d(t.$slots, "svg", { svg: G.value }, void 0, !0)
|
|
469
|
+
], 14, nt)) : c("", !0),
|
|
470
|
+
t.$slots.watermark ? (o(), i("div", ft, [
|
|
471
|
+
d(t.$slots, "watermark", S(N({ isPrinting: n(ee) || n(te) })), void 0, !0)
|
|
472
|
+
])) : c("", !0),
|
|
473
|
+
O.value ? c("", !0) : (o(), $(Ze, {
|
|
468
474
|
key: 6,
|
|
469
475
|
config: {
|
|
470
476
|
type: "galaxy",
|
|
@@ -476,21 +482,21 @@ const tt = ["id"], lt = {
|
|
|
476
482
|
}
|
|
477
483
|
}
|
|
478
484
|
}, null, 8, ["config"])),
|
|
479
|
-
e.value.style.chart.legend.show ? (o(), $(
|
|
485
|
+
e.value.style.chart.legend.show ? (o(), $(Ye, {
|
|
480
486
|
key: `legend_${q.value}`,
|
|
481
|
-
legendSet:
|
|
482
|
-
config:
|
|
483
|
-
onClickMarker: a[1] || (a[1] = ({ legend: l }) =>
|
|
487
|
+
legendSet: se.value,
|
|
488
|
+
config: Ne.value,
|
|
489
|
+
onClickMarker: a[1] || (a[1] = ({ legend: l }) => z(l))
|
|
484
490
|
}, {
|
|
485
|
-
item:
|
|
491
|
+
item: v(({ legend: l, index: s }) => [
|
|
486
492
|
_("div", {
|
|
487
|
-
onClick: (r) =>
|
|
488
|
-
style:
|
|
493
|
+
onClick: (r) => z(l),
|
|
494
|
+
style: V(`opacity:${p.value.includes(l.id) ? 0.5 : 1}`)
|
|
489
495
|
}, [
|
|
490
|
-
|
|
496
|
+
de(E(l.name) + ": " + E(n(fe)(
|
|
491
497
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
492
498
|
l.value,
|
|
493
|
-
|
|
499
|
+
n(k)({
|
|
494
500
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
495
501
|
v: l.value,
|
|
496
502
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -498,21 +504,21 @@ const tt = ["id"], lt = {
|
|
|
498
504
|
}),
|
|
499
505
|
{ datapoint: l, seriesIndex: s }
|
|
500
506
|
)) + " ", 1),
|
|
501
|
-
|
|
507
|
+
p.value.includes(l.id) ? (o(), i("span", mt, " ( - % ) ")) : (o(), i("span", bt, " (" + E(isNaN(l.value / g.value) ? "-" : n(k)({
|
|
502
508
|
v: l.value / g.value * 100,
|
|
503
509
|
s: "%",
|
|
504
510
|
r: e.value.style.chart.legend.roundingPercentage
|
|
505
511
|
})) + ") ", 1))
|
|
506
|
-
], 12,
|
|
512
|
+
], 12, gt)
|
|
507
513
|
]),
|
|
508
514
|
_: 1
|
|
509
|
-
}, 8, ["legendSet", "config"])) :
|
|
510
|
-
|
|
511
|
-
t.$slots.source ? (o(),
|
|
512
|
-
|
|
513
|
-
], 512)) :
|
|
514
|
-
|
|
515
|
-
show: b.value.showTooltip &&
|
|
515
|
+
}, 8, ["legendSet", "config"])) : c("", !0),
|
|
516
|
+
d(t.$slots, "legend", { legend: se.value }, void 0, !0),
|
|
517
|
+
t.$slots.source ? (o(), i("div", kt, [
|
|
518
|
+
d(t.$slots, "source", {}, void 0, !0)
|
|
519
|
+
], 512)) : c("", !0),
|
|
520
|
+
ie(qe, {
|
|
521
|
+
show: b.value.showTooltip && D.value,
|
|
516
522
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
517
523
|
color: e.value.style.chart.tooltip.color,
|
|
518
524
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -522,20 +528,20 @@ const tt = ["id"], lt = {
|
|
|
522
528
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
523
529
|
position: e.value.style.chart.tooltip.position,
|
|
524
530
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
525
|
-
parent:
|
|
531
|
+
parent: L.value,
|
|
526
532
|
content: B.value,
|
|
527
533
|
isFullscreen: x.value,
|
|
528
|
-
isCustom:
|
|
534
|
+
isCustom: n(ge)(e.value.style.chart.tooltip.customFormat)
|
|
529
535
|
}, {
|
|
530
|
-
"tooltip-before":
|
|
531
|
-
|
|
536
|
+
"tooltip-before": v(() => [
|
|
537
|
+
d(t.$slots, "tooltip-before", S(N({ ...U.value })), void 0, !0)
|
|
532
538
|
]),
|
|
533
|
-
"tooltip-after":
|
|
534
|
-
|
|
539
|
+
"tooltip-after": v(() => [
|
|
540
|
+
d(t.$slots, "tooltip-after", S(N({ ...U.value })), void 0, !0)
|
|
535
541
|
]),
|
|
536
542
|
_: 3
|
|
537
543
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
538
|
-
|
|
544
|
+
O.value ? (o(), $(et, {
|
|
539
545
|
key: 9,
|
|
540
546
|
hideDetails: "",
|
|
541
547
|
config: {
|
|
@@ -551,8 +557,8 @@ const tt = ["id"], lt = {
|
|
|
551
557
|
}
|
|
552
558
|
}
|
|
553
559
|
}, {
|
|
554
|
-
content:
|
|
555
|
-
(o(), $(
|
|
560
|
+
content: v(() => [
|
|
561
|
+
(o(), $(Je, {
|
|
556
562
|
key: `table_${j.value}`,
|
|
557
563
|
colNames: F.value.colNames,
|
|
558
564
|
head: F.value.head,
|
|
@@ -561,23 +567,23 @@ const tt = ["id"], lt = {
|
|
|
561
567
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
562
568
|
onClose: a[2] || (a[2] = (l) => b.value.showTable = !1)
|
|
563
569
|
}, {
|
|
564
|
-
th:
|
|
570
|
+
th: v(({ th: l }) => [
|
|
565
571
|
_("div", {
|
|
566
572
|
innerHTML: l,
|
|
567
573
|
style: { display: "flex", "align-items": "center" }
|
|
568
|
-
}, null, 8,
|
|
574
|
+
}, null, 8, Ct)
|
|
569
575
|
]),
|
|
570
|
-
td:
|
|
571
|
-
|
|
576
|
+
td: v(({ td: l }) => [
|
|
577
|
+
de(E(l.name || l), 1)
|
|
572
578
|
]),
|
|
573
579
|
_: 1
|
|
574
580
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
575
581
|
]),
|
|
576
582
|
_: 1
|
|
577
|
-
}, 8, ["config"])) :
|
|
578
|
-
],
|
|
583
|
+
}, 8, ["config"])) : c("", !0)
|
|
584
|
+
], 46, st));
|
|
579
585
|
}
|
|
580
|
-
},
|
|
586
|
+
}, Mt = /* @__PURE__ */ ot(wt, [["__scopeId", "data-v-485c73d8"]]);
|
|
581
587
|
export {
|
|
582
|
-
|
|
588
|
+
Mt as default
|
|
583
589
|
};
|