vue-data-ui 2.4.1 → 2.4.2
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 +44 -44
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-DLTRnzcG.cjs} +1 -1
- package/dist/{Arrow-BIs_9yK8.js → Arrow-JuK2z9IB.js} +1 -1
- package/dist/BaseIcon-BGExhz6v.cjs +1 -0
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-rRli6Sfv.js} +7 -4
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DJzhv96s.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DTk7C4Pr.js} +2 -2
- package/dist/{Legend-DXLiSLHd.js → Legend-CYF2gpXG.js} +1 -1
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-YZ7Hz3o1.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-CvCRsT5_.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
- package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
- package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-BpPn4eWR.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-X2F-QV_B.cjs} +1 -1
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-CL0tP5a5.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-CU7dRZR0.js} +2 -2
- package/dist/{Title-DYNLqCCT.js → Title-5VmBwT4i.js} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-Co5jI5ed.cjs} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cj4EF7v1.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-DnVHQ2xI.js} +880 -842
- package/dist/index-FfZRtJ6A.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +18 -16
- package/dist/types/vue-data-ui.d.ts +18 -16
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-Cox0K0Y5.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
- package/dist/usePrinter-BCAFeO_J.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-BEeNAqS5.js} +230 -185
- package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
- package/dist/vue-data-ui-W7nnqn0v.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
- package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DspS4q3f.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-BOofWpzv.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
- package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
- package/dist/{vue-ui-carousel-table-C0GDDSW9.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-BM74l93B.js} +2 -2
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-DioaBnkB.js} +2 -2
- package/dist/vue-ui-donut-CplNylps.cjs +1 -0
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-ldqSm_JV.js} +345 -321
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
- package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
- package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
- package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
- package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
- package/dist/{vue-ui-onion-D9o6Rcgu.js → vue-ui-onion-LsEhBe4x.js} +226 -202
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BcYrYXhG.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
- package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-20QhOUer.js} +255 -231
- package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-DRWJsve1.js} +2 -2
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
- package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
- package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
- package/dist/{vue-ui-skeleton-CGV1dEUD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-ChNvxygm.js} +2 -2
- package/dist/{vue-ui-spark-trend-BfoEoJEy.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
- package/dist/{vue-ui-sparkbar-DB2DeXti.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CJepIY2u.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B7B36LLT.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
- package/dist/{vue-ui-sparkline-BcqmwDAb.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DT3aKNeV.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
- package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
- package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-DQORPCDJ.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
- package/dist/{vue-ui-table-heatmap-Chvdf2Gi.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DUUYQ5dH.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
- package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-pi1SazTU.js} +5 -5
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
- package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
- package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CieqHVD5.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
- package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
- package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
- package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
- package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-CqlRuFMc.js} +775 -751
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
- package/package.json +1 -1
- package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
- package/dist/index-C7_6YjWN.cjs +0 -9
- package/dist/usePrinter-8EP4iaGm.cjs +0 -1
- package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
- package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
- package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
- package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
- package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
- package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
- package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
- package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
- package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
- package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
- package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
- package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
- package/dist/vue-ui-gauge-BXiy515T.js +0 -494
- package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
- package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
- package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
- package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
- package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
- package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
- package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
- package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
- package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
- package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
- package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
- package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
- package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
- package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
- package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
- package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
- package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
- package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
- package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
- package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
- package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
- package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
- package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
- package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
- package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
- package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
- package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
- package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
- package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
- package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { computed as h, ref as v, watch 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 {
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { computed as h, ref as v, watch as be, onMounted as Be, onBeforeUnmount as Me, openBlock as s, createElementBlock as u, normalizeClass as me, normalizeStyle as xe, createBlock as _, createCommentVNode as y, unref as p, createSlots as Ue, withCtx as f, renderSlot as g, normalizeProps as A, guardReactiveProps as z, createVNode as ke, createElementVNode as n, Fragment as T, renderList as F, toDisplayString as V, createTextVNode as Ee, nextTick as De } from "vue";
|
|
2
|
+
import { u as We, c as Ge, t as Xe, o as je, e as N, C as He, v as I, X as Ye, w as W, D as qe, s as Je, x as Ke, y as Qe, q as Ze, r as et, E as we } from "./index-DnVHQ2xI.js";
|
|
3
|
+
import { t as tt, u as lt } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as ot } from "./Title-5VmBwT4i.js";
|
|
5
|
+
import { u as at, U as st } from "./usePrinter-BEeNAqS5.js";
|
|
6
|
+
import { _ as ut } from "./Tooltip-Cj4EF7v1.js";
|
|
7
|
+
import { D as it } from "./DataTable-DTk7C4Pr.js";
|
|
8
|
+
import nt from "./vue-ui-skeleton-aZmkNzAe.js";
|
|
9
|
+
import { S as rt } from "./Slicer-CU7dRZR0.js";
|
|
10
|
+
import vt from "./vue-ui-accordion-DspS4q3f.js";
|
|
11
|
+
import { u as $e } from "./useNestedProp-Cox0K0Y5.js";
|
|
12
|
+
import { _ as dt } from "./PackageVersion-CvCRsT5_.js";
|
|
13
|
+
import { P as yt } from "./PenAndPaper-Jb0pLt3G.js";
|
|
14
|
+
import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt = ["stop-color"], mt = ["stop-color"], xt = ["stop-color"], kt = ["id"], wt = ["stop-color"], $t = ["stop-color"], Ct = ["stop-color"], _t = { key: 0 }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = { key: 1 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["x", "y", "font-size", "fill", "font-weight"], Ft = { key: 2 }, Lt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = { key: 0 }, It = ["cx", "cy", "r", "fill"], Ot = ["cx", "cy", "r", "fill"], Pt = { key: 1 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ut = ["x", "y", "height", "width", "fill", "rx"], Et = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Dt = ["x", "y", "height", "width", "fill", "onMouseover"], Wt = {
|
|
16
|
+
key: 4,
|
|
16
17
|
class: "vue-data-ui-watermark"
|
|
17
|
-
},
|
|
18
|
+
}, Gt = ["innerHTML"], Xt = {
|
|
18
19
|
__name: "vue-ui-candlestick",
|
|
19
20
|
props: {
|
|
20
21
|
config: {
|
|
@@ -30,56 +31,56 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
|
-
setup($, { expose:
|
|
34
|
-
const k = $, { vue_ui_candlestick:
|
|
35
|
-
get: () =>
|
|
34
|
+
setup($, { expose: Ce }) {
|
|
35
|
+
const k = $, { vue_ui_candlestick: _e } = We(), L = h(() => !!k.dataset && k.dataset.length), x = v(Ge()), Ne = v(null), G = v(!1), X = v(""), j = v(void 0), K = v(0), S = v(null), Q = v(null), Z = v(null), ee = v(null), O = v(0), te = v(0), le = v(0), e = h({
|
|
36
|
+
get: () => oe(),
|
|
36
37
|
set: (t) => t
|
|
37
38
|
});
|
|
38
|
-
function
|
|
39
|
-
const t =
|
|
39
|
+
function oe() {
|
|
40
|
+
const t = $e({
|
|
40
41
|
userConfig: k.config,
|
|
41
|
-
defaultConfig:
|
|
42
|
+
defaultConfig: _e
|
|
42
43
|
});
|
|
43
44
|
return t.theme ? {
|
|
44
|
-
|
|
45
|
-
userConfig:
|
|
45
|
+
...$e({
|
|
46
|
+
userConfig: Xe.vue_ui_candlestick[t.theme] || k.config,
|
|
46
47
|
defaultConfig: t
|
|
47
48
|
})
|
|
48
49
|
} : t;
|
|
49
50
|
}
|
|
50
|
-
|
|
51
|
-
e.value =
|
|
52
|
-
}, { deep: !0 }),
|
|
53
|
-
|
|
51
|
+
be(() => k.config, (t) => {
|
|
52
|
+
e.value = oe(), ae(), O.value += 1, le.value += 1, te.value += 1;
|
|
53
|
+
}, { deep: !0 }), be(() => k.dataset, (t) => {
|
|
54
|
+
c.value.start = 0, c.value.end = t.length, O.value += 1;
|
|
54
55
|
}, { deep: !0 });
|
|
55
56
|
const d = v({
|
|
56
57
|
height: e.value.style.height,
|
|
57
58
|
width: e.value.style.width,
|
|
58
59
|
xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
59
60
|
yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
60
|
-
}),
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
}), P = v(null);
|
|
62
|
+
Be(() => {
|
|
63
|
+
ae();
|
|
63
64
|
});
|
|
64
|
-
function
|
|
65
|
-
if (
|
|
65
|
+
function ae() {
|
|
66
|
+
if (je(k.dataset) && N({
|
|
66
67
|
componentName: "VueUiCandlestick",
|
|
67
68
|
type: "dataset"
|
|
68
69
|
}), e.value.responsive) {
|
|
69
|
-
const t =
|
|
70
|
-
const { width: a, height: l } =
|
|
71
|
-
chart:
|
|
72
|
-
title: e.value.style.title.text ?
|
|
73
|
-
slicer:
|
|
74
|
-
legend:
|
|
70
|
+
const t = tt(() => {
|
|
71
|
+
const { width: a, height: l } = lt({
|
|
72
|
+
chart: S.value,
|
|
73
|
+
title: e.value.style.title.text ? Q.value : null,
|
|
74
|
+
slicer: ee.value,
|
|
75
|
+
legend: Z.value
|
|
75
76
|
});
|
|
76
|
-
d.value.width = a, d.value.height = l, d.value.xAxisFontSize =
|
|
77
|
+
d.value.width = a, d.value.height = l, d.value.xAxisFontSize = we({
|
|
77
78
|
relator: Math.min(a, l),
|
|
78
79
|
adjuster: e.value.style.width,
|
|
79
80
|
source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
80
81
|
threshold: 6,
|
|
81
82
|
fallback: 6
|
|
82
|
-
}), d.value.yAxisFontSize =
|
|
83
|
+
}), d.value.yAxisFontSize = we({
|
|
83
84
|
relator: Math.min(a, l),
|
|
84
85
|
adjuster: e.value.style.width,
|
|
85
86
|
source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
@@ -87,13 +88,13 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
87
88
|
fallback: 6
|
|
88
89
|
});
|
|
89
90
|
});
|
|
90
|
-
|
|
91
|
+
P.value = new ResizeObserver(t), P.value.observe(S.value.parentNode);
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
Me(() => {
|
|
95
|
+
P.value && P.value.disconnect();
|
|
95
96
|
});
|
|
96
|
-
const { isPrinting:
|
|
97
|
+
const { isPrinting: se, isImaging: ue, generatePdf: ie, generateImage: ne } = at({
|
|
97
98
|
elementId: `vue-ui-candlestick_${x.value}`,
|
|
98
99
|
fileName: e.value.style.title.text || "vue-ui-candlestick"
|
|
99
100
|
}), w = v({
|
|
@@ -109,128 +110,128 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
109
110
|
width: d.value.width - o - a,
|
|
110
111
|
height: d.value.height - t - l
|
|
111
112
|
};
|
|
112
|
-
}),
|
|
113
|
+
}), H = h(() => k.dataset.length), c = v({
|
|
113
114
|
start: 0,
|
|
114
|
-
end:
|
|
115
|
-
}),
|
|
116
|
-
[null, void 0].includes(t[0]) &&
|
|
115
|
+
end: H.value
|
|
116
|
+
}), re = h(() => k.dataset.slice(c.value.start, c.value.end)), Y = h(() => (k.dataset.forEach((t, a) => {
|
|
117
|
+
[null, void 0].includes(t[0]) && N({
|
|
117
118
|
componentName: "VueUiCandlestick",
|
|
118
119
|
type: "datasetAttribute",
|
|
119
120
|
property: "period (index 0)",
|
|
120
121
|
index: a
|
|
121
|
-
}), [null, void 0].includes(t[1]) &&
|
|
122
|
+
}), [null, void 0].includes(t[1]) && N({
|
|
122
123
|
componentName: "VueUiCandlestick",
|
|
123
124
|
type: "datasetAttribute",
|
|
124
125
|
property: "open (index 1)",
|
|
125
126
|
index: a
|
|
126
|
-
}), [null, void 0].includes(t[2]) &&
|
|
127
|
+
}), [null, void 0].includes(t[2]) && N({
|
|
127
128
|
componentName: "VueUiCandlestick",
|
|
128
129
|
type: "datasetAttribute",
|
|
129
130
|
property: "high (index 2)",
|
|
130
131
|
index: a
|
|
131
|
-
}), [null, void 0].includes(t[3]) &&
|
|
132
|
+
}), [null, void 0].includes(t[3]) && N({
|
|
132
133
|
componentName: "VueUiCandlestick",
|
|
133
134
|
type: "datasetAttribute",
|
|
134
135
|
property: "low (index 3)",
|
|
135
136
|
index: a
|
|
136
|
-
}), [null, void 0].includes(t[4]) &&
|
|
137
|
+
}), [null, void 0].includes(t[4]) && N({
|
|
137
138
|
componentName: "VueUiCandlestick",
|
|
138
139
|
type: "datasetAttribute",
|
|
139
140
|
property: "last (index 4)",
|
|
140
141
|
index: a
|
|
141
|
-
}), [null, void 0].includes(t[5]) &&
|
|
142
|
+
}), [null, void 0].includes(t[5]) && N({
|
|
142
143
|
componentName: "VueUiCandlestick",
|
|
143
144
|
type: "datasetAttribute",
|
|
144
145
|
property: "volume (index 5)",
|
|
145
146
|
index: a
|
|
146
147
|
});
|
|
147
|
-
}),
|
|
148
|
+
}), re.value.map((t) => ({
|
|
148
149
|
period: t[0],
|
|
149
150
|
open: t[1],
|
|
150
151
|
high: t[2],
|
|
151
152
|
low: t[3],
|
|
152
153
|
last: t[4],
|
|
153
154
|
volume: t[5]
|
|
154
|
-
})))), r = h(() => i.value.width /
|
|
155
|
-
max: Math.max(...
|
|
155
|
+
})))), r = h(() => i.value.width / re.value.length), ve = h(() => ({
|
|
156
|
+
max: Math.max(...Y.value.map((t) => t.high)),
|
|
156
157
|
min: 0
|
|
157
|
-
})),
|
|
158
|
-
function
|
|
158
|
+
})), C = h(() => He(ve.value.min, ve.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
159
|
+
function B(t, a) {
|
|
159
160
|
return {
|
|
160
161
|
...t,
|
|
161
162
|
x: I(i.value.left + a * r.value + r.value / 2),
|
|
162
|
-
y: I(i.value.top + (1 - t /
|
|
163
|
+
y: I(i.value.top + (1 - t / C.value.max) * i.value.height),
|
|
163
164
|
value: I(t)
|
|
164
165
|
};
|
|
165
166
|
}
|
|
166
|
-
const
|
|
167
|
-
const l =
|
|
167
|
+
const b = h(() => Y.value.map((t, a) => {
|
|
168
|
+
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;
|
|
168
169
|
return {
|
|
169
170
|
period: t.period,
|
|
170
171
|
open: l,
|
|
171
172
|
high: o,
|
|
172
|
-
low:
|
|
173
|
-
last:
|
|
173
|
+
low: m,
|
|
174
|
+
last: E,
|
|
174
175
|
volume: t.volume,
|
|
175
|
-
isBullish:
|
|
176
|
+
isBullish: D
|
|
176
177
|
};
|
|
177
178
|
}));
|
|
178
|
-
function
|
|
179
|
-
return I(t /
|
|
179
|
+
function Se(t) {
|
|
180
|
+
return I(t / C.value.max);
|
|
180
181
|
}
|
|
181
|
-
const
|
|
182
|
-
y: i.value.bottom - i.value.height *
|
|
182
|
+
const Ae = h(() => C.value.ticks.map((t) => ({
|
|
183
|
+
y: i.value.bottom - i.value.height * Se(t),
|
|
183
184
|
value: I(t)
|
|
184
|
-
}))),
|
|
185
|
-
function
|
|
186
|
-
|
|
185
|
+
}))), ze = h(() => Y.value.map((t) => t.period)), q = v(null);
|
|
186
|
+
function Te(t, a) {
|
|
187
|
+
j.value = t, q.value = {
|
|
187
188
|
datapoint: a,
|
|
188
189
|
seriesIndex: t,
|
|
189
|
-
series:
|
|
190
|
+
series: b.value,
|
|
190
191
|
config: e.value
|
|
191
192
|
};
|
|
192
193
|
const l = e.value.style.tooltip.customFormat;
|
|
193
|
-
if (
|
|
194
|
+
if (Ke(l) && Qe(() => l({
|
|
194
195
|
seriesIndex: t,
|
|
195
196
|
datapoint: a,
|
|
196
|
-
series:
|
|
197
|
+
series: b.value,
|
|
197
198
|
config: e.value
|
|
198
199
|
})))
|
|
199
|
-
|
|
200
|
+
X.value = l({
|
|
200
201
|
seriesIndex: t,
|
|
201
202
|
datapoint: a,
|
|
202
|
-
series:
|
|
203
|
+
series: b.value,
|
|
203
204
|
config: e.value
|
|
204
205
|
});
|
|
205
206
|
else if (e.value.style.tooltip.show) {
|
|
206
207
|
let o = "";
|
|
207
|
-
const { period:
|
|
208
|
+
const { period: m, open: E, high: D, low: he, last: pe, volume: fe, isBullish: ge } = b.value[t], { period: jt, open: Re, high: Ve, low: Ie, last: Oe, volume: Pe } = e.value.translations;
|
|
208
209
|
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}"
|
|
209
|
-
fill="${e.value.style.layout.candle.gradient.show ?
|
|
210
|
+
fill="${e.value.style.layout.candle.gradient.show ? ge ? `url(#bullish_gradient_${x.value})` : `url(#bearish_gradient_${x.value})` : ge ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${m}</div>`, o += `${Pe} : <b>${isNaN(fe) ? "-" : Number(fe.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>${Re}: <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>${Ve}: <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>${Ie}: <b>${e.value.style.tooltip.prefix} ${isNaN(he.value) ? "-" : Number(he.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Oe}: <b>${e.value.style.tooltip.prefix} ${isNaN(pe.value) ? "-" : Number(pe.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>`;
|
|
210
211
|
}
|
|
211
|
-
|
|
212
|
+
G.value = !0;
|
|
212
213
|
}
|
|
213
|
-
function
|
|
214
|
-
|
|
214
|
+
function Fe() {
|
|
215
|
+
c.value = {
|
|
215
216
|
start: 0,
|
|
216
|
-
end:
|
|
217
|
+
end: H.value
|
|
217
218
|
}, O.value += 1;
|
|
218
219
|
}
|
|
219
|
-
function
|
|
220
|
-
|
|
221
|
-
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 =
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o =
|
|
229
|
-
|
|
220
|
+
function de() {
|
|
221
|
+
De(() => {
|
|
222
|
+
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
|
+
m.period,
|
|
224
|
+
m.open.value,
|
|
225
|
+
m.high.value,
|
|
226
|
+
m.low.value,
|
|
227
|
+
m.last.value,
|
|
228
|
+
m.volume
|
|
229
|
+
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o = Ze(l);
|
|
230
|
+
et({ csvContent: o, title: e.value.style.title.text || "vue-ui-candlestick" });
|
|
230
231
|
});
|
|
231
232
|
}
|
|
232
233
|
const M = h(() => {
|
|
233
|
-
const t =
|
|
234
|
+
const t = b.value.map((o) => [
|
|
234
235
|
`<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}`,
|
|
235
236
|
`${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}`,
|
|
236
237
|
`${e.value.table.td.prefix} ${isNaN(o.high.value) ? "-" : Number(o.high.value.toFixed(e.value.table.td.roundingValue)).toLocaleString()} ${e.value.table.td.suffix}`,
|
|
@@ -258,37 +259,50 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
258
259
|
e.value.translations.volume
|
|
259
260
|
];
|
|
260
261
|
return { head: l, body: t, config: a, colNames: l };
|
|
261
|
-
}),
|
|
262
|
-
function
|
|
263
|
-
|
|
262
|
+
}), R = v(!1);
|
|
263
|
+
function Le(t) {
|
|
264
|
+
R.value = t, K.value += 1;
|
|
264
265
|
}
|
|
265
|
-
function
|
|
266
|
+
function ye() {
|
|
266
267
|
w.value.showTable = !w.value.showTable;
|
|
267
268
|
}
|
|
268
|
-
function
|
|
269
|
+
function ce() {
|
|
269
270
|
w.value.showTooltip = !w.value.showTooltip;
|
|
270
271
|
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
272
|
+
const U = v(!1);
|
|
273
|
+
function J() {
|
|
274
|
+
U.value = !U.value;
|
|
275
|
+
}
|
|
276
|
+
return Ce({
|
|
277
|
+
generatePdf: ie,
|
|
278
|
+
generateCsv: de,
|
|
279
|
+
generateImage: ne,
|
|
280
|
+
toggleTable: ye,
|
|
281
|
+
toggleTooltip: ce,
|
|
282
|
+
toggleAnnotator: J
|
|
277
283
|
}), (t, a) => (s(), u("div", {
|
|
278
284
|
ref_key: "candlestickChart",
|
|
279
|
-
ref:
|
|
280
|
-
class:
|
|
281
|
-
style:
|
|
285
|
+
ref: S,
|
|
286
|
+
class: me(`vue-ui-candlestick ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
287
|
+
style: xe(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
282
288
|
id: `vue-ui-candlestick_${x.value}`
|
|
283
289
|
}, [
|
|
284
|
-
e.value.
|
|
290
|
+
e.value.userOptions.buttons.annotator ? (s(), _(yt, {
|
|
285
291
|
key: 0,
|
|
292
|
+
parent: S.value,
|
|
293
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
294
|
+
color: e.value.style.color,
|
|
295
|
+
active: U.value,
|
|
296
|
+
onClose: J
|
|
297
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
298
|
+
e.value.style.title.text ? (s(), u("div", {
|
|
299
|
+
key: 1,
|
|
286
300
|
ref_key: "chartTitle",
|
|
287
|
-
ref:
|
|
301
|
+
ref: Q,
|
|
288
302
|
style: "width:100%;background:transparent"
|
|
289
303
|
}, [
|
|
290
|
-
(s(),
|
|
291
|
-
key: `title_${
|
|
304
|
+
(s(), _(ot, {
|
|
305
|
+
key: `title_${le.value}`,
|
|
292
306
|
config: {
|
|
293
307
|
title: {
|
|
294
308
|
cy: "candlestick-div-title",
|
|
@@ -300,15 +314,15 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
300
314
|
}
|
|
301
315
|
}
|
|
302
316
|
}, null, 8, ["config"]))
|
|
303
|
-
], 512)) :
|
|
304
|
-
e.value.userOptions.show &&
|
|
317
|
+
], 512)) : y("", !0),
|
|
318
|
+
e.value.userOptions.show && L.value ? (s(), _(st, {
|
|
305
319
|
ref_key: "details",
|
|
306
|
-
ref:
|
|
307
|
-
key: `user_options_${
|
|
320
|
+
ref: Ne,
|
|
321
|
+
key: `user_options_${K.value}`,
|
|
308
322
|
backgroundColor: e.value.style.backgroundColor,
|
|
309
323
|
color: e.value.style.color,
|
|
310
|
-
isImaging: p(
|
|
311
|
-
isPrinting: p(
|
|
324
|
+
isImaging: p(ue),
|
|
325
|
+
isPrinting: p(se),
|
|
312
326
|
uid: x.value,
|
|
313
327
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
314
328
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -316,70 +330,80 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
316
330
|
hasXls: e.value.userOptions.buttons.csv,
|
|
317
331
|
hasTable: e.value.userOptions.buttons.table,
|
|
318
332
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
319
|
-
isFullscreen:
|
|
333
|
+
isFullscreen: R.value,
|
|
320
334
|
isTooltip: w.value.showTooltip,
|
|
321
335
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
322
|
-
chartElement:
|
|
336
|
+
chartElement: S.value,
|
|
323
337
|
position: e.value.userOptions.position,
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
338
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
339
|
+
isAnnotation: U.value,
|
|
340
|
+
onToggleFullscreen: Le,
|
|
341
|
+
onGeneratePdf: p(ie),
|
|
342
|
+
onGenerateCsv: de,
|
|
343
|
+
onGenerateImage: p(ne),
|
|
344
|
+
onToggleTable: ye,
|
|
345
|
+
onToggleTooltip: ce,
|
|
346
|
+
onToggleAnnotator: J
|
|
347
|
+
}, Ue({ _: 2 }, [
|
|
331
348
|
t.$slots.optionTooltip ? {
|
|
332
349
|
name: "optionTooltip",
|
|
333
|
-
fn:
|
|
334
|
-
|
|
350
|
+
fn: f(() => [
|
|
351
|
+
g(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
335
352
|
]),
|
|
336
353
|
key: "0"
|
|
337
354
|
} : void 0,
|
|
338
355
|
t.$slots.optionPdf ? {
|
|
339
356
|
name: "optionPdf",
|
|
340
|
-
fn:
|
|
341
|
-
|
|
357
|
+
fn: f(() => [
|
|
358
|
+
g(t.$slots, "optionPdf", {}, void 0, !0)
|
|
342
359
|
]),
|
|
343
360
|
key: "1"
|
|
344
361
|
} : void 0,
|
|
345
362
|
t.$slots.optionCsv ? {
|
|
346
363
|
name: "optionCsv",
|
|
347
|
-
fn:
|
|
348
|
-
|
|
364
|
+
fn: f(() => [
|
|
365
|
+
g(t.$slots, "optionCsv", {}, void 0, !0)
|
|
349
366
|
]),
|
|
350
367
|
key: "2"
|
|
351
368
|
} : void 0,
|
|
352
369
|
t.$slots.optionImg ? {
|
|
353
370
|
name: "optionImg",
|
|
354
|
-
fn:
|
|
355
|
-
|
|
371
|
+
fn: f(() => [
|
|
372
|
+
g(t.$slots, "optionImg", {}, void 0, !0)
|
|
356
373
|
]),
|
|
357
374
|
key: "3"
|
|
358
375
|
} : void 0,
|
|
359
376
|
t.$slots.optionTable ? {
|
|
360
377
|
name: "optionTable",
|
|
361
|
-
fn:
|
|
362
|
-
|
|
378
|
+
fn: f(() => [
|
|
379
|
+
g(t.$slots, "optionTable", {}, void 0, !0)
|
|
363
380
|
]),
|
|
364
381
|
key: "4"
|
|
365
382
|
} : void 0,
|
|
366
383
|
t.$slots.optionFullscreen ? {
|
|
367
384
|
name: "optionFullscreen",
|
|
368
|
-
fn:
|
|
369
|
-
|
|
385
|
+
fn: f(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
386
|
+
g(t.$slots, "optionFullscreen", A(z({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
370
387
|
]),
|
|
371
388
|
key: "5"
|
|
389
|
+
} : void 0,
|
|
390
|
+
t.$slots.optionAnnotator ? {
|
|
391
|
+
name: "optionAnnotator",
|
|
392
|
+
fn: f(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
393
|
+
g(t.$slots, "optionAnnotator", A(z({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
394
|
+
]),
|
|
395
|
+
key: "6"
|
|
372
396
|
} : void 0
|
|
373
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) :
|
|
374
|
-
|
|
375
|
-
key:
|
|
376
|
-
xmlns: p(
|
|
377
|
-
class:
|
|
397
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
398
|
+
L.value ? (s(), u("svg", {
|
|
399
|
+
key: 3,
|
|
400
|
+
xmlns: p(Ye),
|
|
401
|
+
class: me({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
378
402
|
viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
|
|
379
|
-
style:
|
|
403
|
+
style: xe(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
380
404
|
}, [
|
|
381
|
-
|
|
382
|
-
|
|
405
|
+
ke(dt),
|
|
406
|
+
b.value.length > 0 ? (s(), u("g", ft, [
|
|
383
407
|
n("defs", null, [
|
|
384
408
|
n("linearGradient", {
|
|
385
409
|
id: `bearish_gradient_${x.value}`,
|
|
@@ -389,16 +413,16 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
389
413
|
n("stop", {
|
|
390
414
|
offset: "0%",
|
|
391
415
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
392
|
-
}, null, 8,
|
|
416
|
+
}, null, 8, bt),
|
|
393
417
|
n("stop", {
|
|
394
418
|
offset: "50%",
|
|
395
|
-
"stop-color": `${p(
|
|
396
|
-
}, null, 8,
|
|
419
|
+
"stop-color": `${p(W)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
420
|
+
}, null, 8, mt),
|
|
397
421
|
n("stop", {
|
|
398
422
|
offset: "100%",
|
|
399
|
-
"stop-color": `${p(
|
|
400
|
-
}, null, 8,
|
|
401
|
-
], 8,
|
|
423
|
+
"stop-color": `${p(W)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
424
|
+
}, null, 8, xt)
|
|
425
|
+
], 8, gt),
|
|
402
426
|
n("linearGradient", {
|
|
403
427
|
id: `bullish_gradient_${x.value}`,
|
|
404
428
|
x2: "0%",
|
|
@@ -407,18 +431,18 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
407
431
|
n("stop", {
|
|
408
432
|
offset: "0%",
|
|
409
433
|
"stop-color": e.value.style.layout.candle.colors.bullish
|
|
410
|
-
}, null, 8,
|
|
434
|
+
}, null, 8, wt),
|
|
411
435
|
n("stop", {
|
|
412
436
|
offset: "50%",
|
|
413
|
-
"stop-color": `${p(
|
|
414
|
-
}, null, 8,
|
|
437
|
+
"stop-color": `${p(W)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
438
|
+
}, null, 8, $t),
|
|
415
439
|
n("stop", {
|
|
416
440
|
offset: "100%",
|
|
417
|
-
"stop-color": `${p(
|
|
418
|
-
}, null, 8,
|
|
419
|
-
], 8,
|
|
441
|
+
"stop-color": `${p(W)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
442
|
+
}, null, 8, Ct)
|
|
443
|
+
], 8, kt)
|
|
420
444
|
]),
|
|
421
|
-
e.value.style.layout.grid.show ? (s(), u("g",
|
|
445
|
+
e.value.style.layout.grid.show ? (s(), u("g", _t, [
|
|
422
446
|
n("line", {
|
|
423
447
|
x1: i.value.left,
|
|
424
448
|
x2: i.value.left,
|
|
@@ -427,7 +451,7 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
427
451
|
stroke: e.value.style.layout.grid.stroke,
|
|
428
452
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
429
453
|
"stroke-linecap": "round"
|
|
430
|
-
}, null, 8,
|
|
454
|
+
}, null, 8, Nt),
|
|
431
455
|
n("line", {
|
|
432
456
|
x1: i.value.left,
|
|
433
457
|
x2: i.value.right,
|
|
@@ -436,11 +460,11 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
436
460
|
stroke: e.value.style.layout.grid.stroke,
|
|
437
461
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
438
462
|
"stroke-linecap": "round"
|
|
439
|
-
}, null, 8,
|
|
440
|
-
])) :
|
|
441
|
-
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g",
|
|
442
|
-
(s(!0), u(
|
|
443
|
-
l.value >=
|
|
463
|
+
}, null, 8, St)
|
|
464
|
+
])) : y("", !0),
|
|
465
|
+
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", At, [
|
|
466
|
+
(s(!0), u(T, null, F(Ae.value, (l, o) => (s(), u("g", null, [
|
|
467
|
+
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("line", {
|
|
444
468
|
key: 0,
|
|
445
469
|
x1: i.value.left,
|
|
446
470
|
x2: i.value.left - 5,
|
|
@@ -449,8 +473,8 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
449
473
|
stroke: e.value.style.layout.grid.stroke,
|
|
450
474
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
451
475
|
"stroke-linecap": "round"
|
|
452
|
-
}, null, 8,
|
|
453
|
-
l.value >=
|
|
476
|
+
}, null, 8, zt)) : y("", !0),
|
|
477
|
+
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("text", {
|
|
454
478
|
key: 1,
|
|
455
479
|
x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
456
480
|
y: l.y + d.value.yAxisFontSize / 3,
|
|
@@ -458,22 +482,22 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
458
482
|
"text-anchor": "end",
|
|
459
483
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
460
484
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
461
|
-
}, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(p(
|
|
485
|
+
}, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(p(qe)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + V(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Tt)) : y("", !0)
|
|
462
486
|
]))), 256))
|
|
463
|
-
])) :
|
|
464
|
-
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g",
|
|
465
|
-
(s(!0), u(
|
|
487
|
+
])) : y("", !0),
|
|
488
|
+
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", Ft, [
|
|
489
|
+
(s(!0), u(T, null, F(ze.value, (l, o) => (s(), u("g", null, [
|
|
466
490
|
n("text", {
|
|
467
491
|
transform: `translate(${i.value.left + r.value * o + r.value / 2}, ${i.value.bottom + d.value.xAxisFontSize * 2 + e.value.style.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
468
492
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
469
493
|
"font-size": d.value.xAxisFontSize,
|
|
470
494
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
471
495
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
472
|
-
}, V(l), 9,
|
|
496
|
+
}, V(l), 9, Lt)
|
|
473
497
|
]))), 256))
|
|
474
|
-
])) :
|
|
498
|
+
])) : y("", !0),
|
|
475
499
|
n("g", null, [
|
|
476
|
-
(s(!0), u(
|
|
500
|
+
(s(!0), u(T, null, F(b.value, (l, o) => (s(), u("g", null, [
|
|
477
501
|
n("line", {
|
|
478
502
|
x1: l.open.x,
|
|
479
503
|
x2: l.open.x,
|
|
@@ -482,22 +506,22 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
482
506
|
stroke: e.value.style.layout.wick.stroke,
|
|
483
507
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
484
508
|
"stroke-linecap": "round"
|
|
485
|
-
}, null, 8,
|
|
486
|
-
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g",
|
|
509
|
+
}, null, 8, Rt),
|
|
510
|
+
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Vt, [
|
|
487
511
|
n("circle", {
|
|
488
512
|
cx: l.high.x,
|
|
489
513
|
cy: l.high.y,
|
|
490
514
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
491
515
|
fill: e.value.style.layout.wick.extremity.color
|
|
492
|
-
}, null, 8,
|
|
516
|
+
}, null, 8, It),
|
|
493
517
|
n("circle", {
|
|
494
518
|
cx: l.low.x,
|
|
495
519
|
cy: l.low.y,
|
|
496
520
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
497
521
|
fill: e.value.style.layout.wick.extremity.color
|
|
498
|
-
}, null, 8,
|
|
499
|
-
])) :
|
|
500
|
-
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g",
|
|
522
|
+
}, null, 8, Ot)
|
|
523
|
+
])) : y("", !0),
|
|
524
|
+
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Pt, [
|
|
501
525
|
n("line", {
|
|
502
526
|
x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
503
527
|
x2: l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
@@ -506,7 +530,7 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
506
530
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
507
531
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
508
532
|
"stroke-linecap": "round"
|
|
509
|
-
}, null, 8,
|
|
533
|
+
}, null, 8, Bt),
|
|
510
534
|
n("line", {
|
|
511
535
|
x1: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
512
536
|
x2: l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
@@ -515,12 +539,12 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
515
539
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
516
540
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
517
541
|
"stroke-linecap": "round"
|
|
518
|
-
}, null, 8,
|
|
519
|
-
])) :
|
|
542
|
+
}, null, 8, Mt)
|
|
543
|
+
])) : y("", !0)
|
|
520
544
|
]))), 256))
|
|
521
545
|
]),
|
|
522
546
|
n("g", null, [
|
|
523
|
-
(s(!0), u(
|
|
547
|
+
(s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
|
|
524
548
|
x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
525
549
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
526
550
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
@@ -528,8 +552,8 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
528
552
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
529
553
|
rx: e.value.style.layout.candle.borderRadius,
|
|
530
554
|
stroke: "none"
|
|
531
|
-
}, null, 8,
|
|
532
|
-
(s(!0), u(
|
|
555
|
+
}, null, 8, Ut))), 256)),
|
|
556
|
+
(s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
|
|
533
557
|
x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
534
558
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
535
559
|
height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
|
|
@@ -540,29 +564,29 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
540
564
|
"stroke-width": e.value.style.layout.candle.strokeWidth,
|
|
541
565
|
"stroke-linecap": "round",
|
|
542
566
|
"stroke-linejoin": "round"
|
|
543
|
-
}, null, 8,
|
|
567
|
+
}, null, 8, Et))), 256))
|
|
544
568
|
]),
|
|
545
569
|
n("g", null, [
|
|
546
|
-
(s(!0), u(
|
|
570
|
+
(s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
|
|
547
571
|
x: i.value.left + o * r.value,
|
|
548
572
|
y: i.value.top,
|
|
549
573
|
height: i.value.height <= 0 ? 1e-4 : i.value.height,
|
|
550
574
|
width: r.value <= 0 ? 1e-4 : r.value,
|
|
551
|
-
fill:
|
|
552
|
-
onMouseover: (
|
|
553
|
-
onMouseleave: a[0] || (a[0] = (
|
|
554
|
-
|
|
575
|
+
fill: j.value === o ? p(Je)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
|
|
576
|
+
onMouseover: (m) => Te(o, l),
|
|
577
|
+
onMouseleave: a[0] || (a[0] = (m) => {
|
|
578
|
+
j.value = void 0, G.value = !1;
|
|
555
579
|
})
|
|
556
|
-
}, null, 40,
|
|
580
|
+
}, null, 40, Dt))), 256))
|
|
557
581
|
])
|
|
558
|
-
])) :
|
|
559
|
-
|
|
560
|
-
], 14,
|
|
561
|
-
t.$slots.watermark ? (s(), u("div",
|
|
562
|
-
|
|
563
|
-
])) :
|
|
564
|
-
|
|
565
|
-
key:
|
|
582
|
+
])) : y("", !0),
|
|
583
|
+
g(t.$slots, "svg", { svg: d.value }, void 0, !0)
|
|
584
|
+
], 14, pt)) : y("", !0),
|
|
585
|
+
t.$slots.watermark ? (s(), u("div", Wt, [
|
|
586
|
+
g(t.$slots, "watermark", A(z({ isPrinting: p(se) || p(ue) })), void 0, !0)
|
|
587
|
+
])) : y("", !0),
|
|
588
|
+
L.value ? y("", !0) : (s(), _(nt, {
|
|
589
|
+
key: 5,
|
|
566
590
|
config: {
|
|
567
591
|
type: "candlesticks",
|
|
568
592
|
style: {
|
|
@@ -578,46 +602,46 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
578
602
|
}
|
|
579
603
|
}
|
|
580
604
|
}, null, 8, ["config"])),
|
|
581
|
-
e.value.style.zoom.show &&
|
|
582
|
-
key:
|
|
605
|
+
e.value.style.zoom.show && L.value ? (s(), u("div", {
|
|
606
|
+
key: 6,
|
|
583
607
|
ref_key: "chartSlicer",
|
|
584
|
-
ref:
|
|
608
|
+
ref: ee
|
|
585
609
|
}, [
|
|
586
|
-
(s(),
|
|
610
|
+
(s(), _(rt, {
|
|
587
611
|
key: `slicer_${O.value}`,
|
|
588
612
|
background: e.value.style.zoom.color,
|
|
589
613
|
borderColor: e.value.style.backgroundColor,
|
|
590
614
|
fontSize: e.value.style.zoom.fontSize,
|
|
591
615
|
useResetSlot: e.value.style.zoom.useResetSlot,
|
|
592
|
-
labelLeft: $.dataset[
|
|
593
|
-
labelRight: $.dataset[
|
|
616
|
+
labelLeft: $.dataset[c.value.start] ? $.dataset[c.value.start][0] : $.dataset[0][0],
|
|
617
|
+
labelRight: $.dataset[c.value.end - 1] ? $.dataset[c.value.end - 1][0] : $.dataset.at(-1)[0],
|
|
594
618
|
textColor: e.value.style.color,
|
|
595
619
|
inputColor: e.value.style.zoom.color,
|
|
596
620
|
selectColor: e.value.style.zoom.highlightColor,
|
|
597
|
-
max:
|
|
621
|
+
max: H.value,
|
|
598
622
|
min: 0,
|
|
599
|
-
valueStart:
|
|
600
|
-
valueEnd:
|
|
601
|
-
start:
|
|
602
|
-
"onUpdate:start": a[1] || (a[1] = (l) =>
|
|
603
|
-
end:
|
|
604
|
-
"onUpdate:end": a[2] || (a[2] = (l) =>
|
|
605
|
-
onReset:
|
|
623
|
+
valueStart: c.value.start,
|
|
624
|
+
valueEnd: c.value.end,
|
|
625
|
+
start: c.value.start,
|
|
626
|
+
"onUpdate:start": a[1] || (a[1] = (l) => c.value.start = l),
|
|
627
|
+
end: c.value.end,
|
|
628
|
+
"onUpdate:end": a[2] || (a[2] = (l) => c.value.end = l),
|
|
629
|
+
onReset: Fe
|
|
606
630
|
}, {
|
|
607
|
-
"reset-action":
|
|
608
|
-
|
|
631
|
+
"reset-action": f(({ reset: l }) => [
|
|
632
|
+
g(t.$slots, "reset-action", A(z({ reset: l })), void 0, !0)
|
|
609
633
|
]),
|
|
610
634
|
_: 3
|
|
611
635
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"]))
|
|
612
|
-
], 512)) :
|
|
636
|
+
], 512)) : y("", !0),
|
|
613
637
|
n("div", {
|
|
614
638
|
ref_key: "chartLegend",
|
|
615
|
-
ref:
|
|
639
|
+
ref: Z
|
|
616
640
|
}, [
|
|
617
|
-
|
|
641
|
+
g(t.$slots, "legend", { legend: b.value }, void 0, !0)
|
|
618
642
|
], 512),
|
|
619
|
-
|
|
620
|
-
show: w.value.showTooltip &&
|
|
643
|
+
ke(ut, {
|
|
644
|
+
show: w.value.showTooltip && G.value,
|
|
621
645
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
622
646
|
color: e.value.style.tooltip.color,
|
|
623
647
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -627,20 +651,20 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
627
651
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
628
652
|
position: e.value.style.tooltip.position,
|
|
629
653
|
offsetY: e.value.style.tooltip.offsetY,
|
|
630
|
-
parent:
|
|
631
|
-
content:
|
|
654
|
+
parent: S.value,
|
|
655
|
+
content: X.value,
|
|
632
656
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
633
657
|
}, {
|
|
634
|
-
"tooltip-before":
|
|
635
|
-
|
|
658
|
+
"tooltip-before": f(() => [
|
|
659
|
+
g(t.$slots, "tooltip-before", A(z({ ...q.value })), void 0, !0)
|
|
636
660
|
]),
|
|
637
|
-
"tooltip-after":
|
|
638
|
-
|
|
661
|
+
"tooltip-after": f(() => [
|
|
662
|
+
g(t.$slots, "tooltip-after", A(z({ ...q.value })), void 0, !0)
|
|
639
663
|
]),
|
|
640
664
|
_: 3
|
|
641
665
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
642
|
-
|
|
643
|
-
key:
|
|
666
|
+
L.value ? (s(), _(vt, {
|
|
667
|
+
key: 7,
|
|
644
668
|
hideDetails: "",
|
|
645
669
|
config: {
|
|
646
670
|
open: w.value.showTable,
|
|
@@ -655,9 +679,9 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
655
679
|
}
|
|
656
680
|
}
|
|
657
681
|
}, {
|
|
658
|
-
content:
|
|
659
|
-
(s(),
|
|
660
|
-
key: `table_${
|
|
682
|
+
content: f(() => [
|
|
683
|
+
(s(), _(it, {
|
|
684
|
+
key: `table_${te.value}`,
|
|
661
685
|
colNames: M.value.colNames,
|
|
662
686
|
head: M.value.head,
|
|
663
687
|
body: M.value.body,
|
|
@@ -665,20 +689,20 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
|
|
|
665
689
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
666
690
|
onClose: a[3] || (a[3] = (l) => w.value.showTable = !1)
|
|
667
691
|
}, {
|
|
668
|
-
th:
|
|
669
|
-
|
|
692
|
+
th: f(({ th: l }) => [
|
|
693
|
+
Ee(V(l), 1)
|
|
670
694
|
]),
|
|
671
|
-
td:
|
|
672
|
-
n("div", { innerHTML: l }, null, 8,
|
|
695
|
+
td: f(({ td: l }) => [
|
|
696
|
+
n("div", { innerHTML: l }, null, 8, Gt)
|
|
673
697
|
]),
|
|
674
698
|
_: 1
|
|
675
699
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
676
700
|
]),
|
|
677
701
|
_: 1
|
|
678
|
-
}, 8, ["config"])) :
|
|
679
|
-
], 14,
|
|
702
|
+
}, 8, ["config"])) : y("", !0)
|
|
703
|
+
], 14, ht));
|
|
680
704
|
}
|
|
681
|
-
},
|
|
705
|
+
}, il = /* @__PURE__ */ ct(Xt, [["__scopeId", "data-v-3c46f286"]]);
|
|
682
706
|
export {
|
|
683
|
-
|
|
707
|
+
il as default
|
|
684
708
|
};
|