vue-data-ui 2.6.18 → 2.6.20
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 +8 -0
- package/dist/{Arrow-Ci41JBXA.js → Arrow-C9wt_iwE.js} +1 -1
- package/dist/{Arrow-C-haYOvL.cjs → Arrow-mU42Peiq.cjs} +1 -1
- package/dist/{BaseIcon-D0Ifzd3J.js → BaseIcon-CR8s5lLC.js} +1 -1
- package/dist/{BaseIcon-Brc1PN_Z.cjs → BaseIcon-DMhDupLt.cjs} +1 -1
- package/dist/{DataTable-BH56SPdO.js → DataTable-CMUyDj6S.js} +2 -2
- package/dist/{DataTable-AQsQHTem.cjs → DataTable-Qba16zLZ.cjs} +1 -1
- package/dist/{Legend-w7VxyGN0.js → Legend-CaMKYW-V.js} +2 -2
- package/dist/{Legend-CNiGY3Yx.cjs → Legend-EauKcdAx.cjs} +1 -1
- package/dist/{PackageVersion-D1edJun6.js → PackageVersion-CURzw4q1.js} +1 -1
- package/dist/{PackageVersion-DO_17qoR.cjs → PackageVersion-Vv7wNIAl.cjs} +1 -1
- package/dist/{PenAndPaper-DWnLI5jM.js → PenAndPaper-CjiJra09.js} +3 -3
- package/dist/{PenAndPaper-BPAfK8a6.cjs → PenAndPaper-DSEAEpTs.cjs} +1 -1
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Bnwg64-7.js → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-BzSorLrT.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Cw1RBp7H.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-DB_DsgPX.cjs} +1 -1
- package/dist/{Shape-RfSE_FzV.js → Shape-F5v4f45p.js} +1 -1
- package/dist/{Shape-J26jxMZ5.cjs → Shape-gLknKTb6.cjs} +1 -1
- package/dist/{Slicer-oASHP3Lx.cjs → Slicer-CVVRixhP.cjs} +1 -1
- package/dist/{Slicer-DMdxtlpr.js → Slicer-DQp19cm1.js} +2 -2
- package/dist/{Title-xfHZTDT9.js → Title-CUHNtIyE.js} +1 -1
- package/dist/{Title-ypQseB5s.cjs → Title-m1x23s4w.cjs} +1 -1
- package/dist/{Tooltip-DQZLR6XD.cjs → Tooltip-BXY2gKbA.cjs} +1 -1
- package/dist/{Tooltip-CF9cKbnr.js → Tooltip-BuAQ8HVL.js} +1 -1
- package/dist/{index-CkqI12gj.cjs → index-CmhvuQro.cjs} +1 -1
- package/dist/{index-Df45PKBw.js → index-Cq7-va_5.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BaSIdRPe.js → useNestedProp-BEyJNlaO.js} +1 -1
- package/dist/{useNestedProp-B5QzQ7cl.cjs → useNestedProp-CnH-XcZU.cjs} +1 -1
- package/dist/usePrinter-DhZH4pcR.cjs +1 -0
- package/dist/{usePrinter-MC5pKUx5.js → usePrinter-jRjc8Naz.js} +72 -70
- package/dist/{vue-data-ui-BiXf5MnL.js → vue-data-ui-BPSCRfcK.js} +61 -61
- package/dist/{vue-data-ui--Yx3VAj0.cjs → vue-data-ui-DD5SV4SW.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BXW-ZMgi.cjs → vue-ui-3d-bar-BlCSdagh.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-DBJJ2kqD.js → vue-ui-3d-bar-TB1XdncJ.js} +105 -98
- package/dist/{vue-ui-accordion-4ngKbp5a.cjs → vue-ui-accordion-C3Ljak65.cjs} +1 -1
- package/dist/{vue-ui-accordion-BbCvey8w.js → vue-ui-accordion-vAQ_LLoP.js} +3 -3
- package/dist/{vue-ui-age-pyramid-04E6Wqie.js → vue-ui-age-pyramid-BUWoRp_B.js} +75 -68
- package/dist/{vue-ui-age-pyramid-Cpi72E7Q.cjs → vue-ui-age-pyramid-CrDKpPil.cjs} +1 -1
- package/dist/{vue-ui-annotator-tv-3u5J-.js → vue-ui-annotator-BVE-xqSy.js} +1 -1
- package/dist/{vue-ui-annotator-BzdyBaoy.cjs → vue-ui-annotator-wjsB7Ihy.cjs} +1 -1
- package/dist/{vue-ui-bullet-B-UjWb-f.cjs → vue-ui-bullet-BcU0lGMw.cjs} +4 -4
- package/dist/{vue-ui-bullet-B0jpb3iz.js → vue-ui-bullet-Cj4GC_-F.js} +145 -138
- package/dist/{vue-ui-candlestick-Cx6UAvss.js → vue-ui-candlestick-C2hAp3Fi.js} +115 -108
- package/dist/{vue-ui-candlestick-DEK3P-Tu.cjs → vue-ui-candlestick-n--kSbN7.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BPvJKE6W.cjs → vue-ui-carousel-table-CU96d16y.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Bk6LMH1D.js → vue-ui-carousel-table-Do1uzI_G.js} +130 -123
- package/dist/{vue-ui-chestnut-DKesYDji.cjs → vue-ui-chestnut-DJq8IWIL.cjs} +2 -2
- package/dist/{vue-ui-chestnut-BLYeNCKN.js → vue-ui-chestnut-fb3ioT4a.js} +131 -124
- package/dist/{vue-ui-circle-pack-DF8CPgPU.js → vue-ui-circle-pack-DByIHOMA.js} +165 -158
- package/dist/{vue-ui-circle-pack-D_2k6N20.cjs → vue-ui-circle-pack-DnwKX38S.cjs} +1 -1
- package/dist/{vue-ui-cursor-B29UJWQo.cjs → vue-ui-cursor-DSCiOK2l.cjs} +1 -1
- package/dist/{vue-ui-cursor-DySRIo_p.js → vue-ui-cursor-scYLETJY.js} +2 -2
- package/dist/{vue-ui-dashboard-5JkE1uRk.cjs → vue-ui-dashboard-BBDfkeCW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CHO6UMlJ.js → vue-ui-dashboard-DjxJGI1j.js} +2 -2
- package/dist/{vue-ui-digits-D5h4HAzq.js → vue-ui-digits-7bQAdMhs.js} +2 -2
- package/dist/{vue-ui-digits-DvANBwd7.cjs → vue-ui-digits-Cmn1NNzQ.cjs} +1 -1
- package/dist/{vue-ui-donut-DLaBSyI4.cjs → vue-ui-donut-C291KoIU.cjs} +1 -1
- package/dist/{vue-ui-donut-rVvCGOGk.js → vue-ui-donut-RJQUTfyW.js} +117 -110
- package/dist/{vue-ui-donut-evolution-DjGFFyxj.js → vue-ui-donut-evolution-DPW_ITH8.js} +164 -157
- package/dist/{vue-ui-donut-evolution-B06eelN-.cjs → vue-ui-donut-evolution-Dp15D88c.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B3AlzGCf.js → vue-ui-dumbbell-B8Zm8EVd.js} +74 -67
- package/dist/{vue-ui-dumbbell-9Oy-W4-B.cjs → vue-ui-dumbbell-BdEUvUV7.cjs} +2 -2
- package/dist/{vue-ui-flow-1eYWWjX-.js → vue-ui-flow-BNIgPNGy.js} +177 -170
- package/dist/{vue-ui-flow-BakKHKRq.cjs → vue-ui-flow-BukV6_Zl.cjs} +1 -1
- package/dist/{vue-ui-funnel-uSID1YS9.js → vue-ui-funnel-BrPqtGct.js} +128 -121
- package/dist/{vue-ui-funnel-IbAUMuoN.cjs → vue-ui-funnel-CIgZpg3T.cjs} +1 -1
- package/dist/{vue-ui-galaxy-3ksrzeio.js → vue-ui-galaxy-D1IYOUwX.js} +77 -70
- package/dist/{vue-ui-galaxy-BFGRkm7x.cjs → vue-ui-galaxy-FGqZ4tWB.cjs} +1 -1
- package/dist/{vue-ui-gauge-DgPnw4Q5.cjs → vue-ui-gauge-B00JvBFF.cjs} +1 -1
- package/dist/{vue-ui-gauge-DxUp_-uc.js → vue-ui-gauge-BsOXy5MV.js} +152 -145
- package/dist/{vue-ui-gizmo-Dw9HiCwa.js → vue-ui-gizmo-Cyl89etd.js} +3 -3
- package/dist/{vue-ui-gizmo-4T51Z8I8.cjs → vue-ui-gizmo-D_uv6qkV.cjs} +1 -1
- package/dist/vue-ui-heatmap-CGg2_xWH.cjs +1 -0
- package/dist/{vue-ui-heatmap-CwtUNQu0.js → vue-ui-heatmap-CgF4n8Bh.js} +139 -132
- package/dist/{vue-ui-history-plot-CC7sYtWu.cjs → vue-ui-history-plot-DR11Ips0.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BaV1bX_U.js → vue-ui-history-plot-Rdjb-yOk.js} +121 -114
- package/dist/{vue-ui-kpi-DiuK6mKA.js → vue-ui-kpi-COfnJm-X.js} +3 -3
- package/dist/{vue-ui-kpi-DxXlf8be.cjs → vue-ui-kpi-CbAgFb-9.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DQ_oXH1a.cjs → vue-ui-mini-loader-CizZv79e.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Kwzi6dLA.js → vue-ui-mini-loader-DNM7jU2W.js} +2 -2
- package/dist/{vue-ui-molecule-Bfhay2Cw.cjs → vue-ui-molecule-CiOIVjFk.cjs} +1 -1
- package/dist/{vue-ui-molecule-BMiNGYBh.js → vue-ui-molecule-Cv6jp9D_.js} +249 -242
- package/dist/{vue-ui-mood-radar-j2_LSQyN.js → vue-ui-mood-radar-B-VE2pVS.js} +111 -104
- package/dist/{vue-ui-mood-radar-C6CXwCzk.cjs → vue-ui-mood-radar-CoHouhrl.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CVsN5wLZ.js → vue-ui-nested-donuts-D-7tn_Qe.js} +116 -109
- package/dist/{vue-ui-nested-donuts-BEb5qHRa.cjs → vue-ui-nested-donuts-ITcu4gJW.cjs} +2 -2
- package/dist/{vue-ui-onion-DlqFOcMu.js → vue-ui-onion-B4SgCj8L.js} +143 -136
- package/dist/{vue-ui-onion-C-y9Jsfq.cjs → vue-ui-onion-fzXsWjjI.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-t2isL1XO.cjs → vue-ui-parallel-coordinate-plot-CTFOY5xi.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DxwECisr.js → vue-ui-parallel-coordinate-plot-CpQOyh-W.js} +112 -105
- package/dist/{vue-ui-quadrant-DMYZ6Rbh.cjs → vue-ui-quadrant-ByRNr-XD.cjs} +1 -1
- package/dist/{vue-ui-quadrant-rVy92h_8.js → vue-ui-quadrant-DhODDM5V.js} +111 -104
- package/dist/{vue-ui-quick-chart-CE-Qg_jo.cjs → vue-ui-quick-chart-BsQAMw9M.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-DkUCMlp7.js → vue-ui-quick-chart-DpeGH277.js} +194 -187
- package/dist/{vue-ui-radar-j-mDD4Dn.js → vue-ui-radar-CWkrni4Y.js} +100 -93
- package/dist/{vue-ui-radar-DkL4kk1W.cjs → vue-ui-radar-D-qttZKw.cjs} +1 -1
- package/dist/{vue-ui-rating-K_pyDN_G.cjs → vue-ui-rating-CY25IY75.cjs} +1 -1
- package/dist/{vue-ui-rating-CpvfKsg0.js → vue-ui-rating-DB4nQsuM.js} +2 -2
- package/dist/{vue-ui-relation-circle-O0d-4bj0.js → vue-ui-relation-circle-B_PxY9ZN.js} +102 -95
- package/dist/{vue-ui-relation-circle-ChFxKSb0.cjs → vue-ui-relation-circle-KDFaFqqu.cjs} +1 -1
- package/dist/{vue-ui-rings-Cv5WcU9y.cjs → vue-ui-rings-C1Upd5ja.cjs} +2 -2
- package/dist/{vue-ui-rings-DK-HgFva.js → vue-ui-rings-D5-sTr38.js} +168 -161
- package/dist/{vue-ui-scatter-BHCYJgHS.cjs → vue-ui-scatter-B-aqlIcn.cjs} +1 -1
- package/dist/{vue-ui-scatter-CTmhFDqS.js → vue-ui-scatter-C8cn3MR5.js} +85 -78
- package/dist/{vue-ui-screenshot-Ci56oD2d.cjs → vue-ui-screenshot-D9EV_KXZ.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Bpp3trys.js → vue-ui-screenshot-kQRZJHLO.js} +1 -1
- package/dist/{vue-ui-skeleton-BIYEApQO.js → vue-ui-skeleton-DIrE1OTF.js} +3 -3
- package/dist/{vue-ui-skeleton-CKwwTTRF.cjs → vue-ui-skeleton-DyJu1ibj.cjs} +1 -1
- package/dist/{vue-ui-smiley-BjcqO7zZ.cjs → vue-ui-smiley-B7dNRQyO.cjs} +1 -1
- package/dist/{vue-ui-smiley-B5ufG407.js → vue-ui-smiley-DVjsjIa4.js} +2 -2
- package/dist/{vue-ui-spark-trend-qz-BtG6X.cjs → vue-ui-spark-trend-DRtaXADG.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DnB59fUO.js → vue-ui-spark-trend-DsUy3aw-.js} +5 -5
- package/dist/{vue-ui-sparkbar-D_sMmqjC.js → vue-ui-sparkbar-Dm8xksUj.js} +4 -4
- package/dist/{vue-ui-sparkbar-DQ-IFuy6.cjs → vue-ui-sparkbar-x0F1llCZ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Ce5NGB8P.cjs → vue-ui-sparkgauge-B4DRMVOW.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-76-wdTdR.js → vue-ui-sparkgauge-_gF53YgV.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DviUQdRD.js → vue-ui-sparkhistogram-CD_0ihS9.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DcSCtmaT.cjs → vue-ui-sparkhistogram-CIMJUDlb.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C75odp3q.js → vue-ui-sparkline-Cs0h6tKI.js} +6 -6
- package/dist/{vue-ui-sparkline-_nWAin6t.cjs → vue-ui-sparkline-DzOL1IDW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-pRfBTPV0.cjs → vue-ui-sparkstackbar-BBz1lDg0.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-JgAJd1j5.js → vue-ui-sparkstackbar-Dhula5ka.js} +5 -5
- package/dist/{vue-ui-stackbar-DK4W1meR.cjs → vue-ui-stackbar-BuUtwfyC.cjs} +3 -3
- package/dist/{vue-ui-stackbar-Ctym-Udc.js → vue-ui-stackbar-DanAQnBd.js} +210 -203
- package/dist/{vue-ui-strip-plot-BU6tkAvd.cjs → vue-ui-strip-plot-95uUJ2fc.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BLmj_-sa.js → vue-ui-strip-plot-DIlGTBzG.js} +82 -75
- package/dist/{vue-ui-table-Cvt9DTpO.cjs → vue-ui-table-CDS7xlZS.cjs} +1 -1
- package/dist/{vue-ui-table-Bot5LadX.js → vue-ui-table-FKZF6cxI.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DE1swMTl.js → vue-ui-table-heatmap-BcGX_vpU.js} +63 -56
- package/dist/{vue-ui-table-heatmap-fALEi4E_.cjs → vue-ui-table-heatmap-qVmiG576.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CWGl8LJc.js → vue-ui-table-sparkline-CVY9EZ7Q.js} +90 -83
- package/dist/{vue-ui-table-sparkline-pQlBn8xE.cjs → vue-ui-table-sparkline-CnVFXbUB.cjs} +1 -1
- package/dist/{vue-ui-thermometer-N5j1BAqA.cjs → vue-ui-thermometer-BTer1qaq.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DDOVwF0r.js → vue-ui-thermometer-tcTgQiAu.js} +113 -106
- package/dist/{vue-ui-timer-CQ9pLz7T.cjs → vue-ui-timer-CmLGKRcK.cjs} +1 -1
- package/dist/{vue-ui-timer-1zEhowHL.js → vue-ui-timer-DO_VKZHm.js} +5 -5
- package/dist/{vue-ui-tiremarks-zlgbR7II.js → vue-ui-tiremarks-BKnAiR_H.js} +76 -69
- package/dist/{vue-ui-tiremarks-DOXxQKUB.cjs → vue-ui-tiremarks-BPxAgMQx.cjs} +1 -1
- package/dist/{vue-ui-treemap-ZJAvws86.cjs → vue-ui-treemap-BnKYnm8A.cjs} +1 -1
- package/dist/{vue-ui-treemap-C7oZrYCa.js → vue-ui-treemap-oE2QDc_9.js} +143 -136
- package/dist/{vue-ui-vertical-bar-rtqu_UjN.js → vue-ui-vertical-bar-BfFnXSO5.js} +119 -112
- package/dist/{vue-ui-vertical-bar-BFeF_dBM.cjs → vue-ui-vertical-bar-CHUZAnfv.cjs} +3 -3
- package/dist/{vue-ui-waffle-C0E54-ms.cjs → vue-ui-waffle-DxL_bhhX.cjs} +1 -1
- package/dist/{vue-ui-waffle-CgsNawVA.js → vue-ui-waffle-YwQAGMlZ.js} +77 -70
- package/dist/{vue-ui-wheel-StQOeYIO.cjs → vue-ui-wheel-CbEf5uhL.cjs} +1 -1
- package/dist/{vue-ui-wheel-Cm7g8eux.js → vue-ui-wheel-gZQIZUx1.js} +104 -97
- package/dist/{vue-ui-word-cloud-qNxRgN5J.js → vue-ui-word-cloud-CXpfOcDf.js} +122 -115
- package/dist/{vue-ui-word-cloud-Bc31_IfR.cjs → vue-ui-word-cloud-Ddmhs5i-.cjs} +1 -1
- package/dist/{vue-ui-xy-wbWmX1Zh.cjs → vue-ui-xy-BFdih9uG.cjs} +2 -2
- package/dist/{vue-ui-xy-BTjOTcAY.js → vue-ui-xy-BHGNHgRk.js} +72 -65
- package/dist/{vue-ui-xy-canvas-BpyntzCo.js → vue-ui-xy-canvas-BFZjHXBj.js} +200 -193
- package/dist/{vue-ui-xy-canvas-BljjkGUh.cjs → vue-ui-xy-canvas-hM1oa-dn.cjs} +2 -2
- package/package.json +1 -1
- package/dist/usePrinter-DB2FudbZ.cjs +0 -1
- package/dist/vue-ui-heatmap-Bz5l9BbM.cjs +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useCssVars as ke, computed as d, onMounted as be, ref as
|
|
2
|
-
import { u as $e, o as Pe, e as oe, g as Fe, c as
|
|
3
|
-
import { _ as Te } from "./Title-
|
|
4
|
-
import { u as qe, U as Le } from "./usePrinter-
|
|
5
|
-
import Ve from "./vue-ui-skeleton-
|
|
6
|
-
import { u as le } from "./useNestedProp-
|
|
7
|
-
import { _ as Ee } from "./PackageVersion-
|
|
8
|
-
import { P as Ge } from "./PenAndPaper-
|
|
1
|
+
import { useCssVars as ke, computed as d, onMounted as be, ref as m, watch as xe, createElementBlock as u, openBlock as l, unref as h, normalizeStyle as te, normalizeClass as F, createBlock as I, createCommentVNode as i, createSlots as _e, withCtx as x, renderSlot as f, normalizeProps as O, guardReactiveProps as A, createVNode as we, createElementVNode as v, Fragment as M, renderList as se, toDisplayString as Ce } from "vue";
|
|
2
|
+
import { u as $e, o as Pe, e as oe, g as Fe, c as Ie, t as Oe, p as _, a as Ae, b as Me, v as g, d as U, X as Ue, s as Ye, i as Ne, f as Se } from "./index-Cq7-va_5.js";
|
|
3
|
+
import { _ as Te } from "./Title-CUHNtIyE.js";
|
|
4
|
+
import { u as qe, U as Le } from "./usePrinter-jRjc8Naz.js";
|
|
5
|
+
import Ve from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
6
|
+
import { u as le } from "./useNestedProp-BEyJNlaO.js";
|
|
7
|
+
import { _ as Ee } from "./PackageVersion-CURzw4q1.js";
|
|
8
|
+
import { P as Ge } from "./PenAndPaper-CjiJra09.js";
|
|
9
9
|
import { u as We } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as je } from "./useChartAccessibility-BWojgys7.js";
|
|
11
11
|
import { _ as ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -27,7 +27,7 @@ const Be = ["id"], Re = {
|
|
|
27
27
|
key: 6,
|
|
28
28
|
ref: "source",
|
|
29
29
|
dir: "auto"
|
|
30
|
-
},
|
|
30
|
+
}, mt = {
|
|
31
31
|
__name: "vue-ui-thermometer",
|
|
32
32
|
props: {
|
|
33
33
|
dataset: {
|
|
@@ -43,13 +43,13 @@ const Be = ["id"], Re = {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
setup(
|
|
46
|
+
setup(w, { expose: ae }) {
|
|
47
47
|
ke((s) => ({
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
48
|
+
"81f57fe8": de.value,
|
|
49
|
+
"0e444a02": ce.value,
|
|
50
|
+
"6100776f": he.value
|
|
51
51
|
}));
|
|
52
|
-
const { vue_ui_thermometer: re } = $e(), a =
|
|
52
|
+
const { vue_ui_thermometer: re } = $e(), a = w, Y = d(() => !!a.dataset && Object.keys(a.dataset).length);
|
|
53
53
|
be(() => {
|
|
54
54
|
G();
|
|
55
55
|
});
|
|
@@ -68,10 +68,10 @@ const Be = ["id"], Re = {
|
|
|
68
68
|
});
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
const
|
|
71
|
+
const p = m(Ie()), W = m(null), j = m(0), z = m(0), e = d({
|
|
72
72
|
get: () => H(),
|
|
73
73
|
set: (s) => s
|
|
74
|
-
}), { userOptionsVisible:
|
|
74
|
+
}), { userOptionsVisible: N, setUserOptionsVisibility: B, keepUserOptionState: R } = We({ config: e.value }), { svgRef: D } = je({ config: e.value.style.title });
|
|
75
75
|
function H() {
|
|
76
76
|
const s = le({
|
|
77
77
|
userConfig: a.config,
|
|
@@ -82,28 +82,28 @@ const Be = ["id"], Re = {
|
|
|
82
82
|
userConfig: Ae.vue_ui_thermometer[s.theme] || a.config,
|
|
83
83
|
defaultConfig: s
|
|
84
84
|
}),
|
|
85
|
-
customPalette:
|
|
85
|
+
customPalette: Oe[s.theme] || _
|
|
86
86
|
} : s;
|
|
87
87
|
}
|
|
88
88
|
xe(() => a.config, (s) => {
|
|
89
|
-
e.value = H(),
|
|
89
|
+
e.value = H(), N.value = !e.value.userOptions.showOnChartHover, G(), z.value += 1;
|
|
90
90
|
}, { deep: !0 });
|
|
91
91
|
const { isPrinting: X, isImaging: J, generatePdf: K, generateImage: Q } = qe({
|
|
92
|
-
elementId: `thermometer__${
|
|
92
|
+
elementId: `thermometer__${p.value}`,
|
|
93
93
|
fileName: e.value.style.title.text || "vue-ui-thermometer"
|
|
94
|
-
}), ne = d(() => e.value.userOptions.show && !e.value.style.title.text),
|
|
94
|
+
}), ne = d(() => e.value.userOptions.show && !e.value.style.title.text), C = d(() => Me(e.value.customPalette)), ue = d(() => e.value.style.chart.thermometer.width), y = d(() => a.dataset.steps || 10), c = m({
|
|
95
95
|
top: e.value.style.chart.padding.top,
|
|
96
96
|
left: e.value.style.chart.padding.left,
|
|
97
97
|
right: e.value.style.chart.padding.right,
|
|
98
98
|
bottom: e.value.style.chart.padding.bottom
|
|
99
99
|
});
|
|
100
|
-
function
|
|
101
|
-
const
|
|
100
|
+
function $(s, r, t) {
|
|
101
|
+
const n = [], V = Z(s), E = Z(r);
|
|
102
102
|
for (let b = 0; b < t; b++) {
|
|
103
|
-
const fe =
|
|
104
|
-
|
|
103
|
+
const fe = S(V.red, E.red, b, t), ge = S(V.green, E.green, b, t), me = S(V.blue, E.blue, b, t), pe = `#${T(fe)}${T(ge)}${T(me)}`;
|
|
104
|
+
n.push(pe);
|
|
105
105
|
}
|
|
106
|
-
return
|
|
106
|
+
return n;
|
|
107
107
|
}
|
|
108
108
|
function Z(s) {
|
|
109
109
|
const r = s.slice(1);
|
|
@@ -113,10 +113,10 @@ const Be = ["id"], Re = {
|
|
|
113
113
|
blue: parseInt(r.slice(4, 6), 16)
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
return Math.round(s + (r - s) * t /
|
|
116
|
+
function S(s, r, t, n) {
|
|
117
|
+
return Math.round(s + (r - s) * t / n);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function T(s) {
|
|
120
120
|
return s.toString(16).padStart(2, "0");
|
|
121
121
|
}
|
|
122
122
|
const o = d(() => {
|
|
@@ -129,66 +129,66 @@ const Be = ["id"], Re = {
|
|
|
129
129
|
bottom: r - c.value.bottom,
|
|
130
130
|
height: r
|
|
131
131
|
};
|
|
132
|
-
}), ie = d(() => o.value),
|
|
133
|
-
const s =
|
|
132
|
+
}), ie = d(() => o.value), q = d(() => {
|
|
133
|
+
const s = g(a.dataset.from) < 0 ? Math.abs(g(a.dataset.from)) : g(a.dataset.from), r = g(a.dataset.to) < 0 ? Math.abs(g(a.dataset.to)) : g(a.dataset.to);
|
|
134
134
|
let t = 0;
|
|
135
|
-
return
|
|
136
|
-
}), he = d(() => `${
|
|
135
|
+
return g(a.dataset.to) > 0 ? t = s + r : s > r ? t = s - r : t = r - s, (1 - (Math.abs(g(a.dataset.from)) + g(a.dataset.value)) / t) * (o.value.height - c.value.top - c.value.bottom);
|
|
136
|
+
}), he = d(() => `${q.value}px`), ce = d(() => `${o.value.height - e.value.style.chart.padding.bottom - c.value.top}px`), de = d(() => `${e.value.style.chart.animation.speedMs}ms`), ve = d(() => {
|
|
137
137
|
if (a.dataset.colors) {
|
|
138
138
|
if (!a.dataset.colors.from)
|
|
139
|
-
return C
|
|
139
|
+
return $(C.value[0] || _[0], U(a.dataset.colors.to), y.value || 10);
|
|
140
140
|
if (!a.dataset.colors.to)
|
|
141
|
-
return
|
|
141
|
+
return $(U(a.dataset.colors.from), C.value[1] || _[1], y.value || 10);
|
|
142
142
|
} else
|
|
143
|
-
return C
|
|
144
|
-
return
|
|
143
|
+
return $(C.value[1] || _[1], C.value[0] || _[0], y.value || 10);
|
|
144
|
+
return $(U(a.dataset.colors.from), U(a.dataset.colors.to), y.value || 10);
|
|
145
145
|
}), ee = d(() => {
|
|
146
146
|
const s = [];
|
|
147
147
|
let r = 0;
|
|
148
148
|
const t = o.value.height - c.value.top - c.value.bottom;
|
|
149
|
-
for (let
|
|
149
|
+
for (let n = 0; n < t - 1; n += t / y.value)
|
|
150
150
|
s.push({
|
|
151
151
|
x: o.value.left,
|
|
152
|
-
y: o.value.top +
|
|
153
|
-
qYLess: o.value.top +
|
|
154
|
-
halfY: o.value.top +
|
|
155
|
-
qYMore: o.value.top +
|
|
152
|
+
y: o.value.top + n,
|
|
153
|
+
qYLess: o.value.top + n + t / y.value / 4,
|
|
154
|
+
halfY: o.value.top + n + t / y.value / 2,
|
|
155
|
+
qYMore: o.value.top + n + t / y.value / 4 * 3,
|
|
156
156
|
color: ve.value[r],
|
|
157
157
|
height: t / y.value
|
|
158
158
|
}), r += 1;
|
|
159
159
|
return s;
|
|
160
|
-
}), k =
|
|
160
|
+
}), k = m(!1);
|
|
161
161
|
function ye(s) {
|
|
162
162
|
k.value = s, j.value += 1;
|
|
163
163
|
}
|
|
164
|
-
const
|
|
165
|
-
function
|
|
166
|
-
|
|
164
|
+
const P = m(!1);
|
|
165
|
+
function L() {
|
|
166
|
+
P.value = !P.value;
|
|
167
167
|
}
|
|
168
168
|
return ae({
|
|
169
169
|
generatePdf: K,
|
|
170
170
|
generateImage: Q,
|
|
171
|
-
toggleAnnotator:
|
|
172
|
-
}), (s, r) => (l(),
|
|
171
|
+
toggleAnnotator: L
|
|
172
|
+
}), (s, r) => (l(), u("div", {
|
|
173
173
|
ref_key: "thermoChart",
|
|
174
174
|
ref: W,
|
|
175
|
-
class:
|
|
175
|
+
class: F(`vue-ui-thermometer ${k.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
176
176
|
style: te(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
|
|
177
|
-
id: `thermometer__${
|
|
177
|
+
id: `thermometer__${p.value}`,
|
|
178
178
|
onMouseenter: r[0] || (r[0] = () => h(B)(!0)),
|
|
179
179
|
onMouseleave: r[1] || (r[1] = () => h(B)(!1))
|
|
180
180
|
}, [
|
|
181
|
-
e.value.userOptions.buttons.annotator ? (l(),
|
|
181
|
+
e.value.userOptions.buttons.annotator ? (l(), I(Ge, {
|
|
182
182
|
key: 0,
|
|
183
183
|
svgRef: h(D),
|
|
184
184
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
185
185
|
color: e.value.style.chart.color,
|
|
186
|
-
active:
|
|
187
|
-
onClose:
|
|
186
|
+
active: P.value,
|
|
187
|
+
onClose: L
|
|
188
188
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : i("", !0),
|
|
189
|
-
ne.value ? (l(),
|
|
190
|
-
e.value.style.title.text ? (l(),
|
|
191
|
-
(l(),
|
|
189
|
+
ne.value ? (l(), u("div", Re, null, 512)) : i("", !0),
|
|
190
|
+
e.value.style.title.text ? (l(), u("div", De, [
|
|
191
|
+
(l(), I(Te, {
|
|
192
192
|
key: `title_${z.value}`,
|
|
193
193
|
config: {
|
|
194
194
|
title: {
|
|
@@ -202,14 +202,14 @@ const Be = ["id"], Re = {
|
|
|
202
202
|
}
|
|
203
203
|
}, null, 8, ["config"]))
|
|
204
204
|
])) : i("", !0),
|
|
205
|
-
e.value.userOptions.show &&
|
|
205
|
+
e.value.userOptions.show && Y.value && (h(R) || h(N)) ? (l(), I(Le, {
|
|
206
206
|
ref: "details",
|
|
207
207
|
key: `user_options_${j.value}`,
|
|
208
208
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
209
209
|
color: e.value.style.chart.color,
|
|
210
210
|
isImaging: h(J),
|
|
211
211
|
isPrinting: h(X),
|
|
212
|
-
uid:
|
|
212
|
+
uid: p.value,
|
|
213
213
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
214
214
|
hasImg: e.value.userOptions.buttons.img,
|
|
215
215
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
@@ -219,56 +219,63 @@ const Be = ["id"], Re = {
|
|
|
219
219
|
chartElement: W.value,
|
|
220
220
|
position: e.value.userOptions.position,
|
|
221
221
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
222
|
-
isAnnotation:
|
|
222
|
+
isAnnotation: P.value,
|
|
223
223
|
onToggleFullscreen: ye,
|
|
224
224
|
onGeneratePdf: h(K),
|
|
225
225
|
onGenerateImage: h(Q),
|
|
226
|
-
onToggleAnnotator:
|
|
226
|
+
onToggleAnnotator: L,
|
|
227
227
|
style: te({
|
|
228
|
-
visibility: h(R) ? h(
|
|
228
|
+
visibility: h(R) ? h(N) ? "visible" : "hidden" : "visible"
|
|
229
229
|
})
|
|
230
230
|
}, _e({ _: 2 }, [
|
|
231
|
+
s.$slots.menuIcon ? {
|
|
232
|
+
name: "menuIcon",
|
|
233
|
+
fn: x(({ isOpen: t, color: n }) => [
|
|
234
|
+
f(s.$slots, "menuIcon", O(A({ isOpen: t, color: n })), void 0, !0)
|
|
235
|
+
]),
|
|
236
|
+
key: "0"
|
|
237
|
+
} : void 0,
|
|
231
238
|
s.$slots.optionPdf ? {
|
|
232
239
|
name: "optionPdf",
|
|
233
|
-
fn:
|
|
234
|
-
|
|
240
|
+
fn: x(() => [
|
|
241
|
+
f(s.$slots, "optionPdf", {}, void 0, !0)
|
|
235
242
|
]),
|
|
236
|
-
key: "
|
|
243
|
+
key: "1"
|
|
237
244
|
} : void 0,
|
|
238
245
|
s.$slots.optionImg ? {
|
|
239
246
|
name: "optionImg",
|
|
240
|
-
fn:
|
|
241
|
-
|
|
247
|
+
fn: x(() => [
|
|
248
|
+
f(s.$slots, "optionImg", {}, void 0, !0)
|
|
242
249
|
]),
|
|
243
|
-
key: "
|
|
250
|
+
key: "2"
|
|
244
251
|
} : void 0,
|
|
245
252
|
s.$slots.optionFullscreen ? {
|
|
246
253
|
name: "optionFullscreen",
|
|
247
|
-
fn:
|
|
248
|
-
|
|
254
|
+
fn: x(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
255
|
+
f(s.$slots, "optionFullscreen", O(A({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
|
|
249
256
|
]),
|
|
250
|
-
key: "
|
|
257
|
+
key: "3"
|
|
251
258
|
} : void 0,
|
|
252
259
|
s.$slots.optionAnnotator ? {
|
|
253
260
|
name: "optionAnnotator",
|
|
254
|
-
fn:
|
|
255
|
-
|
|
261
|
+
fn: x(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
262
|
+
f(s.$slots, "optionAnnotator", O(A({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
|
|
256
263
|
]),
|
|
257
|
-
key: "
|
|
264
|
+
key: "4"
|
|
258
265
|
} : void 0
|
|
259
266
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
260
|
-
|
|
267
|
+
Y.value ? (l(), u("svg", {
|
|
261
268
|
key: 4,
|
|
262
269
|
ref_key: "svgRef",
|
|
263
270
|
ref: D,
|
|
264
271
|
xmlns: h(Ue),
|
|
265
|
-
class:
|
|
272
|
+
class: F({ "vue-data-ui-fullscreen--on": k.value, "vue-data-ui-fulscreen--off": !k.value }),
|
|
266
273
|
width: "100%",
|
|
267
274
|
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
268
275
|
style: "background:transparent"
|
|
269
276
|
}, [
|
|
270
277
|
we(Ee),
|
|
271
|
-
s.$slots["chart-background"] ? (l(),
|
|
278
|
+
s.$slots["chart-background"] ? (l(), u("foreignObject", {
|
|
272
279
|
key: 0,
|
|
273
280
|
x: 0,
|
|
274
281
|
y: 0,
|
|
@@ -278,7 +285,7 @@ const Be = ["id"], Re = {
|
|
|
278
285
|
pointerEvents: "none"
|
|
279
286
|
}
|
|
280
287
|
}, [
|
|
281
|
-
|
|
288
|
+
f(s.$slots, "chart-background", {}, void 0, !0)
|
|
282
289
|
], 8, Xe)) : i("", !0),
|
|
283
290
|
v("defs", null, [
|
|
284
291
|
v("clipPath", Je, [
|
|
@@ -292,8 +299,8 @@ const Be = ["id"], Re = {
|
|
|
292
299
|
fill: e.value.style.chart.backgroundColor
|
|
293
300
|
}, null, 8, Ke)
|
|
294
301
|
]),
|
|
295
|
-
(l(!0),
|
|
296
|
-
id: `vueUiThermometerGradient_${
|
|
302
|
+
(l(!0), u(M, null, se(ee.value, (t, n) => (l(), u("linearGradient", {
|
|
303
|
+
id: `vueUiThermometerGradient_${n}_${p.value}`,
|
|
297
304
|
x1: "0%",
|
|
298
305
|
y1: "0%",
|
|
299
306
|
x2: "100%",
|
|
@@ -321,18 +328,18 @@ const Be = ["id"], Re = {
|
|
|
321
328
|
width: o.value.width - c.value.left - c.value.right,
|
|
322
329
|
fill: "#FFFFFF"
|
|
323
330
|
}, null, 8, ot),
|
|
324
|
-
(l(!0),
|
|
325
|
-
key: `graduation_${
|
|
331
|
+
(l(!0), u(M, null, se(ee.value, (t, n) => (l(), u("g", {
|
|
332
|
+
key: `graduation_${n}`
|
|
326
333
|
}, [
|
|
327
334
|
v("rect", {
|
|
328
335
|
x: t.x,
|
|
329
336
|
y: t.y,
|
|
330
337
|
height: t.height,
|
|
331
338
|
width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
|
|
332
|
-
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${
|
|
339
|
+
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${n}_${p.value})` : t.color,
|
|
333
340
|
"shape-rendering": "crispEdges"
|
|
334
341
|
}, null, 8, lt),
|
|
335
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
342
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
336
343
|
key: 0,
|
|
337
344
|
x1: t.x,
|
|
338
345
|
x2: t.x + 10,
|
|
@@ -342,8 +349,8 @@ const Be = ["id"], Re = {
|
|
|
342
349
|
stroke: e.value.style.chart.graduations.stroke,
|
|
343
350
|
"stroke-linecap": "round"
|
|
344
351
|
}, null, 8, at)) : i("", !0),
|
|
345
|
-
e.value.style.chart.graduations.showIntermediate ? (l(),
|
|
346
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
352
|
+
e.value.style.chart.graduations.showIntermediate ? (l(), u(M, { key: 1 }, [
|
|
353
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
347
354
|
key: 0,
|
|
348
355
|
x1: t.x,
|
|
349
356
|
x2: t.x + 5,
|
|
@@ -353,7 +360,7 @@ const Be = ["id"], Re = {
|
|
|
353
360
|
stroke: e.value.style.chart.graduations.stroke,
|
|
354
361
|
"stroke-linecap": "round"
|
|
355
362
|
}, null, 8, rt)) : i("", !0),
|
|
356
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
363
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
357
364
|
key: 1,
|
|
358
365
|
x1: t.x,
|
|
359
366
|
x2: t.x + 2.5,
|
|
@@ -363,7 +370,7 @@ const Be = ["id"], Re = {
|
|
|
363
370
|
stroke: e.value.style.chart.graduations.stroke,
|
|
364
371
|
"stroke-linecap": "round"
|
|
365
372
|
}, null, 8, nt)) : i("", !0),
|
|
366
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
373
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
367
374
|
key: 2,
|
|
368
375
|
x1: t.x,
|
|
369
376
|
x2: t.x + 2.5,
|
|
@@ -374,7 +381,7 @@ const Be = ["id"], Re = {
|
|
|
374
381
|
"stroke-linecap": "round"
|
|
375
382
|
}, null, 8, ut)) : i("", !0)
|
|
376
383
|
], 64)) : i("", !0),
|
|
377
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
384
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
378
385
|
key: 2,
|
|
379
386
|
x1: o.value.right,
|
|
380
387
|
x2: o.value.right - 10,
|
|
@@ -384,8 +391,8 @@ const Be = ["id"], Re = {
|
|
|
384
391
|
stroke: e.value.style.chart.graduations.stroke,
|
|
385
392
|
"stroke-linecap": "round"
|
|
386
393
|
}, null, 8, it)) : i("", !0),
|
|
387
|
-
e.value.style.chart.graduations.showIntermediate ? (l(),
|
|
388
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
394
|
+
e.value.style.chart.graduations.showIntermediate ? (l(), u(M, { key: 3 }, [
|
|
395
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
389
396
|
key: 0,
|
|
390
397
|
x1: o.value.right,
|
|
391
398
|
x2: o.value.right - 5,
|
|
@@ -395,7 +402,7 @@ const Be = ["id"], Re = {
|
|
|
395
402
|
stroke: e.value.style.chart.graduations.stroke,
|
|
396
403
|
"stroke-linecap": "round"
|
|
397
404
|
}, null, 8, ht)) : i("", !0),
|
|
398
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
405
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
399
406
|
key: 1,
|
|
400
407
|
x1: o.value.right,
|
|
401
408
|
x2: o.value.right - 2.5,
|
|
@@ -405,7 +412,7 @@ const Be = ["id"], Re = {
|
|
|
405
412
|
stroke: e.value.style.chart.graduations.stroke,
|
|
406
413
|
"stroke-linecap": "round"
|
|
407
414
|
}, null, 8, ct)) : i("", !0),
|
|
408
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
415
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
409
416
|
key: 2,
|
|
410
417
|
x1: o.value.right,
|
|
411
418
|
x2: o.value.right - 2.5,
|
|
@@ -418,17 +425,17 @@ const Be = ["id"], Re = {
|
|
|
418
425
|
], 64)) : i("", !0)
|
|
419
426
|
]))), 128)),
|
|
420
427
|
v("rect", {
|
|
421
|
-
class:
|
|
428
|
+
class: F({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
|
|
422
429
|
x: o.value.left,
|
|
423
430
|
y: o.value.top,
|
|
424
|
-
height:
|
|
431
|
+
height: q.value,
|
|
425
432
|
width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
|
|
426
433
|
fill: "#FFFFFF66"
|
|
427
434
|
}, null, 10, vt)
|
|
428
435
|
]),
|
|
429
436
|
v("text", {
|
|
430
|
-
class:
|
|
431
|
-
y:
|
|
437
|
+
class: F({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use }),
|
|
438
|
+
y: q.value + o.value.top + e.value.style.chart.label.fontSize / 3,
|
|
432
439
|
x: o.value.left - 10,
|
|
433
440
|
"text-anchor": "end",
|
|
434
441
|
fill: e.value.style.chart.label.color,
|
|
@@ -436,24 +443,24 @@ const Be = ["id"], Re = {
|
|
|
436
443
|
"font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
|
|
437
444
|
}, Ce(h(Ne)(
|
|
438
445
|
e.value.style.chart.label.formatter,
|
|
439
|
-
|
|
446
|
+
w.dataset.value,
|
|
440
447
|
h(Se)({
|
|
441
448
|
p: e.value.style.chart.label.prefix,
|
|
442
|
-
v:
|
|
449
|
+
v: w.dataset.value,
|
|
443
450
|
s: e.value.style.chart.label.suffix,
|
|
444
451
|
r: e.value.style.chart.label.rounding
|
|
445
452
|
}),
|
|
446
|
-
{ datapoint:
|
|
453
|
+
{ datapoint: w.dataset }
|
|
447
454
|
)), 11, yt),
|
|
448
|
-
|
|
455
|
+
f(s.$slots, "svg", { svg: ie.value }, void 0, !0)
|
|
449
456
|
], 10, He)) : i("", !0),
|
|
450
|
-
s.$slots.watermark ? (l(),
|
|
451
|
-
|
|
457
|
+
s.$slots.watermark ? (l(), u("div", ft, [
|
|
458
|
+
f(s.$slots, "watermark", O(A({ isPrinting: h(X) || h(J) })), void 0, !0)
|
|
452
459
|
])) : i("", !0),
|
|
453
|
-
s.$slots.source ? (l(),
|
|
454
|
-
|
|
460
|
+
s.$slots.source ? (l(), u("div", gt, [
|
|
461
|
+
f(s.$slots, "source", {}, void 0, !0)
|
|
455
462
|
], 512)) : i("", !0),
|
|
456
|
-
|
|
463
|
+
Y.value ? i("", !0) : (l(), I(Ve, {
|
|
457
464
|
key: 7,
|
|
458
465
|
config: {
|
|
459
466
|
type: "thermometer",
|
|
@@ -467,7 +474,7 @@ const Be = ["id"], Re = {
|
|
|
467
474
|
}, null, 8, ["config"]))
|
|
468
475
|
], 46, Be));
|
|
469
476
|
}
|
|
470
|
-
},
|
|
477
|
+
}, Ot = /* @__PURE__ */ ze(mt, [["__scopeId", "data-v-b9d565e0"]]);
|
|
471
478
|
export {
|
|
472
|
-
|
|
479
|
+
Ot as default
|
|
473
480
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),j=require("./useNestedProp-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),j=require("./useNestedProp-CnH-XcZU.cjs"),w=require("./index-CmhvuQro.cjs"),D=require("./useResponsive-YQYQrAZ_.cjs"),B=require("./BaseIcon-DMhDupLt.cjs"),O=require("./Title-m1x23s4w.cjs"),U=require("./PackageVersion-Vv7wNIAl.cjs"),W=require("./useChartAccessibility-Cm7nkzTG.cjs"),G=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");class X{constructor(T,V,S,M=!0,h=!0){this.interval=V,this.elapsed=0,this.isPaused=!1;const g=`
|
|
2
2
|
let interval;
|
|
3
3
|
let elapsed = 0;
|
|
4
4
|
let paused = false;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as i, onMounted as Z, computed as z, onBeforeUnmount as ee, watch as te, createElementBlock as o, openBlock as l, normalizeStyle as p, createCommentVNode as d, createElementVNode as _, createBlock as ae, unref as se, createVNode as C, renderSlot as H, mergeProps as q, normalizeProps as W, guardReactiveProps as G, toDisplayString as le } from "vue";
|
|
2
|
-
import { u as oe } from "./useNestedProp-
|
|
3
|
-
import { u as re, c as ue, X as ie, F as V } from "./index-
|
|
2
|
+
import { u as oe } from "./useNestedProp-BEyJNlaO.js";
|
|
3
|
+
import { u as re, c as ue, X as ie, F as V } from "./index-Cq7-va_5.js";
|
|
4
4
|
import { t as ne, u as ce } from "./useResponsive-BWapHhVH.js";
|
|
5
|
-
import R from "./BaseIcon-
|
|
6
|
-
import { _ as de } from "./Title-
|
|
7
|
-
import { _ as he } from "./PackageVersion-
|
|
5
|
+
import R from "./BaseIcon-CR8s5lLC.js";
|
|
6
|
+
import { _ as de } from "./Title-CUHNtIyE.js";
|
|
7
|
+
import { _ as he } from "./PackageVersion-CURzw4q1.js";
|
|
8
8
|
import { u as ve } from "./useChartAccessibility-BWojgys7.js";
|
|
9
9
|
import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
class fe {
|