vue-data-ui 3.0.0-next.6 → 3.0.0-next.60
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-Ul64M9UV.js → Arrow-Dt0ZxTK2.js} +1 -1
- package/dist/{BaseDraggableDialog-Q2ajCztp.js → BaseDraggableDialog-Bl-2tw3H.js} +2 -2
- package/dist/{BaseIcon-BKR7AGeP.js → BaseIcon-C3ljqn8J.js} +1 -1
- package/dist/{ColorPicker-BagIs8-K.js → ColorPicker-0d0whOB3.js} +2 -2
- package/dist/{DataTable-CDwApkI_.js → DataTable-C_tJHvMd.js} +2 -2
- package/dist/{Legend-BSLj7tYc.js → Legend-VD0VB7l7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DjJe5fXu.js → NonSvgPenAndPaper-DQsHc_AG.js} +3 -3
- package/dist/{PackageVersion-BsKpz6KS.js → PackageVersion-5S8ajCUS.js} +1 -1
- package/dist/{PenAndPaper-BYRk8xrS.js → PenAndPaper-D6wazxlT.js} +3 -3
- package/dist/{Shape-DK7zYTKa.js → Shape-DDSX29LV.js} +43 -37
- package/dist/Slicer-D3SbIarX.js +602 -0
- package/dist/{SparkTooltip-Dy2sVTb_.js → SparkTooltip-BCdP3VDl.js} +1 -1
- package/dist/{Title-Cednydse.js → Title-DEKAfzRX.js} +1 -1
- package/dist/{Tooltip-DJlwW-XP.js → Tooltip-DJlC-n25.js} +23 -19
- package/dist/{UserOptions-DxIzWere.js → UserOptions-D2G7II3G.js} +2 -2
- package/dist/{dom-to-png-lZcM-YfK.js → dom-to-png-Y0tASTWQ.js} +1 -1
- package/dist/{img-DqlIAUF6.js → img-ChLGv8nO.js} +1 -1
- package/dist/{index-BQcLOx39.js → index-BLtc1AIS.js} +1707 -1131
- package/dist/{pdf-CjIXhsyg.js → pdf-DNiq-xsc.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +481 -21
- package/dist/types/vue-data-ui.d.ts +481 -21
- package/dist/useAutoSizeLabelsInsideViewbox-BJDcwsoB.js +41 -0
- package/dist/useNestedProp-DExlTpuj.js +13 -0
- package/dist/usePanZoom-BVca3eMk.js +122 -0
- package/dist/{usePrinter-BRY5saEA.js → usePrinter-fqbzwh0l.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
- package/dist/{vue-data-ui-CWRlSsiN.js → vue-data-ui-B8bRwUEL.js} +105 -100
- package/dist/vue-data-ui.js +23 -22
- package/dist/vue-ui-3d-bar-Dddx5kJW.js +1323 -0
- package/dist/{vue-ui-accordion-Df-5BRRg.js → vue-ui-accordion-EMAj3Ykx.js} +3 -3
- package/dist/vue-ui-age-pyramid-CMzKOGfv.js +834 -0
- package/dist/{vue-ui-annotator-BxC5dcIv.js → vue-ui-annotator-BQxXVdZW.js} +2 -2
- package/dist/vue-ui-bullet-DIie_6-T.js +571 -0
- package/dist/vue-ui-candlestick-DU796IGE.js +999 -0
- package/dist/{vue-ui-carousel-table-NTDzafWQ.js → vue-ui-carousel-table-xDItqzuw.js} +29 -29
- package/dist/{vue-ui-chestnut-k21Qqjjq.js → vue-ui-chestnut-DnQ494SU.js} +5 -5
- package/dist/{vue-ui-chord-BVoA6nfI.js → vue-ui-chord-DTs9gQ-R.js} +8 -8
- package/dist/{vue-ui-circle-pack-CEBgImRX.js → vue-ui-circle-pack-D73gxFJW.js} +24 -24
- package/dist/{vue-ui-cursor-BQcz8xw2.js → vue-ui-cursor-CNXTFeSs.js} +2 -2
- package/dist/{vue-ui-dashboard-CyzEpJoI.js → vue-ui-dashboard-Duph5Yta.js} +62 -62
- package/dist/{vue-ui-digits-Dafw1UsT.js → vue-ui-digits-D7qOSGZ-.js} +2 -2
- package/dist/{vue-ui-donut-DKfux8XT.js → vue-ui-donut-EfxITdHJ.js} +320 -308
- package/dist/vue-ui-donut-evolution-H6nfW_kx.js +1075 -0
- package/dist/vue-ui-dumbbell-DCUR8kl_.js +1119 -0
- package/dist/vue-ui-flow-DUENWmgc.js +841 -0
- package/dist/{vue-ui-funnel-CuN8HWwP.js → vue-ui-funnel-BSGUxWhW.js} +16 -16
- package/dist/{vue-ui-galaxy-BHCLFlmy.js → vue-ui-galaxy-D8PBQfbb.js} +60 -58
- package/dist/vue-ui-gauge-C8v8wKJO.js +791 -0
- package/dist/{vue-ui-gizmo-DHEEfdp9.js → vue-ui-gizmo-DmguslRh.js} +3 -3
- package/dist/vue-ui-heatmap-BM5Gfdzz.js +1078 -0
- package/dist/vue-ui-history-plot-CF6SlpwK.js +1073 -0
- package/dist/{vue-ui-kpi-C4i2w_Yd.js → vue-ui-kpi-BCyX-Zu-.js} +7 -7
- package/dist/{vue-ui-mini-loader-BeetGv_m.js → vue-ui-mini-loader-ByMff4PK.js} +2 -2
- package/dist/{vue-ui-molecule-F_gDXjJr.js → vue-ui-molecule-Cxnf2xDy.js} +53 -51
- package/dist/{vue-ui-mood-radar-BJMOEqlu.js → vue-ui-mood-radar-DEfJWXE7.js} +15 -15
- package/dist/vue-ui-nested-donuts-Bt7Pw9l0.js +1286 -0
- package/dist/vue-ui-onion-Bk3KL1Nk.js +776 -0
- package/dist/vue-ui-parallel-coordinate-plot-BpKRlOYy.js +915 -0
- package/dist/{vue-ui-quadrant-DTyRC1_v.js → vue-ui-quadrant-D1dgOAp2.js} +59 -57
- package/dist/vue-ui-quick-chart-_I6OrH-J.js +1761 -0
- package/dist/{vue-ui-radar-De2iznwo.js → vue-ui-radar-BWnhxayf.js} +30 -28
- package/dist/{vue-ui-rating-CarXXyD-.js → vue-ui-rating-I08lL1Nb.js} +2 -2
- package/dist/{vue-ui-relation-circle-CKkK9D4E.js → vue-ui-relation-circle-CMF5FSha.js} +6 -6
- package/dist/vue-ui-ridgeline-prYrXNYF.js +1153 -0
- package/dist/vue-ui-rings-DmbUIw9S.js +728 -0
- package/dist/vue-ui-scatter-srTVLcUK.js +1178 -0
- package/dist/{vue-ui-skeleton-C7maR60-.js → vue-ui-skeleton-FanSnKr8.js} +3 -3
- package/dist/{vue-ui-smiley-DzCCn5Oc.js → vue-ui-smiley-CWA0Y6wM.js} +26 -26
- package/dist/{vue-ui-spark-trend-Db-Fnp8C.js → vue-ui-spark-trend-EiEzMoPj.js} +3 -3
- package/dist/vue-ui-sparkbar-CCe0U_o0.js +351 -0
- package/dist/{vue-ui-sparkgauge-DAQ4zozy.js → vue-ui-sparkgauge-Cdcirik_.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CMEaO0CW.js → vue-ui-sparkhistogram-CEj9qz9m.js} +4 -4
- package/dist/vue-ui-sparkline-B2-YztKx.js +489 -0
- package/dist/vue-ui-sparkstackbar-BGMtc_HC.js +421 -0
- package/dist/vue-ui-stackbar-DrKaioRS.js +1370 -0
- package/dist/vue-ui-strip-plot-C4qWoDEh.js +915 -0
- package/dist/{vue-ui-table-Dck8Pyg9.js → vue-ui-table-CXqyTj_Z.js} +11 -11
- package/dist/{vue-ui-table-heatmap-DknIGf9_.js → vue-ui-table-heatmap-BZTn3qnM.js} +5 -5
- package/dist/{vue-ui-table-sparkline-G4HAzUt6.js → vue-ui-table-sparkline-CIBdN_KF.js} +14 -14
- package/dist/vue-ui-thermometer-DPIpWKUI.js +541 -0
- package/dist/{vue-ui-timer-Dmr-HCSc.js → vue-ui-timer-Cha-Gb1x.js} +5 -5
- package/dist/vue-ui-tiremarks-B4SjQyS7.js +406 -0
- package/dist/vue-ui-treemap-1twI_ag-.js +1035 -0
- package/dist/{vue-ui-vertical-bar--QFtoFje.js → vue-ui-vertical-bar-C31Jqkbw.js} +318 -302
- package/dist/vue-ui-waffle-DkZykFPK.js +910 -0
- package/dist/vue-ui-wheel-CYOrBHBD.js +379 -0
- package/dist/vue-ui-word-cloud-Clyg0CRZ.js +765 -0
- package/dist/{vue-ui-world-BcK_brDq.js → vue-ui-world-BYgMbS-e.js} +11 -9
- package/dist/vue-ui-xy-BMszd4wZ.js +3760 -0
- package/dist/{vue-ui-xy-canvas--88oKdGN.js → vue-ui-xy-canvas-DwXvZ311.js} +265 -264
- package/package.json +1 -1
- package/dist/Slicer-B_Hb6qSk.js +0 -577
- package/dist/useNestedProp-DefBVltl.js +0 -13
- package/dist/usePanZoom-BQMvRXEQ.js +0 -115
- package/dist/vue-ui-3d-bar-CJMZqDo1.js +0 -1227
- package/dist/vue-ui-age-pyramid-B6WAMtPk.js +0 -746
- package/dist/vue-ui-bullet-NmtltFbU.js +0 -513
- package/dist/vue-ui-candlestick-BzqQtynP.js +0 -873
- package/dist/vue-ui-donut-evolution-D7cNk_6l.js +0 -903
- package/dist/vue-ui-dumbbell--H80zebk.js +0 -753
- package/dist/vue-ui-flow-lk_HU5NB.js +0 -765
- package/dist/vue-ui-gauge-DWlCh2_B.js +0 -738
- package/dist/vue-ui-heatmap-BK6BNOY_.js +0 -877
- package/dist/vue-ui-history-plot-CGF6lE-7.js +0 -924
- package/dist/vue-ui-nested-donuts-BX0Z0rb1.js +0 -1177
- package/dist/vue-ui-onion-BhjUET_W.js +0 -701
- package/dist/vue-ui-parallel-coordinate-plot-n7QPVLrW.js +0 -807
- package/dist/vue-ui-quick-chart-5xX-yBIY.js +0 -1612
- package/dist/vue-ui-ridgeline-DQ8RQf3E.js +0 -969
- package/dist/vue-ui-rings-Cze6OsmO.js +0 -685
- package/dist/vue-ui-scatter-CwI3_Dn7.js +0 -1045
- package/dist/vue-ui-sparkbar-C6wsNMMO.js +0 -301
- package/dist/vue-ui-sparkline-R7pfxRWN.js +0 -459
- package/dist/vue-ui-sparkstackbar-DV_XqJQ2.js +0 -381
- package/dist/vue-ui-stackbar-gReSujA_.js +0 -1207
- package/dist/vue-ui-strip-plot-8fsm3nn2.js +0 -761
- package/dist/vue-ui-thermometer-BIkXa4hY.js +0 -495
- package/dist/vue-ui-tiremarks-YWbRk0dm.js +0 -358
- package/dist/vue-ui-treemap-D2OnG3Fh.js +0 -965
- package/dist/vue-ui-waffle-BdaCXuWc.js +0 -863
- package/dist/vue-ui-wheel-Bw3XSa8N.js +0 -352
- package/dist/vue-ui-word-cloud-BH8UZH_J.js +0 -659
- package/dist/vue-ui-xy-Be--zwe9.js +0 -2980
|
@@ -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 { u as F, R as B, X as u, s as v, _ as O } from "./index-
|
|
3
|
-
import { u as V } from "./useNestedProp-
|
|
4
|
-
import y from "./PackageVersion-
|
|
2
|
+
import { u as F, R as B, X as u, s as v, _ as O } from "./index-BLtc1AIS.js";
|
|
3
|
+
import { u as V } from "./useNestedProp-DExlTpuj.js";
|
|
4
|
+
import y from "./PackageVersion-5S8ajCUS.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"], 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",
|
|
@@ -1,12 +1,12 @@
|
|
|
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,
|
|
3
|
-
import { u as Q } from "./useNestedProp-
|
|
2
|
+
import { u as P, o as q, f as J, k as x, i as b, X as f, x as m } from "./index-BLtc1AIS.js";
|
|
3
|
+
import { u as Q } from "./useNestedProp-DExlTpuj.js";
|
|
4
4
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Z = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "vue-ui-rating-title",
|
|
8
8
|
style: { width: "100%" }
|
|
9
|
-
}, tt = ["xmlns", "stroke"], et = { id: "vueUiSmiley0" }, lt = ["stop-color"], ot = ["stop-color"], at = ["fill"], st = ["stroke"], it = ["xmlns", "viewBox", "stroke"], nt = { id: "vueUiSmiley0" }, rt = ["stop-color"], dt = ["stop-color"], ut = ["fill"], vt = ["viewBox", "stroke"], pt = ["xmlns", "stroke"], yt = { id: "vueUiSmiley1" }, ft = ["stop-color"], ht = ["stop-color"], ct = ["fill"], gt = ["xmlns", "stroke"],
|
|
9
|
+
}, tt = ["xmlns", "stroke"], et = { id: "vueUiSmiley0" }, lt = ["stop-color"], ot = ["stop-color"], at = ["fill"], st = ["stroke"], it = ["xmlns", "viewBox", "stroke"], nt = { id: "vueUiSmiley0" }, rt = ["stop-color"], dt = ["stop-color"], ut = ["fill"], vt = ["viewBox", "stroke"], pt = ["xmlns", "stroke"], yt = { id: "vueUiSmiley1" }, ft = ["stop-color"], ht = ["stop-color"], ct = ["fill"], gt = ["xmlns", "stroke"], kt = ["xmlns", "viewBox", "stroke"], mt = { id: "vueUiSmiley1" }, xt = ["stop-color"], bt = ["stop-color"], $t = ["fill"], wt = ["viewBox", "stroke"], zt = ["xmlns", "stroke"], Mt = { id: "vueUiSmiley2" }, St = ["stop-color"], _t = ["stop-color"], Rt = ["fill"], Ct = ["xmlns", "stroke"], Bt = ["xmlns", "viewBox", "stroke"], jt = { id: "vueUiSmiley2" }, Ht = ["stop-color"], Ut = ["stop-color"], Gt = ["fill"], Vt = ["xmlns", "viewBox", "stroke"], At = ["xmlns", "stroke"], Xt = { id: "vueUiSmiley3" }, Yt = ["stop-color"], Nt = ["stop-color"], Ft = ["fill"], It = ["xmlns", "stroke"], Kt = ["xmlns", "viewBox", "stroke"], Ot = { id: "vueUiSmiley3" }, Lt = ["stop-color"], Dt = ["stop-color"], Et = ["fill"], Tt = ["xmlns", "viewBox", "stroke"], Pt = ["xmlns", "stroke"], qt = { id: "vueUiSmiley4" }, Jt = ["stop-color"], Qt = ["stop-color"], Wt = ["fill"], Zt = ["xmlns", "stroke"], te = ["xmlns", "viewBox", "stroke"], ee = { id: "vueUiSmiley4" }, le = ["stop-color"], oe = ["stop-color"], ae = ["fill"], se = ["xmlns", "viewBox", "stroke"], ie = {
|
|
10
10
|
__name: "vue-ui-smiley",
|
|
11
11
|
props: {
|
|
12
12
|
config: {
|
|
@@ -71,7 +71,7 @@ const Z = {
|
|
|
71
71
|
return e * n;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function k(r) {
|
|
75
75
|
y.value || (p.value = r, F("rate", r));
|
|
76
76
|
}
|
|
77
77
|
function O() {
|
|
@@ -139,8 +139,8 @@ const Z = {
|
|
|
139
139
|
position:relative`),
|
|
140
140
|
onMouseenter: e[0] || (e[0] = (n) => v.value = 0),
|
|
141
141
|
onMouseleave: e[1] || (e[1] = (n) => v.value = void 0),
|
|
142
|
-
onClick: e[2] || (e[2] = (n) =>
|
|
143
|
-
onKeyup: e[3] || (e[3] = z((n) =>
|
|
142
|
+
onClick: e[2] || (e[2] = (n) => k(1)),
|
|
143
|
+
onKeyup: e[3] || (e[3] = z((n) => k(1), ["enter"]))
|
|
144
144
|
}, [
|
|
145
145
|
t.value.style.tooltip.show && w.value && y.value ? (i(), s("div", {
|
|
146
146
|
key: 0,
|
|
@@ -186,7 +186,7 @@ const Z = {
|
|
|
186
186
|
l("radialGradient", et, [
|
|
187
187
|
l("stop", {
|
|
188
188
|
offset: "0%",
|
|
189
|
-
"stop-color": o(
|
|
189
|
+
"stop-color": o(m)(t.value.style.colors.active[0], 0.05)
|
|
190
190
|
}, null, 8, lt),
|
|
191
191
|
l("stop", {
|
|
192
192
|
offset: "100%",
|
|
@@ -233,7 +233,7 @@ const Z = {
|
|
|
233
233
|
l("radialGradient", nt, [
|
|
234
234
|
l("stop", {
|
|
235
235
|
offset: "0%",
|
|
236
|
-
"stop-color": o(
|
|
236
|
+
"stop-color": o(m)(t.value.style.colors.activeReadonly[0], 0.05)
|
|
237
237
|
}, null, 8, rt),
|
|
238
238
|
l("stop", {
|
|
239
239
|
offset: "100%",
|
|
@@ -272,8 +272,8 @@ const Z = {
|
|
|
272
272
|
style: a(`cursor:${t.value.readonly ? "default" : "pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
273
273
|
onMouseenter: e[4] || (e[4] = (n) => v.value = 1),
|
|
274
274
|
onMouseleave: e[5] || (e[5] = (n) => v.value = void 0),
|
|
275
|
-
onClick: e[6] || (e[6] = (n) =>
|
|
276
|
-
onKeyup: e[7] || (e[7] = z((n) =>
|
|
275
|
+
onClick: e[6] || (e[6] = (n) => k(2)),
|
|
276
|
+
onKeyup: e[7] || (e[7] = z((n) => k(2), ["enter"]))
|
|
277
277
|
}, [
|
|
278
278
|
t.value.style.tooltip.show && w.value && y.value ? (i(), s("div", {
|
|
279
279
|
key: 0,
|
|
@@ -319,7 +319,7 @@ const Z = {
|
|
|
319
319
|
l("radialGradient", yt, [
|
|
320
320
|
l("stop", {
|
|
321
321
|
offset: "0%",
|
|
322
|
-
"stop-color": o(
|
|
322
|
+
"stop-color": o(m)(t.value.style.colors.active[1], 0.05)
|
|
323
323
|
}, null, 8, ft),
|
|
324
324
|
l("stop", {
|
|
325
325
|
offset: "100%",
|
|
@@ -364,10 +364,10 @@ const Z = {
|
|
|
364
364
|
"stroke-linejoin": "round"
|
|
365
365
|
}, [
|
|
366
366
|
l("defs", null, [
|
|
367
|
-
l("radialGradient",
|
|
367
|
+
l("radialGradient", mt, [
|
|
368
368
|
l("stop", {
|
|
369
369
|
offset: "0%",
|
|
370
|
-
"stop-color": o(
|
|
370
|
+
"stop-color": o(m)(t.value.style.colors.activeReadonly[1], 0.05)
|
|
371
371
|
}, null, 8, xt),
|
|
372
372
|
l("stop", {
|
|
373
373
|
offset: "100%",
|
|
@@ -385,7 +385,7 @@ const Z = {
|
|
|
385
385
|
"stroke-width": "0",
|
|
386
386
|
fill: t.value.style.icons.useGradient ? "url(#vueUiSmiley1)" : t.value.style.colors.activeReadonly[1]
|
|
387
387
|
}, null, 8, $t)
|
|
388
|
-
], 8,
|
|
388
|
+
], 8, kt)) : d("", !0),
|
|
389
389
|
!t.value.style.icons.filled && y.value ? (i(), s("svg", {
|
|
390
390
|
key: 4,
|
|
391
391
|
style: { position: "absolute", top: "0", left: "0", transition: "all 0.1s ease-in-out" },
|
|
@@ -406,8 +406,8 @@ const Z = {
|
|
|
406
406
|
style: a(`cursor:${t.value.readonly ? "default" : "pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
407
407
|
onMouseenter: e[8] || (e[8] = (n) => v.value = 2),
|
|
408
408
|
onMouseleave: e[9] || (e[9] = (n) => v.value = void 0),
|
|
409
|
-
onClick: e[10] || (e[10] = (n) =>
|
|
410
|
-
onKeyup: e[11] || (e[11] = z((n) =>
|
|
409
|
+
onClick: e[10] || (e[10] = (n) => k(3)),
|
|
410
|
+
onKeyup: e[11] || (e[11] = z((n) => k(3), ["enter"]))
|
|
411
411
|
}, [
|
|
412
412
|
t.value.style.tooltip.show && w.value && y.value ? (i(), s("div", {
|
|
413
413
|
key: 0,
|
|
@@ -453,7 +453,7 @@ const Z = {
|
|
|
453
453
|
l("radialGradient", Mt, [
|
|
454
454
|
l("stop", {
|
|
455
455
|
offset: "0%",
|
|
456
|
-
"stop-color": o(
|
|
456
|
+
"stop-color": o(m)(t.value.style.colors.activeReadonly[2], 0.05)
|
|
457
457
|
}, null, 8, St),
|
|
458
458
|
l("stop", {
|
|
459
459
|
offset: "100%",
|
|
@@ -513,7 +513,7 @@ const Z = {
|
|
|
513
513
|
l("radialGradient", jt, [
|
|
514
514
|
l("stop", {
|
|
515
515
|
offset: "0%",
|
|
516
|
-
"stop-color": o(
|
|
516
|
+
"stop-color": o(m)(t.value.style.colors.activeReadonly[2], 0.05)
|
|
517
517
|
}, null, 8, Ht),
|
|
518
518
|
l("stop", {
|
|
519
519
|
offset: "100%",
|
|
@@ -555,8 +555,8 @@ const Z = {
|
|
|
555
555
|
style: a(`cursor:${t.value.readonly ? "default" : "pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
556
556
|
onMouseenter: e[12] || (e[12] = (n) => v.value = 3),
|
|
557
557
|
onMouseleave: e[13] || (e[13] = (n) => v.value = void 0),
|
|
558
|
-
onClick: e[14] || (e[14] = (n) =>
|
|
559
|
-
onKeyup: e[15] || (e[15] = z((n) =>
|
|
558
|
+
onClick: e[14] || (e[14] = (n) => k(4)),
|
|
559
|
+
onKeyup: e[15] || (e[15] = z((n) => k(4), ["enter"]))
|
|
560
560
|
}, [
|
|
561
561
|
t.value.style.tooltip.show && w.value && y.value ? (i(), s("div", {
|
|
562
562
|
key: 0,
|
|
@@ -602,7 +602,7 @@ const Z = {
|
|
|
602
602
|
l("radialGradient", Xt, [
|
|
603
603
|
l("stop", {
|
|
604
604
|
offset: "0%",
|
|
605
|
-
"stop-color": o(
|
|
605
|
+
"stop-color": o(m)(t.value.style.colors.activeReadonly[3], 0.95)
|
|
606
606
|
}, null, 8, Yt),
|
|
607
607
|
l("stop", {
|
|
608
608
|
offset: "100%",
|
|
@@ -655,7 +655,7 @@ const Z = {
|
|
|
655
655
|
l("radialGradient", Ot, [
|
|
656
656
|
l("stop", {
|
|
657
657
|
offset: "0%",
|
|
658
|
-
"stop-color": o(
|
|
658
|
+
"stop-color": o(m)(t.value.style.colors.activeReadonly[3], 0.95)
|
|
659
659
|
}, null, 8, Lt),
|
|
660
660
|
l("stop", {
|
|
661
661
|
offset: "100%",
|
|
@@ -690,8 +690,8 @@ const Z = {
|
|
|
690
690
|
style: a(`cursor:${t.value.readonly ? "default" : "pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
691
691
|
onMouseenter: e[16] || (e[16] = (n) => v.value = 4),
|
|
692
692
|
onMouseleave: e[17] || (e[17] = (n) => v.value = void 0),
|
|
693
|
-
onClick: e[18] || (e[18] = (n) =>
|
|
694
|
-
onKeyup: e[19] || (e[19] = z((n) =>
|
|
693
|
+
onClick: e[18] || (e[18] = (n) => k(5)),
|
|
694
|
+
onKeyup: e[19] || (e[19] = z((n) => k(5), ["enter"]))
|
|
695
695
|
}, [
|
|
696
696
|
t.value.style.tooltip.show && w.value && y.value ? (i(), s("div", {
|
|
697
697
|
key: 0,
|
|
@@ -737,7 +737,7 @@ const Z = {
|
|
|
737
737
|
l("radialGradient", qt, [
|
|
738
738
|
l("stop", {
|
|
739
739
|
offset: "0%",
|
|
740
|
-
"stop-color": o(
|
|
740
|
+
"stop-color": o(m)(t.value.style.colors.activeReadonly[4], 0.9)
|
|
741
741
|
}, null, 8, Jt),
|
|
742
742
|
l("stop", {
|
|
743
743
|
offset: "100%",
|
|
@@ -790,7 +790,7 @@ const Z = {
|
|
|
790
790
|
l("radialGradient", ee, [
|
|
791
791
|
l("stop", {
|
|
792
792
|
offset: "0%",
|
|
793
|
-
"stop-color": o(
|
|
793
|
+
"stop-color": o(m)(t.value.style.colors.activeReadonly[4], 0.9)
|
|
794
794
|
}, null, 8, le),
|
|
795
795
|
l("stop", {
|
|
796
796
|
offset: "100%",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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,
|
|
3
|
-
import { u as q } from "./useNestedProp-
|
|
2
|
+
import { u as le, c as ne, b as oe, a5 as I, o as se, f as ue, h as c, a6 as re, X as ie, s as F, V as U, i as P, k as de } from "./index-BLtc1AIS.js";
|
|
3
|
+
import { u as q } from "./useNestedProp-DExlTpuj.js";
|
|
4
4
|
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
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 = {
|
|
6
6
|
key: 2,
|
|
@@ -23,7 +23,7 @@ const he = ["id"], ce = ["xmlns", "viewBox"], ye = ["width", "height"], fe = ["i
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
setup(W) {
|
|
26
|
-
const $ = M(() => import("./BaseIcon-
|
|
26
|
+
const $ = M(() => import("./BaseIcon-C3ljqn8J.js")), X = M(() => import("./PackageVersion-5S8ajCUS.js")), Z = M(() => import("./vue-ui-skeleton-FanSnKr8.js")), { vue_ui_spark_trend: R } = le(), d = W, H = s(() => !!d.dataset && d.dataset.length), b = k(ne()), e = s({
|
|
27
27
|
get: () => j(),
|
|
28
28
|
set: (t) => t
|
|
29
29
|
});
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
import { defineAsyncComponent as Z, useSlots as ee, onMounted as B, ref as x, toRefs as te, computed as w, watch as E, nextTick as le, createElementBlock as i, openBlock as n, normalizeStyle as d, unref as o, renderSlot as D, createCommentVNode as c, createBlock as ae, normalizeProps as oe, mergeProps as M, createElementVNode as v, toDisplayString as y, Fragment as P, renderList as se, createVNode as ne } from "vue";
|
|
2
|
+
import { u as ue, c as ie, t as re, a as ve, p as C, b as de, d as ce, o as pe, f as V, g as fe, e as ye, s as I, k as _, i as A, X as ge, x as me } from "./index-BLtc1AIS.js";
|
|
3
|
+
import { u as O } from "./useNestedProp-DExlTpuj.js";
|
|
4
|
+
import { u as he, B as xe } from "./useLoading-Bt5Doa8m.js";
|
|
5
|
+
const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["xmlns", "viewBox"], Ce = ["id"], _e = ["stop-color"], Ae = ["stop-color"], Se = ["height", "width", "fill", "rx"], $e = ["height", "width", "fill", "rx"], De = ["height", "width", "fill", "rx"], Ie = {
|
|
6
|
+
key: 2,
|
|
7
|
+
ref: "source",
|
|
8
|
+
dir: "auto"
|
|
9
|
+
}, Fe = {
|
|
10
|
+
__name: "vue-ui-sparkbar",
|
|
11
|
+
props: {
|
|
12
|
+
config: {
|
|
13
|
+
type: Object,
|
|
14
|
+
default() {
|
|
15
|
+
return {};
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
dataset: {
|
|
19
|
+
type: Array,
|
|
20
|
+
default() {
|
|
21
|
+
return [];
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* Used in VueUiRadar's tooltip exclusively
|
|
26
|
+
*/
|
|
27
|
+
backgroundOpacity: {
|
|
28
|
+
type: Number,
|
|
29
|
+
default: null
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
emits: ["selectDatapoint"],
|
|
33
|
+
setup(S, { emit: j }) {
|
|
34
|
+
const U = Z(() => import("./PackageVersion-5S8ajCUS.js")), { vue_ui_sparkbar: R } = ue(), f = S, W = ee();
|
|
35
|
+
B(() => {
|
|
36
|
+
W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
37
|
+
});
|
|
38
|
+
const L = x(ie()), e = x($()), { loading: k, FINAL_DATASET: p } = he({
|
|
39
|
+
...te(f),
|
|
40
|
+
FINAL_CONFIG: e,
|
|
41
|
+
prepareConfig: $,
|
|
42
|
+
skeletonDataset: [
|
|
43
|
+
{ name: "_", value: 21, target: 25, color: "#808080" },
|
|
44
|
+
{ name: "_", value: 13, target: 25, color: "#ADADAD" },
|
|
45
|
+
{ name: "_", value: 8, target: 25, color: "#DBDBDB" }
|
|
46
|
+
],
|
|
47
|
+
skeletonConfig: re({
|
|
48
|
+
defaultConfig: e.value,
|
|
49
|
+
userConfig: {
|
|
50
|
+
style: {
|
|
51
|
+
backgroundColor: "#99999930",
|
|
52
|
+
animation: { show: !1 },
|
|
53
|
+
layout: { independant: !0 },
|
|
54
|
+
gutter: {
|
|
55
|
+
backgroundColor: "#6A6A6A",
|
|
56
|
+
opacity: 50
|
|
57
|
+
},
|
|
58
|
+
bar: {
|
|
59
|
+
gradient: {
|
|
60
|
+
underlayerColor: "#6A6A6A"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
66
|
+
}), T = w(() => !!e.value.debug);
|
|
67
|
+
function $() {
|
|
68
|
+
const t = O({
|
|
69
|
+
userConfig: f.config,
|
|
70
|
+
defaultConfig: R
|
|
71
|
+
});
|
|
72
|
+
return t.theme ? {
|
|
73
|
+
...O({
|
|
74
|
+
userConfig: de.vue_ui_sparkbar[t.theme] || f.config,
|
|
75
|
+
defaultConfig: t
|
|
76
|
+
}),
|
|
77
|
+
customPalette: ve[t.theme] || C
|
|
78
|
+
} : t;
|
|
79
|
+
}
|
|
80
|
+
E(() => f.config, (t) => {
|
|
81
|
+
e.value = $();
|
|
82
|
+
}, { deep: !0 });
|
|
83
|
+
const G = w(() => ce(e.value.customPalette)), g = x(p.value.map((t) => ({
|
|
84
|
+
...t,
|
|
85
|
+
value: e.value.style.animation.show ? 0 : t.value || 0,
|
|
86
|
+
formatter: t.formatter || null
|
|
87
|
+
}))), z = x(null);
|
|
88
|
+
B(async () => {
|
|
89
|
+
pe(f.dataset) && V({
|
|
90
|
+
componentName: "VueUiSparkbar",
|
|
91
|
+
type: "dataset",
|
|
92
|
+
debug: T.value
|
|
93
|
+
}), N();
|
|
94
|
+
});
|
|
95
|
+
function N() {
|
|
96
|
+
if (e.value.style.animation.show) {
|
|
97
|
+
let h = function() {
|
|
98
|
+
s += l / t, s < l ? (g.value = g.value.map((u, b) => ({
|
|
99
|
+
...u,
|
|
100
|
+
value: u.value += a[b]
|
|
101
|
+
})), z.value = requestAnimationFrame(h)) : g.value = p.value.map((u) => ({
|
|
102
|
+
...u,
|
|
103
|
+
value: u.value || 0,
|
|
104
|
+
formatter: u.formatter || null
|
|
105
|
+
}));
|
|
106
|
+
};
|
|
107
|
+
const t = e.value.style.animation.animationFrames, a = p.value.map((u, b) => u.value / t), l = p.value.map((u) => u.value || 0).reduce((u, b) => u + b, 0);
|
|
108
|
+
let s = 0;
|
|
109
|
+
h();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
E(() => p.value, async (t) => {
|
|
113
|
+
cancelAnimationFrame(z.value), g.value = p.value.map((a) => ({
|
|
114
|
+
...a,
|
|
115
|
+
value: e.value.style.animation.show ? 0 : a.value || 0,
|
|
116
|
+
formatter: a.formatter || null
|
|
117
|
+
})), le(N);
|
|
118
|
+
}, { deep: !0 });
|
|
119
|
+
const r = x({
|
|
120
|
+
width: 500,
|
|
121
|
+
height: 16
|
|
122
|
+
}), q = w(() => Math.max(...p.value.map((t) => t.value))), H = w(() => (p.value.forEach((t, a) => {
|
|
123
|
+
fe({
|
|
124
|
+
datasetObject: t,
|
|
125
|
+
requiredAttributes: ["name", "value"]
|
|
126
|
+
}).forEach((l) => {
|
|
127
|
+
V({
|
|
128
|
+
componentName: "VueUiSparkbar",
|
|
129
|
+
type: "datasetSerieAttribute",
|
|
130
|
+
property: l,
|
|
131
|
+
index: a,
|
|
132
|
+
debug: T.value
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
}), g.value.map((t, a) => ({
|
|
136
|
+
...t,
|
|
137
|
+
value: t.value || 0,
|
|
138
|
+
color: ye(t.color) || G.value[a] || C[a] || C[a % C.length]
|
|
139
|
+
}))));
|
|
140
|
+
function X(t) {
|
|
141
|
+
return t / q.value;
|
|
142
|
+
}
|
|
143
|
+
function F(t) {
|
|
144
|
+
return e.value.style.layout.independant ? t.target ? t.value / t.target : e.value.style.layout.percentage ? t.value > 100 ? 1 : t.value / 100 : e.value.style.layout.target === 0 ? 1 : t.value / e.value.style.layout.target : X(t.value);
|
|
145
|
+
}
|
|
146
|
+
function m(t) {
|
|
147
|
+
return e.value.style.layout.independant && t.target || e.value.style.layout.target;
|
|
148
|
+
}
|
|
149
|
+
const J = j;
|
|
150
|
+
function K(t, a) {
|
|
151
|
+
J("selectDatapoint", { datapoint: t, index: a }), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
|
|
152
|
+
}
|
|
153
|
+
function Q(t, a) {
|
|
154
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a });
|
|
155
|
+
}
|
|
156
|
+
function Y(t, a) {
|
|
157
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
|
|
158
|
+
}
|
|
159
|
+
return (t, a) => (n(), i("div", {
|
|
160
|
+
class: "vue-ui-sparkbar",
|
|
161
|
+
style: d({
|
|
162
|
+
width: "100%",
|
|
163
|
+
position: "relative",
|
|
164
|
+
fontFamily: e.value.style.fontFamily,
|
|
165
|
+
background: f.backgroundOpacity !== null ? o(I)(e.value.style.backgroundColor, f.backgroundOpacity) : e.value.style.backgroundColor
|
|
166
|
+
})
|
|
167
|
+
}, [
|
|
168
|
+
t.$slots.title ? D(t.$slots, "title", oe(M({ key: 0 }, { title: { ...t.title, title: e.value.style.title.text, subtitle: e.value.style.title.subtitle.text } }))) : c("", !0),
|
|
169
|
+
!t.$slots.title && e.value.style.title.text ? (n(), i("div", {
|
|
170
|
+
key: 1,
|
|
171
|
+
class: "vue-ui-sparkbar-title-container",
|
|
172
|
+
style: d({
|
|
173
|
+
background: e.value.style.title.backgroundColor,
|
|
174
|
+
margin: e.value.style.title.margin,
|
|
175
|
+
textAlign: e.value.style.title.textAlign
|
|
176
|
+
})
|
|
177
|
+
}, [
|
|
178
|
+
v("div", {
|
|
179
|
+
class: "vue-ui-sparkbar-title",
|
|
180
|
+
style: d({
|
|
181
|
+
fontSize: e.value.style.title.fontSize + "px",
|
|
182
|
+
color: e.value.style.title.color,
|
|
183
|
+
fontWeight: e.value.style.title.bold ? "bold" : "normal"
|
|
184
|
+
})
|
|
185
|
+
}, y(e.value.style.title.text), 5),
|
|
186
|
+
e.value.style.title.subtitle.text ? (n(), i("div", {
|
|
187
|
+
key: 0,
|
|
188
|
+
class: "vue-ui-sparkbar-subtitle",
|
|
189
|
+
style: d({
|
|
190
|
+
fontSize: e.value.style.title.subtitle.fontSize + "px",
|
|
191
|
+
color: e.value.style.title.subtitle.color,
|
|
192
|
+
fontWeight: e.value.style.title.subtitle.bold ? "bold" : "normal"
|
|
193
|
+
})
|
|
194
|
+
}, y(e.value.style.title.subtitle.text), 5)) : c("", !0)
|
|
195
|
+
], 4)) : c("", !0),
|
|
196
|
+
(n(!0), i(P, null, se(H.value, (l, s) => (n(), i("div", {
|
|
197
|
+
style: d(`display:flex !important;${["left", "right"].includes(e.value.style.labels.name.position) ? `flex-direction: ${e.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${e.value.style.gap}px !important;align-items:center;${S.dataset.length > 0 && s !== S.dataset.length - 1 ? "margin-bottom:6px" : ""}`),
|
|
198
|
+
onClick: (h) => K(l, s),
|
|
199
|
+
onMouseenter: (h) => Q(l, s),
|
|
200
|
+
onMouseleave: (h) => Y(l, s)
|
|
201
|
+
}, [
|
|
202
|
+
o(k) ? c("", !0) : D(t.$slots, "data-label", M({
|
|
203
|
+
key: 0,
|
|
204
|
+
ref_for: !0
|
|
205
|
+
}, { bar: {
|
|
206
|
+
...l,
|
|
207
|
+
target: m(l),
|
|
208
|
+
valueLabel: o(_)(
|
|
209
|
+
l.formatter,
|
|
210
|
+
l.value,
|
|
211
|
+
o(A)({
|
|
212
|
+
p: l.prefix || "",
|
|
213
|
+
v: l.value,
|
|
214
|
+
s: l.suffix || "",
|
|
215
|
+
r: l.rounding || 0
|
|
216
|
+
}),
|
|
217
|
+
{ datapoint: l, seriesIndex: s }
|
|
218
|
+
),
|
|
219
|
+
targetLabel: o(_)(
|
|
220
|
+
l.formatter,
|
|
221
|
+
m(l),
|
|
222
|
+
o(A)({
|
|
223
|
+
p: l.prefix || "",
|
|
224
|
+
v: m(l),
|
|
225
|
+
s: l.suffix || "",
|
|
226
|
+
r: l.rounding || 0
|
|
227
|
+
}),
|
|
228
|
+
{ datapoint: l, seriesIndex: s }
|
|
229
|
+
)
|
|
230
|
+
} })),
|
|
231
|
+
!t.$slots["data-label"] || o(k) ? (n(), i("div", {
|
|
232
|
+
key: 1,
|
|
233
|
+
style: d({
|
|
234
|
+
display: "flex",
|
|
235
|
+
justifyContent: ["right", "top-right"].includes(e.value.style.labels.name.position) ? "flex-end" : ["top-center"].includes(e.value.style.labels.name.position) ? "center" : "flex-start",
|
|
236
|
+
alignItems: "center",
|
|
237
|
+
width: e.value.style.labels.name.width,
|
|
238
|
+
color: e.value.style.labels.name.color,
|
|
239
|
+
fontSize: e.value.style.labels.fontSize + "px",
|
|
240
|
+
fontWeight: e.value.style.labels.name.bold ? "bold" : "normal",
|
|
241
|
+
flexWrap: "wrap"
|
|
242
|
+
})
|
|
243
|
+
}, [
|
|
244
|
+
o(k) ? (n(), i("div", {
|
|
245
|
+
key: 0,
|
|
246
|
+
class: "vue-ui-sparkbar-skeleton-name",
|
|
247
|
+
style: d({
|
|
248
|
+
width: "60px",
|
|
249
|
+
height: e.value.style.labels.fontSize + "px",
|
|
250
|
+
borderRadius: e.value.style.labels.fontSize / 4 + "px",
|
|
251
|
+
display: "flex",
|
|
252
|
+
alignItems: "center",
|
|
253
|
+
justifyContent: "space-between",
|
|
254
|
+
marginTop: "5px"
|
|
255
|
+
})
|
|
256
|
+
}, [
|
|
257
|
+
v("div", {
|
|
258
|
+
style: d({ height: "100%", width: "40px", borderRadius: e.value.style.labels.fontSize / 4 + "px", backgroundColor: "#6A6A6A80" })
|
|
259
|
+
}, null, 4),
|
|
260
|
+
v("div", {
|
|
261
|
+
style: d({ height: "100%", width: "15px", borderRadius: e.value.style.labels.fontSize / 4 + "px", backgroundColor: "#6A6A6A80" })
|
|
262
|
+
}, null, 4)
|
|
263
|
+
], 4)) : (n(), i(P, { key: 1 }, [
|
|
264
|
+
v("span", null, y(l.name), 1),
|
|
265
|
+
e.value.style.labels.value.show ? (n(), i("span", {
|
|
266
|
+
key: 0,
|
|
267
|
+
style: d(`font-weight:${e.value.style.labels.value.bold ? "bold" : "normal"}`)
|
|
268
|
+
}, ": " + y(o(_)(
|
|
269
|
+
l.formatter,
|
|
270
|
+
l.value,
|
|
271
|
+
o(A)({
|
|
272
|
+
p: l.prefix || "",
|
|
273
|
+
v: l.value,
|
|
274
|
+
s: l.suffix || "",
|
|
275
|
+
r: l.rounding || 0
|
|
276
|
+
}),
|
|
277
|
+
{ datapoint: l, seriesIndex: s }
|
|
278
|
+
)), 5)) : c("", !0),
|
|
279
|
+
e.value.style.layout.showTargetValue ? (n(), i("span", be, y(" " + e.value.style.layout.targetValueText) + " " + y(o(_)(
|
|
280
|
+
l.formatter,
|
|
281
|
+
m(l),
|
|
282
|
+
o(A)({
|
|
283
|
+
p: l.prefix || "",
|
|
284
|
+
v: m(l),
|
|
285
|
+
s: l.suffix || "",
|
|
286
|
+
r: l.rounding || 0
|
|
287
|
+
}),
|
|
288
|
+
{ datapoint: l, seriesIndex: s }
|
|
289
|
+
)), 1)) : c("", !0)
|
|
290
|
+
], 64))
|
|
291
|
+
], 4)) : c("", !0),
|
|
292
|
+
(n(), i("svg", {
|
|
293
|
+
xmlns: o(ge),
|
|
294
|
+
viewBox: `0 0 ${r.value.width} ${r.value.height}`,
|
|
295
|
+
width: "100%"
|
|
296
|
+
}, [
|
|
297
|
+
ne(o(U)),
|
|
298
|
+
v("defs", null, [
|
|
299
|
+
v("linearGradient", {
|
|
300
|
+
x1: "0%",
|
|
301
|
+
y1: "0%",
|
|
302
|
+
x2: "100%",
|
|
303
|
+
y2: "0%",
|
|
304
|
+
id: `sparkbar_gradient_${s}_${L.value}`
|
|
305
|
+
}, [
|
|
306
|
+
v("stop", {
|
|
307
|
+
offset: "0%",
|
|
308
|
+
"stop-color": o(I)(o(me)(l.color, 0.03), 100 - e.value.style.bar.gradient.intensity)
|
|
309
|
+
}, null, 8, _e),
|
|
310
|
+
v("stop", {
|
|
311
|
+
offset: "100%",
|
|
312
|
+
"stop-color": l.color
|
|
313
|
+
}, null, 8, Ae)
|
|
314
|
+
], 8, Ce)
|
|
315
|
+
]),
|
|
316
|
+
v("rect", {
|
|
317
|
+
height: r.value.height,
|
|
318
|
+
width: r.value.width,
|
|
319
|
+
x: 0,
|
|
320
|
+
y: 0,
|
|
321
|
+
fill: o(I)(e.value.style.gutter.backgroundColor, e.value.style.gutter.opacity),
|
|
322
|
+
rx: r.value.height / 2
|
|
323
|
+
}, null, 8, Se),
|
|
324
|
+
v("rect", {
|
|
325
|
+
height: r.value.height,
|
|
326
|
+
width: r.value.width * F(l),
|
|
327
|
+
x: 0,
|
|
328
|
+
y: 0,
|
|
329
|
+
fill: e.value.style.bar.gradient.underlayerColor,
|
|
330
|
+
rx: r.value.height / 2
|
|
331
|
+
}, null, 8, $e),
|
|
332
|
+
v("rect", {
|
|
333
|
+
height: r.value.height,
|
|
334
|
+
width: r.value.width * F(l),
|
|
335
|
+
x: 0,
|
|
336
|
+
y: 0,
|
|
337
|
+
fill: e.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${s}_${L.value})` : l.color,
|
|
338
|
+
rx: r.value.height / 2
|
|
339
|
+
}, null, 8, De)
|
|
340
|
+
], 8, we))
|
|
341
|
+
], 44, ke))), 256)),
|
|
342
|
+
t.$slots.source ? (n(), i("div", Ie, [
|
|
343
|
+
D(t.$slots, "source")
|
|
344
|
+
], 512)) : c("", !0),
|
|
345
|
+
o(k) ? (n(), ae(xe, { key: 3 })) : c("", !0)
|
|
346
|
+
], 4));
|
|
347
|
+
}
|
|
348
|
+
};
|
|
349
|
+
export {
|
|
350
|
+
Fe as default
|
|
351
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as A, computed as s, onMounted as N, ref as M, watch as S, createElementBlock as r, openBlock as n, normalizeStyle as y, createCommentVNode as v, createBlock as R, toDisplayString as g, unref as i, createVNode as U, createElementVNode as d, renderSlot as z, normalizeClass as q } from "vue";
|
|
2
|
-
import { u as O } from "./useNestedProp-
|
|
3
|
-
import { u as T, o as V,
|
|
2
|
+
import { u as O } from "./useNestedProp-DExlTpuj.js";
|
|
3
|
+
import { u as T, o as V, f as j, g as X, c as H, b as Y, P as J, X as K, k as Q, h as m, i as W } from "./index-BLtc1AIS.js";
|
|
4
4
|
import { u as Z } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
5
|
const ee = ["xmlns", "viewBox"], te = ["width", "height"], ae = ["id"], le = ["stop-color"], oe = ["stop-color"], se = ["d", "stroke", "stroke-linecap"], ue = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], ne = ["x", "y", "font-size", "fill", "font-weight"], ie = {
|
|
6
6
|
key: 4,
|
|
@@ -23,7 +23,7 @@ const ee = ["xmlns", "viewBox"], te = ["width", "height"], ae = ["id"], le = ["s
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
setup(E) {
|
|
26
|
-
const F = A(() => import("./PackageVersion-
|
|
26
|
+
const F = A(() => import("./PackageVersion-5S8ajCUS.js")), B = A(() => import("./vue-ui-skeleton-FanSnKr8.js")), { vue_ui_sparkgauge: D } = T(), a = E, p = s(() => !!a.dataset && Object.keys(a.dataset).length);
|
|
27
27
|
N(() => {
|
|
28
28
|
h();
|
|
29
29
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useCssVars as le, computed as _, defineAsyncComponent as N, onMounted as ae, ref as D, watch as se, createElementBlock as s, openBlock as a, normalizeStyle as $, createCommentVNode as c, createBlock as V, createElementVNode as h, createTextVNode as oe, toDisplayString as p, unref as n, createVNode as ie, renderSlot as I, Fragment as f, renderList as g, normalizeClass as E } from "vue";
|
|
2
|
-
import { u as ue, o as re,
|
|
3
|
-
import { u as W } from "./useNestedProp-
|
|
2
|
+
import { u as ue, o as re, f as H, g as ne, c as ve, b as de, s as b, k as F, i as O, X as ce, x as z } from "./index-BLtc1AIS.js";
|
|
3
|
+
import { u as W } from "./useNestedProp-DExlTpuj.js";
|
|
4
4
|
import { u as ye } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
|
-
import { _ as he } from "./Shape-
|
|
5
|
+
import { _ as he } from "./Shape-DDSX29LV.js";
|
|
6
6
|
import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const ge = { key: 0 }, pe = { key: 1 }, be = ["xmlns", "viewBox"], me = ["width", "height"], _e = ["id"], xe = ["stop-color"], ke = ["stop-color"], we = ["id"], $e = ["stop-color"], Ce = ["stop-color"], Le = ["id"], ze = ["stop-color"], Se = ["stop-color"], Ae = { key: 1 }, Me = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ne = { key: 2 }, De = ["x", "y", "font-size", "font-weight", "fill"], Ve = ["x", "y", "font-size", "fill"], Ie = ["x", "y", "font-size", "fill"], Ee = ["height", "width", "x", "onMouseover", "stroke", "stroke-width", "rx", "stroke-dasharray", "onClick"], He = {
|
|
8
8
|
key: 2,
|
|
@@ -29,7 +29,7 @@ const ge = { key: 0 }, pe = { key: 1 }, be = ["xmlns", "viewBox"], me = ["width"
|
|
|
29
29
|
le((l) => ({
|
|
30
30
|
"2d6ebc7a": J.value
|
|
31
31
|
}));
|
|
32
|
-
const j = N(() => import("./PackageVersion-
|
|
32
|
+
const j = N(() => import("./PackageVersion-5S8ajCUS.js")), R = N(() => import("./vue-ui-skeleton-FanSnKr8.js")), { vue_ui_sparkhistogram: X } = ue(), d = B, S = _(() => !!d.dataset && d.dataset.length);
|
|
33
33
|
ae(() => {
|
|
34
34
|
A();
|
|
35
35
|
});
|