vue-data-ui 2.6.18 → 2.6.20
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 +8 -0
- package/dist/{Arrow-Ci41JBXA.js → Arrow-C9wt_iwE.js} +1 -1
- package/dist/{Arrow-C-haYOvL.cjs → Arrow-mU42Peiq.cjs} +1 -1
- package/dist/{BaseIcon-D0Ifzd3J.js → BaseIcon-CR8s5lLC.js} +1 -1
- package/dist/{BaseIcon-Brc1PN_Z.cjs → BaseIcon-DMhDupLt.cjs} +1 -1
- package/dist/{DataTable-BH56SPdO.js → DataTable-CMUyDj6S.js} +2 -2
- package/dist/{DataTable-AQsQHTem.cjs → DataTable-Qba16zLZ.cjs} +1 -1
- package/dist/{Legend-w7VxyGN0.js → Legend-CaMKYW-V.js} +2 -2
- package/dist/{Legend-CNiGY3Yx.cjs → Legend-EauKcdAx.cjs} +1 -1
- package/dist/{PackageVersion-D1edJun6.js → PackageVersion-CURzw4q1.js} +1 -1
- package/dist/{PackageVersion-DO_17qoR.cjs → PackageVersion-Vv7wNIAl.cjs} +1 -1
- package/dist/{PenAndPaper-DWnLI5jM.js → PenAndPaper-CjiJra09.js} +3 -3
- package/dist/{PenAndPaper-BPAfK8a6.cjs → PenAndPaper-DSEAEpTs.cjs} +1 -1
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Bnwg64-7.js → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-BzSorLrT.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Cw1RBp7H.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-DB_DsgPX.cjs} +1 -1
- package/dist/{Shape-RfSE_FzV.js → Shape-F5v4f45p.js} +1 -1
- package/dist/{Shape-J26jxMZ5.cjs → Shape-gLknKTb6.cjs} +1 -1
- package/dist/{Slicer-oASHP3Lx.cjs → Slicer-CVVRixhP.cjs} +1 -1
- package/dist/{Slicer-DMdxtlpr.js → Slicer-DQp19cm1.js} +2 -2
- package/dist/{Title-xfHZTDT9.js → Title-CUHNtIyE.js} +1 -1
- package/dist/{Title-ypQseB5s.cjs → Title-m1x23s4w.cjs} +1 -1
- package/dist/{Tooltip-DQZLR6XD.cjs → Tooltip-BXY2gKbA.cjs} +1 -1
- package/dist/{Tooltip-CF9cKbnr.js → Tooltip-BuAQ8HVL.js} +1 -1
- package/dist/{index-CkqI12gj.cjs → index-CmhvuQro.cjs} +1 -1
- package/dist/{index-Df45PKBw.js → index-Cq7-va_5.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BaSIdRPe.js → useNestedProp-BEyJNlaO.js} +1 -1
- package/dist/{useNestedProp-B5QzQ7cl.cjs → useNestedProp-CnH-XcZU.cjs} +1 -1
- package/dist/usePrinter-DhZH4pcR.cjs +1 -0
- package/dist/{usePrinter-MC5pKUx5.js → usePrinter-jRjc8Naz.js} +72 -70
- package/dist/{vue-data-ui-BiXf5MnL.js → vue-data-ui-BPSCRfcK.js} +61 -61
- package/dist/{vue-data-ui--Yx3VAj0.cjs → vue-data-ui-DD5SV4SW.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BXW-ZMgi.cjs → vue-ui-3d-bar-BlCSdagh.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-DBJJ2kqD.js → vue-ui-3d-bar-TB1XdncJ.js} +105 -98
- package/dist/{vue-ui-accordion-4ngKbp5a.cjs → vue-ui-accordion-C3Ljak65.cjs} +1 -1
- package/dist/{vue-ui-accordion-BbCvey8w.js → vue-ui-accordion-vAQ_LLoP.js} +3 -3
- package/dist/{vue-ui-age-pyramid-04E6Wqie.js → vue-ui-age-pyramid-BUWoRp_B.js} +75 -68
- package/dist/{vue-ui-age-pyramid-Cpi72E7Q.cjs → vue-ui-age-pyramid-CrDKpPil.cjs} +1 -1
- package/dist/{vue-ui-annotator-tv-3u5J-.js → vue-ui-annotator-BVE-xqSy.js} +1 -1
- package/dist/{vue-ui-annotator-BzdyBaoy.cjs → vue-ui-annotator-wjsB7Ihy.cjs} +1 -1
- package/dist/{vue-ui-bullet-B-UjWb-f.cjs → vue-ui-bullet-BcU0lGMw.cjs} +4 -4
- package/dist/{vue-ui-bullet-B0jpb3iz.js → vue-ui-bullet-Cj4GC_-F.js} +145 -138
- package/dist/{vue-ui-candlestick-Cx6UAvss.js → vue-ui-candlestick-C2hAp3Fi.js} +115 -108
- package/dist/{vue-ui-candlestick-DEK3P-Tu.cjs → vue-ui-candlestick-n--kSbN7.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BPvJKE6W.cjs → vue-ui-carousel-table-CU96d16y.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Bk6LMH1D.js → vue-ui-carousel-table-Do1uzI_G.js} +130 -123
- package/dist/{vue-ui-chestnut-DKesYDji.cjs → vue-ui-chestnut-DJq8IWIL.cjs} +2 -2
- package/dist/{vue-ui-chestnut-BLYeNCKN.js → vue-ui-chestnut-fb3ioT4a.js} +131 -124
- package/dist/{vue-ui-circle-pack-DF8CPgPU.js → vue-ui-circle-pack-DByIHOMA.js} +165 -158
- package/dist/{vue-ui-circle-pack-D_2k6N20.cjs → vue-ui-circle-pack-DnwKX38S.cjs} +1 -1
- package/dist/{vue-ui-cursor-B29UJWQo.cjs → vue-ui-cursor-DSCiOK2l.cjs} +1 -1
- package/dist/{vue-ui-cursor-DySRIo_p.js → vue-ui-cursor-scYLETJY.js} +2 -2
- package/dist/{vue-ui-dashboard-5JkE1uRk.cjs → vue-ui-dashboard-BBDfkeCW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CHO6UMlJ.js → vue-ui-dashboard-DjxJGI1j.js} +2 -2
- package/dist/{vue-ui-digits-D5h4HAzq.js → vue-ui-digits-7bQAdMhs.js} +2 -2
- package/dist/{vue-ui-digits-DvANBwd7.cjs → vue-ui-digits-Cmn1NNzQ.cjs} +1 -1
- package/dist/{vue-ui-donut-DLaBSyI4.cjs → vue-ui-donut-C291KoIU.cjs} +1 -1
- package/dist/{vue-ui-donut-rVvCGOGk.js → vue-ui-donut-RJQUTfyW.js} +117 -110
- package/dist/{vue-ui-donut-evolution-DjGFFyxj.js → vue-ui-donut-evolution-DPW_ITH8.js} +164 -157
- package/dist/{vue-ui-donut-evolution-B06eelN-.cjs → vue-ui-donut-evolution-Dp15D88c.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B3AlzGCf.js → vue-ui-dumbbell-B8Zm8EVd.js} +74 -67
- package/dist/{vue-ui-dumbbell-9Oy-W4-B.cjs → vue-ui-dumbbell-BdEUvUV7.cjs} +2 -2
- package/dist/{vue-ui-flow-1eYWWjX-.js → vue-ui-flow-BNIgPNGy.js} +177 -170
- package/dist/{vue-ui-flow-BakKHKRq.cjs → vue-ui-flow-BukV6_Zl.cjs} +1 -1
- package/dist/{vue-ui-funnel-uSID1YS9.js → vue-ui-funnel-BrPqtGct.js} +128 -121
- package/dist/{vue-ui-funnel-IbAUMuoN.cjs → vue-ui-funnel-CIgZpg3T.cjs} +1 -1
- package/dist/{vue-ui-galaxy-3ksrzeio.js → vue-ui-galaxy-D1IYOUwX.js} +77 -70
- package/dist/{vue-ui-galaxy-BFGRkm7x.cjs → vue-ui-galaxy-FGqZ4tWB.cjs} +1 -1
- package/dist/{vue-ui-gauge-DgPnw4Q5.cjs → vue-ui-gauge-B00JvBFF.cjs} +1 -1
- package/dist/{vue-ui-gauge-DxUp_-uc.js → vue-ui-gauge-BsOXy5MV.js} +152 -145
- package/dist/{vue-ui-gizmo-Dw9HiCwa.js → vue-ui-gizmo-Cyl89etd.js} +3 -3
- package/dist/{vue-ui-gizmo-4T51Z8I8.cjs → vue-ui-gizmo-D_uv6qkV.cjs} +1 -1
- package/dist/vue-ui-heatmap-CGg2_xWH.cjs +1 -0
- package/dist/{vue-ui-heatmap-CwtUNQu0.js → vue-ui-heatmap-CgF4n8Bh.js} +139 -132
- package/dist/{vue-ui-history-plot-CC7sYtWu.cjs → vue-ui-history-plot-DR11Ips0.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BaV1bX_U.js → vue-ui-history-plot-Rdjb-yOk.js} +121 -114
- package/dist/{vue-ui-kpi-DiuK6mKA.js → vue-ui-kpi-COfnJm-X.js} +3 -3
- package/dist/{vue-ui-kpi-DxXlf8be.cjs → vue-ui-kpi-CbAgFb-9.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DQ_oXH1a.cjs → vue-ui-mini-loader-CizZv79e.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Kwzi6dLA.js → vue-ui-mini-loader-DNM7jU2W.js} +2 -2
- package/dist/{vue-ui-molecule-Bfhay2Cw.cjs → vue-ui-molecule-CiOIVjFk.cjs} +1 -1
- package/dist/{vue-ui-molecule-BMiNGYBh.js → vue-ui-molecule-Cv6jp9D_.js} +249 -242
- package/dist/{vue-ui-mood-radar-j2_LSQyN.js → vue-ui-mood-radar-B-VE2pVS.js} +111 -104
- package/dist/{vue-ui-mood-radar-C6CXwCzk.cjs → vue-ui-mood-radar-CoHouhrl.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CVsN5wLZ.js → vue-ui-nested-donuts-D-7tn_Qe.js} +116 -109
- package/dist/{vue-ui-nested-donuts-BEb5qHRa.cjs → vue-ui-nested-donuts-ITcu4gJW.cjs} +2 -2
- package/dist/{vue-ui-onion-DlqFOcMu.js → vue-ui-onion-B4SgCj8L.js} +143 -136
- package/dist/{vue-ui-onion-C-y9Jsfq.cjs → vue-ui-onion-fzXsWjjI.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-t2isL1XO.cjs → vue-ui-parallel-coordinate-plot-CTFOY5xi.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DxwECisr.js → vue-ui-parallel-coordinate-plot-CpQOyh-W.js} +112 -105
- package/dist/{vue-ui-quadrant-DMYZ6Rbh.cjs → vue-ui-quadrant-ByRNr-XD.cjs} +1 -1
- package/dist/{vue-ui-quadrant-rVy92h_8.js → vue-ui-quadrant-DhODDM5V.js} +111 -104
- package/dist/{vue-ui-quick-chart-CE-Qg_jo.cjs → vue-ui-quick-chart-BsQAMw9M.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-DkUCMlp7.js → vue-ui-quick-chart-DpeGH277.js} +194 -187
- package/dist/{vue-ui-radar-j-mDD4Dn.js → vue-ui-radar-CWkrni4Y.js} +100 -93
- package/dist/{vue-ui-radar-DkL4kk1W.cjs → vue-ui-radar-D-qttZKw.cjs} +1 -1
- package/dist/{vue-ui-rating-K_pyDN_G.cjs → vue-ui-rating-CY25IY75.cjs} +1 -1
- package/dist/{vue-ui-rating-CpvfKsg0.js → vue-ui-rating-DB4nQsuM.js} +2 -2
- package/dist/{vue-ui-relation-circle-O0d-4bj0.js → vue-ui-relation-circle-B_PxY9ZN.js} +102 -95
- package/dist/{vue-ui-relation-circle-ChFxKSb0.cjs → vue-ui-relation-circle-KDFaFqqu.cjs} +1 -1
- package/dist/{vue-ui-rings-Cv5WcU9y.cjs → vue-ui-rings-C1Upd5ja.cjs} +2 -2
- package/dist/{vue-ui-rings-DK-HgFva.js → vue-ui-rings-D5-sTr38.js} +168 -161
- package/dist/{vue-ui-scatter-BHCYJgHS.cjs → vue-ui-scatter-B-aqlIcn.cjs} +1 -1
- package/dist/{vue-ui-scatter-CTmhFDqS.js → vue-ui-scatter-C8cn3MR5.js} +85 -78
- package/dist/{vue-ui-screenshot-Ci56oD2d.cjs → vue-ui-screenshot-D9EV_KXZ.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Bpp3trys.js → vue-ui-screenshot-kQRZJHLO.js} +1 -1
- package/dist/{vue-ui-skeleton-BIYEApQO.js → vue-ui-skeleton-DIrE1OTF.js} +3 -3
- package/dist/{vue-ui-skeleton-CKwwTTRF.cjs → vue-ui-skeleton-DyJu1ibj.cjs} +1 -1
- package/dist/{vue-ui-smiley-BjcqO7zZ.cjs → vue-ui-smiley-B7dNRQyO.cjs} +1 -1
- package/dist/{vue-ui-smiley-B5ufG407.js → vue-ui-smiley-DVjsjIa4.js} +2 -2
- package/dist/{vue-ui-spark-trend-qz-BtG6X.cjs → vue-ui-spark-trend-DRtaXADG.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DnB59fUO.js → vue-ui-spark-trend-DsUy3aw-.js} +5 -5
- package/dist/{vue-ui-sparkbar-D_sMmqjC.js → vue-ui-sparkbar-Dm8xksUj.js} +4 -4
- package/dist/{vue-ui-sparkbar-DQ-IFuy6.cjs → vue-ui-sparkbar-x0F1llCZ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Ce5NGB8P.cjs → vue-ui-sparkgauge-B4DRMVOW.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-76-wdTdR.js → vue-ui-sparkgauge-_gF53YgV.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DviUQdRD.js → vue-ui-sparkhistogram-CD_0ihS9.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DcSCtmaT.cjs → vue-ui-sparkhistogram-CIMJUDlb.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C75odp3q.js → vue-ui-sparkline-Cs0h6tKI.js} +6 -6
- package/dist/{vue-ui-sparkline-_nWAin6t.cjs → vue-ui-sparkline-DzOL1IDW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-pRfBTPV0.cjs → vue-ui-sparkstackbar-BBz1lDg0.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-JgAJd1j5.js → vue-ui-sparkstackbar-Dhula5ka.js} +5 -5
- package/dist/{vue-ui-stackbar-DK4W1meR.cjs → vue-ui-stackbar-BuUtwfyC.cjs} +3 -3
- package/dist/{vue-ui-stackbar-Ctym-Udc.js → vue-ui-stackbar-DanAQnBd.js} +210 -203
- package/dist/{vue-ui-strip-plot-BU6tkAvd.cjs → vue-ui-strip-plot-95uUJ2fc.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BLmj_-sa.js → vue-ui-strip-plot-DIlGTBzG.js} +82 -75
- package/dist/{vue-ui-table-Cvt9DTpO.cjs → vue-ui-table-CDS7xlZS.cjs} +1 -1
- package/dist/{vue-ui-table-Bot5LadX.js → vue-ui-table-FKZF6cxI.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DE1swMTl.js → vue-ui-table-heatmap-BcGX_vpU.js} +63 -56
- package/dist/{vue-ui-table-heatmap-fALEi4E_.cjs → vue-ui-table-heatmap-qVmiG576.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CWGl8LJc.js → vue-ui-table-sparkline-CVY9EZ7Q.js} +90 -83
- package/dist/{vue-ui-table-sparkline-pQlBn8xE.cjs → vue-ui-table-sparkline-CnVFXbUB.cjs} +1 -1
- package/dist/{vue-ui-thermometer-N5j1BAqA.cjs → vue-ui-thermometer-BTer1qaq.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DDOVwF0r.js → vue-ui-thermometer-tcTgQiAu.js} +113 -106
- package/dist/{vue-ui-timer-CQ9pLz7T.cjs → vue-ui-timer-CmLGKRcK.cjs} +1 -1
- package/dist/{vue-ui-timer-1zEhowHL.js → vue-ui-timer-DO_VKZHm.js} +5 -5
- package/dist/{vue-ui-tiremarks-zlgbR7II.js → vue-ui-tiremarks-BKnAiR_H.js} +76 -69
- package/dist/{vue-ui-tiremarks-DOXxQKUB.cjs → vue-ui-tiremarks-BPxAgMQx.cjs} +1 -1
- package/dist/{vue-ui-treemap-ZJAvws86.cjs → vue-ui-treemap-BnKYnm8A.cjs} +1 -1
- package/dist/{vue-ui-treemap-C7oZrYCa.js → vue-ui-treemap-oE2QDc_9.js} +143 -136
- package/dist/{vue-ui-vertical-bar-rtqu_UjN.js → vue-ui-vertical-bar-BfFnXSO5.js} +119 -112
- package/dist/{vue-ui-vertical-bar-BFeF_dBM.cjs → vue-ui-vertical-bar-CHUZAnfv.cjs} +3 -3
- package/dist/{vue-ui-waffle-C0E54-ms.cjs → vue-ui-waffle-DxL_bhhX.cjs} +1 -1
- package/dist/{vue-ui-waffle-CgsNawVA.js → vue-ui-waffle-YwQAGMlZ.js} +77 -70
- package/dist/{vue-ui-wheel-StQOeYIO.cjs → vue-ui-wheel-CbEf5uhL.cjs} +1 -1
- package/dist/{vue-ui-wheel-Cm7g8eux.js → vue-ui-wheel-gZQIZUx1.js} +104 -97
- package/dist/{vue-ui-word-cloud-qNxRgN5J.js → vue-ui-word-cloud-CXpfOcDf.js} +122 -115
- package/dist/{vue-ui-word-cloud-Bc31_IfR.cjs → vue-ui-word-cloud-Ddmhs5i-.cjs} +1 -1
- package/dist/{vue-ui-xy-wbWmX1Zh.cjs → vue-ui-xy-BFdih9uG.cjs} +2 -2
- package/dist/{vue-ui-xy-BTjOTcAY.js → vue-ui-xy-BHGNHgRk.js} +72 -65
- package/dist/{vue-ui-xy-canvas-BpyntzCo.js → vue-ui-xy-canvas-BFZjHXBj.js} +200 -193
- package/dist/{vue-ui-xy-canvas-BljjkGUh.cjs → vue-ui-xy-canvas-hM1oa-dn.cjs} +2 -2
- package/package.json +1 -1
- package/dist/usePrinter-DB2FudbZ.cjs +0 -1
- package/dist/vue-ui-heatmap-Bz5l9BbM.cjs +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { computed as g, ref as n, watch as Ne, onMounted as Je, onBeforeUnmount as Ke, nextTick as V, createElementBlock as u, openBlock as s, unref as
|
|
2
|
-
import { u as et, c as tt, a as lt, C as
|
|
1
|
+
import { computed as g, ref as n, watch as Ne, onMounted as Je, onBeforeUnmount as Ke, nextTick as V, createElementBlock as u, openBlock as s, unref as v, normalizeStyle as ee, normalizeClass as Ae, createBlock as _, createCommentVNode as y, createElementVNode as r, createVNode as Te, createSlots as Qe, withCtx as m, renderSlot as f, normalizeProps as z, guardReactiveProps as S, Fragment as I, renderList as F, toDisplayString as P, createTextVNode as Ze } from "vue";
|
|
2
|
+
import { u as et, c as tt, a as lt, C as Ie, o as ot, e as N, D as at, v as U, X as st, w as j, E as ut, s as it, F as Fe, q as nt, r as rt, x as dt, y as vt } from "./index-Cq7-va_5.js";
|
|
3
3
|
import { t as yt, u as ct } from "./useResponsive-BWapHhVH.js";
|
|
4
|
-
import { _ as ht } from "./Title-
|
|
5
|
-
import { u as ft, U as pt } from "./usePrinter-
|
|
6
|
-
import { _ as gt } from "./Tooltip-
|
|
7
|
-
import { D as mt } from "./DataTable-
|
|
8
|
-
import bt from "./vue-ui-skeleton-
|
|
9
|
-
import { S as xt } from "./Slicer-
|
|
10
|
-
import kt from "./vue-ui-accordion-
|
|
11
|
-
import { u as Re } from "./useNestedProp-
|
|
12
|
-
import { _ as wt } from "./PackageVersion-
|
|
13
|
-
import { P as $t } from "./PenAndPaper-
|
|
4
|
+
import { _ as ht } from "./Title-CUHNtIyE.js";
|
|
5
|
+
import { u as ft, U as pt } from "./usePrinter-jRjc8Naz.js";
|
|
6
|
+
import { _ as gt } from "./Tooltip-BuAQ8HVL.js";
|
|
7
|
+
import { D as mt } from "./DataTable-CMUyDj6S.js";
|
|
8
|
+
import bt from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
9
|
+
import { S as xt } from "./Slicer-DQp19cm1.js";
|
|
10
|
+
import kt from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
11
|
+
import { u as Re } from "./useNestedProp-BEyJNlaO.js";
|
|
12
|
+
import { _ as wt } from "./PackageVersion-CURzw4q1.js";
|
|
13
|
+
import { P as $t } from "./PenAndPaper-CjiJra09.js";
|
|
14
14
|
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { u as _t } from "./useChartAccessibility-BWojgys7.js";
|
|
16
16
|
import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"], Tt = { key: 1 },
|
|
17
|
+
const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"], Tt = { key: 1 }, It = ["id"], Ft = ["stop-color"], Rt = ["stop-color"], Lt = ["stop-color"], Ot = ["id"], Vt = ["stop-color"], Pt = ["stop-color"], Ut = ["stop-color"], Bt = { key: 0 }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = { key: 1 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x", "y", "font-size", "fill", "font-weight"], Ht = { key: 2 }, jt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yt = { key: 0 }, qt = ["cx", "cy", "r", "fill"], Jt = ["cx", "cy", "r", "fill"], Kt = { key: 1 }, Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x", "y", "height", "width", "fill", "rx"], tl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], ll = ["x", "y", "height", "width", "fill", "onMouseover"], ol = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, al = ["innerHTML"], sl = {
|
|
@@ -37,7 +37,7 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
37
37
|
const { vue_ui_candlestick: Oe } = et(), h = $, R = g(() => !!h.dataset && h.dataset.length), k = n(tt()), Ve = n(null), X = n(!1), Y = n(""), q = n(void 0), te = n(0), L = n(null), le = n(null), oe = n(null), ae = n(null), se = n(null), ue = n(null), B = n(0), ie = n(0), ne = n(0), e = g({
|
|
38
38
|
get: () => ye(),
|
|
39
39
|
set: (t) => t
|
|
40
|
-
}), { userOptionsVisible: J, setUserOptionsVisibility: re, keepUserOptionState:
|
|
40
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: re, keepUserOptionState: de } = Ct({ config: e.value }), { svgRef: ve } = _t({ config: e.value.style.title });
|
|
41
41
|
function ye() {
|
|
42
42
|
const t = Re({
|
|
43
43
|
userConfig: h.config,
|
|
@@ -49,12 +49,12 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
49
49
|
userConfig: lt.vue_ui_candlestick[t.theme] || h.config,
|
|
50
50
|
defaultConfig: t
|
|
51
51
|
})
|
|
52
|
-
} : o = t, h.config &&
|
|
52
|
+
} : o = t, h.config && Ie(h.config, "style.zoom.startIndex") ? o.style.zoom.startIndex = h.config.style.zoom.startIndex : o.style.zoom.startIndex = null, h.config && Ie(h.config, "style.zoom.endIndex") ? o.style.zoom.endIndex = h.config.style.zoom.endIndex : o.style.zoom.endIndex = null, o;
|
|
53
53
|
}
|
|
54
54
|
Ne(() => h.config, (t) => {
|
|
55
55
|
e.value = ye(), J.value = !e.value.userOptions.showOnChartHover, ce(), B.value += 1, ne.value += 1, ie.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.tooltip.show;
|
|
56
56
|
}, { deep: !0 }), Ne(() => h.dataset, (t) => {
|
|
57
|
-
|
|
57
|
+
p.value.start = 0, p.value.end = t.length, B.value += 1;
|
|
58
58
|
}, { deep: !0 });
|
|
59
59
|
const c = n({
|
|
60
60
|
height: e.value.style.height,
|
|
@@ -66,7 +66,7 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
66
66
|
ce();
|
|
67
67
|
});
|
|
68
68
|
function ce() {
|
|
69
|
-
if (ot(h.dataset) &&
|
|
69
|
+
if (ot(h.dataset) && N({
|
|
70
70
|
componentName: "VueUiCandlestick",
|
|
71
71
|
type: "dataset"
|
|
72
72
|
}), e.value.responsive) {
|
|
@@ -80,13 +80,13 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
80
80
|
noTitle: ue.value
|
|
81
81
|
});
|
|
82
82
|
requestAnimationFrame(() => {
|
|
83
|
-
c.value.width = o, c.value.height = l, c.value.xAxisFontSize =
|
|
83
|
+
c.value.width = o, c.value.height = l, c.value.xAxisFontSize = Fe({
|
|
84
84
|
relator: Math.min(o, l),
|
|
85
85
|
adjuster: e.value.style.width,
|
|
86
86
|
source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
87
87
|
threshold: 6,
|
|
88
88
|
fallback: 6
|
|
89
|
-
}), c.value.yAxisFontSize =
|
|
89
|
+
}), c.value.yAxisFontSize = Fe({
|
|
90
90
|
relator: Math.min(o, l),
|
|
91
91
|
adjuster: e.value.style.width,
|
|
92
92
|
source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
@@ -118,36 +118,36 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
118
118
|
width: c.value.width - a - o,
|
|
119
119
|
height: c.value.height - t - l
|
|
120
120
|
};
|
|
121
|
-
}), O = g(() => h.dataset.length),
|
|
121
|
+
}), O = g(() => h.dataset.length), p = n({
|
|
122
122
|
start: 0,
|
|
123
123
|
end: O.value
|
|
124
|
-
}), me = g(() => h.dataset.slice(
|
|
125
|
-
[null, void 0].includes(t[0]) &&
|
|
124
|
+
}), me = g(() => h.dataset.slice(p.value.start, p.value.end)), K = g(() => (h.dataset.forEach((t, o) => {
|
|
125
|
+
[null, void 0].includes(t[0]) && N({
|
|
126
126
|
componentName: "VueUiCandlestick",
|
|
127
127
|
type: "datasetAttribute",
|
|
128
128
|
property: "period (index 0)",
|
|
129
129
|
index: o
|
|
130
|
-
}), [null, void 0].includes(t[1]) &&
|
|
130
|
+
}), [null, void 0].includes(t[1]) && N({
|
|
131
131
|
componentName: "VueUiCandlestick",
|
|
132
132
|
type: "datasetAttribute",
|
|
133
133
|
property: "open (index 1)",
|
|
134
134
|
index: o
|
|
135
|
-
}), [null, void 0].includes(t[2]) &&
|
|
135
|
+
}), [null, void 0].includes(t[2]) && N({
|
|
136
136
|
componentName: "VueUiCandlestick",
|
|
137
137
|
type: "datasetAttribute",
|
|
138
138
|
property: "high (index 2)",
|
|
139
139
|
index: o
|
|
140
|
-
}), [null, void 0].includes(t[3]) &&
|
|
140
|
+
}), [null, void 0].includes(t[3]) && N({
|
|
141
141
|
componentName: "VueUiCandlestick",
|
|
142
142
|
type: "datasetAttribute",
|
|
143
143
|
property: "low (index 3)",
|
|
144
144
|
index: o
|
|
145
|
-
}), [null, void 0].includes(t[4]) &&
|
|
145
|
+
}), [null, void 0].includes(t[4]) && N({
|
|
146
146
|
componentName: "VueUiCandlestick",
|
|
147
147
|
type: "datasetAttribute",
|
|
148
148
|
property: "last (index 4)",
|
|
149
149
|
index: o
|
|
150
|
-
}), [null, void 0].includes(t[5]) &&
|
|
150
|
+
}), [null, void 0].includes(t[5]) && N({
|
|
151
151
|
componentName: "VueUiCandlestick",
|
|
152
152
|
type: "datasetAttribute",
|
|
153
153
|
property: "volume (index 5)",
|
|
@@ -160,14 +160,14 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
160
160
|
low: t[3],
|
|
161
161
|
last: t[4],
|
|
162
162
|
volume: t[5]
|
|
163
|
-
})))),
|
|
163
|
+
})))), d = g(() => i.value.width / me.value.length), be = g(() => ({
|
|
164
164
|
max: Math.max(...K.value.map((t) => t.high)),
|
|
165
165
|
min: 0
|
|
166
166
|
})), C = g(() => at(be.value.min, be.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
167
167
|
function M(t, o) {
|
|
168
168
|
return {
|
|
169
169
|
...t,
|
|
170
|
-
x: U(i.value.left + o *
|
|
170
|
+
x: U(i.value.left + o * d.value + d.value / 2),
|
|
171
171
|
y: U(i.value.top + (1 - t / C.value.max) * i.value.height),
|
|
172
172
|
value: U(t)
|
|
173
173
|
};
|
|
@@ -199,7 +199,7 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
199
199
|
config: e.value
|
|
200
200
|
};
|
|
201
201
|
const l = e.value.style.tooltip.customFormat;
|
|
202
|
-
if (
|
|
202
|
+
if (dt(l) && vt(() => l({
|
|
203
203
|
seriesIndex: t,
|
|
204
204
|
datapoint: o,
|
|
205
205
|
series: b.value,
|
|
@@ -222,9 +222,9 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
222
222
|
function De() {
|
|
223
223
|
xe();
|
|
224
224
|
}
|
|
225
|
-
const
|
|
225
|
+
const A = n(null);
|
|
226
226
|
async function xe() {
|
|
227
|
-
(e.value.style.zoom.startIndex !== null || e.value.style.zoom.endIndex !== null) &&
|
|
227
|
+
(e.value.style.zoom.startIndex !== null || e.value.style.zoom.endIndex !== null) && A.value ? (e.value.style.zoom.startIndex !== null && (await V(), await V(), A.value && A.value.setStartValue(e.value.style.zoom.startIndex)), e.value.style.zoom.endIndex !== null && (await V(), await V(), A.value && A.value.setEndValue(We(e.value.style.zoom.endIndex + 1)))) : (p.value = {
|
|
228
228
|
start: 0,
|
|
229
229
|
end: O.value
|
|
230
230
|
}, B.value += 1);
|
|
@@ -275,9 +275,9 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
275
275
|
e.value.translations.volume
|
|
276
276
|
];
|
|
277
277
|
return { head: l, body: t, config: o, colNames: l };
|
|
278
|
-
}),
|
|
278
|
+
}), T = n(!1);
|
|
279
279
|
function Ge(t) {
|
|
280
|
-
|
|
280
|
+
T.value = t, te.value += 1;
|
|
281
281
|
}
|
|
282
282
|
function we() {
|
|
283
283
|
w.value.showTable = !w.value.showTable;
|
|
@@ -299,15 +299,15 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
299
299
|
}), (t, o) => (s(), u("div", {
|
|
300
300
|
ref_key: "candlestickChart",
|
|
301
301
|
ref: L,
|
|
302
|
-
class: Ae(`vue-ui-candlestick ${
|
|
302
|
+
class: Ae(`vue-ui-candlestick ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
303
303
|
style: ee(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
304
304
|
id: `vue-ui-candlestick_${k.value}`,
|
|
305
|
-
onMouseenter: o[4] || (o[4] = () =>
|
|
306
|
-
onMouseleave: o[5] || (o[5] = () =>
|
|
305
|
+
onMouseenter: o[4] || (o[4] = () => v(re)(!0)),
|
|
306
|
+
onMouseleave: o[5] || (o[5] = () => v(re)(!1))
|
|
307
307
|
}, [
|
|
308
308
|
e.value.userOptions.buttons.annotator ? (s(), _($t, {
|
|
309
309
|
key: 0,
|
|
310
|
-
svgRef:
|
|
310
|
+
svgRef: v(ve),
|
|
311
311
|
backgroundColor: e.value.style.backgroundColor,
|
|
312
312
|
color: e.value.style.color,
|
|
313
313
|
active: W.value,
|
|
@@ -340,14 +340,14 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
340
340
|
}
|
|
341
341
|
}, null, 8, ["config"]))
|
|
342
342
|
], 512)) : y("", !0),
|
|
343
|
-
e.value.userOptions.show && R.value && (
|
|
343
|
+
e.value.userOptions.show && R.value && (v(de) || v(J)) ? (s(), _(pt, {
|
|
344
344
|
ref_key: "details",
|
|
345
345
|
ref: Ve,
|
|
346
346
|
key: `user_options_${te.value}`,
|
|
347
347
|
backgroundColor: e.value.style.backgroundColor,
|
|
348
348
|
color: e.value.style.color,
|
|
349
|
-
isImaging:
|
|
350
|
-
isPrinting:
|
|
349
|
+
isImaging: v(fe),
|
|
350
|
+
isPrinting: v(he),
|
|
351
351
|
uid: k.value,
|
|
352
352
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
353
353
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -355,7 +355,7 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
355
355
|
hasXls: e.value.userOptions.buttons.csv,
|
|
356
356
|
hasTable: e.value.userOptions.buttons.table,
|
|
357
357
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
358
|
-
isFullscreen:
|
|
358
|
+
isFullscreen: T.value,
|
|
359
359
|
isTooltip: w.value.showTooltip,
|
|
360
360
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
361
361
|
chartElement: L.value,
|
|
@@ -363,72 +363,79 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
363
363
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
364
364
|
isAnnotation: W.value,
|
|
365
365
|
onToggleFullscreen: Ge,
|
|
366
|
-
onGeneratePdf:
|
|
366
|
+
onGeneratePdf: v(pe),
|
|
367
367
|
onGenerateCsv: ke,
|
|
368
|
-
onGenerateImage:
|
|
368
|
+
onGenerateImage: v(ge),
|
|
369
369
|
onToggleTable: we,
|
|
370
370
|
onToggleTooltip: $e,
|
|
371
371
|
onToggleAnnotator: Z,
|
|
372
372
|
style: ee({
|
|
373
|
-
visibility:
|
|
373
|
+
visibility: v(de) ? v(J) ? "visible" : "hidden" : "visible"
|
|
374
374
|
})
|
|
375
375
|
}, Qe({ _: 2 }, [
|
|
376
|
+
t.$slots.menuIcon ? {
|
|
377
|
+
name: "menuIcon",
|
|
378
|
+
fn: m(({ isOpen: l, color: a }) => [
|
|
379
|
+
f(t.$slots, "menuIcon", z(S({ isOpen: l, color: a })), void 0, !0)
|
|
380
|
+
]),
|
|
381
|
+
key: "0"
|
|
382
|
+
} : void 0,
|
|
376
383
|
t.$slots.optionTooltip ? {
|
|
377
384
|
name: "optionTooltip",
|
|
378
385
|
fn: m(() => [
|
|
379
|
-
|
|
386
|
+
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
380
387
|
]),
|
|
381
|
-
key: "
|
|
388
|
+
key: "1"
|
|
382
389
|
} : void 0,
|
|
383
390
|
t.$slots.optionPdf ? {
|
|
384
391
|
name: "optionPdf",
|
|
385
392
|
fn: m(() => [
|
|
386
|
-
|
|
393
|
+
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
387
394
|
]),
|
|
388
|
-
key: "
|
|
395
|
+
key: "2"
|
|
389
396
|
} : void 0,
|
|
390
397
|
t.$slots.optionCsv ? {
|
|
391
398
|
name: "optionCsv",
|
|
392
399
|
fn: m(() => [
|
|
393
|
-
|
|
400
|
+
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
394
401
|
]),
|
|
395
|
-
key: "
|
|
402
|
+
key: "3"
|
|
396
403
|
} : void 0,
|
|
397
404
|
t.$slots.optionImg ? {
|
|
398
405
|
name: "optionImg",
|
|
399
406
|
fn: m(() => [
|
|
400
|
-
|
|
407
|
+
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
401
408
|
]),
|
|
402
|
-
key: "
|
|
409
|
+
key: "4"
|
|
403
410
|
} : void 0,
|
|
404
411
|
t.$slots.optionTable ? {
|
|
405
412
|
name: "optionTable",
|
|
406
413
|
fn: m(() => [
|
|
407
|
-
|
|
414
|
+
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
408
415
|
]),
|
|
409
|
-
key: "
|
|
416
|
+
key: "5"
|
|
410
417
|
} : void 0,
|
|
411
418
|
t.$slots.optionFullscreen ? {
|
|
412
419
|
name: "optionFullscreen",
|
|
413
420
|
fn: m(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
414
|
-
|
|
421
|
+
f(t.$slots, "optionFullscreen", z(S({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
415
422
|
]),
|
|
416
|
-
key: "
|
|
423
|
+
key: "6"
|
|
417
424
|
} : void 0,
|
|
418
425
|
t.$slots.optionAnnotator ? {
|
|
419
426
|
name: "optionAnnotator",
|
|
420
427
|
fn: m(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
421
|
-
|
|
428
|
+
f(t.$slots, "optionAnnotator", z(S({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
422
429
|
]),
|
|
423
|
-
key: "
|
|
430
|
+
key: "7"
|
|
424
431
|
} : void 0
|
|
425
432
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
426
433
|
R.value ? (s(), u("svg", {
|
|
427
434
|
key: 4,
|
|
428
435
|
ref_key: "svgRef",
|
|
429
|
-
ref:
|
|
430
|
-
xmlns:
|
|
431
|
-
class: Ae({ "vue-data-ui-fullscreen--on":
|
|
436
|
+
ref: ve,
|
|
437
|
+
xmlns: v(st),
|
|
438
|
+
class: Ae({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
|
|
432
439
|
viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
|
|
433
440
|
style: ee(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
434
441
|
}, [
|
|
@@ -443,7 +450,7 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
443
450
|
pointerEvents: "none"
|
|
444
451
|
}
|
|
445
452
|
}, [
|
|
446
|
-
|
|
453
|
+
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
447
454
|
], 8, At)) : y("", !0),
|
|
448
455
|
b.value.length > 0 ? (s(), u("g", Tt, [
|
|
449
456
|
r("defs", null, [
|
|
@@ -455,16 +462,16 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
455
462
|
r("stop", {
|
|
456
463
|
offset: "0%",
|
|
457
464
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
458
|
-
}, null, 8,
|
|
465
|
+
}, null, 8, Ft),
|
|
459
466
|
r("stop", {
|
|
460
467
|
offset: "50%",
|
|
461
|
-
"stop-color": `${
|
|
468
|
+
"stop-color": `${v(j)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
462
469
|
}, null, 8, Rt),
|
|
463
470
|
r("stop", {
|
|
464
471
|
offset: "100%",
|
|
465
|
-
"stop-color": `${
|
|
472
|
+
"stop-color": `${v(j)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
466
473
|
}, null, 8, Lt)
|
|
467
|
-
], 8,
|
|
474
|
+
], 8, It),
|
|
468
475
|
r("linearGradient", {
|
|
469
476
|
id: `bullish_gradient_${k.value}`,
|
|
470
477
|
x2: "0%",
|
|
@@ -476,11 +483,11 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
476
483
|
}, null, 8, Vt),
|
|
477
484
|
r("stop", {
|
|
478
485
|
offset: "50%",
|
|
479
|
-
"stop-color": `${
|
|
486
|
+
"stop-color": `${v(j)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
480
487
|
}, null, 8, Pt),
|
|
481
488
|
r("stop", {
|
|
482
489
|
offset: "100%",
|
|
483
|
-
"stop-color": `${
|
|
490
|
+
"stop-color": `${v(j)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
484
491
|
}, null, 8, Ut)
|
|
485
492
|
], 8, Ot)
|
|
486
493
|
]),
|
|
@@ -505,7 +512,7 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
505
512
|
}, null, 8, Mt)
|
|
506
513
|
])) : y("", !0),
|
|
507
514
|
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", Dt, [
|
|
508
|
-
(s(!0), u(
|
|
515
|
+
(s(!0), u(I, null, F(Be.value, (l, a) => (s(), u("g", null, [
|
|
509
516
|
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("line", {
|
|
510
517
|
key: 0,
|
|
511
518
|
x1: i.value.left,
|
|
@@ -524,13 +531,13 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
524
531
|
"text-anchor": "end",
|
|
525
532
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
526
533
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
527
|
-
}, P(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + P(
|
|
534
|
+
}, P(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + P(v(ut)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + P(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Gt)) : y("", !0)
|
|
528
535
|
]))), 256))
|
|
529
536
|
])) : y("", !0),
|
|
530
537
|
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", Ht, [
|
|
531
|
-
(s(!0), u(
|
|
538
|
+
(s(!0), u(I, null, F(Ee.value, (l, a) => (s(), u("g", null, [
|
|
532
539
|
r("text", {
|
|
533
|
-
transform: `translate(${i.value.left +
|
|
540
|
+
transform: `translate(${i.value.left + d.value * a + d.value / 2}, ${i.value.bottom + c.value.xAxisFontSize * 2 + e.value.style.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
534
541
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
535
542
|
"font-size": c.value.xAxisFontSize,
|
|
536
543
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
@@ -539,7 +546,7 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
539
546
|
]))), 256))
|
|
540
547
|
])) : y("", !0),
|
|
541
548
|
r("g", null, [
|
|
542
|
-
(s(!0), u(
|
|
549
|
+
(s(!0), u(I, null, F(b.value, (l, a) => (s(), u("g", null, [
|
|
543
550
|
r("line", {
|
|
544
551
|
x1: l.open.x,
|
|
545
552
|
x2: l.open.x,
|
|
@@ -553,20 +560,20 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
553
560
|
r("circle", {
|
|
554
561
|
cx: l.high.x,
|
|
555
562
|
cy: l.high.y,
|
|
556
|
-
r: e.value.style.layout.wick.extremity.size === "auto" ?
|
|
563
|
+
r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
557
564
|
fill: e.value.style.layout.wick.extremity.color
|
|
558
565
|
}, null, 8, qt),
|
|
559
566
|
r("circle", {
|
|
560
567
|
cx: l.low.x,
|
|
561
568
|
cy: l.low.y,
|
|
562
|
-
r: e.value.style.layout.wick.extremity.size === "auto" ?
|
|
569
|
+
r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
563
570
|
fill: e.value.style.layout.wick.extremity.color
|
|
564
571
|
}, null, 8, Jt)
|
|
565
572
|
])) : y("", !0),
|
|
566
573
|
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Kt, [
|
|
567
574
|
r("line", {
|
|
568
|
-
x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ?
|
|
569
|
-
x2: l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ?
|
|
575
|
+
x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
576
|
+
x2: l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
570
577
|
y1: l.high.y,
|
|
571
578
|
y2: l.high.y,
|
|
572
579
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
@@ -574,8 +581,8 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
574
581
|
"stroke-linecap": "round"
|
|
575
582
|
}, null, 8, Qt),
|
|
576
583
|
r("line", {
|
|
577
|
-
x1: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ?
|
|
578
|
-
x2: l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ?
|
|
584
|
+
x1: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
585
|
+
x2: l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
579
586
|
y1: l.low.y,
|
|
580
587
|
y2: l.low.y,
|
|
581
588
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
@@ -586,20 +593,20 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
586
593
|
]))), 256))
|
|
587
594
|
]),
|
|
588
595
|
r("g", null, [
|
|
589
|
-
(s(!0), u(
|
|
590
|
-
x: l.open.x -
|
|
596
|
+
(s(!0), u(I, null, F(b.value, (l, a) => (s(), u("rect", {
|
|
597
|
+
x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
591
598
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
592
599
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
593
|
-
width:
|
|
600
|
+
width: d.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : d.value * e.value.style.layout.candle.widthRatio,
|
|
594
601
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
595
602
|
rx: e.value.style.layout.candle.borderRadius,
|
|
596
603
|
stroke: "none"
|
|
597
604
|
}, null, 8, el))), 256)),
|
|
598
|
-
(s(!0), u(
|
|
599
|
-
x: l.open.x -
|
|
605
|
+
(s(!0), u(I, null, F(b.value, (l, a) => (s(), u("rect", {
|
|
606
|
+
x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
600
607
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
601
608
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
602
|
-
width:
|
|
609
|
+
width: d.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : d.value * e.value.style.layout.candle.widthRatio,
|
|
603
610
|
fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${k.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${k.value})` : e.value.style.layout.candle.colors.bearish,
|
|
604
611
|
rx: e.value.style.layout.candle.borderRadius,
|
|
605
612
|
stroke: e.value.style.layout.candle.stroke,
|
|
@@ -609,12 +616,12 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
609
616
|
}, null, 8, tl))), 256))
|
|
610
617
|
]),
|
|
611
618
|
r("g", null, [
|
|
612
|
-
(s(!0), u(
|
|
613
|
-
x: i.value.left + a *
|
|
619
|
+
(s(!0), u(I, null, F(b.value, (l, a) => (s(), u("rect", {
|
|
620
|
+
x: i.value.left + a * d.value,
|
|
614
621
|
y: i.value.top,
|
|
615
622
|
height: i.value.height <= 0 ? 1e-4 : i.value.height,
|
|
616
|
-
width:
|
|
617
|
-
fill: q.value === a ?
|
|
623
|
+
width: d.value <= 0 ? 1e-4 : d.value,
|
|
624
|
+
fill: q.value === a ? v(it)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
|
|
618
625
|
onMouseover: (x) => Me(a, l),
|
|
619
626
|
onMouseleave: o[0] || (o[0] = (x) => {
|
|
620
627
|
q.value = void 0, X.value = !1;
|
|
@@ -622,10 +629,10 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
622
629
|
}, null, 40, ll))), 256))
|
|
623
630
|
])
|
|
624
631
|
])) : y("", !0),
|
|
625
|
-
|
|
632
|
+
f(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
626
633
|
], 14, Nt)) : y("", !0),
|
|
627
634
|
t.$slots.watermark ? (s(), u("div", ol, [
|
|
628
|
-
|
|
635
|
+
f(t.$slots, "watermark", z(S({ isPrinting: v(he) || v(fe) })), void 0, !0)
|
|
629
636
|
])) : y("", !0),
|
|
630
637
|
R.value ? y("", !0) : (s(), _(bt, {
|
|
631
638
|
key: 6,
|
|
@@ -651,25 +658,25 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
651
658
|
}, [
|
|
652
659
|
(s(), _(xt, {
|
|
653
660
|
ref_key: "slicerComponent",
|
|
654
|
-
ref:
|
|
661
|
+
ref: A,
|
|
655
662
|
key: `slicer_${B.value}`,
|
|
656
663
|
background: e.value.style.zoom.color,
|
|
657
664
|
borderColor: e.value.style.backgroundColor,
|
|
658
665
|
fontSize: e.value.style.zoom.fontSize,
|
|
659
666
|
useResetSlot: e.value.style.zoom.useResetSlot,
|
|
660
|
-
labelLeft: $.dataset[
|
|
661
|
-
labelRight: $.dataset[
|
|
667
|
+
labelLeft: $.dataset[p.value.start] ? $.dataset[p.value.start][0] : $.dataset[0][0],
|
|
668
|
+
labelRight: $.dataset[p.value.end - 1] ? $.dataset[p.value.end - 1][0] : $.dataset.at(-1)[0],
|
|
662
669
|
textColor: e.value.style.color,
|
|
663
670
|
inputColor: e.value.style.zoom.color,
|
|
664
671
|
selectColor: e.value.style.zoom.highlightColor,
|
|
665
672
|
max: O.value,
|
|
666
673
|
min: 0,
|
|
667
|
-
valueStart:
|
|
668
|
-
valueEnd:
|
|
669
|
-
start:
|
|
670
|
-
"onUpdate:start": o[1] || (o[1] = (l) =>
|
|
671
|
-
end:
|
|
672
|
-
"onUpdate:end": o[2] || (o[2] = (l) =>
|
|
674
|
+
valueStart: p.value.start,
|
|
675
|
+
valueEnd: p.value.end,
|
|
676
|
+
start: p.value.start,
|
|
677
|
+
"onUpdate:start": o[1] || (o[1] = (l) => p.value.start = l),
|
|
678
|
+
end: p.value.end,
|
|
679
|
+
"onUpdate:end": o[2] || (o[2] = (l) => p.value.end = l),
|
|
673
680
|
refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
|
|
674
681
|
refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : O.value,
|
|
675
682
|
enableRangeHandles: e.value.style.zoom.enableRangeHandles,
|
|
@@ -677,7 +684,7 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
677
684
|
onReset: De
|
|
678
685
|
}, {
|
|
679
686
|
"reset-action": m(({ reset: l }) => [
|
|
680
|
-
|
|
687
|
+
f(t.$slots, "reset-action", z(S({ reset: l })), void 0, !0)
|
|
681
688
|
]),
|
|
682
689
|
_: 3
|
|
683
690
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
|
|
@@ -686,7 +693,7 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
686
693
|
ref_key: "chartLegend",
|
|
687
694
|
ref: oe
|
|
688
695
|
}, [
|
|
689
|
-
|
|
696
|
+
f(t.$slots, "legend", { legend: b.value }, void 0, !0)
|
|
690
697
|
], 512),
|
|
691
698
|
t.$slots.source ? (s(), u("div", {
|
|
692
699
|
key: 8,
|
|
@@ -694,7 +701,7 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
694
701
|
ref: se,
|
|
695
702
|
dir: "auto"
|
|
696
703
|
}, [
|
|
697
|
-
|
|
704
|
+
f(t.$slots, "source", {}, void 0, !0)
|
|
698
705
|
], 512)) : y("", !0),
|
|
699
706
|
Te(gt, {
|
|
700
707
|
show: w.value.showTooltip && X.value,
|
|
@@ -709,14 +716,14 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
709
716
|
offsetY: e.value.style.tooltip.offsetY,
|
|
710
717
|
parent: L.value,
|
|
711
718
|
content: Y.value,
|
|
712
|
-
isFullscreen:
|
|
719
|
+
isFullscreen: T.value,
|
|
713
720
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
714
721
|
}, {
|
|
715
722
|
"tooltip-before": m(() => [
|
|
716
|
-
|
|
723
|
+
f(t.$slots, "tooltip-before", z(S({ ...Q.value })), void 0, !0)
|
|
717
724
|
]),
|
|
718
725
|
"tooltip-after": m(() => [
|
|
719
|
-
|
|
726
|
+
f(t.$slots, "tooltip-after", z(S({ ...Q.value })), void 0, !0)
|
|
720
727
|
]),
|
|
721
728
|
_: 3
|
|
722
729
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -759,7 +766,7 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
759
766
|
}, 8, ["config"])) : y("", !0)
|
|
760
767
|
], 46, St));
|
|
761
768
|
}
|
|
762
|
-
}, $l = /* @__PURE__ */ zt(sl, [["__scopeId", "data-v-
|
|
769
|
+
}, $l = /* @__PURE__ */ zt(sl, [["__scopeId", "data-v-1c03926d"]]);
|
|
763
770
|
export {
|
|
764
771
|
$l as default
|
|
765
772
|
};
|