vue-data-ui 2.4.50 → 2.4.52
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 +12 -0
- package/dist/{Arrow-D1z9KkQN.js → Arrow-BuBoE64l.js} +1 -1
- package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-CFlFdPC5.cjs} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-zmxwsaLW.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-COkA4Nyz.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-CwAdpLng.cjs} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-CR9ydX8N.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-bYlSC7I7.js} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-Dz3KcTL4.js} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-BycdTwSP.js} +3 -3
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-BBp5EwJH.cjs} +1 -1
- package/dist/{Shape-B7Mekpyf.js → Shape-BDJJ38uM.js} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-D_DaIThC.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-B7ruS8yl.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aMb2ETf7.js} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-BRZ3DT4p.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-BqSN71SL.cjs} +1 -1
- package/dist/index-BkXYJDpD.cjs +9 -0
- package/dist/{index-BtL_cLa8.js → index-K5uyh1gA.js} +5 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
- package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-DifqJZAs.js} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-DHv-BwME.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.js → usePrinter-p_ZZlGc9.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-3PlAeIlX.js} +60 -60
- package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-M0E2b8Dw.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-BeXYzdzu.js → vue-ui-3d-bar-PrijRaoI.js} +355 -349
- package/dist/vue-ui-3d-bar-VQyMytda.cjs +19 -0
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-DFYykOow.js} +260 -254
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
- package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-Ybz4qPWl.js} +147 -141
- package/dist/vue-ui-candlestick-BxcwK8UI.cjs +2 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-DsVBdCz_.js} +231 -225
- package/dist/vue-ui-carousel-table-C2ThrWYt.js +379 -0
- package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
- package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-BacH0ZYK.js} +258 -252
- package/dist/vue-ui-chestnut-Cw8LKuZG.cjs +6 -0
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-CyTjq_oN.js} +2 -2
- package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-BxLlCBhU.js} +402 -396
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +320 -314
- package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
- package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-D0PjpD19.js} +267 -261
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-BuTJcn6b.js} +174 -168
- package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-CxO1aav3.js} +190 -184
- package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
- package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-B2uwYVgz.js} +199 -193
- package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
- package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
- package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-CqhJx__t.js} +213 -207
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
- package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-DLNzJh--.js} +291 -285
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-CH2mN74k.js} +258 -252
- package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-BAwzIU19.js} +300 -295
- package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
- package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-BXOWHB57.js} +202 -196
- package/dist/vue-ui-nested-donuts-D1EF5IEw.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-F1pwFa1Y.js} +298 -292
- package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-C9dEaRbc.js} +214 -208
- package/dist/vue-ui-onion-nA8sXxh-.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +260 -254
- package/dist/vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs +8 -0
- package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-C_hJHr9T.js} +278 -272
- package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
- package/dist/vue-ui-quick-chart-C5v_8Kpw.cjs +15 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-D4k-zSan.js} +474 -466
- package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-WKQ-TavD.js} +265 -259
- package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-BrSnMkzF.js} +2 -2
- package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
- package/dist/vue-ui-relation-circle-DzZ5H4og.js +498 -0
- package/dist/vue-ui-rings-1qwg2E0O.cjs +2 -0
- package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-43dY-4_7.js} +206 -201
- package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-q6Sfqa4W.js} +330 -324
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BeXW23yH.js} +382 -376
- package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
- package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-CG-wp65N.js} +261 -255
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-BzuWkWse.js} +1 -1
- package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
- package/dist/vue-ui-table-heatmap-obAYC2HB.js +262 -0
- package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-CW0-ubzl.js} +288 -236
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-BmgPuIr6.js} +187 -181
- package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
- package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-6eWSNYld.js} +5 -5
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
- package/dist/vue-ui-tiremarks-DeEI5TAa.js +323 -0
- package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
- package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
- package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-tlPZye6M.js} +261 -255
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-BIst1a32.js} +251 -245
- package/dist/vue-ui-vertical-bar-CCXF79YU.cjs +4 -0
- package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-iJT4g4Ht.js} +333 -327
- package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
- package/dist/vue-ui-wheel-v1_jsNWp.js +305 -0
- package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
- package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-DR8E1ArH.js} +247 -241
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-BZ3lbw6i.js} +708 -697
- package/dist/vue-ui-xy-CvFWhRR-.cjs +3 -0
- package/dist/vue-ui-xy-canvas-BVw3zOIC.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-hPcU2SBK.js} +344 -338
- package/package.json +1 -1
- package/dist/index-DoD-GxZR.cjs +0 -9
- package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
- package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
- package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
- package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
- package/dist/vue-ui-carousel-table-I1m4HMWf.js +0 -373
- package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
- package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
- package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
- package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
- package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
- package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
- package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
- package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
- package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
- package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
- package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
- package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
- package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
- package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
- package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
- package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
- package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
- package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
- package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
- package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
- package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
- package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
- package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
- package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
- package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
- package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
- package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
- package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
- package/dist/vue-ui-wheel-D3itrMku.js +0 -299
- package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
- package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
- package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import
|
|
6
|
-
import { u as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { P as
|
|
9
|
-
import {
|
|
10
|
-
|
|
1
|
+
import { useCssVars as me, computed as d, onMounted as ke, ref as g, watch as be, openBlock as l, createElementBlock as n, normalizeClass as P, normalizeStyle as ee, unref as c, createBlock as F, createCommentVNode as i, createSlots as xe, withCtx as I, renderSlot as p, normalizeProps as G, guardReactiveProps as W, createVNode as _e, createElementVNode as v, Fragment as O, renderList as te, toDisplayString as we } from "vue";
|
|
2
|
+
import { u as Ce, o as $e, e as se, g as Pe, c as Fe, t as Ie, a as Oe, p as x, b as Ae, v as f, d as A, X as Me, s as Ue, i as Ye, f as Ne } from "./index-K5uyh1gA.js";
|
|
3
|
+
import { _ as Se } from "./Title-aMb2ETf7.js";
|
|
4
|
+
import { u as Te, U as qe } from "./usePrinter-p_ZZlGc9.js";
|
|
5
|
+
import Le from "./vue-ui-skeleton-BhA2lIT6.js";
|
|
6
|
+
import { u as oe } from "./useNestedProp-DifqJZAs.js";
|
|
7
|
+
import { _ as Ve } from "./PackageVersion-Dz3KcTL4.js";
|
|
8
|
+
import { P as Ge } from "./PenAndPaper-BycdTwSP.js";
|
|
9
|
+
import { u as We } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const ze = ["id"], Be = {
|
|
11
12
|
key: 1,
|
|
12
13
|
ref: "noTitle",
|
|
13
14
|
class: "vue-data-ui-no-title-space",
|
|
14
15
|
style: "height:36px; width: 100%;background:transparent"
|
|
15
|
-
},
|
|
16
|
+
}, je = {
|
|
16
17
|
key: 2,
|
|
17
18
|
style: "width:100%"
|
|
18
|
-
},
|
|
19
|
+
}, De = ["xmlns", "viewBox"], He = {
|
|
19
20
|
id: "vueUiPill",
|
|
20
21
|
clipPathUnits: "objectBoundingBox"
|
|
21
|
-
},
|
|
22
|
+
}, Xe = ["fill"], Re = ["id"], Je = ["stop-color"], Ke = ["stop-color"], Qe = ["stop-color"], Ze = { "clip-path": "url(#vueUiPill)" }, et = ["x", "y", "height", "width"], tt = ["x", "y", "height", "width", "fill"], 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 = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ut = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], nt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ct = ["x", "y", "height", "width"], ht = ["y", "x", "fill", "font-size", "font-weight"], dt = {
|
|
22
23
|
key: 5,
|
|
23
24
|
class: "vue-data-ui-watermark"
|
|
24
|
-
},
|
|
25
|
+
}, vt = {
|
|
25
26
|
key: 6,
|
|
26
27
|
ref: "source",
|
|
27
28
|
dir: "auto"
|
|
28
|
-
},
|
|
29
|
+
}, yt = {
|
|
29
30
|
__name: "vue-ui-thermometer",
|
|
30
31
|
props: {
|
|
31
32
|
dataset: {
|
|
@@ -41,152 +42,154 @@ const Ge = ["id"], Ve = {
|
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
},
|
|
44
|
-
setup(
|
|
45
|
-
const a =
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
setup(_, { expose: ae }) {
|
|
46
|
+
const a = _;
|
|
47
|
+
me((s) => ({
|
|
48
|
+
"47ac6abe": he.value,
|
|
49
|
+
cafb14e0: ce.value,
|
|
50
|
+
"02502e7d": ie.value
|
|
50
51
|
}));
|
|
51
|
-
const { vue_ui_thermometer:
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
const { vue_ui_thermometer: le } = Ce(), M = d(() => !!a.dataset && Object.keys(a.dataset).length);
|
|
53
|
+
ke(() => {
|
|
54
|
+
E();
|
|
54
55
|
});
|
|
55
|
-
function
|
|
56
|
-
|
|
56
|
+
function E() {
|
|
57
|
+
$e(a.dataset) ? se({
|
|
57
58
|
componentName: "VueUiThermometer",
|
|
58
59
|
type: "dataset"
|
|
59
|
-
}) :
|
|
60
|
+
}) : Pe({
|
|
60
61
|
datasetObject: a.dataset,
|
|
61
62
|
requiredAttributes: ["value", "from", "to"]
|
|
62
63
|
}).forEach((s) => {
|
|
63
|
-
|
|
64
|
+
se({
|
|
64
65
|
componentName: "VueUiThermometer",
|
|
65
66
|
type: "datasetAttribute",
|
|
66
67
|
property: s
|
|
67
68
|
});
|
|
68
69
|
});
|
|
69
70
|
}
|
|
70
|
-
const
|
|
71
|
-
get: () =>
|
|
71
|
+
const m = g(Fe()), U = g(null), z = g(0), B = g(0), e = d({
|
|
72
|
+
get: () => H(),
|
|
72
73
|
set: (s) => s
|
|
73
|
-
});
|
|
74
|
-
function
|
|
75
|
-
const s =
|
|
74
|
+
}), { userOptionsVisible: Y, setUserOptionsVisibility: j, keepUserOptionState: D } = We({ config: e.value });
|
|
75
|
+
function H() {
|
|
76
|
+
const s = oe({
|
|
76
77
|
userConfig: a.config,
|
|
77
|
-
defaultConfig:
|
|
78
|
+
defaultConfig: le
|
|
78
79
|
});
|
|
79
80
|
return s.theme ? {
|
|
80
|
-
...
|
|
81
|
-
userConfig:
|
|
81
|
+
...oe({
|
|
82
|
+
userConfig: Ie.vue_ui_thermometer[s.theme] || a.config,
|
|
82
83
|
defaultConfig: s
|
|
83
84
|
}),
|
|
84
|
-
customPalette:
|
|
85
|
+
customPalette: Oe[s.theme] || x
|
|
85
86
|
} : s;
|
|
86
87
|
}
|
|
87
|
-
|
|
88
|
-
e.value =
|
|
88
|
+
be(() => a.config, (s) => {
|
|
89
|
+
e.value = H(), Y.value = !e.value.showOnChartHover, E(), B.value += 1;
|
|
89
90
|
}, { deep: !0 });
|
|
90
|
-
const { isPrinting:
|
|
91
|
-
elementId: `thermometer__${
|
|
91
|
+
const { isPrinting: X, isImaging: R, generatePdf: J, generateImage: K } = Te({
|
|
92
|
+
elementId: `thermometer__${m.value}`,
|
|
92
93
|
fileName: e.value.style.title.text || "vue-ui-thermometer"
|
|
93
|
-
}),
|
|
94
|
+
}), re = d(() => e.value.userOptions.show && !e.value.style.title.text), w = d(() => Ae(e.value.customPalette)), ue = d(() => e.value.style.chart.thermometer.width), y = d(() => a.dataset.steps || 10), h = g({
|
|
94
95
|
top: e.value.style.chart.padding.top,
|
|
95
96
|
left: e.value.style.chart.padding.left,
|
|
96
97
|
right: e.value.style.chart.padding.right,
|
|
97
98
|
bottom: e.value.style.chart.padding.bottom
|
|
98
99
|
});
|
|
99
|
-
function C(s,
|
|
100
|
-
const
|
|
100
|
+
function C(s, r, t) {
|
|
101
|
+
const u = [], L = Q(s), V = Q(r);
|
|
101
102
|
for (let b = 0; b < t; b++) {
|
|
102
|
-
const
|
|
103
|
-
|
|
103
|
+
const ye = N(L.red, V.red, b, t), fe = N(L.green, V.green, b, t), ge = N(L.blue, V.blue, b, t), pe = `#${S(ye)}${S(fe)}${S(ge)}`;
|
|
104
|
+
u.push(pe);
|
|
104
105
|
}
|
|
105
|
-
return
|
|
106
|
+
return u;
|
|
106
107
|
}
|
|
107
|
-
function
|
|
108
|
-
const
|
|
108
|
+
function Q(s) {
|
|
109
|
+
const r = s.slice(1);
|
|
109
110
|
return {
|
|
110
|
-
red: parseInt(
|
|
111
|
-
green: parseInt(
|
|
112
|
-
blue: parseInt(
|
|
111
|
+
red: parseInt(r.slice(0, 2), 16),
|
|
112
|
+
green: parseInt(r.slice(2, 4), 16),
|
|
113
|
+
blue: parseInt(r.slice(4, 6), 16)
|
|
113
114
|
};
|
|
114
115
|
}
|
|
115
|
-
function
|
|
116
|
-
return Math.round(s + (
|
|
116
|
+
function N(s, r, t, u) {
|
|
117
|
+
return Math.round(s + (r - s) * t / u);
|
|
117
118
|
}
|
|
118
|
-
function
|
|
119
|
+
function S(s) {
|
|
119
120
|
return s.toString(16).padStart(2, "0");
|
|
120
121
|
}
|
|
121
|
-
const o =
|
|
122
|
-
const s =
|
|
122
|
+
const o = d(() => {
|
|
123
|
+
const s = ue.value + h.value.left + h.value.right, r = e.value.style.chart.height;
|
|
123
124
|
return {
|
|
124
125
|
width: s,
|
|
125
|
-
left:
|
|
126
|
-
right: s -
|
|
127
|
-
top:
|
|
128
|
-
bottom:
|
|
129
|
-
height:
|
|
126
|
+
left: h.value.left,
|
|
127
|
+
right: s - h.value.right,
|
|
128
|
+
top: h.value.top,
|
|
129
|
+
bottom: r - h.value.bottom,
|
|
130
|
+
height: r
|
|
130
131
|
};
|
|
131
|
-
}),
|
|
132
|
-
const s = f(a.dataset.from) < 0 ? Math.abs(f(a.dataset.from)) : f(a.dataset.from),
|
|
132
|
+
}), ne = d(() => o.value), T = d(() => {
|
|
133
|
+
const s = f(a.dataset.from) < 0 ? Math.abs(f(a.dataset.from)) : f(a.dataset.from), r = f(a.dataset.to) < 0 ? Math.abs(f(a.dataset.to)) : f(a.dataset.to);
|
|
133
134
|
let t = 0;
|
|
134
|
-
return f(a.dataset.to) > 0 ? t = s +
|
|
135
|
-
}),
|
|
135
|
+
return f(a.dataset.to) > 0 ? t = s + r : s > r ? t = s - r : t = r - s, (1 - (Math.abs(f(a.dataset.from)) + f(a.dataset.value)) / t) * (o.value.height - h.value.top - h.value.bottom);
|
|
136
|
+
}), ie = d(() => `${T.value}px`), ce = d(() => `${o.value.height - e.value.style.chart.padding.bottom - h.value.top}px`), he = d(() => `${e.value.style.chart.animation.speedMs}ms`), de = d(() => {
|
|
136
137
|
if (a.dataset.colors) {
|
|
137
138
|
if (!a.dataset.colors.from)
|
|
138
|
-
return C(w.value[0] ||
|
|
139
|
+
return C(w.value[0] || x[0], A(a.dataset.colors.to), y.value || 10);
|
|
139
140
|
if (!a.dataset.colors.to)
|
|
140
|
-
return C(A(a.dataset.colors.from), w.value[1] ||
|
|
141
|
+
return C(A(a.dataset.colors.from), w.value[1] || x[1], y.value || 10);
|
|
141
142
|
} else
|
|
142
|
-
return C(w.value[1] ||
|
|
143
|
+
return C(w.value[1] || x[1], w.value[0] || x[0], y.value || 10);
|
|
143
144
|
return C(A(a.dataset.colors.from), A(a.dataset.colors.to), y.value || 10);
|
|
144
|
-
}),
|
|
145
|
+
}), Z = d(() => {
|
|
145
146
|
const s = [];
|
|
146
|
-
let
|
|
147
|
-
const t = o.value.height -
|
|
148
|
-
for (let
|
|
147
|
+
let r = 0;
|
|
148
|
+
const t = o.value.height - h.value.top - h.value.bottom;
|
|
149
|
+
for (let u = 0; u < t - 1; u += t / y.value)
|
|
149
150
|
s.push({
|
|
150
151
|
x: o.value.left,
|
|
151
|
-
y: o.value.top +
|
|
152
|
-
qYLess: o.value.top +
|
|
153
|
-
halfY: o.value.top +
|
|
154
|
-
qYMore: o.value.top +
|
|
155
|
-
color:
|
|
152
|
+
y: o.value.top + u,
|
|
153
|
+
qYLess: o.value.top + u + t / y.value / 4,
|
|
154
|
+
halfY: o.value.top + u + t / y.value / 2,
|
|
155
|
+
qYMore: o.value.top + u + t / y.value / 4 * 3,
|
|
156
|
+
color: de.value[r],
|
|
156
157
|
height: t / y.value
|
|
157
|
-
}),
|
|
158
|
+
}), r += 1;
|
|
158
159
|
return s;
|
|
159
160
|
}), k = g(!1);
|
|
160
|
-
function
|
|
161
|
-
k.value = s,
|
|
161
|
+
function ve(s) {
|
|
162
|
+
k.value = s, z.value += 1;
|
|
162
163
|
}
|
|
163
164
|
const $ = g(!1);
|
|
164
|
-
function
|
|
165
|
+
function q() {
|
|
165
166
|
$.value = !$.value;
|
|
166
167
|
}
|
|
167
|
-
return
|
|
168
|
-
generatePdf:
|
|
169
|
-
generateImage:
|
|
170
|
-
toggleAnnotator:
|
|
171
|
-
}), (s,
|
|
168
|
+
return ae({
|
|
169
|
+
generatePdf: J,
|
|
170
|
+
generateImage: K,
|
|
171
|
+
toggleAnnotator: q
|
|
172
|
+
}), (s, r) => (l(), n("div", {
|
|
172
173
|
ref_key: "thermoChart",
|
|
173
|
-
ref:
|
|
174
|
+
ref: U,
|
|
174
175
|
class: P(`vue-ui-thermometer ${k.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
175
|
-
style:
|
|
176
|
-
id: `thermometer__${
|
|
176
|
+
style: ee(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
|
|
177
|
+
id: `thermometer__${m.value}`,
|
|
178
|
+
onMouseenter: r[0] || (r[0] = () => c(j)(!0)),
|
|
179
|
+
onMouseleave: r[1] || (r[1] = () => c(j)(!1))
|
|
177
180
|
}, [
|
|
178
|
-
e.value.userOptions.buttons.annotator ? (l(), F(
|
|
181
|
+
e.value.userOptions.buttons.annotator ? (l(), F(Ge, {
|
|
179
182
|
key: 0,
|
|
180
|
-
parent:
|
|
183
|
+
parent: U.value,
|
|
181
184
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
182
185
|
color: e.value.style.chart.color,
|
|
183
186
|
active: $.value,
|
|
184
|
-
onClose:
|
|
187
|
+
onClose: q
|
|
185
188
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
|
|
186
|
-
|
|
187
|
-
e.value.style.title.text ? (l(),
|
|
188
|
-
(l(), F(
|
|
189
|
-
key: `title_${
|
|
189
|
+
re.value ? (l(), n("div", Be, null, 512)) : i("", !0),
|
|
190
|
+
e.value.style.title.text ? (l(), n("div", je, [
|
|
191
|
+
(l(), F(Se, {
|
|
192
|
+
key: `title_${B.value}`,
|
|
190
193
|
config: {
|
|
191
194
|
title: {
|
|
192
195
|
cy: "thermometer-div-title",
|
|
@@ -199,70 +202,73 @@ const Ge = ["id"], Ve = {
|
|
|
199
202
|
}
|
|
200
203
|
}, null, 8, ["config"]))
|
|
201
204
|
])) : i("", !0),
|
|
202
|
-
e.value.userOptions.show &&
|
|
205
|
+
e.value.userOptions.show && M.value && (c(D) || c(Y)) ? (l(), F(qe, {
|
|
203
206
|
ref: "details",
|
|
204
|
-
key: `user_options_${
|
|
207
|
+
key: `user_options_${z.value}`,
|
|
205
208
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
206
209
|
color: e.value.style.chart.color,
|
|
207
|
-
isImaging:
|
|
208
|
-
isPrinting:
|
|
209
|
-
uid:
|
|
210
|
+
isImaging: c(R),
|
|
211
|
+
isPrinting: c(X),
|
|
212
|
+
uid: m.value,
|
|
210
213
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
211
214
|
hasImg: e.value.userOptions.buttons.img,
|
|
212
215
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
213
216
|
hasXls: !1,
|
|
214
217
|
isFullscreen: k.value,
|
|
215
218
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
216
|
-
chartElement:
|
|
219
|
+
chartElement: U.value,
|
|
217
220
|
position: e.value.userOptions.position,
|
|
218
221
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
219
222
|
isAnnotation: $.value,
|
|
220
|
-
onToggleFullscreen:
|
|
221
|
-
onGeneratePdf:
|
|
222
|
-
onGenerateImage:
|
|
223
|
-
onToggleAnnotator:
|
|
224
|
-
|
|
223
|
+
onToggleFullscreen: ve,
|
|
224
|
+
onGeneratePdf: c(J),
|
|
225
|
+
onGenerateImage: c(K),
|
|
226
|
+
onToggleAnnotator: q,
|
|
227
|
+
style: ee({
|
|
228
|
+
visibility: c(D) ? c(Y) ? "visible" : "hidden" : "visible"
|
|
229
|
+
})
|
|
230
|
+
}, xe({ _: 2 }, [
|
|
225
231
|
s.$slots.optionPdf ? {
|
|
226
232
|
name: "optionPdf",
|
|
227
233
|
fn: I(() => [
|
|
228
|
-
|
|
234
|
+
p(s.$slots, "optionPdf", {}, void 0, !0)
|
|
229
235
|
]),
|
|
230
236
|
key: "0"
|
|
231
237
|
} : void 0,
|
|
232
238
|
s.$slots.optionImg ? {
|
|
233
239
|
name: "optionImg",
|
|
234
240
|
fn: I(() => [
|
|
235
|
-
|
|
241
|
+
p(s.$slots, "optionImg", {}, void 0, !0)
|
|
236
242
|
]),
|
|
237
243
|
key: "1"
|
|
238
244
|
} : void 0,
|
|
239
245
|
s.$slots.optionFullscreen ? {
|
|
240
246
|
name: "optionFullscreen",
|
|
241
|
-
fn: I(({ toggleFullscreen: t, isFullscreen:
|
|
242
|
-
|
|
247
|
+
fn: I(({ toggleFullscreen: t, isFullscreen: u }) => [
|
|
248
|
+
p(s.$slots, "optionFullscreen", G(W({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
|
|
243
249
|
]),
|
|
244
250
|
key: "2"
|
|
245
251
|
} : void 0,
|
|
246
252
|
s.$slots.optionAnnotator ? {
|
|
247
253
|
name: "optionAnnotator",
|
|
248
|
-
fn: I(({ toggleAnnotator: t, isAnnotator:
|
|
249
|
-
|
|
254
|
+
fn: I(({ toggleAnnotator: t, isAnnotator: u }) => [
|
|
255
|
+
p(s.$slots, "optionAnnotator", G(W({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
|
|
250
256
|
]),
|
|
251
257
|
key: "3"
|
|
252
258
|
} : void 0
|
|
253
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : i("", !0),
|
|
254
|
-
|
|
259
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
260
|
+
M.value ? (l(), n("svg", {
|
|
255
261
|
key: 4,
|
|
256
|
-
xmlns:
|
|
262
|
+
xmlns: c(Me),
|
|
257
263
|
class: P({ "vue-data-ui-fullscreen--on": k.value, "vue-data-ui-fulscreen--off": !k.value }),
|
|
258
264
|
width: "100%",
|
|
259
265
|
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
260
266
|
style: "background:transparent"
|
|
261
267
|
}, [
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
268
|
+
_e(Ve),
|
|
269
|
+
v("defs", null, [
|
|
270
|
+
v("clipPath", He, [
|
|
271
|
+
v("rect", {
|
|
266
272
|
x: "0",
|
|
267
273
|
y: "0",
|
|
268
274
|
width: "1",
|
|
@@ -270,49 +276,49 @@ const Ge = ["id"], Ve = {
|
|
|
270
276
|
rx: "0.5",
|
|
271
277
|
ry: "0.07",
|
|
272
278
|
fill: e.value.style.chart.backgroundColor
|
|
273
|
-
}, null, 8,
|
|
279
|
+
}, null, 8, Xe)
|
|
274
280
|
]),
|
|
275
|
-
(l(!0),
|
|
276
|
-
id: `vueUiThermometerGradient_${
|
|
281
|
+
(l(!0), n(O, null, te(Z.value, (t, u) => (l(), n("linearGradient", {
|
|
282
|
+
id: `vueUiThermometerGradient_${u}_${m.value}`,
|
|
277
283
|
x1: "0%",
|
|
278
284
|
y1: "0%",
|
|
279
285
|
x2: "100%",
|
|
280
286
|
y2: "0%"
|
|
281
287
|
}, [
|
|
282
|
-
|
|
288
|
+
v("stop", {
|
|
283
289
|
offset: "0%",
|
|
284
290
|
"stop-color": t.color
|
|
285
|
-
}, null, 8,
|
|
286
|
-
|
|
291
|
+
}, null, 8, Je),
|
|
292
|
+
v("stop", {
|
|
287
293
|
offset: "50%",
|
|
288
|
-
"stop-color":
|
|
289
|
-
}, null, 8,
|
|
290
|
-
|
|
294
|
+
"stop-color": c(Ue)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
|
|
295
|
+
}, null, 8, Ke),
|
|
296
|
+
v("stop", {
|
|
291
297
|
offset: "100%",
|
|
292
298
|
"stop-color": t.color
|
|
293
|
-
}, null, 8,
|
|
294
|
-
], 8,
|
|
299
|
+
}, null, 8, Qe)
|
|
300
|
+
], 8, Re))), 256))
|
|
295
301
|
]),
|
|
296
|
-
|
|
297
|
-
|
|
302
|
+
v("g", Ze, [
|
|
303
|
+
v("rect", {
|
|
298
304
|
x: o.value.left,
|
|
299
305
|
y: o.value.top,
|
|
300
|
-
height: o.value.height -
|
|
301
|
-
width: o.value.width -
|
|
306
|
+
height: o.value.height - h.value.top - h.value.bottom,
|
|
307
|
+
width: o.value.width - h.value.left - h.value.right,
|
|
302
308
|
fill: "#FFFFFF"
|
|
303
|
-
}, null, 8,
|
|
304
|
-
(l(!0),
|
|
305
|
-
key: `graduation_${
|
|
309
|
+
}, null, 8, et),
|
|
310
|
+
(l(!0), n(O, null, te(Z.value, (t, u) => (l(), n("g", {
|
|
311
|
+
key: `graduation_${u}`
|
|
306
312
|
}, [
|
|
307
|
-
|
|
313
|
+
v("rect", {
|
|
308
314
|
x: t.x,
|
|
309
315
|
y: t.y,
|
|
310
316
|
height: t.height,
|
|
311
317
|
width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
|
|
312
|
-
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${
|
|
318
|
+
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${u}_${m.value})` : t.color,
|
|
313
319
|
"shape-rendering": "crispEdges"
|
|
314
|
-
}, null, 8,
|
|
315
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
320
|
+
}, null, 8, tt),
|
|
321
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), n("line", {
|
|
316
322
|
key: 0,
|
|
317
323
|
x1: t.x,
|
|
318
324
|
x2: t.x + 10,
|
|
@@ -321,9 +327,9 @@ const Ge = ["id"], Ve = {
|
|
|
321
327
|
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
322
328
|
stroke: e.value.style.chart.graduations.stroke,
|
|
323
329
|
"stroke-linecap": "round"
|
|
324
|
-
}, null, 8,
|
|
325
|
-
e.value.style.chart.graduations.showIntermediate ? (l(),
|
|
326
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
330
|
+
}, null, 8, st)) : i("", !0),
|
|
331
|
+
e.value.style.chart.graduations.showIntermediate ? (l(), n(O, { key: 1 }, [
|
|
332
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), n("line", {
|
|
327
333
|
key: 0,
|
|
328
334
|
x1: t.x,
|
|
329
335
|
x2: t.x + 5,
|
|
@@ -332,8 +338,8 @@ const Ge = ["id"], Ve = {
|
|
|
332
338
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
333
339
|
stroke: e.value.style.chart.graduations.stroke,
|
|
334
340
|
"stroke-linecap": "round"
|
|
335
|
-
}, null, 8,
|
|
336
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
341
|
+
}, null, 8, ot)) : i("", !0),
|
|
342
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), n("line", {
|
|
337
343
|
key: 1,
|
|
338
344
|
x1: t.x,
|
|
339
345
|
x2: t.x + 2.5,
|
|
@@ -342,8 +348,8 @@ const Ge = ["id"], Ve = {
|
|
|
342
348
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
343
349
|
stroke: e.value.style.chart.graduations.stroke,
|
|
344
350
|
"stroke-linecap": "round"
|
|
345
|
-
}, null, 8,
|
|
346
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
351
|
+
}, null, 8, at)) : i("", !0),
|
|
352
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), n("line", {
|
|
347
353
|
key: 2,
|
|
348
354
|
x1: t.x,
|
|
349
355
|
x2: t.x + 2.5,
|
|
@@ -352,9 +358,9 @@ const Ge = ["id"], Ve = {
|
|
|
352
358
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
353
359
|
stroke: e.value.style.chart.graduations.stroke,
|
|
354
360
|
"stroke-linecap": "round"
|
|
355
|
-
}, null, 8,
|
|
361
|
+
}, null, 8, lt)) : i("", !0)
|
|
356
362
|
], 64)) : i("", !0),
|
|
357
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
363
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), n("line", {
|
|
358
364
|
key: 2,
|
|
359
365
|
x1: o.value.right,
|
|
360
366
|
x2: o.value.right - 10,
|
|
@@ -363,9 +369,9 @@ const Ge = ["id"], Ve = {
|
|
|
363
369
|
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
364
370
|
stroke: e.value.style.chart.graduations.stroke,
|
|
365
371
|
"stroke-linecap": "round"
|
|
366
|
-
}, null, 8,
|
|
367
|
-
e.value.style.chart.graduations.showIntermediate ? (l(),
|
|
368
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
372
|
+
}, null, 8, rt)) : i("", !0),
|
|
373
|
+
e.value.style.chart.graduations.showIntermediate ? (l(), n(O, { key: 3 }, [
|
|
374
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), n("line", {
|
|
369
375
|
key: 0,
|
|
370
376
|
x1: o.value.right,
|
|
371
377
|
x2: o.value.right - 5,
|
|
@@ -374,8 +380,8 @@ const Ge = ["id"], Ve = {
|
|
|
374
380
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
375
381
|
stroke: e.value.style.chart.graduations.stroke,
|
|
376
382
|
"stroke-linecap": "round"
|
|
377
|
-
}, null, 8,
|
|
378
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
383
|
+
}, null, 8, ut)) : i("", !0),
|
|
384
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), n("line", {
|
|
379
385
|
key: 1,
|
|
380
386
|
x1: o.value.right,
|
|
381
387
|
x2: o.value.right - 2.5,
|
|
@@ -384,8 +390,8 @@ const Ge = ["id"], Ve = {
|
|
|
384
390
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
385
391
|
stroke: e.value.style.chart.graduations.stroke,
|
|
386
392
|
"stroke-linecap": "round"
|
|
387
|
-
}, null, 8,
|
|
388
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(),
|
|
393
|
+
}, null, 8, nt)) : i("", !0),
|
|
394
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), n("line", {
|
|
389
395
|
key: 2,
|
|
390
396
|
x1: o.value.right,
|
|
391
397
|
x2: o.value.right - 2.5,
|
|
@@ -394,46 +400,46 @@ const Ge = ["id"], Ve = {
|
|
|
394
400
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
395
401
|
stroke: e.value.style.chart.graduations.stroke,
|
|
396
402
|
"stroke-linecap": "round"
|
|
397
|
-
}, null, 8,
|
|
403
|
+
}, null, 8, it)) : i("", !0)
|
|
398
404
|
], 64)) : i("", !0)
|
|
399
405
|
]))), 128)),
|
|
400
|
-
|
|
406
|
+
v("rect", {
|
|
401
407
|
class: P({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
|
|
402
408
|
x: o.value.left,
|
|
403
409
|
y: o.value.top,
|
|
404
|
-
height:
|
|
410
|
+
height: T.value,
|
|
405
411
|
width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
|
|
406
412
|
fill: "#FFFFFF66"
|
|
407
|
-
}, null, 10,
|
|
413
|
+
}, null, 10, ct)
|
|
408
414
|
]),
|
|
409
|
-
|
|
415
|
+
v("text", {
|
|
410
416
|
class: P({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use }),
|
|
411
|
-
y:
|
|
417
|
+
y: T.value + o.value.top + e.value.style.chart.label.fontSize / 3,
|
|
412
418
|
x: o.value.left - 10,
|
|
413
419
|
"text-anchor": "end",
|
|
414
420
|
fill: e.value.style.chart.label.color,
|
|
415
421
|
"font-size": e.value.style.chart.label.fontSize,
|
|
416
422
|
"font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
|
|
417
|
-
},
|
|
423
|
+
}, we(c(Ye)(
|
|
418
424
|
e.value.style.chart.label.formatter,
|
|
419
|
-
|
|
420
|
-
|
|
425
|
+
_.dataset.value,
|
|
426
|
+
c(Ne)({
|
|
421
427
|
p: e.value.style.chart.label.prefix,
|
|
422
|
-
v:
|
|
428
|
+
v: _.dataset.value,
|
|
423
429
|
s: e.value.style.chart.label.suffix,
|
|
424
430
|
r: e.value.style.chart.label.rounding
|
|
425
431
|
}),
|
|
426
|
-
{ datapoint:
|
|
427
|
-
)), 11,
|
|
428
|
-
|
|
429
|
-
], 10,
|
|
430
|
-
s.$slots.watermark ? (l(),
|
|
431
|
-
|
|
432
|
+
{ datapoint: _.dataset }
|
|
433
|
+
)), 11, ht),
|
|
434
|
+
p(s.$slots, "svg", { svg: ne.value }, void 0, !0)
|
|
435
|
+
], 10, De)) : i("", !0),
|
|
436
|
+
s.$slots.watermark ? (l(), n("div", dt, [
|
|
437
|
+
p(s.$slots, "watermark", G(W({ isPrinting: c(X) || c(R) })), void 0, !0)
|
|
432
438
|
])) : i("", !0),
|
|
433
|
-
s.$slots.source ? (l(),
|
|
434
|
-
|
|
439
|
+
s.$slots.source ? (l(), n("div", vt, [
|
|
440
|
+
p(s.$slots, "source", {}, void 0, !0)
|
|
435
441
|
], 512)) : i("", !0),
|
|
436
|
-
|
|
442
|
+
M.value ? i("", !0) : (l(), F(Le, {
|
|
437
443
|
key: 7,
|
|
438
444
|
config: {
|
|
439
445
|
type: "thermometer",
|
|
@@ -445,9 +451,9 @@ const Ge = ["id"], Ve = {
|
|
|
445
451
|
}
|
|
446
452
|
}
|
|
447
453
|
}, null, 8, ["config"]))
|
|
448
|
-
],
|
|
454
|
+
], 46, ze));
|
|
449
455
|
}
|
|
450
|
-
},
|
|
456
|
+
}, $t = /* @__PURE__ */ Ee(yt, [["__scopeId", "data-v-90584bea"]]);
|
|
451
457
|
export {
|
|
452
|
-
|
|
458
|
+
$t as default
|
|
453
459
|
};
|