vue-data-ui 3.10.0 → 3.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.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-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
- package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
import { defineAsyncComponent as I, computed as g, ref as h, toRefs as
|
|
2
|
-
import { c as ut, t as
|
|
3
|
-
import { t as we, u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { _ as
|
|
16
|
-
const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", comparisonLines: { rectColor: "#CCCCCC", labelColor: "#CCCCCC" }, plots: { stroke: "#1A1A1A" }, grid: { horizontalGrid: { stroke: "#4A4A4A" }, verticalGrid: { stroke: "#4A4A4A" } }, highlighter: { color: "#CCCCCC" }, labels: { yAxisLabels: { color: "#CCCCCC" }, xAxisLabels: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } },
|
|
1
|
+
import { defineAsyncComponent as I, computed as g, ref as h, toRefs as Kt, watch as oe, shallowRef as lt, onMounted as at, onBeforeUnmount as ot, watchEffect as Qt, createElementBlock as v, openBlock as r, unref as i, normalizeStyle as se, normalizeClass as st, createBlock as E, createCommentVNode as y, createElementVNode as c, withCtx as C, renderSlot as p, normalizeProps as S, guardReactiveProps as D, createSlots as rt, createVNode as nt, withDirectives as Z, Fragment as _, renderList as F, toDisplayString as k, vShow as J, Teleport as el, createTextVNode as Ae, resolveDynamicComponent as tl, mergeProps as ll, nextTick as al } from "vue";
|
|
2
|
+
import { c as ut, t as ol, o as sl, g as it, l as rl, U as ct, N as nl, d as A, a as P, X as vt, s as dt, q as K, u as Q, v as ul, r as il } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { t as we, u as cl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as vl, a as Le } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as dl } from "./usePrinter-1NmjuP-i.js";
|
|
6
|
+
import { u as hl, B as bl } from "./BaseScanner-BMpwQAfz.js";
|
|
7
|
+
import { u as fl } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as yl } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as gl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as Cl } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import { u as pl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
|
+
import ml from "./img-6fNF_rG0.js";
|
|
13
|
+
import kl from "./Title-NgeRXqRA.js";
|
|
14
|
+
import xl from "./Legend-DN5UJOBH.js";
|
|
15
|
+
import { _ as _l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const ht = { userOptions: { show: !1 }, style: { chart: { grid: { verticalGrid: { show: !1 } }, legend: { show: !1 }, plots: { gradient: { show: !1 } } } } }, bt = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", comparisonLines: { rectColor: "#CCCCCC", labelColor: "#CCCCCC" }, plots: { stroke: "#1A1A1A", gradient: { show: !1 } }, grid: { horizontalGrid: { stroke: "#4A4A4A" }, verticalGrid: { show: !1, stroke: "#4A4A4A" } }, highlighter: { color: "#CCCCCC" }, labels: { yAxisLabels: { color: "#CCCCCC" }, xAxisLabels: { color: "#CCCCCC" } }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", comparisonLines: { rectColor: "#CCCCCC", labelColor: "#CCCCCC" }, plots: { stroke: "#1A1A1A" }, grid: { horizontalGrid: { stroke: "#4A4A4A" }, verticalGrid: { stroke: "#4A4A4A" } }, highlighter: { color: "#CCCCCC" }, labels: { yAxisLabels: { color: "#CCCCCC" }, xAxisLabels: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, yt = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", plots: { startColor: "#F57C00", endColor: "#D32F2F", stroke: "#FFF8E1" }, grid: { horizontalGrid: { stroke: "#5D403780" }, verticalGrid: { stroke: "#5D403780" } }, labels: { yAxisLabels: { color: "#424242" }, xAxisLabels: { color: "#424242" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, gt = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", comparisonLines: { rectColor: "#CCCCCC", labelColor: "#CCCCCC" }, highlighter: { color: "#CCCCCC" }, plots: { startColor: "#F57C00", endColor: "#D32F2F", stroke: "#1E1E1E" }, grid: { horizontalGrid: { stroke: "#5D4037" }, verticalGrid: { stroke: "#5D4037" } }, labels: { yAxisLabels: { color: "#BDBDBD" }, xAxisLabels: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Ct = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", plots: { startColor: "#008000", endColor: "#00FF00", stroke: "#1A1A1A" }, comparisonLines: { rectColor: "#CCCCCC", labelColor: "#99CC99" }, highlighter: { color: "#CCCCCC" }, grid: { horizontalGrid: { stroke: "#5F6A5F" }, verticalGrid: { stroke: "#5F6A5F" } }, labels: { yAxisLabels: { color: "#99CC99" }, xAxisLabels: { color: "#99CC99" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, pt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", plots: { startColor: "#DCB482", endColor: "#B9B99D", stroke: "#fbfafa" }, grid: { horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, labels: { yAxisLabels: { color: "#8A9892" }, xAxisLabels: { show: !1 } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, mt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", plots: { startColor: "#718885", endColor: "#7DA9B5", stroke: "#404C5A" }, grid: { horizontalGrid: { stroke: "#829C98" }, verticalGrid: { stroke: "#829C98" } }, labels: { yAxisLabels: { color: "#61747E" }, xAxisLabels: { color: "#61747E" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, kt = {
|
|
17
17
|
default: {},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
minimal: ht,
|
|
19
|
+
minimalDark: bt,
|
|
20
|
+
dark: ft,
|
|
21
|
+
celebration: yt,
|
|
22
|
+
celebrationNight: gt,
|
|
23
|
+
hack: Ct,
|
|
24
|
+
zen: pt,
|
|
25
|
+
concrete: mt
|
|
26
|
+
}, Ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
27
|
__proto__: null,
|
|
26
|
-
celebration:
|
|
27
|
-
celebrationNight:
|
|
28
|
-
concrete:
|
|
29
|
-
dark:
|
|
30
|
-
default:
|
|
31
|
-
hack:
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
celebration: yt,
|
|
29
|
+
celebrationNight: gt,
|
|
30
|
+
concrete: mt,
|
|
31
|
+
dark: ft,
|
|
32
|
+
default: kt,
|
|
33
|
+
hack: Ct,
|
|
34
|
+
minimal: ht,
|
|
35
|
+
minimalDark: bt,
|
|
36
|
+
zen: pt
|
|
37
|
+
}, Symbol.toStringTag, { value: "Module" })), Al = ["id"], wl = ["id"], Ll = ["xmlns", "viewBox"], $l = ["x", "y", "width", "height"], Sl = { key: 1 }, Dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Fl = { key: 2 }, Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ml = ["transform", "font-size", "fill"], Xl = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], Tl = ["x", "y", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], El = ["x", "y", "font-size", "fill"], Bl = ["transform", "font-size", "fill", "font-weight", "text-anchor"], Ol = ["d", "stroke", "stroke-width", "stroke-dasharray"], Gl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Il = ["x", "y", "height", "width", "fill"], Pl = ["transform", "fill", "font-size"], Hl = ["id"], Rl = ["stop-color"], Vl = ["stop-color"], Ul = ["stop-color"], Wl = ["id"], jl = ["stop-color"], ql = ["stop-color"], Yl = ["stop-color"], Zl = ["id"], Jl = ["stop-color"], Kl = ["stop-color"], Ql = ["stop-color"], ea = ["id"], ta = ["stop-color"], la = ["stop-color"], aa = ["stop-color"], oa = ["id"], sa = ["stop-color"], ra = ["stop-color"], na = ["stop-color"], ua = ["id"], ia = ["stop-color"], ca = ["stop-color"], va = ["id"], da = ["stop-color"], ha = ["stop-color"], ba = { key: 0 }, fa = { key: 0 }, ya = ["d", "fill"], ga = { key: 1 }, Ca = ["x", "y", "height", "width", "fill"], pa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ma = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ka = { key: 7 }, xa = ["x", "y", "fill", "font-size"], _a = { key: 8 }, Aa = ["x", "y", "fill", "font-size"], wa = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], La = {
|
|
34
38
|
key: 4,
|
|
35
39
|
class: "vue-data-ui-watermark"
|
|
36
|
-
},
|
|
40
|
+
}, $a = ["id"], Sa = ["xmlns", "height", "width"], Da = ["fill"], Fa = ["innerHTML"], Na = {
|
|
37
41
|
__name: "vue-ui-dumbbell",
|
|
38
42
|
props: {
|
|
39
43
|
config: {
|
|
@@ -50,16 +54,16 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
50
54
|
}
|
|
51
55
|
},
|
|
52
56
|
emits: ["selectDatapoint"],
|
|
53
|
-
setup(
|
|
54
|
-
const
|
|
57
|
+
setup(xt, { expose: _t, emit: Ma }) {
|
|
58
|
+
const At = I(() => import("./BaseIcon-4uOct8re.js")), wt = I(() => import("./vue-ui-accordion-DFKaB_05.js")), Lt = I(() => import("./DataTable-DyoDzNNY.js")), $t = I(() => import("./PenAndPaper-LTuSTmWE.js")), St = I(() => import("./UserOptions-CX7Xsusk.js")), Dt = I(() => import("./PackageVersion-CQxJyGQr.js")), Ft = I(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_dumbbell: Nt } = vl(), { isThemeValid: zt, warnInvalidTheme: Mt } = yl(), w = xt, ee = g({
|
|
55
59
|
get() {
|
|
56
60
|
return !!w.dataset && w.dataset.length;
|
|
57
61
|
},
|
|
58
62
|
set(l) {
|
|
59
63
|
return l;
|
|
60
64
|
}
|
|
61
|
-
}), b = h(ut()),
|
|
62
|
-
...
|
|
65
|
+
}), b = h(ut()), $e = h(0), N = h(null), Se = h(null), De = h(null), Fe = h(null), Ne = h(null), ze = h(0), Me = h(0), Xe = h(0), Te = h(!1), j = h(null), re = h(null), ne = h(null), ue = h(null), te = h(null), ie = h(null), B = h(null), n = h(null), O = h(!1), e = h(be()), { loading: ce, FINAL_DATASET: ve, manualLoading: Xt } = hl({
|
|
66
|
+
...Kt(w),
|
|
63
67
|
FINAL_CONFIG: e,
|
|
64
68
|
prepareConfig: be,
|
|
65
69
|
skeletonDataset: [
|
|
@@ -69,7 +73,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
69
73
|
{ name: "_", start: 5, end: 8 },
|
|
70
74
|
{ name: "_", start: 3, end: 5 }
|
|
71
75
|
],
|
|
72
|
-
skeletonConfig:
|
|
76
|
+
skeletonConfig: ol({
|
|
73
77
|
defaultConfig: e.value,
|
|
74
78
|
userConfig: {
|
|
75
79
|
userOptions: { show: !1 },
|
|
@@ -111,20 +115,20 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
111
115
|
}
|
|
112
116
|
}
|
|
113
117
|
})
|
|
114
|
-
}), { userOptionsVisible: de, setUserOptionsVisibility: Ee, keepUserOptionState: Be } =
|
|
118
|
+
}), { userOptionsVisible: de, setUserOptionsVisibility: Ee, keepUserOptionState: Be } = gl({ config: e.value }), { svgRef: he } = Cl({ config: e.value.style.chart.title });
|
|
115
119
|
function be() {
|
|
116
|
-
const l =
|
|
120
|
+
const l = Le({
|
|
117
121
|
userConfig: w.config,
|
|
118
|
-
defaultConfig:
|
|
122
|
+
defaultConfig: Nt
|
|
119
123
|
}), o = l.theme;
|
|
120
124
|
if (!o) return l;
|
|
121
|
-
if (!
|
|
122
|
-
return
|
|
123
|
-
const t =
|
|
124
|
-
userConfig:
|
|
125
|
+
if (!zt.value(l))
|
|
126
|
+
return Mt(l), l;
|
|
127
|
+
const t = Le({
|
|
128
|
+
userConfig: kt[o] || w.config,
|
|
125
129
|
defaultConfig: l
|
|
126
130
|
});
|
|
127
|
-
return
|
|
131
|
+
return Le({
|
|
128
132
|
userConfig: w.config,
|
|
129
133
|
defaultConfig: t
|
|
130
134
|
});
|
|
@@ -132,7 +136,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
132
136
|
oe(() => w.config, (l) => {
|
|
133
137
|
ce.value || (e.value = be()), de.value = !e.value.userOptions.showOnChartHover, Ge(), ze.value += 1, Me.value += 1, Xe.value += 1, V.value = e.value.style.chart.rowHeight, U.value = e.value.style.chart.width, G.value.showTable = e.value.table.show;
|
|
134
138
|
}, { deep: !0 }), oe(() => ve.value, (l) => {
|
|
135
|
-
Array.isArray(l) && l.length > 0 && (
|
|
139
|
+
Array.isArray(l) && l.length > 0 && (Xt.value = !1), je(), qe();
|
|
136
140
|
}, { deep: !0 });
|
|
137
141
|
const z = lt(null), H = lt(null);
|
|
138
142
|
at(() => {
|
|
@@ -140,12 +144,12 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
140
144
|
});
|
|
141
145
|
const Oe = g(() => !!e.value.debug);
|
|
142
146
|
function Ge() {
|
|
143
|
-
if (
|
|
147
|
+
if (sl(w.dataset) ? it({
|
|
144
148
|
componentName: "VueUiDumbbell",
|
|
145
149
|
type: "dataset",
|
|
146
150
|
debug: Oe.value
|
|
147
151
|
}) : w.dataset.forEach((l, o) => {
|
|
148
|
-
|
|
152
|
+
rl({
|
|
149
153
|
datasetObject: l,
|
|
150
154
|
requiredAttributes: ["name", "start", "end"]
|
|
151
155
|
}).forEach((t) => {
|
|
@@ -159,7 +163,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
159
163
|
});
|
|
160
164
|
}), e.value.responsive) {
|
|
161
165
|
const l = we(() => {
|
|
162
|
-
const { width: o, height: t } =
|
|
166
|
+
const { width: o, height: t } = cl({
|
|
163
167
|
chart: N.value,
|
|
164
168
|
title: e.value.style.chart.title.text ? Se.value : null,
|
|
165
169
|
legend: e.value.style.chart.legend.show ? De.value : null,
|
|
@@ -175,13 +179,13 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
175
179
|
Ke();
|
|
176
180
|
}
|
|
177
181
|
ot(() => {
|
|
178
|
-
|
|
182
|
+
$.value != null && (cancelAnimationFrame($.value), $.value = null), z.value && (H.value && z.value.unobserve(H.value), z.value.disconnect());
|
|
179
183
|
});
|
|
180
|
-
const { isPrinting: Ie, isImaging: Pe, generatePdf: He, generateImage: Re } =
|
|
184
|
+
const { isPrinting: Ie, isImaging: Pe, generatePdf: He, generateImage: Re } = dl({
|
|
181
185
|
elementId: `dumbbell_${b.value}`,
|
|
182
186
|
fileName: e.value.style.chart.title.text || "vue-ui-dumbbell",
|
|
183
187
|
options: e.value.userOptions.print
|
|
184
|
-
}),
|
|
188
|
+
}), Tt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), G = h({
|
|
185
189
|
showTable: e.value.table.show
|
|
186
190
|
});
|
|
187
191
|
oe(e, () => {
|
|
@@ -197,8 +201,8 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
197
201
|
}))), Ve = g(() => {
|
|
198
202
|
const l = e.value.style.chart.grid, o = R.value.flatMap((f) => [f.start, f.end]).map((f) => Number(f)).filter((f) => Number.isFinite(f)), t = o.length ? Math.min(...o) : 0, a = o.length ? Math.max(...o) : 0, u = l.scaleMin ?? Math.min(t, 0), d = l.scaleMax ?? a;
|
|
199
203
|
return { min: u, max: d };
|
|
200
|
-
}),
|
|
201
|
-
function
|
|
204
|
+
}), L = g(() => nl(Ve.value.min, Ve.value.max, e.value.style.chart.grid.scaleSteps)), V = h(e.value.style.chart.rowHeight), U = h(e.value.style.chart.width);
|
|
205
|
+
function Et() {
|
|
202
206
|
let l = 0;
|
|
203
207
|
ue.value && (l = Array.from(ue.value.querySelectorAll("text")).reduce((a, u) => {
|
|
204
208
|
const d = u.getComputedTextLength();
|
|
@@ -207,14 +211,14 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
207
211
|
const o = ne.value ? ne.value.getBoundingClientRect().width : 0;
|
|
208
212
|
return l + o + (o ? 24 + e.value.style.chart.labels.axis.yLabelOffsetX : 0);
|
|
209
213
|
}
|
|
210
|
-
const fe = h(0),
|
|
214
|
+
const fe = h(0), Bt = we((l) => {
|
|
211
215
|
fe.value = l;
|
|
212
216
|
}, 100);
|
|
213
|
-
|
|
217
|
+
Qt((l) => {
|
|
214
218
|
const o = te.value;
|
|
215
219
|
if (!o) return;
|
|
216
220
|
const t = new ResizeObserver((a) => {
|
|
217
|
-
|
|
221
|
+
Bt(a[0].contentRect.height);
|
|
218
222
|
});
|
|
219
223
|
t.observe(o), l(() => t.disconnect());
|
|
220
224
|
}), ot(() => {
|
|
@@ -231,12 +235,12 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
231
235
|
const a = Number(l), u = Number(o.min), d = Number(o.max), f = Number(t.width);
|
|
232
236
|
if (!Number.isFinite(a) || !Number.isFinite(u) || !Number.isFinite(d) || !Number.isFinite(f))
|
|
233
237
|
return t.left;
|
|
234
|
-
const
|
|
235
|
-
return
|
|
238
|
+
const m = d - u;
|
|
239
|
+
return m <= 0 ? t.left : t.left + (a - u) / m * f;
|
|
236
240
|
}
|
|
237
241
|
const s = g(() => {
|
|
238
242
|
O.value;
|
|
239
|
-
const l =
|
|
243
|
+
const l = Et(), o = e.value.style.chart.padding, t = e.value.style.chart.labels.axis.xLabel ? e.value.style.chart.labels.axis.xLabelOffsetY : 0, a = V.value * ye.value - Ue.value - o.top - o.bottom - t, u = a / ye.value, d = V.value * ye.value, f = U.value - l - o.left - o.right, m = L.value.ticks.length * (f / L.value.ticks.length);
|
|
240
244
|
return {
|
|
241
245
|
left: e.value.style.chart.padding.left + l,
|
|
242
246
|
right: U.value - e.value.style.chart.padding.right,
|
|
@@ -246,20 +250,20 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
246
250
|
height: a,
|
|
247
251
|
rowHeight: u,
|
|
248
252
|
absoluteHeight: d,
|
|
249
|
-
widthPlotReference:
|
|
253
|
+
widthPlotReference: m
|
|
250
254
|
};
|
|
251
255
|
}), M = g(() => Math.min(V.value / 2 * 0.7, e.value.style.chart.plots.radius)), q = h([]), x = g({
|
|
252
256
|
get() {
|
|
253
|
-
const l = s.value, o =
|
|
257
|
+
const l = s.value, o = L.value;
|
|
254
258
|
return q.value.map((t, a) => {
|
|
255
|
-
const u = We(t.start, o, l), d = We(t.endVal, o, l), f = u + (d - u) / 2,
|
|
259
|
+
const u = We(t.start, o, l), d = We(t.endVal, o, l), f = u + (d - u) / 2, m = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end > t.start, T = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end < t.start, tt = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end === t.start || [null, void 0].includes(t.start) || [null, void 0].includes(t.end), Jt = m ? e.value.style.chart.plots.evaluationColors.positive : T ? e.value.style.chart.plots.evaluationColors.negative : e.value.style.chart.plots.evaluationColors.neutral;
|
|
256
260
|
return {
|
|
257
261
|
...t,
|
|
258
|
-
isPositive:
|
|
262
|
+
isPositive: m,
|
|
259
263
|
isNegative: T,
|
|
260
264
|
isNeutral: tt,
|
|
261
|
-
evaluationColor:
|
|
262
|
-
evaluationGrad: `url(#${
|
|
265
|
+
evaluationColor: Jt,
|
|
266
|
+
evaluationGrad: `url(#${m ? "positive" : T ? "negative" : "neutral"}_grad_${b.value})`,
|
|
263
267
|
startX: u,
|
|
264
268
|
endX: d,
|
|
265
269
|
centerX: f,
|
|
@@ -280,12 +284,12 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
280
284
|
};
|
|
281
285
|
});
|
|
282
286
|
}
|
|
283
|
-
const
|
|
287
|
+
const $ = h(null);
|
|
284
288
|
at(() => {
|
|
285
289
|
qe();
|
|
286
290
|
});
|
|
287
291
|
function qe() {
|
|
288
|
-
if (
|
|
292
|
+
if ($.value != null && (cancelAnimationFrame($.value), $.value = null), je(), !e.value.useAnimation) {
|
|
289
293
|
x.value = q.value.map((a) => {
|
|
290
294
|
const u = Number(a.end);
|
|
291
295
|
return { ...a, endVal: Number.isFinite(u) ? u : a.endVal };
|
|
@@ -298,11 +302,11 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
298
302
|
}), t = () => {
|
|
299
303
|
let a = !0;
|
|
300
304
|
x.value = q.value.map((u, d) => {
|
|
301
|
-
const f = Number.isFinite(Number(u.end)) ? Number(u.end) : u.endVal,
|
|
305
|
+
const f = Number.isFinite(Number(u.end)) ? Number(u.end) : u.endVal, m = u.endVal + o[d] * l, T = o[d] >= 0 ? Math.min(m, f) : Math.max(m, f);
|
|
302
306
|
return T !== f && (a = !1), { ...u, endVal: T };
|
|
303
|
-
}), a ?
|
|
307
|
+
}), a ? $.value = null : $.value = requestAnimationFrame(t);
|
|
304
308
|
};
|
|
305
|
-
|
|
309
|
+
$.value = requestAnimationFrame(t);
|
|
306
310
|
}
|
|
307
311
|
const ge = g(() => e.value.style.chart.plots.evaluationColors.enable ? [
|
|
308
312
|
{ name: e.value.style.chart.legend.labelNegative, color: e.value.style.chart.plots.gradient.show ? `url(#negative_grad_${b.value})` : e.value.style.chart.plots.evaluationColors.negative },
|
|
@@ -311,7 +315,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
311
315
|
] : [
|
|
312
316
|
{ name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${b.value})` : e.value.style.chart.plots.startColor },
|
|
313
317
|
{ name: e.value.style.chart.legend.labelEnd, color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${b.value})` : e.value.style.chart.plots.endColor }
|
|
314
|
-
]),
|
|
318
|
+
]), Ot = g(() => ({
|
|
315
319
|
cy: "donut-div-legend",
|
|
316
320
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
317
321
|
color: e.value.style.chart.legend.color,
|
|
@@ -339,7 +343,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
339
343
|
v: X.value.body[d].start,
|
|
340
344
|
s: e.value.style.chart.labels.suffix,
|
|
341
345
|
r: e.value.table.td.roundingValue
|
|
342
|
-
}),
|
|
346
|
+
}), m = A({
|
|
343
347
|
p: e.value.style.chart.labels.prefix,
|
|
344
348
|
v: X.value.body[d].end,
|
|
345
349
|
s: e.value.style.chart.labels.suffix,
|
|
@@ -352,7 +356,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
352
356
|
return [
|
|
353
357
|
{ name: u.name },
|
|
354
358
|
f,
|
|
355
|
-
|
|
359
|
+
m,
|
|
356
360
|
T
|
|
357
361
|
];
|
|
358
362
|
}), t = {
|
|
@@ -380,31 +384,31 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
380
384
|
config: t
|
|
381
385
|
};
|
|
382
386
|
});
|
|
383
|
-
function
|
|
384
|
-
|
|
387
|
+
function Ce(l = null) {
|
|
388
|
+
al(() => {
|
|
385
389
|
const o = X.value.head.map((u, d) => [[
|
|
386
390
|
u.name
|
|
387
|
-
], [X.value.body[d].start], [X.value.body[d].end]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(o), a =
|
|
388
|
-
l ? l(a) :
|
|
391
|
+
], [X.value.body[d].start], [X.value.body[d].end]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(o), a = ul(t);
|
|
392
|
+
l ? l(a) : il({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
|
|
389
393
|
});
|
|
390
394
|
}
|
|
391
395
|
const W = h(!1);
|
|
392
396
|
function Ye(l) {
|
|
393
|
-
W.value = l,
|
|
397
|
+
W.value = l, $e.value += 1;
|
|
394
398
|
}
|
|
395
|
-
function
|
|
399
|
+
function Gt() {
|
|
396
400
|
return R.value;
|
|
397
401
|
}
|
|
398
402
|
function Ze() {
|
|
399
403
|
G.value.showTable = !G.value.showTable;
|
|
400
404
|
}
|
|
401
405
|
const ae = h(!1);
|
|
402
|
-
function
|
|
406
|
+
function pe() {
|
|
403
407
|
ae.value = !ae.value;
|
|
404
408
|
}
|
|
405
|
-
async function
|
|
409
|
+
async function It({ scale: l = 2 } = {}) {
|
|
406
410
|
if (!N.value) return;
|
|
407
|
-
const { width: o, height: t } = N.value.getBoundingClientRect(), a = o / t, { imageUri: u, base64: d } = await
|
|
411
|
+
const { width: o, height: t } = N.value.getBoundingClientRect(), a = o / t, { imageUri: u, base64: d } = await ml({ domElement: N.value, base64: !0, img: !0, scale: l });
|
|
408
412
|
return {
|
|
409
413
|
imageUri: u,
|
|
410
414
|
base64: d,
|
|
@@ -414,11 +418,11 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
414
418
|
aspectRatio: a
|
|
415
419
|
};
|
|
416
420
|
}
|
|
417
|
-
const Je = g(() =>
|
|
418
|
-
|
|
421
|
+
const Je = g(() => L.value.ticks), Pt = g(() => ({ start: 0, end: Je.value.length }));
|
|
422
|
+
pl({
|
|
419
423
|
timeLabelsEls: te,
|
|
420
424
|
timeLabels: Je,
|
|
421
|
-
slicer:
|
|
425
|
+
slicer: Pt,
|
|
422
426
|
configRef: e,
|
|
423
427
|
rotationPath: ["style", "chart", "labels", "xAxisLabels", "rotation"],
|
|
424
428
|
autoRotatePath: ["style", "chart", "labels", "xAxisLabels", "autoRotate", "enable"],
|
|
@@ -428,7 +432,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
428
432
|
targetClass: ".vue-ui-dumbbell-scale-label",
|
|
429
433
|
rotation: e.value.style.chart.labels.xAxisLabels.autoRotate.angle
|
|
430
434
|
});
|
|
431
|
-
function
|
|
435
|
+
function Ht({
|
|
432
436
|
rowHeight: l,
|
|
433
437
|
fontSize: o,
|
|
434
438
|
showProgression: t
|
|
@@ -437,7 +441,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
437
441
|
const a = l / 3, u = l / 1.3, d = Math.abs(u - a), f = o * 1.2;
|
|
438
442
|
return d < f;
|
|
439
443
|
}
|
|
440
|
-
const
|
|
444
|
+
const Rt = /* @__PURE__ */ (() => {
|
|
441
445
|
let l = null, o = 0;
|
|
442
446
|
const t = 1;
|
|
443
447
|
return (a) => {
|
|
@@ -450,16 +454,16 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
450
454
|
})(), Ke = we(() => {
|
|
451
455
|
requestAnimationFrame(() => {
|
|
452
456
|
requestAnimationFrame(() => {
|
|
453
|
-
const l =
|
|
457
|
+
const l = Ht({
|
|
454
458
|
rowHeight: s.value.rowHeight,
|
|
455
459
|
fontSize: e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
456
460
|
showProgression: e.value.style.chart.labels.yAxisLabels.showProgression
|
|
457
461
|
});
|
|
458
|
-
|
|
462
|
+
Rt(l);
|
|
459
463
|
});
|
|
460
464
|
});
|
|
461
465
|
}, 100);
|
|
462
|
-
function
|
|
466
|
+
function me({ datapoint: l, seriesIndex: o }) {
|
|
463
467
|
B.value = o, n.value = l, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: o });
|
|
464
468
|
}
|
|
465
469
|
function ke({ datapoint: l, seriesIndex: o }) {
|
|
@@ -472,7 +476,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
472
476
|
if (n.value === null) return 0;
|
|
473
477
|
const l = ![null, void 0].includes(n.value.start), o = ![null, void 0].includes(n.value.end);
|
|
474
478
|
return l && o ? Math.min(n.value.startX, n.value.endX) + Math.abs(n.value.startX - n.value.endX) / 2 : l && !o ? n.value.startX : o && !l ? n.value.endX : null;
|
|
475
|
-
}),
|
|
479
|
+
}), Vt = g(() => {
|
|
476
480
|
if (n.value === null) return "";
|
|
477
481
|
const l = ![null, void 0].includes(n.value.start), o = ![null, void 0].includes(n.value.end);
|
|
478
482
|
let t = "", a = "";
|
|
@@ -500,7 +504,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
500
504
|
}), Y = g(() => {
|
|
501
505
|
const l = e.value.table.useDialog && !e.value.table.show, o = G.value.showTable;
|
|
502
506
|
return {
|
|
503
|
-
component: l ?
|
|
507
|
+
component: l ? Ft : wt,
|
|
504
508
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
505
509
|
props: l ? {
|
|
506
510
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -533,32 +537,32 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
533
537
|
function Qe() {
|
|
534
538
|
G.value.showTable = !1, re.value && re.value.setTableIconState(!1);
|
|
535
539
|
}
|
|
536
|
-
const
|
|
540
|
+
const Ut = g(() => ge.value.map((l) => ({
|
|
537
541
|
...l,
|
|
538
542
|
shape: "circle"
|
|
539
|
-
}))),
|
|
543
|
+
}))), Wt = g(() => e.value.style.chart.backgroundColor), jt = g(() => e.value.style.chart.legend), qt = g(() => e.value.style.chart.title), { exportSvg: Yt, getSvg: Zt } = fl({
|
|
540
544
|
svg: he,
|
|
541
|
-
title:
|
|
542
|
-
legend:
|
|
543
|
-
legendItems:
|
|
544
|
-
backgroundColor:
|
|
545
|
+
title: qt,
|
|
546
|
+
legend: jt,
|
|
547
|
+
legendItems: Ut,
|
|
548
|
+
backgroundColor: Wt
|
|
545
549
|
});
|
|
546
550
|
async function et({ isCb: l }) {
|
|
547
551
|
if (l) {
|
|
548
|
-
const { blob: o, url: t, text: a, dataUrl: u } = await
|
|
552
|
+
const { blob: o, url: t, text: a, dataUrl: u } = await Zt();
|
|
549
553
|
e.value.userOptions.callbacks.svg({ blob: o, url: t, text: a, dataUrl: u });
|
|
550
554
|
} else
|
|
551
|
-
|
|
555
|
+
Yt();
|
|
552
556
|
}
|
|
553
|
-
return
|
|
554
|
-
getData:
|
|
555
|
-
getImage:
|
|
557
|
+
return _t({
|
|
558
|
+
getData: Gt,
|
|
559
|
+
getImage: It,
|
|
556
560
|
generatePdf: He,
|
|
557
|
-
generateCsv:
|
|
561
|
+
generateCsv: Ce,
|
|
558
562
|
generateImage: Re,
|
|
559
563
|
generateSvg: et,
|
|
560
564
|
toggleTable: Ze,
|
|
561
|
-
toggleAnnotator:
|
|
565
|
+
toggleAnnotator: pe,
|
|
562
566
|
toggleFullscreen: Ye
|
|
563
567
|
}), (l, o) => (r(), v("div", {
|
|
564
568
|
ref_key: "dumbbellChart",
|
|
@@ -569,35 +573,35 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
569
573
|
onMouseenter: o[1] || (o[1] = () => i(Ee)(!0)),
|
|
570
574
|
onMouseleave: o[2] || (o[2] = () => i(Ee)(!1))
|
|
571
575
|
}, [
|
|
572
|
-
e.value.userOptions.buttons.annotator ? (r(), E(i(
|
|
576
|
+
e.value.userOptions.buttons.annotator ? (r(), E(i($t), {
|
|
573
577
|
key: 0,
|
|
574
578
|
svgRef: i(he),
|
|
575
579
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
576
580
|
color: e.value.style.chart.color,
|
|
577
581
|
active: ae.value,
|
|
578
|
-
onClose:
|
|
582
|
+
onClose: pe
|
|
579
583
|
}, {
|
|
580
|
-
"annotator-action-close":
|
|
581
|
-
|
|
584
|
+
"annotator-action-close": C(() => [
|
|
585
|
+
p(l.$slots, "annotator-action-close", {}, void 0, !0)
|
|
582
586
|
]),
|
|
583
|
-
"annotator-action-color":
|
|
584
|
-
|
|
587
|
+
"annotator-action-color": C(({ color: t }) => [
|
|
588
|
+
p(l.$slots, "annotator-action-color", S(D({ color: t })), void 0, !0)
|
|
585
589
|
]),
|
|
586
|
-
"annotator-action-draw":
|
|
587
|
-
|
|
590
|
+
"annotator-action-draw": C(({ mode: t }) => [
|
|
591
|
+
p(l.$slots, "annotator-action-draw", S(D({ mode: t })), void 0, !0)
|
|
588
592
|
]),
|
|
589
|
-
"annotator-action-undo":
|
|
590
|
-
|
|
593
|
+
"annotator-action-undo": C(({ disabled: t }) => [
|
|
594
|
+
p(l.$slots, "annotator-action-undo", S(D({ disabled: t })), void 0, !0)
|
|
591
595
|
]),
|
|
592
|
-
"annotator-action-redo":
|
|
593
|
-
|
|
596
|
+
"annotator-action-redo": C(({ disabled: t }) => [
|
|
597
|
+
p(l.$slots, "annotator-action-redo", S(D({ disabled: t })), void 0, !0)
|
|
594
598
|
]),
|
|
595
|
-
"annotator-action-delete":
|
|
596
|
-
|
|
599
|
+
"annotator-action-delete": C(({ disabled: t }) => [
|
|
600
|
+
p(l.$slots, "annotator-action-delete", S(D({ disabled: t })), void 0, !0)
|
|
597
601
|
]),
|
|
598
602
|
_: 3
|
|
599
603
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
|
|
600
|
-
|
|
604
|
+
Tt.value ? (r(), v("div", {
|
|
601
605
|
key: 1,
|
|
602
606
|
ref_key: "noTitle",
|
|
603
607
|
ref: Ne,
|
|
@@ -610,7 +614,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
610
614
|
ref: Se,
|
|
611
615
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
612
616
|
}, [
|
|
613
|
-
(r(), E(
|
|
617
|
+
(r(), E(kl, {
|
|
614
618
|
key: `title_${ze.value}`,
|
|
615
619
|
config: {
|
|
616
620
|
title: {
|
|
@@ -626,11 +630,11 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
626
630
|
], 512)) : y("", !0),
|
|
627
631
|
c("div", {
|
|
628
632
|
id: `legend-top-${b.value}`
|
|
629
|
-
}, null, 8,
|
|
630
|
-
e.value.userOptions.show && ee.value && (i(Be) || i(de)) ? (r(), E(i(
|
|
633
|
+
}, null, 8, wl),
|
|
634
|
+
e.value.userOptions.show && ee.value && (i(Be) || i(de)) ? (r(), E(i(St), {
|
|
631
635
|
ref_key: "userOptionsRef",
|
|
632
636
|
ref: re,
|
|
633
|
-
key: `user_option_${
|
|
637
|
+
key: `user_option_${$e.value}`,
|
|
634
638
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
635
639
|
color: e.value.style.chart.color,
|
|
636
640
|
isPrinting: i(Ie),
|
|
@@ -653,68 +657,68 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
653
657
|
tableDialog: e.value.table.useDialog,
|
|
654
658
|
onToggleFullscreen: Ye,
|
|
655
659
|
onGeneratePdf: i(He),
|
|
656
|
-
onGenerateCsv:
|
|
660
|
+
onGenerateCsv: Ce,
|
|
657
661
|
onGenerateImage: i(Re),
|
|
658
662
|
onGenerateSvg: et,
|
|
659
663
|
onToggleTable: Ze,
|
|
660
|
-
onToggleAnnotator:
|
|
664
|
+
onToggleAnnotator: pe,
|
|
661
665
|
style: se({
|
|
662
666
|
visibility: i(Be) ? i(de) ? "visible" : "hidden" : "visible"
|
|
663
667
|
})
|
|
664
668
|
}, rt({ _: 2 }, [
|
|
665
669
|
l.$slots.menuIcon ? {
|
|
666
670
|
name: "menuIcon",
|
|
667
|
-
fn:
|
|
668
|
-
|
|
671
|
+
fn: C(({ isOpen: t, color: a }) => [
|
|
672
|
+
p(l.$slots, "menuIcon", S(D({ isOpen: t, color: a })), void 0, !0)
|
|
669
673
|
]),
|
|
670
674
|
key: "0"
|
|
671
675
|
} : void 0,
|
|
672
676
|
l.$slots.optionPdf ? {
|
|
673
677
|
name: "optionPdf",
|
|
674
|
-
fn:
|
|
675
|
-
|
|
678
|
+
fn: C(() => [
|
|
679
|
+
p(l.$slots, "optionPdf", {}, void 0, !0)
|
|
676
680
|
]),
|
|
677
681
|
key: "1"
|
|
678
682
|
} : void 0,
|
|
679
683
|
l.$slots.optionCsv ? {
|
|
680
684
|
name: "optionCsv",
|
|
681
|
-
fn:
|
|
682
|
-
|
|
685
|
+
fn: C(() => [
|
|
686
|
+
p(l.$slots, "optionCsv", {}, void 0, !0)
|
|
683
687
|
]),
|
|
684
688
|
key: "2"
|
|
685
689
|
} : void 0,
|
|
686
690
|
l.$slots.optionImg ? {
|
|
687
691
|
name: "optionImg",
|
|
688
|
-
fn:
|
|
689
|
-
|
|
692
|
+
fn: C(() => [
|
|
693
|
+
p(l.$slots, "optionImg", {}, void 0, !0)
|
|
690
694
|
]),
|
|
691
695
|
key: "3"
|
|
692
696
|
} : void 0,
|
|
693
697
|
l.$slots.optionSvg ? {
|
|
694
698
|
name: "optionSvg",
|
|
695
|
-
fn:
|
|
696
|
-
|
|
699
|
+
fn: C(() => [
|
|
700
|
+
p(l.$slots, "optionSvg", {}, void 0, !0)
|
|
697
701
|
]),
|
|
698
702
|
key: "4"
|
|
699
703
|
} : void 0,
|
|
700
704
|
l.$slots.optionTable ? {
|
|
701
705
|
name: "optionTable",
|
|
702
|
-
fn:
|
|
703
|
-
|
|
706
|
+
fn: C(() => [
|
|
707
|
+
p(l.$slots, "optionTable", {}, void 0, !0)
|
|
704
708
|
]),
|
|
705
709
|
key: "5"
|
|
706
710
|
} : void 0,
|
|
707
711
|
l.$slots.optionFullscreen ? {
|
|
708
712
|
name: "optionFullscreen",
|
|
709
|
-
fn:
|
|
710
|
-
|
|
713
|
+
fn: C(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
714
|
+
p(l.$slots, "optionFullscreen", S(D({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
|
|
711
715
|
]),
|
|
712
716
|
key: "6"
|
|
713
717
|
} : void 0,
|
|
714
718
|
l.$slots.optionAnnotator ? {
|
|
715
719
|
name: "optionAnnotator",
|
|
716
|
-
fn:
|
|
717
|
-
|
|
720
|
+
fn: C(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
721
|
+
p(l.$slots, "optionAnnotator", S(D({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
|
|
718
722
|
]),
|
|
719
723
|
key: "7"
|
|
720
724
|
} : void 0
|
|
@@ -727,7 +731,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
727
731
|
viewBox: `0 0 ${U.value} ${s.value.absoluteHeight <= 0 ? 10 : s.value.absoluteHeight}`,
|
|
728
732
|
style: se(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
729
733
|
}, [
|
|
730
|
-
nt(i(
|
|
734
|
+
nt(i(Dt)),
|
|
731
735
|
l.$slots["chart-background"] ? (r(), v("foreignObject", {
|
|
732
736
|
key: 0,
|
|
733
737
|
x: s.value.left,
|
|
@@ -738,20 +742,20 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
738
742
|
pointerEvents: "none"
|
|
739
743
|
}
|
|
740
744
|
}, [
|
|
741
|
-
|
|
742
|
-
], 8,
|
|
743
|
-
e.value.style.chart.grid.verticalGrid.show ? (r(), v("g",
|
|
744
|
-
(r(!0), v(_, null, F(
|
|
745
|
-
x1: s.value.left + a * s.value.width / (
|
|
746
|
-
x2: s.value.left + a * s.value.width / (
|
|
745
|
+
p(l.$slots, "chart-background", {}, void 0, !0)
|
|
746
|
+
], 8, $l)) : y("", !0),
|
|
747
|
+
e.value.style.chart.grid.verticalGrid.show ? (r(), v("g", Sl, [
|
|
748
|
+
(r(!0), v(_, null, F(L.value.ticks, (t, a) => (r(), v("line", {
|
|
749
|
+
x1: s.value.left + a * s.value.width / (L.value.ticks.length - 1),
|
|
750
|
+
x2: s.value.left + a * s.value.width / (L.value.ticks.length - 1),
|
|
747
751
|
y1: s.value.top,
|
|
748
752
|
y2: s.value.bottom,
|
|
749
753
|
stroke: e.value.style.chart.grid.verticalGrid.stroke,
|
|
750
754
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
751
755
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
752
|
-
}, null, 8,
|
|
756
|
+
}, null, 8, Dl))), 256))
|
|
753
757
|
])) : y("", !0),
|
|
754
|
-
e.value.style.chart.grid.horizontalGrid.show ? (r(), v("g",
|
|
758
|
+
e.value.style.chart.grid.horizontalGrid.show ? (r(), v("g", Fl, [
|
|
755
759
|
(r(!0), v(_, null, F(R.value, (t, a) => (r(), v("line", {
|
|
756
760
|
x1: s.value.left,
|
|
757
761
|
x2: s.value.right,
|
|
@@ -760,7 +764,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
760
764
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
761
765
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
762
766
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
763
|
-
}, null, 8,
|
|
767
|
+
}, null, 8, Nl))), 256)),
|
|
764
768
|
c("line", {
|
|
765
769
|
x1: s.value.left,
|
|
766
770
|
x2: s.value.right,
|
|
@@ -769,7 +773,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
769
773
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
770
774
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
771
775
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
772
|
-
}, null, 8,
|
|
776
|
+
}, null, 8, zl)
|
|
773
777
|
])) : y("", !0),
|
|
774
778
|
e.value.style.chart.labels.axis.yLabel ? (r(), v("text", {
|
|
775
779
|
key: 3,
|
|
@@ -779,7 +783,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
779
783
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
780
784
|
fill: e.value.style.chart.labels.axis.color,
|
|
781
785
|
"text-anchor": "middle"
|
|
782
|
-
}, k(e.value.style.chart.labels.axis.yLabel), 9,
|
|
786
|
+
}, k(e.value.style.chart.labels.axis.yLabel), 9, Ml)) : y("", !0),
|
|
783
787
|
e.value.style.chart.labels.yAxisLabels.show ? (r(), v("g", {
|
|
784
788
|
key: 4,
|
|
785
789
|
ref_key: "serieLabels",
|
|
@@ -794,7 +798,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
794
798
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
795
799
|
"font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
796
800
|
"text-anchor": "end",
|
|
797
|
-
onMouseenter: (u) =>
|
|
801
|
+
onMouseenter: (u) => me({ datapoint: t, seriesIndex: a }),
|
|
798
802
|
onMouseleave: (u) => ke({ datapoint: t, seriesIndex: a }),
|
|
799
803
|
onClick: (u) => xe({ datapoint: t, seriesIndex: a })
|
|
800
804
|
}, k(t.name) + " " + k(O.value && e.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : `(${i(P)(
|
|
@@ -806,7 +810,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
806
810
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
807
811
|
}),
|
|
808
812
|
{ datapoint: t }
|
|
809
|
-
)})` : ""), 41,
|
|
813
|
+
)})` : ""), 41, Xl))), 128)),
|
|
810
814
|
e.value.style.chart.labels.yAxisLabels.showProgression && !O.value ? (r(!0), v(_, { key: 0 }, F(x.value, (t, a) => (r(), v("text", {
|
|
811
815
|
class: "vue-ui-dumbbell-serie-value",
|
|
812
816
|
x: s.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
@@ -814,7 +818,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
814
818
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
815
819
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
816
820
|
"text-anchor": "end",
|
|
817
|
-
onMouseenter: (u) =>
|
|
821
|
+
onMouseenter: (u) => me({ datapoint: t, seriesIndex: a }),
|
|
818
822
|
onMouseleave: (u) => ke({ datapoint: t, seriesIndex: a }),
|
|
819
823
|
onClick: (u) => xe({ datapoint: t, seriesIndex: a })
|
|
820
824
|
}, k([null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : i(P)(
|
|
@@ -826,7 +830,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
826
830
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
827
831
|
}),
|
|
828
832
|
{ datapoint: t }
|
|
829
|
-
)), 41,
|
|
833
|
+
)), 41, Tl))), 256)) : y("", !0)
|
|
830
834
|
], 512)) : y("", !0),
|
|
831
835
|
e.value.style.chart.labels.axis.xLabel ? (r(), v("text", {
|
|
832
836
|
key: 5,
|
|
@@ -837,16 +841,16 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
837
841
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
838
842
|
fill: e.value.style.chart.labels.axis.color,
|
|
839
843
|
"text-anchor": "middle"
|
|
840
|
-
}, k(e.value.style.chart.labels.axis.xLabel), 9,
|
|
844
|
+
}, k(e.value.style.chart.labels.axis.xLabel), 9, El)) : y("", !0),
|
|
841
845
|
e.value.style.chart.labels.xAxisLabels.show ? (r(), v("g", {
|
|
842
846
|
key: 6,
|
|
843
847
|
ref_key: "scaleLabels",
|
|
844
848
|
ref: te
|
|
845
849
|
}, [
|
|
846
|
-
(r(!0), v(_, null, F(
|
|
850
|
+
(r(!0), v(_, null, F(L.value.ticks, (t, a) => (r(), v("text", {
|
|
847
851
|
class: "vue-ui-dumbbell-scale-label",
|
|
848
852
|
key: `tick_${a}`,
|
|
849
|
-
transform: `translate(${s.value.left + a * (s.value.width / (
|
|
853
|
+
transform: `translate(${s.value.left + a * (s.value.width / (L.value.ticks.length - 1))}, ${s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
|
|
850
854
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
851
855
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
852
856
|
"font-weight": e.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
|
|
@@ -861,7 +865,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
861
865
|
r: e.value.style.chart.labels.xAxisLabels.rounding
|
|
862
866
|
}),
|
|
863
867
|
{ datapoint: t, seriesIndex: a }
|
|
864
|
-
)), 9,
|
|
868
|
+
)), 9, Bl))), 128))
|
|
865
869
|
], 512)) : y("", !0),
|
|
866
870
|
Z(c("g", null, [
|
|
867
871
|
Z(c("path", {
|
|
@@ -870,7 +874,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
870
874
|
"stroke-width": e.value.style.chart.comparisonLines.strokeWidth,
|
|
871
875
|
"stroke-dasharray": e.value.style.chart.comparisonLines.strokeDasharray,
|
|
872
876
|
style: { transition: "all 0.3s ease-in-out" }
|
|
873
|
-
}, null, 8,
|
|
877
|
+
}, null, 8, Ol), [
|
|
874
878
|
[J, n.value !== null && ![null, void 0].includes(n.value.start)]
|
|
875
879
|
]),
|
|
876
880
|
Z(c("path", {
|
|
@@ -879,7 +883,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
879
883
|
"stroke-width": e.value.style.chart.comparisonLines.strokeWidth,
|
|
880
884
|
"stroke-dasharray": e.value.style.chart.comparisonLines.strokeDasharray,
|
|
881
885
|
style: { transition: "all 0.3s ease-in-out" }
|
|
882
|
-
}, null, 8,
|
|
886
|
+
}, null, 8, Gl), [
|
|
883
887
|
[J, n.value !== null && ![null, void 0].includes(n.value.end)]
|
|
884
888
|
]),
|
|
885
889
|
Z(c("rect", {
|
|
@@ -889,7 +893,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
889
893
|
width: n.value ? Math.max(0.1, Math.abs(n.value.endX - n.value.startX)) : 0,
|
|
890
894
|
fill: n.value ? i(dt)(e.value.style.chart.comparisonLines.rectColor, e.value.style.chart.comparisonLines.rectOpacity) : "transparent",
|
|
891
895
|
style: { transition: "all 0.3s ease-in-out" }
|
|
892
|
-
}, null, 8,
|
|
896
|
+
}, null, 8, Il), [
|
|
893
897
|
[J, e.value.style.chart.comparisonLines.showRect && n.value !== null && ![null, void 0].includes(n.value.start) && ![null, void 0].includes(n.value.end)]
|
|
894
898
|
]),
|
|
895
899
|
Z(c("text", {
|
|
@@ -898,7 +902,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
898
902
|
"font-size": e.value.style.chart.comparisonLines.labelFontSize,
|
|
899
903
|
"text-anchor": "middle",
|
|
900
904
|
style: { transition: "all 0.3s ease-in-out" }
|
|
901
|
-
}, k(
|
|
905
|
+
}, k(Vt.value), 9, Pl), [
|
|
902
906
|
[J, n.value !== null && _e.value !== null && e.value.style.chart.comparisonLines.showLabel]
|
|
903
907
|
])
|
|
904
908
|
], 512), [
|
|
@@ -912,16 +916,16 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
912
916
|
c("stop", {
|
|
913
917
|
offset: "10%",
|
|
914
918
|
"stop-color": i(K)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
915
|
-
}, null, 8,
|
|
919
|
+
}, null, 8, Rl),
|
|
916
920
|
c("stop", {
|
|
917
921
|
offset: "90%",
|
|
918
922
|
"stop-color": i(Q)(e.value.style.chart.plots.startColor, 0.1)
|
|
919
|
-
}, null, 8,
|
|
923
|
+
}, null, 8, Vl),
|
|
920
924
|
c("stop", {
|
|
921
925
|
offset: "100%",
|
|
922
926
|
"stop-color": e.value.style.chart.plots.startColor
|
|
923
|
-
}, null, 8,
|
|
924
|
-
], 8,
|
|
927
|
+
}, null, 8, Ul)
|
|
928
|
+
], 8, Hl),
|
|
925
929
|
c("radialGradient", {
|
|
926
930
|
id: `end_grad_${b.value}`,
|
|
927
931
|
fy: "30%"
|
|
@@ -929,16 +933,16 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
929
933
|
c("stop", {
|
|
930
934
|
offset: "10%",
|
|
931
935
|
"stop-color": i(K)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
932
|
-
}, null, 8,
|
|
936
|
+
}, null, 8, jl),
|
|
933
937
|
c("stop", {
|
|
934
938
|
offset: "90%",
|
|
935
939
|
"stop-color": i(Q)(e.value.style.chart.plots.endColor, 0.1)
|
|
936
|
-
}, null, 8,
|
|
940
|
+
}, null, 8, ql),
|
|
937
941
|
c("stop", {
|
|
938
942
|
offset: "100%",
|
|
939
943
|
"stop-color": e.value.style.chart.plots.endColor
|
|
940
|
-
}, null, 8,
|
|
941
|
-
], 8,
|
|
944
|
+
}, null, 8, Yl)
|
|
945
|
+
], 8, Wl),
|
|
942
946
|
c("radialGradient", {
|
|
943
947
|
id: `positive_grad_${b.value}`,
|
|
944
948
|
fy: "30%"
|
|
@@ -946,16 +950,16 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
946
950
|
c("stop", {
|
|
947
951
|
offset: "10%",
|
|
948
952
|
"stop-color": i(K)(e.value.style.chart.plots.evaluationColors.positive, e.value.style.chart.plots.gradient.intensity / 100)
|
|
949
|
-
}, null, 8,
|
|
953
|
+
}, null, 8, Jl),
|
|
950
954
|
c("stop", {
|
|
951
955
|
offset: "90%",
|
|
952
956
|
"stop-color": i(Q)(e.value.style.chart.plots.evaluationColors.positive, 0.1)
|
|
953
|
-
}, null, 8,
|
|
957
|
+
}, null, 8, Kl),
|
|
954
958
|
c("stop", {
|
|
955
959
|
offset: "100%",
|
|
956
960
|
"stop-color": e.value.style.chart.plots.evaluationColors.positive
|
|
957
|
-
}, null, 8,
|
|
958
|
-
], 8,
|
|
961
|
+
}, null, 8, Ql)
|
|
962
|
+
], 8, Zl),
|
|
959
963
|
c("radialGradient", {
|
|
960
964
|
id: `negative_grad_${b.value}`,
|
|
961
965
|
fy: "30%"
|
|
@@ -963,16 +967,16 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
963
967
|
c("stop", {
|
|
964
968
|
offset: "10%",
|
|
965
969
|
"stop-color": i(K)(e.value.style.chart.plots.evaluationColors.negative, e.value.style.chart.plots.gradient.intensity / 100)
|
|
966
|
-
}, null, 8,
|
|
970
|
+
}, null, 8, ta),
|
|
967
971
|
c("stop", {
|
|
968
972
|
offset: "90%",
|
|
969
973
|
"stop-color": i(Q)(e.value.style.chart.plots.evaluationColors.negative, 0.1)
|
|
970
|
-
}, null, 8,
|
|
974
|
+
}, null, 8, la),
|
|
971
975
|
c("stop", {
|
|
972
976
|
offset: "100%",
|
|
973
977
|
"stop-color": e.value.style.chart.plots.evaluationColors.negative
|
|
974
|
-
}, null, 8,
|
|
975
|
-
], 8,
|
|
978
|
+
}, null, 8, aa)
|
|
979
|
+
], 8, ea),
|
|
976
980
|
c("radialGradient", {
|
|
977
981
|
id: `neutral_grad_${b.value}`,
|
|
978
982
|
fy: "30%"
|
|
@@ -980,16 +984,16 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
980
984
|
c("stop", {
|
|
981
985
|
offset: "10%",
|
|
982
986
|
"stop-color": i(K)(e.value.style.chart.plots.evaluationColors.neutral, e.value.style.chart.plots.gradient.intensity / 100)
|
|
983
|
-
}, null, 8,
|
|
987
|
+
}, null, 8, sa),
|
|
984
988
|
c("stop", {
|
|
985
989
|
offset: "90%",
|
|
986
990
|
"stop-color": i(Q)(e.value.style.chart.plots.evaluationColors.neutral, 0.1)
|
|
987
|
-
}, null, 8,
|
|
991
|
+
}, null, 8, ra),
|
|
988
992
|
c("stop", {
|
|
989
993
|
offset: "100%",
|
|
990
994
|
"stop-color": e.value.style.chart.plots.evaluationColors.neutral
|
|
991
|
-
}, null, 8,
|
|
992
|
-
], 8,
|
|
995
|
+
}, null, 8, na)
|
|
996
|
+
], 8, oa)
|
|
993
997
|
]),
|
|
994
998
|
(r(!0), v(_, null, F(x.value, (t, a) => (r(), v("g", {
|
|
995
999
|
key: `plot_${a}_${t.id}`
|
|
@@ -1005,12 +1009,12 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1005
1009
|
c("stop", {
|
|
1006
1010
|
offset: "0%",
|
|
1007
1011
|
"stop-color": e.value.style.chart.plots.startColor
|
|
1008
|
-
}, null, 8,
|
|
1012
|
+
}, null, 8, ia),
|
|
1009
1013
|
c("stop", {
|
|
1010
1014
|
offset: "100%",
|
|
1011
1015
|
"stop-color": e.value.style.chart.plots.endColor
|
|
1012
|
-
}, null, 8,
|
|
1013
|
-
], 8,
|
|
1016
|
+
}, null, 8, ca)
|
|
1017
|
+
], 8, ua),
|
|
1014
1018
|
c("linearGradient", {
|
|
1015
1019
|
id: `grad_neg_${b.value}`,
|
|
1016
1020
|
x1: "0%",
|
|
@@ -1021,15 +1025,15 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1021
1025
|
c("stop", {
|
|
1022
1026
|
offset: "0%",
|
|
1023
1027
|
"stop-color": e.value.style.chart.plots.endColor
|
|
1024
|
-
}, null, 8,
|
|
1028
|
+
}, null, 8, da),
|
|
1025
1029
|
c("stop", {
|
|
1026
1030
|
offset: "100%",
|
|
1027
1031
|
"stop-color": e.value.style.chart.plots.startColor
|
|
1028
|
-
}, null, 8,
|
|
1029
|
-
], 8,
|
|
1032
|
+
}, null, 8, ha)
|
|
1033
|
+
], 8, va)
|
|
1030
1034
|
]),
|
|
1031
|
-
![void 0, null].includes(t.end) && ![void 0, null].includes(t.start) ? (r(), v("g",
|
|
1032
|
-
e.value.style.chart.plots.link.type === "curved" ? (r(), v("g",
|
|
1035
|
+
![void 0, null].includes(t.end) && ![void 0, null].includes(t.start) ? (r(), v("g", ba, [
|
|
1036
|
+
e.value.style.chart.plots.link.type === "curved" ? (r(), v("g", fa, [
|
|
1033
1037
|
c("path", {
|
|
1034
1038
|
d: `M
|
|
1035
1039
|
${t.startX},${t.y + M.value / 2}
|
|
@@ -1041,15 +1045,15 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1041
1045
|
Z
|
|
1042
1046
|
`,
|
|
1043
1047
|
fill: e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : t.endX > t.startX ? `url(#grad_pos_${b.value})` : `url(#grad_neg_${b.value})`
|
|
1044
|
-
}, null, 8,
|
|
1045
|
-
])) : (r(), v("g",
|
|
1048
|
+
}, null, 8, ya)
|
|
1049
|
+
])) : (r(), v("g", ga, [
|
|
1046
1050
|
c("rect", {
|
|
1047
1051
|
x: t.endX > t.startX ? t.startX : t.endX,
|
|
1048
1052
|
y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
|
|
1049
1053
|
height: Math.max(0.01, e.value.style.chart.plots.link.strokeWidth),
|
|
1050
1054
|
width: Math.max(0.01, Math.abs(t.endX - t.startX)),
|
|
1051
1055
|
fill: e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : t.endX > t.startX ? `url(#grad_pos_${b.value})` : `url(#grad_neg_${b.value})`
|
|
1052
|
-
}, null, 8,
|
|
1056
|
+
}, null, 8, Ca)
|
|
1053
1057
|
]))
|
|
1054
1058
|
])) : y("", !0),
|
|
1055
1059
|
[null, void 0].includes(t.start) ? y("", !0) : (r(), v("circle", {
|
|
@@ -1060,7 +1064,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1060
1064
|
fill: e.value.style.chart.plots.gradient.show ? e.value.style.chart.plots.evaluationColors.enable ? t.evaluationGrad : `url(#start_grad_${b.value})` : e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : e.value.style.chart.plots.startColor,
|
|
1061
1065
|
stroke: e.value.style.chart.plots.stroke,
|
|
1062
1066
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
1063
|
-
}, null, 8,
|
|
1067
|
+
}, null, 8, pa)),
|
|
1064
1068
|
[null, void 0].includes(t.end) ? y("", !0) : (r(), v("circle", {
|
|
1065
1069
|
key: 2,
|
|
1066
1070
|
cx: t.endX,
|
|
@@ -1069,9 +1073,9 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1069
1073
|
fill: e.value.style.chart.plots.gradient.show ? e.value.style.chart.plots.evaluationColors.enable ? t.evaluationGrad : `url(#end_grad_${b.value})` : e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : e.value.style.chart.plots.endColor,
|
|
1070
1074
|
stroke: e.value.style.chart.plots.stroke,
|
|
1071
1075
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
1072
|
-
}, null, 8,
|
|
1076
|
+
}, null, 8, ma))
|
|
1073
1077
|
]))), 128)),
|
|
1074
|
-
e.value.style.chart.labels.startLabels.show ? (r(), v("g",
|
|
1078
|
+
e.value.style.chart.labels.startLabels.show ? (r(), v("g", ka, [
|
|
1075
1079
|
(r(!0), v(_, null, F(x.value, (t, a) => (r(), v("g", {
|
|
1076
1080
|
key: `start_label_${a}_${t.id}`
|
|
1077
1081
|
}, [
|
|
@@ -1092,10 +1096,10 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1092
1096
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
1093
1097
|
}),
|
|
1094
1098
|
{ datapoint: t, seriesIndex: a }
|
|
1095
|
-
)), 9,
|
|
1099
|
+
)), 9, xa))
|
|
1096
1100
|
]))), 128))
|
|
1097
1101
|
])) : y("", !0),
|
|
1098
|
-
e.value.style.chart.labels.endLabels.show ? (r(), v("g",
|
|
1102
|
+
e.value.style.chart.labels.endLabels.show ? (r(), v("g", _a, [
|
|
1099
1103
|
(r(!0), v(_, null, F(x.value, (t, a) => (r(), v("g", {
|
|
1100
1104
|
key: `end_label_${a}_${t.id}`
|
|
1101
1105
|
}, [
|
|
@@ -1116,7 +1120,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1116
1120
|
r: e.value.style.chart.labels.endLabels.rounding
|
|
1117
1121
|
}),
|
|
1118
1122
|
{ datapoint: t, seriesIndex: a }
|
|
1119
|
-
)), 9,
|
|
1123
|
+
)), 9, Aa))
|
|
1120
1124
|
]))), 128))
|
|
1121
1125
|
])) : y("", !0),
|
|
1122
1126
|
c("g", null, [
|
|
@@ -1126,20 +1130,20 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1126
1130
|
width: Math.max(0.1, s.value.width),
|
|
1127
1131
|
height: Math.max(0.1, s.value.rowHeight),
|
|
1128
1132
|
fill: B.value !== null && B.value === a ? i(dt)(e.value.style.chart.highlighter.color, e.value.style.chart.highlighter.opacity) : "transparent",
|
|
1129
|
-
onMouseenter: (u) =>
|
|
1133
|
+
onMouseenter: (u) => me({ datapoint: t, seriesIndex: a }),
|
|
1130
1134
|
onMouseleave: (u) => ke({ datapoint: t, seriesIndex: a }),
|
|
1131
1135
|
onClick: (u) => xe({ datapoint: t, seriesIndex: a })
|
|
1132
|
-
}, null, 40,
|
|
1136
|
+
}, null, 40, wa))), 256))
|
|
1133
1137
|
]),
|
|
1134
|
-
|
|
1135
|
-
], 14,
|
|
1136
|
-
l.$slots.watermark ? (r(), v("div",
|
|
1137
|
-
|
|
1138
|
+
p(l.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
1139
|
+
], 14, Ll)),
|
|
1140
|
+
l.$slots.watermark ? (r(), v("div", La, [
|
|
1141
|
+
p(l.$slots, "watermark", S(D({ isPrinting: i(Ie) || i(Pe) })), void 0, !0)
|
|
1138
1142
|
])) : y("", !0),
|
|
1139
1143
|
c("div", {
|
|
1140
1144
|
id: `legend-bottom-${b.value}`
|
|
1141
|
-
}, null, 8,
|
|
1142
|
-
Te.value ? (r(), E(
|
|
1145
|
+
}, null, 8, $a),
|
|
1146
|
+
Te.value ? (r(), E(el, {
|
|
1143
1147
|
key: 5,
|
|
1144
1148
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
|
|
1145
1149
|
}, [
|
|
@@ -1147,13 +1151,13 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1147
1151
|
ref_key: "chartLegend",
|
|
1148
1152
|
ref: De
|
|
1149
1153
|
}, [
|
|
1150
|
-
e.value.style.chart.legend.show && ee.value ? (r(), E(
|
|
1154
|
+
e.value.style.chart.legend.show && ee.value ? (r(), E(xl, {
|
|
1151
1155
|
key: `legend_${Xe.value}`,
|
|
1152
1156
|
legendSet: ge.value,
|
|
1153
|
-
config:
|
|
1157
|
+
config: Ot.value,
|
|
1154
1158
|
clickable: !1
|
|
1155
1159
|
}, {
|
|
1156
|
-
item:
|
|
1160
|
+
item: C(({ legend: t }) => [
|
|
1157
1161
|
c("div", {
|
|
1158
1162
|
style: se(`display:flex;align-items:center;gap:4px;font-size:${e.value.style.chart.legend.fontSize}px`)
|
|
1159
1163
|
}, [
|
|
@@ -1168,15 +1172,15 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1168
1172
|
cy: 10,
|
|
1169
1173
|
r: 9,
|
|
1170
1174
|
fill: t.color
|
|
1171
|
-
}, null, 8,
|
|
1172
|
-
], 8,
|
|
1175
|
+
}, null, 8, Da)
|
|
1176
|
+
], 8, Sa)),
|
|
1173
1177
|
i(ce) ? y("", !0) : (r(), v(_, { key: 0 }, [
|
|
1174
1178
|
Ae(k(t.name), 1)
|
|
1175
1179
|
], 64))
|
|
1176
1180
|
], 4)
|
|
1177
1181
|
]),
|
|
1178
1182
|
_: 1
|
|
1179
|
-
}, 8, ["legendSet", "config"])) :
|
|
1183
|
+
}, 8, ["legendSet", "config"])) : p(l.$slots, "legend", {
|
|
1180
1184
|
key: 1,
|
|
1181
1185
|
legend: ge.value
|
|
1182
1186
|
}, void 0, !0)
|
|
@@ -1188,15 +1192,15 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1188
1192
|
ref: Fe,
|
|
1189
1193
|
dir: "auto"
|
|
1190
1194
|
}, [
|
|
1191
|
-
|
|
1195
|
+
p(l.$slots, "source", {}, void 0, !0)
|
|
1192
1196
|
], 512)) : y("", !0),
|
|
1193
|
-
ee.value && e.value.userOptions.buttons.table ? (r(), E(
|
|
1197
|
+
ee.value && e.value.userOptions.buttons.table ? (r(), E(tl(Y.value.component), ll({ key: 7 }, Y.value.props, {
|
|
1194
1198
|
ref_key: "tableUnit",
|
|
1195
1199
|
ref: j,
|
|
1196
1200
|
onClose: Qe
|
|
1197
1201
|
}), rt({
|
|
1198
|
-
content:
|
|
1199
|
-
(r(), E(i(
|
|
1202
|
+
content: C(() => [
|
|
1203
|
+
(r(), E(i(Lt), {
|
|
1200
1204
|
key: `table_${Me.value}`,
|
|
1201
1205
|
colNames: le.value.colNames,
|
|
1202
1206
|
head: le.value.head,
|
|
@@ -1206,13 +1210,13 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1206
1210
|
withCloseButton: !e.value.table.useDialog,
|
|
1207
1211
|
onClose: Qe
|
|
1208
1212
|
}, {
|
|
1209
|
-
th:
|
|
1213
|
+
th: C(({ th: t }) => [
|
|
1210
1214
|
c("div", {
|
|
1211
1215
|
innerHTML: t,
|
|
1212
1216
|
style: { display: "flex", "align-items": "center" }
|
|
1213
|
-
}, null, 8,
|
|
1217
|
+
}, null, 8, Fa)
|
|
1214
1218
|
]),
|
|
1215
|
-
td:
|
|
1219
|
+
td: C(({ td: t }) => [
|
|
1216
1220
|
Ae(k(t.name || t), 1)
|
|
1217
1221
|
]),
|
|
1218
1222
|
_: 1
|
|
@@ -1222,20 +1226,20 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1222
1226
|
}, [
|
|
1223
1227
|
e.value.table.useDialog ? {
|
|
1224
1228
|
name: "title",
|
|
1225
|
-
fn:
|
|
1229
|
+
fn: C(() => [
|
|
1226
1230
|
Ae(k(Y.value.title), 1)
|
|
1227
1231
|
]),
|
|
1228
1232
|
key: "0"
|
|
1229
1233
|
} : void 0,
|
|
1230
1234
|
e.value.table.useDialog ? {
|
|
1231
1235
|
name: "actions",
|
|
1232
|
-
fn:
|
|
1236
|
+
fn: C(() => [
|
|
1233
1237
|
c("button", {
|
|
1234
1238
|
tabindex: "0",
|
|
1235
1239
|
class: "vue-ui-user-options-button",
|
|
1236
|
-
onClick: o[0] || (o[0] = (t) =>
|
|
1240
|
+
onClick: o[0] || (o[0] = (t) => Ce(e.value.userOptions.callbacks.csv))
|
|
1237
1241
|
}, [
|
|
1238
|
-
nt(i(
|
|
1242
|
+
nt(i(At), {
|
|
1239
1243
|
name: "excel",
|
|
1240
1244
|
stroke: Y.value.props.color
|
|
1241
1245
|
}, null, 8, ["stroke"])
|
|
@@ -1244,15 +1248,15 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1244
1248
|
key: "1"
|
|
1245
1249
|
} : void 0
|
|
1246
1250
|
]), 1040)) : y("", !0),
|
|
1247
|
-
i(ce) ? (r(), E(
|
|
1248
|
-
], 46,
|
|
1251
|
+
i(ce) ? (r(), E(bl, { key: 8 })) : y("", !0)
|
|
1252
|
+
], 46, Al));
|
|
1249
1253
|
}
|
|
1250
|
-
},
|
|
1254
|
+
}, za = /* @__PURE__ */ _l(Na, [["__scopeId", "data-v-7b0427b6"]]), Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1251
1255
|
__proto__: null,
|
|
1252
|
-
default:
|
|
1256
|
+
default: za
|
|
1253
1257
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1254
1258
|
export {
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1259
|
+
Ya as a,
|
|
1260
|
+
Za as b,
|
|
1261
|
+
za as v
|
|
1258
1262
|
};
|