vue-data-ui 3.23.0 → 3.23.1

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 (194) hide show
  1. package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  3. package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
  4. package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  5. package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  6. package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
  7. package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
  8. package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
  9. package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
  11. package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-D6d8SCp9.js} +1 -1
  12. package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
  13. package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
  14. package/dist/Slicer-CIk57nL4.js +1163 -0
  15. package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
  16. package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
  17. package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
  18. package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
  19. package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/composables.js +1 -1
  91. package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
  92. package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
  93. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  94. package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
  95. package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
  96. package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
  97. package/dist/{package-BMc_ZieJ.js → package-KvlL5CqE.js} +1 -1
  98. package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
  99. package/dist/{render-common-Ktg2LZFG.js → render-common-oDYGTc5P.js} +2 -2
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +3 -0
  105. package/dist/{useConfig-BilxnBNr.js → useConfig-D3scuR88.js} +7 -1
  106. package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
  107. package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-Brg8mm5J.js} +1 -1
  108. package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
  109. package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
  110. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  111. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  112. package/dist/utils.js +3 -3
  113. package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-DGWDPCwC.js} +69 -69
  114. package/dist/vue-data-ui.js +74 -74
  115. package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-C_Su9fve.js} +45 -45
  116. package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-BxGriZik.js} +4 -4
  117. package/dist/{vue-ui-age-pyramid-CgnPWA93.js → vue-ui-age-pyramid-D4k1MkAL.js} +41 -40
  118. package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-CCtnM8Rv.js} +41 -68
  119. package/dist/{vue-ui-bullet-Bc3-WaN1.js → vue-ui-bullet-DLZr2Uk8.js} +21 -21
  120. package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-CcdzJZ9n.js} +32 -32
  121. package/dist/{vue-ui-candlestick-DvvsrIdp.js → vue-ui-candlestick-EEEt7ORC.js} +50 -48
  122. package/dist/{vue-ui-carousel-table-DtsNVim8.js → vue-ui-carousel-table-BicIpNAD.js} +8 -8
  123. package/dist/vue-ui-chestnut-BI7mC5dd.js +2068 -0
  124. package/dist/{vue-ui-chord-xX5gWZy8.js → vue-ui-chord-DXaq8ZMu.js} +46 -46
  125. package/dist/{vue-ui-circle-pack-D8wykmqg.js → vue-ui-circle-pack-XHJBMG51.js} +362 -341
  126. package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-BqHr0n1Z.js} +4 -4
  127. package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-jMLVoQkb.js} +715 -720
  128. package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-DVAUFETR.js} +70 -70
  129. package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Dy4gG6qm.js} +5 -5
  130. package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-C0cWRLbU.js} +48 -47
  131. package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-CYpxGBhl.js} +18 -17
  132. package/dist/{vue-ui-donut-evolution-D6vH_hfx.js → vue-ui-donut-evolution-DwR47A2r.js} +58 -53
  133. package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-DxVbRjKR.js} +85 -85
  134. package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-DWaZF4FS.js} +37 -37
  135. package/dist/{vue-ui-funnel-CjYosIik.js → vue-ui-funnel-Bmpx5GHR.js} +24 -24
  136. package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-CWBP9oH9.js} +151 -151
  137. package/dist/{vue-ui-gauge-CByT0_vF.js → vue-ui-gauge-ByE_txav.js} +20 -20
  138. package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-ZA7CBy8f.js} +186 -186
  139. package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-SQCou0bQ.js} +4 -4
  140. package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-CHd9gs_p.js} +385 -385
  141. package/dist/vue-ui-hill-BT183G-_.js +1768 -0
  142. package/dist/{vue-ui-history-plot-BhcU94Pt.js → vue-ui-history-plot-BwnlC1mx.js} +511 -510
  143. package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-BUar2HUH.js} +235 -235
  144. package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-BF_9WWoo.js} +4 -4
  145. package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CvfukjXi.js} +3 -3
  146. package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
  147. package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-_zpbmvJs.js} +50 -50
  148. package/dist/{vue-ui-nested-donuts-aS4YzaB3.js → vue-ui-nested-donuts-qHZAJ70u.js} +43 -43
  149. package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
  150. package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-BUwt-apg.js} +54 -54
  151. package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-CoROD3er.js} +74 -74
  152. package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-BcH7eY4-.js} +96 -88
  153. package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-DGbaXGme.js} +191 -191
  154. package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-Bo3zD3yW.js} +3 -3
  155. package/dist/{vue-ui-relation-circle-FLs8vOxQ.js → vue-ui-relation-circle-DaU1eTsG.js} +32 -32
  156. package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
  157. package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-BJUBn8_b.js} +40 -40
  158. package/dist/{vue-ui-scatter-CNA7jF-o.js → vue-ui-scatter-Pcft1bUt.js} +50 -50
  159. package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-EeJcGbCo.js} +4 -4
  160. package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-D0gibt5c.js} +3 -3
  161. package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-BRoQ7JpQ.js} +11 -11
  162. package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-DFp2k7-7.js} +4 -4
  163. package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-D0Bq85Hs.js} +4 -4
  164. package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-BPln7v63.js} +13 -13
  165. package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-C6Q45Dqp.js} +7 -6
  166. package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-CjK4bcQg.js} +5 -5
  167. package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-Ca8EPf3e.js} +83 -80
  168. package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Pz5WWlWT.js} +189 -186
  169. package/dist/{vue-ui-strip-plot-ACeYOoHj.js → vue-ui-strip-plot-Dw4MGDSO.js} +66 -66
  170. package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
  171. package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-ljeYW8Wc.js} +10 -10
  172. package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-iRFmtK5S.js} +8 -8
  173. package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-D8uiOaeA.js} +26 -26
  174. package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-CYw983oL.js} +6 -6
  175. package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
  176. package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-h4VbnqPA.js} +77 -77
  177. package/dist/{vue-ui-waffle-iPpdk1Bm.js → vue-ui-waffle-cu0w_s6L.js} +41 -41
  178. package/dist/vue-ui-wheel-tLvJadk5.js +892 -0
  179. package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-BjpGSsod.js} +68 -68
  180. package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-B4fCS3jN.js} +184 -184
  181. package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-7ZT9IRD8.js} +60 -60
  182. package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-BnLEwBpi.js} +20 -18
  183. package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-gyNS0yH0.js} +329 -326
  184. package/package.json +4 -4
  185. package/dist/Slicer-5yIrdoJv.js +0 -1149
  186. package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
  187. package/dist/vue-ui-chestnut-ArloORzP.js +0 -2068
  188. package/dist/vue-ui-hill-D7LYAgAL.js +0 -1768
  189. package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
  190. package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
  191. package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
  192. package/dist/vue-ui-table-rFy16bp0.js +0 -1347
  193. package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
  194. package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
@@ -1,24 +1,24 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, G as r, Gt as i, Jt as a, Kt as o, Ot as s, Pt as c, S as ee, T as te, X as l, Y as ne, _ as re, bt as ie, i as u, jt as ae, pt as oe, q as se, qt as d, r as ce, t as le, tt as ue, w as de, xt as fe, zt as pe } from "./lib-BuMGJ_a0.js";
2
+ import { $ as t, D as n, G as r, Gt as i, Jt as a, Kt as o, Ot as s, Pt as c, S as ee, T as te, X as l, Y as ne, _ as re, bt as ie, i as u, jt as ae, pt as oe, q as se, qt as d, r as ce, t as le, tt as ue, w as de, xt as fe, zt as pe } from "./lib-Bttd6u5E.js";
3
3
  import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
- import { t as ge } from "./useConfig-BilxnBNr.js";
5
- import { t as _e } from "./usePrinter-BFvi4jVy.js";
4
+ import { t as ge } from "./useConfig-D3scuR88.js";
5
+ import { t as _e } from "./usePrinter-DN5bYhTG.js";
6
6
  import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as be } from "./useSvgExport-Ba9qBr9M.js";
8
- import { t as xe } from "./useNestedProp--NSEmhOH.js";
7
+ import { t as be } from "./useSvgExport-DH-FfcqQ.js";
8
+ import { t as xe } from "./useNestedProp-vPNvh7rV.js";
9
9
  import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
10
10
  import { t as Ce } from "./useTransitions-g_zBREk2.js";
11
11
  import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
- import { t as Te } from "./img-DIQG5q8T.js";
13
- import { n as Ee } from "./Title-BODtwViI.js";
12
+ import { t as Te } from "./img-Bnokohej.js";
13
+ import { n as Ee } from "./Title-BE3qg9xl.js";
14
14
  import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
15
  import { l as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
16
16
  import { t as Ae } from "./DefGrad-DVBqDjhO.js";
17
- import { t as je } from "./BaseLegendToggle-CtAPwzr2.js";
17
+ import { t as je } from "./BaseLegendToggle-DZVucLnv.js";
18
18
  import { t as Me } from "./A11yDataTable-DdRsVULz.js";
19
19
  import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
20
20
  import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as Fe } from "./Legend-CQTRlzK-.js";
21
+ import { t as Fe } from "./Legend-CQxUgOd-.js";
22
22
  import { t as Ie } from "./vue_ui_history_plot-CuN63VEc.js";
23
23
  import { Fragment as f, Teleport as Le, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Ve, nextTick as He, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Ue, onMounted as We, openBlock as C, ref as w, renderList as T, renderSlot as E, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as D, toRefs as qe, unref as O, watch as Je, watchEffect as Ye, withCtx as k } from "vue";
24
24
  //#region src/components/vue-ui-history-plot.vue
@@ -178,88 +178,88 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
178
178
  "copyAlt"
179
179
  ],
