vue-data-ui 3.25.11 → 3.25.13
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-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
- package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
- package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
- package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
- package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
- package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
- package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
- package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
- package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
- package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
- package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
- package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
- package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
- package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
- package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
- package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
- package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
- package/dist/exposedLib-BBtjpydc.js +28 -0
- package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
- package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
- package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
- package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +6 -0
- package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
- package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
- package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
- package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
- package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
- package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
- package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
- package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
- package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
- package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
- package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
- package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
- package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
- package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
- package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
- package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
- package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
- package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
- package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
- package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
- package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
- package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
- package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
- package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
- package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
- package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
- package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
- package/dist/vue-ui-molecule-_x232mMu.js +941 -0
- package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
- package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
- package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
- package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
- package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
- package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
- package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
- package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
- package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
- package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
- package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
- package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
- package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
- package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
- package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
- package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
- package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
- package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
- package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
- package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
- package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
- package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
- package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
- package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
- package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
- package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
- package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
- package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
- package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
- package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
- package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
- package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
- package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
- package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
- package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
- package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
- package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
- package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
- package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
- package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
- package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
- package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
- package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
- package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
- package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
- package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
- package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
- package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
- package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
- package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
- package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
- package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Ct as n, D as r,
|
|
2
|
+
import { $ as t, Ct as n, D as r, Et as i, Jt as a, Rt as o, X as s, _ as c, at as l, b as u, c as ee, en as te, et as ne, ft as re, gt as ie, ht as ae, nt as oe, qt as se, t as ce, tn as le } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { n as fe, r as pe, t as me } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
|
-
import { t as he } from "./useConfig-
|
|
6
|
-
import { t as ge } from "./usePrinter-
|
|
5
|
+
import { t as he } from "./useConfig-C2uy4ltq.js";
|
|
6
|
+
import { t as ge } from "./usePrinter-BBBooAGP.js";
|
|
7
7
|
import { n as _e, t as ve } from "./BaseScanner-Dzc8VT3j.js";
|
|
8
|
-
import { t as ye } from "./useNestedProp-
|
|
8
|
+
import { t as ye } from "./useNestedProp-Bux0f4iY.js";
|
|
9
9
|
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as xe } from "./useChartExport-iwOqiIWX.js";
|
|
11
11
|
import { t as Se } from "./useTransitions-g_zBREk2.js";
|
|
12
12
|
import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
13
|
-
import { t as we } from "./img-
|
|
14
|
-
import { n as Te } from "./Title-
|
|
13
|
+
import { t as we } from "./img-W50sC9SC.js";
|
|
14
|
+
import { n as Te } from "./Title-DeqmC-vN.js";
|
|
15
15
|
import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { l as De, t as Oe } from "./useResponsive-ZtArZtUf.js";
|
|
17
17
|
import { t as ke } from "./DefGrad-DVBqDjhO.js";
|
|
18
|
-
import { t as Ae } from "./SlicerPreview-
|
|
18
|
+
import { t as Ae } from "./SlicerPreview-BJ4usfYd.js";
|
|
19
19
|
import { t as je } from "./A11yDataTable-DdRsVULz.js";
|
|
20
20
|
import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
|
|
21
21
|
import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
|
|
@@ -189,7 +189,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
189
189
|
},
|
|
190
190
|
emits: ["selectX", "copyAlt"],
|
|
191
191
|
setup(e, { expose: Ee, emit: Ye }) {
|
|
192
|
-
let kt = _(() => import("./BaseIcon-
|
|
192
|
+
let kt = _(() => import("./BaseIcon-Dlz7gfx0.js").then((e) => e.n)), At = _(() => import("./Tooltip-DZ4a3XJQ.js")), jt = _(() => import("./vue-ui-accordion-yHZMJLaY.js").then((e) => e.n)), Mt = _(() => import("./DataTable-BD1eZ0zB.js")), Nt = _(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), Pt = _(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), Ft = _(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), It = _(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), { vue_ui_candlestick: Lt } = he(), { isThemeValid: Rt, warnInvalidTheme: zt } = be(), D = e, Bt = Ye, Vt = f(() => !!D.dataset && D.dataset.length), O = S(!1), Ht = S(null), k = S(s()), Ut = S(!1), Wt = S(""), A = S(void 0), Gt = S(0), j = S(null), Kt = S(null), qt = S(null), Jt = S(null), Yt = S(null), Xt = S(null), Zt = S(0), Qt = S(0), $t = S(0), en = S(null), tn = S(null), nn = S(null), rn = S(null), an = S(null), M = S(null), on = S({
|
|
193
193
|
x: 0,
|
|
194
194
|
y: 0
|
|
195
195
|
}), sn = S("pointer"), cn = S(!1), N = S(yn()), P = f(() => N.value.style.layout.candle), F = f(() => N.value.style.layout.grid), I = f(() => N.value.style.layout), L = f(() => N.value.style), R = f(() => N.value.userOptions);
|
|
@@ -211,7 +211,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
211
211
|
let { transitionEnabled: ln } = Se({
|
|
212
212
|
config: () => N.value.transitions,
|
|
213
213
|
dataset: () => D.dataset
|
|
214
|
-
}), un = f(() => N.value.userOptions.useCursorPointer), dn = f(() =>
|
|
214
|
+
}), un = f(() => N.value.userOptions.useCursorPointer), dn = f(() => le({
|
|
215
215
|
defaultConfig: {
|
|
216
216
|
useCssAnimation: !1,
|
|
217
217
|
userOptions: { show: !1 },
|
|
@@ -356,7 +356,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
356
356
|
5100
|
|
357
357
|
]
|
|
358
358
|
],
|
|
359
|
-
skeletonConfig:
|
|
359
|
+
skeletonConfig: le({
|
|
360
360
|
defaultConfig: N.value,
|
|
361
361
|
userConfig: dn.value
|
|
362
362
|
})
|
|
@@ -375,25 +375,25 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
375
375
|
userConfig: D.config,
|
|
376
376
|
defaultConfig: Lt
|
|
377
377
|
}), t = {};
|
|
378
|
-
D.config &&
|
|
379
|
-
let
|
|
380
|
-
if (
|
|
378
|
+
D.config && n(D.config, "style.layout.grid.xAxis.dataLabels.showFirstAndLast") && (e.style.layout.grid.xAxis.dataLabels.showFirstAndLast = !!D.config.style.layout.grid.xAxis.dataLabels.showFirstAndLast);
|
|
379
|
+
let r = e.theme;
|
|
380
|
+
if (r) {
|
|
381
381
|
if (!Rt.value(e)) zt(e), t = e;
|
|
382
382
|
else {
|
|
383
|
-
let
|
|
384
|
-
userConfig: Pe[
|
|
383
|
+
let n = ye({
|
|
384
|
+
userConfig: Pe[r] || D.config,
|
|
385
385
|
defaultConfig: e
|
|
386
386
|
});
|
|
387
387
|
t = { ...ye({
|
|
388
388
|
userConfig: D.config,
|
|
389
|
-
defaultConfig:
|
|
389
|
+
defaultConfig: n
|
|
390
390
|
}) };
|
|
391
391
|
}
|
|
392
392
|
} else t = e;
|
|
393
393
|
return t;
|
|
394
394
|
}
|
|
395
395
|
function bn(e) {
|
|
396
|
-
let t =
|
|
396
|
+
let t = ne(e);
|
|
397
397
|
return t?.style && delete t.style.tooltip, JSON.stringify(t);
|
|
398
398
|
}
|
|
399
399
|
let xn = bn(D.config);
|
|
@@ -420,11 +420,11 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
420
420
|
});
|
|
421
421
|
let Cn = f(() => N.value.debug);
|
|
422
422
|
function wn() {
|
|
423
|
-
if (
|
|
423
|
+
if (o(D.dataset) && (l({
|
|
424
424
|
componentName: "VueUiCandlestick",
|
|
425
425
|
type: "dataset",
|
|
426
426
|
debug: Cn.value
|
|
427
|
-
}), fn.value = !0),
|
|
427
|
+
}), fn.value = !0), o(D.dataset) || (fn.value = N.value.loading), setTimeout(() => {
|
|
428
428
|
O.value = !0;
|
|
429
429
|
}, 10), N.value.responsive) {
|
|
430
430
|
let e = De(() => {
|
|
@@ -438,13 +438,13 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
438
438
|
noTitle: Xt.value
|
|
439
439
|
});
|
|
440
440
|
requestAnimationFrame(() => {
|
|
441
|
-
V.value.width = e, V.value.height = t - 12, N.value.responsiveProportionalSizing ? (V.value.xAxisFontSize =
|
|
441
|
+
V.value.width = e, V.value.height = t - 12, N.value.responsiveProportionalSizing ? (V.value.xAxisFontSize = te({
|
|
442
442
|
relator: Math.min(e, t),
|
|
443
443
|
adjuster: L.value.width,
|
|
444
444
|
source: F.value.xAxis.dataLabels.fontSize,
|
|
445
445
|
threshold: 6,
|
|
446
446
|
fallback: 6
|
|
447
|
-
}), V.value.yAxisFontSize =
|
|
447
|
+
}), V.value.yAxisFontSize = te({
|
|
448
448
|
relator: Math.min(e, t),
|
|
449
449
|
adjuster: L.value.width,
|
|
450
450
|
source: F.value.yAxis.dataLabels.fontSize,
|
|
@@ -515,11 +515,11 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
515
515
|
crosshair: i.crosshair
|
|
516
516
|
};
|
|
517
517
|
}), Pn = f(() => {
|
|
518
|
-
let { left: e, top: t, width: n, height: r } = G.value, i = q.value.start, a = q.value.end - i, o = n / a, s = J.value.start - i, c = J.value.end - i, l = Math.max(0, Math.min(a, s)),
|
|
518
|
+
let { left: e, top: t, width: n, height: r } = G.value, i = q.value.start, a = q.value.end - i, o = n / a, s = J.value.start - i, c = J.value.end - i, l = Math.max(0, Math.min(a, s)), u = Math.max(0, Math.min(a, c));
|
|
519
519
|
return {
|
|
520
520
|
x: e + l * o,
|
|
521
521
|
y: t,
|
|
522
|
-
width: (
|
|
522
|
+
width: (u - l) * o,
|
|
523
523
|
height: r,
|
|
524
524
|
fill: L.value.zoom.preview.fill,
|
|
525
525
|
stroke: L.value.zoom.preview.stroke,
|
|
@@ -551,32 +551,32 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
551
551
|
...e,
|
|
552
552
|
absoluteIndex: t
|
|
553
553
|
}))), zn = f(() => Rn.value.slice(q.value.start, q.value.end)), Y = f(() => (Cn.value && B.value.forEach((e, t) => {
|
|
554
|
-
[null, void 0].includes(e[0]) &&
|
|
554
|
+
[null, void 0].includes(e[0]) && l({
|
|
555
555
|
componentName: "VueUiCandlestick",
|
|
556
556
|
type: "datasetAttribute",
|
|
557
557
|
property: "period (index 0)",
|
|
558
558
|
index: t
|
|
559
|
-
}), [null, void 0].includes(e[1]) &&
|
|
559
|
+
}), [null, void 0].includes(e[1]) && l({
|
|
560
560
|
componentName: "VueUiCandlestick",
|
|
561
561
|
type: "datasetAttribute",
|
|
562
562
|
property: "open (index 1)",
|
|
563
563
|
index: t
|
|
564
|
-
}), [null, void 0].includes(e[2]) &&
|
|
564
|
+
}), [null, void 0].includes(e[2]) && l({
|
|
565
565
|
componentName: "VueUiCandlestick",
|
|
566
566
|
type: "datasetAttribute",
|
|
567
567
|
property: "high (index 2)",
|
|
568
568
|
index: t
|
|
569
|
-
}), [null, void 0].includes(e[3]) &&
|
|
569
|
+
}), [null, void 0].includes(e[3]) && l({
|
|
570
570
|
componentName: "VueUiCandlestick",
|
|
571
571
|
type: "datasetAttribute",
|
|
572
572
|
property: "low (index 3)",
|
|
573
573
|
index: t
|
|
574
|
-
}), [null, void 0].includes(e[4]) &&
|
|
574
|
+
}), [null, void 0].includes(e[4]) && l({
|
|
575
575
|
componentName: "VueUiCandlestick",
|
|
576
576
|
type: "datasetAttribute",
|
|
577
577
|
property: "close (index 4)",
|
|
578
578
|
index: t
|
|
579
|
-
}), [null, void 0].includes(e[5]) &&
|
|
579
|
+
}), [null, void 0].includes(e[5]) && l({
|
|
580
580
|
componentName: "VueUiCandlestick",
|
|
581
581
|
type: "datasetAttribute",
|
|
582
582
|
property: "volume (index 5)",
|
|
@@ -601,7 +601,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
601
601
|
}))), X = f(() => G.value.width / zn.value.length), Vn = f(() => ({
|
|
602
602
|
max: F.value.yAxis.scale.max === null ? Math.max(...Y.value.map((e) => e.high)) : F.value.yAxis.scale.max,
|
|
603
603
|
min: F.value.yAxis.scale.min === null ? 0 : F.value.yAxis.scale.min
|
|
604
|
-
})), Z = f(() =>
|
|
604
|
+
})), Z = f(() => c(Vn.value.min, Vn.value.max, F.value.yAxis.dataLabels.steps));
|
|
605
605
|
function Hn(e, t, n = null, r = null) {
|
|
606
606
|
return {
|
|
607
607
|
...e,
|
|
@@ -625,7 +625,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
625
625
|
c: Math.min(...Y.value.map((e) => e.low))
|
|
626
626
|
}, n = Math.max(...Y.value.map((e) => e.volume)), r = Math.min(...Y.value.map((e) => e.volume));
|
|
627
627
|
return Y.value.map((i, a) => {
|
|
628
|
-
let o = Hn(i.open, a, e.o, t.o), s = Hn(i.high, a, e.h, t.h), c = Hn(i.low, a, e.l, t.l), l = Hn(i.close, a, e.c, t.c),
|
|
628
|
+
let o = Hn(i.open, a, e.o, t.o), s = Hn(i.high, a, e.h, t.h), c = Hn(i.low, a, e.l, t.l), l = Hn(i.close, a, e.c, t.c), u = i.close > i.open, ee = i.volume === n, te = i.volume === r;
|
|
629
629
|
return {
|
|
630
630
|
period: i.period,
|
|
631
631
|
open: o,
|
|
@@ -633,10 +633,10 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
633
633
|
low: c,
|
|
634
634
|
close: l,
|
|
635
635
|
volume: i.volume,
|
|
636
|
-
isBullish:
|
|
636
|
+
isBullish: u,
|
|
637
637
|
absoluteIndex: i.absoluteIndex,
|
|
638
|
-
isMaxVolume:
|
|
639
|
-
isMinVolume:
|
|
638
|
+
isMaxVolume: ee,
|
|
639
|
+
isMinVolume: te
|
|
640
640
|
};
|
|
641
641
|
});
|
|
642
642
|
});
|
|
@@ -752,7 +752,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
752
752
|
absoluteIndex: t
|
|
753
753
|
}))), rr = f(() => {
|
|
754
754
|
let e = Math.max(1, Math.floor(Number(F.value.xAxis.dataLabels.modulo) || 1)), t = ($.value || []).map((e) => e?.text ?? ""), n = (Yn.value || []).map((e) => e?.text ?? ""), r = q.value.start ?? 0, i = r > 0 || t.length < n.length;
|
|
755
|
-
return
|
|
755
|
+
return ae({
|
|
756
756
|
configuredModulo: e,
|
|
757
757
|
visibleTexts: t,
|
|
758
758
|
allTexts: n,
|
|
@@ -760,7 +760,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
760
760
|
isZoomed: i
|
|
761
761
|
});
|
|
762
762
|
}), ir = f(() => {
|
|
763
|
-
let e = F.value.xAxis.dataLabels, t = $.value || [], n = Yn.value || [], r = q.value.start ?? 0, i = A.value, a = K.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? ""), c =
|
|
763
|
+
let e = F.value.xAxis.dataLabels, t = $.value || [], n = Yn.value || [], r = q.value.start ?? 0, i = A.value, a = K.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? ""), c = ee(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, rr.value, o, s, r, i, a);
|
|
764
764
|
if (!e.showFirstAndLast || e.showOnlyFirstAndLast || !c.length) return c;
|
|
765
765
|
let l = c.length - 1;
|
|
766
766
|
return c.map((e, t) => t !== 0 && t !== l ? e : {
|
|
@@ -794,61 +794,61 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
794
794
|
let t = e - q.value.start;
|
|
795
795
|
t < 0 || e >= q.value.end ? A.value = null : A.value = t ?? null;
|
|
796
796
|
}, { immediate: !0 });
|
|
797
|
-
function lr(e,
|
|
797
|
+
function lr(e, n, r = "pointer") {
|
|
798
798
|
N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
799
|
-
datapoint:
|
|
799
|
+
datapoint: n,
|
|
800
800
|
seriesIndex: e + q.value.start
|
|
801
801
|
}), A.value = e, M.value = e, sn.value = r, or.value = {
|
|
802
|
-
datapoint:
|
|
802
|
+
datapoint: n,
|
|
803
803
|
seriesIndex: e,
|
|
804
804
|
series: Q.value,
|
|
805
805
|
config: N.value
|
|
806
806
|
}, Br({
|
|
807
807
|
seriesIndex: e,
|
|
808
|
-
datapoint:
|
|
808
|
+
datapoint: n
|
|
809
809
|
});
|
|
810
|
-
let
|
|
811
|
-
if (
|
|
810
|
+
let a = L.value.tooltip.customFormat;
|
|
811
|
+
if (i(a) && re(() => a({
|
|
812
812
|
seriesIndex: e,
|
|
813
|
-
datapoint:
|
|
813
|
+
datapoint: n,
|
|
814
814
|
series: Q.value,
|
|
815
815
|
config: N.value
|
|
816
|
-
}))) Wt.value =
|
|
816
|
+
}))) Wt.value = a({
|
|
817
817
|
seriesIndex: e,
|
|
818
|
-
datapoint:
|
|
818
|
+
datapoint: n,
|
|
819
819
|
series: Q.value,
|
|
820
820
|
config: N.value
|
|
821
821
|
});
|
|
822
822
|
else if (L.value.tooltip.show) {
|
|
823
|
-
let
|
|
824
|
-
|
|
825
|
-
fill="${P.value.gradient.show ?
|
|
826
|
-
let se =
|
|
823
|
+
let r = "", { period: i, open: a, high: o, low: s, close: c, volume: l, isBullish: u } = Q.value[e], { period: ee, open: te, high: ne, low: re, close: ie, volume: ae } = N.value.translations, oe = F.value.xAxis.dataLabels.datetimeFormatter.enable ? L.value.tooltip.useDefaultTimeFormat ? $.value[e].text : tr.value[e].text : i;
|
|
824
|
+
r += `<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="${P.value.borderRadius * 3}" stroke="${P.value.stroke}" stroke-width="${P.value.strokeWidth}"
|
|
825
|
+
fill="${P.value.gradient.show ? u ? `url(#bullish_gradient_${k.value})` : `url(#bearish_gradient_${k.value})` : u ? P.value.colors.bullish : P.value.colors.bearish}"/></svg>${oe}</div>`, r += `${ae} : <b>${isNaN(l) ? "-" : Number(l.toFixed(L.value.tooltip.roundingValue)).toLocaleString()}</b>`, r += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${L.value.tooltip.borderColor}">`;
|
|
826
|
+
let se = t({
|
|
827
827
|
p: L.value.tooltip.prefix,
|
|
828
|
-
v:
|
|
828
|
+
v: a.value,
|
|
829
829
|
s: L.value.tooltip.suffix,
|
|
830
830
|
r: L.value.tooltip.roundingValue
|
|
831
|
-
}), ce =
|
|
831
|
+
}), ce = t({
|
|
832
832
|
p: L.value.tooltip.prefix,
|
|
833
|
-
v:
|
|
833
|
+
v: o.value,
|
|
834
834
|
s: L.value.tooltip.suffix,
|
|
835
835
|
r: L.value.tooltip.roundingValue
|
|
836
|
-
}), le =
|
|
836
|
+
}), le = t({
|
|
837
837
|
p: L.value.tooltip.prefix,
|
|
838
|
-
v:
|
|
838
|
+
v: s.value,
|
|
839
839
|
s: L.value.tooltip.suffix,
|
|
840
840
|
r: L.value.tooltip.roundingValue
|
|
841
|
-
}), ue =
|
|
841
|
+
}), ue = t({
|
|
842
842
|
p: L.value.tooltip.prefix,
|
|
843
843
|
v: c.value,
|
|
844
844
|
s: L.value.tooltip.suffix,
|
|
845
845
|
r: L.value.tooltip.roundingValue
|
|
846
846
|
});
|
|
847
|
-
L.value.tooltip.showChart ?
|
|
847
|
+
L.value.tooltip.showChart ? r += `<div style="width:100%;display:flex;align-items:center;justify-content:center;">
|
|
848
848
|
<svg viewBox="0 0 100 100" width="100px" style="background: transparent; overflow: visible">
|
|
849
849
|
<g>
|
|
850
|
-
<line x1="50" x2="50" y1="20" y2="80" stroke="${
|
|
851
|
-
${
|
|
850
|
+
<line x1="50" x2="50" y1="20" y2="80" stroke="${n.isBullish ? P.value.colors.bullish : P.value.colors.bearish}" stroke-width="2" stroke-linecap="round" />
|
|
851
|
+
${n.isBullish ? `
|
|
852
852
|
<line x1="45" x2="50" y1="65" y2="65" stroke="${P.value.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
|
|
853
853
|
<line x1="50" x2="55" y1="35" y2="35" stroke="${P.value.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
|
|
854
854
|
<text x="38" y="70" text-anchor="end" fill="${L.value.tooltip.color}">${se}</text>
|
|
@@ -864,7 +864,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
864
864
|
<g>
|
|
865
865
|
</svg>
|
|
866
866
|
<div>
|
|
867
|
-
` : (
|
|
867
|
+
` : (r += `<div>${te}: <b>${se}</b></div>`, r += `<div>${ne}: <b>${ce}</b></div>`, r += `<div>${re}: <b>${le}</b></div>`, r += `<div>${ie}: <b>${ue}</b></div>`), r += "</div>", Wt.value = `<div style="text-align:right">${r}</div>`;
|
|
868
868
|
}
|
|
869
869
|
Ut.value = !0;
|
|
870
870
|
}
|
|
@@ -900,21 +900,21 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
900
900
|
}
|
|
901
901
|
function vr(e = null) {
|
|
902
902
|
ze(() => {
|
|
903
|
-
let
|
|
903
|
+
let t = [
|
|
904
904
|
N.value.translations.period,
|
|
905
905
|
N.value.translations.open,
|
|
906
906
|
N.value.translations.high,
|
|
907
907
|
N.value.translations.low,
|
|
908
908
|
N.value.translations.close,
|
|
909
909
|
N.value.translations.volume
|
|
910
|
-
],
|
|
910
|
+
], n = Q.value.map((e, t) => [
|
|
911
911
|
F.value.xAxis.dataLabels.datetimeFormatter.enable ? $.value[t].text : e.period,
|
|
912
912
|
e.open.value,
|
|
913
913
|
e.high.value,
|
|
914
914
|
e.low.value,
|
|
915
915
|
e.close.value,
|
|
916
916
|
e.volume
|
|
917
|
-
]),
|
|
917
|
+
]), i = [
|
|
918
918
|
[L.value.title.text],
|
|
919
919
|
[L.value.title.subtitle.text],
|
|
920
920
|
[
|
|
@@ -922,73 +922,73 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
922
922
|
[""],
|
|
923
923
|
[""]
|
|
924
924
|
],
|
|
925
|
-
|
|
926
|
-
].concat(
|
|
927
|
-
e ? e(
|
|
928
|
-
csvContent:
|
|
925
|
+
t
|
|
926
|
+
].concat(n), a = r(i);
|
|
927
|
+
e ? e(a) : oe({
|
|
928
|
+
csvContent: a,
|
|
929
929
|
title: L.value.title.text || "vue-ui-candlestick"
|
|
930
930
|
});
|
|
931
931
|
});
|
|
932
932
|
}
|
|
933
933
|
let yr = f(() => {
|
|
934
|
-
let e = Q.value.map((e,
|
|
935
|
-
let
|
|
934
|
+
let e = Q.value.map((e, n) => {
|
|
935
|
+
let r = F.value.xAxis.dataLabels.datetimeFormatter.enable ? $.value?.[n]?.text ?? "" : e.period, i = t({
|
|
936
936
|
p: N.value.table.td.prefix,
|
|
937
937
|
v: e.open.value,
|
|
938
938
|
s: N.value.table.td.suffix,
|
|
939
939
|
r: N.value.table.td.roundingValue
|
|
940
|
-
}),
|
|
940
|
+
}), a = t({
|
|
941
941
|
p: N.value.table.td.prefix,
|
|
942
942
|
v: e.high.value,
|
|
943
943
|
s: N.value.table.td.suffix,
|
|
944
944
|
r: N.value.table.td.roundingValue
|
|
945
|
-
}),
|
|
945
|
+
}), o = t({
|
|
946
946
|
p: N.value.table.td.prefix,
|
|
947
947
|
v: e.low.value,
|
|
948
948
|
s: N.value.table.td.suffix,
|
|
949
949
|
r: N.value.table.td.roundingValue
|
|
950
|
-
}),
|
|
950
|
+
}), s = t({
|
|
951
951
|
p: N.value.table.td.prefix,
|
|
952
952
|
v: e.close.value,
|
|
953
953
|
s: N.value.table.td.suffix,
|
|
954
954
|
r: N.value.table.td.roundingValue
|
|
955
955
|
});
|
|
956
956
|
return [
|
|
957
|
-
`<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="${P.value.borderRadius * 3}" fill="${P.value.gradient.show ? e.isBullish ? `url(#bullish_gradient_${k.value})` : `url(#bearish_gradient_${k.value})` : e.isBullish ? P.value.colors.bullish : P.value.colors.bearish}"/></svg> ${
|
|
958
|
-
r,
|
|
957
|
+
`<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="${P.value.borderRadius * 3}" fill="${P.value.gradient.show ? e.isBullish ? `url(#bullish_gradient_${k.value})` : `url(#bearish_gradient_${k.value})` : e.isBullish ? P.value.colors.bullish : P.value.colors.bearish}"/></svg> ${r}`,
|
|
959
958
|
i,
|
|
960
959
|
a,
|
|
961
960
|
o,
|
|
961
|
+
s,
|
|
962
962
|
`${isNaN(e.volume) ? "-" : e.volume.toLocaleString()}`
|
|
963
963
|
];
|
|
964
|
-
}),
|
|
965
|
-
F.value.xAxis.dataLabels.datetimeFormatter.enable ? $.value?.[
|
|
966
|
-
|
|
964
|
+
}), n = Q.value.map((e, n) => [
|
|
965
|
+
F.value.xAxis.dataLabels.datetimeFormatter.enable ? $.value?.[n]?.text ?? "" : e.period,
|
|
966
|
+
t({
|
|
967
967
|
p: N.value.table.td.prefix,
|
|
968
968
|
v: e.open.value,
|
|
969
969
|
s: N.value.table.td.suffix,
|
|
970
970
|
r: N.value.table.td.roundingValue
|
|
971
971
|
}),
|
|
972
|
-
|
|
972
|
+
t({
|
|
973
973
|
p: N.value.table.td.prefix,
|
|
974
974
|
v: e.high.value,
|
|
975
975
|
s: N.value.table.td.suffix,
|
|
976
976
|
r: N.value.table.td.roundingValue
|
|
977
977
|
}),
|
|
978
|
-
|
|
978
|
+
t({
|
|
979
979
|
p: N.value.table.td.prefix,
|
|
980
980
|
v: e.low.value,
|
|
981
981
|
s: N.value.table.td.suffix,
|
|
982
982
|
r: N.value.table.td.roundingValue
|
|
983
983
|
}),
|
|
984
|
-
|
|
984
|
+
t({
|
|
985
985
|
p: N.value.table.td.prefix,
|
|
986
986
|
v: e.close.value,
|
|
987
987
|
s: N.value.table.td.suffix,
|
|
988
988
|
r: N.value.table.td.roundingValue
|
|
989
989
|
}),
|
|
990
990
|
`${isNaN(e.volume) ? "-" : e.volume}`
|
|
991
|
-
]),
|
|
991
|
+
]), r = {
|
|
992
992
|
th: {
|
|
993
993
|
backgroundColor: N.value.table.th.backgroundColor,
|
|
994
994
|
color: N.value.table.th.color,
|
|
@@ -1000,7 +1000,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1000
1000
|
outline: N.value.table.td.outline
|
|
1001
1001
|
},
|
|
1002
1002
|
breakpoint: N.value.table.responsiveBreakpoint
|
|
1003
|
-
},
|
|
1003
|
+
}, i = [
|
|
1004
1004
|
N.value.translations.period,
|
|
1005
1005
|
N.value.translations.open,
|
|
1006
1006
|
N.value.translations.high,
|
|
@@ -1009,11 +1009,11 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1009
1009
|
N.value.translations.volume
|
|
1010
1010
|
];
|
|
1011
1011
|
return {
|
|
1012
|
-
head:
|
|
1012
|
+
head: i,
|
|
1013
1013
|
body: e,
|
|
1014
|
-
bodyA11y:
|
|
1015
|
-
config:
|
|
1016
|
-
colNames:
|
|
1014
|
+
bodyA11y: n,
|
|
1015
|
+
config: r,
|
|
1016
|
+
colNames: i
|
|
1017
1017
|
};
|
|
1018
1018
|
}), br = S(!1);
|
|
1019
1019
|
function xr(e) {
|
|
@@ -1040,7 +1040,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1040
1040
|
width: r.width,
|
|
1041
1041
|
height: r.height,
|
|
1042
1042
|
aspectRatio: r.height ? r.width / r.height : 0
|
|
1043
|
-
}, a = await
|
|
1043
|
+
}, a = await ie(t, e) ?? i;
|
|
1044
1044
|
return {
|
|
1045
1045
|
imageUri: t,
|
|
1046
1046
|
base64: n,
|
|
@@ -1208,7 +1208,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1208
1208
|
toggleAnnotator: Tr,
|
|
1209
1209
|
toggleFullscreen: xr,
|
|
1210
1210
|
copyAlt: Vr
|
|
1211
|
-
}), (e,
|
|
1211
|
+
}), (e, n) => (x(), h("div", {
|
|
1212
1212
|
ref_key: "candlestickChart",
|
|
1213
1213
|
ref: j,
|
|
1214
1214
|
class: y(`vue-data-ui-component vue-ui-candlestick ${br.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -1397,7 +1397,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1397
1397
|
g("div", Qe, [(x(), h("svg", {
|
|
1398
1398
|
ref_key: "svgRef",
|
|
1399
1399
|
ref: gn,
|
|
1400
|
-
xmlns: T(
|
|
1400
|
+
xmlns: T(ce),
|
|
1401
1401
|
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1402
1402
|
class: y({
|
|
1403
1403
|
"vue-data-ui-fullscreen--on": br.value,
|
|
@@ -1434,12 +1434,12 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1434
1434
|
],
|
|
1435
1435
|
[
|
|
1436
1436
|
"50%",
|
|
1437
|
-
T(
|
|
1437
|
+
T(a)(P.value.colors.bearish, .02),
|
|
1438
1438
|
.87
|
|
1439
1439
|
],
|
|
1440
1440
|
[
|
|
1441
1441
|
"100%",
|
|
1442
|
-
T(
|
|
1442
|
+
T(a)(P.value.colors.bearish, .05),
|
|
1443
1443
|
.4
|
|
1444
1444
|
]
|
|
1445
1445
|
]
|
|
@@ -1456,12 +1456,12 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1456
1456
|
],
|
|
1457
1457
|
[
|
|
1458
1458
|
"50%",
|
|
1459
|
-
T(
|
|
1459
|
+
T(a)(P.value.colors.bullish, .02),
|
|
1460
1460
|
.87
|
|
1461
1461
|
],
|
|
1462
1462
|
[
|
|
1463
1463
|
"100%",
|
|
1464
|
-
T(
|
|
1464
|
+
T(a)(P.value.colors.bullish, .05),
|
|
1465
1465
|
.4
|
|
1466
1466
|
]
|
|
1467
1467
|
]
|
|
@@ -1521,7 +1521,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1521
1521
|
key: 1,
|
|
1522
1522
|
ref_key: "scaleLabels",
|
|
1523
1523
|
ref: en
|
|
1524
|
-
}, [(x(!0), h(d, null, C(qn.value, (e,
|
|
1524
|
+
}, [(x(!0), h(d, null, C(qn.value, (e, n) => (x(), h("g", { key: `sl_${n}` }, [e.value >= Z.value.min && e.value <= Z.value.max ? (x(), h("line", {
|
|
1525
1525
|
key: 0,
|
|
1526
1526
|
x1: W.value ? G.value.right : G.value.left,
|
|
1527
1527
|
x2: W.value ? G.value.right + 5 : G.value.left - 5,
|
|
@@ -1538,7 +1538,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1538
1538
|
"font-size": V.value.yAxisFontSize,
|
|
1539
1539
|
fill: F.value.yAxis.dataLabels.color,
|
|
1540
1540
|
"font-weight": F.value.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
1541
|
-
}, Ge(T(
|
|
1541
|
+
}, Ge(T(t)({
|
|
1542
1542
|
p: F.value.yAxis.dataLabels.prefix,
|
|
1543
1543
|
v: e.value,
|
|
1544
1544
|
s: F.value.yAxis.dataLabels.suffix,
|
|
@@ -1651,7 +1651,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1651
1651
|
y: G.value.top,
|
|
1652
1652
|
height: G.value.height <= 0 ? 1e-4 : G.value.height,
|
|
1653
1653
|
width: X.value <= 0 ? 1e-4 : X.value,
|
|
1654
|
-
fill: A.value === t || an.value === t ? T(
|
|
1654
|
+
fill: A.value === t || an.value === t ? T(se)(I.value.selector.color, I.value.selector.opacity) : "transparent",
|
|
1655
1655
|
onMouseover: () => lr(t, e, "pointer"),
|
|
1656
1656
|
onMouseleave: () => cr(t, e),
|
|
1657
1657
|
onClick: () => sr(t, e)
|
|
@@ -1735,8 +1735,8 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1735
1735
|
"onUpdate:start": Rr,
|
|
1736
1736
|
onTrapMouse: Lr,
|
|
1737
1737
|
onReset: fr,
|
|
1738
|
-
onFutureEnd:
|
|
1739
|
-
onFutureStart:
|
|
1738
|
+
onFutureEnd: n[0] ||= (e) => In("end", e),
|
|
1739
|
+
onFutureStart: n[1] ||= (e) => In("start", e)
|
|
1740
1740
|
}, {
|
|
1741
1741
|
"reset-action": E(({ reset: t }) => [w(e.$slots, "reset-action", b(v({ reset: t })), void 0, !0)]),
|
|
1742
1742
|
slotMap: E(({ height: e, unitW: t }) => [(x(!0), h(d, null, C(Wn.value({
|
|
@@ -1855,7 +1855,7 @@ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1855
1855
|
fn: E(() => [g("button", {
|
|
1856
1856
|
tabindex: "0",
|
|
1857
1857
|
class: "vue-ui-user-options-button",
|
|
1858
|
-
onClick:
|
|
1858
|
+
onClick: n[2] ||= (e) => vr(R.value.callbacks.csv),
|
|
1859
1859
|
style: Be({ cursor: un.value ? "pointer" : "default" })
|
|
1860
1860
|
}, [Le(T(kt), {
|
|
1861
1861
|
name: "fileCsv",
|