vue-data-ui 3.22.0 → 3.22.1
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-_Dwp4NUr.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-CfgH43C9.js} +1 -1
- package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
- package/dist/{render-common-DSiH7qj-.js → render-common-B_81qHQA.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 +3 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
- package/dist/{useConfig-Br1uzq_L.js → useConfig-C10cdg45.js} +2 -0
- package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
- package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-DSBOFB88.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-DyFtIu5x.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-BONLasZK.js +1757 -0
- package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Ck_u5Nro.js} +4 -4
- package/dist/vue-ui-age-pyramid-CESMhEwG.js +1238 -0
- package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-DvpCTv7j.js} +60 -60
- package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-qdXPXPxt.js} +23 -23
- package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-LMO0-JMK.js} +400 -400
- package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-ByWgbxR_.js} +50 -50
- package/dist/vue-ui-carousel-table-Clv65OZW.js +455 -0
- package/dist/vue-ui-chestnut-Dbxtt0EO.js +2010 -0
- package/dist/vue-ui-chord-DsCYzzLp.js +1391 -0
- package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DUn2l2nz.js} +44 -44
- package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-CElckzVJ.js} +61 -61
- package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag-B7a6P_58.js} +18 -18
- package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-CuYXrIHK.js} +70 -70
- package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-CiRRs9Yh.js} +4 -4
- package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-PedJo3bO.js} +474 -474
- package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-_EtEQwAW.js} +160 -160
- package/dist/vue-ui-donut-evolution-C9mV62bb.js +1510 -0
- package/dist/vue-ui-dumbbell-byV_cZ7p.js +1530 -0
- package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-DOLqQ6P4.js} +43 -43
- package/dist/vue-ui-funnel-CInvdUuT.js +777 -0
- package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-DOeb6bP3.js} +301 -301
- package/dist/vue-ui-gauge-m2OemLTk.js +920 -0
- package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-CGw4_HqU.js} +22 -22
- package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-CavNggei.js} +4 -4
- package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-BgBgDRa_.js} +95 -95
- package/dist/vue-ui-history-plot-jc1aVr7r.js +1554 -0
- package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-BkV41pJi.js} +264 -264
- package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DZAJA0gO.js} +4 -4
- package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-C29a9zHr.js} +3 -3
- package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-E7a7X-Tz.js} +181 -181
- package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-ww9uHX-0.js} +29 -29
- package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-BNvpHhXK.js} +211 -211
- package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-Cis7D9N3.js} +34 -34
- package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-BnVXfomm.js} +40 -40
- package/dist/vue-ui-quadrant-DQ8rrBHV.js +1978 -0
- package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-B1xUyqD7.js} +358 -358
- package/dist/vue-ui-radar-D0y4BN8E.js +1281 -0
- package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-DKurps0a.js} +34 -34
- package/dist/vue-ui-relation-circle-aanEwlBG.js +924 -0
- package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-DS_llqb5.js} +219 -219
- package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-CILfFp-q.js} +36 -36
- package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-CQqdNOLR.js} +75 -75
- package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DpjFm7_n.js} +42 -42
- package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-BKQMu9Dw.js} +17 -17
- package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-xsg-hyHs.js} +92 -92
- package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-BwpOy0xT.js} +78 -78
- package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-DgTkRohs.js} +38 -38
- package/dist/vue-ui-sparkhistogram-D72VDOlh.js +560 -0
- package/dist/vue-ui-sparkline-WG-oYip8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BqAeq4Lb.js} +162 -162
- package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-CVIF37k7.js} +67 -67
- package/dist/vue-ui-stackline-DX1AYpur.js +2398 -0
- package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot--fR31p0x.js} +49 -49
- package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-DSE4d-Dx.js} +87 -87
- package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-DKE7y65s.js} +17 -17
- package/dist/vue-ui-table-sparkline-KOk0iH56.js +712 -0
- package/dist/vue-ui-thermometer-FQvSBV4T.js +763 -0
- package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-BsSpuP2_.js} +6 -6
- package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-f85yEqZh.js} +19 -19
- package/dist/vue-ui-treemap-DdSJEMp-.js +1587 -0
- package/dist/vue-ui-waffle-BHsayx6v.js +1362 -0
- package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-DerItN6D.js} +51 -51
- package/dist/{vue-ui-word-cloud-BqsUdsCY.js → vue-ui-word-cloud-DV-qLV17.js} +27 -27
- package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-DhH-_2IC.js} +445 -445
- package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CuAsNLLv.js} +162 -162
- package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DMoj6Y3F.js} +537 -534
- package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CrzY1ni9.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
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Ct as t, Et as n, Ft as r, G as i, H as a, J as o, Nt as s, S as c, Ut as l, Vt as u, X as ee, a as te, gt as ne, h as re, i as ie, it as ae, kt as oe, pt as se, x as ce, xt as le, y as ue } from "./lib-CXicicWN.js";
|
|
3
3
|
import { n as de, r as fe, t as pe } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
-
import { t as me } from "./useConfig-
|
|
5
|
-
import { t as he } from "./usePrinter-
|
|
4
|
+
import { t as me } from "./useConfig-C10cdg45.js";
|
|
5
|
+
import { t as he } from "./usePrinter-Dng0UK-G.js";
|
|
6
6
|
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ve } from "./useNestedProp-
|
|
7
|
+
import { t as ve } from "./useNestedProp-APyFoLCQ.js";
|
|
8
8
|
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as be } from "./img-
|
|
10
|
-
import { n as xe } from "./Title-
|
|
9
|
+
import { t as be } from "./img-BCAOkqfM.js";
|
|
10
|
+
import { n as xe } from "./Title-CVYf1f8m.js";
|
|
11
11
|
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { a as Ce, c as we, i as d, n as Te, o as Ee, r as De, s as f, t as Oe } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as ke } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
-
import { t as Ae } from "./BaseIcon-
|
|
15
|
-
import { t as je } from "./SlicerPreview-
|
|
16
|
-
import { t as Me } from "./vue-ui-accordion-
|
|
17
|
-
import { t as Ne } from "./BaseLegendToggle-
|
|
14
|
+
import { t as Ae } from "./BaseIcon-DEtwcvEH.js";
|
|
15
|
+
import { t as je } from "./SlicerPreview-CAhqG_ZQ.js";
|
|
16
|
+
import { t as Me } from "./vue-ui-accordion-Ck_u5Nro.js";
|
|
17
|
+
import { t as Ne } from "./BaseLegendToggle-B-lM0iV1.js";
|
|
18
18
|
import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as Ie } from "./Legend-
|
|
20
|
+
import { t as Ie } from "./Legend-BVDhEEsC.js";
|
|
21
21
|
import { t as Le } from "./vue_ui_xy_canvas-Cb6dg3eK.js";
|
|
22
22
|
import { Teleport as Re, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as ze, createElementVNode as g, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as Ue, guardReactiveProps as _, mergeProps as We, nextTick as Ge, normalizeClass as Ke, normalizeProps as v, normalizeStyle as qe, onBeforeUnmount as Je, onMounted as Ye, openBlock as y, ref as b, renderSlot as x, resolveDynamicComponent as Xe, shallowRef as Ze, toDisplayString as Qe, toRefs as $e, unref as S, useSlots as et, watch as C, watchEffect as tt, withCtx as w } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-xy-canvas.vue
|
|
@@ -64,7 +64,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
64
64
|
"copyAlt"
|
|
65
65
|
],
|
|
66
66
|
setup(e, { expose: Se, emit: nt }) {
|
|
67
|
-
let pt = Ue(() => import("./Tooltip-
|
|
67
|
+
let pt = Ue(() => import("./Tooltip-BmGCBJuU.js")), mt = Ue(() => import("./DataTable-DJZgdnIn.js")), ht = Ue(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), gt = Ue(() => import("./NonSvgPenAndPaper-Dwq_M6Bz.js")), _t = Ue(() => import("./BaseDraggableDialog-a9xCKjW-.js").then((e) => e.n)), { vue_ui_xy_canvas: vt } = me(), { isThemeValid: yt, warnInvalidTheme: bt } = ye(), T = e, E = b(a()), D = b(null), xt = b(null), O = b(null), k = b(1), A = b(1), St = b(!1), j = b(null), Ct = b(""), wt = b(null), M = b([]), Tt = b(1), N = b(!0), P = b(!0), Et = b(null), Dt = b(0), Ot = b(!1), kt = b(null), At = b(null), F = b(null), jt = b(null), Mt = b(0), Nt = b(0), Pt = b(0), I = b(null), Ft = b(!1), It = b(null), Lt = b(null), Rt = b(!1), zt = b(!1), Bt = b(!1), L = b(null), Vt = b(!1), Ht = b(!1), Ut = b(!1), R = b(null), Wt = b({
|
|
68
68
|
x: 0,
|
|
69
69
|
y: 0
|
|
70
70
|
}), z = p(() => Array.isArray($t.value) && $t.value.length > 0), Gt = nt, Kt = et();
|
|
@@ -81,7 +81,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
81
81
|
let t = e.series[R.value], n = t?.value ?? t ?? null;
|
|
82
82
|
return `${e.name}: ${n}`;
|
|
83
83
|
}).join(". ")}.`;
|
|
84
|
-
}), Yt = p(() => B.value.userOptions.useCursorPointer), Xt = p(() => !!B.value.debug), Zt = p(() =>
|
|
84
|
+
}), Yt = p(() => B.value.userOptions.useCursorPointer), Xt = p(() => !!B.value.debug), Zt = p(() => l({
|
|
85
85
|
defaultConfig: {
|
|
86
86
|
userOptions: { show: !1 },
|
|
87
87
|
table: { show: !1 },
|
|
@@ -157,7 +157,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
157
157
|
type: "bar",
|
|
158
158
|
color: "#AAAAAA"
|
|
159
159
|
}],
|
|
160
|
-
skeletonConfig:
|
|
160
|
+
skeletonConfig: l({
|
|
161
161
|
defaultConfig: B.value,
|
|
162
162
|
userConfig: Zt.value
|
|
163
163
|
})
|
|
@@ -176,26 +176,26 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
176
176
|
let e = ve({
|
|
177
177
|
userConfig: T.config,
|
|
178
178
|
defaultConfig: vt
|
|
179
|
-
}),
|
|
180
|
-
if (
|
|
179
|
+
}), t = {}, n = e.theme;
|
|
180
|
+
if (n) if (!yt.value(e)) bt(e), t = e;
|
|
181
181
|
else {
|
|
182
|
-
let
|
|
183
|
-
userConfig: Le[
|
|
182
|
+
let r = ve({
|
|
183
|
+
userConfig: Le[n] || T.config,
|
|
184
184
|
defaultConfig: e
|
|
185
185
|
});
|
|
186
|
-
|
|
186
|
+
t = {
|
|
187
187
|
...ve({
|
|
188
188
|
userConfig: T.config,
|
|
189
|
-
defaultConfig:
|
|
189
|
+
defaultConfig: r
|
|
190
190
|
}),
|
|
191
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
191
|
+
customPalette: e.customPalette.length ? e.customPalette : u[n] || oe
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
|
-
else
|
|
195
|
-
return T.config &&
|
|
196
|
-
defaultConfig:
|
|
194
|
+
else t = e;
|
|
195
|
+
return T.config && se(T.config, "style.chart.grid.y.timeLabels") && (console.warn("VueUiXyCanvas: you are using the deprecated config.style.chart.grid.y.timeLabels. It is recommended to move this configuration to config.style.chart.grid.x.timeLabels."), t.style.chart.grid.x.timeLabels = ve({
|
|
196
|
+
defaultConfig: t.style.chart.grid.x.timeLabels,
|
|
197
197
|
userConfig: T.config.style.chart.grid.y.timeLabels
|
|
198
|
-
})),
|
|
198
|
+
})), t;
|
|
199
199
|
}
|
|
200
200
|
C(() => T.config, (e) => {
|
|
201
201
|
Qt.value || (B.value = on()), en.value = !B.value.userOptions.showOnChartHover, xr(), Mt.value += 1, Nt.value += 1, Pt.value += 1, H.value.showTable = B.value.table.show, H.value.showDataLabels = B.value.style.chart.dataLabels.show, H.value.stacked = B.value.style.chart.stacked, H.value.showTooltip = B.value.style.chart.tooltip.show;
|
|
@@ -215,7 +215,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
215
215
|
function fn(e) {
|
|
216
216
|
Ot.value = e, Dt.value += 1;
|
|
217
217
|
}
|
|
218
|
-
let pn = p(() =>
|
|
218
|
+
let pn = p(() => ce(B.value.customPalette)), mn = p(() => M.value.length === K.value.length), U = p(() => K.value ? Math.max(...K.value.filter((e, t) => mn.value ? !0 : !M.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0);
|
|
219
219
|
function hn(e) {
|
|
220
220
|
L.value = e, Q();
|
|
221
221
|
}
|
|
@@ -278,7 +278,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
278
278
|
});
|
|
279
279
|
}
|
|
280
280
|
let G = p(() => {
|
|
281
|
-
let e = B.value.style.chart.scale.min === null ? Math.min(...K.value.filter((e, t) => !M.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(J.value.start, J.value.end))) : B.value.style.chart.scale.min, t = B.value.style.chart.scale.max === null ? Math.max(...K.value.filter((e, t) => !M.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(J.value.start, J.value.end))) : B.value.style.chart.scale.max, n =
|
|
281
|
+
let e = B.value.style.chart.scale.min === null ? Math.min(...K.value.filter((e, t) => !M.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(J.value.start, J.value.end))) : B.value.style.chart.scale.min, t = B.value.style.chart.scale.max === null ? Math.max(...K.value.filter((e, t) => !M.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(J.value.start, J.value.end))) : B.value.style.chart.scale.max, n = re(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, B.value.style.chart.scale.ticks), r = n.min < 0 ? Math.abs(n.min) : 0, i = W.value.bottom - W.value.height * (r / (n.max + r));
|
|
282
282
|
return {
|
|
283
283
|
absoluteMin: r,
|
|
284
284
|
max: t,
|
|
@@ -297,7 +297,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
297
297
|
<circle cx="5" cy="5" r="5" fill="${e.color}"/>
|
|
298
298
|
</svg>
|
|
299
299
|
<span>${e.name ? e.name + ": " : ""}</span>
|
|
300
|
-
<span>${
|
|
300
|
+
<span>${ie(B.value.style.chart.dataLabels.formatter, e.series[j.value] ?? "-", i({
|
|
301
301
|
p: e.prefix || "",
|
|
302
302
|
v: e.series[j.value] ?? "-",
|
|
303
303
|
s: e.suffix || "",
|
|
@@ -309,12 +309,12 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
309
309
|
</div>
|
|
310
310
|
`)), wn = p(() => B.value.style.chart.line.cutNullValues), K = p(() => $t.value.map((e, t) => ({
|
|
311
311
|
...e,
|
|
312
|
-
series:
|
|
313
|
-
data:
|
|
312
|
+
series: le({
|
|
313
|
+
data: s(e.series, [], wn.value),
|
|
314
314
|
threshold: B.value.downsample.threshold
|
|
315
315
|
}),
|
|
316
316
|
absoluteIndex: t,
|
|
317
|
-
color: ue(e.color || pn.value[t] ||
|
|
317
|
+
color: ue(e.color || pn.value[t] || oe[t] || oe[t % oe.length])
|
|
318
318
|
}))), Tn = p(() => {
|
|
319
319
|
if (!B.value.style.chart.zoom.minimap.show) return [];
|
|
320
320
|
let e = K.value.filter((e) => !M.value.includes(e.absoluteIndex)), t = Math.max(...e.map((e) => e.series.length)), n = [];
|
|
@@ -328,7 +328,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
328
328
|
C(U, (e) => {
|
|
329
329
|
e && kn();
|
|
330
330
|
});
|
|
331
|
-
let q = p(() =>
|
|
331
|
+
let q = p(() => te(K.value.filter((e, t) => !M.value.includes(e.absoluteIndex))).map((e, t) => ({
|
|
332
332
|
...e,
|
|
333
333
|
series: e.series.slice(J.value.start, J.value.end)
|
|
334
334
|
})).map((e, t) => {
|
|
@@ -339,7 +339,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
339
339
|
valueMin: n,
|
|
340
340
|
valueMax: r
|
|
341
341
|
}, a = e.scaleSteps || B.value.style.chart.scale.ticks, o;
|
|
342
|
-
o = e.autoScaling ?
|
|
342
|
+
o = e.autoScaling ? re(i.valueMin, i.valueMax, a) : re(i.valueMin < 0 ? i.valueMin : 0, i.valueMax <= 0 ? 0 : i.valueMax, a);
|
|
343
343
|
let s = H.value.stacked ? W.value.height * (1 - e.cumulatedStackRatio) : 0, c = H.value.stacked ? W.value.height / B.value.style.chart.stackGap : 0, l = H.value.stacked ? W.value.height * e.stackRatio - c : W.value.height, u = o.min < 0 ? Math.abs(o.min) : 0, ee;
|
|
344
344
|
ee = e.autoScaling && H.value.stacked && r <= 0 ? W.value.bottom - s - l : W.value.bottom - s - l * (u / (o.max + u));
|
|
345
345
|
let te = o.ticks.map((e, t) => ({
|
|
@@ -477,7 +477,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
477
477
|
y: e.localYLabels[n + 1].y
|
|
478
478
|
}
|
|
479
479
|
], {
|
|
480
|
-
fillColor: n % 2 == 0 ? "transparent" :
|
|
480
|
+
fillColor: n % 2 == 0 ? "transparent" : r(B.value.style.chart.grid.x.horizontalLines.color, B.value.style.chart.grid.x.horizontalLines.opacity),
|
|
481
481
|
strokeColor: "transparent"
|
|
482
482
|
});
|
|
483
483
|
});
|
|
@@ -558,7 +558,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
558
558
|
y: G.value.yLabels[t + 1].y
|
|
559
559
|
}
|
|
560
560
|
], {
|
|
561
|
-
fillColor: t % 2 == 0 ? "transparent" :
|
|
561
|
+
fillColor: t % 2 == 0 ? "transparent" : r(B.value.style.chart.grid.x.horizontalLines.color, B.value.style.chart.grid.x.horizontalLines.opacity),
|
|
562
562
|
strokeColor: "transparent"
|
|
563
563
|
});
|
|
564
564
|
}) : G.value.yLabels.forEach((e) => {
|
|
@@ -625,7 +625,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
625
625
|
}
|
|
626
626
|
function Vn() {
|
|
627
627
|
q.value.forEach((e) => {
|
|
628
|
-
e.showYMarker && sr(e) && f(O.value,
|
|
628
|
+
e.showYMarker && sr(e) && f(O.value, ie(B.value.style.chart.dataLabels.formatter, sr(e).value, i({
|
|
629
629
|
p: e.prefix || B.value.style.chart.grid.y.axisLabels.prefix || "",
|
|
630
630
|
v: sr(e).value,
|
|
631
631
|
s: e.suffix || B.value.style.chart.grid.y.axisLabels.suffix || "",
|
|
@@ -642,15 +642,15 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
642
642
|
}
|
|
643
643
|
function Hn() {
|
|
644
644
|
B.value.style.chart.grid.y.axisLabels.show && (H.value.stacked ? q.value.forEach((e) => {
|
|
645
|
-
e.localYLabels.forEach((t,
|
|
646
|
-
f(O.value,
|
|
645
|
+
e.localYLabels.forEach((t, n) => {
|
|
646
|
+
f(O.value, ie(B.value.style.chart.dataLabels.formatter, t.value, i({
|
|
647
647
|
p: e.prefix || B.value.style.chart.grid.y.axisLabels.prefix || "",
|
|
648
648
|
v: t.value,
|
|
649
649
|
s: e.suffix || B.value.style.chart.grid.y.axisLabels.suffix || "",
|
|
650
650
|
r: e.rounding || B.value.style.chart.grid.y.axisLabels.rounding || 0
|
|
651
651
|
}), {
|
|
652
652
|
datapoint: t,
|
|
653
|
-
seriesIndex:
|
|
653
|
+
seriesIndex: n
|
|
654
654
|
}), t.x + B.value.style.chart.grid.y.axisLabels.offsetX, t.y, {
|
|
655
655
|
align: "right",
|
|
656
656
|
font: `${B.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(k.value / 40 * B.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${B.value.style.fontFamily}`,
|
|
@@ -659,7 +659,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
659
659
|
});
|
|
660
660
|
});
|
|
661
661
|
}) : G.value.yLabels.forEach((e, t) => {
|
|
662
|
-
f(O.value,
|
|
662
|
+
f(O.value, ie(B.value.style.chart.dataLabels.formatter, e.value, i({
|
|
663
663
|
p: B.value.style.chart.grid.y.axisLabels.prefix || "",
|
|
664
664
|
v: e.value,
|
|
665
665
|
s: B.value.style.chart.grid.y.axisLabels.suffix || "",
|
|
@@ -676,7 +676,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
676
676
|
}));
|
|
677
677
|
}
|
|
678
678
|
function Un(e) {
|
|
679
|
-
for (let t = 0; t < e.coordinatesLine.length; t += 1) f(O.value,
|
|
679
|
+
for (let t = 0; t < e.coordinatesLine.length; t += 1) f(O.value, ie(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[t].value, i({
|
|
680
680
|
p: e.prefix || "",
|
|
681
681
|
v: e.coordinatesLine[t].value,
|
|
682
682
|
s: e.suffix || "",
|
|
@@ -742,7 +742,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
742
742
|
for (let e = J.value.start; e < J.value.end; e += 1) (J.value.end - J.value.start < B.value.style.chart.grid.x.timeLabels.modulo || J.value.end - J.value.start >= B.value.style.chart.grid.x.timeLabels.modulo && (e % Math.floor((J.value.end - J.value.start) / B.value.style.chart.grid.x.timeLabels.modulo) === 0 || (e === j.value + J.value.start || e === L.value) && B.value.style.chart.grid.x.timeLabels.showMarker)) && f(O.value, Z.value[e] ? Z.value[e].text : e + 1, W.value.left + W.value.slot * (e - J.value.start) + W.value.slot / 2, W.value.bottom + k.value / B.value.style.chart.grid.x.timeLabels.offsetY, {
|
|
743
743
|
align: B.value.style.chart.grid.x.timeLabels.rotation === 0 ? "center" : B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "left" : "right",
|
|
744
744
|
font: `${B.value.style.chart.grid.x.timeLabels.bold ? "bold " : ""}${Math.round(k.value / 40 * B.value.style.chart.grid.x.timeLabels.fontSizeRatio)}px ${B.value.style.fontFamily}`,
|
|
745
|
-
color: B.value.style.chart.grid.x.timeLabels.showMarker ?
|
|
745
|
+
color: B.value.style.chart.grid.x.timeLabels.showMarker ? r(B.value.style.chart.grid.x.timeLabels.color, j.value !== null || L.value !== null ? j.value + J.value.start === e || L.value === e ? 100 : 20 : 100) : B.value.style.chart.grid.x.timeLabels.color,
|
|
746
746
|
rotation: B.value.style.chart.grid.x.timeLabels.rotation
|
|
747
747
|
});
|
|
748
748
|
}
|
|
@@ -775,22 +775,22 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
775
775
|
});
|
|
776
776
|
}
|
|
777
777
|
function $n() {
|
|
778
|
-
X.value.forEach((e,
|
|
778
|
+
X.value.forEach((e, n) => {
|
|
779
779
|
for (let r = 0; r < e.coordinatesLine.length; r += 1) Ee(O.value, [
|
|
780
780
|
{
|
|
781
|
-
x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length *
|
|
781
|
+
x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * n - (n === 0 ? 0 : W.value.slot / (5 * X.value.length) * n)),
|
|
782
782
|
y: H.value.stacked ? e.localZero : G.value.zero
|
|
783
783
|
},
|
|
784
784
|
{
|
|
785
|
-
x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length *
|
|
785
|
+
x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * n - (n === 0 ? 0 : W.value.slot / (5 * X.value.length) * n)) + W.value.slot * .8 / (H.value.stacked ? 1 : X.value.length),
|
|
786
786
|
y: H.value.stacked ? e.localZero : G.value.zero
|
|
787
787
|
},
|
|
788
788
|
{
|
|
789
|
-
x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length *
|
|
789
|
+
x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * n - (n === 0 ? 0 : W.value.slot / (5 * X.value.length) * n)) + W.value.slot * .8 / (H.value.stacked ? 1 : X.value.length),
|
|
790
790
|
y: e.coordinatesLine[r].y
|
|
791
791
|
},
|
|
792
792
|
{
|
|
793
|
-
x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length *
|
|
793
|
+
x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * n - (n === 0 ? 0 : W.value.slot / (5 * X.value.length) * n)),
|
|
794
794
|
y: e.coordinatesLine[r].y
|
|
795
795
|
}
|
|
796
796
|
], {
|
|
@@ -810,10 +810,10 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
810
810
|
color: e.color
|
|
811
811
|
}, {
|
|
812
812
|
offset: 1,
|
|
813
|
-
color: B.value.style.chart.bar.gradient.show ?
|
|
813
|
+
color: B.value.style.chart.bar.gradient.show ? t(e.color, .5) : e.color
|
|
814
814
|
}]
|
|
815
815
|
}
|
|
816
|
-
}), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && f(O.value,
|
|
816
|
+
}), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && f(O.value, ie(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[r].value, i({
|
|
817
817
|
p: e.prefix || "",
|
|
818
818
|
v: e.coordinatesLine[r].value,
|
|
819
819
|
s: e.suffix || "",
|
|
@@ -821,7 +821,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
821
821
|
}), {
|
|
822
822
|
datapoint: e.coordinatesLine[r],
|
|
823
823
|
seriesIndex: r
|
|
824
|
-
}), W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length *
|
|
824
|
+
}), W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * n - (n === 0 ? 0 : W.value.slot / (5 * X.value.length) * n)) + W.value.slot * .4 / (H.value.stacked ? 1 : X.value.length), (e.coordinatesLine[r].value < 0 ? H.value.stacked ? e.localZero : G.value.zero : e.coordinatesLine[r].y) + B.value.style.chart.dataLabels.offsetY, {
|
|
825
825
|
align: "center",
|
|
826
826
|
font: `${Math.round(k.value / 40 * B.value.style.chart.dataLabels.fontSizeRatio)}px ${B.value.style.fontFamily}`,
|
|
827
827
|
color: B.value.style.chart.dataLabels.useSerieColor ? e.color : B.value.style.chart.dataLabels.color,
|
|
@@ -897,16 +897,16 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
897
897
|
if (e.useArea) {
|
|
898
898
|
let n = H.value.stacked ? e.localZero : G.value.zero;
|
|
899
899
|
if (t) {
|
|
900
|
-
let { polygons: t, singles:
|
|
900
|
+
let { polygons: t, singles: i } = er(e, n);
|
|
901
901
|
for (let n of t) Ce(O.value, n, {
|
|
902
|
-
fillColor:
|
|
902
|
+
fillColor: r(e.color, B.value.style.chart.area.opacity),
|
|
903
903
|
strokeColor: "transparent"
|
|
904
904
|
});
|
|
905
|
-
let
|
|
906
|
-
for (let t of
|
|
905
|
+
let a = k.value / 200 * B.value.style.chart.line.plots.radiusRatio;
|
|
906
|
+
for (let t of i) Oe(O.value, {
|
|
907
907
|
x: t.x,
|
|
908
908
|
y: t.y
|
|
909
|
-
},
|
|
909
|
+
}, a, {
|
|
910
910
|
color: B.value.style.chart.backgroundColor,
|
|
911
911
|
fillStyle: e.color,
|
|
912
912
|
strokeColor: "transparent"
|
|
@@ -915,16 +915,16 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
915
915
|
let t = {
|
|
916
916
|
x: e.coordinatesLine[0].x,
|
|
917
917
|
y: n
|
|
918
|
-
},
|
|
918
|
+
}, i = {
|
|
919
919
|
x: e.coordinatesLine.at(-1).x,
|
|
920
920
|
y: n
|
|
921
921
|
};
|
|
922
922
|
Ce(O.value, [
|
|
923
923
|
t,
|
|
924
924
|
...e.coordinatesLine,
|
|
925
|
-
|
|
925
|
+
i
|
|
926
926
|
], {
|
|
927
|
-
fillColor:
|
|
927
|
+
fillColor: r(e.color, B.value.style.chart.area.opacity),
|
|
928
928
|
strokeColor: "transparent"
|
|
929
929
|
});
|
|
930
930
|
}
|
|
@@ -1029,7 +1029,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
1029
1029
|
}, _r({
|
|
1030
1030
|
seriesIndex: j.value,
|
|
1031
1031
|
datapoint: c
|
|
1032
|
-
}),
|
|
1032
|
+
}), ne(s) && ae(() => s({
|
|
1033
1033
|
seriesIndex: j.value,
|
|
1034
1034
|
datapoint: c,
|
|
1035
1035
|
series: q.value,
|
|
@@ -1055,7 +1055,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
1055
1055
|
return _r({
|
|
1056
1056
|
seriesIndex: e,
|
|
1057
1057
|
datapoint: r
|
|
1058
|
-
}),
|
|
1058
|
+
}), ne(n) && ae(() => n({
|
|
1059
1059
|
seriesIndex: e,
|
|
1060
1060
|
datapoint: r,
|
|
1061
1061
|
series: q.value,
|
|
@@ -1132,7 +1132,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
1132
1132
|
Ft.value = !0, xr();
|
|
1133
1133
|
});
|
|
1134
1134
|
function xr() {
|
|
1135
|
-
if (
|
|
1135
|
+
if (n(T.dataset) && Xt.value && ee({
|
|
1136
1136
|
componentName: "VueUiXyCanvas",
|
|
1137
1137
|
type: "dataset"
|
|
1138
1138
|
}), Ge(() => {
|
|
@@ -1181,7 +1181,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
1181
1181
|
let Dr = p(() => K.value.map((e, t) => ({
|
|
1182
1182
|
...e,
|
|
1183
1183
|
name: e.name,
|
|
1184
|
-
color: ue(e.color) || pn.value[t] ||
|
|
1184
|
+
color: ue(e.color) || pn.value[t] || oe[t] || oe[t % oe.length],
|
|
1185
1185
|
shape: e.shape || "circle",
|
|
1186
1186
|
prefix: e.prefix || "",
|
|
1187
1187
|
suffix: e.suffix || "",
|
|
@@ -1251,8 +1251,8 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
1251
1251
|
[B.value.style.chart.title.text],
|
|
1252
1252
|
[B.value.style.chart.title.subtitle.text],
|
|
1253
1253
|
[""]
|
|
1254
|
-
], n = ["", ...Ar.value.head.map((e) => e.label)], r = Ar.value.body, i =
|
|
1255
|
-
e ? e(i) :
|
|
1254
|
+
], n = ["", ...Ar.value.head.map((e) => e.label)], r = Ar.value.body, i = c(t.concat([n]).concat(r));
|
|
1255
|
+
e ? e(i) : o({
|
|
1256
1256
|
csvContent: i,
|
|
1257
1257
|
title: B.value.style.chart.title.text || "vue-ui-xy-canvas"
|
|
1258
1258
|
});
|
|
@@ -1564,7 +1564,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
1564
1564
|
content: Ct.value,
|
|
1565
1565
|
isFullscreen: Ot.value,
|
|
1566
1566
|
backgroundOpacity: B.value.style.chart.tooltip.backgroundOpacity,
|
|
1567
|
-
isCustom: S(
|
|
1567
|
+
isCustom: S(ne)(B.value.style.chart.tooltip.customFormat),
|
|
1568
1568
|
smooth: B.value.style.chart.tooltip.smooth,
|
|
1569
1569
|
backdropFilter: B.value.style.chart.tooltip.backdropFilter,
|
|
1570
1570
|
smoothForce: B.value.style.chart.tooltip.smoothForce,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-data-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.22.
|
|
4
|
+
"version": "3.22.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
|
|
7
7
|
"keywords": [
|
|
@@ -129,6 +129,6 @@
|
|
|
129
129
|
"typescript": "^6.0.2",
|
|
130
130
|
"vite": "^8.0.16",
|
|
131
131
|
"vitest": "^4.1.8",
|
|
132
|
-
"vue": "^3.5.
|
|
132
|
+
"vue": "^3.5.39"
|
|
133
133
|
}
|
|
134
134
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Ft as e, Ht as t, St as n, W as r, y as i } from "./lib-AJRHFE5U.js";
|
|
2
|
-
//#region src/exposedLib.js
|
|
3
|
-
function a(e, t) {
|
|
4
|
-
return n(i(e), t);
|
|
5
|
-
}
|
|
6
|
-
function o(e, t) {
|
|
7
|
-
return r(i(e), t);
|
|
8
|
-
}
|
|
9
|
-
function s(t, n) {
|
|
10
|
-
return e(i(t), n);
|
|
11
|
-
}
|
|
12
|
-
function c({ defaultConfig: e, userConfig: n }) {
|
|
13
|
-
return t({
|
|
14
|
-
defaultConfig: e,
|
|
15
|
-
userConfig: n
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { s as i, a as n, c as r, o as t };
|