vue-data-ui 2.6.19 → 2.6.21
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-QMACp9z-.cjs → Arrow-C1pcd-am.cjs} +1 -1
- package/dist/{Arrow-DTtLZwne.js → Arrow-DQaZQgi6.js} +1 -1
- package/dist/{BaseIcon-BpRuwiFD.cjs → BaseIcon-BQwivF_K.cjs} +1 -1
- package/dist/{BaseIcon-nz-vbP7I.js → BaseIcon-DH34CAFx.js} +1 -1
- package/dist/{DataTable-Dr-djTUz.cjs → DataTable-D5572vAU.cjs} +1 -1
- package/dist/{DataTable-pNLWbeCL.js → DataTable-DfMqgTjL.js} +2 -2
- package/dist/{Legend-BHbX2C8f.cjs → Legend-CoREnR30.cjs} +1 -1
- package/dist/{Legend-s9DRKvJo.js → Legend-PL8rU0J1.js} +2 -2
- package/dist/{PackageVersion-hltZM-fb.js → PackageVersion-1Y7SXTrk.js} +1 -1
- package/dist/{PackageVersion-DsoqDgVf.cjs → PackageVersion-JsuXjgR_.cjs} +1 -1
- package/dist/PenAndPaper-7lGhxIH8.cjs +1 -0
- package/dist/{PenAndPaper-qmkn1GhB.js → PenAndPaper-BYhUvcy4.js} +20 -16
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-z17A_S1M.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-AmNwJZI7.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-lH7bkq1z.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-NplvneD1.cjs} +1 -1
- package/dist/{Shape-YhMDtuHk.cjs → Shape-HtDeeGqp.cjs} +1 -1
- package/dist/{Shape-C3y6rj0O.js → Shape-Ov27sl2L.js} +1 -1
- package/dist/{Slicer-BIW17-XH.js → Slicer-6F4tHrZR.js} +3 -3
- package/dist/{Slicer-BA8XF-Ak.cjs → Slicer-COXIFuZ-.cjs} +1 -1
- package/dist/{Title-dsg3PqUg.js → Title-1PWD04Gh.js} +1 -1
- package/dist/{Title-DWqgN4Kv.cjs → Title-Pgt1Ixvo.cjs} +1 -1
- package/dist/{Tooltip-DRFQIslg.js → Tooltip-BTO5NGkn.js} +1 -1
- package/dist/{Tooltip-B6T_qzJD.cjs → Tooltip-te_h24w6.cjs} +1 -1
- package/dist/{index-3OrObUP-.cjs → index-DM-Bs-Ua.cjs} +1 -1
- package/dist/{index-DvAaY6OP.js → index-DUnEDLbc.js} +1 -1
- package/dist/index.es-DvaaoatM.cjs +18 -0
- package/dist/index.es-RWt7DWPC.js +6645 -0
- package/dist/{jspdf.es.min-C5v1xtPn.cjs → jspdf.es.min-Rw70uifz.cjs} +23 -23
- package/dist/{jspdf.es.min-DKXYalZb.js → jspdf.es.min-eTA26cmm.js} +476 -470
- package/dist/{pdf-CHXlEvWj.cjs → pdf-DSkQT5iH.cjs} +1 -1
- package/dist/{pdf-70oZh5Jp.js → pdf-DVWl3Adn.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CGzX7c5Q.js → useNestedProp-CEMeoM-f.js} +1 -1
- package/dist/{useNestedProp-B53Yi1Rk.cjs → useNestedProp-CYy5g-mh.cjs} +1 -1
- package/dist/usePrinter-DbpIk44f.cjs +1 -0
- package/dist/{usePrinter-D_2jA4x8.js → usePrinter-Undaynpo.js} +73 -71
- package/dist/useResponsive-N8jl0-aC.cjs +1 -0
- package/dist/{useResponsive-BWapHhVH.js → useResponsive-vZgZwV-S.js} +65 -64
- package/dist/{vue-data-ui-CTjgYwlW.cjs → vue-data-ui-BapofDyJ.cjs} +1 -1
- package/dist/{vue-data-ui-DMl9rAwQ.js → vue-data-ui-DnaIYz0z.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DBVRoMwv.js → vue-ui-3d-bar-DLYaW0-y.js} +105 -98
- package/dist/{vue-ui-3d-bar-OwVsZokU.cjs → vue-ui-3d-bar-DansBM76.cjs} +2 -2
- package/dist/{vue-ui-accordion-LbUarYuf.js → vue-ui-accordion-C8Couc_G.js} +3 -3
- package/dist/{vue-ui-accordion-BmScSwW2.cjs → vue-ui-accordion-ZIsT4At8.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DQ5dL4yb.cjs → vue-ui-age-pyramid-BSXnW9GF.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rmfEfmj7.js → vue-ui-age-pyramid-BdruKMmo.js} +76 -69
- package/dist/{vue-ui-annotator-nS_RSspz.cjs → vue-ui-annotator-B7Go0M7W.cjs} +1 -1
- package/dist/{vue-ui-annotator-FlMkU7Kj.js → vue-ui-annotator-DVfdPMa7.js} +2 -2
- package/dist/{vue-ui-bullet-esfPgi-9.js → vue-ui-bullet-CkCJgmoJ.js} +145 -138
- package/dist/{vue-ui-bullet-BGTTcXBJ.cjs → vue-ui-bullet-N9ud2cQ7.cjs} +4 -4
- package/dist/{vue-ui-candlestick-RHrlnUqs.js → vue-ui-candlestick-C9B13qeU.js} +116 -109
- package/dist/{vue-ui-candlestick-BUEGFHg_.cjs → vue-ui-candlestick-DPIs9tEW.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-6uP-Kk9U.js → vue-ui-carousel-table-BLo52Rqu.js} +130 -123
- package/dist/{vue-ui-carousel-table-DCcPnWRU.cjs → vue-ui-carousel-table-DgcY4j9y.cjs} +1 -1
- package/dist/{vue-ui-chestnut-B7Ep4Lho.cjs → vue-ui-chestnut-C9Zw_bey.cjs} +2 -2
- package/dist/{vue-ui-chestnut-Dh4y5s_v.js → vue-ui-chestnut-D8oXG8Tf.js} +131 -124
- package/dist/vue-ui-circle-pack-CrEdkNM7.js +648 -0
- package/dist/vue-ui-circle-pack-DYW-e2E5.cjs +1 -0
- package/dist/{vue-ui-cursor-D-IzE_jd.cjs → vue-ui-cursor-CtSijliN.cjs} +1 -1
- package/dist/{vue-ui-cursor-C21WgpGu.js → vue-ui-cursor-DkW4pJcP.js} +2 -2
- package/dist/{vue-ui-dashboard-T0LqYCqM.js → vue-ui-dashboard-5_Du0Yr2.js} +3 -3
- package/dist/{vue-ui-dashboard-DQ_wht4B.cjs → vue-ui-dashboard-Dh5vRbdI.cjs} +1 -1
- package/dist/{vue-ui-digits-CwV6mhHZ.cjs → vue-ui-digits-DEmYk7sS.cjs} +1 -1
- package/dist/{vue-ui-digits-CLFrlUIW.js → vue-ui-digits-DhA1bHdz.js} +2 -2
- package/dist/{vue-ui-donut-dVplEheX.js → vue-ui-donut-B-G7gRdV.js} +118 -111
- package/dist/{vue-ui-donut-b_UXDeKJ.cjs → vue-ui-donut-BrZxaijU.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-Bl50EWBG.js → vue-ui-donut-evolution-B4almlBq.js} +164 -157
- package/dist/{vue-ui-donut-evolution-VxNtQWGH.cjs → vue-ui-donut-evolution-CTbXi7wk.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B-7s7x7a.cjs → vue-ui-dumbbell-CAIlnhsM.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-Bp685TTG.js → vue-ui-dumbbell-kZGa__IU.js} +75 -68
- package/dist/{vue-ui-flow-CHbfoU97.js → vue-ui-flow-Bc31ZN1W.js} +177 -170
- package/dist/{vue-ui-flow-DJqOVlD7.cjs → vue-ui-flow-D2UNbwlp.cjs} +1 -1
- package/dist/{vue-ui-funnel-B77giO54.cjs → vue-ui-funnel-DfCz1GNN.cjs} +1 -1
- package/dist/{vue-ui-funnel-Bhv0XRzJ.js → vue-ui-funnel-V7hu2Iib.js} +129 -122
- package/dist/{vue-ui-galaxy-Dt4dx9bS.cjs → vue-ui-galaxy-CNBC7IbU.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DMA8AX8h.js → vue-ui-galaxy-DLCcy7Kq.js} +77 -70
- package/dist/{vue-ui-gauge-CBlurlZk.js → vue-ui-gauge-CZMHtEcr.js} +153 -146
- package/dist/{vue-ui-gauge-Bh3iSbSd.cjs → vue-ui-gauge-D8IglqIF.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CHhJKge-.js → vue-ui-gizmo-BuAVBMBp.js} +3 -3
- package/dist/{vue-ui-gizmo-BMrnNfYR.cjs → vue-ui-gizmo-fyC414Iv.cjs} +1 -1
- package/dist/vue-ui-heatmap-CDOry_F1.cjs +1 -0
- package/dist/{vue-ui-heatmap-CB4852rp.js → vue-ui-heatmap-hUfFzGck.js} +139 -132
- package/dist/{vue-ui-history-plot-AwmdEhYL.js → vue-ui-history-plot-C79l8rPm.js} +122 -115
- package/dist/{vue-ui-history-plot-BG7r0ZF7.cjs → vue-ui-history-plot-CIXgvWpk.cjs} +1 -1
- package/dist/{vue-ui-kpi-DcxE4Vv7.js → vue-ui-kpi-C3tHthXH.js} +3 -3
- package/dist/{vue-ui-kpi-BYCMEzBt.cjs → vue-ui-kpi-yiWxNLJ-.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CdDRH8Rb.js → vue-ui-mini-loader-1p1jAKx_.js} +2 -2
- package/dist/{vue-ui-mini-loader-DOqUfxRJ.cjs → vue-ui-mini-loader-26yCYjxn.cjs} +1 -1
- package/dist/{vue-ui-molecule-C-Z0Ywq1.cjs → vue-ui-molecule-Bw0dYLfu.cjs} +1 -1
- package/dist/{vue-ui-molecule-BskBKGbQ.js → vue-ui-molecule-COQ-yrBr.js} +249 -242
- package/dist/{vue-ui-mood-radar-BAPZ1LyF.js → vue-ui-mood-radar-CwfGiQ43.js} +111 -104
- package/dist/{vue-ui-mood-radar-BIrQKfVf.cjs → vue-ui-mood-radar-Cyde9hnR.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BB2Kgb5F.js → vue-ui-nested-donuts-BVaW7w1U.js} +117 -110
- package/dist/{vue-ui-nested-donuts-7YjtP-jC.cjs → vue-ui-nested-donuts-Y07lLGRa.cjs} +2 -2
- package/dist/{vue-ui-onion-BWb18zcN.cjs → vue-ui-onion-DkXss-B_.cjs} +2 -2
- package/dist/{vue-ui-onion-BjMfXAZK.js → vue-ui-onion-h6DP9kOi.js} +143 -136
- package/dist/{vue-ui-parallel-coordinate-plot-D6Vs-5Vh.cjs → vue-ui-parallel-coordinate-plot-CkI21cq2.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-ryqdfkHL.js → vue-ui-parallel-coordinate-plot-O5cwKbzH.js} +113 -106
- package/dist/{vue-ui-quadrant-Cr4ypLzT.js → vue-ui-quadrant-CfywvXnV.js} +112 -105
- package/dist/{vue-ui-quadrant-BmsHBpKo.cjs → vue-ui-quadrant-F6w-QJE_.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-45IEXHb0.cjs → vue-ui-quick-chart-BeMHD_Kz.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-C9dIHRYi.js → vue-ui-quick-chart-C1AwFGSr.js} +195 -188
- package/dist/{vue-ui-radar-Nr5JmVlk.cjs → vue-ui-radar-BejYh3DW.cjs} +1 -1
- package/dist/{vue-ui-radar-T6xdl9ic.js → vue-ui-radar-DDKXLi5o.js} +101 -94
- package/dist/{vue-ui-rating-C5AaiBqZ.js → vue-ui-rating-BrGbM0Op.js} +2 -2
- package/dist/{vue-ui-rating-CFIhZlG-.cjs → vue-ui-rating-C40ktvn7.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Cw-DcsRY.cjs → vue-ui-relation-circle-C4qT13SI.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BktS594K.js → vue-ui-relation-circle-DrtdiTMX.js} +103 -96
- package/dist/{vue-ui-rings-_evAK3j7.js → vue-ui-rings-C4IdhEUE.js} +169 -162
- package/dist/{vue-ui-rings-2j5fsO_o.cjs → vue-ui-rings-Cd8WyeDZ.cjs} +2 -2
- package/dist/{vue-ui-scatter-C5ePnByD.js → vue-ui-scatter-BS8sgyMi.js} +85 -78
- package/dist/{vue-ui-scatter-W1_ChsfO.cjs → vue-ui-scatter-MmvIeu4D.cjs} +1 -1
- package/dist/{vue-ui-screenshot-B6ASKPJf.cjs → vue-ui-screenshot-BB51-eRL.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DM-PQM2g.js → vue-ui-screenshot-tnFPT1vi.js} +1 -1
- package/dist/{vue-ui-skeleton-WoggMoff.js → vue-ui-skeleton-DieABKlo.js} +3 -3
- package/dist/{vue-ui-skeleton-DaowWOKJ.cjs → vue-ui-skeleton-DlC-U64G.cjs} +1 -1
- package/dist/{vue-ui-smiley-gulDZ8i7.js → vue-ui-smiley-C32wVXgu.js} +2 -2
- package/dist/{vue-ui-smiley-hlaNlq2y.cjs → vue-ui-smiley-DSxKw3ud.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-LbApLsdt.js → vue-ui-spark-trend-B_x1dX38.js} +5 -5
- package/dist/{vue-ui-spark-trend-BcrMflk6.cjs → vue-ui-spark-trend-vexkCCy9.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BdfaDBkw.cjs → vue-ui-sparkbar-CsOEiHDQ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CnL6FbaE.js → vue-ui-sparkbar-ZSbB6Llo.js} +4 -4
- package/dist/{vue-ui-sparkgauge-CHv1q1cO.cjs → vue-ui-sparkgauge-Bdh7X--h.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Du7PRJyB.js → vue-ui-sparkgauge-Cf3bDk98.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CyEyZvbD.js → vue-ui-sparkhistogram-CrZy1xf0.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CBqKXnvX.cjs → vue-ui-sparkhistogram-fALwb3uK.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DRHE0kK8.cjs → vue-ui-sparkline-D4WDvcZR.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BMNXPHhB.js → vue-ui-sparkline-DTW_lXgp.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-D6wuDd8h.cjs → vue-ui-sparkstackbar-DBPLhUoi.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D33lwh8d.js → vue-ui-sparkstackbar-Db2Ndf0k.js} +5 -5
- package/dist/{vue-ui-stackbar-CnxGAca-.cjs → vue-ui-stackbar-B3eaSIoO.cjs} +3 -3
- package/dist/{vue-ui-stackbar-C5yoqQAY.js → vue-ui-stackbar-DbF3ZJTD.js} +211 -204
- package/dist/{vue-ui-strip-plot-Cg1B7i3X.js → vue-ui-strip-plot-CpkH2Gfd.js} +83 -76
- package/dist/{vue-ui-strip-plot-DDTTc2jA.cjs → vue-ui-strip-plot-DiCVf5u-.cjs} +1 -1
- package/dist/{vue-ui-table-BGfZl0wF.js → vue-ui-table-D6zWwikN.js} +1 -1
- package/dist/{vue-ui-table-TV5Coa0A.cjs → vue-ui-table-K13fqkDI.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Jjx8L8St.cjs → vue-ui-table-heatmap-BgenCoVa.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D0j2OFv0.js → vue-ui-table-heatmap-EAevgnzN.js} +63 -56
- package/dist/{vue-ui-table-sparkline-D0_FhhN5.cjs → vue-ui-table-sparkline-3JMqr89P.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-C2sUG_7S.js → vue-ui-table-sparkline-s_oWe6MG.js} +90 -83
- package/dist/{vue-ui-thermometer-Bw35Fw8v.cjs → vue-ui-thermometer--mYRly4x.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CdLZ8te2.js → vue-ui-thermometer-Bo3l_0Kf.js} +113 -106
- package/dist/{vue-ui-timer-1-kXQ5_q.js → vue-ui-timer-C9EuUurN.js} +6 -6
- package/dist/{vue-ui-timer-Deg5YPx0.cjs → vue-ui-timer-Djh-ZDNe.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-uSgVLSbo.cjs → vue-ui-tiremarks-CKv_KApZ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BHTSw0fa.js → vue-ui-tiremarks-DgdpEDJ1.js} +76 -69
- package/dist/{vue-ui-treemap-7W_lvbV0.cjs → vue-ui-treemap-AkNJjd2c.cjs} +1 -1
- package/dist/{vue-ui-treemap-C2u5sEzh.js → vue-ui-treemap-D13sISL0.js} +144 -137
- package/dist/{vue-ui-vertical-bar-BlzOi8LC.cjs → vue-ui-vertical-bar-CQlvpdJl.cjs} +3 -3
- package/dist/{vue-ui-vertical-bar-U3LQF-NS.js → vue-ui-vertical-bar-DfegzHj4.js} +120 -113
- package/dist/{vue-ui-waffle-DUXvINoC.cjs → vue-ui-waffle-Dve1LWVt.cjs} +1 -1
- package/dist/{vue-ui-waffle-qAheWwiI.js → vue-ui-waffle-f72Lq8_D.js} +78 -71
- package/dist/{vue-ui-wheel-DIoKCgCS.cjs → vue-ui-wheel-BG1GcVvN.cjs} +1 -1
- package/dist/{vue-ui-wheel-CuLQchDK.js → vue-ui-wheel-BxefMdit.js} +105 -98
- package/dist/{vue-ui-word-cloud-B-nFH7hZ.js → vue-ui-word-cloud-BYY4K2G4.js} +123 -116
- package/dist/{vue-ui-word-cloud-BSvmRQ5n.cjs → vue-ui-word-cloud-CRRR7H7h.cjs} +1 -1
- package/dist/{vue-ui-xy-DXMoSF2C.js → vue-ui-xy-BS0_aTIH.js} +73 -66
- package/dist/{vue-ui-xy-BGsFH9wE.cjs → vue-ui-xy-DGYZFgdd.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-CTymfSH6.js → vue-ui-xy-canvas-Bl2v7Z3U.js} +200 -193
- package/dist/{vue-ui-xy-canvas-i13v43UX.cjs → vue-ui-xy-canvas-R_pPaj0X.cjs} +2 -2
- package/package.json +2 -7
- package/dist/PenAndPaper-Dbw8Fph9.cjs +0 -1
- package/dist/index-Dwoe0gcF.cjs +0 -15
- package/dist/index-Fl-W8YeZ.js +0 -3971
- package/dist/usePrinter-bPnqqKha.cjs +0 -1
- package/dist/useResponsive-YQYQrAZ_.cjs +0 -1
- package/dist/vue-ui-circle-pack-Ce1oEvgz.cjs +0 -1
- package/dist/vue-ui-circle-pack-CrgnQ_jY.js +0 -663
- package/dist/vue-ui-heatmap-DvItO4xs.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
|
|
3
|
-
import { t as yt, u as ct } from "./useResponsive-
|
|
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-
|
|
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-DUnEDLbc.js";
|
|
3
|
+
import { t as yt, u as ct } from "./useResponsive-vZgZwV-S.js";
|
|
4
|
+
import { _ as ht } from "./Title-1PWD04Gh.js";
|
|
5
|
+
import { u as ft, U as pt } from "./usePrinter-Undaynpo.js";
|
|
6
|
+
import { _ as gt } from "./Tooltip-BTO5NGkn.js";
|
|
7
|
+
import { D as mt } from "./DataTable-DfMqgTjL.js";
|
|
8
|
+
import bt from "./vue-ui-skeleton-DieABKlo.js";
|
|
9
|
+
import { S as xt } from "./Slicer-6F4tHrZR.js";
|
|
10
|
+
import kt from "./vue-ui-accordion-C8Couc_G.js";
|
|
11
|
+
import { u as Re } from "./useNestedProp-CEMeoM-f.js";
|
|
12
|
+
import { _ as wt } from "./PackageVersion-1Y7SXTrk.js";
|
|
13
|
+
import { P as $t } from "./PenAndPaper-BYhUvcy4.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
|
};
|