vue-data-ui 3.6.0 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +26 -26
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
  5. package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-Bq_mtsqr.js} +1 -1
  10. package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +1 -0
  90. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  91. package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
  92. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  93. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  94. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  95. package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-ByLTJx5V.js} +78 -78
  96. package/dist/vue-data-ui.js +225 -205
  97. package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
  98. package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  99. package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
  100. package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  101. package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
  102. package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
  103. package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
  104. package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
  105. package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
  106. package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
  107. package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  108. package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
  109. package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
  110. package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BLb0kj_P.js} +634 -602
  111. package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
  112. package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
  113. package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
  114. package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
  115. package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
  116. package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
  117. package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
  118. package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
  119. package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
  120. package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  121. package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  122. package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
  123. package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
  124. package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
  125. package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
  126. package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
  127. package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
  128. package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
  129. package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
  130. package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  131. package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
  132. package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
  133. package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
  134. package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
  135. package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
  136. package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  137. package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
  138. package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
  139. package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
  140. package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
  141. package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
  142. package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
  143. package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
  144. package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
  145. package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
  146. package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-DMM090pe.js} +5 -5
  147. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  148. package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
  149. package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
  150. package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-jTnS3ES5.js} +25 -25
  151. package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
  152. package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
  153. package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
  154. package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-DIALVfvc.js} +376 -347
  155. package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
  156. package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
  157. package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-CVLlgp2f.js} +57 -57
  158. package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
  159. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  160. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  161. package/package.json +5 -5
  162. package/dist/themes-DH-N_ePR.js +0 -54
  163. package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
  164. package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
  165. package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
  166. package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
  167. package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
  168. package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
  169. package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
  170. package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
  171. package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
  172. package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
  173. package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
  174. package/dist/vue-ui-molecule-CasngKZI.js +0 -753
  175. package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
  176. package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
  177. package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
  178. package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
  179. package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
  180. package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
  181. package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
  182. package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
  183. package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
  184. package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
  185. package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
  186. package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
  187. package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
  188. package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
  189. package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
  190. package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
  191. package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
  192. package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
  193. package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
  194. package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
  195. package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
  196. package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
  197. package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
  198. package/dist/vue-ui-xy-BT67faLv.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
