vue-data-ui 2.4.45 → 2.4.46
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-DExBMFtJ.js → Arrow-CfjJrWHe.js} +1 -1
- package/dist/{Arrow-dxEccWUa.cjs → Arrow-iQXl1f2j.cjs} +1 -1
- package/dist/{BaseIcon-DpLJi6ci.js → BaseIcon-BA9HUUaA.js} +1 -1
- package/dist/{BaseIcon-DUokibJ1.cjs → BaseIcon-Cy5dUKeV.cjs} +1 -1
- package/dist/{DataTable-aoauqoko.cjs → DataTable-Cj3bRKxc.cjs} +1 -1
- package/dist/{DataTable-NGi-FgLM.js → DataTable-CoZ6Xn0I.js} +2 -2
- package/dist/{Legend-DHE2CFkm.cjs → Legend-CEDlovx8.cjs} +1 -1
- package/dist/{Legend-DRozxv9L.js → Legend-DJlRifH8.js} +1 -1
- package/dist/{PackageVersion-1JWV5loe.cjs → PackageVersion-DL3c2r_c.cjs} +1 -1
- package/dist/{PackageVersion-CTMY4zeY.js → PackageVersion-TpOTCEFd.js} +1 -1
- package/dist/{PenAndPaper-C6mnwE-L.cjs → PenAndPaper-DgVnjC40.cjs} +1 -1
- package/dist/{PenAndPaper-DJ_d10S-.js → PenAndPaper-cjAU-PUf.js} +3 -3
- package/dist/{Shape-C-sY_hlc.js → Shape--6BralbW.js} +1 -1
- package/dist/{Shape-rA2az7tR.cjs → Shape-DYtj-lqw.cjs} +1 -1
- package/dist/{Slicer-D4SO7odF.js → Slicer-6DPtWIL0.js} +2 -2
- package/dist/{Slicer-CJsmloDN.cjs → Slicer-dbxY46t5.cjs} +1 -1
- package/dist/{Title-Coit3NcT.js → Title-BavNfnuK.js} +1 -1
- package/dist/{Title-DkbnpMvf.cjs → Title-a1zU7S4D.cjs} +1 -1
- package/dist/{Tooltip-B8L4NDsX.cjs → Tooltip-BBmtXJ3a.cjs} +1 -1
- package/dist/{Tooltip-BBgfUr4a.js → Tooltip-CK5rPyXN.js} +1 -1
- package/dist/{index-Cm2_6s9o.js → index-D6Fux0KL.js} +2 -1
- package/dist/index-DQqE9z_u.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -0
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useNestedProp-BYPZJNhi.js → useNestedProp-CcZBkd4B.js} +1 -1
- package/dist/{useNestedProp-zkJOoemW.cjs → useNestedProp-DqEFKuPz.cjs} +1 -1
- package/dist/{usePrinter-ardO_DNo.cjs → usePrinter-1s8-9A7g.cjs} +1 -1
- package/dist/{usePrinter-Cx8U1e30.js → usePrinter-BfVNshkJ.js} +1 -1
- package/dist/{vue-data-ui-Blpxr4_M.js → vue-data-ui-BZHviOU-.js} +60 -60
- package/dist/{vue-data-ui-B8Lvjc4V.cjs → vue-data-ui-nyvnXOBP.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CqmOoIA2.cjs → vue-ui-3d-bar-Amvwu6fD.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-DvitE1K_.js → vue-ui-3d-bar-BAYRAgaW.js} +9 -9
- package/dist/{vue-ui-accordion-JS5d0ZPi.cjs → vue-ui-accordion-CNQ8JBuy.cjs} +1 -1
- package/dist/{vue-ui-accordion-CxrNF8BI.js → vue-ui-accordion-CyCBwLDa.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Ti2L5N92.js → vue-ui-age-pyramid-BWg8L30G.js} +10 -10
- package/dist/{vue-ui-age-pyramid-CRP36JDm.cjs → vue-ui-age-pyramid-Dx-k5K7o.cjs} +1 -1
- package/dist/{vue-ui-annotator-DtL3BbOJ.cjs → vue-ui-annotator-Bj3j-VvQ.cjs} +1 -1
- package/dist/{vue-ui-annotator-HNK_5tWo.js → vue-ui-annotator-Drlh2nsy.js} +1 -1
- package/dist/{vue-ui-bullet-D3WmBrm4.js → vue-ui-bullet-CskzW_No.js} +8 -8
- package/dist/{vue-ui-bullet-DEUwbTdx.cjs → vue-ui-bullet-KJKcyE57.cjs} +1 -1
- package/dist/{vue-ui-candlestick-B5okP_Jf.js → vue-ui-candlestick-9ARbLuQr.js} +11 -11
- package/dist/{vue-ui-candlestick-C5bTH9oE.cjs → vue-ui-candlestick-Bcem-LL5.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BgKL0rnF.js → vue-ui-carousel-table-BgabRnN7.js} +4 -4
- package/dist/{vue-ui-carousel-table-Bt2xx2b5.cjs → vue-ui-carousel-table-CCzXqrOD.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DDsFxoUr.js → vue-ui-chestnut-B7q0vmXj.js} +8 -8
- package/dist/{vue-ui-chestnut-D5XfSvCG.cjs → vue-ui-chestnut-BEKG7vJs.cjs} +1 -1
- package/dist/{vue-ui-cursor-B2NOd5i-.js → vue-ui-cursor-BW6KFYih.js} +2 -2
- package/dist/{vue-ui-cursor-CSBJgZLu.cjs → vue-ui-cursor-gRV29a6z.cjs} +1 -1
- package/dist/{vue-ui-dashboard-u-Gt08KE.js → vue-ui-dashboard-B1GgQpTW.js} +2 -2
- package/dist/{vue-ui-dashboard-C6MJN9kG.cjs → vue-ui-dashboard-BU3gco0W.cjs} +1 -1
- package/dist/{vue-ui-digits-B4fzfTox.cjs → vue-ui-digits-B-de-AoF.cjs} +1 -1
- package/dist/{vue-ui-digits-DCXyjW_e.js → vue-ui-digits-pTJfyk6w.js} +2 -2
- package/dist/{vue-ui-donut-BvASz63R.js → vue-ui-donut-3zJvxMAI.js} +11 -11
- package/dist/{vue-ui-donut-CaJSY2gj.cjs → vue-ui-donut-CV4QfMM6.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DrnLlHPS.cjs → vue-ui-donut-evolution-CHmMquL3.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DcPk33e8.js → vue-ui-donut-evolution-DwWDUev5.js} +11 -11
- package/dist/{vue-ui-dumbbell-D918XYc8.js → vue-ui-dumbbell-BupMAioY.js} +10 -10
- package/dist/{vue-ui-dumbbell-8v-xIlsx.cjs → vue-ui-dumbbell-CwKisd1V.cjs} +1 -1
- package/dist/{vue-ui-flow-BBmnTxVE.cjs → vue-ui-flow-DjaSPlMc.cjs} +1 -1
- package/dist/{vue-ui-flow-DQ5q2b1Y.js → vue-ui-flow-Gio5LZfS.js} +9 -9
- package/dist/{vue-ui-funnel-v5WCHaw6.js → vue-ui-funnel-B20LEzYC.js} +8 -8
- package/dist/{vue-ui-funnel-CmERxe4h.cjs → vue-ui-funnel-CqcM5pkO.cjs} +1 -1
- package/dist/{vue-ui-galaxy-8xWYo-xy.cjs → vue-ui-galaxy-B6LzA_6c.cjs} +1 -1
- package/dist/{vue-ui-galaxy-COSx0c89.js → vue-ui-galaxy-BlqZ7ul1.js} +11 -11
- package/dist/vue-ui-gauge-C5OATvE7.cjs +1 -0
- package/dist/{vue-ui-gauge-CWnGYcFD.js → vue-ui-gauge-C6-5yI2V.js} +168 -168
- package/dist/{vue-ui-gizmo-DUO_TpvK.cjs → vue-ui-gizmo-CLNN3Udr.cjs} +1 -1
- package/dist/{vue-ui-gizmo-ByuFn-0N.js → vue-ui-gizmo-CsyW__L-.js} +3 -3
- package/dist/{vue-ui-heatmap-DiON-CAI.cjs → vue-ui-heatmap-DLJKnqc8.cjs} +1 -1
- package/dist/{vue-ui-heatmap-UoKourVZ.js → vue-ui-heatmap-DlyP8IiX.js} +10 -10
- package/dist/{vue-ui-history-plot-CkxvdQeV.js → vue-ui-history-plot-BcxMCSa5.js} +11 -11
- package/dist/{vue-ui-history-plot-CjVySabp.cjs → vue-ui-history-plot-DGFH-CY8.cjs} +1 -1
- package/dist/{vue-ui-kpi-BRwkUBxs.js → vue-ui-kpi-BL3vZgx7.js} +3 -3
- package/dist/{vue-ui-kpi-DYHGPjrp.cjs → vue-ui-kpi-pnZp2CvF.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-oviO8Ueo.cjs → vue-ui-mini-loader-BNKPERuk.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Cbl4ydLu.js → vue-ui-mini-loader-BwmbFCFV.js} +2 -2
- package/dist/{vue-ui-molecule-DM_mX72q.js → vue-ui-molecule-BbpCIJe5.js} +11 -11
- package/dist/{vue-ui-molecule-CX1M509E.cjs → vue-ui-molecule-CZ6KhD_5.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-fuqAjpvg.cjs → vue-ui-mood-radar-9ShpSF_Q.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-Bzsba8qo.js → vue-ui-mood-radar-DQ-UPdoZ.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DfHtC4XP.cjs → vue-ui-nested-donuts-4-Y7Vn9p.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BG84mskb.js → vue-ui-nested-donuts-B0RhrWpS.js} +11 -11
- package/dist/{vue-ui-onion-gt77JCbM.cjs → vue-ui-onion-DzLCbEcB.cjs} +1 -1
- package/dist/{vue-ui-onion-DpFx1Oy9.js → vue-ui-onion-kMrmbJZm.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-xJTddxji.cjs → vue-ui-parallel-coordinate-plot-BGfy-8GQ.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CQG_anr7.js → vue-ui-parallel-coordinate-plot-CdWo856d.js} +12 -12
- package/dist/{vue-ui-quadrant-Cddob9c3.js → vue-ui-quadrant-D3OhIIfq.js} +12 -12
- package/dist/{vue-ui-quadrant-D0YgwhwW.cjs → vue-ui-quadrant-D8HGb-Gb.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-DTEubspa.js → vue-ui-quick-chart-BWwbRuD2.js} +9 -9
- package/dist/{vue-ui-quick-chart-CLzNpIFU.cjs → vue-ui-quick-chart-BqJpkpjf.cjs} +1 -1
- package/dist/{vue-ui-radar--uexaa6p.js → vue-ui-radar-BsAiDMi7.js} +12 -12
- package/dist/{vue-ui-radar-BTh9qZ2p.cjs → vue-ui-radar-Ds66K46C.cjs} +1 -1
- package/dist/{vue-ui-rating-BQuZA9UU.js → vue-ui-rating-CcyKPjmP.js} +2 -2
- package/dist/{vue-ui-rating-Dyjk2dub.cjs → vue-ui-rating-ClQjIZ78.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-FtGlV4Ne.cjs → vue-ui-relation-circle-DI24q9Zq.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-C8NYrTHA.js → vue-ui-relation-circle-eOtVdQOL.js} +7 -7
- package/dist/{vue-ui-rings-FEIPR_dS.js → vue-ui-rings-9f1E8ktr.js} +11 -11
- package/dist/{vue-ui-rings-ClJRYeFC.cjs → vue-ui-rings-GJ-RllpC.cjs} +1 -1
- package/dist/{vue-ui-scatter-vYxSs8Gf.cjs → vue-ui-scatter-B7Tm9kTK.cjs} +1 -1
- package/dist/{vue-ui-scatter-CzbgC6ep.js → vue-ui-scatter-DjOO4sai.js} +12 -12
- package/dist/{vue-ui-screenshot-CVQCw0B1.cjs → vue-ui-screenshot-DQd-yU3g.cjs} +1 -1
- package/dist/{vue-ui-screenshot-IaxgY5qE.js → vue-ui-screenshot-k2mC030r.js} +1 -1
- package/dist/{vue-ui-skeleton-DleyAXe1.cjs → vue-ui-skeleton-DYKuE1ZW.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BUS6A44x.js → vue-ui-skeleton-wHDgl1XV.js} +3 -3
- package/dist/{vue-ui-smiley-5CVa-rQU.js → vue-ui-smiley-C02LWJwt.js} +2 -2
- package/dist/{vue-ui-smiley-BTTXNPGY.cjs → vue-ui-smiley-Cds8LoUR.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CZAgof3m.cjs → vue-ui-spark-trend-5uxFq2pM.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D9ww-Cv5.js → vue-ui-spark-trend-D0shfbAA.js} +5 -5
- package/dist/{vue-ui-sparkbar-BFsdfuNO.cjs → vue-ui-sparkbar-CGH0sUyT.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DKeLvkHa.js → vue-ui-sparkbar-DmPdCxF5.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B_bIpe_O.cjs → vue-ui-sparkgauge-BfyVKfCr.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DLpPuJdG.js → vue-ui-sparkgauge-CqJz8p6J.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-RoW45LV8.cjs → vue-ui-sparkhistogram-B-PxzLAe.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-BA8QV7Cu.js → vue-ui-sparkhistogram-vJBW3am7.js} +5 -5
- package/dist/{vue-ui-sparkline-BwOtPPij.js → vue-ui-sparkline-BoHbGcLX.js} +4 -4
- package/dist/{vue-ui-sparkline-BggHSfaz.cjs → vue-ui-sparkline-D_RzcAKQ.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DCS6RRgN.js → vue-ui-sparkstackbar-C6lyJ3Yf.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-Uv_p8v9c.cjs → vue-ui-sparkstackbar-DOqRrV5Q.cjs} +1 -1
- package/dist/{vue-ui-stackbar-zcfxba5s.js → vue-ui-stackbar-Drzs1Eyl.js} +12 -12
- package/dist/{vue-ui-stackbar-BqKNaGrf.cjs → vue-ui-stackbar-aGhn0Cot.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-NykStkP9.js → vue-ui-strip-plot-D1OnXpSS.js} +11 -11
- package/dist/{vue-ui-strip-plot-J5SSJPyl.cjs → vue-ui-strip-plot-VyISwa5R.cjs} +1 -1
- package/dist/{vue-ui-table-DWPKVbYC.cjs → vue-ui-table-DLPofj0y.cjs} +1 -1
- package/dist/{vue-ui-table-DhRjI7oG.js → vue-ui-table-H2AWSu1t.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CT5nGoW-.js → vue-ui-table-heatmap-D2Yub14q.js} +4 -4
- package/dist/{vue-ui-table-heatmap-GvLTOGcB.cjs → vue-ui-table-heatmap-wvpaD4ir.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Ba_Ucvgb.js → vue-ui-table-sparkline-DUTGELZ3.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CBFEknMF.cjs → vue-ui-table-sparkline-Doj1Qy-g.cjs} +1 -1
- package/dist/{vue-ui-thermometer-sqA0TGTi.cjs → vue-ui-thermometer-B-0y1mlR.cjs} +1 -1
- package/dist/{vue-ui-thermometer-C11VSZfb.js → vue-ui-thermometer-yoXfkNqw.js} +7 -7
- package/dist/{vue-ui-timer-CcBNysNG.cjs → vue-ui-timer-BmdGu2OH.cjs} +1 -1
- package/dist/{vue-ui-timer-lwjayVn0.js → vue-ui-timer-CrmRh82y.js} +5 -5
- package/dist/{vue-ui-tiremarks-Jz80HKpg.js → vue-ui-tiremarks--dQqSUAB.js} +7 -7
- package/dist/{vue-ui-tiremarks-FBnh0R_Z.cjs → vue-ui-tiremarks-BTKsqFx9.cjs} +1 -1
- package/dist/{vue-ui-treemap-7YFJ-Pb9.cjs → vue-ui-treemap-CoHv7WB0.cjs} +1 -1
- package/dist/{vue-ui-treemap-B_qVGTnP.js → vue-ui-treemap-xf0R6iJv.js} +11 -11
- package/dist/{vue-ui-vertical-bar-5MwcqOTN.js → vue-ui-vertical-bar-CgyxeziQ.js} +11 -11
- package/dist/{vue-ui-vertical-bar-DGuvFK2h.cjs → vue-ui-vertical-bar-DkEKT7jg.cjs} +1 -1
- package/dist/{vue-ui-waffle-B0JbRRUv.js → vue-ui-waffle-BsWXzCto.js} +11 -11
- package/dist/{vue-ui-waffle-C0F8eexl.cjs → vue-ui-waffle-CkwF305q.cjs} +1 -1
- package/dist/{vue-ui-wheel-pQBqSI5z.js → vue-ui-wheel-BDG6vuLJ.js} +7 -7
- package/dist/{vue-ui-wheel-DP9XwVGM.cjs → vue-ui-wheel-OyKC9U09.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-D39_9P7v.js → vue-ui-word-cloud-D-bzY5ks.js} +10 -10
- package/dist/{vue-ui-word-cloud-CmKH64gk.cjs → vue-ui-word-cloud-NJ7fgwoa.cjs} +1 -1
- package/dist/{vue-ui-xy-DRYbR_nu.js → vue-ui-xy-BRVzv2LA.js} +14 -14
- package/dist/{vue-ui-xy-2m8k1EUB.cjs → vue-ui-xy-ClUJG6UI.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-CywB2tWN.cjs → vue-ui-xy-canvas-CH-U7nNa.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DZib_307.js → vue-ui-xy-canvas-CvLYBiAC.js} +11 -11
- package/package.json +1 -1
- package/dist/index-DuDeHJyK.cjs +0 -9
- package/dist/vue-ui-gauge-CYth7Lci.cjs +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { computed as y, ref as d, watch as ie, onMounted as Pe, onBeforeUnmount as Ne, openBlock as
|
|
2
|
-
import { u as Xe, c as Ae, t as
|
|
1
|
+
import { computed as y, ref as d, watch as ie, onMounted as Pe, onBeforeUnmount as Ne, openBlock as r, createElementBlock as u, normalizeClass as ce, normalizeStyle as ve, createBlock as R, createCommentVNode as v, withCtx as O, toDisplayString as z, unref as i, createSlots as Oe, renderSlot as x, normalizeProps as L, guardReactiveProps as D, createVNode as Ie, createElementVNode as g, Fragment as $, renderList as F } from "vue";
|
|
2
|
+
import { u as Xe, c as Ae, t as Re, a as Ye, p as he, b as Ge, o as de, d as Ee, e as Y, g as fe, m as U, X as Te, s as B, k as je, I as G, i as W, f as V, F as q } from "./index-D6Fux0KL.js";
|
|
3
3
|
import { t as Le, u as De } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { u as Ue, U as Be } from "./usePrinter-
|
|
5
|
-
import We from "./vue-ui-skeleton-
|
|
6
|
-
import { _ as Ve } from "./Title-
|
|
7
|
-
import { u as ye } from "./useNestedProp-
|
|
8
|
-
import { _ as qe } from "./PackageVersion-
|
|
9
|
-
import { P as He } from "./PenAndPaper-
|
|
4
|
+
import { u as Ue, U as Be } from "./usePrinter-BfVNshkJ.js";
|
|
5
|
+
import We from "./vue-ui-skeleton-wHDgl1XV.js";
|
|
6
|
+
import { _ as Ve } from "./Title-BavNfnuK.js";
|
|
7
|
+
import { u as ye } from "./useNestedProp-CcZBkd4B.js";
|
|
8
|
+
import { _ as qe } from "./PackageVersion-TpOTCEFd.js";
|
|
9
|
+
import { P as He } from "./PenAndPaper-cjAU-PUf.js";
|
|
10
10
|
import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt = ["stop-color"], at = ["stop-color"], lt = ["stop-color"], ot = ["id"], st = ["stdDeviation"], rt = ["d", "fill", "stroke"], ut = ["id", "d"], nt = ["fill", "font-size", "font-weight"], it = ["href", "startOffset"], ct = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], vt = ["d", "filter"], ht = { key: 3 }, dt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], ft = ["x", "y", "font-size", "font-weight", "fill"], yt = { key: 5 }, mt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], gt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], kt = { key: 6 }, bt = ["d", "fill", "stroke", "stroke-width"], _t = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], xt = ["x", "y", "font-size", "fill"], wt = {
|
|
12
12
|
key: 5,
|
|
@@ -28,28 +28,28 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup(E, { expose: me }) {
|
|
31
|
-
const c = E, { vue_ui_gauge: ge } = Xe(), I = y(() => !!c.dataset && Object.keys(c.dataset).length > 0 && c.dataset.series && c.dataset.series.length),
|
|
31
|
+
const c = E, { vue_ui_gauge: ge } = Xe(), I = y(() => !!c.dataset && Object.keys(c.dataset).length > 0 && c.dataset.series && c.dataset.series.length), b = d(Ae()), pe = d(null), H = d(0), C = d(null), Z = d(null), J = d(null), K = d(null), Q = d(null), ee = d(0), e = y({
|
|
32
32
|
get: () => te(),
|
|
33
|
-
set: (
|
|
33
|
+
set: (t) => t
|
|
34
34
|
});
|
|
35
|
-
ie(() => c.config, (
|
|
35
|
+
ie(() => c.config, (t) => {
|
|
36
36
|
e.value = te(), ue(), ee.value += 1;
|
|
37
37
|
}, { deep: !0 });
|
|
38
38
|
function te() {
|
|
39
|
-
const
|
|
39
|
+
const t = ye({
|
|
40
40
|
userConfig: c.config,
|
|
41
41
|
defaultConfig: ge
|
|
42
42
|
});
|
|
43
|
-
return
|
|
43
|
+
return t.theme ? {
|
|
44
44
|
...ye({
|
|
45
|
-
userConfig:
|
|
46
|
-
defaultConfig:
|
|
45
|
+
userConfig: Re.vue_ui_gauge[t.theme] || c.config,
|
|
46
|
+
defaultConfig: t
|
|
47
47
|
}),
|
|
48
|
-
customPalette:
|
|
49
|
-
} :
|
|
48
|
+
customPalette: Ye[t.theme] || he
|
|
49
|
+
} : t;
|
|
50
50
|
}
|
|
51
51
|
const { isPrinting: ae, isImaging: le, generatePdf: oe, generateImage: se } = Ue({
|
|
52
|
-
elementId: `vue-ui-gauge_${
|
|
52
|
+
elementId: `vue-ui-gauge_${b.value}`,
|
|
53
53
|
fileName: e.value.style.chart.title.text || "vue-ui-gauge"
|
|
54
54
|
}), ke = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), be = y(() => Ge(e.value.customPalette)), w = y(() => {
|
|
55
55
|
if (!I.value || de(c.dataset.series || {}))
|
|
@@ -62,17 +62,17 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
62
62
|
}
|
|
63
63
|
]
|
|
64
64
|
};
|
|
65
|
-
const
|
|
66
|
-
(c.dataset.series || []).forEach((
|
|
67
|
-
|
|
65
|
+
const t = [];
|
|
66
|
+
(c.dataset.series || []).forEach((a) => {
|
|
67
|
+
t.push(a.from || 1e-7), t.push(a.to || 1e-7);
|
|
68
68
|
});
|
|
69
|
-
const
|
|
69
|
+
const s = Math.max(...t);
|
|
70
70
|
return {
|
|
71
71
|
...c.dataset,
|
|
72
|
-
series: (c.dataset.series || []).map((
|
|
73
|
-
...
|
|
74
|
-
color: Ee(
|
|
75
|
-
value: ((
|
|
72
|
+
series: (c.dataset.series || []).map((a, o) => ({
|
|
73
|
+
...a,
|
|
74
|
+
color: Ee(a.color) || be.value[o] || he[o],
|
|
75
|
+
value: ((a.to || 0) - (a.from || 0)) / s * 100
|
|
76
76
|
}))
|
|
77
77
|
};
|
|
78
78
|
}), m = d(512), l = d({
|
|
@@ -90,88 +90,88 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
90
90
|
pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
|
|
91
91
|
markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
|
|
92
92
|
segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
|
|
93
|
-
}),
|
|
93
|
+
}), M = d(0), P = d(0), f = d(e.value.style.chart.animation.use ? 0 : c.dataset.value);
|
|
94
94
|
ie(() => c.dataset.value, () => {
|
|
95
95
|
ne(c.dataset.value);
|
|
96
96
|
});
|
|
97
97
|
const h = y(() => {
|
|
98
|
-
const
|
|
98
|
+
const t = l.value.width / 2, s = n.value.base, a = Math.PI * ((f.value + 0 - P.value) / (M.value - P.value)) + Math.PI;
|
|
99
99
|
return {
|
|
100
|
-
x1:
|
|
101
|
-
y1:
|
|
102
|
-
x2:
|
|
103
|
-
y2:
|
|
100
|
+
x1: t,
|
|
101
|
+
y1: s,
|
|
102
|
+
x2: t + n.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a),
|
|
103
|
+
y2: s + n.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a)
|
|
104
104
|
};
|
|
105
105
|
}), re = y(() => {
|
|
106
|
-
const
|
|
107
|
-
return isNaN(
|
|
106
|
+
const t = l.value.width / 2, s = n.value.base, a = Math.PI * ((f.value + 0 - P.value) / (M.value - P.value)) + Math.PI, o = t + n.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a), _ = s + n.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a), k = l.value.pointerRadius, $e = t + k * Math.cos(a + Math.PI / 2), Fe = s + k * Math.sin(a + Math.PI / 2), Ce = t + k * Math.cos(a - Math.PI / 2), Me = s + k * Math.sin(a - Math.PI / 2);
|
|
107
|
+
return isNaN(o) ? null : `M ${o},${_} ${$e},${Fe} ${Ce},${Me} Z`;
|
|
108
108
|
}), T = y(() => {
|
|
109
|
-
for (let
|
|
110
|
-
const { color:
|
|
111
|
-
if (f.value >=
|
|
112
|
-
return
|
|
109
|
+
for (let t = 0; t < w.value.series.length; t += 1) {
|
|
110
|
+
const { color: s, from: a, to: o } = w.value.series[t];
|
|
111
|
+
if (f.value >= a && f.value <= o)
|
|
112
|
+
return s;
|
|
113
113
|
}
|
|
114
114
|
return "#2D353C";
|
|
115
115
|
}), X = d(null);
|
|
116
116
|
function ue() {
|
|
117
|
-
if (de(c.dataset) ?
|
|
117
|
+
if (de(c.dataset) ? Y({
|
|
118
118
|
componentName: "VueUiGauge",
|
|
119
119
|
type: "dataset"
|
|
120
120
|
}) : (fe({
|
|
121
121
|
datasetObject: c.dataset,
|
|
122
122
|
requiredAttributes: ["value", "series"]
|
|
123
|
-
}).forEach((
|
|
124
|
-
|
|
123
|
+
}).forEach((t) => {
|
|
124
|
+
Y({
|
|
125
125
|
componentName: "VueUiGauge",
|
|
126
126
|
type: "datasetAttribute",
|
|
127
|
-
property:
|
|
127
|
+
property: t
|
|
128
128
|
});
|
|
129
|
-
}), Object.hasOwn(c.dataset, "series") && (c.dataset.series.length ? c.dataset.series.forEach((
|
|
129
|
+
}), Object.hasOwn(c.dataset, "series") && (c.dataset.series.length ? c.dataset.series.forEach((t, s) => {
|
|
130
130
|
fe({
|
|
131
|
-
datasetObject:
|
|
131
|
+
datasetObject: t,
|
|
132
132
|
requiredAttributes: ["from", "to"]
|
|
133
|
-
}).forEach((
|
|
134
|
-
|
|
133
|
+
}).forEach((a) => {
|
|
134
|
+
Y({
|
|
135
135
|
componentName: "VueUiGauge",
|
|
136
136
|
type: "datasetSerieAttribute",
|
|
137
|
-
property:
|
|
138
|
-
index:
|
|
137
|
+
property: a,
|
|
138
|
+
index: s
|
|
139
139
|
});
|
|
140
140
|
});
|
|
141
|
-
}) :
|
|
141
|
+
}) : Y({
|
|
142
142
|
componentName: "VueUiGauge",
|
|
143
143
|
type: "datasetAttributeEmpty",
|
|
144
144
|
property: "series"
|
|
145
145
|
}))), ne(c.dataset.value || 0), e.value.responsive) {
|
|
146
|
-
const
|
|
147
|
-
const { width:
|
|
148
|
-
chart:
|
|
146
|
+
const t = Le(() => {
|
|
147
|
+
const { width: s, height: a } = De({
|
|
148
|
+
chart: C.value,
|
|
149
149
|
title: e.value.style.chart.title.text ? Z.value : null,
|
|
150
150
|
legend: J.value,
|
|
151
151
|
source: K.value,
|
|
152
152
|
noTitle: Q.value
|
|
153
153
|
});
|
|
154
|
-
l.value.width =
|
|
155
|
-
relator: Math.min(
|
|
154
|
+
l.value.width = s, l.value.height = a, l.value.centerX = s / 2, l.value.centerY = m.value / 2 / 358.4 * a, l.value.bottom = a, l.value.labelFontSize = 18 / m.value * Math.min(a, s) < 10 ? 10 : 18 / m.value * Math.min(a, s), l.value.legendFontSize = e.value.style.chart.legend.fontSize / m.value * Math.min(a, s) < 14 ? 14 : e.value.style.chart.legend.fontSize / m.value * Math.min(a, s), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / m.value * Math.min(a, s), l.value.trackSize = e.value.style.chart.layout.track.size / m.value * Math.min(a, s), l.value.pointerStrokeWidth = q({
|
|
155
|
+
relator: Math.min(s, a),
|
|
156
156
|
adjuster: m.value,
|
|
157
157
|
source: e.value.style.chart.layout.pointer.strokeWidth,
|
|
158
158
|
threshold: 2,
|
|
159
159
|
fallback: 2
|
|
160
160
|
}), l.value.markerOffset = q({
|
|
161
|
-
relator: Math.max(
|
|
161
|
+
relator: Math.max(s, a),
|
|
162
162
|
adjuster: m.value,
|
|
163
163
|
source: e.value.style.chart.layout.markers.offsetY + 3,
|
|
164
164
|
threshold: 2,
|
|
165
165
|
fallback: 2
|
|
166
166
|
}), l.value.segmentFontSize = q({
|
|
167
|
-
relator: Math.min(
|
|
167
|
+
relator: Math.min(s, a),
|
|
168
168
|
adjuster: m.value,
|
|
169
169
|
source: e.value.style.chart.layout.segmentNames.fontSize,
|
|
170
170
|
threshold: 8,
|
|
171
171
|
fallback: 8
|
|
172
172
|
});
|
|
173
173
|
});
|
|
174
|
-
X.value = new ResizeObserver(
|
|
174
|
+
X.value = new ResizeObserver(t), X.value.observe(C.value.parentNode);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
Pe(() => {
|
|
@@ -179,28 +179,28 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
179
179
|
}), Ne(() => {
|
|
180
180
|
X.value && X.value.disconnect();
|
|
181
181
|
});
|
|
182
|
-
function ne(
|
|
183
|
-
const
|
|
184
|
-
(w.value.series || []).forEach((
|
|
185
|
-
|
|
186
|
-
}),
|
|
187
|
-
let
|
|
188
|
-
const
|
|
189
|
-
function
|
|
190
|
-
f.value <
|
|
182
|
+
function ne(t) {
|
|
183
|
+
const s = [];
|
|
184
|
+
(w.value.series || []).forEach((k) => {
|
|
185
|
+
s.push(k.from || 0), s.push(k.to || 0);
|
|
186
|
+
}), M.value = Math.max(...s), P.value = Math.min(...s);
|
|
187
|
+
let a = e.value.style.chart.animation.speed;
|
|
188
|
+
const o = Math.abs(t - f.value) / (a * 60);
|
|
189
|
+
function _() {
|
|
190
|
+
f.value < t ? f.value = Math.min(f.value + o, t) : f.value > t && (f.value = Math.max(f.value - o, t)), f.value !== t && requestAnimationFrame(_);
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
_();
|
|
193
193
|
}
|
|
194
194
|
const n = y(() => {
|
|
195
|
-
const
|
|
195
|
+
const t = e.value.responsive ? Math.min(l.value.width, l.value.height) : l.value.width, s = 2.5 / e.value.style.chart.layout.radiusRatio;
|
|
196
196
|
return {
|
|
197
|
-
arcs:
|
|
198
|
-
gradients:
|
|
197
|
+
arcs: t / s,
|
|
198
|
+
gradients: t / (s * 1.1),
|
|
199
199
|
base: e.value.responsive ? l.value.height / 2 : l.value.height * 0.7,
|
|
200
200
|
ratingBase: e.value.responsive ? l.value.height / 2 + l.value.height / 4 : l.value.height * 0.9,
|
|
201
201
|
pointerSize: e.value.responsive ? Math.min(l.value.width, l.value.height) / 3 : l.value.width / 3.2
|
|
202
202
|
};
|
|
203
|
-
}),
|
|
203
|
+
}), p = y(() => U(
|
|
204
204
|
{ series: w.value.series },
|
|
205
205
|
l.value.width / 2,
|
|
206
206
|
n.value.base,
|
|
@@ -224,15 +224,15 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
224
224
|
180,
|
|
225
225
|
109.9495,
|
|
226
226
|
40 * l.value.trackSize
|
|
227
|
-
)), S = y(() => n.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio);
|
|
228
|
-
function xe(
|
|
229
|
-
if (
|
|
227
|
+
)), S = y(() => p.value.map((t) => n.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1)));
|
|
228
|
+
function xe(t) {
|
|
229
|
+
if (t.reduce((_, k) => _ + k, 0) > 100)
|
|
230
230
|
throw new Error("Total % must not exceed 100");
|
|
231
|
-
const
|
|
232
|
-
let
|
|
233
|
-
return
|
|
231
|
+
const a = 50;
|
|
232
|
+
let o = 0;
|
|
233
|
+
return t.map((_) => (o += _, `${o / 100 * a - _ / 4}%`));
|
|
234
234
|
}
|
|
235
|
-
const we = y(() => xe(
|
|
235
|
+
const we = y(() => xe(p.value.map((t) => t.proportion * 100))), Se = y(() => U(
|
|
236
236
|
{ series: w.value.series },
|
|
237
237
|
l.value.width / 2,
|
|
238
238
|
n.value.base,
|
|
@@ -244,9 +244,9 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
244
244
|
180,
|
|
245
245
|
110.02,
|
|
246
246
|
2 * l.value.trackSize
|
|
247
|
-
)),
|
|
248
|
-
function ze(
|
|
249
|
-
|
|
247
|
+
)), N = d(!1);
|
|
248
|
+
function ze(t) {
|
|
249
|
+
N.value = t, H.value += 1;
|
|
250
250
|
}
|
|
251
251
|
const A = d(!1);
|
|
252
252
|
function j() {
|
|
@@ -256,35 +256,35 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
256
256
|
generatePdf: oe,
|
|
257
257
|
generateImage: se,
|
|
258
258
|
toggleAnnotator: j
|
|
259
|
-
}), (
|
|
260
|
-
class: ce(`vue-ui-gauge ${
|
|
259
|
+
}), (t, s) => (r(), u("div", {
|
|
260
|
+
class: ce(`vue-ui-gauge ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
261
261
|
ref_key: "gaugeChart",
|
|
262
|
-
ref:
|
|
263
|
-
id: `vue-ui-gauge_${
|
|
262
|
+
ref: C,
|
|
263
|
+
id: `vue-ui-gauge_${b.value}`,
|
|
264
264
|
style: ve(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
|
|
265
265
|
}, [
|
|
266
|
-
e.value.userOptions.buttons.annotator ? (
|
|
266
|
+
e.value.userOptions.buttons.annotator ? (r(), R(He, {
|
|
267
267
|
key: 0,
|
|
268
|
-
parent:
|
|
268
|
+
parent: C.value,
|
|
269
269
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
270
270
|
color: e.value.style.chart.color,
|
|
271
271
|
active: A.value,
|
|
272
272
|
onClose: j
|
|
273
273
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
|
|
274
|
-
ke.value ? (
|
|
274
|
+
ke.value ? (r(), u("div", {
|
|
275
275
|
key: 1,
|
|
276
276
|
ref_key: "noTitle",
|
|
277
277
|
ref: Q,
|
|
278
278
|
class: "vue-data-ui-no-title-space",
|
|
279
279
|
style: "height:36px; width: 100%;background:transparent"
|
|
280
280
|
}, null, 512)) : v("", !0),
|
|
281
|
-
e.value.style.chart.title.text ? (
|
|
281
|
+
e.value.style.chart.title.text ? (r(), u("div", {
|
|
282
282
|
key: 2,
|
|
283
283
|
ref_key: "chartTitle",
|
|
284
284
|
ref: Z,
|
|
285
285
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
286
286
|
}, [
|
|
287
|
-
(
|
|
287
|
+
(r(), R(Ve, {
|
|
288
288
|
key: `title_${ee.value}`,
|
|
289
289
|
config: {
|
|
290
290
|
title: {
|
|
@@ -297,13 +297,13 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
}, {
|
|
300
|
-
default:
|
|
301
|
-
e.value.translations.base && E.dataset.base ? (
|
|
300
|
+
default: O(() => [
|
|
301
|
+
e.value.translations.base && E.dataset.base ? (r(), u("span", Ke, z(e.value.translations.base) + ": " + z(E.dataset.base), 1)) : v("", !0)
|
|
302
302
|
]),
|
|
303
303
|
_: 1
|
|
304
304
|
}, 8, ["config"]))
|
|
305
305
|
], 512)) : v("", !0),
|
|
306
|
-
e.value.userOptions.show && I.value ? (
|
|
306
|
+
e.value.userOptions.show && I.value ? (r(), R(Be, {
|
|
307
307
|
ref_key: "details",
|
|
308
308
|
ref: pe,
|
|
309
309
|
key: `user_options_${H.value}`,
|
|
@@ -311,14 +311,14 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
311
311
|
color: e.value.style.chart.color,
|
|
312
312
|
isImaging: i(le),
|
|
313
313
|
isPrinting: i(ae),
|
|
314
|
-
uid:
|
|
314
|
+
uid: b.value,
|
|
315
315
|
hasXls: !1,
|
|
316
316
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
317
317
|
hasImg: e.value.userOptions.buttons.img,
|
|
318
318
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
319
|
-
isFullscreen:
|
|
319
|
+
isFullscreen: N.value,
|
|
320
320
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
321
|
-
chartElement:
|
|
321
|
+
chartElement: C.value,
|
|
322
322
|
position: e.value.userOptions.position,
|
|
323
323
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
324
324
|
isAnnotation: A.value,
|
|
@@ -327,46 +327,46 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
327
327
|
onGenerateImage: i(se),
|
|
328
328
|
onToggleAnnotator: j
|
|
329
329
|
}, Oe({ _: 2 }, [
|
|
330
|
-
|
|
330
|
+
t.$slots.optionPdf ? {
|
|
331
331
|
name: "optionPdf",
|
|
332
|
-
fn:
|
|
333
|
-
x(
|
|
332
|
+
fn: O(() => [
|
|
333
|
+
x(t.$slots, "optionPdf", {}, void 0, !0)
|
|
334
334
|
]),
|
|
335
335
|
key: "0"
|
|
336
336
|
} : void 0,
|
|
337
|
-
|
|
337
|
+
t.$slots.optionImg ? {
|
|
338
338
|
name: "optionImg",
|
|
339
|
-
fn:
|
|
340
|
-
x(
|
|
339
|
+
fn: O(() => [
|
|
340
|
+
x(t.$slots, "optionImg", {}, void 0, !0)
|
|
341
341
|
]),
|
|
342
342
|
key: "1"
|
|
343
343
|
} : void 0,
|
|
344
|
-
|
|
344
|
+
t.$slots.optionFullscreen ? {
|
|
345
345
|
name: "optionFullscreen",
|
|
346
|
-
fn:
|
|
347
|
-
x(
|
|
346
|
+
fn: O(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
347
|
+
x(t.$slots, "optionFullscreen", L(D({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
348
348
|
]),
|
|
349
349
|
key: "2"
|
|
350
350
|
} : void 0,
|
|
351
|
-
|
|
351
|
+
t.$slots.optionAnnotator ? {
|
|
352
352
|
name: "optionAnnotator",
|
|
353
|
-
fn:
|
|
354
|
-
x(
|
|
353
|
+
fn: O(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
354
|
+
x(t.$slots, "optionAnnotator", L(D({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
355
355
|
]),
|
|
356
356
|
key: "3"
|
|
357
357
|
} : void 0
|
|
358
358
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
|
|
359
|
-
I.value ? (
|
|
359
|
+
I.value ? (r(), u("svg", {
|
|
360
360
|
key: 4,
|
|
361
361
|
xmlns: i(Te),
|
|
362
|
-
class: ce({ "vue-data-ui-fullscreen--on":
|
|
362
|
+
class: ce({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
363
363
|
viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
|
|
364
364
|
style: ve(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
365
365
|
}, [
|
|
366
366
|
Ie(qe),
|
|
367
367
|
g("defs", null, [
|
|
368
368
|
g("radialGradient", {
|
|
369
|
-
id: `gradient_${
|
|
369
|
+
id: `gradient_${b.value}`,
|
|
370
370
|
cx: "50%",
|
|
371
371
|
cy: "50%",
|
|
372
372
|
r: "50%",
|
|
@@ -389,7 +389,7 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
389
389
|
]),
|
|
390
390
|
g("defs", null, [
|
|
391
391
|
g("filter", {
|
|
392
|
-
id: `blur_${
|
|
392
|
+
id: `blur_${b.value}`,
|
|
393
393
|
x: "-50%",
|
|
394
394
|
y: "-50%",
|
|
395
395
|
width: "200%",
|
|
@@ -401,92 +401,92 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
401
401
|
}, null, 8, st)
|
|
402
402
|
], 8, ot)
|
|
403
403
|
]),
|
|
404
|
-
(
|
|
405
|
-
key: `arc_${
|
|
406
|
-
d:
|
|
407
|
-
fill:
|
|
404
|
+
(r(!0), u($, null, F(p.value, (a, o) => (r(), u("path", {
|
|
405
|
+
key: `arc_${o}`,
|
|
406
|
+
d: a.arcSlice,
|
|
407
|
+
fill: a.color,
|
|
408
408
|
stroke: e.value.style.chart.backgroundColor,
|
|
409
409
|
"stroke-linecap": "round"
|
|
410
410
|
}, null, 8, rt))), 128)),
|
|
411
|
-
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (
|
|
412
|
-
|
|
413
|
-
id: `curve_${
|
|
414
|
-
d: `M ${h.value.x1},${h.value.y1} m -${S.value},0 a ${S.value},${S.value} 0 1,1 ${2 * S.value},0 a ${S.value},${S.value} 0 1,1 -${2 * S.value},0`,
|
|
411
|
+
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (r(), u($, { key: 0 }, [
|
|
412
|
+
(r(!0), u($, null, F(p.value, (a, o) => (r(), u("path", {
|
|
413
|
+
id: `curve_${b.value}_${o}`,
|
|
414
|
+
d: `M ${h.value.x1},${h.value.y1} m -${S.value[o]},0 a ${S.value[o]},${S.value[o]} 0 1,1 ${2 * S.value[o]},0 a ${S.value[o]},${S.value[o]} 0 1,1 -${2 * S.value[o]},0`,
|
|
415
415
|
fill: "transparent"
|
|
416
|
-
}, null, 8, ut),
|
|
417
|
-
(
|
|
418
|
-
fill: e.value.style.chart.layout.segmentNames.useSerieColor ?
|
|
416
|
+
}, null, 8, ut))), 256)),
|
|
417
|
+
(r(!0), u($, null, F(p.value, (a, o) => (r(), u("text", {
|
|
418
|
+
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
419
419
|
"font-size": l.value.segmentFontSize,
|
|
420
420
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
421
421
|
"text-anchor": "middle"
|
|
422
422
|
}, [
|
|
423
423
|
g("textPath", {
|
|
424
|
-
href: `#curve_${
|
|
425
|
-
startOffset: we.value[
|
|
426
|
-
}, z(
|
|
424
|
+
href: `#curve_${b.value}_${o}`,
|
|
425
|
+
startOffset: we.value[o]
|
|
426
|
+
}, z(a.name || ""), 9, it)
|
|
427
427
|
], 8, nt))), 256))
|
|
428
428
|
], 64)) : v("", !0),
|
|
429
|
-
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (
|
|
430
|
-
x:
|
|
431
|
-
y:
|
|
432
|
-
"text-anchor": i(je)(
|
|
433
|
-
fill: e.value.style.chart.layout.segmentNames.useSerieColor ?
|
|
429
|
+
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (r(!0), u($, { key: 1 }, F(_e.value, (a, o) => (r(), u("text", {
|
|
430
|
+
x: a.center.endX,
|
|
431
|
+
y: a.center.endY,
|
|
432
|
+
"text-anchor": i(je)(a, !1, 12).anchor,
|
|
433
|
+
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
434
434
|
"font-size": l.value.segmentFontSize,
|
|
435
435
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal"
|
|
436
|
-
}, z(
|
|
437
|
-
e.value.style.chart.layout.track.useGradient ? (
|
|
438
|
-
key: `arc_${
|
|
439
|
-
d:
|
|
436
|
+
}, z(a.name || ""), 9, ct))), 256)) : v("", !0),
|
|
437
|
+
e.value.style.chart.layout.track.useGradient ? (r(!0), u($, { key: 2 }, F(Se.value, (a, o) => (r(), u("path", {
|
|
438
|
+
key: `arc_${o}`,
|
|
439
|
+
d: a.arcSlice,
|
|
440
440
|
fill: "#FFFFFF",
|
|
441
441
|
stroke: "none",
|
|
442
442
|
"stroke-linecap": "round",
|
|
443
|
-
filter: `url(#blur_${
|
|
443
|
+
filter: `url(#blur_${b.value})`
|
|
444
444
|
}, null, 8, vt))), 128)) : v("", !0),
|
|
445
|
-
e.value.style.chart.layout.markers.show ? (
|
|
446
|
-
(
|
|
445
|
+
e.value.style.chart.layout.markers.show ? (r(), u("g", ht, [
|
|
446
|
+
(r(!0), u($, null, F(p.value, (a, o) => (r(), u("text", {
|
|
447
447
|
x: i(G)({
|
|
448
448
|
centerX: l.value.width / 2,
|
|
449
449
|
centerY: n.value.base,
|
|
450
|
-
initX:
|
|
451
|
-
initY:
|
|
450
|
+
initX: a.center.startX,
|
|
451
|
+
initY: a.center.startY,
|
|
452
452
|
offset: l.value.markerOffset
|
|
453
453
|
}).x,
|
|
454
454
|
y: i(G)({
|
|
455
455
|
centerX: l.value.width / 2,
|
|
456
456
|
centerY: n.value.base,
|
|
457
|
-
initX:
|
|
458
|
-
initY:
|
|
457
|
+
initX: a.center.startX,
|
|
458
|
+
initY: a.center.startY,
|
|
459
459
|
offset: l.value.markerOffset
|
|
460
460
|
}).y,
|
|
461
|
-
"text-anchor":
|
|
461
|
+
"text-anchor": a.center.startX < l.value.width / 2 - 5 ? "end" : a.center.startX > l.value.width / 2 + 5 ? "start" : "middle",
|
|
462
462
|
"font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
463
463
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
464
464
|
fill: e.value.style.chart.layout.markers.color
|
|
465
465
|
}, z(i(W)(
|
|
466
466
|
e.value.style.chart.layout.markers.formatter,
|
|
467
|
-
|
|
467
|
+
a.from,
|
|
468
468
|
i(V)({
|
|
469
469
|
p: e.value.style.chart.layout.markers.prefix,
|
|
470
|
-
v:
|
|
470
|
+
v: a.from,
|
|
471
471
|
s: e.value.style.chart.layout.markers.suffix,
|
|
472
472
|
r: e.value.style.chart.layout.markers.roundingValue
|
|
473
473
|
})
|
|
474
474
|
)), 9, dt))), 256))
|
|
475
475
|
])) : v("", !0),
|
|
476
|
-
e.value.style.chart.layout.markers.show ? (
|
|
476
|
+
e.value.style.chart.layout.markers.show ? (r(), u("text", {
|
|
477
477
|
key: 4,
|
|
478
478
|
x: i(G)({
|
|
479
479
|
centerX: l.value.width / 2,
|
|
480
480
|
centerY: n.value.base,
|
|
481
|
-
initX:
|
|
482
|
-
initY:
|
|
481
|
+
initX: p.value.at(-1).endX,
|
|
482
|
+
initY: p.value.at(-1).endY,
|
|
483
483
|
offset: l.value.markerOffset
|
|
484
484
|
}).x,
|
|
485
485
|
y: i(G)({
|
|
486
486
|
centerX: l.value.width / 2,
|
|
487
487
|
centerY: n.value.base,
|
|
488
|
-
initX:
|
|
489
|
-
initY:
|
|
488
|
+
initX: p.value.at(-1).endX,
|
|
489
|
+
initY: p.value.at(-1).endY,
|
|
490
490
|
offset: l.value.markerOffset
|
|
491
491
|
}).y,
|
|
492
492
|
"text-anchor": "start",
|
|
@@ -495,16 +495,16 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
495
495
|
fill: e.value.style.chart.layout.markers.color
|
|
496
496
|
}, z(i(W)(
|
|
497
497
|
e.value.style.chart.layout.markers.formatter,
|
|
498
|
-
|
|
498
|
+
M.value,
|
|
499
499
|
i(V)({
|
|
500
500
|
p: e.value.style.chart.layout.markers.prefix,
|
|
501
|
-
v:
|
|
501
|
+
v: M.value,
|
|
502
502
|
s: e.value.style.chart.layout.markers.suffix,
|
|
503
503
|
r: e.value.style.chart.layout.markers.roundingValue
|
|
504
504
|
})
|
|
505
505
|
)), 9, ft)) : v("", !0),
|
|
506
|
-
e.value.style.chart.layout.pointer.type === "rounded" ? (
|
|
507
|
-
isNaN(h.value.x2) ? v("", !0) : (
|
|
506
|
+
e.value.style.chart.layout.pointer.type === "rounded" ? (r(), u("g", yt, [
|
|
507
|
+
isNaN(h.value.x2) ? v("", !0) : (r(), u("line", {
|
|
508
508
|
key: 0,
|
|
509
509
|
x1: h.value.x1,
|
|
510
510
|
y1: h.value.y1,
|
|
@@ -514,7 +514,7 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
514
514
|
"stroke-width": l.value.pointerStrokeWidth,
|
|
515
515
|
"stroke-linecap": "round"
|
|
516
516
|
}, null, 8, mt)),
|
|
517
|
-
isNaN(h.value.x2) ? v("", !0) : (
|
|
517
|
+
isNaN(h.value.x2) ? v("", !0) : (r(), u("line", {
|
|
518
518
|
key: 1,
|
|
519
519
|
x1: h.value.x1,
|
|
520
520
|
y1: h.value.y1,
|
|
@@ -524,7 +524,7 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
524
524
|
"stroke-linecap": "round",
|
|
525
525
|
"stroke-width": l.value.pointerStrokeWidth * 0.7
|
|
526
526
|
}, null, 8, gt)),
|
|
527
|
-
!isNaN(h.value.x2) && e.value.style.chart.layout.track.useGradient ? (
|
|
527
|
+
!isNaN(h.value.x2) && e.value.style.chart.layout.track.useGradient ? (r(), u("line", {
|
|
528
528
|
key: 2,
|
|
529
529
|
x1: h.value.x1,
|
|
530
530
|
y1: h.value.y1,
|
|
@@ -533,10 +533,10 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
533
533
|
stroke: "white",
|
|
534
534
|
"stroke-linecap": "round",
|
|
535
535
|
"stroke-width": l.value.pointerStrokeWidth * 0.3,
|
|
536
|
-
filter: `url(#blur_${
|
|
536
|
+
filter: `url(#blur_${b.value})`
|
|
537
537
|
}, null, 8, pt)) : v("", !0)
|
|
538
|
-
])) : (
|
|
539
|
-
re.value ? (
|
|
538
|
+
])) : (r(), u("g", kt, [
|
|
539
|
+
re.value ? (r(), u("path", {
|
|
540
540
|
key: 0,
|
|
541
541
|
d: re.value,
|
|
542
542
|
fill: e.value.style.chart.layout.pointer.useRatingColor ? T.value : e.value.style.chart.layout.pointer.color,
|
|
@@ -553,7 +553,7 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
553
553
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
554
554
|
stroke: e.value.style.chart.layout.pointer.circle.stroke
|
|
555
555
|
}, null, 8, _t),
|
|
556
|
-
e.value.style.chart.legend.show ? (
|
|
556
|
+
e.value.style.chart.legend.show ? (r(), u("text", {
|
|
557
557
|
key: 7,
|
|
558
558
|
x: l.value.width / 2,
|
|
559
559
|
y: n.value.ratingBase,
|
|
@@ -571,12 +571,12 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
571
571
|
r: e.value.style.chart.legend.roundingValue
|
|
572
572
|
})
|
|
573
573
|
)), 9, xt)) : v("", !0),
|
|
574
|
-
x(
|
|
574
|
+
x(t.$slots, "svg", { svg: l.value }, void 0, !0)
|
|
575
575
|
], 14, Qe)) : v("", !0),
|
|
576
|
-
|
|
577
|
-
x(
|
|
576
|
+
t.$slots.watermark ? (r(), u("div", wt, [
|
|
577
|
+
x(t.$slots, "watermark", L(D({ isPrinting: i(ae) || i(le) })), void 0, !0)
|
|
578
578
|
])) : v("", !0),
|
|
579
|
-
I.value ? v("", !0) : (
|
|
579
|
+
I.value ? v("", !0) : (r(), R(We, {
|
|
580
580
|
key: 6,
|
|
581
581
|
config: {
|
|
582
582
|
type: "gauge",
|
|
@@ -592,19 +592,19 @@ const Je = ["id"], Ke = { key: 0 }, Qe = ["xmlns", "viewBox"], et = ["id"], tt =
|
|
|
592
592
|
ref_key: "chartLegend",
|
|
593
593
|
ref: J
|
|
594
594
|
}, [
|
|
595
|
-
x(
|
|
595
|
+
x(t.$slots, "legend", { legend: w.value }, void 0, !0)
|
|
596
596
|
], 512),
|
|
597
|
-
|
|
597
|
+
t.$slots.source ? (r(), u("div", {
|
|
598
598
|
key: 7,
|
|
599
599
|
ref_key: "source",
|
|
600
600
|
ref: K,
|
|
601
601
|
dir: "auto"
|
|
602
602
|
}, [
|
|
603
|
-
x(
|
|
603
|
+
x(t.$slots, "source", {}, void 0, !0)
|
|
604
604
|
], 512)) : v("", !0)
|
|
605
605
|
], 14, Je));
|
|
606
606
|
}
|
|
607
|
-
}, At = /* @__PURE__ */ Ze(St, [["__scopeId", "data-v-
|
|
607
|
+
}, At = /* @__PURE__ */ Ze(St, [["__scopeId", "data-v-813d685a"]]);
|
|
608
608
|
export {
|
|
609
609
|
At as default
|
|
610
610
|
};
|