vue-data-ui 3.0.0-next.72 → 3.0.0-next.74
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-CMSMde41.js → Arrow-DlebInbO.js} +1 -1
- package/dist/{BaseDraggableDialog-BuO_En6p.js → BaseDraggableDialog-tQB04SOs.js} +2 -2
- package/dist/{BaseIcon-C_HE-fPU.js → BaseIcon-DxXLzb15.js} +1 -1
- package/dist/{ColorPicker-Cn82Up5w.js → ColorPicker-Bpc6e5mE.js} +2 -2
- package/dist/{DataTable-DMCB2CPj.js → DataTable-CuJplxJU.js} +2 -2
- package/dist/{Legend-C96fnhZD.js → Legend-ioFJsYH-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BRi2CtMk.js → NonSvgPenAndPaper-CH2Z9b2e.js} +3 -3
- package/dist/{PackageVersion-B8cypgdJ.js → PackageVersion-Cqvb9VXZ.js} +1 -1
- package/dist/{PenAndPaper-DjXtQYum.js → PenAndPaper-BqhD2pOj.js} +3 -3
- package/dist/{Shape-DZSz-yYr.js → Shape-CSkkoa5p.js} +1 -1
- package/dist/{Slicer-BOc4PzAR.js → Slicer-Dsw544JD.js} +2 -2
- package/dist/{SparkTooltip-4K9Ezba0.js → SparkTooltip-CwUOWLYh.js} +1 -1
- package/dist/{Title-DnqOjg_N.js → Title-DM17sbc-.js} +1 -1
- package/dist/{Tooltip-Cy2owh0T.js → Tooltip-DSoDpjRJ.js} +1 -1
- package/dist/{UserOptions-Tx_9Xl_c.js → UserOptions-gH1Ahkhe.js} +2 -2
- package/dist/{dom-to-png-CDSxjzSn.js → dom-to-png-BHtbi9J3.js} +1 -1
- package/dist/{img-D_LTOBii.js → img-WAJVcEH2.js} +1 -1
- package/dist/{index-Bzm4bjdY.js → index-Be3YloBf.js} +862 -778
- package/dist/{pdf-BZQLWJMc.js → pdf-BgW32I8a.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +71 -22
- package/dist/types/vue-data-ui.d.ts +71 -22
- package/dist/{useAutoSizeLabelsInsideViewbox-Rg0B250v.js → useAutoSizeLabelsInsideViewbox-BF4GVlCH.js} +1 -1
- package/dist/{useNestedProp-FhaE2yv-.js → useNestedProp-BPkXaKa1.js} +1 -1
- package/dist/{usePrinter-DZsH7qQs.js → usePrinter-BV33Qwmk.js} +2 -2
- package/dist/{vue-data-ui-0ns7pHNm.js → vue-data-ui-DD8WUltQ.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CY9hrF9C.js → vue-ui-3d-bar-Dxjd1sN7.js} +6 -6
- package/dist/{vue-ui-accordion-ywMTtl25.js → vue-ui-accordion-KpWnxkbY.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Qd4BtrXy.js → vue-ui-age-pyramid-BD2EOye9.js} +59 -58
- package/dist/{vue-ui-annotator-DmOJnYF9.js → vue-ui-annotator-DE6HLQ7K.js} +2 -2
- package/dist/{vue-ui-bullet-B_xIDBAw.js → vue-ui-bullet-vQsnc5Td.js} +7 -7
- package/dist/{vue-ui-candlestick-D3Vsh4Rw.js → vue-ui-candlestick-DiuBIQFo.js} +96 -95
- package/dist/{vue-ui-carousel-table-D0UgiRmJ.js → vue-ui-carousel-table-IWjiIJOo.js} +4 -4
- package/dist/{vue-ui-chestnut-CbMOcXYQ.js → vue-ui-chestnut-867kjoDn.js} +5 -5
- package/dist/{vue-ui-chord-DDzp12Vp.js → vue-ui-chord-DkfouYyb.js} +8 -8
- package/dist/vue-ui-circle-pack-BgIxgce3.js +709 -0
- package/dist/{vue-ui-cursor-Bg-6DHbI.js → vue-ui-cursor-DKwYaoFO.js} +2 -2
- package/dist/{vue-ui-dashboard-DY2lvJ7A.js → vue-ui-dashboard-nb_Tdvwb.js} +62 -62
- package/dist/{vue-ui-digits-De2GmG2N.js → vue-ui-digits-DZ3HnXon.js} +2 -2
- package/dist/{vue-ui-donut-BWQ6g1O7.js → vue-ui-donut-CzCl9JR8.js} +8 -8
- package/dist/{vue-ui-donut-evolution-DAzSv9V-.js → vue-ui-donut-evolution-BQ2OSYUs.js} +12 -11
- package/dist/{vue-ui-dumbbell-B32YuCNM.js → vue-ui-dumbbell-BqXhujgy.js} +11 -10
- package/dist/{vue-ui-flow-BZkt6OKd.js → vue-ui-flow-DJk5nDXA.js} +7 -7
- package/dist/{vue-ui-funnel-8WAXLQAo.js → vue-ui-funnel-BDwH3FtD.js} +6 -6
- package/dist/{vue-ui-galaxy-gfw2BThf.js → vue-ui-galaxy-EY8HRZXp.js} +5 -5
- package/dist/{vue-ui-gauge-Ch5vl4T9.js → vue-ui-gauge-DMcHPKUR.js} +7 -7
- package/dist/{vue-ui-gizmo-CU8ddGLr.js → vue-ui-gizmo-6FSB-WDl.js} +3 -3
- package/dist/{vue-ui-heatmap-YO1tESN5.js → vue-ui-heatmap-C_xD3d6M.js} +13 -13
- package/dist/{vue-ui-history-plot-C41s9ybF.js → vue-ui-history-plot-2xIA6g8q.js} +38 -37
- package/dist/{vue-ui-kpi-H6MYZwLY.js → vue-ui-kpi-BrjdXiVR.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bnjg3O7d.js → vue-ui-mini-loader-itxvZl1j.js} +2 -2
- package/dist/{vue-ui-molecule-DF4leieh.js → vue-ui-molecule-B1CXM01Y.js} +5 -5
- package/dist/{vue-ui-mood-radar-NrPILZdk.js → vue-ui-mood-radar-C2lpLvo4.js} +7 -7
- package/dist/{vue-ui-nested-donuts-BLnO_Mgf.js → vue-ui-nested-donuts-ByE-C9zx.js} +9 -9
- package/dist/{vue-ui-onion-66T65iJH.js → vue-ui-onion-D6xfskcr.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-B5N_TkrQ.js → vue-ui-parallel-coordinate-plot-Dx_-SFUT.js} +38 -37
- package/dist/{vue-ui-quadrant-BoCrqBMk.js → vue-ui-quadrant-C6SCZK03.js} +8 -8
- package/dist/{vue-ui-quick-chart-B0VC0eh-.js → vue-ui-quick-chart-ENmRTJJa.js} +72 -71
- package/dist/{vue-ui-radar-CFVWdaIn.js → vue-ui-radar-DfdSM-Il.js} +8 -8
- package/dist/{vue-ui-rating-A58gcO8T.js → vue-ui-rating-CHMK4MLu.js} +2 -2
- package/dist/{vue-ui-relation-circle-DU5SHiGv.js → vue-ui-relation-circle-DwuyPmGj.js} +7 -7
- package/dist/{vue-ui-ridgeline-DbL2yTIh.js → vue-ui-ridgeline-CvyCWHmy.js} +16 -12
- package/dist/{vue-ui-rings-Bv6MCURJ.js → vue-ui-rings-DuRAZ4PD.js} +8 -8
- package/dist/{vue-ui-scatter-BmN7rTrR.js → vue-ui-scatter-Cj4In9o1.js} +8 -8
- package/dist/{vue-ui-skeleton-C4h4fFuO.js → vue-ui-skeleton-DpHEVrfC.js} +3 -3
- package/dist/{vue-ui-smiley-7OtzDLyY.js → vue-ui-smiley-Dvi-xiM1.js} +2 -2
- package/dist/{vue-ui-spark-trend-CDJGeE9c.js → vue-ui-spark-trend-Bq7OOC27.js} +3 -3
- package/dist/{vue-ui-sparkbar-D77zOuEC.js → vue-ui-sparkbar-Ct7dyPaA.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BksxAHf4.js → vue-ui-sparkgauge-BZHWmTFZ.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-dgigFSzZ.js → vue-ui-sparkhistogram-CCa5tbpq.js} +4 -4
- package/dist/{vue-ui-sparkline-Dy1tSgMy.js → vue-ui-sparkline-bZCi8CR7.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DVPYzftP.js → vue-ui-sparkstackbar-CJX-bUJj.js} +3 -3
- package/dist/{vue-ui-stackbar-BSsTXQJ2.js → vue-ui-stackbar-DALCNLjV.js} +13 -12
- package/dist/{vue-ui-strip-plot-F41CWin2.js → vue-ui-strip-plot-dvRLKPb2.js} +11 -10
- package/dist/{vue-ui-table-BmnsgnjO.js → vue-ui-table-BotcBqEH.js} +3 -3
- package/dist/{vue-ui-table-heatmap-GuaexCA-.js → vue-ui-table-heatmap-Ac60woo0.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DktY9A1C.js → vue-ui-table-sparkline-CUEGfm0y.js} +4 -4
- package/dist/{vue-ui-thermometer-EhgTVfFj.js → vue-ui-thermometer-DgzA1aXg.js} +7 -7
- package/dist/{vue-ui-timer-Cd3Yt7HA.js → vue-ui-timer-ZMIxKbzb.js} +5 -5
- package/dist/{vue-ui-tiremarks-DjDnFHWc.js → vue-ui-tiremarks-Cj8qpTiw.js} +6 -6
- package/dist/{vue-ui-treemap-BGLUEQit.js → vue-ui-treemap-BhPlPsmp.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DhVF0WZY.js → vue-ui-vertical-bar-CI6CfNMA.js} +9 -9
- package/dist/{vue-ui-waffle-gXnHM7Qo.js → vue-ui-waffle-Kht4b0uT.js} +8 -8
- package/dist/{vue-ui-wheel-Ce2IQFq7.js → vue-ui-wheel-CbbKmXVB.js} +6 -6
- package/dist/{vue-ui-word-cloud-BDFn0rUl.js → vue-ui-word-cloud-5zpZS9-4.js} +6 -6
- package/dist/{vue-ui-world-Cev3j25p.js → vue-ui-world-e0l9EEdQ.js} +6 -6
- package/dist/{vue-ui-xy-CNMFnao9.js → vue-ui-xy-DxjJ5aYg.js} +13 -12
- package/dist/{vue-ui-xy-canvas-B04eI10U.js → vue-ui-xy-canvas-DKMqvCTi.js} +8 -8
- package/package.json +1 -1
- package/dist/vue-ui-circle-pack-DOXx17NQ.js +0 -673
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineAsyncComponent as D, computed as g, ref as r, toRefs as Rt, watch as pe, shallowRef as Xe, onMounted as Ot, onBeforeUnmount as je, watchEffect as Nt, nextTick as be, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as me, normalizeClass as
|
|
2
|
-
import { u as Vt, c as Bt, t as Mt, b as Ut, C as Z, o as qe, f as M, D as Wt, h as X, i as
|
|
1
|
+
import { defineAsyncComponent as D, computed as g, ref as r, toRefs as Rt, watch as pe, shallowRef as Xe, onMounted as Ot, onBeforeUnmount as je, watchEffect as Nt, nextTick as be, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as me, normalizeClass as L, createBlock as N, createCommentVNode as p, createElementVNode as c, createVNode as Ye, createSlots as Pt, withCtx as x, renderSlot as b, normalizeProps as P, guardReactiveProps as E, Fragment as V, renderList as B, toDisplayString as Q, createTextVNode as Et } from "vue";
|
|
2
|
+
import { u as Vt, c as Bt, t as Mt, b as Ut, C as Z, o as qe, f as M, D as Wt, h as X, i as S, X as Dt, x as ee, s as Ht, E as Je, v as Gt, w as Xt, y as jt, z as Yt } from "./index-Be3YloBf.js";
|
|
3
3
|
import { t as Ke, u as qt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Qe } from "./useNestedProp-
|
|
5
|
-
import { u as Jt } from "./usePrinter-
|
|
4
|
+
import { u as Qe } from "./useNestedProp-BPkXaKa1.js";
|
|
5
|
+
import { u as Jt } from "./usePrinter-BV33Qwmk.js";
|
|
6
6
|
import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
8
|
import { u as Zt, B as el } from "./useLoading-D7YHNtLX.js";
|
|
9
|
-
import tl from "./Title-
|
|
10
|
-
import { S as ll } from "./Slicer-
|
|
9
|
+
import tl from "./Title-DM17sbc-.js";
|
|
10
|
+
import { S as ll } from "./Slicer-Dsw544JD.js";
|
|
11
11
|
import { u as al } from "./useTimeLabels-DkzmKfZn.js";
|
|
12
|
-
import ol from "./img-
|
|
12
|
+
import ol from "./img-WAJVcEH2.js";
|
|
13
13
|
import { u as sl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
14
14
|
import { _ as ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "width", "height"], vl = { key: 1 }, dl = ["id"],
|
|
15
|
+
const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "width", "height"], vl = { key: 1 }, dl = ["id"], yl = ["stop-color"], cl = ["stop-color"], hl = ["stop-color"], fl = ["id"], gl = ["stop-color"], pl = ["stop-color"], bl = ["stop-color"], ml = { key: 0 }, xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Al = ["x", "y", "font-size", "fill", "font-weight"], _l = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Cl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], $l = ["x", "y", "width", "height", "fill", "rx"], zl = { key: 0 }, Ll = ["cx", "cy", "r", "fill"], Sl = ["cx", "cy", "r", "fill"], Tl = { key: 1 }, Il = ["x", "y", "width", "height", "rx", "fill"], Fl = ["x", "y", "width", "height", "fill", "rx"], Rl = ["x", "y", "height", "width", "fill", "rx"], Ol = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Nl = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Pl = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
18
|
}, El = ["innerHTML"], Vl = {
|
|
@@ -32,13 +32,13 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
setup(Ze, { expose: et }) {
|
|
35
|
-
const tt = D(() => import("./vue-ui-accordion-
|
|
35
|
+
const tt = D(() => import("./vue-ui-accordion-KpWnxkbY.js")), lt = D(() => import("./DataTable-CuJplxJU.js")), at = D(() => import("./PackageVersion-Cqvb9VXZ.js")), ot = D(() => import("./PenAndPaper-BqhD2pOj.js")), st = D(() => import("./Tooltip-DSoDpjRJ.js")), ut = D(() => import("./UserOptions-gH1Ahkhe.js")), { vue_ui_candlestick: it } = Vt(), h = Ze, te = g(() => !!h.dataset && h.dataset.length), $ = r(!1), le = r(null), w = r(Bt()), nt = r(null), ae = r(!1), oe = r(""), se = r(void 0), xe = r(0), T = r(null), ke = r(null), we = r(null), Ae = r(null), _e = r(null), Ce = r(null), j = r(0), $e = r(0), ze = r(0), ue = r(null), H = r(null), e = r(re()), { loading: z, FINAL_DATASET: A, manualLoading: ie } = Zt({
|
|
36
36
|
...Rt(h),
|
|
37
37
|
FINAL_CONFIG: e,
|
|
38
38
|
prepareConfig: re,
|
|
39
39
|
callback: () => {
|
|
40
40
|
Promise.resolve().then(async () => {
|
|
41
|
-
await
|
|
41
|
+
await ce();
|
|
42
42
|
});
|
|
43
43
|
},
|
|
44
44
|
skeletonDataset: [
|
|
@@ -96,7 +96,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
})
|
|
99
|
-
}), { userOptionsVisible: ne, setUserOptionsVisibility:
|
|
99
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: Le, keepUserOptionState: Se } = Kt({ config: e.value }), { svgRef: Te } = Qt({ config: e.value.style.title });
|
|
100
100
|
function re() {
|
|
101
101
|
const t = Qe({
|
|
102
102
|
userConfig: h.config,
|
|
@@ -113,7 +113,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
113
113
|
pe(() => h.config, (t) => {
|
|
114
114
|
z.value || (e.value = re()), ne.value = !e.value.userOptions.showOnChartHover, Ie(), j.value += 1, ze.value += 1, $e.value += 1, _.value.showTable = e.value.table.show, _.value.showTooltip = e.value.style.tooltip.show;
|
|
115
115
|
}, { deep: !0 }), pe(() => h.dataset, (t) => {
|
|
116
|
-
Array.isArray(t) && t.length > 0 && (ie.value = !1),
|
|
116
|
+
Array.isArray(t) && t.length > 0 && (ie.value = !1), y.value.start = 0, y.value.end = t.length, j.value += 1;
|
|
117
117
|
}, { deep: !0 });
|
|
118
118
|
const d = r({
|
|
119
119
|
height: e.value.style.height,
|
|
@@ -163,7 +163,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
163
163
|
});
|
|
164
164
|
I.value && (U.value && I.value.unobserve(U.value), I.value.disconnect()), I.value = new ResizeObserver(a), U.value = T.value.parentNode, I.value.observe(U.value);
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
ce();
|
|
167
167
|
}
|
|
168
168
|
je(() => {
|
|
169
169
|
I.value && (U.value && I.value.unobserve(U.value), I.value.disconnect());
|
|
@@ -209,13 +209,13 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
209
209
|
width: d.value.width - o - a - m,
|
|
210
210
|
height: d.value.height - t - l - Pe.value - f
|
|
211
211
|
};
|
|
212
|
-
}), G = g(() => A.value.length),
|
|
212
|
+
}), G = g(() => A.value.length), y = r({
|
|
213
213
|
start: 0,
|
|
214
214
|
end: G.value
|
|
215
215
|
}), Ee = g(() => A.value.map((t, a) => ({
|
|
216
216
|
...t,
|
|
217
217
|
absoluteIndex: a
|
|
218
|
-
})).slice(
|
|
218
|
+
})).slice(y.value.start, y.value.end)), de = g(() => (A.value.forEach((t, a) => {
|
|
219
219
|
[null, void 0].includes(t[0]) && M({
|
|
220
220
|
componentName: "VueUiCandlestick",
|
|
221
221
|
type: "datasetAttribute",
|
|
@@ -289,33 +289,33 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
289
289
|
absoluteIndex: t.absoluteIndex
|
|
290
290
|
};
|
|
291
291
|
}));
|
|
292
|
-
function
|
|
292
|
+
function yt(t) {
|
|
293
293
|
return X((t - C.value.min) / (C.value.max - C.value.min));
|
|
294
294
|
}
|
|
295
|
-
const
|
|
296
|
-
y: n.value.bottom - n.value.height *
|
|
295
|
+
const ct = g(() => C.value.ticks.map((t) => ({
|
|
296
|
+
y: n.value.bottom - n.value.height * yt(t),
|
|
297
297
|
value: X(t)
|
|
298
298
|
}))), ht = g(() => de.value.map((t) => t.period)), R = g(() => al({
|
|
299
299
|
values: A.value.map((t) => t[0]),
|
|
300
300
|
maxDatapoints: A.value.length,
|
|
301
301
|
formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
302
|
-
start:
|
|
303
|
-
end:
|
|
302
|
+
start: y.value.start,
|
|
303
|
+
end: y.value.end
|
|
304
304
|
})), Be = g(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
|
|
305
|
-
start: R.value.find((t) => t.absoluteIndex ===
|
|
306
|
-
end: R.value.find((t) => t.absoluteIndex ===
|
|
305
|
+
start: R.value.find((t) => t.absoluteIndex === y.value.start).text,
|
|
306
|
+
end: R.value.find((t) => t.absoluteIndex === y.value.end - 1).text
|
|
307
307
|
} : {
|
|
308
|
-
start: A.value[
|
|
309
|
-
end: A.value[
|
|
310
|
-
}),
|
|
308
|
+
start: A.value[y.value.start] ? A.value[y.value.start][0] : A.value[0][0],
|
|
309
|
+
end: A.value[y.value.end - 1] ? A.value[y.value.end - 1][0] : A.value.at(-1)[0]
|
|
310
|
+
}), ye = r(null);
|
|
311
311
|
function ft(t, a) {
|
|
312
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: t +
|
|
312
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: t + y.value.start });
|
|
313
313
|
}
|
|
314
314
|
function gt(t, a) {
|
|
315
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t +
|
|
315
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + y.value.start }), se.value = void 0, ae.value = !1;
|
|
316
316
|
}
|
|
317
317
|
function pt(t, a) {
|
|
318
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t +
|
|
318
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + y.value.start }), se.value = t, ye.value = {
|
|
319
319
|
datapoint: a,
|
|
320
320
|
seriesIndex: t,
|
|
321
321
|
series: k.value,
|
|
@@ -336,31 +336,31 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
336
336
|
});
|
|
337
337
|
else if (e.value.style.tooltip.show) {
|
|
338
338
|
let o = "";
|
|
339
|
-
const { period: m, open: f, high: O, low: fe, last: ge, volume: K, isBullish: Ge } = k.value[t], { period: Bl, open: At, high: _t, low: Ct, last: $t, volume: zt } = e.value.translations,
|
|
339
|
+
const { period: m, open: f, high: O, low: fe, last: ge, volume: K, isBullish: Ge } = k.value[t], { period: Bl, open: At, high: _t, low: Ct, last: $t, volume: zt } = e.value.translations, Lt = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[t].text : m;
|
|
340
340
|
o += `<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}"
|
|
341
|
-
fill="${e.value.style.layout.candle.gradient.show ? Ge ? `url(#bullish_gradient_${w.value})` : `url(#bearish_gradient_${w.value})` : Ge ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${
|
|
342
|
-
const
|
|
341
|
+
fill="${e.value.style.layout.candle.gradient.show ? Ge ? `url(#bullish_gradient_${w.value})` : `url(#bearish_gradient_${w.value})` : Ge ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${Lt}</div>`, o += `${zt} : <b>${isNaN(K) ? "-" : Number(K.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, o += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`;
|
|
342
|
+
const St = S({
|
|
343
343
|
p: e.value.style.tooltip.prefix,
|
|
344
344
|
v: f.value,
|
|
345
345
|
s: e.value.style.tooltip.suffix,
|
|
346
346
|
r: e.value.style.tooltip.roundingValue
|
|
347
347
|
});
|
|
348
|
-
o += `<div>${At}: <b>${
|
|
349
|
-
const Tt =
|
|
348
|
+
o += `<div>${At}: <b>${St}</b></div>`;
|
|
349
|
+
const Tt = S({
|
|
350
350
|
p: e.value.style.tooltip.prefix,
|
|
351
351
|
v: O.value,
|
|
352
352
|
s: e.value.style.tooltip.suffix,
|
|
353
353
|
r: e.value.style.tooltip.roundingValue
|
|
354
354
|
});
|
|
355
355
|
o += `<div>${_t}: <b>${Tt}</b></div>`;
|
|
356
|
-
const It =
|
|
356
|
+
const It = S({
|
|
357
357
|
p: e.value.style.tooltip.prefix,
|
|
358
358
|
v: fe.value,
|
|
359
359
|
s: e.value.style.tooltip.suffix,
|
|
360
360
|
r: e.value.style.tooltip.roundingValue
|
|
361
361
|
});
|
|
362
362
|
o += `<div>${Ct}: <b>${It}</b></div>`;
|
|
363
|
-
const Ft =
|
|
363
|
+
const Ft = S({
|
|
364
364
|
p: e.value.style.tooltip.prefix,
|
|
365
365
|
v: ge.value,
|
|
366
366
|
s: e.value.style.tooltip.suffix,
|
|
@@ -371,13 +371,13 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
371
371
|
ae.value = !0;
|
|
372
372
|
}
|
|
373
373
|
function bt() {
|
|
374
|
-
|
|
374
|
+
ce();
|
|
375
375
|
}
|
|
376
376
|
const Me = r(null);
|
|
377
|
-
async function
|
|
377
|
+
async function ce() {
|
|
378
378
|
await be(), await be();
|
|
379
379
|
const { startIndex: t, endIndex: a } = e.value.style.zoom, l = Me.value, o = G.value;
|
|
380
|
-
(t != null || a != null) && l ? (t != null && l.setStartValue(t), a != null && l.setEndValue(mt(a + 1))) : (
|
|
380
|
+
(t != null || a != null) && l ? (t != null && l.setStartValue(t), a != null && l.setEndValue(mt(a + 1))) : (y.value = { start: 0, end: o }, j.value += 1);
|
|
381
381
|
}
|
|
382
382
|
function mt(t) {
|
|
383
383
|
const a = G.value;
|
|
@@ -398,22 +398,22 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
398
398
|
}
|
|
399
399
|
const q = g(() => {
|
|
400
400
|
const t = k.value.map((o, m) => {
|
|
401
|
-
const f = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[m].text : o.period, O =
|
|
401
|
+
const f = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[m].text : o.period, O = S({
|
|
402
402
|
p: e.value.table.td.prefix,
|
|
403
403
|
v: o.open.value,
|
|
404
404
|
s: e.value.table.td.suffix,
|
|
405
405
|
r: e.value.table.td.roundingValue
|
|
406
|
-
}), fe =
|
|
406
|
+
}), fe = S({
|
|
407
407
|
p: e.value.table.td.prefix,
|
|
408
408
|
v: o.high.value,
|
|
409
409
|
s: e.value.table.td.suffix,
|
|
410
410
|
r: e.value.table.td.roundingValue
|
|
411
|
-
}), ge =
|
|
411
|
+
}), ge = S({
|
|
412
412
|
p: e.value.table.td.prefix,
|
|
413
413
|
v: o.low.value,
|
|
414
414
|
s: e.value.table.td.suffix,
|
|
415
415
|
r: e.value.table.td.roundingValue
|
|
416
|
-
}), K =
|
|
416
|
+
}), K = S({
|
|
417
417
|
p: e.value.table.td.prefix,
|
|
418
418
|
v: o.last.value,
|
|
419
419
|
s: e.value.table.td.suffix,
|
|
@@ -478,11 +478,12 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
478
478
|
return sl({
|
|
479
479
|
timeLabelsEls: H,
|
|
480
480
|
timeLabels: R,
|
|
481
|
-
slicer:
|
|
481
|
+
slicer: y,
|
|
482
482
|
configRef: e,
|
|
483
483
|
rotationPath: ["style", "layout", "grid", "xAxis", "dataLabels", "rotation"],
|
|
484
|
-
autoRotatePath: ["style", "layout", "grid", "xAxis", "dataLabels", "autoRotate"],
|
|
484
|
+
autoRotatePath: ["style", "layout", "grid", "xAxis", "dataLabels", "autoRotate", "enable"],
|
|
485
485
|
isAutoSize: !1,
|
|
486
|
+
rotation: e.value.style.layout.grid.xAxis.dataLabels.autoRotate.angle,
|
|
486
487
|
width: kt,
|
|
487
488
|
height: wt
|
|
488
489
|
}), pe(e, () => {
|
|
@@ -502,11 +503,11 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
502
503
|
}), (t, a) => (s(), i("div", {
|
|
503
504
|
ref_key: "candlestickChart",
|
|
504
505
|
ref: T,
|
|
505
|
-
class:
|
|
506
|
+
class: L(`vue-ui-candlestick ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
506
507
|
style: me(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
507
508
|
id: `vue-ui-candlestick_${w.value}`,
|
|
508
|
-
onMouseenter: a[3] || (a[3] = () => u(
|
|
509
|
-
onMouseleave: a[4] || (a[4] = () => u(
|
|
509
|
+
onMouseenter: a[3] || (a[3] = () => u(Le)(!0)),
|
|
510
|
+
onMouseleave: a[4] || (a[4] = () => u(Le)(!1))
|
|
510
511
|
}, [
|
|
511
512
|
e.value.userOptions.buttons.annotator ? (s(), N(u(ot), {
|
|
512
513
|
key: 0,
|
|
@@ -543,7 +544,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
543
544
|
}
|
|
544
545
|
}, null, 8, ["config"]))
|
|
545
546
|
], 512)) : p("", !0),
|
|
546
|
-
e.value.userOptions.show && te.value && (u(
|
|
547
|
+
e.value.userOptions.show && te.value && (u(Se) || u(ne)) ? (s(), N(u(ut), {
|
|
547
548
|
ref_key: "details",
|
|
548
549
|
ref: nt,
|
|
549
550
|
key: `user_options_${xe.value}`,
|
|
@@ -575,7 +576,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
575
576
|
onToggleTooltip: He,
|
|
576
577
|
onToggleAnnotator: he,
|
|
577
578
|
style: me({
|
|
578
|
-
visibility: u(
|
|
579
|
+
visibility: u(Se) ? u(ne) ? "visible" : "hidden" : "visible"
|
|
579
580
|
})
|
|
580
581
|
}, Pt({ _: 2 }, [
|
|
581
582
|
t.$slots.menuIcon ? {
|
|
@@ -640,7 +641,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
640
641
|
ref: Te,
|
|
641
642
|
xmlns: u(Dt),
|
|
642
643
|
"aria-label": e.value.style.title.text || "candlestick chart",
|
|
643
|
-
class:
|
|
644
|
+
class: L({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
|
|
644
645
|
viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
|
|
645
646
|
style: me(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
646
647
|
}, [
|
|
@@ -658,46 +659,46 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
658
659
|
b(t.$slots, "chart-background", {}, void 0, !0)
|
|
659
660
|
], 8, rl)) : p("", !0),
|
|
660
661
|
k.value.length > 0 ? (s(), i("g", vl, [
|
|
661
|
-
|
|
662
|
-
|
|
662
|
+
c("defs", null, [
|
|
663
|
+
c("linearGradient", {
|
|
663
664
|
id: `bearish_gradient_${w.value}`,
|
|
664
665
|
x2: "0%",
|
|
665
666
|
y2: "100%"
|
|
666
667
|
}, [
|
|
667
|
-
|
|
668
|
+
c("stop", {
|
|
668
669
|
offset: "0%",
|
|
669
670
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
670
|
-
}, null, 8,
|
|
671
|
-
|
|
671
|
+
}, null, 8, yl),
|
|
672
|
+
c("stop", {
|
|
672
673
|
offset: "50%",
|
|
673
674
|
"stop-color": `${u(ee)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
674
|
-
}, null, 8,
|
|
675
|
-
|
|
675
|
+
}, null, 8, cl),
|
|
676
|
+
c("stop", {
|
|
676
677
|
offset: "100%",
|
|
677
678
|
"stop-color": `${u(ee)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
678
679
|
}, null, 8, hl)
|
|
679
680
|
], 8, dl),
|
|
680
|
-
|
|
681
|
+
c("linearGradient", {
|
|
681
682
|
id: `bullish_gradient_${w.value}`,
|
|
682
683
|
x2: "0%",
|
|
683
684
|
y2: "100%"
|
|
684
685
|
}, [
|
|
685
|
-
|
|
686
|
+
c("stop", {
|
|
686
687
|
offset: "0%",
|
|
687
688
|
"stop-color": e.value.style.layout.candle.colors.bullish
|
|
688
689
|
}, null, 8, gl),
|
|
689
|
-
|
|
690
|
+
c("stop", {
|
|
690
691
|
offset: "50%",
|
|
691
692
|
"stop-color": `${u(ee)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
692
693
|
}, null, 8, pl),
|
|
693
|
-
|
|
694
|
+
c("stop", {
|
|
694
695
|
offset: "100%",
|
|
695
696
|
"stop-color": `${u(ee)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
696
697
|
}, null, 8, bl)
|
|
697
698
|
], 8, fl)
|
|
698
699
|
]),
|
|
699
700
|
e.value.style.layout.grid.show ? (s(), i("g", ml, [
|
|
700
|
-
|
|
701
|
+
c("line", {
|
|
701
702
|
x1: n.value.left,
|
|
702
703
|
x2: n.value.left,
|
|
703
704
|
y1: n.value.top,
|
|
@@ -706,7 +707,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
706
707
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
707
708
|
"stroke-linecap": "round"
|
|
708
709
|
}, null, 8, xl),
|
|
709
|
-
|
|
710
|
+
c("line", {
|
|
710
711
|
x1: n.value.left,
|
|
711
712
|
x2: n.value.right,
|
|
712
713
|
y1: n.value.bottom,
|
|
@@ -721,7 +722,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
721
722
|
ref_key: "scaleLabels",
|
|
722
723
|
ref: ue
|
|
723
724
|
}, [
|
|
724
|
-
(s(!0), i(V, null, B(
|
|
725
|
+
(s(!0), i(V, null, B(ct.value, (l, o) => (s(), i("g", null, [
|
|
725
726
|
l.value >= C.value.min && l.value <= C.value.max ? (s(), i("line", {
|
|
726
727
|
key: 0,
|
|
727
728
|
x1: n.value.left,
|
|
@@ -740,7 +741,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
740
741
|
"text-anchor": "end",
|
|
741
742
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
742
743
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
743
|
-
}, Q(u(
|
|
744
|
+
}, Q(u(S)({
|
|
744
745
|
p: e.value.style.layout.grid.yAxis.dataLabels.prefix,
|
|
745
746
|
v: l.value,
|
|
746
747
|
s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
|
|
@@ -754,7 +755,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
754
755
|
ref: H
|
|
755
756
|
}, [
|
|
756
757
|
(s(!0), i(V, null, B(ht.value, (l, o) => (s(), i("g", null, [
|
|
757
|
-
|
|
758
|
+
c("text", {
|
|
758
759
|
class: "vue-data-ui-time-label",
|
|
759
760
|
transform: `translate(${n.value.left + v.value * o + v.value / 2}, ${n.value.bottom + d.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
760
761
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -770,7 +771,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
770
771
|
ref: H
|
|
771
772
|
}, [
|
|
772
773
|
(s(!0), i(V, null, B(R.value, (l, o) => (s(), i("g", null, [
|
|
773
|
-
|
|
774
|
+
c("text", {
|
|
774
775
|
class: "vue-data-ui-time-label",
|
|
775
776
|
transform: `translate(${n.value.left + v.value * o + v.value / 2}, ${n.value.bottom + d.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
776
777
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -780,9 +781,9 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
780
781
|
}, Q(l.text), 9, Cl)
|
|
781
782
|
]))), 256))
|
|
782
783
|
], 512)) : p("", !0),
|
|
783
|
-
|
|
784
|
+
c("g", null, [
|
|
784
785
|
(s(!0), i(V, null, B(k.value, (l, o) => (s(), i("g", null, [
|
|
785
|
-
|
|
786
|
+
c("rect", {
|
|
786
787
|
x: l.open.x - e.value.style.layout.wick.strokeWidth / 2,
|
|
787
788
|
y: l.high.y,
|
|
788
789
|
width: e.value.style.layout.wick.strokeWidth,
|
|
@@ -790,26 +791,26 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
790
791
|
fill: e.value.style.layout.wick.stroke,
|
|
791
792
|
stroke: "none",
|
|
792
793
|
rx: e.value.style.layout.wick.strokeWidth / 2,
|
|
793
|
-
class:
|
|
794
|
+
class: L({ "vue-data-ui-transition": $.value && !u(z) })
|
|
794
795
|
}, null, 10, $l),
|
|
795
796
|
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), i("g", zl, [
|
|
796
|
-
|
|
797
|
+
c("circle", {
|
|
797
798
|
cx: l.high.x,
|
|
798
799
|
cy: l.high.y,
|
|
799
800
|
r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
800
801
|
fill: e.value.style.layout.wick.extremity.color,
|
|
801
|
-
class:
|
|
802
|
-
}, null, 10,
|
|
803
|
-
|
|
802
|
+
class: L({ "vue-data-ui-transition": $.value && !u(z) })
|
|
803
|
+
}, null, 10, Ll),
|
|
804
|
+
c("circle", {
|
|
804
805
|
cx: l.low.x,
|
|
805
806
|
cy: l.low.y,
|
|
806
807
|
r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
807
808
|
fill: e.value.style.layout.wick.extremity.color,
|
|
808
|
-
class:
|
|
809
|
-
}, null, 10,
|
|
809
|
+
class: L({ "vue-data-ui-transition": $.value && !u(z) })
|
|
810
|
+
}, null, 10, Sl)
|
|
810
811
|
])) : p("", !0),
|
|
811
812
|
e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", Tl, [
|
|
812
|
-
|
|
813
|
+
c("rect", {
|
|
813
814
|
x: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
814
815
|
y: l.high.y - e.value.style.layout.wick.strokeWidth / 2,
|
|
815
816
|
width: Math.abs(l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2 - (l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2)),
|
|
@@ -817,9 +818,9 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
817
818
|
rx: e.value.style.layout.wick.strokeWidth / 2,
|
|
818
819
|
fill: e.value.style.layout.wick.extremity.color,
|
|
819
820
|
stroke: "none",
|
|
820
|
-
class:
|
|
821
|
+
class: L({ "vue-data-ui-transition": $.value && !u(z) })
|
|
821
822
|
}, null, 10, Il),
|
|
822
|
-
|
|
823
|
+
c("rect", {
|
|
823
824
|
x: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
824
825
|
y: l.low.y - e.value.style.layout.wick.strokeWidth / 2,
|
|
825
826
|
width: Math.abs(l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2 - (l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2)),
|
|
@@ -827,12 +828,12 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
827
828
|
fill: e.value.style.layout.wick.extremity.color,
|
|
828
829
|
stroke: "none",
|
|
829
830
|
rx: e.value.style.layout.wick.strokeWidth / 2,
|
|
830
|
-
class:
|
|
831
|
+
class: L({ "vue-data-ui-transition": $.value && !u(z) })
|
|
831
832
|
}, null, 10, Fl)
|
|
832
833
|
])) : p("", !0)
|
|
833
834
|
]))), 256))
|
|
834
835
|
]),
|
|
835
|
-
|
|
836
|
+
c("g", null, [
|
|
836
837
|
(s(!0), i(V, null, B(k.value, (l, o) => (s(), i("rect", {
|
|
837
838
|
x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
838
839
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
@@ -841,7 +842,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
841
842
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
842
843
|
rx: e.value.style.layout.candle.borderRadius,
|
|
843
844
|
stroke: "none",
|
|
844
|
-
class:
|
|
845
|
+
class: L({ "vue-data-ui-transition": $.value && !u(z) })
|
|
845
846
|
}, null, 10, Rl))), 256)),
|
|
846
847
|
(s(!0), i(V, null, B(k.value, (l, o) => (s(), i("rect", {
|
|
847
848
|
x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
@@ -854,10 +855,10 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
854
855
|
"stroke-width": e.value.style.layout.candle.strokeWidth,
|
|
855
856
|
"stroke-linecap": "round",
|
|
856
857
|
"stroke-linejoin": "round",
|
|
857
|
-
class:
|
|
858
|
+
class: L({ "vue-data-ui-transition": $.value && !u(z) })
|
|
858
859
|
}, null, 10, Ol))), 256))
|
|
859
860
|
]),
|
|
860
|
-
|
|
861
|
+
c("g", null, [
|
|
861
862
|
(s(!0), i(V, null, B(k.value, (l, o) => (s(), i("rect", {
|
|
862
863
|
x: n.value.left + o * v.value,
|
|
863
864
|
y: n.value.top,
|
|
@@ -895,12 +896,12 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
895
896
|
selectColor: e.value.style.zoom.highlightColor,
|
|
896
897
|
max: G.value,
|
|
897
898
|
min: 0,
|
|
898
|
-
valueStart:
|
|
899
|
-
valueEnd:
|
|
900
|
-
start:
|
|
901
|
-
"onUpdate:start": a[0] || (a[0] = (l) =>
|
|
902
|
-
end:
|
|
903
|
-
"onUpdate:end": a[1] || (a[1] = (l) =>
|
|
899
|
+
valueStart: y.value.start,
|
|
900
|
+
valueEnd: y.value.end,
|
|
901
|
+
start: y.value.start,
|
|
902
|
+
"onUpdate:start": a[0] || (a[0] = (l) => y.value.start = l),
|
|
903
|
+
end: y.value.end,
|
|
904
|
+
"onUpdate:end": a[1] || (a[1] = (l) => y.value.end = l),
|
|
904
905
|
refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
|
|
905
906
|
refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : G.value,
|
|
906
907
|
enableRangeHandles: e.value.style.zoom.enableRangeHandles,
|
|
@@ -913,7 +914,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
913
914
|
_: 3
|
|
914
915
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
|
|
915
916
|
], 512)) : p("", !0),
|
|
916
|
-
|
|
917
|
+
c("div", {
|
|
917
918
|
ref_key: "chartLegend",
|
|
918
919
|
ref: we
|
|
919
920
|
}, [
|
|
@@ -946,10 +947,10 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
946
947
|
backdropFilter: e.value.style.tooltip.backdropFilter
|
|
947
948
|
}, {
|
|
948
949
|
"tooltip-before": x(() => [
|
|
949
|
-
b(t.$slots, "tooltip-before", P(E({ ...
|
|
950
|
+
b(t.$slots, "tooltip-before", P(E({ ...ye.value })), void 0, !0)
|
|
950
951
|
]),
|
|
951
952
|
"tooltip-after": x(() => [
|
|
952
|
-
b(t.$slots, "tooltip-after", P(E({ ...
|
|
953
|
+
b(t.$slots, "tooltip-after", P(E({ ...ye.value })), void 0, !0)
|
|
953
954
|
]),
|
|
954
955
|
_: 3
|
|
955
956
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
@@ -983,7 +984,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
983
984
|
Et(Q(l), 1)
|
|
984
985
|
]),
|
|
985
986
|
td: x(({ td: l }) => [
|
|
986
|
-
|
|
987
|
+
c("div", { innerHTML: l }, null, 8, El)
|
|
987
988
|
]),
|
|
988
989
|
_: 1
|
|
989
990
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -993,7 +994,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
993
994
|
u(z) ? (s(), N(el, { key: 8 })) : p("", !0)
|
|
994
995
|
], 46, il));
|
|
995
996
|
}
|
|
996
|
-
}, ea = /* @__PURE__ */ ul(Vl, [["__scopeId", "data-v-
|
|
997
|
+
}, ea = /* @__PURE__ */ ul(Vl, [["__scopeId", "data-v-38d694dc"]]);
|
|
997
998
|
export {
|
|
998
999
|
ea as default
|
|
999
1000
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent as ce, ref as n, useSlots as Se, onMounted as w, computed as R, watch as N, onBeforeUnmount as G, shallowRef as ze, nextTick as fe, createElementBlock as v, openBlock as r, unref as u, createElementVNode as U, createBlock as he, createCommentVNode as S, 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 A, normalizeProps as ge, guardReactiveProps as be } from "vue";
|
|
2
|
-
import { u as Ne, c as Ue, o as K, f as Q, s as Ve, v as Me, w as Le } from "./index-
|
|
3
|
-
import { u as qe } from "./useNestedProp-
|
|
4
|
-
import { u as Ge } from "./usePrinter-
|
|
2
|
+
import { u as Ne, c as Ue, o as K, f as Q, s as Ve, v as Me, w as Le } from "./index-Be3YloBf.js";
|
|
3
|
+
import { u as qe } from "./useNestedProp-BPkXaKa1.js";
|
|
4
|
+
import { u as Ge } from "./usePrinter-BV33Qwmk.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-DpHEVrfC.js")), $e = ce(() => import("./UserOptions-gH1Ahkhe.js")), { vue_ui_carousel_table: Te } = Ne(), i = T, V = n(Ue()), W = n(!1), O = n(!!i.dataset), ke = Se();
|
|
29
29
|
w(() => {
|
|
30
30
|
Y();
|
|
31
31
|
}), w(() => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useCssVars as rt, defineAsyncComponent as K, computed as k, ref as z, toRefs as it, watch as Fe, shallowRef as ct, onMounted as dt, onBeforeUnmount as vt, createElementBlock as o, openBlock as a, unref as n, normalizeStyle as y, normalizeClass as w, createBlock as ee, createCommentVNode as f, renderSlot as F, createSlots as yt, withCtx as B, normalizeProps as te, guardReactiveProps as le, createVNode as Le, createElementVNode as u, toDisplayString as c, Fragment as g, renderList as _, createTextVNode as ae, withKeys as ht, nextTick as Ie } from "vue";
|
|
2
|
-
import { u as ft, c as bt, t as pt, a as gt, p as R, b as _t, d as xt, g as ve, f as oe, e as ye, o as mt, X as kt, s as A, x as Re, k as U, i as S, F as Pe, m as Oe, n as wt, q as Z, r as P, v as Ct, w as $t } from "./index-
|
|
2
|
+
import { u as ft, c as bt, t as pt, a as gt, p as R, b as _t, d as xt, g as ve, f as oe, e as ye, o as mt, X as kt, s as A, x as Re, k as U, i as S, F as Pe, m as Oe, n as wt, q as Z, r as P, v as Ct, w as $t } from "./index-Be3YloBf.js";
|
|
3
3
|
import { u as Tt, B as zt } from "./useLoading-D7YHNtLX.js";
|
|
4
|
-
import { u as At } from "./usePrinter-
|
|
5
|
-
import { u as Ve } from "./useNestedProp-
|
|
4
|
+
import { u as At } from "./usePrinter-BV33Qwmk.js";
|
|
5
|
+
import { u as Ve } from "./useNestedProp-BPkXaKa1.js";
|
|
6
6
|
import { u as St } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Nt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Ft from "./img-
|
|
8
|
+
import Ft from "./img-WAJVcEH2.js";
|
|
9
9
|
import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const It = ["id"], Rt = {
|
|
11
11
|
key: 1,
|
|
@@ -48,7 +48,7 @@ const It = ["id"], Rt = {
|
|
|
48
48
|
rt((l) => ({
|
|
49
49
|
"49657cde": l.tdo
|
|
50
50
|
}));
|
|
51
|
-
const Xe = K(() => import("./BaseIcon-
|
|
51
|
+
const Xe = K(() => import("./BaseIcon-DxXLzb15.js")), Ee = K(() => import("./vue-ui-accordion-KpWnxkbY.js")), Ge = K(() => import("./PenAndPaper-BqhD2pOj.js")), Ue = K(() => import("./UserOptions-gH1Ahkhe.js")), De = K(() => import("./PackageVersion-Cqvb9VXZ.js")), { vue_ui_chestnut: Ye } = ft(), M = Be, he = k(() => !!M.dataset && M.dataset.length), C = z(bt()), H = z(null), qe = z(null), fe = z(0), e = z(ne()), { loading: be, FINAL_DATASET: se } = Tt({
|
|
52
52
|
...it(M),
|
|
53
53
|
FINAL_CONFIG: e,
|
|
54
54
|
prepareConfig: ne,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useCssVars as Ft, defineAsyncComponent as H, ref as d, shallowRef as Ke, toRefs as zt, watch as et, computed as C, onMounted as tt, onBeforeUnmount as at, createElementBlock as i, openBlock as r, unref as v, normalizeStyle as D, normalizeClass as F, createBlock as Y, createCommentVNode as h, renderSlot as k, createElementVNode as O, createSlots as ot, withCtx as P, normalizeProps as ie, guardReactiveProps as ce, withModifiers as lt, createVNode as ke, Fragment as z, renderList as G, mergeProps as Xt, toDisplayString as Q, createTextVNode as Ut, nextTick as Vt } from "vue";
|
|
2
|
-
import { u as jt, c as $e, t as Yt, a as Gt, p as ve, b as Wt, o as qt, f as st, g as Ht, d as Qt, e as Zt, X as Jt, F as Kt, i as we, a0 as ea, ac as ta, v as aa, w as oa, k as la } from "./index-
|
|
2
|
+
import { u as jt, c as $e, t as Yt, a as Gt, p as ve, b as Wt, o as qt, f as st, g as Ht, d as Qt, e as Zt, X as Jt, F as Kt, i as we, a0 as ea, ac as ta, v as aa, w as oa, k as la } from "./index-Be3YloBf.js";
|
|
3
3
|
import { u as sa } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
|
-
import { u as nt } from "./useNestedProp-
|
|
4
|
+
import { u as nt } from "./useNestedProp-BPkXaKa1.js";
|
|
5
5
|
import { u as na } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
-
import { u as ra } from "./usePrinter-
|
|
6
|
+
import { u as ra } from "./usePrinter-BV33Qwmk.js";
|
|
7
7
|
import { t as ua, u as ia } from "./useResponsive-DfdjqQps.js";
|
|
8
|
-
import ca from "./Legend-
|
|
9
|
-
import va from "./Title-
|
|
10
|
-
import { _ as da } from "./Shape-
|
|
11
|
-
import ha from "./img-
|
|
8
|
+
import ca from "./Legend-ioFJsYH-.js";
|
|
9
|
+
import va from "./Title-DM17sbc-.js";
|
|
10
|
+
import { _ as da } from "./Shape-CSkkoa5p.js";
|
|
11
|
+
import ha from "./img-WAJVcEH2.js";
|
|
12
12
|
import { u as fa, B as ga } from "./useLoading-D7YHNtLX.js";
|
|
13
13
|
import { _ as pa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const ba = ["id"], ma = ["xmlns", "viewBox"], ya = ["width", "height"], ka = { key: 1 }, $a = ["id", "d"], wa = { key: 2 }, Ca = ["transform"], Ma = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], xa = ["d", "fill", "stroke", "stroke-width"], Aa = ["d", "fill"], Ia = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick", "onMouseleave"], _a = ["d", "fill", "stroke", "stroke-width"], Pa = ["d", "fill", "stroke", "stroke-width"], Sa = ["d", "fill", "stroke", "stroke-width"], Ta = { key: 0 }, Ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], La = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Oa = ["cx", "cy", "r", "stroke", "stroke-width", "fill"], Ea = ["transform", "fill", "text-anchor", "font-size", "font-weight"], Na = { key: 1 }, Ra = ["font-size", "font-weight", "fill"], Da = ["href"], Fa = ["transform", "text-anchor", "font-size", "font-weight", "fill", "innerHTML"], za = {
|
|
@@ -39,7 +39,7 @@ const ba = ["id"], ma = ["xmlns", "viewBox"], ya = ["width", "height"], ka = { k
|
|
|
39
39
|
Ft((e) => ({
|
|
40
40
|
"3d3f80fa": e.slicerColor
|
|
41
41
|
}));
|
|
42
|
-
const ct = H(() => import("./vue-ui-accordion-
|
|
42
|
+
const ct = H(() => import("./vue-ui-accordion-KpWnxkbY.js")), vt = H(() => import("./BaseIcon-DxXLzb15.js")), dt = H(() => import("./DataTable-CuJplxJU.js")), ht = H(() => import("./PackageVersion-Cqvb9VXZ.js")), ft = H(() => import("./PenAndPaper-BqhD2pOj.js")), gt = H(() => import("./UserOptions-gH1Ahkhe.js")), { vue_ui_chord: pt } = jt(), T = rt, oe = it, E = d(!!T.dataset && Object.hasOwn(T.dataset, "matrix")), S = d($e()), $ = d(null), b = d(null), g = d(null), Ce = d(0), N = d(null), Me = d(null), xe = d(null), Ae = d(null), Ie = d(null), de = d(0), he = d(0), fe = d(0), W = d(!1), X = Ke(null), q = Ke(null), a = d(pe()), { loading: _e, FINAL_DATASET: w, manualLoading: Z } = fa({
|
|
43
43
|
...zt(T),
|
|
44
44
|
FINAL_CONFIG: a,
|
|
45
45
|
prepareConfig: pe,
|