vue-data-ui 3.2.7 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-Bb0bGghy.js → Arrow-CKLBHe3L.js} +1 -1
- package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-q3pgSDTz.js} +2 -2
- package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-CtqN7W_g.js} +4 -3
- package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-Cr6rUDTP.js} +2 -2
- package/dist/{DataTable-BvjacRbw.js → DataTable-BeI6gYJX.js} +2 -2
- package/dist/{Legend-BpoFJ8fc.js → Legend-DsogCeTb.js} +2 -2
- package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-BDK_ucTG.js} +3 -3
- package/dist/{PackageVersion-Cwrh45ON.js → PackageVersion-C9oklnuy.js} +1 -1
- package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-BxbYiPy4.js} +3 -3
- package/dist/{Shape-C_C_OmqR.js → Shape-DJG2zW7b.js} +1 -1
- package/dist/{Slicer-BA2GhOmY.js → Slicer-D6T4aUhr.js} +2 -2
- package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip-Cp0G9giW.js} +1 -1
- package/dist/{Title-DG2nloSB.js → Title-D17CJXko.js} +1 -1
- package/dist/{Tooltip-BOXz8skU.js → Tooltip-CtVdvbZi.js} +1 -1
- package/dist/{UserOptions-DsTgvAok.js → UserOptions-B3vCIe-u.js} +168 -126
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-BiyqJA3t.js} +1 -1
- package/dist/{img-DjWwQXVS.js → img-6wPuVVtk.js} +1 -1
- package/dist/{lib-BEpWEyMm.js → lib-GIYcnm0E.js} +110 -96
- package/dist/{pdf-YD0ShN36.js → pdf-DjbHsnrb.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +8 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-Csv3pVmh.js} +1 -1
- package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-mxyyqd0B.js} +291 -246
- package/dist/{usePrinter-w23K-ezx.js → usePrinter-DYRFiw7X.js} +2 -2
- package/dist/useSvgExport-B7-Vrjtu.js +732 -0
- package/dist/vue-data-ui-DLU1snC3.js +326 -0
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-CRXnB8wH.js → vue-ui-3d-bar-D6xoBrN6.js} +358 -342
- package/dist/{vue-ui-accordion-CeMTgpl0.js → vue-ui-accordion-Dch9YrCi.js} +19 -19
- package/dist/{vue-ui-age-pyramid-BEGsngR6.js → vue-ui-age-pyramid-D74mAaLA.js} +228 -212
- package/dist/{vue-ui-annotator-BhZr9pFJ.js → vue-ui-annotator-DwRwhrgB.js} +9 -9
- package/dist/{vue-ui-bullet-CrCHb15S.js → vue-ui-bullet-D2qVUqWs.js} +197 -179
- package/dist/{vue-ui-candlestick-CnWY88nd.js → vue-ui-candlestick-C81k1_f9.js} +279 -263
- package/dist/{vue-ui-carousel-table-CsVWXrdA.js → vue-ui-carousel-table-DBIhnEj-.js} +6 -6
- package/dist/{vue-ui-chestnut-NpO91zJV.js → vue-ui-chestnut-CSM-_IWw.js} +426 -380
- package/dist/{vue-ui-chord-bIihB6Qf.js → vue-ui-chord-BFW9nnNh.js} +318 -299
- package/dist/{vue-ui-circle-pack-Z5VTiXZU.js → vue-ui-circle-pack-D6mTG5i0.js} +249 -233
- package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-BJmTAMpP.js} +2 -2
- package/dist/{vue-ui-dashboard-BEJ5uSZV.js → vue-ui-dashboard-BdFLsK4u.js} +72 -71
- package/dist/{vue-ui-digits-CDtdGqLS.js → vue-ui-digits-DXum1rs6.js} +10 -10
- package/dist/{vue-ui-donut-a82yzfvT.js → vue-ui-donut-CqefukGp.js} +662 -645
- package/dist/{vue-ui-donut-evolution-DP_dXmIC.js → vue-ui-donut-evolution-DFIbK50s.js} +407 -385
- package/dist/{vue-ui-dumbbell-BDIzPnlX.js → vue-ui-dumbbell-DIo2ecGY.js} +295 -274
- package/dist/vue-ui-flow--kiGWaq4.js +931 -0
- package/dist/{vue-ui-funnel-CaxHiJIB.js → vue-ui-funnel-B8UHwj15.js} +197 -181
- package/dist/{vue-ui-galaxy-CbGRAAFI.js → vue-ui-galaxy-eQZh_y3l.js} +265 -252
- package/dist/{vue-ui-gauge-But_1QwV.js → vue-ui-gauge-DJ-E6L2T.js} +256 -240
- package/dist/{vue-ui-gizmo-DcBQp-C8.js → vue-ui-gizmo-DFxlqPz7.js} +18 -18
- package/dist/{vue-ui-heatmap-BAVkwnbX.js → vue-ui-heatmap-CcAe5dDN.js} +394 -373
- package/dist/{vue-ui-history-plot-BlVib573.js → vue-ui-history-plot-CgKvd7Jx.js} +337 -319
- package/dist/{vue-ui-kpi-DuFgWXJM.js → vue-ui-kpi-Ct2iyD49.js} +4 -4
- package/dist/{vue-ui-mini-loader-D4W9oE3V.js → vue-ui-mini-loader-ByjcvXBB.js} +19 -19
- package/dist/{vue-ui-molecule-CEb6_0wR.js → vue-ui-molecule-CGDBEAkX.js} +176 -160
- package/dist/vue-ui-mood-radar-D9GuK4cI.js +876 -0
- package/dist/{vue-ui-nested-donuts-B6rmNl9X.js → vue-ui-nested-donuts-CGKgOTX2.js} +542 -519
- package/dist/{vue-ui-onion-BWAdTZ6V.js → vue-ui-onion-C5tE1Woz.js} +318 -289
- package/dist/{vue-ui-parallel-coordinate-plot-DXbgnatq.js → vue-ui-parallel-coordinate-plot-CVhD6IoH.js} +253 -234
- package/dist/{vue-ui-quadrant-BwGMZ_d_.js → vue-ui-quadrant-BGDCaOXv.js} +295 -277
- package/dist/{vue-ui-quick-chart-2bQ0DX_A.js → vue-ui-quick-chart-CjXSB-2S.js} +724 -686
- package/dist/{vue-ui-radar-DPXvVIbh.js → vue-ui-radar-rhxkROX7.js} +307 -282
- package/dist/{vue-ui-rating-CxIBq7Xr.js → vue-ui-rating-Bo9gSy-z.js} +4 -4
- package/dist/{vue-ui-relation-circle-BVGAfqBj.js → vue-ui-relation-circle-Qo8FKbL2.js} +147 -132
- package/dist/{vue-ui-ridgeline-C6UdClMT.js → vue-ui-ridgeline-ahOApbEC.js} +320 -299
- package/dist/{vue-ui-rings-B_7zAshC.js → vue-ui-rings-DFAVaEBs.js} +323 -310
- package/dist/{vue-ui-scatter-BRr9oPfo.js → vue-ui-scatter-zjlWyvVd.js} +390 -372
- package/dist/{vue-ui-skeleton-C3tGR_lR.js → vue-ui-skeleton-CKfOnyd_.js} +105 -105
- package/dist/{vue-ui-smiley-B70Ck-49.js → vue-ui-smiley-CY7UiJ9C.js} +88 -88
- package/dist/{vue-ui-spark-trend-C2tSZULg.js → vue-ui-spark-trend-DwNYP97M.js} +5 -5
- package/dist/{vue-ui-sparkbar-BUPDw_qR.js → vue-ui-sparkbar-BkdcYrmg.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DufAZyFK.js → vue-ui-sparkgauge-C6Kq_OGV.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DDunWMKu.js → vue-ui-sparkhistogram-CjB33yXB.js} +7 -7
- package/dist/{vue-ui-sparkline-lRx2nNde.js → vue-ui-sparkline-DcH4yIEd.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CB6WHJHd.js → vue-ui-sparkstackbar-MKr2u_pO.js} +5 -5
- package/dist/{vue-ui-stackbar-CQ9Zvuxh.js → vue-ui-stackbar-DKV-exfd.js} +356 -338
- package/dist/{vue-ui-strip-plot-DW3c82dV.js → vue-ui-strip-plot-ncTrDlNC.js} +368 -352
- package/dist/{vue-ui-table-CEt97z7F.js → vue-ui-table-BdT3lGuv.js} +16 -16
- package/dist/{vue-ui-table-heatmap-DFZCaMxK.js → vue-ui-table-heatmap-D929cWB0.js} +9 -9
- package/dist/{vue-ui-table-sparkline-RB40-Z1R.js → vue-ui-table-sparkline-CkZ_ygR1.js} +7 -7
- package/dist/{vue-ui-thermometer-fmPzO-eT.js → vue-ui-thermometer-CjBLR6H9.js} +148 -133
- package/dist/{vue-ui-timer-qxLpO3HX.js → vue-ui-timer-Bs7eMmiC.js} +7 -7
- package/dist/vue-ui-tiremarks-nGOZKRcz.js +423 -0
- package/dist/{vue-ui-treemap-B4-IPDxV.js → vue-ui-treemap-SQ2f5wbN.js} +403 -373
- package/dist/{vue-ui-vertical-bar-Y5LefeNg.js → vue-ui-vertical-bar-Hh9gAN5j.js} +295 -260
- package/dist/{vue-ui-waffle-gvnJOZlg.js → vue-ui-waffle-C7moVBln.js} +396 -377
- package/dist/{vue-ui-wheel-BzS_N3GP.js → vue-ui-wheel-KrGLMCqW.js} +185 -169
- package/dist/{vue-ui-word-cloud-vWhTarrE.js → vue-ui-word-cloud-BQSu6kiR.js} +234 -218
- package/dist/{vue-ui-world-CqWuE8ZR.js → vue-ui-world-DdoMFJcV.js} +344 -326
- package/dist/{vue-ui-xy-BxpuE9Ng.js → vue-ui-xy-B2fjTYMJ.js} +1602 -1708
- package/dist/{vue-ui-xy-canvas-C9YQjaUA.js → vue-ui-xy-canvas-oUXISeU8.js} +12 -12
- package/package.json +1 -1
- package/dist/vue-data-ui-DH8opsJv.js +0 -325
- package/dist/vue-ui-flow-B72CBzC3.js +0 -909
- package/dist/vue-ui-mood-radar-CqJPicZv.js +0 -853
- package/dist/vue-ui-tiremarks-Cxx97FLg.js +0 -407
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineAsyncComponent as Z, useSlots as ee, onMounted as F, ref as x, toRefs as te, computed as w, watch as B, nextTick as le, createElementBlock as i, openBlock as
|
|
2
|
-
import { c as ue, t as ie, b as re, p as _, e as ve, o as ce, f as P, g as de, h as pe, s as D, a as C, d as A, X as fe, i as ye } from "./lib-
|
|
3
|
-
import { u as ge, a as V } from "./useNestedProp-
|
|
1
|
+
import { defineAsyncComponent as Z, useSlots as ee, onMounted as F, ref as x, toRefs as te, computed as w, watch as B, nextTick as le, createElementBlock as i, openBlock as s, normalizeStyle as d, unref as a, renderSlot as $, createCommentVNode as p, createBlock as ae, normalizeProps as oe, mergeProps as E, createElementVNode as v, toDisplayString as y, Fragment as M, renderList as ne, createVNode as se } from "vue";
|
|
2
|
+
import { c as ue, t as ie, b as re, p as _, e as ve, o as ce, f as P, g as de, h as pe, s as D, a as C, d as A, X as fe, i as ye } from "./lib-GIYcnm0E.js";
|
|
3
|
+
import { u as ge, a as V } from "./useNestedProp-mxyyqd0B.js";
|
|
4
4
|
import { t as me } from "./themes-Dw-dDudK.js";
|
|
5
5
|
import { u as he, B as xe } from "./BaseScanner-BgWxam9d.js";
|
|
6
6
|
const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["xmlns", "viewBox"], _e = ["id"], Ce = ["stop-color"], Ae = ["stop-color"], Se = ["height", "width", "fill", "rx"], $e = ["height", "width", "fill", "rx"], De = ["height", "width", "fill", "rx"], Ie = {
|
|
@@ -32,7 +32,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectDatapoint"],
|
|
34
34
|
setup(O, { emit: j }) {
|
|
35
|
-
const U = Z(() => import("./PackageVersion-
|
|
35
|
+
const U = Z(() => import("./PackageVersion-C9oklnuy.js")), { vue_ui_sparkbar: R } = ge(), f = O, W = ee();
|
|
36
36
|
F(() => {
|
|
37
37
|
W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
38
38
|
});
|
|
@@ -96,7 +96,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
96
96
|
function z() {
|
|
97
97
|
if (e.value.style.animation.show) {
|
|
98
98
|
let h = function() {
|
|
99
|
-
|
|
99
|
+
n += l / t, n < l ? (g.value = g.value.map((u, b) => ({
|
|
100
100
|
...u,
|
|
101
101
|
value: u.value += o[b]
|
|
102
102
|
})), T.value = requestAnimationFrame(h)) : g.value = c.value.map((u) => ({
|
|
@@ -106,7 +106,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
106
106
|
}));
|
|
107
107
|
};
|
|
108
108
|
const t = e.value.style.animation.animationFrames, o = c.value.map((u, b) => u.value / t), l = c.value.map((u) => u.value || 0).reduce((u, b) => u + b, 0);
|
|
109
|
-
let
|
|
109
|
+
let n = 0;
|
|
110
110
|
h();
|
|
111
111
|
}
|
|
112
112
|
}
|
|
@@ -157,8 +157,8 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
157
157
|
function Y(t, o) {
|
|
158
158
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
|
|
159
159
|
}
|
|
160
|
-
return (t, o) => (
|
|
161
|
-
class: "vue-ui-sparkbar",
|
|
160
|
+
return (t, o) => (s(), i("div", {
|
|
161
|
+
class: "vue-data-ui-component vue-ui-sparkbar",
|
|
162
162
|
style: d({
|
|
163
163
|
width: "100%",
|
|
164
164
|
position: "relative",
|
|
@@ -167,7 +167,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
167
167
|
})
|
|
168
168
|
}, [
|
|
169
169
|
t.$slots.title ? $(t.$slots, "title", oe(E({ key: 0 }, { title: { ...t.title, title: e.value.style.title.text, subtitle: e.value.style.title.subtitle.text } }))) : p("", !0),
|
|
170
|
-
!t.$slots.title && e.value.style.title.text ? (
|
|
170
|
+
!t.$slots.title && e.value.style.title.text ? (s(), i("div", {
|
|
171
171
|
key: 1,
|
|
172
172
|
class: "vue-ui-sparkbar-title-container",
|
|
173
173
|
style: d({
|
|
@@ -184,7 +184,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
184
184
|
fontWeight: e.value.style.title.bold ? "bold" : "normal"
|
|
185
185
|
})
|
|
186
186
|
}, y(e.value.style.title.text), 5),
|
|
187
|
-
e.value.style.title.subtitle.text ? (
|
|
187
|
+
e.value.style.title.subtitle.text ? (s(), i("div", {
|
|
188
188
|
key: 0,
|
|
189
189
|
class: "vue-ui-sparkbar-subtitle",
|
|
190
190
|
style: d({
|
|
@@ -194,11 +194,11 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
194
194
|
})
|
|
195
195
|
}, y(e.value.style.title.subtitle.text), 5)) : p("", !0)
|
|
196
196
|
], 4)) : p("", !0),
|
|
197
|
-
(
|
|
198
|
-
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;${a(c).length > 0 &&
|
|
199
|
-
onClick: (h) => K(l,
|
|
200
|
-
onMouseenter: (h) => Q(l,
|
|
201
|
-
onMouseleave: (h) => Y(l,
|
|
197
|
+
(s(!0), i(M, null, ne(H.value, (l, n) => (s(), i("div", {
|
|
198
|
+
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;${a(c).length > 0 && n !== a(c).length - 1 ? "margin-bottom:6px" : ""}`),
|
|
199
|
+
onClick: (h) => K(l, n),
|
|
200
|
+
onMouseenter: (h) => Q(l, n),
|
|
201
|
+
onMouseleave: (h) => Y(l, n)
|
|
202
202
|
}, [
|
|
203
203
|
a(k) ? p("", !0) : $(t.$slots, "data-label", E({
|
|
204
204
|
key: 0,
|
|
@@ -215,7 +215,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
215
215
|
s: l.suffix || "",
|
|
216
216
|
r: l.rounding || 0
|
|
217
217
|
}),
|
|
218
|
-
{ datapoint: l, seriesIndex:
|
|
218
|
+
{ datapoint: l, seriesIndex: n }
|
|
219
219
|
),
|
|
220
220
|
targetLabel: a(C)(
|
|
221
221
|
l.formatter,
|
|
@@ -226,10 +226,10 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
226
226
|
s: l.suffix || "",
|
|
227
227
|
r: l.rounding || 0
|
|
228
228
|
}),
|
|
229
|
-
{ datapoint: l, seriesIndex:
|
|
229
|
+
{ datapoint: l, seriesIndex: n }
|
|
230
230
|
)
|
|
231
231
|
} })),
|
|
232
|
-
!t.$slots["data-label"] || a(k) ? (
|
|
232
|
+
!t.$slots["data-label"] || a(k) ? (s(), i("div", {
|
|
233
233
|
key: 1,
|
|
234
234
|
style: d({
|
|
235
235
|
display: "flex",
|
|
@@ -242,7 +242,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
242
242
|
flexWrap: "wrap"
|
|
243
243
|
})
|
|
244
244
|
}, [
|
|
245
|
-
a(k) ? (
|
|
245
|
+
a(k) ? (s(), i("div", {
|
|
246
246
|
key: 0,
|
|
247
247
|
class: "vue-ui-sparkbar-skeleton-name",
|
|
248
248
|
style: d({
|
|
@@ -261,9 +261,9 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
261
261
|
v("div", {
|
|
262
262
|
style: d({ height: "100%", width: "15px", borderRadius: e.value.style.labels.fontSize / 4 + "px", backgroundColor: "#6A6A6A80" })
|
|
263
263
|
}, null, 4)
|
|
264
|
-
], 4)) : (
|
|
264
|
+
], 4)) : (s(), i(M, { key: 1 }, [
|
|
265
265
|
v("span", null, y(l.name), 1),
|
|
266
|
-
e.value.style.labels.value.show ? (
|
|
266
|
+
e.value.style.labels.value.show ? (s(), i("span", {
|
|
267
267
|
key: 0,
|
|
268
268
|
style: d(`font-weight:${e.value.style.labels.value.bold ? "bold" : "normal"}`)
|
|
269
269
|
}, ": " + y(a(C)(
|
|
@@ -275,9 +275,9 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
275
275
|
s: l.suffix || "",
|
|
276
276
|
r: l.rounding || 0
|
|
277
277
|
}),
|
|
278
|
-
{ datapoint: l, seriesIndex:
|
|
278
|
+
{ datapoint: l, seriesIndex: n }
|
|
279
279
|
)), 5)) : p("", !0),
|
|
280
|
-
e.value.style.layout.showTargetValue ? (
|
|
280
|
+
e.value.style.layout.showTargetValue ? (s(), i("span", be, y(" " + e.value.style.layout.targetValueText) + " " + y(a(C)(
|
|
281
281
|
l.formatter,
|
|
282
282
|
m(l),
|
|
283
283
|
a(A)({
|
|
@@ -286,23 +286,23 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
286
286
|
s: l.suffix || "",
|
|
287
287
|
r: l.rounding || 0
|
|
288
288
|
}),
|
|
289
|
-
{ datapoint: l, seriesIndex:
|
|
289
|
+
{ datapoint: l, seriesIndex: n }
|
|
290
290
|
)), 1)) : p("", !0)
|
|
291
291
|
], 64))
|
|
292
292
|
], 4)) : p("", !0),
|
|
293
|
-
(
|
|
293
|
+
(s(), i("svg", {
|
|
294
294
|
xmlns: a(fe),
|
|
295
295
|
viewBox: `0 0 ${r.value.width} ${r.value.height}`,
|
|
296
296
|
width: "100%"
|
|
297
297
|
}, [
|
|
298
|
-
|
|
298
|
+
se(a(U)),
|
|
299
299
|
v("defs", null, [
|
|
300
300
|
v("linearGradient", {
|
|
301
301
|
x1: "0%",
|
|
302
302
|
y1: "0%",
|
|
303
303
|
x2: "100%",
|
|
304
304
|
y2: "0%",
|
|
305
|
-
id: `sparkbar_gradient_${
|
|
305
|
+
id: `sparkbar_gradient_${n}_${I.value}`
|
|
306
306
|
}, [
|
|
307
307
|
v("stop", {
|
|
308
308
|
offset: "0%",
|
|
@@ -335,15 +335,15 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
335
335
|
width: r.value.width * N(l),
|
|
336
336
|
x: 0,
|
|
337
337
|
y: 0,
|
|
338
|
-
fill: e.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${
|
|
338
|
+
fill: e.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${n}_${I.value})` : l.color,
|
|
339
339
|
rx: r.value.height / 2
|
|
340
340
|
}, null, 8, De)
|
|
341
341
|
], 8, we))
|
|
342
342
|
], 44, ke))), 256)),
|
|
343
|
-
t.$slots.source ? (
|
|
343
|
+
t.$slots.source ? (s(), i("div", Ie, [
|
|
344
344
|
$(t.$slots, "source")
|
|
345
345
|
], 512)) : p("", !0),
|
|
346
|
-
a(k) ? (
|
|
346
|
+
a(k) ? (s(), ae(xe, { key: 3 })) : p("", !0)
|
|
347
347
|
], 4));
|
|
348
348
|
}
|
|
349
349
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as T, ref as b, toRefs as U, onMounted as N, computed as s, watch as M, createElementBlock as r, openBlock as u, normalizeStyle as g, createCommentVNode as d, createBlock as q, toDisplayString as k, unref as i, createVNode as P, createElementVNode as m, renderSlot as F, normalizeClass as V } from "vue";
|
|
2
|
-
import { u as X, a as B } from "./useNestedProp-
|
|
3
|
-
import { c as Y, t as H, o as J, f as E, g as K, a0 as Q, X as W, a as Z, q as x, d as ee } from "./lib-
|
|
2
|
+
import { u as X, a as B } from "./useNestedProp-mxyyqd0B.js";
|
|
3
|
+
import { c as Y, t as H, o as J, f as E, g as K, a0 as Q, X as W, a as Z, q as x, d as ee } from "./lib-GIYcnm0E.js";
|
|
4
4
|
import { u as te, B as ae } from "./BaseScanner-BgWxam9d.js";
|
|
5
5
|
import { u as le } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
6
|
import { t as oe } from "./themes-Dw-dDudK.js";
|
|
@@ -25,7 +25,7 @@ const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["s
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
setup(D) {
|
|
28
|
-
const O = T(() => import("./PackageVersion-
|
|
28
|
+
const O = T(() => import("./PackageVersion-C9oklnuy.js")), { vue_ui_sparkgauge: j } = X(), c = D, _ = b(Y()), e = b(p()), { loading: h, FINAL_DATASET: v } = te({
|
|
29
29
|
...U(c),
|
|
30
30
|
FINAL_CONFIG: e,
|
|
31
31
|
prepareConfig: p,
|
|
@@ -123,7 +123,7 @@ const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["s
|
|
|
123
123
|
return f >= 0 ? (f - n) / t : (Math.abs(n) - Math.abs(f)) / t;
|
|
124
124
|
}), S = s(() => Q(e.value.style.colors.min, e.value.style.colors.max, o.value.min, o.value.max, a.value)), z = s(() => e.value.style.dataLabel.autoColor ? S.value : e.value.style.dataLabel.color), G = s(() => e.value.style.track.autoColor ? S.value : e.value.style.track.color);
|
|
125
125
|
return (t, n) => (u(), r("div", {
|
|
126
|
-
class: "vue-ui-sparkgauge",
|
|
126
|
+
class: "vue-data-ui-component vue-ui-sparkgauge",
|
|
127
127
|
style: g(`font-family:${e.value.style.fontFamily};width: 100%; background:${e.value.style.background}`)
|
|
128
128
|
}, [
|
|
129
129
|
e.value.style.title.show && y.value && e.value.style.title.position === "top" ? (u(), r("div", {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useCssVars as pe, computed as k, defineAsyncComponent as me, ref as y, toRefs as be, onMounted as U, watch as X, nextTick as j, createElementBlock as s, openBlock as a, normalizeStyle as S, createCommentVNode as c, createBlock as G, createElementVNode as g, createTextVNode as _e, toDisplayString as p, unref as n, createVNode as xe, renderSlot as q, Fragment as d, renderList as h, normalizeClass as Y } from "vue";
|
|
2
|
-
import { c as ke, t as Ce, o as Ae, f as P, g as we, s as m, a as J, d as K, X as $e, i as D } from "./lib-
|
|
2
|
+
import { c as ke, t as Ce, o as Ae, f as P, g as we, s as m, a as J, d as K, X as $e, i as D } from "./lib-GIYcnm0E.js";
|
|
3
3
|
import { t as Le, u as ze } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Se, a as Q } from "./useNestedProp-
|
|
4
|
+
import { u as Se, a as Q } from "./useNestedProp-mxyyqd0B.js";
|
|
5
5
|
import { u as Me, B as Fe } from "./BaseScanner-BgWxam9d.js";
|
|
6
6
|
import { u as Ie } from "./useFitSvgText-2crs6Fv5.js";
|
|
7
7
|
import { u as Te } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import { _ as Ee } from "./Shape-
|
|
8
|
+
import { _ as Ee } from "./Shape-DJG2zW7b.js";
|
|
9
9
|
import { t as Ne } from "./themes-Dw-dDudK.js";
|
|
10
10
|
import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width", "height"], Re = ["id"], Be = ["stop-color"], Ue = ["stop-color"], Xe = ["id"], je = ["stop-color"], Ge = ["stop-color"], qe = ["id"], Ye = ["stop-color"], Pe = ["stop-color"], Je = ["height", "width", "fill", "x", "stroke", "stroke-width", "rx", "stroke-dasharray"], Ke = { key: 1 }, Qe = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ze = { key: 2 }, et = ["x", "y", "font-size", "font-weight", "fill"], tt = ["x", "y", "font-size", "fill"], lt = ["x", "y", "font-size", "fill"], at = ["height", "width", "x", "onMouseover", "onMouseleave", "onClick"], st = {
|
|
@@ -27,9 +27,9 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
|
|
|
27
27
|
emits: ["selectDatapoint"],
|
|
28
28
|
setup(Z, { emit: ee }) {
|
|
29
29
|
pe((l) => ({
|
|
30
|
-
|
|
30
|
+
v693dff61: ve.value
|
|
31
31
|
}));
|
|
32
|
-
const te = me(() => import("./PackageVersion-
|
|
32
|
+
const te = me(() => import("./PackageVersion-C9oklnuy.js")), { vue_ui_sparkhistogram: le } = Se(), b = Z, _ = y(ke()), W = y(null), V = y(null), M = y(null), C = y(null), w = y(null), e = y(T()), { loading: H, FINAL_DATASET: A } = Me({
|
|
33
33
|
...be(b),
|
|
34
34
|
FINAL_CONFIG: e,
|
|
35
35
|
prepareConfig: T,
|
|
@@ -176,7 +176,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
|
|
|
176
176
|
}), X([F, I, () => A.value], async () => {
|
|
177
177
|
await j(), x(".vue-ui-sparkhistogram-top-label", e.value.style.labels.value.minFontSize), x(".vue-ui-sparkhistogram-bottom-label", e.value.style.labels.valueLabel.minFontSize), x(".vue-ui-sparkhistogram-time-label", e.value.style.labels.timeLabel.minFontSize);
|
|
178
178
|
}), (l, o) => (a(), s("div", {
|
|
179
|
-
class: "vue-ui-spark-histogram",
|
|
179
|
+
class: "vue-data-ui-component vue-ui-spark-histogram",
|
|
180
180
|
ref_key: "histogramChart",
|
|
181
181
|
ref: M,
|
|
182
182
|
style: S(`width:100%;background:${e.value.style.backgroundColor};font-family:${e.value.style.fontFamily}`),
|
|
@@ -375,7 +375,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
|
|
|
375
375
|
n(H) ? (a(), G(Fe, { key: 2 })) : c("", !0)
|
|
376
376
|
], 36));
|
|
377
377
|
}
|
|
378
|
-
}, ft = /* @__PURE__ */ De(st, [["__scopeId", "data-v-
|
|
378
|
+
}, ft = /* @__PURE__ */ De(st, [["__scopeId", "data-v-df871618"]]);
|
|
379
379
|
export {
|
|
380
380
|
ft as default
|
|
381
381
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as he, computed as h, ref as y, toRefs as Pe, watch as J, shallowRef as fe, onMounted as Re, onBeforeUnmount as ye, createElementBlock as c, openBlock as n, normalizeStyle as T, renderSlot as S, createCommentVNode as f, createBlock as pe, normalizeProps as ge, guardReactiveProps as me, createElementVNode as p, toDisplayString as D, unref as s, createVNode as Fe, Fragment as Q, renderList as ee, withCtx as Ee, createTextVNode as Be, nextTick as Oe } from "vue";
|
|
2
|
-
import { c as Ge, t as je, B as be, a1 as te, o as ke, f as xe, g as Ue, i as W, a2 as Xe, a3 as Ye, X as qe, s as P, U as _e, T as Ze, a4 as we, a as ae, d as le, a5 as Ke } from "./lib-
|
|
3
|
-
import { u as He, a as Le } from "./useNestedProp-
|
|
2
|
+
import { c as Ge, t as je, B as be, a1 as te, o as ke, f as xe, g as Ue, i as W, a2 as Xe, a3 as Ye, X as qe, s as P, U as _e, T as Ze, a4 as we, a as ae, d as le, a5 as Ke } from "./lib-GIYcnm0E.js";
|
|
3
|
+
import { u as He, a as Le } from "./useNestedProp-mxyyqd0B.js";
|
|
4
4
|
import { t as Je, u as Qe } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as et } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
6
|
import { u as tt, B as at } from "./BaseScanner-BgWxam9d.js";
|
|
@@ -41,7 +41,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
41
41
|
},
|
|
42
42
|
emits: ["hoverIndex", "selectDatapoint"],
|
|
43
43
|
setup($, { emit: Ae }) {
|
|
44
|
-
const $e = he(() => import("./PackageVersion-
|
|
44
|
+
const $e = he(() => import("./PackageVersion-C9oklnuy.js")), Ne = he(() => import("./SparkTooltip-Cp0G9giW.js")), { vue_ui_sparkline: Me } = He(), r = $, ue = h(() => Array.isArray(r.dataset) && r.dataset.length > 0), g = y(Ge()), R = y(null), oe = y(null), se = y(null), e = y(B());
|
|
45
45
|
function Ce(t) {
|
|
46
46
|
return Ke(t).map((a) => ({ period: "-", value: a }));
|
|
47
47
|
}
|
|
@@ -274,7 +274,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
274
274
|
return (t, a) => (n(), c("div", {
|
|
275
275
|
ref_key: "sparklineChart",
|
|
276
276
|
ref: R,
|
|
277
|
-
class: "vue-ui-sparkline",
|
|
277
|
+
class: "vue-data-ui-component vue-ui-sparkline",
|
|
278
278
|
id: g.value,
|
|
279
279
|
style: T(`width:100%;font-family:${e.value.style.fontFamily};`)
|
|
280
280
|
}, [
|
|
@@ -508,7 +508,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
|
|
|
508
508
|
s(F) ? (n(), pe(at, { key: 3 })) : f("", !0)
|
|
509
509
|
], 12, st));
|
|
510
510
|
}
|
|
511
|
-
}, Ft = /* @__PURE__ */ ot(Ct, [["__scopeId", "data-v-
|
|
511
|
+
}, Ft = /* @__PURE__ */ ot(Ct, [["__scopeId", "data-v-cc569021"]]);
|
|
512
512
|
export {
|
|
513
513
|
Ft as default
|
|
514
514
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as X, useSlots as be, onMounted as J, ref as v, toRefs as ke, watch as K, computed as $, createElementBlock as r, openBlock as s, normalizeStyle as p, createCommentVNode as f, createVNode as Q, createBlock as _e, createElementVNode as d, toDisplayString as F, unref as c, Fragment as k, renderList as A, normalizeClass as N, withCtx as Z, renderSlot as R, normalizeProps as ee, guardReactiveProps as te } from "vue";
|
|
2
|
-
import { c as le, t as xe, b as we, p as i, h as D, e as Ce, o as $e, f as oe, g as Se, d as U, X as Fe, s as ae, i as se, a as re, z as Ae } from "./lib-
|
|
3
|
-
import { u as De, a as ne } from "./useNestedProp-
|
|
2
|
+
import { c as le, t as xe, b as we, p as i, h as D, e as Ce, o as $e, f as oe, g as Se, d as U, X as Fe, s as ae, i as se, a as re, z as Ae } from "./lib-GIYcnm0E.js";
|
|
3
|
+
import { u as De, a as ne } from "./useNestedProp-mxyyqd0B.js";
|
|
4
4
|
import { u as Ie } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
5
|
import { t as ze } from "./themes-Dw-dDudK.js";
|
|
6
6
|
import { u as Pe, B as Be } from "./BaseScanner-BgWxam9d.js";
|
|
@@ -33,7 +33,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectDatapoint"],
|
|
35
35
|
setup(ue, { emit: ie }) {
|
|
36
|
-
const ce = X(() => import("./PackageVersion-
|
|
36
|
+
const ce = X(() => import("./PackageVersion-C9oklnuy.js")), de = X(() => import("./Tooltip-CtVdvbZi.js")), { vue_ui_sparkstackbar: ve } = De(), _ = ue, pe = be();
|
|
37
37
|
J(() => {
|
|
38
38
|
pe["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
|
|
39
39
|
});
|
|
@@ -207,7 +207,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
return (t, a) => (s(), r("div", {
|
|
210
|
-
class: "vue-ui-spark-stackbar",
|
|
210
|
+
class: "vue-data-ui-component vue-ui-spark-stackbar",
|
|
211
211
|
ref_key: "sparkstackbarChart",
|
|
212
212
|
ref: j,
|
|
213
213
|
style: p(`width:100%; background:${e.value.style.backgroundColor}`)
|
|
@@ -418,7 +418,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
|
|
|
418
418
|
c(x) ? (s(), _e(Be, { key: 3 })) : f("", !0)
|
|
419
419
|
], 4));
|
|
420
420
|
}
|
|
421
|
-
}, it = /* @__PURE__ */ Le(tt, [["__scopeId", "data-v-
|
|
421
|
+
}, it = /* @__PURE__ */ Le(tt, [["__scopeId", "data-v-ae2ae4f4"]]);
|
|
422
422
|
export {
|
|
423
423
|
it as default
|
|
424
424
|
};
|