vue-data-ui 3.0.22 → 3.1.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-C3_2GkYQ.js → Arrow-DvG07exK.js} +1 -1
- package/dist/{BaseDraggableDialog-BhxUDwEm.js → BaseDraggableDialog-O7900pGp.js} +72 -59
- package/dist/{BaseIcon-B717hnWR.js → BaseIcon-DHtro8us.js} +1 -1
- package/dist/{useLoading-D7YHNtLX.js → BaseScanner-BgWxam9d.js} +11 -11
- package/dist/{ColorPicker-CH5_RNaK.js → ColorPicker-CpWzNn4r.js} +2 -2
- package/dist/DataTable-DJjA2_wf.js +140 -0
- package/dist/Legend-2-dC7DVb.js +72 -0
- package/dist/{NonSvgPenAndPaper-DCJGSteM.js → NonSvgPenAndPaper-DHeE4Yuv.js} +3 -3
- package/dist/{PackageVersion-CE7HSich.js → PackageVersion-DU12WH3O.js} +1 -1
- package/dist/{PenAndPaper-BMHsOtT8.js → PenAndPaper-B7QEDgx4.js} +3 -3
- package/dist/{Shape-C3J8aKNH.js → Shape-Dj2Hl33H.js} +1 -1
- package/dist/{Slicer-BEBDljWA.js → Slicer-D99HytqX.js} +2 -2
- package/dist/{SparkTooltip-CVSZQtoP.js → SparkTooltip-B-wL07rI.js} +1 -1
- package/dist/{Title-BL-IjQmj.js → Title-Dq2_Z9kR.js} +1 -1
- package/dist/{Tooltip-CCnDaboi.js → Tooltip-Y219DXZO.js} +1 -1
- package/dist/{UserOptions-BWMV0_Ze.js → UserOptions-BuGfCdAY.js} +2 -2
- package/dist/{dom-to-png-DwUGURhV.js → dom-to-png-BhciAKaM.js} +1 -1
- package/dist/{img-DsVqerdt.js → img-JOqdlnUs.js} +1 -1
- package/dist/{index-BHb_mcWF.js → index-CDQbCd41.js} +37 -2
- package/dist/{pdf-Ckt8JtYf.js → pdf-Dd-LIJqz.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +35 -0
- package/dist/types/vue-data-ui.d.ts +35 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-Cy946l1e.js → useAutoSizeLabelsInsideViewbox-Bky5KGFZ.js} +1 -1
- package/dist/{useNestedProp-aC9S6EFJ.js → useNestedProp-BPEHGiYX.js} +1 -1
- package/dist/{usePrinter-B7rhbRrT.js → usePrinter-Bnl1YeUU.js} +2 -2
- package/dist/{vue-data-ui-Bu7qDtf0.js → vue-data-ui-DcNYz3cZ.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-BNIFAeN-.js +1369 -0
- package/dist/{vue-ui-accordion-DsnF0JuK.js → vue-ui-accordion-Bf_LHFFX.js} +3 -3
- package/dist/{vue-ui-age-pyramid-s8xyb3Gf.js → vue-ui-age-pyramid-Bz-l1afR.js} +333 -286
- package/dist/{vue-ui-annotator-DRacM62z.js → vue-ui-annotator-BcfRH2BF.js} +2 -2
- package/dist/{vue-ui-bullet-DdDrdyOJ.js → vue-ui-bullet-DK1aM9fX.js} +8 -8
- package/dist/{vue-ui-candlestick-BsNnInNt.js → vue-ui-candlestick-D6mMjvtu.js} +453 -406
- package/dist/{vue-ui-carousel-table-Ci9mrUBd.js → vue-ui-carousel-table-Vp5f238W.js} +4 -4
- package/dist/{vue-ui-chestnut-fHfJNK0V.js → vue-ui-chestnut-BKc4v-lf.js} +509 -459
- package/dist/vue-ui-chord-CquhRjf0.js +1100 -0
- package/dist/vue-ui-circle-pack-D6zLgxa3.js +755 -0
- package/dist/{vue-ui-cursor-Bk5LHg5V.js → vue-ui-cursor-DIXb2S93.js} +2 -2
- package/dist/{vue-ui-dashboard-CjZMEYs6.js → vue-ui-dashboard-DmiriAK7.js} +62 -62
- package/dist/{vue-ui-digits-nDIvHyRB.js → vue-ui-digits-CLAIo9gW.js} +2 -2
- package/dist/{vue-ui-donut-CF9FdxfC.js → vue-ui-donut-C8h_tCSO.js} +477 -431
- package/dist/{vue-ui-donut-evolution-f5k-Yu3N.js → vue-ui-donut-evolution-C3r0YhKz.js} +482 -435
- package/dist/{vue-ui-dumbbell-Dm3gsrzi.js → vue-ui-dumbbell-D-t4M00E.js} +443 -398
- package/dist/vue-ui-flow-D7_D_UNm.js +900 -0
- package/dist/vue-ui-funnel-B0QOfZRz.js +666 -0
- package/dist/vue-ui-galaxy-Ccw5uNes.js +744 -0
- package/dist/{vue-ui-gauge-DkDpUAN7.js → vue-ui-gauge-DvW7nFmK.js} +8 -8
- package/dist/{vue-ui-gizmo-BD5fLs8r.js → vue-ui-gizmo-WGQxvGPy.js} +4 -4
- package/dist/vue-ui-heatmap-BQkLujyp.js +1127 -0
- package/dist/{vue-ui-history-plot-ICoBBO-y.js → vue-ui-history-plot-eU33r_Ot.js} +408 -361
- package/dist/{vue-ui-kpi-Dp2M2EFo.js → vue-ui-kpi-CKg2i71M.js} +3 -3
- package/dist/{vue-ui-mini-loader-C5672jjA.js → vue-ui-mini-loader-BmkGQsm_.js} +2 -2
- package/dist/vue-ui-molecule-Dlu0hjSg.js +702 -0
- package/dist/{vue-ui-mood-radar-B-qhYUcB.js → vue-ui-mood-radar-DQaxfw9R.js} +342 -291
- package/dist/{vue-ui-nested-donuts-V6BvP3pF.js → vue-ui-nested-donuts-Djj9Aw_i.js} +548 -502
- package/dist/{vue-ui-onion-BKqqbWbg.js → vue-ui-onion-ZgsErXis.js} +363 -317
- package/dist/vue-ui-parallel-coordinate-plot-B5fB22Jc.js +979 -0
- package/dist/vue-ui-quadrant-CMevCtXH.js +1483 -0
- package/dist/{vue-ui-quick-chart-BVZSdQeT.js → vue-ui-quick-chart-DcparKSX.js} +7 -7
- package/dist/vue-ui-radar-DFbxoKCK.js +858 -0
- package/dist/{vue-ui-rating-CncrxDCY.js → vue-ui-rating-ZUpxCWrk.js} +2 -2
- package/dist/{vue-ui-relation-circle-VYM1dclx.js → vue-ui-relation-circle-eNKJY4Sx.js} +8 -8
- package/dist/vue-ui-ridgeline-D4shpQZd.js +1204 -0
- package/dist/vue-ui-rings-TdTHMbsa.js +785 -0
- package/dist/{vue-ui-scatter-D2b-u5dv.js → vue-ui-scatter-CVuV9ljU.js} +594 -548
- package/dist/{vue-ui-skeleton-BTuBaaE_.js → vue-ui-skeleton-CFxBU2-p.js} +3 -3
- package/dist/{vue-ui-smiley-D1UxJNbV.js → vue-ui-smiley-Har3B3aQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-BCP0BWMI.js → vue-ui-spark-trend-FPk-XEwI.js} +4 -4
- package/dist/{vue-ui-sparkbar-eBo-RSvE.js → vue-ui-sparkbar-V3eJ0w0t.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DberOXWX.js → vue-ui-sparkgauge-DKTGkWnJ.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CoKQGG5X.js → vue-ui-sparkhistogram-DJsgFwHs.js} +5 -5
- package/dist/{vue-ui-sparkline-B_L4UNES.js → vue-ui-sparkline-Dmrm5SL5.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-iAaRIyqb.js → vue-ui-sparkstackbar-B0Pl7VMI.js} +4 -4
- package/dist/{vue-ui-stackbar-B_0PJ7R2.js → vue-ui-stackbar-CNsgBPhj.js} +525 -479
- package/dist/{vue-ui-strip-plot-CWkA4l9P.js → vue-ui-strip-plot-CYAWwYOM.js} +390 -343
- package/dist/{vue-ui-table-CILVy7YP.js → vue-ui-table-Dn6H98rP.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DL2n2Z7p.js → vue-ui-table-heatmap-COI9LRqC.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DOt2EKpe.js → vue-ui-table-sparkline-B7Gg5FfJ.js} +4 -4
- package/dist/{vue-ui-thermometer-BTP1ic_T.js → vue-ui-thermometer-Bgynq5El.js} +8 -8
- package/dist/{vue-ui-timer-Bc-zJH9j.js → vue-ui-timer-CXng51v5.js} +5 -5
- package/dist/{vue-ui-tiremarks-B9n528e1.js → vue-ui-tiremarks-Cy1U3hO1.js} +7 -7
- package/dist/vue-ui-treemap-BsvIvRmE.js +1092 -0
- package/dist/{vue-ui-vertical-bar-CK2j09gJ.js → vue-ui-vertical-bar-DHqWeDIf.js} +512 -464
- package/dist/{vue-ui-waffle-DJkqgqlR.js → vue-ui-waffle-D1Mscj3N.js} +416 -370
- package/dist/{vue-ui-wheel-CcbgpIUr.js → vue-ui-wheel-DpV-N5tF.js} +7 -7
- package/dist/vue-ui-word-cloud-MaNQ3Kdk.js +811 -0
- package/dist/{vue-ui-world-DLmB_Z96.js → vue-ui-world-DYz6zw3x.js} +512 -466
- package/dist/{vue-ui-xy-KmrNT6qh.js → vue-ui-xy-B1nqNbzw.js} +1559 -1508
- package/dist/vue-ui-xy-canvas-D4wd-Asd.js +1291 -0
- package/package.json +1 -1
- package/dist/DataTable-Y5T9UxMO.js +0 -133
- package/dist/Legend-DkU3at-b.js +0 -72
- package/dist/vue-ui-3d-bar-CBfQ3Pcb.js +0 -1323
- package/dist/vue-ui-chord-0wf798ls.js +0 -1049
- package/dist/vue-ui-circle-pack-CuRHG8gr.js +0 -709
- package/dist/vue-ui-flow-K7UBguES.js +0 -852
- package/dist/vue-ui-funnel-DoDZbsTp.js +0 -620
- package/dist/vue-ui-galaxy-BsDlHxzE.js +0 -691
- package/dist/vue-ui-heatmap-DOT2tBy_.js +0 -1078
- package/dist/vue-ui-molecule-DgqVh2k0.js +0 -656
- package/dist/vue-ui-parallel-coordinate-plot-BZf24Zur.js +0 -927
- package/dist/vue-ui-quadrant-S58B2LrQ.js +0 -1432
- package/dist/vue-ui-radar-Dh67mQ9E.js +0 -807
- package/dist/vue-ui-ridgeline-CsByERvm.js +0 -1157
- package/dist/vue-ui-rings-CR2UfgnV.js +0 -739
- package/dist/vue-ui-treemap-Cl9qo9O-.js +0 -1046
- package/dist/vue-ui-word-cloud-CZ_TRf4o.js +0 -765
- package/dist/vue-ui-xy-canvas-6VYNyX6a.js +0 -1243
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import { _ as
|
|
15
|
-
const
|
|
1
|
+
import { defineAsyncComponent as F, computed as g, ref as r, toRefs as Vt, watch as te, shallowRef as qe, onMounted as Dt, onBeforeUnmount as Je, watchEffect as Mt, nextTick as ke, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as we, normalizeClass as L, createBlock as B, createCommentVNode as p, createElementVNode as y, createVNode as Ae, createSlots as Ke, withCtx as b, renderSlot as m, normalizeProps as E, guardReactiveProps as V, Fragment as D, renderList as M, toDisplayString as Y, resolveDynamicComponent as Ut, mergeProps as Wt, createTextVNode as Qe } from "vue";
|
|
2
|
+
import { u as Ht, c as Gt, t as Xt, b as jt, C as le, o as Ze, f as U, D as Yt, h as q, i as T, X as qt, x as ae, s as Jt, E as et, v as Kt, w as Qt, y as Zt, z as el } from "./index-CDQbCd41.js";
|
|
3
|
+
import { t as tt, u as tl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as ll } from "./usePrinter-Bnl1YeUU.js";
|
|
5
|
+
import { u as al, B as ol } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as lt } from "./useNestedProp-BPEHGiYX.js";
|
|
7
|
+
import { u as sl } from "./useTimeLabels-BGFjWgrv.js";
|
|
8
|
+
import { u as ul } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import { u as il } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
+
import { u as nl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
|
+
import rl from "./img-JOqdlnUs.js";
|
|
12
|
+
import vl from "./Title-Dq2_Z9kR.js";
|
|
13
|
+
import { S as dl } from "./Slicer-D99HytqX.js";
|
|
14
|
+
import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "width", "height"], gl = { key: 1 }, pl = ["id"], bl = ["stop-color"], ml = ["stop-color"], xl = ["stop-color"], kl = ["id"], wl = ["stop-color"], Al = ["stop-color"], Cl = ["stop-color"], _l = { key: 0 }, $l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ll = ["x", "y", "font-size", "fill", "font-weight"], Tl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Il = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Fl = ["x", "y", "width", "height", "fill", "rx"], Rl = { key: 0 }, Ol = ["cx", "cy", "r", "fill"], Pl = ["cx", "cy", "r", "fill"], Nl = { key: 1 }, Bl = ["x", "y", "width", "height", "rx", "fill"], El = ["x", "y", "width", "height", "fill", "rx"], Vl = ["x", "y", "height", "width", "fill", "rx"], Dl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Ml = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Ul = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
18
|
+
}, Wl = ["innerHTML"], Hl = {
|
|
19
19
|
__name: "vue-ui-candlestick",
|
|
20
20
|
props: {
|
|
21
21
|
config: {
|
|
@@ -31,14 +31,14 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
setup(
|
|
35
|
-
const
|
|
36
|
-
...
|
|
34
|
+
setup(at, { expose: ot }) {
|
|
35
|
+
const st = F(() => import("./BaseIcon-DHtro8us.js")), ut = F(() => import("./Tooltip-Y219DXZO.js")), it = F(() => import("./vue-ui-accordion-Bf_LHFFX.js")), nt = F(() => import("./DataTable-DJjA2_wf.js")), rt = F(() => import("./PenAndPaper-B7QEDgx4.js")), vt = F(() => import("./UserOptions-BuGfCdAY.js")), dt = F(() => import("./PackageVersion-DU12WH3O.js")), ct = F(() => import("./BaseDraggableDialog-O7900pGp.js")), { vue_ui_candlestick: yt } = Ht(), h = at, oe = g(() => !!h.dataset && h.dataset.length), $ = r(!1), se = r(null), A = r(Gt()), ht = r(null), ue = r(!1), ie = r(""), ne = r(void 0), Ce = r(0), z = r(null), _e = r(null), $e = r(null), ze = r(null), Se = r(null), Le = r(null), J = r(0), Te = r(0), Ie = r(0), re = r(null), H = r(null), G = r(null), e = r(ce()), { loading: S, FINAL_DATASET: C, manualLoading: ve } = al({
|
|
36
|
+
...Vt(h),
|
|
37
37
|
FINAL_CONFIG: e,
|
|
38
|
-
prepareConfig:
|
|
38
|
+
prepareConfig: ce,
|
|
39
39
|
callback: () => {
|
|
40
40
|
Promise.resolve().then(async () => {
|
|
41
|
-
await
|
|
41
|
+
await ge();
|
|
42
42
|
});
|
|
43
43
|
},
|
|
44
44
|
skeletonDataset: [
|
|
@@ -55,7 +55,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
55
55
|
[17304192e5, 890, 2330, 550, 1950, 3770],
|
|
56
56
|
[17330112e5, 1440, 3770, 890, 3200, 5100]
|
|
57
57
|
],
|
|
58
|
-
skeletonConfig:
|
|
58
|
+
skeletonConfig: Xt({
|
|
59
59
|
defaultConfig: e.value,
|
|
60
60
|
userConfig: {
|
|
61
61
|
useCssAnimation: !1,
|
|
@@ -96,164 +96,164 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
})
|
|
99
|
-
}), { userOptionsVisible:
|
|
100
|
-
function
|
|
101
|
-
const t =
|
|
99
|
+
}), { userOptionsVisible: de, setUserOptionsVisibility: Fe, keepUserOptionState: Re } = ul({ config: e.value }), { svgRef: Oe } = il({ config: e.value.style.title });
|
|
100
|
+
function ce() {
|
|
101
|
+
const t = lt({
|
|
102
102
|
userConfig: h.config,
|
|
103
|
-
defaultConfig:
|
|
103
|
+
defaultConfig: yt
|
|
104
104
|
});
|
|
105
105
|
let a = {};
|
|
106
106
|
return t.theme ? a = {
|
|
107
|
-
...
|
|
108
|
-
userConfig:
|
|
107
|
+
...lt({
|
|
108
|
+
userConfig: jt.vue_ui_candlestick[t.theme] || h.config,
|
|
109
109
|
defaultConfig: t
|
|
110
110
|
})
|
|
111
|
-
} : a = t, h.config &&
|
|
111
|
+
} : a = t, h.config && le(h.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = h.config.style.zoom.startIndex : a.style.zoom.startIndex = null, h.config && le(h.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = h.config.style.zoom.endIndex : a.style.zoom.endIndex = null, h.config && le(h.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = h.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, h.config && le(h.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = h.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
|
|
112
112
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}, { deep: !0 }),
|
|
116
|
-
Array.isArray(t) && t.length > 0 && (
|
|
113
|
+
te(() => h.config, (t) => {
|
|
114
|
+
S.value || (e.value = ce()), de.value = !e.value.userOptions.showOnChartHover, Pe(), J.value += 1, Ie.value += 1, Te.value += 1, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.tooltip.show;
|
|
115
|
+
}, { deep: !0 }), te(() => h.dataset, (t) => {
|
|
116
|
+
Array.isArray(t) && t.length > 0 && (ve.value = !1), v.value.start = 0, v.value.end = t.length, J.value += 1;
|
|
117
117
|
}, { deep: !0 });
|
|
118
|
-
const
|
|
118
|
+
const c = r({
|
|
119
119
|
height: e.value.style.height,
|
|
120
120
|
width: e.value.style.width,
|
|
121
121
|
xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
122
122
|
yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
123
|
-
}), I =
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
}), I = qe(null), W = qe(null);
|
|
124
|
+
Dt(() => {
|
|
125
|
+
Pe();
|
|
126
126
|
});
|
|
127
|
-
const
|
|
128
|
-
function
|
|
129
|
-
if (
|
|
127
|
+
const R = g(() => !!e.value.debug);
|
|
128
|
+
function Pe() {
|
|
129
|
+
if (Ze(h.dataset) && (U({
|
|
130
130
|
componentName: "VueUiCandlestick",
|
|
131
131
|
type: "dataset",
|
|
132
|
-
debug:
|
|
133
|
-
}),
|
|
132
|
+
debug: R.value
|
|
133
|
+
}), ve.value = !0), Ze(h.dataset) || (ve.value = e.value.loading), setTimeout(() => {
|
|
134
134
|
$.value = !0;
|
|
135
135
|
}, 10), e.value.responsive) {
|
|
136
|
-
const a =
|
|
136
|
+
const a = tt(() => {
|
|
137
137
|
$.value = !1;
|
|
138
|
-
const { width: l, height: o } =
|
|
139
|
-
chart:
|
|
140
|
-
title: e.value.style.title.text ?
|
|
141
|
-
slicer:
|
|
142
|
-
legend:
|
|
143
|
-
source:
|
|
144
|
-
noTitle:
|
|
138
|
+
const { width: l, height: o } = tl({
|
|
139
|
+
chart: z.value,
|
|
140
|
+
title: e.value.style.title.text ? _e.value : null,
|
|
141
|
+
slicer: ze.value,
|
|
142
|
+
legend: $e.value,
|
|
143
|
+
source: Se.value,
|
|
144
|
+
noTitle: Le.value
|
|
145
145
|
});
|
|
146
146
|
requestAnimationFrame(() => {
|
|
147
|
-
|
|
147
|
+
c.value.width = l, c.value.height = o - 12, e.value.responsiveProportionalSizing ? (c.value.xAxisFontSize = et({
|
|
148
148
|
relator: Math.min(l, o),
|
|
149
149
|
adjuster: e.value.style.width,
|
|
150
150
|
source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
151
151
|
threshold: 6,
|
|
152
152
|
fallback: 6
|
|
153
|
-
}),
|
|
153
|
+
}), c.value.yAxisFontSize = et({
|
|
154
154
|
relator: Math.min(l, o),
|
|
155
155
|
adjuster: e.value.style.width,
|
|
156
156
|
source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
157
157
|
threshold: 6,
|
|
158
158
|
fallback: 6
|
|
159
|
-
})) : (
|
|
159
|
+
})) : (c.value.xAxisFontSize = e.value.style.layout.grid.xAxis.dataLabels.fontSize, c.value.yAxisFontSize = e.value.style.layout.grid.yAxis.dataLabels.fontSize), se.value && clearTimeout(se.value), se.value = setTimeout(() => {
|
|
160
160
|
$.value = !0;
|
|
161
161
|
}, 10);
|
|
162
162
|
});
|
|
163
163
|
});
|
|
164
|
-
I.value && (
|
|
164
|
+
I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect()), I.value = new ResizeObserver(a), W.value = z.value.parentNode, I.value.observe(W.value);
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
ge();
|
|
167
167
|
}
|
|
168
|
-
|
|
169
|
-
I.value && (
|
|
168
|
+
Je(() => {
|
|
169
|
+
I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect());
|
|
170
170
|
});
|
|
171
|
-
const { isPrinting:
|
|
172
|
-
elementId: `vue-ui-candlestick_${
|
|
171
|
+
const { isPrinting: Ne, isImaging: Be, generatePdf: Ee, generateImage: Ve } = ll({
|
|
172
|
+
elementId: `vue-ui-candlestick_${A.value}`,
|
|
173
173
|
fileName: e.value.style.title.text || "vue-ui-candlestick",
|
|
174
174
|
options: e.value.userOptions.print
|
|
175
|
-
}),
|
|
175
|
+
}), ft = g(() => e.value.userOptions.show && !e.value.style.title.text), k = r({
|
|
176
176
|
showTable: e.value.table.show,
|
|
177
177
|
showTooltip: e.value.style.tooltip.show
|
|
178
|
-
}),
|
|
179
|
-
|
|
178
|
+
}), ye = r(0), gt = tt((t) => {
|
|
179
|
+
ye.value = t;
|
|
180
180
|
}, 100);
|
|
181
|
-
|
|
181
|
+
Mt((t) => {
|
|
182
182
|
const a = H.value;
|
|
183
183
|
if (!a) return;
|
|
184
184
|
const l = new ResizeObserver((o) => {
|
|
185
|
-
|
|
185
|
+
gt(o[0].contentRect.height);
|
|
186
186
|
});
|
|
187
187
|
l.observe(a), t(() => l.disconnect());
|
|
188
|
-
}),
|
|
189
|
-
|
|
188
|
+
}), Je(() => {
|
|
189
|
+
ye.value = 0;
|
|
190
190
|
});
|
|
191
|
-
const
|
|
191
|
+
const De = g(() => {
|
|
192
192
|
let t = 0;
|
|
193
|
-
return H.value && (t =
|
|
193
|
+
return H.value && (t = ye.value + c.value.xAxisFontSize), t;
|
|
194
194
|
});
|
|
195
|
-
function
|
|
195
|
+
function pt() {
|
|
196
196
|
let t = e.value.style.layout.grid.yAxis.dataLabels.offsetX;
|
|
197
|
-
return
|
|
198
|
-
const f =
|
|
197
|
+
return re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((o, x) => {
|
|
198
|
+
const f = x.getComputedTextLength();
|
|
199
199
|
return f > o ? f : o;
|
|
200
200
|
}, 0)), t + 13;
|
|
201
201
|
}
|
|
202
202
|
const n = g(() => {
|
|
203
|
-
const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding,
|
|
203
|
+
const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding, x = pt(), f = 12;
|
|
204
204
|
return {
|
|
205
205
|
top: t + f,
|
|
206
|
-
right:
|
|
207
|
-
left: o +
|
|
208
|
-
bottom:
|
|
209
|
-
width:
|
|
210
|
-
height:
|
|
206
|
+
right: c.value.width - a,
|
|
207
|
+
left: o + x,
|
|
208
|
+
bottom: c.value.height - l - De.value,
|
|
209
|
+
width: c.value.width - o - a - x,
|
|
210
|
+
height: c.value.height - t - l - De.value - f
|
|
211
211
|
};
|
|
212
|
-
}),
|
|
212
|
+
}), X = g(() => C.value.length), v = r({
|
|
213
213
|
start: 0,
|
|
214
|
-
end:
|
|
215
|
-
}),
|
|
214
|
+
end: X.value
|
|
215
|
+
}), Me = g(() => C.value.map((t, a) => ({
|
|
216
216
|
...t,
|
|
217
217
|
absoluteIndex: a
|
|
218
|
-
})).slice(v.value.start, v.value.end)),
|
|
219
|
-
[null, void 0].includes(t[0]) &&
|
|
218
|
+
})).slice(v.value.start, v.value.end)), he = g(() => (C.value.forEach((t, a) => {
|
|
219
|
+
[null, void 0].includes(t[0]) && U({
|
|
220
220
|
componentName: "VueUiCandlestick",
|
|
221
221
|
type: "datasetAttribute",
|
|
222
222
|
property: "period (index 0)",
|
|
223
223
|
index: a,
|
|
224
|
-
debug:
|
|
225
|
-
}), [null, void 0].includes(t[1]) &&
|
|
224
|
+
debug: R.value
|
|
225
|
+
}), [null, void 0].includes(t[1]) && U({
|
|
226
226
|
componentName: "VueUiCandlestick",
|
|
227
227
|
type: "datasetAttribute",
|
|
228
228
|
property: "open (index 1)",
|
|
229
229
|
index: a,
|
|
230
|
-
debug:
|
|
231
|
-
}), [null, void 0].includes(t[2]) &&
|
|
230
|
+
debug: R.value
|
|
231
|
+
}), [null, void 0].includes(t[2]) && U({
|
|
232
232
|
componentName: "VueUiCandlestick",
|
|
233
233
|
type: "datasetAttribute",
|
|
234
234
|
property: "high (index 2)",
|
|
235
235
|
index: a,
|
|
236
|
-
debug:
|
|
237
|
-
}), [null, void 0].includes(t[3]) &&
|
|
236
|
+
debug: R.value
|
|
237
|
+
}), [null, void 0].includes(t[3]) && U({
|
|
238
238
|
componentName: "VueUiCandlestick",
|
|
239
239
|
type: "datasetAttribute",
|
|
240
240
|
property: "low (index 3)",
|
|
241
241
|
index: a,
|
|
242
|
-
debug:
|
|
243
|
-
}), [null, void 0].includes(t[4]) &&
|
|
242
|
+
debug: R.value
|
|
243
|
+
}), [null, void 0].includes(t[4]) && U({
|
|
244
244
|
componentName: "VueUiCandlestick",
|
|
245
245
|
type: "datasetAttribute",
|
|
246
246
|
property: "last (index 4)",
|
|
247
247
|
index: a,
|
|
248
|
-
debug:
|
|
249
|
-
}), [null, void 0].includes(t[5]) &&
|
|
248
|
+
debug: R.value
|
|
249
|
+
}), [null, void 0].includes(t[5]) && U({
|
|
250
250
|
componentName: "VueUiCandlestick",
|
|
251
251
|
type: "datasetAttribute",
|
|
252
252
|
property: "volume (index 5)",
|
|
253
253
|
index: a,
|
|
254
|
-
debug:
|
|
254
|
+
debug: R.value
|
|
255
255
|
});
|
|
256
|
-
}),
|
|
256
|
+
}), Me.value.map((t) => ({
|
|
257
257
|
absoluteIndex: t.absoluteIndex,
|
|
258
258
|
period: t[0],
|
|
259
259
|
open: t[1],
|
|
@@ -261,170 +261,170 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
261
261
|
low: t[3],
|
|
262
262
|
last: t[4],
|
|
263
263
|
volume: t[5]
|
|
264
|
-
})))), d = g(() => n.value.width /
|
|
265
|
-
const t = e.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...
|
|
264
|
+
})))), d = g(() => n.value.width / Me.value.length), Ue = g(() => {
|
|
265
|
+
const t = e.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...he.value.map((l) => l.high)) : e.value.style.layout.grid.yAxis.scale.max, a = e.value.style.layout.grid.yAxis.scale.min === null ? 0 : e.value.style.layout.grid.yAxis.scale.min;
|
|
266
266
|
return {
|
|
267
267
|
max: t,
|
|
268
268
|
min: a
|
|
269
269
|
};
|
|
270
|
-
}),
|
|
271
|
-
function
|
|
270
|
+
}), _ = g(() => Yt(Ue.value.min, Ue.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
271
|
+
function K(t, a) {
|
|
272
272
|
return {
|
|
273
273
|
...t,
|
|
274
|
-
x:
|
|
275
|
-
y:
|
|
276
|
-
value:
|
|
274
|
+
x: q(n.value.left + a * d.value + d.value / 2),
|
|
275
|
+
y: q(n.value.top + (1 - (t - _.value.min) / (_.value.max - _.value.min)) * n.value.height),
|
|
276
|
+
value: q(t)
|
|
277
277
|
};
|
|
278
278
|
}
|
|
279
|
-
const
|
|
280
|
-
const l =
|
|
279
|
+
const w = g(() => he.value.map((t, a) => {
|
|
280
|
+
const l = K(t.open, a), o = K(t.high, a), x = K(t.low, a), f = K(t.last, a), N = t.last > t.open;
|
|
281
281
|
return {
|
|
282
282
|
period: t.period,
|
|
283
283
|
open: l,
|
|
284
284
|
high: o,
|
|
285
|
-
low:
|
|
285
|
+
low: x,
|
|
286
286
|
last: f,
|
|
287
287
|
volume: t.volume,
|
|
288
|
-
isBullish:
|
|
288
|
+
isBullish: N,
|
|
289
289
|
absoluteIndex: t.absoluteIndex
|
|
290
290
|
};
|
|
291
291
|
}));
|
|
292
|
-
function
|
|
293
|
-
return
|
|
292
|
+
function bt(t) {
|
|
293
|
+
return q((t - _.value.min) / (_.value.max - _.value.min));
|
|
294
294
|
}
|
|
295
|
-
const
|
|
296
|
-
y: n.value.bottom - n.value.height *
|
|
297
|
-
value:
|
|
298
|
-
}))),
|
|
299
|
-
values:
|
|
300
|
-
maxDatapoints:
|
|
295
|
+
const mt = g(() => _.value.ticks.map((t) => ({
|
|
296
|
+
y: n.value.bottom - n.value.height * bt(t),
|
|
297
|
+
value: q(t)
|
|
298
|
+
}))), xt = g(() => he.value.map((t) => t.period)), O = g(() => sl({
|
|
299
|
+
values: C.value.map((t) => t[0]),
|
|
300
|
+
maxDatapoints: C.value.length,
|
|
301
301
|
formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
302
302
|
start: v.value.start,
|
|
303
303
|
end: v.value.end
|
|
304
|
-
})),
|
|
305
|
-
start:
|
|
306
|
-
end:
|
|
304
|
+
})), We = g(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
|
|
305
|
+
start: O.value.find((t) => t.absoluteIndex === v.value.start).text,
|
|
306
|
+
end: O.value.find((t) => t.absoluteIndex === v.value.end - 1).text
|
|
307
307
|
} : {
|
|
308
|
-
start:
|
|
309
|
-
end:
|
|
310
|
-
}),
|
|
311
|
-
function
|
|
308
|
+
start: C.value[v.value.start] ? C.value[v.value.start][0] : C.value[0][0],
|
|
309
|
+
end: C.value[v.value.end - 1] ? C.value[v.value.end - 1][0] : C.value.at(-1)[0]
|
|
310
|
+
}), fe = r(null);
|
|
311
|
+
function kt(t, a) {
|
|
312
312
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: t + v.value.start });
|
|
313
313
|
}
|
|
314
|
-
function
|
|
315
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + v.value.start }),
|
|
314
|
+
function wt(t, a) {
|
|
315
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + v.value.start }), ne.value = void 0, ue.value = !1;
|
|
316
316
|
}
|
|
317
|
-
function
|
|
318
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + v.value.start }),
|
|
317
|
+
function At(t, a) {
|
|
318
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + v.value.start }), ne.value = t, fe.value = {
|
|
319
319
|
datapoint: a,
|
|
320
320
|
seriesIndex: t,
|
|
321
|
-
series:
|
|
321
|
+
series: w.value,
|
|
322
322
|
config: e.value
|
|
323
323
|
};
|
|
324
324
|
const l = e.value.style.tooltip.customFormat;
|
|
325
|
-
if (
|
|
325
|
+
if (Zt(l) && el(() => l({
|
|
326
326
|
seriesIndex: t,
|
|
327
327
|
datapoint: a,
|
|
328
|
-
series:
|
|
328
|
+
series: w.value,
|
|
329
329
|
config: e.value
|
|
330
330
|
})))
|
|
331
|
-
|
|
331
|
+
ie.value = l({
|
|
332
332
|
seriesIndex: t,
|
|
333
333
|
datapoint: a,
|
|
334
|
-
series:
|
|
334
|
+
series: w.value,
|
|
335
335
|
config: e.value
|
|
336
336
|
});
|
|
337
337
|
else if (e.value.style.tooltip.show) {
|
|
338
338
|
let o = "";
|
|
339
|
-
const { period:
|
|
339
|
+
const { period: x, open: f, high: N, low: me, last: xe, volume: ee, isBullish: Ye } = w.value[t], { period: Gl, open: Lt, high: Tt, low: It, last: Ft, volume: Rt } = e.value.translations, Ot = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? O.value[t].text : x;
|
|
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 ?
|
|
342
|
-
const
|
|
341
|
+
fill="${e.value.style.layout.candle.gradient.show ? Ye ? `url(#bullish_gradient_${A.value})` : `url(#bearish_gradient_${A.value})` : Ye ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${Ot}</div>`, o += `${Rt} : <b>${isNaN(ee) ? "-" : Number(ee.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 Pt = T({
|
|
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>${
|
|
349
|
-
const
|
|
348
|
+
o += `<div>${Lt}: <b>${Pt}</b></div>`;
|
|
349
|
+
const Nt = T({
|
|
350
350
|
p: e.value.style.tooltip.prefix,
|
|
351
|
-
v:
|
|
351
|
+
v: N.value,
|
|
352
352
|
s: e.value.style.tooltip.suffix,
|
|
353
353
|
r: e.value.style.tooltip.roundingValue
|
|
354
354
|
});
|
|
355
|
-
o += `<div>${
|
|
356
|
-
const
|
|
355
|
+
o += `<div>${Tt}: <b>${Nt}</b></div>`;
|
|
356
|
+
const Bt = T({
|
|
357
357
|
p: e.value.style.tooltip.prefix,
|
|
358
|
-
v:
|
|
358
|
+
v: me.value,
|
|
359
359
|
s: e.value.style.tooltip.suffix,
|
|
360
360
|
r: e.value.style.tooltip.roundingValue
|
|
361
361
|
});
|
|
362
|
-
o += `<div>${
|
|
363
|
-
const
|
|
362
|
+
o += `<div>${It}: <b>${Bt}</b></div>`;
|
|
363
|
+
const Et = T({
|
|
364
364
|
p: e.value.style.tooltip.prefix,
|
|
365
|
-
v:
|
|
365
|
+
v: xe.value,
|
|
366
366
|
s: e.value.style.tooltip.suffix,
|
|
367
367
|
r: e.value.style.tooltip.roundingValue
|
|
368
368
|
});
|
|
369
|
-
o += `<div>${
|
|
369
|
+
o += `<div>${Ft}: <b>${Et}</b></div>`, o += "</div>", ie.value = `<div style="text-align:right">${o}</div>`;
|
|
370
370
|
}
|
|
371
|
-
|
|
371
|
+
ue.value = !0;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
374
|
-
|
|
373
|
+
function Ct() {
|
|
374
|
+
ge();
|
|
375
375
|
}
|
|
376
|
-
const
|
|
377
|
-
async function
|
|
378
|
-
await
|
|
379
|
-
const { startIndex: t, endIndex: a } = e.value.style.zoom, l =
|
|
380
|
-
v.value = { start: 0, end: o }, (t != null || a != null) && l ? (t != null ? l.setStartValue(t) : (v.value.start = 0, l.setStartValue(0)), a != null ? l.setEndValue(
|
|
376
|
+
const He = r(null);
|
|
377
|
+
async function ge() {
|
|
378
|
+
await ke(), await ke();
|
|
379
|
+
const { startIndex: t, endIndex: a } = e.value.style.zoom, l = He.value, o = X.value;
|
|
380
|
+
v.value = { start: 0, end: o }, (t != null || a != null) && l ? (t != null ? l.setStartValue(t) : (v.value.start = 0, l.setStartValue(0)), a != null ? l.setEndValue(_t(a + 1)) : (v.value.end = o, l.setEndValue(o))) : (v.value = { start: 0, end: o }, J.value += 1);
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
const a =
|
|
382
|
+
function _t(t) {
|
|
383
|
+
const a = X.value;
|
|
384
384
|
return t > a ? a : t < 0 || e.value.style.zoom.startIndex !== null && t < e.value.style.zoom.startIndex ? e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex + 1 : 1 : t;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
|
|
388
|
-
const a = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], l =
|
|
389
|
-
e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ?
|
|
386
|
+
function pe(t = null) {
|
|
387
|
+
ke(() => {
|
|
388
|
+
const a = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], l = w.value.map((f, N) => [
|
|
389
|
+
e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? O.value[N].text : f.period,
|
|
390
390
|
f.open.value,
|
|
391
391
|
f.high.value,
|
|
392
392
|
f.low.value,
|
|
393
393
|
f.last.value,
|
|
394
394
|
f.volume
|
|
395
|
-
]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l),
|
|
396
|
-
t ? t(
|
|
395
|
+
]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), x = Kt(o);
|
|
396
|
+
t ? t(x) : Qt({ csvContent: x, title: e.value.style.title.text || "vue-ui-candlestick" });
|
|
397
397
|
});
|
|
398
398
|
}
|
|
399
|
-
const
|
|
400
|
-
const t =
|
|
401
|
-
const f = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ?
|
|
399
|
+
const Q = g(() => {
|
|
400
|
+
const t = w.value.map((o, x) => {
|
|
401
|
+
const f = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? O.value[x].text : o.period, N = T({
|
|
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
|
-
}),
|
|
406
|
+
}), me = T({
|
|
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
|
-
}),
|
|
411
|
+
}), xe = T({
|
|
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
|
-
}),
|
|
416
|
+
}), ee = T({
|
|
417
417
|
p: e.value.table.td.prefix,
|
|
418
418
|
v: o.last.value,
|
|
419
419
|
s: e.value.table.td.suffix,
|
|
420
420
|
r: e.value.table.td.roundingValue
|
|
421
421
|
});
|
|
422
422
|
return [
|
|
423
|
-
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" rx="${e.value.style.layout.candle.borderRadius * 3}" fill="${e.value.style.layout.candle.gradient.show ? o.isBullish ? `url(#bullish_gradient_${
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
423
|
+
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" rx="${e.value.style.layout.candle.borderRadius * 3}" fill="${e.value.style.layout.candle.gradient.show ? o.isBullish ? `url(#bullish_gradient_${A.value}` : `url(#bearish_gradient_${A.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${f}`,
|
|
424
|
+
N,
|
|
425
|
+
me,
|
|
426
|
+
xe,
|
|
427
|
+
ee,
|
|
428
428
|
`${isNaN(o.volume) ? "-" : o.volume.toLocaleString()}`
|
|
429
429
|
];
|
|
430
430
|
}), a = {
|
|
@@ -448,25 +448,25 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
448
448
|
e.value.translations.volume
|
|
449
449
|
];
|
|
450
450
|
return { head: l, body: t, config: a, colNames: l };
|
|
451
|
-
}),
|
|
452
|
-
function
|
|
453
|
-
|
|
451
|
+
}), P = r(!1);
|
|
452
|
+
function Ge(t) {
|
|
453
|
+
P.value = t, Ce.value += 1;
|
|
454
454
|
}
|
|
455
|
-
function
|
|
456
|
-
|
|
455
|
+
function Xe() {
|
|
456
|
+
k.value.showTable = !k.value.showTable;
|
|
457
457
|
}
|
|
458
|
-
function
|
|
459
|
-
|
|
458
|
+
function je() {
|
|
459
|
+
k.value.showTooltip = !k.value.showTooltip;
|
|
460
460
|
}
|
|
461
|
-
const
|
|
462
|
-
function
|
|
463
|
-
|
|
461
|
+
const Z = r(!1);
|
|
462
|
+
function be() {
|
|
463
|
+
Z.value = !Z.value;
|
|
464
464
|
}
|
|
465
|
-
async function
|
|
466
|
-
if (!
|
|
467
|
-
const { width: a, height: l } =
|
|
465
|
+
async function $t({ scale: t = 2 } = {}) {
|
|
466
|
+
if (!z.value) return;
|
|
467
|
+
const { width: a, height: l } = z.value.getBoundingClientRect(), o = a / l, { imageUri: x, base64: f } = await rl({ domElement: z.value, base64: !0, img: !0, scale: t });
|
|
468
468
|
return {
|
|
469
|
-
imageUri:
|
|
469
|
+
imageUri: x,
|
|
470
470
|
base64: f,
|
|
471
471
|
title: e.value.style.title.text,
|
|
472
472
|
width: a,
|
|
@@ -474,64 +474,97 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
474
474
|
aspectRatio: o
|
|
475
475
|
};
|
|
476
476
|
}
|
|
477
|
-
const
|
|
478
|
-
|
|
477
|
+
const zt = g(() => c.value.width), St = g(() => c.value.height);
|
|
478
|
+
nl({
|
|
479
479
|
timeLabelsEls: H,
|
|
480
|
-
timeLabels:
|
|
480
|
+
timeLabels: O,
|
|
481
481
|
slicer: v,
|
|
482
482
|
configRef: e,
|
|
483
483
|
rotationPath: ["style", "layout", "grid", "xAxis", "dataLabels", "rotation"],
|
|
484
484
|
autoRotatePath: ["style", "layout", "grid", "xAxis", "dataLabels", "autoRotate", "enable"],
|
|
485
485
|
isAutoSize: !1,
|
|
486
486
|
rotation: e.value.style.layout.grid.xAxis.dataLabels.autoRotate.angle,
|
|
487
|
-
width:
|
|
488
|
-
height:
|
|
489
|
-
}),
|
|
490
|
-
|
|
487
|
+
width: zt,
|
|
488
|
+
height: St
|
|
489
|
+
}), te(e, () => {
|
|
490
|
+
k.value = {
|
|
491
491
|
showTable: e.value.table.show,
|
|
492
492
|
showTooltip: e.value.style.tooltip.show
|
|
493
493
|
};
|
|
494
|
-
}, { immediate: !0 })
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
494
|
+
}, { immediate: !0 });
|
|
495
|
+
const j = g(() => {
|
|
496
|
+
const t = e.value.table.useDialog && !e.value.table.show, a = k.value.showTable;
|
|
497
|
+
return {
|
|
498
|
+
component: t ? ct : it,
|
|
499
|
+
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
500
|
+
props: t ? {
|
|
501
|
+
backgroundColor: e.value.table.th.backgroundColor,
|
|
502
|
+
color: e.value.table.th.color,
|
|
503
|
+
headerColor: e.value.table.th.color,
|
|
504
|
+
headerBg: e.value.table.th.backgroundColor,
|
|
505
|
+
isFullscreen: P.value,
|
|
506
|
+
fullscreenParent: z.value,
|
|
507
|
+
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
508
|
+
} : {
|
|
509
|
+
hideDetails: !0,
|
|
510
|
+
config: {
|
|
511
|
+
open: a,
|
|
512
|
+
maxHeight: 1e4,
|
|
513
|
+
body: {
|
|
514
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
515
|
+
color: e.value.style.color
|
|
516
|
+
},
|
|
517
|
+
head: {
|
|
518
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
519
|
+
color: e.value.style.color
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
});
|
|
525
|
+
return te(() => k.value.showTable, (t) => {
|
|
526
|
+
e.value.table.show || (t && e.value.table.useDialog && G.value ? G.value.open() : "close" in G.value && G.value.close());
|
|
527
|
+
}), ot({
|
|
528
|
+
getImage: $t,
|
|
529
|
+
generatePdf: Ee,
|
|
530
|
+
generateCsv: pe,
|
|
531
|
+
generateImage: Ve,
|
|
532
|
+
toggleTable: Xe,
|
|
533
|
+
toggleTooltip: je,
|
|
534
|
+
toggleAnnotator: be,
|
|
535
|
+
toggleFullscreen: Ge
|
|
503
536
|
}), (t, a) => (s(), i("div", {
|
|
504
537
|
ref_key: "candlestickChart",
|
|
505
|
-
ref:
|
|
506
|
-
class:
|
|
507
|
-
style:
|
|
508
|
-
id: `vue-ui-candlestick_${
|
|
509
|
-
onMouseenter: a[
|
|
510
|
-
onMouseleave: a[
|
|
538
|
+
ref: z,
|
|
539
|
+
class: L(`vue-ui-candlestick ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
540
|
+
style: we(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
541
|
+
id: `vue-ui-candlestick_${A.value}`,
|
|
542
|
+
onMouseenter: a[5] || (a[5] = () => u(Fe)(!0)),
|
|
543
|
+
onMouseleave: a[6] || (a[6] = () => u(Fe)(!1))
|
|
511
544
|
}, [
|
|
512
|
-
e.value.userOptions.buttons.annotator ? (s(),
|
|
545
|
+
e.value.userOptions.buttons.annotator ? (s(), B(u(rt), {
|
|
513
546
|
key: 0,
|
|
514
|
-
svgRef: u(
|
|
547
|
+
svgRef: u(Oe),
|
|
515
548
|
backgroundColor: e.value.style.backgroundColor,
|
|
516
549
|
color: e.value.style.color,
|
|
517
|
-
active:
|
|
518
|
-
onClose:
|
|
550
|
+
active: Z.value,
|
|
551
|
+
onClose: be
|
|
519
552
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
|
|
520
|
-
|
|
553
|
+
ft.value ? (s(), i("div", {
|
|
521
554
|
key: 1,
|
|
522
555
|
ref_key: "noTitle",
|
|
523
|
-
ref:
|
|
556
|
+
ref: Le,
|
|
524
557
|
class: "vue-data-ui-no-title-space",
|
|
525
558
|
style: "height:36px; width: 100%;background:transparent"
|
|
526
559
|
}, null, 512)) : p("", !0),
|
|
527
560
|
e.value.style.title.text ? (s(), i("div", {
|
|
528
561
|
key: 2,
|
|
529
562
|
ref_key: "chartTitle",
|
|
530
|
-
ref:
|
|
563
|
+
ref: _e,
|
|
531
564
|
style: "width:100%;background:transparent"
|
|
532
565
|
}, [
|
|
533
|
-
(s(),
|
|
534
|
-
key: `title_${
|
|
566
|
+
(s(), B(vl, {
|
|
567
|
+
key: `title_${Ie.value}`,
|
|
535
568
|
config: {
|
|
536
569
|
title: {
|
|
537
570
|
cy: "candlestick-div-title",
|
|
@@ -544,108 +577,108 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
544
577
|
}
|
|
545
578
|
}, null, 8, ["config"]))
|
|
546
579
|
], 512)) : p("", !0),
|
|
547
|
-
e.value.userOptions.show &&
|
|
580
|
+
e.value.userOptions.show && oe.value && (u(Re) || u(de)) ? (s(), B(u(vt), {
|
|
548
581
|
ref_key: "details",
|
|
549
|
-
ref:
|
|
550
|
-
key: `user_options_${
|
|
582
|
+
ref: ht,
|
|
583
|
+
key: `user_options_${Ce.value}`,
|
|
551
584
|
backgroundColor: e.value.style.backgroundColor,
|
|
552
585
|
color: e.value.style.color,
|
|
553
|
-
isImaging: u(
|
|
554
|
-
isPrinting: u(
|
|
555
|
-
uid:
|
|
586
|
+
isImaging: u(Be),
|
|
587
|
+
isPrinting: u(Ne),
|
|
588
|
+
uid: A.value,
|
|
556
589
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
557
590
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
558
591
|
hasImg: e.value.userOptions.buttons.img,
|
|
559
592
|
hasXls: e.value.userOptions.buttons.csv,
|
|
560
593
|
hasTable: e.value.userOptions.buttons.table,
|
|
561
594
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
562
|
-
isFullscreen:
|
|
563
|
-
isTooltip:
|
|
595
|
+
isFullscreen: P.value,
|
|
596
|
+
isTooltip: k.value.showTooltip,
|
|
564
597
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
565
|
-
chartElement:
|
|
598
|
+
chartElement: z.value,
|
|
566
599
|
position: e.value.userOptions.position,
|
|
567
600
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
568
|
-
isAnnotation:
|
|
601
|
+
isAnnotation: Z.value,
|
|
569
602
|
callbacks: e.value.userOptions.callbacks,
|
|
570
603
|
printScale: e.value.userOptions.print.scale,
|
|
571
|
-
onToggleFullscreen:
|
|
572
|
-
onGeneratePdf: u(
|
|
573
|
-
onGenerateCsv:
|
|
574
|
-
onGenerateImage: u(
|
|
575
|
-
onToggleTable:
|
|
576
|
-
onToggleTooltip:
|
|
577
|
-
onToggleAnnotator:
|
|
578
|
-
style:
|
|
579
|
-
visibility: u(
|
|
604
|
+
onToggleFullscreen: Ge,
|
|
605
|
+
onGeneratePdf: u(Ee),
|
|
606
|
+
onGenerateCsv: pe,
|
|
607
|
+
onGenerateImage: u(Ve),
|
|
608
|
+
onToggleTable: Xe,
|
|
609
|
+
onToggleTooltip: je,
|
|
610
|
+
onToggleAnnotator: be,
|
|
611
|
+
style: we({
|
|
612
|
+
visibility: u(Re) ? u(de) ? "visible" : "hidden" : "visible"
|
|
580
613
|
})
|
|
581
|
-
},
|
|
614
|
+
}, Ke({ _: 2 }, [
|
|
582
615
|
t.$slots.menuIcon ? {
|
|
583
616
|
name: "menuIcon",
|
|
584
|
-
fn:
|
|
585
|
-
|
|
617
|
+
fn: b(({ isOpen: l, color: o }) => [
|
|
618
|
+
m(t.$slots, "menuIcon", E(V({ isOpen: l, color: o })), void 0, !0)
|
|
586
619
|
]),
|
|
587
620
|
key: "0"
|
|
588
621
|
} : void 0,
|
|
589
622
|
t.$slots.optionTooltip ? {
|
|
590
623
|
name: "optionTooltip",
|
|
591
|
-
fn:
|
|
592
|
-
|
|
624
|
+
fn: b(() => [
|
|
625
|
+
m(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
593
626
|
]),
|
|
594
627
|
key: "1"
|
|
595
628
|
} : void 0,
|
|
596
629
|
t.$slots.optionPdf ? {
|
|
597
630
|
name: "optionPdf",
|
|
598
|
-
fn:
|
|
599
|
-
|
|
631
|
+
fn: b(() => [
|
|
632
|
+
m(t.$slots, "optionPdf", {}, void 0, !0)
|
|
600
633
|
]),
|
|
601
634
|
key: "2"
|
|
602
635
|
} : void 0,
|
|
603
636
|
t.$slots.optionCsv ? {
|
|
604
637
|
name: "optionCsv",
|
|
605
|
-
fn:
|
|
606
|
-
|
|
638
|
+
fn: b(() => [
|
|
639
|
+
m(t.$slots, "optionCsv", {}, void 0, !0)
|
|
607
640
|
]),
|
|
608
641
|
key: "3"
|
|
609
642
|
} : void 0,
|
|
610
643
|
t.$slots.optionImg ? {
|
|
611
644
|
name: "optionImg",
|
|
612
|
-
fn:
|
|
613
|
-
|
|
645
|
+
fn: b(() => [
|
|
646
|
+
m(t.$slots, "optionImg", {}, void 0, !0)
|
|
614
647
|
]),
|
|
615
648
|
key: "4"
|
|
616
649
|
} : void 0,
|
|
617
650
|
t.$slots.optionTable ? {
|
|
618
651
|
name: "optionTable",
|
|
619
|
-
fn:
|
|
620
|
-
|
|
652
|
+
fn: b(() => [
|
|
653
|
+
m(t.$slots, "optionTable", {}, void 0, !0)
|
|
621
654
|
]),
|
|
622
655
|
key: "5"
|
|
623
656
|
} : void 0,
|
|
624
657
|
t.$slots.optionFullscreen ? {
|
|
625
658
|
name: "optionFullscreen",
|
|
626
|
-
fn:
|
|
627
|
-
|
|
659
|
+
fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
660
|
+
m(t.$slots, "optionFullscreen", E(V({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
628
661
|
]),
|
|
629
662
|
key: "6"
|
|
630
663
|
} : void 0,
|
|
631
664
|
t.$slots.optionAnnotator ? {
|
|
632
665
|
name: "optionAnnotator",
|
|
633
|
-
fn:
|
|
634
|
-
|
|
666
|
+
fn: b(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
667
|
+
m(t.$slots, "optionAnnotator", E(V({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
635
668
|
]),
|
|
636
669
|
key: "7"
|
|
637
670
|
} : void 0
|
|
638
671
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
|
|
639
672
|
(s(), i("svg", {
|
|
640
673
|
ref_key: "svgRef",
|
|
641
|
-
ref:
|
|
642
|
-
xmlns: u(
|
|
674
|
+
ref: Oe,
|
|
675
|
+
xmlns: u(qt),
|
|
643
676
|
"aria-label": e.value.style.title.text || "candlestick chart",
|
|
644
|
-
class:
|
|
645
|
-
viewBox: `0 0 ${
|
|
646
|
-
style:
|
|
677
|
+
class: L({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
678
|
+
viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
|
|
679
|
+
style: we(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
647
680
|
}, [
|
|
648
|
-
|
|
681
|
+
Ae(u(dt)),
|
|
649
682
|
t.$slots["chart-background"] ? (s(), i("foreignObject", {
|
|
650
683
|
key: 0,
|
|
651
684
|
x: n.value.left,
|
|
@@ -656,49 +689,49 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
656
689
|
pointerEvents: "none"
|
|
657
690
|
}
|
|
658
691
|
}, [
|
|
659
|
-
|
|
660
|
-
], 8,
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
id: `bearish_gradient_${
|
|
692
|
+
m(t.$slots, "chart-background", {}, void 0, !0)
|
|
693
|
+
], 8, fl)) : p("", !0),
|
|
694
|
+
w.value.length > 0 ? (s(), i("g", gl, [
|
|
695
|
+
y("defs", null, [
|
|
696
|
+
y("linearGradient", {
|
|
697
|
+
id: `bearish_gradient_${A.value}`,
|
|
665
698
|
x2: "0%",
|
|
666
699
|
y2: "100%"
|
|
667
700
|
}, [
|
|
668
|
-
|
|
701
|
+
y("stop", {
|
|
669
702
|
offset: "0%",
|
|
670
703
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
671
|
-
}, null, 8,
|
|
672
|
-
|
|
704
|
+
}, null, 8, bl),
|
|
705
|
+
y("stop", {
|
|
673
706
|
offset: "50%",
|
|
674
|
-
"stop-color": `${u(
|
|
675
|
-
}, null, 8,
|
|
676
|
-
|
|
707
|
+
"stop-color": `${u(ae)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
708
|
+
}, null, 8, ml),
|
|
709
|
+
y("stop", {
|
|
677
710
|
offset: "100%",
|
|
678
|
-
"stop-color": `${u(
|
|
679
|
-
}, null, 8,
|
|
680
|
-
], 8,
|
|
681
|
-
|
|
682
|
-
id: `bullish_gradient_${
|
|
711
|
+
"stop-color": `${u(ae)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
712
|
+
}, null, 8, xl)
|
|
713
|
+
], 8, pl),
|
|
714
|
+
y("linearGradient", {
|
|
715
|
+
id: `bullish_gradient_${A.value}`,
|
|
683
716
|
x2: "0%",
|
|
684
717
|
y2: "100%"
|
|
685
718
|
}, [
|
|
686
|
-
|
|
719
|
+
y("stop", {
|
|
687
720
|
offset: "0%",
|
|
688
721
|
"stop-color": e.value.style.layout.candle.colors.bullish
|
|
689
|
-
}, null, 8,
|
|
690
|
-
|
|
722
|
+
}, null, 8, wl),
|
|
723
|
+
y("stop", {
|
|
691
724
|
offset: "50%",
|
|
692
|
-
"stop-color": `${u(
|
|
693
|
-
}, null, 8,
|
|
694
|
-
|
|
725
|
+
"stop-color": `${u(ae)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
726
|
+
}, null, 8, Al),
|
|
727
|
+
y("stop", {
|
|
695
728
|
offset: "100%",
|
|
696
|
-
"stop-color": `${u(
|
|
697
|
-
}, null, 8,
|
|
698
|
-
], 8,
|
|
729
|
+
"stop-color": `${u(ae)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
730
|
+
}, null, 8, Cl)
|
|
731
|
+
], 8, kl)
|
|
699
732
|
]),
|
|
700
|
-
e.value.style.layout.grid.show ? (s(), i("g",
|
|
701
|
-
|
|
733
|
+
e.value.style.layout.grid.show ? (s(), i("g", _l, [
|
|
734
|
+
y("line", {
|
|
702
735
|
x1: n.value.left,
|
|
703
736
|
x2: n.value.left,
|
|
704
737
|
y1: n.value.top,
|
|
@@ -706,8 +739,8 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
706
739
|
stroke: e.value.style.layout.grid.stroke,
|
|
707
740
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
708
741
|
"stroke-linecap": "round"
|
|
709
|
-
}, null, 8,
|
|
710
|
-
|
|
742
|
+
}, null, 8, $l),
|
|
743
|
+
y("line", {
|
|
711
744
|
x1: n.value.left,
|
|
712
745
|
x2: n.value.right,
|
|
713
746
|
y1: n.value.bottom,
|
|
@@ -715,15 +748,15 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
715
748
|
stroke: e.value.style.layout.grid.stroke,
|
|
716
749
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
717
750
|
"stroke-linecap": "round"
|
|
718
|
-
}, null, 8,
|
|
751
|
+
}, null, 8, zl)
|
|
719
752
|
])) : p("", !0),
|
|
720
753
|
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), i("g", {
|
|
721
754
|
key: 1,
|
|
722
755
|
ref_key: "scaleLabels",
|
|
723
|
-
ref:
|
|
756
|
+
ref: re
|
|
724
757
|
}, [
|
|
725
|
-
(s(!0), i(
|
|
726
|
-
l.value >=
|
|
758
|
+
(s(!0), i(D, null, M(mt.value, (l, o) => (s(), i("g", null, [
|
|
759
|
+
l.value >= _.value.min && l.value <= _.value.max ? (s(), i("line", {
|
|
727
760
|
key: 0,
|
|
728
761
|
x1: n.value.left,
|
|
729
762
|
x2: n.value.left - 5,
|
|
@@ -732,21 +765,21 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
732
765
|
stroke: e.value.style.layout.grid.stroke,
|
|
733
766
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
734
767
|
"stroke-linecap": "round"
|
|
735
|
-
}, null, 8,
|
|
736
|
-
l.value >=
|
|
768
|
+
}, null, 8, Sl)) : p("", !0),
|
|
769
|
+
l.value >= _.value.min && l.value <= _.value.max ? (s(), i("text", {
|
|
737
770
|
key: 1,
|
|
738
771
|
x: n.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
739
|
-
y: l.y +
|
|
740
|
-
"font-size":
|
|
772
|
+
y: l.y + c.value.yAxisFontSize / 3,
|
|
773
|
+
"font-size": c.value.yAxisFontSize,
|
|
741
774
|
"text-anchor": "end",
|
|
742
775
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
743
776
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
744
|
-
},
|
|
777
|
+
}, Y(u(T)({
|
|
745
778
|
p: e.value.style.layout.grid.yAxis.dataLabels.prefix,
|
|
746
779
|
v: l.value,
|
|
747
780
|
s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
|
|
748
781
|
r: e.value.style.layout.grid.yAxis.dataLabels.roundingValue
|
|
749
|
-
})), 9,
|
|
782
|
+
})), 9, Ll)) : p("", !0)
|
|
750
783
|
]))), 256))
|
|
751
784
|
], 512)) : p("", !0),
|
|
752
785
|
e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
|
|
@@ -754,15 +787,15 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
754
787
|
ref_key: "timeLabelsEls",
|
|
755
788
|
ref: H
|
|
756
789
|
}, [
|
|
757
|
-
(s(!0), i(
|
|
758
|
-
|
|
790
|
+
(s(!0), i(D, null, M(xt.value, (l, o) => (s(), i("g", null, [
|
|
791
|
+
y("text", {
|
|
759
792
|
class: "vue-data-ui-time-label",
|
|
760
|
-
transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom +
|
|
793
|
+
transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + c.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
761
794
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
762
|
-
"font-size":
|
|
795
|
+
"font-size": c.value.xAxisFontSize,
|
|
763
796
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
764
797
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
765
|
-
},
|
|
798
|
+
}, Y(l), 9, Tl)
|
|
766
799
|
]))), 256))
|
|
767
800
|
], 512)) : p("", !0),
|
|
768
801
|
e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
|
|
@@ -770,20 +803,20 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
770
803
|
ref_key: "timeLabelsEls",
|
|
771
804
|
ref: H
|
|
772
805
|
}, [
|
|
773
|
-
(s(!0), i(
|
|
774
|
-
|
|
806
|
+
(s(!0), i(D, null, M(O.value, (l, o) => (s(), i("g", null, [
|
|
807
|
+
y("text", {
|
|
775
808
|
class: "vue-data-ui-time-label",
|
|
776
|
-
transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom +
|
|
809
|
+
transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + c.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
777
810
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
778
|
-
"font-size":
|
|
811
|
+
"font-size": c.value.xAxisFontSize,
|
|
779
812
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
780
813
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
781
|
-
},
|
|
814
|
+
}, Y(l.text), 9, Il)
|
|
782
815
|
]))), 256))
|
|
783
816
|
], 512)) : p("", !0),
|
|
784
|
-
|
|
785
|
-
(s(!0), i(
|
|
786
|
-
|
|
817
|
+
y("g", null, [
|
|
818
|
+
(s(!0), i(D, null, M(w.value, (l, o) => (s(), i("g", null, [
|
|
819
|
+
y("rect", {
|
|
787
820
|
x: l.open.x - e.value.style.layout.wick.strokeWidth / 2,
|
|
788
821
|
y: l.high.y,
|
|
789
822
|
width: e.value.style.layout.wick.strokeWidth,
|
|
@@ -791,26 +824,26 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
791
824
|
fill: e.value.style.layout.wick.stroke,
|
|
792
825
|
stroke: "none",
|
|
793
826
|
rx: e.value.style.layout.wick.strokeWidth / 2,
|
|
794
|
-
class:
|
|
795
|
-
}, null, 10,
|
|
796
|
-
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), i("g",
|
|
797
|
-
|
|
827
|
+
class: L({ "vue-data-ui-transition": $.value && !u(S) })
|
|
828
|
+
}, null, 10, Fl),
|
|
829
|
+
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), i("g", Rl, [
|
|
830
|
+
y("circle", {
|
|
798
831
|
cx: l.high.x,
|
|
799
832
|
cy: l.high.y,
|
|
800
833
|
r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
801
834
|
fill: e.value.style.layout.wick.extremity.color,
|
|
802
|
-
class:
|
|
803
|
-
}, null, 10,
|
|
804
|
-
|
|
835
|
+
class: L({ "vue-data-ui-transition": $.value && !u(S) })
|
|
836
|
+
}, null, 10, Ol),
|
|
837
|
+
y("circle", {
|
|
805
838
|
cx: l.low.x,
|
|
806
839
|
cy: l.low.y,
|
|
807
840
|
r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
808
841
|
fill: e.value.style.layout.wick.extremity.color,
|
|
809
|
-
class:
|
|
810
|
-
}, null, 10,
|
|
842
|
+
class: L({ "vue-data-ui-transition": $.value && !u(S) })
|
|
843
|
+
}, null, 10, Pl)
|
|
811
844
|
])) : p("", !0),
|
|
812
|
-
e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g",
|
|
813
|
-
|
|
845
|
+
e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", Nl, [
|
|
846
|
+
y("rect", {
|
|
814
847
|
x: 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,
|
|
815
848
|
y: l.high.y - e.value.style.layout.wick.strokeWidth / 2,
|
|
816
849
|
width: Math.abs(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 - (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)),
|
|
@@ -818,9 +851,9 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
818
851
|
rx: e.value.style.layout.wick.strokeWidth / 2,
|
|
819
852
|
fill: e.value.style.layout.wick.extremity.color,
|
|
820
853
|
stroke: "none",
|
|
821
|
-
class:
|
|
822
|
-
}, null, 10,
|
|
823
|
-
|
|
854
|
+
class: L({ "vue-data-ui-transition": $.value && !u(S) })
|
|
855
|
+
}, null, 10, Bl),
|
|
856
|
+
y("rect", {
|
|
824
857
|
x: l.low.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,
|
|
825
858
|
y: l.low.y - e.value.style.layout.wick.strokeWidth / 2,
|
|
826
859
|
width: Math.abs(l.low.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 - (l.low.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)),
|
|
@@ -828,13 +861,13 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
828
861
|
fill: e.value.style.layout.wick.extremity.color,
|
|
829
862
|
stroke: "none",
|
|
830
863
|
rx: e.value.style.layout.wick.strokeWidth / 2,
|
|
831
|
-
class:
|
|
832
|
-
}, null, 10,
|
|
864
|
+
class: L({ "vue-data-ui-transition": $.value && !u(S) })
|
|
865
|
+
}, null, 10, El)
|
|
833
866
|
])) : p("", !0)
|
|
834
867
|
]))), 256))
|
|
835
868
|
]),
|
|
836
|
-
|
|
837
|
-
(s(!0), i(
|
|
869
|
+
y("g", null, [
|
|
870
|
+
(s(!0), i(D, null, M(w.value, (l, o) => (s(), i("rect", {
|
|
838
871
|
x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
839
872
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
840
873
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
@@ -842,59 +875,59 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
842
875
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
843
876
|
rx: e.value.style.layout.candle.borderRadius,
|
|
844
877
|
stroke: "none",
|
|
845
|
-
class:
|
|
846
|
-
}, null, 10,
|
|
847
|
-
(s(!0), i(
|
|
878
|
+
class: L({ "vue-data-ui-transition": $.value && !u(S) })
|
|
879
|
+
}, null, 10, Vl))), 256)),
|
|
880
|
+
(s(!0), i(D, null, M(w.value, (l, o) => (s(), i("rect", {
|
|
848
881
|
x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
849
882
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
850
883
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
851
884
|
width: d.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : d.value * e.value.style.layout.candle.widthRatio,
|
|
852
|
-
fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${
|
|
885
|
+
fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${A.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${A.value})` : e.value.style.layout.candle.colors.bearish,
|
|
853
886
|
rx: e.value.style.layout.candle.borderRadius,
|
|
854
887
|
stroke: e.value.style.layout.candle.stroke,
|
|
855
888
|
"stroke-width": e.value.style.layout.candle.strokeWidth,
|
|
856
889
|
"stroke-linecap": "round",
|
|
857
890
|
"stroke-linejoin": "round",
|
|
858
|
-
class:
|
|
859
|
-
}, null, 10,
|
|
891
|
+
class: L({ "vue-data-ui-transition": $.value && !u(S) })
|
|
892
|
+
}, null, 10, Dl))), 256))
|
|
860
893
|
]),
|
|
861
|
-
|
|
862
|
-
(s(!0), i(
|
|
894
|
+
y("g", null, [
|
|
895
|
+
(s(!0), i(D, null, M(w.value, (l, o) => (s(), i("rect", {
|
|
863
896
|
x: n.value.left + o * d.value,
|
|
864
897
|
y: n.value.top,
|
|
865
898
|
height: n.value.height <= 0 ? 1e-4 : n.value.height,
|
|
866
899
|
width: d.value <= 0 ? 1e-4 : d.value,
|
|
867
|
-
fill:
|
|
868
|
-
onMouseover: () =>
|
|
869
|
-
onMouseleave: () =>
|
|
870
|
-
onClick: () =>
|
|
871
|
-
}, null, 40,
|
|
900
|
+
fill: ne.value === o ? u(Jt)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
|
|
901
|
+
onMouseover: () => At(o, l),
|
|
902
|
+
onMouseleave: () => wt(o, l),
|
|
903
|
+
onClick: () => kt(o, l)
|
|
904
|
+
}, null, 40, Ml))), 256))
|
|
872
905
|
])
|
|
873
906
|
])) : p("", !0),
|
|
874
|
-
|
|
875
|
-
], 14,
|
|
876
|
-
t.$slots.watermark ? (s(), i("div",
|
|
877
|
-
|
|
907
|
+
m(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
908
|
+
], 14, hl)),
|
|
909
|
+
t.$slots.watermark ? (s(), i("div", Ul, [
|
|
910
|
+
m(t.$slots, "watermark", E(V({ isPrinting: u(Ne) || u(Be) })), void 0, !0)
|
|
878
911
|
])) : p("", !0),
|
|
879
|
-
e.value.style.zoom.show &&
|
|
912
|
+
e.value.style.zoom.show && oe.value ? (s(), i("div", {
|
|
880
913
|
key: 5,
|
|
881
914
|
ref_key: "chartSlicer",
|
|
882
|
-
ref:
|
|
915
|
+
ref: ze
|
|
883
916
|
}, [
|
|
884
|
-
(s(),
|
|
917
|
+
(s(), B(dl, {
|
|
885
918
|
ref_key: "slicerComponent",
|
|
886
|
-
ref:
|
|
887
|
-
key: `slicer_${
|
|
919
|
+
ref: He,
|
|
920
|
+
key: `slicer_${J.value}`,
|
|
888
921
|
background: e.value.style.zoom.color,
|
|
889
922
|
borderColor: e.value.style.backgroundColor,
|
|
890
923
|
fontSize: e.value.style.zoom.fontSize,
|
|
891
924
|
useResetSlot: e.value.style.zoom.useResetSlot,
|
|
892
|
-
labelLeft:
|
|
893
|
-
labelRight:
|
|
925
|
+
labelLeft: We.value.start,
|
|
926
|
+
labelRight: We.value.end,
|
|
894
927
|
textColor: e.value.style.color,
|
|
895
928
|
inputColor: e.value.style.zoom.color,
|
|
896
929
|
selectColor: e.value.style.zoom.highlightColor,
|
|
897
|
-
max:
|
|
930
|
+
max: X.value,
|
|
898
931
|
min: 0,
|
|
899
932
|
valueStart: v.value.start,
|
|
900
933
|
valueEnd: v.value.end,
|
|
@@ -903,33 +936,33 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
903
936
|
end: v.value.end,
|
|
904
937
|
"onUpdate:end": a[1] || (a[1] = (l) => v.value.end = l),
|
|
905
938
|
refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
|
|
906
|
-
refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 :
|
|
939
|
+
refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : X.value,
|
|
907
940
|
enableRangeHandles: e.value.style.zoom.enableRangeHandles,
|
|
908
941
|
enableSelectionDrag: e.value.style.zoom.enableSelectionDrag,
|
|
909
|
-
onReset:
|
|
942
|
+
onReset: Ct
|
|
910
943
|
}, {
|
|
911
|
-
"reset-action":
|
|
912
|
-
|
|
944
|
+
"reset-action": b(({ reset: l }) => [
|
|
945
|
+
m(t.$slots, "reset-action", E(V({ reset: l })), void 0, !0)
|
|
913
946
|
]),
|
|
914
947
|
_: 3
|
|
915
948
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
|
|
916
949
|
], 512)) : p("", !0),
|
|
917
|
-
|
|
950
|
+
y("div", {
|
|
918
951
|
ref_key: "chartLegend",
|
|
919
|
-
ref:
|
|
952
|
+
ref: $e
|
|
920
953
|
}, [
|
|
921
|
-
|
|
954
|
+
m(t.$slots, "legend", { legend: w.value }, void 0, !0)
|
|
922
955
|
], 512),
|
|
923
956
|
t.$slots.source ? (s(), i("div", {
|
|
924
957
|
key: 6,
|
|
925
958
|
ref_key: "source",
|
|
926
|
-
ref:
|
|
959
|
+
ref: Se,
|
|
927
960
|
dir: "auto"
|
|
928
961
|
}, [
|
|
929
|
-
|
|
962
|
+
m(t.$slots, "source", {}, void 0, !0)
|
|
930
963
|
], 512)) : p("", !0),
|
|
931
|
-
|
|
932
|
-
show:
|
|
964
|
+
Ae(u(ut), {
|
|
965
|
+
show: k.value.showTooltip && ue.value,
|
|
933
966
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
934
967
|
color: e.value.style.tooltip.color,
|
|
935
968
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -939,62 +972,76 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
|
|
|
939
972
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
940
973
|
position: e.value.style.tooltip.position,
|
|
941
974
|
offsetY: e.value.style.tooltip.offsetY,
|
|
942
|
-
parent:
|
|
943
|
-
content:
|
|
944
|
-
isFullscreen:
|
|
975
|
+
parent: z.value,
|
|
976
|
+
content: ie.value,
|
|
977
|
+
isFullscreen: P.value,
|
|
945
978
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
|
|
946
979
|
smooth: e.value.style.tooltip.smooth,
|
|
947
980
|
backdropFilter: e.value.style.tooltip.backdropFilter
|
|
948
981
|
}, {
|
|
949
|
-
"tooltip-before":
|
|
950
|
-
|
|
982
|
+
"tooltip-before": b(() => [
|
|
983
|
+
m(t.$slots, "tooltip-before", E(V({ ...fe.value })), void 0, !0)
|
|
951
984
|
]),
|
|
952
|
-
"tooltip-after":
|
|
953
|
-
|
|
985
|
+
"tooltip-after": b(() => [
|
|
986
|
+
m(t.$slots, "tooltip-after", E(V({ ...fe.value })), void 0, !0)
|
|
954
987
|
]),
|
|
955
988
|
_: 3
|
|
956
989
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
}, {
|
|
973
|
-
content: x(() => [
|
|
974
|
-
(s(), N(u(lt), {
|
|
975
|
-
key: `table_${$e.value}`,
|
|
976
|
-
colNames: q.value.colNames,
|
|
977
|
-
head: q.value.head,
|
|
978
|
-
body: q.value.body,
|
|
979
|
-
config: q.value.config,
|
|
980
|
-
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
981
|
-
onClose: a[2] || (a[2] = (l) => _.value.showTable = !1)
|
|
990
|
+
oe.value ? (s(), B(Ut(j.value.component), Wt({ key: 7 }, j.value.props, {
|
|
991
|
+
ref_key: "tableUnit",
|
|
992
|
+
ref: G,
|
|
993
|
+
onClose: a[4] || (a[4] = (l) => k.value.showTable = !1)
|
|
994
|
+
}), Ke({
|
|
995
|
+
content: b(() => [
|
|
996
|
+
(s(), B(u(nt), {
|
|
997
|
+
key: `table_${Te.value}`,
|
|
998
|
+
colNames: Q.value.colNames,
|
|
999
|
+
head: Q.value.head,
|
|
1000
|
+
body: Q.value.body,
|
|
1001
|
+
config: Q.value.config,
|
|
1002
|
+
title: e.value.table.useDialog ? "" : j.value.title,
|
|
1003
|
+
withCloseButton: !e.value.table.useDialog,
|
|
1004
|
+
onClose: a[3] || (a[3] = (l) => k.value.showTable = !1)
|
|
982
1005
|
}, {
|
|
983
|
-
th:
|
|
984
|
-
|
|
1006
|
+
th: b(({ th: l }) => [
|
|
1007
|
+
Qe(Y(l), 1)
|
|
985
1008
|
]),
|
|
986
|
-
td:
|
|
987
|
-
|
|
1009
|
+
td: b(({ td: l }) => [
|
|
1010
|
+
y("div", { innerHTML: l }, null, 8, Wl)
|
|
988
1011
|
]),
|
|
989
1012
|
_: 1
|
|
990
|
-
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1013
|
+
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
991
1014
|
]),
|
|
992
|
-
_:
|
|
993
|
-
},
|
|
994
|
-
|
|
995
|
-
|
|
1015
|
+
_: 2
|
|
1016
|
+
}, [
|
|
1017
|
+
e.value.table.useDialog ? {
|
|
1018
|
+
name: "title",
|
|
1019
|
+
fn: b(() => [
|
|
1020
|
+
Qe(Y(j.value.title), 1)
|
|
1021
|
+
]),
|
|
1022
|
+
key: "0"
|
|
1023
|
+
} : void 0,
|
|
1024
|
+
e.value.table.useDialog ? {
|
|
1025
|
+
name: "actions",
|
|
1026
|
+
fn: b(() => [
|
|
1027
|
+
y("button", {
|
|
1028
|
+
tabindex: "0",
|
|
1029
|
+
class: "vue-ui-user-options-button",
|
|
1030
|
+
onClick: a[2] || (a[2] = (l) => pe(e.value.userOptions.callbacks.csv))
|
|
1031
|
+
}, [
|
|
1032
|
+
Ae(u(st), {
|
|
1033
|
+
name: "excel",
|
|
1034
|
+
stroke: j.value.props.color
|
|
1035
|
+
}, null, 8, ["stroke"])
|
|
1036
|
+
])
|
|
1037
|
+
]),
|
|
1038
|
+
key: "1"
|
|
1039
|
+
} : void 0
|
|
1040
|
+
]), 1040)) : p("", !0),
|
|
1041
|
+
u(S) ? (s(), B(ol, { key: 8 })) : p("", !0)
|
|
1042
|
+
], 46, yl));
|
|
996
1043
|
}
|
|
997
|
-
},
|
|
1044
|
+
}, ua = /* @__PURE__ */ cl(Hl, [["__scopeId", "data-v-edf6444a"]]);
|
|
998
1045
|
export {
|
|
999
|
-
|
|
1046
|
+
ua as default
|
|
1000
1047
|
};
|