vue-data-ui 3.10.0 → 3.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
  3. package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
  4. package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
  5. package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
  6. package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
  7. package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
  9. package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-D6MO5wwI.js} +1 -1
  10. package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
  11. package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
  12. package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
  13. package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
  14. package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
  15. package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
  16. package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
  17. package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +1 -1
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +1 -1
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +1 -1
  24. package/dist/components/vue-ui-bump.js +1 -1
  25. package/dist/components/vue-ui-candlestick.js +1 -1
  26. package/dist/components/vue-ui-carousel-table.js +1 -1
  27. package/dist/components/vue-ui-chestnut.js +1 -1
  28. package/dist/components/vue-ui-chord.js +1 -1
  29. package/dist/components/vue-ui-circle-pack.js +1 -1
  30. package/dist/components/vue-ui-cursor.js +1 -1
  31. package/dist/components/vue-ui-dag.js +1 -1
  32. package/dist/components/vue-ui-dashboard.js +1 -1
  33. package/dist/components/vue-ui-digits.js +1 -1
  34. package/dist/components/vue-ui-donut-evolution.js +1 -1
  35. package/dist/components/vue-ui-donut.js +1 -1
  36. package/dist/components/vue-ui-dumbbell.js +1 -1
  37. package/dist/components/vue-ui-flow.js +1 -1
  38. package/dist/components/vue-ui-funnel.js +1 -1
  39. package/dist/components/vue-ui-galaxy.js +1 -1
  40. package/dist/components/vue-ui-gauge.js +1 -1
  41. package/dist/components/vue-ui-geo.js +1 -1
  42. package/dist/components/vue-ui-gizmo.js +1 -1
  43. package/dist/components/vue-ui-heatmap.js +1 -1
  44. package/dist/components/vue-ui-history-plot.js +1 -1
  45. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  46. package/dist/components/vue-ui-icon.js +1 -1
  47. package/dist/components/vue-ui-kpi.js +1 -1
  48. package/dist/components/vue-ui-mini-loader.js +1 -1
  49. package/dist/components/vue-ui-molecule.js +1 -1
  50. package/dist/components/vue-ui-mood-radar.js +1 -1
  51. package/dist/components/vue-ui-nested-donuts.js +1 -1
  52. package/dist/components/vue-ui-onion.js +1 -1
  53. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  54. package/dist/components/vue-ui-quadrant.js +1 -1
  55. package/dist/components/vue-ui-quick-chart.js +1 -1
  56. package/dist/components/vue-ui-radar.js +1 -1
  57. package/dist/components/vue-ui-rating.js +1 -1
  58. package/dist/components/vue-ui-relation-circle.js +1 -1
  59. package/dist/components/vue-ui-ridgeline.js +1 -1
  60. package/dist/components/vue-ui-rings.js +1 -1
  61. package/dist/components/vue-ui-scatter.js +1 -1
  62. package/dist/components/vue-ui-skeleton.js +1 -1
  63. package/dist/components/vue-ui-smiley.js +1 -1
  64. package/dist/components/vue-ui-spark-trend.js +1 -1
  65. package/dist/components/vue-ui-sparkbar.js +1 -1
  66. package/dist/components/vue-ui-sparkgauge.js +1 -1
  67. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  68. package/dist/components/vue-ui-sparkline.js +1 -1
  69. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  70. package/dist/components/vue-ui-stackbar.js +1 -1
  71. package/dist/components/vue-ui-stackline.js +1 -1
  72. package/dist/components/vue-ui-strip-plot.js +1 -1
  73. package/dist/components/vue-ui-table-heatmap.js +1 -1
  74. package/dist/components/vue-ui-table-sparkline.js +1 -1
  75. package/dist/components/vue-ui-table.js +1 -1
  76. package/dist/components/vue-ui-thermometer.js +1 -1
  77. package/dist/components/vue-ui-timer.js +1 -1
  78. package/dist/components/vue-ui-tiremarks.js +1 -1
  79. package/dist/components/vue-ui-treemap.js +1 -1
  80. package/dist/components/vue-ui-vertical-bar.js +1 -1
  81. package/dist/components/vue-ui-waffle.js +1 -1
  82. package/dist/components/vue-ui-wheel.js +1 -1
  83. package/dist/components/vue-ui-word-cloud.js +1 -1
  84. package/dist/components/vue-ui-world.js +1 -1
  85. package/dist/components/vue-ui-xy-canvas.js +1 -1
  86. package/dist/components/vue-ui-xy.js +1 -1
  87. package/dist/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
  88. package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
  89. package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
  90. package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
  91. package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/types/vue-data-ui.d.ts +3 -1
  94. package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
  95. package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
  96. package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
  97. package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
  98. package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-BzP8Tvow.js} +68 -68
  99. package/dist/vue-data-ui.js +73 -73
  100. package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-CHeF8XHm.js} +222 -218
  101. package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
  102. package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-CJSA_Lp7.js} +177 -173
  103. package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
  104. package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-BGO-5x4w.js} +135 -131
  105. package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-Ds8aQyR-.js} +264 -260
  106. package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-Chk1Rxwa.js} +304 -300
  107. package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-BX4wS5vL.js} +4 -4
  108. package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-DRGQVzIZ.js} +326 -322
  109. package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-CzS4uqvo.js} +171 -167
  110. package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CTo8Eihw.js} +162 -158
  111. package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-DQ1eQR4G.js} +3 -3
  112. package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-Vw67oxw7.js} +451 -447
  113. package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-CBX0gXdp.js} +68 -68
  114. package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
  115. package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-8T6Nmsxq.js} +467 -463
  116. package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-C2QW-9s6.js} +354 -350
  117. package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-Bn9pd4ij.js} +240 -236
  118. package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-LxJoqDKq.js} +171 -167
  119. package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-Dijfg4TW.js} +133 -129
  120. package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-J7ABN21x.js} +146 -142
  121. package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DAUj4HG5.js} +175 -171
  122. package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-DZIQ7n5z.js} +123 -119
  123. package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-iP8kliCe.js} +3 -3
  124. package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-BzJ9NhwA.js} +231 -227
  125. package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CiKEQ6JR.js} +252 -248
  126. package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-HXGUUZ4g.js} +325 -321
  127. package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
  128. package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
  129. package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-BOOgtokk.js} +183 -179
  130. package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-DZzGx5Dp.js} +162 -158
  131. package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-BA1-O-gB.js} +178 -174
  132. package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-thpUoiBE.js} +185 -181
  133. package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-DR3Ipc9q.js} +195 -191
  134. package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CmCVv7Io.js} +243 -239
  135. package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-D7CQqjbb.js} +295 -291
  136. package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-C5BYiNeE.js} +168 -164
  137. package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
  138. package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-BkWUI7cy.js} +185 -181
  139. package/dist/vue-ui-ridgeline-CokXNDQ5.js +1306 -0
  140. package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-COs-uwPW.js} +299 -295
  141. package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-od9j3nbg.js} +354 -350
  142. package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-199nlzz-.js} +3 -3
  143. package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
  144. package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CCh-2vX7.js} +120 -116
  145. package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-TotwU9iC.js} +84 -80
  146. package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ma4q7p0M.js} +81 -77
  147. package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-DkkFMKuS.js} +109 -105
  148. package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-B9SwcngG.js} +184 -174
  149. package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-DYz-Vson.js} +99 -95
  150. package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-C_Tl2URC.js} +376 -372
  151. package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CXpElu5C.js} +347 -343
  152. package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-DzcjpnIg.js} +248 -244
  153. package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-D_TQyQhl.js} +5 -5
  154. package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
  155. package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-CF5BnI-6.js} +174 -170
  156. package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-BmmwTeyy.js} +133 -129
  157. package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-Bffy4n-P.js} +5 -5
  158. package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-pMFoFCHr.js} +156 -152
  159. package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-DSaqUKWM.js} +161 -157
  160. package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-BavDRJin.js} +185 -181
  161. package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-toELK-fC.js} +125 -121
  162. package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DCTGuXdW.js} +179 -175
  163. package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-7QFSvpGk.js} +6 -6
  164. package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-CTJtVYBG.js} +697 -693
  165. package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
  166. package/package.json +1 -1
  167. package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
