vue-data-ui 3.22.3 → 3.22.4

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 (202) hide show
  1. package/dist/{Arrow-Ct8T_Lyp.js → Arrow-CgzmXCW_.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DLuXvUbs.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
  3. package/dist/{BaseIcon-CX_ChMz-.js → BaseIcon-xBuW2jjI.js} +1 -1
  4. package/dist/{BaseLegendToggle-qL0O9ooF.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
  5. package/dist/{BaseZoomControls-BI5sLb6d.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
  6. package/dist/{ColorPicker-CwyWzPx_.js → ColorPicker-Usv7badH.js} +2 -2
  7. package/dist/{DataTable-KEMekOVu.js → DataTable-PidUPOit.js} +2 -2
  8. package/dist/Legend-DXOzbXb-.js +156 -0
  9. package/dist/{NonSvgPenAndPaper-CeNJtWON.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
  10. package/dist/{PackageVersion-D-_GVhxY.js → PackageVersion-Cm-3hwIF.js} +1 -1
  11. package/dist/{PenAndPaper-DkZYRnrW.js → PenAndPaper-ISUbDKXq.js} +11 -11
  12. package/dist/{Shape-S-7v8SAE.js → Shape-BnF9aMPX.js} +3 -3
  13. package/dist/Slicer-hEvKOLw3.js +1145 -0
  14. package/dist/{SlicerPreview-Co-V9YBf.js → SlicerPreview-BDI-aCXE.js} +36 -35
  15. package/dist/{SparkTooltip-D2BBjZKc.js → SparkTooltip-DaWSTzfA.js} +1 -1
  16. package/dist/{Title-Cxgd_JyY.js → Title-DDEEO-Nr.js} +1 -1
  17. package/dist/{Tooltip-BqdN_ZBE.js → Tooltip-BhKov422.js} +1 -1
  18. package/dist/{UserOptions-WIxTs7Xf.js → UserOptions-BxT1XHzN.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-DsEPQbU1.js → dom-to-png-ZOysoMwu.js} +1 -1
  89. package/dist/exposedLib-C2U48XK7.js +19 -0
  90. package/dist/img-B29J8tV5.js +129 -0
  91. package/dist/{labelUtils-WDjGa7EP.js → labelUtils-BFcL_t-A.js} +1 -1
  92. package/dist/{lib-NmjQazSn.js → lib-CuwHGt1j.js} +142 -123
  93. package/dist/{package-KQdsc0if.js → package-CRlwXCDr.js} +1 -1
  94. package/dist/{pdf-BVocBz-Y.js → pdf-ymYt9Lee.js} +1 -1
  95. package/dist/{render-common-BUbY65H0.js → render-common-D6ny-Fwu.js} +22 -22
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +59 -2
  101. package/dist/types/vue-ui-strip-plot.d.ts +2 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-DBv7sw1h.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
  103. package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
  104. package/dist/{useNestedProp-C9viY7oU.js → useNestedProp-BjkuFaz1.js} +1 -1
  105. package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
  106. package/dist/{usePrinter-DRYgV-XS.js → usePrinter-C0wAS8yc.js} +3 -3
  107. package/dist/utils.js +14 -14
  108. package/dist/{vue-data-ui-CDgunUso.js → vue-data-ui-DTWqd0R2.js} +68 -68
  109. package/dist/vue-data-ui.js +73 -73
  110. package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
  111. package/dist/{vue-ui-accordion-vYLqcJJd.js → vue-ui-accordion-B64IJyPU.js} +4 -4
  112. package/dist/{vue-ui-age-pyramid-CCAcpoA2.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
  113. package/dist/{vue-ui-annotator-CmjcPCRy.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
  114. package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
  115. package/dist/{vue-ui-bump-UWs3Fols.js → vue-ui-bump-BD0Uq3As.js} +259 -259
  116. package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
  117. package/dist/{vue-ui-carousel-table-DiPXX1eV.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
  118. package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
  119. package/dist/{vue-ui-chord-MB6BktFk.js → vue-ui-chord-BZhXsZXp.js} +53 -53
  120. package/dist/{vue-ui-circle-pack-D4n5rKtA.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
  121. package/dist/{vue-ui-cursor-Cu_HGeoy.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
  122. package/dist/{vue-ui-dag-DQlbTBPB.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
  123. package/dist/{vue-ui-dashboard-BD-M8q8G.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
  124. package/dist/{vue-ui-digits-C21SWRDQ.js → vue-ui-digits-07IxTlNO.js} +4 -4
  125. package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
  126. package/dist/{vue-ui-donut-Djiw7Rz1.js → vue-ui-donut-C5oRCxAO.js} +193 -193
  127. package/dist/{vue-ui-donut-evolution-BkI06V1N.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
  128. package/dist/{vue-ui-dumbbell-Yn79Apx7.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
  129. package/dist/{vue-ui-flow-DfWx60DS.js → vue-ui-flow-R_dLE1WS.js} +72 -72
  130. package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
  131. package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
  132. package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
  133. package/dist/{vue-ui-geo-DdB-gJBh.js → vue-ui-geo-DVT9XEC3.js} +18 -18
  134. package/dist/{vue-ui-gizmo-AMWvrL1N.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
  135. package/dist/{vue-ui-heatmap-8cmpKIN5.js → vue-ui-heatmap-BCFId15K.js} +293 -293
  136. package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
  137. package/dist/{vue-ui-horizontal-bar-D32lWjQJ.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
  138. package/dist/{vue-ui-kpi-B3FdCV-T.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
  139. package/dist/{vue-ui-mini-loader-Bk-5TDbT.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
  140. package/dist/{vue-ui-molecule-B4fNC1Bk.js → vue-ui-molecule-2pfoR63d.js} +213 -213
  141. package/dist/{vue-ui-mood-radar-_mw9D1wg.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
  142. package/dist/{vue-ui-nested-donuts-DPhDz07R.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
  143. package/dist/{vue-ui-onion-Cob0y2FO.js → vue-ui-onion-CzXx3Rme.js} +293 -293
  144. package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
  145. package/dist/{vue-ui-quadrant-D6wv44Hs.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
  146. package/dist/{vue-ui-quick-chart-EeT-lzAq.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
  147. package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
  148. package/dist/{vue-ui-rating-DlMTyra_.js → vue-ui-rating-CRziryE2.js} +22 -22
  149. package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
  150. package/dist/{vue-ui-ridgeline-VO2-zPGd.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
  151. package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
  152. package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
  153. package/dist/{vue-ui-skeleton-ImkpUdwJ.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
  154. package/dist/{vue-ui-smiley-Ct3ijoOw.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
  155. package/dist/{vue-ui-spark-trend-_b2gVafQ.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
  156. package/dist/{vue-ui-sparkbar-CRH8b1fM.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
  157. package/dist/{vue-ui-sparkgauge-Z_lgEp7i.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
  158. package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
  159. package/dist/{vue-ui-sparkline-B-QS62r4.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
  160. package/dist/{vue-ui-sparkstackbar-DICmDZrB.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
  161. package/dist/{vue-ui-stackbar-BRqqDp3a.js → vue-ui-stackbar-Dqs7_g8D.js} +147 -147
  162. package/dist/{vue-ui-stackline-DVY_4Fmh.js → vue-ui-stackline-IRjugedp.js} +417 -417
  163. package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
  164. package/dist/{vue-ui-table-ByFPF5fJ.js → vue-ui-table-Bqi9XNvY.js} +64 -64
  165. package/dist/{vue-ui-table-heatmap-DfLfYJiR.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
  166. package/dist/{vue-ui-table-sparkline-Gi1MQO-E.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
  167. package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
  168. package/dist/{vue-ui-timer-CrIq3NmZ.js → vue-ui-timer-9CDcd-gP.js} +6 -6
  169. package/dist/{vue-ui-tiremarks-BB3VV4tK.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
  170. package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
  171. package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
  172. package/dist/{vue-ui-wheel-DZq3C6wh.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
  173. package/dist/{vue-ui-word-cloud-BNK1nfDn.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
  174. package/dist/{vue-ui-world-D3F772fb.js → vue-ui-world-vrGT5g1H.js} +127 -127
  175. package/dist/{vue-ui-xy-f56XjeNS.js → vue-ui-xy-Cb7u46JN.js} +410 -410
  176. package/dist/{vue-ui-xy-DOnq4Na2.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
  177. package/dist/{vue-ui-xy-canvas-OajdJbzS.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
  178. package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
  179. package/package.json +1 -1
  180. package/dist/Legend--t7Mbp9Z.js +0 -115
  181. package/dist/Slicer-CpBaahpI.js +0 -1144
  182. package/dist/exposedLib-BkRxoSB9.js +0 -19
  183. package/dist/img-CyjhDDaM.js +0 -74
  184. package/dist/vue-ui-3d-bar-BrSoUZQ_.js +0 -1757
  185. package/dist/vue-ui-bullet-BYrQAbvp.js +0 -710
  186. package/dist/vue-ui-candlestick-CJw3R21J.js +0 -1826
  187. package/dist/vue-ui-chestnut-DJkyr3uK.js +0 -2010
  188. package/dist/vue-ui-donut-BPOS4Aoe.js +0 -2410
  189. package/dist/vue-ui-funnel-hsmCJgE5.js +0 -777
  190. package/dist/vue-ui-galaxy-BC-D8ZZ6.js +0 -1077
  191. package/dist/vue-ui-gauge-CnDTR46T.js +0 -920
  192. package/dist/vue-ui-history-plot-ZcraxoDy.js +0 -1554
  193. package/dist/vue-ui-parallel-coordinate-plot-BPyfEQEf.js +0 -1416
  194. package/dist/vue-ui-radar-DNid-gVu.js +0 -1281
  195. package/dist/vue-ui-relation-circle-DALWYwuI.js +0 -924
  196. package/dist/vue-ui-rings-CGU8bnut.js +0 -1246
  197. package/dist/vue-ui-scatter-CDy2LLD_.js +0 -2413
  198. package/dist/vue-ui-sparkhistogram-DzukoeRA.js +0 -560
  199. package/dist/vue-ui-strip-plot-DUv9SsML.js +0 -1340
  200. package/dist/vue-ui-thermometer-MfzmVt9N.js +0 -763
  201. package/dist/vue-ui-treemap-CeE1TT6j.js +0 -1587
  202. package/dist/vue-ui-waffle-KDOR3fMN.js +0 -1362
@@ -1,39 +1,39 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, D as r, Et as i, Ft as a, G as o, H as s, I as c, J as l, P as u, S as d, Ut as f, Vt as p, X as m, _t as h, ct as g, g as _, gt as ee, h as v, i as y, it as te, k as b, kt as ne, nt as re, s as ie, t as ae, v as oe, x as se, y as ce, zt as le } from "./lib-NmjQazSn.js";
3
- import { n as ue, r as de, t as fe } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as pe } from "./useConfig-Bf_EBbe3.js";
5
- import { t as me } from "./usePrinter-DRYgV-XS.js";
6
- import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as _e } from "./useSvgExport-SVIsDot8.js";
8
- import { t as ve } from "./useNestedProp-C9viY7oU.js";
9
- import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as be } from "./useStableElementSize-C7KADDKj.js";
11
- import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
- import { t as Se } from "./img-CyjhDDaM.js";
13
- import { n as Ce } from "./Title-Cxgd_JyY.js";
14
- import { t as we } from "./Shape-S-7v8SAE.js";
15
- import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
- import { c as Ee } from "./canvas-lib-BOP_HS11.js";
17
- import { t as De } from "./useResponsive-BfnK0KxU.js";
18
- import { t as Oe } from "./SlicerPreview-Co-V9YBf.js";
19
- import { t as ke } from "./BaseLegendToggle-qL0O9ooF.js";
20
- import { t as Ae } from "./A11yDataTable-DdRsVULz.js";
21
- import { t as je } from "./useUserOptionState-DK-_1ddE.js";
22
- import { t as Me } from "./useChartAccessibility-DYqac8yF.js";
23
- import { t as Ne } from "./Legend--t7Mbp9Z.js";
24
- import { t as Pe } from "./vue_ui_stackline-DQqKPA9z.js";
25
- import { Fragment as x, Teleport as Fe, computed as S, createBlock as C, createCommentVNode as w, createElementBlock as T, createElementVNode as E, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as ze, guardReactiveProps as D, mergeProps as Be, nextTick as Ve, normalizeClass as He, normalizeProps as O, normalizeStyle as Ue, onBeforeUnmount as We, onMounted as Ge, openBlock as k, ref as A, renderList as j, renderSlot as M, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as Je, toRefs as Ye, unref as N, useSlots as Xe, watch as Ze, watchEffect as Qe, withCtx as P } from "vue";
2
+ import { Gt as t, Ht as n, I as r, Lt as i, Ot as a, Q as o, R as s, S as c, Tt as l, Ut as u, Vt as d, W as f, X as p, b as m, g as h, h as g, i as _, it as v, j as ee, jt as te, k as y, ot as ne, q as re, s as ie, t as ae, ut as oe, v as se, vt as ce, w as le, yt as ue } from "./lib-CuwHGt1j.js";
3
+ import { n as de, r as fe, t as pe } from "./useTimeLabels-BmBRv27Y.js";
4
+ import { t as me } from "./useConfig-pVLia3dt.js";
5
+ import { t as he } from "./usePrinter-C0wAS8yc.js";
6
+ import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as ve } from "./useSvgExport-SVIsDot8.js";
8
+ import { t as ye } from "./useNestedProp-BjkuFaz1.js";
9
+ import { t as be } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as xe } from "./useStableElementSize-C7KADDKj.js";
11
+ import { t as Se } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
+ import { t as Ce } from "./img-B29J8tV5.js";
13
+ import { n as we } from "./Title-DDEEO-Nr.js";
14
+ import { t as Te } from "./Shape-BnF9aMPX.js";
15
+ import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
+ import { c as De } from "./canvas-lib-BOP_HS11.js";
17
+ import { t as Oe } from "./useResponsive-BfnK0KxU.js";
18
+ import { t as ke } from "./SlicerPreview-BDI-aCXE.js";
19
+ import { t as Ae } from "./BaseLegendToggle-C4Usj0LI.js";
20
+ import { t as je } from "./A11yDataTable-DdRsVULz.js";
21
+ import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
22
+ import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
23
+ import { t as Pe } from "./Legend-DXOzbXb-.js";
24
+ import { t as Fe } from "./vue_ui_stackline-DQqKPA9z.js";
25
+ import { Fragment as b, Teleport as Ie, computed as x, createBlock as S, createCommentVNode as C, createElementBlock as w, createElementVNode as T, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as Be, guardReactiveProps as E, mergeProps as Ve, nextTick as He, normalizeClass as Ue, normalizeProps as D, normalizeStyle as We, onBeforeUnmount as Ge, onMounted as Ke, openBlock as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as qe, shallowRef as Je, toDisplayString as Ye, toRefs as Xe, unref as M, useSlots as Ze, watch as Qe, watchEffect as $e, withCtx as N } from "vue";
26
26
  //#region src/components/vue-ui-stackline.vue
27
- var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt = ["id"], rt = { style: { position: "relative" } }, it = [
27
+ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt = ["id"], it = { style: { position: "relative" } }, at = [
28
28
  "aria-describedby",
29
29
  "xmlns",
30
30
  "viewBox"
31
- ], at = { key: 0 }, ot = [
31
+ ], ot = { key: 0 }, st = [
32
32
  "x",
33
33
  "y",
34
34
  "width",
35
35
  "height"
36
- ], st = { key: 1 }, ct = ["id"], lt = ["stop-color"], ut = ["stop-color"], dt = [
36
+ ], ct = { key: 1 }, lt = ["id"], ut = ["stop-color"], dt = ["stop-color"], ft = [
37
37
  "x1",
38
38
  "x2",
39
39
  "y1",
@@ -41,7 +41,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
41
41
  "stroke",
42
42
  "stroke-width",
43
43
  "stroke-dasharray"
44
- ], ft = [
44
+ ], pt = [
45
45
  "x1",
46
46
  "x2",
47
47
  "y1",
@@ -49,32 +49,32 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
49
49
  "stroke",
50
50
  "stroke-width",
51
51
  "stroke-dasharray"
52
- ], pt = [
52
+ ], mt = [
53
53
  "x1",
54
54
  "x2",
55
55
  "y1",
56
56
  "y2",
57
57
  "stroke",
58
58
  "stroke-width"
59
- ], mt = [
59
+ ], ht = [
60
60
  "x1",
61
61
  "x2",
62
62
  "y1",
63
63
  "y2",
64
64
  "stroke",
65
65
  "stroke-width"
66
- ], ht = [
66
+ ], gt = [
67
67
  "x",
68
68
  "y",
69
69
  "font-size",
70
70
  "fill",
71
71
  "font-weight"
72
- ], gt = [
72
+ ], _t = [
73
73
  "transform",
74
74
  "font-size",
75
75
  "fill",
76
76
  "font-weight"
77
- ], _t = [
77
+ ], vt = [
78
78
  "x",
79
79
  "y",
80
80
  "width",
@@ -84,48 +84,48 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
84
84
  "stroke-linecap",
85
85
  "stroke-linejoin",
86
86
  "stroke-dasharray"
87
- ], vt = [
87
+ ], yt = [
88
88
  "d",
89
89
  "fill",
90
90
  "opacity"
91
- ], yt = [
91
+ ], bt = [
92
92
  "d",
93
93
  "stroke",
94
94
  "stroke-width"
95
- ], bt = [
95
+ ], xt = [
96
96
  "x1",
97
97
  "x2",
98
98
  "y1",
99
99
  "y2",
100
100
  "stroke"
101
- ], xt = [
101
+ ], St = [
102
102
  "x",
103
103
  "y",
104
104
  "font-size",
105
105
  "font-weight",
106
106
  "fill",
107
107
  "text-anchor"
108
- ], St = { key: 0 }, Ct = { key: 1 }, wt = [
108
+ ], Ct = { key: 0 }, wt = { key: 1 }, Tt = [
109
109
  "text-anchor",
110
110
  "font-size",
111
111
  "font-weight",
112
112
  "fill",
113
113
  "transform",
114
114
  "onClick"
115
- ], Tt = [
115
+ ], Et = [
116
116
  "text-anchor",
117
117
  "font-size",
118
118
  "fill",
119
119
  "transform",
120
120
  "innerHTML",
121
121
  "onClick"
122
- ], Et = [
122
+ ], Dt = [
123
123
  "x",
124
124
  "y",
125
125
  "height",
126
126
  "width",
127
127
  "fill"
128
- ], Dt = { key: 0 }, Ot = [
128
+ ], Ot = { key: 0 }, kt = [
129
129
  "x1",
130
130
  "x2",
131
131
  "y1",
@@ -133,19 +133,19 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
133
133
  "stroke",
134
134
  "stroke-width",
135
135
  "stroke-dasharray"
136
- ], kt = { key: 0 }, At = [
136
+ ], At = { key: 0 }, jt = [
137
137
  "x",
138
138
  "y",
139
139
  "font-size",
140
140
  "fill",
141
141
  "font-weight"
142
- ], jt = [
142
+ ], Mt = [
143
143
  "x",
144
144
  "y",
145
145
  "font-size",
146
146
  "font-weight",
147
147
  "fill"
148
- ], Mt = ["data-start", "data-end"], Nt = {
148
+ ], Nt = ["data-start", "data-end"], Pt = {
149
149
  key: 0,
150
150
  style: {
151
151
  position: "absolute",
@@ -155,10 +155,10 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
155
155
  },
156
156
  "data-dom-to-png-ignore": "",
157
157
  "aria-hidden": "true"
158
- }, Pt = {
158
+ }, Ft = {
159
159
  key: 5,
160
160
  class: "vue-data-ui-watermark"
161
- }, Ft = ["onClick"], It = ["innerHTML"], Lt = ["innerHTML"], Rt = ["id"], zt = /*#__PURE__*/ Te({
161
+ }, It = ["onClick"], Lt = ["innerHTML"], Rt = ["innerHTML"], zt = ["id"], Bt = /*#__PURE__*/ Ee({
162
162
  __name: "vue-ui-stackline",
163
163
  props: {
164
164
  config: {
@@ -185,18 +185,18 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
185
185
  "selectX",
186
186
  "copyAlt"
187
187
  ],
188
- setup(e, { expose: Te, emit: $e }) {
189
- let zt = ze(() => import("./Tooltip-BqdN_ZBE.js")), Bt = ze(() => import("./BaseIcon-CX_ChMz-.js").then((e) => e.n)), Vt = ze(() => import("./vue-ui-accordion-vYLqcJJd.js").then((e) => e.n)), Ht = ze(() => import("./DataTable-KEMekOVu.js")), Ut = ze(() => import("./PenAndPaper-DkZYRnrW.js").then((e) => e.t)), Wt = ze(() => import("./UserOptions-WIxTs7Xf.js").then((e) => e.n)), Gt = ze(() => import("./PackageVersion-D-_GVhxY.js").then((e) => e.t)), Kt = ze(() => import("./BaseDraggableDialog-DLuXvUbs.js").then((e) => e.n)), { vue_ui_stackline: qt } = pe(), { isThemeValid: Jt, warnInvalidTheme: Yt } = ye(), Xt = Xe(), F = e, I = $e, Zt = S({
188
+ setup(e, { expose: Ee, emit: et }) {
189
+ let Bt = Be(() => import("./Tooltip-BhKov422.js")), Vt = Be(() => import("./BaseIcon-xBuW2jjI.js").then((e) => e.n)), Ht = Be(() => import("./vue-ui-accordion-B64IJyPU.js").then((e) => e.n)), Ut = Be(() => import("./DataTable-PidUPOit.js")), Wt = Be(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), Gt = Be(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), Kt = Be(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), qt = Be(() => import("./BaseDraggableDialog-DjzNWkiE.js").then((e) => e.n)), { vue_ui_stackline: Jt } = me(), { isThemeValid: Yt, warnInvalidTheme: Xt } = be(), Zt = Ze(), P = e, F = et, Qt = x({
190
190
  get() {
191
- return !!F.dataset && F.dataset.length;
191
+ return !!P.dataset && P.dataset.length;
192
192
  },
193
193
  set(e) {
194
194
  return e;
195
195
  }
196
- }), Qt = A(null), L = A(s()), $t = A(!1), R = A([]), en = A(0), tn = A(null), nn = A(null), rn = A(null), an = A(null), on = A(null), sn = A(!1), cn = A(!1), ln = A(0), un = A(0), dn = A(0), fn = A(!1), pn = A(null), mn = A(null), hn = A(!1), gn = A(!1), _n = A(!1), vn = A(null), yn = A(null), bn = A(null), xn = A(null), Sn = A(null), Cn = qe(null), wn = A(!1), Tn = A(0), En = A(0), z = A(null), Dn = A({
196
+ }), I = k(null), L = k(f()), $t = k(!1), R = k([]), en = k(0), tn = k(null), nn = k(null), rn = k(null), an = k(null), on = k(null), sn = k(!1), cn = k(!1), ln = k(0), un = k(0), dn = k(0), fn = k(!1), pn = k(null), mn = k(null), hn = k(!1), gn = k(!1), _n = k(!1), vn = k(null), yn = k(null), bn = k(null), xn = k(null), Sn = k(null), Cn = Je(null), wn = k(!1), Tn = k(0), En = k(0), z = k(null), Dn = k({
197
197
  x: 0,
198
198
  y: 0
199
- }), On = A("pointer"), kn = be({
199
+ }), On = k("pointer"), kn = xe({
200
200
  elementRef: Cn,
201
201
  minimumWidth: 2,
202
202
  minimumHeight: 2,
@@ -207,7 +207,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
207
207
  }
208
208
  });
209
209
  function An() {
210
- Cn.value = Qt.value?.parentNode ?? null;
210
+ Cn.value = I.value?.parentNode ?? null;
211
211
  }
212
212
  function jn() {
213
213
  return new Promise((e) => {
@@ -218,16 +218,16 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
218
218
  }
219
219
  async function Mn() {
220
220
  let e = ++En.value;
221
- wn.value = !1, await Ve(), await jn(), await jn(), e === En.value && (Tn.value += 1, wn.value = !0);
221
+ wn.value = !1, await He(), await jn(), await jn(), e === En.value && (Tn.value += 1, wn.value = !0);
222
222
  }
223
- let Nn = A(null), Pn = A(!1);
223
+ let Nn = k(null), Pn = k(!1);
224
224
  function Fn() {
225
225
  Pn.value = !Pn.value;
226
226
  }
227
- Ge(() => {
227
+ Ke(() => {
228
228
  An(), kn.start(), fn.value = !0, ar(), Mn();
229
229
  });
230
- let B = A(Kn()), V = S(() => B.value.userOptions.useCursorPointer), In = S(() => f({
230
+ let B = k(Kn()), V = x(() => B.value.userOptions.useCursorPointer), In = x(() => t({
231
231
  defaultConfig: {
232
232
  userOptions: { show: !1 },
233
233
  useCssAnimation: !1,
@@ -273,8 +273,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
273
273
  } }
274
274
  },
275
275
  userConfig: B.value.skeletonConfig ?? {}
276
- })), { loading: Ln, FINAL_DATASET: Rn, manualLoading: zn } = he({
277
- ...Ye(F),
276
+ })), { loading: Ln, FINAL_DATASET: Rn, manualLoading: zn } = ge({
277
+ ...Xe(P),
278
278
  FINAL_CONFIG: B,
279
279
  prepareConfig: Kn,
280
280
  callback: () => {
@@ -282,7 +282,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
282
282
  (!B.value.style.chart.zoom.keepState || !Zr.value || q.value.start === 0 && q.value.end === 0) && await $r();
283
283
  });
284
284
  },
285
- skeletonDataset: F.config?.skeletonDataset ?? [{
285
+ skeletonDataset: P.config?.skeletonDataset ?? [{
286
286
  name: "",
287
287
  series: [
288
288
  3,
@@ -313,71 +313,71 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
313
313
  ],
314
314
  color: "#CACACA"
315
315
  }],
316
- skeletonConfig: f({
316
+ skeletonConfig: t({
317
317
  defaultConfig: B.value,
318
318
  userConfig: In.value
319
319
  })
320
- }), { userOptionsVisible: Bn, setUserOptionsVisibility: Vn, keepUserOptionState: Hn } = je({ config: B.value }), { svgRef: Un } = Me({ config: B.value.style.chart.title });
320
+ }), { userOptionsVisible: Bn, setUserOptionsVisibility: Vn, keepUserOptionState: Hn } = Me({ config: B.value }), { svgRef: Un } = Ne({ config: B.value.style.chart.title });
321
321
  function Wn() {
322
322
  hn.value = !0, Vn(!0);
323
323
  }
324
324
  function Gn() {
325
- Vn(!1), hn.value = !1, z.value = null, On.value = "pointer", $t.value = !1, $.value = null, I("selectX", {
325
+ Vn(!1), hn.value = !1, z.value = null, On.value = "pointer", $t.value = !1, $.value = null, F("selectX", {
326
326
  index: null,
327
327
  indexLabel: null,
328
328
  dataset: null
329
329
  });
330
330
  }
331
331
  function Kn() {
332
- let e = ve({
333
- userConfig: F.config,
334
- defaultConfig: qt
332
+ let e = ye({
333
+ userConfig: P.config,
334
+ defaultConfig: Jt
335
335
  }), t = {}, n = e.theme;
336
- if (n) if (!Jt.value(e)) Yt(e), t = e;
336
+ if (n) if (!Yt.value(e)) Xt(e), t = e;
337
337
  else {
338
- let r = ve({
339
- userConfig: Pe[n] || F.config,
338
+ let r = ye({
339
+ userConfig: Fe[n] || P.config,
340
340
  defaultConfig: e
341
341
  });
342
342
  t = {
343
- ...ve({
344
- userConfig: F.config,
343
+ ...ye({
344
+ userConfig: P.config,
345
345
  defaultConfig: r
346
346
  }),
347
- customPalette: e.customPalette.length ? e.customPalette : p[n] || ne
347
+ customPalette: e.customPalette.length ? e.customPalette : u[n] || te
348
348
  };
349
349
  }
350
350
  else t = e;
351
351
  return t;
352
352
  }
353
- let qn = S(() => B.value.style.chart.lines.dataLabels.hideUnderValue !== null), Jn = S(() => B.value.style.chart.lines.dataLabels.hideUnderPercentage !== null);
354
- Ze(() => F.config, (e) => {
353
+ let qn = x(() => B.value.style.chart.lines.dataLabels.hideUnderValue !== null), Jn = x(() => B.value.style.chart.lines.dataLabels.hideUnderPercentage !== null);
354
+ Qe(() => P.config, (e) => {
355
355
  Ln.value || (B.value = Kn()), Bn.value = !B.value.userOptions.showOnChartHover, ar({ resetSlicer: !B.value.style.chart.zoom.keepState }), ln.value += 1, un.value += 1, dn.value += 1, H.value.dataLabels.show = B.value.style.chart.lines.dataLabels.show, H.value.showTable = B.value.table.show, H.value.showTooltip = B.value.style.chart.tooltip.show, U.value.width = B.value.style.chart.width, U.value.height = B.value.style.chart.height, U.value.paddingRatio = {
356
356
  top: B.value.style.chart.padding.top / B.value.style.chart.height,
357
357
  right: B.value.style.chart.padding.right / B.value.style.chart.width,
358
358
  bottom: B.value.style.chart.padding.bottom / B.value.style.chart.height,
359
359
  left: B.value.style.chart.padding.left / B.value.style.chart.width
360
360
  }, An(), Mn(), !B.value.style.chart.zoom.keepState || !Zr.value || q.value.start === 0 && q.value.end === 0 ? $r() : xr();
361
- }, { deep: !0 }), Ze(() => F.dataset, (e) => {
361
+ }, { deep: !0 }), Qe(() => P.dataset, (e) => {
362
362
  Array.isArray(e) && e.length > 0 && (zn.value = !1), B.value.style.chart.zoom.keepState ? xr() : wr(), An(), Mn();
363
363
  }, { deep: !0 });
364
- let H = A({
364
+ let H = k({
365
365
  dataLabels: { show: B.value.style.chart.lines.dataLabels.show },
366
366
  showTable: B.value.table.show,
367
367
  showTooltip: B.value.style.chart.tooltip.show
368
368
  });
369
- Ze(B, () => {
369
+ Qe(B, () => {
370
370
  H.value = {
371
371
  dataLabels: { show: B.value.style.chart.lines.dataLabels.show },
372
372
  showTable: B.value.table.show,
373
373
  showTooltip: B.value.style.chart.tooltip.show
374
374
  };
375
375
  }, { immediate: !0 });
376
- let { isPrinting: Yn, isImaging: Xn, generatePdf: Zn, generateImage: Qn } = me({
376
+ let { isPrinting: Yn, isImaging: Xn, generatePdf: Zn, generateImage: Qn } = he({
377
377
  elementId: `stackline_${L.value}`,
378
378
  fileName: B.value.style.chart.title.text || "vue-ui-stackline",
379
379
  options: B.value.userOptions.print
380
- }), $n = S(() => B.value.userOptions.show && !B.value.style.chart.title.text), U = A({
380
+ }), $n = x(() => B.value.userOptions.show && !B.value.style.chart.title.text), U = k({
381
381
  width: B.value.style.chart.width,
382
382
  height: B.value.style.chart.height,
383
383
  paddingRatio: {
@@ -386,18 +386,18 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
386
386
  bottom: B.value.style.chart.padding.bottom / B.value.style.chart.height,
387
387
  left: B.value.style.chart.padding.left / B.value.style.chart.width
388
388
  }
389
- }), er = S(() => se(B.value.customPalette)), tr = qe(null), nr = qe(null), rr = A(null), ir = S(() => !!B.value.debug);
389
+ }), er = x(() => c(B.value.customPalette)), tr = Je(null), nr = Je(null), rr = k(null), ir = x(() => !!B.value.debug);
390
390
  function ar({ resetSlicer: e = !0 } = {}) {
391
- if (i(F.dataset) ? (m({
391
+ if (a(P.dataset) ? (o({
392
392
  componentName: "VueUiStackline",
393
393
  type: "dataset",
394
394
  debug: ir.value
395
- }), zn.value = !0) : F.dataset.forEach((e, t) => {
396
- g({
395
+ }), zn.value = !0) : P.dataset.forEach((e, t) => {
396
+ oe({
397
397
  datasetObject: e,
398
398
  requiredAttributes: ["name", "series"]
399
399
  }).forEach((e) => {
400
- Zt.value = !1, m({
400
+ Qt.value = !1, o({
401
401
  componentName: "VueUiStackline",
402
402
  type: "datasetSerieAttribute",
403
403
  property: e,
@@ -405,13 +405,13 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
405
405
  debug: ir.value
406
406
  }), zn.value = !0;
407
407
  });
408
- }), i(F.dataset) || (zn.value = B.value.loading), setTimeout(() => {
408
+ }), a(P.dataset) || (zn.value = B.value.loading), setTimeout(() => {
409
409
  cn.value = !0;
410
410
  }, 10), B.value.responsive) {
411
- let e = Ee(() => {
411
+ let e = De(() => {
412
412
  cn.value = !1;
413
- let { width: e, height: t } = De({
414
- chart: Qt.value,
413
+ let { width: e, height: t } = Oe({
414
+ chart: I.value,
415
415
  noTitle: an.value,
416
416
  title: B.value.style.chart.title.text ? tn.value : null,
417
417
  legend: B.value.style.chart.legend.show ? nn.value : null,
@@ -424,14 +424,14 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
424
424
  }, 10);
425
425
  });
426
426
  });
427
- tr.value && (nr.value && tr.value.unobserve(nr.value), tr.value.disconnect()), tr.value = new ResizeObserver(e), nr.value = Qt.value.parentNode, tr.value.observe(nr.value);
427
+ tr.value && (nr.value && tr.value.unobserve(nr.value), tr.value.disconnect()), tr.value = new ResizeObserver(e), nr.value = I.value.parentNode, tr.value.observe(nr.value);
428
428
  }
429
429
  e && $r();
430
430
  }
431
- We(() => {
431
+ Ge(() => {
432
432
  kn.stop(), tr.value && (nr.value && tr.value.unobserve(nr.value), tr.value.disconnect());
433
433
  });
434
- let or = S(() => B.value.style.chart.grid.y.position === "right");
434
+ let or = x(() => B.value.style.chart.grid.y.position === "right");
435
435
  function sr() {
436
436
  let e = 0;
437
437
  bn.value && (e = Array.from(bn.value.querySelectorAll("text")).reduce((e, t) => {
@@ -446,7 +446,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
446
446
  yAxisLabelWidth: t
447
447
  };
448
448
  }
449
- let cr = A(0), lr = A(0), ur = A(0);
449
+ let cr = k(0), lr = k(0), ur = k(0);
450
450
  function dr() {
451
451
  let e = xn.value;
452
452
  if (!e) {
@@ -467,10 +467,10 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
467
467
  });
468
468
  });
469
469
  }
470
- We(() => {
470
+ Ge(() => {
471
471
  ur.value && cancelAnimationFrame(ur.value), lr.value = 0, cr.value = 0;
472
472
  });
473
- let pr = S(() => {
473
+ let pr = x(() => {
474
474
  let e = 0;
475
475
  if (vn.value) try {
476
476
  e = vn.value.getBBox().height;
@@ -479,9 +479,9 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
479
479
  }
480
480
  let t = B.value.style.chart.grid.x.timeLabels.show ? lr.value : 0;
481
481
  return e + t;
482
- }), W = S(() => {
482
+ }), W = x(() => {
483
483
  Tn.value;
484
- let { height: e, width: t } = U.value, { right: n } = U.value.paddingRatio, r = B.value.style.chart.lines.totalValues.show && F.dataset && F.dataset.length > 1 ? B.value.style.chart.lines.totalValues.fontSize * 1.3 : 0, i = 0, a = 0, o = 0, s = 0;
484
+ let { height: e, width: t } = U.value, { right: n } = U.value.paddingRatio, r = B.value.style.chart.lines.totalValues.show && P.dataset && P.dataset.length > 1 ? B.value.style.chart.lines.totalValues.fontSize * 1.3 : 0, i = 0, a = 0, o = 0, s = 0;
485
485
  if (B.value.style.chart.grid.y.axisLabels.show) {
486
486
  let e = sr();
487
487
  i = e.left, a = e.right, o = e.scaleLabelsWidth, s = e.yAxisLabelWidth;
@@ -501,7 +501,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
501
501
  scaleLabelsWidth: o,
502
502
  yAxisLabelWidth: s
503
503
  };
504
- }), mr = S(() => {
504
+ }), mr = x(() => {
505
505
  let { left: e, top: t, width: n, height: r } = W.value, i = q.value.start, a = q.value.end, o = Math.max(1, a - i), s = Math.max(0, Math.min(o, (J.value.start ?? i) - i)), c = Math.max(0, Math.min(o, (J.value.end ?? a) - i)), l = Math.max(0, c - s), u = {
506
506
  fill: B.value.style.chart.zoom.preview.fill,
507
507
  stroke: B.value.style.chart.zoom.preview.stroke,
@@ -522,8 +522,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
522
522
  height: r,
523
523
  ...u
524
524
  };
525
- }), G = S(() => Rn.value.map((e, t) => {
526
- let n = `stackline_serie_${t}`, r = ce(e.color) || er.value[t] || ne[t] || ne[t % ne.length];
525
+ }), G = x(() => Rn.value.map((e, t) => {
526
+ let n = `stackline_serie_${t}`, r = m(e.color) || er.value[t] || te[t] || te[t % te.length];
527
527
  return {
528
528
  ...e,
529
529
  shape: e.shape || "circle",
@@ -535,24 +535,24 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
535
535
  id: n,
536
536
  color: r
537
537
  };
538
- })), hr = S(() => G.value.filter((e) => !R.value.includes(e.id) && !e.standalone)), gr = S(() => G.value.filter((e) => !R.value.includes(e.id) && e.standalone)), K = S(() => {
538
+ })), hr = x(() => G.value.filter((e) => !R.value.includes(e.id) && !e.standalone)), gr = x(() => G.value.filter((e) => !R.value.includes(e.id) && e.standalone)), K = x(() => {
539
539
  let e = Math.max(...G.value.filter((e) => !R.value.includes(e.id)).map((e) => e.series.length));
540
540
  return isFinite(e) ? e : Math.max(...G.value.map((e) => e.series.length));
541
541
  });
542
542
  function _r(e) {
543
543
  Nn.value = e;
544
544
  }
545
- let q = A({
545
+ let q = k({
546
546
  start: 0,
547
547
  end: Math.max(...Rn.value.map((e) => e.series.length))
548
- }), J = A({
548
+ }), J = k({
549
549
  start: 0,
550
550
  end: Math.max(...Rn.value.map((e) => e.series.length))
551
551
  });
552
552
  function vr(e) {
553
553
  return (q.value.start ?? 0) + (e ?? 0);
554
554
  }
555
- let yr = S(() => B.value.style.chart.zoom.preview.enable && (J.value.start !== q.value.start || J.value.end !== q.value.end));
555
+ let yr = x(() => B.value.style.chart.zoom.preview.enable && (J.value.start !== q.value.start || J.value.end !== q.value.end));
556
556
  function br(e, t) {
557
557
  J.value[e] = t;
558
558
  }
@@ -560,11 +560,11 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
560
560
  let e = K.value, t = Math.max(0, Math.min(q.value.start ?? 0, e - 1)), n = Math.max(t + 1, Math.min(q.value.end ?? e, e));
561
561
  (!Number.isFinite(t) || !Number.isFinite(n) || n <= t) && (t = 0, n = e), q.value.start = t, q.value.end = n, J.value.start = t, J.value.end = n, rn.value && (rn.value.setStartValue(t), rn.value.setEndValue(n));
562
562
  }
563
- let Sr = A(null);
563
+ let Sr = k(null);
564
564
  function Cr() {
565
565
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
566
566
  }
567
- We(() => {
567
+ Ge(() => {
568
568
  Sr.value && cancelAnimationFrame(Sr.value);
569
569
  });
570
570
  async function wr({ force: e = !1 } = {}) {
@@ -572,17 +572,17 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
572
572
  xr();
573
573
  return;
574
574
  }
575
- $r(), await Ve(), Sr.value && cancelAnimationFrame(Sr.value), Sr.value = requestAnimationFrame(async () => {
575
+ $r(), await He(), Sr.value && cancelAnimationFrame(Sr.value), Sr.value = requestAnimationFrame(async () => {
576
576
  await Cr(), $r();
577
577
  });
578
578
  }
579
- let Tr = S(() => Math.max(0, W.value.width / (q.value.end - q.value.start))), Er = S(() => le(hr.value.map((e) => ({
579
+ let Tr = x(() => Math.max(0, W.value.width / (q.value.end - q.value.start))), Er = x(() => d(hr.value.map((e) => ({
580
580
  ...e,
581
581
  series: e.series.map((e) => e ?? 0)
582
- }))).slice(q.value.start, q.value.end)), Dr = S(() => R.value.length === G.value.length), Or = S(() => {
582
+ }))).slice(q.value.start, q.value.end)), Dr = x(() => R.value.length === G.value.length), Or = x(() => {
583
583
  if (!B.value.style.chart.zoom.minimap.show) return [];
584
584
  let e = G.value.filter((e) => Dr.value ? !0 : !R.value.includes(e.id) && !e.standalone);
585
- if (e.length) return le(e.map((e) => ({
585
+ if (e.length) return d(e.map((e) => ({
586
586
  ...e,
587
587
  series: (e.series || []).map((e) => e ?? 0)
588
588
  })));
@@ -590,7 +590,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
590
590
  if (!t.length) return [];
591
591
  let n = Math.max(...t.map((e) => e.series.length || 0));
592
592
  return Array.from({ length: n }, (e, n) => t.reduce((e, t) => e + Math.abs(t.series[n] ?? 0), 0));
593
- }), kr = S(() => {
593
+ }), kr = x(() => {
594
594
  if (!B.value.style.chart.zoom.minimap.show) return [];
595
595
  let e = G.value.filter((e) => Dr.value ? !0 : !R.value.includes(e.id) && !e.standalone), t = gr.value, n = e.length ? [{
596
596
  name: "",
@@ -604,25 +604,25 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
604
604
  isVisible: !0
605
605
  }));
606
606
  return n.concat(r);
607
- }), Ar = S(() => le(hr.value.filter((e) => !R.value.includes(e.id)).map((e) => ({
607
+ }), Ar = x(() => d(hr.value.filter((e) => !R.value.includes(e.id)).map((e) => ({
608
608
  ...e,
609
609
  series: e.series.map((t, n) => {
610
610
  let r = t ?? 0;
611
611
  return e.signedSeries[n] === -1 && r >= 0 ? -r : r;
612
612
  })
613
- }))).slice(q.value.start, q.value.end)), jr = S(() => {
613
+ }))).slice(q.value.start, q.value.end)), jr = x(() => {
614
614
  let e = hr.value.filter((e) => !R.value.includes(e.id));
615
615
  return {
616
- positive: le(e.map((e) => ({
616
+ positive: d(e.map((e) => ({
617
617
  ...e,
618
618
  series: e.series.slice(q.value.start, q.value.end).map((e) => (e ?? 0) >= 0 ? e ?? 0 : 0)
619
619
  }))),
620
- negative: le(e.map((e) => ({
620
+ negative: d(e.map((e) => ({
621
621
  ...e,
622
622
  series: e.series.slice(q.value.start, q.value.end).map((e) => (e ?? 0) < 0 ? e ?? 0 : 0)
623
623
  })))
624
624
  };
625
- }), Mr = S(() => {
625
+ }), Mr = x(() => {
626
626
  let e = Math.max(0, q.value.end - q.value.start), t = Array(e).fill(0), n = Array(e).fill(0);
627
627
  return gr.value.forEach((r) => {
628
628
  for (let i = 0; i < e; i += 1) {
@@ -633,7 +633,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
633
633
  positive: t,
634
634
  negative: n
635
635
  };
636
- }), Nr = S(() => Ar.value.map((e, t) => ({
636
+ }), Nr = x(() => Ar.value.map((e, t) => ({
637
637
  value: e,
638
638
  sign: e >= 0 ? 1 : -1
639
639
  })));
@@ -658,28 +658,28 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
658
658
  return i((Number.isFinite(a) ? a : t) + r + n.fontSize * .7 + B.value.style.chart.lines.totalValues.offsetY);
659
659
  }
660
660
  }
661
- let Ir = S(() => {
661
+ let Ir = x(() => {
662
662
  let e = Math.max(...jr.value.positive, 0), t = Math.min(...jr.value.negative, 0), n = Math.max(...Mr.value.positive, 0), r = Math.min(...Mr.value.negative, 0), i = Math.max(e, n), a = Math.min(t, r), o = [
663
663
  -Infinity,
664
664
  Infinity,
665
665
  NaN,
666
666
  void 0,
667
667
  null
668
- ].includes(a) ? 0 : a, s = B.value.style.chart.grid.scale.scaleMin, c = B.value.style.chart.grid.scale.scaleMax, l = !B.value.style.chart.lines.distributed && (s !== null || c !== null), u = s !== null && !B.value.style.chart.lines.distributed ? s : o > 0 ? 0 : o, d = c !== null && !B.value.style.chart.lines.distributed ? c : i < 0 ? 0 : i, f = l ? _(u, d, B.value.style.chart.grid.scale.ticks) : v(u, d, B.value.style.chart.grid.scale.ticks), p = Math.abs(Number(f.min) || 0), m = (Number(f.max) || 0) + p, h = m === 0 || !Number.isFinite(m) ? 1 : m, g = Array.isArray(f.ticks) && f.ticks.length ? f.ticks : [0], ee = W.value.bottom - W.value.height * (p / h);
669
- return g.map((e) => {
668
+ ].includes(a) ? 0 : a, s = B.value.style.chart.grid.scale.scaleMin, c = B.value.style.chart.grid.scale.scaleMax, l = !B.value.style.chart.lines.distributed && (s !== null || c !== null), u = s !== null && !B.value.style.chart.lines.distributed ? s : o > 0 ? 0 : o, d = c !== null && !B.value.style.chart.lines.distributed ? c : i < 0 ? 0 : i, f = l ? h(u, d, B.value.style.chart.grid.scale.ticks) : g(u, d, B.value.style.chart.grid.scale.ticks), p = Math.abs(Number(f.min) || 0), m = (Number(f.max) || 0) + p, _ = m === 0 || !Number.isFinite(m) ? 1 : m, v = Array.isArray(f.ticks) && f.ticks.length ? f.ticks : [0], ee = W.value.bottom - W.value.height * (p / _);
669
+ return v.map((e) => {
670
670
  let t = Number(e) || 0;
671
671
  return {
672
672
  zero: ee,
673
- y: W.value.bottom - W.value.height * ((t + p) / h),
673
+ y: W.value.bottom - W.value.height * ((t + p) / _),
674
674
  x: or.value ? X.value.right + 8 : X.value.left - 8,
675
675
  value: t
676
676
  };
677
677
  });
678
- }), Lr = A([]), Rr = A([]), zr = 0;
679
- Qe(() => {
678
+ }), Lr = k([]), Rr = k([]), zr = 0;
679
+ $e(() => {
680
680
  let e = ++zr;
681
681
  (async () => {
682
- let t = await fe({
682
+ let t = await pe({
683
683
  values: B.value.style.chart.grid.x.timeLabels.values,
684
684
  maxDatapoints: K.value,
685
685
  formatter: B.value.style.chart.grid.x.timeLabels.datetimeFormatter,
@@ -690,10 +690,10 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
690
690
  })();
691
691
  });
692
692
  let Br = 0;
693
- Qe(() => {
693
+ $e(() => {
694
694
  let e = ++Br;
695
695
  (async () => {
696
- let t = await fe({
696
+ let t = await pe({
697
697
  values: B.value.style.chart.grid.x.timeLabels.values,
698
698
  maxDatapoints: K.value,
699
699
  formatter: B.value.style.chart.grid.x.timeLabels.datetimeFormatter,
@@ -703,31 +703,31 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
703
703
  e === Br && (Rr.value = t);
704
704
  })();
705
705
  });
706
- let Vr = S(() => {
706
+ let Vr = x(() => {
707
707
  let e = B.value.style.chart.grid.x.timeLabels.modulo;
708
708
  return Lr.value.length ? Math.min(e, [...new Set(Lr.value.map((e) => e.text))].length) : e;
709
- }), Hr = S(() => {
709
+ }), Hr = x(() => {
710
710
  let e = B.value.style.chart.grid.x.timeLabels, t = Lr.value || [], n = Rr.value || [], r = q.value.start ?? 0, i = $.value, a = K.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
711
711
  return ie(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Vr.value || 1), o, s, r, i, a);
712
712
  });
713
- Qe(() => {
713
+ $e(() => {
714
714
  B.value.style.chart.grid.x.timeLabels.show, B.value.style.chart.grid.x.timeLabels.fontSize, B.value.style.chart.grid.x.timeLabels.rotation, B.value.style.chart.grid.x.timeLabels.offsetY, (Hr.value || []).map((e) => e?.text ?? "").join("|"), U.value.width, U.value.height, xn.value, vn.value, fr();
715
715
  }, { flush: "post" });
716
- let Ur = A({
716
+ let Ur = k({
717
717
  months: [],
718
718
  shortMonths: [],
719
719
  days: [],
720
720
  shortDays: []
721
721
  }), Wr = 0;
722
- Qe(() => {
722
+ $e(() => {
723
723
  let e = ++Wr, t = B.value.style.chart.grid.x.timeLabels.datetimeFormatter;
724
724
  (async () => {
725
- let n = await de(t.locale).catch(() => de("en"));
725
+ let n = await fe(t.locale).catch(() => fe("en"));
726
726
  e === Wr && (Ur.value = n.data);
727
727
  })();
728
728
  });
729
- let Gr = S(() => {
730
- let e = B.value.style.chart.grid.x.timeLabels.datetimeFormatter, t = ue({
729
+ let Gr = x(() => {
730
+ let e = B.value.style.chart.grid.x.timeLabels.datetimeFormatter, t = de({
731
731
  useUTC: e.useUTC,
732
732
  locale: Ur.value,
733
733
  januaryAsYear: e.januaryAsYear
@@ -736,45 +736,45 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
736
736
  let r = B.value.style.chart.grid.x.timeLabels.values?.[e];
737
737
  return r == null ? "" : t.formatDate(new Date(r), n);
738
738
  };
739
- }), Kr = S(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
739
+ }), Kr = x(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
740
740
  text: Gr.value(t, B.value.style.chart.zoom.timeFormat),
741
741
  absoluteIndex: t
742
- }))), qr = S(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
742
+ }))), qr = x(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
743
743
  text: Gr.value(t, B.value.style.chart.tooltip.timeFormat),
744
744
  absoluteIndex: t
745
- }))), Jr = S(() => {
746
- if (!Zt.value && !Ln.value) return [];
747
- let e = W.value.height, t = Ir.value[0] ? Ir.value[0].zero : W.value.bottom, n = q.value.start ?? 0, r = q.value.end ?? 0, i = Math.max(1, r - n), a = Math.max(...jr.value.positive, 0), o = Math.min(...jr.value.negative, 0), s = Math.max(...Mr.value.positive, 0), c = Math.min(...Mr.value.negative, 0), l = Math.max(a, s), u = Math.min(o, c), { min: d, max: f } = !B.value.style.chart.lines.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? _(B.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : v(B.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), p = f + (d >= 0 ? 0 : Math.abs(d)) || 1, m = Array(i).fill(0), h = Array(i).fill(0), g = (e) => i <= 1 ? W.value.left + W.value.width / 2 : W.value.left + e / (i - 1) * W.value.width;
745
+ }))), Jr = x(() => {
746
+ if (!Qt.value && !Ln.value) return [];
747
+ let e = W.value.height, t = Ir.value[0] ? Ir.value[0].zero : W.value.bottom, n = q.value.start ?? 0, r = q.value.end ?? 0, i = Math.max(1, r - n), a = Math.max(...jr.value.positive, 0), o = Math.min(...jr.value.negative, 0), s = Math.max(...Mr.value.positive, 0), c = Math.min(...Mr.value.negative, 0), l = Math.max(a, s), u = Math.min(o, c), { min: d, max: f } = !B.value.style.chart.lines.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? h(B.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : g(B.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), p = f + (d >= 0 ? 0 : Math.abs(d)) || 1, m = Array(i).fill(0), _ = Array(i).fill(0), v = (e) => i <= 1 ? W.value.left + W.value.width / 2 : W.value.left + e / (i - 1) * W.value.width;
748
748
  return G.value.filter((e) => !R.value.includes(e.id)).map((r) => {
749
749
  let a = [], o = [], s = [], c = Array(i).fill(null), l = Array(i).fill(null);
750
750
  for (let u = 0; u < i; u += 1) {
751
- let i = n + u, d = r.series?.[i], f = r.signedSeries?.[i], g = d == null || Number.isNaN(d) ? 0 : d, _ = r.standalone ? g / p : B.value.style.chart.lines.distributed ? g / (Er.value[u] || 1) : g / p;
752
- if (g >= 0) {
753
- let n = e * Math.abs(_);
751
+ let i = n + u, d = r.series?.[i], f = r.signedSeries?.[i], h = d == null || Number.isNaN(d) ? 0 : d, g = r.standalone ? h / p : B.value.style.chart.lines.distributed ? h / (Er.value[u] || 1) : h / p;
752
+ if (h >= 0) {
753
+ let n = e * Math.abs(g);
754
754
  if (r.standalone) c[u] = t, l[u] = t - n;
755
755
  else {
756
756
  let e = m[u], r = e + n;
757
757
  c[u] = t - e, l[u] = t - r, m[u] = r;
758
758
  }
759
759
  } else {
760
- let n = e * Math.abs(_);
760
+ let n = e * Math.abs(g);
761
761
  if (r.standalone) c[u] = t, l[u] = t + n;
762
762
  else {
763
- let e = h[u], r = e + n;
764
- c[u] = t + e, l[u] = t + r, h[u] = r;
763
+ let e = _[u], r = e + n;
764
+ c[u] = t + e, l[u] = t + r, _[u] = r;
765
765
  }
766
766
  }
767
- a.push(u), o.push(g), s.push(f ?? (g >= 0 ? 1 : -1));
767
+ a.push(u), o.push(h), s.push(f ?? (h >= 0 ? 1 : -1));
768
768
  }
769
769
  let u = a.map((e) => ({
770
- x: g(e),
770
+ x: v(e),
771
771
  y: l[e]
772
- })), d = u.map((e) => e.x), f = o.reduce((e, t) => e + Math.abs(t || 0), 0), _ = f === 0 ? 1 : f, ee = o.map((e, t) => {
772
+ })), d = u.map((e) => e.x), f = o.reduce((e, t) => e + Math.abs(t || 0), 0), h = f === 0 ? 1 : f, g = o.map((e, t) => {
773
773
  if (B.value.style.chart.lines.distributed && !r.standalone) {
774
774
  let n = a[t], r = Er.value[n] || 1;
775
775
  return (e || 0) / r;
776
776
  }
777
- return (e || 0) / _;
777
+ return (e || 0) / h;
778
778
  });
779
779
  return {
780
780
  ...r,
@@ -784,13 +784,13 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
784
784
  topY: a.map((e) => l[e]),
785
785
  series: o,
786
786
  signedSeries: s,
787
- proportions: ee,
787
+ proportions: g,
788
788
  rel: a,
789
789
  fullSeries: Array.isArray(r.fullSeries) ? r.fullSeries : r.series
790
790
  };
791
791
  });
792
- }), Y = S(() => {
793
- let e = (e) => typeof e == "string" ? e.replace(/^M\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*,?\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*/i, "").trim() : "", t = Math.max(...jr.value.positive, 0), n = Math.min(...jr.value.negative, 0), r = Math.max(...Mr.value.positive, 0), i = Math.min(...Mr.value.negative, 0), a = Math.max(t, r), o = Math.min(n, i), s = !B.value.style.chart.lines.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? _(B.value.style.chart.grid.scale.scaleMin === null ? o > 0 ? 0 : o : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : v(B.value.style.chart.grid.scale.scaleMin === null ? o > 0 ? 0 : o : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), l = Number(s.min) || 0, u = Number(s.max) || 0, d = Math.abs(l), f = u + d || 1, p = (e) => {
792
+ }), Y = x(() => {
793
+ let e = (e) => typeof e == "string" ? e.replace(/^M\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*,?\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*/i, "").trim() : "", t = Math.max(...jr.value.positive, 0), n = Math.min(...jr.value.negative, 0), r = Math.max(...Mr.value.positive, 0), i = Math.min(...Mr.value.negative, 0), a = Math.max(t, r), o = Math.min(n, i), c = !B.value.style.chart.lines.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? h(B.value.style.chart.grid.scale.scaleMin === null ? o > 0 ? 0 : o : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : g(B.value.style.chart.grid.scale.scaleMin === null ? o > 0 ? 0 : o : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), l = Number(c.min) || 0, u = Number(c.max) || 0, d = Math.abs(l), f = u + d || 1, p = (e) => {
794
794
  if (B.value.style.chart.lines.distributed) {
795
795
  let t = Math.max(0, Math.min(1, e));
796
796
  return minimapH - minimapH * t;
@@ -817,20 +817,20 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
817
817
  yMinimap: a,
818
818
  yMinimapBase: o
819
819
  };
820
- let s = t.x.map((e, n) => ({
820
+ let c = t.x.map((e, n) => ({
821
821
  x: e,
822
822
  y: t.topY[n]
823
823
  })), l = t.x.map((e, n) => ({
824
824
  x: e,
825
825
  y: t.baseY[n]
826
- })), u = n >= 2 ? b(s) : `M${s[0].x},${s[0].y}`, d = n >= 2 ? c(s) : `M${s[0].x},${s[0].y}`, f = n >= 2 ? `M${e(u)}` : u, m = n >= 2 ? `M${e(d)}` : d, h = "", g = "";
826
+ })), u = n >= 2 ? ee(c) : `M${c[0].x},${c[0].y}`, d = n >= 2 ? s(c) : `M${c[0].x},${c[0].y}`, f = n >= 2 ? `M${e(u)}` : u, m = n >= 2 ? `M${e(d)}` : d, h = "", g = "";
827
827
  if (B.value.style.chart.lines.useArea && n >= 2) {
828
- let t = b([...l].reverse()), n = c([...l].reverse()), r = l[l.length - 1];
829
- h = `M${s[0].x},${s[0].y} ${e(u)} L${r.x},${r.y} ${e(t)} Z`, g = `M${s[0].x},${s[0].y} ${e(d)} L${r.x},${r.y} ${e(n)} Z`;
828
+ let t = ee([...l].reverse()), n = s([...l].reverse()), r = l[l.length - 1];
829
+ h = `M${c[0].x},${c[0].y} ${e(u)} L${r.x},${r.y} ${e(t)} Z`, g = `M${c[0].x},${c[0].y} ${e(d)} L${r.x},${r.y} ${e(n)} Z`;
830
830
  }
831
831
  return {
832
832
  ...t,
833
- points: s,
833
+ points: c,
834
834
  smoothPath: f,
835
835
  straightPath: m,
836
836
  smoothArea: h,
@@ -840,14 +840,14 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
840
840
  yMinimapBase: o
841
841
  };
842
842
  });
843
- }), Yr = S(() => $.value === null || $.value === void 0 ? null : {
843
+ }), Yr = x(() => $.value === null || $.value === void 0 ? null : {
844
844
  timeLabel: pi($.value),
845
845
  absoluteIndex: $.value + q.value.start,
846
846
  seriesIndex: $.value,
847
847
  datapoint: fi.value,
848
848
  series: Y.value,
849
849
  config: B.value
850
- }), Xr = A(!1), Zr = A(!1);
850
+ }), Xr = k(!1), Zr = k(!1);
851
851
  function Qr(e) {
852
852
  let t = K.value;
853
853
  return e > t ? t : e < 0 || e < q.value.start ? B.value.style.chart.zoom.startIndex === null ? 1 : q.value.start + 1 : e;
@@ -875,15 +875,15 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
875
875
  let t = Qr(e);
876
876
  t !== q.value.end && (q.value.end = t, J.value.end = t, xr());
877
877
  }
878
- let X = S(() => ({
878
+ let X = x(() => ({
879
879
  left: W.value.left,
880
880
  right: W.value.right,
881
881
  width: W.value.width
882
882
  }));
883
- Ze([
884
- S(() => {
883
+ Qe([
884
+ x(() => {
885
885
  let e = B.value.style.chart.grid.y.axisLabels, { prefix: t, suffix: n } = B.value.style.chart.lines.dataLabels;
886
- return Ir.value.map((r) => String(y(e.formatter, r.value, o({
886
+ return Ir.value.map((r) => String(_(e.formatter, r.value, re({
887
887
  p: t,
888
888
  v: r.value,
889
889
  s: n,
@@ -897,8 +897,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
897
897
  ], () => {
898
898
  B.value.style.chart.grid.y.axisLabels.show && Mn();
899
899
  }, { flush: "post" });
900
- let ni = A(!1);
901
- xe({
900
+ let ni = k(!1);
901
+ Se({
902
902
  timeLabelsEls: xn,
903
903
  timeLabels: Lr,
904
904
  slicer: q,
@@ -921,11 +921,11 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
921
921
  "enable"
922
922
  ],
923
923
  isAutoSize: !1,
924
- width: S(() => U.value.width),
925
- height: S(() => U.value.height),
924
+ width: x(() => U.value.width),
925
+ height: x(() => U.value.height),
926
926
  rotation: B.value.style.chart.grid.x.timeLabels.autoRotate.angle
927
927
  });
928
- let ri = A(null);
928
+ let ri = k(null);
929
929
  function ii(e) {
930
930
  let t = Un.value;
931
931
  if (!t) return null;
@@ -954,7 +954,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
954
954
  ok: !0
955
955
  };
956
956
  }
957
- let ai = 0, Z = S(() => Math.max(1, q.value.end - q.value.start)), oi = S(() => Z.value > 1 ? W.value.width / (Z.value - 1) : 0);
957
+ let ai = 0, Z = x(() => Math.max(1, q.value.end - q.value.start)), oi = x(() => Z.value > 1 ? W.value.width / (Z.value - 1) : 0);
958
958
  function Q(e) {
959
959
  return Z.value <= 1 ? W.value.left + W.value.width / 2 : W.value.left + e * oi.value;
960
960
  }
@@ -1016,12 +1016,12 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1016
1016
  B.value.events.datapointClick && B.value.events.datapointClick({
1017
1017
  datapoint: t,
1018
1018
  seriesIndex: e + q.value.start
1019
- }), I("selectDatapoint", {
1019
+ }), F("selectDatapoint", {
1020
1020
  datapoint: t,
1021
1021
  period: Lr.value[e]
1022
1022
  });
1023
1023
  }
1024
- Ze(() => [
1024
+ Qe(() => [
1025
1025
  q.value.start,
1026
1026
  q.value.end,
1027
1027
  Y.value.length
@@ -1038,7 +1038,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1038
1038
  function di() {
1039
1039
  ai &&= (cancelAnimationFrame(ai), 0), ri.value = null, hi(!1, null);
1040
1040
  }
1041
- let $ = A(null), fi = S(() => {
1041
+ let $ = k(null), fi = x(() => {
1042
1042
  let e = $.value, t = e == null ? null : vr(e);
1043
1043
  return Y.value.map((n) => ({
1044
1044
  slotAbsoluteIndex: n.absoluteIndex,
@@ -1057,9 +1057,9 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1057
1057
  let t = Lr.value?.[e]?.text || null, n = qr.value?.[e]?.text || null, r = Rr.value?.[e]?.text || null;
1058
1058
  return B.value.style.chart.tooltip.useDefaultTimeFormat ? t : n || r;
1059
1059
  }
1060
- let mi = S(() => {
1061
- let e = B.value.style.chart.tooltip.customFormat, t = [...fi.value].reverse(), n = t.filter((e) => !e.standalone), i = t.filter((e) => e.standalone), a = n.map((e) => e.value).filter((e) => h(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0);
1062
- if (ee(e) && te(() => e({
1060
+ let mi = x(() => {
1061
+ let e = B.value.style.chart.tooltip.customFormat, t = [...fi.value].reverse(), n = t.filter((e) => !e.standalone), i = t.filter((e) => e.standalone), a = n.map((e) => e.value).filter((e) => ue(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0);
1062
+ if (ce(e) && ne(() => e({
1063
1063
  absoluteIndex: $.value + q.value.start,
1064
1064
  seriesIndex: $.value,
1065
1065
  datapoint: fi.value,
@@ -1072,20 +1072,20 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1072
1072
  series: G.value,
1073
1073
  config: B.value
1074
1074
  });
1075
- let { showValue: s, showTotal: c, totalTranslation: l, showPercentage: d, borderColor: f, roundingValue: p, roundingPercentage: m } = B.value.style.chart.tooltip, g = (e) => !e.shape || ![
1075
+ let { showValue: o, showTotal: s, totalTranslation: c, showPercentage: l, borderColor: u, roundingValue: d, roundingPercentage: f } = B.value.style.chart.tooltip, p = (e) => !e.shape || ![
1076
1076
  "star",
1077
1077
  "triangle",
1078
1078
  "square",
1079
1079
  "diamond",
1080
1080
  "pentagon",
1081
1081
  "hexagon"
1082
- ].includes(e.shape) ? `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" fill="${e.color}" /></svg>` : e.shape === "star" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><polygon stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" fill="${e.color}" points="${u({
1082
+ ].includes(e.shape) ? `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" fill="${e.color}" /></svg>` : e.shape === "star" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><polygon stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" fill="${e.color}" points="${r({
1083
1083
  plot: {
1084
1084
  x: 6,
1085
1085
  y: 6
1086
1086
  },
1087
1087
  radius: 5
1088
- })}" /></svg>` : e.shape === "triangle" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${r({
1088
+ })}" /></svg>` : e.shape === "triangle" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${y({
1089
1089
  plot: {
1090
1090
  x: 6,
1091
1091
  y: 6
@@ -1093,7 +1093,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1093
1093
  radius: 6,
1094
1094
  sides: 3,
1095
1095
  rotation: .52
1096
- }).path}" fill="${e.color}" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "square" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${r({
1096
+ }).path}" fill="${e.color}" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "square" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${y({
1097
1097
  plot: {
1098
1098
  x: 6,
1099
1099
  y: 6
@@ -1101,7 +1101,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1101
1101
  radius: 6,
1102
1102
  sides: 4,
1103
1103
  rotation: .8
1104
- }).path}" fill="${e.color}" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "diamond" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${r({
1104
+ }).path}" fill="${e.color}" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "diamond" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${y({
1105
1105
  plot: {
1106
1106
  x: 6,
1107
1107
  y: 6
@@ -1109,7 +1109,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1109
1109
  radius: 5,
1110
1110
  sides: 4,
1111
1111
  rotation: 0
1112
- }).path}" fill="${e.color}" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "pentagon" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${r({
1112
+ }).path}" fill="${e.color}" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "pentagon" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${y({
1113
1113
  plot: {
1114
1114
  x: 6,
1115
1115
  y: 6
@@ -1117,7 +1117,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1117
1117
  radius: 5,
1118
1118
  sides: 5,
1119
1119
  rotation: .95
1120
- }).path}" fill="${e.color}" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${r({
1120
+ }).path}" fill="${e.color}" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${y({
1121
1121
  plot: {
1122
1122
  x: 6,
1123
1123
  y: 6
@@ -1125,41 +1125,41 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1125
1125
  radius: 5,
1126
1126
  sides: 6,
1127
1127
  rotation: 0
1128
- }).path}" fill="${e.color}" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`, _ = (e, t) => {
1129
- let n = t ? o({
1128
+ }).path}" fill="${e.color}" stroke="${B.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`, m = (e, t) => {
1129
+ let n = t ? re({
1130
1130
  v: isNaN((e.value ?? 0) / (a || 1)) ? 0 : Math.abs(e.value ?? 0) / (a || 1) * 100,
1131
1131
  s: "%",
1132
- r: m
1133
- }) : "", r = s && t ? "(" : "", i = s && t ? ")" : "";
1132
+ r: f
1133
+ }) : "", r = o && t ? "(" : "", i = o && t ? ")" : "";
1134
1134
  return `
1135
1135
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
1136
- <div style="width:20px;height:20px;display:flex;align-items:center;justify-content:center;">${g(e)}</div>
1137
- ${e.name}${s || t ? ":" : ""}
1138
- ${s ? y(B.value.style.chart.lines.dataLabels.formatter, e.sourceValue, o({
1136
+ <div style="width:20px;height:20px;display:flex;align-items:center;justify-content:center;">${p(e)}</div>
1137
+ ${e.name}${o || t ? ":" : ""}
1138
+ ${o ? _(B.value.style.chart.lines.dataLabels.formatter, e.sourceValue, re({
1139
1139
  p: B.value.style.chart.lines.dataLabels.prefix,
1140
1140
  v: e.sourceValue,
1141
1141
  s: B.value.style.chart.lines.dataLabels.suffix,
1142
- r: p
1142
+ r: d
1143
1143
  }, { datapoint: e })) : ""} ${r}${n}${i}
1144
1144
  </div>
1145
1145
  `;
1146
- }, v = "", b = pi($.value);
1147
- return b && (v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${f};padding-bottom:6px;margin-bottom:3px;">${b}</div>`), c && n.length > 1 && (v += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
1148
- <span>${l}:</span>
1149
- <span>${y(B.value.style.chart.lines.dataLabels.formatter, re(a), o({
1146
+ }, h = "", g = pi($.value);
1147
+ return g && (h += `<div style="width:100%;text-align:center;border-bottom:1px solid ${u};padding-bottom:6px;margin-bottom:3px;">${g}</div>`), s && n.length > 1 && (h += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
1148
+ <span>${c}:</span>
1149
+ <span>${_(B.value.style.chart.lines.dataLabels.formatter, v(a), re({
1150
1150
  p: B.value.style.chart.lines.dataLabels.prefix,
1151
- v: re(a),
1151
+ v: v(a),
1152
1152
  s: B.value.style.chart.lines.dataLabels.suffix,
1153
- r: p
1153
+ r: d
1154
1154
  }), { datapoint: {
1155
- name: l,
1156
- value: re(a)
1155
+ name: c,
1156
+ value: v(a)
1157
1157
  } })}</span>
1158
1158
  </div>`), n.forEach((e) => {
1159
- v += _(e, d);
1160
- }), i.length && (v += `<div style="border-top:1px solid ${hr.value.length ? f : "transparent"}; margin:${hr.value.length ? "6px 0" : "0"};"></div>`, i.forEach((e) => {
1161
- v += _(e, !1);
1162
- })), `<div>${v}</div>`;
1159
+ h += m(e, l);
1160
+ }), i.length && (h += `<div style="border-top:1px solid ${hr.value.length ? u : "transparent"}; margin:${hr.value.length ? "6px 0" : "0"};"></div>`, i.forEach((e) => {
1161
+ h += m(e, !1);
1162
+ })), `<div>${h}</div>`;
1163
1163
  });
1164
1164
  function hi(e, t = null, n = "pointer") {
1165
1165
  if (Dr.value) return;
@@ -1179,7 +1179,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1179
1179
  }), B.value.events.datapointEnter && B.value.events.datapointEnter({
1180
1180
  datapoint: r,
1181
1181
  seriesIndex: t + q.value.start
1182
- })) : (z.value = null, $.value = null, I("selectX", {
1182
+ })) : (z.value = null, $.value = null, F("selectX", {
1183
1183
  index: null,
1184
1184
  indexLabel: null,
1185
1185
  dataset: null
@@ -1189,7 +1189,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1189
1189
  }));
1190
1190
  }
1191
1191
  function gi(e, t) {
1192
- I("selectTimeLabel", {
1192
+ F("selectTimeLabel", {
1193
1193
  datapoint: JSON.parse(JSON.stringify(Y.value)).map((e) => ({
1194
1194
  name: e.name,
1195
1195
  value: e.series[t] === 0 ? 0 : (e.signedSeries[t] === -1 && e.series[t] >= 0 ? -e.series[t] : e.series[t]) || null,
@@ -1204,7 +1204,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1204
1204
  function _i() {
1205
1205
  R.value.length ? R.value = [] : yi.value.forEach((e) => {
1206
1206
  R.value.push(e.id);
1207
- }), I("selectLegend", Y.value);
1207
+ }), F("selectLegend", Y.value);
1208
1208
  }
1209
1209
  function vi(e) {
1210
1210
  if (R.value.includes(e.id)) R.value = R.value.filter((t) => t !== e.id);
@@ -1212,14 +1212,14 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1212
1212
  if (R.value.length === G.value.length - 1) return;
1213
1213
  R.value.push(e.id);
1214
1214
  }
1215
- I("selectLegend", Y.value);
1215
+ F("selectLegend", Y.value);
1216
1216
  }
1217
- let yi = S(() => G.value.map((e) => ({
1217
+ let yi = x(() => G.value.map((e) => ({
1218
1218
  ...e,
1219
1219
  opacity: R.value.includes(e.id) ? .5 : 1,
1220
1220
  segregate: () => vi(e),
1221
1221
  isSegregated: R.value.includes(e.id)
1222
- }))), bi = S(() => ({
1222
+ }))), bi = x(() => ({
1223
1223
  cy: "stackline-legend",
1224
1224
  backgroundColor: B.value.style.chart.legend.backgroundColor,
1225
1225
  color: B.value.style.chart.legend.color,
@@ -1238,7 +1238,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1238
1238
  let t = xi(e);
1239
1239
  t !== null && (R.value.includes(t.id) || vi({ id: t.id }));
1240
1240
  }
1241
- let wi = S(() => {
1241
+ let wi = x(() => {
1242
1242
  if (Y.value.length === 0) return {
1243
1243
  head: [],
1244
1244
  body: [],
@@ -1265,13 +1265,13 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1265
1265
  [B.value.style.chart.title.text],
1266
1266
  [B.value.style.chart.title.subtitle.text],
1267
1267
  [""]
1268
- ], n = ["", ...wi.value.head.map((e) => e.label)], r = wi.value.body, i = d(t.concat([n]).concat(r));
1269
- e ? e(i) : l({
1268
+ ], n = ["", ...wi.value.head.map((e) => e.label)], r = wi.value.body, i = le(t.concat([n]).concat(r));
1269
+ e ? e(i) : p({
1270
1270
  csvContent: i,
1271
1271
  title: B.value.style.chart.title.text || "vue-ui-stackline"
1272
1272
  });
1273
1273
  }
1274
- let Ei = S(() => {
1274
+ let Ei = x(() => {
1275
1275
  let e = [""].concat(Y.value.map((e) => e.name), " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>"), t = [], n = Math.max(0, q.value.end - q.value.start);
1276
1276
  for (let e = 0; e < n; e += 1) {
1277
1277
  let n = vr(e), r = B.value.style.chart.grid.x.timeLabels.values?.[n] ? Lr.value?.[e]?.text ?? n + 1 : n + 1, i = Y.value.map((t) => {
@@ -1298,15 +1298,15 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1298
1298
  },
1299
1299
  colNames: [B.value.table.columnNames.period].concat(Y.value.map((e) => e.name), B.value.table.columnNames.total)
1300
1300
  };
1301
- }), Di = S(() => B.value.style.chart.backgroundColor), Oi = S(() => B.value.style.chart.legend), { exportSvg: ki, getSvg: Ai } = _e({
1301
+ }), Di = x(() => B.value.style.chart.backgroundColor), Oi = x(() => B.value.style.chart.legend), { exportSvg: ki, getSvg: Ai } = ve({
1302
1302
  svg: Un,
1303
- title: S(() => B.value.style.chart.title),
1303
+ title: x(() => B.value.style.chart.title),
1304
1304
  legend: Oi,
1305
1305
  legendItems: yi,
1306
1306
  backgroundColor: Di
1307
1307
  });
1308
1308
  async function ji({ isCb: e }) {
1309
- _n.value = !0, await Ve();
1309
+ _n.value = !0, await He();
1310
1310
  try {
1311
1311
  if (e) {
1312
1312
  let { blob: e, url: t, text: n, dataUrl: r } = await Ai();
@@ -1322,9 +1322,9 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1322
1322
  }
1323
1323
  }
1324
1324
  async function Mi({ scale: e = 2 } = {}) {
1325
- if (!Qt.value) return;
1326
- let { width: t, height: n } = Qt.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
1327
- domElement: Qt.value,
1325
+ if (!I.value) return;
1326
+ let { width: t, height: n } = I.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
1327
+ domElement: I.value,
1328
1328
  base64: !0,
1329
1329
  img: !0,
1330
1330
  scale: e
@@ -1338,10 +1338,10 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1338
1338
  aspectRatio: r
1339
1339
  };
1340
1340
  }
1341
- let Ni = S(() => {
1341
+ let Ni = x(() => {
1342
1342
  let e = B.value.table.useDialog && !B.value.table.show, t = H.value.showTable;
1343
1343
  return {
1344
- component: e ? Kt : Vt,
1344
+ component: e ? qt : Ht,
1345
1345
  title: `${B.value.style.chart.title.text}${B.value.style.chart.title.subtitle.text ? `: ${B.value.style.chart.title.subtitle.text}` : ""}`,
1346
1346
  props: e ? {
1347
1347
  backgroundColor: B.value.table.th.backgroundColor,
@@ -1349,7 +1349,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1349
1349
  headerColor: B.value.table.th.color,
1350
1350
  headerBg: B.value.table.th.backgroundColor,
1351
1351
  isFullscreen: sn.value,
1352
- fullscreenParent: Qt.value,
1352
+ fullscreenParent: I.value,
1353
1353
  forcedWidth: Math.min(800, window.innerWidth * .8),
1354
1354
  isCursorPointer: V.value
1355
1355
  } : {
@@ -1369,7 +1369,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1369
1369
  }
1370
1370
  };
1371
1371
  });
1372
- Ze(() => H.value.showTable, (e) => {
1372
+ Qe(() => H.value.showTable, (e) => {
1373
1373
  B.value.table.show || (e && B.value.table.useDialog && pn.value ? pn.value.open() : "close" in pn.value && pn.value.close());
1374
1374
  });
1375
1375
  function Pi() {
@@ -1405,16 +1405,16 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1405
1405
  };
1406
1406
  });
1407
1407
  }
1408
- let Vi = S(() => Array(K.value).fill(0).map((e, t) => Bi(t)));
1409
- Ze(() => F.selectedXIndex, (e) => {
1410
- if ([null, void 0].includes(F.selectedXIndex)) {
1408
+ let Vi = x(() => Array(K.value).fill(0).map((e, t) => Bi(t)));
1409
+ Qe(() => P.selectedXIndex, (e) => {
1410
+ if ([null, void 0].includes(P.selectedXIndex)) {
1411
1411
  $.value = null;
1412
1412
  return;
1413
1413
  }
1414
1414
  let t = e - q.value.start;
1415
1415
  t < 0 || e >= q.value.end ? $.value = null : $.value = t ?? null;
1416
1416
  }, { immediate: !0 });
1417
- let Hi = S(() => {
1417
+ let Hi = x(() => {
1418
1418
  if (B.value.style.chart.lines.distributed) return {
1419
1419
  min: -1,
1420
1420
  max: 1
@@ -1433,7 +1433,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1433
1433
  n > 0 && (a[t] = Math.max(a[t], n)), n < 0 && (o[t] = Math.min(o[t], n));
1434
1434
  }
1435
1435
  });
1436
- let s = Math.max(0, ...r, ...a), c = Math.min(0, ...i, ...o), l = B.value.style.chart.grid.scale.scaleMin, u = B.value.style.chart.grid.scale.scaleMax, d = B.value.style.chart.grid.scale.ticks, f = !B.value.style.chart.lines.distributed && (l !== null || u !== null) ? _(l === null ? c > 0 ? 0 : c : l, u === null ? s < 0 ? 0 : s : u, d) : v(l === null ? c > 0 ? 0 : c : l, u === null ? s < 0 ? 0 : s : u, d);
1436
+ let s = Math.max(0, ...r, ...a), c = Math.min(0, ...i, ...o), l = B.value.style.chart.grid.scale.scaleMin, u = B.value.style.chart.grid.scale.scaleMax, d = B.value.style.chart.grid.scale.ticks, f = !B.value.style.chart.lines.distributed && (l !== null || u !== null) ? h(l === null ? c > 0 ? 0 : c : l, u === null ? s < 0 ? 0 : s : u, d) : g(l === null ? c > 0 ? 0 : c : l, u === null ? s < 0 ? 0 : s : u, d);
1437
1437
  return {
1438
1438
  min: Number(f.min) || 0,
1439
1439
  max: Number(f.max) || 0
@@ -1452,38 +1452,38 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1452
1452
  let r = (Array.isArray(e.fullSeries) ? e.fullSeries : e.series)?.[t];
1453
1453
  r != null && !Number.isNaN(r) && (n += Math.abs(r));
1454
1454
  }), n || 1;
1455
- }), s = (t) => e - e * Math.max(0, Math.min(1, t || 0)), l = [], u = Array(a).fill(0);
1455
+ }), c = (t) => e - e * Math.max(0, Math.min(1, t || 0)), l = [], u = Array(a).fill(0);
1456
1456
  return r.forEach((e) => {
1457
1457
  let r = Array.isArray(e.fullSeries) ? e.fullSeries : e.series, i = Array(a), d = Array(a);
1458
1458
  for (let e = 0; e < a; e += 1) {
1459
1459
  let n = r?.[e], a = n == null || Number.isNaN(n) ? 0 : Math.abs(n) / t[e];
1460
1460
  d[e] = u[e], u[e] += a, i[e] = u[e];
1461
1461
  }
1462
- let f = i.map(s), p = d.map(s), m = o.map((e, t) => ({
1462
+ let f = i.map(c), p = d.map(c), m = o.map((e, t) => ({
1463
1463
  x: e,
1464
1464
  y: f[t]
1465
1465
  })), h = o.map((e, t) => ({
1466
1466
  x: e,
1467
1467
  y: p[t]
1468
- })), g = b(m), _ = b([...h].reverse()), ee = c(m), v = c([...h].reverse()), y = h[h.length - 1];
1468
+ })), g = ee(m), _ = ee([...h].reverse()), v = s(m), te = s([...h].reverse()), y = h[h.length - 1];
1469
1469
  if (B.value.style.chart.lines.useArea) {
1470
- let t = B.value.style.chart.lines.smooth ? `M${m[0].x},${m[0].y} ${n(g)} L${y.x},${y.y} ${n(_)} Z` : `M${m[0].x},${m[0].y} ${n(ee)} L${y.x},${y.y} ${n(v)} Z`;
1470
+ let t = B.value.style.chart.lines.smooth ? `M${m[0].x},${m[0].y} ${n(g)} L${y.x},${y.y} ${n(_)} Z` : `M${m[0].x},${m[0].y} ${n(v)} L${y.x},${y.y} ${n(te)} Z`;
1471
1471
  l.push(`<path d="${t}"
1472
- fill="${Xt.pattern ? `url(#pattern_${L.value}_${e.absoluteIndex})` : (B.value.style.chart.lines.gradient.show, e.color)}"
1472
+ fill="${Zt.pattern ? `url(#pattern_${L.value}_${e.absoluteIndex})` : (B.value.style.chart.lines.gradient.show, e.color)}"
1473
1473
  opacity="${B.value.style.chart.lines.areaOpacity}"
1474
1474
  stroke="none" />`);
1475
1475
  }
1476
- let te = B.value.style.chart.lines.smooth ? `M${m[0].x},${m[0].y} ${n(g)}` : `M${m[0].x},${m[0].y} ${n(ee)}`;
1477
- l.push(`<path d="${te}"
1476
+ let ne = B.value.style.chart.lines.smooth ? `M${m[0].x},${m[0].y} ${n(g)}` : `M${m[0].x},${m[0].y} ${n(v)}`;
1477
+ l.push(`<path d="${ne}"
1478
1478
  fill="none"
1479
1479
  stroke="${e.color}"
1480
1480
  stroke-width="${B.value.style.chart.lines.strokeWidth}"
1481
1481
  stroke-linecap="round" />`);
1482
1482
  }), i.length && i.forEach((e) => {
1483
- let r = Array.isArray(e.fullSeries) ? e.fullSeries : e.series, i = Array.from({ length: a }, (e, n) => s(Math.abs(r?.[n] ?? 0) / t[n])), u = o.map((e, t) => ({
1483
+ let r = Array.isArray(e.fullSeries) ? e.fullSeries : e.series, i = Array.from({ length: a }, (e, n) => c(Math.abs(r?.[n] ?? 0) / t[n])), u = o.map((e, t) => ({
1484
1484
  x: e,
1485
1485
  y: i[t]
1486
- })), d = b(u), f = c(u), p = B.value.style.chart.lines.smooth ? `M${u[0].x},${u[0].y} ${n(d)}` : `M${u[0].x},${u[0].y} ${n(f)}`;
1486
+ })), d = ee(u), f = s(u), p = B.value.style.chart.lines.smooth ? `M${u[0].x},${u[0].y} ${n(d)}` : `M${u[0].x},${u[0].y} ${n(f)}`;
1487
1487
  l.push(`<path d="${p}"
1488
1488
  fill="none"
1489
1489
  stroke="${e.color}"
@@ -1491,31 +1491,31 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1491
1491
  stroke-linecap="round" />`);
1492
1492
  }), l.join("");
1493
1493
  }
1494
- let s = Hi.value.min, l = Hi.value.max, u = Math.abs(s), d = l + u || 1, f = (t) => Math.max(0, Math.min(e, t)), p = (t) => f(e - e * (((t ?? 0) + u) / d)), m = [];
1494
+ let c = Hi.value.min, l = Hi.value.max, u = Math.abs(c), d = l + u || 1, f = (t) => Math.max(0, Math.min(e, t)), p = (t) => f(e - e * (((t ?? 0) + u) / d)), m = [];
1495
1495
  if (r.length) {
1496
1496
  let e = Array(a).fill(0), t = Array(a).fill(0);
1497
1497
  r.forEach((r) => {
1498
- let i = Array.isArray(r.fullSeries) ? r.fullSeries : r.series, s = Array(a), l = Array(a);
1498
+ let i = Array.isArray(r.fullSeries) ? r.fullSeries : r.series, c = Array(a), l = Array(a);
1499
1499
  for (let n = 0; n < a; n += 1) {
1500
1500
  let r = i?.[n] ?? 0;
1501
- r >= 0 ? (l[n] = e[n], e[n] += r, s[n] = e[n]) : (l[n] = t[n], t[n] += r, s[n] = t[n]);
1501
+ r >= 0 ? (l[n] = e[n], e[n] += r, c[n] = e[n]) : (l[n] = t[n], t[n] += r, c[n] = t[n]);
1502
1502
  }
1503
- let u = s.map(p), d = l.map(p), f = o.map((e, t) => ({
1503
+ let u = c.map(p), d = l.map(p), f = o.map((e, t) => ({
1504
1504
  x: e,
1505
1505
  y: u[t]
1506
1506
  })), h = o.map((e, t) => ({
1507
1507
  x: e,
1508
1508
  y: d[t]
1509
- })), g = b(f), _ = b([...h].reverse()), ee = c(f), v = c([...h].reverse()), y = h[h.length - 1];
1509
+ })), g = ee(f), _ = ee([...h].reverse()), v = s(f), te = s([...h].reverse()), y = h[h.length - 1];
1510
1510
  if (B.value.style.chart.lines.useArea) {
1511
- let e = B.value.style.chart.lines.smooth ? `M${f[0].x},${f[0].y} ${n(g)} L${y.x},${y.y} ${n(_)} Z` : `M${f[0].x},${f[0].y} ${n(ee)} L${y.x},${y.y} ${n(v)} Z`;
1511
+ let e = B.value.style.chart.lines.smooth ? `M${f[0].x},${f[0].y} ${n(g)} L${y.x},${y.y} ${n(_)} Z` : `M${f[0].x},${f[0].y} ${n(v)} L${y.x},${y.y} ${n(te)} Z`;
1512
1512
  m.push(`<path d="${e}"
1513
- fill="${Xt.pattern ? `url(#pattern_${L.value}_${r.absoluteIndex})` : (B.value.style.chart.lines.gradient.show, r.color)}"
1513
+ fill="${Zt.pattern ? `url(#pattern_${L.value}_${r.absoluteIndex})` : (B.value.style.chart.lines.gradient.show, r.color)}"
1514
1514
  opacity="${B.value.style.chart.lines.areaOpacity}"
1515
1515
  stroke="none" />`);
1516
1516
  }
1517
- let te = B.value.style.chart.lines.smooth ? `M${f[0].x},${f[0].y} ${n(g)}` : `M${f[0].x},${f[0].y} ${n(ee)}`;
1518
- m.push(`<path d="${te}"
1517
+ let ne = B.value.style.chart.lines.smooth ? `M${f[0].x},${f[0].y} ${n(g)}` : `M${f[0].x},${f[0].y} ${n(v)}`;
1518
+ m.push(`<path d="${ne}"
1519
1519
  fill="none"
1520
1520
  stroke="${r.color}"
1521
1521
  stroke-width="${B.value.style.chart.lines.strokeWidth}"
@@ -1526,8 +1526,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1526
1526
  let t = (Array.isArray(e.fullSeries) ? e.fullSeries : e.series).map(p), r = o.map((e, n) => ({
1527
1527
  x: e,
1528
1528
  y: t[n]
1529
- })), i = b(r), a = c(r), s = B.value.style.chart.lines.smooth ? `M${r[0].x},${r[0].y} ${n(i)}` : `M${r[0].x},${r[0].y} ${n(a)}`;
1530
- m.push(`<path d="${s}"
1529
+ })), i = ee(r), a = s(r), c = B.value.style.chart.lines.smooth ? `M${r[0].x},${r[0].y} ${n(i)}` : `M${r[0].x},${r[0].y} ${n(a)}`;
1530
+ m.push(`<path d="${c}"
1531
1531
  fill="none"
1532
1532
  stroke="${e.color}"
1533
1533
  stroke-width="${B.value.style.chart.lines.strokeWidth}"
@@ -1538,10 +1538,10 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1538
1538
  let n = B.value.style.chart.lines, r = n.dataLabels;
1539
1539
  return n.showDistributedPercentage && n.distributed ? Jn.value ? t === 0 ? !r.hideEmptyPercentages : Math.abs(t) * 100 >= r.hideUnderPercentage : r.hideEmptyPercentages ? Math.abs(t) > 0 : !0 : Jn.value ? (qn.value && ir.value && console.warn("Vue Data UI - VueUiStackline - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), Math.abs(e) > Gi.value * r.hideUnderPercentage / 100) : qn.value ? Math.abs(e) >= r.hideUnderValue : r.hideEmptyValues ? e !== 0 : !0;
1540
1540
  }
1541
- let Gi = S(() => Math.max(...Y.value.flatMap((e) => e.series)));
1541
+ let Gi = x(() => Math.max(...Y.value.flatMap((e) => e.series)));
1542
1542
  function Ki(e, t, n, r, i) {
1543
1543
  let a = i === -1 && e >= 0 ? -e : e;
1544
- return y(B.value.style.chart.lines.dataLabels.formatter, a, o({
1544
+ return _(B.value.style.chart.lines.dataLabels.formatter, a, re({
1545
1545
  p: B.value.style.chart.lines.dataLabels.prefix,
1546
1546
  v: a,
1547
1547
  s: B.value.style.chart.lines.dataLabels.suffix,
@@ -1553,7 +1553,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1553
1553
  });
1554
1554
  }
1555
1555
  function qi(e, t, n, r) {
1556
- return y(B.value.style.chart.lines.dataLabels.formatter, e, o({
1556
+ return _(B.value.style.chart.lines.dataLabels.formatter, e, re({
1557
1557
  v: isNaN(e) ? 0 : e,
1558
1558
  s: "%",
1559
1559
  r: B.value.style.chart.lines.dataLabels.rounding
@@ -1565,7 +1565,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1565
1565
  }
1566
1566
  function Ji({ seriesIndex: e, datapoint: t }) {
1567
1567
  let n = q.value.start + e;
1568
- I("selectX", {
1568
+ F("selectX", {
1569
1569
  dataset: t,
1570
1570
  index: n,
1571
1571
  indexLabel: B.value.style.chart.grid.x.timeLabels.values[n]
@@ -1583,7 +1583,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1583
1583
  Qn();
1584
1584
  }
1585
1585
  async function Xi() {
1586
- if (I("copyAlt", {
1586
+ if (F("copyAlt", {
1587
1587
  config: B.value,
1588
1588
  dataset: Y.value
1589
1589
  }), !B.value.userOptions.callbacks.altCopy) {
@@ -1595,12 +1595,12 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1595
1595
  dataset: Y.value
1596
1596
  }));
1597
1597
  }
1598
- let Zi = A(!1);
1598
+ let Zi = k(!1);
1599
1599
  function Qi() {
1600
1600
  z.value = null, Zi.value = !0;
1601
1601
  }
1602
1602
  function $i() {
1603
- z.value = null, On.value = "pointer", $t.value = !1, $.value = null, I("selectX", {
1603
+ z.value = null, On.value = "pointer", $t.value = !1, $.value = null, F("selectX", {
1604
1604
  index: null,
1605
1605
  indexLabel: null,
1606
1606
  dataset: null
@@ -1611,7 +1611,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1611
1611
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1612
1612
  if (!t && !n && !r && !i) return;
1613
1613
  if (e.preventDefault(), e.stopPropagation(), i) {
1614
- z.value = null, On.value = "pointer", $t.value = !1, $.value = null, I("selectX", {
1614
+ z.value = null, On.value = "pointer", $t.value = !1, $.value = null, F("selectX", {
1615
1615
  index: null,
1616
1616
  indexLabel: null,
1617
1617
  dataset: null
@@ -1628,14 +1628,14 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1628
1628
  }
1629
1629
  function ta(e) {
1630
1630
  if (!Number.isFinite(e) || !Un.value) return;
1631
- let n = t(W.value.left + e * oi.value, W.value.top + W.value.height / 2, Un.value);
1632
- n && (Dn.value = n);
1631
+ let t = n(W.value.left + e * oi.value, W.value.top + W.value.height / 2, Un.value);
1632
+ t && (Dn.value = t);
1633
1633
  }
1634
- let na = S(() => ({
1634
+ let na = x(() => ({
1635
1635
  headers: Ei.value?.colNames ?? [],
1636
1636
  rows: Ei.value?.body ?? []
1637
1637
  }));
1638
- return Te({
1638
+ return Ee({
1639
1639
  getData: zi,
1640
1640
  getImage: Mi,
1641
1641
  generatePdf: Zn,
@@ -1650,24 +1650,24 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1650
1650
  toggleAnnotator: Fn,
1651
1651
  toggleFullscreen: Fi,
1652
1652
  copyAlt: Xi
1653
- }), (t, r) => (k(), T("div", {
1653
+ }), (t, n) => (O(), w("div", {
1654
1654
  id: `stackline_${L.value}`,
1655
1655
  ref_key: "stacklineChart",
1656
- ref: Qt,
1657
- class: He({
1656
+ ref: I,
1657
+ class: Ue({
1658
1658
  "vue-data-ui-component": !0,
1659
1659
  "vue-ui-stackline": !0,
1660
1660
  "vue-data-ui-wrapper-fullscreen": sn.value
1661
1661
  }),
1662
- style: Ue(`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%" : ""}`),
1662
+ style: We(`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%" : ""}`),
1663
1663
  onMouseenter: Wn,
1664
1664
  onMouseleave: Gn
1665
1665
  }, [
1666
- E("div", {
1666
+ T("div", {
1667
1667
  id: `chart-instructions-${L.value}`,
1668
1668
  class: "sr-only"
1669
- }, [E("p", null, Je(B.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
1670
- na.value?.rows?.length ? (k(), C(Ae, {
1669
+ }, [T("p", null, Ye(B.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
1670
+ na.value?.rows?.length ? (O(), S(je, {
1671
1671
  key: 0,
1672
1672
  uid: L.value,
1673
1673
  head: na.value.headers,
@@ -1680,22 +1680,22 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1680
1680
  "body",
1681
1681
  "notice",
1682
1682
  "caption"
1683
- ])) : w("", !0),
1684
- B.value.userOptions.buttons.annotator ? (k(), C(N(Ut), {
1683
+ ])) : C("", !0),
1684
+ B.value.userOptions.buttons.annotator ? (O(), S(M(Wt), {
1685
1685
  key: 1,
1686
- svgRef: N(Un),
1686
+ svgRef: M(Un),
1687
1687
  backgroundColor: B.value.style.chart.backgroundColor,
1688
1688
  color: B.value.style.chart.color,
1689
1689
  active: Pn.value,
1690
1690
  isCursorPointer: V.value,
1691
1691
  onClose: Fn
1692
1692
  }, {
1693
- "annotator-action-close": P(() => [M(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1694
- "annotator-action-color": P(({ color: e }) => [M(t.$slots, "annotator-action-color", O(D({ color: e })), void 0, !0)]),
1695
- "annotator-action-draw": P(({ mode: e }) => [M(t.$slots, "annotator-action-draw", O(D({ mode: e })), void 0, !0)]),
1696
- "annotator-action-undo": P(({ disabled: e }) => [M(t.$slots, "annotator-action-undo", O(D({ disabled: e })), void 0, !0)]),
1697
- "annotator-action-redo": P(({ disabled: e }) => [M(t.$slots, "annotator-action-redo", O(D({ disabled: e })), void 0, !0)]),
1698
- "annotator-action-delete": P(({ disabled: e }) => [M(t.$slots, "annotator-action-delete", O(D({ disabled: e })), void 0, !0)]),
1693
+ "annotator-action-close": N(() => [j(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1694
+ "annotator-action-color": N(({ color: e }) => [j(t.$slots, "annotator-action-color", D(E({ color: e })), void 0, !0)]),
1695
+ "annotator-action-draw": N(({ mode: e }) => [j(t.$slots, "annotator-action-draw", D(E({ mode: e })), void 0, !0)]),
1696
+ "annotator-action-undo": N(({ disabled: e }) => [j(t.$slots, "annotator-action-undo", D(E({ disabled: e })), void 0, !0)]),
1697
+ "annotator-action-redo": N(({ disabled: e }) => [j(t.$slots, "annotator-action-redo", D(E({ disabled: e })), void 0, !0)]),
1698
+ "annotator-action-delete": N(({ disabled: e }) => [j(t.$slots, "annotator-action-delete", D(E({ disabled: e })), void 0, !0)]),
1699
1699
  _: 3
1700
1700
  }, 8, [
1701
1701
  "svgRef",
@@ -1703,21 +1703,21 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1703
1703
  "color",
1704
1704
  "active",
1705
1705
  "isCursorPointer"
1706
- ])) : w("", !0),
1707
- M(t.$slots, "userConfig", {}, void 0, !0),
1708
- $n.value ? (k(), T("div", {
1706
+ ])) : C("", !0),
1707
+ j(t.$slots, "userConfig", {}, void 0, !0),
1708
+ $n.value ? (O(), w("div", {
1709
1709
  key: 2,
1710
1710
  ref_key: "noTitle",
1711
1711
  ref: an,
1712
1712
  class: "vue-data-ui-no-title-space",
1713
1713
  style: "height:36px; width: 100%;background:transparent"
1714
- }, null, 512)) : w("", !0),
1715
- B.value.style.chart.title.text ? (k(), T("div", {
1714
+ }, null, 512)) : C("", !0),
1715
+ B.value.style.chart.title.text ? (O(), w("div", {
1716
1716
  key: 3,
1717
1717
  ref_key: "chartTitle",
1718
1718
  ref: tn,
1719
1719
  style: "width:100%;background:transparent;"
1720
- }, [(k(), C(Ce, {
1720
+ }, [(O(), S(we, {
1721
1721
  key: `title_${ln.value}`,
1722
1722
  config: {
1723
1723
  title: {
@@ -1729,16 +1729,16 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1729
1729
  ...B.value.style.chart.title.subtitle
1730
1730
  }
1731
1731
  }
1732
- }, null, 8, ["config"]))], 512)) : w("", !0),
1733
- E("div", { id: `legend-top-${L.value}` }, null, 8, nt),
1734
- B.value.userOptions.show && Zt.value && (N(Hn) || N(Bn)) ? (k(), C(N(Wt), {
1732
+ }, null, 8, ["config"]))], 512)) : C("", !0),
1733
+ T("div", { id: `legend-top-${L.value}` }, null, 8, rt),
1734
+ B.value.userOptions.show && Qt.value && (M(Hn) || M(Bn)) ? (O(), S(M(Gt), {
1735
1735
  ref_key: "userOptionsRef",
1736
1736
  ref: mn,
1737
1737
  key: `user_option_${en.value}`,
1738
1738
  backgroundColor: B.value.style.chart.backgroundColor,
1739
1739
  color: B.value.style.chart.color,
1740
- isPrinting: N(Yn),
1741
- isImaging: N(Xn),
1740
+ isPrinting: M(Yn),
1741
+ isImaging: M(Xn),
1742
1742
  uid: L.value,
1743
1743
  hasTooltip: B.value.style.chart.tooltip.show && B.value.userOptions.buttons.tooltip,
1744
1744
  hasPdf: B.value.userOptions.buttons.pdf,
@@ -1750,7 +1750,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1750
1750
  hasFullscreen: B.value.userOptions.buttons.fullscreen,
1751
1751
  hasAltCopy: B.value.userOptions.buttons.altCopy,
1752
1752
  isFullscreen: sn.value,
1753
- chartElement: Qt.value,
1753
+ chartElement: I.value,
1754
1754
  position: B.value.userOptions.position,
1755
1755
  isTooltip: H.value.showTooltip,
1756
1756
  titles: { ...B.value.userOptions.buttonTitles },
@@ -1761,7 +1761,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1761
1761
  tableDialog: B.value.table.useDialog,
1762
1762
  isCursorPointer: V.value,
1763
1763
  onToggleFullscreen: Fi,
1764
- onGeneratePdf: N(Zn),
1764
+ onGeneratePdf: M(Zn),
1765
1765
  onGenerateCsv: Ti,
1766
1766
  onGenerateImage: Yi,
1767
1767
  onGenerateSvg: ji,
@@ -1770,11 +1770,11 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1770
1770
  onToggleTooltip: Ri,
1771
1771
  onToggleAnnotator: Fn,
1772
1772
  onCopyAlt: Xi,
1773
- style: Ue({ visibility: N(Hn) ? N(Bn) ? "visible" : "hidden" : "visible" })
1774
- }, Ie({ _: 2 }, [
1773
+ style: We({ visibility: M(Hn) ? M(Bn) ? "visible" : "hidden" : "visible" })
1774
+ }, Le({ _: 2 }, [
1775
1775
  t.$slots.menuIcon ? {
1776
1776
  name: "menuIcon",
1777
- fn: P(({ isOpen: e, color: n }) => [M(t.$slots, "menuIcon", O(D({
1777
+ fn: N(({ isOpen: e, color: n }) => [j(t.$slots, "menuIcon", D(E({
1778
1778
  isOpen: e,
1779
1779
  color: n
1780
1780
  })), void 0, !0)]),
@@ -1782,42 +1782,42 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1782
1782
  } : void 0,
1783
1783
  t.$slots.optionTooltip ? {
1784
1784
  name: "optionTooltip",
1785
- fn: P(() => [M(t.$slots, "optionTooltip", {}, void 0, !0)]),
1785
+ fn: N(() => [j(t.$slots, "optionTooltip", {}, void 0, !0)]),
1786
1786
  key: "1"
1787
1787
  } : void 0,
1788
1788
  t.$slots.optionPdf ? {
1789
1789
  name: "optionPdf",
1790
- fn: P(() => [M(t.$slots, "optionPdf", {}, void 0, !0)]),
1790
+ fn: N(() => [j(t.$slots, "optionPdf", {}, void 0, !0)]),
1791
1791
  key: "2"
1792
1792
  } : void 0,
1793
1793
  t.$slots.optionCsv ? {
1794
1794
  name: "optionCsv",
1795
- fn: P(() => [M(t.$slots, "optionCsv", {}, void 0, !0)]),
1795
+ fn: N(() => [j(t.$slots, "optionCsv", {}, void 0, !0)]),
1796
1796
  key: "3"
1797
1797
  } : void 0,
1798
1798
  t.$slots.optionImg ? {
1799
1799
  name: "optionImg",
1800
- fn: P(() => [M(t.$slots, "optionImg", {}, void 0, !0)]),
1800
+ fn: N(() => [j(t.$slots, "optionImg", {}, void 0, !0)]),
1801
1801
  key: "4"
1802
1802
  } : void 0,
1803
1803
  t.$slots.optionSvg ? {
1804
1804
  name: "optionSvg",
1805
- fn: P(() => [M(t.$slots, "optionSvg", {}, void 0, !0)]),
1805
+ fn: N(() => [j(t.$slots, "optionSvg", {}, void 0, !0)]),
1806
1806
  key: "5"
1807
1807
  } : void 0,
1808
1808
  t.$slots.optionTable ? {
1809
1809
  name: "optionTable",
1810
- fn: P(() => [M(t.$slots, "optionTable", {}, void 0, !0)]),
1810
+ fn: N(() => [j(t.$slots, "optionTable", {}, void 0, !0)]),
1811
1811
  key: "6"
1812
1812
  } : void 0,
1813
1813
  t.$slots.optionLabels ? {
1814
1814
  name: "optionLabels",
1815
- fn: P(() => [M(t.$slots, "optionLabels", {}, void 0, !0)]),
1815
+ fn: N(() => [j(t.$slots, "optionLabels", {}, void 0, !0)]),
1816
1816
  key: "7"
1817
1817
  } : void 0,
1818
1818
  t.$slots.optionFullscreen ? {
1819
1819
  name: "optionFullscreen",
1820
- fn: P(({ toggleFullscreen: e, isFullscreen: n }) => [M(t.$slots, "optionFullscreen", O(D({
1820
+ fn: N(({ toggleFullscreen: e, isFullscreen: n }) => [j(t.$slots, "optionFullscreen", D(E({
1821
1821
  toggleFullscreen: e,
1822
1822
  isFullscreen: n
1823
1823
  })), void 0, !0)]),
@@ -1825,7 +1825,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1825
1825
  } : void 0,
1826
1826
  t.$slots.optionAnnotator ? {
1827
1827
  name: "optionAnnotator",
1828
- fn: P(({ toggleAnnotator: e, isAnnotator: n }) => [M(t.$slots, "optionAnnotator", O(D({
1828
+ fn: N(({ toggleAnnotator: e, isAnnotator: n }) => [j(t.$slots, "optionAnnotator", D(E({
1829
1829
  toggleAnnotator: e,
1830
1830
  isAnnotator: n
1831
1831
  })), void 0, !0)]),
@@ -1833,31 +1833,31 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1833
1833
  } : void 0,
1834
1834
  t.$slots.optionAltCopy ? {
1835
1835
  name: "optionAltCopy",
1836
- fn: P(({ altCopy: e }) => [M(t.$slots, "optionAltCopy", O(D({ altCopy: e })), void 0, !0)]),
1836
+ fn: N(({ altCopy: e }) => [j(t.$slots, "optionAltCopy", D(E({ altCopy: e })), void 0, !0)]),
1837
1837
  key: "10"
1838
1838
  } : void 0,
1839
1839
  t.$slots["custom-menu-before"] ? {
1840
1840
  name: "custom-menu-before",
1841
- fn: P(() => [M(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1841
+ fn: N(() => [j(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1842
1842
  key: "11"
1843
1843
  } : void 0,
1844
1844
  t.$slots["custom-menu-after"] ? {
1845
1845
  name: "custom-menu-after",
1846
- fn: P(() => [M(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1846
+ fn: N(() => [j(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1847
1847
  key: "12"
1848
1848
  } : void 0
1849
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : w("", !0),
1850
- E("div", rt, [(k(), T("svg", {
1849
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : C("", !0),
1850
+ T("div", it, [(O(), w("svg", {
1851
1851
  ref_key: "svgRef",
1852
1852
  ref: Un,
1853
1853
  "aria-describedby": `chart-instructions-${L.value}`,
1854
- xmlns: N(ae),
1854
+ xmlns: M(ae),
1855
1855
  viewBox: `0 0 ${W.value.chartWidth <= 0 ? 10 : W.value.chartWidth} ${W.value.chartHeight <= 0 ? 10 : W.value.chartHeight}`,
1856
- class: He({
1857
- "vue-data-ui-loading": N(Ln),
1856
+ class: Ue({
1857
+ "vue-data-ui-loading": M(Ln),
1858
1858
  "no-transition": !B.value.useCssAnimation
1859
1859
  }),
1860
- style: Ue(`max-width:100%;overflow:visible;background:transparent;color:${B.value.style.chart.color}`),
1860
+ style: We(`max-width:100%;overflow:visible;background:transparent;color:${B.value.style.chart.color}`),
1861
1861
  role: "img",
1862
1862
  "aria-live": "polite",
1863
1863
  tabindex: "0",
@@ -1869,33 +1869,33 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1869
1869
  onBlur: $i,
1870
1870
  onKeydown: ea
1871
1871
  }, [
1872
- Re(N(Gt)),
1873
- (k(!0), T(x, null, j(hr.value, (e) => (k(), T(x, null, [t.$slots.pattern ? (k(), T("defs", at, [M(t.$slots, "pattern", Be({ ref_for: !0 }, {
1872
+ ze(M(Kt)),
1873
+ (O(!0), w(b, null, A(hr.value, (e) => (O(), w(b, null, [t.$slots.pattern ? (O(), w("defs", ot, [j(t.$slots, "pattern", Ve({ ref_for: !0 }, {
1874
1874
  seriesIndex: e.absoluteIndex,
1875
1875
  patternId: `pattern_${L.value}_${e.absoluteIndex}`
1876
- }), void 0, !0)])) : w("", !0)], 64))), 256)),
1877
- t.$slots["chart-background"] ? (k(), T("foreignObject", {
1876
+ }), void 0, !0)])) : C("", !0)], 64))), 256)),
1877
+ t.$slots["chart-background"] ? (O(), w("foreignObject", {
1878
1878
  key: 0,
1879
1879
  x: X.value.left,
1880
1880
  y: W.value.top,
1881
1881
  width: X.value.width,
1882
1882
  height: W.value.height,
1883
1883
  style: { pointerEvents: "none" }
1884
- }, [M(t.$slots, "chart-background", {}, void 0, !0)], 8, ot)) : w("", !0),
1885
- B.value.style.chart.lines.gradient.show ? (k(), T("defs", st, [(k(!0), T(x, null, j(Y.value, (e, t) => (k(), T("linearGradient", {
1884
+ }, [j(t.$slots, "chart-background", {}, void 0, !0)], 8, st)) : C("", !0),
1885
+ B.value.style.chart.lines.gradient.show ? (O(), w("defs", ct, [(O(!0), w(b, null, A(Y.value, (e, t) => (O(), w("linearGradient", {
1886
1886
  id: `gradient_${e.id}`,
1887
1887
  x1: "0%",
1888
1888
  y1: "0%",
1889
1889
  x2: "0%",
1890
1890
  y2: "100%"
1891
- }, [E("stop", {
1891
+ }, [T("stop", {
1892
1892
  offset: "0%",
1893
1893
  "stop-color": e.color
1894
- }, null, 8, lt), E("stop", {
1894
+ }, null, 8, ut), T("stop", {
1895
1895
  offset: "100%",
1896
- "stop-color": N(n)(e.color, B.value.style.chart.lines.gradient.intensity / 100)
1897
- }, null, 8, ut)], 8, ct))), 256))])) : w("", !0),
1898
- B.value.style.chart.grid.x.showHorizontalLines ? (k(!0), T(x, { key: 2 }, j(Ir.value, (e, t) => (k(), T("line", {
1896
+ "stop-color": M(l)(e.color, B.value.style.chart.lines.gradient.intensity / 100)
1897
+ }, null, 8, dt)], 8, lt))), 256))])) : C("", !0),
1898
+ B.value.style.chart.grid.x.showHorizontalLines ? (O(!0), w(b, { key: 2 }, A(Ir.value, (e, t) => (O(), w("line", {
1899
1899
  x1: X.value.left,
1900
1900
  x2: X.value.right,
1901
1901
  y1: e.y,
@@ -1904,8 +1904,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1904
1904
  "stroke-width": B.value.style.chart.grid.x.linesThickness,
1905
1905
  "stroke-dasharray": B.value.style.chart.grid.x.linesStrokeDasharray,
1906
1906
  "stroke-linecap": "round"
1907
- }, null, 8, dt))), 256)) : w("", !0),
1908
- B.value.style.chart.grid.y.showVerticalLines ? (k(!0), T(x, { key: 3 }, j(q.value.end - q.value.start, (e, t) => (k(), T("line", {
1907
+ }, null, 8, ft))), 256)) : C("", !0),
1908
+ B.value.style.chart.grid.y.showVerticalLines ? (O(!0), w(b, { key: 3 }, A(q.value.end - q.value.start, (e, t) => (O(), w("line", {
1909
1909
  x1: Q(t),
1910
1910
  x2: Q(t),
1911
1911
  y1: W.value.top,
@@ -1914,8 +1914,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1914
1914
  "stroke-width": B.value.style.chart.grid.y.linesThickness,
1915
1915
  "stroke-dasharray": B.value.style.chart.grid.y.linesStrokeDasharray,
1916
1916
  "stroke-linecap": "round"
1917
- }, null, 8, ft))), 256)) : w("", !0),
1918
- B.value.style.chart.grid.x.showAxis ? (k(), T("line", {
1917
+ }, null, 8, pt))), 256)) : C("", !0),
1918
+ B.value.style.chart.grid.x.showAxis ? (O(), w("line", {
1919
1919
  key: 4,
1920
1920
  x1: X.value.left,
1921
1921
  x2: X.value.right,
@@ -1925,8 +1925,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1925
1925
  "stroke-width": B.value.style.chart.grid.x.axisThickness,
1926
1926
  "stroke-linecap": "round",
1927
1927
  "stroke-linejoin": "round"
1928
- }, null, 8, pt)) : w("", !0),
1929
- B.value.style.chart.grid.y.showAxis && !B.value.style.chart.lines.distributed ? (k(), T("line", {
1928
+ }, null, 8, mt)) : C("", !0),
1929
+ B.value.style.chart.grid.y.showAxis && !B.value.style.chart.lines.distributed ? (O(), w("line", {
1930
1930
  key: 5,
1931
1931
  x1: or.value ? X.value.right : X.value.left,
1932
1932
  x2: or.value ? X.value.right : X.value.left,
@@ -1936,8 +1936,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1936
1936
  "stroke-width": B.value.style.chart.grid.y.axisThickness,
1937
1937
  "stroke-linecap": "round",
1938
1938
  "stroke-linejoin": "round"
1939
- }, null, 8, mt)) : w("", !0),
1940
- B.value.style.chart.grid.x.axisName.show && B.value.style.chart.grid.x.axisName.text ? (k(), T("text", {
1939
+ }, null, 8, ht)) : C("", !0),
1940
+ B.value.style.chart.grid.x.axisName.show && B.value.style.chart.grid.x.axisName.text ? (O(), w("text", {
1941
1941
  key: 6,
1942
1942
  ref_key: "xAxisLabel",
1943
1943
  ref: vn,
@@ -1947,8 +1947,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1947
1947
  fill: B.value.style.chart.grid.x.axisName.color,
1948
1948
  "font-weight": B.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
1949
1949
  "text-anchor": "middle"
1950
- }, Je(B.value.style.chart.grid.x.axisName.text), 9, ht)) : w("", !0),
1951
- B.value.style.chart.grid.y.axisName.show && B.value.style.chart.grid.y.axisName.text ? (k(), T("text", {
1950
+ }, Ye(B.value.style.chart.grid.x.axisName.text), 9, gt)) : C("", !0),
1951
+ B.value.style.chart.grid.y.axisName.show && B.value.style.chart.grid.y.axisName.text ? (O(), w("text", {
1952
1952
  key: 7,
1953
1953
  ref_key: "yAxisLabel",
1954
1954
  ref: yn,
@@ -1957,8 +1957,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1957
1957
  fill: B.value.style.chart.grid.y.axisName.color,
1958
1958
  "font-weight": B.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
1959
1959
  "text-anchor": "middle"
1960
- }, Je(B.value.style.chart.grid.y.axisName.text), 9, gt)) : w("", !0),
1961
- B.value.style.chart.grid.frame.show ? (k(), T("rect", {
1960
+ }, Ye(B.value.style.chart.grid.y.axisName.text), 9, _t)) : C("", !0),
1961
+ B.value.style.chart.grid.frame.show ? (O(), w("rect", {
1962
1962
  key: 8,
1963
1963
  style: {
1964
1964
  pointerEvents: "none",
@@ -1975,51 +1975,51 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
1975
1975
  "stroke-linecap": B.value.style.chart.grid.frame.strokeLinecap,
1976
1976
  "stroke-linejoin": B.value.style.chart.grid.frame.strokeLinejoin,
1977
1977
  "stroke-dasharray": B.value.style.chart.grid.frame.strokeDasharray
1978
- }, null, 8, _t)) : w("", !0),
1979
- (k(!0), T(x, null, j(Y.value, (e) => (k(), T(x, null, [B.value.style.chart.lines.useArea && !e.standalone ? (k(), T("path", {
1978
+ }, null, 8, vt)) : C("", !0),
1979
+ (O(!0), w(b, null, A(Y.value, (e) => (O(), w(b, null, [B.value.style.chart.lines.useArea && !e.standalone ? (O(), w("path", {
1980
1980
  key: 0,
1981
1981
  d: B.value.style.chart.lines.smooth ? e.smoothArea : e.straightArea,
1982
1982
  fill: t.$slots.pattern ? `url(#pattern_${L.value}_${e.absoluteIndex})` : B.value.style.chart.lines.gradient.show ? `url(#gradient_${e.id})` : e.color,
1983
1983
  opacity: B.value.style.chart.lines.areaOpacity,
1984
- style: Ue({ transition: N(Ln) || !B.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
1985
- }, null, 12, vt)) : w("", !0)], 64))), 256)),
1986
- (k(!0), T(x, null, j(Y.value, (e) => (k(), T("path", {
1984
+ style: We({ transition: M(Ln) || !B.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
1985
+ }, null, 12, yt)) : C("", !0)], 64))), 256)),
1986
+ (O(!0), w(b, null, A(Y.value, (e) => (O(), w("path", {
1987
1987
  d: B.value.style.chart.lines.smooth ? e.smoothPath : e.straightPath,
1988
1988
  stroke: B.value.style.chart.lines.path.useSerieColor ? e.color : B.value.style.chart.lines.path.stroke,
1989
1989
  "stroke-width": B.value.style.chart.lines.strokeWidth,
1990
1990
  fill: "none",
1991
1991
  "stroke-linecap": "round",
1992
- style: Ue({ transition: N(Ln) || !B.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
1993
- }, null, 12, yt))), 256)),
1994
- B.value.style.chart.grid.y.axisLabels.show && !B.value.style.chart.lines.distributed ? (k(), T("g", {
1992
+ style: We({ transition: M(Ln) || !B.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
1993
+ }, null, 12, bt))), 256)),
1994
+ B.value.style.chart.grid.y.axisLabels.show && !B.value.style.chart.lines.distributed ? (O(), w("g", {
1995
1995
  key: 9,
1996
1996
  ref_key: "scaleLabels",
1997
1997
  ref: bn
1998
- }, [(k(!0), T(x, null, j(Ir.value, (e, t) => (k(), T("line", {
1998
+ }, [(O(!0), w(b, null, A(Ir.value, (e, t) => (O(), w("line", {
1999
1999
  x1: or.value ? X.value.right : X.value.left,
2000
2000
  x2: or.value ? X.value.right + 6 : X.value.left - 6,
2001
2001
  y1: e.y,
2002
2002
  y2: e.y,
2003
2003
  stroke: B.value.style.chart.grid.x.axisColor,
2004
2004
  "stroke-width": 1
2005
- }, null, 8, bt))), 256)), (k(!0), T(x, null, j(Ir.value, (e, t) => (k(), T("text", {
2005
+ }, null, 8, xt))), 256)), (O(!0), w(b, null, A(Ir.value, (e, t) => (O(), w("text", {
2006
2006
  x: e.x,
2007
2007
  y: e.y + B.value.style.chart.grid.y.axisLabels.fontSize / 3,
2008
2008
  "font-size": B.value.style.chart.grid.y.axisLabels.fontSize,
2009
2009
  "font-weight": B.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
2010
2010
  fill: B.value.style.chart.grid.y.axisLabels.color,
2011
2011
  "text-anchor": or.value ? "start" : "end"
2012
- }, Je(N(y)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, N(o)({
2012
+ }, Ye(M(_)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, M(re)({
2013
2013
  p: B.value.style.chart.lines.dataLabels.prefix,
2014
2014
  v: e.value,
2015
2015
  s: B.value.style.chart.lines.dataLabels.suffix,
2016
2016
  r: B.value.style.chart.grid.y.axisLabels.rounding
2017
- }), { datapoint: e })), 9, xt))), 256))], 512)) : w("", !0),
2018
- B.value.style.chart.grid.x.timeLabels.show ? (k(), T("g", {
2017
+ }), { datapoint: e })), 9, St))), 256))], 512)) : C("", !0),
2018
+ B.value.style.chart.grid.x.timeLabels.show ? (O(), w("g", {
2019
2019
  key: 10,
2020
2020
  ref_key: "timeLabelsEls",
2021
2021
  ref: xn
2022
- }, [t.$slots["time-label"] ? (k(), T("g", St, [(k(!0), T(x, null, j(Hr.value, (e, n) => (k(), T("g", null, [M(t.$slots, "time-label", Be({ ref_for: !0 }, {
2022
+ }, [t.$slots["time-label"] ? (O(), w("g", Ct, [(O(!0), w(b, null, A(Hr.value, (e, n) => (O(), w("g", null, [j(t.$slots, "time-label", Ve({ ref_for: !0 }, {
2023
2023
  x: W.value.left + Tr.value * n + Tr.value / 2,
2024
2024
  y: W.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY,
2025
2025
  fontSize: B.value.style.chart.grid.x.timeLabels.fontSize,
@@ -2029,7 +2029,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2029
2029
  content: e.text,
2030
2030
  textAnchor: B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
2031
2031
  show: !0
2032
- }), void 0, !0)]))), 256))])) : (k(), T("g", Ct, [(k(!0), T(x, null, j(Hr.value, (e, n) => (k(), T("g", null, [String(e.text).includes("\n") ? (k(), T("text", {
2032
+ }), void 0, !0)]))), 256))])) : (O(), w("g", wt, [(O(!0), w(b, null, A(Hr.value, (e, n) => (O(), w("g", null, [String(e.text).includes("\n") ? (O(), w("text", {
2033
2033
  key: n + "-multi",
2034
2034
  "text-anchor": B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
2035
2035
  "font-size": B.value.style.chart.grid.x.timeLabels.fontSize,
@@ -2041,7 +2041,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2041
2041
  ),
2042
2042
  rotate(${B.value.style.chart.grid.x.timeLabels.rotation})
2043
2043
  `,
2044
- style: Ue({ cursor: V.value ? "pointer" : "default" }),
2044
+ style: We({ cursor: V.value ? "pointer" : "default" }),
2045
2045
  innerHTML: t.createTSpansFromLineBreaksOnX({
2046
2046
  content: String(e.text),
2047
2047
  fontSize: B.value.style.chart.grid.x.timeLabels.fontSize,
@@ -2050,7 +2050,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2050
2050
  y: 0
2051
2051
  }),
2052
2052
  onClick: () => gi(e, n)
2053
- }, null, 12, Tt)) : (k(), T("text", {
2053
+ }, null, 12, Et)) : (O(), w("text", {
2054
2054
  class: "vue-data-ui-time-label",
2055
2055
  key: n,
2056
2056
  "text-anchor": B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
@@ -2058,25 +2058,25 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2058
2058
  "font-weight": B.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
2059
2059
  fill: B.value.style.chart.grid.x.timeLabels.color,
2060
2060
  transform: `translate(${Q(n)}, ${W.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`,
2061
- style: Ue({ cursor: V.value ? "pointer" : "default" }),
2061
+ style: We({ cursor: V.value ? "pointer" : "default" }),
2062
2062
  onClick: () => gi(e, n)
2063
- }, Je(e.text), 13, wt))]))), 256))]))], 512)) : w("", !0),
2064
- (hn.value || ![null, void 0].includes($.value)) && !B.value.style.chart.highlighter.useLine ? (k(!0), T(x, { key: 11 }, j(q.value.end - q.value.start, (e, t) => (k(), T("g", { key: `tooltip_trap_highlighter_${t}` }, [E("rect", {
2063
+ }, Ye(e.text), 13, Tt))]))), 256))]))], 512)) : C("", !0),
2064
+ (hn.value || ![null, void 0].includes($.value)) && !B.value.style.chart.highlighter.useLine ? (O(!0), w(b, { key: 11 }, A(q.value.end - q.value.start, (e, t) => (O(), w("g", { key: `tooltip_trap_highlighter_${t}` }, [T("rect", {
2065
2065
  x: si(t).x,
2066
2066
  y: W.value.top,
2067
2067
  height: W.value.height,
2068
2068
  width: si(t).width,
2069
- fill: [Nn.value, $.value].includes(t) ? N(a)(B.value.style.chart.highlighter.color, B.value.style.chart.highlighter.opacity) : "transparent",
2069
+ fill: [Nn.value, $.value].includes(t) ? M(i)(B.value.style.chart.highlighter.color, B.value.style.chart.highlighter.opacity) : "transparent",
2070
2070
  style: {
2071
2071
  transition: "none !important",
2072
2072
  animation: "none !important"
2073
2073
  }
2074
- }, null, 8, Et)]))), 128)) : w("", !0),
2075
- (hn.value || ![null, void 0].includes($.value)) && B.value.style.chart.highlighter.useLine ? (k(), T(x, { key: 12 }, [![null, void 0].includes($.value) || ![null, void 0].includes(Nn.value) ? (k(), T("g", Dt, [E("line", {
2074
+ }, null, 8, Dt)]))), 128)) : C("", !0),
2075
+ (hn.value || ![null, void 0].includes($.value)) && B.value.style.chart.highlighter.useLine ? (O(), w(b, { key: 12 }, [![null, void 0].includes($.value) || ![null, void 0].includes(Nn.value) ? (O(), w("g", Ot, [T("line", {
2076
2076
  x1: Q(($.value ?? Nn.value) || 0),
2077
2077
  x2: Q(($.value ?? Nn.value) || 0),
2078
- y1: N(re)(W.value.top),
2079
- y2: N(re)(W.value.bottom),
2078
+ y1: M(v)(W.value.top),
2079
+ y2: M(v)(W.value.bottom),
2080
2080
  stroke: B.value.style.chart.highlighter.color,
2081
2081
  "stroke-width": B.value.style.chart.highlighter.lineWidth,
2082
2082
  "stroke-dasharray": B.value.style.chart.highlighter.lineDasharray,
@@ -2086,8 +2086,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2086
2086
  animation: "none !important",
2087
2087
  "pointer-events": "none"
2088
2088
  }
2089
- }, null, 8, Ot)])) : w("", !0)], 64)) : w("", !0),
2090
- (k(!0), T(x, null, j(Y.value, (e) => (k(), T(x, null, [hn.value && q.value.end - q.value.start > B.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (k(), T("g", kt, [$.value == null ? w("", !0) : (k(), T(x, { key: 0 }, [e.rel.includes($.value) && e.fullSeries?.[q.value.start + $.value] != null && !Number.isNaN(e.fullSeries?.[q.value.start + $.value]) ? (k(), C(we, {
2089
+ }, null, 8, kt)])) : C("", !0)], 64)) : C("", !0),
2090
+ (O(!0), w(b, null, A(Y.value, (e) => (O(), w(b, null, [hn.value && q.value.end - q.value.start > B.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (O(), w("g", At, [$.value == null ? C("", !0) : (O(), w(b, { key: 0 }, [e.rel.includes($.value) && e.fullSeries?.[q.value.start + $.value] != null && !Number.isNaN(e.fullSeries?.[q.value.start + $.value]) ? (O(), S(Te, {
2091
2091
  key: 0,
2092
2092
  shape: [
2093
2093
  "triangle",
@@ -2099,13 +2099,13 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2099
2099
  ].includes(e.shape) ? e.shape : "circle",
2100
2100
  color: B.value.style.chart.lines.dot.useSerieColor ? e.color : B.value.style.chart.lines.dot.fill,
2101
2101
  plot: {
2102
- x: N(oe)(e.points[e.rel.indexOf($.value)].x),
2103
- y: N(oe)(e.points[e.rel.indexOf($.value)].y)
2102
+ x: M(se)(e.points[e.rel.indexOf($.value)].x),
2103
+ y: M(se)(e.points[e.rel.indexOf($.value)].y)
2104
2104
  },
2105
2105
  radius: B.value.style.chart.lines.dot.radius * 1.3,
2106
2106
  stroke: B.value.style.chart.lines.dot.useSerieColor ? B.value.style.chart.lines.dot.stroke : e.color,
2107
2107
  strokeWidth: B.value.style.chart.lines.dot.strokeWidth,
2108
- transition: N(Ln) ? void 0 : `all ${B.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
2108
+ transition: M(Ln) ? void 0 : `all ${B.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
2109
2109
  }, null, 8, [
2110
2110
  "shape",
2111
2111
  "color",
@@ -2114,8 +2114,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2114
2114
  "stroke",
2115
2115
  "strokeWidth",
2116
2116
  "transition"
2117
- ])) : w("", !0)], 64))])) : w("", !0)], 64))), 256)),
2118
- (k(!0), T(x, null, j(Y.value, (e) => (k(), T(x, null, [q.value.end - q.value.start < B.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (k(!0), T(x, { key: 0 }, j(e.points, (t, n) => (k(), T("g", { key: n }, [e.fullSeries?.[q.value.start + e.rel[n]] != null && !Number.isNaN(e.fullSeries?.[q.value.start + e.rel[n]]) ? (k(), C(we, {
2117
+ ])) : C("", !0)], 64))])) : C("", !0)], 64))), 256)),
2118
+ (O(!0), w(b, null, A(Y.value, (e) => (O(), w(b, null, [q.value.end - q.value.start < B.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (O(!0), w(b, { key: 0 }, A(e.points, (t, n) => (O(), w("g", { key: n }, [e.fullSeries?.[q.value.start + e.rel[n]] != null && !Number.isNaN(e.fullSeries?.[q.value.start + e.rel[n]]) ? (O(), S(Te, {
2119
2119
  key: 0,
2120
2120
  shape: [
2121
2121
  "triangle",
@@ -2133,7 +2133,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2133
2133
  radius: hn.value && $.value === e.rel[n] ? B.value.style.chart.lines.dot.radius * 1.3 : B.value.style.chart.lines.dot.radius,
2134
2134
  stroke: B.value.style.chart.lines.dot.useSerieColor ? B.value.style.chart.lines.dot.stroke : e.color,
2135
2135
  strokeWidth: B.value.style.chart.lines.dot.strokeWidth,
2136
- transition: N(Ln) ? void 0 : `all ${B.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
2136
+ transition: M(Ln) ? void 0 : `all ${B.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
2137
2137
  }, null, 8, [
2138
2138
  "shape",
2139
2139
  "color",
@@ -2142,8 +2142,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2142
2142
  "stroke",
2143
2143
  "strokeWidth",
2144
2144
  "transition"
2145
- ])) : w("", !0)]))), 128)) : w("", !0)], 64))), 256)),
2146
- H.value.dataLabels.show && B.value.style.chart.lines.dataLabels.hideAboveMaxSerieLength > q.value.end - q.value.start ? (k(), T(x, { key: 13 }, [(k(!0), T(x, null, j(Y.value, (e, t) => (k(), T("g", { key: t }, [(k(!0), T(x, null, j(e.points, (n, r) => (k(), T(x, { key: r }, [Wi(e.series[r], e.proportions[r]) ? (k(), T("text", {
2145
+ ])) : C("", !0)]))), 128)) : C("", !0)], 64))), 256)),
2146
+ H.value.dataLabels.show && B.value.style.chart.lines.dataLabels.hideAboveMaxSerieLength > q.value.end - q.value.start ? (O(), w(b, { key: 13 }, [(O(!0), w(b, null, A(Y.value, (e, t) => (O(), w("g", { key: t }, [(O(!0), w(b, null, A(e.points, (n, r) => (O(), w(b, { key: r }, [Wi(e.series[r], e.proportions[r]) ? (O(), w("text", {
2147
2147
  key: 0,
2148
2148
  x: n.x,
2149
2149
  y: n.y + (e.series[r] >= 0 ? -B.value.style.chart.lines.dataLabels.fontSize / 2 + B.value.style.chart.lines.dataLabels.offsetY : B.value.style.chart.lines.dataLabels.fontSize * 1.2 - B.value.style.chart.lines.dataLabels.offsetY),
@@ -2151,11 +2151,11 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2151
2151
  fill: B.value.style.chart.lines.dataLabels.color,
2152
2152
  "font-weight": B.value.style.chart.lines.dataLabels.bold ? "bold" : "normal",
2153
2153
  "text-anchor": "middle"
2154
- }, Je(B.value.style.chart.lines.showDistributedPercentage && B.value.style.chart.lines.distributed ? qi(e.proportions[r] * 100, e, t, e.rel[r]) : Ki(e.series[r], e, t, e.rel[r], e.signedSeries[r])), 9, At)) : w("", !0)], 64))), 128))]))), 128)), B.value.style.chart.lines.totalValues.show && Y.value.length > 1 ? (k(), T("g", {
2154
+ }, Ye(B.value.style.chart.lines.showDistributedPercentage && B.value.style.chart.lines.distributed ? qi(e.proportions[r] * 100, e, t, e.rel[r]) : Ki(e.series[r], e, t, e.rel[r], e.signedSeries[r])), 9, jt)) : C("", !0)], 64))), 128))]))), 128)), B.value.style.chart.lines.totalValues.show && Y.value.length > 1 ? (O(), w("g", {
2155
2155
  key: 0,
2156
2156
  ref_key: "sumTop",
2157
2157
  ref: Sn
2158
- }, [(k(!0), T(x, null, j(Nr.value, (e, t) => (k(), T(x, null, [!B.value.style.chart.lines.dataLabels.hideEmptyValues || e.value !== 0 ? (k(), T("text", {
2158
+ }, [(O(!0), w(b, null, A(Nr.value, (e, t) => (O(), w(b, null, [!B.value.style.chart.lines.dataLabels.hideEmptyValues || e.value !== 0 ? (O(), w("text", {
2159
2159
  key: 0,
2160
2160
  x: Q(t),
2161
2161
  y: Fr(t),
@@ -2163,41 +2163,41 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2163
2163
  "font-size": B.value.style.chart.lines.totalValues.fontSize,
2164
2164
  "font-weight": B.value.style.chart.lines.totalValues.bold ? "bold" : "normal",
2165
2165
  fill: B.value.style.chart.lines.totalValues.color
2166
- }, Je(Ki(e.value, e, t, t, e.sign)), 9, jt)) : w("", !0)], 64))), 256))], 512)) : w("", !0)], 64)) : w("", !0),
2167
- yr.value ? (k(), T("rect", Be({ key: 14 }, mr.value, {
2166
+ }, Ye(Ki(e.value, e, t, t, e.sign)), 9, Mt)) : C("", !0)], 64))), 256))], 512)) : C("", !0)], 64)) : C("", !0),
2167
+ yr.value ? (O(), w("rect", Ve({ key: 14 }, mr.value, {
2168
2168
  "data-start": q.value.start,
2169
2169
  "data-end": q.value.end
2170
- }), null, 16, Mt)) : w("", !0),
2171
- M(t.$slots, "svg", { svg: {
2170
+ }), null, 16, Nt)) : C("", !0),
2171
+ j(t.$slots, "svg", { svg: {
2172
2172
  drawingArea: W.value,
2173
2173
  data: Y.value,
2174
- isPrintingImg: N(Yn) || N(Xn) || gn.value,
2174
+ isPrintingImg: M(Yn) || M(Xn) || gn.value,
2175
2175
  isPrintingSvg: _n.value
2176
2176
  } }, void 0, !0)
2177
- ], 46, it)), t.$slots.hint ? (k(), T("div", Nt, [M(t.$slots, "hint", O(D({
2177
+ ], 46, at)), t.$slots.hint ? (O(), w("div", Pt, [j(t.$slots, "hint", D(E({
2178
2178
  hint: B.value.a11y.translations.keyboardNavigation,
2179
2179
  isVisible: Zi.value
2180
- })), void 0, !0)])) : w("", !0)]),
2181
- t.$slots.watermark ? (k(), T("div", Pt, [M(t.$slots, "watermark", O(D({ isPrinting: N(Yn) || N(Xn) || gn.value || _n.value })), void 0, !0)])) : w("", !0),
2182
- fn.value && (B.value.style.chart.legend.show || t.$slots.legend) ? (k(), C(Fe, {
2180
+ })), void 0, !0)])) : C("", !0)]),
2181
+ t.$slots.watermark ? (O(), w("div", Ft, [j(t.$slots, "watermark", D(E({ isPrinting: M(Yn) || M(Xn) || gn.value || _n.value })), void 0, !0)])) : C("", !0),
2182
+ fn.value && (B.value.style.chart.legend.show || t.$slots.legend) ? (O(), S(Ie, {
2183
2183
  key: 6,
2184
2184
  to: B.value.style.chart.legend.position === "top" ? `#legend-top-${L.value}` : `#legend-bottom-${L.value}`
2185
- }, [E("div", {
2185
+ }, [T("div", {
2186
2186
  ref_key: "chartLegend",
2187
2187
  ref: nn
2188
- }, [M(t.$slots, "legend", { legend: yi.value }, () => [B.value.style.chart.legend.show ? (k(), C(Ne, {
2188
+ }, [j(t.$slots, "legend", { legend: yi.value }, () => [B.value.style.chart.legend.show ? (O(), S(Pe, {
2189
2189
  key: 0,
2190
2190
  legendSet: yi.value,
2191
2191
  config: bi.value,
2192
2192
  isCursorPointer: V.value,
2193
- onClickMarker: r[0] ||= ({ legend: e }) => e.segregate()
2194
- }, Ie({
2195
- item: P(({ legend: e }) => [N(Ln) ? w("", !0) : (k(), T("div", {
2193
+ onClickMarker: n[0] ||= ({ legend: e }) => e.segregate()
2194
+ }, Le({
2195
+ item: N(({ legend: e }) => [M(Ln) ? C("", !0) : (O(), w("div", {
2196
2196
  key: 0,
2197
2197
  onClick: (t) => e.segregate(),
2198
- style: Ue(`opacity:${R.value.includes(e.id) ? .5 : 1}`)
2199
- }, Je(e.name), 13, Ft))]),
2200
- legendToggle: P(() => [yi.value.length > 2 && B.value.style.chart.legend.selectAllToggle.show && !N(Ln) ? (k(), C(ke, {
2198
+ style: We(`opacity:${R.value.includes(e.id) ? .5 : 1}`)
2199
+ }, Ye(e.name), 13, It))]),
2200
+ legendToggle: N(() => [yi.value.length > 2 && B.value.style.chart.legend.selectAllToggle.show && !M(Ln) ? (O(), S(Ae, {
2201
2201
  key: 0,
2202
2202
  backgroundColor: B.value.style.chart.legend.selectAllToggle.backgroundColor,
2203
2203
  color: B.value.style.chart.legend.selectAllToggle.color,
@@ -2211,11 +2211,11 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2211
2211
  "fontSize",
2212
2212
  "checked",
2213
2213
  "isCursorPointer"
2214
- ])) : w("", !0)]),
2214
+ ])) : C("", !0)]),
2215
2215
  _: 2
2216
2216
  }, [t.$slots.pattern ? {
2217
2217
  name: "legend-pattern",
2218
- fn: P(({ legend: e, index: t }) => [Re(we, {
2218
+ fn: N(({ legend: e, index: t }) => [ze(Te, {
2219
2219
  shape: e.shape,
2220
2220
  radius: 30,
2221
2221
  stroke: "none",
@@ -2230,13 +2230,13 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2230
2230
  "legendSet",
2231
2231
  "config",
2232
2232
  "isCursorPointer"
2233
- ])) : w("", !0)], !0)], 512)], 8, ["to"])) : w("", !0),
2234
- Zt.value && B.value.userOptions.buttons.table ? (k(), C(Ke(Ni.value.component), Be({ key: 7 }, Ni.value.props, {
2233
+ ])) : C("", !0)], !0)], 512)], 8, ["to"])) : C("", !0),
2234
+ Qt.value && B.value.userOptions.buttons.table ? (O(), S(qe(Ni.value.component), Ve({ key: 7 }, Ni.value.props, {
2235
2235
  ref_key: "tableUnit",
2236
2236
  ref: pn,
2237
2237
  onClose: Pi
2238
- }), Ie({
2239
- content: P(() => [Re(N(Ht), {
2238
+ }), Le({
2239
+ content: N(() => [ze(M(Ut), {
2240
2240
  colNames: Ei.value.colNames,
2241
2241
  head: Ei.value.head,
2242
2242
  body: Ei.value.body,
@@ -2246,8 +2246,8 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2246
2246
  isCursorPointer: V.value,
2247
2247
  onClose: Pi
2248
2248
  }, {
2249
- th: P(({ th: e }) => [E("div", { innerHTML: e }, null, 8, It)]),
2250
- td: P(({ td: e }) => [Le(Je(isNaN(Number(e)) ? e : N(o)({
2249
+ th: N(({ th: e }) => [T("div", { innerHTML: e }, null, 8, Lt)]),
2250
+ td: N(({ td: e }) => [Re(Ye(isNaN(Number(e)) ? e : M(re)({
2251
2251
  p: B.value.style.chart.lines.dataLabels.prefix,
2252
2252
  v: e,
2253
2253
  s: B.value.style.chart.lines.dataLabels.suffix,
@@ -2266,22 +2266,22 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2266
2266
  _: 2
2267
2267
  }, [B.value.table.useDialog ? {
2268
2268
  name: "title",
2269
- fn: P(() => [Le(Je(Ni.value.title), 1)]),
2269
+ fn: N(() => [Re(Ye(Ni.value.title), 1)]),
2270
2270
  key: "0"
2271
2271
  } : void 0, B.value.table.useDialog ? {
2272
2272
  name: "actions",
2273
- fn: P(() => [E("button", {
2273
+ fn: N(() => [T("button", {
2274
2274
  tabindex: "0",
2275
2275
  class: "vue-ui-user-options-button",
2276
- onClick: r[1] ||= (e) => Ti(B.value.userOptions.callbacks.csv),
2277
- style: Ue({ cursor: V.value ? "pointer" : "default" })
2278
- }, [Re(N(Bt), {
2276
+ onClick: n[1] ||= (e) => Ti(B.value.userOptions.callbacks.csv),
2277
+ style: We({ cursor: V.value ? "pointer" : "default" })
2278
+ }, [ze(M(Vt), {
2279
2279
  name: "fileCsv",
2280
2280
  stroke: Ni.value.props.color
2281
2281
  }, null, 8, ["stroke"])], 4)]),
2282
2282
  key: "1"
2283
- } : void 0]), 1040)) : w("", !0),
2284
- B.value.style.chart.zoom.show && Zt.value && Zr.value && K.value > 6 ? (k(), C(Oe, {
2283
+ } : void 0]), 1040)) : C("", !0),
2284
+ B.value.style.chart.zoom.show && Qt.value && Zr.value && K.value > 6 ? (O(), S(ke, {
2285
2285
  key: 8,
2286
2286
  ref_key: "chartSlicer",
2287
2287
  ref: rn,
@@ -2337,20 +2337,20 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2337
2337
  "onUpdate:end": ti,
2338
2338
  "onUpdate:start": ei,
2339
2339
  onTrapMouse: _r,
2340
- onReset: r[2] ||= () => wr({ force: !0 }),
2341
- onFutureEnd: r[3] ||= (e) => br("end", e),
2342
- onFutureStart: r[4] ||= (e) => br("start", e)
2340
+ onReset: n[2] ||= () => wr({ force: !0 }),
2341
+ onFutureEnd: n[3] ||= (e) => br("end", e),
2342
+ onFutureStart: n[4] ||= (e) => br("start", e)
2343
2343
  }, {
2344
- "reset-action": P(({ reset: e }) => [M(t.$slots, "reset-action", O(D({ reset: e })), void 0, !0)]),
2345
- slotMap: P(({ width: e, height: t, unitW: n }) => [E("g", { innerHTML: Ui({
2344
+ "reset-action": N(({ reset: e }) => [j(t.$slots, "reset-action", D(E({ reset: e })), void 0, !0)]),
2345
+ slotMap: N(({ width: e, height: t, unitW: n }) => [T("g", { innerHTML: Ui({
2346
2346
  minimapW: e,
2347
2347
  minimapH: t,
2348
2348
  unitW: n
2349
- }) }, null, 8, Lt)]),
2349
+ }) }, null, 8, Rt)]),
2350
2350
  _: 3
2351
- }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : w("", !0),
2352
- E("div", { id: `legend-bottom-${L.value}` }, null, 8, Rt),
2353
- Re(N(zt), {
2351
+ }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : C("", !0),
2352
+ T("div", { id: `legend-bottom-${L.value}` }, null, 8, zt),
2353
+ ze(M(Bt), {
2354
2354
  teleportTo: B.value.style.chart.tooltip.teleportTo,
2355
2355
  show: H.value.showTooltip && $t.value,
2356
2356
  backgroundColor: B.value.style.chart.tooltip.backgroundColor,
@@ -2363,7 +2363,7 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2363
2363
  position: B.value.style.chart.tooltip.position,
2364
2364
  offsetX: B.value.style.chart.tooltip.offsetX,
2365
2365
  offsetY: B.value.style.chart.tooltip.offsetY,
2366
- parent: Qt.value,
2366
+ parent: I.value,
2367
2367
  content: mi.value,
2368
2368
  isFullscreen: sn.value,
2369
2369
  isCustom: B.value.style.chart.tooltip.customFormat && typeof B.value.style.chart.tooltip.customFormat == "function",
@@ -2374,9 +2374,9 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2374
2374
  isA11yMode: On.value === "keyboard",
2375
2375
  a11yPosition: Dn.value
2376
2376
  }, {
2377
- "tooltip-before": P(() => [M(t.$slots, "tooltip-before", O(D({ ...Yr.value })), void 0, !0)]),
2378
- tooltip: P(() => [M(t.$slots, "tooltip", O(D({ ...Yr.value })), void 0, !0)]),
2379
- "tooltip-after": P(() => [M(t.$slots, "tooltip-after", O(D({ ...Yr.value })), void 0, !0)]),
2377
+ "tooltip-before": N(() => [j(t.$slots, "tooltip-before", D(E({ ...Yr.value })), void 0, !0)]),
2378
+ tooltip: N(() => [j(t.$slots, "tooltip", D(E({ ...Yr.value })), void 0, !0)]),
2379
+ "tooltip-after": N(() => [j(t.$slots, "tooltip-after", D(E({ ...Yr.value })), void 0, !0)]),
2380
2380
  _: 3
2381
2381
  }, 8, [
2382
2382
  "teleportTo",
@@ -2402,15 +2402,15 @@ var $e = /* @__PURE__ */ e({ default: () => zt }), et = ["id"], tt = ["id"], nt
2402
2402
  "isA11yMode",
2403
2403
  "a11yPosition"
2404
2404
  ]),
2405
- t.$slots.source ? (k(), T("div", {
2405
+ t.$slots.source ? (O(), w("div", {
2406
2406
  key: 9,
2407
2407
  ref_key: "source",
2408
2408
  ref: on,
2409
2409
  dir: "auto"
2410
- }, [M(t.$slots, "source", {}, void 0, !0)], 512)) : w("", !0),
2411
- M(t.$slots, "skeleton", {}, () => [N(Ln) ? (k(), C(ge, { key: 0 })) : w("", !0)], !0)
2412
- ], 46, et));
2410
+ }, [j(t.$slots, "source", {}, void 0, !0)], 512)) : C("", !0),
2411
+ j(t.$slots, "skeleton", {}, () => [M(Ln) ? (O(), S(_e, { key: 0 })) : C("", !0)], !0)
2412
+ ], 46, tt));
2413
2413
  }
2414
2414
  }, [["__scopeId", "data-v-3de8d18e"]]);
2415
2415
  //#endregion
2416
- export { $e as n, zt as t };
2416
+ export { et as n, Bt as t };