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,40 +1,44 @@
1
- import { defineAsyncComponent as L, useSlots as Jt, computed as v, ref as i, toRefs as Kt, watch as J, shallowRef as lt, onMounted as Qt, onBeforeUnmount as Zt, createElementBlock as c, openBlock as n, unref as d, normalizeStyle as ae, normalizeClass as at, createBlock as E, createCommentVNode as C, createElementVNode as k, createVNode as oe, withCtx as f, renderSlot as h, normalizeProps as x, guardReactiveProps as $, createSlots as Ae, Fragment as T, renderList as z, mergeProps as xe, toDisplayString as re, Teleport as el, resolveDynamicComponent as tl, createTextVNode as ot, nextTick as ll } from "vue";
2
- import { c as al, t as ol, i as rl, j as R, o as rt, g as $e, l as ul, k as nl, a as K, d as D, X as sl, s as il, h as cl, x as vl, m as dl, v as fl, r as hl, G as pl, y as gl, _ as yl } from "./lib-2iaAPQ_c.js";
3
- import { b as bl } from "./labelUtils-B3mOOEke.js";
4
- import { t as ml, u as Cl } from "./useResponsive-DfdjqQps.js";
5
- import { u as kl, a as Te } from "./useNestedProp-BCt4DMkT.js";
6
- import { u as wl, B as Al } from "./BaseScanner-BMpwQAfz.js";
7
- import { u as xl } from "./usePrinter-ChVMpU2f.js";
8
- import { u as $l } from "./useSvgExport-ByUukOZt.js";
9
- import { u as Tl } from "./useThemeCheck-DGJ31Vi5.js";
10
- import { u as Fl } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as Il } from "./useChartAccessibility-9icAAmYg.js";
12
- import Sl from "./img-CqYIrJ8I.js";
13
- import { _ as _l } from "./Shape-12_eh8zD.js";
14
- import Bl from "./Title-B5L2jweB.js";
15
- import Ol from "./Legend-D2xmnFPH.js";
16
- import { _ as Dl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { rect: { rounded: !1, stroke: "#1A1A1A" } }, 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" } } }, nt = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { rect: { rounded: !1, stroke: "#FFF8E1", useGradient: !1 } }, legend: { color: "#424242", backgroundColor: "#FFF8E1" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, st = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { rect: { rounded: !1, stroke: "#1E1E1E", useGradient: !1 } }, legend: { color: "#BDBDBD", backgroundColor: "#1E1E1E" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, it = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { rect: { rounded: !1, stroke: "#66CC66", useGradient: !1 } }, legend: { color: "#99AA99", backgroundColor: "#1A1A1A" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, ct = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { rect: { rounding: 4, stroke: "#fbfafa" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, vt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { rect: { rounded: !1, stroke: "#404C5A", useGradient: !1 } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, dt = {
1
+ import { defineAsyncComponent as L, useSlots as Qt, computed as v, ref as i, toRefs as Zt, watch as J, shallowRef as lt, onMounted as el, onBeforeUnmount as tl, createElementBlock as c, openBlock as u, unref as d, normalizeStyle as ae, normalizeClass as at, createBlock as E, createCommentVNode as C, createElementVNode as k, createVNode as oe, withCtx as f, renderSlot as h, normalizeProps as x, guardReactiveProps as $, createSlots as Ae, Fragment as T, renderList as z, mergeProps as xe, toDisplayString as re, Teleport as ll, resolveDynamicComponent as al, createTextVNode as ot, nextTick as ol } from "vue";
2
+ import { c as rl, t as nl, i as ul, j as R, o as rt, g as $e, l as sl, k as il, a as K, d as D, X as cl, s as vl, h as dl, x as fl, m as hl, v as pl, r as gl, G as yl, y as bl, _ as ml } from "./lib-CVHM9FhP.js";
3
+ import { b as Cl } from "./labelUtils-D6Y-n7cD.js";
4
+ import { t as kl, u as wl } from "./useResponsive-DfdjqQps.js";
5
+ import { u as Al, a as Te } from "./useNestedProp-Ckf_2P_V.js";
6
+ import { u as xl, B as $l } from "./BaseScanner-BMpwQAfz.js";
7
+ import { u as Tl } from "./usePrinter-1NmjuP-i.js";
8
+ import { u as Fl } from "./useSvgExport-ByUukOZt.js";
9
+ import { u as Il } from "./useThemeCheck-D1ZYXUwG.js";
10
+ import { u as Sl } from "./useUserOptionState-BIvW1Kz7.js";
11
+ import { u as _l } from "./useChartAccessibility-9icAAmYg.js";
12
+ import Bl from "./img-6fNF_rG0.js";
13
+ import { _ as Ol } from "./Shape-PzdCMGsP.js";
14
+ import Dl from "./Title-NgeRXqRA.js";
15
+ import Pl from "./Legend-DN5UJOBH.js";
16
+ import { _ as Ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const nt = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 }, layout: { rect: { useGradient: !1 } } } } }, ut = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { rect: { rounded: !1, stroke: "#1A1A1A", useGradient: !1 } }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, st = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { rect: { rounded: !1, stroke: "#1A1A1A" } }, 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" } } }, it = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { rect: { rounded: !1, stroke: "#FFF8E1", useGradient: !1 } }, legend: { color: "#424242", backgroundColor: "#FFF8E1" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, ct = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { rect: { rounded: !1, stroke: "#1E1E1E", useGradient: !1 } }, legend: { color: "#BDBDBD", backgroundColor: "#1E1E1E" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, vt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { rect: { rounded: !1, stroke: "#66CC66", useGradient: !1 } }, legend: { color: "#99AA99", backgroundColor: "#1A1A1A" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, dt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { rect: { rounding: 4, stroke: "#fbfafa" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, ft = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { rect: { rounded: !1, stroke: "#404C5A", useGradient: !1 } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, ht = {
18
18
  default: {},
19
- dark: ut,
20
- celebration: nt,
21
- celebrationNight: st,
22
- hack: it,
23
- zen: ct,
24
- concrete: vt
25
- }, ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
+ minimal: nt,
20
+ minimalDark: ut,
21
+ dark: st,
22
+ celebration: it,
23
+ celebrationNight: ct,
24
+ hack: vt,
25
+ zen: dt,
26
+ concrete: ft
27
+ }, Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
28
  __proto__: null,
