vue-data-ui 3.22.9 → 3.22.10
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-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
- package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
- package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CDTIUIKV.js} +1 -1
- package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
- package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-CkEX0292.js} +2 -2
- package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-C959ZIW9.js} +2 -2
- package/dist/{DataTable-BxpTMgfK.js → DataTable-ByZy5gt1.js} +2 -2
- package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
- package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-BoTvk0i5.js} +1 -1
- package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CLaZJl6K.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
- package/dist/{Slicer-CW_XPIKL.js → Slicer-WsWTQPKt.js} +21 -21
- package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-3n516NyE.js} +214 -214
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
- package/dist/{UserOptions-trvJ26nz.js → UserOptions-BUQOnoPR.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-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-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-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
- package/dist/exposedLib-CZbtc2a6.js +25 -0
- package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
- package/dist/{package-ByOT60IK.js → package-BRBLwZUc.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
- package/dist/{render-common-D18VrP0h.js → render-common-DJXFRGhU.js} +10 -10
- 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/types/utils.d.ts +40 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bx_8d3b_.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
- package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
- package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
- package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
- package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
- package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
- package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-BUP1JoNs.js} +287 -287
- package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
- package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
- package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-AA-QjUQI.js} +42 -42
- package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CdBFGYOK.js} +37 -37
- package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
- package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-CgRph4-n.js} +32 -32
- package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
- package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-ClrukmcB.js} +3 -3
- package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
- package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-DtQCrMKL.js} +207 -207
- package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
- package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
- package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-PjwAW2tY.js} +71 -71
- package/dist/vue-ui-funnel-DojI09FV.js +782 -0
- package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
- package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-CoL0OzSd.js} +178 -178
- package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-yuL-_sqF.js} +20 -20
- package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-CbC5zV3K.js} +9 -9
- package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
- package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-CuWssH-D.js} +414 -414
- package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
- package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BdYenScF.js} +3 -3
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
- package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
- package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-B_6GFlaR.js} +261 -261
- package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
- package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
- package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
- package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
- package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
- package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-CzLGCFWK.js} +101 -101
- package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
- package/dist/vue-ui-ridgeline-BArLhskj.js +1628 -0
- package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
- package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
- package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-KeIPGp9U.js} +99 -99
- package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-C1mYDh4R.js} +17 -17
- package/dist/vue-ui-spark-trend-EqCqmHmU.js +443 -0
- package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-BPh45vBP.js} +66 -66
- package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-CtouPcyW.js} +65 -65
- package/dist/vue-ui-sparkhistogram-D4sI0DHN.js +576 -0
- package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-BDFZ78Fz.js} +51 -51
- package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
- package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-nMXIY9x8.js} +108 -108
- package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
- package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-BCf5nthl.js} +65 -65
- package/dist/vue-ui-table-BAKkFXki.js +1338 -0
- package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
- package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
- package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
- package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-Bz7EnsM1.js} +5 -5
- package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
- package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-JxNNtb7v.js} +232 -232
- package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
- package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
- package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
- package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-R9o00A6c.js} +210 -210
- package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-CUt6sU1s.js} +766 -766
- package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-Do34-UbE.js} +134 -134
- package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
- package/package.json +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
- package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
- package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
- package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
- package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
- package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
- package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
- package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
- package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
- package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
- package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
- package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
- package/dist/vue-ui-rings-J990vNbX.js +0 -1252
- package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
- package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
- package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
- package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
- package/dist/vue-ui-table-uudidrYt.js +0 -1338
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
- package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
- package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { c as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { Fragment as
|
|
2
|
+
import { At as t, Bt as n, E as r, K as i, Kt as a, Q as o, Y as s, bt as ee, et as c, g as te, qt as ne, s as re, st as ie, t as ae, ut as oe, y as l, zt as se } from "./lib-CnHx5WfV.js";
|
|
3
|
+
import { n as ce, r as le, t as ue } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
+
import { t as de } from "./useConfig-DYM3f6EI.js";
|
|
5
|
+
import { t as fe } from "./usePrinter-B-X_Pub0.js";
|
|
6
|
+
import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as he } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
+
import { t as ge } from "./useNestedProp-D8NuRneO.js";
|
|
9
|
+
import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as ve } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
+
import { t as ye } from "./img-CNdXiUfZ.js";
|
|
12
|
+
import { n as be } from "./Title-Cr3jP7Qd.js";
|
|
13
|
+
import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { c as Se } from "./canvas-lib-BOP_HS11.js";
|
|
15
|
+
import { t as Ce } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
+
import { t as we } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
+
import { t as Te } from "./SlicerPreview-3n516NyE.js";
|
|
18
|
+
import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
|
|
19
|
+
import { t as De } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
|
+
import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
+
import { t as ke } from "./vue_ui_candlestick-J8jmJvxP.js";
|
|
22
|
+
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ae, createTextVNode as je, createVNode as Me, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Ne, nextTick as Pe, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Fe, onMounted as Ie, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as T, toRefs as ze, unref as E, watch as Be, watchEffect as Ve, withCtx as D } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-candlestick.vue
|
|
24
24
|
var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
|
|
25
25
|
"xmlns",
|
|
@@ -166,7 +166,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
166
166
|
"d",
|
|
167
167
|
"stroke",
|
|
168
168
|
"stroke-width"
|
|
169
|
-
], xt = ["innerHTML"], St = /*#__PURE__*/
|
|
169
|
+
], xt = ["innerHTML"], St = /*#__PURE__*/ xe({
|
|
170
170
|
__name: "vue-ui-candlestick",
|
|
171
171
|
props: {
|
|
172
172
|
config: {
|
|
@@ -187,11 +187,11 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
187
187
|
}
|
|
188
188
|
},
|
|
189
189
|
emits: ["selectX", "copyAlt"],
|
|
190
|
-
setup(e, { expose:
|
|
191
|
-
let St =
|
|
190
|
+
setup(e, { expose: xe, emit: He }) {
|
|
191
|
+
let St = g(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), Ct = g(() => import("./Tooltip-CDbLl3TD.js")), wt = g(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), Tt = g(() => import("./DataTable-ByZy5gt1.js")), Et = g(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), Dt = g(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), Ot = g(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), kt = g(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), { vue_ui_candlestick: At } = de(), { isThemeValid: jt, warnInvalidTheme: Mt } = _e(), O = e, Nt = He, Pt = d(() => !!O.dataset && O.dataset.length), k = S(!1), Ft = S(null), A = S(i()), It = S(!1), Lt = S(""), j = S(void 0), Rt = S(0), M = S(null), zt = S(null), Bt = S(null), Vt = S(null), Ht = S(null), Ut = S(null), Wt = S(0), Gt = S(0), Kt = S(0), qt = S(null), Jt = S(null), Yt = S(null), Xt = S(null), Zt = S(null), Qt = S(!1), $t = S(!1), N = S(null), en = S({
|
|
192
192
|
x: 0,
|
|
193
193
|
y: 0
|
|
194
|
-
}), tn =
|
|
194
|
+
}), tn = S("pointer"), nn = S(!1), P = S(fn()), rn = d(() => P.value.userOptions.useCursorPointer), an = d(() => ne({
|
|
195
195
|
defaultConfig: {
|
|
196
196
|
useCssAnimation: !1,
|
|
197
197
|
userOptions: { show: !1 },
|
|
@@ -229,7 +229,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
231
|
userConfig: P.value.skeletonConfig ?? {}
|
|
232
|
-
})), { loading: F, FINAL_DATASET: I, manualLoading: on } =
|
|
232
|
+
})), { loading: F, FINAL_DATASET: I, manualLoading: on } = pe({
|
|
233
233
|
...ze(O),
|
|
234
234
|
FINAL_CONFIG: P,
|
|
235
235
|
prepareConfig: fn,
|
|
@@ -336,11 +336,11 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
336
336
|
5100
|
|
337
337
|
]
|
|
338
338
|
],
|
|
339
|
-
skeletonConfig:
|
|
339
|
+
skeletonConfig: ne({
|
|
340
340
|
defaultConfig: P.value,
|
|
341
341
|
userConfig: an.value
|
|
342
342
|
})
|
|
343
|
-
}), { userOptionsVisible: sn, setUserOptionsVisibility: cn, keepUserOptionState: ln } =
|
|
343
|
+
}), { userOptionsVisible: sn, setUserOptionsVisibility: cn, keepUserOptionState: ln } = De({ config: P.value }), { svgRef: L } = Oe({ config: P.value.style.title });
|
|
344
344
|
function un() {
|
|
345
345
|
cn(!0);
|
|
346
346
|
}
|
|
@@ -351,17 +351,17 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
351
351
|
}), j.value = null;
|
|
352
352
|
}
|
|
353
353
|
function fn() {
|
|
354
|
-
let e =
|
|
354
|
+
let e = ge({
|
|
355
355
|
userConfig: O.config,
|
|
356
356
|
defaultConfig: At
|
|
357
357
|
}), t = {}, n = e.theme;
|
|
358
358
|
if (n) if (!jt.value(e)) Mt(e), t = e;
|
|
359
359
|
else {
|
|
360
|
-
let r =
|
|
361
|
-
userConfig:
|
|
360
|
+
let r = ge({
|
|
361
|
+
userConfig: ke[n] || O.config,
|
|
362
362
|
defaultConfig: e
|
|
363
363
|
});
|
|
364
|
-
t = { ...
|
|
364
|
+
t = { ...ge({
|
|
365
365
|
userConfig: O.config,
|
|
366
366
|
defaultConfig: r
|
|
367
367
|
}) };
|
|
@@ -374,27 +374,27 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
374
374
|
}, { deep: !0 }), Be(() => O.dataset, (e) => {
|
|
375
375
|
Array.isArray(e) && e.length > 0 && (on.value = !1), tr();
|
|
376
376
|
}, { deep: !0 });
|
|
377
|
-
let R =
|
|
377
|
+
let R = S({
|
|
378
378
|
height: P.value.style.height,
|
|
379
379
|
width: P.value.style.width,
|
|
380
380
|
xAxisFontSize: P.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
381
381
|
yAxisFontSize: P.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
382
|
-
}), z =
|
|
383
|
-
|
|
382
|
+
}), z = Re(null), B = Re(null);
|
|
383
|
+
Ie(() => {
|
|
384
384
|
pn();
|
|
385
385
|
});
|
|
386
|
-
let V =
|
|
386
|
+
let V = d(() => !!P.value.debug);
|
|
387
387
|
function pn() {
|
|
388
|
-
if (
|
|
388
|
+
if (t(O.dataset) && (c({
|
|
389
389
|
componentName: "VueUiCandlestick",
|
|
390
390
|
type: "dataset",
|
|
391
391
|
debug: V.value
|
|
392
|
-
}), on.value = !0),
|
|
392
|
+
}), on.value = !0), t(O.dataset) || (on.value = P.value.loading), setTimeout(() => {
|
|
393
393
|
k.value = !0;
|
|
394
394
|
}, 10), P.value.responsive) {
|
|
395
|
-
let e =
|
|
395
|
+
let e = Se(() => {
|
|
396
396
|
k.value = !1;
|
|
397
|
-
let { width: e, height: t } =
|
|
397
|
+
let { width: e, height: t } = Ce({
|
|
398
398
|
chart: M.value,
|
|
399
399
|
title: P.value.style.title.text ? zt.value : null,
|
|
400
400
|
slicer: P.value.style.zoom.show && G.value > 6 ? Vt.value.$el : null,
|
|
@@ -403,13 +403,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
403
403
|
noTitle: Ut.value
|
|
404
404
|
});
|
|
405
405
|
requestAnimationFrame(() => {
|
|
406
|
-
R.value.width = e, R.value.height = t - 12, P.value.responsiveProportionalSizing ? (R.value.xAxisFontSize =
|
|
406
|
+
R.value.width = e, R.value.height = t - 12, P.value.responsiveProportionalSizing ? (R.value.xAxisFontSize = a({
|
|
407
407
|
relator: Math.min(e, t),
|
|
408
408
|
adjuster: P.value.style.width,
|
|
409
409
|
source: P.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
410
410
|
threshold: 6,
|
|
411
411
|
fallback: 6
|
|
412
|
-
}), R.value.yAxisFontSize =
|
|
412
|
+
}), R.value.yAxisFontSize = a({
|
|
413
413
|
relator: Math.min(e, t),
|
|
414
414
|
adjuster: P.value.style.width,
|
|
415
415
|
source: P.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
@@ -424,17 +424,17 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
424
424
|
}
|
|
425
425
|
ar();
|
|
426
426
|
}
|
|
427
|
-
|
|
427
|
+
Fe(() => {
|
|
428
428
|
z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
|
|
429
429
|
});
|
|
430
|
-
let { isPrinting: mn, isImaging: hn, generatePdf: gn, generateImage: _n } =
|
|
430
|
+
let { isPrinting: mn, isImaging: hn, generatePdf: gn, generateImage: _n } = fe({
|
|
431
431
|
elementId: `vue-ui-candlestick_${A.value}`,
|
|
432
432
|
fileName: P.value.style.title.text || "vue-ui-candlestick",
|
|
433
433
|
options: P.value.userOptions.print
|
|
434
|
-
}), vn =
|
|
434
|
+
}), vn = d(() => P.value.userOptions.show && !P.value.style.title.text), H = S({
|
|
435
435
|
showTable: P.value.table.show,
|
|
436
436
|
showTooltip: P.value.style.tooltip.show
|
|
437
|
-
}), yn =
|
|
437
|
+
}), yn = S(0), bn = Se((e) => {
|
|
438
438
|
yn.value = e;
|
|
439
439
|
}, 100);
|
|
440
440
|
Ve((e) => {
|
|
@@ -444,13 +444,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
444
444
|
bn(e[0].contentRect.height);
|
|
445
445
|
});
|
|
446
446
|
n.observe(t), e(() => n.disconnect());
|
|
447
|
-
}),
|
|
447
|
+
}), Fe(() => {
|
|
448
448
|
yn.value = 0;
|
|
449
449
|
});
|
|
450
|
-
let xn =
|
|
450
|
+
let xn = d(() => {
|
|
451
451
|
let e = 0;
|
|
452
452
|
return Jt.value && (e = yn.value + R.value.xAxisFontSize), e;
|
|
453
|
-
}), U =
|
|
453
|
+
}), U = d(() => P.value.style.layout.grid.yAxis.position === "right");
|
|
454
454
|
function Sn() {
|
|
455
455
|
let e = P.value.style.layout.grid.yAxis.dataLabels.offsetX;
|
|
456
456
|
qt.value && (e = Array.from(qt.value.querySelectorAll("text")).reduce((e, t) => {
|
|
@@ -466,7 +466,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
466
466
|
crosshair: 13
|
|
467
467
|
};
|
|
468
468
|
}
|
|
469
|
-
let W =
|
|
469
|
+
let W = d(() => {
|
|
470
470
|
let { top: e, right: t, bottom: n, left: r } = P.value.style.layout.padding, i = Sn();
|
|
471
471
|
return {
|
|
472
472
|
top: e + 12,
|
|
@@ -479,12 +479,12 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
479
479
|
yAxisNameWidth: i.yAxisNameWidth,
|
|
480
480
|
crosshair: i.crosshair
|
|
481
481
|
};
|
|
482
|
-
}), Cn =
|
|
483
|
-
let { left: e, top: t, width: n, height: r } = W.value, i = K.value.start, a = K.value.end - i, o = n / a, s = q.value.start - i,
|
|
482
|
+
}), Cn = d(() => {
|
|
483
|
+
let { left: e, top: t, width: n, height: r } = W.value, i = K.value.start, a = K.value.end - i, o = n / a, s = q.value.start - i, ee = q.value.end - i, c = Math.max(0, Math.min(a, s)), te = Math.max(0, Math.min(a, ee));
|
|
484
484
|
return {
|
|
485
|
-
x: e +
|
|
485
|
+
x: e + c * o,
|
|
486
486
|
y: t,
|
|
487
|
-
width: (
|
|
487
|
+
width: (te - c) * o,
|
|
488
488
|
height: r,
|
|
489
489
|
fill: P.value.style.zoom.preview.fill,
|
|
490
490
|
stroke: P.value.style.zoom.preview.stroke,
|
|
@@ -498,13 +498,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
498
498
|
animation: "none !important"
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
|
-
}), G =
|
|
501
|
+
}), G = d(() => I.value.length), K = S({
|
|
502
502
|
start: 0,
|
|
503
503
|
end: G.value
|
|
504
|
-
}), q =
|
|
504
|
+
}), q = S({
|
|
505
505
|
start: 0,
|
|
506
506
|
end: G.value
|
|
507
|
-
}), wn =
|
|
507
|
+
}), wn = d(() => P.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
|
|
508
508
|
function Tn(e, t) {
|
|
509
509
|
q.value[e] = t;
|
|
510
510
|
}
|
|
@@ -512,45 +512,45 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
512
512
|
let e = Math.max(0, Math.min(K.value.start ?? 0, G.value - 1)), t = Math.max(e + 1, Math.min(K.value.end ?? G.value, G.value));
|
|
513
513
|
(!Number.isFinite(e) || !Number.isFinite(t) || t <= e) && (e = 0, t = G.value), K.value.start = e, K.value.end = t, q.value.start = e, q.value.end = t, Vt.value && (Vt.value.setStartValue(e), Vt.value.setEndValue(t));
|
|
514
514
|
}
|
|
515
|
-
let Dn =
|
|
515
|
+
let Dn = d(() => I.value.map((e, t) => ({
|
|
516
516
|
...e,
|
|
517
517
|
absoluteIndex: t
|
|
518
|
-
}))), On =
|
|
519
|
-
[null, void 0].includes(e[0]) &&
|
|
518
|
+
}))), On = d(() => Dn.value.slice(K.value.start, K.value.end)), J = d(() => (I.value.forEach((e, t) => {
|
|
519
|
+
[null, void 0].includes(e[0]) && c({
|
|
520
520
|
componentName: "VueUiCandlestick",
|
|
521
521
|
type: "datasetAttribute",
|
|
522
522
|
property: "period (index 0)",
|
|
523
|
-
index:
|
|
523
|
+
index: t,
|
|
524
524
|
debug: V.value
|
|
525
|
-
}), [null, void 0].includes(e[1]) &&
|
|
525
|
+
}), [null, void 0].includes(e[1]) && c({
|
|
526
526
|
componentName: "VueUiCandlestick",
|
|
527
527
|
type: "datasetAttribute",
|
|
528
528
|
property: "open (index 1)",
|
|
529
|
-
index:
|
|
529
|
+
index: t,
|
|
530
530
|
debug: V.value
|
|
531
|
-
}), [null, void 0].includes(e[2]) &&
|
|
531
|
+
}), [null, void 0].includes(e[2]) && c({
|
|
532
532
|
componentName: "VueUiCandlestick",
|
|
533
533
|
type: "datasetAttribute",
|
|
534
534
|
property: "high (index 2)",
|
|
535
|
-
index:
|
|
535
|
+
index: t,
|
|
536
536
|
debug: V.value
|
|
537
|
-
}), [null, void 0].includes(e[3]) &&
|
|
537
|
+
}), [null, void 0].includes(e[3]) && c({
|
|
538
538
|
componentName: "VueUiCandlestick",
|
|
539
539
|
type: "datasetAttribute",
|
|
540
540
|
property: "low (index 3)",
|
|
541
|
-
index:
|
|
541
|
+
index: t,
|
|
542
542
|
debug: V.value
|
|
543
|
-
}), [null, void 0].includes(e[4]) &&
|
|
543
|
+
}), [null, void 0].includes(e[4]) && c({
|
|
544
544
|
componentName: "VueUiCandlestick",
|
|
545
545
|
type: "datasetAttribute",
|
|
546
546
|
property: "close (index 4)",
|
|
547
|
-
index:
|
|
547
|
+
index: t,
|
|
548
548
|
debug: V.value
|
|
549
|
-
}), [null, void 0].includes(e[5]) &&
|
|
549
|
+
}), [null, void 0].includes(e[5]) && c({
|
|
550
550
|
componentName: "VueUiCandlestick",
|
|
551
551
|
type: "datasetAttribute",
|
|
552
552
|
property: "volume (index 5)",
|
|
553
|
-
index:
|
|
553
|
+
index: t,
|
|
554
554
|
debug: V.value
|
|
555
555
|
});
|
|
556
556
|
}), On.value.map((e) => ({
|
|
@@ -561,7 +561,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
561
561
|
low: e[3],
|
|
562
562
|
close: e[4],
|
|
563
563
|
volume: e[5]
|
|
564
|
-
})))), kn =
|
|
564
|
+
})))), kn = d(() => Dn.value.map((e) => ({
|
|
565
565
|
absoluteIndex: e.absoluteIndex,
|
|
566
566
|
period: e[0],
|
|
567
567
|
open: e[1],
|
|
@@ -569,21 +569,21 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
569
569
|
low: e[3],
|
|
570
570
|
close: e[4],
|
|
571
571
|
volume: e[5]
|
|
572
|
-
}))), Y =
|
|
572
|
+
}))), Y = d(() => W.value.width / On.value.length), An = d(() => ({
|
|
573
573
|
max: P.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...J.value.map((e) => e.high)) : P.value.style.layout.grid.yAxis.scale.max,
|
|
574
574
|
min: P.value.style.layout.grid.yAxis.scale.min === null ? 0 : P.value.style.layout.grid.yAxis.scale.min
|
|
575
|
-
})), X =
|
|
575
|
+
})), X = d(() => te(An.value.min, An.value.max, P.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
576
576
|
function jn(e, t, n = null, r = null) {
|
|
577
577
|
return {
|
|
578
578
|
...e,
|
|
579
|
-
x:
|
|
580
|
-
y:
|
|
581
|
-
value:
|
|
579
|
+
x: l(W.value.left + t * Y.value + Y.value / 2),
|
|
580
|
+
y: l(W.value.top + (1 - (e - X.value.min) / (X.value.max - X.value.min)) * W.value.height),
|
|
581
|
+
value: l(e),
|
|
582
582
|
isMax: e === n,
|
|
583
583
|
isMin: e === r
|
|
584
584
|
};
|
|
585
585
|
}
|
|
586
|
-
let Z =
|
|
586
|
+
let Z = d(() => {
|
|
587
587
|
let e = {
|
|
588
588
|
o: Math.max(...J.value.map((e) => e.open)),
|
|
589
589
|
h: Math.max(...J.value.map((e) => e.high)),
|
|
@@ -596,18 +596,18 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
596
596
|
c: Math.min(...J.value.map((e) => e.low))
|
|
597
597
|
}, n = Math.max(...J.value.map((e) => e.volume)), r = Math.min(...J.value.map((e) => e.volume));
|
|
598
598
|
return J.value.map((i, a) => {
|
|
599
|
-
let o = jn(i.open, a, e.o, t.o), s = jn(i.high, a, e.h, t.h),
|
|
599
|
+
let o = jn(i.open, a, e.o, t.o), s = jn(i.high, a, e.h, t.h), ee = jn(i.low, a, e.l, t.l), c = jn(i.close, a, e.c, t.c), te = i.close > i.open, ne = i.volume === n, re = i.volume === r;
|
|
600
600
|
return {
|
|
601
601
|
period: i.period,
|
|
602
602
|
open: o,
|
|
603
603
|
high: s,
|
|
604
|
-
low:
|
|
605
|
-
close:
|
|
604
|
+
low: ee,
|
|
605
|
+
close: c,
|
|
606
606
|
volume: i.volume,
|
|
607
|
-
isBullish:
|
|
607
|
+
isBullish: te,
|
|
608
608
|
absoluteIndex: i.absoluteIndex,
|
|
609
|
-
isMaxVolume:
|
|
610
|
-
isMinVolume:
|
|
609
|
+
isMaxVolume: ne,
|
|
610
|
+
isMinVolume: re
|
|
611
611
|
};
|
|
612
612
|
});
|
|
613
613
|
});
|
|
@@ -615,12 +615,12 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
615
615
|
let i = P.value.style.layout.grid.yAxis.scale.min ?? 0, a = P.value.style.layout.grid.yAxis.scale.max ?? Math.max(...I.value.map((e) => e[2]));
|
|
616
616
|
return {
|
|
617
617
|
...e,
|
|
618
|
-
x:
|
|
619
|
-
y:
|
|
620
|
-
value:
|
|
618
|
+
x: l(t * r),
|
|
619
|
+
y: l((1 - (e - i) / (a - i)) * n),
|
|
620
|
+
value: l(e)
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
|
-
let Nn =
|
|
623
|
+
let Nn = d(() => ({ minimapH: e, unitW: t }) => kn.value.map((n, r) => {
|
|
624
624
|
let i = Mn({
|
|
625
625
|
item: n.open,
|
|
626
626
|
index: r,
|
|
@@ -641,7 +641,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
641
641
|
index: r,
|
|
642
642
|
minimapH: e,
|
|
643
643
|
unitW: t
|
|
644
|
-
}),
|
|
644
|
+
}), ee = n.close > n.open;
|
|
645
645
|
return {
|
|
646
646
|
period: n.period,
|
|
647
647
|
open: i,
|
|
@@ -649,26 +649,26 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
649
649
|
low: o,
|
|
650
650
|
close: s,
|
|
651
651
|
volume: n.volume,
|
|
652
|
-
isBullish:
|
|
652
|
+
isBullish: ee,
|
|
653
653
|
absoluteIndex: n.absoluteIndex
|
|
654
654
|
};
|
|
655
|
-
})), Pn =
|
|
655
|
+
})), Pn = d(() => P.value.style.zoom.minimap.show ? [{
|
|
656
656
|
name: "",
|
|
657
657
|
series: I.value.map((e) => e[2]),
|
|
658
658
|
color: "#000000",
|
|
659
659
|
isVisible: !0
|
|
660
660
|
}] : []);
|
|
661
661
|
function Fn(e) {
|
|
662
|
-
return
|
|
662
|
+
return l((e - X.value.min) / (X.value.max - X.value.min));
|
|
663
663
|
}
|
|
664
|
-
let In =
|
|
664
|
+
let In = d(() => X.value.ticks.map((e) => ({
|
|
665
665
|
y: W.value.bottom - W.value.height * Fn(e),
|
|
666
|
-
value:
|
|
667
|
-
}))), Ln =
|
|
666
|
+
value: l(e)
|
|
667
|
+
}))), Ln = d(() => J.value.map((e) => e.period)), Q = S([]), Rn = S([]), zn = 0;
|
|
668
668
|
Ve(() => {
|
|
669
669
|
let e = ++zn;
|
|
670
670
|
(async () => {
|
|
671
|
-
let t = await
|
|
671
|
+
let t = await ue({
|
|
672
672
|
values: I.value.map((e) => e[0]),
|
|
673
673
|
maxDatapoints: I.value.length,
|
|
674
674
|
formatter: P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
@@ -682,7 +682,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
682
682
|
Ve(() => {
|
|
683
683
|
let e = ++Bn;
|
|
684
684
|
(async () => {
|
|
685
|
-
let t = await
|
|
685
|
+
let t = await ue({
|
|
686
686
|
values: I.value.map((e) => e[0]),
|
|
687
687
|
maxDatapoints: I.value.length,
|
|
688
688
|
formatter: P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
@@ -692,10 +692,10 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
692
692
|
e === Bn && (Rn.value = t);
|
|
693
693
|
})();
|
|
694
694
|
});
|
|
695
|
-
let Vn =
|
|
695
|
+
let Vn = d(() => {
|
|
696
696
|
let e = P.value.style.layout.grid.xAxis.dataLabels.modulo;
|
|
697
697
|
return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
|
|
698
|
-
}), Hn =
|
|
698
|
+
}), Hn = S({
|
|
699
699
|
months: [],
|
|
700
700
|
shortMonths: [],
|
|
701
701
|
days: [],
|
|
@@ -704,12 +704,12 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
704
704
|
Ve(() => {
|
|
705
705
|
let e = ++Un, t = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
|
|
706
706
|
(async () => {
|
|
707
|
-
let n = await
|
|
707
|
+
let n = await le(t.locale).catch(() => le("en"));
|
|
708
708
|
e === Un && (Hn.value = n.data);
|
|
709
709
|
})();
|
|
710
710
|
});
|
|
711
|
-
let Wn =
|
|
712
|
-
let e = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t =
|
|
711
|
+
let Wn = d(() => {
|
|
712
|
+
let e = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = ce({
|
|
713
713
|
useUTC: e.useUTC,
|
|
714
714
|
locale: Hn.value,
|
|
715
715
|
januaryAsYear: e.januaryAsYear
|
|
@@ -718,22 +718,22 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
718
718
|
let r = I.value.map((e) => e[0])?.[e];
|
|
719
719
|
return r == null ? "" : t.formatDate(new Date(r), n);
|
|
720
720
|
};
|
|
721
|
-
}), Gn =
|
|
721
|
+
}), Gn = d(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
|
|
722
722
|
text: Wn.value(t, P.value.style.tooltip.timeFormat),
|
|
723
723
|
absoluteIndex: t
|
|
724
|
-
}))), Kn =
|
|
724
|
+
}))), Kn = d(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
|
|
725
725
|
text: Wn.value(t, P.value.style.zoom.timeFormat),
|
|
726
726
|
absoluteIndex: t
|
|
727
|
-
}))), qn =
|
|
727
|
+
}))), qn = d(() => {
|
|
728
728
|
let e = P.value.style.layout.grid.xAxis.dataLabels, t = Q.value || [], n = Rn.value || [], r = K.value.start ?? 0, i = j.value, a = G.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
|
|
729
|
-
return
|
|
730
|
-
}), Jn =
|
|
729
|
+
return re(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Vn.value || 1), o, s, r, i, a);
|
|
730
|
+
}), Jn = d(() => P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
|
|
731
731
|
start: Q.value.find((e) => e.absoluteIndex === K.value.start)?.text ?? "",
|
|
732
732
|
end: Q.value.find((e) => e.absoluteIndex === K.value.end - 1)?.text ?? ""
|
|
733
733
|
} : {
|
|
734
734
|
start: I.value[K.value.start] ? I.value[K.value.start][0] : I.value[0][0],
|
|
735
735
|
end: I.value[K.value.end - 1] ? I.value[K.value.end - 1][0] : I.value.at(-1)[0]
|
|
736
|
-
}), Yn =
|
|
736
|
+
}), Yn = S(null);
|
|
737
737
|
function Xn(e, t) {
|
|
738
738
|
P.value.events.datapointClick && P.value.events.datapointClick({
|
|
739
739
|
datapoint: t,
|
|
@@ -768,7 +768,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
768
768
|
datapoint: t
|
|
769
769
|
});
|
|
770
770
|
let r = P.value.style.tooltip.customFormat;
|
|
771
|
-
if (
|
|
771
|
+
if (ee(r) && ie(() => r({
|
|
772
772
|
seriesIndex: e,
|
|
773
773
|
datapoint: t,
|
|
774
774
|
series: Z.value,
|
|
@@ -780,27 +780,27 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
780
780
|
config: P.value
|
|
781
781
|
});
|
|
782
782
|
else if (P.value.style.tooltip.show) {
|
|
783
|
-
let n = "", { period: r, open:
|
|
783
|
+
let n = "", { period: r, open: i, high: a, low: o, close: ee, volume: c, isBullish: te } = Z.value[e], { period: ne, open: re, high: ie, low: ae, close: oe, volume: l } = P.value.translations, se = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? P.value.style.tooltip.useDefaultTimeFormat ? Q.value[e].text : Gn.value[e].text : r;
|
|
784
784
|
n += `<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.style.layout.candle.borderRadius * 3}" stroke="${P.value.style.layout.candle.stroke}" stroke-width="${P.value.style.layout.candle.strokeWidth}"
|
|
785
|
-
fill="${P.value.style.layout.candle.gradient.show ?
|
|
786
|
-
let
|
|
785
|
+
fill="${P.value.style.layout.candle.gradient.show ? te ? `url(#bullish_gradient_${A.value})` : `url(#bearish_gradient_${A.value})` : te ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}"/></svg>${se}</div>`, n += `${l} : <b>${isNaN(c) ? "-" : Number(c.toFixed(P.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${P.value.style.tooltip.borderColor}">`;
|
|
786
|
+
let ce = s({
|
|
787
787
|
p: P.value.style.tooltip.prefix,
|
|
788
|
-
v:
|
|
788
|
+
v: i.value,
|
|
789
789
|
s: P.value.style.tooltip.suffix,
|
|
790
790
|
r: P.value.style.tooltip.roundingValue
|
|
791
|
-
}),
|
|
791
|
+
}), le = s({
|
|
792
792
|
p: P.value.style.tooltip.prefix,
|
|
793
|
-
v:
|
|
793
|
+
v: a.value,
|
|
794
794
|
s: P.value.style.tooltip.suffix,
|
|
795
795
|
r: P.value.style.tooltip.roundingValue
|
|
796
|
-
}),
|
|
796
|
+
}), ue = s({
|
|
797
797
|
p: P.value.style.tooltip.prefix,
|
|
798
|
-
v:
|
|
798
|
+
v: o.value,
|
|
799
799
|
s: P.value.style.tooltip.suffix,
|
|
800
800
|
r: P.value.style.tooltip.roundingValue
|
|
801
|
-
}),
|
|
801
|
+
}), de = s({
|
|
802
802
|
p: P.value.style.tooltip.prefix,
|
|
803
|
-
v:
|
|
803
|
+
v: ee.value,
|
|
804
804
|
s: P.value.style.tooltip.suffix,
|
|
805
805
|
r: P.value.style.tooltip.roundingValue
|
|
806
806
|
});
|
|
@@ -811,36 +811,36 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
811
811
|
${t.isBullish ? `
|
|
812
812
|
<line x1="45" x2="50" y1="65" y2="65" stroke="${P.value.style.layout.candle.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
|
|
813
813
|
<line x1="50" x2="55" y1="35" y2="35" stroke="${P.value.style.layout.candle.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
|
|
814
|
-
<text x="38" y="70" text-anchor="end" fill="${P.value.style.tooltip.color}">${
|
|
815
|
-
<text x="62" y="40" text-anchor="start" fill="${P.value.style.tooltip.color}">${
|
|
814
|
+
<text x="38" y="70" text-anchor="end" fill="${P.value.style.tooltip.color}">${ce}</text>
|
|
815
|
+
<text x="62" y="40" text-anchor="start" fill="${P.value.style.tooltip.color}">${de}</text>
|
|
816
816
|
` : `
|
|
817
817
|
<line x1="45" x2="50" y1="35" y2="35" stroke="${P.value.style.layout.candle.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
|
|
818
818
|
<line x1="50" x2="55" y1="65" y2="65" stroke="${P.value.style.layout.candle.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
|
|
819
|
-
<text x="40" y="40" text-anchor="end" fill="${P.value.style.tooltip.color}">${
|
|
820
|
-
<text x="60" y="70" text-anchor="start" fill="${P.value.style.tooltip.color}">${
|
|
819
|
+
<text x="40" y="40" text-anchor="end" fill="${P.value.style.tooltip.color}">${ce}</text>
|
|
820
|
+
<text x="60" y="70" text-anchor="start" fill="${P.value.style.tooltip.color}">${de}</text>
|
|
821
821
|
`}
|
|
822
|
-
<text x="50" y="13" text-anchor="middle" fill="${P.value.style.tooltip.color}">${
|
|
823
|
-
<text x="50" y="97" text-anchor="middle" fill="${P.value.style.tooltip.color}">${
|
|
822
|
+
<text x="50" y="13" text-anchor="middle" fill="${P.value.style.tooltip.color}">${le}</text>
|
|
823
|
+
<text x="50" y="97" text-anchor="middle" fill="${P.value.style.tooltip.color}">${ue}</text>
|
|
824
824
|
<g>
|
|
825
825
|
</svg>
|
|
826
826
|
<div>
|
|
827
|
-
` : (n += `<div>${
|
|
827
|
+
` : (n += `<div>${re}: <b>${ce}</b></div>`, n += `<div>${ie}: <b>${le}</b></div>`, n += `<div>${ae}: <b>${ue}</b></div>`, n += `<div>${oe}: <b>${de}</b></div>`), n += "</div>", Lt.value = `<div style="text-align:right">${n}</div>`;
|
|
828
828
|
}
|
|
829
829
|
It.value = !0;
|
|
830
830
|
}
|
|
831
|
-
let $n =
|
|
831
|
+
let $n = S(null);
|
|
832
832
|
function er() {
|
|
833
833
|
return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
|
|
834
834
|
}
|
|
835
|
-
|
|
835
|
+
Fe(() => {
|
|
836
836
|
$n.value && cancelAnimationFrame($n.value);
|
|
837
837
|
});
|
|
838
838
|
async function tr() {
|
|
839
|
-
ar(), await
|
|
839
|
+
ar(), await Pe(), $n.value && cancelAnimationFrame($n.value), $n.value = requestAnimationFrame(async () => {
|
|
840
840
|
await er(), ar();
|
|
841
841
|
});
|
|
842
842
|
}
|
|
843
|
-
let nr =
|
|
843
|
+
let nr = S(!1), rr = S(!1), ir = S(!1);
|
|
844
844
|
function ar() {
|
|
845
845
|
if (!nr.value) {
|
|
846
846
|
nr.value = !0;
|
|
@@ -859,7 +859,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
859
859
|
return e > t ? t : e < 0 || e < K.value.start ? P.value.style.zoom.startIndex === null ? 1 : P.value.style.zoom.startIndex + 1 : e;
|
|
860
860
|
}
|
|
861
861
|
function sr(e = null) {
|
|
862
|
-
|
|
862
|
+
Pe(() => {
|
|
863
863
|
let t = [
|
|
864
864
|
P.value.translations.period,
|
|
865
865
|
P.value.translations.open,
|
|
@@ -874,7 +874,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
874
874
|
e.low.value,
|
|
875
875
|
e.close.value,
|
|
876
876
|
e.volume
|
|
877
|
-
]),
|
|
877
|
+
]), i = r([
|
|
878
878
|
[P.value.style.title.text],
|
|
879
879
|
[P.value.style.title.subtitle.text],
|
|
880
880
|
[
|
|
@@ -884,30 +884,30 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
884
884
|
],
|
|
885
885
|
t
|
|
886
886
|
].concat(n));
|
|
887
|
-
e ? e(
|
|
888
|
-
csvContent:
|
|
887
|
+
e ? e(i) : o({
|
|
888
|
+
csvContent: i,
|
|
889
889
|
title: P.value.style.title.text || "vue-ui-candlestick"
|
|
890
890
|
});
|
|
891
891
|
});
|
|
892
892
|
}
|
|
893
|
-
let cr =
|
|
893
|
+
let cr = d(() => {
|
|
894
894
|
let e = Z.value.map((e, t) => {
|
|
895
|
-
let n = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, r =
|
|
895
|
+
let n = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, r = s({
|
|
896
896
|
p: P.value.table.td.prefix,
|
|
897
897
|
v: e.open.value,
|
|
898
898
|
s: P.value.table.td.suffix,
|
|
899
899
|
r: P.value.table.td.roundingValue
|
|
900
|
-
}),
|
|
900
|
+
}), i = s({
|
|
901
901
|
p: P.value.table.td.prefix,
|
|
902
902
|
v: e.high.value,
|
|
903
903
|
s: P.value.table.td.suffix,
|
|
904
904
|
r: P.value.table.td.roundingValue
|
|
905
|
-
}),
|
|
905
|
+
}), a = s({
|
|
906
906
|
p: P.value.table.td.prefix,
|
|
907
907
|
v: e.low.value,
|
|
908
908
|
s: P.value.table.td.suffix,
|
|
909
909
|
r: P.value.table.td.roundingValue
|
|
910
|
-
}),
|
|
910
|
+
}), o = s({
|
|
911
911
|
p: P.value.table.td.prefix,
|
|
912
912
|
v: e.close.value,
|
|
913
913
|
s: P.value.table.td.suffix,
|
|
@@ -916,32 +916,32 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
916
916
|
return [
|
|
917
917
|
`<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.style.layout.candle.borderRadius * 3}" fill="${P.value.style.layout.candle.gradient.show ? e.isBullish ? `url(#bullish_gradient_${A.value}` : `url(#bearish_gradient_${A.value})` : e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}"/></svg> ${n}`,
|
|
918
918
|
r,
|
|
919
|
+
i,
|
|
919
920
|
a,
|
|
920
921
|
o,
|
|
921
|
-
s,
|
|
922
922
|
`${isNaN(e.volume) ? "-" : e.volume.toLocaleString()}`
|
|
923
923
|
];
|
|
924
924
|
}), t = Z.value.map((e, t) => [
|
|
925
925
|
P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period,
|
|
926
|
-
|
|
926
|
+
s({
|
|
927
927
|
p: P.value.table.td.prefix,
|
|
928
928
|
v: e.open.value,
|
|
929
929
|
s: P.value.table.td.suffix,
|
|
930
930
|
r: P.value.table.td.roundingValue
|
|
931
931
|
}),
|
|
932
|
-
|
|
932
|
+
s({
|
|
933
933
|
p: P.value.table.td.prefix,
|
|
934
934
|
v: e.high.value,
|
|
935
935
|
s: P.value.table.td.suffix,
|
|
936
936
|
r: P.value.table.td.roundingValue
|
|
937
937
|
}),
|
|
938
|
-
|
|
938
|
+
s({
|
|
939
939
|
p: P.value.table.td.prefix,
|
|
940
940
|
v: e.low.value,
|
|
941
941
|
s: P.value.table.td.suffix,
|
|
942
942
|
r: P.value.table.td.roundingValue
|
|
943
943
|
}),
|
|
944
|
-
|
|
944
|
+
s({
|
|
945
945
|
p: P.value.table.td.prefix,
|
|
946
946
|
v: e.close.value,
|
|
947
947
|
s: P.value.table.td.suffix,
|
|
@@ -975,7 +975,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
975
975
|
config: n,
|
|
976
976
|
colNames: r
|
|
977
977
|
};
|
|
978
|
-
}), $ =
|
|
978
|
+
}), $ = S(!1);
|
|
979
979
|
function lr(e) {
|
|
980
980
|
$.value = e, Rt.value += 1;
|
|
981
981
|
}
|
|
@@ -985,13 +985,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
985
985
|
function dr() {
|
|
986
986
|
H.value.showTooltip = !H.value.showTooltip;
|
|
987
987
|
}
|
|
988
|
-
let fr =
|
|
988
|
+
let fr = S(!1);
|
|
989
989
|
function pr() {
|
|
990
990
|
fr.value = !fr.value;
|
|
991
991
|
}
|
|
992
992
|
async function mr({ scale: e = 2 } = {}) {
|
|
993
993
|
if (!M.value) return;
|
|
994
|
-
let { imageUri: t, base64: n } = await
|
|
994
|
+
let { imageUri: t, base64: n } = await ye({
|
|
995
995
|
domElement: M.value,
|
|
996
996
|
base64: !0,
|
|
997
997
|
img: !0,
|
|
@@ -1000,7 +1000,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1000
1000
|
width: r.width,
|
|
1001
1001
|
height: r.height,
|
|
1002
1002
|
aspectRatio: r.height ? r.width / r.height : 0
|
|
1003
|
-
}, a = await
|
|
1003
|
+
}, a = await oe(t, e) ?? i;
|
|
1004
1004
|
return {
|
|
1005
1005
|
imageUri: t,
|
|
1006
1006
|
base64: n,
|
|
@@ -1008,8 +1008,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1008
1008
|
...a
|
|
1009
1009
|
};
|
|
1010
1010
|
}
|
|
1011
|
-
let hr =
|
|
1012
|
-
|
|
1011
|
+
let hr = d(() => R.value.width), gr = d(() => R.value.height);
|
|
1012
|
+
ve({
|
|
1013
1013
|
timeLabelsEls: Jt,
|
|
1014
1014
|
timeLabels: Q,
|
|
1015
1015
|
slicer: K,
|
|
@@ -1041,7 +1041,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1041
1041
|
showTooltip: P.value.style.tooltip.show
|
|
1042
1042
|
};
|
|
1043
1043
|
}, { immediate: !0 });
|
|
1044
|
-
let _r =
|
|
1044
|
+
let _r = d(() => {
|
|
1045
1045
|
let e = P.value.table.useDialog && !P.value.table.show, t = H.value.showTable;
|
|
1046
1046
|
return {
|
|
1047
1047
|
component: e ? kt : wt,
|
|
@@ -1078,13 +1078,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1078
1078
|
function vr() {
|
|
1079
1079
|
H.value.showTable = !1, Xt.value && Xt.value.setTableIconState(!1);
|
|
1080
1080
|
}
|
|
1081
|
-
let yr =
|
|
1081
|
+
let yr = d(() => P.value.style.backgroundColor), { exportSvg: br, getSvg: xr } = he({
|
|
1082
1082
|
svg: L,
|
|
1083
|
-
title:
|
|
1083
|
+
title: d(() => P.value.style.title),
|
|
1084
1084
|
backgroundColor: yr
|
|
1085
1085
|
});
|
|
1086
1086
|
async function Sr({ isCb: e }) {
|
|
1087
|
-
$t.value = !0, await
|
|
1087
|
+
$t.value = !0, await Pe();
|
|
1088
1088
|
try {
|
|
1089
1089
|
if (e) {
|
|
1090
1090
|
let { blob: e, url: t, text: n, dataUrl: r } = await xr();
|
|
@@ -1162,10 +1162,10 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1162
1162
|
Xn(N.value, e);
|
|
1163
1163
|
return;
|
|
1164
1164
|
}
|
|
1165
|
-
let a = N.value, o = j.value, s = a !== null && a >= 0 && a < Z.value.length,
|
|
1166
|
-
s ? n ? (a += 1, a >= Z.value.length && (a = 0)) : t && (--a, a < 0 && (a = Z.value.length - 1)) :
|
|
1167
|
-
let
|
|
1168
|
-
|
|
1165
|
+
let a = N.value, o = j.value, s = a !== null && a >= 0 && a < Z.value.length, ee = o != null && o >= 0 && o < Z.value.length;
|
|
1166
|
+
s ? n ? (a += 1, a >= Z.value.length && (a = 0)) : t && (--a, a < 0 && (a = Z.value.length - 1)) : ee ? (a = n ? o + 1 : o - 1, a >= Z.value.length && (a = 0), a < 0 && (a = Z.value.length - 1)) : a = n ? 0 : Z.value.length - 1;
|
|
1167
|
+
let c = Z.value[a];
|
|
1168
|
+
c && (Mr(a), Qn(a, c, "keyboard"));
|
|
1169
1169
|
}
|
|
1170
1170
|
function Mr(e) {
|
|
1171
1171
|
if (!Number.isFinite(e) || !L.value) return;
|
|
@@ -1175,11 +1175,11 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1175
1175
|
y: r.top + n / R.value.height * r.height
|
|
1176
1176
|
};
|
|
1177
1177
|
}
|
|
1178
|
-
let Nr =
|
|
1178
|
+
let Nr = d(() => ({
|
|
1179
1179
|
headers: cr.value?.colNames ?? [],
|
|
1180
1180
|
rows: cr.value?.bodyA11y ?? []
|
|
1181
1181
|
}));
|
|
1182
|
-
return
|
|
1182
|
+
return xe({
|
|
1183
1183
|
getImage: mr,
|
|
1184
1184
|
generatePdf: gn,
|
|
1185
1185
|
generateCsv: sr,
|
|
@@ -1190,20 +1190,20 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1190
1190
|
toggleAnnotator: pr,
|
|
1191
1191
|
toggleFullscreen: lr,
|
|
1192
1192
|
copyAlt: Or
|
|
1193
|
-
}), (e, t) => (
|
|
1193
|
+
}), (e, t) => (x(), m("div", {
|
|
1194
1194
|
ref_key: "candlestickChart",
|
|
1195
1195
|
ref: M,
|
|
1196
|
-
class:
|
|
1197
|
-
style:
|
|
1196
|
+
class: v(`vue-data-ui-component vue-ui-candlestick ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1197
|
+
style: b(`position:relative;font-family:${P.value.style.fontFamily}; text-align:center;background:${P.value.style.backgroundColor}; ${P.value.responsive ? "height: 100%" : ""}`),
|
|
1198
1198
|
id: `vue-ui-candlestick_${A.value}`,
|
|
1199
1199
|
onMouseenter: un,
|
|
1200
1200
|
onMouseleave: dn
|
|
1201
1201
|
}, [
|
|
1202
|
-
|
|
1202
|
+
h("div", {
|
|
1203
1203
|
id: `chart-instructions-${A.value}`,
|
|
1204
1204
|
class: "sr-only"
|
|
1205
|
-
}, [
|
|
1206
|
-
Nr.value?.rows?.length ? (
|
|
1205
|
+
}, [h("p", null, T(P.value.a11y.translations.keyboardNavigation), 1)], 8, We),
|
|
1206
|
+
Nr.value?.rows?.length ? (x(), f(Ee, {
|
|
1207
1207
|
key: 0,
|
|
1208
1208
|
uid: A.value,
|
|
1209
1209
|
head: Nr.value.headers,
|
|
@@ -1216,8 +1216,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1216
1216
|
"body",
|
|
1217
1217
|
"notice",
|
|
1218
1218
|
"caption"
|
|
1219
|
-
])) :
|
|
1220
|
-
P.value.userOptions.buttons.annotator ? (
|
|
1219
|
+
])) : p("", !0),
|
|
1220
|
+
P.value.userOptions.buttons.annotator ? (x(), f(E(Et), {
|
|
1221
1221
|
key: 1,
|
|
1222
1222
|
svgRef: E(L),
|
|
1223
1223
|
backgroundColor: P.value.style.backgroundColor,
|
|
@@ -1226,12 +1226,12 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1226
1226
|
isCursorPointer: rn.value,
|
|
1227
1227
|
onClose: pr
|
|
1228
1228
|
}, {
|
|
1229
|
-
"annotator-action-close": D(() => [
|
|
1230
|
-
"annotator-action-color": D(({ color: t }) => [
|
|
1231
|
-
"annotator-action-draw": D(({ mode: t }) => [
|
|
1232
|
-
"annotator-action-undo": D(({ disabled: t }) => [
|
|
1233
|
-
"annotator-action-redo": D(({ disabled: t }) => [
|
|
1234
|
-
"annotator-action-delete": D(({ disabled: t }) => [
|
|
1229
|
+
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1230
|
+
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
1231
|
+
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
|
|
1232
|
+
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
|
|
1233
|
+
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
|
|
1234
|
+
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
|
|
1235
1235
|
_: 3
|
|
1236
1236
|
}, 8, [
|
|
1237
1237
|
"svgRef",
|
|
@@ -1239,20 +1239,20 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1239
1239
|
"color",
|
|
1240
1240
|
"active",
|
|
1241
1241
|
"isCursorPointer"
|
|
1242
|
-
])) :
|
|
1243
|
-
vn.value ? (
|
|
1242
|
+
])) : p("", !0),
|
|
1243
|
+
vn.value ? (x(), m("div", {
|
|
1244
1244
|
key: 2,
|
|
1245
1245
|
ref_key: "noTitle",
|
|
1246
1246
|
ref: Ut,
|
|
1247
1247
|
class: "vue-data-ui-no-title-space",
|
|
1248
1248
|
style: "height:36px; width: 100%;background:transparent"
|
|
1249
|
-
}, null, 512)) :
|
|
1250
|
-
P.value.style.title.text ? (
|
|
1249
|
+
}, null, 512)) : p("", !0),
|
|
1250
|
+
P.value.style.title.text ? (x(), m("div", {
|
|
1251
1251
|
key: 3,
|
|
1252
1252
|
ref_key: "chartTitle",
|
|
1253
1253
|
ref: zt,
|
|
1254
1254
|
style: "width:100%;background:transparent"
|
|
1255
|
-
}, [(
|
|
1255
|
+
}, [(x(), f(be, {
|
|
1256
1256
|
key: `title_${Kt.value}`,
|
|
1257
1257
|
config: {
|
|
1258
1258
|
title: {
|
|
@@ -1264,8 +1264,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1264
1264
|
...P.value.style.title.subtitle
|
|
1265
1265
|
}
|
|
1266
1266
|
}
|
|
1267
|
-
}, null, 8, ["config"]))], 512)) :
|
|
1268
|
-
P.value.userOptions.show && Pt.value && (E(ln) || E(sn)) ? (
|
|
1267
|
+
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
1268
|
+
P.value.userOptions.show && Pt.value && (E(ln) || E(sn)) ? (x(), f(E(Dt), {
|
|
1269
1269
|
ref_key: "userOptionsRef",
|
|
1270
1270
|
ref: Xt,
|
|
1271
1271
|
key: `user_options_${Rt.value}`,
|
|
@@ -1302,11 +1302,11 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1302
1302
|
onToggleTooltip: dr,
|
|
1303
1303
|
onToggleAnnotator: pr,
|
|
1304
1304
|
onCopyAlt: Or,
|
|
1305
|
-
style:
|
|
1306
|
-
},
|
|
1305
|
+
style: b({ visibility: E(ln) ? E(sn) ? "visible" : "hidden" : "visible" })
|
|
1306
|
+
}, Ae({ _: 2 }, [
|
|
1307
1307
|
e.$slots.menuIcon ? {
|
|
1308
1308
|
name: "menuIcon",
|
|
1309
|
-
fn: D(({ isOpen: t, color: n }) => [
|
|
1309
|
+
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
|
|
1310
1310
|
isOpen: t,
|
|
1311
1311
|
color: n
|
|
1312
1312
|
})), void 0, !0)]),
|
|
@@ -1314,37 +1314,37 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1314
1314
|
} : void 0,
|
|
1315
1315
|
e.$slots.optionTooltip ? {
|
|
1316
1316
|
name: "optionTooltip",
|
|
1317
|
-
fn: D(() => [
|
|
1317
|
+
fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1318
1318
|
key: "1"
|
|
1319
1319
|
} : void 0,
|
|
1320
1320
|
e.$slots.optionPdf ? {
|
|
1321
1321
|
name: "optionPdf",
|
|
1322
|
-
fn: D(() => [
|
|
1322
|
+
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1323
1323
|
key: "2"
|
|
1324
1324
|
} : void 0,
|
|
1325
1325
|
e.$slots.optionCsv ? {
|
|
1326
1326
|
name: "optionCsv",
|
|
1327
|
-
fn: D(() => [
|
|
1327
|
+
fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1328
1328
|
key: "3"
|
|
1329
1329
|
} : void 0,
|
|
1330
1330
|
e.$slots.optionImg ? {
|
|
1331
1331
|
name: "optionImg",
|
|
1332
|
-
fn: D(() => [
|
|
1332
|
+
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1333
1333
|
key: "4"
|
|
1334
1334
|
} : void 0,
|
|
1335
1335
|
e.$slots.optionSvg ? {
|
|
1336
1336
|
name: "optionSvg",
|
|
1337
|
-
fn: D(() => [
|
|
1337
|
+
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1338
1338
|
key: "5"
|
|
1339
1339
|
} : void 0,
|
|
1340
1340
|
e.$slots.optionTable ? {
|
|
1341
1341
|
name: "optionTable",
|
|
1342
|
-
fn: D(() => [
|
|
1342
|
+
fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1343
1343
|
key: "6"
|
|
1344
1344
|
} : void 0,
|
|
1345
1345
|
e.$slots.optionFullscreen ? {
|
|
1346
1346
|
name: "optionFullscreen",
|
|
1347
|
-
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
1347
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
|
|
1348
1348
|
toggleFullscreen: t,
|
|
1349
1349
|
isFullscreen: n
|
|
1350
1350
|
})), void 0, !0)]),
|
|
@@ -1352,7 +1352,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1352
1352
|
} : void 0,
|
|
1353
1353
|
e.$slots.optionAnnotator ? {
|
|
1354
1354
|
name: "optionAnnotator",
|
|
1355
|
-
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
1355
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
|
|
1356
1356
|
toggleAnnotator: t,
|
|
1357
1357
|
isAnnotator: n
|
|
1358
1358
|
})), void 0, !0)]),
|
|
@@ -1360,47 +1360,47 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1360
1360
|
} : void 0,
|
|
1361
1361
|
e.$slots.optionAltCopy ? {
|
|
1362
1362
|
name: "optionAltCopy",
|
|
1363
|
-
fn: D(({ altCopy: t }) => [
|
|
1363
|
+
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
|
|
1364
1364
|
key: "9"
|
|
1365
1365
|
} : void 0,
|
|
1366
1366
|
e.$slots["custom-menu-before"] ? {
|
|
1367
1367
|
name: "custom-menu-before",
|
|
1368
|
-
fn: D(() => [
|
|
1368
|
+
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1369
1369
|
key: "10"
|
|
1370
1370
|
} : void 0,
|
|
1371
1371
|
e.$slots["custom-menu-after"] ? {
|
|
1372
1372
|
name: "custom-menu-after",
|
|
1373
|
-
fn: D(() => [
|
|
1373
|
+
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1374
1374
|
key: "11"
|
|
1375
1375
|
} : void 0
|
|
1376
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
1377
|
-
|
|
1376
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : p("", !0),
|
|
1377
|
+
h("div", Ge, [(x(), m("svg", {
|
|
1378
1378
|
ref_key: "svgRef",
|
|
1379
1379
|
ref: L,
|
|
1380
|
-
xmlns: E(
|
|
1380
|
+
xmlns: E(ae),
|
|
1381
1381
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1382
|
-
class:
|
|
1382
|
+
class: v({
|
|
1383
1383
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1384
1384
|
"vue-data-ui-fulscreen--off": !$.value
|
|
1385
1385
|
}),
|
|
1386
1386
|
viewBox: `0 0 ${R.value.width <= 0 ? 10 : R.value.width} ${R.value.height <= 0 ? 10 : R.value.height}`,
|
|
1387
|
-
style:
|
|
1387
|
+
style: b(`max-width:100%;overflow:visible;background:transparent;color:${P.value.style.color}`),
|
|
1388
1388
|
tabindex: "0",
|
|
1389
1389
|
onFocus: kr,
|
|
1390
1390
|
onBlur: Ar,
|
|
1391
1391
|
onKeydown: jr
|
|
1392
1392
|
}, [
|
|
1393
|
-
|
|
1394
|
-
e.$slots["chart-background"] ? (
|
|
1393
|
+
Me(E(Ot)),
|
|
1394
|
+
e.$slots["chart-background"] ? (x(), m("foreignObject", {
|
|
1395
1395
|
key: 0,
|
|
1396
1396
|
x: W.value.left,
|
|
1397
1397
|
y: W.value.top,
|
|
1398
1398
|
width: Math.max(.1, W.value.width),
|
|
1399
1399
|
height: Math.max(.1, W.value.height),
|
|
1400
1400
|
style: { pointerEvents: "none" }
|
|
1401
|
-
}, [
|
|
1402
|
-
Z.value.length > 0 ? (
|
|
1403
|
-
|
|
1401
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : p("", !0),
|
|
1402
|
+
Z.value.length > 0 ? (x(), m("g", Je, [
|
|
1403
|
+
h("defs", null, [Me(we, {
|
|
1404
1404
|
t: "linear",
|
|
1405
1405
|
id: `bearish_gradient_${A.value}`,
|
|
1406
1406
|
x2: "0%",
|
|
@@ -1413,16 +1413,16 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1413
1413
|
],
|
|
1414
1414
|
[
|
|
1415
1415
|
"50%",
|
|
1416
|
-
E(
|
|
1416
|
+
E(n)(P.value.style.layout.candle.colors.bearish, .02),
|
|
1417
1417
|
.87
|
|
1418
1418
|
],
|
|
1419
1419
|
[
|
|
1420
1420
|
"100%",
|
|
1421
|
-
E(
|
|
1421
|
+
E(n)(P.value.style.layout.candle.colors.bearish, .05),
|
|
1422
1422
|
.4
|
|
1423
1423
|
]
|
|
1424
1424
|
]
|
|
1425
|
-
}, null, 8, ["id", "stops"]),
|
|
1425
|
+
}, null, 8, ["id", "stops"]), Me(we, {
|
|
1426
1426
|
t: "linear",
|
|
1427
1427
|
id: `bullish_gradient_${A.value}`,
|
|
1428
1428
|
x2: "0%",
|
|
@@ -1435,18 +1435,18 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1435
1435
|
],
|
|
1436
1436
|
[
|
|
1437
1437
|
"50%",
|
|
1438
|
-
E(
|
|
1438
|
+
E(n)(P.value.style.layout.candle.colors.bullish, .02),
|
|
1439
1439
|
.87
|
|
1440
1440
|
],
|
|
1441
1441
|
[
|
|
1442
1442
|
"100%",
|
|
1443
|
-
E(
|
|
1443
|
+
E(n)(P.value.style.layout.candle.colors.bullish, .05),
|
|
1444
1444
|
.4
|
|
1445
1445
|
]
|
|
1446
1446
|
]
|
|
1447
1447
|
}, null, 8, ["id", "stops"])]),
|
|
1448
|
-
P.value.style.layout.grid.show ? (
|
|
1449
|
-
|
|
1448
|
+
P.value.style.layout.grid.show ? (x(), m("g", Ye, [
|
|
1449
|
+
h("line", {
|
|
1450
1450
|
x1: U.value ? W.value.right : W.value.left,
|
|
1451
1451
|
x2: U.value ? W.value.right : W.value.left,
|
|
1452
1452
|
y1: W.value.top,
|
|
@@ -1455,7 +1455,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1455
1455
|
"stroke-width": P.value.style.layout.grid.strokeWidth,
|
|
1456
1456
|
"stroke-linecap": "round"
|
|
1457
1457
|
}, null, 8, Xe),
|
|
1458
|
-
|
|
1458
|
+
h("line", {
|
|
1459
1459
|
x1: W.value.left,
|
|
1460
1460
|
x2: W.value.right,
|
|
1461
1461
|
y1: W.value.bottom,
|
|
@@ -1464,7 +1464,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1464
1464
|
"stroke-width": P.value.style.layout.grid.strokeWidth,
|
|
1465
1465
|
"stroke-linecap": "round"
|
|
1466
1466
|
}, null, 8, Ze),
|
|
1467
|
-
P.value.style.layout.grid.horizontalLines.show ? (
|
|
1467
|
+
P.value.style.layout.grid.horizontalLines.show ? (x(!0), m(u, { key: 0 }, C(In.value, (e) => (x(), m("line", {
|
|
1468
1468
|
x1: W.value.left,
|
|
1469
1469
|
x2: W.value.right,
|
|
1470
1470
|
y1: e.y,
|
|
@@ -1473,8 +1473,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1473
1473
|
"stroke-width": P.value.style.layout.grid.horizontalLines.strokeWidth,
|
|
1474
1474
|
"stroke-dasharray": P.value.style.layout.grid.horizontalLines.strokeDasharray,
|
|
1475
1475
|
"stroke-linecap": "round"
|
|
1476
|
-
}, null, 8, Qe))), 256)) :
|
|
1477
|
-
P.value.style.layout.grid.verticalLines.show ? (
|
|
1476
|
+
}, null, 8, Qe))), 256)) : p("", !0),
|
|
1477
|
+
P.value.style.layout.grid.verticalLines.show ? (x(!0), m(u, { key: 1 }, C(qn.value, (e, t) => (x(), m("g", null, [e.text ? (x(), m("line", {
|
|
1478
1478
|
key: 0,
|
|
1479
1479
|
x1: W.value.left + Y.value * t + Y.value / 2,
|
|
1480
1480
|
x2: W.value.left + Y.value * t + Y.value / 2,
|
|
@@ -1484,8 +1484,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1484
1484
|
"stroke-width": P.value.style.layout.grid.verticalLines.strokeWidth,
|
|
1485
1485
|
"stroke-dasharray": P.value.style.layout.grid.verticalLines.strokeDasharray,
|
|
1486
1486
|
"stroke-linecap": "round"
|
|
1487
|
-
}, null, 8, $e)) :
|
|
1488
|
-
P.value.style.layout.grid.xAxis.ticks.show ? (
|
|
1487
|
+
}, null, 8, $e)) : p("", !0)]))), 256)) : p("", !0),
|
|
1488
|
+
P.value.style.layout.grid.xAxis.ticks.show ? (x(!0), m(u, { key: 2 }, C(qn.value, (e, t) => (x(), m("g", null, [e.text ? (x(), m("line", {
|
|
1489
1489
|
key: 0,
|
|
1490
1490
|
x1: W.value.left + Y.value * t + Y.value / 2,
|
|
1491
1491
|
x2: W.value.left + Y.value * t + Y.value / 2,
|
|
@@ -1494,13 +1494,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1494
1494
|
stroke: P.value.style.layout.grid.stroke,
|
|
1495
1495
|
"stroke-width": P.value.style.layout.grid.strokeWidth,
|
|
1496
1496
|
"stroke-linecap": "round"
|
|
1497
|
-
}, null, 8, et)) :
|
|
1498
|
-
])) :
|
|
1499
|
-
P.value.style.layout.grid.yAxis.dataLabels.show ? (
|
|
1497
|
+
}, null, 8, et)) : p("", !0)]))), 256)) : p("", !0)
|
|
1498
|
+
])) : p("", !0),
|
|
1499
|
+
P.value.style.layout.grid.yAxis.dataLabels.show ? (x(), m("g", {
|
|
1500
1500
|
key: 1,
|
|
1501
1501
|
ref_key: "scaleLabels",
|
|
1502
1502
|
ref: qt
|
|
1503
|
-
}, [(
|
|
1503
|
+
}, [(x(!0), m(u, null, C(In.value, (e, t) => (x(), m("g", null, [e.value >= X.value.min && e.value <= X.value.max ? (x(), m("line", {
|
|
1504
1504
|
key: 0,
|
|
1505
1505
|
x1: U.value ? W.value.right : W.value.left,
|
|
1506
1506
|
x2: U.value ? W.value.right + 5 : W.value.left - 5,
|
|
@@ -1509,7 +1509,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1509
1509
|
stroke: P.value.style.layout.grid.stroke,
|
|
1510
1510
|
"stroke-width": P.value.style.layout.grid.strokeWidth,
|
|
1511
1511
|
"stroke-linecap": "round"
|
|
1512
|
-
}, null, 8, tt)) :
|
|
1512
|
+
}, null, 8, tt)) : p("", !0), e.value >= X.value.min && e.value <= X.value.max ? (x(), m("text", {
|
|
1513
1513
|
key: 1,
|
|
1514
1514
|
x: U.value ? W.value.right + 8 + P.value.style.layout.grid.yAxis.dataLabels.offsetX : W.value.left - 8 + P.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
1515
1515
|
y: e.y + R.value.yAxisFontSize / 3,
|
|
@@ -1517,38 +1517,38 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1517
1517
|
"font-size": R.value.yAxisFontSize,
|
|
1518
1518
|
fill: P.value.style.layout.grid.yAxis.dataLabels.color,
|
|
1519
1519
|
"font-weight": P.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
1520
|
-
},
|
|
1520
|
+
}, T(E(s)({
|
|
1521
1521
|
p: P.value.style.layout.grid.yAxis.dataLabels.prefix,
|
|
1522
1522
|
v: e.value,
|
|
1523
1523
|
s: P.value.style.layout.grid.yAxis.dataLabels.suffix,
|
|
1524
1524
|
r: P.value.style.layout.grid.yAxis.dataLabels.roundingValue
|
|
1525
|
-
})), 9, nt)) :
|
|
1526
|
-
P.value.style.layout.grid.xAxis.dataLabels.show && !P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (
|
|
1525
|
+
})), 9, nt)) : p("", !0)]))), 256))], 512)) : p("", !0),
|
|
1526
|
+
P.value.style.layout.grid.xAxis.dataLabels.show && !P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (x(), m("g", {
|
|
1527
1527
|
key: 2,
|
|
1528
1528
|
ref_key: "timeLabelsEls",
|
|
1529
1529
|
ref: Jt
|
|
1530
|
-
}, [(
|
|
1530
|
+
}, [(x(!0), m(u, null, C(Ln.value, (e, t) => (x(), m("g", null, [h("text", {
|
|
1531
1531
|
class: "vue-data-ui-time-label",
|
|
1532
1532
|
transform: `translate(${W.value.left + Y.value * t + Y.value / 2}, ${W.value.bottom + R.value.xAxisFontSize * 1.5}), rotate(${P.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
1533
1533
|
"text-anchor": P.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : P.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
1534
1534
|
"font-size": R.value.xAxisFontSize,
|
|
1535
1535
|
fill: P.value.style.layout.grid.xAxis.dataLabels.color,
|
|
1536
1536
|
"font-weight": P.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
1537
|
-
},
|
|
1538
|
-
P.value.style.layout.grid.xAxis.dataLabels.show && P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (
|
|
1537
|
+
}, T(e), 9, rt)]))), 256))], 512)) : p("", !0),
|
|
1538
|
+
P.value.style.layout.grid.xAxis.dataLabels.show && P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (x(), m("g", {
|
|
1539
1539
|
key: 3,
|
|
1540
1540
|
ref_key: "timeLabelsEls",
|
|
1541
1541
|
ref: Jt
|
|
1542
|
-
}, [(
|
|
1542
|
+
}, [(x(!0), m(u, null, C(qn.value, (e, t) => (x(), m("g", null, [h("text", {
|
|
1543
1543
|
class: "vue-data-ui-time-label",
|
|
1544
1544
|
transform: `translate(${W.value.left + Y.value * t + Y.value / 2}, ${W.value.bottom + R.value.xAxisFontSize * 1.5}), rotate(${P.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
1545
1545
|
"text-anchor": P.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : P.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
1546
1546
|
"font-size": R.value.xAxisFontSize,
|
|
1547
1547
|
fill: P.value.style.layout.grid.xAxis.dataLabels.color,
|
|
1548
1548
|
"font-weight": P.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
1549
|
-
},
|
|
1550
|
-
P.value.type === "candlestick" ? (
|
|
1551
|
-
|
|
1549
|
+
}, T(e?.text ?? ""), 9, it)]))), 256))], 512)) : p("", !0),
|
|
1550
|
+
P.value.type === "candlestick" ? (x(), m(u, { key: 4 }, [h("g", null, [(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", null, [
|
|
1551
|
+
h("rect", {
|
|
1552
1552
|
x: e.open.x - P.value.style.layout.wick.strokeWidth / 2,
|
|
1553
1553
|
y: e.high.y,
|
|
1554
1554
|
width: P.value.style.layout.wick.strokeWidth,
|
|
@@ -1556,22 +1556,22 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1556
1556
|
fill: P.value.style.layout.wick.stroke,
|
|
1557
1557
|
stroke: "none",
|
|
1558
1558
|
rx: P.value.style.layout.wick.strokeWidth / 2,
|
|
1559
|
-
class:
|
|
1559
|
+
class: v({ "vue-data-ui-transition": k.value && !E(F) })
|
|
1560
1560
|
}, null, 10, at),
|
|
1561
|
-
P.value.style.layout.wick.extremity.shape === "circle" ? (
|
|
1561
|
+
P.value.style.layout.wick.extremity.shape === "circle" ? (x(), m("g", ot, [h("circle", {
|
|
1562
1562
|
cx: e.high.x,
|
|
1563
1563
|
cy: e.high.y,
|
|
1564
1564
|
r: P.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : P.value.style.layout.wick.extremity.size,
|
|
1565
1565
|
fill: P.value.style.layout.wick.extremity.color,
|
|
1566
|
-
class:
|
|
1567
|
-
}, null, 10, st),
|
|
1566
|
+
class: v({ "vue-data-ui-transition": k.value && !E(F) })
|
|
1567
|
+
}, null, 10, st), h("circle", {
|
|
1568
1568
|
cx: e.low.x,
|
|
1569
1569
|
cy: e.low.y,
|
|
1570
1570
|
r: P.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : P.value.style.layout.wick.extremity.size,
|
|
1571
1571
|
fill: P.value.style.layout.wick.extremity.color,
|
|
1572
|
-
class:
|
|
1573
|
-
}, null, 10, ct)])) :
|
|
1574
|
-
P.value.style.layout.wick.extremity.shape === "line" ? (
|
|
1572
|
+
class: v({ "vue-data-ui-transition": k.value && !E(F) })
|
|
1573
|
+
}, null, 10, ct)])) : p("", !0),
|
|
1574
|
+
P.value.style.layout.wick.extremity.shape === "line" ? (x(), m("g", lt, [h("rect", {
|
|
1575
1575
|
x: e.high.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2,
|
|
1576
1576
|
y: e.high.y - P.value.style.layout.wick.strokeWidth / 2,
|
|
1577
1577
|
width: Math.abs(e.high.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2 - (e.high.x + (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2)),
|
|
@@ -1579,8 +1579,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1579
1579
|
rx: P.value.style.layout.wick.strokeWidth / 2,
|
|
1580
1580
|
fill: P.value.style.layout.wick.extremity.color,
|
|
1581
1581
|
stroke: "none",
|
|
1582
|
-
class:
|
|
1583
|
-
}, null, 10, ut),
|
|
1582
|
+
class: v({ "vue-data-ui-transition": k.value && !E(F) })
|
|
1583
|
+
}, null, 10, ut), h("rect", {
|
|
1584
1584
|
x: e.low.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2,
|
|
1585
1585
|
y: e.low.y - P.value.style.layout.wick.strokeWidth / 2,
|
|
1586
1586
|
width: Math.abs(e.low.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2 - (e.low.x + (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2)),
|
|
@@ -1588,9 +1588,9 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1588
1588
|
fill: P.value.style.layout.wick.extremity.color,
|
|
1589
1589
|
stroke: "none",
|
|
1590
1590
|
rx: P.value.style.layout.wick.strokeWidth / 2,
|
|
1591
|
-
class:
|
|
1592
|
-
}, null, 10, dt)])) :
|
|
1593
|
-
]))), 256))]),
|
|
1591
|
+
class: v({ "vue-data-ui-transition": k.value && !E(F) })
|
|
1592
|
+
}, null, 10, dt)])) : p("", !0)
|
|
1593
|
+
]))), 256))]), h("g", null, [(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
|
|
1594
1594
|
x: e.open.x - Y.value / 2 + Y.value * (1 - P.value.style.layout.candle.widthRatio) / 2,
|
|
1595
1595
|
y: e.isBullish ? e.close.y : e.open.y,
|
|
1596
1596
|
height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
|
|
@@ -1598,8 +1598,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1598
1598
|
fill: P.value.style.layout.candle.gradient.underlayer,
|
|
1599
1599
|
rx: P.value.style.layout.candle.borderRadius,
|
|
1600
1600
|
stroke: "none",
|
|
1601
|
-
class:
|
|
1602
|
-
}, null, 10, ft))), 256)), (
|
|
1601
|
+
class: v({ "vue-data-ui-transition": k.value && !E(F) })
|
|
1602
|
+
}, null, 10, ft))), 256)), (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
|
|
1603
1603
|
x: e.open.x - Y.value / 2 + Y.value * (1 - P.value.style.layout.candle.widthRatio) / 2,
|
|
1604
1604
|
y: e.isBullish ? e.close.y : e.open.y,
|
|
1605
1605
|
height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
|
|
@@ -1610,41 +1610,41 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1610
1610
|
"stroke-width": P.value.style.layout.candle.strokeWidth,
|
|
1611
1611
|
"stroke-linecap": "round",
|
|
1612
1612
|
"stroke-linejoin": "round",
|
|
1613
|
-
class:
|
|
1614
|
-
}, null, 10, pt))), 256))])], 64)) :
|
|
1615
|
-
P.value.type === "ohlc" ? (
|
|
1613
|
+
class: v({ "vue-data-ui-transition": k.value && !E(F) })
|
|
1614
|
+
}, null, 10, pt))), 256))])], 64)) : p("", !0),
|
|
1615
|
+
P.value.type === "ohlc" ? (x(!0), m(u, { key: 5 }, C(Z.value, (e, t) => (x(), m("g", null, [h("path", {
|
|
1616
1616
|
d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y} M${e.open.x - Math.min(6, Y.value / 3)},${e.open.y} ${e.open.x},${e.open.y} M${e.close.x},${e.close.y} ${e.close.x + Math.min(6, Y.value / 3)},${e.close.y}`,
|
|
1617
1617
|
stroke: e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish,
|
|
1618
1618
|
"stroke-width": 1
|
|
1619
|
-
}, null, 8, mt)]))), 256)) :
|
|
1620
|
-
|
|
1619
|
+
}, null, 8, mt)]))), 256)) : p("", !0),
|
|
1620
|
+
h("g", null, [(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
|
|
1621
1621
|
x: W.value.left + t * Y.value,
|
|
1622
1622
|
y: W.value.top,
|
|
1623
1623
|
height: W.value.height <= 0 ? 1e-4 : W.value.height,
|
|
1624
1624
|
width: Y.value <= 0 ? 1e-4 : Y.value,
|
|
1625
|
-
fill: j.value === t || Zt.value === t ? E(
|
|
1625
|
+
fill: j.value === t || Zt.value === t ? E(se)(P.value.style.layout.selector.color, P.value.style.layout.selector.opacity) : "transparent",
|
|
1626
1626
|
onMouseover: () => Qn(t, e, "pointer"),
|
|
1627
1627
|
onMouseleave: () => Zn(t, e),
|
|
1628
1628
|
onClick: () => Xn(t, e)
|
|
1629
1629
|
}, null, 40, ht))), 256))])
|
|
1630
|
-
])) :
|
|
1631
|
-
wn.value ? (
|
|
1630
|
+
])) : p("", !0),
|
|
1631
|
+
wn.value ? (x(), m("rect", Ne({ key: 2 }, Cn.value, {
|
|
1632
1632
|
"data-start": K.value.start,
|
|
1633
1633
|
"data-end": K.value.end
|
|
1634
|
-
}), null, 16, gt)) :
|
|
1635
|
-
|
|
1634
|
+
}), null, 16, gt)) : p("", !0),
|
|
1635
|
+
w(e.$slots, "svg", { svg: {
|
|
1636
1636
|
...R.value,
|
|
1637
1637
|
data: Z.value,
|
|
1638
1638
|
drawingArea: W.value,
|
|
1639
1639
|
isPrintingImg: E(mn) || E(hn) || Qt.value,
|
|
1640
1640
|
isPrintingSvg: $t.value
|
|
1641
1641
|
} }, void 0, !0)
|
|
1642
|
-
], 46, Ke)), e.$slots.hint ? (
|
|
1642
|
+
], 46, Ke)), e.$slots.hint ? (x(), m("div", _t, [w(e.$slots, "hint", y(_({
|
|
1643
1643
|
hint: P.value.a11y.translations.keyboardNavigation,
|
|
1644
1644
|
isVisible: nn.value
|
|
1645
|
-
})), void 0, !0)])) :
|
|
1646
|
-
e.$slots.watermark ? (
|
|
1647
|
-
P.value.style.zoom.show && G.value > 6 && Pt.value && rr.value ? (
|
|
1645
|
+
})), void 0, !0)])) : p("", !0)]),
|
|
1646
|
+
e.$slots.watermark ? (x(), m("div", vt, [w(e.$slots, "watermark", y(_({ isPrinting: E(mn) || E(hn) || Qt.value || $t.value })), void 0, !0)])) : p("", !0),
|
|
1647
|
+
P.value.style.zoom.show && G.value > 6 && Pt.value && rr.value ? (x(), f(Te, {
|
|
1648
1648
|
key: 6,
|
|
1649
1649
|
ref_key: "chartSlicer",
|
|
1650
1650
|
ref: Vt,
|
|
@@ -1707,34 +1707,34 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1707
1707
|
onFutureEnd: t[0] ||= (e) => Tn("end", e),
|
|
1708
1708
|
onFutureStart: t[1] ||= (e) => Tn("start", e)
|
|
1709
1709
|
}, {
|
|
1710
|
-
"reset-action": D(({ reset: t }) => [
|
|
1711
|
-
slotMap: D(({ height: e, unitW: t }) => [(
|
|
1710
|
+
"reset-action": D(({ reset: t }) => [w(e.$slots, "reset-action", y(_({ reset: t })), void 0, !0)]),
|
|
1711
|
+
slotMap: D(({ height: e, unitW: t }) => [(x(!0), m(u, null, C(Nn.value({
|
|
1712
1712
|
minimapH: e,
|
|
1713
1713
|
unitW: t
|
|
1714
|
-
}), (e, n) => (
|
|
1714
|
+
}), (e, n) => (x(), m("g", null, [h("path", {
|
|
1715
1715
|
d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y}`,
|
|
1716
1716
|
stroke: e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish,
|
|
1717
1717
|
"stroke-width": 1,
|
|
1718
|
-
style:
|
|
1719
|
-
}, null, 12, yt),
|
|
1718
|
+
style: b({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
|
|
1719
|
+
}, null, 12, yt), h("path", {
|
|
1720
1720
|
d: `M ${e.open.x},${e.open.y} ${e.close.x},${e.close.y}`,
|
|
1721
1721
|
stroke: e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish,
|
|
1722
1722
|
"stroke-width": Math.min(6, t / 1.5),
|
|
1723
|
-
style:
|
|
1723
|
+
style: b({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
|
|
1724
1724
|
}, null, 12, bt)]))), 256))]),
|
|
1725
1725
|
_: 3
|
|
1726
|
-
}, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.useResetSlot.valueEnd.valueStart.verticalHandles.minScale.maxScale.maxWidth.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) :
|
|
1727
|
-
|
|
1726
|
+
}, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.useResetSlot.valueEnd.valueStart.verticalHandles.minScale.maxScale.maxWidth.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : p("", !0),
|
|
1727
|
+
h("div", {
|
|
1728
1728
|
ref_key: "chartLegend",
|
|
1729
1729
|
ref: Bt
|
|
1730
|
-
}, [
|
|
1731
|
-
e.$slots.source ? (
|
|
1730
|
+
}, [w(e.$slots, "legend", { legend: Z.value }, void 0, !0)], 512),
|
|
1731
|
+
e.$slots.source ? (x(), m("div", {
|
|
1732
1732
|
key: 7,
|
|
1733
1733
|
ref_key: "source",
|
|
1734
1734
|
ref: Ht,
|
|
1735
1735
|
dir: "auto"
|
|
1736
|
-
}, [
|
|
1737
|
-
|
|
1736
|
+
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1737
|
+
Me(E(Ct), {
|
|
1738
1738
|
teleportTo: P.value.style.tooltip.teleportTo,
|
|
1739
1739
|
show: H.value.showTooltip && It.value,
|
|
1740
1740
|
backgroundColor: P.value.style.tooltip.backgroundColor,
|
|
@@ -1758,9 +1758,9 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1758
1758
|
isA11yMode: tn.value === "keyboard",
|
|
1759
1759
|
a11yPosition: en.value
|
|
1760
1760
|
}, {
|
|
1761
|
-
"tooltip-before": D(() => [
|
|
1762
|
-
tooltip: D(() => [
|
|
1763
|
-
"tooltip-after": D(() => [
|
|
1761
|
+
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...Yn.value })), void 0, !0)]),
|
|
1762
|
+
tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...Yn.value })), void 0, !0)]),
|
|
1763
|
+
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...Yn.value })), void 0, !0)]),
|
|
1764
1764
|
_: 3
|
|
1765
1765
|
}, 8, [
|
|
1766
1766
|
"teleportTo",
|
|
@@ -1786,12 +1786,12 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1786
1786
|
"isA11yMode",
|
|
1787
1787
|
"a11yPosition"
|
|
1788
1788
|
]),
|
|
1789
|
-
Pt.value && P.value.userOptions.buttons.table ? (
|
|
1789
|
+
Pt.value && P.value.userOptions.buttons.table ? (x(), f(Le(_r.value.component), Ne({ key: 8 }, _r.value.props, {
|
|
1790
1790
|
ref_key: "tableUnit",
|
|
1791
1791
|
ref: Yt,
|
|
1792
1792
|
onClose: vr
|
|
1793
|
-
}),
|
|
1794
|
-
content: D(() => [(
|
|
1793
|
+
}), Ae({
|
|
1794
|
+
content: D(() => [(x(), f(E(Tt), {
|
|
1795
1795
|
key: `table_${Gt.value}`,
|
|
1796
1796
|
colNames: cr.value.colNames,
|
|
1797
1797
|
head: cr.value.head,
|
|
@@ -1802,8 +1802,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1802
1802
|
isCursorPointer: rn.value,
|
|
1803
1803
|
onClose: vr
|
|
1804
1804
|
}, {
|
|
1805
|
-
th: D(({ th: e }) => [
|
|
1806
|
-
td: D(({ td: e }) => [
|
|
1805
|
+
th: D(({ th: e }) => [je(T(e), 1)]),
|
|
1806
|
+
td: D(({ td: e }) => [h("div", { innerHTML: e }, null, 8, xt)]),
|
|
1807
1807
|
_: 1
|
|
1808
1808
|
}, 8, [
|
|
1809
1809
|
"colNames",
|
|
@@ -1817,22 +1817,22 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1817
1817
|
_: 2
|
|
1818
1818
|
}, [P.value.table.useDialog ? {
|
|
1819
1819
|
name: "title",
|
|
1820
|
-
fn: D(() => [
|
|
1820
|
+
fn: D(() => [je(T(_r.value.title), 1)]),
|
|
1821
1821
|
key: "0"
|
|
1822
1822
|
} : void 0, P.value.table.useDialog ? {
|
|
1823
1823
|
name: "actions",
|
|
1824
|
-
fn: D(() => [
|
|
1824
|
+
fn: D(() => [h("button", {
|
|
1825
1825
|
tabindex: "0",
|
|
1826
1826
|
class: "vue-ui-user-options-button",
|
|
1827
1827
|
onClick: t[2] ||= (e) => sr(P.value.userOptions.callbacks.csv),
|
|
1828
|
-
style:
|
|
1829
|
-
}, [
|
|
1828
|
+
style: b({ cursor: rn.value ? "pointer" : "default" })
|
|
1829
|
+
}, [Me(E(St), {
|
|
1830
1830
|
name: "fileCsv",
|
|
1831
1831
|
stroke: _r.value.props.color
|
|
1832
1832
|
}, null, 8, ["stroke"])], 4)]),
|
|
1833
1833
|
key: "1"
|
|
1834
|
-
} : void 0]), 1040)) :
|
|
1835
|
-
|
|
1834
|
+
} : void 0]), 1040)) : p("", !0),
|
|
1835
|
+
w(e.$slots, "skeleton", {}, () => [E(F) ? (x(), f(me, { key: 0 })) : p("", !0)], !0)
|
|
1836
1836
|
], 46, Ue));
|
|
1837
1837
|
}
|
|
1838
1838
|
}, [["__scopeId", "data-v-df4d118c"]]);
|