vue-data-ui 2.12.6 → 2.12.7-beta.0
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-Bd9ZVBnX.js → Arrow-CmqjRRUl.js} +1 -1
- package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
- package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-CZdMutjs.js} +1 -1
- package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-DvVKgyAl.js} +23 -24
- package/dist/{DataTable-Rajdtaf6.js → DataTable-Cv9CIz-a.js} +11 -11
- package/dist/{Legend-BxtDQCIv.js → Legend-DFunFf8i.js} +8 -8
- package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
- package/dist/PackageVersion-CLY-udAA.js +10 -0
- package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-B9na2mbr.js} +8 -10
- package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
- package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
- package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
- package/dist/{Shape-C69a0f29.js → Shape-D3w9qas1.js} +2 -2
- package/dist/{Slicer-7qFdY-bT.js → Slicer-ncY8krrM.js} +2 -2
- package/dist/SparkTooltip-CwThutH2.js +68 -0
- package/dist/{Title-CzaCeCOm.js → Title-B5qqUI3M.js} +2 -2
- package/dist/Tooltip-C9rxJ-Ru.js +149 -0
- package/dist/{usePrinter-C5bLp34h.js → UserOptions-Ddy6CuLC.js} +172 -231
- package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DDlooC9r.js} +1 -1
- package/dist/{img-BN9AzqUr.js → img-m9g7lR5d.js} +1 -1
- package/dist/{index-BFzQMJda.js → index-BiHmNd1-.js} +21 -21
- package/dist/{pdf-uTbs813M.js → pdf-BqM953uL.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/useChartAccessibility-9icAAmYg.js +12 -0
- package/dist/useMouse-AicQS8Vf.js +13 -0
- package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-tRqS0ZAM.js} +1 -1
- package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
- package/dist/usePrinter-CRCbl1WG.js +53 -0
- package/dist/vClickOutside-C6WiFswA.js +13 -0
- package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-D9uTDt73.js} +63 -63
- package/dist/vue-data-ui.js +19 -19
- package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
- package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
- package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
- package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
- package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-D25qNQfb.js} +137 -140
- package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
- package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
- package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
- package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-C4evlXYB.js} +356 -365
- package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
- package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-DgpSttlt.js} +2 -2
- package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
- package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-BhjAxXgm.js} +2 -2
- package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
- package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
- package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
- package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-BVRkH0PS.js} +291 -300
- package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
- package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
- package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-B48eMvOR.js} +240 -243
- package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
- package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
- package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
- package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
- package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
- package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
- package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
- package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
- package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-P8k6T724.js} +252 -258
- package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
- package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
- package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
- package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
- package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-gryk_h_6.js} +2 -2
- package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
- package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
- package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-BRBXektJ.js} +262 -269
- package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
- package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
- package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
- package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
- package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
- package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
- package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
- package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
- package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
- package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
- package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
- package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-DBaT_TfA.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
- package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
- package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
- package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-D9FfRWN5.js} +180 -181
- package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
- package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
- package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
- package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
- package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
- package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
- package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-CPIGEswq.js} +430 -442
- package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-9e_epIN4.js} +845 -846
- package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
- package/package.json +6 -6
- package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
- package/dist/PackageVersion-BjrblLPQ.js +0 -10
- package/dist/Tooltip-CWmRmhJr.js +0 -158
- package/dist/useChartAccessibility-BWojgys7.js +0 -13
- package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
- package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
- package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
- package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
- package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
- package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
- package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
- package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
- package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
- package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
- package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
|
@@ -1,9 +1,9 @@
|
|
|
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 { u as F, Q as B, X as u, s as v, Z as O } from "./index-
|
|
3
|
-
import { u as V } from "./useNestedProp-
|
|
4
|
-
import
|
|
2
|
+
import { u as F, Q as B, X as u, s as v, Z as O } from "./index-BiHmNd1-.js";
|
|
3
|
+
import { u as V } from "./useNestedProp-tRqS0ZAM.js";
|
|
4
|
+
import y from "./PackageVersion-CLY-udAA.js";
|
|
5
5
|
import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" },
|
|
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"], u1 = ["stroke"], c1 = ["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"], ul = ["stroke", "fill"], cl = ["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"], u0 = ["stroke"], c0 = ["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"], ut = ["stroke", "stroke-width"], ct = ["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"], ue = ["x", "y", "fill"], ce = ["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",
|
|
8
8
|
props: {
|
|
9
9
|
config: {
|
|
@@ -272,7 +272,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
272
272
|
style: n({
|
|
273
273
|
opacity: i > 3 ? 0.6 : 1
|
|
274
274
|
})
|
|
275
|
-
}, null, 12,
|
|
275
|
+
}, null, 12, U))), 128))
|
|
276
276
|
])
|
|
277
277
|
], 12, R)) : a("", !0),
|
|
278
278
|
c.value === "ridgeline" ? (o(), e("svg", {
|
|
@@ -311,7 +311,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
311
311
|
"stop-color": l.value.style.ridgeline.color,
|
|
312
312
|
"stop-opacity": "0.1"
|
|
313
313
|
}, null, 8, t1)
|
|
314
|
-
], 8,
|
|
314
|
+
], 8, D)
|
|
315
315
|
]),
|
|
316
316
|
t("path", {
|
|
317
317
|
fill: `url(#ridgeline-gradient-${f.value})`,
|
|
@@ -353,7 +353,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
353
353
|
"stroke-linecap": "round",
|
|
354
354
|
"stroke-linejoin": "round"
|
|
355
355
|
}, null, 8, i1)
|
|
356
|
-
], 12,
|
|
356
|
+
], 12, Y)) : a("", !0),
|
|
357
357
|
c.value === "historyPlot" ? (o(), e("svg", {
|
|
358
358
|
key: 2,
|
|
359
359
|
xmlns: s(u),
|
|
@@ -702,7 +702,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
702
702
|
stroke: l.value.style.backgroundColor,
|
|
703
703
|
"stroke-width": 0.3,
|
|
704
704
|
fill: l.value.style.dumbbell.color
|
|
705
|
-
}, null, 8,
|
|
705
|
+
}, null, 8, U1),
|
|
706
706
|
t("path", {
|
|
707
707
|
d: `
|
|
708
708
|
M 30,31
|
|
@@ -713,7 +713,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
713
713
|
30,29 Z
|
|
714
714
|
`,
|
|
715
715
|
fill: l.value.style.dumbbell.color
|
|
716
|
-
}, null, 8,
|
|
716
|
+
}, null, 8, Y1),
|
|
717
717
|
t("circle", {
|
|
718
718
|
cx: "30",
|
|
719
719
|
cy: "30",
|
|
@@ -721,7 +721,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
721
721
|
stroke: l.value.style.backgroundColor,
|
|
722
722
|
"stroke-width": 0.3,
|
|
723
723
|
fill: l.value.style.dumbbell.color
|
|
724
|
-
}, null, 8,
|
|
724
|
+
}, null, 8, D1),
|
|
725
725
|
t("circle", {
|
|
726
726
|
cx: "60",
|
|
727
727
|
cy: "30",
|
|
@@ -1174,7 +1174,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
1174
1174
|
width: "6",
|
|
1175
1175
|
rx: "1.5",
|
|
1176
1176
|
fill: l.value.style.sparkHistogram.color
|
|
1177
|
-
}, null, 8,
|
|
1177
|
+
}, null, 8, Ul)
|
|
1178
1178
|
], 12, Ql)) : a("", !0),
|
|
1179
1179
|
c.value === "sparkbar" ? (o(), e("svg", {
|
|
1180
1180
|
key: 13,
|
|
@@ -1193,7 +1193,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
1193
1193
|
"stroke-linecap": "round",
|
|
1194
1194
|
stroke: l.value.style.sparkbar.color,
|
|
1195
1195
|
opacity: "0.5"
|
|
1196
|
-
}, null, 8,
|
|
1196
|
+
}, null, 8, Dl),
|
|
1197
1197
|
t("line", {
|
|
1198
1198
|
x1: "12",
|
|
1199
1199
|
x2: "400",
|
|
@@ -1244,7 +1244,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
1244
1244
|
stroke: l.value.style.sparkbar.color,
|
|
1245
1245
|
opacity: "1"
|
|
1246
1246
|
}, null, 8, e0)
|
|
1247
|
-
], 12,
|
|
1247
|
+
], 12, Yl)) : a("", !0),
|
|
1248
1248
|
c.value === "sparkStackbar" ? (o(), e("svg", {
|
|
1249
1249
|
key: 14,
|
|
1250
1250
|
xmlns: s(u),
|
|
@@ -1643,7 +1643,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
1643
1643
|
width: 464 / (x.value.length - 1) / 4,
|
|
1644
1644
|
fill: l.value.style.candlesticks.candle.color,
|
|
1645
1645
|
rx: "1"
|
|
1646
|
-
}, null, 8,
|
|
1646
|
+
}, null, 8, U0)
|
|
1647
1647
|
]))), 256))
|
|
1648
1648
|
], 12, F0)) : a("", !0),
|
|
1649
1649
|
c.value === "heatmap" ? (o(), e("svg", {
|
|
@@ -1664,10 +1664,10 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
1664
1664
|
stroke: l.value.style.backgroundColor,
|
|
1665
1665
|
"stroke-width": 1,
|
|
1666
1666
|
fill: s(v)(l.value.style.heatmap.color, Math.round(Math.random() * 100))
|
|
1667
|
-
}, null, 8,
|
|
1667
|
+
}, null, 8, D0)
|
|
1668
1668
|
]))), 256))
|
|
1669
1669
|
]))), 256))
|
|
1670
|
-
], 12,
|
|
1670
|
+
], 12, Y0)) : a("", !0),
|
|
1671
1671
|
c.value === "chestnut" ? (o(), e("svg", {
|
|
1672
1672
|
key: 25,
|
|
1673
1673
|
xmlns: s(u),
|
|
@@ -2050,19 +2050,19 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
|
|
|
2050
2050
|
r: l.value.style.quadrant.plots.radius,
|
|
2051
2051
|
cx: "76",
|
|
2052
2052
|
cy: "32"
|
|
2053
|
-
}, null, 8,
|
|
2053
|
+
}, null, 8, Ut),
|
|
2054
2054
|
t("circle", {
|
|
2055
2055
|
fill: l.value.style.quadrant.plots.color,
|
|
2056
2056
|
r: l.value.style.quadrant.plots.radius,
|
|
2057
2057
|
cx: "85",
|
|
2058
2058
|
cy: "26"
|
|
2059
|
-
}, null, 8,
|
|
2059
|
+
}, null, 8, Yt),
|
|
2060
2060
|
t("circle", {
|
|
2061
2061
|
fill: l.value.style.quadrant.plots.color,
|
|
2062
2062
|
r: l.value.style.quadrant.plots.radius,
|
|
2063
2063
|
cx: "55",
|
|
2064
2064
|
cy: "46"
|
|
2065
|
-
}, null, 8,
|
|
2065
|
+
}, null, 8, Dt)
|
|
2066
2066
|
], 12, It)) : a("", !0),
|
|
2067
2067
|
c.value === "radar" ? (o(), e("svg", {
|
|
2068
2068
|
key: 33,
|
|
@@ -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 d, createElementVNode as l, toDisplayString as c, unref as o, withKeys as z, normalizeClass as M, createTextVNode as S, createStaticVNode as $ } from "vue";
|
|
2
|
-
import { u as P, o as q, e as J, i as x, f as b, X as f, w as k } from "./index-
|
|
3
|
-
import { u as Q } from "./useNestedProp-
|
|
2
|
+
import { u as P, o as q, e as J, i as x, f as b, X as f, w as k } from "./index-BiHmNd1-.js";
|
|
3
|
+
import { u as Q } from "./useNestedProp-tRqS0ZAM.js";
|
|
4
4
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Z = {
|
|
6
6
|
key: 0,
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { computed as s, ref as k, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as q } from "./useNestedProp-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
import { _ as ie } from "./PackageVersion-BjrblLPQ.js";
|
|
7
|
-
import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["id"], fe = ["stop-color"], pe = ["stop-color"], ge = { key: 1 }, me = ["d", "fill"], ke = ["d", "fill"], _e = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], be = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], we = ["height", "width", "x"], xe = { style: { width: "100%" } }, Ce = ["x", "y", "fill", "font-size", "font-weight"], Le = ["stroke", "cx", "cy", "fill"], $e = ["x", "y", "font-size", "fill", "font-weight"], Ne = {
|
|
1
|
+
import { defineAsyncComponent as M, computed as s, ref as k, watch as D, onMounted as ee, createElementBlock as r, openBlock as o, normalizeStyle as te, createBlock as L, createCommentVNode as i, unref as u, createVNode as ae, createElementVNode as _, renderSlot as O, toDisplayString as G } from "vue";
|
|
2
|
+
import { u as le, c as ne, a as oe, a1 as I, o as se, e as ue, v as c, a2 as re, X as ie, s as F, U, f as P, i as de } from "./index-BiHmNd1-.js";
|
|
3
|
+
import { u as q } from "./useNestedProp-tRqS0ZAM.js";
|
|
4
|
+
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const he = ["id"], ce = ["xmlns", "viewBox"], ye = ["width", "height"], fe = ["id"], pe = ["stop-color"], ge = ["stop-color"], me = { key: 1 }, ke = ["d", "fill"], _e = ["d", "fill"], be = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], we = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], xe = ["height", "width", "x"], Ce = { style: { width: "100%" } }, Le = ["x", "y", "fill", "font-size", "font-weight"], $e = ["stroke", "cx", "cy", "fill"], Ne = ["x", "y", "font-size", "fill", "font-weight"], Te = {
|
|
9
6
|
key: 2,
|
|
10
7
|
ref: "source",
|
|
11
8
|
dir: "auto"
|
|
12
|
-
},
|
|
9
|
+
}, ze = {
|
|
13
10
|
__name: "vue-ui-spark-trend",
|
|
14
11
|
props: {
|
|
15
12
|
config: {
|
|
@@ -25,58 +22,58 @@ const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["i
|
|
|
25
22
|
}
|
|
26
23
|
}
|
|
27
24
|
},
|
|
28
|
-
setup(
|
|
29
|
-
const { vue_ui_spark_trend:
|
|
30
|
-
get: () =>
|
|
25
|
+
setup(W) {
|
|
26
|
+
const $ = M(() => import("./BaseIcon-CZdMutjs.js")), X = M(() => import("./PackageVersion-CLY-udAA.js")), Z = M(() => import("./vue-ui-skeleton-CbYQYRvD.js")), { vue_ui_spark_trend: R } = le(), d = W, H = s(() => !!d.dataset && d.dataset.length), b = k(ne()), e = s({
|
|
27
|
+
get: () => j(),
|
|
31
28
|
set: (t) => t
|
|
32
29
|
});
|
|
33
|
-
function
|
|
30
|
+
function j() {
|
|
34
31
|
const t = q({
|
|
35
|
-
userConfig:
|
|
36
|
-
defaultConfig:
|
|
32
|
+
userConfig: d.config,
|
|
33
|
+
defaultConfig: R
|
|
37
34
|
});
|
|
38
35
|
return t.theme ? {
|
|
39
36
|
...q({
|
|
40
|
-
userConfig:
|
|
37
|
+
userConfig: oe.vue_ui_spark_trend[t.theme] || d.config,
|
|
41
38
|
defaultConfig: t
|
|
42
39
|
})
|
|
43
40
|
} : t;
|
|
44
41
|
}
|
|
45
|
-
const f = s(() =>
|
|
46
|
-
data:
|
|
42
|
+
const f = s(() => I({
|
|
43
|
+
data: d.dataset,
|
|
47
44
|
threshold: e.value.downsample.threshold
|
|
48
45
|
}));
|
|
49
|
-
|
|
50
|
-
e.value =
|
|
51
|
-
}, { deep: !0 }),
|
|
52
|
-
g.value =
|
|
53
|
-
data:
|
|
46
|
+
D(() => d.config, (t) => {
|
|
47
|
+
e.value = j(), A();
|
|
48
|
+
}, { deep: !0 }), D(() => d.dataset, (t) => {
|
|
49
|
+
g.value = I({
|
|
50
|
+
data: d.dataset,
|
|
54
51
|
threshold: e.value.downsample.threshold
|
|
55
52
|
}).map((n) => [void 0, 1 / 0, -1 / 0, null, NaN].includes(n) ? null : n);
|
|
56
53
|
}, { deep: !0 });
|
|
57
|
-
function
|
|
54
|
+
function N(t) {
|
|
58
55
|
return t.map((n) => c(n));
|
|
59
56
|
}
|
|
60
|
-
const g = k(
|
|
61
|
-
data:
|
|
57
|
+
const g = k(I({
|
|
58
|
+
data: d.dataset,
|
|
62
59
|
threshold: e.value.downsample.threshold
|
|
63
|
-
}).map((t) => e.value.style.animation.show || [void 0, 1 / 0, -1 / 0, null, NaN].includes(t) ? null : t)), m = k(!1),
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
let n = 1e3 / e.value.style.animation.animationFrames,
|
|
67
|
-
if (e.value.style.animation.show && e.value.style.animation.animationFrames &&
|
|
68
|
-
let
|
|
60
|
+
}).map((t) => e.value.style.animation.show || [void 0, 1 / 0, -1 / 0, null, NaN].includes(t) ? null : t)), m = k(!1), T = k(null);
|
|
61
|
+
ee(() => {
|
|
62
|
+
A();
|
|
63
|
+
let n = 1e3 / e.value.style.animation.animationFrames, h = performance.now();
|
|
64
|
+
if (e.value.style.animation.show && e.value.style.animation.animationFrames && d.dataset.length > 1) {
|
|
65
|
+
let S = function() {
|
|
69
66
|
m.value = !0;
|
|
70
|
-
let B = performance.now(),
|
|
71
|
-
|
|
67
|
+
let B = performance.now(), E = B - h;
|
|
68
|
+
E > n ? (h = B - E % n, p < f.value.length ? (g.value.push(f.value[p]), p += 1, T.value = requestAnimationFrame(S)) : (cancelAnimationFrame(T.value), g.value = N(f.value), m.value = !1)) : T.value = requestAnimationFrame(S);
|
|
72
69
|
};
|
|
73
70
|
g.value = [];
|
|
74
71
|
let p = 0;
|
|
75
|
-
|
|
72
|
+
S();
|
|
76
73
|
}
|
|
77
74
|
});
|
|
78
|
-
function
|
|
79
|
-
|
|
75
|
+
function A() {
|
|
76
|
+
se(d.dataset) && ue({
|
|
80
77
|
componentName: "VueUiSparkTrend",
|
|
81
78
|
type: "dataset"
|
|
82
79
|
});
|
|
@@ -91,56 +88,56 @@ const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["i
|
|
|
91
88
|
bottom: l.value.height - e.value.style.padding.bottom,
|
|
92
89
|
height: l.value.height - (e.value.style.padding.top + e.value.style.padding.bottom) - (e.value.style.dataLabel.show ? e.value.style.dataLabel.fontSize : 0),
|
|
93
90
|
width: l.value.width - (e.value.style.padding.left + e.value.style.padding.right)
|
|
94
|
-
})),
|
|
95
|
-
const t =
|
|
91
|
+
})), z = s(() => {
|
|
92
|
+
const t = N(f.value);
|
|
96
93
|
return {
|
|
97
94
|
max: Math.max(...t.map((n) => c(n))),
|
|
98
95
|
min: Math.min(...t.map((n) => c(n)))
|
|
99
96
|
};
|
|
100
97
|
}), w = s(() => {
|
|
101
|
-
const t =
|
|
98
|
+
const t = z.value.min >= 0 ? 0 : z.value.min;
|
|
102
99
|
return Math.abs(t);
|
|
103
|
-
}),
|
|
104
|
-
function
|
|
105
|
-
return t /
|
|
100
|
+
}), J = s(() => z.value.max + w.value);
|
|
101
|
+
function V(t) {
|
|
102
|
+
return t / J.value;
|
|
106
103
|
}
|
|
107
|
-
const
|
|
108
|
-
const
|
|
104
|
+
const K = s(() => f.value.length), a = s(() => g.value.map((t, n) => {
|
|
105
|
+
const h = isNaN(t) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t) ? 0 : t || 0;
|
|
109
106
|
return {
|
|
110
107
|
value: c(t),
|
|
111
|
-
absoluteValue: c(
|
|
112
|
-
plotValue: c(
|
|
113
|
-
toMax:
|
|
114
|
-
x: y.value.left + c(n * (y.value.width / (
|
|
115
|
-
y: y.value.bottom - c(y.value.height *
|
|
108
|
+
absoluteValue: c(h),
|
|
109
|
+
plotValue: c(h + w.value),
|
|
110
|
+
toMax: V(h + w.value),
|
|
111
|
+
x: y.value.left + c(n * (y.value.width / (K.value - 1))) - e.value.style.padding.right,
|
|
112
|
+
y: y.value.bottom - c(y.value.height * V(h + w.value))
|
|
116
113
|
};
|
|
117
114
|
})), x = s(() => {
|
|
118
|
-
const t =
|
|
119
|
-
return e.value.style.trendLabel.trendType === "global" ?
|
|
120
|
-
}), C = s(() => m.value || x.value === 0 ? "neutral" : x.value > 0 ? "positive" : "negative"),
|
|
121
|
-
const t = { x: a.value[0].x, y: l.value.height - 6 }, n = { x: a.value[a.value.length - 1].x, y: l.value.height - 6 },
|
|
115
|
+
const t = N(f.value);
|
|
116
|
+
return e.value.style.trendLabel.trendType === "global" ? re(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;
|
|
117
|
+
}), C = s(() => m.value || x.value === 0 ? "neutral" : x.value > 0 ? "positive" : "negative"), v = s(() => e.value.style.arrow.colors[C.value]), Q = s(() => {
|
|
118
|
+
const t = { x: a.value[0].x, y: l.value.height - 6 }, n = { x: a.value[a.value.length - 1].x, y: l.value.height - 6 }, h = [];
|
|
122
119
|
return a.value.forEach((p) => {
|
|
123
|
-
|
|
124
|
-
}), [t.x, t.y, ...
|
|
125
|
-
}),
|
|
120
|
+
h.push(`${p.x},${p.y} `);
|
|
121
|
+
}), [t.x, t.y, ...h, n.x, n.y].toString();
|
|
122
|
+
}), Y = s(() => {
|
|
126
123
|
let t = [];
|
|
127
124
|
return a.value.forEach((n) => {
|
|
128
125
|
t.push(`${n.x},${n.y} `);
|
|
129
126
|
}), `M ${t.toString()}`;
|
|
130
127
|
});
|
|
131
|
-
return (t, n) => (o(),
|
|
128
|
+
return (t, n) => (o(), r("div", {
|
|
132
129
|
class: "vue-ui-spark-trend",
|
|
133
130
|
id: b.value,
|
|
134
|
-
style:
|
|
131
|
+
style: te(`width:100%;font-family:${e.value.style.fontFamily};background:${e.value.style.backgroundColor}`)
|
|
135
132
|
}, [
|
|
136
|
-
|
|
133
|
+
H.value ? (o(), r("svg", {
|
|
137
134
|
key: 1,
|
|
138
|
-
xmlns:
|
|
135
|
+
xmlns: u(ie),
|
|
139
136
|
viewBox: `0 0 ${l.value.width} ${l.value.height}`,
|
|
140
137
|
style: "width:100%;background:transparent;overflow:visible"
|
|
141
138
|
}, [
|
|
142
|
-
|
|
143
|
-
t.$slots["chart-background"] ? (o(),
|
|
139
|
+
ae(u(X)),
|
|
140
|
+
t.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
144
141
|
key: 0,
|
|
145
142
|
x: 0,
|
|
146
143
|
y: 0,
|
|
@@ -150,8 +147,8 @@ const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["i
|
|
|
150
147
|
pointerEvents: "none"
|
|
151
148
|
}
|
|
152
149
|
}, [
|
|
153
|
-
|
|
154
|
-
], 8,
|
|
150
|
+
O(t.$slots, "chart-background", {}, void 0, !0)
|
|
151
|
+
], 8, ye)) : i("", !0),
|
|
155
152
|
_("defs", null, [
|
|
156
153
|
_("linearGradient", {
|
|
157
154
|
x1: "0%",
|
|
@@ -162,116 +159,116 @@ const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["i
|
|
|
162
159
|
}, [
|
|
163
160
|
_("stop", {
|
|
164
161
|
offset: "0%",
|
|
165
|
-
"stop-color":
|
|
166
|
-
}, null, 8,
|
|
162
|
+
"stop-color": u(F)(e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke, e.value.style.area.opacity)
|
|
163
|
+
}, null, 8, pe),
|
|
167
164
|
_("stop", {
|
|
168
165
|
offset: "100%",
|
|
169
166
|
"stop-color": e.value.style.backgroundColor
|
|
170
|
-
}, null, 8,
|
|
171
|
-
], 8,
|
|
167
|
+
}, null, 8, ge)
|
|
168
|
+
], 8, fe)
|
|
172
169
|
]),
|
|
173
|
-
e.value.style.area.show && a.value[0] ? (o(),
|
|
174
|
-
e.value.style.line.smooth ? (o(),
|
|
170
|
+
e.value.style.area.show && a.value[0] ? (o(), r("g", me, [
|
|
171
|
+
e.value.style.line.smooth ? (o(), r("path", {
|
|
175
172
|
key: 0,
|
|
176
|
-
d: `M ${a.value[0].x},${y.value.bottom} ${
|
|
177
|
-
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${b.value})` :
|
|
173
|
+
d: `M ${a.value[0].x},${y.value.bottom} ${u(U)(a.value)} L ${a.value.at(-1).x},${y.value.bottom} Z`,
|
|
174
|
+
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${b.value})` : u(F)(e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
178
175
|
stroke: "none"
|
|
179
|
-
}, null, 8,
|
|
176
|
+
}, null, 8, ke)) : (o(), r("path", {
|
|
180
177
|
key: 1,
|
|
181
|
-
d: `M${
|
|
182
|
-
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${b.value})` :
|
|
178
|
+
d: `M${Q.value}Z`,
|
|
179
|
+
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${b.value})` : u(F)(e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
183
180
|
stroke: "none"
|
|
184
|
-
}, null, 8,
|
|
185
|
-
])) :
|
|
186
|
-
e.value.style.line.smooth && a.value.length ? (o(),
|
|
181
|
+
}, null, 8, _e))
|
|
182
|
+
])) : i("", !0),
|
|
183
|
+
e.value.style.line.smooth && a.value.length ? (o(), r("path", {
|
|
187
184
|
key: 2,
|
|
188
|
-
d: `M ${
|
|
189
|
-
stroke: e.value.style.line.useColorTrend ?
|
|
185
|
+
d: `M ${u(U)(a.value)}`,
|
|
186
|
+
stroke: e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke,
|
|
190
187
|
fill: "none",
|
|
191
188
|
"stroke-width": e.value.style.line.strokeWidth,
|
|
192
189
|
"stroke-linecap": e.value.style.line.strokeLinecap,
|
|
193
190
|
"stroke-linejoin": e.value.style.line.strokeLinejoin
|
|
194
|
-
}, null, 8,
|
|
195
|
-
!e.value.style.line.smooth && a.value.length ? (o(),
|
|
191
|
+
}, null, 8, be)) : i("", !0),
|
|
192
|
+
!e.value.style.line.smooth && a.value.length ? (o(), r("path", {
|
|
196
193
|
key: 3,
|
|
197
|
-
d:
|
|
198
|
-
stroke: e.value.style.line.useColorTrend ?
|
|
194
|
+
d: Y.value,
|
|
195
|
+
stroke: e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke,
|
|
199
196
|
fill: "none",
|
|
200
197
|
"stroke-width": e.value.style.line.strokeWidth,
|
|
201
198
|
"stroke-linecap": e.value.style.line.strokeLinecap,
|
|
202
199
|
"stroke-linejoin": e.value.style.line.strokeLinejoin
|
|
203
|
-
}, null, 8,
|
|
204
|
-
m.value ?
|
|
200
|
+
}, null, 8, we)) : i("", !0),
|
|
201
|
+
m.value ? i("", !0) : (o(), r("foreignObject", {
|
|
205
202
|
key: 4,
|
|
206
203
|
height: l.value.height / 2,
|
|
207
204
|
width: l.value.height / 2,
|
|
208
205
|
x: l.value.height / 5,
|
|
209
206
|
y: 8
|
|
210
207
|
}, [
|
|
211
|
-
_("div",
|
|
212
|
-
C.value === "positive" ? (o(), L(
|
|
208
|
+
_("div", Ce, [
|
|
209
|
+
C.value === "positive" ? (o(), L(u($), {
|
|
213
210
|
key: 0,
|
|
214
|
-
stroke:
|
|
211
|
+
stroke: v.value,
|
|
215
212
|
name: "arrowTop",
|
|
216
213
|
size: l.value.height / 2
|
|
217
|
-
}, null, 8, ["stroke", "size"])) :
|
|
218
|
-
C.value === "negative" ? (o(), L(
|
|
214
|
+
}, null, 8, ["stroke", "size"])) : i("", !0),
|
|
215
|
+
C.value === "negative" ? (o(), L(u($), {
|
|
219
216
|
key: 1,
|
|
220
|
-
stroke:
|
|
217
|
+
stroke: v.value,
|
|
221
218
|
name: "arrowBottom",
|
|
222
219
|
size: l.value.height / 2
|
|
223
|
-
}, null, 8, ["stroke", "size"])) :
|
|
224
|
-
C.value === "neutral" ? (o(), L(
|
|
220
|
+
}, null, 8, ["stroke", "size"])) : i("", !0),
|
|
221
|
+
C.value === "neutral" ? (o(), L(u($), {
|
|
225
222
|
key: 2,
|
|
226
|
-
stroke:
|
|
223
|
+
stroke: v.value,
|
|
227
224
|
name: "arrowRight",
|
|
228
225
|
size: l.value.height / 2
|
|
229
|
-
}, null, 8, ["stroke", "size"])) :
|
|
226
|
+
}, null, 8, ["stroke", "size"])) : i("", !0)
|
|
230
227
|
])
|
|
231
|
-
], 8,
|
|
232
|
-
m.value ?
|
|
228
|
+
], 8, xe)),
|
|
229
|
+
m.value ? i("", !0) : (o(), r("text", {
|
|
233
230
|
key: 5,
|
|
234
231
|
x: l.value.height / 2 - l.value.height / 20,
|
|
235
232
|
y: y.value.bottom,
|
|
236
233
|
"text-anchor": "middle",
|
|
237
|
-
fill: e.value.style.trendLabel.useColorTrend ?
|
|
234
|
+
fill: e.value.style.trendLabel.useColorTrend ? v.value : e.value.style.trendLabel.color,
|
|
238
235
|
"font-size": e.value.style.trendLabel.fontSize,
|
|
239
236
|
"font-weight": e.value.style.trendLabel.bold ? "bold" : "normal"
|
|
240
|
-
},
|
|
237
|
+
}, G(u(P)({
|
|
241
238
|
p: x.value > 0 ? "+" : "",
|
|
242
239
|
v: x.value,
|
|
243
240
|
s: "%",
|
|
244
241
|
r: e.value.style.trendLabel.rounding
|
|
245
|
-
})), 9,
|
|
246
|
-
a.value.length && a.value.at(-1).x !== void 0 ? (o(),
|
|
242
|
+
})), 9, Le)),
|
|
243
|
+
a.value.length && a.value.at(-1).x !== void 0 ? (o(), r("circle", {
|
|
247
244
|
key: 6,
|
|
248
245
|
stroke: e.value.style.backgroundColor,
|
|
249
246
|
"stroke-width": 2,
|
|
250
247
|
cx: a.value.at(-1).x,
|
|
251
248
|
cy: a.value.at(-1).y,
|
|
252
249
|
r: 4,
|
|
253
|
-
fill:
|
|
254
|
-
}, null, 8,
|
|
255
|
-
a.value.length && a.value.at(-1).x !== void 0 && e.value.style.dataLabel.show ? (o(),
|
|
250
|
+
fill: v.value
|
|
251
|
+
}, null, 8, $e)) : i("", !0),
|
|
252
|
+
a.value.length && a.value.at(-1).x !== void 0 && e.value.style.dataLabel.show ? (o(), r("text", {
|
|
256
253
|
key: 7,
|
|
257
254
|
"text-anchor": "middle",
|
|
258
255
|
x: a.value.at(-1).x,
|
|
259
256
|
y: a.value.at(-1).y - e.value.style.dataLabel.fontSize / 1.5,
|
|
260
257
|
"font-size": e.value.style.dataLabel.fontSize,
|
|
261
|
-
fill: e.value.style.dataLabel.useColorTrend ?
|
|
258
|
+
fill: e.value.style.dataLabel.useColorTrend ? v.value : e.value.style.dataLabel.color,
|
|
262
259
|
"font-weight": e.value.style.dataLabel.bold ? "bold" : "normal"
|
|
263
|
-
},
|
|
260
|
+
}, G(u(de)(
|
|
264
261
|
e.value.style.dataLabel.formatter,
|
|
265
262
|
a.value.at(-1).value,
|
|
266
|
-
|
|
263
|
+
u(P)({
|
|
267
264
|
p: e.value.style.dataLabel.prefix,
|
|
268
265
|
v: a.value.at(-1).value,
|
|
269
266
|
s: e.value.style.dataLabel.suffix,
|
|
270
267
|
r: e.value.style.dataLabel.rounding
|
|
271
268
|
}),
|
|
272
269
|
{ datapoint: a.value.at(-1) }
|
|
273
|
-
)), 9,
|
|
274
|
-
], 8,
|
|
270
|
+
)), 9, Ne)) : i("", !0)
|
|
271
|
+
], 8, ce)) : (o(), L(u(Z), {
|
|
275
272
|
key: 0,
|
|
276
273
|
config: {
|
|
277
274
|
type: "sparkline",
|
|
@@ -283,12 +280,12 @@ const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["i
|
|
|
283
280
|
}
|
|
284
281
|
}
|
|
285
282
|
}, null, 8, ["config"])),
|
|
286
|
-
t.$slots.source ? (o(),
|
|
287
|
-
|
|
288
|
-
], 512)) :
|
|
289
|
-
], 12,
|
|
283
|
+
t.$slots.source ? (o(), r("div", Te, [
|
|
284
|
+
O(t.$slots, "source", {}, void 0, !0)
|
|
285
|
+
], 512)) : i("", !0)
|
|
286
|
+
], 12, he));
|
|
290
287
|
}
|
|
291
|
-
},
|
|
288
|
+
}, je = /* @__PURE__ */ ve(ze, [["__scopeId", "data-v-1a673d38"]]);
|
|
292
289
|
export {
|
|
293
|
-
|
|
290
|
+
je as default
|
|
294
291
|
};
|