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,37 +1,41 @@
|
|
|
1
|
-
import { defineAsyncComponent as G, computed as d, ref as h, toRefs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t 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
|
|
12
|
-
import
|
|
13
|
-
import { _ as
|
|
14
|
-
const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { inactiveColor: "#4A4A4A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } },
|
|
1
|
+
import { defineAsyncComponent as G, computed as d, ref as h, toRefs as Ue, watch as ve, onMounted as je, createElementBlock as i, openBlock as r, unref as n, normalizeStyle as X, normalizeClass as V, createBlock as N, createCommentVNode as k, withCtx as f, renderSlot as u, normalizeProps as C, guardReactiveProps as b, createSlots as Le, createVNode as Ge, Fragment as he, renderList as de, toDisplayString as Xe } from "vue";
|
|
2
|
+
import { c as Ve, t as Ye, U as qe, o as We, g as Je, h as fe, X as Ke, a as Qe, d as Ze } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { t as et, u as tt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as ot, a as Y } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as at, B as lt } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
+
import { u as nt } from "./usePrinter-1NmjuP-i.js";
|
|
7
|
+
import { u as st } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as rt } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as it } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as ut } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import ct from "./Title-NgeRXqRA.js";
|
|
12
|
+
import vt from "./img-6fNF_rG0.js";
|
|
13
|
+
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const ge = { userOptions: { show: !1 }, style: { chart: { layout: { activeColor: "#678681", ticks: { gradient: { shiftHueIntensity: 0 } } } } } }, ye = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { inactiveColor: "#4A4A4A", activeColor: "#7FA09B", ticks: { gradient: { shiftHueIntensity: 0 } } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, pe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { inactiveColor: "#4A4A4A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, me = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { crescendo: !1, inactiveColor: "#5D403760", activeColor: "#D32F2F", ticks: { gradient: { shiftHueIntensity: 0 } } }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, ke = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { crescendo: !1, inactiveColor: "#5D403760", activeColor: "#D32F2F", ticks: { gradient: { shiftHueIntensity: 0 } } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, Ce = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { crescendo: !1, inactiveColor: "#333333", activeColor: "#66CC66", ticks: { gradient: { shiftHueIntensity: 15 } } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, be = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { crescendo: !0, curved: !0, curveAngleX: 5, curveAngleY: 5, inactiveColor: "#F7EDE2", activeColor: "#B1A7AD", ticks: { gradient: { shiftHueIntensity: 15 } } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, Ae = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { crescendo: !1, inactiveColor: "#BBCBC7", activeColor: "#6C94A0", ticks: { gradient: { shiftHueIntensity: 10 } } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } } }, we = {
|
|
15
15
|
default: {},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
minimal: ge,
|
|
17
|
+
minimalDark: ye,
|
|
18
|
+
dark: pe,
|
|
19
|
+
celebration: me,
|
|
20
|
+
celebrationNight: ke,
|
|
21
|
+
hack: Ce,
|
|
22
|
+
zen: be,
|
|
23
|
+
concrete: Ae
|
|
24
|
+
}, Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23
25
|
__proto__: null,
|
|
24
|
-
celebration:
|
|
25
|
-
celebrationNight:
|
|
26
|
-
concrete:
|
|
27
|
-
dark:
|
|
28
|
-
default:
|
|
29
|
-
hack:
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
celebration: me,
|
|
27
|
+
celebrationNight: ke,
|
|
28
|
+
concrete: Ae,
|
|
29
|
+
dark: pe,
|
|
30
|
+
default: we,
|
|
31
|
+
hack: Ce,
|
|
32
|
+
minimal: ge,
|
|
33
|
+
minimalDark: ye,
|
|
34
|
+
zen: be
|
|
35
|
+
}, Symbol.toStringTag, { value: "Module" })), dt = ["id"], ft = ["xmlns", "viewBox"], gt = ["width", "height"], yt = { key: 1 }, pt = ["d", "stroke-width", "stroke"], mt = { key: 2 }, kt = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], Ct = { key: 3 }, bt = ["x", "y", "height"], At = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], wt = {
|
|
32
36
|
key: 4,
|
|
33
37
|
class: "vue-data-ui-watermark"
|
|
34
|
-
},
|
|
38
|
+
}, $t = {
|
|
35
39
|
__name: "vue-ui-tiremarks",
|
|
36
40
|
props: {
|
|
37
41
|
config: {
|
|
@@ -47,13 +51,13 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
},
|
|
50
|
-
setup(
|
|
51
|
-
const
|
|
52
|
-
...
|
|
54
|
+
setup($e, { expose: _e }) {
|
|
55
|
+
const Oe = G(() => import("./PenAndPaper-LTuSTmWE.js")), Se = G(() => import("./UserOptions-CX7Xsusk.js")), Ie = G(() => import("./PackageVersion-CQxJyGQr.js")), { vue_ui_tiremarks: xe } = ot(), { isThemeValid: Fe, warnInvalidTheme: Pe } = rt(), A = $e, ze = d(() => !!A.dataset && Object.keys(A.dataset).length), H = h(Ve()), O = h(null), Te = h(null), q = h(null), W = h(null), J = h(0), K = h(0), S = h(null), F = h(null), e = h(j()), { loading: Q, FINAL_DATASET: M } = at({
|
|
56
|
+
...Ue(A),
|
|
53
57
|
FINAL_CONFIG: e,
|
|
54
58
|
prepareConfig: j,
|
|
55
59
|
skeletonDataset: { percentage: 50 },
|
|
56
|
-
skeletonConfig:
|
|
60
|
+
skeletonConfig: Ye({
|
|
57
61
|
defaultConfig: e.value,
|
|
58
62
|
userConfig: {
|
|
59
63
|
userOptions: { show: !1 },
|
|
@@ -72,85 +76,85 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
72
76
|
}
|
|
73
77
|
}
|
|
74
78
|
})
|
|
75
|
-
}), { userOptionsVisible: R, setUserOptionsVisibility: Z, keepUserOptionState: ee } =
|
|
79
|
+
}), { userOptionsVisible: R, setUserOptionsVisibility: Z, keepUserOptionState: ee } = it({ config: e.value }), { svgRef: U } = ut({ config: e.value.style.chart.title });
|
|
76
80
|
function j() {
|
|
77
81
|
const t = Y({
|
|
78
82
|
userConfig: A.config,
|
|
79
|
-
defaultConfig:
|
|
80
|
-
}),
|
|
81
|
-
if (!
|
|
82
|
-
if (!
|
|
83
|
-
return
|
|
84
|
-
const
|
|
85
|
-
userConfig:
|
|
83
|
+
defaultConfig: xe
|
|
84
|
+
}), a = t.theme;
|
|
85
|
+
if (!a) return t;
|
|
86
|
+
if (!Fe.value(t))
|
|
87
|
+
return Pe(t), t;
|
|
88
|
+
const o = Y({
|
|
89
|
+
userConfig: we[a] || A.config,
|
|
86
90
|
defaultConfig: t
|
|
87
91
|
});
|
|
88
92
|
return Y({
|
|
89
93
|
userConfig: A.config,
|
|
90
|
-
defaultConfig:
|
|
94
|
+
defaultConfig: o
|
|
91
95
|
});
|
|
92
96
|
}
|
|
93
97
|
ve(() => A.config, (t) => {
|
|
94
98
|
e.value = j(), R.value = !e.value.userOptions.showOnChartHover, T.value = e.value.style.chart.width, B.value = e.value.style.chart.height, se(), K.value += 1;
|
|
95
99
|
}, { deep: !0 });
|
|
96
|
-
const { isPrinting: te, isImaging:
|
|
97
|
-
elementId:
|
|
100
|
+
const { isPrinting: te, isImaging: oe, generatePdf: ae, generateImage: le } = nt({
|
|
101
|
+
elementId: H.value,
|
|
98
102
|
fileName: e.value.style.chart.title.text || "vue-ui-tiremarks",
|
|
99
103
|
options: e.value.userOptions.print
|
|
100
|
-
}),
|
|
101
|
-
ve(() =>
|
|
104
|
+
}), Be = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), c = h(e.value.style.chart.animation.use ? 0 : qe(M.value.percentage));
|
|
105
|
+
ve(() => M.value, (t) => {
|
|
102
106
|
e.value.style.chart.animation.use ? ne(t.percentage) : c.value = t.percentage || 0;
|
|
103
|
-
}, { deep: !0 }),
|
|
107
|
+
}, { deep: !0 }), je(() => {
|
|
104
108
|
se();
|
|
105
109
|
});
|
|
106
110
|
function ne(t) {
|
|
107
|
-
let
|
|
108
|
-
const
|
|
111
|
+
let a = e.value.style.chart.animation.speed;
|
|
112
|
+
const o = Math.abs(t - c.value) / (a * 120);
|
|
109
113
|
function l() {
|
|
110
|
-
c.value < t ? c.value = Math.min(c.value +
|
|
114
|
+
c.value < t ? c.value = Math.min(c.value + o, t) : c.value > t && (c.value = Math.max(c.value - o, t)), c.value !== t && requestAnimationFrame(l);
|
|
111
115
|
}
|
|
112
116
|
l();
|
|
113
117
|
}
|
|
114
|
-
const
|
|
118
|
+
const De = d(() => !!e.value.debug);
|
|
115
119
|
function se() {
|
|
116
|
-
if (
|
|
120
|
+
if (We(A.dataset) && Je({
|
|
117
121
|
componentName: "VueUiTiremarks",
|
|
118
122
|
type: "dataset",
|
|
119
|
-
debug:
|
|
123
|
+
debug: De.value
|
|
120
124
|
}), e.value.responsive) {
|
|
121
|
-
const t =
|
|
122
|
-
const { width:
|
|
125
|
+
const t = et(() => {
|
|
126
|
+
const { width: a, height: o } = tt({
|
|
123
127
|
chart: O.value,
|
|
124
128
|
title: e.value.style.chart.title.text ? q.value : null,
|
|
125
129
|
source: W.value
|
|
126
130
|
});
|
|
127
131
|
requestAnimationFrame(() => {
|
|
128
|
-
T.value = Math.max(0.1,
|
|
132
|
+
T.value = Math.max(0.1, a), B.value = Math.max(0.1, o - 12);
|
|
129
133
|
});
|
|
130
134
|
});
|
|
131
|
-
S.value && (
|
|
135
|
+
S.value && (F.value && S.value.unobserve(F.value), S.value.disconnect()), S.value = new ResizeObserver(t), F.value = O.value.parentNode, S.value.observe(F.value);
|
|
132
136
|
}
|
|
133
|
-
ne(
|
|
137
|
+
ne(M.value.percentage || 0);
|
|
134
138
|
}
|
|
135
|
-
const
|
|
136
|
-
const t = e.value.style.chart.percentage.show,
|
|
139
|
+
const P = d(() => e.value.style.chart.layout.display === "vertical"), v = d(() => {
|
|
140
|
+
const t = e.value.style.chart.percentage.show, a = {
|
|
137
141
|
top: t ? 48 : 12,
|
|
138
142
|
left: t ? 64 : 16,
|
|
139
143
|
right: t ? 64 : 16,
|
|
140
144
|
bottom: t ? 48 : 12
|
|
141
145
|
};
|
|
142
|
-
return
|
|
143
|
-
top: e.value.style.chart.percentage.verticalPosition === "top" ?
|
|
146
|
+
return P.value ? {
|
|
147
|
+
top: e.value.style.chart.percentage.verticalPosition === "top" ? a.top : 3,
|
|
144
148
|
left: 3,
|
|
145
149
|
right: 3,
|
|
146
|
-
bottom: e.value.style.chart.percentage.verticalPosition === "bottom" ?
|
|
150
|
+
bottom: e.value.style.chart.percentage.verticalPosition === "bottom" ? a.bottom : 3
|
|
147
151
|
} : {
|
|
148
152
|
top: 0,
|
|
149
153
|
bottom: 0,
|
|
150
|
-
left: e.value.style.chart.percentage.horizontalPosition === "left" ?
|
|
151
|
-
right: e.value.style.chart.percentage.horizontalPosition === "right" ?
|
|
154
|
+
left: e.value.style.chart.percentage.horizontalPosition === "left" ? a.left : 16,
|
|
155
|
+
right: e.value.style.chart.percentage.horizontalPosition === "right" ? a.right : 10
|
|
152
156
|
};
|
|
153
|
-
}), z = d(() => Object.values(v.value).reduce((t,
|
|
157
|
+
}), z = d(() => Object.values(v.value).reduce((t, a) => t + a, 0)), T = h(e.value.style.chart.width), B = h(e.value.style.chart.height), s = d(() => ({
|
|
154
158
|
height: B.value,
|
|
155
159
|
width: T.value
|
|
156
160
|
})), re = d(() => ({
|
|
@@ -162,7 +166,7 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
162
166
|
x: s.value.width / 2 - 20,
|
|
163
167
|
y: p.value.y - p.value.fontSize / 2
|
|
164
168
|
}
|
|
165
|
-
})[e.value.style.chart.layout.display]), g = d(() =>
|
|
169
|
+
})[e.value.style.chart.layout.display]), g = d(() => P.value ? {
|
|
166
170
|
mark: (s.value.height - z.value) / 100 * 0.5,
|
|
167
171
|
space: (s.value.height - z.value) / 100 * 0.5
|
|
168
172
|
} : {
|
|
@@ -170,38 +174,38 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
170
174
|
space: (s.value.width - z.value) / 100 * 0.5
|
|
171
175
|
}), ie = d(() => {
|
|
172
176
|
const t = [];
|
|
173
|
-
for (let
|
|
174
|
-
const l = e.value.style.chart.layout.ticks.gradient.show ? fe(e.value.style.chart.layout.activeColor,
|
|
175
|
-
if (
|
|
176
|
-
const m = e.value.style.chart.layout.crescendo ? (100 -
|
|
177
|
+
for (let o = 0; o < 100; o += 1) {
|
|
178
|
+
const l = e.value.style.chart.layout.ticks.gradient.show ? fe(e.value.style.chart.layout.activeColor, o / 100 * (e.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.activeColor;
|
|
179
|
+
if (P.value) {
|
|
180
|
+
const m = e.value.style.chart.layout.crescendo ? (100 - o) * (s.value.width - v.value.left - v.value.right) / 100 / 3 : 0, y = v.value.left + 4 + m, w = s.value.width - v.value.right - 4 - m, $ = s.value.height - v.value.bottom - o * g.value.mark - o * g.value.space - g.value.mark, _ = s.value.height - v.value.bottom - o * g.value.mark - o * g.value.space - g.value.mark, I = (w - y) / e.value.style.chart.layout.curveAngleX, x = e.value.style.chart.layout.curveAngleY * ((1 + o) / 100);
|
|
177
181
|
t.push({
|
|
178
182
|
x1: y,
|
|
179
183
|
x2: w,
|
|
180
184
|
y1: $,
|
|
181
185
|
y2: _,
|
|
182
|
-
curve: `M ${y} ${$} C ${y +
|
|
186
|
+
curve: `M ${y} ${$} C ${y + I} ${$ - x}, ${w - I} ${_ - x}, ${w} ${_}`,
|
|
183
187
|
color: l
|
|
184
188
|
});
|
|
185
189
|
} else {
|
|
186
|
-
const m = e.value.style.chart.layout.crescendo ? (100 -
|
|
190
|
+
const m = e.value.style.chart.layout.crescendo ? (100 - o) * (s.value.height - v.value.top - v.value.bottom) / 100 / 3 : 0, y = v.value.left + o * g.value.mark + o * g.value.space - g.value.mark, w = y, $ = v.value.top + 4 + m, _ = s.value.height - v.value.bottom - 4 - m, I = e.value.style.chart.layout.curveAngleY * ((1 + o) / 100), x = (_ - $) / e.value.style.chart.layout.curveAngleX;
|
|
187
191
|
t.push({
|
|
188
192
|
x1: y,
|
|
189
193
|
x2: w,
|
|
190
194
|
y1: $,
|
|
191
195
|
y2: _,
|
|
192
|
-
curve: `M ${y} ${$} C ${y +
|
|
196
|
+
curve: `M ${y} ${$} C ${y + I} ${$ + x}, ${w + I} ${_ - x}, ${w} ${_}`,
|
|
193
197
|
color: l
|
|
194
198
|
});
|
|
195
199
|
}
|
|
196
200
|
}
|
|
197
201
|
return t;
|
|
198
202
|
}), p = d(() => {
|
|
199
|
-
let t,
|
|
203
|
+
let t, a, o;
|
|
200
204
|
const l = e.value.style.chart.percentage.fontSize / 3;
|
|
201
|
-
return
|
|
205
|
+
return P.value ? e.value.style.chart.percentage.verticalPosition === "top" ? (t = s.value.width / 2, a = v.value.top / 2, o = "middle") : e.value.style.chart.percentage.verticalPosition === "bottom" && (t = s.value.width / 2, a = s.value.height - v.value.bottom / 2 + l, o = "middle") : e.value.style.chart.percentage.horizontalPosition === "left" ? (t = 4, a = s.value.height / 2 + l, o = "start") : e.value.style.chart.percentage.horizontalPosition === "right" && (t = s.value.width - v.value.right + 8, a = s.value.height / 2 + l, o = "start"), {
|
|
202
206
|
x: t,
|
|
203
|
-
y:
|
|
204
|
-
textAnchor:
|
|
207
|
+
y: a,
|
|
208
|
+
textAnchor: o,
|
|
205
209
|
bold: e.value.style.chart.percentage.bold,
|
|
206
210
|
fontSize: e.value.style.chart.percentage.fontSize,
|
|
207
211
|
fill: e.value.style.chart.percentage.color
|
|
@@ -214,47 +218,47 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
214
218
|
function L() {
|
|
215
219
|
E.value = !E.value;
|
|
216
220
|
}
|
|
217
|
-
async function
|
|
221
|
+
async function Ee({ scale: t = 2 } = {}) {
|
|
218
222
|
if (!O.value) return;
|
|
219
|
-
const { width:
|
|
223
|
+
const { width: a, height: o } = O.value.getBoundingClientRect(), l = a / o, { imageUri: m, base64: y } = await vt({ domElement: O.value, base64: !0, img: !0, scale: t });
|
|
220
224
|
return {
|
|
221
225
|
imageUri: m,
|
|
222
226
|
base64: y,
|
|
223
227
|
title: e.value.style.chart.title.text,
|
|
224
|
-
width:
|
|
225
|
-
height:
|
|
228
|
+
width: a,
|
|
229
|
+
height: o,
|
|
226
230
|
aspectRatio: l
|
|
227
231
|
};
|
|
228
232
|
}
|
|
229
|
-
const
|
|
233
|
+
const Ne = d(() => e.value.style.chart.backgroundColor), He = d(() => e.value.style.chart.title), { exportSvg: Me, getSvg: Re } = st({
|
|
230
234
|
svg: U,
|
|
231
|
-
title:
|
|
232
|
-
backgroundColor:
|
|
235
|
+
title: He,
|
|
236
|
+
backgroundColor: Ne
|
|
233
237
|
});
|
|
234
238
|
async function ce({ isCb: t }) {
|
|
235
239
|
if (t) {
|
|
236
|
-
const { blob:
|
|
237
|
-
e.value.userOptions.callbacks.svg({ blob:
|
|
240
|
+
const { blob: a, url: o, text: l, dataUrl: m } = await Re();
|
|
241
|
+
e.value.userOptions.callbacks.svg({ blob: a, url: o, text: l, dataUrl: m });
|
|
238
242
|
} else
|
|
239
|
-
|
|
243
|
+
Me();
|
|
240
244
|
}
|
|
241
|
-
return
|
|
242
|
-
getImage:
|
|
243
|
-
generatePdf:
|
|
245
|
+
return _e({
|
|
246
|
+
getImage: Ee,
|
|
247
|
+
generatePdf: ae,
|
|
244
248
|
generateImage: le,
|
|
245
249
|
generateSvg: ce,
|
|
246
250
|
toggleAnnotator: L,
|
|
247
251
|
toggleFullscreen: ue
|
|
248
|
-
}), (t,
|
|
252
|
+
}), (t, a) => (r(), i("div", {
|
|
249
253
|
ref_key: "tiremarksChart",
|
|
250
254
|
ref: O,
|
|
251
255
|
class: V(`vue-data-ui-component vue-ui-tiremarks ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
252
256
|
style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
253
|
-
id:
|
|
254
|
-
onMouseenter:
|
|
255
|
-
onMouseleave:
|
|
257
|
+
id: H.value,
|
|
258
|
+
onMouseenter: a[0] || (a[0] = () => n(Z)(!0)),
|
|
259
|
+
onMouseleave: a[1] || (a[1] = () => n(Z)(!1))
|
|
256
260
|
}, [
|
|
257
|
-
e.value.userOptions.buttons.annotator ? (r(), N(n(
|
|
261
|
+
e.value.userOptions.buttons.annotator ? (r(), N(n(Oe), {
|
|
258
262
|
key: 0,
|
|
259
263
|
svgRef: n(U),
|
|
260
264
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -265,27 +269,27 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
265
269
|
"annotator-action-close": f(() => [
|
|
266
270
|
u(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
267
271
|
]),
|
|
268
|
-
"annotator-action-color": f(({ color:
|
|
269
|
-
u(t.$slots, "annotator-action-color", b(
|
|
272
|
+
"annotator-action-color": f(({ color: o }) => [
|
|
273
|
+
u(t.$slots, "annotator-action-color", C(b({ color: o })), void 0, !0)
|
|
270
274
|
]),
|
|
271
|
-
"annotator-action-draw": f(({ mode:
|
|
272
|
-
u(t.$slots, "annotator-action-draw", b(
|
|
275
|
+
"annotator-action-draw": f(({ mode: o }) => [
|
|
276
|
+
u(t.$slots, "annotator-action-draw", C(b({ mode: o })), void 0, !0)
|
|
273
277
|
]),
|
|
274
|
-
"annotator-action-undo": f(({ disabled:
|
|
275
|
-
u(t.$slots, "annotator-action-undo", b(
|
|
278
|
+
"annotator-action-undo": f(({ disabled: o }) => [
|
|
279
|
+
u(t.$slots, "annotator-action-undo", C(b({ disabled: o })), void 0, !0)
|
|
276
280
|
]),
|
|
277
|
-
"annotator-action-redo": f(({ disabled:
|
|
278
|
-
u(t.$slots, "annotator-action-redo", b(
|
|
281
|
+
"annotator-action-redo": f(({ disabled: o }) => [
|
|
282
|
+
u(t.$slots, "annotator-action-redo", C(b({ disabled: o })), void 0, !0)
|
|
279
283
|
]),
|
|
280
|
-
"annotator-action-delete": f(({ disabled:
|
|
281
|
-
u(t.$slots, "annotator-action-delete", b(
|
|
284
|
+
"annotator-action-delete": f(({ disabled: o }) => [
|
|
285
|
+
u(t.$slots, "annotator-action-delete", C(b({ disabled: o })), void 0, !0)
|
|
282
286
|
]),
|
|
283
287
|
_: 3
|
|
284
288
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : k("", !0),
|
|
285
|
-
|
|
289
|
+
Be.value ? (r(), i("div", {
|
|
286
290
|
key: 1,
|
|
287
291
|
ref_key: "noTitle",
|
|
288
|
-
ref:
|
|
292
|
+
ref: Te,
|
|
289
293
|
class: "vue-data-ui-no-title-space",
|
|
290
294
|
style: "height:36px; width: 100%;background:transparent"
|
|
291
295
|
}, null, 512)) : k("", !0),
|
|
@@ -295,7 +299,7 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
295
299
|
ref: q,
|
|
296
300
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
297
301
|
}, [
|
|
298
|
-
(r(), N(
|
|
302
|
+
(r(), N(ct, {
|
|
299
303
|
key: `title_${K.value}`,
|
|
300
304
|
config: {
|
|
301
305
|
title: {
|
|
@@ -309,14 +313,14 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
309
313
|
}
|
|
310
314
|
}, null, 8, ["config"]))
|
|
311
315
|
], 512)) : k("", !0),
|
|
312
|
-
e.value.userOptions.show &&
|
|
316
|
+
e.value.userOptions.show && ze.value && (n(ee) || n(R)) ? (r(), N(n(Se), {
|
|
313
317
|
ref: "details",
|
|
314
318
|
key: `user_options_${J.value}`,
|
|
315
319
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
316
320
|
color: e.value.style.chart.color,
|
|
317
321
|
isPrinting: n(te),
|
|
318
|
-
isImaging: n(
|
|
319
|
-
uid:
|
|
322
|
+
isImaging: n(oe),
|
|
323
|
+
uid: H.value,
|
|
320
324
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
321
325
|
hasImg: e.value.userOptions.buttons.img,
|
|
322
326
|
hasSvg: e.value.userOptions.buttons.svg,
|
|
@@ -331,18 +335,18 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
331
335
|
callbacks: e.value.userOptions.callbacks,
|
|
332
336
|
printScale: e.value.userOptions.print.scale,
|
|
333
337
|
onToggleFullscreen: ue,
|
|
334
|
-
onGeneratePdf: n(
|
|
338
|
+
onGeneratePdf: n(ae),
|
|
335
339
|
onGenerateImage: n(le),
|
|
336
340
|
onGenerateSvg: ce,
|
|
337
341
|
onToggleAnnotator: L,
|
|
338
342
|
style: X({
|
|
339
343
|
visibility: n(ee) ? n(R) ? "visible" : "hidden" : "visible"
|
|
340
344
|
})
|
|
341
|
-
},
|
|
345
|
+
}, Le({ _: 2 }, [
|
|
342
346
|
t.$slots.menuIcon ? {
|
|
343
347
|
name: "menuIcon",
|
|
344
|
-
fn: f(({ isOpen:
|
|
345
|
-
u(t.$slots, "menuIcon", b(
|
|
348
|
+
fn: f(({ isOpen: o, color: l }) => [
|
|
349
|
+
u(t.$slots, "menuIcon", C(b({ isOpen: o, color: l })), void 0, !0)
|
|
346
350
|
]),
|
|
347
351
|
key: "0"
|
|
348
352
|
} : void 0,
|
|
@@ -369,15 +373,15 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
369
373
|
} : void 0,
|
|
370
374
|
t.$slots.optionFullscreen ? {
|
|
371
375
|
name: "optionFullscreen",
|
|
372
|
-
fn: f(({ toggleFullscreen:
|
|
373
|
-
u(t.$slots, "optionFullscreen", b(
|
|
376
|
+
fn: f(({ toggleFullscreen: o, isFullscreen: l }) => [
|
|
377
|
+
u(t.$slots, "optionFullscreen", C(b({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
|
|
374
378
|
]),
|
|
375
379
|
key: "4"
|
|
376
380
|
} : void 0,
|
|
377
381
|
t.$slots.optionAnnotator ? {
|
|
378
382
|
name: "optionAnnotator",
|
|
379
|
-
fn: f(({ toggleAnnotator:
|
|
380
|
-
u(t.$slots, "optionAnnotator", b(
|
|
383
|
+
fn: f(({ toggleAnnotator: o, isAnnotator: l }) => [
|
|
384
|
+
u(t.$slots, "optionAnnotator", C(b({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
|
|
381
385
|
]),
|
|
382
386
|
key: "5"
|
|
383
387
|
} : void 0
|
|
@@ -385,12 +389,12 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
385
389
|
(r(), i("svg", {
|
|
386
390
|
ref_key: "svgRef",
|
|
387
391
|
ref: U,
|
|
388
|
-
xmlns: n(
|
|
392
|
+
xmlns: n(Ke),
|
|
389
393
|
class: V({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
390
394
|
viewBox: `0 0 ${T.value} ${B.value}`,
|
|
391
395
|
style: X(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
392
396
|
}, [
|
|
393
|
-
|
|
397
|
+
Ge(n(Ie)),
|
|
394
398
|
t.$slots["chart-background"] ? (r(), i("foreignObject", {
|
|
395
399
|
key: 0,
|
|
396
400
|
x: 0,
|
|
@@ -402,28 +406,28 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
402
406
|
}
|
|
403
407
|
}, [
|
|
404
408
|
u(t.$slots, "chart-background", {}, void 0, !0)
|
|
405
|
-
], 8,
|
|
406
|
-
e.value.style.chart.layout.curved ? (r(), i("g",
|
|
407
|
-
(r(!0), i(he, null, de(ie.value, (
|
|
408
|
-
d:
|
|
409
|
+
], 8, gt)) : k("", !0),
|
|
410
|
+
e.value.style.chart.layout.curved ? (r(), i("g", yt, [
|
|
411
|
+
(r(!0), i(he, null, de(ie.value, (o, l) => (r(), i("path", {
|
|
412
|
+
d: o.curve,
|
|
409
413
|
"stroke-width": g.value.mark,
|
|
410
|
-
stroke: c.value >= l ?
|
|
414
|
+
stroke: c.value >= l ? o.color : e.value.style.chart.layout.inactiveColor,
|
|
411
415
|
"stroke-linecap": "round",
|
|
412
416
|
fill: "none",
|
|
413
417
|
class: V({ "vue-ui-tick-animated": e.value.style.chart.animation.use && l <= c.value })
|
|
414
|
-
}, null, 10,
|
|
415
|
-
])) : (r(), i("g",
|
|
416
|
-
(r(!0), i(he, null, de(ie.value, (
|
|
417
|
-
x1:
|
|
418
|
-
y1:
|
|
419
|
-
x2:
|
|
420
|
-
y2:
|
|
418
|
+
}, null, 10, pt))), 256))
|
|
419
|
+
])) : (r(), i("g", mt, [
|
|
420
|
+
(r(!0), i(he, null, de(ie.value, (o, l) => (r(), i("line", {
|
|
421
|
+
x1: o.x1,
|
|
422
|
+
y1: o.y1,
|
|
423
|
+
x2: o.x2,
|
|
424
|
+
y2: o.y2,
|
|
421
425
|
"stroke-width": g.value.mark,
|
|
422
|
-
stroke: c.value >= l ?
|
|
426
|
+
stroke: c.value >= l ? o.color : e.value.style.chart.layout.inactiveColor,
|
|
423
427
|
"stroke-linecap": "round"
|
|
424
|
-
}, null, 8,
|
|
428
|
+
}, null, 8, kt))), 256))
|
|
425
429
|
])),
|
|
426
|
-
e.value.style.chart.percentage.show ? (r(), i("g",
|
|
430
|
+
e.value.style.chart.percentage.show ? (r(), i("g", Ct, [
|
|
427
431
|
n(Q) ? (r(), i("rect", {
|
|
428
432
|
key: 0,
|
|
429
433
|
x: re.value.x,
|
|
@@ -432,7 +436,7 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
432
436
|
height: p.value.fontSize,
|
|
433
437
|
fill: "#6A6A6A80",
|
|
434
438
|
rx: 3
|
|
435
|
-
}, null, 8,
|
|
439
|
+
}, null, 8, bt)) : (r(), i("text", {
|
|
436
440
|
key: 1,
|
|
437
441
|
x: p.value.x,
|
|
438
442
|
y: p.value.y,
|
|
@@ -440,20 +444,20 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
440
444
|
fill: e.value.style.chart.layout.ticks.gradient.show && e.value.style.chart.percentage.useGradientColor ? n(fe)(e.value.style.chart.layout.activeColor, c.value / 100 * (e.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.percentage.color,
|
|
441
445
|
"font-weight": p.value.bold ? "bold" : "normal",
|
|
442
446
|
"text-anchor": p.value.textAnchor
|
|
443
|
-
},
|
|
447
|
+
}, Xe(n(Qe)(
|
|
444
448
|
e.value.style.chart.percentage.formatter,
|
|
445
449
|
c.value,
|
|
446
|
-
n(
|
|
450
|
+
n(Ze)({
|
|
447
451
|
v: c.value,
|
|
448
452
|
s: "%",
|
|
449
453
|
r: e.value.style.chart.percentage.rounding
|
|
450
454
|
})
|
|
451
|
-
)), 9,
|
|
455
|
+
)), 9, At))
|
|
452
456
|
])) : k("", !0),
|
|
453
457
|
u(t.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
454
|
-
], 14,
|
|
455
|
-
t.$slots.watermark ? (r(), i("div",
|
|
456
|
-
u(t.$slots, "watermark", b(
|
|
458
|
+
], 14, ft)),
|
|
459
|
+
t.$slots.watermark ? (r(), i("div", wt, [
|
|
460
|
+
u(t.$slots, "watermark", C(b({ isPrinting: n(te) || n(oe) })), void 0, !0)
|
|
457
461
|
])) : k("", !0),
|
|
458
462
|
t.$slots.source ? (r(), i("div", {
|
|
459
463
|
key: 5,
|
|
@@ -463,15 +467,15 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
463
467
|
}, [
|
|
464
468
|
u(t.$slots, "source", {}, void 0, !0)
|
|
465
469
|
], 512)) : k("", !0),
|
|
466
|
-
n(Q) ? (r(), N(
|
|
467
|
-
], 46,
|
|
470
|
+
n(Q) ? (r(), N(lt, { key: 6 })) : k("", !0)
|
|
471
|
+
], 46, dt));
|
|
468
472
|
}
|
|
469
|
-
},
|
|
473
|
+
}, _t = /* @__PURE__ */ ht($t, [["__scopeId", "data-v-f47e75c9"]]), Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
470
474
|
__proto__: null,
|
|
471
|
-
default:
|
|
475
|
+
default: _t
|
|
472
476
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
473
477
|
export {
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
478
|
+
Mt as a,
|
|
479
|
+
Rt as b,
|
|
480
|
+
_t as v
|
|
477
481
|
};
|