vue-data-ui 3.3.2 → 3.4.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-DLi6NnGD.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-yAMEyP6y.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-By4rru90.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-DyDViSOy.js} +1 -1
- package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BceHSLHf.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-Znzt0gSE.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-Camz1Lce.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-VOcQEHa4.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CSja1SGU.js → UserOptions-C0YT60JN.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- 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 +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- 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 +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- 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 +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- 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 +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-DxyZSvDx.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-J2dLIr8Y.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CEjkWSLj.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-anN8VbM7.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-D7Tgakts.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
- package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-BGzYbrts.js} +62 -55
- package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
- package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
- package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
- package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
- package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-YYE07iRP.js} +35 -35
- package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-BRSqhjxm.js} +47 -47
- package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
- package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-Yw81BFf2.js} +189 -189
- package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-k3xCwZYv.js} +145 -138
- package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-DMPndU1O.js} +82 -75
- package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-D-W3VQTv.js} +75 -75
- package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
- package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
- package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-APtv_CvA.js} +58 -58
- package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
- package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-BBdrkhmg.js} +465 -435
- package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-DL5ioFH4.js} +115 -108
- package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
- package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
- package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
- package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DbanwrFr.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +88 -81
- package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
- package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-C4Uc3DRH.js} +280 -273
- package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
- package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
- package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B1T10gWF.js} +118 -111
- package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-G0bYxlue.js} +50 -50
- package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-DqZwonPL.js} +100 -100
- package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
- package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
- package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
- package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
- package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
- package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-CA4GL9dj.js} +144 -137
- package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-BAbQsJGk.js} +18 -18
- package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
- package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
- package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-Cj677c6_.js} +29 -29
- package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
- package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
- package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
- package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-C39XL2GH.js} +68 -68
- package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
- package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Dlp9LghX.js} +35 -35
- package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-BS8BCZJ3.js} +6 -6
- package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/package.json +1 -1
- package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
- package/dist/vue-ui-candlestick-x9U5Ni0N.js +0 -1066
- package/dist/vue-ui-stackbar-DIUil9DO.js +0 -1442
- package/dist/vue-ui-xy-canvas-BQKR36bd.js +0 -1305
- package/dist/vue-ui-xy-tWE4H5ij.js +0 -4520
|
@@ -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 { k as B, X as c, s as v, j as F } from "./lib-
|
|
3
|
-
import { u as O, a as V } from "./useNestedProp-
|
|
4
|
-
import y from "./PackageVersion-
|
|
2
|
+
import { k as B, X as c, s as v, j as F } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { u as O, a as V } from "./useNestedProp-B7CiTRDS.js";
|
|
4
|
+
import y from "./PackageVersion-DyDViSOy.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, f as q, a as x, d as b, X as y, i as k } from "./lib-
|
|
3
|
-
import { u as J, a as Q } from "./useNestedProp-
|
|
2
|
+
import { o as P, f as q, a as x, d as b, X as y, i as k } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { u as J, a as Q } from "./useNestedProp-B7CiTRDS.js";
|
|
4
4
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Z = {
|
|
6
6
|
key: 0,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as ce, ref as f, toRefs as he, computed as u, watch as G, nextTick as J, onMounted as ye, createElementBlock as r, openBlock as o, normalizeStyle as pe, createCommentVNode as h, createBlock as ge, unref as i, createVNode as me, createElementVNode as z, renderSlot as K, toDisplayString as Q } from "vue";
|
|
2
|
-
import { c as ke, t as be,
|
|
2
|
+
import { c as ke, t as be, u as Y, o as R, f as _e, x, ad as we, X as xe, s as Z, z as ee, d as te, a as $e } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as Le, u as Ce } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ae, a as le } from "./useNestedProp-
|
|
4
|
+
import { u as Ae, a as le } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as Te, B as Ne } from "./BaseScanner-BgWxam9d.js";
|
|
6
6
|
import { u as Se } from "./useFitSvgText-2crs6Fv5.js";
|
|
7
7
|
import { t as ze } from "./themes-Dw-dDudK.js";
|
|
8
8
|
import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["id"], Be = ["stop-color"], Ve = ["stop-color"], De = { key: 1 }, Oe = ["d", "fill"], Ge = ["d", "fill"], Re = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Ze = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"],
|
|
9
|
+
const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["id"], Be = ["stop-color"], Ve = ["stop-color"], De = { key: 1 }, Oe = ["d", "fill"], Ge = ["d", "fill"], Re = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Ze = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], We = ["d"], He = ["fill", "d"], Ue = ["x", "y", "width", "height"], qe = ["x", "y", "fill", "font-size", "font-weight"], Pe = ["stroke", "cx", "cy", "fill"], Xe = ["x", "y", "font-size", "fill", "font-weight"], Je = {
|
|
10
10
|
__name: "vue-ui-spark-trend",
|
|
11
11
|
props: {
|
|
12
12
|
config: {
|
|
@@ -23,7 +23,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
setup(ae) {
|
|
26
|
-
const ne = ce(() => import("./PackageVersion-
|
|
26
|
+
const ne = ce(() => import("./PackageVersion-DyDViSOy.js")), { vue_ui_spark_trend: ue } = Ae(), m = ae, F = f(null), W = f(null), H = f(null), $ = f(null), C = f(null), A = f(!1), y = f(null), L = f(ke()), e = f(j()), { loading: _, FINAL_DATASET: M, manualLoading: I } = Te({
|
|
27
27
|
...he(m),
|
|
28
28
|
FINAL_CONFIG: e,
|
|
29
29
|
prepareConfig: j,
|
|
@@ -60,7 +60,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
60
60
|
threshold: e.value.downsample.threshold
|
|
61
61
|
}));
|
|
62
62
|
G(() => m.config, (t) => {
|
|
63
|
-
e.value = j(), V.value = e.value.style.width, w.value = e.value.style.height,
|
|
63
|
+
e.value = j(), V.value = e.value.style.width, w.value = e.value.style.height, U();
|
|
64
64
|
}, { deep: !0 });
|
|
65
65
|
function E(t) {
|
|
66
66
|
return t.map((l) => x(l));
|
|
@@ -96,10 +96,10 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
ye(() => {
|
|
99
|
-
|
|
99
|
+
U();
|
|
100
100
|
});
|
|
101
101
|
const se = u(() => e.value.debug);
|
|
102
|
-
function
|
|
102
|
+
function U() {
|
|
103
103
|
if (R(m.dataset) && (_e({
|
|
104
104
|
componentName: "VueUiSparkTrend",
|
|
105
105
|
type: "dataset",
|
|
@@ -108,7 +108,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
108
108
|
const t = Le(() => {
|
|
109
109
|
const { width: l, height: s } = Ce({
|
|
110
110
|
chart: F.value,
|
|
111
|
-
source:
|
|
111
|
+
source: H.value
|
|
112
112
|
});
|
|
113
113
|
requestAnimationFrame(() => {
|
|
114
114
|
V.value = l, w.value = s;
|
|
@@ -150,7 +150,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
150
150
|
const t = D.value.min >= 0 ? 0 : D.value.min;
|
|
151
151
|
return Math.abs(t);
|
|
152
152
|
}), re = u(() => D.value.max + T.value);
|
|
153
|
-
function
|
|
153
|
+
function q(t) {
|
|
154
154
|
return t / re.value;
|
|
155
155
|
}
|
|
156
156
|
const ie = u(() => p.value.length), a = u(() => b.value.map((t, l) => {
|
|
@@ -159,9 +159,9 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
159
159
|
value: x(t),
|
|
160
160
|
absoluteValue: x(s),
|
|
161
161
|
plotValue: x(s + T.value),
|
|
162
|
-
toMax:
|
|
162
|
+
toMax: q(s + T.value),
|
|
163
163
|
x: n.value.left + x(l * (n.value.width / (ie.value - 1))) - e.value.style.padding.right,
|
|
164
|
-
y: n.value.bottom - x(n.value.height *
|
|
164
|
+
y: n.value.bottom - x(n.value.height * q(s + T.value))
|
|
165
165
|
};
|
|
166
166
|
})), N = u(() => {
|
|
167
167
|
const t = E(p.value);
|
|
@@ -177,7 +177,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
177
177
|
t.push(`${l.x},${l.y} `);
|
|
178
178
|
}), `M ${t.toString()}`;
|
|
179
179
|
}), d = u(() => w.value / 2 - e.value.style.trendLabel.fontSize), fe = u(() => n.value.left * 0.8), { fitText: S } = Se({
|
|
180
|
-
svgRef:
|
|
180
|
+
svgRef: W,
|
|
181
181
|
unitWidth: fe,
|
|
182
182
|
fontSize: e.value.style.trendLabel.fontSize
|
|
183
183
|
});
|
|
@@ -191,7 +191,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
191
191
|
(o(), r("svg", {
|
|
192
192
|
key: oe.value,
|
|
193
193
|
ref_key: "svgRef",
|
|
194
|
-
ref:
|
|
194
|
+
ref: W,
|
|
195
195
|
xmlns: i(xe),
|
|
196
196
|
viewBox: `0 0 ${v.value.width} ${v.value.height}`,
|
|
197
197
|
style: "width:100%;background:transparent;overflow:visible"
|
|
@@ -262,11 +262,11 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
262
262
|
key: 4,
|
|
263
263
|
fill: "#6A6A6A",
|
|
264
264
|
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`
|
|
265
|
-
}, null, 8,
|
|
265
|
+
}, null, 8, We)) : (o(), r("path", {
|
|
266
266
|
key: 5,
|
|
267
267
|
fill: g.value,
|
|
268
268
|
d: O.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` : O.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`
|
|
269
|
-
}, null, 8,
|
|
269
|
+
}, null, 8, He)),
|
|
270
270
|
i(_) ? (o(), r("rect", {
|
|
271
271
|
key: 6,
|
|
272
272
|
x: n.value.left / 2 - e.value.style.trendLabel.fontSize - 2,
|
|
@@ -275,7 +275,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
275
275
|
height: e.value.style.trendLabel.fontSize,
|
|
276
276
|
fill: "#6A6A6A80",
|
|
277
277
|
rx: "3"
|
|
278
|
-
}, null, 8,
|
|
278
|
+
}, null, 8, Ue)) : h("", !0),
|
|
279
279
|
!A.value && !i(_) ? (o(), r("text", {
|
|
280
280
|
key: 7,
|
|
281
281
|
class: "vue-ui-sparktrend-progress-label",
|
|
@@ -290,7 +290,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
290
290
|
v: N.value,
|
|
291
291
|
s: "%",
|
|
292
292
|
r: e.value.style.trendLabel.rounding
|
|
293
|
-
})), 9,
|
|
293
|
+
})), 9, qe)) : h("", !0),
|
|
294
294
|
a.value.length && a.value.at(-1).x !== void 0 ? (o(), r("circle", {
|
|
295
295
|
key: 8,
|
|
296
296
|
stroke: e.value.style.backgroundColor,
|
|
@@ -323,7 +323,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
323
323
|
t.$slots.source ? (o(), r("div", {
|
|
324
324
|
key: 0,
|
|
325
325
|
ref_key: "source",
|
|
326
|
-
ref:
|
|
326
|
+
ref: H,
|
|
327
327
|
dir: "auto"
|
|
328
328
|
}, [
|
|
329
329
|
K(t.$slots, "source", {}, void 0, !0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as Z, useSlots as ee, onMounted as F, ref as x, toRefs as te, computed as w, watch as B, nextTick as le, createElementBlock as i, openBlock as s, normalizeStyle as d, unref as a, renderSlot as $, createCommentVNode as p, createBlock as ae, normalizeProps as oe, mergeProps as E, createElementVNode as v, toDisplayString as y, Fragment as M, renderList as ne, createVNode as se } from "vue";
|
|
2
|
-
import { c as ue, t as ie, b as re, p as _, e as ve, o as ce, f as P, g as de, h as pe, s as D, a as C, d as A, X as fe, i as ye } from "./lib-
|
|
3
|
-
import { u as ge, a as V } from "./useNestedProp-
|
|
2
|
+
import { c as ue, t as ie, b as re, p as _, e as ve, o as ce, f as P, g as de, h as pe, s as D, a as C, d as A, X as fe, i as ye } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { u as ge, a as V } from "./useNestedProp-B7CiTRDS.js";
|
|
4
4
|
import { t as me } from "./themes-Dw-dDudK.js";
|
|
5
5
|
import { u as he, B as xe } from "./BaseScanner-BgWxam9d.js";
|
|
6
6
|
const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["xmlns", "viewBox"], _e = ["id"], Ce = ["stop-color"], Ae = ["stop-color"], Se = ["height", "width", "fill", "rx"], $e = ["height", "width", "fill", "rx"], De = ["height", "width", "fill", "rx"], Ie = {
|
|
@@ -32,7 +32,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectDatapoint"],
|
|
34
34
|
setup(O, { emit: j }) {
|
|
35
|
-
const U = Z(() => import("./PackageVersion-
|
|
35
|
+
const U = Z(() => import("./PackageVersion-DyDViSOy.js")), { vue_ui_sparkbar: R } = ge(), f = O, W = ee();
|
|
36
36
|
F(() => {
|
|
37
37
|
W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
38
38
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineAsyncComponent as T, ref as b, toRefs as U, onMounted as N, computed as s, watch as M, createElementBlock as r, openBlock as u, normalizeStyle as g, createCommentVNode as d, createBlock as
|
|
2
|
-
import { u as X, a as B } from "./useNestedProp-
|
|
3
|
-
import { c as Y, t as H, o as J, f as E, g as K,
|
|
1
|
+
import { defineAsyncComponent as T, ref as b, toRefs as U, onMounted as N, computed as s, watch as M, createElementBlock as r, openBlock as u, normalizeStyle as g, createCommentVNode as d, createBlock as P, toDisplayString as k, unref as i, createVNode as q, createElementVNode as m, renderSlot as F, normalizeClass as V } from "vue";
|
|
2
|
+
import { u as X, a as B } from "./useNestedProp-B7CiTRDS.js";
|
|
3
|
+
import { c as Y, t as H, o as J, f as E, g as K, ae as Q, X as W, a as Z, x, d as ee } from "./lib-BcBZIm6u.js";
|
|
4
4
|
import { u as te, B as ae } from "./BaseScanner-BgWxam9d.js";
|
|
5
5
|
import { u as le } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
6
|
import { t as oe } from "./themes-Dw-dDudK.js";
|
|
@@ -25,7 +25,7 @@ const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["s
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
setup(D) {
|
|
28
|
-
const O = T(() => import("./PackageVersion-
|
|
28
|
+
const O = T(() => import("./PackageVersion-DyDViSOy.js")), { vue_ui_sparkgauge: j } = X(), c = D, _ = b(Y()), e = b(p()), { loading: h, FINAL_DATASET: v } = te({
|
|
29
29
|
...U(c),
|
|
30
30
|
FINAL_CONFIG: e,
|
|
31
31
|
prepareConfig: p,
|
|
@@ -138,7 +138,7 @@ const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["s
|
|
|
138
138
|
viewBox: `0 0 ${l.value.width} ${l.value.height}`,
|
|
139
139
|
style: "overflow: visible; background:transparent; width:100%;"
|
|
140
140
|
}, [
|
|
141
|
-
|
|
141
|
+
q(i(O)),
|
|
142
142
|
t.$slots["chart-background"] && !i(h) ? (u(), r("foreignObject", {
|
|
143
143
|
key: 0,
|
|
144
144
|
x: 0,
|
|
@@ -224,7 +224,7 @@ const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["s
|
|
|
224
224
|
t.$slots.source ? (u(), r("div", me, [
|
|
225
225
|
F(t.$slots, "source")
|
|
226
226
|
], 512)) : d("", !0),
|
|
227
|
-
i(h) ? (u(),
|
|
227
|
+
i(h) ? (u(), P(ae, { key: 3 })) : d("", !0)
|
|
228
228
|
], 4));
|
|
229
229
|
}
|
|
230
230
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useCssVars as pe, computed as k, defineAsyncComponent as me, ref as y, toRefs as be, onMounted as U, watch as X, nextTick as j, createElementBlock as s, openBlock as a, normalizeStyle as S, createCommentVNode as c, createBlock as G, createElementVNode as g, createTextVNode as _e, toDisplayString as p, unref as n, createVNode as xe, renderSlot as q, Fragment as d, renderList as h, normalizeClass as Y } from "vue";
|
|
2
|
-
import { c as ke, t as Ce, o as Ae, f as P, g as we, s as m, a as J, d as K, X as $e, i as D } from "./lib-
|
|
2
|
+
import { c as ke, t as Ce, o as Ae, f as P, g as we, s as m, a as J, d as K, X as $e, i as D } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as Le, u as ze } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Se, a as Q } from "./useNestedProp-
|
|
4
|
+
import { u as Se, a as Q } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as Me, B as Fe } from "./BaseScanner-BgWxam9d.js";
|
|
6
6
|
import { u as Ie } from "./useFitSvgText-2crs6Fv5.js";
|
|
7
7
|
import { u as Te } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import { _ as Ee } from "./Shape-
|
|
8
|
+
import { _ as Ee } from "./Shape-BhNvlGIN.js";
|
|
9
9
|
import { t as Ne } from "./themes-Dw-dDudK.js";
|
|
10
10
|
import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width", "height"], Re = ["id"], Be = ["stop-color"], Ue = ["stop-color"], Xe = ["id"], je = ["stop-color"], Ge = ["stop-color"], qe = ["id"], Ye = ["stop-color"], Pe = ["stop-color"], Je = ["height", "width", "fill", "x", "stroke", "stroke-width", "rx", "stroke-dasharray"], Ke = { key: 1 }, Qe = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ze = { key: 2 }, et = ["x", "y", "font-size", "font-weight", "fill"], tt = ["x", "y", "font-size", "fill"], lt = ["x", "y", "font-size", "fill"], at = ["height", "width", "x", "onMouseover", "onMouseleave", "onClick"], st = {
|
|
@@ -29,7 +29,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
|
|
|
29
29
|
pe((l) => ({
|
|
30
30
|
v693dff61: ve.value
|
|
31
31
|
}));
|
|
32
|
-
const te = me(() => import("./PackageVersion-
|
|
32
|
+
const te = me(() => import("./PackageVersion-DyDViSOy.js")), { vue_ui_sparkhistogram: le } = Se(), b = Z, _ = y(ke()), W = y(null), V = y(null), M = y(null), C = y(null), w = y(null), e = y(T()), { loading: H, FINAL_DATASET: A } = Me({
|
|
33
33
|
...be(b),
|
|
34
34
|
FINAL_CONFIG: e,
|
|
35
35
|
prepareConfig: T,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineAsyncComponent as he, computed as h, ref as y, toRefs as Pe, watch as J, shallowRef as fe, onMounted as Re, onBeforeUnmount as ye, createElementBlock as c, openBlock as n, normalizeStyle as
|
|
2
|
-
import { c as Ge, t as je,
|
|
3
|
-
import { u as He, a as Le } from "./useNestedProp-
|
|
1
|
+
import { defineAsyncComponent as he, computed as h, ref as y, toRefs as Pe, watch as J, shallowRef as fe, onMounted as Re, onBeforeUnmount as ye, createElementBlock as c, openBlock as n, normalizeStyle as D, renderSlot as S, createCommentVNode as f, createBlock as pe, normalizeProps as ge, guardReactiveProps as me, createElementVNode as p, toDisplayString as T, unref as s, createVNode as Fe, Fragment as Q, renderList as ee, withCtx as Ee, createTextVNode as Oe, nextTick as Be } from "vue";
|
|
2
|
+
import { c as Ge, t as je, O as be, af as te, o as ke, f as xe, g as Ue, i as W, L as Xe, ag as Ye, X as qe, s as P, z as _e, B as Ze, r as we, a as ae, d as le, ah as Ke } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { u as He, a as Le } from "./useNestedProp-B7CiTRDS.js";
|
|
4
4
|
import { t as Je, u as Qe } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as et } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
6
|
import { u as tt, B as at } from "./BaseScanner-BgWxam9d.js";
|
|
@@ -41,17 +41,17 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
41
41
|
},
|
|
42
42
|
emits: ["hoverIndex", "selectDatapoint"],
|
|
43
43
|
setup($, { emit: Ae }) {
|
|
44
|
-
const $e = he(() => import("./PackageVersion-
|
|
44
|
+
const $e = he(() => import("./PackageVersion-DyDViSOy.js")), Ne = he(() => import("./SparkTooltip-CL3cNRQ_.js")), { vue_ui_sparkline: Me } = He(), r = $, ue = h(() => Array.isArray(r.dataset) && r.dataset.length > 0), g = y(Ge()), R = y(null), oe = y(null), se = y(null), e = y(O());
|
|
45
45
|
function Ce(t) {
|
|
46
46
|
return Ke(t).map((a) => ({ period: "-", value: a }));
|
|
47
47
|
}
|
|
48
48
|
const { loading: F, FINAL_DATASET: N, manualLoading: E } = tt({
|
|
49
49
|
...Pe(r),
|
|
50
50
|
FINAL_CONFIG: e,
|
|
51
|
-
prepareConfig:
|
|
51
|
+
prepareConfig: O,
|
|
52
52
|
callback: () => {
|
|
53
53
|
Promise.resolve().then(async () => {
|
|
54
|
-
await
|
|
54
|
+
await Be(), X();
|
|
55
55
|
});
|
|
56
56
|
},
|
|
57
57
|
skeletonDataset: Ce(12),
|
|
@@ -73,7 +73,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
73
73
|
}
|
|
74
74
|
})
|
|
75
75
|
}), { svgRef: ne } = et({ config: e.value.style.title });
|
|
76
|
-
function
|
|
76
|
+
function O() {
|
|
77
77
|
const t = Le({
|
|
78
78
|
userConfig: r.config,
|
|
79
79
|
defaultConfig: Me
|
|
@@ -91,7 +91,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
91
91
|
threshold: e.value.downsample.threshold
|
|
92
92
|
}));
|
|
93
93
|
J(() => r.config, (t) => {
|
|
94
|
-
F.value || (e.value =
|
|
94
|
+
F.value || (e.value = O()), ie(), o.value.chartWidth = e.value.style.chartWidth;
|
|
95
95
|
}, { deep: !0 }), J(() => r.dataset, (t) => {
|
|
96
96
|
Array.isArray(t) && t.length > 0 && (E.value = !1), m.value = te({
|
|
97
97
|
data: N.value.map((a) => ({
|
|
@@ -114,22 +114,22 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
114
114
|
threshold: e.value.downsample.threshold
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
-
const b = fe(null), _ = fe(null),
|
|
117
|
+
const b = fe(null), _ = fe(null), B = y(!1), M = y(0), G = y([]), j = y(""), U = h(() => {
|
|
118
118
|
const a = (x.value || []).map((u) => `${u.period}::${Number.isFinite(u.value) ? u.value : 0}`).join("|"), l = e.value?.style?.animation || {};
|
|
119
119
|
return `${a}#${!!l.show}#${l.animationFrames || 0}`;
|
|
120
120
|
});
|
|
121
121
|
function V() {
|
|
122
|
-
M.value && (cancelAnimationFrame(M.value), M.value = 0), G.value.forEach((t) => clearTimeout(t)), G.value = [],
|
|
122
|
+
M.value && (cancelAnimationFrame(M.value), M.value = 0), G.value.forEach((t) => clearTimeout(t)), G.value = [], B.value = !1;
|
|
123
123
|
}
|
|
124
124
|
function X() {
|
|
125
125
|
const t = e.value?.style?.animation || {}, a = x.value || [], l = U.value;
|
|
126
|
-
if (l && l === j.value && (
|
|
126
|
+
if (l && l === j.value && (B.value || m.value.length === a.length))
|
|
127
127
|
return;
|
|
128
128
|
if (V(), !t.show || F.value || a.length <= 1) {
|
|
129
129
|
m.value = a, j.value = l;
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
132
|
-
|
|
132
|
+
B.value = !0, j.value = l, m.value = [];
|
|
133
133
|
const u = Math.max(1, Number(t.animationFrames) || 1), K = Math.max(1, Math.floor(u / a.length));
|
|
134
134
|
let H = 0;
|
|
135
135
|
const ce = () => {
|
|
@@ -242,7 +242,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
242
242
|
function ze(t, a) {
|
|
243
243
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), v.value = t, A.value || (A.value = t), Y("hoverIndex", { index: a });
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function De(t, a) {
|
|
246
246
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), A.value = v.value, v.value = void 0, Y("hoverIndex", { index: void 0 });
|
|
247
247
|
}
|
|
248
248
|
const k = h(() => {
|
|
@@ -268,7 +268,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
268
268
|
trend: null
|
|
269
269
|
};
|
|
270
270
|
}), de = h(() => ue.value ? e.value.style.dataLabel.valueType === "latest" ? k.value.latest : e.value.style.dataLabel.valueType === "sum" ? k.value.sum : e.value.style.dataLabel.valueType === "average" ? k.value.average : 0 : 0), I = h(() => e.value.type && e.value.type === "bar");
|
|
271
|
-
function
|
|
271
|
+
function Te(t, a) {
|
|
272
272
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a }), Y("selectDatapoint", { datapoint: t, index: a });
|
|
273
273
|
}
|
|
274
274
|
return (t, a) => (n(), c("div", {
|
|
@@ -276,7 +276,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
276
276
|
ref: R,
|
|
277
277
|
class: "vue-data-ui-component vue-ui-sparkline",
|
|
278
278
|
id: g.value,
|
|
279
|
-
style:
|
|
279
|
+
style: D(`width:100%;font-family:${e.value.style.fontFamily};`)
|
|
280
280
|
}, [
|
|
281
281
|
S(t.$slots, "before", ge(me({
|
|
282
282
|
selected: v.value,
|
|
@@ -291,18 +291,18 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
291
291
|
ref_key: "chartTitle",
|
|
292
292
|
ref: oe,
|
|
293
293
|
class: "vue-ui-sparkline-title",
|
|
294
|
-
style:
|
|
294
|
+
style: D(`display:flex;align-items:center;width:100%;color:${e.value.style.title.color};background:${e.value.style.backgroundColor};justify-content:${e.value.style.title.textAlign === "left" ? "flex-start" : e.value.style.title.textAlign === "right" ? "flex-end" : "center"};height:${e.value.style.title.fontSize * 2}px;font-size:${e.value.style.title.fontSize}px;font-weight:${e.value.style.title.bold ? "bold" : "normal"};`)
|
|
295
295
|
}, [
|
|
296
296
|
p("span", {
|
|
297
|
-
style:
|
|
298
|
-
},
|
|
297
|
+
style: D(`padding:${e.value.style.title.textAlign === "left" ? "0 0 0 12px" : e.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`)
|
|
298
|
+
}, T(v.value ? v.value.period : e.value.style.title.text), 5)
|
|
299
299
|
], 4)) : f("", !0),
|
|
300
300
|
(n(), c("svg", {
|
|
301
301
|
ref_key: "svgRef",
|
|
302
302
|
ref: ne,
|
|
303
303
|
xmlns: s(qe),
|
|
304
304
|
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
305
|
-
style:
|
|
305
|
+
style: D(`background:${e.value.style.backgroundColor};overflow:visible`),
|
|
306
306
|
onMouseleave: a[0] || (a[0] = (l) => A.value = void 0)
|
|
307
307
|
}, [
|
|
308
308
|
Fe(s($e)),
|
|
@@ -442,7 +442,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
442
442
|
"font-size": e.value.style.dataLabel.fontSize,
|
|
443
443
|
"font-weight": e.value.style.dataLabel.bold ? "bold" : "normal",
|
|
444
444
|
fill: e.value.style.dataLabel.color
|
|
445
|
-
},
|
|
445
|
+
}, T(v.value ? s(ae)(
|
|
446
446
|
e.value.style.dataLabel.formatter,
|
|
447
447
|
v.value.absoluteValue,
|
|
448
448
|
s(le)({ p: e.value.style.dataLabel.prefix, v: v.value.absoluteValue, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue }),
|
|
@@ -459,8 +459,8 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
459
459
|
width: i.value.width / (L.value + 1) > o.value.padding ? o.value.padding : i.value.width / (L.value + 1),
|
|
460
460
|
fill: "transparent",
|
|
461
461
|
onMouseenter: () => ze(l, u),
|
|
462
|
-
onMouseleave: () =>
|
|
463
|
-
onClick: () =>
|
|
462
|
+
onMouseleave: () => De(l, u),
|
|
463
|
+
onClick: () => Te(l, u)
|
|
464
464
|
}, null, 40, Mt))), 256)),
|
|
465
465
|
S(t.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
466
466
|
], 44, nt)),
|
|
@@ -482,7 +482,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
482
482
|
}, {
|
|
483
483
|
default: Ee(() => [
|
|
484
484
|
S(t.$slots, "tooltip", ge(me({ ...v.value })), () => [
|
|
485
|
-
|
|
485
|
+
Oe(T(v.value.period) + ": " + T(s(ae)(
|
|
486
486
|
e.value.style.dataLabel.formatter,
|
|
487
487
|
v.value.absoluteValue,
|
|
488
488
|
s(le)({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineAsyncComponent as X, useSlots as be, onMounted as J, ref as v, toRefs as ke, watch as K, computed as $, createElementBlock as r, openBlock as s, normalizeStyle as p, createCommentVNode as f, createVNode as Q, createBlock as _e, createElementVNode as d, toDisplayString as F, unref as c, Fragment as k, renderList as A, normalizeClass as N, withCtx as Z, renderSlot as R, normalizeProps as ee, guardReactiveProps as te } from "vue";
|
|
2
|
-
import { c as le, t as xe, b as we, p as i, h as D, e as Ce, o as $e, f as oe, g as Se, d as U, X as Fe, s as ae, i as se, a as re,
|
|
3
|
-
import { u as De, a as ne } from "./useNestedProp-
|
|
2
|
+
import { c as le, t as xe, b as we, p as i, h as D, e as Ce, o as $e, f as oe, g as Se, d as U, X as Fe, s as ae, i as se, a as re, G as Ae } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { u as De, a as ne } from "./useNestedProp-B7CiTRDS.js";
|
|
4
4
|
import { u as Ie } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
|
-
import { t as
|
|
6
|
-
import { u as
|
|
5
|
+
import { t as Pe } from "./themes-Dw-dDudK.js";
|
|
6
|
+
import { u as ze, B as Be } from "./BaseScanner-BgWxam9d.js";
|
|
7
7
|
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-color"], Oe = ["stop-color"], Ve = {
|
|
9
9
|
id: "stackPill",
|
|
@@ -33,11 +33,11 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectDatapoint"],
|
|
35
35
|
setup(ue, { emit: ie }) {
|
|
36
|
-
const ce = X(() => import("./PackageVersion-
|
|
36
|
+
const ce = X(() => import("./PackageVersion-DyDViSOy.js")), de = X(() => import("./Tooltip-Cs4v8OnI.js")), { vue_ui_sparkstackbar: ve } = De(), _ = ue, pe = be();
|
|
37
37
|
J(() => {
|
|
38
38
|
pe["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
|
|
39
39
|
});
|
|
40
|
-
const j = v(null), I = v(le()), T = v(!1), E = v(""), e = v(M()), { loading: x, FINAL_DATASET: m } =
|
|
40
|
+
const j = v(null), I = v(le()), T = v(!1), E = v(""), e = v(M()), { loading: x, FINAL_DATASET: m } = ze({
|
|
41
41
|
...ke(_),
|
|
42
42
|
FINAL_CONFIG: e,
|
|
43
43
|
prepareConfig: M,
|
|
@@ -67,7 +67,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
67
67
|
});
|
|
68
68
|
return t.theme ? {
|
|
69
69
|
...ne({
|
|
70
|
-
userConfig:
|
|
70
|
+
userConfig: Pe.vue_ui_sparkstackbar[t.theme] || _.config,
|
|
71
71
|
defaultConfig: t
|
|
72
72
|
}),
|
|
73
73
|
customPalette: we[t.theme] || i
|
|
@@ -136,7 +136,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
136
136
|
const g = v({
|
|
137
137
|
width: 500,
|
|
138
138
|
height: 16
|
|
139
|
-
}), h = v([]), q = $(() => m.value.map((t) => t.value || 0).filter((t, a) => !h.value.includes(a)).reduce((t, a) => t + a, 0)),
|
|
139
|
+
}), h = v([]), q = $(() => m.value.map((t) => t.value || 0).filter((t, a) => !h.value.includes(a)).reduce((t, a) => t + a, 0)), P = $(() => b.value.map((t, a) => {
|
|
140
140
|
const l = t.value || 0, o = l / q.value, y = isNaN(o) ? 0 : o, L = y * g.value.width;
|
|
141
141
|
return {
|
|
142
142
|
...t,
|
|
@@ -150,11 +150,11 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
150
150
|
r: e.value.style.legend.percentage.rounding
|
|
151
151
|
})
|
|
152
152
|
};
|
|
153
|
-
})), O = $(() =>
|
|
153
|
+
})), O = $(() => P.value.filter((t, a) => !h.value.includes(a)));
|
|
154
154
|
function he(t) {
|
|
155
155
|
h.value.includes(t) ? h.value = h.value.filter((a) => a !== t) : h.value.length < b.value.length - 1 && h.value.push(t);
|
|
156
156
|
}
|
|
157
|
-
const
|
|
157
|
+
const z = $(() => {
|
|
158
158
|
let t = 0;
|
|
159
159
|
const a = [];
|
|
160
160
|
for (let l = 0; l < O.value.length; l += 1)
|
|
@@ -174,14 +174,14 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
174
174
|
function me({ datapoint: t, seriesIndex: a }) {
|
|
175
175
|
if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.seriesIndex }), !e.value.style.tooltip.show)
|
|
176
176
|
return;
|
|
177
|
-
V.value = { datapoint: t, seriesIndex: a, config: e.value, series:
|
|
177
|
+
V.value = { datapoint: t, seriesIndex: a, config: e.value, series: P.value }, T.value = !0, C.value = a;
|
|
178
178
|
const l = e.value.style.tooltip.customFormat;
|
|
179
179
|
if (Ae(l))
|
|
180
180
|
try {
|
|
181
181
|
const o = l({
|
|
182
182
|
seriesIndex: t.seriesIndex,
|
|
183
183
|
datapoint: t,
|
|
184
|
-
series:
|
|
184
|
+
series: P.value,
|
|
185
185
|
config: e.value
|
|
186
186
|
});
|
|
187
187
|
typeof o == "string" && (E.value = o, B.value = !0);
|
|
@@ -235,7 +235,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
235
235
|
}, [
|
|
236
236
|
Q(c(ce)),
|
|
237
237
|
d("defs", null, [
|
|
238
|
-
(s(!0), r(k, null, A(
|
|
238
|
+
(s(!0), r(k, null, A(z.value, (l, o) => (s(), r("linearGradient", {
|
|
239
239
|
key: `stack_gradient_${o}`,
|
|
240
240
|
gradientTransform: "rotate(90)",
|
|
241
241
|
id: `stack_gradient_${o}_${I.value}`
|
|
@@ -266,7 +266,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
266
266
|
])
|
|
267
267
|
]),
|
|
268
268
|
q.value > 0 ? (s(), r("g", Ue, [
|
|
269
|
-
(s(!0), r(k, null, A(
|
|
269
|
+
(s(!0), r(k, null, A(z.value, (l, o) => (s(), r("rect", {
|
|
270
270
|
key: `stack_underlayer_${o}`,
|
|
271
271
|
x: l.start,
|
|
272
272
|
y: 0,
|
|
@@ -278,7 +278,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
278
278
|
opacity: C.value !== null && e.value.style.tooltip.show ? C.value === o ? 1 : 0.5 : 1
|
|
279
279
|
})
|
|
280
280
|
}, null, 14, je))), 128)),
|
|
281
|
-
(s(!0), r(k, null, A(
|
|
281
|
+
(s(!0), r(k, null, A(z.value, (l, o) => (s(), r("rect", {
|
|
282
282
|
key: `stack_${o}`,
|
|
283
283
|
x: l.start,
|
|
284
284
|
y: 0,
|
|
@@ -292,7 +292,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
292
292
|
opacity: C.value !== null && e.value.style.tooltip.show ? C.value === o ? 1 : 0.5 : 1
|
|
293
293
|
})
|
|
294
294
|
}, null, 14, Ge))), 128)),
|
|
295
|
-
(s(!0), r(k, null, A(
|
|
295
|
+
(s(!0), r(k, null, A(z.value, (l, o) => (s(), r("rect", {
|
|
296
296
|
key: `stack_trap_${o}`,
|
|
297
297
|
x: l.start,
|
|
298
298
|
y: 0,
|
|
@@ -322,7 +322,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
322
322
|
style: p(`background:transparent;margin:0 auto;margin:${e.value.style.legend.margin};justify-content:${e.value.style.legend.textAlign === "left" ? "flex-start" : e.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
|
|
323
323
|
class: "vue-ui-sparkstackbar-legend"
|
|
324
324
|
}, [
|
|
325
|
-
(s(!0), r(k, null, A(
|
|
325
|
+
(s(!0), r(k, null, A(P.value, (l, o) => (s(), r("div", {
|
|
326
326
|
style: p(`font-size:${e.value.style.legend.fontSize}px;`),
|
|
327
327
|
class: N({ "vue-ui-sparkstackbar-legend-item": !0, "vue-ui-sparkstackbar-legend-item-unselected": h.value.includes(o) }),
|
|
328
328
|
onClick: (y) => {
|