vue-data-ui 2.4.58 → 2.4.60
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 +82 -51
- package/dist/{Arrow-gAjHZoeI.js → Arrow-BLYi22nR.js} +1 -1
- package/dist/{Arrow-DyvFEpcu.cjs → Arrow-BoAS4IQq.cjs} +1 -1
- package/dist/{BaseIcon-DKQOeA_7.cjs → BaseIcon-BHIQREMO.cjs} +1 -1
- package/dist/{BaseIcon-B0g_Fksl.js → BaseIcon-EWtqg17H.js} +1 -1
- package/dist/{DataTable-BloVsNyj.js → DataTable-DO8KGCcE.js} +2 -2
- package/dist/{DataTable-Bju6hUOX.cjs → DataTable-Dtq94CxH.cjs} +1 -1
- package/dist/{Legend-BsPIe_nG.cjs → Legend-CMyzYtIb.cjs} +1 -1
- package/dist/{Legend-CdpH9pz7.js → Legend-DGWOCyLt.js} +1 -1
- package/dist/{PackageVersion-W3d_oNMs.js → PackageVersion-BSLNI6kk.js} +1 -1
- package/dist/{PackageVersion-Bmujq1-q.cjs → PackageVersion-B_1OHk5A.cjs} +1 -1
- package/dist/{PenAndPaper-xuFs3BqZ.js → PenAndPaper-CxMtGtJt.js} +3 -3
- package/dist/{PenAndPaper-Be8tn5wI.cjs → PenAndPaper-DhXsAnuf.cjs} +1 -1
- package/dist/{Shape-CXTDY_Vo.js → Shape-DnqZey62.js} +1 -1
- package/dist/{Shape-Cx89w9Ul.cjs → Shape-y66NSXKp.cjs} +1 -1
- package/dist/{Slicer-HGyFRIya.cjs → Slicer-CkI4c7ft.cjs} +1 -1
- package/dist/{Slicer-ENfxtrty.js → Slicer-D9bKLcPd.js} +2 -2
- package/dist/{Title-1u-GspsX.js → Title-CSqO5Y62.js} +1 -1
- package/dist/{Title-CNO85jNx.cjs → Title-DjAOcuWO.cjs} +1 -1
- package/dist/{Tooltip-DQOeAhx3.cjs → Tooltip-AHTiRuWB.cjs} +1 -1
- package/dist/{Tooltip-B-1Q-Tts.js → Tooltip-D_6iYZSH.js} +1 -1
- package/dist/documentation/installation.md +48 -48
- package/dist/index-CgZGelSi.cjs +9 -0
- package/dist/{index-BSzkwF5n.js → index-D7dTQAhm.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CSKuqs0C.cjs → useNestedProp-BxCE3J3Z.cjs} +1 -1
- package/dist/{useNestedProp-BWC_DPZ5.js → useNestedProp-Dqsj7eUX.js} +1 -1
- package/dist/{usePrinter-DtwWejoO.js → usePrinter-B_Ihuvge.js} +1 -1
- package/dist/{usePrinter-D-iwyLyE.cjs → usePrinter-sTw1FdN_.cjs} +1 -1
- package/dist/{vue-data-ui-Com866XF.cjs → vue-data-ui-BttN99Pm.cjs} +1 -1
- package/dist/{vue-data-ui-jb1K_VTO.js → vue-data-ui-CcmpjOfT.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-8ewYobNj.cjs +19 -0
- package/dist/{vue-ui-3d-bar-Cqc5gqnb.js → vue-ui-3d-bar-TVrDBG5I.js} +170 -158
- package/dist/{vue-ui-accordion-lCjQo2kd.cjs → vue-ui-accordion-BZH6cz4t.cjs} +1 -1
- package/dist/{vue-ui-accordion-CJdfn7N-.js → vue-ui-accordion-lCiFhb8k.js} +3 -3
- package/dist/vue-ui-age-pyramid-BqL8zDjt.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-D89kDZnF.js → vue-ui-age-pyramid-rHtMf5-R.js} +176 -164
- package/dist/{vue-ui-annotator-Cf-zFFmT.js → vue-ui-annotator-DHgSReIY.js} +1 -1
- package/dist/{vue-ui-annotator-muK3_F6c.cjs → vue-ui-annotator-fZIPfk7y.cjs} +1 -1
- package/dist/vue-ui-bullet-48af9PqJ.cjs +34 -0
- package/dist/{vue-ui-bullet-CT5Gkoot.js → vue-ui-bullet-BwhlvcvA.js} +155 -143
- package/dist/vue-ui-candlestick-Ce3tBGpX.cjs +2 -0
- package/dist/{vue-ui-candlestick-DmsHITZF.js → vue-ui-candlestick-dMIrnPD6.js} +96 -84
- package/dist/{vue-ui-carousel-table-N7QL7jRR.js → vue-ui-carousel-table-EcwgqGoI.js} +97 -95
- package/dist/vue-ui-carousel-table-ZhjRbt5-.cjs +1 -0
- package/dist/vue-ui-chestnut-VbrVVUon.cjs +6 -0
- package/dist/{vue-ui-chestnut-C7b1puxs.js → vue-ui-chestnut-vnOyc43k.js} +160 -148
- package/dist/{vue-ui-cursor-BOS7Yvio.cjs → vue-ui-cursor-BdXcdH2e.cjs} +1 -1
- package/dist/{vue-ui-cursor-CAnOat4M.js → vue-ui-cursor-nMbvzf_R.js} +2 -2
- package/dist/{vue-ui-dashboard-OzgTaY3n.js → vue-ui-dashboard-BtaQn50h.js} +2 -2
- package/dist/{vue-ui-dashboard-DI22fn9M.cjs → vue-ui-dashboard-CboN2WC8.cjs} +1 -1
- package/dist/{vue-ui-digits-DGP4EmpQ.cjs → vue-ui-digits-CUvrlpPz.cjs} +1 -1
- package/dist/{vue-ui-digits-DCm2stj-.js → vue-ui-digits-CVfceh4-.js} +2 -2
- package/dist/vue-ui-donut-BckYXDZJ.cjs +1 -0
- package/dist/{vue-ui-donut-BilWHtZy.js → vue-ui-donut-CgYNthls.js} +292 -280
- package/dist/vue-ui-donut-evolution-BhlBp6R-.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DKmnEHH_.js → vue-ui-donut-evolution-Bose25D6.js} +285 -273
- package/dist/vue-ui-dumbbell-C2iT17s8.cjs +9 -0
- package/dist/{vue-ui-dumbbell-KwkTK5_q.js → vue-ui-dumbbell-CzSlukSu.js} +159 -147
- package/dist/vue-ui-flow-DDlFrtkk.cjs +1 -0
- package/dist/{vue-ui-flow-BShJPhpa.js → vue-ui-flow-DoDWK84L.js} +162 -150
- package/dist/vue-ui-funnel-BfJoFIfh.cjs +1 -0
- package/dist/{vue-ui-funnel-D4xk_DsA.js → vue-ui-funnel-CM_ixf98.js} +229 -215
- package/dist/vue-ui-galaxy-CP71UAF5.cjs +1 -0
- package/dist/{vue-ui-galaxy-Ch3QRiP6.js → vue-ui-galaxy-DlwjTJCx.js} +148 -136
- package/dist/{vue-ui-gauge-DZUv5beK.js → vue-ui-gauge-ByfGCK6z.js} +119 -107
- package/dist/vue-ui-gauge-LqhfOqH-.cjs +1 -0
- package/dist/{vue-ui-gizmo-B39J58Zm.js → vue-ui-gizmo-D8Rq5vzL.js} +45 -43
- package/dist/vue-ui-gizmo-DFnOaVHf.cjs +1 -0
- package/dist/vue-ui-heatmap-A8qDlc58.cjs +1 -0
- package/dist/{vue-ui-heatmap-z8KMf1yo.js → vue-ui-heatmap-BLjVXXW4.js} +138 -126
- package/dist/vue-ui-history-plot-Bxi5QRP8.cjs +1 -0
- package/dist/{vue-ui-history-plot--Lw1-910.js → vue-ui-history-plot-DXoNlRFZ.js} +127 -115
- package/dist/vue-ui-kpi-5cGZ0OBJ.cjs +1 -0
- package/dist/{vue-ui-kpi-BgNONvkD.js → vue-ui-kpi-Bbot_WSI.js} +36 -33
- package/dist/{vue-ui-mini-loader-BrCuKpE6.js → vue-ui-mini-loader-DOE9WO73.js} +2 -2
- package/dist/{vue-ui-mini-loader-DjEyKAQe.cjs → vue-ui-mini-loader-DWX9tRhG.cjs} +1 -1
- package/dist/{vue-ui-molecule-C_eF6tga.js → vue-ui-molecule-0TReXB2j.js} +212 -200
- package/dist/vue-ui-molecule-CxeFzXS5.cjs +1 -0
- package/dist/vue-ui-mood-radar-1jLzXLXZ.cjs +1 -0
- package/dist/{vue-ui-mood-radar-Ch_Qkx9d.js → vue-ui-mood-radar-BMFn685U.js} +123 -111
- package/dist/vue-ui-nested-donuts-4FVj04vI.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-uqfXLRGX.js → vue-ui-nested-donuts-B9rWg9V8.js} +156 -144
- package/dist/vue-ui-onion-Br97OxbL.cjs +5 -0
- package/dist/{vue-ui-onion-CbYOkmrF.js → vue-ui-onion-CnIF_tv7.js} +125 -113
- package/dist/vue-ui-parallel-coordinate-plot-Bi_h0H7e.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-aLNOckoo.js → vue-ui-parallel-coordinate-plot-D9iHCwiA.js} +159 -147
- package/dist/{vue-ui-quadrant-CuPCDHgS.js → vue-ui-quadrant-4wjbqumK.js} +211 -199
- package/dist/vue-ui-quadrant-DHDToQ9a.cjs +1 -0
- package/dist/vue-ui-quick-chart-CJKM6r9X.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DBCH5qM1.js → vue-ui-quick-chart-s6FHOZf8.js} +576 -540
- package/dist/vue-ui-radar-DBR2qBM5.cjs +1 -0
- package/dist/{vue-ui-radar-BamYIcPL.js → vue-ui-radar-DpT9w1N-.js} +183 -171
- package/dist/vue-ui-rating-D1Mbw1G8.cjs +1 -0
- package/dist/{vue-ui-rating-DxaSXiPx.js → vue-ui-rating-D31vSe7a.js} +102 -98
- package/dist/vue-ui-relation-circle-BNJbqK_A.cjs +1 -0
- package/dist/{vue-ui-relation-circle-C9_8YW0u.js → vue-ui-relation-circle-DfP6BpVn.js} +129 -117
- package/dist/{vue-ui-rings-DFzPi4m9.js → vue-ui-rings-ChcGuwL9.js} +150 -138
- package/dist/vue-ui-rings-CjB8a3kO.cjs +2 -0
- package/dist/vue-ui-scatter-jk0N3EwD.cjs +1 -0
- package/dist/{vue-ui-scatter-n_jHEngt.js → vue-ui-scatter-wUZ2CBpp.js} +320 -308
- package/dist/{vue-ui-screenshot-1_OHWjZv.js → vue-ui-screenshot-Blg3Suvg.js} +1 -1
- package/dist/{vue-ui-screenshot-BzY_uB1R.cjs → vue-ui-screenshot-DAFpjSWg.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Ojz7f2oH.js → vue-ui-skeleton-BObG0eVD.js} +3 -3
- package/dist/{vue-ui-skeleton-DKtNfORj.cjs → vue-ui-skeleton-m4l9jfqA.cjs} +1 -1
- package/dist/{vue-ui-smiley-CXvJ3sXA.js → vue-ui-smiley-DuQ3M02e.js} +208 -206
- package/dist/vue-ui-smiley-rh3J3TRY.cjs +2 -0
- package/dist/vue-ui-spark-trend-DlNNTu2c.cjs +1 -0
- package/dist/{vue-ui-spark-trend-uyDT9RJC.js → vue-ui-spark-trend-SMpnQ3VV.js} +124 -112
- package/dist/{vue-ui-sparkbar-CxW1vMP2.js → vue-ui-sparkbar-BB6fvRXK.js} +100 -96
- package/dist/vue-ui-sparkbar-chnu8aw9.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-NmLBla47.js → vue-ui-sparkgauge-Bk_78-YB.js} +60 -48
- package/dist/vue-ui-sparkgauge-FONvy7z9.cjs +1 -0
- package/dist/vue-ui-sparkhistogram--uyRru2f.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-B8SukBWt.js → vue-ui-sparkhistogram-CIsN7kQ2.js} +116 -104
- package/dist/{vue-ui-sparkline-CokyAm9w.js → vue-ui-sparkline-CFvUW--O.js} +124 -112
- package/dist/vue-ui-sparkline-i6LHjMJR.cjs +1 -0
- package/dist/vue-ui-sparkstackbar-1RvV2xwt.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-QgZq1O55.js → vue-ui-sparkstackbar-DDMsCq0l.js} +85 -81
- package/dist/{vue-ui-stackbar-CTvPYXjb.js → vue-ui-stackbar-BSo9t-88.js} +219 -207
- package/dist/vue-ui-stackbar-CQgtC1I4.cjs +6 -0
- package/dist/vue-ui-strip-plot-BOSoKxsk.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DXPoWvNA.js → vue-ui-strip-plot-C99LsMeZ.js} +113 -101
- package/dist/{vue-ui-table-Bb3BBVjm.js → vue-ui-table-3M-aoEc7.js} +1 -1
- package/dist/{vue-ui-table-8M1ctuqL.cjs → vue-ui-table-M-6G46br.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Bv0EfTut.js → vue-ui-table-heatmap-BuYlqsq9.js} +82 -78
- package/dist/vue-ui-table-heatmap-CoozQ9bU.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-Bs72Df0-.js → vue-ui-table-sparkline-Dm5kErGp.js} +78 -74
- package/dist/vue-ui-table-sparkline-u0a2YCwp.cjs +1 -0
- package/dist/vue-ui-thermometer-DAz_NjaN.cjs +1 -0
- package/dist/{vue-ui-thermometer-DRGjTOIy.js → vue-ui-thermometer-DrY5FsCD.js} +132 -120
- package/dist/vue-ui-timer-dCCTsApx.cjs +64 -0
- package/dist/{vue-ui-timer-DCA2Dkfi.js → vue-ui-timer-meFVXDUZ.js} +94 -82
- package/dist/vue-ui-tiremarks-CRKQklZh.cjs +1 -0
- package/dist/{vue-ui-tiremarks-CTqweMbJ.js → vue-ui-tiremarks-PaZ-lr2D.js} +104 -94
- package/dist/vue-ui-treemap-Bce1C9jk.cjs +1 -0
- package/dist/{vue-ui-treemap-tz9AdMu0.js → vue-ui-treemap-RjHcVtc6.js} +336 -332
- package/dist/{vue-ui-vertical-bar-BEkWSr_A.js → vue-ui-vertical-bar-C8rC-QBl.js} +188 -176
- package/dist/vue-ui-vertical-bar-e7zR_v0M.cjs +4 -0
- package/dist/{vue-ui-waffle-DQPO5aOU.js → vue-ui-waffle-BT8Yn0cl.js} +140 -136
- package/dist/vue-ui-waffle-BZLPoVht.cjs +1 -0
- package/dist/{vue-ui-wheel-B0u6LKiw.js → vue-ui-wheel-Bq75N1i7.js} +100 -88
- package/dist/vue-ui-wheel-CT6r7EQR.cjs +1 -0
- package/dist/{vue-ui-word-cloud-CEns9_NI.js → vue-ui-word-cloud-BGh6DY8P.js} +132 -120
- package/dist/vue-ui-word-cloud-PcOI8TCE.cjs +1 -0
- package/dist/vue-ui-xy-BmNqzUPR.cjs +3 -0
- package/dist/{vue-ui-xy-DxpIt6dh.js → vue-ui-xy-DuCsguVf.js} +139 -127
- package/dist/{vue-ui-xy-canvas-D_Qiy2N1.js → vue-ui-xy-canvas-6qf3rgfa.js} +231 -227
- package/dist/{vue-ui-xy-canvas--zS_4x6O.cjs → vue-ui-xy-canvas-BnJBE19B.cjs} +2 -2
- package/package.json +1 -1
- package/dist/index-DHwfzZfj.cjs +0 -9
- package/dist/vue-ui-3d-bar-Dif8_wHk.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DHxsu2a1.cjs +0 -1
- package/dist/vue-ui-bullet-CKbrouCq.cjs +0 -34
- package/dist/vue-ui-candlestick-C3YNgFyO.cjs +0 -2
- package/dist/vue-ui-carousel-table-BU1bmZWZ.cjs +0 -1
- package/dist/vue-ui-chestnut-BEALHSS3.cjs +0 -6
- package/dist/vue-ui-donut-Jjz58SJJ.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BtfRmlIq.cjs +0 -1
- package/dist/vue-ui-dumbbell-C2LYuBRx.cjs +0 -9
- package/dist/vue-ui-flow-3vjkptJR.cjs +0 -1
- package/dist/vue-ui-funnel-DyJdIi_i.cjs +0 -1
- package/dist/vue-ui-galaxy-BmGIzIeD.cjs +0 -1
- package/dist/vue-ui-gauge-LeMSJBEk.cjs +0 -1
- package/dist/vue-ui-gizmo-B7Kum6eT.cjs +0 -1
- package/dist/vue-ui-heatmap-CqPuEjJ1.cjs +0 -1
- package/dist/vue-ui-history-plot-bjMvk_4h.cjs +0 -1
- package/dist/vue-ui-kpi-DIuPP4R7.cjs +0 -1
- package/dist/vue-ui-molecule-C3wtpoCr.cjs +0 -1
- package/dist/vue-ui-mood-radar-BomqP0zI.cjs +0 -1
- package/dist/vue-ui-nested-donuts-KRq3Fcqy.cjs +0 -17
- package/dist/vue-ui-onion-G4p7rA61.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-B2OIBraO.cjs +0 -8
- package/dist/vue-ui-quadrant-DoWeGQSC.cjs +0 -1
- package/dist/vue-ui-quick-chart-DR1qF9kr.cjs +0 -15
- package/dist/vue-ui-radar-B6M2ZChR.cjs +0 -1
- package/dist/vue-ui-rating-HSL7IrbQ.cjs +0 -1
- package/dist/vue-ui-relation-circle-CM_QkigI.cjs +0 -1
- package/dist/vue-ui-rings-CmD8g04s.cjs +0 -2
- package/dist/vue-ui-scatter-D_WxNGoY.cjs +0 -1
- package/dist/vue-ui-smiley-sKWpgakD.cjs +0 -2
- package/dist/vue-ui-spark-trend-ByxJmVE5.cjs +0 -1
- package/dist/vue-ui-sparkbar-DYHuBv3f.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CCvUn2R2.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-FU-uE07T.cjs +0 -1
- package/dist/vue-ui-sparkline-9LU8yp1t.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-9k6C-g_r.cjs +0 -1
- package/dist/vue-ui-stackbar-Drqz1of9.cjs +0 -6
- package/dist/vue-ui-strip-plot-UYP2fk1H.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BqQpJ_Ou.cjs +0 -1
- package/dist/vue-ui-table-sparkline-D5xemE-q.cjs +0 -1
- package/dist/vue-ui-thermometer-DzynFkq0.cjs +0 -1
- package/dist/vue-ui-timer-W5dIiOew.cjs +0 -64
- package/dist/vue-ui-tiremarks-BbAzwE5q.cjs +0 -1
- package/dist/vue-ui-treemap-CEVP7-S2.cjs +0 -1
- package/dist/vue-ui-vertical-bar-D_2WzLxJ.cjs +0 -4
- package/dist/vue-ui-waffle-BAvqVwhK.cjs +0 -1
- package/dist/vue-ui-wheel-Cjnheeql.cjs +0 -1
- package/dist/vue-ui-word-cloud-bxF8a7TI.cjs +0 -1
- package/dist/vue-ui-xy-BBvVOSPm.cjs +0 -3
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { computed as y, ref as d, watch as me, onMounted as Ae, onBeforeUnmount as Re, openBlock as o, createElementBlock as u, normalizeClass as
|
|
2
|
-
import { u as Ue, c as We, t as
|
|
1
|
+
import { computed as y, ref as d, watch as me, onMounted as Ae, onBeforeUnmount as Re, openBlock as o, createElementBlock as u, normalizeClass as ge, normalizeStyle as L, unref as i, createBlock as R, createCommentVNode as h, withCtx as X, toDisplayString as C, createSlots as Ge, renderSlot as w, normalizeProps as D, guardReactiveProps as B, createVNode as Ee, createElementVNode as g, Fragment as x, renderList as S, mergeProps as G } from "vue";
|
|
2
|
+
import { u as Ue, c as We, t as je, a as Te, p as pe, b as Le, o as ke, d as De, e as E, g as be, m as V, I as $, X as Be, s as q, k as Ve, i as H, f as Z, F as J } from "./index-D7dTQAhm.js";
|
|
3
3
|
import { t as qe, u as He } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { u as Ze, U as Je } from "./usePrinter-
|
|
5
|
-
import Ke from "./vue-ui-skeleton-
|
|
6
|
-
import { _ as Qe } from "./Title-
|
|
7
|
-
import { u as xe } from "./useNestedProp-
|
|
8
|
-
import { _ as et } from "./PackageVersion-
|
|
9
|
-
import { P as tt } from "./PenAndPaper-
|
|
4
|
+
import { u as Ze, U as Je } from "./usePrinter-B_Ihuvge.js";
|
|
5
|
+
import Ke from "./vue-ui-skeleton-BObG0eVD.js";
|
|
6
|
+
import { _ as Qe } from "./Title-CSqO5Y62.js";
|
|
7
|
+
import { u as xe } from "./useNestedProp-Dqsj7eUX.js";
|
|
8
|
+
import { _ as et } from "./PackageVersion-BSLNI6kk.js";
|
|
9
|
+
import { P as tt } from "./PenAndPaper-CxMtGtJt.js";
|
|
10
10
|
import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { _ as lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["
|
|
12
|
+
const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "height"], nt = ["id"], it = ["stop-color"], ct = ["stop-color"], vt = ["stop-color"], ht = ["id"], dt = ["stdDeviation"], yt = ["d", "fill", "stroke"], ft = ["id", "d"], mt = ["fill", "font-size", "font-weight"], gt = ["href", "startOffset"], pt = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], kt = ["d", "filter"], bt = ["stroke", "stroke-width"], xt = ["stroke", "stroke-width"], _t = ["stroke", "stroke-width"], wt = ["stroke", "stroke-width"], St = { key: 5 }, $t = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], zt = ["x", "y", "font-size", "font-weight", "fill"], Ft = { key: 7 }, Ct = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Mt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Pt = { key: 8 }, Nt = ["d", "fill", "stroke", "stroke-width"], Xt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Yt = ["x", "y", "font-size", "fill"], It = {
|
|
13
13
|
key: 5,
|
|
14
14
|
class: "vue-data-ui-watermark"
|
|
15
|
-
},
|
|
15
|
+
}, At = {
|
|
16
16
|
__name: "vue-ui-gauge",
|
|
17
17
|
props: {
|
|
18
18
|
config: {
|
|
@@ -29,7 +29,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
setup(U, { expose: _e }) {
|
|
32
|
-
const v = U, { vue_ui_gauge: we } = Ue(), Y = y(() => !!v.dataset && Object.keys(v.dataset).length > 0 && v.dataset.series && v.dataset.series.length), _ = d(We()), Se = d(null), K = d(0),
|
|
32
|
+
const v = U, { vue_ui_gauge: we } = Ue(), Y = y(() => !!v.dataset && Object.keys(v.dataset).length > 0 && v.dataset.series && v.dataset.series.length), _ = d(We()), Se = d(null), K = d(0), O = d(null), Q = d(null), ee = d(null), te = d(null), ae = d(null), le = d(0), e = y({
|
|
33
33
|
get: () => oe(),
|
|
34
34
|
set: (t) => t
|
|
35
35
|
}), { userOptionsVisible: W, setUserOptionsVisibility: se, keepUserOptionState: re } = at({ config: e.value });
|
|
@@ -43,16 +43,16 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
43
43
|
});
|
|
44
44
|
return t.theme ? {
|
|
45
45
|
...xe({
|
|
46
|
-
userConfig:
|
|
46
|
+
userConfig: je.vue_ui_gauge[t.theme] || v.config,
|
|
47
47
|
defaultConfig: t
|
|
48
48
|
}),
|
|
49
|
-
customPalette:
|
|
49
|
+
customPalette: Te[t.theme] || pe
|
|
50
50
|
} : t;
|
|
51
51
|
}
|
|
52
52
|
const { isPrinting: ue, isImaging: ne, generatePdf: ie, generateImage: ce } = Ze({
|
|
53
53
|
elementId: `vue-ui-gauge_${_.value}`,
|
|
54
54
|
fileName: e.value.style.chart.title.text || "vue-ui-gauge"
|
|
55
|
-
}),
|
|
55
|
+
}), $e = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), ze = y(() => Le(e.value.customPalette)), z = y(() => {
|
|
56
56
|
if (!Y.value || ke(v.dataset.series || {}))
|
|
57
57
|
return {
|
|
58
58
|
value: 0,
|
|
@@ -72,17 +72,17 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
72
72
|
...v.dataset,
|
|
73
73
|
series: (v.dataset.series || []).map((a, r) => ({
|
|
74
74
|
...a,
|
|
75
|
-
color: De(a.color) ||
|
|
75
|
+
color: De(a.color) || ze.value[r] || pe[r],
|
|
76
76
|
value: ((a.to || 0) - (a.from || 0)) / s * 100
|
|
77
77
|
}))
|
|
78
78
|
};
|
|
79
|
-
}),
|
|
79
|
+
}), p = d(512), l = d({
|
|
80
80
|
height: 358.4,
|
|
81
|
-
width:
|
|
81
|
+
width: p.value,
|
|
82
82
|
top: 0,
|
|
83
83
|
bottom: 358.4,
|
|
84
84
|
centerX: 179.2,
|
|
85
|
-
centerY:
|
|
85
|
+
centerY: p.value / 2,
|
|
86
86
|
labelFontSize: 18,
|
|
87
87
|
legendFontSize: e.value.style.chart.legend.fontSize,
|
|
88
88
|
pointerRadius: e.value.style.chart.layout.pointer.circle.radius,
|
|
@@ -91,14 +91,14 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
91
91
|
pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
|
|
92
92
|
markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
|
|
93
93
|
segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
|
|
94
|
-
}),
|
|
94
|
+
}), M = d(0), P = d(0), f = d(
|
|
95
95
|
e.value.style.chart.animation.use ? Math.min(...v.dataset.series.map((t) => t.from)) : v.dataset.value
|
|
96
96
|
);
|
|
97
97
|
me(() => v.dataset.value, () => {
|
|
98
98
|
de(v.dataset.value);
|
|
99
99
|
});
|
|
100
100
|
const n = y(() => {
|
|
101
|
-
const t = l.value.width / 2, s = c.value.base, a = Math.PI * ((f.value + 0 - P.value) / (
|
|
101
|
+
const t = l.value.width / 2, s = c.value.base, a = Math.PI * ((f.value + 0 - P.value) / (M.value - P.value)) + Math.PI;
|
|
102
102
|
return {
|
|
103
103
|
x1: t,
|
|
104
104
|
y1: s,
|
|
@@ -106,11 +106,11 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
106
106
|
y2: s + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a)
|
|
107
107
|
};
|
|
108
108
|
}), ve = y(() => {
|
|
109
|
-
const t = l.value.width / 2, s = c.value.base, a = Math.PI * ((f.value + 0 - P.value) / (
|
|
109
|
+
const t = l.value.width / 2, s = c.value.base, a = Math.PI * ((f.value + 0 - P.value) / (M.value - P.value)) + Math.PI, r = t + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a), k = s + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a), b = l.value.pointerRadius, Ne = t + b * Math.cos(a + Math.PI / 2), Xe = s + b * Math.sin(a + Math.PI / 2), Ye = t + b * Math.cos(a - Math.PI / 2), Ie = s + b * Math.sin(a - Math.PI / 2);
|
|
110
110
|
return isNaN(r) ? null : `M ${r},${k} ${Ne},${Xe} ${Ye},${Ie} Z`;
|
|
111
|
-
}),
|
|
112
|
-
for (let t = 0; t <
|
|
113
|
-
const { color: s, from: a, to: r } =
|
|
111
|
+
}), j = y(() => {
|
|
112
|
+
for (let t = 0; t < z.value.series.length; t += 1) {
|
|
113
|
+
const { color: s, from: a, to: r } = z.value.series[t];
|
|
114
114
|
if (f.value >= a && f.value <= r)
|
|
115
115
|
return s;
|
|
116
116
|
}
|
|
@@ -148,33 +148,33 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
148
148
|
}))), de(v.dataset.value || 0), e.value.responsive) {
|
|
149
149
|
const t = qe(() => {
|
|
150
150
|
const { width: s, height: a } = He({
|
|
151
|
-
chart:
|
|
151
|
+
chart: O.value,
|
|
152
152
|
title: e.value.style.chart.title.text ? Q.value : null,
|
|
153
153
|
legend: ee.value,
|
|
154
154
|
source: te.value,
|
|
155
155
|
noTitle: ae.value
|
|
156
156
|
});
|
|
157
|
-
l.value.width = s, l.value.height = a, l.value.centerX = s / 2, l.value.centerY =
|
|
157
|
+
l.value.width = s, l.value.height = a, l.value.centerX = s / 2, l.value.centerY = p.value / 2 / 358.4 * a, l.value.bottom = a, l.value.labelFontSize = 18 / p.value * Math.min(a, s) < 10 ? 10 : 18 / p.value * Math.min(a, s), l.value.legendFontSize = e.value.style.chart.legend.fontSize / p.value * Math.min(a, s) < 14 ? 14 : e.value.style.chart.legend.fontSize / p.value * Math.min(a, s), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / p.value * Math.min(a, s), l.value.trackSize = e.value.style.chart.layout.track.size / p.value * Math.min(a, s), l.value.pointerStrokeWidth = J({
|
|
158
158
|
relator: Math.min(s, a),
|
|
159
|
-
adjuster:
|
|
159
|
+
adjuster: p.value,
|
|
160
160
|
source: e.value.style.chart.layout.pointer.strokeWidth,
|
|
161
161
|
threshold: 2,
|
|
162
162
|
fallback: 2
|
|
163
163
|
}), l.value.markerOffset = J({
|
|
164
164
|
relator: Math.max(s, a),
|
|
165
|
-
adjuster:
|
|
165
|
+
adjuster: p.value,
|
|
166
166
|
source: e.value.style.chart.layout.markers.offsetY + 3,
|
|
167
167
|
threshold: 2,
|
|
168
168
|
fallback: 2
|
|
169
169
|
}), l.value.segmentFontSize = J({
|
|
170
170
|
relator: Math.min(s, a),
|
|
171
|
-
adjuster:
|
|
171
|
+
adjuster: p.value,
|
|
172
172
|
source: e.value.style.chart.layout.segmentNames.fontSize,
|
|
173
173
|
threshold: 8,
|
|
174
174
|
fallback: 8
|
|
175
175
|
});
|
|
176
176
|
});
|
|
177
|
-
I.value = new ResizeObserver(t), I.value.observe(
|
|
177
|
+
I.value = new ResizeObserver(t), I.value.observe(O.value.parentNode);
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
Ae(() => {
|
|
@@ -184,9 +184,9 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
184
184
|
});
|
|
185
185
|
function de(t) {
|
|
186
186
|
const s = [];
|
|
187
|
-
(
|
|
187
|
+
(z.value.series || []).forEach((b) => {
|
|
188
188
|
s.push(b.from || 0), s.push(b.to || 0);
|
|
189
|
-
}),
|
|
189
|
+
}), M.value = Math.max(...s), P.value = Math.min(...s);
|
|
190
190
|
let a = e.value.style.chart.animation.speed;
|
|
191
191
|
const r = Math.abs(t - f.value) / (a * 60);
|
|
192
192
|
function k() {
|
|
@@ -204,7 +204,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
204
204
|
pointerSize: e.value.responsive ? Math.min(l.value.width, l.value.height) / 3 : l.value.width / 3.2
|
|
205
205
|
};
|
|
206
206
|
}), m = y(() => V(
|
|
207
|
-
{ series:
|
|
207
|
+
{ series: z.value.series },
|
|
208
208
|
l.value.width / 2,
|
|
209
209
|
c.value.base,
|
|
210
210
|
c.value.arcs,
|
|
@@ -216,7 +216,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
216
216
|
109.9495,
|
|
217
217
|
40 * l.value.trackSize
|
|
218
218
|
)), Fe = y(() => V(
|
|
219
|
-
{ series:
|
|
219
|
+
{ series: z.value.series },
|
|
220
220
|
l.value.width / 2,
|
|
221
221
|
c.value.base,
|
|
222
222
|
c.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio,
|
|
@@ -228,13 +228,13 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
228
228
|
109.9495,
|
|
229
229
|
40 * l.value.trackSize
|
|
230
230
|
)), F = y(() => m.value.map((t) => c.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), ye = y(() => {
|
|
231
|
-
const { x: t, y: s } =
|
|
231
|
+
const { x: t, y: s } = $({
|
|
232
232
|
initX: m.value[0].firstSeparator.x,
|
|
233
233
|
initY: m.value[0].firstSeparator.y,
|
|
234
234
|
centerX: n.value.x1,
|
|
235
235
|
centerY: n.value.y1,
|
|
236
236
|
offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
|
|
237
|
-
}), { x: a, y: r } =
|
|
237
|
+
}), { x: a, y: r } = $({
|
|
238
238
|
initX: m.value[0].startX,
|
|
239
239
|
initY: m.value[0].startY,
|
|
240
240
|
centerX: n.value.x1,
|
|
@@ -243,13 +243,13 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
243
243
|
});
|
|
244
244
|
return { x1: t, y1: s, x2: a, y2: r };
|
|
245
245
|
}), fe = y(() => m.value.map((t) => {
|
|
246
|
-
const { x: s, y: a } =
|
|
246
|
+
const { x: s, y: a } = $({
|
|
247
247
|
initX: t.separator.x,
|
|
248
248
|
initY: t.separator.y,
|
|
249
249
|
centerX: n.value.x1,
|
|
250
250
|
centerY: n.value.y1,
|
|
251
251
|
offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
|
|
252
|
-
}), { x: r, y: k } =
|
|
252
|
+
}), { x: r, y: k } = $({
|
|
253
253
|
initX: t.endX,
|
|
254
254
|
initY: t.endY,
|
|
255
255
|
centerX: n.value.x1,
|
|
@@ -265,8 +265,8 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
265
265
|
let r = 0;
|
|
266
266
|
return t.map((k) => (r += k, `${r / 100 * a - k / 4}%`));
|
|
267
267
|
}
|
|
268
|
-
const
|
|
269
|
-
{ series:
|
|
268
|
+
const Oe = y(() => Ce(m.value.map((t) => t.proportion * 100))), Me = y(() => V(
|
|
269
|
+
{ series: z.value.series },
|
|
270
270
|
l.value.width / 2,
|
|
271
271
|
c.value.base,
|
|
272
272
|
c.value.gradients,
|
|
@@ -282,17 +282,17 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
282
282
|
N.value = t, K.value += 1;
|
|
283
283
|
}
|
|
284
284
|
const A = d(!1);
|
|
285
|
-
function
|
|
285
|
+
function T() {
|
|
286
286
|
A.value = !A.value;
|
|
287
287
|
}
|
|
288
288
|
return _e({
|
|
289
289
|
generatePdf: ie,
|
|
290
290
|
generateImage: ce,
|
|
291
|
-
toggleAnnotator:
|
|
291
|
+
toggleAnnotator: T
|
|
292
292
|
}), (t, s) => (o(), u("div", {
|
|
293
|
-
class:
|
|
293
|
+
class: ge(`vue-ui-gauge ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
294
294
|
ref_key: "gaugeChart",
|
|
295
|
-
ref:
|
|
295
|
+
ref: O,
|
|
296
296
|
id: `vue-ui-gauge_${_.value}`,
|
|
297
297
|
style: L(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
298
298
|
onMouseenter: s[0] || (s[0] = () => i(se)(!0)),
|
|
@@ -300,13 +300,13 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
300
300
|
}, [
|
|
301
301
|
e.value.userOptions.buttons.annotator ? (o(), R(tt, {
|
|
302
302
|
key: 0,
|
|
303
|
-
parent:
|
|
303
|
+
parent: O.value,
|
|
304
304
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
305
305
|
color: e.value.style.chart.color,
|
|
306
306
|
active: A.value,
|
|
307
|
-
onClose:
|
|
307
|
+
onClose: T
|
|
308
308
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
|
|
309
|
-
|
|
309
|
+
$e.value ? (o(), u("div", {
|
|
310
310
|
key: 1,
|
|
311
311
|
ref_key: "noTitle",
|
|
312
312
|
ref: ae,
|
|
@@ -353,14 +353,14 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
353
353
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
354
354
|
isFullscreen: N.value,
|
|
355
355
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
356
|
-
chartElement:
|
|
356
|
+
chartElement: O.value,
|
|
357
357
|
position: e.value.userOptions.position,
|
|
358
358
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
359
359
|
isAnnotation: A.value,
|
|
360
360
|
onToggleFullscreen: Pe,
|
|
361
361
|
onGeneratePdf: i(ie),
|
|
362
362
|
onGenerateImage: i(ce),
|
|
363
|
-
onToggleAnnotator:
|
|
363
|
+
onToggleAnnotator: T,
|
|
364
364
|
style: L({
|
|
365
365
|
visibility: i(re) ? i(W) ? "visible" : "hidden" : "visible"
|
|
366
366
|
})
|
|
@@ -397,13 +397,25 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
397
397
|
Y.value ? (o(), u("svg", {
|
|
398
398
|
key: 4,
|
|
399
399
|
xmlns: i(Be),
|
|
400
|
-
class:
|
|
400
|
+
class: ge({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
401
401
|
viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
|
|
402
402
|
style: L(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
403
403
|
}, [
|
|
404
404
|
Ee(et),
|
|
405
|
-
|
|
406
|
-
|
|
405
|
+
t.$slots["chart-background"] ? (o(), u("foreignObject", {
|
|
406
|
+
key: 0,
|
|
407
|
+
x: 0,
|
|
408
|
+
y: 0,
|
|
409
|
+
width: l.value.width <= 0 ? 10 : l.value.width,
|
|
410
|
+
height: l.value.height <= 0 ? 10 : l.value.height,
|
|
411
|
+
style: {
|
|
412
|
+
pointerEvents: "none"
|
|
413
|
+
}
|
|
414
|
+
}, [
|
|
415
|
+
w(t.$slots, "chart-background", {}, void 0, !0)
|
|
416
|
+
], 8, ut)) : h("", !0),
|
|
417
|
+
g("defs", null, [
|
|
418
|
+
g("radialGradient", {
|
|
407
419
|
id: `gradient_${_.value}`,
|
|
408
420
|
cx: "50%",
|
|
409
421
|
cy: "50%",
|
|
@@ -411,33 +423,33 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
411
423
|
fx: "50%",
|
|
412
424
|
fy: "50%"
|
|
413
425
|
}, [
|
|
414
|
-
|
|
426
|
+
g("stop", {
|
|
415
427
|
offset: "0%",
|
|
416
428
|
"stop-color": i(q)("#FFFFFF", 1)
|
|
417
|
-
}, null, 8,
|
|
418
|
-
|
|
429
|
+
}, null, 8, it),
|
|
430
|
+
g("stop", {
|
|
419
431
|
offset: "80%",
|
|
420
432
|
"stop-color": i(q)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
|
|
421
|
-
}, null, 8,
|
|
422
|
-
|
|
433
|
+
}, null, 8, ct),
|
|
434
|
+
g("stop", {
|
|
423
435
|
offset: "100%",
|
|
424
436
|
"stop-color": i(q)("#FFFFFF", 1)
|
|
425
|
-
}, null, 8,
|
|
426
|
-
], 8,
|
|
437
|
+
}, null, 8, vt)
|
|
438
|
+
], 8, nt)
|
|
427
439
|
]),
|
|
428
|
-
|
|
429
|
-
|
|
440
|
+
g("defs", null, [
|
|
441
|
+
g("filter", {
|
|
430
442
|
id: `blur_${_.value}`,
|
|
431
443
|
x: "-50%",
|
|
432
444
|
y: "-50%",
|
|
433
445
|
width: "200%",
|
|
434
446
|
height: "200%"
|
|
435
447
|
}, [
|
|
436
|
-
|
|
448
|
+
g("feGaussianBlur", {
|
|
437
449
|
in: "SourceGraphic",
|
|
438
450
|
stdDeviation: 100 / e.value.style.chart.layout.track.gradientIntensity
|
|
439
|
-
}, null, 8,
|
|
440
|
-
], 8,
|
|
451
|
+
}, null, 8, dt)
|
|
452
|
+
], 8, ht)
|
|
441
453
|
]),
|
|
442
454
|
(o(!0), u(x, null, S(m.value, (a, r) => (o(), u("path", {
|
|
443
455
|
key: `arc_${r}`,
|
|
@@ -445,26 +457,26 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
445
457
|
fill: a.color,
|
|
446
458
|
stroke: e.value.style.chart.backgroundColor,
|
|
447
459
|
"stroke-linecap": "round"
|
|
448
|
-
}, null, 8,
|
|
449
|
-
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (o(), u(x, { key:
|
|
460
|
+
}, null, 8, yt))), 128)),
|
|
461
|
+
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (o(), u(x, { key: 1 }, [
|
|
450
462
|
(o(!0), u(x, null, S(m.value, (a, r) => (o(), u("path", {
|
|
451
463
|
id: `curve_${_.value}_${r}`,
|
|
452
464
|
d: `M ${n.value.x1},${n.value.y1} m -${F.value[r]},0 a ${F.value[r]},${F.value[r]} 0 1,1 ${2 * F.value[r]},0 a ${F.value[r]},${F.value[r]} 0 1,1 -${2 * F.value[r]},0`,
|
|
453
465
|
fill: "transparent"
|
|
454
|
-
}, null, 8,
|
|
466
|
+
}, null, 8, ft))), 256)),
|
|
455
467
|
(o(!0), u(x, null, S(m.value, (a, r) => (o(), u("text", {
|
|
456
468
|
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
457
469
|
"font-size": l.value.segmentFontSize,
|
|
458
470
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
459
471
|
"text-anchor": "middle"
|
|
460
472
|
}, [
|
|
461
|
-
|
|
473
|
+
g("textPath", {
|
|
462
474
|
href: `#curve_${_.value}_${r}`,
|
|
463
|
-
startOffset:
|
|
464
|
-
}, C(a.name || ""), 9,
|
|
465
|
-
], 8,
|
|
475
|
+
startOffset: Oe.value[r]
|
|
476
|
+
}, C(a.name || ""), 9, gt)
|
|
477
|
+
], 8, mt))), 256))
|
|
466
478
|
], 64)) : h("", !0),
|
|
467
|
-
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (o(!0), u(x, { key:
|
|
479
|
+
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (o(!0), u(x, { key: 2 }, S(Fe.value, (a, r) => (o(), u("text", {
|
|
468
480
|
x: a.center.endX,
|
|
469
481
|
y: a.center.endY,
|
|
470
482
|
"text-anchor": i(Ve)(a, !1, 12).anchor,
|
|
@@ -472,46 +484,46 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
472
484
|
"font-size": l.value.segmentFontSize,
|
|
473
485
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal"
|
|
474
486
|
}, C(a.name || ""), 9, pt))), 256)) : h("", !0),
|
|
475
|
-
e.value.style.chart.layout.track.useGradient ? (o(!0), u(x, { key:
|
|
487
|
+
e.value.style.chart.layout.track.useGradient ? (o(!0), u(x, { key: 3 }, S(Me.value, (a, r) => (o(), u("path", {
|
|
476
488
|
key: `arc_${r}`,
|
|
477
489
|
d: a.arcSlice,
|
|
478
490
|
fill: "#FFFFFF",
|
|
479
491
|
stroke: "none",
|
|
480
492
|
"stroke-linecap": "round",
|
|
481
493
|
filter: `url(#blur_${_.value})`
|
|
482
|
-
}, null, 8,
|
|
483
|
-
e.value.style.chart.layout.segmentSeparators.show ? (o(), u(x, { key:
|
|
484
|
-
|
|
494
|
+
}, null, 8, kt))), 128)) : h("", !0),
|
|
495
|
+
e.value.style.chart.layout.segmentSeparators.show ? (o(), u(x, { key: 4 }, [
|
|
496
|
+
g("line", G(ye.value, {
|
|
485
497
|
stroke: e.value.style.chart.backgroundColor,
|
|
486
498
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
487
499
|
"stroke-linecap": "round"
|
|
488
|
-
}), null, 16,
|
|
489
|
-
|
|
500
|
+
}), null, 16, bt),
|
|
501
|
+
g("line", G(ye.value, {
|
|
490
502
|
stroke: e.value.style.chart.layout.segmentSeparators.stroke,
|
|
491
503
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
492
504
|
"stroke-linecap": "round"
|
|
493
|
-
}), null, 16,
|
|
505
|
+
}), null, 16, xt),
|
|
494
506
|
(o(!0), u(x, null, S(fe.value, (a) => (o(), u("line", G(a, {
|
|
495
507
|
stroke: e.value.style.chart.backgroundColor,
|
|
496
508
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
497
509
|
"stroke-linecap": "round"
|
|
498
|
-
}), null, 16,
|
|
510
|
+
}), null, 16, _t))), 256)),
|
|
499
511
|
(o(!0), u(x, null, S(fe.value, (a) => (o(), u("line", G(a, {
|
|
500
512
|
stroke: e.value.style.chart.layout.segmentSeparators.stroke,
|
|
501
513
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
502
514
|
"stroke-linecap": "round"
|
|
503
|
-
}), null, 16,
|
|
515
|
+
}), null, 16, wt))), 256))
|
|
504
516
|
], 64)) : h("", !0),
|
|
505
|
-
e.value.style.chart.layout.markers.show ? (o(), u("g",
|
|
517
|
+
e.value.style.chart.layout.markers.show ? (o(), u("g", St, [
|
|
506
518
|
(o(!0), u(x, null, S(m.value, (a, r) => (o(), u("text", {
|
|
507
|
-
x: i(
|
|
519
|
+
x: i($)({
|
|
508
520
|
centerX: n.value.x1,
|
|
509
521
|
centerY: c.value.base,
|
|
510
522
|
initX: a.center.startX,
|
|
511
523
|
initY: a.center.startY,
|
|
512
524
|
offset: l.value.markerOffset
|
|
513
525
|
}).x,
|
|
514
|
-
y: i(
|
|
526
|
+
y: i($)({
|
|
515
527
|
centerX: n.value.x1,
|
|
516
528
|
centerY: c.value.base,
|
|
517
529
|
initX: a.center.startX,
|
|
@@ -531,18 +543,18 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
531
543
|
s: e.value.style.chart.layout.markers.suffix,
|
|
532
544
|
r: e.value.style.chart.layout.markers.roundingValue
|
|
533
545
|
})
|
|
534
|
-
)), 9,
|
|
546
|
+
)), 9, $t))), 256))
|
|
535
547
|
])) : h("", !0),
|
|
536
548
|
e.value.style.chart.layout.markers.show ? (o(), u("text", {
|
|
537
|
-
key:
|
|
538
|
-
x: i(
|
|
549
|
+
key: 6,
|
|
550
|
+
x: i($)({
|
|
539
551
|
centerX: l.value.width / 2,
|
|
540
552
|
centerY: c.value.base,
|
|
541
553
|
initX: m.value.at(-1).endX,
|
|
542
554
|
initY: m.value.at(-1).endY,
|
|
543
555
|
offset: l.value.markerOffset
|
|
544
556
|
}).x,
|
|
545
|
-
y: i(
|
|
557
|
+
y: i($)({
|
|
546
558
|
centerX: l.value.width / 2,
|
|
547
559
|
centerY: c.value.base,
|
|
548
560
|
initX: m.value.at(-1).endX,
|
|
@@ -555,15 +567,15 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
555
567
|
fill: e.value.style.chart.layout.markers.color
|
|
556
568
|
}, C(i(H)(
|
|
557
569
|
e.value.style.chart.layout.markers.formatter,
|
|
558
|
-
|
|
570
|
+
M.value,
|
|
559
571
|
i(Z)({
|
|
560
572
|
p: e.value.style.chart.layout.markers.prefix,
|
|
561
|
-
v:
|
|
573
|
+
v: M.value,
|
|
562
574
|
s: e.value.style.chart.layout.markers.suffix,
|
|
563
575
|
r: e.value.style.chart.layout.markers.roundingValue
|
|
564
576
|
})
|
|
565
577
|
)), 9, zt)) : h("", !0),
|
|
566
|
-
e.value.style.chart.layout.pointer.type === "rounded" ? (o(), u("g",
|
|
578
|
+
e.value.style.chart.layout.pointer.type === "rounded" ? (o(), u("g", Ft, [
|
|
567
579
|
isNaN(n.value.x2) ? h("", !0) : (o(), u("line", {
|
|
568
580
|
key: 0,
|
|
569
581
|
x1: n.value.x1,
|
|
@@ -573,17 +585,17 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
573
585
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
574
586
|
"stroke-width": l.value.pointerStrokeWidth,
|
|
575
587
|
"stroke-linecap": "round"
|
|
576
|
-
}, null, 8,
|
|
588
|
+
}, null, 8, Ct)),
|
|
577
589
|
isNaN(n.value.x2) ? h("", !0) : (o(), u("line", {
|
|
578
590
|
key: 1,
|
|
579
591
|
x1: n.value.x1,
|
|
580
592
|
y1: n.value.y1,
|
|
581
593
|
x2: n.value.x2,
|
|
582
594
|
y2: n.value.y2,
|
|
583
|
-
stroke: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
595
|
+
stroke: e.value.style.chart.layout.pointer.useRatingColor ? j.value : e.value.style.chart.layout.pointer.color,
|
|
584
596
|
"stroke-linecap": "round",
|
|
585
597
|
"stroke-width": l.value.pointerStrokeWidth * 0.7
|
|
586
|
-
}, null, 8,
|
|
598
|
+
}, null, 8, Ot)),
|
|
587
599
|
!isNaN(n.value.x2) && e.value.style.chart.layout.track.useGradient ? (o(), u("line", {
|
|
588
600
|
key: 2,
|
|
589
601
|
x1: n.value.x1,
|
|
@@ -595,32 +607,32 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
595
607
|
"stroke-width": l.value.pointerStrokeWidth * 0.3,
|
|
596
608
|
filter: `url(#blur_${_.value})`
|
|
597
609
|
}, null, 8, Mt)) : h("", !0)
|
|
598
|
-
])) : (o(), u("g",
|
|
610
|
+
])) : (o(), u("g", Pt, [
|
|
599
611
|
ve.value ? (o(), u("path", {
|
|
600
612
|
key: 0,
|
|
601
613
|
d: ve.value,
|
|
602
|
-
fill: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
614
|
+
fill: e.value.style.chart.layout.pointer.useRatingColor ? j.value : e.value.style.chart.layout.pointer.color,
|
|
603
615
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
604
616
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
605
617
|
"stroke-linejoin": "round"
|
|
606
|
-
}, null, 8,
|
|
618
|
+
}, null, 8, Nt)) : h("", !0)
|
|
607
619
|
])),
|
|
608
|
-
|
|
620
|
+
g("circle", {
|
|
609
621
|
cx: l.value.width / 2,
|
|
610
622
|
cy: c.value.base,
|
|
611
623
|
fill: e.value.style.chart.layout.pointer.circle.color,
|
|
612
624
|
r: l.value.pointerRadius <= 0 ? 1e-4 : l.value.pointerRadius,
|
|
613
625
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
614
626
|
stroke: e.value.style.chart.layout.pointer.circle.stroke
|
|
615
|
-
}, null, 8,
|
|
627
|
+
}, null, 8, Xt),
|
|
616
628
|
e.value.style.chart.legend.show ? (o(), u("text", {
|
|
617
|
-
key:
|
|
629
|
+
key: 9,
|
|
618
630
|
x: l.value.width / 2,
|
|
619
631
|
y: c.value.ratingBase,
|
|
620
632
|
"text-anchor": "middle",
|
|
621
633
|
"font-size": l.value.legendFontSize,
|
|
622
634
|
"font-weight": "bold",
|
|
623
|
-
fill: e.value.style.chart.legend.useRatingColor ?
|
|
635
|
+
fill: e.value.style.chart.legend.useRatingColor ? j.value : e.value.style.chart.legend.color
|
|
624
636
|
}, C(i(H)(
|
|
625
637
|
e.value.style.chart.legend.formatter,
|
|
626
638
|
f.value,
|
|
@@ -630,10 +642,10 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
630
642
|
s: e.value.style.chart.legend.suffix,
|
|
631
643
|
r: e.value.style.chart.legend.roundingValue
|
|
632
644
|
})
|
|
633
|
-
)), 9,
|
|
645
|
+
)), 9, Yt)) : h("", !0),
|
|
634
646
|
w(t.$slots, "svg", { svg: l.value }, void 0, !0)
|
|
635
647
|
], 14, ot)) : h("", !0),
|
|
636
|
-
t.$slots.watermark ? (o(), u("div",
|
|
648
|
+
t.$slots.watermark ? (o(), u("div", It, [
|
|
637
649
|
w(t.$slots, "watermark", D(B({ isPrinting: i(ue) || i(ne) })), void 0, !0)
|
|
638
650
|
])) : h("", !0),
|
|
639
651
|
Y.value ? h("", !0) : (o(), R(Ke, {
|
|
@@ -648,11 +660,11 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
648
660
|
}
|
|
649
661
|
}
|
|
650
662
|
}, null, 8, ["config"])),
|
|
651
|
-
|
|
663
|
+
g("div", {
|
|
652
664
|
ref_key: "chartLegend",
|
|
653
665
|
ref: ee
|
|
654
666
|
}, [
|
|
655
|
-
w(t.$slots, "legend", { legend:
|
|
667
|
+
w(t.$slots, "legend", { legend: z.value }, void 0, !0)
|
|
656
668
|
], 512),
|
|
657
669
|
t.$slots.source ? (o(), u("div", {
|
|
658
670
|
key: 7,
|
|
@@ -664,7 +676,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
664
676
|
], 512)) : h("", !0)
|
|
665
677
|
], 46, st));
|
|
666
678
|
}
|
|
667
|
-
},
|
|
679
|
+
}, qt = /* @__PURE__ */ lt(At, [["__scopeId", "data-v-2c21fd75"]]);
|
|
668
680
|
export {
|
|
669
|
-
|
|
681
|
+
qt as default
|
|
670
682
|
};
|