vue-data-ui 2.4.2 → 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-JuK2z9IB.js → Arrow-AxsI-FAh.js} +1 -1
- package/dist/{Arrow-DLTRnzcG.cjs → Arrow-W6XO2WVI.cjs} +1 -1
- package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
- package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BX3x6oa7.js} +1 -1
- package/dist/{DataTable-DTk7C4Pr.js → DataTable-BI1tjiA_.js} +2 -2
- package/dist/{DataTable-DJzhv96s.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
- package/dist/{Legend-YZ7Hz3o1.cjs → Legend-B86sMXn7.cjs} +1 -1
- package/dist/{Legend-CYF2gpXG.js → Legend-CRMHjbGw.js} +1 -1
- package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-Clrfvyd8.js} +1 -1
- package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
- package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-BQzgk5kO.js} +2 -2
- package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
- package/dist/{Shape-BpPn4eWR.js → Shape-DYNtRer6.js} +1 -1
- package/dist/{Shape-X2F-QV_B.cjs → Shape-qK3MNdTg.cjs} +1 -1
- package/dist/{Slicer-CU7dRZR0.js → Slicer-DFPDip5U.js} +3 -3
- package/dist/{Slicer-CL0tP5a5.cjs → Slicer-NlxLkUso.cjs} +1 -1
- package/dist/{Title-5VmBwT4i.js → Title-710895ks.js} +1 -1
- package/dist/{Title-Co5jI5ed.cjs → Title-CUN1T6KC.cjs} +1 -1
- package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-BapDtYOM.cjs} +1 -1
- package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-CPlG_yQU.js} +1 -1
- package/dist/index-CcykRspI.cjs +9 -0
- package/dist/{index-DnVHQ2xI.js → index-DCsPHn9C.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -1
- package/dist/types/vue-data-ui.d.ts +4 -1
- package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-DdSlLeTW.js} +1 -1
- package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
- package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-BcE45wW6.cjs} +1 -1
- package/dist/{usePrinter-BEeNAqS5.js → usePrinter-siG3sKWo.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/useResponsive-CoxXLe23.js +189 -0
- package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
- package/dist/{vue-data-ui-W7nnqn0v.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-BwBrUabe.js → vue-ui-3d-bar-BdzWvy4d.js} +41 -34
- package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +2 -2
- package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
- package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
- package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CHEdFQb7.js} +185 -168
- package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
- package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
- package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-DBk50kIe.js} +195 -158
- package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
- package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-Bo41qkGe.js} +263 -246
- package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
- package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-CkNOqa9q.js} +76 -69
- package/dist/vue-ui-carousel-table-lMqx64wd.cjs +1 -0
- package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-CNWq-epB.js} +299 -286
- package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
- package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
- package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
- package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
- package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
- package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
- package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-C65SAJKb.js} +374 -357
- 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-DAb1xzNd.js → vue-ui-donut-evolution-BFbBlmBx.js} +240 -226
- package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-BnxRfvv0.js} +227 -210
- package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
- package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
- package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Cra_F-tK.js} +150 -137
- package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
- package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-DlJ7v0aD.js} +145 -132
- package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-CsqVvNxE.js} +210 -193
- package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
- package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
- package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
- package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-i4HFM04D.js} +203 -189
- package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
- package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
- package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-CgdepnhM.js} +164 -151
- package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-Bxro4962.js} +217 -203
- package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-B7dXBejH.js} +342 -325
- package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
- package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
- package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-i52wztm0.js} +267 -250
- package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +241 -224
- package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BORPtgQO.js} +236 -219
- 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-8vJikiGH.js → vue-ui-quick-chart-yb1FzVdt.js} +469 -452
- package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-CoCbl19A.js} +198 -181
- package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
- package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D-zwuvLK.js} +2 -2
- package/dist/{vue-ui-rating-Bbzm5nUK.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-DG8GCi3y.js → vue-ui-rings-Bx2GEh6d.js} +221 -204
- package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-BARiPzro.js} +375 -358
- package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
- package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
- package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
- package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-DNuwx6_y.js} +419 -379
- package/dist/vue-ui-skeleton-DpfJbsNA.cjs +41 -0
- package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-BnX27B0k.js} +2 -2
- package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-CgCLrMox.js} +86 -79
- package/dist/vue-ui-spark-trend-aW-de-rX.cjs +1 -0
- package/dist/vue-ui-sparkbar-BLUXUlTY.cjs +1 -0
- package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-BXku33sq.js} +90 -83
- package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-Doi0iu0L.js} +57 -50
- package/dist/vue-ui-sparkgauge-RTiKvSMp.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-BnMvXlAP.js} +74 -67
- package/dist/vue-ui-sparkhistogram-C6AgJH1C.cjs +1 -0
- package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-DI7fq_MR.js} +134 -125
- package/dist/vue-ui-sparkline-DpVCQ6W9.cjs +1 -0
- package/dist/vue-ui-sparkstackbar-Bvuq2sLW.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-oNnE5z1C.js} +84 -77
- package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-6g7b3yyu.js} +205 -196
- package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-BFM8HIM8.js} +265 -248
- package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
- package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
- package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-Bh48bMuU.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-DeRCR8l6.js} +55 -48
- package/dist/vue-ui-table-sparkline-C25qj1w_.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-w3H-od91.js} +88 -81
- package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-BySEVhT8.js} +162 -149
- package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
- package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
- package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-BN-9a2lj.js} +6 -6
- package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
- package/dist/vue-ui-tiremarks-EzYdOMyf.js +317 -0
- package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
- package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-Da0f6vaF.js} +283 -266
- package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
- package/dist/vue-ui-vertical-bar-D1cBfu5p.js +869 -0
- package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
- package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-DM2LsEP7.js} +258 -241
- package/dist/vue-ui-wheel-B9cmixxi.js +299 -0
- package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
- package/dist/vue-ui-word-cloud-BLMWYOPy.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-Baz7RXN2.js} +192 -183
- package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
- package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-DVnzVSqE.js} +339 -319
- package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-A7PKnWBs.js} +255 -246
- package/dist/vue-ui-xy-canvas-DAd-B98z.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-FfZRtJ6A.cjs +0 -9
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
- package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
- package/dist/vue-ui-donut-CplNylps.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
- package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
- package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +0 -15
- package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
- package/dist/vue-ui-relation-circle-I45_Sk5l.js +0 -349
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
- package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
- package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
- package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
- package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
- package/dist/vue-ui-tiremarks-vdPQYiDp.js +0 -303
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DwxpB46q.js +0 -852
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
- package/dist/vue-ui-wheel-Bbih5sSL.js +0 -282
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
- package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { computed as h, ref 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,56 +31,58 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
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
|
-
legend: Z.value
|
|
75
|
+
legend: Z.value,
|
|
76
|
+
source: te.value,
|
|
77
|
+
noTitle: le.value
|
|
76
78
|
});
|
|
77
|
-
|
|
79
|
+
c.value.width = a, c.value.height = l, c.value.xAxisFontSize = Ce({
|
|
78
80
|
relator: Math.min(a, l),
|
|
79
81
|
adjuster: e.value.style.width,
|
|
80
82
|
source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
81
83
|
threshold: 6,
|
|
82
84
|
fallback: 6
|
|
83
|
-
}),
|
|
85
|
+
}), c.value.yAxisFontSize = Ce({
|
|
84
86
|
relator: Math.min(a, l),
|
|
85
87
|
adjuster: e.value.style.width,
|
|
86
88
|
source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
@@ -91,29 +93,29 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
91
93
|
P.value = new ResizeObserver(t), P.value.observe(S.value.parentNode);
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
|
-
|
|
96
|
+
De(() => {
|
|
95
97
|
P.value && P.value.disconnect();
|
|
96
98
|
});
|
|
97
|
-
const { isPrinting:
|
|
99
|
+
const { isPrinting: ie, isImaging: ne, generatePdf: re, generateImage: ve } = it({
|
|
98
100
|
elementId: `vue-ui-candlestick_${x.value}`,
|
|
99
101
|
fileName: e.value.style.title.text || "vue-ui-candlestick"
|
|
100
|
-
}), w =
|
|
102
|
+
}), Te = h(() => e.value.userOptions.show && !e.value.style.title.text), w = n({
|
|
101
103
|
showTable: e.value.table.show,
|
|
102
104
|
showTooltip: e.value.style.tooltip.show
|
|
103
105
|
}), i = h(() => {
|
|
104
106
|
const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding;
|
|
105
107
|
return {
|
|
106
108
|
top: t,
|
|
107
|
-
right:
|
|
109
|
+
right: c.value.width - a,
|
|
108
110
|
left: o,
|
|
109
|
-
bottom:
|
|
110
|
-
width:
|
|
111
|
-
height:
|
|
111
|
+
bottom: c.value.height - l,
|
|
112
|
+
width: c.value.width - o - a,
|
|
113
|
+
height: c.value.height - t - l
|
|
112
114
|
};
|
|
113
|
-
}), H = h(() => k.dataset.length),
|
|
115
|
+
}), H = h(() => k.dataset.length), y = n({
|
|
114
116
|
start: 0,
|
|
115
117
|
end: H.value
|
|
116
|
-
}),
|
|
118
|
+
}), de = h(() => k.dataset.slice(y.value.start, y.value.end)), Y = h(() => (k.dataset.forEach((t, a) => {
|
|
117
119
|
[null, void 0].includes(t[0]) && N({
|
|
118
120
|
componentName: "VueUiCandlestick",
|
|
119
121
|
type: "datasetAttribute",
|
|
@@ -145,23 +147,23 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
145
147
|
property: "volume (index 5)",
|
|
146
148
|
index: a
|
|
147
149
|
});
|
|
148
|
-
}),
|
|
150
|
+
}), de.value.map((t) => ({
|
|
149
151
|
period: t[0],
|
|
150
152
|
open: t[1],
|
|
151
153
|
high: t[2],
|
|
152
154
|
low: t[3],
|
|
153
155
|
last: t[4],
|
|
154
156
|
volume: t[5]
|
|
155
|
-
})))),
|
|
157
|
+
})))), v = h(() => i.value.width / de.value.length), ce = h(() => ({
|
|
156
158
|
max: Math.max(...Y.value.map((t) => t.high)),
|
|
157
159
|
min: 0
|
|
158
|
-
})), C = h(() =>
|
|
160
|
+
})), C = h(() => Je(ce.value.min, ce.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
159
161
|
function B(t, a) {
|
|
160
162
|
return {
|
|
161
163
|
...t,
|
|
162
|
-
x:
|
|
163
|
-
y:
|
|
164
|
-
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)
|
|
165
167
|
};
|
|
166
168
|
}
|
|
167
169
|
const b = h(() => Y.value.map((t, a) => {
|
|
@@ -176,14 +178,14 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
176
178
|
isBullish: D
|
|
177
179
|
};
|
|
178
180
|
}));
|
|
179
|
-
function
|
|
180
|
-
return
|
|
181
|
+
function ze(t) {
|
|
182
|
+
return V(t / C.value.max);
|
|
181
183
|
}
|
|
182
|
-
const
|
|
183
|
-
y: i.value.bottom - i.value.height *
|
|
184
|
-
value:
|
|
185
|
-
}))),
|
|
186
|
-
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) {
|
|
187
189
|
j.value = t, q.value = {
|
|
188
190
|
datapoint: a,
|
|
189
191
|
seriesIndex: t,
|
|
@@ -191,7 +193,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
191
193
|
config: e.value
|
|
192
194
|
};
|
|
193
195
|
const l = e.value.style.tooltip.customFormat;
|
|
194
|
-
if (
|
|
196
|
+
if (et(l) && tt(() => l({
|
|
195
197
|
seriesIndex: t,
|
|
196
198
|
datapoint: a,
|
|
197
199
|
series: b.value,
|
|
@@ -205,20 +207,20 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
205
207
|
});
|
|
206
208
|
else if (e.value.style.tooltip.show) {
|
|
207
209
|
let o = "";
|
|
208
|
-
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;
|
|
209
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}"
|
|
210
|
-
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>`;
|
|
211
213
|
}
|
|
212
214
|
G.value = !0;
|
|
213
215
|
}
|
|
214
|
-
function
|
|
215
|
-
|
|
216
|
+
function Oe() {
|
|
217
|
+
y.value = {
|
|
216
218
|
start: 0,
|
|
217
219
|
end: H.value
|
|
218
|
-
},
|
|
220
|
+
}, I.value += 1;
|
|
219
221
|
}
|
|
220
|
-
function
|
|
221
|
-
|
|
222
|
+
function ye() {
|
|
223
|
+
Xe(() => {
|
|
222
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) => [
|
|
223
225
|
m.period,
|
|
224
226
|
m.open.value,
|
|
@@ -226,8 +228,8 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
226
228
|
m.low.value,
|
|
227
229
|
m.last.value,
|
|
228
230
|
m.volume
|
|
229
|
-
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o =
|
|
230
|
-
|
|
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" });
|
|
231
233
|
});
|
|
232
234
|
}
|
|
233
235
|
const M = h(() => {
|
|
@@ -259,50 +261,57 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
259
261
|
e.value.translations.volume
|
|
260
262
|
];
|
|
261
263
|
return { head: l, body: t, config: a, colNames: l };
|
|
262
|
-
}), R =
|
|
263
|
-
function
|
|
264
|
+
}), R = n(!1);
|
|
265
|
+
function Ve(t) {
|
|
264
266
|
R.value = t, K.value += 1;
|
|
265
267
|
}
|
|
266
|
-
function
|
|
268
|
+
function he() {
|
|
267
269
|
w.value.showTable = !w.value.showTable;
|
|
268
270
|
}
|
|
269
|
-
function
|
|
271
|
+
function pe() {
|
|
270
272
|
w.value.showTooltip = !w.value.showTooltip;
|
|
271
273
|
}
|
|
272
|
-
const U =
|
|
274
|
+
const U = n(!1);
|
|
273
275
|
function J() {
|
|
274
276
|
U.value = !U.value;
|
|
275
277
|
}
|
|
276
|
-
return
|
|
277
|
-
generatePdf:
|
|
278
|
-
generateCsv:
|
|
279
|
-
generateImage:
|
|
280
|
-
toggleTable:
|
|
281
|
-
toggleTooltip:
|
|
278
|
+
return Ne({
|
|
279
|
+
generatePdf: re,
|
|
280
|
+
generateCsv: ye,
|
|
281
|
+
generateImage: ve,
|
|
282
|
+
toggleTable: he,
|
|
283
|
+
toggleTooltip: pe,
|
|
282
284
|
toggleAnnotator: J
|
|
283
285
|
}), (t, a) => (s(), u("div", {
|
|
284
286
|
ref_key: "candlestickChart",
|
|
285
287
|
ref: S,
|
|
286
|
-
class:
|
|
287
|
-
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%" : ""}`),
|
|
288
290
|
id: `vue-ui-candlestick_${x.value}`
|
|
289
291
|
}, [
|
|
290
|
-
e.value.userOptions.buttons.annotator ? (s(), _(
|
|
292
|
+
e.value.userOptions.buttons.annotator ? (s(), _(pt, {
|
|
291
293
|
key: 0,
|
|
292
294
|
parent: S.value,
|
|
293
295
|
backgroundColor: e.value.style.backgroundColor,
|
|
294
296
|
color: e.value.style.color,
|
|
295
297
|
active: U.value,
|
|
296
298
|
onClose: J
|
|
297
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
298
|
-
|
|
299
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
|
|
300
|
+
Te.value ? (s(), u("div", {
|
|
299
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,
|
|
300
309
|
ref_key: "chartTitle",
|
|
301
310
|
ref: Q,
|
|
302
311
|
style: "width:100%;background:transparent"
|
|
303
312
|
}, [
|
|
304
|
-
(s(), _(
|
|
305
|
-
key: `title_${
|
|
313
|
+
(s(), _(ut, {
|
|
314
|
+
key: `title_${ae.value}`,
|
|
306
315
|
config: {
|
|
307
316
|
title: {
|
|
308
317
|
cy: "candlestick-div-title",
|
|
@@ -314,15 +323,15 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
314
323
|
}
|
|
315
324
|
}
|
|
316
325
|
}, null, 8, ["config"]))
|
|
317
|
-
], 512)) :
|
|
318
|
-
e.value.userOptions.show && L.value ? (s(), _(
|
|
326
|
+
], 512)) : d("", !0),
|
|
327
|
+
e.value.userOptions.show && L.value ? (s(), _(nt, {
|
|
319
328
|
ref_key: "details",
|
|
320
|
-
ref:
|
|
329
|
+
ref: Ae,
|
|
321
330
|
key: `user_options_${K.value}`,
|
|
322
331
|
backgroundColor: e.value.style.backgroundColor,
|
|
323
332
|
color: e.value.style.color,
|
|
324
|
-
isImaging:
|
|
325
|
-
isPrinting:
|
|
333
|
+
isImaging: f(ne),
|
|
334
|
+
isPrinting: f(ie),
|
|
326
335
|
uid: x.value,
|
|
327
336
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
328
337
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -337,113 +346,113 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
337
346
|
position: e.value.userOptions.position,
|
|
338
347
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
339
348
|
isAnnotation: U.value,
|
|
340
|
-
onToggleFullscreen:
|
|
341
|
-
onGeneratePdf:
|
|
342
|
-
onGenerateCsv:
|
|
343
|
-
onGenerateImage:
|
|
344
|
-
onToggleTable:
|
|
345
|
-
onToggleTooltip:
|
|
349
|
+
onToggleFullscreen: Ve,
|
|
350
|
+
onGeneratePdf: f(re),
|
|
351
|
+
onGenerateCsv: ye,
|
|
352
|
+
onGenerateImage: f(ve),
|
|
353
|
+
onToggleTable: he,
|
|
354
|
+
onToggleTooltip: pe,
|
|
346
355
|
onToggleAnnotator: J
|
|
347
|
-
},
|
|
356
|
+
}, We({ _: 2 }, [
|
|
348
357
|
t.$slots.optionTooltip ? {
|
|
349
358
|
name: "optionTooltip",
|
|
350
|
-
fn:
|
|
351
|
-
|
|
359
|
+
fn: g(() => [
|
|
360
|
+
p(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
352
361
|
]),
|
|
353
362
|
key: "0"
|
|
354
363
|
} : void 0,
|
|
355
364
|
t.$slots.optionPdf ? {
|
|
356
365
|
name: "optionPdf",
|
|
357
|
-
fn:
|
|
358
|
-
|
|
366
|
+
fn: g(() => [
|
|
367
|
+
p(t.$slots, "optionPdf", {}, void 0, !0)
|
|
359
368
|
]),
|
|
360
369
|
key: "1"
|
|
361
370
|
} : void 0,
|
|
362
371
|
t.$slots.optionCsv ? {
|
|
363
372
|
name: "optionCsv",
|
|
364
|
-
fn:
|
|
365
|
-
|
|
373
|
+
fn: g(() => [
|
|
374
|
+
p(t.$slots, "optionCsv", {}, void 0, !0)
|
|
366
375
|
]),
|
|
367
376
|
key: "2"
|
|
368
377
|
} : void 0,
|
|
369
378
|
t.$slots.optionImg ? {
|
|
370
379
|
name: "optionImg",
|
|
371
|
-
fn:
|
|
372
|
-
|
|
380
|
+
fn: g(() => [
|
|
381
|
+
p(t.$slots, "optionImg", {}, void 0, !0)
|
|
373
382
|
]),
|
|
374
383
|
key: "3"
|
|
375
384
|
} : void 0,
|
|
376
385
|
t.$slots.optionTable ? {
|
|
377
386
|
name: "optionTable",
|
|
378
|
-
fn:
|
|
379
|
-
|
|
387
|
+
fn: g(() => [
|
|
388
|
+
p(t.$slots, "optionTable", {}, void 0, !0)
|
|
380
389
|
]),
|
|
381
390
|
key: "4"
|
|
382
391
|
} : void 0,
|
|
383
392
|
t.$slots.optionFullscreen ? {
|
|
384
393
|
name: "optionFullscreen",
|
|
385
|
-
fn:
|
|
386
|
-
|
|
394
|
+
fn: g(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
395
|
+
p(t.$slots, "optionFullscreen", A(T({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
387
396
|
]),
|
|
388
397
|
key: "5"
|
|
389
398
|
} : void 0,
|
|
390
399
|
t.$slots.optionAnnotator ? {
|
|
391
400
|
name: "optionAnnotator",
|
|
392
|
-
fn:
|
|
393
|
-
|
|
401
|
+
fn: g(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
402
|
+
p(t.$slots, "optionAnnotator", A(T({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
394
403
|
]),
|
|
395
404
|
key: "6"
|
|
396
405
|
} : void 0
|
|
397
|
-
]), 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),
|
|
398
407
|
L.value ? (s(), u("svg", {
|
|
399
|
-
key:
|
|
400
|
-
xmlns:
|
|
401
|
-
class:
|
|
402
|
-
viewBox: `0 0 ${
|
|
403
|
-
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}`)
|
|
404
413
|
}, [
|
|
405
|
-
|
|
406
|
-
b.value.length > 0 ? (s(), u("g",
|
|
407
|
-
|
|
408
|
-
|
|
414
|
+
$e(ht),
|
|
415
|
+
b.value.length > 0 ? (s(), u("g", mt, [
|
|
416
|
+
r("defs", null, [
|
|
417
|
+
r("linearGradient", {
|
|
409
418
|
id: `bearish_gradient_${x.value}`,
|
|
410
419
|
x2: "0%",
|
|
411
420
|
y2: "100%"
|
|
412
421
|
}, [
|
|
413
|
-
|
|
422
|
+
r("stop", {
|
|
414
423
|
offset: "0%",
|
|
415
424
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
416
|
-
}, null, 8,
|
|
417
|
-
|
|
425
|
+
}, null, 8, kt),
|
|
426
|
+
r("stop", {
|
|
418
427
|
offset: "50%",
|
|
419
|
-
"stop-color": `${
|
|
420
|
-
}, null, 8,
|
|
421
|
-
|
|
428
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
429
|
+
}, null, 8, wt),
|
|
430
|
+
r("stop", {
|
|
422
431
|
offset: "100%",
|
|
423
|
-
"stop-color": `${
|
|
424
|
-
}, null, 8,
|
|
425
|
-
], 8,
|
|
426
|
-
|
|
432
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
433
|
+
}, null, 8, $t)
|
|
434
|
+
], 8, xt),
|
|
435
|
+
r("linearGradient", {
|
|
427
436
|
id: `bullish_gradient_${x.value}`,
|
|
428
437
|
x2: "0%",
|
|
429
438
|
y2: "100%"
|
|
430
439
|
}, [
|
|
431
|
-
|
|
440
|
+
r("stop", {
|
|
432
441
|
offset: "0%",
|
|
433
442
|
"stop-color": e.value.style.layout.candle.colors.bullish
|
|
434
|
-
}, null, 8,
|
|
435
|
-
|
|
443
|
+
}, null, 8, _t),
|
|
444
|
+
r("stop", {
|
|
436
445
|
offset: "50%",
|
|
437
|
-
"stop-color": `${
|
|
438
|
-
}, null, 8,
|
|
439
|
-
|
|
446
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
447
|
+
}, null, 8, Nt),
|
|
448
|
+
r("stop", {
|
|
440
449
|
offset: "100%",
|
|
441
|
-
"stop-color": `${
|
|
442
|
-
}, null, 8,
|
|
443
|
-
], 8,
|
|
450
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
451
|
+
}, null, 8, St)
|
|
452
|
+
], 8, Ct)
|
|
444
453
|
]),
|
|
445
|
-
e.value.style.layout.grid.show ? (s(), u("g",
|
|
446
|
-
|
|
454
|
+
e.value.style.layout.grid.show ? (s(), u("g", At, [
|
|
455
|
+
r("line", {
|
|
447
456
|
x1: i.value.left,
|
|
448
457
|
x2: i.value.left,
|
|
449
458
|
y1: i.value.top,
|
|
@@ -451,8 +460,8 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
451
460
|
stroke: e.value.style.layout.grid.stroke,
|
|
452
461
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
453
462
|
"stroke-linecap": "round"
|
|
454
|
-
}, null, 8,
|
|
455
|
-
|
|
463
|
+
}, null, 8, Tt),
|
|
464
|
+
r("line", {
|
|
456
465
|
x1: i.value.left,
|
|
457
466
|
x2: i.value.right,
|
|
458
467
|
y1: i.value.bottom,
|
|
@@ -460,10 +469,10 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
460
469
|
stroke: e.value.style.layout.grid.stroke,
|
|
461
470
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
462
471
|
"stroke-linecap": "round"
|
|
463
|
-
}, null, 8,
|
|
464
|
-
])) :
|
|
465
|
-
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g",
|
|
466
|
-
(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, [
|
|
467
476
|
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("line", {
|
|
468
477
|
key: 0,
|
|
469
478
|
x1: i.value.left,
|
|
@@ -473,32 +482,32 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
473
482
|
stroke: e.value.style.layout.grid.stroke,
|
|
474
483
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
475
484
|
"stroke-linecap": "round"
|
|
476
|
-
}, null, 8,
|
|
485
|
+
}, null, 8, Lt)) : d("", !0),
|
|
477
486
|
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("text", {
|
|
478
487
|
key: 1,
|
|
479
488
|
x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
480
|
-
y: l.y +
|
|
481
|
-
"font-size":
|
|
489
|
+
y: l.y + c.value.yAxisFontSize / 3,
|
|
490
|
+
"font-size": c.value.yAxisFontSize,
|
|
482
491
|
"text-anchor": "end",
|
|
483
492
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
484
493
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
485
|
-
},
|
|
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)
|
|
486
495
|
]))), 256))
|
|
487
|
-
])) :
|
|
488
|
-
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g",
|
|
489
|
-
(s(!0), u(
|
|
490
|
-
|
|
491
|
-
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})`,
|
|
492
501
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
493
|
-
"font-size":
|
|
502
|
+
"font-size": c.value.xAxisFontSize,
|
|
494
503
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
495
504
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
496
|
-
},
|
|
505
|
+
}, O(l), 9, Vt)
|
|
497
506
|
]))), 256))
|
|
498
|
-
])) :
|
|
499
|
-
|
|
500
|
-
(s(!0), u(
|
|
501
|
-
|
|
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", {
|
|
502
511
|
x1: l.open.x,
|
|
503
512
|
x2: l.open.x,
|
|
504
513
|
y1: l.high.y,
|
|
@@ -506,87 +515,87 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
506
515
|
stroke: e.value.style.layout.wick.stroke,
|
|
507
516
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
508
517
|
"stroke-linecap": "round"
|
|
509
|
-
}, null, 8,
|
|
510
|
-
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g",
|
|
511
|
-
|
|
518
|
+
}, null, 8, It),
|
|
519
|
+
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Pt, [
|
|
520
|
+
r("circle", {
|
|
512
521
|
cx: l.high.x,
|
|
513
522
|
cy: l.high.y,
|
|
514
|
-
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,
|
|
515
524
|
fill: e.value.style.layout.wick.extremity.color
|
|
516
|
-
}, null, 8,
|
|
517
|
-
|
|
525
|
+
}, null, 8, Bt),
|
|
526
|
+
r("circle", {
|
|
518
527
|
cx: l.low.x,
|
|
519
528
|
cy: l.low.y,
|
|
520
|
-
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,
|
|
521
530
|
fill: e.value.style.layout.wick.extremity.color
|
|
522
|
-
}, null, 8,
|
|
523
|
-
])) :
|
|
524
|
-
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g",
|
|
525
|
-
|
|
526
|
-
x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ?
|
|
527
|
-
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,
|
|
528
537
|
y1: l.high.y,
|
|
529
538
|
y2: l.high.y,
|
|
530
539
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
531
540
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
532
541
|
"stroke-linecap": "round"
|
|
533
|
-
}, null, 8,
|
|
534
|
-
|
|
535
|
-
x1: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ?
|
|
536
|
-
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,
|
|
537
546
|
y1: l.low.y,
|
|
538
547
|
y2: l.low.y,
|
|
539
548
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
540
549
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
541
550
|
"stroke-linecap": "round"
|
|
542
|
-
}, null, 8,
|
|
543
|
-
])) :
|
|
551
|
+
}, null, 8, Dt)
|
|
552
|
+
])) : d("", !0)
|
|
544
553
|
]))), 256))
|
|
545
554
|
]),
|
|
546
|
-
|
|
547
|
-
(s(!0), u(
|
|
548
|
-
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,
|
|
549
558
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
550
559
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
551
|
-
width:
|
|
560
|
+
width: v.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : v.value * e.value.style.layout.candle.widthRatio,
|
|
552
561
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
553
562
|
rx: e.value.style.layout.candle.borderRadius,
|
|
554
563
|
stroke: "none"
|
|
555
|
-
}, null, 8,
|
|
556
|
-
(s(!0), u(
|
|
557
|
-
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,
|
|
558
567
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
559
568
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
560
|
-
width:
|
|
569
|
+
width: v.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : v.value * e.value.style.layout.candle.widthRatio,
|
|
561
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,
|
|
562
571
|
rx: e.value.style.layout.candle.borderRadius,
|
|
563
572
|
stroke: e.value.style.layout.candle.stroke,
|
|
564
573
|
"stroke-width": e.value.style.layout.candle.strokeWidth,
|
|
565
574
|
"stroke-linecap": "round",
|
|
566
575
|
"stroke-linejoin": "round"
|
|
567
|
-
}, null, 8,
|
|
576
|
+
}, null, 8, Gt))), 256))
|
|
568
577
|
]),
|
|
569
|
-
|
|
570
|
-
(s(!0), u(
|
|
571
|
-
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,
|
|
572
581
|
y: i.value.top,
|
|
573
582
|
height: i.value.height <= 0 ? 1e-4 : i.value.height,
|
|
574
|
-
width:
|
|
575
|
-
fill: j.value === o ?
|
|
576
|
-
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),
|
|
577
586
|
onMouseleave: a[0] || (a[0] = (m) => {
|
|
578
587
|
j.value = void 0, G.value = !1;
|
|
579
588
|
})
|
|
580
|
-
}, null, 40,
|
|
589
|
+
}, null, 40, Xt))), 256))
|
|
581
590
|
])
|
|
582
|
-
])) :
|
|
583
|
-
|
|
584
|
-
], 14,
|
|
585
|
-
t.$slots.watermark ? (s(), u("div",
|
|
586
|
-
|
|
587
|
-
])) :
|
|
588
|
-
L.value ?
|
|
589
|
-
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,
|
|
590
599
|
config: {
|
|
591
600
|
type: "candlesticks",
|
|
592
601
|
style: {
|
|
@@ -603,44 +612,52 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
603
612
|
}
|
|
604
613
|
}, null, 8, ["config"])),
|
|
605
614
|
e.value.style.zoom.show && L.value ? (s(), u("div", {
|
|
606
|
-
key:
|
|
615
|
+
key: 7,
|
|
607
616
|
ref_key: "chartSlicer",
|
|
608
617
|
ref: ee
|
|
609
618
|
}, [
|
|
610
|
-
(s(), _(
|
|
611
|
-
key: `slicer_${
|
|
619
|
+
(s(), _(ct, {
|
|
620
|
+
key: `slicer_${I.value}`,
|
|
612
621
|
background: e.value.style.zoom.color,
|
|
613
622
|
borderColor: e.value.style.backgroundColor,
|
|
614
623
|
fontSize: e.value.style.zoom.fontSize,
|
|
615
624
|
useResetSlot: e.value.style.zoom.useResetSlot,
|
|
616
|
-
labelLeft: $.dataset[
|
|
617
|
-
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],
|
|
618
627
|
textColor: e.value.style.color,
|
|
619
628
|
inputColor: e.value.style.zoom.color,
|
|
620
629
|
selectColor: e.value.style.zoom.highlightColor,
|
|
621
630
|
max: H.value,
|
|
622
631
|
min: 0,
|
|
623
|
-
valueStart:
|
|
624
|
-
valueEnd:
|
|
625
|
-
start:
|
|
626
|
-
"onUpdate:start": a[1] || (a[1] = (l) =>
|
|
627
|
-
end:
|
|
628
|
-
"onUpdate:end": a[2] || (a[2] = (l) =>
|
|
629
|
-
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
|
|
630
639
|
}, {
|
|
631
|
-
"reset-action":
|
|
632
|
-
|
|
640
|
+
"reset-action": g(({ reset: l }) => [
|
|
641
|
+
p(t.$slots, "reset-action", A(T({ reset: l })), void 0, !0)
|
|
633
642
|
]),
|
|
634
643
|
_: 3
|
|
635
644
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"]))
|
|
636
|
-
], 512)) :
|
|
637
|
-
|
|
645
|
+
], 512)) : d("", !0),
|
|
646
|
+
r("div", {
|
|
638
647
|
ref_key: "chartLegend",
|
|
639
648
|
ref: Z
|
|
640
649
|
}, [
|
|
641
|
-
|
|
650
|
+
p(t.$slots, "legend", { legend: b.value }, void 0, !0)
|
|
642
651
|
], 512),
|
|
643
|
-
|
|
652
|
+
t.$slots.source ? (s(), u("div", {
|
|
653
|
+
key: 8,
|
|
654
|
+
ref_key: "source",
|
|
655
|
+
ref: te,
|
|
656
|
+
dir: "auto"
|
|
657
|
+
}, [
|
|
658
|
+
p(t.$slots, "source", {}, void 0, !0)
|
|
659
|
+
], 512)) : d("", !0),
|
|
660
|
+
$e(rt, {
|
|
644
661
|
show: w.value.showTooltip && G.value,
|
|
645
662
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
646
663
|
color: e.value.style.tooltip.color,
|
|
@@ -655,16 +672,16 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
655
672
|
content: X.value,
|
|
656
673
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
657
674
|
}, {
|
|
658
|
-
"tooltip-before":
|
|
659
|
-
|
|
675
|
+
"tooltip-before": g(() => [
|
|
676
|
+
p(t.$slots, "tooltip-before", A(T({ ...q.value })), void 0, !0)
|
|
660
677
|
]),
|
|
661
|
-
"tooltip-after":
|
|
662
|
-
|
|
678
|
+
"tooltip-after": g(() => [
|
|
679
|
+
p(t.$slots, "tooltip-after", A(T({ ...q.value })), void 0, !0)
|
|
663
680
|
]),
|
|
664
681
|
_: 3
|
|
665
682
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
666
|
-
L.value ? (s(), _(
|
|
667
|
-
key:
|
|
683
|
+
L.value ? (s(), _(yt, {
|
|
684
|
+
key: 9,
|
|
668
685
|
hideDetails: "",
|
|
669
686
|
config: {
|
|
670
687
|
open: w.value.showTable,
|
|
@@ -679,9 +696,9 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
679
696
|
}
|
|
680
697
|
}
|
|
681
698
|
}, {
|
|
682
|
-
content:
|
|
683
|
-
(s(), _(
|
|
684
|
-
key: `table_${
|
|
699
|
+
content: g(() => [
|
|
700
|
+
(s(), _(vt, {
|
|
701
|
+
key: `table_${oe.value}`,
|
|
685
702
|
colNames: M.value.colNames,
|
|
686
703
|
head: M.value.head,
|
|
687
704
|
body: M.value.body,
|
|
@@ -689,20 +706,20 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
689
706
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
690
707
|
onClose: a[3] || (a[3] = (l) => w.value.showTable = !1)
|
|
691
708
|
}, {
|
|
692
|
-
th:
|
|
693
|
-
|
|
709
|
+
th: g(({ th: l }) => [
|
|
710
|
+
Ge(O(l), 1)
|
|
694
711
|
]),
|
|
695
|
-
td:
|
|
696
|
-
|
|
712
|
+
td: g(({ td: l }) => [
|
|
713
|
+
r("div", { innerHTML: l }, null, 8, Ht)
|
|
697
714
|
]),
|
|
698
715
|
_: 1
|
|
699
716
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
700
717
|
]),
|
|
701
718
|
_: 1
|
|
702
|
-
}, 8, ["config"])) :
|
|
703
|
-
], 14,
|
|
719
|
+
}, 8, ["config"])) : d("", !0)
|
|
720
|
+
], 14, gt));
|
|
704
721
|
}
|
|
705
|
-
},
|
|
722
|
+
}, vl = /* @__PURE__ */ ft(Yt, [["__scopeId", "data-v-bec260db"]]);
|
|
706
723
|
export {
|
|
707
|
-
|
|
724
|
+
vl as default
|
|
708
725
|
};
|