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,14 +1,14 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as Le } from "./useNestedProp-
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as Tt } from "./Title-
|
|
6
|
-
import { P as Pt } from "./PenAndPaper-
|
|
1
|
+
import { useCssVars as nt, computed as f, ref as h, watch as Me, onMounted as rt, watchEffect as ut, createElementBlock as c, openBlock as n, unref as i, normalizeStyle as Y, normalizeClass as Ne, createBlock as I, createCommentVNode as y, renderSlot as m, createSlots as it, withCtx as w, normalizeProps as E, guardReactiveProps as D, createVNode as ct, Fragment as P, renderList as oe, createElementVNode as k, mergeProps as _e, toDisplayString as L, createTextVNode as vt, nextTick as dt } from "vue";
|
|
2
|
+
import { u as ft, c as Ae, t as se, p as S, a as ht, o as yt, e as mt, b as pt, d as Re, m as bt, h as Ee, f as ne, X as gt, l as kt, G, a7 as wt, q as xt, r as Ct, i as De } from "./index-Cq7-va_5.js";
|
|
3
|
+
import { u as Le } from "./useNestedProp-BEyJNlaO.js";
|
|
4
|
+
import { u as $t, U as zt } from "./usePrinter-jRjc8Naz.js";
|
|
5
|
+
import { _ as Tt } from "./Title-CUHNtIyE.js";
|
|
6
|
+
import { P as Pt } from "./PenAndPaper-CjiJra09.js";
|
|
7
7
|
import { u as St } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
-
import { _ as Ot } from "./PackageVersion-
|
|
9
|
-
import It from "./vue-ui-accordion-
|
|
10
|
-
import { D as Ft } from "./DataTable-
|
|
11
|
-
import Mt from "./vue-ui-skeleton-
|
|
8
|
+
import { _ as Ot } from "./PackageVersion-CURzw4q1.js";
|
|
9
|
+
import It from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
10
|
+
import { D as Ft } from "./DataTable-CMUyDj6S.js";
|
|
11
|
+
import Mt from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
12
12
|
import { u as Nt } from "./useChartAccessibility-BWojgys7.js";
|
|
13
13
|
import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"], Dt = ["id"], Lt = ["stop-color"], Gt = ["stop-color"], Ut = ["stop-color"], Vt = { key: 0 }, Bt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter", "onClick"], Ht = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Xt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Yt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Wt = ["d", "fill"], jt = ["cx", "cy", "r", "opacity", "stroke", "fill"], qt = {
|
|
@@ -35,62 +35,62 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectDatapoint"],
|
|
37
37
|
setup(Ge, { expose: Ue, emit: Ve }) {
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
38
|
+
nt((t) => ({
|
|
39
|
+
"1144c89d": O.value,
|
|
40
|
+
"5f554054": Z.value
|
|
41
41
|
}));
|
|
42
|
-
const
|
|
43
|
-
get: () =>
|
|
42
|
+
const $ = Ge, Be = Ve, { vue_ui_circle_pack: He } = ft(), U = f(() => !!$.dataset && $.dataset.length), F = h(Ae()), re = h(null), Xe = h(null), Ye = h(null), ue = h(0), ie = h(0), ce = h(0), We = h(null), e = f({
|
|
43
|
+
get: () => he(),
|
|
44
44
|
set: (t) => t
|
|
45
45
|
}), { svgRef: ve } = Nt({ config: e.value.style.chart.title }), {
|
|
46
46
|
userOptionsVisible: W,
|
|
47
47
|
setUserOptionsVisibility: de,
|
|
48
|
-
keepUserOptionState:
|
|
48
|
+
keepUserOptionState: fe
|
|
49
49
|
} = St({ config: e.value });
|
|
50
|
-
function
|
|
50
|
+
function he() {
|
|
51
51
|
const t = Le({
|
|
52
|
-
userConfig:
|
|
52
|
+
userConfig: $.config,
|
|
53
53
|
defaultConfig: He
|
|
54
54
|
});
|
|
55
55
|
return t.theme ? {
|
|
56
56
|
...Le({
|
|
57
|
-
userConfig:
|
|
57
|
+
userConfig: ht.vue_ui_circle_pack[t.theme] || $.config,
|
|
58
58
|
defaultConfig: t
|
|
59
59
|
}),
|
|
60
60
|
customPalette: se[t.theme] || S
|
|
61
61
|
} : t;
|
|
62
62
|
}
|
|
63
|
-
Me(() =>
|
|
64
|
-
e.value =
|
|
63
|
+
Me(() => $.config, (t) => {
|
|
64
|
+
e.value = he(), W.value = !e.value.userOptions.showOnChartHover, j(), ue.value += 1, ie.value += 1, M.value.showTable = e.value.table.show;
|
|
65
65
|
}, { deep: !0 });
|
|
66
|
-
const { isPrinting: ye, isImaging: me, generatePdf: pe, generateImage: be } =
|
|
66
|
+
const { isPrinting: ye, isImaging: me, generatePdf: pe, generateImage: be } = $t({
|
|
67
67
|
elementId: `vue-ui-circle-pack_${F.value}`,
|
|
68
68
|
fileName: e.value.style.chart.title.text || "vue-ui-circle-pack"
|
|
69
|
-
}), je =
|
|
69
|
+
}), je = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), M = h({
|
|
70
70
|
showTable: e.value.table.show
|
|
71
71
|
});
|
|
72
72
|
async function j() {
|
|
73
|
-
yt(
|
|
73
|
+
yt($.dataset) && mt({
|
|
74
74
|
componentName: "VueUiCirclePack",
|
|
75
75
|
type: "dataset"
|
|
76
76
|
}), await Ke();
|
|
77
77
|
}
|
|
78
|
-
|
|
78
|
+
rt(j), Me(() => $.dataset, async (t) => {
|
|
79
79
|
await j();
|
|
80
80
|
}, { deep: !0 });
|
|
81
|
-
const ge =
|
|
81
|
+
const ge = f(() => pt(e.value.customPalette));
|
|
82
82
|
function ke(t, a) {
|
|
83
83
|
return Math.hypot(a.x - t.x, a.y - t.y);
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function we(t, a) {
|
|
86
86
|
return a.some((l) => ke(t, l) < t.radius + l.radius);
|
|
87
87
|
}
|
|
88
|
-
function qe(t, a, l,
|
|
88
|
+
function qe(t, a, l, s) {
|
|
89
89
|
const v = a * 2;
|
|
90
90
|
for (let x of t)
|
|
91
|
-
for (let
|
|
92
|
-
let R =
|
|
93
|
-
if (u - a >= 0 && u + a <= l && o - a >= 0 && o + a <=
|
|
91
|
+
for (let C = 0; C < 360; C += 1) {
|
|
92
|
+
let R = C * Math.PI / 180, u = x.x + v * Math.cos(R), o = x.y - v * Math.sin(R), g = { x: u, y: o, radius: a };
|
|
93
|
+
if (u - a >= 0 && u + a <= l && o - a >= 0 && o + a <= s && !we(g, t))
|
|
94
94
|
return { x: u, y: o };
|
|
95
95
|
}
|
|
96
96
|
return null;
|
|
@@ -99,13 +99,13 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
99
99
|
datapoints: t,
|
|
100
100
|
width: a,
|
|
101
101
|
height: l,
|
|
102
|
-
maxRadius:
|
|
102
|
+
maxRadius: s,
|
|
103
103
|
offsetX: v = 0,
|
|
104
104
|
offsetY: x = 0
|
|
105
105
|
}) {
|
|
106
|
-
const
|
|
106
|
+
const C = Math.max(...t.map((g) => g.value)), u = t.map((g, d) => ({
|
|
107
107
|
...g,
|
|
108
|
-
radius: g.value /
|
|
108
|
+
radius: g.value / C * s,
|
|
109
109
|
index: d
|
|
110
110
|
})).map((g, d) => ({ ...g, index: d })).toSorted((g, d) => d.radius - g.radius);
|
|
111
111
|
let o = [];
|
|
@@ -120,15 +120,15 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
120
120
|
o.push({ ...Pe, x: Q.x, y: Q.y, radius: d });
|
|
121
121
|
else {
|
|
122
122
|
let ee = null, Se = 1 / 0;
|
|
123
|
-
for (let
|
|
123
|
+
for (let H of o)
|
|
124
124
|
for (let te = 0; te < 360; te += 15) {
|
|
125
|
-
let Oe = te * Math.PI / 180, le =
|
|
126
|
-
if (le - d >= 0 && le + d <= a && ae - d >= 0 && ae + d <= l && !
|
|
125
|
+
let Oe = te * Math.PI / 180, le = H.x + (d + H.radius) * Math.cos(Oe), ae = H.y + (d + H.radius) * Math.sin(Oe), X = { ...Pe, x: le, y: ae, radius: d };
|
|
126
|
+
if (le - d >= 0 && le + d <= a && ae - d >= 0 && ae + d <= l && !we(X, o)) {
|
|
127
127
|
let Ie = o.reduce(
|
|
128
|
-
(st, Fe) => st + (ke(
|
|
128
|
+
(st, Fe) => st + (ke(X, Fe) < X.radius + Fe.radius ? 1 : 0),
|
|
129
129
|
0
|
|
130
130
|
);
|
|
131
|
-
Ie < Se && (Se = Ie, ee =
|
|
131
|
+
Ie < Se && (Se = Ie, ee = X);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
ee && o.push(ee);
|
|
@@ -136,15 +136,15 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
136
136
|
}
|
|
137
137
|
return o;
|
|
138
138
|
}
|
|
139
|
-
const q =
|
|
139
|
+
const q = f(() => $.dataset.map((t, a) => {
|
|
140
140
|
const l = Re(t.color) || ge.value[a] || se[e.value.theme || "default"][a % se[e.value.theme || "default"].length] || S[a] || S[a % S.length];
|
|
141
141
|
return {
|
|
142
142
|
...t,
|
|
143
143
|
id: Ae(),
|
|
144
144
|
color: l
|
|
145
145
|
};
|
|
146
|
-
}).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), b =
|
|
147
|
-
function
|
|
146
|
+
}).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), b = h([]), Je = f(() => Math.max(...b.value.map((t) => t.radius)));
|
|
147
|
+
function xe(t, a) {
|
|
148
148
|
return a / Je.value * t;
|
|
149
149
|
}
|
|
150
150
|
async function Ke() {
|
|
@@ -155,20 +155,20 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
155
155
|
maxRadius: 32
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
const Ce =
|
|
158
|
+
const Ce = f(() => ({
|
|
159
159
|
width: 100,
|
|
160
160
|
height: 100
|
|
161
|
-
})), p =
|
|
162
|
-
const t = b.value.reduce((u, o) => o.x - o.radius < u.x - u.radius ? o : u, b.value[0]), a = b.value.reduce((u, o) => o.y - o.radius < u.y - u.radius ? o : u, b.value[0]), l = b.value.reduce((u, o) => o.x + o.radius > u.x + u.radius ? o : u, b.value[0]),
|
|
161
|
+
})), p = f(() => {
|
|
162
|
+
const t = b.value.reduce((u, o) => o.x - o.radius < u.x - u.radius ? o : u, b.value[0]), a = b.value.reduce((u, o) => o.y - o.radius < u.y - u.radius ? o : u, b.value[0]), l = b.value.reduce((u, o) => o.x + o.radius > u.x + u.radius ? o : u, b.value[0]), s = b.value.reduce((u, o) => o.y + o.radius > u.y + u.radius ? o : u, b.value[0]), v = (t == null ? void 0 : t.x) || 0, x = (l == null ? void 0 : l.x) || Ce.value.width, C = (a == null ? void 0 : a.y) || 0, R = (s == null ? void 0 : s.y) || Ce.value.height;
|
|
163
163
|
return {
|
|
164
164
|
maxX: x,
|
|
165
165
|
minX: v,
|
|
166
166
|
width: Math.abs(x - v) + (t ? t.radius : 0) + (l ? l.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
|
|
167
|
-
height: Math.abs(R -
|
|
167
|
+
height: Math.abs(R - C) + (a ? a.radius : 0) + (s ? s.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
|
|
168
168
|
x: t ? (t == null ? void 0 : t.x) - (t == null ? void 0 : t.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0,
|
|
169
169
|
y: a ? (a == null ? void 0 : a.y) - (a == null ? void 0 : a.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0
|
|
170
170
|
};
|
|
171
|
-
}), Qe =
|
|
171
|
+
}), Qe = f(() => b.value.map((t) => {
|
|
172
172
|
if (t.breakdown)
|
|
173
173
|
return bt(
|
|
174
174
|
{ series: t.breakdown.map((a, l) => ({
|
|
@@ -186,26 +186,26 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
186
186
|
105.25,
|
|
187
187
|
t.radius / 2
|
|
188
188
|
);
|
|
189
|
-
})),
|
|
189
|
+
})), r = h(null);
|
|
190
190
|
function et(t) {
|
|
191
|
-
e.value.style.chart.circles.zoom.show && (
|
|
191
|
+
e.value.style.chart.circles.zoom.show && (r.value = t);
|
|
192
192
|
}
|
|
193
|
-
const O =
|
|
193
|
+
const O = f(() => r.value ? r.value.radius : 0), Z = f(() => T.value ? O.value : r.value ? r.value.radius > p.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio ? r.value.radius : p.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), z = h(0), tt = f(() => ({
|
|
194
194
|
pointerEvents: "none",
|
|
195
|
-
opacity:
|
|
196
|
-
filter: `drop-shadow(0px 0px 6px ${Ee(
|
|
197
|
-
})), N =
|
|
195
|
+
opacity: z.value,
|
|
196
|
+
filter: `drop-shadow(0px 0px 6px ${Ee(r.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
|
|
197
|
+
})), N = h(O.value);
|
|
198
198
|
ut(() => {
|
|
199
|
-
N.value = O.value,
|
|
199
|
+
N.value = O.value, z.value = 0;
|
|
200
200
|
let t = null;
|
|
201
201
|
function a(l) {
|
|
202
202
|
t || (t = l);
|
|
203
|
-
const
|
|
204
|
-
|
|
203
|
+
const s = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
|
|
204
|
+
s < 1 ? (N.value = O.value + (Z.value - O.value) * s, z.value = 0 + e.value.style.chart.circles.zoom.opacity * s, requestAnimationFrame(a)) : (N.value = Z.value, z.value = e.value.style.chart.circles.zoom.opacity);
|
|
205
205
|
}
|
|
206
206
|
requestAnimationFrame(a);
|
|
207
207
|
});
|
|
208
|
-
const _ =
|
|
208
|
+
const _ = f(() => ({
|
|
209
209
|
name: e.value.style.chart.circles.zoom.label.name.fontSize * p.value.width / 300,
|
|
210
210
|
value: e.value.style.chart.circles.zoom.label.value.fontSize * p.value.width / 300
|
|
211
211
|
}));
|
|
@@ -213,7 +213,7 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
213
213
|
return De(
|
|
214
214
|
e.value.style.chart.circles.labels.value.formatter,
|
|
215
215
|
t.value,
|
|
216
|
-
|
|
216
|
+
ne({
|
|
217
217
|
p: e.value.style.chart.circles.labels.value.prefix,
|
|
218
218
|
v: t.value,
|
|
219
219
|
s: e.value.style.chart.circles.labels.value.suffix,
|
|
@@ -224,53 +224,53 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
224
224
|
function lt() {
|
|
225
225
|
return De(
|
|
226
226
|
e.value.style.chart.circles.zoom.label.value.formatter,
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
r.value.value,
|
|
228
|
+
ne({
|
|
229
229
|
p: e.value.style.chart.circles.zoom.label.value.prefix,
|
|
230
|
-
v:
|
|
230
|
+
v: r.value.value,
|
|
231
231
|
s: e.value.style.chart.circles.zoom.label.value.suffix,
|
|
232
232
|
r: e.value.style.chart.circles.zoom.label.value.rounding
|
|
233
233
|
})
|
|
234
234
|
);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function $e(t) {
|
|
237
237
|
if (!t)
|
|
238
238
|
return 0;
|
|
239
239
|
const a = t.radius / J(t).length * (J(t).length === 1 ? 1 : 2);
|
|
240
240
|
return Math.min(t.radius / 2.5, a);
|
|
241
241
|
}
|
|
242
|
-
const A =
|
|
242
|
+
const A = h(!1);
|
|
243
243
|
function at(t) {
|
|
244
244
|
A.value = t, ce.value += 1;
|
|
245
245
|
}
|
|
246
|
-
const T =
|
|
246
|
+
const T = h(!1);
|
|
247
247
|
function K() {
|
|
248
248
|
T.value = !T.value;
|
|
249
249
|
}
|
|
250
|
-
const
|
|
250
|
+
const V = f(() => {
|
|
251
251
|
const t = q.value.map((l) => ({
|
|
252
252
|
name: l.name,
|
|
253
253
|
value: l.value,
|
|
254
254
|
color: l.color
|
|
255
|
-
})).toSorted((l,
|
|
255
|
+
})).toSorted((l, s) => s.value - l.value), a = t.map((l) => l.value);
|
|
256
256
|
return { head: t, body: a };
|
|
257
257
|
});
|
|
258
|
-
function
|
|
258
|
+
function ze() {
|
|
259
259
|
dt(() => {
|
|
260
|
-
const t =
|
|
261
|
-
|
|
262
|
-
], [
|
|
260
|
+
const t = V.value.head.map((s, v) => [[
|
|
261
|
+
s.name
|
|
262
|
+
], [V.value.body[v]]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), l = xt(a);
|
|
263
263
|
Ct({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
|
-
const
|
|
266
|
+
const B = f(() => {
|
|
267
267
|
const t = [
|
|
268
268
|
e.value.table.columnNames.datapoint,
|
|
269
269
|
e.value.table.columnNames.value
|
|
270
|
-
], a =
|
|
271
|
-
const
|
|
270
|
+
], a = V.value.head.map((v, x) => {
|
|
271
|
+
const C = ne({
|
|
272
272
|
p: e.value.style.chart.circles.labels.value.prefix,
|
|
273
|
-
v:
|
|
273
|
+
v: V.value.body[x],
|
|
274
274
|
s: e.value.style.chart.circles.labels.value.suffix,
|
|
275
275
|
r: e.value.style.chart.circles.labels.value.rounding
|
|
276
276
|
});
|
|
@@ -279,7 +279,7 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
279
279
|
color: v.color,
|
|
280
280
|
name: v.name
|
|
281
281
|
},
|
|
282
|
-
|
|
282
|
+
C
|
|
283
283
|
];
|
|
284
284
|
}), l = {
|
|
285
285
|
th: {
|
|
@@ -312,21 +312,21 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
312
312
|
}
|
|
313
313
|
return Ue({
|
|
314
314
|
getData: ot,
|
|
315
|
-
generateCsv:
|
|
315
|
+
generateCsv: ze,
|
|
316
316
|
generatePdf: pe,
|
|
317
317
|
generateImage: be,
|
|
318
318
|
toggleTable: Te,
|
|
319
319
|
toggleAnnotator: K
|
|
320
|
-
}), (t, a) => (
|
|
320
|
+
}), (t, a) => (n(), c("div", {
|
|
321
321
|
id: `vue-ui-circle-pack_${F.value}`,
|
|
322
322
|
class: Ne(`vue-ui-circle-pack ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
323
323
|
ref_key: "circlePackChart",
|
|
324
|
-
ref:
|
|
325
|
-
style:
|
|
324
|
+
ref: re,
|
|
325
|
+
style: Y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
326
326
|
onMouseenter: a[2] || (a[2] = () => i(de)(!0)),
|
|
327
327
|
onMouseleave: a[3] || (a[3] = () => i(de)(!1))
|
|
328
328
|
}, [
|
|
329
|
-
e.value.userOptions.buttons.annotator ? (
|
|
329
|
+
e.value.userOptions.buttons.annotator ? (n(), I(Pt, {
|
|
330
330
|
key: 0,
|
|
331
331
|
svgRef: i(ve),
|
|
332
332
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -335,20 +335,20 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
335
335
|
onClose: K
|
|
336
336
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
|
|
337
337
|
m(t.$slots, "userConfig", {}, void 0, !0),
|
|
338
|
-
je.value ? (
|
|
338
|
+
je.value ? (n(), c("div", {
|
|
339
339
|
key: 1,
|
|
340
340
|
ref_key: "noTitle",
|
|
341
341
|
ref: Ye,
|
|
342
342
|
class: "vue-data-ui-no-title-space",
|
|
343
343
|
style: "height:36px; width: 100%;background:transparent"
|
|
344
344
|
}, null, 512)) : y("", !0),
|
|
345
|
-
e.value.style.chart.title.text ? (
|
|
345
|
+
e.value.style.chart.title.text ? (n(), c("div", {
|
|
346
346
|
key: 2,
|
|
347
347
|
ref_key: "chartTitle",
|
|
348
348
|
ref: Xe,
|
|
349
349
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
350
350
|
}, [
|
|
351
|
-
(
|
|
351
|
+
(n(), I(Tt, {
|
|
352
352
|
key: `title_${ue.value}`,
|
|
353
353
|
config: {
|
|
354
354
|
title: {
|
|
@@ -362,7 +362,7 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
362
362
|
}
|
|
363
363
|
}, null, 8, ["config"]))
|
|
364
364
|
], 512)) : y("", !0),
|
|
365
|
-
e.value.userOptions.show &&
|
|
365
|
+
e.value.userOptions.show && U.value && (i(fe) || i(W)) ? (n(), I(zt, {
|
|
366
366
|
ref: "details",
|
|
367
367
|
key: `user_option_${ce.value}`,
|
|
368
368
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -378,65 +378,72 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
378
378
|
hasTable: e.value.userOptions.buttons.table,
|
|
379
379
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
380
380
|
isFullscreen: A.value,
|
|
381
|
-
chartElement:
|
|
381
|
+
chartElement: re.value,
|
|
382
382
|
position: e.value.userOptions.position,
|
|
383
383
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
384
384
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
385
385
|
isAnnotation: T.value,
|
|
386
386
|
onToggleFullscreen: at,
|
|
387
387
|
onGeneratePdf: i(pe),
|
|
388
|
-
onGenerateCsv:
|
|
388
|
+
onGenerateCsv: ze,
|
|
389
389
|
onGenerateImage: i(be),
|
|
390
390
|
onToggleTable: Te,
|
|
391
391
|
onToggleAnnotator: K,
|
|
392
|
-
style:
|
|
393
|
-
visibility: i(
|
|
392
|
+
style: Y({
|
|
393
|
+
visibility: i(fe) ? i(W) ? "visible" : "hidden" : "visible"
|
|
394
394
|
})
|
|
395
395
|
}, it({ _: 2 }, [
|
|
396
|
+
t.$slots.menuIcon ? {
|
|
397
|
+
name: "menuIcon",
|
|
398
|
+
fn: w(({ isOpen: l, color: s }) => [
|
|
399
|
+
m(t.$slots, "menuIcon", E(D({ isOpen: l, color: s })), void 0, !0)
|
|
400
|
+
]),
|
|
401
|
+
key: "0"
|
|
402
|
+
} : void 0,
|
|
396
403
|
t.$slots.optionPdf ? {
|
|
397
404
|
name: "optionPdf",
|
|
398
|
-
fn:
|
|
405
|
+
fn: w(() => [
|
|
399
406
|
m(t.$slots, "optionPdf", {}, void 0, !0)
|
|
400
407
|
]),
|
|
401
|
-
key: "
|
|
408
|
+
key: "1"
|
|
402
409
|
} : void 0,
|
|
403
410
|
t.$slots.optionCsv ? {
|
|
404
411
|
name: "optionCsv",
|
|
405
|
-
fn:
|
|
412
|
+
fn: w(() => [
|
|
406
413
|
m(t.$slots, "optionCsv", {}, void 0, !0)
|
|
407
414
|
]),
|
|
408
|
-
key: "
|
|
415
|
+
key: "2"
|
|
409
416
|
} : void 0,
|
|
410
417
|
t.$slots.optionImg ? {
|
|
411
418
|
name: "optionImg",
|
|
412
|
-
fn:
|
|
419
|
+
fn: w(() => [
|
|
413
420
|
m(t.$slots, "optionImg", {}, void 0, !0)
|
|
414
421
|
]),
|
|
415
|
-
key: "
|
|
422
|
+
key: "3"
|
|
416
423
|
} : void 0,
|
|
417
424
|
t.$slots.optionTable ? {
|
|
418
425
|
name: "optionTable",
|
|
419
|
-
fn:
|
|
426
|
+
fn: w(() => [
|
|
420
427
|
m(t.$slots, "optionTable", {}, void 0, !0)
|
|
421
428
|
]),
|
|
422
|
-
key: "
|
|
429
|
+
key: "4"
|
|
423
430
|
} : void 0,
|
|
424
431
|
t.$slots.optionFullscreen ? {
|
|
425
432
|
name: "optionFullscreen",
|
|
426
|
-
fn:
|
|
427
|
-
m(t.$slots, "optionFullscreen",
|
|
433
|
+
fn: w(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
434
|
+
m(t.$slots, "optionFullscreen", E(D({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
428
435
|
]),
|
|
429
|
-
key: "
|
|
436
|
+
key: "5"
|
|
430
437
|
} : void 0,
|
|
431
438
|
t.$slots.optionAnnotator ? {
|
|
432
439
|
name: "optionAnnotator",
|
|
433
|
-
fn:
|
|
434
|
-
m(t.$slots, "optionAnnotator",
|
|
440
|
+
fn: w(({ toggleAnnotator: l, isAnnotator: s }) => [
|
|
441
|
+
m(t.$slots, "optionAnnotator", E(D({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
|
|
435
442
|
]),
|
|
436
|
-
key: "
|
|
443
|
+
key: "6"
|
|
437
444
|
} : void 0
|
|
438
445
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
439
|
-
|
|
446
|
+
U.value ? (n(), c("svg", {
|
|
440
447
|
key: 4,
|
|
441
448
|
ref_key: "svgRef",
|
|
442
449
|
ref: ve,
|
|
@@ -444,10 +451,10 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
444
451
|
viewBox: `${p.value.x} ${p.value.y} ${p.value.width} ${p.value.height}`,
|
|
445
452
|
width: "100%",
|
|
446
453
|
class: Ne({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
|
|
447
|
-
style:
|
|
454
|
+
style: Y(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};`)
|
|
448
455
|
}, [
|
|
449
456
|
ct(Ot),
|
|
450
|
-
t.$slots["chart-background"] ? (
|
|
457
|
+
t.$slots["chart-background"] ? (n(), c("foreignObject", {
|
|
451
458
|
key: 0,
|
|
452
459
|
x: p.value.x,
|
|
453
460
|
y: p.value.y,
|
|
@@ -459,7 +466,7 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
459
466
|
}, [
|
|
460
467
|
m(t.$slots, "chart-background", {}, void 0, !0)
|
|
461
468
|
], 8, Et)) : y("", !0),
|
|
462
|
-
(
|
|
469
|
+
(n(!0), c(P, null, oe(b.value, (l) => (n(), c(P, null, [
|
|
463
470
|
k("defs", null, [
|
|
464
471
|
k("radialGradient", {
|
|
465
472
|
id: l.id,
|
|
@@ -479,7 +486,7 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
479
486
|
}, null, 8, Ut)
|
|
480
487
|
], 8, Dt)
|
|
481
488
|
]),
|
|
482
|
-
t.$slots.pattern ? (
|
|
489
|
+
t.$slots.pattern ? (n(), c("g", Vt, [
|
|
483
490
|
k("defs", null, [
|
|
484
491
|
m(t.$slots, "pattern", _e({ ref_for: !0 }, { ...l, patternId: `pattern_${F.value}_${l.id}` }), void 0, !0)
|
|
485
492
|
])
|
|
@@ -494,10 +501,10 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
494
501
|
fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
|
|
495
502
|
rx: l.radius,
|
|
496
503
|
onMouseenter: () => et(l),
|
|
497
|
-
onMouseout: a[0] || (a[0] = (
|
|
498
|
-
onClick: (
|
|
504
|
+
onMouseout: a[0] || (a[0] = (s) => r.value = null),
|
|
505
|
+
onClick: (s) => Be("selectDatapoint", l)
|
|
499
506
|
}, null, 40, Bt),
|
|
500
|
-
t.$slots.pattern ? (
|
|
507
|
+
t.$slots.pattern ? (n(), c("rect", {
|
|
501
508
|
key: 1,
|
|
502
509
|
x: l.x - l.radius,
|
|
503
510
|
y: l.y - l.radius,
|
|
@@ -514,88 +521,88 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
514
521
|
t.$slots["data-label"] ? m(t.$slots, "data-label", _e({
|
|
515
522
|
key: 2,
|
|
516
523
|
ref_for: !0
|
|
517
|
-
}, { ...l, createTSpans: i(
|
|
518
|
-
e.value.style.chart.circles.labels.name.show && l.name ? (
|
|
524
|
+
}, { ...l, createTSpans: i(wt), fontSize: { name: l.radius / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: $e(l) * e.value.style.chart.circles.labels.value.fontSizeRatio }, color: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : i(G)(l.color) }), void 0, !0) : (n(), c(P, { key: 3 }, [
|
|
525
|
+
e.value.style.chart.circles.labels.name.show && l.name ? (n(), c("text", {
|
|
519
526
|
key: 0,
|
|
520
527
|
style: {
|
|
521
528
|
pointerEvents: "none",
|
|
522
529
|
transition: "opacity 0.2s ease-in-out"
|
|
523
530
|
},
|
|
524
|
-
opacity:
|
|
531
|
+
opacity: r.value && !T.value ? 0.2 : 1,
|
|
525
532
|
x: l.x,
|
|
526
|
-
y: l.y +
|
|
533
|
+
y: l.y + xe(l.radius, e.value.style.chart.circles.labels.name.offsetY) - l.radius / 6,
|
|
527
534
|
"font-size": l.radius / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
|
|
528
|
-
fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : i(
|
|
535
|
+
fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : i(G)(l.color),
|
|
529
536
|
"font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
|
|
530
537
|
"text-anchor": "middle"
|
|
531
|
-
},
|
|
532
|
-
e.value.style.chart.circles.labels.value.show ? (
|
|
538
|
+
}, L(l.name), 9, Xt)) : y("", !0),
|
|
539
|
+
e.value.style.chart.circles.labels.value.show ? (n(), c("text", {
|
|
533
540
|
key: 1,
|
|
534
541
|
style: {
|
|
535
542
|
pointerEvents: "none",
|
|
536
543
|
transition: "opacity 0.2s ease-in-out"
|
|
537
544
|
},
|
|
538
|
-
opacity:
|
|
545
|
+
opacity: r.value && !T.value ? 0.2 : 1,
|
|
539
546
|
x: l.x,
|
|
540
|
-
y: l.y +
|
|
541
|
-
"font-size":
|
|
542
|
-
fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : i(
|
|
547
|
+
y: l.y + xe(l.radius, e.value.style.chart.circles.labels.value.offsetY) + l.radius / 3,
|
|
548
|
+
"font-size": $e(l) * e.value.style.chart.circles.labels.value.fontSizeRatio,
|
|
549
|
+
fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : i(G)(l.color),
|
|
543
550
|
"font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
|
|
544
551
|
"text-anchor": "middle"
|
|
545
|
-
},
|
|
552
|
+
}, L(J(l)), 9, Yt)) : y("", !0)
|
|
546
553
|
], 64)),
|
|
547
|
-
(
|
|
548
|
-
(
|
|
554
|
+
(n(!0), c(P, null, oe(Qe.value, (s) => (n(), c(P, null, [
|
|
555
|
+
(n(!0), c(P, null, oe(s, (v) => (n(), c("path", {
|
|
549
556
|
d: v.arcSlice,
|
|
550
557
|
fill: v.color,
|
|
551
558
|
stroke: "black"
|
|
552
559
|
}, null, 8, Wt))), 256))
|
|
553
560
|
], 64))), 256))
|
|
554
561
|
], 64))), 256)),
|
|
555
|
-
|
|
562
|
+
r.value && e.value.style.chart.circles.zoom.show && !T.value ? (n(), c(P, { key: 1 }, [
|
|
556
563
|
k("circle", {
|
|
557
|
-
style:
|
|
558
|
-
cx:
|
|
559
|
-
cy:
|
|
564
|
+
style: Y(tt.value),
|
|
565
|
+
cx: r.value.x,
|
|
566
|
+
cy: r.value.y,
|
|
560
567
|
r: N.value,
|
|
561
|
-
opacity:
|
|
568
|
+
opacity: z.value,
|
|
562
569
|
stroke: e.value.style.chart.circles.stroke,
|
|
563
|
-
fill: e.value.style.chart.circles.gradient.show ? `url(#${
|
|
570
|
+
fill: e.value.style.chart.circles.gradient.show ? `url(#${r.value.id})` : r.value.color
|
|
564
571
|
}, null, 12, jt),
|
|
565
|
-
t.$slots["zoom-label"] ? (
|
|
566
|
-
m(t.$slots, "zoom-label",
|
|
567
|
-
])) : (
|
|
572
|
+
t.$slots["zoom-label"] ? (n(), c("g", qt, [
|
|
573
|
+
m(t.$slots, "zoom-label", E(D({ ...r.value, zoomOpacity: z.value, currentRadius: N.value, fontSize: _.value })), void 0, !0)
|
|
574
|
+
])) : (n(), c("g", Zt, [
|
|
568
575
|
k("text", {
|
|
569
576
|
style: {
|
|
570
577
|
pointerEvents: "none"
|
|
571
578
|
},
|
|
572
|
-
opacity:
|
|
573
|
-
x:
|
|
574
|
-
y:
|
|
579
|
+
opacity: z.value,
|
|
580
|
+
x: r.value.x,
|
|
581
|
+
y: r.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - _.value.name / 4,
|
|
575
582
|
"text-anchor": "middle",
|
|
576
583
|
"font-size": _.value.name,
|
|
577
|
-
fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : i(
|
|
584
|
+
fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : i(G)(r.value.color),
|
|
578
585
|
"font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
|
|
579
|
-
},
|
|
586
|
+
}, L(r.value.name), 9, Jt),
|
|
580
587
|
k("text", {
|
|
581
588
|
style: {
|
|
582
589
|
pointerEvents: "none"
|
|
583
590
|
},
|
|
584
|
-
opacity:
|
|
585
|
-
x:
|
|
586
|
-
y:
|
|
591
|
+
opacity: z.value,
|
|
592
|
+
x: r.value.x,
|
|
593
|
+
y: r.value.y + _.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
|
|
587
594
|
"text-anchor": "middle",
|
|
588
595
|
"font-size": _.value.value,
|
|
589
|
-
fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : i(
|
|
596
|
+
fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : i(G)(r.value.color),
|
|
590
597
|
"font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
|
|
591
|
-
},
|
|
598
|
+
}, L(lt()), 9, Kt)
|
|
592
599
|
]))
|
|
593
600
|
], 64)) : y("", !0),
|
|
594
601
|
m(t.$slots, "svg", {
|
|
595
602
|
svg: { ...p.value }
|
|
596
603
|
}, void 0, !0)
|
|
597
604
|
], 14, Rt)) : y("", !0),
|
|
598
|
-
|
|
605
|
+
U.value ? y("", !0) : (n(), I(Mt, {
|
|
599
606
|
key: 5,
|
|
600
607
|
config: {
|
|
601
608
|
type: "circlePack",
|
|
@@ -604,10 +611,10 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
604
611
|
}
|
|
605
612
|
}
|
|
606
613
|
})),
|
|
607
|
-
t.$slots.watermark ? (
|
|
608
|
-
m(t.$slots, "watermark",
|
|
614
|
+
t.$slots.watermark ? (n(), c("div", Qt, [
|
|
615
|
+
m(t.$slots, "watermark", E(D({ isPrinting: i(ye) || i(me) })), void 0, !0)
|
|
609
616
|
])) : y("", !0),
|
|
610
|
-
t.$slots.source ? (
|
|
617
|
+
t.$slots.source ? (n(), c("div", {
|
|
611
618
|
key: 7,
|
|
612
619
|
ref_key: "source",
|
|
613
620
|
ref: We,
|
|
@@ -615,7 +622,7 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
615
622
|
}, [
|
|
616
623
|
m(t.$slots, "source", {}, void 0, !0)
|
|
617
624
|
], 512)) : y("", !0),
|
|
618
|
-
|
|
625
|
+
U.value ? (n(), I(It, {
|
|
619
626
|
key: 8,
|
|
620
627
|
hideDetails: "",
|
|
621
628
|
config: {
|
|
@@ -631,24 +638,24 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
631
638
|
}
|
|
632
639
|
}
|
|
633
640
|
}, {
|
|
634
|
-
content:
|
|
635
|
-
(
|
|
641
|
+
content: w(() => [
|
|
642
|
+
(n(), I(Ft, {
|
|
636
643
|
key: `table_${ie.value}`,
|
|
637
|
-
colNames:
|
|
638
|
-
head:
|
|
639
|
-
body:
|
|
640
|
-
config:
|
|
644
|
+
colNames: B.value.colNames,
|
|
645
|
+
head: B.value.head,
|
|
646
|
+
body: B.value.body,
|
|
647
|
+
config: B.value.config,
|
|
641
648
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
642
649
|
onClose: a[1] || (a[1] = (l) => M.value.showTable = !1)
|
|
643
650
|
}, {
|
|
644
|
-
th:
|
|
651
|
+
th: w(({ th: l }) => [
|
|
645
652
|
k("div", {
|
|
646
653
|
innerHTML: l,
|
|
647
654
|
style: { display: "flex", "align-items": "center" }
|
|
648
655
|
}, null, 8, el)
|
|
649
656
|
]),
|
|
650
|
-
td:
|
|
651
|
-
vt(
|
|
657
|
+
td: w(({ td: l }) => [
|
|
658
|
+
vt(L(l.name || l), 1)
|
|
652
659
|
]),
|
|
653
660
|
_: 1
|
|
654
661
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -657,7 +664,7 @@ const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"]
|
|
|
657
664
|
}, 8, ["config"])) : y("", !0)
|
|
658
665
|
], 46, At));
|
|
659
666
|
}
|
|
660
|
-
}, yl = /* @__PURE__ */ _t(tl, [["__scopeId", "data-v-
|
|
667
|
+
}, yl = /* @__PURE__ */ _t(tl, [["__scopeId", "data-v-42098803"]]);
|
|
661
668
|
export {
|
|
662
669
|
yl as default
|
|
663
670
|
};
|