vue-data-ui 3.22.3 → 3.22.5
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-Ct8T_Lyp.js → Arrow-CgzmXCW_.js} +1 -1
- package/dist/{BaseDraggableDialog-DLuXvUbs.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
- package/dist/{BaseIcon-CX_ChMz-.js → BaseIcon-xBuW2jjI.js} +1 -1
- package/dist/{BaseLegendToggle-qL0O9ooF.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
- package/dist/{BaseZoomControls-BI5sLb6d.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
- package/dist/{ColorPicker-CwyWzPx_.js → ColorPicker-Usv7badH.js} +2 -2
- package/dist/{DataTable-KEMekOVu.js → DataTable-PidUPOit.js} +2 -2
- package/dist/Legend-DXOzbXb-.js +156 -0
- package/dist/{NonSvgPenAndPaper-CeNJtWON.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
- package/dist/{PackageVersion-D-_GVhxY.js → PackageVersion-CqE8ssFu.js} +1 -1
- package/dist/{PenAndPaper-DkZYRnrW.js → PenAndPaper-ISUbDKXq.js} +11 -11
- package/dist/{Shape-S-7v8SAE.js → Shape-BnF9aMPX.js} +3 -3
- package/dist/Slicer-hEvKOLw3.js +1145 -0
- package/dist/{SlicerPreview-Co-V9YBf.js → SlicerPreview-BDI-aCXE.js} +36 -35
- package/dist/{SparkTooltip-D2BBjZKc.js → SparkTooltip-DaWSTzfA.js} +1 -1
- package/dist/{Title-Cxgd_JyY.js → Title-DDEEO-Nr.js} +1 -1
- package/dist/{Tooltip-BqdN_ZBE.js → Tooltip-BhKov422.js} +1 -1
- package/dist/{UserOptions-WIxTs7Xf.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-DsEPQbU1.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-WDjGa7EP.js → labelUtils-BFcL_t-A.js} +1 -1
- package/dist/{lib-NmjQazSn.js → lib-CuwHGt1j.js} +142 -123
- package/dist/{package-KQdsc0if.js → package-YOcaZtwF.js} +1 -1
- package/dist/{pdf-BVocBz-Y.js → pdf-ymYt9Lee.js} +1 -1
- package/dist/{render-common-BUbY65H0.js → render-common-B80rr2N_.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 +60 -2
- package/dist/types/vue-ui-strip-plot.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DBv7sw1h.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
- package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
- package/dist/{useNestedProp-C9viY7oU.js → useNestedProp-BjkuFaz1.js} +1 -1
- package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
- package/dist/{usePrinter-DRYgV-XS.js → usePrinter-C0wAS8yc.js} +3 -3
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-CDgunUso.js → vue-data-ui-mqURXOql.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-BZ1Slxfu.js +1757 -0
- package/dist/{vue-ui-accordion-vYLqcJJd.js → vue-ui-accordion-B64IJyPU.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CCAcpoA2.js → vue-ui-age-pyramid-uUVFZo8M.js} +289 -289
- package/dist/{vue-ui-annotator-CmjcPCRy.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
- package/dist/vue-ui-bullet-RGCGF_cO.js +710 -0
- package/dist/{vue-ui-bump-UWs3Fols.js → vue-ui-bump-CiUmHi6k.js} +259 -259
- package/dist/vue-ui-candlestick-BJUk5fMm.js +1826 -0
- package/dist/{vue-ui-carousel-table-DiPXX1eV.js → vue-ui-carousel-table-BksIDurC.js} +122 -122
- package/dist/vue-ui-chestnut-B3OHA5rg.js +2010 -0
- package/dist/{vue-ui-chord-MB6BktFk.js → vue-ui-chord-DETV2viY.js} +53 -53
- package/dist/{vue-ui-circle-pack-D4n5rKtA.js → vue-ui-circle-pack-DddaioRm.js} +46 -46
- package/dist/{vue-ui-cursor-Cu_HGeoy.js → vue-ui-cursor-D2-hWt_G.js} +4 -4
- package/dist/{vue-ui-dag-DQlbTBPB.js → vue-ui-dag-Dp7pV6Ps.js} +49 -49
- package/dist/{vue-ui-dashboard-BD-M8q8G.js → vue-ui-dashboard-D91C5cXo.js} +70 -70
- package/dist/{vue-ui-digits-C21SWRDQ.js → vue-ui-digits-CMA3U4ZS.js} +4 -4
- package/dist/vue-ui-donut-DObpw5zP.js +2410 -0
- package/dist/{vue-ui-donut-Djiw7Rz1.js → vue-ui-donut-DpiS28CQ.js} +193 -193
- package/dist/{vue-ui-donut-evolution-BkI06V1N.js → vue-ui-donut-evolution-2B61hvv2.js} +419 -419
- package/dist/{vue-ui-dumbbell-Yn79Apx7.js → vue-ui-dumbbell-Cmr65TNE.js} +341 -341
- package/dist/{vue-ui-flow-DfWx60DS.js → vue-ui-flow-7Yfsu6AY.js} +72 -72
- package/dist/vue-ui-funnel-BLRBDW1a.js +777 -0
- package/dist/vue-ui-galaxy-B9cxOcoE.js +1077 -0
- package/dist/vue-ui-gauge-yo4G5HMt.js +920 -0
- package/dist/{vue-ui-geo-DdB-gJBh.js → vue-ui-geo-BOHI6oMZ.js} +18 -18
- package/dist/{vue-ui-gizmo-AMWvrL1N.js → vue-ui-gizmo-DI-35oK-.js} +62 -62
- package/dist/{vue-ui-heatmap-8cmpKIN5.js → vue-ui-heatmap-DBVM90VE.js} +293 -293
- package/dist/vue-ui-history-plot-BiWpOHKE.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-D32lWjQJ.js → vue-ui-horizontal-bar-XBrvSxtJ.js} +75 -75
- package/dist/{vue-ui-kpi-B3FdCV-T.js → vue-ui-kpi-55wwhSBh.js} +12 -12
- package/dist/{vue-ui-mini-loader-Bk-5TDbT.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
- package/dist/{vue-ui-molecule-B4fNC1Bk.js → vue-ui-molecule-DB3rmTw1.js} +213 -213
- package/dist/{vue-ui-mood-radar-_mw9D1wg.js → vue-ui-mood-radar-izcbwGOc.js} +40 -40
- package/dist/{vue-ui-nested-donuts-DPhDz07R.js → vue-ui-nested-donuts-DRJ1QT2n.js} +255 -255
- package/dist/{vue-ui-onion-Cob0y2FO.js → vue-ui-onion-xTZOmmtb.js} +293 -293
- package/dist/vue-ui-parallel-coordinate-plot-BxQ7D2_o.js +1416 -0
- package/dist/{vue-ui-quadrant-D6wv44Hs.js → vue-ui-quadrant-BvAmtyAE.js} +57 -57
- package/dist/{vue-ui-quick-chart-EeT-lzAq.js → vue-ui-quick-chart-CJ1xQgYc.js} +654 -654
- package/dist/vue-ui-radar-C26C6p7e.js +1281 -0
- package/dist/{vue-ui-rating-DlMTyra_.js → vue-ui-rating-CRziryE2.js} +22 -22
- package/dist/vue-ui-relation-circle-Dl1aWFAI.js +924 -0
- package/dist/{vue-ui-ridgeline-VO2-zPGd.js → vue-ui-ridgeline-BbJa5C-d.js} +468 -468
- package/dist/vue-ui-rings-CyrvskTi.js +1246 -0
- package/dist/vue-ui-scatter-D9Iw5xlb.js +2413 -0
- package/dist/{vue-ui-skeleton-ImkpUdwJ.js → vue-ui-skeleton-C4D0i9ho.js} +22 -22
- package/dist/{vue-ui-smiley-Ct3ijoOw.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
- package/dist/{vue-ui-spark-trend-_b2gVafQ.js → vue-ui-spark-trend-CMb7UI2t.js} +24 -24
- package/dist/{vue-ui-sparkbar-CRH8b1fM.js → vue-ui-sparkbar-DEawjWhg.js} +35 -35
- package/dist/{vue-ui-sparkgauge-Z_lgEp7i.js → vue-ui-sparkgauge-mubHGQF_.js} +56 -56
- package/dist/vue-ui-sparkhistogram-D8N-jNBt.js +560 -0
- package/dist/{vue-ui-sparkline-B-QS62r4.js → vue-ui-sparkline-D4p0PS3-.js} +200 -200
- package/dist/{vue-ui-sparkstackbar-DICmDZrB.js → vue-ui-sparkstackbar-DnrZkIIc.js} +126 -126
- package/dist/{vue-ui-stackbar-BRqqDp3a.js → vue-ui-stackbar-BzHSHKqe.js} +147 -147
- package/dist/{vue-ui-stackline-DVY_4Fmh.js → vue-ui-stackline-CWSvsW1n.js} +417 -417
- package/dist/vue-ui-strip-plot-pPiVqFYo.js +1729 -0
- package/dist/{vue-ui-table-ByFPF5fJ.js → vue-ui-table-BzqQKuL-.js} +64 -64
- package/dist/{vue-ui-table-heatmap-DfLfYJiR.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
- package/dist/{vue-ui-table-sparkline-Gi1MQO-E.js → vue-ui-table-sparkline-BnavmY2R.js} +19 -19
- package/dist/vue-ui-thermometer-ePIxpTuE.js +763 -0
- package/dist/{vue-ui-timer-CrIq3NmZ.js → vue-ui-timer-BQZxD91f.js} +6 -6
- package/dist/{vue-ui-tiremarks-BB3VV4tK.js → vue-ui-tiremarks-CDOlCWS8.js} +10 -10
- package/dist/vue-ui-treemap-DrZlX_7n.js +1587 -0
- package/dist/vue-ui-waffle-BpZrFfUb.js +1362 -0
- package/dist/{vue-ui-wheel-DZq3C6wh.js → vue-ui-wheel-DRfyK9q9.js} +29 -29
- package/dist/{vue-ui-word-cloud-BNK1nfDn.js → vue-ui-word-cloud-D0JUA9I9.js} +28 -28
- package/dist/{vue-ui-world-D3F772fb.js → vue-ui-world-Dx-41fUM.js} +127 -127
- package/dist/{vue-ui-xy-DOnq4Na2.js → vue-ui-xy-BLSGO4Lm.js} +760 -760
- package/dist/{vue-ui-xy-f56XjeNS.js → vue-ui-xy-DpRqQ09J.js} +410 -410
- package/dist/{vue-ui-xy-canvas-OajdJbzS.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--t7Mbp9Z.js +0 -115
- package/dist/Slicer-CpBaahpI.js +0 -1144
- package/dist/exposedLib-BkRxoSB9.js +0 -19
- package/dist/img-CyjhDDaM.js +0 -74
- package/dist/vue-ui-3d-bar-BrSoUZQ_.js +0 -1757
- package/dist/vue-ui-bullet-BYrQAbvp.js +0 -710
- package/dist/vue-ui-candlestick-CJw3R21J.js +0 -1826
- package/dist/vue-ui-chestnut-DJkyr3uK.js +0 -2010
- package/dist/vue-ui-donut-BPOS4Aoe.js +0 -2410
- package/dist/vue-ui-funnel-hsmCJgE5.js +0 -777
- package/dist/vue-ui-galaxy-BC-D8ZZ6.js +0 -1077
- package/dist/vue-ui-gauge-CnDTR46T.js +0 -920
- package/dist/vue-ui-history-plot-ZcraxoDy.js +0 -1554
- package/dist/vue-ui-parallel-coordinate-plot-BPyfEQEf.js +0 -1416
- package/dist/vue-ui-radar-DNid-gVu.js +0 -1281
- package/dist/vue-ui-relation-circle-DALWYwuI.js +0 -924
- package/dist/vue-ui-rings-CGU8bnut.js +0 -1246
- package/dist/vue-ui-scatter-CDy2LLD_.js +0 -2413
- package/dist/vue-ui-sparkhistogram-DzukoeRA.js +0 -560
- package/dist/vue-ui-strip-plot-DUv9SsML.js +0 -1340
- package/dist/vue-ui-thermometer-MfzmVt9N.js +0 -763
- package/dist/vue-ui-treemap-CeE1TT6j.js +0 -1587
- package/dist/vue-ui-waffle-KDOR3fMN.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--t7Mbp9Z.js
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { yt as t } from "./lib-NmjQazSn.js";
|
|
3
|
-
import { t as n } from "./Shape-S-7v8SAE.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 };
|