vue-data-ui 3.22.0 → 3.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
- package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
- package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
- package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
- package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
- package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
- package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
- package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
- package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-Dx81ZIAL.js} +1 -1
- package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
- package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
- package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
- package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
- package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
- package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
- package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
- package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.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-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
- package/dist/exposedLib-CffbQxjN.js +19 -0
- package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
- package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
- package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
- package/dist/{package-0oRlvBuX.js → package-CILLITOI.js} +1 -1
- package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
- package/dist/{render-common-DSiH7qj-.js → render-common-bMAFQ_qf.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +7 -10
- package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
- package/dist/{useConfig-Br1uzq_L.js → useConfig-Bf_EBbe3.js} +4 -1
- package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
- package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-Byts-nf-.js} +1 -1
- package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DD-txoS1.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +1757 -0
- package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Di_givzQ.js} +4 -4
- package/dist/vue-ui-age-pyramid-CTwMfsqS.js +1238 -0
- package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-tRkLFMQ9.js} +60 -60
- package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-9gtGJaGb.js} +23 -23
- package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-BJ5O8Mps.js} +400 -400
- package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-CJ_VVYbJ.js} +50 -50
- package/dist/vue-ui-carousel-table-8s8BSy-K.js +455 -0
- package/dist/vue-ui-chestnut-D3-ck2h2.js +2010 -0
- package/dist/vue-ui-chord-1BitQtEw.js +1391 -0
- package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DVMhDFKU.js} +44 -44
- package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-D7yh10hX.js} +61 -61
- package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag--LFEAAf_.js} +18 -18
- package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-COeO878g.js} +70 -70
- package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-C50FVr7C.js} +4 -4
- package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-BzKXqQA2.js} +160 -160
- package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-NHjQzFO5.js} +474 -474
- package/dist/vue-ui-donut-evolution-lPkwit2C.js +1510 -0
- package/dist/vue-ui-dumbbell-hlEfvbbf.js +1530 -0
- package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-Bg_OSszc.js} +43 -43
- package/dist/vue-ui-funnel-B_bK0jJB.js +777 -0
- package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-WVCUzcYc.js} +301 -301
- package/dist/vue-ui-gauge-Cqeko0wA.js +920 -0
- package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-DtzXRvmx.js} +22 -22
- package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-hIFd7qck.js} +4 -4
- package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-yPlwc3l_.js} +95 -95
- package/dist/vue-ui-history-plot-BGmcDg2w.js +1554 -0
- package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-CJciNHpT.js} +264 -264
- package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DmSe1QGb.js} +4 -4
- package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-CqxI6DwN.js} +3 -3
- package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-w-94Uktn.js} +181 -181
- package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-B3OGWGHR.js} +29 -29
- package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-Dv_yE5EV.js} +211 -211
- package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-BQbI0Vxd.js} +34 -34
- package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-ColST3Jj.js} +40 -40
- package/dist/vue-ui-quadrant-BB7qdXK0.js +1978 -0
- package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-CGDeo3Fx.js} +358 -358
- package/dist/vue-ui-radar-DqDn14DL.js +1281 -0
- package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-ChDwpol2.js} +34 -34
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +924 -0
- package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-Cq8z57xB.js} +219 -219
- package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-Ds-sgNPK.js} +36 -36
- package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-BgOVUzQ3.js} +75 -75
- package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DJ5KAbfV.js} +42 -42
- package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-fFrNX-Gl.js} +17 -17
- package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-D6OBWxmg.js} +92 -92
- package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-CtCP8O44.js} +78 -78
- package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-CZDkyViI.js} +38 -38
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +560 -0
- package/dist/vue-ui-sparkline-CJKE7Xcl.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BSV0M-2u.js} +162 -162
- package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-pnlYCnTj.js} +67 -67
- package/dist/vue-ui-stackline-DS_MPmc1.js +2398 -0
- package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot-DSKOrJZX.js} +49 -49
- package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-c1FPEwLM.js} +87 -87
- package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-CMQJXnP8.js} +17 -17
- package/dist/vue-ui-table-sparkline-CAS9Pk60.js +712 -0
- package/dist/vue-ui-thermometer-w3eeJv9s.js +763 -0
- package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-CSP48eS-.js} +6 -6
- package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-DJvXj1P3.js} +19 -19
- package/dist/vue-ui-treemap-BaOMXTR1.js +1587 -0
- package/dist/vue-ui-waffle-Bo22Ph8n.js +1362 -0
- package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-CbL52G-w.js} +51 -51
- package/dist/vue-ui-word-cloud-BqOCyp7c.js +1723 -0
- package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-BkjzCcVh.js} +445 -445
- package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CVDNhnDY.js} +162 -162
- package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DuwLRfr4.js} +537 -534
- package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CXqGVMeQ.js} +65 -65
- package/package.json +2 -2
- package/dist/exposedLib-BJbE_A8E.js +0 -19
- package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
- package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
- package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
- package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
- package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
- package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
- package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
- package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
- package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
- package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
- package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
- package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
- package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
- package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
- package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
- package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
- package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
- package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
- package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
- package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
- package/dist/vue-ui-word-cloud-BqsUdsCY.js +0 -1656
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Et as t, Ft as n, G as r, H as i, Ht as a, It as o, J as s, S as c, Ut as l, X as u, gt as ee, h as te, it as ne, s as re, t as ie, v as d } from "./lib-CXicicWN.js";
|
|
3
3
|
import { n as ae, r as oe, t as se } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
-
import { t as ce } from "./useConfig-
|
|
5
|
-
import { t as le } from "./usePrinter-
|
|
4
|
+
import { t as ce } from "./useConfig-Bf_EBbe3.js";
|
|
5
|
+
import { t as le } from "./usePrinter-Dng0UK-G.js";
|
|
6
6
|
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
7
7
|
import { t as fe } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as pe } from "./useNestedProp-
|
|
8
|
+
import { t as pe } from "./useNestedProp-APyFoLCQ.js";
|
|
9
9
|
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as he } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
-
import { t as ge } from "./img-
|
|
12
|
-
import { n as _e } from "./Title-
|
|
11
|
+
import { t as ge } from "./img-BCAOkqfM.js";
|
|
12
|
+
import { n as _e } from "./Title-CVYf1f8m.js";
|
|
13
13
|
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { c as ye } from "./canvas-lib-BOP_HS11.js";
|
|
15
15
|
import { t as be } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
-
import { t as xe } from "./SlicerPreview-
|
|
16
|
+
import { t as xe } from "./SlicerPreview-CAhqG_ZQ.js";
|
|
17
17
|
import { t as Se } from "./A11yDataTable-DdRsVULz.js";
|
|
18
18
|
import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as we } from "./useChartAccessibility-DYqac8yF.js";
|
|
@@ -187,10 +187,10 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
187
187
|
},
|
|
188
188
|
emits: ["selectX", "copyAlt"],
|
|
189
189
|
setup(e, { expose: ve, emit: Be }) {
|
|
190
|
-
let Ot = v(() => import("./BaseIcon-
|
|
190
|
+
let Ot = v(() => import("./BaseIcon-DEtwcvEH.js").then((e) => e.n)), kt = v(() => import("./Tooltip-BmGCBJuU.js")), At = v(() => import("./vue-ui-accordion-Di_givzQ.js").then((e) => e.n)), jt = v(() => import("./DataTable-DJZgdnIn.js")), Mt = v(() => import("./PenAndPaper-DJIIG6dv.js").then((e) => e.t)), Nt = v(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), Pt = v(() => import("./PackageVersion-Dx81ZIAL.js").then((e) => e.t)), Ft = v(() => import("./BaseDraggableDialog-a9xCKjW-.js").then((e) => e.n)), { vue_ui_candlestick: It } = ce(), { isThemeValid: Lt, warnInvalidTheme: Rt } = me(), O = e, zt = Be, Bt = p(() => !!O.dataset && O.dataset.length), k = C(!1), Vt = C(null), A = C(i()), Ht = C(!1), Ut = C(""), j = C(void 0), Wt = C(0), M = C(null), Gt = C(null), Kt = C(null), qt = C(null), Jt = C(null), Yt = C(null), Xt = C(0), Zt = C(0), Qt = C(0), $t = C(null), en = C(null), tn = C(null), nn = C(null), rn = C(null), an = C(!1), on = C(!1), N = C(null), sn = C({
|
|
191
191
|
x: 0,
|
|
192
192
|
y: 0
|
|
193
|
-
}), cn = C("pointer"), ln = C(!1), P = C(vn()), un = p(() => P.value.userOptions.useCursorPointer), dn = p(() =>
|
|
193
|
+
}), cn = C("pointer"), ln = C(!1), P = C(vn()), un = p(() => P.value.userOptions.useCursorPointer), dn = p(() => l({
|
|
194
194
|
defaultConfig: {
|
|
195
195
|
useCssAnimation: !1,
|
|
196
196
|
userOptions: { show: !1 },
|
|
@@ -335,7 +335,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
335
335
|
5100
|
|
336
336
|
]
|
|
337
337
|
],
|
|
338
|
-
skeletonConfig:
|
|
338
|
+
skeletonConfig: l({
|
|
339
339
|
defaultConfig: P.value,
|
|
340
340
|
userConfig: dn.value
|
|
341
341
|
})
|
|
@@ -384,11 +384,11 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
384
384
|
});
|
|
385
385
|
let V = p(() => !!P.value.debug);
|
|
386
386
|
function yn() {
|
|
387
|
-
if (
|
|
387
|
+
if (t(O.dataset) && (u({
|
|
388
388
|
componentName: "VueUiCandlestick",
|
|
389
389
|
type: "dataset",
|
|
390
390
|
debug: V.value
|
|
391
|
-
}), fn.value = !0),
|
|
391
|
+
}), fn.value = !0), t(O.dataset) || (fn.value = P.value.loading), setTimeout(() => {
|
|
392
392
|
k.value = !0;
|
|
393
393
|
}, 10), P.value.responsive) {
|
|
394
394
|
let e = ye(() => {
|
|
@@ -402,13 +402,13 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
402
402
|
noTitle: Yt.value
|
|
403
403
|
});
|
|
404
404
|
requestAnimationFrame(() => {
|
|
405
|
-
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({
|
|
406
406
|
relator: Math.min(e, t),
|
|
407
407
|
adjuster: P.value.style.width,
|
|
408
408
|
source: P.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
409
409
|
threshold: 6,
|
|
410
410
|
fallback: 6
|
|
411
|
-
}), R.value.yAxisFontSize =
|
|
411
|
+
}), R.value.yAxisFontSize = a({
|
|
412
412
|
relator: Math.min(e, t),
|
|
413
413
|
adjuster: P.value.style.width,
|
|
414
414
|
source: P.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
@@ -571,7 +571,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
571
571
|
}))), Y = p(() => W.value.width / Pn.value.length), In = p(() => ({
|
|
572
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,
|
|
573
573
|
min: P.value.style.layout.grid.yAxis.scale.min === null ? 0 : P.value.style.layout.grid.yAxis.scale.min
|
|
574
|
-
})), X = p(() =>
|
|
574
|
+
})), X = p(() => te(In.value.min, In.value.max, P.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
575
575
|
function Ln(e, t, n = null, r = null) {
|
|
576
576
|
return {
|
|
577
577
|
...e,
|
|
@@ -753,11 +753,11 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
753
753
|
let t = e - K.value.start;
|
|
754
754
|
t < 0 || e >= K.value.end ? j.value = null : j.value = t ?? null;
|
|
755
755
|
}, { immediate: !0 });
|
|
756
|
-
function ir(e, t,
|
|
756
|
+
function ir(e, t, n = "pointer") {
|
|
757
757
|
P.value.events.datapointEnter && P.value.events.datapointEnter({
|
|
758
758
|
datapoint: t,
|
|
759
759
|
seriesIndex: e + K.value.start
|
|
760
|
-
}), j.value = e, N.value = e, cn.value =
|
|
760
|
+
}), j.value = e, N.value = e, cn.value = n, tr.value = {
|
|
761
761
|
datapoint: t,
|
|
762
762
|
seriesIndex: e,
|
|
763
763
|
series: Z.value,
|
|
@@ -767,7 +767,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
767
767
|
datapoint: t
|
|
768
768
|
});
|
|
769
769
|
let i = P.value.style.tooltip.customFormat;
|
|
770
|
-
if (
|
|
770
|
+
if (ee(i) && ne(() => i({
|
|
771
771
|
seriesIndex: e,
|
|
772
772
|
datapoint: t,
|
|
773
773
|
series: Z.value,
|
|
@@ -779,31 +779,31 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
779
779
|
config: P.value
|
|
780
780
|
});
|
|
781
781
|
else if (P.value.style.tooltip.show) {
|
|
782
|
-
let
|
|
783
|
-
|
|
784
|
-
fill="${P.value.style.layout.candle.gradient.show ? u ? `url(#bullish_gradient_${A.value})` : `url(#bearish_gradient_${A.value})` : u ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}"/></svg>${ae}</div>`,
|
|
785
|
-
let oe =
|
|
782
|
+
let n = "", { period: i, open: a, high: o, low: s, close: c, volume: l, isBullish: u } = Z.value[e], { period: ee, open: te, high: ne, low: re, close: ie, volume: d } = P.value.translations, ae = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? P.value.style.tooltip.useDefaultTimeFormat ? Q.value[e].text : Zn.value[e].text : i;
|
|
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}"
|
|
784
|
+
fill="${P.value.style.layout.candle.gradient.show ? u ? `url(#bullish_gradient_${A.value})` : `url(#bearish_gradient_${A.value})` : u ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}"/></svg>${ae}</div>`, n += `${d} : <b>${isNaN(l) ? "-" : Number(l.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 oe = r({
|
|
786
786
|
p: P.value.style.tooltip.prefix,
|
|
787
787
|
v: a.value,
|
|
788
788
|
s: P.value.style.tooltip.suffix,
|
|
789
789
|
r: P.value.style.tooltip.roundingValue
|
|
790
|
-
}), se =
|
|
790
|
+
}), se = r({
|
|
791
791
|
p: P.value.style.tooltip.prefix,
|
|
792
792
|
v: o.value,
|
|
793
793
|
s: P.value.style.tooltip.suffix,
|
|
794
794
|
r: P.value.style.tooltip.roundingValue
|
|
795
|
-
}), ce =
|
|
795
|
+
}), ce = r({
|
|
796
796
|
p: P.value.style.tooltip.prefix,
|
|
797
797
|
v: s.value,
|
|
798
798
|
s: P.value.style.tooltip.suffix,
|
|
799
799
|
r: P.value.style.tooltip.roundingValue
|
|
800
|
-
}), le =
|
|
800
|
+
}), le = r({
|
|
801
801
|
p: P.value.style.tooltip.prefix,
|
|
802
802
|
v: c.value,
|
|
803
803
|
s: P.value.style.tooltip.suffix,
|
|
804
804
|
r: P.value.style.tooltip.roundingValue
|
|
805
805
|
});
|
|
806
|
-
P.value.style.tooltip.showChart ?
|
|
806
|
+
P.value.style.tooltip.showChart ? n += `<div style="width:100%;display:flex;align-items:center;justify-content:center;">
|
|
807
807
|
<svg viewBox="0 0 100 100" width="100px" style="background: transparent; overflow: visible">
|
|
808
808
|
<g>
|
|
809
809
|
<line x1="50" x2="50" y1="20" y2="80" stroke="${t.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}" stroke-width="2" stroke-linecap="round" />
|
|
@@ -823,7 +823,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
823
823
|
<g>
|
|
824
824
|
</svg>
|
|
825
825
|
<div>
|
|
826
|
-
` : (
|
|
826
|
+
` : (n += `<div>${te}: <b>${oe}</b></div>`, n += `<div>${ne}: <b>${se}</b></div>`, n += `<div>${re}: <b>${ce}</b></div>`, n += `<div>${ie}: <b>${le}</b></div>`), n += "</div>", Ut.value = `<div style="text-align:right">${n}</div>`;
|
|
827
827
|
}
|
|
828
828
|
Ht.value = !0;
|
|
829
829
|
}
|
|
@@ -873,7 +873,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
873
873
|
e.low.value,
|
|
874
874
|
e.close.value,
|
|
875
875
|
e.volume
|
|
876
|
-
]), r =
|
|
876
|
+
]), r = c([
|
|
877
877
|
[P.value.style.title.text],
|
|
878
878
|
[P.value.style.title.subtitle.text],
|
|
879
879
|
[
|
|
@@ -883,7 +883,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
883
883
|
],
|
|
884
884
|
t
|
|
885
885
|
].concat(n));
|
|
886
|
-
e ? e(r) :
|
|
886
|
+
e ? e(r) : s({
|
|
887
887
|
csvContent: r,
|
|
888
888
|
title: P.value.style.title.text || "vue-ui-candlestick"
|
|
889
889
|
});
|
|
@@ -891,29 +891,29 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
891
891
|
}
|
|
892
892
|
let mr = p(() => {
|
|
893
893
|
let e = Z.value.map((e, t) => {
|
|
894
|
-
let
|
|
894
|
+
let n = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, i = r({
|
|
895
895
|
p: P.value.table.td.prefix,
|
|
896
896
|
v: e.open.value,
|
|
897
897
|
s: P.value.table.td.suffix,
|
|
898
898
|
r: P.value.table.td.roundingValue
|
|
899
|
-
}), a =
|
|
899
|
+
}), a = r({
|
|
900
900
|
p: P.value.table.td.prefix,
|
|
901
901
|
v: e.high.value,
|
|
902
902
|
s: P.value.table.td.suffix,
|
|
903
903
|
r: P.value.table.td.roundingValue
|
|
904
|
-
}), o =
|
|
904
|
+
}), o = r({
|
|
905
905
|
p: P.value.table.td.prefix,
|
|
906
906
|
v: e.low.value,
|
|
907
907
|
s: P.value.table.td.suffix,
|
|
908
908
|
r: P.value.table.td.roundingValue
|
|
909
|
-
}), s =
|
|
909
|
+
}), s = r({
|
|
910
910
|
p: P.value.table.td.prefix,
|
|
911
911
|
v: e.close.value,
|
|
912
912
|
s: P.value.table.td.suffix,
|
|
913
913
|
r: P.value.table.td.roundingValue
|
|
914
914
|
});
|
|
915
915
|
return [
|
|
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> ${
|
|
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}`,
|
|
917
917
|
i,
|
|
918
918
|
a,
|
|
919
919
|
o,
|
|
@@ -922,32 +922,32 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
922
922
|
];
|
|
923
923
|
}), t = Z.value.map((e, t) => [
|
|
924
924
|
P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period,
|
|
925
|
-
|
|
925
|
+
r({
|
|
926
926
|
p: P.value.table.td.prefix,
|
|
927
927
|
v: e.open.value,
|
|
928
928
|
s: P.value.table.td.suffix,
|
|
929
929
|
r: P.value.table.td.roundingValue
|
|
930
930
|
}),
|
|
931
|
-
|
|
931
|
+
r({
|
|
932
932
|
p: P.value.table.td.prefix,
|
|
933
933
|
v: e.high.value,
|
|
934
934
|
s: P.value.table.td.suffix,
|
|
935
935
|
r: P.value.table.td.roundingValue
|
|
936
936
|
}),
|
|
937
|
-
|
|
937
|
+
r({
|
|
938
938
|
p: P.value.table.td.prefix,
|
|
939
939
|
v: e.low.value,
|
|
940
940
|
s: P.value.table.td.suffix,
|
|
941
941
|
r: P.value.table.td.roundingValue
|
|
942
942
|
}),
|
|
943
|
-
|
|
943
|
+
r({
|
|
944
944
|
p: P.value.table.td.prefix,
|
|
945
945
|
v: e.close.value,
|
|
946
946
|
s: P.value.table.td.suffix,
|
|
947
947
|
r: P.value.table.td.roundingValue
|
|
948
948
|
}),
|
|
949
949
|
`${isNaN(e.volume) ? "-" : e.volume}`
|
|
950
|
-
]),
|
|
950
|
+
]), n = {
|
|
951
951
|
th: {
|
|
952
952
|
backgroundColor: P.value.table.th.backgroundColor,
|
|
953
953
|
color: P.value.table.th.color,
|
|
@@ -971,7 +971,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
971
971
|
head: i,
|
|
972
972
|
body: e,
|
|
973
973
|
bodyA11y: t,
|
|
974
|
-
config:
|
|
974
|
+
config: n,
|
|
975
975
|
colNames: i
|
|
976
976
|
};
|
|
977
977
|
}), $ = C(!1);
|
|
@@ -1187,7 +1187,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
1187
1187
|
toggleAnnotator: yr,
|
|
1188
1188
|
toggleFullscreen: hr,
|
|
1189
1189
|
copyAlt: Pr
|
|
1190
|
-
}), (e,
|
|
1190
|
+
}), (e, t) => (S(), g("div", {
|
|
1191
1191
|
ref_key: "candlestickChart",
|
|
1192
1192
|
ref: M,
|
|
1193
1193
|
class: b(`vue-data-ui-component vue-ui-candlestick ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -1408,11 +1408,11 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
1408
1408
|
}, null, 8, Je),
|
|
1409
1409
|
_("stop", {
|
|
1410
1410
|
offset: "50%",
|
|
1411
|
-
"stop-color": `${E(
|
|
1411
|
+
"stop-color": `${E(o)(P.value.style.layout.candle.colors.bearish, .02)}DE`
|
|
1412
1412
|
}, null, 8, Ye),
|
|
1413
1413
|
_("stop", {
|
|
1414
1414
|
offset: "100%",
|
|
1415
|
-
"stop-color": `${E(
|
|
1415
|
+
"stop-color": `${E(o)(P.value.style.layout.candle.colors.bearish, .05)}66`
|
|
1416
1416
|
}, null, 8, Xe)
|
|
1417
1417
|
], 8, qe), _("linearGradient", {
|
|
1418
1418
|
id: `bullish_gradient_${A.value}`,
|
|
@@ -1425,11 +1425,11 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
1425
1425
|
}, null, 8, Qe),
|
|
1426
1426
|
_("stop", {
|
|
1427
1427
|
offset: "50%",
|
|
1428
|
-
"stop-color": `${E(
|
|
1428
|
+
"stop-color": `${E(o)(P.value.style.layout.candle.colors.bullish, .02)}DE`
|
|
1429
1429
|
}, null, 8, $e),
|
|
1430
1430
|
_("stop", {
|
|
1431
1431
|
offset: "100%",
|
|
1432
|
-
"stop-color": `${E(
|
|
1432
|
+
"stop-color": `${E(o)(P.value.style.layout.candle.colors.bullish, .05)}66`
|
|
1433
1433
|
}, null, 8, et)
|
|
1434
1434
|
], 8, Ze)]),
|
|
1435
1435
|
P.value.style.layout.grid.show ? (S(), g("g", tt, [
|
|
@@ -1504,7 +1504,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
1504
1504
|
"font-size": R.value.yAxisFontSize,
|
|
1505
1505
|
fill: P.value.style.layout.grid.yAxis.dataLabels.color,
|
|
1506
1506
|
"font-weight": P.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
1507
|
-
}, Ie(E(
|
|
1507
|
+
}, Ie(E(r)({
|
|
1508
1508
|
p: P.value.style.layout.grid.yAxis.dataLabels.prefix,
|
|
1509
1509
|
v: e.value,
|
|
1510
1510
|
s: P.value.style.layout.grid.yAxis.dataLabels.suffix,
|
|
@@ -1609,7 +1609,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
1609
1609
|
y: W.value.top,
|
|
1610
1610
|
height: W.value.height <= 0 ? 1e-4 : W.value.height,
|
|
1611
1611
|
width: Y.value <= 0 ? 1e-4 : Y.value,
|
|
1612
|
-
fill: j.value === t || rn.value === t ? E(
|
|
1612
|
+
fill: j.value === t || rn.value === t ? E(n)(P.value.style.layout.selector.color, P.value.style.layout.selector.opacity) : "transparent",
|
|
1613
1613
|
onMouseover: () => ir(t, e, "pointer"),
|
|
1614
1614
|
onMouseleave: () => rr(t, e),
|
|
1615
1615
|
onClick: () => nr(t, e)
|
|
@@ -1690,8 +1690,8 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
1690
1690
|
"onUpdate:start": Ar,
|
|
1691
1691
|
onTrapMouse: kr,
|
|
1692
1692
|
onReset: sr,
|
|
1693
|
-
onFutureEnd:
|
|
1694
|
-
onFutureStart:
|
|
1693
|
+
onFutureEnd: t[0] ||= (e) => jn("end", e),
|
|
1694
|
+
onFutureStart: t[1] ||= (e) => jn("start", e)
|
|
1695
1695
|
}, {
|
|
1696
1696
|
"reset-action": D(({ reset: t }) => [T(e.$slots, "reset-action", x(y({ reset: t })), void 0, !0)]),
|
|
1697
1697
|
slotMap: D(({ height: e, unitW: t }) => [(S(!0), g(f, null, w(zn.value({
|
|
@@ -1810,7 +1810,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
|
|
|
1810
1810
|
fn: D(() => [_("button", {
|
|
1811
1811
|
tabindex: "0",
|
|
1812
1812
|
class: "vue-ui-user-options-button",
|
|
1813
|
-
onClick:
|
|
1813
|
+
onClick: t[2] ||= (e) => pr(P.value.userOptions.callbacks.csv),
|
|
1814
1814
|
style: je({ cursor: un.value ? "pointer" : "default" })
|
|
1815
1815
|
}, [Oe(E(Ot), {
|
|
1816
1816
|
name: "fileCsv",
|