vue-data-ui 2.3.28 → 2.3.30
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 +15 -0
- package/dist/{Arrow-C6lQ94rK.cjs → Arrow-B8z06v67.cjs} +1 -1
- package/dist/{Arrow-BPoxM_Tq.js → Arrow-Bh7WeO_g.js} +1 -1
- package/dist/{BaseIcon-Op8_v5x7.js → BaseIcon-BG_bJS3R.js} +1 -1
- package/dist/{BaseIcon-BK5xYOzV.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
- package/dist/{DataTable-bEXuvNn5.js → DataTable-CsPidn0_.js} +23 -20
- package/dist/DataTable-Doh_4M84.cjs +1 -0
- package/dist/{Legend-BNfS77GS.cjs → Legend-B20rRwGi.cjs} +1 -1
- package/dist/{Legend-DwludSgp.js → Legend-CkQ_zypV.js} +1 -1
- package/dist/{Shape-COYAxpcP.js → Shape-B4gGeBLI.js} +1 -1
- package/dist/{Shape-CcWWIf-s.cjs → Shape-B8O8_E6l.cjs} +1 -1
- package/dist/{Slicer-DGkm-5p-.cjs → Slicer-BXveU40S.cjs} +1 -1
- package/dist/{Slicer-Cv-2s_-r.js → Slicer-DaEfxscP.js} +1 -1
- package/dist/{Title-DQz9dO4d.cjs → Title-BU6E8Xld.cjs} +1 -1
- package/dist/{Title-CtWGLaoz.js → Title-eBTH8iGJ.js} +1 -1
- package/dist/{Tooltip-D6BUVHr1.js → Tooltip-B11OahTD.js} +1 -1
- package/dist/{Tooltip-DQgBkgFk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
- package/dist/{index-BhCM2QF1.js → index-BlXzlBwZ.js} +443 -364
- package/dist/index-hKWfT7Wa.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +66 -0
- package/dist/types/vue-data-ui.d.ts +66 -0
- package/dist/{useNestedProp-CH3PVhvc.js → useNestedProp-BoNl5H_z.js} +1 -1
- package/dist/{useNestedProp-C2H2jmU6.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
- package/dist/{usePrinter-B75HLwzw.js → usePrinter-CZ8F5Cth.js} +1 -1
- package/dist/{usePrinter-DTF28E03.cjs → usePrinter-DoYKBzst.cjs} +1 -1
- package/dist/{vue-data-ui-DdhV5Pth.js → vue-data-ui-BOqzG_nZ.js} +57 -57
- package/dist/{vue-data-ui-cqeqQWwY.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +6 -6
- package/dist/{vue-ui-3d-bar-gi0fEJUl.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
- package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
- package/dist/{vue-ui-accordion-CVrj6roI.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
- package/dist/{vue-ui-accordion-CSZdj7wA.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
- package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CFSWDX3d.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
- package/dist/{vue-ui-annotator-DqZU11ky.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
- package/dist/{vue-ui-annotator-u5YbenPl.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C3xswSm3.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Dph2PhZC.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
- package/dist/{vue-ui-carousel-table-0S6lSZnt.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-eY08SE2G.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
- package/dist/{vue-ui-chestnut-BikYCrjQ.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
- package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
- package/dist/{vue-ui-cursor-OFgeAFSo.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
- package/dist/{vue-ui-cursor-DUA57VkZ.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BTG0m9YL.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DA4M1Z0-.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
- package/dist/{vue-ui-digits-55Zmunkv.js → vue-ui-digits-CmSFSs5S.js} +2 -2
- package/dist/{vue-ui-digits-COxRiMVI.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
- package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
- package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
- package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
- package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
- package/dist/{vue-ui-dumbbell-BSFT-Bce.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-BtEXt5Ox.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
- package/dist/{vue-ui-flow-BPEGOFRZ.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
- package/dist/{vue-ui-flow-BBoXBTkC.js → vue-ui-flow-wq0aqc5r.js} +98 -93
- package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
- package/dist/{vue-ui-galaxy-ZFEufIyy.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
- package/dist/{vue-ui-gauge-CfZ9XJW_.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
- package/dist/{vue-ui-gauge-BqZp_V5m.js → vue-ui-gauge-CIN265dN.js} +158 -149
- package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
- package/dist/{vue-ui-gizmo-DitbWAJp.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
- package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
- package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
- package/dist/{vue-ui-kpi-BWuzEkyY.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
- package/dist/{vue-ui-kpi-B2Bo26hh.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BwAWiK3k.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
- package/dist/{vue-ui-mini-loader-C_Nb-qVd.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
- package/dist/{vue-ui-molecule-CSbXNrvu.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
- package/dist/{vue-ui-molecule-BD2UW2lJ.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
- package/dist/{vue-ui-mood-radar-CbMab8pJ.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
- package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-SDaiotgC.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
- package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
- package/dist/{vue-ui-onion-BamHJBdP.js → vue-ui-onion-B_khL0Kv.js} +230 -196
- package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BaAa3t1h.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-1R4CyBdQ.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
- package/dist/{vue-ui-quadrant-CKCLhAS7.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
- package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
- package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
- package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
- package/dist/{vue-ui-radar-BY-y8Mal.js → vue-ui-radar-B2vAPYa7.js} +237 -214
- package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
- package/dist/{vue-ui-rating-DGEgzOaB.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
- package/dist/{vue-ui-rating-Bq1SsByA.js → vue-ui-rating-xGz4av68.js} +9 -9
- package/dist/{vue-ui-relation-circle-BPzLP6U6.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
- package/dist/{vue-ui-relation-circle-pdZ79G9r.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
- package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
- package/dist/{vue-ui-rings-C5ce6pEf.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
- package/dist/{vue-ui-scatter-CMetujXJ.js → vue-ui-scatter-CHONk8k0.js} +437 -381
- package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
- package/dist/{vue-ui-screenshot-BqzljUT3.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
- package/dist/{vue-ui-screenshot--2aeIH_x.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
- package/dist/{vue-ui-skeleton-_VMQ594N.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
- package/dist/{vue-ui-skeleton-B5Z4craS.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
- package/dist/{vue-ui-smiley-CL-bubXk.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cty3e_yE.js → vue-ui-smiley-DXVcosKR.js} +2 -2
- package/dist/{vue-ui-spark-trend-DT1fMqf_.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-pgdWTEqG.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
- package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
- package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
- package/dist/{vue-ui-sparkgauge-DdzlyDsm.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Dx2gFX6H.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
- package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-Bg_fJsT5.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
- package/dist/{vue-ui-sparkline-WMI-RgkW.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BWl_B6LX.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
- package/dist/{vue-ui-sparkstackbar-Skcshn6g.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-MMGRG9eS.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
- package/dist/{vue-ui-stackbar-NZFO3R77.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
- package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
- package/dist/{vue-ui-strip-plot-CJmCgC_a.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
- package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
- package/dist/{vue-ui-table-jJ3daLHe.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
- package/dist/{vue-ui-table-B-vHHlRw.js → vue-ui-table-DtwEoIzI.js} +9 -9
- package/dist/{vue-ui-table-heatmap-YCyFyq8J.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BfzDb2H7.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
- package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
- package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
- package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
- package/dist/{vue-ui-thermometer-CdtG1AoI.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
- package/dist/{vue-ui-timer-Cb95XSdn.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
- package/dist/{vue-ui-timer-DBqMb9iX.js → vue-ui-timer-RA9yfgBk.js} +8 -8
- package/dist/{vue-ui-tiremarks-CHKETcHr.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
- package/dist/{vue-ui-tiremarks-BqXfvQ4t.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
- package/dist/{vue-ui-treemap-DxKunHfW.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
- package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
- package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
- package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
- package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
- package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
- package/dist/{vue-ui-wheel-kMVi976p.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
- package/dist/{vue-ui-wheel-4HKXl04I.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
- package/dist/{vue-ui-word-cloud-CrC3iKGd.js → vue-ui-word-cloud-DBxVNlJ3.js} +7 -7
- package/dist/{vue-ui-word-cloud-WgbYJhMF.cjs → vue-ui-word-cloud-Dmcelg3z.cjs} +1 -1
- package/dist/{vue-ui-xy-BN_H7q0X.js → vue-ui-xy-BIbvJSh2.js} +367 -288
- package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
- package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-DAY9Ylzs.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
- package/package.json +1 -1
- package/dist/DataTable-B4_9ynlY.cjs +0 -1
- package/dist/index-Y23HeR26.cjs +0 -4
- package/dist/vue-ui-3d-bar-BB6yidY7.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CrTadT86.cjs +0 -1
- package/dist/vue-ui-chestnut-C3XOHDgw.cjs +0 -6
- package/dist/vue-ui-donut-CG3VWjnG.js +0 -751
- package/dist/vue-ui-donut-JA9hlLlV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CA8sDbwX.js +0 -805
- package/dist/vue-ui-donut-evolution-_E0xUI9Y.cjs +0 -1
- package/dist/vue-ui-galaxy-DPrJum3L.cjs +0 -1
- package/dist/vue-ui-gizmo-CrSaW32p.cjs +0 -1
- package/dist/vue-ui-heatmap-CTRjjhmd.cjs +0 -1
- package/dist/vue-ui-heatmap-zV0pg2Q5.js +0 -606
- package/dist/vue-ui-mood-radar-zpxdsZ4u.cjs +0 -1
- package/dist/vue-ui-nested-donuts-07UI_VlW.cjs +0 -16
- package/dist/vue-ui-onion-DiychUul.cjs +0 -1
- package/dist/vue-ui-quadrant-DxLYb8Mk.cjs +0 -1
- package/dist/vue-ui-quick-chart-CAXuRSdm.js +0 -1318
- package/dist/vue-ui-quick-chart-DgCRM6WA.cjs +0 -13
- package/dist/vue-ui-radar-iETP_3US.cjs +0 -1
- package/dist/vue-ui-rings-DdpKT3DJ.cjs +0 -1
- package/dist/vue-ui-scatter-Dsc6RABP.cjs +0 -1
- package/dist/vue-ui-sparkbar-BVQPOz2O.js +0 -257
- package/dist/vue-ui-sparkbar-kfA-BPVJ.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B5xstgQG.cjs +0 -1
- package/dist/vue-ui-stackbar-DZ0CArmk.cjs +0 -15
- package/dist/vue-ui-strip-plot-Db_dqjd9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-4Qbmxxsy.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DZt-bo2D.js +0 -420
- package/dist/vue-ui-thermometer-HXWDU2wD.cjs +0 -1
- package/dist/vue-ui-treemap-CW9JmJ2d.cjs +0 -1
- package/dist/vue-ui-vertical-bar-83AMwsHD.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DRLwZjIz.js +0 -745
- package/dist/vue-ui-waffle-BRuDxyDU.js +0 -650
- package/dist/vue-ui-waffle-BwUbvdOE.cjs +0 -1
- package/dist/vue-ui-xy-BXfP5pz5.cjs +0 -3
- package/dist/vue-ui-xy-canvas-NrhVgFsv.cjs +0 -9
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { useCssVars as ne, computed as c, onMounted as ie, ref as p, openBlock as
|
|
2
|
-
import { u as ve, o as ye, e as H, g as fe, c as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import
|
|
6
|
-
import { u as X } from "./useNestedProp-
|
|
7
|
-
import { _ as
|
|
8
|
-
const
|
|
1
|
+
import { useCssVars as ne, computed as c, onMounted as ie, ref as p, openBlock as o, createElementBlock as n, normalizeClass as C, normalizeStyle as z, createVNode as he, createCommentVNode as h, createBlock as B, unref as v, createSlots as ce, withCtx as q, renderSlot as k, normalizeProps as j, guardReactiveProps as A, createElementVNode as d, Fragment as $, renderList as D, toDisplayString as de } from "vue";
|
|
2
|
+
import { u as ve, o as ye, e as H, g as fe, c as me, t as ge, a as pe, p as x, b as ke, d as F, X as xe, v as be, i as _e, f as we } from "./index-BlXzlBwZ.js";
|
|
3
|
+
import { _ as Ce } from "./Title-eBTH8iGJ.js";
|
|
4
|
+
import { u as $e, U as Fe } from "./usePrinter-CZ8F5Cth.js";
|
|
5
|
+
import Pe from "./vue-ui-skeleton-CJ2R5R6u.js";
|
|
6
|
+
import { u as X } from "./useNestedProp-BoNl5H_z.js";
|
|
7
|
+
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
+
const Ye = ["id"], Me = {
|
|
9
9
|
key: 0,
|
|
10
10
|
style: "width:100%"
|
|
11
|
-
},
|
|
11
|
+
}, Oe = ["xmlns", "viewBox"], Ue = {
|
|
12
12
|
id: "vueUiPill",
|
|
13
13
|
clipPathUnits: "objectBoundingBox"
|
|
14
|
-
},
|
|
14
|
+
}, qe = ["fill"], Le = ["id"], Ne = ["stop-color"], Se = ["stop-color"], Te = ["stop-color"], Ge = { "clip-path": "url(#vueUiPill)" }, Ve = ["x", "y", "height", "width"], We = ["x", "y", "height", "width", "fill"], Ee = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ze = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Be = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], je = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ae = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], De = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], He = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Xe = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Re = ["x", "y", "height", "width"], Je = ["y", "x", "fill", "font-size", "font-weight"], Ke = {
|
|
15
15
|
key: 3,
|
|
16
16
|
class: "vue-data-ui-watermark"
|
|
17
|
-
},
|
|
17
|
+
}, Qe = {
|
|
18
18
|
__name: "vue-ui-thermometer",
|
|
19
19
|
props: {
|
|
20
20
|
dataset: {
|
|
@@ -30,20 +30,20 @@ const Ie = ["id"], Ye = {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
|
-
setup(
|
|
34
|
-
const
|
|
33
|
+
setup(b, { expose: R }) {
|
|
34
|
+
const a = b;
|
|
35
35
|
ne((s) => ({
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
"
|
|
36
|
+
"3d1a25cf": te.value,
|
|
37
|
+
"52cc1c9f": ee.value,
|
|
38
|
+
"90b36568": Z.value
|
|
39
39
|
}));
|
|
40
|
-
const { vue_ui_thermometer: J } = ve(),
|
|
40
|
+
const { vue_ui_thermometer: J } = ve(), P = c(() => !!a.dataset && Object.keys(a.dataset).length);
|
|
41
41
|
ie(() => {
|
|
42
|
-
ye(
|
|
42
|
+
ye(a.dataset) ? H({
|
|
43
43
|
componentName: "VueUiThermometer",
|
|
44
44
|
type: "dataset"
|
|
45
45
|
}) : fe({
|
|
46
|
-
datasetObject:
|
|
46
|
+
datasetObject: a.dataset,
|
|
47
47
|
requiredAttributes: ["value", "from", "to"]
|
|
48
48
|
}).forEach((s) => {
|
|
49
49
|
H({
|
|
@@ -53,31 +53,31 @@ const Ie = ["id"], Ye = {
|
|
|
53
53
|
});
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
|
-
const f = p(
|
|
56
|
+
const f = p(me()), L = p(null), N = p(0), e = c(() => {
|
|
57
57
|
const s = X({
|
|
58
|
-
userConfig:
|
|
58
|
+
userConfig: a.config,
|
|
59
59
|
defaultConfig: J
|
|
60
60
|
});
|
|
61
61
|
return s.theme ? {
|
|
62
62
|
...X({
|
|
63
|
-
userConfig:
|
|
63
|
+
userConfig: ge.vue_ui_thermometer[s.theme] || a.config,
|
|
64
64
|
defaultConfig: s
|
|
65
65
|
}),
|
|
66
66
|
customPalette: pe[s.theme] || x
|
|
67
67
|
} : s;
|
|
68
|
-
}), { isPrinting:
|
|
68
|
+
}), { isPrinting: S, isImaging: T, generatePdf: G, generateImage: V } = $e({
|
|
69
69
|
elementId: `thermometer__${f.value}`,
|
|
70
70
|
fileName: e.value.style.title.text || "vue-ui-thermometer"
|
|
71
|
-
}), _ = c(() => ke(e.value.customPalette)), K = c(() => e.value.style.chart.thermometer.width),
|
|
71
|
+
}), _ = c(() => ke(e.value.customPalette)), K = c(() => e.value.style.chart.thermometer.width), y = c(() => a.dataset.steps || 10), i = p({
|
|
72
72
|
top: e.value.style.chart.padding.top,
|
|
73
73
|
left: e.value.style.chart.padding.left,
|
|
74
74
|
right: e.value.style.chart.padding.right,
|
|
75
75
|
bottom: e.value.style.chart.padding.bottom
|
|
76
76
|
});
|
|
77
|
-
function
|
|
78
|
-
const u = [],
|
|
79
|
-
for (let
|
|
80
|
-
const
|
|
77
|
+
function w(s, r, t) {
|
|
78
|
+
const u = [], O = W(s), U = W(r);
|
|
79
|
+
for (let g = 0; g < t; g++) {
|
|
80
|
+
const ae = I(O.red, U.red, g, t), oe = I(O.green, U.green, g, t), re = I(O.blue, U.blue, g, t), ue = `#${Y(ae)}${Y(oe)}${Y(re)}`;
|
|
81
81
|
u.push(ue);
|
|
82
82
|
}
|
|
83
83
|
return u;
|
|
@@ -90,10 +90,10 @@ const Ie = ["id"], Ye = {
|
|
|
90
90
|
blue: parseInt(r.slice(4, 6), 16)
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function I(s, r, t, u) {
|
|
94
94
|
return Math.round(s + (r - s) * t / u);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Y(s) {
|
|
97
97
|
return s.toString(16).padStart(2, "0");
|
|
98
98
|
}
|
|
99
99
|
const l = c(() => {
|
|
@@ -106,50 +106,50 @@ const Ie = ["id"], Ye = {
|
|
|
106
106
|
bottom: r - i.value.bottom,
|
|
107
107
|
height: r
|
|
108
108
|
};
|
|
109
|
-
}), Q = c(() => l.value),
|
|
110
|
-
const s =
|
|
109
|
+
}), Q = c(() => l.value), M = c(() => {
|
|
110
|
+
const s = a.dataset.from < 0 ? Math.abs(a.dataset.from) : a.dataset.from, r = a.dataset.to < 0 ? Math.abs(a.dataset.to) : a.dataset.to;
|
|
111
111
|
let t = 0;
|
|
112
|
-
return
|
|
113
|
-
}), Z = c(() => `${
|
|
114
|
-
if (
|
|
115
|
-
if (!
|
|
116
|
-
return
|
|
117
|
-
if (!
|
|
118
|
-
return
|
|
112
|
+
return a.dataset.to > 0 ? t = s + r : s > r ? t = s - r : t = r - s, (1 - (Math.abs(a.dataset.from) + a.dataset.value) / t) * (l.value.height - i.value.top - i.value.bottom);
|
|
113
|
+
}), Z = c(() => `${M.value}px`), ee = c(() => `${l.value.height - e.value.style.chart.padding.bottom - i.value.top}px`), te = c(() => `${e.value.style.chart.animation.speedMs}ms`), se = c(() => {
|
|
114
|
+
if (a.dataset.colors) {
|
|
115
|
+
if (!a.dataset.colors.from)
|
|
116
|
+
return w(_.value[0] || x[0], F(a.dataset.colors.to), y.value || 10);
|
|
117
|
+
if (!a.dataset.colors.to)
|
|
118
|
+
return w(F(a.dataset.colors.from), _.value[1] || x[1], y.value || 10);
|
|
119
119
|
} else
|
|
120
|
-
return
|
|
121
|
-
return
|
|
120
|
+
return w(_.value[1] || x[1], _.value[0] || x[0], y.value || 10);
|
|
121
|
+
return w(F(a.dataset.colors.from), F(a.dataset.colors.to), y.value || 10);
|
|
122
122
|
}), E = c(() => {
|
|
123
123
|
const s = [];
|
|
124
124
|
let r = 0;
|
|
125
125
|
const t = l.value.height - i.value.top - i.value.bottom;
|
|
126
|
-
for (let u = 0; u < t - 1; u += t /
|
|
126
|
+
for (let u = 0; u < t - 1; u += t / y.value)
|
|
127
127
|
s.push({
|
|
128
128
|
x: l.value.left,
|
|
129
129
|
y: l.value.top + u,
|
|
130
|
-
qYLess: l.value.top + u + t /
|
|
131
|
-
halfY: l.value.top + u + t /
|
|
132
|
-
qYMore: l.value.top + u + t /
|
|
130
|
+
qYLess: l.value.top + u + t / y.value / 4,
|
|
131
|
+
halfY: l.value.top + u + t / y.value / 2,
|
|
132
|
+
qYMore: l.value.top + u + t / y.value / 4 * 3,
|
|
133
133
|
color: se.value[r],
|
|
134
|
-
height: t /
|
|
134
|
+
height: t / y.value
|
|
135
135
|
}), r += 1;
|
|
136
136
|
return s;
|
|
137
|
-
}),
|
|
137
|
+
}), m = p(!1);
|
|
138
138
|
function le(s) {
|
|
139
|
-
|
|
139
|
+
m.value = s, N.value += 1;
|
|
140
140
|
}
|
|
141
141
|
return R({
|
|
142
142
|
generatePdf: G,
|
|
143
143
|
generateImage: V
|
|
144
|
-
}), (s, r) => (
|
|
144
|
+
}), (s, r) => (o(), n("div", {
|
|
145
145
|
ref_key: "thermoChart",
|
|
146
|
-
ref:
|
|
147
|
-
class:
|
|
146
|
+
ref: L,
|
|
147
|
+
class: C(`vue-ui-thermometer ${m.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
148
148
|
style: z(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
|
|
149
149
|
id: `thermometer__${f.value}`
|
|
150
150
|
}, [
|
|
151
|
-
e.value.style.title.text ? (
|
|
152
|
-
he(
|
|
151
|
+
e.value.style.title.text ? (o(), n("div", Me, [
|
|
152
|
+
he(Ce, {
|
|
153
153
|
config: {
|
|
154
154
|
title: {
|
|
155
155
|
cy: "thermometer-div-title",
|
|
@@ -162,57 +162,57 @@ const Ie = ["id"], Ye = {
|
|
|
162
162
|
}
|
|
163
163
|
}, null, 8, ["config"])
|
|
164
164
|
])) : h("", !0),
|
|
165
|
-
e.value.userOptions.show &&
|
|
165
|
+
e.value.userOptions.show && P.value ? (o(), B(Fe, {
|
|
166
166
|
ref: "details",
|
|
167
|
-
key: `user_options_${
|
|
167
|
+
key: `user_options_${N.value}`,
|
|
168
168
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
169
169
|
color: e.value.style.chart.color,
|
|
170
|
-
isImaging:
|
|
171
|
-
isPrinting:
|
|
170
|
+
isImaging: v(T),
|
|
171
|
+
isPrinting: v(S),
|
|
172
172
|
uid: f.value,
|
|
173
173
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
174
174
|
hasImg: e.value.userOptions.buttons.img,
|
|
175
175
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
176
176
|
hasXls: !1,
|
|
177
|
-
isFullscreen:
|
|
177
|
+
isFullscreen: m.value,
|
|
178
178
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
179
|
-
chartElement:
|
|
179
|
+
chartElement: L.value,
|
|
180
180
|
onToggleFullscreen: le,
|
|
181
|
-
onGeneratePdf:
|
|
182
|
-
onGenerateImage:
|
|
181
|
+
onGeneratePdf: v(G),
|
|
182
|
+
onGenerateImage: v(V)
|
|
183
183
|
}, ce({ _: 2 }, [
|
|
184
184
|
s.$slots.optionPdf ? {
|
|
185
185
|
name: "optionPdf",
|
|
186
|
-
fn:
|
|
186
|
+
fn: q(() => [
|
|
187
187
|
k(s.$slots, "optionPdf", {}, void 0, !0)
|
|
188
188
|
]),
|
|
189
189
|
key: "0"
|
|
190
190
|
} : void 0,
|
|
191
191
|
s.$slots.optionImg ? {
|
|
192
192
|
name: "optionImg",
|
|
193
|
-
fn:
|
|
193
|
+
fn: q(() => [
|
|
194
194
|
k(s.$slots, "optionImg", {}, void 0, !0)
|
|
195
195
|
]),
|
|
196
196
|
key: "1"
|
|
197
197
|
} : void 0,
|
|
198
198
|
s.$slots.optionFullscreen ? {
|
|
199
199
|
name: "optionFullscreen",
|
|
200
|
-
fn:
|
|
200
|
+
fn: q(({ toggleFullscreen: t, isFullscreen: u }) => [
|
|
201
201
|
k(s.$slots, "optionFullscreen", j(A({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
|
|
202
202
|
]),
|
|
203
203
|
key: "2"
|
|
204
204
|
} : void 0
|
|
205
205
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : h("", !0),
|
|
206
|
-
|
|
206
|
+
P.value ? (o(), n("svg", {
|
|
207
207
|
key: 2,
|
|
208
|
-
xmlns:
|
|
209
|
-
class:
|
|
208
|
+
xmlns: v(xe),
|
|
209
|
+
class: C({ "vue-data-ui-fullscreen--on": m.value, "vue-data-ui-fulscreen--off": !m.value }),
|
|
210
210
|
width: "100%",
|
|
211
211
|
viewBox: `0 0 ${l.value.width} ${l.value.height}`,
|
|
212
212
|
style: z(`background:${e.value.style.chart.backgroundColor}`)
|
|
213
213
|
}, [
|
|
214
214
|
d("defs", null, [
|
|
215
|
-
d("clipPath",
|
|
215
|
+
d("clipPath", Ue, [
|
|
216
216
|
d("rect", {
|
|
217
217
|
x: "0",
|
|
218
218
|
y: "0",
|
|
@@ -221,9 +221,9 @@ const Ie = ["id"], Ye = {
|
|
|
221
221
|
rx: "0.5",
|
|
222
222
|
ry: "0.07",
|
|
223
223
|
fill: e.value.style.chart.backgroundColor
|
|
224
|
-
}, null, 8,
|
|
224
|
+
}, null, 8, qe)
|
|
225
225
|
]),
|
|
226
|
-
(
|
|
226
|
+
(o(!0), n($, null, D(E.value, (t, u) => (o(), n("linearGradient", {
|
|
227
227
|
id: `vueUiThermometerGradient_${u}_${f.value}`,
|
|
228
228
|
x1: "0%",
|
|
229
229
|
y1: "0%",
|
|
@@ -236,23 +236,23 @@ const Ie = ["id"], Ye = {
|
|
|
236
236
|
}, null, 8, Ne),
|
|
237
237
|
d("stop", {
|
|
238
238
|
offset: "50%",
|
|
239
|
-
"stop-color": `${t.color}${
|
|
239
|
+
"stop-color": `${t.color}${v(be)[100 - e.value.style.chart.graduations.gradient.intensity]}`
|
|
240
240
|
}, null, 8, Se),
|
|
241
241
|
d("stop", {
|
|
242
242
|
offset: "100%",
|
|
243
243
|
"stop-color": t.color
|
|
244
|
-
}, null, 8,
|
|
245
|
-
], 8,
|
|
244
|
+
}, null, 8, Te)
|
|
245
|
+
], 8, Le))), 256))
|
|
246
246
|
]),
|
|
247
|
-
d("g",
|
|
247
|
+
d("g", Ge, [
|
|
248
248
|
d("rect", {
|
|
249
249
|
x: l.value.left,
|
|
250
250
|
y: l.value.top,
|
|
251
251
|
height: l.value.height - i.value.top - i.value.bottom,
|
|
252
252
|
width: l.value.width - i.value.left - i.value.right,
|
|
253
253
|
fill: "#FFFFFF"
|
|
254
|
-
}, null, 8,
|
|
255
|
-
(
|
|
254
|
+
}, null, 8, Ve),
|
|
255
|
+
(o(!0), n($, null, D(E.value, (t, u) => (o(), n("g", {
|
|
256
256
|
key: `graduation_${u}`
|
|
257
257
|
}, [
|
|
258
258
|
d("rect", {
|
|
@@ -262,8 +262,8 @@ const Ie = ["id"], Ye = {
|
|
|
262
262
|
width: l.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
|
|
263
263
|
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${u}_${f.value})` : t.color,
|
|
264
264
|
"shape-rendering": "crispEdges"
|
|
265
|
-
}, null, 8,
|
|
266
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (
|
|
265
|
+
}, null, 8, We),
|
|
266
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (o(), n("line", {
|
|
267
267
|
key: 0,
|
|
268
268
|
x1: t.x,
|
|
269
269
|
x2: t.x + 10,
|
|
@@ -272,9 +272,9 @@ const Ie = ["id"], Ye = {
|
|
|
272
272
|
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
273
273
|
stroke: e.value.style.chart.graduations.stroke,
|
|
274
274
|
"stroke-linecap": "round"
|
|
275
|
-
}, null, 8,
|
|
276
|
-
e.value.style.chart.graduations.showIntermediate ? (
|
|
277
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (
|
|
275
|
+
}, null, 8, Ee)) : h("", !0),
|
|
276
|
+
e.value.style.chart.graduations.showIntermediate ? (o(), n($, { key: 1 }, [
|
|
277
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (o(), n("line", {
|
|
278
278
|
key: 0,
|
|
279
279
|
x1: t.x,
|
|
280
280
|
x2: t.x + 5,
|
|
@@ -283,8 +283,8 @@ const Ie = ["id"], Ye = {
|
|
|
283
283
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
284
284
|
stroke: e.value.style.chart.graduations.stroke,
|
|
285
285
|
"stroke-linecap": "round"
|
|
286
|
-
}, null, 8,
|
|
287
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (
|
|
286
|
+
}, null, 8, ze)) : h("", !0),
|
|
287
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (o(), n("line", {
|
|
288
288
|
key: 1,
|
|
289
289
|
x1: t.x,
|
|
290
290
|
x2: t.x + 2.5,
|
|
@@ -293,8 +293,8 @@ const Ie = ["id"], Ye = {
|
|
|
293
293
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
294
294
|
stroke: e.value.style.chart.graduations.stroke,
|
|
295
295
|
"stroke-linecap": "round"
|
|
296
|
-
}, null, 8,
|
|
297
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (
|
|
296
|
+
}, null, 8, Be)) : h("", !0),
|
|
297
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (o(), n("line", {
|
|
298
298
|
key: 2,
|
|
299
299
|
x1: t.x,
|
|
300
300
|
x2: t.x + 2.5,
|
|
@@ -303,9 +303,9 @@ const Ie = ["id"], Ye = {
|
|
|
303
303
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
304
304
|
stroke: e.value.style.chart.graduations.stroke,
|
|
305
305
|
"stroke-linecap": "round"
|
|
306
|
-
}, null, 8,
|
|
306
|
+
}, null, 8, je)) : h("", !0)
|
|
307
307
|
], 64)) : h("", !0),
|
|
308
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (
|
|
308
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (o(), n("line", {
|
|
309
309
|
key: 2,
|
|
310
310
|
x1: l.value.right,
|
|
311
311
|
x2: l.value.right - 10,
|
|
@@ -314,9 +314,9 @@ const Ie = ["id"], Ye = {
|
|
|
314
314
|
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
315
315
|
stroke: e.value.style.chart.graduations.stroke,
|
|
316
316
|
"stroke-linecap": "round"
|
|
317
|
-
}, null, 8,
|
|
318
|
-
e.value.style.chart.graduations.showIntermediate ? (
|
|
319
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (
|
|
317
|
+
}, null, 8, Ae)) : h("", !0),
|
|
318
|
+
e.value.style.chart.graduations.showIntermediate ? (o(), n($, { key: 3 }, [
|
|
319
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (o(), n("line", {
|
|
320
320
|
key: 0,
|
|
321
321
|
x1: l.value.right,
|
|
322
322
|
x2: l.value.right - 5,
|
|
@@ -325,8 +325,8 @@ const Ie = ["id"], Ye = {
|
|
|
325
325
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
326
326
|
stroke: e.value.style.chart.graduations.stroke,
|
|
327
327
|
"stroke-linecap": "round"
|
|
328
|
-
}, null, 8,
|
|
329
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (
|
|
328
|
+
}, null, 8, De)) : h("", !0),
|
|
329
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (o(), n("line", {
|
|
330
330
|
key: 1,
|
|
331
331
|
x1: l.value.right,
|
|
332
332
|
x2: l.value.right - 2.5,
|
|
@@ -335,8 +335,8 @@ const Ie = ["id"], Ye = {
|
|
|
335
335
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
336
336
|
stroke: e.value.style.chart.graduations.stroke,
|
|
337
337
|
"stroke-linecap": "round"
|
|
338
|
-
}, null, 8,
|
|
339
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (
|
|
338
|
+
}, null, 8, He)) : h("", !0),
|
|
339
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (o(), n("line", {
|
|
340
340
|
key: 2,
|
|
341
341
|
x1: l.value.right,
|
|
342
342
|
x2: l.value.right - 2.5,
|
|
@@ -345,33 +345,43 @@ const Ie = ["id"], Ye = {
|
|
|
345
345
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
346
346
|
stroke: e.value.style.chart.graduations.stroke,
|
|
347
347
|
"stroke-linecap": "round"
|
|
348
|
-
}, null, 8,
|
|
348
|
+
}, null, 8, Xe)) : h("", !0)
|
|
349
349
|
], 64)) : h("", !0)
|
|
350
350
|
]))), 128)),
|
|
351
351
|
d("rect", {
|
|
352
|
-
class:
|
|
352
|
+
class: C({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
|
|
353
353
|
x: l.value.left,
|
|
354
354
|
y: l.value.top,
|
|
355
|
-
height:
|
|
355
|
+
height: M.value,
|
|
356
356
|
width: l.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
|
|
357
357
|
fill: "#FFFFFF66"
|
|
358
|
-
}, null, 10,
|
|
358
|
+
}, null, 10, Re)
|
|
359
359
|
]),
|
|
360
360
|
d("text", {
|
|
361
|
-
class:
|
|
362
|
-
y:
|
|
361
|
+
class: C({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use }),
|
|
362
|
+
y: M.value + l.value.top + e.value.style.chart.label.fontSize / 3,
|
|
363
363
|
x: l.value.left - 10,
|
|
364
364
|
"text-anchor": "end",
|
|
365
365
|
fill: e.value.style.chart.label.color,
|
|
366
366
|
"font-size": e.value.style.chart.label.fontSize,
|
|
367
367
|
"font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
|
|
368
|
-
}, de(
|
|
368
|
+
}, de(v(_e)(
|
|
369
|
+
e.value.style.chart.label.formatter,
|
|
370
|
+
b.dataset.value,
|
|
371
|
+
v(we)({
|
|
372
|
+
p: e.value.style.chart.label.prefix,
|
|
373
|
+
v: b.dataset.value,
|
|
374
|
+
s: e.value.style.chart.label.suffix,
|
|
375
|
+
r: e.value.style.chart.label.rounding
|
|
376
|
+
}),
|
|
377
|
+
{ datapoint: b.dataset }
|
|
378
|
+
)), 11, Je),
|
|
369
379
|
k(s.$slots, "svg", { svg: Q.value }, void 0, !0)
|
|
370
|
-
], 14,
|
|
371
|
-
s.$slots.watermark ? (
|
|
372
|
-
k(s.$slots, "watermark", j(A({ isPrinting:
|
|
380
|
+
], 14, Oe)) : h("", !0),
|
|
381
|
+
s.$slots.watermark ? (o(), n("div", Ke, [
|
|
382
|
+
k(s.$slots, "watermark", j(A({ isPrinting: v(S) || v(T) })), void 0, !0)
|
|
373
383
|
])) : h("", !0),
|
|
374
|
-
|
|
384
|
+
P.value ? h("", !0) : (o(), B(Pe, {
|
|
375
385
|
key: 4,
|
|
376
386
|
config: {
|
|
377
387
|
type: "thermometer",
|
|
@@ -383,9 +393,9 @@ const Ie = ["id"], Ye = {
|
|
|
383
393
|
}
|
|
384
394
|
}
|
|
385
395
|
}, null, 8, ["config"]))
|
|
386
|
-
], 14,
|
|
396
|
+
], 14, Ye));
|
|
387
397
|
}
|
|
388
|
-
},
|
|
398
|
+
}, rt = /* @__PURE__ */ Ie(Qe, [["__scopeId", "data-v-1375e978"]]);
|
|
389
399
|
export {
|
|
390
|
-
|
|
400
|
+
rt as default
|
|
391
401
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),F=require("./useNestedProp-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),F=require("./useNestedProp-Cggpoz7e.cjs"),w=require("./index-hKWfT7Wa.cjs"),z=require("./useResponsive-B3TrDDIG.cjs"),b=require("./BaseIcon-DDCJA3rm.cjs"),H=require("./Title-BU6E8Xld.cjs"),A=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");class L{constructor(N,p,_,T=!0,g=!0){this.interval=p,this.elapsed=0,this.isPaused=!1;const C=`
|
|
2
2
|
let interval;
|
|
3
3
|
let elapsed = 0;
|
|
4
4
|
let paused = false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref as d, onMounted as q, onBeforeUnmount as J, computed as D, openBlock as r, createElementBlock as u, normalizeStyle as f, createVNode as _, createCommentVNode as p, unref as K, createElementVNode as M, mergeProps as E, renderSlot as N, normalizeProps as
|
|
2
|
-
import { u as Y } from "./useNestedProp-
|
|
3
|
-
import { u as Z, c as ee, X as te,
|
|
1
|
+
import { ref as d, onMounted as q, onBeforeUnmount as J, computed as D, openBlock as r, createElementBlock as u, normalizeStyle as f, createVNode as _, createCommentVNode as p, unref as K, createElementVNode as M, mergeProps as E, renderSlot as N, normalizeProps as j, guardReactiveProps as B, toDisplayString as Q } from "vue";
|
|
2
|
+
import { u as Y } from "./useNestedProp-BoNl5H_z.js";
|
|
3
|
+
import { u as Z, c as ee, X as te, C as O } from "./index-BlXzlBwZ.js";
|
|
4
4
|
import { t as ae, u as se } from "./useResponsive-NZB-WLRF.js";
|
|
5
|
-
import x from "./BaseIcon-
|
|
6
|
-
import { _ as le } from "./Title-
|
|
5
|
+
import x from "./BaseIcon-BG_bJS3R.js";
|
|
6
|
+
import { _ as le } from "./Title-eBTH8iGJ.js";
|
|
7
7
|
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
class re {
|
|
9
9
|
constructor(F, w, I, z = !0, C = !0) {
|
|
@@ -332,7 +332,7 @@ const ue = ["xmlns", "viewBox"], ie = { key: 0 }, ne = ["id"], ce = ["stop-color
|
|
|
332
332
|
width: "0.1",
|
|
333
333
|
style: { overflow: "visible" }
|
|
334
334
|
}, [
|
|
335
|
-
N(s.$slots, "time", B(
|
|
335
|
+
N(s.$slots, "time", j(B({ ...i.value })), void 0, !0)
|
|
336
336
|
], 8, we)) : (r(), u("text", {
|
|
337
337
|
key: 4,
|
|
338
338
|
x: t.value.width / 2,
|
|
@@ -426,7 +426,7 @@ const ue = ["xmlns", "viewBox"], ie = { key: 0 }, ne = ["id"], ce = ["stop-color
|
|
|
426
426
|
}, null, 8, ["stroke"])
|
|
427
427
|
], 12, Me)) : p("", !0)
|
|
428
428
|
])),
|
|
429
|
-
N(s.$slots, "controls", B(
|
|
429
|
+
N(s.$slots, "controls", j(B({
|
|
430
430
|
start: R,
|
|
431
431
|
pause: H,
|
|
432
432
|
reset: A,
|
|
@@ -437,7 +437,7 @@ const ue = ["xmlns", "viewBox"], ie = { key: 0 }, ne = ["id"], ce = ["stop-color
|
|
|
437
437
|
isPaused: l.value,
|
|
438
438
|
...i.value
|
|
439
439
|
})), void 0, !0),
|
|
440
|
-
N(s.$slots, "laps", B(
|
|
440
|
+
N(s.$slots, "laps", j(B({
|
|
441
441
|
laps: y.value,
|
|
442
442
|
lap: S,
|
|
443
443
|
isRunning: a.value,
|