vue-data-ui 2.14.1 → 2.14.3-beta.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/README.md +17 -0
- package/dist/{Arrow-HJLeHmf6.js → Arrow-DrUXalK1.js} +1 -1
- package/dist/{BaseDraggableDialog-DxqOerJ8.js → BaseDraggableDialog-BBiAE4t8.js} +2 -2
- package/dist/{BaseIcon-61ZYnf6Y.js → BaseIcon-avTvifnO.js} +1 -1
- package/dist/{ColorPicker-DiOZ0dIA.js → ColorPicker-BAOfnFRQ.js} +2 -2
- package/dist/{DataTable-CvEYBbuI.js → DataTable-D8n1mvaG.js} +2 -2
- package/dist/{Legend-ChpNJ_NF.js → Legend-Cpx0xSce.js} +4 -4
- package/dist/{NonSvgPenAndPaper-cf1P3kEq.js → NonSvgPenAndPaper-ClnGCm8G.js} +3 -3
- package/dist/{PackageVersion-CczS07-5.js → PackageVersion-Bwu7jdjH.js} +2 -2
- package/dist/{PenAndPaper-CqPrXvIl.js → PenAndPaper-BzQcbTCN.js} +3 -3
- package/dist/{Shape-Bdn11q8F.js → Shape-D65xhJAN.js} +1 -1
- package/dist/{Slicer-D9JY91SV.js → Slicer-DjwiDPEk.js} +14 -14
- package/dist/{SparkTooltip-B6ZYyu7F.js → SparkTooltip-B8nH7aKM.js} +1 -1
- package/dist/{Title-CjfBFzRf.js → Title-B71Dk29x.js} +1 -1
- package/dist/{Tooltip-BZpxnTbb.js → Tooltip-BuP-Tir7.js} +1 -1
- package/dist/{UserOptions-DVYwPBK2.js → UserOptions-fd2DeGS7.js} +2 -2
- package/dist/{dom-to-png-Dya0UERi.js → dom-to-png-D7idYX2d.js} +1 -1
- package/dist/{img-CuEOfq14.js → img-CSeVuPYh.js} +1 -1
- package/dist/{index-BgrDsHvy.js → index-BzH6XFI9.js} +413 -394
- package/dist/{pdf-D10HhJgy.js → pdf-ksl9rS7r.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -0
- package/dist/types/vue-data-ui.d.ts +4 -0
- package/dist/{useNestedProp-Cw4jG3FY.js → useNestedProp-CKM2gCr5.js} +1 -1
- package/dist/{usePrinter-DzxhXGdR.js → usePrinter-C653sJjz.js} +2 -2
- package/dist/{vue-data-ui-CMV-krGM.js → vue-data-ui-DdffTqYM.js} +63 -63
- package/dist/vue-data-ui.js +21 -21
- package/dist/{vue-ui-3d-bar-CP4gDeA9.js → vue-ui-3d-bar-vdc7daf_.js} +5 -5
- package/dist/{vue-ui-accordion-m8te3vGO.js → vue-ui-accordion-Cjq4hqGi.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C8uZPTAY.js → vue-ui-age-pyramid-CMFgIKLE.js} +5 -5
- package/dist/{vue-ui-annotator-CiIkCJ6S.js → vue-ui-annotator-BvODcd7y.js} +2 -2
- package/dist/{vue-ui-bullet-D7GCFc-g.js → vue-ui-bullet-BX73-v3g.js} +6 -6
- package/dist/{vue-ui-candlestick-B8jQjSpc.js → vue-ui-candlestick-Ogvne-GG.js} +6 -6
- package/dist/{vue-ui-carousel-table-Cm4mh1bm.js → vue-ui-carousel-table-DXeRsoL_.js} +4 -4
- package/dist/{vue-ui-chestnut-xJx3qXST.js → vue-ui-chestnut-DXDQOgbn.js} +4 -4
- package/dist/{vue-ui-chord-DeMiI8ma.js → vue-ui-chord-CWStby-a.js} +7 -7
- package/dist/{vue-ui-circle-pack-CIYfy0qC.js → vue-ui-circle-pack-C4kdJPNJ.js} +5 -5
- package/dist/{vue-ui-cursor-D9Z3w8f_.js → vue-ui-cursor-Du4IVYWM.js} +2 -2
- package/dist/{vue-ui-dashboard-f6jQBHYW.js → vue-ui-dashboard-XpoAcLb4.js} +62 -62
- package/dist/{vue-ui-digits-BT16JoAt.js → vue-ui-digits-Ce_eR3L5.js} +2 -2
- package/dist/{vue-ui-donut-u7q9NrFK.js → vue-ui-donut-D6VPixUt.js} +188 -188
- package/dist/{vue-ui-donut-evolution-BCMm8STJ.js → vue-ui-donut-evolution-C3MA75pG.js} +309 -293
- package/dist/{vue-ui-dumbbell-CoopXtZe.js → vue-ui-dumbbell-CeQOb65i.js} +6 -6
- package/dist/{vue-ui-flow-BFgXTv_3.js → vue-ui-flow-D-_7gBhg.js} +26 -26
- package/dist/{vue-ui-funnel-DKgnIXPL.js → vue-ui-funnel-BsXNYzPK.js} +5 -5
- package/dist/{vue-ui-galaxy-Cq6YBbi_.js → vue-ui-galaxy--N2CYrWl.js} +4 -4
- package/dist/{vue-ui-gauge-D-vM39d0.js → vue-ui-gauge-DhKGlAJd.js} +5 -5
- package/dist/{vue-ui-gizmo-D3RZqfAG.js → vue-ui-gizmo-Bcwgwj-f.js} +3 -3
- package/dist/{vue-ui-heatmap-DPL8z3cI.js → vue-ui-heatmap-BlY7-ZUF.js} +6 -6
- package/dist/{vue-ui-history-plot-CSXwsNpD.js → vue-ui-history-plot-typzqDiw.js} +234 -210
- package/dist/{vue-ui-kpi-b8tHwa8_.js → vue-ui-kpi-Cj_96Iru.js} +3 -3
- package/dist/{vue-ui-mini-loader-CdY-ZkhQ.js → vue-ui-mini-loader-Dr42qu-K.js} +2 -2
- package/dist/{vue-ui-molecule-3h00FH5s.js → vue-ui-molecule-DfQCNRcr.js} +16 -16
- package/dist/{vue-ui-mood-radar-D33gSEOC.js → vue-ui-mood-radar-ChryER9p.js} +19 -19
- package/dist/{vue-ui-nested-donuts-B0A0vXtk.js → vue-ui-nested-donuts-CWm-A-co.js} +90 -90
- package/dist/{vue-ui-onion-a8_JDLyl.js → vue-ui-onion-Bb8s5St0.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-1LlN6F0r.js → vue-ui-parallel-coordinate-plot-DcD53HSq.js} +188 -171
- package/dist/{vue-ui-quadrant-N0rhTZ5W.js → vue-ui-quadrant-CpuFmTG9.js} +243 -225
- package/dist/{vue-ui-quick-chart-Wv8KVB-d.js → vue-ui-quick-chart-BHO_J8Tc.js} +369 -353
- package/dist/{vue-ui-radar-CzniRpn-.js → vue-ui-radar-LsSH7YAg.js} +45 -45
- package/dist/{vue-ui-rating-Cf_RDtUI.js → vue-ui-rating-rcN8C68M.js} +8 -8
- package/dist/{vue-ui-relation-circle-Bo_-vb66.js → vue-ui-relation-circle-CmZ8rXwC.js} +5 -5
- package/dist/{vue-ui-ridgeline-DjU5kQwH.js → vue-ui-ridgeline-CpXWT3tk.js} +185 -165
- package/dist/{vue-ui-rings-CpOhLhDo.js → vue-ui-rings-x_HCzzIw.js} +7 -7
- package/dist/{vue-ui-scatter-Diq2Iio2.js → vue-ui-scatter-DNgUU2mO.js} +49 -49
- package/dist/{vue-ui-skeleton-B8Wzi4Hi.js → vue-ui-skeleton-qa5B2MES.js} +3 -3
- package/dist/{vue-ui-smiley-O2q3w9fQ.js → vue-ui-smiley-C0DEaxQK.js} +2 -2
- package/dist/{vue-ui-spark-trend-BTnR034D.js → vue-ui-spark-trend-DjctYLri.js} +3 -3
- package/dist/{vue-ui-sparkbar-B5SlfKQN.js → vue-ui-sparkbar-Un3CJINy.js} +3 -3
- package/dist/{vue-ui-sparkgauge-B_BVnGgV.js → vue-ui-sparkgauge-BascS5LC.js} +8 -8
- package/dist/{vue-ui-sparkhistogram-CowIuwbW.js → vue-ui-sparkhistogram-CZYnWAUW.js} +4 -4
- package/dist/{vue-ui-sparkline-Ogfd0FmW.js → vue-ui-sparkline-DyIDPpiz.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-B5SnjytL.js → vue-ui-sparkstackbar-Ctz_OFbi.js} +3 -3
- package/dist/{vue-ui-stackbar-Co6Ly31u.js → vue-ui-stackbar-DqIv6O-t.js} +417 -373
- package/dist/{vue-ui-strip-plot-B-dKieOC.js → vue-ui-strip-plot-BAfdL6Ih.js} +202 -184
- package/dist/{vue-ui-table-DlM8IVJC.js → vue-ui-table-CCMkrVp7.js} +3 -3
- package/dist/{vue-ui-table-heatmap-C-G1Vr3i.js → vue-ui-table-heatmap--gO5Zuyp.js} +18 -18
- package/dist/{vue-ui-table-sparkline-Dh3m5rHW.js → vue-ui-table-sparkline-5HTiQPhC.js} +4 -4
- package/dist/{vue-ui-thermometer-COAiS2i7.js → vue-ui-thermometer-BbxNtsdP.js} +5 -5
- package/dist/{vue-ui-timer-Bnxo2caA.js → vue-ui-timer-DwUmt-Jo.js} +5 -5
- package/dist/{vue-ui-tiremarks-D1gy7-Uu.js → vue-ui-tiremarks-YyiGuluO.js} +5 -5
- package/dist/{vue-ui-treemap-_qyTaKiq.js → vue-ui-treemap-hHSyoGry.js} +7 -7
- package/dist/{vue-ui-vertical-bar-CKbzxqWL.js → vue-ui-vertical-bar-Bjyjarmi.js} +8 -8
- package/dist/{vue-ui-waffle-_IX54mhp.js → vue-ui-waffle-B3lfeeZs.js} +246 -242
- package/dist/{vue-ui-wheel-BT1vFZGN.js → vue-ui-wheel-DrVnxe3n.js} +5 -5
- package/dist/{vue-ui-word-cloud-B0ZKf-0k.js → vue-ui-word-cloud-CRFfYl4B.js} +15 -15
- package/dist/{vue-ui-world-CBDKYFwQ.js → vue-ui-world-BeVT9bsc.js} +5 -5
- package/dist/{vue-ui-xy-ChqEX06H.js → vue-ui-xy-B6LjQd7h.js} +591 -570
- package/dist/{vue-ui-xy-canvas-Dca_tr3r.js → vue-ui-xy-canvas-DviTudRz.js} +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1059,6 +1059,23 @@ const merged = mergeConfigs({
|
|
|
1059
1059
|
});
|
|
1060
1060
|
```
|
|
1061
1061
|
|
|
1062
|
+
## Multiline data labels
|
|
1063
|
+
|
|
1064
|
+
Some components will display labels on mutliple lines when the provided text contains a line break. (example: "I contain\na line break").
|
|
1065
|
+
Below is a table of the places where such line breaks can be used:
|
|
1066
|
+
|
|
1067
|
+
| Component | Label displayed | Where to use line breaks |
|
|
1068
|
+
| --------------------------- | -------------------- | ------------------------------------------------------ |
|
|
1069
|
+
| VueUiXy | Time labels (x axis) | config.chart.grid.labels.xAxisLabels.values |
|
|
1070
|
+
| VueUiDonutEvolution | Time labels (x axis) | config.style.chart.layout.grid.xAxis.dataLabels.values |
|
|
1071
|
+
| VueUiHistoryPlot | Plot labels | dataset names |
|
|
1072
|
+
| VueUiParallelCoordinatePlot | Axis labels | config.style.chart.yAxis.labels.axisNames |
|
|
1073
|
+
| VueUiQuadrant | Plot labels | dataset names |
|
|
1074
|
+
| VueUiQuickChart | Time labels (x axis) | config.xyPeriods |
|
|
1075
|
+
| VueUiRidgeline | Time labels (x axis) | config.style.chart.xAxis.labels.values |
|
|
1076
|
+
| VueUiStackbar | Time labels (x axis) | config.style.chart.grid.x.timeLabels.values |
|
|
1077
|
+
| VueUiStripPlot | x axis labels | dataset names |
|
|
1078
|
+
|
|
1062
1079
|
## PDF generation
|
|
1063
1080
|
|
|
1064
1081
|
This package requires jspdf as a peer dependency. Please install it in your project if you intend on using the PDF printing feature.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as u, createElementBlock as k, openBlock as m, createElementVNode as t, unref as o } from "vue";
|
|
2
|
-
import { c as n } from "./index-
|
|
2
|
+
import { c as n } from "./index-BzH6XFI9.js";
|
|
3
3
|
const s = { class: "vue-ui-element-arrow" }, f = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], c = ["d", "fill"], h = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], y = ["d", "fill"], v = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap", "stroke-dasharray", "marker-end", "marker-start"], z = {
|
|
4
4
|
__name: "Arrow",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as O, ref as z, reactive as T, computed as $, onUnmounted as R, createBlock as N, openBlock as v, Teleport as V, createElementBlock as E, createCommentVNode as I, withModifiers as a, normalizeStyle as y, createElementVNode as o, unref as P, renderSlot as M, createVNode as F, nextTick as j } from "vue";
|
|
2
|
-
import U from "./BaseIcon-
|
|
3
|
-
import { X as q } from "./index-
|
|
2
|
+
import U from "./BaseIcon-avTvifnO.js";
|
|
3
|
+
import { X as q } from "./index-BzH6XFI9.js";
|
|
4
4
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const G = ["xmlns"], J = { class: "modal-title" }, K = { class: "modal-body" }, Q = {
|
|
6
6
|
__name: "BaseDraggableDialog",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as e, createElementBlock as n, openBlock as i, normalizeClass as k, unref as L } from "vue";
|
|
2
|
-
import { X as l } from "./index-
|
|
2
|
+
import { X as l } from "./index-BzH6XFI9.js";
|
|
3
3
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const M = ["xmlns", "viewBox", "height", "width", "innerHTML"], h = {
|
|
5
5
|
__name: "BaseIcon",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as l, computed as k, watch as I, withDirectives as P, createElementBlock as r, openBlock as n, withKeys as S, createElementVNode as u, createCommentVNode as z, normalizeStyle as a, createVNode as F, Fragment as E, renderList as N, unref as O } from "vue";
|
|
2
|
-
import C from "./BaseIcon-
|
|
3
|
-
import { G as V } from "./index-
|
|
2
|
+
import C from "./BaseIcon-avTvifnO.js";
|
|
3
|
+
import { G as V } from "./index-BzH6XFI9.js";
|
|
4
4
|
import { v as D } from "./vClickOutside-C6WiFswA.js";
|
|
5
5
|
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const $ = ["onClick"], G = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -46%)" } }, L = ["value"], T = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as A, unref as e, computed as D, ref as w, onMounted as E, createElementBlock as n, openBlock as a, normalizeClass as k, createElementVNode as t, withKeys as R, normalizeStyle as i, createVNode as C, toDisplayString as I, Fragment as f, renderList as m, renderSlot as N, createCommentVNode as $ } from "vue";
|
|
2
|
-
import { _ as K } from "./Shape-
|
|
3
|
-
import O from "./BaseIcon-
|
|
2
|
+
import { _ as K } from "./Shape-D65xhJAN.js";
|
|
3
|
+
import O from "./BaseIcon-avTvifnO.js";
|
|
4
4
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const j = { class: "vue-ui-data-table" }, F = { style: { display: "flex", "align-items": "center", "justify-content": "flex-end", "padding-right": "3px", gap: "3px" } }, L = { style: { width: "12px", height: "12px" } }, M = {
|
|
6
6
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createElementBlock as n, openBlock as o, normalizeStyle as d, renderSlot as l, Fragment as u, renderList as g, normalizeClass as m, createCommentVNode as h, createVNode as k, mergeProps as
|
|
2
|
-
import {
|
|
3
|
-
import { _ as v } from "./Shape-
|
|
1
|
+
import { createElementBlock as n, openBlock as o, normalizeStyle as d, renderSlot as l, Fragment as u, renderList as g, normalizeClass as m, createCommentVNode as h, createVNode as k, mergeProps as y, unref as $ } from "vue";
|
|
2
|
+
import { a0 as p } from "./index-BzH6XFI9.js";
|
|
3
|
+
import { _ as v } from "./Shape-D65xhJAN.js";
|
|
4
4
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const S = ["id"], x = ["onClick", "height", "width"], z = {
|
|
6
6
|
__name: "Legend",
|
|
@@ -56,7 +56,7 @@ const S = ["id"], x = ["onClick", "height", "width"], z = {
|
|
|
56
56
|
plot: { x: 30, y: 30 },
|
|
57
57
|
fill: t.color
|
|
58
58
|
}, null, 8, ["shape", "fill"]),
|
|
59
|
-
l(i.$slots, "legend-pattern",
|
|
59
|
+
l(i.$slots, "legend-pattern", y({ ref_for: !0 }, { legend: t, index: $(p)(t.absoluteIndex) ? t.absoluteIndex : a }), void 0, !0)
|
|
60
60
|
], 12, x)) : h("", !0),
|
|
61
61
|
l(i.$slots, "item", {
|
|
62
62
|
legend: t,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as i, computed as we, onMounted as ke, nextTick as be, onBeforeUnmount as Ce, watch as oe, createElementBlock as x, openBlock as y, Fragment as q, createCommentVNode as Y, normalizeStyle as b, normalizeClass as D, createElementVNode as C, withDirectives as ae, createVNode as M, toDisplayString as re, unref as se, vModelText as ue, withModifiers as ie, renderList as ce } from "vue";
|
|
2
|
-
import { l as $e, f as Se, X as Ae } from "./index-
|
|
3
|
-
import R from "./BaseIcon-
|
|
4
|
-
import { C as Ee } from "./ColorPicker-
|
|
2
|
+
import { l as $e, f as Se, X as Ae } from "./index-BzH6XFI9.js";
|
|
3
|
+
import R from "./BaseIcon-avTvifnO.js";
|
|
4
|
+
import { C as Ee } from "./ColorPicker-BAOfnFRQ.js";
|
|
5
5
|
import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const Te = {
|
|
7
7
|
class: /* @__PURE__ */ D({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createElementBlock as e, openBlock as t, toDisplayString as o, unref as r } from "vue";
|
|
2
|
-
const
|
|
2
|
+
const a = "2.14.3-beta.0", n = { "aria-hidden": "true" }, p = {
|
|
3
3
|
__name: "PackageVersion",
|
|
4
4
|
setup(s) {
|
|
5
|
-
return (c, i) => (t(), e("desc",
|
|
5
|
+
return (c, i) => (t(), e("desc", n, "Composed with Vue Data UI " + o(r(a)), 1));
|
|
6
6
|
}
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as c, computed as ge, watch as X, nextTick as le, onMounted as pe, onBeforeUnmount as me, createElementBlock as Y, createCommentVNode as q, openBlock as z, normalizeStyle as x, createElementVNode as k, withDirectives as ae, createVNode as R, normalizeClass as G, toDisplayString as Ae, unref as he, vModelText as oe } from "vue";
|
|
2
|
-
import T from "./BaseIcon-
|
|
3
|
-
import { C as we } from "./ColorPicker-
|
|
4
|
-
import { l as be, f as xe } from "./index-
|
|
2
|
+
import T from "./BaseIcon-avTvifnO.js";
|
|
3
|
+
import { C as we } from "./ColorPicker-BAOfnFRQ.js";
|
|
4
|
+
import { l as be, f as xe } from "./index-BzH6XFI9.js";
|
|
5
5
|
const ye = {
|
|
6
6
|
class: "vue-ui-pen-and-paper-action",
|
|
7
7
|
style: { padding: "0 !important" }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as u, createElementBlock as r, openBlock as l, createCommentVNode as a } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as c, R as f } from "./index-BzH6XFI9.js";
|
|
3
3
|
const y = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], g = ["d", "fill", "stroke", "stroke-width"], x = ["points", "fill", "stroke", "stroke-width"], h = {
|
|
4
4
|
__name: "Shape",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as ze, computed as d, ref as i, watch as
|
|
2
|
-
import Ue from "./BaseIcon-
|
|
1
|
+
import { useCssVars as ze, computed as d, ref as i, watch as D, onMounted as Ae, onBeforeUnmount as He, watchEffect as Fe, nextTick as Y, onUpdated as Ve, createElementBlock as c, openBlock as m, createElementVNode as v, createCommentVNode as p, renderSlot as We, normalizeStyle as $, createVNode as Xe, withDirectives as me, unref as H, Fragment as he, renderList as fe, normalizeClass as L, vModelText as ge, toDisplayString as _ } from "vue";
|
|
2
|
+
import Ue from "./BaseIcon-avTvifnO.js";
|
|
3
3
|
import { t as Oe, u as Ze } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { c as je,
|
|
4
|
+
import { c as je, V as be, U as xe, X as Ge, G as ee } from "./index-BzH6XFI9.js";
|
|
5
5
|
import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const Je = {
|
|
7
7
|
class: "vue-data-ui-slicer-labels",
|
|
@@ -157,12 +157,12 @@ const Je = {
|
|
|
157
157
|
function Re() {
|
|
158
158
|
Number(r.value) < Number(u.value) + 1 && (r.value = Number(u.value) + 1), S("update:end", Number(r.value));
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
D(
|
|
161
161
|
() => l.min,
|
|
162
162
|
(e) => {
|
|
163
163
|
Number(u.value) < Number(e) && (u.value = Number(e)), Number(r.value) < Number(e) && (r.value = Number(e));
|
|
164
164
|
}
|
|
165
|
-
),
|
|
165
|
+
), D(
|
|
166
166
|
() => l.max,
|
|
167
167
|
(e) => {
|
|
168
168
|
Number(u.value) > Number(e) && (u.value = Number(e)), Number(r.value) > Number(e) && (r.value = Number(e));
|
|
@@ -171,7 +171,7 @@ const Je = {
|
|
|
171
171
|
const X = i(null), o = i({
|
|
172
172
|
width: 1,
|
|
173
173
|
height: 1
|
|
174
|
-
}),
|
|
174
|
+
}), T = i(null);
|
|
175
175
|
Ae(() => {
|
|
176
176
|
if (M.value) {
|
|
177
177
|
const e = Oe(() => {
|
|
@@ -180,10 +180,10 @@ const Je = {
|
|
|
180
180
|
});
|
|
181
181
|
o.value.width = a, o.value.height = n - 47;
|
|
182
182
|
});
|
|
183
|
-
|
|
183
|
+
T.value = new ResizeObserver(e), T.value.observe(X.value);
|
|
184
184
|
}
|
|
185
185
|
}), He(() => {
|
|
186
|
-
|
|
186
|
+
T.value && T.value.disconnect();
|
|
187
187
|
});
|
|
188
188
|
const f = d(() => l.minimap.length ? o.value.width / l.minimap.length : 0), x = d(() => {
|
|
189
189
|
if (!l.minimap.length) return [];
|
|
@@ -205,7 +205,7 @@ const Je = {
|
|
|
205
205
|
x: f.value * u.value + f.value / 2,
|
|
206
206
|
width: o.value.width * ((r.value - u.value) / l.max) - f.value
|
|
207
207
|
})), E = i(l.minimapSelectedIndex);
|
|
208
|
-
|
|
208
|
+
D(() => l.minimapSelectedIndex, (e) => {
|
|
209
209
|
E.value = e + l.valueStart;
|
|
210
210
|
}, { immediate: !0 });
|
|
211
211
|
function Ne(e) {
|
|
@@ -230,13 +230,13 @@ const Je = {
|
|
|
230
230
|
if ((a ? e.targetTouches[0].target : e.target).classList.contains("range-handle"))
|
|
231
231
|
return;
|
|
232
232
|
q.value = !0, J.value = a ? e.targetTouches[0].clientX : e.clientX;
|
|
233
|
-
const s = a ?
|
|
233
|
+
const s = a ? De : ie, h = a ? Te : ue;
|
|
234
234
|
window.addEventListener(a ? "touchmove" : "mousemove", s, { passive: !1 }), window.addEventListener(a ? "touchend" : "mouseup", h);
|
|
235
235
|
};
|
|
236
236
|
function ie(e) {
|
|
237
237
|
oe(e.clientX);
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function De(e) {
|
|
240
240
|
g.value.contains(e.target) && (e.target.classList.contains("range-handle") || (e.preventDefault(), oe(e.targetTouches[0].clientX)));
|
|
241
241
|
}
|
|
242
242
|
function oe(e) {
|
|
@@ -258,7 +258,7 @@ const Je = {
|
|
|
258
258
|
function ue() {
|
|
259
259
|
re("mousemove", "mouseup");
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Te() {
|
|
262
262
|
re("touchmove", "touchend");
|
|
263
263
|
}
|
|
264
264
|
function re(e, a) {
|
|
@@ -295,9 +295,9 @@ const Je = {
|
|
|
295
295
|
};
|
|
296
296
|
}), Ve(() => {
|
|
297
297
|
se(), de();
|
|
298
|
-
}),
|
|
298
|
+
}), D(() => l.labelLeft, () => {
|
|
299
299
|
Y(se);
|
|
300
|
-
}, { deep: !0 }),
|
|
300
|
+
}, { deep: !0 }), D(() => l.labelRight, () => {
|
|
301
301
|
Y(de);
|
|
302
302
|
}, { deep: !0 }), ye({
|
|
303
303
|
setStartValue: Z,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRef as c, ref as a, computed as v, onMounted as m, watch as y, createElementBlock as b, openBlock as g, normalizeStyle as x, renderSlot as k, nextTick as S } from "vue";
|
|
2
|
-
import { s as _,
|
|
2
|
+
import { s as _, ao as i } from "./index-BzH6XFI9.js";
|
|
3
3
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const R = {
|
|
5
5
|
__name: "SparkTooltip",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as l, openBlock as n, Fragment as f, createElementVNode as p, createCommentVNode as o, normalizeStyle as d, unref as e, toDisplayString as g, renderSlot as r } from "vue";
|
|
2
|
-
import { u as c } from "./useNestedProp-
|
|
2
|
+
import { u as c } from "./useNestedProp-CKM2gCr5.js";
|
|
3
3
|
const x = {
|
|
4
4
|
__name: "Title",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as m, watch as p, nextTick as g, onUnmounted as S, computed as x, createBlock as k, openBlock as h, Teleport as $, createElementBlock as C, createCommentVNode as F, normalizeStyle as B, normalizeClass as N, renderSlot as v, createElementVNode as w } from "vue";
|
|
2
2
|
import { u as z } from "./useMouse-AicQS8Vf.js";
|
|
3
|
-
import { s as T } from "./index-
|
|
3
|
+
import { s as T } from "./index-BzH6XFI9.js";
|
|
4
4
|
function Y({ tooltip: t, chart: n, clientPosition: l, positionPreference: s = "center", defaultOffsetY: d = 24, blockShiftY: u = !1 }) {
|
|
5
5
|
const e = m(0), i = m(d);
|
|
6
6
|
if (t && n) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as m, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as Y, createElementBlock as s, openBlock as t, normalizeStyle as v, createElementVNode as X, withKeys as Z, withModifiers as p, renderSlot as k, normalizeProps as A, guardReactiveProps as _, createVNode as ee, normalizeClass as d, createCommentVNode as a, Fragment as h, createBlock as f, toDisplayString as y, mergeProps as F, unref as te } from "vue";
|
|
2
2
|
import { v as oe } from "./vClickOutside-C6WiFswA.js";
|
|
3
|
-
import r from "./BaseIcon-
|
|
4
|
-
import ne from "./img-
|
|
3
|
+
import r from "./BaseIcon-avTvifnO.js";
|
|
4
|
+
import ne from "./img-CSeVuPYh.js";
|
|
5
5
|
import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const ie = ["title"], se = ["data-open"], ae = {
|
|
7
7
|
__name: "UserOptions",
|