vue-data-ui 3.19.3 → 3.19.5
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/{PackageVersion-DJqQx8gF.js → PackageVersion-CGiidfDW.js} +1 -1
- package/dist/{SlicerPreview-7pKvVSTr.js → SlicerPreview-CG1jpZqZ.js} +7 -7
- package/dist/{Tooltip-B7lmdbac.js → Tooltip-CuWEYGr3.js} +11 -6
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useConfig-D3guGcrX.js → useConfig-lKgU652n.js} +2 -0
- package/dist/{useObjectBindings-CSSNFNJ7.js → useObjectBindings-C3q0I8Zm.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-D_qPSZ3r.js → vue-data-ui-DcI_rZFY.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-TFjiqbr-.js → vue-ui-3d-bar-DiV2fXyA.js} +2 -2
- package/dist/{vue-ui-accordion-Bx7pI1J7.js → vue-ui-accordion-CNtzLReQ.js} +1 -1
- package/dist/{vue-ui-age-pyramid-CB3xQvBc.js → vue-ui-age-pyramid-OeogBDSt.js} +5 -3
- package/dist/{vue-ui-annotator-Bq9IRcKI.js → vue-ui-annotator-KPkeXw8q.js} +2 -2
- package/dist/{vue-ui-bullet-BZKRrX9w.js → vue-ui-bullet-ChpUs3I8.js} +2 -2
- package/dist/{vue-ui-bump-DHXnHWkH.js → vue-ui-bump-BkAshi4j.js} +2 -2
- package/dist/{vue-ui-candlestick-BZ0p5yg7.js → vue-ui-candlestick-BwHP3icU.js} +6 -4
- package/dist/{vue-ui-carousel-table-CjoV81u6.js → vue-ui-carousel-table-Bb5y_p3g.js} +2 -2
- package/dist/{vue-ui-chestnut-B3CDEtW0.js → vue-ui-chestnut-CSHDoJzC.js} +2 -2
- package/dist/{vue-ui-chord-DHWnljQs.js → vue-ui-chord-DdwmuNQX.js} +2 -2
- package/dist/{vue-ui-circle-pack-uP3YtdaY.js → vue-ui-circle-pack-DJQmSf72.js} +6 -4
- package/dist/{vue-ui-cursor-B0IVdY0y.js → vue-ui-cursor-DFf_3h10.js} +2 -2
- package/dist/{vue-ui-dag-DoCkpyrA.js → vue-ui-dag-CkO3Ax7d.js} +2 -2
- package/dist/{vue-ui-dashboard-DlUVTiAT.js → vue-ui-dashboard--8Xk6LWT.js} +65 -65
- package/dist/{vue-ui-digits-Cifo73CT.js → vue-ui-digits-Cs5EheDs.js} +2 -2
- package/dist/{vue-ui-donut-BKUBHljz.js → vue-ui-donut-DsNo3LIX.js} +5 -3
- package/dist/{vue-ui-donut-evolution-CA00PLQa.js → vue-ui-donut-evolution-_QyGlfxI.js} +2 -2
- package/dist/{vue-ui-dumbbell-3hxQpaDc.js → vue-ui-dumbbell-ChGtAAWt.js} +2 -2
- package/dist/{vue-ui-flow-B4dtyb5h.js → vue-ui-flow-B5AzIgoc.js} +5 -3
- package/dist/{vue-ui-funnel-Bp9ii4JX.js → vue-ui-funnel-EDQSTDkg.js} +2 -2
- package/dist/{vue-ui-galaxy-BuGtNcCZ.js → vue-ui-galaxy-BD_RrBJE.js} +5 -3
- package/dist/{vue-ui-gauge-NNga_nsX.js → vue-ui-gauge-C9QMAGa9.js} +2 -2
- package/dist/{vue-ui-geo-BysBWDwm.js → vue-ui-geo-nR7niELP.js} +5 -3
- package/dist/{vue-ui-gizmo-v09prufz.js → vue-ui-gizmo-Y1enSmyC.js} +2 -2
- package/dist/{vue-ui-heatmap-DuRQ2lkx.js → vue-ui-heatmap-D2dBZY8v.js} +7 -5
- package/dist/{vue-ui-history-plot-D-7BRBtq.js → vue-ui-history-plot-DEhOa4RX.js} +5 -3
- package/dist/{vue-ui-horizontal-bar-Dn7dIzxl.js → vue-ui-horizontal-bar-EoXn4UVd.js} +7 -5
- package/dist/{vue-ui-kpi-B8WrUG_R.js → vue-ui-kpi-DUKaYWpW.js} +2 -2
- package/dist/{vue-ui-mini-loader-W-DFObCm.js → vue-ui-mini-loader-BpLz9pDO.js} +1 -1
- package/dist/{vue-ui-molecule-D27Cc-de.js → vue-ui-molecule-MlVj-IXz.js} +6 -4
- package/dist/{vue-ui-mood-radar-BFSZ2X37.js → vue-ui-mood-radar-B8ILXAqP.js} +2 -2
- package/dist/{vue-ui-nested-donuts-tsckdyg2.js → vue-ui-nested-donuts-Jw8bQEo4.js} +5 -3
- package/dist/{vue-ui-onion-DtCjXkxn.js → vue-ui-onion-D3ANYQG8.js} +5 -3
- package/dist/{vue-ui-parallel-coordinate-plot-BdlwQlsD.js → vue-ui-parallel-coordinate-plot-DBUBo1uE.js} +5 -3
- package/dist/{vue-ui-quadrant-BRQbYyFO.js → vue-ui-quadrant-CQ9eomPu.js} +5 -3
- package/dist/{vue-ui-quick-chart-CCF3mlAh.js → vue-ui-quick-chart-bAX-1W7U.js} +5 -3
- package/dist/{vue-ui-radar-BmwUTGIJ.js → vue-ui-radar-BrlQJKQ8.js} +5 -3
- package/dist/{vue-ui-rating-BDqvkknD.js → vue-ui-rating-DBxf9Vwv.js} +1 -1
- package/dist/{vue-ui-relation-circle-B3bml66o.js → vue-ui-relation-circle-53zRDuMv.js} +2 -2
- package/dist/{vue-ui-ridgeline-ohceyDWZ.js → vue-ui-ridgeline-B80Je7Dl.js} +2 -2
- package/dist/{vue-ui-rings-DDng08s2.js → vue-ui-rings-q2Z9_I_C.js} +5 -3
- package/dist/{vue-ui-scatter-C9AhWlgf.js → vue-ui-scatter-B2j49pZG.js} +5 -3
- package/dist/{vue-ui-skeleton-AIQQhBNe.js → vue-ui-skeleton-DBQVQjee.js} +2 -2
- package/dist/{vue-ui-smiley-DvcbJWHA.js → vue-ui-smiley-2xc8AwPP.js} +1 -1
- package/dist/{vue-ui-spark-trend-DwzFKtHJ.js → vue-ui-spark-trend-2A59xizI.js} +2 -2
- package/dist/{vue-ui-sparkbar-Pu0sBCFF.js → vue-ui-sparkbar-ySB5tY6a.js} +2 -2
- package/dist/{vue-ui-sparkgauge-gwD22FuC.js → vue-ui-sparkgauge-1W1qaesz.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-Cl1Kbrbo.js → vue-ui-sparkhistogram-By0How3p.js} +2 -2
- package/dist/{vue-ui-sparkline-Bv-Ox4zE.js → vue-ui-sparkline-BqJ0MXbc.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-gCLBxnhs.js → vue-ui-sparkstackbar-CMVO2Tu-.js} +5 -3
- package/dist/{vue-ui-stackbar-DIZ_XeGW.js → vue-ui-stackbar-CRbyQwVz.js} +28 -20
- package/dist/{vue-ui-stackline-BeI3bS76.js → vue-ui-stackline-CLlAhA0E.js} +195 -186
- package/dist/{vue-ui-strip-plot-D_ble-OL.js → vue-ui-strip-plot-BkcKTTC6.js} +5 -3
- package/dist/{vue-ui-table-BI-hsZtw.js → vue-ui-table-CIgdj4R-.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DZ3EQXjK.js → vue-ui-table-heatmap-CvHoeUmu.js} +1 -1
- package/dist/{vue-ui-table-sparkline-9gj_fVQa.js → vue-ui-table-sparkline-DReGOXrL.js} +2 -2
- package/dist/{vue-ui-thermometer-EykNP-ry.js → vue-ui-thermometer-Bmq8u98B.js} +2 -2
- package/dist/{vue-ui-timer-Djj46XX2.js → vue-ui-timer-cYpIWaiH.js} +2 -2
- package/dist/{vue-ui-tiremarks-CfYdhXKD.js → vue-ui-tiremarks-B01ayToa.js} +2 -2
- package/dist/{vue-ui-treemap-DHKlit2w.js → vue-ui-treemap-CbqNfpkg.js} +5 -3
- package/dist/{vue-ui-waffle-CRs6-ek9.js → vue-ui-waffle-zz_nDVZ3.js} +5 -3
- package/dist/{vue-ui-wheel-CwepBmew.js → vue-ui-wheel--8hd9-06.js} +2 -2
- package/dist/{vue-ui-word-cloud-_mzgPMiK.js → vue-ui-word-cloud-BXyP8Qzx.js} +5 -3
- package/dist/{vue-ui-world-OYgzG9oL.js → vue-ui-world-hy7P8x_O.js} +5 -3
- package/dist/{vue-ui-xy-DyYFGJ9O.js → vue-ui-xy-3LB_mNPd.js} +7 -5
- package/dist/{vue-ui-xy-canvas-s81yaESU.js → vue-ui-xy-canvas-BKUggHiV.js} +7 -5
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { G as t, H as n, St as r, X as i, _t as a, i as o, jt as s, k as c, m as ee, t as te, v as l, zt as ne } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as re } from "./useConfig-
|
|
3
|
+
import { t as re } from "./useConfig-lKgU652n.js";
|
|
4
4
|
import { n as ie, t as ae } from "./BaseScanner-C7dmAref.js";
|
|
5
5
|
import { t as u } from "./useNestedProp-Ck4hsrpu.js";
|
|
6
6
|
import { t as oe } from "./useThemeCheck-rFK9Zlb_.js";
|
|
@@ -63,7 +63,7 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
setup(e) {
|
|
66
|
-
let se = he(() => import("./PackageVersion-
|
|
66
|
+
let se = he(() => import("./PackageVersion-CGiidfDW.js").then((e) => e.t)), { vue_ui_spark_trend: x } = re(), { isThemeValid: S, warnInvalidTheme: Re } = oe(), C = ue(), w = e, T = g(null), E = g(null), ze = g(null), D = g(null), O = g(null), k = g(!1), A = g(null), j = g(n()), M = g(I()), Be = d(() => ne({
|
|
67
67
|
defaultConfig: { style: {
|
|
68
68
|
animation: { show: !1 },
|
|
69
69
|
backgroundColor: "#99999930",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { G as t, H as n, Lt as r, Mt as i, St as ee, Tt as a, X as o, i as s, jt as c, ot as te, t as ne, x as re, y as l, zt as u } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as ie } from "./useConfig-
|
|
3
|
+
import { t as ie } from "./useConfig-lKgU652n.js";
|
|
4
4
|
import { n as ae, t as oe } from "./BaseScanner-C7dmAref.js";
|
|
5
5
|
import { t as d } from "./useNestedProp-Ck4hsrpu.js";
|
|
6
6
|
import { t as se } from "./useThemeCheck-rFK9Zlb_.js";
|
|
@@ -56,7 +56,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
56
56
|
},
|
|
57
57
|
emits: ["selectDatapoint"],
|
|
58
58
|
setup(e, { emit: D }) {
|
|
59
|
-
let R = de(() => import("./PackageVersion-
|
|
59
|
+
let R = de(() => import("./PackageVersion-CGiidfDW.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = ie(), { isThemeValid: ve, warnInvalidTheme: ye } = se(), z = ce(), B = e, be = ge();
|
|
60
60
|
b(() => {
|
|
61
61
|
be["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
62
62
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { G as t, H as n, St as ee, X as r, ft as te, i as ne, ot as re, t as ie, v as i, zt as a } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as ae } from "./useConfig-
|
|
3
|
+
import { t as ae } from "./useConfig-lKgU652n.js";
|
|
4
4
|
import { n as oe, t as o } from "./BaseScanner-C7dmAref.js";
|
|
5
5
|
import { t as s } from "./useNestedProp-Ck4hsrpu.js";
|
|
6
6
|
import { t as se } from "./useThemeCheck-rFK9Zlb_.js";
|
|
@@ -50,7 +50,7 @@ var w = /* @__PURE__ */ e({ default: () => j }), pe = ["xmlns", "viewBox"], me =
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
setup(e) {
|
|
53
|
-
let w = ue(() => import("./PackageVersion-
|
|
53
|
+
let w = ue(() => import("./PackageVersion-CGiidfDW.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ae(), { isThemeValid: M, warnInvalidTheme: N } = se(), P = l(), F = y(null), I = e, L = y(n()), R = y(W()), z = d(() => R.value.style.animation.show && !P.value), _e = d(() => a({
|
|
54
54
|
defaultConfig: { style: {
|
|
55
55
|
animation: { show: !1 },
|
|
56
56
|
background: "#99999930",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { G as t, H as n, Mt as r, St as i, X as a, i as o, jt as s, ot as c, t as l, zt as u } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as d } from "./useConfig-
|
|
3
|
+
import { t as d } from "./useConfig-lKgU652n.js";
|
|
4
4
|
import { n as f, t as p } from "./BaseScanner-C7dmAref.js";
|
|
5
5
|
import { t as m } from "./useNestedProp-Ck4hsrpu.js";
|
|
6
6
|
import { t as ee } from "./useThemeCheck-rFK9Zlb_.js";
|
|
@@ -88,7 +88,7 @@ var ye = /* @__PURE__ */ e({ default: () => k }), be = ["id"], xe = { key: 0 },
|
|
|
88
88
|
emits: ["selectDatapoint"],
|
|
89
89
|
setup(e, { emit: ne }) {
|
|
90
90
|
_e((e) => ({ v66b29b27: nt.value }));
|
|
91
|
-
let ye = de(() => import("./PackageVersion-
|
|
91
|
+
let ye = de(() => import("./PackageVersion-CGiidfDW.js").then((e) => e.t)), { vue_ui_sparkhistogram: k } = d(), { isThemeValid: We, warnInvalidTheme: Ge } = ee(), A = e, j = w(n()), M = w(null), N = w(null), P = w(null), F = w(null), I = w(null), L = w(!1), R = w(null), z = w("pointer"), B = w(K()), Ke = g(() => u({
|
|
92
92
|
defaultConfig: { style: {
|
|
93
93
|
animation: { show: !1 },
|
|
94
94
|
backgroundColor: "#99999930"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { At as t, G as n, H as r, I as i, M as a, Mt as o, Q as s, R as c, St as l, X as u, et as d, f, i as p, jt as m, k as ee, l as te, ot as ne, t as re, vt as h, y as ie, zt as ae } from "./lib-BkiwukKO.js";
|
|
3
3
|
import { t as oe } from "./useTimeLabels-C0x7zUXP.js";
|
|
4
|
-
import { t as se } from "./useConfig-
|
|
4
|
+
import { t as se } from "./useConfig-lKgU652n.js";
|
|
5
5
|
import { n as ce, t as le } from "./BaseScanner-C7dmAref.js";
|
|
6
6
|
import { t as ue } from "./useNestedProp-Ck4hsrpu.js";
|
|
7
7
|
import { t as de } from "./useThemeCheck-rFK9Zlb_.js";
|
|
@@ -686,7 +686,7 @@ var st = ["innerHTML"], ct = {
|
|
|
686
686
|
},
|
|
687
687
|
emits: ["hoverIndex", "selectDatapoint"],
|
|
688
688
|
setup(e, { emit: fe }) {
|
|
689
|
-
let Me = xe(() => import("./PackageVersion-
|
|
689
|
+
let Me = xe(() => import("./PackageVersion-CGiidfDW.js").then((e) => e.t)), Ne = xe(() => import("./SparkTooltip-c2DL7gqD.js")), { vue_ui_sparkline: Pe } = se(), { isThemeValid: Fe, warnInvalidTheme: Ie } = de(), Le = ge(), k = e, Re = v(() => Array.isArray(k.dataset) && k.dataset.length > 0), A = T(r()), j = T(null), Be = T(null), Ve = T(null), M = T(null), N = T(null), P = T(R());
|
|
690
690
|
function He(e) {
|
|
691
691
|
return k.config?.skeletonDataset && Array.isArray(k.config.skeletonDataset) ? k.config.skeletonDataset.map((e) => ({
|
|
692
692
|
period: "-",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { G as t, H as n, Lt as r, Mt as i, St as a, Tt as o, X as s, i as c, jt as ee, ot as te, pt as ne, t as re, x as ie, y as l, zt as ae } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as oe } from "./useConfig-
|
|
3
|
+
import { t as oe } from "./useConfig-lKgU652n.js";
|
|
4
4
|
import { n as se, t as ce } from "./BaseScanner-C7dmAref.js";
|
|
5
5
|
import { t as u } from "./useNestedProp-Ck4hsrpu.js";
|
|
6
6
|
import { t as le } from "./useThemeCheck-rFK9Zlb_.js";
|
|
@@ -87,7 +87,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
87
87
|
},
|
|
88
88
|
emits: ["selectDatapoint"],
|
|
89
89
|
setup(e, { expose: ue, emit: xe }) {
|
|
90
|
-
let O = ge(() => import("./PackageVersion-
|
|
90
|
+
let O = ge(() => import("./PackageVersion-CGiidfDW.js").then((e) => e.t)), Ge = ge(() => import("./Tooltip-CuWEYGr3.js")), { vue_ui_sparkstackbar: Ke } = oe(), { isThemeValid: qe, warnInvalidTheme: Je } = le(), k = e, Ye = ye();
|
|
91
91
|
_e(() => {
|
|
92
92
|
Ye["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
|
|
93
93
|
});
|
|
@@ -616,6 +616,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
616
616
|
position: z.value.style.tooltip.position,
|
|
617
617
|
content: M.value,
|
|
618
618
|
isCustom: P.value,
|
|
619
|
+
offsetX: z.value.style.tooltip.offsetX,
|
|
619
620
|
offsetY: -124 + z.value.style.tooltip.offsetY,
|
|
620
621
|
blockShiftY: !0,
|
|
621
622
|
smooth: z.value.style.tooltip.smooth,
|
|
@@ -643,6 +644,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
643
644
|
"position",
|
|
644
645
|
"content",
|
|
645
646
|
"isCustom",
|
|
647
|
+
"offsetX",
|
|
646
648
|
"offsetY",
|
|
647
649
|
"smooth",
|
|
648
650
|
"backdropFilter",
|
|
@@ -655,6 +657,6 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
655
657
|
w(e.$slots, "skeleton", {}, () => [E(B) ? (x(), p(ce, { key: 0 })) : m("", !0)], !0)
|
|
656
658
|
], 4));
|
|
657
659
|
}
|
|
658
|
-
}, [["__scopeId", "data-v-
|
|
660
|
+
}, [["__scopeId", "data-v-d14e4fb2"]]);
|
|
659
661
|
//#endregion
|
|
660
662
|
export { xe as n, O as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { B as t, Ft as n, G as r, H as a, It as o, J as s, Lt as c, S as l, St as u, Tt as d, V as ee, X as f, et as p, g as te, h as ne, i as m, nt as re, ot as ie, pt as ae, r as oe, s as se, t as ce, x as le, y as ue, yt as de, zt as fe } from "./lib-BkiwukKO.js";
|
|
3
3
|
import { n as pe, r as me, t as he } from "./useTimeLabels-C0x7zUXP.js";
|
|
4
|
-
import { t as ge } from "./useConfig-
|
|
4
|
+
import { t as ge } from "./useConfig-lKgU652n.js";
|
|
5
5
|
import { t as _e } from "./usePrinter-X0yWOynH.js";
|
|
6
6
|
import { n as ve, t as ye } from "./BaseScanner-C7dmAref.js";
|
|
7
7
|
import { t as be } from "./useSvgExport-Dtu973wa.js";
|
|
@@ -15,7 +15,7 @@ import { t as De } from "./Shape-DEGOZ6GG.js";
|
|
|
15
15
|
import { t as Oe } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
16
16
|
import { c as ke } from "./canvas-lib-DTaADQOK.js";
|
|
17
17
|
import { t as Ae } from "./useResponsive-CrAInupd.js";
|
|
18
|
-
import { t as je } from "./SlicerPreview-
|
|
18
|
+
import { t as je } from "./SlicerPreview-CG1jpZqZ.js";
|
|
19
19
|
import { t as Me } from "./BaseLegendToggle-DUIqQmwM.js";
|
|
20
20
|
import { t as Ne } from "./A11yDataTable-q2-8fSlJ.js";
|
|
21
21
|
import { t as Pe } from "./useUserOptionState-CjPJPTg2.js";
|
|
@@ -279,7 +279,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
279
279
|
"copyAlt"
|
|
280
280
|
],
|
|
281
281
|
setup(e, { expose: Oe, emit: $e }) {
|
|
282
|
-
let Qt = x(() => import("./Tooltip-
|
|
282
|
+
let Qt = x(() => import("./Tooltip-CuWEYGr3.js")), $t = x(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), en = x(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), tn = x(() => import("./DataTable-BvDJEAma.js")), nn = x(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), rn = x(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), an = x(() => import("./PackageVersion-CGiidfDW.js").then((e) => e.t)), on = x(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_stackbar: sn } = ge(), { isThemeValid: cn, warnInvalidTheme: ln } = Se(), un = Xe(), M = e, N = $e, dn = g({
|
|
283
283
|
get() {
|
|
284
284
|
return !!M.dataset && M.dataset.length;
|
|
285
285
|
},
|
|
@@ -368,7 +368,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
368
368
|
prepareConfig: nr,
|
|
369
369
|
callback: () => {
|
|
370
370
|
Promise.resolve().then(async () => {
|
|
371
|
-
await Li();
|
|
371
|
+
(!B.value.style.chart.zoom.keepState || !Ii.value || J.value.start === 0 && J.value.end === 0) && await Li();
|
|
372
372
|
});
|
|
373
373
|
},
|
|
374
374
|
skeletonDataset: M.config?.skeletonDataset ?? [{
|
|
@@ -432,9 +432,9 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
432
432
|
}
|
|
433
433
|
let rr = g(() => B.value.style.chart.bars.dataLabels.hideUnderValue != null), ir = g(() => B.value.style.chart.bars.dataLabels.hideUnderPercentage != null);
|
|
434
434
|
Ze(() => M.config, (e) => {
|
|
435
|
-
qn.value || (B.value = nr()), Xn.value = !B.value.userOptions.showOnChartHover, pr(), Sn.value += 1, Cn.value += 1, wn.value += 1, H.value.dataLabels.show = B.value.style.chart.bars.dataLabels.show, H.value.showTable = B.value.table.show, H.value.showTooltip = B.value.style.chart.tooltip.show, Hn(), Or();
|
|
435
|
+
qn.value || (B.value = nr()), Xn.value = !B.value.userOptions.showOnChartHover, pr({ resetSlicer: !B.value.style.chart.zoom.keepState }), Sn.value += 1, Cn.value += 1, wn.value += 1, H.value.dataLabels.show = B.value.style.chart.bars.dataLabels.show, H.value.showTable = B.value.table.show, H.value.showTooltip = B.value.style.chart.tooltip.show, Hn(), !B.value.style.chart.zoom.keepState || !Ii.value || J.value.start === 0 && J.value.end === 0 ? Li() : Or();
|
|
436
436
|
}, { deep: !0 }), Ze(() => M.dataset, (e) => {
|
|
437
|
-
Array.isArray(e) && e.length > 0 && (Yn.value = !1), Hn(), jr();
|
|
437
|
+
Array.isArray(e) && e.length > 0 && (Yn.value = !1), Hn(), B.value.style.chart.zoom.keepState ? Or() : jr();
|
|
438
438
|
}, { deep: !0 });
|
|
439
439
|
let H = E({
|
|
440
440
|
dataLabels: { show: B.value.style.chart.bars.dataLabels.show },
|
|
@@ -462,7 +462,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
462
462
|
left: B.value.style.chart.padding.left / B.value.style.chart.width
|
|
463
463
|
}
|
|
464
464
|
}), lr = g(() => le(B.value.customPalette)), W = Je(null), ur = Je(null), dr = E(null), fr = g(() => !!B.value.debug);
|
|
465
|
-
function pr() {
|
|
465
|
+
function pr({ resetSlicer: e = !0 } = {}) {
|
|
466
466
|
if (u(M.dataset) ? (f({
|
|
467
467
|
componentName: "VueUiStackbar",
|
|
468
468
|
type: "dataset",
|
|
@@ -500,7 +500,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
500
500
|
});
|
|
501
501
|
W.value && (ur.value && W.value.unobserve(ur.value), W.value.disconnect()), W.value = new ResizeObserver(e), ur.value = P.value.parentNode, W.value.observe(ur.value);
|
|
502
502
|
}
|
|
503
|
-
Wn(), Li();
|
|
503
|
+
Wn(), e && Li();
|
|
504
504
|
}
|
|
505
505
|
Ge(() => {
|
|
506
506
|
Vn.stop(), W.value && (ur.value && W.value.unobserve(ur.value), W.value.disconnect());
|
|
@@ -636,14 +636,14 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
636
636
|
};
|
|
637
637
|
}
|
|
638
638
|
}), K = g(() => Jn.value.map((e, t) => {
|
|
639
|
-
let n = ue(e.color) || lr.value[t] || d[t] || d[t % d.length];
|
|
639
|
+
let n = `stackbar_serie_${t}`, r = ue(e.color) || lr.value[t] || d[t] || d[t % d.length];
|
|
640
640
|
return {
|
|
641
641
|
...e,
|
|
642
642
|
series: JSON.parse(JSON.stringify(e.series)).map((e) => B.value.style.chart.bars.distributed ? Math.abs(e) : e),
|
|
643
643
|
signedSeries: e.series.map((e) => e >= 0 ? 1 : -1),
|
|
644
644
|
absoluteIndex: t,
|
|
645
|
-
id:
|
|
646
|
-
color:
|
|
645
|
+
id: n,
|
|
646
|
+
color: r
|
|
647
647
|
};
|
|
648
648
|
})), q = g(() => {
|
|
649
649
|
let e = Math.max(...K.value.filter((e) => !I.value.includes(e.id)).map((e) => e.series.length));
|
|
@@ -673,7 +673,11 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
673
673
|
Ge(() => {
|
|
674
674
|
kr.value && cancelAnimationFrame(kr.value);
|
|
675
675
|
});
|
|
676
|
-
async function jr() {
|
|
676
|
+
async function jr({ force: e = !1 } = {}) {
|
|
677
|
+
if (B.value.style.chart.zoom.keepState && !e && Ii.value && !(J.value.start === 0 && J.value.end === 0)) {
|
|
678
|
+
Or();
|
|
679
|
+
return;
|
|
680
|
+
}
|
|
677
681
|
Li(), await Ue(), kr.value && cancelAnimationFrame(kr.value), kr.value = requestAnimationFrame(async () => {
|
|
678
682
|
await Ar(), Li();
|
|
679
683
|
});
|
|
@@ -1268,8 +1272,10 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1268
1272
|
if (!Fi.value) {
|
|
1269
1273
|
Fi.value = !0;
|
|
1270
1274
|
try {
|
|
1271
|
-
let { startIndex: e, endIndex: t } = B.value.style.chart.zoom,
|
|
1272
|
-
|
|
1275
|
+
let { startIndex: e, endIndex: t, keepState: n } = B.value.style.chart.zoom, r = n ? Math.max(0, q.value) : q.value;
|
|
1276
|
+
if (n && r <= 0) return;
|
|
1277
|
+
let a = e ?? 0, o = t == null ? r : Math.min(Pi(t + 1), r);
|
|
1278
|
+
Ri.value = !0, J.value.start = a, J.value.end = o, Y.value.start = a, Y.value.end = o, Or(), Ii.value = !0;
|
|
1273
1279
|
} finally {
|
|
1274
1280
|
queueMicrotask(() => {
|
|
1275
1281
|
Ri.value = !1;
|
|
@@ -2044,9 +2050,9 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2044
2050
|
"onUpdate:end": Bi,
|
|
2045
2051
|
"onUpdate:start": zi,
|
|
2046
2052
|
onTrapMouse: Tr,
|
|
2047
|
-
onReset: jr,
|
|
2048
|
-
onFutureEnd: a[
|
|
2049
|
-
onFutureStart: a[
|
|
2053
|
+
onReset: a[0] ||= () => jr({ force: !0 }),
|
|
2054
|
+
onFutureEnd: a[1] ||= (e) => Dr("end", e),
|
|
2055
|
+
onFutureStart: a[2] ||= (e) => Dr("start", e)
|
|
2050
2056
|
}, {
|
|
2051
2057
|
"reset-action": j(({ reset: e }) => [O(n.$slots, "reset-action", C(S({ reset: e })), void 0, !0)]),
|
|
2052
2058
|
slotMap: j(({ width: e, height: t, unitW: n }) => [(T(!0), y(h, null, D($.value, (e) => (T(), y("g", { key: e.id }, [(T(!0), y(h, null, D(e.xMinimap({
|
|
@@ -2079,6 +2085,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2079
2085
|
borderWidth: B.value.style.chart.tooltip.borderWidth,
|
|
2080
2086
|
backgroundOpacity: B.value.style.chart.tooltip.backgroundOpacity,
|
|
2081
2087
|
position: B.value.style.chart.tooltip.position,
|
|
2088
|
+
offsetX: B.value.style.chart.tooltip.offsetX,
|
|
2082
2089
|
offsetY: B.value.style.chart.tooltip.offsetY,
|
|
2083
2090
|
parent: P.value,
|
|
2084
2091
|
content: mn.value,
|
|
@@ -2106,6 +2113,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2106
2113
|
"borderWidth",
|
|
2107
2114
|
"backgroundOpacity",
|
|
2108
2115
|
"position",
|
|
2116
|
+
"offsetX",
|
|
2109
2117
|
"offsetY",
|
|
2110
2118
|
"parent",
|
|
2111
2119
|
"content",
|
|
@@ -2130,7 +2138,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2130
2138
|
legendSet: vi.value,
|
|
2131
2139
|
config: yi.value,
|
|
2132
2140
|
isCursorPointer: V.value,
|
|
2133
|
-
onClickMarker: a[
|
|
2141
|
+
onClickMarker: a[3] ||= ({ legend: e }) => e.segregate()
|
|
2134
2142
|
}, ze({
|
|
2135
2143
|
item: j(({ legend: e }) => [A(qn) ? v("", !0) : (T(), y("div", {
|
|
2136
2144
|
key: 0,
|
|
@@ -2219,7 +2227,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2219
2227
|
fn: j(() => [b("button", {
|
|
2220
2228
|
tabindex: "0",
|
|
2221
2229
|
class: "vue-ui-user-options-button",
|
|
2222
|
-
onClick: a[
|
|
2230
|
+
onClick: a[4] ||= (e) => di(B.value.userOptions.callbacks.csv),
|
|
2223
2231
|
style: w({ cursor: V.value ? "pointer" : "default" })
|
|
2224
2232
|
}, [Ve(A($t), {
|
|
2225
2233
|
name: "fileCsv",
|
|
@@ -2230,6 +2238,6 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2230
2238
|
O(n.$slots, "skeleton", {}, () => [A(qn) ? (T(), _(ye, { key: 0 })) : v("", !0)], !0)
|
|
2231
2239
|
], 46, et));
|
|
2232
2240
|
}
|
|
2233
|
-
}, [["__scopeId", "data-v-
|
|
2241
|
+
}, [["__scopeId", "data-v-3d42bae0"]]);
|
|
2234
2242
|
//#endregion
|
|
2235
2243
|
export { $e as n, Qt as t };
|