vue-data-ui 2.6.18 → 2.6.20
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 +8 -0
- package/dist/{Arrow-Ci41JBXA.js → Arrow-C9wt_iwE.js} +1 -1
- package/dist/{Arrow-C-haYOvL.cjs → Arrow-mU42Peiq.cjs} +1 -1
- package/dist/{BaseIcon-D0Ifzd3J.js → BaseIcon-CR8s5lLC.js} +1 -1
- package/dist/{BaseIcon-Brc1PN_Z.cjs → BaseIcon-DMhDupLt.cjs} +1 -1
- package/dist/{DataTable-BH56SPdO.js → DataTable-CMUyDj6S.js} +2 -2
- package/dist/{DataTable-AQsQHTem.cjs → DataTable-Qba16zLZ.cjs} +1 -1
- package/dist/{Legend-w7VxyGN0.js → Legend-CaMKYW-V.js} +2 -2
- package/dist/{Legend-CNiGY3Yx.cjs → Legend-EauKcdAx.cjs} +1 -1
- package/dist/{PackageVersion-D1edJun6.js → PackageVersion-CURzw4q1.js} +1 -1
- package/dist/{PackageVersion-DO_17qoR.cjs → PackageVersion-Vv7wNIAl.cjs} +1 -1
- package/dist/{PenAndPaper-DWnLI5jM.js → PenAndPaper-CjiJra09.js} +3 -3
- package/dist/{PenAndPaper-BPAfK8a6.cjs → PenAndPaper-DSEAEpTs.cjs} +1 -1
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Bnwg64-7.js → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-BzSorLrT.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Cw1RBp7H.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-DB_DsgPX.cjs} +1 -1
- package/dist/{Shape-RfSE_FzV.js → Shape-F5v4f45p.js} +1 -1
- package/dist/{Shape-J26jxMZ5.cjs → Shape-gLknKTb6.cjs} +1 -1
- package/dist/{Slicer-oASHP3Lx.cjs → Slicer-CVVRixhP.cjs} +1 -1
- package/dist/{Slicer-DMdxtlpr.js → Slicer-DQp19cm1.js} +2 -2
- package/dist/{Title-xfHZTDT9.js → Title-CUHNtIyE.js} +1 -1
- package/dist/{Title-ypQseB5s.cjs → Title-m1x23s4w.cjs} +1 -1
- package/dist/{Tooltip-DQZLR6XD.cjs → Tooltip-BXY2gKbA.cjs} +1 -1
- package/dist/{Tooltip-CF9cKbnr.js → Tooltip-BuAQ8HVL.js} +1 -1
- package/dist/{index-CkqI12gj.cjs → index-CmhvuQro.cjs} +1 -1
- package/dist/{index-Df45PKBw.js → index-Cq7-va_5.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BaSIdRPe.js → useNestedProp-BEyJNlaO.js} +1 -1
- package/dist/{useNestedProp-B5QzQ7cl.cjs → useNestedProp-CnH-XcZU.cjs} +1 -1
- package/dist/usePrinter-DhZH4pcR.cjs +1 -0
- package/dist/{usePrinter-MC5pKUx5.js → usePrinter-jRjc8Naz.js} +72 -70
- package/dist/{vue-data-ui-BiXf5MnL.js → vue-data-ui-BPSCRfcK.js} +61 -61
- package/dist/{vue-data-ui--Yx3VAj0.cjs → vue-data-ui-DD5SV4SW.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BXW-ZMgi.cjs → vue-ui-3d-bar-BlCSdagh.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-DBJJ2kqD.js → vue-ui-3d-bar-TB1XdncJ.js} +105 -98
- package/dist/{vue-ui-accordion-4ngKbp5a.cjs → vue-ui-accordion-C3Ljak65.cjs} +1 -1
- package/dist/{vue-ui-accordion-BbCvey8w.js → vue-ui-accordion-vAQ_LLoP.js} +3 -3
- package/dist/{vue-ui-age-pyramid-04E6Wqie.js → vue-ui-age-pyramid-BUWoRp_B.js} +75 -68
- package/dist/{vue-ui-age-pyramid-Cpi72E7Q.cjs → vue-ui-age-pyramid-CrDKpPil.cjs} +1 -1
- package/dist/{vue-ui-annotator-tv-3u5J-.js → vue-ui-annotator-BVE-xqSy.js} +1 -1
- package/dist/{vue-ui-annotator-BzdyBaoy.cjs → vue-ui-annotator-wjsB7Ihy.cjs} +1 -1
- package/dist/{vue-ui-bullet-B-UjWb-f.cjs → vue-ui-bullet-BcU0lGMw.cjs} +4 -4
- package/dist/{vue-ui-bullet-B0jpb3iz.js → vue-ui-bullet-Cj4GC_-F.js} +145 -138
- package/dist/{vue-ui-candlestick-Cx6UAvss.js → vue-ui-candlestick-C2hAp3Fi.js} +115 -108
- package/dist/{vue-ui-candlestick-DEK3P-Tu.cjs → vue-ui-candlestick-n--kSbN7.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BPvJKE6W.cjs → vue-ui-carousel-table-CU96d16y.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Bk6LMH1D.js → vue-ui-carousel-table-Do1uzI_G.js} +130 -123
- package/dist/{vue-ui-chestnut-DKesYDji.cjs → vue-ui-chestnut-DJq8IWIL.cjs} +2 -2
- package/dist/{vue-ui-chestnut-BLYeNCKN.js → vue-ui-chestnut-fb3ioT4a.js} +131 -124
- package/dist/{vue-ui-circle-pack-DF8CPgPU.js → vue-ui-circle-pack-DByIHOMA.js} +165 -158
- package/dist/{vue-ui-circle-pack-D_2k6N20.cjs → vue-ui-circle-pack-DnwKX38S.cjs} +1 -1
- package/dist/{vue-ui-cursor-B29UJWQo.cjs → vue-ui-cursor-DSCiOK2l.cjs} +1 -1
- package/dist/{vue-ui-cursor-DySRIo_p.js → vue-ui-cursor-scYLETJY.js} +2 -2
- package/dist/{vue-ui-dashboard-5JkE1uRk.cjs → vue-ui-dashboard-BBDfkeCW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CHO6UMlJ.js → vue-ui-dashboard-DjxJGI1j.js} +2 -2
- package/dist/{vue-ui-digits-D5h4HAzq.js → vue-ui-digits-7bQAdMhs.js} +2 -2
- package/dist/{vue-ui-digits-DvANBwd7.cjs → vue-ui-digits-Cmn1NNzQ.cjs} +1 -1
- package/dist/{vue-ui-donut-DLaBSyI4.cjs → vue-ui-donut-C291KoIU.cjs} +1 -1
- package/dist/{vue-ui-donut-rVvCGOGk.js → vue-ui-donut-RJQUTfyW.js} +117 -110
- package/dist/{vue-ui-donut-evolution-DjGFFyxj.js → vue-ui-donut-evolution-DPW_ITH8.js} +164 -157
- package/dist/{vue-ui-donut-evolution-B06eelN-.cjs → vue-ui-donut-evolution-Dp15D88c.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B3AlzGCf.js → vue-ui-dumbbell-B8Zm8EVd.js} +74 -67
- package/dist/{vue-ui-dumbbell-9Oy-W4-B.cjs → vue-ui-dumbbell-BdEUvUV7.cjs} +2 -2
- package/dist/{vue-ui-flow-1eYWWjX-.js → vue-ui-flow-BNIgPNGy.js} +177 -170
- package/dist/{vue-ui-flow-BakKHKRq.cjs → vue-ui-flow-BukV6_Zl.cjs} +1 -1
- package/dist/{vue-ui-funnel-uSID1YS9.js → vue-ui-funnel-BrPqtGct.js} +128 -121
- package/dist/{vue-ui-funnel-IbAUMuoN.cjs → vue-ui-funnel-CIgZpg3T.cjs} +1 -1
- package/dist/{vue-ui-galaxy-3ksrzeio.js → vue-ui-galaxy-D1IYOUwX.js} +77 -70
- package/dist/{vue-ui-galaxy-BFGRkm7x.cjs → vue-ui-galaxy-FGqZ4tWB.cjs} +1 -1
- package/dist/{vue-ui-gauge-DgPnw4Q5.cjs → vue-ui-gauge-B00JvBFF.cjs} +1 -1
- package/dist/{vue-ui-gauge-DxUp_-uc.js → vue-ui-gauge-BsOXy5MV.js} +152 -145
- package/dist/{vue-ui-gizmo-Dw9HiCwa.js → vue-ui-gizmo-Cyl89etd.js} +3 -3
- package/dist/{vue-ui-gizmo-4T51Z8I8.cjs → vue-ui-gizmo-D_uv6qkV.cjs} +1 -1
- package/dist/vue-ui-heatmap-CGg2_xWH.cjs +1 -0
- package/dist/{vue-ui-heatmap-CwtUNQu0.js → vue-ui-heatmap-CgF4n8Bh.js} +139 -132
- package/dist/{vue-ui-history-plot-CC7sYtWu.cjs → vue-ui-history-plot-DR11Ips0.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BaV1bX_U.js → vue-ui-history-plot-Rdjb-yOk.js} +121 -114
- package/dist/{vue-ui-kpi-DiuK6mKA.js → vue-ui-kpi-COfnJm-X.js} +3 -3
- package/dist/{vue-ui-kpi-DxXlf8be.cjs → vue-ui-kpi-CbAgFb-9.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DQ_oXH1a.cjs → vue-ui-mini-loader-CizZv79e.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Kwzi6dLA.js → vue-ui-mini-loader-DNM7jU2W.js} +2 -2
- package/dist/{vue-ui-molecule-Bfhay2Cw.cjs → vue-ui-molecule-CiOIVjFk.cjs} +1 -1
- package/dist/{vue-ui-molecule-BMiNGYBh.js → vue-ui-molecule-Cv6jp9D_.js} +249 -242
- package/dist/{vue-ui-mood-radar-j2_LSQyN.js → vue-ui-mood-radar-B-VE2pVS.js} +111 -104
- package/dist/{vue-ui-mood-radar-C6CXwCzk.cjs → vue-ui-mood-radar-CoHouhrl.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CVsN5wLZ.js → vue-ui-nested-donuts-D-7tn_Qe.js} +116 -109
- package/dist/{vue-ui-nested-donuts-BEb5qHRa.cjs → vue-ui-nested-donuts-ITcu4gJW.cjs} +2 -2
- package/dist/{vue-ui-onion-DlqFOcMu.js → vue-ui-onion-B4SgCj8L.js} +143 -136
- package/dist/{vue-ui-onion-C-y9Jsfq.cjs → vue-ui-onion-fzXsWjjI.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-t2isL1XO.cjs → vue-ui-parallel-coordinate-plot-CTFOY5xi.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DxwECisr.js → vue-ui-parallel-coordinate-plot-CpQOyh-W.js} +112 -105
- package/dist/{vue-ui-quadrant-DMYZ6Rbh.cjs → vue-ui-quadrant-ByRNr-XD.cjs} +1 -1
- package/dist/{vue-ui-quadrant-rVy92h_8.js → vue-ui-quadrant-DhODDM5V.js} +111 -104
- package/dist/{vue-ui-quick-chart-CE-Qg_jo.cjs → vue-ui-quick-chart-BsQAMw9M.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-DkUCMlp7.js → vue-ui-quick-chart-DpeGH277.js} +194 -187
- package/dist/{vue-ui-radar-j-mDD4Dn.js → vue-ui-radar-CWkrni4Y.js} +100 -93
- package/dist/{vue-ui-radar-DkL4kk1W.cjs → vue-ui-radar-D-qttZKw.cjs} +1 -1
- package/dist/{vue-ui-rating-K_pyDN_G.cjs → vue-ui-rating-CY25IY75.cjs} +1 -1
- package/dist/{vue-ui-rating-CpvfKsg0.js → vue-ui-rating-DB4nQsuM.js} +2 -2
- package/dist/{vue-ui-relation-circle-O0d-4bj0.js → vue-ui-relation-circle-B_PxY9ZN.js} +102 -95
- package/dist/{vue-ui-relation-circle-ChFxKSb0.cjs → vue-ui-relation-circle-KDFaFqqu.cjs} +1 -1
- package/dist/{vue-ui-rings-Cv5WcU9y.cjs → vue-ui-rings-C1Upd5ja.cjs} +2 -2
- package/dist/{vue-ui-rings-DK-HgFva.js → vue-ui-rings-D5-sTr38.js} +168 -161
- package/dist/{vue-ui-scatter-BHCYJgHS.cjs → vue-ui-scatter-B-aqlIcn.cjs} +1 -1
- package/dist/{vue-ui-scatter-CTmhFDqS.js → vue-ui-scatter-C8cn3MR5.js} +85 -78
- package/dist/{vue-ui-screenshot-Ci56oD2d.cjs → vue-ui-screenshot-D9EV_KXZ.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Bpp3trys.js → vue-ui-screenshot-kQRZJHLO.js} +1 -1
- package/dist/{vue-ui-skeleton-BIYEApQO.js → vue-ui-skeleton-DIrE1OTF.js} +3 -3
- package/dist/{vue-ui-skeleton-CKwwTTRF.cjs → vue-ui-skeleton-DyJu1ibj.cjs} +1 -1
- package/dist/{vue-ui-smiley-BjcqO7zZ.cjs → vue-ui-smiley-B7dNRQyO.cjs} +1 -1
- package/dist/{vue-ui-smiley-B5ufG407.js → vue-ui-smiley-DVjsjIa4.js} +2 -2
- package/dist/{vue-ui-spark-trend-qz-BtG6X.cjs → vue-ui-spark-trend-DRtaXADG.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DnB59fUO.js → vue-ui-spark-trend-DsUy3aw-.js} +5 -5
- package/dist/{vue-ui-sparkbar-D_sMmqjC.js → vue-ui-sparkbar-Dm8xksUj.js} +4 -4
- package/dist/{vue-ui-sparkbar-DQ-IFuy6.cjs → vue-ui-sparkbar-x0F1llCZ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Ce5NGB8P.cjs → vue-ui-sparkgauge-B4DRMVOW.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-76-wdTdR.js → vue-ui-sparkgauge-_gF53YgV.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DviUQdRD.js → vue-ui-sparkhistogram-CD_0ihS9.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DcSCtmaT.cjs → vue-ui-sparkhistogram-CIMJUDlb.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C75odp3q.js → vue-ui-sparkline-Cs0h6tKI.js} +6 -6
- package/dist/{vue-ui-sparkline-_nWAin6t.cjs → vue-ui-sparkline-DzOL1IDW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-pRfBTPV0.cjs → vue-ui-sparkstackbar-BBz1lDg0.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-JgAJd1j5.js → vue-ui-sparkstackbar-Dhula5ka.js} +5 -5
- package/dist/{vue-ui-stackbar-DK4W1meR.cjs → vue-ui-stackbar-BuUtwfyC.cjs} +3 -3
- package/dist/{vue-ui-stackbar-Ctym-Udc.js → vue-ui-stackbar-DanAQnBd.js} +210 -203
- package/dist/{vue-ui-strip-plot-BU6tkAvd.cjs → vue-ui-strip-plot-95uUJ2fc.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BLmj_-sa.js → vue-ui-strip-plot-DIlGTBzG.js} +82 -75
- package/dist/{vue-ui-table-Cvt9DTpO.cjs → vue-ui-table-CDS7xlZS.cjs} +1 -1
- package/dist/{vue-ui-table-Bot5LadX.js → vue-ui-table-FKZF6cxI.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DE1swMTl.js → vue-ui-table-heatmap-BcGX_vpU.js} +63 -56
- package/dist/{vue-ui-table-heatmap-fALEi4E_.cjs → vue-ui-table-heatmap-qVmiG576.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CWGl8LJc.js → vue-ui-table-sparkline-CVY9EZ7Q.js} +90 -83
- package/dist/{vue-ui-table-sparkline-pQlBn8xE.cjs → vue-ui-table-sparkline-CnVFXbUB.cjs} +1 -1
- package/dist/{vue-ui-thermometer-N5j1BAqA.cjs → vue-ui-thermometer-BTer1qaq.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DDOVwF0r.js → vue-ui-thermometer-tcTgQiAu.js} +113 -106
- package/dist/{vue-ui-timer-CQ9pLz7T.cjs → vue-ui-timer-CmLGKRcK.cjs} +1 -1
- package/dist/{vue-ui-timer-1zEhowHL.js → vue-ui-timer-DO_VKZHm.js} +5 -5
- package/dist/{vue-ui-tiremarks-zlgbR7II.js → vue-ui-tiremarks-BKnAiR_H.js} +76 -69
- package/dist/{vue-ui-tiremarks-DOXxQKUB.cjs → vue-ui-tiremarks-BPxAgMQx.cjs} +1 -1
- package/dist/{vue-ui-treemap-ZJAvws86.cjs → vue-ui-treemap-BnKYnm8A.cjs} +1 -1
- package/dist/{vue-ui-treemap-C7oZrYCa.js → vue-ui-treemap-oE2QDc_9.js} +143 -136
- package/dist/{vue-ui-vertical-bar-rtqu_UjN.js → vue-ui-vertical-bar-BfFnXSO5.js} +119 -112
- package/dist/{vue-ui-vertical-bar-BFeF_dBM.cjs → vue-ui-vertical-bar-CHUZAnfv.cjs} +3 -3
- package/dist/{vue-ui-waffle-C0E54-ms.cjs → vue-ui-waffle-DxL_bhhX.cjs} +1 -1
- package/dist/{vue-ui-waffle-CgsNawVA.js → vue-ui-waffle-YwQAGMlZ.js} +77 -70
- package/dist/{vue-ui-wheel-StQOeYIO.cjs → vue-ui-wheel-CbEf5uhL.cjs} +1 -1
- package/dist/{vue-ui-wheel-Cm7g8eux.js → vue-ui-wheel-gZQIZUx1.js} +104 -97
- package/dist/{vue-ui-word-cloud-qNxRgN5J.js → vue-ui-word-cloud-CXpfOcDf.js} +122 -115
- package/dist/{vue-ui-word-cloud-Bc31_IfR.cjs → vue-ui-word-cloud-Ddmhs5i-.cjs} +1 -1
- package/dist/{vue-ui-xy-wbWmX1Zh.cjs → vue-ui-xy-BFdih9uG.cjs} +2 -2
- package/dist/{vue-ui-xy-BTjOTcAY.js → vue-ui-xy-BHGNHgRk.js} +72 -65
- package/dist/{vue-ui-xy-canvas-BpyntzCo.js → vue-ui-xy-canvas-BFZjHXBj.js} +200 -193
- package/dist/{vue-ui-xy-canvas-BljjkGUh.cjs → vue-ui-xy-canvas-hM1oa-dn.cjs} +2 -2
- package/package.json +1 -1
- package/dist/usePrinter-DB2FudbZ.cjs +0 -1
- package/dist/vue-ui-heatmap-Bz5l9BbM.cjs +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as rt, c as it, t as dt, p as Z, a as vt, o as ct, e as
|
|
1
|
+
import { computed as w, ref as i, watch as Me, onMounted as ot, onBeforeUnmount as st, createElementBlock as n, openBlock as u, unref as r, normalizeStyle as K, normalizeClass as P, createBlock as D, createCommentVNode as f, createVNode as Ue, createSlots as ut, withCtx as b, renderSlot as g, normalizeProps as V, guardReactiveProps as M, createElementVNode as m, Fragment as C, renderList as F, toDisplayString as S, createTextVNode as Q, nextTick as nt } from "vue";
|
|
2
|
+
import { u as rt, c as it, t as dt, p as Z, a as vt, o as ct, e as U, b as ft, J as Re, d as ht, m as Be, f as x, X as yt, s as Ee, L as pt, k as ie, n as R, i as E, x as Ge, q as bt, r as gt, y as mt } from "./index-Cq7-va_5.js";
|
|
3
3
|
import { t as kt, u as wt } from "./useResponsive-BWapHhVH.js";
|
|
4
|
-
import { _ as $t } from "./Title-
|
|
5
|
-
import { u as Lt, U as Ct } from "./usePrinter-
|
|
6
|
-
import { D as xt } from "./DataTable-
|
|
7
|
-
import { _ as _t } from "./Tooltip-
|
|
8
|
-
import { L as Tt } from "./Legend-
|
|
9
|
-
import Ft from "./vue-ui-skeleton-
|
|
10
|
-
import Nt from "./vue-ui-accordion-
|
|
11
|
-
import { u as Ye } from "./useNestedProp-
|
|
12
|
-
import { _ as St } from "./PackageVersion-
|
|
13
|
-
import { P as Ot } from "./PenAndPaper-
|
|
4
|
+
import { _ as $t } from "./Title-CUHNtIyE.js";
|
|
5
|
+
import { u as Lt, U as Ct } from "./usePrinter-jRjc8Naz.js";
|
|
6
|
+
import { D as xt } from "./DataTable-CMUyDj6S.js";
|
|
7
|
+
import { _ as _t } from "./Tooltip-BuAQ8HVL.js";
|
|
8
|
+
import { L as Tt } from "./Legend-CaMKYW-V.js";
|
|
9
|
+
import Ft from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
10
|
+
import Nt from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
11
|
+
import { u as Ye } from "./useNestedProp-BEyJNlaO.js";
|
|
12
|
+
import { _ as St } from "./PackageVersion-CURzw4q1.js";
|
|
13
|
+
import { P as Ot } from "./PenAndPaper-CjiJra09.js";
|
|
14
14
|
import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { u as It } from "./useChartAccessibility-BWojgys7.js";
|
|
16
16
|
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -38,11 +38,11 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
38
38
|
},
|
|
39
39
|
emits: ["selectLegend", "selectDatapoint"],
|
|
40
40
|
setup(Xe, { expose: He, emit: We }) {
|
|
41
|
-
const { vue_ui_nested_donuts: qe } = rt(), O = Xe, G =
|
|
41
|
+
const { vue_ui_nested_donuts: qe } = rt(), O = Xe, G = w(() => !!O.dataset && O.dataset.length), $ = i(it()), j = i(!1), ee = i(""), Je = i(null), de = i(0), B = i(null), ve = i(null), te = i(null), ce = i(null), fe = i(null), he = i(0), ye = i(0), pe = i(0), z = i(!1);
|
|
42
42
|
function Ke(t) {
|
|
43
43
|
z.value = t, de.value += 1;
|
|
44
44
|
}
|
|
45
|
-
const e =
|
|
45
|
+
const e = w({
|
|
46
46
|
get: () => ke(),
|
|
47
47
|
set: (t) => t
|
|
48
48
|
}), { userOptionsVisible: le, setUserOptionsVisibility: be, keepUserOptionState: ge } = At({ config: e.value }), { svgRef: me } = It({ config: e.value.style.chart.title });
|
|
@@ -67,13 +67,13 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
67
67
|
we();
|
|
68
68
|
});
|
|
69
69
|
function we() {
|
|
70
|
-
if (ct(O.dataset) &&
|
|
70
|
+
if (ct(O.dataset) && U({
|
|
71
71
|
componentName: "VueUiNestedDonuts",
|
|
72
72
|
type: "dataset"
|
|
73
73
|
}), e.value.responsive) {
|
|
74
74
|
const t = kt(() => {
|
|
75
75
|
const { width: s, height: a } = wt({
|
|
76
|
-
chart:
|
|
76
|
+
chart: B.value,
|
|
77
77
|
title: e.value.style.chart.title.text ? ve.value : null,
|
|
78
78
|
legend: e.value.style.chart.legend.show ? te.value : null,
|
|
79
79
|
source: ce.value,
|
|
@@ -83,7 +83,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
83
83
|
c.value.width = s, c.value.height = a;
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
Y.value = new ResizeObserver(t), Y.value.observe(
|
|
86
|
+
Y.value = new ResizeObserver(t), Y.value.observe(B.value.parentNode);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
st(() => {
|
|
@@ -92,7 +92,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
92
92
|
const { isPrinting: $e, isImaging: Le, generatePdf: Ce, generateImage: xe } = Lt({
|
|
93
93
|
elementId: `nested_donuts_${$.value}`,
|
|
94
94
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
95
|
-
}), Qe =
|
|
95
|
+
}), Qe = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ze = w(() => ft(e.value.customPalette)), y = i({
|
|
96
96
|
dataLabels: {
|
|
97
97
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
98
98
|
},
|
|
@@ -105,29 +105,29 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
105
105
|
function je({ datapoint: t, index: s }) {
|
|
106
106
|
_e("selectDatapoint", { datapoint: t, index: s });
|
|
107
107
|
}
|
|
108
|
-
const p = i([]), _ =
|
|
109
|
-
[null, void 0].includes(t.name) &&
|
|
108
|
+
const p = i([]), _ = w(() => (O.dataset.forEach((t, s) => {
|
|
109
|
+
[null, void 0].includes(t.name) && U({
|
|
110
110
|
componentName: "VueUiNestedDonuts",
|
|
111
111
|
type: "datasetSerieAttribute",
|
|
112
112
|
property: "name",
|
|
113
113
|
index: s
|
|
114
|
-
}), [null, void 0].includes(t.series) ?
|
|
114
|
+
}), [null, void 0].includes(t.series) ? U({
|
|
115
115
|
componentName: "VueUiNestedDonuts",
|
|
116
116
|
type: "datasetSerieAttribute",
|
|
117
117
|
property: "series",
|
|
118
118
|
index: s
|
|
119
|
-
}) : t.series.length === 0 ?
|
|
119
|
+
}) : t.series.length === 0 ? U({
|
|
120
120
|
componentName: "VueUiNestedDonuts",
|
|
121
121
|
type: "datasetAttributeEmpty",
|
|
122
122
|
property: `series at index ${s}`
|
|
123
123
|
}) : t.series.forEach((a, o) => {
|
|
124
|
-
[null, void 0].includes(a.name) &&
|
|
124
|
+
[null, void 0].includes(a.name) && U({
|
|
125
125
|
componentName: "VueUiNestedDonuts",
|
|
126
126
|
type: "datasetSerieAttribute",
|
|
127
127
|
property: "name",
|
|
128
128
|
index: o,
|
|
129
129
|
key: "serie"
|
|
130
|
-
}), [null, void 0].includes(a.values) &&
|
|
130
|
+
}), [null, void 0].includes(a.values) && U({
|
|
131
131
|
componentName: "VueUiNestedDonuts",
|
|
132
132
|
type: "datasetSerieAttribute",
|
|
133
133
|
property: "values",
|
|
@@ -151,7 +151,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
151
151
|
value: Re(a.values).reduce((l, d) => l + d, 0),
|
|
152
152
|
absoluteValues: a.values || []
|
|
153
153
|
}))
|
|
154
|
-
})))), T =
|
|
154
|
+
})))), T = w(() => Math.min(c.value.height, c.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), Te = w(() => [..._.value].map((t, s) => {
|
|
155
155
|
const a = t.series.filter((o) => !p.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
|
|
156
156
|
return {
|
|
157
157
|
...t,
|
|
@@ -175,7 +175,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
175
175
|
_e("selectLegend", t);
|
|
176
176
|
const s = _.value.flatMap((v) => v.series).find((v) => v.id === t.id), a = h.value.flatMap((v) => v.series).find((v) => v.id === t.id);
|
|
177
177
|
let l = a ? a.value : 0;
|
|
178
|
-
const d = _.value.find((v) => v.id === s.arcOfId).series.map((v) => v.id),
|
|
178
|
+
const d = _.value.find((v) => v.id === s.arcOfId).series.map((v) => v.id), k = et(d, d.length - 1, p.value);
|
|
179
179
|
if (p.value.includes(t.id)) {
|
|
180
180
|
let v = function() {
|
|
181
181
|
l > s.value ? (cancelAnimationFrame(Fe.value), h.value = h.value.map((L) => ({
|
|
@@ -193,7 +193,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
193
193
|
})), Fe.value = requestAnimationFrame(v));
|
|
194
194
|
};
|
|
195
195
|
p.value = p.value.filter((L) => L !== t.id), v();
|
|
196
|
-
} else if (
|
|
196
|
+
} else if (k) {
|
|
197
197
|
let v = function() {
|
|
198
198
|
l < 0.1 ? (cancelAnimationFrame(Ne.value), p.value.push(t.id), h.value = h.value.map((L, N) => ({
|
|
199
199
|
...L,
|
|
@@ -212,7 +212,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
212
212
|
v();
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
const oe =
|
|
215
|
+
const oe = w(() => T.value / _.value.length * e.value.style.chart.layout.donut.spacingRatio), Se = w(() => h.value.map((t, s) => T.value - s * T.value / _.value.length)), X = w(() => h.value.map((t, s) => {
|
|
216
216
|
const a = s * T.value / _.value.length;
|
|
217
217
|
return {
|
|
218
218
|
...t,
|
|
@@ -231,7 +231,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
231
231
|
oe.value
|
|
232
232
|
)
|
|
233
233
|
};
|
|
234
|
-
})), Oe =
|
|
234
|
+
})), Oe = w(() => [..._.value].map((t, s) => {
|
|
235
235
|
const a = s * T.value / _.value.length;
|
|
236
236
|
return {
|
|
237
237
|
sizeRatio: a,
|
|
@@ -273,17 +273,17 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
273
273
|
else {
|
|
274
274
|
let l = "";
|
|
275
275
|
if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0) {
|
|
276
|
-
const d = h.value.map((
|
|
277
|
-
d.forEach((
|
|
278
|
-
if (!
|
|
276
|
+
const d = h.value.map((k) => k.series.find((v) => v.seriesIndex === a));
|
|
277
|
+
d.forEach((k, v) => {
|
|
278
|
+
if (!k) return "";
|
|
279
279
|
l += `
|
|
280
280
|
<div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${v < d.length - 1 ? `border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor}` : ""}">
|
|
281
281
|
<div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
|
|
282
282
|
<svg viewBox="0 0 20 20" height="${e.value.style.chart.tooltip.fontSize}" width="${e.value.style.chart.tooltip.fontSize}">
|
|
283
|
-
<circle cx="10" cy="10" r="10" fill="${
|
|
283
|
+
<circle cx="10" cy="10" r="10" fill="${k.color}"/>
|
|
284
284
|
</svg>
|
|
285
285
|
<span>
|
|
286
|
-
${
|
|
286
|
+
${k.arcOf ?? ""} - ${k.name}
|
|
287
287
|
</span>
|
|
288
288
|
</div>
|
|
289
289
|
<span>
|
|
@@ -300,7 +300,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
300
300
|
)}
|
|
301
301
|
</b>` : ""}
|
|
302
302
|
${e.value.style.chart.tooltip.showPercentage ? `(${x({
|
|
303
|
-
v:
|
|
303
|
+
v: k.proportion * 100,
|
|
304
304
|
s: "%",
|
|
305
305
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
306
306
|
})})` : ""}
|
|
@@ -343,7 +343,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
343
343
|
if (!e.value.style.chart.tooltip.showAllItemsAtIndex || p.value.length)
|
|
344
344
|
return [null, void 0].includes(H.value) || H.value === t.id ? "" : `url(#blur_${$.value})`;
|
|
345
345
|
}
|
|
346
|
-
const ne =
|
|
346
|
+
const ne = w(() => _.value.map((t, s) => t.series.map((a, o) => ({
|
|
347
347
|
name: a.name,
|
|
348
348
|
color: a.color,
|
|
349
349
|
value: a.value,
|
|
@@ -358,14 +358,14 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
358
358
|
opacity: p.value.includes(a.id) ? 0.5 : 1,
|
|
359
359
|
segregate: () => ae(a),
|
|
360
360
|
isSegregated: p.value.includes(a.id)
|
|
361
|
-
})))), lt =
|
|
361
|
+
})))), lt = w(() => ({
|
|
362
362
|
cy: "nested-donuts-legend",
|
|
363
363
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
364
364
|
color: e.value.style.chart.legend.color,
|
|
365
365
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
366
366
|
paddingBottom: 12,
|
|
367
367
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
368
|
-
})), A =
|
|
368
|
+
})), A = w(() => {
|
|
369
369
|
const t = h.value.flatMap((a) => a.series.map((o) => ({
|
|
370
370
|
name: `${a.name} - ${o.name}`,
|
|
371
371
|
color: o.color,
|
|
@@ -381,19 +381,19 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
381
381
|
gt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
|
-
const q =
|
|
384
|
+
const q = w(() => {
|
|
385
385
|
const t = [
|
|
386
386
|
e.value.table.columnNames.series,
|
|
387
387
|
e.value.table.columnNames.value,
|
|
388
388
|
e.value.table.columnNames.percentage
|
|
389
389
|
], s = A.value.head.map((l, d) => {
|
|
390
|
-
const
|
|
390
|
+
const k = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[d], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
391
391
|
return [
|
|
392
392
|
{
|
|
393
393
|
color: l.color,
|
|
394
394
|
name: l.name
|
|
395
395
|
},
|
|
396
|
-
|
|
396
|
+
k,
|
|
397
397
|
isNaN(A.value.body[d] / l.total) ? "-" : x({
|
|
398
398
|
v: A.value.body[d] / l.total * 100,
|
|
399
399
|
s: "%",
|
|
@@ -451,7 +451,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
451
451
|
toggleAnnotator: re
|
|
452
452
|
}), (t, s) => (u(), n("div", {
|
|
453
453
|
ref_key: "nestedDonutsChart",
|
|
454
|
-
ref:
|
|
454
|
+
ref: B,
|
|
455
455
|
class: P(`vue-ui-nested-donuts ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
456
456
|
style: K(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
457
457
|
id: `nested_donuts_${$.value}`,
|
|
@@ -510,7 +510,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
510
510
|
isFullscreen: z.value,
|
|
511
511
|
isTooltip: y.value.showTooltip,
|
|
512
512
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
513
|
-
chartElement:
|
|
513
|
+
chartElement: B.value,
|
|
514
514
|
position: e.value.userOptions.position,
|
|
515
515
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
516
516
|
isAnnotation: J.value,
|
|
@@ -526,61 +526,68 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
526
526
|
visibility: r(ge) ? r(le) ? "visible" : "hidden" : "visible"
|
|
527
527
|
})
|
|
528
528
|
}, ut({ _: 2 }, [
|
|
529
|
+
t.$slots.menuIcon ? {
|
|
530
|
+
name: "menuIcon",
|
|
531
|
+
fn: b(({ isOpen: a, color: o }) => [
|
|
532
|
+
g(t.$slots, "menuIcon", V(M({ isOpen: a, color: o })), void 0, !0)
|
|
533
|
+
]),
|
|
534
|
+
key: "0"
|
|
535
|
+
} : void 0,
|
|
529
536
|
t.$slots.optionTooltip ? {
|
|
530
537
|
name: "optionTooltip",
|
|
531
|
-
fn:
|
|
532
|
-
|
|
538
|
+
fn: b(() => [
|
|
539
|
+
g(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
533
540
|
]),
|
|
534
|
-
key: "
|
|
541
|
+
key: "1"
|
|
535
542
|
} : void 0,
|
|
536
543
|
t.$slots.optionPdf ? {
|
|
537
544
|
name: "optionPdf",
|
|
538
|
-
fn:
|
|
539
|
-
|
|
545
|
+
fn: b(() => [
|
|
546
|
+
g(t.$slots, "optionPdf", {}, void 0, !0)
|
|
540
547
|
]),
|
|
541
|
-
key: "
|
|
548
|
+
key: "2"
|
|
542
549
|
} : void 0,
|
|
543
550
|
t.$slots.optionCsv ? {
|
|
544
551
|
name: "optionCsv",
|
|
545
|
-
fn:
|
|
546
|
-
|
|
552
|
+
fn: b(() => [
|
|
553
|
+
g(t.$slots, "optionCsv", {}, void 0, !0)
|
|
547
554
|
]),
|
|
548
|
-
key: "
|
|
555
|
+
key: "3"
|
|
549
556
|
} : void 0,
|
|
550
557
|
t.$slots.optionImg ? {
|
|
551
558
|
name: "optionImg",
|
|
552
|
-
fn:
|
|
553
|
-
|
|
559
|
+
fn: b(() => [
|
|
560
|
+
g(t.$slots, "optionImg", {}, void 0, !0)
|
|
554
561
|
]),
|
|
555
|
-
key: "
|
|
562
|
+
key: "4"
|
|
556
563
|
} : void 0,
|
|
557
564
|
t.$slots.optionTable ? {
|
|
558
565
|
name: "optionTable",
|
|
559
|
-
fn:
|
|
560
|
-
|
|
566
|
+
fn: b(() => [
|
|
567
|
+
g(t.$slots, "optionTable", {}, void 0, !0)
|
|
561
568
|
]),
|
|
562
|
-
key: "
|
|
569
|
+
key: "5"
|
|
563
570
|
} : void 0,
|
|
564
571
|
t.$slots.optionLabels ? {
|
|
565
572
|
name: "optionLabels",
|
|
566
|
-
fn:
|
|
567
|
-
|
|
573
|
+
fn: b(() => [
|
|
574
|
+
g(t.$slots, "optionLabels", {}, void 0, !0)
|
|
568
575
|
]),
|
|
569
|
-
key: "
|
|
576
|
+
key: "6"
|
|
570
577
|
} : void 0,
|
|
571
578
|
t.$slots.optionFullscreen ? {
|
|
572
579
|
name: "optionFullscreen",
|
|
573
|
-
fn:
|
|
574
|
-
|
|
580
|
+
fn: b(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
581
|
+
g(t.$slots, "optionFullscreen", V(M({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
575
582
|
]),
|
|
576
|
-
key: "
|
|
583
|
+
key: "7"
|
|
577
584
|
} : void 0,
|
|
578
585
|
t.$slots.optionAnnotator ? {
|
|
579
586
|
name: "optionAnnotator",
|
|
580
|
-
fn:
|
|
581
|
-
|
|
587
|
+
fn: b(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
588
|
+
g(t.$slots, "optionAnnotator", V(M({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
582
589
|
]),
|
|
583
|
-
key: "
|
|
590
|
+
key: "8"
|
|
584
591
|
} : void 0
|
|
585
592
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
586
593
|
G.value ? (u(), n("svg", {
|
|
@@ -603,57 +610,57 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
603
610
|
pointerEvents: "none"
|
|
604
611
|
}
|
|
605
612
|
}, [
|
|
606
|
-
|
|
613
|
+
g(t.$slots, "chart-background", {}, void 0, !0)
|
|
607
614
|
], 8, Vt)) : f("", !0),
|
|
608
|
-
|
|
615
|
+
m("defs", null, [
|
|
609
616
|
(u(!0), n(C, null, F(Oe.value, (a, o) => (u(), n("radialGradient", {
|
|
610
617
|
id: `radial_${$.value}_${o}`
|
|
611
618
|
}, [
|
|
612
|
-
s[5] || (s[5] =
|
|
619
|
+
s[5] || (s[5] = m("stop", {
|
|
613
620
|
offset: "0%",
|
|
614
621
|
"stop-color": "#FFFFFF",
|
|
615
622
|
"stop-opacity": "0"
|
|
616
623
|
}, null, -1)),
|
|
617
|
-
|
|
624
|
+
m("stop", {
|
|
618
625
|
offset: `${(1 - oe.value / Se.value[o]) * 100}%`,
|
|
619
626
|
"stop-color": r(Ee)("#FFFFFF", 0),
|
|
620
627
|
"stop-opacity": "0"
|
|
621
628
|
}, null, 8, Ut),
|
|
622
|
-
|
|
629
|
+
m("stop", {
|
|
623
630
|
offset: `${(1 - oe.value / Se.value[o] / 2) * 100}%`,
|
|
624
631
|
"stop-color": "#FFFFFF",
|
|
625
632
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
626
633
|
}, null, 8, Rt),
|
|
627
|
-
s[6] || (s[6] =
|
|
634
|
+
s[6] || (s[6] = m("stop", {
|
|
628
635
|
offset: "100%",
|
|
629
636
|
"stop-color": "#FFFFFF",
|
|
630
637
|
"stop-opacity": "0"
|
|
631
638
|
}, null, -1))
|
|
632
639
|
], 8, Mt))), 256))
|
|
633
640
|
]),
|
|
634
|
-
|
|
635
|
-
|
|
641
|
+
m("defs", null, [
|
|
642
|
+
m("filter", {
|
|
636
643
|
id: `blur_${$.value}`,
|
|
637
644
|
x: "-50%",
|
|
638
645
|
y: "-50%",
|
|
639
646
|
width: "200%",
|
|
640
647
|
height: "200%"
|
|
641
648
|
}, [
|
|
642
|
-
|
|
649
|
+
m("feGaussianBlur", {
|
|
643
650
|
in: "SourceGraphic",
|
|
644
651
|
stdDeviation: 2,
|
|
645
652
|
id: `blur_std_${$.value}`
|
|
646
653
|
}, null, 8, Et),
|
|
647
|
-
s[7] || (s[7] =
|
|
654
|
+
s[7] || (s[7] = m("feColorMatrix", {
|
|
648
655
|
type: "saturate",
|
|
649
656
|
values: "0"
|
|
650
657
|
}, null, -1))
|
|
651
658
|
], 8, Bt),
|
|
652
|
-
|
|
659
|
+
m("filter", {
|
|
653
660
|
id: `shadow_${$.value}`,
|
|
654
661
|
"color-interpolation-filters": "sRGB"
|
|
655
662
|
}, [
|
|
656
|
-
|
|
663
|
+
m("feDropShadow", {
|
|
657
664
|
dx: "0",
|
|
658
665
|
dy: "0",
|
|
659
666
|
stdDeviation: "10",
|
|
@@ -664,7 +671,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
664
671
|
]),
|
|
665
672
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
666
673
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
667
|
-
|
|
674
|
+
m("path", {
|
|
668
675
|
class: "vue-ui-donut-arc-path",
|
|
669
676
|
d: l.arcSlice,
|
|
670
677
|
fill: r(Ee)(l.color, 80),
|
|
@@ -676,7 +683,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
676
683
|
]))), 256)),
|
|
677
684
|
e.value.style.chart.useGradient ? (u(), n("g", Ht, [
|
|
678
685
|
(u(!0), n(C, null, F(Oe.value, (a, o) => (u(), n("g", null, [
|
|
679
|
-
|
|
686
|
+
m("path", {
|
|
680
687
|
d: a.donut.arcSlice,
|
|
681
688
|
fill: `url(#radial_${$.value}_${o})`,
|
|
682
689
|
stroke: "transparent",
|
|
@@ -708,8 +715,8 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
708
715
|
ue(l) && y.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
|
|
709
716
|
key: 0,
|
|
710
717
|
class: P({ animated: e.value.useCssAnimation }),
|
|
711
|
-
"text-anchor": r(
|
|
712
|
-
x: r(
|
|
718
|
+
"text-anchor": r(R)(l, !0).anchor,
|
|
719
|
+
x: r(R)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
713
720
|
y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
|
|
714
721
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
715
722
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
@@ -718,8 +725,8 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
718
725
|
ue(l) && y.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
719
726
|
key: 1,
|
|
720
727
|
class: P({ animated: e.value.useCssAnimation }),
|
|
721
|
-
"text-anchor": r(
|
|
722
|
-
x: r(
|
|
728
|
+
"text-anchor": r(R)(l, !0).anchor,
|
|
729
|
+
x: r(R)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
723
730
|
y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY) + e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
724
731
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
725
732
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
@@ -738,8 +745,8 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
738
745
|
ue(l) && y.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
739
746
|
key: 2,
|
|
740
747
|
class: P({ animated: e.value.useCssAnimation }),
|
|
741
|
-
"text-anchor": r(
|
|
742
|
-
x: r(
|
|
748
|
+
"text-anchor": r(R)(l, !0).anchor,
|
|
749
|
+
x: r(R)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
743
750
|
y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
|
|
744
751
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
745
752
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
@@ -760,24 +767,24 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
760
767
|
])) : f("", !0),
|
|
761
768
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
762
769
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
763
|
-
|
|
770
|
+
m("path", {
|
|
764
771
|
d: l.arcSlice,
|
|
765
772
|
fill: Je.value === o ? "rgba(0,0,0,0.1)" : "transparent",
|
|
766
|
-
onMouseenter: (
|
|
773
|
+
onMouseenter: (k) => tt({
|
|
767
774
|
datapoint: l,
|
|
768
775
|
seriesIndex: l.seriesIndex
|
|
769
776
|
}),
|
|
770
|
-
onClick: (
|
|
771
|
-
onMouseleave: s[0] || (s[0] = (
|
|
777
|
+
onClick: (k) => je({ datapoint: l, index: d }),
|
|
778
|
+
onMouseleave: s[0] || (s[0] = (k) => {
|
|
772
779
|
j.value = !1, Ae.value = null, H.value = null, W.value = null;
|
|
773
780
|
})
|
|
774
781
|
}, null, 40, tl)
|
|
775
782
|
]))), 256))
|
|
776
783
|
]))), 256)),
|
|
777
|
-
|
|
784
|
+
g(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
778
785
|
], 14, zt)) : f("", !0),
|
|
779
786
|
t.$slots.watermark ? (u(), n("div", ll, [
|
|
780
|
-
|
|
787
|
+
g(t.$slots, "watermark", V(M({ isPrinting: r($e) || r(Le) })), void 0, !0)
|
|
781
788
|
])) : f("", !0),
|
|
782
789
|
G.value ? f("", !0) : (u(), D(Ft, {
|
|
783
790
|
key: 6,
|
|
@@ -802,16 +809,16 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
802
809
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
803
810
|
position: e.value.style.chart.tooltip.position,
|
|
804
811
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
805
|
-
parent:
|
|
812
|
+
parent: B.value,
|
|
806
813
|
content: ee.value,
|
|
807
814
|
isFullscreen: z.value,
|
|
808
815
|
isCustom: r(Ge)(e.value.style.chart.tooltip.customFormat)
|
|
809
816
|
}, {
|
|
810
|
-
"tooltip-before":
|
|
811
|
-
|
|
817
|
+
"tooltip-before": b(() => [
|
|
818
|
+
g(t.$slots, "tooltip-before", V(M({ ...se.value })), void 0, !0)
|
|
812
819
|
]),
|
|
813
|
-
"tooltip-after":
|
|
814
|
-
|
|
820
|
+
"tooltip-after": b(() => [
|
|
821
|
+
g(t.$slots, "tooltip-after", V(M({ ...se.value })), void 0, !0)
|
|
815
822
|
]),
|
|
816
823
|
_: 3
|
|
817
824
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -827,12 +834,12 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
827
834
|
config: lt.value,
|
|
828
835
|
onClickMarker: s[1] || (s[1] = ({ legend: l }) => ae(l))
|
|
829
836
|
}, {
|
|
830
|
-
legendTitle:
|
|
837
|
+
legendTitle: b(({ titleSet: l }) => [
|
|
831
838
|
l[0] && l[0].arcOf ? (u(), n("div", al, S(l[0].arcOf), 1)) : f("", !0)
|
|
832
839
|
]),
|
|
833
|
-
item:
|
|
834
|
-
|
|
835
|
-
onClick: (
|
|
840
|
+
item: b(({ legend: l, index: d }) => [
|
|
841
|
+
m("div", {
|
|
842
|
+
onClick: (k) => ae(l),
|
|
836
843
|
style: K(`opacity:${p.value.includes(l.id) ? 0.5 : 1}`)
|
|
837
844
|
}, [
|
|
838
845
|
Q(S(l.name) + ": " + S(r(E)(
|
|
@@ -861,7 +868,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
861
868
|
ref_key: "chartLegend",
|
|
862
869
|
ref: te
|
|
863
870
|
}, [
|
|
864
|
-
|
|
871
|
+
g(t.$slots, "legend", { legend: ne.value }, void 0, !0)
|
|
865
872
|
], 512)),
|
|
866
873
|
t.$slots.source ? (u(), n("div", {
|
|
867
874
|
key: 9,
|
|
@@ -869,7 +876,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
869
876
|
ref: ce,
|
|
870
877
|
dir: "auto"
|
|
871
878
|
}, [
|
|
872
|
-
|
|
879
|
+
g(t.$slots, "source", {}, void 0, !0)
|
|
873
880
|
], 512)) : f("", !0),
|
|
874
881
|
G.value ? (u(), D(Nt, {
|
|
875
882
|
key: 10,
|
|
@@ -887,7 +894,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
887
894
|
}
|
|
888
895
|
}
|
|
889
896
|
}, {
|
|
890
|
-
content:
|
|
897
|
+
content: b(() => [
|
|
891
898
|
(u(), D(xt, {
|
|
892
899
|
key: `table_${ye.value}`,
|
|
893
900
|
colNames: q.value.colNames,
|
|
@@ -897,13 +904,13 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
897
904
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
898
905
|
onClose: s[2] || (s[2] = (a) => y.value.showTable = !1)
|
|
899
906
|
}, {
|
|
900
|
-
th:
|
|
901
|
-
|
|
907
|
+
th: b(({ th: a }) => [
|
|
908
|
+
m("div", {
|
|
902
909
|
innerHTML: a,
|
|
903
910
|
style: { display: "flex", "align-items": "center" }
|
|
904
911
|
}, null, 8, sl)
|
|
905
912
|
]),
|
|
906
|
-
td:
|
|
913
|
+
td: b(({ td: a }) => [
|
|
907
914
|
Q(S(a.name || a), 1)
|
|
908
915
|
]),
|
|
909
916
|
_: 1
|
|
@@ -913,7 +920,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
913
920
|
}, 8, ["config"])) : f("", !0)
|
|
914
921
|
], 46, Dt));
|
|
915
922
|
}
|
|
916
|
-
}, Ll = /* @__PURE__ */ Pt(ul, [["__scopeId", "data-v-
|
|
923
|
+
}, Ll = /* @__PURE__ */ Pt(ul, [["__scopeId", "data-v-f2992cb6"]]);
|
|
917
924
|
export {
|
|
918
925
|
Ll as default
|
|
919
926
|
};
|