vue-data-ui 3.22.9 → 3.22.11
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-DKx74WtM.js} +1 -1
- package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
- package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CP5RWnqt.js} +1 -1
- package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-DsWphmIb.js} +1 -1
- package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-C9_ygNN4.js} +2 -2
- package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-3N_HVgXs.js} +2 -2
- package/dist/{DataTable-BxpTMgfK.js → DataTable-DzPEVvSo.js} +2 -2
- package/dist/{Legend-ROt6ugzW.js → Legend-C0xAnJdO.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
- package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-1MNr72Bz.js} +1 -1
- package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CSMVXpg2.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-BfnXr1nJ.js} +3 -3
- package/dist/Slicer-C6qNUmZ4.js +1149 -0
- package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-BIdvqU32.js} +554 -553
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-uoUiL_P8.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-BuPs74IB.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CA1rtSyl.js} +1 -1
- package/dist/{UserOptions-trvJ26nz.js → UserOptions-B69xBEVP.js} +6 -5
- 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-BdAFKZQg.js} +1 -1
- package/dist/exposedLib-Ciw6TGtP.js +25 -0
- package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
- package/dist/{img-DnP3eXuv.js → img-Bikk1dGb.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-BUhssos9.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CFm_J26b.js} +121 -110
- package/dist/{package-ByOT60IK.js → package-Bf-Nk9qU.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-zmz3l2uy.js} +1 -1
- package/dist/{render-common-D18VrP0h.js → render-common-DEb-WjM1.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/style.css +1 -1
- package/dist/types/utils.d.ts +40 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
- package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
- package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-BY6DNN3i.js} +2 -2
- package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-BH-xle1O.js} +2 -2
- package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
- package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
- package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
- package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bme9usjG.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-Ds1BPxqb.js +1824 -0
- package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
- package/dist/vue-ui-age-pyramid-CNCrH8Kd.js +1246 -0
- package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BfZ8RTzJ.js} +17 -11
- package/dist/vue-ui-bullet-DscMmM2b.js +709 -0
- package/dist/vue-ui-bump-BvwU1_-N.js +1248 -0
- package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-Cp6r8ktf.js} +288 -288
- package/dist/vue-ui-carousel-table-CbtccW1g.js +455 -0
- package/dist/vue-ui-chestnut-C3Hmf1-m.js +2042 -0
- package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-DJk9j45J.js} +45 -46
- package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CJe2wETT.js} +50 -51
- package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-BAi9omna.js} +6 -6
- package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-D7BEbS71.js} +41 -39
- package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
- package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
- package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-BUX4ybT6.js} +208 -208
- package/dist/vue-ui-donut-evolution-MWDjQPQ5.js +1521 -0
- package/dist/vue-ui-donut-jXRV-3ON.js +2418 -0
- package/dist/vue-ui-dumbbell-CnwsHaIy.js +1564 -0
- package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-CKXGk4Lm.js} +74 -75
- package/dist/vue-ui-funnel-CJwD7s7e.js +781 -0
- package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-DL85_SWR.js} +275 -276
- package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-Dkx-aUQr.js} +177 -178
- package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-fkLF1rHB.js} +28 -27
- package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-S8w_p769.js} +9 -9
- package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-Dopkbn2N.js} +330 -331
- package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-DDYpEapS.js} +413 -414
- package/dist/vue-ui-horizontal-bar-Bi8WvKeD.js +1689 -0
- package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
- package/dist/vue-ui-molecule-CBTgGZ-s.js +932 -0
- package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-CF83PcCx.js} +260 -261
- package/dist/vue-ui-nested-donuts-D5dO-Uyg.js +1492 -0
- package/dist/vue-ui-onion-BxjaQKo8.js +1199 -0
- package/dist/vue-ui-parallel-coordinate-plot-Dz6ozRAM.js +1415 -0
- package/dist/vue-ui-quadrant-Bnxpa6m5.js +1985 -0
- package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-CAE0-NYj.js} +112 -113
- package/dist/vue-ui-radar-O4BhBOyp.js +1286 -0
- package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-DbxK-ftN.js} +101 -101
- package/dist/vue-ui-relation-circle-BZ0Xf-Nc.js +923 -0
- package/dist/vue-ui-ridgeline-DHVTPiM6.js +1627 -0
- package/dist/vue-ui-rings-DAfY1V--.js +1251 -0
- package/dist/vue-ui-scatter-Cb63SWJT.js +2421 -0
- package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-DoIqQtIV.js} +100 -100
- package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-Da2jgkb7.js} +18 -18
- package/dist/vue-ui-spark-trend-Db-FsXch.js +442 -0
- package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-Ce55FP_3.js} +67 -67
- package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-hB59dXm7.js} +65 -65
- package/dist/vue-ui-sparkhistogram-DjnaStBw.js +575 -0
- package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-D1dyhLvG.js} +54 -55
- package/dist/vue-ui-sparkstackbar-BhOBFjts.js +674 -0
- package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-BZKw8WYn.js} +123 -122
- package/dist/vue-ui-stackline-DLFNVbAz.js +2425 -0
- package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-DyN2WELD.js} +68 -69
- package/dist/vue-ui-table-DL_R4ppI.js +1339 -0
- package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-C9gF__Np.js} +16 -16
- package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-CT-0w9-a.js} +26 -24
- package/dist/vue-ui-thermometer-MP0dliC3.js +769 -0
- package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-B5S-6Da4.js} +7 -8
- package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-DcJiLDsm.js} +20 -21
- package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-CjldCPnX.js} +615 -603
- package/dist/vue-ui-waffle-dZM-9z1J.js +1367 -0
- package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-or7a6-Ce.js} +47 -48
- package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-8BwQ0cuB.js} +40 -37
- package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-Q0KZb7A_.js} +210 -210
- package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-4uzwZJcj.js} +141 -141
- package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-DZIs53tH.js} +791 -783
- package/dist/vue-ui-xy-canvas-Dz9aii7f.js +1790 -0
- package/package.json +2 -2
- package/dist/Slicer-CW_XPIKL.js +0 -1150
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/useResponsive-BfnK0KxU.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,24 @@
|
|
|
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 {
|
|
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 {
|
|
22
|
-
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Oe, createTextVNode as ke, createVNode as Ae, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as je, nextTick as Me, normalizeClass as b, normalizeProps as x, normalizeStyle as Ne, onBeforeUnmount as Pe, onMounted as Fe, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Ie, shallowRef as Le, toDisplayString as Re, toRefs as ze, unref as E, watch as Be, watchEffect as Ve, withCtx as D } from "vue";
|
|
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-CFm_J26b.js";
|
|
3
|
+
import { n as ce, r as le, t as ue } from "./useTimeLabels-B9CEuiLZ.js";
|
|
4
|
+
import { t as de } from "./useConfig-C0V0eG7L.js";
|
|
5
|
+
import { t as fe } from "./usePrinter-BH-xle1O.js";
|
|
6
|
+
import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as he } from "./useSvgExport-Ba9qBr9M.js";
|
|
8
|
+
import { t as ge } from "./useNestedProp-BY6DNN3i.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-Bikk1dGb.js";
|
|
12
|
+
import { n as be } from "./Title-BuPs74IB.js";
|
|
13
|
+
import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
+
import { t as we } from "./DefGrad-DVBqDjhO.js";
|
|
16
|
+
import { t as Te } from "./SlicerPreview-BIdvqU32.js";
|
|
17
|
+
import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
|
|
18
|
+
import { t as De } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
|
+
import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
+
import { t as ke } from "./vue_ui_candlestick-J8jmJvxP.js";
|
|
21
|
+
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
22
|
//#region src/components/vue-ui-candlestick.vue
|
|
24
23
|
var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
|
|
25
24
|
"xmlns",
|
|
@@ -166,7 +165,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
166
165
|
"d",
|
|
167
166
|
"stroke",
|
|
168
167
|
"stroke-width"
|
|
169
|
-
], xt = ["innerHTML"], St = /*#__PURE__*/
|
|
168
|
+
], xt = ["innerHTML"], St = /*#__PURE__*/ xe({
|
|
170
169
|
__name: "vue-ui-candlestick",
|
|
171
170
|
props: {
|
|
172
171
|
config: {
|
|
@@ -187,11 +186,11 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
187
186
|
}
|
|
188
187
|
},
|
|
189
188
|
emits: ["selectX", "copyAlt"],
|
|
190
|
-
setup(e, { expose:
|
|
191
|
-
let St =
|
|
189
|
+
setup(e, { expose: xe, emit: He }) {
|
|
190
|
+
let St = g(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), Ct = g(() => import("./Tooltip-CA1rtSyl.js")), wt = g(() => import("./vue-ui-accordion-nNxnZTg9.js").then((e) => e.n)), Tt = g(() => import("./DataTable-DzPEVvSo.js")), Et = g(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Dt = g(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), Ot = g(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), kt = g(() => import("./BaseDraggableDialog-3n8udWmh.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
191
|
x: 0,
|
|
193
192
|
y: 0
|
|
194
|
-
}), tn =
|
|
193
|
+
}), tn = S("pointer"), nn = S(!1), P = S(fn()), rn = d(() => P.value.userOptions.useCursorPointer), an = d(() => ne({
|
|
195
194
|
defaultConfig: {
|
|
196
195
|
useCssAnimation: !1,
|
|
197
196
|
userOptions: { show: !1 },
|
|
@@ -229,7 +228,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
229
228
|
}
|
|
230
229
|
},
|
|
231
230
|
userConfig: P.value.skeletonConfig ?? {}
|
|
232
|
-
})), { loading: F, FINAL_DATASET: I, manualLoading: on } =
|
|
231
|
+
})), { loading: F, FINAL_DATASET: I, manualLoading: on } = pe({
|
|
233
232
|
...ze(O),
|
|
234
233
|
FINAL_CONFIG: P,
|
|
235
234
|
prepareConfig: fn,
|
|
@@ -336,11 +335,11 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
336
335
|
5100
|
|
337
336
|
]
|
|
338
337
|
],
|
|
339
|
-
skeletonConfig:
|
|
338
|
+
skeletonConfig: ne({
|
|
340
339
|
defaultConfig: P.value,
|
|
341
340
|
userConfig: an.value
|
|
342
341
|
})
|
|
343
|
-
}), { userOptionsVisible: sn, setUserOptionsVisibility: cn, keepUserOptionState: ln } =
|
|
342
|
+
}), { userOptionsVisible: sn, setUserOptionsVisibility: cn, keepUserOptionState: ln } = De({ config: P.value }), { svgRef: L } = Oe({ config: P.value.style.title });
|
|
344
343
|
function un() {
|
|
345
344
|
cn(!0);
|
|
346
345
|
}
|
|
@@ -351,17 +350,17 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
351
350
|
}), j.value = null;
|
|
352
351
|
}
|
|
353
352
|
function fn() {
|
|
354
|
-
let e =
|
|
353
|
+
let e = ge({
|
|
355
354
|
userConfig: O.config,
|
|
356
355
|
defaultConfig: At
|
|
357
356
|
}), t = {}, n = e.theme;
|
|
358
357
|
if (n) if (!jt.value(e)) Mt(e), t = e;
|
|
359
358
|
else {
|
|
360
|
-
let r =
|
|
361
|
-
userConfig:
|
|
359
|
+
let r = ge({
|
|
360
|
+
userConfig: ke[n] || O.config,
|
|
362
361
|
defaultConfig: e
|
|
363
362
|
});
|
|
364
|
-
t = { ...
|
|
363
|
+
t = { ...ge({
|
|
365
364
|
userConfig: O.config,
|
|
366
365
|
defaultConfig: r
|
|
367
366
|
}) };
|
|
@@ -374,27 +373,27 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
374
373
|
}, { deep: !0 }), Be(() => O.dataset, (e) => {
|
|
375
374
|
Array.isArray(e) && e.length > 0 && (on.value = !1), tr();
|
|
376
375
|
}, { deep: !0 });
|
|
377
|
-
let R =
|
|
376
|
+
let R = S({
|
|
378
377
|
height: P.value.style.height,
|
|
379
378
|
width: P.value.style.width,
|
|
380
379
|
xAxisFontSize: P.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
381
380
|
yAxisFontSize: P.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
382
|
-
}), z =
|
|
383
|
-
|
|
381
|
+
}), z = Re(null), B = Re(null);
|
|
382
|
+
Ie(() => {
|
|
384
383
|
pn();
|
|
385
384
|
});
|
|
386
|
-
let V =
|
|
385
|
+
let V = d(() => !!P.value.debug);
|
|
387
386
|
function pn() {
|
|
388
|
-
if (
|
|
387
|
+
if (t(O.dataset) && (c({
|
|
389
388
|
componentName: "VueUiCandlestick",
|
|
390
389
|
type: "dataset",
|
|
391
390
|
debug: V.value
|
|
392
|
-
}), on.value = !0),
|
|
391
|
+
}), on.value = !0), t(O.dataset) || (on.value = P.value.loading), setTimeout(() => {
|
|
393
392
|
k.value = !0;
|
|
394
393
|
}, 10), P.value.responsive) {
|
|
395
|
-
let e =
|
|
394
|
+
let e = Se(() => {
|
|
396
395
|
k.value = !1;
|
|
397
|
-
let { width: e, height: t } =
|
|
396
|
+
let { width: e, height: t } = Ce({
|
|
398
397
|
chart: M.value,
|
|
399
398
|
title: P.value.style.title.text ? zt.value : null,
|
|
400
399
|
slicer: P.value.style.zoom.show && G.value > 6 ? Vt.value.$el : null,
|
|
@@ -403,13 +402,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
403
402
|
noTitle: Ut.value
|
|
404
403
|
});
|
|
405
404
|
requestAnimationFrame(() => {
|
|
406
|
-
R.value.width = e, R.value.height = t - 12, P.value.responsiveProportionalSizing ? (R.value.xAxisFontSize =
|
|
405
|
+
R.value.width = e, R.value.height = t - 12, P.value.responsiveProportionalSizing ? (R.value.xAxisFontSize = a({
|
|
407
406
|
relator: Math.min(e, t),
|
|
408
407
|
adjuster: P.value.style.width,
|
|
409
408
|
source: P.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
410
409
|
threshold: 6,
|
|
411
410
|
fallback: 6
|
|
412
|
-
}), R.value.yAxisFontSize =
|
|
411
|
+
}), R.value.yAxisFontSize = a({
|
|
413
412
|
relator: Math.min(e, t),
|
|
414
413
|
adjuster: P.value.style.width,
|
|
415
414
|
source: P.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
@@ -424,17 +423,17 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
424
423
|
}
|
|
425
424
|
ar();
|
|
426
425
|
}
|
|
427
|
-
|
|
426
|
+
Fe(() => {
|
|
428
427
|
z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
|
|
429
428
|
});
|
|
430
|
-
let { isPrinting: mn, isImaging: hn, generatePdf: gn, generateImage: _n } =
|
|
429
|
+
let { isPrinting: mn, isImaging: hn, generatePdf: gn, generateImage: _n } = fe({
|
|
431
430
|
elementId: `vue-ui-candlestick_${A.value}`,
|
|
432
431
|
fileName: P.value.style.title.text || "vue-ui-candlestick",
|
|
433
432
|
options: P.value.userOptions.print
|
|
434
|
-
}), vn =
|
|
433
|
+
}), vn = d(() => P.value.userOptions.show && !P.value.style.title.text), H = S({
|
|
435
434
|
showTable: P.value.table.show,
|
|
436
435
|
showTooltip: P.value.style.tooltip.show
|
|
437
|
-
}), yn =
|
|
436
|
+
}), yn = S(0), bn = Se((e) => {
|
|
438
437
|
yn.value = e;
|
|
439
438
|
}, 100);
|
|
440
439
|
Ve((e) => {
|
|
@@ -444,13 +443,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
444
443
|
bn(e[0].contentRect.height);
|
|
445
444
|
});
|
|
446
445
|
n.observe(t), e(() => n.disconnect());
|
|
447
|
-
}),
|
|
446
|
+
}), Fe(() => {
|
|
448
447
|
yn.value = 0;
|
|
449
448
|
});
|
|
450
|
-
let xn =
|
|
449
|
+
let xn = d(() => {
|
|
451
450
|
let e = 0;
|
|
452
451
|
return Jt.value && (e = yn.value + R.value.xAxisFontSize), e;
|
|
453
|
-
}), U =
|
|
452
|
+
}), U = d(() => P.value.style.layout.grid.yAxis.position === "right");
|
|
454
453
|
function Sn() {
|
|
455
454
|
let e = P.value.style.layout.grid.yAxis.dataLabels.offsetX;
|
|
456
455
|
qt.value && (e = Array.from(qt.value.querySelectorAll("text")).reduce((e, t) => {
|
|
@@ -466,7 +465,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
466
465
|
crosshair: 13
|
|
467
466
|
};
|
|
468
467
|
}
|
|
469
|
-
let W =
|
|
468
|
+
let W = d(() => {
|
|
470
469
|
let { top: e, right: t, bottom: n, left: r } = P.value.style.layout.padding, i = Sn();
|
|
471
470
|
return {
|
|
472
471
|
top: e + 12,
|
|
@@ -479,12 +478,12 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
479
478
|
yAxisNameWidth: i.yAxisNameWidth,
|
|
480
479
|
crosshair: i.crosshair
|
|
481
480
|
};
|
|
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,
|
|
481
|
+
}), Cn = d(() => {
|
|
482
|
+
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
483
|
return {
|
|
485
|
-
x: e +
|
|
484
|
+
x: e + c * o,
|
|
486
485
|
y: t,
|
|
487
|
-
width: (
|
|
486
|
+
width: (te - c) * o,
|
|
488
487
|
height: r,
|
|
489
488
|
fill: P.value.style.zoom.preview.fill,
|
|
490
489
|
stroke: P.value.style.zoom.preview.stroke,
|
|
@@ -498,13 +497,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
498
497
|
animation: "none !important"
|
|
499
498
|
}
|
|
500
499
|
};
|
|
501
|
-
}), G =
|
|
500
|
+
}), G = d(() => I.value.length), K = S({
|
|
502
501
|
start: 0,
|
|
503
502
|
end: G.value
|
|
504
|
-
}), q =
|
|
503
|
+
}), q = S({
|
|
505
504
|
start: 0,
|
|
506
505
|
end: G.value
|
|
507
|
-
}), wn =
|
|
506
|
+
}), wn = d(() => P.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
|
|
508
507
|
function Tn(e, t) {
|
|
509
508
|
q.value[e] = t;
|
|
510
509
|
}
|
|
@@ -512,45 +511,45 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
512
511
|
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
512
|
(!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
513
|
}
|
|
515
|
-
let Dn =
|
|
514
|
+
let Dn = d(() => I.value.map((e, t) => ({
|
|
516
515
|
...e,
|
|
517
516
|
absoluteIndex: t
|
|
518
|
-
}))), On =
|
|
519
|
-
[null, void 0].includes(e[0]) &&
|
|
517
|
+
}))), On = d(() => Dn.value.slice(K.value.start, K.value.end)), J = d(() => (I.value.forEach((e, t) => {
|
|
518
|
+
[null, void 0].includes(e[0]) && c({
|
|
520
519
|
componentName: "VueUiCandlestick",
|
|
521
520
|
type: "datasetAttribute",
|
|
522
521
|
property: "period (index 0)",
|
|
523
|
-
index:
|
|
522
|
+
index: t,
|
|
524
523
|
debug: V.value
|
|
525
|
-
}), [null, void 0].includes(e[1]) &&
|
|
524
|
+
}), [null, void 0].includes(e[1]) && c({
|
|
526
525
|
componentName: "VueUiCandlestick",
|
|
527
526
|
type: "datasetAttribute",
|
|
528
527
|
property: "open (index 1)",
|
|
529
|
-
index:
|
|
528
|
+
index: t,
|
|
530
529
|
debug: V.value
|
|
531
|
-
}), [null, void 0].includes(e[2]) &&
|
|
530
|
+
}), [null, void 0].includes(e[2]) && c({
|
|
532
531
|
componentName: "VueUiCandlestick",
|
|
533
532
|
type: "datasetAttribute",
|
|
534
533
|
property: "high (index 2)",
|
|
535
|
-
index:
|
|
534
|
+
index: t,
|
|
536
535
|
debug: V.value
|
|
537
|
-
}), [null, void 0].includes(e[3]) &&
|
|
536
|
+
}), [null, void 0].includes(e[3]) && c({
|
|
538
537
|
componentName: "VueUiCandlestick",
|
|
539
538
|
type: "datasetAttribute",
|
|
540
539
|
property: "low (index 3)",
|
|
541
|
-
index:
|
|
540
|
+
index: t,
|
|
542
541
|
debug: V.value
|
|
543
|
-
}), [null, void 0].includes(e[4]) &&
|
|
542
|
+
}), [null, void 0].includes(e[4]) && c({
|
|
544
543
|
componentName: "VueUiCandlestick",
|
|
545
544
|
type: "datasetAttribute",
|
|
546
545
|
property: "close (index 4)",
|
|
547
|
-
index:
|
|
546
|
+
index: t,
|
|
548
547
|
debug: V.value
|
|
549
|
-
}), [null, void 0].includes(e[5]) &&
|
|
548
|
+
}), [null, void 0].includes(e[5]) && c({
|
|
550
549
|
componentName: "VueUiCandlestick",
|
|
551
550
|
type: "datasetAttribute",
|
|
552
551
|
property: "volume (index 5)",
|
|
553
|
-
index:
|
|
552
|
+
index: t,
|
|
554
553
|
debug: V.value
|
|
555
554
|
});
|
|
556
555
|
}), On.value.map((e) => ({
|
|
@@ -561,7 +560,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
561
560
|
low: e[3],
|
|
562
561
|
close: e[4],
|
|
563
562
|
volume: e[5]
|
|
564
|
-
})))), kn =
|
|
563
|
+
})))), kn = d(() => Dn.value.map((e) => ({
|
|
565
564
|
absoluteIndex: e.absoluteIndex,
|
|
566
565
|
period: e[0],
|
|
567
566
|
open: e[1],
|
|
@@ -569,21 +568,21 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
569
568
|
low: e[3],
|
|
570
569
|
close: e[4],
|
|
571
570
|
volume: e[5]
|
|
572
|
-
}))), Y =
|
|
571
|
+
}))), Y = d(() => W.value.width / On.value.length), An = d(() => ({
|
|
573
572
|
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
573
|
min: P.value.style.layout.grid.yAxis.scale.min === null ? 0 : P.value.style.layout.grid.yAxis.scale.min
|
|
575
|
-
})), X =
|
|
574
|
+
})), X = d(() => te(An.value.min, An.value.max, P.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
576
575
|
function jn(e, t, n = null, r = null) {
|
|
577
576
|
return {
|
|
578
577
|
...e,
|
|
579
|
-
x:
|
|
580
|
-
y:
|
|
581
|
-
value:
|
|
578
|
+
x: l(W.value.left + t * Y.value + Y.value / 2),
|
|
579
|
+
y: l(W.value.top + (1 - (e - X.value.min) / (X.value.max - X.value.min)) * W.value.height),
|
|
580
|
+
value: l(e),
|
|
582
581
|
isMax: e === n,
|
|
583
582
|
isMin: e === r
|
|
584
583
|
};
|
|
585
584
|
}
|
|
586
|
-
let Z =
|
|
585
|
+
let Z = d(() => {
|
|
587
586
|
let e = {
|
|
588
587
|
o: Math.max(...J.value.map((e) => e.open)),
|
|
589
588
|
h: Math.max(...J.value.map((e) => e.high)),
|
|
@@ -596,18 +595,18 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
596
595
|
c: Math.min(...J.value.map((e) => e.low))
|
|
597
596
|
}, n = Math.max(...J.value.map((e) => e.volume)), r = Math.min(...J.value.map((e) => e.volume));
|
|
598
597
|
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),
|
|
598
|
+
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
599
|
return {
|
|
601
600
|
period: i.period,
|
|
602
601
|
open: o,
|
|
603
602
|
high: s,
|
|
604
|
-
low:
|
|
605
|
-
close:
|
|
603
|
+
low: ee,
|
|
604
|
+
close: c,
|
|
606
605
|
volume: i.volume,
|
|
607
|
-
isBullish:
|
|
606
|
+
isBullish: te,
|
|
608
607
|
absoluteIndex: i.absoluteIndex,
|
|
609
|
-
isMaxVolume:
|
|
610
|
-
isMinVolume:
|
|
608
|
+
isMaxVolume: ne,
|
|
609
|
+
isMinVolume: re
|
|
611
610
|
};
|
|
612
611
|
});
|
|
613
612
|
});
|
|
@@ -615,12 +614,12 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
615
614
|
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
615
|
return {
|
|
617
616
|
...e,
|
|
618
|
-
x:
|
|
619
|
-
y:
|
|
620
|
-
value:
|
|
617
|
+
x: l(t * r),
|
|
618
|
+
y: l((1 - (e - i) / (a - i)) * n),
|
|
619
|
+
value: l(e)
|
|
621
620
|
};
|
|
622
621
|
}
|
|
623
|
-
let Nn =
|
|
622
|
+
let Nn = d(() => ({ minimapH: e, unitW: t }) => kn.value.map((n, r) => {
|
|
624
623
|
let i = Mn({
|
|
625
624
|
item: n.open,
|
|
626
625
|
index: r,
|
|
@@ -641,7 +640,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
641
640
|
index: r,
|
|
642
641
|
minimapH: e,
|
|
643
642
|
unitW: t
|
|
644
|
-
}),
|
|
643
|
+
}), ee = n.close > n.open;
|
|
645
644
|
return {
|
|
646
645
|
period: n.period,
|
|
647
646
|
open: i,
|
|
@@ -649,26 +648,26 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
649
648
|
low: o,
|
|
650
649
|
close: s,
|
|
651
650
|
volume: n.volume,
|
|
652
|
-
isBullish:
|
|
651
|
+
isBullish: ee,
|
|
653
652
|
absoluteIndex: n.absoluteIndex
|
|
654
653
|
};
|
|
655
|
-
})), Pn =
|
|
654
|
+
})), Pn = d(() => P.value.style.zoom.minimap.show ? [{
|
|
656
655
|
name: "",
|
|
657
656
|
series: I.value.map((e) => e[2]),
|
|
658
657
|
color: "#000000",
|
|
659
658
|
isVisible: !0
|
|
660
659
|
}] : []);
|
|
661
660
|
function Fn(e) {
|
|
662
|
-
return
|
|
661
|
+
return l((e - X.value.min) / (X.value.max - X.value.min));
|
|
663
662
|
}
|
|
664
|
-
let In =
|
|
663
|
+
let In = d(() => X.value.ticks.map((e) => ({
|
|
665
664
|
y: W.value.bottom - W.value.height * Fn(e),
|
|
666
|
-
value:
|
|
667
|
-
}))), Ln =
|
|
665
|
+
value: l(e)
|
|
666
|
+
}))), Ln = d(() => J.value.map((e) => e.period)), Q = S([]), Rn = S([]), zn = 0;
|
|
668
667
|
Ve(() => {
|
|
669
668
|
let e = ++zn;
|
|
670
669
|
(async () => {
|
|
671
|
-
let t = await
|
|
670
|
+
let t = await ue({
|
|
672
671
|
values: I.value.map((e) => e[0]),
|
|
673
672
|
maxDatapoints: I.value.length,
|
|
674
673
|
formatter: P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
@@ -682,7 +681,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
682
681
|
Ve(() => {
|
|
683
682
|
let e = ++Bn;
|
|
684
683
|
(async () => {
|
|
685
|
-
let t = await
|
|
684
|
+
let t = await ue({
|
|
686
685
|
values: I.value.map((e) => e[0]),
|
|
687
686
|
maxDatapoints: I.value.length,
|
|
688
687
|
formatter: P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
@@ -692,10 +691,10 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
692
691
|
e === Bn && (Rn.value = t);
|
|
693
692
|
})();
|
|
694
693
|
});
|
|
695
|
-
let Vn =
|
|
694
|
+
let Vn = d(() => {
|
|
696
695
|
let e = P.value.style.layout.grid.xAxis.dataLabels.modulo;
|
|
697
696
|
return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
|
|
698
|
-
}), Hn =
|
|
697
|
+
}), Hn = S({
|
|
699
698
|
months: [],
|
|
700
699
|
shortMonths: [],
|
|
701
700
|
days: [],
|
|
@@ -704,12 +703,12 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
704
703
|
Ve(() => {
|
|
705
704
|
let e = ++Un, t = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
|
|
706
705
|
(async () => {
|
|
707
|
-
let n = await
|
|
706
|
+
let n = await le(t.locale).catch(() => le("en"));
|
|
708
707
|
e === Un && (Hn.value = n.data);
|
|
709
708
|
})();
|
|
710
709
|
});
|
|
711
|
-
let Wn =
|
|
712
|
-
let e = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t =
|
|
710
|
+
let Wn = d(() => {
|
|
711
|
+
let e = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = ce({
|
|
713
712
|
useUTC: e.useUTC,
|
|
714
713
|
locale: Hn.value,
|
|
715
714
|
januaryAsYear: e.januaryAsYear
|
|
@@ -718,22 +717,22 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
718
717
|
let r = I.value.map((e) => e[0])?.[e];
|
|
719
718
|
return r == null ? "" : t.formatDate(new Date(r), n);
|
|
720
719
|
};
|
|
721
|
-
}), Gn =
|
|
720
|
+
}), Gn = d(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
|
|
722
721
|
text: Wn.value(t, P.value.style.tooltip.timeFormat),
|
|
723
722
|
absoluteIndex: t
|
|
724
|
-
}))), Kn =
|
|
723
|
+
}))), Kn = d(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
|
|
725
724
|
text: Wn.value(t, P.value.style.zoom.timeFormat),
|
|
726
725
|
absoluteIndex: t
|
|
727
|
-
}))), qn =
|
|
726
|
+
}))), qn = d(() => {
|
|
728
727
|
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 =
|
|
728
|
+
return re(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Vn.value || 1), o, s, r, i, a);
|
|
729
|
+
}), Jn = d(() => P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
|
|
731
730
|
start: Q.value.find((e) => e.absoluteIndex === K.value.start)?.text ?? "",
|
|
732
731
|
end: Q.value.find((e) => e.absoluteIndex === K.value.end - 1)?.text ?? ""
|
|
733
732
|
} : {
|
|
734
733
|
start: I.value[K.value.start] ? I.value[K.value.start][0] : I.value[0][0],
|
|
735
734
|
end: I.value[K.value.end - 1] ? I.value[K.value.end - 1][0] : I.value.at(-1)[0]
|
|
736
|
-
}), Yn =
|
|
735
|
+
}), Yn = S(null);
|
|
737
736
|
function Xn(e, t) {
|
|
738
737
|
P.value.events.datapointClick && P.value.events.datapointClick({
|
|
739
738
|
datapoint: t,
|
|
@@ -768,7 +767,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
768
767
|
datapoint: t
|
|
769
768
|
});
|
|
770
769
|
let r = P.value.style.tooltip.customFormat;
|
|
771
|
-
if (
|
|
770
|
+
if (ee(r) && ie(() => r({
|
|
772
771
|
seriesIndex: e,
|
|
773
772
|
datapoint: t,
|
|
774
773
|
series: Z.value,
|
|
@@ -780,27 +779,27 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
780
779
|
config: P.value
|
|
781
780
|
});
|
|
782
781
|
else if (P.value.style.tooltip.show) {
|
|
783
|
-
let n = "", { period: r, open:
|
|
782
|
+
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
783
|
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
|
|
784
|
+
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}">`;
|
|
785
|
+
let ce = s({
|
|
787
786
|
p: P.value.style.tooltip.prefix,
|
|
788
|
-
v:
|
|
787
|
+
v: i.value,
|
|
789
788
|
s: P.value.style.tooltip.suffix,
|
|
790
789
|
r: P.value.style.tooltip.roundingValue
|
|
791
|
-
}),
|
|
790
|
+
}), le = s({
|
|
792
791
|
p: P.value.style.tooltip.prefix,
|
|
793
|
-
v:
|
|
792
|
+
v: a.value,
|
|
794
793
|
s: P.value.style.tooltip.suffix,
|
|
795
794
|
r: P.value.style.tooltip.roundingValue
|
|
796
|
-
}),
|
|
795
|
+
}), ue = s({
|
|
797
796
|
p: P.value.style.tooltip.prefix,
|
|
798
|
-
v:
|
|
797
|
+
v: o.value,
|
|
799
798
|
s: P.value.style.tooltip.suffix,
|
|
800
799
|
r: P.value.style.tooltip.roundingValue
|
|
801
|
-
}),
|
|
800
|
+
}), de = s({
|
|
802
801
|
p: P.value.style.tooltip.prefix,
|
|
803
|
-
v:
|
|
802
|
+
v: ee.value,
|
|
804
803
|
s: P.value.style.tooltip.suffix,
|
|
805
804
|
r: P.value.style.tooltip.roundingValue
|
|
806
805
|
});
|
|
@@ -811,36 +810,36 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
811
810
|
${t.isBullish ? `
|
|
812
811
|
<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
812
|
<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}">${
|
|
813
|
+
<text x="38" y="70" text-anchor="end" fill="${P.value.style.tooltip.color}">${ce}</text>
|
|
814
|
+
<text x="62" y="40" text-anchor="start" fill="${P.value.style.tooltip.color}">${de}</text>
|
|
816
815
|
` : `
|
|
817
816
|
<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
817
|
<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}">${
|
|
818
|
+
<text x="40" y="40" text-anchor="end" fill="${P.value.style.tooltip.color}">${ce}</text>
|
|
819
|
+
<text x="60" y="70" text-anchor="start" fill="${P.value.style.tooltip.color}">${de}</text>
|
|
821
820
|
`}
|
|
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}">${
|
|
821
|
+
<text x="50" y="13" text-anchor="middle" fill="${P.value.style.tooltip.color}">${le}</text>
|
|
822
|
+
<text x="50" y="97" text-anchor="middle" fill="${P.value.style.tooltip.color}">${ue}</text>
|
|
824
823
|
<g>
|
|
825
824
|
</svg>
|
|
826
825
|
<div>
|
|
827
|
-
` : (n += `<div>${
|
|
826
|
+
` : (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
827
|
}
|
|
829
828
|
It.value = !0;
|
|
830
829
|
}
|
|
831
|
-
let $n =
|
|
830
|
+
let $n = S(null);
|
|
832
831
|
function er() {
|
|
833
832
|
return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
|
|
834
833
|
}
|
|
835
|
-
|
|
834
|
+
Fe(() => {
|
|
836
835
|
$n.value && cancelAnimationFrame($n.value);
|
|
837
836
|
});
|
|
838
837
|
async function tr() {
|
|
839
|
-
ar(), await
|
|
838
|
+
ar(), await Pe(), $n.value && cancelAnimationFrame($n.value), $n.value = requestAnimationFrame(async () => {
|
|
840
839
|
await er(), ar();
|
|
841
840
|
});
|
|
842
841
|
}
|
|
843
|
-
let nr =
|
|
842
|
+
let nr = S(!1), rr = S(!1), ir = S(!1);
|
|
844
843
|
function ar() {
|
|
845
844
|
if (!nr.value) {
|
|
846
845
|
nr.value = !0;
|
|
@@ -859,7 +858,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
859
858
|
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
859
|
}
|
|
861
860
|
function sr(e = null) {
|
|
862
|
-
|
|
861
|
+
Pe(() => {
|
|
863
862
|
let t = [
|
|
864
863
|
P.value.translations.period,
|
|
865
864
|
P.value.translations.open,
|
|
@@ -874,7 +873,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
874
873
|
e.low.value,
|
|
875
874
|
e.close.value,
|
|
876
875
|
e.volume
|
|
877
|
-
]),
|
|
876
|
+
]), i = r([
|
|
878
877
|
[P.value.style.title.text],
|
|
879
878
|
[P.value.style.title.subtitle.text],
|
|
880
879
|
[
|
|
@@ -884,30 +883,30 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
884
883
|
],
|
|
885
884
|
t
|
|
886
885
|
].concat(n));
|
|
887
|
-
e ? e(
|
|
888
|
-
csvContent:
|
|
886
|
+
e ? e(i) : o({
|
|
887
|
+
csvContent: i,
|
|
889
888
|
title: P.value.style.title.text || "vue-ui-candlestick"
|
|
890
889
|
});
|
|
891
890
|
});
|
|
892
891
|
}
|
|
893
|
-
let cr =
|
|
892
|
+
let cr = d(() => {
|
|
894
893
|
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 =
|
|
894
|
+
let n = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, r = s({
|
|
896
895
|
p: P.value.table.td.prefix,
|
|
897
896
|
v: e.open.value,
|
|
898
897
|
s: P.value.table.td.suffix,
|
|
899
898
|
r: P.value.table.td.roundingValue
|
|
900
|
-
}),
|
|
899
|
+
}), i = s({
|
|
901
900
|
p: P.value.table.td.prefix,
|
|
902
901
|
v: e.high.value,
|
|
903
902
|
s: P.value.table.td.suffix,
|
|
904
903
|
r: P.value.table.td.roundingValue
|
|
905
|
-
}),
|
|
904
|
+
}), a = s({
|
|
906
905
|
p: P.value.table.td.prefix,
|
|
907
906
|
v: e.low.value,
|
|
908
907
|
s: P.value.table.td.suffix,
|
|
909
908
|
r: P.value.table.td.roundingValue
|
|
910
|
-
}),
|
|
909
|
+
}), o = s({
|
|
911
910
|
p: P.value.table.td.prefix,
|
|
912
911
|
v: e.close.value,
|
|
913
912
|
s: P.value.table.td.suffix,
|
|
@@ -916,32 +915,32 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
916
915
|
return [
|
|
917
916
|
`<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
917
|
r,
|
|
918
|
+
i,
|
|
919
919
|
a,
|
|
920
920
|
o,
|
|
921
|
-
s,
|
|
922
921
|
`${isNaN(e.volume) ? "-" : e.volume.toLocaleString()}`
|
|
923
922
|
];
|
|
924
923
|
}), t = Z.value.map((e, t) => [
|
|
925
924
|
P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period,
|
|
926
|
-
|
|
925
|
+
s({
|
|
927
926
|
p: P.value.table.td.prefix,
|
|
928
927
|
v: e.open.value,
|
|
929
928
|
s: P.value.table.td.suffix,
|
|
930
929
|
r: P.value.table.td.roundingValue
|
|
931
930
|
}),
|
|
932
|
-
|
|
931
|
+
s({
|
|
933
932
|
p: P.value.table.td.prefix,
|
|
934
933
|
v: e.high.value,
|
|
935
934
|
s: P.value.table.td.suffix,
|
|
936
935
|
r: P.value.table.td.roundingValue
|
|
937
936
|
}),
|
|
938
|
-
|
|
937
|
+
s({
|
|
939
938
|
p: P.value.table.td.prefix,
|
|
940
939
|
v: e.low.value,
|
|
941
940
|
s: P.value.table.td.suffix,
|
|
942
941
|
r: P.value.table.td.roundingValue
|
|
943
942
|
}),
|
|
944
|
-
|
|
943
|
+
s({
|
|
945
944
|
p: P.value.table.td.prefix,
|
|
946
945
|
v: e.close.value,
|
|
947
946
|
s: P.value.table.td.suffix,
|
|
@@ -975,7 +974,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
975
974
|
config: n,
|
|
976
975
|
colNames: r
|
|
977
976
|
};
|
|
978
|
-
}), $ =
|
|
977
|
+
}), $ = S(!1);
|
|
979
978
|
function lr(e) {
|
|
980
979
|
$.value = e, Rt.value += 1;
|
|
981
980
|
}
|
|
@@ -985,13 +984,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
985
984
|
function dr() {
|
|
986
985
|
H.value.showTooltip = !H.value.showTooltip;
|
|
987
986
|
}
|
|
988
|
-
let fr =
|
|
987
|
+
let fr = S(!1);
|
|
989
988
|
function pr() {
|
|
990
989
|
fr.value = !fr.value;
|
|
991
990
|
}
|
|
992
991
|
async function mr({ scale: e = 2 } = {}) {
|
|
993
992
|
if (!M.value) return;
|
|
994
|
-
let { imageUri: t, base64: n } = await
|
|
993
|
+
let { imageUri: t, base64: n } = await ye({
|
|
995
994
|
domElement: M.value,
|
|
996
995
|
base64: !0,
|
|
997
996
|
img: !0,
|
|
@@ -1000,7 +999,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1000
999
|
width: r.width,
|
|
1001
1000
|
height: r.height,
|
|
1002
1001
|
aspectRatio: r.height ? r.width / r.height : 0
|
|
1003
|
-
}, a = await
|
|
1002
|
+
}, a = await oe(t, e) ?? i;
|
|
1004
1003
|
return {
|
|
1005
1004
|
imageUri: t,
|
|
1006
1005
|
base64: n,
|
|
@@ -1008,8 +1007,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1008
1007
|
...a
|
|
1009
1008
|
};
|
|
1010
1009
|
}
|
|
1011
|
-
let hr =
|
|
1012
|
-
|
|
1010
|
+
let hr = d(() => R.value.width), gr = d(() => R.value.height);
|
|
1011
|
+
ve({
|
|
1013
1012
|
timeLabelsEls: Jt,
|
|
1014
1013
|
timeLabels: Q,
|
|
1015
1014
|
slicer: K,
|
|
@@ -1041,7 +1040,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1041
1040
|
showTooltip: P.value.style.tooltip.show
|
|
1042
1041
|
};
|
|
1043
1042
|
}, { immediate: !0 });
|
|
1044
|
-
let _r =
|
|
1043
|
+
let _r = d(() => {
|
|
1045
1044
|
let e = P.value.table.useDialog && !P.value.table.show, t = H.value.showTable;
|
|
1046
1045
|
return {
|
|
1047
1046
|
component: e ? kt : wt,
|
|
@@ -1078,13 +1077,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1078
1077
|
function vr() {
|
|
1079
1078
|
H.value.showTable = !1, Xt.value && Xt.value.setTableIconState(!1);
|
|
1080
1079
|
}
|
|
1081
|
-
let yr =
|
|
1080
|
+
let yr = d(() => P.value.style.backgroundColor), { exportSvg: br, getSvg: xr } = he({
|
|
1082
1081
|
svg: L,
|
|
1083
|
-
title:
|
|
1082
|
+
title: d(() => P.value.style.title),
|
|
1084
1083
|
backgroundColor: yr
|
|
1085
1084
|
});
|
|
1086
1085
|
async function Sr({ isCb: e }) {
|
|
1087
|
-
$t.value = !0, await
|
|
1086
|
+
$t.value = !0, await Pe();
|
|
1088
1087
|
try {
|
|
1089
1088
|
if (e) {
|
|
1090
1089
|
let { blob: e, url: t, text: n, dataUrl: r } = await xr();
|
|
@@ -1111,9 +1110,10 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
|
|
|
1111
1110
|
t !== K.value.end && (K.value.end = t, q.value.end = t, En());
|
|
1112
1111
|
}
|
|
1113
1112
|
function Er({ seriesIndex: e, datapoint: t }) {
|
|
1113
|
+
let n = K.value.start + e;
|
|
1114
1114
|
Nt("selectX", {
|
|
1115
1115
|
dataset: t,
|
|
1116
|
-
index:
|
|
1116
|
+
index: n,
|
|
1117
1117
|
indexLabel: ""
|
|
1118
1118
|
});
|
|
1119
1119
|
}
|
|
@@ -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"]]);
|