180
180
  setup(e, { expose: De, emit: Xe }) {
181
- let Ft = v(() => import("./Tooltip-CMTGxeYO.js")), It = v(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), Lt = v(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), Rt = v(() => import("./DataTable-D4tM9s5Y.js")), zt = v(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), Bt = v(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), Vt = v(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Ht = v(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_history_plot: Ut } = ge(), { isThemeValid: Wt, warnInvalidTheme: Gt } = Se(), A = e, j = w(null), Kt = w(null), qt = w(0), Jt = w(null), Yt = w(0), Xt = w(0), Zt = w(0), M = Ke(null), N = Ke(null), Qt = w(null), P = w(se()), $t = w(!1), en = w(""), F = w([]), I = w(!1), L = w(null), tn = w(!1), nn = w(null), rn = w(!1), an = w(null), on = w(null), sn = w(!1), cn = w(!1), ln = w(null), un = w(null), dn = w(null), fn = w(null), R = w(null), z = w(null), pn = w({
181
+ let Ft = v(() => import("./Tooltip-DhjyfHwz.js")), It = v(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Lt = v(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), Rt = v(() => import("./DataTable-BbKgJ5UI.js")), zt = v(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Bt = v(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Vt = v(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Ht = v(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_history_plot: Ut } = ge(), { isThemeValid: Wt, warnInvalidTheme: Gt } = Se(), A = e, j = w(null), Kt = w(null), qt = w(0), Jt = w(null), Yt = w(0), Xt = w(0), Zt = w(0), M = Ke(null), N = Ke(null), Qt = w(null), P = w(se()), $t = w(!1), en = w(""), F = w([]), I = w(!1), L = w(null), tn = w(!1), nn = w(null), rn = w(!1), R = w(null), an = w(null), on = w(!1), sn = w(!1), cn = w(null), ln = w(null), un = w(null), dn = w(null), z = w(null), B = w(null), fn = w({
182
182
  x: 0,
183
183
  y: 0
184
- }), mn = w("pointer"), hn = w(!1), gn = p({
184
+ }), pn = w("pointer"), mn = w(!1), hn = p({
185
185
  get: () => !!A.dataset && A.dataset.length,
186
186
  set: (e) => e
187
- }), _n = Xe;
187
+ }), gn = Xe;
188
188
  We(() => {
189
- rn.value = !0, yn();
189
+ rn.value = !0, vn();
190
190
  });
191
- let vn = p(() => !!B.value.debug);
192
- function yn() {
191
+ let _n = p(() => !!V.value.debug);
192
+ function vn() {
193
193
  if (ae(A.dataset) ? (ue({
194
194
  componentName: "VueUiHistoryPlot",
195
195
  type: "dataset",
196
- debug: vn.value
197
- }), wn.value = !0) : A.dataset.forEach((e, t) => {
196
+ debug: _n.value
197
+ }), Cn.value = !0) : A.dataset.forEach((e, t) => {
198
198
  oe({
199
199
  datasetObject: e,
200
200
  requiredAttributes: ["name", "values"]
201
201
  }).forEach((e) => {
202
- gn.value = !1, ue({
202
+ hn.value = !1, ue({
203
203
  componentName: "VueUiHistoryPlot",
204
204
  type: "datasetSerieAttribute",
205
205
  property: e,
206
206
  index: t,
207
- debug: vn.value
207
+ debug: _n.value
208
208
  });
209
209
  });
210
- }), ae(A.dataset) || (wn.value = B.value.loading), B.value.responsive) {
210
+ }), ae(A.dataset) || (Cn.value = V.value.loading), V.value.responsive) {
211
211
  let e = Oe(() => {
212
212
  let { width: e, height: t } = ke({
213
213
  chart: j.value,
214
- title: B.value.style.chart.title.text ? Kt.value : null,
214
+ title: V.value.style.chart.title.text ? Kt.value : null,
215
215
  noTitle: Qt.value,
216
- legend: B.value.style.chart.legend.show ? Jt.value : null,
216
+ legend: V.value.style.chart.legend.show ? Jt.value : null,
217
217
  source: nn.value
218
218
  });
219
219
  requestAnimationFrame(() => {
220
- G.value.width = e, G.value.height = t, B.value.responsiveProportionalSizing ? (q.value.plots = d({
220
+ K.value.width = e, K.value.height = t, V.value.responsiveProportionalSizing ? (J.value.plots = d({
221
221
  relator: Math.min(e, t),
222
222
  adjuster: 600,
223
- source: B.value.style.chart.plots.radius,
223
+ source: V.value.style.chart.plots.radius,
224
224
  threshold: 3,
225
225
  fallback: 3
226
- }), q.value.indexLabels = d({
226
+ }), J.value.indexLabels = d({
227
227
  relator: Math.min(e, t),
228
228
  adjuster: 600,
229
- source: B.value.style.chart.plots.indexLabels.fontSize,
229
+ source: V.value.style.chart.plots.indexLabels.fontSize,
230
230
  threshold: 6,
231
231
  fallback: 6
232
- }), q.value.labels = d({
232
+ }), J.value.labels = d({
233
233
  relator: Math.min(e, t),
234
234
  adjuster: 600,
235
- source: B.value.style.chart.plots.labels.fontSize,
235
+ source: V.value.style.chart.plots.labels.fontSize,
236
236
  threshold: 6,
237
237
  fallback: 6
238
- }), q.value.xAxisLabels = d({
238
+ }), J.value.xAxisLabels = d({
239
239
  relator: Math.min(e, t),
240
240
  adjuster: 600,
241
- source: B.value.style.chart.axes.x.labels.fontSize,
241
+ source: V.value.style.chart.axes.x.labels.fontSize,
242
242
  threshold: 6,
243
243
  fallback: 6
244
- }), q.value.xAxisName = d({
244
+ }), J.value.xAxisName = d({
245
245
  relator: Math.min(e, t),
246
246
  adjuster: 600,
247
- source: B.value.style.chart.axes.x.name.fontSize,
247
+ source: V.value.style.chart.axes.x.name.fontSize,
248
248
  threshold: 6,
249
249
  fallback: 6
250
- }), q.value.yAxisLabels = d({
250
+ }), J.value.yAxisLabels = d({
251
251
  relator: Math.min(e, t),
252
252
  adjuster: 600,
253
- source: B.value.style.chart.axes.y.labels.fontSize,
253
+ source: V.value.style.chart.axes.y.labels.fontSize,
254
254
  threshold: 6,
255
255
  fallback: 6
256
- }), q.value.yAxisName = d({
256
+ }), J.value.yAxisName = d({
257
257
  relator: Math.min(e, t),
258
258
  adjuster: 600,
259
- source: B.value.style.chart.axes.y.name.fontSize,
259
+ source: V.value.style.chart.axes.y.name.fontSize,
260
260
  threshold: 6,
261
261
  fallback: 6
262
- })) : (q.value.plots = B.value.style.chart.plots.radius, q.value.indexLabels = B.value.style.chart.plots.indexLabels.fontSize, q.value.labels = B.value.style.chart.plots.labels.fontSize, q.value.xAxisLabels = B.value.style.chart.axes.x.labels.fontSize, q.value.xAxisName = B.value.style.chart.axes.x.name.fontSize, q.value.yAxisLabels = B.value.style.chart.axes.y.labels.fontSize, q.value.yAxisName = B.value.style.chart.axes.y.name.fontSize);
262
+ })) : (J.value.plots = V.value.style.chart.plots.radius, J.value.indexLabels = V.value.style.chart.plots.indexLabels.fontSize, J.value.labels = V.value.style.chart.plots.labels.fontSize, J.value.xAxisLabels = V.value.style.chart.axes.x.labels.fontSize, J.value.xAxisName = V.value.style.chart.axes.x.name.fontSize, J.value.yAxisLabels = V.value.style.chart.axes.y.labels.fontSize, J.value.yAxisName = V.value.style.chart.axes.y.name.fontSize);
263
263
  });
264
264
  });
265
265
  M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect()), M.value = new ResizeObserver(e), N.value = j.value.parentNode, M.value.observe(N.value);
@@ -268,7 +268,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
268
268
  Ue(() => {
269
269
  M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect());
270
270
  });
271
- function bn() {
271
+ function yn() {
272
272
  let e = xe({
273
273
  userConfig: A.config,
274
274
  defaultConfig: Ut
@@ -290,9 +290,9 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
290
290
  else t = e;
291
291
  return t;
292
292
  }
293
- let B = w(bn());
293
+ let V = w(yn());
294
294
  me({
295
- config: () => B.value,
295
+ config: () => V.value,
296
296
  dataset: () => A.dataset,
297
297
  component: "VueUiHistoryPlot",
298
298
  rules: [he.emptyArray, {
@@ -304,10 +304,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
304
304
  ]
305
305
  }]
306
306
  });
307
- let { transitionEnabled: V } = Ce({
308
- config: () => B.value.transitions,
307
+ let { transitionEnabled: H } = Ce({
308
+ config: () => V.value.transitions,
309
309
  dataset: () => A.dataset
310
- }), H = p(() => B.value.userOptions.useCursorPointer), xn = p(() => a({
310
+ }), U = p(() => V.value.userOptions.useCursorPointer), bn = p(() => a({
311
311
  defaultConfig: {
312
312
  userOptions: { show: !1 },
313
313
  table: { show: !1 },
@@ -345,11 +345,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
345
345
  }
346
346
  } }
347
347
  },
348
- userConfig: B.value.skeletonConfig ?? {}
349
- })), { loading: Sn, FINAL_DATASET: Cn, manualLoading: wn } = ve({
348
+ userConfig: V.value.skeletonConfig ?? {}
349
+ })), { loading: xn, FINAL_DATASET: Sn, manualLoading: Cn } = ve({
350
350
  ...qe(A),
351
- FINAL_CONFIG: B,
352
- prepareConfig: bn,
351
+ FINAL_CONFIG: V,
352
+ prepareConfig: yn,
353
353
  skeletonDataset: A.config?.skeletonDataset ?? [{
354
354
  name: "",
355
355
  color: "#CACACA",
@@ -377,132 +377,132 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
377
377
  ]
378
378
  }],
379
379
  skeletonConfig: a({
380
- defaultConfig: B.value,
381
- userConfig: xn.value
380
+ defaultConfig: V.value,
381
+ userConfig: bn.value
382
382
  })
383
- }), { userOptionsVisible: Tn, setUserOptionsVisibility: En, keepUserOptionState: Dn } = Ne({ config: B.value }), { svgRef: U } = Pe({ config: B.value.style.chart.title });
383
+ }), { userOptionsVisible: wn, setUserOptionsVisibility: Tn, keepUserOptionState: En } = Ne({ config: V.value }), { svgRef: W } = Pe({ config: V.value.style.chart.title });
384
384
  Je(() => A.config, (e) => {
385
- Sn.value || (B.value = bn()), Tn.value = !B.value.userOptions.showOnChartHover, yn(), qt.value += 1, Xt.value += 1, Yt.value += 1, G.value.height = B.value.style.chart.height, G.value.width = B.value.style.chart.width, q.value.plots = B.value.style.chart.plots.radius, q.value.indexLabels = B.value.style.chart.plots.indexLabels.fontSize, q.value.labels = B.value.style.chart.plots.labels.fontSize, q.value.xAxisLabels = B.value.style.chart.axes.x.labels.fontSize, q.value.xAxisName = B.value.style.chart.axes.x.name.fontSize, q.value.yAxisLabels = B.value.style.chart.axes.y.labels.fontSize, q.value.yAxisName = B.value.style.chart.axes.y.name.fontSize, W.value.showTable = B.value.table.show, W.value.showTooltip = B.value.style.chart.tooltip.show;
385
+ xn.value || (V.value = yn()), wn.value = !V.value.userOptions.showOnChartHover, vn(), qt.value += 1, Xt.value += 1, Yt.value += 1, K.value.height = V.value.style.chart.height, K.value.width = V.value.style.chart.width, J.value.plots = V.value.style.chart.plots.radius, J.value.indexLabels = V.value.style.chart.plots.indexLabels.fontSize, J.value.labels = V.value.style.chart.plots.labels.fontSize, J.value.xAxisLabels = V.value.style.chart.axes.x.labels.fontSize, J.value.xAxisName = V.value.style.chart.axes.x.name.fontSize, J.value.yAxisLabels = V.value.style.chart.axes.y.labels.fontSize, J.value.yAxisName = V.value.style.chart.axes.y.name.fontSize, G.value.showTable = V.value.table.show, G.value.showTooltip = V.value.style.chart.tooltip.show;
386
386
  }, { deep: !0 }), Je(() => A.dataset, (e) => {
387
- Array.isArray(e) && e.length > 0 && (wn.value = !1);
387
+ Array.isArray(e) && e.length > 0 && (Cn.value = !1);
388
388
  }, { deep: !0 });
389
- let { isPrinting: On, isImaging: kn, generatePdf: An, generateImage: jn } = _e({
389
+ let { isPrinting: Dn, isImaging: On, generatePdf: kn, generateImage: An } = _e({
390
390
  elementId: `history_plot_${P.value}`,
391
- fileName: B.value.style.chart.title.text || "vue-ui-history-plot",
392
- options: B.value.userOptions.print
393
- }), Mn = p(() => B.value.userOptions.show && !B.value.style.chart.title.text), Nn = p(() => de(B.value.customPalette)), W = w({
394
- showTable: B.value.table.show,
395
- showTooltip: B.value.style.chart.tooltip.show
391
+ fileName: V.value.style.chart.title.text || "vue-ui-history-plot",
392
+ options: V.value.userOptions.print
393
+ }), jn = p(() => V.value.userOptions.show && !V.value.style.chart.title.text), Mn = p(() => de(V.value.customPalette)), G = w({
394
+ showTable: V.value.table.show,
395
+ showTooltip: V.value.style.chart.tooltip.show
396
396
  });
397
- Je(B, () => {
398
- W.value = {
399
- showTable: B.value.table.show,
400
- showTooltip: B.value.style.chart.tooltip.show
397
+ Je(V, () => {
398
+ G.value = {
399
+ showTable: V.value.table.show,
400
+ showTooltip: V.value.style.chart.tooltip.show
401
401
  };
402
402
  }, { immediate: !0 });
403
- let G = w({
404
- height: B.value.style.chart.height,
405
- width: B.value.style.chart.width
406
- }), Pn = p(() => G.value.width), Fn = p(() => G.value.height);
407
- function In() {
403
+ let K = w({
404
+ height: V.value.style.chart.height,
405
+ width: V.value.style.chart.width
406
+ }), Nn = p(() => K.value.width), Pn = p(() => K.value.height);
407
+ function Fn() {
408
408
  let e = 0;
409
- fn.value && (e = Array.from(fn.value.querySelectorAll("text")).reduce((e, t) => {
409
+ dn.value && (e = Array.from(dn.value.querySelectorAll("text")).reduce((e, t) => {
410
410
  let n = t.getComputedTextLength();
411
411
  return n > e ? n : e;
412
412
  }, 0));
413
- let t = un.value ? un.value.getBoundingClientRect().width : 0;
413
+ let t = ln.value ? ln.value.getBoundingClientRect().width : 0;
414
414
  return e + t + (t ? 24 : 0);
415
415
  }
416
- let Ln = w(0), Rn = Oe((e) => {
417
- Ln.value = e;
416
+ let In = w(0), Ln = Oe((e) => {
417
+ In.value = e;
418
418
  });
419
419
  Ye((e) => {
420
- let t = dn.value;
420
+ let t = un.value;
421
421
  if (!t) return;
422
422
  let n = new ResizeObserver((e) => {
423
- Rn(e[0].contentRect.height);
423
+ Ln(e[0].contentRect.height);
424
424
  });
425
425
  n.observe(t), e(() => n.disconnect());
426
426
  });
427
- let zn = p(() => {
427
+ let Rn = p(() => {
428
428
  let e = 0;
429
- ln.value && (e = ln.value.getBBox().height + q.value.xAxisName / 2);
429
+ cn.value && (e = cn.value.getBBox().height + J.value.xAxisName / 2);
430
430
  let t = 0;
431
- return dn.value && (t = Ln.value), e + t;
432
- }), K = p(() => {
433
- let e = B.value.style.chart.padding.left, t = B.value.style.chart.padding.top, n = In(), r = B.value.style.chart.plots.radius;
431
+ return un.value && (t = In.value), e + t;
432
+ }), q = p(() => {
433
+ let e = V.value.style.chart.padding.left, t = V.value.style.chart.padding.top, n = Fn(), r = V.value.style.chart.plots.radius;
434
434
  return {
435
- left: e + n + B.value.style.chart.axes.y.name.offsetX,
435
+ left: e + n + V.value.style.chart.axes.y.name.offsetX,
436
436
  top: t + r,
437
- right: G.value.width - B.value.style.chart.padding.right - r - B.value.style.chart.axes.y.name.offsetX,
438
- bottom: G.value.height - B.value.style.chart.padding.bottom - zn.value - r - B.value.style.chart.axes.x.name.offsetY,
439
- width: G.value.width - e - B.value.style.chart.padding.right - n - r - B.value.style.chart.axes.y.name.offsetX,
440
- height: G.value.height - t - B.value.style.chart.padding.bottom - zn.value - r * 2 - B.value.style.chart.axes.x.name.offsetY
437
+ right: K.value.width - V.value.style.chart.padding.right - r - V.value.style.chart.axes.y.name.offsetX,
438
+ bottom: K.value.height - V.value.style.chart.padding.bottom - Rn.value - r - V.value.style.chart.axes.x.name.offsetY,
439
+ width: K.value.width - e - V.value.style.chart.padding.right - n - r - V.value.style.chart.axes.y.name.offsetX,
440
+ height: K.value.height - t - V.value.style.chart.padding.bottom - Rn.value - r * 2 - V.value.style.chart.axes.x.name.offsetY
441
441
  };
442
- }), q = w({
443
- plots: B.value.style.chart.plots.radius,
444
- indexLabels: B.value.style.chart.plots.indexLabels.fontSize,
445
- labels: B.value.style.chart.plots.labels.fontSize,
446
- xAxisLabels: B.value.style.chart.axes.x.labels.fontSize,
447
- xAxisName: B.value.style.chart.axes.x.name.fontSize,
448
- yAxisLabels: B.value.style.chart.axes.y.labels.fontSize,
449
- yAxisName: B.value.style.chart.axes.y.name.fontSize
450
- }), J = p(() => Cn.value.map((e, t) => {
442
+ }), J = w({
443
+ plots: V.value.style.chart.plots.radius,
444
+ indexLabels: V.value.style.chart.plots.indexLabels.fontSize,
445
+ labels: V.value.style.chart.plots.labels.fontSize,
446
+ xAxisLabels: V.value.style.chart.axes.x.labels.fontSize,
447
+ xAxisName: V.value.style.chart.axes.x.name.fontSize,
448
+ yAxisLabels: V.value.style.chart.axes.y.labels.fontSize,
449
+ yAxisName: V.value.style.chart.axes.y.name.fontSize
450
+ }), Y = p(() => Sn.value.map((e, t) => {
451
451
  let n = Array.isArray(e.temperatureColors) && e.temperatureColors.length ? e.temperatureColors.map((e) => ee(e)) : void 0;
452
452
  return {
453
453
  ...e,
454
- color: e.color ? ee(e.color) : Nn.value[t] || c[t] || c[t % c.length],
454
+ color: e.color ? ee(e.color) : Mn.value[t] || c[t] || c[t % c.length],
455
455
  temperatureColors: n,
456
- temperatureAngle: Bn(e.temperatureAngle),
456
+ temperatureAngle: zn(e.temperatureAngle),
457
457
  temperatureIndependant: e.temperatureIndependant === !0,
458
458
  usePlotTemperatureColors: e.usePlotTemperatureColors !== !1,
459
459
  seriesIndex: t
460
460
  };
461
461
  }));
462
- function Bn(e = 0) {
462
+ function zn(e = 0) {
463
463
  let t = Number(e);
464
464
  return Number.isFinite(t) ? (t % 360 + 360) % 360 : 0;
465
465
  }
466
- let Vn = p(() => Math.max(...J.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)))), Hn = p(() => {
467
- let e = Math.min(...J.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)));
466
+ let Bn = p(() => Math.max(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)))), Vn = p(() => {
467
+ let e = Math.min(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)));
468
468
  return e < 0 ? e : 0;
469
- }), Un = p(() => Math.max(...J.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)))), Wn = p(() => {
470
- let e = Math.min(...J.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)));
469
+ }), Hn = p(() => Math.max(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)))), Un = p(() => {
470
+ let e = Math.min(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)));
471
471
  return e < 0 ? e : 0;
472
- }), Y = p(() => {
473
- let e = re(B.value.style.chart.axes.x.scaleMin ?? Hn.value, B.value.style.chart.axes.x.scaleMax ?? Vn.value, B.value.style.chart.axes.x.ticks), t = re(B.value.style.chart.axes.y.scaleMin ?? Wn.value, B.value.style.chart.axes.y.scaleMax ?? Un.value, B.value.style.chart.axes.y.ticks);
472
+ }), X = p(() => {
473
+ let e = re(V.value.style.chart.axes.x.scaleMin ?? Vn.value, V.value.style.chart.axes.x.scaleMax ?? Bn.value, V.value.style.chart.axes.x.ticks), t = re(V.value.style.chart.axes.y.scaleMin ?? Un.value, V.value.style.chart.axes.y.scaleMax ?? Hn.value, V.value.style.chart.axes.y.ticks);
474
474
  return {
475
475
  x: e,
476
476
  y: t,
477
477
  tickX: e.ticks.map((t) => ({
478
- x: K.value.left + (t - e.min) / (e.max - e.min) * K.value.width,
479
- y1: K.value.top,
480
- y2: K.value.bottom,
478
+ x: q.value.left + (t - e.min) / (e.max - e.min) * q.value.width,
479
+ y1: q.value.top,
480
+ y2: q.value.bottom,
481
481
  value: t
482
482
  })),
483
483
  tickY: t.ticks.map((e) => ({
484
- y: K.value.bottom - (e - t.min) / (t.max - t.min) * K.value.height,
485
- x1: K.value.left,
486
- x2: K.value.right,
484
+ y: q.value.bottom - (e - t.min) / (t.max - t.min) * q.value.height,
485
+ x1: q.value.left,
486
+ x2: q.value.right,
487
487
  value: e
488
488
  }))
489
489
  };
490
490
  });
491
- function Gn(e) {
492
- let t = Y.value.x.min < 0 ? Math.abs(Y.value.x.min) : Y.value.x.min > 0 ? -Y.value.x.min : 0;
493
- return K.value.left + ((e || 0) + t) / (Y.value.x.max + t) * K.value.width;
491
+ function Wn(e) {
492
+ let t = X.value.x.min < 0 ? Math.abs(X.value.x.min) : X.value.x.min > 0 ? -X.value.x.min : 0;
493
+ return q.value.left + ((e || 0) + t) / (X.value.x.max + t) * q.value.width;
494
494
  }
495
- function Kn(e) {
496
- let t = Y.value.y.min < 0 ? Math.abs(Y.value.y.min) : Y.value.y.min > 0 ? -Y.value.y.min : 0;
497
- return K.value.bottom - ((e || 0) + t) / (Y.value.y.max + t) * K.value.height;
495
+ function Gn(e) {
496
+ let t = X.value.y.min < 0 ? Math.abs(X.value.y.min) : X.value.y.min > 0 ? -X.value.y.min : 0;
497
+ return q.value.bottom - ((e || 0) + t) / (X.value.y.max + t) * q.value.height;
498
498
  }
499
- let X = p(() => J.value.filter((e) => !F.value.includes(e.seriesIndex)).map((e, t) => {
499
+ let Z = p(() => Y.value.filter((e) => !F.value.includes(e.seriesIndex)).map((e, t) => {
500
500
  let n = e.values.map((t, n) => ({
501
501
  valueX: t.x,
502
502
  valueY: t.y,
503
503
  label: t.label,
504
- x: Gn(t.x),
505
- y: Kn(t.y),
504
+ x: Wn(t.x),
505
+ y: Gn(t.y),
506
506
  color: e.color,
507
507
  seriesName: e.name,
508
508
  id: se()
@@ -513,22 +513,22 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
513
513
  plots: n,
514
514
  path: `M${r}`
515
515
  };
516
- })), qn = p(() => {
517
- if (L.value === null || R.value === null) return X.value;
518
- let e = X.value.findIndex((e) => e.seriesIndex === R.value);
519
- if (e === -1) return X.value;
520
- let t = X.value[e];
516
+ })), Kn = p(() => {
517
+ if (L.value === null || z.value === null) return Z.value;
518
+ let e = Z.value.findIndex((e) => e.seriesIndex === z.value);
519
+ if (e === -1) return Z.value;
520
+ let t = Z.value[e];
521
521
  return [
522
- ...X.value.slice(0, e),
523
- ...X.value.slice(e + 1),
522
+ ...Z.value.slice(0, e),
523
+ ...Z.value.slice(e + 1),
524
524
  t
525
525
  ];
526
- }), Jn = p(() => X.value.some((e) => Z(e)));
527
- function Z(e) {
526
+ }), qn = p(() => Z.value.some((e) => Jn(e)));
527
+ function Jn(e) {
528
528
  return Array.isArray(e?.temperatureColors) && e.temperatureColors.length;
529
529
  }
530
530
  function Yn(e) {
531
- return Z(e) && e.usePlotTemperatureColors;
531
+ return Jn(e) && e.usePlotTemperatureColors;
532
532
  }
533
533
  function Xn(e) {
534
534
  let t = Array.isArray(e?.plots) ? e.plots : [];
@@ -551,7 +551,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
551
551
  };
552
552
  }
553
553
  function Zn() {
554
- let e = K.value;
554
+ let e = q.value;
555
555
  return {
556
556
  minX: e.left,
557
557
  maxX: e.right,
@@ -565,7 +565,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
565
565
  return e?.temperatureIndependant ? Xn(e) : Zn();
566
566
  }
567
567
  function $n(e) {
568
- let t = Bn(e?.temperatureAngle) * Math.PI / 180, n = Math.sin(t), r = Math.cos(t), i = Qn(e), a = i.minX + i.width / 2, o = i.minY + i.height / 2, s = (Math.abs(n) * i.width + Math.abs(r) * i.height) / 2 || 1;
568
+ let t = zn(e?.temperatureAngle) * Math.PI / 180, n = Math.sin(t), r = Math.cos(t), i = Qn(e), a = i.minX + i.width / 2, o = i.minY + i.height / 2, s = (Math.abs(n) * i.width + Math.abs(r) * i.height) / 2 || 1;
569
569
  return {
570
570
  x1: a - n * s,
571
571
  y1: o - r * s,
@@ -589,36 +589,36 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
589
589
  return `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${P.value}`;
590
590
  }
591
591
  function nr(e, t, n) {
592
- return Yn(e) ? B.value.style.chart.plots.gradient.show ? `url(#${tr(e, t)})` : Q(e, t) : B.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${P.value})` : t.color;
592
+ return Yn(e) ? V.value.style.chart.plots.gradient.show ? `url(#${tr(e, t)})` : Q(e, t) : V.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${P.value})` : t.color;
593
593
  }
594
594
  function rr(e, t) {
595
595
  return Yn(e) ? Q(e, t) : e.color;
596
596
  }
597
597
  function ir(e, t) {
598
- return B.value.style.chart.plots.indexLabels.adaptColorToBackground ? ce(rr(e, t)) : B.value.style.chart.plots.indexLabels.color;
598
+ return V.value.style.chart.plots.indexLabels.adaptColorToBackground ? ce(rr(e, t)) : V.value.style.chart.plots.indexLabels.color;
599
599
  }
600
600
  function ar(e, t) {
601
- let n = X.value.find((t) => t.seriesIndex === e);
601
+ let n = Z.value.find((t) => t.seriesIndex === e);
602
602
  return n && Yn(n) ? Q(n, t) : t.color;
603
603
  }
604
604
  function or(e) {
605
- return Z(e) ? `url(#temperature_grad_history_${e.seriesIndex}_${P.value})` : B.value.style.chart.paths.useSerieColor ? e.color : B.value.style.chart.paths.stroke;
605
+ return Jn(e) ? `url(#temperature_grad_history_${e.seriesIndex}_${P.value})` : V.value.style.chart.paths.useSerieColor ? e.color : V.value.style.chart.paths.stroke;
606
606
  }
607
607
  function sr(e) {
608
- return L.value === null || R.value === e ? 1 : Math.min(1, B.value.style.chart.plots.unselectedOpacity);
608
+ return L.value === null || z.value === e ? 1 : Math.min(1, V.value.style.chart.plots.unselectedOpacity);
609
609
  }
610
- p(() => L.value !== null && R.value !== null);
610
+ p(() => L.value !== null && z.value !== null);
611
611
  let cr = w(!1);
612
612
  function lr() {
613
613
  F.value.length ? F.value = [] : mr.value.forEach((e) => {
614
614
  F.value.push(e.seriesIndex);
615
- }), _n("selectLegend", X.value);
615
+ }), gn("selectLegend", Z.value);
616
616
  }
617
617
  function ur(e) {
618
- F.value.includes(e) ? F.value = F.value.filter((t) => t !== e) : F.value.push(e), _n("selectLegend", X.value);
618
+ F.value.includes(e) ? F.value = F.value.filter((t) => t !== e) : F.value.push(e), gn("selectLegend", Z.value);
619
619
  }
620
620
  function dr(e) {
621
- return J.value.length ? J.value.find((t) => t.name === e) || (B.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${e}"`), null) : (B.value.debug && console.warn("VueUiHistoryPlot - There are no series to show."), null);
621
+ return Y.value.length ? Y.value.find((t) => t.name === e) || (V.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${e}"`), null) : (V.value.debug && console.warn("VueUiHistoryPlot - There are no series to show."), null);
622
622
  }
623
623
  function fr(e) {
624
624
  let t = dr(e);
@@ -628,8 +628,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
628
628
  let t = dr(e);
629
629
  t !== null && (F.value.includes(t.seriesIndex) || ur(t.seriesIndex));
630
630
  }
631
- let mr = p(() => J.value.map((e) => {
632
- let t = Z(e) ? e.temperatureColors : null;
631
+ let mr = p(() => Y.value.map((e) => {
632
+ let t = Jn(e) ? e.temperatureColors : null;
633
633
  return {
634
634
  ...e,
635
635
  gradientColors: t,
@@ -640,54 +640,54 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
640
640
  };
641
641
  })), hr = p(() => ({
642
642
  cy: "history-plot-div-legend",
643
- backgroundColor: B.value.style.chart.legend.backgroundColor,
644
- color: B.value.style.chart.legend.color,
645
- fontSize: B.value.style.chart.legend.fontSize,
643
+ backgroundColor: V.value.style.chart.legend.backgroundColor,
644
+ color: V.value.style.chart.legend.color,
645
+ fontSize: V.value.style.chart.legend.fontSize,
646
646
  paddingBottom: 12,
647
- fontWeight: B.value.style.chart.legend.bold ? "bold" : ""
647
+ fontWeight: V.value.style.chart.legend.bold ? "bold" : ""
648
648
  }));
649
649
  function gr({ datapoint: e, plotIndex: t, seriesIndex: n }) {
650
- B.value.events.datapointClick && B.value.events.datapointClick({
650
+ V.value.events.datapointClick && V.value.events.datapointClick({
651
651
  datapoint: {
652
652
  ...e,
653
653
  plotIndex: t,
654
654
  seriesIndex: n
655
655
  },
656
656
  seriesIndex: n
657
- }), _n("selectDatapoint", e);
657
+ }), gn("selectDatapoint", e);
658
658
  }
659
659
  function _r(e) {
660
660
  I.value = e, Zt.value += 1;
661
661
  }
662
662
  let vr = w(null);
663
663
  function yr({ datapoint: e, plotIndex: t, seriesIndex: n }) {
664
- B.value.events.datapointLeave && B.value.events.datapointLeave({
664
+ V.value.events.datapointLeave && V.value.events.datapointLeave({
665
665
  datapoint: {
666
666
  ...e,
667
667
  plotIndex: t,
668
668
  seriesIndex: n
669
669
  },
670
670
  seriesIndex: n
671
- }), !(mn.value === "keyboard" && R.value === n && z.value === t) && ($t.value = !1, L.value = null);
671
+ }), (pn.value !== "keyboard" || z.value !== n || B.value !== t) && ($t.value = !1, L.value = null);
672
672
  }
673
673
  function br(e, t) {
674
- if (!U.value) return;
675
- let n = X.value.find((t) => t.seriesIndex === e);
674
+ if (!W.value) return;
675
+ let n = Z.value.find((t) => t.seriesIndex === e);
676
676
  if (!n) return;
677
677
  let r = n.plots[t];
678
678
  if (!r) return;
679
- let a = i(r.x, r.y, U.value);
680
- a && (pn.value = a);
679
+ let a = i(r.x, r.y, W.value);
680
+ a && (fn.value = a);
681
681
  }
682
682
  function xr({ datapoint: e, plotIndex: t, seriesIndex: n, triggerMode: r = "pointer" }) {
683
- B.value.events.datapointEnter && B.value.events.datapointEnter({
683
+ V.value.events.datapointEnter && V.value.events.datapointEnter({
684
684
  datapoint: {
685
685
  ...e,
686
686
  plotIndex: t,
687
687
  seriesIndex: n
688
688
  },
689
689
  seriesIndex: n
690
- }), R.value = n, z.value = t, mn.value = r, cr.value = !0;
690
+ }), z.value = n, B.value = t, pn.value = r, cr.value = !0;
691
691
  let i = ar(n, e), a = {
692
692
  ...e,
693
693
  color: i
@@ -697,18 +697,18 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
697
697
  color: i,
698
698
  seriesIndex: n,
699
699
  plotIndex: t,
700
- config: B.value,
701
- series: J.value
700
+ config: V.value,
701
+ series: Y.value
702
702
  }, L.value = e;
703
- let o = B.value.style.chart.tooltip.customFormat;
703
+ let o = V.value.style.chart.tooltip.customFormat;
704
704
  if (tn.value = !1, fe(o)) try {
705
705
  let e = o({
706
706
  seriesIndex: n,
707
707
  datapoint: a,
708
708
  color: i,
709
709
  plotIndex: t,
710
- series: J.value,
711
- config: B.value
710
+ series: Y.value,
711
+ config: V.value
712
712
  });
713
713
  typeof e == "string" && (en.value = e, tn.value = !0);
714
714
  } catch {
@@ -716,66 +716,66 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
716
716
  }
717
717
  if (!tn.value) {
718
718
  let t = "";
719
- t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${B.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${i}"/></svg><span>${e.seriesName}</span></div>`, t += `<div>${e.label}</div>`, t += `<div>${B.value.style.chart.axes.x.name.text || "x"}: ${u(B.value.style.chart.axes.x.labels.formatter, e.valueX, l({
720
- p: B.value.style.chart.axes.x.labels.prefix,
719
+ t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${V.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${i}"/></svg><span>${e.seriesName}</span></div>`, t += `<div>${e.label}</div>`, t += `<div>${V.value.style.chart.axes.x.name.text || "x"}: ${u(V.value.style.chart.axes.x.labels.formatter, e.valueX, l({
720
+ p: V.value.style.chart.axes.x.labels.prefix,
721
721
  v: e.valueX,
722
- s: B.value.style.chart.axes.x.labels.suffix,
723
- r: B.value.style.chart.axes.x.labels.rounding
724
- }))}</div>`, t += `<div>${B.value.style.chart.axes.y.name.text || "y"}: ${u(B.value.style.chart.axes.y.labels.formatter, e.valueY, l({
725
- p: B.value.style.chart.axes.y.labels.prefix,
722
+ s: V.value.style.chart.axes.x.labels.suffix,
723
+ r: V.value.style.chart.axes.x.labels.rounding
724
+ }))}</div>`, t += `<div>${V.value.style.chart.axes.y.name.text || "y"}: ${u(V.value.style.chart.axes.y.labels.formatter, e.valueY, l({
725
+ p: V.value.style.chart.axes.y.labels.prefix,
726
726
  v: e.valueY,
727
- s: B.value.style.chart.axes.y.labels.suffix,
728
- r: B.value.style.chart.axes.y.labels.rounding
727
+ s: V.value.style.chart.axes.y.labels.suffix,
728
+ r: V.value.style.chart.axes.y.labels.rounding
729
729
  }))}</div>`, en.value = `<div>${t}</div>`;
730
730
  }
731
731
  $t.value = !0, r === "keyboard" && He(() => {
732
732
  br(n, t);
733
733
  });
734
734
  }
735
- p(() => ({ head: X.value.map((e) => ({
735
+ p(() => ({ head: Z.value.map((e) => ({
736
736
  name: e.name,
737
737
  color: e.color
738
738
  })) }));
739
739
  let $ = p(() => {
740
740
  let e = [
741
- B.value.table.columnNames.series,
742
- B.value.table.columnNames.datapoint,
743
- B.value.table.columnNames.x,
744
- B.value.table.columnNames.y
741
+ V.value.table.columnNames.series,
742
+ V.value.table.columnNames.datapoint,
743
+ V.value.table.columnNames.x,
744
+ V.value.table.columnNames.y
745
745
  ];
746
746
  return {
747
747
  head: e,
748
- body: X.value.flatMap((e) => e.plots.map((e) => [
748
+ body: Z.value.flatMap((e) => e.plots.map((e) => [
749
749
  {
750
750
  color: e.color,
751
751
  name: e.seriesName
752
752
  },
753
753
  e.label,
754
- u(B.value.style.chart.axes.x.labels.formatter, e.valueX, l({
755
- p: B.value.style.chart.axes.x.labels.prefix,
754
+ u(V.value.style.chart.axes.x.labels.formatter, e.valueX, l({
755
+ p: V.value.style.chart.axes.x.labels.prefix,
756
756
  v: e.valueX,
757
- s: B.value.style.chart.axes.x.labels.suffix,
758
- r: B.value.style.chart.axes.x.labels.rounding
757
+ s: V.value.style.chart.axes.x.labels.suffix,
758
+ r: V.value.style.chart.axes.x.labels.rounding
759
759
  })),
760
- u(B.value.style.chart.axes.y.labels.formatter, e.valueY, l({
761
- p: B.value.style.chart.axes.y.labels.prefix,
760
+ u(V.value.style.chart.axes.y.labels.formatter, e.valueY, l({
761
+ p: V.value.style.chart.axes.y.labels.prefix,
762
762
  v: e.valueY,
763
- s: B.value.style.chart.axes.y.labels.suffix,
764
- r: B.value.style.chart.axes.y.labels.rounding
763
+ s: V.value.style.chart.axes.y.labels.suffix,
764
+ r: V.value.style.chart.axes.y.labels.rounding
765
765
  }))
766
766
  ])),
767
767
  config: {
768
768
  th: {
769
- backgroundColor: B.value.table.th.backgroundColor,
770
- color: B.value.table.th.color,
771
- outline: B.value.table.th.outline
769
+ backgroundColor: V.value.table.th.backgroundColor,
770
+ color: V.value.table.th.color,
771
+ outline: V.value.table.th.outline
772
772
  },
773
773
  td: {
774
- backgroundColor: B.value.table.td.backgroundColor,
775
- color: B.value.table.td.color,
776
- outline: B.value.table.td.outline
774
+ backgroundColor: V.value.table.td.backgroundColor,
775
+ color: V.value.table.td.color,
776
+ outline: V.value.table.td.outline
777
777
  },
778
- breakpoint: B.value.table.responsiveBreakpoint
778
+ breakpoint: V.value.table.responsiveBreakpoint
779
779
  },
780
780
  colNames: e
781
781
  };
@@ -783,23 +783,23 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
783
783
  function Sr(e = null) {
784
784
  He(() => {
785
785
  let r = [
786
- [B.value.table.columnNames.series],
787
- [B.value.table.columnNames.datapoint],
788
- [B.value.table.columnNames.x],
789
- [B.value.table.columnNames.y]
790
- ], i = X.value.flatMap((e) => e.plots.map((e) => [
786
+ [V.value.table.columnNames.series],
787
+ [V.value.table.columnNames.datapoint],
788
+ [V.value.table.columnNames.x],
789
+ [V.value.table.columnNames.y]
790
+ ], i = Z.value.flatMap((e) => e.plots.map((e) => [
791
791
  [e.seriesName],
792
792
  [e.label],
793
793
  [e.valueX],
794
794
  [e.valueY]
795
- ])), a = n([
796
- [B.value.style.chart.title.text],
797
- [B.value.style.chart.title.subtitle.text],
795
+ ])), a = [
796
+ [V.value.style.chart.title.text],
797
+ [V.value.style.chart.title.subtitle.text],
798
798
  r
799
- ].concat(i));
800
- e ? e(a) : t({
801
- csvContent: a,
802
- title: B.value.style.chart.title.text || "vue-ui-history-plot"
799
+ ].concat(i), o = n(a);
800
+ e ? e(o) : t({
801
+ csvContent: o,
802
+ title: V.value.style.chart.title.text || "vue-ui-history-plot"
803
803
  });
804
804
  });
805
805
  }
@@ -808,13 +808,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
808
808
  Cr.value = !Cr.value;
809
809
  }
810
810
  function Tr() {
811
- W.value.showTable = !W.value.showTable;
811
+ G.value.showTable = !G.value.showTable;
812
812
  }
813
813
  function Er() {
814
- W.value.showTooltip = !W.value.showTooltip;
814
+ G.value.showTooltip = !G.value.showTooltip;
815
815
  }
816
816
  function Dr() {
817
- return X.value;
817
+ return Z.value;
818
818
  }
819
819
  async function Or({ scale: e = 2 } = {}) {
820
820
  if (!j.value) return;
@@ -827,20 +827,21 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
827
827
  return {
828
828
  imageUri: i,
829
829
  base64: a,
830
- title: B.value.style.chart.title.text,
830
+ title: V.value.style.chart.title.text,
831
831
  width: t,
832
832
  height: n,
833
833
  aspectRatio: r
834
834
  };
835
835
  }
836
+ let kr = p(() => X.value.tickX), Ar = p(() => ({
837
+ start: 0,
838
+ end: X.value.tickX.length
839
+ }));
836
840
  we({
837
- timeLabelsEls: dn,
838
- timeLabels: p(() => Y.value.tickX),
839
- slicer: p(() => ({
840
- start: 0,
841
- end: Y.value.tickX.length
842
- })),
843
- configRef: B,
841
+ timeLabelsEls: un,
842
+ timeLabels: kr,
843
+ slicer: Ar,
844
+ configRef: V,
844
845
  rotationPath: [
845
846
  "style",
846
847
  "chart",
@@ -859,21 +860,21 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
859
860
  "enable"
860
861
  ],
861
862
  isAutoSize: !1,
862
- width: Pn,
863
- height: Fn,
863
+ width: Nn,
864
+ height: Pn,
864
865
  targetClass: ".vue-ui-history-plot-x-axis-scale",
865
- rotation: B.value.style.chart.axes.x.labels.autoRotate.angle
866
+ rotation: V.value.style.chart.axes.x.labels.autoRotate.angle
866
867
  });
867
- let kr = p(() => {
868
- let e = B.value.table.useDialog && !B.value.table.show, t = W.value.showTable;
868
+ let jr = p(() => {
869
+ let e = V.value.table.useDialog && !V.value.table.show, t = G.value.showTable;
869
870
  return {
870
871
  component: e ? Ht : Lt,
871
- title: `${B.value.style.chart.title.text}${B.value.style.chart.title.subtitle.text ? `: ${B.value.style.chart.title.subtitle.text}` : ""}`,
872
+ title: `${V.value.style.chart.title.text}${V.value.style.chart.title.subtitle.text ? `: ${V.value.style.chart.title.subtitle.text}` : ""}`,
872
873
  props: e ? {
873
- backgroundColor: B.value.table.th.backgroundColor,
874
- color: B.value.table.th.color,
875
- headerColor: B.value.table.th.color,
876
- headerBg: B.value.table.th.backgroundColor,
874
+ backgroundColor: V.value.table.th.backgroundColor,
875
+ color: V.value.table.th.color,
876
+ headerColor: V.value.table.th.color,
877
+ headerBg: V.value.table.th.backgroundColor,
877
878
  isFullscreen: I.value,
878
879
  fullscreenParent: j.value,
879
880
  forcedWidth: Math.min(800, window.innerWidth * .8)
@@ -883,71 +884,71 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
883
884
  open: t,
884
885
  maxHeight: 1e4,
885
886
  body: {
886
- backgroundColor: B.value.style.chart.backgroundColor,
887
- color: B.value.style.chart.color
887
+ backgroundColor: V.value.style.chart.backgroundColor,
888
+ color: V.value.style.chart.color
888
889
  },
889
890
  head: {
890
- backgroundColor: B.value.style.chart.backgroundColor,
891
- color: B.value.style.chart.color
891
+ backgroundColor: V.value.style.chart.backgroundColor,
892
+ color: V.value.style.chart.color
892
893
  }
893
894
  }
894
895
  }
895
896
  };
896
897
  });
897
- Je(() => W.value.showTable, (e) => {
898
- B.value.table.show || (e && B.value.table.useDialog && an.value ? an.value.open() : "close" in an.value && an.value.close());
898
+ Je(() => G.value.showTable, (e) => {
899
+ V.value.table.show || (e && V.value.table.useDialog && R.value ? R.value.open() : "close" in R.value && R.value.close());
899
900
  });
900
- function Ar() {
901
- W.value.showTable = !1, on.value && on.value.setTableIconState(!1);
901
+ function Mr() {
902
+ G.value.showTable = !1, an.value && an.value.setTableIconState(!1);
902
903
  }
903
- let jr = p(() => B.value.style.chart.backgroundColor), Mr = p(() => B.value.style.chart.legend), { exportSvg: Nr, getSvg: Pr } = be({
904
- svg: U,
905
- title: p(() => B.value.style.chart.title),
906
- legend: Mr,
904
+ let Nr = p(() => V.value.style.chart.backgroundColor), Pr = p(() => V.value.style.chart.legend), Fr = p(() => V.value.style.chart.title), { exportSvg: Ir, getSvg: Lr } = be({
905
+ svg: W,
906
+ title: Fr,
907
+ legend: Pr,
907
908
  legendItems: mr,
908
- backgroundColor: jr
909
+ backgroundColor: Nr
909
910
  });
910
- async function Fr({ isCb: e }) {
911
- cn.value = !0, await He();
911
+ async function Rr({ isCb: e }) {
912
+ sn.value = !0, await He();
912
913
  try {
913
914
  if (e) {
914
- let { blob: e, url: t, text: n, dataUrl: r } = await Pr();
915
- await Promise.resolve(B.value.userOptions.callbacks.svg({
915
+ let { blob: e, url: t, text: n, dataUrl: r } = await Lr();
916
+ await Promise.resolve(V.value.userOptions.callbacks.svg({
916
917
  blob: e,
917
918
  url: t,
918
919
  text: n,
919
920
  dataUrl: r
920
921
  }));
921
- } else await Promise.resolve(Nr());
922
+ } else await Promise.resolve(Ir());
922
923
  } finally {
923
- cn.value = !1;
924
+ sn.value = !1;
924
925
  }
925
926
  }
926
- function Ir(e) {
927
+ function zr(e) {
927
928
  if (e?.stage === "start") {
928
- sn.value = !0;
929
+ on.value = !0;
929
930
  return;
930
931
  }
931
932
  if (e?.stage === "end") {
932
- sn.value = !1;
933
+ on.value = !1;
933
934
  return;
934
935
  }
935
- jn();
936
+ An();
936
937
  }
937
- async function Lr() {
938
- if (_n("copyAlt", {
939
- config: B.value,
940
- dataset: X.value
941
- }), !B.value.userOptions.callbacks.altCopy) {
938
+ async function Br() {
939
+ if (gn("copyAlt", {
940
+ config: V.value,
941
+ dataset: Z.value
942
+ }), !V.value.userOptions.callbacks.altCopy) {
942
943
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
943
944
  return;
944
945
  }
945
- await Promise.resolve(B.value.userOptions.callbacks.altCopy({
946
- config: B.value,
947
- dataset: X.value
946
+ await Promise.resolve(V.value.userOptions.callbacks.altCopy({
947
+ config: V.value,
948
+ dataset: Z.value
948
949
  }));
949
950
  }
950
- let Rr = p(() => ({
951
+ let Vr = p(() => ({
951
952
  head: $.value.head,
952
953
  body: $.value.body.map((e) => [
953
954
  e[0]?.name || "",
@@ -955,49 +956,49 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
955
956
  e[2],
956
957
  e[3]
957
958
  ]),
958
- caption: B.value.a11y.translations.tableCaption,
959
- notice: B.value.a11y.translations.tableAvailable
959
+ caption: V.value.a11y.translations.tableCaption,
960
+ notice: V.value.a11y.translations.tableAvailable
960
961
  }));
961
- function zr(e) {
962
- return X.value.findIndex((t) => t.seriesIndex === e);
962
+ function Hr(e) {
963
+ return Z.value.findIndex((t) => t.seriesIndex === e);
963
964
  }
964
- function Br() {
965
- if (R.value !== null && z.value !== null) {
966
- let e = X.value.find((e) => e.seriesIndex === R.value)?.plots?.[z.value];
965
+ function Ur() {
966
+ if (z.value !== null && B.value !== null) {
967
+ let e = Z.value.find((e) => e.seriesIndex === z.value)?.plots?.[B.value];
967
968
  e && yr({
968
969
  datapoint: e,
969
- plotIndex: z.value,
970
- seriesIndex: R.value
970
+ plotIndex: B.value,
971
+ seriesIndex: z.value
971
972
  });
972
973
  }
973
- R.value = null, z.value = null, mn.value = "pointer", $t.value = !1, L.value = null;
974
+ z.value = null, B.value = null, pn.value = "pointer", $t.value = !1, L.value = null;
974
975
  }
975
- function Vr() {
976
- R.value = null, z.value = null, hn.value = !0;
976
+ function Wr() {
977
+ z.value = null, B.value = null, mn.value = !0;
977
978
  }
978
- function Hr() {
979
- Br(), hn.value = !1;
979
+ function Gr() {
980
+ Ur(), mn.value = !1;
980
981
  }
981
- function Ur(e, t) {
982
+ function Kr(e, t) {
982
983
  if (!e?.plots?.length) return null;
983
984
  let n = e.plots.length;
984
985
  return (t % n + n) % n;
985
986
  }
986
- function Wr({ seriesIndex: e, plotIndex: t, direction: n }) {
987
- if (!X.value.length) return null;
988
- let r = zr(e);
987
+ function qr({ seriesIndex: e, plotIndex: t, direction: n }) {
988
+ if (!Z.value.length) return null;
989
+ let r = Hr(e);
989
990
  if (r === -1) return null;
990
991
  if (n === "up" || n === "down") {
991
- let e = X.value[r];
992
+ let e = Z.value[r];
992
993
  if (!e?.plots?.length) return null;
993
- let i = Ur(e, t + (n === "up" ? -1 : 1));
994
+ let i = Kr(e, t + (n === "up" ? -1 : 1));
994
995
  return {
995
996
  seriesIndex: e.seriesIndex,
996
997
  plotIndex: i
997
998
  };
998
999
  }
999
1000
  if (n === "left" || n === "right") {
1000
- let e = ((r + (n === "left" ? -1 : 1)) % X.value.length + X.value.length) % X.value.length, i = X.value[e];
1001
+ let e = ((r + (n === "left" ? -1 : 1)) % Z.value.length + Z.value.length) % Z.value.length, i = Z.value[e];
1001
1002
  if (!i?.plots?.length) return null;
1002
1003
  let a = Math.min(t, i.plots.length - 1);
1003
1004
  return {
@@ -1007,52 +1008,52 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1007
1008
  }
1008
1009
  return null;
1009
1010
  }
1010
- function Gr(e) {
1011
- if (!U.value || Cr.value || document.activeElement !== U.value || !X.value.length) return;
1011
+ function Jr(e) {
1012
+ if (!W.value || Cr.value || document.activeElement !== W.value || !Z.value.length) return;
1012
1013
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
1013
1014
  if (!t && !n && !r && !i && !a && !o) return;
1014
1015
  if (e.preventDefault(), e.stopPropagation(), o) {
1015
- Br();
1016
+ Ur();
1016
1017
  return;
1017
1018
  }
1018
1019
  if (a) {
1019
- if (R.value === null || z.value === null) return;
1020
- let e = X.value.find((e) => e.seriesIndex === R.value)?.plots?.[z.value];
1020
+ if (z.value === null || B.value === null) return;
1021
+ let e = Z.value.find((e) => e.seriesIndex === z.value)?.plots?.[B.value];
1021
1022
  if (!e) return;
1022
1023
  gr({
1023
1024
  datapoint: e,
1024
- plotIndex: z.value,
1025
- seriesIndex: R.value
1025
+ plotIndex: B.value,
1026
+ seriesIndex: z.value
1026
1027
  });
1027
1028
  return;
1028
1029
  }
1029
1030
  let s = null;
1030
- if (R.value === null || z.value === null) {
1031
- let e = X.value[0];
1031
+ if (z.value === null || B.value === null) {
1032
+ let e = Z.value[0];
1032
1033
  if (!e?.plots?.length) return;
1033
1034
  s = {
1034
1035
  seriesIndex: e.seriesIndex,
1035
1036
  plotIndex: 0
1036
1037
  };
1037
- } else r ? s = Wr({
1038
- seriesIndex: R.value,
1039
- plotIndex: z.value,
1038
+ } else r ? s = qr({
1039
+ seriesIndex: z.value,
1040
+ plotIndex: B.value,
1040
1041
  direction: "up"
1041
- }) : i ? s = Wr({
1042
- seriesIndex: R.value,
1043
- plotIndex: z.value,
1042
+ }) : i ? s = qr({
1043
+ seriesIndex: z.value,
1044
+ plotIndex: B.value,
1044
1045
  direction: "down"
1045
- }) : t ? s = Wr({
1046
- seriesIndex: R.value,
1047
- plotIndex: z.value,
1046
+ }) : t ? s = qr({
1047
+ seriesIndex: z.value,
1048
+ plotIndex: B.value,
1048
1049
  direction: "left"
1049
- }) : n && (s = Wr({
1050
- seriesIndex: R.value,
1051
- plotIndex: z.value,
1050
+ }) : n && (s = qr({
1051
+ seriesIndex: z.value,
1052
+ plotIndex: B.value,
1052
1053
  direction: "right"
1053
1054
  }));
1054
1055
  if (!s) return;
1055
- let c = X.value.find((e) => e.seriesIndex === s.seriesIndex)?.plots?.[s.plotIndex];
1056
+ let c = Z.value.find((e) => e.seriesIndex === s.seriesIndex)?.plots?.[s.plotIndex];
1056
1057
  c && xr({
1057
1058
  datapoint: c,
1058
1059
  plotIndex: s.plotIndex,
@@ -1063,17 +1064,17 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1063
1064
  return De({
1064
1065
  getData: Dr,
1065
1066
  getImage: Or,
1066
- generatePdf: An,
1067
+ generatePdf: kn,
1067
1068
  generateCsv: Sr,
1068
- generateImage: jn,
1069
- generateSvg: Fr,
1069
+ generateImage: An,
1070
+ generateSvg: Rr,
1070
1071
  hideSeries: pr,
1071
1072
  showSeries: fr,
1072
1073
  toggleTable: Tr,
1073
1074
  toggleTooltip: Er,
1074
1075
  toggleAnnotator: wr,
1075
1076
  toggleFullscreen: _r,
1076
- copyAlt: Lr
1077
+ copyAlt: Br
1077
1078
  }), (e, t) => (C(), g("div", {
1078
1079
  id: `history_plot_${P.value}`,
1079
1080
  ref_key: "historyPlotChart",
@@ -1083,21 +1084,21 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1083
1084
  "vue-ui-history-plot": !0,
1084
1085
  "vue-data-ui-wrapper-fullscreen": I.value
1085
1086
  }),
1086
- style: S(`background:${B.value.style.chart.backgroundColor};color:${B.value.style.chart.color};font-family:${B.value.style.fontFamily}; position: relative; ${B.value.responsive ? "height: 100%" : ""}`),
1087
- onMouseenter: t[2] ||= () => O(En)(!0),
1088
- onMouseleave: t[3] ||= () => O(En)(!1)
1087
+ style: S(`background:${V.value.style.chart.backgroundColor};color:${V.value.style.chart.color};font-family:${V.value.style.fontFamily}; position: relative; ${V.value.responsive ? "height: 100%" : ""}`),
1088
+ onMouseenter: t[2] ||= () => O(Tn)(!0),
1089
+ onMouseleave: t[3] ||= () => O(Tn)(!1)
1089
1090
  }, [
1090
1091
  _("div", {
1091
1092
  id: `chart-instructions-${P.value}`,
1092
1093
  class: "sr-only"
1093
- }, [_("p", null, D(B.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
1094
- Rr.value.body.length ? (C(), m(Me, {
1094
+ }, [_("p", null, D(V.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
1095
+ Vr.value.body.length ? (C(), m(Me, {
1095
1096
  key: 0,
1096
1097
  uid: P.value,
1097
- head: Rr.value.head,
1098
- body: Rr.value.body,
1099
- caption: Rr.value.caption,
1100
- notice: Rr.value.notice
1098
+ head: Vr.value.head,
1099
+ body: Vr.value.body,
1100
+ caption: Vr.value.caption,
1101
+ notice: Vr.value.notice
1101
1102
  }, null, 8, [
1102
1103
  "uid",
1103
1104
  "head",
@@ -1106,13 +1107,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1106
1107
  "notice"
1107
1108
  ])) : h("", !0),
1108
1109
  E(e.$slots, "userConfig", {}, void 0, !0),
1109
- B.value.userOptions.buttons.annotator ? (C(), m(O(zt), {
1110
+ V.value.userOptions.buttons.annotator ? (C(), m(O(zt), {
1110
1111
  key: 1,
1111
- svgRef: O(U),
1112
- backgroundColor: B.value.style.chart.backgroundColor,
1113
- color: B.value.style.chart.color,
1112
+ svgRef: O(W),
1113
+ backgroundColor: V.value.style.chart.backgroundColor,
1114
+ color: V.value.style.chart.color,
1114
1115
  active: Cr.value,
1115
- isCursorPointer: H.value,
1116
+ isCursorPointer: U.value,
1116
1117
  onClose: wr
1117
1118
  }, {
1118
1119
  "annotator-action-close": k(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
@@ -1129,72 +1130,72 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1129
1130
  "active",
1130
1131
  "isCursorPointer"
1131
1132
  ])) : h("", !0),
1132
- Mn.value ? (C(), g("div", {
1133
+ jn.value ? (C(), g("div", {
1133
1134
  key: 2,
1134
1135
  ref_key: "noTitle",
1135
1136
  ref: Qt,
1136
1137
  class: "vue-data-ui-no-title-space",
1137
1138
  style: "height:36px; width: 100%;background:transparent"
1138
1139
  }, null, 512)) : h("", !0),
1139
- B.value.style.chart.title.text ? (C(), g("div", {
1140
+ V.value.style.chart.title.text ? (C(), g("div", {
1140
1141
  key: 3,
1141
1142
  ref_key: "chartTitle",
1142
1143
  ref: Kt,
1143
1144
  class: "vue-ui-xy-title",
1144
- style: S(`font-family:${B.value.style.fontFamily}`)
1145
+ style: S(`font-family:${V.value.style.fontFamily}`)
1145
1146
  }, [(C(), m(Ee, {
1146
1147
  key: `title_${qt.value}`,
1147
1148
  config: {
1148
1149
  title: {
1149
1150
  cy: "history-plot-div-title",
1150
- ...B.value.style.chart.title
1151
+ ...V.value.style.chart.title
1151
1152
  },
1152
1153
  subtitle: {
1153
1154
  cy: "history-plot-div-subtitle",
1154
- ...B.value.style.chart.title.subtitle
1155
+ ...V.value.style.chart.title.subtitle
1155
1156
  }
1156
1157
  }
1157
1158
  }, null, 8, ["config"]))], 4)) : h("", !0),
1158
1159
  _("div", { id: `legend-top-${P.value}` }, null, 8, $e),
1159
- B.value.userOptions.show && gn.value && (O(Dn) || O(Tn)) ? (C(), m(O(Bt), {
1160
+ V.value.userOptions.show && hn.value && (O(En) || O(wn)) ? (C(), m(O(Bt), {
1160
1161
  ref_key: "userOptionsRef",
1161
- ref: on,
1162
+ ref: an,
1162
1163
  key: `user_option_${Zt.value}`,
1163
- backgroundColor: B.value.style.chart.backgroundColor,
1164
- color: B.value.style.chart.color,
1165
- isPrinting: O(On),
1166
- isImaging: O(kn),
1164
+ backgroundColor: V.value.style.chart.backgroundColor,
1165
+ color: V.value.style.chart.color,
1166
+ isPrinting: O(Dn),
1167
+ isImaging: O(On),
1167
1168
  uid: P.value,
1168
- hasTooltip: B.value.style.chart.tooltip.show && B.value.userOptions.buttons.tooltip,
1169
- hasPdf: B.value.userOptions.buttons.pdf,
1170
- hasImg: B.value.userOptions.buttons.img,
1171
- hasSvg: B.value.userOptions.buttons.svg,
1172
- hasXls: B.value.userOptions.buttons.csv,
1173
- hasTable: B.value.userOptions.buttons.table,
1169
+ hasTooltip: V.value.style.chart.tooltip.show && V.value.userOptions.buttons.tooltip,
1170
+ hasPdf: V.value.userOptions.buttons.pdf,
1171
+ hasImg: V.value.userOptions.buttons.img,
1172
+ hasSvg: V.value.userOptions.buttons.svg,
1173
+ hasXls: V.value.userOptions.buttons.csv,
1174
+ hasTable: V.value.userOptions.buttons.table,
1174
1175
  hasLabel: !1,
1175
- hasFullscreen: B.value.userOptions.buttons.fullscreen,
1176
- hasAltCopy: B.value.userOptions.buttons.altCopy,
1176
+ hasFullscreen: V.value.userOptions.buttons.fullscreen,
1177
+ hasAltCopy: V.value.userOptions.buttons.altCopy,
1177
1178
  isFullscreen: I.value,
1178
1179
  chartElement: j.value,
1179
- position: B.value.userOptions.position,
1180
- isTooltip: W.value.showTooltip,
1181
- titles: { ...B.value.userOptions.buttonTitles },
1182
- hasAnnotator: B.value.userOptions.buttons.annotator,
1180
+ position: V.value.userOptions.position,
1181
+ isTooltip: G.value.showTooltip,
1182
+ titles: { ...V.value.userOptions.buttonTitles },
1183
+ hasAnnotator: V.value.userOptions.buttons.annotator,
1183
1184
  isAnnotation: Cr.value,
1184
- callbacks: B.value.userOptions.callbacks,
1185
- printScale: B.value.userOptions.print.scale,
1186
- tableDialog: B.value.table.useDialog,
1187
- isCursorPointer: H.value,
1185
+ callbacks: V.value.userOptions.callbacks,
1186
+ printScale: V.value.userOptions.print.scale,
1187
+ tableDialog: V.value.table.useDialog,
1188
+ isCursorPointer: U.value,
1188
1189
  onToggleFullscreen: _r,
1189
- onGeneratePdf: O(An),
1190
+ onGeneratePdf: O(kn),
1190
1191
  onGenerateCsv: Sr,
1191
- onGenerateImage: Ir,
1192
- onGenerateSvg: Fr,
1192
+ onGenerateImage: zr,
1193
+ onGenerateSvg: Rr,
1193
1194
  onToggleTable: Tr,
1194
1195
  onToggleTooltip: Er,
1195
1196
  onToggleAnnotator: wr,
1196
- onCopyAlt: Lr,
1197
- style: S({ visibility: O(Dn) ? O(Tn) ? "visible" : "hidden" : "visible" })
1197
+ onCopyAlt: Br,
1198
+ style: S({ visibility: O(En) ? O(wn) ? "visible" : "hidden" : "visible" })
1198
1199
  }, Re({ _: 2 }, [
1199
1200
  e.$slots.menuIcon ? {
1200
1201
  name: "menuIcon",
@@ -1268,26 +1269,26 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1268
1269
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : h("", !0),
1269
1270
  _("div", et, [(C(), g("svg", {
1270
1271
  ref_key: "svgRef",
1271
- ref: U,
1272
+ ref: W,
1272
1273
  xmlns: O(le),
1273
- viewBox: `0 0 ${G.value.width < 0 ? .1 : G.value.width} ${G.value.height < 0 ? .1 : G.value.height}`,
1274
- style: S(`max-width:100%;overflow:visible;background:transparent;color:${B.value.style.chart.color}`),
1274
+ viewBox: `0 0 ${K.value.width < 0 ? .1 : K.value.width} ${K.value.height < 0 ? .1 : K.value.height}`,
1275
+ style: S(`max-width:100%;overflow:visible;background:transparent;color:${V.value.style.chart.color}`),
1275
1276
  "aria-describedby": `chart-instructions-${P.value}`,
1276
1277
  tabindex: "0",
1277
- onFocus: Vr,
1278
- onBlur: Hr,
1279
- onKeydown: Gr
1278
+ onFocus: Wr,
1279
+ onBlur: Gr,
1280
+ onKeydown: Jr
1280
1281
  }, [
1281
1282
  Be(O(Vt)),
1282
1283
  e.$slots["chart-background"] ? (C(), g("foreignObject", {
1283
1284
  key: 0,
1284
- x: K.value.left,
1285
- y: K.value.top,
1286
- width: K.value.width <= 0 ? 10 : K.value.width,
1287
- height: K.value.height <= 0 ? 10 : K.value.height,
1285
+ x: q.value.left,
1286
+ y: q.value.top,
1287
+ width: q.value.width <= 0 ? 10 : q.value.width,
1288
+ height: q.value.height <= 0 ? 10 : q.value.height,
1288
1289
  style: { pointerEvents: "none" }
1289
1290
  }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : h("", !0),
1290
- B.value.style.chart.plots.gradient.show || Jn.value ? (C(), g("defs", rt, [B.value.style.chart.plots.gradient.show ? (C(!0), g(f, { key: 0 }, T(X.value, (e, t) => (C(), m(Ae, {
1291
+ V.value.style.chart.plots.gradient.show || qn.value ? (C(), g("defs", rt, [V.value.style.chart.plots.gradient.show ? (C(!0), g(f, { key: 0 }, T(Z.value, (e, t) => (C(), m(Ae, {
1291
1292
  t: "radial",
1292
1293
  key: `gradient_${t}_${P.value}`,
1293
1294
  id: `gradient_${t}_${P.value}`,
@@ -1295,7 +1296,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1295
1296
  stops: [
1296
1297
  [
1297
1298
  "10%",
1298
- O(s)(e.color, B.value.style.chart.plots.gradient.intensity / 100),
1299
+ O(s)(e.color, V.value.style.chart.plots.gradient.intensity / 100),
1299
1300
  1
1300
1301
  ],
1301
1302
  [
@@ -1309,7 +1310,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1309
1310
  1
1310
1311
  ]
1311
1312
  ]
1312
- }, null, 8, ["id", "stops"]))), 128)) : h("", !0), (C(!0), g(f, null, T(X.value, (e) => (C(), g(f, { key: `temperature_grad_history_template_${e.seriesIndex}_${P.value}` }, [B.value.style.chart.plots.gradient.show && Yn(e) ? (C(!0), g(f, { key: 0 }, T(e.plots, (t) => (C(), m(Ae, {
1313
+ }, null, 8, ["id", "stops"]))), 128)) : h("", !0), (C(!0), g(f, null, T(Z.value, (e) => (C(), g(f, { key: `temperature_grad_history_template_${e.seriesIndex}_${P.value}` }, [V.value.style.chart.plots.gradient.show && Yn(e) ? (C(!0), g(f, { key: 0 }, T(e.plots, (t) => (C(), m(Ae, {
1313
1314
  t: "radial",
1314
1315
  key: `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${P.value}`,
1315
1316
  id: tr(e, t),
@@ -1317,7 +1318,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1317
1318
  stops: [
1318
1319
  [
1319
1320
  "10%",
1320
- O(s)(Q(e, t), B.value.style.chart.plots.gradient.intensity / 100),
1321
+ O(s)(Q(e, t), V.value.style.chart.plots.gradient.intensity / 100),
1321
1322
  1
1322
1323
  ],
1323
1324
  [
@@ -1331,7 +1332,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1331
1332
  1
1332
1333
  ]
1333
1334
  ]
1334
- }, null, 8, ["id", "stops"]))), 128)) : h("", !0), Z(e) ? (C(), g("linearGradient", {
1335
+ }, null, 8, ["id", "stops"]))), 128)) : h("", !0), Jn(e) ? (C(), g("linearGradient", {
1335
1336
  key: 1,
1336
1337
  id: `temperature_grad_history_${e.seriesIndex}_${P.value}`,
1337
1338
  gradientUnits: "userSpaceOnUse",
@@ -1344,132 +1345,132 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1344
1345
  "stop-color": t,
1345
1346
  offset: e.temperatureColors.length === 1 ? "0%" : O(pe)(n, e.temperatureColors.length)
1346
1347
  }, null, 8, at))), 128))], 8, it)) : h("", !0)], 64))), 128))])) : h("", !0),
1347
- B.value.style.chart.grid.verticalLines.show ? (C(), g("g", ot, [(C(!0), g(f, null, T(Y.value.tickX, (e) => (C(), g("line", {
1348
+ V.value.style.chart.grid.verticalLines.show ? (C(), g("g", ot, [(C(!0), g(f, null, T(X.value.tickX, (e) => (C(), g("line", {
1348
1349
  x1: e.x,
1349
1350
  x2: e.x,
1350
1351
  y1: e.y1,
1351
1352
  y2: e.y2,
1352
- stroke: B.value.style.chart.grid.verticalLines.stroke,
1353
- "stroke-width": B.value.style.chart.grid.verticalLines.strokeWidth,
1353
+ stroke: V.value.style.chart.grid.verticalLines.stroke,
1354
+ "stroke-width": V.value.style.chart.grid.verticalLines.strokeWidth,
1354
1355
  "stroke-linecap": "round"
1355
1356
  }, null, 8, st))), 256))])) : h("", !0),
1356
- B.value.style.chart.axes.y.labels.show ? (C(), g("g", ct, [(C(!0), g(f, null, T(Y.value.tickY, (e) => (C(), g("line", {
1357
- stroke: B.value.style.chart.grid.verticalLines.stroke,
1358
- "stroke-width": B.value.style.chart.grid.verticalLines.strokeWidth,
1357
+ V.value.style.chart.axes.y.labels.show ? (C(), g("g", ct, [(C(!0), g(f, null, T(X.value.tickY, (e) => (C(), g("line", {
1358
+ stroke: V.value.style.chart.grid.verticalLines.stroke,
1359
+ "stroke-width": V.value.style.chart.grid.verticalLines.strokeWidth,
1359
1360
  "stroke-linecap": "round",
1360
- x1: K.value.left - 5,
1361
- x2: K.value.left,
1361
+ x1: q.value.left - 5,
1362
+ x2: q.value.left,
1362
1363
  y1: e.y,
1363
1364
  y2: e.y
1364
1365
  }, null, 8, lt))), 256))])) : h("", !0),
1365
- B.value.style.chart.axes.y.labels.show ? (C(), g("g", {
1366
+ V.value.style.chart.axes.y.labels.show ? (C(), g("g", {
1366
1367
  key: 4,
1367
1368
  ref_key: "yAxisScales",
1368
- ref: fn
1369
- }, [(C(!0), g(f, null, T(Y.value.tickY, (e) => (C(), g("text", {
1370
- x: K.value.left + B.value.style.chart.axes.y.labels.offsetX - 4 - B.value.style.chart.plots.radius,
1371
- y: e.y + q.value.yAxisLabels / 3,
1372
- fill: B.value.style.chart.axes.y.labels.color,
1373
- "font-size": q.value.yAxisLabels,
1369
+ ref: dn
1370
+ }, [(C(!0), g(f, null, T(X.value.tickY, (e) => (C(), g("text", {
1371
+ x: q.value.left + V.value.style.chart.axes.y.labels.offsetX - 4 - V.value.style.chart.plots.radius,
1372
+ y: e.y + J.value.yAxisLabels / 3,
1373
+ fill: V.value.style.chart.axes.y.labels.color,
1374
+ "font-size": J.value.yAxisLabels,
1374
1375
  "text-anchor": "end"
1375
- }, D(O(u)(B.value.style.chart.axes.y.labels.formatter, e.value, O(l)({
1376
- p: B.value.style.chart.axes.y.labels.prefix,
1376
+ }, D(O(u)(V.value.style.chart.axes.y.labels.formatter, e.value, O(l)({
1377
+ p: V.value.style.chart.axes.y.labels.prefix,
1377
1378
  v: e.value,
1378
- s: B.value.style.chart.axes.y.labels.suffix,
1379
- r: B.value.style.chart.axes.y.labels.rounding
1379
+ s: V.value.style.chart.axes.y.labels.suffix,
1380
+ r: V.value.style.chart.axes.y.labels.rounding
1380
1381
  }))), 9, ut))), 256))], 512)) : h("", !0),
1381
- B.value.style.chart.axes.y.name.text ? (C(), g("text", {
1382
+ V.value.style.chart.axes.y.name.text ? (C(), g("text", {
1382
1383
  key: 5,
1383
1384
  ref_key: "yAxisLabel",
1384
- ref: un,
1385
- transform: `translate(${q.value.yAxisName}, ${G.value.height / 2 + B.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
1386
- "font-size": q.value.yAxisName,
1387
- fill: B.value.style.chart.axes.y.name.color,
1388
- "font-weight": B.value.style.chart.axes.y.name.bold ? "bold" : "normal",
1385
+ ref: ln,
1386
+ transform: `translate(${J.value.yAxisName}, ${K.value.height / 2 + V.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
1387
+ "font-size": J.value.yAxisName,
1388
+ fill: V.value.style.chart.axes.y.name.color,
1389
+ "font-weight": V.value.style.chart.axes.y.name.bold ? "bold" : "normal",
1389
1390
  "text-anchor": "middle"
1390
- }, D(B.value.style.chart.axes.y.name.text), 9, dt)) : h("", !0),
1391
- B.value.style.chart.grid.horizontalLines.show ? (C(), g("g", ft, [(C(!0), g(f, null, T(Y.value.tickY, (e) => (C(), g("line", {
1391
+ }, D(V.value.style.chart.axes.y.name.text), 9, dt)) : h("", !0),
1392
+ V.value.style.chart.grid.horizontalLines.show ? (C(), g("g", ft, [(C(!0), g(f, null, T(X.value.tickY, (e) => (C(), g("line", {
1392
1393
  x1: e.x1,
1393
1394
  x2: e.x2,
1394
1395
  y1: e.y,
1395
1396
  y2: e.y,
1396
- stroke: B.value.style.chart.grid.horizontalLines.stroke,
1397
- "stroke-width": B.value.style.chart.grid.horizontalLines.strokeWidth,
1397
+ stroke: V.value.style.chart.grid.horizontalLines.stroke,
1398
+ "stroke-width": V.value.style.chart.grid.horizontalLines.strokeWidth,
1398
1399
  "stroke-linecap": "round"
1399
1400
  }, null, 8, pt))), 256))])) : h("", !0),
1400
- B.value.style.chart.axes.x.labels.show ? (C(), g("g", mt, [(C(!0), g(f, null, T(Y.value.tickX, (e) => (C(), g("line", {
1401
- stroke: B.value.style.chart.grid.verticalLines.stroke,
1402
- "stroke-width": B.value.style.chart.grid.verticalLines.strokeWidth,
1401
+ V.value.style.chart.axes.x.labels.show ? (C(), g("g", mt, [(C(!0), g(f, null, T(X.value.tickX, (e) => (C(), g("line", {
1402
+ stroke: V.value.style.chart.grid.verticalLines.stroke,
1403
+ "stroke-width": V.value.style.chart.grid.verticalLines.strokeWidth,
1403
1404
  "stroke-linecap": "round",
1404
1405
  x1: e.x,
1405
1406
  x2: e.x,
1406
- y1: K.value.bottom,
1407
- y2: K.value.bottom + 5
1407
+ y1: q.value.bottom,
1408
+ y2: q.value.bottom + 5
1408
1409
  }, null, 8, ht))), 256))])) : h("", !0),
1409
- B.value.style.chart.axes.x.labels.show ? (C(), g("g", {
1410
+ V.value.style.chart.axes.x.labels.show ? (C(), g("g", {
1410
1411
  key: 8,
1411
1412
  ref_key: "xAxisScales",
1412
- ref: dn
1413
- }, [(C(!0), g(f, null, T(Y.value.tickX, (e) => (C(), g("text", {
1413
+ ref: un
1414
+ }, [(C(!0), g(f, null, T(X.value.tickX, (e) => (C(), g("text", {
1414
1415
  class: "vue-ui-history-plot-x-axis-scale",
1415
- transform: `translate(${e.x}, ${K.value.bottom + B.value.style.chart.axes.x.labels.offsetY + q.value.xAxisLabels + B.value.style.chart.plots.radius}), rotate(${B.value.style.chart.axes.x.labels.rotation})`,
1416
- fill: B.value.style.chart.axes.x.labels.color,
1417
- "font-size": q.value.xAxisLabels,
1418
- "text-anchor": B.value.style.chart.axes.x.labels.rotation > 0 ? "start" : B.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
1419
- }, D(O(u)(B.value.style.chart.axes.x.labels.formatter, e.value, O(l)({
1420
- p: B.value.style.chart.axes.x.labels.prefix,
1416
+ transform: `translate(${e.x}, ${q.value.bottom + V.value.style.chart.axes.x.labels.offsetY + J.value.xAxisLabels + V.value.style.chart.plots.radius}), rotate(${V.value.style.chart.axes.x.labels.rotation})`,
1417
+ fill: V.value.style.chart.axes.x.labels.color,
1418
+ "font-size": J.value.xAxisLabels,
1419
+ "text-anchor": V.value.style.chart.axes.x.labels.rotation > 0 ? "start" : V.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
1420
+ }, D(O(u)(V.value.style.chart.axes.x.labels.formatter, e.value, O(l)({
1421
+ p: V.value.style.chart.axes.x.labels.prefix,
1421
1422
  v: e.value,
1422
- s: B.value.style.chart.axes.x.labels.suffix,
1423
- r: B.value.style.chart.axes.x.labels.rounding
1423
+ s: V.value.style.chart.axes.x.labels.suffix,
1424
+ r: V.value.style.chart.axes.x.labels.rounding
1424
1425
  }))), 9, gt))), 256))], 512)) : h("", !0),
1425
- B.value.style.chart.axes.x.name.text ? (C(), g("text", {
1426
+ V.value.style.chart.axes.x.name.text ? (C(), g("text", {
1426
1427
  key: 9,
1427
1428
  ref_key: "xAxisLabel",
1428
- ref: ln,
1429
- x: G.value.width / 2 + B.value.style.chart.axes.x.name.offsetX,
1430
- y: G.value.height,
1431
- "font-size": q.value.xAxisName,
1432
- fill: B.value.style.chart.axes.x.name.color,
1433
- "font-weight": B.value.style.chart.axes.x.name.bold ? "bold" : "normal",
1429
+ ref: cn,
1430
+ x: K.value.width / 2 + V.value.style.chart.axes.x.name.offsetX,
1431
+ y: K.value.height,
1432
+ "font-size": J.value.xAxisName,
1433
+ fill: V.value.style.chart.axes.x.name.color,
1434
+ "font-weight": V.value.style.chart.axes.x.name.bold ? "bold" : "normal",
1434
1435
  "text-anchor": "middle"
1435
- }, D(B.value.style.chart.axes.x.name.text), 9, _t)) : h("", !0),
1436
- B.value.style.chart.grid.xAxis.show ? (C(), g("line", {
1436
+ }, D(V.value.style.chart.axes.x.name.text), 9, _t)) : h("", !0),
1437
+ V.value.style.chart.grid.xAxis.show ? (C(), g("line", {
1437
1438
  key: 10,
1438
- x1: K.value.left,
1439
- x2: K.value.left + K.value.width,
1440
- y1: K.value.bottom,
1441
- y2: K.value.bottom,
1442
- stroke: B.value.style.chart.grid.xAxis.stroke,
1443
- "stroke-width": B.value.style.chart.grid.xAxis.strokeWidth,
1439
+ x1: q.value.left,
1440
+ x2: q.value.left + q.value.width,
1441
+ y1: q.value.bottom,
1442
+ y2: q.value.bottom,
1443
+ stroke: V.value.style.chart.grid.xAxis.stroke,
1444
+ "stroke-width": V.value.style.chart.grid.xAxis.strokeWidth,
1444
1445
  "stroke-linecap": "round"
1445
1446
  }, null, 8, vt)) : h("", !0),
1446
- B.value.style.chart.grid.yAxis.show ? (C(), g("line", {
1447
+ V.value.style.chart.grid.yAxis.show ? (C(), g("line", {
1447
1448
  key: 11,
1448
- x1: K.value.left,
1449
- x2: K.value.left,
1450
- y1: K.value.top,
1451
- y2: K.value.bottom,
1452
- stroke: B.value.style.chart.grid.yAxis.stroke,
1453
- "stroke-width": B.value.style.chart.grid.yAxis.strokeWidth,
1449
+ x1: q.value.left,
1450
+ x2: q.value.left,
1451
+ y1: q.value.top,
1452
+ y2: q.value.bottom,
1453
+ stroke: V.value.style.chart.grid.yAxis.stroke,
1454
+ "stroke-width": V.value.style.chart.grid.yAxis.strokeWidth,
1454
1455
  "stroke-linecap": "round"
1455
1456
  }, null, 8, yt)) : h("", !0),
1456
- (C(!0), g(f, null, T(qn.value, (e) => (C(), g("g", { key: `history_plot_serie_${e.seriesIndex}_${P.value}` }, [
1457
- B.value.style.chart.paths.show ? (C(), g("g", {
1457
+ (C(!0), g(f, null, T(Kn.value, (e) => (C(), g("g", { key: `history_plot_serie_${e.seriesIndex}_${P.value}` }, [
1458
+ V.value.style.chart.paths.show ? (C(), g("g", {
1458
1459
  key: 0,
1459
1460
  style: S({ opacity: sr(e.seriesIndex) })
1460
1461
  }, [_("path", {
1461
- class: b({ "vue-data-ui-transition": O(V) }),
1462
+ class: b({ "vue-data-ui-transition": O(H) }),
1462
1463
  d: e.path,
1463
- stroke: B.value.style.chart.backgroundColor,
1464
- "stroke-width": B.value.style.chart.paths.strokeWidth + 4,
1464
+ stroke: V.value.style.chart.backgroundColor,
1465
+ "stroke-width": V.value.style.chart.paths.strokeWidth + 4,
1465
1466
  fill: "none",
1466
1467
  "stroke-linecap": "round",
1467
1468
  "stroke-linejoin": "round"
1468
1469
  }, null, 10, bt), _("path", {
1469
- class: b({ "vue-data-ui-transition": O(V) }),
1470
+ class: b({ "vue-data-ui-transition": O(H) }),
1470
1471
  d: e.path,
1471
1472
  stroke: or(e),
1472
- "stroke-width": B.value.style.chart.paths.strokeWidth,
1473
+ "stroke-width": V.value.style.chart.paths.strokeWidth,
1473
1474
  fill: "none",
1474
1475
  "stroke-linecap": "round",
1475
1476
  "stroke-linejoin": "round"
@@ -1477,63 +1478,63 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1477
1478
  (C(!0), g(f, null, T(e.plots, (e) => (C(), g("circle", {
1478
1479
  cx: e.x,
1479
1480
  cy: e.y,
1480
- fill: B.value.style.chart.backgroundColor,
1481
- r: q.value.plots,
1481
+ fill: V.value.style.chart.backgroundColor,
1482
+ r: J.value.plots,
1482
1483
  stroke: "none",
1483
- class: b({ "vue-data-ui-transition": O(V) })
1484
+ class: b({ "vue-data-ui-transition": O(H) })
1484
1485
  }, null, 10, St))), 256)),
1485
1486
  (C(!0), g(f, null, T(e.plots, (t) => (C(), g("circle", {
1486
1487
  cx: t.x,
1487
1488
  cy: t.y,
1488
1489
  fill: nr(e, t, e.gradientIndex),
1489
- r: q.value.plots,
1490
- stroke: B.value.style.chart.plots.stroke,
1491
- "stroke-width": B.value.style.chart.plots.strokeWidth,
1492
- class: b({ "vue-data-ui-transition": O(V) }),
1490
+ r: J.value.plots,
1491
+ stroke: V.value.style.chart.plots.stroke,
1492
+ "stroke-width": V.value.style.chart.plots.strokeWidth,
1493
+ class: b({ "vue-data-ui-transition": O(H) }),
1493
1494
  style: S({ opacity: sr(e.seriesIndex) })
1494
1495
  }, null, 14, Ct))), 256)),
1495
- B.value.style.chart.plots.labels.show ? (C(), g("g", wt, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("g", { key: `plab_${n}` }, [String(t.label).includes("\n") ? (C(), g("text", {
1496
+ V.value.style.chart.plots.labels.show ? (C(), g("g", wt, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("g", { key: `plab_${n}` }, [String(t.label).includes("\n") ? (C(), g("text", {
1496
1497
  key: 1,
1497
- class: b({ "vue-data-ui-transition": O(V) }),
1498
- transform: `translate(${t.x + B.value.style.chart.plots.labels.offsetX}, ${t.y + B.value.style.chart.plots.labels.offsetY + q.value.plots + q.value.labels})`,
1499
- "font-size": q.value.labels,
1500
- fill: B.value.style.chart.plots.labels.color,
1501
- "font-weight": B.value.style.chart.plots.labels.bold ? "bold" : "normal",
1498
+ class: b({ "vue-data-ui-transition": O(H) }),
1499
+ transform: `translate(${t.x + V.value.style.chart.plots.labels.offsetX}, ${t.y + V.value.style.chart.plots.labels.offsetY + J.value.plots + J.value.labels})`,
1500
+ "font-size": J.value.labels,
1501
+ fill: V.value.style.chart.plots.labels.color,
1502
+ "font-weight": V.value.style.chart.plots.labels.bold ? "bold" : "normal",
1502
1503
  "text-anchor": "middle",
1503
1504
  style: S({ opacity: sr(e.seriesIndex) }),
1504
1505
  innerHTML: O(r)({
1505
1506
  content: String(t.label),
1506
- fontSize: q.value.labels,
1507
- fill: B.value.style.chart.plots.labels.color,
1507
+ fontSize: J.value.labels,
1508
+ fill: V.value.style.chart.plots.labels.color,
1508
1509
  x: 0,
1509
1510
  y: 0
1510
1511
  })
1511
1512
  }, null, 14, Et)) : (C(), g("text", {
1512
1513
  key: 0,
1513
- class: b({ "vue-data-ui-transition": O(V) }),
1514
- transform: `translate(${t.x + B.value.style.chart.plots.labels.offsetX}, ${t.y + B.value.style.chart.plots.labels.offsetY + q.value.plots + q.value.labels})`,
1515
- "font-size": q.value.labels,
1516
- fill: B.value.style.chart.plots.labels.color,
1517
- "font-weight": B.value.style.chart.plots.labels.bold ? "bold" : "normal",
1514
+ class: b({ "vue-data-ui-transition": O(H) }),
1515
+ transform: `translate(${t.x + V.value.style.chart.plots.labels.offsetX}, ${t.y + V.value.style.chart.plots.labels.offsetY + J.value.plots + J.value.labels})`,
1516
+ "font-size": J.value.labels,
1517
+ fill: V.value.style.chart.plots.labels.color,
1518
+ "font-weight": V.value.style.chart.plots.labels.bold ? "bold" : "normal",
1518
1519
  "text-anchor": "middle",
1519
1520
  style: S({ opacity: sr(e.seriesIndex) })
1520
1521
  }, D(t.label), 15, Tt))]))), 128))])) : h("", !0),
1521
- B.value.style.chart.plots.indexLabels.show ? (C(), g("g", Dt, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("text", {
1522
+ V.value.style.chart.plots.indexLabels.show ? (C(), g("g", Dt, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("text", {
1522
1523
  key: `lab_${n}`,
1523
- class: b({ "vue-data-ui-transition": O(V) }),
1524
- transform: `translate(${t.x + B.value.style.chart.plots.indexLabels.offsetX}, ${t.y + B.value.style.chart.plots.indexLabels.offsetY + q.value.indexLabels / 3})`,
1525
- "font-size": q.value.indexLabels,
1526
- "font-weight": B.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
1524
+ class: b({ "vue-data-ui-transition": O(H) }),
1525
+ transform: `translate(${t.x + V.value.style.chart.plots.indexLabels.offsetX}, ${t.y + V.value.style.chart.plots.indexLabels.offsetY + J.value.indexLabels / 3})`,
1526
+ "font-size": J.value.indexLabels,
1527
+ "font-weight": V.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
1527
1528
  fill: ir(e, t),
1528
1529
  "text-anchor": "middle",
1529
1530
  style: S({ opacity: sr(e.seriesIndex) })
1530
- }, D(B.value.style.chart.plots.indexLabels.startAtZero ? n : n + 1), 15, Ot))), 128))])) : h("", !0)
1531
+ }, D(V.value.style.chart.plots.indexLabels.startAtZero ? n : n + 1), 15, Ot))), 128))])) : h("", !0)
1531
1532
  ]))), 128)),
1532
- (C(!0), g(f, null, T(qn.value, (e) => (C(), g("g", { key: `history_plot_trap_serie_${e.seriesIndex}_${P.value}` }, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("circle", {
1533
+ (C(!0), g(f, null, T(Kn.value, (e) => (C(), g("g", { key: `history_plot_trap_serie_${e.seriesIndex}_${P.value}` }, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("circle", {
1533
1534
  cx: t.x,
1534
1535
  cy: t.y,
1535
1536
  fill: "transparent",
1536
- r: q.value.plots,
1537
+ r: J.value.plots,
1537
1538
  stroke: "none",
1538
1539
  onMouseenter: (r) => xr({
1539
1540
  datapoint: t,
@@ -1553,28 +1554,28 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1553
1554
  })
1554
1555
  }, null, 40, kt))), 256))]))), 128)),
1555
1556
  E(e.$slots, "svg", { svg: {
1556
- ...G.value,
1557
- drawingArea: K.value,
1558
- isPrintingImg: O(On) || O(kn) || sn.value,
1559
- isPrintingSvg: cn.value
1557
+ ...K.value,
1558
+ drawingArea: q.value,
1559
+ isPrintingImg: O(Dn) || O(On) || on.value,
1560
+ isPrintingSvg: sn.value
1560
1561
  } }, void 0, !0)
1561
1562
  ], 44, tt)), e.$slots.hint ? (C(), g("div", At, [E(e.$slots, "hint", x(y({
1562
- hint: B.value.a11y.translations.keyboardNavigation,
1563
- isVisible: hn.value
1563
+ hint: V.value.a11y.translations.keyboardNavigation,
1564
+ isVisible: mn.value
1564
1565
  })), void 0, !0)])) : h("", !0)]),
1565
- e.$slots.watermark ? (C(), g("div", jt, [E(e.$slots, "watermark", x(y({ isPrinting: O(On) || O(kn) || sn.value || cn.value })), void 0, !0)])) : h("", !0),
1566
+ e.$slots.watermark ? (C(), g("div", jt, [E(e.$slots, "watermark", x(y({ isPrinting: O(Dn) || O(On) || on.value || sn.value })), void 0, !0)])) : h("", !0),
1566
1567
  _("div", { id: `legend-bottom-${P.value}` }, null, 8, Mt),
1567
- rn.value && (B.value.style.chart.legend.show || e.$slots.legend) ? (C(), m(Le, {
1568
+ rn.value && (V.value.style.chart.legend.show || e.$slots.legend) ? (C(), m(Le, {
1568
1569
  key: 6,
1569
- to: B.value.style.chart.legend.position === "top" ? `#legend-top-${P.value}` : `#legend-bottom-${P.value}`
1570
+ to: V.value.style.chart.legend.position === "top" ? `#legend-top-${P.value}` : `#legend-bottom-${P.value}`
1570
1571
  }, [_("div", {
1571
1572
  ref_key: "chartLegend",
1572
1573
  ref: Jt
1573
- }, [E(e.$slots, "legend", { legend: mr.value }, () => [B.value.style.chart.legend.show && gn.value ? (C(), m(Fe, {
1574
+ }, [E(e.$slots, "legend", { legend: mr.value }, () => [V.value.style.chart.legend.show && hn.value ? (C(), m(Fe, {
1574
1575
  key: `legend_${Yt.value}`,
1575
1576
  legendSet: mr.value,
1576
1577
  config: hr.value,
1577
- isCursorPointer: H.value,
1578
+ isCursorPointer: U.value,
1578
1579
  onClickMarker: t[0] ||= ({ legend: e }) => {
1579
1580
  ur(e.seriesIndex);
1580
1581
  }
@@ -1583,13 +1584,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1583
1584
  onClick: (t) => e.segregate(),
1584
1585
  style: S(`opacity:${F.value.includes(e.seriesIndex) ? .5 : 1}`)
1585
1586
  }, D(e.name), 13, Nt)]),
1586
- legendToggle: k(() => [mr.value.length > 2 && B.value.style.chart.legend.selectAllToggle.show && !O(Sn) ? (C(), m(je, {
1587
+ legendToggle: k(() => [mr.value.length > 2 && V.value.style.chart.legend.selectAllToggle.show && !O(xn) ? (C(), m(je, {
1587
1588
  key: 0,
1588
- backgroundColor: B.value.style.chart.legend.selectAllToggle.backgroundColor,
1589
- color: B.value.style.chart.legend.selectAllToggle.color,
1590
- fontSize: B.value.style.chart.legend.fontSize,
1589
+ backgroundColor: V.value.style.chart.legend.selectAllToggle.backgroundColor,
1590
+ color: V.value.style.chart.legend.selectAllToggle.color,
1591
+ fontSize: V.value.style.chart.legend.fontSize,
1591
1592
  checked: F.value.length > 0,
1592
- isCursorPointer: H.value,
1593
+ isCursorPointer: U.value,
1593
1594
  onToggle: lr
1594
1595
  }, null, 8, [
1595
1596
  "backgroundColor",
@@ -1611,28 +1612,28 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1611
1612
  dir: "auto"
1612
1613
  }, [E(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1613
1614
  Be(O(Ft), {
1614
- teleportTo: B.value.style.chart.tooltip.teleportTo,
1615
- show: W.value.showTooltip && $t.value,
1616
- backgroundColor: B.value.style.chart.tooltip.backgroundColor,
1617
- color: B.value.style.chart.tooltip.color,
1618
- fontSize: B.value.style.chart.tooltip.fontSize,
1619
- borderRadius: B.value.style.chart.tooltip.borderRadius,
1620
- borderColor: B.value.style.chart.tooltip.borderColor,
1621
- borderWidth: B.value.style.chart.tooltip.borderWidth,
1622
- backgroundOpacity: B.value.style.chart.tooltip.backgroundOpacity,
1623
- position: B.value.style.chart.tooltip.position,
1624
- offsetX: B.value.style.chart.tooltip.offsetX,
1625
- offsetY: B.value.style.chart.tooltip.offsetY,
1615
+ teleportTo: V.value.style.chart.tooltip.teleportTo,
1616
+ show: G.value.showTooltip && $t.value,
1617
+ backgroundColor: V.value.style.chart.tooltip.backgroundColor,
1618
+ color: V.value.style.chart.tooltip.color,
1619
+ fontSize: V.value.style.chart.tooltip.fontSize,
1620
+ borderRadius: V.value.style.chart.tooltip.borderRadius,
1621
+ borderColor: V.value.style.chart.tooltip.borderColor,
1622
+ borderWidth: V.value.style.chart.tooltip.borderWidth,
1623
+ backgroundOpacity: V.value.style.chart.tooltip.backgroundOpacity,
1624
+ position: V.value.style.chart.tooltip.position,
1625
+ offsetX: V.value.style.chart.tooltip.offsetX,
1626
+ offsetY: V.value.style.chart.tooltip.offsetY,
1626
1627
  parent: j.value,
1627
1628
  content: en.value,
1628
1629
  isCustom: tn.value,
1629
1630
  isFullscreen: I.value,
1630
- smooth: B.value.style.chart.tooltip.smooth,
1631
- backdropFilter: B.value.style.chart.tooltip.backdropFilter,
1632
- smoothForce: B.value.style.chart.tooltip.smoothForce,
1633
- smoothSnapThreshold: B.value.style.chart.tooltip.smoothSnapThreshold,
1634
- isA11yMode: mn.value === "keyboard",
1635
- a11yPosition: pn.value
1631
+ smooth: V.value.style.chart.tooltip.smooth,
1632
+ backdropFilter: V.value.style.chart.tooltip.backdropFilter,
1633
+ smoothForce: V.value.style.chart.tooltip.smoothForce,
1634
+ smoothSnapThreshold: V.value.style.chart.tooltip.smoothSnapThreshold,
1635
+ isA11yMode: pn.value === "keyboard",
1636
+ a11yPosition: fn.value
1636
1637
  }, {
1637
1638
  "tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(y({ ...vr.value })), void 0, !0)]),
1638
1639
  tooltip: k(() => [E(e.$slots, "tooltip", x(y({ ...vr.value })), void 0, !0)]),
@@ -1662,10 +1663,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1662
1663
  "isA11yMode",
1663
1664
  "a11yPosition"
1664
1665
  ]),
1665
- gn.value && B.value.userOptions.buttons.table ? (C(), m(Ge(kr.value.component), Ve({ key: 8 }, kr.value.props, {
1666
+ hn.value && V.value.userOptions.buttons.table ? (C(), m(Ge(jr.value.component), Ve({ key: 8 }, jr.value.props, {
1666
1667
  ref_key: "tableUnit",
1667
- ref: an,
1668
- onClose: Ar
1668
+ ref: R,
1669
+ onClose: Mr
1669
1670
  }), Re({
1670
1671
  content: k(() => [(C(), m(O(Rt), {
1671
1672
  key: `table_${Xt.value}`,
@@ -1673,10 +1674,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1673
1674
  head: $.value.head,
1674
1675
  body: $.value.body,
1675
1676
  config: $.value.config,
1676
- title: B.value.table.useDialog ? "" : kr.value.title,
1677
- withCloseButton: !B.value.table.useDialog,
1678
- isCursorPointer: H.value,
1679
- onClose: Ar
1677
+ title: V.value.table.useDialog ? "" : jr.value.title,
1678
+ withCloseButton: !V.value.table.useDialog,
1679
+ isCursorPointer: U.value,
1680
+ onClose: Mr
1680
1681
  }, {
1681
1682
  th: k(({ th: e }) => [_("div", {
1682
1683
  innerHTML: e,
@@ -1697,24 +1698,24 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1697
1698
  "isCursorPointer"
1698
1699
  ]))]),
1699
1700
  _: 2
1700
- }, [B.value.table.useDialog ? {
1701
+ }, [V.value.table.useDialog ? {
1701
1702
  name: "title",
1702
- fn: k(() => [ze(D(kr.value.title), 1)]),
1703
+ fn: k(() => [ze(D(jr.value.title), 1)]),
1703
1704
  key: "0"
1704
- } : void 0, B.value.table.useDialog ? {
1705
+ } : void 0, V.value.table.useDialog ? {
1705
1706
  name: "actions",
1706
1707
  fn: k(() => [_("button", {
1707
1708
  tabindex: "0",
1708
1709
  class: "vue-ui-user-options-button",
1709
- onClick: t[1] ||= (e) => Sr(B.value.userOptions.callbacks.csv),
1710
- style: S({ cursor: H.value ? "pointer" : "default" })
1710
+ onClick: t[1] ||= (e) => Sr(V.value.userOptions.callbacks.csv),
1711
+ style: S({ cursor: U.value ? "pointer" : "default" })
1711
1712
  }, [Be(O(It), {
1712
1713
  name: "fileCsv",
1713
- stroke: kr.value.props.color
1714
+ stroke: jr.value.props.color
1714
1715
  }, null, 8, ["stroke"])], 4)]),
1715
1716
  key: "1"
1716
1717
  } : void 0]), 1040)) : h("", !0),
1717
- E(e.$slots, "skeleton", {}, () => [O(Sn) ? (C(), m(ye, { key: 0 })) : h("", !0)], !0)
1718
+ E(e.$slots, "skeleton", {}, () => [O(xn) ? (C(), m(ye, { key: 0 })) : h("", !0)], !0)
1718
1719
  ], 46, Ze));
1719
1720
  }
1720
1721
  }, [["__scopeId", "data-v-ec22280b"]]);