vue-data-ui 3.22.7 → 3.22.8
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/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BL9VlHop.js → UserOptions-16uF1ayB.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
- package/dist/{package-DeMimPej.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.js} +20 -20
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +24 -24
- package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
- package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
- package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
- package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
- package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
- package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
- package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
- package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
- package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
- package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
- package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
- package/package.json +1 -1
- package/dist/exposedLib-Be0ifkti.js +0 -19
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
- package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
- package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
- package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
- package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +0 -2010
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
- package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
- package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
- package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
- package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
- package/dist/vue-ui-rating-Bek8Tgr-.js +0 -343
- package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
- package/dist/vue-ui-world-B7npRmTa.js +0 -14264
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { n as
|
|
11
|
-
import { t as
|
|
12
|
-
import { c as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, G as n, J as r, Kt as i, Mt as a, Rt as ee, S as te, Wt as ne, b as o, dt as re, i as ie, kt as ae, t as oe, v as s } from "./lib-JqW18y5I.js";
|
|
3
|
+
import { t as se } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as ce } from "./usePrinter-CqqHmnBI.js";
|
|
5
|
+
import { n as le, t as ue } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
+
import { t as de } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as c } from "./useNestedProp-DIuuzG1r.js";
|
|
8
|
+
import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as pe } from "./img-DnP3eXuv.js";
|
|
10
|
+
import { n as me } from "./Title-CcNiYzEo.js";
|
|
11
|
+
import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { c as ge } from "./canvas-lib-BOP_HS11.js";
|
|
13
|
+
import { t as _e } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
+
import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
+
import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
+
import { t as be } from "./useAutoSizeLabelsInsideViewbox-BGnDfZdg.js";
|
|
17
|
+
import { t as xe } from "./usePrefersMotion-BC-CsqR1.js";
|
|
18
|
+
import { t as Se } from "./vue_ui_thermometer-DxgqWKlE.js";
|
|
19
|
+
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ce, createVNode as we, defineAsyncComponent as h, guardReactiveProps as g, nextTick as Te, normalizeClass as _, normalizeProps as v, normalizeStyle as Ee, onMounted as De, openBlock as y, ref as b, renderList as Oe, renderSlot as x, toDisplayString as S, toRefs as ke, unref as C, useCssVars as Ae, watch as je, withCtx as w } from "vue";
|
|
20
20
|
//#region src/components/vue-ui-thermometer.vue
|
|
21
21
|
var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
22
22
|
key: 1,
|
|
@@ -120,7 +120,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
120
120
|
], ot = {
|
|
121
121
|
key: 4,
|
|
122
122
|
class: "vue-data-ui-watermark"
|
|
123
|
-
}, T = /*#__PURE__*/
|
|
123
|
+
}, T = /*#__PURE__*/ he({
|
|
124
124
|
__name: "vue-ui-thermometer",
|
|
125
125
|
props: {
|
|
126
126
|
dataset: {
|
|
@@ -137,17 +137,17 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
emits: ["copyAlt"],
|
|
140
|
-
setup(e, { expose:
|
|
140
|
+
setup(e, { expose: he, emit: Me }) {
|
|
141
141
|
Ae((e) => ({
|
|
142
142
|
v0233847b: Nt.value,
|
|
143
143
|
v30de9373: Mt.value,
|
|
144
144
|
v105f2dc0: jt.value
|
|
145
145
|
}));
|
|
146
|
-
let T =
|
|
146
|
+
let T = h(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), st = h(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), ct = h(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), { vue_ui_thermometer: lt } = se(), { isThemeValid: ut, warnInvalidTheme: dt } = fe(), ft = xe(), E = e, pt = Me, D = b(n()), O = b(null), mt = b(0), ht = b(0), gt = b(null), _t = b(null), k = b(null), A = b(null), j = b(!1), M = b(!1), vt = u(() => !!E.dataset && Object.keys(E.dataset).length);
|
|
147
147
|
De(() => {
|
|
148
148
|
Ct();
|
|
149
149
|
});
|
|
150
|
-
let N = b(B()), yt = b(N.value.style.chart.thermometer.width), P = b(N.value.style.chart.height), F = b(N.value.style.chart.width), bt =
|
|
150
|
+
let N = b(B()), yt = b(N.value.style.chart.thermometer.width), P = b(N.value.style.chart.height), F = b(N.value.style.chart.width), bt = u(() => N.value.userOptions.useCursorPointer), xt = u(() => i({
|
|
151
151
|
defaultConfig: {
|
|
152
152
|
userOptions: { show: !1 },
|
|
153
153
|
style: { chart: {
|
|
@@ -157,7 +157,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
157
157
|
} }
|
|
158
158
|
},
|
|
159
159
|
userConfig: N.value.skeletonConfig ?? {}
|
|
160
|
-
})), { loading: I, FINAL_DATASET: L } =
|
|
160
|
+
})), { loading: I, FINAL_DATASET: L } = le({
|
|
161
161
|
...ke(E),
|
|
162
162
|
FINAL_CONFIG: N,
|
|
163
163
|
prepareConfig: B,
|
|
@@ -171,17 +171,17 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
171
171
|
to: "#CACACA"
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
|
-
skeletonConfig:
|
|
174
|
+
skeletonConfig: i({
|
|
175
175
|
defaultConfig: N.value,
|
|
176
176
|
userConfig: xt.value
|
|
177
177
|
})
|
|
178
|
-
}), St =
|
|
178
|
+
}), St = u(() => !!N.value.debug);
|
|
179
179
|
function Ct() {
|
|
180
|
-
if (
|
|
180
|
+
if (ae(E.dataset) ? t({
|
|
181
181
|
componentName: "VueUiThermometer",
|
|
182
182
|
type: "dataset",
|
|
183
183
|
debug: St.value
|
|
184
|
-
}) :
|
|
184
|
+
}) : re({
|
|
185
185
|
datasetObject: E.dataset,
|
|
186
186
|
requiredAttributes: [
|
|
187
187
|
"value",
|
|
@@ -189,15 +189,15 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
189
189
|
"to"
|
|
190
190
|
]
|
|
191
191
|
}).forEach((e) => {
|
|
192
|
-
|
|
192
|
+
t({
|
|
193
193
|
componentName: "VueUiThermometer",
|
|
194
194
|
type: "datasetAttribute",
|
|
195
195
|
property: e,
|
|
196
196
|
debug: St.value
|
|
197
197
|
});
|
|
198
198
|
}), N.value.responsive) {
|
|
199
|
-
let e =
|
|
200
|
-
let { width: e, height: t } =
|
|
199
|
+
let e = ge(() => {
|
|
200
|
+
let { width: e, height: t } = _e({
|
|
201
201
|
chart: O.value,
|
|
202
202
|
title: N.value.style.title.text ? gt.value : null,
|
|
203
203
|
source: _t.value
|
|
@@ -210,39 +210,39 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
210
210
|
}
|
|
211
211
|
Rt();
|
|
212
212
|
}
|
|
213
|
-
let { userOptionsVisible: R, setUserOptionsVisibility: wt, keepUserOptionState: Tt } =
|
|
213
|
+
let { userOptionsVisible: R, setUserOptionsVisibility: wt, keepUserOptionState: Tt } = ve({ config: N.value }), { svgRef: z } = ye({ config: N.value.style.title });
|
|
214
214
|
function B() {
|
|
215
|
-
let e =
|
|
215
|
+
let e = c({
|
|
216
216
|
userConfig: E.config,
|
|
217
217
|
defaultConfig: lt
|
|
218
218
|
}), t = e.theme;
|
|
219
219
|
if (!t) return e;
|
|
220
220
|
if (!ut.value(e)) return dt(e), e;
|
|
221
|
-
let n =
|
|
222
|
-
userConfig:
|
|
221
|
+
let n = c({
|
|
222
|
+
userConfig: Se[t] || E.config,
|
|
223
223
|
defaultConfig: e
|
|
224
|
-
}), r =
|
|
224
|
+
}), r = c({
|
|
225
225
|
userConfig: E.config,
|
|
226
226
|
defaultConfig: n
|
|
227
227
|
});
|
|
228
228
|
return {
|
|
229
229
|
...r,
|
|
230
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
230
|
+
customPalette: r.customPalette.length ? r.customPalette : ne[t] || a
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
je(() => E.config, (e) => {
|
|
234
234
|
N.value = B(), R.value = !N.value.userOptions.showOnChartHover, yt.value = N.value.style.chart.thermometer.width, P.value = N.value.style.chart.height, F.value = N.value.style.chart.width, Ct(), ht.value += 1;
|
|
235
235
|
}, { deep: !0 });
|
|
236
|
-
let { isPrinting: V, isImaging: H, generatePdf: Et, generateImage: Dt } =
|
|
236
|
+
let { isPrinting: V, isImaging: H, generatePdf: Et, generateImage: Dt } = ce({
|
|
237
237
|
elementId: `thermometer__${D.value}`,
|
|
238
238
|
fileName: N.value.style.title.text || "vue-ui-thermometer",
|
|
239
239
|
options: N.value.userOptions.print
|
|
240
|
-
}), Ot =
|
|
240
|
+
}), Ot = u(() => N.value.userOptions.show && !N.value.style.title.text), U = u(() => te(N.value.customPalette)), W = u(() => L.value.steps || 10);
|
|
241
241
|
function G(e, t, n) {
|
|
242
242
|
let r = [], i = kt(e), a = kt(t);
|
|
243
243
|
for (let e = 0; e < n; e += 1) {
|
|
244
|
-
let t = K(i.red, a.red, e, n), ee = K(i.green, a.green, e, n), te = K(i.blue, a.blue, e, n),
|
|
245
|
-
r.push(
|
|
244
|
+
let t = K(i.red, a.red, e, n), ee = K(i.green, a.green, e, n), te = K(i.blue, a.blue, e, n), ne = `#${q(t)}${q(ee)}${q(te)}`;
|
|
245
|
+
r.push(ne);
|
|
246
246
|
}
|
|
247
247
|
return r;
|
|
248
248
|
}
|
|
@@ -260,7 +260,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
260
260
|
function q(e) {
|
|
261
261
|
return e.toString(16).padStart(2, "0");
|
|
262
262
|
}
|
|
263
|
-
let J =
|
|
263
|
+
let J = u(() => {
|
|
264
264
|
let e = Math.max(.1, F.value), t = Math.max(.1, P.value), n = N.value.style.chart.padding;
|
|
265
265
|
return {
|
|
266
266
|
width: e,
|
|
@@ -272,16 +272,16 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
272
272
|
thermoHeight: t - n.top - n.bottom,
|
|
273
273
|
thermoWidth: N.value.style.chart.thermometer.width
|
|
274
274
|
};
|
|
275
|
-
}), At =
|
|
276
|
-
let e =
|
|
277
|
-
return n =
|
|
278
|
-
}), jt =
|
|
275
|
+
}), At = u(() => J.value), Y = u(() => {
|
|
276
|
+
let e = s(L.value.from) < 0 ? Math.abs(s(L.value.from)) : s(L.value.from), t = s(L.value.to) < 0 ? Math.abs(s(L.value.to)) : s(L.value.to), n = 0;
|
|
277
|
+
return n = s(L.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(s(L.value.from)) + s(L.value.value)) / n) * J.value.thermoHeight;
|
|
278
|
+
}), jt = u(() => `${Y.value}px`), Mt = u(() => `${J.value.thermoHeight}px`), Nt = u(() => ft.value ? "0ms" : `${N.value.style.chart.animation.speedMs}ms`), Pt = u(() => {
|
|
279
279
|
if (L.value.colors) {
|
|
280
|
-
if (!L.value.colors.from) return G(U.value[0] ||
|
|
281
|
-
if (!L.value.colors.to) return G(o(L.value.colors.from), U.value[1] ||
|
|
282
|
-
} else return G(U.value[1] ||
|
|
280
|
+
if (!L.value.colors.from) return G(U.value[0] || a[0], o(L.value.colors.to), W.value || 10);
|
|
281
|
+
if (!L.value.colors.to) return G(o(L.value.colors.from), U.value[1] || a[1], W.value || 10);
|
|
282
|
+
} else return G(U.value[1] || a[1], U.value[0] || a[0], W.value || 10);
|
|
283
283
|
return G(o(L.value.colors.from), o(L.value.colors.to), W.value || 10);
|
|
284
|
-
}), Ft =
|
|
284
|
+
}), Ft = u(() => {
|
|
285
285
|
let e = [], t = 0, n = J.value.thermoHeight;
|
|
286
286
|
for (let r = 0; r < n - 1; r += n / W.value) e.push({
|
|
287
287
|
x: J.value.left,
|
|
@@ -303,7 +303,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
303
303
|
}
|
|
304
304
|
async function Lt({ scale: e = 2 } = {}) {
|
|
305
305
|
if (!O.value) return;
|
|
306
|
-
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
306
|
+
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
|
|
307
307
|
domElement: O.value,
|
|
308
308
|
base64: !0,
|
|
309
309
|
img: !0,
|
|
@@ -318,18 +318,18 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
318
318
|
aspectRatio: r
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
-
let $ =
|
|
321
|
+
let $ = u({
|
|
322
322
|
get: () => N.value.style.chart.label.fontSize,
|
|
323
323
|
set: (e) => e
|
|
324
|
-
}), { autoSizeLabels: Rt } =
|
|
324
|
+
}), { autoSizeLabels: Rt } = be({
|
|
325
325
|
svgRef: z,
|
|
326
326
|
fontSize: N.value.style.chart.label.fontSize,
|
|
327
327
|
minFontSize: N.value.style.chart.label.minFontSize,
|
|
328
328
|
sizeRef: $,
|
|
329
329
|
labelClass: ".vue-ui-thermometer-label"
|
|
330
|
-
}), zt =
|
|
330
|
+
}), zt = u(() => N.value.style.chart.backgroundColor), { exportSvg: Bt, getSvg: Vt } = de({
|
|
331
331
|
svg: z,
|
|
332
|
-
title:
|
|
332
|
+
title: u(() => N.value.style.title),
|
|
333
333
|
backgroundColor: zt
|
|
334
334
|
});
|
|
335
335
|
async function Ht({ isCb: e }) {
|
|
@@ -372,17 +372,17 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
372
372
|
dataset: L.value
|
|
373
373
|
}));
|
|
374
374
|
}
|
|
375
|
-
let Gt =
|
|
375
|
+
let Gt = u(() => `${D.value}-title`), Kt = u(() => `${D.value}-desc`), qt = u(() => ie(N.value.style.chart.label.formatter, L.value.value, r({
|
|
376
376
|
p: N.value.style.chart.label.prefix,
|
|
377
377
|
v: L.value.value,
|
|
378
378
|
s: N.value.style.chart.label.suffix,
|
|
379
379
|
r: N.value.style.chart.label.rounding
|
|
380
|
-
}), { datapoint: L.value })), Jt =
|
|
380
|
+
}), { datapoint: L.value })), Jt = u(() => N.value.style.title.text || ""), Yt = u(() => {
|
|
381
381
|
if (I.value) return "...";
|
|
382
|
-
let e =
|
|
382
|
+
let e = s(L.value.from), t = s(L.value.to);
|
|
383
383
|
return `Thermometer value: ${qt.value}. Range: ${e} to ${t}.`;
|
|
384
384
|
});
|
|
385
|
-
return
|
|
385
|
+
return he({
|
|
386
386
|
getImage: Lt,
|
|
387
387
|
generatePdf: Et,
|
|
388
388
|
generateImage: Dt,
|
|
@@ -390,7 +390,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
390
390
|
toggleAnnotator: Q,
|
|
391
391
|
toggleFullscreen: It,
|
|
392
392
|
copyAlt: Wt
|
|
393
|
-
}), (e, t) => (y(),
|
|
393
|
+
}), (e, t) => (y(), p("div", {
|
|
394
394
|
ref_key: "thermoChart",
|
|
395
395
|
ref: O,
|
|
396
396
|
class: _(`vue-data-ui-component vue-ui-thermometer ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
@@ -399,7 +399,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
399
399
|
onMouseenter: t[0] ||= () => C(wt)(!0),
|
|
400
400
|
onMouseleave: t[1] ||= () => C(wt)(!1)
|
|
401
401
|
}, [
|
|
402
|
-
N.value.userOptions.buttons.annotator ? (y(),
|
|
402
|
+
N.value.userOptions.buttons.annotator ? (y(), d(C(st), {
|
|
403
403
|
key: 0,
|
|
404
404
|
svgRef: C(z),
|
|
405
405
|
backgroundColor: N.value.style.chart.backgroundColor,
|
|
@@ -421,14 +421,14 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
421
421
|
"color",
|
|
422
422
|
"active",
|
|
423
423
|
"isCursorPointer"
|
|
424
|
-
])) :
|
|
425
|
-
Ot.value ? (y(),
|
|
426
|
-
N.value.style.title.text ? (y(),
|
|
424
|
+
])) : f("", !0),
|
|
425
|
+
Ot.value ? (y(), p("div", Pe, null, 512)) : f("", !0),
|
|
426
|
+
N.value.style.title.text ? (y(), p("div", {
|
|
427
427
|
key: 2,
|
|
428
428
|
ref_key: "chartTitle",
|
|
429
429
|
ref: gt,
|
|
430
430
|
style: "width:100%"
|
|
431
|
-
}, [(y(),
|
|
431
|
+
}, [(y(), d(me, {
|
|
432
432
|
key: `title_${ht.value}`,
|
|
433
433
|
config: {
|
|
434
434
|
title: {
|
|
@@ -440,8 +440,8 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
440
440
|
...N.value.style.title.subtitle
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
}, null, 8, ["config"]))], 512)) :
|
|
444
|
-
N.value.userOptions.show && vt.value && (C(Tt) || C(R)) ? (y(),
|
|
443
|
+
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
444
|
+
N.value.userOptions.show && vt.value && (C(Tt) || C(R)) ? (y(), d(C(ct), {
|
|
445
445
|
ref: "details",
|
|
446
446
|
key: `user_options_${mt.value}`,
|
|
447
447
|
backgroundColor: N.value.style.chart.backgroundColor,
|
|
@@ -471,7 +471,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
471
471
|
onToggleAnnotator: Q,
|
|
472
472
|
onCopyAlt: Wt,
|
|
473
473
|
style: Ee({ visibility: C(Tt) ? C(R) ? "visible" : "hidden" : "visible" })
|
|
474
|
-
},
|
|
474
|
+
}, Ce({ _: 2 }, [
|
|
475
475
|
e.$slots.menuIcon ? {
|
|
476
476
|
name: "menuIcon",
|
|
477
477
|
fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", v(g({
|
|
@@ -548,11 +548,11 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
548
548
|
"isCursorPointer",
|
|
549
549
|
"onGeneratePdf",
|
|
550
550
|
"style"
|
|
551
|
-
])) :
|
|
552
|
-
(y(),
|
|
551
|
+
])) : f("", !0),
|
|
552
|
+
(y(), p("svg", {
|
|
553
553
|
ref_key: "svgRef",
|
|
554
554
|
ref: z,
|
|
555
|
-
xmlns: C(
|
|
555
|
+
xmlns: C(oe),
|
|
556
556
|
class: _({
|
|
557
557
|
"vue-data-ui-fullscreen--on": X.value,
|
|
558
558
|
"vue-data-ui-fulscreen--off": !X.value
|
|
@@ -563,57 +563,57 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
563
563
|
"aria-labelledby": Gt.value,
|
|
564
564
|
"aria-describedby": Kt.value
|
|
565
565
|
}, [
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
e.$slots["chart-background"] ? (y(),
|
|
566
|
+
m("title", { id: Gt.value }, S(Jt.value), 9, Ie),
|
|
567
|
+
m("desc", { id: Kt.value }, S(Yt.value), 9, Le),
|
|
568
|
+
we(C(T)),
|
|
569
|
+
e.$slots["chart-background"] ? (y(), p("foreignObject", {
|
|
570
570
|
key: 0,
|
|
571
571
|
x: 0,
|
|
572
572
|
y: 0,
|
|
573
573
|
width: J.value.width,
|
|
574
574
|
height: J.value.height,
|
|
575
575
|
style: { pointerEvents: "none" }
|
|
576
|
-
}, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Re)) :
|
|
577
|
-
|
|
576
|
+
}, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Re)) : f("", !0),
|
|
577
|
+
m("defs", null, [m("clipPath", {
|
|
578
578
|
id: `vueUiPill-${D.value}`,
|
|
579
579
|
clipPathUnits: "userSpaceOnUse"
|
|
580
|
-
}, [
|
|
580
|
+
}, [m("rect", {
|
|
581
581
|
x: J.value.left,
|
|
582
582
|
y: J.value.top,
|
|
583
583
|
width: J.value.thermoWidth,
|
|
584
584
|
height: J.value.thermoHeight,
|
|
585
585
|
rx: J.value.thermoWidth / 2,
|
|
586
586
|
ry: J.value.thermoWidth / 2
|
|
587
|
-
}, null, 8, Be)], 8, ze), (y(!0),
|
|
587
|
+
}, null, 8, Be)], 8, ze), (y(!0), p(l, null, Oe(Ft.value, (e, t) => (y(), p("linearGradient", {
|
|
588
588
|
id: `vueUiThermometerGradient_${t}_${D.value}`,
|
|
589
589
|
x1: "0%",
|
|
590
590
|
y1: "0%",
|
|
591
591
|
x2: "100%",
|
|
592
592
|
y2: "0%"
|
|
593
593
|
}, [
|
|
594
|
-
|
|
594
|
+
m("stop", {
|
|
595
595
|
offset: "0%",
|
|
596
596
|
"stop-color": e.color
|
|
597
597
|
}, null, 8, He),
|
|
598
|
-
|
|
598
|
+
m("stop", {
|
|
599
599
|
offset: "50%",
|
|
600
|
-
"stop-color": C(
|
|
600
|
+
"stop-color": C(ee)(e.color, 100 - N.value.style.chart.graduations.gradient.intensity)
|
|
601
601
|
}, null, 8, Ue),
|
|
602
|
-
|
|
602
|
+
m("stop", {
|
|
603
603
|
offset: "100%",
|
|
604
604
|
"stop-color": e.color
|
|
605
605
|
}, null, 8, We)
|
|
606
606
|
], 8, Ve))), 256))]),
|
|
607
|
-
|
|
608
|
-
|
|
607
|
+
m("g", { "clip-path": `url(#vueUiPill-${D.value})` }, [
|
|
608
|
+
m("rect", {
|
|
609
609
|
x: J.value.left,
|
|
610
610
|
y: J.value.top,
|
|
611
611
|
height: J.value.thermoHeight,
|
|
612
612
|
width: J.value.thermoWidth,
|
|
613
613
|
fill: "#FFFFFF"
|
|
614
614
|
}, null, 8, Ke),
|
|
615
|
-
(y(!0),
|
|
616
|
-
|
|
615
|
+
(y(!0), p(l, null, Oe(Ft.value, (e, t) => (y(), p("g", { key: `graduation_${t}` }, [
|
|
616
|
+
m("rect", {
|
|
617
617
|
x: e.x,
|
|
618
618
|
y: e.y,
|
|
619
619
|
height: e.height,
|
|
@@ -621,7 +621,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
621
621
|
fill: N.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${t}_${D.value})` : e.color,
|
|
622
622
|
"shape-rendering": "crispEdges"
|
|
623
623
|
}, null, 8, qe),
|
|
624
|
-
N.value.style.chart.graduations.show && ["both", "left"].includes(N.value.style.chart.graduations.sides) ? (y(),
|
|
624
|
+
N.value.style.chart.graduations.show && ["both", "left"].includes(N.value.style.chart.graduations.sides) ? (y(), p("line", {
|
|
625
625
|
key: 0,
|
|
626
626
|
x1: e.x,
|
|
627
627
|
x2: e.x + 10,
|
|
@@ -630,9 +630,9 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
630
630
|
"stroke-width": N.value.style.chart.graduations.strokeWidth,
|
|
631
631
|
stroke: N.value.style.chart.graduations.stroke,
|
|
632
632
|
"stroke-linecap": "round"
|
|
633
|
-
}, null, 8, Je)) :
|
|
634
|
-
N.value.style.chart.graduations.showIntermediate ? (y(),
|
|
635
|
-
N.value.style.chart.graduations.show && ["both", "left"].includes(N.value.style.chart.graduations.sides) ? (y(),
|
|
633
|
+
}, null, 8, Je)) : f("", !0),
|
|
634
|
+
N.value.style.chart.graduations.showIntermediate ? (y(), p(l, { key: 1 }, [
|
|
635
|
+
N.value.style.chart.graduations.show && ["both", "left"].includes(N.value.style.chart.graduations.sides) ? (y(), p("line", {
|
|
636
636
|
key: 0,
|
|
637
637
|
x1: e.x,
|
|
638
638
|
x2: e.x + 5,
|
|
@@ -641,8 +641,8 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
641
641
|
"stroke-width": N.value.style.chart.graduations.strokeWidth / 2,
|
|
642
642
|
stroke: N.value.style.chart.graduations.stroke,
|
|
643
643
|
"stroke-linecap": "round"
|
|
644
|
-
}, null, 8, Ye)) :
|
|
645
|
-
N.value.style.chart.graduations.show && ["both", "left"].includes(N.value.style.chart.graduations.sides) ? (y(),
|
|
644
|
+
}, null, 8, Ye)) : f("", !0),
|
|
645
|
+
N.value.style.chart.graduations.show && ["both", "left"].includes(N.value.style.chart.graduations.sides) ? (y(), p("line", {
|
|
646
646
|
key: 1,
|
|
647
647
|
x1: e.x,
|
|
648
648
|
x2: e.x + 2.5,
|
|
@@ -651,8 +651,8 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
651
651
|
"stroke-width": N.value.style.chart.graduations.strokeWidth / 2,
|
|
652
652
|
stroke: N.value.style.chart.graduations.stroke,
|
|
653
653
|
"stroke-linecap": "round"
|
|
654
|
-
}, null, 8, Xe)) :
|
|
655
|
-
N.value.style.chart.graduations.show && ["both", "left"].includes(N.value.style.chart.graduations.sides) ? (y(),
|
|
654
|
+
}, null, 8, Xe)) : f("", !0),
|
|
655
|
+
N.value.style.chart.graduations.show && ["both", "left"].includes(N.value.style.chart.graduations.sides) ? (y(), p("line", {
|
|
656
656
|
key: 2,
|
|
657
657
|
x1: e.x,
|
|
658
658
|
x2: e.x + 2.5,
|
|
@@ -661,9 +661,9 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
661
661
|
"stroke-width": N.value.style.chart.graduations.strokeWidth / 2,
|
|
662
662
|
stroke: N.value.style.chart.graduations.stroke,
|
|
663
663
|
"stroke-linecap": "round"
|
|
664
|
-
}, null, 8, Ze)) :
|
|
665
|
-
], 64)) :
|
|
666
|
-
N.value.style.chart.graduations.show && ["both", "right"].includes(N.value.style.chart.graduations.sides) ? (y(),
|
|
664
|
+
}, null, 8, Ze)) : f("", !0)
|
|
665
|
+
], 64)) : f("", !0),
|
|
666
|
+
N.value.style.chart.graduations.show && ["both", "right"].includes(N.value.style.chart.graduations.sides) ? (y(), p("line", {
|
|
667
667
|
key: 2,
|
|
668
668
|
x1: J.value.right,
|
|
669
669
|
x2: J.value.right - 10,
|
|
@@ -672,9 +672,9 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
672
672
|
"stroke-width": N.value.style.chart.graduations.strokeWidth,
|
|
673
673
|
stroke: N.value.style.chart.graduations.stroke,
|
|
674
674
|
"stroke-linecap": "round"
|
|
675
|
-
}, null, 8, Qe)) :
|
|
676
|
-
N.value.style.chart.graduations.showIntermediate ? (y(),
|
|
677
|
-
N.value.style.chart.graduations.show && ["both", "right"].includes(N.value.style.chart.graduations.sides) ? (y(),
|
|
675
|
+
}, null, 8, Qe)) : f("", !0),
|
|
676
|
+
N.value.style.chart.graduations.showIntermediate ? (y(), p(l, { key: 3 }, [
|
|
677
|
+
N.value.style.chart.graduations.show && ["both", "right"].includes(N.value.style.chart.graduations.sides) ? (y(), p("line", {
|
|
678
678
|
key: 0,
|
|
679
679
|
x1: J.value.right,
|
|
680
680
|
x2: J.value.right - 5,
|
|
@@ -683,8 +683,8 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
683
683
|
"stroke-width": N.value.style.chart.graduations.strokeWidth / 2,
|
|
684
684
|
stroke: N.value.style.chart.graduations.stroke,
|
|
685
685
|
"stroke-linecap": "round"
|
|
686
|
-
}, null, 8, $e)) :
|
|
687
|
-
N.value.style.chart.graduations.show && ["both", "right"].includes(N.value.style.chart.graduations.sides) ? (y(),
|
|
686
|
+
}, null, 8, $e)) : f("", !0),
|
|
687
|
+
N.value.style.chart.graduations.show && ["both", "right"].includes(N.value.style.chart.graduations.sides) ? (y(), p("line", {
|
|
688
688
|
key: 1,
|
|
689
689
|
x1: J.value.right,
|
|
690
690
|
x2: J.value.right - 2.5,
|
|
@@ -693,8 +693,8 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
693
693
|
"stroke-width": N.value.style.chart.graduations.strokeWidth / 2,
|
|
694
694
|
stroke: N.value.style.chart.graduations.stroke,
|
|
695
695
|
"stroke-linecap": "round"
|
|
696
|
-
}, null, 8, et)) :
|
|
697
|
-
N.value.style.chart.graduations.show && ["both", "right"].includes(N.value.style.chart.graduations.sides) ? (y(),
|
|
696
|
+
}, null, 8, et)) : f("", !0),
|
|
697
|
+
N.value.style.chart.graduations.show && ["both", "right"].includes(N.value.style.chart.graduations.sides) ? (y(), p("line", {
|
|
698
698
|
key: 2,
|
|
699
699
|
x1: J.value.right,
|
|
700
700
|
x2: J.value.right - 2.5,
|
|
@@ -703,10 +703,10 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
703
703
|
"stroke-width": N.value.style.chart.graduations.strokeWidth / 2,
|
|
704
704
|
stroke: N.value.style.chart.graduations.stroke,
|
|
705
705
|
"stroke-linecap": "round"
|
|
706
|
-
}, null, 8, tt)) :
|
|
707
|
-
], 64)) :
|
|
706
|
+
}, null, 8, tt)) : f("", !0)
|
|
707
|
+
], 64)) : f("", !0)
|
|
708
708
|
]))), 128)),
|
|
709
|
-
|
|
709
|
+
m("rect", {
|
|
710
710
|
class: _({ "vue-ui-thermometer-temperature": N.value.style.chart.animation.use }),
|
|
711
711
|
x: J.value.left,
|
|
712
712
|
y: J.value.top,
|
|
@@ -715,12 +715,12 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
715
715
|
fill: "#FFFFFF66"
|
|
716
716
|
}, null, 10, nt)
|
|
717
717
|
], 8, Ge),
|
|
718
|
-
N.value.style.chart.label.show ? (y(),
|
|
718
|
+
N.value.style.chart.label.show ? (y(), p("g", {
|
|
719
719
|
key: 1,
|
|
720
720
|
role: "status",
|
|
721
721
|
"aria-live": "polite",
|
|
722
722
|
"aria-label": C(I) ? "Loading data" : qt.value
|
|
723
|
-
}, [C(I) ? (y(),
|
|
723
|
+
}, [C(I) ? (y(), p("rect", {
|
|
724
724
|
key: 0,
|
|
725
725
|
x: J.value.left - 60,
|
|
726
726
|
y: Y.value + J.value.top - $.value / 2,
|
|
@@ -728,7 +728,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
728
728
|
height: $.value,
|
|
729
729
|
fill: "#6A6A6A40",
|
|
730
730
|
rx: "3"
|
|
731
|
-
}, null, 8, it)) : (y(),
|
|
731
|
+
}, null, 8, it)) : (y(), p("text", {
|
|
732
732
|
key: 1,
|
|
733
733
|
"aria-hidden": "true",
|
|
734
734
|
class: _({
|
|
@@ -741,21 +741,21 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
741
741
|
fill: N.value.style.chart.label.color,
|
|
742
742
|
"font-size": $.value,
|
|
743
743
|
"font-weight": N.value.style.chart.label.bold ? "bold" : "normal"
|
|
744
|
-
}, S(qt.value), 11, at))], 8, rt)) :
|
|
744
|
+
}, S(qt.value), 11, at))], 8, rt)) : f("", !0),
|
|
745
745
|
x(e.$slots, "svg", { svg: {
|
|
746
746
|
...At.value,
|
|
747
747
|
isPrintingImg: C(V) || C(H) || j.value,
|
|
748
748
|
isPrintingSvg: M.value
|
|
749
749
|
} }, void 0, !0)
|
|
750
750
|
], 10, Fe)),
|
|
751
|
-
e.$slots.watermark ? (y(),
|
|
752
|
-
e.$slots.source ? (y(),
|
|
751
|
+
e.$slots.watermark ? (y(), p("div", ot, [x(e.$slots, "watermark", v(g({ isPrinting: C(V) || C(H) || j.value || M.value })), void 0, !0)])) : f("", !0),
|
|
752
|
+
e.$slots.source ? (y(), p("div", {
|
|
753
753
|
key: 5,
|
|
754
754
|
ref_key: "source",
|
|
755
755
|
ref: _t,
|
|
756
756
|
dir: "auto"
|
|
757
|
-
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) :
|
|
758
|
-
x(e.$slots, "skeleton", {}, () => [C(I) ? (y(),
|
|
757
|
+
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
758
|
+
x(e.$slots, "skeleton", {}, () => [C(I) ? (y(), d(ue, { key: 0 })) : f("", !0)], !0)
|
|
759
759
|
], 46, Ne));
|
|
760
760
|
}
|
|
761
761
|
}, [["__scopeId", "data-v-c1de98e8"]]);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { G as t, Gt as n, t as r } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as i } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as a } from "./useNestedProp-
|
|
5
|
-
import { n as o } from "./Title-
|
|
4
|
+
import { t as a } from "./useNestedProp-DIuuzG1r.js";
|
|
5
|
+
import { n as o } from "./Title-CcNiYzEo.js";
|
|
6
6
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { c } from "./canvas-lib-BOP_HS11.js";
|
|
8
8
|
import { t as ee } from "./useResponsive-BfnK0KxU.js";
|
|
9
|
-
import { t as l } from "./BaseIcon-
|
|
9
|
+
import { t as l } from "./BaseIcon-C2qlyHc7.js";
|
|
10
10
|
import { t as te } from "./useChartAccessibility-DYqac8yF.js";
|
|
11
11
|
import { computed as u, createBlock as ne, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineAsyncComponent as re, guardReactiveProps as h, mergeProps as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as ie, onMounted as ae, openBlock as y, ref as b, renderSlot as x, shallowRef as S, toDisplayString as oe, unref as C, watch as se } from "vue";
|
|
12
12
|
//#region src/timer.js
|
|
@@ -102,7 +102,7 @@ var ce = class {
|
|
|
102
102
|
"lap"
|
|
103
103
|
],
|
|
104
104
|
setup(e, { expose: s, emit: w }) {
|
|
105
|
-
let E = re(() => import("./PackageVersion-
|
|
105
|
+
let E = re(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), { vue_ui_timer: De } = i(), D = e, O = w, k = b(null), A = b(null), j = b(null), M = S(null), N = S(null), P = b(t()), F = b(0);
|
|
106
106
|
ae(() => {
|
|
107
107
|
I();
|
|
108
108
|
});
|