@@ -1,41 +1,45 @@
1
- import { defineAsyncComponent as R, ref as i, shallowRef as pt, computed as v, onMounted as pl, toRefs as xl, nextTick as Be, watch as ie, watchEffect as kl, onBeforeUnmount as wl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as ee, normalizeClass as z, createBlock as B, createCommentVNode as d, createElementVNode as m, withCtx as y, renderSlot as A, normalizeProps as T, guardReactiveProps as I, createSlots as xt, createVNode as kt, Fragment as L, renderList as _, toDisplayString as k, Teleport as Dl, resolveDynamicComponent as Ll, mergeProps as _l, createTextVNode as Ee } from "vue";
2
- import { c as wt, o as Dt, g as ce, l as Sl, t as Fl, i as Bl, j as de, a1 as Lt, k as El, m as $e, a7 as $l, E as _t, N as zl, a3 as ze, a as Te, d as ve, X as Tl, s as te, a8 as Il, $ as Ol, a4 as Pl, a5 as Nl, a6 as St, v as Rl, r as Vl, a9 as Ft, aa as Ml } from "./lib-2iaAPQ_c.js";
3
- import { t as Bt, u as Ul } from "./useResponsive-DfdjqQps.js";
4
- import { u as Hl, a as Ie } from "./useNestedProp-BCt4DMkT.js";
5
- import { u as Xl } from "./usePrinter-ChVMpU2f.js";
6
- import { u as Wl, B as jl } from "./BaseScanner-BMpwQAfz.js";
7
- import { u as Gl } from "./useSvgExport-ByUukOZt.js";
8
- import { u as Yl } from "./useTimeLabels-DKoynYae.js";
9
- import { u as ql } from "./useThemeCheck-DGJ31Vi5.js";
10
- import { u as Jl } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as Kl } from "./useChartAccessibility-9icAAmYg.js";
12
- import { u as Ql } from "./useTimeLabelCollider-CIsgDrl9.js";
13
- import Zl from "./img-CqYIrJ8I.js";
14
- import eo from "./Title-B5L2jweB.js";
15
- import to from "./Legend-D2xmnFPH.js";
16
- import { S as lo } from "./Slicer-EQH4YKwe.js";
17
- import { _ as oo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A" }, dialog: { backgroundColor: "#1A1A1A", color: "#CCCCCC", header: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, donutChart: { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { labels: { percentage: { color: "#CCCCCC" }, name: { color: "#CCCCCC" }, hollow: { total: { color: "#CCCCCC", value: { color: "#CCCCCC" } }, average: { color: "#CCCCCC", value: { color: "#CCCCCC" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5A5A5A", yAxis: { dataLabels: { color: "#CCCCCC" } }, xAxis: { dataLabels: { color: "#CCCCCC" } } }, line: { stroke: "#4A4A4A" }, highlighter: { color: "#CCCCCC" }, dataLabels: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, $t = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, dialog: { backgroundColor: "#FFF8E1", color: "#424242", header: { backgroundColor: "##FFF8E1", color: "#424242" }, donutChart: { style: { chart: { backgroundColor: "##FFF8E1", color: "#424242", layout: { labels: { percentage: { color: "#424242" }, name: { color: "#424242" }, hollow: { total: { color: "#424242", value: { color: "#424242" } }, average: { color: "#424242", value: { color: "#424242" } } } } }, legend: { backgroundColor: "##FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5D4037", showVerticalLines: !1, yAxis: { dataLabels: { color: "#424242" } }, xAxis: { dataLabels: { color: "#424242" } } }, line: { stroke: "#5D4037" }, highlighter: { color: "#424242" }, dataLabels: { color: "#424242" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, zt = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, dialog: { backgroundColor: "#1E1E1E", color: "#BDBDBD", header: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, donutChart: { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { labels: { percentage: { color: "#BDBDBD" }, name: { color: "#BDBDBD" }, hollow: { total: { color: "#BDBDBD", value: { color: "#BDBDBD" } }, average: { color: "#BDBDBD", value: { color: "#BDBDBD" } } } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5D4037", showVerticalLines: !1, yAxis: { dataLabels: { color: "#BDBDBD" } }, xAxis: { dataLabels: { color: "#BDBDBD" } } }, line: { stroke: "#5D4037" }, highlighter: { color: "#FFF8E1" }, dataLabels: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Tt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, dialog: { backgroundColor: "#1A1A1A", color: "#BDBDBD", header: { backgroundColor: "#1A1A1A", color: "#BDBDBD" }, donutChart: { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { labels: { percentage: { color: "#99AA99" }, name: { color: "#99AA99" }, hollow: { total: { color: "#99AA99", value: { color: "#99AA99" } }, average: { color: "#99AA99", value: { color: "#99AA99" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { show: !1, stroke: "#5F6A5F", yAxis: { dataLabels: { color: "#AACCAA" } }, xAxis: { dataLabels: { color: "#AACCAA" } } }, line: { stroke: "#5F6A5F" }, highlighter: { color: "#66CC66" }, dataLabels: { color: "#AACCAA" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, It = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, dialog: { backgroundColor: "#fbfafa", color: "#8A9892", header: { backgroundColor: "#fbfafa", color: "#8A9892" }, donutChart: { style: { chart: { backgroundColor: "#fbfafa", color: "#99AA99", layout: { labels: { percentage: { color: "#A0AC94" }, name: { color: "#A0AC94" }, hollow: { total: { color: "#A0AC94", value: { color: "#A0AC94" } }, average: { color: "#A0AC94", value: { color: "#A0AC94" } } } } }, legend: { backgroundColor: "#fbfafa", color: "#A0AC94" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { show: !1, yAxis: { dataLabels: { show: !1 } }, xAxis: { dataLabels: { show: !1 } } }, line: { stroke: "#DCDFE7" }, highlighter: { color: "#8F837A" }, dataLabels: { color: "#A0AC94" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Ot = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, dialog: { backgroundColor: "#f6f6fb", color: "#50606C", header: { backgroundColor: "#f6f6fb", color: "#50606C" }, donutChart: { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { labels: { percentage: { color: "#61747E" }, name: { color: "#61747E" }, hollow: { total: { color: "#61747E", value: { color: "#61747E" } }, average: { color: "#61747E", value: { color: "#61747E" } } } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#BBC4D3", yAxis: { dataLabels: { color: "#61747E" } }, xAxis: { dataLabels: { color: "#61747E" } } }, line: { stroke: "#92B0AB" }, highlighter: { color: "#50606C" }, dataLabels: { color: "#61747E" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Pt = {
1
+ import { defineAsyncComponent as R, ref as i, shallowRef as pt, computed as v, onMounted as xl, toRefs as wl, nextTick as Be, watch as ie, watchEffect as Ll, onBeforeUnmount as Dl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as ee, normalizeClass as z, createBlock as B, createCommentVNode as d, createElementVNode as A, withCtx as f, renderSlot as m, normalizeProps as O, guardReactiveProps as T, createSlots as kt, createVNode as xt, Fragment as D, renderList as _, toDisplayString as x, Teleport as _l, resolveDynamicComponent as Sl, mergeProps as Fl, createTextVNode as Ee } from "vue";
2
+ import { c as wt, o as Lt, g as ce, l as Bl, t as El, i as $l, j as de, a1 as Dt, k as zl, m as $e, a7 as Ol, E as _t, N as Tl, a3 as ze, a as Oe, d as ve, X as Il, s as te, a8 as Pl, $ as Nl, a4 as Rl, a5 as Vl, a6 as St, v as Ml, r as Ul, a9 as Ft, aa as Hl } from "./lib-CVHM9FhP.js";
3
+ import { t as Bt, u as Xl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Wl, a as Te } from "./useNestedProp-Ckf_2P_V.js";
5
+ import { u as jl } from "./usePrinter-1NmjuP-i.js";
6
+ import { u as Gl, B as Yl } from "./BaseScanner-BMpwQAfz.js";
7
+ import { u as ql } from "./useSvgExport-ByUukOZt.js";
8
+ import { u as Jl } from "./useTimeLabels-DKoynYae.js";
9
+ import { u as Kl } from "./useThemeCheck-D1ZYXUwG.js";
10
+ import { u as Ql } from "./useUserOptionState-BIvW1Kz7.js";
11
+ import { u as Zl } from "./useChartAccessibility-9icAAmYg.js";
12
+ import { u as eo } from "./useTimeLabelCollider-CIsgDrl9.js";
13
+ import to from "./img-6fNF_rG0.js";
14
+ import lo from "./Title-NgeRXqRA.js";
15
+ import oo from "./Legend-DN5UJOBH.js";
16
+ import { S as ao } from "./Slicer-DckZxvyx.js";
17
+ import { _ as ro } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const Et = { userOptions: { show: !1 }, style: { chart: { layout: { grid: { showVerticalLines: !1 } }, dialog: { donutChart: { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 } } } } }, legend: { show: !1 } } } }, $t = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A" }, dialog: { backgroundColor: "#1A1A1A", color: "#CCCCCC", header: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, donutChart: { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { labels: { percentage: { color: "#CCCCCC" }, name: { color: "#CCCCCC" }, hollow: { total: { color: "#CCCCCC", value: { color: "#CCCCCC" } }, average: { color: "#CCCCCC", value: { color: "#CCCCCC" } } } } }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { showVerticalLines: !1, stroke: "#5A5A5A", yAxis: { dataLabels: { color: "#CCCCCC" } }, xAxis: { dataLabels: { color: "#CCCCCC" } } }, line: { stroke: "#4A4A4A" }, highlighter: { color: "#CCCCCC" }, dataLabels: { color: "#CCCCCC" } }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, zt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A" }, dialog: { backgroundColor: "#1A1A1A", color: "#CCCCCC", header: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, donutChart: { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { labels: { percentage: { color: "#CCCCCC" }, name: { color: "#CCCCCC" }, hollow: { total: { color: "#CCCCCC", value: { color: "#CCCCCC" } }, average: { color: "#CCCCCC", value: { color: "#CCCCCC" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5A5A5A", yAxis: { dataLabels: { color: "#CCCCCC" } }, xAxis: { dataLabels: { color: "#CCCCCC" } } }, line: { stroke: "#4A4A4A" }, highlighter: { color: "#CCCCCC" }, dataLabels: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Ot = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, dialog: { backgroundColor: "#FFF8E1", color: "#424242", header: { backgroundColor: "##FFF8E1", color: "#424242" }, donutChart: { style: { chart: { backgroundColor: "##FFF8E1", color: "#424242", layout: { labels: { percentage: { color: "#424242" }, name: { color: "#424242" }, hollow: { total: { color: "#424242", value: { color: "#424242" } }, average: { color: "#424242", value: { color: "#424242" } } } } }, legend: { backgroundColor: "##FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5D4037", showVerticalLines: !1, yAxis: { dataLabels: { color: "#424242" } }, xAxis: { dataLabels: { color: "#424242" } } }, line: { stroke: "#5D4037" }, highlighter: { color: "#424242" }, dataLabels: { color: "#424242" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Tt = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, dialog: { backgroundColor: "#1E1E1E", color: "#BDBDBD", header: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, donutChart: { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { labels: { percentage: { color: "#BDBDBD" }, name: { color: "#BDBDBD" }, hollow: { total: { color: "#BDBDBD", value: { color: "#BDBDBD" } }, average: { color: "#BDBDBD", value: { color: "#BDBDBD" } } } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5D4037", showVerticalLines: !1, yAxis: { dataLabels: { color: "#BDBDBD" } }, xAxis: { dataLabels: { color: "#BDBDBD" } } }, line: { stroke: "#5D4037" }, highlighter: { color: "#FFF8E1" }, dataLabels: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, It = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, dialog: { backgroundColor: "#1A1A1A", color: "#BDBDBD", header: { backgroundColor: "#1A1A1A", color: "#BDBDBD" }, donutChart: { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { labels: { percentage: { color: "#99AA99" }, name: { color: "#99AA99" }, hollow: { total: { color: "#99AA99", value: { color: "#99AA99" } }, average: { color: "#99AA99", value: { color: "#99AA99" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { show: !1, stroke: "#5F6A5F", yAxis: { dataLabels: { color: "#AACCAA" } }, xAxis: { dataLabels: { color: "#AACCAA" } } }, line: { stroke: "#5F6A5F" }, highlighter: { color: "#66CC66" }, dataLabels: { color: "#AACCAA" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Pt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, dialog: { backgroundColor: "#fbfafa", color: "#8A9892", header: { backgroundColor: "#fbfafa", color: "#8A9892" }, donutChart: { style: { chart: { backgroundColor: "#fbfafa", color: "#99AA99", layout: { labels: { percentage: { color: "#A0AC94" }, name: { color: "#A0AC94" }, hollow: { total: { color: "#A0AC94", value: { color: "#A0AC94" } }, average: { color: "#A0AC94", value: { color: "#A0AC94" } } } } }, legend: { backgroundColor: "#fbfafa", color: "#A0AC94" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { show: !1, yAxis: { dataLabels: { show: !1 } }, xAxis: { dataLabels: { show: !1 } } }, line: { stroke: "#DCDFE7" }, highlighter: { color: "#8F837A" }, dataLabels: { color: "#A0AC94" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Nt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, dialog: { backgroundColor: "#f6f6fb", color: "#50606C", header: { backgroundColor: "#f6f6fb", color: "#50606C" }, donutChart: { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { labels: { percentage: { color: "#61747E" }, name: { color: "#61747E" }, hollow: { total: { color: "#61747E", value: { color: "#61747E" } }, average: { color: "#61747E", value: { color: "#61747E" } } } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#BBC4D3", yAxis: { dataLabels: { color: "#61747E" } }, xAxis: { dataLabels: { color: "#61747E" } } }, line: { stroke: "#92B0AB" }, highlighter: { color: "#50606C" }, dataLabels: { color: "#61747E" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Rt = {
19
19
  default: {},
20
- dark: Et,
21
- celebration: $t,
22
- celebrationNight: zt,
23
- hack: Tt,
24
- zen: It,
25
- concrete: Ot
26
- }, fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
+ minimal: Et,
21
+ minimalDark: $t,
22
+ dark: zt,
23
+ celebration: Ot,
24
+ celebrationNight: Tt,
25
+ hack: It,
26
+ zen: Pt,
27
+ concrete: Nt
28
+ }, ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27
29
  __proto__: null,
