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,20 +1,20 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as je, c as qe, t as Je, p as Ce, a as Ke, b as Qe, o as Ze, e as K, d as et, X as tt, f as R, i as Q, x as xe, q as at, r as lt, y as ot } from "./index-
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as ut, U as it } from "./usePrinter-
|
|
6
|
-
import { L as ct } from "./Legend-
|
|
7
|
-
import { D as dt } from "./DataTable-
|
|
8
|
-
import { _ as vt } from "./Tooltip-
|
|
9
|
-
import ht from "./vue-ui-skeleton-
|
|
10
|
-
import ft from "./vue-ui-accordion-
|
|
11
|
-
import { u as Te } from "./useNestedProp-
|
|
12
|
-
import { _ as gt } from "./PackageVersion-
|
|
13
|
-
import { P as pt } from "./PenAndPaper-
|
|
1
|
+
import { computed as h, ref as r, watch as we, onMounted as Xe, onBeforeUnmount as Ge, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as B, normalizeClass as U, createBlock as C, createCommentVNode as g, createElementVNode as O, createVNode as $e, createSlots as Ee, withCtx as f, renderSlot as d, normalizeProps as _, guardReactiveProps as P, Fragment as M, renderList as N, toDisplayString as I, createTextVNode as He, nextTick as We } from "vue";
|
|
2
|
+
import { u as je, c as qe, t as Je, p as Ce, a as Ke, b as Qe, o as Ze, e as K, d as et, X as tt, f as R, i as Q, x as xe, q as at, r as lt, y as ot } from "./index-Cq7-va_5.js";
|
|
3
|
+
import { t as nt, u as st } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as rt } from "./Title-CUHNtIyE.js";
|
|
5
|
+
import { u as ut, U as it } from "./usePrinter-jRjc8Naz.js";
|
|
6
|
+
import { L as ct } from "./Legend-CaMKYW-V.js";
|
|
7
|
+
import { D as dt } from "./DataTable-CMUyDj6S.js";
|
|
8
|
+
import { _ as vt } from "./Tooltip-BuAQ8HVL.js";
|
|
9
|
+
import ht from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
10
|
+
import ft from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
11
|
+
import { u as Te } from "./useNestedProp-BEyJNlaO.js";
|
|
12
|
+
import { _ as gt } from "./PackageVersion-CURzw4q1.js";
|
|
13
|
+
import { P as pt } from "./PenAndPaper-CjiJra09.js";
|
|
14
14
|
import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { u as mt } from "./useChartAccessibility-BWojgys7.js";
|
|
16
16
|
import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], xt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Tt = ["id"],
|
|
17
|
+
const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], xt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Tt = ["id"], Ot = ["stdDeviation"], _t = ["filter"], Pt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], It = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], At = { key: 2 }, St = ["onMouseenter"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Mt = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, Nt = ["onClick"], Rt = ["innerHTML"], Dt = {
|
|
@@ -34,15 +34,15 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectLegend"],
|
|
37
|
-
setup(
|
|
38
|
-
const { vue_ui_onion:
|
|
37
|
+
setup(Oe, { expose: _e, emit: Pe }) {
|
|
38
|
+
const { vue_ui_onion: Ie } = je(), w = Oe, D = h(() => !!w.dataset && w.dataset.length), x = r(qe()), Ae = r(null), Z = r(0), L = r(!1), X = r(""), y = r([]), A = r(null), ee = r(null), te = r(null), ae = r(null), le = r(null), oe = r(0), ne = r(0), se = r(0), e = h({
|
|
39
39
|
get: () => ce(),
|
|
40
40
|
set: (t) => t
|
|
41
|
-
}), { userOptionsVisible: G, setUserOptionsVisibility:
|
|
41
|
+
}), { userOptionsVisible: G, setUserOptionsVisibility: re, keepUserOptionState: ue } = yt({ config: e.value }), { svgRef: ie } = mt({ config: e.value.style.chart.title });
|
|
42
42
|
function ce() {
|
|
43
43
|
const t = Te({
|
|
44
44
|
userConfig: w.config,
|
|
45
|
-
defaultConfig:
|
|
45
|
+
defaultConfig: Ie
|
|
46
46
|
});
|
|
47
47
|
return t.theme ? {
|
|
48
48
|
...Te({
|
|
@@ -53,15 +53,15 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
53
53
|
} : t;
|
|
54
54
|
}
|
|
55
55
|
we(() => w.config, (t) => {
|
|
56
|
-
e.value = ce(), G.value = !e.value.userOptions.showOnChartHover, ge(), oe.value += 1,
|
|
56
|
+
e.value = ce(), G.value = !e.value.userOptions.showOnChartHover, ge(), oe.value += 1, ne.value += 1, se.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
57
57
|
}, { deep: !0 });
|
|
58
58
|
const { isPrinting: de, isImaging: ve, generatePdf: he, generateImage: fe } = ut({
|
|
59
59
|
elementId: `vue-ui-onion_${x.value}`,
|
|
60
60
|
fileName: e.value.style.chart.title.text || "vue-ui-onion"
|
|
61
|
-
}), Se =
|
|
61
|
+
}), Se = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = h(() => Qe(e.value.customPalette)), m = r({
|
|
62
62
|
showTable: e.value.table.show,
|
|
63
63
|
showTooltip: e.value.style.chart.tooltip.show
|
|
64
|
-
}),
|
|
64
|
+
}), n = r({
|
|
65
65
|
height: 512,
|
|
66
66
|
width: 512,
|
|
67
67
|
padding: {
|
|
@@ -71,7 +71,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
71
71
|
bottom: 64
|
|
72
72
|
},
|
|
73
73
|
minRadius: 64
|
|
74
|
-
}), V =
|
|
74
|
+
}), V = r(null);
|
|
75
75
|
Xe(() => {
|
|
76
76
|
ge();
|
|
77
77
|
});
|
|
@@ -80,36 +80,36 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
80
80
|
componentName: "VueUiOnion",
|
|
81
81
|
type: "dataset"
|
|
82
82
|
}), e.value.responsive) {
|
|
83
|
-
const o =
|
|
83
|
+
const o = nt(() => {
|
|
84
84
|
const { width: a, height: l } = st({
|
|
85
|
-
chart:
|
|
85
|
+
chart: A.value,
|
|
86
86
|
title: e.value.style.chart.title.text ? ee.value : null,
|
|
87
87
|
legend: e.value.style.chart.legend.show ? te.value : null,
|
|
88
88
|
source: ae.value,
|
|
89
89
|
noTitle: le.value
|
|
90
90
|
});
|
|
91
91
|
requestAnimationFrame(() => {
|
|
92
|
-
|
|
92
|
+
n.value.width = a, n.value.height = l, n.value.padding.top = Math.max(a, l) * 0.125, n.value.padding.right = Math.max(a, l) * 0.125, n.value.padding.bottom = Math.max(a, l) * 0.125, n.value.padding.left = Math.max(a, l) * 0.125, n.value.minRadius = Math.min(a, l) * 0.125;
|
|
93
93
|
});
|
|
94
94
|
});
|
|
95
|
-
V.value = new ResizeObserver(o), V.value.observe(
|
|
95
|
+
V.value = new ResizeObserver(o), V.value.observe(A.value.parentNode);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
Ge(() => {
|
|
99
99
|
V.value && V.value.disconnect();
|
|
100
100
|
});
|
|
101
|
-
const c =
|
|
102
|
-
top:
|
|
103
|
-
left:
|
|
104
|
-
right:
|
|
105
|
-
bottom:
|
|
106
|
-
centerX:
|
|
107
|
-
centerY:
|
|
108
|
-
width:
|
|
109
|
-
height:
|
|
110
|
-
minRadius:
|
|
111
|
-
maxRadius: Math.min(
|
|
112
|
-
})),
|
|
101
|
+
const c = h(() => ({
|
|
102
|
+
top: n.value.padding.top,
|
|
103
|
+
left: n.value.padding.left,
|
|
104
|
+
right: n.value.width - n.value.padding.right,
|
|
105
|
+
bottom: n.value.height - n.value.padding.bottom,
|
|
106
|
+
centerX: n.value.width / 2,
|
|
107
|
+
centerY: n.value.height / 2,
|
|
108
|
+
width: n.value.width - n.value.padding.right - n.value.padding.left,
|
|
109
|
+
height: n.value.height - n.value.padding.bottom - n.value.padding.top,
|
|
110
|
+
minRadius: n.value.minRadius,
|
|
111
|
+
maxRadius: Math.min(n.value.width, n.value.height) - n.value.padding.top * 2
|
|
112
|
+
})), v = h(() => (w.dataset.forEach((t, o) => {
|
|
113
113
|
[null, void 0].includes(t.name) && K({
|
|
114
114
|
componentName: "VueUiOnion",
|
|
115
115
|
type: "datasetSerieAttribute",
|
|
@@ -135,39 +135,39 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
135
135
|
segregate: () => pe(a),
|
|
136
136
|
isSegregated: y.value.includes(a)
|
|
137
137
|
};
|
|
138
|
-
}))),
|
|
139
|
-
we(() =>
|
|
138
|
+
}))), S = r(v.value), Me = h(() => e.value.useStartAnimation), Ne = r(null), Re = h(() => Math.max(...v.value.map((t) => t.percentage))), E = r(!1);
|
|
139
|
+
we(() => v.value, De, { immediate: !0 });
|
|
140
140
|
function De() {
|
|
141
141
|
if (Me.value && !E.value) {
|
|
142
142
|
let o = function() {
|
|
143
|
-
t >= Re.value ? (cancelAnimationFrame(Ne.value),
|
|
143
|
+
t >= Re.value ? (cancelAnimationFrame(Ne.value), S.value = v.value, E.value = !0) : (S.value = v.value.map((a) => ({
|
|
144
144
|
...a,
|
|
145
145
|
percentage: t < a.targetPercentage ? t : a.targetPercentage
|
|
146
146
|
})), t += 1, requestAnimationFrame(o), E.value = !0);
|
|
147
147
|
};
|
|
148
|
-
|
|
148
|
+
S.value = v.value.map((a) => ({
|
|
149
149
|
...a,
|
|
150
150
|
percentage: 0
|
|
151
151
|
}));
|
|
152
152
|
let t = 0;
|
|
153
153
|
o();
|
|
154
154
|
} else
|
|
155
|
-
|
|
155
|
+
S.value = v.value;
|
|
156
156
|
}
|
|
157
|
-
const Le =
|
|
157
|
+
const Le = h(() => ({
|
|
158
158
|
cy: "onion-div-legend",
|
|
159
159
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
160
160
|
color: e.value.style.chart.legend.color,
|
|
161
161
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
162
162
|
paddingBottom: 12,
|
|
163
163
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
164
|
-
})), Ve =
|
|
165
|
-
const t = Math.min(c.value.width, c.value.height) / 2 /
|
|
164
|
+
})), Ve = h(() => v.value.filter((t) => !y.value.includes(t.id)).length), $ = h(() => {
|
|
165
|
+
const t = Math.min(c.value.width, c.value.height) / 2 / v.value.length;
|
|
166
166
|
return {
|
|
167
167
|
gutter: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.gutter.width,
|
|
168
168
|
track: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.track.width
|
|
169
169
|
};
|
|
170
|
-
}), b =
|
|
170
|
+
}), b = h(() => S.value.filter((t) => !y.value.includes(t.id)).map((t, o) => {
|
|
171
171
|
const a = (c.value.maxRadius - $.value.track) / Ve.value / 2 * (1 + o), l = c.value.centerY - a;
|
|
172
172
|
return {
|
|
173
173
|
percentage: t.percentage || 0,
|
|
@@ -178,12 +178,12 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
178
178
|
};
|
|
179
179
|
}));
|
|
180
180
|
function ze(t, o) {
|
|
181
|
-
const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`,
|
|
181
|
+
const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`, F = l * (1 - o / 100);
|
|
182
182
|
return {
|
|
183
183
|
bgDashArray: `${l} ${a}`,
|
|
184
184
|
bgDashOffset: 0,
|
|
185
185
|
dashArray: p,
|
|
186
|
-
dashOffset:
|
|
186
|
+
dashOffset: F,
|
|
187
187
|
fullOffset: 0,
|
|
188
188
|
active: `
|
|
189
189
|
M ${c.value.centerX},${c.value.centerY - t}
|
|
@@ -199,14 +199,14 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
199
199
|
function Be() {
|
|
200
200
|
return b.value;
|
|
201
201
|
}
|
|
202
|
-
const H =
|
|
202
|
+
const H = h(() => {
|
|
203
203
|
const t = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = b.value.map((a) => [
|
|
204
204
|
a.name,
|
|
205
205
|
a.percentage,
|
|
206
206
|
a.value
|
|
207
207
|
]);
|
|
208
208
|
return { head: t, body: o };
|
|
209
|
-
}), z =
|
|
209
|
+
}), z = h(() => {
|
|
210
210
|
const t = H.value.head, o = b.value.map((l) => [
|
|
211
211
|
`<span style="color:${l.color}">⬤</span> ${l.name}`,
|
|
212
212
|
`${Number(l.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
|
|
@@ -232,31 +232,31 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
232
232
|
lt({ csvContent: p, title: e.value.style.chart.title.text || "vue-ui-onion" });
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
const k =
|
|
235
|
+
const k = r(void 0), T = r(!1);
|
|
236
236
|
function Ue(t) {
|
|
237
237
|
T.value = t, Z.value += 1;
|
|
238
238
|
}
|
|
239
|
-
const W =
|
|
239
|
+
const W = r(null);
|
|
240
240
|
function me({ datapoint: t, seriesIndex: o, show: a = !0 }) {
|
|
241
241
|
const l = t.absoluteIndex;
|
|
242
242
|
k.value = o, W.value = {
|
|
243
243
|
datapoint: t,
|
|
244
244
|
seriesIndex: l,
|
|
245
|
-
series:
|
|
245
|
+
series: v.value,
|
|
246
246
|
config: e.value
|
|
247
247
|
}, L.value = a;
|
|
248
248
|
let p = "";
|
|
249
|
-
const
|
|
250
|
-
if (xe(
|
|
249
|
+
const F = e.value.style.chart.tooltip.customFormat;
|
|
250
|
+
if (xe(F) && ot(() => F({
|
|
251
251
|
seriesIndex: l,
|
|
252
252
|
datapoint: t,
|
|
253
|
-
series:
|
|
253
|
+
series: v.value,
|
|
254
254
|
config: e.value
|
|
255
255
|
})))
|
|
256
|
-
X.value =
|
|
256
|
+
X.value = F({
|
|
257
257
|
seriesIndex: l,
|
|
258
258
|
datapoint: t,
|
|
259
|
-
series:
|
|
259
|
+
series: v.value,
|
|
260
260
|
config: e.value
|
|
261
261
|
});
|
|
262
262
|
else {
|
|
@@ -280,11 +280,11 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
280
280
|
function ke() {
|
|
281
281
|
m.value.showTooltip = !m.value.showTooltip;
|
|
282
282
|
}
|
|
283
|
-
const Y =
|
|
283
|
+
const Y = r(!1);
|
|
284
284
|
function j() {
|
|
285
285
|
Y.value = !Y.value;
|
|
286
286
|
}
|
|
287
|
-
return
|
|
287
|
+
return _e({
|
|
288
288
|
getData: Be,
|
|
289
289
|
generatePdf: he,
|
|
290
290
|
generateCsv: ye,
|
|
@@ -295,11 +295,11 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
295
295
|
}), (t, o) => (s(), u("div", {
|
|
296
296
|
class: U(`vue-ui-onion ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
297
297
|
ref_key: "onionChart",
|
|
298
|
-
ref:
|
|
298
|
+
ref: A,
|
|
299
299
|
id: `vue-ui-onion_${x.value}`,
|
|
300
300
|
style: B(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
301
|
-
onMouseenter: o[4] || (o[4] = () => i(
|
|
302
|
-
onMouseleave: o[5] || (o[5] = () => i(
|
|
301
|
+
onMouseenter: o[4] || (o[4] = () => i(re)(!0)),
|
|
302
|
+
onMouseleave: o[5] || (o[5] = () => i(re)(!1))
|
|
303
303
|
}, [
|
|
304
304
|
e.value.userOptions.buttons.annotator ? (s(), C(pt, {
|
|
305
305
|
key: 0,
|
|
@@ -308,21 +308,21 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
308
308
|
color: e.value.style.chart.color,
|
|
309
309
|
active: Y.value,
|
|
310
310
|
onClose: j
|
|
311
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
311
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
|
|
312
312
|
Se.value ? (s(), u("div", {
|
|
313
313
|
key: 1,
|
|
314
314
|
ref_key: "noTitle",
|
|
315
315
|
ref: le,
|
|
316
316
|
class: "vue-data-ui-no-title-space",
|
|
317
317
|
style: "height:36px; width: 100%;background:transparent"
|
|
318
|
-
}, null, 512)) :
|
|
318
|
+
}, null, 512)) : g("", !0),
|
|
319
319
|
e.value.style.chart.title.text ? (s(), u("div", {
|
|
320
320
|
key: 2,
|
|
321
321
|
ref_key: "chartTitle",
|
|
322
322
|
ref: ee,
|
|
323
323
|
style: "width:100%;background:transparent"
|
|
324
324
|
}, [
|
|
325
|
-
(s(), C(
|
|
325
|
+
(s(), C(rt, {
|
|
326
326
|
key: `title_${oe.value}`,
|
|
327
327
|
config: {
|
|
328
328
|
title: {
|
|
@@ -335,10 +335,10 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
}, null, 8, ["config"]))
|
|
338
|
-
], 512)) :
|
|
338
|
+
], 512)) : g("", !0),
|
|
339
339
|
e.value.userOptions.show && D.value && (i(ue) || i(G)) ? (s(), C(it, {
|
|
340
340
|
ref_key: "details",
|
|
341
|
-
ref:
|
|
341
|
+
ref: Ae,
|
|
342
342
|
key: `user_options${Z.value}`,
|
|
343
343
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
344
344
|
color: e.value.style.chart.color,
|
|
@@ -354,7 +354,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
354
354
|
isFullscreen: T.value,
|
|
355
355
|
isTooltip: m.value.showTooltip,
|
|
356
356
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
357
|
-
chartElement:
|
|
357
|
+
chartElement: A.value,
|
|
358
358
|
position: e.value.userOptions.position,
|
|
359
359
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
360
360
|
isAnnotation: Y.value,
|
|
@@ -369,63 +369,70 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
369
369
|
visibility: i(ue) ? i(G) ? "visible" : "hidden" : "visible"
|
|
370
370
|
})
|
|
371
371
|
}, Ee({ _: 2 }, [
|
|
372
|
+
t.$slots.menuIcon ? {
|
|
373
|
+
name: "menuIcon",
|
|
374
|
+
fn: f(({ isOpen: a, color: l }) => [
|
|
375
|
+
d(t.$slots, "menuIcon", _(P({ isOpen: a, color: l })), void 0, !0)
|
|
376
|
+
]),
|
|
377
|
+
key: "0"
|
|
378
|
+
} : void 0,
|
|
372
379
|
t.$slots.optionTooltip ? {
|
|
373
380
|
name: "optionTooltip",
|
|
374
|
-
fn:
|
|
375
|
-
|
|
381
|
+
fn: f(() => [
|
|
382
|
+
d(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
376
383
|
]),
|
|
377
|
-
key: "
|
|
384
|
+
key: "1"
|
|
378
385
|
} : void 0,
|
|
379
386
|
t.$slots.optionPdf ? {
|
|
380
387
|
name: "optionPdf",
|
|
381
|
-
fn:
|
|
382
|
-
|
|
388
|
+
fn: f(() => [
|
|
389
|
+
d(t.$slots, "optionPdf", {}, void 0, !0)
|
|
383
390
|
]),
|
|
384
|
-
key: "
|
|
391
|
+
key: "2"
|
|
385
392
|
} : void 0,
|
|
386
393
|
t.$slots.optionCsv ? {
|
|
387
394
|
name: "optionCsv",
|
|
388
|
-
fn:
|
|
389
|
-
|
|
395
|
+
fn: f(() => [
|
|
396
|
+
d(t.$slots, "optionCsv", {}, void 0, !0)
|
|
390
397
|
]),
|
|
391
|
-
key: "
|
|
398
|
+
key: "3"
|
|
392
399
|
} : void 0,
|
|
393
400
|
t.$slots.optionImg ? {
|
|
394
401
|
name: "optionImg",
|
|
395
|
-
fn:
|
|
396
|
-
|
|
402
|
+
fn: f(() => [
|
|
403
|
+
d(t.$slots, "optionImg", {}, void 0, !0)
|
|
397
404
|
]),
|
|
398
|
-
key: "
|
|
405
|
+
key: "4"
|
|
399
406
|
} : void 0,
|
|
400
407
|
t.$slots.optionTable ? {
|
|
401
408
|
name: "optionTable",
|
|
402
|
-
fn:
|
|
403
|
-
|
|
409
|
+
fn: f(() => [
|
|
410
|
+
d(t.$slots, "optionTable", {}, void 0, !0)
|
|
404
411
|
]),
|
|
405
|
-
key: "
|
|
412
|
+
key: "5"
|
|
406
413
|
} : void 0,
|
|
407
414
|
t.$slots.optionFullscreen ? {
|
|
408
415
|
name: "optionFullscreen",
|
|
409
|
-
fn:
|
|
410
|
-
|
|
416
|
+
fn: f(({ toggleFullscreen: a, isFullscreen: l }) => [
|
|
417
|
+
d(t.$slots, "optionFullscreen", _(P({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
|
|
411
418
|
]),
|
|
412
|
-
key: "
|
|
419
|
+
key: "6"
|
|
413
420
|
} : void 0,
|
|
414
421
|
t.$slots.optionAnnotator ? {
|
|
415
422
|
name: "optionAnnotator",
|
|
416
|
-
fn:
|
|
417
|
-
|
|
423
|
+
fn: f(({ toggleAnnotator: a, isAnnotator: l }) => [
|
|
424
|
+
d(t.$slots, "optionAnnotator", _(P({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
|
|
418
425
|
]),
|
|
419
|
-
key: "
|
|
426
|
+
key: "7"
|
|
420
427
|
} : void 0
|
|
421
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
428
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
422
429
|
D.value ? (s(), u("svg", {
|
|
423
430
|
key: 4,
|
|
424
431
|
ref_key: "svgRef",
|
|
425
432
|
ref: ie,
|
|
426
433
|
xmlns: i(tt),
|
|
427
434
|
class: U({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
|
|
428
|
-
viewBox: `0 0 ${
|
|
435
|
+
viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
|
|
429
436
|
style: B(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
430
437
|
}, [
|
|
431
438
|
$e(gt),
|
|
@@ -433,14 +440,14 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
433
440
|
key: 0,
|
|
434
441
|
x: 0,
|
|
435
442
|
y: 0,
|
|
436
|
-
width:
|
|
437
|
-
height:
|
|
443
|
+
width: n.value.width <= 0 ? 10 : n.value.width,
|
|
444
|
+
height: n.value.height <= 0 ? 10 : n.value.height,
|
|
438
445
|
style: {
|
|
439
446
|
pointerEvents: "none"
|
|
440
447
|
}
|
|
441
448
|
}, [
|
|
442
|
-
|
|
443
|
-
], 8, $t)) :
|
|
449
|
+
d(t.$slots, "chart-background", {}, void 0, !0)
|
|
450
|
+
], 8, $t)) : g("", !0),
|
|
444
451
|
(s(!0), u(M, null, N(b.value, (a, l) => (s(), u("circle", {
|
|
445
452
|
cx: c.value.centerX,
|
|
446
453
|
cy: c.value.centerY,
|
|
@@ -467,18 +474,18 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
467
474
|
"stroke-linecap": "round",
|
|
468
475
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
469
476
|
}, null, 10, xt))), 256)),
|
|
470
|
-
|
|
471
|
-
|
|
477
|
+
O("defs", null, [
|
|
478
|
+
O("filter", {
|
|
472
479
|
id: `blur_${x.value}`,
|
|
473
480
|
x: "-50%",
|
|
474
481
|
y: "-50%",
|
|
475
482
|
width: "200%",
|
|
476
483
|
height: "200%"
|
|
477
484
|
}, [
|
|
478
|
-
|
|
485
|
+
O("feGaussianBlur", {
|
|
479
486
|
in: "SourceGraphic",
|
|
480
487
|
stdDeviation: 100 / e.value.style.chart.gradientIntensity
|
|
481
|
-
}, null, 8,
|
|
488
|
+
}, null, 8, Ot)
|
|
482
489
|
], 8, Tt)
|
|
483
490
|
]),
|
|
484
491
|
e.value.style.chart.useGradient ? (s(), u("g", {
|
|
@@ -497,7 +504,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
497
504
|
"stroke-dashoffset": a.path.dashOffset,
|
|
498
505
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
499
506
|
}, null, 8, Pt))), 256))
|
|
500
|
-
], 8,
|
|
507
|
+
], 8, _t)) : g("", !0),
|
|
501
508
|
(s(!0), u(M, null, N(b.value, (a, l) => (s(), u("circle", {
|
|
502
509
|
cx: c.value.centerX,
|
|
503
510
|
cy: c.value.centerY,
|
|
@@ -518,8 +525,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
518
525
|
onMouseleave: o[0] || (o[0] = (p) => {
|
|
519
526
|
k.value = void 0, L.value = !1;
|
|
520
527
|
})
|
|
521
|
-
}, null, 40,
|
|
522
|
-
e.value.style.chart.layout.labels.show ? (s(), u("g",
|
|
528
|
+
}, null, 40, It))), 256)),
|
|
529
|
+
e.value.style.chart.layout.labels.show ? (s(), u("g", At, [
|
|
523
530
|
(s(!0), u(M, null, N(b.value, (a, l) => (s(), u("g", {
|
|
524
531
|
onMouseenter: (p) => me({
|
|
525
532
|
datapoint: a,
|
|
@@ -530,19 +537,19 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
530
537
|
k.value = void 0, L.value = !1;
|
|
531
538
|
})
|
|
532
539
|
}, [
|
|
533
|
-
y.value.includes(a.id) ?
|
|
540
|
+
y.value.includes(a.id) ? g("", !0) : (s(), u("text", {
|
|
534
541
|
key: 0,
|
|
535
|
-
x:
|
|
542
|
+
x: n.value.width / 2 - $.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
|
|
536
543
|
y: a.labelY + e.value.style.chart.layout.labels.offsetY,
|
|
537
544
|
"text-anchor": "end",
|
|
538
545
|
"font-size": e.value.style.chart.layout.labels.fontSize,
|
|
539
546
|
fill: e.value.useBlurOnHover && ![null, void 0].includes(k.value) && k.value === l ? a.color : e.value.style.chart.layout.labels.color,
|
|
540
547
|
"font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
|
|
541
|
-
},
|
|
548
|
+
}, I(a.name ? a.name + ": " : "") + " " + I(e.value.style.chart.layout.labels.percentage.show ? i(R)({
|
|
542
549
|
v: a.percentage,
|
|
543
550
|
s: "%",
|
|
544
551
|
r: e.value.style.chart.layout.labels.roundingPercentage
|
|
545
|
-
}) : "") + " " +
|
|
552
|
+
}) : "") + " " + I(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${i(Q)(
|
|
546
553
|
e.value.style.chart.layout.labels.value.formatter,
|
|
547
554
|
a.value,
|
|
548
555
|
i(R)({
|
|
@@ -564,13 +571,13 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
564
571
|
{ datapoint: a, seriesIndex: l }
|
|
565
572
|
)})` : ""}`), 9, Ft))
|
|
566
573
|
], 40, St))), 256))
|
|
567
|
-
])) :
|
|
568
|
-
|
|
569
|
-
], 14, wt)) :
|
|
574
|
+
])) : g("", !0),
|
|
575
|
+
d(t.$slots, "svg", { svg: n.value }, void 0, !0)
|
|
576
|
+
], 14, wt)) : g("", !0),
|
|
570
577
|
t.$slots.watermark ? (s(), u("div", Mt, [
|
|
571
|
-
|
|
572
|
-
])) :
|
|
573
|
-
D.value ?
|
|
578
|
+
d(t.$slots, "watermark", _(P({ isPrinting: i(de) || i(ve) })), void 0, !0)
|
|
579
|
+
])) : g("", !0),
|
|
580
|
+
D.value ? g("", !0) : (s(), C(ht, {
|
|
574
581
|
key: 6,
|
|
575
582
|
config: {
|
|
576
583
|
type: "onion",
|
|
@@ -582,27 +589,27 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
582
589
|
}
|
|
583
590
|
}
|
|
584
591
|
}, null, 8, ["config"])),
|
|
585
|
-
|
|
592
|
+
O("div", {
|
|
586
593
|
ref_key: "chartLegend",
|
|
587
594
|
ref: te
|
|
588
595
|
}, [
|
|
589
596
|
e.value.style.chart.legend.show ? (s(), C(ct, {
|
|
590
597
|
key: `legend_${se.value}`,
|
|
591
|
-
legendSet:
|
|
598
|
+
legendSet: v.value,
|
|
592
599
|
config: Le.value,
|
|
593
600
|
onClickMarker: o[2] || (o[2] = ({ legend: a }) => pe(a.id))
|
|
594
601
|
}, {
|
|
595
|
-
item:
|
|
596
|
-
|
|
602
|
+
item: f(({ legend: a }) => [
|
|
603
|
+
O("div", {
|
|
597
604
|
"data-cy-legend-item": "",
|
|
598
605
|
onClick: (l) => a.segregate(),
|
|
599
606
|
style: B(`opacity:${y.value.includes(a.id) ? 0.5 : 1}`)
|
|
600
|
-
},
|
|
607
|
+
}, I(a.name ? a.name + ": " : "") + " " + I((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, Nt)
|
|
601
608
|
]),
|
|
602
609
|
_: 1
|
|
603
|
-
}, 8, ["legendSet", "config"])) :
|
|
610
|
+
}, 8, ["legendSet", "config"])) : d(t.$slots, "legend", {
|
|
604
611
|
key: 1,
|
|
605
|
-
legend:
|
|
612
|
+
legend: v.value
|
|
606
613
|
}, void 0, !0)
|
|
607
614
|
], 512),
|
|
608
615
|
t.$slots.source ? (s(), u("div", {
|
|
@@ -611,8 +618,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
611
618
|
ref: ae,
|
|
612
619
|
dir: "auto"
|
|
613
620
|
}, [
|
|
614
|
-
|
|
615
|
-
], 512)) :
|
|
621
|
+
d(t.$slots, "source", {}, void 0, !0)
|
|
622
|
+
], 512)) : g("", !0),
|
|
616
623
|
$e(vt, {
|
|
617
624
|
show: m.value.showTooltip && L.value,
|
|
618
625
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
@@ -624,16 +631,16 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
624
631
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
625
632
|
position: e.value.style.chart.tooltip.position,
|
|
626
633
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
627
|
-
parent:
|
|
634
|
+
parent: A.value,
|
|
628
635
|
content: X.value,
|
|
629
636
|
isFullscreen: T.value,
|
|
630
637
|
isCustom: i(xe)(e.value.style.chart.tooltip.customFormat)
|
|
631
638
|
}, {
|
|
632
|
-
"tooltip-before":
|
|
633
|
-
|
|
639
|
+
"tooltip-before": f(() => [
|
|
640
|
+
d(t.$slots, "tooltip-before", _(P({ ...W.value })), void 0, !0)
|
|
634
641
|
]),
|
|
635
|
-
"tooltip-after":
|
|
636
|
-
|
|
642
|
+
"tooltip-after": f(() => [
|
|
643
|
+
d(t.$slots, "tooltip-after", _(P({ ...W.value })), void 0, !0)
|
|
637
644
|
]),
|
|
638
645
|
_: 3
|
|
639
646
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -653,9 +660,9 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
653
660
|
}
|
|
654
661
|
}
|
|
655
662
|
}, {
|
|
656
|
-
content:
|
|
663
|
+
content: f(() => [
|
|
657
664
|
(s(), C(dt, {
|
|
658
|
-
key: `table_${
|
|
665
|
+
key: `table_${ne.value}`,
|
|
659
666
|
colNames: z.value.colNames,
|
|
660
667
|
head: z.value.head,
|
|
661
668
|
body: z.value.body,
|
|
@@ -663,20 +670,20 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
663
670
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
664
671
|
onClose: o[3] || (o[3] = (a) => m.value.showTable = !1)
|
|
665
672
|
}, {
|
|
666
|
-
th:
|
|
667
|
-
He(
|
|
673
|
+
th: f(({ th: a }) => [
|
|
674
|
+
He(I(a), 1)
|
|
668
675
|
]),
|
|
669
|
-
td:
|
|
670
|
-
|
|
676
|
+
td: f(({ td: a }) => [
|
|
677
|
+
O("div", { innerHTML: a }, null, 8, Rt)
|
|
671
678
|
]),
|
|
672
679
|
_: 1
|
|
673
680
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
674
681
|
]),
|
|
675
682
|
_: 1
|
|
676
|
-
}, 8, ["config"])) :
|
|
683
|
+
}, 8, ["config"])) : g("", !0)
|
|
677
684
|
], 46, kt));
|
|
678
685
|
}
|
|
679
|
-
}, Zt = /* @__PURE__ */ bt(Dt, [["__scopeId", "data-v-
|
|
686
|
+
}, Zt = /* @__PURE__ */ bt(Dt, [["__scopeId", "data-v-209c752d"]]);
|
|
680
687
|
export {
|
|
681
688
|
Zt as default
|
|
682
689
|
};
|