vue-data-ui 2.4.36 → 2.4.38
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/dist/{Arrow-DvVfffCn.cjs → Arrow-CAyK8SiJ.cjs} +1 -1
- package/dist/{Arrow-Bpy87-5A.js → Arrow-DAz7aOQX.js} +1 -1
- package/dist/{BaseIcon-CK7TNglK.js → BaseIcon-C5xMMLKe.js} +5 -4
- package/dist/{BaseIcon-Ba0OA9UK.cjs → BaseIcon-LzZNzC-k.cjs} +1 -1
- package/dist/{DataTable-Dgokkc7A.cjs → DataTable-CYjIaj19.cjs} +1 -1
- package/dist/{DataTable-Chl6EuoM.js → DataTable-DJteUrAL.js} +2 -2
- package/dist/{Legend-D1D1r0MW.cjs → Legend-C4RfI148.cjs} +1 -1
- package/dist/{Legend-BJNfeJUD.js → Legend-D6Q_hS-N.js} +1 -1
- package/dist/{PackageVersion-D7UEx2nV.cjs → PackageVersion-BVorXRgA.cjs} +1 -1
- package/dist/{PackageVersion-tBXJRRcv.js → PackageVersion-QvLMBL8G.js} +1 -1
- package/dist/{PenAndPaper-C1dGfWPA.cjs → PenAndPaper-2ioTztzj.cjs} +1 -1
- package/dist/{PenAndPaper-VhfbqYdY.js → PenAndPaper-CT4Le8nh.js} +3 -3
- package/dist/{Shape-COkmGii0.cjs → Shape-DcAFJuUv.cjs} +1 -1
- package/dist/{Shape-Bx_JPN24.js → Shape-KRuu0uZ5.js} +1 -1
- package/dist/{Slicer-C-vVh0yP.js → Slicer-DxJ1zmBg.js} +2 -2
- package/dist/{Slicer-LsepvzYE.cjs → Slicer-L8wJ3VZd.cjs} +1 -1
- package/dist/{Title-0iC4gElN.cjs → Title-CZ0mh7PE.cjs} +1 -1
- package/dist/{Title-B5wIQ3bR.js → Title-x3NyvtQe.js} +1 -1
- package/dist/{Tooltip-BphIe1nr.cjs → Tooltip-BOmCgAU7.cjs} +1 -1
- package/dist/{Tooltip-DxlT2AdY.js → Tooltip-Df7E90wo.js} +1 -1
- package/dist/index-B4dbEeod.cjs +9 -0
- package/dist/{index-DT2Q6wHA.js → index-BfvWIfiY.js} +11 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +10 -1
- package/dist/types/vue-data-ui.d.ts +10 -1
- package/dist/{useNestedProp-mBik37PJ.js → useNestedProp-C5ctHjEY.js} +1 -1
- package/dist/{useNestedProp-C01Nxqp-.cjs → useNestedProp-uYy3UrlZ.cjs} +1 -1
- package/dist/{usePrinter-Bu3_FFNh.js → usePrinter-C_JcwuWm.js} +1 -1
- package/dist/{usePrinter-IEjSf9Zq.cjs → usePrinter-ucBlOzo2.cjs} +1 -1
- package/dist/{vue-data-ui-B1vvdA7U.cjs → vue-data-ui-CTozzcVh.cjs} +1 -1
- package/dist/{vue-data-ui-BD904qyk.js → vue-data-ui-Ccl3MBHr.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-DNJURkin.js → vue-ui-3d-bar-C1KiqCD8.js} +9 -9
- package/dist/{vue-ui-3d-bar-C39JngPT.cjs → vue-ui-3d-bar-DDlb-MuY.cjs} +1 -1
- package/dist/{vue-ui-accordion-De-_FuTd.cjs → vue-ui-accordion-8uz6O0zN.cjs} +1 -1
- package/dist/{vue-ui-accordion-Y-KIir2-.js → vue-ui-accordion-b3Vu6RVK.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CBSJ767r.cjs → vue-ui-age-pyramid-CHGSEaYL.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Blocfen4.js → vue-ui-age-pyramid-hY8RqvWh.js} +10 -10
- package/dist/{vue-ui-annotator-ls11X0Ep.js → vue-ui-annotator-C809iBPN.js} +1 -1
- package/dist/{vue-ui-annotator-CWhQkyiF.cjs → vue-ui-annotator-DscKLpfR.cjs} +1 -1
- package/dist/{vue-ui-bullet-ClNhNLlo.js → vue-ui-bullet-B9ujuFUU.js} +8 -8
- package/dist/{vue-ui-bullet-6faS2xkX.cjs → vue-ui-bullet-DYMpXNE_.cjs} +1 -1
- package/dist/{vue-ui-candlestick-D91rCN1k.cjs → vue-ui-candlestick-B-MDd1LY.cjs} +1 -1
- package/dist/{vue-ui-candlestick-BDVfGF2v.js → vue-ui-candlestick-DljnPmaC.js} +11 -11
- package/dist/{vue-ui-carousel-table-XMxSoSdl.js → vue-ui-carousel-table-E3ufuxIw.js} +4 -4
- package/dist/{vue-ui-carousel-table-B3ORmOjO.cjs → vue-ui-carousel-table-paujUY-0.cjs} +1 -1
- package/dist/{vue-ui-chestnut-mqKL0lHf.js → vue-ui-chestnut-DipUHM0x.js} +8 -8
- package/dist/{vue-ui-chestnut-DhBTx9ih.cjs → vue-ui-chestnut-po3Q45RU.cjs} +1 -1
- package/dist/{vue-ui-cursor-DBSD1ccp.cjs → vue-ui-cursor-CplxbFXK.cjs} +1 -1
- package/dist/{vue-ui-cursor-U60m7Ha6.js → vue-ui-cursor-D06J66E7.js} +2 -2
- package/dist/{vue-ui-dashboard-u7bkCHjF.cjs → vue-ui-dashboard-8GtOSkNG.cjs} +1 -1
- package/dist/{vue-ui-dashboard-D5vUSSBx.js → vue-ui-dashboard-CGgaH4-n.js} +2 -2
- package/dist/{vue-ui-digits-BQdRQ0xO.cjs → vue-ui-digits--crzD75Q.cjs} +1 -1
- package/dist/{vue-ui-digits-BwZJZe3M.js → vue-ui-digits-CYmIyFKE.js} +2 -2
- package/dist/{vue-ui-donut-rDPyaNUq.js → vue-ui-donut-Ddo5zFZ0.js} +11 -11
- package/dist/{vue-ui-donut-sZhaN0en.cjs → vue-ui-donut-Dwj6Z2uH.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-BbsK84kI.cjs → vue-ui-donut-evolution-BTjRUruR.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-BSt9xbcl.js → vue-ui-donut-evolution-Z0IjHDjm.js} +11 -11
- package/dist/{vue-ui-dumbbell-DOQpwxOf.cjs → vue-ui-dumbbell--pSKj1Dz.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-BWJieeJq.js → vue-ui-dumbbell-DOcLI8AX.js} +10 -10
- package/dist/{vue-ui-flow-DGpXI3bk.js → vue-ui-flow-Cw6Olh3c.js} +9 -9
- package/dist/{vue-ui-flow-C4xrv2sT.cjs → vue-ui-flow-CwrDsVw9.cjs} +1 -1
- package/dist/{vue-ui-funnel-BX727iqg.js → vue-ui-funnel-D8SzaI11.js} +8 -8
- package/dist/{vue-ui-funnel-BU-dX1be.cjs → vue-ui-funnel-M6CIcOHV.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BEPUwSGn.cjs → vue-ui-galaxy-BuUXwn_I.cjs} +1 -1
- package/dist/{vue-ui-galaxy-YOnLDzLn.js → vue-ui-galaxy-DRcH6lOJ.js} +11 -11
- package/dist/vue-ui-gauge-BOc5CHnJ.cjs +1 -0
- package/dist/{vue-ui-gauge-B4R-7QaH.js → vue-ui-gauge-D6VDfsha.js} +230 -208
- package/dist/{vue-ui-gizmo-d0iCnrE5.js → vue-ui-gizmo-CyUr8pm2.js} +3 -3
- package/dist/{vue-ui-gizmo-C6WHIvls.cjs → vue-ui-gizmo-as4zcurL.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Do3SwP1y.js → vue-ui-heatmap-DHA16YVI.js} +10 -10
- package/dist/{vue-ui-heatmap-BcoK1MFo.cjs → vue-ui-heatmap-Dpkvl_Ed.cjs} +1 -1
- package/dist/{vue-ui-history-plot-C7Tl3J6I.cjs → vue-ui-history-plot-BDKbSvlu.cjs} +1 -1
- package/dist/{vue-ui-history-plot-CeyQvxiu.js → vue-ui-history-plot-D0tHEYXR.js} +11 -11
- package/dist/{vue-ui-kpi-zCeUtmhG.js → vue-ui-kpi-DTIXAiP8.js} +3 -3
- package/dist/{vue-ui-kpi-C6fzXZvG.cjs → vue-ui-kpi-Zd-IgqlU.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C6e8w8Pj.js → vue-ui-mini-loader-BhjFd2BP.js} +2 -2
- package/dist/{vue-ui-mini-loader-DA2rFFM-.cjs → vue-ui-mini-loader-VwxHEY37.cjs} +1 -1
- package/dist/{vue-ui-molecule-B7pqKZ6Q.js → vue-ui-molecule-Cr9EVj4Q.js} +11 -11
- package/dist/{vue-ui-molecule-By3e76zL.cjs → vue-ui-molecule-hCAfUH98.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-Ch3yfUsb.cjs → vue-ui-mood-radar-CydQr5GI.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DEjAMbvz.js → vue-ui-mood-radar-umRtNtxs.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BYUHWwAG.js → vue-ui-nested-donuts-BIoQEWGY.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BXul72Pg.cjs → vue-ui-nested-donuts-BKxE58Uf.cjs} +1 -1
- package/dist/{vue-ui-onion-Di-_exOm.cjs → vue-ui-onion-2oV8205I.cjs} +1 -1
- package/dist/{vue-ui-onion-BTQj76EU.js → vue-ui-onion-CeJCh11D.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-BaYu4ces.js → vue-ui-parallel-coordinate-plot-3I5v7gSF.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-B6OQiz_w.cjs → vue-ui-parallel-coordinate-plot-DYvaWzwb.cjs} +1 -1
- package/dist/{vue-ui-quadrant-LdkWJ4bO.js → vue-ui-quadrant-B01cPXS5.js} +12 -12
- package/dist/{vue-ui-quadrant-Tv2JUmD2.cjs → vue-ui-quadrant-B0GKCJxi.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-enp44IMM.cjs → vue-ui-quick-chart-B42AMm4R.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-B8tYrd7n.js → vue-ui-quick-chart-GU62u7yC.js} +9 -9
- package/dist/{vue-ui-radar-CdQ3ZZnc.js → vue-ui-radar-DsjxjLjY.js} +12 -12
- package/dist/{vue-ui-radar-Dw0mtHHQ.cjs → vue-ui-radar-Dwf_8p6N.cjs} +1 -1
- package/dist/{vue-ui-rating-CgbhHqLS.cjs → vue-ui-rating-BDOEfGwV.cjs} +1 -1
- package/dist/{vue-ui-rating-iL7BC7v-.js → vue-ui-rating-weQfwApU.js} +2 -2
- package/dist/{vue-ui-relation-circle-CoNB6PQ2.js → vue-ui-relation-circle-C7vapzk4.js} +7 -7
- package/dist/{vue-ui-relation-circle-xL3OCDO2.cjs → vue-ui-relation-circle-DRLam0rk.cjs} +1 -1
- package/dist/{vue-ui-rings-BNmLppA8.cjs → vue-ui-rings-BDxpRKWC.cjs} +1 -1
- package/dist/{vue-ui-rings-Cs4jVChn.js → vue-ui-rings-BsunIWna.js} +11 -11
- package/dist/{vue-ui-scatter-BvUVkiSM.js → vue-ui-scatter-B4eRVmk2.js} +12 -12
- package/dist/{vue-ui-scatter-DVKpfEr4.cjs → vue-ui-scatter-CE4pfpCN.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Bw3Vkosw.cjs → vue-ui-screenshot-CqC7uqTW.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Tkspb4Gy.js → vue-ui-screenshot-DnF-twyf.js} +1 -1
- package/dist/{vue-ui-skeleton-D2ANHIIV.cjs → vue-ui-skeleton-4l6lQhDp.cjs} +1 -1
- package/dist/{vue-ui-skeleton-D9lIs0pC.js → vue-ui-skeleton-CK-lcAFv.js} +3 -3
- package/dist/{vue-ui-smiley-CZmxJR1p.js → vue-ui-smiley-DXFyinQx.js} +2 -2
- package/dist/{vue-ui-smiley-C18DtSwE.cjs → vue-ui-smiley-jR415Iqn.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DAD9EW5F.cjs → vue-ui-spark-trend-D9vaq6qF.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CP2rAw9u.js → vue-ui-spark-trend-s6WxtG4d.js} +5 -5
- package/dist/{vue-ui-sparkbar-CK_sJkSI.cjs → vue-ui-sparkbar-BzisE3ts.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Ebg2bwSr.js → vue-ui-sparkbar-Cm6S1Qb4.js} +4 -4
- package/dist/{vue-ui-sparkgauge-CkhqBiO0.js → vue-ui-sparkgauge-Bh_CjEyL.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DRc4NqXv.cjs → vue-ui-sparkgauge-COCtEmhT.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CFwcK9dP.cjs → vue-ui-sparkhistogram-C7PY45w0.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-By027HfM.js → vue-ui-sparkhistogram-J_unkqPG.js} +5 -5
- package/dist/vue-ui-sparkline-Be1dXlA9.cjs +1 -0
- package/dist/{vue-ui-sparkline-j2oC5gBh.js → vue-ui-sparkline-E6y3983Y.js} +58 -50
- package/dist/{vue-ui-sparkstackbar-CIImFRNj.cjs → vue-ui-sparkstackbar-CCzIqHBf.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-Bil9rW48.js → vue-ui-sparkstackbar-CH0Pch6B.js} +5 -5
- package/dist/{vue-ui-stackbar-BtN-dlcj.js → vue-ui-stackbar-BQmJiCNo.js} +12 -12
- package/dist/{vue-ui-stackbar-BN22b1v_.cjs → vue-ui-stackbar-ByDUWOyZ.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-D9L8r-Qd.cjs → vue-ui-strip-plot-BfXCXnmQ.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DZWB-w56.js → vue-ui-strip-plot-Dp_SpOZK.js} +11 -11
- package/dist/{vue-ui-table-D8e6SX0d.cjs → vue-ui-table-BEuRL3NS.cjs} +1 -1
- package/dist/{vue-ui-table-miQfZhdG.js → vue-ui-table-Bz29cntB.js} +1 -1
- package/dist/{vue-ui-table-heatmap-m3Fkpx9y.js → vue-ui-table-heatmap-CqLnEyoP.js} +4 -4
- package/dist/{vue-ui-table-heatmap-8uW1Gc3l.cjs → vue-ui-table-heatmap-DYcIN8JK.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DltQKhPy.js → vue-ui-table-sparkline-BfChx5eE.js} +64 -62
- package/dist/vue-ui-table-sparkline-vlSwSjCF.cjs +1 -0
- package/dist/{vue-ui-thermometer-Bdy_jYI1.cjs → vue-ui-thermometer-B-8wcBPG.cjs} +1 -1
- package/dist/{vue-ui-thermometer-ceqnJJgt.js → vue-ui-thermometer-Dxa2olTt.js} +7 -7
- package/dist/{vue-ui-timer-B9uwiDwB.js → vue-ui-timer-DCw1gtRV.js} +5 -5
- package/dist/{vue-ui-timer-CM2i7679.cjs → vue-ui-timer-DsJk28Ny.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CbjA0LAa.js → vue-ui-tiremarks-BHybVVRg.js} +7 -7
- package/dist/{vue-ui-tiremarks-6S2fApFV.cjs → vue-ui-tiremarks-CEK5-Ion.cjs} +1 -1
- package/dist/{vue-ui-treemap-Dorwv25m.cjs → vue-ui-treemap-5eXs9Afh.cjs} +1 -1
- package/dist/{vue-ui-treemap-CozGHw4b.js → vue-ui-treemap-kIBQTHu8.js} +11 -11
- package/dist/{vue-ui-vertical-bar-B3mUU17x.cjs → vue-ui-vertical-bar-CkJXkGAm.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar--ilwk-0L.js → vue-ui-vertical-bar-D27LA1Dc.js} +11 -11
- package/dist/{vue-ui-waffle-BEa1YJLV.cjs → vue-ui-waffle-C1O7clHR.cjs} +1 -1
- package/dist/{vue-ui-waffle-DXaAloSi.js → vue-ui-waffle-CGsWS6jQ.js} +11 -11
- package/dist/{vue-ui-wheel-C2wDyBoN.cjs → vue-ui-wheel-BwDaKdAT.cjs} +1 -1
- package/dist/{vue-ui-wheel-BU2OITMK.js → vue-ui-wheel-qwt5Ais3.js} +7 -7
- package/dist/{vue-ui-word-cloud-E7BNcpiF.js → vue-ui-word-cloud-B7MrSoRx.js} +10 -10
- package/dist/{vue-ui-word-cloud-DaokdBId.cjs → vue-ui-word-cloud-DK01KwNg.cjs} +1 -1
- package/dist/{vue-ui-xy-BSOYHk-G.cjs → vue-ui-xy-BzclkAin.cjs} +1 -1
- package/dist/{vue-ui-xy-DHJUsPhx.js → vue-ui-xy-DlSYajOn.js} +14 -14
- package/dist/{vue-ui-xy-canvas-DmBKepV0.js → vue-ui-xy-canvas-BIdABPv7.js} +11 -11
- package/dist/{vue-ui-xy-canvas-CvOJifne.cjs → vue-ui-xy-canvas-CKTkd0NL.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-kERGTkcX.cjs +0 -9
- package/dist/vue-ui-gauge-SmYMqHtg.cjs +0 -1
- package/dist/vue-ui-sparkline-CEmqDTG_.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DDGpViuj.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
1
|
+
import { computed as p, ref as v, watch as se, onMounted as ze, onBeforeUnmount as Ce, openBlock as r, createElementBlock as s, normalizeClass as ue, normalizeStyle as ne, createBlock as N, createCommentVNode as d, withCtx as C, toDisplayString as $, unref as n, createSlots as $e, renderSlot as m, normalizeProps as E, guardReactiveProps as T, createVNode as Me, createElementVNode as g, Fragment as j, renderList as D } from "vue";
|
|
2
|
+
import { u as Pe, c as Oe, t as Ie, a as Ne, p as ie, b as Xe, o as ce, d as Ae, e as X, g as ve, m as de, X as Ye, s as U, H as A, i as B, f as L, E as he } from "./index-BfvWIfiY.js";
|
|
3
3
|
import { t as Ge, u as Re } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { u as Ee, U as Te } from "./usePrinter-
|
|
5
|
-
import je from "./vue-ui-skeleton-
|
|
6
|
-
import { _ as De } from "./Title-
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as Ue } from "./PackageVersion-
|
|
9
|
-
import { P as Be } from "./PenAndPaper-
|
|
4
|
+
import { u as Ee, U as Te } from "./usePrinter-C_JcwuWm.js";
|
|
5
|
+
import je from "./vue-ui-skeleton-CK-lcAFv.js";
|
|
6
|
+
import { _ as De } from "./Title-x3NyvtQe.js";
|
|
7
|
+
import { u as fe } from "./useNestedProp-C5ctHjEY.js";
|
|
8
|
+
import { _ as Ue } from "./PackageVersion-QvLMBL8G.js";
|
|
9
|
+
import { P as Be } from "./PenAndPaper-CT4Le8nh.js";
|
|
10
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"],
|
|
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 = { key: 1 }, ot = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], rt = ["x", "y", "font-size", "font-weight", "fill"], st = { key: 3 }, ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], nt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], it = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], ct = { key: 4 }, vt = ["d", "fill", "stroke", "stroke-width"], dt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], ht = ["x", "y", "font-size", "fill"], ft = {
|
|
12
12
|
key: 5,
|
|
13
13
|
class: "vue-data-ui-watermark"
|
|
14
|
-
},
|
|
14
|
+
}, yt = {
|
|
15
15
|
__name: "vue-ui-gauge",
|
|
16
16
|
props: {
|
|
17
17
|
config: {
|
|
@@ -27,32 +27,32 @@ const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze =
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
setup(Y, { expose:
|
|
31
|
-
const
|
|
32
|
-
get: () =>
|
|
30
|
+
setup(Y, { expose: ye }) {
|
|
31
|
+
const u = Y, { vue_ui_gauge: pe } = Pe(), M = p(() => !!u.dataset && Object.keys(u.dataset).length > 0 && u.dataset.series && u.dataset.series.length), k = v(Oe()), ge = v(null), W = v(0), w = v(null), V = v(null), q = v(null), H = v(null), Z = v(null), J = v(0), e = p({
|
|
32
|
+
get: () => K(),
|
|
33
33
|
set: (a) => a
|
|
34
34
|
});
|
|
35
|
-
|
|
36
|
-
e.value =
|
|
35
|
+
se(() => u.config, (a) => {
|
|
36
|
+
e.value = K(), oe(), J.value += 1;
|
|
37
37
|
}, { deep: !0 });
|
|
38
|
-
function
|
|
39
|
-
const a =
|
|
40
|
-
userConfig:
|
|
41
|
-
defaultConfig:
|
|
38
|
+
function K() {
|
|
39
|
+
const a = fe({
|
|
40
|
+
userConfig: u.config,
|
|
41
|
+
defaultConfig: pe
|
|
42
42
|
});
|
|
43
43
|
return a.theme ? {
|
|
44
|
-
...
|
|
45
|
-
userConfig:
|
|
44
|
+
...fe({
|
|
45
|
+
userConfig: Ie.vue_ui_gauge[a.theme] || u.config,
|
|
46
46
|
defaultConfig: a
|
|
47
47
|
}),
|
|
48
|
-
customPalette:
|
|
48
|
+
customPalette: Ne[a.theme] || ie
|
|
49
49
|
} : a;
|
|
50
50
|
}
|
|
51
|
-
const { isPrinting:
|
|
51
|
+
const { isPrinting: Q, isImaging: ee, generatePdf: te, generateImage: ae } = Ee({
|
|
52
52
|
elementId: `vue-ui-gauge_${k.value}`,
|
|
53
53
|
fileName: e.value.style.chart.title.text || "vue-ui-gauge"
|
|
54
|
-
}),
|
|
55
|
-
if (
|
|
54
|
+
}), me = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), ke = p(() => Xe(e.value.customPalette)), _ = p(() => {
|
|
55
|
+
if (!M.value || ce(u.dataset.series || {}))
|
|
56
56
|
return {
|
|
57
57
|
value: 0,
|
|
58
58
|
series: [
|
|
@@ -63,25 +63,25 @@ const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze =
|
|
|
63
63
|
]
|
|
64
64
|
};
|
|
65
65
|
const a = [];
|
|
66
|
-
(
|
|
66
|
+
(u.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
|
+
...u.dataset,
|
|
72
|
+
series: (u.dataset.series || []).map((l, i) => ({
|
|
73
73
|
...l,
|
|
74
|
-
color:
|
|
74
|
+
color: Ae(l.color) || ke.value[i] || ie[i],
|
|
75
75
|
value: ((l.to || 0) - (l.from || 0)) / o * 100
|
|
76
76
|
}))
|
|
77
77
|
};
|
|
78
|
-
}),
|
|
78
|
+
}), y = v(512), t = v({
|
|
79
79
|
height: 358.4,
|
|
80
|
-
width:
|
|
80
|
+
width: y.value,
|
|
81
81
|
top: 0,
|
|
82
82
|
bottom: 358.4,
|
|
83
83
|
centerX: 179.2,
|
|
84
|
-
centerY:
|
|
84
|
+
centerY: y.value / 2,
|
|
85
85
|
labelFontSize: 18,
|
|
86
86
|
legendFontSize: e.value.style.chart.legend.fontSize,
|
|
87
87
|
pointerRadius: e.value.style.chart.layout.pointer.circle.radius,
|
|
@@ -89,35 +89,35 @@ const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze =
|
|
|
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
|
-
}),
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
}), F = v(0), S = v(0), h = v(e.value.style.chart.animation.use ? 0 : u.dataset.value);
|
|
93
|
+
se(() => u.dataset.value, () => {
|
|
94
|
+
re(u.dataset.value);
|
|
95
95
|
});
|
|
96
|
-
const
|
|
97
|
-
const a = t.value.width / 2, o =
|
|
96
|
+
const f = p(() => {
|
|
97
|
+
const a = t.value.width / 2, o = c.value.base, l = Math.PI * ((h.value + 0 - S.value) / (F.value - S.value)) + Math.PI;
|
|
98
98
|
return {
|
|
99
99
|
x1: a,
|
|
100
100
|
y1: o,
|
|
101
|
-
x2: a +
|
|
102
|
-
y2: o +
|
|
101
|
+
x2: a + c.value.pointerSize * t.value.pointerSize * 0.9 * Math.cos(l),
|
|
102
|
+
y2: o + c.value.pointerSize * t.value.pointerSize * 0.9 * Math.sin(l)
|
|
103
103
|
};
|
|
104
|
-
}),
|
|
105
|
-
const a = t.value.width / 2, o =
|
|
106
|
-
return isNaN(
|
|
107
|
-
}), G =
|
|
104
|
+
}), le = p(() => {
|
|
105
|
+
const a = t.value.width / 2, o = c.value.base, l = Math.PI * ((h.value + 0 - S.value) / (F.value - S.value)) + Math.PI, i = a + c.value.pointerSize * t.value.pointerSize * 0.9 * Math.cos(l), I = o + c.value.pointerSize * t.value.pointerSize * 0.9 * Math.sin(l), b = t.value.pointerRadius, xe = a + b * Math.cos(l + Math.PI / 2), we = o + b * Math.sin(l + Math.PI / 2), Fe = a + b * Math.cos(l - Math.PI / 2), Se = o + b * Math.sin(l - Math.PI / 2);
|
|
106
|
+
return isNaN(i) ? null : `M ${i},${I} ${xe},${we} ${Fe},${Se} Z`;
|
|
107
|
+
}), G = p(() => {
|
|
108
108
|
for (let a = 0; a < _.value.series.length; a += 1) {
|
|
109
|
-
const { color: o, from: l, to:
|
|
110
|
-
if (
|
|
109
|
+
const { color: o, from: l, to: i } = _.value.series[a];
|
|
110
|
+
if (h.value >= l && h.value <= i)
|
|
111
111
|
return o;
|
|
112
112
|
}
|
|
113
113
|
return "#2D353C";
|
|
114
|
-
}), P =
|
|
115
|
-
function
|
|
116
|
-
if (
|
|
114
|
+
}), P = v(null);
|
|
115
|
+
function oe() {
|
|
116
|
+
if (ce(u.dataset) ? X({
|
|
117
117
|
componentName: "VueUiGauge",
|
|
118
118
|
type: "dataset"
|
|
119
|
-
}) : (
|
|
120
|
-
datasetObject:
|
|
119
|
+
}) : (ve({
|
|
120
|
+
datasetObject: u.dataset,
|
|
121
121
|
requiredAttributes: ["value", "series"]
|
|
122
122
|
}).forEach((a) => {
|
|
123
123
|
X({
|
|
@@ -125,8 +125,8 @@ const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze =
|
|
|
125
125
|
type: "datasetAttribute",
|
|
126
126
|
property: a
|
|
127
127
|
});
|
|
128
|
-
}), Object.hasOwn(
|
|
129
|
-
|
|
128
|
+
}), Object.hasOwn(u.dataset, "series") && (u.dataset.series.length ? u.dataset.series.forEach((a, o) => {
|
|
129
|
+
ve({
|
|
130
130
|
datasetObject: a,
|
|
131
131
|
requiredAttributes: ["from", "to"]
|
|
132
132
|
}).forEach((l) => {
|
|
@@ -141,24 +141,24 @@ const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze =
|
|
|
141
141
|
componentName: "VueUiGauge",
|
|
142
142
|
type: "datasetAttributeEmpty",
|
|
143
143
|
property: "series"
|
|
144
|
-
}))),
|
|
144
|
+
}))), re(u.dataset.value || 0), e.value.responsive) {
|
|
145
145
|
const a = Ge(() => {
|
|
146
146
|
const { width: o, height: l } = Re({
|
|
147
147
|
chart: w.value,
|
|
148
|
-
title: e.value.style.chart.title.text ?
|
|
149
|
-
legend:
|
|
150
|
-
source:
|
|
151
|
-
noTitle:
|
|
148
|
+
title: e.value.style.chart.title.text ? V.value : null,
|
|
149
|
+
legend: q.value,
|
|
150
|
+
source: H.value,
|
|
151
|
+
noTitle: Z.value
|
|
152
152
|
});
|
|
153
|
-
t.value.width = o, t.value.height = l, t.value.centerX = o / 2, t.value.centerY =
|
|
153
|
+
t.value.width = o, t.value.height = l, t.value.centerX = o / 2, t.value.centerY = y.value / 2 / 358.4 * l, t.value.bottom = l, t.value.labelFontSize = 18 / y.value * Math.min(l, o) < 10 ? 10 : 18 / y.value * Math.min(l, o), t.value.legendFontSize = e.value.style.chart.legend.fontSize / y.value * Math.min(l, o) < 14 ? 14 : e.value.style.chart.legend.fontSize / y.value * Math.min(l, o), t.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / y.value * Math.min(l, o), t.value.trackSize = e.value.style.chart.layout.track.size / y.value * Math.min(l, o), t.value.pointerStrokeWidth = he({
|
|
154
154
|
relator: Math.min(o, l),
|
|
155
|
-
adjuster:
|
|
155
|
+
adjuster: y.value,
|
|
156
156
|
source: e.value.style.chart.layout.pointer.strokeWidth,
|
|
157
157
|
threshold: 2,
|
|
158
158
|
fallback: 2
|
|
159
|
-
}), t.value.markerOffset =
|
|
159
|
+
}), t.value.markerOffset = he({
|
|
160
160
|
relator: Math.max(o, l),
|
|
161
|
-
adjuster:
|
|
161
|
+
adjuster: y.value,
|
|
162
162
|
source: e.value.style.chart.layout.markers.offsetY + 3,
|
|
163
163
|
threshold: 2,
|
|
164
164
|
fallback: 2
|
|
@@ -167,24 +167,24 @@ const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze =
|
|
|
167
167
|
P.value = new ResizeObserver(a), P.value.observe(w.value.parentNode);
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}),
|
|
170
|
+
ze(() => {
|
|
171
|
+
oe();
|
|
172
|
+
}), Ce(() => {
|
|
173
173
|
P.value && P.value.disconnect();
|
|
174
174
|
});
|
|
175
|
-
function
|
|
175
|
+
function re(a) {
|
|
176
176
|
const o = [];
|
|
177
177
|
(_.value.series || []).forEach((b) => {
|
|
178
178
|
o.push(b.from || 0), o.push(b.to || 0);
|
|
179
|
-
}),
|
|
179
|
+
}), F.value = Math.max(...o), S.value = Math.min(...o);
|
|
180
180
|
let l = e.value.style.chart.animation.speed;
|
|
181
|
-
const
|
|
181
|
+
const i = Math.abs(a - h.value) / (l * 60);
|
|
182
182
|
function I() {
|
|
183
|
-
|
|
183
|
+
h.value < a ? h.value = Math.min(h.value + i, a) : h.value > a && (h.value = Math.max(h.value - i, a)), h.value !== a && requestAnimationFrame(I);
|
|
184
184
|
}
|
|
185
185
|
I();
|
|
186
186
|
}
|
|
187
|
-
const
|
|
187
|
+
const c = p(() => {
|
|
188
188
|
const a = e.value.responsive ? Math.min(t.value.width, t.value.height) : t.value.width;
|
|
189
189
|
return {
|
|
190
190
|
arcs: a / 2.5,
|
|
@@ -193,72 +193,72 @@ const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze =
|
|
|
193
193
|
ratingBase: e.value.responsive ? t.value.height / 2 + t.value.height / 4 : t.value.height * 0.9,
|
|
194
194
|
pointerSize: e.value.responsive ? Math.min(t.value.width, t.value.height) / 3 : t.value.width / 3.2
|
|
195
195
|
};
|
|
196
|
-
}), x =
|
|
196
|
+
}), x = p(() => de(
|
|
197
197
|
{ series: _.value.series },
|
|
198
198
|
t.value.width / 2,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
c.value.base,
|
|
200
|
+
c.value.arcs,
|
|
201
|
+
c.value.arcs,
|
|
202
202
|
1,
|
|
203
203
|
1,
|
|
204
204
|
1,
|
|
205
205
|
180,
|
|
206
206
|
109.9495,
|
|
207
207
|
40 * t.value.trackSize
|
|
208
|
-
)),
|
|
208
|
+
)), be = p(() => de(
|
|
209
209
|
{ series: _.value.series },
|
|
210
210
|
t.value.width / 2,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
211
|
+
c.value.base,
|
|
212
|
+
c.value.gradients,
|
|
213
|
+
c.value.gradients,
|
|
214
214
|
0.95,
|
|
215
215
|
1,
|
|
216
216
|
1,
|
|
217
217
|
180,
|
|
218
218
|
110.02,
|
|
219
219
|
2 * t.value.trackSize
|
|
220
|
-
)),
|
|
221
|
-
function
|
|
222
|
-
|
|
220
|
+
)), z = v(!1);
|
|
221
|
+
function _e(a) {
|
|
222
|
+
z.value = a, W.value += 1;
|
|
223
223
|
}
|
|
224
|
-
const O =
|
|
224
|
+
const O = v(!1);
|
|
225
225
|
function R() {
|
|
226
226
|
O.value = !O.value;
|
|
227
227
|
}
|
|
228
|
-
return
|
|
229
|
-
generatePdf:
|
|
230
|
-
generateImage:
|
|
228
|
+
return ye({
|
|
229
|
+
generatePdf: te,
|
|
230
|
+
generateImage: ae,
|
|
231
231
|
toggleAnnotator: R
|
|
232
|
-
}), (a, o) => (
|
|
233
|
-
class:
|
|
232
|
+
}), (a, o) => (r(), s("div", {
|
|
233
|
+
class: ue(`vue-ui-gauge ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
234
234
|
ref_key: "gaugeChart",
|
|
235
235
|
ref: w,
|
|
236
236
|
id: `vue-ui-gauge_${k.value}`,
|
|
237
|
-
style:
|
|
237
|
+
style: ne(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
|
|
238
238
|
}, [
|
|
239
|
-
e.value.userOptions.buttons.annotator ? (
|
|
239
|
+
e.value.userOptions.buttons.annotator ? (r(), N(Be, {
|
|
240
240
|
key: 0,
|
|
241
241
|
parent: w.value,
|
|
242
242
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
243
243
|
color: e.value.style.chart.color,
|
|
244
244
|
active: O.value,
|
|
245
245
|
onClose: R
|
|
246
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
247
|
-
|
|
246
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
|
|
247
|
+
me.value ? (r(), s("div", {
|
|
248
248
|
key: 1,
|
|
249
249
|
ref_key: "noTitle",
|
|
250
|
-
ref:
|
|
250
|
+
ref: Z,
|
|
251
251
|
class: "vue-data-ui-no-title-space",
|
|
252
252
|
style: "height:36px; width: 100%;background:transparent"
|
|
253
|
-
}, null, 512)) :
|
|
254
|
-
e.value.style.chart.title.text ? (
|
|
253
|
+
}, null, 512)) : d("", !0),
|
|
254
|
+
e.value.style.chart.title.text ? (r(), s("div", {
|
|
255
255
|
key: 2,
|
|
256
256
|
ref_key: "chartTitle",
|
|
257
|
-
ref:
|
|
257
|
+
ref: V,
|
|
258
258
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
259
259
|
}, [
|
|
260
|
-
(
|
|
261
|
-
key: `title_${
|
|
260
|
+
(r(), N(De, {
|
|
261
|
+
key: `title_${J.value}`,
|
|
262
262
|
config: {
|
|
263
263
|
title: {
|
|
264
264
|
cy: "gauge-div-title",
|
|
@@ -270,75 +270,75 @@ const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze =
|
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
}, {
|
|
273
|
-
default:
|
|
274
|
-
e.value.translations.base && Y.dataset.base ? (
|
|
273
|
+
default: C(() => [
|
|
274
|
+
e.value.translations.base && Y.dataset.base ? (r(), s("span", Ve, $(e.value.translations.base) + ": " + $(Y.dataset.base), 1)) : d("", !0)
|
|
275
275
|
]),
|
|
276
276
|
_: 1
|
|
277
277
|
}, 8, ["config"]))
|
|
278
|
-
], 512)) :
|
|
279
|
-
e.value.userOptions.show &&
|
|
278
|
+
], 512)) : d("", !0),
|
|
279
|
+
e.value.userOptions.show && M.value ? (r(), N(Te, {
|
|
280
280
|
ref_key: "details",
|
|
281
|
-
ref:
|
|
282
|
-
key: `user_options_${
|
|
281
|
+
ref: ge,
|
|
282
|
+
key: `user_options_${W.value}`,
|
|
283
283
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
284
284
|
color: e.value.style.chart.color,
|
|
285
|
-
isImaging:
|
|
286
|
-
isPrinting:
|
|
285
|
+
isImaging: n(ee),
|
|
286
|
+
isPrinting: n(Q),
|
|
287
287
|
uid: k.value,
|
|
288
288
|
hasXls: !1,
|
|
289
289
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
290
290
|
hasImg: e.value.userOptions.buttons.img,
|
|
291
291
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
292
|
-
isFullscreen:
|
|
292
|
+
isFullscreen: z.value,
|
|
293
293
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
294
294
|
chartElement: w.value,
|
|
295
295
|
position: e.value.userOptions.position,
|
|
296
296
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
297
297
|
isAnnotation: O.value,
|
|
298
|
-
onToggleFullscreen:
|
|
299
|
-
onGeneratePdf:
|
|
300
|
-
onGenerateImage:
|
|
298
|
+
onToggleFullscreen: _e,
|
|
299
|
+
onGeneratePdf: n(te),
|
|
300
|
+
onGenerateImage: n(ae),
|
|
301
301
|
onToggleAnnotator: R
|
|
302
|
-
},
|
|
302
|
+
}, $e({ _: 2 }, [
|
|
303
303
|
a.$slots.optionPdf ? {
|
|
304
304
|
name: "optionPdf",
|
|
305
|
-
fn:
|
|
305
|
+
fn: C(() => [
|
|
306
306
|
m(a.$slots, "optionPdf", {}, void 0, !0)
|
|
307
307
|
]),
|
|
308
308
|
key: "0"
|
|
309
309
|
} : void 0,
|
|
310
310
|
a.$slots.optionImg ? {
|
|
311
311
|
name: "optionImg",
|
|
312
|
-
fn:
|
|
312
|
+
fn: C(() => [
|
|
313
313
|
m(a.$slots, "optionImg", {}, void 0, !0)
|
|
314
314
|
]),
|
|
315
315
|
key: "1"
|
|
316
316
|
} : void 0,
|
|
317
317
|
a.$slots.optionFullscreen ? {
|
|
318
318
|
name: "optionFullscreen",
|
|
319
|
-
fn:
|
|
320
|
-
m(a.$slots, "optionFullscreen", E(T({ toggleFullscreen: l, isFullscreen:
|
|
319
|
+
fn: C(({ toggleFullscreen: l, isFullscreen: i }) => [
|
|
320
|
+
m(a.$slots, "optionFullscreen", E(T({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
|
|
321
321
|
]),
|
|
322
322
|
key: "2"
|
|
323
323
|
} : void 0,
|
|
324
324
|
a.$slots.optionAnnotator ? {
|
|
325
325
|
name: "optionAnnotator",
|
|
326
|
-
fn:
|
|
327
|
-
m(a.$slots, "optionAnnotator", E(T({ toggleAnnotator: l, isAnnotator:
|
|
326
|
+
fn: C(({ toggleAnnotator: l, isAnnotator: i }) => [
|
|
327
|
+
m(a.$slots, "optionAnnotator", E(T({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
|
|
328
328
|
]),
|
|
329
329
|
key: "3"
|
|
330
330
|
} : void 0
|
|
331
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
332
|
-
|
|
331
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
332
|
+
M.value ? (r(), s("svg", {
|
|
333
333
|
key: 4,
|
|
334
|
-
xmlns:
|
|
335
|
-
class:
|
|
334
|
+
xmlns: n(Ye),
|
|
335
|
+
class: ue({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
|
|
336
336
|
viewBox: `0 0 ${t.value.width <= 0 ? 10 : t.value.width} ${t.value.height <= 0 ? 10 : t.value.height}`,
|
|
337
|
-
style:
|
|
337
|
+
style: ne(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
338
338
|
}, [
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
339
|
+
Me(Ue),
|
|
340
|
+
g("defs", null, [
|
|
341
|
+
g("radialGradient", {
|
|
342
342
|
id: `gradient_${k.value}`,
|
|
343
343
|
cx: "50%",
|
|
344
344
|
cy: "50%",
|
|
@@ -346,80 +346,92 @@ const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze =
|
|
|
346
346
|
fx: "50%",
|
|
347
347
|
fy: "50%"
|
|
348
348
|
}, [
|
|
349
|
-
|
|
349
|
+
g("stop", {
|
|
350
350
|
offset: "0%",
|
|
351
|
-
"stop-color":
|
|
351
|
+
"stop-color": n(U)("#FFFFFF", 1)
|
|
352
352
|
}, null, 8, Ze),
|
|
353
|
-
|
|
353
|
+
g("stop", {
|
|
354
354
|
offset: "80%",
|
|
355
|
-
"stop-color":
|
|
355
|
+
"stop-color": n(U)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
|
|
356
356
|
}, null, 8, Je),
|
|
357
|
-
|
|
357
|
+
g("stop", {
|
|
358
358
|
offset: "100%",
|
|
359
|
-
"stop-color":
|
|
359
|
+
"stop-color": n(U)("#FFFFFF", 1)
|
|
360
360
|
}, null, 8, Ke)
|
|
361
361
|
], 8, He)
|
|
362
362
|
]),
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
g("defs", null, [
|
|
364
|
+
g("filter", {
|
|
365
365
|
id: `blur_${k.value}`,
|
|
366
366
|
x: "-50%",
|
|
367
367
|
y: "-50%",
|
|
368
368
|
width: "200%",
|
|
369
369
|
height: "200%"
|
|
370
370
|
}, [
|
|
371
|
-
|
|
371
|
+
g("feGaussianBlur", {
|
|
372
372
|
in: "SourceGraphic",
|
|
373
373
|
stdDeviation: 100 / e.value.style.chart.layout.track.gradientIntensity
|
|
374
374
|
}, null, 8, et)
|
|
375
375
|
], 8, Qe)
|
|
376
376
|
]),
|
|
377
|
-
(
|
|
378
|
-
key: `arc_${
|
|
377
|
+
(r(!0), s(j, null, D(x.value, (l, i) => (r(), s("path", {
|
|
378
|
+
key: `arc_${i}`,
|
|
379
379
|
d: l.arcSlice,
|
|
380
380
|
fill: l.color,
|
|
381
381
|
stroke: e.value.style.chart.backgroundColor,
|
|
382
382
|
"stroke-linecap": "round"
|
|
383
383
|
}, null, 8, tt))), 128)),
|
|
384
|
-
e.value.style.chart.layout.track.useGradient ? (
|
|
385
|
-
key: `arc_${
|
|
384
|
+
e.value.style.chart.layout.track.useGradient ? (r(!0), s(j, { key: 0 }, D(be.value, (l, i) => (r(), s("path", {
|
|
385
|
+
key: `arc_${i}`,
|
|
386
386
|
d: l.arcSlice,
|
|
387
387
|
fill: "#FFFFFF",
|
|
388
388
|
stroke: "none",
|
|
389
389
|
"stroke-linecap": "round",
|
|
390
390
|
filter: `url(#blur_${k.value})`
|
|
391
|
-
}, null, 8, at))), 128)) :
|
|
392
|
-
|
|
393
|
-
x
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
391
|
+
}, null, 8, at))), 128)) : d("", !0),
|
|
392
|
+
e.value.style.chart.layout.markers.show ? (r(), s("g", lt, [
|
|
393
|
+
(r(!0), s(j, null, D(x.value, (l, i) => (r(), s("text", {
|
|
394
|
+
x: n(A)({
|
|
395
|
+
centerX: t.value.width / 2,
|
|
396
|
+
centerY: c.value.base,
|
|
397
|
+
initX: l.center.startX,
|
|
398
|
+
initY: l.center.startY,
|
|
399
|
+
offset: t.value.markerOffset
|
|
400
|
+
}).x,
|
|
401
|
+
y: n(A)({
|
|
402
|
+
centerX: t.value.width / 2,
|
|
403
|
+
centerY: c.value.base,
|
|
404
|
+
initX: l.center.startX,
|
|
405
|
+
initY: l.center.startY,
|
|
406
|
+
offset: t.value.markerOffset
|
|
407
|
+
}).y,
|
|
408
|
+
"text-anchor": l.center.startX < t.value.width / 2 - 5 ? "end" : l.center.startX > t.value.width / 2 + 5 ? "start" : "middle",
|
|
409
|
+
"font-size": t.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
410
|
+
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
411
|
+
fill: e.value.style.chart.layout.markers.color
|
|
412
|
+
}, $(n(B)(
|
|
413
|
+
e.value.style.chart.layout.markers.formatter,
|
|
414
|
+
l.from,
|
|
415
|
+
n(L)({
|
|
416
|
+
p: e.value.style.chart.layout.markers.prefix,
|
|
417
|
+
v: l.from,
|
|
418
|
+
s: e.value.style.chart.layout.markers.suffix,
|
|
419
|
+
r: e.value.style.chart.layout.markers.roundingValue
|
|
420
|
+
})
|
|
421
|
+
)), 9, ot))), 256))
|
|
422
|
+
])) : d("", !0),
|
|
423
|
+
e.value.style.chart.layout.markers.show ? (r(), s("text", {
|
|
424
|
+
key: 2,
|
|
425
|
+
x: n(A)({
|
|
414
426
|
centerX: t.value.width / 2,
|
|
415
|
-
centerY:
|
|
427
|
+
centerY: c.value.base,
|
|
416
428
|
initX: x.value.at(-1).endX,
|
|
417
429
|
initY: x.value.at(-1).endY,
|
|
418
430
|
offset: t.value.markerOffset
|
|
419
431
|
}).x,
|
|
420
|
-
y:
|
|
432
|
+
y: n(A)({
|
|
421
433
|
centerX: t.value.width / 2,
|
|
422
|
-
centerY:
|
|
434
|
+
centerY: c.value.base,
|
|
423
435
|
initX: x.value.at(-1).endX,
|
|
424
436
|
initY: x.value.at(-1).endY,
|
|
425
437
|
offset: t.value.markerOffset
|
|
@@ -428,80 +440,90 @@ const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze =
|
|
|
428
440
|
"font-size": t.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
429
441
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
430
442
|
fill: e.value.style.chart.layout.markers.color
|
|
431
|
-
},
|
|
432
|
-
|
|
433
|
-
|
|
443
|
+
}, $(n(B)(
|
|
444
|
+
e.value.style.chart.layout.markers.formatter,
|
|
445
|
+
F.value,
|
|
446
|
+
n(L)({
|
|
447
|
+
p: e.value.style.chart.layout.markers.prefix,
|
|
448
|
+
v: F.value,
|
|
449
|
+
s: e.value.style.chart.layout.markers.suffix,
|
|
450
|
+
r: e.value.style.chart.layout.markers.roundingValue
|
|
451
|
+
})
|
|
452
|
+
)), 9, rt)) : d("", !0),
|
|
453
|
+
e.value.style.chart.layout.pointer.type === "rounded" ? (r(), s("g", st, [
|
|
454
|
+
isNaN(f.value.x2) ? d("", !0) : (r(), s("line", {
|
|
434
455
|
key: 0,
|
|
435
|
-
x1:
|
|
436
|
-
y1:
|
|
437
|
-
x2:
|
|
438
|
-
y2:
|
|
456
|
+
x1: f.value.x1,
|
|
457
|
+
y1: f.value.y1,
|
|
458
|
+
x2: f.value.x2,
|
|
459
|
+
y2: f.value.y2,
|
|
439
460
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
440
461
|
"stroke-width": t.value.pointerStrokeWidth,
|
|
441
462
|
"stroke-linecap": "round"
|
|
442
|
-
}, null, 8,
|
|
443
|
-
isNaN(
|
|
463
|
+
}, null, 8, ut)),
|
|
464
|
+
isNaN(f.value.x2) ? d("", !0) : (r(), s("line", {
|
|
444
465
|
key: 1,
|
|
445
|
-
x1:
|
|
446
|
-
y1:
|
|
447
|
-
x2:
|
|
448
|
-
y2:
|
|
466
|
+
x1: f.value.x1,
|
|
467
|
+
y1: f.value.y1,
|
|
468
|
+
x2: f.value.x2,
|
|
469
|
+
y2: f.value.y2,
|
|
449
470
|
stroke: e.value.style.chart.layout.pointer.useRatingColor ? G.value : e.value.style.chart.layout.pointer.color,
|
|
450
471
|
"stroke-linecap": "round",
|
|
451
472
|
"stroke-width": t.value.pointerStrokeWidth * 0.7
|
|
452
473
|
}, null, 8, nt)),
|
|
453
|
-
!isNaN(
|
|
474
|
+
!isNaN(f.value.x2) && e.value.style.chart.layout.track.useGradient ? (r(), s("line", {
|
|
454
475
|
key: 2,
|
|
455
|
-
x1:
|
|
456
|
-
y1:
|
|
457
|
-
x2:
|
|
458
|
-
y2:
|
|
476
|
+
x1: f.value.x1,
|
|
477
|
+
y1: f.value.y1,
|
|
478
|
+
x2: f.value.x2,
|
|
479
|
+
y2: f.value.y2,
|
|
459
480
|
stroke: "white",
|
|
460
481
|
"stroke-linecap": "round",
|
|
461
482
|
"stroke-width": t.value.pointerStrokeWidth * 0.3,
|
|
462
483
|
filter: `url(#blur_${k.value})`
|
|
463
|
-
}, null, 8,
|
|
464
|
-
])) : (
|
|
465
|
-
|
|
484
|
+
}, null, 8, it)) : d("", !0)
|
|
485
|
+
])) : (r(), s("g", ct, [
|
|
486
|
+
le.value ? (r(), s("path", {
|
|
466
487
|
key: 0,
|
|
467
|
-
d:
|
|
488
|
+
d: le.value,
|
|
468
489
|
fill: e.value.style.chart.layout.pointer.useRatingColor ? G.value : e.value.style.chart.layout.pointer.color,
|
|
469
490
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
470
491
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
471
492
|
"stroke-linejoin": "round"
|
|
472
|
-
}, null, 8,
|
|
493
|
+
}, null, 8, vt)) : d("", !0)
|
|
473
494
|
])),
|
|
474
|
-
|
|
495
|
+
g("circle", {
|
|
475
496
|
cx: t.value.width / 2,
|
|
476
|
-
cy:
|
|
497
|
+
cy: c.value.base,
|
|
477
498
|
fill: e.value.style.chart.layout.pointer.circle.color,
|
|
478
499
|
r: t.value.pointerRadius <= 0 ? 1e-4 : t.value.pointerRadius,
|
|
479
500
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
480
501
|
stroke: e.value.style.chart.layout.pointer.circle.stroke
|
|
481
|
-
}, null, 8,
|
|
482
|
-
|
|
502
|
+
}, null, 8, dt),
|
|
503
|
+
e.value.style.chart.legend.show ? (r(), s("text", {
|
|
504
|
+
key: 5,
|
|
483
505
|
x: t.value.width / 2,
|
|
484
|
-
y:
|
|
506
|
+
y: c.value.ratingBase,
|
|
485
507
|
"text-anchor": "middle",
|
|
486
508
|
"font-size": t.value.legendFontSize,
|
|
487
509
|
"font-weight": "bold",
|
|
488
510
|
fill: e.value.style.chart.legend.useRatingColor ? G.value : e.value.style.chart.legend.color
|
|
489
|
-
},
|
|
511
|
+
}, $(n(B)(
|
|
490
512
|
e.value.style.chart.legend.formatter,
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
p: e.value.style.chart.legend.prefix + (e.value.style.chart.legend.showPlusSymbol &&
|
|
494
|
-
v:
|
|
513
|
+
h.value,
|
|
514
|
+
n(L)({
|
|
515
|
+
p: e.value.style.chart.legend.prefix + (e.value.style.chart.legend.showPlusSymbol && h.value > 0 ? "+" : ""),
|
|
516
|
+
v: h.value,
|
|
495
517
|
s: e.value.style.chart.legend.suffix,
|
|
496
518
|
r: e.value.style.chart.legend.roundingValue
|
|
497
519
|
})
|
|
498
|
-
)), 9,
|
|
520
|
+
)), 9, ht)) : d("", !0),
|
|
499
521
|
m(a.$slots, "svg", { svg: t.value }, void 0, !0)
|
|
500
|
-
], 14, qe)) :
|
|
501
|
-
a.$slots.watermark ? (
|
|
502
|
-
m(a.$slots, "watermark", E(T({ isPrinting:
|
|
503
|
-
])) :
|
|
504
|
-
|
|
522
|
+
], 14, qe)) : d("", !0),
|
|
523
|
+
a.$slots.watermark ? (r(), s("div", ft, [
|
|
524
|
+
m(a.$slots, "watermark", E(T({ isPrinting: n(Q) || n(ee) })), void 0, !0)
|
|
525
|
+
])) : d("", !0),
|
|
526
|
+
M.value ? d("", !0) : (r(), N(je, {
|
|
505
527
|
key: 6,
|
|
506
528
|
config: {
|
|
507
529
|
type: "gauge",
|
|
@@ -513,23 +535,23 @@ const We = ["id"], Ve = { key: 0 }, qe = ["xmlns", "viewBox"], He = ["id"], Ze =
|
|
|
513
535
|
}
|
|
514
536
|
}
|
|
515
537
|
}, null, 8, ["config"])),
|
|
516
|
-
|
|
538
|
+
g("div", {
|
|
517
539
|
ref_key: "chartLegend",
|
|
518
|
-
ref:
|
|
540
|
+
ref: q
|
|
519
541
|
}, [
|
|
520
542
|
m(a.$slots, "legend", { legend: _.value }, void 0, !0)
|
|
521
543
|
], 512),
|
|
522
|
-
a.$slots.source ? (
|
|
544
|
+
a.$slots.source ? (r(), s("div", {
|
|
523
545
|
key: 7,
|
|
524
546
|
ref_key: "source",
|
|
525
|
-
ref:
|
|
547
|
+
ref: H,
|
|
526
548
|
dir: "auto"
|
|
527
549
|
}, [
|
|
528
550
|
m(a.$slots, "source", {}, void 0, !0)
|
|
529
|
-
], 512)) :
|
|
551
|
+
], 512)) : d("", !0)
|
|
530
552
|
], 14, We));
|
|
531
553
|
}
|
|
532
|
-
},
|
|
554
|
+
}, zt = /* @__PURE__ */ Le(yt, [["__scopeId", "data-v-31427f30"]]);
|
|
533
555
|
export {
|
|
534
|
-
|
|
556
|
+
zt as default
|
|
535
557
|
};
|