vue-data-ui 2.4.1 → 2.4.3
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/README.md +44 -44
- package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
- package/dist/BaseIcon-uALK38Ov.cjs +1 -0
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
- package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +22 -17
- package/dist/types/vue-data-ui.d.ts +22 -17
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/usePrinter-CSRFnDBU.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
- package/dist/vue-data-ui-Bduq4f2p.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
- package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
- package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
- package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
- package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
- package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
- package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
- package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
- package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
- package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
- package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
- package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
- package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
- package/package.json +1 -1
- package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
- package/dist/index-C7_6YjWN.cjs +0 -9
- package/dist/usePrinter-8EP4iaGm.cjs +0 -1
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
- package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
- package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
- package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
- package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
- package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
- package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
- package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
- package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
- package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
- package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
- package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
- package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
- package/dist/vue-ui-gauge-BXiy515T.js +0 -494
- package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
- package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
- package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
- package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
- package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
- package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
- package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
- package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
- package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
- package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
- package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
- package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
- package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
- package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
- package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
- package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
- package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
- package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
- package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
- package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
- package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
- package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
- package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
- package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
- package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
- package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
- package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
- package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
- package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
- package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
- package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
- package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
- package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
- package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
- package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
- package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
- package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { computed 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
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { computed as p, ref as v, watch as me, onMounted as Me, onBeforeUnmount as Ue, openBlock as s, createElementBlock as u, normalizeClass as xe, normalizeStyle as ke, createBlock as _, createCommentVNode as y, unref as f, createSlots as Ee, withCtx as g, renderSlot as h, normalizeProps as A, guardReactiveProps as z, createVNode as we, createElementVNode as n, Fragment as T, renderList as F, toDisplayString as V, createTextVNode as De, nextTick as We } from "vue";
|
|
2
|
+
import { u as Ge, c as Xe, t as je, o as He, e as N, C as Ye, v as I, X as qe, w as W, D as Je, s as Ke, x as Qe, y as Ze, q as et, r as tt, E as $e } from "./index-Bya_q1J-.js";
|
|
3
|
+
import { t as lt, u as ot } from "./useResponsive-BY8tgM1n.js";
|
|
4
|
+
import { _ as at } from "./Title-C5pIfQAz.js";
|
|
5
|
+
import { u as st, U as ut } from "./usePrinter-CiHd1FwD.js";
|
|
6
|
+
import { _ as it } from "./Tooltip-Cz24YLfw.js";
|
|
7
|
+
import { D as nt } from "./DataTable-DYqC2pqu.js";
|
|
8
|
+
import rt from "./vue-ui-skeleton-BYssP0K4.js";
|
|
9
|
+
import { S as vt } from "./Slicer-TfpN2Cr4.js";
|
|
10
|
+
import dt from "./vue-ui-accordion-DfUfL2dI.js";
|
|
11
|
+
import { u as Ce } from "./useNestedProp-B33hazbH.js";
|
|
12
|
+
import { _ as yt } from "./PackageVersion-VkaUzgmt.js";
|
|
13
|
+
import { P as ct } from "./PenAndPaper-DAZYA8Ew.js";
|
|
14
|
+
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt = ["stop-color"], xt = ["stop-color"], kt = ["stop-color"], wt = ["id"], $t = ["stop-color"], Ct = ["stop-color"], _t = ["stop-color"], Nt = { key: 0 }, St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = { key: 1 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Lt = { key: 2 }, Rt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = { key: 0 }, Ot = ["cx", "cy", "r", "fill"], Pt = ["cx", "cy", "r", "fill"], Bt = { key: 1 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x", "y", "height", "width", "fill", "rx"], Dt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Wt = ["x", "y", "height", "width", "fill", "onMouseover"], Gt = {
|
|
16
|
+
key: 4,
|
|
16
17
|
class: "vue-data-ui-watermark"
|
|
17
|
-
},
|
|
18
|
+
}, Xt = ["innerHTML"], jt = {
|
|
18
19
|
__name: "vue-ui-candlestick",
|
|
19
20
|
props: {
|
|
20
21
|
config: {
|
|
@@ -30,56 +31,57 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
|
-
setup($, { expose:
|
|
34
|
-
const k = $, { vue_ui_candlestick:
|
|
35
|
-
get: () =>
|
|
34
|
+
setup($, { expose: _e }) {
|
|
35
|
+
const k = $, { vue_ui_candlestick: Ne } = Ge(), L = p(() => !!k.dataset && k.dataset.length), x = v(Xe()), Se = v(null), G = v(!1), X = v(""), j = v(void 0), K = v(0), S = v(null), Q = v(null), Z = v(null), ee = v(null), te = v(null), O = v(0), le = v(0), oe = v(0), e = p({
|
|
36
|
+
get: () => ae(),
|
|
36
37
|
set: (t) => t
|
|
37
38
|
});
|
|
38
|
-
function
|
|
39
|
-
const t =
|
|
39
|
+
function ae() {
|
|
40
|
+
const t = Ce({
|
|
40
41
|
userConfig: k.config,
|
|
41
|
-
defaultConfig:
|
|
42
|
+
defaultConfig: Ne
|
|
42
43
|
});
|
|
43
44
|
return t.theme ? {
|
|
44
|
-
...
|
|
45
|
-
userConfig:
|
|
45
|
+
...Ce({
|
|
46
|
+
userConfig: je.vue_ui_candlestick[t.theme] || k.config,
|
|
46
47
|
defaultConfig: t
|
|
47
48
|
})
|
|
48
49
|
} : t;
|
|
49
50
|
}
|
|
50
|
-
|
|
51
|
-
e.value =
|
|
52
|
-
}, { deep: !0 }),
|
|
53
|
-
|
|
51
|
+
me(() => k.config, (t) => {
|
|
52
|
+
e.value = ae(), se(), O.value += 1, oe.value += 1, le.value += 1;
|
|
53
|
+
}, { deep: !0 }), me(() => k.dataset, (t) => {
|
|
54
|
+
c.value.start = 0, c.value.end = t.length, O.value += 1;
|
|
54
55
|
}, { deep: !0 });
|
|
55
56
|
const d = v({
|
|
56
57
|
height: e.value.style.height,
|
|
57
58
|
width: e.value.style.width,
|
|
58
59
|
xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
59
60
|
yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
60
|
-
}),
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
}), P = v(null);
|
|
62
|
+
Me(() => {
|
|
63
|
+
se();
|
|
63
64
|
});
|
|
64
|
-
function
|
|
65
|
-
if (
|
|
65
|
+
function se() {
|
|
66
|
+
if (He(k.dataset) && N({
|
|
66
67
|
componentName: "VueUiCandlestick",
|
|
67
68
|
type: "dataset"
|
|
68
69
|
}), e.value.responsive) {
|
|
69
|
-
const t =
|
|
70
|
-
const { width: a, height: l } =
|
|
71
|
-
chart:
|
|
72
|
-
title: e.value.style.title.text ?
|
|
73
|
-
slicer:
|
|
74
|
-
legend:
|
|
70
|
+
const t = lt(() => {
|
|
71
|
+
const { width: a, height: l } = ot({
|
|
72
|
+
chart: S.value,
|
|
73
|
+
title: e.value.style.title.text ? Q.value : null,
|
|
74
|
+
slicer: ee.value,
|
|
75
|
+
legend: Z.value,
|
|
76
|
+
source: te.value
|
|
75
77
|
});
|
|
76
|
-
d.value.width = a, d.value.height = l, d.value.xAxisFontSize =
|
|
78
|
+
d.value.width = a, d.value.height = l, d.value.xAxisFontSize = $e({
|
|
77
79
|
relator: Math.min(a, l),
|
|
78
80
|
adjuster: e.value.style.width,
|
|
79
81
|
source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
80
82
|
threshold: 6,
|
|
81
83
|
fallback: 6
|
|
82
|
-
}), d.value.yAxisFontSize =
|
|
84
|
+
}), d.value.yAxisFontSize = $e({
|
|
83
85
|
relator: Math.min(a, l),
|
|
84
86
|
adjuster: e.value.style.width,
|
|
85
87
|
source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
@@ -87,19 +89,19 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
87
89
|
fallback: 6
|
|
88
90
|
});
|
|
89
91
|
});
|
|
90
|
-
|
|
92
|
+
P.value = new ResizeObserver(t), P.value.observe(S.value.parentNode);
|
|
91
93
|
}
|
|
92
94
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
Ue(() => {
|
|
96
|
+
P.value && P.value.disconnect();
|
|
95
97
|
});
|
|
96
|
-
const { isPrinting:
|
|
98
|
+
const { isPrinting: ue, isImaging: ie, generatePdf: ne, generateImage: re } = st({
|
|
97
99
|
elementId: `vue-ui-candlestick_${x.value}`,
|
|
98
100
|
fileName: e.value.style.title.text || "vue-ui-candlestick"
|
|
99
101
|
}), w = v({
|
|
100
102
|
showTable: e.value.table.show,
|
|
101
103
|
showTooltip: e.value.style.tooltip.show
|
|
102
|
-
}), i =
|
|
104
|
+
}), i = p(() => {
|
|
103
105
|
const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding;
|
|
104
106
|
return {
|
|
105
107
|
top: t,
|
|
@@ -109,128 +111,128 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
109
111
|
width: d.value.width - o - a,
|
|
110
112
|
height: d.value.height - t - l
|
|
111
113
|
};
|
|
112
|
-
}),
|
|
114
|
+
}), H = p(() => k.dataset.length), c = v({
|
|
113
115
|
start: 0,
|
|
114
|
-
end:
|
|
115
|
-
}),
|
|
116
|
-
[null, void 0].includes(t[0]) &&
|
|
116
|
+
end: H.value
|
|
117
|
+
}), ve = p(() => k.dataset.slice(c.value.start, c.value.end)), Y = p(() => (k.dataset.forEach((t, a) => {
|
|
118
|
+
[null, void 0].includes(t[0]) && N({
|
|
117
119
|
componentName: "VueUiCandlestick",
|
|
118
120
|
type: "datasetAttribute",
|
|
119
121
|
property: "period (index 0)",
|
|
120
122
|
index: a
|
|
121
|
-
}), [null, void 0].includes(t[1]) &&
|
|
123
|
+
}), [null, void 0].includes(t[1]) && N({
|
|
122
124
|
componentName: "VueUiCandlestick",
|
|
123
125
|
type: "datasetAttribute",
|
|
124
126
|
property: "open (index 1)",
|
|
125
127
|
index: a
|
|
126
|
-
}), [null, void 0].includes(t[2]) &&
|
|
128
|
+
}), [null, void 0].includes(t[2]) && N({
|
|
127
129
|
componentName: "VueUiCandlestick",
|
|
128
130
|
type: "datasetAttribute",
|
|
129
131
|
property: "high (index 2)",
|
|
130
132
|
index: a
|
|
131
|
-
}), [null, void 0].includes(t[3]) &&
|
|
133
|
+
}), [null, void 0].includes(t[3]) && N({
|
|
132
134
|
componentName: "VueUiCandlestick",
|
|
133
135
|
type: "datasetAttribute",
|
|
134
136
|
property: "low (index 3)",
|
|
135
137
|
index: a
|
|
136
|
-
}), [null, void 0].includes(t[4]) &&
|
|
138
|
+
}), [null, void 0].includes(t[4]) && N({
|
|
137
139
|
componentName: "VueUiCandlestick",
|
|
138
140
|
type: "datasetAttribute",
|
|
139
141
|
property: "last (index 4)",
|
|
140
142
|
index: a
|
|
141
|
-
}), [null, void 0].includes(t[5]) &&
|
|
143
|
+
}), [null, void 0].includes(t[5]) && N({
|
|
142
144
|
componentName: "VueUiCandlestick",
|
|
143
145
|
type: "datasetAttribute",
|
|
144
146
|
property: "volume (index 5)",
|
|
145
147
|
index: a
|
|
146
148
|
});
|
|
147
|
-
}),
|
|
149
|
+
}), ve.value.map((t) => ({
|
|
148
150
|
period: t[0],
|
|
149
151
|
open: t[1],
|
|
150
152
|
high: t[2],
|
|
151
153
|
low: t[3],
|
|
152
154
|
last: t[4],
|
|
153
155
|
volume: t[5]
|
|
154
|
-
})))), r =
|
|
155
|
-
max: Math.max(...
|
|
156
|
+
})))), r = p(() => i.value.width / ve.value.length), de = p(() => ({
|
|
157
|
+
max: Math.max(...Y.value.map((t) => t.high)),
|
|
156
158
|
min: 0
|
|
157
|
-
})),
|
|
158
|
-
function
|
|
159
|
+
})), C = p(() => Ye(de.value.min, de.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
160
|
+
function B(t, a) {
|
|
159
161
|
return {
|
|
160
162
|
...t,
|
|
161
163
|
x: I(i.value.left + a * r.value + r.value / 2),
|
|
162
|
-
y: I(i.value.top + (1 - t /
|
|
164
|
+
y: I(i.value.top + (1 - t / C.value.max) * i.value.height),
|
|
163
165
|
value: I(t)
|
|
164
166
|
};
|
|
165
167
|
}
|
|
166
|
-
const
|
|
167
|
-
const l =
|
|
168
|
+
const b = p(() => Y.value.map((t, a) => {
|
|
169
|
+
const l = B(t.open, a), o = B(t.high, a), m = B(t.low, a), E = B(t.last, a), D = t.last > t.open;
|
|
168
170
|
return {
|
|
169
171
|
period: t.period,
|
|
170
172
|
open: l,
|
|
171
173
|
high: o,
|
|
172
|
-
low:
|
|
173
|
-
last:
|
|
174
|
+
low: m,
|
|
175
|
+
last: E,
|
|
174
176
|
volume: t.volume,
|
|
175
|
-
isBullish:
|
|
177
|
+
isBullish: D
|
|
176
178
|
};
|
|
177
179
|
}));
|
|
178
|
-
function
|
|
179
|
-
return I(t /
|
|
180
|
+
function Ae(t) {
|
|
181
|
+
return I(t / C.value.max);
|
|
180
182
|
}
|
|
181
|
-
const
|
|
182
|
-
y: i.value.bottom - i.value.height *
|
|
183
|
+
const ze = p(() => C.value.ticks.map((t) => ({
|
|
184
|
+
y: i.value.bottom - i.value.height * Ae(t),
|
|
183
185
|
value: I(t)
|
|
184
|
-
}))),
|
|
185
|
-
function
|
|
186
|
-
|
|
186
|
+
}))), Te = p(() => Y.value.map((t) => t.period)), q = v(null);
|
|
187
|
+
function Fe(t, a) {
|
|
188
|
+
j.value = t, q.value = {
|
|
187
189
|
datapoint: a,
|
|
188
190
|
seriesIndex: t,
|
|
189
|
-
series:
|
|
191
|
+
series: b.value,
|
|
190
192
|
config: e.value
|
|
191
193
|
};
|
|
192
194
|
const l = e.value.style.tooltip.customFormat;
|
|
193
|
-
if (
|
|
195
|
+
if (Qe(l) && Ze(() => l({
|
|
194
196
|
seriesIndex: t,
|
|
195
197
|
datapoint: a,
|
|
196
|
-
series:
|
|
198
|
+
series: b.value,
|
|
197
199
|
config: e.value
|
|
198
200
|
})))
|
|
199
|
-
|
|
201
|
+
X.value = l({
|
|
200
202
|
seriesIndex: t,
|
|
201
203
|
datapoint: a,
|
|
202
|
-
series:
|
|
204
|
+
series: b.value,
|
|
203
205
|
config: e.value
|
|
204
206
|
});
|
|
205
207
|
else if (e.value.style.tooltip.show) {
|
|
206
208
|
let o = "";
|
|
207
|
-
const { period:
|
|
209
|
+
const { period: m, open: E, high: D, low: pe, last: fe, volume: ge, isBullish: be } = b.value[t], { period: Ht, open: Ve, high: Ie, low: Oe, last: Pe, volume: Be } = e.value.translations;
|
|
208
210
|
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}"
|
|
209
|
-
fill="${e.value.style.layout.candle.gradient.show ?
|
|
211
|
+
fill="${e.value.style.layout.candle.gradient.show ? be ? `url(#bullish_gradient_${x.value})` : `url(#bearish_gradient_${x.value})` : be ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${m}</div>`, o += `${Be} : <b>${isNaN(ge) ? "-" : Number(ge.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>${Ve}: <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>${Ie}: <b>${e.value.style.tooltip.prefix} ${isNaN(D.value) ? "-" : Number(D.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Oe}: <b>${e.value.style.tooltip.prefix} ${isNaN(pe.value) ? "-" : Number(pe.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Pe}: <b>${e.value.style.tooltip.prefix} ${isNaN(fe.value) ? "-" : Number(fe.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += "</div>", X.value = `<div style="text-align:right">${o}</div>`;
|
|
210
212
|
}
|
|
211
|
-
|
|
213
|
+
G.value = !0;
|
|
212
214
|
}
|
|
213
|
-
function
|
|
214
|
-
|
|
215
|
+
function Le() {
|
|
216
|
+
c.value = {
|
|
215
217
|
start: 0,
|
|
216
|
-
end:
|
|
218
|
+
end: H.value
|
|
217
219
|
}, O.value += 1;
|
|
218
220
|
}
|
|
219
|
-
function
|
|
220
|
-
|
|
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 =
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o =
|
|
229
|
-
|
|
221
|
+
function ye() {
|
|
222
|
+
We(() => {
|
|
223
|
+
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 = b.value.map((m) => [
|
|
224
|
+
m.period,
|
|
225
|
+
m.open.value,
|
|
226
|
+
m.high.value,
|
|
227
|
+
m.low.value,
|
|
228
|
+
m.last.value,
|
|
229
|
+
m.volume
|
|
230
|
+
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o = et(l);
|
|
231
|
+
tt({ csvContent: o, title: e.value.style.title.text || "vue-ui-candlestick" });
|
|
230
232
|
});
|
|
231
233
|
}
|
|
232
|
-
const M =
|
|
233
|
-
const t =
|
|
234
|
+
const M = p(() => {
|
|
235
|
+
const t = b.value.map((o) => [
|
|
234
236
|
`<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}`,
|
|
235
237
|
`${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}`,
|
|
236
238
|
`${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}`,
|
|
@@ -258,37 +260,50 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
258
260
|
e.value.translations.volume
|
|
259
261
|
];
|
|
260
262
|
return { head: l, body: t, config: a, colNames: l };
|
|
261
|
-
}),
|
|
262
|
-
function
|
|
263
|
-
|
|
263
|
+
}), R = v(!1);
|
|
264
|
+
function Re(t) {
|
|
265
|
+
R.value = t, K.value += 1;
|
|
264
266
|
}
|
|
265
|
-
function
|
|
267
|
+
function ce() {
|
|
266
268
|
w.value.showTable = !w.value.showTable;
|
|
267
269
|
}
|
|
268
|
-
function
|
|
270
|
+
function he() {
|
|
269
271
|
w.value.showTooltip = !w.value.showTooltip;
|
|
270
272
|
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
273
|
+
const U = v(!1);
|
|
274
|
+
function J() {
|
|
275
|
+
U.value = !U.value;
|
|
276
|
+
}
|
|
277
|
+
return _e({
|
|
278
|
+
generatePdf: ne,
|
|
279
|
+
generateCsv: ye,
|
|
280
|
+
generateImage: re,
|
|
281
|
+
toggleTable: ce,
|
|
282
|
+
toggleTooltip: he,
|
|
283
|
+
toggleAnnotator: J
|
|
277
284
|
}), (t, a) => (s(), u("div", {
|
|
278
285
|
ref_key: "candlestickChart",
|
|
279
|
-
ref:
|
|
280
|
-
class:
|
|
281
|
-
style:
|
|
286
|
+
ref: S,
|
|
287
|
+
class: xe(`vue-ui-candlestick ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
288
|
+
style: ke(`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%" : ""}`),
|
|
282
289
|
id: `vue-ui-candlestick_${x.value}`
|
|
283
290
|
}, [
|
|
284
|
-
e.value.
|
|
291
|
+
e.value.userOptions.buttons.annotator ? (s(), _(ct, {
|
|
285
292
|
key: 0,
|
|
293
|
+
parent: S.value,
|
|
294
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
295
|
+
color: e.value.style.color,
|
|
296
|
+
active: U.value,
|
|
297
|
+
onClose: J
|
|
298
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
299
|
+
e.value.style.title.text ? (s(), u("div", {
|
|
300
|
+
key: 1,
|
|
286
301
|
ref_key: "chartTitle",
|
|
287
|
-
ref:
|
|
302
|
+
ref: Q,
|
|
288
303
|
style: "width:100%;background:transparent"
|
|
289
304
|
}, [
|
|
290
|
-
(s(),
|
|
291
|
-
key: `title_${
|
|
305
|
+
(s(), _(at, {
|
|
306
|
+
key: `title_${oe.value}`,
|
|
292
307
|
config: {
|
|
293
308
|
title: {
|
|
294
309
|
cy: "candlestick-div-title",
|
|
@@ -300,15 +315,15 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
300
315
|
}
|
|
301
316
|
}
|
|
302
317
|
}, null, 8, ["config"]))
|
|
303
|
-
], 512)) :
|
|
304
|
-
e.value.userOptions.show &&
|
|
318
|
+
], 512)) : y("", !0),
|
|
319
|
+
e.value.userOptions.show && L.value ? (s(), _(ut, {
|
|
305
320
|
ref_key: "details",
|
|
306
|
-
ref:
|
|
307
|
-
key: `user_options_${
|
|
321
|
+
ref: Se,
|
|
322
|
+
key: `user_options_${K.value}`,
|
|
308
323
|
backgroundColor: e.value.style.backgroundColor,
|
|
309
324
|
color: e.value.style.color,
|
|
310
|
-
isImaging:
|
|
311
|
-
isPrinting:
|
|
325
|
+
isImaging: f(ie),
|
|
326
|
+
isPrinting: f(ue),
|
|
312
327
|
uid: x.value,
|
|
313
328
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
314
329
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -316,70 +331,80 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
316
331
|
hasXls: e.value.userOptions.buttons.csv,
|
|
317
332
|
hasTable: e.value.userOptions.buttons.table,
|
|
318
333
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
319
|
-
isFullscreen:
|
|
334
|
+
isFullscreen: R.value,
|
|
320
335
|
isTooltip: w.value.showTooltip,
|
|
321
336
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
322
|
-
chartElement:
|
|
337
|
+
chartElement: S.value,
|
|
323
338
|
position: e.value.userOptions.position,
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
339
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
340
|
+
isAnnotation: U.value,
|
|
341
|
+
onToggleFullscreen: Re,
|
|
342
|
+
onGeneratePdf: f(ne),
|
|
343
|
+
onGenerateCsv: ye,
|
|
344
|
+
onGenerateImage: f(re),
|
|
345
|
+
onToggleTable: ce,
|
|
346
|
+
onToggleTooltip: he,
|
|
347
|
+
onToggleAnnotator: J
|
|
348
|
+
}, Ee({ _: 2 }, [
|
|
331
349
|
t.$slots.optionTooltip ? {
|
|
332
350
|
name: "optionTooltip",
|
|
333
|
-
fn:
|
|
334
|
-
|
|
351
|
+
fn: g(() => [
|
|
352
|
+
h(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
335
353
|
]),
|
|
336
354
|
key: "0"
|
|
337
355
|
} : void 0,
|
|
338
356
|
t.$slots.optionPdf ? {
|
|
339
357
|
name: "optionPdf",
|
|
340
|
-
fn:
|
|
341
|
-
|
|
358
|
+
fn: g(() => [
|
|
359
|
+
h(t.$slots, "optionPdf", {}, void 0, !0)
|
|
342
360
|
]),
|
|
343
361
|
key: "1"
|
|
344
362
|
} : void 0,
|
|
345
363
|
t.$slots.optionCsv ? {
|
|
346
364
|
name: "optionCsv",
|
|
347
|
-
fn:
|
|
348
|
-
|
|
365
|
+
fn: g(() => [
|
|
366
|
+
h(t.$slots, "optionCsv", {}, void 0, !0)
|
|
349
367
|
]),
|
|
350
368
|
key: "2"
|
|
351
369
|
} : void 0,
|
|
352
370
|
t.$slots.optionImg ? {
|
|
353
371
|
name: "optionImg",
|
|
354
|
-
fn:
|
|
355
|
-
|
|
372
|
+
fn: g(() => [
|
|
373
|
+
h(t.$slots, "optionImg", {}, void 0, !0)
|
|
356
374
|
]),
|
|
357
375
|
key: "3"
|
|
358
376
|
} : void 0,
|
|
359
377
|
t.$slots.optionTable ? {
|
|
360
378
|
name: "optionTable",
|
|
361
|
-
fn:
|
|
362
|
-
|
|
379
|
+
fn: g(() => [
|
|
380
|
+
h(t.$slots, "optionTable", {}, void 0, !0)
|
|
363
381
|
]),
|
|
364
382
|
key: "4"
|
|
365
383
|
} : void 0,
|
|
366
384
|
t.$slots.optionFullscreen ? {
|
|
367
385
|
name: "optionFullscreen",
|
|
368
|
-
fn:
|
|
369
|
-
|
|
386
|
+
fn: g(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
387
|
+
h(t.$slots, "optionFullscreen", A(z({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
370
388
|
]),
|
|
371
389
|
key: "5"
|
|
390
|
+
} : void 0,
|
|
391
|
+
t.$slots.optionAnnotator ? {
|
|
392
|
+
name: "optionAnnotator",
|
|
393
|
+
fn: g(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
394
|
+
h(t.$slots, "optionAnnotator", A(z({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
395
|
+
]),
|
|
396
|
+
key: "6"
|
|
372
397
|
} : void 0
|
|
373
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) :
|
|
374
|
-
|
|
375
|
-
key:
|
|
376
|
-
xmlns:
|
|
377
|
-
class:
|
|
398
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
399
|
+
L.value ? (s(), u("svg", {
|
|
400
|
+
key: 3,
|
|
401
|
+
xmlns: f(qe),
|
|
402
|
+
class: xe({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
378
403
|
viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
|
|
379
|
-
style:
|
|
404
|
+
style: ke(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
380
405
|
}, [
|
|
381
|
-
|
|
382
|
-
|
|
406
|
+
we(yt),
|
|
407
|
+
b.value.length > 0 ? (s(), u("g", gt, [
|
|
383
408
|
n("defs", null, [
|
|
384
409
|
n("linearGradient", {
|
|
385
410
|
id: `bearish_gradient_${x.value}`,
|
|
@@ -389,16 +414,16 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
389
414
|
n("stop", {
|
|
390
415
|
offset: "0%",
|
|
391
416
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
392
|
-
}, null, 8,
|
|
417
|
+
}, null, 8, mt),
|
|
393
418
|
n("stop", {
|
|
394
419
|
offset: "50%",
|
|
395
|
-
"stop-color": `${
|
|
396
|
-
}, null, 8,
|
|
420
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
421
|
+
}, null, 8, xt),
|
|
397
422
|
n("stop", {
|
|
398
423
|
offset: "100%",
|
|
399
|
-
"stop-color": `${
|
|
400
|
-
}, null, 8,
|
|
401
|
-
], 8,
|
|
424
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
425
|
+
}, null, 8, kt)
|
|
426
|
+
], 8, bt),
|
|
402
427
|
n("linearGradient", {
|
|
403
428
|
id: `bullish_gradient_${x.value}`,
|
|
404
429
|
x2: "0%",
|
|
@@ -407,18 +432,18 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
407
432
|
n("stop", {
|
|
408
433
|
offset: "0%",
|
|
409
434
|
"stop-color": e.value.style.layout.candle.colors.bullish
|
|
410
|
-
}, null, 8,
|
|
435
|
+
}, null, 8, $t),
|
|
411
436
|
n("stop", {
|
|
412
437
|
offset: "50%",
|
|
413
|
-
"stop-color": `${
|
|
414
|
-
}, null, 8,
|
|
438
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
439
|
+
}, null, 8, Ct),
|
|
415
440
|
n("stop", {
|
|
416
441
|
offset: "100%",
|
|
417
|
-
"stop-color": `${
|
|
418
|
-
}, null, 8,
|
|
419
|
-
], 8,
|
|
442
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
443
|
+
}, null, 8, _t)
|
|
444
|
+
], 8, wt)
|
|
420
445
|
]),
|
|
421
|
-
e.value.style.layout.grid.show ? (s(), u("g",
|
|
446
|
+
e.value.style.layout.grid.show ? (s(), u("g", Nt, [
|
|
422
447
|
n("line", {
|
|
423
448
|
x1: i.value.left,
|
|
424
449
|
x2: i.value.left,
|
|
@@ -427,7 +452,7 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
427
452
|
stroke: e.value.style.layout.grid.stroke,
|
|
428
453
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
429
454
|
"stroke-linecap": "round"
|
|
430
|
-
}, null, 8,
|
|
455
|
+
}, null, 8, St),
|
|
431
456
|
n("line", {
|
|
432
457
|
x1: i.value.left,
|
|
433
458
|
x2: i.value.right,
|
|
@@ -436,11 +461,11 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
436
461
|
stroke: e.value.style.layout.grid.stroke,
|
|
437
462
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
438
463
|
"stroke-linecap": "round"
|
|
439
|
-
}, null, 8,
|
|
440
|
-
])) :
|
|
441
|
-
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g",
|
|
442
|
-
(s(!0), u(
|
|
443
|
-
l.value >=
|
|
464
|
+
}, null, 8, At)
|
|
465
|
+
])) : y("", !0),
|
|
466
|
+
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", zt, [
|
|
467
|
+
(s(!0), u(T, null, F(ze.value, (l, o) => (s(), u("g", null, [
|
|
468
|
+
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("line", {
|
|
444
469
|
key: 0,
|
|
445
470
|
x1: i.value.left,
|
|
446
471
|
x2: i.value.left - 5,
|
|
@@ -449,8 +474,8 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
449
474
|
stroke: e.value.style.layout.grid.stroke,
|
|
450
475
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
451
476
|
"stroke-linecap": "round"
|
|
452
|
-
}, null, 8,
|
|
453
|
-
l.value >=
|
|
477
|
+
}, null, 8, Tt)) : y("", !0),
|
|
478
|
+
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("text", {
|
|
454
479
|
key: 1,
|
|
455
480
|
x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
456
481
|
y: l.y + d.value.yAxisFontSize / 3,
|
|
@@ -458,22 +483,22 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
458
483
|
"text-anchor": "end",
|
|
459
484
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
460
485
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
461
|
-
}, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(
|
|
486
|
+
}, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(f(Je)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + V(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Ft)) : y("", !0)
|
|
462
487
|
]))), 256))
|
|
463
|
-
])) :
|
|
464
|
-
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g",
|
|
465
|
-
(s(!0), u(
|
|
488
|
+
])) : y("", !0),
|
|
489
|
+
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", Lt, [
|
|
490
|
+
(s(!0), u(T, null, F(Te.value, (l, o) => (s(), u("g", null, [
|
|
466
491
|
n("text", {
|
|
467
492
|
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})`,
|
|
468
493
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
469
494
|
"font-size": d.value.xAxisFontSize,
|
|
470
495
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
471
496
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
472
|
-
}, V(l), 9,
|
|
497
|
+
}, V(l), 9, Rt)
|
|
473
498
|
]))), 256))
|
|
474
|
-
])) :
|
|
499
|
+
])) : y("", !0),
|
|
475
500
|
n("g", null, [
|
|
476
|
-
(s(!0), u(
|
|
501
|
+
(s(!0), u(T, null, F(b.value, (l, o) => (s(), u("g", null, [
|
|
477
502
|
n("line", {
|
|
478
503
|
x1: l.open.x,
|
|
479
504
|
x2: l.open.x,
|
|
@@ -482,22 +507,22 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
482
507
|
stroke: e.value.style.layout.wick.stroke,
|
|
483
508
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
484
509
|
"stroke-linecap": "round"
|
|
485
|
-
}, null, 8,
|
|
486
|
-
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g",
|
|
510
|
+
}, null, 8, Vt),
|
|
511
|
+
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", It, [
|
|
487
512
|
n("circle", {
|
|
488
513
|
cx: l.high.x,
|
|
489
514
|
cy: l.high.y,
|
|
490
515
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
491
516
|
fill: e.value.style.layout.wick.extremity.color
|
|
492
|
-
}, null, 8,
|
|
517
|
+
}, null, 8, Ot),
|
|
493
518
|
n("circle", {
|
|
494
519
|
cx: l.low.x,
|
|
495
520
|
cy: l.low.y,
|
|
496
521
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
497
522
|
fill: e.value.style.layout.wick.extremity.color
|
|
498
|
-
}, null, 8,
|
|
499
|
-
])) :
|
|
500
|
-
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g",
|
|
523
|
+
}, null, 8, Pt)
|
|
524
|
+
])) : y("", !0),
|
|
525
|
+
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Bt, [
|
|
501
526
|
n("line", {
|
|
502
527
|
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,
|
|
503
528
|
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,
|
|
@@ -506,7 +531,7 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
506
531
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
507
532
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
508
533
|
"stroke-linecap": "round"
|
|
509
|
-
}, null, 8,
|
|
534
|
+
}, null, 8, Mt),
|
|
510
535
|
n("line", {
|
|
511
536
|
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,
|
|
512
537
|
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,
|
|
@@ -515,12 +540,12 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
515
540
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
516
541
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
517
542
|
"stroke-linecap": "round"
|
|
518
|
-
}, null, 8,
|
|
519
|
-
])) :
|
|
543
|
+
}, null, 8, Ut)
|
|
544
|
+
])) : y("", !0)
|
|
520
545
|
]))), 256))
|
|
521
546
|
]),
|
|
522
547
|
n("g", null, [
|
|
523
|
-
(s(!0), u(
|
|
548
|
+
(s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
|
|
524
549
|
x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
525
550
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
526
551
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
@@ -528,8 +553,8 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
528
553
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
529
554
|
rx: e.value.style.layout.candle.borderRadius,
|
|
530
555
|
stroke: "none"
|
|
531
|
-
}, null, 8,
|
|
532
|
-
(s(!0), u(
|
|
556
|
+
}, null, 8, Et))), 256)),
|
|
557
|
+
(s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
|
|
533
558
|
x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
534
559
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
535
560
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
@@ -540,29 +565,29 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
540
565
|
"stroke-width": e.value.style.layout.candle.strokeWidth,
|
|
541
566
|
"stroke-linecap": "round",
|
|
542
567
|
"stroke-linejoin": "round"
|
|
543
|
-
}, null, 8,
|
|
568
|
+
}, null, 8, Dt))), 256))
|
|
544
569
|
]),
|
|
545
570
|
n("g", null, [
|
|
546
|
-
(s(!0), u(
|
|
571
|
+
(s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
|
|
547
572
|
x: i.value.left + o * r.value,
|
|
548
573
|
y: i.value.top,
|
|
549
574
|
height: i.value.height <= 0 ? 1e-4 : i.value.height,
|
|
550
575
|
width: r.value <= 0 ? 1e-4 : r.value,
|
|
551
|
-
fill:
|
|
552
|
-
onMouseover: (
|
|
553
|
-
onMouseleave: a[0] || (a[0] = (
|
|
554
|
-
|
|
576
|
+
fill: j.value === o ? f(Ke)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
|
|
577
|
+
onMouseover: (m) => Fe(o, l),
|
|
578
|
+
onMouseleave: a[0] || (a[0] = (m) => {
|
|
579
|
+
j.value = void 0, G.value = !1;
|
|
555
580
|
})
|
|
556
|
-
}, null, 40,
|
|
581
|
+
}, null, 40, Wt))), 256))
|
|
557
582
|
])
|
|
558
|
-
])) :
|
|
559
|
-
|
|
560
|
-
], 14,
|
|
561
|
-
t.$slots.watermark ? (s(), u("div",
|
|
562
|
-
|
|
563
|
-
])) :
|
|
564
|
-
|
|
565
|
-
key:
|
|
583
|
+
])) : y("", !0),
|
|
584
|
+
h(t.$slots, "svg", { svg: d.value }, void 0, !0)
|
|
585
|
+
], 14, ft)) : y("", !0),
|
|
586
|
+
t.$slots.watermark ? (s(), u("div", Gt, [
|
|
587
|
+
h(t.$slots, "watermark", A(z({ isPrinting: f(ue) || f(ie) })), void 0, !0)
|
|
588
|
+
])) : y("", !0),
|
|
589
|
+
L.value ? y("", !0) : (s(), _(rt, {
|
|
590
|
+
key: 5,
|
|
566
591
|
config: {
|
|
567
592
|
type: "candlesticks",
|
|
568
593
|
style: {
|
|
@@ -578,46 +603,54 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
578
603
|
}
|
|
579
604
|
}
|
|
580
605
|
}, null, 8, ["config"])),
|
|
581
|
-
e.value.style.zoom.show &&
|
|
582
|
-
key:
|
|
606
|
+
e.value.style.zoom.show && L.value ? (s(), u("div", {
|
|
607
|
+
key: 6,
|
|
583
608
|
ref_key: "chartSlicer",
|
|
584
|
-
ref:
|
|
609
|
+
ref: ee
|
|
585
610
|
}, [
|
|
586
|
-
(s(),
|
|
611
|
+
(s(), _(vt, {
|
|
587
612
|
key: `slicer_${O.value}`,
|
|
588
613
|
background: e.value.style.zoom.color,
|
|
589
614
|
borderColor: e.value.style.backgroundColor,
|
|
590
615
|
fontSize: e.value.style.zoom.fontSize,
|
|
591
616
|
useResetSlot: e.value.style.zoom.useResetSlot,
|
|
592
|
-
labelLeft: $.dataset[
|
|
593
|
-
labelRight: $.dataset[
|
|
617
|
+
labelLeft: $.dataset[c.value.start] ? $.dataset[c.value.start][0] : $.dataset[0][0],
|
|
618
|
+
labelRight: $.dataset[c.value.end - 1] ? $.dataset[c.value.end - 1][0] : $.dataset.at(-1)[0],
|
|
594
619
|
textColor: e.value.style.color,
|
|
595
620
|
inputColor: e.value.style.zoom.color,
|
|
596
621
|
selectColor: e.value.style.zoom.highlightColor,
|
|
597
|
-
max:
|
|
622
|
+
max: H.value,
|
|
598
623
|
min: 0,
|
|
599
|
-
valueStart:
|
|
600
|
-
valueEnd:
|
|
601
|
-
start:
|
|
602
|
-
"onUpdate:start": a[1] || (a[1] = (l) =>
|
|
603
|
-
end:
|
|
604
|
-
"onUpdate:end": a[2] || (a[2] = (l) =>
|
|
605
|
-
onReset:
|
|
624
|
+
valueStart: c.value.start,
|
|
625
|
+
valueEnd: c.value.end,
|
|
626
|
+
start: c.value.start,
|
|
627
|
+
"onUpdate:start": a[1] || (a[1] = (l) => c.value.start = l),
|
|
628
|
+
end: c.value.end,
|
|
629
|
+
"onUpdate:end": a[2] || (a[2] = (l) => c.value.end = l),
|
|
630
|
+
onReset: Le
|
|
606
631
|
}, {
|
|
607
|
-
"reset-action":
|
|
608
|
-
|
|
632
|
+
"reset-action": g(({ reset: l }) => [
|
|
633
|
+
h(t.$slots, "reset-action", A(z({ reset: l })), void 0, !0)
|
|
609
634
|
]),
|
|
610
635
|
_: 3
|
|
611
636
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"]))
|
|
612
|
-
], 512)) :
|
|
637
|
+
], 512)) : y("", !0),
|
|
613
638
|
n("div", {
|
|
614
639
|
ref_key: "chartLegend",
|
|
615
|
-
ref:
|
|
640
|
+
ref: Z
|
|
616
641
|
}, [
|
|
617
|
-
|
|
642
|
+
h(t.$slots, "legend", { legend: b.value }, void 0, !0)
|
|
618
643
|
], 512),
|
|
619
|
-
|
|
620
|
-
|
|
644
|
+
t.$slots.source ? (s(), u("div", {
|
|
645
|
+
key: 7,
|
|
646
|
+
ref_key: "source",
|
|
647
|
+
ref: te,
|
|
648
|
+
dir: "auto"
|
|
649
|
+
}, [
|
|
650
|
+
h(t.$slots, "source", {}, void 0, !0)
|
|
651
|
+
], 512)) : y("", !0),
|
|
652
|
+
we(it, {
|
|
653
|
+
show: w.value.showTooltip && G.value,
|
|
621
654
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
622
655
|
color: e.value.style.tooltip.color,
|
|
623
656
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -627,20 +660,20 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
627
660
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
628
661
|
position: e.value.style.tooltip.position,
|
|
629
662
|
offsetY: e.value.style.tooltip.offsetY,
|
|
630
|
-
parent:
|
|
631
|
-
content:
|
|
663
|
+
parent: S.value,
|
|
664
|
+
content: X.value,
|
|
632
665
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
633
666
|
}, {
|
|
634
|
-
"tooltip-before":
|
|
635
|
-
|
|
667
|
+
"tooltip-before": g(() => [
|
|
668
|
+
h(t.$slots, "tooltip-before", A(z({ ...q.value })), void 0, !0)
|
|
636
669
|
]),
|
|
637
|
-
"tooltip-after":
|
|
638
|
-
|
|
670
|
+
"tooltip-after": g(() => [
|
|
671
|
+
h(t.$slots, "tooltip-after", A(z({ ...q.value })), void 0, !0)
|
|
639
672
|
]),
|
|
640
673
|
_: 3
|
|
641
674
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
642
|
-
|
|
643
|
-
key:
|
|
675
|
+
L.value ? (s(), _(dt, {
|
|
676
|
+
key: 8,
|
|
644
677
|
hideDetails: "",
|
|
645
678
|
config: {
|
|
646
679
|
open: w.value.showTable,
|
|
@@ -655,9 +688,9 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
655
688
|
}
|
|
656
689
|
}
|
|
657
690
|
}, {
|
|
658
|
-
content:
|
|
659
|
-
(s(),
|
|
660
|
-
key: `table_${
|
|
691
|
+
content: g(() => [
|
|
692
|
+
(s(), _(nt, {
|
|
693
|
+
key: `table_${le.value}`,
|
|
661
694
|
colNames: M.value.colNames,
|
|
662
695
|
head: M.value.head,
|
|
663
696
|
body: M.value.body,
|
|
@@ -665,20 +698,20 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
665
698
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
666
699
|
onClose: a[3] || (a[3] = (l) => w.value.showTable = !1)
|
|
667
700
|
}, {
|
|
668
|
-
th:
|
|
669
|
-
|
|
701
|
+
th: g(({ th: l }) => [
|
|
702
|
+
De(V(l), 1)
|
|
670
703
|
]),
|
|
671
|
-
td:
|
|
672
|
-
n("div", { innerHTML: l }, null, 8,
|
|
704
|
+
td: g(({ td: l }) => [
|
|
705
|
+
n("div", { innerHTML: l }, null, 8, Xt)
|
|
673
706
|
]),
|
|
674
707
|
_: 1
|
|
675
708
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
676
709
|
]),
|
|
677
710
|
_: 1
|
|
678
|
-
}, 8, ["config"])) :
|
|
679
|
-
], 14,
|
|
711
|
+
}, 8, ["config"])) : y("", !0)
|
|
712
|
+
], 14, pt));
|
|
680
713
|
}
|
|
681
|
-
},
|
|
714
|
+
}, nl = /* @__PURE__ */ ht(jt, [["__scopeId", "data-v-0ff8d244"]]);
|
|
682
715
|
export {
|
|
683
|
-
|
|
716
|
+
nl as default
|
|
684
717
|
};
|