vue-data-ui 2.13.3 → 2.13.5-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/dist/{Arrow-BE9mfJkL.js → Arrow-nJWOreP4.js} +1 -1
- package/dist/{BaseDraggableDialog-B9pXvCsc.js → BaseDraggableDialog-IYfaPzLA.js} +2 -2
- package/dist/{BaseIcon-5s68maMg.js → BaseIcon-lwpKi6Wa.js} +1 -1
- package/dist/{ColorPicker-BGBMbOup.js → ColorPicker-D8TZj-R5.js} +2 -2
- package/dist/{DataTable-C8F2aovs.js → DataTable-CuFlXUxm.js} +2 -2
- package/dist/{Legend-CoAmfx-7.js → Legend-DwNuhYnG.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DqqOehOr.js → NonSvgPenAndPaper-D1qSfnYa.js} +3 -3
- package/dist/{PackageVersion-BP504Bvs.js → PackageVersion-1psmmuzo.js} +2 -2
- package/dist/{PenAndPaper-CXfm6LDW.js → PenAndPaper-DgUkj01g.js} +3 -3
- package/dist/{Shape-CbwWTjj8.js → Shape-CmlBrd-F.js} +1 -1
- package/dist/Slicer-B-5jXhhw.js +577 -0
- package/dist/{SparkTooltip-HSZVAB1L.js → SparkTooltip-BGjRXPbu.js} +1 -1
- package/dist/{Title-VtPtUhFq.js → Title-BoKeR6i0.js} +1 -1
- package/dist/{Tooltip-Buu8aWuU.js → Tooltip-Df2iF7bv.js} +1 -1
- package/dist/{UserOptions-7VcV_QUc.js → UserOptions-NrArsCuC.js} +2 -2
- package/dist/{dom-to-png-BjOvlJis.js → dom-to-png-DK9TIQio.js} +1 -1
- package/dist/{img-ClKzlGeA.js → img-CqqmkwDl.js} +1 -1
- package/dist/{index-edeP1M3x.js → index-C137VZkI.js} +675 -656
- package/dist/{pdf-2Tyxymwm.js → pdf-DTB7aasS.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +23 -0
- package/dist/types/vue-data-ui.d.ts +23 -0
- package/dist/{useNestedProp-RNi-Fxfm.js → useNestedProp-ZNu8JrRX.js} +1 -1
- package/dist/{usePrinter-B3nKJKAm.js → usePrinter-B63T3abI.js} +2 -2
- package/dist/useTimeLabels-Mrr0jrpL.js +242 -0
- package/dist/{vue-data-ui-BfYXPWao.js → vue-data-ui-CBTXw5iV.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-4eGejORW.js → vue-ui-3d-bar-DKF0Y325.js} +5 -5
- package/dist/{vue-ui-accordion-C4DquMtU.js → vue-ui-accordion-BI2rBS5z.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Dvrd6Gun.js → vue-ui-age-pyramid-BDulR8Zn.js} +5 -5
- package/dist/{vue-ui-annotator-Db5OBDjC.js → vue-ui-annotator-BokgyAXW.js} +2 -2
- package/dist/{vue-ui-bullet-BlT3571K.js → vue-ui-bullet-D5TWFElT.js} +6 -6
- package/dist/{vue-ui-candlestick-0aDroQCS.js → vue-ui-candlestick-DHTA9GKN.js} +96 -96
- package/dist/{vue-ui-carousel-table-Dav_41vI.js → vue-ui-carousel-table-Bw4rC-Mv.js} +4 -4
- package/dist/{vue-ui-chestnut-CosLSi7b.js → vue-ui-chestnut-DJAW8dTu.js} +4 -4
- package/dist/{vue-ui-chord-BxHp31c3.js → vue-ui-chord-Drxbeh2P.js} +7 -7
- package/dist/{vue-ui-circle-pack-BVbRVfDq.js → vue-ui-circle-pack-ClMdOEtG.js} +5 -5
- package/dist/{vue-ui-cursor-ByPGYWlO.js → vue-ui-cursor-DaT20eFb.js} +2 -2
- package/dist/{vue-ui-dashboard-cC6brbws.js → vue-ui-dashboard-z7pGTlMX.js} +62 -62
- package/dist/{vue-ui-digits-Bb-6Adj7.js → vue-ui-digits-D6kq38s9.js} +2 -2
- package/dist/{vue-ui-donut-B3WltwRF.js → vue-ui-donut-_kVdFrZR.js} +7 -7
- package/dist/{vue-ui-donut-evolution-21zgSmm1.js → vue-ui-donut-evolution-D5P6GSM6.js} +320 -313
- package/dist/{vue-ui-dumbbell-BRRWW41S.js → vue-ui-dumbbell-DfZNlCK5.js} +6 -6
- package/dist/{vue-ui-flow-1nJK3SOO.js → vue-ui-flow-DTx267Ka.js} +6 -6
- package/dist/{vue-ui-funnel-Bo78n4pQ.js → vue-ui-funnel-B_J0AaMa.js} +83 -83
- package/dist/{vue-ui-galaxy-DViqZ_WR.js → vue-ui-galaxy-DtE48yJw.js} +4 -4
- package/dist/{vue-ui-gauge-B_8skcc5.js → vue-ui-gauge-CAKj45DE.js} +5 -5
- package/dist/{vue-ui-gizmo-B06tu-EV.js → vue-ui-gizmo-B-7-Lfai.js} +3 -3
- package/dist/{vue-ui-heatmap-9cZQCsYz.js → vue-ui-heatmap-3anHqH8-.js} +6 -6
- package/dist/{vue-ui-history-plot-q9GGP9lk.js → vue-ui-history-plot-DfduurUS.js} +103 -103
- package/dist/{vue-ui-kpi-D6hwxL-7.js → vue-ui-kpi-C_wEVoh0.js} +3 -3
- package/dist/{vue-ui-mini-loader-5K1b5iwf.js → vue-ui-mini-loader-lGMkM8Kw.js} +2 -2
- package/dist/{vue-ui-molecule-CZJZM3v3.js → vue-ui-molecule-fXW4ejgw.js} +4 -4
- package/dist/{vue-ui-mood-radar-B4ysiT_U.js → vue-ui-mood-radar-TuyuMkzg.js} +6 -6
- package/dist/{vue-ui-nested-donuts-Bp4pT3D5.js → vue-ui-nested-donuts-CtbOVaRR.js} +6 -6
- package/dist/{vue-ui-onion-BnCFgrkZ.js → vue-ui-onion-BV3A2JCN.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-B_BhXrKI.js → vue-ui-parallel-coordinate-plot-DJbeP86h.js} +175 -175
- package/dist/{vue-ui-quadrant-GclnmYO6.js → vue-ui-quadrant-xaXINXWX.js} +7 -7
- package/dist/{vue-ui-quick-chart-CFaBCkfP.js → vue-ui-quick-chart-Dr1HyP8V.js} +464 -457
- package/dist/{vue-ui-radar-BA45g7F0.js → vue-ui-radar-Cbqe4LM_.js} +6 -6
- package/dist/{vue-ui-rating-hTWz-pBq.js → vue-ui-rating-FuSmmUE8.js} +2 -2
- package/dist/{vue-ui-relation-circle-CkOaN_CX.js → vue-ui-relation-circle-kDNSenDo.js} +96 -96
- package/dist/{vue-ui-ridgeline-B2BIUDB-.js → vue-ui-ridgeline-DxtgFsg_.js} +317 -308
- package/dist/{vue-ui-rings-CSO7Zd_g.js → vue-ui-rings-DMx8sMKa.js} +7 -7
- package/dist/{vue-ui-scatter-17gG4jRb.js → vue-ui-scatter-DX42tHz8.js} +7 -7
- package/dist/{vue-ui-skeleton-EoGn9JbB.js → vue-ui-skeleton-CO_Hk6A_.js} +3 -3
- package/dist/{vue-ui-smiley-C_HkNW2f.js → vue-ui-smiley-4lhGcbc2.js} +2 -2
- package/dist/{vue-ui-spark-trend-AXaOXuBl.js → vue-ui-spark-trend-hGZ_JmgH.js} +3 -3
- package/dist/{vue-ui-sparkbar-DWZCWNKx.js → vue-ui-sparkbar-BTf3c9Qn.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BZVcBexd.js → vue-ui-sparkgauge-oMfHC1dA.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BrCxiefW.js → vue-ui-sparkhistogram-DvVbSLEj.js} +4 -4
- package/dist/{vue-ui-sparkline-CFwBsRfj.js → vue-ui-sparkline-BbmMxjnF.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-bwY9BxUo.js → vue-ui-sparkstackbar-ChREWvRl.js} +3 -3
- package/dist/vue-ui-stackbar-BNPLRyEN.js +1130 -0
- package/dist/{vue-ui-strip-plot-C02lCys6.js → vue-ui-strip-plot-Ca1C6bZ_.js} +73 -73
- package/dist/{vue-ui-table-C04CtiEi.js → vue-ui-table-Cfb6eIU4.js} +3 -3
- package/dist/{vue-ui-table-heatmap-IERP9tp0.js → vue-ui-table-heatmap-BnjgK_PF.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CgXchDEY.js → vue-ui-table-sparkline-MJ8lvKbd.js} +4 -4
- package/dist/{vue-ui-thermometer-lf9mJ8LP.js → vue-ui-thermometer-C2qisXo8.js} +5 -5
- package/dist/{vue-ui-timer-BZLtxymy.js → vue-ui-timer-By6_kV9k.js} +8 -8
- package/dist/{vue-ui-tiremarks-Cu1TXwev.js → vue-ui-tiremarks-BU6rsols.js} +5 -5
- package/dist/{vue-ui-treemap-BVyxf-77.js → vue-ui-treemap-DivJblJW.js} +7 -7
- package/dist/{vue-ui-vertical-bar-C_euYHER.js → vue-ui-vertical-bar-Dyt4yezz.js} +8 -8
- package/dist/{vue-ui-waffle-BW6LSfBe.js → vue-ui-waffle-DSzMjANd.js} +7 -7
- package/dist/{vue-ui-wheel-DoARpgpJ.js → vue-ui-wheel-DFCGjYBy.js} +5 -5
- package/dist/{vue-ui-word-cloud-BVmpg5X_.js → vue-ui-word-cloud-BiG5zI03.js} +5 -5
- package/dist/{vue-ui-world-DzbMOJbm.js → vue-ui-world-BhGGmeGq.js} +5 -5
- package/dist/{vue-ui-xy-DD5417b2.js → vue-ui-xy-CZpcKEkV.js} +680 -668
- package/dist/{vue-ui-xy-canvas-9m7qMGHS.js → vue-ui-xy-canvas-B7fE9npn.js} +400 -392
- package/package.json +1 -1
- package/dist/Slicer-BNnP0Y2C.js +0 -537
- package/dist/vue-ui-stackbar-Bgc7lS0v.js +0 -1132
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineAsyncComponent as S, computed as g, ref as r, watch as Te, shallowRef as Ie, onMounted as ut, onBeforeUnmount as it, nextTick as B, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as le, normalizeClass as Fe, createBlock as
|
|
2
|
-
import { u as vt, c as dt, a as yt, C as Le, o as ct, e as I, D as ht, v as D, X as
|
|
1
|
+
import { defineAsyncComponent as S, computed as g, ref as r, watch as Te, shallowRef as Ie, onMounted as ut, onBeforeUnmount as it, nextTick as B, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as le, normalizeClass as Fe, createBlock as A, createCommentVNode as c, createElementVNode as v, createVNode as Re, createSlots as nt, withCtx as m, renderSlot as f, normalizeProps as N, guardReactiveProps as T, Fragment as O, renderList as V, toDisplayString as U, createTextVNode as rt } from "vue";
|
|
2
|
+
import { u as vt, c as dt, a as yt, C as Le, o as ct, e as I, D as ht, v as D, X as ft, w as Y, E as pt, s as gt, F as Oe, q as mt, r as bt, x as xt, y as kt } from "./index-C137VZkI.js";
|
|
3
3
|
import { t as wt, u as $t } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as Ve } from "./useNestedProp-
|
|
5
|
-
import { u as Ct } from "./usePrinter-
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import St from "./Title-
|
|
9
|
-
import { S as
|
|
10
|
-
import { _ as
|
|
4
|
+
import { u as Ve } from "./useNestedProp-ZNu8JrRX.js";
|
|
5
|
+
import { u as Ct } from "./usePrinter-B63T3abI.js";
|
|
6
|
+
import { u as zt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as _t } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import St from "./Title-BoKeR6i0.js";
|
|
9
|
+
import { S as At } from "./Slicer-B-5jXhhw.js";
|
|
10
|
+
import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"], Rt = { key: 1 }, Lt = ["id"], Ot = ["stop-color"], Vt = ["stop-color"], Pt = ["stop-color"], Mt = ["id"], Et = ["stop-color"], Bt = ["stop-color"], Ut = ["stop-color"], Dt = { key: 0 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = { key: 1 }, jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xt = ["x", "y", "font-size", "fill", "font-weight"], Yt = { key: 2 }, qt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kt = { key: 0 }, Qt = ["cx", "cy", "r", "fill"], Zt = ["cx", "cy", "r", "fill"], el = { key: 1 }, tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ol = ["x", "y", "height", "width", "fill", "rx"], al = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], sl = ["x", "y", "height", "width", "fill", "onMouseover"], ul = {
|
|
12
12
|
key: 5,
|
|
13
13
|
class: "vue-data-ui-watermark"
|
|
@@ -27,11 +27,11 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
setup(
|
|
31
|
-
const Me = S(() => import("./vue-ui-accordion-
|
|
30
|
+
setup(z, { expose: Pe }) {
|
|
31
|
+
const Me = S(() => import("./vue-ui-accordion-BI2rBS5z.js")), Ee = S(() => import("./DataTable-CuFlXUxm.js")), Be = S(() => import("./PackageVersion-1psmmuzo.js")), Ue = S(() => import("./PenAndPaper-DgUkj01g.js")), De = S(() => import("./vue-ui-skeleton-CO_Hk6A_.js")), We = S(() => import("./Tooltip-Df2iF7bv.js")), Ge = S(() => import("./UserOptions-NrArsCuC.js")), { vue_ui_candlestick: He } = vt(), h = z, P = g(() => !!h.dataset && h.dataset.length), x = r(dt()), je = r(null), q = r(!1), J = r(""), K = r(void 0), oe = r(0), M = r(null), ae = r(null), se = r(null), ue = r(null), ie = r(null), ne = r(null), W = r(0), re = r(0), ve = r(0), e = g({
|
|
32
32
|
get: () => he(),
|
|
33
33
|
set: (t) => t
|
|
34
|
-
}), { userOptionsVisible: Q, setUserOptionsVisibility: de, keepUserOptionState: ye } =
|
|
34
|
+
}), { userOptionsVisible: Q, setUserOptionsVisibility: de, keepUserOptionState: ye } = zt({ config: e.value }), { svgRef: ce } = _t({ config: e.value.style.title });
|
|
35
35
|
function he() {
|
|
36
36
|
const t = Ve({
|
|
37
37
|
userConfig: h.config,
|
|
@@ -46,20 +46,20 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
46
46
|
} : o = t, h.config && Le(h.config, "style.zoom.startIndex") ? o.style.zoom.startIndex = h.config.style.zoom.startIndex : o.style.zoom.startIndex = null, h.config && Le(h.config, "style.zoom.endIndex") ? o.style.zoom.endIndex = h.config.style.zoom.endIndex : o.style.zoom.endIndex = null, o;
|
|
47
47
|
}
|
|
48
48
|
Te(() => h.config, (t) => {
|
|
49
|
-
e.value = he(), Q.value = !e.value.userOptions.showOnChartHover,
|
|
49
|
+
e.value = he(), Q.value = !e.value.userOptions.showOnChartHover, fe(), W.value += 1, ve.value += 1, re.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.tooltip.show;
|
|
50
50
|
}, { deep: !0 }), Te(() => h.dataset, (t) => {
|
|
51
|
-
|
|
51
|
+
p.value.start = 0, p.value.end = t.length, W.value += 1;
|
|
52
52
|
}, { deep: !0 });
|
|
53
|
-
const
|
|
53
|
+
const y = r({
|
|
54
54
|
height: e.value.style.height,
|
|
55
55
|
width: e.value.style.width,
|
|
56
56
|
xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
57
57
|
yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
58
58
|
}), $ = Ie(null), F = Ie(null);
|
|
59
59
|
ut(() => {
|
|
60
|
-
|
|
60
|
+
fe();
|
|
61
61
|
});
|
|
62
|
-
function
|
|
62
|
+
function fe() {
|
|
63
63
|
if (ct(h.dataset) && I({
|
|
64
64
|
componentName: "VueUiCandlestick",
|
|
65
65
|
type: "dataset"
|
|
@@ -74,19 +74,19 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
74
74
|
noTitle: ne.value
|
|
75
75
|
});
|
|
76
76
|
requestAnimationFrame(() => {
|
|
77
|
-
|
|
77
|
+
y.value.width = o, y.value.height = l, e.value.responsiveProportionalSizing ? (y.value.xAxisFontSize = Oe({
|
|
78
78
|
relator: Math.min(o, l),
|
|
79
79
|
adjuster: e.value.style.width,
|
|
80
80
|
source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
81
81
|
threshold: 6,
|
|
82
82
|
fallback: 6
|
|
83
|
-
}),
|
|
83
|
+
}), y.value.yAxisFontSize = Oe({
|
|
84
84
|
relator: Math.min(o, l),
|
|
85
85
|
adjuster: e.value.style.width,
|
|
86
86
|
source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
87
87
|
threshold: 6,
|
|
88
88
|
fallback: 6
|
|
89
|
-
}));
|
|
89
|
+
})) : (y.value.xAxisFontSize = e.value.style.layout.grid.xAxis.dataLabels.fontSize, y.value.yAxisFontSize = e.value.style.layout.grid.yAxis.dataLabels.fontSize);
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
92
|
$.value && (F.value && $.value.unobserve(F.value), $.value.disconnect()), $.value = new ResizeObserver(t), F.value = M.value.parentNode, $.value.observe(F.value);
|
|
@@ -96,7 +96,7 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
96
96
|
it(() => {
|
|
97
97
|
$.value && (F.value && $.value.unobserve(F.value), $.value.disconnect());
|
|
98
98
|
});
|
|
99
|
-
const { isPrinting:
|
|
99
|
+
const { isPrinting: pe, isImaging: ge, generatePdf: me, generateImage: be } = Ct({
|
|
100
100
|
elementId: `vue-ui-candlestick_${x.value}`,
|
|
101
101
|
fileName: e.value.style.title.text || "vue-ui-candlestick",
|
|
102
102
|
options: e.value.userOptions.print
|
|
@@ -107,16 +107,16 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
107
107
|
const { top: t, right: o, bottom: l, left: a } = e.value.style.layout.padding;
|
|
108
108
|
return {
|
|
109
109
|
top: t,
|
|
110
|
-
right:
|
|
110
|
+
right: y.value.width - o,
|
|
111
111
|
left: a,
|
|
112
|
-
bottom:
|
|
113
|
-
width:
|
|
114
|
-
height:
|
|
112
|
+
bottom: y.value.height - l,
|
|
113
|
+
width: y.value.width - a - o,
|
|
114
|
+
height: y.value.height - t - l
|
|
115
115
|
};
|
|
116
|
-
}), E = g(() => h.dataset.length),
|
|
116
|
+
}), E = g(() => h.dataset.length), p = r({
|
|
117
117
|
start: 0,
|
|
118
118
|
end: E.value
|
|
119
|
-
}), xe = g(() => h.dataset.slice(
|
|
119
|
+
}), xe = g(() => h.dataset.slice(p.value.start, p.value.end)), Z = g(() => (h.dataset.forEach((t, o) => {
|
|
120
120
|
[null, void 0].includes(t[0]) && I({
|
|
121
121
|
componentName: "VueUiCandlestick",
|
|
122
122
|
type: "datasetAttribute",
|
|
@@ -158,12 +158,12 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
158
158
|
})))), d = g(() => i.value.width / xe.value.length), ke = g(() => ({
|
|
159
159
|
max: Math.max(...Z.value.map((t) => t.high)),
|
|
160
160
|
min: 0
|
|
161
|
-
})),
|
|
161
|
+
})), _ = g(() => ht(ke.value.min, ke.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
162
162
|
function G(t, o) {
|
|
163
163
|
return {
|
|
164
164
|
...t,
|
|
165
165
|
x: D(i.value.left + o * d.value + d.value / 2),
|
|
166
|
-
y: D(i.value.top + (1 - t /
|
|
166
|
+
y: D(i.value.top + (1 - t / _.value.max) * i.value.height),
|
|
167
167
|
value: D(t)
|
|
168
168
|
};
|
|
169
169
|
}
|
|
@@ -180,9 +180,9 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
180
180
|
};
|
|
181
181
|
}));
|
|
182
182
|
function Ye(t) {
|
|
183
|
-
return D(t /
|
|
183
|
+
return D(t / _.value.max);
|
|
184
184
|
}
|
|
185
|
-
const qe = g(() =>
|
|
185
|
+
const qe = g(() => _.value.ticks.map((t) => ({
|
|
186
186
|
y: i.value.bottom - i.value.height * Ye(t),
|
|
187
187
|
value: D(t)
|
|
188
188
|
}))), Je = g(() => Z.value.map((t) => t.period)), ee = r(null);
|
|
@@ -208,9 +208,9 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
208
208
|
});
|
|
209
209
|
else if (e.value.style.tooltip.show) {
|
|
210
210
|
let a = "";
|
|
211
|
-
const { period: C, open: k, high: X, low:
|
|
211
|
+
const { period: C, open: k, high: X, low: _e, last: Se, volume: Ae, isBullish: Ne } = b.value[t], { period: rl, open: tt, high: lt, low: ot, last: at, volume: st } = e.value.translations;
|
|
212
212
|
a += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${e.value.style.layout.candle.borderRadius * 3}" stroke="${e.value.style.layout.candle.stroke}" stroke-width="${e.value.style.layout.candle.strokeWidth}"
|
|
213
|
-
fill="${e.value.style.layout.candle.gradient.show ?
|
|
213
|
+
fill="${e.value.style.layout.candle.gradient.show ? Ne ? `url(#bullish_gradient_${x.value})` : `url(#bearish_gradient_${x.value})` : Ne ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${C}</div>`, a += `${st} : <b>${isNaN(Ae) ? "-" : Number(Ae.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, a += `<div>${tt}: <b>${e.value.style.tooltip.prefix} ${isNaN(k.value) ? "-" : Number(k.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${lt}: <b>${e.value.style.tooltip.prefix} ${isNaN(X.value) ? "-" : Number(X.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${ot}: <b>${e.value.style.tooltip.prefix} ${isNaN(_e.value) ? "-" : Number(_e.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${at}: <b>${e.value.style.tooltip.prefix} ${isNaN(Se.value) ? "-" : Number(Se.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += "</div>", J.value = `<div style="text-align:right">${a}</div>`;
|
|
214
214
|
}
|
|
215
215
|
q.value = !0;
|
|
216
216
|
}
|
|
@@ -219,7 +219,7 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
219
219
|
}
|
|
220
220
|
const R = r(null);
|
|
221
221
|
async function we() {
|
|
222
|
-
(e.value.style.zoom.startIndex !== null || e.value.style.zoom.endIndex !== null) && R.value ? (e.value.style.zoom.startIndex !== null && (await B(), await B(), R.value && R.value.setStartValue(e.value.style.zoom.startIndex)), e.value.style.zoom.endIndex !== null && (await B(), await B(), R.value && R.value.setEndValue(Ze(e.value.style.zoom.endIndex + 1)))) : (
|
|
222
|
+
(e.value.style.zoom.startIndex !== null || e.value.style.zoom.endIndex !== null) && R.value ? (e.value.style.zoom.startIndex !== null && (await B(), await B(), R.value && R.value.setStartValue(e.value.style.zoom.startIndex)), e.value.style.zoom.endIndex !== null && (await B(), await B(), R.value && R.value.setEndValue(Ze(e.value.style.zoom.endIndex + 1)))) : (p.value = {
|
|
223
223
|
start: 0,
|
|
224
224
|
end: E.value
|
|
225
225
|
}, W.value += 1);
|
|
@@ -277,7 +277,7 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
277
277
|
function Ce() {
|
|
278
278
|
w.value.showTable = !w.value.showTable;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function ze() {
|
|
281
281
|
w.value.showTooltip = !w.value.showTooltip;
|
|
282
282
|
}
|
|
283
283
|
const j = r(!1);
|
|
@@ -289,7 +289,7 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
289
289
|
generateCsv: $e,
|
|
290
290
|
generateImage: be,
|
|
291
291
|
toggleTable: Ce,
|
|
292
|
-
toggleTooltip:
|
|
292
|
+
toggleTooltip: ze,
|
|
293
293
|
toggleAnnotator: te
|
|
294
294
|
}), (t, o) => (s(), u("div", {
|
|
295
295
|
ref_key: "candlestickChart",
|
|
@@ -300,28 +300,28 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
300
300
|
onMouseenter: o[4] || (o[4] = () => n(de)(!0)),
|
|
301
301
|
onMouseleave: o[5] || (o[5] = () => n(de)(!1))
|
|
302
302
|
}, [
|
|
303
|
-
e.value.userOptions.buttons.annotator ? (s(),
|
|
303
|
+
e.value.userOptions.buttons.annotator ? (s(), A(n(Ue), {
|
|
304
304
|
key: 0,
|
|
305
305
|
svgRef: n(ce),
|
|
306
306
|
backgroundColor: e.value.style.backgroundColor,
|
|
307
307
|
color: e.value.style.color,
|
|
308
308
|
active: j.value,
|
|
309
309
|
onClose: te
|
|
310
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
310
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
311
311
|
Xe.value ? (s(), u("div", {
|
|
312
312
|
key: 1,
|
|
313
313
|
ref_key: "noTitle",
|
|
314
314
|
ref: ne,
|
|
315
315
|
class: "vue-data-ui-no-title-space",
|
|
316
316
|
style: "height:36px; width: 100%;background:transparent"
|
|
317
|
-
}, null, 512)) :
|
|
317
|
+
}, null, 512)) : c("", !0),
|
|
318
318
|
e.value.style.title.text ? (s(), u("div", {
|
|
319
319
|
key: 2,
|
|
320
320
|
ref_key: "chartTitle",
|
|
321
321
|
ref: ae,
|
|
322
322
|
style: "width:100%;background:transparent"
|
|
323
323
|
}, [
|
|
324
|
-
(s(),
|
|
324
|
+
(s(), A(St, {
|
|
325
325
|
key: `title_${ve.value}`,
|
|
326
326
|
config: {
|
|
327
327
|
title: {
|
|
@@ -334,15 +334,15 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
}, null, 8, ["config"]))
|
|
337
|
-
], 512)) :
|
|
338
|
-
e.value.userOptions.show && P.value && (n(ye) || n(Q)) ? (s(),
|
|
337
|
+
], 512)) : c("", !0),
|
|
338
|
+
e.value.userOptions.show && P.value && (n(ye) || n(Q)) ? (s(), A(n(Ge), {
|
|
339
339
|
ref_key: "details",
|
|
340
340
|
ref: je,
|
|
341
341
|
key: `user_options_${oe.value}`,
|
|
342
342
|
backgroundColor: e.value.style.backgroundColor,
|
|
343
343
|
color: e.value.style.color,
|
|
344
344
|
isImaging: n(ge),
|
|
345
|
-
isPrinting: n(
|
|
345
|
+
isPrinting: n(pe),
|
|
346
346
|
uid: x.value,
|
|
347
347
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
348
348
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -363,7 +363,7 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
363
363
|
onGenerateCsv: $e,
|
|
364
364
|
onGenerateImage: n(be),
|
|
365
365
|
onToggleTable: Ce,
|
|
366
|
-
onToggleTooltip:
|
|
366
|
+
onToggleTooltip: ze,
|
|
367
367
|
onToggleAnnotator: te,
|
|
368
368
|
style: le({
|
|
369
369
|
visibility: n(ye) ? n(Q) ? "visible" : "hidden" : "visible"
|
|
@@ -372,67 +372,67 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
372
372
|
t.$slots.menuIcon ? {
|
|
373
373
|
name: "menuIcon",
|
|
374
374
|
fn: m(({ isOpen: l, color: a }) => [
|
|
375
|
-
|
|
375
|
+
f(t.$slots, "menuIcon", N(T({ isOpen: l, color: a })), void 0, !0)
|
|
376
376
|
]),
|
|
377
377
|
key: "0"
|
|
378
378
|
} : void 0,
|
|
379
379
|
t.$slots.optionTooltip ? {
|
|
380
380
|
name: "optionTooltip",
|
|
381
381
|
fn: m(() => [
|
|
382
|
-
|
|
382
|
+
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
383
383
|
]),
|
|
384
384
|
key: "1"
|
|
385
385
|
} : void 0,
|
|
386
386
|
t.$slots.optionPdf ? {
|
|
387
387
|
name: "optionPdf",
|
|
388
388
|
fn: m(() => [
|
|
389
|
-
|
|
389
|
+
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
390
390
|
]),
|
|
391
391
|
key: "2"
|
|
392
392
|
} : void 0,
|
|
393
393
|
t.$slots.optionCsv ? {
|
|
394
394
|
name: "optionCsv",
|
|
395
395
|
fn: m(() => [
|
|
396
|
-
|
|
396
|
+
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
397
397
|
]),
|
|
398
398
|
key: "3"
|
|
399
399
|
} : void 0,
|
|
400
400
|
t.$slots.optionImg ? {
|
|
401
401
|
name: "optionImg",
|
|
402
402
|
fn: m(() => [
|
|
403
|
-
|
|
403
|
+
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
404
404
|
]),
|
|
405
405
|
key: "4"
|
|
406
406
|
} : void 0,
|
|
407
407
|
t.$slots.optionTable ? {
|
|
408
408
|
name: "optionTable",
|
|
409
409
|
fn: m(() => [
|
|
410
|
-
|
|
410
|
+
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
411
411
|
]),
|
|
412
412
|
key: "5"
|
|
413
413
|
} : void 0,
|
|
414
414
|
t.$slots.optionFullscreen ? {
|
|
415
415
|
name: "optionFullscreen",
|
|
416
416
|
fn: m(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
417
|
-
|
|
417
|
+
f(t.$slots, "optionFullscreen", N(T({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
418
418
|
]),
|
|
419
419
|
key: "6"
|
|
420
420
|
} : void 0,
|
|
421
421
|
t.$slots.optionAnnotator ? {
|
|
422
422
|
name: "optionAnnotator",
|
|
423
423
|
fn: m(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
424
|
-
|
|
424
|
+
f(t.$slots, "optionAnnotator", N(T({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
425
425
|
]),
|
|
426
426
|
key: "7"
|
|
427
427
|
} : void 0
|
|
428
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
428
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
429
429
|
P.value ? (s(), u("svg", {
|
|
430
430
|
key: 4,
|
|
431
431
|
ref_key: "svgRef",
|
|
432
432
|
ref: ce,
|
|
433
|
-
xmlns: n(
|
|
433
|
+
xmlns: n(ft),
|
|
434
434
|
class: Fe({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
|
|
435
|
-
viewBox: `0 0 ${
|
|
435
|
+
viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${y.value.height <= 0 ? 10 : y.value.height}`,
|
|
436
436
|
style: le(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
437
437
|
}, [
|
|
438
438
|
Re(n(Be)),
|
|
@@ -446,8 +446,8 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
446
446
|
pointerEvents: "none"
|
|
447
447
|
}
|
|
448
448
|
}, [
|
|
449
|
-
|
|
450
|
-
], 8, Ft)) :
|
|
449
|
+
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
450
|
+
], 8, Ft)) : c("", !0),
|
|
451
451
|
b.value.length > 0 ? (s(), u("g", Rt, [
|
|
452
452
|
v("defs", null, [
|
|
453
453
|
v("linearGradient", {
|
|
@@ -506,10 +506,10 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
506
506
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
507
507
|
"stroke-linecap": "round"
|
|
508
508
|
}, null, 8, Gt)
|
|
509
|
-
])) :
|
|
509
|
+
])) : c("", !0),
|
|
510
510
|
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", Ht, [
|
|
511
511
|
(s(!0), u(O, null, V(qe.value, (l, a) => (s(), u("g", null, [
|
|
512
|
-
l.value >=
|
|
512
|
+
l.value >= _.value.min && l.value <= _.value.max ? (s(), u("line", {
|
|
513
513
|
key: 0,
|
|
514
514
|
x1: i.value.left,
|
|
515
515
|
x2: i.value.left - 5,
|
|
@@ -518,29 +518,29 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
518
518
|
stroke: e.value.style.layout.grid.stroke,
|
|
519
519
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
520
520
|
"stroke-linecap": "round"
|
|
521
|
-
}, null, 8, jt)) :
|
|
522
|
-
l.value >=
|
|
521
|
+
}, null, 8, jt)) : c("", !0),
|
|
522
|
+
l.value >= _.value.min && l.value <= _.value.max ? (s(), u("text", {
|
|
523
523
|
key: 1,
|
|
524
524
|
x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
525
|
-
y: l.y +
|
|
526
|
-
"font-size":
|
|
525
|
+
y: l.y + y.value.yAxisFontSize / 3,
|
|
526
|
+
"font-size": y.value.yAxisFontSize,
|
|
527
527
|
"text-anchor": "end",
|
|
528
528
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
529
529
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
530
|
-
}, U(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + U(n(
|
|
530
|
+
}, U(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + U(n(pt)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + U(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Xt)) : c("", !0)
|
|
531
531
|
]))), 256))
|
|
532
|
-
])) :
|
|
532
|
+
])) : c("", !0),
|
|
533
533
|
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", Yt, [
|
|
534
534
|
(s(!0), u(O, null, V(Je.value, (l, a) => (s(), u("g", null, [
|
|
535
535
|
v("text", {
|
|
536
|
-
transform: `translate(${i.value.left + d.value * a + d.value / 2}, ${i.value.bottom +
|
|
536
|
+
transform: `translate(${i.value.left + d.value * a + d.value / 2}, ${i.value.bottom + y.value.xAxisFontSize * 2 + e.value.style.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
537
537
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
538
|
-
"font-size":
|
|
538
|
+
"font-size": y.value.xAxisFontSize,
|
|
539
539
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
540
540
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
541
541
|
}, U(l), 9, qt)
|
|
542
542
|
]))), 256))
|
|
543
|
-
])) :
|
|
543
|
+
])) : c("", !0),
|
|
544
544
|
v("g", null, [
|
|
545
545
|
(s(!0), u(O, null, V(b.value, (l, a) => (s(), u("g", null, [
|
|
546
546
|
v("line", {
|
|
@@ -565,7 +565,7 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
565
565
|
r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
566
566
|
fill: e.value.style.layout.wick.extremity.color
|
|
567
567
|
}, null, 8, Zt)
|
|
568
|
-
])) :
|
|
568
|
+
])) : c("", !0),
|
|
569
569
|
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", el, [
|
|
570
570
|
v("line", {
|
|
571
571
|
x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
@@ -585,7 +585,7 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
585
585
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
586
586
|
"stroke-linecap": "round"
|
|
587
587
|
}, null, 8, ll)
|
|
588
|
-
])) :
|
|
588
|
+
])) : c("", !0)
|
|
589
589
|
]))), 256))
|
|
590
590
|
]),
|
|
591
591
|
v("g", null, [
|
|
@@ -624,13 +624,13 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
624
624
|
})
|
|
625
625
|
}, null, 40, sl))), 256))
|
|
626
626
|
])
|
|
627
|
-
])) :
|
|
628
|
-
|
|
629
|
-
], 14, It)) :
|
|
627
|
+
])) : c("", !0),
|
|
628
|
+
f(t.$slots, "svg", { svg: y.value }, void 0, !0)
|
|
629
|
+
], 14, It)) : c("", !0),
|
|
630
630
|
t.$slots.watermark ? (s(), u("div", ul, [
|
|
631
|
-
|
|
632
|
-
])) :
|
|
633
|
-
P.value ?
|
|
631
|
+
f(t.$slots, "watermark", N(T({ isPrinting: n(pe) || n(ge) })), void 0, !0)
|
|
632
|
+
])) : c("", !0),
|
|
633
|
+
P.value ? c("", !0) : (s(), A(n(De), {
|
|
634
634
|
key: 6,
|
|
635
635
|
config: {
|
|
636
636
|
type: "candlesticks",
|
|
@@ -652,7 +652,7 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
652
652
|
ref_key: "chartSlicer",
|
|
653
653
|
ref: ue
|
|
654
654
|
}, [
|
|
655
|
-
(s(),
|
|
655
|
+
(s(), A(At, {
|
|
656
656
|
ref_key: "slicerComponent",
|
|
657
657
|
ref: R,
|
|
658
658
|
key: `slicer_${W.value}`,
|
|
@@ -660,19 +660,19 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
660
660
|
borderColor: e.value.style.backgroundColor,
|
|
661
661
|
fontSize: e.value.style.zoom.fontSize,
|
|
662
662
|
useResetSlot: e.value.style.zoom.useResetSlot,
|
|
663
|
-
labelLeft:
|
|
664
|
-
labelRight:
|
|
663
|
+
labelLeft: z.dataset[p.value.start] ? z.dataset[p.value.start][0] : z.dataset[0][0],
|
|
664
|
+
labelRight: z.dataset[p.value.end - 1] ? z.dataset[p.value.end - 1][0] : z.dataset.at(-1)[0],
|
|
665
665
|
textColor: e.value.style.color,
|
|
666
666
|
inputColor: e.value.style.zoom.color,
|
|
667
667
|
selectColor: e.value.style.zoom.highlightColor,
|
|
668
668
|
max: E.value,
|
|
669
669
|
min: 0,
|
|
670
|
-
valueStart:
|
|
671
|
-
valueEnd:
|
|
672
|
-
start:
|
|
673
|
-
"onUpdate:start": o[1] || (o[1] = (l) =>
|
|
674
|
-
end:
|
|
675
|
-
"onUpdate:end": o[2] || (o[2] = (l) =>
|
|
670
|
+
valueStart: p.value.start,
|
|
671
|
+
valueEnd: p.value.end,
|
|
672
|
+
start: p.value.start,
|
|
673
|
+
"onUpdate:start": o[1] || (o[1] = (l) => p.value.start = l),
|
|
674
|
+
end: p.value.end,
|
|
675
|
+
"onUpdate:end": o[2] || (o[2] = (l) => p.value.end = l),
|
|
676
676
|
refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
|
|
677
677
|
refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : E.value,
|
|
678
678
|
enableRangeHandles: e.value.style.zoom.enableRangeHandles,
|
|
@@ -680,16 +680,16 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
680
680
|
onReset: Qe
|
|
681
681
|
}, {
|
|
682
682
|
"reset-action": m(({ reset: l }) => [
|
|
683
|
-
|
|
683
|
+
f(t.$slots, "reset-action", N(T({ reset: l })), void 0, !0)
|
|
684
684
|
]),
|
|
685
685
|
_: 3
|
|
686
686
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
|
|
687
|
-
], 512)) :
|
|
687
|
+
], 512)) : c("", !0),
|
|
688
688
|
v("div", {
|
|
689
689
|
ref_key: "chartLegend",
|
|
690
690
|
ref: se
|
|
691
691
|
}, [
|
|
692
|
-
|
|
692
|
+
f(t.$slots, "legend", { legend: b.value }, void 0, !0)
|
|
693
693
|
], 512),
|
|
694
694
|
t.$slots.source ? (s(), u("div", {
|
|
695
695
|
key: 8,
|
|
@@ -697,8 +697,8 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
697
697
|
ref: ie,
|
|
698
698
|
dir: "auto"
|
|
699
699
|
}, [
|
|
700
|
-
|
|
701
|
-
], 512)) :
|
|
700
|
+
f(t.$slots, "source", {}, void 0, !0)
|
|
701
|
+
], 512)) : c("", !0),
|
|
702
702
|
Re(n(We), {
|
|
703
703
|
show: w.value.showTooltip && q.value,
|
|
704
704
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
@@ -716,14 +716,14 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
716
716
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
717
717
|
}, {
|
|
718
718
|
"tooltip-before": m(() => [
|
|
719
|
-
|
|
719
|
+
f(t.$slots, "tooltip-before", N(T({ ...ee.value })), void 0, !0)
|
|
720
720
|
]),
|
|
721
721
|
"tooltip-after": m(() => [
|
|
722
|
-
|
|
722
|
+
f(t.$slots, "tooltip-after", N(T({ ...ee.value })), void 0, !0)
|
|
723
723
|
]),
|
|
724
724
|
_: 3
|
|
725
725
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
726
|
-
P.value ? (s(),
|
|
726
|
+
P.value ? (s(), A(n(Me), {
|
|
727
727
|
key: 9,
|
|
728
728
|
hideDetails: "",
|
|
729
729
|
config: {
|
|
@@ -740,7 +740,7 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
740
740
|
}
|
|
741
741
|
}, {
|
|
742
742
|
content: m(() => [
|
|
743
|
-
(s(),
|
|
743
|
+
(s(), A(n(Ee), {
|
|
744
744
|
key: `table_${re.value}`,
|
|
745
745
|
colNames: H.value.colNames,
|
|
746
746
|
head: H.value.head,
|
|
@@ -759,10 +759,10 @@ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
759
759
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
760
760
|
]),
|
|
761
761
|
_: 1
|
|
762
|
-
}, 8, ["config"])) :
|
|
762
|
+
}, 8, ["config"])) : c("", !0)
|
|
763
763
|
], 46, Tt));
|
|
764
764
|
}
|
|
765
|
-
}, xl = /* @__PURE__ */
|
|
765
|
+
}, xl = /* @__PURE__ */ Nt(nl, [["__scopeId", "data-v-0dfbd2f2"]]);
|
|
766
766
|
export {
|
|
767
767
|
xl as default
|
|
768
768
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent as ce, ref as n, useSlots as ze, onMounted as A, computed as R, watch as N, onBeforeUnmount as G, shallowRef as Se, nextTick as fe, createElementBlock as v, openBlock as r, unref as u, createElementVNode as U, createBlock as he, createCommentVNode as z, normalizeClass as Ee, normalizeStyle as h, createTextVNode as D, renderSlot as p, toDisplayString as X, Fragment as j, renderList as J, mergeProps as me, createSlots as He, withCtx as w, normalizeProps as ge, guardReactiveProps as be } from "vue";
|
|
2
|
-
import { u as Ne, c as Ue, o as K, e as Q, s as Ve, q as Me, r as qe } from "./index-
|
|
3
|
-
import { u as Le } from "./useNestedProp-
|
|
4
|
-
import { u as Ge } from "./usePrinter-
|
|
2
|
+
import { u as Ne, c as Ue, o as K, e as Q, s as Ve, q as Me, r as qe } from "./index-C137VZkI.js";
|
|
3
|
+
import { u as Le } from "./useNestedProp-ZNu8JrRX.js";
|
|
4
|
+
import { u as Ge } from "./usePrinter-B63T3abI.js";
|
|
5
5
|
import { u as De } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const je = ["id"], Je = ["height"], Ke = ["data-cell", "height"], Qe = {
|
|
@@ -25,7 +25,7 @@ const je = ["id"], Je = ["height"], Ke = ["data-cell", "height"], Qe = {
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
setup(T, { expose: ye }) {
|
|
28
|
-
const Ce = ce(() => import("./vue-ui-skeleton-
|
|
28
|
+
const Ce = ce(() => import("./vue-ui-skeleton-CO_Hk6A_.js")), $e = ce(() => import("./UserOptions-NrArsCuC.js")), { vue_ui_carousel_table: Te } = Ne(), i = T, V = n(Ue()), W = n(!1), O = n(!!i.dataset), ke = ze();
|
|
29
29
|
A(() => {
|
|
30
30
|
Y();
|
|
31
31
|
}), A(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as at, defineAsyncComponent as H, computed as m, ref as z, watch as ot, shallowRef as st, onMounted as ut, onBeforeUnmount as nt, createElementBlock as o, openBlock as a, unref as s, normalizeStyle as y, normalizeClass as k, createBlock as Z, createCommentVNode as h, renderSlot as F, createSlots as rt, withCtx as A, normalizeProps as ee, guardReactiveProps as te, createVNode as Ne, createElementVNode as u, toDisplayString as c, Fragment as p, renderList as g, createTextVNode as le, withKeys as it, nextTick as Se } from "vue";
|
|
2
|
-
import { u as ct, c as dt, t as vt, p as V, a as yt, b as ht, g as ce, e as ae, d as de, o as ft, X as bt, s as I, w as Fe, i as E, f as N, G as Ie, m as Le, j as pt, k as J, n as O, q as gt, r as _t } from "./index-
|
|
3
|
-
import { u as Pe } from "./useNestedProp-
|
|
4
|
-
import { u as xt } from "./usePrinter-
|
|
2
|
+
import { u as ct, c as dt, t as vt, p as V, a as yt, b as ht, g as ce, e as ae, d as de, o as ft, X as bt, s as I, w as Fe, i as E, f as N, G as Ie, m as Le, j as pt, k as J, n as O, q as gt, r as _t } from "./index-C137VZkI.js";
|
|
3
|
+
import { u as Pe } from "./useNestedProp-ZNu8JrRX.js";
|
|
4
|
+
import { u as xt } from "./usePrinter-B63T3abI.js";
|
|
5
5
|
import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as kt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
7
|
import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -46,7 +46,7 @@ const $t = ["id"], Ct = {
|
|
|
46
46
|
at((l) => ({
|
|
47
47
|
"69a9e7b7": l.tdo
|
|
48
48
|
}));
|
|
49
|
-
const Me = H(() => import("./PenAndPaper-
|
|
49
|
+
const Me = H(() => import("./PenAndPaper-DgUkj01g.js")), Be = H(() => import("./vue-ui-accordion-BI2rBS5z.js")), Ae = H(() => import("./vue-ui-skeleton-CO_Hk6A_.js")), je = H(() => import("./UserOptions-NrArsCuC.js")), Xe = H(() => import("./PackageVersion-1psmmuzo.js")), Ge = H(() => import("./BaseIcon-lwpKi6Wa.js")), { vue_ui_chestnut: Ee } = ct(), R = Ve, W = m(() => !!R.dataset && R.dataset.length), w = z(dt()), ve = z(null), Ue = z(null), ye = z(0), e = m({
|
|
50
50
|
get: () => pe(),
|
|
51
51
|
set: (l) => l
|
|
52
52
|
}), { userOptionsVisible: oe, setUserOptionsVisibility: he, keepUserOptionState: fe } = mt({ config: e.value }), { svgRef: be } = kt({ config: e.value.style.chart.layout.title });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useCssVars as Pt, defineAsyncComponent as Y, ref as h, shallowRef as qe, computed as C, watch as _t, onMounted as He, onBeforeUnmount as Qe, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as E, normalizeClass as z, createBlock as G, createCommentVNode as v, renderSlot as $, createElementVNode as B, createSlots as Ze, withCtx as _, normalizeProps as re, guardReactiveProps as ue, withModifiers as Je, createVNode as he, Fragment as F, renderList as U, mergeProps as Tt, toDisplayString as j, createTextVNode as Ot, nextTick as St } from "vue";
|
|
2
|
-
import { u as Bt, c as fe, t as Lt, p as ie, a as Nt, o as Et, e as Ke, g as zt, b as Ft, d as Rt, X as Xt, G as jt, f as ge, q as Dt, r as Vt, i as Yt } from "./index-
|
|
2
|
+
import { u as Bt, c as fe, t as Lt, p as ie, a as Nt, o as Et, e as Ke, g as zt, b as Ft, d as Rt, X as Xt, G as jt, f as ge, q as Dt, r as Vt, i as Yt } from "./index-C137VZkI.js";
|
|
3
3
|
import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
|
-
import { u as et } from "./useNestedProp-
|
|
4
|
+
import { u as et } from "./useNestedProp-ZNu8JrRX.js";
|
|
5
5
|
import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
-
import { u as Wt } from "./usePrinter-
|
|
6
|
+
import { u as Wt } from "./usePrinter-B63T3abI.js";
|
|
7
7
|
import { t as qt, u as Ht } from "./useResponsive-JZ9xq-JV.js";
|
|
8
|
-
import Qt from "./Legend-
|
|
9
|
-
import Zt from "./Title-
|
|
10
|
-
import { _ as Jt } from "./Shape-
|
|
8
|
+
import Qt from "./Legend-DwNuhYnG.js";
|
|
9
|
+
import Zt from "./Title-BoKeR6i0.js";
|
|
10
|
+
import { _ as Jt } from "./Shape-CmlBrd-F.js";
|
|
11
11
|
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { key: 1 }, la = ["id", "d"], sa = { key: 2 }, na = ["transform"], ra = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], ua = ["d", "fill", "stroke", "stroke-width"], ia = ["d", "fill"], ca = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], da = ["d", "fill", "stroke", "stroke-width"], va = ["d", "fill", "stroke", "stroke-width"], ha = ["d", "fill", "stroke", "stroke-width"], fa = { key: 0 }, ga = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pa = ["cx", "cy", "r", "stroke", "stroke-width", "fill"], ma = ["transform", "fill", "text-anchor", "font-size", "font-weight"], ya = { key: 1 }, ka = ["font-size", "font-weight", "fill"], $a = ["href"], wa = ["transform", "text-anchor", "font-size", "font-weight", "fill"], Ca = {
|
|
13
13
|
key: 5,
|
|
@@ -37,7 +37,7 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
|
|
|
37
37
|
Pt((t) => ({
|
|
38
38
|
"60541bab": t.slicerColor
|
|
39
39
|
}));
|
|
40
|
-
const lt = Y(() => import("./vue-ui-accordion-
|
|
40
|
+
const lt = Y(() => import("./vue-ui-accordion-BI2rBS5z.js")), st = Y(() => import("./BaseIcon-lwpKi6Wa.js")), nt = Y(() => import("./DataTable-CuFlXUxm.js")), rt = Y(() => import("./PackageVersion-1psmmuzo.js")), ut = Y(() => import("./PenAndPaper-DgUkj01g.js")), it = Y(() => import("./vue-ui-skeleton-CO_Hk6A_.js")), ct = Y(() => import("./UserOptions-NrArsCuC.js")), { vue_ui_chord: dt } = Bt(), g = tt, te = ot, L = h(!!g.dataset && Object.hasOwn(g.dataset, "matrix")), T = h(fe()), w = h(null), m = h(null), b = h(null), be = h(0), W = h(null), pe = h(null), me = h(null), ye = h(null), ke = h(null), $e = h(0), we = h(0), Ce = h(0), q = h(!1), R = qe(null), H = qe(null), a = C({
|
|
41
41
|
get: () => Te(),
|
|
42
42
|
set: (t) => t
|
|
43
43
|
}), { userOptionsVisible: ce, setUserOptionsVisibility: Me, keepUserOptionState: xe } = Gt({ config: a.value }), { svgRef: Q } = Ut({ config: a.value.style.chart.title }), { isPrinting: Ae, isImaging: Ie, generatePdf: Pe, generateImage: _e } = Wt({
|