vue-data-ui 3.5.2 → 3.7.0

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.
Files changed (199) hide show
  1. package/README.md +36 -27
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ymf2sfB8.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-BmMbm4d0.js → BaseIcon-CofSxalQ.js} +6 -5
  5. package/dist/{ColorPicker-ChuwChMo.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-BT7VF2ua.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-G6GMcdAc.js → Legend-Web3GjlR.js} +10 -10
  8. package/dist/{NonSvgPenAndPaper-DVgKKLIf.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-Y7t79Jtq.js → PackageVersion-Bq_mtsqr.js} +1 -1
  10. package/dist/{PenAndPaper-SZQIAgkg.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-D2wm0coO.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-ij72TAs6.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-BzH_LEA3.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-CGnQt6Fd.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +5 -0
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +303 -9
  90. package/dist/types/vue-ui-stackline.d.ts +18 -0
  91. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  92. package/dist/{useNestedProp-CReNavA0.js → useNestedProp-CWo6bftQ.js} +535 -329
  93. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  94. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  95. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  96. package/dist/{vue-data-ui-BRaq4hRp.js → vue-data-ui-ByLTJx5V.js} +79 -77
  97. package/dist/vue-data-ui.js +226 -204
  98. package/dist/{vue-ui-3d-bar-BB4ii8Nt.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
  99. package/dist/{vue-ui-accordion-BmFTVF1a.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  100. package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
  101. package/dist/{vue-ui-annotator-CcpaXBNK.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  102. package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
  103. package/dist/{vue-ui-candlestick-CMP7UL6z.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
  104. package/dist/{vue-ui-carousel-table-CzOcKsDj.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
  105. package/dist/{vue-ui-chestnut-S787oASt.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
  106. package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
  107. package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
  108. package/dist/{vue-ui-cursor-C3yD_TUr.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  109. package/dist/{vue-ui-dashboard-BfEcVRxQ.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
  110. package/dist/{vue-ui-digits-pRh179Gg.js → vue-ui-digits-D382I0-w.js} +2 -2
  111. package/dist/{vue-ui-donut-B_tEm4dT.js → vue-ui-donut-BLb0kj_P.js} +634 -602
  112. package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
  113. package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
  114. package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
  115. package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
  116. package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
  117. package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
  118. package/dist/{vue-ui-gizmo-BQzQlUJ8.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
  119. package/dist/{vue-ui-heatmap-C9MhHWpp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
  120. package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
  121. package/dist/{vue-ui-kpi-jcrPjW4C.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  122. package/dist/{vue-ui-mini-loader-DTM98mRN.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  123. package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
  124. package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
  125. package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
  126. package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
  127. package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
  128. package/dist/{vue-ui-quadrant-CeM23s0z.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
  129. package/dist/{vue-ui-quick-chart-C0RMQzjC.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
  130. package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
  131. package/dist/{vue-ui-rating-tj97undO.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  132. package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
  133. package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
  134. package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
  135. package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
  136. package/dist/{vue-ui-skeleton-87TORm6s.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
  137. package/dist/{vue-ui-smiley-B74geHT3.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  138. package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
  139. package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
  140. package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
  141. package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
  142. package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
  143. package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
  144. package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
  145. package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
  146. package/dist/{vue-ui-strip-plot-C1N2n39d.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
  147. package/dist/{vue-ui-table-CcuoPHgI.js → vue-ui-table-DMM090pe.js} +5 -5
  148. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  149. package/dist/{vue-ui-table-sparkline-BAxmZRff.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
  150. package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
  151. package/dist/{vue-ui-timer-BVsUQJz_.js → vue-ui-timer-jTnS3ES5.js} +25 -25
  152. package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
  153. package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
  154. package/dist/{vue-ui-vertical-bar-B3gfBqD_.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
  155. package/dist/{vue-ui-waffle-Bhlqo4xM.js → vue-ui-waffle-DIALVfvc.js} +376 -347
  156. package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
  157. package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
  158. package/dist/{vue-ui-world-C8KVyDim.js → vue-ui-world-CVLlgp2f.js} +57 -57
  159. package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
  160. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  161. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  162. package/package.json +5 -5
  163. package/dist/themes-AUNCOb2G.js +0 -53
  164. package/dist/vue-ui-age-pyramid-8bUepd28.js +0 -933
  165. package/dist/vue-ui-bullet-BvT4scFv.js +0 -630
  166. package/dist/vue-ui-chord-Dl9Y4mcz.js +0 -1153
  167. package/dist/vue-ui-circle-pack-CU09BzOV.js +0 -803
  168. package/dist/vue-ui-donut-evolution-DiGhMwMO.js +0 -1208
  169. package/dist/vue-ui-dumbbell-BlF3CLbN.js +0 -1231
  170. package/dist/vue-ui-flow-BQi5L8mJ.js +0 -991
  171. package/dist/vue-ui-funnel-CM_6Sare.js +0 -716
  172. package/dist/vue-ui-galaxy-BnZA62Li.js +0 -808
  173. package/dist/vue-ui-gauge-DAk72bez.js +0 -835
  174. package/dist/vue-ui-history-plot-BYQh3E8U.js +0 -1204
  175. package/dist/vue-ui-molecule-Bd1OXvl3.js +0 -753
  176. package/dist/vue-ui-mood-radar-DuoiTsYn.js +0 -903
  177. package/dist/vue-ui-nested-donuts-BTswQFjz.js +0 -1419
  178. package/dist/vue-ui-onion-D-1U2Qgl.js +0 -915
  179. package/dist/vue-ui-parallel-coordinate-plot-D-7VFHas.js +0 -1051
  180. package/dist/vue-ui-radar-BSfxyur3.js +0 -984
  181. package/dist/vue-ui-relation-circle-C7uV2mIj.js +0 -641
  182. package/dist/vue-ui-ridgeline-CYMfTlwI.js +0 -1273
  183. package/dist/vue-ui-rings-C96aj57d.js +0 -855
  184. package/dist/vue-ui-scatter-CtvOXUnx.js +0 -1590
  185. package/dist/vue-ui-spark-trend-6_Ibziyv.js +0 -337
  186. package/dist/vue-ui-sparkbar-BDCocMLI.js +0 -352
  187. package/dist/vue-ui-sparkgauge-CQ4Zk9-f.js +0 -233
  188. package/dist/vue-ui-sparkhistogram-BlTV9wfn.js +0 -384
  189. package/dist/vue-ui-sparkline-DWESyiqL.js +0 -514
  190. package/dist/vue-ui-sparkstackbar-DK_7X8mL.js +0 -441
  191. package/dist/vue-ui-stackbar-BWuw8ff4.js +0 -1827
  192. package/dist/vue-ui-table-heatmap-C9EMEM3Z.js +0 -282
  193. package/dist/vue-ui-thermometer-CDrM-WFq.js +0 -584
  194. package/dist/vue-ui-tiremarks-BQH2pNkG.js +0 -450
  195. package/dist/vue-ui-treemap-6WLoCHsH.js +0 -1330
  196. package/dist/vue-ui-wheel-CqHw1WuW.js +0 -663
  197. package/dist/vue-ui-word-cloud-CKuWZGLv.js +0 -875
  198. package/dist/vue-ui-xy-Cz2qIEfi.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-y4h7gEFp.js +0 -1564
@@ -0,0 +1,613 @@
1
+ import { useCssVars as Ge, computed as h, defineAsyncComponent as G, ref as v, onMounted as Xe, toRefs as Je, watch as Ke, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as fe, normalizeClass as W, createBlock as D, createCommentVNode as i, withCtx as f, renderSlot as d, normalizeProps as p, guardReactiveProps as k, createSlots as Qe, createVNode as Ze, createElementVNode as g, Fragment as U, renderList as ge, toDisplayString as et } from "vue";
2
+ import { c as tt, t as ot, o as st, g as ye, k as lt, i as at, p as S, j as rt, M as b, l as N, X as nt, s as ut, a as it, d as ct } from "./lib-C5BH09_g.js";
3
+ import { t as ht, u as dt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as vt, a as X } from "./useNestedProp-CWo6bftQ.js";
5
+ import { u as ft, B as gt } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as yt } from "./usePrinter-DCJzEiS8.js";
7
+ import { u as mt } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as pt } from "./useThemeCheck-DGJ31Vi5.js";
9
+ import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as bt } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as wt } from "./useAutoSizeLabelsInsideViewbox-DOALwU4q.js";
12
+ import Ct from "./Title-DfFUb9hd.js";
13
+ import xt from "./img-DUzJeMlr.js";
14
+ import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", graduations: { stroke: "#2A2A2A" }, label: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, pe = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", graduations: { stroke: "#FFF8E1", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#424242" } }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, ke = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", graduations: { stroke: "#5D4037", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, be = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", graduations: { stroke: "#1A1A1A", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#66CC66" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, we = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", graduations: { show: !1, gradient: { show: !0 } }, label: { color: "#B9B99D" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, Ce = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", graduations: { stroke: "#1A1A1A", gradient: { show: !0 } }, label: { color: "#61747E" } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, xe = {
16
+ default: {},
17
+ dark: me,
18
+ celebration: pe,
19
+ celebrationNight: ke,
20
+ hack: be,
21
+ zen: we,
22
+ concrete: Ce
23
+ }, fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
+ __proto__: null,
25
+ celebration: pe,
26
+ celebrationNight: ke,
27
+ concrete: Ce,
28
+ dark: me,
29
+ default: xe,
30
+ hack: be,
31
+ zen: we
32
+ }, Symbol.toStringTag, { value: "Module" })), At = ["id"], $t = {
33
+ key: 1,
34
+ ref: "noTitle",
35
+ class: "vue-data-ui-no-title-space",
36
+ style: "height:36px; width: 100%;background:transparent"
37
+ }, Ft = ["xmlns", "viewBox"], Ot = ["width", "height"], St = ["id"], It = ["x", "y", "width", "height", "rx", "ry"], Pt = ["id"], Tt = ["stop-color"], Mt = ["stop-color"], Et = ["stop-color"], zt = ["clip-path"], Bt = ["x", "y", "height", "width"], Wt = ["x", "y", "height", "width", "fill"], Dt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ut = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Nt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Lt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Yt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ht = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Vt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Rt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], qt = ["x", "y", "height", "width"], jt = { key: 1 }, Gt = ["x", "y", "height"], Xt = ["y", "x", "fill", "font-size", "font-weight"], Jt = {
38
+ key: 4,
39
+ class: "vue-data-ui-watermark"
40
+ }, Kt = {
41
+ __name: "vue-ui-thermometer",
42
+ props: {
43
+ dataset: {
44
+ type: Object,
45
+ default() {
46
+ return {};
47
+ }
48
+ },
49
+ config: {
50
+ type: Object,
51
+ default() {
52
+ return {};
53
+ }
54
+ }
55
+ },
56
+ setup(I, { expose: _e }) {
57
+ Ge((o) => ({
58
+ v4f1287f4: We.value,
59
+ v7fdfff1a: Be.value,
60
+ b092daf2: ze.value
61
+ }));
62
+ const Ae = G(() => import("./PackageVersion-Bq_mtsqr.js")), $e = G(() => import("./PenAndPaper-HCZQTkqi.js")), Fe = G(() => import("./UserOptions-B3I-s3Lw.js")), { vue_ui_thermometer: Oe } = vt(), { isThemeValid: Se, warnInvalidTheme: Ie } = pt(), y = I, w = v(tt()), C = v(null), J = v(0), K = v(0), Q = v(null), Z = v(null), _ = v(null), P = v(null), Pe = h(() => !!y.dataset && Object.keys(y.dataset).length);
63
+ Xe(() => {
64
+ oe();
65
+ });
66
+ const e = v(V()), Te = v(e.value.style.chart.thermometer.width), L = v(e.value.style.chart.height), Y = v(e.value.style.chart.width), { loading: ee, FINAL_DATASET: c } = ft({
67
+ ...Je(y),
68
+ FINAL_CONFIG: e,
69
+ prepareConfig: V,
70
+ skeletonDataset: { value: 0, from: -100, to: 100, steps: 20, colors: { from: "#A1A1A1", to: "#CACACA" } },
71
+ skeletonConfig: ot({
72
+ defaultConfig: e.value,
73
+ userConfig: {
74
+ userOptions: { show: !1 },
75
+ style: {
76
+ chart: {
77
+ animation: { use: !1 },
78
+ backgroundColor: "#99999930",
79
+ graduations: {
80
+ stroke: "#6A6A6A"
81
+ }
82
+ }
83
+ }
84
+ }
85
+ })
86
+ }), te = h(() => !!e.value.debug);
87
+ function oe() {
88
+ if (st(y.dataset) ? ye({
89
+ componentName: "VueUiThermometer",
90
+ type: "dataset",
91
+ debug: te.value
92
+ }) : lt({
93
+ datasetObject: y.dataset,
94
+ requiredAttributes: ["value", "from", "to"]
95
+ }).forEach((o) => {
96
+ ye({
97
+ componentName: "VueUiThermometer",
98
+ type: "datasetAttribute",
99
+ property: o,
100
+ debug: te.value
101
+ });
102
+ }), e.value.responsive) {
103
+ const o = ht(() => {
104
+ const { width: l, height: t } = dt({
105
+ chart: C.value,
106
+ title: e.value.style.title.text ? Q.value : null,
107
+ source: Z.value
108
+ });
109
+ requestAnimationFrame(() => {
110
+ L.value = Math.max(0.1, t - 12), Y.value = l, de();
111
+ });
112
+ });
113
+ _.value && (P.value && _.value.unobserve(P.value), _.value.disconnect()), _.value = new ResizeObserver(o), P.value = C.value, _.value.observe(P.value);
114
+ }
115
+ de();
116
+ }
117
+ const { userOptionsVisible: H, setUserOptionsVisibility: se, keepUserOptionState: le } = kt({ config: e.value }), { svgRef: T } = bt({ config: e.value.style.title });
118
+ function V() {
119
+ const o = X({
120
+ userConfig: y.config,
121
+ defaultConfig: Oe
122
+ }), l = o.theme;
123
+ if (!l) return o;
124
+ if (!Se.value(o))
125
+ return Ie(o), o;
126
+ const t = X({
127
+ userConfig: xe[l] || y.config,
128
+ defaultConfig: o
129
+ }), a = X({
130
+ userConfig: y.config,
131
+ defaultConfig: t
132
+ });
133
+ return {
134
+ ...a,
135
+ customPalette: a.customPalette.length ? a.customPalette : at[l] || S
136
+ };
137
+ }
138
+ Ke(() => y.config, (o) => {
139
+ e.value = V(), H.value = !e.value.userOptions.showOnChartHover, Te.value = e.value.style.chart.thermometer.width, L.value = e.value.style.chart.height, Y.value = e.value.style.chart.width, oe(), K.value += 1;
140
+ }, { deep: !0 });
141
+ const { isPrinting: ae, isImaging: re, generatePdf: ne, generateImage: ue } = yt({
142
+ elementId: `thermometer__${w.value}`,
143
+ fileName: e.value.style.title.text || "vue-ui-thermometer",
144
+ options: e.value.userOptions.print
145
+ }), Me = h(() => e.value.userOptions.show && !e.value.style.title.text), M = h(() => rt(e.value.customPalette)), m = h(() => c.value.steps || 10);
146
+ function E(o, l, t) {
147
+ const a = [], x = ie(o), F = ie(l);
148
+ for (let O = 0; O < t; O++) {
149
+ const Ve = R(x.red, F.red, O, t), Re = R(x.green, F.green, O, t), qe = R(x.blue, F.blue, O, t), je = `#${q(Ve)}${q(Re)}${q(qe)}`;
150
+ a.push(je);
151
+ }
152
+ return a;
153
+ }
154
+ function ie(o) {
155
+ const l = o.slice(1);
156
+ return {
157
+ red: parseInt(l.slice(0, 2), 16),
158
+ green: parseInt(l.slice(2, 4), 16),
159
+ blue: parseInt(l.slice(4, 6), 16)
160
+ };
161
+ }
162
+ function R(o, l, t, a) {
163
+ return Math.round(o + (l - o) * t / a);
164
+ }
165
+ function q(o) {
166
+ return o.toString(16).padStart(2, "0");
167
+ }
168
+ const s = h(() => {
169
+ const o = Math.max(0.1, Y.value), l = Math.max(0.1, L.value), t = e.value.style.chart.padding;
170
+ return {
171
+ width: o,
172
+ left: o / 2 - e.value.style.chart.thermometer.width / 2,
173
+ right: o / 2 + e.value.style.chart.thermometer.width / 2,
174
+ top: t.top,
175
+ bottom: l - t.bottom - t.top,
176
+ height: l,
177
+ thermoHeight: l - t.top - t.bottom,
178
+ thermoWidth: e.value.style.chart.thermometer.width
179
+ };
180
+ }), Ee = h(() => s.value), z = h(() => {
181
+ const o = b(c.value.from) < 0 ? Math.abs(b(c.value.from)) : b(c.value.from), l = b(c.value.to) < 0 ? Math.abs(b(c.value.to)) : b(c.value.to);
182
+ let t = 0;
183
+ return b(c.value.to) > 0 ? t = o + l : o > l ? t = o - l : t = l - o, (1 - (Math.abs(b(c.value.from)) + b(c.value.value)) / t) * s.value.thermoHeight;
184
+ }), ze = h(() => `${z.value}px`), Be = h(() => `${s.value.thermoHeight}px`), We = h(() => `${e.value.style.chart.animation.speedMs}ms`), De = h(() => {
185
+ if (c.value.colors) {
186
+ if (!c.value.colors.from)
187
+ return E(M.value[0] || S[0], N(c.value.colors.to), m.value || 10);
188
+ if (!c.value.colors.to)
189
+ return E(N(c.value.colors.from), M.value[1] || S[1], m.value || 10);
190
+ } else
191
+ return E(M.value[1] || S[1], M.value[0] || S[0], m.value || 10);
192
+ return E(N(c.value.colors.from), N(c.value.colors.to), m.value || 10);
193
+ }), ce = h(() => {
194
+ const o = [];
195
+ let l = 0;
196
+ const t = s.value.thermoHeight;
197
+ for (let a = 0; a < t - 1; a += t / m.value)
198
+ o.push({
199
+ x: s.value.left,
200
+ y: s.value.top + a,
201
+ qYLess: s.value.top + a + t / m.value / 4,
202
+ halfY: s.value.top + a + t / m.value / 2,
203
+ qYMore: s.value.top + a + t / m.value / 4 * 3,
204
+ color: De.value[l],
205
+ height: Math.max(0.1, t / m.value)
206
+ }), l += 1;
207
+ return o;
208
+ }), A = v(!1);
209
+ function he(o) {
210
+ A.value = o, J.value += 1;
211
+ }
212
+ const B = v(!1);
213
+ function j() {
214
+ B.value = !B.value;
215
+ }
216
+ async function Ue({ scale: o = 2 } = {}) {
217
+ if (!C.value) return;
218
+ const { width: l, height: t } = C.value.getBoundingClientRect(), a = l / t, { imageUri: x, base64: F } = await xt({ domElement: C.value, base64: !0, img: !0, scale: o });
219
+ return {
220
+ imageUri: x,
221
+ base64: F,
222
+ title: e.value.style.title.text,
223
+ width: l,
224
+ height: t,
225
+ aspectRatio: a
226
+ };
227
+ }
228
+ const $ = h({
229
+ get: () => e.value.style.chart.label.fontSize,
230
+ set: (o) => o
231
+ }), { autoSizeLabels: de } = wt({
232
+ svgRef: T,
233
+ fontSize: e.value.style.chart.label.fontSize,
234
+ minFontSize: e.value.style.chart.label.minFontSize,
235
+ sizeRef: $,
236
+ labelClass: ".vue-ui-thermometer-label"
237
+ }), Ne = h(() => e.value.style.chart.backgroundColor), Le = h(() => e.value.style.title), { exportSvg: Ye, getSvg: He } = mt({
238
+ svg: T,
239
+ title: Le,
240
+ backgroundColor: Ne
241
+ });
242
+ async function ve({ isCb: o }) {
243
+ if (o) {
244
+ const { blob: l, url: t, text: a, dataUrl: x } = await He();
245
+ e.value.userOptions.callbacks.svg({ blob: l, url: t, text: a, dataUrl: x });
246
+ } else
247
+ Ye();
248
+ }
249
+ return _e({
250
+ getImage: Ue,
251
+ generatePdf: ne,
252
+ generateImage: ue,
253
+ generateSvg: ve,
254
+ toggleAnnotator: j,
255
+ toggleFullscreen: he
256
+ }), (o, l) => (r(), n("div", {
257
+ ref_key: "thermoChart",
258
+ ref: C,
259
+ class: W(`vue-data-ui-component vue-ui-thermometer ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
260
+ style: fe(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
261
+ id: `thermometer__${w.value}`,
262
+ onMouseenter: l[0] || (l[0] = () => u(se)(!0)),
263
+ onMouseleave: l[1] || (l[1] = () => u(se)(!1))
264
+ }, [
265
+ e.value.userOptions.buttons.annotator ? (r(), D(u($e), {
266
+ key: 0,
267
+ svgRef: u(T),
268
+ backgroundColor: e.value.style.chart.backgroundColor,
269
+ color: e.value.style.chart.color,
270
+ active: B.value,
271
+ onClose: j
272
+ }, {
273
+ "annotator-action-close": f(() => [
274
+ d(o.$slots, "annotator-action-close", {}, void 0, !0)
275
+ ]),
276
+ "annotator-action-color": f(({ color: t }) => [
277
+ d(o.$slots, "annotator-action-color", p(k({ color: t })), void 0, !0)
278
+ ]),
279
+ "annotator-action-draw": f(({ mode: t }) => [
280
+ d(o.$slots, "annotator-action-draw", p(k({ mode: t })), void 0, !0)
281
+ ]),
282
+ "annotator-action-undo": f(({ disabled: t }) => [
283
+ d(o.$slots, "annotator-action-undo", p(k({ disabled: t })), void 0, !0)
284
+ ]),
285
+ "annotator-action-redo": f(({ disabled: t }) => [
286
+ d(o.$slots, "annotator-action-redo", p(k({ disabled: t })), void 0, !0)
287
+ ]),
288
+ "annotator-action-delete": f(({ disabled: t }) => [
289
+ d(o.$slots, "annotator-action-delete", p(k({ disabled: t })), void 0, !0)
290
+ ]),
291
+ _: 3
292
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : i("", !0),
293
+ Me.value ? (r(), n("div", $t, null, 512)) : i("", !0),
294
+ e.value.style.title.text ? (r(), n("div", {
295
+ key: 2,
296
+ ref_key: "chartTitle",
297
+ ref: Q,
298
+ style: "width:100%"
299
+ }, [
300
+ (r(), D(Ct, {
301
+ key: `title_${K.value}`,
302
+ config: {
303
+ title: {
304
+ cy: "thermometer-div-title",
305
+ ...e.value.style.title
306
+ },
307
+ subtitle: {
308
+ cy: "thermometer-div-subtitle",
309
+ ...e.value.style.title.subtitle
310
+ }
311
+ }
312
+ }, null, 8, ["config"]))
313
+ ], 512)) : i("", !0),
314
+ e.value.userOptions.show && Pe.value && (u(le) || u(H)) ? (r(), D(u(Fe), {
315
+ ref: "details",
316
+ key: `user_options_${J.value}`,
317
+ backgroundColor: e.value.style.chart.backgroundColor,
318
+ color: e.value.style.chart.color,
319
+ isImaging: u(re),
320
+ isPrinting: u(ae),
321
+ uid: w.value,
322
+ hasPdf: e.value.userOptions.buttons.pdf,
323
+ hasImg: e.value.userOptions.buttons.img,
324
+ hasSvg: e.value.userOptions.buttons.svg,
325
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
326
+ hasXls: !1,
327
+ isFullscreen: A.value,
328
+ titles: { ...e.value.userOptions.buttonTitles },
329
+ chartElement: C.value,
330
+ position: e.value.userOptions.position,
331
+ hasAnnotator: e.value.userOptions.buttons.annotator,
332
+ isAnnotation: B.value,
333
+ callbacks: e.value.userOptions.callbacks,
334
+ printScale: e.value.userOptions.print.scale,
335
+ onToggleFullscreen: he,
336
+ onGeneratePdf: u(ne),
337
+ onGenerateImage: u(ue),
338
+ onGenerateSvg: ve,
339
+ onToggleAnnotator: j,
340
+ style: fe({
341
+ visibility: u(le) ? u(H) ? "visible" : "hidden" : "visible"
342
+ })
343
+ }, Qe({ _: 2 }, [
344
+ o.$slots.menuIcon ? {
345
+ name: "menuIcon",
346
+ fn: f(({ isOpen: t, color: a }) => [
347
+ d(o.$slots, "menuIcon", p(k({ isOpen: t, color: a })), void 0, !0)
348
+ ]),
349
+ key: "0"
350
+ } : void 0,
351
+ o.$slots.optionPdf ? {
352
+ name: "optionPdf",
353
+ fn: f(() => [
354
+ d(o.$slots, "optionPdf", {}, void 0, !0)
355
+ ]),
356
+ key: "1"
357
+ } : void 0,
358
+ o.$slots.optionImg ? {
359
+ name: "optionImg",
360
+ fn: f(() => [
361
+ d(o.$slots, "optionImg", {}, void 0, !0)
362
+ ]),
363
+ key: "2"
364
+ } : void 0,
365
+ o.$slots.optionSvg ? {
366
+ name: "optionSvg",
367
+ fn: f(() => [
368
+ d(o.$slots, "optionSvg", {}, void 0, !0)
369
+ ]),
370
+ key: "3"
371
+ } : void 0,
372
+ o.$slots.optionFullscreen ? {
373
+ name: "optionFullscreen",
374
+ fn: f(({ toggleFullscreen: t, isFullscreen: a }) => [
375
+ d(o.$slots, "optionFullscreen", p(k({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
376
+ ]),
377
+ key: "4"
378
+ } : void 0,
379
+ o.$slots.optionAnnotator ? {
380
+ name: "optionAnnotator",
381
+ fn: f(({ toggleAnnotator: t, isAnnotator: a }) => [
382
+ d(o.$slots, "optionAnnotator", p(k({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
383
+ ]),
384
+ key: "5"
385
+ } : void 0
386
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
387
+ (r(), n("svg", {
388
+ ref_key: "svgRef",
389
+ ref: T,
390
+ xmlns: u(nt),
391
+ class: W({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
392
+ width: "100%",
393
+ viewBox: `0 0 ${s.value.width} ${s.value.height}`,
394
+ style: "background:transparent"
395
+ }, [
396
+ Ze(u(Ae)),
397
+ o.$slots["chart-background"] ? (r(), n("foreignObject", {
398
+ key: 0,
399
+ x: 0,
400
+ y: 0,
401
+ width: s.value.width,
402
+ height: s.value.height,
403
+ style: {
404
+ pointerEvents: "none"
405
+ }
406
+ }, [
407
+ d(o.$slots, "chart-background", {}, void 0, !0)
408
+ ], 8, Ot)) : i("", !0),
409
+ g("defs", null, [
410
+ g("clipPath", {
411
+ id: `vueUiPill-${w.value}`,
412
+ clipPathUnits: "userSpaceOnUse"
413
+ }, [
414
+ g("rect", {
415
+ x: s.value.left,
416
+ y: s.value.top,
417
+ width: s.value.thermoWidth,
418
+ height: s.value.thermoHeight,
419
+ rx: s.value.thermoWidth / 2,
420
+ ry: s.value.thermoWidth / 2
421
+ }, null, 8, It)
422
+ ], 8, St),
423
+ (r(!0), n(U, null, ge(ce.value, (t, a) => (r(), n("linearGradient", {
424
+ id: `vueUiThermometerGradient_${a}_${w.value}`,
425
+ x1: "0%",
426
+ y1: "0%",
427
+ x2: "100%",
428
+ y2: "0%"
429
+ }, [
430
+ g("stop", {
431
+ offset: "0%",
432
+ "stop-color": t.color
433
+ }, null, 8, Tt),
434
+ g("stop", {
435
+ offset: "50%",
436
+ "stop-color": u(ut)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
437
+ }, null, 8, Mt),
438
+ g("stop", {
439
+ offset: "100%",
440
+ "stop-color": t.color
441
+ }, null, 8, Et)
442
+ ], 8, Pt))), 256))
443
+ ]),
444
+ g("g", {
445
+ "clip-path": `url(#vueUiPill-${w.value})`
446
+ }, [
447
+ g("rect", {
448
+ x: s.value.left,
449
+ y: s.value.top,
450
+ height: s.value.thermoHeight,
451
+ width: s.value.thermoWidth,
452
+ fill: "#FFFFFF"
453
+ }, null, 8, Bt),
454
+ (r(!0), n(U, null, ge(ce.value, (t, a) => (r(), n("g", {
455
+ key: `graduation_${a}`
456
+ }, [
457
+ g("rect", {
458
+ x: t.x,
459
+ y: t.y,
460
+ height: t.height,
461
+ width: s.value.thermoWidth,
462
+ fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${a}_${w.value})` : t.color,
463
+ "shape-rendering": "crispEdges"
464
+ }, null, 8, Wt),
465
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
466
+ key: 0,
467
+ x1: t.x,
468
+ x2: t.x + 10,
469
+ y1: t.y,
470
+ y2: t.y,
471
+ "stroke-width": e.value.style.chart.graduations.strokeWidth,
472
+ stroke: e.value.style.chart.graduations.stroke,
473
+ "stroke-linecap": "round"
474
+ }, null, 8, Dt)) : i("", !0),
475
+ e.value.style.chart.graduations.showIntermediate ? (r(), n(U, { key: 1 }, [
476
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
477
+ key: 0,
478
+ x1: t.x,
479
+ x2: t.x + 5,
480
+ y1: t.halfY,
481
+ y2: t.halfY,
482
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
483
+ stroke: e.value.style.chart.graduations.stroke,
484
+ "stroke-linecap": "round"
485
+ }, null, 8, Ut)) : i("", !0),
486
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
487
+ key: 1,
488
+ x1: t.x,
489
+ x2: t.x + 2.5,
490
+ y1: t.qYLess,
491
+ y2: t.qYLess,
492
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
493
+ stroke: e.value.style.chart.graduations.stroke,
494
+ "stroke-linecap": "round"
495
+ }, null, 8, Nt)) : i("", !0),
496
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
497
+ key: 2,
498
+ x1: t.x,
499
+ x2: t.x + 2.5,
500
+ y1: t.qYMore,
501
+ y2: t.qYMore,
502
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
503
+ stroke: e.value.style.chart.graduations.stroke,
504
+ "stroke-linecap": "round"
505
+ }, null, 8, Lt)) : i("", !0)
506
+ ], 64)) : i("", !0),
507
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
508
+ key: 2,
509
+ x1: s.value.right,
510
+ x2: s.value.right - 10,
511
+ y1: t.y,
512
+ y2: t.y,
513
+ "stroke-width": e.value.style.chart.graduations.strokeWidth,
514
+ stroke: e.value.style.chart.graduations.stroke,
515
+ "stroke-linecap": "round"
516
+ }, null, 8, Yt)) : i("", !0),
517
+ e.value.style.chart.graduations.showIntermediate ? (r(), n(U, { key: 3 }, [
518
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
519
+ key: 0,
520
+ x1: s.value.right,
521
+ x2: s.value.right - 5,
522
+ y1: t.halfY,
523
+ y2: t.halfY,
524
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
525
+ stroke: e.value.style.chart.graduations.stroke,
526
+ "stroke-linecap": "round"
527
+ }, null, 8, Ht)) : i("", !0),
528
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
529
+ key: 1,
530
+ x1: s.value.right,
531
+ x2: s.value.right - 2.5,
532
+ y1: t.qYLess,
533
+ y2: t.qYLess,
534
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
535
+ stroke: e.value.style.chart.graduations.stroke,
536
+ "stroke-linecap": "round"
537
+ }, null, 8, Vt)) : i("", !0),
538
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
539
+ key: 2,
540
+ x1: s.value.right,
541
+ x2: s.value.right - 2.5,
542
+ y1: t.qYMore,
543
+ y2: t.qYMore,
544
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
545
+ stroke: e.value.style.chart.graduations.stroke,
546
+ "stroke-linecap": "round"
547
+ }, null, 8, Rt)) : i("", !0)
548
+ ], 64)) : i("", !0)
549
+ ]))), 128)),
550
+ g("rect", {
551
+ class: W({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
552
+ x: s.value.left,
553
+ y: s.value.top,
554
+ height: z.value,
555
+ width: s.value.thermoWidth,
556
+ fill: "#FFFFFF66"
557
+ }, null, 10, qt)
558
+ ], 8, zt),
559
+ e.value.style.chart.label.show ? (r(), n("g", jt, [
560
+ u(ee) ? (r(), n("rect", {
561
+ key: 0,
562
+ x: s.value.left - 60,
563
+ y: z.value + s.value.top - $.value / 2,
564
+ width: 50,
565
+ height: $.value,
566
+ fill: "#6A6A6A40",
567
+ rx: "3"
568
+ }, null, 8, Gt)) : (r(), n("text", {
569
+ key: 1,
570
+ class: W({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use, "vue-ui-thermometer-label": !0 }),
571
+ y: z.value + s.value.top + $.value / 3,
572
+ x: s.value.left - 10,
573
+ "text-anchor": "end",
574
+ fill: e.value.style.chart.label.color,
575
+ "font-size": $.value,
576
+ "font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
577
+ }, et(u(it)(
578
+ e.value.style.chart.label.formatter,
579
+ I.dataset.value,
580
+ u(ct)({
581
+ p: e.value.style.chart.label.prefix,
582
+ v: I.dataset.value,
583
+ s: e.value.style.chart.label.suffix,
584
+ r: e.value.style.chart.label.rounding
585
+ }),
586
+ { datapoint: I.dataset }
587
+ )), 11, Xt))
588
+ ])) : i("", !0),
589
+ d(o.$slots, "svg", { svg: Ee.value }, void 0, !0)
590
+ ], 10, Ft)),
591
+ o.$slots.watermark ? (r(), n("div", Jt, [
592
+ d(o.$slots, "watermark", p(k({ isPrinting: u(ae) || u(re) })), void 0, !0)
593
+ ])) : i("", !0),
594
+ o.$slots.source ? (r(), n("div", {
595
+ key: 5,
596
+ ref_key: "source",
597
+ ref: Z,
598
+ dir: "auto"
599
+ }, [
600
+ d(o.$slots, "source", {}, void 0, !0)
601
+ ], 512)) : i("", !0),
602
+ u(ee) ? (r(), D(gt, { key: 6 })) : i("", !0)
603
+ ], 46, At));
604
+ }
605
+ }, Qt = /* @__PURE__ */ _t(Kt, [["__scopeId", "data-v-d9637609"]]), go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
606
+ __proto__: null,
607
+ default: Qt
608
+ }, Symbol.toStringTag, { value: "Module" }));
609
+ export {
610
+ fo as a,
611
+ go as b,
612
+ Qt as v
613
+ };