vue-data-ui 2.3.73 → 2.3.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-B9ZuNkP-.js → Arrow-BTG7M25z.js} +1 -1
- package/dist/{Arrow-B8nZeqNJ.cjs → Arrow-CZK77NmC.cjs} +1 -1
- package/dist/{BaseIcon-CXbZK6D-.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
- package/dist/{BaseIcon-_V_BEdy8.js → BaseIcon-BAOfPaXs.js} +1 -1
- package/dist/{DataTable-BOdJVZzF.js → DataTable-CQANRZju.js} +2 -2
- package/dist/{DataTable-wmKwMbsJ.cjs → DataTable-DjQzrklZ.cjs} +1 -1
- package/dist/{Legend-DdndVhHV.cjs → Legend-CtbPB0Bo.cjs} +1 -1
- package/dist/{Legend-CHd5QFPM.js → Legend-DX1kv21U.js} +1 -1
- package/dist/{Shape-CLRxBhyM.cjs → Shape-CadGs1Am.cjs} +1 -1
- package/dist/{Shape-DNbJlwSU.js → Shape-kqcyauhC.js} +1 -1
- package/dist/{Slicer-Dts-BToH.cjs → Slicer-i_oECHxH.cjs} +1 -1
- package/dist/{Slicer-8Gg45iGX.js → Slicer-yaJs-izT.js} +2 -2
- package/dist/{Title-Ngy9HNqO.js → Title-C26I_HC3.js} +1 -1
- package/dist/{Title-CujodUjt.cjs → Title-XBiDFYKD.cjs} +1 -1
- package/dist/{Tooltip-BCtg7xYX.js → Tooltip-CH8GmDCG.js} +1 -1
- package/dist/{Tooltip-DsmWz8gF.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
- package/dist/{index-Dvs5Ra-u.js → index-Cm4Iry5c.js} +1 -1
- package/dist/{index-sFjJ2dIj.cjs → index-DYUBiaGS.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-UohhCyBz.js → useNestedProp-CurQIHTa.js} +1 -1
- package/dist/{useNestedProp-ir0jEo5M.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
- package/dist/{usePrinter-B8-keRMa.js → usePrinter-B8RnF8_q.js} +1 -1
- package/dist/{usePrinter-DSMMs1w9.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
- package/dist/{vue-data-ui-NvV5qa--.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
- package/dist/{vue-data-ui-Bgo6YUhl.js → vue-data-ui-Bj6kEIpq.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-BAz41kL7.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DckNIYgA.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
- package/dist/{vue-ui-accordion-RuCkf_li.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
- package/dist/{vue-ui-accordion-C-qAry7P.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CamjaXUw.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
- package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
- package/dist/{vue-ui-annotator-D0kYZ56C.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
- package/dist/{vue-ui-annotator-DMmdqorj.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
- package/dist/{vue-ui-candlestick-DRi8lDTn.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
- package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
- package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
- package/dist/{vue-ui-carousel-table-u5OoOMr1.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
- package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
- package/dist/{vue-ui-chestnut-D5a4OH1D.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
- package/dist/{vue-ui-cursor-Bp_PHbz4.js → vue-ui-cursor-BP04_XbB.js} +2 -2
- package/dist/{vue-ui-cursor-DpBsZNEE.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BwBYH8V_.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
- package/dist/{vue-ui-dashboard--kjU0uMc.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
- package/dist/{vue-ui-digits-CIV9J3SW.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
- package/dist/{vue-ui-digits-t2G4B6uD.js → vue-ui-digits-DUhkLcmd.js} +2 -2
- package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
- package/dist/{vue-ui-donut-BTug2gsP.js → vue-ui-donut-DRPSwmGr.js} +376 -362
- package/dist/{vue-ui-donut-evolution-DTD0Hfgh.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
- package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BZw7lntE.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
- package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
- package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
- package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
- package/dist/{vue-ui-galaxy-Bjlm3WtB.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
- package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
- package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
- package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
- package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
- package/dist/{vue-ui-gizmo-CiutQM-A.js → vue-ui-gizmo-bV148qAf.js} +66 -53
- package/dist/{vue-ui-heatmap-C933pQPU.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
- package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
- package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
- package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
- package/dist/{vue-ui-mini-loader-B5XG2gKd.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
- package/dist/{vue-ui-mini-loader-C67Z1C6r.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
- package/dist/{vue-ui-molecule-DzIeuL8t.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
- package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
- package/dist/{vue-ui-mood-radar-02L4M-n_.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
- package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BY50trfJ.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
- package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
- package/dist/{vue-ui-onion-BmQ7B9xY.js → vue-ui-onion-CFa4VD-w.js} +191 -177
- package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BdfcqlfT.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
- package/dist/{vue-ui-quadrant-CLimyRoA.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
- package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CX8Kas-o.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
- package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
- package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
- package/dist/{vue-ui-radar-CK0PB5oY.js → vue-ui-radar-CW8EKW4o.js} +202 -189
- package/dist/{vue-ui-rating-Ceu3pXmF.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
- package/dist/{vue-ui-rating-BnqWN2ui.js → vue-ui-rating-eSWsmJUU.js} +2 -2
- package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
- package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
- package/dist/{vue-ui-rings-CYthauSM.js → vue-ui-rings-BxhLbyG0.js} +203 -189
- package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
- package/dist/{vue-ui-scatter-Cxr9eymz.js → vue-ui-scatter-DQchX_mM.js} +284 -270
- package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
- package/dist/{vue-ui-screenshot-CVWC5rbJ.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
- package/dist/{vue-ui-screenshot-sBd8-Oyh.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CAvlIcgk.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
- package/dist/{vue-ui-skeleton-CqF0NJ4g.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
- package/dist/{vue-ui-smiley-CXbipVsb.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
- package/dist/{vue-ui-smiley-c_I60YOy.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
- package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Dm-2_5Ef.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
- package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
- package/dist/{vue-ui-sparkhistogram-qf87TXA-.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
- package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
- package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
- package/dist/{vue-ui-sparkline-CZBgvY1A.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
- package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-GtkDZDXZ.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
- package/dist/{vue-ui-stackbar-D_Ui7xec.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
- package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
- package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
- package/dist/{vue-ui-strip-plot--VJ3f5UV.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
- package/dist/{vue-ui-table-BCQ7voEV.js → vue-ui-table-BSi_cHh7.js} +1 -1
- package/dist/{vue-ui-table-B_6N0VOD.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-UwpQQMHB.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
- package/dist/{vue-ui-table-sparkline-Bzqs2Hcp.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
- package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
- package/dist/{vue-ui-thermometer-BQbYzsSV.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
- package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
- package/dist/{vue-ui-timer-KGEswANF.js → vue-ui-timer-CkB7eZaE.js} +191 -176
- package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
- package/dist/{vue-ui-tiremarks-BSkMCIu1.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
- package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
- package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
- package/dist/{vue-ui-treemap-DIWveOrq.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
- package/dist/{vue-ui-vertical-bar-Dx6wReOw.js → vue-ui-vertical-bar-BA43_uHV.js} +374 -358
- package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
- package/dist/{vue-ui-waffle-D3jMPOd3.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
- package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
- package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
- package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
- package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
- package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
- package/dist/{vue-ui-xy-9_2IHEOX.js → vue-ui-xy-BMBYAC4z.js} +300 -274
- package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
- package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-DGuGy69l.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DhzN0gd4.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CfUUEeKt.cjs +0 -1
- package/dist/vue-ui-candlestick-DJIJnnI_.cjs +0 -2
- package/dist/vue-ui-carousel-table-uYt1zVjx.cjs +0 -1
- package/dist/vue-ui-chestnut-CG5krVO-.cjs +0 -6
- package/dist/vue-ui-donut-D6SrEIEJ.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Cb45erSA.cjs +0 -1
- package/dist/vue-ui-dumbbell-DVabaAYH.cjs +0 -9
- package/dist/vue-ui-flow-Bn1EP9Z1.cjs +0 -1
- package/dist/vue-ui-flow-Cz_xaLAs.js +0 -469
- package/dist/vue-ui-galaxy-Drnhlmmw.cjs +0 -1
- package/dist/vue-ui-gauge-CxIVYnG2.js +0 -488
- package/dist/vue-ui-gauge-D2reVZ-b.cjs +0 -1
- package/dist/vue-ui-gizmo-B6ZwXwFY.cjs +0 -1
- package/dist/vue-ui-heatmap-ClFm7qUu.cjs +0 -1
- package/dist/vue-ui-kpi-CdPFWSHA.cjs +0 -1
- package/dist/vue-ui-kpi-ClreiT4V.js +0 -84
- package/dist/vue-ui-molecule-JJQ3af-R.cjs +0 -1
- package/dist/vue-ui-mood-radar-DT4JU_6B.cjs +0 -1
- package/dist/vue-ui-nested-donuts-D6Dihmne.cjs +0 -17
- package/dist/vue-ui-onion-DoNDCpth.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CJMjEDXR.cjs +0 -8
- package/dist/vue-ui-quadrant-DWqmU3-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-CB5VelG0.cjs +0 -15
- package/dist/vue-ui-radar-aTceo-HQ.cjs +0 -1
- package/dist/vue-ui-relation-circle-D1z8MBVH.js +0 -310
- package/dist/vue-ui-relation-circle-DWGtziD_.cjs +0 -1
- package/dist/vue-ui-rings-gp0sEMy6.cjs +0 -2
- package/dist/vue-ui-scatter-BKl2fUIR.cjs +0 -1
- package/dist/vue-ui-spark-trend-C3sBXu8D.js +0 -251
- package/dist/vue-ui-spark-trend-CXkkMK6N.cjs +0 -1
- package/dist/vue-ui-sparkbar-BkN5iTUq.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D4EqU3x3.cjs +0 -1
- package/dist/vue-ui-sparkgauge-FKTXvE7e.js +0 -167
- package/dist/vue-ui-sparkhistogram-BkJz2dBD.cjs +0 -1
- package/dist/vue-ui-sparkline-TPkuvKtA.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-CzzfnPDS.cjs +0 -1
- package/dist/vue-ui-stackbar-NHgsl2-Z.cjs +0 -6
- package/dist/vue-ui-strip-plot-CU6OtKt7.cjs +0 -1
- package/dist/vue-ui-table-heatmap-DFMF1RZ0.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DWvOKdPb.cjs +0 -1
- package/dist/vue-ui-thermometer-BOuuVWuf.cjs +0 -1
- package/dist/vue-ui-timer-BCiMjXdm.cjs +0 -64
- package/dist/vue-ui-tiremarks-DuEz8cO5.cjs +0 -1
- package/dist/vue-ui-treemap-BO8gKQ4O.cjs +0 -1
- package/dist/vue-ui-vertical-bar-Dpzyha_P.cjs +0 -4
- package/dist/vue-ui-waffle-C0-IVDjk.cjs +0 -1
- package/dist/vue-ui-wheel-B10kCoLD.js +0 -242
- package/dist/vue-ui-wheel-mWdIHlXV.cjs +0 -1
- package/dist/vue-ui-word-cloud-CYtRxpdV.cjs +0 -1
- package/dist/vue-ui-word-cloud-rhrsHes4.js +0 -498
- package/dist/vue-ui-xy-CFqs5rtd.cjs +0 -3
- package/dist/vue-ui-xy-canvas-sLH0pM-i.cjs +0 -9
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { computed as h, ref as v, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { S as
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
const
|
|
1
|
+
import { computed as h, ref as v, watch as fe, onMounted as Ie, onBeforeUnmount as Be, openBlock as u, createElementBlock as s, normalizeClass as be, normalizeStyle as q, createBlock as N, createCommentVNode as c, unref as p, createSlots as Oe, withCtx as b, renderSlot as x, normalizeProps as L, guardReactiveProps as R, createElementVNode as n, Fragment as S, renderList as z, toDisplayString as V, createVNode as Pe, createTextVNode as Me, nextTick as Ue } from "vue";
|
|
2
|
+
import { u as De, c as Ee, t as We, o as Ge, e as C, B as Xe, s as I, X as je, v as E, C as He, w as Ye, x as qe, y as Je, q as Ke, r as Qe, D as xe } from "./index-Cm4Iry5c.js";
|
|
3
|
+
import { t as Ze, u as et } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as tt } from "./Title-C26I_HC3.js";
|
|
5
|
+
import { u as lt, U as ot } from "./usePrinter-B8RnF8_q.js";
|
|
6
|
+
import { _ as at } from "./Tooltip-CH8GmDCG.js";
|
|
7
|
+
import { D as ut } from "./DataTable-CQANRZju.js";
|
|
8
|
+
import st from "./vue-ui-skeleton-C1oUnz7R.js";
|
|
9
|
+
import { S as it } from "./Slicer-yaJs-izT.js";
|
|
10
|
+
import nt from "./vue-ui-accordion-Cb6XBCbu.js";
|
|
11
|
+
import { u as me } from "./useNestedProp-CurQIHTa.js";
|
|
12
|
+
import { _ as rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht = ["stop-color"], pt = ["stop-color"], gt = ["stop-color"], ft = ["id"], bt = ["stop-color"], xt = ["stop-color"], mt = ["stop-color"], kt = { key: 0 }, wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _t = { key: 1 }, Ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "font-size", "fill", "font-weight"], St = { key: 2 }, zt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = { key: 0 }, Ft = ["cx", "cy", "r", "fill"], Lt = ["cx", "cy", "r", "fill"], Rt = { key: 1 }, Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bt = ["x", "y", "height", "width", "fill", "rx"], Ot = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Pt = ["x", "y", "height", "width", "fill", "onMouseover"], Mt = {
|
|
14
14
|
key: 3,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
16
|
+
}, Ut = ["innerHTML"], Dt = {
|
|
17
17
|
__name: "vue-ui-candlestick",
|
|
18
18
|
props: {
|
|
19
19
|
config: {
|
|
@@ -29,193 +29,207 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
setup($, { expose:
|
|
33
|
-
const k = $, { vue_ui_candlestick:
|
|
34
|
-
|
|
32
|
+
setup($, { expose: ke }) {
|
|
33
|
+
const k = $, { vue_ui_candlestick: we } = De(), T = h(() => !!k.dataset && k.dataset.length), m = v(Ee()), $e = v(null), W = v(!1), G = v(""), X = v(void 0), J = v(0), A = v(null), K = v(null), Q = v(null), Z = v(null), B = v(0), ee = v(0), te = v(0), e = h({
|
|
34
|
+
get: () => le(),
|
|
35
|
+
set: (t) => t
|
|
36
|
+
});
|
|
37
|
+
function le() {
|
|
38
|
+
const t = me({
|
|
35
39
|
userConfig: k.config,
|
|
36
|
-
defaultConfig:
|
|
40
|
+
defaultConfig: we
|
|
37
41
|
});
|
|
38
|
-
return
|
|
39
|
-
...
|
|
40
|
-
userConfig:
|
|
41
|
-
defaultConfig:
|
|
42
|
+
return t.theme ? {
|
|
43
|
+
...me({
|
|
44
|
+
userConfig: We.vue_ui_candlestick[t.theme] || k.config,
|
|
45
|
+
defaultConfig: t
|
|
42
46
|
})
|
|
43
|
-
} :
|
|
44
|
-
}
|
|
47
|
+
} : t;
|
|
48
|
+
}
|
|
49
|
+
fe(() => k.config, (t) => {
|
|
50
|
+
e.value = le(), oe(), B.value += 1, te.value += 1, ee.value += 1;
|
|
51
|
+
}, { deep: !0 }), fe(() => k.dataset, (t) => {
|
|
52
|
+
y.value.start = 0, y.value.end = t.length, B.value += 1;
|
|
53
|
+
}, { deep: !0 });
|
|
54
|
+
const d = v({
|
|
45
55
|
height: e.value.style.height,
|
|
46
56
|
width: e.value.style.width,
|
|
47
57
|
xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
48
58
|
yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
49
|
-
}),
|
|
50
|
-
|
|
51
|
-
|
|
59
|
+
}), O = v(null);
|
|
60
|
+
Ie(() => {
|
|
61
|
+
oe();
|
|
62
|
+
});
|
|
63
|
+
function oe() {
|
|
64
|
+
if (Ge(k.dataset) && C({
|
|
52
65
|
componentName: "VueUiCandlestick",
|
|
53
66
|
type: "dataset"
|
|
54
67
|
}), e.value.responsive) {
|
|
55
|
-
const
|
|
56
|
-
const { width: a, height:
|
|
57
|
-
chart:
|
|
58
|
-
title: e.value.style.title.text ?
|
|
59
|
-
slicer:
|
|
60
|
-
legend:
|
|
68
|
+
const t = Ze(() => {
|
|
69
|
+
const { width: a, height: l } = et({
|
|
70
|
+
chart: A.value,
|
|
71
|
+
title: e.value.style.title.text ? K.value : null,
|
|
72
|
+
slicer: Z.value,
|
|
73
|
+
legend: Q.value
|
|
61
74
|
});
|
|
62
|
-
d.value.width = a, d.value.height =
|
|
63
|
-
relator: Math.min(a,
|
|
75
|
+
d.value.width = a, d.value.height = l, d.value.xAxisFontSize = xe({
|
|
76
|
+
relator: Math.min(a, l),
|
|
64
77
|
adjuster: e.value.style.width,
|
|
65
78
|
source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
66
79
|
threshold: 6,
|
|
67
80
|
fallback: 6
|
|
68
|
-
}), d.value.yAxisFontSize =
|
|
69
|
-
relator: Math.min(a,
|
|
81
|
+
}), d.value.yAxisFontSize = xe({
|
|
82
|
+
relator: Math.min(a, l),
|
|
70
83
|
adjuster: e.value.style.width,
|
|
71
84
|
source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
72
85
|
threshold: 6,
|
|
73
86
|
fallback: 6
|
|
74
87
|
});
|
|
75
88
|
});
|
|
76
|
-
|
|
89
|
+
O.value = new ResizeObserver(t), O.value.observe(A.value.parentNode);
|
|
77
90
|
}
|
|
78
|
-
}
|
|
79
|
-
|
|
91
|
+
}
|
|
92
|
+
Be(() => {
|
|
93
|
+
O.value && O.value.disconnect();
|
|
80
94
|
});
|
|
81
|
-
const { isPrinting:
|
|
95
|
+
const { isPrinting: ae, isImaging: ue, generatePdf: se, generateImage: ie } = lt({
|
|
82
96
|
elementId: `vue-ui-candlestick_${m.value}`,
|
|
83
97
|
fileName: e.value.style.title.text || "vue-ui-candlestick"
|
|
84
98
|
}), w = v({
|
|
85
99
|
showTable: e.value.table.show,
|
|
86
100
|
showTooltip: e.value.style.tooltip.show
|
|
87
101
|
}), i = h(() => {
|
|
88
|
-
const { top:
|
|
102
|
+
const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding;
|
|
89
103
|
return {
|
|
90
|
-
top:
|
|
104
|
+
top: t,
|
|
91
105
|
right: d.value.width - a,
|
|
92
106
|
left: o,
|
|
93
|
-
bottom: d.value.height -
|
|
107
|
+
bottom: d.value.height - l,
|
|
94
108
|
width: d.value.width - o - a,
|
|
95
|
-
height: d.value.height -
|
|
109
|
+
height: d.value.height - t - l
|
|
96
110
|
};
|
|
97
|
-
}),
|
|
111
|
+
}), j = h(() => k.dataset.length), y = v({
|
|
98
112
|
start: 0,
|
|
99
|
-
end:
|
|
100
|
-
}),
|
|
101
|
-
[null, void 0].includes(
|
|
113
|
+
end: j.value
|
|
114
|
+
}), ne = h(() => k.dataset.slice(y.value.start, y.value.end)), H = h(() => (k.dataset.forEach((t, a) => {
|
|
115
|
+
[null, void 0].includes(t[0]) && C({
|
|
102
116
|
componentName: "VueUiCandlestick",
|
|
103
117
|
type: "datasetAttribute",
|
|
104
118
|
property: "period (index 0)",
|
|
105
119
|
index: a
|
|
106
|
-
}), [null, void 0].includes(
|
|
120
|
+
}), [null, void 0].includes(t[1]) && C({
|
|
107
121
|
componentName: "VueUiCandlestick",
|
|
108
122
|
type: "datasetAttribute",
|
|
109
123
|
property: "open (index 1)",
|
|
110
124
|
index: a
|
|
111
|
-
}), [null, void 0].includes(
|
|
125
|
+
}), [null, void 0].includes(t[2]) && C({
|
|
112
126
|
componentName: "VueUiCandlestick",
|
|
113
127
|
type: "datasetAttribute",
|
|
114
128
|
property: "high (index 2)",
|
|
115
129
|
index: a
|
|
116
|
-
}), [null, void 0].includes(
|
|
130
|
+
}), [null, void 0].includes(t[3]) && C({
|
|
117
131
|
componentName: "VueUiCandlestick",
|
|
118
132
|
type: "datasetAttribute",
|
|
119
133
|
property: "low (index 3)",
|
|
120
134
|
index: a
|
|
121
|
-
}), [null, void 0].includes(
|
|
135
|
+
}), [null, void 0].includes(t[4]) && C({
|
|
122
136
|
componentName: "VueUiCandlestick",
|
|
123
137
|
type: "datasetAttribute",
|
|
124
138
|
property: "last (index 4)",
|
|
125
139
|
index: a
|
|
126
|
-
}), [null, void 0].includes(
|
|
140
|
+
}), [null, void 0].includes(t[5]) && C({
|
|
127
141
|
componentName: "VueUiCandlestick",
|
|
128
142
|
type: "datasetAttribute",
|
|
129
143
|
property: "volume (index 5)",
|
|
130
144
|
index: a
|
|
131
145
|
});
|
|
132
|
-
}),
|
|
133
|
-
period:
|
|
134
|
-
open:
|
|
135
|
-
high:
|
|
136
|
-
low:
|
|
137
|
-
last:
|
|
138
|
-
volume:
|
|
139
|
-
})))), r = h(() => i.value.width /
|
|
140
|
-
max: Math.max(...
|
|
146
|
+
}), ne.value.map((t) => ({
|
|
147
|
+
period: t[0],
|
|
148
|
+
open: t[1],
|
|
149
|
+
high: t[2],
|
|
150
|
+
low: t[3],
|
|
151
|
+
last: t[4],
|
|
152
|
+
volume: t[5]
|
|
153
|
+
})))), r = h(() => i.value.width / ne.value.length), re = h(() => ({
|
|
154
|
+
max: Math.max(...H.value.map((t) => t.high)),
|
|
141
155
|
min: 0
|
|
142
|
-
})), _ = h(() =>
|
|
143
|
-
function
|
|
156
|
+
})), _ = h(() => Xe(re.value.min, re.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
157
|
+
function P(t, a) {
|
|
144
158
|
return {
|
|
145
|
-
...
|
|
146
|
-
x:
|
|
147
|
-
y:
|
|
148
|
-
value:
|
|
159
|
+
...t,
|
|
160
|
+
x: I(i.value.left + a * r.value + r.value / 2),
|
|
161
|
+
y: I(i.value.top + (1 - t / _.value.max) * i.value.height),
|
|
162
|
+
value: I(t)
|
|
149
163
|
};
|
|
150
164
|
}
|
|
151
|
-
const g = h(() =>
|
|
152
|
-
const
|
|
165
|
+
const g = h(() => H.value.map((t, a) => {
|
|
166
|
+
const l = P(t.open, a), o = P(t.high, a), f = P(t.low, a), U = P(t.last, a), D = t.last > t.open;
|
|
153
167
|
return {
|
|
154
|
-
period:
|
|
155
|
-
open:
|
|
168
|
+
period: t.period,
|
|
169
|
+
open: l,
|
|
156
170
|
high: o,
|
|
157
171
|
low: f,
|
|
158
|
-
last:
|
|
159
|
-
volume:
|
|
160
|
-
isBullish:
|
|
172
|
+
last: U,
|
|
173
|
+
volume: t.volume,
|
|
174
|
+
isBullish: D
|
|
161
175
|
};
|
|
162
176
|
}));
|
|
163
|
-
function
|
|
164
|
-
return
|
|
177
|
+
function _e(t) {
|
|
178
|
+
return I(t / _.value.max);
|
|
165
179
|
}
|
|
166
|
-
const
|
|
167
|
-
y: i.value.bottom - i.value.height *
|
|
168
|
-
value:
|
|
169
|
-
}))),
|
|
170
|
-
function
|
|
171
|
-
|
|
180
|
+
const Ce = h(() => _.value.ticks.map((t) => ({
|
|
181
|
+
y: i.value.bottom - i.value.height * _e(t),
|
|
182
|
+
value: I(t)
|
|
183
|
+
}))), Ne = h(() => H.value.map((t) => t.period)), Y = v(null);
|
|
184
|
+
function Se(t, a) {
|
|
185
|
+
X.value = t, Y.value = {
|
|
172
186
|
datapoint: a,
|
|
173
|
-
seriesIndex:
|
|
187
|
+
seriesIndex: t,
|
|
174
188
|
series: g.value,
|
|
175
189
|
config: e.value
|
|
176
190
|
};
|
|
177
|
-
const
|
|
178
|
-
if (
|
|
179
|
-
seriesIndex:
|
|
191
|
+
const l = e.value.style.tooltip.customFormat;
|
|
192
|
+
if (qe(l) && Je(() => l({
|
|
193
|
+
seriesIndex: t,
|
|
180
194
|
datapoint: a,
|
|
181
195
|
series: g.value,
|
|
182
196
|
config: e.value
|
|
183
197
|
})))
|
|
184
|
-
|
|
185
|
-
seriesIndex:
|
|
198
|
+
G.value = l({
|
|
199
|
+
seriesIndex: t,
|
|
186
200
|
datapoint: a,
|
|
187
201
|
series: g.value,
|
|
188
202
|
config: e.value
|
|
189
203
|
});
|
|
190
204
|
else if (e.value.style.tooltip.show) {
|
|
191
205
|
let o = "";
|
|
192
|
-
const { period: f, open:
|
|
206
|
+
const { period: f, open: U, high: D, low: ce, last: he, volume: pe, isBullish: ge } = g.value[t], { period: Et, open: Ae, high: Fe, low: Le, last: Re, volume: Ve } = e.value.translations;
|
|
193
207
|
o += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${e.value.style.layout.candle.borderRadius * 3}" stroke="${e.value.style.layout.candle.stroke}" stroke-width="${e.value.style.layout.candle.strokeWidth}"
|
|
194
|
-
fill="${e.value.style.layout.candle.gradient.show ?
|
|
208
|
+
fill="${e.value.style.layout.candle.gradient.show ? ge ? `url(#bullish_gradient_${m.value})` : `url(#bearish_gradient_${m.value})` : ge ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${f}</div>`, o += `${Ve} : <b>${isNaN(pe) ? "-" : Number(pe.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>${Ae}: <b>${e.value.style.tooltip.prefix} ${isNaN(U.value) ? "-" : Number(U.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Fe}: <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>${Le}: <b>${e.value.style.tooltip.prefix} ${isNaN(ce.value) ? "-" : Number(ce.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Re}: <b>${e.value.style.tooltip.prefix} ${isNaN(he.value) ? "-" : Number(he.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += "</div>", G.value = `<div style="text-align:right">${o}</div>`;
|
|
195
209
|
}
|
|
196
|
-
|
|
210
|
+
W.value = !0;
|
|
197
211
|
}
|
|
198
|
-
function
|
|
199
|
-
|
|
212
|
+
function ze() {
|
|
213
|
+
y.value = {
|
|
200
214
|
start: 0,
|
|
201
|
-
end:
|
|
202
|
-
},
|
|
215
|
+
end: j.value
|
|
216
|
+
}, B.value += 1;
|
|
203
217
|
}
|
|
204
|
-
function
|
|
205
|
-
|
|
206
|
-
const
|
|
218
|
+
function ve() {
|
|
219
|
+
Ue(() => {
|
|
220
|
+
const t = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], a = g.value.map((f) => [
|
|
207
221
|
f.period,
|
|
208
222
|
f.open.value,
|
|
209
223
|
f.high.value,
|
|
210
224
|
f.low.value,
|
|
211
225
|
f.last.value,
|
|
212
226
|
f.volume
|
|
213
|
-
]),
|
|
214
|
-
|
|
227
|
+
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o = Ke(l);
|
|
228
|
+
Qe({ csvContent: o, title: e.value.style.title.text || "vue-ui-candlestick" });
|
|
215
229
|
});
|
|
216
230
|
}
|
|
217
|
-
const
|
|
218
|
-
const
|
|
231
|
+
const M = h(() => {
|
|
232
|
+
const t = g.value.map((o) => [
|
|
219
233
|
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" :rx="${e.value.style.layout.candle.borderRadius * 3}" fill="${e.value.style.layout.candle.gradient.show ? o.isBullish ? `url(#bullish_gradient_${m.value}` : `url(#bearish_gradient_${m.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${o.period}`,
|
|
220
234
|
`${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}`,
|
|
221
235
|
`${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}`,
|
|
@@ -234,7 +248,7 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
234
248
|
outline: e.value.table.td.outline
|
|
235
249
|
},
|
|
236
250
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
237
|
-
},
|
|
251
|
+
}, l = [
|
|
238
252
|
e.value.translations.period,
|
|
239
253
|
e.value.translations.open,
|
|
240
254
|
e.value.translations.high,
|
|
@@ -242,37 +256,38 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
242
256
|
e.value.translations.last,
|
|
243
257
|
e.value.translations.volume
|
|
244
258
|
];
|
|
245
|
-
return { head:
|
|
246
|
-
}),
|
|
247
|
-
function
|
|
248
|
-
|
|
259
|
+
return { head: l, body: t, config: a, colNames: l };
|
|
260
|
+
}), F = v(!1);
|
|
261
|
+
function Te(t) {
|
|
262
|
+
F.value = t, J.value += 1;
|
|
249
263
|
}
|
|
250
|
-
function
|
|
264
|
+
function de() {
|
|
251
265
|
w.value.showTable = !w.value.showTable;
|
|
252
266
|
}
|
|
253
|
-
function
|
|
267
|
+
function ye() {
|
|
254
268
|
w.value.showTooltip = !w.value.showTooltip;
|
|
255
269
|
}
|
|
256
|
-
return
|
|
257
|
-
generatePdf:
|
|
258
|
-
generateCsv:
|
|
259
|
-
generateImage:
|
|
260
|
-
toggleTable:
|
|
261
|
-
toggleTooltip:
|
|
262
|
-
}), (
|
|
270
|
+
return ke({
|
|
271
|
+
generatePdf: se,
|
|
272
|
+
generateCsv: ve,
|
|
273
|
+
generateImage: ie,
|
|
274
|
+
toggleTable: de,
|
|
275
|
+
toggleTooltip: ye
|
|
276
|
+
}), (t, a) => (u(), s("div", {
|
|
263
277
|
ref_key: "candlestickChart",
|
|
264
|
-
ref:
|
|
265
|
-
class:
|
|
266
|
-
style:
|
|
278
|
+
ref: A,
|
|
279
|
+
class: be(`vue-ui-candlestick ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
280
|
+
style: q(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
267
281
|
id: `vue-ui-candlestick_${m.value}`
|
|
268
282
|
}, [
|
|
269
|
-
e.value.style.title.text ? (
|
|
283
|
+
e.value.style.title.text ? (u(), s("div", {
|
|
270
284
|
key: 0,
|
|
271
285
|
ref_key: "chartTitle",
|
|
272
|
-
ref:
|
|
273
|
-
style:
|
|
286
|
+
ref: K,
|
|
287
|
+
style: q(`width:100%;background:${e.value.style.backgroundColor}`)
|
|
274
288
|
}, [
|
|
275
|
-
|
|
289
|
+
(u(), N(tt, {
|
|
290
|
+
key: `title_${te.value}`,
|
|
276
291
|
config: {
|
|
277
292
|
title: {
|
|
278
293
|
cy: "candlestick-div-title",
|
|
@@ -283,16 +298,16 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
283
298
|
...e.value.style.title.subtitle
|
|
284
299
|
}
|
|
285
300
|
}
|
|
286
|
-
}, null, 8, ["config"])
|
|
287
|
-
], 4)) :
|
|
288
|
-
e.value.userOptions.show &&
|
|
301
|
+
}, null, 8, ["config"]))
|
|
302
|
+
], 4)) : c("", !0),
|
|
303
|
+
e.value.userOptions.show && T.value ? (u(), N(ot, {
|
|
289
304
|
ref_key: "details",
|
|
290
|
-
ref:
|
|
305
|
+
ref: $e,
|
|
291
306
|
key: `user_options_${J.value}`,
|
|
292
307
|
backgroundColor: e.value.style.backgroundColor,
|
|
293
308
|
color: e.value.style.color,
|
|
294
|
-
isImaging: p(
|
|
295
|
-
isPrinting: p(
|
|
309
|
+
isImaging: p(ue),
|
|
310
|
+
isPrinting: p(ae),
|
|
296
311
|
uid: m.value,
|
|
297
312
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
298
313
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -300,68 +315,68 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
300
315
|
hasXls: e.value.userOptions.buttons.csv,
|
|
301
316
|
hasTable: e.value.userOptions.buttons.table,
|
|
302
317
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
303
|
-
isFullscreen:
|
|
318
|
+
isFullscreen: F.value,
|
|
304
319
|
isTooltip: w.value.showTooltip,
|
|
305
320
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
306
|
-
chartElement:
|
|
307
|
-
onToggleFullscreen:
|
|
308
|
-
onGeneratePdf: p(
|
|
309
|
-
onGenerateCsv:
|
|
310
|
-
onGenerateImage: p(
|
|
311
|
-
onToggleTable:
|
|
312
|
-
onToggleTooltip:
|
|
313
|
-
},
|
|
314
|
-
|
|
321
|
+
chartElement: A.value,
|
|
322
|
+
onToggleFullscreen: Te,
|
|
323
|
+
onGeneratePdf: p(se),
|
|
324
|
+
onGenerateCsv: ve,
|
|
325
|
+
onGenerateImage: p(ie),
|
|
326
|
+
onToggleTable: de,
|
|
327
|
+
onToggleTooltip: ye
|
|
328
|
+
}, Oe({ _: 2 }, [
|
|
329
|
+
t.$slots.optionTooltip ? {
|
|
315
330
|
name: "optionTooltip",
|
|
316
331
|
fn: b(() => [
|
|
317
|
-
x(
|
|
332
|
+
x(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
318
333
|
]),
|
|
319
334
|
key: "0"
|
|
320
335
|
} : void 0,
|
|
321
|
-
|
|
336
|
+
t.$slots.optionPdf ? {
|
|
322
337
|
name: "optionPdf",
|
|
323
338
|
fn: b(() => [
|
|
324
|
-
x(
|
|
339
|
+
x(t.$slots, "optionPdf", {}, void 0, !0)
|
|
325
340
|
]),
|
|
326
341
|
key: "1"
|
|
327
342
|
} : void 0,
|
|
328
|
-
|
|
343
|
+
t.$slots.optionCsv ? {
|
|
329
344
|
name: "optionCsv",
|
|
330
345
|
fn: b(() => [
|
|
331
|
-
x(
|
|
346
|
+
x(t.$slots, "optionCsv", {}, void 0, !0)
|
|
332
347
|
]),
|
|
333
348
|
key: "2"
|
|
334
349
|
} : void 0,
|
|
335
|
-
|
|
350
|
+
t.$slots.optionImg ? {
|
|
336
351
|
name: "optionImg",
|
|
337
352
|
fn: b(() => [
|
|
338
|
-
x(
|
|
353
|
+
x(t.$slots, "optionImg", {}, void 0, !0)
|
|
339
354
|
]),
|
|
340
355
|
key: "3"
|
|
341
356
|
} : void 0,
|
|
342
|
-
|
|
357
|
+
t.$slots.optionTable ? {
|
|
343
358
|
name: "optionTable",
|
|
344
359
|
fn: b(() => [
|
|
345
|
-
x(
|
|
360
|
+
x(t.$slots, "optionTable", {}, void 0, !0)
|
|
346
361
|
]),
|
|
347
362
|
key: "4"
|
|
348
363
|
} : void 0,
|
|
349
|
-
|
|
364
|
+
t.$slots.optionFullscreen ? {
|
|
350
365
|
name: "optionFullscreen",
|
|
351
|
-
fn: b(({ toggleFullscreen:
|
|
352
|
-
x(
|
|
366
|
+
fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
367
|
+
x(t.$slots, "optionFullscreen", L(R({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
353
368
|
]),
|
|
354
369
|
key: "5"
|
|
355
370
|
} : void 0
|
|
356
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) :
|
|
357
|
-
|
|
371
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
372
|
+
T.value ? (u(), s("svg", {
|
|
358
373
|
key: 2,
|
|
359
|
-
xmlns: p(
|
|
360
|
-
class:
|
|
374
|
+
xmlns: p(je),
|
|
375
|
+
class: be({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
|
|
361
376
|
viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
|
|
362
|
-
style:
|
|
377
|
+
style: q(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
|
|
363
378
|
}, [
|
|
364
|
-
g.value.length > 0 ? (
|
|
379
|
+
g.value.length > 0 ? (u(), s("g", yt, [
|
|
365
380
|
n("defs", null, [
|
|
366
381
|
n("linearGradient", {
|
|
367
382
|
id: `bearish_gradient_${m.value}`,
|
|
@@ -371,16 +386,16 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
371
386
|
n("stop", {
|
|
372
387
|
offset: "0%",
|
|
373
388
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
374
|
-
}, null, 8,
|
|
389
|
+
}, null, 8, ht),
|
|
375
390
|
n("stop", {
|
|
376
391
|
offset: "50%",
|
|
377
|
-
"stop-color": `${p(
|
|
378
|
-
}, null, 8,
|
|
392
|
+
"stop-color": `${p(E)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
393
|
+
}, null, 8, pt),
|
|
379
394
|
n("stop", {
|
|
380
395
|
offset: "100%",
|
|
381
|
-
"stop-color": `${p(
|
|
382
|
-
}, null, 8,
|
|
383
|
-
], 8,
|
|
396
|
+
"stop-color": `${p(E)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
397
|
+
}, null, 8, gt)
|
|
398
|
+
], 8, ct),
|
|
384
399
|
n("linearGradient", {
|
|
385
400
|
id: `bullish_gradient_${m.value}`,
|
|
386
401
|
x2: "0%",
|
|
@@ -389,18 +404,18 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
389
404
|
n("stop", {
|
|
390
405
|
offset: "0%",
|
|
391
406
|
"stop-color": e.value.style.layout.candle.colors.bullish
|
|
392
|
-
}, null, 8,
|
|
407
|
+
}, null, 8, bt),
|
|
393
408
|
n("stop", {
|
|
394
409
|
offset: "50%",
|
|
395
|
-
"stop-color": `${p(
|
|
396
|
-
}, null, 8,
|
|
410
|
+
"stop-color": `${p(E)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
411
|
+
}, null, 8, xt),
|
|
397
412
|
n("stop", {
|
|
398
413
|
offset: "100%",
|
|
399
|
-
"stop-color": `${p(
|
|
400
|
-
}, null, 8,
|
|
401
|
-
], 8,
|
|
414
|
+
"stop-color": `${p(E)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
415
|
+
}, null, 8, mt)
|
|
416
|
+
], 8, ft)
|
|
402
417
|
]),
|
|
403
|
-
e.value.style.layout.grid.show ? (
|
|
418
|
+
e.value.style.layout.grid.show ? (u(), s("g", kt, [
|
|
404
419
|
n("line", {
|
|
405
420
|
x1: i.value.left,
|
|
406
421
|
x2: i.value.left,
|
|
@@ -409,7 +424,7 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
409
424
|
stroke: e.value.style.layout.grid.stroke,
|
|
410
425
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
411
426
|
"stroke-linecap": "round"
|
|
412
|
-
}, null, 8,
|
|
427
|
+
}, null, 8, wt),
|
|
413
428
|
n("line", {
|
|
414
429
|
x1: i.value.left,
|
|
415
430
|
x2: i.value.right,
|
|
@@ -418,132 +433,132 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
418
433
|
stroke: e.value.style.layout.grid.stroke,
|
|
419
434
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
420
435
|
"stroke-linecap": "round"
|
|
421
|
-
}, null, 8,
|
|
422
|
-
])) :
|
|
423
|
-
e.value.style.layout.grid.yAxis.dataLabels.show ? (
|
|
424
|
-
(
|
|
425
|
-
|
|
436
|
+
}, null, 8, $t)
|
|
437
|
+
])) : c("", !0),
|
|
438
|
+
e.value.style.layout.grid.yAxis.dataLabels.show ? (u(), s("g", _t, [
|
|
439
|
+
(u(!0), s(S, null, z(Ce.value, (l, o) => (u(), s("g", null, [
|
|
440
|
+
l.value >= _.value.min && l.value <= _.value.max ? (u(), s("line", {
|
|
426
441
|
key: 0,
|
|
427
442
|
x1: i.value.left,
|
|
428
443
|
x2: i.value.left - 5,
|
|
429
|
-
y1:
|
|
430
|
-
y2:
|
|
444
|
+
y1: l.y,
|
|
445
|
+
y2: l.y,
|
|
431
446
|
stroke: e.value.style.layout.grid.stroke,
|
|
432
447
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
433
448
|
"stroke-linecap": "round"
|
|
434
|
-
}, null, 8,
|
|
435
|
-
|
|
449
|
+
}, null, 8, Ct)) : c("", !0),
|
|
450
|
+
l.value >= _.value.min && l.value <= _.value.max ? (u(), s("text", {
|
|
436
451
|
key: 1,
|
|
437
452
|
x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
438
|
-
y:
|
|
453
|
+
y: l.y + d.value.yAxisFontSize / 3,
|
|
439
454
|
"font-size": d.value.yAxisFontSize,
|
|
440
455
|
"text-anchor": "end",
|
|
441
456
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
442
457
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
443
|
-
},
|
|
458
|
+
}, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(p(He)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + V(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Nt)) : c("", !0)
|
|
444
459
|
]))), 256))
|
|
445
|
-
])) :
|
|
446
|
-
e.value.style.layout.grid.xAxis.dataLabels.show ? (
|
|
447
|
-
(
|
|
460
|
+
])) : c("", !0),
|
|
461
|
+
e.value.style.layout.grid.xAxis.dataLabels.show ? (u(), s("g", St, [
|
|
462
|
+
(u(!0), s(S, null, z(Ne.value, (l, o) => (u(), s("g", null, [
|
|
448
463
|
n("text", {
|
|
449
464
|
transform: `translate(${i.value.left + r.value * o + r.value / 2}, ${i.value.bottom + d.value.xAxisFontSize * 2 + e.value.style.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
450
465
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
451
466
|
"font-size": d.value.xAxisFontSize,
|
|
452
467
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
453
468
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
454
|
-
},
|
|
469
|
+
}, V(l), 9, zt)
|
|
455
470
|
]))), 256))
|
|
456
|
-
])) :
|
|
471
|
+
])) : c("", !0),
|
|
457
472
|
n("g", null, [
|
|
458
|
-
(
|
|
473
|
+
(u(!0), s(S, null, z(g.value, (l, o) => (u(), s("g", null, [
|
|
459
474
|
n("line", {
|
|
460
|
-
x1:
|
|
461
|
-
x2:
|
|
462
|
-
y1:
|
|
463
|
-
y2:
|
|
475
|
+
x1: l.open.x,
|
|
476
|
+
x2: l.open.x,
|
|
477
|
+
y1: l.high.y,
|
|
478
|
+
y2: l.low.y,
|
|
464
479
|
stroke: e.value.style.layout.wick.stroke,
|
|
465
480
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
466
481
|
"stroke-linecap": "round"
|
|
467
|
-
}, null, 8,
|
|
468
|
-
e.value.style.layout.wick.extremity.shape === "circle" ? (
|
|
482
|
+
}, null, 8, Tt),
|
|
483
|
+
e.value.style.layout.wick.extremity.shape === "circle" ? (u(), s("g", At, [
|
|
469
484
|
n("circle", {
|
|
470
|
-
cx:
|
|
471
|
-
cy:
|
|
485
|
+
cx: l.high.x,
|
|
486
|
+
cy: l.high.y,
|
|
472
487
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
473
488
|
fill: e.value.style.layout.wick.extremity.color
|
|
474
|
-
}, null, 8,
|
|
489
|
+
}, null, 8, Ft),
|
|
475
490
|
n("circle", {
|
|
476
|
-
cx:
|
|
477
|
-
cy:
|
|
491
|
+
cx: l.low.x,
|
|
492
|
+
cy: l.low.y,
|
|
478
493
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
479
494
|
fill: e.value.style.layout.wick.extremity.color
|
|
480
|
-
}, null, 8,
|
|
481
|
-
])) :
|
|
482
|
-
e.value.style.layout.wick.extremity.shape === "line" ? (
|
|
495
|
+
}, null, 8, Lt)
|
|
496
|
+
])) : c("", !0),
|
|
497
|
+
e.value.style.layout.wick.extremity.shape === "line" ? (u(), s("g", Rt, [
|
|
483
498
|
n("line", {
|
|
484
|
-
x1:
|
|
485
|
-
x2:
|
|
486
|
-
y1:
|
|
487
|
-
y2:
|
|
499
|
+
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,
|
|
500
|
+
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,
|
|
501
|
+
y1: l.high.y,
|
|
502
|
+
y2: l.high.y,
|
|
488
503
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
489
504
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
490
505
|
"stroke-linecap": "round"
|
|
491
|
-
}, null, 8,
|
|
506
|
+
}, null, 8, Vt),
|
|
492
507
|
n("line", {
|
|
493
|
-
x1:
|
|
494
|
-
x2:
|
|
495
|
-
y1:
|
|
496
|
-
y2:
|
|
508
|
+
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,
|
|
509
|
+
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,
|
|
510
|
+
y1: l.low.y,
|
|
511
|
+
y2: l.low.y,
|
|
497
512
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
498
513
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
499
514
|
"stroke-linecap": "round"
|
|
500
|
-
}, null, 8,
|
|
501
|
-
])) :
|
|
515
|
+
}, null, 8, It)
|
|
516
|
+
])) : c("", !0)
|
|
502
517
|
]))), 256))
|
|
503
518
|
]),
|
|
504
519
|
n("g", null, [
|
|
505
|
-
(
|
|
506
|
-
x:
|
|
507
|
-
y:
|
|
508
|
-
height: Math.abs(
|
|
520
|
+
(u(!0), s(S, null, z(g.value, (l, o) => (u(), s("rect", {
|
|
521
|
+
x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
522
|
+
y: l.isBullish ? l.last.y : l.open.y,
|
|
523
|
+
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
509
524
|
width: r.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : r.value * e.value.style.layout.candle.widthRatio,
|
|
510
525
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
511
526
|
rx: e.value.style.layout.candle.borderRadius,
|
|
512
527
|
stroke: "none"
|
|
513
|
-
}, null, 8,
|
|
514
|
-
(
|
|
515
|
-
x:
|
|
516
|
-
y:
|
|
517
|
-
height: Math.abs(
|
|
528
|
+
}, null, 8, Bt))), 256)),
|
|
529
|
+
(u(!0), s(S, null, z(g.value, (l, o) => (u(), s("rect", {
|
|
530
|
+
x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
531
|
+
y: l.isBullish ? l.last.y : l.open.y,
|
|
532
|
+
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
518
533
|
width: r.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : r.value * e.value.style.layout.candle.widthRatio,
|
|
519
|
-
fill:
|
|
534
|
+
fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${m.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${m.value})` : e.value.style.layout.candle.colors.bearish,
|
|
520
535
|
rx: e.value.style.layout.candle.borderRadius,
|
|
521
536
|
stroke: e.value.style.layout.candle.stroke,
|
|
522
537
|
"stroke-width": e.value.style.layout.candle.strokeWidth,
|
|
523
538
|
"stroke-linecap": "round",
|
|
524
539
|
"stroke-linejoin": "round"
|
|
525
|
-
}, null, 8,
|
|
540
|
+
}, null, 8, Ot))), 256))
|
|
526
541
|
]),
|
|
527
542
|
n("g", null, [
|
|
528
|
-
(
|
|
543
|
+
(u(!0), s(S, null, z(g.value, (l, o) => (u(), s("rect", {
|
|
529
544
|
x: i.value.left + o * r.value,
|
|
530
545
|
y: i.value.top,
|
|
531
546
|
height: i.value.height <= 0 ? 1e-4 : i.value.height,
|
|
532
547
|
width: r.value <= 0 ? 1e-4 : r.value,
|
|
533
|
-
fill:
|
|
534
|
-
onMouseover: (f) =>
|
|
548
|
+
fill: X.value === o ? `${e.value.style.layout.selector.color}${p(Ye)[e.value.style.layout.selector.opacity]}` : "transparent",
|
|
549
|
+
onMouseover: (f) => Se(o, l),
|
|
535
550
|
onMouseleave: a[0] || (a[0] = (f) => {
|
|
536
|
-
|
|
551
|
+
X.value = void 0, W.value = !1;
|
|
537
552
|
})
|
|
538
|
-
}, null, 40,
|
|
553
|
+
}, null, 40, Pt))), 256))
|
|
539
554
|
])
|
|
540
|
-
])) :
|
|
541
|
-
x(
|
|
542
|
-
], 14,
|
|
543
|
-
|
|
544
|
-
x(
|
|
545
|
-
])) :
|
|
546
|
-
|
|
555
|
+
])) : c("", !0),
|
|
556
|
+
x(t.$slots, "svg", { svg: d.value }, void 0, !0)
|
|
557
|
+
], 14, dt)) : c("", !0),
|
|
558
|
+
t.$slots.watermark ? (u(), s("div", Mt, [
|
|
559
|
+
x(t.$slots, "watermark", L(R({ isPrinting: p(ae) || p(ue) })), void 0, !0)
|
|
560
|
+
])) : c("", !0),
|
|
561
|
+
T.value ? c("", !0) : (u(), N(st, {
|
|
547
562
|
key: 4,
|
|
548
563
|
config: {
|
|
549
564
|
type: "candlesticks",
|
|
@@ -560,46 +575,46 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
560
575
|
}
|
|
561
576
|
}
|
|
562
577
|
}, null, 8, ["config"])),
|
|
563
|
-
e.value.style.zoom.show &&
|
|
578
|
+
e.value.style.zoom.show && T.value ? (u(), s("div", {
|
|
564
579
|
key: 5,
|
|
565
580
|
ref_key: "chartSlicer",
|
|
566
|
-
ref:
|
|
581
|
+
ref: Z
|
|
567
582
|
}, [
|
|
568
|
-
(
|
|
569
|
-
key: `slicer_${
|
|
583
|
+
(u(), N(it, {
|
|
584
|
+
key: `slicer_${B.value}`,
|
|
570
585
|
background: e.value.style.zoom.color,
|
|
571
586
|
borderColor: e.value.style.backgroundColor,
|
|
572
587
|
fontSize: e.value.style.zoom.fontSize,
|
|
573
588
|
useResetSlot: e.value.style.zoom.useResetSlot,
|
|
574
|
-
labelLeft: $.dataset[
|
|
575
|
-
labelRight: $.dataset[
|
|
589
|
+
labelLeft: $.dataset[y.value.start] ? $.dataset[y.value.start][0] : $.dataset[0][0],
|
|
590
|
+
labelRight: $.dataset[y.value.end - 1] ? $.dataset[y.value.end - 1][0] : $.dataset.at(-1)[0],
|
|
576
591
|
textColor: e.value.style.color,
|
|
577
592
|
inputColor: e.value.style.zoom.color,
|
|
578
593
|
selectColor: e.value.style.zoom.highlightColor,
|
|
579
|
-
max:
|
|
594
|
+
max: j.value,
|
|
580
595
|
min: 0,
|
|
581
|
-
valueStart:
|
|
582
|
-
valueEnd:
|
|
583
|
-
start:
|
|
584
|
-
"onUpdate:start": a[1] || (a[1] = (
|
|
585
|
-
end:
|
|
586
|
-
"onUpdate:end": a[2] || (a[2] = (
|
|
587
|
-
onReset:
|
|
596
|
+
valueStart: y.value.start,
|
|
597
|
+
valueEnd: y.value.end,
|
|
598
|
+
start: y.value.start,
|
|
599
|
+
"onUpdate:start": a[1] || (a[1] = (l) => y.value.start = l),
|
|
600
|
+
end: y.value.end,
|
|
601
|
+
"onUpdate:end": a[2] || (a[2] = (l) => y.value.end = l),
|
|
602
|
+
onReset: ze
|
|
588
603
|
}, {
|
|
589
|
-
"reset-action": b(({ reset:
|
|
590
|
-
x(
|
|
604
|
+
"reset-action": b(({ reset: l }) => [
|
|
605
|
+
x(t.$slots, "reset-action", L(R({ reset: l })), void 0, !0)
|
|
591
606
|
]),
|
|
592
607
|
_: 3
|
|
593
608
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"]))
|
|
594
|
-
], 512)) :
|
|
609
|
+
], 512)) : c("", !0),
|
|
595
610
|
n("div", {
|
|
596
611
|
ref_key: "chartLegend",
|
|
597
|
-
ref:
|
|
612
|
+
ref: Q
|
|
598
613
|
}, [
|
|
599
|
-
x(
|
|
614
|
+
x(t.$slots, "legend", { legend: g.value }, void 0, !0)
|
|
600
615
|
], 512),
|
|
601
|
-
|
|
602
|
-
show: w.value.showTooltip &&
|
|
616
|
+
Pe(at, {
|
|
617
|
+
show: w.value.showTooltip && W.value,
|
|
603
618
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
604
619
|
color: e.value.style.tooltip.color,
|
|
605
620
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -609,19 +624,19 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
609
624
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
610
625
|
position: e.value.style.tooltip.position,
|
|
611
626
|
offsetY: e.value.style.tooltip.offsetY,
|
|
612
|
-
parent:
|
|
613
|
-
content:
|
|
627
|
+
parent: A.value,
|
|
628
|
+
content: G.value,
|
|
614
629
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
615
630
|
}, {
|
|
616
631
|
"tooltip-before": b(() => [
|
|
617
|
-
x(
|
|
632
|
+
x(t.$slots, "tooltip-before", L(R({ ...Y.value })), void 0, !0)
|
|
618
633
|
]),
|
|
619
634
|
"tooltip-after": b(() => [
|
|
620
|
-
x(
|
|
635
|
+
x(t.$slots, "tooltip-after", L(R({ ...Y.value })), void 0, !0)
|
|
621
636
|
]),
|
|
622
637
|
_: 3
|
|
623
638
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
624
|
-
|
|
639
|
+
T.value ? (u(), N(nt, {
|
|
625
640
|
key: 6,
|
|
626
641
|
hideDetails: "",
|
|
627
642
|
config: {
|
|
@@ -638,28 +653,29 @@ const st = ["id"], ut = ["xmlns", "viewBox"], it = { key: 0 }, nt = ["id"], rt =
|
|
|
638
653
|
}
|
|
639
654
|
}, {
|
|
640
655
|
content: b(() => [
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
656
|
+
(u(), N(ut, {
|
|
657
|
+
key: `table_${ee.value}`,
|
|
658
|
+
colNames: M.value.colNames,
|
|
659
|
+
head: M.value.head,
|
|
660
|
+
body: M.value.body,
|
|
661
|
+
config: M.value.config,
|
|
646
662
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
647
|
-
onClose: a[3] || (a[3] = (
|
|
663
|
+
onClose: a[3] || (a[3] = (l) => w.value.showTable = !1)
|
|
648
664
|
}, {
|
|
649
|
-
th: b(({ th:
|
|
650
|
-
|
|
665
|
+
th: b(({ th: l }) => [
|
|
666
|
+
Me(V(l), 1)
|
|
651
667
|
]),
|
|
652
|
-
td: b(({ td:
|
|
653
|
-
n("div", { innerHTML:
|
|
668
|
+
td: b(({ td: l }) => [
|
|
669
|
+
n("div", { innerHTML: l }, null, 8, Ut)
|
|
654
670
|
]),
|
|
655
671
|
_: 1
|
|
656
|
-
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
672
|
+
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
657
673
|
]),
|
|
658
674
|
_: 1
|
|
659
|
-
}, 8, ["config"])) :
|
|
660
|
-
], 14,
|
|
675
|
+
}, 8, ["config"])) : c("", !0)
|
|
676
|
+
], 14, vt));
|
|
661
677
|
}
|
|
662
|
-
},
|
|
678
|
+
}, tl = /* @__PURE__ */ rt(Dt, [["__scopeId", "data-v-ac51f136"]]);
|
|
663
679
|
export {
|
|
664
|
-
|
|
680
|
+
tl as default
|
|
665
681
|
};
|