vue-data-ui 2.4.50 → 2.4.51

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 +12 -0
  2. package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-DoD-GxZR.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
  159. package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
  160. package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
  163. package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
  166. package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
  167. package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
  168. package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
  169. package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
  170. package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
  171. package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
  172. package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
  175. package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
  177. package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
  179. package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
  182. package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
  183. package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
  187. package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
  188. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
  189. package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
  192. package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
  194. package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
  195. package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
  196. package/dist/vue-ui-wheel-D3itrMku.js +0 -299
  197. package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
  198. package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-DhDYBLBe.cjs"),te=require("./Title-Bk_55doC.cjs"),U=require("./usePrinter-2_QjJFdH.cjs"),oe=require("./vue-ui-skeleton-lkPDknHn.cjs"),Y=require("./useNestedProp-BphUExEh.cjs"),le=require("./PackageVersion-Bj34UNnQ.cjs"),re=require("./PenAndPaper-D9yQnc0e.cjs"),ae=require("./useUserOptionState-BgepsfED.cjs"),se=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ne=["id"],ue={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},ie={key:2,style:"width:100%"},ce=["xmlns","viewBox"],de={id:"vueUiPill",clipPathUnits:"objectBoundingBox"},he=["fill"],ve=["id"],me=["stop-color"],pe=["stop-color"],ye=["stop-color"],fe={"clip-path":"url(#vueUiPill)"},ke=["x","y","height","width"],ge=["x","y","height","width","fill"],be=["x1","x2","y1","y2","stroke-width","stroke"],xe=["x1","x2","y1","y2","stroke-width","stroke"],Ce=["x1","x2","y1","y2","stroke-width","stroke"],_e=["x1","x2","y1","y2","stroke-width","stroke"],we=["x1","x2","y1","y2","stroke-width","stroke"],Ne=["x1","x2","y1","y2","stroke-width","stroke"],Be=["x1","x2","y1","y2","stroke-width","stroke"],Ve=["x1","x2","y1","y2","stroke-width","stroke"],Pe=["x","y","height","width"],Ee=["y","x","fill","font-size","font-weight"],$e={key:5,class:"vue-data-ui-watermark"},Fe={key:6,ref:"source",dir:"auto"},Oe={__name:"vue-ui-thermometer",props:{dataset:{type:Object,default(){return{}}},config:{type:Object,default(){return{}}}},setup(m,{expose:z}){const s=m;e.useCssVars(l=>({"5c9ace98":R.value,"23608cf6":D.value,"1b0e313a":j.value}));const{vue_ui_thermometer:L}=r.useConfig(),k=e.computed(()=>!!s.dataset&&Object.keys(s.dataset).length);e.onMounted(()=>{B()});function B(){r.objectIsEmpty(s.dataset)?r.error({componentName:"VueUiThermometer",type:"dataset"}):r.getMissingDatasetAttributes({datasetObject:s.dataset,requiredAttributes:["value","from","to"]}).forEach(l=>{r.error({componentName:"VueUiThermometer",type:"datasetAttribute",property:l})})}const d=e.ref(r.createUid()),g=e.ref(null),V=e.ref(0),P=e.ref(0),t=e.computed({get:()=>O(),set:l=>l}),{userOptionsVisible:E,setUserOptionsVisibility:$,keepUserOptionState:F}=ae.useUserOptionState({config:t.value});function O(){const l=Y.useNestedProp({userConfig:s.config,defaultConfig:L});return l.theme?{...Y.useNestedProp({userConfig:r.themes.vue_ui_thermometer[l.theme]||s.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}e.watch(()=>s.config,l=>{t.value=O(),B(),P.value+=1},{deep:!0});const{isPrinting:S,isImaging:I,generatePdf:q,generateImage:A}=U.usePrinter({elementId:`thermometer__${d.value}`,fileName:t.value.style.title.text||"vue-ui-thermometer"}),G=e.computed(()=>t.value.userOptions.show&&!t.value.style.title.text),p=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),W=e.computed(()=>t.value.style.chart.thermometer.width),c=e.computed(()=>s.dataset.steps||10),i=e.ref({top:t.value.style.chart.padding.top,left:t.value.style.chart.padding.left,right:t.value.style.chart.padding.right,bottom:t.value.style.chart.padding.bottom});function y(l,n,o){const u=[],w=T(l),N=T(n);for(let v=0;v<o;v++){const K=b(w.red,N.red,v,o),Q=b(w.green,N.green,v,o),Z=b(w.blue,N.blue,v,o),ee=`#${x(K)}${x(Q)}${x(Z)}`;u.push(ee)}return u}function T(l){const n=l.slice(1);return{red:parseInt(n.slice(0,2),16),green:parseInt(n.slice(2,4),16),blue:parseInt(n.slice(4,6),16)}}function b(l,n,o,u){return Math.round(l+(n-l)*o/u)}function x(l){return l.toString(16).padStart(2,"0")}const a=e.computed(()=>{const l=W.value+i.value.left+i.value.right,n=t.value.style.chart.height;return{width:l,left:i.value.left,right:l-i.value.right,top:i.value.top,bottom:n-i.value.bottom,height:n}}),H=e.computed(()=>a.value),C=e.computed(()=>{const l=r.checkNaN(s.dataset.from)<0?Math.abs(r.checkNaN(s.dataset.from)):r.checkNaN(s.dataset.from),n=r.checkNaN(s.dataset.to)<0?Math.abs(r.checkNaN(s.dataset.to)):r.checkNaN(s.dataset.to);let o=0;return r.checkNaN(s.dataset.to)>0?o=l+n:l>n?o=l-n:o=n-l,(1-(Math.abs(r.checkNaN(s.dataset.from))+r.checkNaN(s.dataset.value))/o)*(a.value.height-i.value.top-i.value.bottom)}),j=e.computed(()=>`${C.value}px`),D=e.computed(()=>`${a.value.height-t.value.style.chart.padding.bottom-i.value.top}px`),R=e.computed(()=>`${t.value.style.chart.animation.speedMs}ms`),X=e.computed(()=>{if(s.dataset.colors){if(!s.dataset.colors.from)return y(p.value[0]||r.palette[0],r.convertColorToHex(s.dataset.colors.to),c.value||10);if(!s.dataset.colors.to)return y(r.convertColorToHex(s.dataset.colors.from),p.value[1]||r.palette[1],c.value||10)}else return y(p.value[1]||r.palette[1],p.value[0]||r.palette[0],c.value||10);return y(r.convertColorToHex(s.dataset.colors.from),r.convertColorToHex(s.dataset.colors.to),c.value||10)}),M=e.computed(()=>{const l=[];let n=0;const o=a.value.height-i.value.top-i.value.bottom;for(let u=0;u<o-1;u+=o/c.value)l.push({x:a.value.left,y:a.value.top+u,qYLess:a.value.top+u+o/c.value/4,halfY:a.value.top+u+o/c.value/2,qYMore:a.value.top+u+o/c.value/4*3,color:X.value[n],height:o/c.value}),n+=1;return l}),h=e.ref(!1);function J(l){h.value=l,V.value+=1}const f=e.ref(!1);function _(){f.value=!f.value}return z({generatePdf:q,generateImage:A,toggleAnnotator:_}),(l,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"thermoChart",ref:g,class:e.normalizeClass(`vue-ui-thermometer ${h.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`width:100%;background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color};font-family:${t.value.style.fontFamily}`),id:`thermometer__${d.value}`,onMouseenter:n[0]||(n[0]=()=>e.unref($)(!0)),onMouseleave:n[1]||(n[1]=()=>e.unref($)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(re.PenAndPaper,{key:0,parent:g.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:f.value,onClose:_},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),G.value?(e.openBlock(),e.createElementBlock("div",ue,null,512)):e.createCommentVNode("",!0),t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",ie,[(e.openBlock(),e.createBlock(te._sfc_main,{key:`title_${P.value}`,config:{title:{cy:"thermometer-div-title",...t.value.style.title},subtitle:{cy:"thermometer-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&k.value&&(e.unref(F)||e.unref(E))?(e.openBlock(),e.createBlock(U.UserOptions,{ref:"details",key:`user_options_${V.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isImaging:e.unref(I),isPrinting:e.unref(S),uid:d.value,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasFullscreen:t.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:h.value,titles:{...t.value.userOptions.buttonTitles},chartElement:g.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:f.value,onToggleFullscreen:J,onGeneratePdf:e.unref(q),onGenerateImage:e.unref(A),onToggleAnnotator:_,style:e.normalizeStyle({visibility:e.unref(F)?e.unref(E)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:u})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:u})),void 0,!0)]),key:"2"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:u})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:u})),void 0,!0)]),key:"3"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),k.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":h.value,"vue-data-ui-fulscreen--off":!h.value}),width:"100%",viewBox:`0 0 ${a.value.width} ${a.value.height}`,style:"background:transparent"},[e.createVNode(le._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",de,[e.createElementVNode("rect",{x:"0",y:"0",width:"1",height:"1",rx:"0.5",ry:"0.07",fill:t.value.style.chart.backgroundColor},null,8,he)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,(o,u)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`vueUiThermometerGradient_${u}_${d.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":o.color},null,8,me),e.createElementVNode("stop",{offset:"50%","stop-color":e.unref(r.setOpacity)(o.color,100-t.value.style.chart.graduations.gradient.intensity)},null,8,pe),e.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,ye)],8,ve))),256))]),e.createElementVNode("g",fe,[e.createElementVNode("rect",{x:a.value.left,y:a.value.top,height:a.value.height-i.value.top-i.value.bottom,width:a.value.width-i.value.left-i.value.right,fill:"#FFFFFF"},null,8,ke),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,(o,u)=>(e.openBlock(),e.createElementBlock("g",{key:`graduation_${u}`},[e.createElementVNode("rect",{x:o.x,y:o.y,height:o.height,width:a.value.width-t.value.style.chart.padding.left-t.value.style.chart.padding.right,fill:t.value.style.chart.graduations.gradient.show?`url(#vueUiThermometerGradient_${u}_${d.value})`:o.color,"shape-rendering":"crispEdges"},null,8,ge),t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x+10,y1:o.y,y2:o.y,"stroke-width":t.value.style.chart.graduations.strokeWidth,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,be)):e.createCommentVNode("",!0),t.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x+5,y1:o.halfY,y2:o.halfY,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,xe)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:o.x,x2:o.x+2.5,y1:o.qYLess,y2:o.qYLess,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,Ce)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:o.x,x2:o.x+2.5,y1:o.qYMore,y2:o.qYMore,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,_e)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:a.value.right,x2:a.value.right-10,y1:o.y,y2:o.y,"stroke-width":t.value.style.chart.graduations.strokeWidth,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,we)):e.createCommentVNode("",!0),t.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:a.value.right,x2:a.value.right-5,y1:o.halfY,y2:o.halfY,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,Ne)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:a.value.right,x2:a.value.right-2.5,y1:o.qYLess,y2:o.qYLess,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,Be)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:a.value.right,x2:a.value.right-2.5,y1:o.qYMore,y2:o.qYMore,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,Ve)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]))),128)),e.createElementVNode("rect",{class:e.normalizeClass({"vue-ui-thermometer-temperature":t.value.style.chart.animation.use}),x:a.value.left,y:a.value.top,height:C.value,width:a.value.width-t.value.style.chart.padding.left-t.value.style.chart.padding.right,fill:"#FFFFFF66"},null,10,Pe)]),e.createElementVNode("text",{class:e.normalizeClass({"vue-ui-thermometer-temperature-value":t.value.style.chart.animation.use}),y:C.value+a.value.top+t.value.style.chart.label.fontSize/3,x:a.value.left-10,"text-anchor":"end",fill:t.value.style.chart.label.color,"font-size":t.value.style.chart.label.fontSize,"font-weight":t.value.style.chart.label.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.label.formatter,m.dataset.value,e.unref(r.dataLabel)({p:t.value.style.chart.label.prefix,v:m.dataset.value,s:t.value.style.chart.label.suffix,r:t.value.style.chart.label.rounding}),{datapoint:m.dataset})),11,Ee),e.renderSlot(l.$slots,"svg",{svg:H.value},void 0,!0)],10,ce)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",$e,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(S)||e.unref(I)})),void 0,!0)])):e.createCommentVNode("",!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",Fe,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(oe.default,{key:7,config:{type:"thermometer",style:{backgroundColor:t.value.style.chart.backgroundColor,thermometer:{color:"#CCCCCC"}}}},null,8,["config"]))],46,ne))}},Se=se._export_sfc(Oe,[["__scopeId","data-v-a31437af"]]);exports.default=Se;
@@ -1,31 +1,32 @@
1
- import { useCssVars as ye, computed as h, onMounted as fe, ref as g, watch as ge, openBlock as l, createElementBlock as u, normalizeClass as P, normalizeStyle as me, createBlock as F, createCommentVNode as i, unref as v, createSlots as pe, withCtx as I, renderSlot as m, normalizeProps as G, guardReactiveProps as V, createVNode as ke, createElementVNode as d, Fragment as O, renderList as K, toDisplayString as be } from "vue";
2
- import { u as _e, o as xe, e as Q, g as we, c as Ce, t as $e, a as Pe, p as _, b as Fe, v as f, d as A, X as Ie, s as Oe, i as Ae, f as Ye } from "./index-BtL_cLa8.js";
3
- import { _ as Ne } from "./Title-CIsKiWgN.js";
4
- import { u as Me, U as Te } from "./usePrinter-sRt2SKr2.js";
5
- import Se from "./vue-ui-skeleton-DjFU2X3P.js";
6
- import { u as Z } from "./useNestedProp-CEAfm1tu.js";
7
- import { _ as Ue } from "./PackageVersion-BV3fHO46.js";
8
- import { P as qe } from "./PenAndPaper-CCOywdmm.js";
9
- import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const Ge = ["id"], Ve = {
1
+ import { useCssVars as me, computed as d, onMounted as ke, ref as g, watch as be, openBlock as l, createElementBlock as u, normalizeClass as P, normalizeStyle as ee, unref as c, createBlock as F, createCommentVNode as i, createSlots as xe, withCtx as I, renderSlot as p, normalizeProps as V, guardReactiveProps as G, createVNode as _e, createElementVNode as v, Fragment as O, renderList as te, toDisplayString as we } from "vue";
2
+ import { u as Ce, o as $e, e as se, g as Pe, c as Fe, t as Ie, a as Oe, p as x, b as Ae, v as f, d as A, X as Me, s as Ue, i as Ye, f as Ne } from "./index-BbPeL8Gp.js";
3
+ import { _ as Se } from "./Title-aSAft5dl.js";
4
+ import { u as Te, U as qe } from "./usePrinter-DaybDVqP.js";
5
+ import Le from "./vue-ui-skeleton-Bniq21d9.js";
6
+ import { u as oe } from "./useNestedProp-BN8claGG.js";
7
+ import { _ as Ve } from "./PackageVersion-CxJghxYD.js";
8
+ import { P as Ge } from "./PenAndPaper-ZdZEumki.js";
9
+ import { u as We } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const ze = ["id"], Be = {
11
12
  key: 1,
12
13
  ref: "noTitle",
13
14
  class: "vue-data-ui-no-title-space",
14
15
  style: "height:36px; width: 100%;background:transparent"
15
- }, We = {
16
+ }, je = {
16
17
  key: 2,
17
18
  style: "width:100%"
18
- }, Ee = ["xmlns", "viewBox"], ze = {
19
+ }, De = ["xmlns", "viewBox"], He = {
19
20
  id: "vueUiPill",
20
21
  clipPathUnits: "objectBoundingBox"
21
- }, Be = ["fill"], je = ["id"], De = ["stop-color"], He = ["stop-color"], Xe = ["stop-color"], Re = { "clip-path": "url(#vueUiPill)" }, Je = ["x", "y", "height", "width"], Ke = ["x", "y", "height", "width", "fill"], Qe = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ze = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], et = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], tt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], st = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ot = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], at = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], lt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], rt = ["x", "y", "height", "width"], ut = ["y", "x", "fill", "font-size", "font-weight"], nt = {
22
+ }, Xe = ["fill"], Re = ["id"], Je = ["stop-color"], Ke = ["stop-color"], Qe = ["stop-color"], Ze = { "clip-path": "url(#vueUiPill)" }, et = ["x", "y", "height", "width"], tt = ["x", "y", "height", "width", "fill"], st = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ot = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], at = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], lt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], rt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], nt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ut = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ct = ["x", "y", "height", "width"], ht = ["y", "x", "fill", "font-size", "font-weight"], dt = {
22
23
  key: 5,
23
24
  class: "vue-data-ui-watermark"
24
- }, it = {
25
+ }, vt = {
25
26
  key: 6,
26
27
  ref: "source",
27
28
  dir: "auto"
28
- }, ct = {
29
+ }, yt = {
29
30
  __name: "vue-ui-thermometer",
30
31
  props: {
31
32
  dataset: {
@@ -41,151 +42,153 @@ const Ge = ["id"], Ve = {
41
42
  }
42
43
  }
43
44
  },
44
- setup(x, { expose: ee }) {
45
- const a = x;
46
- ye((s) => ({
47
- "000db494": ue.value,
48
- "2865ccd0": re.value,
49
- 10843485: le.value
45
+ setup(_, { expose: ae }) {
46
+ const a = _;
47
+ me((s) => ({
48
+ "5c9ace98": he.value,
49
+ "23608cf6": ce.value,
50
+ "1b0e313a": ie.value
50
51
  }));
51
- const { vue_ui_thermometer: te } = _e(), Y = h(() => !!a.dataset && Object.keys(a.dataset).length);
52
- fe(() => {
52
+ const { vue_ui_thermometer: le } = Ce(), M = d(() => !!a.dataset && Object.keys(a.dataset).length);
53
+ ke(() => {
53
54
  W();
54
55
  });
55
56
  function W() {
56
- xe(a.dataset) ? Q({
57
+ $e(a.dataset) ? se({
57
58
  componentName: "VueUiThermometer",
58
59
  type: "dataset"
59
- }) : we({
60
+ }) : Pe({
60
61
  datasetObject: a.dataset,
61
62
  requiredAttributes: ["value", "from", "to"]
62
63
  }).forEach((s) => {
63
- Q({
64
+ se({
64
65
  componentName: "VueUiThermometer",
65
66
  type: "datasetAttribute",
66
67
  property: s
67
68
  });
68
69
  });
69
70
  }
70
- const p = g(Ce()), N = g(null), E = g(0), z = g(0), e = h({
71
- get: () => B(),
71
+ const m = g(Fe()), U = g(null), E = g(0), z = g(0), e = d({
72
+ get: () => H(),
72
73
  set: (s) => s
73
- });
74
- function B() {
75
- const s = Z({
74
+ }), { userOptionsVisible: B, setUserOptionsVisibility: j, keepUserOptionState: D } = We({ config: e.value });
75
+ function H() {
76
+ const s = oe({
76
77
  userConfig: a.config,
77
- defaultConfig: te
78
+ defaultConfig: le
78
79
  });
79
80
  return s.theme ? {
80
- ...Z({
81
- userConfig: $e.vue_ui_thermometer[s.theme] || a.config,
81
+ ...oe({
82
+ userConfig: Ie.vue_ui_thermometer[s.theme] || a.config,
82
83
  defaultConfig: s
83
84
  }),
84
- customPalette: Pe[s.theme] || _
85
+ customPalette: Oe[s.theme] || x
85
86
  } : s;
86
87
  }
87
- ge(() => a.config, (s) => {
88
- e.value = B(), W(), z.value += 1;
88
+ be(() => a.config, (s) => {
89
+ e.value = H(), W(), z.value += 1;
89
90
  }, { deep: !0 });
90
- const { isPrinting: j, isImaging: D, generatePdf: H, generateImage: X } = Me({
91
- elementId: `thermometer__${p.value}`,
91
+ const { isPrinting: X, isImaging: R, generatePdf: J, generateImage: K } = Te({
92
+ elementId: `thermometer__${m.value}`,
92
93
  fileName: e.value.style.title.text || "vue-ui-thermometer"
93
- }), se = h(() => e.value.userOptions.show && !e.value.style.title.text), w = h(() => Fe(e.value.customPalette)), oe = h(() => e.value.style.chart.thermometer.width), y = h(() => a.dataset.steps || 10), c = g({
94
+ }), re = d(() => e.value.userOptions.show && !e.value.style.title.text), w = d(() => Ae(e.value.customPalette)), ne = d(() => e.value.style.chart.thermometer.width), y = d(() => a.dataset.steps || 10), h = g({
94
95
  top: e.value.style.chart.padding.top,
95
96
  left: e.value.style.chart.padding.left,
96
97
  right: e.value.style.chart.padding.right,
97
98
  bottom: e.value.style.chart.padding.bottom
98
99
  });
99
- function C(s, n, t) {
100
- const r = [], q = R(s), L = R(n);
100
+ function C(s, r, t) {
101
+ const n = [], q = Q(s), L = Q(r);
101
102
  for (let b = 0; b < t; b++) {
102
- const ce = M(q.red, L.red, b, t), he = M(q.green, L.green, b, t), de = M(q.blue, L.blue, b, t), ve = `#${T(ce)}${T(he)}${T(de)}`;
103
- r.push(ve);
103
+ const ye = Y(q.red, L.red, b, t), fe = Y(q.green, L.green, b, t), ge = Y(q.blue, L.blue, b, t), pe = `#${N(ye)}${N(fe)}${N(ge)}`;
104
+ n.push(pe);
104
105
  }
105
- return r;
106
+ return n;
106
107
  }
107
- function R(s) {
108
- const n = s.slice(1);
108
+ function Q(s) {
109
+ const r = s.slice(1);
109
110
  return {
110
- red: parseInt(n.slice(0, 2), 16),
111
- green: parseInt(n.slice(2, 4), 16),
112
- blue: parseInt(n.slice(4, 6), 16)
111
+ red: parseInt(r.slice(0, 2), 16),
112
+ green: parseInt(r.slice(2, 4), 16),
113
+ blue: parseInt(r.slice(4, 6), 16)
113
114
  };
114
115
  }
115
- function M(s, n, t, r) {
116
- return Math.round(s + (n - s) * t / r);
116
+ function Y(s, r, t, n) {
117
+ return Math.round(s + (r - s) * t / n);
117
118
  }
118
- function T(s) {
119
+ function N(s) {
119
120
  return s.toString(16).padStart(2, "0");
120
121
  }
121
- const o = h(() => {
122
- const s = oe.value + c.value.left + c.value.right, n = e.value.style.chart.height;
122
+ const o = d(() => {
123
+ const s = ne.value + h.value.left + h.value.right, r = e.value.style.chart.height;
123
124
  return {
124
125
  width: s,
125
- left: c.value.left,
126
- right: s - c.value.right,
127
- top: c.value.top,
128
- bottom: n - c.value.bottom,
129
- height: n
126
+ left: h.value.left,
127
+ right: s - h.value.right,
128
+ top: h.value.top,
129
+ bottom: r - h.value.bottom,
130
+ height: r
130
131
  };
131
- }), ae = h(() => o.value), S = h(() => {
132
- const s = f(a.dataset.from) < 0 ? Math.abs(f(a.dataset.from)) : f(a.dataset.from), n = f(a.dataset.to) < 0 ? Math.abs(f(a.dataset.to)) : f(a.dataset.to);
132
+ }), ue = d(() => o.value), S = d(() => {
133
+ const s = f(a.dataset.from) < 0 ? Math.abs(f(a.dataset.from)) : f(a.dataset.from), r = f(a.dataset.to) < 0 ? Math.abs(f(a.dataset.to)) : f(a.dataset.to);
133
134
  let t = 0;
134
- return f(a.dataset.to) > 0 ? t = s + n : s > n ? t = s - n : t = n - s, (1 - (Math.abs(f(a.dataset.from)) + f(a.dataset.value)) / t) * (o.value.height - c.value.top - c.value.bottom);
135
- }), le = h(() => `${S.value}px`), re = h(() => `${o.value.height - e.value.style.chart.padding.bottom - c.value.top}px`), ue = h(() => `${e.value.style.chart.animation.speedMs}ms`), ne = h(() => {
135
+ return f(a.dataset.to) > 0 ? t = s + r : s > r ? t = s - r : t = r - s, (1 - (Math.abs(f(a.dataset.from)) + f(a.dataset.value)) / t) * (o.value.height - h.value.top - h.value.bottom);
136
+ }), ie = d(() => `${S.value}px`), ce = d(() => `${o.value.height - e.value.style.chart.padding.bottom - h.value.top}px`), he = d(() => `${e.value.style.chart.animation.speedMs}ms`), de = d(() => {
136
137
  if (a.dataset.colors) {
137
138
  if (!a.dataset.colors.from)
138
- return C(w.value[0] || _[0], A(a.dataset.colors.to), y.value || 10);
139
+ return C(w.value[0] || x[0], A(a.dataset.colors.to), y.value || 10);
139
140
  if (!a.dataset.colors.to)
140
- return C(A(a.dataset.colors.from), w.value[1] || _[1], y.value || 10);
141
+ return C(A(a.dataset.colors.from), w.value[1] || x[1], y.value || 10);
141
142
  } else
142
- return C(w.value[1] || _[1], w.value[0] || _[0], y.value || 10);
143
+ return C(w.value[1] || x[1], w.value[0] || x[0], y.value || 10);
143
144
  return C(A(a.dataset.colors.from), A(a.dataset.colors.to), y.value || 10);
144
- }), J = h(() => {
145
+ }), Z = d(() => {
145
146
  const s = [];
146
- let n = 0;
147
- const t = o.value.height - c.value.top - c.value.bottom;
148
- for (let r = 0; r < t - 1; r += t / y.value)
147
+ let r = 0;
148
+ const t = o.value.height - h.value.top - h.value.bottom;
149
+ for (let n = 0; n < t - 1; n += t / y.value)
149
150
  s.push({
150
151
  x: o.value.left,
151
- y: o.value.top + r,
152
- qYLess: o.value.top + r + t / y.value / 4,
153
- halfY: o.value.top + r + t / y.value / 2,
154
- qYMore: o.value.top + r + t / y.value / 4 * 3,
155
- color: ne.value[n],
152
+ y: o.value.top + n,
153
+ qYLess: o.value.top + n + t / y.value / 4,
154
+ halfY: o.value.top + n + t / y.value / 2,
155
+ qYMore: o.value.top + n + t / y.value / 4 * 3,
156
+ color: de.value[r],
156
157
  height: t / y.value
157
- }), n += 1;
158
+ }), r += 1;
158
159
  return s;
159
160
  }), k = g(!1);
160
- function ie(s) {
161
+ function ve(s) {
161
162
  k.value = s, E.value += 1;
162
163
  }
163
164
  const $ = g(!1);
164
- function U() {
165
+ function T() {
165
166
  $.value = !$.value;
166
167
  }
167
- return ee({
168
- generatePdf: H,
169
- generateImage: X,
170
- toggleAnnotator: U
171
- }), (s, n) => (l(), u("div", {
168
+ return ae({
169
+ generatePdf: J,
170
+ generateImage: K,
171
+ toggleAnnotator: T
172
+ }), (s, r) => (l(), u("div", {
172
173
  ref_key: "thermoChart",
173
- ref: N,
174
+ ref: U,
174
175
  class: P(`vue-ui-thermometer ${k.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
175
- style: me(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
176
- id: `thermometer__${p.value}`
176
+ style: ee(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
177
+ id: `thermometer__${m.value}`,
178
+ onMouseenter: r[0] || (r[0] = () => c(j)(!0)),
179
+ onMouseleave: r[1] || (r[1] = () => c(j)(!1))
177
180
  }, [
178
- e.value.userOptions.buttons.annotator ? (l(), F(qe, {
181
+ e.value.userOptions.buttons.annotator ? (l(), F(Ge, {
179
182
  key: 0,
180
- parent: N.value,
183
+ parent: U.value,
181
184
  backgroundColor: e.value.style.chart.backgroundColor,
182
185
  color: e.value.style.chart.color,
183
186
  active: $.value,
184
- onClose: U
187
+ onClose: T
185
188
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
186
- se.value ? (l(), u("div", Ve, null, 512)) : i("", !0),
187
- e.value.style.title.text ? (l(), u("div", We, [
188
- (l(), F(Ne, {
189
+ re.value ? (l(), u("div", Be, null, 512)) : i("", !0),
190
+ e.value.style.title.text ? (l(), u("div", je, [
191
+ (l(), F(Se, {
189
192
  key: `title_${z.value}`,
190
193
  config: {
191
194
  title: {
@@ -199,70 +202,73 @@ const Ge = ["id"], Ve = {
199
202
  }
200
203
  }, null, 8, ["config"]))
201
204
  ])) : i("", !0),
202
- e.value.userOptions.show && Y.value ? (l(), F(Te, {
205
+ e.value.userOptions.show && M.value && (c(D) || c(B)) ? (l(), F(qe, {
203
206
  ref: "details",
204
207
  key: `user_options_${E.value}`,
205
208
  backgroundColor: e.value.style.chart.backgroundColor,
206
209
  color: e.value.style.chart.color,
207
- isImaging: v(D),
208
- isPrinting: v(j),
209
- uid: p.value,
210
+ isImaging: c(R),
211
+ isPrinting: c(X),
212
+ uid: m.value,
210
213
  hasPdf: e.value.userOptions.buttons.pdf,
211
214
  hasImg: e.value.userOptions.buttons.img,
212
215
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
213
216
  hasXls: !1,
214
217
  isFullscreen: k.value,
215
218
  titles: { ...e.value.userOptions.buttonTitles },
216
- chartElement: N.value,
219
+ chartElement: U.value,
217
220
  position: e.value.userOptions.position,
218
221
  hasAnnotator: e.value.userOptions.buttons.annotator,
219
222
  isAnnotation: $.value,
220
- onToggleFullscreen: ie,
221
- onGeneratePdf: v(H),
222
- onGenerateImage: v(X),
223
- onToggleAnnotator: U
224
- }, pe({ _: 2 }, [
223
+ onToggleFullscreen: ve,
224
+ onGeneratePdf: c(J),
225
+ onGenerateImage: c(K),
226
+ onToggleAnnotator: T,
227
+ style: ee({
228
+ visibility: c(D) ? c(B) ? "visible" : "hidden" : "visible"
229
+ })
230
+ }, xe({ _: 2 }, [
225
231
  s.$slots.optionPdf ? {
226
232
  name: "optionPdf",
227
233
  fn: I(() => [
228
- m(s.$slots, "optionPdf", {}, void 0, !0)
234
+ p(s.$slots, "optionPdf", {}, void 0, !0)
229
235
  ]),
230
236
  key: "0"
231
237
  } : void 0,
232
238
  s.$slots.optionImg ? {
233
239
  name: "optionImg",
234
240
  fn: I(() => [
235
- m(s.$slots, "optionImg", {}, void 0, !0)
241
+ p(s.$slots, "optionImg", {}, void 0, !0)
236
242
  ]),
237
243
  key: "1"
238
244
  } : void 0,
239
245
  s.$slots.optionFullscreen ? {
240
246
  name: "optionFullscreen",
241
- fn: I(({ toggleFullscreen: t, isFullscreen: r }) => [
242
- m(s.$slots, "optionFullscreen", G(V({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
247
+ fn: I(({ toggleFullscreen: t, isFullscreen: n }) => [
248
+ p(s.$slots, "optionFullscreen", V(G({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
243
249
  ]),
244
250
  key: "2"
245
251
  } : void 0,
246
252
  s.$slots.optionAnnotator ? {
247
253
  name: "optionAnnotator",
248
- fn: I(({ toggleAnnotator: t, isAnnotator: r }) => [
249
- m(s.$slots, "optionAnnotator", G(V({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
254
+ fn: I(({ toggleAnnotator: t, isAnnotator: n }) => [
255
+ p(s.$slots, "optionAnnotator", V(G({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
250
256
  ]),
251
257
  key: "3"
252
258
  } : void 0
253
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : i("", !0),
254
- Y.value ? (l(), u("svg", {
259
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
260
+ M.value ? (l(), u("svg", {
255
261
  key: 4,
256
- xmlns: v(Ie),
262
+ xmlns: c(Me),
257
263
  class: P({ "vue-data-ui-fullscreen--on": k.value, "vue-data-ui-fulscreen--off": !k.value }),
258
264
  width: "100%",
259
265
  viewBox: `0 0 ${o.value.width} ${o.value.height}`,
260
266
  style: "background:transparent"
261
267
  }, [
262
- ke(Ue),
263
- d("defs", null, [
264
- d("clipPath", ze, [
265
- d("rect", {
268
+ _e(Ve),
269
+ v("defs", null, [
270
+ v("clipPath", He, [
271
+ v("rect", {
266
272
  x: "0",
267
273
  y: "0",
268
274
  width: "1",
@@ -270,48 +276,48 @@ const Ge = ["id"], Ve = {
270
276
  rx: "0.5",
271
277
  ry: "0.07",
272
278
  fill: e.value.style.chart.backgroundColor
273
- }, null, 8, Be)
279
+ }, null, 8, Xe)
274
280
  ]),
275
- (l(!0), u(O, null, K(J.value, (t, r) => (l(), u("linearGradient", {
276
- id: `vueUiThermometerGradient_${r}_${p.value}`,
281
+ (l(!0), u(O, null, te(Z.value, (t, n) => (l(), u("linearGradient", {
282
+ id: `vueUiThermometerGradient_${n}_${m.value}`,
277
283
  x1: "0%",
278
284
  y1: "0%",
279
285
  x2: "100%",
280
286
  y2: "0%"
281
287
  }, [
282
- d("stop", {
288
+ v("stop", {
283
289
  offset: "0%",
284
290
  "stop-color": t.color
285
- }, null, 8, De),
286
- d("stop", {
291
+ }, null, 8, Je),
292
+ v("stop", {
287
293
  offset: "50%",
288
- "stop-color": v(Oe)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
289
- }, null, 8, He),
290
- d("stop", {
294
+ "stop-color": c(Ue)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
295
+ }, null, 8, Ke),
296
+ v("stop", {
291
297
  offset: "100%",
292
298
  "stop-color": t.color
293
- }, null, 8, Xe)
294
- ], 8, je))), 256))
299
+ }, null, 8, Qe)
300
+ ], 8, Re))), 256))
295
301
  ]),
296
- d("g", Re, [
297
- d("rect", {
302
+ v("g", Ze, [
303
+ v("rect", {
298
304
  x: o.value.left,
299
305
  y: o.value.top,
300
- height: o.value.height - c.value.top - c.value.bottom,
301
- width: o.value.width - c.value.left - c.value.right,
306
+ height: o.value.height - h.value.top - h.value.bottom,
307
+ width: o.value.width - h.value.left - h.value.right,
302
308
  fill: "#FFFFFF"
303
- }, null, 8, Je),
304
- (l(!0), u(O, null, K(J.value, (t, r) => (l(), u("g", {
305
- key: `graduation_${r}`
309
+ }, null, 8, et),
310
+ (l(!0), u(O, null, te(Z.value, (t, n) => (l(), u("g", {
311
+ key: `graduation_${n}`
306
312
  }, [
307
- d("rect", {
313
+ v("rect", {
308
314
  x: t.x,
309
315
  y: t.y,
310
316
  height: t.height,
311
317
  width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
312
- fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${r}_${p.value})` : t.color,
318
+ fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${n}_${m.value})` : t.color,
313
319
  "shape-rendering": "crispEdges"
314
- }, null, 8, Ke),
320
+ }, null, 8, tt),
315
321
  e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
316
322
  key: 0,
317
323
  x1: t.x,
@@ -321,7 +327,7 @@ const Ge = ["id"], Ve = {
321
327
  "stroke-width": e.value.style.chart.graduations.strokeWidth,
322
328
  stroke: e.value.style.chart.graduations.stroke,
323
329
  "stroke-linecap": "round"
324
- }, null, 8, Qe)) : i("", !0),
330
+ }, null, 8, st)) : i("", !0),
325
331
  e.value.style.chart.graduations.showIntermediate ? (l(), u(O, { key: 1 }, [
326
332
  e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
327
333
  key: 0,
@@ -332,7 +338,7 @@ const Ge = ["id"], Ve = {
332
338
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
333
339
  stroke: e.value.style.chart.graduations.stroke,
334
340
  "stroke-linecap": "round"
335
- }, null, 8, Ze)) : i("", !0),
341
+ }, null, 8, ot)) : i("", !0),
336
342
  e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
337
343
  key: 1,
338
344
  x1: t.x,
@@ -342,7 +348,7 @@ const Ge = ["id"], Ve = {
342
348
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
343
349
  stroke: e.value.style.chart.graduations.stroke,
344
350
  "stroke-linecap": "round"
345
- }, null, 8, et)) : i("", !0),
351
+ }, null, 8, at)) : i("", !0),
346
352
  e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
347
353
  key: 2,
348
354
  x1: t.x,
@@ -352,7 +358,7 @@ const Ge = ["id"], Ve = {
352
358
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
353
359
  stroke: e.value.style.chart.graduations.stroke,
354
360
  "stroke-linecap": "round"
355
- }, null, 8, tt)) : i("", !0)
361
+ }, null, 8, lt)) : i("", !0)
356
362
  ], 64)) : i("", !0),
357
363
  e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
358
364
  key: 2,
@@ -363,7 +369,7 @@ const Ge = ["id"], Ve = {
363
369
  "stroke-width": e.value.style.chart.graduations.strokeWidth,
364
370
  stroke: e.value.style.chart.graduations.stroke,
365
371
  "stroke-linecap": "round"
366
- }, null, 8, st)) : i("", !0),
372
+ }, null, 8, rt)) : i("", !0),
367
373
  e.value.style.chart.graduations.showIntermediate ? (l(), u(O, { key: 3 }, [
368
374
  e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
369
375
  key: 0,
@@ -374,7 +380,7 @@ const Ge = ["id"], Ve = {
374
380
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
375
381
  stroke: e.value.style.chart.graduations.stroke,
376
382
  "stroke-linecap": "round"
377
- }, null, 8, ot)) : i("", !0),
383
+ }, null, 8, nt)) : i("", !0),
378
384
  e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
379
385
  key: 1,
380
386
  x1: o.value.right,
@@ -384,7 +390,7 @@ const Ge = ["id"], Ve = {
384
390
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
385
391
  stroke: e.value.style.chart.graduations.stroke,
386
392
  "stroke-linecap": "round"
387
- }, null, 8, at)) : i("", !0),
393
+ }, null, 8, ut)) : i("", !0),
388
394
  e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
389
395
  key: 2,
390
396
  x1: o.value.right,
@@ -394,19 +400,19 @@ const Ge = ["id"], Ve = {
394
400
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
395
401
  stroke: e.value.style.chart.graduations.stroke,
396
402
  "stroke-linecap": "round"
397
- }, null, 8, lt)) : i("", !0)
403
+ }, null, 8, it)) : i("", !0)
398
404
  ], 64)) : i("", !0)
399
405
  ]))), 128)),
400
- d("rect", {
406
+ v("rect", {
401
407
  class: P({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
402
408
  x: o.value.left,
403
409
  y: o.value.top,
404
410
  height: S.value,
405
411
  width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
406
412
  fill: "#FFFFFF66"
407
- }, null, 10, rt)
413
+ }, null, 10, ct)
408
414
  ]),
409
- d("text", {
415
+ v("text", {
410
416
  class: P({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use }),
411
417
  y: S.value + o.value.top + e.value.style.chart.label.fontSize / 3,
412
418
  x: o.value.left - 10,
@@ -414,26 +420,26 @@ const Ge = ["id"], Ve = {
414
420
  fill: e.value.style.chart.label.color,
415
421
  "font-size": e.value.style.chart.label.fontSize,
416
422
  "font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
417
- }, be(v(Ae)(
423
+ }, we(c(Ye)(
418
424
  e.value.style.chart.label.formatter,
419
- x.dataset.value,
420
- v(Ye)({
425
+ _.dataset.value,
426
+ c(Ne)({
421
427
  p: e.value.style.chart.label.prefix,
422
- v: x.dataset.value,
428
+ v: _.dataset.value,
423
429
  s: e.value.style.chart.label.suffix,
424
430
  r: e.value.style.chart.label.rounding
425
431
  }),
426
- { datapoint: x.dataset }
427
- )), 11, ut),
428
- m(s.$slots, "svg", { svg: ae.value }, void 0, !0)
429
- ], 10, Ee)) : i("", !0),
430
- s.$slots.watermark ? (l(), u("div", nt, [
431
- m(s.$slots, "watermark", G(V({ isPrinting: v(j) || v(D) })), void 0, !0)
432
+ { datapoint: _.dataset }
433
+ )), 11, ht),
434
+ p(s.$slots, "svg", { svg: ue.value }, void 0, !0)
435
+ ], 10, De)) : i("", !0),
436
+ s.$slots.watermark ? (l(), u("div", dt, [
437
+ p(s.$slots, "watermark", V(G({ isPrinting: c(X) || c(R) })), void 0, !0)
432
438
  ])) : i("", !0),
433
- s.$slots.source ? (l(), u("div", it, [
434
- m(s.$slots, "source", {}, void 0, !0)
439
+ s.$slots.source ? (l(), u("div", vt, [
440
+ p(s.$slots, "source", {}, void 0, !0)
435
441
  ], 512)) : i("", !0),
436
- Y.value ? i("", !0) : (l(), F(Se, {
442
+ M.value ? i("", !0) : (l(), F(Le, {
437
443
  key: 7,
438
444
  config: {
439
445
  type: "thermometer",
@@ -445,9 +451,9 @@ const Ge = ["id"], Ve = {
445
451
  }
446
452
  }
447
453
  }, null, 8, ["config"]))
448
- ], 14, Ge));
454
+ ], 46, ze));
449
455
  }
450
- }, bt = /* @__PURE__ */ Le(ct, [["__scopeId", "data-v-8a73571f"]]);
456
+ }, $t = /* @__PURE__ */ Ee(yt, [["__scopeId", "data-v-a31437af"]]);
451
457
  export {
452
- bt as default
458
+ $t as default
453
459
  };