vue-data-ui 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-JuK2z9IB.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DLTRnzcG.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BbvG1AlW.js} +1 -1
- package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-uALK38Ov.cjs} +1 -1
- package/dist/{DataTable-DJzhv96s.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DTk7C4Pr.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-YZ7Hz3o1.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-CYF2gpXG.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-CDFVOo7X.cjs} +1 -1
- package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-DAZYA8Ew.js} +2 -2
- package/dist/{Shape-BpPn4eWR.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-X2F-QV_B.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-CU7dRZR0.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CL0tP5a5.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-Co5jI5ed.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-5VmBwT4i.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DnVHQ2xI.js → index-Bya_q1J-.js} +4 -1
- package/dist/index-eFox7weK.cjs +9 -0
- 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-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-CSRFnDBU.cjs} +1 -1
- package/dist/{usePrinter-BEeNAqS5.js → usePrinter-CiHd1FwD.js} +1 -1
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-BTtxyUc3.cjs} +1 -1
- package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-Bduq4f2p.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-bD_n6qL_.cjs → vue-ui-3d-bar-B-P7PMHs.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BUEq_VdY.js} +41 -34
- package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CH72tAMb.js} +163 -154
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-CtP3MlUT.js} +167 -136
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-DDil13a0.js} +173 -164
- package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-BczSJF6S.js} +96 -89
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-DUcp-fat.js} +244 -235
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-C_YMbTwq.js} +125 -118
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-Buwngz_V.js} +192 -183
- package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Bz3c0K5P.js} +78 -71
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-Cjh0XGTX.js} +49 -42
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-B1UvGkQa.js} +160 -151
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-C-poazUw.js} +110 -103
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-BaJpDZND.js} +78 -71
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-BUNDwsEI.js} +132 -125
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-mDy2hXa6.js} +198 -189
- package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-DwFG3HAI.js} +248 -239
- package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-ImET_zeo.js} +233 -224
- package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BeveRihK.js} +188 -179
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-DAhllTfa.js} +343 -334
- package/dist/{vue-ui-quick-chart-gG5Ar8-i.cjs → vue-ui-quick-chart-DgFDBzjS.cjs} +2 -2
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-BllatzRa.js} +174 -165
- package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/{vue-ui-relation-circle-I45_Sk5l.js → vue-ui-relation-circle-xv2l5Be9.js} +142 -133
- package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-B-ZcX6y1.js} +165 -156
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-DG43ck1g.js} +269 -260
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
- package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
- package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
- package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-ByOuJSdM.js} +205 -196
- package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-wun4S3C0.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-CMD0MSqY.js} +218 -209
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
- package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-Pq4PvSIP.js} +67 -60
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/{vue-ui-tiremarks-vdPQYiDp.js → vue-ui-tiremarks-CU9HJIqf.js} +84 -77
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-DY-lRAhC.js} +211 -202
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-DwxpB46q.js → vue-ui-vertical-bar-CtnIKsM1.js} +359 -350
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-reOsx-gJ.js} +177 -168
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/{vue-ui-wheel-Bbih5sSL.js → vue-ui-wheel-kYxny3vn.js} +95 -86
- package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-DbMqrHAf.js} +192 -183
- package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
- package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-B0HTR7OV.js} +255 -246
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-rbACig0h.js} +131 -122
- 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-radar-CAaHjDO7.cjs +0 -1
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
- 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-treemap-Cv0TSFQa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
- 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
|
|
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
|
|
1
|
+
import { computed as p, ref as v, watch as me, onMounted as Me, onBeforeUnmount as Ue, openBlock as s, createElementBlock as u, normalizeClass as xe, normalizeStyle as ke, createBlock as _, createCommentVNode as y, unref as f, createSlots as Ee, withCtx as g, renderSlot as h, normalizeProps as A, guardReactiveProps as z, createVNode as we, createElementVNode as n, Fragment as T, renderList as F, toDisplayString as V, createTextVNode as De, nextTick as We } from "vue";
|
|
2
|
+
import { u as Ge, c as Xe, t as je, o as He, e as N, C as Ye, v as I, X as qe, w as W, D as Je, s as Ke, x as Qe, y as Ze, q as et, r as tt, E as $e } from "./index-Bya_q1J-.js";
|
|
3
|
+
import { t as lt, u as ot } from "./useResponsive-BY8tgM1n.js";
|
|
4
|
+
import { _ as at } from "./Title-C5pIfQAz.js";
|
|
5
|
+
import { u as st, U as ut } from "./usePrinter-CiHd1FwD.js";
|
|
6
|
+
import { _ as it } from "./Tooltip-Cz24YLfw.js";
|
|
7
|
+
import { D as nt } from "./DataTable-DYqC2pqu.js";
|
|
8
|
+
import rt from "./vue-ui-skeleton-BYssP0K4.js";
|
|
9
|
+
import { S as vt } from "./Slicer-TfpN2Cr4.js";
|
|
10
|
+
import dt from "./vue-ui-accordion-DfUfL2dI.js";
|
|
11
|
+
import { u as Ce } from "./useNestedProp-B33hazbH.js";
|
|
12
|
+
import { _ as yt } from "./PackageVersion-VkaUzgmt.js";
|
|
13
|
+
import { P as ct } from "./PenAndPaper-DAZYA8Ew.js";
|
|
14
|
+
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt = ["stop-color"], xt = ["stop-color"], kt = ["stop-color"], wt = ["id"], $t = ["stop-color"], Ct = ["stop-color"], _t = ["stop-color"], Nt = { key: 0 }, St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = { key: 1 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Lt = { key: 2 }, Rt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = { key: 0 }, Ot = ["cx", "cy", "r", "fill"], Pt = ["cx", "cy", "r", "fill"], Bt = { key: 1 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x", "y", "height", "width", "fill", "rx"], Dt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Wt = ["x", "y", "height", "width", "fill", "onMouseover"], Gt = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
18
|
+
}, Xt = ["innerHTML"], jt = {
|
|
19
19
|
__name: "vue-ui-candlestick",
|
|
20
20
|
props: {
|
|
21
21
|
config: {
|
|
@@ -31,26 +31,26 @@ 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: _e }) {
|
|
35
|
+
const k = $, { vue_ui_candlestick: Ne } = Ge(), L = p(() => !!k.dataset && k.dataset.length), x = v(Xe()), Se = 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), te = v(null), O = v(0), le = v(0), oe = v(0), e = p({
|
|
36
|
+
get: () => ae(),
|
|
37
37
|
set: (t) => t
|
|
38
38
|
});
|
|
39
|
-
function
|
|
40
|
-
const t =
|
|
39
|
+
function ae() {
|
|
40
|
+
const t = Ce({
|
|
41
41
|
userConfig: k.config,
|
|
42
|
-
defaultConfig:
|
|
42
|
+
defaultConfig: Ne
|
|
43
43
|
});
|
|
44
44
|
return t.theme ? {
|
|
45
|
-
|
|
46
|
-
userConfig:
|
|
45
|
+
...Ce({
|
|
46
|
+
userConfig: je.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 }),
|
|
51
|
+
me(() => k.config, (t) => {
|
|
52
|
+
e.value = ae(), se(), O.value += 1, oe.value += 1, le.value += 1;
|
|
53
|
+
}, { deep: !0 }), me(() => k.dataset, (t) => {
|
|
54
54
|
c.value.start = 0, c.value.end = t.length, O.value += 1;
|
|
55
55
|
}, { deep: !0 });
|
|
56
56
|
const d = v({
|
|
@@ -59,28 +59,29 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
59
59
|
xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
60
60
|
yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
61
61
|
}), P = v(null);
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
Me(() => {
|
|
63
|
+
se();
|
|
64
64
|
});
|
|
65
|
-
function
|
|
66
|
-
if (
|
|
65
|
+
function se() {
|
|
66
|
+
if (He(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 = lt(() => {
|
|
71
|
+
const { width: a, height: l } = ot({
|
|
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
|
|
76
77
|
});
|
|
77
|
-
d.value.width = a, d.value.height = l, d.value.xAxisFontSize =
|
|
78
|
+
d.value.width = a, d.value.height = l, d.value.xAxisFontSize = $e({
|
|
78
79
|
relator: Math.min(a, l),
|
|
79
80
|
adjuster: e.value.style.width,
|
|
80
81
|
source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
81
82
|
threshold: 6,
|
|
82
83
|
fallback: 6
|
|
83
|
-
}), d.value.yAxisFontSize =
|
|
84
|
+
}), d.value.yAxisFontSize = $e({
|
|
84
85
|
relator: Math.min(a, l),
|
|
85
86
|
adjuster: e.value.style.width,
|
|
86
87
|
source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
@@ -91,16 +92,16 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
91
92
|
P.value = new ResizeObserver(t), P.value.observe(S.value.parentNode);
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
|
-
|
|
95
|
+
Ue(() => {
|
|
95
96
|
P.value && P.value.disconnect();
|
|
96
97
|
});
|
|
97
|
-
const { isPrinting:
|
|
98
|
+
const { isPrinting: ue, isImaging: ie, generatePdf: ne, generateImage: re } = st({
|
|
98
99
|
elementId: `vue-ui-candlestick_${x.value}`,
|
|
99
100
|
fileName: e.value.style.title.text || "vue-ui-candlestick"
|
|
100
101
|
}), w = v({
|
|
101
102
|
showTable: e.value.table.show,
|
|
102
103
|
showTooltip: e.value.style.tooltip.show
|
|
103
|
-
}), i =
|
|
104
|
+
}), i = p(() => {
|
|
104
105
|
const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding;
|
|
105
106
|
return {
|
|
106
107
|
top: t,
|
|
@@ -110,10 +111,10 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
110
111
|
width: d.value.width - o - a,
|
|
111
112
|
height: d.value.height - t - l
|
|
112
113
|
};
|
|
113
|
-
}), H =
|
|
114
|
+
}), H = p(() => k.dataset.length), c = v({
|
|
114
115
|
start: 0,
|
|
115
116
|
end: H.value
|
|
116
|
-
}),
|
|
117
|
+
}), ve = p(() => k.dataset.slice(c.value.start, c.value.end)), Y = p(() => (k.dataset.forEach((t, a) => {
|
|
117
118
|
[null, void 0].includes(t[0]) && N({
|
|
118
119
|
componentName: "VueUiCandlestick",
|
|
119
120
|
type: "datasetAttribute",
|
|
@@ -145,17 +146,17 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
145
146
|
property: "volume (index 5)",
|
|
146
147
|
index: a
|
|
147
148
|
});
|
|
148
|
-
}),
|
|
149
|
+
}), ve.value.map((t) => ({
|
|
149
150
|
period: t[0],
|
|
150
151
|
open: t[1],
|
|
151
152
|
high: t[2],
|
|
152
153
|
low: t[3],
|
|
153
154
|
last: t[4],
|
|
154
155
|
volume: t[5]
|
|
155
|
-
})))), r =
|
|
156
|
+
})))), r = p(() => i.value.width / ve.value.length), de = p(() => ({
|
|
156
157
|
max: Math.max(...Y.value.map((t) => t.high)),
|
|
157
158
|
min: 0
|
|
158
|
-
})), C =
|
|
159
|
+
})), C = p(() => Ye(de.value.min, de.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
159
160
|
function B(t, a) {
|
|
160
161
|
return {
|
|
161
162
|
...t,
|
|
@@ -164,7 +165,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
164
165
|
value: I(t)
|
|
165
166
|
};
|
|
166
167
|
}
|
|
167
|
-
const b =
|
|
168
|
+
const b = p(() => Y.value.map((t, a) => {
|
|
168
169
|
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;
|
|
169
170
|
return {
|
|
170
171
|
period: t.period,
|
|
@@ -176,14 +177,14 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
176
177
|
isBullish: D
|
|
177
178
|
};
|
|
178
179
|
}));
|
|
179
|
-
function
|
|
180
|
+
function Ae(t) {
|
|
180
181
|
return I(t / C.value.max);
|
|
181
182
|
}
|
|
182
|
-
const
|
|
183
|
-
y: i.value.bottom - i.value.height *
|
|
183
|
+
const ze = p(() => C.value.ticks.map((t) => ({
|
|
184
|
+
y: i.value.bottom - i.value.height * Ae(t),
|
|
184
185
|
value: I(t)
|
|
185
|
-
}))),
|
|
186
|
-
function
|
|
186
|
+
}))), Te = p(() => Y.value.map((t) => t.period)), q = v(null);
|
|
187
|
+
function Fe(t, a) {
|
|
187
188
|
j.value = t, q.value = {
|
|
188
189
|
datapoint: a,
|
|
189
190
|
seriesIndex: t,
|
|
@@ -191,7 +192,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
191
192
|
config: e.value
|
|
192
193
|
};
|
|
193
194
|
const l = e.value.style.tooltip.customFormat;
|
|
194
|
-
if (
|
|
195
|
+
if (Qe(l) && Ze(() => l({
|
|
195
196
|
seriesIndex: t,
|
|
196
197
|
datapoint: a,
|
|
197
198
|
series: b.value,
|
|
@@ -205,20 +206,20 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
205
206
|
});
|
|
206
207
|
else if (e.value.style.tooltip.show) {
|
|
207
208
|
let o = "";
|
|
208
|
-
const { period: m, open: E, high: D, low:
|
|
209
|
+
const { period: m, open: E, high: D, low: pe, last: fe, volume: ge, isBullish: be } = b.value[t], { period: Ht, open: Ve, high: Ie, low: Oe, last: Pe, volume: Be } = e.value.translations;
|
|
209
210
|
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 ?
|
|
211
|
+
fill="${e.value.style.layout.candle.gradient.show ? be ? `url(#bullish_gradient_${x.value})` : `url(#bearish_gradient_${x.value})` : be ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${m}</div>`, o += `${Be} : <b>${isNaN(ge) ? "-" : Number(ge.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>${Ve}: <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>${Ie}: <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>${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>${Pe}: <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>", X.value = `<div style="text-align:right">${o}</div>`;
|
|
211
212
|
}
|
|
212
213
|
G.value = !0;
|
|
213
214
|
}
|
|
214
|
-
function
|
|
215
|
+
function Le() {
|
|
215
216
|
c.value = {
|
|
216
217
|
start: 0,
|
|
217
218
|
end: H.value
|
|
218
219
|
}, O.value += 1;
|
|
219
220
|
}
|
|
220
|
-
function
|
|
221
|
-
|
|
221
|
+
function ye() {
|
|
222
|
+
We(() => {
|
|
222
223
|
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
224
|
m.period,
|
|
224
225
|
m.open.value,
|
|
@@ -226,11 +227,11 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
226
227
|
m.low.value,
|
|
227
228
|
m.last.value,
|
|
228
229
|
m.volume
|
|
229
|
-
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o =
|
|
230
|
-
|
|
230
|
+
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o = et(l);
|
|
231
|
+
tt({ csvContent: o, title: e.value.style.title.text || "vue-ui-candlestick" });
|
|
231
232
|
});
|
|
232
233
|
}
|
|
233
|
-
const M =
|
|
234
|
+
const M = p(() => {
|
|
234
235
|
const t = b.value.map((o) => [
|
|
235
236
|
`<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}`,
|
|
236
237
|
`${e.value.table.td.prefix} ${isNaN(o.open.value) ? "-" : Number(o.open.value.toFixed(e.value.table.td.roundingValue)).toLocaleString()} ${e.value.table.td.suffix}`,
|
|
@@ -260,34 +261,34 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
260
261
|
];
|
|
261
262
|
return { head: l, body: t, config: a, colNames: l };
|
|
262
263
|
}), R = v(!1);
|
|
263
|
-
function
|
|
264
|
+
function Re(t) {
|
|
264
265
|
R.value = t, K.value += 1;
|
|
265
266
|
}
|
|
266
|
-
function
|
|
267
|
+
function ce() {
|
|
267
268
|
w.value.showTable = !w.value.showTable;
|
|
268
269
|
}
|
|
269
|
-
function
|
|
270
|
+
function he() {
|
|
270
271
|
w.value.showTooltip = !w.value.showTooltip;
|
|
271
272
|
}
|
|
272
273
|
const U = v(!1);
|
|
273
274
|
function J() {
|
|
274
275
|
U.value = !U.value;
|
|
275
276
|
}
|
|
276
|
-
return
|
|
277
|
-
generatePdf:
|
|
278
|
-
generateCsv:
|
|
279
|
-
generateImage:
|
|
280
|
-
toggleTable:
|
|
281
|
-
toggleTooltip:
|
|
277
|
+
return _e({
|
|
278
|
+
generatePdf: ne,
|
|
279
|
+
generateCsv: ye,
|
|
280
|
+
generateImage: re,
|
|
281
|
+
toggleTable: ce,
|
|
282
|
+
toggleTooltip: he,
|
|
282
283
|
toggleAnnotator: J
|
|
283
284
|
}), (t, a) => (s(), u("div", {
|
|
284
285
|
ref_key: "candlestickChart",
|
|
285
286
|
ref: S,
|
|
286
|
-
class:
|
|
287
|
-
style:
|
|
287
|
+
class: xe(`vue-ui-candlestick ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
288
|
+
style: ke(`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%" : ""}`),
|
|
288
289
|
id: `vue-ui-candlestick_${x.value}`
|
|
289
290
|
}, [
|
|
290
|
-
e.value.userOptions.buttons.annotator ? (s(), _(
|
|
291
|
+
e.value.userOptions.buttons.annotator ? (s(), _(ct, {
|
|
291
292
|
key: 0,
|
|
292
293
|
parent: S.value,
|
|
293
294
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -301,8 +302,8 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
301
302
|
ref: Q,
|
|
302
303
|
style: "width:100%;background:transparent"
|
|
303
304
|
}, [
|
|
304
|
-
(s(), _(
|
|
305
|
-
key: `title_${
|
|
305
|
+
(s(), _(at, {
|
|
306
|
+
key: `title_${oe.value}`,
|
|
306
307
|
config: {
|
|
307
308
|
title: {
|
|
308
309
|
cy: "candlestick-div-title",
|
|
@@ -315,14 +316,14 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
315
316
|
}
|
|
316
317
|
}, null, 8, ["config"]))
|
|
317
318
|
], 512)) : y("", !0),
|
|
318
|
-
e.value.userOptions.show && L.value ? (s(), _(
|
|
319
|
+
e.value.userOptions.show && L.value ? (s(), _(ut, {
|
|
319
320
|
ref_key: "details",
|
|
320
|
-
ref:
|
|
321
|
+
ref: Se,
|
|
321
322
|
key: `user_options_${K.value}`,
|
|
322
323
|
backgroundColor: e.value.style.backgroundColor,
|
|
323
324
|
color: e.value.style.color,
|
|
324
|
-
isImaging:
|
|
325
|
-
isPrinting:
|
|
325
|
+
isImaging: f(ie),
|
|
326
|
+
isPrinting: f(ue),
|
|
326
327
|
uid: x.value,
|
|
327
328
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
328
329
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -337,73 +338,73 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
337
338
|
position: e.value.userOptions.position,
|
|
338
339
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
339
340
|
isAnnotation: U.value,
|
|
340
|
-
onToggleFullscreen:
|
|
341
|
-
onGeneratePdf:
|
|
342
|
-
onGenerateCsv:
|
|
343
|
-
onGenerateImage:
|
|
344
|
-
onToggleTable:
|
|
345
|
-
onToggleTooltip:
|
|
341
|
+
onToggleFullscreen: Re,
|
|
342
|
+
onGeneratePdf: f(ne),
|
|
343
|
+
onGenerateCsv: ye,
|
|
344
|
+
onGenerateImage: f(re),
|
|
345
|
+
onToggleTable: ce,
|
|
346
|
+
onToggleTooltip: he,
|
|
346
347
|
onToggleAnnotator: J
|
|
347
|
-
},
|
|
348
|
+
}, Ee({ _: 2 }, [
|
|
348
349
|
t.$slots.optionTooltip ? {
|
|
349
350
|
name: "optionTooltip",
|
|
350
|
-
fn:
|
|
351
|
-
|
|
351
|
+
fn: g(() => [
|
|
352
|
+
h(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
352
353
|
]),
|
|
353
354
|
key: "0"
|
|
354
355
|
} : void 0,
|
|
355
356
|
t.$slots.optionPdf ? {
|
|
356
357
|
name: "optionPdf",
|
|
357
|
-
fn:
|
|
358
|
-
|
|
358
|
+
fn: g(() => [
|
|
359
|
+
h(t.$slots, "optionPdf", {}, void 0, !0)
|
|
359
360
|
]),
|
|
360
361
|
key: "1"
|
|
361
362
|
} : void 0,
|
|
362
363
|
t.$slots.optionCsv ? {
|
|
363
364
|
name: "optionCsv",
|
|
364
|
-
fn:
|
|
365
|
-
|
|
365
|
+
fn: g(() => [
|
|
366
|
+
h(t.$slots, "optionCsv", {}, void 0, !0)
|
|
366
367
|
]),
|
|
367
368
|
key: "2"
|
|
368
369
|
} : void 0,
|
|
369
370
|
t.$slots.optionImg ? {
|
|
370
371
|
name: "optionImg",
|
|
371
|
-
fn:
|
|
372
|
-
|
|
372
|
+
fn: g(() => [
|
|
373
|
+
h(t.$slots, "optionImg", {}, void 0, !0)
|
|
373
374
|
]),
|
|
374
375
|
key: "3"
|
|
375
376
|
} : void 0,
|
|
376
377
|
t.$slots.optionTable ? {
|
|
377
378
|
name: "optionTable",
|
|
378
|
-
fn:
|
|
379
|
-
|
|
379
|
+
fn: g(() => [
|
|
380
|
+
h(t.$slots, "optionTable", {}, void 0, !0)
|
|
380
381
|
]),
|
|
381
382
|
key: "4"
|
|
382
383
|
} : void 0,
|
|
383
384
|
t.$slots.optionFullscreen ? {
|
|
384
385
|
name: "optionFullscreen",
|
|
385
|
-
fn:
|
|
386
|
-
|
|
386
|
+
fn: g(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
387
|
+
h(t.$slots, "optionFullscreen", A(z({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
387
388
|
]),
|
|
388
389
|
key: "5"
|
|
389
390
|
} : void 0,
|
|
390
391
|
t.$slots.optionAnnotator ? {
|
|
391
392
|
name: "optionAnnotator",
|
|
392
|
-
fn:
|
|
393
|
-
|
|
393
|
+
fn: g(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
394
|
+
h(t.$slots, "optionAnnotator", A(z({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
394
395
|
]),
|
|
395
396
|
key: "6"
|
|
396
397
|
} : void 0
|
|
397
398
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
398
399
|
L.value ? (s(), u("svg", {
|
|
399
400
|
key: 3,
|
|
400
|
-
xmlns:
|
|
401
|
-
class:
|
|
401
|
+
xmlns: f(qe),
|
|
402
|
+
class: xe({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
402
403
|
viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
|
|
403
|
-
style:
|
|
404
|
+
style: ke(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
404
405
|
}, [
|
|
405
|
-
|
|
406
|
-
b.value.length > 0 ? (s(), u("g",
|
|
406
|
+
we(yt),
|
|
407
|
+
b.value.length > 0 ? (s(), u("g", gt, [
|
|
407
408
|
n("defs", null, [
|
|
408
409
|
n("linearGradient", {
|
|
409
410
|
id: `bearish_gradient_${x.value}`,
|
|
@@ -413,16 +414,16 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
413
414
|
n("stop", {
|
|
414
415
|
offset: "0%",
|
|
415
416
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
416
|
-
}, null, 8,
|
|
417
|
+
}, null, 8, mt),
|
|
417
418
|
n("stop", {
|
|
418
419
|
offset: "50%",
|
|
419
|
-
"stop-color": `${
|
|
420
|
-
}, null, 8,
|
|
420
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
421
|
+
}, null, 8, xt),
|
|
421
422
|
n("stop", {
|
|
422
423
|
offset: "100%",
|
|
423
|
-
"stop-color": `${
|
|
424
|
-
}, null, 8,
|
|
425
|
-
], 8,
|
|
424
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
425
|
+
}, null, 8, kt)
|
|
426
|
+
], 8, bt),
|
|
426
427
|
n("linearGradient", {
|
|
427
428
|
id: `bullish_gradient_${x.value}`,
|
|
428
429
|
x2: "0%",
|
|
@@ -431,18 +432,18 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
431
432
|
n("stop", {
|
|
432
433
|
offset: "0%",
|
|
433
434
|
"stop-color": e.value.style.layout.candle.colors.bullish
|
|
434
|
-
}, null, 8,
|
|
435
|
+
}, null, 8, $t),
|
|
435
436
|
n("stop", {
|
|
436
437
|
offset: "50%",
|
|
437
|
-
"stop-color": `${
|
|
438
|
-
}, null, 8,
|
|
438
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
439
|
+
}, null, 8, Ct),
|
|
439
440
|
n("stop", {
|
|
440
441
|
offset: "100%",
|
|
441
|
-
"stop-color": `${
|
|
442
|
-
}, null, 8,
|
|
443
|
-
], 8,
|
|
442
|
+
"stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
443
|
+
}, null, 8, _t)
|
|
444
|
+
], 8, wt)
|
|
444
445
|
]),
|
|
445
|
-
e.value.style.layout.grid.show ? (s(), u("g",
|
|
446
|
+
e.value.style.layout.grid.show ? (s(), u("g", Nt, [
|
|
446
447
|
n("line", {
|
|
447
448
|
x1: i.value.left,
|
|
448
449
|
x2: i.value.left,
|
|
@@ -451,7 +452,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
451
452
|
stroke: e.value.style.layout.grid.stroke,
|
|
452
453
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
453
454
|
"stroke-linecap": "round"
|
|
454
|
-
}, null, 8,
|
|
455
|
+
}, null, 8, St),
|
|
455
456
|
n("line", {
|
|
456
457
|
x1: i.value.left,
|
|
457
458
|
x2: i.value.right,
|
|
@@ -460,10 +461,10 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
460
461
|
stroke: e.value.style.layout.grid.stroke,
|
|
461
462
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
462
463
|
"stroke-linecap": "round"
|
|
463
|
-
}, null, 8,
|
|
464
|
+
}, null, 8, At)
|
|
464
465
|
])) : y("", !0),
|
|
465
|
-
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g",
|
|
466
|
-
(s(!0), u(T, null, F(
|
|
466
|
+
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", zt, [
|
|
467
|
+
(s(!0), u(T, null, F(ze.value, (l, o) => (s(), u("g", null, [
|
|
467
468
|
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("line", {
|
|
468
469
|
key: 0,
|
|
469
470
|
x1: i.value.left,
|
|
@@ -473,7 +474,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
473
474
|
stroke: e.value.style.layout.grid.stroke,
|
|
474
475
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
475
476
|
"stroke-linecap": "round"
|
|
476
|
-
}, null, 8,
|
|
477
|
+
}, null, 8, Tt)) : y("", !0),
|
|
477
478
|
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("text", {
|
|
478
479
|
key: 1,
|
|
479
480
|
x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
@@ -482,18 +483,18 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
482
483
|
"text-anchor": "end",
|
|
483
484
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
484
485
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
485
|
-
}, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(
|
|
486
|
+
}, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(f(Je)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + V(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Ft)) : y("", !0)
|
|
486
487
|
]))), 256))
|
|
487
488
|
])) : y("", !0),
|
|
488
|
-
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g",
|
|
489
|
-
(s(!0), u(T, null, F(
|
|
489
|
+
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", Lt, [
|
|
490
|
+
(s(!0), u(T, null, F(Te.value, (l, o) => (s(), u("g", null, [
|
|
490
491
|
n("text", {
|
|
491
492
|
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})`,
|
|
492
493
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
493
494
|
"font-size": d.value.xAxisFontSize,
|
|
494
495
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
495
496
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
496
|
-
}, V(l), 9,
|
|
497
|
+
}, V(l), 9, Rt)
|
|
497
498
|
]))), 256))
|
|
498
499
|
])) : y("", !0),
|
|
499
500
|
n("g", null, [
|
|
@@ -506,22 +507,22 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
506
507
|
stroke: e.value.style.layout.wick.stroke,
|
|
507
508
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
508
509
|
"stroke-linecap": "round"
|
|
509
|
-
}, null, 8,
|
|
510
|
-
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g",
|
|
510
|
+
}, null, 8, Vt),
|
|
511
|
+
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", It, [
|
|
511
512
|
n("circle", {
|
|
512
513
|
cx: l.high.x,
|
|
513
514
|
cy: l.high.y,
|
|
514
515
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
515
516
|
fill: e.value.style.layout.wick.extremity.color
|
|
516
|
-
}, null, 8,
|
|
517
|
+
}, null, 8, Ot),
|
|
517
518
|
n("circle", {
|
|
518
519
|
cx: l.low.x,
|
|
519
520
|
cy: l.low.y,
|
|
520
521
|
r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
521
522
|
fill: e.value.style.layout.wick.extremity.color
|
|
522
|
-
}, null, 8,
|
|
523
|
+
}, null, 8, Pt)
|
|
523
524
|
])) : y("", !0),
|
|
524
|
-
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g",
|
|
525
|
+
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Bt, [
|
|
525
526
|
n("line", {
|
|
526
527
|
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,
|
|
527
528
|
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,
|
|
@@ -530,7 +531,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
530
531
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
531
532
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
532
533
|
"stroke-linecap": "round"
|
|
533
|
-
}, null, 8,
|
|
534
|
+
}, null, 8, Mt),
|
|
534
535
|
n("line", {
|
|
535
536
|
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,
|
|
536
537
|
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,
|
|
@@ -539,7 +540,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
539
540
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
540
541
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
541
542
|
"stroke-linecap": "round"
|
|
542
|
-
}, null, 8,
|
|
543
|
+
}, null, 8, Ut)
|
|
543
544
|
])) : y("", !0)
|
|
544
545
|
]))), 256))
|
|
545
546
|
]),
|
|
@@ -552,7 +553,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
552
553
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
553
554
|
rx: e.value.style.layout.candle.borderRadius,
|
|
554
555
|
stroke: "none"
|
|
555
|
-
}, null, 8,
|
|
556
|
+
}, null, 8, Et))), 256)),
|
|
556
557
|
(s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
|
|
557
558
|
x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
558
559
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
@@ -564,7 +565,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
564
565
|
"stroke-width": e.value.style.layout.candle.strokeWidth,
|
|
565
566
|
"stroke-linecap": "round",
|
|
566
567
|
"stroke-linejoin": "round"
|
|
567
|
-
}, null, 8,
|
|
568
|
+
}, null, 8, Dt))), 256))
|
|
568
569
|
]),
|
|
569
570
|
n("g", null, [
|
|
570
571
|
(s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
|
|
@@ -572,20 +573,20 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
572
573
|
y: i.value.top,
|
|
573
574
|
height: i.value.height <= 0 ? 1e-4 : i.value.height,
|
|
574
575
|
width: r.value <= 0 ? 1e-4 : r.value,
|
|
575
|
-
fill: j.value === o ?
|
|
576
|
-
onMouseover: (m) =>
|
|
576
|
+
fill: j.value === o ? f(Ke)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
|
|
577
|
+
onMouseover: (m) => Fe(o, l),
|
|
577
578
|
onMouseleave: a[0] || (a[0] = (m) => {
|
|
578
579
|
j.value = void 0, G.value = !1;
|
|
579
580
|
})
|
|
580
|
-
}, null, 40,
|
|
581
|
+
}, null, 40, Wt))), 256))
|
|
581
582
|
])
|
|
582
583
|
])) : y("", !0),
|
|
583
|
-
|
|
584
|
-
], 14,
|
|
585
|
-
t.$slots.watermark ? (s(), u("div",
|
|
586
|
-
|
|
584
|
+
h(t.$slots, "svg", { svg: d.value }, void 0, !0)
|
|
585
|
+
], 14, ft)) : y("", !0),
|
|
586
|
+
t.$slots.watermark ? (s(), u("div", Gt, [
|
|
587
|
+
h(t.$slots, "watermark", A(z({ isPrinting: f(ue) || f(ie) })), void 0, !0)
|
|
587
588
|
])) : y("", !0),
|
|
588
|
-
L.value ? y("", !0) : (s(), _(
|
|
589
|
+
L.value ? y("", !0) : (s(), _(rt, {
|
|
589
590
|
key: 5,
|
|
590
591
|
config: {
|
|
591
592
|
type: "candlesticks",
|
|
@@ -607,7 +608,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
607
608
|
ref_key: "chartSlicer",
|
|
608
609
|
ref: ee
|
|
609
610
|
}, [
|
|
610
|
-
(s(), _(
|
|
611
|
+
(s(), _(vt, {
|
|
611
612
|
key: `slicer_${O.value}`,
|
|
612
613
|
background: e.value.style.zoom.color,
|
|
613
614
|
borderColor: e.value.style.backgroundColor,
|
|
@@ -626,10 +627,10 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
626
627
|
"onUpdate:start": a[1] || (a[1] = (l) => c.value.start = l),
|
|
627
628
|
end: c.value.end,
|
|
628
629
|
"onUpdate:end": a[2] || (a[2] = (l) => c.value.end = l),
|
|
629
|
-
onReset:
|
|
630
|
+
onReset: Le
|
|
630
631
|
}, {
|
|
631
|
-
"reset-action":
|
|
632
|
-
|
|
632
|
+
"reset-action": g(({ reset: l }) => [
|
|
633
|
+
h(t.$slots, "reset-action", A(z({ reset: l })), void 0, !0)
|
|
633
634
|
]),
|
|
634
635
|
_: 3
|
|
635
636
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"]))
|
|
@@ -638,9 +639,17 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
638
639
|
ref_key: "chartLegend",
|
|
639
640
|
ref: Z
|
|
640
641
|
}, [
|
|
641
|
-
|
|
642
|
+
h(t.$slots, "legend", { legend: b.value }, void 0, !0)
|
|
642
643
|
], 512),
|
|
643
|
-
|
|
644
|
+
t.$slots.source ? (s(), u("div", {
|
|
645
|
+
key: 7,
|
|
646
|
+
ref_key: "source",
|
|
647
|
+
ref: te,
|
|
648
|
+
dir: "auto"
|
|
649
|
+
}, [
|
|
650
|
+
h(t.$slots, "source", {}, void 0, !0)
|
|
651
|
+
], 512)) : y("", !0),
|
|
652
|
+
we(it, {
|
|
644
653
|
show: w.value.showTooltip && G.value,
|
|
645
654
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
646
655
|
color: e.value.style.tooltip.color,
|
|
@@ -655,16 +664,16 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
655
664
|
content: X.value,
|
|
656
665
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
657
666
|
}, {
|
|
658
|
-
"tooltip-before":
|
|
659
|
-
|
|
667
|
+
"tooltip-before": g(() => [
|
|
668
|
+
h(t.$slots, "tooltip-before", A(z({ ...q.value })), void 0, !0)
|
|
660
669
|
]),
|
|
661
|
-
"tooltip-after":
|
|
662
|
-
|
|
670
|
+
"tooltip-after": g(() => [
|
|
671
|
+
h(t.$slots, "tooltip-after", A(z({ ...q.value })), void 0, !0)
|
|
663
672
|
]),
|
|
664
673
|
_: 3
|
|
665
674
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
666
|
-
L.value ? (s(), _(
|
|
667
|
-
key:
|
|
675
|
+
L.value ? (s(), _(dt, {
|
|
676
|
+
key: 8,
|
|
668
677
|
hideDetails: "",
|
|
669
678
|
config: {
|
|
670
679
|
open: w.value.showTable,
|
|
@@ -679,9 +688,9 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
679
688
|
}
|
|
680
689
|
}
|
|
681
690
|
}, {
|
|
682
|
-
content:
|
|
683
|
-
(s(), _(
|
|
684
|
-
key: `table_${
|
|
691
|
+
content: g(() => [
|
|
692
|
+
(s(), _(nt, {
|
|
693
|
+
key: `table_${le.value}`,
|
|
685
694
|
colNames: M.value.colNames,
|
|
686
695
|
head: M.value.head,
|
|
687
696
|
body: M.value.body,
|
|
@@ -689,20 +698,20 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
|
|
|
689
698
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
690
699
|
onClose: a[3] || (a[3] = (l) => w.value.showTable = !1)
|
|
691
700
|
}, {
|
|
692
|
-
th:
|
|
693
|
-
|
|
701
|
+
th: g(({ th: l }) => [
|
|
702
|
+
De(V(l), 1)
|
|
694
703
|
]),
|
|
695
|
-
td:
|
|
696
|
-
n("div", { innerHTML: l }, null, 8,
|
|
704
|
+
td: g(({ td: l }) => [
|
|
705
|
+
n("div", { innerHTML: l }, null, 8, Xt)
|
|
697
706
|
]),
|
|
698
707
|
_: 1
|
|
699
708
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
700
709
|
]),
|
|
701
710
|
_: 1
|
|
702
711
|
}, 8, ["config"])) : y("", !0)
|
|
703
|
-
], 14,
|
|
712
|
+
], 14, pt));
|
|
704
713
|
}
|
|
705
|
-
},
|
|
714
|
+
}, nl = /* @__PURE__ */ ht(jt, [["__scopeId", "data-v-0ff8d244"]]);
|
|
706
715
|
export {
|
|
707
|
-
|
|
716
|
+
nl as default
|
|
708
717
|
};
|