vue-data-ui 2.4.50 → 2.4.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-DoD-GxZR.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
  159. package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
  160. package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
  163. package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
  166. package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
  167. package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
  168. package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
  169. package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
  170. package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
  171. package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
  172. package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
  175. package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
  177. package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
  179. package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
  182. package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
  183. package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
  187. package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
  188. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
  189. package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
  192. package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
  194. package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
  195. package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
  196. package/dist/vue-ui-wheel-D3itrMku.js +0 -299
  197. package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
  198. package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
@@ -1,21 +1,22 @@
1
- import { ref as c, computed as d, onMounted as Ye, onBeforeUnmount as je, watch as Be, openBlock as s, createElementBlock as r, normalizeClass as I, normalizeStyle as A, renderSlot as x, createBlock as S, createCommentVNode as v, unref as p, createSlots as We, withCtx as m, normalizeProps as Y, guardReactiveProps as j, createVNode as me, Fragment as b, renderList as k, createElementVNode as T, toDisplayString as L, createTextVNode as Ge, nextTick as He } from "vue";
2
- import { u as Ee, c as ge, o as Ue, e as be, g as Re, b as Ve, d as qe, p as E, D as ke, i as F, f as O, X as Ze, l as Je, h as Ke, G as Qe, t as et, a as tt, C as U, x as lt, q as at, r as st, F as N } from "./index-BtL_cLa8.js";
3
- import { u as we } from "./useNestedProp-CEAfm1tu.js";
4
- import { u as ot, U as rt } from "./usePrinter-sRt2SKr2.js";
5
- import { _ as nt } from "./PackageVersion-BV3fHO46.js";
6
- import { L as ut } from "./Legend-Br7MWNDo.js";
7
- import { _ as it } from "./Title-CIsKiWgN.js";
8
- import { _ as ct } from "./Tooltip-B1LgrF9R.js";
9
- import { D as vt } from "./DataTable-CQ8fQnex.js";
10
- import ht from "./vue-ui-accordion-Cjc683tN.js";
11
- import { P as yt } from "./PenAndPaper-CCOywdmm.js";
12
- import dt from "./vue-ui-skeleton-DjFU2X3P.js";
13
- import { t as ft, u as xt } from "./useResponsive-CoxXLe23.js";
14
- import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt = ["stop-color"], Ct = ["stop-color"], _t = ["stop-color"], $t = { key: 1 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = { key: 2 }, Tt = ["x", "y", "fill", "font-size"], Lt = ["transform", "font-size", "fill", "font-weight"], zt = { key: 4 }, St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = { key: 5 }, Pt = ["transform", "fill", "font-size", "text-anchor"], It = ["x", "y", "font-size", "fill", "font-weight"], Ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xt = ["d", "stroke", "stroke-width"], Dt = ["d", "stroke", "stroke-width"], Yt = ["cx", "cy", "fill", "r"], jt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Bt = { key: 1 }, Wt = ["x", "y", "font-size", "fill", "font-weight"], Gt = { key: 2 }, Ht = ["x", "y", "font-size", "font-weight", "fill"], Et = ["cx", "cy", "r", "onMouseenter", "onClick"], Ut = {
1
+ import { ref as c, computed as f, onMounted as Ue, onBeforeUnmount as We, watch as Ge, openBlock as s, createElementBlock as r, normalizeClass as I, normalizeStyle as $, unref as y, renderSlot as p, createBlock as z, createCommentVNode as v, createSlots as He, withCtx as m, normalizeProps as Y, guardReactiveProps as j, createVNode as ke, Fragment as b, renderList as k, createElementVNode as T, toDisplayString as L, createTextVNode as Ee, nextTick as Ve } from "vue";
2
+ import { u as Re, c as we, o as qe, e as Ce, g as Ze, b as Je, d as Ke, p as H, D as _e, i as O, f as F, X as Qe, l as et, h as tt, G as lt, t as at, a as st, C as E, x as ot, q as rt, r as nt, F as N } from "./index-BbPeL8Gp.js";
3
+ import { u as $e } from "./useNestedProp-BN8claGG.js";
4
+ import { u as ut, U as it } from "./usePrinter-DaybDVqP.js";
5
+ import { _ as ct } from "./PackageVersion-CxJghxYD.js";
6
+ import { L as vt } from "./Legend-BLaZxMge.js";
7
+ import { _ as ht } from "./Title-aSAft5dl.js";
8
+ import { _ as yt } from "./Tooltip-smutPF--.js";
9
+ import { D as dt } from "./DataTable-DGf6RrOJ.js";
10
+ import ft from "./vue-ui-accordion-5d5iVpr7.js";
11
+ import { P as xt } from "./PenAndPaper-ZdZEumki.js";
12
+ import pt from "./vue-ui-skeleton-Bniq21d9.js";
13
+ import { t as mt, u as gt } from "./useResponsive-CoxXLe23.js";
14
+ import { u as bt } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const wt = ["id"], Ct = ["xmlns", "viewBox"], _t = { key: 0 }, $t = ["id"], Mt = ["stop-color"], At = ["stop-color"], Tt = ["stop-color"], Lt = { key: 1 }, St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = { key: 2 }, Nt = ["x", "y", "fill", "font-size"], Pt = ["transform", "font-size", "fill", "font-weight"], It = { key: 4 }, Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = { key: 5 }, Xt = ["transform", "fill", "font-size", "text-anchor"], Dt = ["x", "y", "font-size", "fill", "font-weight"], Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bt = ["d", "stroke", "stroke-width"], Ut = ["d", "stroke", "stroke-width"], Wt = ["cx", "cy", "fill", "r"], Gt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Ht = { key: 1 }, Et = ["x", "y", "font-size", "fill", "font-weight"], Vt = { key: 2 }, Rt = ["x", "y", "font-size", "font-weight", "fill"], qt = ["cx", "cy", "r", "onMouseenter", "onClick"], Zt = {
16
17
  key: 5,
17
18
  class: "vue-data-ui-watermark"
18
- }, Rt = ["onClick"], Vt = ["innerHTML"], qt = {
19
+ }, Jt = ["onClick"], Kt = ["innerHTML"], Qt = {
19
20
  __name: "vue-ui-history-plot",
20
21
  props: {
21
22
  config: {
@@ -32,24 +33,24 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
32
33
  }
33
34
  },
34
35
  emits: ["selectLegend", "selectDatapoint"],
35
- setup(Ce, { expose: _e, emit: J }) {
36
- const h = Ce, { vue_ui_history_plot: $e } = Ee(), P = c(null), K = c(null), Q = c(0), ee = c(null), te = c(0), le = c(0), ae = c(0), B = c(null), se = c(null), X = c(ge()), R = c(!1), V = c(""), g = c([]), W = c(!1), _ = c(null), D = c(!1), oe = c(null), w = d({
36
+ setup(Me, { expose: Ae, emit: J }) {
37
+ const h = Me, { vue_ui_history_plot: Te } = Re(), P = c(null), K = c(null), Q = c(0), ee = c(null), te = c(0), le = c(0), ae = c(0), B = c(null), se = c(null), X = c(we()), V = c(!1), R = c(""), g = c([]), U = c(!1), _ = c(null), D = c(!1), oe = c(null), w = f({
37
38
  get: () => !!h.dataset && h.dataset.length,
38
39
  set: (t) => t
39
40
  });
40
- Ye(re), je(() => {
41
+ Ue(re), We(() => {
41
42
  B.value && B.value.disconnect();
42
43
  });
43
44
  function re() {
44
- if (Ue(h.dataset) ? be({
45
+ if (qe(h.dataset) ? Ce({
45
46
  componentName: "VueUiHistoryPlot",
46
47
  type: "dataset"
47
48
  }) : h.dataset.forEach((t, a) => {
48
- Re({
49
+ Ze({
49
50
  datasetObject: t,
50
51
  requiredAttributes: ["name", "values"]
51
52
  }).forEach((l) => {
52
- w.value = !1, be({
53
+ w.value = !1, Ce({
53
54
  componentName: "VueUiHistoryPlot",
54
55
  type: "datasetSerieAttribute",
55
56
  property: l,
@@ -57,15 +58,15 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
57
58
  });
58
59
  });
59
60
  }), e.value.responsive) {
60
- const t = ft(() => {
61
- const { width: a, height: l } = xt({
61
+ const t = mt(() => {
62
+ const { width: a, height: l } = gt({
62
63
  chart: P.value,
63
64
  title: e.value.style.chart.title.text ? K.value : null,
64
65
  noTitle: se.value,
65
66
  legend: e.value.style.chart.legend.show ? ee.value : null,
66
67
  source: oe.value
67
68
  });
68
- y.value.width = a, y.value.height = l, n.value.plots = N({
69
+ d.value.width = a, d.value.height = l, n.value.plots = N({
69
70
  relator: Math.min(a, l),
70
71
  adjuster: 600,
71
72
  source: e.value.style.chart.plots.radius,
@@ -113,44 +114,44 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
113
114
  }
114
115
  }
115
116
  function ne() {
116
- const t = we({
117
+ const t = $e({
117
118
  userConfig: h.config,
118
- defaultConfig: $e
119
+ defaultConfig: Te
119
120
  });
120
121
  let a = {};
121
122
  return t.theme ? a = {
122
- ...we({
123
- userConfig: et.vue_ui_history_plot[t.theme] || h.config,
123
+ ...$e({
124
+ userConfig: at.vue_ui_history_plot[t.theme] || h.config,
124
125
  defaultConfig: t
125
126
  }),
126
- customPalette: tt[t.theme] || E
127
- } : a = t, h.config && U(h.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = h.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, h.config && U(h.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = h.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, h.config && U(h.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = h.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, h.config && U(h.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = h.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
127
+ customPalette: st[t.theme] || H
128
+ } : a = t, h.config && E(h.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = h.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, h.config && E(h.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = h.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, h.config && E(h.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = h.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, h.config && E(h.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = h.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
128
129
  }
129
- const e = d({
130
+ const e = f({
130
131
  get: () => ne(),
131
132
  set: (t) => t
132
- });
133
- Be(() => h.config, (t) => {
134
- e.value = ne(), re(), Q.value += 1, le.value += 1, te.value += 1, y.value.height = e.value.style.chart.height, y.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize;
133
+ }), { userOptionsVisible: ue, setUserOptionsVisibility: ie, keepUserOptionState: ce } = bt({ config: e.value });
134
+ Ge(() => h.config, (t) => {
135
+ e.value = ne(), re(), Q.value += 1, le.value += 1, te.value += 1, d.value.height = e.value.style.chart.height, d.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize;
135
136
  }, { deep: !0 });
136
- const { isPrinting: ue, isImaging: ie, generatePdf: ce, generateImage: ve } = ot({
137
+ const { isPrinting: ve, isImaging: he, generatePdf: ye, generateImage: de } = ut({
137
138
  elementId: `history_plot_${X.value}`,
138
139
  fileName: e.value.style.chart.title.text || "vue-ui-history-plot"
139
- }), Me = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ae = d(() => Ve(e.value.customPalette)), $ = c({
140
+ }), Le = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = f(() => Je(e.value.customPalette)), M = c({
140
141
  showTable: e.value.table.show,
141
142
  showTooltip: e.value.style.chart.tooltip.show
142
- }), y = c({
143
+ }), d = c({
143
144
  height: e.value.style.chart.height,
144
145
  width: e.value.style.chart.width
145
- }), u = d(() => {
146
+ }), u = f(() => {
146
147
  const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top;
147
148
  return {
148
149
  left: t,
149
150
  top: a,
150
- right: y.value.width - e.value.style.chart.padding.right,
151
- bottom: y.value.height - e.value.style.chart.padding.bottom,
152
- width: y.value.width - t - e.value.style.chart.padding.right,
153
- height: y.value.height - a - e.value.style.chart.padding.bottom
151
+ right: d.value.width - e.value.style.chart.padding.right,
152
+ bottom: d.value.height - e.value.style.chart.padding.bottom,
153
+ width: d.value.width - t - e.value.style.chart.padding.right,
154
+ height: d.value.height - a - e.value.style.chart.padding.bottom
154
155
  };
155
156
  }), n = c({
156
157
  plots: e.value.style.chart.plots.radius,
@@ -160,26 +161,26 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
160
161
  xAxisName: e.value.style.chart.axes.x.name.fontSize,
161
162
  yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
162
163
  yAxisName: e.value.style.chart.axes.y.name.fontSize
163
- }), M = d(() => w.value ? h.dataset.map((t, a) => ({
164
+ }), A = f(() => w.value ? h.dataset.map((t, a) => ({
164
165
  ...t,
165
- color: t.color ? qe(t.color) : Ae.value[a] || E[a] || E[a % E.length],
166
+ color: t.color ? Ke(t.color) : Se.value[a] || H[a] || H[a % H.length],
166
167
  seriesIndex: a
167
- })) : []), Te = d(() => w.value ? Math.max(...M.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), Le = d(() => {
168
+ })) : []), ze = f(() => w.value ? Math.max(...A.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), Ne = f(() => {
168
169
  if (!w.value) return 1;
169
- const t = Math.min(...M.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
170
+ const t = Math.min(...A.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
170
171
  return t < 0 ? t : 0;
171
- }), ze = d(() => w.value ? Math.max(...M.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Se = d(() => {
172
+ }), Pe = f(() => w.value ? Math.max(...A.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ie = f(() => {
172
173
  if (!w.value) return 1;
173
- const t = Math.min(...M.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
174
+ const t = Math.min(...A.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
174
175
  return t < 0 ? t : 0;
175
- }), f = d(() => {
176
- const t = ke(
177
- e.value.style.chart.axes.x.scaleMin === null ? Le.value : e.value.style.chart.axes.x.scaleMin,
178
- e.value.style.chart.axes.x.scaleMax === null ? Te.value : e.value.style.chart.axes.x.scaleMax,
176
+ }), x = f(() => {
177
+ const t = _e(
178
+ e.value.style.chart.axes.x.scaleMin === null ? Ne.value : e.value.style.chart.axes.x.scaleMin,
179
+ e.value.style.chart.axes.x.scaleMax === null ? ze.value : e.value.style.chart.axes.x.scaleMax,
179
180
  e.value.style.chart.axes.x.ticks
180
- ), a = ke(
181
- e.value.style.chart.axes.y.scaleMin === null ? Se.value : e.value.style.chart.axes.y.scaleMin,
182
- e.value.style.chart.axes.y.scaleMax === null ? ze.value : e.value.style.chart.axes.y.scaleMax,
181
+ ), a = _e(
182
+ e.value.style.chart.axes.y.scaleMin === null ? Ie.value : e.value.style.chart.axes.y.scaleMin,
183
+ e.value.style.chart.axes.y.scaleMax === null ? Pe.value : e.value.style.chart.axes.y.scaleMax,
183
184
  e.value.style.chart.axes.y.ticks
184
185
  );
185
186
  return {
@@ -199,24 +200,24 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
199
200
  }))
200
201
  };
201
202
  });
202
- function Ne(t) {
203
- const a = f.value.x.min < 0 ? Math.abs(f.value.x.min) : f.value.x.min > 0 ? -f.value.x.min : 0;
204
- return u.value.left + ((t || 0) + a) / (f.value.x.max + a) * u.value.width;
203
+ function Oe(t) {
204
+ const a = x.value.x.min < 0 ? Math.abs(x.value.x.min) : x.value.x.min > 0 ? -x.value.x.min : 0;
205
+ return u.value.left + ((t || 0) + a) / (x.value.x.max + a) * u.value.width;
205
206
  }
206
- function Pe(t) {
207
- const a = f.value.y.min < 0 ? Math.abs(f.value.y.min) : f.value.y.min > 0 ? -f.value.y.min : 0;
208
- return u.value.bottom - ((t || 0) + a) / (f.value.y.max + a) * u.value.height;
207
+ function Fe(t) {
208
+ const a = x.value.y.min < 0 ? Math.abs(x.value.y.min) : x.value.y.min > 0 ? -x.value.y.min : 0;
209
+ return u.value.bottom - ((t || 0) + a) / (x.value.y.max + a) * u.value.height;
209
210
  }
210
- const z = d(() => M.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
211
+ const S = f(() => A.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
211
212
  const l = t.values.map((o, C) => ({
212
213
  valueX: o.x,
213
214
  valueY: o.y,
214
215
  label: o.label,
215
- x: Ne(o.x),
216
- y: Pe(o.y),
216
+ x: Oe(o.x),
217
+ y: Fe(o.y),
217
218
  color: t.color,
218
219
  seriesName: t.name,
219
- id: ge()
220
+ id: we()
220
221
  })), i = l.map((o) => `${o.x},${o.y} `).join("").trim();
221
222
  return {
222
223
  ...t,
@@ -224,16 +225,16 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
224
225
  path: `M${i}`
225
226
  };
226
227
  }));
227
- function he(t) {
228
+ function fe(t) {
228
229
  g.value.includes(t) ? g.value = g.value.filter((a) => a !== t) : g.value.push(t);
229
230
  }
230
- const ye = d(() => M.value.map((t) => ({
231
+ const xe = f(() => A.value.map((t) => ({
231
232
  ...t,
232
233
  opacity: g.value.includes(t.seriesIndex) ? 0.5 : 1,
233
- segregate: () => he(t.seriesIndex),
234
+ segregate: () => fe(t.seriesIndex),
234
235
  isSegregated: g.value.includes(t.seriesIndex),
235
236
  shape: "circle"
236
- }))), Ie = d(() => ({
237
+ }))), Xe = f(() => ({
237
238
  cy: "history-plot-div-legend",
238
239
  backgroundColor: e.value.style.chart.legend.backgroundColor,
239
240
  color: e.value.style.chart.legend.color,
@@ -241,90 +242,90 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
241
242
  paddingBottom: 12,
242
243
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
243
244
  }));
244
- function Fe(t) {
245
+ function De(t) {
245
246
  J("selectDatapoint", t);
246
247
  }
247
- function de(t) {
248
+ function pe(t) {
248
249
  J("selectLegend", {
249
250
  ...t,
250
251
  isSegregated: !t.isSegregated,
251
252
  opacity: t.isSegregated ? 1 : 0.5
252
253
  });
253
254
  }
254
- function Oe(t) {
255
- W.value = t, ae.value += 1;
255
+ function Ye(t) {
256
+ U.value = t, ae.value += 1;
256
257
  }
257
258
  const q = c(null);
258
- function Xe({ datapoint: t, plotIndex: a, seriesIndex: l }) {
259
- q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: M.value }, _.value = t;
259
+ function je({ datapoint: t, plotIndex: a, seriesIndex: l }) {
260
+ q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: A.value }, _.value = t;
260
261
  const i = e.value.style.chart.tooltip.customFormat;
261
- if (D.value = !1, lt(i))
262
+ if (D.value = !1, ot(i))
262
263
  try {
263
264
  const o = i({
264
265
  seriesIndex: l,
265
266
  datapoint: t,
266
267
  plotIndex: a,
267
- series: M.value,
268
+ series: A.value,
268
269
  config: e.value
269
270
  });
270
- typeof o == "string" && (V.value = o, D.value = !0);
271
+ typeof o == "string" && (R.value = o, D.value = !0);
271
272
  } catch {
272
273
  console.warn("Custom format cannot be applied."), D.value = !1;
273
274
  }
274
275
  if (!D.value) {
275
276
  let o = "";
276
- o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.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="${t.color}"/></svg><span>${t.seriesName}</span></div>`, o += `<div>${t.label}</div>`, o += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${F(
277
+ o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.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="${t.color}"/></svg><span>${t.seriesName}</span></div>`, o += `<div>${t.label}</div>`, o += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${O(
277
278
  e.value.style.chart.axes.x.labels.formatter,
278
279
  t.valueX,
279
- O({
280
+ F({
280
281
  p: e.value.style.chart.axes.x.labels.prefix,
281
282
  v: t.valueX,
282
283
  s: e.value.style.chart.axes.x.labels.suffix,
283
284
  r: e.value.style.chart.axes.x.labels.rounding
284
285
  })
285
- )}</div>`, o += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${F(
286
+ )}</div>`, o += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${O(
286
287
  e.value.style.chart.axes.y.labels.formatter,
287
288
  t.valueY,
288
- O({
289
+ F({
289
290
  p: e.value.style.chart.axes.y.labels.prefix,
290
291
  v: t.valueY,
291
292
  s: e.value.style.chart.axes.y.labels.suffix,
292
293
  r: e.value.style.chart.axes.y.labels.rounding
293
294
  })
294
- )}</div>`, V.value = `<div>${o}</div>`;
295
+ )}</div>`, R.value = `<div>${o}</div>`;
295
296
  }
296
- R.value = !0;
297
+ V.value = !0;
297
298
  }
298
- d(() => ({ head: z.value.map((a) => ({
299
+ f(() => ({ head: S.value.map((a) => ({
299
300
  name: a.name,
300
301
  color: a.color
301
302
  })) }));
302
- const G = d(() => {
303
+ const W = f(() => {
303
304
  const t = [
304
305
  e.value.table.columnNames.series,
305
306
  e.value.table.columnNames.datapoint,
306
307
  e.value.table.columnNames.x,
307
308
  e.value.table.columnNames.y
308
- ], a = z.value.flatMap((i) => i.plots.map((o) => [
309
+ ], a = S.value.flatMap((i) => i.plots.map((o) => [
309
310
  {
310
311
  color: o.color,
311
312
  name: o.seriesName
312
313
  },
313
314
  o.label,
314
- F(
315
+ O(
315
316
  e.value.style.chart.axes.x.labels.formatter,
316
317
  o.valueX,
317
- O({
318
+ F({
318
319
  p: e.value.style.chart.axes.x.labels.prefix,
319
320
  v: o.valueX,
320
321
  s: e.value.style.chart.axes.x.labels.suffix,
321
322
  r: e.value.style.chart.axes.x.labels.rounding
322
323
  })
323
324
  ),
324
- F(
325
+ O(
325
326
  e.value.style.chart.axes.y.labels.formatter,
326
327
  o.valueY,
327
- O({
328
+ F({
328
329
  p: e.value.style.chart.axes.y.labels.prefix,
329
330
  v: o.valueY,
330
331
  s: e.value.style.chart.axes.y.labels.suffix,
@@ -351,14 +352,14 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
351
352
  colNames: t
352
353
  };
353
354
  });
354
- function fe() {
355
- He(() => {
355
+ function me() {
356
+ Ve(() => {
356
357
  const t = [
357
358
  [e.value.table.columnNames.series],
358
359
  [e.value.table.columnNames.datapoint],
359
360
  [e.value.table.columnNames.x],
360
361
  [e.value.table.columnNames.y]
361
- ], a = z.value.flatMap((o) => o.plots.map((C) => [
362
+ ], a = S.value.flatMap((o) => o.plots.map((C) => [
362
363
  [C.seriesName],
363
364
  [C.label],
364
365
  [C.valueX],
@@ -367,51 +368,53 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
367
368
  [e.value.style.chart.title.text],
368
369
  [e.value.style.chart.title.subtitle.text],
369
370
  t
370
- ].concat(a), i = at(l);
371
- st({
371
+ ].concat(a), i = rt(l);
372
+ nt({
372
373
  csvContent: i,
373
374
  title: e.value.style.chart.title.text || "vue-ui-history-plot"
374
375
  });
375
376
  });
376
377
  }
377
- const H = c(!1);
378
+ const G = c(!1);
378
379
  function Z() {
379
- H.value = !H.value;
380
+ G.value = !G.value;
380
381
  }
381
- function xe() {
382
- $.value.showTable = !$.value.showTable;
382
+ function ge() {
383
+ M.value.showTable = !M.value.showTable;
383
384
  }
384
- function pe() {
385
- $.value.showTooltip = !$.value.showTooltip;
385
+ function be() {
386
+ M.value.showTooltip = !M.value.showTooltip;
386
387
  }
387
- function De() {
388
- return z.value;
388
+ function Be() {
389
+ return S.value;
389
390
  }
390
- return _e({
391
- getData: De,
392
- generatePdf: ce,
393
- generateCsv: fe,
394
- generateImage: ve,
395
- toggleTable: xe,
396
- toggleTooltip: pe,
391
+ return Ae({
392
+ getData: Be,
393
+ generatePdf: ye,
394
+ generateCsv: me,
395
+ generateImage: de,
396
+ toggleTable: ge,
397
+ toggleTooltip: be,
397
398
  toggleAnnotator: Z
398
399
  }), (t, a) => (s(), r("div", {
399
400
  id: `history_plot_${X.value}`,
400
401
  ref_key: "historyPlotChart",
401
402
  ref: P,
402
- class: I({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": W.value }),
403
- style: A(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`)
403
+ class: I({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": U.value }),
404
+ style: $(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
405
+ onMouseenter: a[3] || (a[3] = () => y(ie)(!0)),
406
+ onMouseleave: a[4] || (a[4] = () => y(ie)(!1))
404
407
  }, [
405
- x(t.$slots, "userConfig", {}, void 0, !0),
406
- e.value.userOptions.buttons.annotator ? (s(), S(yt, {
408
+ p(t.$slots, "userConfig", {}, void 0, !0),
409
+ e.value.userOptions.buttons.annotator ? (s(), z(xt, {
407
410
  key: 0,
408
411
  parent: P.value,
409
412
  backgroundColor: e.value.style.chart.backgroundColor,
410
413
  color: e.value.style.chart.color,
411
- active: H.value,
414
+ active: G.value,
412
415
  onClose: Z
413
416
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
414
- Me.value ? (s(), r("div", {
417
+ Le.value ? (s(), r("div", {
415
418
  key: 1,
416
419
  ref_key: "noTitle",
417
420
  ref: se,
@@ -423,9 +426,9 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
423
426
  ref_key: "chartTitle",
424
427
  ref: K,
425
428
  class: "vue-ui-xy-title",
426
- style: A(`font-family:${e.value.style.fontFamily}`)
429
+ style: $(`font-family:${e.value.style.fontFamily}`)
427
430
  }, [
428
- (s(), S(it, {
431
+ (s(), z(ht, {
429
432
  key: `title_${Q.value}`,
430
433
  config: {
431
434
  title: {
@@ -439,13 +442,13 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
439
442
  }
440
443
  }, null, 8, ["config"]))
441
444
  ], 4)) : v("", !0),
442
- e.value.userOptions.show && w.value ? (s(), S(rt, {
445
+ e.value.userOptions.show && w.value && (y(ce) || y(ue)) ? (s(), z(it, {
443
446
  ref: "details",
444
447
  key: `user_option_${ae.value}`,
445
448
  backgroundColor: e.value.style.chart.backgroundColor,
446
449
  color: e.value.style.chart.color,
447
- isPrinting: p(ue),
448
- isImaging: p(ie),
450
+ isPrinting: y(ve),
451
+ isImaging: y(he),
449
452
  uid: X.value,
450
453
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
451
454
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -454,99 +457,102 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
454
457
  hasTable: e.value.userOptions.buttons.table,
455
458
  hasLabel: !1,
456
459
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
457
- isFullscreen: W.value,
460
+ isFullscreen: U.value,
458
461
  chartElement: P.value,
459
462
  position: e.value.userOptions.position,
460
- isTooltip: $.value.showTooltip,
463
+ isTooltip: M.value.showTooltip,
461
464
  titles: { ...e.value.userOptions.buttonTitles },
462
465
  hasAnnotator: e.value.userOptions.buttons.annotator,
463
- isAnnotation: H.value,
464
- onToggleFullscreen: Oe,
465
- onGeneratePdf: p(ce),
466
- onGenerateCsv: fe,
467
- onGenerateImage: p(ve),
468
- onToggleTable: xe,
469
- onToggleTooltip: pe,
470
- onToggleAnnotator: Z
471
- }, We({ _: 2 }, [
466
+ isAnnotation: G.value,
467
+ onToggleFullscreen: Ye,
468
+ onGeneratePdf: y(ye),
469
+ onGenerateCsv: me,
470
+ onGenerateImage: y(de),
471
+ onToggleTable: ge,
472
+ onToggleTooltip: be,
473
+ onToggleAnnotator: Z,
474
+ style: $({
475
+ visibility: y(ce) ? y(ue) ? "visible" : "hidden" : "visible"
476
+ })
477
+ }, He({ _: 2 }, [
472
478
  t.$slots.optionTooltip ? {
473
479
  name: "optionTooltip",
474
480
  fn: m(() => [
475
- x(t.$slots, "optionTooltip", {}, void 0, !0)
481
+ p(t.$slots, "optionTooltip", {}, void 0, !0)
476
482
  ]),
477
483
  key: "0"
478
484
  } : void 0,
479
485
  t.$slots.optionPdf ? {
480
486
  name: "optionPdf",
481
487
  fn: m(() => [
482
- x(t.$slots, "optionPdf", {}, void 0, !0)
488
+ p(t.$slots, "optionPdf", {}, void 0, !0)
483
489
  ]),
484
490
  key: "1"
485
491
  } : void 0,
486
492
  t.$slots.optionCsv ? {
487
493
  name: "optionCsv",
488
494
  fn: m(() => [
489
- x(t.$slots, "optionCsv", {}, void 0, !0)
495
+ p(t.$slots, "optionCsv", {}, void 0, !0)
490
496
  ]),
491
497
  key: "2"
492
498
  } : void 0,
493
499
  t.$slots.optionImg ? {
494
500
  name: "optionImg",
495
501
  fn: m(() => [
496
- x(t.$slots, "optionImg", {}, void 0, !0)
502
+ p(t.$slots, "optionImg", {}, void 0, !0)
497
503
  ]),
498
504
  key: "3"
499
505
  } : void 0,
500
506
  t.$slots.optionTable ? {
501
507
  name: "optionTable",
502
508
  fn: m(() => [
503
- x(t.$slots, "optionTable", {}, void 0, !0)
509
+ p(t.$slots, "optionTable", {}, void 0, !0)
504
510
  ]),
505
511
  key: "4"
506
512
  } : void 0,
507
513
  t.$slots.optionFullscreen ? {
508
514
  name: "optionFullscreen",
509
515
  fn: m(({ toggleFullscreen: l, isFullscreen: i }) => [
510
- x(t.$slots, "optionFullscreen", Y(j({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
516
+ p(t.$slots, "optionFullscreen", Y(j({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
511
517
  ]),
512
518
  key: "5"
513
519
  } : void 0,
514
520
  t.$slots.optionAnnotator ? {
515
521
  name: "optionAnnotator",
516
522
  fn: m(({ toggleAnnotator: l, isAnnotator: i }) => [
517
- x(t.$slots, "optionAnnotator", Y(j({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
523
+ p(t.$slots, "optionAnnotator", Y(j({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
518
524
  ]),
519
525
  key: "6"
520
526
  } : void 0
521
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
527
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
522
528
  w.value ? (s(), r("svg", {
523
529
  key: 4,
524
- xmlns: p(Ze),
525
- viewBox: `0 0 ${y.value.width < 0 ? 0.1 : y.value.width} ${y.value.height < 0 ? 0.1 : y.value.height}`,
526
- style: A(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
530
+ xmlns: y(Qe),
531
+ viewBox: `0 0 ${d.value.width < 0 ? 0.1 : d.value.width} ${d.value.height < 0 ? 0.1 : d.value.height}`,
532
+ style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
527
533
  }, [
528
- me(nt),
529
- e.value.style.chart.plots.gradient.show ? (s(), r("defs", bt, [
530
- (s(!0), r(b, null, k(z.value, (l, i) => (s(), r("radialGradient", {
534
+ ke(ct),
535
+ e.value.style.chart.plots.gradient.show ? (s(), r("defs", _t, [
536
+ (s(!0), r(b, null, k(S.value, (l, i) => (s(), r("radialGradient", {
531
537
  id: `gradient_${i}_${X.value}`,
532
538
  fy: "30%"
533
539
  }, [
534
540
  T("stop", {
535
541
  offset: "10%",
536
- "stop-color": p(Je)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
537
- }, null, 8, wt),
542
+ "stop-color": y(et)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
543
+ }, null, 8, Mt),
538
544
  T("stop", {
539
545
  offset: "90%",
540
- "stop-color": p(Ke)(l.color, 0.1)
541
- }, null, 8, Ct),
546
+ "stop-color": y(tt)(l.color, 0.1)
547
+ }, null, 8, At),
542
548
  T("stop", {
543
549
  offset: "100%",
544
550
  "stop-color": l.color
545
- }, null, 8, _t)
546
- ], 8, kt))), 256))
551
+ }, null, 8, Tt)
552
+ ], 8, $t))), 256))
547
553
  ])) : v("", !0),
548
- e.value.style.chart.grid.verticalLines.show ? (s(), r("g", $t, [
549
- (s(!0), r(b, null, k(f.value.tickX, (l) => (s(), r("line", {
554
+ e.value.style.chart.grid.verticalLines.show ? (s(), r("g", Lt, [
555
+ (s(!0), r(b, null, k(x.value.tickX, (l) => (s(), r("line", {
550
556
  x1: l.x,
551
557
  x2: l.x,
552
558
  y1: l.y1,
@@ -554,36 +560,36 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
554
560
  stroke: e.value.style.chart.grid.verticalLines.stroke,
555
561
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
556
562
  "stroke-linecap": "round"
557
- }, null, 8, Mt))), 256))
563
+ }, null, 8, St))), 256))
558
564
  ])) : v("", !0),
559
- e.value.style.chart.axes.y.labels.show ? (s(), r("g", At, [
560
- (s(!0), r(b, null, k(f.value.tickY, (l) => (s(), r("text", {
565
+ e.value.style.chart.axes.y.labels.show ? (s(), r("g", zt, [
566
+ (s(!0), r(b, null, k(x.value.tickY, (l) => (s(), r("text", {
561
567
  x: u.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
562
568
  y: l.y + n.value.yAxisLabels / 3,
563
569
  fill: e.value.style.chart.axes.y.labels.color,
564
570
  "font-size": n.value.yAxisLabels,
565
571
  "text-anchor": "end"
566
- }, L(p(F)(
572
+ }, L(y(O)(
567
573
  e.value.style.chart.axes.y.labels.formatter,
568
574
  l.value,
569
- p(O)({
575
+ y(F)({
570
576
  p: e.value.style.chart.axes.y.labels.prefix,
571
577
  v: l.value,
572
578
  s: e.value.style.chart.axes.y.labels.suffix,
573
579
  r: e.value.style.chart.axes.y.labels.rounding
574
580
  })
575
- )), 9, Tt))), 256))
581
+ )), 9, Nt))), 256))
576
582
  ])) : v("", !0),
577
583
  e.value.style.chart.axes.y.name.text ? (s(), r("text", {
578
584
  key: 3,
579
- transform: `translate(${e.value.style.chart.axes.y.name.offsetX + n.value.yAxisName}, ${y.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
585
+ transform: `translate(${e.value.style.chart.axes.y.name.offsetX + n.value.yAxisName}, ${d.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
580
586
  "font-size": n.value.yAxisName,
581
587
  fill: e.value.style.chart.axes.y.name.color,
582
588
  "font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
583
589
  "text-anchor": "middle"
584
- }, L(e.value.style.chart.axes.y.name.text), 9, Lt)) : v("", !0),
585
- e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", zt, [
586
- (s(!0), r(b, null, k(f.value.tickY, (l) => (s(), r("line", {
590
+ }, L(e.value.style.chart.axes.y.name.text), 9, Pt)) : v("", !0),
591
+ e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", It, [
592
+ (s(!0), r(b, null, k(x.value.tickY, (l) => (s(), r("line", {
587
593
  x1: l.x1,
588
594
  x2: l.x2,
589
595
  y1: l.y,
@@ -591,34 +597,34 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
591
597
  stroke: e.value.style.chart.grid.horizontalLines.stroke,
592
598
  "stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
593
599
  "stroke-linecap": "round"
594
- }, null, 8, St))), 256))
600
+ }, null, 8, Ot))), 256))
595
601
  ])) : v("", !0),
596
- e.value.style.chart.axes.x.labels.show ? (s(), r("g", Nt, [
597
- (s(!0), r(b, null, k(f.value.tickX, (l) => (s(), r("text", {
602
+ e.value.style.chart.axes.x.labels.show ? (s(), r("g", Ft, [
603
+ (s(!0), r(b, null, k(x.value.tickX, (l) => (s(), r("text", {
598
604
  transform: `translate(${l.x}, ${u.value.bottom + e.value.style.chart.axes.x.labels.offsetY + n.value.xAxisLabels}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
599
605
  fill: e.value.style.chart.axes.x.labels.color,
600
606
  "font-size": n.value.xAxisLabels,
601
607
  "text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
602
- }, L(p(F)(
608
+ }, L(y(O)(
603
609
  e.value.style.chart.axes.x.labels.formatter,
604
610
  l.value,
605
- p(O)({
611
+ y(F)({
606
612
  p: e.value.style.chart.axes.x.labels.prefix,
607
613
  v: l.value,
608
614
  s: e.value.style.chart.axes.x.labels.suffix,
609
615
  r: e.value.style.chart.axes.x.labels.rounding
610
616
  })
611
- )), 9, Pt))), 256))
617
+ )), 9, Xt))), 256))
612
618
  ])) : v("", !0),
613
619
  e.value.style.chart.axes.x.name.text ? (s(), r("text", {
614
620
  key: 6,
615
- x: y.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
616
- y: y.value.height + e.value.style.chart.axes.x.name.offsetY,
621
+ x: d.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
622
+ y: d.value.height + e.value.style.chart.axes.x.name.offsetY,
617
623
  "font-size": n.value.xAxisName,
618
624
  fill: e.value.style.chart.axes.x.name.color,
619
625
  "font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
620
626
  "text-anchor": "middle"
621
- }, L(e.value.style.chart.axes.x.name.text), 9, It)) : v("", !0),
627
+ }, L(e.value.style.chart.axes.x.name.text), 9, Dt)) : v("", !0),
622
628
  e.value.style.chart.grid.xAxis.show ? (s(), r("line", {
623
629
  key: 7,
624
630
  x1: u.value.left,
@@ -628,7 +634,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
628
634
  stroke: e.value.style.chart.grid.xAxis.stroke,
629
635
  "stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
630
636
  "stroke-linecap": "round"
631
- }, null, 8, Ft)) : v("", !0),
637
+ }, null, 8, Yt)) : v("", !0),
632
638
  e.value.style.chart.grid.yAxis.show ? (s(), r("line", {
633
639
  key: 8,
634
640
  x1: u.value.left,
@@ -638,11 +644,11 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
638
644
  stroke: e.value.style.chart.grid.yAxis.stroke,
639
645
  "stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
640
646
  "stroke-linecap": "round"
641
- }, null, 8, Ot)) : v("", !0),
642
- (s(!0), r(b, null, k(z.value, (l, i) => (s(), r("g", null, [
647
+ }, null, 8, jt)) : v("", !0),
648
+ (s(!0), r(b, null, k(S.value, (l, i) => (s(), r("g", null, [
643
649
  e.value.style.chart.paths.show ? (s(), r("g", {
644
650
  key: 0,
645
- style: A({
651
+ style: $({
646
652
  opacity: _.value === null ? 1 : 0.3
647
653
  })
648
654
  }, [
@@ -654,7 +660,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
654
660
  "stroke-linecap": "round",
655
661
  "stroke-linejoin": "round",
656
662
  class: I({ animated: e.value.useCssAnimation })
657
- }, null, 10, Xt),
663
+ }, null, 10, Bt),
658
664
  T("path", {
659
665
  d: l.path,
660
666
  stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
@@ -663,7 +669,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
663
669
  "stroke-linecap": "round",
664
670
  "stroke-linejoin": "round",
665
671
  class: I({ animated: e.value.useCssAnimation })
666
- }, null, 10, Dt)
672
+ }, null, 10, Ut)
667
673
  ], 4)) : v("", !0),
668
674
  (s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
669
675
  cx: o.x,
@@ -671,7 +677,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
671
677
  fill: e.value.style.chart.backgroundColor,
672
678
  r: n.value.plots,
673
679
  stroke: "none"
674
- }, null, 8, Yt))), 256)),
680
+ }, null, 8, Wt))), 256)),
675
681
  (s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
676
682
  cx: o.x,
677
683
  cy: o.y,
@@ -680,12 +686,12 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
680
686
  stroke: e.value.style.chart.plots.stroke,
681
687
  "stroke-width": e.value.style.chart.plots.strokeWidth,
682
688
  class: I({ animated: e.value.useCssAnimation }),
683
- style: A({
689
+ style: $({
684
690
  opacity: _.value === null || _.value.id === o.id ? 1 : 0.3,
685
691
  transition: "opacity 0.2s ease-in-out"
686
692
  })
687
- }, null, 14, jt))), 256)),
688
- e.value.style.chart.plots.labels.show ? (s(), r("g", Bt, [
693
+ }, null, 14, Gt))), 256)),
694
+ e.value.style.chart.plots.labels.show ? (s(), r("g", Ht, [
689
695
  (s(!0), r(b, null, k(l.plots, (o) => (s(), r("text", {
690
696
  x: o.x + e.value.style.chart.plots.labels.offsetX,
691
697
  y: o.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
@@ -694,52 +700,52 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
694
700
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
695
701
  "text-anchor": "middle",
696
702
  class: I({ animated: e.value.useCssAnimation }),
697
- style: A({
703
+ style: $({
698
704
  opacity: _.value === null || _.value.id === o.id ? 1 : 0.3,
699
705
  transition: "opacity 0.2s ease-in-out"
700
706
  })
701
- }, L(o.label), 15, Wt))), 256))
707
+ }, L(o.label), 15, Et))), 256))
702
708
  ])) : v("", !0),
703
- e.value.style.chart.plots.indexLabels.show ? (s(), r("g", Gt, [
709
+ e.value.style.chart.plots.indexLabels.show ? (s(), r("g", Vt, [
704
710
  (s(!0), r(b, null, k(l.plots, (o, C) => (s(), r("text", {
705
711
  x: o.x + e.value.style.chart.plots.indexLabels.offsetX,
706
712
  y: o.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
707
713
  "font-size": n.value.indexLabels,
708
714
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
709
- fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? p(Qe)(l.color) : e.value.style.chart.plots.indexLabels.color,
715
+ fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? y(lt)(l.color) : e.value.style.chart.plots.indexLabels.color,
710
716
  "text-anchor": "middle",
711
717
  class: I({ animated: e.value.useCssAnimation }),
712
- style: A({
718
+ style: $({
713
719
  opacity: _.value === null || _.value.id === o.id ? 1 : 0.3,
714
720
  transition: "opacity 0.2s ease-in-out"
715
721
  })
716
- }, L(e.value.style.chart.plots.indexLabels.startAtZero ? C : C + 1), 15, Ht))), 256))
722
+ }, L(e.value.style.chart.plots.indexLabels.startAtZero ? C : C + 1), 15, Rt))), 256))
717
723
  ])) : v("", !0)
718
724
  ]))), 256)),
719
- (s(!0), r(b, null, k(z.value, (l) => (s(), r("g", null, [
725
+ (s(!0), r(b, null, k(S.value, (l) => (s(), r("g", null, [
720
726
  (s(!0), r(b, null, k(l.plots, (i, o) => (s(), r("circle", {
721
727
  cx: i.x,
722
728
  cy: i.y,
723
729
  fill: "transparent",
724
730
  r: n.value.plots,
725
731
  stroke: "none",
726
- onMouseenter: (C) => Xe({
732
+ onMouseenter: (C) => je({
727
733
  datapoint: i,
728
734
  plotIndex: o,
729
735
  seriesIndex: l.seriesIndex
730
736
  }),
731
737
  onMouseleave: a[0] || (a[0] = (C) => {
732
- R.value = !1, _.value = null;
738
+ V.value = !1, _.value = null;
733
739
  }),
734
- onClick: () => Fe(i)
735
- }, null, 40, Et))), 256))
740
+ onClick: () => De(i)
741
+ }, null, 40, qt))), 256))
736
742
  ]))), 256)),
737
- x(t.$slots, "svg", { svg: y.value }, void 0, !0)
738
- ], 12, gt)) : v("", !0),
739
- t.$slots.watermark ? (s(), r("div", Ut, [
740
- x(t.$slots, "watermark", Y(j({ isPrinting: p(ue) || p(ie) })), void 0, !0)
743
+ p(t.$slots, "svg", { svg: d.value }, void 0, !0)
744
+ ], 12, Ct)) : v("", !0),
745
+ t.$slots.watermark ? (s(), r("div", Zt, [
746
+ p(t.$slots, "watermark", Y(j({ isPrinting: y(ve) || y(he) })), void 0, !0)
741
747
  ])) : v("", !0),
742
- w.value ? v("", !0) : (s(), S(dt, {
748
+ w.value ? v("", !0) : (s(), z(pt, {
743
749
  key: 6,
744
750
  config: {
745
751
  type: "historyPlot",
@@ -755,26 +761,26 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
755
761
  ref_key: "chartLegend",
756
762
  ref: ee
757
763
  }, [
758
- e.value.style.chart.legend.show && w.value ? (s(), S(ut, {
764
+ e.value.style.chart.legend.show && w.value ? (s(), z(vt, {
759
765
  key: `legend_${te.value}`,
760
- legendSet: ye.value,
761
- config: Ie.value,
766
+ legendSet: xe.value,
767
+ config: Xe.value,
762
768
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => {
763
- he(l.seriesIndex), de(l);
769
+ fe(l.seriesIndex), pe(l);
764
770
  })
765
771
  }, {
766
772
  item: m(({ legend: l, index: i }) => [
767
773
  T("div", {
768
774
  onClick: (o) => {
769
- l.segregate(), de(l);
775
+ l.segregate(), pe(l);
770
776
  },
771
- style: A(`opacity:${g.value.includes(l.seriesIndex) ? 0.5 : 1}`)
772
- }, L(l.name), 13, Rt)
777
+ style: $(`opacity:${g.value.includes(l.seriesIndex) ? 0.5 : 1}`)
778
+ }, L(l.name), 13, Jt)
773
779
  ]),
774
780
  _: 1
775
- }, 8, ["legendSet", "config"])) : x(t.$slots, "legend", {
781
+ }, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
776
782
  key: 1,
777
- legend: ye.value
783
+ legend: xe.value
778
784
  }, void 0, !0)
779
785
  ], 512),
780
786
  t.$slots.source ? (s(), r("div", {
@@ -783,10 +789,10 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
783
789
  ref: oe,
784
790
  dir: "auto"
785
791
  }, [
786
- x(t.$slots, "source", {}, void 0, !0)
792
+ p(t.$slots, "source", {}, void 0, !0)
787
793
  ], 512)) : v("", !0),
788
- me(ct, {
789
- show: $.value.showTooltip && R.value,
794
+ ke(yt, {
795
+ show: M.value.showTooltip && V.value,
790
796
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
791
797
  color: e.value.style.chart.tooltip.color,
792
798
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -797,23 +803,23 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
797
803
  position: e.value.style.chart.tooltip.position,
798
804
  offsetY: e.value.style.chart.tooltip.offsetY,
799
805
  parent: P.value,
800
- content: V.value,
806
+ content: R.value,
801
807
  isCustom: D.value,
802
- isFullscreen: W.value
808
+ isFullscreen: U.value
803
809
  }, {
804
810
  "tooltip-before": m(() => [
805
- x(t.$slots, "tooltip-before", Y(j({ ...q.value })), void 0, !0)
811
+ p(t.$slots, "tooltip-before", Y(j({ ...q.value })), void 0, !0)
806
812
  ]),
807
813
  "tooltip-after": m(() => [
808
- x(t.$slots, "tooltip-after", Y(j({ ...q.value })), void 0, !0)
814
+ p(t.$slots, "tooltip-after", Y(j({ ...q.value })), void 0, !0)
809
815
  ]),
810
816
  _: 3
811
817
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
812
- w.value ? (s(), S(ht, {
818
+ w.value ? (s(), z(ft, {
813
819
  key: 8,
814
820
  hideDetails: "",
815
821
  config: {
816
- open: $.value.showTable,
822
+ open: M.value.showTable,
817
823
  maxHeight: 1e4,
818
824
  body: {
819
825
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -826,32 +832,32 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["id"], wt =
826
832
  }
827
833
  }, {
828
834
  content: m(() => [
829
- (s(), S(vt, {
835
+ (s(), z(dt, {
830
836
  key: `table_${le.value}`,
831
- colNames: G.value.colNames,
832
- head: G.value.head,
833
- body: G.value.body,
834
- config: G.value.config,
837
+ colNames: W.value.colNames,
838
+ head: W.value.head,
839
+ body: W.value.body,
840
+ config: W.value.config,
835
841
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
836
- onClose: a[2] || (a[2] = (l) => $.value.showTable = !1)
842
+ onClose: a[2] || (a[2] = (l) => M.value.showTable = !1)
837
843
  }, {
838
844
  th: m(({ th: l }) => [
839
845
  T("div", {
840
846
  innerHTML: l,
841
847
  style: { display: "flex", "align-items": "center" }
842
- }, null, 8, Vt)
848
+ }, null, 8, Kt)
843
849
  ]),
844
850
  td: m(({ td: l }) => [
845
- Ge(L(l.name || l), 1)
851
+ Ee(L(l.name || l), 1)
846
852
  ]),
847
853
  _: 1
848
854
  }, 8, ["colNames", "head", "body", "config", "title"]))
849
855
  ]),
850
856
  _: 1
851
857
  }, 8, ["config"])) : v("", !0)
852
- ], 14, mt));
858
+ ], 46, wt));
853
859
  }
854
- }, cl = /* @__PURE__ */ pt(qt, [["__scopeId", "data-v-dbf9aa14"]]);
860
+ }, fl = /* @__PURE__ */ kt(Qt, [["__scopeId", "data-v-743a6993"]]);
855
861
  export {
856
- cl as default
862
+ fl as default
857
863
  };