vue-data-ui 2.3.89 → 2.3.91
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-6DWnAEHt.js → Arrow-CHTslrAF.js} +1 -1
- package/dist/{Arrow-CW5gDSmt.cjs → Arrow-DpuaFuue.cjs} +1 -1
- package/dist/{BaseIcon-Dj8EbAXm.js → BaseIcon-DfaCNBgc.js} +1 -1
- package/dist/{BaseIcon-B_MrASni.cjs → BaseIcon-JWGtHqTA.cjs} +1 -1
- package/dist/{DataTable-BmYcdJ1w.js → DataTable-BKc3r3k3.js} +2 -2
- package/dist/{DataTable-DAwK5x3h.cjs → DataTable-CnkdsvIo.cjs} +1 -1
- package/dist/{Legend-DhQ-a1RH.cjs → Legend-BQJV6Xk4.cjs} +1 -1
- package/dist/{Legend-BRG8ddDy.js → Legend-WNL92WSx.js} +1 -1
- package/dist/PackageVersion-D9PU8glB.js +10 -0
- package/dist/PackageVersion-LdLhc8hQ.cjs +1 -0
- package/dist/{Shape-D7jva0XA.cjs → Shape-CgW0V2Og.cjs} +1 -1
- package/dist/{Shape-BcL3EDZ5.js → Shape-DPvoEBm9.js} +1 -1
- package/dist/{Slicer-DI1kgq9D.js → Slicer-DE9nFM_c.js} +2 -2
- package/dist/{Slicer-DV29nclP.cjs → Slicer-Dma3nlzi.cjs} +1 -1
- package/dist/{Title-DYwo_Q5b.cjs → Title-Bg_BK11V.cjs} +1 -1
- package/dist/{Title-fAvrqioZ.js → Title-CECK1w9L.js} +1 -1
- package/dist/{Tooltip-TZYYFvPe.js → Tooltip-Ci3AprCm.js} +1 -1
- package/dist/{Tooltip-03RvVGln.cjs → Tooltip-lM1Jzkza.cjs} +1 -1
- package/dist/{index-BKTciLz4.cjs → index-BhH89oF0.cjs} +1 -1
- package/dist/{index-Ca4RHJ4t.js → index-mBy4elhB.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-vP7uimPz.js → useNestedProp-BrIRtQj1.js} +1 -1
- package/dist/{useNestedProp-BFnXnY0k.cjs → useNestedProp-m8IH8hWW.cjs} +1 -1
- package/dist/{usePrinter-CxYg-Dw-.cjs → usePrinter-B8jr_V3b.cjs} +1 -1
- package/dist/{usePrinter-5fwXghqP.js → usePrinter-Ck-yukK2.js} +1 -1
- package/dist/{vue-data-ui-BaLkNH7M.cjs → vue-data-ui-BgaY7Noy.cjs} +1 -1
- package/dist/{vue-data-ui-4VG00HFR.js → vue-data-ui-BuL-2aYA.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-C9a-AsIX.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DPJWcxqV.js → vue-ui-3d-bar-Cv-56A3m.js} +148 -146
- package/dist/{vue-ui-accordion-SXHdW20_.cjs → vue-ui-accordion-Bzq1iTL2.cjs} +1 -1
- package/dist/{vue-ui-accordion-vYoYjedX.js → vue-ui-accordion-dyF20BlD.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BEC4SHLl.js → vue-ui-age-pyramid-BqsDR6uw.js} +83 -81
- package/dist/vue-ui-age-pyramid-DDPU8QV8.cjs +1 -0
- package/dist/{vue-ui-annotator-B1NZRuJJ.cjs → vue-ui-annotator-B9HxrEVE.cjs} +1 -1
- package/dist/{vue-ui-annotator-DFpv61wn.js → vue-ui-annotator-CkJsRR0r.js} +1 -1
- package/dist/{vue-ui-candlestick-AEKT8X3p.js → vue-ui-candlestick-B8eYA2g0.js} +113 -111
- package/dist/vue-ui-candlestick-DbbbJa-d.cjs +2 -0
- package/dist/{vue-ui-carousel-table-DhzVxOvp.js → vue-ui-carousel-table-BCiTg3Ok.js} +4 -4
- package/dist/{vue-ui-carousel-table-DCk2p-1k.cjs → vue-ui-carousel-table-CCWGcKb7.cjs} +1 -1
- package/dist/{vue-ui-chestnut-qqcIpMGB.js → vue-ui-chestnut-DI-N69Ad.js} +161 -159
- package/dist/vue-ui-chestnut-rsWP_sXY.cjs +6 -0
- package/dist/{vue-ui-cursor-CgSghVjL.js → vue-ui-cursor-BUzJk1oC.js} +2 -2
- package/dist/{vue-ui-cursor-CvJgJk1M.cjs → vue-ui-cursor-wY14Z-Vd.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CtJdVmtu.cjs → vue-ui-dashboard-Cf8TYbAr.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CYzkic0X.js → vue-ui-dashboard-CiG3kXLl.js} +2 -2
- package/dist/{vue-ui-digits-C0dMG-hR.cjs → vue-ui-digits-BBho1-xO.cjs} +1 -1
- package/dist/{vue-ui-digits-BO1hSjoq.js → vue-ui-digits-DZJI0YuX.js} +2 -2
- package/dist/{vue-ui-donut-DP-yxiw3.js → vue-ui-donut-CBG9ECp8.js} +118 -116
- package/dist/vue-ui-donut-D4WpeX9W.cjs +1 -0
- package/dist/vue-ui-donut-evolution-BVnSrr-b.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C-yDyglF.js → vue-ui-donut-evolution-BtTiBfLb.js} +102 -100
- package/dist/vue-ui-dumbbell-BQKiB9yH.cjs +9 -0
- package/dist/{vue-ui-dumbbell-D2SQ4cKV.js → vue-ui-dumbbell-DlEN2c_X.js} +88 -86
- package/dist/{vue-ui-flow-D_E9V2A1.js → vue-ui-flow-CXqGztWj.js} +65 -63
- package/dist/vue-ui-flow-DfMNmttZ.cjs +1 -0
- package/dist/vue-ui-galaxy-CGn5nkD5.cjs +1 -0
- package/dist/{vue-ui-galaxy-DqE2UiA3.js → vue-ui-galaxy-xI38Kf-S.js} +82 -80
- package/dist/{vue-ui-gauge-CFYXDw2p.js → vue-ui-gauge-BEludqYn.js} +56 -54
- package/dist/vue-ui-gauge-Bz-OSNOJ.cjs +1 -0
- package/dist/{vue-ui-gizmo-BWztIJ3j.js → vue-ui-gizmo-BB28OTr1.js} +32 -30
- package/dist/vue-ui-gizmo-CZZB7YgY.cjs +1 -0
- package/dist/vue-ui-heatmap-BtUvE7rK.cjs +1 -0
- package/dist/{vue-ui-heatmap-E1MlhSCs.js → vue-ui-heatmap-mywZXUV8.js} +99 -97
- package/dist/{vue-ui-kpi-BWDPF-9X.cjs → vue-ui-kpi-CEAGjnkj.cjs} +1 -1
- package/dist/{vue-ui-kpi-DeP0XmP7.js → vue-ui-kpi-zr721ux9.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bal12IrX.js → vue-ui-mini-loader-9zyuKIpT.js} +2 -2
- package/dist/{vue-ui-mini-loader-D5e8uW_d.cjs → vue-ui-mini-loader-DBFAzGb2.cjs} +1 -1
- package/dist/{vue-ui-molecule-DHrHeQgF.js → vue-ui-molecule-Bv_ppQig.js} +77 -75
- package/dist/vue-ui-molecule-DltNL0kV.cjs +1 -0
- package/dist/{vue-ui-mood-radar-dJaJotNf.js → vue-ui-mood-radar-CIK2Xohn.js} +76 -74
- package/dist/vue-ui-mood-radar-CQkF2Rp1.cjs +1 -0
- package/dist/{vue-ui-nested-donuts--K9ygdH3.js → vue-ui-nested-donuts-f-cMx3iQ.js} +112 -110
- package/dist/vue-ui-nested-donuts-vHr23QlH.cjs +17 -0
- package/dist/vue-ui-onion-B6ZrryDW.cjs +5 -0
- package/dist/{vue-ui-onion-Bm1inM56.js → vue-ui-onion-CmUXelhy.js} +82 -80
- package/dist/vue-ui-parallel-coordinate-plot-BU0yoxD9.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-9PSGD-LR.js → vue-ui-parallel-coordinate-plot-h9dS2u_k.js} +91 -89
- package/dist/{vue-ui-quadrant-iGQbx93I.js → vue-ui-quadrant-DNT_0fTL.js} +141 -139
- package/dist/vue-ui-quadrant-DPPXilUd.cjs +1 -0
- package/dist/vue-ui-quick-chart-1gG267X0.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DeEQcx6A.js → vue-ui-quick-chart-T6C0BTyw.js} +166 -164
- package/dist/{vue-ui-radar-DfnhsNQV.js → vue-ui-radar-CfCHXIYJ.js} +89 -87
- package/dist/vue-ui-radar-DpzjMFZD.cjs +1 -0
- package/dist/{vue-ui-rating-D0rgVdkT.cjs → vue-ui-rating-DYcT_LS-.cjs} +1 -1
- package/dist/{vue-ui-rating-CCesFD6e.js → vue-ui-rating-DuRLpMwk.js} +2 -2
- package/dist/vue-ui-relation-circle-BMrPtD2n.cjs +1 -0
- package/dist/{vue-ui-relation-circle-D2GXm_Fk.js → vue-ui-relation-circle-WmZMKqHL.js} +54 -52
- package/dist/{vue-ui-rings-B7_-G3JM.js → vue-ui-rings-Ce0Z_osd.js} +97 -93
- package/dist/{vue-ui-rings-CScmcQ1n.cjs → vue-ui-rings-CkYl3uce.cjs} +2 -2
- package/dist/vue-ui-scatter-Cjie2D-t.cjs +1 -0
- package/dist/{vue-ui-scatter-DdhiNjLc.js → vue-ui-scatter-DY9EpoGP.js} +132 -130
- package/dist/{vue-ui-screenshot-BrhjnTwn.cjs → vue-ui-screenshot-BCFym6go.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Cpy2qbf1.js → vue-ui-screenshot-lQLJHBQ2.js} +1 -1
- package/dist/vue-ui-skeleton-Cf89QIhl.cjs +41 -0
- package/dist/{vue-ui-skeleton-D7aLznpP.js → vue-ui-skeleton-DDhwPZd_.js} +423 -388
- package/dist/{vue-ui-smiley-Cj0yi7_H.cjs → vue-ui-smiley-DMA6fgGr.cjs} +1 -1
- package/dist/{vue-ui-smiley-vcpYARLj.js → vue-ui-smiley-xxMwBT9c.js} +2 -2
- package/dist/vue-ui-spark-trend-Btj_H6fa.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CFJSCQnf.js → vue-ui-spark-trend-CLHTqp94.js} +42 -40
- package/dist/{vue-ui-sparkbar-CgRdDfk6.js → vue-ui-sparkbar-Btk6snt4.js} +53 -51
- package/dist/vue-ui-sparkbar-CKrbBVKQ.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-CCPMNge0.js → vue-ui-sparkgauge-DKJtFTSv.js} +31 -29
- package/dist/vue-ui-sparkgauge-DfWLtFYS.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-D5z2Wtpk.js → vue-ui-sparkhistogram-JRLlw9EX.js} +69 -67
- package/dist/vue-ui-sparkhistogram-wHJ-8zVV.cjs +1 -0
- package/dist/vue-ui-sparkline-DElVaalm.cjs +1 -0
- package/dist/{vue-ui-sparkline-KYN0oKt1.js → vue-ui-sparkline-tBF9iaNm.js} +65 -63
- package/dist/{vue-ui-sparkstackbar-7lurD9-4.js → vue-ui-sparkstackbar-BS9I8en7.js} +102 -87
- package/dist/vue-ui-sparkstackbar-tZa2IYHP.cjs +1 -0
- package/dist/{vue-ui-stackbar-CsVmAvl3.js → vue-ui-stackbar-UiX8q4yL.js} +128 -126
- package/dist/vue-ui-stackbar-rOa0atA9.cjs +6 -0
- package/dist/{vue-ui-strip-plot-B63AgKts.js → vue-ui-strip-plot-BOkfg5vB.js} +78 -76
- package/dist/vue-ui-strip-plot-hRy6QRHK.cjs +1 -0
- package/dist/{vue-ui-table-hPqdMR-m.cjs → vue-ui-table-B9dc0l0k.cjs} +1 -1
- package/dist/{vue-ui-table-G5O8K-F_.js → vue-ui-table-Dtfv71zG.js} +1 -1
- package/dist/{vue-ui-table-heatmap-t9Ngijvp.js → vue-ui-table-heatmap-BMl-sP5Q.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BhVuTdSS.cjs → vue-ui-table-heatmap-DUQEHohs.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DtjJrGve.cjs → vue-ui-table-sparkline-BVnGb-lu.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BX4en1c-.js → vue-ui-table-sparkline-BeunspIj.js} +5 -5
- package/dist/vue-ui-thermometer-A3Xxn5Ly.cjs +1 -0
- package/dist/{vue-ui-thermometer-BWGyDQ7_.js → vue-ui-thermometer-Cb9ALBj_.js} +80 -78
- package/dist/{vue-ui-timer-8AlVLAJi.js → vue-ui-timer-2PRDq1w6.js} +62 -60
- package/dist/vue-ui-timer-DltmIdrq.cjs +64 -0
- package/dist/vue-ui-tiremarks-BTlJcW4v.cjs +1 -0
- package/dist/{vue-ui-tiremarks-DYIHGkBU.js → vue-ui-tiremarks-Bse3PMGV.js} +51 -49
- package/dist/vue-ui-treemap-Cv_mHK8H.cjs +1 -0
- package/dist/{vue-ui-treemap-mmvdTHiX.js → vue-ui-treemap-D8fjVYq0.js} +93 -91
- package/dist/{vue-ui-vertical-bar-DAKHNRoR.js → vue-ui-vertical-bar-BVldPT8k.js} +110 -108
- package/dist/vue-ui-vertical-bar-ZgJq3_CI.cjs +4 -0
- package/dist/vue-ui-waffle-BpeGEjCl.cjs +1 -0
- package/dist/{vue-ui-waffle-B-A4NYNd.js → vue-ui-waffle-wikAjwZY.js} +72 -70
- package/dist/vue-ui-wheel-BlgfdULS.cjs +1 -0
- package/dist/{vue-ui-wheel-DN9WvA6Z.js → vue-ui-wheel-D5qyBs0Y.js} +43 -41
- package/dist/{vue-ui-word-cloud-BWTyaGAT.js → vue-ui-word-cloud-Bcdl2iE-.js} +60 -58
- package/dist/vue-ui-word-cloud-sNzfl_Tq.cjs +1 -0
- package/dist/{vue-ui-xy-Dzp4qCjk.js → vue-ui-xy-CUjllUSv.js} +507 -504
- package/dist/vue-ui-xy-FHLTc7xG.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-CAcTkk_r.cjs → vue-ui-xy-canvas-BJUnRVuf.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-9NPbm7dE.js → vue-ui-xy-canvas-BkOlPU8e.js} +10 -10
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-rOT9iPsm.cjs +0 -19
- package/dist/vue-ui-age-pyramid-HElID9Ax.cjs +0 -1
- package/dist/vue-ui-candlestick-p1s0Av21.cjs +0 -2
- package/dist/vue-ui-chestnut-oFfB3fBF.cjs +0 -6
- package/dist/vue-ui-donut-Dnnoj71c.cjs +0 -1
- package/dist/vue-ui-donut-evolution-vBUH5VVx.cjs +0 -1
- package/dist/vue-ui-dumbbell-BUA_uSse.cjs +0 -9
- package/dist/vue-ui-flow-B-AFlw-n.cjs +0 -1
- package/dist/vue-ui-galaxy-CbL5nONj.cjs +0 -1
- package/dist/vue-ui-gauge-BUV_hQND.cjs +0 -1
- package/dist/vue-ui-gizmo-B-LxuvDh.cjs +0 -1
- package/dist/vue-ui-heatmap-DW5StHKM.cjs +0 -1
- package/dist/vue-ui-molecule-DHBId4h4.cjs +0 -1
- package/dist/vue-ui-mood-radar-DSXB9l99.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CEX2cvop.cjs +0 -17
- package/dist/vue-ui-onion-Iekdjs8b.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-OlFoYL_3.cjs +0 -8
- package/dist/vue-ui-quadrant-CgJeo2zZ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Du8lDPmh.cjs +0 -15
- package/dist/vue-ui-radar-BYk9DWnM.cjs +0 -1
- package/dist/vue-ui-relation-circle-8eoBav4O.cjs +0 -1
- package/dist/vue-ui-scatter-BnBI8qdt.cjs +0 -1
- package/dist/vue-ui-skeleton-pDeQ3NcD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BW8k0jDd.cjs +0 -1
- package/dist/vue-ui-sparkbar-BbJHfAQj.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BESRB8_4.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BYnSfLdb.cjs +0 -1
- package/dist/vue-ui-sparkline-D5WUy4p5.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-Dy-IfQ3q.cjs +0 -1
- package/dist/vue-ui-stackbar-Ch-fmE9l.cjs +0 -6
- package/dist/vue-ui-strip-plot-BLRl-tF6.cjs +0 -1
- package/dist/vue-ui-thermometer-B07RI9fZ.cjs +0 -1
- package/dist/vue-ui-timer-CXrENAVg.cjs +0 -64
- package/dist/vue-ui-tiremarks-C43c4_IR.cjs +0 -1
- package/dist/vue-ui-treemap-BN90ISQv.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BRDO_Rsu.cjs +0 -4
- package/dist/vue-ui-waffle-BN_yZEtJ.cjs +0 -1
- package/dist/vue-ui-wheel-50_zeiIW.cjs +0 -1
- package/dist/vue-ui-word-cloud-BVoFIb_q.cjs +0 -1
- package/dist/vue-ui-xy-CJHHesUD.cjs +0 -3
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { computed as h, ref as v, watch as
|
|
2
|
-
import { u as Ee, c as De, t as We, o as Ge, e as C, C as Xe, v as I, X as je, w as D, D as He, s as Ye, x as qe, y as Je, q as Ke, r as Qe, E as xe } from "./index-
|
|
1
|
+
import { computed as h, ref as v, watch as fe, onMounted as Oe, onBeforeUnmount as Be, openBlock as s, createElementBlock as u, normalizeClass as ge, normalizeStyle as be, createBlock as N, createCommentVNode as c, unref as p, createSlots as Pe, withCtx as b, renderSlot as m, normalizeProps as L, guardReactiveProps as R, createVNode as me, createElementVNode as n, Fragment as S, renderList as z, toDisplayString as V, createTextVNode as Me, nextTick as Ue } from "vue";
|
|
2
|
+
import { u as Ee, c as De, t as We, o as Ge, e as C, C as Xe, v as I, X as je, w as D, D as He, s as Ye, x as qe, y as Je, q as Ke, r as Qe, E as xe } from "./index-mBy4elhB.js";
|
|
3
3
|
import { t as Ze, u as et } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import { _ as tt } from "./Title-
|
|
5
|
-
import { u as lt, U as ot } from "./usePrinter-
|
|
6
|
-
import { _ as at } from "./Tooltip-
|
|
7
|
-
import { D as st } from "./DataTable-
|
|
8
|
-
import ut from "./vue-ui-skeleton-
|
|
9
|
-
import { S as it } from "./Slicer-
|
|
10
|
-
import nt from "./vue-ui-accordion-
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as rt } from "./
|
|
13
|
-
|
|
4
|
+
import { _ as tt } from "./Title-CECK1w9L.js";
|
|
5
|
+
import { u as lt, U as ot } from "./usePrinter-Ck-yukK2.js";
|
|
6
|
+
import { _ as at } from "./Tooltip-Ci3AprCm.js";
|
|
7
|
+
import { D as st } from "./DataTable-BKc3r3k3.js";
|
|
8
|
+
import ut from "./vue-ui-skeleton-DDhwPZd_.js";
|
|
9
|
+
import { S as it } from "./Slicer-DE9nFM_c.js";
|
|
10
|
+
import nt from "./vue-ui-accordion-dyF20BlD.js";
|
|
11
|
+
import { u as ke } from "./useNestedProp-BrIRtQj1.js";
|
|
12
|
+
import { _ as rt } from "./PackageVersion-D9PU8glB.js";
|
|
13
|
+
import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt = ["stop-color"], ft = ["stop-color"], gt = ["stop-color"], bt = ["id"], mt = ["stop-color"], xt = ["stop-color"], kt = ["stop-color"], wt = { key: 0 }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ct = { key: 1 }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x", "y", "font-size", "fill", "font-weight"], zt = { key: 2 }, Tt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = { key: 0 }, Lt = ["cx", "cy", "r", "fill"], Rt = ["cx", "cy", "r", "fill"], Vt = { key: 1 }, It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bt = ["x", "y", "height", "width", "fill", "rx"], Pt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Mt = ["x", "y", "height", "width", "fill", "onMouseover"], Ut = {
|
|
14
15
|
key: 3,
|
|
15
16
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
17
|
+
}, Et = ["innerHTML"], Dt = {
|
|
17
18
|
__name: "vue-ui-candlestick",
|
|
18
19
|
props: {
|
|
19
20
|
config: {
|
|
@@ -29,26 +30,26 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
|
-
setup($, { expose:
|
|
33
|
-
const k = $, { vue_ui_candlestick:
|
|
33
|
+
setup($, { expose: we }) {
|
|
34
|
+
const k = $, { vue_ui_candlestick: $e } = Ee(), T = h(() => !!k.dataset && k.dataset.length), x = v(De()), _e = v(null), W = v(!1), G = v(""), X = v(void 0), q = v(0), A = v(null), J = v(null), K = v(null), Q = v(null), O = v(0), Z = v(0), ee = v(0), e = h({
|
|
34
35
|
get: () => te(),
|
|
35
36
|
set: (t) => t
|
|
36
37
|
});
|
|
37
38
|
function te() {
|
|
38
|
-
const t =
|
|
39
|
+
const t = ke({
|
|
39
40
|
userConfig: k.config,
|
|
40
|
-
defaultConfig:
|
|
41
|
+
defaultConfig: $e
|
|
41
42
|
});
|
|
42
43
|
return t.theme ? {
|
|
43
|
-
...
|
|
44
|
+
...ke({
|
|
44
45
|
userConfig: We.vue_ui_candlestick[t.theme] || k.config,
|
|
45
46
|
defaultConfig: t
|
|
46
47
|
})
|
|
47
48
|
} : t;
|
|
48
49
|
}
|
|
49
|
-
|
|
50
|
+
fe(() => k.config, (t) => {
|
|
50
51
|
e.value = te(), le(), O.value += 1, ee.value += 1, Z.value += 1;
|
|
51
|
-
}, { deep: !0 }),
|
|
52
|
+
}, { deep: !0 }), fe(() => k.dataset, (t) => {
|
|
52
53
|
y.value.start = 0, y.value.end = t.length, O.value += 1;
|
|
53
54
|
}, { deep: !0 });
|
|
54
55
|
const d = v({
|
|
@@ -57,7 +58,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
57
58
|
xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
58
59
|
yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
59
60
|
}), B = v(null);
|
|
60
|
-
|
|
61
|
+
Oe(() => {
|
|
61
62
|
le();
|
|
62
63
|
});
|
|
63
64
|
function le() {
|
|
@@ -89,11 +90,11 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
89
90
|
B.value = new ResizeObserver(t), B.value.observe(A.value.parentNode);
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
|
-
|
|
93
|
+
Be(() => {
|
|
93
94
|
B.value && B.value.disconnect();
|
|
94
95
|
});
|
|
95
96
|
const { isPrinting: oe, isImaging: ae, generatePdf: se, generateImage: ue } = lt({
|
|
96
|
-
elementId: `vue-ui-candlestick_${
|
|
97
|
+
elementId: `vue-ui-candlestick_${x.value}`,
|
|
97
98
|
fileName: e.value.style.title.text || "vue-ui-candlestick"
|
|
98
99
|
}), w = v({
|
|
99
100
|
showTable: e.value.table.show,
|
|
@@ -162,54 +163,54 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
162
163
|
value: I(t)
|
|
163
164
|
};
|
|
164
165
|
}
|
|
165
|
-
const
|
|
166
|
-
const l = P(t.open, a), o = P(t.high, a),
|
|
166
|
+
const f = h(() => H.value.map((t, a) => {
|
|
167
|
+
const l = P(t.open, a), o = P(t.high, a), g = P(t.low, a), U = P(t.last, a), E = t.last > t.open;
|
|
167
168
|
return {
|
|
168
169
|
period: t.period,
|
|
169
170
|
open: l,
|
|
170
171
|
high: o,
|
|
171
|
-
low:
|
|
172
|
+
low: g,
|
|
172
173
|
last: U,
|
|
173
174
|
volume: t.volume,
|
|
174
175
|
isBullish: E
|
|
175
176
|
};
|
|
176
177
|
}));
|
|
177
|
-
function
|
|
178
|
+
function Ce(t) {
|
|
178
179
|
return I(t / _.value.max);
|
|
179
180
|
}
|
|
180
|
-
const
|
|
181
|
-
y: i.value.bottom - i.value.height *
|
|
181
|
+
const Ne = h(() => _.value.ticks.map((t) => ({
|
|
182
|
+
y: i.value.bottom - i.value.height * Ce(t),
|
|
182
183
|
value: I(t)
|
|
183
|
-
}))),
|
|
184
|
-
function
|
|
184
|
+
}))), Se = h(() => H.value.map((t) => t.period)), Y = v(null);
|
|
185
|
+
function ze(t, a) {
|
|
185
186
|
X.value = t, Y.value = {
|
|
186
187
|
datapoint: a,
|
|
187
188
|
seriesIndex: t,
|
|
188
|
-
series:
|
|
189
|
+
series: f.value,
|
|
189
190
|
config: e.value
|
|
190
191
|
};
|
|
191
192
|
const l = e.value.style.tooltip.customFormat;
|
|
192
193
|
if (qe(l) && Je(() => l({
|
|
193
194
|
seriesIndex: t,
|
|
194
195
|
datapoint: a,
|
|
195
|
-
series:
|
|
196
|
+
series: f.value,
|
|
196
197
|
config: e.value
|
|
197
198
|
})))
|
|
198
199
|
G.value = l({
|
|
199
200
|
seriesIndex: t,
|
|
200
201
|
datapoint: a,
|
|
201
|
-
series:
|
|
202
|
+
series: f.value,
|
|
202
203
|
config: e.value
|
|
203
204
|
});
|
|
204
205
|
else if (e.value.style.tooltip.show) {
|
|
205
206
|
let o = "";
|
|
206
|
-
const { period:
|
|
207
|
+
const { period: g, open: U, high: E, low: ye, last: ce, volume: he, isBullish: pe } = f.value[t], { period: Wt, open: Fe, high: Le, low: Re, last: Ve, volume: Ie } = e.value.translations;
|
|
207
208
|
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}"
|
|
208
|
-
fill="${e.value.style.layout.candle.gradient.show ? pe ? `url(#bullish_gradient_${
|
|
209
|
+
fill="${e.value.style.layout.candle.gradient.show ? pe ? `url(#bullish_gradient_${x.value})` : `url(#bearish_gradient_${x.value})` : pe ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${g}</div>`, o += `${Ie} : <b>${isNaN(he) ? "-" : Number(he.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}">`, o += `<div>${Fe}: <b>${e.value.style.tooltip.prefix} ${isNaN(U.value) ? "-" : Number(U.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Le}: <b>${e.value.style.tooltip.prefix} ${isNaN(E.value) ? "-" : Number(E.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Re}: <b>${e.value.style.tooltip.prefix} ${isNaN(ye.value) ? "-" : Number(ye.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Ve}: <b>${e.value.style.tooltip.prefix} ${isNaN(ce.value) ? "-" : Number(ce.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += "</div>", G.value = `<div style="text-align:right">${o}</div>`;
|
|
209
210
|
}
|
|
210
211
|
W.value = !0;
|
|
211
212
|
}
|
|
212
|
-
function
|
|
213
|
+
function Te() {
|
|
213
214
|
y.value = {
|
|
214
215
|
start: 0,
|
|
215
216
|
end: j.value
|
|
@@ -217,20 +218,20 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
217
218
|
}
|
|
218
219
|
function re() {
|
|
219
220
|
Ue(() => {
|
|
220
|
-
const t = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], a =
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
221
|
+
const t = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], a = f.value.map((g) => [
|
|
222
|
+
g.period,
|
|
223
|
+
g.open.value,
|
|
224
|
+
g.high.value,
|
|
225
|
+
g.low.value,
|
|
226
|
+
g.last.value,
|
|
227
|
+
g.volume
|
|
227
228
|
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o = Ke(l);
|
|
228
229
|
Qe({ csvContent: o, title: e.value.style.title.text || "vue-ui-candlestick" });
|
|
229
230
|
});
|
|
230
231
|
}
|
|
231
232
|
const M = h(() => {
|
|
232
|
-
const t =
|
|
233
|
-
`<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_${
|
|
233
|
+
const t = f.value.map((o) => [
|
|
234
|
+
`<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_${x.value}` : `url(#bearish_gradient_${x.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${o.period}`,
|
|
234
235
|
`${e.value.table.td.prefix} ${isNaN(o.open.value) ? "-" : Number(o.open.value.toFixed(e.value.table.td.roundingValue)).toLocaleString()} ${e.value.table.td.suffix}`,
|
|
235
236
|
`${e.value.table.td.prefix} ${isNaN(o.high.value) ? "-" : Number(o.high.value.toFixed(e.value.table.td.roundingValue)).toLocaleString()} ${e.value.table.td.suffix}`,
|
|
236
237
|
`${e.value.table.td.prefix} ${isNaN(o.low.value) ? "-" : Number(o.low.value.toFixed(e.value.table.td.roundingValue)).toLocaleString()} ${e.value.table.td.suffix}`,
|
|
@@ -258,7 +259,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
258
259
|
];
|
|
259
260
|
return { head: l, body: t, config: a, colNames: l };
|
|
260
261
|
}), F = v(!1);
|
|
261
|
-
function
|
|
262
|
+
function Ae(t) {
|
|
262
263
|
F.value = t, q.value += 1;
|
|
263
264
|
}
|
|
264
265
|
function ve() {
|
|
@@ -267,7 +268,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
267
268
|
function de() {
|
|
268
269
|
w.value.showTooltip = !w.value.showTooltip;
|
|
269
270
|
}
|
|
270
|
-
return
|
|
271
|
+
return we({
|
|
271
272
|
generatePdf: se,
|
|
272
273
|
generateCsv: re,
|
|
273
274
|
generateImage: ue,
|
|
@@ -276,9 +277,9 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
276
277
|
}), (t, a) => (s(), u("div", {
|
|
277
278
|
ref_key: "candlestickChart",
|
|
278
279
|
ref: A,
|
|
279
|
-
class:
|
|
280
|
+
class: ge(`vue-ui-candlestick ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
280
281
|
style: be(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
281
|
-
id: `vue-ui-candlestick_${
|
|
282
|
+
id: `vue-ui-candlestick_${x.value}`
|
|
282
283
|
}, [
|
|
283
284
|
e.value.style.title.text ? (s(), u("div", {
|
|
284
285
|
key: 0,
|
|
@@ -302,13 +303,13 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
302
303
|
], 512)) : c("", !0),
|
|
303
304
|
e.value.userOptions.show && T.value ? (s(), N(ot, {
|
|
304
305
|
ref_key: "details",
|
|
305
|
-
ref:
|
|
306
|
+
ref: _e,
|
|
306
307
|
key: `user_options_${q.value}`,
|
|
307
308
|
backgroundColor: e.value.style.backgroundColor,
|
|
308
309
|
color: e.value.style.color,
|
|
309
310
|
isImaging: p(ae),
|
|
310
311
|
isPrinting: p(oe),
|
|
311
|
-
uid:
|
|
312
|
+
uid: x.value,
|
|
312
313
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
313
314
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
314
315
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -320,52 +321,52 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
320
321
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
321
322
|
chartElement: A.value,
|
|
322
323
|
position: e.value.userOptions.position,
|
|
323
|
-
onToggleFullscreen:
|
|
324
|
+
onToggleFullscreen: Ae,
|
|
324
325
|
onGeneratePdf: p(se),
|
|
325
326
|
onGenerateCsv: re,
|
|
326
327
|
onGenerateImage: p(ue),
|
|
327
328
|
onToggleTable: ve,
|
|
328
329
|
onToggleTooltip: de
|
|
329
|
-
},
|
|
330
|
+
}, Pe({ _: 2 }, [
|
|
330
331
|
t.$slots.optionTooltip ? {
|
|
331
332
|
name: "optionTooltip",
|
|
332
333
|
fn: b(() => [
|
|
333
|
-
|
|
334
|
+
m(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
334
335
|
]),
|
|
335
336
|
key: "0"
|
|
336
337
|
} : void 0,
|
|
337
338
|
t.$slots.optionPdf ? {
|
|
338
339
|
name: "optionPdf",
|
|
339
340
|
fn: b(() => [
|
|
340
|
-
|
|
341
|
+
m(t.$slots, "optionPdf", {}, void 0, !0)
|
|
341
342
|
]),
|
|
342
343
|
key: "1"
|
|
343
344
|
} : void 0,
|
|
344
345
|
t.$slots.optionCsv ? {
|
|
345
346
|
name: "optionCsv",
|
|
346
347
|
fn: b(() => [
|
|
347
|
-
|
|
348
|
+
m(t.$slots, "optionCsv", {}, void 0, !0)
|
|
348
349
|
]),
|
|
349
350
|
key: "2"
|
|
350
351
|
} : void 0,
|
|
351
352
|
t.$slots.optionImg ? {
|
|
352
353
|
name: "optionImg",
|
|
353
354
|
fn: b(() => [
|
|
354
|
-
|
|
355
|
+
m(t.$slots, "optionImg", {}, void 0, !0)
|
|
355
356
|
]),
|
|
356
357
|
key: "3"
|
|
357
358
|
} : void 0,
|
|
358
359
|
t.$slots.optionTable ? {
|
|
359
360
|
name: "optionTable",
|
|
360
361
|
fn: b(() => [
|
|
361
|
-
|
|
362
|
+
m(t.$slots, "optionTable", {}, void 0, !0)
|
|
362
363
|
]),
|
|
363
364
|
key: "4"
|
|
364
365
|
} : void 0,
|
|
365
366
|
t.$slots.optionFullscreen ? {
|
|
366
367
|
name: "optionFullscreen",
|
|
367
368
|
fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
368
|
-
|
|
369
|
+
m(t.$slots, "optionFullscreen", L(R({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
369
370
|
]),
|
|
370
371
|
key: "5"
|
|
371
372
|
} : void 0
|
|
@@ -373,39 +374,40 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
373
374
|
T.value ? (s(), u("svg", {
|
|
374
375
|
key: 2,
|
|
375
376
|
xmlns: p(je),
|
|
376
|
-
class:
|
|
377
|
+
class: ge({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
|
|
377
378
|
viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
|
|
378
379
|
style: be(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
379
380
|
}, [
|
|
380
|
-
|
|
381
|
+
me(rt),
|
|
382
|
+
f.value.length > 0 ? (s(), u("g", ct, [
|
|
381
383
|
n("defs", null, [
|
|
382
384
|
n("linearGradient", {
|
|
383
|
-
id: `bearish_gradient_${
|
|
385
|
+
id: `bearish_gradient_${x.value}`,
|
|
384
386
|
x2: "0%",
|
|
385
387
|
y2: "100%"
|
|
386
388
|
}, [
|
|
387
389
|
n("stop", {
|
|
388
390
|
offset: "0%",
|
|
389
391
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
390
|
-
}, null, 8,
|
|
392
|
+
}, null, 8, pt),
|
|
391
393
|
n("stop", {
|
|
392
394
|
offset: "50%",
|
|
393
395
|
"stop-color": `${p(D)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
394
|
-
}, null, 8,
|
|
396
|
+
}, null, 8, ft),
|
|
395
397
|
n("stop", {
|
|
396
398
|
offset: "100%",
|
|
397
399
|
"stop-color": `${p(D)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
398
400
|
}, null, 8, gt)
|
|
399
|
-
], 8,
|
|
401
|
+
], 8, ht),
|
|
400
402
|
n("linearGradient", {
|
|
401
|
-
id: `bullish_gradient_${
|
|
403
|
+
id: `bullish_gradient_${x.value}`,
|
|
402
404
|
x2: "0%",
|
|
403
405
|
y2: "100%"
|
|
404
406
|
}, [
|
|
405
407
|
n("stop", {
|
|
406
408
|
offset: "0%",
|
|
407
409
|
"stop-color": e.value.style.layout.candle.colors.bullish
|
|
408
|
-
}, null, 8,
|
|
410
|
+
}, null, 8, mt),
|
|
409
411
|
n("stop", {
|
|
410
412
|
offset: "50%",
|
|
411
413
|
"stop-color": `${p(D)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
@@ -413,10 +415,10 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
413
415
|
n("stop", {
|
|
414
416
|
offset: "100%",
|
|
415
417
|
"stop-color": `${p(D)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
416
|
-
}, null, 8,
|
|
417
|
-
], 8,
|
|
418
|
+
}, null, 8, kt)
|
|
419
|
+
], 8, bt)
|
|
418
420
|
]),
|
|
419
|
-
e.value.style.layout.grid.show ? (s(), u("g",
|
|
421
|
+
e.value.style.layout.grid.show ? (s(), u("g", wt, [
|
|
420
422
|
n("line", {
|
|
421
423
|
x1: i.value.left,
|
|
422
424
|
x2: i.value.left,
|
|
@@ -425,7 +427,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
425
427
|
stroke: e.value.style.layout.grid.stroke,
|
|
426
428
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
427
429
|
"stroke-linecap": "round"
|
|
428
|
-
}, null, 8,
|
|
430
|
+
}, null, 8, $t),
|
|
429
431
|
n("line", {
|
|
430
432
|
x1: i.value.left,
|
|
431
433
|
x2: i.value.right,
|
|
@@ -434,10 +436,10 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
434
436
|
stroke: e.value.style.layout.grid.stroke,
|
|
435
437
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
436
438
|
"stroke-linecap": "round"
|
|
437
|
-
}, null, 8,
|
|
439
|
+
}, null, 8, _t)
|
|
438
440
|
])) : c("", !0),
|
|
439
|
-
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g",
|
|
440
|
-
(s(!0), u(S, null, z(
|
|
441
|
+
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", Ct, [
|
|
442
|
+
(s(!0), u(S, null, z(Ne.value, (l, o) => (s(), u("g", null, [
|
|
441
443
|
l.value >= _.value.min && l.value <= _.value.max ? (s(), u("line", {
|
|
442
444
|
key: 0,
|
|
443
445
|
x1: i.value.left,
|
|
@@ -447,7 +449,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
447
449
|
stroke: e.value.style.layout.grid.stroke,
|
|
448
450
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
449
451
|
"stroke-linecap": "round"
|
|
450
|
-
}, null, 8,
|
|
452
|
+
}, null, 8, Nt)) : c("", !0),
|
|
451
453
|
l.value >= _.value.min && l.value <= _.value.max ? (s(), u("text", {
|
|
452
454
|
key: 1,
|
|
453
455
|
x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
@@ -456,22 +458,22 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
456
458
|
"text-anchor": "end",
|
|
457
459
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
458
460
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
459
|
-
}, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(p(He)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + V(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9,
|
|
461
|
+
}, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(p(He)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + V(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, St)) : c("", !0)
|
|
460
462
|
]))), 256))
|
|
461
463
|
])) : c("", !0),
|
|
462
|
-
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g",
|
|
463
|
-
(s(!0), u(S, null, z(
|
|
464
|
+
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", zt, [
|
|
465
|
+
(s(!0), u(S, null, z(Se.value, (l, o) => (s(), u("g", null, [
|
|
464
466
|
n("text", {
|
|
465
467
|
transform: `translate(${i.value.left + r.value * o + r.value / 2}, ${i.value.bottom + d.value.xAxisFontSize * 2 + e.value.style.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
466
468
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
467
469
|
"font-size": d.value.xAxisFontSize,
|
|
468
470
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
469
471
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
470
|
-
}, V(l), 9,
|
|
472
|
+
}, V(l), 9, Tt)
|
|
471
473
|
]))), 256))
|
|
472
474
|
])) : c("", !0),
|
|
473
475
|
n("g", null, [
|
|
474
|
-
(s(!0), u(S, null, z(
|
|
476
|
+
(s(!0), u(S, null, z(f.value, (l, o) => (s(), u("g", null, [
|
|
475
477
|
n("line", {
|
|
476
478
|
x1: l.open.x,
|
|
477
479
|
x2: l.open.x,
|
|
@@ -480,22 +482,22 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
480
482
|
stroke: e.value.style.layout.wick.stroke,
|
|
481
483
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
482
484
|
"stroke-linecap": "round"
|
|
483
|
-
}, null, 8,
|
|
484
|
-
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g",
|
|
485
|
+
}, null, 8, At),
|
|
486
|
+
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Ft, [
|
|
485
487
|
n("circle", {
|
|
486
488
|
cx: l.high.x,
|
|
487
489
|
cy: l.high.y,
|
|
488
490
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
489
491
|
fill: e.value.style.layout.wick.extremity.color
|
|
490
|
-
}, null, 8,
|
|
492
|
+
}, null, 8, Lt),
|
|
491
493
|
n("circle", {
|
|
492
494
|
cx: l.low.x,
|
|
493
495
|
cy: l.low.y,
|
|
494
496
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
495
497
|
fill: e.value.style.layout.wick.extremity.color
|
|
496
|
-
}, null, 8,
|
|
498
|
+
}, null, 8, Rt)
|
|
497
499
|
])) : c("", !0),
|
|
498
|
-
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g",
|
|
500
|
+
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Vt, [
|
|
499
501
|
n("line", {
|
|
500
502
|
x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
501
503
|
x2: l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
@@ -504,7 +506,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
504
506
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
505
507
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
506
508
|
"stroke-linecap": "round"
|
|
507
|
-
}, null, 8,
|
|
509
|
+
}, null, 8, It),
|
|
508
510
|
n("line", {
|
|
509
511
|
x1: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
510
512
|
x2: l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
@@ -513,12 +515,12 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
513
515
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
514
516
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
515
517
|
"stroke-linecap": "round"
|
|
516
|
-
}, null, 8,
|
|
518
|
+
}, null, 8, Ot)
|
|
517
519
|
])) : c("", !0)
|
|
518
520
|
]))), 256))
|
|
519
521
|
]),
|
|
520
522
|
n("g", null, [
|
|
521
|
-
(s(!0), u(S, null, z(
|
|
523
|
+
(s(!0), u(S, null, z(f.value, (l, o) => (s(), u("rect", {
|
|
522
524
|
x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
523
525
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
524
526
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
@@ -526,38 +528,38 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
526
528
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
527
529
|
rx: e.value.style.layout.candle.borderRadius,
|
|
528
530
|
stroke: "none"
|
|
529
|
-
}, null, 8,
|
|
530
|
-
(s(!0), u(S, null, z(
|
|
531
|
+
}, null, 8, Bt))), 256)),
|
|
532
|
+
(s(!0), u(S, null, z(f.value, (l, o) => (s(), u("rect", {
|
|
531
533
|
x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
532
534
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
533
535
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
534
536
|
width: r.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : r.value * e.value.style.layout.candle.widthRatio,
|
|
535
|
-
fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${
|
|
537
|
+
fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${x.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${x.value})` : e.value.style.layout.candle.colors.bearish,
|
|
536
538
|
rx: e.value.style.layout.candle.borderRadius,
|
|
537
539
|
stroke: e.value.style.layout.candle.stroke,
|
|
538
540
|
"stroke-width": e.value.style.layout.candle.strokeWidth,
|
|
539
541
|
"stroke-linecap": "round",
|
|
540
542
|
"stroke-linejoin": "round"
|
|
541
|
-
}, null, 8,
|
|
543
|
+
}, null, 8, Pt))), 256))
|
|
542
544
|
]),
|
|
543
545
|
n("g", null, [
|
|
544
|
-
(s(!0), u(S, null, z(
|
|
546
|
+
(s(!0), u(S, null, z(f.value, (l, o) => (s(), u("rect", {
|
|
545
547
|
x: i.value.left + o * r.value,
|
|
546
548
|
y: i.value.top,
|
|
547
549
|
height: i.value.height <= 0 ? 1e-4 : i.value.height,
|
|
548
550
|
width: r.value <= 0 ? 1e-4 : r.value,
|
|
549
551
|
fill: X.value === o ? p(Ye)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
|
|
550
|
-
onMouseover: (
|
|
551
|
-
onMouseleave: a[0] || (a[0] = (
|
|
552
|
+
onMouseover: (g) => ze(o, l),
|
|
553
|
+
onMouseleave: a[0] || (a[0] = (g) => {
|
|
552
554
|
X.value = void 0, W.value = !1;
|
|
553
555
|
})
|
|
554
|
-
}, null, 40,
|
|
556
|
+
}, null, 40, Mt))), 256))
|
|
555
557
|
])
|
|
556
558
|
])) : c("", !0),
|
|
557
|
-
|
|
558
|
-
], 14,
|
|
559
|
-
t.$slots.watermark ? (s(), u("div",
|
|
560
|
-
|
|
559
|
+
m(t.$slots, "svg", { svg: d.value }, void 0, !0)
|
|
560
|
+
], 14, yt)) : c("", !0),
|
|
561
|
+
t.$slots.watermark ? (s(), u("div", Ut, [
|
|
562
|
+
m(t.$slots, "watermark", L(R({ isPrinting: p(oe) || p(ae) })), void 0, !0)
|
|
561
563
|
])) : c("", !0),
|
|
562
564
|
T.value ? c("", !0) : (s(), N(ut, {
|
|
563
565
|
key: 4,
|
|
@@ -600,10 +602,10 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
600
602
|
"onUpdate:start": a[1] || (a[1] = (l) => y.value.start = l),
|
|
601
603
|
end: y.value.end,
|
|
602
604
|
"onUpdate:end": a[2] || (a[2] = (l) => y.value.end = l),
|
|
603
|
-
onReset:
|
|
605
|
+
onReset: Te
|
|
604
606
|
}, {
|
|
605
607
|
"reset-action": b(({ reset: l }) => [
|
|
606
|
-
|
|
608
|
+
m(t.$slots, "reset-action", L(R({ reset: l })), void 0, !0)
|
|
607
609
|
]),
|
|
608
610
|
_: 3
|
|
609
611
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"]))
|
|
@@ -612,9 +614,9 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
612
614
|
ref_key: "chartLegend",
|
|
613
615
|
ref: K
|
|
614
616
|
}, [
|
|
615
|
-
|
|
617
|
+
m(t.$slots, "legend", { legend: f.value }, void 0, !0)
|
|
616
618
|
], 512),
|
|
617
|
-
|
|
619
|
+
me(at, {
|
|
618
620
|
show: w.value.showTooltip && W.value,
|
|
619
621
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
620
622
|
color: e.value.style.tooltip.color,
|
|
@@ -630,10 +632,10 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
630
632
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
631
633
|
}, {
|
|
632
634
|
"tooltip-before": b(() => [
|
|
633
|
-
|
|
635
|
+
m(t.$slots, "tooltip-before", L(R({ ...Y.value })), void 0, !0)
|
|
634
636
|
]),
|
|
635
637
|
"tooltip-after": b(() => [
|
|
636
|
-
|
|
638
|
+
m(t.$slots, "tooltip-after", L(R({ ...Y.value })), void 0, !0)
|
|
637
639
|
]),
|
|
638
640
|
_: 3
|
|
639
641
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
@@ -667,16 +669,16 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
|
|
|
667
669
|
Me(V(l), 1)
|
|
668
670
|
]),
|
|
669
671
|
td: b(({ td: l }) => [
|
|
670
|
-
n("div", { innerHTML: l }, null, 8,
|
|
672
|
+
n("div", { innerHTML: l }, null, 8, Et)
|
|
671
673
|
]),
|
|
672
674
|
_: 1
|
|
673
675
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
674
676
|
]),
|
|
675
677
|
_: 1
|
|
676
678
|
}, 8, ["config"])) : c("", !0)
|
|
677
|
-
], 14,
|
|
679
|
+
], 14, dt));
|
|
678
680
|
}
|
|
679
|
-
},
|
|
681
|
+
}, ol = /* @__PURE__ */ vt(Dt, [["__scopeId", "data-v-51dc0cb1"]]);
|
|
680
682
|
export {
|
|
681
|
-
|
|
683
|
+
ol as default
|
|
682
684
|
};
|