vue-data-ui 3.22.4 → 3.22.6
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-CgzmXCW_.js → Arrow-Ds4xmpiQ.js} +1 -1
- package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-VbypEaAa.js} +2 -2
- package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-DcUvOfxf.js} +1 -1
- package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-DFwIY5bE.js} +1 -1
- package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-DwolSINF.js} +2 -2
- package/dist/{ColorPicker-Usv7badH.js → ColorPicker-UVDPcrjE.js} +2 -2
- package/dist/{DataTable-PidUPOit.js → DataTable-CXfvIulC.js} +2 -2
- package/dist/{Legend-DXOzbXb-.js → Legend-D-635Kag.js} +2 -2
- package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-pR_1qp3s.js} +29 -29
- package/dist/{PackageVersion-Cm-3hwIF.js → PackageVersion-Da7hl-34.js} +1 -1
- package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-Bk2-E7V4.js} +18 -18
- package/dist/{Shape-BnF9aMPX.js → Shape-BSetplwm.js} +1 -1
- package/dist/{Slicer-hEvKOLw3.js → Slicer-ClIGOuoX.js} +2 -2
- package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-D1n9AW39.js} +4 -4
- package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-CjDAyolg.js} +1 -1
- package/dist/{Title-DDEEO-Nr.js → Title-C-p0ilWB.js} +1 -1
- package/dist/{Tooltip-BhKov422.js → Tooltip-YabpoXo1.js} +1 -1
- package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BO4VFL8O.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-ZOysoMwu.js → dom-to-png-CVJfsfwL.js} +1 -1
- package/dist/exposedLib-CjwriUaG.js +19 -0
- package/dist/{img-B29J8tV5.js → img-B_y5qDdm.js} +1 -1
- package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CyVwqXSh.js} +1 -1
- package/dist/{lib-CuwHGt1j.js → lib-DRBJCmHW.js} +6 -9
- package/dist/{package-CRlwXCDr.js → package-DyQ_PQis.js} +1 -1
- package/dist/{pdf-ymYt9Lee.js → pdf-CG02qhAH.js} +1 -1
- package/dist/{render-common-D6ny-Fwu.js → render-common-CUAlQvAQ.js} +22 -22
- 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 +14 -0
- package/dist/types/vue-ui-treemap.d.ts +3 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-DPMOys9n.js} +1 -1
- package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
- package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-BEo2N1Db.js} +1 -1
- package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
- package/dist/{usePrinter-C0wAS8yc.js → usePrinter-CRp5IW3v.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-DTWqd0R2.js → vue-data-ui-Bpu4kxlm.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +1757 -0
- package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-CfMrbDoq.js} +4 -4
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +1238 -0
- package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-CG6rhFpy.js} +68 -68
- package/dist/{vue-ui-bullet-tlj5_z_z.js → vue-ui-bullet-C_oBS1cr.js} +18 -18
- package/dist/{vue-ui-bump-BD0Uq3As.js → vue-ui-bump-BZB1Na8h.js} +243 -243
- package/dist/{vue-ui-candlestick-CZxsNGKS.js → vue-ui-candlestick-8d_1xO8X.js} +27 -27
- package/dist/{vue-ui-carousel-table-ycbcmBKt.js → vue-ui-carousel-table-BfZNcwmY.js} +43 -43
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +2010 -0
- package/dist/vue-ui-chord-B-sauvLo.js +1391 -0
- package/dist/{vue-ui-circle-pack-BPC6zUis.js → vue-ui-circle-pack-BLh8HnGK.js} +32 -32
- package/dist/{vue-ui-cursor-DF_e5k1s.js → vue-ui-cursor-DVsEm_4l.js} +4 -4
- package/dist/{vue-ui-dag-BIo4-Oa8.js → vue-ui-dag-Cfi0b9qm.js} +24 -24
- package/dist/{vue-ui-dashboard-BEtF6UX2.js → vue-ui-dashboard-F_NZ1xoQ.js} +70 -70
- package/dist/{vue-ui-digits-07IxTlNO.js → vue-ui-digits-BfP1kbj3.js} +4 -4
- package/dist/vue-ui-donut-BwAyvV3-.js +2410 -0
- package/dist/{vue-ui-donut-C5oRCxAO.js → vue-ui-donut-DlVRnVr_.js} +120 -120
- package/dist/{vue-ui-donut-evolution-BSeyPC9k.js → vue-ui-donut-evolution-D1k4u6cA.js} +419 -419
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +1530 -0
- package/dist/{vue-ui-flow-R_dLE1WS.js → vue-ui-flow-D_7Idmmw.js} +84 -84
- package/dist/vue-ui-funnel-BYCFV5TD.js +777 -0
- package/dist/vue-ui-galaxy-Bjxbg5_B.js +1077 -0
- package/dist/{vue-ui-gauge-AbzY-7Gg.js → vue-ui-gauge-Dt0H7DgC.js} +217 -217
- package/dist/{vue-ui-geo-DVT9XEC3.js → vue-ui-geo-89DEQb5l.js} +18 -18
- package/dist/{vue-ui-gizmo-DJTRXao8.js → vue-ui-gizmo-CQyLK18v.js} +62 -62
- package/dist/{vue-ui-heatmap-BCFId15K.js → vue-ui-heatmap-o6MvoxBK.js} +247 -247
- package/dist/vue-ui-history-plot-B7zuCfdg.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-j3jszojt.js → vue-ui-horizontal-bar-CwB4sc6M.js} +275 -275
- package/dist/{vue-ui-kpi-DJjF6tcf.js → vue-ui-kpi-4C-j92D-.js} +4 -4
- package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-Bj4Wv-i8.js} +3 -3
- package/dist/vue-ui-molecule-BDrRmwmm.js +925 -0
- package/dist/{vue-ui-mood-radar-DP_4LHfZ.js → vue-ui-mood-radar-B5W35Fvp.js} +30 -30
- package/dist/{vue-ui-nested-donuts-DFsLZEqx.js → vue-ui-nested-donuts-wfesrzle.js} +105 -105
- package/dist/{vue-ui-onion-CzXx3Rme.js → vue-ui-onion-B8-psLbF.js} +40 -40
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +1416 -0
- package/dist/vue-ui-quadrant-BzyGOJR2.js +1978 -0
- package/dist/{vue-ui-quick-chart-CnIFPFPv.js → vue-ui-quick-chart-so_8PzvS.js} +663 -663
- package/dist/{vue-ui-radar-CNwKFbHc.js → vue-ui-radar-5fQ5AAWD.js} +63 -63
- package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-CKWHDKOT.js} +34 -34
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +924 -0
- package/dist/{vue-ui-ridgeline-Kw50zROq.js → vue-ui-ridgeline-DVbYznRz.js} +102 -102
- package/dist/vue-ui-rings-c-yLWFHr.js +1246 -0
- package/dist/{vue-ui-scatter-DoL5Kh1Y.js → vue-ui-scatter-QhmE7n1H.js} +87 -87
- package/dist/{vue-ui-skeleton-BOHwJSdz.js → vue-ui-skeleton-BkxB6Dik.js} +4 -4
- package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-C4g0iaF7.js} +10 -10
- package/dist/{vue-ui-spark-trend-OgSFIFh0.js → vue-ui-spark-trend-0FELlq4x.js} +98 -98
- package/dist/{vue-ui-sparkbar-D8FdqMB_.js → vue-ui-sparkbar-D-i_VLO6.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CBpPbVkw.js → vue-ui-sparkgauge-CWw6w_ng.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-BQjbLa2k.js → vue-ui-sparkhistogram-DuGpkfma.js} +105 -105
- package/dist/{vue-ui-sparkline-BJfh5Lje.js → vue-ui-sparkline-Bi06lHQd.js} +252 -252
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +662 -0
- package/dist/{vue-ui-stackbar-Dqs7_g8D.js → vue-ui-stackbar-DDvuDGQ_.js} +85 -85
- package/dist/vue-ui-stackline-C0NHBUaE.js +2416 -0
- package/dist/{vue-ui-strip-plot-B7D6Hk8R.js → vue-ui-strip-plot-_6LL45i9.js} +369 -369
- package/dist/{vue-ui-table-Bqi9XNvY.js → vue-ui-table-DBlZswRi.js} +26 -26
- package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-3xYIDKcP.js} +6 -6
- package/dist/{vue-ui-table-sparkline-0Ffb2jdf.js → vue-ui-table-sparkline-BH5PzEnJ.js} +201 -201
- package/dist/{vue-ui-thermometer-Di5PXtEO.js → vue-ui-thermometer-BxMzAqoT.js} +119 -119
- package/dist/{vue-ui-timer-9CDcd-gP.js → vue-ui-timer-ONSitYDm.js} +30 -30
- package/dist/{vue-ui-tiremarks-BAQ-cCSq.js → vue-ui-tiremarks-DWXM-9nR.js} +15 -15
- package/dist/vue-ui-treemap-B03c4RIy.js +1713 -0
- package/dist/{vue-ui-waffle-DG2IfACo.js → vue-ui-waffle-afa8HSxz.js} +160 -160
- package/dist/{vue-ui-wheel-BfXJFCjv.js → vue-ui-wheel-DRP7X8S2.js} +37 -37
- package/dist/{vue-ui-word-cloud-3NJy1z6d.js → vue-ui-word-cloud-AKpMO97a.js} +38 -38
- package/dist/{vue-ui-world-vrGT5g1H.js → vue-ui-world-CqS-HhZl.js} +400 -400
- package/dist/{vue-ui-xy-Dg0wxSeC.js → vue-ui-xy-Bmd11BxR.js} +656 -656
- package/dist/{vue-ui-xy-Cb7u46JN.js → vue-ui-xy-DJ8YKPgs.js} +244 -244
- package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DO_PDGKf.js} +47 -47
- package/package.json +1 -1
- package/dist/exposedLib-C2U48XK7.js +0 -19
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +0 -1757
- package/dist/vue-ui-age-pyramid-e09oK-Fp.js +0 -1238
- package/dist/vue-ui-chestnut-CnEsjvh4.js +0 -2010
- package/dist/vue-ui-chord-BZhXsZXp.js +0 -1391
- package/dist/vue-ui-donut-C4FcvXm3.js +0 -2410
- package/dist/vue-ui-dumbbell-Cykw4WYn.js +0 -1530
- package/dist/vue-ui-funnel-Ct5xQdak.js +0 -777
- package/dist/vue-ui-galaxy-B5BkdIt5.js +0 -1077
- package/dist/vue-ui-history-plot-DCeroetw.js +0 -1700
- package/dist/vue-ui-molecule-2pfoR63d.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +0 -1416
- package/dist/vue-ui-quadrant-Br_iZmcw.js +0 -1978
- package/dist/vue-ui-relation-circle-BVDIikGi.js +0 -924
- package/dist/vue-ui-rings-BDJyoWvT.js +0 -1246
- package/dist/vue-ui-sparkstackbar-1WUQrqd7.js +0 -662
- package/dist/vue-ui-stackline-IRjugedp.js +0 -2416
- package/dist/vue-ui-treemap-CLOlWiDE.js +0 -1587
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { At as t, Dt as n, Ht as r, It as i, Pt as a, Q as o, S as s, St as c, W as l, Wt as u, X as ee, _t as te, a as ne, at as re, b as ie, h as ae, i as oe, mt as se, q as ce, w as le, wt as ue } from "./lib-DRBJCmHW.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-DYM3f6EI.js";
|
|
5
|
+
import { t as he } from "./usePrinter-CRp5IW3v.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-BEo2N1Db.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-B_y5qDdm.js";
|
|
10
|
+
import { n as xe } from "./Title-C-p0ilWB.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-DcUvOfxf.js";
|
|
15
|
+
import { t as je } from "./SlicerPreview-D1n9AW39.js";
|
|
16
|
+
import { t as Me } from "./vue-ui-accordion-CfMrbDoq.js";
|
|
17
|
+
import { t as Ne } from "./BaseLegendToggle-DFwIY5bE.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-D-635Kag.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-YabpoXo1.js")), mt = Ue(() => import("./DataTable-CXfvIulC.js")), ht = Ue(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), gt = Ue(() => import("./NonSvgPenAndPaper-pR_1qp3s.js")), _t = Ue(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), { vue_ui_xy_canvas: vt } = me(), { isThemeValid: yt, warnInvalidTheme: bt } = ye(), T = e, E = b(l()), 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(() => u({
|
|
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: u({
|
|
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
|
+
}), n = {}, i = e.theme;
|
|
180
|
+
if (i) if (!yt.value(e)) bt(e), n = e;
|
|
181
181
|
else {
|
|
182
|
-
let
|
|
183
|
-
userConfig: Le[
|
|
182
|
+
let a = ve({
|
|
183
|
+
userConfig: Le[i] || T.config,
|
|
184
184
|
defaultConfig: e
|
|
185
185
|
});
|
|
186
|
-
|
|
186
|
+
n = {
|
|
187
187
|
...ve({
|
|
188
188
|
userConfig: T.config,
|
|
189
|
-
defaultConfig:
|
|
189
|
+
defaultConfig: a
|
|
190
190
|
}),
|
|
191
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
191
|
+
customPalette: e.customPalette.length ? e.customPalette : r[i] || t
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
|
-
else
|
|
195
|
-
return T.config &&
|
|
196
|
-
defaultConfig:
|
|
194
|
+
else n = 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."), n.style.chart.grid.x.timeLabels = ve({
|
|
196
|
+
defaultConfig: n.style.chart.grid.x.timeLabels,
|
|
197
197
|
userConfig: T.config.style.chart.grid.y.timeLabels
|
|
198
|
-
})),
|
|
198
|
+
})), n;
|
|
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;
|
|
@@ -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 = ae(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>${oe(B.value.style.chart.dataLabels.formatter, e.series[j.value] ?? "-", ce({
|
|
301
301
|
p: e.prefix || "",
|
|
302
302
|
v: e.series[j.value] ?? "-",
|
|
303
303
|
s: e.suffix || "",
|
|
@@ -307,14 +307,14 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
307
307
|
seriesIndex: j.value
|
|
308
308
|
})}</span>
|
|
309
309
|
</div>
|
|
310
|
-
`)), wn = p(() => B.value.style.chart.line.cutNullValues), K = p(() => $t.value.map((e,
|
|
310
|
+
`)), wn = p(() => B.value.style.chart.line.cutNullValues), K = p(() => $t.value.map((e, n) => ({
|
|
311
311
|
...e,
|
|
312
|
-
series:
|
|
313
|
-
data:
|
|
312
|
+
series: c({
|
|
313
|
+
data: a(e.series, [], wn.value),
|
|
314
314
|
threshold: B.value.downsample.threshold
|
|
315
315
|
}),
|
|
316
|
-
absoluteIndex:
|
|
317
|
-
color:
|
|
316
|
+
absoluteIndex: n,
|
|
317
|
+
color: ie(e.color || pn.value[n] || t[n] || t[n % t.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(() => ne(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 ? ae(i.valueMin, i.valueMax, a) : ae(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) => ({
|
|
@@ -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, oe(B.value.style.chart.dataLabels.formatter, sr(e).value, ce({
|
|
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 || "",
|
|
@@ -643,7 +643,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
643
643
|
function Hn() {
|
|
644
644
|
B.value.style.chart.grid.y.axisLabels.show && (H.value.stacked ? q.value.forEach((e) => {
|
|
645
645
|
e.localYLabels.forEach((t, n) => {
|
|
646
|
-
f(O.value,
|
|
646
|
+
f(O.value, oe(B.value.style.chart.dataLabels.formatter, t.value, ce({
|
|
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 || "",
|
|
@@ -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, oe(B.value.style.chart.dataLabels.formatter, e.value, ce({
|
|
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, oe(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[t].value, ce({
|
|
680
680
|
p: e.prefix || "",
|
|
681
681
|
v: e.coordinatesLine[t].value,
|
|
682
682
|
s: e.suffix || "",
|
|
@@ -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 ? ue(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, oe(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[n].value, ce({
|
|
817
817
|
p: e.prefix || "",
|
|
818
818
|
v: e.coordinatesLine[n].value,
|
|
819
819
|
s: e.suffix || "",
|
|
@@ -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
|
+
}), te(s) && re(() => 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
|
+
}), te(n) && re(() => 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 && o({
|
|
1136
1136
|
componentName: "VueUiXyCanvas",
|
|
1137
1137
|
type: "dataset"
|
|
1138
1138
|
}), Ge(() => {
|
|
@@ -1178,10 +1178,10 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
1178
1178
|
let t = wr(e);
|
|
1179
1179
|
t !== null && (M.value.includes(t.absoluteIndex) || Cr(t.absoluteIndex));
|
|
1180
1180
|
}
|
|
1181
|
-
let Dr = p(() => K.value.map((e,
|
|
1181
|
+
let Dr = p(() => K.value.map((e, n) => ({
|
|
1182
1182
|
...e,
|
|
1183
1183
|
name: e.name,
|
|
1184
|
-
color:
|
|
1184
|
+
color: ie(e.color) || pn.value[n] || t[n] || t[n % t.length],
|
|
1185
1185
|
shape: e.shape || "circle",
|
|
1186
1186
|
prefix: e.prefix || "",
|
|
1187
1187
|
suffix: e.suffix || "",
|
|
@@ -1251,7 +1251,7 @@ 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 =
|
|
1254
|
+
], n = ["", ...Ar.value.head.map((e) => e.label)], r = Ar.value.body, i = le(t.concat([n]).concat(r));
|
|
1255
1255
|
e ? e(i) : ee({
|
|
1256
1256
|
csvContent: i,
|
|
1257
1257
|
title: B.value.style.chart.title.text || "vue-ui-xy-canvas"
|
|
@@ -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(te)(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,19 +0,0 @@
|
|
|
1
|
-
import { Gt as e, K as t, Rt as n, Tt as r, b as i } from "./lib-CuwHGt1j.js";
|
|
2
|
-
//#region src/exposedLib.js
|
|
3
|
-
function a(e, t) {
|
|
4
|
-
return r(i(e), t);
|
|
5
|
-
}
|
|
6
|
-
function o(e, n) {
|
|
7
|
-
return t(i(e), n);
|
|
8
|
-
}
|
|
9
|
-
function s(e, t) {
|
|
10
|
-
return n(i(e), t);
|
|
11
|
-
}
|
|
12
|
-
function c({ defaultConfig: t, userConfig: n }) {
|
|
13
|
-
return e({
|
|
14
|
-
defaultConfig: t,
|
|
15
|
-
userConfig: n
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { s as i, a as n, c as r, o as t };
|