vue-data-ui 2.4.88 → 2.4.89
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-DMSM0MM1.cjs → Arrow-CbP9kLxJ.cjs} +1 -1
- package/dist/{Arrow-D79KA6Cu.js → Arrow-CuAfInZx.js} +1 -1
- package/dist/{BaseIcon-B9BZgZsa.js → BaseIcon-BpNWrQFd.js} +1 -1
- package/dist/{BaseIcon-CehmAXJH.cjs → BaseIcon-C8eZuK3O.cjs} +1 -1
- package/dist/{DataTable-Cnr3w23K.js → DataTable-CBJXWv2y.js} +2 -2
- package/dist/{DataTable-DVKGDaCB.cjs → DataTable-D-lEfCvI.cjs} +1 -1
- package/dist/{Legend-Uv0t6PIz.cjs → Legend-BHqhIxpn.cjs} +1 -1
- package/dist/{Legend-Di7FMl12.js → Legend-BSpbp1BZ.js} +2 -2
- package/dist/{PackageVersion-BAKTtSRE.js → PackageVersion-DtBpSOiQ.js} +1 -1
- package/dist/{PackageVersion-BgKxrHv-.cjs → PackageVersion-fh_T3pry.cjs} +1 -1
- package/dist/{PenAndPaper-BUzmu0vi.js → PenAndPaper-B2XkoPXE.js} +3 -3
- package/dist/{PenAndPaper-BYVZ33fz.cjs → PenAndPaper-JJPSlM7l.cjs} +1 -1
- package/dist/{Shape-DZz__S1P.js → Shape-BOPYNx7w.js} +1 -1
- package/dist/{Shape-CNuTafzS.cjs → Shape-Do_AzV1G.cjs} +1 -1
- package/dist/{Slicer-Clpv-EOL.js → Slicer-ChE3bif9.js} +15 -15
- package/dist/{Slicer-BSQa-Zel.cjs → Slicer-Ztz1Ij0w.cjs} +1 -1
- package/dist/{Title-DcTKT_WK.cjs → Title-0PbYWvbk.cjs} +1 -1
- package/dist/{Title-Dt5mC-vb.js → Title-ccoiJ0mq.js} +1 -1
- package/dist/{Tooltip-CmKYX0H1.js → Tooltip-DvT_JgqK.js} +1 -1
- package/dist/{Tooltip-y6Z9yhlE.cjs → Tooltip-yfpr967Z.cjs} +1 -1
- package/dist/{index-DCHLGNvJ.js → index-CbMgQMOZ.js} +65 -53
- package/dist/index-DHTOdsmm.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +6 -0
- package/dist/types/vue-data-ui.d.ts +6 -0
- package/dist/{useNestedProp-LNEDZsGq.cjs → useNestedProp-BbHX6tgE.cjs} +1 -1
- package/dist/{useNestedProp-BPR7xHxr.js → useNestedProp-vYrmxXEi.js} +1 -1
- package/dist/{usePrinter-CjQvMB0_.cjs → usePrinter-CCvLCahd.cjs} +1 -1
- package/dist/{usePrinter-BvounINk.js → usePrinter-sMoxYV4s.js} +1 -1
- package/dist/{vue-data-ui-eNIOCbja.cjs → vue-data-ui-B4yl-5k7.cjs} +1 -1
- package/dist/{vue-data-ui-BCZFdeNf.js → vue-data-ui-cjdjZcIN.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-B0ZLxzL-.js → vue-ui-3d-bar-BCUFEN3E.js} +9 -9
- package/dist/{vue-ui-3d-bar-DEZhX6d1.cjs → vue-ui-3d-bar-BIxPk-3O.cjs} +1 -1
- package/dist/{vue-ui-accordion-2c1jq56U.cjs → vue-ui-accordion-D0YEkQP_.cjs} +1 -1
- package/dist/{vue-ui-accordion-DEpeQHhr.js → vue-ui-accordion-DXPXhPPW.js} +3 -3
- package/dist/{vue-ui-age-pyramid-dewoEG3y.js → vue-ui-age-pyramid-Bu2gLwi_.js} +10 -10
- package/dist/{vue-ui-age-pyramid-DlE41fIs.cjs → vue-ui-age-pyramid-JUp6_DQU.cjs} +1 -1
- package/dist/{vue-ui-annotator-CG6CV-7_.cjs → vue-ui-annotator-np4TLsbB.cjs} +1 -1
- package/dist/{vue-ui-annotator-D9op3RMK.js → vue-ui-annotator-rRlHgjug.js} +1 -1
- package/dist/{vue-ui-bullet-B6tijZFI.js → vue-ui-bullet-BG4ZoJWg.js} +8 -8
- package/dist/{vue-ui-bullet-Bt_2KhaH.cjs → vue-ui-bullet-DuPHT9m_.cjs} +1 -1
- package/dist/{vue-ui-candlestick-B4DkRibE.js → vue-ui-candlestick-Bs_FB1xf.js} +11 -11
- package/dist/{vue-ui-candlestick-DWDz2nFA.cjs → vue-ui-candlestick-zm-vNhJF.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DZlh-CRi.cjs → vue-ui-carousel-table-CVlt3x_V.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-COAPDtuP.js → vue-ui-carousel-table-D73qjY94.js} +4 -4
- package/dist/{vue-ui-chestnut-DCk2Zbcz.js → vue-ui-chestnut-BKka1suh.js} +8 -8
- package/dist/{vue-ui-chestnut-EyoKonrW.cjs → vue-ui-chestnut-BZ7WKn-P.cjs} +1 -1
- package/dist/{vue-ui-cursor-DR8hHWf7.cjs → vue-ui-cursor-BvDKJ-EE.cjs} +1 -1
- package/dist/{vue-ui-cursor-DSP_sXww.js → vue-ui-cursor-CKQ7lIEU.js} +2 -2
- package/dist/{vue-ui-dashboard-BizVZE7w.js → vue-ui-dashboard-CLDULZmZ.js} +2 -2
- package/dist/{vue-ui-dashboard-BJsyMU6X.cjs → vue-ui-dashboard-CU18bFKg.cjs} +1 -1
- package/dist/{vue-ui-digits-vspu86yU.cjs → vue-ui-digits-ZsDxljaT.cjs} +1 -1
- package/dist/{vue-ui-digits-BvVZ7uDf.js → vue-ui-digits-_Q3BPnPQ.js} +2 -2
- package/dist/{vue-ui-donut-BHJF4z2B.cjs → vue-ui-donut-BTLM3pc-.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DwVP-Zjn.cjs → vue-ui-donut-evolution-B9b0VDlt.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-BfS2WdBU.js → vue-ui-donut-evolution-DeaRL3Qp.js} +11 -11
- package/dist/{vue-ui-donut-aFsq1d8c.js → vue-ui-donut-uSvi7mes.js} +12 -12
- package/dist/{vue-ui-dumbbell-Bi-2LGtG.cjs → vue-ui-dumbbell-D0-fNbuR.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-Bb5wHbQL.js → vue-ui-dumbbell-DxOC8F_T.js} +10 -10
- package/dist/{vue-ui-flow-RQWHqn22.cjs → vue-ui-flow-CVX1Booa.cjs} +1 -1
- package/dist/{vue-ui-flow-DxNNh-WO.js → vue-ui-flow-Cli1Nia2.js} +9 -9
- package/dist/{vue-ui-funnel-D-892HTK.cjs → vue-ui-funnel-CkrA8ZGZ.cjs} +1 -1
- package/dist/{vue-ui-funnel-IVTzcHVm.js → vue-ui-funnel-DUSetrwZ.js} +9 -9
- package/dist/{vue-ui-galaxy-039pCZpW.js → vue-ui-galaxy-B6chdxw9.js} +11 -11
- package/dist/{vue-ui-galaxy-BR-8c9Hn.cjs → vue-ui-galaxy-XLY4fBs_.cjs} +1 -1
- package/dist/{vue-ui-gauge-ZEMVvV-t.js → vue-ui-gauge-BWsStiRt.js} +208 -191
- package/dist/vue-ui-gauge-DKv2V1ZR.cjs +1 -0
- package/dist/{vue-ui-gizmo-DKzAWnI0.js → vue-ui-gizmo-BwPZP3S1.js} +3 -3
- package/dist/{vue-ui-gizmo--XG8-JLk.cjs → vue-ui-gizmo-CIZXKQaP.cjs} +1 -1
- package/dist/{vue-ui-heatmap-DXDpQL6T.js → vue-ui-heatmap-DPO0-7Kr.js} +10 -10
- package/dist/{vue-ui-heatmap-Bia0Ekaw.cjs → vue-ui-heatmap-DpZM0Il7.cjs} +1 -1
- package/dist/{vue-ui-history-plot-o1WosOjA.js → vue-ui-history-plot-Bn1Pt_Ti.js} +11 -11
- package/dist/{vue-ui-history-plot-Cq9ZWdDn.cjs → vue-ui-history-plot-DyTTxsEC.cjs} +1 -1
- package/dist/{vue-ui-kpi-B01FpRQ0.js → vue-ui-kpi-BbeBozJ_.js} +3 -3
- package/dist/{vue-ui-kpi-lWq7fZr1.cjs → vue-ui-kpi-DyI2-86Q.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DLUYnvwS.js → vue-ui-mini-loader-BbXkCdaA.js} +2 -2
- package/dist/{vue-ui-mini-loader-jkxJpHFv.cjs → vue-ui-mini-loader-DkkBYJla.cjs} +1 -1
- package/dist/{vue-ui-molecule-BBK9ofPv.cjs → vue-ui-molecule-CVg3G3jq.cjs} +1 -1
- package/dist/{vue-ui-molecule-DyiuRZQM.js → vue-ui-molecule-b4smncqZ.js} +11 -11
- package/dist/{vue-ui-mood-radar-DJI_fbFv.js → vue-ui-mood-radar-BdT3nuEz.js} +24 -24
- package/dist/{vue-ui-mood-radar-Bx32tbYB.cjs → vue-ui-mood-radar-bRCa4Y3L.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-B9gUqMTf.js → vue-ui-nested-donuts-DttOstux.js} +11 -11
- package/dist/{vue-ui-nested-donuts-B6ZLkoIS.cjs → vue-ui-nested-donuts-ko1-nRO2.cjs} +1 -1
- package/dist/{vue-ui-onion-BnLW3as9.cjs → vue-ui-onion-CFjFt2g0.cjs} +1 -1
- package/dist/{vue-ui-onion-D-OxG00N.js → vue-ui-onion-TYSsqogk.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-DXc-b6rP.js → vue-ui-parallel-coordinate-plot-CAqhUHot.js} +26 -26
- package/dist/{vue-ui-parallel-coordinate-plot-wx4e_yuu.cjs → vue-ui-parallel-coordinate-plot-DzBoNAa1.cjs} +1 -1
- package/dist/{vue-ui-quadrant-bakb0497.js → vue-ui-quadrant-BQH_Xifg.js} +36 -36
- package/dist/{vue-ui-quadrant-BqaLRYQp.cjs → vue-ui-quadrant-Cx1wlTvP.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BZdsiGCz.cjs → vue-ui-quick-chart-Bz-nNd-y.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BnH7-lmq.js → vue-ui-quick-chart-CULnpCgG.js} +9 -9
- package/dist/{vue-ui-radar-DadvgLtC.js → vue-ui-radar-Cx-rxEMq.js} +26 -26
- package/dist/{vue-ui-radar-D5IDgzwd.cjs → vue-ui-radar-gWd0pEpW.cjs} +1 -1
- package/dist/{vue-ui-rating-B4yxkddt.cjs → vue-ui-rating-BKQNJZ0P.cjs} +1 -1
- package/dist/{vue-ui-rating-CGojWinU.js → vue-ui-rating-F9PTlU7Q.js} +5 -5
- package/dist/{vue-ui-relation-circle-rmWirv-5.cjs → vue-ui-relation-circle-B3PfO20q.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-COC07h_K.js → vue-ui-relation-circle-DegxFhlA.js} +7 -7
- package/dist/{vue-ui-rings-DO1cN4ly.cjs → vue-ui-rings-B18Wqo7x.cjs} +1 -1
- package/dist/{vue-ui-rings-CMk-sVvK.js → vue-ui-rings-fJvO6eX_.js} +12 -12
- package/dist/{vue-ui-scatter-C4QmHmq2.cjs → vue-ui-scatter-ZJO-zIjS.cjs} +1 -1
- package/dist/{vue-ui-scatter-CPkly4JA.js → vue-ui-scatter-nVMhmeVK.js} +102 -102
- package/dist/{vue-ui-screenshot-BxFOMLiy.cjs → vue-ui-screenshot-CL_BGDeM.cjs} +1 -1
- package/dist/{vue-ui-screenshot-CzFhpFE4.js → vue-ui-screenshot-DsGxjAas.js} +1 -1
- package/dist/{vue-ui-skeleton-Tse1D8cv.cjs → vue-ui-skeleton-BZDfN8kq.cjs} +1 -1
- package/dist/{vue-ui-skeleton-nTL-u4Yd.js → vue-ui-skeleton-odlG21I6.js} +3 -3
- package/dist/{vue-ui-smiley-Bu3bOukI.js → vue-ui-smiley-CcM-XG7o.js} +2 -2
- package/dist/{vue-ui-smiley-D-sS-77y.cjs → vue-ui-smiley-DjCnF05n.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CF36oite.cjs → vue-ui-spark-trend-B3wvoHdy.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-Bh5gFFQf.js → vue-ui-spark-trend-DbfmJnyG.js} +15 -15
- package/dist/{vue-ui-sparkbar-DX2xrwR9.js → vue-ui-sparkbar-DkwgnqvW.js} +4 -4
- package/dist/{vue-ui-sparkbar-CGIYeFjB.cjs → vue-ui-sparkbar-Unem3qlf.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-D2NJVKww.cjs → vue-ui-sparkgauge-1oonX7Pt.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CZ837K-0.js → vue-ui-sparkgauge-CFNCtwjD.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-2NcpXt-_.js → vue-ui-sparkhistogram-BDq3T-6n.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DIYvXyIB.cjs → vue-ui-sparkhistogram-C2FOzWbO.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BIj5WMUM.cjs → vue-ui-sparkline-BXCPWLbx.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CuBFi324.js → vue-ui-sparkline-CDGqFfbA.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-bqD9-qmQ.js → vue-ui-sparkstackbar-BGDxXx1H.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BvcGQqmi.cjs → vue-ui-sparkstackbar-Crr9O93o.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BG0olJr0.js → vue-ui-stackbar-CXVJgWTO.js} +13 -13
- package/dist/{vue-ui-stackbar-Cbk-PfOC.cjs → vue-ui-stackbar-YULKQ4Q2.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-mNsmytzE.js → vue-ui-strip-plot-D-_BcZGB.js} +11 -11
- package/dist/{vue-ui-strip-plot-Dm2ctnIx.cjs → vue-ui-strip-plot-D2tY6IaY.cjs} +1 -1
- package/dist/{vue-ui-table-C8_8TJ2H.js → vue-ui-table-BKMfZhPB.js} +1 -1
- package/dist/{vue-ui-table-BwuSG-oE.cjs → vue-ui-table-DCR-izqY.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-ZfohVD71.cjs → vue-ui-table-heatmap-BQk6Gd_E.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Bakns13v.js → vue-ui-table-heatmap-BYnl_vUh.js} +15 -15
- package/dist/{vue-ui-table-sparkline-Du93NBKM.js → vue-ui-table-sparkline-C1Xx-B2E.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CC5hpyGe.cjs → vue-ui-table-sparkline-Fk2HnXUF.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DZeTxVGM.js → vue-ui-thermometer-Ba5L3NM-.js} +7 -7
- package/dist/{vue-ui-thermometer-Cbe7bVeq.cjs → vue-ui-thermometer-CUa9blx-.cjs} +1 -1
- package/dist/{vue-ui-timer-B-guKc3A.cjs → vue-ui-timer-BLM1ZnqH.cjs} +1 -1
- package/dist/{vue-ui-timer-BwNbaMti.js → vue-ui-timer-CrJJnZKN.js} +5 -5
- package/dist/{vue-ui-tiremarks-sCXXGXiN.js → vue-ui-tiremarks-C0FaGxaE.js} +7 -7
- package/dist/{vue-ui-tiremarks-DNtBCjbs.cjs → vue-ui-tiremarks-C0ic3lVR.cjs} +1 -1
- package/dist/{vue-ui-treemap-CH_qGgmb.cjs → vue-ui-treemap-C7lv9JcH.cjs} +1 -1
- package/dist/{vue-ui-treemap-BQoajav9.js → vue-ui-treemap-DUUBok0Z.js} +11 -11
- package/dist/{vue-ui-vertical-bar-LWxKcXEf.js → vue-ui-vertical-bar-DGSL6lGQ.js} +12 -12
- package/dist/{vue-ui-vertical-bar-ytpJJBqm.cjs → vue-ui-vertical-bar-qY3NE5sf.cjs} +1 -1
- package/dist/{vue-ui-waffle-q-CgTerF.js → vue-ui-waffle-DeDjMqj4.js} +12 -12
- package/dist/{vue-ui-waffle-CvHppO8v.cjs → vue-ui-waffle-lANO8NSp.cjs} +1 -1
- package/dist/{vue-ui-wheel-CPHOwOzy.js → vue-ui-wheel-D2pWanO3.js} +7 -7
- package/dist/{vue-ui-wheel-BoXkxGeh.cjs → vue-ui-wheel-yw94VIYd.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DFL3e0A2.cjs → vue-ui-word-cloud-BQuOLoHD.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BargS03s.js → vue-ui-word-cloud-DDubuSNu.js} +10 -10
- package/dist/{vue-ui-xy-CgIp7caN.cjs → vue-ui-xy-BKEjcTkg.cjs} +1 -1
- package/dist/{vue-ui-xy-DC5y2PjZ.js → vue-ui-xy-DvaJ_oyE.js} +28 -28
- package/dist/{vue-ui-xy-canvas-D1jemBXQ.cjs → vue-ui-xy-canvas-CgzTusyc.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-B4mqwnlS.js → vue-ui-xy-canvas-DpTDw8Rv.js} +11 -11
- package/package.json +1 -1
- package/dist/index-xEXHnOtJ.cjs +0 -9
- package/dist/vue-ui-gauge-B4k-bq9l.cjs +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import
|
|
6
|
-
import { _ as
|
|
7
|
-
import { u as _e } from "./useNestedProp-
|
|
8
|
-
import { _ as
|
|
9
|
-
import { P as
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
const
|
|
1
|
+
import { computed as y, ref as f, watch as me, onMounted as Re, onBeforeUnmount as Ge, openBlock as r, createElementBlock as u, normalizeClass as pe, normalizeStyle as B, unref as i, createBlock as R, createCommentVNode as c, withCtx as X, toDisplayString as M, createSlots as Ee, renderSlot as w, normalizeProps as G, guardReactiveProps as E, createVNode as Ue, createElementVNode as p, Fragment as g, renderList as S, mergeProps as U } from "vue";
|
|
2
|
+
import { u as We, c as je, t as Te, a as Le, p as ge, b as De, o as ke, d as Be, e as W, g as be, m as V, I as $, N as Ve, X as qe, s as q, k as He, i as H, f as Z, F as J } from "./index-CbMgQMOZ.js";
|
|
3
|
+
import { t as Ze, u as Je } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { u as Ke, U as Qe } from "./usePrinter-sMoxYV4s.js";
|
|
5
|
+
import et from "./vue-ui-skeleton-odlG21I6.js";
|
|
6
|
+
import { _ as tt } from "./Title-ccoiJ0mq.js";
|
|
7
|
+
import { u as _e } from "./useNestedProp-vYrmxXEi.js";
|
|
8
|
+
import { _ as at } from "./PackageVersion-DtBpSOiQ.js";
|
|
9
|
+
import { P as lt } from "./PenAndPaper-B2XkoPXE.js";
|
|
10
|
+
import { u as rt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
|
+
import { _ as st } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const ot = ["id"], ut = { key: 0 }, nt = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["id"], vt = ["stop-color"], ht = ["stop-color"], dt = ["stop-color"], yt = ["id"], ft = ["stdDeviation"], mt = { key: 1 }, pt = ["d", "fill", "stroke"], gt = ["d", "fill", "stroke"], kt = ["d", "fill"], bt = ["id", "d"], _t = ["fill", "font-size", "font-weight"], xt = ["href", "startOffset"], wt = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], St = ["d", "filter"], $t = ["stroke", "stroke-width"], zt = ["stroke", "stroke-width"], Ft = ["stroke", "stroke-width"], Ct = ["stroke", "stroke-width"], Mt = { key: 8 }, Ot = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Pt = ["x", "y", "font-size", "font-weight", "fill"], Nt = { key: 0 }, Xt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], It = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Yt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], At = { key: 1 }, Rt = ["d", "fill", "stroke", "stroke-width"], Gt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Et = ["x", "y", "font-size", "fill"], Ut = {
|
|
13
13
|
key: 5,
|
|
14
14
|
class: "vue-data-ui-watermark"
|
|
15
|
-
},
|
|
15
|
+
}, Wt = {
|
|
16
16
|
__name: "vue-ui-gauge",
|
|
17
17
|
props: {
|
|
18
18
|
config: {
|
|
@@ -29,10 +29,10 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
setup(j, { expose: xe }) {
|
|
32
|
-
const h = j, { vue_ui_gauge: we } =
|
|
32
|
+
const h = j, { vue_ui_gauge: we } = We(), I = y(() => !!h.dataset && Object.keys(h.dataset).length > 0 && h.dataset.series && h.dataset.series.length), b = f(je()), Se = f(null), K = f(0), P = f(null), Q = f(null), ee = f(null), te = f(null), ae = f(null), le = f(0), e = y({
|
|
33
33
|
get: () => oe(),
|
|
34
34
|
set: (t) => t
|
|
35
|
-
}), { userOptionsVisible: T, setUserOptionsVisibility: re, keepUserOptionState: se } =
|
|
35
|
+
}), { userOptionsVisible: T, setUserOptionsVisibility: re, keepUserOptionState: se } = rt({ config: e.value });
|
|
36
36
|
me(() => h.config, (t) => {
|
|
37
37
|
e.value = oe(), T.value = !e.value.showOnChartHover, he(), le.value += 1;
|
|
38
38
|
}, { deep: !0 });
|
|
@@ -43,16 +43,16 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
43
43
|
});
|
|
44
44
|
return t.theme ? {
|
|
45
45
|
..._e({
|
|
46
|
-
userConfig:
|
|
46
|
+
userConfig: Te.vue_ui_gauge[t.theme] || h.config,
|
|
47
47
|
defaultConfig: t
|
|
48
48
|
}),
|
|
49
|
-
customPalette:
|
|
49
|
+
customPalette: Le[t.theme] || ge
|
|
50
50
|
} : t;
|
|
51
51
|
}
|
|
52
|
-
const { isPrinting: ue, isImaging: ne, generatePdf: ie, generateImage: ce } =
|
|
52
|
+
const { isPrinting: ue, isImaging: ne, generatePdf: ie, generateImage: ce } = Ke({
|
|
53
53
|
elementId: `vue-ui-gauge_${b.value}`,
|
|
54
54
|
fileName: e.value.style.chart.title.text || "vue-ui-gauge"
|
|
55
|
-
}), $e =
|
|
55
|
+
}), $e = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), ze = y(() => De(e.value.customPalette)), z = y(() => {
|
|
56
56
|
if (!I.value || ke(h.dataset.series || {}))
|
|
57
57
|
return {
|
|
58
58
|
value: 0,
|
|
@@ -70,19 +70,19 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
70
70
|
const o = Math.max(...t);
|
|
71
71
|
return {
|
|
72
72
|
...h.dataset,
|
|
73
|
-
series: (h.dataset.series || []).map((a,
|
|
73
|
+
series: (h.dataset.series || []).map((a, s) => ({
|
|
74
74
|
...a,
|
|
75
|
-
color:
|
|
75
|
+
color: Be(a.color) || ze.value[s] || ge[s],
|
|
76
76
|
value: ((a.to || 0) - (a.from || 0)) / o * 100
|
|
77
77
|
}))
|
|
78
78
|
};
|
|
79
|
-
}),
|
|
79
|
+
}), k = f(512), l = f({
|
|
80
80
|
height: 358.4,
|
|
81
|
-
width:
|
|
81
|
+
width: k.value,
|
|
82
82
|
top: 0,
|
|
83
83
|
bottom: 358.4,
|
|
84
84
|
centerX: 179.2,
|
|
85
|
-
centerY:
|
|
85
|
+
centerY: k.value / 2,
|
|
86
86
|
labelFontSize: 18,
|
|
87
87
|
legendFontSize: e.value.style.chart.legend.fontSize,
|
|
88
88
|
pointerRadius: e.value.style.chart.layout.pointer.circle.radius,
|
|
@@ -91,31 +91,31 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
91
91
|
pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
|
|
92
92
|
markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
|
|
93
93
|
segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
|
|
94
|
-
}),
|
|
94
|
+
}), O = f(0), F = f(0), m = f(
|
|
95
95
|
e.value.style.chart.animation.use ? Math.min(...h.dataset.series.map((t) => t.from)) : h.dataset.value
|
|
96
96
|
);
|
|
97
97
|
me(() => h.dataset.value, () => {
|
|
98
98
|
de(h.dataset.value);
|
|
99
99
|
});
|
|
100
|
-
const n =
|
|
101
|
-
const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((m.value + 0 -
|
|
100
|
+
const n = y(() => {
|
|
101
|
+
const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((m.value + 0 - F.value) / (O.value - F.value)) + Math.PI;
|
|
102
102
|
return {
|
|
103
103
|
x1: t,
|
|
104
104
|
y1: o,
|
|
105
105
|
x2: t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a),
|
|
106
106
|
y2: o + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a)
|
|
107
107
|
};
|
|
108
|
-
}), ve =
|
|
109
|
-
const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((m.value + 0 -
|
|
110
|
-
return isNaN(
|
|
111
|
-
}), L =
|
|
108
|
+
}), ve = y(() => {
|
|
109
|
+
const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((m.value + 0 - F.value) / (O.value - F.value)) + Math.PI, s = t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a), _ = o + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a), x = l.value.pointerRadius, Xe = t + x * Math.cos(a + Math.PI / 2), Ie = o + x * Math.sin(a + Math.PI / 2), Ye = t + x * Math.cos(a - Math.PI / 2), Ae = o + x * Math.sin(a - Math.PI / 2);
|
|
110
|
+
return isNaN(s) ? null : `M ${s},${_} ${Xe},${Ie} ${Ye},${Ae} Z`;
|
|
111
|
+
}), L = y(() => {
|
|
112
112
|
for (let t = 0; t < z.value.series.length; t += 1) {
|
|
113
|
-
const { color: o, from: a, to:
|
|
114
|
-
if (m.value >= a && m.value <=
|
|
113
|
+
const { color: o, from: a, to: s } = z.value.series[t];
|
|
114
|
+
if (m.value >= a && m.value <= s)
|
|
115
115
|
return o;
|
|
116
116
|
}
|
|
117
117
|
return "#2D353C";
|
|
118
|
-
}), Y =
|
|
118
|
+
}), Y = f(null);
|
|
119
119
|
function he() {
|
|
120
120
|
if (ke(h.dataset) ? W({
|
|
121
121
|
componentName: "VueUiGauge",
|
|
@@ -146,57 +146,57 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
146
146
|
type: "datasetAttributeEmpty",
|
|
147
147
|
property: "series"
|
|
148
148
|
}))), de(h.dataset.value || 0), e.value.responsive) {
|
|
149
|
-
const t =
|
|
150
|
-
const { width: o, height: a } =
|
|
151
|
-
chart:
|
|
149
|
+
const t = Ze(() => {
|
|
150
|
+
const { width: o, height: a } = Je({
|
|
151
|
+
chart: P.value,
|
|
152
152
|
title: e.value.style.chart.title.text ? Q.value : null,
|
|
153
153
|
legend: ee.value,
|
|
154
154
|
source: te.value,
|
|
155
155
|
noTitle: ae.value
|
|
156
156
|
});
|
|
157
157
|
requestAnimationFrame(() => {
|
|
158
|
-
l.value.width = o, l.value.height = a, l.value.centerX = o / 2, l.value.centerY =
|
|
158
|
+
l.value.width = o, l.value.height = a, l.value.centerX = o / 2, l.value.centerY = k.value / 2 / 358.4 * a, l.value.bottom = a, l.value.labelFontSize = 18 / k.value * Math.min(a, o) < 10 ? 10 : 18 / k.value * Math.min(a, o), l.value.legendFontSize = e.value.style.chart.legend.fontSize / k.value * Math.min(a, o) < 14 ? 14 : e.value.style.chart.legend.fontSize / k.value * Math.min(a, o), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / k.value * Math.min(a, o), l.value.trackSize = e.value.style.chart.layout.track.size / k.value * Math.min(a, o), l.value.pointerStrokeWidth = J({
|
|
159
159
|
relator: Math.min(o, a),
|
|
160
|
-
adjuster:
|
|
160
|
+
adjuster: k.value,
|
|
161
161
|
source: e.value.style.chart.layout.pointer.strokeWidth,
|
|
162
162
|
threshold: 2,
|
|
163
163
|
fallback: 2
|
|
164
164
|
}), l.value.markerOffset = J({
|
|
165
165
|
relator: Math.max(o, a),
|
|
166
|
-
adjuster:
|
|
166
|
+
adjuster: k.value,
|
|
167
167
|
source: e.value.style.chart.layout.markers.offsetY + 3,
|
|
168
168
|
threshold: 2,
|
|
169
169
|
fallback: 2
|
|
170
170
|
}), l.value.segmentFontSize = J({
|
|
171
171
|
relator: Math.min(o, a),
|
|
172
|
-
adjuster:
|
|
172
|
+
adjuster: k.value,
|
|
173
173
|
source: e.value.style.chart.layout.segmentNames.fontSize,
|
|
174
174
|
threshold: 8,
|
|
175
175
|
fallback: 8
|
|
176
176
|
});
|
|
177
177
|
});
|
|
178
178
|
});
|
|
179
|
-
Y.value = new ResizeObserver(t), Y.value.observe(
|
|
179
|
+
Y.value = new ResizeObserver(t), Y.value.observe(P.value.parentNode);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
|
|
182
|
+
Re(() => {
|
|
183
183
|
he();
|
|
184
|
-
}),
|
|
184
|
+
}), Ge(() => {
|
|
185
185
|
Y.value && Y.value.disconnect();
|
|
186
186
|
});
|
|
187
187
|
function de(t) {
|
|
188
188
|
const o = [];
|
|
189
189
|
(z.value.series || []).forEach((x) => {
|
|
190
190
|
o.push(x.from || 0), o.push(x.to || 0);
|
|
191
|
-
}),
|
|
191
|
+
}), O.value = Math.max(...o), F.value = Math.min(...o);
|
|
192
192
|
let a = e.value.style.chart.animation.speed;
|
|
193
|
-
const
|
|
193
|
+
const s = Math.abs(t - m.value) / (a * 60);
|
|
194
194
|
function _() {
|
|
195
|
-
m.value < t ? m.value = Math.min(m.value +
|
|
195
|
+
m.value < t ? m.value = Math.min(m.value + s, t) : m.value > t && (m.value = Math.max(m.value - s, t)), m.value !== t && requestAnimationFrame(_);
|
|
196
196
|
}
|
|
197
197
|
_();
|
|
198
198
|
}
|
|
199
|
-
const v =
|
|
199
|
+
const v = y(() => {
|
|
200
200
|
const t = e.value.responsive ? Math.min(l.value.width, l.value.height) : l.value.width, o = 2.5 / e.value.style.chart.layout.radiusRatio;
|
|
201
201
|
return {
|
|
202
202
|
arcs: t / o,
|
|
@@ -205,7 +205,7 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
205
205
|
ratingBase: e.value.responsive ? l.value.height / 2 + l.value.height / 4 : l.value.height * 0.9,
|
|
206
206
|
pointerSize: e.value.responsive ? Math.min(l.value.width, l.value.height) / 3 : l.value.width / 3.2
|
|
207
207
|
};
|
|
208
|
-
}), d =
|
|
208
|
+
}), d = y(() => V(
|
|
209
209
|
{ series: z.value.series },
|
|
210
210
|
l.value.width / 2,
|
|
211
211
|
v.value.base,
|
|
@@ -217,7 +217,7 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
217
217
|
180,
|
|
218
218
|
109.9495,
|
|
219
219
|
40 * l.value.trackSize
|
|
220
|
-
)), Fe =
|
|
220
|
+
)), Fe = y(() => V(
|
|
221
221
|
{ series: z.value.series },
|
|
222
222
|
l.value.width / 2,
|
|
223
223
|
v.value.base,
|
|
@@ -229,45 +229,45 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
229
229
|
180,
|
|
230
230
|
109.9495,
|
|
231
231
|
40 * l.value.trackSize
|
|
232
|
-
)),
|
|
232
|
+
)), C = y(() => d.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), ye = y(() => {
|
|
233
233
|
const { x: t, y: o } = $({
|
|
234
234
|
initX: d.value[0].firstSeparator.x,
|
|
235
235
|
initY: d.value[0].firstSeparator.y,
|
|
236
236
|
centerX: n.value.x1,
|
|
237
237
|
centerY: n.value.y1,
|
|
238
238
|
offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
|
|
239
|
-
}), { x: a, y:
|
|
239
|
+
}), { x: a, y: s } = $({
|
|
240
240
|
initX: d.value[0].startX,
|
|
241
241
|
initY: d.value[0].startY,
|
|
242
242
|
centerX: n.value.x1,
|
|
243
243
|
centerY: n.value.y1,
|
|
244
244
|
offset: e.value.style.chart.layout.segmentSeparators.offsetOut
|
|
245
245
|
});
|
|
246
|
-
return { x1: t, y1: o, x2: a, y2:
|
|
247
|
-
}), fe =
|
|
246
|
+
return { x1: t, y1: o, x2: a, y2: s };
|
|
247
|
+
}), fe = y(() => d.value.map((t) => {
|
|
248
248
|
const { x: o, y: a } = $({
|
|
249
249
|
initX: t.separator.x,
|
|
250
250
|
initY: t.separator.y,
|
|
251
251
|
centerX: n.value.x1,
|
|
252
252
|
centerY: n.value.y1,
|
|
253
253
|
offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
|
|
254
|
-
}), { x:
|
|
254
|
+
}), { x: s, y: _ } = $({
|
|
255
255
|
initX: t.endX,
|
|
256
256
|
initY: t.endY,
|
|
257
257
|
centerX: n.value.x1,
|
|
258
258
|
centerY: n.value.y1,
|
|
259
259
|
offset: e.value.style.chart.layout.segmentSeparators.offsetOut
|
|
260
260
|
});
|
|
261
|
-
return { x1: o, y1: a, x2:
|
|
261
|
+
return { x1: o, y1: a, x2: s, y2: _ };
|
|
262
262
|
}));
|
|
263
263
|
function Ce(t) {
|
|
264
264
|
if (t.reduce((_, x) => _ + x, 0) > 100)
|
|
265
265
|
throw new Error("Total % must not exceed 100");
|
|
266
266
|
const a = 50;
|
|
267
|
-
let
|
|
268
|
-
return t.map((_) => (
|
|
267
|
+
let s = 0;
|
|
268
|
+
return t.map((_) => (s += _, `${s / 100 * a - _ / 4}%`));
|
|
269
269
|
}
|
|
270
|
-
const
|
|
270
|
+
const Me = y(() => Ce(d.value.map((t) => t.proportion * 100))), Oe = y(() => V(
|
|
271
271
|
{ series: z.value.series },
|
|
272
272
|
l.value.width / 2,
|
|
273
273
|
v.value.base,
|
|
@@ -279,11 +279,21 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
279
279
|
180,
|
|
280
280
|
110.02,
|
|
281
281
|
2 * l.value.trackSize
|
|
282
|
-
)),
|
|
283
|
-
|
|
282
|
+
)), Pe = y(() => {
|
|
283
|
+
const t = F.value >= 0 ? 0 : Math.abs(F.value);
|
|
284
|
+
return Ve(
|
|
285
|
+
{
|
|
286
|
+
radius: e.value.style.chart.layout.indicatorArc.radius * l.value.trackSize,
|
|
287
|
+
centerX: l.value.width / 2,
|
|
288
|
+
centerY: v.value.base,
|
|
289
|
+
percentage: (m.value + t) / (O.value + t)
|
|
290
|
+
}
|
|
291
|
+
);
|
|
292
|
+
}), N = f(!1);
|
|
293
|
+
function Ne(t) {
|
|
284
294
|
N.value = t, K.value += 1;
|
|
285
295
|
}
|
|
286
|
-
const A =
|
|
296
|
+
const A = f(!1);
|
|
287
297
|
function D() {
|
|
288
298
|
A.value = !A.value;
|
|
289
299
|
}
|
|
@@ -291,37 +301,37 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
291
301
|
generatePdf: ie,
|
|
292
302
|
generateImage: ce,
|
|
293
303
|
toggleAnnotator: D
|
|
294
|
-
}), (t, o) => (
|
|
304
|
+
}), (t, o) => (r(), u("div", {
|
|
295
305
|
class: pe(`vue-ui-gauge ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
296
306
|
ref_key: "gaugeChart",
|
|
297
|
-
ref:
|
|
307
|
+
ref: P,
|
|
298
308
|
id: `vue-ui-gauge_${b.value}`,
|
|
299
309
|
style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
300
310
|
onMouseenter: o[0] || (o[0] = () => i(re)(!0)),
|
|
301
311
|
onMouseleave: o[1] || (o[1] = () => i(re)(!1))
|
|
302
312
|
}, [
|
|
303
|
-
e.value.userOptions.buttons.annotator ? (
|
|
313
|
+
e.value.userOptions.buttons.annotator ? (r(), R(lt, {
|
|
304
314
|
key: 0,
|
|
305
|
-
parent:
|
|
315
|
+
parent: P.value,
|
|
306
316
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
307
317
|
color: e.value.style.chart.color,
|
|
308
318
|
active: A.value,
|
|
309
319
|
onClose: D
|
|
310
320
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
311
|
-
$e.value ? (
|
|
321
|
+
$e.value ? (r(), u("div", {
|
|
312
322
|
key: 1,
|
|
313
323
|
ref_key: "noTitle",
|
|
314
324
|
ref: ae,
|
|
315
325
|
class: "vue-data-ui-no-title-space",
|
|
316
326
|
style: "height:36px; width: 100%;background:transparent"
|
|
317
327
|
}, null, 512)) : c("", !0),
|
|
318
|
-
e.value.style.chart.title.text ? (
|
|
328
|
+
e.value.style.chart.title.text ? (r(), u("div", {
|
|
319
329
|
key: 2,
|
|
320
330
|
ref_key: "chartTitle",
|
|
321
331
|
ref: Q,
|
|
322
332
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
323
333
|
}, [
|
|
324
|
-
(
|
|
334
|
+
(r(), R(tt, {
|
|
325
335
|
key: `title_${le.value}`,
|
|
326
336
|
config: {
|
|
327
337
|
title: {
|
|
@@ -335,12 +345,12 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
335
345
|
}
|
|
336
346
|
}, {
|
|
337
347
|
default: X(() => [
|
|
338
|
-
e.value.translations.base && j.dataset.base ? (
|
|
348
|
+
e.value.translations.base && j.dataset.base ? (r(), u("span", ut, M(e.value.translations.base) + ": " + M(j.dataset.base), 1)) : c("", !0)
|
|
339
349
|
]),
|
|
340
350
|
_: 1
|
|
341
351
|
}, 8, ["config"]))
|
|
342
352
|
], 512)) : c("", !0),
|
|
343
|
-
e.value.userOptions.show && I.value && (i(se) || i(T)) ? (
|
|
353
|
+
e.value.userOptions.show && I.value && (i(se) || i(T)) ? (r(), R(Qe, {
|
|
344
354
|
ref_key: "details",
|
|
345
355
|
ref: Se,
|
|
346
356
|
key: `user_options_${K.value}`,
|
|
@@ -355,18 +365,18 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
355
365
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
356
366
|
isFullscreen: N.value,
|
|
357
367
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
358
|
-
chartElement:
|
|
368
|
+
chartElement: P.value,
|
|
359
369
|
position: e.value.userOptions.position,
|
|
360
370
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
361
371
|
isAnnotation: A.value,
|
|
362
|
-
onToggleFullscreen:
|
|
372
|
+
onToggleFullscreen: Ne,
|
|
363
373
|
onGeneratePdf: i(ie),
|
|
364
374
|
onGenerateImage: i(ce),
|
|
365
375
|
onToggleAnnotator: D,
|
|
366
376
|
style: B({
|
|
367
377
|
visibility: i(se) ? i(T) ? "visible" : "hidden" : "visible"
|
|
368
378
|
})
|
|
369
|
-
},
|
|
379
|
+
}, Ee({ _: 2 }, [
|
|
370
380
|
t.$slots.optionPdf ? {
|
|
371
381
|
name: "optionPdf",
|
|
372
382
|
fn: X(() => [
|
|
@@ -383,28 +393,28 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
383
393
|
} : void 0,
|
|
384
394
|
t.$slots.optionFullscreen ? {
|
|
385
395
|
name: "optionFullscreen",
|
|
386
|
-
fn: X(({ toggleFullscreen: a, isFullscreen:
|
|
387
|
-
w(t.$slots, "optionFullscreen", G(E({ toggleFullscreen: a, isFullscreen:
|
|
396
|
+
fn: X(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
397
|
+
w(t.$slots, "optionFullscreen", G(E({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
388
398
|
]),
|
|
389
399
|
key: "2"
|
|
390
400
|
} : void 0,
|
|
391
401
|
t.$slots.optionAnnotator ? {
|
|
392
402
|
name: "optionAnnotator",
|
|
393
|
-
fn: X(({ toggleAnnotator: a, isAnnotator:
|
|
394
|
-
w(t.$slots, "optionAnnotator", G(E({ toggleAnnotator: a, isAnnotator:
|
|
403
|
+
fn: X(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
404
|
+
w(t.$slots, "optionAnnotator", G(E({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
395
405
|
]),
|
|
396
406
|
key: "3"
|
|
397
407
|
} : void 0
|
|
398
408
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
399
|
-
I.value ? (
|
|
409
|
+
I.value ? (r(), u("svg", {
|
|
400
410
|
key: 4,
|
|
401
|
-
xmlns: i(
|
|
411
|
+
xmlns: i(qe),
|
|
402
412
|
class: pe({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
403
413
|
viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
|
|
404
414
|
style: B(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
405
415
|
}, [
|
|
406
|
-
|
|
407
|
-
t.$slots["chart-background"] ? (
|
|
416
|
+
Ue(at),
|
|
417
|
+
t.$slots["chart-background"] ? (r(), u("foreignObject", {
|
|
408
418
|
key: 0,
|
|
409
419
|
x: 0,
|
|
410
420
|
y: 0,
|
|
@@ -415,7 +425,7 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
415
425
|
}
|
|
416
426
|
}, [
|
|
417
427
|
w(t.$slots, "chart-background", {}, void 0, !0)
|
|
418
|
-
], 8,
|
|
428
|
+
], 8, it)) : c("", !0),
|
|
419
429
|
p("defs", null, [
|
|
420
430
|
p("radialGradient", {
|
|
421
431
|
id: `gradient_${b.value}`,
|
|
@@ -428,16 +438,16 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
428
438
|
p("stop", {
|
|
429
439
|
offset: "0%",
|
|
430
440
|
"stop-color": i(q)("#FFFFFF", 1)
|
|
431
|
-
}, null, 8,
|
|
441
|
+
}, null, 8, vt),
|
|
432
442
|
p("stop", {
|
|
433
443
|
offset: "80%",
|
|
434
444
|
"stop-color": i(q)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
|
|
435
|
-
}, null, 8,
|
|
445
|
+
}, null, 8, ht),
|
|
436
446
|
p("stop", {
|
|
437
447
|
offset: "100%",
|
|
438
448
|
"stop-color": i(q)("#FFFFFF", 1)
|
|
439
|
-
}, null, 8,
|
|
440
|
-
], 8,
|
|
449
|
+
}, null, 8, dt)
|
|
450
|
+
], 8, ct)
|
|
441
451
|
]),
|
|
442
452
|
p("defs", null, [
|
|
443
453
|
p("filter", {
|
|
@@ -450,86 +460,91 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
450
460
|
p("feGaussianBlur", {
|
|
451
461
|
in: "SourceGraphic",
|
|
452
462
|
stdDeviation: 100 / e.value.style.chart.layout.track.gradientIntensity
|
|
453
|
-
}, null, 8,
|
|
454
|
-
], 8,
|
|
463
|
+
}, null, 8, ft)
|
|
464
|
+
], 8, yt)
|
|
455
465
|
]),
|
|
456
|
-
t.$slots.pattern ? (
|
|
457
|
-
(
|
|
458
|
-
w(t.$slots, "pattern", G(E({ seriesIndex:
|
|
466
|
+
t.$slots.pattern ? (r(), u("g", mt, [
|
|
467
|
+
(r(!0), u(g, null, S(d.value, (a, s) => (r(), u("defs", null, [
|
|
468
|
+
w(t.$slots, "pattern", G(E({ seriesIndex: s, patternId: `pattern_${b.value}_${s}` })), void 0, !0)
|
|
459
469
|
]))), 256))
|
|
460
470
|
])) : c("", !0),
|
|
461
|
-
(
|
|
462
|
-
key: `arc_${
|
|
471
|
+
(r(!0), u(g, null, S(d.value, (a, s) => (r(), u("path", {
|
|
472
|
+
key: `arc_${s}`,
|
|
463
473
|
d: a.arcSlice,
|
|
464
474
|
fill: a.color,
|
|
465
475
|
stroke: e.value.style.chart.backgroundColor,
|
|
466
476
|
"stroke-linecap": "round"
|
|
467
|
-
}, null, 8,
|
|
468
|
-
t.$slots.pattern ? (
|
|
469
|
-
key: `arc_${
|
|
477
|
+
}, null, 8, pt))), 128)),
|
|
478
|
+
t.$slots.pattern ? (r(!0), u(g, { key: 2 }, S(d.value, (a, s) => (r(), u("path", {
|
|
479
|
+
key: `arc_${s}`,
|
|
470
480
|
d: a.arcSlice,
|
|
471
|
-
fill: `url(#pattern_${b.value}_${
|
|
481
|
+
fill: `url(#pattern_${b.value}_${s})`,
|
|
472
482
|
stroke: e.value.style.chart.backgroundColor,
|
|
473
483
|
"stroke-linecap": "round"
|
|
474
|
-
}, null, 8,
|
|
475
|
-
e.value.style.chart.layout.
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
484
|
+
}, null, 8, gt))), 128)) : c("", !0),
|
|
485
|
+
e.value.style.chart.layout.indicatorArc.show ? (r(), u("path", {
|
|
486
|
+
key: 3,
|
|
487
|
+
d: Pe.value,
|
|
488
|
+
fill: e.value.style.chart.layout.indicatorArc.fill
|
|
489
|
+
}, null, 8, kt)) : c("", !0),
|
|
490
|
+
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (r(), u(g, { key: 4 }, [
|
|
491
|
+
(r(!0), u(g, null, S(d.value, (a, s) => (r(), u("path", {
|
|
492
|
+
id: `curve_${b.value}_${s}`,
|
|
493
|
+
d: `M ${n.value.x1},${n.value.y1} m -${C.value[s]},0 a ${C.value[s]},${C.value[s]} 0 1,1 ${2 * C.value[s]},0 a ${C.value[s]},${C.value[s]} 0 1,1 -${2 * C.value[s]},0`,
|
|
479
494
|
fill: "transparent"
|
|
480
|
-
}, null, 8,
|
|
481
|
-
(
|
|
495
|
+
}, null, 8, bt))), 256)),
|
|
496
|
+
(r(!0), u(g, null, S(d.value, (a, s) => (r(), u("text", {
|
|
482
497
|
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
483
498
|
"font-size": l.value.segmentFontSize,
|
|
484
499
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
485
500
|
"text-anchor": "middle"
|
|
486
501
|
}, [
|
|
487
502
|
p("textPath", {
|
|
488
|
-
href: `#curve_${b.value}_${
|
|
489
|
-
startOffset:
|
|
490
|
-
},
|
|
491
|
-
], 8,
|
|
503
|
+
href: `#curve_${b.value}_${s}`,
|
|
504
|
+
startOffset: Me.value[s]
|
|
505
|
+
}, M(a.name || ""), 9, xt)
|
|
506
|
+
], 8, _t))), 256))
|
|
492
507
|
], 64)) : c("", !0),
|
|
493
|
-
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (
|
|
508
|
+
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (r(!0), u(g, { key: 5 }, S(Fe.value, (a, s) => (r(), u("text", {
|
|
494
509
|
x: a.center.endX,
|
|
495
510
|
y: a.center.endY,
|
|
496
|
-
"text-anchor": i(
|
|
511
|
+
"text-anchor": i(He)(a, !1, 12).anchor,
|
|
497
512
|
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
498
513
|
"font-size": l.value.segmentFontSize,
|
|
499
514
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal"
|
|
500
|
-
},
|
|
501
|
-
e.value.style.chart.layout.track.useGradient ? (
|
|
502
|
-
key: `arc_${
|
|
515
|
+
}, M(a.name || ""), 9, wt))), 256)) : c("", !0),
|
|
516
|
+
e.value.style.chart.layout.track.useGradient ? (r(!0), u(g, { key: 6 }, S(Oe.value, (a, s) => (r(), u("path", {
|
|
517
|
+
key: `arc_${s}`,
|
|
503
518
|
d: a.arcSlice,
|
|
504
519
|
fill: "#FFFFFF",
|
|
505
520
|
stroke: "none",
|
|
506
521
|
"stroke-linecap": "round",
|
|
507
522
|
filter: `url(#blur_${b.value})`
|
|
508
|
-
}, null, 8,
|
|
509
|
-
e.value.style.chart.layout.segmentSeparators.show ? (
|
|
523
|
+
}, null, 8, St))), 128)) : c("", !0),
|
|
524
|
+
e.value.style.chart.layout.segmentSeparators.show ? (r(), u(g, { key: 7 }, [
|
|
510
525
|
p("line", U(ye.value, {
|
|
511
526
|
stroke: e.value.style.chart.backgroundColor,
|
|
512
527
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
513
528
|
"stroke-linecap": "round"
|
|
514
|
-
}), null, 16,
|
|
529
|
+
}), null, 16, $t),
|
|
515
530
|
p("line", U(ye.value, {
|
|
516
531
|
stroke: e.value.style.chart.layout.segmentSeparators.stroke,
|
|
517
532
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
518
533
|
"stroke-linecap": "round"
|
|
519
|
-
}), null, 16,
|
|
520
|
-
(
|
|
534
|
+
}), null, 16, zt),
|
|
535
|
+
(r(!0), u(g, null, S(fe.value, (a) => (r(), u("line", U(a, {
|
|
521
536
|
stroke: e.value.style.chart.backgroundColor,
|
|
522
537
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
523
538
|
"stroke-linecap": "round"
|
|
524
|
-
}), null, 16,
|
|
525
|
-
(
|
|
539
|
+
}), null, 16, Ft))), 256)),
|
|
540
|
+
(r(!0), u(g, null, S(fe.value, (a) => (r(), u("line", U(a, {
|
|
526
541
|
stroke: e.value.style.chart.layout.segmentSeparators.stroke,
|
|
527
542
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
528
543
|
"stroke-linecap": "round"
|
|
529
|
-
}), null, 16,
|
|
544
|
+
}), null, 16, Ct))), 256))
|
|
530
545
|
], 64)) : c("", !0),
|
|
531
|
-
e.value.style.chart.layout.markers.show ? (
|
|
532
|
-
(
|
|
546
|
+
e.value.style.chart.layout.markers.show ? (r(), u("g", Mt, [
|
|
547
|
+
(r(!0), u(g, null, S(d.value, (a, s) => (r(), u("text", {
|
|
533
548
|
x: i($)({
|
|
534
549
|
centerX: n.value.x1,
|
|
535
550
|
centerY: v.value.base,
|
|
@@ -548,7 +563,7 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
548
563
|
"font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
549
564
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
550
565
|
fill: e.value.style.chart.layout.markers.color
|
|
551
|
-
},
|
|
566
|
+
}, M(i(H)(
|
|
552
567
|
e.value.style.chart.layout.markers.formatter,
|
|
553
568
|
a.from,
|
|
554
569
|
i(Z)({
|
|
@@ -557,10 +572,10 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
557
572
|
s: e.value.style.chart.layout.markers.suffix,
|
|
558
573
|
r: e.value.style.chart.layout.markers.roundingValue
|
|
559
574
|
})
|
|
560
|
-
)), 9,
|
|
575
|
+
)), 9, Ot))), 256))
|
|
561
576
|
])) : c("", !0),
|
|
562
|
-
e.value.style.chart.layout.markers.show ? (
|
|
563
|
-
key:
|
|
577
|
+
e.value.style.chart.layout.markers.show ? (r(), u("text", {
|
|
578
|
+
key: 9,
|
|
564
579
|
x: i($)({
|
|
565
580
|
centerX: l.value.width / 2,
|
|
566
581
|
centerY: v.value.base,
|
|
@@ -579,67 +594,69 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
579
594
|
"font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
580
595
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
581
596
|
fill: e.value.style.chart.layout.markers.color
|
|
582
|
-
},
|
|
597
|
+
}, M(i(H)(
|
|
583
598
|
e.value.style.chart.layout.markers.formatter,
|
|
584
|
-
|
|
599
|
+
O.value,
|
|
585
600
|
i(Z)({
|
|
586
601
|
p: e.value.style.chart.layout.markers.prefix,
|
|
587
|
-
v:
|
|
602
|
+
v: O.value,
|
|
588
603
|
s: e.value.style.chart.layout.markers.suffix,
|
|
589
604
|
r: e.value.style.chart.layout.markers.roundingValue
|
|
590
605
|
})
|
|
591
|
-
)), 9,
|
|
592
|
-
e.value.style.chart.layout.pointer.
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
606
|
+
)), 9, Pt)) : c("", !0),
|
|
607
|
+
e.value.style.chart.layout.pointer.show ? (r(), u(g, { key: 10 }, [
|
|
608
|
+
e.value.style.chart.layout.pointer.type === "rounded" ? (r(), u("g", Nt, [
|
|
609
|
+
isNaN(n.value.x2) ? c("", !0) : (r(), u("line", {
|
|
610
|
+
key: 0,
|
|
611
|
+
x1: n.value.x1,
|
|
612
|
+
y1: n.value.y1,
|
|
613
|
+
x2: n.value.x2,
|
|
614
|
+
y2: n.value.y2,
|
|
615
|
+
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
616
|
+
"stroke-width": l.value.pointerStrokeWidth,
|
|
617
|
+
"stroke-linecap": "round"
|
|
618
|
+
}, null, 8, Xt)),
|
|
619
|
+
isNaN(n.value.x2) ? c("", !0) : (r(), u("line", {
|
|
620
|
+
key: 1,
|
|
621
|
+
x1: n.value.x1,
|
|
622
|
+
y1: n.value.y1,
|
|
623
|
+
x2: n.value.x2,
|
|
624
|
+
y2: n.value.y2,
|
|
625
|
+
stroke: e.value.style.chart.layout.pointer.useRatingColor ? L.value : e.value.style.chart.layout.pointer.color,
|
|
626
|
+
"stroke-linecap": "round",
|
|
627
|
+
"stroke-width": l.value.pointerStrokeWidth * 0.7
|
|
628
|
+
}, null, 8, It)),
|
|
629
|
+
!isNaN(n.value.x2) && e.value.style.chart.layout.track.useGradient ? (r(), u("line", {
|
|
630
|
+
key: 2,
|
|
631
|
+
x1: n.value.x1,
|
|
632
|
+
y1: n.value.y1,
|
|
633
|
+
x2: n.value.x2,
|
|
634
|
+
y2: n.value.y2,
|
|
635
|
+
stroke: "white",
|
|
636
|
+
"stroke-linecap": "round",
|
|
637
|
+
"stroke-width": l.value.pointerStrokeWidth * 0.3,
|
|
638
|
+
filter: `url(#blur_${b.value})`
|
|
639
|
+
}, null, 8, Yt)) : c("", !0)
|
|
640
|
+
])) : (r(), u("g", At, [
|
|
641
|
+
ve.value ? (r(), u("path", {
|
|
642
|
+
key: 0,
|
|
643
|
+
d: ve.value,
|
|
644
|
+
fill: e.value.style.chart.layout.pointer.useRatingColor ? L.value : e.value.style.chart.layout.pointer.color,
|
|
645
|
+
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
646
|
+
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
647
|
+
"stroke-linejoin": "round"
|
|
648
|
+
}, null, 8, Rt)) : c("", !0)
|
|
649
|
+
])),
|
|
650
|
+
p("circle", {
|
|
651
|
+
cx: l.value.width / 2,
|
|
652
|
+
cy: v.value.base,
|
|
653
|
+
fill: e.value.style.chart.layout.pointer.circle.color,
|
|
654
|
+
r: l.value.pointerRadius <= 0 ? 1e-4 : l.value.pointerRadius,
|
|
630
655
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
631
|
-
|
|
632
|
-
}, null, 8,
|
|
633
|
-
])),
|
|
634
|
-
|
|
635
|
-
cx: l.value.width / 2,
|
|
636
|
-
cy: v.value.base,
|
|
637
|
-
fill: e.value.style.chart.layout.pointer.circle.color,
|
|
638
|
-
r: l.value.pointerRadius <= 0 ? 1e-4 : l.value.pointerRadius,
|
|
639
|
-
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
640
|
-
stroke: e.value.style.chart.layout.pointer.circle.stroke
|
|
641
|
-
}, null, 8, Yt),
|
|
642
|
-
e.value.style.chart.legend.show ? (s(), u("text", {
|
|
656
|
+
stroke: e.value.style.chart.layout.pointer.circle.stroke
|
|
657
|
+
}, null, 8, Gt)
|
|
658
|
+
], 64)) : c("", !0),
|
|
659
|
+
e.value.style.chart.legend.show ? (r(), u("text", {
|
|
643
660
|
key: 11,
|
|
644
661
|
x: l.value.width / 2,
|
|
645
662
|
y: v.value.ratingBase,
|
|
@@ -647,7 +664,7 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
647
664
|
"font-size": l.value.legendFontSize,
|
|
648
665
|
"font-weight": "bold",
|
|
649
666
|
fill: e.value.style.chart.legend.useRatingColor ? L.value : e.value.style.chart.legend.color
|
|
650
|
-
},
|
|
667
|
+
}, M(i(H)(
|
|
651
668
|
e.value.style.chart.legend.formatter,
|
|
652
669
|
m.value,
|
|
653
670
|
i(Z)({
|
|
@@ -656,13 +673,13 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
656
673
|
s: e.value.style.chart.legend.suffix,
|
|
657
674
|
r: e.value.style.chart.legend.roundingValue
|
|
658
675
|
})
|
|
659
|
-
)), 9,
|
|
676
|
+
)), 9, Et)) : c("", !0),
|
|
660
677
|
w(t.$slots, "svg", { svg: l.value }, void 0, !0)
|
|
661
|
-
], 14,
|
|
662
|
-
t.$slots.watermark ? (
|
|
678
|
+
], 14, nt)) : c("", !0),
|
|
679
|
+
t.$slots.watermark ? (r(), u("div", Ut, [
|
|
663
680
|
w(t.$slots, "watermark", G(E({ isPrinting: i(ue) || i(ne) })), void 0, !0)
|
|
664
681
|
])) : c("", !0),
|
|
665
|
-
I.value ? c("", !0) : (
|
|
682
|
+
I.value ? c("", !0) : (r(), R(et, {
|
|
666
683
|
key: 6,
|
|
667
684
|
config: {
|
|
668
685
|
type: "gauge",
|
|
@@ -680,7 +697,7 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
680
697
|
}, [
|
|
681
698
|
w(t.$slots, "legend", { legend: z.value }, void 0, !0)
|
|
682
699
|
], 512),
|
|
683
|
-
t.$slots.source ? (
|
|
700
|
+
t.$slots.source ? (r(), u("div", {
|
|
684
701
|
key: 7,
|
|
685
702
|
ref_key: "source",
|
|
686
703
|
ref: te,
|
|
@@ -688,9 +705,9 @@ const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "h
|
|
|
688
705
|
}, [
|
|
689
706
|
w(t.$slots, "source", {}, void 0, !0)
|
|
690
707
|
], 512)) : c("", !0)
|
|
691
|
-
], 46,
|
|
708
|
+
], 46, ot));
|
|
692
709
|
}
|
|
693
|
-
},
|
|
710
|
+
}, Qt = /* @__PURE__ */ st(Wt, [["__scopeId", "data-v-5b176f3b"]]);
|
|
694
711
|
export {
|
|
695
|
-
|
|
712
|
+
Qt as default
|
|
696
713
|
};
|