@@ -1,22 +1,39 @@
1
- import { defineAsyncComponent as D, useSlots as Rt, computed as c, ref as i, toRefs as Ut, watch as J, shallowRef as et, onMounted as Et, onBeforeUnmount as Wt, createElementBlock as v, openBlock as s, unref as h, normalizeStyle as ae, normalizeClass as tt, createBlock as V, createCommentVNode as m, createElementVNode as k, createVNode as oe, withCtx as f, renderSlot as p, normalizeProps as x, guardReactiveProps as T, createSlots as Ce, Fragment as I, renderList as N, mergeProps as $e, toDisplayString as ue, Teleport as Gt, resolveDynamicComponent as Ht, createTextVNode as lt, nextTick as jt } from "vue";
2
- import { c as qt, t as Xt, b as Yt, p as U, o as at, f as xe, g as Jt, e as Qt, a as Q, d as F, X as Kt, s as Zt, i as el, J as tl, h as ll, P as al, Q as ol, I as ul, G as nl, H as sl } from "./lib-C_mNZmhD.js";
3
- import { t as rl, u as il } from "./useResponsive-DfdjqQps.js";
4
- import { u as vl, a as ot } from "./useNestedProp-CIoDlpHu.js";
5
- import { u as cl, B as dl } from "./BaseScanner-BgWxam9d.js";
6
- import { u as hl } from "./usePrinter-DTzqpYKF.js";
7
- import { u as fl } from "./useSvgExport-DrjCWun4.js";
8
- import { u as pl } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as gl } from "./useChartAccessibility-9icAAmYg.js";
10
- import yl from "./img-BecE5qXd.js";
11
- import { _ as bl } from "./Shape-CNXKB8O0.js";
12
- import ml from "./Title-Bb1VWCtR.js";
13
- import { t as wl } from "./themes-DH-N_ePR.js";
14
- import kl from "./Legend-D9ZTJKjh.js";
15
- import { _ as Cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["stop-color"], _l = ["stop-color"], Al = ["id"], Ol = ["x", "y", "height", "width"], Pl = ["height", "width"], Ll = { key: 0 }, Fl = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Bl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Dl = { key: 1 }, Vl = ["rx", "x", "y", "height", "width", "fill", "filter"], Nl = ["textContent", "x", "y", "font-size", "fill", "filter"], zl = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], Ml = {
1
+ import { defineAsyncComponent as E, useSlots as Yt, computed as v, ref as i, toRefs as Jt, watch as J, shallowRef as tt, onMounted as Kt, onBeforeUnmount as Qt, createElementBlock as c, openBlock as n, unref as h, normalizeStyle as ae, normalizeClass as lt, createBlock as L, createCommentVNode as C, createElementVNode as k, createVNode as oe, withCtx as f, renderSlot as p, normalizeProps as $, guardReactiveProps as x, createSlots as we, Fragment as T, renderList as z, mergeProps as Ae, toDisplayString as ue, Teleport as Zt, resolveDynamicComponent as el, createTextVNode as at, nextTick as tl } from "vue";
2
+ import { c as ll, t as al, i as ol, p as R, o as ot, g as $e, k as ul, j as rl, a as K, d as D, X as nl, s as sl, h as il, w as cl, l as vl, u as dl, q as hl, S as fl, x as pl, R as gl } from "./lib-C5BH09_g.js";
3
+ import { t as yl, u as bl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ml, a as xe } from "./useNestedProp-CWo6bftQ.js";
5
+ import { u as Cl, B as kl } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as wl } from "./usePrinter-DCJzEiS8.js";
7
+ import { u as Al } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as $l } from "./useThemeCheck-DGJ31Vi5.js";
9
+ import { u as xl } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as Tl } from "./useChartAccessibility-9icAAmYg.js";
11
+ import Fl from "./img-DUzJeMlr.js";
12
+ import { _ as Sl } from "./Shape-DE6X_t31.js";
13
+ import Il from "./Title-DfFUb9hd.js";
14
+ import _l from "./Legend-Web3GjlR.js";
15
+ import { _ as Bl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ 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" } } }, rt = { 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" } } }, nt = { 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" } } }, st = { 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" } } }, it = { 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" } } }, ct = { 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" } } }, vt = {
17
+ default: {},
18
+ dark: ut,
19
+ celebration: rt,
20
+ celebrationNight: nt,
21
+ hack: st,
22
+ zen: it,
23
+ concrete: ct
24
+ }, pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
+ __proto__: null,
26
+ celebration: rt,
27
+ celebrationNight: nt,
28
+ concrete: ct,
29
+ dark: ut,
30
+ default: vt,
31
+ hack: st,
32
+ zen: it
33
+ }, Symbol.toStringTag, { value: "Module" })), Ol = ["id"], Dl = ["id"], Pl = ["xmlns", "viewBox"], El = ["id"], Ll = ["stop-color"], zl = ["stop-color"], Vl = ["id"], Nl = ["x", "y", "height", "width"], Ml = ["height", "width"], Rl = { key: 0 }, Ul = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Gl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Wl = { key: 1 }, jl = ["rx", "x", "y", "height", "width", "fill", "filter"], ql = ["textContent", "x", "y", "font-size", "fill", "filter"], Hl = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], Xl = {
17
34
  key: 4,
18
35
  class: "vue-data-ui-watermark"
19
- }, Rl = ["id"], Ul = ["onClick"], El = ["innerHTML"], Wl = {
36
+ }, Yl = ["id"], Jl = ["onClick"], Kl = ["innerHTML"], Ql = {
20
37
  __name: "vue-ui-waffle",
21
38
  props: {
22
39
  config: {
@@ -33,9 +50,9 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
33
50
  }
34
51
  },
35
52
  emits: ["selectLegend"],
36
- setup(ut, { expose: nt, emit: st }) {
37
- const rt = D(() => import("./Tooltip-oWCO1HKy.js")), it = D(() => import("./BaseIcon-DLFL0M4-.js")), vt = D(() => import("./DataTable-UCyd_BQI.js")), ct = D(() => import("./vue-ui-accordion-SSLXLlNz.js")), dt = D(() => import("./UserOptions-BqmUW9Kp.js")), ht = D(() => import("./PenAndPaper-BJSMejV9.js")), ft = D(() => import("./PackageVersion-D_4Hr4S4.js")), pt = D(() => import("./BaseDraggableDialog-DhKIof09.js")), { vue_ui_waffle: gt } = vl(), w = ut, yt = Rt(), ne = c(() => !!w.dataset && w.dataset.length), b = i(qt()), se = i(!1), re = i(""), E = i(null), Te = i(0), S = i(null), Ie = i(null), Se = i(null), _e = i(null), Ae = i(null), Oe = i(0), Pe = i(0), Le = i(0), Fe = i(!1), H = i(null), ie = i(null), e = i(he()), { loading: Be, FINAL_DATASET: K, manualLoading: ve } = cl({
38
- ...Ut(w),
53
+ setup(dt, { expose: ht, emit: ft }) {
54
+ const pt = E(() => import("./Tooltip-WD0Ros6G.js")), gt = E(() => import("./BaseIcon-CofSxalQ.js")), yt = E(() => import("./DataTable-CHaOCmsE.js")), bt = E(() => import("./vue-ui-accordion-DSdZUn2C.js")), mt = E(() => import("./UserOptions-B3I-s3Lw.js")), Ct = E(() => import("./PenAndPaper-HCZQTkqi.js")), kt = E(() => import("./PackageVersion-Bq_mtsqr.js")), wt = E(() => import("./BaseDraggableDialog-CRF94NJQ.js")), { vue_ui_waffle: At } = ml(), { isThemeValid: $t, warnInvalidTheme: xt } = $l(), m = dt, Tt = Yt(), re = v(() => !!m.dataset && m.dataset.length), b = i(ll()), ne = i(!1), se = i(""), U = i(null), Te = i(0), F = i(null), Fe = i(null), Se = i(null), Ie = i(null), _e = i(null), Be = i(0), Oe = i(0), De = i(0), Pe = i(!1), j = i(null), ie = i(null), e = i(he()), { loading: Ee, FINAL_DATASET: Q, manualLoading: ce } = Cl({
55
+ ...Jt(m),
39
56
  FINAL_CONFIG: e,
40
57
  prepareConfig: he,
41
58
  callback: () => {
@@ -60,7 +77,7 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
60
77
  color: "#CACACA"
61
78
  }
62
79
  ],
63
- skeletonConfig: Xt({
80
+ skeletonConfig: al({
64
81
  defaultConfig: e.value,
65
82
  userConfig: {
66
83
  useCustomCells: !1,
@@ -86,118 +103,125 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
86
103
  }
87
104
  }
88
105
  })
89
- }), { userOptionsVisible: ce, setUserOptionsVisibility: De, keepUserOptionState: Ve } = pl({ config: e.value }), { svgRef: de } = gl({ config: e.value.style.chart.title });
106
+ }), { userOptionsVisible: ve, setUserOptionsVisibility: Le, keepUserOptionState: ze } = xl({ config: e.value }), { svgRef: de } = Tl({ config: e.value.style.chart.title });
90
107
  function he() {
91
- const t = ot({
92
- userConfig: w.config,
93
- defaultConfig: gt
108
+ const t = xe({
109
+ userConfig: m.config,
110
+ defaultConfig: At
111
+ }), l = t.theme;
112
+ if (!l) return t;
113
+ if (!$t.value(t))
114
+ return xt(t), t;
115
+ const a = xe({
116
+ userConfig: vt[l] || m.config,
117
+ defaultConfig: t
118
+ }), o = xe({
119
+ userConfig: m.config,
120
+ defaultConfig: a
94
121
  });
95
- return t.theme ? {
96
- ...ot({
97
- userConfig: wl.vue_ui_waffle[t.theme] || w.config,
98
- defaultConfig: t
99
- }),
100
- customPalette: Yt[t.theme] || U
101
- } : t;
122
+ return {
123
+ ...o,
124
+ customPalette: o.customPalette.length ? o.customPalette : ol[l] || R
125
+ };
102
126
  }
103
- J(() => w.config, (t) => {
104
- Be.value || (e.value = he()), ce.value = !e.value.userOptions.showOnChartHover, ze(), Oe.value += 1, Pe.value += 1, Le.value += 1, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
127
+ J(() => m.config, (t) => {
128
+ Ee.value || (e.value = he()), ve.value = !e.value.userOptions.showOnChartHover, Ne(), Be.value += 1, Oe.value += 1, De.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.chart.tooltip.show;
105
129
  }, { deep: !0 });
106
- const B = et(null), W = et(null), Ne = c(() => !!e.value.debug);
107
- function ze() {
108
- if (at(w.dataset) ? (xe({
130
+ const P = tt(null), G = tt(null), Ve = v(() => !!e.value.debug);
131
+ function Ne() {
132
+ if (ot(m.dataset) ? ($e({
109
133
  componentName: "VueUiWaffle",
110
134
  type: "dataset",
111
- debug: Ne.value
112
- }), ne.value = !1, ve.value = !0) : w.dataset.forEach((t, l) => {
113
- Jt({
135
+ debug: Ve.value
136
+ }), re.value = !1, ce.value = !0) : m.dataset.forEach((t, l) => {
137
+ ul({
114
138
  datasetObject: t,
115
139
  requiredAttributes: ["name", "values"]
116
140
  }).forEach((a) => {
117
- xe({
141
+ $e({
118
142
  componentName: "VueUiWaffle",
119
143
  type: "datasetSerieAttribute",
120
144
  property: a,
121
145
  index: l,
122
- debug: Ne.value
146
+ debug: Ve.value
123
147
  });
124
148
  });
125
- }), at(w.dataset) || (ve.value = e.value.loading), e.value.responsive) {
126
- const t = rl(() => {
127
- const { width: l, height: a } = il({
128
- chart: S.value,
129
- title: e.value.style.chart.title.text ? Ie.value : null,
149
+ }), ot(m.dataset) || (ce.value = e.value.loading), e.value.responsive) {
150
+ const t = yl(() => {
151
+ const { width: l, height: a } = bl({
152
+ chart: F.value,
153
+ title: e.value.style.chart.title.text ? Fe.value : null,
130
154
  legend: e.value.style.chart.legend.show ? Se.value : null,
131
- source: _e.value,
132
- noTitle: Ae.value
155
+ source: Ie.value,
156
+ noTitle: _e.value
133
157
  });
134
158
  requestAnimationFrame(() => {
135
- z.value.width = l, z.value.height = a, _.value.width = l, _.value.height = a;
159
+ V.value.width = l, V.value.height = a, S.value.width = l, S.value.height = a;
136
160
  });
137
161
  });
138
- B.value && (W.value && B.value.unobserve(W.value), B.value.disconnect()), B.value = new ResizeObserver(t), W.value = S.value.parentNode, B.value.observe(W.value);
162
+ 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);
139
163
  }
140
164
  }
141
- Et(() => {
142
- Fe.value = !0, ze();
143
- }), Wt(() => {
144
- B.value && (W.value && B.value.unobserve(W.value), B.value.disconnect());
165
+ Kt(() => {
166
+ Pe.value = !0, Ne();
167
+ }), Qt(() => {
168
+ P.value && (G.value && P.value.unobserve(G.value), P.value.disconnect());
145
169
  });
146
- const { isPrinting: Me, isImaging: Re, generatePdf: Ue, generateImage: Ee } = hl({
170
+ const { isPrinting: Me, isImaging: Re, generatePdf: Ue, generateImage: Ge } = wl({
147
171
  elementId: `vue-ui-waffle_${b.value}`,
148
172
  fileName: e.value.style.chart.title.text || "vue-ui-waffle",
149
173
  options: e.value.userOptions.print
150
- }), bt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), We = c(() => Qt(e.value.customPalette)), C = i({
174
+ }), Ft = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), We = v(() => rl(e.value.customPalette)), w = i({
151
175
  showTable: e.value.table.show,
152
176
  showTooltip: e.value.style.chart.tooltip.show
153
177
  });
154
178
  J(e, () => {
155
- C.value = {
179
+ w.value = {
156
180
  showTable: e.value.table.show,
157
181
  showTooltip: e.value.style.chart.tooltip.show
158
182
  };
159
183
  }, { immediate: !0 });
160
- const z = i({
184
+ const V = i({
161
185
  height: 512,
162
186
  width: 512
163
- }), _ = i({
187
+ }), S = i({
164
188
  top: 0,
165
189
  left: 0,
166
190
  height: 512,
167
191
  width: 512
168
- }), A = c(() => (_.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), O = c(() => (_.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), mt = c(() => Math.max(1e-4, _.value.width / e.value.style.chart.layout.grid.size)), Ge = c(() => Math.max(1e-4, _.value.height / e.value.style.chart.layout.grid.size));
169
- function He(t) {
170
- const l = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce(($, ke) => $ + ke, 0), o = t.map(($) => $ / a * l), u = o.map(Math.floor), n = o.map(($) => $ % 1);
171
- let d = l - u.reduce(($, ke) => $ + ke, 0);
192
+ }), I = v(() => (S.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), _ = v(() => (S.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, S.value.width / e.value.style.chart.layout.grid.size)), je = v(() => Math.max(1e-4, S.value.height / e.value.style.chart.layout.grid.size));
193
+ function qe(t) {
194
+ const l = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((A, ke) => A + ke, 0), o = t.map((A) => A / a * l), u = o.map(Math.floor), r = o.map((A) => A % 1);
195
+ let d = l - u.reduce((A, ke) => A + ke, 0);
172
196
  for (; d > 0; ) {
173
- let $ = n.indexOf(Math.max(...n));
174
- u[$] += 1, n[$] = 0, d -= 1;
197
+ let A = r.indexOf(Math.max(...r));
198
+ u[A] += 1, r[A] = 0, d -= 1;
175
199
  }
176
200
  return u;
177
201
  }
178
- const j = i(!1);
202
+ const q = i(!1);
179
203
  function fe() {
180
- return j.value = K.value.flatMap((t) => t.values.reduce((l, a) => l + a, 0)).reduce((t, l) => t + l, 0) === 0, K.value.map((t, l) => ({
204
+ 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) => ({
181
205
  ...t,
182
- color: ll(t.color) || We.value[l] || U[l] || U[l % U.length],
206
+ color: vl(t.color) || We.value[l] || R[l] || R[l % R.length],
183
207
  uid: `serie_${l}`,
184
208
  absoluteIndex: l
185
209
  }));
186
210
  }
187
- const pe = c(() => fe()), g = i(pe.value);
188
- J(() => w.dataset, (t) => {
189
- Array.isArray(t) && t.length > 0 && (ve.value = !1);
190
- }, { immediate: !0 }), J(() => w.dataset, (t) => {
211
+ const pe = v(() => fe()), g = i(pe.value);
212
+ J(() => m.dataset, (t) => {
213
+ Array.isArray(t) && t.length > 0 && (ce.value = !1);
214
+ }, { immediate: !0 }), J(() => m.dataset, (t) => {
191
215
  g.value = fe();
192
216
  }, { deep: !0 });
193
- const wt = c(() => {
194
- const t = g.value.filter((l, a) => !y.value.includes(l.uid)).map((l, a) => j.value ? 1 : (l.values || []).reduce((o, u) => o + u, 0));
195
- return He(t);
196
- }), kt = c(() => {
197
- const t = g.value.map((l, a) => j.value ? 1 : (l.values || []).reduce((o, u) => o + u));
198
- return He(t);
199
- }), q = c(() => (K.value.forEach((t, l) => {
200
- [null, void 0].includes(t.values) && xe({
217
+ const It = v(() => {
218
+ const t = g.value.filter((l, a) => !y.value.includes(l.uid)).map((l, a) => q.value ? 1 : (l.values || []).reduce((o, u) => o + u, 0));
219
+ return qe(t);
220
+ }), _t = v(() => {
221
+ const t = g.value.map((l, a) => q.value ? 1 : (l.values || []).reduce((o, u) => o + u));
222
+ return qe(t);
223
+ }), H = v(() => (Q.value.forEach((t, l) => {
224
+ [null, void 0].includes(t.values) && $e({
201
225
  componentName: "VueUiWaffle",
202
226
  type: "datasetSerieAttribute",
203
227
  property: "values (number[])",
@@ -210,17 +234,17 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
210
234
  color: t.color,
211
235
  value: (t.values || []).reduce((a, o) => a + o, 0),
212
236
  absoluteValues: t.values || [],
213
- proportion: wt.value[l]
214
- })))), ge = c(() => g.value.map((t, l) => ({
237
+ proportion: It.value[l]
238
+ })))), ge = v(() => g.value.map((t, l) => ({
215
239
  absoluteIndex: t.absoluteIndex,
216
240
  uid: t.uid,
217
241
  name: t.name,
218
242
  color: t.color,
219
243
  value: (t.values || []).reduce((a, o) => a + o, 0),
220
244
  absoluteValues: t.values || [],
221
- proportion: kt.value[l]
245
+ proportion: _t.value[l]
222
246
  })));
223
- function Ct() {
247
+ function Bt() {
224
248
  return ge.value.map((t) => ({
225
249
  name: t.name,
226
250
  color: t.color,
@@ -228,19 +252,19 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
228
252
  proportion: t.proportion
229
253
  }));
230
254
  }
231
- const $t = c(() => {
255
+ const Ot = v(() => {
232
256
  let t = 0;
233
- return q.value.map((l, a) => {
234
- const o = t, u = o + l.proportion, n = [];
257
+ return H.value.map((l, a) => {
258
+ const o = t, u = o + l.proportion, r = [];
235
259
  for (let d = Math.floor(o); d < Math.floor(u); d += 1)
236
- n.push(d);
260
+ r.push(d);
237
261
  return t = u, {
238
262
  ...l,
239
263
  start: o,
240
- rects: n
264
+ rects: r
241
265
  };
242
266
  });
243
- }), r = c(() => $t.value.flatMap((t, l) => t.rects.map((a, o) => ({
267
+ }), s = v(() => Ot.value.flatMap((t, l) => t.rects.map((a, o) => ({
244
268
  isFirst: o === 0,
245
269
  isLongEnough: a.length > 2,
246
270
  name: t.name,
@@ -253,53 +277,53 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
253
277
  }))).map((t, l) => ({
254
278
  ...t,
255
279
  isAbsoluteFirst: l % e.value.style.chart.layout.grid.size === 0
256
- }))), G = c(() => {
280
+ }))), W = v(() => {
257
281
  const t = [];
258
282
  for (let l = 0; l < e.value.style.chart.layout.grid.size; l += 1)
259
283
  for (let a = 0; a < e.value.style.chart.layout.grid.size; a += 1)
260
284
  t.push({
261
285
  isStartOfLine: a === 0,
262
286
  position: e.value.style.chart.layout.grid.vertical ? l : a,
263
- x: (e.value.style.chart.layout.grid.vertical ? l : a) * (A.value + e.value.style.chart.layout.grid.spaceBetween),
264
- y: (e.value.style.chart.layout.grid.vertical ? a : l) * (O.value + e.value.style.chart.layout.grid.spaceBetween) + _.value.top
287
+ x: (e.value.style.chart.layout.grid.vertical ? l : a) * (I.value + e.value.style.chart.layout.grid.spaceBetween),
288
+ y: (e.value.style.chart.layout.grid.vertical ? a : l) * (_.value + e.value.style.chart.layout.grid.spaceBetween) + S.value.top
265
289
  });
266
290
  return t;
267
- }), y = i([]), X = i(!1), je = i(null), qe = i(null);
291
+ }), y = i([]), X = i(!1), He = i(null), Xe = i(null);
268
292
  function Z(t) {
269
- if (j.value) return;
293
+ if (q.value) return;
270
294
  if (!e.value.useAnimation) {
271
- y.value.includes(t) ? y.value = y.value.filter((u) => u !== t) : y.value.length < M.value.length - 1 && M.value.length > 1 && y.value.push(t);
295
+ y.value.includes(t) ? y.value = y.value.filter((u) => u !== t) : y.value.length < N.value.length - 1 && N.value.length > 1 && y.value.push(t);
272
296
  return;
273
297
  }
274
- const l = pe.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0), a = g.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0);
298
+ const l = pe.value.find((u) => u.uid === t).values.reduce((u, r) => u + r, 0), a = g.value.find((u) => u.uid === t).values.reduce((u, r) => u + r, 0);
275
299
  let o = a;
276
300
  if (!(a === 0 && l === 0)) {
277
301
  if (y.value.includes(t)) {
278
- let n = function() {
279
- o > u ? (cancelAnimationFrame(je.value), g.value = g.value.map((d, $) => d.uid === t ? {
302
+ let r = function() {
303
+ o > u ? (cancelAnimationFrame(He.value), g.value = g.value.map((d, A) => d.uid === t ? {
280
304
  ...d,
281
305
  values: [u]
282
- } : d), X.value = !1) : (X.value = !0, o += u * 0.025, g.value = g.value.map((d, $) => d.uid === t ? {
306
+ } : d), X.value = !1) : (X.value = !0, o += u * 0.025, g.value = g.value.map((d, A) => d.uid === t ? {
283
307
  ...d,
284
308
  values: [o]
285
- } : d), je.value = requestAnimationFrame(n));
309
+ } : d), He.value = requestAnimationFrame(r));
286
310
  };
287
311
  y.value = y.value.filter((d) => d !== t);
288
312
  const u = l;
289
- n();
290
- } else if (y.value.length < M.value.length - 1 && M.value.length > 1) {
313
+ r();
314
+ } else if (y.value.length < N.value.length - 1 && N.value.length > 1) {
291
315
  let u = function() {
292
- o < a / 100 ? (cancelAnimationFrame(qe.value), y.value.push(t), g.value = g.value.map((n, d) => n.uid === t ? {
293
- ...n,
316
+ o < a / 100 ? (cancelAnimationFrame(Xe.value), y.value.push(t), g.value = g.value.map((r, d) => r.uid === t ? {
317
+ ...r,
294
318
  values: [0]
295
- } : n), X.value = !1) : (X.value = !0, o /= 1.15, g.value = g.value.map((n) => n.uid === t ? {
296
- ...n,
319
+ } : r), X.value = !1) : (X.value = !0, o /= 1.15, g.value = g.value.map((r) => r.uid === t ? {
320
+ ...r,
297
321
  values: [o]
298
- } : n), qe.value = requestAnimationFrame(u));
322
+ } : r), Xe.value = requestAnimationFrame(u));
299
323
  };
300
324
  u();
301
325
  }
302
- Ot("selectLegend", q.value.map((u) => ({
326
+ Nt("selectLegend", H.value.map((u) => ({
303
327
  name: u.name,
304
328
  color: u.color,
305
329
  value: u.value,
@@ -307,25 +331,25 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
307
331
  })));
308
332
  }
309
333
  }
310
- function Xe(t) {
334
+ function Ye(t) {
311
335
  if (!ge.value.length)
312
336
  return e.value.debug && console.warn("VueUiWaffle - There are no series to show."), null;
313
337
  const l = ge.value.find((a) => a.name === t);
314
338
  return l || (e.value.debug && console.warn(`VueUiWaffle - Series name not found "${t}"`), null);
315
339
  }
316
- function xt(t) {
317
- const l = Xe(t);
340
+ function Dt(t) {
341
+ const l = Ye(t);
318
342
  l !== null && y.value.includes(l.uid) && Z(l.uid);
319
343
  }
320
- function Tt(t) {
321
- const l = Xe(t);
344
+ function Pt(t) {
345
+ const l = Ye(t);
322
346
  l !== null && (y.value.includes(l.uid) || Z(l.uid));
323
347
  }
324
- const M = c(() => g.value.map((t, l) => {
325
- const a = (t.values || []).reduce((u, n) => u + n, 0), o = a / g.value.map((u) => (u.values || []).reduce((n, d) => n + d, 0)).reduce((u, n) => u + n, 0);
348
+ const N = v(() => g.value.map((t, l) => {
349
+ const a = (t.values || []).reduce((u, r) => u + r, 0), o = a / g.value.map((u) => (u.values || []).reduce((r, d) => r + d, 0)).reduce((u, r) => u + r, 0);
326
350
  return {
327
351
  name: t.name,
328
- color: t.color || We[l] || U[l] || U[l % U.length],
352
+ color: t.color || We[l] || R[l] || R[l % R.length],
329
353
  value: a,
330
354
  proportion: o,
331
355
  uid: t.uid,
@@ -336,56 +360,56 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
336
360
  opacity: y.value.includes(t.uid) ? 0.5 : 1,
337
361
  segregate: () => Z(t.uid),
338
362
  isSegregated: y.value.includes(t.uid),
339
- display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Q(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, F({
363
+ display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? K(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, D({
340
364
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
341
365
  v: t.value,
342
366
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
343
367
  r: e.value.style.chart.legend.roundingValue
344
- }), { datapoint: t, index: l }) : ""}${e.value.style.chart.legend.showPercentage ? y.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 / P.value) ? "-" : F({ v: t.value / P.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
345
- }))), It = c(() => ({
368
+ }), { datapoint: t, index: l }) : ""}${e.value.style.chart.legend.showPercentage ? y.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 / B.value) ? "-" : D({ v: t.value / B.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
369
+ }))), Et = v(() => ({
346
370
  cy: "waffle-div-legend",
347
371
  backgroundColor: e.value.style.chart.legend.backgroundColor,
348
372
  color: e.value.style.chart.legend.color,
349
373
  fontSize: e.value.style.chart.legend.fontSize,
350
374
  paddingBottom: 12,
351
375
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
352
- })), P = c(() => q.value.map((t) => t.value).reduce((t, l) => t + l, 0)), ye = i(null), be = i(null);
353
- function St(t) {
354
- const l = r.value[t];
376
+ })), B = v(() => H.value.map((t) => t.value).reduce((t, l) => t + l, 0)), ye = i(null), be = i(null);
377
+ function Lt(t) {
378
+ const l = s.value[t];
355
379
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.serieIndex });
356
380
  }
357
- function _t(t) {
358
- const l = r.value[t];
359
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: l.serieIndex }), be.value = null, se.value = !1, E.value = null;
381
+ function zt(t) {
382
+ const l = s.value[t];
383
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: l.serieIndex }), be.value = null, ne.value = !1, U.value = null;
360
384
  }
361
- function At(t) {
362
- if (y.value.length === w.dataset.length) return;
363
- const l = r.value[t];
385
+ function Vt(t) {
386
+ if (y.value.length === m.dataset.length) return;
387
+ const l = s.value[t];
364
388
  ye.value = {
365
389
  datapoint: l,
366
390
  seriesIndex: l.absoluteIndex,
367
391
  series: g.value,
368
392
  config: e.value
369
- }, e.value.events.datapointEnter && be.value !== l.serieIndex && e.value.events.datapointEnter({ datapoint: l, seriesIndex: l.serieIndex }), be.value = l.serieIndex, se.value = !0, E.value = r.value[t].serieIndex;
393
+ }, e.value.events.datapointEnter && be.value !== l.serieIndex && e.value.events.datapointEnter({ datapoint: l, seriesIndex: l.serieIndex }), be.value = l.serieIndex, ne.value = !0, U.value = s.value[t].serieIndex;
370
394
  const a = e.value.style.chart.tooltip.customFormat;
371
- if (nl(a) && sl(() => a({
372
- seriesIndex: r.value[t].absoluteIndex,
395
+ if (pl(a) && gl(() => a({
396
+ seriesIndex: s.value[t].absoluteIndex,
373
397
  datapoint: l,
374
398
  series: g.value,
375
399
  config: e.value
376
400
  })))
377
- re.value = a({
378
- seriesIndex: r.value[t].absoluteIndex,
401
+ se.value = a({
402
+ seriesIndex: s.value[t].absoluteIndex,
379
403
  datapoint: l,
380
404
  series: g.value,
381
405
  config: e.value
382
406
  });
383
407
  else {
384
408
  let o = "";
385
- if (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}" />${yt.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${b.value}_${l.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${Q(
409
+ if (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}" />${Tt.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${b.value}_${l.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${K(
386
410
  e.value.style.chart.layout.labels.dataLabels.formatter,
387
411
  l.value,
388
- F({
412
+ D({
389
413
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
390
414
  v: l.value,
391
415
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -393,87 +417,87 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
393
417
  }),
394
418
  {
395
419
  datapoint: l,
396
- seriesIndex: r.value[t].absoluteIndex,
420
+ seriesIndex: s.value[t].absoluteIndex,
397
421
  series: g.value
398
422
  }
399
423
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
400
- const u = F({
401
- v: j.value ? 1 / K.value.length * 100 : l.value / P.value * 100,
424
+ const u = D({
425
+ v: q.value ? 1 / Q.value.length * 100 : l.value / B.value * 100,
402
426
  s: "%",
403
427
  r: e.value.style.chart.tooltip.roundingPercentage
404
428
  });
405
429
  e.value.style.chart.tooltip.showValue ? o += `<span>(${u})</span></div>` : o += `<b>${u}%</b></div>`;
406
430
  }
407
- re.value = o;
431
+ se.value = o;
408
432
  }
409
433
  }
410
- const Ot = st, L = c(() => {
411
- const t = q.value.map((a) => ({
434
+ const Nt = ft, O = v(() => {
435
+ const t = H.value.map((a) => ({
412
436
  name: a.name,
413
437
  color: a.color
414
- })), l = q.value.map((a) => a.value);
438
+ })), l = H.value.map((a) => a.value);
415
439
  return { head: t, body: l };
416
440
  });
417
441
  function ee(t) {
418
- return e.value.useBlurOnHover && ![null, void 0].includes(E.value) && E.value !== t ? `url(#blur_${b.value})` : "";
442
+ return e.value.useBlurOnHover && ![null, void 0].includes(U.value) && U.value !== t ? `url(#blur_${b.value})` : "";
419
443
  }
420
- function Pt(t, l) {
421
- return e.value.style.chart.layout.labels.captions.show ? r.value.length && !X.value && !e.value.style.chart.layout.grid.vertical && (r.value[t].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || r.value[t].isAbsoluteFirst && t % e.value.style.chart.layout.grid.size === 0 && r.value[t].absoluteStartIndex) : !1;
444
+ function Mt(t, l) {
445
+ 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;
422
446
  }
423
- function Lt(t, l = null) {
424
- const a = Q(
447
+ function Rt(t, l = null) {
448
+ const a = K(
425
449
  e.value.style.chart.layout.labels.dataLabels.formatter,
426
- r.value[t].value,
427
- F({
450
+ s.value[t].value,
451
+ D({
428
452
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
429
- v: r.value[t].value,
453
+ v: s.value[t].value,
430
454
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
431
455
  r: e.value.style.chart.layout.labels.captions.roundingValue
432
456
  }),
433
- { datapoint: r.value[t], position: l }
434
- ), o = F({ v: r.value[t].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage }), u = (e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? ul({ source: r.value[t].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : r.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 ? u : "";
457
+ { datapoint: s.value[t], position: l }
458
+ ), o = D({ v: s.value[t].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage }), u = (e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? fl({ 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 ? ":" : ""), r = e.value.style.chart.layout.labels.captions.showSerieName ? u : "";
435
459
  let d = "";
436
- return e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? d = `${o} (${a})` : e.value.style.chart.layout.labels.captions.showPercentage && !e.value.style.chart.layout.labels.captions.showValue ? d = o : !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue && (d = a), `${n}${d}`;
460
+ return e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? d = `${o} (${a})` : e.value.style.chart.layout.labels.captions.showPercentage && !e.value.style.chart.layout.labels.captions.showValue ? d = o : !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue && (d = a), `${r}${d}`;
437
461
  }
438
462
  function me(t = null) {
439
- jt(() => {
440
- const l = L.value.head.map((u, n) => [[
463
+ tl(() => {
464
+ const l = O.value.head.map((u, r) => [[
441
465
  u.name
442
- ], [L.value.body[n]], [isNaN(L.value.body[n] / P.value) ? "-" : L.value.body[n] / P.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), o = al(a);
443
- t ? t(o) : ol({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-waffle" });
466
+ ], [O.value.body[r]], [isNaN(O.value.body[r] / B.value) ? "-" : O.value.body[r] / B.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), o = dl(a);
467
+ t ? t(o) : hl({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-waffle" });
444
468
  });
445
469
  }
446
- const te = c(() => {
470
+ const te = v(() => {
447
471
  const t = [
448
472
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
449
- Q(
473
+ K(
450
474
  e.value.style.chart.layout.labels.dataLabels.formatter,
451
- P.value,
452
- F({
475
+ B.value,
476
+ D({
453
477
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
454
- v: P.value,
478
+ v: B.value,
455
479
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
456
480
  r: e.value.table.td.roundingValue
457
481
  })
458
482
  ),
459
483
  "100%"
460
- ], l = L.value.head.map((u, n) => [
484
+ ], l = O.value.head.map((u, r) => [
461
485
  {
462
486
  color: u.color,
463
487
  name: u.name
464
488
  },
465
- Q(
489
+ K(
466
490
  e.value.style.chart.layout.labels.dataLabels.formatter,
467
- L.value.body[n],
468
- F({
491
+ O.value.body[r],
492
+ D({
469
493
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
470
- v: L.value.body[n],
494
+ v: O.value.body[r],
471
495
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
472
496
  r: e.value.table.td.roundingValue
473
497
  })
474
498
  ),
475
- isNaN(L.value.body[n] / P.value) ? "-" : F({
476
- v: L.value.body[n] / P.value * 100,
499
+ isNaN(O.value.body[r] / B.value) ? "-" : D({
500
+ v: O.value.body[r] / B.value * 100,
477
501
  s: "%",
478
502
  r: e.value.table.td.roundingPercentage
479
503
  })
@@ -501,44 +525,44 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
501
525
  config: a,
502
526
  colNames: o
503
527
  };
504
- }), R = i(!1);
505
- function Ye(t) {
506
- R.value = t, Te.value += 1;
528
+ }), M = i(!1);
529
+ function Je(t) {
530
+ M.value = t, Te.value += 1;
507
531
  }
508
- function Je() {
509
- C.value.showTable = !C.value.showTable;
532
+ function Ke() {
533
+ w.value.showTable = !w.value.showTable;
510
534
  }
511
535
  function Qe() {
512
- C.value.showTooltip = !C.value.showTooltip;
536
+ w.value.showTooltip = !w.value.showTooltip;
513
537
  }
514
538
  const le = i(!1);
515
- function we() {
539
+ function Ce() {
516
540
  le.value = !le.value;
517
541
  }
518
- async function Ft({ scale: t = 2 } = {}) {
519
- if (!S.value) return;
520
- const { width: l, height: a } = S.value.getBoundingClientRect(), o = l / a, { imageUri: u, base64: n } = await yl({ domElement: S.value, base64: !0, img: !0, scale: t });
542
+ async function Ut({ scale: t = 2 } = {}) {
543
+ if (!F.value) return;
544
+ const { width: l, height: a } = F.value.getBoundingClientRect(), o = l / a, { imageUri: u, base64: r } = await Fl({ domElement: F.value, base64: !0, img: !0, scale: t });
521
545
  return {
522
546
  imageUri: u,
523
- base64: n,
547
+ base64: r,
524
548
  title: e.value.style.chart.title.text,
525
549
  width: l,
526
550
  height: a,
527
551
  aspectRatio: o
528
552
  };
529
553
  }
530
- const Y = c(() => {
531
- const t = e.value.table.useDialog && !e.value.table.show, l = C.value.showTable;
554
+ const Y = v(() => {
555
+ const t = e.value.table.useDialog && !e.value.table.show, l = w.value.showTable;
532
556
  return {
533
- component: t ? pt : ct,
557
+ component: t ? wt : bt,
534
558
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
535
559
  props: t ? {
536
560
  backgroundColor: e.value.table.th.backgroundColor,
537
561
  color: e.value.table.th.color,
538
562
  headerColor: e.value.table.th.color,
539
563
  headerBg: e.value.table.th.backgroundColor,
540
- isFullscreen: R.value,
541
- fullscreenParent: S.value,
564
+ isFullscreen: M.value,
565
+ fullscreenParent: F.value,
542
566
  forcedWidth: Math.min(500, window.innerWidth * 0.8)
543
567
  } : {
544
568
  hideDetails: !0,
@@ -557,94 +581,94 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
557
581
  }
558
582
  };
559
583
  });
560
- J(() => C.value.showTable, (t) => {
561
- e.value.table.show || (t && e.value.table.useDialog && H.value ? H.value.open() : "close" in H.value && H.value.close());
584
+ J(() => w.value.showTable, (t) => {
585
+ e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
562
586
  });
563
- function Ke() {
564
- C.value.showTable = !1, ie.value && ie.value.setTableIconState(!1);
587
+ function Ze() {
588
+ w.value.showTable = !1, ie.value && ie.value.setTableIconState(!1);
565
589
  }
566
- const Bt = c(() => M.value.map((t) => ({
590
+ const Gt = v(() => N.value.map((t) => ({
567
591
  ...t,
568
592
  name: t.display
569
- }))), Dt = c(() => e.value.style.chart.backgroundColor), Vt = c(() => e.value.style.chart.legend), Nt = c(() => e.value.style.chart.title), { exportSvg: zt, getSvg: Mt } = fl({
593
+ }))), Wt = v(() => e.value.style.chart.backgroundColor), jt = v(() => e.value.style.chart.legend), qt = v(() => e.value.style.chart.title), { exportSvg: Ht, getSvg: Xt } = Al({
570
594
  svg: de,
571
- title: Nt,
572
- legend: Vt,
573
- legendItems: Bt,
574
- backgroundColor: Dt
595
+ title: qt,
596
+ legend: jt,
597
+ legendItems: Gt,
598
+ backgroundColor: Wt
575
599
  });
576
- async function Ze({ isCb: t }) {
600
+ async function et({ isCb: t }) {
577
601
  if (t) {
578
- const { blob: l, url: a, text: o, dataUrl: u } = await Mt();
602
+ const { blob: l, url: a, text: o, dataUrl: u } = await Xt();
579
603
  e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: u });
580
604
  } else
581
- zt();
605
+ Ht();
582
606
  }
583
- return nt({
584
- getData: Ct,
585
- getImage: Ft,
607
+ return ht({
608
+ getData: Bt,
609
+ getImage: Ut,
586
610
  generatePdf: Ue,
587
611
  generateCsv: me,
588
- generateImage: Ee,
589
- generateSvg: Ze,
590
- hideSeries: Tt,
591
- showSeries: xt,
592
- toggleTable: Je,
612
+ generateImage: Ge,
613
+ generateSvg: et,
614
+ hideSeries: Pt,
615
+ showSeries: Dt,
616
+ toggleTable: Ke,
593
617
  toggleTooltip: Qe,
594
- toggleAnnotator: we,
595
- toggleFullscreen: Ye
596
- }), (t, l) => (s(), v("div", {
597
- class: tt(`vue-data-ui-component vue-ui-waffle ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
618
+ toggleAnnotator: Ce,
619
+ toggleFullscreen: Je
620
+ }), (t, l) => (n(), c("div", {
621
+ class: lt(`vue-data-ui-component vue-ui-waffle ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
598
622
  ref_key: "waffleChart",
599
- ref: S,
623
+ ref: F,
600
624
  id: `vue-ui-waffle_${b.value}`,
601
625
  style: ae(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
602
- onMouseenter: l[2] || (l[2] = () => h(De)(!0)),
603
- onMouseleave: l[3] || (l[3] = () => h(De)(!1))
626
+ onMouseenter: l[2] || (l[2] = () => h(Le)(!0)),
627
+ onMouseleave: l[3] || (l[3] = () => h(Le)(!1))
604
628
  }, [
605
- e.value.userOptions.buttons.annotator ? (s(), V(h(ht), {
629
+ e.value.userOptions.buttons.annotator ? (n(), L(h(Ct), {
606
630
  key: 0,
607
631
  svgRef: h(de),
608
632
  backgroundColor: e.value.style.chart.backgroundColor,
609
633
  color: e.value.style.chart.color,
610
634
  active: le.value,
611
- onClose: we
635
+ onClose: Ce
612
636
  }, {
613
637
  "annotator-action-close": f(() => [
614
638
  p(t.$slots, "annotator-action-close", {}, void 0, !0)
615
639
  ]),
616
640
  "annotator-action-color": f(({ color: a }) => [
617
- p(t.$slots, "annotator-action-color", x(T({ color: a })), void 0, !0)
641
+ p(t.$slots, "annotator-action-color", $(x({ color: a })), void 0, !0)
618
642
  ]),
619
643
  "annotator-action-draw": f(({ mode: a }) => [
620
- p(t.$slots, "annotator-action-draw", x(T({ mode: a })), void 0, !0)
644
+ p(t.$slots, "annotator-action-draw", $(x({ mode: a })), void 0, !0)
621
645
  ]),
622
646
  "annotator-action-undo": f(({ disabled: a }) => [
623
- p(t.$slots, "annotator-action-undo", x(T({ disabled: a })), void 0, !0)
647
+ p(t.$slots, "annotator-action-undo", $(x({ disabled: a })), void 0, !0)
624
648
  ]),
625
649
  "annotator-action-redo": f(({ disabled: a }) => [
626
- p(t.$slots, "annotator-action-redo", x(T({ disabled: a })), void 0, !0)
650
+ p(t.$slots, "annotator-action-redo", $(x({ disabled: a })), void 0, !0)
627
651
  ]),
628
652
  "annotator-action-delete": f(({ disabled: a }) => [
629
- p(t.$slots, "annotator-action-delete", x(T({ disabled: a })), void 0, !0)
653
+ p(t.$slots, "annotator-action-delete", $(x({ disabled: a })), void 0, !0)
630
654
  ]),
631
655
  _: 3
632
- }, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
633
- bt.value ? (s(), v("div", {
656
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : C("", !0),
657
+ Ft.value ? (n(), c("div", {
634
658
  key: 1,
635
659
  ref_key: "noTitle",
636
- ref: Ae,
660
+ ref: _e,
637
661
  class: "vue-data-ui-no-title-space",
638
662
  style: "height:36px; width: 100%;background:transparent"
639
- }, null, 512)) : m("", !0),
640
- e.value.style.chart.title.text ? (s(), v("div", {
663
+ }, null, 512)) : C("", !0),
664
+ e.value.style.chart.title.text ? (n(), c("div", {
641
665
  key: 2,
642
666
  ref_key: "chartTitle",
643
- ref: Ie,
667
+ ref: Fe,
644
668
  style: "width:100%;background:transparent;padding-bottom:12px"
645
669
  }, [
646
- (s(), V(ml, {
647
- key: `title_${Oe.value}`,
670
+ (n(), L(Il, {
671
+ key: `title_${Be.value}`,
648
672
  config: {
649
673
  title: {
650
674
  cy: "waffle-title",
@@ -656,11 +680,11 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
656
680
  }
657
681
  }
658
682
  }, null, 8, ["config"]))
659
- ], 512)) : m("", !0),
683
+ ], 512)) : C("", !0),
660
684
  k("div", {
661
685
  id: `legend-top-${b.value}`
662
- }, null, 8, xl),
663
- e.value.userOptions.show && ne.value && (h(Ve) || h(ce)) ? (s(), V(h(dt), {
686
+ }, null, 8, Dl),
687
+ e.value.userOptions.show && re.value && (h(ze) || h(ve)) ? (n(), L(h(mt), {
664
688
  ref_key: "userOptionsRef",
665
689
  ref: ie,
666
690
  key: `user_options_${Te.value}`,
@@ -676,32 +700,32 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
676
700
  hasXls: e.value.userOptions.buttons.csv,
677
701
  hasTable: e.value.userOptions.buttons.table,
678
702
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
679
- isFullscreen: R.value,
680
- isTooltip: C.value.showTooltip,
703
+ isFullscreen: M.value,
704
+ isTooltip: w.value.showTooltip,
681
705
  titles: { ...e.value.userOptions.buttonTitles },
682
- chartElement: S.value,
706
+ chartElement: F.value,
683
707
  position: e.value.userOptions.position,
684
708
  hasAnnotator: e.value.userOptions.buttons.annotator,
685
709
  isAnnotation: le.value,
686
710
  callbacks: e.value.userOptions.callbacks,
687
711
  printScale: e.value.userOptions.print.scale,
688
712
  tableDialog: e.value.table.useDialog,
689
- onToggleFullscreen: Ye,
713
+ onToggleFullscreen: Je,
690
714
  onGeneratePdf: h(Ue),
691
715
  onGenerateCsv: me,
692
- onGenerateImage: h(Ee),
693
- onGenerateSvg: Ze,
694
- onToggleTable: Je,
716
+ onGenerateImage: h(Ge),
717
+ onGenerateSvg: et,
718
+ onToggleTable: Ke,
695
719
  onToggleTooltip: Qe,
696
- onToggleAnnotator: we,
720
+ onToggleAnnotator: Ce,
697
721
  style: ae({
698
- visibility: h(Ve) ? h(ce) ? "visible" : "hidden" : "visible"
722
+ visibility: h(ze) ? h(ve) ? "visible" : "hidden" : "visible"
699
723
  })
700
- }, Ce({ _: 2 }, [
724
+ }, we({ _: 2 }, [
701
725
  t.$slots.menuIcon ? {
702
726
  name: "menuIcon",
703
727
  fn: f(({ isOpen: a, color: o }) => [
704
- p(t.$slots, "menuIcon", x(T({ isOpen: a, color: o })), void 0, !0)
728
+ p(t.$slots, "menuIcon", $(x({ isOpen: a, color: o })), void 0, !0)
705
729
  ]),
706
730
  key: "0"
707
731
  } : void 0,
@@ -750,29 +774,29 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
750
774
  t.$slots.optionFullscreen ? {
751
775
  name: "optionFullscreen",
752
776
  fn: f(({ toggleFullscreen: a, isFullscreen: o }) => [
753
- p(t.$slots, "optionFullscreen", x(T({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
777
+ p(t.$slots, "optionFullscreen", $(x({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
754
778
  ]),
755
779
  key: "7"
756
780
  } : void 0,
757
781
  t.$slots.optionAnnotator ? {
758
782
  name: "optionAnnotator",
759
783
  fn: f(({ toggleAnnotator: a, isAnnotator: o }) => [
760
- p(t.$slots, "optionAnnotator", x(T({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
784
+ p(t.$slots, "optionAnnotator", $(x({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
761
785
  ]),
762
786
  key: "8"
763
787
  } : void 0
764
- ]), 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"])) : m("", !0),
765
- (s(), v("svg", {
788
+ ]), 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),
789
+ (n(), c("svg", {
766
790
  ref_key: "svgRef",
767
791
  ref: de,
768
- xmlns: h(Kt),
769
- class: tt({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
770
- viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
792
+ xmlns: h(nl),
793
+ class: lt({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }),
794
+ viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
771
795
  style: ae(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
772
796
  }, [
773
- oe(h(ft)),
797
+ oe(h(kt)),
774
798
  k("defs", null, [
775
- (s(!0), v(I, null, N(r.value, (a, o) => (s(), v("radialGradient", {
799
+ (n(!0), c(T, null, z(s.value, (a, o) => (n(), c("radialGradient", {
776
800
  cx: "50%",
777
801
  cy: "50%",
778
802
  r: "50%",
@@ -782,13 +806,13 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
782
806
  }, [
783
807
  k("stop", {
784
808
  offset: "0%",
785
- "stop-color": h(Zt)(h(el)(a.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
786
- }, null, 8, Sl),
809
+ "stop-color": h(sl)(h(il)(a.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
810
+ }, null, 8, Ll),
787
811
  k("stop", {
788
812
  offset: "100%",
789
813
  "stop-color": a.color
790
- }, null, 8, _l)
791
- ], 8, Il))), 256))
814
+ }, null, 8, zl)
815
+ ], 8, El))), 256))
792
816
  ]),
793
817
  k("defs", null, [
794
818
  k("filter", {
@@ -806,98 +830,98 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
806
830
  type: "saturate",
807
831
  values: "0"
808
832
  }, null, -1)
809
- ])], 8, Al)
833
+ ])], 8, Vl)
810
834
  ]),
811
- e.value.useCustomCells && r.value.length ? (s(!0), v(I, { key: 0 }, N(G.value, (a, o) => (s(), v("foreignObject", {
835
+ e.value.useCustomCells && s.value.length ? (n(!0), c(T, { key: 0 }, z(W.value, (a, o) => (n(), c("foreignObject", {
812
836
  x: a.x,
813
837
  y: a.y,
814
- height: O.value <= 0 ? 1e-4 : O.value,
815
- width: A.value <= 0 ? 1e-4 : A.value,
838
+ height: _.value <= 0 ? 1e-4 : _.value,
839
+ width: I.value <= 0 ? 1e-4 : I.value,
816
840
  class: "vue-ui-waffle-custom-cell-foreignObject"
817
841
  }, [
818
- p(t.$slots, "cell", $e({ ref_for: !0 }, { cell: { ...a, color: r.value[o].color, ...r.value[o] }, isSelected: [null, void 0].includes(E.value) ? !0 : r.value[o].serieIndex === E.value }), void 0, !0)
819
- ], 8, Ol))), 256)) : m("", !0),
820
- !r.value.length && !e.value.useCustomCells ? (s(), v("rect", {
842
+ p(t.$slots, "cell", Ae({ 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)
843
+ ], 8, Nl))), 256)) : C("", !0),
844
+ !s.value.length && !e.value.useCustomCells ? (n(), c("rect", {
821
845
  key: 1,
822
846
  x: 12,
823
847
  y: 12,
824
- height: _.value.height - 24,
825
- width: _.value.width - 24,
848
+ height: S.value.height - 24,
849
+ width: S.value.width - 24,
826
850
  rx: 3,
827
851
  fill: "none",
828
852
  stroke: "black"
829
- }, null, 8, Pl)) : r.value.length && !e.value.useCustomCells ? (s(), v(I, { key: 2 }, [
830
- t.$slots.pattern ? (s(), v("g", Ll, [
831
- (s(!0), v(I, null, N(pe.value, (a) => (s(), v("defs", null, [
832
- p(t.$slots, "pattern", $e({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${b.value}_${a.absoluteIndex}` }), void 0, !0)
853
+ }, null, 8, Ml)) : s.value.length && !e.value.useCustomCells ? (n(), c(T, { key: 2 }, [
854
+ t.$slots.pattern ? (n(), c("g", Rl, [
855
+ (n(!0), c(T, null, z(pe.value, (a) => (n(), c("defs", null, [
856
+ p(t.$slots, "pattern", Ae({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${b.value}_${a.absoluteIndex}` }), void 0, !0)
833
857
  ]))), 256))
834
- ])) : m("", !0),
835
- (s(!0), v(I, null, N(G.value, (a, o) => (s(), v("rect", {
858
+ ])) : C("", !0),
859
+ (n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
836
860
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
837
861
  x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
838
862
  y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
839
- height: O.value <= 0 ? 1e-4 : O.value,
840
- width: A.value <= 0 ? 1e-4 : A.value,
863
+ height: _.value <= 0 ? 1e-4 : _.value,
864
+ width: I.value <= 0 ? 1e-4 : I.value,
841
865
  fill: "white",
842
866
  stroke: e.value.style.chart.layout.rect.stroke,
843
867
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
844
- filter: ee(r.value[o].serieIndex)
845
- }, null, 8, Fl))), 256)),
846
- (s(!0), v(I, null, N(G.value, (a, o) => (s(), v("rect", {
868
+ filter: ee(s.value[o].serieIndex)
869
+ }, null, 8, Ul))), 256)),
870
+ (n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
847
871
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
848
872
  x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
849
873
  y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
850
- height: O.value <= 0 ? 1e-4 : O.value,
851
- width: A.value <= 0 ? 1e-4 : A.value,
852
- fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${b.value}_${o})` : r.value[o].color,
874
+ height: _.value <= 0 ? 1e-4 : _.value,
875
+ width: I.value <= 0 ? 1e-4 : I.value,
876
+ fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${b.value}_${o})` : s.value[o].color,
853
877
  stroke: e.value.style.chart.layout.rect.stroke,
854
878
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
855
- filter: ee(r.value[o].serieIndex)
856
- }, null, 8, Bl))), 256)),
857
- t.$slots.pattern ? (s(), v("g", Dl, [
858
- (s(!0), v(I, null, N(G.value, (a, o) => (s(), v("rect", {
879
+ filter: ee(s.value[o].serieIndex)
880
+ }, null, 8, Gl))), 256)),
881
+ t.$slots.pattern ? (n(), c("g", Wl, [
882
+ (n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
859
883
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
860
884
  x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
861
885
  y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
862
- height: O.value <= 0 ? 1e-4 : O.value,
863
- width: A.value <= 0 ? 1e-4 : A.value,
864
- fill: `url(#pattern_${b.value}_${r.value[o].absoluteIndex})`,
886
+ height: _.value <= 0 ? 1e-4 : _.value,
887
+ width: I.value <= 0 ? 1e-4 : I.value,
888
+ fill: `url(#pattern_${b.value}_${s.value[o].absoluteIndex})`,
865
889
  stroke: "none",
866
- filter: ee(r.value[o].serieIndex)
867
- }, null, 8, Vl))), 256))
868
- ])) : m("", !0)
869
- ], 64)) : m("", !0),
870
- (s(!0), v(I, null, N(G.value, (a, o) => (s(), v(I, null, [
871
- Pt(o, a) ? (s(), v("text", {
890
+ filter: ee(s.value[o].serieIndex)
891
+ }, null, 8, jl))), 256))
892
+ ])) : C("", !0)
893
+ ], 64)) : C("", !0),
894
+ (n(!0), c(T, null, z(W.value, (a, o) => (n(), c(T, null, [
895
+ Mt(o, a) ? (n(), c("text", {
872
896
  key: `datalabel_${o}`,
873
- textContent: ue(Lt(o, a)),
897
+ textContent: ue(Rt(o, a)),
874
898
  x: a.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2 + 6,
875
- y: a.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2 + Ge.value / 2 + e.value.style.chart.layout.labels.captions.fontSize / 3,
899
+ y: a.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2 + je.value / 2 + e.value.style.chart.layout.labels.captions.fontSize / 3,
876
900
  "font-size": e.value.style.chart.layout.labels.captions.fontSize,
877
- fill: h(tl)(r.value[o].color),
878
- filter: ee(r.value[o].serieIndex)
879
- }, null, 8, Nl)) : m("", !0)
901
+ fill: h(cl)(s.value[o].color),
902
+ filter: ee(s.value[o].serieIndex)
903
+ }, null, 8, ql)) : C("", !0)
880
904
  ], 64))), 256)),
881
- (s(!0), v(I, null, N(G.value, (a, o) => (s(), v("rect", {
905
+ (n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
882
906
  x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
883
907
  y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
884
- height: Ge.value,
885
- width: mt.value,
908
+ height: je.value,
909
+ width: St.value,
886
910
  fill: "transparent",
887
911
  stroke: "none",
888
- onMouseover: (u) => At(o),
889
- onMouseleave: (u) => _t(o),
890
- onClick: (u) => St(o)
891
- }, null, 40, zl))), 256)),
892
- p(t.$slots, "svg", { svg: z.value }, void 0, !0)
893
- ], 14, Tl)),
894
- t.$slots.watermark ? (s(), v("div", Ml, [
895
- p(t.$slots, "watermark", x(T({ isPrinting: h(Me) || h(Re) })), void 0, !0)
896
- ])) : m("", !0),
912
+ onMouseover: (u) => Vt(o),
913
+ onMouseleave: (u) => zt(o),
914
+ onClick: (u) => Lt(o)
915
+ }, null, 40, Hl))), 256)),
916
+ p(t.$slots, "svg", { svg: V.value }, void 0, !0)
917
+ ], 14, Pl)),
918
+ t.$slots.watermark ? (n(), c("div", Xl, [
919
+ p(t.$slots, "watermark", $(x({ isPrinting: h(Me) || h(Re) })), void 0, !0)
920
+ ])) : C("", !0),
897
921
  k("div", {
898
922
  id: `legend-bottom-${b.value}`
899
- }, null, 8, Rl),
900
- Fe.value ? (s(), V(Gt, {
923
+ }, null, 8, Yl),
924
+ Pe.value ? (n(), L(Zt, {
901
925
  key: 5,
902
926
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
903
927
  }, [
@@ -905,24 +929,24 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
905
929
  ref_key: "chartLegend",
906
930
  ref: Se
907
931
  }, [
908
- e.value.style.chart.legend.show ? (s(), V(kl, {
909
- key: `legend_${Le.value}`,
910
- legendSet: M.value,
911
- config: It.value,
932
+ e.value.style.chart.legend.show ? (n(), L(_l, {
933
+ key: `legend_${De.value}`,
934
+ legendSet: N.value,
935
+ config: Et.value,
912
936
  onClickMarker: l[0] || (l[0] = ({ legend: a }) => Z(a.uid))
913
- }, Ce({
937
+ }, we({
914
938
  item: f(({ legend: a }) => [
915
939
  k("div", {
916
940
  onClick: (o) => a.segregate(),
917
941
  style: ae(`opacity:${y.value.includes(a.uid) ? 0.5 : 1}`)
918
- }, ue(a.display), 13, Ul)
942
+ }, ue(a.display), 13, Jl)
919
943
  ]),
920
944
  _: 2
921
945
  }, [
922
946
  t.$slots.pattern ? {
923
947
  name: "legend-pattern",
924
948
  fn: f(({ legend: a, index: o }) => [
925
- oe(bl, {
949
+ oe(Sl, {
926
950
  shape: a.shape,
927
951
  radius: 30,
928
952
  stroke: "none",
@@ -934,20 +958,20 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
934
958
  } : void 0
935
959
  ]), 1032, ["legendSet", "config"])) : p(t.$slots, "legend", {
936
960
  key: 1,
937
- legend: M.value
961
+ legend: N.value
938
962
  }, void 0, !0)
939
963
  ], 512)
940
- ], 8, ["to"])) : m("", !0),
941
- t.$slots.source ? (s(), v("div", {
964
+ ], 8, ["to"])) : C("", !0),
965
+ t.$slots.source ? (n(), c("div", {
942
966
  key: 6,
943
967
  ref_key: "source",
944
- ref: _e,
968
+ ref: Ie,
945
969
  dir: "auto"
946
970
  }, [
947
971
  p(t.$slots, "source", {}, void 0, !0)
948
- ], 512)) : m("", !0),
949
- oe(h(rt), {
950
- show: C.value.showTooltip && se.value && y.value.length < w.dataset.length,
972
+ ], 512)) : C("", !0),
973
+ oe(h(pt), {
974
+ show: w.value.showTooltip && ne.value && y.value.length < m.dataset.length,
951
975
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
952
976
  color: e.value.style.chart.tooltip.color,
953
977
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -956,48 +980,48 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
956
980
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
957
981
  position: e.value.style.chart.tooltip.position,
958
982
  offsetY: e.value.style.chart.tooltip.offsetY,
959
- parent: S.value,
960
- content: re.value,
983
+ parent: F.value,
984
+ content: se.value,
961
985
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
962
986
  fontSize: e.value.style.chart.tooltip.fontSize,
963
- isFullscreen: R.value,
987
+ isFullscreen: M.value,
964
988
  smooth: e.value.style.chart.tooltip.smooth,
965
989
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
966
990
  smoothForce: e.value.style.chart.tooltip.smoothForce,
967
991
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
968
992
  }, {
969
993
  "tooltip-before": f(() => [
970
- p(t.$slots, "tooltip-before", x(T({ ...ye.value })), void 0, !0)
994
+ p(t.$slots, "tooltip-before", $(x({ ...ye.value })), void 0, !0)
971
995
  ]),
972
996
  "tooltip-after": f(() => [
973
- p(t.$slots, "tooltip-after", x(T({ ...ye.value })), void 0, !0)
997
+ p(t.$slots, "tooltip-after", $(x({ ...ye.value })), void 0, !0)
974
998
  ]),
975
999
  _: 3
976
1000
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
977
- ne.value && e.value.userOptions.buttons.table ? (s(), V(Ht(Y.value.component), $e({ key: 7 }, Y.value.props, {
1001
+ re.value && e.value.userOptions.buttons.table ? (n(), L(el(Y.value.component), Ae({ key: 7 }, Y.value.props, {
978
1002
  ref_key: "tableUnit",
979
- ref: H,
980
- onClose: Ke
981
- }), Ce({
1003
+ ref: j,
1004
+ onClose: Ze
1005
+ }), we({
982
1006
  content: f(() => [
983
- (s(), V(h(vt), {
984
- key: `table_${Pe.value}`,
1007
+ (n(), L(h(yt), {
1008
+ key: `table_${Oe.value}`,
985
1009
  colNames: te.value.colNames,
986
1010
  head: te.value.head,
987
1011
  body: te.value.body,
988
1012
  config: te.value.config,
989
1013
  title: e.value.table.useDialog ? "" : Y.value.title,
990
1014
  withCloseButton: !e.value.table.useDialog,
991
- onClose: Ke
1015
+ onClose: Ze
992
1016
  }, {
993
1017
  th: f(({ th: a }) => [
994
1018
  k("div", {
995
1019
  innerHTML: a,
996
1020
  style: { display: "flex", "align-items": "center" }
997
- }, null, 8, El)
1021
+ }, null, 8, Kl)
998
1022
  ]),
999
1023
  td: f(({ td: a }) => [
1000
- lt(ue(a.name || a), 1)
1024
+ at(ue(a.name || a), 1)
1001
1025
  ]),
1002
1026
  _: 1
1003
1027
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1007,7 +1031,7 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
1007
1031
  e.value.table.useDialog ? {
1008
1032
  name: "title",
1009
1033
  fn: f(() => [
1010
- lt(ue(Y.value.title), 1)
1034
+ at(ue(Y.value.title), 1)
1011
1035
  ]),
1012
1036
  key: "0"
1013
1037
  } : void 0,
@@ -1019,7 +1043,7 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
1019
1043
  class: "vue-ui-user-options-button",
1020
1044
  onClick: l[1] || (l[1] = (a) => me(e.value.userOptions.callbacks.csv))
1021
1045
  }, [
1022
- oe(h(it), {
1046
+ oe(h(gt), {
1023
1047
  name: "excel",
1024
1048
  stroke: Y.value.props.color
1025
1049
  }, null, 8, ["stroke"])
@@ -1027,11 +1051,16 @@ const $l = ["id"], xl = ["id"], Tl = ["xmlns", "viewBox"], Il = ["id"], Sl = ["s
1027
1051
  ]),
1028
1052
  key: "1"
1029
1053
  } : void 0
1030
- ]), 1040)) : m("", !0),
1031
- h(Be) ? (s(), V(dl, { key: 8 })) : m("", !0)
1032
- ], 46, $l));
1054
+ ]), 1040)) : C("", !0),
1055
+ h(Ee) ? (n(), L(kl, { key: 8 })) : C("", !0)
1056
+ ], 46, Ol));
1033
1057
  }
1034
- }, ua = /* @__PURE__ */ Cl(Wl, [["__scopeId", "data-v-24beaccb"]]);
1058
+ }, Zl = /* @__PURE__ */ Bl(Ql, [["__scopeId", "data-v-0db27d8d"]]), ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1059
+ __proto__: null,
1060
+ default: Zl
1061
+ }, Symbol.toStringTag, { value: "Module" }));
1035
1062
  export {
1036
- ua as default
1063
+ pa as a,
1064
+ ga as b,
1065
+ Zl as v
1037
1066
  };