vue-data-ui 2.4.2 → 2.4.4
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 +3 -1
- package/dist/{Arrow-JuK2z9IB.js → Arrow-AxsI-FAh.js} +1 -1
- package/dist/{Arrow-DLTRnzcG.cjs → Arrow-W6XO2WVI.cjs} +1 -1
- package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
- package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BX3x6oa7.js} +1 -1
- package/dist/{DataTable-DTk7C4Pr.js → DataTable-BI1tjiA_.js} +2 -2
- package/dist/{DataTable-DJzhv96s.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
- package/dist/{Legend-YZ7Hz3o1.cjs → Legend-B86sMXn7.cjs} +1 -1
- package/dist/{Legend-CYF2gpXG.js → Legend-CRMHjbGw.js} +1 -1
- package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-Clrfvyd8.js} +1 -1
- package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
- package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-BQzgk5kO.js} +2 -2
- package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
- package/dist/{Shape-BpPn4eWR.js → Shape-DYNtRer6.js} +1 -1
- package/dist/{Shape-X2F-QV_B.cjs → Shape-qK3MNdTg.cjs} +1 -1
- package/dist/{Slicer-CU7dRZR0.js → Slicer-DFPDip5U.js} +3 -3
- package/dist/{Slicer-CL0tP5a5.cjs → Slicer-NlxLkUso.cjs} +1 -1
- package/dist/{Title-5VmBwT4i.js → Title-710895ks.js} +1 -1
- package/dist/{Title-Co5jI5ed.cjs → Title-CUN1T6KC.cjs} +1 -1
- package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-BapDtYOM.cjs} +1 -1
- package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-CPlG_yQU.js} +1 -1
- package/dist/index-CcykRspI.cjs +9 -0
- package/dist/{index-DnVHQ2xI.js → index-DCsPHn9C.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -1
- package/dist/types/vue-data-ui.d.ts +4 -1
- package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-DdSlLeTW.js} +1 -1
- package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
- package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-BcE45wW6.cjs} +1 -1
- package/dist/{usePrinter-BEeNAqS5.js → usePrinter-siG3sKWo.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/useResponsive-CoxXLe23.js +189 -0
- package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
- package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-D_MTGc8j.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BdzWvy4d.js} +41 -34
- package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +2 -2
- package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
- package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
- package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CHEdFQb7.js} +185 -168
- package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
- package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
- package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-DBk50kIe.js} +195 -158
- package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
- package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-Bo41qkGe.js} +263 -246
- package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
- package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-CkNOqa9q.js} +76 -69
- package/dist/vue-ui-carousel-table-lMqx64wd.cjs +1 -0
- package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-CNWq-epB.js} +299 -286
- package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
- package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
- package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
- package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
- package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
- package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
- package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-C65SAJKb.js} +374 -357
- package/dist/vue-ui-donut-CMC92CXL.cjs +1 -0
- package/dist/vue-ui-donut-evolution-7gIM4bVk.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-BFbBlmBx.js} +240 -226
- package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-BnxRfvv0.js} +227 -210
- package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
- package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
- package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Cra_F-tK.js} +150 -137
- package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
- package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-DlJ7v0aD.js} +145 -132
- package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-CsqVvNxE.js} +210 -193
- package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
- package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
- package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
- package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-i4HFM04D.js} +203 -189
- package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
- package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
- package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-CgdepnhM.js} +164 -151
- package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-Bxro4962.js} +217 -203
- package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-B7dXBejH.js} +342 -325
- package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
- package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
- package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-i52wztm0.js} +267 -250
- package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +241 -224
- package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BORPtgQO.js} +236 -219
- package/dist/vue-ui-quadrant-a_I5E71f.cjs +1 -0
- package/dist/vue-ui-quick-chart-BpPDfK78.cjs +15 -0
- package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-yb1FzVdt.js} +469 -452
- package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-CoCbl19A.js} +198 -181
- package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
- package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D-zwuvLK.js} +2 -2
- package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-nTJ8DDhG.cjs} +1 -1
- package/dist/vue-ui-relation-circle-CW9qozhJ.js +366 -0
- package/dist/vue-ui-relation-circle-Wj_yrVJc.cjs +1 -0
- package/dist/vue-ui-rings-BZaZIGEz.cjs +2 -0
- package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-Bx2GEh6d.js} +221 -204
- package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-BARiPzro.js} +375 -358
- package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
- package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
- package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
- package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-DNuwx6_y.js} +419 -379
- package/dist/vue-ui-skeleton-DpfJbsNA.cjs +41 -0
- package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-BnX27B0k.js} +2 -2
- package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-CgCLrMox.js} +86 -79
- package/dist/vue-ui-spark-trend-aW-de-rX.cjs +1 -0
- package/dist/vue-ui-sparkbar-BLUXUlTY.cjs +1 -0
- package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-BXku33sq.js} +90 -83
- package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-Doi0iu0L.js} +57 -50
- package/dist/vue-ui-sparkgauge-RTiKvSMp.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-BnMvXlAP.js} +74 -67
- package/dist/vue-ui-sparkhistogram-C6AgJH1C.cjs +1 -0
- package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-DI7fq_MR.js} +134 -125
- package/dist/vue-ui-sparkline-DpVCQ6W9.cjs +1 -0
- package/dist/vue-ui-sparkstackbar-Bvuq2sLW.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-oNnE5z1C.js} +84 -77
- package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-6g7b3yyu.js} +205 -196
- package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-BFM8HIM8.js} +265 -248
- package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
- package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
- package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-Bh48bMuU.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-DeRCR8l6.js} +55 -48
- package/dist/vue-ui-table-sparkline-C25qj1w_.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-w3H-od91.js} +88 -81
- package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-BySEVhT8.js} +162 -149
- package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
- package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
- package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-BN-9a2lj.js} +6 -6
- package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
- package/dist/vue-ui-tiremarks-EzYdOMyf.js +317 -0
- package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
- package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-Da0f6vaF.js} +283 -266
- package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
- package/dist/vue-ui-vertical-bar-D1cBfu5p.js +869 -0
- package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
- package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-DM2LsEP7.js} +258 -241
- package/dist/vue-ui-wheel-B9cmixxi.js +299 -0
- package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
- package/dist/vue-ui-word-cloud-BLMWYOPy.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-Baz7RXN2.js} +192 -183
- package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
- package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-DVnzVSqE.js} +339 -319
- package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-A7PKnWBs.js} +255 -246
- package/dist/vue-ui-xy-canvas-DAd-B98z.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-FfZRtJ6A.cjs +0 -9
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
- package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
- package/dist/vue-ui-donut-CplNylps.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
- package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
- package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +0 -15
- package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
- package/dist/vue-ui-relation-circle-I45_Sk5l.js +0 -349
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
- package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
- package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
- package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
- package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
- package/dist/vue-ui-tiremarks-vdPQYiDp.js +0 -303
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DwxpB46q.js +0 -852
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
- package/dist/vue-ui-wheel-Bbih5sSL.js +0 -282
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
- package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
|
@@ -1,23 +1,32 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as Ie, o 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 ye } from "./useNestedProp-
|
|
11
|
-
import { _ as
|
|
12
|
-
import { P as
|
|
13
|
-
import { _ as
|
|
14
|
-
const
|
|
1
|
+
import { computed as d, onMounted as Se, ref as u, watch as Ne, openBlock as o, createElementBlock as n, normalizeClass as F, normalizeStyle as H, createBlock as $, createCommentVNode as i, unref as p, createSlots as Le, withCtx as c, renderSlot as v, normalizeProps as S, guardReactiveProps as N, createVNode as re, createElementVNode as x, Fragment as ue, renderList as ne, createTextVNode as ie, toDisplayString as E, nextTick as Oe } from "vue";
|
|
2
|
+
import { u as Ie, o as Ae, e as ce, g as Fe, c as ve, t as Ee, a as De, p as D, b as Ve, d as Be, I as de, L as Ge, f as k, X as Me, i as he, x as pe, y as ze, q as We, r as He } from "./index-DCsPHn9C.js";
|
|
3
|
+
import { L as Ue } from "./Legend-CRMHjbGw.js";
|
|
4
|
+
import { _ as Xe } from "./Title-710895ks.js";
|
|
5
|
+
import { _ as Re } from "./Tooltip-CPlG_yQU.js";
|
|
6
|
+
import { D as Ye } from "./DataTable-BI1tjiA_.js";
|
|
7
|
+
import { u as je, U as qe } from "./usePrinter-siG3sKWo.js";
|
|
8
|
+
import Je from "./vue-ui-skeleton-DNuwx6_y.js";
|
|
9
|
+
import Ke from "./vue-ui-accordion-D4Er5Dy5.js";
|
|
10
|
+
import { u as ye } from "./useNestedProp-DdSlLeTW.js";
|
|
11
|
+
import { _ as Qe } from "./PackageVersion-Clrfvyd8.js";
|
|
12
|
+
import { P as Ze } from "./PenAndPaper-BQzgk5kO.js";
|
|
13
|
+
import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const tt = ["id"], lt = {
|
|
15
15
|
key: 1,
|
|
16
|
+
ref: "noTitle",
|
|
17
|
+
class: "vue-data-ui-no-title-space",
|
|
18
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
19
|
+
}, at = {
|
|
20
|
+
key: 2,
|
|
16
21
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
17
|
-
},
|
|
18
|
-
key:
|
|
22
|
+
}, ot = ["xmlns", "viewBox"], st = ["id"], rt = ["stdDeviation"], ut = ["d", "stroke", "stroke-width"], nt = ["d", "stroke", "stroke-width"], it = ["filter"], ct = ["d", "stroke", "stroke-width"], vt = ["d", "stroke-width", "onMouseenter", "onClick"], dt = {
|
|
23
|
+
key: 5,
|
|
19
24
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
25
|
+
}, ht = ["onClick"], pt = { key: 0 }, yt = { key: 1 }, ft = {
|
|
26
|
+
key: 8,
|
|
27
|
+
ref: "source",
|
|
28
|
+
dir: "auto"
|
|
29
|
+
}, gt = ["innerHTML"], bt = {
|
|
21
30
|
__name: "vue-ui-galaxy",
|
|
22
31
|
props: {
|
|
23
32
|
config: {
|
|
@@ -35,16 +44,16 @@ const et = ["id"], tt = {
|
|
|
35
44
|
},
|
|
36
45
|
emits: ["selectLegend", "selectDatapoint"],
|
|
37
46
|
setup(fe, { expose: ge, emit: U }) {
|
|
38
|
-
const y = fe, { vue_ui_galaxy: be } = Ie(), L =
|
|
39
|
-
|
|
47
|
+
const y = fe, { vue_ui_galaxy: be } = Ie(), L = d(() => !!y.dataset && y.dataset.length);
|
|
48
|
+
Se(() => {
|
|
40
49
|
X();
|
|
41
50
|
});
|
|
42
51
|
function X() {
|
|
43
|
-
|
|
52
|
+
Ae(y.dataset) ? ce({
|
|
44
53
|
componentName: "VueUiGalaxy",
|
|
45
54
|
type: "dataset"
|
|
46
55
|
}) : y.dataset.forEach((t, a) => {
|
|
47
|
-
|
|
56
|
+
Fe({
|
|
48
57
|
datasetObject: t,
|
|
49
58
|
requiredAttributes: ["name", "values"]
|
|
50
59
|
}).forEach((l) => {
|
|
@@ -57,7 +66,7 @@ const et = ["id"], tt = {
|
|
|
57
66
|
});
|
|
58
67
|
});
|
|
59
68
|
}
|
|
60
|
-
const _ = u(ve()),
|
|
69
|
+
const _ = u(ve()), O = u(null), me = u(null), V = u(!1), B = u(""), f = u(null), R = u(0), Y = u(0), j = u(0), q = u(0), e = d({
|
|
61
70
|
get: () => J(),
|
|
62
71
|
set: (t) => t
|
|
63
72
|
});
|
|
@@ -68,19 +77,19 @@ const et = ["id"], tt = {
|
|
|
68
77
|
});
|
|
69
78
|
return t.theme ? {
|
|
70
79
|
...ye({
|
|
71
|
-
userConfig:
|
|
80
|
+
userConfig: Ee.vue_ui_galaxy[t.theme] || y.config,
|
|
72
81
|
defaultConfig: t
|
|
73
82
|
}),
|
|
74
|
-
customPalette:
|
|
83
|
+
customPalette: De[t.theme] || D
|
|
75
84
|
} : t;
|
|
76
85
|
}
|
|
77
|
-
|
|
86
|
+
Ne(() => y.config, (t) => {
|
|
78
87
|
e.value = J(), X(), Y.value += 1, j.value += 1, q.value += 1;
|
|
79
88
|
}, { deep: !0 });
|
|
80
|
-
const { isPrinting: K, isImaging: Q, generatePdf: Z, generateImage: ee } =
|
|
89
|
+
const { isPrinting: K, isImaging: Q, generatePdf: Z, generateImage: ee } = je({
|
|
81
90
|
elementId: `galaxy_${_.value}`,
|
|
82
91
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
|
|
83
|
-
}), ke =
|
|
92
|
+
}), ke = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ce = d(() => Ve(e.value.customPalette)), b = u({
|
|
84
93
|
dataLabels: {
|
|
85
94
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
86
95
|
},
|
|
@@ -90,62 +99,62 @@ const et = ["id"], tt = {
|
|
|
90
99
|
height: 180,
|
|
91
100
|
// or 250 if non fibo
|
|
92
101
|
width: 250
|
|
93
|
-
}),
|
|
102
|
+
}), h = u([]);
|
|
94
103
|
function M(t) {
|
|
95
|
-
|
|
104
|
+
h.value.includes(t.id) ? h.value = h.value.filter((a) => a !== t.id) : h.value.push(t.id), U("selectLegend", T.value.map((a) => ({
|
|
96
105
|
name: a.name,
|
|
97
106
|
color: a.color,
|
|
98
107
|
value: a.value
|
|
99
108
|
})));
|
|
100
109
|
}
|
|
101
|
-
const C =
|
|
110
|
+
const C = d(() => y.dataset.map((t, a) => ({
|
|
102
111
|
name: t.name,
|
|
103
|
-
color:
|
|
104
|
-
value: t.values ? de(t.values).reduce((l,
|
|
112
|
+
color: Be(t.color) || Ce.value[a] || D[a] || D[a % D.length],
|
|
113
|
+
value: t.values ? de(t.values).reduce((l, s) => l + s, 0) : 0,
|
|
105
114
|
absoluteValues: de(t.values),
|
|
106
115
|
id: ve(),
|
|
107
116
|
seriesIndex: a
|
|
108
117
|
})).sort((t, a) => a.value - t.value));
|
|
109
|
-
function
|
|
118
|
+
function we() {
|
|
110
119
|
return C.value.map((t) => ({
|
|
111
120
|
name: t.name,
|
|
112
121
|
color: t.color,
|
|
113
122
|
value: t.value
|
|
114
123
|
}));
|
|
115
124
|
}
|
|
116
|
-
const g =
|
|
125
|
+
const g = d(() => C.value.filter((t) => !h.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), $e = u(190), te = d(() => C.value.filter((t) => !h.value.includes(t.id))), T = d(() => {
|
|
117
126
|
const t = [];
|
|
118
127
|
for (let a = 0; a < te.value.length; a += 1) {
|
|
119
128
|
const l = te.value[a];
|
|
120
|
-
let
|
|
121
|
-
a > 0 && t.length && (
|
|
122
|
-
points:
|
|
129
|
+
let s = l.value / g.value * $e.value;
|
|
130
|
+
a > 0 && t.length && (s += t[a - 1].points), t.push({
|
|
131
|
+
points: s,
|
|
123
132
|
...l,
|
|
124
133
|
seriesIndex: a,
|
|
125
134
|
proportion: l.value / g.value,
|
|
126
|
-
path:
|
|
127
|
-
points:
|
|
135
|
+
path: Ge({
|
|
136
|
+
points: s,
|
|
128
137
|
startX: 115 + e.value.style.chart.layout.arcs.offsetX,
|
|
129
138
|
startY: 90 + e.value.style.chart.layout.arcs.offsetY
|
|
130
139
|
})
|
|
131
140
|
});
|
|
132
141
|
}
|
|
133
|
-
return t.filter((a, l) => !
|
|
142
|
+
return t.filter((a, l) => !h.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
134
143
|
}), P = u(!1);
|
|
135
|
-
function
|
|
144
|
+
function xe(t) {
|
|
136
145
|
P.value = t, R.value += 1;
|
|
137
146
|
}
|
|
138
147
|
const z = u(null);
|
|
139
|
-
function
|
|
148
|
+
function _e({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
|
|
140
149
|
z.value = {
|
|
141
150
|
datapoint: t,
|
|
142
151
|
seriesIndex: l,
|
|
143
152
|
series: C.value,
|
|
144
153
|
config: e.value
|
|
145
|
-
}, V.value =
|
|
154
|
+
}, V.value = s, f.value = t.id;
|
|
146
155
|
let r = "";
|
|
147
156
|
const w = e.value.style.chart.tooltip.customFormat;
|
|
148
|
-
pe(w) &&
|
|
157
|
+
pe(w) && ze(() => w({
|
|
149
158
|
seriesIndex: l,
|
|
150
159
|
datapoint: t,
|
|
151
160
|
series: C.value,
|
|
@@ -175,21 +184,21 @@ const et = ["id"], tt = {
|
|
|
175
184
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
176
185
|
})}</b></div>`), B.value = `<div>${r}</div>`);
|
|
177
186
|
}
|
|
178
|
-
const le =
|
|
187
|
+
const le = d(() => C.value.map((t, a) => ({
|
|
179
188
|
...t,
|
|
180
|
-
proportion: (t.value || 0) / y.dataset.map((l) => (l.values || []).reduce((
|
|
181
|
-
opacity:
|
|
189
|
+
proportion: (t.value || 0) / y.dataset.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
|
|
190
|
+
opacity: h.value.includes(t.id) ? 0.5 : 1,
|
|
182
191
|
shape: t.shape || "circle",
|
|
183
192
|
segregate: () => M(t),
|
|
184
|
-
isSegregated:
|
|
185
|
-
}))),
|
|
193
|
+
isSegregated: h.value.includes(t.id)
|
|
194
|
+
}))), Te = d(() => ({
|
|
186
195
|
cy: "galaxy-div-legend",
|
|
187
196
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
188
197
|
color: e.value.style.chart.legend.color,
|
|
189
198
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
190
199
|
paddingBottom: 12,
|
|
191
200
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
192
|
-
})), m =
|
|
201
|
+
})), m = d(() => {
|
|
193
202
|
const t = T.value.map((l) => ({
|
|
194
203
|
name: l.name,
|
|
195
204
|
color: l.color
|
|
@@ -197,26 +206,26 @@ const et = ["id"], tt = {
|
|
|
197
206
|
return { head: t, body: a };
|
|
198
207
|
});
|
|
199
208
|
function ae() {
|
|
200
|
-
|
|
201
|
-
const t = m.value.head.map((
|
|
202
|
-
|
|
203
|
-
], [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 =
|
|
204
|
-
|
|
209
|
+
Oe(() => {
|
|
210
|
+
const t = m.value.head.map((s, r) => [[
|
|
211
|
+
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 = We(a);
|
|
213
|
+
He({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
205
214
|
});
|
|
206
215
|
}
|
|
207
|
-
const
|
|
216
|
+
const I = d(() => {
|
|
208
217
|
const t = [
|
|
209
218
|
' <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>',
|
|
210
219
|
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 }),
|
|
211
220
|
"100%"
|
|
212
221
|
], a = m.value.head.map((r, w) => {
|
|
213
|
-
const
|
|
222
|
+
const Pe = 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 });
|
|
214
223
|
return [
|
|
215
224
|
{
|
|
216
225
|
color: r.color,
|
|
217
226
|
name: r.name
|
|
218
227
|
},
|
|
219
|
-
|
|
228
|
+
Pe,
|
|
220
229
|
isNaN(m.value.body[w] / g.value) ? "-" : k({
|
|
221
230
|
v: m.value.body[w] / g.value * 100,
|
|
222
231
|
s: "%",
|
|
@@ -258,30 +267,31 @@ const et = ["id"], tt = {
|
|
|
258
267
|
A.value = !A.value;
|
|
259
268
|
}
|
|
260
269
|
return ge({
|
|
261
|
-
getData:
|
|
270
|
+
getData: we,
|
|
262
271
|
generatePdf: Z,
|
|
263
272
|
generateCsv: ae,
|
|
264
273
|
generateImage: ee,
|
|
265
274
|
toggleTable: oe,
|
|
266
275
|
toggleTooltip: se,
|
|
267
276
|
toggleAnnotator: W
|
|
268
|
-
}), (t, a) => (
|
|
277
|
+
}), (t, a) => (o(), n("div", {
|
|
269
278
|
ref_key: "galaxyChart",
|
|
270
|
-
ref:
|
|
279
|
+
ref: O,
|
|
271
280
|
class: F(`vue-ui-galaxy ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
272
281
|
style: H(`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}`),
|
|
273
282
|
id: `galaxy_${_.value}`
|
|
274
283
|
}, [
|
|
275
|
-
e.value.userOptions.buttons.annotator ? (
|
|
284
|
+
e.value.userOptions.buttons.annotator ? (o(), $(Ze, {
|
|
276
285
|
key: 0,
|
|
277
|
-
parent:
|
|
286
|
+
parent: O.value,
|
|
278
287
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
279
288
|
color: e.value.style.chart.color,
|
|
280
289
|
active: A.value,
|
|
281
290
|
onClose: W
|
|
282
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
283
|
-
|
|
284
|
-
|
|
291
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
|
|
292
|
+
ke.value ? (o(), n("div", lt, null, 512)) : i("", !0),
|
|
293
|
+
e.value.style.chart.title.text ? (o(), n("div", at, [
|
|
294
|
+
(o(), $(Xe, {
|
|
285
295
|
key: `title_${Y.value}`,
|
|
286
296
|
config: {
|
|
287
297
|
title: {
|
|
@@ -294,8 +304,8 @@ const et = ["id"], tt = {
|
|
|
294
304
|
}
|
|
295
305
|
}
|
|
296
306
|
}, null, 8, ["config"]))
|
|
297
|
-
])) :
|
|
298
|
-
e.value.userOptions.show && L.value ? (
|
|
307
|
+
])) : i("", !0),
|
|
308
|
+
e.value.userOptions.show && L.value ? (o(), $(qe, {
|
|
299
309
|
ref_key: "details",
|
|
300
310
|
ref: me,
|
|
301
311
|
key: `user_option_${R.value}`,
|
|
@@ -313,76 +323,76 @@ const et = ["id"], tt = {
|
|
|
313
323
|
isTooltip: b.value.showTooltip,
|
|
314
324
|
isFullscreen: P.value,
|
|
315
325
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
316
|
-
chartElement:
|
|
326
|
+
chartElement: O.value,
|
|
317
327
|
position: e.value.userOptions.position,
|
|
318
328
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
319
329
|
isAnnotation: A.value,
|
|
320
|
-
onToggleFullscreen:
|
|
330
|
+
onToggleFullscreen: xe,
|
|
321
331
|
onGeneratePdf: p(Z),
|
|
322
332
|
onGenerateCsv: ae,
|
|
323
333
|
onGenerateImage: p(ee),
|
|
324
334
|
onToggleTable: oe,
|
|
325
335
|
onToggleTooltip: se,
|
|
326
336
|
onToggleAnnotator: W
|
|
327
|
-
},
|
|
337
|
+
}, Le({ _: 2 }, [
|
|
328
338
|
t.$slots.optionTooltip ? {
|
|
329
339
|
name: "optionTooltip",
|
|
330
|
-
fn:
|
|
340
|
+
fn: c(() => [
|
|
331
341
|
v(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
332
342
|
]),
|
|
333
343
|
key: "0"
|
|
334
344
|
} : void 0,
|
|
335
345
|
t.$slots.optionPdf ? {
|
|
336
346
|
name: "optionPdf",
|
|
337
|
-
fn:
|
|
347
|
+
fn: c(() => [
|
|
338
348
|
v(t.$slots, "optionPdf", {}, void 0, !0)
|
|
339
349
|
]),
|
|
340
350
|
key: "1"
|
|
341
351
|
} : void 0,
|
|
342
352
|
t.$slots.optionCsv ? {
|
|
343
353
|
name: "optionCsv",
|
|
344
|
-
fn:
|
|
354
|
+
fn: c(() => [
|
|
345
355
|
v(t.$slots, "optionCsv", {}, void 0, !0)
|
|
346
356
|
]),
|
|
347
357
|
key: "2"
|
|
348
358
|
} : void 0,
|
|
349
359
|
t.$slots.optionImg ? {
|
|
350
360
|
name: "optionImg",
|
|
351
|
-
fn:
|
|
361
|
+
fn: c(() => [
|
|
352
362
|
v(t.$slots, "optionImg", {}, void 0, !0)
|
|
353
363
|
]),
|
|
354
364
|
key: "3"
|
|
355
365
|
} : void 0,
|
|
356
366
|
t.$slots.optionTable ? {
|
|
357
367
|
name: "optionTable",
|
|
358
|
-
fn:
|
|
368
|
+
fn: c(() => [
|
|
359
369
|
v(t.$slots, "optionTable", {}, void 0, !0)
|
|
360
370
|
]),
|
|
361
371
|
key: "4"
|
|
362
372
|
} : void 0,
|
|
363
373
|
t.$slots.optionFullscreen ? {
|
|
364
374
|
name: "optionFullscreen",
|
|
365
|
-
fn:
|
|
366
|
-
v(t.$slots, "optionFullscreen", S(N({ toggleFullscreen: l, isFullscreen:
|
|
375
|
+
fn: c(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
376
|
+
v(t.$slots, "optionFullscreen", S(N({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
367
377
|
]),
|
|
368
378
|
key: "5"
|
|
369
379
|
} : void 0,
|
|
370
380
|
t.$slots.optionAnnotator ? {
|
|
371
381
|
name: "optionAnnotator",
|
|
372
|
-
fn:
|
|
373
|
-
v(t.$slots, "optionAnnotator", S(N({ toggleAnnotator: l, isAnnotator:
|
|
382
|
+
fn: c(({ toggleAnnotator: l, isAnnotator: s }) => [
|
|
383
|
+
v(t.$slots, "optionAnnotator", S(N({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
|
|
374
384
|
]),
|
|
375
385
|
key: "6"
|
|
376
386
|
} : void 0
|
|
377
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
378
|
-
L.value ? (
|
|
379
|
-
key:
|
|
380
|
-
xmlns: p(
|
|
387
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : i("", !0),
|
|
388
|
+
L.value ? (o(), n("svg", {
|
|
389
|
+
key: 4,
|
|
390
|
+
xmlns: p(Me),
|
|
381
391
|
class: F({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
382
392
|
viewBox: `0 0 ${G.value.width} ${G.value.height}`,
|
|
383
393
|
style: H(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
384
394
|
}, [
|
|
385
|
-
re(
|
|
395
|
+
re(Qe),
|
|
386
396
|
x("defs", null, [
|
|
387
397
|
x("filter", {
|
|
388
398
|
id: `blur_${_.value}`,
|
|
@@ -394,19 +404,19 @@ const et = ["id"], tt = {
|
|
|
394
404
|
x("feGaussianBlur", {
|
|
395
405
|
in: "SourceGraphic",
|
|
396
406
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
397
|
-
}, null, 8,
|
|
398
|
-
], 8,
|
|
407
|
+
}, null, 8, rt)
|
|
408
|
+
], 8, st)
|
|
399
409
|
]),
|
|
400
|
-
(
|
|
401
|
-
l.value ? (
|
|
410
|
+
(o(!0), n(ue, null, ne(T.value, (l) => (o(), n("g", null, [
|
|
411
|
+
l.value ? (o(), n("path", {
|
|
402
412
|
key: 0,
|
|
403
413
|
d: l.path,
|
|
404
414
|
fill: "none",
|
|
405
415
|
stroke: e.value.style.chart.backgroundColor,
|
|
406
416
|
"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),
|
|
407
417
|
"stroke-linecap": "round"
|
|
408
|
-
}, null, 8,
|
|
409
|
-
l.value ? (
|
|
418
|
+
}, null, 8, ut)) : i("", !0),
|
|
419
|
+
l.value ? (o(), n("path", {
|
|
410
420
|
key: 1,
|
|
411
421
|
d: l.path,
|
|
412
422
|
fill: "none",
|
|
@@ -414,8 +424,8 @@ const et = ["id"], tt = {
|
|
|
414
424
|
"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),
|
|
415
425
|
"stroke-linecap": "round",
|
|
416
426
|
class: F(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
417
|
-
}, null, 10,
|
|
418
|
-
l.value && e.value.style.chart.layout.arcs.gradient.show ? (
|
|
427
|
+
}, null, 10, nt)) : i("", !0),
|
|
428
|
+
l.value && e.value.style.chart.layout.arcs.gradient.show ? (o(), n("g", {
|
|
419
429
|
key: 2,
|
|
420
430
|
filter: `url(#blur_${_.value})`
|
|
421
431
|
}, [
|
|
@@ -426,20 +436,20 @@ const et = ["id"], tt = {
|
|
|
426
436
|
"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),
|
|
427
437
|
"stroke-linecap": "round",
|
|
428
438
|
class: F(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
429
|
-
}, null, 10,
|
|
430
|
-
], 8,
|
|
439
|
+
}, null, 10, ct)
|
|
440
|
+
], 8, it)) : i("", !0)
|
|
431
441
|
]))), 256)),
|
|
432
|
-
(
|
|
433
|
-
l.value ? (
|
|
442
|
+
(o(!0), n(ue, null, ne(T.value, (l, s) => (o(), n("g", null, [
|
|
443
|
+
l.value ? (o(), n("path", {
|
|
434
444
|
key: 0,
|
|
435
445
|
d: l.path,
|
|
436
446
|
fill: "none",
|
|
437
447
|
stroke: "transparent",
|
|
438
448
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
439
449
|
"stroke-linecap": "round",
|
|
440
|
-
onMouseenter: (r) =>
|
|
450
|
+
onMouseenter: (r) => _e({
|
|
441
451
|
datapoint: l,
|
|
442
|
-
relativeIndex:
|
|
452
|
+
relativeIndex: s,
|
|
443
453
|
seriesIndex: l.seriesIndex,
|
|
444
454
|
show: !0
|
|
445
455
|
}),
|
|
@@ -447,15 +457,15 @@ const et = ["id"], tt = {
|
|
|
447
457
|
V.value = !1, f.value = null;
|
|
448
458
|
}),
|
|
449
459
|
onClick: (r) => U("selectDatapoint", l)
|
|
450
|
-
}, null, 40,
|
|
460
|
+
}, null, 40, vt)) : i("", !0)
|
|
451
461
|
]))), 256)),
|
|
452
462
|
v(t.$slots, "svg", { svg: G.value }, void 0, !0)
|
|
453
|
-
], 14,
|
|
454
|
-
t.$slots.watermark ? (
|
|
463
|
+
], 14, ot)) : i("", !0),
|
|
464
|
+
t.$slots.watermark ? (o(), n("div", dt, [
|
|
455
465
|
v(t.$slots, "watermark", S(N({ isPrinting: p(K) || p(Q) })), void 0, !0)
|
|
456
|
-
])) :
|
|
457
|
-
L.value ?
|
|
458
|
-
key:
|
|
466
|
+
])) : i("", !0),
|
|
467
|
+
L.value ? i("", !0) : (o(), $(Je, {
|
|
468
|
+
key: 6,
|
|
459
469
|
config: {
|
|
460
470
|
type: "galaxy",
|
|
461
471
|
style: {
|
|
@@ -466,16 +476,16 @@ const et = ["id"], tt = {
|
|
|
466
476
|
}
|
|
467
477
|
}
|
|
468
478
|
}, null, 8, ["config"])),
|
|
469
|
-
e.value.style.chart.legend.show ? (
|
|
479
|
+
e.value.style.chart.legend.show ? (o(), $(Ue, {
|
|
470
480
|
key: `legend_${q.value}`,
|
|
471
481
|
legendSet: le.value,
|
|
472
|
-
config:
|
|
482
|
+
config: Te.value,
|
|
473
483
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => M(l))
|
|
474
484
|
}, {
|
|
475
|
-
item:
|
|
485
|
+
item: c(({ legend: l, index: s }) => [
|
|
476
486
|
x("div", {
|
|
477
487
|
onClick: (r) => M(l),
|
|
478
|
-
style: H(`opacity:${
|
|
488
|
+
style: H(`opacity:${h.value.includes(l.id) ? 0.5 : 1}`)
|
|
479
489
|
}, [
|
|
480
490
|
ie(E(l.name) + ": " + E(p(he)(
|
|
481
491
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
@@ -486,19 +496,22 @@ const et = ["id"], tt = {
|
|
|
486
496
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
487
497
|
r: e.value.style.chart.legend.roundingValue
|
|
488
498
|
}),
|
|
489
|
-
{ datapoint: l, seriesIndex:
|
|
499
|
+
{ datapoint: l, seriesIndex: s }
|
|
490
500
|
)) + " ", 1),
|
|
491
|
-
|
|
501
|
+
h.value.includes(l.id) ? (o(), n("span", yt, " ( - % ) ")) : (o(), n("span", pt, " (" + E(isNaN(l.value / g.value) ? "-" : p(k)({
|
|
492
502
|
v: l.value / g.value * 100,
|
|
493
503
|
s: "%",
|
|
494
504
|
r: e.value.style.chart.legend.roundingPercentage
|
|
495
505
|
})) + ") ", 1))
|
|
496
|
-
], 12,
|
|
506
|
+
], 12, ht)
|
|
497
507
|
]),
|
|
498
508
|
_: 1
|
|
499
|
-
}, 8, ["legendSet", "config"])) :
|
|
509
|
+
}, 8, ["legendSet", "config"])) : i("", !0),
|
|
500
510
|
v(t.$slots, "legend", { legend: le.value }, void 0, !0),
|
|
501
|
-
|
|
511
|
+
t.$slots.source ? (o(), n("div", ft, [
|
|
512
|
+
v(t.$slots, "source", {}, void 0, !0)
|
|
513
|
+
], 512)) : i("", !0),
|
|
514
|
+
re(Re, {
|
|
502
515
|
show: b.value.showTooltip && V.value,
|
|
503
516
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
504
517
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -509,20 +522,20 @@ const et = ["id"], tt = {
|
|
|
509
522
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
510
523
|
position: e.value.style.chart.tooltip.position,
|
|
511
524
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
512
|
-
parent:
|
|
525
|
+
parent: O.value,
|
|
513
526
|
content: B.value,
|
|
514
527
|
isCustom: p(pe)(e.value.style.chart.tooltip.customFormat)
|
|
515
528
|
}, {
|
|
516
|
-
"tooltip-before":
|
|
529
|
+
"tooltip-before": c(() => [
|
|
517
530
|
v(t.$slots, "tooltip-before", S(N({ ...z.value })), void 0, !0)
|
|
518
531
|
]),
|
|
519
|
-
"tooltip-after":
|
|
532
|
+
"tooltip-after": c(() => [
|
|
520
533
|
v(t.$slots, "tooltip-after", S(N({ ...z.value })), void 0, !0)
|
|
521
534
|
]),
|
|
522
535
|
_: 3
|
|
523
536
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
524
|
-
L.value ? (
|
|
525
|
-
key:
|
|
537
|
+
L.value ? (o(), $(Ke, {
|
|
538
|
+
key: 9,
|
|
526
539
|
hideDetails: "",
|
|
527
540
|
config: {
|
|
528
541
|
open: b.value.showTable,
|
|
@@ -537,33 +550,33 @@ const et = ["id"], tt = {
|
|
|
537
550
|
}
|
|
538
551
|
}
|
|
539
552
|
}, {
|
|
540
|
-
content:
|
|
541
|
-
(
|
|
553
|
+
content: c(() => [
|
|
554
|
+
(o(), $(Ye, {
|
|
542
555
|
key: `table_${j.value}`,
|
|
543
|
-
colNames:
|
|
544
|
-
head:
|
|
545
|
-
body:
|
|
546
|
-
config:
|
|
556
|
+
colNames: I.value.colNames,
|
|
557
|
+
head: I.value.head,
|
|
558
|
+
body: I.value.body,
|
|
559
|
+
config: I.value.config,
|
|
547
560
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
548
561
|
onClose: a[2] || (a[2] = (l) => b.value.showTable = !1)
|
|
549
562
|
}, {
|
|
550
|
-
th:
|
|
563
|
+
th: c(({ th: l }) => [
|
|
551
564
|
x("div", {
|
|
552
565
|
innerHTML: l,
|
|
553
566
|
style: { display: "flex", "align-items": "center" }
|
|
554
|
-
}, null, 8,
|
|
567
|
+
}, null, 8, gt)
|
|
555
568
|
]),
|
|
556
|
-
td:
|
|
569
|
+
td: c(({ td: l }) => [
|
|
557
570
|
ie(E(l.name || l), 1)
|
|
558
571
|
]),
|
|
559
572
|
_: 1
|
|
560
573
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
561
574
|
]),
|
|
562
575
|
_: 1
|
|
563
|
-
}, 8, ["config"])) :
|
|
564
|
-
], 14,
|
|
576
|
+
}, 8, ["config"])) : i("", !0)
|
|
577
|
+
], 14, tt));
|
|
565
578
|
}
|
|
566
|
-
},
|
|
579
|
+
}, It = /* @__PURE__ */ et(bt, [["__scopeId", "data-v-9e3163ed"]]);
|
|
567
580
|
export {
|
|
568
|
-
|
|
581
|
+
It as default
|
|
569
582
|
};
|