vue-data-ui 3.6.0 → 3.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -26
- package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
- package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
- package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
- package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
- package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
- package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
- package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
- package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-C82JCJOX.js} +1 -1
- package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
- package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
- package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
- package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
- package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
- package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
- package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
- package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +3 -3
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +3 -3
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +3 -3
- package/dist/components/vue-ui-candlestick.js +3 -3
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +3 -3
- package/dist/components/vue-ui-chord.js +3 -3
- package/dist/components/vue-ui-circle-pack.js +3 -3
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +2 -2
- package/dist/components/vue-ui-donut.js +3 -3
- package/dist/components/vue-ui-dumbbell.js +3 -3
- package/dist/components/vue-ui-flow.js +3 -3
- package/dist/components/vue-ui-funnel.js +2 -2
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +3 -3
- package/dist/components/vue-ui-horizontal-bar.js +3 -3
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +3 -3
- package/dist/components/vue-ui-mood-radar.js +3 -3
- package/dist/components/vue-ui-nested-donuts.js +2 -2
- package/dist/components/vue-ui-onion.js +3 -3
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +3 -3
- package/dist/components/vue-ui-quick-chart.js +3 -3
- package/dist/components/vue-ui-radar.js +3 -3
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +3 -3
- package/dist/components/vue-ui-ridgeline.js +3 -3
- package/dist/components/vue-ui-rings.js +3 -3
- package/dist/components/vue-ui-scatter.js +3 -3
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +2 -2
- package/dist/components/vue-ui-sparkgauge.js +3 -3
- package/dist/components/vue-ui-sparkhistogram.js +3 -3
- package/dist/components/vue-ui-sparkline.js +3 -3
- package/dist/components/vue-ui-sparkstackbar.js +2 -2
- package/dist/components/vue-ui-stackbar.js +3 -3
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +3 -3
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +2 -2
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +3 -3
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +2 -2
- package/dist/components/vue-ui-treemap.js +3 -3
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +2 -2
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +3 -3
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +3 -3
- package/dist/components/vue-ui-xy.js +3 -3
- package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
- package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
- package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
- package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
- package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
- package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
- package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
- package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
- package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-d-OXgGG3.js} +78 -78
- package/dist/vue-data-ui.js +225 -205
- package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-BLbSbx2V.js} +546 -517
- package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
- package/dist/vue-ui-age-pyramid-DQ-xc-if.js +960 -0
- package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
- package/dist/vue-ui-bullet-BvMdxLkK.js +657 -0
- package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-DIWeygxV.js} +596 -561
- package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-DM2HJFMH.js} +48 -48
- package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DNOG6dqY.js} +534 -505
- package/dist/vue-ui-chord-D2wPt2JV.js +1182 -0
- package/dist/vue-ui-circle-pack-D_GDv7OV.js +832 -0
- package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
- package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-BMby447A.js} +140 -140
- package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
- package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BqiNPW3q.js} +634 -602
- package/dist/vue-ui-donut-evolution-BL7HtdsP.js +1243 -0
- package/dist/vue-ui-dumbbell-BlTDnM8L.js +1258 -0
- package/dist/vue-ui-flow-BxIv20FH.js +1026 -0
- package/dist/vue-ui-funnel-Tnjg4srR.js +743 -0
- package/dist/vue-ui-galaxy-CYDVXdNj.js +837 -0
- package/dist/vue-ui-gauge-DAcpazK7.js +864 -0
- package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-Bg2TpPwm.js} +3 -3
- package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-BPEE_cLi.js} +501 -466
- package/dist/vue-ui-history-plot-BhfbLer8.js +1239 -0
- package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
- package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
- package/dist/vue-ui-molecule-DnzXYuUi.js +782 -0
- package/dist/vue-ui-mood-radar-CXyQEfeM.js +930 -0
- package/dist/vue-ui-nested-donuts-Dq8JoU5d.js +1454 -0
- package/dist/vue-ui-onion-D0KUHi-Z.js +944 -0
- package/dist/vue-ui-parallel-coordinate-plot-DNc2L4Rg.js +1080 -0
- package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-Cp8loNVN.js} +510 -481
- package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-kuTdgAKG.js} +795 -758
- package/dist/vue-ui-radar-x2Ry_IGa.js +1013 -0
- package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
- package/dist/vue-ui-relation-circle-DbYE9UHq.js +671 -0
- package/dist/vue-ui-ridgeline-yaMl8iIE.js +1302 -0
- package/dist/vue-ui-rings-BowsO9I8.js +884 -0
- package/dist/vue-ui-scatter-C_nz0A4x.js +1619 -0
- package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-DdXq2gl1.js} +3 -3
- package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
- package/dist/vue-ui-spark-trend-BLticwHl.js +364 -0
- package/dist/vue-ui-sparkbar-DC2sDr9_.js +381 -0
- package/dist/vue-ui-sparkgauge-BENUfyuR.js +260 -0
- package/dist/vue-ui-sparkhistogram-BY0jsNsc.js +411 -0
- package/dist/vue-ui-sparkline-fS36LGCB.js +549 -0
- package/dist/vue-ui-sparkstackbar-C59ocU83.js +470 -0
- package/dist/vue-ui-stackbar-BtWWtzDp.js +1867 -0
- package/dist/vue-ui-stackline-CsGEHOOr.js +1963 -0
- package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-n_rEdwkM.js} +343 -314
- package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-Kv2YL5OU.js} +5 -5
- package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
- package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-B8CCAdco.js} +292 -263
- package/dist/vue-ui-thermometer-C1Hr_LrY.js +613 -0
- package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-CmnO99_j.js} +25 -25
- package/dist/vue-ui-tiremarks-DbZbhw6Q.js +477 -0
- package/dist/vue-ui-treemap-BGMpUu5v.js +1359 -0
- package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-CWlGQoB3.js} +520 -485
- package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-BVVrMghT.js} +376 -347
- package/dist/vue-ui-wheel-B2pFBeKR.js +690 -0
- package/dist/vue-ui-word-cloud-BqKSDn2J.js +904 -0
- package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-glj9mQAg.js} +57 -57
- package/dist/vue-ui-xy-BdXV4naK.js +3455 -0
- package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
- package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
- package/package.json +5 -5
- package/dist/themes-DH-N_ePR.js +0 -54
- package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
- package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
- package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
- package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
- package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
- package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
- package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
- package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
- package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
- package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
- package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
- package/dist/vue-ui-molecule-CasngKZI.js +0 -753
- package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
- package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
- package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
- package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
- package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
- package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
- package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
- package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
- package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
- package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
- package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
- package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
- package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
- package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
- package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
- package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
- package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
- package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
- package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
- package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
- package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
- package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
- package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
- package/dist/vue-ui-xy-BT67faLv.js +0 -3424
- package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as w, computed as g, createElementBlock as e, openBlock as o, normalizeStyle as n, normalizeClass as N, createCommentVNode as a, unref as s, createVNode as d, createElementVNode as t, Fragment as k, renderList as h, createStaticVNode as $ } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as O, a as V } from "./useNestedProp-
|
|
4
|
-
import y from "./PackageVersion-
|
|
2
|
+
import { e as B, X as c, s as v, b as F } from "./lib-C5BH09_g.js";
|
|
3
|
+
import { u as O, a as V } from "./useNestedProp-CWo6bftQ.js";
|
|
4
|
+
import y from "./PackageVersion-C82JCJOX.js";
|
|
5
5
|
import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, U = ["d", "fill", "stroke"], Y = ["xmlns"], D = ["id"], J = ["stop-color"], K = ["stop-color"], l1 = ["stop-color"], t1 = ["stop-color"], e1 = ["fill", "stroke"], o1 = ["fill", "stroke"], s1 = ["fill", "stroke"], r1 = ["fill", "stroke"], i1 = ["fill", "stroke"], n1 = ["xmlns"], a1 = ["stroke"], c1 = ["stroke"], u1 = ["stroke"], d1 = ["fill", "stroke"], y1 = ["fill"], k1 = ["fill", "stroke"], h1 = ["fill"], v1 = ["fill", "stroke"], _1 = ["fill"], x1 = ["fill", "stroke"], p1 = ["fill"], g1 = ["fill", "stroke"], f1 = ["fill"], w1 = ["fill", "stroke"], C1 = ["fill"], m1 = ["xmlns"], b1 = ["stroke"], M1 = ["stroke"], L1 = ["stroke"], A1 = ["stroke"], $1 = ["stroke"], B1 = ["stroke"], P1 = ["stroke"], W1 = ["stroke"], j1 = ["stroke"], z1 = ["xmlns"], Z1 = ["stroke", "fill"], q1 = ["xmlns"], H1 = ["stroke", "fill"], Q1 = ["xmlns"], E1 = ["fill"], S1 = ["fill"], I1 = ["fill"], N1 = ["fill"], F1 = ["xmlns"], O1 = ["stroke"], V1 = ["fill"], X1 = ["stroke", "fill"], G1 = ["stroke", "fill"], R1 = ["fill"], T1 = ["stroke", "fill"], U1 = ["stroke", "fill"], Y1 = ["fill"], D1 = ["stroke", "fill"], J1 = ["stroke", "fill"], K1 = ["fill"], ll = ["stroke", "fill"], tl = ["stroke", "fill"], el = ["fill"], ol = ["stroke", "fill"], sl = ["stroke", "fill"], rl = ["xmlns"], il = ["stroke"], nl = ["stroke"], al = ["stroke", "fill"], cl = ["stroke", "fill"], ul = ["stroke", "fill"], dl = ["stroke", "fill"], yl = ["stroke", "fill"], kl = ["stroke", "fill"], hl = ["stroke", "fill"], vl = ["stroke", "fill"], _l = ["stroke", "fill"], xl = ["stroke", "fill"], pl = ["stroke", "fill"], gl = ["stroke", "fill"], fl = ["stroke", "fill"], wl = ["stroke", "fill"], Cl = ["stroke", "fill"], ml = ["stroke", "fill"], bl = ["stroke", "fill"], Ml = ["stroke", "fill"], Ll = ["stroke", "fill"], Al = ["stroke", "fill"], $l = ["stroke", "fill"], Bl = ["stroke", "fill"], Pl = ["stroke", "fill"], Wl = ["xmlns"], jl = ["stroke"], zl = ["xmlns"], Zl = ["stroke"], ql = ["xmlns"], Hl = ["stroke"], Ql = ["xmlns"], El = ["fill"], Sl = ["fill"], Il = ["fill"], Nl = ["fill"], Fl = ["fill"], Ol = ["fill"], Vl = ["fill"], Xl = ["fill"], Gl = ["fill"], Rl = ["fill"], Tl = ["fill"], Ul = ["fill"], Yl = ["xmlns"], Dl = ["stroke"], Jl = ["stroke"], Kl = ["stroke"], l0 = ["stroke"], t0 = ["stroke"], e0 = ["stroke"], o0 = ["xmlns"], s0 = ["stroke"], r0 = ["stroke"], i0 = ["stroke"], n0 = ["stroke"], a0 = ["stroke"], c0 = ["stroke"], u0 = ["stroke"], d0 = ["stroke"], y0 = ["stroke"], k0 = ["xmlns"], h0 = ["stroke"], v0 = ["xmlns"], _0 = ["stroke"], x0 = ["stroke"], p0 = ["stroke"], g0 = ["stroke"], f0 = ["stroke"], w0 = ["stroke"], C0 = ["stroke"], m0 = ["stroke"], b0 = ["stroke"], M0 = ["xmlns"], L0 = ["x1", "x2", "stroke"], A0 = ["xmlns"], $0 = ["x", "y", "width", "height", "fill"], B0 = ["y", "width", "height", "fill"], P0 = ["xmlns"], W0 = ["fill"], j0 = ["fill"], z0 = ["fill"], Z0 = ["xmlns"], q0 = ["x1", "x2", "y1", "y2", "stroke"], H0 = ["stroke"], Q0 = ["fill"], E0 = ["xmlns"], S0 = ["fill"], I0 = ["fill"], N0 = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], F0 = ["xmlns"], O0 = { key: 0 }, V0 = ["stroke", "stroke-width"], X0 = ["stroke", "stroke-width"], G0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], R0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], T0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], U0 = ["x", "y", "height", "width", "fill"], Y0 = ["xmlns", "viewBox"], D0 = ["x", "y", "stroke", "fill"], J0 = ["xmlns"], K0 = ["d", "stroke"], lt = ["cx", "cy", "r", "fill", "stroke"], tt = ["cx", "cy", "r", "fill", "stroke"], et = ["x", "y", "width", "fill"], ot = ["cx", "cy", "fill"], st = ["cx", "cy", "fill"], rt = ["stroke"], it = ["xmlns"], nt = ["stroke", "stroke-width"], at = ["stroke", "stroke-width"], ct = ["stroke", "stroke-width"], ut = ["fill"], dt = ["fill"], yt = ["fill"], kt = ["fill"], ht = ["fill"], vt = ["fill"], _t = ["xmlns"], xt = { key: 0 }, pt = ["stroke", "stroke-width"], gt = ["stroke", "stroke-width"], ft = ["stroke", "stroke-width"], wt = { key: 1 }, Ct = ["r", "fill"], mt = ["r", "fill"], bt = ["xmlns"], Mt = { key: 0 }, Lt = ["stroke", "stroke-width"], At = ["stroke", "stroke-width"], $t = ["fill", "rx", "x", "y", "width", "height"], Bt = ["xmlns"], Pt = ["stroke-width", "stroke"], Wt = ["stroke-width", "stroke"], jt = ["stroke-width", "stroke"], zt = ["xmlns"], Zt = ["stroke"], qt = ["stroke"], Ht = ["stroke"], Qt = ["stroke"], Et = ["fill"], St = ["stroke"], It = ["xmlns"], Nt = ["stroke", "stroke-width"], Ft = ["stroke", "stroke-width"], Ot = ["fill", "r"], Vt = ["fill", "r"], Xt = ["fill", "r"], Gt = ["fill", "r"], Rt = ["fill", "r"], Tt = ["fill", "r"], Ut = ["fill", "r"], Yt = ["fill", "r"], Dt = ["fill", "r"], Jt = ["xmlns"], Kt = ["d", "stroke", "stroke-width"], le = ["d", "stroke", "stroke-width"], te = ["d", "stroke", "stroke-width"], ee = ["d", "stroke", "stroke-width"], oe = ["stroke", "stroke-width"], se = ["stroke", "stroke-width"], re = ["stroke", "stroke-width"], ie = ["fill"], ne = ["fill"], ae = ["xmlns"], ce = ["x", "y", "fill"], ue = ["x", "y", "fill"], de = ["x", "y", "fill"], ye = ["xmlns"], ke = ["fill"], he = ["fill"], ve = ["y1", "y2", "stroke", "stroke-width"], _e = ["x1", "x2", "stroke", "stroke-width"], xe = ["xmlns", "stroke"], pe = ["fill"], ge = ["xmlns", "stroke"], fe = ["xmlns", "stroke"], we = ["fill"], Ce = ["xmlns", "stroke"], me = ["xmlns", "stroke"], be = ["fill"], Me = ["xmlns", "stroke"], Le = ["xmlns", "stroke"], Ae = ["fill"], $e = ["xmlns", "stroke"], Be = ["xmlns", "stroke"], Pe = ["fill"], We = ["xmlns", "stroke"], je = ["xmlns"], ze = ["points", "fill", "stroke", "stroke-width"], Ze = ["xmlns"], qe = { key: 0 }, He = ["stroke", "stroke-width"], Qe = ["y", "width", "fill", "rx"], Ee = {
|
|
7
7
|
__name: "vue-ui-skeleton",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSlots as E, onMounted as G, ref as R, computed as _, watch as T, createElementBlock as s, openBlock as i, normalizeStyle as a, createCommentVNode as u, createElementVNode as l, toDisplayString as c, unref as o, withKeys as z, normalizeClass as M, createTextVNode as S, createStaticVNode as $ } from "vue";
|
|
2
|
-
import { o as P,
|
|
3
|
-
import { u as J, a as Q } from "./useNestedProp-
|
|
2
|
+
import { o as P, g as q, a as x, d as b, X as y, h as k } from "./lib-C5BH09_g.js";
|
|
3
|
+
import { u as J, a as Q } from "./useNestedProp-CWo6bftQ.js";
|
|
4
4
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Z = {
|
|
6
6
|
key: 0,
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import { defineAsyncComponent as _e, ref as c, toRefs as we, computed as u, watch as G, nextTick as K, onMounted as Le, createElementBlock as r, openBlock as s, normalizeStyle as Ae, createCommentVNode as h, createBlock as xe, unref as i, createVNode as $e, createElementVNode as z, renderSlot as Q, toDisplayString as Y } from "vue";
|
|
2
|
+
import { c as Te, t as Se, J as ee, o as R, g as Ne, M as w, ah as ze, X as Fe, s as Z, z as te, d as le, a as Be } from "./lib-C5BH09_g.js";
|
|
3
|
+
import { t as Me, u as Ee } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as De, a as P } from "./useNestedProp-CWo6bftQ.js";
|
|
5
|
+
import { u as Ie, B as je } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as Oe } from "./useFitSvgText-2crs6Fv5.js";
|
|
7
|
+
import { u as Ve } from "./useThemeCheck-DGJ31Vi5.js";
|
|
8
|
+
import { _ as Ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
const ae = { style: { backgroundColor: "#1A1A1A", dataLabel: { color: "#CCCCCC" }, trendLabel: { color: "#CCCCCC" } } }, ne = { style: { backgroundColor: "#FFF8E1", line: { smooth: !1 }, dataLabel: { color: "#424242" }, trendLabel: { color: "#424242" } } }, oe = { style: { backgroundColor: "#1E1E1E", line: { smooth: !1 }, dataLabel: { color: "#BDBDBD" }, trendLabel: { color: "#BDBDBD" } } }, ue = { style: { backgroundColor: "#1A1A1A", line: { stroke: "#00FF00", smooth: !1 }, dataLabel: { color: "#AACCAA" }, trendLabel: { color: "#99CC99" }, arrow: { colors: { positive: "#66CC66", negative: "#196619" } } } }, se = { style: { backgroundColor: "#fbfafa", line: { stroke: "#B9B99D" }, dataLabel: { color: "#8A9892" }, trendLabel: { color: "#99CC99" }, arrow: { colors: { positive: "#B9B99D", negative: "#C09E85", neutral: "#A5AFC1" } } } }, re = { style: { backgroundColor: "#f6f6fb", line: { stroke: "#4A6A75" }, dataLabel: { color: "#61747E" }, trendLabel: { color: "#8A9892" }, arrow: { colors: { positive: "#4A6A75", negative: "#C09E85", neutral: "#ABB1BC" } } } }, ie = {
|
|
10
|
+
default: {},
|
|
11
|
+
dark: ae,
|
|
12
|
+
celebration: ne,
|
|
13
|
+
celebrationNight: oe,
|
|
14
|
+
hack: ue,
|
|
15
|
+
zen: se,
|
|
16
|
+
concrete: re
|
|
17
|
+
}, yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18
|
+
__proto__: null,
|
|
19
|
+
celebration: ne,
|
|
20
|
+
celebrationNight: oe,
|
|
21
|
+
concrete: re,
|
|
22
|
+
dark: ae,
|
|
23
|
+
default: ie,
|
|
24
|
+
hack: ue,
|
|
25
|
+
zen: se
|
|
26
|
+
}, Symbol.toStringTag, { value: "Module" })), Re = ["id"], Ze = ["xmlns", "viewBox"], Pe = ["width", "height"], Ue = ["id"], We = ["stop-color"], He = ["stop-color"], qe = { key: 1 }, Je = ["d", "fill"], Xe = ["d", "fill"], Ke = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Qe = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Ye = ["d"], et = ["fill", "d"], tt = ["x", "y", "width", "height"], lt = ["x", "y", "fill", "font-size", "font-weight"], at = ["stroke", "cx", "cy", "fill"], nt = ["x", "y", "font-size", "fill", "font-weight"], ot = {
|
|
27
|
+
__name: "vue-ui-spark-trend",
|
|
28
|
+
props: {
|
|
29
|
+
config: {
|
|
30
|
+
type: Object,
|
|
31
|
+
default() {
|
|
32
|
+
return {};
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
dataset: {
|
|
36
|
+
type: Array,
|
|
37
|
+
default() {
|
|
38
|
+
return [];
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
setup(ve) {
|
|
43
|
+
const de = _e(() => import("./PackageVersion-C82JCJOX.js")), { vue_ui_spark_trend: ce } = De(), { isThemeValid: fe, warnInvalidTheme: he } = Ve(), y = ve, F = c(null), U = c(null), W = c(null), L = c(null), x = c(null), $ = c(!1), p = c(null), A = c(Te()), e = c(E()), { loading: C, FINAL_DATASET: B, manualLoading: M } = Ie({
|
|
44
|
+
...we(y),
|
|
45
|
+
FINAL_CONFIG: e,
|
|
46
|
+
prepareConfig: E,
|
|
47
|
+
skeletonDataset: [1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233],
|
|
48
|
+
skeletonConfig: Se({
|
|
49
|
+
defaultConfig: e.value,
|
|
50
|
+
userConfig: {
|
|
51
|
+
style: {
|
|
52
|
+
animation: { show: !1 },
|
|
53
|
+
backgroundColor: "#99999930",
|
|
54
|
+
line: {
|
|
55
|
+
stroke: "#6A6A6A",
|
|
56
|
+
useColorTrend: !1
|
|
57
|
+
},
|
|
58
|
+
dataLabel: { show: !1, useColorTrend: !1, color: "#6A6A6A" }
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
})
|
|
62
|
+
});
|
|
63
|
+
function E() {
|
|
64
|
+
const t = P({
|
|
65
|
+
userConfig: y.config,
|
|
66
|
+
defaultConfig: ce
|
|
67
|
+
}), l = t.theme;
|
|
68
|
+
if (!l) return t;
|
|
69
|
+
if (!fe.value(t))
|
|
70
|
+
return he(t), t;
|
|
71
|
+
const o = P({
|
|
72
|
+
userConfig: ie[l] || y.config,
|
|
73
|
+
defaultConfig: t
|
|
74
|
+
});
|
|
75
|
+
return P({
|
|
76
|
+
userConfig: y.config,
|
|
77
|
+
defaultConfig: o
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
const g = u(() => ee({
|
|
81
|
+
data: B.value,
|
|
82
|
+
threshold: e.value.downsample.threshold
|
|
83
|
+
}));
|
|
84
|
+
G(() => y.config, (t) => {
|
|
85
|
+
e.value = E(), j.value = e.value.style.width, _.value = e.value.style.height, H();
|
|
86
|
+
}, { deep: !0 });
|
|
87
|
+
function D(t) {
|
|
88
|
+
return t.map((l) => w(l));
|
|
89
|
+
}
|
|
90
|
+
const k = c(ee({
|
|
91
|
+
data: B.value,
|
|
92
|
+
threshold: e.value.downsample.threshold
|
|
93
|
+
}).map((t) => e.value.style.animation.show || [void 0, 1 / 0, -1 / 0, null, NaN].includes(t) ? null : t));
|
|
94
|
+
G(g, (t) => {
|
|
95
|
+
p.value && (cancelAnimationFrame(p.value), p.value = null), e.value.style.animation.show ? k.value = Array(t.length).fill(null) : k.value = t.map(
|
|
96
|
+
(l) => ![void 0, 1 / 0, -1 / 0, null].includes(l) && !Number.isNaN(l) ? l : null
|
|
97
|
+
), I(), K(() => N(".vue-ui-sparktrend-progress-label", 6));
|
|
98
|
+
}, { deep: !0, immediate: !0 }), G(
|
|
99
|
+
() => JSON.stringify(y.dataset),
|
|
100
|
+
() => {
|
|
101
|
+
p.value && (cancelAnimationFrame(p.value), p.value = null), M.value = R(y.dataset);
|
|
102
|
+
const t = g.value;
|
|
103
|
+
k.value = e.value.style.animation.show ? Array(t.length).fill(null) : t.map((l) => Number.isFinite(l) ? l : null), I(), K(() => N(".vue-ui-sparktrend-progress-label", 6));
|
|
104
|
+
},
|
|
105
|
+
{ deep: !1, immediate: !0 }
|
|
106
|
+
);
|
|
107
|
+
function I() {
|
|
108
|
+
let l = 1e3 / e.value.style.animation.animationFrames, o = performance.now();
|
|
109
|
+
if (!C.value && e.value.style.animation.show && e.value.style.animation.animationFrames && B.value.length > 1) {
|
|
110
|
+
let b = function() {
|
|
111
|
+
$.value = !0;
|
|
112
|
+
let J = performance.now(), X = J - o;
|
|
113
|
+
X > l ? (o = J - X % l, f < g.value.length ? (k.value.push(g.value[f]), f += 1, p.value = requestAnimationFrame(b)) : (cancelAnimationFrame(p.value), k.value = D(g.value), $.value = !1, N(".vue-ui-sparktrend-progress-label", 6))) : p.value = requestAnimationFrame(b);
|
|
114
|
+
};
|
|
115
|
+
k.value = [];
|
|
116
|
+
let f = 0;
|
|
117
|
+
b();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
Le(() => {
|
|
121
|
+
H();
|
|
122
|
+
});
|
|
123
|
+
const ye = u(() => e.value.debug);
|
|
124
|
+
function H() {
|
|
125
|
+
if (R(y.dataset) && (Ne({
|
|
126
|
+
componentName: "VueUiSparkTrend",
|
|
127
|
+
type: "dataset",
|
|
128
|
+
debug: ye.value
|
|
129
|
+
}), M.value = !0), R(y.dataset) || (M.value = !1), e.value.responsive) {
|
|
130
|
+
const t = Me(() => {
|
|
131
|
+
const { width: l, height: o } = Ee({
|
|
132
|
+
chart: F.value,
|
|
133
|
+
source: W.value
|
|
134
|
+
});
|
|
135
|
+
requestAnimationFrame(() => {
|
|
136
|
+
j.value = l, _.value = o;
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
L.value && (x.value && L.value.unobserve(x.value), L.value.disconnect()), L.value = new ResizeObserver(t), x.value = F.value.parentNode, L.value.observe(x.value);
|
|
140
|
+
}
|
|
141
|
+
I(), N(".vue-ui-sparktrend-progress-label", 6);
|
|
142
|
+
}
|
|
143
|
+
const j = c(e.value.style.width), _ = c(e.value.style.height), v = u(() => ({
|
|
144
|
+
height: _.value,
|
|
145
|
+
width: j.value
|
|
146
|
+
})), n = u(() => ({
|
|
147
|
+
top: e.value.style.padding.top,
|
|
148
|
+
left: e.value.style.padding.left,
|
|
149
|
+
right: v.value.width - e.value.style.padding.right,
|
|
150
|
+
bottom: v.value.height - e.value.style.padding.bottom,
|
|
151
|
+
height: v.value.height - (e.value.style.padding.top + e.value.style.padding.bottom) - (e.value.style.dataLabel.show ? e.value.style.dataLabel.fontSize : 0),
|
|
152
|
+
width: v.value.width - (e.value.style.padding.left + e.value.style.padding.right)
|
|
153
|
+
})), O = u(() => {
|
|
154
|
+
const t = D(g.value).filter(Number.isFinite);
|
|
155
|
+
if (!t.length) return { max: 0, min: 0 };
|
|
156
|
+
let l = t[0], o = t[0];
|
|
157
|
+
for (let f = 1; f < t.length; f++) {
|
|
158
|
+
const b = t[f];
|
|
159
|
+
b > l && (l = b), b < o && (o = b);
|
|
160
|
+
}
|
|
161
|
+
return { max: l, min: o };
|
|
162
|
+
}), pe = u(() => {
|
|
163
|
+
const t = g.value, l = t.length ? t[t.length - 1] : "x";
|
|
164
|
+
return [
|
|
165
|
+
A.value,
|
|
166
|
+
t.length,
|
|
167
|
+
Number.isFinite(l) ? l : "x",
|
|
168
|
+
e.value.downsample.threshold,
|
|
169
|
+
e.value.style.line.smooth ? "s" : "l"
|
|
170
|
+
].join("-");
|
|
171
|
+
}), T = u(() => {
|
|
172
|
+
const t = O.value.min >= 0 ? 0 : O.value.min;
|
|
173
|
+
return Math.abs(t);
|
|
174
|
+
}), ge = u(() => O.value.max + T.value);
|
|
175
|
+
function q(t) {
|
|
176
|
+
return t / ge.value;
|
|
177
|
+
}
|
|
178
|
+
const me = u(() => g.value.length), a = u(() => k.value.map((t, l) => {
|
|
179
|
+
const o = isNaN(t) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t) ? 0 : t || 0;
|
|
180
|
+
return {
|
|
181
|
+
value: w(t),
|
|
182
|
+
absoluteValue: w(o),
|
|
183
|
+
plotValue: w(o + T.value),
|
|
184
|
+
toMax: q(o + T.value),
|
|
185
|
+
x: n.value.left + w(l * (n.value.width / (me.value - 1))) - e.value.style.padding.right,
|
|
186
|
+
y: n.value.bottom - w(n.value.height * q(o + T.value))
|
|
187
|
+
};
|
|
188
|
+
})), S = u(() => {
|
|
189
|
+
const t = D(g.value);
|
|
190
|
+
return e.value.style.trendLabel.trendType === "global" ? ze(t) : e.value.style.trendLabel.trendType === "n-1" && t.length > 1 ? (t.at(-1) / t.at(-2) - 1) * 100 : e.value.style.trendLabel.trendType === "lastToFirst" ? (t.at(-1) / t[0] - 1) * 100 : 0;
|
|
191
|
+
}), V = u(() => $.value || S.value === 0 ? "neutral" : S.value > 0 ? "positive" : "negative"), m = u(() => e.value.style.arrow.colors[V.value]), be = u(() => {
|
|
192
|
+
const t = { x: a.value[0].x, y: v.value.height - 6 }, l = { x: a.value[a.value.length - 1].x, y: v.value.height - 6 }, o = [];
|
|
193
|
+
return a.value.forEach((f) => {
|
|
194
|
+
o.push(`${f.x},${f.y} `);
|
|
195
|
+
}), [t.x, t.y, ...o, l.x, l.y].toString();
|
|
196
|
+
}), ke = u(() => {
|
|
197
|
+
let t = [];
|
|
198
|
+
return a.value.forEach((l) => {
|
|
199
|
+
t.push(`${l.x},${l.y} `);
|
|
200
|
+
}), `M ${t.toString()}`;
|
|
201
|
+
}), d = u(() => _.value / 2 - e.value.style.trendLabel.fontSize), Ce = u(() => n.value.left * 0.8), { fitText: N } = Oe({
|
|
202
|
+
svgRef: U,
|
|
203
|
+
unitWidth: Ce,
|
|
204
|
+
fontSize: e.value.style.trendLabel.fontSize
|
|
205
|
+
});
|
|
206
|
+
return (t, l) => (s(), r("div", {
|
|
207
|
+
ref_key: "sparkTrendChart",
|
|
208
|
+
ref: F,
|
|
209
|
+
class: "vue-data-ui-component vue-ui-spark-trend",
|
|
210
|
+
id: A.value,
|
|
211
|
+
style: Ae(`width:100%;font-family:${e.value.style.fontFamily};background:${e.value.style.backgroundColor}`)
|
|
212
|
+
}, [
|
|
213
|
+
(s(), r("svg", {
|
|
214
|
+
key: pe.value,
|
|
215
|
+
ref_key: "svgRef",
|
|
216
|
+
ref: U,
|
|
217
|
+
xmlns: i(Fe),
|
|
218
|
+
viewBox: `0 0 ${v.value.width} ${v.value.height}`,
|
|
219
|
+
style: "width:100%;background:transparent;overflow:visible"
|
|
220
|
+
}, [
|
|
221
|
+
$e(i(de)),
|
|
222
|
+
t.$slots["chart-background"] ? (s(), r("foreignObject", {
|
|
223
|
+
key: 0,
|
|
224
|
+
x: 0,
|
|
225
|
+
y: 0,
|
|
226
|
+
width: v.value.width <= 0 ? 10 : v.value.width,
|
|
227
|
+
height: v.value.height <= 0 ? 10 : v.value.height,
|
|
228
|
+
style: {
|
|
229
|
+
pointerEvents: "none"
|
|
230
|
+
}
|
|
231
|
+
}, [
|
|
232
|
+
Q(t.$slots, "chart-background", {}, void 0, !0)
|
|
233
|
+
], 8, Pe)) : h("", !0),
|
|
234
|
+
z("defs", null, [
|
|
235
|
+
z("linearGradient", {
|
|
236
|
+
x1: "0%",
|
|
237
|
+
y1: "0%",
|
|
238
|
+
x2: "0%",
|
|
239
|
+
y2: "100%",
|
|
240
|
+
id: `pill_gradient_${A.value}`
|
|
241
|
+
}, [
|
|
242
|
+
z("stop", {
|
|
243
|
+
offset: "0%",
|
|
244
|
+
"stop-color": i(Z)(e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke, e.value.style.area.opacity)
|
|
245
|
+
}, null, 8, We),
|
|
246
|
+
z("stop", {
|
|
247
|
+
offset: "100%",
|
|
248
|
+
"stop-color": e.value.style.backgroundColor
|
|
249
|
+
}, null, 8, He)
|
|
250
|
+
], 8, Ue)
|
|
251
|
+
]),
|
|
252
|
+
e.value.style.area.show && a.value[0] ? (s(), r("g", qe, [
|
|
253
|
+
e.value.style.line.smooth ? (s(), r("path", {
|
|
254
|
+
key: 0,
|
|
255
|
+
d: `M ${a.value[0].x},${n.value.bottom} ${i(te)(a.value)} L ${a.value.at(-1).x},${n.value.bottom} Z`,
|
|
256
|
+
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${A.value})` : i(Z)(e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
257
|
+
stroke: "none"
|
|
258
|
+
}, null, 8, Je)) : (s(), r("path", {
|
|
259
|
+
key: 1,
|
|
260
|
+
d: `M${be.value}Z`,
|
|
261
|
+
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${A.value})` : i(Z)(e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
262
|
+
stroke: "none"
|
|
263
|
+
}, null, 8, Xe))
|
|
264
|
+
])) : h("", !0),
|
|
265
|
+
e.value.style.line.smooth && a.value.length ? (s(), r("path", {
|
|
266
|
+
key: 2,
|
|
267
|
+
d: `M ${i(te)(a.value)}`,
|
|
268
|
+
stroke: e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke,
|
|
269
|
+
fill: "none",
|
|
270
|
+
"stroke-width": e.value.style.line.strokeWidth,
|
|
271
|
+
"stroke-linecap": e.value.style.line.strokeLinecap,
|
|
272
|
+
"stroke-linejoin": e.value.style.line.strokeLinejoin
|
|
273
|
+
}, null, 8, Ke)) : h("", !0),
|
|
274
|
+
!e.value.style.line.smooth && a.value.length ? (s(), r("path", {
|
|
275
|
+
key: 3,
|
|
276
|
+
d: ke.value,
|
|
277
|
+
stroke: e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke,
|
|
278
|
+
fill: "none",
|
|
279
|
+
"stroke-width": e.value.style.line.strokeWidth,
|
|
280
|
+
"stroke-linecap": e.value.style.line.strokeLinecap,
|
|
281
|
+
"stroke-linejoin": e.value.style.line.strokeLinejoin
|
|
282
|
+
}, null, 8, Qe)) : h("", !0),
|
|
283
|
+
i(C) ? (s(), r("path", {
|
|
284
|
+
key: 4,
|
|
285
|
+
fill: "#6A6A6A",
|
|
286
|
+
d: `M ${n.value.left / 2 + 6}, ${d.value + 7} ${n.value.left / 2 - 7}, ${d.value} ${n.value.left / 2 - 7}, ${d.value + 14} Z`
|
|
287
|
+
}, null, 8, Ye)) : (s(), r("path", {
|
|
288
|
+
key: 5,
|
|
289
|
+
fill: m.value,
|
|
290
|
+
d: V.value === "positive" ? `M ${n.value.left / 2}, ${d.value} ${n.value.left / 2 - 7}, ${d.value + 12} ${n.value.left / 2 + 7}, ${d.value + 12} Z` : V.value === "negative" ? `M ${n.value.left / 2}, ${d.value + 12} ${n.value.left / 2 - 7}, ${d.value} ${n.value.left / 2 + 7}, ${d.value} Z` : `M ${n.value.left / 2 + 6}, ${d.value + 7} ${n.value.left / 2 - 7}, ${d.value} ${n.value.left / 2 - 7}, ${d.value + 14} Z`
|
|
291
|
+
}, null, 8, et)),
|
|
292
|
+
i(C) ? (s(), r("rect", {
|
|
293
|
+
key: 6,
|
|
294
|
+
x: n.value.left / 2 - e.value.style.trendLabel.fontSize - 2,
|
|
295
|
+
y: _.value / 2 + e.value.style.trendLabel.fontSize - 2,
|
|
296
|
+
width: e.value.style.trendLabel.fontSize * 2,
|
|
297
|
+
height: e.value.style.trendLabel.fontSize,
|
|
298
|
+
fill: "#6A6A6A80",
|
|
299
|
+
rx: "3"
|
|
300
|
+
}, null, 8, tt)) : h("", !0),
|
|
301
|
+
!$.value && !i(C) ? (s(), r("text", {
|
|
302
|
+
key: 7,
|
|
303
|
+
class: "vue-ui-sparktrend-progress-label",
|
|
304
|
+
x: n.value.left / 2,
|
|
305
|
+
y: _.value / 2 + e.value.style.trendLabel.fontSize * 2,
|
|
306
|
+
"text-anchor": "middle",
|
|
307
|
+
fill: e.value.style.trendLabel.useColorTrend ? m.value : e.value.style.trendLabel.color,
|
|
308
|
+
"font-size": e.value.style.trendLabel.fontSize,
|
|
309
|
+
"font-weight": e.value.style.trendLabel.bold ? "bold" : "normal"
|
|
310
|
+
}, Y(i(le)({
|
|
311
|
+
p: S.value > 0 ? "+" : "",
|
|
312
|
+
v: S.value,
|
|
313
|
+
s: "%",
|
|
314
|
+
r: e.value.style.trendLabel.rounding
|
|
315
|
+
})), 9, lt)) : h("", !0),
|
|
316
|
+
a.value.length && a.value.at(-1).x !== void 0 ? (s(), r("circle", {
|
|
317
|
+
key: 8,
|
|
318
|
+
stroke: e.value.style.backgroundColor,
|
|
319
|
+
"stroke-width": 2,
|
|
320
|
+
cx: a.value.at(-1).x,
|
|
321
|
+
cy: a.value.at(-1).y,
|
|
322
|
+
r: 4,
|
|
323
|
+
fill: i(C) ? "#6A6A6A" : m.value
|
|
324
|
+
}, null, 8, at)) : h("", !0),
|
|
325
|
+
a.value.length && a.value.at(-1).x !== void 0 && e.value.style.dataLabel.show ? (s(), r("text", {
|
|
326
|
+
key: 9,
|
|
327
|
+
"text-anchor": "middle",
|
|
328
|
+
x: a.value.at(-1).x,
|
|
329
|
+
y: a.value.at(-1).y - e.value.style.dataLabel.fontSize / 1.5,
|
|
330
|
+
"font-size": e.value.style.dataLabel.fontSize,
|
|
331
|
+
fill: e.value.style.dataLabel.useColorTrend ? m.value : e.value.style.dataLabel.color,
|
|
332
|
+
"font-weight": e.value.style.dataLabel.bold ? "bold" : "normal"
|
|
333
|
+
}, Y(i(Be)(
|
|
334
|
+
e.value.style.dataLabel.formatter,
|
|
335
|
+
a.value.at(-1).value,
|
|
336
|
+
i(le)({
|
|
337
|
+
p: e.value.style.dataLabel.prefix,
|
|
338
|
+
v: a.value.at(-1).value,
|
|
339
|
+
s: e.value.style.dataLabel.suffix,
|
|
340
|
+
r: e.value.style.dataLabel.rounding
|
|
341
|
+
}),
|
|
342
|
+
{ datapoint: a.value.at(-1) }
|
|
343
|
+
)), 9, nt)) : h("", !0)
|
|
344
|
+
], 8, Ze)),
|
|
345
|
+
t.$slots.source ? (s(), r("div", {
|
|
346
|
+
key: 0,
|
|
347
|
+
ref_key: "source",
|
|
348
|
+
ref: W,
|
|
349
|
+
dir: "auto"
|
|
350
|
+
}, [
|
|
351
|
+
Q(t.$slots, "source", {}, void 0, !0)
|
|
352
|
+
], 512)) : h("", !0),
|
|
353
|
+
i(C) ? (s(), xe(je, { key: 1 })) : h("", !0)
|
|
354
|
+
], 12, Re));
|
|
355
|
+
}
|
|
356
|
+
}, ut = /* @__PURE__ */ Ge(ot, [["__scopeId", "data-v-74429f5b"]]), pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
357
|
+
__proto__: null,
|
|
358
|
+
default: ut
|
|
359
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
360
|
+
export {
|
|
361
|
+
yt as a,
|
|
362
|
+
pt as b,
|
|
363
|
+
ut as v
|
|
364
|
+
};
|