vue-data-ui 2.3.60 → 2.3.62
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-BJ47KXjY.js → Arrow-Dho8ylDy.js} +1 -1
- package/dist/{Arrow-VxZlHkwt.cjs → Arrow-ov-EIAPu.cjs} +1 -1
- package/dist/{BaseIcon-Bv5uh10R.cjs → BaseIcon-B6v-Txn-.cjs} +1 -1
- package/dist/{BaseIcon-Fm7sUbd2.js → BaseIcon-BNStcP8c.js} +1 -1
- package/dist/{DataTable-1VV0us-8.js → DataTable-luIjNnne.js} +2 -2
- package/dist/{DataTable-CPAt686N.cjs → DataTable-yf_eyv8c.cjs} +1 -1
- package/dist/{Legend-BJ2Mynop.cjs → Legend-6JY5pUsT.cjs} +1 -1
- package/dist/{Legend-DB6v_LvZ.js → Legend-B9dawQa7.js} +1 -1
- package/dist/{Shape-DWZSJJ6-.cjs → Shape-BoXM3HKY.cjs} +1 -1
- package/dist/{Shape-B_f1_6Ob.js → Shape-BsAETTif.js} +1 -1
- package/dist/Slicer-DoMAeSUY.cjs +1 -0
- package/dist/{Slicer-CHiUxRAh.js → Slicer-iGmqxtRQ.js} +51 -54
- package/dist/{Title-CR-JDJwq.cjs → Title-CBcoQe02.cjs} +1 -1
- package/dist/{Title-xP0rAF4q.js → Title-fb3BzoXj.js} +1 -1
- package/dist/{Tooltip-B4DNihSF.cjs → Tooltip-BhuD1Kc5.cjs} +1 -1
- package/dist/{Tooltip-DfBa_7Ur.js → Tooltip-CBugtvWB.js} +5 -5
- package/dist/{index-CpHoINpJ.js → index-BshV7sX1.js} +538 -515
- package/dist/{index-CDK3omwG.cjs → index-D2ZScauW.cjs} +4 -4
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BOjw3Yqn.js → useNestedProp-B235bkr5.js} +1 -1
- package/dist/{useNestedProp-CaaW8JIS.cjs → useNestedProp-BU7yyXFA.cjs} +1 -1
- package/dist/{usePrinter-BHy-mfVg.js → usePrinter-Culo-aKo.js} +1 -1
- package/dist/{usePrinter-vQu-8tRD.cjs → usePrinter-eqT4IYET.cjs} +1 -1
- package/dist/{vue-data-ui-Ccdrn4OV.cjs → vue-data-ui-B7ebF4_E.cjs} +1 -1
- package/dist/{vue-data-ui-Dcg7DPMn.js → vue-data-ui-aJ6K70wA.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +7 -7
- package/dist/{vue-ui-3d-bar-BqtnNU7h.js → vue-ui-3d-bar-BYgxIW27.js} +7 -7
- package/dist/{vue-ui-3d-bar-DdBlV5AX.cjs → vue-ui-3d-bar-DFv8qpsI.cjs} +1 -1
- package/dist/{vue-ui-accordion-BZloYo0L.js → vue-ui-accordion-B6AxEnAr.js} +3 -3
- package/dist/{vue-ui-accordion-EVAolVkD.cjs → vue-ui-accordion-BhCJcWDd.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BBRjCRtS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CTxkOn4v.js → vue-ui-age-pyramid-yZrvdnPP.js} +226 -226
- package/dist/{vue-ui-annotator-D_AK0JCi.cjs → vue-ui-annotator-CEVmAufb.cjs} +1 -1
- package/dist/{vue-ui-annotator-BDWKiQ6S.js → vue-ui-annotator-ZKUlOqUq.js} +1 -1
- package/dist/{vue-ui-candlestick-CIKgu0F2.cjs → vue-ui-candlestick-CUNLZRIM.cjs} +2 -2
- package/dist/{vue-ui-candlestick-ByA9FGZb.js → vue-ui-candlestick-De4WgpPk.js} +158 -158
- package/dist/{vue-ui-carousel-table-ez9gbOZ7.cjs → vue-ui-carousel-table-C968uL6J.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BnYxbq5A.js → vue-ui-carousel-table-DJ0AWPea.js} +4 -4
- package/dist/{vue-ui-chestnut-BumsSmCv.js → vue-ui-chestnut-Cl0UKWsI.js} +65 -64
- package/dist/{vue-ui-chestnut-CnYqa2Fx.cjs → vue-ui-chestnut-DmjmL02K.cjs} +3 -3
- package/dist/{vue-ui-cursor-D-4-MMw7.js → vue-ui-cursor-BWyE3tgm.js} +2 -2
- package/dist/{vue-ui-cursor-Drl8jibt.cjs → vue-ui-cursor-D5XEblLW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CX0jA181.cjs → vue-ui-dashboard-BJLi81kg.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_iV-3hq.js → vue-ui-dashboard-D9dQIIti.js} +2 -2
- package/dist/{vue-ui-digits-DMhl9plv.js → vue-ui-digits-DkYpomD9.js} +2 -2
- package/dist/{vue-ui-digits-RAZl_4Kb.cjs → vue-ui-digits-IIiSTczs.cjs} +1 -1
- package/dist/{vue-ui-donut-BG28U01c.cjs → vue-ui-donut-Bq66xmG0.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DPU-Nd8y.js → vue-ui-donut-evolution-Bto1ZaWx.js} +95 -95
- package/dist/vue-ui-donut-evolution-CNVUtEEk.cjs +1 -0
- package/dist/{vue-ui-donut-BpQC9-Uz.js → vue-ui-donut-uujhj36t.js} +42 -42
- package/dist/vue-ui-dumbbell-CLNVYG0j.cjs +9 -0
- package/dist/{vue-ui-dumbbell-C4JnuC1b.js → vue-ui-dumbbell-D6Xyfvff.js} +72 -72
- package/dist/vue-ui-flow-BwrqexSU.cjs +1 -0
- package/dist/vue-ui-flow-Cg4oKZz8.js +469 -0
- package/dist/{vue-ui-galaxy-148JtEdK.js → vue-ui-galaxy-D_s9dfYN.js} +91 -91
- package/dist/vue-ui-galaxy-DixlciaO.cjs +1 -0
- package/dist/{vue-ui-gauge-DOJ98R_N.js → vue-ui-gauge-DGQVW6UO.js} +84 -84
- package/dist/vue-ui-gauge-Jse5ZYyj.cjs +1 -0
- package/dist/{vue-ui-gizmo-KeWvd226.js → vue-ui-gizmo-DDTaLaSI.js} +2 -2
- package/dist/{vue-ui-gizmo-a6WNWyf7.cjs → vue-ui-gizmo-sgq75uBG.cjs} +1 -1
- package/dist/vue-ui-heatmap-4-gnNgQ_.cjs +1 -0
- package/dist/{vue-ui-heatmap-BGsSOTPJ.js → vue-ui-heatmap-Dvd5ZGVw.js} +257 -239
- package/dist/{vue-ui-kpi-Dhah6Fgx.cjs → vue-ui-kpi-Co1WqN3k.cjs} +1 -1
- package/dist/{vue-ui-kpi-Leb1rK38.js → vue-ui-kpi-aLwUkIjv.js} +3 -3
- package/dist/{vue-ui-mini-loader-BLH4ncUB.js → vue-ui-mini-loader-Bm2xpTIh.js} +2 -2
- package/dist/{vue-ui-mini-loader-Dpa9uYkn.cjs → vue-ui-mini-loader-D98KCpoT.cjs} +1 -1
- package/dist/{vue-ui-molecule-DjvOvDUa.cjs → vue-ui-molecule-C3-9ojnv.cjs} +1 -1
- package/dist/{vue-ui-molecule-DuPAOQcj.js → vue-ui-molecule-Dv4hYPVd.js} +20 -20
- package/dist/{vue-ui-mood-radar-AOHK6R10.cjs → vue-ui-mood-radar-Dh3Q2NiI.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-BmcIz0JR.js → vue-ui-mood-radar-DsIPsXTh.js} +9 -9
- package/dist/{vue-ui-nested-donuts-CMmcmAd9.cjs → vue-ui-nested-donuts-CFC8tyGY.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-BYLc86qs.js → vue-ui-nested-donuts-CZ9vcclX.js} +120 -120
- package/dist/{vue-ui-onion-BjG8xbMh.cjs → vue-ui-onion-BLV33CBr.cjs} +1 -1
- package/dist/{vue-ui-onion-shZ4g9mJ.js → vue-ui-onion-CI9ARfRM.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-O7lS6u2q.cjs → vue-ui-parallel-coordinate-plot-CIhpHeCI.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-wv0O9t7U.js → vue-ui-parallel-coordinate-plot-CxzFJuza.js} +69 -69
- package/dist/{vue-ui-quadrant-CuB8sYgF.cjs → vue-ui-quadrant-CS3LAiCu.cjs} +1 -1
- package/dist/{vue-ui-quadrant-BRF5Czj4.js → vue-ui-quadrant-DenUcNcS.js} +36 -36
- package/dist/{vue-ui-quick-chart-BQdUHrm2.js → vue-ui-quick-chart-BdpKv0ES.js} +549 -515
- package/dist/vue-ui-quick-chart-UxaO0jzI.cjs +15 -0
- package/dist/vue-ui-radar-CQ-LymAS.cjs +1 -0
- package/dist/{vue-ui-radar-CLUs0tD9.js → vue-ui-radar-Dd24aGwh.js} +59 -59
- package/dist/{vue-ui-rating-Dcy1l1PB.js → vue-ui-rating-CQWK2lk1.js} +9 -9
- package/dist/{vue-ui-rating-CA25nHJe.cjs → vue-ui-rating-DTuDjrt8.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DC-RFa9X.js → vue-ui-relation-circle-BcOzK8Iz.js} +5 -5
- package/dist/{vue-ui-relation-circle-Drr6Gdnq.cjs → vue-ui-relation-circle-DMhNCwpg.cjs} +1 -1
- package/dist/vue-ui-rings--pu1fIcl.cjs +2 -0
- package/dist/{vue-ui-rings-DbPbelCU.js → vue-ui-rings-yyFx2W1b.js} +188 -185
- package/dist/{vue-ui-scatter-D2jYZ4Wu.js → vue-ui-scatter-BV4sXNqz.js} +378 -375
- package/dist/{vue-ui-scatter-xyLvaw0d.cjs → vue-ui-scatter-CrmsJjjl.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DXCBzrPZ.js → vue-ui-screenshot-C6wYv3cc.js} +6 -6
- package/dist/{vue-ui-screenshot-DGqjaE1x.cjs → vue-ui-screenshot-eoAWixSo.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DuM6yey6.js → vue-ui-skeleton-7qakoAGH.js} +23 -23
- package/dist/{vue-ui-skeleton-DRDC3yxK.cjs → vue-ui-skeleton-BLhbQje-.cjs} +1 -1
- package/dist/{vue-ui-smiley-DQrvx_S9.js → vue-ui-smiley-DG3_ORXA.js} +2 -2
- package/dist/{vue-ui-smiley-BCmY1siL.cjs → vue-ui-smiley-sS92V85O.cjs} +1 -1
- package/dist/vue-ui-spark-trend-C9Ii4Ue5.cjs +1 -0
- package/dist/vue-ui-spark-trend-D8_rEspZ.js +251 -0
- package/dist/{vue-ui-sparkbar-C_vNsxM_.cjs → vue-ui-sparkbar-CQz9GWxh.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DiU5Yt-V.js → vue-ui-sparkbar-DuNNnbs9.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BnF9Vbs0.js → vue-ui-sparkgauge-Buo2ms6b.js} +64 -64
- package/dist/vue-ui-sparkgauge-Dxsnkehz.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-BUBwn9A4.cjs → vue-ui-sparkhistogram-Cw-w_Rhv.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CsOfCo_3.js → vue-ui-sparkhistogram-edeeQ1HN.js} +4 -4
- package/dist/{vue-ui-sparkline-CoUeD8Np.cjs → vue-ui-sparkline-Cyddej9t.cjs} +1 -1
- package/dist/{vue-ui-sparkline-B628G3Nl.js → vue-ui-sparkline-DGIqGoR2.js} +25 -25
- package/dist/{vue-ui-sparkstackbar-Cr-Q7uDo.cjs → vue-ui-sparkstackbar-DN0XiDpQ.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DIHGbrF5.js → vue-ui-sparkstackbar-G7Ojd39B.js} +3 -3
- package/dist/{vue-ui-stackbar-DCbJhdZy.js → vue-ui-stackbar-CfK9lv_E.js} +35 -35
- package/dist/{vue-ui-stackbar-DMyP3IRK.cjs → vue-ui-stackbar-kiZ9J1eh.cjs} +1 -1
- package/dist/vue-ui-strip-plot-Bd4NwUia.cjs +1 -0
- package/dist/{vue-ui-strip-plot-CNb3VtYF.js → vue-ui-strip-plot-d-bNHZDG.js} +64 -64
- package/dist/{vue-ui-table-CjuXpy2d.cjs → vue-ui-table-ChORiy2h.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D6px_Z1a.cjs → vue-ui-table-heatmap-BcA1TmV1.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-nbBDuSiw.js → vue-ui-table-heatmap-BcPqaYXz.js} +26 -26
- package/dist/{vue-ui-table-BqcI8E7E.js → vue-ui-table-ipCsGZPx.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Blbaz2zX.js → vue-ui-table-sparkline-BwwiWOX_.js} +13 -13
- package/dist/{vue-ui-table-sparkline-CqNPx5Zw.cjs → vue-ui-table-sparkline-dXyBTv6X.cjs} +1 -1
- package/dist/vue-ui-thermometer-DpWtOskJ.cjs +1 -0
- package/dist/{vue-ui-thermometer-BCGHbgj9.js → vue-ui-thermometer-U5IIot6j.js} +116 -116
- package/dist/{vue-ui-timer-BjqbxjQO.cjs → vue-ui-timer-DqVQjRdU.cjs} +1 -1
- package/dist/{vue-ui-timer-DhpBvc_5.js → vue-ui-timer-cCfNkOpe.js} +4 -4
- package/dist/{vue-ui-tiremarks-CNhB7Iqe.js → vue-ui-tiremarks-BcXrnO0N.js} +71 -71
- package/dist/vue-ui-tiremarks-C8pNPR_E.cjs +1 -0
- package/dist/vue-ui-treemap-24TuOX-H.cjs +1 -0
- package/dist/{vue-ui-treemap-C4memkYu.js → vue-ui-treemap-CVCaxcwW.js} +89 -82
- package/dist/{vue-ui-vertical-bar-LZ-GMZ2T.js → vue-ui-vertical-bar-Cuz2Qxi6.js} +246 -242
- package/dist/vue-ui-vertical-bar-kZxc3vG5.cjs +4 -0
- package/dist/{vue-ui-waffle-Cd4IU62n.js → vue-ui-waffle-BVFZf7mm.js} +44 -44
- package/dist/{vue-ui-waffle-CtY5CSX9.cjs → vue-ui-waffle-X-mNfs6F.cjs} +1 -1
- package/dist/{vue-ui-wheel-Do3pWPFB.cjs → vue-ui-wheel-CWOh-9CT.cjs} +1 -1
- package/dist/{vue-ui-wheel-CaEAQhJt.js → vue-ui-wheel-SUtbKs4l.js} +5 -5
- package/dist/vue-ui-word-cloud-BE_jkp2h.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BSalPYqO.js → vue-ui-word-cloud-DAa0far7.js} +68 -65
- package/dist/vue-ui-xy-BTocPMsA.cjs +3 -0
- package/dist/{vue-ui-xy-C7tpVpGu.js → vue-ui-xy-B_dmMYPU.js} +82 -82
- package/dist/vue-ui-xy-canvas-BtuD8xjy.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-rHcYmvec.js → vue-ui-xy-canvas-jq1j84oA.js} +122 -121
- package/package.json +1 -1
- package/dist/Slicer-PPS43jOo.cjs +0 -1
- package/dist/vue-ui-age-pyramid-Ce3DbeqC.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BWvrYKlH.cjs +0 -1
- package/dist/vue-ui-dumbbell-2Lsks-8o.cjs +0 -9
- package/dist/vue-ui-flow-DBhdVKxF.cjs +0 -1
- package/dist/vue-ui-flow-DSdWqWgh.js +0 -465
- package/dist/vue-ui-galaxy-BMsdd9Rh.cjs +0 -1
- package/dist/vue-ui-gauge-fVk9B_1W.cjs +0 -1
- package/dist/vue-ui-heatmap-DFpSo2gr.cjs +0 -1
- package/dist/vue-ui-quick-chart-DsVFRO68.cjs +0 -15
- package/dist/vue-ui-radar-lcS6n5TC.cjs +0 -1
- package/dist/vue-ui-rings-DxqSAs9h.cjs +0 -2
- package/dist/vue-ui-spark-trend-B9PR0wxN.js +0 -251
- package/dist/vue-ui-spark-trend-Kj1bJmBL.cjs +0 -1
- package/dist/vue-ui-sparkgauge-SlYA1lqc.cjs +0 -1
- package/dist/vue-ui-strip-plot-Da_TQpOq.cjs +0 -1
- package/dist/vue-ui-thermometer-coTC0T6k.cjs +0 -1
- package/dist/vue-ui-tiremarks-DgbTo_Cb.cjs +0 -1
- package/dist/vue-ui-treemap-B5moKzuO.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DtkGW5Tk.cjs +0 -4
- package/dist/vue-ui-word-cloud-pzaBe3Et.cjs +0 -1
- package/dist/vue-ui-xy-BgLF5ZNP.cjs +0 -3
- package/dist/vue-ui-xy-canvas-OuDGiOOW.cjs +0 -9
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { computed as h, ref as v, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { S as
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
const
|
|
1
|
+
import { computed as h, ref as v, onMounted as Fe, onBeforeUnmount as Le, openBlock as s, createElementBlock as u, normalizeClass as he, normalizeStyle as Y, createVNode as q, createCommentVNode as y, createBlock as U, unref as p, createSlots as Re, withCtx as b, renderSlot as x, normalizeProps as F, guardReactiveProps as L, createElementVNode as n, Fragment as N, renderList as S, toDisplayString as R, createTextVNode as Ve, nextTick as Ie } from "vue";
|
|
2
|
+
import { u as Be, c as Oe, t as Pe, o as Me, e as C, B as Ue, s as V, X as De, v as D, C as Ee, w as We, x as Ge, y as Xe, q as je, r as He, D as pe } from "./index-BshV7sX1.js";
|
|
3
|
+
import { t as Ye, u as qe } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as Je } from "./Title-fb3BzoXj.js";
|
|
5
|
+
import { u as Ke, U as Qe } from "./usePrinter-Culo-aKo.js";
|
|
6
|
+
import { _ as Ze } from "./Tooltip-CBugtvWB.js";
|
|
7
|
+
import { D as et } from "./DataTable-luIjNnne.js";
|
|
8
|
+
import tt from "./vue-ui-skeleton-7qakoAGH.js";
|
|
9
|
+
import { S as lt } from "./Slicer-iGmqxtRQ.js";
|
|
10
|
+
import ot from "./vue-ui-accordion-B6AxEnAr.js";
|
|
11
|
+
import { u as ge } from "./useNestedProp-B235bkr5.js";
|
|
12
|
+
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt = ["stop-color"], dt = ["stop-color"], vt = ["stop-color"], yt = ["id"], ct = ["stop-color"], ht = ["stop-color"], pt = ["stop-color"], gt = { key: 0 }, ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xt = { key: 1 }, mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kt = ["x", "y", "font-size", "fill", "font-weight"], wt = { key: 2 }, $t = ["transform", "text-anchor", "font-size", "fill", "font-weight"], _t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ct = { key: 0 }, Nt = ["cx", "cy", "r", "fill"], St = ["cx", "cy", "r", "fill"], zt = { key: 1 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = ["x", "y", "height", "width", "fill", "rx"], Lt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Rt = ["x", "y", "height", "width", "fill", "onMouseover"], Vt = {
|
|
14
14
|
key: 3,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
16
|
+
}, It = ["innerHTML"], Bt = {
|
|
17
17
|
__name: "vue-ui-candlestick",
|
|
18
18
|
props: {
|
|
19
19
|
config: {
|
|
@@ -29,15 +29,15 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
setup($, { expose:
|
|
33
|
-
const k = $, { vue_ui_candlestick:
|
|
34
|
-
const l =
|
|
32
|
+
setup($, { expose: fe }) {
|
|
33
|
+
const k = $, { vue_ui_candlestick: be } = Be(), z = h(() => !!k.dataset && k.dataset.length), m = v(Oe()), xe = v(null), E = v(!1), W = v(""), G = v(void 0), J = v(0), K = v(0), T = v(null), Q = v(null), Z = v(null), ee = v(null), e = h(() => {
|
|
34
|
+
const l = ge({
|
|
35
35
|
userConfig: k.config,
|
|
36
|
-
defaultConfig:
|
|
36
|
+
defaultConfig: be
|
|
37
37
|
});
|
|
38
38
|
return l.theme ? {
|
|
39
|
-
...
|
|
40
|
-
userConfig:
|
|
39
|
+
...ge({
|
|
40
|
+
userConfig: Pe.vue_ui_candlestick[l.theme] || k.config,
|
|
41
41
|
defaultConfig: l
|
|
42
42
|
})
|
|
43
43
|
} : l;
|
|
@@ -46,26 +46,26 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
46
46
|
width: e.value.style.width,
|
|
47
47
|
xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
48
48
|
yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
49
|
-
}),
|
|
50
|
-
|
|
51
|
-
if (
|
|
49
|
+
}), I = v(null);
|
|
50
|
+
Fe(() => {
|
|
51
|
+
if (Me(k.dataset) && C({
|
|
52
52
|
componentName: "VueUiCandlestick",
|
|
53
53
|
type: "dataset"
|
|
54
54
|
}), e.value.responsive) {
|
|
55
|
-
const l =
|
|
56
|
-
const { width: a, height: t } =
|
|
55
|
+
const l = Ye(() => {
|
|
56
|
+
const { width: a, height: t } = qe({
|
|
57
57
|
chart: T.value,
|
|
58
|
-
title: e.value.style.title.text ?
|
|
59
|
-
slicer:
|
|
60
|
-
legend:
|
|
58
|
+
title: e.value.style.title.text ? Q.value : null,
|
|
59
|
+
slicer: ee.value,
|
|
60
|
+
legend: Z.value
|
|
61
61
|
});
|
|
62
|
-
d.value.width = a, d.value.height = t, d.value.xAxisFontSize =
|
|
62
|
+
d.value.width = a, d.value.height = t, d.value.xAxisFontSize = pe({
|
|
63
63
|
relator: Math.min(a, t),
|
|
64
64
|
adjuster: e.value.style.width,
|
|
65
65
|
source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
66
66
|
threshold: 6,
|
|
67
67
|
fallback: 6
|
|
68
|
-
}), d.value.yAxisFontSize =
|
|
68
|
+
}), d.value.yAxisFontSize = pe({
|
|
69
69
|
relator: Math.min(a, t),
|
|
70
70
|
adjuster: e.value.style.width,
|
|
71
71
|
source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
@@ -73,12 +73,12 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
73
73
|
fallback: 6
|
|
74
74
|
});
|
|
75
75
|
});
|
|
76
|
-
|
|
76
|
+
I.value = new ResizeObserver(l), I.value.observe(T.value.parentNode);
|
|
77
77
|
}
|
|
78
|
-
}),
|
|
79
|
-
|
|
78
|
+
}), Le(() => {
|
|
79
|
+
I.value && I.value.disconnect();
|
|
80
80
|
});
|
|
81
|
-
const { isPrinting:
|
|
81
|
+
const { isPrinting: te, isImaging: le, generatePdf: oe, generateImage: ae } = Ke({
|
|
82
82
|
elementId: `vue-ui-candlestick_${m.value}`,
|
|
83
83
|
fileName: e.value.style.title.text || "vue-ui-candlestick"
|
|
84
84
|
}), w = v({
|
|
@@ -94,10 +94,10 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
94
94
|
width: d.value.width - o - a,
|
|
95
95
|
height: d.value.height - l - t
|
|
96
96
|
};
|
|
97
|
-
}),
|
|
97
|
+
}), X = h(() => k.dataset.length), c = v({
|
|
98
98
|
start: 0,
|
|
99
|
-
end:
|
|
100
|
-
}),
|
|
99
|
+
end: X.value
|
|
100
|
+
}), se = h(() => k.dataset.slice(c.value.start, c.value.end)), j = h(() => (k.dataset.forEach((l, a) => {
|
|
101
101
|
[null, void 0].includes(l[0]) && C({
|
|
102
102
|
componentName: "VueUiCandlestick",
|
|
103
103
|
type: "datasetAttribute",
|
|
@@ -129,53 +129,53 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
129
129
|
property: "volume (index 5)",
|
|
130
130
|
index: a
|
|
131
131
|
});
|
|
132
|
-
}),
|
|
132
|
+
}), se.value.map((l) => ({
|
|
133
133
|
period: l[0],
|
|
134
134
|
open: l[1],
|
|
135
135
|
high: l[2],
|
|
136
136
|
low: l[3],
|
|
137
137
|
last: l[4],
|
|
138
138
|
volume: l[5]
|
|
139
|
-
})))), r = h(() => i.value.width /
|
|
140
|
-
max: Math.max(...
|
|
139
|
+
})))), r = h(() => i.value.width / se.value.length), ue = h(() => ({
|
|
140
|
+
max: Math.max(...j.value.map((l) => l.high)),
|
|
141
141
|
min: 0
|
|
142
|
-
})), _ = h(() =>
|
|
143
|
-
function
|
|
142
|
+
})), _ = h(() => Ue(ue.value.min, ue.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
143
|
+
function B(l, a) {
|
|
144
144
|
return {
|
|
145
145
|
...l,
|
|
146
|
-
x: i.value.left + a * r.value + r.value / 2,
|
|
147
|
-
y: i.value.top + (1 - l / _.value.max) * i.value.height,
|
|
148
|
-
value: l
|
|
146
|
+
x: V(i.value.left + a * r.value + r.value / 2),
|
|
147
|
+
y: V(i.value.top + (1 - l / _.value.max) * i.value.height),
|
|
148
|
+
value: V(l)
|
|
149
149
|
};
|
|
150
150
|
}
|
|
151
|
-
const g = h(() =>
|
|
152
|
-
const t =
|
|
151
|
+
const g = h(() => j.value.map((l, a) => {
|
|
152
|
+
const t = B(l.open, a), o = B(l.high, a), f = B(l.low, a), P = B(l.last, a), M = l.last > l.open;
|
|
153
153
|
return {
|
|
154
154
|
period: l.period,
|
|
155
155
|
open: t,
|
|
156
156
|
high: o,
|
|
157
157
|
low: f,
|
|
158
|
-
last:
|
|
158
|
+
last: P,
|
|
159
159
|
volume: l.volume,
|
|
160
|
-
isBullish:
|
|
160
|
+
isBullish: M
|
|
161
161
|
};
|
|
162
162
|
}));
|
|
163
|
-
function
|
|
164
|
-
return l / _.value.max;
|
|
163
|
+
function me(l) {
|
|
164
|
+
return V(l / _.value.max);
|
|
165
165
|
}
|
|
166
|
-
const
|
|
167
|
-
y: i.value.bottom - i.value.height *
|
|
168
|
-
value: l
|
|
169
|
-
}))),
|
|
170
|
-
function
|
|
171
|
-
|
|
166
|
+
const ke = h(() => _.value.ticks.map((l) => ({
|
|
167
|
+
y: i.value.bottom - i.value.height * me(l),
|
|
168
|
+
value: V(l)
|
|
169
|
+
}))), we = h(() => j.value.map((l) => l.period)), H = v(null);
|
|
170
|
+
function $e(l, a) {
|
|
171
|
+
G.value = l, H.value = {
|
|
172
172
|
datapoint: a,
|
|
173
173
|
seriesIndex: l,
|
|
174
174
|
series: g.value,
|
|
175
175
|
config: e.value
|
|
176
176
|
};
|
|
177
177
|
const t = e.value.style.tooltip.customFormat;
|
|
178
|
-
if (
|
|
178
|
+
if (Ge(t) && Xe(() => t({
|
|
179
179
|
seriesIndex: l,
|
|
180
180
|
datapoint: a,
|
|
181
181
|
series: g.value,
|
|
@@ -189,20 +189,20 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
189
189
|
});
|
|
190
190
|
else if (e.value.style.tooltip.show) {
|
|
191
191
|
let o = "";
|
|
192
|
-
const { period: f, open:
|
|
192
|
+
const { period: f, open: P, high: M, low: de, last: ve, volume: ye, isBullish: ce } = g.value[l], { period: Ot, open: Ne, high: Se, low: ze, last: Te, volume: Ae } = e.value.translations;
|
|
193
193
|
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}"
|
|
194
|
-
fill="${e.value.style.layout.candle.gradient.show ?
|
|
194
|
+
fill="${e.value.style.layout.candle.gradient.show ? ce ? `url(#bullish_gradient_${m.value})` : `url(#bearish_gradient_${m.value})` : ce ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${f}</div>`, o += `${Ae} : <b>${isNaN(ye) ? "-" : Number(ye.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>${Ne}: <b>${e.value.style.tooltip.prefix} ${isNaN(P.value) ? "-" : Number(P.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Se}: <b>${e.value.style.tooltip.prefix} ${isNaN(M.value) ? "-" : Number(M.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${ze}: <b>${e.value.style.tooltip.prefix} ${isNaN(de.value) ? "-" : Number(de.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Te}: <b>${e.value.style.tooltip.prefix} ${isNaN(ve.value) ? "-" : Number(ve.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += "</div>", W.value = `<div style="text-align:right">${o}</div>`;
|
|
195
195
|
}
|
|
196
196
|
E.value = !0;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function _e() {
|
|
199
199
|
c.value = {
|
|
200
200
|
start: 0,
|
|
201
|
-
end:
|
|
202
|
-
},
|
|
201
|
+
end: X.value
|
|
202
|
+
}, K.value += 1;
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
|
|
204
|
+
function ie() {
|
|
205
|
+
Ie(() => {
|
|
206
206
|
const l = [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 = g.value.map((f) => [
|
|
207
207
|
f.period,
|
|
208
208
|
f.open.value,
|
|
@@ -210,11 +210,11 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
210
210
|
f.low.value,
|
|
211
211
|
f.last.value,
|
|
212
212
|
f.volume
|
|
213
|
-
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(a), o =
|
|
214
|
-
|
|
213
|
+
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(a), o = je(t);
|
|
214
|
+
He({ csvContent: o, title: e.value.style.title.text || "vue-ui-candlestick" });
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
|
-
const
|
|
217
|
+
const O = h(() => {
|
|
218
218
|
const l = g.value.map((o) => [
|
|
219
219
|
`<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_${m.value}` : `url(#bearish_gradient_${m.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${o.period}`,
|
|
220
220
|
`${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}`,
|
|
@@ -244,35 +244,35 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
244
244
|
];
|
|
245
245
|
return { head: t, body: l, config: a, colNames: t };
|
|
246
246
|
}), A = v(!1);
|
|
247
|
-
function
|
|
248
|
-
A.value = l,
|
|
247
|
+
function Ce(l) {
|
|
248
|
+
A.value = l, J.value += 1;
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function ne() {
|
|
251
251
|
w.value.showTable = !w.value.showTable;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function re() {
|
|
254
254
|
w.value.showTooltip = !w.value.showTooltip;
|
|
255
255
|
}
|
|
256
|
-
return
|
|
257
|
-
generatePdf:
|
|
258
|
-
generateCsv:
|
|
259
|
-
generateImage:
|
|
260
|
-
toggleTable:
|
|
261
|
-
toggleTooltip:
|
|
256
|
+
return fe({
|
|
257
|
+
generatePdf: oe,
|
|
258
|
+
generateCsv: ie,
|
|
259
|
+
generateImage: ae,
|
|
260
|
+
toggleTable: ne,
|
|
261
|
+
toggleTooltip: re
|
|
262
262
|
}), (l, a) => (s(), u("div", {
|
|
263
263
|
ref_key: "candlestickChart",
|
|
264
264
|
ref: T,
|
|
265
|
-
class:
|
|
266
|
-
style:
|
|
265
|
+
class: he(`vue-ui-candlestick ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
266
|
+
style: Y(`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%" : ""}`),
|
|
267
267
|
id: `vue-ui-candlestick_${m.value}`
|
|
268
268
|
}, [
|
|
269
269
|
e.value.style.title.text ? (s(), u("div", {
|
|
270
270
|
key: 0,
|
|
271
271
|
ref_key: "chartTitle",
|
|
272
|
-
ref:
|
|
273
|
-
style:
|
|
272
|
+
ref: Q,
|
|
273
|
+
style: Y(`width:100%;background:${e.value.style.backgroundColor}`)
|
|
274
274
|
}, [
|
|
275
|
-
|
|
275
|
+
q(Je, {
|
|
276
276
|
config: {
|
|
277
277
|
title: {
|
|
278
278
|
cy: "candlestick-div-title",
|
|
@@ -285,14 +285,14 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
285
285
|
}
|
|
286
286
|
}, null, 8, ["config"])
|
|
287
287
|
], 4)) : y("", !0),
|
|
288
|
-
e.value.userOptions.show && z.value ? (s(),
|
|
288
|
+
e.value.userOptions.show && z.value ? (s(), U(Qe, {
|
|
289
289
|
ref_key: "details",
|
|
290
|
-
ref:
|
|
291
|
-
key: `user_options_${
|
|
290
|
+
ref: xe,
|
|
291
|
+
key: `user_options_${J.value}`,
|
|
292
292
|
backgroundColor: e.value.style.backgroundColor,
|
|
293
293
|
color: e.value.style.color,
|
|
294
|
-
isImaging: p(
|
|
295
|
-
isPrinting: p(
|
|
294
|
+
isImaging: p(le),
|
|
295
|
+
isPrinting: p(te),
|
|
296
296
|
uid: m.value,
|
|
297
297
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
298
298
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -304,13 +304,13 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
304
304
|
isTooltip: w.value.showTooltip,
|
|
305
305
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
306
306
|
chartElement: T.value,
|
|
307
|
-
onToggleFullscreen:
|
|
308
|
-
onGeneratePdf: p(
|
|
309
|
-
onGenerateCsv:
|
|
310
|
-
onGenerateImage: p(
|
|
311
|
-
onToggleTable:
|
|
312
|
-
onToggleTooltip:
|
|
313
|
-
},
|
|
307
|
+
onToggleFullscreen: Ce,
|
|
308
|
+
onGeneratePdf: p(oe),
|
|
309
|
+
onGenerateCsv: ie,
|
|
310
|
+
onGenerateImage: p(ae),
|
|
311
|
+
onToggleTable: ne,
|
|
312
|
+
onToggleTooltip: re
|
|
313
|
+
}, Re({ _: 2 }, [
|
|
314
314
|
l.$slots.optionTooltip ? {
|
|
315
315
|
name: "optionTooltip",
|
|
316
316
|
fn: b(() => [
|
|
@@ -356,12 +356,12 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
356
356
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
357
357
|
z.value ? (s(), u("svg", {
|
|
358
358
|
key: 2,
|
|
359
|
-
xmlns: p(
|
|
360
|
-
class:
|
|
359
|
+
xmlns: p(De),
|
|
360
|
+
class: he({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
|
|
361
361
|
viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
|
|
362
|
-
style:
|
|
362
|
+
style: Y(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
|
|
363
363
|
}, [
|
|
364
|
-
g.value.length > 0 ? (s(), u("g",
|
|
364
|
+
g.value.length > 0 ? (s(), u("g", it, [
|
|
365
365
|
n("defs", null, [
|
|
366
366
|
n("linearGradient", {
|
|
367
367
|
id: `bearish_gradient_${m.value}`,
|
|
@@ -371,16 +371,16 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
371
371
|
n("stop", {
|
|
372
372
|
offset: "0%",
|
|
373
373
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
374
|
-
}, null, 8,
|
|
374
|
+
}, null, 8, rt),
|
|
375
375
|
n("stop", {
|
|
376
376
|
offset: "50%",
|
|
377
|
-
"stop-color": `${p(
|
|
378
|
-
}, null, 8,
|
|
377
|
+
"stop-color": `${p(D)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
378
|
+
}, null, 8, dt),
|
|
379
379
|
n("stop", {
|
|
380
380
|
offset: "100%",
|
|
381
|
-
"stop-color": `${p(
|
|
382
|
-
}, null, 8,
|
|
383
|
-
], 8,
|
|
381
|
+
"stop-color": `${p(D)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
382
|
+
}, null, 8, vt)
|
|
383
|
+
], 8, nt),
|
|
384
384
|
n("linearGradient", {
|
|
385
385
|
id: `bullish_gradient_${m.value}`,
|
|
386
386
|
x2: "0%",
|
|
@@ -389,18 +389,18 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
389
389
|
n("stop", {
|
|
390
390
|
offset: "0%",
|
|
391
391
|
"stop-color": e.value.style.layout.candle.colors.bullish
|
|
392
|
-
}, null, 8,
|
|
392
|
+
}, null, 8, ct),
|
|
393
393
|
n("stop", {
|
|
394
394
|
offset: "50%",
|
|
395
|
-
"stop-color": `${p(
|
|
396
|
-
}, null, 8,
|
|
395
|
+
"stop-color": `${p(D)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
396
|
+
}, null, 8, ht),
|
|
397
397
|
n("stop", {
|
|
398
398
|
offset: "100%",
|
|
399
|
-
"stop-color": `${p(
|
|
400
|
-
}, null, 8,
|
|
401
|
-
], 8,
|
|
399
|
+
"stop-color": `${p(D)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
400
|
+
}, null, 8, pt)
|
|
401
|
+
], 8, yt)
|
|
402
402
|
]),
|
|
403
|
-
e.value.style.layout.grid.show ? (s(), u("g",
|
|
403
|
+
e.value.style.layout.grid.show ? (s(), u("g", gt, [
|
|
404
404
|
n("line", {
|
|
405
405
|
x1: i.value.left,
|
|
406
406
|
x2: i.value.left,
|
|
@@ -409,7 +409,7 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
409
409
|
stroke: e.value.style.layout.grid.stroke,
|
|
410
410
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
411
411
|
"stroke-linecap": "round"
|
|
412
|
-
}, null, 8,
|
|
412
|
+
}, null, 8, ft),
|
|
413
413
|
n("line", {
|
|
414
414
|
x1: i.value.left,
|
|
415
415
|
x2: i.value.right,
|
|
@@ -418,10 +418,10 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
418
418
|
stroke: e.value.style.layout.grid.stroke,
|
|
419
419
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
420
420
|
"stroke-linecap": "round"
|
|
421
|
-
}, null, 8,
|
|
421
|
+
}, null, 8, bt)
|
|
422
422
|
])) : y("", !0),
|
|
423
|
-
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g",
|
|
424
|
-
(s(!0), u(N, null, S(
|
|
423
|
+
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", xt, [
|
|
424
|
+
(s(!0), u(N, null, S(ke.value, (t, o) => (s(), u("g", null, [
|
|
425
425
|
t.value >= _.value.min && t.value <= _.value.max ? (s(), u("line", {
|
|
426
426
|
key: 0,
|
|
427
427
|
x1: i.value.left,
|
|
@@ -431,7 +431,7 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
431
431
|
stroke: e.value.style.layout.grid.stroke,
|
|
432
432
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
433
433
|
"stroke-linecap": "round"
|
|
434
|
-
}, null, 8,
|
|
434
|
+
}, null, 8, mt)) : y("", !0),
|
|
435
435
|
t.value >= _.value.min && t.value <= _.value.max ? (s(), u("text", {
|
|
436
436
|
key: 1,
|
|
437
437
|
x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
@@ -440,18 +440,18 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
440
440
|
"text-anchor": "end",
|
|
441
441
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
442
442
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
443
|
-
}, R(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + R(p(Ee)(t.value) ? t.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + R(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9,
|
|
443
|
+
}, R(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + R(p(Ee)(t.value) ? t.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + R(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, kt)) : y("", !0)
|
|
444
444
|
]))), 256))
|
|
445
445
|
])) : y("", !0),
|
|
446
|
-
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g",
|
|
447
|
-
(s(!0), u(N, null, S(
|
|
446
|
+
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", wt, [
|
|
447
|
+
(s(!0), u(N, null, S(we.value, (t, o) => (s(), u("g", null, [
|
|
448
448
|
n("text", {
|
|
449
449
|
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})`,
|
|
450
450
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
451
451
|
"font-size": d.value.xAxisFontSize,
|
|
452
452
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
453
453
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
454
|
-
}, R(t), 9,
|
|
454
|
+
}, R(t), 9, $t)
|
|
455
455
|
]))), 256))
|
|
456
456
|
])) : y("", !0),
|
|
457
457
|
n("g", null, [
|
|
@@ -464,22 +464,22 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
464
464
|
stroke: e.value.style.layout.wick.stroke,
|
|
465
465
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
466
466
|
"stroke-linecap": "round"
|
|
467
|
-
}, null, 8,
|
|
468
|
-
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g",
|
|
467
|
+
}, null, 8, _t),
|
|
468
|
+
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Ct, [
|
|
469
469
|
n("circle", {
|
|
470
470
|
cx: t.high.x,
|
|
471
471
|
cy: t.high.y,
|
|
472
472
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
473
473
|
fill: e.value.style.layout.wick.extremity.color
|
|
474
|
-
}, null, 8,
|
|
474
|
+
}, null, 8, Nt),
|
|
475
475
|
n("circle", {
|
|
476
476
|
cx: t.low.x,
|
|
477
477
|
cy: t.low.y,
|
|
478
478
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
479
479
|
fill: e.value.style.layout.wick.extremity.color
|
|
480
|
-
}, null, 8,
|
|
480
|
+
}, null, 8, St)
|
|
481
481
|
])) : y("", !0),
|
|
482
|
-
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g",
|
|
482
|
+
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", zt, [
|
|
483
483
|
n("line", {
|
|
484
484
|
x1: t.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,
|
|
485
485
|
x2: t.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,
|
|
@@ -488,7 +488,7 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
488
488
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
489
489
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
490
490
|
"stroke-linecap": "round"
|
|
491
|
-
}, null, 8,
|
|
491
|
+
}, null, 8, Tt),
|
|
492
492
|
n("line", {
|
|
493
493
|
x1: t.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,
|
|
494
494
|
x2: t.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,
|
|
@@ -497,7 +497,7 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
497
497
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
498
498
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
499
499
|
"stroke-linecap": "round"
|
|
500
|
-
}, null, 8,
|
|
500
|
+
}, null, 8, At)
|
|
501
501
|
])) : y("", !0)
|
|
502
502
|
]))), 256))
|
|
503
503
|
]),
|
|
@@ -510,7 +510,7 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
510
510
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
511
511
|
rx: e.value.style.layout.candle.borderRadius,
|
|
512
512
|
stroke: "none"
|
|
513
|
-
}, null, 8,
|
|
513
|
+
}, null, 8, Ft))), 256)),
|
|
514
514
|
(s(!0), u(N, null, S(g.value, (t, o) => (s(), u("rect", {
|
|
515
515
|
x: t.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
516
516
|
y: t.isBullish ? t.last.y : t.open.y,
|
|
@@ -522,7 +522,7 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
522
522
|
"stroke-width": e.value.style.layout.candle.strokeWidth,
|
|
523
523
|
"stroke-linecap": "round",
|
|
524
524
|
"stroke-linejoin": "round"
|
|
525
|
-
}, null, 8,
|
|
525
|
+
}, null, 8, Lt))), 256))
|
|
526
526
|
]),
|
|
527
527
|
n("g", null, [
|
|
528
528
|
(s(!0), u(N, null, S(g.value, (t, o) => (s(), u("rect", {
|
|
@@ -530,20 +530,20 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
530
530
|
y: i.value.top,
|
|
531
531
|
height: i.value.height <= 0 ? 1e-4 : i.value.height,
|
|
532
532
|
width: r.value <= 0 ? 1e-4 : r.value,
|
|
533
|
-
fill:
|
|
534
|
-
onMouseover: (f) =>
|
|
533
|
+
fill: G.value === o ? `${e.value.style.layout.selector.color}${p(We)[e.value.style.layout.selector.opacity]}` : "transparent",
|
|
534
|
+
onMouseover: (f) => $e(o, t),
|
|
535
535
|
onMouseleave: a[0] || (a[0] = (f) => {
|
|
536
|
-
|
|
536
|
+
G.value = void 0, E.value = !1;
|
|
537
537
|
})
|
|
538
|
-
}, null, 40,
|
|
538
|
+
}, null, 40, Rt))), 256))
|
|
539
539
|
])
|
|
540
540
|
])) : y("", !0),
|
|
541
541
|
x(l.$slots, "svg", { svg: d.value }, void 0, !0)
|
|
542
|
-
], 14,
|
|
543
|
-
l.$slots.watermark ? (s(), u("div",
|
|
544
|
-
x(l.$slots, "watermark", F(L({ isPrinting: p(
|
|
542
|
+
], 14, ut)) : y("", !0),
|
|
543
|
+
l.$slots.watermark ? (s(), u("div", Vt, [
|
|
544
|
+
x(l.$slots, "watermark", F(L({ isPrinting: p(te) || p(le) })), void 0, !0)
|
|
545
545
|
])) : y("", !0),
|
|
546
|
-
z.value ? y("", !0) : (s(),
|
|
546
|
+
z.value ? y("", !0) : (s(), U(tt, {
|
|
547
547
|
key: 4,
|
|
548
548
|
config: {
|
|
549
549
|
type: "candlesticks",
|
|
@@ -563,10 +563,10 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
563
563
|
e.value.style.zoom.show && z.value ? (s(), u("div", {
|
|
564
564
|
key: 5,
|
|
565
565
|
ref_key: "chartSlicer",
|
|
566
|
-
ref:
|
|
566
|
+
ref: ee
|
|
567
567
|
}, [
|
|
568
|
-
(s(),
|
|
569
|
-
key: `slicer_${
|
|
568
|
+
(s(), U(lt, {
|
|
569
|
+
key: `slicer_${K.value}`,
|
|
570
570
|
background: e.value.style.zoom.color,
|
|
571
571
|
borderColor: e.value.style.backgroundColor,
|
|
572
572
|
fontSize: e.value.style.zoom.fontSize,
|
|
@@ -576,7 +576,7 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
576
576
|
textColor: e.value.style.color,
|
|
577
577
|
inputColor: e.value.style.zoom.color,
|
|
578
578
|
selectColor: e.value.style.zoom.highlightColor,
|
|
579
|
-
max:
|
|
579
|
+
max: X.value,
|
|
580
580
|
min: 0,
|
|
581
581
|
valueStart: c.value.start,
|
|
582
582
|
valueEnd: c.value.end,
|
|
@@ -584,7 +584,7 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
584
584
|
"onUpdate:start": a[1] || (a[1] = (t) => c.value.start = t),
|
|
585
585
|
end: c.value.end,
|
|
586
586
|
"onUpdate:end": a[2] || (a[2] = (t) => c.value.end = t),
|
|
587
|
-
onReset:
|
|
587
|
+
onReset: _e
|
|
588
588
|
}, {
|
|
589
589
|
"reset-action": b(({ reset: t }) => [
|
|
590
590
|
x(l.$slots, "reset-action", F(L({ reset: t })), void 0, !0)
|
|
@@ -594,11 +594,11 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
594
594
|
], 512)) : y("", !0),
|
|
595
595
|
n("div", {
|
|
596
596
|
ref_key: "chartLegend",
|
|
597
|
-
ref:
|
|
597
|
+
ref: Z
|
|
598
598
|
}, [
|
|
599
599
|
x(l.$slots, "legend", { legend: g.value }, void 0, !0)
|
|
600
600
|
], 512),
|
|
601
|
-
|
|
601
|
+
q(Ze, {
|
|
602
602
|
show: w.value.showTooltip && E.value,
|
|
603
603
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
604
604
|
color: e.value.style.tooltip.color,
|
|
@@ -614,14 +614,14 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
614
614
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
615
615
|
}, {
|
|
616
616
|
"tooltip-before": b(() => [
|
|
617
|
-
x(l.$slots, "tooltip-before", F(L({ ...
|
|
617
|
+
x(l.$slots, "tooltip-before", F(L({ ...H.value })), void 0, !0)
|
|
618
618
|
]),
|
|
619
619
|
"tooltip-after": b(() => [
|
|
620
|
-
x(l.$slots, "tooltip-after", F(L({ ...
|
|
620
|
+
x(l.$slots, "tooltip-after", F(L({ ...H.value })), void 0, !0)
|
|
621
621
|
]),
|
|
622
622
|
_: 3
|
|
623
623
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
624
|
-
z.value ? (s(),
|
|
624
|
+
z.value ? (s(), U(ot, {
|
|
625
625
|
key: 6,
|
|
626
626
|
hideDetails: "",
|
|
627
627
|
config: {
|
|
@@ -638,28 +638,28 @@ const at = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, it = ["id"], nt =
|
|
|
638
638
|
}
|
|
639
639
|
}, {
|
|
640
640
|
content: b(() => [
|
|
641
|
-
|
|
642
|
-
colNames:
|
|
643
|
-
head:
|
|
644
|
-
body:
|
|
645
|
-
config:
|
|
641
|
+
q(et, {
|
|
642
|
+
colNames: O.value.colNames,
|
|
643
|
+
head: O.value.head,
|
|
644
|
+
body: O.value.body,
|
|
645
|
+
config: O.value.config,
|
|
646
646
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
647
647
|
onClose: a[3] || (a[3] = (t) => w.value.showTable = !1)
|
|
648
648
|
}, {
|
|
649
649
|
th: b(({ th: t }) => [
|
|
650
|
-
|
|
650
|
+
Ve(R(t), 1)
|
|
651
651
|
]),
|
|
652
652
|
td: b(({ td: t }) => [
|
|
653
|
-
n("div", { innerHTML: t }, null, 8,
|
|
653
|
+
n("div", { innerHTML: t }, null, 8, It)
|
|
654
654
|
]),
|
|
655
655
|
_: 1
|
|
656
656
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
657
657
|
]),
|
|
658
658
|
_: 1
|
|
659
659
|
}, 8, ["config"])) : y("", !0)
|
|
660
|
-
], 14,
|
|
660
|
+
], 14, st));
|
|
661
661
|
}
|
|
662
|
-
},
|
|
662
|
+
}, Jt = /* @__PURE__ */ at(Bt, [["__scopeId", "data-v-1e4cee2b"]]);
|
|
663
663
|
export {
|
|
664
|
-
|
|
664
|
+
Jt as default
|
|
665
665
|
};
|