28
- celebration: $t,
29
- celebrationNight: zt,
30
- concrete: Ot,
31
- dark: Et,
32
- default: Pt,
33
- hack: Tt,
34
- zen: It
35
- }, Symbol.toStringTag, { value: "Module" })), ao = ["id"], ro = ["id"], uo = ["xmlns", "viewBox"], no = ["x", "y", "width", "height"], so = ["id"], io = ["stop-color"], co = ["stop-color"], vo = ["id"], ho = ["stop-color"], go = ["stop-color"], fo = ["stop-color"], yo = { key: 1 }, bo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Co = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], mo = { key: 0 }, Ao = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], po = ["font-size", "fill", "transform"], xo = ["x", "y", "font-size", "fill"], ko = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wo = ["x", "y", "font-size", "fill", "font-weight"], Do = { key: 0 }, Lo = ["text-anchor", "font-size", "fill", "transform"], _o = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], So = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Fo = { key: 1 }, Bo = ["cx", "cy", "r", "fill"], Eo = { key: 0 }, $o = { key: 0 }, zo = ["d", "stroke"], To = ["text-anchor", "x", "y", "fill"], Io = ["cx", "cy", "r", "fill"], Oo = { key: 0 }, Po = ["cx", "cy", "fill"], No = { key: 1 }, Ro = ["d", "fill", "stroke"], Vo = { key: 2 }, Mo = ["d", "fill", "stroke"], Uo = ["x", "y", "font-size", "fill"], Ho = ["x", "y", "width", "height", "fill"], Xo = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Wo = {
30
+ celebration: Ot,
31
+ celebrationNight: Tt,
32
+ concrete: Nt,
33
+ dark: zt,
34
+ default: Rt,
35
+ hack: It,
36
+ minimal: Et,
37
+ minimalDark: $t,
38
+ zen: Pt
39
+ }, Symbol.toStringTag, { value: "Module" })), uo = ["id"], no = ["id"], so = ["xmlns", "viewBox"], io = ["x", "y", "width", "height"], co = ["id"], vo = ["stop-color"], ho = ["stop-color"], go = ["id"], Co = ["stop-color"], fo = ["stop-color"], yo = ["stop-color"], bo = { key: 1 }, Ao = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], mo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], po = { key: 0 }, ko = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xo = ["font-size", "fill", "transform"], wo = ["x", "y", "font-size", "fill"], Lo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Do = ["x", "y", "font-size", "fill", "font-weight"], _o = { key: 0 }, So = ["text-anchor", "font-size", "fill", "transform"], Fo = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], Bo = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Eo = { key: 1 }, $o = ["cx", "cy", "r", "fill"], zo = { key: 0 }, Oo = { key: 0 }, To = ["d", "stroke"], Io = ["text-anchor", "x", "y", "fill"], Po = ["cx", "cy", "r", "fill"], No = { key: 0 }, Ro = ["cx", "cy", "fill"], Vo = { key: 1 }, Mo = ["d", "fill", "stroke"], Uo = { key: 2 }, Ho = ["d", "fill", "stroke"], Xo = ["x", "y", "font-size", "fill"], Wo = ["x", "y", "width", "height", "fill"], jo = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Go = {
36
40
  key: 4,
37
41
  class: "vue-data-ui-watermark"
38
- }, jo = ["id"], Go = ["onClick"], Yo = { key: 0 }, qo = { key: 1 }, Jo = {
42
+ }, Yo = ["id"], qo = ["onClick"], Jo = { key: 0 }, Ko = { key: 1 }, Qo = {
39
43
  __name: "vue-ui-donut-evolution",
40
44
  props: {
41
45
  config: {
@@ -52,19 +56,19 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
52
56
  }
53
57
  },
54
58
  emits: ["selectLegend"],
55
- setup(Nt, { expose: Rt, emit: Vt }) {
56
- const Mt = R(() => import("./vue-ui-accordion-CAXPDm31.js")), Ut = R(() => import("./BaseIcon-B9bGT7HU.js")), Ht = R(() => import("./DataTable-DEwh__D8.js")), Xt = R(() => import("./PackageVersion-C-JOGZBL.js")), Wt = R(() => import("./PenAndPaper-CulSakut.js")), jt = R(() => import("./UserOptions-5pXc4J-c.js")), Gt = R(() => import("./vue-ui-donut-Ce4aLPAr.js").then((t) => t.a)), Oe = R(() => import("./BaseDraggableDialog-O2XSymlZ.js")), { vue_ui_donut_evolution: Yt } = Hl(), { isThemeValid: qt, warnInvalidTheme: Jt } = ql(), p = Nt, E = i(wt()), x = i([]), b = i(null), le = i(null), he = i(!1), V = i(null), O = i(null), Kt = i(null), Pe = i(0), Ne = i(0), Re = i(0), Ve = i(0), Me = i(0), ge = i(null), oe = i(null), fe = i(null), ye = i(null), Ue = i(!1), j = i(null), be = i(null), He = i(null), Xe = i(null), We = i(null), je = i(null), Ge = i(null), Ce = i(!1), G = pt(null), ae = pt(null), Ye = i(null), qe = Vt, Je = v(() => !!p.dataset && p.dataset.length);
57
- pl(() => {
59
+ setup(Vt, { expose: Mt, emit: Ut }) {
60
+ const Ht = R(() => import("./vue-ui-accordion-DFKaB_05.js")), Xt = R(() => import("./BaseIcon-4uOct8re.js")), Wt = R(() => import("./DataTable-DyoDzNNY.js")), jt = R(() => import("./PackageVersion-D6MO5wwI.js")), Gt = R(() => import("./PenAndPaper-LTuSTmWE.js")), Yt = R(() => import("./UserOptions-CX7Xsusk.js")), qt = R(() => import("./vue-ui-donut-8T6Nmsxq.js").then((t) => t.a)), Ie = R(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_donut_evolution: Jt } = Wl(), { isThemeValid: Kt, warnInvalidTheme: Qt } = Kl(), p = Vt, E = i(wt()), k = i([]), y = i(null), le = i(null), he = i(!1), V = i(null), I = i(null), Zt = i(null), Pe = i(0), Ne = i(0), Re = i(0), Ve = i(0), Me = i(0), ge = i(null), oe = i(null), Ce = i(null), fe = i(null), Ue = i(!1), j = i(null), ye = i(null), He = i(null), Xe = i(null), We = i(null), je = i(null), Ge = i(null), be = i(!1), G = pt(null), ae = pt(null), Ye = i(null), qe = Ut, Je = v(() => !!p.dataset && p.dataset.length);
61
+ xl(() => {
58
62
  Ue.value = !0, Ke();
59
63
  });
60
64
  const re = v(() => !!e.value.debug);
61
65
  function Ke() {
62
- if (Dt(p.dataset) ? (ce({
66
+ if (Lt(p.dataset) ? (ce({
63
67
  componentName: "VueUiDonutEvolution",
64
68
  type: "dataset",
65
69
  debug: re.value
66
70
  }), ue.value = !0) : p.dataset.length && p.dataset.forEach((t, o) => {
67
- Sl({
71
+ Bl({
68
72
  datasetObject: t,
69
73
  requiredAttributes: ["name", "values"]
70
74
  }).forEach((l) => {
@@ -76,13 +80,13 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
76
80
  debug: re.value
77
81
  }), ue.value = !0;
78
82
  });
79
- }), Dt(p.dataset) || (ue.value = e.value.loading), setTimeout(() => {
80
- Ce.value = !0;
81
- }, 10), Ae(), e.value.responsive) {
83
+ }), Lt(p.dataset) || (ue.value = e.value.loading), setTimeout(() => {
84
+ be.value = !0;
85
+ }, 10), me(), e.value.responsive) {
82
86
  const t = Bt(() => {
83
- Ce.value = !1;
84
- const { width: o, height: l } = Ul({
85
- chart: O.value,
87
+ be.value = !1;
88
+ const { width: o, height: l } = Xl({
89
+ chart: I.value,
86
90
  title: e.value.style.chart.title.text ? He.value : null,
87
91
  legend: e.value.style.chart.legend.show ? Xe.value : null,
88
92
  slicer: e.value.style.chart.zoom.show && Ze.value > 1 ? Ge.value : null,
@@ -90,20 +94,20 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
90
94
  });
91
95
  requestAnimationFrame(() => {
92
96
  X.value.width = o, X.value.height = l - 12, clearTimeout(Ye.value), Ye.value = setTimeout(() => {
93
- Ce.value = !0;
97
+ be.value = !0;
94
98
  }, 10);
95
99
  });
96
100
  });
97
- G.value && (ae.value && G.value.unobserve(ae.value), G.value.disconnect()), G.value = new ResizeObserver(t), ae.value = O.value.parentNode, G.value.observe(ae.value);
101
+ G.value && (ae.value && G.value.unobserve(ae.value), G.value.disconnect()), G.value = new ResizeObserver(t), ae.value = I.value.parentNode, G.value.observe(ae.value);
98
102
  }
99
103
  }
100
- const e = i(ke()), { loading: Qe, FINAL_DATASET: me, manualLoading: ue } = Wl({
101
- ...xl(p),
104
+ const e = i(xe()), { loading: Qe, FINAL_DATASET: Ae, manualLoading: ue } = Gl({
105
+ ...wl(p),
102
106
  FINAL_CONFIG: e,
103
- prepareConfig: ke,
107
+ prepareConfig: xe,
104
108
  callback: () => {
105
109
  Promise.resolve().then(async () => {
106
- await Ae();
110
+ await me();
107
111
  });
108
112
  },
109
113
  skeletonDataset: [
@@ -123,7 +127,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
123
127
  color: "#CACACA"
124
128
  }
125
129
  ],
126
- skeletonConfig: Fl({
130
+ skeletonConfig: El({
127
131
  defaultConfig: e.value,
128
132
  userConfig: {
129
133
  useCssAnimation: !1,
@@ -171,63 +175,63 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
171
175
  }), X = i({
172
176
  width: e.value.style.chart.layout.width,
173
177
  height: e.value.style.chart.layout.height
174
- }), Ze = v(() => Math.max(...me.value.map((t) => t.values.length))), h = i({
178
+ }), Ze = v(() => Math.max(...Ae.value.map((t) => t.values.length))), h = i({
175
179
  start: 0,
176
180
  end: Ze.value
177
181
  });
178
182
  function et() {
179
- Ae();
183
+ me();
180
184
  }
181
- async function Ae() {
185
+ async function me() {
182
186
  await Be(), await Be();
183
187
  const { startIndex: t, endIndex: o } = e.value.style.chart.zoom, l = je.value;
184
- h.value = { start: 0, max: F.value }, (t != null || o != null) && l ? (t != null ? l.setStartValue(t) : (h.value.start = 0, l.setStartValue(0)), o != null ? l.setEndValue(Qt(o + 1)) : (h.value.end = F.value, l.setEndValue(F.value))) : (h.value = {
188
+ h.value = { start: 0, max: F.value }, (t != null || o != null) && l ? (t != null ? l.setStartValue(t) : (h.value.start = 0, l.setStartValue(0)), o != null ? l.setEndValue(el(o + 1)) : (h.value.end = F.value, l.setEndValue(F.value))) : (h.value = {
185
189
  start: 0,
186
190
  end: F.value
187
191
  }, Ne.value += 1);
188
192
  }
189
- function Qt(t) {
193
+ function el(t) {
190
194
  const o = F.value;
191
195
  return t > o ? o : t < 0 || e.value.style.chart.zoom.startIndex !== null && t < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : t;
192
196
  }
193
- const { userOptionsVisible: pe, setUserOptionsVisibility: tt, keepUserOptionState: lt } = Jl({ config: e.value }), { svgRef: xe } = Kl({ config: e.value.style.chart.title });
194
- function ke() {
195
- const t = Ie({
197
+ const { userOptionsVisible: pe, setUserOptionsVisibility: tt, keepUserOptionState: lt } = Ql({ config: e.value }), { svgRef: ke } = Zl({ config: e.value.style.chart.title });
198
+ function xe() {
199
+ const t = Te({
196
200
  userConfig: p.config,
197
- defaultConfig: Yt
201
+ defaultConfig: Jt
198
202
  });
199
203
  let o = {};
200
204
  const l = t.theme;
201
205
  if (l)
202
- if (!qt.value(t))
203
- Jt(t), o = t;
206
+ if (!Kt.value(t))
207
+ Qt(t), o = t;
204
208
  else {
205
- const r = Ie({
206
- userConfig: Pt[l] || p.config,
209
+ const r = Te({
210
+ userConfig: Rt[l] || p.config,
207
211
  defaultConfig: t
208
212
  });
209
213
  o = {
210
- ...Ie({
214
+ ...Te({
211
215
  userConfig: p.config,
212
216
  defaultConfig: r
213
217
  }),
214
- customPalette: t.customPalette ? t.customPalette : Bl[l] || de
218
+ customPalette: t.customPalette ? t.customPalette : $l[l] || de
215
219
  };
216
220
  }
217
221
  else
218
222
  o = t;
219
- return p.config && Lt(p.config, "style.chart.zoom.startIndex") ? o.style.chart.zoom.startIndex = p.config.style.chart.zoom.startIndex : o.style.chart.zoom.startIndex = null, p.config && Lt(p.config, "style.chart.zoom.endIndex") ? o.style.chart.zoom.endIndex = p.config.style.chart.zoom.endIndex : o.style.chart.zoom.endIndex = null, o;
223
+ return p.config && Dt(p.config, "style.chart.zoom.startIndex") ? o.style.chart.zoom.startIndex = p.config.style.chart.zoom.startIndex : o.style.chart.zoom.startIndex = null, p.config && Dt(p.config, "style.chart.zoom.endIndex") ? o.style.chart.zoom.endIndex = p.config.style.chart.zoom.endIndex : o.style.chart.zoom.endIndex = null, o;
220
224
  }
221
225
  ie(() => p.config, (t) => {
222
- Qe.value || (e.value = ke()), pe.value = !e.value.userOptions.showOnChartHover, Ke(), Re.value += 1, Ve.value += 1, Me.value += 1, M.value.showTable = e.value.table.show;
226
+ Qe.value || (e.value = xe()), pe.value = !e.value.userOptions.showOnChartHover, Ke(), Re.value += 1, Ve.value += 1, Me.value += 1, M.value.showTable = e.value.table.show;
223
227
  }, { deep: !0 }), ie(() => p.dataset, (t) => {
224
228
  Array.isArray(t) && t.length > 0 && (ue.value = !1), et();
225
229
  }, { deep: !0 });
226
- const { isPrinting: ot, isImaging: at, generatePdf: rt, generateImage: ut } = Xl({
230
+ const { isPrinting: ot, isImaging: at, generatePdf: rt, generateImage: ut } = jl({
227
231
  elementId: E.value,
228
232
  fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
229
233
  options: e.value.userOptions.print
230
- }), Zt = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), el = v(() => El(e.value.customPalette)), M = i({
234
+ }), tl = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), ll = v(() => zl(e.value.customPalette)), M = i({
231
235
  showTable: e.value.table.show
232
236
  });
233
237
  ie(e, () => {
@@ -241,48 +245,48 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
241
245
  bottom: e.value.style.chart.layout.padding.bottom,
242
246
  left: e.value.style.chart.layout.padding.left
243
247
  }));
244
- function tl() {
248
+ function ol() {
245
249
  let t = 0;
246
- ge.value && (t = Array.from(ge.value.querySelectorAll("text")).reduce((a, f) => {
247
- const g = f.getComputedTextLength();
250
+ ge.value && (t = Array.from(ge.value.querySelectorAll("text")).reduce((a, C) => {
251
+ const g = C.getComputedTextLength();
248
252
  return g > a ? g : a;
249
253
  }, 0));
250
- const o = ye.value ? ye.value.getBoundingClientRect().width + e.value.style.chart.layout.grid.axis.yLabelOffsetX + e.value.style.chart.layout.grid.axis.fontSize : 0;
254
+ const o = fe.value ? fe.value.getBoundingClientRect().width + e.value.style.chart.layout.grid.axis.yLabelOffsetX + e.value.style.chart.layout.grid.axis.fontSize : 0;
251
255
  return t + o + 5;
252
256
  }
253
- const we = i(0), ll = Bt((t) => {
257
+ const we = i(0), al = Bt((t) => {
254
258
  we.value = t;
255
259
  }, 100);
256
- kl((t) => {
260
+ Ll((t) => {
257
261
  const o = oe.value;
258
262
  if (!o) return;
259
263
  const l = new ResizeObserver((r) => {
260
- ll(r[0].contentRect.height);
264
+ al(r[0].contentRect.height);
261
265
  });
262
266
  l.observe(o), t(() => l.disconnect());
263
- }), wl(() => {
267
+ }), Dl(() => {
264
268
  we.value = 0;
265
269
  });
266
270
  const nt = v(() => {
267
271
  let t = 0;
268
- fe.value && (t = fe.value.getBBox().height);
272
+ Ce.value && (t = Ce.value.getBBox().height);
269
273
  let o = 0;
270
274
  return oe.value && (o = we.value), t + o + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
271
275
  }), s = v(() => {
272
- const t = tl(), o = e.value.style.chart.layout.dataLabels.fontSize * 3, l = X.value.width, r = X.value.height, a = U.value.left + t, f = l - U.value.right, g = l - a - U.value.right, C = r - U.value.top - U.value.bottom - o - nt.value, N = U.value.top + o, Q = r - U.value.bottom - nt.value;
276
+ const t = ol(), o = e.value.style.chart.layout.dataLabels.fontSize * 3, l = X.value.width, r = X.value.height, a = U.value.left + t, C = l - U.value.right, g = l - a - U.value.right, b = r - U.value.top - U.value.bottom - o - nt.value, N = U.value.top + o, Q = r - U.value.bottom - nt.value;
273
277
  return {
274
278
  top: N,
275
279
  left: a,
276
- right: f,
280
+ right: C,
277
281
  bottom: Q,
278
282
  absoluteHeight: r,
279
283
  absoluteWidth: l,
280
284
  centerX: a + Math.max(10, g) / 2,
281
- centerY: N + Math.max(10, C) / 2,
285
+ centerY: N + Math.max(10, b) / 2,
282
286
  width: Math.max(10, g),
283
- height: Math.max(10, C)
287
+ height: Math.max(10, b)
284
288
  };
285
- }), $ = v(() => (me.value.forEach((t, o) => {
289
+ }), $ = v(() => (Ae.value.forEach((t, o) => {
286
290
  [null, void 0].includes(t.name) && ce({
287
291
  componentName: "VueUiDonutEvolution",
288
292
  type: "datasetSerieAttribute",
@@ -296,16 +300,16 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
296
300
  index: o,
297
301
  debug: re.value
298
302
  });
299
- }), me.value.map((t, o) => ({
303
+ }), Ae.value.map((t, o) => ({
300
304
  ...t,
301
- values: $l(t.values),
302
- color: $e(t.color) || el.value[o] || de[o] || de[o % de.length],
305
+ values: Ol(t.values),
306
+ color: $e(t.color) || ll.value[o] || de[o] || de[o % de.length],
303
307
  length: (t.values || []).length,
304
308
  uid: wt()
305
- })))), Y = v(() => $.value.filter((t) => !x.value.includes(t.uid)).map((t) => ({
309
+ })))), Y = v(() => $.value.filter((t) => !k.value.includes(t.uid)).map((t) => ({
306
310
  ...t,
307
311
  values: t.values.filter((o, l) => l >= h.value.start && l <= h.value.end)
308
- }))), F = v(() => Math.max(...Y.value.map((t) => t.length))), D = v(() => Yl({
312
+ }))), F = v(() => Math.max(...Y.value.map((t) => t.length))), L = v(() => Jl({
309
313
  values: e.value.style.chart.layout.grid.xAxis.dataLabels.values,
310
314
  maxDatapoints: F.value,
311
315
  formatter: e.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
@@ -314,17 +318,17 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
314
318
  })), w = v(() => s.value.width / (h.value.end - h.value.start)), ne = v(() => {
315
319
  const t = [];
316
320
  for (let o = 0; o < h.value.end - h.value.start; o += 1) {
317
- const l = Y.value.map((C) => C.values[o] ?? null), r = l.filter((C) => [void 0, null].includes(C)).length === l.length, a = l.reduce((C, N) => C + N, 0), f = l.map((C) => C / a), g = s.value.left + w.value * o + w.value / 2;
321
+ const l = Y.value.map((b) => b.values[o] ?? null), r = l.filter((b) => [void 0, null].includes(b)).length === l.length, a = l.reduce((b, N) => b + N, 0), C = l.map((b) => b / a), g = s.value.left + w.value * o + w.value / 2;
318
322
  t.push({
319
323
  index: o,
320
- percentages: f,
324
+ percentages: C,
321
325
  subtotal: r || a < 0 ? null : a,
322
326
  values: l,
323
327
  x: g
324
328
  });
325
329
  }
326
330
  return t;
327
- }), De = v(() => {
331
+ }), Le = v(() => {
328
332
  const t = Math.max(...ne.value.map((a) => a.subtotal).filter((a) => _t(a))) ?? 1, o = Math.min(...ne.value.map((a) => a.subtotal).filter((a) => _t(a))) ?? 0;
329
333
  let l = Math.max(e.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, t), r;
330
334
  return e.value.style.chart.layout.grid.yAxis.scaleMin != null ? r = Math.min(o, e.value.style.chart.layout.grid.yAxis.scaleMin) : r = 0, e.value.style.chart.layout.grid.yAxis.autoScale && (r = o, l = t), r === l && (r = l / 2, l *= 1.5), {
@@ -332,37 +336,37 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
332
336
  min: r
333
337
  };
334
338
  }), P = v(() => {
335
- const t = ne.value.length === 1 ? De.value.max * 2 : De.value.max;
336
- return zl(De.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
339
+ const t = ne.value.length === 1 ? Le.value.max * 2 : Le.value.max;
340
+ return Tl(Le.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
337
341
  });
338
342
  function st(t) {
339
343
  return (t - P.value.min) / (P.value.max - P.value.min);
340
344
  }
341
- const ol = v(() => P.value.ticks.map((t) => ({
345
+ const rl = v(() => P.value.ticks.map((t) => ({
342
346
  y: s.value.bottom - s.value.height * st(t),
343
347
  value: t
344
348
  }))), S = v(() => {
345
349
  const t = ne.value, o = Math.max(...t.map((l) => l.subtotal));
346
350
  return t.length === 1 && o * 2, t.map((l, r) => {
347
- const a = Math.min(s.value.width / 24, w.value / 2 * 0.7), f = a > s.value.width / 16 ? s.value.width / 16 : a, g = b.value === l.index ? s.value.width / 16 : f, C = t.length > 4 ? a * 2 : a * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : a * 2, N = s.value.bottom - s.value.height * st(l.subtotal), Q = Y.value.map((Z) => ({
351
+ const a = Math.min(s.value.width / 24, w.value / 2 * 0.7), C = a > s.value.width / 16 ? s.value.width / 16 : a, g = y.value === l.index ? s.value.width / 16 : C, b = t.length > 4 ? a * 2 : a * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : a * 2, N = s.value.bottom - s.value.height * st(l.subtotal), Q = Y.value.map((Z) => ({
348
352
  color: Z.color,
349
353
  name: Z.name,
350
354
  value: Z.values[r] ?? 0
351
- })).toSorted((Z, Al) => Al.value - Z.value);
355
+ })).toSorted((Z, kl) => kl.value - Z.value);
352
356
  return {
353
357
  ...l,
354
358
  y: N,
355
- radius: f,
359
+ radius: C,
356
360
  activeRadius: g,
357
- hoverRadius: C,
358
- donut: ze({ series: Q }, l.x, N, f, f, 1.99999, 2, 1, 360, 105.25, f / 2),
359
- donutHover: ze({ series: Q }, l.x, N, C, C, 1.99999, 2, 1, 360, 105.25, C / 2),
361
+ hoverRadius: b,
362
+ donut: ze({ series: Q }, l.x, N, C, C, 1.99999, 2, 1, 360, 105.25, C / 2),
363
+ donutHover: ze({ series: Q }, l.x, N, b, b, 1.99999, 2, 1, 360, 105.25, b / 2),
360
364
  donutFocus: ze({ series: Q }, s.value.centerX, s.value.centerY, s.value.height / 3.6, s.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, s.value.height / 6)
361
365
  };
362
366
  });
363
367
  });
364
368
  function it(t, o, l) {
365
- return Te(
369
+ return Oe(
366
370
  e.value.style.chart.layout.dataLabels.formatter,
367
371
  t,
368
372
  ve({
@@ -374,20 +378,20 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
374
378
  { datapoint: o, index: l }
375
379
  );
376
380
  }
377
- function al(t, o) {
381
+ function ul(t, o) {
378
382
  return isNaN(t.value / Ft(o, "value")) ? 0 : (t.value / Ft(o, "value") * 100).toFixed(0) + "%";
379
383
  }
380
384
  function ct(t) {
381
- b.value = null, le.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex + h.value.start });
385
+ y.value = null, le.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex + h.value.start });
382
386
  }
383
- function rl(t) {
384
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), b.value = t.index, le.value = t;
387
+ function nl(t) {
388
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), y.value = t.index, le.value = t;
385
389
  }
386
390
  const q = i(null);
387
391
  function dt(t, o) {
388
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (le.value = null, b.value = null, he.value = !0, V.value = t, cl(t), [null, void 0].includes(o) || (q.value = o));
392
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (le.value = null, y.value = null, he.value = !0, V.value = t, vl(t), [null, void 0].includes(o) || (q.value = o));
389
393
  }
390
- const Le = v(() => $.value.map((t, o) => ({
394
+ const De = v(() => $.value.map((t, o) => ({
391
395
  name: t.name,
392
396
  value: t.values.slice(h.value.start, h.value.end).reduce((l, r) => l + r, 0),
393
397
  shape: "circle",
@@ -395,10 +399,10 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
395
399
  color: t.color
396
400
  })).sort((t, o) => o.value - t.value).map((t, o) => ({
397
401
  ...t,
398
- opacity: x.value.includes(t.uid) ? 0.5 : 1,
402
+ opacity: k.value.includes(t.uid) ? 0.5 : 1,
399
403
  segregate: () => J(t.uid),
400
- isSegregated: x.value.includes(t.uid),
401
- display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Te(
404
+ isSegregated: k.value.includes(t.uid),
405
+ display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Oe(
402
406
  e.value.style.chart.layout.dataLabels.formatter,
403
407
  t.value,
404
408
  ve({
@@ -408,12 +412,12 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
408
412
  r: e.value.style.chart.legend.roundingValue
409
413
  }),
410
414
  { datapoint: t, seriesIndex: o }
411
- ) : ""}${e.value.style.chart.legend.showPercentage ? x.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / vt.value) ? "-" : ve({
415
+ ) : ""}${e.value.style.chart.legend.showPercentage ? k.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / vt.value) ? "-" : ve({
412
416
  v: t.value / vt.value * 100,
413
417
  s: "%",
414
418
  r: e.value.style.chart.legend.roundingPercentage
415
419
  })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
416
- }))), vt = v(() => S.value.map((t) => t.subtotal).reduce((t, o) => t + o, 0)), ul = v(() => ({
420
+ }))), vt = v(() => S.value.map((t) => t.subtotal).reduce((t, o) => t + o, 0)), sl = v(() => ({
417
421
  cy: "donut-div-legend",
418
422
  backgroundColor: e.value.style.chart.legend.backgroundColor,
419
423
  color: e.value.style.chart.legend.color,
@@ -422,11 +426,11 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
422
426
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
423
427
  }));
424
428
  function J(t) {
425
- if (x.value.includes(t))
426
- x.value = x.value.filter((o) => o !== t), qe("selectLegend", Y.value);
429
+ if (k.value.includes(t))
430
+ k.value = k.value.filter((o) => o !== t), qe("selectLegend", Y.value);
427
431
  else {
428
- if (x.value.length === $.value.length - 1) return;
429
- x.value.push(t), qe("selectLegend", Y.value);
432
+ if (k.value.length === $.value.length - 1) return;
433
+ k.value.push(t), qe("selectLegend", Y.value);
430
434
  }
431
435
  V.value && dt(S.value.find((o, l) => l === q.value));
432
436
  }
@@ -436,26 +440,26 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
436
440
  const o = $.value.find((l) => l.name === t);
437
441
  return o || (e.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${t}"`), null);
438
442
  }
439
- function nl(t) {
443
+ function il(t) {
440
444
  const o = ht(t);
441
- o !== null && x.value.includes(o.uid) && J(o.uid);
445
+ o !== null && k.value.includes(o.uid) && J(o.uid);
442
446
  }
443
- function sl(t) {
447
+ function cl(t) {
444
448
  const o = ht(t);
445
- o !== null && (x.value.includes(o.uid) || J(o.uid));
449
+ o !== null && (k.value.includes(o.uid) || J(o.uid));
446
450
  }
447
451
  const W = v(() => {
448
- const t = [""].concat($.value.filter((a) => !x.value.includes(a.uid)).map((a) => ({
452
+ const t = [""].concat($.value.filter((a) => !k.value.includes(a.uid)).map((a) => ({
449
453
  name: a.name,
450
454
  color: a.color
451
455
  }))).concat(["Σ"]);
452
456
  let o = [];
453
457
  for (let a = 0; a < F.value; a += 1) {
454
- const f = $.value.filter((g) => !x.value.includes(g.uid)).map((g) => g.values[a] ?? 0).reduce((g, C) => g + C, 0);
455
- o.push([D.value[a] ? D.value[a].text : "-"].concat($.value.filter((g) => !x.value.includes(g.uid)).map((g) => ({
458
+ const C = $.value.filter((g) => !k.value.includes(g.uid)).map((g) => g.values[a] ?? 0).reduce((g, b) => g + b, 0);
459
+ o.push([L.value[a] ? L.value[a].text : "-"].concat($.value.filter((g) => !k.value.includes(g.uid)).map((g) => ({
456
460
  value: g.values[a] ?? 0,
457
- percentage: g.values[a] ? g.values[a] / f * 100 : 0
458
- }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
461
+ percentage: g.values[a] ? g.values[a] / C * 100 : 0
462
+ }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(C.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
459
463
  }
460
464
  const l = {
461
465
  th: {
@@ -471,73 +475,73 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
471
475
  breakpoint: e.value.table.responsiveBreakpoint
472
476
  }, r = [
473
477
  e.value.table.columnNames.period
474
- ].concat($.value.filter((a) => !x.value.includes(a.uid)).map((a) => a.name)).concat(e.value.table.columnNames.total);
478
+ ].concat($.value.filter((a) => !k.value.includes(a.uid)).map((a) => a.name)).concat(e.value.table.columnNames.total);
475
479
  return { head: t, body: o, config: l, colNames: r };
476
480
  });
477
- function il() {
481
+ function dl() {
478
482
  return $.value;
479
483
  }
480
484
  function _e(t = null) {
481
485
  Be(() => {
482
- const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...W.value.head.map((g) => g.name ?? g)], r = [...W.value.body.map((g) => g.map((C) => C.value ?? C))], a = o.concat([l]).concat(r), f = Rl(a);
483
- t ? t(f) : Vl({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
486
+ const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...W.value.head.map((g) => g.name ?? g)], r = [...W.value.body.map((g) => g.map((b) => b.value ?? b))], a = o.concat([l]).concat(r), C = Ml(a);
487
+ t ? t(C) : Ul({ csvContent: C, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
484
488
  });
485
489
  }
486
490
  const H = i(!1);
487
491
  function gt(t) {
488
492
  H.value = t, Pe.value += 1;
489
493
  }
490
- function ft() {
494
+ function Ct() {
491
495
  M.value.showTable = !M.value.showTable;
492
496
  }
493
497
  const se = i(!1);
494
498
  function Se() {
495
499
  se.value = !se.value;
496
500
  }
497
- function yt(t) {
501
+ function ft(t) {
498
502
  return t.proportion * 100 > e.value.style.chart.donuts.hover.hideLabelsUnderValue;
499
503
  }
500
- const bt = i([]), Ct = i({}), Fe = i(null);
501
- function cl(t) {
502
- bt.value = t.donut.map((o) => ({
504
+ const yt = i([]), bt = i({}), Fe = i(null);
505
+ function vl(t) {
506
+ yt.value = t.donut.map((o) => ({
503
507
  name: o.name,
504
508
  values: [o.value],
505
509
  color: o.color
506
- })), Ct.value = Ml({
510
+ })), bt.value = Hl({
507
511
  ...e.value.style.chart.dialog.donutChart,
508
512
  responsive: !0,
509
513
  theme: e.value.theme
510
514
  }), Fe.value && Fe.value.open();
511
515
  }
512
- async function dl({ scale: t = 2 } = {}) {
513
- if (!O.value) return;
514
- const { width: o, height: l } = O.value.getBoundingClientRect(), r = o / l, { imageUri: a, base64: f } = await Zl({ domElement: O.value, base64: !0, img: !0, scale: t });
516
+ async function hl({ scale: t = 2 } = {}) {
517
+ if (!I.value) return;
518
+ const { width: o, height: l } = I.value.getBoundingClientRect(), r = o / l, { imageUri: a, base64: C } = await to({ domElement: I.value, base64: !0, img: !0, scale: t });
515
519
  return {
516
520
  imageUri: a,
517
- base64: f,
521
+ base64: C,
518
522
  title: e.value.style.chart.title.text,
519
523
  width: o,
520
524
  height: l,
521
525
  aspectRatio: r
522
526
  };
523
527
  }
524
- const vl = v(() => X.value.width), hl = v(() => X.value.height);
525
- Ql({
528
+ const gl = v(() => X.value.width), Cl = v(() => X.value.height);
529
+ eo({
526
530
  timeLabelsEls: oe,
527
- timeLabels: D,
531
+ timeLabels: L,
528
532
  slicer: h,
529
533
  configRef: e,
530
534
  rotationPath: ["style", "chart", "layout", "grid", "xAxis", "dataLabels", "rotation"],
531
535
  autoRotatePath: ["style", "chart", "layout", "grid", "xAxis", "dataLabels", "autoRotate", "enable"],
532
536
  isAutoSize: !1,
533
- width: vl,
534
- height: hl,
537
+ width: gl,
538
+ height: Cl,
535
539
  rotation: e.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
536
540
  });
537
541
  const K = v(() => {
538
542
  const t = e.value.table.useDialog && !e.value.table.show, o = M.value.showTable;
539
543
  return {
540
- component: t ? Oe : Mt,
544
+ component: t ? Ie : Ht,
541
545
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
542
546
  props: t ? {
543
547
  backgroundColor: e.value.table.th.backgroundColor,
@@ -545,7 +549,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
545
549
  headerColor: e.value.table.th.color,
546
550
  headerBg: e.value.table.th.backgroundColor,
547
551
  isFullscreen: H.value,
548
- fullscreenParent: O.value,
552
+ fullscreenParent: I.value,
549
553
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
550
554
  } : {
551
555
  hideDetails: !0,
@@ -567,79 +571,79 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
567
571
  ie(() => M.value.showTable, (t) => {
568
572
  e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
569
573
  });
570
- function mt() {
571
- M.value.showTable = !1, be.value && be.value.setTableIconState(!1);
574
+ function At() {
575
+ M.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
572
576
  }
573
- const gl = v(() => Le.value.map((t) => ({
577
+ const fl = v(() => De.value.map((t) => ({
574
578
  ...t,
575
579
  name: t.display
576
- }))), fl = v(() => e.value.style.chart.backgroundColor), yl = v(() => e.value.style.chart.legend), bl = v(() => e.value.style.chart.title), { exportSvg: Cl, getSvg: ml } = Gl({
577
- svg: xe,
578
- title: bl,
579
- legend: yl,
580
- legendItems: gl,
581
- backgroundColor: fl
580
+ }))), yl = v(() => e.value.style.chart.backgroundColor), bl = v(() => e.value.style.chart.legend), Al = v(() => e.value.style.chart.title), { exportSvg: ml, getSvg: pl } = ql({
581
+ svg: ke,
582
+ title: Al,
583
+ legend: bl,
584
+ legendItems: fl,
585
+ backgroundColor: yl
582
586
  });
583
- async function At({ isCb: t }) {
587
+ async function mt({ isCb: t }) {
584
588
  if (t) {
585
- const { blob: o, url: l, text: r, dataUrl: a } = await ml();
589
+ const { blob: o, url: l, text: r, dataUrl: a } = await pl();
586
590
  e.value.userOptions.callbacks.svg({ blob: o, url: l, text: r, dataUrl: a });
587
591
  } else
588
- Cl();
592
+ ml();
589
593
  }
590
- return Rt({
591
- getData: il,
592
- getImage: dl,
594
+ return Mt({
595
+ getData: dl,
596
+ getImage: hl,
593
597
  generatePdf: rt,
594
598
  generateCsv: _e,
595
599
  generateImage: ut,
596
- generateSvg: At,
597
- hideSeries: sl,
598
- showSeries: nl,
599
- toggleTable: ft,
600
+ generateSvg: mt,
601
+ hideSeries: cl,
602
+ showSeries: il,
603
+ toggleTable: Ct,
600
604
  toggleAnnotator: Se,
601
605
  toggleFullscreen: gt
602
606
  }), (t, o) => (u(), n("div", {
603
607
  ref_key: "donutEvolutionChart",
604
- ref: O,
608
+ ref: I,
605
609
  class: z(`vue-data-ui-component vue-ui-donut-evolution ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
606
610
  style: ee(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
607
611
  id: E.value,
608
612
  onMouseenter: o[5] || (o[5] = () => c(tt)(!0)),
609
613
  onMouseleave: o[6] || (o[6] = () => c(tt)(!1))
610
614
  }, [
611
- e.value.userOptions.buttons.annotator ? (u(), B(c(Wt), {
615
+ e.value.userOptions.buttons.annotator ? (u(), B(c(Gt), {
612
616
  key: 0,
613
- svgRef: c(xe),
617
+ svgRef: c(ke),
614
618
  backgroundColor: e.value.style.chart.backgroundColor,
615
619
  color: e.value.style.chart.color,
616
620
  active: se.value,
617
621
  onClose: Se
618
622
  }, {
619
- "annotator-action-close": y(() => [
620
- A(t.$slots, "annotator-action-close", {}, void 0, !0)
623
+ "annotator-action-close": f(() => [
624
+ m(t.$slots, "annotator-action-close", {}, void 0, !0)
621
625
  ]),
622
- "annotator-action-color": y(({ color: l }) => [
623
- A(t.$slots, "annotator-action-color", T(I({ color: l })), void 0, !0)
626
+ "annotator-action-color": f(({ color: l }) => [
627
+ m(t.$slots, "annotator-action-color", O(T({ color: l })), void 0, !0)
624
628
  ]),
625
- "annotator-action-draw": y(({ mode: l }) => [
626
- A(t.$slots, "annotator-action-draw", T(I({ mode: l })), void 0, !0)
629
+ "annotator-action-draw": f(({ mode: l }) => [
630
+ m(t.$slots, "annotator-action-draw", O(T({ mode: l })), void 0, !0)
627
631
  ]),
628
- "annotator-action-undo": y(({ disabled: l }) => [
629
- A(t.$slots, "annotator-action-undo", T(I({ disabled: l })), void 0, !0)
632
+ "annotator-action-undo": f(({ disabled: l }) => [
633
+ m(t.$slots, "annotator-action-undo", O(T({ disabled: l })), void 0, !0)
630
634
  ]),
631
- "annotator-action-redo": y(({ disabled: l }) => [
632
- A(t.$slots, "annotator-action-redo", T(I({ disabled: l })), void 0, !0)
635
+ "annotator-action-redo": f(({ disabled: l }) => [
636
+ m(t.$slots, "annotator-action-redo", O(T({ disabled: l })), void 0, !0)
633
637
  ]),
634
- "annotator-action-delete": y(({ disabled: l }) => [
635
- A(t.$slots, "annotator-action-delete", T(I({ disabled: l })), void 0, !0)
638
+ "annotator-action-delete": f(({ disabled: l }) => [
639
+ m(t.$slots, "annotator-action-delete", O(T({ disabled: l })), void 0, !0)
636
640
  ]),
637
641
  _: 3
638
642
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
639
- Zt.value ? (u(), n("div", {
643
+ tl.value ? (u(), n("div", {
640
644
  key: 1,
641
645
  ref_key: "noTitle",
642
- ref: Kt,
646
+ ref: Zt,
643
647
  class: "vue-data-ui-no-title-space",
644
648
  style: "height:36px; width: 100%;background:transparent"
645
649
  }, null, 512)) : d("", !0),
@@ -650,7 +654,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
650
654
  style: "width:100%;background:transparent;padding-bottom:24px",
651
655
  onMouseleave: ct
652
656
  }, [
653
- (u(), B(eo, {
657
+ (u(), B(lo, {
654
658
  key: `title_${Re.value}`,
655
659
  config: {
656
660
  title: {
@@ -664,12 +668,12 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
664
668
  }
665
669
  }, null, 8, ["config"]))
666
670
  ], 544)) : d("", !0),
667
- m("div", {
671
+ A("div", {
668
672
  id: `legend-top-${E.value}`
669
- }, null, 8, ro),
670
- e.value.userOptions.show && Je.value && (c(lt) || c(pe)) ? (u(), B(c(jt), {
673
+ }, null, 8, no),
674
+ e.value.userOptions.show && Je.value && (c(lt) || c(pe)) ? (u(), B(c(Yt), {
671
675
  ref_key: "userOptionsRef",
672
- ref: be,
676
+ ref: ye,
673
677
  key: `user_options_${Pe.value}`,
674
678
  backgroundColor: e.value.style.chart.backgroundColor,
675
679
  color: e.value.style.chart.color,
@@ -684,7 +688,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
684
688
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
685
689
  isFullscreen: H.value,
686
690
  titles: { ...e.value.userOptions.buttonTitles },
687
- chartElement: O.value,
691
+ chartElement: I.value,
688
692
  position: e.value.userOptions.position,
689
693
  hasAnnotator: e.value.userOptions.buttons.annotator,
690
694
  isAnnotation: se.value,
@@ -695,79 +699,79 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
695
699
  onGeneratePdf: c(rt),
696
700
  onGenerateCsv: _e,
697
701
  onGenerateImage: c(ut),
698
- onGenerateSvg: At,
699
- onToggleTable: ft,
702
+ onGenerateSvg: mt,
703
+ onToggleTable: Ct,
700
704
  onToggleAnnotator: Se,
701
705
  style: ee({
702
706
  visibility: c(lt) ? c(pe) ? "visible" : "hidden" : "visible"
703
707
  })
704
- }, xt({ _: 2 }, [
708
+ }, kt({ _: 2 }, [
705
709
  t.$slots.menuIcon ? {
706
710
  name: "menuIcon",
707
- fn: y(({ isOpen: l, color: r }) => [
708
- A(t.$slots, "menuIcon", T(I({ isOpen: l, color: r })), void 0, !0)
711
+ fn: f(({ isOpen: l, color: r }) => [
712
+ m(t.$slots, "menuIcon", O(T({ isOpen: l, color: r })), void 0, !0)
709
713
  ]),
710
714
  key: "0"
711
715
  } : void 0,
712
716
  t.$slots.optionPdf ? {
713
717
  name: "optionPdf",
714
- fn: y(() => [
715
- A(t.$slots, "optionPdf", {}, void 0, !0)
718
+ fn: f(() => [
719
+ m(t.$slots, "optionPdf", {}, void 0, !0)
716
720
  ]),
717
721
  key: "1"
718
722
  } : void 0,
719
723
  t.$slots.optionCsv ? {
720
724
  name: "optionCsv",
721
- fn: y(() => [
722
- A(t.$slots, "optionCsv", {}, void 0, !0)
725
+ fn: f(() => [
726
+ m(t.$slots, "optionCsv", {}, void 0, !0)
723
727
  ]),
724
728
  key: "2"
725
729
  } : void 0,
726
730
  t.$slots.optionImg ? {
727
731
  name: "optionImg",
728
- fn: y(() => [
729
- A(t.$slots, "optionImg", {}, void 0, !0)
732
+ fn: f(() => [
733
+ m(t.$slots, "optionImg", {}, void 0, !0)
730
734
  ]),
731
735
  key: "3"
732
736
  } : void 0,
733
737
  t.$slots.optionSvg ? {
734
738
  name: "optionSvg",
735
- fn: y(() => [
736
- A(t.$slots, "optionSvg", {}, void 0, !0)
739
+ fn: f(() => [
740
+ m(t.$slots, "optionSvg", {}, void 0, !0)
737
741
  ]),
738
742
  key: "4"
739
743
  } : void 0,
740
744
  t.$slots.optionTable ? {
741
745
  name: "optionTable",
742
- fn: y(() => [
743
- A(t.$slots, "optionTable", {}, void 0, !0)
746
+ fn: f(() => [
747
+ m(t.$slots, "optionTable", {}, void 0, !0)
744
748
  ]),
745
749
  key: "5"
746
750
  } : void 0,
747
751
  t.$slots.optionFullscreen ? {
748
752
  name: "optionFullscreen",
749
- fn: y(({ toggleFullscreen: l, isFullscreen: r }) => [
750
- A(t.$slots, "optionFullscreen", T(I({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
753
+ fn: f(({ toggleFullscreen: l, isFullscreen: r }) => [
754
+ m(t.$slots, "optionFullscreen", O(T({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
751
755
  ]),
752
756
  key: "6"
753
757
  } : void 0,
754
758
  t.$slots.optionAnnotator ? {
755
759
  name: "optionAnnotator",
756
- fn: y(({ toggleAnnotator: l, isAnnotator: r }) => [
757
- A(t.$slots, "optionAnnotator", T(I({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
760
+ fn: f(({ toggleAnnotator: l, isAnnotator: r }) => [
761
+ m(t.$slots, "optionAnnotator", O(T({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
758
762
  ]),
759
763
  key: "7"
760
764
  } : void 0
761
765
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
762
766
  (u(), n("svg", {
763
767
  ref_key: "svgRef",
764
- ref: xe,
765
- xmlns: c(Tl),
768
+ ref: ke,
769
+ xmlns: c(Il),
766
770
  class: z({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
767
771
  viewBox: `0 0 ${s.value.absoluteWidth} ${s.value.absoluteHeight}`,
768
772
  style: ee(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
769
773
  }, [
770
- kt(c(Xt)),
774
+ xt(c(jt)),
771
775
  t.$slots["chart-background"] ? (u(), n("foreignObject", {
772
776
  key: 0,
773
777
  x: s.value.left,
@@ -778,44 +782,44 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
778
782
  pointerEvents: "none"
779
783
  }
780
784
  }, [
781
- A(t.$slots, "chart-background", {}, void 0, !0)
782
- ], 8, no)) : d("", !0),
783
- m("defs", null, [
784
- m("linearGradient", {
785
+ m(t.$slots, "chart-background", {}, void 0, !0)
786
+ ], 8, io)) : d("", !0),
787
+ A("defs", null, [
788
+ A("linearGradient", {
785
789
  id: `hover_${E.value}`,
786
790
  x1: "0%",
787
791
  y1: "0%",
788
792
  x2: "0%",
789
793
  y2: "100%"
790
794
  }, [
791
- m("stop", {
795
+ A("stop", {
792
796
  offset: "0%",
793
797
  "stop-color": c(te)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
794
- }, null, 8, io),
795
- m("stop", {
798
+ }, null, 8, vo),
799
+ A("stop", {
796
800
  offset: "100%",
797
801
  "stop-color": c(te)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
798
- }, null, 8, co)
799
- ], 8, so),
800
- m("radialGradient", {
802
+ }, null, 8, ho)
803
+ ], 8, co),
804
+ A("radialGradient", {
801
805
  id: `focus_${E.value}`
802
806
  }, [
803
- m("stop", {
807
+ A("stop", {
804
808
  offset: "0%",
805
809
  "stop-color": c(te)(c($e)(e.value.style.chart.backgroundColor), 0)
806
- }, null, 8, ho),
807
- m("stop", {
810
+ }, null, 8, Co),
811
+ A("stop", {
808
812
  offset: "77%",
809
813
  "stop-color": c(te)("#FFFFFF", 30)
810
- }, null, 8, go),
811
- m("stop", {
814
+ }, null, 8, fo),
815
+ A("stop", {
812
816
  offset: "100%",
813
817
  "stop-color": c(te)(c($e)(e.value.style.chart.backgroundColor), 0)
814
- }, null, 8, fo)
815
- ], 8, vo)
818
+ }, null, 8, yo)
819
+ ], 8, go)
816
820
  ]),
817
- e.value.style.chart.layout.grid.show ? (u(), n("g", yo, [
818
- m("line", {
821
+ e.value.style.chart.layout.grid.show ? (u(), n("g", bo, [
822
+ A("line", {
819
823
  x1: s.value.left,
820
824
  x2: s.value.left,
821
825
  y1: s.value.top,
@@ -823,8 +827,8 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
823
827
  stroke: e.value.style.chart.layout.grid.stroke,
824
828
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
825
829
  "stroke-linecap": "round"
826
- }, null, 8, bo),
827
- m("line", {
830
+ }, null, 8, Ao),
831
+ A("line", {
828
832
  x1: s.value.left,
829
833
  x2: s.value.right,
830
834
  y1: s.value.bottom,
@@ -832,9 +836,9 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
832
836
  stroke: e.value.style.chart.layout.grid.stroke,
833
837
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
834
838
  "stroke-linecap": "round"
835
- }, null, 8, Co),
836
- e.value.style.chart.layout.grid.showVerticalLines ? (u(), n("g", mo, [
837
- (u(!0), n(L, null, _(h.value.end - h.value.start, (l, r) => (u(), n("line", {
839
+ }, null, 8, mo),
840
+ e.value.style.chart.layout.grid.showVerticalLines ? (u(), n("g", po, [
841
+ (u(!0), n(D, null, _(h.value.end - h.value.start, (l, r) => (u(), n("line", {
838
842
  x1: s.value.left + (r + 1) * w.value,
839
843
  x2: s.value.left + (r + 1) * w.value,
840
844
  y1: s.value.top,
@@ -842,38 +846,38 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
842
846
  stroke: e.value.style.chart.layout.grid.stroke,
843
847
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
844
848
  "stroke-linecap": "round"
845
- }, null, 8, Ao))), 256))
849
+ }, null, 8, ko))), 256))
846
850
  ])) : d("", !0)
847
851
  ])) : d("", !0),
848
- m("g", null, [
852
+ A("g", null, [
849
853
  e.value.style.chart.layout.grid.axis.yLabel ? (u(), n("text", {
850
854
  key: 0,
851
855
  ref_key: "yAxisLabel",
852
- ref: ye,
856
+ ref: fe,
853
857
  "font-size": e.value.style.chart.layout.grid.axis.fontSize,
854
858
  fill: e.value.style.chart.layout.grid.axis.color,
855
859
  transform: `translate(${e.value.style.chart.layout.grid.axis.fontSize}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
856
860
  "text-anchor": "middle",
857
861
  style: { transition: "none" }
858
- }, k(e.value.style.chart.layout.grid.axis.yLabel), 9, po)) : d("", !0),
862
+ }, x(e.value.style.chart.layout.grid.axis.yLabel), 9, xo)) : d("", !0),
859
863
  e.value.style.chart.layout.grid.axis.xLabel ? (u(), n("text", {
860
864
  key: 1,
861
865
  ref_key: "xAxisLabel",
862
- ref: fe,
866
+ ref: Ce,
863
867
  "text-anchor": "middle",
864
868
  x: s.value.absoluteWidth / 2,
865
869
  y: s.value.absoluteHeight - 3,
866
870
  "font-size": e.value.style.chart.layout.grid.axis.fontSize,
867
871
  fill: e.value.style.chart.layout.grid.axis.color
868
- }, k(e.value.style.chart.layout.grid.axis.xLabel), 9, xo)) : d("", !0)
872
+ }, x(e.value.style.chart.layout.grid.axis.xLabel), 9, wo)) : d("", !0)
869
873
  ]),
870
874
  e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (u(), n("g", {
871
875
  key: 2,
872
876
  ref_key: "scaleLabels",
873
877
  ref: ge,
874
- class: z({ "donut-opacity": !0, "donut-behind": b.value !== null })
878
+ class: z({ "donut-opacity": !0, "donut-behind": y.value !== null })
875
879
  }, [
876
- (u(!0), n(L, null, _(ol.value, (l, r) => (u(), n("g", null, [
880
+ (u(!0), n(D, null, _(rl.value, (l, r) => (u(), n("g", null, [
877
881
  l.value >= P.value.min && l.value <= P.value.max ? (u(), n("line", {
878
882
  key: 0,
879
883
  x1: s.value.left,
@@ -882,7 +886,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
882
886
  y2: l.y,
883
887
  stroke: e.value.style.chart.layout.grid.stroke,
884
888
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
885
- }, null, 8, ko)) : d("", !0),
889
+ }, null, 8, Lo)) : d("", !0),
886
890
  l.value >= P.value.min && l.value <= P.value.max ? (u(), n("text", {
887
891
  key: 1,
888
892
  x: s.value.left + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
@@ -891,7 +895,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
891
895
  "text-anchor": "end",
892
896
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
893
897
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
894
- }, k(c(Il)(l.value) ? c(Te)(
898
+ }, x(c(Pl)(l.value) ? c(Oe)(
895
899
  e.value.style.chart.layout.dataLabels.formatter,
896
900
  l.value,
897
901
  c(ve)({
@@ -901,7 +905,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
901
905
  r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
902
906
  }),
903
907
  { datapoint: l, seriesIndex: r }
904
- ) : ""), 9, wo)) : d("", !0)
908
+ ) : ""), 9, Do)) : d("", !0)
905
909
  ]))), 256))
906
910
  ], 2)) : d("", !0),
907
911
  e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (u(), n("g", {
@@ -910,9 +914,9 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
910
914
  ref: oe,
911
915
  class: z({ "donut-opacity": !0 })
912
916
  }, [
913
- (u(!0), n(L, null, _(h.value.end - h.value.start, (l, r) => (u(), n("g", null, [
914
- (e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r === F.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && D.value[r] && D.value[r].text ? (u(), n("g", Do, [
915
- String(D.value[r].text).includes(`
917
+ (u(!0), n(D, null, _(h.value.end - h.value.start, (l, r) => (u(), n("g", null, [
918
+ (e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r === F.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && L.value[r] && L.value[r].text ? (u(), n("g", _o, [
919
+ String(L.value[r].text).includes(`
916
920
  `) ? (u(), n("text", {
917
921
  key: 1,
918
922
  class: "vue-data-ui-time-label",
@@ -920,28 +924,28 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
920
924
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
921
925
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
922
926
  transform: `translate(${s.value.left + w.value * r + w.value / 2}, ${s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
923
- innerHTML: c(Ol)({
924
- content: String(D.value[r].text),
927
+ innerHTML: c(Nl)({
928
+ content: String(L.value[r].text),
925
929
  fontSize: e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
926
930
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
927
931
  x: 0,
928
932
  y: 0
929
933
  })
930
- }, null, 8, _o)) : (u(), n("text", {
934
+ }, null, 8, Fo)) : (u(), n("text", {
931
935
  key: 0,
932
936
  class: "vue-data-ui-time-label",
933
937
  "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
934
938
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
935
939
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
936
940
  transform: `translate(${s.value.left + w.value * r + w.value / 2}, ${s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
937
- }, k(D.value[r].text || ""), 9, Lo))
941
+ }, x(L.value[r].text || ""), 9, So))
938
942
  ])) : d("", !0)
939
943
  ]))), 256))
940
944
  ], 512)) : d("", !0),
941
- (u(!0), n(L, null, _(S.value, (l, r) => (u(), n("g", null, [
945
+ (u(!0), n(D, null, _(S.value, (l, r) => (u(), n("g", null, [
942
946
  e.value.style.chart.layout.line.show && r < S.value.length - 1 && ![l.subtotal, S.value[r + 1].subtotal].includes(null) ? (u(), n("line", {
943
947
  key: 0,
944
- class: z({ "donut-opacity": !0, "donut-behind": b.value !== null }),
948
+ class: z({ "donut-opacity": !0, "donut-behind": y.value !== null }),
945
949
  x1: l.x,
946
950
  y1: l.y,
947
951
  x2: S.value[r + 1].x,
@@ -950,131 +954,131 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
950
954
  "stroke-width": e.value.style.chart.layout.line.strokeWidth,
951
955
  "stroke-linecap": "round",
952
956
  "stroke-linejoin": "round"
953
- }, null, 10, So)) : d("", !0),
954
- l.subtotal !== null ? (u(), n("g", Fo, [
957
+ }, null, 10, Bo)) : d("", !0),
958
+ l.subtotal !== null ? (u(), n("g", Eo, [
955
959
  l.subtotal ? (u(), n("circle", {
956
960
  key: 0,
957
961
  cx: l.x,
958
962
  cy: l.y,
959
963
  r: l.activeRadius,
960
964
  fill: e.value.style.chart.backgroundColor
961
- }, null, 8, Bo)) : d("", !0)
965
+ }, null, 8, $o)) : d("", !0)
962
966
  ])) : d("", !0)
963
967
  ]))), 256)),
964
- (u(!0), n(L, null, _(S.value, (l, r) => (u(), n("g", {
965
- class: z({ "donut-opacity": !0, "donut-behind": r !== b.value && b.value !== null })
968
+ (u(!0), n(D, null, _(S.value, (l, r) => (u(), n("g", {
969
+ class: z({ "donut-opacity": !0, "donut-behind": r !== y.value && y.value !== null })
966
970
  }, [
967
- l.subtotal ? (u(), n("g", Eo, [
968
- b.value !== null && b.value === r ? (u(), n("g", $o, [
969
- (u(!0), n(L, null, _(l.donutHover, (a) => (u(), n("g", null, [
970
- yt(a) ? (u(), n("path", {
971
+ l.subtotal ? (u(), n("g", zo, [
972
+ y.value !== null && y.value === r ? (u(), n("g", Oo, [
973
+ (u(!0), n(D, null, _(l.donutHover, (a) => (u(), n("g", null, [
974
+ ft(a) ? (u(), n("path", {
971
975
  key: 0,
972
- d: c(Pl)(a, { x: a.center.endX, y: a.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
976
+ d: c(Rl)(a, { x: a.center.endX, y: a.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
973
977
  stroke: a.color,
974
978
  "stroke-width": "1",
975
979
  "stroke-linecap": "round",
976
980
  "stroke-linejoin": "round",
977
981
  fill: "none"
978
- }, null, 8, zo)) : d("", !0)
982
+ }, null, 8, To)) : d("", !0)
979
983
  ]))), 256)),
980
- (u(!0), n(L, null, _(l.donutHover, (a, f) => (u(), n("g", null, [
981
- yt(a) ? (u(), n("text", {
984
+ (u(!0), n(D, null, _(l.donutHover, (a, C) => (u(), n("g", null, [
985
+ ft(a) ? (u(), n("text", {
982
986
  key: 0,
983
987
  "data-cy-hover-label": "",
984
988
  "text-anchor": c(St)(a, !0, 0).anchor,
985
989
  x: c(St)(a, !0, 9).x,
986
- y: c(Nl)(a, 14, 10),
990
+ y: c(Vl)(a, 14, 10),
987
991
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
988
992
  "font-size": 8,
989
993
  "font-weight": "bold"
990
- }, k(a.name) + ": " + k(al(a, l.donut)) + " (" + k(a.value === null ? "-" : it(a.value, a, f)) + ") ", 9, To)) : d("", !0)
994
+ }, x(a.name) + ": " + x(ul(a, l.donut)) + " (" + x(a.value === null ? "-" : it(a.value, a, C)) + ") ", 9, Io)) : d("", !0)
991
995
  ]))), 256)),
992
- m("g", null, [
993
- m("circle", {
996
+ A("g", null, [
997
+ A("circle", {
994
998
  cx: l.x,
995
999
  cy: l.y,
996
1000
  r: l.hoverRadius,
997
1001
  fill: e.value.style.chart.backgroundColor
998
- }, null, 8, Io)
1002
+ }, null, 8, Po)
999
1003
  ])
1000
1004
  ])) : d("", !0)
1001
1005
  ])) : d("", !0)
1002
1006
  ], 2))), 256)),
1003
- (u(!0), n(L, null, _(S.value, (l, r) => (u(), n("g", {
1004
- class: z({ "donut-opacity": !0, "donut-behind": r !== b.value && b.value !== null })
1007
+ (u(!0), n(D, null, _(S.value, (l, r) => (u(), n("g", {
1008
+ class: z({ "donut-opacity": !0, "donut-behind": r !== y.value && y.value !== null })
1005
1009
  }, [
1006
- l.subtotal !== null ? (u(), n("g", Oo, [
1010
+ l.subtotal !== null ? (u(), n("g", No, [
1007
1011
  l.subtotal === 0 ? (u(), n("circle", {
1008
1012
  key: 0,
1009
1013
  cx: l.x,
1010
1014
  cy: l.y,
1011
1015
  r: 3,
1012
1016
  fill: e.value.style.chart.color
1013
- }, null, 8, Po)) : b.value !== null && b.value === r ? (u(), n("g", No, [
1014
- (u(!0), n(L, null, _(l.donutHover, (a, f) => (u(), n("path", {
1017
+ }, null, 8, Ro)) : y.value !== null && y.value === r ? (u(), n("g", Vo, [
1018
+ (u(!0), n(D, null, _(l.donutHover, (a, C) => (u(), n("path", {
1015
1019
  d: a.arcSlice,
1016
1020
  fill: `${a.color}`,
1017
1021
  "stroke-width": 1,
1018
1022
  stroke: e.value.style.chart.backgroundColor
1019
- }, null, 8, Ro))), 256))
1020
- ])) : (u(), n("g", Vo, [
1021
- (u(!0), n(L, null, _(l.donut, (a, f) => (u(), n("path", {
1023
+ }, null, 8, Mo))), 256))
1024
+ ])) : (u(), n("g", Uo, [
1025
+ (u(!0), n(D, null, _(l.donut, (a, C) => (u(), n("path", {
1022
1026
  d: a.arcSlice,
1023
1027
  fill: `${a.color}`,
1024
1028
  "stroke-width": 0.5,
1025
1029
  stroke: e.value.style.chart.backgroundColor
1026
- }, null, 8, Mo))), 256))
1030
+ }, null, 8, Ho))), 256))
1027
1031
  ]))
1028
1032
  ])) : d("", !0)
1029
1033
  ], 2))), 256)),
1030
- (u(!0), n(L, null, _(S.value, (l, r) => (u(), n("g", {
1031
- class: z({ "donut-opacity": !0, "donut-behind": r !== b.value && b.value !== null || he.value && r !== V.value.index })
1034
+ (u(!0), n(D, null, _(S.value, (l, r) => (u(), n("g", {
1035
+ class: z({ "donut-opacity": !0, "donut-behind": r !== y.value && y.value !== null || he.value && r !== V.value.index })
1032
1036
  }, [
1033
1037
  l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (u(), n("text", {
1034
1038
  key: 0,
1035
1039
  "text-anchor": "middle",
1036
1040
  x: l.x,
1037
- y: b.value === l.index && l.subtotal ? l.y + e.value.style.chart.layout.dataLabels.fontSize / 3 : l.y - l.radius - e.value.style.chart.layout.dataLabels.fontSize + e.value.style.chart.layout.dataLabels.offsetY,
1041
+ y: y.value === l.index && l.subtotal ? l.y + e.value.style.chart.layout.dataLabels.fontSize / 3 : l.y - l.radius - e.value.style.chart.layout.dataLabels.fontSize + e.value.style.chart.layout.dataLabels.offsetY,
1038
1042
  "font-size": e.value.style.chart.layout.dataLabels.fontSize,
1039
1043
  "font-weight": "bold",
1040
1044
  fill: e.value.style.chart.layout.dataLabels.color
1041
- }, k(it(l.subtotal, l, r)), 9, Uo)) : d("", !0)
1045
+ }, x(it(l.subtotal, l, r)), 9, Xo)) : d("", !0)
1042
1046
  ], 2))), 256)),
1043
- (u(!0), n(L, null, _(S.value, (l, r) => (u(), n("rect", {
1047
+ (u(!0), n(D, null, _(S.value, (l, r) => (u(), n("rect", {
1044
1048
  x: s.value.left + r * w.value,
1045
1049
  y: s.value.top,
1046
1050
  width: w.value,
1047
1051
  height: s.value.height,
1048
- fill: [b.value, q.value].includes(l.index) ? `url(#hover_${E.value})` : "transparent",
1049
- class: z({ "donut-hover": l.subtotal && [b.value, q.value].includes(l.index) }),
1052
+ fill: [y.value, q.value].includes(l.index) ? `url(#hover_${E.value})` : "transparent",
1053
+ class: z({ "donut-hover": l.subtotal && [y.value, q.value].includes(l.index) }),
1050
1054
  style: {
1051
1055
  pointerEvents: "none"
1052
1056
  }
1053
- }, null, 10, Ho))), 256)),
1054
- (u(!0), n(L, null, _(S.value, (l, r) => (u(), n("rect", {
1057
+ }, null, 10, Wo))), 256)),
1058
+ (u(!0), n(D, null, _(S.value, (l, r) => (u(), n("rect", {
1055
1059
  "data-cy-trap": "",
1056
1060
  x: s.value.left + r * w.value,
1057
1061
  y: s.value.top,
1058
1062
  width: w.value,
1059
1063
  height: s.value.height,
1060
1064
  fill: "transparent",
1061
- onMouseenter: (a) => rl(l),
1065
+ onMouseenter: (a) => nl(l),
1062
1066
  onMouseleave: (a) => ct(l),
1063
1067
  onClick: (a) => dt(l, r),
1064
- class: z({ "donut-hover": b.value === l.index && l.subtotal })
1065
- }, null, 42, Xo))), 256)),
1066
- A(t.$slots, "svg", { svg: s.value }, void 0, !0)
1067
- ], 14, uo)),
1068
- t.$slots.watermark ? (u(), n("div", Wo, [
1069
- A(t.$slots, "watermark", T(I({ isPrinting: c(ot) || c(at) })), void 0, !0)
1068
+ class: z({ "donut-hover": y.value === l.index && l.subtotal })
1069
+ }, null, 42, jo))), 256)),
1070
+ m(t.$slots, "svg", { svg: s.value }, void 0, !0)
1071
+ ], 14, so)),
1072
+ t.$slots.watermark ? (u(), n("div", Go, [
1073
+ m(t.$slots, "watermark", O(T({ isPrinting: c(ot) || c(at) })), void 0, !0)
1070
1074
  ])) : d("", !0),
1071
- m("div", {
1075
+ A("div", {
1072
1076
  ref_key: "chartSlicer",
1073
1077
  ref: Ge,
1074
1078
  style: ee(`width:100%;background:${e.value.style.chart.backgroundColor}`),
1075
1079
  "data-dom-to-png-ignore": ""
1076
1080
  }, [
1077
- F.value > 1 && e.value.style.chart.zoom.show ? (u(), B(lo, {
1081
+ F.value > 1 && e.value.style.chart.zoom.show ? (u(), B(ao, {
1078
1082
  ref_key: "slicerComponent",
1079
1083
  ref: je,
1080
1084
  key: `slicer_${Ne.value}`,
@@ -1082,8 +1086,8 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1082
1086
  borderColor: e.value.style.chart.backgroundColor,
1083
1087
  fontSize: e.value.style.chart.zoom.fontSize,
1084
1088
  useResetSlot: e.value.style.chart.zoom.useResetSlot,
1085
- labelLeft: D.value[0] ? D.value[0].text : "",
1086
- labelRight: D.value.at(-1) ? D.value.at(-1).text : "",
1089
+ labelLeft: L.value[0] ? L.value[0].text : "",
1090
+ labelRight: L.value.at(-1) ? L.value.at(-1).text : "",
1087
1091
  textColor: e.value.style.chart.color,
1088
1092
  inputColor: e.value.style.chart.zoom.color,
1089
1093
  selectColor: e.value.style.chart.zoom.highlightColor,
@@ -1103,38 +1107,38 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1103
1107
  focusRangeRatio: e.value.style.chart.zoom.focusRangeRatio,
1104
1108
  onReset: et
1105
1109
  }, {
1106
- "reset-action": y(({ reset: l }) => [
1107
- A(t.$slots, "reset-action", T(I({ reset: l })), void 0, !0)
1110
+ "reset-action": f(({ reset: l }) => [
1111
+ m(t.$slots, "reset-action", O(T({ reset: l })), void 0, !0)
1108
1112
  ]),
1109
1113
  _: 3
1110
1114
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "focusOnDrag", "focusRangeRatio"])) : d("", !0)
1111
1115
  ], 4),
1112
- m("div", {
1116
+ A("div", {
1113
1117
  id: `legend-bottom-${E.value}`
1114
- }, null, 8, jo),
1115
- Ue.value ? (u(), B(Dl, {
1118
+ }, null, 8, Yo),
1119
+ Ue.value ? (u(), B(_l, {
1116
1120
  key: 5,
1117
1121
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
1118
1122
  }, [
1119
- m("div", {
1123
+ A("div", {
1120
1124
  ref_key: "chartLegend",
1121
1125
  ref: Xe
1122
1126
  }, [
1123
- e.value.style.chart.legend.show ? (u(), B(to, {
1127
+ e.value.style.chart.legend.show ? (u(), B(oo, {
1124
1128
  key: `legend_${Me.value}`,
1125
- legendSet: Le.value,
1126
- config: ul.value,
1129
+ legendSet: De.value,
1130
+ config: sl.value,
1127
1131
  onClickMarker: o[2] || (o[2] = ({ legend: l }) => J(l.uid))
1128
1132
  }, {
1129
- item: y(({ legend: l, index: r }) => [
1130
- m("div", {
1133
+ item: f(({ legend: l, index: r }) => [
1134
+ A("div", {
1131
1135
  onClick: (a) => J(l.uid),
1132
- style: ee(`opacity:${x.value.includes(l.uid) ? 0.5 : 1}`)
1133
- }, k(l.display), 13, Go)
1136
+ style: ee(`opacity:${k.value.includes(l.uid) ? 0.5 : 1}`)
1137
+ }, x(l.display), 13, qo)
1134
1138
  ]),
1135
1139
  _: 1
1136
1140
  }, 8, ["legendSet", "config"])) : d("", !0),
1137
- A(t.$slots, "legend", { legend: Le.value }, void 0, !0)
1141
+ m(t.$slots, "legend", { legend: De.value }, void 0, !0)
1138
1142
  ], 512)
1139
1143
  ], 8, ["to"])) : d("", !0),
1140
1144
  t.$slots.source ? (u(), n("div", {
@@ -1143,15 +1147,15 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1143
1147
  ref: We,
1144
1148
  dir: "auto"
1145
1149
  }, [
1146
- A(t.$slots, "source", {}, void 0, !0)
1150
+ m(t.$slots, "source", {}, void 0, !0)
1147
1151
  ], 512)) : d("", !0),
1148
- Je.value && e.value.userOptions.buttons.table ? (u(), B(Ll(K.value.component), _l({ key: 7 }, K.value.props, {
1152
+ Je.value && e.value.userOptions.buttons.table ? (u(), B(Sl(K.value.component), Fl({ key: 7 }, K.value.props, {
1149
1153
  ref_key: "tableUnit",
1150
1154
  ref: j,
1151
- onClose: mt
1152
- }), xt({
1153
- content: y(() => [
1154
- (u(), B(c(Ht), {
1155
+ onClose: At
1156
+ }), kt({
1157
+ content: f(() => [
1158
+ (u(), B(c(Wt), {
1155
1159
  key: `table_${Ve.value}`,
1156
1160
  colNames: W.value.colNames,
1157
1161
  head: W.value.head,
@@ -1159,14 +1163,14 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1159
1163
  config: W.value.config,
1160
1164
  title: e.value.table.useDialog ? "" : K.value.title,
1161
1165
  withCloseButton: !e.value.table.useDialog,
1162
- onClose: mt
1166
+ onClose: At
1163
1167
  }, {
1164
- th: y(({ th: l }) => [
1165
- Ee(k(l.name ?? l), 1)
1168
+ th: f(({ th: l }) => [
1169
+ Ee(x(l.name ?? l), 1)
1166
1170
  ]),
1167
- td: y(({ td: l }) => [
1168
- l.value === null ? (u(), n("span", Yo, "-")) : (u(), n("b", qo, k(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + k(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + k(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
1169
- m("span", null, k(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
1171
+ td: f(({ td: l }) => [
1172
+ l.value === null ? (u(), n("span", Jo, "-")) : (u(), n("b", Ko, x(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + x(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + x(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
1173
+ A("span", null, x(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
1170
1174
  ]),
1171
1175
  _: 1
1172
1176
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1175,20 +1179,20 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1175
1179
  }, [
1176
1180
  e.value.table.useDialog ? {
1177
1181
  name: "title",
1178
- fn: y(() => [
1179
- Ee(k(K.value.title), 1)
1182
+ fn: f(() => [
1183
+ Ee(x(K.value.title), 1)
1180
1184
  ]),
1181
1185
  key: "0"
1182
1186
  } : void 0,
1183
1187
  e.value.table.useDialog ? {
1184
1188
  name: "actions",
1185
- fn: y(() => [
1186
- m("button", {
1189
+ fn: f(() => [
1190
+ A("button", {
1187
1191
  tabindex: "0",
1188
1192
  class: "vue-ui-user-options-button",
1189
1193
  onClick: o[3] || (o[3] = (l) => _e(e.value.userOptions.callbacks.csv))
1190
1194
  }, [
1191
- kt(c(Ut), {
1195
+ xt(c(Xt), {
1192
1196
  name: "excel",
1193
1197
  stroke: K.value.props.color
1194
1198
  }, null, 8, ["stroke"])
@@ -1197,41 +1201,41 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1197
1201
  key: "1"
1198
1202
  } : void 0
1199
1203
  ]), 1040)) : d("", !0),
1200
- e.value.style.chart.dialog.show ? (u(), B(c(Oe), {
1204
+ e.value.style.chart.dialog.show ? (u(), B(c(Ie), {
1201
1205
  key: 8,
1202
1206
  ref_key: "dialog",
1203
1207
  ref: Fe,
1204
1208
  onClose: o[4] || (o[4] = (l) => {
1205
- V.value = null, he.value = !1, le.value = null, b.value = null, q.value = null;
1209
+ V.value = null, he.value = !1, le.value = null, y.value = null, q.value = null;
1206
1210
  }),
1207
1211
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
1208
1212
  color: e.value.style.chart.dialog.color,
1209
1213
  headerBg: e.value.style.chart.dialog.header.backgroundColor,
1210
1214
  headerColor: e.value.style.chart.dialog.header.color,
1211
1215
  isFullscreen: H.value,
1212
- fullscreenParent: O.value
1216
+ fullscreenParent: I.value
1213
1217
  }, {
1214
- title: y(() => [
1215
- Ee(k(D.value[Number(V.value.index)] ? D.value[Number(V.value.index)].text : ""), 1)
1218
+ title: f(() => [
1219
+ Ee(x(L.value[Number(V.value.index)] ? L.value[Number(V.value.index)].text : ""), 1)
1216
1220
  ]),
1217
- content: y(() => [
1218
- V.value ? (u(), B(c(Gt), {
1221
+ content: f(() => [
1222
+ V.value ? (u(), B(c(qt), {
1219
1223
  key: 0,
1220
- config: Ct.value,
1221
- dataset: bt.value
1224
+ config: bt.value,
1225
+ dataset: yt.value
1222
1226
  }, null, 8, ["config", "dataset"])) : d("", !0)
1223
1227
  ]),
1224
1228
  _: 1
1225
1229
  }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : d("", !0),
1226
- c(Qe) ? (u(), B(jl, { key: 9 })) : d("", !0)
1227
- ], 46, ao));
1230
+ c(Qe) ? (u(), B(Yl, { key: 9 })) : d("", !0)
1231
+ ], 46, uo));
1228
1232
  }
1229
- }, Ko = /* @__PURE__ */ oo(Jo, [["__scopeId", "data-v-e8783857"]]), ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1233
+ }, Zo = /* @__PURE__ */ ro(Qo, [["__scopeId", "data-v-e8783857"]]), ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1230
1234
  __proto__: null,
1231
- default: Ko
1235
+ default: Zo
1232
1236
  }, Symbol.toStringTag, { value: "Module" }));
1233
1237
  export {
1234
- fa as a,
1235
- ya as b,
1236
- Ko as v
1238
+ ya as a,
1239
+ ba as b,
1240
+ Zo as v
1237
1241
  };