27
- celebration: nt,
28
- celebrationNight: st,
29
- concrete: vt,
30
- dark: ut,
31
- default: dt,
32
- hack: it,
33
- zen: ct
34
- }, Symbol.toStringTag, { value: "Module" })), Pl = ["id"], Ll = ["id"], El = ["xmlns", "viewBox"], zl = ["id"], Nl = ["stop-color"], Vl = ["stop-color"], Ml = ["id"], Rl = ["x", "y", "height", "width"], Ul = ["height", "width"], Gl = { key: 0 }, Wl = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], jl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], ql = { key: 1 }, Hl = ["rx", "x", "y", "height", "width", "fill", "filter"], Xl = ["textContent", "x", "y", "font-size", "fill", "filter"], Yl = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], Jl = {
29
+ celebration: it,
30
+ celebrationNight: ct,
31
+ concrete: ft,
32
+ dark: st,
33
+ default: ht,
34
+ hack: vt,
35
+ minimal: nt,
36
+ minimalDark: ut,
37
+ zen: dt
38
+ }, Symbol.toStringTag, { value: "Module" })), El = ["id"], zl = ["id"], Nl = ["xmlns", "viewBox"], Vl = ["id"], Ml = ["stop-color"], Rl = ["stop-color"], Ul = ["id"], Gl = ["x", "y", "height", "width"], Wl = ["height", "width"], jl = { key: 0 }, ql = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Hl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Xl = { key: 1 }, Yl = ["rx", "x", "y", "height", "width", "fill", "filter"], Jl = ["textContent", "x", "y", "font-size", "fill", "filter"], Kl = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], Ql = {
35
39
  key: 4,
36
40
  class: "vue-data-ui-watermark"
37
- }, Kl = ["id"], Ql = ["onClick"], Zl = ["innerHTML"], ea = {
41
+ }, Zl = ["id"], ea = ["onClick"], ta = ["innerHTML"], la = {
38
42
  __name: "vue-ui-waffle",
39
43
  props: {
40
44
  config: {
@@ -51,9 +55,9 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
51
55
  }
52
56
  },
53
57
  emits: ["selectLegend"],
54
- setup(ft, { expose: ht, emit: pt }) {
55
- const gt = L(() => import("./Tooltip-DpfUZbt7.js")), yt = L(() => import("./BaseIcon-B9bGT7HU.js")), bt = L(() => import("./DataTable-DEwh__D8.js")), mt = L(() => import("./vue-ui-accordion-CAXPDm31.js")), Ct = L(() => import("./UserOptions-5pXc4J-c.js")), kt = L(() => import("./PenAndPaper-CulSakut.js")), wt = L(() => import("./PackageVersion-C-JOGZBL.js")), At = L(() => import("./BaseDraggableDialog-O2XSymlZ.js")), { vue_ui_waffle: xt } = kl(), { isThemeValid: $t, warnInvalidTheme: Tt } = Tl(), m = ft, Ft = Jt(), ue = v(() => !!m.dataset && m.dataset.length), b = i(al()), ne = i(!1), se = i(""), U = i(null), Fe = i(0), F = i(null), Ie = i(null), Se = i(null), _e = i(null), Be = i(null), Oe = i(0), De = i(0), Pe = i(0), Le = i(!1), j = i(null), ie = i(null), e = i(fe()), { loading: Ee, FINAL_DATASET: Q, manualLoading: ce } = wl({
56
- ...Kt(m),
58
+ setup(pt, { expose: gt, emit: yt }) {
59
+ const bt = L(() => import("./Tooltip-B6qvABDL.js")), mt = L(() => import("./BaseIcon-4uOct8re.js")), Ct = L(() => import("./DataTable-DyoDzNNY.js")), kt = L(() => import("./vue-ui-accordion-DFKaB_05.js")), wt = L(() => import("./UserOptions-CX7Xsusk.js")), At = L(() => import("./PenAndPaper-LTuSTmWE.js")), xt = L(() => import("./PackageVersion-D6MO5wwI.js")), $t = L(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_waffle: Tt } = Al(), { isThemeValid: Ft, warnInvalidTheme: It } = Il(), m = pt, St = Qt(), ne = v(() => !!m.dataset && m.dataset.length), b = i(rl()), ue = i(!1), se = i(""), U = i(null), Fe = i(0), F = i(null), Ie = i(null), Se = i(null), _e = i(null), Be = i(null), Oe = i(0), De = i(0), Pe = i(0), Le = i(!1), j = i(null), ie = i(null), e = i(fe()), { loading: Ee, FINAL_DATASET: Q, manualLoading: ce } = xl({
60
+ ...Zt(m),
57
61
  FINAL_CONFIG: e,
58
62
  prepareConfig: fe,
59
63
  callback: () => {
@@ -78,7 +82,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
78
82
  color: "#CACACA"
79
83
  }
80
84
  ],
81
- skeletonConfig: ol({
85
+ skeletonConfig: nl({
82
86
  defaultConfig: e.value,
83
87
  userConfig: {
84
88
  useCustomCells: !1,
@@ -104,17 +108,17 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
104
108
  }
105
109
  }
106
110
  })
107
- }), { userOptionsVisible: ve, setUserOptionsVisibility: ze, keepUserOptionState: Ne } = Fl({ config: e.value }), { svgRef: de } = Il({ config: e.value.style.chart.title });
111
+ }), { userOptionsVisible: ve, setUserOptionsVisibility: ze, keepUserOptionState: Ne } = Sl({ config: e.value }), { svgRef: de } = _l({ config: e.value.style.chart.title });
108
112
  function fe() {
109
113
  const t = Te({
110
114
  userConfig: m.config,
111
- defaultConfig: xt
115
+ defaultConfig: Tt
112
116
  }), l = t.theme;
113
117
  if (!l) return t;
114
- if (!$t.value(t))
115
- return Tt(t), t;
118
+ if (!Ft.value(t))
119
+ return It(t), t;
116
120
  const a = Te({
117
- userConfig: dt[l] || m.config,
121
+ userConfig: ht[l] || m.config,
118
122
  defaultConfig: t
119
123
  }), o = Te({
120
124
  userConfig: m.config,
@@ -122,7 +126,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
122
126
  });
123
127
  return {
124
128
  ...o,
125
- customPalette: o.customPalette.length ? o.customPalette : rl[l] || R
129
+ customPalette: o.customPalette.length ? o.customPalette : ul[l] || R
126
130
  };
127
131
  }
128
132
  J(() => m.config, (t) => {
@@ -134,8 +138,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
134
138
  componentName: "VueUiWaffle",
135
139
  type: "dataset",
136
140
  debug: Ve.value
137
- }), ue.value = !1, ce.value = !0) : m.dataset.forEach((t, l) => {
138
- ul({
141
+ }), ne.value = !1, ce.value = !0) : m.dataset.forEach((t, l) => {
142
+ sl({
139
143
  datasetObject: t,
140
144
  requiredAttributes: ["name", "values"]
141
145
  }).forEach((a) => {
@@ -148,8 +152,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
148
152
  });
149
153
  });
150
154
  }), rt(m.dataset) || (ce.value = e.value.loading), e.value.responsive) {
151
- const t = ml(() => {
152
- const { width: l, height: a } = Cl({
155
+ const t = kl(() => {
156
+ const { width: l, height: a } = wl({
153
157
  chart: F.value,
154
158
  title: e.value.style.chart.title.text ? Ie.value : null,
155
159
  legend: e.value.style.chart.legend.show ? Se.value : null,
@@ -163,16 +167,16 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
163
167
  P.value && (G.value && P.value.unobserve(G.value), P.value.disconnect()), P.value = new ResizeObserver(t), G.value = F.value.parentNode, P.value.observe(G.value);
164
168
  }
165
169
  }
166
- Qt(() => {
170
+ el(() => {
167
171
  Le.value = !0, Me();
168
- }), Zt(() => {
172
+ }), tl(() => {
169
173
  P.value && (G.value && P.value.unobserve(G.value), P.value.disconnect());
170
174
  });
171
- const { isPrinting: Re, isImaging: Ue, generatePdf: Ge, generateImage: We } = xl({
175
+ const { isPrinting: Re, isImaging: Ue, generatePdf: Ge, generateImage: We } = Tl({
172
176
  elementId: `vue-ui-waffle_${b.value}`,
173
177
  fileName: e.value.style.chart.title.text || "vue-ui-waffle",
174
178
  options: e.value.userOptions.print
175
- }), It = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), je = v(() => nl(e.value.customPalette)), w = i({
179
+ }), _t = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), je = v(() => il(e.value.customPalette)), w = i({
176
180
  showTable: e.value.table.show,
177
181
  showTooltip: e.value.style.chart.tooltip.show
178
182
  });
@@ -190,13 +194,13 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
190
194
  left: 0,
191
195
  height: 512,
192
196
  width: 512
193
- }), S = v(() => (I.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), _ = v(() => (I.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), St = v(() => Math.max(1e-4, I.value.width / e.value.style.chart.layout.grid.size)), qe = v(() => Math.max(1e-4, I.value.height / e.value.style.chart.layout.grid.size));
197
+ }), S = v(() => (I.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), _ = v(() => (I.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), Bt = v(() => Math.max(1e-4, I.value.width / e.value.style.chart.layout.grid.size)), qe = v(() => Math.max(1e-4, I.value.height / e.value.style.chart.layout.grid.size));
194
198
  function He(t) {
195
- const l = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((A, we) => A + we, 0), o = t.map((A) => A / a * l), r = o.map(Math.floor), u = o.map((A) => A % 1);
199
+ const l = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((A, we) => A + we, 0), o = t.map((A) => A / a * l), r = o.map(Math.floor), n = o.map((A) => A % 1);
196
200
  let g = l - r.reduce((A, we) => A + we, 0);
197
201
  for (; g > 0; ) {
198
- let A = u.indexOf(Math.max(...u));
199
- r[A] += 1, u[A] = 0, g -= 1;
202
+ let A = n.indexOf(Math.max(...n));
203
+ r[A] += 1, n[A] = 0, g -= 1;
200
204
  }
201
205
  return r;
202
206
  }
@@ -204,7 +208,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
204
208
  function he() {
205
209
  return q.value = Q.value.flatMap((t) => t.values.reduce((l, a) => l + a, 0)).reduce((t, l) => t + l, 0) === 0, Q.value.map((t, l) => ({
206
210
  ...t,
207
- color: dl(t.color) || je.value[l] || R[l] || R[l % R.length],
211
+ color: hl(t.color) || je.value[l] || R[l] || R[l % R.length],
208
212
  uid: `serie_${l}`,
209
213
  absoluteIndex: l
210
214
  }));
@@ -215,10 +219,10 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
215
219
  }, { immediate: !0 }), J(() => m.dataset, (t) => {
216
220
  p.value = he();
217
221
  }, { deep: !0 });
218
- const _t = v(() => {
222
+ const Ot = v(() => {
219
223
  const t = p.value.filter((l, a) => !y.value.includes(l.uid)).map((l, a) => q.value ? 1 : (l.values || []).reduce((o, r) => o + r, 0));
220
224
  return He(t);
221
- }), Bt = v(() => {
225
+ }), Dt = v(() => {
222
226
  const t = p.value.map((l, a) => q.value ? 1 : (l.values || []).reduce((o, r) => o + r));
223
227
  return He(t);
224
228
  }), H = v(() => (Q.value.forEach((t, l) => {
@@ -235,7 +239,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
235
239
  color: t.color,
236
240
  value: (t.values || []).reduce((a, o) => a + o, 0),
237
241
  absoluteValues: t.values || [],
238
- proportion: _t.value[l]
242
+ proportion: Ot.value[l]
239
243
  })))), ge = v(() => p.value.map((t, l) => ({
240
244
  absoluteIndex: t.absoluteIndex,
241
245
  uid: t.uid,
@@ -243,9 +247,9 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
243
247
  color: t.color,
244
248
  value: (t.values || []).reduce((a, o) => a + o, 0),
245
249
  absoluteValues: t.values || [],
246
- proportion: Bt.value[l]
250
+ proportion: Dt.value[l]
247
251
  })));
248
- function Ot() {
252
+ function Pt() {
249
253
  return ge.value.map((t) => ({
250
254
  name: t.name,
251
255
  color: t.color,
@@ -253,19 +257,19 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
253
257
  proportion: t.proportion
254
258
  }));
255
259
  }
256
- const Dt = v(() => {
260
+ const Lt = v(() => {
257
261
  let t = 0;
258
262
  return H.value.map((l, a) => {
259
- const o = t, r = o + l.proportion, u = [];
263
+ const o = t, r = o + l.proportion, n = [];
260
264
  for (let g = Math.floor(o); g < Math.floor(r); g += 1)
261
- u.push(g);
265
+ n.push(g);
262
266
  return t = r, {
263
267
  ...l,
264
268
  start: o,
265
- rects: u
269
+ rects: n
266
270
  };
267
271
  });
268
- }), s = v(() => Dt.value.flatMap((t, l) => t.rects.map((a, o) => ({
272
+ }), s = v(() => Lt.value.flatMap((t, l) => t.rects.map((a, o) => ({
269
273
  isFirst: o === 0,
270
274
  isLongEnough: a.length > 2,
271
275
  name: t.name,
@@ -296,35 +300,35 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
296
300
  y.value.includes(t) ? y.value = y.value.filter((r) => r !== t) : y.value.length < V.value.length - 1 && V.value.length > 1 && y.value.push(t);
297
301
  return;
298
302
  }
299
- const l = pe.value.find((r) => r.uid === t).values.reduce((r, u) => r + u, 0), a = p.value.find((r) => r.uid === t).values.reduce((r, u) => r + u, 0);
303
+ const l = pe.value.find((r) => r.uid === t).values.reduce((r, n) => r + n, 0), a = p.value.find((r) => r.uid === t).values.reduce((r, n) => r + n, 0);
300
304
  let o = a;
301
305
  if (!(a === 0 && l === 0)) {
302
306
  if (y.value.includes(t)) {
303
- let u = function() {
307
+ let n = function() {
304
308
  o > r ? (cancelAnimationFrame(Xe.value), p.value = p.value.map((g, A) => g.uid === t ? {
305
309
  ...g,
306
310
  values: [r]
307
311
  } : g), X.value = !1) : (X.value = !0, o += r * 0.025, p.value = p.value.map((g, A) => g.uid === t ? {
308
312
  ...g,
309
313
  values: [o]
310
- } : g), Xe.value = requestAnimationFrame(u));
314
+ } : g), Xe.value = requestAnimationFrame(n));
311
315
  };
312
316
  y.value = y.value.filter((g) => g !== t);
313
317
  const r = l;
314
- u();
318
+ n();
315
319
  } else if (y.value.length < V.value.length - 1 && V.value.length > 1) {
316
320
  let r = function() {
317
- o < a / 100 ? (cancelAnimationFrame(Ye.value), y.value.push(t), p.value = p.value.map((u, g) => u.uid === t ? {
318
- ...u,
321
+ o < a / 100 ? (cancelAnimationFrame(Ye.value), y.value.push(t), p.value = p.value.map((n, g) => n.uid === t ? {
322
+ ...n,
319
323
  values: [0]
320
- } : u), X.value = !1) : (X.value = !0, o /= 1.15, p.value = p.value.map((u) => u.uid === t ? {
321
- ...u,
324
+ } : n), X.value = !1) : (X.value = !0, o /= 1.15, p.value = p.value.map((n) => n.uid === t ? {
325
+ ...n,
322
326
  values: [o]
323
- } : u), Ye.value = requestAnimationFrame(r));
327
+ } : n), Ye.value = requestAnimationFrame(r));
324
328
  };
325
329
  r();
326
330
  }
327
- Mt("selectLegend", H.value.map((r) => ({
331
+ Ut("selectLegend", H.value.map((r) => ({
328
332
  name: r.name,
329
333
  color: r.color,
330
334
  value: r.value,
@@ -338,11 +342,11 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
338
342
  const l = ge.value.find((a) => a.name === t);
339
343
  return l || (e.value.debug && console.warn(`VueUiWaffle - Series name not found "${t}"`), null);
340
344
  }
341
- function Pt(t) {
345
+ function Et(t) {
342
346
  const l = Je(t);
343
347
  l !== null && y.value.includes(l.uid) && Z(l.uid);
344
348
  }
345
- function Lt(t) {
349
+ function zt(t) {
346
350
  const l = Je(t);
347
351
  l !== null && (y.value.includes(l.uid) || Z(l.uid));
348
352
  }
@@ -353,7 +357,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
353
357
  showPercentage: o,
354
358
  config: r
355
359
  }) {
356
- return bl({
360
+ return Cl({
357
361
  config: r,
358
362
  val: t,
359
363
  percentage: l,
@@ -362,7 +366,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
362
366
  });
363
367
  }
364
368
  const V = v(() => p.value.map((t, l) => {
365
- const a = (t.values || []).reduce((r, u) => r + u, 0), o = a / p.value.map((r) => (r.values || []).reduce((u, g) => u + g, 0)).reduce((r, u) => r + u, 0);
369
+ const a = (t.values || []).reduce((r, n) => r + n, 0), o = a / p.value.map((r) => (r.values || []).reduce((n, g) => n + g, 0)).reduce((r, n) => r + n, 0);
366
370
  return {
367
371
  name: t.name,
368
372
  color: t.color || je[l] || R[l] || R[l % R.length],
@@ -391,7 +395,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
391
395
  isSegregated: y.value.includes(t.uid),
392
396
  display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${r}`
393
397
  };
394
- })), Et = v(() => ({
398
+ })), Nt = v(() => ({
395
399
  cy: "waffle-div-legend",
396
400
  backgroundColor: e.value.style.chart.legend.backgroundColor,
397
401
  color: e.value.style.chart.legend.color,
@@ -399,15 +403,15 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
399
403
  paddingBottom: 12,
400
404
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
401
405
  })), B = v(() => H.value.map((t) => t.value).reduce((t, l) => t + l, 0)), be = i(null), me = i(null);
402
- function zt(t) {
406
+ function Vt(t) {
403
407
  const l = s.value[t];
404
408
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.serieIndex });
405
409
  }
406
- function Nt(t) {
410
+ function Mt(t) {
407
411
  const l = s.value[t];
408
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: l.serieIndex }), me.value = null, ne.value = !1, U.value = null;
412
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: l.serieIndex }), me.value = null, ue.value = !1, U.value = null;
409
413
  }
410
- function Vt(t) {
414
+ function Rt(t) {
411
415
  if (y.value.length === m.dataset.length) return;
412
416
  const l = s.value[t];
413
417
  be.value = {
@@ -415,9 +419,9 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
415
419
  seriesIndex: l.absoluteIndex,
416
420
  series: p.value,
417
421
  config: e.value
418
- }, e.value.events.datapointEnter && me.value !== l.serieIndex && e.value.events.datapointEnter({ datapoint: l, seriesIndex: l.serieIndex }), me.value = l.serieIndex, ne.value = !0, U.value = s.value[t].serieIndex;
422
+ }, e.value.events.datapointEnter && me.value !== l.serieIndex && e.value.events.datapointEnter({ datapoint: l, seriesIndex: l.serieIndex }), me.value = l.serieIndex, ue.value = !0, U.value = s.value[t].serieIndex;
419
423
  const a = e.value.style.chart.tooltip.customFormat;
420
- if (gl(a) && yl(() => a({
424
+ if (bl(a) && ml(() => a({
421
425
  seriesIndex: s.value[t].absoluteIndex,
422
426
  datapoint: l,
423
427
  series: p.value,
@@ -431,7 +435,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
431
435
  });
432
436
  else {
433
437
  let o = "";
434
- o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${l.color}" />${Ft.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${b.value}_${l.absoluteIndex})"/>` : ""}</svg>`, o += `<b>${ye({
438
+ o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${l.color}" />${St.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${b.value}_${l.absoluteIndex})"/>` : ""}</svg>`, o += `<b>${ye({
435
439
  config: e.value.style.chart.tooltip,
436
440
  showVal: e.value.style.chart.tooltip.showValue,
437
441
  showPercentage: e.value.style.chart.tooltip.showPercentage,
@@ -458,7 +462,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
458
462
  })}</b></div>`, se.value = o;
459
463
  }
460
464
  }
461
- const Mt = pt, O = v(() => {
465
+ const Ut = yt, O = v(() => {
462
466
  const t = H.value.map((a) => ({
463
467
  name: a.name,
464
468
  color: a.color
@@ -468,10 +472,10 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
468
472
  function ee(t) {
469
473
  return e.value.useBlurOnHover && ![null, void 0].includes(U.value) && U.value !== t ? `url(#blur_${b.value})` : "";
470
474
  }
471
- function Rt(t, l) {
475
+ function Gt(t, l) {
472
476
  return e.value.style.chart.layout.labels.captions.show ? s.value.length && !X.value && !e.value.style.chart.layout.grid.vertical && (s.value[t].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || s.value[t].isAbsoluteFirst && t % e.value.style.chart.layout.grid.size === 0 && s.value[t].absoluteStartIndex) : !1;
473
477
  }
474
- function Ut(t, l = null) {
478
+ function Wt(t, l = null) {
475
479
  const a = K(
476
480
  e.value.style.chart.layout.labels.dataLabels.formatter,
477
481
  s.value[t].value,
@@ -482,21 +486,21 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
482
486
  r: e.value.style.chart.layout.labels.captions.roundingValue
483
487
  }),
484
488
  { datapoint: s.value[t], position: l }
485
- ), o = D({ v: s.value[t].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage }), r = (e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? pl({ source: s.value[t].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : s.value[t].name) + (e.value.style.chart.layout.labels.captions.showPercentage || e.value.style.chart.layout.labels.captions.showValue ? ":" : ""), u = e.value.style.chart.layout.labels.captions.showSerieName ? r : "", g = ye({
489
+ ), o = D({ v: s.value[t].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage }), r = (e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? yl({ source: s.value[t].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : s.value[t].name) + (e.value.style.chart.layout.labels.captions.showPercentage || e.value.style.chart.layout.labels.captions.showValue ? ":" : ""), n = e.value.style.chart.layout.labels.captions.showSerieName ? r : "", g = ye({
486
490
  val: a,
487
491
  percentage: o,
488
492
  showVal: e.value.style.chart.layout.labels.captions.showValue,
489
493
  showPercentage: e.value.style.chart.layout.labels.captions.showPercentage,
490
494
  config: e.value.style.chart.layout.labels.dataLabels
491
495
  });
492
- return `${u} ${g}`;
496
+ return `${n} ${g}`;
493
497
  }
494
498
  function Ce(t = null) {
495
- ll(() => {
496
- const l = O.value.head.map((r, u) => [[
499
+ ol(() => {
500
+ const l = O.value.head.map((r, n) => [[
497
501
  r.name
498
- ], [O.value.body[u]], [isNaN(O.value.body[u] / B.value) ? "-" : O.value.body[u] / B.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), o = fl(a);
499
- t ? t(o) : hl({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-waffle" });
502
+ ], [O.value.body[n]], [isNaN(O.value.body[n] / B.value) ? "-" : O.value.body[n] / B.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), o = pl(a);
503
+ t ? t(o) : gl({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-waffle" });
500
504
  });
501
505
  }
502
506
  const te = v(() => {
@@ -513,23 +517,23 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
513
517
  })
514
518
  ),
515
519
  "100%"
516
- ], l = O.value.head.map((r, u) => [
520
+ ], l = O.value.head.map((r, n) => [
517
521
  {
518
522
  color: r.color,
519
523
  name: r.name
520
524
  },
521
525
  K(
522
526
  e.value.style.chart.layout.labels.dataLabels.formatter,
523
- O.value.body[u],
527
+ O.value.body[n],
524
528
  D({
525
529
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
526
- v: O.value.body[u],
530
+ v: O.value.body[n],
527
531
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
528
532
  r: e.value.table.td.roundingValue
529
533
  })
530
534
  ),
531
- isNaN(O.value.body[u] / B.value) ? "-" : D({
532
- v: O.value.body[u] / B.value * 100,
535
+ isNaN(O.value.body[n] / B.value) ? "-" : D({
536
+ v: O.value.body[n] / B.value * 100,
533
537
  s: "%",
534
538
  r: e.value.table.td.roundingPercentage
535
539
  })
@@ -571,12 +575,12 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
571
575
  function ke() {
572
576
  le.value = !le.value;
573
577
  }
574
- async function Gt({ scale: t = 2 } = {}) {
578
+ async function jt({ scale: t = 2 } = {}) {
575
579
  if (!F.value) return;
576
- const { width: l, height: a } = F.value.getBoundingClientRect(), o = l / a, { imageUri: r, base64: u } = await Sl({ domElement: F.value, base64: !0, img: !0, scale: t });
580
+ const { width: l, height: a } = F.value.getBoundingClientRect(), o = l / a, { imageUri: r, base64: n } = await Bl({ domElement: F.value, base64: !0, img: !0, scale: t });
577
581
  return {
578
582
  imageUri: r,
579
- base64: u,
583
+ base64: n,
580
584
  title: e.value.style.chart.title.text,
581
585
  width: l,
582
586
  height: a,
@@ -586,7 +590,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
586
590
  const Y = v(() => {
587
591
  const t = e.value.table.useDialog && !e.value.table.show, l = w.value.showTable;
588
592
  return {
589
- component: t ? At : mt,
593
+ component: t ? $t : kt,
590
594
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
591
595
  props: t ? {
592
596
  backgroundColor: e.value.table.th.backgroundColor,
@@ -619,37 +623,37 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
619
623
  function et() {
620
624
  w.value.showTable = !1, ie.value && ie.value.setTableIconState(!1);
621
625
  }
622
- const Wt = v(() => V.value.map((t) => ({
626
+ const qt = v(() => V.value.map((t) => ({
623
627
  ...t,
624
628
  name: t.display
625
- }))), jt = v(() => e.value.style.chart.backgroundColor), qt = v(() => e.value.style.chart.legend), Ht = v(() => e.value.style.chart.title), { exportSvg: Xt, getSvg: Yt } = $l({
629
+ }))), Ht = v(() => e.value.style.chart.backgroundColor), Xt = v(() => e.value.style.chart.legend), Yt = v(() => e.value.style.chart.title), { exportSvg: Jt, getSvg: Kt } = Fl({
626
630
  svg: de,
627
- title: Ht,
628
- legend: qt,
629
- legendItems: Wt,
630
- backgroundColor: jt
631
+ title: Yt,
632
+ legend: Xt,
633
+ legendItems: qt,
634
+ backgroundColor: Ht
631
635
  });
632
636
  async function tt({ isCb: t }) {
633
637
  if (t) {
634
- const { blob: l, url: a, text: o, dataUrl: r } = await Yt();
638
+ const { blob: l, url: a, text: o, dataUrl: r } = await Kt();
635
639
  e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: r });
636
640
  } else
637
- Xt();
641
+ Jt();
638
642
  }
639
- return ht({
640
- getData: Ot,
641
- getImage: Gt,
643
+ return gt({
644
+ getData: Pt,
645
+ getImage: jt,
642
646
  generatePdf: Ge,
643
647
  generateCsv: Ce,
644
648
  generateImage: We,
645
649
  generateSvg: tt,
646
- hideSeries: Lt,
647
- showSeries: Pt,
650
+ hideSeries: zt,
651
+ showSeries: Et,
648
652
  toggleTable: Qe,
649
653
  toggleTooltip: Ze,
650
654
  toggleAnnotator: ke,
651
655
  toggleFullscreen: Ke
652
- }), (t, l) => (n(), c("div", {
656
+ }), (t, l) => (u(), c("div", {
653
657
  class: at(`vue-data-ui-component vue-ui-waffle ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
654
658
  ref_key: "waffleChart",
655
659
  ref: F,
@@ -658,7 +662,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
658
662
  onMouseenter: l[2] || (l[2] = () => d(ze)(!0)),
659
663
  onMouseleave: l[3] || (l[3] = () => d(ze)(!1))
660
664
  }, [
661
- e.value.userOptions.buttons.annotator ? (n(), E(d(kt), {
665
+ e.value.userOptions.buttons.annotator ? (u(), E(d(At), {
662
666
  key: 0,
663
667
  svgRef: d(de),
664
668
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -686,20 +690,20 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
686
690
  ]),
687
691
  _: 3
688
692
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : C("", !0),
689
- It.value ? (n(), c("div", {
693
+ _t.value ? (u(), c("div", {
690
694
  key: 1,
691
695
  ref_key: "noTitle",
692
696
  ref: Be,
693
697
  class: "vue-data-ui-no-title-space",
694
698
  style: "height:36px; width: 100%;background:transparent"
695
699
  }, null, 512)) : C("", !0),
696
- e.value.style.chart.title.text ? (n(), c("div", {
700
+ e.value.style.chart.title.text ? (u(), c("div", {
697
701
  key: 2,
698
702
  ref_key: "chartTitle",
699
703
  ref: Ie,
700
704
  style: "width:100%;background:transparent;padding-bottom:12px"
701
705
  }, [
702
- (n(), E(Bl, {
706
+ (u(), E(Dl, {
703
707
  key: `title_${Oe.value}`,
704
708
  config: {
705
709
  title: {
@@ -715,8 +719,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
715
719
  ], 512)) : C("", !0),
716
720
  k("div", {
717
721
  id: `legend-top-${b.value}`
718
- }, null, 8, Ll),
719
- e.value.userOptions.show && ue.value && (d(Ne) || d(ve)) ? (n(), E(d(Ct), {
722
+ }, null, 8, zl),
723
+ e.value.userOptions.show && ne.value && (d(Ne) || d(ve)) ? (u(), E(d(wt), {
720
724
  ref_key: "userOptionsRef",
721
725
  ref: ie,
722
726
  key: `user_options_${Fe.value}`,
@@ -818,17 +822,17 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
818
822
  key: "8"
819
823
  } : void 0
820
824
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : C("", !0),
821
- (n(), c("svg", {
825
+ (u(), c("svg", {
822
826
  ref_key: "svgRef",
823
827
  ref: de,
824
- xmlns: d(sl),
828
+ xmlns: d(cl),
825
829
  class: at({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }),
826
830
  viewBox: `0 0 ${N.value.width <= 0 ? 10 : N.value.width} ${N.value.height <= 0 ? 10 : N.value.height}`,
827
831
  style: ae(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
828
832
  }, [
829
- oe(d(wt)),
833
+ oe(d(xt)),
830
834
  k("defs", null, [
831
- (n(!0), c(T, null, z(s.value, (a, o) => (n(), c("radialGradient", {
835
+ (u(!0), c(T, null, z(s.value, (a, o) => (u(), c("radialGradient", {
832
836
  cx: "50%",
833
837
  cy: "50%",
834
838
  r: "50%",
@@ -838,13 +842,13 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
838
842
  }, [
839
843
  k("stop", {
840
844
  offset: "0%",
841
- "stop-color": d(il)(d(cl)(a.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
842
- }, null, 8, Nl),
845
+ "stop-color": d(vl)(d(dl)(a.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
846
+ }, null, 8, Ml),
843
847
  k("stop", {
844
848
  offset: "100%",
845
849
  "stop-color": a.color
846
- }, null, 8, Vl)
847
- ], 8, zl))), 256))
850
+ }, null, 8, Rl)
851
+ ], 8, Vl))), 256))
848
852
  ]),
849
853
  k("defs", null, [
850
854
  k("filter", {
@@ -862,9 +866,9 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
862
866
  type: "saturate",
863
867
  values: "0"
864
868
  }, null, -1)
865
- ])], 8, Ml)
869
+ ])], 8, Ul)
866
870
  ]),
867
- e.value.useCustomCells && s.value.length ? (n(!0), c(T, { key: 0 }, z(W.value, (a, o) => (n(), c("foreignObject", {
871
+ e.value.useCustomCells && s.value.length ? (u(!0), c(T, { key: 0 }, z(W.value, (a, o) => (u(), c("foreignObject", {
868
872
  x: a.x,
869
873
  y: a.y,
870
874
  height: _.value <= 0 ? 1e-4 : _.value,
@@ -872,8 +876,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
872
876
  class: "vue-ui-waffle-custom-cell-foreignObject"
873
877
  }, [
874
878
  h(t.$slots, "cell", xe({ ref_for: !0 }, { cell: { ...a, color: s.value[o].color, ...s.value[o] }, isSelected: [null, void 0].includes(U.value) ? !0 : s.value[o].serieIndex === U.value }), void 0, !0)
875
- ], 8, Rl))), 256)) : C("", !0),
876
- !s.value.length && !e.value.useCustomCells ? (n(), c("rect", {
879
+ ], 8, Gl))), 256)) : C("", !0),
880
+ !s.value.length && !e.value.useCustomCells ? (u(), c("rect", {
877
881
  key: 1,
878
882
  x: 12,
879
883
  y: 12,
@@ -882,13 +886,13 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
882
886
  rx: 3,
883
887
  fill: "none",
884
888
  stroke: "black"
885
- }, null, 8, Ul)) : s.value.length && !e.value.useCustomCells ? (n(), c(T, { key: 2 }, [
886
- t.$slots.pattern ? (n(), c("g", Gl, [
887
- (n(!0), c(T, null, z(pe.value, (a) => (n(), c("defs", null, [
889
+ }, null, 8, Wl)) : s.value.length && !e.value.useCustomCells ? (u(), c(T, { key: 2 }, [
890
+ t.$slots.pattern ? (u(), c("g", jl, [
891
+ (u(!0), c(T, null, z(pe.value, (a) => (u(), c("defs", null, [
888
892
  h(t.$slots, "pattern", xe({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${b.value}_${a.absoluteIndex}` }), void 0, !0)
889
893
  ]))), 256))
890
894
  ])) : C("", !0),
891
- (n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
895
+ (u(!0), c(T, null, z(W.value, (a, o) => (u(), c("rect", {
892
896
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
893
897
  x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
894
898
  y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
@@ -898,8 +902,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
898
902
  stroke: e.value.style.chart.layout.rect.stroke,
899
903
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
900
904
  filter: ee(s.value[o].serieIndex)
901
- }, null, 8, Wl))), 256)),
902
- (n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
905
+ }, null, 8, ql))), 256)),
906
+ (u(!0), c(T, null, z(W.value, (a, o) => (u(), c("rect", {
903
907
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
904
908
  x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
905
909
  y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
@@ -909,9 +913,9 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
909
913
  stroke: e.value.style.chart.layout.rect.stroke,
910
914
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
911
915
  filter: ee(s.value[o].serieIndex)
912
- }, null, 8, jl))), 256)),
913
- t.$slots.pattern ? (n(), c("g", ql, [
914
- (n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
916
+ }, null, 8, Hl))), 256)),
917
+ t.$slots.pattern ? (u(), c("g", Xl, [
918
+ (u(!0), c(T, null, z(W.value, (a, o) => (u(), c("rect", {
915
919
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
916
920
  x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
917
921
  y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
@@ -920,40 +924,40 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
920
924
  fill: `url(#pattern_${b.value}_${s.value[o].absoluteIndex})`,
921
925
  stroke: "none",
922
926
  filter: ee(s.value[o].serieIndex)
923
- }, null, 8, Hl))), 256))
927
+ }, null, 8, Yl))), 256))
924
928
  ])) : C("", !0)
925
929
  ], 64)) : C("", !0),
926
- (n(!0), c(T, null, z(W.value, (a, o) => (n(), c(T, null, [
927
- Rt(o, a) ? (n(), c("text", {
930
+ (u(!0), c(T, null, z(W.value, (a, o) => (u(), c(T, null, [
931
+ Gt(o, a) ? (u(), c("text", {
928
932
  key: `datalabel_${o}`,
929
- textContent: re(Ut(o, a)),
933
+ textContent: re(Wt(o, a)),
930
934
  x: a.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2 + 6,
931
935
  y: a.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2 + qe.value / 2 + e.value.style.chart.layout.labels.captions.fontSize / 3,
932
936
  "font-size": e.value.style.chart.layout.labels.captions.fontSize,
933
- fill: d(vl)(s.value[o].color),
937
+ fill: d(fl)(s.value[o].color),
934
938
  filter: ee(s.value[o].serieIndex)
935
- }, null, 8, Xl)) : C("", !0)
939
+ }, null, 8, Jl)) : C("", !0)
936
940
  ], 64))), 256)),
937
- (n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
941
+ (u(!0), c(T, null, z(W.value, (a, o) => (u(), c("rect", {
938
942
  x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
939
943
  y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
940
944
  height: qe.value,
941
- width: St.value,
945
+ width: Bt.value,
942
946
  fill: "transparent",
943
947
  stroke: "none",
944
- onMouseover: (r) => Vt(o),
945
- onMouseleave: (r) => Nt(o),
946
- onClick: (r) => zt(o)
947
- }, null, 40, Yl))), 256)),
948
+ onMouseover: (r) => Rt(o),
949
+ onMouseleave: (r) => Mt(o),
950
+ onClick: (r) => Vt(o)
951
+ }, null, 40, Kl))), 256)),
948
952
  h(t.$slots, "svg", { svg: N.value }, void 0, !0)
949
- ], 14, El)),
950
- t.$slots.watermark ? (n(), c("div", Jl, [
953
+ ], 14, Nl)),
954
+ t.$slots.watermark ? (u(), c("div", Ql, [
951
955
  h(t.$slots, "watermark", x($({ isPrinting: d(Re) || d(Ue) })), void 0, !0)
952
956
  ])) : C("", !0),
953
957
  k("div", {
954
958
  id: `legend-bottom-${b.value}`
955
- }, null, 8, Kl),
956
- Le.value ? (n(), E(el, {
959
+ }, null, 8, Zl),
960
+ Le.value ? (u(), E(ll, {
957
961
  key: 5,
958
962
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
959
963
  }, [
@@ -961,24 +965,24 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
961
965
  ref_key: "chartLegend",
962
966
  ref: Se
963
967
  }, [
964
- e.value.style.chart.legend.show ? (n(), E(Ol, {
968
+ e.value.style.chart.legend.show ? (u(), E(Pl, {
965
969
  key: `legend_${Pe.value}`,
966
970
  legendSet: V.value,
967
- config: Et.value,
971
+ config: Nt.value,
968
972
  onClickMarker: l[0] || (l[0] = ({ legend: a }) => Z(a.uid))
969
973
  }, Ae({
970
974
  item: f(({ legend: a }) => [
971
975
  k("div", {
972
976
  onClick: (o) => a.segregate(),
973
977
  style: ae(`opacity:${y.value.includes(a.uid) ? 0.5 : 1}`)
974
- }, re(a.display), 13, Ql)
978
+ }, re(a.display), 13, ea)
975
979
  ]),
976
980
  _: 2
977
981
  }, [
978
982
  t.$slots.pattern ? {
979
983
  name: "legend-pattern",
980
984
  fn: f(({ legend: a, index: o }) => [
981
- oe(_l, {
985
+ oe(Ol, {
982
986
  shape: a.shape,
983
987
  radius: 30,
984
988
  stroke: "none",
@@ -994,7 +998,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
994
998
  }, void 0, !0)
995
999
  ], 512)
996
1000
  ], 8, ["to"])) : C("", !0),
997
- t.$slots.source ? (n(), c("div", {
1001
+ t.$slots.source ? (u(), c("div", {
998
1002
  key: 6,
999
1003
  ref_key: "source",
1000
1004
  ref: _e,
@@ -1002,9 +1006,9 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1002
1006
  }, [
1003
1007
  h(t.$slots, "source", {}, void 0, !0)
1004
1008
  ], 512)) : C("", !0),
1005
- oe(d(gt), {
1009
+ oe(d(bt), {
1006
1010
  teleportTo: e.value.style.chart.tooltip.teleportTo,
1007
- show: w.value.showTooltip && ne.value && y.value.length < m.dataset.length,
1011
+ show: w.value.showTooltip && ue.value && y.value.length < m.dataset.length,
1008
1012
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1009
1013
  color: e.value.style.chart.tooltip.color,
1010
1014
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -1031,13 +1035,13 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1031
1035
  ]),
1032
1036
  _: 3
1033
1037
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1034
- ue.value && e.value.userOptions.buttons.table ? (n(), E(tl(Y.value.component), xe({ key: 7 }, Y.value.props, {
1038
+ ne.value && e.value.userOptions.buttons.table ? (u(), E(al(Y.value.component), xe({ key: 7 }, Y.value.props, {
1035
1039
  ref_key: "tableUnit",
1036
1040
  ref: j,
1037
1041
  onClose: et
1038
1042
  }), Ae({
1039
1043
  content: f(() => [
1040
- (n(), E(d(bt), {
1044
+ (u(), E(d(Ct), {
1041
1045
  key: `table_${De.value}`,
1042
1046
  colNames: te.value.colNames,
1043
1047
  head: te.value.head,
@@ -1051,7 +1055,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1051
1055
  k("div", {
1052
1056
  innerHTML: a,
1053
1057
  style: { display: "flex", "align-items": "center" }
1054
- }, null, 8, Zl)
1058
+ }, null, 8, ta)
1055
1059
  ]),
1056
1060
  td: f(({ td: a }) => [
1057
1061
  ot(re(a.name || a), 1)
@@ -1076,7 +1080,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1076
1080
  class: "vue-ui-user-options-button",
1077
1081
  onClick: l[1] || (l[1] = (a) => Ce(e.value.userOptions.callbacks.csv))
1078
1082
  }, [
1079
- oe(d(yt), {
1083
+ oe(d(mt), {
1080
1084
  name: "excel",
1081
1085
  stroke: Y.value.props.color
1082
1086
  }, null, 8, ["stroke"])
@@ -1085,15 +1089,15 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1085
1089
  key: "1"
1086
1090
  } : void 0
1087
1091
  ]), 1040)) : C("", !0),
1088
- d(Ee) ? (n(), E(Al, { key: 8 })) : C("", !0)
1089
- ], 46, Pl));
1092
+ d(Ee) ? (u(), E($l, { key: 8 })) : C("", !0)
1093
+ ], 46, El));
1090
1094
  }
1091
- }, ta = /* @__PURE__ */ Dl(ea, [["__scopeId", "data-v-1257e714"]]), ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1095
+ }, aa = /* @__PURE__ */ Ll(la, [["__scopeId", "data-v-1257e714"]]), ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1092
1096
  __proto__: null,
1093
- default: ta
1097
+ default: aa
1094
1098
  }, Symbol.toStringTag, { value: "Module" }));
1095
1099
  export {
1096
- ba as a,
1097
- ma as b,
1098
- ta as v
1100
+ Ca as a,
1101
+ ka as b,
1102
+ aa as v
1099
1103
  };