vue-data-ui 3.25.4 → 3.25.6

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 (213) hide show
  1. package/README.md +13 -13
  2. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  3. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  4. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  5. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  6. package/dist/{ColorPicker-ZJrR3Olp.js → ColorPicker-CUy15T72.js} +102 -100
  7. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  8. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  9. package/dist/{NonSvgPenAndPaper-DS84BAOx.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  10. package/dist/{PackageVersion-5SWftabm.js → PackageVersion-ur6jKRL5.js} +1 -1
  11. package/dist/{PenAndPaper-B_SdRSKH.js → PenAndPaper-KFzKlvbi.js} +20 -4
  12. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  13. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-hill.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-label.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +1 -1
  47. package/dist/components/vue-ui-mood-radar.js +1 -1
  48. package/dist/components/vue-ui-nested-donuts.js +1 -1
  49. package/dist/components/vue-ui-onion.js +1 -1
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +1 -1
  52. package/dist/components/vue-ui-quick-chart.js +1 -1
  53. package/dist/components/vue-ui-radar.js +1 -1
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +1 -1
  56. package/dist/components/vue-ui-ridgeline.js +1 -1
  57. package/dist/components/vue-ui-rings.js +1 -1
  58. package/dist/components/vue-ui-scatter.js +1 -1
  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 +1 -1
  63. package/dist/components/vue-ui-sparkgauge.js +1 -1
  64. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  65. package/dist/components/vue-ui-sparkline.js +1 -1
  66. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  67. package/dist/components/vue-ui-stackbar.js +1 -1
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +1 -1
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +1 -1
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +1 -1
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +1 -1
  76. package/dist/components/vue-ui-treemap.js +1 -1
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +1 -1
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +1 -1
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +1 -1
  83. package/dist/components/vue-ui-xy.js +1 -1
  84. package/dist/{package-DmsdiyeS.js → package-Dx7M6sYy.js} +1 -1
  85. package/dist/{render-common-zoPh9a78.js → render-common-DETHvNhl.js} +1 -1
  86. package/dist/ssr/vue-ui-donut.js +1 -1
  87. package/dist/ssr/vue-ui-xy.js +1 -1
  88. package/dist/ssr.js +2 -2
  89. package/dist/style.css +1 -1
  90. package/dist/types/vue-data-ui.d.ts +80 -1
  91. package/dist/types/vue-ui-annotator.d.ts +58 -2
  92. package/dist/{useConfig-CyCVHo81.js → useConfig-CIQZ6_r7.js} +1339 -1313
  93. package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings---mHNfbS.js} +2 -2
  94. package/dist/utils.js +1 -1
  95. package/dist/{vue-data-ui-DTj71yB7.js → vue-data-ui-Dh3_EsHb.js} +70 -70
  96. package/dist/vue-data-ui.js +71 -71
  97. package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
  98. package/dist/{vue-ui-accordion-D4zsdacF.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  99. package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
  100. package/dist/vue-ui-annotator-CTQHAPho.js +3325 -0
  101. package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
  102. package/dist/{vue-ui-bump-BkOtQNWe.js → vue-ui-bump-DhwySwgn.js} +382 -380
  103. package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
  104. package/dist/{vue-ui-carousel-table-CRgbs7jR.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
  105. package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
  106. package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
  107. package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
  108. package/dist/{vue-ui-cursor-BHyXRadA.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
  109. package/dist/{vue-ui-dag-CyVqaLbF.js → vue-ui-dag-C_inEafb.js} +794 -792
  110. package/dist/{vue-ui-dashboard-7I-7wvCP.js → vue-ui-dashboard-Bs2mBur5.js} +74 -72
  111. package/dist/{vue-ui-digits-BBL8uERO.js → vue-ui-digits-DwE4MoXI.js} +2 -2
  112. package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
  113. package/dist/{vue-ui-donut-DcgUuefk.js → vue-ui-donut-CbOSJmRu.js} +2 -2
  114. package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
  115. package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
  116. package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
  117. package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
  118. package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
  119. package/dist/vue-ui-gauge-DLDULH26.js +934 -0
  120. package/dist/{vue-ui-geo-jR4P4pbt.js → vue-ui-geo-DXIHhp-G.js} +431 -429
  121. package/dist/{vue-ui-gizmo-D6W86s9o.js → vue-ui-gizmo-PuURiePo.js} +2 -2
  122. package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
  123. package/dist/{vue-ui-hill-fFq7pm-g.js → vue-ui-hill-DqsVJkmO.js} +472 -470
  124. package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
  125. package/dist/{vue-ui-horizontal-bar-D3Sft4kp.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +513 -511
  126. package/dist/{vue-ui-kpi-fzLsKlyE.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
  127. package/dist/{vue-ui-label-BSgLalWD.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  128. package/dist/{vue-ui-mini-loader-BL2odRfu.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  129. package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
  130. package/dist/{vue-ui-mood-radar-bvGx6XgG.js → vue-ui-mood-radar-Dd1qfUiu.js} +378 -376
  131. package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
  132. package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
  133. package/dist/{vue-ui-parallel-coordinate-plot-B_QJ4N9o.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +409 -407
  134. package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
  135. package/dist/{vue-ui-quick-chart-BFscCR59.js → vue-ui-quick-chart-BZq517pL.js} +8 -6
  136. package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
  137. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  138. package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
  139. package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
  140. package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
  141. package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
  142. package/dist/{vue-ui-skeleton-zmbcOVEf.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
  143. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  144. package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
  145. package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
  146. package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
  147. package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
  148. package/dist/{vue-ui-sparkline-Dv7XrEzO.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
  149. package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
  150. package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
  151. package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
  152. package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
  153. package/dist/{vue-ui-table-heatmap-Dv_ZKKm3.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  154. package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
  155. package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
  156. package/dist/{vue-ui-thermometer-DytlLJ32.js → vue-ui-thermometer-D0_KsB-y.js} +194 -192
  157. package/dist/{vue-ui-timer-CvHP4HoW.js → vue-ui-timer-1Z2zginj.js} +153 -153
  158. package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
  159. package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
  160. package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
  161. package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
  162. package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
  163. package/dist/{vue-ui-world-D0_2upjg.js → vue-ui-world-BOBHo7-L.js} +526 -524
  164. package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
  165. package/dist/{vue-ui-xy-D_5FfaH-.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
  166. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  167. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  168. package/package.json +1 -1
  169. package/dist/vue-ui-3d-bar-CH8SpxS2.js +0 -1829
  170. package/dist/vue-ui-age-pyramid-B9MUVi75.js +0 -1241
  171. package/dist/vue-ui-annotator-CmlcWPIm.js +0 -2886
  172. package/dist/vue-ui-bullet-n8KNnDwh.js +0 -700
  173. package/dist/vue-ui-candlestick-Bxlvqk49.js +0 -1857
  174. package/dist/vue-ui-chestnut-ByDKbkG9.js +0 -2014
  175. package/dist/vue-ui-chord-DQRBgVOx.js +0 -1345
  176. package/dist/vue-ui-circle-pack-CBBc0HOe.js +0 -1633
  177. package/dist/vue-ui-donut-DfiocufT.js +0 -2413
  178. package/dist/vue-ui-donut-evolution-BoqO8By2.js +0 -1550
  179. package/dist/vue-ui-dumbbell-7M_oUQdi.js +0 -1529
  180. package/dist/vue-ui-flow-CoylrfnO.js +0 -1215
  181. package/dist/vue-ui-funnel-DaBYHWIC.js +0 -747
  182. package/dist/vue-ui-galaxy-BIebStQ3.js +0 -1083
  183. package/dist/vue-ui-gauge-CwdTmiRP.js +0 -932
  184. package/dist/vue-ui-heatmap-DXYlGwqR.js +0 -1553
  185. package/dist/vue-ui-history-plot-CgIELoD2.js +0 -1696
  186. package/dist/vue-ui-molecule-DeHWkkhy.js +0 -929
  187. package/dist/vue-ui-nested-donuts-CeAV2xPk.js +0 -1501
  188. package/dist/vue-ui-onion-B7oFulsQ.js +0 -1233
  189. package/dist/vue-ui-quadrant-DrKnz37q.js +0 -1965
  190. package/dist/vue-ui-radar-Bzx69q8f.js +0 -1372
  191. package/dist/vue-ui-rating-CimC9FQ9.js +0 -359
  192. package/dist/vue-ui-relation-circle-DIQYyDGb.js +0 -903
  193. package/dist/vue-ui-ridgeline-CPEnM45x.js +0 -1621
  194. package/dist/vue-ui-rings-qPL5Iwji.js +0 -1250
  195. package/dist/vue-ui-scatter-BB0ClTsU.js +0 -2403
  196. package/dist/vue-ui-smiley-DzPkCMN-.js +0 -376
  197. package/dist/vue-ui-spark-trend-Ciq7-k_q.js +0 -457
  198. package/dist/vue-ui-sparkbar-D1M7-naP.js +0 -401
  199. package/dist/vue-ui-sparkgauge-rsqaeR_n.js +0 -268
  200. package/dist/vue-ui-sparkhistogram-C4WXt2Ni.js +0 -589
  201. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +0 -738
  202. package/dist/vue-ui-stackbar-C_hMnOLb.js +0 -2353
  203. package/dist/vue-ui-stackline-BHGi63lD.js +0 -2467
  204. package/dist/vue-ui-strip-plot-Cygpn-l8.js +0 -1738
  205. package/dist/vue-ui-table-BQna1wL6.js +0 -1352
  206. package/dist/vue-ui-table-sparkline-BCuimtk6.js +0 -738
  207. package/dist/vue-ui-tiremarks-BvjdZwgh.js +0 -538
  208. package/dist/vue-ui-treemap-C5OpqzSc.js +0 -1731
  209. package/dist/vue-ui-waffle-B7T_Zzan.js +0 -1619
  210. package/dist/vue-ui-wheel-D1B0k7IW.js +0 -871
  211. package/dist/vue-ui-word-cloud-C4pX6jop.js +0 -1708
  212. package/dist/vue-ui-xy-Ck41KYqF.js +0 -5281
  213. package/dist/vue-ui-xy-canvas-B_8Mu19r.js +0 -1824
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { Lt as t, Pt as n, S as r, Ut as i, X as a, Yt as ee, Zt as o, b as s, ht as te, i as ne, nt as re, q as ie, t as ae, w as oe } from "./lib-Dql7cqyA.js";
3
3
  import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
- import { t as le } from "./useConfig-CyCVHo81.js";
4
+ import { t as le } from "./useConfig-CIQZ6_r7.js";
5
5
  import { t as ue } from "./usePrinter-DISD7q5m.js";
6
6
  import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as c } from "./useNestedProp-Chvyfpl-.js";
@@ -140,22 +140,22 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
140
140
  emits: ["copyAlt"],
141
141
  setup(e, { expose: _e, emit: Pe }) {
142
142
  Me((e) => ({
143
- v7d874252: jt.value,
144
- v52f10497: At.value,
145
- v6954d344: kt.value
143
+ v48e818f7: Mt.value,
144
+ v7e86e312: jt.value,
145
+ v7e395524: At.value
146
146
  }));
147
- let T = h(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), at = h(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), ot = h(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), { vue_ui_thermometer: st } = le(), { isThemeValid: ct, warnInvalidTheme: lt } = pe(), ut = Ce(), E = e, dt = Pe, D = b(ie()), O = b(null), ft = b(0), pt = b(0), mt = b(null), ht = b(null), k = b(null), A = b(null), gt = u(() => !!E.dataset && Object.keys(E.dataset).length);
147
+ let T = h(() => import("./PackageVersion-ur6jKRL5.js").then((e) => e.t)), at = h(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), ot = h(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), { vue_ui_thermometer: st } = le(), { isThemeValid: ct, warnInvalidTheme: lt } = pe(), ut = Ce(), E = e, dt = Pe, D = b(ie()), O = b(null), ft = b(0), pt = b(0), mt = b(null), ht = b(null), k = b(null), A = b(null), gt = u(() => !!E.dataset && Object.keys(E.dataset).length);
148
148
  ke(() => {
149
149
  xt();
150
150
  });
151
- let j = b(R());
151
+ let j = b(V()), M = u(() => j.value.userOptions), N = u(() => j.value.style.chart.graduations), P = u(() => j.value.style.chart);
152
152
  se({
153
153
  config: () => j.value,
154
154
  dataset: () => E.dataset,
155
155
  component: "VueUiThermometer",
156
156
  rules: [ce.noHint]
157
157
  });
158
- let _t = b(j.value.style.chart.thermometer.width), M = b(j.value.style.chart.height), N = b(j.value.style.chart.width), vt = u(() => j.value.userOptions.useCursorPointer), yt = u(() => o({
158
+ let _t = b(P.value.thermometer.width), F = b(P.value.height), I = b(P.value.width), vt = u(() => j.value.userOptions.useCursorPointer), yt = u(() => o({
159
159
  defaultConfig: {
160
160
  userOptions: { show: !1 },
161
161
  style: { chart: {
@@ -165,10 +165,10 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
165
165
  } }
166
166
  },
167
167
  userConfig: j.value.skeletonConfig ?? {}
168
- })), { loading: P, FINAL_DATASET: F } = de({
168
+ })), { loading: L, FINAL_DATASET: R } = de({
169
169
  ...je(E),
170
170
  FINAL_CONFIG: j,
171
- prepareConfig: R,
171
+ prepareConfig: V,
172
172
  skeletonDataset: E.config?.skeletonDataset ?? {
173
173
  value: 0,
174
174
  from: -100,
@@ -211,15 +211,15 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
211
211
  source: ht.value
212
212
  });
213
213
  requestAnimationFrame(() => {
214
- M.value = Math.max(.1, t - 12), N.value = e, It();
214
+ F.value = Math.max(.1, t - 12), I.value = e, Rt();
215
215
  });
216
216
  });
217
217
  k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = O.value, k.value.observe(A.value);
218
218
  }
219
- It();
219
+ Rt();
220
220
  }
221
- let { userOptionsVisible: I, setUserOptionsVisibility: St, keepUserOptionState: Ct } = xe({ config: j.value }), { svgRef: L } = Se({ config: j.value.style.title });
222
- function R() {
221
+ let { userOptionsVisible: z, setUserOptionsVisibility: St, keepUserOptionState: Ct } = xe({ config: j.value }), { svgRef: B } = Se({ config: j.value.style.title });
222
+ function V() {
223
223
  let e = c({
224
224
  userConfig: E.config,
225
225
  defaultConfig: st
@@ -239,17 +239,17 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
239
239
  };
240
240
  }
241
241
  Ne(() => E.config, (e) => {
242
- j.value = R(), I.value = !j.value.userOptions.showOnChartHover, _t.value = j.value.style.chart.thermometer.width, M.value = j.value.style.chart.height, N.value = j.value.style.chart.width, xt(), pt.value += 1;
242
+ j.value = V(), z.value = !j.value.userOptions.showOnChartHover, _t.value = P.value.thermometer.width, F.value = P.value.height, I.value = P.value.width, xt(), pt.value += 1;
243
243
  }, { deep: !0 });
244
- let { isPrinting: z, isImaging: B, generatePdf: wt, generateImage: Tt } = ue({
244
+ let { isPrinting: H, isImaging: U, generatePdf: wt, generateImage: Tt } = ue({
245
245
  elementId: `thermometer__${D.value}`,
246
246
  fileName: j.value.style.title.text || "vue-ui-thermometer",
247
247
  options: j.value.userOptions.print
248
- }), Et = u(() => j.value.userOptions.show && !j.value.style.title.text), V = u(() => oe(j.value.customPalette)), H = u(() => F.value.steps || 10);
249
- function U(e, t, n) {
248
+ }), Et = u(() => j.value.userOptions.show && !j.value.style.title.text), W = u(() => oe(j.value.customPalette)), G = u(() => R.value.steps || 10);
249
+ function K(e, t, n) {
250
250
  let r = [], i = Dt(e), a = Dt(t);
251
251
  for (let e = 0; e < n; e += 1) {
252
- let t = W(i.red, a.red, e, n), ee = W(i.green, a.green, e, n), o = W(i.blue, a.blue, e, n), s = `#${G(t)}${G(ee)}${G(o)}`;
252
+ let t = q(i.red, a.red, e, n), ee = q(i.green, a.green, e, n), o = q(i.blue, a.blue, e, n), s = `#${Ot(t)}${Ot(ee)}${Ot(o)}`;
253
253
  r.push(s);
254
254
  }
255
255
  return r;
@@ -262,54 +262,54 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
262
262
  blue: parseInt(t.slice(4, 6), 16)
263
263
  };
264
264
  }
265
- function W(e, t, n, r) {
265
+ function q(e, t, n, r) {
266
266
  return Math.round(e + (t - e) * n / r);
267
267
  }
268
- function G(e) {
268
+ function Ot(e) {
269
269
  return e.toString(16).padStart(2, "0");
270
270
  }
271
- let K = u(() => {
272
- let e = Math.max(.1, N.value), t = Math.max(.1, M.value), n = j.value.style.chart.padding;
271
+ let J = u(() => {
272
+ let e = Math.max(.1, I.value), t = Math.max(.1, F.value), n = P.value.padding;
273
273
  return {
274
274
  width: e,
275
- left: e / 2 - j.value.style.chart.thermometer.width / 2,
276
- right: e / 2 + j.value.style.chart.thermometer.width / 2,
275
+ left: e / 2 - P.value.thermometer.width / 2,
276
+ right: e / 2 + P.value.thermometer.width / 2,
277
277
  top: n.top,
278
278
  bottom: t - n.bottom - n.top,
279
279
  height: t,
280
280
  thermoHeight: t - n.top - n.bottom,
281
- thermoWidth: j.value.style.chart.thermometer.width
281
+ thermoWidth: P.value.thermometer.width
282
282
  };
283
- }), Ot = u(() => K.value), q = u(() => {
284
- let e = s(F.value.from) < 0 ? Math.abs(s(F.value.from)) : s(F.value.from), t = s(F.value.to) < 0 ? Math.abs(s(F.value.to)) : s(F.value.to), n = 0;
285
- return n = s(F.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(s(F.value.from)) + s(F.value.value)) / n) * K.value.thermoHeight;
286
- }), kt = u(() => `${q.value}px`), At = u(() => `${K.value.thermoHeight}px`), jt = u(() => ut.value ? "0ms" : `${j.value.style.chart.animation.speedMs}ms`), Mt = u(() => {
287
- if (F.value.colors) {
288
- if (!F.value.colors.from) return U(V.value[0] || t[0], r(F.value.colors.to), H.value || 10);
289
- if (!F.value.colors.to) return U(r(F.value.colors.from), V.value[1] || t[1], H.value || 10);
290
- } else return U(V.value[1] || t[1], V.value[0] || t[0], H.value || 10);
291
- return U(r(F.value.colors.from), r(F.value.colors.to), H.value || 10);
292
- }), Nt = u(() => {
293
- let e = [], t = 0, n = K.value.thermoHeight;
294
- for (let r = 0; r < n - 1; r += n / H.value) e.push({
295
- x: K.value.left,
296
- y: K.value.top + r,
297
- qYLess: K.value.top + r + n / H.value / 4,
298
- halfY: K.value.top + r + n / H.value / 2,
299
- qYMore: K.value.top + r + n / H.value / 4 * 3,
300
- color: Mt.value[t],
301
- height: Math.max(.1, n / H.value)
283
+ }), kt = u(() => J.value), Y = u(() => {
284
+ let e = s(R.value.from) < 0 ? Math.abs(s(R.value.from)) : s(R.value.from), t = s(R.value.to) < 0 ? Math.abs(s(R.value.to)) : s(R.value.to), n = 0;
285
+ return n = s(R.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(s(R.value.from)) + s(R.value.value)) / n) * J.value.thermoHeight;
286
+ }), At = u(() => `${Y.value}px`), jt = u(() => `${J.value.thermoHeight}px`), Mt = u(() => ut.value ? "0ms" : `${P.value.animation.speedMs}ms`), Nt = u(() => {
287
+ if (R.value.colors) {
288
+ if (!R.value.colors.from) return K(W.value[0] || t[0], r(R.value.colors.to), G.value || 10);
289
+ if (!R.value.colors.to) return K(r(R.value.colors.from), W.value[1] || t[1], G.value || 10);
290
+ } else return K(W.value[1] || t[1], W.value[0] || t[0], G.value || 10);
291
+ return K(r(R.value.colors.from), r(R.value.colors.to), G.value || 10);
292
+ }), Pt = u(() => {
293
+ let e = [], t = 0, n = J.value.thermoHeight;
294
+ for (let r = 0; r < n - 1; r += n / G.value) e.push({
295
+ x: J.value.left,
296
+ y: J.value.top + r,
297
+ qYLess: J.value.top + r + n / G.value / 4,
298
+ halfY: J.value.top + r + n / G.value / 2,
299
+ qYMore: J.value.top + r + n / G.value / 4 * 3,
300
+ color: Nt.value[t],
301
+ height: Math.max(.1, n / G.value)
302
302
  }), t += 1;
303
303
  return e;
304
- }), J = b(!1);
305
- function Pt(e) {
306
- J.value = e, ft.value += 1;
304
+ }), X = b(!1);
305
+ function Ft(e) {
306
+ X.value = e, ft.value += 1;
307
307
  }
308
- let Y = b(!1);
309
- function X() {
310
- Y.value = !Y.value;
308
+ let Z = b(!1);
309
+ function It() {
310
+ Z.value = !Z.value;
311
311
  }
312
- async function Ft({ scale: e = 2 } = {}) {
312
+ async function Lt({ scale: e = 2 } = {}) {
313
313
  if (!O.value) return;
314
314
  let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
315
315
  domElement: O.value,
@@ -326,72 +326,73 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
326
326
  aspectRatio: r
327
327
  };
328
328
  }
329
- let Z = u({
330
- get: () => j.value.style.chart.label.fontSize,
329
+ let Q = u({
330
+ get: () => P.value.label.fontSize,
331
331
  set: (e) => e
332
- }), { autoSizeLabels: It } = we({
333
- svgRef: L,
334
- fontSize: j.value.style.chart.label.fontSize,
335
- minFontSize: j.value.style.chart.label.minFontSize,
336
- sizeRef: Z,
332
+ }), { autoSizeLabels: Rt } = we({
333
+ svgRef: B,
334
+ fontSize: P.value.label.fontSize,
335
+ minFontSize: P.value.label.minFontSize,
336
+ sizeRef: Q,
337
337
  labelClass: ".vue-ui-thermometer-label"
338
- }), Lt = u(() => j.value.style.chart.backgroundColor), Rt = u(() => j.value.style.title), { isCallbackImaging: zt, isCallbackSvg: Bt, generateSvg: Q, onGenerateImage: Vt } = me({
339
- svg: L,
340
- title: Rt,
338
+ }), zt = u(() => P.value.backgroundColor), Bt = u(() => j.value.style.title), { isCallbackImaging: Vt, isCallbackSvg: Ht, generateSvg: Ut, onGenerateImage: Wt } = me({
339
+ svg: B,
340
+ title: Bt,
341
341
  legend: null,
342
342
  legendItems: null,
343
- backgroundColor: Lt,
343
+ backgroundColor: zt,
344
344
  getSvgCallback: () => j.value.userOptions.callbacks.svg,
345
345
  generateImage: Tt
346
346
  });
347
- async function Ht() {
347
+ async function Gt() {
348
348
  if (dt("copyAlt", {
349
349
  config: j.value,
350
- dataset: F.value
350
+ dataset: R.value
351
351
  }), !j.value.userOptions.callbacks.altCopy) {
352
352
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
353
353
  return;
354
354
  }
355
355
  await Promise.resolve(j.value.userOptions.callbacks.altCopy({
356
356
  config: j.value,
357
- dataset: F.value
357
+ dataset: R.value
358
358
  }));
359
359
  }
360
- let Ut = u(() => `${D.value}-title`), Wt = u(() => `${D.value}-desc`), $ = u(() => ne(j.value.style.chart.label.formatter, F.value.value, a({
361
- p: j.value.style.chart.label.prefix,
362
- v: F.value.value,
363
- s: j.value.style.chart.label.suffix,
364
- r: j.value.style.chart.label.rounding
365
- }), { datapoint: F.value })), Gt = u(() => j.value.style.title.text || ""), Kt = u(() => {
366
- if (P.value) return "...";
367
- let e = s(F.value.from), t = s(F.value.to);
360
+ let Kt = u(() => `${D.value}-title`), qt = u(() => `${D.value}-desc`), $ = u(() => ne(P.value.label.formatter, R.value.value, a({
361
+ p: P.value.label.prefix,
362
+ v: R.value.value,
363
+ s: P.value.label.suffix,
364
+ r: P.value.label.rounding
365
+ }), { datapoint: R.value })), Jt = u(() => j.value.style.title.text || ""), Yt = u(() => {
366
+ if (L.value) return "...";
367
+ let e = s(R.value.from), t = s(R.value.to);
368
368
  return `Thermometer value: ${$.value}. Range: ${e} to ${t}.`;
369
369
  });
370
370
  return _e({
371
- getImage: Ft,
371
+ getImage: Lt,
372
372
  generatePdf: wt,
373
373
  generateImage: Tt,
374
- generateSvg: Q,
375
- toggleAnnotator: X,
376
- toggleFullscreen: Pt,
377
- copyAlt: Ht
374
+ generateSvg: Ut,
375
+ toggleAnnotator: It,
376
+ toggleFullscreen: Ft,
377
+ copyAlt: Gt
378
378
  }), (e, t) => (y(), p("div", {
379
379
  ref_key: "thermoChart",
380
380
  ref: O,
381
- class: _(`vue-data-ui-component vue-ui-thermometer ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
382
- style: Oe(`width:100%;background:${j.value.style.chart.backgroundColor};color:${j.value.style.chart.color};font-family:${j.value.style.fontFamily}`),
381
+ class: _(`vue-data-ui-component vue-ui-thermometer ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
382
+ style: Oe(`width:100%;background:${P.value.backgroundColor};color:${P.value.color};font-family:${j.value.style.fontFamily}`),
383
383
  id: `thermometer__${D.value}`,
384
384
  onMouseenter: t[0] ||= () => C(St)(!0),
385
385
  onMouseleave: t[1] ||= () => C(St)(!1)
386
386
  }, [
387
- j.value.userOptions.buttons.annotator ? (y(), d(C(at), {
387
+ M.value.buttons.annotator ? (y(), d(C(at), {
388
388
  key: 0,
389
- svgRef: C(L),
390
- backgroundColor: j.value.style.chart.backgroundColor,
391
- color: j.value.style.chart.color,
392
- active: Y.value,
389
+ svgRef: C(B),
390
+ backgroundColor: P.value.backgroundColor,
391
+ color: P.value.color,
392
+ active: Z.value,
393
393
  isCursorPointer: vt.value,
394
- onClose: X
394
+ palette: M.value.annotatorPalette,
395
+ onClose: It
395
396
  }, {
396
397
  "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
397
398
  "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
@@ -405,7 +406,8 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
405
406
  "backgroundColor",
406
407
  "color",
407
408
  "active",
408
- "isCursorPointer"
409
+ "isCursorPointer",
410
+ "palette"
409
411
  ])) : f("", !0),
410
412
  Et.value ? (y(), p("div", Ie, null, 512)) : f("", !0),
411
413
  j.value.style.title.text ? (y(), p("div", {
@@ -426,36 +428,36 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
426
428
  }
427
429
  }
428
430
  }, null, 8, ["config"]))], 512)) : f("", !0),
429
- j.value.userOptions.show && gt.value && (C(Ct) || C(I)) ? (y(), d(C(ot), {
431
+ M.value.show && gt.value && (C(Ct) || C(z)) ? (y(), d(C(ot), {
430
432
  ref: "details",
431
433
  key: `user_options_${ft.value}`,
432
- backgroundColor: j.value.style.chart.backgroundColor,
433
- color: j.value.style.chart.color,
434
- isImaging: C(B),
435
- isPrinting: C(z),
434
+ backgroundColor: P.value.backgroundColor,
435
+ color: P.value.color,
436
+ isImaging: C(U),
437
+ isPrinting: C(H),
436
438
  uid: D.value,
437
- hasPdf: j.value.userOptions.buttons.pdf,
438
- hasImg: j.value.userOptions.buttons.img,
439
- hasSvg: j.value.userOptions.buttons.svg,
440
- hasFullscreen: j.value.userOptions.buttons.fullscreen,
441
- hasAltCopy: j.value.userOptions.buttons.altCopy,
439
+ hasPdf: M.value.buttons.pdf,
440
+ hasImg: M.value.buttons.img,
441
+ hasSvg: M.value.buttons.svg,
442
+ hasFullscreen: M.value.buttons.fullscreen,
443
+ hasAltCopy: M.value.buttons.altCopy,
442
444
  hasXls: !1,
443
- isFullscreen: J.value,
444
- titles: { ...j.value.userOptions.buttonTitles },
445
+ isFullscreen: X.value,
446
+ titles: { ...M.value.buttonTitles },
445
447
  chartElement: O.value,
446
- position: j.value.userOptions.position,
447
- hasAnnotator: j.value.userOptions.buttons.annotator,
448
- isAnnotation: Y.value,
449
- callbacks: j.value.userOptions.callbacks,
450
- printScale: j.value.userOptions.print.scale,
448
+ position: M.value.position,
449
+ hasAnnotator: M.value.buttons.annotator,
450
+ isAnnotation: Z.value,
451
+ callbacks: M.value.callbacks,
452
+ printScale: M.value.print.scale,
451
453
  isCursorPointer: vt.value,
452
- onToggleFullscreen: Pt,
454
+ onToggleFullscreen: Ft,
453
455
  onGeneratePdf: C(wt),
454
- onGenerateImage: C(Vt),
455
- onGenerateSvg: C(Q),
456
- onToggleAnnotator: X,
457
- onCopyAlt: Ht,
458
- style: Oe({ visibility: C(Ct) ? C(I) ? "visible" : "hidden" : "visible" })
456
+ onGenerateImage: C(Wt),
457
+ onGenerateSvg: C(Ut),
458
+ onToggleAnnotator: It,
459
+ onCopyAlt: Gt,
460
+ style: Oe({ visibility: C(Ct) ? C(z) ? "visible" : "hidden" : "visible" })
459
461
  }, Ee({ _: 2 }, [
460
462
  e.$slots.menuIcon ? {
461
463
  name: "menuIcon",
@@ -538,40 +540,40 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
538
540
  ])) : f("", !0),
539
541
  (y(), p("svg", {
540
542
  ref_key: "svgRef",
541
- ref: L,
543
+ ref: B,
542
544
  xmlns: C(ae),
543
545
  class: _({
544
- "vue-data-ui-fullscreen--on": J.value,
545
- "vue-data-ui-fulscreen--off": !J.value
546
+ "vue-data-ui-fullscreen--on": X.value,
547
+ "vue-data-ui-fulscreen--off": !X.value
546
548
  }),
547
549
  width: "100%",
548
- viewBox: `0 0 ${K.value.width} ${K.value.height}`,
550
+ viewBox: `0 0 ${J.value.width} ${J.value.height}`,
549
551
  style: "background:transparent",
550
- "aria-labelledby": Ut.value,
551
- "aria-describedby": Wt.value
552
+ "aria-labelledby": Kt.value,
553
+ "aria-describedby": qt.value
552
554
  }, [
553
- m("title", { id: Ut.value }, S(Gt.value), 9, Re),
554
- m("desc", { id: Wt.value }, S(Kt.value), 9, ze),
555
+ m("title", { id: Kt.value }, S(Jt.value), 9, Re),
556
+ m("desc", { id: qt.value }, S(Yt.value), 9, ze),
555
557
  De(C(T)),
556
558
  e.$slots["chart-background"] ? (y(), p("foreignObject", {
557
559
  key: 0,
558
560
  x: 0,
559
561
  y: 0,
560
- width: K.value.width,
561
- height: K.value.height,
562
+ width: J.value.width,
563
+ height: J.value.height,
562
564
  style: { pointerEvents: "none" }
563
565
  }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Be)) : f("", !0),
564
566
  m("defs", null, [m("clipPath", {
565
567
  id: `vueUiPill-${D.value}`,
566
568
  clipPathUnits: "userSpaceOnUse"
567
569
  }, [m("rect", {
568
- x: K.value.left,
569
- y: K.value.top,
570
- width: K.value.thermoWidth,
571
- height: K.value.thermoHeight,
572
- rx: K.value.thermoWidth / 2,
573
- ry: K.value.thermoWidth / 2
574
- }, null, 8, He)], 8, Ve), (y(!0), p(l, null, Ae(Nt.value, (e, t) => (y(), d(be, {
570
+ x: J.value.left,
571
+ y: J.value.top,
572
+ width: J.value.thermoWidth,
573
+ height: J.value.thermoHeight,
574
+ rx: J.value.thermoWidth / 2,
575
+ ry: J.value.thermoWidth / 2
576
+ }, null, 8, He)], 8, Ve), (y(!0), p(l, null, Ae(Pt.value, (e, t) => (y(), d(be, {
575
577
  t: "linear",
576
578
  id: `vueUiThermometerGradient_${t}_${D.value}`,
577
579
  key: `t_${t}_${D.value}`,
@@ -587,7 +589,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
587
589
  ],
588
590
  [
589
591
  "50%",
590
- C(i)(e.color, 100 - j.value.style.chart.graduations.gradient.intensity),
592
+ C(i)(e.color, 100 - N.value.gradient.intensity),
591
593
  1
592
594
  ],
593
595
  [
@@ -599,158 +601,158 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
599
601
  }, null, 8, ["id", "stops"]))), 128))]),
600
602
  m("g", { "clip-path": `url(#vueUiPill-${D.value})` }, [
601
603
  m("rect", {
602
- x: K.value.left,
603
- y: K.value.top,
604
- height: K.value.thermoHeight,
605
- width: K.value.thermoWidth,
604
+ x: J.value.left,
605
+ y: J.value.top,
606
+ height: J.value.thermoHeight,
607
+ width: J.value.thermoWidth,
606
608
  fill: "#FFFFFF"
607
609
  }, null, 8, We),
608
- (y(!0), p(l, null, Ae(Nt.value, (e, t) => (y(), p("g", { key: `graduation_${t}` }, [
610
+ (y(!0), p(l, null, Ae(Pt.value, (e, t) => (y(), p("g", { key: `graduation_${t}` }, [
609
611
  m("rect", {
610
612
  x: e.x,
611
613
  y: e.y,
612
614
  height: e.height,
613
- width: K.value.thermoWidth,
614
- fill: j.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${t}_${D.value})` : e.color,
615
+ width: J.value.thermoWidth,
616
+ fill: N.value.gradient.show ? `url(#vueUiThermometerGradient_${t}_${D.value})` : e.color,
615
617
  "shape-rendering": "crispEdges"
616
618
  }, null, 8, Ge),
617
- j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
619
+ N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
618
620
  key: 0,
619
621
  x1: e.x,
620
622
  x2: e.x + 10,
621
623
  y1: e.y,
622
624
  y2: e.y,
623
- "stroke-width": j.value.style.chart.graduations.strokeWidth,
624
- stroke: j.value.style.chart.graduations.stroke,
625
+ "stroke-width": N.value.strokeWidth,
626
+ stroke: N.value.stroke,
625
627
  "stroke-linecap": "round"
626
628
  }, null, 8, Ke)) : f("", !0),
627
- j.value.style.chart.graduations.showIntermediate ? (y(), p(l, { key: 1 }, [
628
- j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
629
+ N.value.showIntermediate ? (y(), p(l, { key: 1 }, [
630
+ N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
629
631
  key: 0,
630
632
  x1: e.x,
631
633
  x2: e.x + 5,
632
634
  y1: e.halfY,
633
635
  y2: e.halfY,
634
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
635
- stroke: j.value.style.chart.graduations.stroke,
636
+ "stroke-width": N.value.strokeWidth / 2,
637
+ stroke: N.value.stroke,
636
638
  "stroke-linecap": "round"
637
639
  }, null, 8, qe)) : f("", !0),
638
- j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
640
+ N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
639
641
  key: 1,
640
642
  x1: e.x,
641
643
  x2: e.x + 2.5,
642
644
  y1: e.qYLess,
643
645
  y2: e.qYLess,
644
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
645
- stroke: j.value.style.chart.graduations.stroke,
646
+ "stroke-width": N.value.strokeWidth / 2,
647
+ stroke: N.value.stroke,
646
648
  "stroke-linecap": "round"
647
649
  }, null, 8, Je)) : f("", !0),
648
- j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
650
+ N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
649
651
  key: 2,
650
652
  x1: e.x,
651
653
  x2: e.x + 2.5,
652
654
  y1: e.qYMore,
653
655
  y2: e.qYMore,
654
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
655
- stroke: j.value.style.chart.graduations.stroke,
656
+ "stroke-width": N.value.strokeWidth / 2,
657
+ stroke: N.value.stroke,
656
658
  "stroke-linecap": "round"
657
659
  }, null, 8, Ye)) : f("", !0)
658
660
  ], 64)) : f("", !0),
659
- j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
661
+ N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
660
662
  key: 2,
661
- x1: K.value.right,
662
- x2: K.value.right - 10,
663
+ x1: J.value.right,
664
+ x2: J.value.right - 10,
663
665
  y1: e.y,
664
666
  y2: e.y,
665
- "stroke-width": j.value.style.chart.graduations.strokeWidth,
666
- stroke: j.value.style.chart.graduations.stroke,
667
+ "stroke-width": N.value.strokeWidth,
668
+ stroke: N.value.stroke,
667
669
  "stroke-linecap": "round"
668
670
  }, null, 8, Xe)) : f("", !0),
669
- j.value.style.chart.graduations.showIntermediate ? (y(), p(l, { key: 3 }, [
670
- j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
671
+ N.value.showIntermediate ? (y(), p(l, { key: 3 }, [
672
+ N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
671
673
  key: 0,
672
- x1: K.value.right,
673
- x2: K.value.right - 5,
674
+ x1: J.value.right,
675
+ x2: J.value.right - 5,
674
676
  y1: e.halfY,
675
677
  y2: e.halfY,
676
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
677
- stroke: j.value.style.chart.graduations.stroke,
678
+ "stroke-width": N.value.strokeWidth / 2,
679
+ stroke: N.value.stroke,
678
680
  "stroke-linecap": "round"
679
681
  }, null, 8, Ze)) : f("", !0),
680
- j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
682
+ N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
681
683
  key: 1,
682
- x1: K.value.right,
683
- x2: K.value.right - 2.5,
684
+ x1: J.value.right,
685
+ x2: J.value.right - 2.5,
684
686
  y1: e.qYLess,
685
687
  y2: e.qYLess,
686
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
687
- stroke: j.value.style.chart.graduations.stroke,
688
+ "stroke-width": N.value.strokeWidth / 2,
689
+ stroke: N.value.stroke,
688
690
  "stroke-linecap": "round"
689
691
  }, null, 8, Qe)) : f("", !0),
690
- j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
692
+ N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
691
693
  key: 2,
692
- x1: K.value.right,
693
- x2: K.value.right - 2.5,
694
+ x1: J.value.right,
695
+ x2: J.value.right - 2.5,
694
696
  y1: e.qYMore,
695
697
  y2: e.qYMore,
696
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
697
- stroke: j.value.style.chart.graduations.stroke,
698
+ "stroke-width": N.value.strokeWidth / 2,
699
+ stroke: N.value.stroke,
698
700
  "stroke-linecap": "round"
699
701
  }, null, 8, $e)) : f("", !0)
700
702
  ], 64)) : f("", !0)
701
703
  ]))), 128)),
702
704
  m("rect", {
703
- class: _({ "vue-ui-thermometer-temperature": j.value.style.chart.animation.use }),
704
- x: K.value.left,
705
- y: K.value.top,
706
- height: q.value,
707
- width: K.value.thermoWidth,
705
+ class: _({ "vue-ui-thermometer-temperature": P.value.animation.use }),
706
+ x: J.value.left,
707
+ y: J.value.top,
708
+ height: Y.value,
709
+ width: J.value.thermoWidth,
708
710
  fill: "#FFFFFF66"
709
711
  }, null, 10, et)
710
712
  ], 8, Ue),
711
- j.value.style.chart.label.show ? (y(), p("g", {
713
+ P.value.label.show ? (y(), p("g", {
712
714
  key: 1,
713
715
  role: "status",
714
716
  "aria-live": "polite",
715
- "aria-label": C(P) ? "Loading data" : $.value
716
- }, [C(P) ? (y(), p("rect", {
717
+ "aria-label": C(L) ? "Loading data" : $.value
718
+ }, [C(L) ? (y(), p("rect", {
717
719
  key: 0,
718
- x: K.value.left - 60,
719
- y: q.value + K.value.top - Z.value / 2,
720
+ x: J.value.left - 60,
721
+ y: Y.value + J.value.top - Q.value / 2,
720
722
  width: 50,
721
- height: Z.value,
723
+ height: Q.value,
722
724
  fill: "#6A6A6A40",
723
725
  rx: "3"
724
726
  }, null, 8, nt)) : (y(), p("text", {
725
727
  key: 1,
726
728
  "aria-hidden": "true",
727
729
  class: _({
728
- "vue-ui-thermometer-temperature-value": j.value.style.chart.animation.use,
730
+ "vue-ui-thermometer-temperature-value": P.value.animation.use,
729
731
  "vue-ui-thermometer-label": !0
730
732
  }),
731
- y: q.value + K.value.top + Z.value / 3,
732
- x: K.value.left - 10,
733
+ y: Y.value + J.value.top + Q.value / 3,
734
+ x: J.value.left - 10,
733
735
  "text-anchor": "end",
734
- fill: j.value.style.chart.label.color,
735
- "font-size": Z.value,
736
- "font-weight": j.value.style.chart.label.bold ? "bold" : "normal"
736
+ fill: P.value.label.color,
737
+ "font-size": Q.value,
738
+ "font-weight": P.value.label.bold ? "bold" : "normal"
737
739
  }, S($.value), 11, rt))], 8, tt)) : f("", !0),
738
740
  x(e.$slots, "svg", { svg: {
739
- ...Ot.value,
740
- isPrintingImg: C(z) || C(B) || C(zt),
741
- isPrintingSvg: C(Bt)
741
+ ...kt.value,
742
+ isPrintingImg: C(H) || C(U) || C(Vt),
743
+ isPrintingSvg: C(Ht)
742
744
  } }, void 0, !0)
743
745
  ], 10, Le)),
744
- e.$slots.watermark ? (y(), p("div", it, [x(e.$slots, "watermark", v(g({ isPrinting: C(z) || C(B) || C(zt) || C(Bt) })), void 0, !0)])) : f("", !0),
746
+ e.$slots.watermark ? (y(), p("div", it, [x(e.$slots, "watermark", v(g({ isPrinting: C(H) || C(U) || C(Vt) || C(Ht) })), void 0, !0)])) : f("", !0),
745
747
  e.$slots.source ? (y(), p("div", {
746
748
  key: 5,
747
749
  ref_key: "source",
748
750
  ref: ht,
749
751
  dir: "auto"
750
752
  }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
751
- x(e.$slots, "skeleton", {}, () => [C(P) ? (y(), d(fe, { key: 0 })) : f("", !0)], !0)
753
+ x(e.$slots, "skeleton", {}, () => [C(L) ? (y(), d(fe, { key: 0 })) : f("", !0)], !0)
752
754
  ], 46, Fe));
753
755
  }
754
- }, [["__scopeId", "data-v-3ce3d8f1"]]);
756
+ }, [["__scopeId", "data-v-d16e0f9d"]]);
755
757
  //#endregion
756
758
  export { Pe as n, T as t };