vue-data-ui 2.4.3 → 2.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-AxsI-FAh.js} +1 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-W6XO2WVI.cjs} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-BX3x6oa7.js} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-BI1tjiA_.js} +2 -2
- package/dist/{DataTable-DTzynbND.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-B86sMXn7.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-CRMHjbGw.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-Clrfvyd8.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
- package/dist/{PenAndPaper-DAZYA8Ew.js → PenAndPaper-BQzgk5kO.js} +2 -2
- package/dist/{PenAndPaper-CDFVOo7X.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-DYNtRer6.js} +1 -1
- package/dist/{Shape-D2Dpshg1.cjs → Shape-qK3MNdTg.cjs} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-DFPDip5U.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-NlxLkUso.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-710895ks.js} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-CUN1T6KC.cjs} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-BapDtYOM.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-CPlG_yQU.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-CcykRspI.cjs} +1 -1
- package/dist/{index-Bya_q1J-.js → index-DCsPHn9C.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-DdSlLeTW.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-BcE45wW6.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-siG3sKWo.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
- package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-D_MTGc8j.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-BdzWvy4d.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
- package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CHEdFQb7.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-DBk50kIe.js} +75 -69
- package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-Bo41qkGe.js} +240 -232
- package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-CkNOqa9q.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-lMqx64wd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CNWq-epB.js} +262 -256
- package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-C65SAJKb.js} +338 -330
- package/dist/vue-ui-donut-CMC92CXL.cjs +1 -0
- package/dist/vue-ui-donut-evolution-7gIM4bVk.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-BFbBlmBx.js} +163 -156
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BnxRfvv0.js} +208 -200
- package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
- package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-Cra_F-tK.js} +130 -124
- package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DlJ7v0aD.js} +125 -119
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-CsqVvNxE.js} +167 -159
- package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
- package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-i4HFM04D.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-CgdepnhM.js} +109 -103
- package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-Bxro4962.js} +173 -166
- package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-B7dXBejH.js} +311 -303
- package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
- package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-i52wztm0.js} +149 -141
- package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +186 -178
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-BORPtgQO.js} +225 -217
- package/dist/vue-ui-quadrant-a_I5E71f.cjs +1 -0
- package/dist/vue-ui-quick-chart-BpPDfK78.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-yb1FzVdt.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-CoCbl19A.js} +172 -164
- package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-D-zwuvLK.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-nTJ8DDhG.cjs} +1 -1
- package/dist/vue-ui-relation-circle-CW9qozhJ.js +366 -0
- package/dist/vue-ui-relation-circle-Wj_yrVJc.cjs +1 -0
- package/dist/vue-ui-rings-BZaZIGEz.cjs +2 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-Bx2GEh6d.js} +196 -188
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-BARiPzro.js} +288 -280
- package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-DNuwx6_y.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-DpfJbsNA.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-BnX27B0k.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-CgCLrMox.js} +5 -5
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-aW-de-rX.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-BLUXUlTY.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-BXku33sq.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-Doi0iu0L.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-RTiKvSMp.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-BnMvXlAP.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-C6AgJH1C.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-DI7fq_MR.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-DpVCQ6W9.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-Bvuq2sLW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-oNnE5z1C.js} +4 -4
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-6g7b3yyu.js} +13 -13
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-BFM8HIM8.js} +204 -196
- package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-Bh48bMuU.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-DeRCR8l6.js} +4 -4
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-C25qj1w_.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-w3H-od91.js} +5 -5
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-BySEVhT8.js} +171 -165
- package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-BN-9a2lj.js} +6 -6
- package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-EzYdOMyf.js} +119 -112
- package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-Da0f6vaF.js} +266 -258
- package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-D1cBfu5p.js} +245 -237
- package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-DM2LsEP7.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-B9cmixxi.js} +125 -117
- package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-BLMWYOPy.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-Baz7RXN2.js} +11 -11
- package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DVnzVSqE.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-A7PKnWBs.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DAd-B98z.cjs} +1 -1
- package/package.json +1 -1
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -1,26 +1,31 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as Me, U as
|
|
5
|
-
import Se from "./vue-ui-skeleton-
|
|
6
|
-
import { u as Z } from "./useNestedProp-
|
|
7
|
-
import { _ as Ue } from "./PackageVersion-
|
|
8
|
-
import { P as qe } from "./PenAndPaper-
|
|
1
|
+
import { useCssVars as ye, computed as h, onMounted as fe, ref as g, watch as ge, openBlock as l, createElementBlock as u, normalizeClass as P, normalizeStyle as me, createBlock as F, createCommentVNode as i, unref as v, createSlots as pe, withCtx as I, renderSlot as m, normalizeProps as G, guardReactiveProps as V, createVNode as ke, createElementVNode as d, Fragment as O, renderList as K, toDisplayString as be } from "vue";
|
|
2
|
+
import { u as _e, o as xe, e as Q, g as we, c as Ce, t as $e, a as Pe, p as _, b as Fe, v as f, d as A, X as Ie, s as Oe, i as Ae, f as Ye } from "./index-DCsPHn9C.js";
|
|
3
|
+
import { _ as Ne } from "./Title-710895ks.js";
|
|
4
|
+
import { u as Me, U as Te } from "./usePrinter-siG3sKWo.js";
|
|
5
|
+
import Se from "./vue-ui-skeleton-DNuwx6_y.js";
|
|
6
|
+
import { u as Z } from "./useNestedProp-DdSlLeTW.js";
|
|
7
|
+
import { _ as Ue } from "./PackageVersion-Clrfvyd8.js";
|
|
8
|
+
import { P as qe } from "./PenAndPaper-BQzgk5kO.js";
|
|
9
9
|
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
const
|
|
10
|
+
const Ge = ["id"], Ve = {
|
|
11
11
|
key: 1,
|
|
12
|
+
ref: "noTitle",
|
|
13
|
+
class: "vue-data-ui-no-title-space",
|
|
14
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
15
|
+
}, We = {
|
|
16
|
+
key: 2,
|
|
12
17
|
style: "width:100%"
|
|
13
|
-
},
|
|
18
|
+
}, Ee = ["xmlns", "viewBox"], ze = {
|
|
14
19
|
id: "vueUiPill",
|
|
15
20
|
clipPathUnits: "objectBoundingBox"
|
|
16
|
-
},
|
|
17
|
-
key: 4,
|
|
18
|
-
class: "vue-data-ui-watermark"
|
|
19
|
-
}, ut = {
|
|
21
|
+
}, Be = ["fill"], je = ["id"], De = ["stop-color"], He = ["stop-color"], Xe = ["stop-color"], Re = { "clip-path": "url(#vueUiPill)" }, Je = ["x", "y", "height", "width"], Ke = ["x", "y", "height", "width", "fill"], Qe = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ze = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], et = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], tt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], st = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ot = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], at = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], lt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], rt = ["x", "y", "height", "width"], ut = ["y", "x", "fill", "font-size", "font-weight"], nt = {
|
|
20
22
|
key: 5,
|
|
23
|
+
class: "vue-data-ui-watermark"
|
|
24
|
+
}, it = {
|
|
25
|
+
key: 6,
|
|
21
26
|
ref: "source",
|
|
22
27
|
dir: "auto"
|
|
23
|
-
},
|
|
28
|
+
}, ct = {
|
|
24
29
|
__name: "vue-ui-thermometer",
|
|
25
30
|
props: {
|
|
26
31
|
dataset: {
|
|
@@ -38,148 +43,149 @@ const Te = ["id"], Ge = {
|
|
|
38
43
|
},
|
|
39
44
|
setup(x, { expose: ee }) {
|
|
40
45
|
const a = x;
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
46
|
+
ye((s) => ({
|
|
47
|
+
"000db494": ue.value,
|
|
48
|
+
"2865ccd0": re.value,
|
|
49
|
+
10843485: le.value
|
|
45
50
|
}));
|
|
46
|
-
const { vue_ui_thermometer: te } =
|
|
47
|
-
|
|
51
|
+
const { vue_ui_thermometer: te } = _e(), Y = h(() => !!a.dataset && Object.keys(a.dataset).length);
|
|
52
|
+
fe(() => {
|
|
48
53
|
W();
|
|
49
54
|
});
|
|
50
55
|
function W() {
|
|
51
|
-
|
|
56
|
+
xe(a.dataset) ? Q({
|
|
52
57
|
componentName: "VueUiThermometer",
|
|
53
58
|
type: "dataset"
|
|
54
|
-
}) :
|
|
59
|
+
}) : we({
|
|
55
60
|
datasetObject: a.dataset,
|
|
56
61
|
requiredAttributes: ["value", "from", "to"]
|
|
57
|
-
}).forEach((
|
|
62
|
+
}).forEach((s) => {
|
|
58
63
|
Q({
|
|
59
64
|
componentName: "VueUiThermometer",
|
|
60
65
|
type: "datasetAttribute",
|
|
61
|
-
property:
|
|
66
|
+
property: s
|
|
62
67
|
});
|
|
63
68
|
});
|
|
64
69
|
}
|
|
65
|
-
const p = g(
|
|
70
|
+
const p = g(Ce()), N = g(null), E = g(0), z = g(0), e = h({
|
|
66
71
|
get: () => B(),
|
|
67
|
-
set: (
|
|
72
|
+
set: (s) => s
|
|
68
73
|
});
|
|
69
74
|
function B() {
|
|
70
|
-
const
|
|
75
|
+
const s = Z({
|
|
71
76
|
userConfig: a.config,
|
|
72
77
|
defaultConfig: te
|
|
73
78
|
});
|
|
74
|
-
return
|
|
79
|
+
return s.theme ? {
|
|
75
80
|
...Z({
|
|
76
|
-
userConfig:
|
|
77
|
-
defaultConfig:
|
|
81
|
+
userConfig: $e.vue_ui_thermometer[s.theme] || a.config,
|
|
82
|
+
defaultConfig: s
|
|
78
83
|
}),
|
|
79
|
-
customPalette:
|
|
80
|
-
} :
|
|
84
|
+
customPalette: Pe[s.theme] || _
|
|
85
|
+
} : s;
|
|
81
86
|
}
|
|
82
|
-
|
|
87
|
+
ge(() => a.config, (s) => {
|
|
83
88
|
e.value = B(), W(), z.value += 1;
|
|
84
89
|
}, { deep: !0 });
|
|
85
90
|
const { isPrinting: j, isImaging: D, generatePdf: H, generateImage: X } = Me({
|
|
86
91
|
elementId: `thermometer__${p.value}`,
|
|
87
92
|
fileName: e.value.style.title.text || "vue-ui-thermometer"
|
|
88
|
-
}), w = h(() =>
|
|
93
|
+
}), se = h(() => e.value.userOptions.show && !e.value.style.title.text), w = h(() => Fe(e.value.customPalette)), oe = h(() => e.value.style.chart.thermometer.width), y = h(() => a.dataset.steps || 10), c = g({
|
|
89
94
|
top: e.value.style.chart.padding.top,
|
|
90
95
|
left: e.value.style.chart.padding.left,
|
|
91
96
|
right: e.value.style.chart.padding.right,
|
|
92
97
|
bottom: e.value.style.chart.padding.bottom
|
|
93
98
|
});
|
|
94
|
-
function C(
|
|
95
|
-
const r = [],
|
|
99
|
+
function C(s, n, t) {
|
|
100
|
+
const r = [], q = R(s), L = R(n);
|
|
96
101
|
for (let b = 0; b < t; b++) {
|
|
97
|
-
const
|
|
98
|
-
r.push(
|
|
102
|
+
const ce = M(q.red, L.red, b, t), he = M(q.green, L.green, b, t), de = M(q.blue, L.blue, b, t), ve = `#${T(ce)}${T(he)}${T(de)}`;
|
|
103
|
+
r.push(ve);
|
|
99
104
|
}
|
|
100
105
|
return r;
|
|
101
106
|
}
|
|
102
|
-
function R(
|
|
103
|
-
const
|
|
107
|
+
function R(s) {
|
|
108
|
+
const n = s.slice(1);
|
|
104
109
|
return {
|
|
105
|
-
red: parseInt(
|
|
106
|
-
green: parseInt(
|
|
107
|
-
blue: parseInt(
|
|
110
|
+
red: parseInt(n.slice(0, 2), 16),
|
|
111
|
+
green: parseInt(n.slice(2, 4), 16),
|
|
112
|
+
blue: parseInt(n.slice(4, 6), 16)
|
|
108
113
|
};
|
|
109
114
|
}
|
|
110
|
-
function
|
|
111
|
-
return Math.round(
|
|
115
|
+
function M(s, n, t, r) {
|
|
116
|
+
return Math.round(s + (n - s) * t / r);
|
|
112
117
|
}
|
|
113
|
-
function
|
|
114
|
-
return
|
|
118
|
+
function T(s) {
|
|
119
|
+
return s.toString(16).padStart(2, "0");
|
|
115
120
|
}
|
|
116
|
-
const
|
|
117
|
-
const
|
|
121
|
+
const o = h(() => {
|
|
122
|
+
const s = oe.value + c.value.left + c.value.right, n = e.value.style.chart.height;
|
|
118
123
|
return {
|
|
119
|
-
width:
|
|
124
|
+
width: s,
|
|
120
125
|
left: c.value.left,
|
|
121
|
-
right:
|
|
126
|
+
right: s - c.value.right,
|
|
122
127
|
top: c.value.top,
|
|
123
|
-
bottom:
|
|
124
|
-
height:
|
|
128
|
+
bottom: n - c.value.bottom,
|
|
129
|
+
height: n
|
|
125
130
|
};
|
|
126
|
-
}),
|
|
127
|
-
const
|
|
131
|
+
}), ae = h(() => o.value), S = h(() => {
|
|
132
|
+
const s = f(a.dataset.from) < 0 ? Math.abs(f(a.dataset.from)) : f(a.dataset.from), n = f(a.dataset.to) < 0 ? Math.abs(f(a.dataset.to)) : f(a.dataset.to);
|
|
128
133
|
let t = 0;
|
|
129
|
-
return f(a.dataset.to) > 0 ? t =
|
|
130
|
-
}),
|
|
134
|
+
return f(a.dataset.to) > 0 ? t = s + n : s > n ? t = s - n : t = n - s, (1 - (Math.abs(f(a.dataset.from)) + f(a.dataset.value)) / t) * (o.value.height - c.value.top - c.value.bottom);
|
|
135
|
+
}), le = h(() => `${S.value}px`), re = h(() => `${o.value.height - e.value.style.chart.padding.bottom - c.value.top}px`), ue = h(() => `${e.value.style.chart.animation.speedMs}ms`), ne = h(() => {
|
|
131
136
|
if (a.dataset.colors) {
|
|
132
137
|
if (!a.dataset.colors.from)
|
|
133
|
-
return C(w.value[0] || _[0],
|
|
138
|
+
return C(w.value[0] || _[0], A(a.dataset.colors.to), y.value || 10);
|
|
134
139
|
if (!a.dataset.colors.to)
|
|
135
|
-
return C(
|
|
140
|
+
return C(A(a.dataset.colors.from), w.value[1] || _[1], y.value || 10);
|
|
136
141
|
} else
|
|
137
142
|
return C(w.value[1] || _[1], w.value[0] || _[0], y.value || 10);
|
|
138
|
-
return C(
|
|
143
|
+
return C(A(a.dataset.colors.from), A(a.dataset.colors.to), y.value || 10);
|
|
139
144
|
}), J = h(() => {
|
|
140
|
-
const
|
|
141
|
-
let
|
|
142
|
-
const t =
|
|
145
|
+
const s = [];
|
|
146
|
+
let n = 0;
|
|
147
|
+
const t = o.value.height - c.value.top - c.value.bottom;
|
|
143
148
|
for (let r = 0; r < t - 1; r += t / y.value)
|
|
144
|
-
|
|
145
|
-
x:
|
|
146
|
-
y:
|
|
147
|
-
qYLess:
|
|
148
|
-
halfY:
|
|
149
|
-
qYMore:
|
|
150
|
-
color:
|
|
149
|
+
s.push({
|
|
150
|
+
x: o.value.left,
|
|
151
|
+
y: o.value.top + r,
|
|
152
|
+
qYLess: o.value.top + r + t / y.value / 4,
|
|
153
|
+
halfY: o.value.top + r + t / y.value / 2,
|
|
154
|
+
qYMore: o.value.top + r + t / y.value / 4 * 3,
|
|
155
|
+
color: ne.value[n],
|
|
151
156
|
height: t / y.value
|
|
152
|
-
}),
|
|
153
|
-
return
|
|
157
|
+
}), n += 1;
|
|
158
|
+
return s;
|
|
154
159
|
}), k = g(!1);
|
|
155
|
-
function
|
|
156
|
-
k.value =
|
|
160
|
+
function ie(s) {
|
|
161
|
+
k.value = s, E.value += 1;
|
|
157
162
|
}
|
|
158
163
|
const $ = g(!1);
|
|
159
|
-
function
|
|
164
|
+
function U() {
|
|
160
165
|
$.value = !$.value;
|
|
161
166
|
}
|
|
162
167
|
return ee({
|
|
163
168
|
generatePdf: H,
|
|
164
169
|
generateImage: X,
|
|
165
|
-
toggleAnnotator:
|
|
166
|
-
}), (
|
|
170
|
+
toggleAnnotator: U
|
|
171
|
+
}), (s, n) => (l(), u("div", {
|
|
167
172
|
ref_key: "thermoChart",
|
|
168
|
-
ref:
|
|
173
|
+
ref: N,
|
|
169
174
|
class: P(`vue-ui-thermometer ${k.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
170
|
-
style:
|
|
175
|
+
style: me(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
|
|
171
176
|
id: `thermometer__${p.value}`
|
|
172
177
|
}, [
|
|
173
178
|
e.value.userOptions.buttons.annotator ? (l(), F(qe, {
|
|
174
179
|
key: 0,
|
|
175
|
-
parent:
|
|
180
|
+
parent: N.value,
|
|
176
181
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
177
182
|
color: e.value.style.chart.color,
|
|
178
183
|
active: $.value,
|
|
179
|
-
onClose:
|
|
184
|
+
onClose: U
|
|
180
185
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
|
|
181
|
-
|
|
182
|
-
|
|
186
|
+
se.value ? (l(), u("div", Ve, null, 512)) : i("", !0),
|
|
187
|
+
e.value.style.title.text ? (l(), u("div", We, [
|
|
188
|
+
(l(), F(Ne, {
|
|
183
189
|
key: `title_${z.value}`,
|
|
184
190
|
config: {
|
|
185
191
|
title: {
|
|
@@ -193,7 +199,7 @@ const Te = ["id"], Ge = {
|
|
|
193
199
|
}
|
|
194
200
|
}, null, 8, ["config"]))
|
|
195
201
|
])) : i("", !0),
|
|
196
|
-
e.value.userOptions.show && Y.value ? (l(), F(
|
|
202
|
+
e.value.userOptions.show && Y.value ? (l(), F(Te, {
|
|
197
203
|
ref: "details",
|
|
198
204
|
key: `user_options_${E.value}`,
|
|
199
205
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -207,55 +213,55 @@ const Te = ["id"], Ge = {
|
|
|
207
213
|
hasXls: !1,
|
|
208
214
|
isFullscreen: k.value,
|
|
209
215
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
210
|
-
chartElement:
|
|
216
|
+
chartElement: N.value,
|
|
211
217
|
position: e.value.userOptions.position,
|
|
212
218
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
213
219
|
isAnnotation: $.value,
|
|
214
|
-
onToggleFullscreen:
|
|
220
|
+
onToggleFullscreen: ie,
|
|
215
221
|
onGeneratePdf: v(H),
|
|
216
222
|
onGenerateImage: v(X),
|
|
217
|
-
onToggleAnnotator:
|
|
218
|
-
},
|
|
219
|
-
|
|
223
|
+
onToggleAnnotator: U
|
|
224
|
+
}, pe({ _: 2 }, [
|
|
225
|
+
s.$slots.optionPdf ? {
|
|
220
226
|
name: "optionPdf",
|
|
221
227
|
fn: I(() => [
|
|
222
|
-
m(
|
|
228
|
+
m(s.$slots, "optionPdf", {}, void 0, !0)
|
|
223
229
|
]),
|
|
224
230
|
key: "0"
|
|
225
231
|
} : void 0,
|
|
226
|
-
|
|
232
|
+
s.$slots.optionImg ? {
|
|
227
233
|
name: "optionImg",
|
|
228
234
|
fn: I(() => [
|
|
229
|
-
m(
|
|
235
|
+
m(s.$slots, "optionImg", {}, void 0, !0)
|
|
230
236
|
]),
|
|
231
237
|
key: "1"
|
|
232
238
|
} : void 0,
|
|
233
|
-
|
|
239
|
+
s.$slots.optionFullscreen ? {
|
|
234
240
|
name: "optionFullscreen",
|
|
235
241
|
fn: I(({ toggleFullscreen: t, isFullscreen: r }) => [
|
|
236
|
-
m(
|
|
242
|
+
m(s.$slots, "optionFullscreen", G(V({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
|
|
237
243
|
]),
|
|
238
244
|
key: "2"
|
|
239
245
|
} : void 0,
|
|
240
|
-
|
|
246
|
+
s.$slots.optionAnnotator ? {
|
|
241
247
|
name: "optionAnnotator",
|
|
242
248
|
fn: I(({ toggleAnnotator: t, isAnnotator: r }) => [
|
|
243
|
-
m(
|
|
249
|
+
m(s.$slots, "optionAnnotator", G(V({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
|
|
244
250
|
]),
|
|
245
251
|
key: "3"
|
|
246
252
|
} : void 0
|
|
247
253
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : i("", !0),
|
|
248
|
-
Y.value ? (l(),
|
|
249
|
-
key:
|
|
250
|
-
xmlns: v(
|
|
254
|
+
Y.value ? (l(), u("svg", {
|
|
255
|
+
key: 4,
|
|
256
|
+
xmlns: v(Ie),
|
|
251
257
|
class: P({ "vue-data-ui-fullscreen--on": k.value, "vue-data-ui-fulscreen--off": !k.value }),
|
|
252
258
|
width: "100%",
|
|
253
|
-
viewBox: `0 0 ${
|
|
259
|
+
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
254
260
|
style: "background:transparent"
|
|
255
261
|
}, [
|
|
256
|
-
|
|
262
|
+
ke(Ue),
|
|
257
263
|
d("defs", null, [
|
|
258
|
-
d("clipPath",
|
|
264
|
+
d("clipPath", ze, [
|
|
259
265
|
d("rect", {
|
|
260
266
|
x: "0",
|
|
261
267
|
y: "0",
|
|
@@ -264,9 +270,9 @@ const Te = ["id"], Ge = {
|
|
|
264
270
|
rx: "0.5",
|
|
265
271
|
ry: "0.07",
|
|
266
272
|
fill: e.value.style.chart.backgroundColor
|
|
267
|
-
}, null, 8,
|
|
273
|
+
}, null, 8, Be)
|
|
268
274
|
]),
|
|
269
|
-
(l(!0),
|
|
275
|
+
(l(!0), u(O, null, K(J.value, (t, r) => (l(), u("linearGradient", {
|
|
270
276
|
id: `vueUiThermometerGradient_${r}_${p.value}`,
|
|
271
277
|
x1: "0%",
|
|
272
278
|
y1: "0%",
|
|
@@ -276,37 +282,37 @@ const Te = ["id"], Ge = {
|
|
|
276
282
|
d("stop", {
|
|
277
283
|
offset: "0%",
|
|
278
284
|
"stop-color": t.color
|
|
279
|
-
}, null, 8,
|
|
285
|
+
}, null, 8, De),
|
|
280
286
|
d("stop", {
|
|
281
287
|
offset: "50%",
|
|
282
|
-
"stop-color": v(
|
|
283
|
-
}, null, 8,
|
|
288
|
+
"stop-color": v(Oe)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
|
|
289
|
+
}, null, 8, He),
|
|
284
290
|
d("stop", {
|
|
285
291
|
offset: "100%",
|
|
286
292
|
"stop-color": t.color
|
|
287
|
-
}, null, 8,
|
|
288
|
-
], 8,
|
|
293
|
+
}, null, 8, Xe)
|
|
294
|
+
], 8, je))), 256))
|
|
289
295
|
]),
|
|
290
|
-
d("g",
|
|
296
|
+
d("g", Re, [
|
|
291
297
|
d("rect", {
|
|
292
|
-
x:
|
|
293
|
-
y:
|
|
294
|
-
height:
|
|
295
|
-
width:
|
|
298
|
+
x: o.value.left,
|
|
299
|
+
y: o.value.top,
|
|
300
|
+
height: o.value.height - c.value.top - c.value.bottom,
|
|
301
|
+
width: o.value.width - c.value.left - c.value.right,
|
|
296
302
|
fill: "#FFFFFF"
|
|
297
|
-
}, null, 8,
|
|
298
|
-
(l(!0),
|
|
303
|
+
}, null, 8, Je),
|
|
304
|
+
(l(!0), u(O, null, K(J.value, (t, r) => (l(), u("g", {
|
|
299
305
|
key: `graduation_${r}`
|
|
300
306
|
}, [
|
|
301
307
|
d("rect", {
|
|
302
308
|
x: t.x,
|
|
303
309
|
y: t.y,
|
|
304
310
|
height: t.height,
|
|
305
|
-
width:
|
|
311
|
+
width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
|
|
306
312
|
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${r}_${p.value})` : t.color,
|
|
307
313
|
"shape-rendering": "crispEdges"
|
|
308
|
-
}, null, 8,
|
|
309
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
314
|
+
}, null, 8, Ke),
|
|
315
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
310
316
|
key: 0,
|
|
311
317
|
x1: t.x,
|
|
312
318
|
x2: t.x + 10,
|
|
@@ -315,9 +321,9 @@ const Te = ["id"], Ge = {
|
|
|
315
321
|
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
316
322
|
stroke: e.value.style.chart.graduations.stroke,
|
|
317
323
|
"stroke-linecap": "round"
|
|
318
|
-
}, null, 8,
|
|
319
|
-
e.value.style.chart.graduations.showIntermediate ? (l(),
|
|
320
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
324
|
+
}, null, 8, Qe)) : i("", !0),
|
|
325
|
+
e.value.style.chart.graduations.showIntermediate ? (l(), u(O, { key: 1 }, [
|
|
326
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
321
327
|
key: 0,
|
|
322
328
|
x1: t.x,
|
|
323
329
|
x2: t.x + 5,
|
|
@@ -326,8 +332,8 @@ const Te = ["id"], Ge = {
|
|
|
326
332
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
327
333
|
stroke: e.value.style.chart.graduations.stroke,
|
|
328
334
|
"stroke-linecap": "round"
|
|
329
|
-
}, null, 8,
|
|
330
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
335
|
+
}, null, 8, Ze)) : i("", !0),
|
|
336
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
331
337
|
key: 1,
|
|
332
338
|
x1: t.x,
|
|
333
339
|
x2: t.x + 2.5,
|
|
@@ -336,8 +342,8 @@ const Te = ["id"], Ge = {
|
|
|
336
342
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
337
343
|
stroke: e.value.style.chart.graduations.stroke,
|
|
338
344
|
"stroke-linecap": "round"
|
|
339
|
-
}, null, 8,
|
|
340
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
345
|
+
}, null, 8, et)) : i("", !0),
|
|
346
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
341
347
|
key: 2,
|
|
342
348
|
x1: t.x,
|
|
343
349
|
x2: t.x + 2.5,
|
|
@@ -346,89 +352,89 @@ const Te = ["id"], Ge = {
|
|
|
346
352
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
347
353
|
stroke: e.value.style.chart.graduations.stroke,
|
|
348
354
|
"stroke-linecap": "round"
|
|
349
|
-
}, null, 8,
|
|
355
|
+
}, null, 8, tt)) : i("", !0)
|
|
350
356
|
], 64)) : i("", !0),
|
|
351
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
357
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
352
358
|
key: 2,
|
|
353
|
-
x1:
|
|
354
|
-
x2:
|
|
359
|
+
x1: o.value.right,
|
|
360
|
+
x2: o.value.right - 10,
|
|
355
361
|
y1: t.y,
|
|
356
362
|
y2: t.y,
|
|
357
363
|
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
358
364
|
stroke: e.value.style.chart.graduations.stroke,
|
|
359
365
|
"stroke-linecap": "round"
|
|
360
|
-
}, null, 8,
|
|
361
|
-
e.value.style.chart.graduations.showIntermediate ? (l(),
|
|
362
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
366
|
+
}, null, 8, st)) : i("", !0),
|
|
367
|
+
e.value.style.chart.graduations.showIntermediate ? (l(), u(O, { key: 3 }, [
|
|
368
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
363
369
|
key: 0,
|
|
364
|
-
x1:
|
|
365
|
-
x2:
|
|
370
|
+
x1: o.value.right,
|
|
371
|
+
x2: o.value.right - 5,
|
|
366
372
|
y1: t.halfY,
|
|
367
373
|
y2: t.halfY,
|
|
368
374
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
369
375
|
stroke: e.value.style.chart.graduations.stroke,
|
|
370
376
|
"stroke-linecap": "round"
|
|
371
|
-
}, null, 8,
|
|
372
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
377
|
+
}, null, 8, ot)) : i("", !0),
|
|
378
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
373
379
|
key: 1,
|
|
374
|
-
x1:
|
|
375
|
-
x2:
|
|
380
|
+
x1: o.value.right,
|
|
381
|
+
x2: o.value.right - 2.5,
|
|
376
382
|
y1: t.qYLess,
|
|
377
383
|
y2: t.qYLess,
|
|
378
384
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
379
385
|
stroke: e.value.style.chart.graduations.stroke,
|
|
380
386
|
"stroke-linecap": "round"
|
|
381
|
-
}, null, 8,
|
|
382
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
387
|
+
}, null, 8, at)) : i("", !0),
|
|
388
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
383
389
|
key: 2,
|
|
384
|
-
x1:
|
|
385
|
-
x2:
|
|
390
|
+
x1: o.value.right,
|
|
391
|
+
x2: o.value.right - 2.5,
|
|
386
392
|
y1: t.qYMore,
|
|
387
393
|
y2: t.qYMore,
|
|
388
394
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
389
395
|
stroke: e.value.style.chart.graduations.stroke,
|
|
390
396
|
"stroke-linecap": "round"
|
|
391
|
-
}, null, 8,
|
|
397
|
+
}, null, 8, lt)) : i("", !0)
|
|
392
398
|
], 64)) : i("", !0)
|
|
393
399
|
]))), 128)),
|
|
394
400
|
d("rect", {
|
|
395
401
|
class: P({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
|
|
396
|
-
x:
|
|
397
|
-
y:
|
|
398
|
-
height:
|
|
399
|
-
width:
|
|
402
|
+
x: o.value.left,
|
|
403
|
+
y: o.value.top,
|
|
404
|
+
height: S.value,
|
|
405
|
+
width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
|
|
400
406
|
fill: "#FFFFFF66"
|
|
401
|
-
}, null, 10,
|
|
407
|
+
}, null, 10, rt)
|
|
402
408
|
]),
|
|
403
409
|
d("text", {
|
|
404
410
|
class: P({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use }),
|
|
405
|
-
y:
|
|
406
|
-
x:
|
|
411
|
+
y: S.value + o.value.top + e.value.style.chart.label.fontSize / 3,
|
|
412
|
+
x: o.value.left - 10,
|
|
407
413
|
"text-anchor": "end",
|
|
408
414
|
fill: e.value.style.chart.label.color,
|
|
409
415
|
"font-size": e.value.style.chart.label.fontSize,
|
|
410
416
|
"font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
|
|
411
|
-
},
|
|
417
|
+
}, be(v(Ae)(
|
|
412
418
|
e.value.style.chart.label.formatter,
|
|
413
419
|
x.dataset.value,
|
|
414
|
-
v(
|
|
420
|
+
v(Ye)({
|
|
415
421
|
p: e.value.style.chart.label.prefix,
|
|
416
422
|
v: x.dataset.value,
|
|
417
423
|
s: e.value.style.chart.label.suffix,
|
|
418
424
|
r: e.value.style.chart.label.rounding
|
|
419
425
|
}),
|
|
420
426
|
{ datapoint: x.dataset }
|
|
421
|
-
)), 11,
|
|
422
|
-
m(
|
|
423
|
-
], 10,
|
|
424
|
-
|
|
425
|
-
m(
|
|
427
|
+
)), 11, ut),
|
|
428
|
+
m(s.$slots, "svg", { svg: ae.value }, void 0, !0)
|
|
429
|
+
], 10, Ee)) : i("", !0),
|
|
430
|
+
s.$slots.watermark ? (l(), u("div", nt, [
|
|
431
|
+
m(s.$slots, "watermark", G(V({ isPrinting: v(j) || v(D) })), void 0, !0)
|
|
426
432
|
])) : i("", !0),
|
|
427
|
-
|
|
428
|
-
m(
|
|
433
|
+
s.$slots.source ? (l(), u("div", it, [
|
|
434
|
+
m(s.$slots, "source", {}, void 0, !0)
|
|
429
435
|
], 512)) : i("", !0),
|
|
430
436
|
Y.value ? i("", !0) : (l(), F(Se, {
|
|
431
|
-
key:
|
|
437
|
+
key: 7,
|
|
432
438
|
config: {
|
|
433
439
|
type: "thermometer",
|
|
434
440
|
style: {
|
|
@@ -439,9 +445,9 @@ const Te = ["id"], Ge = {
|
|
|
439
445
|
}
|
|
440
446
|
}
|
|
441
447
|
}, null, 8, ["config"]))
|
|
442
|
-
], 14,
|
|
448
|
+
], 14, Ge));
|
|
443
449
|
}
|
|
444
|
-
},
|
|
450
|
+
}, bt = /* @__PURE__ */ Le(ct, [["__scopeId", "data-v-8a73571f"]]);
|
|
445
451
|
export {
|
|
446
|
-
|
|
452
|
+
bt as default
|
|
447
453
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-CcykRspI.cjs"),Q=require("./Title-CUN1T6KC.cjs"),A=require("./usePrinter-BcE45wW6.cjs"),Z=require("./vue-ui-skeleton-DpfJbsNA.cjs"),T=require("./useNestedProp-XtPlFP9O.cjs"),ee=require("./PackageVersion-CowXQ4IM.cjs"),te=require("./PenAndPaper-DBSxk9Xk.cjs"),oe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),le=["id"],re={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},ae={key:2,style:"width:100%"},se=["xmlns","viewBox"],ne={id:"vueUiPill",clipPathUnits:"objectBoundingBox"},ue=["fill"],ce=["id"],ie=["stop-color"],de=["stop-color"],he=["stop-color"],ve={"clip-path":"url(#vueUiPill)"},me=["x","y","height","width"],pe=["x","y","height","width","fill"],ye=["x1","x2","y1","y2","stroke-width","stroke"],fe=["x1","x2","y1","y2","stroke-width","stroke"],ke=["x1","x2","y1","y2","stroke-width","stroke"],ge=["x1","x2","y1","y2","stroke-width","stroke"],xe=["x1","x2","y1","y2","stroke-width","stroke"],be=["x1","x2","y1","y2","stroke-width","stroke"],_e=["x1","x2","y1","y2","stroke-width","stroke"],Ce=["x1","x2","y1","y2","stroke-width","stroke"],we=["x","y","height","width"],Ne=["y","x","fill","font-size","font-weight"],Be={key:5,class:"vue-data-ui-watermark"},Pe={key:6,ref:"source",dir:"auto"},Ve={__name:"vue-ui-thermometer",props:{dataset:{type:Object,default(){return{}}},config:{type:Object,default(){return{}}}},setup(m,{expose:Y}){const s=m;e.useCssVars(l=>({"000db494":H.value,"2865ccd0":W.value,10843485:G.value}));const{vue_ui_thermometer:M}=r.useConfig(),k=e.computed(()=>!!s.dataset&&Object.keys(s.dataset).length);e.onMounted(()=>{B()});function B(){r.objectIsEmpty(s.dataset)?r.error({componentName:"VueUiThermometer",type:"dataset"}):r.getMissingDatasetAttributes({datasetObject:s.dataset,requiredAttributes:["value","from","to"]}).forEach(l=>{r.error({componentName:"VueUiThermometer",type:"datasetAttribute",property:l})})}const d=e.ref(r.createUid()),g=e.ref(null),P=e.ref(0),V=e.ref(0),t=e.computed({get:()=>E(),set:l=>l});function E(){const l=T.useNestedProp({userConfig:s.config,defaultConfig:M});return l.theme?{...T.useNestedProp({userConfig:r.themes.vue_ui_thermometer[l.theme]||s.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}e.watch(()=>s.config,l=>{t.value=E(),B(),V.value+=1},{deep:!0});const{isPrinting:$,isImaging:F,generatePdf:I,generateImage:q}=A.usePrinter({elementId:`thermometer__${d.value}`,fileName:t.value.style.title.text||"vue-ui-thermometer"}),z=e.computed(()=>t.value.userOptions.show&&!t.value.style.title.text),p=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),L=e.computed(()=>t.value.style.chart.thermometer.width),i=e.computed(()=>s.dataset.steps||10),c=e.ref({top:t.value.style.chart.padding.top,left:t.value.style.chart.padding.left,right:t.value.style.chart.padding.right,bottom:t.value.style.chart.padding.bottom});function y(l,u,o){const n=[],w=S(l),N=S(u);for(let v=0;v<o;v++){const R=x(w.red,N.red,v,o),X=x(w.green,N.green,v,o),J=x(w.blue,N.blue,v,o),K=`#${b(R)}${b(X)}${b(J)}`;n.push(K)}return n}function S(l){const u=l.slice(1);return{red:parseInt(u.slice(0,2),16),green:parseInt(u.slice(2,4),16),blue:parseInt(u.slice(4,6),16)}}function x(l,u,o,n){return Math.round(l+(u-l)*o/n)}function b(l){return l.toString(16).padStart(2,"0")}const a=e.computed(()=>{const l=L.value+c.value.left+c.value.right,u=t.value.style.chart.height;return{width:l,left:c.value.left,right:l-c.value.right,top:c.value.top,bottom:u-c.value.bottom,height:u}}),U=e.computed(()=>a.value),_=e.computed(()=>{const l=r.checkNaN(s.dataset.from)<0?Math.abs(r.checkNaN(s.dataset.from)):r.checkNaN(s.dataset.from),u=r.checkNaN(s.dataset.to)<0?Math.abs(r.checkNaN(s.dataset.to)):r.checkNaN(s.dataset.to);let o=0;return r.checkNaN(s.dataset.to)>0?o=l+u:l>u?o=l-u:o=u-l,(1-(Math.abs(r.checkNaN(s.dataset.from))+r.checkNaN(s.dataset.value))/o)*(a.value.height-c.value.top-c.value.bottom)}),G=e.computed(()=>`${_.value}px`),W=e.computed(()=>`${a.value.height-t.value.style.chart.padding.bottom-c.value.top}px`),H=e.computed(()=>`${t.value.style.chart.animation.speedMs}ms`),j=e.computed(()=>{if(s.dataset.colors){if(!s.dataset.colors.from)return y(p.value[0]||r.palette[0],r.convertColorToHex(s.dataset.colors.to),i.value||10);if(!s.dataset.colors.to)return y(r.convertColorToHex(s.dataset.colors.from),p.value[1]||r.palette[1],i.value||10)}else return y(p.value[1]||r.palette[1],p.value[0]||r.palette[0],i.value||10);return y(r.convertColorToHex(s.dataset.colors.from),r.convertColorToHex(s.dataset.colors.to),i.value||10)}),O=e.computed(()=>{const l=[];let u=0;const o=a.value.height-c.value.top-c.value.bottom;for(let n=0;n<o-1;n+=o/i.value)l.push({x:a.value.left,y:a.value.top+n,qYLess:a.value.top+n+o/i.value/4,halfY:a.value.top+n+o/i.value/2,qYMore:a.value.top+n+o/i.value/4*3,color:j.value[u],height:o/i.value}),u+=1;return l}),h=e.ref(!1);function D(l){h.value=l,P.value+=1}const f=e.ref(!1);function C(){f.value=!f.value}return Y({generatePdf:I,generateImage:q,toggleAnnotator:C}),(l,u)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"thermoChart",ref:g,class:e.normalizeClass(`vue-ui-thermometer ${h.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`width:100%;background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color};font-family:${t.value.style.fontFamily}`),id:`thermometer__${d.value}`},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(te.PenAndPaper,{key:0,parent:g.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:f.value,onClose:C},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createElementBlock("div",re,null,512)):e.createCommentVNode("",!0),t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",ae,[(e.openBlock(),e.createBlock(Q._sfc_main,{key:`title_${V.value}`,config:{title:{cy:"thermometer-div-title",...t.value.style.title},subtitle:{cy:"thermometer-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&k.value?(e.openBlock(),e.createBlock(A.UserOptions,{ref:"details",key:`user_options_${P.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isImaging:e.unref(F),isPrinting:e.unref($),uid:d.value,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasFullscreen:t.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:h.value,titles:{...t.value.userOptions.buttonTitles},chartElement:g.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:f.value,onToggleFullscreen:D,onGeneratePdf:e.unref(I),onGenerateImage:e.unref(q),onToggleAnnotator:C},e.createSlots({_:2},[l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:n})),void 0,!0)]),key:"2"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:n})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:n})),void 0,!0)]),key:"3"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),k.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":h.value,"vue-data-ui-fulscreen--off":!h.value}),width:"100%",viewBox:`0 0 ${a.value.width} ${a.value.height}`,style:"background:transparent"},[e.createVNode(ee._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",ne,[e.createElementVNode("rect",{x:"0",y:"0",width:"1",height:"1",rx:"0.5",ry:"0.07",fill:t.value.style.chart.backgroundColor},null,8,ue)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.value,(o,n)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`vueUiThermometerGradient_${n}_${d.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":o.color},null,8,ie),e.createElementVNode("stop",{offset:"50%","stop-color":e.unref(r.setOpacity)(o.color,100-t.value.style.chart.graduations.gradient.intensity)},null,8,de),e.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,he)],8,ce))),256))]),e.createElementVNode("g",ve,[e.createElementVNode("rect",{x:a.value.left,y:a.value.top,height:a.value.height-c.value.top-c.value.bottom,width:a.value.width-c.value.left-c.value.right,fill:"#FFFFFF"},null,8,me),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.value,(o,n)=>(e.openBlock(),e.createElementBlock("g",{key:`graduation_${n}`},[e.createElementVNode("rect",{x:o.x,y:o.y,height:o.height,width:a.value.width-t.value.style.chart.padding.left-t.value.style.chart.padding.right,fill:t.value.style.chart.graduations.gradient.show?`url(#vueUiThermometerGradient_${n}_${d.value})`:o.color,"shape-rendering":"crispEdges"},null,8,pe),t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x+10,y1:o.y,y2:o.y,"stroke-width":t.value.style.chart.graduations.strokeWidth,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,ye)):e.createCommentVNode("",!0),t.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x+5,y1:o.halfY,y2:o.halfY,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,fe)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:o.x,x2:o.x+2.5,y1:o.qYLess,y2:o.qYLess,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,ke)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:o.x,x2:o.x+2.5,y1:o.qYMore,y2:o.qYMore,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,ge)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:a.value.right,x2:a.value.right-10,y1:o.y,y2:o.y,"stroke-width":t.value.style.chart.graduations.strokeWidth,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,xe)):e.createCommentVNode("",!0),t.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:a.value.right,x2:a.value.right-5,y1:o.halfY,y2:o.halfY,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,be)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:a.value.right,x2:a.value.right-2.5,y1:o.qYLess,y2:o.qYLess,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,_e)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:a.value.right,x2:a.value.right-2.5,y1:o.qYMore,y2:o.qYMore,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,Ce)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]))),128)),e.createElementVNode("rect",{class:e.normalizeClass({"vue-ui-thermometer-temperature":t.value.style.chart.animation.use}),x:a.value.left,y:a.value.top,height:_.value,width:a.value.width-t.value.style.chart.padding.left-t.value.style.chart.padding.right,fill:"#FFFFFF66"},null,10,we)]),e.createElementVNode("text",{class:e.normalizeClass({"vue-ui-thermometer-temperature-value":t.value.style.chart.animation.use}),y:_.value+a.value.top+t.value.style.chart.label.fontSize/3,x:a.value.left-10,"text-anchor":"end",fill:t.value.style.chart.label.color,"font-size":t.value.style.chart.label.fontSize,"font-weight":t.value.style.chart.label.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.label.formatter,m.dataset.value,e.unref(r.dataLabel)({p:t.value.style.chart.label.prefix,v:m.dataset.value,s:t.value.style.chart.label.suffix,r:t.value.style.chart.label.rounding}),{datapoint:m.dataset})),11,Ne),e.renderSlot(l.$slots,"svg",{svg:U.value},void 0,!0)],10,se)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Be,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref($)||e.unref(F)})),void 0,!0)])):e.createCommentVNode("",!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",Pe,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Z.default,{key:7,config:{type:"thermometer",style:{backgroundColor:t.value.style.chart.backgroundColor,thermometer:{color:"#CCCCCC"}}}},null,8,["config"]))],14,le))}},Ee=oe._export_sfc(Ve,[["__scopeId","data-v-8a73571f"]]);exports.default=Ee;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./useNestedProp-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./useNestedProp-XtPlFP9O.cjs"),g=require("./index-CcykRspI.cjs"),$=require("./useResponsive-BJ7DTGpm.cjs"),B=require("./BaseIcon-BTn_oML7.cjs"),j=require("./Title-CUN1T6KC.cjs"),q=require("./PackageVersion-CowXQ4IM.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");class U{constructor(T,v,y,E=!0,b=!0){this.interval=v,this.elapsed=0,this.isPaused=!1;const S=`
|
|
2
2
|
let interval;
|
|
3
3
|
let elapsed = 0;
|
|
4
4
|
let paused = false;
|