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,18 +1,18 @@
|
|
|
1
|
-
import { useSlots as vt, computed as _, ref as d, onMounted as ct, onBeforeUnmount as dt, watch as Ue, createElementBlock as u, openBlock as o, unref as n, normalizeStyle as z, normalizeClass as de, createBlock as R, createCommentVNode as i, renderSlot as
|
|
2
|
-
import { u as yt, o as ft, e as Ee, g as pt, c as gt, b as bt, d as qe, p as U, m as mt, H as wt, f as O, X as kt, s as Z, w as _t, j as xt, I as L, i as A, k as ee, n as w, t as $t, a as Ct, q as Pt, r as St, x as Ft } from "./index-
|
|
1
|
+
import { useSlots as vt, computed as _, ref as d, onMounted as ct, onBeforeUnmount as dt, watch as Ue, createElementBlock as u, openBlock as o, unref as n, normalizeStyle as z, normalizeClass as de, createBlock as R, createCommentVNode as i, renderSlot as g, createElementVNode as p, createVNode as he, createSlots as je, withCtx as x, normalizeProps as H, guardReactiveProps as E, Fragment as b, renderList as F, mergeProps as We, toDisplayString as C, createTextVNode as He, nextTick as ht } from "vue";
|
|
2
|
+
import { u as yt, o as ft, e as Ee, g as pt, c as gt, b as bt, d as qe, p as U, m as mt, H as wt, f as O, X as kt, s as Z, w as _t, j as xt, I as L, i as A, k as ee, n as w, t as $t, a as Ct, q as Pt, r as St, x as Ft } from "./index-Cq7-va_5.js";
|
|
3
3
|
import { t as Lt, u as Tt } from "./useResponsive-BWapHhVH.js";
|
|
4
|
-
import { _ as zt } from "./Title-
|
|
5
|
-
import { u as Ot, U as Yt } from "./usePrinter-
|
|
6
|
-
import { D as At } from "./DataTable-
|
|
7
|
-
import { _ as Nt } from "./Tooltip-
|
|
8
|
-
import { L as Xt } from "./Legend-
|
|
9
|
-
import It from "./vue-ui-skeleton-
|
|
10
|
-
import Dt from "./vue-ui-accordion-
|
|
11
|
-
import { u as Je } from "./useNestedProp-
|
|
12
|
-
import { _ as Mt } from "./PackageVersion-
|
|
13
|
-
import { P as Bt } from "./PenAndPaper-
|
|
4
|
+
import { _ as zt } from "./Title-CUHNtIyE.js";
|
|
5
|
+
import { u as Ot, U as Yt } from "./usePrinter-jRjc8Naz.js";
|
|
6
|
+
import { D as At } from "./DataTable-CMUyDj6S.js";
|
|
7
|
+
import { _ as Nt } from "./Tooltip-BuAQ8HVL.js";
|
|
8
|
+
import { L as Xt } from "./Legend-CaMKYW-V.js";
|
|
9
|
+
import It from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
10
|
+
import Dt from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
11
|
+
import { u as Je } from "./useNestedProp-BEyJNlaO.js";
|
|
12
|
+
import { _ as Mt } from "./PackageVersion-CURzw4q1.js";
|
|
13
|
+
import { P as Bt } from "./PenAndPaper-CjiJra09.js";
|
|
14
14
|
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
-
import { _ as Gt } from "./Shape-
|
|
15
|
+
import { _ as Gt } from "./Shape-F5v4f45p.js";
|
|
16
16
|
import { u as Rt } from "./useChartAccessibility-BWojgys7.js";
|
|
17
17
|
import { _ as Ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { key: 1 }, qt = ["id"], Jt = ["stop-color"], Kt = ["offset", "stop-color"], Qt = ["offset", "stop-color"], Zt = ["stop-color"], el = { key: 2 }, tl = ["id", "cx", "cy"], ll = ["stop-color", "stop-opacity"], al = ["stop-color"], ol = ["id"], ul = ["id"], sl = ["id"], nl = ["flood-color"], rl = ["id"], il = ["flood-color"], vl = ["d", "stroke", "filter"], cl = ["x1", "y1", "x2", "y2", "stroke", "filter"], dl = ["cx", "cy", "r", "fill", "filter"], hl = { key: 6 }, yl = ["stroke", "d"], fl = { key: 0 }, pl = ["d", "fill", "stroke", "stroke-width", "filter"], gl = ["d", "fill", "stroke", "stroke-width", "filter"], bl = { key: 0 }, ml = ["stroke", "d"], wl = { key: 0 }, kl = ["d", "stroke", "stroke-width", "filter"], _l = { key: 1 }, xl = ["d", "fill", "stroke", "stroke-width", "filter"], $l = ["d", "fill", "stroke", "stroke-width", "filter"], Cl = { key: 1 }, Pl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Fl = ["cx", "cy", "r", "stroke"], Ll = ["cx", "cy", "r", "fill"], Tl = { key: 0 }, zl = ["d", "fill", "onMouseenter", "onClick"], Ol = { key: 1 }, Yl = ["cx", "cy", "r", "fill"], Al = ["x", "y", "fill", "font-size"], Nl = ["x", "y", "fill", "font-size"], Xl = ["x", "y", "fill", "font-size"], Il = ["x", "y", "fill", "font-size"], Dl = ["filter"], Ml = { key: 0 }, Bl = ["x", "y"], Vl = { key: 1 }, Gl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Rl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ul = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], jl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Wl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Hl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], El = { key: 2 }, ql = ["x", "y", "width"], Jl = ["x", "y", "width"], Kl = {
|
|
@@ -39,14 +39,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
39
39
|
},
|
|
40
40
|
emits: ["selectLegend", "selectDatapoint"],
|
|
41
41
|
setup(Ke, { expose: Qe, emit: Ze }) {
|
|
42
|
-
const { vue_ui_donut: et } = yt(), tt = vt(), N = Ke,
|
|
42
|
+
const { vue_ui_donut: et } = yt(), tt = vt(), N = Ke, q = _({
|
|
43
43
|
get() {
|
|
44
44
|
return !!N.dataset && N.dataset.length;
|
|
45
45
|
},
|
|
46
46
|
set(l) {
|
|
47
47
|
return l;
|
|
48
48
|
}
|
|
49
|
-
}),
|
|
49
|
+
}), J = d(null), ye = d(null), fe = d(null), te = d(null), pe = d(null), ge = d(null), be = d(0), me = d(0), we = d(0);
|
|
50
50
|
ct(() => {
|
|
51
51
|
ke();
|
|
52
52
|
}), dt(() => {
|
|
@@ -61,7 +61,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
61
61
|
datasetObject: l,
|
|
62
62
|
requiredAttributes: ["name", "values"]
|
|
63
63
|
}).forEach((t) => {
|
|
64
|
-
|
|
64
|
+
q.value = !1, Ee({
|
|
65
65
|
componentName: "VueUiDonut",
|
|
66
66
|
type: "datasetSerieAttribute",
|
|
67
67
|
property: t,
|
|
@@ -71,7 +71,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
71
71
|
}), e.value.responsive) {
|
|
72
72
|
const l = Lt(() => {
|
|
73
73
|
const { width: r, height: t } = Tt({
|
|
74
|
-
chart:
|
|
74
|
+
chart: J.value,
|
|
75
75
|
title: e.value.style.chart.title.text ? ye.value : null,
|
|
76
76
|
legend: e.value.style.chart.legend.show ? fe.value : null,
|
|
77
77
|
source: pe.value,
|
|
@@ -81,7 +81,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
81
81
|
s.value.width = r, s.value.height = t;
|
|
82
82
|
});
|
|
83
83
|
});
|
|
84
|
-
te.value = new ResizeObserver(l), te.value.observe(
|
|
84
|
+
te.value = new ResizeObserver(l), te.value.observe(J.value.parentNode);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
const y = d(gt()), lt = d(null), le = d(!1), ue = d(""), P = d(null), _e = d(0);
|
|
@@ -117,8 +117,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
117
117
|
}), s = d({
|
|
118
118
|
height: 360,
|
|
119
119
|
width: 512
|
|
120
|
-
}),
|
|
121
|
-
const l = e.value.style.chart.layout.donut.strokeWidth / 512, r = s.value.width * l, t = r >
|
|
120
|
+
}), K = _(() => {
|
|
121
|
+
const l = e.value.style.chart.layout.donut.strokeWidth / 512, r = s.value.width * l, t = r > $.value ? $.value : r;
|
|
122
122
|
return t < 24 ? 24 : t;
|
|
123
123
|
}), ze = Ze, B = _(() => N.dataset.map((l, r) => ({
|
|
124
124
|
name: l.name,
|
|
@@ -199,10 +199,10 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
199
199
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
200
200
|
paddingBottom: 12,
|
|
201
201
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
202
|
-
})),
|
|
202
|
+
})), $ = _(() => {
|
|
203
203
|
const l = Math.min(s.value.width / 3, s.value.height / 3);
|
|
204
204
|
return l < 55 ? 55 : l;
|
|
205
|
-
}), h = _(() => mt({ series: I.value }, s.value.width / 2, s.value.height / 2,
|
|
205
|
+
}), h = _(() => mt({ series: I.value }, s.value.width / 2, s.value.height / 2, $.value, $.value, 1.99999, 2, 1, 360, 105.25, K.value)), c = _(() => {
|
|
206
206
|
const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
|
|
207
207
|
return wt({
|
|
208
208
|
series: r,
|
|
@@ -238,12 +238,12 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
238
238
|
function nt(l) {
|
|
239
239
|
return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
|
|
240
240
|
}
|
|
241
|
-
const S = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Xe = _(() => S.value / I.value.length), Ie = _(() => (l) => V.value ? l.proportion * 100 : l.value / S.value * 100), ie = d(null),
|
|
241
|
+
const S = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Xe = _(() => S.value / I.value.length), Ie = _(() => (l) => V.value ? l.proportion * 100 : l.value / S.value * 100), ie = d(null), Q = d(!1);
|
|
242
242
|
function De({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
|
|
243
243
|
ie.value = { datapoint: l, seriesIndex: t, config: e.value, series: B.value }, le.value = a, P.value = r;
|
|
244
244
|
let v = "";
|
|
245
245
|
const m = e.value.style.chart.tooltip.customFormat;
|
|
246
|
-
if (
|
|
246
|
+
if (Q.value = !1, Ft(m))
|
|
247
247
|
try {
|
|
248
248
|
const k = m({
|
|
249
249
|
seriesIndex: t,
|
|
@@ -251,11 +251,11 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
251
251
|
series: B.value,
|
|
252
252
|
config: e.value
|
|
253
253
|
});
|
|
254
|
-
typeof k == "string" && (ue.value = k,
|
|
254
|
+
typeof k == "string" && (ue.value = k, Q.value = !0);
|
|
255
255
|
} catch {
|
|
256
|
-
console.warn("Custom format cannot be applied."),
|
|
256
|
+
console.warn("Custom format cannot be applied."), Q.value = !1;
|
|
257
257
|
}
|
|
258
|
-
if (!
|
|
258
|
+
if (!Q.value) {
|
|
259
259
|
if (v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, v += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}"/>${tt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${A(
|
|
260
260
|
e.value.style.chart.layout.labels.value.formatter,
|
|
261
261
|
l.value,
|
|
@@ -378,7 +378,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
378
378
|
toggleAnnotator: ve
|
|
379
379
|
}), (l, r) => (o(), u("div", {
|
|
380
380
|
ref_key: "donutChart",
|
|
381
|
-
ref:
|
|
381
|
+
ref: J,
|
|
382
382
|
class: de(`vue-ui-donut ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
383
383
|
style: z(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
384
384
|
id: `donut__${y.value}`,
|
|
@@ -393,7 +393,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
393
393
|
svgRef: n(ne),
|
|
394
394
|
onClose: ve
|
|
395
395
|
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : i("", !0),
|
|
396
|
-
|
|
396
|
+
g(l.$slots, "userConfig", {}, void 0, !0),
|
|
397
397
|
at.value ? (o(), u("div", {
|
|
398
398
|
key: 1,
|
|
399
399
|
ref_key: "noTitle",
|
|
@@ -421,7 +421,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
421
421
|
}
|
|
422
422
|
}, null, 8, ["config"]))
|
|
423
423
|
], 512)) : i("", !0),
|
|
424
|
-
e.value.userOptions.show &&
|
|
424
|
+
e.value.userOptions.show && q.value && (n(Ce) || n(se)) ? (o(), R(Yt, {
|
|
425
425
|
ref_key: "details",
|
|
426
426
|
ref: lt,
|
|
427
427
|
key: `user_option_${_e.value}`,
|
|
@@ -438,7 +438,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
438
438
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
439
439
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
440
440
|
isFullscreen: W.value,
|
|
441
|
-
chartElement:
|
|
441
|
+
chartElement: J.value,
|
|
442
442
|
position: e.value.userOptions.position,
|
|
443
443
|
isTooltip: f.value.showTooltip,
|
|
444
444
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
@@ -456,64 +456,71 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
456
456
|
visibility: n(Ce) ? n(se) ? "visible" : "hidden" : "visible"
|
|
457
457
|
})
|
|
458
458
|
}, je({ _: 2 }, [
|
|
459
|
+
l.$slots.menuIcon ? {
|
|
460
|
+
name: "menuIcon",
|
|
461
|
+
fn: x(({ isOpen: t, color: a }) => [
|
|
462
|
+
g(l.$slots, "menuIcon", H(E({ isOpen: t, color: a })), void 0, !0)
|
|
463
|
+
]),
|
|
464
|
+
key: "0"
|
|
465
|
+
} : void 0,
|
|
459
466
|
l.$slots.optionTooltip ? {
|
|
460
467
|
name: "optionTooltip",
|
|
461
|
-
fn:
|
|
462
|
-
|
|
468
|
+
fn: x(() => [
|
|
469
|
+
g(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
463
470
|
]),
|
|
464
|
-
key: "
|
|
471
|
+
key: "1"
|
|
465
472
|
} : void 0,
|
|
466
473
|
l.$slots.optionPdf ? {
|
|
467
474
|
name: "optionPdf",
|
|
468
|
-
fn:
|
|
469
|
-
|
|
475
|
+
fn: x(() => [
|
|
476
|
+
g(l.$slots, "optionPdf", {}, void 0, !0)
|
|
470
477
|
]),
|
|
471
|
-
key: "
|
|
478
|
+
key: "2"
|
|
472
479
|
} : void 0,
|
|
473
480
|
l.$slots.optionCsv ? {
|
|
474
481
|
name: "optionCsv",
|
|
475
|
-
fn:
|
|
476
|
-
|
|
482
|
+
fn: x(() => [
|
|
483
|
+
g(l.$slots, "optionCsv", {}, void 0, !0)
|
|
477
484
|
]),
|
|
478
|
-
key: "
|
|
485
|
+
key: "3"
|
|
479
486
|
} : void 0,
|
|
480
487
|
l.$slots.optionImg ? {
|
|
481
488
|
name: "optionImg",
|
|
482
|
-
fn:
|
|
483
|
-
|
|
489
|
+
fn: x(() => [
|
|
490
|
+
g(l.$slots, "optionImg", {}, void 0, !0)
|
|
484
491
|
]),
|
|
485
|
-
key: "
|
|
492
|
+
key: "4"
|
|
486
493
|
} : void 0,
|
|
487
494
|
l.$slots.optionTable ? {
|
|
488
495
|
name: "optionTable",
|
|
489
|
-
fn:
|
|
490
|
-
|
|
496
|
+
fn: x(() => [
|
|
497
|
+
g(l.$slots, "optionTable", {}, void 0, !0)
|
|
491
498
|
]),
|
|
492
|
-
key: "
|
|
499
|
+
key: "5"
|
|
493
500
|
} : void 0,
|
|
494
501
|
l.$slots.optionLabels ? {
|
|
495
502
|
name: "optionLabels",
|
|
496
|
-
fn:
|
|
497
|
-
|
|
503
|
+
fn: x(() => [
|
|
504
|
+
g(l.$slots, "optionLabels", {}, void 0, !0)
|
|
498
505
|
]),
|
|
499
|
-
key: "
|
|
506
|
+
key: "6"
|
|
500
507
|
} : void 0,
|
|
501
508
|
l.$slots.optionFullscreen ? {
|
|
502
509
|
name: "optionFullscreen",
|
|
503
|
-
fn:
|
|
504
|
-
|
|
510
|
+
fn: x(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
511
|
+
g(l.$slots, "optionFullscreen", H(E({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
|
|
505
512
|
]),
|
|
506
|
-
key: "
|
|
513
|
+
key: "7"
|
|
507
514
|
} : void 0,
|
|
508
515
|
l.$slots.optionAnnotator ? {
|
|
509
516
|
name: "optionAnnotator",
|
|
510
|
-
fn:
|
|
511
|
-
|
|
517
|
+
fn: x(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
518
|
+
g(l.$slots, "optionAnnotator", H(E({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
|
|
512
519
|
]),
|
|
513
|
-
key: "
|
|
520
|
+
key: "8"
|
|
514
521
|
} : void 0
|
|
515
522
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
516
|
-
|
|
523
|
+
q.value ? (o(), u("svg", {
|
|
517
524
|
key: 4,
|
|
518
525
|
ref_key: "svgRef",
|
|
519
526
|
ref: ne,
|
|
@@ -533,7 +540,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
533
540
|
pointerEvents: "none"
|
|
534
541
|
}
|
|
535
542
|
}, [
|
|
536
|
-
|
|
543
|
+
g(l.$slots, "chart-background", {}, void 0, !0)
|
|
537
544
|
], 8, Ht)) : i("", !0),
|
|
538
545
|
e.value.type === "classic" ? (o(), u("defs", Et, [
|
|
539
546
|
e.value.style.chart.useGradient ? (o(), u("radialGradient", {
|
|
@@ -546,12 +553,12 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
546
553
|
"stop-opacity": "0"
|
|
547
554
|
}, null, 8, Jt),
|
|
548
555
|
p("stop", {
|
|
549
|
-
offset: `${(1 -
|
|
556
|
+
offset: `${(1 - K.value / $.value) * 100}%`,
|
|
550
557
|
"stop-color": n(Z)("#FFFFFF", 0),
|
|
551
558
|
"stop-opacity": "0"
|
|
552
559
|
}, null, 8, Kt),
|
|
553
560
|
p("stop", {
|
|
554
|
-
offset: `${(1 -
|
|
561
|
+
offset: `${(1 - K.value / $.value / 2) * 100}%`,
|
|
555
562
|
"stop-color": n(Z)("#FFFFFF", e.value.style.chart.gradientIntensity)
|
|
556
563
|
}, null, 8, Qt),
|
|
557
564
|
p("stop", {
|
|
@@ -562,7 +569,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
562
569
|
], 8, qt)) : i("", !0)
|
|
563
570
|
])) : i("", !0),
|
|
564
571
|
e.value.type === "polar" ? (o(), u("defs", el, [
|
|
565
|
-
(o(!0), u(
|
|
572
|
+
(o(!0), u(b, null, F(c.value, (t, a) => (o(), u("radialGradient", {
|
|
566
573
|
id: `polar_gradient_${a}_${y.value}`,
|
|
567
574
|
cx: t.middlePoint.x / s.value.width * 100 + "%",
|
|
568
575
|
cy: t.middlePoint.y / s.value.height * 100 + "%",
|
|
@@ -626,10 +633,10 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
626
633
|
}, null, 8, il)
|
|
627
634
|
], 8, rl)
|
|
628
635
|
]),
|
|
629
|
-
e.value.type === "classic" ? (o(!0), u(
|
|
636
|
+
e.value.type === "classic" ? (o(!0), u(b, { key: 3 }, F(h.value, (t, a) => (o(), u("g", null, [
|
|
630
637
|
Y(t) && f.value.dataLabels.show ? (o(), u("path", {
|
|
631
638
|
key: 0,
|
|
632
|
-
d: n(xt)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1,
|
|
639
|
+
d: n(xt)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, K.value),
|
|
633
640
|
stroke: t.color,
|
|
634
641
|
"stroke-width": "1",
|
|
635
642
|
"stroke-linecap": "round",
|
|
@@ -638,7 +645,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
638
645
|
filter: G(a)
|
|
639
646
|
}, null, 8, vl)) : i("", !0)
|
|
640
647
|
]))), 256)) : i("", !0),
|
|
641
|
-
e.value.type === "polar" ? (o(!0), u(
|
|
648
|
+
e.value.type === "polar" ? (o(!0), u(b, { key: 4 }, F(h.value, (t, a) => (o(), u("g", null, [
|
|
642
649
|
Y(t) && f.value.dataLabels.show ? (o(), u("line", {
|
|
643
650
|
key: 0,
|
|
644
651
|
x1: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
|
|
@@ -657,23 +664,23 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
657
664
|
key: 5,
|
|
658
665
|
cx: s.value.width / 2,
|
|
659
666
|
cy: s.value.height / 2,
|
|
660
|
-
r:
|
|
667
|
+
r: $.value <= 0 ? 10 : $.value,
|
|
661
668
|
fill: e.value.style.chart.backgroundColor,
|
|
662
669
|
filter: `url(#shadow_${y.value})`
|
|
663
670
|
}, null, 8, dl)) : i("", !0),
|
|
664
671
|
l.$slots.pattern ? (o(), u("g", hl, [
|
|
665
|
-
(o(!0), u(
|
|
666
|
-
|
|
672
|
+
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("defs", null, [
|
|
673
|
+
g(l.$slots, "pattern", We({ ref_for: !0 }, { ...t, patternId: `pattern_${y.value}_${t.patternIndex}` }), void 0, !0)
|
|
667
674
|
]))), 256))
|
|
668
675
|
])) : i("", !0),
|
|
669
|
-
S.value && e.value.type === "classic" ? (o(), u(
|
|
670
|
-
(o(!0), u(
|
|
676
|
+
S.value && e.value.type === "classic" ? (o(), u(b, { key: 7 }, [
|
|
677
|
+
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
671
678
|
stroke: e.value.style.chart.backgroundColor,
|
|
672
679
|
d: t.arcSlice,
|
|
673
680
|
fill: "#FFFFFF"
|
|
674
681
|
}, null, 8, yl))), 256)),
|
|
675
682
|
l.$slots.pattern ? (o(), u("g", fl, [
|
|
676
|
-
(o(!0), u(
|
|
683
|
+
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
677
684
|
class: "vue-ui-donut-arc-path",
|
|
678
685
|
d: t.arcSlice,
|
|
679
686
|
fill: `url(#pattern_${y.value}_${t.patternIndex})`,
|
|
@@ -682,7 +689,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
682
689
|
filter: G(a)
|
|
683
690
|
}, null, 8, pl))), 256))
|
|
684
691
|
])) : i("", !0),
|
|
685
|
-
(o(!0), u(
|
|
692
|
+
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
686
693
|
class: "vue-ui-donut-arc-path",
|
|
687
694
|
d: t.arcSlice,
|
|
688
695
|
fill: n(Z)(t.color, 80),
|
|
@@ -691,15 +698,15 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
691
698
|
filter: G(a)
|
|
692
699
|
}, null, 8, gl))), 256))
|
|
693
700
|
], 64)) : i("", !0),
|
|
694
|
-
S.value && e.value.type === "polar" ? (o(), u(
|
|
701
|
+
S.value && e.value.type === "polar" ? (o(), u(b, { key: 8 }, [
|
|
695
702
|
h.value.length > 1 ? (o(), u("g", bl, [
|
|
696
|
-
(o(!0), u(
|
|
703
|
+
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
697
704
|
stroke: e.value.style.chart.backgroundColor,
|
|
698
705
|
d: c.value[a].path,
|
|
699
706
|
fill: "#FFFFFF"
|
|
700
707
|
}, null, 8, ml))), 256)),
|
|
701
708
|
e.value.style.chart.layout.donut.useShadow ? (o(), u("g", wl, [
|
|
702
|
-
(o(!0), u(
|
|
709
|
+
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
703
710
|
class: "vue-ui-donut-arc-path",
|
|
704
711
|
d: c.value[a].path,
|
|
705
712
|
fill: "transparent",
|
|
@@ -709,7 +716,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
709
716
|
}, null, 8, kl))), 256))
|
|
710
717
|
])) : i("", !0),
|
|
711
718
|
l.$slots.pattern ? (o(), u("g", _l, [
|
|
712
|
-
(o(!0), u(
|
|
719
|
+
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
713
720
|
class: "vue-ui-donut-arc-path",
|
|
714
721
|
d: c.value[a].path,
|
|
715
722
|
fill: `url(#pattern_${y.value}_${t.patternIndex})`,
|
|
@@ -718,7 +725,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
718
725
|
filter: G(a)
|
|
719
726
|
}, null, 8, xl))), 256))
|
|
720
727
|
])) : i("", !0),
|
|
721
|
-
(o(!0), u(
|
|
728
|
+
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
722
729
|
class: "vue-ui-donut-arc-path",
|
|
723
730
|
d: c.value[a].path,
|
|
724
731
|
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${y.value})` : t.color,
|
|
@@ -731,7 +738,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
731
738
|
key: 0,
|
|
732
739
|
cx: s.value.width / 2,
|
|
733
740
|
cy: s.value.height / 2,
|
|
734
|
-
r:
|
|
741
|
+
r: $.value,
|
|
735
742
|
fill: `url(#pattern_${y.value}_${h.value[0].patternIndex})`,
|
|
736
743
|
stroke: e.value.style.chart.backgroundColor,
|
|
737
744
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
@@ -739,7 +746,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
739
746
|
p("circle", {
|
|
740
747
|
cx: s.value.width / 2,
|
|
741
748
|
cy: s.value.height / 2,
|
|
742
|
-
r:
|
|
749
|
+
r: $.value,
|
|
743
750
|
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${y.value})` : h.value[0].color,
|
|
744
751
|
stroke: e.value.style.chart.backgroundColor,
|
|
745
752
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
@@ -749,7 +756,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
749
756
|
key: 9,
|
|
750
757
|
cx: s.value.width / 2,
|
|
751
758
|
cy: s.value.height / 2,
|
|
752
|
-
r:
|
|
759
|
+
r: $.value <= 0 ? 10 : $.value,
|
|
753
760
|
fill: "transparent",
|
|
754
761
|
stroke: e.value.style.chart.backgroundColor
|
|
755
762
|
}, null, 8, Fl)),
|
|
@@ -759,13 +766,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
759
766
|
cy: s.value.height / 2,
|
|
760
767
|
r: (
|
|
761
768
|
/* This might require adjustments */
|
|
762
|
-
|
|
769
|
+
$.value <= 0 ? 10 : $.value
|
|
763
770
|
),
|
|
764
771
|
fill: `url(#gradient_${y.value})`
|
|
765
772
|
}, null, 8, Ll)) : i("", !0),
|
|
766
|
-
S.value ? (o(), u(
|
|
773
|
+
S.value ? (o(), u(b, { key: 11 }, [
|
|
767
774
|
h.value.length > 1 || e.value.type === "classic" ? (o(), u("g", Tl, [
|
|
768
|
-
(o(!0), u(
|
|
775
|
+
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
769
776
|
d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
|
|
770
777
|
fill: P.value === a ? "rgba(0,0,0,0.1)" : "transparent",
|
|
771
778
|
onMouseenter: (v) => De({
|
|
@@ -783,7 +790,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
783
790
|
p("circle", {
|
|
784
791
|
cx: s.value.width / 2,
|
|
785
792
|
cy: s.value.height / 2,
|
|
786
|
-
r:
|
|
793
|
+
r: $.value,
|
|
787
794
|
fill: P.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
|
|
788
795
|
onMouseenter: r[1] || (r[1] = (t) => De({
|
|
789
796
|
datapoint: h.value[0],
|
|
@@ -798,7 +805,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
798
805
|
}, null, 40, Yl)
|
|
799
806
|
]))
|
|
800
807
|
], 64)) : i("", !0),
|
|
801
|
-
e.value.type === "classic" ? (o(), u(
|
|
808
|
+
e.value.type === "classic" ? (o(), u(b, { key: 12 }, [
|
|
802
809
|
e.value.style.chart.layout.labels.hollow.total.show ? (o(), u("text", {
|
|
803
810
|
key: 0,
|
|
804
811
|
"text-anchor": "middle",
|
|
@@ -853,7 +860,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
853
860
|
})
|
|
854
861
|
)), 13, Il)) : i("", !0)
|
|
855
862
|
], 64)) : i("", !0),
|
|
856
|
-
(o(!0), u(
|
|
863
|
+
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("g", {
|
|
857
864
|
filter: G(a),
|
|
858
865
|
class: de({ animated: e.value.useCssAnimation })
|
|
859
866
|
}, [
|
|
@@ -866,7 +873,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
866
873
|
style: { overflow: "visible" }
|
|
867
874
|
}, [
|
|
868
875
|
p("div", null, [
|
|
869
|
-
|
|
876
|
+
g(l.$slots, "dataLabel", We({ ref_for: !0 }, {
|
|
870
877
|
datapoint: t,
|
|
871
878
|
isBlur: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a,
|
|
872
879
|
isSafari: Be.value,
|
|
@@ -878,7 +885,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
878
885
|
])
|
|
879
886
|
], 8, Bl))
|
|
880
887
|
])) : (o(), u("g", Vl, [
|
|
881
|
-
e.value.type === "classic" ? (o(), u(
|
|
888
|
+
e.value.type === "classic" ? (o(), u(b, { key: 0 }, [
|
|
882
889
|
Y(t) && f.value.dataLabels.show ? (o(), u("circle", {
|
|
883
890
|
key: 0,
|
|
884
891
|
cx: n(w)(t).x,
|
|
@@ -891,7 +898,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
891
898
|
onClick: (v) => M(t, a)
|
|
892
899
|
}, null, 8, Gl)) : i("", !0)
|
|
893
900
|
], 64)) : i("", !0),
|
|
894
|
-
e.value.type === "polar" ? (o(), u(
|
|
901
|
+
e.value.type === "polar" ? (o(), u(b, { key: 1 }, [
|
|
895
902
|
Y(t) && f.value.dataLabels.show ? (o(), u("circle", {
|
|
896
903
|
key: 0,
|
|
897
904
|
cx: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
|
|
@@ -904,7 +911,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
904
911
|
onClick: (v) => M(t, a)
|
|
905
912
|
}, null, 8, Rl)) : i("", !0)
|
|
906
913
|
], 64)) : i("", !0),
|
|
907
|
-
e.value.type === "classic" ? (o(), u(
|
|
914
|
+
e.value.type === "classic" ? (o(), u(b, { key: 2 }, [
|
|
908
915
|
Y(t) && f.value.dataLabels.show ? (o(), u("text", {
|
|
909
916
|
key: 0,
|
|
910
917
|
"text-anchor": n(w)(t, !0, 12).anchor,
|
|
@@ -936,7 +943,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
936
943
|
onClick: (v) => M(t, a)
|
|
937
944
|
}, C(t.name), 13, jl)) : i("", !0)
|
|
938
945
|
], 64)) : i("", !0),
|
|
939
|
-
e.value.type === "polar" ? (o(), u(
|
|
946
|
+
e.value.type === "polar" ? (o(), u(b, { key: 3 }, [
|
|
940
947
|
Y(t) && f.value.dataLabels.show ? (o(), u("text", {
|
|
941
948
|
key: 0,
|
|
942
949
|
"text-anchor": j(c.value[a].middlePoint),
|
|
@@ -979,7 +986,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
979
986
|
style: { overflow: "visible", "pointer-events": "none" }
|
|
980
987
|
}, [
|
|
981
988
|
p("div", null, [
|
|
982
|
-
|
|
989
|
+
g(l.$slots, "plot-comment", {
|
|
983
990
|
plot: { ...t, textAlign: n(w)(t, !0, 16, !0).anchor, flexAlign: n(w)(t, !0, 16).anchor }
|
|
984
991
|
}, void 0, !0)
|
|
985
992
|
])
|
|
@@ -993,19 +1000,19 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
993
1000
|
style: { overflow: "visible", "pointer-events": "none" }
|
|
994
1001
|
}, [
|
|
995
1002
|
p("div", null, [
|
|
996
|
-
|
|
1003
|
+
g(l.$slots, "plot-comment", {
|
|
997
1004
|
plot: { ...t, textAlign: j(c.value[a].middlePoint), flexAlign: j(c.value[a].middlePoint) }
|
|
998
1005
|
}, void 0, !0)
|
|
999
1006
|
])
|
|
1000
1007
|
], 8, Jl)) : i("", !0)
|
|
1001
1008
|
])) : i("", !0)
|
|
1002
1009
|
], 10, Dl))), 256)),
|
|
1003
|
-
|
|
1010
|
+
g(l.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
1004
1011
|
], 14, Wt)) : i("", !0),
|
|
1005
1012
|
l.$slots.watermark ? (o(), u("div", Kl, [
|
|
1006
|
-
|
|
1013
|
+
g(l.$slots, "watermark", H(E({ isPrinting: n(Pe) || n(Se) })), void 0, !0)
|
|
1007
1014
|
])) : i("", !0),
|
|
1008
|
-
|
|
1015
|
+
q.value ? i("", !0) : (o(), R(It, {
|
|
1009
1016
|
key: 6,
|
|
1010
1017
|
config: {
|
|
1011
1018
|
type: "donut",
|
|
@@ -1013,7 +1020,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1013
1020
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1014
1021
|
donut: {
|
|
1015
1022
|
color: "#CCCCCC",
|
|
1016
|
-
strokeWidth:
|
|
1023
|
+
strokeWidth: K.value * 0.8
|
|
1017
1024
|
}
|
|
1018
1025
|
}
|
|
1019
1026
|
}
|
|
@@ -1028,7 +1035,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1028
1035
|
config: ut.value,
|
|
1029
1036
|
onClickMarker: r[4] || (r[4] = ({ i: t }) => Ae(t))
|
|
1030
1037
|
}, je({
|
|
1031
|
-
item:
|
|
1038
|
+
item: x(({ legend: t, index: a }) => [
|
|
1032
1039
|
p("div", {
|
|
1033
1040
|
style: z(`opacity:${X.value.includes(a) ? 0.5 : 1}`),
|
|
1034
1041
|
onClick: (v) => t.segregate()
|
|
@@ -1062,7 +1069,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1062
1069
|
}, [
|
|
1063
1070
|
l.$slots.pattern ? {
|
|
1064
1071
|
name: "legend-pattern",
|
|
1065
|
-
fn:
|
|
1072
|
+
fn: x(({ legend: t, index: a }) => [
|
|
1066
1073
|
he(Gt, {
|
|
1067
1074
|
shape: t.shape,
|
|
1068
1075
|
radius: 30,
|
|
@@ -1074,7 +1081,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1074
1081
|
key: "0"
|
|
1075
1082
|
} : void 0
|
|
1076
1083
|
]), 1032, ["legendSet", "config"])) : i("", !0),
|
|
1077
|
-
|
|
1084
|
+
g(l.$slots, "legend", { legend: Ne.value }, void 0, !0)
|
|
1078
1085
|
], 512),
|
|
1079
1086
|
l.$slots.source ? (o(), u("div", {
|
|
1080
1087
|
key: 7,
|
|
@@ -1082,7 +1089,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1082
1089
|
ref: pe,
|
|
1083
1090
|
dir: "auto"
|
|
1084
1091
|
}, [
|
|
1085
|
-
|
|
1092
|
+
g(l.$slots, "source", {}, void 0, !0)
|
|
1086
1093
|
], 512)) : i("", !0),
|
|
1087
1094
|
he(Nt, {
|
|
1088
1095
|
show: f.value.showTooltip && le.value,
|
|
@@ -1095,20 +1102,20 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1095
1102
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1096
1103
|
position: e.value.style.chart.tooltip.position,
|
|
1097
1104
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1098
|
-
parent:
|
|
1105
|
+
parent: J.value,
|
|
1099
1106
|
content: ue.value,
|
|
1100
|
-
isCustom:
|
|
1107
|
+
isCustom: Q.value,
|
|
1101
1108
|
isFullscreen: W.value
|
|
1102
1109
|
}, {
|
|
1103
|
-
"tooltip-before":
|
|
1104
|
-
|
|
1110
|
+
"tooltip-before": x(() => [
|
|
1111
|
+
g(l.$slots, "tooltip-before", H(E({ ...ie.value })), void 0, !0)
|
|
1105
1112
|
]),
|
|
1106
|
-
"tooltip-after":
|
|
1107
|
-
|
|
1113
|
+
"tooltip-after": x(() => [
|
|
1114
|
+
g(l.$slots, "tooltip-after", H(E({ ...ie.value })), void 0, !0)
|
|
1108
1115
|
]),
|
|
1109
1116
|
_: 3
|
|
1110
1117
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
|
|
1111
|
-
|
|
1118
|
+
q.value ? (o(), R(Dt, {
|
|
1112
1119
|
key: 8,
|
|
1113
1120
|
hideDetails: "",
|
|
1114
1121
|
config: {
|
|
@@ -1124,7 +1131,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1124
1131
|
}
|
|
1125
1132
|
}
|
|
1126
1133
|
}, {
|
|
1127
|
-
content:
|
|
1134
|
+
content: x(() => [
|
|
1128
1135
|
(o(), R(At, {
|
|
1129
1136
|
key: `table_${me.value}`,
|
|
1130
1137
|
colNames: ae.value.colNames,
|
|
@@ -1134,13 +1141,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1134
1141
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1135
1142
|
onClose: r[5] || (r[5] = (t) => f.value.showTable = !1)
|
|
1136
1143
|
}, {
|
|
1137
|
-
th:
|
|
1144
|
+
th: x(({ th: t }) => [
|
|
1138
1145
|
p("div", {
|
|
1139
1146
|
innerHTML: t,
|
|
1140
1147
|
style: { display: "flex", "align-items": "center" }
|
|
1141
1148
|
}, null, 8, ta)
|
|
1142
1149
|
]),
|
|
1143
|
-
td:
|
|
1150
|
+
td: x(({ td: t }) => [
|
|
1144
1151
|
He(C(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
|
|
1145
1152
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1146
1153
|
t,
|
|
@@ -1167,7 +1174,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1167
1174
|
}, 8, ["config"])) : i("", !0)
|
|
1168
1175
|
], 46, jt));
|
|
1169
1176
|
}
|
|
1170
|
-
}, wa = /* @__PURE__ */ Ut(la, [["__scopeId", "data-v-
|
|
1177
|
+
}, wa = /* @__PURE__ */ Ut(la, [["__scopeId", "data-v-0a6038b4"]]);
|
|
1171
1178
|
export {
|
|
1172
1179
|
wa as default
|
|
1173
1180
|
};
|