vue-data-ui 2.4.3 → 2.4.4
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 +3 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-AxsI-FAh.js} +1 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-W6XO2WVI.cjs} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-BX3x6oa7.js} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-BI1tjiA_.js} +2 -2
- package/dist/{DataTable-DTzynbND.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-B86sMXn7.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-CRMHjbGw.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-Clrfvyd8.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
- package/dist/{PenAndPaper-DAZYA8Ew.js → PenAndPaper-BQzgk5kO.js} +2 -2
- package/dist/{PenAndPaper-CDFVOo7X.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-DYNtRer6.js} +1 -1
- package/dist/{Shape-D2Dpshg1.cjs → Shape-qK3MNdTg.cjs} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-DFPDip5U.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-NlxLkUso.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-710895ks.js} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-CUN1T6KC.cjs} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-BapDtYOM.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-CPlG_yQU.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-CcykRspI.cjs} +1 -1
- package/dist/{index-Bya_q1J-.js → index-DCsPHn9C.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-DdSlLeTW.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-BcE45wW6.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-siG3sKWo.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
- package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-D_MTGc8j.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-BdzWvy4d.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
- package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CHEdFQb7.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-DBk50kIe.js} +75 -69
- package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-Bo41qkGe.js} +240 -232
- package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-CkNOqa9q.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-lMqx64wd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CNWq-epB.js} +262 -256
- package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-C65SAJKb.js} +338 -330
- package/dist/vue-ui-donut-CMC92CXL.cjs +1 -0
- package/dist/vue-ui-donut-evolution-7gIM4bVk.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-BFbBlmBx.js} +163 -156
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BnxRfvv0.js} +208 -200
- package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
- package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-Cra_F-tK.js} +130 -124
- package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DlJ7v0aD.js} +125 -119
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-CsqVvNxE.js} +167 -159
- package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
- package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-i4HFM04D.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-CgdepnhM.js} +109 -103
- package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-Bxro4962.js} +173 -166
- package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-B7dXBejH.js} +311 -303
- package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
- package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-i52wztm0.js} +149 -141
- package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +186 -178
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-BORPtgQO.js} +225 -217
- package/dist/vue-ui-quadrant-a_I5E71f.cjs +1 -0
- package/dist/vue-ui-quick-chart-BpPDfK78.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-yb1FzVdt.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-CoCbl19A.js} +172 -164
- package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-D-zwuvLK.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-nTJ8DDhG.cjs} +1 -1
- package/dist/vue-ui-relation-circle-CW9qozhJ.js +366 -0
- package/dist/vue-ui-relation-circle-Wj_yrVJc.cjs +1 -0
- package/dist/vue-ui-rings-BZaZIGEz.cjs +2 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-Bx2GEh6d.js} +196 -188
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-BARiPzro.js} +288 -280
- package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-DNuwx6_y.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-DpfJbsNA.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-BnX27B0k.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-CgCLrMox.js} +5 -5
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-aW-de-rX.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-BLUXUlTY.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-BXku33sq.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-Doi0iu0L.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-RTiKvSMp.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-BnMvXlAP.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-C6AgJH1C.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-DI7fq_MR.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-DpVCQ6W9.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-Bvuq2sLW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-oNnE5z1C.js} +4 -4
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-6g7b3yyu.js} +13 -13
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-BFM8HIM8.js} +204 -196
- package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-Bh48bMuU.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-DeRCR8l6.js} +4 -4
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-C25qj1w_.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-w3H-od91.js} +5 -5
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-BySEVhT8.js} +171 -165
- package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-BN-9a2lj.js} +6 -6
- package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-EzYdOMyf.js} +119 -112
- package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-Da0f6vaF.js} +266 -258
- package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-D1cBfu5p.js} +245 -237
- package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-DM2LsEP7.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-B9cmixxi.js} +125 -117
- package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-BLMWYOPy.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-Baz7RXN2.js} +11 -11
- package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DVnzVSqE.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-A7PKnWBs.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DAd-B98z.cjs} +1 -1
- package/package.json +1 -1
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { S as
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { _ as
|
|
15
|
-
const
|
|
16
|
-
key:
|
|
1
|
+
import { computed as h, ref as n, watch as xe, onMounted as Ee, onBeforeUnmount as De, openBlock as s, createElementBlock as u, normalizeClass as ke, normalizeStyle as we, createBlock as _, createCommentVNode as d, unref as f, createSlots as We, withCtx as g, renderSlot as p, normalizeProps as A, guardReactiveProps as T, createVNode as $e, createElementVNode as r, Fragment as z, renderList as F, toDisplayString as O, createTextVNode as Ge, nextTick as Xe } from "vue";
|
|
2
|
+
import { u as je, c as He, t as Ye, o as qe, e as N, C as Je, v as V, X as Ke, w as W, D as Qe, s as Ze, x as et, y as tt, q as lt, r as ot, E as Ce } from "./index-DCsPHn9C.js";
|
|
3
|
+
import { t as at, u as st } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as ut } from "./Title-710895ks.js";
|
|
5
|
+
import { u as it, U as nt } from "./usePrinter-siG3sKWo.js";
|
|
6
|
+
import { _ as rt } from "./Tooltip-CPlG_yQU.js";
|
|
7
|
+
import { D as vt } from "./DataTable-BI1tjiA_.js";
|
|
8
|
+
import dt from "./vue-ui-skeleton-DNuwx6_y.js";
|
|
9
|
+
import { S as ct } from "./Slicer-DFPDip5U.js";
|
|
10
|
+
import yt from "./vue-ui-accordion-D4Er5Dy5.js";
|
|
11
|
+
import { u as _e } from "./useNestedProp-DdSlLeTW.js";
|
|
12
|
+
import { _ as ht } from "./PackageVersion-Clrfvyd8.js";
|
|
13
|
+
import { P as pt } from "./PenAndPaper-BQzgk5kO.js";
|
|
14
|
+
import { _ as ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const gt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, xt = ["id"], kt = ["stop-color"], wt = ["stop-color"], $t = ["stop-color"], Ct = ["id"], _t = ["stop-color"], Nt = ["stop-color"], St = ["stop-color"], At = { key: 0 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = { key: 1 }, Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = ["x", "y", "font-size", "fill", "font-weight"], Ot = { key: 2 }, Vt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = { key: 0 }, Bt = ["cx", "cy", "r", "fill"], Mt = ["cx", "cy", "r", "fill"], Ut = { key: 1 }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = ["x", "y", "height", "width", "fill", "rx"], Gt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Xt = ["x", "y", "height", "width", "fill", "onMouseover"], jt = {
|
|
16
|
+
key: 5,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
18
|
+
}, Ht = ["innerHTML"], Yt = {
|
|
19
19
|
__name: "vue-ui-candlestick",
|
|
20
20
|
props: {
|
|
21
21
|
config: {
|
|
@@ -31,57 +31,58 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
setup($, { expose:
|
|
35
|
-
const k = $, { vue_ui_candlestick:
|
|
36
|
-
get: () =>
|
|
34
|
+
setup($, { expose: Ne }) {
|
|
35
|
+
const k = $, { vue_ui_candlestick: Se } = je(), L = h(() => !!k.dataset && k.dataset.length), x = n(He()), Ae = n(null), G = n(!1), X = n(""), j = n(void 0), K = n(0), S = n(null), Q = n(null), Z = n(null), ee = n(null), te = n(null), le = n(null), I = n(0), oe = n(0), ae = n(0), e = h({
|
|
36
|
+
get: () => se(),
|
|
37
37
|
set: (t) => t
|
|
38
38
|
});
|
|
39
|
-
function
|
|
40
|
-
const t =
|
|
39
|
+
function se() {
|
|
40
|
+
const t = _e({
|
|
41
41
|
userConfig: k.config,
|
|
42
|
-
defaultConfig:
|
|
42
|
+
defaultConfig: Se
|
|
43
43
|
});
|
|
44
44
|
return t.theme ? {
|
|
45
|
-
...
|
|
46
|
-
userConfig:
|
|
45
|
+
..._e({
|
|
46
|
+
userConfig: Ye.vue_ui_candlestick[t.theme] || k.config,
|
|
47
47
|
defaultConfig: t
|
|
48
48
|
})
|
|
49
49
|
} : t;
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
e.value =
|
|
53
|
-
}, { deep: !0 }),
|
|
54
|
-
|
|
51
|
+
xe(() => k.config, (t) => {
|
|
52
|
+
e.value = se(), ue(), I.value += 1, ae.value += 1, oe.value += 1;
|
|
53
|
+
}, { deep: !0 }), xe(() => k.dataset, (t) => {
|
|
54
|
+
y.value.start = 0, y.value.end = t.length, I.value += 1;
|
|
55
55
|
}, { deep: !0 });
|
|
56
|
-
const
|
|
56
|
+
const c = n({
|
|
57
57
|
height: e.value.style.height,
|
|
58
58
|
width: e.value.style.width,
|
|
59
59
|
xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
60
60
|
yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
61
|
-
}), P =
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
}), P = n(null);
|
|
62
|
+
Ee(() => {
|
|
63
|
+
ue();
|
|
64
64
|
});
|
|
65
|
-
function
|
|
66
|
-
if (
|
|
65
|
+
function ue() {
|
|
66
|
+
if (qe(k.dataset) && N({
|
|
67
67
|
componentName: "VueUiCandlestick",
|
|
68
68
|
type: "dataset"
|
|
69
69
|
}), e.value.responsive) {
|
|
70
|
-
const t =
|
|
71
|
-
const { width: a, height: l } =
|
|
70
|
+
const t = at(() => {
|
|
71
|
+
const { width: a, height: l } = st({
|
|
72
72
|
chart: S.value,
|
|
73
73
|
title: e.value.style.title.text ? Q.value : null,
|
|
74
74
|
slicer: ee.value,
|
|
75
75
|
legend: Z.value,
|
|
76
|
-
source: te.value
|
|
76
|
+
source: te.value,
|
|
77
|
+
noTitle: le.value
|
|
77
78
|
});
|
|
78
|
-
|
|
79
|
+
c.value.width = a, c.value.height = l, c.value.xAxisFontSize = Ce({
|
|
79
80
|
relator: Math.min(a, l),
|
|
80
81
|
adjuster: e.value.style.width,
|
|
81
82
|
source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
82
83
|
threshold: 6,
|
|
83
84
|
fallback: 6
|
|
84
|
-
}),
|
|
85
|
+
}), c.value.yAxisFontSize = Ce({
|
|
85
86
|
relator: Math.min(a, l),
|
|
86
87
|
adjuster: e.value.style.width,
|
|
87
88
|
source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
@@ -92,29 +93,29 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
92
93
|
P.value = new ResizeObserver(t), P.value.observe(S.value.parentNode);
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
|
-
|
|
96
|
+
De(() => {
|
|
96
97
|
P.value && P.value.disconnect();
|
|
97
98
|
});
|
|
98
|
-
const { isPrinting:
|
|
99
|
+
const { isPrinting: ie, isImaging: ne, generatePdf: re, generateImage: ve } = it({
|
|
99
100
|
elementId: `vue-ui-candlestick_${x.value}`,
|
|
100
101
|
fileName: e.value.style.title.text || "vue-ui-candlestick"
|
|
101
|
-
}), w =
|
|
102
|
+
}), Te = h(() => e.value.userOptions.show && !e.value.style.title.text), w = n({
|
|
102
103
|
showTable: e.value.table.show,
|
|
103
104
|
showTooltip: e.value.style.tooltip.show
|
|
104
|
-
}), i =
|
|
105
|
+
}), i = h(() => {
|
|
105
106
|
const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding;
|
|
106
107
|
return {
|
|
107
108
|
top: t,
|
|
108
|
-
right:
|
|
109
|
+
right: c.value.width - a,
|
|
109
110
|
left: o,
|
|
110
|
-
bottom:
|
|
111
|
-
width:
|
|
112
|
-
height:
|
|
111
|
+
bottom: c.value.height - l,
|
|
112
|
+
width: c.value.width - o - a,
|
|
113
|
+
height: c.value.height - t - l
|
|
113
114
|
};
|
|
114
|
-
}), H =
|
|
115
|
+
}), H = h(() => k.dataset.length), y = n({
|
|
115
116
|
start: 0,
|
|
116
117
|
end: H.value
|
|
117
|
-
}),
|
|
118
|
+
}), de = h(() => k.dataset.slice(y.value.start, y.value.end)), Y = h(() => (k.dataset.forEach((t, a) => {
|
|
118
119
|
[null, void 0].includes(t[0]) && N({
|
|
119
120
|
componentName: "VueUiCandlestick",
|
|
120
121
|
type: "datasetAttribute",
|
|
@@ -146,26 +147,26 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
146
147
|
property: "volume (index 5)",
|
|
147
148
|
index: a
|
|
148
149
|
});
|
|
149
|
-
}),
|
|
150
|
+
}), de.value.map((t) => ({
|
|
150
151
|
period: t[0],
|
|
151
152
|
open: t[1],
|
|
152
153
|
high: t[2],
|
|
153
154
|
low: t[3],
|
|
154
155
|
last: t[4],
|
|
155
156
|
volume: t[5]
|
|
156
|
-
})))),
|
|
157
|
+
})))), v = h(() => i.value.width / de.value.length), ce = h(() => ({
|
|
157
158
|
max: Math.max(...Y.value.map((t) => t.high)),
|
|
158
159
|
min: 0
|
|
159
|
-
})), C =
|
|
160
|
+
})), C = h(() => Je(ce.value.min, ce.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
160
161
|
function B(t, a) {
|
|
161
162
|
return {
|
|
162
163
|
...t,
|
|
163
|
-
x:
|
|
164
|
-
y:
|
|
165
|
-
value:
|
|
164
|
+
x: V(i.value.left + a * v.value + v.value / 2),
|
|
165
|
+
y: V(i.value.top + (1 - t / C.value.max) * i.value.height),
|
|
166
|
+
value: V(t)
|
|
166
167
|
};
|
|
167
168
|
}
|
|
168
|
-
const b =
|
|
169
|
+
const b = h(() => Y.value.map((t, a) => {
|
|
169
170
|
const l = B(t.open, a), o = B(t.high, a), m = B(t.low, a), E = B(t.last, a), D = t.last > t.open;
|
|
170
171
|
return {
|
|
171
172
|
period: t.period,
|
|
@@ -177,14 +178,14 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
177
178
|
isBullish: D
|
|
178
179
|
};
|
|
179
180
|
}));
|
|
180
|
-
function
|
|
181
|
-
return
|
|
181
|
+
function ze(t) {
|
|
182
|
+
return V(t / C.value.max);
|
|
182
183
|
}
|
|
183
|
-
const
|
|
184
|
-
y: i.value.bottom - i.value.height *
|
|
185
|
-
value:
|
|
186
|
-
}))),
|
|
187
|
-
function
|
|
184
|
+
const Fe = h(() => C.value.ticks.map((t) => ({
|
|
185
|
+
y: i.value.bottom - i.value.height * ze(t),
|
|
186
|
+
value: V(t)
|
|
187
|
+
}))), Le = h(() => Y.value.map((t) => t.period)), q = n(null);
|
|
188
|
+
function Re(t, a) {
|
|
188
189
|
j.value = t, q.value = {
|
|
189
190
|
datapoint: a,
|
|
190
191
|
seriesIndex: t,
|
|
@@ -192,7 +193,7 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
192
193
|
config: e.value
|
|
193
194
|
};
|
|
194
195
|
const l = e.value.style.tooltip.customFormat;
|
|
195
|
-
if (
|
|
196
|
+
if (et(l) && tt(() => l({
|
|
196
197
|
seriesIndex: t,
|
|
197
198
|
datapoint: a,
|
|
198
199
|
series: b.value,
|
|
@@ -206,20 +207,20 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
206
207
|
});
|
|
207
208
|
else if (e.value.style.tooltip.show) {
|
|
208
209
|
let o = "";
|
|
209
|
-
const { period: m, open: E, high: D, low:
|
|
210
|
+
const { period: m, open: E, high: D, low: fe, last: ge, volume: be, isBullish: me } = b.value[t], { period: qt, open: Ie, high: Pe, low: Be, last: Me, volume: Ue } = e.value.translations;
|
|
210
211
|
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}"
|
|
211
|
-
fill="${e.value.style.layout.candle.gradient.show ?
|
|
212
|
+
fill="${e.value.style.layout.candle.gradient.show ? me ? `url(#bullish_gradient_${x.value})` : `url(#bearish_gradient_${x.value})` : me ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${m}</div>`, o += `${Ue} : <b>${isNaN(be) ? "-" : Number(be.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>${Ie}: <b>${e.value.style.tooltip.prefix} ${isNaN(E.value) ? "-" : Number(E.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Pe}: <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>${Be}: <b>${e.value.style.tooltip.prefix} ${isNaN(fe.value) ? "-" : Number(fe.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Me}: <b>${e.value.style.tooltip.prefix} ${isNaN(ge.value) ? "-" : Number(ge.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += "</div>", X.value = `<div style="text-align:right">${o}</div>`;
|
|
212
213
|
}
|
|
213
214
|
G.value = !0;
|
|
214
215
|
}
|
|
215
|
-
function
|
|
216
|
-
|
|
216
|
+
function Oe() {
|
|
217
|
+
y.value = {
|
|
217
218
|
start: 0,
|
|
218
219
|
end: H.value
|
|
219
|
-
},
|
|
220
|
+
}, I.value += 1;
|
|
220
221
|
}
|
|
221
222
|
function ye() {
|
|
222
|
-
|
|
223
|
+
Xe(() => {
|
|
223
224
|
const t = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], a = b.value.map((m) => [
|
|
224
225
|
m.period,
|
|
225
226
|
m.open.value,
|
|
@@ -227,11 +228,11 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
227
228
|
m.low.value,
|
|
228
229
|
m.last.value,
|
|
229
230
|
m.volume
|
|
230
|
-
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o =
|
|
231
|
-
|
|
231
|
+
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o = lt(l);
|
|
232
|
+
ot({ csvContent: o, title: e.value.style.title.text || "vue-ui-candlestick" });
|
|
232
233
|
});
|
|
233
234
|
}
|
|
234
|
-
const M =
|
|
235
|
+
const M = h(() => {
|
|
235
236
|
const t = b.value.map((o) => [
|
|
236
237
|
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" :rx="${e.value.style.layout.candle.borderRadius * 3}" fill="${e.value.style.layout.candle.gradient.show ? o.isBullish ? `url(#bullish_gradient_${x.value}` : `url(#bearish_gradient_${x.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${o.period}`,
|
|
237
238
|
`${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}`,
|
|
@@ -260,50 +261,57 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
260
261
|
e.value.translations.volume
|
|
261
262
|
];
|
|
262
263
|
return { head: l, body: t, config: a, colNames: l };
|
|
263
|
-
}), R =
|
|
264
|
-
function
|
|
264
|
+
}), R = n(!1);
|
|
265
|
+
function Ve(t) {
|
|
265
266
|
R.value = t, K.value += 1;
|
|
266
267
|
}
|
|
267
|
-
function
|
|
268
|
+
function he() {
|
|
268
269
|
w.value.showTable = !w.value.showTable;
|
|
269
270
|
}
|
|
270
|
-
function
|
|
271
|
+
function pe() {
|
|
271
272
|
w.value.showTooltip = !w.value.showTooltip;
|
|
272
273
|
}
|
|
273
|
-
const U =
|
|
274
|
+
const U = n(!1);
|
|
274
275
|
function J() {
|
|
275
276
|
U.value = !U.value;
|
|
276
277
|
}
|
|
277
|
-
return
|
|
278
|
-
generatePdf:
|
|
278
|
+
return Ne({
|
|
279
|
+
generatePdf: re,
|
|
279
280
|
generateCsv: ye,
|
|
280
|
-
generateImage:
|
|
281
|
-
toggleTable:
|
|
282
|
-
toggleTooltip:
|
|
281
|
+
generateImage: ve,
|
|
282
|
+
toggleTable: he,
|
|
283
|
+
toggleTooltip: pe,
|
|
283
284
|
toggleAnnotator: J
|
|
284
285
|
}), (t, a) => (s(), u("div", {
|
|
285
286
|
ref_key: "candlestickChart",
|
|
286
287
|
ref: S,
|
|
287
|
-
class:
|
|
288
|
-
style:
|
|
288
|
+
class: ke(`vue-ui-candlestick ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
289
|
+
style: we(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
289
290
|
id: `vue-ui-candlestick_${x.value}`
|
|
290
291
|
}, [
|
|
291
|
-
e.value.userOptions.buttons.annotator ? (s(), _(
|
|
292
|
+
e.value.userOptions.buttons.annotator ? (s(), _(pt, {
|
|
292
293
|
key: 0,
|
|
293
294
|
parent: S.value,
|
|
294
295
|
backgroundColor: e.value.style.backgroundColor,
|
|
295
296
|
color: e.value.style.color,
|
|
296
297
|
active: U.value,
|
|
297
298
|
onClose: J
|
|
298
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
299
|
-
|
|
299
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
|
|
300
|
+
Te.value ? (s(), u("div", {
|
|
300
301
|
key: 1,
|
|
302
|
+
ref_key: "noTitle",
|
|
303
|
+
ref: le,
|
|
304
|
+
class: "vue-data-ui-no-title-space",
|
|
305
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
306
|
+
}, null, 512)) : d("", !0),
|
|
307
|
+
e.value.style.title.text ? (s(), u("div", {
|
|
308
|
+
key: 2,
|
|
301
309
|
ref_key: "chartTitle",
|
|
302
310
|
ref: Q,
|
|
303
311
|
style: "width:100%;background:transparent"
|
|
304
312
|
}, [
|
|
305
|
-
(s(), _(
|
|
306
|
-
key: `title_${
|
|
313
|
+
(s(), _(ut, {
|
|
314
|
+
key: `title_${ae.value}`,
|
|
307
315
|
config: {
|
|
308
316
|
title: {
|
|
309
317
|
cy: "candlestick-div-title",
|
|
@@ -315,15 +323,15 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
315
323
|
}
|
|
316
324
|
}
|
|
317
325
|
}, null, 8, ["config"]))
|
|
318
|
-
], 512)) :
|
|
319
|
-
e.value.userOptions.show && L.value ? (s(), _(
|
|
326
|
+
], 512)) : d("", !0),
|
|
327
|
+
e.value.userOptions.show && L.value ? (s(), _(nt, {
|
|
320
328
|
ref_key: "details",
|
|
321
|
-
ref:
|
|
329
|
+
ref: Ae,
|
|
322
330
|
key: `user_options_${K.value}`,
|
|
323
331
|
backgroundColor: e.value.style.backgroundColor,
|
|
324
332
|
color: e.value.style.color,
|
|
325
|
-
isImaging: f(
|
|
326
|
-
isPrinting: f(
|
|
333
|
+
isImaging: f(ne),
|
|
334
|
+
isPrinting: f(ie),
|
|
327
335
|
uid: x.value,
|
|
328
336
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
329
337
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -338,113 +346,113 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
338
346
|
position: e.value.userOptions.position,
|
|
339
347
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
340
348
|
isAnnotation: U.value,
|
|
341
|
-
onToggleFullscreen:
|
|
342
|
-
onGeneratePdf: f(
|
|
349
|
+
onToggleFullscreen: Ve,
|
|
350
|
+
onGeneratePdf: f(re),
|
|
343
351
|
onGenerateCsv: ye,
|
|
344
|
-
onGenerateImage: f(
|
|
345
|
-
onToggleTable:
|
|
346
|
-
onToggleTooltip:
|
|
352
|
+
onGenerateImage: f(ve),
|
|
353
|
+
onToggleTable: he,
|
|
354
|
+
onToggleTooltip: pe,
|
|
347
355
|
onToggleAnnotator: J
|
|
348
|
-
},
|
|
356
|
+
}, We({ _: 2 }, [
|
|
349
357
|
t.$slots.optionTooltip ? {
|
|
350
358
|
name: "optionTooltip",
|
|
351
359
|
fn: g(() => [
|
|
352
|
-
|
|
360
|
+
p(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
353
361
|
]),
|
|
354
362
|
key: "0"
|
|
355
363
|
} : void 0,
|
|
356
364
|
t.$slots.optionPdf ? {
|
|
357
365
|
name: "optionPdf",
|
|
358
366
|
fn: g(() => [
|
|
359
|
-
|
|
367
|
+
p(t.$slots, "optionPdf", {}, void 0, !0)
|
|
360
368
|
]),
|
|
361
369
|
key: "1"
|
|
362
370
|
} : void 0,
|
|
363
371
|
t.$slots.optionCsv ? {
|
|
364
372
|
name: "optionCsv",
|
|
365
373
|
fn: g(() => [
|
|
366
|
-
|
|
374
|
+
p(t.$slots, "optionCsv", {}, void 0, !0)
|
|
367
375
|
]),
|
|
368
376
|
key: "2"
|
|
369
377
|
} : void 0,
|
|
370
378
|
t.$slots.optionImg ? {
|
|
371
379
|
name: "optionImg",
|
|
372
380
|
fn: g(() => [
|
|
373
|
-
|
|
381
|
+
p(t.$slots, "optionImg", {}, void 0, !0)
|
|
374
382
|
]),
|
|
375
383
|
key: "3"
|
|
376
384
|
} : void 0,
|
|
377
385
|
t.$slots.optionTable ? {
|
|
378
386
|
name: "optionTable",
|
|
379
387
|
fn: g(() => [
|
|
380
|
-
|
|
388
|
+
p(t.$slots, "optionTable", {}, void 0, !0)
|
|
381
389
|
]),
|
|
382
390
|
key: "4"
|
|
383
391
|
} : void 0,
|
|
384
392
|
t.$slots.optionFullscreen ? {
|
|
385
393
|
name: "optionFullscreen",
|
|
386
394
|
fn: g(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
387
|
-
|
|
395
|
+
p(t.$slots, "optionFullscreen", A(T({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
388
396
|
]),
|
|
389
397
|
key: "5"
|
|
390
398
|
} : void 0,
|
|
391
399
|
t.$slots.optionAnnotator ? {
|
|
392
400
|
name: "optionAnnotator",
|
|
393
401
|
fn: g(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
394
|
-
|
|
402
|
+
p(t.$slots, "optionAnnotator", A(T({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
395
403
|
]),
|
|
396
404
|
key: "6"
|
|
397
405
|
} : void 0
|
|
398
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
406
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
399
407
|
L.value ? (s(), u("svg", {
|
|
400
|
-
key:
|
|
401
|
-
xmlns: f(
|
|
402
|
-
class:
|
|
403
|
-
viewBox: `0 0 ${
|
|
404
|
-
style:
|
|
408
|
+
key: 4,
|
|
409
|
+
xmlns: f(Ke),
|
|
410
|
+
class: ke({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
411
|
+
viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
|
|
412
|
+
style: we(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
405
413
|
}, [
|
|
406
|
-
|
|
407
|
-
b.value.length > 0 ? (s(), u("g",
|
|
408
|
-
|
|
409
|
-
|
|
414
|
+
$e(ht),
|
|
415
|
+
b.value.length > 0 ? (s(), u("g", mt, [
|
|
416
|
+
r("defs", null, [
|
|
417
|
+
r("linearGradient", {
|
|
410
418
|
id: `bearish_gradient_${x.value}`,
|
|
411
419
|
x2: "0%",
|
|
412
420
|
y2: "100%"
|
|
413
421
|
}, [
|
|
414
|
-
|
|
422
|
+
r("stop", {
|
|
415
423
|
offset: "0%",
|
|
416
424
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
417
|
-
}, null, 8,
|
|
418
|
-
|
|
425
|
+
}, null, 8, kt),
|
|
426
|
+
r("stop", {
|
|
419
427
|
offset: "50%",
|
|
420
428
|
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
421
|
-
}, null, 8,
|
|
422
|
-
|
|
429
|
+
}, null, 8, wt),
|
|
430
|
+
r("stop", {
|
|
423
431
|
offset: "100%",
|
|
424
432
|
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
425
|
-
}, null, 8,
|
|
426
|
-
], 8,
|
|
427
|
-
|
|
433
|
+
}, null, 8, $t)
|
|
434
|
+
], 8, xt),
|
|
435
|
+
r("linearGradient", {
|
|
428
436
|
id: `bullish_gradient_${x.value}`,
|
|
429
437
|
x2: "0%",
|
|
430
438
|
y2: "100%"
|
|
431
439
|
}, [
|
|
432
|
-
|
|
440
|
+
r("stop", {
|
|
433
441
|
offset: "0%",
|
|
434
442
|
"stop-color": e.value.style.layout.candle.colors.bullish
|
|
435
|
-
}, null, 8,
|
|
436
|
-
|
|
443
|
+
}, null, 8, _t),
|
|
444
|
+
r("stop", {
|
|
437
445
|
offset: "50%",
|
|
438
446
|
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
439
|
-
}, null, 8,
|
|
440
|
-
|
|
447
|
+
}, null, 8, Nt),
|
|
448
|
+
r("stop", {
|
|
441
449
|
offset: "100%",
|
|
442
450
|
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
443
|
-
}, null, 8,
|
|
444
|
-
], 8,
|
|
451
|
+
}, null, 8, St)
|
|
452
|
+
], 8, Ct)
|
|
445
453
|
]),
|
|
446
|
-
e.value.style.layout.grid.show ? (s(), u("g",
|
|
447
|
-
|
|
454
|
+
e.value.style.layout.grid.show ? (s(), u("g", At, [
|
|
455
|
+
r("line", {
|
|
448
456
|
x1: i.value.left,
|
|
449
457
|
x2: i.value.left,
|
|
450
458
|
y1: i.value.top,
|
|
@@ -452,8 +460,8 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
452
460
|
stroke: e.value.style.layout.grid.stroke,
|
|
453
461
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
454
462
|
"stroke-linecap": "round"
|
|
455
|
-
}, null, 8,
|
|
456
|
-
|
|
463
|
+
}, null, 8, Tt),
|
|
464
|
+
r("line", {
|
|
457
465
|
x1: i.value.left,
|
|
458
466
|
x2: i.value.right,
|
|
459
467
|
y1: i.value.bottom,
|
|
@@ -461,10 +469,10 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
461
469
|
stroke: e.value.style.layout.grid.stroke,
|
|
462
470
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
463
471
|
"stroke-linecap": "round"
|
|
464
|
-
}, null, 8,
|
|
465
|
-
])) :
|
|
466
|
-
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g",
|
|
467
|
-
(s(!0), u(
|
|
472
|
+
}, null, 8, zt)
|
|
473
|
+
])) : d("", !0),
|
|
474
|
+
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", Ft, [
|
|
475
|
+
(s(!0), u(z, null, F(Fe.value, (l, o) => (s(), u("g", null, [
|
|
468
476
|
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("line", {
|
|
469
477
|
key: 0,
|
|
470
478
|
x1: i.value.left,
|
|
@@ -474,32 +482,32 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
474
482
|
stroke: e.value.style.layout.grid.stroke,
|
|
475
483
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
476
484
|
"stroke-linecap": "round"
|
|
477
|
-
}, null, 8,
|
|
485
|
+
}, null, 8, Lt)) : d("", !0),
|
|
478
486
|
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("text", {
|
|
479
487
|
key: 1,
|
|
480
488
|
x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
481
|
-
y: l.y +
|
|
482
|
-
"font-size":
|
|
489
|
+
y: l.y + c.value.yAxisFontSize / 3,
|
|
490
|
+
"font-size": c.value.yAxisFontSize,
|
|
483
491
|
"text-anchor": "end",
|
|
484
492
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
485
493
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
486
|
-
},
|
|
494
|
+
}, O(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + O(f(Qe)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + O(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Rt)) : d("", !0)
|
|
487
495
|
]))), 256))
|
|
488
|
-
])) :
|
|
489
|
-
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g",
|
|
490
|
-
(s(!0), u(
|
|
491
|
-
|
|
492
|
-
transform: `translate(${i.value.left +
|
|
496
|
+
])) : d("", !0),
|
|
497
|
+
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", Ot, [
|
|
498
|
+
(s(!0), u(z, null, F(Le.value, (l, o) => (s(), u("g", null, [
|
|
499
|
+
r("text", {
|
|
500
|
+
transform: `translate(${i.value.left + v.value * o + v.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})`,
|
|
493
501
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
494
|
-
"font-size":
|
|
502
|
+
"font-size": c.value.xAxisFontSize,
|
|
495
503
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
496
504
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
497
|
-
},
|
|
505
|
+
}, O(l), 9, Vt)
|
|
498
506
|
]))), 256))
|
|
499
|
-
])) :
|
|
500
|
-
|
|
501
|
-
(s(!0), u(
|
|
502
|
-
|
|
507
|
+
])) : d("", !0),
|
|
508
|
+
r("g", null, [
|
|
509
|
+
(s(!0), u(z, null, F(b.value, (l, o) => (s(), u("g", null, [
|
|
510
|
+
r("line", {
|
|
503
511
|
x1: l.open.x,
|
|
504
512
|
x2: l.open.x,
|
|
505
513
|
y1: l.high.y,
|
|
@@ -507,87 +515,87 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
507
515
|
stroke: e.value.style.layout.wick.stroke,
|
|
508
516
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
509
517
|
"stroke-linecap": "round"
|
|
510
|
-
}, null, 8,
|
|
511
|
-
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g",
|
|
512
|
-
|
|
518
|
+
}, null, 8, It),
|
|
519
|
+
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Pt, [
|
|
520
|
+
r("circle", {
|
|
513
521
|
cx: l.high.x,
|
|
514
522
|
cy: l.high.y,
|
|
515
|
-
r: e.value.style.layout.wick.extremity.size === "auto" ?
|
|
523
|
+
r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
516
524
|
fill: e.value.style.layout.wick.extremity.color
|
|
517
|
-
}, null, 8,
|
|
518
|
-
|
|
525
|
+
}, null, 8, Bt),
|
|
526
|
+
r("circle", {
|
|
519
527
|
cx: l.low.x,
|
|
520
528
|
cy: l.low.y,
|
|
521
|
-
r: e.value.style.layout.wick.extremity.size === "auto" ?
|
|
529
|
+
r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
522
530
|
fill: e.value.style.layout.wick.extremity.color
|
|
523
|
-
}, null, 8,
|
|
524
|
-
])) :
|
|
525
|
-
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g",
|
|
526
|
-
|
|
527
|
-
x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ?
|
|
528
|
-
x2: l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ?
|
|
531
|
+
}, null, 8, Mt)
|
|
532
|
+
])) : d("", !0),
|
|
533
|
+
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Ut, [
|
|
534
|
+
r("line", {
|
|
535
|
+
x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
536
|
+
x2: l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
529
537
|
y1: l.high.y,
|
|
530
538
|
y2: l.high.y,
|
|
531
539
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
532
540
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
533
541
|
"stroke-linecap": "round"
|
|
534
|
-
}, null, 8,
|
|
535
|
-
|
|
536
|
-
x1: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ?
|
|
537
|
-
x2: l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ?
|
|
542
|
+
}, null, 8, Et),
|
|
543
|
+
r("line", {
|
|
544
|
+
x1: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
545
|
+
x2: l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
538
546
|
y1: l.low.y,
|
|
539
547
|
y2: l.low.y,
|
|
540
548
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
541
549
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
542
550
|
"stroke-linecap": "round"
|
|
543
|
-
}, null, 8,
|
|
544
|
-
])) :
|
|
551
|
+
}, null, 8, Dt)
|
|
552
|
+
])) : d("", !0)
|
|
545
553
|
]))), 256))
|
|
546
554
|
]),
|
|
547
|
-
|
|
548
|
-
(s(!0), u(
|
|
549
|
-
x: l.open.x -
|
|
555
|
+
r("g", null, [
|
|
556
|
+
(s(!0), u(z, null, F(b.value, (l, o) => (s(), u("rect", {
|
|
557
|
+
x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
550
558
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
551
559
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
552
|
-
width:
|
|
560
|
+
width: v.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : v.value * e.value.style.layout.candle.widthRatio,
|
|
553
561
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
554
562
|
rx: e.value.style.layout.candle.borderRadius,
|
|
555
563
|
stroke: "none"
|
|
556
|
-
}, null, 8,
|
|
557
|
-
(s(!0), u(
|
|
558
|
-
x: l.open.x -
|
|
564
|
+
}, null, 8, Wt))), 256)),
|
|
565
|
+
(s(!0), u(z, null, F(b.value, (l, o) => (s(), u("rect", {
|
|
566
|
+
x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
559
567
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
560
568
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
561
|
-
width:
|
|
569
|
+
width: v.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : v.value * e.value.style.layout.candle.widthRatio,
|
|
562
570
|
fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${x.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${x.value})` : e.value.style.layout.candle.colors.bearish,
|
|
563
571
|
rx: e.value.style.layout.candle.borderRadius,
|
|
564
572
|
stroke: e.value.style.layout.candle.stroke,
|
|
565
573
|
"stroke-width": e.value.style.layout.candle.strokeWidth,
|
|
566
574
|
"stroke-linecap": "round",
|
|
567
575
|
"stroke-linejoin": "round"
|
|
568
|
-
}, null, 8,
|
|
576
|
+
}, null, 8, Gt))), 256))
|
|
569
577
|
]),
|
|
570
|
-
|
|
571
|
-
(s(!0), u(
|
|
572
|
-
x: i.value.left + o *
|
|
578
|
+
r("g", null, [
|
|
579
|
+
(s(!0), u(z, null, F(b.value, (l, o) => (s(), u("rect", {
|
|
580
|
+
x: i.value.left + o * v.value,
|
|
573
581
|
y: i.value.top,
|
|
574
582
|
height: i.value.height <= 0 ? 1e-4 : i.value.height,
|
|
575
|
-
width:
|
|
576
|
-
fill: j.value === o ? f(
|
|
577
|
-
onMouseover: (m) =>
|
|
583
|
+
width: v.value <= 0 ? 1e-4 : v.value,
|
|
584
|
+
fill: j.value === o ? f(Ze)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
|
|
585
|
+
onMouseover: (m) => Re(o, l),
|
|
578
586
|
onMouseleave: a[0] || (a[0] = (m) => {
|
|
579
587
|
j.value = void 0, G.value = !1;
|
|
580
588
|
})
|
|
581
|
-
}, null, 40,
|
|
589
|
+
}, null, 40, Xt))), 256))
|
|
582
590
|
])
|
|
583
|
-
])) :
|
|
584
|
-
|
|
585
|
-
], 14,
|
|
586
|
-
t.$slots.watermark ? (s(), u("div",
|
|
587
|
-
|
|
588
|
-
])) :
|
|
589
|
-
L.value ?
|
|
590
|
-
key:
|
|
591
|
+
])) : d("", !0),
|
|
592
|
+
p(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
593
|
+
], 14, bt)) : d("", !0),
|
|
594
|
+
t.$slots.watermark ? (s(), u("div", jt, [
|
|
595
|
+
p(t.$slots, "watermark", A(T({ isPrinting: f(ie) || f(ne) })), void 0, !0)
|
|
596
|
+
])) : d("", !0),
|
|
597
|
+
L.value ? d("", !0) : (s(), _(dt, {
|
|
598
|
+
key: 6,
|
|
591
599
|
config: {
|
|
592
600
|
type: "candlesticks",
|
|
593
601
|
style: {
|
|
@@ -604,52 +612,52 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
604
612
|
}
|
|
605
613
|
}, null, 8, ["config"])),
|
|
606
614
|
e.value.style.zoom.show && L.value ? (s(), u("div", {
|
|
607
|
-
key:
|
|
615
|
+
key: 7,
|
|
608
616
|
ref_key: "chartSlicer",
|
|
609
617
|
ref: ee
|
|
610
618
|
}, [
|
|
611
|
-
(s(), _(
|
|
612
|
-
key: `slicer_${
|
|
619
|
+
(s(), _(ct, {
|
|
620
|
+
key: `slicer_${I.value}`,
|
|
613
621
|
background: e.value.style.zoom.color,
|
|
614
622
|
borderColor: e.value.style.backgroundColor,
|
|
615
623
|
fontSize: e.value.style.zoom.fontSize,
|
|
616
624
|
useResetSlot: e.value.style.zoom.useResetSlot,
|
|
617
|
-
labelLeft: $.dataset[
|
|
618
|
-
labelRight: $.dataset[
|
|
625
|
+
labelLeft: $.dataset[y.value.start] ? $.dataset[y.value.start][0] : $.dataset[0][0],
|
|
626
|
+
labelRight: $.dataset[y.value.end - 1] ? $.dataset[y.value.end - 1][0] : $.dataset.at(-1)[0],
|
|
619
627
|
textColor: e.value.style.color,
|
|
620
628
|
inputColor: e.value.style.zoom.color,
|
|
621
629
|
selectColor: e.value.style.zoom.highlightColor,
|
|
622
630
|
max: H.value,
|
|
623
631
|
min: 0,
|
|
624
|
-
valueStart:
|
|
625
|
-
valueEnd:
|
|
626
|
-
start:
|
|
627
|
-
"onUpdate:start": a[1] || (a[1] = (l) =>
|
|
628
|
-
end:
|
|
629
|
-
"onUpdate:end": a[2] || (a[2] = (l) =>
|
|
630
|
-
onReset:
|
|
632
|
+
valueStart: y.value.start,
|
|
633
|
+
valueEnd: y.value.end,
|
|
634
|
+
start: y.value.start,
|
|
635
|
+
"onUpdate:start": a[1] || (a[1] = (l) => y.value.start = l),
|
|
636
|
+
end: y.value.end,
|
|
637
|
+
"onUpdate:end": a[2] || (a[2] = (l) => y.value.end = l),
|
|
638
|
+
onReset: Oe
|
|
631
639
|
}, {
|
|
632
640
|
"reset-action": g(({ reset: l }) => [
|
|
633
|
-
|
|
641
|
+
p(t.$slots, "reset-action", A(T({ reset: l })), void 0, !0)
|
|
634
642
|
]),
|
|
635
643
|
_: 3
|
|
636
644
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"]))
|
|
637
|
-
], 512)) :
|
|
638
|
-
|
|
645
|
+
], 512)) : d("", !0),
|
|
646
|
+
r("div", {
|
|
639
647
|
ref_key: "chartLegend",
|
|
640
648
|
ref: Z
|
|
641
649
|
}, [
|
|
642
|
-
|
|
650
|
+
p(t.$slots, "legend", { legend: b.value }, void 0, !0)
|
|
643
651
|
], 512),
|
|
644
652
|
t.$slots.source ? (s(), u("div", {
|
|
645
|
-
key:
|
|
653
|
+
key: 8,
|
|
646
654
|
ref_key: "source",
|
|
647
655
|
ref: te,
|
|
648
656
|
dir: "auto"
|
|
649
657
|
}, [
|
|
650
|
-
|
|
651
|
-
], 512)) :
|
|
652
|
-
|
|
658
|
+
p(t.$slots, "source", {}, void 0, !0)
|
|
659
|
+
], 512)) : d("", !0),
|
|
660
|
+
$e(rt, {
|
|
653
661
|
show: w.value.showTooltip && G.value,
|
|
654
662
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
655
663
|
color: e.value.style.tooltip.color,
|
|
@@ -665,15 +673,15 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
665
673
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
666
674
|
}, {
|
|
667
675
|
"tooltip-before": g(() => [
|
|
668
|
-
|
|
676
|
+
p(t.$slots, "tooltip-before", A(T({ ...q.value })), void 0, !0)
|
|
669
677
|
]),
|
|
670
678
|
"tooltip-after": g(() => [
|
|
671
|
-
|
|
679
|
+
p(t.$slots, "tooltip-after", A(T({ ...q.value })), void 0, !0)
|
|
672
680
|
]),
|
|
673
681
|
_: 3
|
|
674
682
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
675
|
-
L.value ? (s(), _(
|
|
676
|
-
key:
|
|
683
|
+
L.value ? (s(), _(yt, {
|
|
684
|
+
key: 9,
|
|
677
685
|
hideDetails: "",
|
|
678
686
|
config: {
|
|
679
687
|
open: w.value.showTable,
|
|
@@ -689,8 +697,8 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
689
697
|
}
|
|
690
698
|
}, {
|
|
691
699
|
content: g(() => [
|
|
692
|
-
(s(), _(
|
|
693
|
-
key: `table_${
|
|
700
|
+
(s(), _(vt, {
|
|
701
|
+
key: `table_${oe.value}`,
|
|
694
702
|
colNames: M.value.colNames,
|
|
695
703
|
head: M.value.head,
|
|
696
704
|
body: M.value.body,
|
|
@@ -699,19 +707,19 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt =
|
|
|
699
707
|
onClose: a[3] || (a[3] = (l) => w.value.showTable = !1)
|
|
700
708
|
}, {
|
|
701
709
|
th: g(({ th: l }) => [
|
|
702
|
-
|
|
710
|
+
Ge(O(l), 1)
|
|
703
711
|
]),
|
|
704
712
|
td: g(({ td: l }) => [
|
|
705
|
-
|
|
713
|
+
r("div", { innerHTML: l }, null, 8, Ht)
|
|
706
714
|
]),
|
|
707
715
|
_: 1
|
|
708
716
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
709
717
|
]),
|
|
710
718
|
_: 1
|
|
711
|
-
}, 8, ["config"])) :
|
|
712
|
-
], 14,
|
|
719
|
+
}, 8, ["config"])) : d("", !0)
|
|
720
|
+
], 14, gt));
|
|
713
721
|
}
|
|
714
|
-
},
|
|
722
|
+
}, vl = /* @__PURE__ */ ft(Yt, [["__scopeId", "data-v-bec260db"]]);
|
|
715
723
|
export {
|
|
716
|
-
|
|
724
|
+
vl as default
|
|
717
725
|
};
|