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,43 +1,47 @@
|
|
|
1
|
-
import { useCssVars 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 { u as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { _ as
|
|
15
|
-
const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", graduations: { stroke: "#2A2A2A" }, label: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } },
|
|
1
|
+
import { useCssVars as Je, computed as h, defineAsyncComponent as G, ref as v, onMounted as Ke, toRefs as Qe, watch as Ze, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as fe, normalizeClass as D, createBlock as W, createCommentVNode as i, withCtx as f, renderSlot as d, normalizeProps as p, guardReactiveProps as k, createSlots as et, createVNode as tt, createElementVNode as g, Fragment as U, renderList as ge, toDisplayString as ot } from "vue";
|
|
2
|
+
import { c as st, t as lt, o as at, g as me, l as rt, i as nt, j as S, k as ut, U as b, m as N, X as it, s as ct, a as ht, d as dt } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { t as vt, u as ft } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as gt, a as X } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as mt, B as yt } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
+
import { u as pt } from "./usePrinter-1NmjuP-i.js";
|
|
7
|
+
import { u as kt } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as bt } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import { u as xt } from "./useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js";
|
|
12
|
+
import _t from "./Title-NgeRXqRA.js";
|
|
13
|
+
import At from "./img-6fNF_rG0.js";
|
|
14
|
+
import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const ye = { userOptions: { show: !1 } }, pe = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", graduations: { stroke: "#2A2A2A" }, label: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, ke = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", graduations: { stroke: "#2A2A2A" }, label: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, be = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", graduations: { stroke: "#FFF8E1", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#424242" } }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, Ce = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", graduations: { stroke: "#5D4037", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, we = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", graduations: { stroke: "#1A1A1A", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#66CC66" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, xe = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", graduations: { show: !1, gradient: { show: !0 } }, label: { color: "#B9B99D" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, _e = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", graduations: { stroke: "#1A1A1A", gradient: { show: !0 } }, label: { color: "#61747E" } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, Ae = {
|
|
16
16
|
default: {},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
minimal: ye,
|
|
18
|
+
minimalDark: pe,
|
|
19
|
+
dark: ke,
|
|
20
|
+
celebration: be,
|
|
21
|
+
celebrationNight: Ce,
|
|
22
|
+
hack: we,
|
|
23
|
+
zen: xe,
|
|
24
|
+
concrete: _e
|
|
25
|
+
}, mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24
26
|
__proto__: null,
|
|
25
|
-
celebration:
|
|
26
|
-
celebrationNight:
|
|
27
|
-
concrete:
|
|
28
|
-
dark:
|
|
29
|
-
default:
|
|
30
|
-
hack:
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
celebration: be,
|
|
28
|
+
celebrationNight: Ce,
|
|
29
|
+
concrete: _e,
|
|
30
|
+
dark: ke,
|
|
31
|
+
default: Ae,
|
|
32
|
+
hack: we,
|
|
33
|
+
minimal: ye,
|
|
34
|
+
minimalDark: pe,
|
|
35
|
+
zen: xe
|
|
36
|
+
}, Symbol.toStringTag, { value: "Module" })), Ft = ["id"], Ot = {
|
|
33
37
|
key: 1,
|
|
34
38
|
ref: "noTitle",
|
|
35
39
|
class: "vue-data-ui-no-title-space",
|
|
36
40
|
style: "height:36px; width: 100%;background:transparent"
|
|
37
|
-
},
|
|
41
|
+
}, St = ["xmlns", "viewBox"], It = ["width", "height"], Pt = ["id"], Tt = ["x", "y", "width", "height", "rx", "ry"], Et = ["id"], Mt = ["stop-color"], zt = ["stop-color"], Bt = ["stop-color"], Dt = ["clip-path"], Wt = ["x", "y", "height", "width"], Ut = ["x", "y", "height", "width", "fill"], Nt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Lt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Yt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ht = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Vt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Rt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], qt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], jt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Gt = ["x", "y", "height", "width"], Xt = { key: 1 }, Jt = ["x", "y", "height"], Kt = ["y", "x", "fill", "font-size", "font-weight"], Qt = {
|
|
38
42
|
key: 4,
|
|
39
43
|
class: "vue-data-ui-watermark"
|
|
40
|
-
},
|
|
44
|
+
}, Zt = {
|
|
41
45
|
__name: "vue-ui-thermometer",
|
|
42
46
|
props: {
|
|
43
47
|
dataset: {
|
|
@@ -53,22 +57,22 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
53
57
|
}
|
|
54
58
|
}
|
|
55
59
|
},
|
|
56
|
-
setup(I, { expose:
|
|
57
|
-
|
|
58
|
-
v4f1287f4:
|
|
59
|
-
v7fdfff1a:
|
|
60
|
-
b092daf2:
|
|
60
|
+
setup(I, { expose: $e }) {
|
|
61
|
+
Je((o) => ({
|
|
62
|
+
v4f1287f4: Ue.value,
|
|
63
|
+
v7fdfff1a: We.value,
|
|
64
|
+
b092daf2: De.value
|
|
61
65
|
}));
|
|
62
|
-
const
|
|
63
|
-
|
|
66
|
+
const Fe = G(() => import("./PackageVersion-CQxJyGQr.js")), Oe = G(() => import("./PenAndPaper-LTuSTmWE.js")), Se = G(() => import("./UserOptions-CX7Xsusk.js")), { vue_ui_thermometer: Ie } = gt(), { isThemeValid: Pe, warnInvalidTheme: Te } = bt(), m = I, C = v(st()), w = v(null), J = v(0), K = v(0), Q = v(null), Z = v(null), _ = v(null), P = v(null), Ee = h(() => !!m.dataset && Object.keys(m.dataset).length);
|
|
67
|
+
Ke(() => {
|
|
64
68
|
oe();
|
|
65
69
|
});
|
|
66
|
-
const e = v(V()),
|
|
67
|
-
...
|
|
70
|
+
const e = v(V()), Me = v(e.value.style.chart.thermometer.width), L = v(e.value.style.chart.height), Y = v(e.value.style.chart.width), { loading: ee, FINAL_DATASET: c } = mt({
|
|
71
|
+
...Qe(m),
|
|
68
72
|
FINAL_CONFIG: e,
|
|
69
73
|
prepareConfig: V,
|
|
70
74
|
skeletonDataset: { value: 0, from: -100, to: 100, steps: 20, colors: { from: "#A1A1A1", to: "#CACACA" } },
|
|
71
|
-
skeletonConfig:
|
|
75
|
+
skeletonConfig: lt({
|
|
72
76
|
defaultConfig: e.value,
|
|
73
77
|
userConfig: {
|
|
74
78
|
userOptions: { show: !1 },
|
|
@@ -85,11 +89,11 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
85
89
|
})
|
|
86
90
|
}), te = h(() => !!e.value.debug);
|
|
87
91
|
function oe() {
|
|
88
|
-
if (
|
|
92
|
+
if (at(m.dataset) ? me({
|
|
89
93
|
componentName: "VueUiThermometer",
|
|
90
94
|
type: "dataset",
|
|
91
95
|
debug: te.value
|
|
92
|
-
}) :
|
|
96
|
+
}) : rt({
|
|
93
97
|
datasetObject: m.dataset,
|
|
94
98
|
requiredAttributes: ["value", "from", "to"]
|
|
95
99
|
}).forEach((o) => {
|
|
@@ -100,9 +104,9 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
100
104
|
debug: te.value
|
|
101
105
|
});
|
|
102
106
|
}), e.value.responsive) {
|
|
103
|
-
const o =
|
|
104
|
-
const { width: l, height: t } =
|
|
105
|
-
chart:
|
|
107
|
+
const o = vt(() => {
|
|
108
|
+
const { width: l, height: t } = ft({
|
|
109
|
+
chart: w.value,
|
|
106
110
|
title: e.value.style.title.text ? Q.value : null,
|
|
107
111
|
source: Z.value
|
|
108
112
|
});
|
|
@@ -110,21 +114,21 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
110
114
|
L.value = Math.max(0.1, t - 12), Y.value = l, de();
|
|
111
115
|
});
|
|
112
116
|
});
|
|
113
|
-
_.value && (P.value && _.value.unobserve(P.value), _.value.disconnect()), _.value = new ResizeObserver(o), P.value =
|
|
117
|
+
_.value && (P.value && _.value.unobserve(P.value), _.value.disconnect()), _.value = new ResizeObserver(o), P.value = w.value, _.value.observe(P.value);
|
|
114
118
|
}
|
|
115
119
|
de();
|
|
116
120
|
}
|
|
117
|
-
const { userOptionsVisible: H, setUserOptionsVisibility: se, keepUserOptionState: le } =
|
|
121
|
+
const { userOptionsVisible: H, setUserOptionsVisibility: se, keepUserOptionState: le } = Ct({ config: e.value }), { svgRef: T } = wt({ config: e.value.style.title });
|
|
118
122
|
function V() {
|
|
119
123
|
const o = X({
|
|
120
124
|
userConfig: m.config,
|
|
121
|
-
defaultConfig:
|
|
125
|
+
defaultConfig: Ie
|
|
122
126
|
}), l = o.theme;
|
|
123
127
|
if (!l) return o;
|
|
124
|
-
if (!
|
|
125
|
-
return
|
|
128
|
+
if (!Pe.value(o))
|
|
129
|
+
return Te(o), o;
|
|
126
130
|
const t = X({
|
|
127
|
-
userConfig:
|
|
131
|
+
userConfig: Ae[l] || m.config,
|
|
128
132
|
defaultConfig: o
|
|
129
133
|
}), a = X({
|
|
130
134
|
userConfig: m.config,
|
|
@@ -132,22 +136,22 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
132
136
|
});
|
|
133
137
|
return {
|
|
134
138
|
...a,
|
|
135
|
-
customPalette: a.customPalette.length ? a.customPalette :
|
|
139
|
+
customPalette: a.customPalette.length ? a.customPalette : nt[l] || S
|
|
136
140
|
};
|
|
137
141
|
}
|
|
138
|
-
|
|
139
|
-
e.value = V(), H.value = !e.value.userOptions.showOnChartHover,
|
|
142
|
+
Ze(() => m.config, (o) => {
|
|
143
|
+
e.value = V(), H.value = !e.value.userOptions.showOnChartHover, Me.value = e.value.style.chart.thermometer.width, L.value = e.value.style.chart.height, Y.value = e.value.style.chart.width, oe(), K.value += 1;
|
|
140
144
|
}, { deep: !0 });
|
|
141
|
-
const { isPrinting: ae, isImaging: re, generatePdf: ne, generateImage: ue } =
|
|
142
|
-
elementId: `thermometer__${
|
|
145
|
+
const { isPrinting: ae, isImaging: re, generatePdf: ne, generateImage: ue } = pt({
|
|
146
|
+
elementId: `thermometer__${C.value}`,
|
|
143
147
|
fileName: e.value.style.title.text || "vue-ui-thermometer",
|
|
144
148
|
options: e.value.userOptions.print
|
|
145
|
-
}),
|
|
149
|
+
}), ze = h(() => e.value.userOptions.show && !e.value.style.title.text), E = h(() => ut(e.value.customPalette)), y = h(() => c.value.steps || 10);
|
|
146
150
|
function M(o, l, t) {
|
|
147
151
|
const a = [], x = ie(o), F = ie(l);
|
|
148
152
|
for (let O = 0; O < t; O++) {
|
|
149
|
-
const
|
|
150
|
-
a.push(
|
|
153
|
+
const qe = R(x.red, F.red, O, t), je = R(x.green, F.green, O, t), Ge = R(x.blue, F.blue, O, t), Xe = `#${q(qe)}${q(je)}${q(Ge)}`;
|
|
154
|
+
a.push(Xe);
|
|
151
155
|
}
|
|
152
156
|
return a;
|
|
153
157
|
}
|
|
@@ -177,11 +181,11 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
177
181
|
thermoHeight: l - t.top - t.bottom,
|
|
178
182
|
thermoWidth: e.value.style.chart.thermometer.width
|
|
179
183
|
};
|
|
180
|
-
}),
|
|
184
|
+
}), Be = h(() => s.value), z = h(() => {
|
|
181
185
|
const o = b(c.value.from) < 0 ? Math.abs(b(c.value.from)) : b(c.value.from), l = b(c.value.to) < 0 ? Math.abs(b(c.value.to)) : b(c.value.to);
|
|
182
186
|
let t = 0;
|
|
183
187
|
return b(c.value.to) > 0 ? t = o + l : o > l ? t = o - l : t = l - o, (1 - (Math.abs(b(c.value.from)) + b(c.value.value)) / t) * s.value.thermoHeight;
|
|
184
|
-
}),
|
|
188
|
+
}), De = h(() => `${z.value}px`), We = h(() => `${s.value.thermoHeight}px`), Ue = h(() => `${e.value.style.chart.animation.speedMs}ms`), Ne = h(() => {
|
|
185
189
|
if (c.value.colors) {
|
|
186
190
|
if (!c.value.colors.from)
|
|
187
191
|
return M(E.value[0] || S[0], N(c.value.colors.to), y.value || 10);
|
|
@@ -201,7 +205,7 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
201
205
|
qYLess: s.value.top + a + t / y.value / 4,
|
|
202
206
|
halfY: s.value.top + a + t / y.value / 2,
|
|
203
207
|
qYMore: s.value.top + a + t / y.value / 4 * 3,
|
|
204
|
-
color:
|
|
208
|
+
color: Ne.value[l],
|
|
205
209
|
height: Math.max(0.1, t / y.value)
|
|
206
210
|
}), l += 1;
|
|
207
211
|
return o;
|
|
@@ -213,9 +217,9 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
213
217
|
function j() {
|
|
214
218
|
B.value = !B.value;
|
|
215
219
|
}
|
|
216
|
-
async function
|
|
217
|
-
if (!
|
|
218
|
-
const { width: l, height: t } =
|
|
220
|
+
async function Le({ scale: o = 2 } = {}) {
|
|
221
|
+
if (!w.value) return;
|
|
222
|
+
const { width: l, height: t } = w.value.getBoundingClientRect(), a = l / t, { imageUri: x, base64: F } = await At({ domElement: w.value, base64: !0, img: !0, scale: o });
|
|
219
223
|
return {
|
|
220
224
|
imageUri: x,
|
|
221
225
|
base64: F,
|
|
@@ -228,26 +232,26 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
228
232
|
const $ = h({
|
|
229
233
|
get: () => e.value.style.chart.label.fontSize,
|
|
230
234
|
set: (o) => o
|
|
231
|
-
}), { autoSizeLabels: de } =
|
|
235
|
+
}), { autoSizeLabels: de } = xt({
|
|
232
236
|
svgRef: T,
|
|
233
237
|
fontSize: e.value.style.chart.label.fontSize,
|
|
234
238
|
minFontSize: e.value.style.chart.label.minFontSize,
|
|
235
239
|
sizeRef: $,
|
|
236
240
|
labelClass: ".vue-ui-thermometer-label"
|
|
237
|
-
}),
|
|
241
|
+
}), Ye = h(() => e.value.style.chart.backgroundColor), He = h(() => e.value.style.title), { exportSvg: Ve, getSvg: Re } = kt({
|
|
238
242
|
svg: T,
|
|
239
|
-
title:
|
|
240
|
-
backgroundColor:
|
|
243
|
+
title: He,
|
|
244
|
+
backgroundColor: Ye
|
|
241
245
|
});
|
|
242
246
|
async function ve({ isCb: o }) {
|
|
243
247
|
if (o) {
|
|
244
|
-
const { blob: l, url: t, text: a, dataUrl: x } = await
|
|
248
|
+
const { blob: l, url: t, text: a, dataUrl: x } = await Re();
|
|
245
249
|
e.value.userOptions.callbacks.svg({ blob: l, url: t, text: a, dataUrl: x });
|
|
246
250
|
} else
|
|
247
|
-
|
|
251
|
+
Ve();
|
|
248
252
|
}
|
|
249
|
-
return
|
|
250
|
-
getImage:
|
|
253
|
+
return $e({
|
|
254
|
+
getImage: Le,
|
|
251
255
|
generatePdf: ne,
|
|
252
256
|
generateImage: ue,
|
|
253
257
|
generateSvg: ve,
|
|
@@ -255,14 +259,14 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
255
259
|
toggleFullscreen: he
|
|
256
260
|
}), (o, l) => (r(), n("div", {
|
|
257
261
|
ref_key: "thermoChart",
|
|
258
|
-
ref:
|
|
259
|
-
class:
|
|
262
|
+
ref: w,
|
|
263
|
+
class: D(`vue-data-ui-component vue-ui-thermometer ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
260
264
|
style: fe(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
|
|
261
|
-
id: `thermometer__${
|
|
265
|
+
id: `thermometer__${C.value}`,
|
|
262
266
|
onMouseenter: l[0] || (l[0] = () => u(se)(!0)),
|
|
263
267
|
onMouseleave: l[1] || (l[1] = () => u(se)(!1))
|
|
264
268
|
}, [
|
|
265
|
-
e.value.userOptions.buttons.annotator ? (r(),
|
|
269
|
+
e.value.userOptions.buttons.annotator ? (r(), W(u(Oe), {
|
|
266
270
|
key: 0,
|
|
267
271
|
svgRef: u(T),
|
|
268
272
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -290,14 +294,14 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
290
294
|
]),
|
|
291
295
|
_: 3
|
|
292
296
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : i("", !0),
|
|
293
|
-
|
|
297
|
+
ze.value ? (r(), n("div", Ot, null, 512)) : i("", !0),
|
|
294
298
|
e.value.style.title.text ? (r(), n("div", {
|
|
295
299
|
key: 2,
|
|
296
300
|
ref_key: "chartTitle",
|
|
297
301
|
ref: Q,
|
|
298
302
|
style: "width:100%"
|
|
299
303
|
}, [
|
|
300
|
-
(r(),
|
|
304
|
+
(r(), W(_t, {
|
|
301
305
|
key: `title_${K.value}`,
|
|
302
306
|
config: {
|
|
303
307
|
title: {
|
|
@@ -311,14 +315,14 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
311
315
|
}
|
|
312
316
|
}, null, 8, ["config"]))
|
|
313
317
|
], 512)) : i("", !0),
|
|
314
|
-
e.value.userOptions.show &&
|
|
318
|
+
e.value.userOptions.show && Ee.value && (u(le) || u(H)) ? (r(), W(u(Se), {
|
|
315
319
|
ref: "details",
|
|
316
320
|
key: `user_options_${J.value}`,
|
|
317
321
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
318
322
|
color: e.value.style.chart.color,
|
|
319
323
|
isImaging: u(re),
|
|
320
324
|
isPrinting: u(ae),
|
|
321
|
-
uid:
|
|
325
|
+
uid: C.value,
|
|
322
326
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
323
327
|
hasImg: e.value.userOptions.buttons.img,
|
|
324
328
|
hasSvg: e.value.userOptions.buttons.svg,
|
|
@@ -326,7 +330,7 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
326
330
|
hasXls: !1,
|
|
327
331
|
isFullscreen: A.value,
|
|
328
332
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
329
|
-
chartElement:
|
|
333
|
+
chartElement: w.value,
|
|
330
334
|
position: e.value.userOptions.position,
|
|
331
335
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
332
336
|
isAnnotation: B.value,
|
|
@@ -340,7 +344,7 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
340
344
|
style: fe({
|
|
341
345
|
visibility: u(le) ? u(H) ? "visible" : "hidden" : "visible"
|
|
342
346
|
})
|
|
343
|
-
},
|
|
347
|
+
}, et({ _: 2 }, [
|
|
344
348
|
o.$slots.menuIcon ? {
|
|
345
349
|
name: "menuIcon",
|
|
346
350
|
fn: f(({ isOpen: t, color: a }) => [
|
|
@@ -387,13 +391,13 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
387
391
|
(r(), n("svg", {
|
|
388
392
|
ref_key: "svgRef",
|
|
389
393
|
ref: T,
|
|
390
|
-
xmlns: u(
|
|
391
|
-
class:
|
|
394
|
+
xmlns: u(it),
|
|
395
|
+
class: D({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
|
|
392
396
|
width: "100%",
|
|
393
397
|
viewBox: `0 0 ${s.value.width} ${s.value.height}`,
|
|
394
398
|
style: "background:transparent"
|
|
395
399
|
}, [
|
|
396
|
-
|
|
400
|
+
tt(u(Fe)),
|
|
397
401
|
o.$slots["chart-background"] ? (r(), n("foreignObject", {
|
|
398
402
|
key: 0,
|
|
399
403
|
x: 0,
|
|
@@ -405,10 +409,10 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
405
409
|
}
|
|
406
410
|
}, [
|
|
407
411
|
d(o.$slots, "chart-background", {}, void 0, !0)
|
|
408
|
-
], 8,
|
|
412
|
+
], 8, It)) : i("", !0),
|
|
409
413
|
g("defs", null, [
|
|
410
414
|
g("clipPath", {
|
|
411
|
-
id: `vueUiPill-${
|
|
415
|
+
id: `vueUiPill-${C.value}`,
|
|
412
416
|
clipPathUnits: "userSpaceOnUse"
|
|
413
417
|
}, [
|
|
414
418
|
g("rect", {
|
|
@@ -418,10 +422,10 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
418
422
|
height: s.value.thermoHeight,
|
|
419
423
|
rx: s.value.thermoWidth / 2,
|
|
420
424
|
ry: s.value.thermoWidth / 2
|
|
421
|
-
}, null, 8,
|
|
422
|
-
], 8,
|
|
425
|
+
}, null, 8, Tt)
|
|
426
|
+
], 8, Pt),
|
|
423
427
|
(r(!0), n(U, null, ge(ce.value, (t, a) => (r(), n("linearGradient", {
|
|
424
|
-
id: `vueUiThermometerGradient_${a}_${
|
|
428
|
+
id: `vueUiThermometerGradient_${a}_${C.value}`,
|
|
425
429
|
x1: "0%",
|
|
426
430
|
y1: "0%",
|
|
427
431
|
x2: "100%",
|
|
@@ -430,19 +434,19 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
430
434
|
g("stop", {
|
|
431
435
|
offset: "0%",
|
|
432
436
|
"stop-color": t.color
|
|
433
|
-
}, null, 8,
|
|
437
|
+
}, null, 8, Mt),
|
|
434
438
|
g("stop", {
|
|
435
439
|
offset: "50%",
|
|
436
|
-
"stop-color": u(
|
|
437
|
-
}, null, 8,
|
|
440
|
+
"stop-color": u(ct)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
|
|
441
|
+
}, null, 8, zt),
|
|
438
442
|
g("stop", {
|
|
439
443
|
offset: "100%",
|
|
440
444
|
"stop-color": t.color
|
|
441
|
-
}, null, 8,
|
|
442
|
-
], 8,
|
|
445
|
+
}, null, 8, Bt)
|
|
446
|
+
], 8, Et))), 256))
|
|
443
447
|
]),
|
|
444
448
|
g("g", {
|
|
445
|
-
"clip-path": `url(#vueUiPill-${
|
|
449
|
+
"clip-path": `url(#vueUiPill-${C.value})`
|
|
446
450
|
}, [
|
|
447
451
|
g("rect", {
|
|
448
452
|
x: s.value.left,
|
|
@@ -450,7 +454,7 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
450
454
|
height: s.value.thermoHeight,
|
|
451
455
|
width: s.value.thermoWidth,
|
|
452
456
|
fill: "#FFFFFF"
|
|
453
|
-
}, null, 8,
|
|
457
|
+
}, null, 8, Wt),
|
|
454
458
|
(r(!0), n(U, null, ge(ce.value, (t, a) => (r(), n("g", {
|
|
455
459
|
key: `graduation_${a}`
|
|
456
460
|
}, [
|
|
@@ -459,9 +463,9 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
459
463
|
y: t.y,
|
|
460
464
|
height: t.height,
|
|
461
465
|
width: s.value.thermoWidth,
|
|
462
|
-
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${a}_${
|
|
466
|
+
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${a}_${C.value})` : t.color,
|
|
463
467
|
"shape-rendering": "crispEdges"
|
|
464
|
-
}, null, 8,
|
|
468
|
+
}, null, 8, Ut),
|
|
465
469
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
|
|
466
470
|
key: 0,
|
|
467
471
|
x1: t.x,
|
|
@@ -471,7 +475,7 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
471
475
|
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
472
476
|
stroke: e.value.style.chart.graduations.stroke,
|
|
473
477
|
"stroke-linecap": "round"
|
|
474
|
-
}, null, 8,
|
|
478
|
+
}, null, 8, Nt)) : i("", !0),
|
|
475
479
|
e.value.style.chart.graduations.showIntermediate ? (r(), n(U, { key: 1 }, [
|
|
476
480
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
|
|
477
481
|
key: 0,
|
|
@@ -482,7 +486,7 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
482
486
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
483
487
|
stroke: e.value.style.chart.graduations.stroke,
|
|
484
488
|
"stroke-linecap": "round"
|
|
485
|
-
}, null, 8,
|
|
489
|
+
}, null, 8, Lt)) : i("", !0),
|
|
486
490
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
|
|
487
491
|
key: 1,
|
|
488
492
|
x1: t.x,
|
|
@@ -492,7 +496,7 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
492
496
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
493
497
|
stroke: e.value.style.chart.graduations.stroke,
|
|
494
498
|
"stroke-linecap": "round"
|
|
495
|
-
}, null, 8,
|
|
499
|
+
}, null, 8, Yt)) : i("", !0),
|
|
496
500
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
|
|
497
501
|
key: 2,
|
|
498
502
|
x1: t.x,
|
|
@@ -502,7 +506,7 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
502
506
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
503
507
|
stroke: e.value.style.chart.graduations.stroke,
|
|
504
508
|
"stroke-linecap": "round"
|
|
505
|
-
}, null, 8,
|
|
509
|
+
}, null, 8, Ht)) : i("", !0)
|
|
506
510
|
], 64)) : i("", !0),
|
|
507
511
|
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
|
|
508
512
|
key: 2,
|
|
@@ -513,7 +517,7 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
513
517
|
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
514
518
|
stroke: e.value.style.chart.graduations.stroke,
|
|
515
519
|
"stroke-linecap": "round"
|
|
516
|
-
}, null, 8,
|
|
520
|
+
}, null, 8, Vt)) : i("", !0),
|
|
517
521
|
e.value.style.chart.graduations.showIntermediate ? (r(), n(U, { key: 3 }, [
|
|
518
522
|
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
|
|
519
523
|
key: 0,
|
|
@@ -524,7 +528,7 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
524
528
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
525
529
|
stroke: e.value.style.chart.graduations.stroke,
|
|
526
530
|
"stroke-linecap": "round"
|
|
527
|
-
}, null, 8,
|
|
531
|
+
}, null, 8, Rt)) : i("", !0),
|
|
528
532
|
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
|
|
529
533
|
key: 1,
|
|
530
534
|
x1: s.value.right,
|
|
@@ -534,7 +538,7 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
534
538
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
535
539
|
stroke: e.value.style.chart.graduations.stroke,
|
|
536
540
|
"stroke-linecap": "round"
|
|
537
|
-
}, null, 8,
|
|
541
|
+
}, null, 8, qt)) : i("", !0),
|
|
538
542
|
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
|
|
539
543
|
key: 2,
|
|
540
544
|
x1: s.value.right,
|
|
@@ -544,19 +548,19 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
544
548
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
545
549
|
stroke: e.value.style.chart.graduations.stroke,
|
|
546
550
|
"stroke-linecap": "round"
|
|
547
|
-
}, null, 8,
|
|
551
|
+
}, null, 8, jt)) : i("", !0)
|
|
548
552
|
], 64)) : i("", !0)
|
|
549
553
|
]))), 128)),
|
|
550
554
|
g("rect", {
|
|
551
|
-
class:
|
|
555
|
+
class: D({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
|
|
552
556
|
x: s.value.left,
|
|
553
557
|
y: s.value.top,
|
|
554
558
|
height: z.value,
|
|
555
559
|
width: s.value.thermoWidth,
|
|
556
560
|
fill: "#FFFFFF66"
|
|
557
|
-
}, null, 10,
|
|
558
|
-
], 8,
|
|
559
|
-
e.value.style.chart.label.show ? (r(), n("g",
|
|
561
|
+
}, null, 10, Gt)
|
|
562
|
+
], 8, Dt),
|
|
563
|
+
e.value.style.chart.label.show ? (r(), n("g", Xt, [
|
|
560
564
|
u(ee) ? (r(), n("rect", {
|
|
561
565
|
key: 0,
|
|
562
566
|
x: s.value.left - 60,
|
|
@@ -565,30 +569,30 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
565
569
|
height: $.value,
|
|
566
570
|
fill: "#6A6A6A40",
|
|
567
571
|
rx: "3"
|
|
568
|
-
}, null, 8,
|
|
572
|
+
}, null, 8, Jt)) : (r(), n("text", {
|
|
569
573
|
key: 1,
|
|
570
|
-
class:
|
|
574
|
+
class: D({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use, "vue-ui-thermometer-label": !0 }),
|
|
571
575
|
y: z.value + s.value.top + $.value / 3,
|
|
572
576
|
x: s.value.left - 10,
|
|
573
577
|
"text-anchor": "end",
|
|
574
578
|
fill: e.value.style.chart.label.color,
|
|
575
579
|
"font-size": $.value,
|
|
576
580
|
"font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
|
|
577
|
-
},
|
|
581
|
+
}, ot(u(ht)(
|
|
578
582
|
e.value.style.chart.label.formatter,
|
|
579
583
|
I.dataset.value,
|
|
580
|
-
u(
|
|
584
|
+
u(dt)({
|
|
581
585
|
p: e.value.style.chart.label.prefix,
|
|
582
586
|
v: I.dataset.value,
|
|
583
587
|
s: e.value.style.chart.label.suffix,
|
|
584
588
|
r: e.value.style.chart.label.rounding
|
|
585
589
|
}),
|
|
586
590
|
{ datapoint: I.dataset }
|
|
587
|
-
)), 11,
|
|
591
|
+
)), 11, Kt))
|
|
588
592
|
])) : i("", !0),
|
|
589
|
-
d(o.$slots, "svg", { svg:
|
|
590
|
-
], 10,
|
|
591
|
-
o.$slots.watermark ? (r(), n("div",
|
|
593
|
+
d(o.$slots, "svg", { svg: Be.value }, void 0, !0)
|
|
594
|
+
], 10, St)),
|
|
595
|
+
o.$slots.watermark ? (r(), n("div", Qt, [
|
|
592
596
|
d(o.$slots, "watermark", p(k({ isPrinting: u(ae) || u(re) })), void 0, !0)
|
|
593
597
|
])) : i("", !0),
|
|
594
598
|
o.$slots.source ? (r(), n("div", {
|
|
@@ -599,15 +603,15 @@ const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
599
603
|
}, [
|
|
600
604
|
d(o.$slots, "source", {}, void 0, !0)
|
|
601
605
|
], 512)) : i("", !0),
|
|
602
|
-
u(ee) ? (r(),
|
|
603
|
-
], 46,
|
|
606
|
+
u(ee) ? (r(), W(yt, { key: 6 })) : i("", !0)
|
|
607
|
+
], 46, Ft));
|
|
604
608
|
}
|
|
605
|
-
},
|
|
609
|
+
}, eo = /* @__PURE__ */ $t(Zt, [["__scopeId", "data-v-d9637609"]]), yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
606
610
|
__proto__: null,
|
|
607
|
-
default:
|
|
611
|
+
default: eo
|
|
608
612
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
609
613
|
export {
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
614
|
+
mo as a,
|
|
615
|
+
yo as b,
|
|
616
|
+
eo as v
|
|
613
617
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as F, onBeforeUnmount as oe, watch as re, createElementBlock as r, openBlock as l, normalizeStyle as w, createCommentVNode as d, createElementVNode as M, createBlock as ue, unref as Q, createVNode as T, renderSlot as H, mergeProps as Y, normalizeProps as V, guardReactiveProps as G, toDisplayString as ie } from "vue";
|
|
2
|
-
import { u as ne, a as ce } from "./useNestedProp-
|
|
3
|
-
import { c as ve, X as de, a2 as X } from "./lib-
|
|
2
|
+
import { u as ne, a as ce } from "./useNestedProp-Ckf_2P_V.js";
|
|
3
|
+
import { c as ve, X as de, a2 as X } from "./lib-CVHM9FhP.js";
|
|
4
4
|
import { t as he, u as pe } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
-
import we from "./Title-
|
|
7
|
-
import R from "./BaseIcon-
|
|
6
|
+
import we from "./Title-NgeRXqRA.js";
|
|
7
|
+
import R from "./BaseIcon-4uOct8re.js";
|
|
8
8
|
import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
class ge {
|
|
10
10
|
constructor(L, N, S, j = !0, A = !0) {
|
|
@@ -130,7 +130,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
130
130
|
},
|
|
131
131
|
emits: ["start", "pause", "reset", "restart", "lap"],
|
|
132
132
|
setup(q, { expose: L, emit: N }) {
|
|
133
|
-
const S = se(() => import("./PackageVersion-
|
|
133
|
+
const S = se(() => import("./PackageVersion-CQxJyGQr.js")), { vue_ui_timer: j } = ne(), A = q, g = N, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
|
|
134
134
|
le(() => {
|
|
135
135
|
m();
|
|
136
136
|
});
|