vue-data-ui 2.4.3 → 2.4.4
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 +3 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-AxsI-FAh.js} +1 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-W6XO2WVI.cjs} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-BX3x6oa7.js} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-BI1tjiA_.js} +2 -2
- package/dist/{DataTable-DTzynbND.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-B86sMXn7.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-CRMHjbGw.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-Clrfvyd8.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
- package/dist/{PenAndPaper-DAZYA8Ew.js → PenAndPaper-BQzgk5kO.js} +2 -2
- package/dist/{PenAndPaper-CDFVOo7X.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-DYNtRer6.js} +1 -1
- package/dist/{Shape-D2Dpshg1.cjs → Shape-qK3MNdTg.cjs} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-DFPDip5U.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-NlxLkUso.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-710895ks.js} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-CUN1T6KC.cjs} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-BapDtYOM.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-CPlG_yQU.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-CcykRspI.cjs} +1 -1
- package/dist/{index-Bya_q1J-.js → index-DCsPHn9C.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-DdSlLeTW.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-BcE45wW6.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-siG3sKWo.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
- package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-D_MTGc8j.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-BdzWvy4d.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
- package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CHEdFQb7.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-DBk50kIe.js} +75 -69
- package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-Bo41qkGe.js} +240 -232
- package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-CkNOqa9q.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-lMqx64wd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CNWq-epB.js} +262 -256
- package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-C65SAJKb.js} +338 -330
- package/dist/vue-ui-donut-CMC92CXL.cjs +1 -0
- package/dist/vue-ui-donut-evolution-7gIM4bVk.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-BFbBlmBx.js} +163 -156
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BnxRfvv0.js} +208 -200
- package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
- package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-Cra_F-tK.js} +130 -124
- package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DlJ7v0aD.js} +125 -119
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-CsqVvNxE.js} +167 -159
- package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
- package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-i4HFM04D.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-CgdepnhM.js} +109 -103
- package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-Bxro4962.js} +173 -166
- package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-B7dXBejH.js} +311 -303
- package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
- package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-i52wztm0.js} +149 -141
- package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +186 -178
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-BORPtgQO.js} +225 -217
- package/dist/vue-ui-quadrant-a_I5E71f.cjs +1 -0
- package/dist/vue-ui-quick-chart-BpPDfK78.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-yb1FzVdt.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-CoCbl19A.js} +172 -164
- package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-D-zwuvLK.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-nTJ8DDhG.cjs} +1 -1
- package/dist/vue-ui-relation-circle-CW9qozhJ.js +366 -0
- package/dist/vue-ui-relation-circle-Wj_yrVJc.cjs +1 -0
- package/dist/vue-ui-rings-BZaZIGEz.cjs +2 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-Bx2GEh6d.js} +196 -188
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-BARiPzro.js} +288 -280
- package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-DNuwx6_y.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-DpfJbsNA.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-BnX27B0k.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-CgCLrMox.js} +5 -5
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-aW-de-rX.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-BLUXUlTY.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-BXku33sq.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-Doi0iu0L.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-RTiKvSMp.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-BnMvXlAP.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-C6AgJH1C.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-DI7fq_MR.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-DpVCQ6W9.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-Bvuq2sLW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-oNnE5z1C.js} +4 -4
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-6g7b3yyu.js} +13 -13
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-BFM8HIM8.js} +204 -196
- package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-Bh48bMuU.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-DeRCR8l6.js} +4 -4
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-C25qj1w_.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-w3H-od91.js} +5 -5
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-BySEVhT8.js} +171 -165
- package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-BN-9a2lj.js} +6 -6
- package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-EzYdOMyf.js} +119 -112
- package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-Da0f6vaF.js} +266 -258
- package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-D1cBfu5p.js} +245 -237
- package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-DM2LsEP7.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-B9cmixxi.js} +125 -117
- package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-BLMWYOPy.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-Baz7RXN2.js} +11 -11
- package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DVnzVSqE.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-A7PKnWBs.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DAd-B98z.cjs} +1 -1
- package/package.json +1 -1
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { computed as g, ref as c, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import
|
|
6
|
-
import { _ as
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { P as
|
|
10
|
-
import { _ as
|
|
11
|
-
const
|
|
12
|
-
key:
|
|
1
|
+
import { computed as g, ref as c, watch as oe, onMounted as Fe, onBeforeUnmount as Se, openBlock as s, createElementBlock as u, normalizeClass as se, normalizeStyle as re, createBlock as N, createCommentVNode as f, withCtx as z, toDisplayString as C, unref as v, createSlots as ze, renderSlot as m, normalizeProps as E, guardReactiveProps as T, createVNode as Ce, createElementVNode as y, Fragment as j, renderList as D } from "vue";
|
|
2
|
+
import { u as $e, c as Me, t as Pe, a as Oe, p as ne, b as Ie, o as ue, d as Ne, e as X, g as ie, m as ce, X as Xe, s as U, H as A, i as Ae, f as Ye, E as ve } from "./index-DCsPHn9C.js";
|
|
3
|
+
import { t as Ge, u as Re } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { u as Ee, U as Te } from "./usePrinter-siG3sKWo.js";
|
|
5
|
+
import je from "./vue-ui-skeleton-DNuwx6_y.js";
|
|
6
|
+
import { _ as De } from "./Title-710895ks.js";
|
|
7
|
+
import { u as de } from "./useNestedProp-DdSlLeTW.js";
|
|
8
|
+
import { _ as Ue } from "./PackageVersion-Clrfvyd8.js";
|
|
9
|
+
import { P as Be } from "./PenAndPaper-BQzgk5kO.js";
|
|
10
|
+
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze = ["stop-color"], Je = ["stop-color"], Ke = ["stop-color"], Qe = ["id"], et = ["stdDeviation"], tt = ["d", "fill", "stroke"], at = ["d", "filter"], lt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], ot = ["x", "y", "font-size", "font-weight", "fill"], st = { key: 1 }, rt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], nt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ut = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], it = { key: 2 }, ct = ["d", "fill", "stroke", "stroke-width"], vt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], dt = ["x", "y", "font-size", "fill"], ht = {
|
|
12
|
+
key: 5,
|
|
13
13
|
class: "vue-data-ui-watermark"
|
|
14
|
-
},
|
|
14
|
+
}, ft = {
|
|
15
15
|
__name: "vue-ui-gauge",
|
|
16
16
|
props: {
|
|
17
17
|
config: {
|
|
@@ -27,32 +27,32 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
setup(Y, { expose:
|
|
31
|
-
const
|
|
32
|
-
get: () =>
|
|
30
|
+
setup(Y, { expose: he }) {
|
|
31
|
+
const r = Y, { vue_ui_gauge: fe } = $e(), $ = g(() => !!r.dataset && Object.keys(r.dataset).length > 0 && r.dataset.series && r.dataset.series.length), k = c(Me()), ye = c(null), B = c(0), w = c(null), L = c(null), W = c(null), V = c(null), q = c(null), H = c(0), e = g({
|
|
32
|
+
get: () => Z(),
|
|
33
33
|
set: (a) => a
|
|
34
34
|
});
|
|
35
|
-
|
|
36
|
-
e.value =
|
|
35
|
+
oe(() => r.config, (a) => {
|
|
36
|
+
e.value = Z(), ae(), H.value += 1;
|
|
37
37
|
}, { deep: !0 });
|
|
38
|
-
function
|
|
39
|
-
const a =
|
|
40
|
-
userConfig:
|
|
41
|
-
defaultConfig:
|
|
38
|
+
function Z() {
|
|
39
|
+
const a = de({
|
|
40
|
+
userConfig: r.config,
|
|
41
|
+
defaultConfig: fe
|
|
42
42
|
});
|
|
43
43
|
return a.theme ? {
|
|
44
|
-
...
|
|
45
|
-
userConfig:
|
|
44
|
+
...de({
|
|
45
|
+
userConfig: Pe.vue_ui_gauge[a.theme] || r.config,
|
|
46
46
|
defaultConfig: a
|
|
47
47
|
}),
|
|
48
|
-
customPalette:
|
|
48
|
+
customPalette: Oe[a.theme] || ne
|
|
49
49
|
} : a;
|
|
50
50
|
}
|
|
51
|
-
const { isPrinting:
|
|
51
|
+
const { isPrinting: J, isImaging: K, generatePdf: Q, generateImage: ee } = Ee({
|
|
52
52
|
elementId: `vue-ui-gauge_${k.value}`,
|
|
53
53
|
fileName: e.value.style.chart.title.text || "vue-ui-gauge"
|
|
54
|
-
}),
|
|
55
|
-
if (!$.value ||
|
|
54
|
+
}), pe = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), ge = g(() => Ie(e.value.customPalette)), _ = g(() => {
|
|
55
|
+
if (!$.value || ue(r.dataset.series || {}))
|
|
56
56
|
return {
|
|
57
57
|
value: 0,
|
|
58
58
|
series: [
|
|
@@ -63,15 +63,15 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
63
63
|
]
|
|
64
64
|
};
|
|
65
65
|
const a = [];
|
|
66
|
-
(
|
|
66
|
+
(r.dataset.series || []).forEach((l) => {
|
|
67
67
|
a.push(l.from || 0), a.push(l.to || 0);
|
|
68
68
|
});
|
|
69
69
|
const o = Math.max(...a);
|
|
70
70
|
return {
|
|
71
|
-
...
|
|
72
|
-
series: (
|
|
71
|
+
...r.dataset,
|
|
72
|
+
series: (r.dataset.series || []).map((l, n) => ({
|
|
73
73
|
...l,
|
|
74
|
-
color:
|
|
74
|
+
color: Ne(l.color) || ge.value[n] || ne[n],
|
|
75
75
|
value: ((l.to || 0) - (l.from || 0)) / o * 100
|
|
76
76
|
}))
|
|
77
77
|
};
|
|
@@ -89,21 +89,21 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
89
89
|
pointerSize: e.value.style.chart.layout.pointer.size,
|
|
90
90
|
pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
|
|
91
91
|
markerOffset: e.value.style.chart.layout.markers.offsetY + 3
|
|
92
|
-
}), M = c(0), F = c(0), d = c(e.value.style.chart.animation.use ? 0 :
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
}), M = c(0), F = c(0), d = c(e.value.style.chart.animation.use ? 0 : r.dataset.value);
|
|
93
|
+
oe(() => r.dataset.value, () => {
|
|
94
|
+
le(r.dataset.value);
|
|
95
95
|
});
|
|
96
96
|
const h = g(() => {
|
|
97
|
-
const a = t.value.width / 2, o =
|
|
97
|
+
const a = t.value.width / 2, o = i.value.base, l = Math.PI * ((d.value + 0 - F.value) / (M.value - F.value)) + Math.PI;
|
|
98
98
|
return {
|
|
99
99
|
x1: a,
|
|
100
100
|
y1: o,
|
|
101
|
-
x2: a +
|
|
102
|
-
y2: o +
|
|
101
|
+
x2: a + i.value.pointerSize * t.value.pointerSize * 0.9 * Math.cos(l),
|
|
102
|
+
y2: o + i.value.pointerSize * t.value.pointerSize * 0.9 * Math.sin(l)
|
|
103
103
|
};
|
|
104
|
-
}),
|
|
105
|
-
const a = t.value.width / 2, o =
|
|
106
|
-
return isNaN(n) ? null : `M ${n},${
|
|
104
|
+
}), te = g(() => {
|
|
105
|
+
const a = t.value.width / 2, o = i.value.base, l = Math.PI * ((d.value + 0 - F.value) / (M.value - F.value)) + Math.PI, n = a + i.value.pointerSize * t.value.pointerSize * 0.9 * Math.cos(l), I = o + i.value.pointerSize * t.value.pointerSize * 0.9 * Math.sin(l), b = t.value.pointerRadius, be = a + b * Math.cos(l + Math.PI / 2), _e = o + b * Math.sin(l + Math.PI / 2), xe = a + b * Math.cos(l - Math.PI / 2), we = o + b * Math.sin(l - Math.PI / 2);
|
|
106
|
+
return isNaN(n) ? null : `M ${n},${I} ${be},${_e} ${xe},${we} Z`;
|
|
107
107
|
}), G = g(() => {
|
|
108
108
|
for (let a = 0; a < _.value.series.length; a += 1) {
|
|
109
109
|
const { color: o, from: l, to: n } = _.value.series[a];
|
|
@@ -112,50 +112,51 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
112
112
|
}
|
|
113
113
|
return "#2D353C";
|
|
114
114
|
}), P = c(null);
|
|
115
|
-
function
|
|
116
|
-
if (
|
|
115
|
+
function ae() {
|
|
116
|
+
if (ue(r.dataset) ? X({
|
|
117
117
|
componentName: "VueUiGauge",
|
|
118
118
|
type: "dataset"
|
|
119
|
-
}) : (
|
|
120
|
-
datasetObject:
|
|
119
|
+
}) : (ie({
|
|
120
|
+
datasetObject: r.dataset,
|
|
121
121
|
requiredAttributes: ["value", "series"]
|
|
122
122
|
}).forEach((a) => {
|
|
123
|
-
|
|
123
|
+
X({
|
|
124
124
|
componentName: "VueUiGauge",
|
|
125
125
|
type: "datasetAttribute",
|
|
126
126
|
property: a
|
|
127
127
|
});
|
|
128
|
-
}), Object.hasOwn(
|
|
129
|
-
|
|
128
|
+
}), Object.hasOwn(r.dataset, "series") && (r.dataset.series.length ? r.dataset.series.forEach((a, o) => {
|
|
129
|
+
ie({
|
|
130
130
|
datasetObject: a,
|
|
131
131
|
requiredAttributes: ["from", "to"]
|
|
132
132
|
}).forEach((l) => {
|
|
133
|
-
|
|
133
|
+
X({
|
|
134
134
|
componentName: "VueUiGauge",
|
|
135
135
|
type: "datasetSerieAttribute",
|
|
136
136
|
property: l,
|
|
137
137
|
index: o
|
|
138
138
|
});
|
|
139
139
|
});
|
|
140
|
-
}) :
|
|
140
|
+
}) : X({
|
|
141
141
|
componentName: "VueUiGauge",
|
|
142
142
|
type: "datasetAttributeEmpty",
|
|
143
143
|
property: "series"
|
|
144
|
-
}))),
|
|
145
|
-
const a =
|
|
146
|
-
const { width: o, height: l } =
|
|
144
|
+
}))), le(r.dataset.value || 0), e.value.responsive) {
|
|
145
|
+
const a = Ge(() => {
|
|
146
|
+
const { width: o, height: l } = Re({
|
|
147
147
|
chart: w.value,
|
|
148
|
-
title: e.value.style.chart.title.text ?
|
|
149
|
-
legend:
|
|
150
|
-
source: V.value
|
|
148
|
+
title: e.value.style.chart.title.text ? L.value : null,
|
|
149
|
+
legend: W.value,
|
|
150
|
+
source: V.value,
|
|
151
|
+
noTitle: q.value
|
|
151
152
|
});
|
|
152
|
-
t.value.width = o, t.value.height = l, t.value.centerX = o / 2, t.value.centerY = p.value / 2 / 358.4 * l, t.value.bottom = l, t.value.labelFontSize = 18 / p.value * Math.min(l, o) < 10 ? 10 : 18 / p.value * Math.min(l, o), t.value.legendFontSize = e.value.style.chart.legend.fontSize / p.value * Math.min(l, o) < 14 ? 14 : e.value.style.chart.legend.fontSize / p.value * Math.min(l, o), t.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / p.value * Math.min(l, o), t.value.trackSize = e.value.style.chart.layout.track.size / p.value * Math.min(l, o), t.value.pointerStrokeWidth =
|
|
153
|
+
t.value.width = o, t.value.height = l, t.value.centerX = o / 2, t.value.centerY = p.value / 2 / 358.4 * l, t.value.bottom = l, t.value.labelFontSize = 18 / p.value * Math.min(l, o) < 10 ? 10 : 18 / p.value * Math.min(l, o), t.value.legendFontSize = e.value.style.chart.legend.fontSize / p.value * Math.min(l, o) < 14 ? 14 : e.value.style.chart.legend.fontSize / p.value * Math.min(l, o), t.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / p.value * Math.min(l, o), t.value.trackSize = e.value.style.chart.layout.track.size / p.value * Math.min(l, o), t.value.pointerStrokeWidth = ve({
|
|
153
154
|
relator: Math.min(o, l),
|
|
154
155
|
adjuster: p.value,
|
|
155
156
|
source: e.value.style.chart.layout.pointer.strokeWidth,
|
|
156
157
|
threshold: 2,
|
|
157
158
|
fallback: 2
|
|
158
|
-
}), t.value.markerOffset =
|
|
159
|
+
}), t.value.markerOffset = ve({
|
|
159
160
|
relator: Math.max(o, l),
|
|
160
161
|
adjuster: p.value,
|
|
161
162
|
source: e.value.style.chart.layout.markers.offsetY + 3,
|
|
@@ -166,24 +167,24 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
166
167
|
P.value = new ResizeObserver(a), P.value.observe(w.value.parentNode);
|
|
167
168
|
}
|
|
168
169
|
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
}),
|
|
170
|
+
Fe(() => {
|
|
171
|
+
ae();
|
|
172
|
+
}), Se(() => {
|
|
172
173
|
P.value && P.value.disconnect();
|
|
173
174
|
});
|
|
174
|
-
function
|
|
175
|
+
function le(a) {
|
|
175
176
|
const o = [];
|
|
176
177
|
(_.value.series || []).forEach((b) => {
|
|
177
178
|
o.push(b.from || 0), o.push(b.to || 0);
|
|
178
179
|
}), M.value = Math.max(...o), F.value = Math.min(...o);
|
|
179
180
|
let l = e.value.style.chart.animation.speed;
|
|
180
181
|
const n = Math.abs(a - d.value) / (l * 60);
|
|
181
|
-
function
|
|
182
|
-
d.value < a ? d.value = Math.min(d.value + n, a) : d.value > a && (d.value = Math.max(d.value - n, a)), d.value !== a && requestAnimationFrame(
|
|
182
|
+
function I() {
|
|
183
|
+
d.value < a ? d.value = Math.min(d.value + n, a) : d.value > a && (d.value = Math.max(d.value - n, a)), d.value !== a && requestAnimationFrame(I);
|
|
183
184
|
}
|
|
184
|
-
|
|
185
|
+
I();
|
|
185
186
|
}
|
|
186
|
-
const
|
|
187
|
+
const i = g(() => {
|
|
187
188
|
const a = e.value.responsive ? Math.min(t.value.width, t.value.height) : t.value.width;
|
|
188
189
|
return {
|
|
189
190
|
arcs: a / 2.5,
|
|
@@ -192,24 +193,24 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
192
193
|
ratingBase: e.value.responsive ? t.value.height / 2 + t.value.height / 4 : t.value.height * 0.9,
|
|
193
194
|
pointerSize: e.value.responsive ? Math.min(t.value.width, t.value.height) / 3 : t.value.width / 3.2
|
|
194
195
|
};
|
|
195
|
-
}), x = g(() =>
|
|
196
|
+
}), x = g(() => ce(
|
|
196
197
|
{ series: _.value.series },
|
|
197
198
|
t.value.width / 2,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
i.value.base,
|
|
200
|
+
i.value.arcs,
|
|
201
|
+
i.value.arcs,
|
|
201
202
|
1,
|
|
202
203
|
1,
|
|
203
204
|
1,
|
|
204
205
|
180,
|
|
205
206
|
109.9495,
|
|
206
207
|
40 * t.value.trackSize
|
|
207
|
-
)),
|
|
208
|
+
)), me = g(() => ce(
|
|
208
209
|
{ series: _.value.series },
|
|
209
210
|
t.value.width / 2,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
i.value.base,
|
|
212
|
+
i.value.gradients,
|
|
213
|
+
i.value.gradients,
|
|
213
214
|
0.95,
|
|
214
215
|
1,
|
|
215
216
|
1,
|
|
@@ -217,40 +218,47 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
217
218
|
110.02,
|
|
218
219
|
2 * t.value.trackSize
|
|
219
220
|
)), S = c(!1);
|
|
220
|
-
function
|
|
221
|
-
S.value = a,
|
|
221
|
+
function ke(a) {
|
|
222
|
+
S.value = a, B.value += 1;
|
|
222
223
|
}
|
|
223
|
-
const
|
|
224
|
+
const O = c(!1);
|
|
224
225
|
function R() {
|
|
225
|
-
|
|
226
|
+
O.value = !O.value;
|
|
226
227
|
}
|
|
227
|
-
return
|
|
228
|
-
generatePdf:
|
|
229
|
-
generateImage:
|
|
228
|
+
return he({
|
|
229
|
+
generatePdf: Q,
|
|
230
|
+
generateImage: ee,
|
|
230
231
|
toggleAnnotator: R
|
|
231
|
-
}), (a, o) => (
|
|
232
|
-
class:
|
|
232
|
+
}), (a, o) => (s(), u("div", {
|
|
233
|
+
class: se(`vue-ui-gauge ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
233
234
|
ref_key: "gaugeChart",
|
|
234
235
|
ref: w,
|
|
235
236
|
id: `vue-ui-gauge_${k.value}`,
|
|
236
237
|
style: re(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
|
|
237
238
|
}, [
|
|
238
|
-
e.value.userOptions.buttons.annotator ? (
|
|
239
|
+
e.value.userOptions.buttons.annotator ? (s(), N(Be, {
|
|
239
240
|
key: 0,
|
|
240
241
|
parent: w.value,
|
|
241
242
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
242
243
|
color: e.value.style.chart.color,
|
|
243
|
-
active:
|
|
244
|
+
active: O.value,
|
|
244
245
|
onClose: R
|
|
245
246
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
246
|
-
|
|
247
|
+
pe.value ? (s(), u("div", {
|
|
247
248
|
key: 1,
|
|
249
|
+
ref_key: "noTitle",
|
|
250
|
+
ref: q,
|
|
251
|
+
class: "vue-data-ui-no-title-space",
|
|
252
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
253
|
+
}, null, 512)) : f("", !0),
|
|
254
|
+
e.value.style.chart.title.text ? (s(), u("div", {
|
|
255
|
+
key: 2,
|
|
248
256
|
ref_key: "chartTitle",
|
|
249
|
-
ref:
|
|
257
|
+
ref: L,
|
|
250
258
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
251
259
|
}, [
|
|
252
|
-
(
|
|
253
|
-
key: `title_${
|
|
260
|
+
(s(), N(De, {
|
|
261
|
+
key: `title_${H.value}`,
|
|
254
262
|
config: {
|
|
255
263
|
title: {
|
|
256
264
|
cy: "gauge-div-title",
|
|
@@ -263,19 +271,19 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
263
271
|
}
|
|
264
272
|
}, {
|
|
265
273
|
default: z(() => [
|
|
266
|
-
e.value.translations.base && Y.dataset.base ? (
|
|
274
|
+
e.value.translations.base && Y.dataset.base ? (s(), u("span", Ve, C(e.value.translations.base) + ": " + C(Y.dataset.base), 1)) : f("", !0)
|
|
267
275
|
]),
|
|
268
276
|
_: 1
|
|
269
277
|
}, 8, ["config"]))
|
|
270
278
|
], 512)) : f("", !0),
|
|
271
|
-
e.value.userOptions.show && $.value ? (
|
|
279
|
+
e.value.userOptions.show && $.value ? (s(), N(Te, {
|
|
272
280
|
ref_key: "details",
|
|
273
|
-
ref:
|
|
274
|
-
key: `user_options_${
|
|
281
|
+
ref: ye,
|
|
282
|
+
key: `user_options_${B.value}`,
|
|
275
283
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
276
284
|
color: e.value.style.chart.color,
|
|
277
|
-
isImaging: v(
|
|
278
|
-
isPrinting: v(
|
|
285
|
+
isImaging: v(K),
|
|
286
|
+
isPrinting: v(J),
|
|
279
287
|
uid: k.value,
|
|
280
288
|
hasXls: !1,
|
|
281
289
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -286,12 +294,12 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
286
294
|
chartElement: w.value,
|
|
287
295
|
position: e.value.userOptions.position,
|
|
288
296
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
289
|
-
isAnnotation:
|
|
290
|
-
onToggleFullscreen:
|
|
291
|
-
onGeneratePdf: v(
|
|
292
|
-
onGenerateImage: v(
|
|
297
|
+
isAnnotation: O.value,
|
|
298
|
+
onToggleFullscreen: ke,
|
|
299
|
+
onGeneratePdf: v(Q),
|
|
300
|
+
onGenerateImage: v(ee),
|
|
293
301
|
onToggleAnnotator: R
|
|
294
|
-
},
|
|
302
|
+
}, ze({ _: 2 }, [
|
|
295
303
|
a.$slots.optionPdf ? {
|
|
296
304
|
name: "optionPdf",
|
|
297
305
|
fn: z(() => [
|
|
@@ -309,26 +317,26 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
309
317
|
a.$slots.optionFullscreen ? {
|
|
310
318
|
name: "optionFullscreen",
|
|
311
319
|
fn: z(({ toggleFullscreen: l, isFullscreen: n }) => [
|
|
312
|
-
m(a.$slots, "optionFullscreen", E(
|
|
320
|
+
m(a.$slots, "optionFullscreen", E(T({ toggleFullscreen: l, isFullscreen: n })), void 0, !0)
|
|
313
321
|
]),
|
|
314
322
|
key: "2"
|
|
315
323
|
} : void 0,
|
|
316
324
|
a.$slots.optionAnnotator ? {
|
|
317
325
|
name: "optionAnnotator",
|
|
318
326
|
fn: z(({ toggleAnnotator: l, isAnnotator: n }) => [
|
|
319
|
-
m(a.$slots, "optionAnnotator", E(
|
|
327
|
+
m(a.$slots, "optionAnnotator", E(T({ toggleAnnotator: l, isAnnotator: n })), void 0, !0)
|
|
320
328
|
]),
|
|
321
329
|
key: "3"
|
|
322
330
|
} : void 0
|
|
323
331
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
|
|
324
|
-
$.value ? (
|
|
325
|
-
key:
|
|
326
|
-
xmlns: v(
|
|
327
|
-
class:
|
|
332
|
+
$.value ? (s(), u("svg", {
|
|
333
|
+
key: 4,
|
|
334
|
+
xmlns: v(Xe),
|
|
335
|
+
class: se({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
328
336
|
viewBox: `0 0 ${t.value.width <= 0 ? 10 : t.value.width} ${t.value.height <= 0 ? 10 : t.value.height}`,
|
|
329
337
|
style: re(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
330
338
|
}, [
|
|
331
|
-
|
|
339
|
+
Ce(Ue),
|
|
332
340
|
y("defs", null, [
|
|
333
341
|
y("radialGradient", {
|
|
334
342
|
id: `gradient_${k.value}`,
|
|
@@ -340,17 +348,17 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
340
348
|
}, [
|
|
341
349
|
y("stop", {
|
|
342
350
|
offset: "0%",
|
|
343
|
-
"stop-color": v(
|
|
344
|
-
}, null, 8,
|
|
351
|
+
"stop-color": v(U)("#FFFFFF", 1)
|
|
352
|
+
}, null, 8, Ze),
|
|
345
353
|
y("stop", {
|
|
346
354
|
offset: "80%",
|
|
347
|
-
"stop-color": v(
|
|
348
|
-
}, null, 8,
|
|
355
|
+
"stop-color": v(U)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
|
|
356
|
+
}, null, 8, Je),
|
|
349
357
|
y("stop", {
|
|
350
358
|
offset: "100%",
|
|
351
|
-
"stop-color": v(
|
|
352
|
-
}, null, 8,
|
|
353
|
-
], 8,
|
|
359
|
+
"stop-color": v(U)("#FFFFFF", 1)
|
|
360
|
+
}, null, 8, Ke)
|
|
361
|
+
], 8, He)
|
|
354
362
|
]),
|
|
355
363
|
y("defs", null, [
|
|
356
364
|
y("filter", {
|
|
@@ -363,35 +371,35 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
363
371
|
y("feGaussianBlur", {
|
|
364
372
|
in: "SourceGraphic",
|
|
365
373
|
stdDeviation: 100 / e.value.style.chart.layout.track.gradientIntensity
|
|
366
|
-
}, null, 8,
|
|
367
|
-
], 8,
|
|
374
|
+
}, null, 8, et)
|
|
375
|
+
], 8, Qe)
|
|
368
376
|
]),
|
|
369
|
-
(
|
|
377
|
+
(s(!0), u(j, null, D(x.value, (l, n) => (s(), u("path", {
|
|
370
378
|
key: `arc_${n}`,
|
|
371
379
|
d: l.arcSlice,
|
|
372
380
|
fill: l.color,
|
|
373
381
|
stroke: e.value.style.chart.backgroundColor,
|
|
374
382
|
"stroke-linecap": "round"
|
|
375
|
-
}, null, 8,
|
|
376
|
-
e.value.style.chart.layout.track.useGradient ? (
|
|
383
|
+
}, null, 8, tt))), 128)),
|
|
384
|
+
e.value.style.chart.layout.track.useGradient ? (s(!0), u(j, { key: 0 }, D(me.value, (l, n) => (s(), u("path", {
|
|
377
385
|
key: `arc_${n}`,
|
|
378
386
|
d: l.arcSlice,
|
|
379
387
|
fill: "#FFFFFF",
|
|
380
388
|
stroke: "none",
|
|
381
389
|
"stroke-linecap": "round",
|
|
382
390
|
filter: `url(#blur_${k.value})`
|
|
383
|
-
}, null, 8,
|
|
384
|
-
(
|
|
385
|
-
x: v(
|
|
391
|
+
}, null, 8, at))), 128)) : f("", !0),
|
|
392
|
+
(s(!0), u(j, null, D(x.value, (l, n) => (s(), u("text", {
|
|
393
|
+
x: v(A)({
|
|
386
394
|
centerX: t.value.width / 2,
|
|
387
|
-
centerY:
|
|
395
|
+
centerY: i.value.base,
|
|
388
396
|
initX: l.center.startX,
|
|
389
397
|
initY: l.center.startY,
|
|
390
398
|
offset: t.value.markerOffset
|
|
391
399
|
}).x,
|
|
392
|
-
y: v(
|
|
400
|
+
y: v(A)({
|
|
393
401
|
centerX: t.value.width / 2,
|
|
394
|
-
centerY:
|
|
402
|
+
centerY: i.value.base,
|
|
395
403
|
initX: l.center.startX,
|
|
396
404
|
initY: l.center.startY,
|
|
397
405
|
offset: t.value.markerOffset
|
|
@@ -400,18 +408,18 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
400
408
|
"font-size": t.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
401
409
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
402
410
|
fill: e.value.style.chart.layout.markers.color
|
|
403
|
-
}, C(l.from.toFixed(e.value.style.chart.layout.markers.roundingValue)), 9,
|
|
411
|
+
}, C(l.from.toFixed(e.value.style.chart.layout.markers.roundingValue)), 9, lt))), 256)),
|
|
404
412
|
y("text", {
|
|
405
|
-
x: v(
|
|
413
|
+
x: v(A)({
|
|
406
414
|
centerX: t.value.width / 2,
|
|
407
|
-
centerY:
|
|
415
|
+
centerY: i.value.base,
|
|
408
416
|
initX: x.value.at(-1).endX,
|
|
409
417
|
initY: x.value.at(-1).endY,
|
|
410
418
|
offset: t.value.markerOffset
|
|
411
419
|
}).x,
|
|
412
|
-
y: v(
|
|
420
|
+
y: v(A)({
|
|
413
421
|
centerX: t.value.width / 2,
|
|
414
|
-
centerY:
|
|
422
|
+
centerY: i.value.base,
|
|
415
423
|
initX: x.value.at(-1).endX,
|
|
416
424
|
initY: x.value.at(-1).endY,
|
|
417
425
|
offset: t.value.markerOffset
|
|
@@ -420,9 +428,9 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
420
428
|
"font-size": t.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
421
429
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
422
430
|
fill: e.value.style.chart.layout.markers.color
|
|
423
|
-
}, C(M.value.toFixed(e.value.style.chart.layout.markers.roundingValue)), 9,
|
|
424
|
-
e.value.style.chart.layout.pointer.type === "rounded" ? (
|
|
425
|
-
isNaN(h.value.x2) ? f("", !0) : (
|
|
431
|
+
}, C(M.value.toFixed(e.value.style.chart.layout.markers.roundingValue)), 9, ot),
|
|
432
|
+
e.value.style.chart.layout.pointer.type === "rounded" ? (s(), u("g", st, [
|
|
433
|
+
isNaN(h.value.x2) ? f("", !0) : (s(), u("line", {
|
|
426
434
|
key: 0,
|
|
427
435
|
x1: h.value.x1,
|
|
428
436
|
y1: h.value.y1,
|
|
@@ -431,8 +439,8 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
431
439
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
432
440
|
"stroke-width": t.value.pointerStrokeWidth,
|
|
433
441
|
"stroke-linecap": "round"
|
|
434
|
-
}, null, 8,
|
|
435
|
-
isNaN(h.value.x2) ? f("", !0) : (
|
|
442
|
+
}, null, 8, rt)),
|
|
443
|
+
isNaN(h.value.x2) ? f("", !0) : (s(), u("line", {
|
|
436
444
|
key: 1,
|
|
437
445
|
x1: h.value.x1,
|
|
438
446
|
y1: h.value.y1,
|
|
@@ -441,8 +449,8 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
441
449
|
stroke: e.value.style.chart.layout.pointer.useRatingColor ? G.value : e.value.style.chart.layout.pointer.color,
|
|
442
450
|
"stroke-linecap": "round",
|
|
443
451
|
"stroke-width": t.value.pointerStrokeWidth * 0.7
|
|
444
|
-
}, null, 8,
|
|
445
|
-
!isNaN(h.value.x2) && e.value.style.chart.layout.track.useGradient ? (
|
|
452
|
+
}, null, 8, nt)),
|
|
453
|
+
!isNaN(h.value.x2) && e.value.style.chart.layout.track.useGradient ? (s(), u("line", {
|
|
446
454
|
key: 2,
|
|
447
455
|
x1: h.value.x1,
|
|
448
456
|
y1: h.value.y1,
|
|
@@ -452,49 +460,49 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
452
460
|
"stroke-linecap": "round",
|
|
453
461
|
"stroke-width": t.value.pointerStrokeWidth * 0.3,
|
|
454
462
|
filter: `url(#blur_${k.value})`
|
|
455
|
-
}, null, 8,
|
|
456
|
-
])) : (
|
|
457
|
-
|
|
463
|
+
}, null, 8, ut)) : f("", !0)
|
|
464
|
+
])) : (s(), u("g", it, [
|
|
465
|
+
te.value ? (s(), u("path", {
|
|
458
466
|
key: 0,
|
|
459
|
-
d:
|
|
467
|
+
d: te.value,
|
|
460
468
|
fill: e.value.style.chart.layout.pointer.useRatingColor ? G.value : e.value.style.chart.layout.pointer.color,
|
|
461
469
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
462
470
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
463
471
|
"stroke-linejoin": "round"
|
|
464
|
-
}, null, 8,
|
|
472
|
+
}, null, 8, ct)) : f("", !0)
|
|
465
473
|
])),
|
|
466
474
|
y("circle", {
|
|
467
475
|
cx: t.value.width / 2,
|
|
468
|
-
cy:
|
|
476
|
+
cy: i.value.base,
|
|
469
477
|
fill: e.value.style.chart.layout.pointer.circle.color,
|
|
470
478
|
r: t.value.pointerRadius <= 0 ? 1e-4 : t.value.pointerRadius,
|
|
471
479
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
472
480
|
stroke: e.value.style.chart.layout.pointer.circle.stroke
|
|
473
|
-
}, null, 8,
|
|
481
|
+
}, null, 8, vt),
|
|
474
482
|
y("text", {
|
|
475
483
|
x: t.value.width / 2,
|
|
476
|
-
y:
|
|
484
|
+
y: i.value.ratingBase,
|
|
477
485
|
"text-anchor": "middle",
|
|
478
486
|
"font-size": t.value.legendFontSize,
|
|
479
487
|
"font-weight": "bold",
|
|
480
488
|
fill: e.value.style.chart.legend.useRatingColor ? G.value : e.value.style.chart.legend.color
|
|
481
|
-
}, C(v(
|
|
489
|
+
}, C(v(Ae)(
|
|
482
490
|
e.value.style.chart.legend.formatter,
|
|
483
491
|
d.value,
|
|
484
|
-
v(
|
|
492
|
+
v(Ye)({
|
|
485
493
|
p: e.value.style.chart.legend.prefix + (e.value.style.chart.legend.showPlusSymbol && d.value > 0 ? "+" : ""),
|
|
486
494
|
v: d.value,
|
|
487
495
|
s: e.value.style.chart.legend.suffix,
|
|
488
496
|
r: e.value.style.chart.legend.roundingValue
|
|
489
497
|
})
|
|
490
|
-
)), 9,
|
|
498
|
+
)), 9, dt),
|
|
491
499
|
m(a.$slots, "svg", { svg: t.value }, void 0, !0)
|
|
492
|
-
], 14,
|
|
493
|
-
a.$slots.watermark ? (
|
|
494
|
-
m(a.$slots, "watermark", E(
|
|
500
|
+
], 14, qe)) : f("", !0),
|
|
501
|
+
a.$slots.watermark ? (s(), u("div", ht, [
|
|
502
|
+
m(a.$slots, "watermark", E(T({ isPrinting: v(J) || v(K) })), void 0, !0)
|
|
495
503
|
])) : f("", !0),
|
|
496
|
-
$.value ? f("", !0) : (
|
|
497
|
-
key:
|
|
504
|
+
$.value ? f("", !0) : (s(), N(je, {
|
|
505
|
+
key: 6,
|
|
498
506
|
config: {
|
|
499
507
|
type: "gauge",
|
|
500
508
|
style: {
|
|
@@ -507,21 +515,21 @@ const Le = ["id"], We = { key: 0 }, Te = ["xmlns", "viewBox"], Ve = ["id"], qe =
|
|
|
507
515
|
}, null, 8, ["config"])),
|
|
508
516
|
y("div", {
|
|
509
517
|
ref_key: "chartLegend",
|
|
510
|
-
ref:
|
|
518
|
+
ref: W
|
|
511
519
|
}, [
|
|
512
520
|
m(a.$slots, "legend", { legend: _.value }, void 0, !0)
|
|
513
521
|
], 512),
|
|
514
|
-
a.$slots.source ? (
|
|
515
|
-
key:
|
|
522
|
+
a.$slots.source ? (s(), u("div", {
|
|
523
|
+
key: 7,
|
|
516
524
|
ref_key: "source",
|
|
517
525
|
ref: V,
|
|
518
526
|
dir: "auto"
|
|
519
527
|
}, [
|
|
520
528
|
m(a.$slots, "source", {}, void 0, !0)
|
|
521
529
|
], 512)) : f("", !0)
|
|
522
|
-
], 14,
|
|
530
|
+
], 14, We));
|
|
523
531
|
}
|
|
524
|
-
},
|
|
532
|
+
}, St = /* @__PURE__ */ Le(ft, [["__scopeId", "data-v-1082d899"]]);
|
|
525
533
|
export {
|
|
526
|
-
|
|
534
|
+
St as default
|
|
527
535
|
};
|