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,21 +1,21 @@
|
|
|
1
|
-
import { useSlots as Ge, ref as i, computed as
|
|
2
|
-
import { u as Je, c as
|
|
1
|
+
import { useSlots as Ge, ref as i, computed as g, watch as He, onMounted as je, onBeforeUnmount as Xe, createElementBlock as v, openBlock as n, unref as r, normalizeStyle as I, normalizeClass as M, createBlock as O, createCommentVNode as m, createElementVNode as T, createVNode as J, createSlots as we, withCtx as h, renderSlot as d, normalizeProps as A, guardReactiveProps as F, Fragment as K, renderList as Q, mergeProps as qe, createTextVNode as Te, toDisplayString as E, nextTick as Ye } from "vue";
|
|
2
|
+
import { u as Je, c as _e, t as Ke, p as N, a as Qe, o as Ze, e as Z, g as et, b as tt, J as lt, d as xe, f as P, X as ot, s as at, w as st, v as G, i as Ie, q as nt, r as ut, x as rt, y as it } from "./index-Cq7-va_5.js";
|
|
3
3
|
import { t as vt, u as ct } from "./useResponsive-BWapHhVH.js";
|
|
4
|
-
import { _ as dt } from "./Title-
|
|
5
|
-
import { u as pt, U as ht } from "./usePrinter-
|
|
6
|
-
import { _ as gt } from "./Tooltip-
|
|
7
|
-
import { D as ft } from "./DataTable-
|
|
8
|
-
import { L as yt } from "./Legend-
|
|
9
|
-
import mt from "./vue-ui-skeleton-
|
|
10
|
-
import bt from "./vue-ui-accordion-
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as kt } from "./PackageVersion-
|
|
13
|
-
import { P as Ct } from "./PenAndPaper-
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
import { u as
|
|
17
|
-
import { _ as
|
|
18
|
-
const xt = ["id"],
|
|
4
|
+
import { _ as dt } from "./Title-CUHNtIyE.js";
|
|
5
|
+
import { u as pt, U as ht } from "./usePrinter-jRjc8Naz.js";
|
|
6
|
+
import { _ as gt } from "./Tooltip-BuAQ8HVL.js";
|
|
7
|
+
import { D as ft } from "./DataTable-CMUyDj6S.js";
|
|
8
|
+
import { L as yt } from "./Legend-CaMKYW-V.js";
|
|
9
|
+
import mt from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
10
|
+
import bt from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
11
|
+
import { u as Oe } from "./useNestedProp-BEyJNlaO.js";
|
|
12
|
+
import { _ as kt } from "./PackageVersion-CURzw4q1.js";
|
|
13
|
+
import { P as Ct } from "./PenAndPaper-CjiJra09.js";
|
|
14
|
+
import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as wt } from "./Shape-F5v4f45p.js";
|
|
16
|
+
import { u as Tt } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
+
import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
const xt = ["id"], It = ["xmlns", "viewBox"], Ot = ["width", "height"], Nt = ["id"], Pt = ["stop-color"], St = ["stop-color"], At = { key: 1 }, Ft = ["stroke", "cx", "cy", "r", "fill"], Lt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Rt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Mt = ["cx", "cy", "r", "onMouseenter"], Vt = {
|
|
19
19
|
key: 5,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
21
|
}, zt = ["onClick"], Ut = { key: 0 }, Wt = { key: 1 }, Bt = ["innerHTML"], Dt = {
|
|
@@ -35,22 +35,22 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
emits: ["selectLegend"],
|
|
38
|
-
setup(
|
|
39
|
-
const { vue_ui_rings: Ae } = Je(), Fe = Ge(), b =
|
|
38
|
+
setup(Ne, { expose: Pe, emit: Se }) {
|
|
39
|
+
const { vue_ui_rings: Ae } = Je(), Fe = Ge(), b = Ne, x = i(!1), V = g(() => !!b.dataset && b.dataset.length), $ = i(_e()), Le = i(null), z = i(!1), H = i(""), w = i(null), ee = i(0), L = i(null), te = i(null), le = i(null), oe = i(null), ae = i(null), se = i(0), ne = i(0), ue = i(0), e = g({
|
|
40
40
|
get: () => ce(),
|
|
41
41
|
set: (t) => t
|
|
42
|
-
}), { userOptionsVisible: j, setUserOptionsVisibility: re, keepUserOptionState: ie } =
|
|
42
|
+
}), { userOptionsVisible: j, setUserOptionsVisibility: re, keepUserOptionState: ie } = $t({ config: e.value }), { svgRef: ve } = Tt({ config: e.value.style.chart.title });
|
|
43
43
|
function ce() {
|
|
44
|
-
const t =
|
|
44
|
+
const t = Oe({
|
|
45
45
|
userConfig: b.config,
|
|
46
46
|
defaultConfig: Ae
|
|
47
47
|
});
|
|
48
48
|
return t.theme ? {
|
|
49
|
-
...
|
|
49
|
+
...Oe({
|
|
50
50
|
userConfig: Qe.vue_ui_rings[t.theme] || b.config,
|
|
51
51
|
defaultConfig: t
|
|
52
52
|
}),
|
|
53
|
-
customPalette: Ke[t.theme] ||
|
|
53
|
+
customPalette: Ke[t.theme] || N
|
|
54
54
|
} : t;
|
|
55
55
|
}
|
|
56
56
|
He(() => b.config, (t) => {
|
|
@@ -82,7 +82,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
82
82
|
}), e.value.responsive) {
|
|
83
83
|
const t = vt(() => {
|
|
84
84
|
const { width: o, height: l } = ct({
|
|
85
|
-
chart:
|
|
85
|
+
chart: L.value,
|
|
86
86
|
title: e.value.style.chart.title.text ? te.value : null,
|
|
87
87
|
legend: e.value.style.chart.legend.show ? le.value : null,
|
|
88
88
|
source: oe.value,
|
|
@@ -92,7 +92,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
92
92
|
s.value.width = o, s.value.height = l;
|
|
93
93
|
});
|
|
94
94
|
});
|
|
95
|
-
U.value = new ResizeObserver(t), U.value.observe(
|
|
95
|
+
U.value = new ResizeObserver(t), U.value.observe(L.value.parentNode);
|
|
96
96
|
}
|
|
97
97
|
setTimeout(() => {
|
|
98
98
|
x.value = !0;
|
|
@@ -102,63 +102,63 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
102
102
|
U.value && U.value.disconnect();
|
|
103
103
|
});
|
|
104
104
|
const { isPrinting: pe, isImaging: he, generatePdf: ge, generateImage: fe } = pt({
|
|
105
|
-
elementId: `rings_${
|
|
105
|
+
elementId: `rings_${$.value}`,
|
|
106
106
|
fileName: e.value.style.chart.title.text || "vue-ui-rings"
|
|
107
|
-
}), Re =
|
|
107
|
+
}), Re = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), ye = g(() => tt(e.value.customPalette)), k = i({
|
|
108
108
|
showTable: e.value.table.show,
|
|
109
109
|
showTooltip: e.value.style.chart.tooltip.show
|
|
110
110
|
}), s = i({
|
|
111
111
|
height: 360,
|
|
112
112
|
width: 360
|
|
113
|
-
}), Me =
|
|
113
|
+
}), Me = g(() => Math.min(s.value.height, s.value.width)), Ve = Se, f = i([]);
|
|
114
114
|
function X(t) {
|
|
115
|
-
f.value.includes(t) ? f.value = f.value.filter((o) => o !== t) : f.value.push(t), Ve("selectLegend",
|
|
115
|
+
f.value.includes(t) ? f.value = f.value.filter((o) => o !== t) : f.value.push(t), Ve("selectLegend", p.value.map((o) => ({
|
|
116
116
|
name: o.name,
|
|
117
117
|
color: o.color,
|
|
118
118
|
value: o.value
|
|
119
119
|
})));
|
|
120
120
|
}
|
|
121
|
-
const ze =
|
|
121
|
+
const ze = g(() => Math.max(
|
|
122
122
|
...W.value.filter((t) => !f.value.includes(t.uid)).map(({ value: t }) => t)
|
|
123
123
|
));
|
|
124
124
|
function me(t) {
|
|
125
125
|
return t / ze.value;
|
|
126
126
|
}
|
|
127
|
-
const W =
|
|
128
|
-
const u = lt(t).reduce((y,
|
|
127
|
+
const W = g(() => b.dataset.map(({ values: t, name: o, color: l = null }, a) => {
|
|
128
|
+
const u = lt(t).reduce((y, R) => y + R, 0);
|
|
129
129
|
return {
|
|
130
130
|
name: o,
|
|
131
|
-
color: l || xe(l) || ye.value[a] ||
|
|
131
|
+
color: l || xe(l) || ye.value[a] || N[a] || N[a % N.length],
|
|
132
132
|
value: u,
|
|
133
|
-
proportion: u / b.dataset.map((y) => (y.values || []).reduce((
|
|
134
|
-
uid:
|
|
133
|
+
proportion: u / b.dataset.map((y) => (y.values || []).reduce((R, Ee) => R + Ee, 0)).reduce((y, R) => y + R, 0),
|
|
134
|
+
uid: _e(),
|
|
135
135
|
absoluteIndex: a
|
|
136
136
|
};
|
|
137
|
-
})), be =
|
|
137
|
+
})), be = g(() => W.value.map((t) => ({
|
|
138
138
|
...t,
|
|
139
139
|
shape: "circle",
|
|
140
140
|
opacity: f.value.includes(t.uid) ? 0.5 : 1,
|
|
141
141
|
segregate: () => X(t.uid),
|
|
142
142
|
isSegregated: f.value.includes(t.uid)
|
|
143
|
-
})).toSorted((t, o) => o.value - t.value)), Ue =
|
|
143
|
+
})).toSorted((t, o) => o.value - t.value)), Ue = g(() => ({
|
|
144
144
|
cy: "rings-div-legend",
|
|
145
145
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
146
146
|
color: e.value.style.chart.legend.color,
|
|
147
147
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
148
148
|
paddingBottom: 12,
|
|
149
149
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
150
|
-
})), C =
|
|
150
|
+
})), C = g(() => W.value.filter((t) => !f.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), p = g(() => W.value.filter((t) => !f.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a, absoluteIndex: u }, y) => ({
|
|
151
151
|
absoluteIndex: u,
|
|
152
152
|
uid: a,
|
|
153
153
|
name: t,
|
|
154
|
-
color: l || xe(l) || ye.value[y] ||
|
|
154
|
+
color: l || xe(l) || ye.value[y] || N[y] || N[y % N.length],
|
|
155
155
|
value: o,
|
|
156
156
|
proportion: me(o),
|
|
157
157
|
percentage: o / C.value * 100,
|
|
158
158
|
strokeWidth: e.value.style.chart.layout.rings.strokeWidth * me(o)
|
|
159
159
|
})).toSorted((t, o) => o.value - t.value));
|
|
160
160
|
function We() {
|
|
161
|
-
return
|
|
161
|
+
return p.value.map(
|
|
162
162
|
({ name: t, color: o, value: l, absoluteValues: a, percentage: u }) => ({
|
|
163
163
|
name: t,
|
|
164
164
|
color: o,
|
|
@@ -168,34 +168,34 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
168
168
|
})
|
|
169
169
|
);
|
|
170
170
|
}
|
|
171
|
-
const c =
|
|
171
|
+
const c = g(() => Me.value - e.value.style.chart.layout.rings.strokeWidth * 2), q = i(null);
|
|
172
172
|
function Be(t, o) {
|
|
173
173
|
if (f.value.length === b.dataset.length) return;
|
|
174
174
|
q.value = {
|
|
175
175
|
datapoint: o,
|
|
176
176
|
seriesIndex: t,
|
|
177
|
-
series:
|
|
177
|
+
series: p.value,
|
|
178
178
|
config: e.value
|
|
179
|
-
},
|
|
180
|
-
const l =
|
|
179
|
+
}, w.value = t;
|
|
180
|
+
const l = p.value[t], a = e.value.style.chart.tooltip.customFormat;
|
|
181
181
|
if (rt(a) && it(() => a({
|
|
182
182
|
seriesIndex: t,
|
|
183
183
|
datapoint: o,
|
|
184
|
-
series:
|
|
184
|
+
series: p.value,
|
|
185
185
|
config: e.value
|
|
186
186
|
})))
|
|
187
187
|
H.value = a({
|
|
188
188
|
seriesIndex: t,
|
|
189
189
|
datapoint: o,
|
|
190
|
-
series:
|
|
190
|
+
series: p.value,
|
|
191
191
|
config: e.value
|
|
192
192
|
});
|
|
193
193
|
else {
|
|
194
194
|
let u = "";
|
|
195
|
-
u += `<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>`, u += `<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}" />${Fe.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${
|
|
195
|
+
u += `<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>`, u += `<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}" />${Fe.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${$.value}_${o.absoluteIndex})" />` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (u += `<b>${Ie(
|
|
196
196
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
197
197
|
l.value,
|
|
198
|
-
|
|
198
|
+
P({
|
|
199
199
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
200
200
|
v: l.value,
|
|
201
201
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -203,11 +203,11 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
203
203
|
}),
|
|
204
204
|
{ datapoint: o, seriesIndex: t }
|
|
205
205
|
)}
|
|
206
|
-
</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${
|
|
206
|
+
</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${P({
|
|
207
207
|
v: l.value / C.value * 100,
|
|
208
208
|
s: "%",
|
|
209
209
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
210
|
-
})})</span></div>` : u += `<b>${
|
|
210
|
+
})})</span></div>` : u += `<b>${P({
|
|
211
211
|
v: l.value / C.value * 100,
|
|
212
212
|
s: "%",
|
|
213
213
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
@@ -215,24 +215,24 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
215
215
|
}
|
|
216
216
|
z.value = !0;
|
|
217
217
|
}
|
|
218
|
-
const
|
|
219
|
-
const t =
|
|
218
|
+
const _ = g(() => {
|
|
219
|
+
const t = p.value.map((l) => ({
|
|
220
220
|
name: l.name,
|
|
221
221
|
color: l.color
|
|
222
|
-
})), o =
|
|
222
|
+
})), o = p.value.map((l) => l.value);
|
|
223
223
|
return { head: t, body: o };
|
|
224
|
-
}), B =
|
|
224
|
+
}), B = g(() => {
|
|
225
225
|
const t = [
|
|
226
226
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
227
|
-
|
|
227
|
+
P({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: C.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
228
228
|
"100%"
|
|
229
|
-
], o =
|
|
229
|
+
], o = _.value.head.map((u, y) => [
|
|
230
230
|
{
|
|
231
231
|
color: u.color,
|
|
232
232
|
name: u.name
|
|
233
233
|
},
|
|
234
|
-
|
|
235
|
-
isNaN(
|
|
234
|
+
P({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: _.value.body[y], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
235
|
+
isNaN(_.value.body[y] / C.value) ? "-" : (_.value.body[y] / C.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
|
|
236
236
|
]), l = {
|
|
237
237
|
th: {
|
|
238
238
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -259,9 +259,9 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
259
259
|
});
|
|
260
260
|
function ke() {
|
|
261
261
|
Ye(() => {
|
|
262
|
-
const t =
|
|
262
|
+
const t = _.value.head.map((a, u) => [[
|
|
263
263
|
a.name
|
|
264
|
-
], [
|
|
264
|
+
], [_.value.body[u]], [isNaN(_.value.body[u] / C.value) ? "-" : _.value.body[u] / C.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = nt(o);
|
|
265
265
|
ut({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-rings" });
|
|
266
266
|
});
|
|
267
267
|
}
|
|
@@ -272,33 +272,33 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
272
272
|
function Ce() {
|
|
273
273
|
k.value.showTable = !k.value.showTable;
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function $e() {
|
|
276
276
|
k.value.showTooltip = !k.value.showTooltip;
|
|
277
277
|
}
|
|
278
278
|
const D = i(!1);
|
|
279
279
|
function Y() {
|
|
280
280
|
D.value = !D.value;
|
|
281
281
|
}
|
|
282
|
-
return
|
|
282
|
+
return Pe({
|
|
283
283
|
getData: We,
|
|
284
284
|
generatePdf: ge,
|
|
285
285
|
generateCsv: ke,
|
|
286
286
|
generateImage: fe,
|
|
287
287
|
toggleTable: Ce,
|
|
288
|
-
toggleTooltip:
|
|
288
|
+
toggleTooltip: $e,
|
|
289
289
|
toggleAnnotator: Y
|
|
290
290
|
}), (t, o) => (n(), v("div", {
|
|
291
291
|
ref_key: "ringsChart",
|
|
292
|
-
ref:
|
|
293
|
-
class:
|
|
294
|
-
style:
|
|
295
|
-
id: `rings_${
|
|
292
|
+
ref: L,
|
|
293
|
+
class: M(`vue-ui-rings ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
294
|
+
style: I(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
295
|
+
id: `rings_${$.value}`,
|
|
296
296
|
onMouseleave: o[3] || (o[3] = (l) => {
|
|
297
|
-
|
|
297
|
+
w.value = null, z.value = !1, r(re)(!1);
|
|
298
298
|
}),
|
|
299
299
|
onMouseenter: o[4] || (o[4] = () => r(re)(!0))
|
|
300
300
|
}, [
|
|
301
|
-
e.value.userOptions.buttons.annotator ? (n(),
|
|
301
|
+
e.value.userOptions.buttons.annotator ? (n(), O(Ct, {
|
|
302
302
|
key: 0,
|
|
303
303
|
svgRef: r(ve),
|
|
304
304
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -319,7 +319,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
319
319
|
ref: te,
|
|
320
320
|
style: "width:100%;background:transparent"
|
|
321
321
|
}, [
|
|
322
|
-
(n(),
|
|
322
|
+
(n(), O(dt, {
|
|
323
323
|
key: `title_${se.value}`,
|
|
324
324
|
config: {
|
|
325
325
|
title: {
|
|
@@ -333,7 +333,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
333
333
|
}
|
|
334
334
|
}, null, 8, ["config"]))
|
|
335
335
|
], 512)) : m("", !0),
|
|
336
|
-
e.value.userOptions.show && V.value && (r(ie) || r(j)) ? (n(),
|
|
336
|
+
e.value.userOptions.show && V.value && (r(ie) || r(j)) ? (n(), O(ht, {
|
|
337
337
|
ref_key: "details",
|
|
338
338
|
ref: Le,
|
|
339
339
|
key: `user_options_${ee.value}`,
|
|
@@ -341,7 +341,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
341
341
|
color: e.value.style.chart.color,
|
|
342
342
|
isPrinting: r(pe),
|
|
343
343
|
isImaging: r(he),
|
|
344
|
-
uid:
|
|
344
|
+
uid: $.value,
|
|
345
345
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
346
346
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
347
347
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -351,7 +351,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
351
351
|
isTooltip: k.value.showTooltip,
|
|
352
352
|
isFullscreen: S.value,
|
|
353
353
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
354
|
-
chartElement:
|
|
354
|
+
chartElement: L.value,
|
|
355
355
|
position: e.value.userOptions.position,
|
|
356
356
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
357
357
|
isAnnotation: D.value,
|
|
@@ -360,60 +360,67 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
360
360
|
onGenerateCsv: ke,
|
|
361
361
|
onGenerateImage: r(fe),
|
|
362
362
|
onToggleTable: Ce,
|
|
363
|
-
onToggleTooltip:
|
|
363
|
+
onToggleTooltip: $e,
|
|
364
364
|
onToggleAnnotator: Y,
|
|
365
|
-
style:
|
|
365
|
+
style: I({
|
|
366
366
|
visibility: r(ie) ? r(j) ? "visible" : "hidden" : "visible"
|
|
367
367
|
})
|
|
368
|
-
},
|
|
368
|
+
}, we({ _: 2 }, [
|
|
369
|
+
t.$slots.menuIcon ? {
|
|
370
|
+
name: "menuIcon",
|
|
371
|
+
fn: h(({ isOpen: l, color: a }) => [
|
|
372
|
+
d(t.$slots, "menuIcon", A(F({ isOpen: l, color: a })), void 0, !0)
|
|
373
|
+
]),
|
|
374
|
+
key: "0"
|
|
375
|
+
} : void 0,
|
|
369
376
|
t.$slots.optionTooltip ? {
|
|
370
377
|
name: "optionTooltip",
|
|
371
|
-
fn:
|
|
372
|
-
|
|
378
|
+
fn: h(() => [
|
|
379
|
+
d(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
373
380
|
]),
|
|
374
|
-
key: "
|
|
381
|
+
key: "1"
|
|
375
382
|
} : void 0,
|
|
376
383
|
t.$slots.optionPdf ? {
|
|
377
384
|
name: "optionPdf",
|
|
378
|
-
fn:
|
|
379
|
-
|
|
385
|
+
fn: h(() => [
|
|
386
|
+
d(t.$slots, "optionPdf", {}, void 0, !0)
|
|
380
387
|
]),
|
|
381
|
-
key: "
|
|
388
|
+
key: "2"
|
|
382
389
|
} : void 0,
|
|
383
390
|
t.$slots.optionCsv ? {
|
|
384
391
|
name: "optionCsv",
|
|
385
|
-
fn:
|
|
386
|
-
|
|
392
|
+
fn: h(() => [
|
|
393
|
+
d(t.$slots, "optionCsv", {}, void 0, !0)
|
|
387
394
|
]),
|
|
388
|
-
key: "
|
|
395
|
+
key: "3"
|
|
389
396
|
} : void 0,
|
|
390
397
|
t.$slots.optionImg ? {
|
|
391
398
|
name: "optionImg",
|
|
392
|
-
fn:
|
|
393
|
-
|
|
399
|
+
fn: h(() => [
|
|
400
|
+
d(t.$slots, "optionImg", {}, void 0, !0)
|
|
394
401
|
]),
|
|
395
|
-
key: "
|
|
402
|
+
key: "4"
|
|
396
403
|
} : void 0,
|
|
397
404
|
t.$slots.optionTable ? {
|
|
398
405
|
name: "optionTable",
|
|
399
|
-
fn:
|
|
400
|
-
|
|
406
|
+
fn: h(() => [
|
|
407
|
+
d(t.$slots, "optionTable", {}, void 0, !0)
|
|
401
408
|
]),
|
|
402
|
-
key: "
|
|
409
|
+
key: "5"
|
|
403
410
|
} : void 0,
|
|
404
411
|
t.$slots.optionFullscreen ? {
|
|
405
412
|
name: "optionFullscreen",
|
|
406
|
-
fn:
|
|
407
|
-
|
|
413
|
+
fn: h(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
414
|
+
d(t.$slots, "optionFullscreen", A(F({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
408
415
|
]),
|
|
409
|
-
key: "
|
|
416
|
+
key: "6"
|
|
410
417
|
} : void 0,
|
|
411
418
|
t.$slots.optionAnnotator ? {
|
|
412
419
|
name: "optionAnnotator",
|
|
413
|
-
fn:
|
|
414
|
-
|
|
420
|
+
fn: h(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
421
|
+
d(t.$slots, "optionAnnotator", A(F({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
415
422
|
]),
|
|
416
|
-
key: "
|
|
423
|
+
key: "7"
|
|
417
424
|
} : void 0
|
|
418
425
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
|
|
419
426
|
V.value ? (n(), v("svg", {
|
|
@@ -421,9 +428,9 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
421
428
|
ref_key: "svgRef",
|
|
422
429
|
ref: ve,
|
|
423
430
|
xmlns: r(ot),
|
|
424
|
-
class:
|
|
431
|
+
class: M({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
425
432
|
viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
|
|
426
|
-
style:
|
|
433
|
+
style: I(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
427
434
|
}, [
|
|
428
435
|
J(kt),
|
|
429
436
|
t.$slots["chart-background"] ? (n(), v("foreignObject", {
|
|
@@ -436,95 +443,95 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
436
443
|
pointerEvents: "none"
|
|
437
444
|
}
|
|
438
445
|
}, [
|
|
439
|
-
|
|
440
|
-
], 8,
|
|
441
|
-
|
|
442
|
-
(n(!0), v(K, null, Q(
|
|
446
|
+
d(t.$slots, "chart-background", {}, void 0, !0)
|
|
447
|
+
], 8, Ot)) : m("", !0),
|
|
448
|
+
T("defs", null, [
|
|
449
|
+
(n(!0), v(K, null, Q(p.value, (l, a) => (n(), v("radialGradient", {
|
|
443
450
|
cx: "50%",
|
|
444
451
|
cy: "30%",
|
|
445
452
|
r: "50%",
|
|
446
453
|
fx: "50%",
|
|
447
454
|
fy: "50%",
|
|
448
|
-
id: `gradient_${
|
|
455
|
+
id: `gradient_${$.value}_${a}`
|
|
449
456
|
}, [
|
|
450
|
-
|
|
457
|
+
T("stop", {
|
|
451
458
|
offset: "0%",
|
|
452
459
|
"stop-color": r(at)(r(st)(l.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
|
|
453
|
-
}, null, 8,
|
|
454
|
-
|
|
460
|
+
}, null, 8, Pt),
|
|
461
|
+
T("stop", {
|
|
455
462
|
offset: "100%",
|
|
456
463
|
"stop-color": l.color
|
|
457
464
|
}, null, 8, St)
|
|
458
|
-
], 8,
|
|
465
|
+
], 8, Nt))), 256))
|
|
459
466
|
]),
|
|
460
467
|
t.$slots.pattern ? (n(), v("g", At, [
|
|
461
|
-
(n(!0), v(K, null, Q(
|
|
462
|
-
|
|
468
|
+
(n(!0), v(K, null, Q(p.value, (l) => (n(), v("defs", null, [
|
|
469
|
+
d(t.$slots, "pattern", qe({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${$.value}_${l.absoluteIndex}` }), void 0, !0)
|
|
463
470
|
]))), 256))
|
|
464
471
|
])) : m("", !0),
|
|
465
|
-
(n(!0), v(K, null, Q(
|
|
466
|
-
|
|
467
|
-
class:
|
|
472
|
+
(n(!0), v(K, null, Q(p.value, (l, a) => (n(), v("g", null, [
|
|
473
|
+
T("circle", {
|
|
474
|
+
class: M({
|
|
468
475
|
"vue-ui-rings-item": x.value && e.value.useCssAnimation,
|
|
469
476
|
"vue-rings-item-onload": !x.value && e.value.useCssAnimation,
|
|
470
|
-
"vue-ui-rings-opacity":
|
|
477
|
+
"vue-ui-rings-opacity": w.value !== null && w.value !== a
|
|
471
478
|
}),
|
|
472
|
-
style:
|
|
479
|
+
style: I(`animation-delay:${a * 100}ms`),
|
|
473
480
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
474
481
|
cx: s.value.width / 2,
|
|
475
|
-
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value *
|
|
482
|
+
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
476
483
|
r: r(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
477
484
|
fill: e.value.style.chart.layout.rings.gradient.underlayerColor
|
|
478
485
|
}, null, 14, Ft),
|
|
479
|
-
|
|
480
|
-
class:
|
|
486
|
+
T("circle", {
|
|
487
|
+
class: M({
|
|
481
488
|
"vue-ui-rings-item": x.value && e.value.useCssAnimation,
|
|
482
489
|
"vue-rings-item-onload": !x.value && e.value.useCssAnimation,
|
|
483
490
|
"vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
|
|
484
|
-
"vue-ui-rings-blur":
|
|
491
|
+
"vue-ui-rings-blur": w.value !== null && w.value !== a
|
|
485
492
|
}),
|
|
486
|
-
style:
|
|
493
|
+
style: I(`animation-delay:${a * 100}ms`),
|
|
487
494
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
488
495
|
"stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
|
|
489
496
|
cx: s.value.width / 2,
|
|
490
|
-
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value *
|
|
497
|
+
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
491
498
|
r: r(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
492
|
-
fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${
|
|
499
|
+
fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${$.value}_${a})` : l.color
|
|
493
500
|
}, null, 14, Lt),
|
|
494
501
|
t.$slots.pattern ? (n(), v("circle", {
|
|
495
502
|
key: 0,
|
|
496
|
-
class:
|
|
503
|
+
class: M({
|
|
497
504
|
"vue-ui-rings-item": x.value && e.value.useCssAnimation,
|
|
498
505
|
"vue-rings-item-onload": !x.value && e.value.useCssAnimation,
|
|
499
506
|
"vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
|
|
500
|
-
"vue-ui-rings-blur":
|
|
507
|
+
"vue-ui-rings-blur": w.value !== null && w.value !== a
|
|
501
508
|
}),
|
|
502
|
-
style:
|
|
509
|
+
style: I(`animation-delay:${a * 100}ms`),
|
|
503
510
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
504
511
|
"stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
|
|
505
512
|
cx: s.value.width / 2,
|
|
506
|
-
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value *
|
|
513
|
+
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
507
514
|
r: r(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
508
|
-
fill: `url(#pattern_${
|
|
515
|
+
fill: `url(#pattern_${$.value}_${l.absoluteIndex})`
|
|
509
516
|
}, null, 14, Rt)) : m("", !0),
|
|
510
|
-
|
|
517
|
+
T("circle", {
|
|
511
518
|
stroke: "none",
|
|
512
519
|
cx: s.value.width / 2,
|
|
513
|
-
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value *
|
|
520
|
+
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
514
521
|
r: r(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
515
522
|
fill: "transparent",
|
|
516
523
|
onMouseenter: (u) => Be(a, l),
|
|
517
524
|
onMouseleave: o[0] || (o[0] = (u) => {
|
|
518
|
-
|
|
525
|
+
w.value = null, z.value = !1;
|
|
519
526
|
})
|
|
520
527
|
}, null, 40, Mt)
|
|
521
528
|
]))), 256)),
|
|
522
|
-
|
|
523
|
-
], 14,
|
|
529
|
+
d(t.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
530
|
+
], 14, It)) : m("", !0),
|
|
524
531
|
t.$slots.watermark ? (n(), v("div", Vt, [
|
|
525
|
-
|
|
532
|
+
d(t.$slots, "watermark", A(F({ isPrinting: r(pe) || r(he) })), void 0, !0)
|
|
526
533
|
])) : m("", !0),
|
|
527
|
-
V.value ? m("", !0) : (n(),
|
|
534
|
+
V.value ? m("", !0) : (n(), O(mt, {
|
|
528
535
|
key: 6,
|
|
529
536
|
config: {
|
|
530
537
|
type: "rings",
|
|
@@ -536,25 +543,25 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
536
543
|
}
|
|
537
544
|
}
|
|
538
545
|
}, null, 8, ["config"])),
|
|
539
|
-
|
|
546
|
+
T("div", {
|
|
540
547
|
ref_key: "chartLegend",
|
|
541
548
|
ref: le
|
|
542
549
|
}, [
|
|
543
|
-
e.value.style.chart.legend.show ? (n(),
|
|
550
|
+
e.value.style.chart.legend.show ? (n(), O(yt, {
|
|
544
551
|
key: `legend_${ue.value}`,
|
|
545
552
|
legendSet: be.value,
|
|
546
553
|
config: Ue.value,
|
|
547
554
|
onClickMarker: o[1] || (o[1] = ({ legend: l }) => X(l.uid))
|
|
548
|
-
},
|
|
549
|
-
item:
|
|
550
|
-
|
|
555
|
+
}, we({
|
|
556
|
+
item: h(({ legend: l, index: a }) => [
|
|
557
|
+
T("div", {
|
|
551
558
|
onClick: (u) => X(l.uid),
|
|
552
|
-
style:
|
|
559
|
+
style: I(`opacity:${f.value.includes(l.uid) ? 0.5 : 1}`)
|
|
553
560
|
}, [
|
|
554
|
-
|
|
561
|
+
Te(E(l.name) + ": " + E(r(Ie)(
|
|
555
562
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
556
563
|
l.value,
|
|
557
|
-
r(
|
|
564
|
+
r(P)({
|
|
558
565
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
559
566
|
v: l.value,
|
|
560
567
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -562,7 +569,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
562
569
|
}),
|
|
563
570
|
{ datapoint: l, seriesIndex: a }
|
|
564
571
|
)) + " ", 1),
|
|
565
|
-
f.value.includes(l.uid) ? (n(), v("span", Wt, " ( - % ) ")) : (n(), v("span", Ut, " (" + E(isNaN(l.value / C.value) ? "-" : r(
|
|
572
|
+
f.value.includes(l.uid) ? (n(), v("span", Wt, " ( - % ) ")) : (n(), v("span", Ut, " (" + E(isNaN(l.value / C.value) ? "-" : r(P)({
|
|
566
573
|
v: l.value / C.value * 100,
|
|
567
574
|
s: "%",
|
|
568
575
|
r: e.value.style.chart.legend.roundingPercentage
|
|
@@ -573,18 +580,18 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
573
580
|
}, [
|
|
574
581
|
t.$slots.pattern ? {
|
|
575
582
|
name: "legend-pattern",
|
|
576
|
-
fn:
|
|
577
|
-
J(
|
|
583
|
+
fn: h(({ legend: l, index: a }) => [
|
|
584
|
+
J(wt, {
|
|
578
585
|
shape: l.shape,
|
|
579
586
|
radius: 30,
|
|
580
587
|
stroke: "none",
|
|
581
588
|
plot: { x: 30, y: 30 },
|
|
582
|
-
fill: `url(#pattern_${
|
|
589
|
+
fill: `url(#pattern_${$.value}_${a})`
|
|
583
590
|
}, null, 8, ["shape", "fill"])
|
|
584
591
|
]),
|
|
585
592
|
key: "0"
|
|
586
593
|
} : void 0
|
|
587
|
-
]), 1032, ["legendSet", "config"])) :
|
|
594
|
+
]), 1032, ["legendSet", "config"])) : d(t.$slots, "legend", {
|
|
588
595
|
key: 1,
|
|
589
596
|
legend: be.value
|
|
590
597
|
}, void 0, !0)
|
|
@@ -595,7 +602,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
595
602
|
ref: oe,
|
|
596
603
|
dir: "auto"
|
|
597
604
|
}, [
|
|
598
|
-
|
|
605
|
+
d(t.$slots, "source", {}, void 0, !0)
|
|
599
606
|
], 512)) : m("", !0),
|
|
600
607
|
J(gt, {
|
|
601
608
|
show: k.value.showTooltip && z.value && f.value.length < b.dataset.length,
|
|
@@ -608,20 +615,20 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
608
615
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
609
616
|
position: e.value.style.chart.tooltip.position,
|
|
610
617
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
611
|
-
parent:
|
|
618
|
+
parent: L.value,
|
|
612
619
|
content: H.value,
|
|
613
620
|
isFullscreen: S.value,
|
|
614
621
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
615
622
|
}, {
|
|
616
|
-
"tooltip-before":
|
|
617
|
-
|
|
623
|
+
"tooltip-before": h(() => [
|
|
624
|
+
d(t.$slots, "tooltip-before", A(F({ ...q.value })), void 0, !0)
|
|
618
625
|
]),
|
|
619
|
-
"tooltip-after":
|
|
620
|
-
|
|
626
|
+
"tooltip-after": h(() => [
|
|
627
|
+
d(t.$slots, "tooltip-after", A(F({ ...q.value })), void 0, !0)
|
|
621
628
|
]),
|
|
622
629
|
_: 3
|
|
623
630
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
624
|
-
V.value ? (n(),
|
|
631
|
+
V.value ? (n(), O(bt, {
|
|
625
632
|
key: 8,
|
|
626
633
|
hideDetails: "",
|
|
627
634
|
config: {
|
|
@@ -637,8 +644,8 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
637
644
|
}
|
|
638
645
|
}
|
|
639
646
|
}, {
|
|
640
|
-
content:
|
|
641
|
-
(n(),
|
|
647
|
+
content: h(() => [
|
|
648
|
+
(n(), O(ft, {
|
|
642
649
|
key: `table_${ne.value}`,
|
|
643
650
|
colNames: B.value.colNames,
|
|
644
651
|
head: B.value.head,
|
|
@@ -647,14 +654,14 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
647
654
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
648
655
|
onClose: o[2] || (o[2] = (l) => k.value.showTable = !1)
|
|
649
656
|
}, {
|
|
650
|
-
th:
|
|
651
|
-
|
|
657
|
+
th: h(({ th: l }) => [
|
|
658
|
+
T("div", {
|
|
652
659
|
innerHTML: l,
|
|
653
660
|
style: { display: "flex", "align-items": "center" }
|
|
654
661
|
}, null, 8, Bt)
|
|
655
662
|
]),
|
|
656
|
-
td:
|
|
657
|
-
|
|
663
|
+
td: h(({ td: l }) => [
|
|
664
|
+
Te(E(l.name || l), 1)
|
|
658
665
|
]),
|
|
659
666
|
_: 1
|
|
660
667
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -663,7 +670,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
663
670
|
}, 8, ["config"])) : m("", !0)
|
|
664
671
|
], 46, xt));
|
|
665
672
|
}
|
|
666
|
-
}, nl = /* @__PURE__ */
|
|
673
|
+
}, nl = /* @__PURE__ */ _t(Dt, [["__scopeId", "data-v-380bda50"]]);
|
|
667
674
|
export {
|
|
668
675
|
nl as default
|
|
669
676
|
};
|