vue-data-ui 2.4.3 → 2.4.5
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-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
- package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
- package/dist/PenAndPaper-C-KjtyNA.js +308 -0
- package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
- package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
- package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.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-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.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-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
- package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
- package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
- package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
- package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
- package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
- package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
- package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
- package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
- package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
- package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
- package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
- package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
- package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
- package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
- package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
- package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
- package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
- package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
- package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
- package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
- package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
- package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
- package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
- package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
- package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
- package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
- package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
- package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
- package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
- package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
- package/package.json +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
- package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
- 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-C1GB0E49.js";
|
|
3
|
+
import { _ as Ne } from "./Title-W7iJGPjg.js";
|
|
4
|
+
import { u as Me, U as Te } from "./usePrinter-y5uHyknw.js";
|
|
5
|
+
import Se from "./vue-ui-skeleton-CE6ibl1T.js";
|
|
6
|
+
import { u as Z } from "./useNestedProp-CNAPgW6E.js";
|
|
7
|
+
import { _ as Ue } from "./PackageVersion-D9rYHrFZ.js";
|
|
8
|
+
import { P as qe } from "./PenAndPaper-C-KjtyNA.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
|
};
|
|
@@ -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-DOr0hj4s.cjs"),g=require("./index-C9HllqQA.cjs"),$=require("./useResponsive-BJ7DTGpm.cjs"),B=require("./BaseIcon-BQM6PtJu.cjs"),j=require("./Title-Dn00hErp.cjs"),q=require("./PackageVersion-DdLmDkTt.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;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as n, onMounted as Q, onBeforeUnmount as Y, computed as z, watch as Z, openBlock as l, createElementBlock as r, normalizeStyle as f, createBlock as ee, createCommentVNode as v, unref as te, createVNode as M, createElementVNode as C, mergeProps as V, renderSlot as E, normalizeProps as O, guardReactiveProps as U, toDisplayString as ae } from "vue";
|
|
2
|
-
import { u as se } from "./useNestedProp-
|
|
3
|
-
import { u as le, c as oe, X as re, E as W } from "./index-
|
|
4
|
-
import { t as ue, u as ie } from "./useResponsive-
|
|
5
|
-
import P from "./BaseIcon-
|
|
6
|
-
import { _ as ne } from "./Title-
|
|
7
|
-
import { _ as ce } from "./PackageVersion-
|
|
2
|
+
import { u as se } from "./useNestedProp-CNAPgW6E.js";
|
|
3
|
+
import { u as le, c as oe, X as re, E as W } from "./index-C1GB0E49.js";
|
|
4
|
+
import { t as ue, u as ie } from "./useResponsive-CoxXLe23.js";
|
|
5
|
+
import P from "./BaseIcon-D9DRVW03.js";
|
|
6
|
+
import { _ as ne } from "./Title-W7iJGPjg.js";
|
|
7
|
+
import { _ as ce } from "./PackageVersion-D9rYHrFZ.js";
|
|
8
8
|
import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
class he {
|
|
10
10
|
constructor(A, k, T, H = !0, x = !0) {
|