vue-data-ui 3.22.2 → 3.22.4
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-BGhJI-qh.js → Arrow-CgzmXCW_.js} +1 -1
- package/dist/{BaseDraggableDialog-a9xCKjW-.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
- package/dist/{BaseIcon-DEtwcvEH.js → BaseIcon-xBuW2jjI.js} +1 -1
- package/dist/{BaseLegendToggle-B-lM0iV1.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
- package/dist/{BaseZoomControls-BjjT6vtB.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
- package/dist/{ColorPicker-DMLahA2S.js → ColorPicker-Usv7badH.js} +2 -2
- package/dist/{DataTable-DJZgdnIn.js → DataTable-PidUPOit.js} +2 -2
- package/dist/Legend-DXOzbXb-.js +156 -0
- package/dist/{NonSvgPenAndPaper-Dwq_M6Bz.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
- package/dist/{PackageVersion-Dx81ZIAL.js → PackageVersion-Cm-3hwIF.js} +1 -1
- package/dist/{PenAndPaper-DJIIG6dv.js → PenAndPaper-ISUbDKXq.js} +11 -11
- package/dist/{Shape-C5OvuwII.js → Shape-BnF9aMPX.js} +3 -3
- package/dist/Slicer-hEvKOLw3.js +1145 -0
- package/dist/{SlicerPreview-CAhqG_ZQ.js → SlicerPreview-BDI-aCXE.js} +36 -35
- package/dist/{SparkTooltip-DTzo8Sah.js → SparkTooltip-DaWSTzfA.js} +1 -1
- package/dist/{Title-CVYf1f8m.js → Title-DDEEO-Nr.js} +1 -1
- package/dist/{Tooltip-BmGCBJuU.js → Tooltip-BhKov422.js} +1 -1
- package/dist/{UserOptions-xqbNpHi2.js → UserOptions-BxT1XHzN.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-rjAIVHxa.js → dom-to-png-ZOysoMwu.js} +1 -1
- package/dist/exposedLib-C2U48XK7.js +19 -0
- package/dist/img-B29J8tV5.js +129 -0
- package/dist/{labelUtils-C0D1tjig.js → labelUtils-BFcL_t-A.js} +1 -1
- package/dist/{lib-CXicicWN.js → lib-CuwHGt1j.js} +143 -124
- package/dist/{package-CILLITOI.js → package-CRlwXCDr.js} +1 -1
- package/dist/{pdf-ChYv2jb6.js → pdf-ymYt9Lee.js} +1 -1
- package/dist/{render-common-bMAFQ_qf.js → render-common-D6ny-Fwu.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 +69 -2
- package/dist/types/vue-ui-strip-plot.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-B4-0yo3K.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
- package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
- package/dist/{useNestedProp-APyFoLCQ.js → useNestedProp-BjkuFaz1.js} +1 -1
- package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
- package/dist/{usePrinter-Dng0UK-G.js → usePrinter-C0wAS8yc.js} +3 -3
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-DD-txoS1.js → vue-data-ui-DTWqd0R2.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
- package/dist/{vue-ui-accordion-Di_givzQ.js → vue-ui-accordion-B64IJyPU.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CTwMfsqS.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
- package/dist/{vue-ui-annotator-tRkLFMQ9.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
- package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
- package/dist/{vue-ui-bump-BJ5O8Mps.js → vue-ui-bump-BD0Uq3As.js} +259 -259
- package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
- package/dist/{vue-ui-carousel-table-8s8BSy-K.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
- package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
- package/dist/{vue-ui-chord-1BitQtEw.js → vue-ui-chord-BZhXsZXp.js} +53 -53
- package/dist/{vue-ui-circle-pack-DVMhDFKU.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
- package/dist/{vue-ui-cursor-D7yh10hX.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
- package/dist/{vue-ui-dag--LFEAAf_.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
- package/dist/{vue-ui-dashboard-COeO878g.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
- package/dist/{vue-ui-digits-C50FVr7C.js → vue-ui-digits-07IxTlNO.js} +4 -4
- package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
- package/dist/{vue-ui-donut-BzKXqQA2.js → vue-ui-donut-C5oRCxAO.js} +193 -193
- package/dist/{vue-ui-donut-evolution-lPkwit2C.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
- package/dist/{vue-ui-dumbbell-hlEfvbbf.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
- package/dist/{vue-ui-flow-Bg_OSszc.js → vue-ui-flow-R_dLE1WS.js} +72 -72
- package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
- package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
- package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
- package/dist/{vue-ui-geo-DtzXRvmx.js → vue-ui-geo-DVT9XEC3.js} +18 -18
- package/dist/{vue-ui-gizmo-hIFd7qck.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
- package/dist/{vue-ui-heatmap-yPlwc3l_.js → vue-ui-heatmap-BCFId15K.js} +293 -293
- package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
- package/dist/{vue-ui-horizontal-bar-CJciNHpT.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
- package/dist/{vue-ui-kpi-DmSe1QGb.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
- package/dist/{vue-ui-mini-loader-CqxI6DwN.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
- package/dist/{vue-ui-molecule-w-94Uktn.js → vue-ui-molecule-2pfoR63d.js} +213 -213
- package/dist/{vue-ui-mood-radar-B3OGWGHR.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
- package/dist/{vue-ui-nested-donuts-Dv_yE5EV.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
- package/dist/{vue-ui-onion-BQbI0Vxd.js → vue-ui-onion-CzXx3Rme.js} +293 -293
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
- package/dist/{vue-ui-quadrant-BB7qdXK0.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
- package/dist/{vue-ui-quick-chart-CGDeo3Fx.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
- package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
- package/dist/{vue-ui-rating-ChDwpol2.js → vue-ui-rating-CRziryE2.js} +22 -22
- package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
- package/dist/{vue-ui-ridgeline-Cq8z57xB.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
- package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
- package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
- package/dist/{vue-ui-skeleton-DJ5KAbfV.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
- package/dist/{vue-ui-smiley-fFrNX-Gl.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
- package/dist/{vue-ui-spark-trend-D6OBWxmg.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
- package/dist/{vue-ui-sparkbar-CtCP8O44.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
- package/dist/{vue-ui-sparkgauge-CZDkyViI.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
- package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
- package/dist/{vue-ui-sparkline-CJKE7Xcl.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
- package/dist/{vue-ui-sparkstackbar-BSV0M-2u.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
- package/dist/vue-ui-stackbar-Dqs7_g8D.js +2329 -0
- package/dist/{vue-ui-stackline-DS_MPmc1.js → vue-ui-stackline-IRjugedp.js} +406 -388
- package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
- package/dist/{vue-ui-table-c1FPEwLM.js → vue-ui-table-Bqi9XNvY.js} +64 -64
- package/dist/{vue-ui-table-heatmap-CMQJXnP8.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
- package/dist/{vue-ui-table-sparkline-CAS9Pk60.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
- package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
- package/dist/{vue-ui-timer-CSP48eS-.js → vue-ui-timer-9CDcd-gP.js} +6 -6
- package/dist/{vue-ui-tiremarks-DJvXj1P3.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
- package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
- package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
- package/dist/{vue-ui-wheel-CbL52G-w.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
- package/dist/{vue-ui-word-cloud-BqOCyp7c.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
- package/dist/{vue-ui-world-BkjzCcVh.js → vue-ui-world-vrGT5g1H.js} +127 -127
- package/dist/{vue-ui-xy-CVDNhnDY.js → vue-ui-xy-Cb7u46JN.js} +410 -410
- package/dist/{vue-ui-xy-DuwLRfr4.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
- package/dist/{vue-ui-xy-canvas-CXqGVMeQ.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
- package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
- package/package.json +1 -1
- package/dist/Legend-BVDhEEsC.js +0 -115
- package/dist/Slicer-ClR833cP.js +0 -1144
- package/dist/exposedLib-CffbQxjN.js +0 -19
- package/dist/img-BCAOkqfM.js +0 -74
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +0 -1757
- package/dist/vue-ui-bullet-9gtGJaGb.js +0 -710
- package/dist/vue-ui-candlestick-CJ_VVYbJ.js +0 -1826
- package/dist/vue-ui-chestnut-D3-ck2h2.js +0 -2010
- package/dist/vue-ui-donut-NHjQzFO5.js +0 -2410
- package/dist/vue-ui-funnel-B_bK0jJB.js +0 -777
- package/dist/vue-ui-galaxy-WVCUzcYc.js +0 -1077
- package/dist/vue-ui-gauge-Cqeko0wA.js +0 -920
- package/dist/vue-ui-history-plot-BGmcDg2w.js +0 -1554
- package/dist/vue-ui-parallel-coordinate-plot-ColST3Jj.js +0 -1416
- package/dist/vue-ui-radar-DqDn14DL.js +0 -1281
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +0 -924
- package/dist/vue-ui-rings-Ds-sgNPK.js +0 -1246
- package/dist/vue-ui-scatter-BgOVUzQ3.js +0 -2413
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +0 -560
- package/dist/vue-ui-stackbar-pnlYCnTj.js +0 -2270
- package/dist/vue-ui-strip-plot-DSKOrJZX.js +0 -1340
- package/dist/vue-ui-thermometer-w3eeJv9s.js +0 -763
- package/dist/vue-ui-treemap-BaOMXTR1.js +0 -1587
- package/dist/vue-ui-waffle-Bo22Ph8n.js +0 -1362
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Ct as t,
|
|
2
|
+
import { Ct as t, Ft as n, Gt as r, Lt as i, Ot as a, Q as o, S as s, Tt as c, Ut as l, W as u, X as ee, a as te, b as ne, h as re, ht as ie, i as ae, jt as oe, ot as se, q as ce, vt as le, w as ue } from "./lib-CuwHGt1j.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-pVLia3dt.js";
|
|
5
|
+
import { t as he } from "./usePrinter-C0wAS8yc.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-BjkuFaz1.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-B29J8tV5.js";
|
|
10
|
+
import { n as xe } from "./Title-DDEEO-Nr.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-xBuW2jjI.js";
|
|
15
|
+
import { t as je } from "./SlicerPreview-BDI-aCXE.js";
|
|
16
|
+
import { t as Me } from "./vue-ui-accordion-B64IJyPU.js";
|
|
17
|
+
import { t as Ne } from "./BaseLegendToggle-C4Usj0LI.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-DXOzbXb-.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-BhKov422.js")), mt = Ue(() => import("./DataTable-PidUPOit.js")), ht = Ue(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), gt = Ue(() => import("./NonSvgPenAndPaper-OIs8I25K.js")), _t = Ue(() => import("./BaseDraggableDialog-DjzNWkiE.js").then((e) => e.n)), { vue_ui_xy_canvas: vt } = me(), { isThemeValid: yt, warnInvalidTheme: bt } = ye(), T = e, E = b(u()), 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(() => r({
|
|
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: r({
|
|
161
161
|
defaultConfig: B.value,
|
|
162
162
|
userConfig: Zt.value
|
|
163
163
|
})
|
|
@@ -188,11 +188,11 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
188
188
|
userConfig: T.config,
|
|
189
189
|
defaultConfig: r
|
|
190
190
|
}),
|
|
191
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
191
|
+
customPalette: e.customPalette.length ? e.customPalette : l[n] || oe
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
194
|
else t = e;
|
|
195
|
-
return T.config &&
|
|
195
|
+
return T.config && ie(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
196
|
defaultConfig: t.style.chart.grid.x.timeLabels,
|
|
197
197
|
userConfig: T.config.style.chart.grid.y.timeLabels
|
|
198
198
|
})), t;
|
|
@@ -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(() => s(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
|
}
|
|
@@ -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>${ae(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, r) => ({
|
|
311
311
|
...e,
|
|
312
|
-
series:
|
|
313
|
-
data:
|
|
312
|
+
series: t({
|
|
313
|
+
data: n(e.series, [], wn.value),
|
|
314
314
|
threshold: B.value.downsample.threshold
|
|
315
315
|
}),
|
|
316
|
-
absoluteIndex:
|
|
317
|
-
color:
|
|
316
|
+
absoluteIndex: r,
|
|
317
|
+
color: ne(e.color || pn.value[r] || oe[r] || oe[r % 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 = [];
|
|
@@ -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" : i(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" : i(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, ae(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, ae(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, ae(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, ae(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 || "",
|
|
@@ -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 ? i(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,34 +775,34 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
775
775
|
});
|
|
776
776
|
}
|
|
777
777
|
function $n() {
|
|
778
|
-
X.value.forEach((e,
|
|
779
|
-
for (let
|
|
778
|
+
X.value.forEach((e, t) => {
|
|
779
|
+
for (let n = 0; n < e.coordinatesLine.length; n += 1) Ee(O.value, [
|
|
780
780
|
{
|
|
781
|
-
x: W.value.left + W.value.slot *
|
|
781
|
+
x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)),
|
|
782
782
|
y: H.value.stacked ? e.localZero : G.value.zero
|
|
783
783
|
},
|
|
784
784
|
{
|
|
785
|
-
x: W.value.left + W.value.slot *
|
|
785
|
+
x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + 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 *
|
|
790
|
-
y: e.coordinatesLine[
|
|
789
|
+
x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + W.value.slot * .8 / (H.value.stacked ? 1 : X.value.length),
|
|
790
|
+
y: e.coordinatesLine[n].y
|
|
791
791
|
},
|
|
792
792
|
{
|
|
793
|
-
x: W.value.left + W.value.slot *
|
|
794
|
-
y: e.coordinatesLine[
|
|
793
|
+
x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)),
|
|
794
|
+
y: e.coordinatesLine[n].y
|
|
795
795
|
}
|
|
796
796
|
], {
|
|
797
797
|
strokeColor: B.value.style.chart.backgroundColor,
|
|
798
798
|
gradient: {
|
|
799
799
|
type: "linear",
|
|
800
800
|
start: {
|
|
801
|
-
x: e.coordinatesLine[
|
|
802
|
-
y: e.coordinatesLine[
|
|
801
|
+
x: e.coordinatesLine[n].x,
|
|
802
|
+
y: e.coordinatesLine[n].y
|
|
803
803
|
},
|
|
804
804
|
end: {
|
|
805
|
-
x: e.coordinatesLine[
|
|
805
|
+
x: e.coordinatesLine[n].x,
|
|
806
806
|
y: H.value.stacked ? e.localZero : G.value.zero
|
|
807
807
|
},
|
|
808
808
|
stops: [{
|
|
@@ -810,18 +810,18 @@ 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 ? c(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, ae(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[n].value, ce({
|
|
817
817
|
p: e.prefix || "",
|
|
818
|
-
v: e.coordinatesLine[
|
|
818
|
+
v: e.coordinatesLine[n].value,
|
|
819
819
|
s: e.suffix || "",
|
|
820
820
|
r: e.rounding || 0
|
|
821
821
|
}), {
|
|
822
|
-
datapoint: e.coordinatesLine[
|
|
823
|
-
seriesIndex:
|
|
824
|
-
}), W.value.left + W.value.slot *
|
|
822
|
+
datapoint: e.coordinatesLine[n],
|
|
823
|
+
seriesIndex: n
|
|
824
|
+
}), W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + W.value.slot * .4 / (H.value.stacked ? 1 : X.value.length), (e.coordinatesLine[n].value < 0 ? H.value.stacked ? e.localZero : G.value.zero : e.coordinatesLine[n].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,13 +897,13 @@ 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: r } = er(e, n);
|
|
901
901
|
for (let n of t) Ce(O.value, n, {
|
|
902
|
-
fillColor:
|
|
902
|
+
fillColor: i(e.color, B.value.style.chart.area.opacity),
|
|
903
903
|
strokeColor: "transparent"
|
|
904
904
|
});
|
|
905
905
|
let a = k.value / 200 * B.value.style.chart.line.plots.radiusRatio;
|
|
906
|
-
for (let t of
|
|
906
|
+
for (let t of r) Oe(O.value, {
|
|
907
907
|
x: t.x,
|
|
908
908
|
y: t.y
|
|
909
909
|
}, a, {
|
|
@@ -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
|
+
}, r = {
|
|
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
|
+
r
|
|
926
926
|
], {
|
|
927
|
-
fillColor:
|
|
927
|
+
fillColor: i(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
|
+
}), le(s) && se(() => 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
|
+
}), le(n) && se(() => 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 (a(T.dataset) && Xt.value && o({
|
|
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:
|
|
1184
|
+
color: ne(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 = ue(t.concat([n]).concat(r));
|
|
1255
|
+
e ? e(i) : ee({
|
|
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(le)(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,
|
|
@@ -39,6 +39,7 @@ var t = /* @__PURE__ */ e({
|
|
|
39
39
|
stroke: "#1A1A1A",
|
|
40
40
|
gradient: { show: !1 }
|
|
41
41
|
},
|
|
42
|
+
violin: { boxPlot: { medianCircleFill: "#1A1A1A" } },
|
|
42
43
|
labels: {
|
|
43
44
|
bestPlotLabel: { color: "#CCCCCC" },
|
|
44
45
|
axis: { color: "#CCCCCC" },
|
|
@@ -76,6 +77,7 @@ var t = /* @__PURE__ */ e({
|
|
|
76
77
|
verticalGrid: { stroke: "#4A4A4A" }
|
|
77
78
|
},
|
|
78
79
|
plots: { stroke: "#1A1A1A" },
|
|
80
|
+
violin: { boxPlot: { medianCircleFill: "#1A1A1A" } },
|
|
79
81
|
labels: {
|
|
80
82
|
bestPlotLabel: { color: "#CCCCCC" },
|
|
81
83
|
axis: { color: "#CCCCCC" },
|
|
@@ -113,6 +115,7 @@ var t = /* @__PURE__ */ e({
|
|
|
113
115
|
verticalGrid: { show: !1 }
|
|
114
116
|
},
|
|
115
117
|
plots: { stroke: "#FFF8E1" },
|
|
118
|
+
violin: { boxPlot: { medianCircleFill: "#FFF8E1" } },
|
|
116
119
|
labels: {
|
|
117
120
|
bestPlotLabel: { color: "#424242" },
|
|
118
121
|
axis: { color: "#424242" },
|
|
@@ -150,6 +153,7 @@ var t = /* @__PURE__ */ e({
|
|
|
150
153
|
verticalGrid: { show: !1 }
|
|
151
154
|
},
|
|
152
155
|
plots: { stroke: "#1E1E1E" },
|
|
156
|
+
violin: { boxPlot: { medianCircleFill: "#1E1E1E" } },
|
|
153
157
|
labels: {
|
|
154
158
|
bestPlotLabel: { color: "#BDBDBD" },
|
|
155
159
|
axis: { color: "#BDBDBD" },
|
|
@@ -187,6 +191,7 @@ var t = /* @__PURE__ */ e({
|
|
|
187
191
|
verticalGrid: { show: !1 }
|
|
188
192
|
},
|
|
189
193
|
plots: { stroke: "#00FF00" },
|
|
194
|
+
violin: { boxPlot: { medianCircleFill: "#1A1A1A" } },
|
|
190
195
|
labels: {
|
|
191
196
|
bestPlotLabel: { color: "#AACCAA" },
|
|
192
197
|
axis: { color: "#99CC99" },
|
|
@@ -223,6 +228,7 @@ var t = /* @__PURE__ */ e({
|
|
|
223
228
|
verticalGrid: { show: !1 }
|
|
224
229
|
},
|
|
225
230
|
plots: { stroke: "#fbfafa" },
|
|
231
|
+
violin: { boxPlot: { medianCircleFill: "#fbfafa" } },
|
|
226
232
|
labels: {
|
|
227
233
|
bestPlotLabel: { color: "#A0AC94" },
|
|
228
234
|
axis: { color: "#A0AC94" },
|
|
@@ -261,6 +267,7 @@ var t = /* @__PURE__ */ e({
|
|
|
261
267
|
verticalGrid: { stroke: "#829C98" }
|
|
262
268
|
},
|
|
263
269
|
plots: { stroke: "#404C5A" },
|
|
270
|
+
violin: { boxPlot: { medianCircleFill: "#F6F6FB" } },
|
|
264
271
|
labels: {
|
|
265
272
|
bestPlotLabel: { color: "#61747E" },
|
|
266
273
|
axis: { color: "#61747E" },
|
package/package.json
CHANGED
package/dist/Legend-BVDhEEsC.js
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { yt as t } from "./lib-CXicicWN.js";
|
|
3
|
-
import { t as n } from "./Shape-C5OvuwII.js";
|
|
4
|
-
import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
5
|
-
import { Fragment as i, createCommentVNode as a, createElementBlock as o, createVNode as s, mergeProps as c, normalizeClass as l, normalizeStyle as u, openBlock as d, renderList as f, renderSlot as p, unref as m } from "vue";
|
|
6
|
-
//#region src/atoms/Legend.vue
|
|
7
|
-
var h = /* @__PURE__ */ e({ default: () => y }), g = ["id"], _ = [
|
|
8
|
-
"role",
|
|
9
|
-
"tabindex",
|
|
10
|
-
"onKeydown",
|
|
11
|
-
"onFocus"
|
|
12
|
-
], v = ["onClick", "viewBox"], y = /*#__PURE__*/ r({
|
|
13
|
-
__name: "Legend",
|
|
14
|
-
props: {
|
|
15
|
-
legendSet: {
|
|
16
|
-
type: Array,
|
|
17
|
-
default() {
|
|
18
|
-
return [];
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
config: {
|
|
22
|
-
type: Object,
|
|
23
|
-
default() {
|
|
24
|
-
return {};
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
id: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: ""
|
|
30
|
-
},
|
|
31
|
-
clickable: {
|
|
32
|
-
type: Boolean,
|
|
33
|
-
default: !0
|
|
34
|
-
},
|
|
35
|
-
isCursorPointer: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: !1
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
emits: ["clickMarker", "focusMarker"],
|
|
41
|
-
setup(e, { emit: r }) {
|
|
42
|
-
let h = e, y = r;
|
|
43
|
-
function b(e, t) {
|
|
44
|
-
h.clickable && y("clickMarker", {
|
|
45
|
-
legend: e,
|
|
46
|
-
i: t
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
function x(e, t, n) {
|
|
50
|
-
h.clickable && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), b(t, n));
|
|
51
|
-
}
|
|
52
|
-
function S(e, t, n) {
|
|
53
|
-
e.preventDefault(), y("focusMarker", {
|
|
54
|
-
legend: t,
|
|
55
|
-
i: n
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
return (r, h) => (d(), o("div", {
|
|
59
|
-
id: e.id,
|
|
60
|
-
class: "vue-data-ui-legend",
|
|
61
|
-
style: u({
|
|
62
|
-
background: e.config.backgroundColor,
|
|
63
|
-
color: e.config.color,
|
|
64
|
-
paddingBottom: (e.config.paddingBottom ?? 0) + "px",
|
|
65
|
-
paddingTop: (e.config.paddingTop ?? 12) + "px",
|
|
66
|
-
fontWeight: e.config.fontWeight,
|
|
67
|
-
fontSize: `var(--legend-font-size, ${e.config.fontSize ?? 14}px)`
|
|
68
|
-
})
|
|
69
|
-
}, [
|
|
70
|
-
p(r.$slots, "legendTitle", { titleSet: e.legendSet }, void 0, !0),
|
|
71
|
-
p(r.$slots, "legendToggle", {}, void 0, !0),
|
|
72
|
-
(d(!0), o(i, null, f(e.legendSet, (i, f) => (d(), o("div", {
|
|
73
|
-
key: `legend_${f}`,
|
|
74
|
-
class: l({
|
|
75
|
-
"vue-data-ui-legend-item": !0,
|
|
76
|
-
active: e.clickable && e.isCursorPointer
|
|
77
|
-
}),
|
|
78
|
-
role: e.clickable ? "button" : void 0,
|
|
79
|
-
tabindex: e.clickable ? 0 : void 0,
|
|
80
|
-
onKeydown: (e) => x(e, i, f),
|
|
81
|
-
onFocus: (e) => S(e, i, f)
|
|
82
|
-
}, [i.shape ? (d(), o("svg", {
|
|
83
|
-
key: 0,
|
|
84
|
-
onClick: (e) => b(i, f),
|
|
85
|
-
height: "1em",
|
|
86
|
-
width: "1em",
|
|
87
|
-
viewBox: i.shape && i.shape === "star" ? "-10 -10 80 80" : "0 0 60 60",
|
|
88
|
-
style: u(`overflow: visible; opacity:${i.opacity}`),
|
|
89
|
-
"aria-hidden": "true"
|
|
90
|
-
}, [s(n, {
|
|
91
|
-
stroke: "none",
|
|
92
|
-
shape: i.shape,
|
|
93
|
-
radius: 30,
|
|
94
|
-
plot: {
|
|
95
|
-
x: 30,
|
|
96
|
-
y: i.shape === "triangle" ? 36 : 30
|
|
97
|
-
},
|
|
98
|
-
fill: i.color
|
|
99
|
-
}, null, 8, [
|
|
100
|
-
"shape",
|
|
101
|
-
"plot",
|
|
102
|
-
"fill"
|
|
103
|
-
]), p(r.$slots, "legend-pattern", c({ ref_for: !0 }, {
|
|
104
|
-
legend: i,
|
|
105
|
-
index: m(t)(i.absoluteIndex) ? i.absoluteIndex : f
|
|
106
|
-
}), void 0, !0)], 12, v)) : a("", !0), p(r.$slots, "item", {
|
|
107
|
-
legend: i,
|
|
108
|
-
index: f
|
|
109
|
-
}, void 0, !0)], 42, _))), 128)),
|
|
110
|
-
p(r.$slots, "after", {}, void 0, !0)
|
|
111
|
-
], 12, g));
|
|
112
|
-
}
|
|
113
|
-
}, [["__scopeId", "data-v-1aaf430d"]]);
|
|
114
|
-
//#endregion
|
|
115
|
-
export { h as n, y as t };
|