vue-data-ui 2.17.0 → 2.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/{Arrow-BAEkZGzL.js → Arrow-Dr2lyXds.js} +1 -1
- package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-DQ6yA8di.js} +2 -2
- package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-C2f-EcZc.js} +1 -1
- package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-D-JmDe31.js} +2 -2
- package/dist/{DataTable-D0VYDhfx.js → DataTable-6BxhjBzt.js} +2 -2
- package/dist/{Legend-Bxlv67uY.js → Legend-1R-B-7st.js} +11 -11
- package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-CLNy5uCL.js} +3 -3
- package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-CIX1W_aa.js} +1 -1
- package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-CqJ4wudB.js} +3 -3
- package/dist/{Shape-DtFT5EJa.js → Shape-DJKQgAbU.js} +1 -1
- package/dist/{Slicer-CL6-MRI6.js → Slicer-Dju6LE-h.js} +2 -2
- package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-D2mROH3o.js} +1 -1
- package/dist/{Title-B-2bV0SW.js → Title-BQb7X_OR.js} +1 -1
- package/dist/{Tooltip-CoQnTnr-.js → Tooltip-BTnTpPdO.js} +1 -1
- package/dist/{UserOptions-Dd34lEKb.js → UserOptions-lneAyZKu.js} +2 -2
- package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-C-9BWdwN.js} +1 -1
- package/dist/{img-Y_hYz-ZC.js → img-D0DpKcFX.js} +1 -1
- package/dist/{index-pPGk-uhD.js → index-JzUbx__y.js} +22 -8
- package/dist/{pdf-yfk3d1is.js → pdf-BgVDfZPT.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +65 -160
- package/dist/types/vue-data-ui.d.ts +65 -160
- package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-D_jd2dz9.js} +1 -1
- package/dist/{usePrinter-DDHcrl0A.js → usePrinter-CsyliflB.js} +2 -2
- package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-BMv8hEcb.js} +99 -97
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-CrdssfKx.js} +41 -34
- package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-CcTUbiHq.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-ZYFAAcwc.js} +134 -127
- package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-BEgBoRWQ.js} +2 -2
- package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-DYzLfkYB.js} +90 -83
- package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-Cdu2ozig.js} +101 -94
- package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Dce2wfVw.js} +4 -4
- package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CCMAbLrw.js} +270 -263
- package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-B8Sl_FwD.js} +60 -53
- package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-BX6_ToJl.js} +121 -114
- package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-CyaF0qp7.js} +2 -2
- package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-BmL_vnj5.js} +62 -62
- package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-BRKjd-LQ.js} +2 -2
- package/dist/vue-ui-donut-LZR-vpdS.js +1338 -0
- package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-dax3dN9r.js} +215 -211
- package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-C7ZNBVSy.js} +117 -110
- package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-BeLwkeHo.js} +105 -98
- package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BywaRLZR.js} +138 -131
- package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-DYavEd4o.js} +150 -146
- package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-DwQRlRWp.js} +125 -118
- package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-CjRczit6.js} +3 -3
- package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-cRy0tcES.js} +155 -148
- package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-D8aTdU23.js} +141 -134
- package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-B10h_Hbt.js} +3 -3
- package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-DNhr_0fr.js} +2 -2
- package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-4MeyWn0c.js} +141 -134
- package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-DJmgRVT2.js} +126 -119
- package/dist/vue-ui-nested-donuts-CgaPLxV2.js +1177 -0
- package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-swDxtTT3.js} +88 -81
- package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-DayzzOmK.js} +123 -116
- package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-CLf81ioF.js} +151 -144
- package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-smKrpIwq.js} +39 -32
- package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-D8CIvG2q.js} +58 -51
- package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-YZivkWBI.js} +2 -2
- package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-DsEYbNs_.js} +127 -120
- package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-Do6C5lMY.js} +98 -91
- package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-CMryJR1g.js} +208 -204
- package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-BtLKWQbX.js} +172 -165
- package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-B4KQLEQy.js} +3 -3
- package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-CZBuA-1x.js} +2 -2
- package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-CdgyexDu.js} +3 -3
- package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-DuZulYgD.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-Di0FmUXs.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-CHNHz9Gm.js} +4 -4
- package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-TaWMi8gF.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-Bv2HEegT.js} +3 -3
- package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-Bk3Bbzjk.js} +61 -54
- package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-BNMDY4GI.js} +116 -109
- package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-JG0B8HuS.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-CCdWeNZj.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-C1u_b0RG.js} +4 -4
- package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-DkldIXw7.js} +88 -81
- package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-0KDTN-Gt.js} +5 -5
- package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-FPtGzTGi.js} +127 -120
- package/dist/vue-ui-treemap-BA5wC5Bs.js +965 -0
- package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-DUJWYMRn.js} +233 -226
- package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-BIngg99N.js} +183 -179
- package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-l5U2UH9c.js} +121 -114
- package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-CTKuxhFY.js} +152 -145
- package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-Dx5O9Is5.js} +77 -70
- package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-JjA1CMAo.js} +229 -222
- package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-CH82b2Lp.js} +154 -147
- package/package.json +1 -1
- package/dist/vue-ui-donut-CKa7nFjt.js +0 -1324
- package/dist/vue-ui-nested-donuts-D0RgFifU.js +0 -1163
- package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
|
@@ -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-JzUbx__y.js";
|
|
3
|
+
import { u as V } from "./useNestedProp-D_jd2dz9.js";
|
|
4
|
+
import y from "./PackageVersion-CIX1W_aa.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,6 +1,6 @@
|
|
|
1
1
|
import { useSlots as E, onMounted as G, ref as R, computed as _, watch as T, createElementBlock as s, openBlock as i, normalizeStyle as a, createCommentVNode as d, createElementVNode as l, toDisplayString as c, unref as o, withKeys as z, normalizeClass as M, createTextVNode as S, createStaticVNode as $ } from "vue";
|
|
2
|
-
import { u as P, o as q, e as J, i as x, f as b, X as f, w as k } from "./index-
|
|
3
|
-
import { u as Q } from "./useNestedProp-
|
|
2
|
+
import { u as P, o as q, e as J, i as x, f as b, X as f, w as k } from "./index-JzUbx__y.js";
|
|
3
|
+
import { u as Q } from "./useNestedProp-D_jd2dz9.js";
|
|
4
4
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Z = {
|
|
6
6
|
key: 0,
|
|
@@ -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, a as oe, a2 as I, o as se, e as ue, v as c, a3 as re, X as ie, s as F, V as U, f as P, i as de } from "./index-
|
|
3
|
-
import { u as q } from "./useNestedProp-
|
|
2
|
+
import { u as le, c as ne, a as oe, a2 as I, o as se, e as ue, v as c, a3 as re, X as ie, s as F, V as U, f as P, i as de } from "./index-JzUbx__y.js";
|
|
3
|
+
import { u as q } from "./useNestedProp-D_jd2dz9.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-C2f-EcZc.js")), X = M(() => import("./PackageVersion-CIX1W_aa.js")), Z = M(() => import("./vue-ui-skeleton-B4KQLEQy.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
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as V, useSlots as R, onMounted as z, computed as g, ref as k, watch as L, nextTick as Y, createElementBlock as c, openBlock as u, normalizeStyle as p, unref as o, renderSlot as _, createCommentVNode as v, createBlock as Z, normalizeProps as ee, mergeProps as O, createElementVNode as d, toDisplayString as f, Fragment as T, renderList as te, createVNode as le } from "vue";
|
|
2
|
-
import { u as ae, c as oe, t as se, p as x, a as ne, b as ue, o as re, e as E, g as ie, d as ce, s as $, i as b, f as w, X as ve, w as de } from "./index-
|
|
3
|
-
import { u as B } from "./useNestedProp-
|
|
2
|
+
import { u as ae, c as oe, t as se, p as x, a as ne, b as ue, o as re, e as E, g as ie, d as ce, s as $, i as b, f as w, X as ve, w as de } from "./index-JzUbx__y.js";
|
|
3
|
+
import { u as B } from "./useNestedProp-D_jd2dz9.js";
|
|
4
4
|
const pe = ["onClick"], fe = { key: 1 }, ye = ["xmlns", "viewBox"], me = ["id"], ge = ["stop-color"], he = ["stop-color"], ke = ["height", "width", "fill", "rx"], xe = ["height", "width", "fill", "rx"], be = ["height", "width", "fill", "rx"], we = {
|
|
5
5
|
key: 2,
|
|
6
6
|
ref: "source",
|
|
@@ -30,7 +30,7 @@ const pe = ["onClick"], fe = { key: 1 }, ye = ["xmlns", "viewBox"], me = ["id"],
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectDatapoint"],
|
|
32
32
|
setup(C, { emit: M }) {
|
|
33
|
-
const U = V(() => import("./PackageVersion-
|
|
33
|
+
const U = V(() => import("./PackageVersion-CIX1W_aa.js")), j = V(() => import("./vue-ui-skeleton-B4KQLEQy.js")), { vue_ui_sparkbar: G } = ae(), a = C, W = R();
|
|
34
34
|
z(() => {
|
|
35
35
|
W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
36
36
|
});
|
|
@@ -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, e as j, g as X, c as H, a as Y, P as J, X as K, i as Q, v as m, f as W } from "./index-
|
|
2
|
+
import { u as O } from "./useNestedProp-D_jd2dz9.js";
|
|
3
|
+
import { u as T, o as V, e as j, g as X, c as H, a as Y, P as J, X as K, i as Q, v as m, f as W } from "./index-JzUbx__y.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-CIX1W_aa.js")), B = A(() => import("./vue-ui-skeleton-B4KQLEQy.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, e as H, g as ne, c as ve, a as de, s as b, i as F, f as O, X as ce, w as z } from "./index-
|
|
3
|
-
import { u as W } from "./useNestedProp-
|
|
2
|
+
import { u as ue, o as re, e as H, g as ne, c as ve, a as de, s as b, i as F, f as O, X as ce, w as z } from "./index-JzUbx__y.js";
|
|
3
|
+
import { u as W } from "./useNestedProp-D_jd2dz9.js";
|
|
4
4
|
import { u as ye } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
|
-
import { _ as he } from "./Shape-
|
|
5
|
+
import { _ as he } from "./Shape-DJKQgAbU.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-CIX1W_aa.js")), R = N(() => import("./vue-ui-skeleton-B4KQLEQy.js")), { vue_ui_sparkhistogram: X } = ue(), d = B, S = _(() => !!d.dataset && d.dataset.length);
|
|
33
33
|
ae(() => {
|
|
34
34
|
A();
|
|
35
35
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as T, computed as h, ref as m, watch as Q, shallowRef as ee, onMounted as ke, onBeforeUnmount as xe, createElementBlock as v, openBlock as n, normalizeStyle as S, renderSlot as M, createCommentVNode as y, createBlock as te, normalizeProps as ae, guardReactiveProps as le, createElementVNode as f, toDisplayString as z, unref as i, createVNode as _e, Fragment as B, renderList as E, withCtx as we, createTextVNode as Le } from "vue";
|
|
2
|
-
import { u as $e, c as Ne, a as Ce, C as ue, a4 as F, o as Me, e as oe, g as Ie, w as A, a5 as Ve, a6 as Se, X as ze, s as W, V as se, U as Ae, a7 as re, i as G, f as U } from "./index-
|
|
3
|
-
import { u as ne } from "./useNestedProp-
|
|
2
|
+
import { u as $e, c as Ne, a as Ce, C as ue, a4 as F, o as Me, e as oe, g as Ie, w as A, a5 as Ve, a6 as Se, X as ze, s as W, V as se, U as Ae, a7 as re, i as G, f as U } from "./index-JzUbx__y.js";
|
|
3
|
+
import { u as ne } from "./useNestedProp-D_jd2dz9.js";
|
|
4
4
|
import { t as We, u as Pe } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as Re } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
6
|
import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -38,7 +38,7 @@ const Oe = ["id"], Te = ["xmlns", "viewBox"], Be = ["width", "height"], Ee = ["i
|
|
|
38
38
|
},
|
|
39
39
|
emits: ["hoverIndex", "selectDatapoint"],
|
|
40
40
|
setup(_, { emit: ie }) {
|
|
41
|
-
const de = T(() => import("./vue-ui-skeleton-
|
|
41
|
+
const de = T(() => import("./vue-ui-skeleton-B4KQLEQy.js")), ve = T(() => import("./PackageVersion-CIX1W_aa.js")), ce = T(() => import("./SparkTooltip-D2mROH3o.js")), { vue_ui_sparkline: he } = $e(), s = _, I = h(() => Array.isArray(s.dataset) && s.dataset.length > 0), p = m(Ne()), P = m(null), j = m(null), X = m(null), e = h({
|
|
42
42
|
get: () => q(),
|
|
43
43
|
set: (t) => t
|
|
44
44
|
}), { svgRef: Y } = Re({ config: e.value.style.title });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as V, useSlots as pe, onMounted as G, computed as b, ref as d, watch as q, createElementBlock as r, openBlock as s, normalizeStyle as v, createCommentVNode as y, createBlock as ge, createVNode as H, createElementVNode as p, toDisplayString as C, unref as m, Fragment as x, renderList as $, normalizeClass as D, withCtx as X, renderSlot as T, normalizeProps as J, guardReactiveProps as K } from "vue";
|
|
2
|
-
import { u as fe, c as Q, t as he, p as i, a as ye, d as F, b as me, o as be, e as Z, g as ke, f as U, X as _e, s as we, w as Ce, i as ee, x as xe } from "./index-
|
|
3
|
-
import { u as te } from "./useNestedProp-
|
|
2
|
+
import { u as fe, c as Q, t as he, p as i, a as ye, d as F, b as me, o as be, e as Z, g as ke, f as U, X as _e, s as we, w as Ce, i as ee, x as xe } from "./index-JzUbx__y.js";
|
|
3
|
+
import { u as te } from "./useNestedProp-D_jd2dz9.js";
|
|
4
4
|
import { u as $e } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
5
|
import { _ as Se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-color"], Fe = ["stop-color"], Ne = {
|
|
@@ -31,7 +31,7 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["selectDatapoint"],
|
|
33
33
|
setup(le, { emit: oe }) {
|
|
34
|
-
const ae = V(() => import("./PackageVersion-
|
|
34
|
+
const ae = V(() => import("./PackageVersion-CIX1W_aa.js")), se = V(() => import("./vue-ui-skeleton-B4KQLEQy.js")), re = V(() => import("./Tooltip-BTnTpPdO.js")), { vue_ui_sparkstackbar: ne } = fe(), u = le, ue = pe();
|
|
35
35
|
G(() => {
|
|
36
36
|
ue["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
|
|
37
37
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineAsyncComponent as G, useSlots as Zt, computed as w, ref as p, onMounted as ut, watch as ct, shallowRef as ht, onBeforeUnmount as Kt, nextTick as fe, createElementBlock as n, openBlock as s, unref as y, normalizeStyle as J, normalizeClass as oe, createBlock as ee, createCommentVNode as g, renderSlot as z, createElementVNode as q, createVNode as ie, createSlots as vt, withCtx as _, normalizeProps as
|
|
2
|
-
import { u as jt, c as dt, t as ea, p as me, a as ta, C as te, b as aa, o as la, e as yt, g as ra, d as sa, al as pe, ai as gt, D as bt, X as oa, l as ia, a7 as xe, F as ft, i as ke, f as Z, I as na, am as ua, x as mt, q as ca, r as ha, y as va } from "./index-
|
|
3
|
-
import { u as pt } from "./useNestedProp-
|
|
1
|
+
import { defineAsyncComponent as G, useSlots as Zt, computed as w, ref as p, onMounted as ut, watch as ct, shallowRef as ht, onBeforeUnmount as Kt, nextTick as fe, createElementBlock as n, openBlock as s, unref as y, normalizeStyle as J, normalizeClass as oe, createBlock as ee, createCommentVNode as g, renderSlot as z, createElementVNode as q, createVNode as ie, createSlots as vt, withCtx as _, normalizeProps as F, guardReactiveProps as E, Fragment as v, renderList as f, mergeProps as Me, toDisplayString as T, createTextVNode as Qt } from "vue";
|
|
2
|
+
import { u as jt, c as dt, t as ea, p as me, a as ta, C as te, b as aa, o as la, e as yt, g as ra, d as sa, al as pe, ai as gt, D as bt, X as oa, l as ia, a7 as xe, F as ft, i as ke, f as Z, I as na, am as ua, x as mt, q as ca, r as ha, y as va } from "./index-JzUbx__y.js";
|
|
3
|
+
import { u as pt } from "./useNestedProp-D_jd2dz9.js";
|
|
4
4
|
import { t as da, u as ya } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as ga } from "./usePrinter-
|
|
5
|
+
import { u as ga } from "./usePrinter-CsyliflB.js";
|
|
6
6
|
import { u as ba } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as fa } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import ma from "./Legend-
|
|
9
|
-
import { S as pa } from "./Slicer-
|
|
10
|
-
import xa from "./Title-
|
|
11
|
-
import { _ as ka } from "./Shape-
|
|
8
|
+
import ma from "./Legend-1R-B-7st.js";
|
|
9
|
+
import { S as pa } from "./Slicer-Dju6LE-h.js";
|
|
10
|
+
import xa from "./Title-BQb7X_OR.js";
|
|
11
|
+
import { _ as ka } from "./Shape-DJKQgAbU.js";
|
|
12
12
|
import { u as wa } from "./useTimeLabels-Mrr0jrpL.js";
|
|
13
|
-
import za from "./img-
|
|
13
|
+
import za from "./img-D0DpKcFX.js";
|
|
14
14
|
import { _ as La } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"], $a = { key: 1 }, Ma = ["id"], Ta = ["stop-color"], Na = ["stop-color"], Ia = ["stop-color"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"],
|
|
15
|
+
const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"], $a = { key: 1 }, Ma = ["id"], Ta = ["stop-color"], Na = ["stop-color"], Ia = ["stop-color"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Va = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Aa = { key: 0 }, Ua = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Da = { key: 0 }, Fa = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Ea = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Ha = { key: 0 }, Ba = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Wa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xa = ["x", "y", "font-size", "fill", "font-weight"], Ga = ["transform", "font-size", "fill", "font-weight"], Ja = ["x", "y", "font-size", "fill", "font-weight"], qa = { key: 0 }, Za = ["x", "y", "font-size", "font-weight", "fill"], Ka = ["x", "y", "font-size", "fill", "font-weight"], Qa = { key: 0 }, ja = ["x", "y", "font-size", "font-weight", "fill"], el = ["x1", "x2", "y1", "y2", "stroke"], tl = ["x", "y", "font-size", "font-weight", "fill"], al = ["x1", "x2", "y1", "y2", "stroke"], ll = ["font-size", "font-weight", "fill", "text-anchor", "transform"], rl = { key: 0 }, sl = { key: 1 }, ol = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], il = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], nl = { key: 0 }, ul = { key: 1 }, cl = ["font-size", "font-weight", "fill", "x", "y", "onClick"], hl = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], vl = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], dl = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], yl = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
18
|
}, gl = ["onClick"], bl = ["innerHTML"], fl = {
|
|
@@ -33,21 +33,21 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
|
|
35
35
|
setup(we, { expose: xt, emit: kt }) {
|
|
36
|
-
const wt = G(() => import("./vue-ui-accordion-
|
|
36
|
+
const wt = G(() => import("./vue-ui-accordion-CcTUbiHq.js")), zt = G(() => import("./DataTable-6BxhjBzt.js")), Lt = G(() => import("./PackageVersion-CIX1W_aa.js")), Ct = G(() => import("./PenAndPaper-CqJ4wudB.js")), _t = G(() => import("./vue-ui-skeleton-B4KQLEQy.js")), St = G(() => import("./Tooltip-BTnTpPdO.js")), $t = G(() => import("./UserOptions-lneAyZKu.js")), { vue_ui_stackbar: Mt } = jt(), Tt = Zt(), b = we, ze = kt, K = w({
|
|
37
37
|
get() {
|
|
38
38
|
return !!b.dataset && b.dataset.length;
|
|
39
39
|
},
|
|
40
40
|
set(a) {
|
|
41
41
|
return a;
|
|
42
42
|
}
|
|
43
|
-
}),
|
|
43
|
+
}), R = p(null), V = p(dt()), ne = p(!1), Le = p(null), Ce = p(""), S = p([]), Te = p(0), Ne = p(null), Ie = p(null), Pe = p(null), Oe = p(null), Re = p(0), ue = p(!1), ae = p(null), H = p(!1), Nt = p(0), It = p(0), Pt = p(0), Q = p(null);
|
|
44
44
|
ut(() => {
|
|
45
45
|
Se();
|
|
46
46
|
});
|
|
47
47
|
const e = w({
|
|
48
48
|
get: () => De(),
|
|
49
49
|
set: (a) => a
|
|
50
|
-
}), { userOptionsVisible: _e, setUserOptionsVisibility:
|
|
50
|
+
}), { userOptionsVisible: _e, setUserOptionsVisibility: Ve, keepUserOptionState: Ae } = ba({ config: e.value }), { svgRef: Ue } = fa({ config: e.value.style.chart.title });
|
|
51
51
|
function De() {
|
|
52
52
|
const a = pt({
|
|
53
53
|
userConfig: b.config,
|
|
@@ -87,7 +87,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
87
87
|
bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
|
|
88
88
|
left: e.value.style.chart.padding.left / e.value.style.chart.width
|
|
89
89
|
}
|
|
90
|
-
}), Ot = w(() => aa(e.value.customPalette)),
|
|
90
|
+
}), Ot = w(() => aa(e.value.customPalette)), A = ht(null), j = ht(null), Xe = p(null);
|
|
91
91
|
ut(() => {
|
|
92
92
|
Se();
|
|
93
93
|
});
|
|
@@ -113,10 +113,10 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
113
113
|
const a = da(() => {
|
|
114
114
|
H.value = !1;
|
|
115
115
|
const { width: r, height: t } = ya({
|
|
116
|
-
chart:
|
|
116
|
+
chart: R.value,
|
|
117
117
|
title: e.value.style.chart.title.text ? Ne.value : null,
|
|
118
118
|
legend: e.value.style.chart.legend.show ? Ie.value : null,
|
|
119
|
-
slicer: e.value.style.chart.zoom.show &&
|
|
119
|
+
slicer: e.value.style.chart.zoom.show && D.value > 1 ? Pe.value : null,
|
|
120
120
|
source: Oe.value
|
|
121
121
|
});
|
|
122
122
|
requestAnimationFrame(() => {
|
|
@@ -125,12 +125,12 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
125
125
|
}, 10);
|
|
126
126
|
});
|
|
127
127
|
});
|
|
128
|
-
|
|
128
|
+
A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(a), j.value = R.value.parentNode, A.value.observe(j.value);
|
|
129
129
|
}
|
|
130
130
|
Je();
|
|
131
131
|
}
|
|
132
132
|
Kt(() => {
|
|
133
|
-
|
|
133
|
+
A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect());
|
|
134
134
|
});
|
|
135
135
|
const o = w(() => {
|
|
136
136
|
const { height: a, width: r } = ce.value, { right: t } = ce.value.paddingRatio, l = e.value.style.chart.padding.top, c = r - r * t, u = a - e.value.style.chart.padding.bottom, C = e.value.style.chart.padding.left, B = r - C - r * t, W = a - l - e.value.style.chart.padding.bottom;
|
|
@@ -144,7 +144,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
144
144
|
width: B,
|
|
145
145
|
height: W < 0 ? 0 : W
|
|
146
146
|
};
|
|
147
|
-
}),
|
|
147
|
+
}), U = w(() => b.dataset.map((a, r) => {
|
|
148
148
|
const t = sa(a.color) || Ot.value[r] || me[r] || me[r % me.length];
|
|
149
149
|
return {
|
|
150
150
|
...a,
|
|
@@ -156,7 +156,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
156
156
|
id: dt(),
|
|
157
157
|
color: t
|
|
158
158
|
};
|
|
159
|
-
})),
|
|
159
|
+
})), D = w(() => Math.max(...U.value.filter((a) => !S.value.includes(a.id)).map((a) => a.series.length))), h = p({
|
|
160
160
|
start: 0,
|
|
161
161
|
end: Math.max(...b.dataset.map((a) => a.series.length))
|
|
162
162
|
});
|
|
@@ -164,23 +164,23 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
164
164
|
Je();
|
|
165
165
|
}
|
|
166
166
|
async function Je() {
|
|
167
|
-
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && Q.value ? (e.value.style.chart.zoom.startIndex !== null && (await fe(), await fe(), Q.value && Q.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await fe(), await fe(), Q.value && Q.value.setEndValue(
|
|
167
|
+
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && Q.value ? (e.value.style.chart.zoom.startIndex !== null && (await fe(), await fe(), Q.value && Q.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await fe(), await fe(), Q.value && Q.value.setEndValue(Rt(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
|
|
168
168
|
start: 0,
|
|
169
169
|
end: Math.max(...b.dataset.map((a) => a.series.length))
|
|
170
|
-
},
|
|
170
|
+
}, Re.value += 1);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Rt(a) {
|
|
173
173
|
const r = Math.max(...b.dataset.map((t) => t.series.length));
|
|
174
174
|
return a > r ? r : a < 0 || e.value.style.chart.zoom.startIndex !== null && a < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : a;
|
|
175
175
|
}
|
|
176
176
|
const d = w(() => {
|
|
177
177
|
let a;
|
|
178
178
|
return e.value.orientation === "vertical" ? a = o.value.width / (h.value.end - h.value.start) : a = o.value.height / (h.value.end - h.value.start), a <= 0 ? 0 : a;
|
|
179
|
-
}), le = w(() => pe(
|
|
179
|
+
}), le = w(() => pe(U.value.filter((a) => !S.value.includes(a.id))).slice(h.value.start, h.value.end)), Vt = w(() => pe(U.value.filter((a) => !S.value.includes(a.id)).map((a) => ({
|
|
180
180
|
...a,
|
|
181
181
|
series: a.series.map((r, t) => a.signedSeries[t] === -1 && r >= 0 ? -r : r)
|
|
182
182
|
}))).slice(h.value.start, h.value.end)), he = w(() => {
|
|
183
|
-
const a =
|
|
183
|
+
const a = U.value.filter((r) => !S.value.includes(r.id));
|
|
184
184
|
return {
|
|
185
185
|
positive: pe(a.map((r) => ({
|
|
186
186
|
...r,
|
|
@@ -204,15 +204,15 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
204
204
|
}));
|
|
205
205
|
}), $ = w(() => wa({
|
|
206
206
|
values: e.value.style.chart.grid.x.timeLabels.values,
|
|
207
|
-
maxDatapoints:
|
|
207
|
+
maxDatapoints: D.value,
|
|
208
208
|
formatter: e.value.style.chart.grid.x.timeLabels.datetimeFormatter,
|
|
209
209
|
start: h.value.start,
|
|
210
210
|
end: h.value.end
|
|
211
211
|
})), k = w(() => {
|
|
212
212
|
if (!K.value) return [];
|
|
213
|
-
let a = Array(
|
|
213
|
+
let a = Array(D.value).fill(0), r = Array(D.value).fill(0), t = Array(D.value).fill(0), l = Array(D.value).fill(0);
|
|
214
214
|
const c = Math.max(...he.value.positive) || 0, u = Math.min(...he.value.negative), C = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, B = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? gt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : bt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: W, max: re } = B, Y = re + (W >= 0 ? 0 : Math.abs(W)) || 1, M = o.value.height, be = o.value.width, it = P.value[0] ? P.value[0].zero : o.value.bottom, nt = P.value[0] ? P.value[0].horizontal_zero : o.value.left;
|
|
215
|
-
return
|
|
215
|
+
return U.value.filter((se) => !S.value.includes(se.id)).map((se) => {
|
|
216
216
|
const O = se.series.slice(h.value.start, h.value.end), Ht = se.signedSeries.slice(h.value.start, h.value.end), Bt = O.map((m, x) => o.value.left + d.value * x + d.value * e.value.style.chart.bars.gapRatio / 4), Wt = O.map((m, x) => o.value.top + d.value * x + d.value * e.value.style.chart.bars.gapRatio / 4), Yt = O.map((m, x) => {
|
|
217
217
|
const N = e.value.style.chart.bars.distributed ? (m || 0) / le.value[x] : (m || 0) / Y;
|
|
218
218
|
let X, I;
|
|
@@ -241,7 +241,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
241
241
|
horizontal_x: Xt
|
|
242
242
|
};
|
|
243
243
|
});
|
|
244
|
-
}), qe = w(() =>
|
|
244
|
+
}), qe = w(() => Vt.value.map((a, r) => ({
|
|
245
245
|
value: a,
|
|
246
246
|
sign: a >= 0 ? 1 : -1
|
|
247
247
|
})));
|
|
@@ -367,7 +367,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
367
367
|
})), r = [];
|
|
368
368
|
return $.value.forEach((t) => {
|
|
369
369
|
const l = [e.value.style.chart.grid.x.timeLabels.values[t.absoluteIndex] ? t.text : i + 1];
|
|
370
|
-
|
|
370
|
+
U.value.forEach((c) => {
|
|
371
371
|
l.push(Number((c.series[t.absoluteIndex] || 0).toFixed(e.value.table.td.roundingValue)));
|
|
372
372
|
}), r.push(l);
|
|
373
373
|
}), { head: a, body: r };
|
|
@@ -379,7 +379,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
379
379
|
const de = w(() => {
|
|
380
380
|
const a = [""].concat(k.value.map((c) => c.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
|
|
381
381
|
let r = [];
|
|
382
|
-
for (let c = 0; c <
|
|
382
|
+
for (let c = 0; c < D.value; c += 1) {
|
|
383
383
|
const u = k.value.map((C) => C.series[c] ?? 0).reduce((C, B) => C + B, 0);
|
|
384
384
|
r.push([e.value.style.chart.grid.x.timeLabels.values.slice(h.value.start, h.value.end)[c] ? $.value[c].text : c + 1].concat(k.value.map((C) => (C.series[c] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((u ?? 0).toFixed(e.value.table.td.roundingValue)));
|
|
385
385
|
}
|
|
@@ -402,11 +402,11 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
402
402
|
if (ze("selectLegend", k.value.find((t) => t.absoluteIndex === a)), S.value.includes(r.id))
|
|
403
403
|
S.value = S.value.filter((t) => t !== r.id);
|
|
404
404
|
else {
|
|
405
|
-
if (S.value.length ===
|
|
405
|
+
if (S.value.length === U.value.length - 1) return;
|
|
406
406
|
S.value.push(r.id);
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
const st = w(() =>
|
|
409
|
+
const st = w(() => U.value.map((a, r) => ({
|
|
410
410
|
...a,
|
|
411
411
|
shape: "square"
|
|
412
412
|
})).map((a) => ({
|
|
@@ -444,9 +444,16 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
444
444
|
return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ee.value ? r * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? r > 0 : !0 : Ee.value ? (Fe.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), a > Ft.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : Fe.value ? Math.abs(a) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
|
|
445
445
|
}
|
|
446
446
|
async function Et({ scale: a = 2 } = {}) {
|
|
447
|
-
if (!
|
|
448
|
-
const {
|
|
449
|
-
return {
|
|
447
|
+
if (!R.value) return;
|
|
448
|
+
const { width: r, height: t } = R.value.getBoundingClientRect(), l = r / t, { imageUri: c, base64: u } = await za({ domElement: R.value, base64: !0, img: !0, scale: a });
|
|
449
|
+
return {
|
|
450
|
+
imageUri: c,
|
|
451
|
+
base64: u,
|
|
452
|
+
title: e.value.style.chart.title.text,
|
|
453
|
+
width: r,
|
|
454
|
+
height: t,
|
|
455
|
+
aspectRatio: l
|
|
456
|
+
};
|
|
450
457
|
}
|
|
451
458
|
return xt({
|
|
452
459
|
getData: At,
|
|
@@ -462,11 +469,11 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
462
469
|
}), (a, r) => (s(), n("div", {
|
|
463
470
|
id: `stackbar_${V.value}`,
|
|
464
471
|
ref_key: "stackbarChart",
|
|
465
|
-
ref:
|
|
472
|
+
ref: R,
|
|
466
473
|
class: oe({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": ue.value }),
|
|
467
474
|
style: J(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
468
|
-
onMouseenter: r[6] || (r[6] = () => y(
|
|
469
|
-
onMouseleave: r[7] || (r[7] = () => y(
|
|
475
|
+
onMouseenter: r[6] || (r[6] = () => y(Ve)(!0)),
|
|
476
|
+
onMouseleave: r[7] || (r[7] = () => y(Ve)(!1))
|
|
470
477
|
}, [
|
|
471
478
|
e.value.userOptions.buttons.annotator ? (s(), ee(y(Ct), {
|
|
472
479
|
key: 0,
|
|
@@ -512,7 +519,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
512
519
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
513
520
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
514
521
|
isFullscreen: ue.value,
|
|
515
|
-
chartElement:
|
|
522
|
+
chartElement: R.value,
|
|
516
523
|
position: e.value.userOptions.position,
|
|
517
524
|
isTooltip: L.value.showTooltip,
|
|
518
525
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
@@ -535,7 +542,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
535
542
|
a.$slots.menuIcon ? {
|
|
536
543
|
name: "menuIcon",
|
|
537
544
|
fn: _(({ isOpen: t, color: l }) => [
|
|
538
|
-
z(a.$slots, "menuIcon",
|
|
545
|
+
z(a.$slots, "menuIcon", F(E({ isOpen: t, color: l })), void 0, !0)
|
|
539
546
|
]),
|
|
540
547
|
key: "0"
|
|
541
548
|
} : void 0,
|
|
@@ -584,14 +591,14 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
584
591
|
a.$slots.optionFullscreen ? {
|
|
585
592
|
name: "optionFullscreen",
|
|
586
593
|
fn: _(({ toggleFullscreen: t, isFullscreen: l }) => [
|
|
587
|
-
z(a.$slots, "optionFullscreen",
|
|
594
|
+
z(a.$slots, "optionFullscreen", F(E({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
|
|
588
595
|
]),
|
|
589
596
|
key: "7"
|
|
590
597
|
} : void 0,
|
|
591
598
|
a.$slots.optionAnnotator ? {
|
|
592
599
|
name: "optionAnnotator",
|
|
593
600
|
fn: _(({ toggleAnnotator: t, isAnnotator: l }) => [
|
|
594
|
-
z(a.$slots, "optionAnnotator",
|
|
601
|
+
z(a.$slots, "optionAnnotator", F(E({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
|
|
595
602
|
]),
|
|
596
603
|
key: "8"
|
|
597
604
|
} : void 0
|
|
@@ -668,7 +675,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
668
675
|
"stroke-width": e.value.style.chart.grid.y.linesThickness,
|
|
669
676
|
"stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
|
|
670
677
|
"stroke-linecap": "round"
|
|
671
|
-
}, null, 8,
|
|
678
|
+
}, null, 8, Ra))), 256)) : g("", !0),
|
|
672
679
|
e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "horizontal" ? (s(!0), n(v, { key: 5 }, f(P.value, (t, l) => (s(), n("line", {
|
|
673
680
|
x1: t.horizontal_x,
|
|
674
681
|
x2: t.horizontal_x,
|
|
@@ -678,7 +685,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
678
685
|
"stroke-width": e.value.style.chart.grid.y.linesThickness,
|
|
679
686
|
"stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
|
|
680
687
|
"stroke-linecap": "round"
|
|
681
|
-
}, null, 8,
|
|
688
|
+
}, null, 8, Va))), 256)) : g("", !0),
|
|
682
689
|
(s(!0), n(v, null, f(k.value, (t, l) => (s(), n("g", null, [
|
|
683
690
|
a.$slots.pattern ? (s(), n("defs", Aa, [
|
|
684
691
|
z(a.$slots, "pattern", Me({ ref_for: !0 }, { seriesIndex: t.absoluteIndex, patternId: `pattern_${V.value}_${t.absoluteIndex}` }), void 0, !0)
|
|
@@ -1023,10 +1030,10 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
1023
1030
|
fill: l === ae.value ? e.value.style.chart.highlighter.color : "transparent",
|
|
1024
1031
|
style: J({ opacity: e.value.style.chart.highlighter.opacity / 100 })
|
|
1025
1032
|
}, null, 44, dl))), 256)) : g("", !0),
|
|
1026
|
-
z(a.$slots, "svg",
|
|
1033
|
+
z(a.$slots, "svg", F(E({ ...o.value })), void 0, !0)
|
|
1027
1034
|
], 12, _a)) : g("", !0),
|
|
1028
1035
|
a.$slots.watermark ? (s(), n("div", yl, [
|
|
1029
|
-
z(a.$slots, "watermark",
|
|
1036
|
+
z(a.$slots, "watermark", F(E({ isPrinting: y(He) || y(Be) })), void 0, !0)
|
|
1030
1037
|
])) : g("", !0),
|
|
1031
1038
|
K.value ? g("", !0) : (s(), ee(y(_t), {
|
|
1032
1039
|
key: 5,
|
|
@@ -1049,10 +1056,10 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
1049
1056
|
style: J(`width:100%;background:${e.value.style.chart.backgroundColor}`),
|
|
1050
1057
|
"data-dom-to-png-ignore": ""
|
|
1051
1058
|
}, [
|
|
1052
|
-
e.value.style.chart.zoom.show &&
|
|
1059
|
+
e.value.style.chart.zoom.show && D.value > 1 ? (s(), ee(pa, {
|
|
1053
1060
|
ref_key: "slicerComponent",
|
|
1054
1061
|
ref: Q,
|
|
1055
|
-
key: `slicer_${
|
|
1062
|
+
key: `slicer_${Re.value}`,
|
|
1056
1063
|
background: e.value.style.chart.zoom.color,
|
|
1057
1064
|
borderColor: e.value.style.chart.backgroundColor,
|
|
1058
1065
|
fontSize: e.value.style.chart.zoom.fontSize,
|
|
@@ -1077,7 +1084,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
1077
1084
|
onReset: Ge
|
|
1078
1085
|
}, {
|
|
1079
1086
|
"reset-action": _(({ reset: t }) => [
|
|
1080
|
-
z(a.$slots, "reset-action",
|
|
1087
|
+
z(a.$slots, "reset-action", F(E({ reset: t })), void 0, !0)
|
|
1081
1088
|
]),
|
|
1082
1089
|
_: 3
|
|
1083
1090
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : g("", !0)
|
|
@@ -1093,16 +1100,16 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
1093
1100
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1094
1101
|
position: e.value.style.chart.tooltip.position,
|
|
1095
1102
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1096
|
-
parent:
|
|
1103
|
+
parent: R.value,
|
|
1097
1104
|
content: Ce.value,
|
|
1098
1105
|
isFullscreen: ue.value,
|
|
1099
1106
|
isCustom: y(mt)(e.value.style.chart.tooltip.customFormat)
|
|
1100
1107
|
}, {
|
|
1101
1108
|
"tooltip-before": _(() => [
|
|
1102
|
-
z(a.$slots, "tooltip-before",
|
|
1109
|
+
z(a.$slots, "tooltip-before", F(E({ ...Le.value })), void 0, !0)
|
|
1103
1110
|
]),
|
|
1104
1111
|
"tooltip-after": _(() => [
|
|
1105
|
-
z(a.$slots, "tooltip-after",
|
|
1112
|
+
z(a.$slots, "tooltip-after", F(E({ ...Le.value })), void 0, !0)
|
|
1106
1113
|
]),
|
|
1107
1114
|
_: 3
|
|
1108
1115
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -1193,7 +1200,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
|
|
|
1193
1200
|
}, 8, ["config"])) : g("", !0)
|
|
1194
1201
|
], 46, Ca));
|
|
1195
1202
|
}
|
|
1196
|
-
}, Il = /* @__PURE__ */ La(fl, [["__scopeId", "data-v-
|
|
1203
|
+
}, Il = /* @__PURE__ */ La(fl, [["__scopeId", "data-v-0ba585b2"]]);
|
|
1197
1204
|
export {
|
|
1198
1205
|
Il as default
|
|
1199
1206
|
};
|