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,16 +1,16 @@
|
|
|
1
|
-
import { computed as y, ref as f, watch as pe, onMounted as Ge, onBeforeUnmount as Ee, createElementBlock as u, openBlock as
|
|
2
|
-
import { u as je, c as Te, t as Le, p as ke, a as De, b as Be, o as be, d as Ve, e as
|
|
1
|
+
import { computed as y, ref as f, watch as pe, onMounted as Ge, onBeforeUnmount as Ee, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as B, normalizeClass as ge, createBlock as G, createCommentVNode as c, createElementVNode as p, withCtx as P, toDisplayString as O, createSlots as Ue, renderSlot as x, normalizeProps as E, guardReactiveProps as U, createVNode as We, Fragment as g, renderList as S, mergeProps as X } from "vue";
|
|
2
|
+
import { u as je, c as Te, t as Le, p as ke, a as De, b as Be, o as be, d as Ve, e as W, g as _e, m as V, I as z, N as qe, X as He, s as q, n as Ze, i as H, f as Z, F as J } from "./index-Cq7-va_5.js";
|
|
3
3
|
import { t as Je, u as Ke } from "./useResponsive-BWapHhVH.js";
|
|
4
|
-
import { u as Qe, U as et } from "./usePrinter-
|
|
5
|
-
import tt from "./vue-ui-skeleton-
|
|
6
|
-
import { _ as at } from "./Title-
|
|
7
|
-
import { u as xe } from "./useNestedProp-
|
|
8
|
-
import { _ as lt } from "./PackageVersion-
|
|
9
|
-
import { P as rt } from "./PenAndPaper-
|
|
4
|
+
import { u as Qe, U as et } from "./usePrinter-jRjc8Naz.js";
|
|
5
|
+
import tt from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
6
|
+
import { _ as at } from "./Title-CUHNtIyE.js";
|
|
7
|
+
import { u as xe } from "./useNestedProp-BEyJNlaO.js";
|
|
8
|
+
import { _ as lt } from "./PackageVersion-CURzw4q1.js";
|
|
9
|
+
import { P as rt } from "./PenAndPaper-CjiJra09.js";
|
|
10
10
|
import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { u as ot } from "./useChartAccessibility-BWojgys7.js";
|
|
12
12
|
import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "height"],
|
|
13
|
+
const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["id"], ht = ["stop-color"], yt = ["stop-color"], ft = ["stop-color"], mt = ["id"], pt = ["stdDeviation"], gt = { key: 1 }, kt = ["d", "fill", "stroke"], bt = ["d", "fill", "stroke"], _t = ["d", "fill"], xt = ["id", "d"], wt = ["fill", "font-size", "font-weight"], St = ["href", "startOffset"], $t = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], zt = ["d", "filter"], Ft = ["stroke", "stroke-width"], Ct = ["stroke", "stroke-width"], Ot = ["stroke", "stroke-width"], Mt = ["stroke", "stroke-width"], Pt = { key: 8 }, Nt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Xt = ["x", "y", "font-size", "font-weight", "fill"], It = { key: 0 }, Yt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], At = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Gt = { key: 1 }, Et = ["d", "fill", "stroke", "stroke-width"], Ut = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Wt = ["x", "y", "font-size", "fill"], jt = {
|
|
14
14
|
key: 5,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
16
|
}, Tt = {
|
|
@@ -29,22 +29,22 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const { vue_ui_gauge: Se } = je(),
|
|
32
|
+
setup(j, { expose: we }) {
|
|
33
|
+
const { vue_ui_gauge: Se } = je(), d = j, I = y(() => !!d.dataset && Object.keys(d.dataset).length > 0 && d.dataset.series && d.dataset.series.length), b = f(Te()), $e = f(null), K = f(0), Y = f(null), Q = f(null), ee = f(null), te = f(null), ae = f(null), le = f(0), e = y({
|
|
34
34
|
get: () => ue(),
|
|
35
35
|
set: (t) => t
|
|
36
|
-
}), { userOptionsVisible:
|
|
37
|
-
pe(() =>
|
|
38
|
-
e.value = ue(),
|
|
36
|
+
}), { userOptionsVisible: T, setUserOptionsVisibility: re, keepUserOptionState: se } = st({ config: e.value }), { svgRef: oe } = ot({ config: e.value.style.chart.title });
|
|
37
|
+
pe(() => d.config, (t) => {
|
|
38
|
+
e.value = ue(), T.value = !e.value.userOptions.showOnChartHover, he(), le.value += 1;
|
|
39
39
|
}, { deep: !0 });
|
|
40
40
|
function ue() {
|
|
41
41
|
const t = xe({
|
|
42
|
-
userConfig:
|
|
42
|
+
userConfig: d.config,
|
|
43
43
|
defaultConfig: Se
|
|
44
44
|
});
|
|
45
45
|
return t.theme ? {
|
|
46
46
|
...xe({
|
|
47
|
-
userConfig: De.vue_ui_gauge[t.theme] ||
|
|
47
|
+
userConfig: De.vue_ui_gauge[t.theme] || d.config,
|
|
48
48
|
defaultConfig: t
|
|
49
49
|
}),
|
|
50
50
|
customPalette: Le[t.theme] || ke
|
|
@@ -54,7 +54,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
54
54
|
elementId: `vue-ui-gauge_${b.value}`,
|
|
55
55
|
fileName: e.value.style.chart.title.text || "vue-ui-gauge"
|
|
56
56
|
}), ze = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = y(() => Be(e.value.customPalette)), F = y(() => {
|
|
57
|
-
if (!I.value || be(
|
|
57
|
+
if (!I.value || be(d.dataset.series || {}))
|
|
58
58
|
return {
|
|
59
59
|
value: 0,
|
|
60
60
|
series: [
|
|
@@ -65,15 +65,15 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
65
65
|
]
|
|
66
66
|
};
|
|
67
67
|
const t = [];
|
|
68
|
-
(
|
|
68
|
+
(d.dataset.series || []).forEach((a) => {
|
|
69
69
|
t.push(a.from || 1e-7), t.push(a.to || 1e-7);
|
|
70
70
|
});
|
|
71
71
|
const o = Math.max(...t);
|
|
72
72
|
return {
|
|
73
|
-
...
|
|
74
|
-
series: (
|
|
73
|
+
...d.dataset,
|
|
74
|
+
series: (d.dataset.series || []).map((a, r) => ({
|
|
75
75
|
...a,
|
|
76
|
-
color: Ve(a.color) || Fe.value[
|
|
76
|
+
color: Ve(a.color) || Fe.value[r] || ke[r],
|
|
77
77
|
value: ((a.to || 0) - (a.from || 0)) / o * 100
|
|
78
78
|
}))
|
|
79
79
|
};
|
|
@@ -93,10 +93,10 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
93
93
|
markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
|
|
94
94
|
segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
|
|
95
95
|
}), M = f(0), $ = f(0), m = f(
|
|
96
|
-
e.value.style.chart.animation.use ? Math.min(...
|
|
96
|
+
e.value.style.chart.animation.use ? Math.min(...d.dataset.series.map((t) => t.from)) : d.dataset.value
|
|
97
97
|
);
|
|
98
|
-
pe(() =>
|
|
99
|
-
ye(
|
|
98
|
+
pe(() => d.dataset.value, () => {
|
|
99
|
+
ye(d.dataset.value);
|
|
100
100
|
});
|
|
101
101
|
const n = y(() => {
|
|
102
102
|
const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((m.value + 0 - $.value) / (M.value - $.value)) + Math.PI;
|
|
@@ -106,47 +106,47 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
106
106
|
x2: t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a),
|
|
107
107
|
y2: o + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a)
|
|
108
108
|
};
|
|
109
|
-
}),
|
|
110
|
-
const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((m.value + 0 - $.value) / (M.value - $.value)) + Math.PI,
|
|
111
|
-
return isNaN(
|
|
112
|
-
}),
|
|
109
|
+
}), de = y(() => {
|
|
110
|
+
const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((m.value + 0 - $.value) / (M.value - $.value)) + Math.PI, r = t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a), _ = o + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a), w = l.value.pointerRadius, Ie = t + w * Math.cos(a + Math.PI / 2), Ye = o + w * Math.sin(a + Math.PI / 2), Ae = t + w * Math.cos(a - Math.PI / 2), Re = o + w * Math.sin(a - Math.PI / 2);
|
|
111
|
+
return isNaN(r) ? null : `M ${r},${_} ${Ie},${Ye} ${Ae},${Re} Z`;
|
|
112
|
+
}), L = y(() => {
|
|
113
113
|
for (let t = 0; t < F.value.series.length; t += 1) {
|
|
114
|
-
const { color: o, from: a, to:
|
|
115
|
-
if (m.value >= a && m.value <=
|
|
114
|
+
const { color: o, from: a, to: r } = F.value.series[t];
|
|
115
|
+
if (m.value >= a && m.value <= r)
|
|
116
116
|
return o;
|
|
117
117
|
}
|
|
118
118
|
return "#2D353C";
|
|
119
119
|
}), A = f(null);
|
|
120
|
-
function
|
|
121
|
-
if (be(
|
|
120
|
+
function he() {
|
|
121
|
+
if (be(d.dataset) ? W({
|
|
122
122
|
componentName: "VueUiGauge",
|
|
123
123
|
type: "dataset"
|
|
124
124
|
}) : (_e({
|
|
125
|
-
datasetObject:
|
|
125
|
+
datasetObject: d.dataset,
|
|
126
126
|
requiredAttributes: ["value", "series"]
|
|
127
127
|
}).forEach((t) => {
|
|
128
|
-
|
|
128
|
+
W({
|
|
129
129
|
componentName: "VueUiGauge",
|
|
130
130
|
type: "datasetAttribute",
|
|
131
131
|
property: t
|
|
132
132
|
});
|
|
133
|
-
}), Object.hasOwn(
|
|
133
|
+
}), Object.hasOwn(d.dataset, "series") && (d.dataset.series.length ? d.dataset.series.forEach((t, o) => {
|
|
134
134
|
_e({
|
|
135
135
|
datasetObject: t,
|
|
136
136
|
requiredAttributes: ["from", "to"]
|
|
137
137
|
}).forEach((a) => {
|
|
138
|
-
|
|
138
|
+
W({
|
|
139
139
|
componentName: "VueUiGauge",
|
|
140
140
|
type: "datasetSerieAttribute",
|
|
141
141
|
property: a,
|
|
142
142
|
index: o
|
|
143
143
|
});
|
|
144
144
|
});
|
|
145
|
-
}) :
|
|
145
|
+
}) : W({
|
|
146
146
|
componentName: "VueUiGauge",
|
|
147
147
|
type: "datasetAttributeEmpty",
|
|
148
148
|
property: "series"
|
|
149
|
-
}))), ye(
|
|
149
|
+
}))), ye(d.dataset.value || 0), e.value.responsive) {
|
|
150
150
|
const t = Je(() => {
|
|
151
151
|
const { width: o, height: a } = Ke({
|
|
152
152
|
chart: Y.value,
|
|
@@ -181,19 +181,19 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
Ge(() => {
|
|
184
|
-
|
|
184
|
+
he();
|
|
185
185
|
}), Ee(() => {
|
|
186
186
|
A.value && A.value.disconnect();
|
|
187
187
|
});
|
|
188
188
|
function ye(t) {
|
|
189
189
|
const o = [];
|
|
190
|
-
(F.value.series || []).forEach((
|
|
191
|
-
o.push(
|
|
190
|
+
(F.value.series || []).forEach((w) => {
|
|
191
|
+
o.push(w.from || 0), o.push(w.to || 0);
|
|
192
192
|
}), M.value = Math.max(...o), $.value = Math.min(...o);
|
|
193
193
|
let a = e.value.style.chart.animation.speed;
|
|
194
|
-
const
|
|
194
|
+
const r = Math.abs(t - m.value) / (a * 60);
|
|
195
195
|
function _() {
|
|
196
|
-
m.value < t ? m.value = Math.min(m.value +
|
|
196
|
+
m.value < t ? m.value = Math.min(m.value + r, t) : m.value > t && (m.value = Math.max(m.value - r, t)), m.value !== t && requestAnimationFrame(_);
|
|
197
197
|
}
|
|
198
198
|
_();
|
|
199
199
|
}
|
|
@@ -206,7 +206,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
206
206
|
ratingBase: e.value.responsive ? l.value.height / 2 + l.value.height / 4 : l.value.height * 0.9,
|
|
207
207
|
pointerSize: e.value.responsive ? Math.min(l.value.width, l.value.height) / 3 : l.value.width / 3.2
|
|
208
208
|
};
|
|
209
|
-
}),
|
|
209
|
+
}), h = y(() => V(
|
|
210
210
|
{ series: F.value.series },
|
|
211
211
|
l.value.width / 2,
|
|
212
212
|
v.value.base,
|
|
@@ -230,45 +230,45 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
230
230
|
180,
|
|
231
231
|
109.9495,
|
|
232
232
|
40 * l.value.trackSize
|
|
233
|
-
)), C = y(() =>
|
|
233
|
+
)), C = y(() => h.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), fe = y(() => {
|
|
234
234
|
const { x: t, y: o } = z({
|
|
235
|
-
initX:
|
|
236
|
-
initY:
|
|
235
|
+
initX: h.value[0].firstSeparator.x,
|
|
236
|
+
initY: h.value[0].firstSeparator.y,
|
|
237
237
|
centerX: n.value.x1,
|
|
238
238
|
centerY: n.value.y1,
|
|
239
239
|
offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
|
|
240
|
-
}), { x: a, y:
|
|
241
|
-
initX:
|
|
242
|
-
initY:
|
|
240
|
+
}), { x: a, y: r } = z({
|
|
241
|
+
initX: h.value[0].startX,
|
|
242
|
+
initY: h.value[0].startY,
|
|
243
243
|
centerX: n.value.x1,
|
|
244
244
|
centerY: n.value.y1,
|
|
245
245
|
offset: e.value.style.chart.layout.segmentSeparators.offsetOut
|
|
246
246
|
});
|
|
247
|
-
return { x1: t, y1: o, x2: a, y2:
|
|
248
|
-
}), me = y(() =>
|
|
247
|
+
return { x1: t, y1: o, x2: a, y2: r };
|
|
248
|
+
}), me = y(() => h.value.map((t) => {
|
|
249
249
|
const { x: o, y: a } = z({
|
|
250
250
|
initX: t.separator.x,
|
|
251
251
|
initY: t.separator.y,
|
|
252
252
|
centerX: n.value.x1,
|
|
253
253
|
centerY: n.value.y1,
|
|
254
254
|
offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
|
|
255
|
-
}), { x:
|
|
255
|
+
}), { x: r, y: _ } = z({
|
|
256
256
|
initX: t.endX,
|
|
257
257
|
initY: t.endY,
|
|
258
258
|
centerX: n.value.x1,
|
|
259
259
|
centerY: n.value.y1,
|
|
260
260
|
offset: e.value.style.chart.layout.segmentSeparators.offsetOut
|
|
261
261
|
});
|
|
262
|
-
return { x1: o, y1: a, x2:
|
|
262
|
+
return { x1: o, y1: a, x2: r, y2: _ };
|
|
263
263
|
}));
|
|
264
264
|
function Oe(t) {
|
|
265
|
-
if (t.reduce((_,
|
|
265
|
+
if (t.reduce((_, w) => _ + w, 0) > 100)
|
|
266
266
|
throw new Error("Total % must not exceed 100");
|
|
267
267
|
const a = 50;
|
|
268
|
-
let
|
|
269
|
-
return t.map((_) => (
|
|
268
|
+
let r = 0;
|
|
269
|
+
return t.map((_) => (r += _, `${r / 100 * a - _ / 4}%`));
|
|
270
270
|
}
|
|
271
|
-
const Me = y(() => Oe(
|
|
271
|
+
const Me = y(() => Oe(h.value.map((t) => t.proportion * 100))), Pe = y(() => V(
|
|
272
272
|
{ series: F.value.series },
|
|
273
273
|
l.value.width / 2,
|
|
274
274
|
v.value.base,
|
|
@@ -290,49 +290,49 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
290
290
|
percentage: (m.value + t) / (M.value + t)
|
|
291
291
|
}
|
|
292
292
|
);
|
|
293
|
-
}),
|
|
293
|
+
}), N = f(!1);
|
|
294
294
|
function Xe(t) {
|
|
295
|
-
|
|
295
|
+
N.value = t, K.value += 1;
|
|
296
296
|
}
|
|
297
297
|
const R = f(!1);
|
|
298
|
-
function
|
|
298
|
+
function D() {
|
|
299
299
|
R.value = !R.value;
|
|
300
300
|
}
|
|
301
301
|
return we({
|
|
302
302
|
generatePdf: ce,
|
|
303
303
|
generateImage: ve,
|
|
304
|
-
toggleAnnotator:
|
|
305
|
-
}), (t, o) => (
|
|
306
|
-
class: ge(`vue-ui-gauge ${
|
|
304
|
+
toggleAnnotator: D
|
|
305
|
+
}), (t, o) => (s(), u("div", {
|
|
306
|
+
class: ge(`vue-ui-gauge ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
307
307
|
ref_key: "gaugeChart",
|
|
308
308
|
ref: Y,
|
|
309
309
|
id: `vue-ui-gauge_${b.value}`,
|
|
310
|
-
style:
|
|
310
|
+
style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
311
311
|
onMouseenter: o[0] || (o[0] = () => i(re)(!0)),
|
|
312
312
|
onMouseleave: o[1] || (o[1] = () => i(re)(!1))
|
|
313
313
|
}, [
|
|
314
|
-
e.value.userOptions.buttons.annotator ? (
|
|
314
|
+
e.value.userOptions.buttons.annotator ? (s(), G(rt, {
|
|
315
315
|
key: 0,
|
|
316
316
|
svgRef: i(oe),
|
|
317
317
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
318
318
|
color: e.value.style.chart.color,
|
|
319
319
|
active: R.value,
|
|
320
|
-
onClose:
|
|
320
|
+
onClose: D
|
|
321
321
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
322
|
-
ze.value ? (
|
|
322
|
+
ze.value ? (s(), u("div", {
|
|
323
323
|
key: 1,
|
|
324
324
|
ref_key: "noTitle",
|
|
325
325
|
ref: ae,
|
|
326
326
|
class: "vue-data-ui-no-title-space",
|
|
327
327
|
style: "height:36px; width: 100%;background:transparent"
|
|
328
328
|
}, null, 512)) : c("", !0),
|
|
329
|
-
e.value.style.chart.title.text ? (
|
|
329
|
+
e.value.style.chart.title.text ? (s(), u("div", {
|
|
330
330
|
key: 2,
|
|
331
331
|
ref_key: "chartTitle",
|
|
332
332
|
ref: Q,
|
|
333
333
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
334
334
|
}, [
|
|
335
|
-
(
|
|
335
|
+
(s(), G(at, {
|
|
336
336
|
key: `title_${le.value}`,
|
|
337
337
|
config: {
|
|
338
338
|
title: {
|
|
@@ -345,13 +345,13 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}, {
|
|
348
|
-
default:
|
|
349
|
-
e.value.translations.base &&
|
|
348
|
+
default: P(() => [
|
|
349
|
+
e.value.translations.base && j.dataset.base ? (s(), u("span", it, O(e.value.translations.base) + ": " + O(j.dataset.base), 1)) : c("", !0)
|
|
350
350
|
]),
|
|
351
351
|
_: 1
|
|
352
352
|
}, 8, ["config"]))
|
|
353
353
|
], 512)) : c("", !0),
|
|
354
|
-
e.value.userOptions.show && I.value && (i(se) || i(
|
|
354
|
+
e.value.userOptions.show && I.value && (i(se) || i(T)) ? (s(), G(et, {
|
|
355
355
|
ref_key: "details",
|
|
356
356
|
ref: $e,
|
|
357
357
|
key: `user_options_${K.value}`,
|
|
@@ -364,7 +364,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
364
364
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
365
365
|
hasImg: e.value.userOptions.buttons.img,
|
|
366
366
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
367
|
-
isFullscreen:
|
|
367
|
+
isFullscreen: N.value,
|
|
368
368
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
369
369
|
chartElement: Y.value,
|
|
370
370
|
position: e.value.userOptions.position,
|
|
@@ -373,51 +373,58 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
373
373
|
onToggleFullscreen: Xe,
|
|
374
374
|
onGeneratePdf: i(ce),
|
|
375
375
|
onGenerateImage: i(ve),
|
|
376
|
-
onToggleAnnotator:
|
|
377
|
-
style:
|
|
378
|
-
visibility: i(se) ? i(
|
|
376
|
+
onToggleAnnotator: D,
|
|
377
|
+
style: B({
|
|
378
|
+
visibility: i(se) ? i(T) ? "visible" : "hidden" : "visible"
|
|
379
379
|
})
|
|
380
380
|
}, Ue({ _: 2 }, [
|
|
381
|
+
t.$slots.menuIcon ? {
|
|
382
|
+
name: "menuIcon",
|
|
383
|
+
fn: P(({ isOpen: a, color: r }) => [
|
|
384
|
+
x(t.$slots, "menuIcon", E(U({ isOpen: a, color: r })), void 0, !0)
|
|
385
|
+
]),
|
|
386
|
+
key: "0"
|
|
387
|
+
} : void 0,
|
|
381
388
|
t.$slots.optionPdf ? {
|
|
382
389
|
name: "optionPdf",
|
|
383
|
-
fn:
|
|
384
|
-
|
|
390
|
+
fn: P(() => [
|
|
391
|
+
x(t.$slots, "optionPdf", {}, void 0, !0)
|
|
385
392
|
]),
|
|
386
|
-
key: "
|
|
393
|
+
key: "1"
|
|
387
394
|
} : void 0,
|
|
388
395
|
t.$slots.optionImg ? {
|
|
389
396
|
name: "optionImg",
|
|
390
|
-
fn:
|
|
391
|
-
|
|
397
|
+
fn: P(() => [
|
|
398
|
+
x(t.$slots, "optionImg", {}, void 0, !0)
|
|
392
399
|
]),
|
|
393
|
-
key: "
|
|
400
|
+
key: "2"
|
|
394
401
|
} : void 0,
|
|
395
402
|
t.$slots.optionFullscreen ? {
|
|
396
403
|
name: "optionFullscreen",
|
|
397
|
-
fn:
|
|
398
|
-
|
|
404
|
+
fn: P(({ toggleFullscreen: a, isFullscreen: r }) => [
|
|
405
|
+
x(t.$slots, "optionFullscreen", E(U({ toggleFullscreen: a, isFullscreen: r })), void 0, !0)
|
|
399
406
|
]),
|
|
400
|
-
key: "
|
|
407
|
+
key: "3"
|
|
401
408
|
} : void 0,
|
|
402
409
|
t.$slots.optionAnnotator ? {
|
|
403
410
|
name: "optionAnnotator",
|
|
404
|
-
fn:
|
|
405
|
-
|
|
411
|
+
fn: P(({ toggleAnnotator: a, isAnnotator: r }) => [
|
|
412
|
+
x(t.$slots, "optionAnnotator", E(U({ toggleAnnotator: a, isAnnotator: r })), void 0, !0)
|
|
406
413
|
]),
|
|
407
|
-
key: "
|
|
414
|
+
key: "4"
|
|
408
415
|
} : void 0
|
|
409
416
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
410
|
-
I.value ? (
|
|
417
|
+
I.value ? (s(), u("svg", {
|
|
411
418
|
key: 4,
|
|
412
419
|
ref_key: "svgRef",
|
|
413
420
|
ref: oe,
|
|
414
421
|
xmlns: i(He),
|
|
415
|
-
class: ge({ "vue-data-ui-fullscreen--on":
|
|
422
|
+
class: ge({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
416
423
|
viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
|
|
417
|
-
style:
|
|
424
|
+
style: B(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
418
425
|
}, [
|
|
419
426
|
We(lt),
|
|
420
|
-
t.$slots["chart-background"] ? (
|
|
427
|
+
t.$slots["chart-background"] ? (s(), u("foreignObject", {
|
|
421
428
|
key: 0,
|
|
422
429
|
x: 0,
|
|
423
430
|
y: 0,
|
|
@@ -427,7 +434,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
427
434
|
pointerEvents: "none"
|
|
428
435
|
}
|
|
429
436
|
}, [
|
|
430
|
-
|
|
437
|
+
x(t.$slots, "chart-background", {}, void 0, !0)
|
|
431
438
|
], 8, vt)) : c("", !0),
|
|
432
439
|
p("defs", null, [
|
|
433
440
|
p("radialGradient", {
|
|
@@ -441,7 +448,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
441
448
|
p("stop", {
|
|
442
449
|
offset: "0%",
|
|
443
450
|
"stop-color": i(q)("#FFFFFF", 1)
|
|
444
|
-
}, null, 8,
|
|
451
|
+
}, null, 8, ht),
|
|
445
452
|
p("stop", {
|
|
446
453
|
offset: "80%",
|
|
447
454
|
"stop-color": i(q)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
|
|
@@ -450,7 +457,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
450
457
|
offset: "100%",
|
|
451
458
|
"stop-color": i(q)("#FFFFFF", 1)
|
|
452
459
|
}, null, 8, ft)
|
|
453
|
-
], 8,
|
|
460
|
+
], 8, dt)
|
|
454
461
|
]),
|
|
455
462
|
p("defs", null, [
|
|
456
463
|
p("filter", {
|
|
@@ -466,49 +473,49 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
466
473
|
}, null, 8, pt)
|
|
467
474
|
], 8, mt)
|
|
468
475
|
]),
|
|
469
|
-
t.$slots.pattern ? (
|
|
470
|
-
(
|
|
471
|
-
|
|
476
|
+
t.$slots.pattern ? (s(), u("g", gt, [
|
|
477
|
+
(s(!0), u(g, null, S(h.value, (a, r) => (s(), u("defs", null, [
|
|
478
|
+
x(t.$slots, "pattern", X({ ref_for: !0 }, { seriesIndex: r, patternId: `pattern_${b.value}_${r}` }), void 0, !0)
|
|
472
479
|
]))), 256))
|
|
473
480
|
])) : c("", !0),
|
|
474
|
-
(
|
|
475
|
-
key: `arc_${
|
|
481
|
+
(s(!0), u(g, null, S(h.value, (a, r) => (s(), u("path", {
|
|
482
|
+
key: `arc_${r}`,
|
|
476
483
|
d: a.arcSlice,
|
|
477
484
|
fill: a.color,
|
|
478
485
|
stroke: e.value.style.chart.backgroundColor,
|
|
479
486
|
"stroke-linecap": "round"
|
|
480
487
|
}, null, 8, kt))), 128)),
|
|
481
|
-
t.$slots.pattern ? (
|
|
482
|
-
key: `arc_${
|
|
488
|
+
t.$slots.pattern ? (s(!0), u(g, { key: 2 }, S(h.value, (a, r) => (s(), u("path", {
|
|
489
|
+
key: `arc_${r}`,
|
|
483
490
|
d: a.arcSlice,
|
|
484
|
-
fill: `url(#pattern_${b.value}_${
|
|
491
|
+
fill: `url(#pattern_${b.value}_${r})`,
|
|
485
492
|
stroke: e.value.style.chart.backgroundColor,
|
|
486
493
|
"stroke-linecap": "round"
|
|
487
494
|
}, null, 8, bt))), 128)) : c("", !0),
|
|
488
|
-
e.value.style.chart.layout.indicatorArc.show ? (
|
|
495
|
+
e.value.style.chart.layout.indicatorArc.show ? (s(), u("path", {
|
|
489
496
|
key: 3,
|
|
490
497
|
d: Ne.value,
|
|
491
498
|
fill: e.value.style.chart.layout.indicatorArc.fill
|
|
492
499
|
}, null, 8, _t)) : c("", !0),
|
|
493
|
-
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (
|
|
494
|
-
(
|
|
495
|
-
id: `curve_${b.value}_${
|
|
496
|
-
d: `M ${n.value.x1},${n.value.y1} m -${C.value[
|
|
500
|
+
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (s(), u(g, { key: 4 }, [
|
|
501
|
+
(s(!0), u(g, null, S(h.value, (a, r) => (s(), u("path", {
|
|
502
|
+
id: `curve_${b.value}_${r}`,
|
|
503
|
+
d: `M ${n.value.x1},${n.value.y1} m -${C.value[r]},0 a ${C.value[r]},${C.value[r]} 0 1,1 ${2 * C.value[r]},0 a ${C.value[r]},${C.value[r]} 0 1,1 -${2 * C.value[r]},0`,
|
|
497
504
|
fill: "transparent"
|
|
498
505
|
}, null, 8, xt))), 256)),
|
|
499
|
-
(
|
|
506
|
+
(s(!0), u(g, null, S(h.value, (a, r) => (s(), u("text", {
|
|
500
507
|
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
501
508
|
"font-size": l.value.segmentFontSize,
|
|
502
509
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
503
510
|
"text-anchor": "middle"
|
|
504
511
|
}, [
|
|
505
512
|
p("textPath", {
|
|
506
|
-
href: `#curve_${b.value}_${
|
|
507
|
-
startOffset: Me.value[
|
|
513
|
+
href: `#curve_${b.value}_${r}`,
|
|
514
|
+
startOffset: Me.value[r]
|
|
508
515
|
}, O(a.name || ""), 9, St)
|
|
509
516
|
], 8, wt))), 256))
|
|
510
517
|
], 64)) : c("", !0),
|
|
511
|
-
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (
|
|
518
|
+
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (s(!0), u(g, { key: 5 }, S(Ce.value, (a, r) => (s(), u("text", {
|
|
512
519
|
x: a.center.endX,
|
|
513
520
|
y: a.center.endY,
|
|
514
521
|
"text-anchor": i(Ze)(a, !1, 12).anchor,
|
|
@@ -516,15 +523,15 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
516
523
|
"font-size": l.value.segmentFontSize,
|
|
517
524
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal"
|
|
518
525
|
}, O(a.name || ""), 9, $t))), 256)) : c("", !0),
|
|
519
|
-
e.value.style.chart.layout.track.useGradient ? (
|
|
520
|
-
key: `arc_${
|
|
526
|
+
e.value.style.chart.layout.track.useGradient ? (s(!0), u(g, { key: 6 }, S(Pe.value, (a, r) => (s(), u("path", {
|
|
527
|
+
key: `arc_${r}`,
|
|
521
528
|
d: a.arcSlice,
|
|
522
529
|
fill: "#FFFFFF",
|
|
523
530
|
stroke: "none",
|
|
524
531
|
"stroke-linecap": "round",
|
|
525
532
|
filter: `url(#blur_${b.value})`
|
|
526
533
|
}, null, 8, zt))), 128)) : c("", !0),
|
|
527
|
-
e.value.style.chart.layout.segmentSeparators.show ? (
|
|
534
|
+
e.value.style.chart.layout.segmentSeparators.show ? (s(), u(g, { key: 7 }, [
|
|
528
535
|
p("line", X(fe.value, {
|
|
529
536
|
stroke: e.value.style.chart.backgroundColor,
|
|
530
537
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
@@ -535,19 +542,19 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
535
542
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
536
543
|
"stroke-linecap": "round"
|
|
537
544
|
}), null, 16, Ct),
|
|
538
|
-
(
|
|
545
|
+
(s(!0), u(g, null, S(me.value, (a) => (s(), u("line", X({ ref_for: !0 }, a, {
|
|
539
546
|
stroke: e.value.style.chart.backgroundColor,
|
|
540
547
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
541
548
|
"stroke-linecap": "round"
|
|
542
549
|
}), null, 16, Ot))), 256)),
|
|
543
|
-
(
|
|
550
|
+
(s(!0), u(g, null, S(me.value, (a) => (s(), u("line", X({ ref_for: !0 }, a, {
|
|
544
551
|
stroke: e.value.style.chart.layout.segmentSeparators.stroke,
|
|
545
552
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
546
553
|
"stroke-linecap": "round"
|
|
547
554
|
}), null, 16, Mt))), 256))
|
|
548
555
|
], 64)) : c("", !0),
|
|
549
|
-
e.value.style.chart.layout.markers.show ? (
|
|
550
|
-
(
|
|
556
|
+
e.value.style.chart.layout.markers.show ? (s(), u("g", Pt, [
|
|
557
|
+
(s(!0), u(g, null, S(h.value, (a, r) => (s(), u("text", {
|
|
551
558
|
x: i(z)({
|
|
552
559
|
centerX: n.value.x1,
|
|
553
560
|
centerY: v.value.base,
|
|
@@ -577,20 +584,20 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
577
584
|
})
|
|
578
585
|
)), 9, Nt))), 256))
|
|
579
586
|
])) : c("", !0),
|
|
580
|
-
e.value.style.chart.layout.markers.show ? (
|
|
587
|
+
e.value.style.chart.layout.markers.show ? (s(), u("text", {
|
|
581
588
|
key: 9,
|
|
582
589
|
x: i(z)({
|
|
583
590
|
centerX: l.value.width / 2,
|
|
584
591
|
centerY: v.value.base,
|
|
585
|
-
initX:
|
|
586
|
-
initY:
|
|
592
|
+
initX: h.value.at(-1).endX,
|
|
593
|
+
initY: h.value.at(-1).endY,
|
|
587
594
|
offset: l.value.markerOffset
|
|
588
595
|
}).x,
|
|
589
596
|
y: i(z)({
|
|
590
597
|
centerX: l.value.width / 2,
|
|
591
598
|
centerY: v.value.base,
|
|
592
|
-
initX:
|
|
593
|
-
initY:
|
|
599
|
+
initX: h.value.at(-1).endX,
|
|
600
|
+
initY: h.value.at(-1).endY,
|
|
594
601
|
offset: l.value.markerOffset
|
|
595
602
|
}).y,
|
|
596
603
|
"text-anchor": "start",
|
|
@@ -607,9 +614,9 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
607
614
|
r: e.value.style.chart.layout.markers.roundingValue
|
|
608
615
|
})
|
|
609
616
|
)), 9, Xt)) : c("", !0),
|
|
610
|
-
e.value.style.chart.layout.pointer.show ? (
|
|
611
|
-
e.value.style.chart.layout.pointer.type === "rounded" ? (
|
|
612
|
-
isNaN(n.value.x2) ? c("", !0) : (
|
|
617
|
+
e.value.style.chart.layout.pointer.show ? (s(), u(g, { key: 10 }, [
|
|
618
|
+
e.value.style.chart.layout.pointer.type === "rounded" ? (s(), u("g", It, [
|
|
619
|
+
isNaN(n.value.x2) ? c("", !0) : (s(), u("line", {
|
|
613
620
|
key: 0,
|
|
614
621
|
x1: n.value.x1,
|
|
615
622
|
y1: n.value.y1,
|
|
@@ -619,17 +626,17 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
619
626
|
"stroke-width": l.value.pointerStrokeWidth,
|
|
620
627
|
"stroke-linecap": "round"
|
|
621
628
|
}, null, 8, Yt)),
|
|
622
|
-
isNaN(n.value.x2) ? c("", !0) : (
|
|
629
|
+
isNaN(n.value.x2) ? c("", !0) : (s(), u("line", {
|
|
623
630
|
key: 1,
|
|
624
631
|
x1: n.value.x1,
|
|
625
632
|
y1: n.value.y1,
|
|
626
633
|
x2: n.value.x2,
|
|
627
634
|
y2: n.value.y2,
|
|
628
|
-
stroke: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
635
|
+
stroke: e.value.style.chart.layout.pointer.useRatingColor ? L.value : e.value.style.chart.layout.pointer.color,
|
|
629
636
|
"stroke-linecap": "round",
|
|
630
637
|
"stroke-width": l.value.pointerStrokeWidth * 0.7
|
|
631
638
|
}, null, 8, At)),
|
|
632
|
-
!isNaN(n.value.x2) && e.value.style.chart.layout.track.useGradient ? (
|
|
639
|
+
!isNaN(n.value.x2) && e.value.style.chart.layout.track.useGradient ? (s(), u("line", {
|
|
633
640
|
key: 2,
|
|
634
641
|
x1: n.value.x1,
|
|
635
642
|
y1: n.value.y1,
|
|
@@ -640,11 +647,11 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
640
647
|
"stroke-width": l.value.pointerStrokeWidth * 0.3,
|
|
641
648
|
filter: `url(#blur_${b.value})`
|
|
642
649
|
}, null, 8, Rt)) : c("", !0)
|
|
643
|
-
])) : (
|
|
644
|
-
|
|
650
|
+
])) : (s(), u("g", Gt, [
|
|
651
|
+
de.value ? (s(), u("path", {
|
|
645
652
|
key: 0,
|
|
646
|
-
d:
|
|
647
|
-
fill: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
653
|
+
d: de.value,
|
|
654
|
+
fill: e.value.style.chart.layout.pointer.useRatingColor ? L.value : e.value.style.chart.layout.pointer.color,
|
|
648
655
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
649
656
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
650
657
|
"stroke-linejoin": "round"
|
|
@@ -659,14 +666,14 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
659
666
|
stroke: e.value.style.chart.layout.pointer.circle.stroke
|
|
660
667
|
}, null, 8, Ut)
|
|
661
668
|
], 64)) : c("", !0),
|
|
662
|
-
e.value.style.chart.legend.show ? (
|
|
669
|
+
e.value.style.chart.legend.show ? (s(), u("text", {
|
|
663
670
|
key: 11,
|
|
664
671
|
x: l.value.width / 2,
|
|
665
672
|
y: v.value.ratingBase,
|
|
666
673
|
"text-anchor": "middle",
|
|
667
674
|
"font-size": l.value.legendFontSize,
|
|
668
675
|
"font-weight": "bold",
|
|
669
|
-
fill: e.value.style.chart.legend.useRatingColor ?
|
|
676
|
+
fill: e.value.style.chart.legend.useRatingColor ? L.value : e.value.style.chart.legend.color
|
|
670
677
|
}, O(i(H)(
|
|
671
678
|
e.value.style.chart.legend.formatter,
|
|
672
679
|
m.value,
|
|
@@ -677,12 +684,12 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
677
684
|
r: e.value.style.chart.legend.roundingValue
|
|
678
685
|
})
|
|
679
686
|
)), 9, Wt)) : c("", !0),
|
|
680
|
-
|
|
687
|
+
x(t.$slots, "svg", { svg: l.value }, void 0, !0)
|
|
681
688
|
], 14, ct)) : c("", !0),
|
|
682
|
-
t.$slots.watermark ? (
|
|
683
|
-
|
|
689
|
+
t.$slots.watermark ? (s(), u("div", jt, [
|
|
690
|
+
x(t.$slots, "watermark", E(U({ isPrinting: i(ne) || i(ie) })), void 0, !0)
|
|
684
691
|
])) : c("", !0),
|
|
685
|
-
I.value ? c("", !0) : (
|
|
692
|
+
I.value ? c("", !0) : (s(), G(tt, {
|
|
686
693
|
key: 6,
|
|
687
694
|
config: {
|
|
688
695
|
type: "gauge",
|
|
@@ -698,19 +705,19 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
698
705
|
ref_key: "chartLegend",
|
|
699
706
|
ref: ee
|
|
700
707
|
}, [
|
|
701
|
-
|
|
708
|
+
x(t.$slots, "legend", { legend: F.value }, void 0, !0)
|
|
702
709
|
], 512),
|
|
703
|
-
t.$slots.source ? (
|
|
710
|
+
t.$slots.source ? (s(), u("div", {
|
|
704
711
|
key: 7,
|
|
705
712
|
ref_key: "source",
|
|
706
713
|
ref: te,
|
|
707
714
|
dir: "auto"
|
|
708
715
|
}, [
|
|
709
|
-
|
|
716
|
+
x(t.$slots, "source", {}, void 0, !0)
|
|
710
717
|
], 512)) : c("", !0)
|
|
711
718
|
], 46, nt));
|
|
712
719
|
}
|
|
713
|
-
}, aa = /* @__PURE__ */ ut(Tt, [["__scopeId", "data-v-
|
|
720
|
+
}, aa = /* @__PURE__ */ ut(Tt, [["__scopeId", "data-v-77aa3ab1"]]);
|
|
714
721
|
export {
|
|
715
722
|
aa as default
|
|
716
723
|
};
|