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,12 +1,12 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as ge, c as me, a as ke, o as we, e as be, w as Z, m as Ce, X as _e, i as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
1
|
+
import { computed as f, ref as c, watch as J, onMounted as he, onBeforeUnmount as de, createElementBlock as v, openBlock as n, unref as s, normalizeStyle as S, createBlock as _, createCommentVNode as h, createSlots as ye, withCtx as g, renderSlot as y, normalizeProps as $, guardReactiveProps as O, normalizeClass as z, createVNode as fe, Fragment as K, renderList as Q, toDisplayString as pe } from "vue";
|
|
2
|
+
import { u as ge, c as me, a as ke, o as we, e as be, w as Z, m as Ce, X as _e, i as $e, v as ee, f as Oe } from "./index-Cq7-va_5.js";
|
|
3
|
+
import { _ as Ie } from "./Title-CUHNtIyE.js";
|
|
4
|
+
import { u as Pe, U as xe } from "./usePrinter-jRjc8Naz.js";
|
|
5
5
|
import { t as Ae, u as Fe } from "./useResponsive-BWapHhVH.js";
|
|
6
|
-
import Se from "./vue-ui-skeleton-
|
|
7
|
-
import { u as te } from "./useNestedProp-
|
|
8
|
-
import { _ as ze } from "./PackageVersion-
|
|
9
|
-
import { P as Me } from "./PenAndPaper-
|
|
6
|
+
import Se from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
7
|
+
import { u as te } from "./useNestedProp-BEyJNlaO.js";
|
|
8
|
+
import { _ as ze } from "./PackageVersion-CURzw4q1.js";
|
|
9
|
+
import { P as Me } from "./PenAndPaper-CjiJra09.js";
|
|
10
10
|
import { u as Te } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { u as Ne } from "./useChartAccessibility-BWojgys7.js";
|
|
12
12
|
import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -30,7 +30,7 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Le = ["width", "height"], Be = ["x
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
setup(ae, { expose: le }) {
|
|
33
|
-
const { vue_ui_wheel: oe } = ge(), d = ae,
|
|
33
|
+
const { vue_ui_wheel: oe } = ge(), d = ae, I = f(() => !!d.dataset && Object.keys(d.dataset).length), P = c(me()), se = c(null), M = c(0), m = c(null), T = c(null), N = c(null), R = c(null), U = c(0), e = f({
|
|
34
34
|
get: () => E(),
|
|
35
35
|
set: (t) => t
|
|
36
36
|
}), { userOptionsVisible: x, setUserOptionsVisibility: X, keepUserOptionState: L } = Te({ config: e.value }), { svgRef: B } = Ne({ config: e.value.style.chart.title });
|
|
@@ -49,29 +49,29 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Le = ["width", "height"], Be = ["x
|
|
|
49
49
|
J(() => d.config, (t) => {
|
|
50
50
|
e.value = E(), x.value = !e.value.userOptions.showOnChartHover, W(), U.value += 1;
|
|
51
51
|
}, { deep: !0 });
|
|
52
|
-
const { isPrinting: G, isImaging: j, generatePdf: D, generateImage: Y } =
|
|
53
|
-
elementId:
|
|
52
|
+
const { isPrinting: G, isImaging: j, generatePdf: D, generateImage: Y } = Pe({
|
|
53
|
+
elementId: P.value,
|
|
54
54
|
fileName: e.value.style.chart.title.text || "vue-ui-wheel"
|
|
55
|
-
}), ne =
|
|
55
|
+
}), ne = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), l = c({
|
|
56
56
|
size: 360,
|
|
57
57
|
height: 360,
|
|
58
58
|
width: 360
|
|
59
|
-
}),
|
|
59
|
+
}), A = c(e.value.style.chart.layout.percentage.fontSize), u = f(() => ({
|
|
60
60
|
radius: Math.min(l.value.width, l.value.height) * 0.9 / 2,
|
|
61
61
|
centerX: l.value.width / 2,
|
|
62
62
|
centerY: l.value.height / 2
|
|
63
63
|
}));
|
|
64
64
|
function H(t, o = 1) {
|
|
65
65
|
return {
|
|
66
|
-
x:
|
|
67
|
-
y:
|
|
66
|
+
x: u.value.centerX + u.value.radius * Math.cos(29.85 + t * Math.PI / 180) * o,
|
|
67
|
+
y: u.value.centerY + u.value.radius * Math.sin(29.85 + t * Math.PI / 180) * o
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
-
const
|
|
70
|
+
const r = c(e.value.style.chart.animation.use ? 0 : d.dataset.percentage || 0);
|
|
71
71
|
J(() => d.dataset, (t) => {
|
|
72
|
-
e.value.style.chart.animation.use ? q(t.percentage) :
|
|
72
|
+
e.value.style.chart.animation.use ? q(t.percentage) : r.value = t.percentage || 0;
|
|
73
73
|
}, { deep: !0 });
|
|
74
|
-
const
|
|
74
|
+
const k = c(null);
|
|
75
75
|
he(() => {
|
|
76
76
|
W();
|
|
77
77
|
});
|
|
@@ -82,89 +82,89 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Le = ["width", "height"], Be = ["x
|
|
|
82
82
|
}), q(d.dataset.percentage || 0), e.value.responsive) {
|
|
83
83
|
const t = Ae(() => {
|
|
84
84
|
const { width: o, height: a } = Fe({
|
|
85
|
-
chart:
|
|
85
|
+
chart: m.value,
|
|
86
86
|
title: e.value.style.chart.title.text ? T.value : null,
|
|
87
87
|
source: N.value,
|
|
88
88
|
noTitle: R.value
|
|
89
89
|
});
|
|
90
90
|
requestAnimationFrame(() => {
|
|
91
|
-
l.value.width = o, l.value.height = a,
|
|
91
|
+
l.value.width = o, l.value.height = a, A.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(o, a);
|
|
92
92
|
});
|
|
93
93
|
});
|
|
94
|
-
|
|
94
|
+
k.value = new ResizeObserver(t), k.value.observe(m.value.parentNode);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
de(() => {
|
|
98
|
-
|
|
98
|
+
k.value && k.value.disconnect();
|
|
99
99
|
});
|
|
100
100
|
function q(t) {
|
|
101
101
|
let o = e.value.style.chart.animation.speed;
|
|
102
|
-
const a = Math.abs(t -
|
|
103
|
-
function
|
|
104
|
-
|
|
102
|
+
const a = Math.abs(t - r.value) / (o * 120);
|
|
103
|
+
function i() {
|
|
104
|
+
r.value < t ? r.value = Math.min(r.value + a, t) : r.value > t && (r.value = Math.max(r.value - a, t)), r.value !== t && requestAnimationFrame(i);
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
i();
|
|
107
107
|
}
|
|
108
|
-
const p =
|
|
108
|
+
const p = f(() => Math.max(100, e.value.style.chart.layout.wheel.ticks.quantity)), w = f(() => 100 / p.value), V = f(() => {
|
|
109
109
|
const t = [];
|
|
110
110
|
for (let o = 0; o < p.value; o += 1) {
|
|
111
|
-
const a =
|
|
111
|
+
const a = r.value > o * w.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: i, y: ie } = H(l.value.size / p.value * o), { x: ce, y: ve } = H(l.value.size / p.value * o, e.value.style.chart.layout.wheel.ticks.sizeRatio);
|
|
112
112
|
t.push({
|
|
113
|
-
x1:
|
|
113
|
+
x1: i,
|
|
114
114
|
y1: ie,
|
|
115
115
|
x2: ce,
|
|
116
116
|
y2: ve,
|
|
117
|
-
color: e.value.style.chart.layout.wheel.ticks.gradient.show ? Z(a, o *
|
|
117
|
+
color: e.value.style.chart.layout.wheel.ticks.gradient.show ? Z(a, o * w.value / p.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : a
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
return t;
|
|
121
|
-
}),
|
|
121
|
+
}), ue = f(() => Ce({ series: V.value.map((t) => ({
|
|
122
122
|
name: "",
|
|
123
123
|
value: 1,
|
|
124
124
|
color: t.color
|
|
125
|
-
})) },
|
|
126
|
-
function
|
|
127
|
-
|
|
125
|
+
})) }, u.value.centerX, u.value.centerY, u.value.radius, u.value.radius, 1.99999, 2, 1, 360, 105.25, u.value.radius * (1 - e.value.style.chart.layout.wheel.ticks.sizeRatio))), b = c(!1);
|
|
126
|
+
function re(t) {
|
|
127
|
+
b.value = t, M.value += 1;
|
|
128
128
|
}
|
|
129
|
-
const
|
|
130
|
-
function
|
|
131
|
-
|
|
129
|
+
const C = c(!1);
|
|
130
|
+
function F() {
|
|
131
|
+
C.value = !C.value;
|
|
132
132
|
}
|
|
133
133
|
return le({
|
|
134
134
|
generatePdf: D,
|
|
135
135
|
generateImage: Y,
|
|
136
|
-
toggleAnnotator:
|
|
137
|
-
}), (t, o) => (n(),
|
|
136
|
+
toggleAnnotator: F
|
|
137
|
+
}), (t, o) => (n(), v("div", {
|
|
138
138
|
class: "vue-ui-wheel",
|
|
139
139
|
ref_key: "wheelChart",
|
|
140
|
-
ref:
|
|
141
|
-
id:
|
|
142
|
-
style:
|
|
140
|
+
ref: m,
|
|
141
|
+
id: P.value,
|
|
142
|
+
style: S(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
143
143
|
onMouseenter: o[0] || (o[0] = () => s(X)(!0)),
|
|
144
144
|
onMouseleave: o[1] || (o[1] = () => s(X)(!1))
|
|
145
145
|
}, [
|
|
146
|
-
e.value.userOptions.buttons.annotator ? (n(),
|
|
146
|
+
e.value.userOptions.buttons.annotator ? (n(), _(Me, {
|
|
147
147
|
key: 0,
|
|
148
148
|
svgRef: s(B),
|
|
149
149
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
150
150
|
color: e.value.style.chart.color,
|
|
151
|
-
active:
|
|
152
|
-
onClose:
|
|
151
|
+
active: C.value,
|
|
152
|
+
onClose: F
|
|
153
153
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
154
|
-
ne.value ? (n(),
|
|
154
|
+
ne.value ? (n(), v("div", {
|
|
155
155
|
key: 1,
|
|
156
156
|
ref_key: "noTitle",
|
|
157
157
|
ref: R,
|
|
158
158
|
class: "vue-data-ui-no-title-space",
|
|
159
159
|
style: "height:36px; width: 100%;background:transparent"
|
|
160
160
|
}, null, 512)) : h("", !0),
|
|
161
|
-
e.value.style.chart.title.text ? (n(),
|
|
161
|
+
e.value.style.chart.title.text ? (n(), v("div", {
|
|
162
162
|
key: 2,
|
|
163
163
|
ref_key: "chartTitle",
|
|
164
164
|
ref: T,
|
|
165
165
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
166
166
|
}, [
|
|
167
|
-
(n(),
|
|
167
|
+
(n(), _(Ie, {
|
|
168
168
|
key: `title_${U.value}`,
|
|
169
169
|
config: {
|
|
170
170
|
title: {
|
|
@@ -178,7 +178,7 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Le = ["width", "height"], Be = ["x
|
|
|
178
178
|
}
|
|
179
179
|
}, null, 8, ["config"]))
|
|
180
180
|
], 512)) : h("", !0),
|
|
181
|
-
e.value.userOptions.show &&
|
|
181
|
+
e.value.userOptions.show && I.value && (s(L) || s(x)) ? (n(), _(xe, {
|
|
182
182
|
ref_key: "details",
|
|
183
183
|
ref: se,
|
|
184
184
|
key: `user_options_${M.value}`,
|
|
@@ -186,65 +186,72 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Le = ["width", "height"], Be = ["x
|
|
|
186
186
|
color: e.value.style.chart.color,
|
|
187
187
|
isPrinting: s(G),
|
|
188
188
|
isImaging: s(j),
|
|
189
|
-
uid:
|
|
189
|
+
uid: P.value,
|
|
190
190
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
191
191
|
hasImg: e.value.userOptions.buttons.img,
|
|
192
192
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
193
193
|
hasXls: !1,
|
|
194
|
-
isFullscreen:
|
|
194
|
+
isFullscreen: b.value,
|
|
195
195
|
position: e.value.userOptions.position,
|
|
196
196
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
197
197
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
198
|
-
isAnnotation:
|
|
199
|
-
chartElement:
|
|
200
|
-
onToggleFullscreen:
|
|
198
|
+
isAnnotation: C.value,
|
|
199
|
+
chartElement: m.value,
|
|
200
|
+
onToggleFullscreen: re,
|
|
201
201
|
onGeneratePdf: s(D),
|
|
202
202
|
onGenerateImage: s(Y),
|
|
203
|
-
onToggleAnnotator:
|
|
204
|
-
style:
|
|
203
|
+
onToggleAnnotator: F,
|
|
204
|
+
style: S({
|
|
205
205
|
visibility: s(L) ? s(x) ? "visible" : "hidden" : "visible"
|
|
206
206
|
})
|
|
207
207
|
}, ye({ _: 2 }, [
|
|
208
|
+
t.$slots.menuIcon ? {
|
|
209
|
+
name: "menuIcon",
|
|
210
|
+
fn: g(({ isOpen: a, color: i }) => [
|
|
211
|
+
y(t.$slots, "menuIcon", $(O({ isOpen: a, color: i })), void 0, !0)
|
|
212
|
+
]),
|
|
213
|
+
key: "0"
|
|
214
|
+
} : void 0,
|
|
208
215
|
t.$slots.optionPdf ? {
|
|
209
216
|
name: "optionPdf",
|
|
210
|
-
fn:
|
|
211
|
-
|
|
217
|
+
fn: g(() => [
|
|
218
|
+
y(t.$slots, "optionPdf", {}, void 0, !0)
|
|
212
219
|
]),
|
|
213
|
-
key: "
|
|
220
|
+
key: "1"
|
|
214
221
|
} : void 0,
|
|
215
222
|
t.$slots.optionImg ? {
|
|
216
223
|
name: "optionImg",
|
|
217
|
-
fn:
|
|
218
|
-
|
|
224
|
+
fn: g(() => [
|
|
225
|
+
y(t.$slots, "optionImg", {}, void 0, !0)
|
|
219
226
|
]),
|
|
220
|
-
key: "
|
|
227
|
+
key: "2"
|
|
221
228
|
} : void 0,
|
|
222
229
|
t.$slots.optionFullscreen ? {
|
|
223
230
|
name: "optionFullscreen",
|
|
224
|
-
fn:
|
|
225
|
-
|
|
231
|
+
fn: g(({ toggleFullscreen: a, isFullscreen: i }) => [
|
|
232
|
+
y(t.$slots, "optionFullscreen", $(O({ toggleFullscreen: a, isFullscreen: i })), void 0, !0)
|
|
226
233
|
]),
|
|
227
|
-
key: "
|
|
234
|
+
key: "3"
|
|
228
235
|
} : void 0,
|
|
229
236
|
t.$slots.optionAnnotator ? {
|
|
230
237
|
name: "optionAnnotator",
|
|
231
|
-
fn:
|
|
232
|
-
|
|
238
|
+
fn: g(({ toggleAnnotator: a, isAnnotator: i }) => [
|
|
239
|
+
y(t.$slots, "optionAnnotator", $(O({ toggleAnnotator: a, isAnnotator: i })), void 0, !0)
|
|
233
240
|
]),
|
|
234
|
-
key: "
|
|
241
|
+
key: "4"
|
|
235
242
|
} : void 0
|
|
236
243
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
237
|
-
|
|
244
|
+
I.value ? (n(), v("svg", {
|
|
238
245
|
key: 4,
|
|
239
246
|
ref_key: "svgRef",
|
|
240
247
|
ref: B,
|
|
241
248
|
xmlns: s(_e),
|
|
242
|
-
class: z({ "vue-data-ui-fullscreen--on":
|
|
249
|
+
class: z({ "vue-data-ui-fullscreen--on": b.value, "vue-data-ui-fulscreen--off": !b.value }),
|
|
243
250
|
viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
|
|
244
|
-
style:
|
|
251
|
+
style: S(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
245
252
|
}, [
|
|
246
253
|
fe(ze),
|
|
247
|
-
t.$slots["chart-background"] ? (n(),
|
|
254
|
+
t.$slots["chart-background"] ? (n(), v("foreignObject", {
|
|
248
255
|
key: 0,
|
|
249
256
|
x: 0,
|
|
250
257
|
y: 0,
|
|
@@ -254,9 +261,9 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Le = ["width", "height"], Be = ["x
|
|
|
254
261
|
pointerEvents: "none"
|
|
255
262
|
}
|
|
256
263
|
}, [
|
|
257
|
-
|
|
264
|
+
y(t.$slots, "chart-background", {}, void 0, !0)
|
|
258
265
|
], 8, Le)) : h("", !0),
|
|
259
|
-
e.value.style.chart.layout.wheel.ticks.type === "classic" ? (n(!0),
|
|
266
|
+
e.value.style.chart.layout.wheel.ticks.type === "classic" ? (n(!0), v(K, { key: 1 }, Q(V.value, (a, i) => (n(), v("line", {
|
|
260
267
|
x1: a.x1,
|
|
261
268
|
x2: a.x2,
|
|
262
269
|
y1: a.y1,
|
|
@@ -264,53 +271,53 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Le = ["width", "height"], Be = ["x
|
|
|
264
271
|
stroke: a.color,
|
|
265
272
|
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(l.value.width, l.value.height),
|
|
266
273
|
"stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
|
|
267
|
-
class: z({ "vue-ui-tick-animated": e.value.style.chart.animation.use &&
|
|
268
|
-
}, null, 10, Be))), 256)) : (n(!0),
|
|
274
|
+
class: z({ "vue-ui-tick-animated": e.value.style.chart.animation.use && i * w.value <= r.value })
|
|
275
|
+
}, null, 10, Be))), 256)) : (n(!0), v(K, { key: 2 }, Q(ue.value, (a, i) => (n(), v("path", {
|
|
269
276
|
d: a.arcSlice,
|
|
270
277
|
fill: a.color,
|
|
271
|
-
class: z({ "vue-ui-tick-animated": e.value.style.chart.animation.use &&
|
|
278
|
+
class: z({ "vue-ui-tick-animated": e.value.style.chart.animation.use && i * w.value <= r.value })
|
|
272
279
|
}, null, 10, Ee))), 256)),
|
|
273
|
-
e.value.style.chart.layout.innerCircle.show ? (n(),
|
|
280
|
+
e.value.style.chart.layout.innerCircle.show ? (n(), v("circle", {
|
|
274
281
|
key: 3,
|
|
275
|
-
cx:
|
|
276
|
-
cy:
|
|
277
|
-
r:
|
|
282
|
+
cx: u.value.centerX,
|
|
283
|
+
cy: u.value.centerY,
|
|
284
|
+
r: u.value.radius * 0.8 <= 0 ? 1e-4 : u.value.radius * 0.8,
|
|
278
285
|
stroke: e.value.style.chart.layout.innerCircle.stroke,
|
|
279
286
|
"stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
|
|
280
287
|
fill: "none"
|
|
281
288
|
}, null, 8, Ge)) : h("", !0),
|
|
282
|
-
e.value.style.chart.layout.percentage.show ? (n(),
|
|
289
|
+
e.value.style.chart.layout.percentage.show ? (n(), v("text", {
|
|
283
290
|
key: 4,
|
|
284
|
-
x:
|
|
285
|
-
y:
|
|
286
|
-
"font-size":
|
|
287
|
-
fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? s(Z)(e.value.style.chart.layout.wheel.ticks.activeColor,
|
|
291
|
+
x: u.value.centerX,
|
|
292
|
+
y: u.value.centerY + A.value / 3,
|
|
293
|
+
"font-size": A.value,
|
|
294
|
+
fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? s(Z)(e.value.style.chart.layout.wheel.ticks.activeColor, r.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
|
|
288
295
|
"text-anchor": "middle",
|
|
289
296
|
"font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
|
|
290
297
|
style: { "font-variant-numeric": "tabluar-nums" }
|
|
291
|
-
}, pe(s(
|
|
298
|
+
}, pe(s($e)(
|
|
292
299
|
e.value.style.chart.layout.percentage.formatter,
|
|
293
|
-
s(ee)(
|
|
294
|
-
s(
|
|
295
|
-
v: s(ee)(
|
|
300
|
+
s(ee)(r.value),
|
|
301
|
+
s(Oe)({
|
|
302
|
+
v: s(ee)(r.value),
|
|
296
303
|
s: "%",
|
|
297
304
|
r: e.value.style.chart.layout.percentage.rounding
|
|
298
305
|
})
|
|
299
306
|
)), 9, je)) : h("", !0),
|
|
300
|
-
|
|
307
|
+
y(t.$slots, "svg", { svg: l.value }, void 0, !0)
|
|
301
308
|
], 14, Xe)) : h("", !0),
|
|
302
|
-
t.$slots.watermark ? (n(),
|
|
303
|
-
|
|
309
|
+
t.$slots.watermark ? (n(), v("div", De, [
|
|
310
|
+
y(t.$slots, "watermark", $(O({ isPrinting: s(G) || s(j) })), void 0, !0)
|
|
304
311
|
])) : h("", !0),
|
|
305
|
-
t.$slots.source ? (n(),
|
|
312
|
+
t.$slots.source ? (n(), v("div", {
|
|
306
313
|
key: 6,
|
|
307
314
|
ref_key: "source",
|
|
308
315
|
ref: N,
|
|
309
316
|
dir: "auto"
|
|
310
317
|
}, [
|
|
311
|
-
|
|
318
|
+
y(t.$slots, "source", {}, void 0, !0)
|
|
312
319
|
], 512)) : h("", !0),
|
|
313
|
-
|
|
320
|
+
I.value ? h("", !0) : (n(), _(Se, {
|
|
314
321
|
key: 7,
|
|
315
322
|
config: {
|
|
316
323
|
type: "wheel",
|
|
@@ -324,7 +331,7 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Le = ["width", "height"], Be = ["x
|
|
|
324
331
|
}, null, 8, ["config"]))
|
|
325
332
|
], 44, Ue));
|
|
326
333
|
}
|
|
327
|
-
}, ot = /* @__PURE__ */ Re(Ye, [["__scopeId", "data-v-
|
|
334
|
+
}, ot = /* @__PURE__ */ Re(Ye, [["__scopeId", "data-v-a0e08156"]]);
|
|
328
335
|
export {
|
|
329
336
|
ot as default
|
|
330
337
|
};
|