vue-data-ui 3.23.9 → 3.23.10

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 (178) hide show
  1. package/dist/{Arrow-CF0VFcBH.js → Arrow-bwmME0jw.js} +1 -1
  2. package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-DBVHlhQZ.js} +2 -2
  3. package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-B4n7br_R.js} +1 -1
  4. package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-wRhcG_-q.js} +1 -1
  5. package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-BZjzzyQo.js} +2 -2
  6. package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-B9kUMLSz.js} +2 -2
  7. package/dist/{DataTable-BbKgJ5UI.js → DataTable-DMsScfkx.js} +2 -2
  8. package/dist/{HillActions-BD9j_sOU.js → HillActions-IWPfuceW.js} +1 -1
  9. package/dist/{Legend-CQxUgOd-.js → Legend-DWEFXq9E.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-Crs4-xWz.js} +3 -3
  11. package/dist/{PackageVersion-B629oKuX.js → PackageVersion-DNTJUKh1.js} +1 -1
  12. package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-DJ607Hx6.js} +3 -3
  13. package/dist/{Shape-C21CMlWS.js → Shape-BAhF1ToV.js} +1 -1
  14. package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-sXtk2ZZ2.js} +2 -2
  15. package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-BE50SZQH.js} +1 -1
  16. package/dist/{Title-BE3qg9xl.js → Title-BGLPsoA9.js} +1 -1
  17. package/dist/{Tooltip-DhjyfHwz.js → Tooltip-DO4-MVhc.js} +1 -1
  18. package/dist/{UserOptions-Dt98of5H.js → UserOptions-HQyukyl2.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BYIvdTe8.js → dom-to-png-Cg_3vpOo.js} +1 -1
  90. package/dist/{exposedLib-C0DPCgFj.js → exposedLib-vfRiIvq_.js} +1 -1
  91. package/dist/{img-Bnokohej.js → img-tU9mMt9W.js} +1 -1
  92. package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-C_lMnQRs.js} +1 -1
  93. package/dist/{lib-Bttd6u5E.js → lib-AT2PUyyh.js} +1 -1
  94. package/dist/{package-C01DAl-Z.js → package-enC-Nivt.js} +1 -1
  95. package/dist/{pdf-CVIDfCrS.js → pdf-ColHHJFH.js} +1 -1
  96. package/dist/{render-common-Dv5BvuwZ.js → render-common-CqcoYfCA.js} +2 -2
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CW0vJS1B.js} +1 -1
  102. package/dist/{usePrinter-DN5bYhTG.js → usePrinter-BFS7d6eb.js} +2 -2
  103. package/dist/utils.js +2 -2
  104. package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-DD7J3yor.js} +69 -69
  105. package/dist/vue-data-ui.js +72 -72
  106. package/dist/vue-ui-3d-bar-DgrcdAgz.js +1829 -0
  107. package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-DJNjilyy.js} +3 -3
  108. package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-DI8b5E2H.js} +6 -6
  109. package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-7ZVfFskI.js} +6 -6
  110. package/dist/{vue-ui-bullet-GgRg9sbN.js → vue-ui-bullet-Dyd5F1Wa.js} +7 -7
  111. package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-DzB3WQnq.js} +166 -166
  112. package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick--YWEtek_.js} +7 -7
  113. package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-Dn3RZU0p.js} +4 -4
  114. package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-BIsXeXiU.js} +5 -5
  115. package/dist/{vue-ui-chord-eOIKOfDO.js → vue-ui-chord-BimXqVsF.js} +8 -8
  116. package/dist/{vue-ui-circle-pack-kCN1R-pw.js → vue-ui-circle-pack-DKQEhL-L.js} +13 -16
  117. package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-C-P2D5i6.js} +3 -3
  118. package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-CThnMMWA.js} +7 -7
  119. package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-D0NNTRO3.js} +69 -69
  120. package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-9tGjGzZh.js} +3 -3
  121. package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-DLN9uPOi.js} +2 -2
  122. package/dist/vue-ui-donut-EZu8p7HF.js +2413 -0
  123. package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-mu-iGTIn.js} +9 -9
  124. package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-Dvldi3Oo.js} +13 -16
  125. package/dist/{vue-ui-flow-R-fW_EeT.js → vue-ui-flow-DYZBT5Cb.js} +13 -16
  126. package/dist/{vue-ui-funnel-CT3ixpCM.js → vue-ui-funnel--NaxO0cZ.js} +13 -16
  127. package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-D6eYN8Ut.js} +291 -293
  128. package/dist/{vue-ui-gauge-DRXsVxYq.js → vue-ui-gauge-DTIEl2Xb.js} +6 -6
  129. package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-CQqNemR6.js} +7 -7
  130. package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-ClunTUxX.js} +3 -3
  131. package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-B_pSQNzO.js} +7 -7
  132. package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-Byp0Tnny.js} +6 -6
  133. package/dist/{vue-ui-history-plot-Bn_M0AFg.js → vue-ui-history-plot-CMu8ST1E.js} +14 -17
  134. package/dist/{vue-ui-horizontal-bar-CkRRidx3.js → vue-ui-horizontal-bar-BQn7WxQ-.js} +10 -10
  135. package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-BKw5t-rX.js} +3 -3
  136. package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BNm0MQDw.js} +2 -2
  137. package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-DRwQV5hN.js} +232 -238
  138. package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-Bj3KTWYj.js} +298 -300
  139. package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-83Wh2w6z.js} +15 -18
  140. package/dist/{vue-ui-onion-Bix9MN3w.js → vue-ui-onion-C27GpneA.js} +9 -9
  141. package/dist/{vue-ui-parallel-coordinate-plot-6SI2vJOo.js → vue-ui-parallel-coordinate-plot-BklOszr1.js} +212 -212
  142. package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-_J-Qr7-K.js} +9 -9
  143. package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-DcOUq4ym.js} +7 -7
  144. package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-FlRlsoAd.js} +8 -8
  145. package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-eCxEZD8C.js} +2 -2
  146. package/dist/{vue-ui-relation-circle-CZ68uWhc.js → vue-ui-relation-circle-DnsxHv7t.js} +6 -6
  147. package/dist/{vue-ui-ridgeline-BSiPLA08.js → vue-ui-ridgeline-TopTLyaE.js} +485 -485
  148. package/dist/vue-ui-rings-obVfb09j.js +1250 -0
  149. package/dist/{vue-ui-scatter-C0PouRMY.js → vue-ui-scatter-BHSuA506.js} +9 -9
  150. package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-CNOam3kC.js} +3 -3
  151. package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-YdyidjBH.js} +2 -2
  152. package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-CS5GLtYL.js} +3 -3
  153. package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-DDHwgP4k.js} +3 -3
  154. package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BcQu9V3h.js} +3 -3
  155. package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-CPsA5P6c.js} +4 -4
  156. package/dist/{vue-ui-sparkline-CyJKVGYw.js → vue-ui-sparkline-CnbO-GkM.js} +3 -3
  157. package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-4tsTxMe2.js} +4 -4
  158. package/dist/{vue-ui-stackbar-J5QzbBaA.js → vue-ui-stackbar-2_SrMFNT.js} +575 -571
  159. package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-BNCWO_jG.js} +612 -608
  160. package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-2Y1c02Ek.js} +13 -16
  161. package/dist/{vue-ui-table-CBdCPS2r.js → vue-ui-table-DJZxHo5N.js} +5 -5
  162. package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-BacaEjQy.js} +5 -5
  163. package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B8oAU5yr.js} +4 -4
  164. package/dist/{vue-ui-thermometer-DWmM_Hn9.js → vue-ui-thermometer-BGtxNU9T.js} +6 -6
  165. package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-CWZgSpP8.js} +5 -5
  166. package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-LLVCPyg9.js} +6 -6
  167. package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-ehBl9JMC.js} +16 -19
  168. package/dist/{vue-ui-waffle-C1ksX6OD.js → vue-ui-waffle-DpBAXbhh.js} +288 -290
  169. package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-C4OHPrtC.js} +6 -6
  170. package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-CDHn3Kwa.js} +13 -16
  171. package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-ao1xf04I.js} +13 -16
  172. package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-DmJDCl3c.js} +2 -2
  173. package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-_U3wmtCf.js} +1499 -1495
  174. package/dist/{vue-ui-xy-canvas-B-KxaFGF.js → vue-ui-xy-canvas-Bx-9y53V.js} +334 -330
  175. package/package.json +1 -1
  176. package/dist/vue-ui-3d-bar-C9Y9Uklb.js +0 -1831
  177. package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
  178. package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
@@ -1,30 +1,30 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Bt as n, D as r, Jt as i, Kt as a, Pt as o, S as s, Vt as c, X as l, ct as ee, i as te, jt as ne, n as re, pt as ie, q as ae, r as oe, t as se, tt as ce, w as le, xt as ue } from "./lib-Bttd6u5E.js";
2
+ import { $ as t, Bt as n, D as r, Jt as i, Kt as a, Pt as o, S as s, Vt as c, X as l, ct as ee, i as te, jt as ne, n as re, pt as ie, q as ae, r as oe, t as se, tt as ce, w as le, xt as ue } from "./lib-AT2PUyyh.js";
3
3
  import { n as de, t as fe } from "./useHints-Dq_w2E8B.js";
4
4
  import { t as pe } from "./useConfig-DwdGsXTx.js";
5
- import { t as me } from "./usePrinter-DN5bYhTG.js";
5
+ import { t as me } from "./usePrinter-BFS7d6eb.js";
6
6
  import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as _e } from "./useNestedProp-vPNvh7rV.js";
7
+ import { t as _e } from "./useNestedProp-CW0vJS1B.js";
8
8
  import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as ye } from "./useChartExport-DNiwdPmb.js";
10
10
  import { t as be } from "./useTransitions-g_zBREk2.js";
11
- import { t as xe } from "./img-Bnokohej.js";
12
- import { n as Se } from "./Title-BE3qg9xl.js";
13
- import { t as Ce } from "./Shape-C21CMlWS.js";
11
+ import { t as xe } from "./img-tU9mMt9W.js";
12
+ import { n as Se } from "./Title-BGLPsoA9.js";
13
+ import { t as Ce } from "./Shape-BAhF1ToV.js";
14
14
  import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
15
  import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
16
16
  import { t as De } from "./DefGrad-DVBqDjhO.js";
17
- import { t as Oe } from "./BaseLegendToggle-DZVucLnv.js";
17
+ import { t as Oe } from "./BaseLegendToggle-wRhcG_-q.js";
18
18
  import { t as ke } from "./A11yDataTable-DdRsVULz.js";
19
19
  import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
20
20
  import { t as je } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as Me } from "./labelUtils-BeVpDvTJ.js";
22
- import { t as Ne } from "./Legend-CQxUgOd-.js";
21
+ import { t as Me } from "./labelUtils-C_lMnQRs.js";
22
+ import { t as Ne } from "./Legend-DWEFXq9E.js";
23
23
  import { t as Pe } from "./usePrefersMotion-BC-CsqR1.js";
24
24
  import { t as Fe } from "./vue_ui_waffle-DE_DiSVP.js";
25
25
  import { Fragment as u, Teleport as Ie, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Be, nextTick as Ve, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as He, onMounted as Ue, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as We, shallowRef as Ge, toDisplayString as Ke, toRefs as qe, unref as T, useSlots as Je, watch as Ye, withCtx as E } from "vue";
26
26
  //#region src/components/vue-ui-waffle.vue
27
- var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e = ["id"], et = { style: { position: "relative" } }, tt = [
27
+ var Xe = /* @__PURE__ */ e({ default: () => wt }), Ze = ["id"], Qe = ["id"], $e = ["id"], et = { style: { position: "relative" } }, tt = [
28
28
  "xmlns",
29
29
  "aria-describedby",
30
30
  "viewBox"
@@ -113,7 +113,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
113
113
  }, yt = {
114
114
  key: 5,
115
115
  class: "vue-data-ui-watermark"
116
- }, bt = ["id"], xt = ["onClick"], St = ["innerHTML"], Ct = /*#__PURE__*/ we({
116
+ }, bt = ["id"], xt = ["onClick"], St = { key: 0 }, Ct = { key: 1 }, wt = /*#__PURE__*/ we({
117
117
  __name: "vue-ui-waffle",
118
118
  props: {
119
119
  config: {
@@ -131,17 +131,17 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
131
131
  },
132
132
  emits: ["selectLegend", "copyAlt"],
133
133
  setup(e, { expose: we, emit: Xe }) {
134
- let Ct = g(() => import("./Tooltip-DhjyfHwz.js")), wt = g(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Tt = g(() => import("./DataTable-BbKgJ5UI.js")), Et = g(() => import("./vue-ui-accordion-CLU_su1P.js").then((e) => e.n)), Dt = g(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Ot = g(() => import("./PenAndPaper-C0UZ74fa.js").then((e) => e.t)), kt = g(() => import("./PackageVersion-B629oKuX.js").then((e) => e.t)), At = g(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_waffle: jt } = pe(), { isThemeValid: Mt, warnInvalidTheme: Nt } = ve(), Pt = Pe(), D = e, Ft = Je(), It = d({
134
+ let wt = g(() => import("./Tooltip-DO4-MVhc.js")), Tt = g(() => import("./BaseIcon-B4n7br_R.js").then((e) => e.n)), Et = g(() => import("./DataTable-DMsScfkx.js")), Dt = g(() => import("./vue-ui-accordion-DJNjilyy.js").then((e) => e.n)), Ot = g(() => import("./UserOptions-HQyukyl2.js").then((e) => e.n)), kt = g(() => import("./PenAndPaper-DJ607Hx6.js").then((e) => e.t)), At = g(() => import("./PackageVersion-DNTJUKh1.js").then((e) => e.t)), jt = g(() => import("./BaseDraggableDialog-DBVHlhQZ.js").then((e) => e.n)), { vue_ui_waffle: Mt } = pe(), { isThemeValid: Nt, warnInvalidTheme: Pt } = ve(), Ft = Pe(), D = e, It = Je(), Lt = d({
135
135
  get() {
136
136
  return !!D.dataset && D.dataset.length;
137
137
  },
138
138
  set(e) {
139
139
  return e;
140
140
  }
141
- }), O = S(ae()), Lt = S(!1), Rt = S(""), k = S(null), zt = S(0), A = S(null), Bt = S(null), Vt = S(null), Ht = S(null), Ut = S(null), Wt = S(0), Gt = S(0), Kt = S(0), qt = S(!1), Jt = S(null), Yt = S(null), j = S(null), Xt = S({
141
+ }), O = S(ae()), Rt = S(!1), zt = S(""), k = S(null), Bt = S(0), A = S(null), Vt = S(null), Ht = S(null), Ut = S(null), Wt = S(null), Gt = S(0), Kt = S(0), qt = S(0), Jt = S(!1), Yt = S(null), Xt = S(null), j = S(null), Zt = S({
142
142
  x: 0,
143
143
  y: 0
144
- }), Zt = S("pointer"), Qt = S(!1), M = S(sn()), { transitionEnabled: N } = be({
144
+ }), Qt = S("pointer"), $t = S(!1), M = S(cn()), { transitionEnabled: N } = be({
145
145
  config: () => M.value.transitions,
146
146
  dataset: () => D.dataset
147
147
  });
@@ -166,7 +166,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
166
166
  }
167
167
  ]
168
168
  });
169
- let P = d(() => M.value.userOptions.useCursorPointer), $t = d(() => i({
169
+ let P = d(() => M.value.userOptions.useCursorPointer), en = d(() => i({
170
170
  defaultConfig: {
171
171
  useCustomCells: !1,
172
172
  userOptions: { show: !1 },
@@ -185,13 +185,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
185
185
  } }
186
186
  },
187
187
  userConfig: M.value.skeletonConfig ?? {}
188
- })), { loading: en, FINAL_DATASET: tn, manualLoading: nn } = he({
188
+ })), { loading: tn, FINAL_DATASET: nn, manualLoading: rn } = he({
189
189
  ...qe(D),
190
190
  FINAL_CONFIG: M,
191
- prepareConfig: sn,
191
+ prepareConfig: cn,
192
192
  callback: () => {
193
193
  Promise.resolve().then(async () => {
194
- H.value = xn();
194
+ H.value = Sn();
195
195
  });
196
196
  },
197
197
  skeletonDataset: D.config?.skeletonDataset ?? [
@@ -213,16 +213,16 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
213
213
  ],
214
214
  skeletonConfig: i({
215
215
  defaultConfig: M.value,
216
- userConfig: $t.value
216
+ userConfig: en.value
217
217
  })
218
- }), { userOptionsVisible: rn, setUserOptionsVisibility: an, keepUserOptionState: on } = Ae({ config: M.value }), { svgRef: F } = je({ config: M.value.style.chart.title });
219
- function sn() {
218
+ }), { userOptionsVisible: an, setUserOptionsVisibility: on, keepUserOptionState: sn } = Ae({ config: M.value }), { svgRef: F } = je({ config: M.value.style.chart.title });
219
+ function cn() {
220
220
  let e = _e({
221
221
  userConfig: D.config,
222
- defaultConfig: jt
222
+ defaultConfig: Mt
223
223
  }), t = e.theme;
224
224
  if (!t) return e;
225
- if (!Mt.value(e)) return Nt(e), e;
225
+ if (!Nt.value(e)) return Pt(e), e;
226
226
  let n = _e({
227
227
  userConfig: Fe[t] || D.config,
228
228
  defaultConfig: e
@@ -236,15 +236,15 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
236
236
  };
237
237
  }
238
238
  Ye(() => D.config, (e) => {
239
- en.value || (M.value = sn()), rn.value = !M.value.userOptions.showOnChartHover, un(), Wt.value += 1, Gt.value += 1, Kt.value += 1, L.value.showTable = M.value.table.show, L.value.showTooltip = M.value.style.chart.tooltip.show;
239
+ tn.value || (M.value = cn()), an.value = !M.value.userOptions.showOnChartHover, dn(), Gt.value += 1, Kt.value += 1, qt.value += 1, L.value.showTable = M.value.table.show, L.value.showTooltip = M.value.style.chart.tooltip.show;
240
240
  }, { deep: !0 });
241
- let I = Ge(null), cn = Ge(null), ln = d(() => M.value.debug);
242
- function un() {
241
+ let I = Ge(null), ln = Ge(null), un = d(() => M.value.debug);
242
+ function dn() {
243
243
  if (ne(D.dataset) ? (ce({
244
244
  componentName: "VueUiWaffle",
245
245
  type: "dataset",
246
- debug: ln.value
247
- }), It.value = !1, nn.value = !0) : ln.value && D.dataset.forEach((e, t) => {
246
+ debug: un.value
247
+ }), Lt.value = !1, rn.value = !0) : un.value && D.dataset.forEach((e, t) => {
248
248
  ie({
249
249
  datasetObject: e,
250
250
  requiredAttributes: ["name", "values"]
@@ -256,32 +256,32 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
256
256
  index: t
257
257
  });
258
258
  });
259
- }), ne(D.dataset) || (nn.value = M.value.loading), M.value.responsive) {
259
+ }), ne(D.dataset) || (rn.value = M.value.loading), M.value.responsive) {
260
260
  let e = Te(() => {
261
261
  let { width: e, height: t } = Ee({
262
262
  chart: A.value,
263
- title: M.value.style.chart.title.text ? Bt.value : null,
264
- legend: M.value.style.chart.legend.show ? Vt.value : null,
265
- source: Ht.value,
266
- noTitle: Ut.value
263
+ title: M.value.style.chart.title.text ? Vt.value : null,
264
+ legend: M.value.style.chart.legend.show ? Ht.value : null,
265
+ source: Ut.value,
266
+ noTitle: Wt.value
267
267
  });
268
268
  requestAnimationFrame(() => {
269
269
  R.value.width = e, R.value.height = t, z.value.width = e, z.value.height = t;
270
270
  });
271
271
  });
272
- I.value && (cn.value && I.value.unobserve(cn.value), I.value.disconnect()), I.value = new ResizeObserver(e), cn.value = A.value.parentNode, I.value.observe(cn.value);
272
+ I.value && (ln.value && I.value.unobserve(ln.value), I.value.disconnect()), I.value = new ResizeObserver(e), ln.value = A.value.parentNode, I.value.observe(ln.value);
273
273
  }
274
274
  }
275
275
  Ue(() => {
276
- qt.value = !0, un();
276
+ Jt.value = !0, dn();
277
277
  }), He(() => {
278
- I.value && (cn.value && I.value.unobserve(cn.value), I.value.disconnect());
278
+ I.value && (ln.value && I.value.unobserve(ln.value), I.value.disconnect());
279
279
  });
280
- let { isPrinting: dn, isImaging: fn, generatePdf: pn, generateImage: mn } = me({
280
+ let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } = me({
281
281
  elementId: `vue-ui-waffle_${O.value}`,
282
282
  fileName: M.value.style.chart.title.text || "vue-ui-waffle",
283
283
  options: M.value.userOptions.print
284
- }), hn = d(() => M.value.userOptions.show && !M.value.style.chart.title.text), gn = d(() => le(M.value.customPalette)), L = S({
284
+ }), gn = d(() => M.value.userOptions.show && !M.value.style.chart.title.text), _n = d(() => le(M.value.customPalette)), L = S({
285
285
  showTable: M.value.table.show,
286
286
  showTooltip: M.value.style.chart.tooltip.show
287
287
  });
@@ -299,8 +299,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
299
299
  left: 0,
300
300
  height: 512,
301
301
  width: 512
302
- }), B = d(() => (z.value.width - M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.spaceBetween) / M.value.style.chart.layout.grid.size), V = d(() => (z.value.height - M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.spaceBetween) / M.value.style.chart.layout.grid.size), _n = d(() => Math.max(1e-4, z.value.width / M.value.style.chart.layout.grid.size)), vn = d(() => Math.max(1e-4, z.value.height / M.value.style.chart.layout.grid.size));
303
- function yn(e) {
302
+ }), B = d(() => (z.value.width - M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.spaceBetween) / M.value.style.chart.layout.grid.size), V = d(() => (z.value.height - M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.spaceBetween) / M.value.style.chart.layout.grid.size), vn = d(() => Math.max(1e-4, z.value.width / M.value.style.chart.layout.grid.size)), yn = d(() => Math.max(1e-4, z.value.height / M.value.style.chart.layout.grid.size));
303
+ function bn(e) {
304
304
  let t = M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.size, n = e.reduce((e, t) => e + t, 0), r = e.map((e) => e / n * t), i = r.map(Math.floor), a = r.map((e) => e % 1), o = t - i.reduce((e, t) => e + t, 0);
305
305
  for (; o > 0;) {
306
306
  let e = a.indexOf(Math.max(...a));
@@ -308,22 +308,22 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
308
308
  }
309
309
  return i;
310
310
  }
311
- let bn = S(!1);
312
- function xn() {
313
- return bn.value = tn.value.flatMap((e) => e.values.reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0) === 0, tn.value.map((e, t) => ({
311
+ let xn = S(!1);
312
+ function Sn() {
313
+ return xn.value = nn.value.flatMap((e) => e.values.reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0) === 0, nn.value.map((e, t) => ({
314
314
  ...e,
315
- color: s(e.color) || gn.value[t] || o[t] || o[t % o.length],
315
+ color: s(e.color) || _n.value[t] || o[t] || o[t % o.length],
316
316
  uid: `serie_${t}`,
317
317
  absoluteIndex: t
318
318
  }));
319
319
  }
320
- let Sn = d(() => xn()), H = S(Sn.value);
320
+ let Cn = d(() => Sn()), H = S(Cn.value);
321
321
  Ye(() => D.dataset, (e) => {
322
- Array.isArray(e) && e.length > 0 && (nn.value = !1);
322
+ Array.isArray(e) && e.length > 0 && (rn.value = !1);
323
323
  }, { immediate: !0 }), Ye(() => D.dataset, (e) => {
324
- H.value = xn();
324
+ H.value = Sn();
325
325
  }, { deep: !0 });
326
- let Cn = d(() => yn(H.value.filter((e, t) => !K.value.includes(e.uid)).map((e, t) => bn.value ? 1 : (e.values || []).reduce((e, t) => e + t, 0)))), wn = d(() => yn(H.value.map((e, t) => bn.value ? 1 : (e.values || []).reduce((e, t) => e + t)))), U = d(() => (ln.value && tn.value.forEach((e, t) => {
326
+ let wn = d(() => bn(H.value.filter((e, t) => !K.value.includes(e.uid)).map((e, t) => xn.value ? 1 : (e.values || []).reduce((e, t) => e + t, 0)))), Tn = d(() => bn(H.value.map((e, t) => xn.value ? 1 : (e.values || []).reduce((e, t) => e + t)))), U = d(() => (un.value && nn.value.forEach((e, t) => {
327
327
  [null, void 0].includes(e.values) && ce({
328
328
  componentName: "VueUiWaffle",
329
329
  type: "datasetSerieAttribute",
@@ -337,25 +337,25 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
337
337
  color: e.color,
338
338
  value: (e.values || []).reduce((e, t) => e + t, 0),
339
339
  absoluteValues: e.values || [],
340
- proportion: Cn.value[t]
341
- })))), Tn = d(() => H.value.map((e, t) => ({
340
+ proportion: wn.value[t]
341
+ })))), En = d(() => H.value.map((e, t) => ({
342
342
  absoluteIndex: e.absoluteIndex,
343
343
  uid: e.uid,
344
344
  name: e.name,
345
345
  color: e.color,
346
346
  value: (e.values || []).reduce((e, t) => e + t, 0),
347
347
  absoluteValues: e.values || [],
348
- proportion: wn.value[t]
348
+ proportion: Tn.value[t]
349
349
  })));
350
- function En() {
351
- return Tn.value.map((e) => ({
350
+ function Dn() {
351
+ return En.value.map((e) => ({
352
352
  name: e.name,
353
353
  color: e.color,
354
354
  value: e.value,
355
355
  proportion: e.proportion
356
356
  }));
357
357
  }
358
- let Dn = d(() => {
358
+ let On = d(() => {
359
359
  let e = 0;
360
360
  return U.value.map((t, n) => {
361
361
  let r = e, i = r + t.proportion, a = [];
@@ -366,7 +366,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
366
366
  rects: a
367
367
  };
368
368
  });
369
- }), W = d(() => Dn.value.flatMap((e, t) => e.rects.map((n, r) => ({
369
+ }), W = d(() => On.value.flatMap((e, t) => e.rects.map((n, r) => ({
370
370
  isFirst: r === 0,
371
371
  isLongEnough: n.length > 2,
372
372
  name: e.name,
@@ -388,68 +388,68 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
388
388
  y: (M.value.style.chart.layout.grid.vertical ? n : t) * (V.value + M.value.style.chart.layout.grid.spaceBetween) + z.value.top
389
389
  });
390
390
  return e;
391
- }), K = S([]), On = S(!1), kn = S(Object.create(null)), An = S(Object.create(null)), q = S(0);
391
+ }), K = S([]), kn = S(!1), An = S(Object.create(null)), jn = S(Object.create(null)), q = S(0);
392
392
  function J(e, t) {
393
393
  H.value = H.value.map((n) => n.uid === e ? {
394
394
  ...n,
395
395
  values: [t]
396
396
  } : n);
397
397
  }
398
- function jn(e, t) {
398
+ function Mn(e, t) {
399
399
  let n = t.find((t) => t.uid === e);
400
400
  return n ? (n.values || []).reduce((e, t) => e + t, 0) : 0;
401
401
  }
402
- function Mn(e) {
402
+ function Nn(e) {
403
403
  let t = !1;
404
- kn.value[e] && (cancelAnimationFrame(kn.value[e]), delete kn.value[e], t = !0), An.value[e] && (cancelAnimationFrame(An.value[e]), delete An.value[e], t = !0), t && (q.value = Math.max(0, q.value - 1), On.value = q.value > 0);
404
+ An.value[e] && (cancelAnimationFrame(An.value[e]), delete An.value[e], t = !0), jn.value[e] && (cancelAnimationFrame(jn.value[e]), delete jn.value[e], t = !0), t && (q.value = Math.max(0, q.value - 1), kn.value = q.value > 0);
405
405
  }
406
- function Nn({ seriesId: e, fromValue: t, toValue: n, mode: r }) {
407
- Mn(e), q.value += 1, On.value = !0;
406
+ function Pn({ seriesId: e, fromValue: t, toValue: n, mode: r }) {
407
+ Nn(e), q.value += 1, kn.value = !0;
408
408
  let i = t;
409
409
  return new Promise((a) => {
410
410
  function o() {
411
411
  if (r === "increase") {
412
412
  if (i >= n) {
413
- J(e, n), --q.value, q.value <= 0 && (On.value = !1), delete kn.value[e], a();
413
+ J(e, n), --q.value, q.value <= 0 && (kn.value = !1), delete An.value[e], a();
414
414
  return;
415
415
  }
416
- i += n * .025, i > n && (i = n), J(e, i), kn.value[e] = requestAnimationFrame(o);
416
+ i += n * .025, i > n && (i = n), J(e, i), An.value[e] = requestAnimationFrame(o);
417
417
  } else {
418
418
  if (i <= t / 100) {
419
- J(e, 0), --q.value, q.value <= 0 && (On.value = !1), delete An.value[e], a();
419
+ J(e, 0), --q.value, q.value <= 0 && (kn.value = !1), delete jn.value[e], a();
420
420
  return;
421
421
  }
422
- i /= 1.15, J(e, i), An.value[e] = requestAnimationFrame(o);
422
+ i /= 1.15, J(e, i), jn.value[e] = requestAnimationFrame(o);
423
423
  }
424
424
  }
425
425
  o();
426
426
  });
427
427
  }
428
- function Pn() {
429
- H.value = Sn.value;
428
+ function Fn() {
429
+ H.value = Cn.value;
430
430
  let e = K.value.length > 0;
431
431
  if (!M.value.useAnimation) {
432
432
  e ? K.value = [] : K.value = Y.value.map((e) => e.uid);
433
433
  return;
434
434
  }
435
435
  e ? [...K.value].forEach((e) => {
436
- Fn(e, !0);
436
+ In(e, !0);
437
437
  }) : Y.value.map((e) => e.uid).forEach((e) => {
438
- Fn(e, !0);
438
+ In(e, !0);
439
439
  });
440
440
  }
441
- function Fn(e, t = !1) {
442
- if (bn.value && !t) return;
441
+ function In(e, t = !1) {
442
+ if (xn.value && !t) return;
443
443
  let n = t || K.value.length < Y.value.length - 1 && Y.value.length > 1;
444
444
  if (!M.value.useAnimation) {
445
445
  K.value.includes(e) ? K.value = K.value.filter((t) => t !== e) : n && K.value.push(e);
446
446
  return;
447
447
  }
448
- let r = jn(e, Sn.value), i = jn(e, H.value);
448
+ let r = Mn(e, Cn.value), i = Mn(e, H.value);
449
449
  if (i !== 0 || r !== 0) {
450
450
  if (K.value.includes(e)) {
451
- if (K.value = K.value.filter((t) => t !== e), Pt.value) {
452
- Mn(e), J(e, r), Jn("selectLegend", U.value.map((e) => ({
451
+ if (K.value = K.value.filter((t) => t !== e), Ft.value) {
452
+ Nn(e), J(e, r), Yn("selectLegend", U.value.map((e) => ({
453
453
  name: e.name,
454
454
  color: e.color,
455
455
  value: e.value,
@@ -457,13 +457,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
457
457
  })));
458
458
  return;
459
459
  }
460
- Nn({
460
+ Pn({
461
461
  seriesId: e,
462
462
  fromValue: i,
463
463
  toValue: r,
464
464
  mode: "increase"
465
465
  }).then(() => {
466
- Jn("selectLegend", U.value.map((e) => ({
466
+ Yn("selectLegend", U.value.map((e) => ({
467
467
  name: e.name,
468
468
  color: e.color,
469
469
  value: e.value,
@@ -473,8 +473,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
473
473
  return;
474
474
  }
475
475
  if (n) {
476
- if (Pt.value) {
477
- Mn(e), K.value.includes(e) || K.value.push(e), J(e, 0), Jn("selectLegend", U.value.map((e) => ({
476
+ if (Ft.value) {
477
+ Nn(e), K.value.includes(e) || K.value.push(e), J(e, 0), Yn("selectLegend", U.value.map((e) => ({
478
478
  name: e.name,
479
479
  color: e.color,
480
480
  value: e.value,
@@ -482,13 +482,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
482
482
  })));
483
483
  return;
484
484
  }
485
- Nn({
485
+ Pn({
486
486
  seriesId: e,
487
487
  fromValue: i,
488
488
  toValue: 0,
489
489
  mode: "decrease"
490
490
  }).then(() => {
491
- K.value.includes(e) || K.value.push(e), J(e, 0), Jn("selectLegend", U.value.map((e) => ({
491
+ K.value.includes(e) || K.value.push(e), J(e, 0), Yn("selectLegend", U.value.map((e) => ({
492
492
  name: e.name,
493
493
  color: e.color,
494
494
  value: e.value,
@@ -498,18 +498,18 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
498
498
  }
499
499
  }
500
500
  }
501
- function In(e) {
502
- return Tn.value.length ? Tn.value.find((t) => t.name === e) || (ln.value && console.warn(`VueUiWaffle - Series name not found "${e}"`), null) : (ln.value && console.warn("VueUiWaffle - There are no series to show."), null);
503
- }
504
501
  function Ln(e) {
505
- let t = In(e);
506
- t !== null && K.value.includes(t.uid) && Fn(t.uid);
502
+ return En.value.length ? En.value.find((t) => t.name === e) || (un.value && console.warn(`VueUiWaffle - Series name not found "${e}"`), null) : (un.value && console.warn("VueUiWaffle - There are no series to show."), null);
507
503
  }
508
504
  function Rn(e) {
509
- let t = In(e);
510
- t !== null && (K.value.includes(t.uid) || Fn(t.uid));
505
+ let t = Ln(e);
506
+ t !== null && K.value.includes(t.uid) && In(t.uid);
511
507
  }
512
- function zn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
508
+ function zn(e) {
509
+ let t = Ln(e);
510
+ t !== null && (K.value.includes(t.uid) || In(t.uid));
511
+ }
512
+ function Bn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
513
513
  return Me({
514
514
  config: i,
515
515
  val: e,
@@ -522,14 +522,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
522
522
  let n = (e.values || []).reduce((e, t) => e + t, 0), r = n / H.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
523
523
  return {
524
524
  name: e.name,
525
- color: e.color || gn[t] || o[t] || o[t % o.length],
525
+ color: e.color || _n[t] || o[t] || o[t % o.length],
526
526
  value: n,
527
527
  proportion: r,
528
528
  uid: e.uid,
529
529
  shape: "square"
530
530
  };
531
531
  }).map((e, t) => {
532
- let n = zn({
532
+ let n = Bn({
533
533
  val: te(M.value.style.chart.layout.labels.dataLabels.formatter, e.value, l({
534
534
  p: M.value.style.chart.layout.labels.dataLabels.prefix,
535
535
  v: e.value,
@@ -551,18 +551,18 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
551
551
  return {
552
552
  ...e,
553
553
  opacity: K.value.includes(e.uid) ? .5 : 1,
554
- segregate: () => Fn(e.uid),
554
+ segregate: () => In(e.uid),
555
555
  isSegregated: K.value.includes(e.uid),
556
556
  display: `${e.name}${M.value.style.chart.legend.showPercentage || M.value.style.chart.legend.showValue ? ": " : ""}${n}`
557
557
  };
558
- })), Bn = d(() => ({
558
+ })), Vn = d(() => ({
559
559
  cy: "waffle-div-legend",
560
560
  backgroundColor: M.value.style.chart.legend.backgroundColor,
561
561
  color: M.value.style.chart.legend.color,
562
562
  fontSize: M.value.style.chart.legend.fontSize,
563
563
  paddingBottom: 12,
564
564
  fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
565
- })), X = d(() => U.value.map((e) => e.value).reduce((e, t) => e + t, 0)), Vn = S(null), Hn = S(null), Z = d(() => {
565
+ })), X = d(() => U.value.map((e) => e.value).reduce((e, t) => e + t, 0)), Hn = S(null), Un = S(null), Z = d(() => {
566
566
  let e = /* @__PURE__ */ new Map();
567
567
  return W.value.forEach((t, n) => {
568
568
  e.has(t.serieIndex) ? e.get(t.serieIndex).rectIndexes.push(n) : e.set(t.serieIndex, {
@@ -577,47 +577,47 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
577
577
  });
578
578
  }), Array.from(e.values()).sort((e, t) => e.serieIndex - t.serieIndex);
579
579
  });
580
- function Un(e) {
580
+ function Wn(e) {
581
581
  return Z.value.find((t) => t.serieIndex === e) || null;
582
582
  }
583
- function Wn(e) {
584
- let t = Un(e);
583
+ function Gn(e) {
584
+ let t = Wn(e);
585
585
  return !t || !t.rectIndexes.length ? null : t.rectIndexes[0];
586
586
  }
587
- function Gn(e) {
587
+ function Kn(e) {
588
588
  let t = W.value[e];
589
589
  M.value.events.datapointClick && M.value.events.datapointClick({
590
590
  datapoint: t,
591
591
  seriesIndex: t.serieIndex
592
592
  });
593
593
  }
594
- function Kn(e) {
594
+ function qn(e) {
595
595
  let t = W.value[e];
596
596
  M.value.events.datapointLeave && M.value.events.datapointLeave({
597
597
  datapoint: t,
598
598
  seriesIndex: t.serieIndex
599
- }), Hn.value = null, Lt.value = !1, k.value = null, j.value = null, Zt.value = "pointer";
599
+ }), Un.value = null, Rt.value = !1, k.value = null, j.value = null, Qt.value = "pointer";
600
600
  }
601
- function qn(e, t = "pointer") {
601
+ function Jn(e, t = "pointer") {
602
602
  if (K.value.length === D.dataset.length) return;
603
603
  let n = W.value[e];
604
604
  if (!n) return;
605
- Zt.value = t, j.value = n.serieIndex, Vn.value = {
605
+ Qt.value = t, j.value = n.serieIndex, Hn.value = {
606
606
  datapoint: n,
607
607
  seriesIndex: n.absoluteIndex,
608
608
  series: H.value,
609
609
  config: M.value
610
- }, M.value.events.datapointEnter && Hn.value !== n.serieIndex && M.value.events.datapointEnter({
610
+ }, M.value.events.datapointEnter && Un.value !== n.serieIndex && M.value.events.datapointEnter({
611
611
  datapoint: n,
612
612
  seriesIndex: n.serieIndex
613
- }), Hn.value = n.serieIndex, Lt.value = !0, k.value = n.serieIndex;
613
+ }), Un.value = n.serieIndex, Rt.value = !0, k.value = n.serieIndex;
614
614
  let r = M.value.style.chart.tooltip.customFormat;
615
615
  if (ue(r) && ee(() => r({
616
616
  seriesIndex: n.absoluteIndex,
617
617
  datapoint: n,
618
618
  series: H.value,
619
619
  config: M.value
620
- }))) Rt.value = r({
620
+ }))) zt.value = r({
621
621
  seriesIndex: n.absoluteIndex,
622
622
  datapoint: n,
623
623
  series: H.value,
@@ -625,7 +625,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
625
625
  });
626
626
  else {
627
627
  let e = "";
628
- e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${n.name}</div>`, e += `<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="${n.color}" />${Ft.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${O.value}_${n.absoluteIndex})"/>` : ""}</svg>`, e += `<b>${zn({
628
+ e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${n.name}</div>`, e += `<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="${n.color}" />${It.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${O.value}_${n.absoluteIndex})"/>` : ""}</svg>`, e += `<b>${Bn({
629
629
  config: M.value.style.chart.tooltip,
630
630
  showVal: M.value.style.chart.tooltip.showValue,
631
631
  showPercentage: M.value.style.chart.tooltip.showPercentage,
@@ -640,14 +640,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
640
640
  series: H.value
641
641
  })}</span>`,
642
642
  percentage: `<span>${l({
643
- v: bn.value ? 1 / tn.value.length * 100 : n.value / X.value * 100,
643
+ v: xn.value ? 1 / nn.value.length * 100 : n.value / X.value * 100,
644
644
  s: "%",
645
645
  r: M.value.style.chart.tooltip.roundingPercentage
646
646
  })}</span>`
647
- })}</b></div>`, Rt.value = e;
647
+ })}</b></div>`, zt.value = e;
648
648
  }
649
649
  }
650
- let Jn = Xe, Q = d(() => ({
650
+ let Yn = Xe, Q = d(() => ({
651
651
  head: U.value.map((e) => ({
652
652
  name: e.name,
653
653
  color: e.color
@@ -657,16 +657,16 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
657
657
  function $(e) {
658
658
  return M.value.useBlurOnHover && ![null, void 0].includes(k.value) && k.value !== e ? `url(#blur_${O.value})` : "";
659
659
  }
660
- function Yn(e) {
660
+ function Xn(e) {
661
661
  return [null, void 0].includes(k.value) || k.value === e ? { opacity: 1 } : { opacity: M.value.style.chart.layout.rect.selection.unselectedOpacity };
662
662
  }
663
- function Xn(e) {
663
+ function Zn(e) {
664
664
  return e.length <= 3 ? e : e.filter((t, n) => {
665
665
  let r = e[(n - 1 + e.length) % e.length], i = e[(n + 1) % e.length], a = r.x === t.x && t.x === i.x, o = r.y === t.y && t.y === i.y;
666
666
  return !a && !o;
667
667
  });
668
668
  }
669
- function Zn(e) {
669
+ function Qn(e) {
670
670
  if (!e.length) return [];
671
671
  let t = new Set(e.map(({ row: e, col: t }) => `${e}:${t}`)), n = [], r = /* @__PURE__ */ new Set(), i = [
672
672
  [-1, 0],
@@ -744,11 +744,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
744
744
  if (o(e) === o(c)) break;
745
745
  l.push(e), ee = (r.get(o(e)) || []).find((e) => s.has(i(e)));
746
746
  }
747
- l.length >= 4 && a.push(Xn(l));
747
+ l.length >= 4 && a.push(Zn(l));
748
748
  }
749
749
  }), a;
750
750
  }
751
- function Qn(e) {
751
+ function $n(e) {
752
752
  let t = M.value.style.chart.layout.grid.size, n = M.value.style.chart.layout.grid.vertical, r = [];
753
753
  return W.value.forEach((i, a) => {
754
754
  if (i.serieIndex !== e) return;
@@ -759,24 +759,24 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
759
759
  });
760
760
  }), r;
761
761
  }
762
- function $n(e) {
763
- let t = _n.value, n = vn.value;
764
- return Zn(Qn(e)).map((e) => e.map(({ x: e, y: r }) => ({
762
+ function er(e) {
763
+ let t = vn.value, n = yn.value;
764
+ return Qn($n(e)).map((e) => e.map(({ x: e, y: r }) => ({
765
765
  x: e * t,
766
766
  y: z.value.top + r * n
767
767
  })));
768
768
  }
769
- function er(e) {
769
+ function tr(e) {
770
770
  return e.map(({ x: e, y: t }) => `${e},${t}`).join(" ");
771
771
  }
772
- function tr(e) {
772
+ function nr(e) {
773
773
  return e.map((e) => {
774
774
  if (!e.length) return "";
775
775
  let [t, ...n] = e, r = n.map(({ x: e, y: t }) => `L ${e} ${t}`).join(" ");
776
776
  return `M ${t.x} ${t.y} ${r} Z`;
777
777
  }).filter(Boolean).join(" ");
778
778
  }
779
- let nr = d(() => !M.value.style.chart.layout.rect.selection?.wrap?.show || [null, void 0].includes(k.value) ? [] : $n(k.value).map(er)), rr = d(() => {
779
+ let rr = d(() => !M.value.style.chart.layout.rect.selection?.wrap?.show || [null, void 0].includes(k.value) ? [] : er(k.value).map(tr)), ir = d(() => {
780
780
  if (!M.value.style.chart.layout.rect.merged) return [];
781
781
  let e = /* @__PURE__ */ new Map();
782
782
  return W.value.forEach((t, n) => {
@@ -789,13 +789,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
789
789
  });
790
790
  }), Array.from(e.values()).map((e) => ({
791
791
  ...e,
792
- d: tr($n(e.serieIndex))
792
+ d: nr(er(e.serieIndex))
793
793
  })).filter((e) => e.d);
794
794
  });
795
- function ir(e, t) {
796
- return M.value.style.chart.layout.labels.captions.show ? W.value.length && !On.value && !M.value.style.chart.layout.grid.vertical && (W.value[e].isFirst && t.position < M.value.style.chart.layout.grid.size - 2 || W.value[e].isAbsoluteFirst && e % M.value.style.chart.layout.grid.size === 0 && W.value[e].absoluteStartIndex) : !1;
795
+ function ar(e, t) {
796
+ return M.value.style.chart.layout.labels.captions.show ? W.value.length && !kn.value && !M.value.style.chart.layout.grid.vertical && (W.value[e].isFirst && t.position < M.value.style.chart.layout.grid.size - 2 || W.value[e].isAbsoluteFirst && e % M.value.style.chart.layout.grid.size === 0 && W.value[e].absoluteStartIndex) : !1;
797
797
  }
798
- function ar(e, t = null) {
798
+ function or(e, t = null) {
799
799
  let n = te(M.value.style.chart.layout.labels.dataLabels.formatter, W.value[e].value, l({
800
800
  p: M.value.style.chart.layout.labels.dataLabels.prefix,
801
801
  v: W.value[e].value,
@@ -812,7 +812,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
812
812
  source: W.value[e].name,
813
813
  length: M.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize
814
814
  }) : W.value[e].name) + (M.value.style.chart.layout.labels.captions.showPercentage || M.value.style.chart.layout.labels.captions.showValue ? ":" : "");
815
- return `${M.value.style.chart.layout.labels.captions.showSerieName ? i : ""} ${zn({
815
+ return `${M.value.style.chart.layout.labels.captions.showSerieName ? i : ""} ${Bn({
816
816
  val: n,
817
817
  percentage: r,
818
818
  showVal: M.value.style.chart.layout.labels.captions.showValue,
@@ -820,7 +820,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
820
820
  config: M.value.style.chart.layout.labels.dataLabels
821
821
  })}`;
822
822
  }
823
- function or(e = null) {
823
+ function sr(e = null) {
824
824
  Ve(() => {
825
825
  let n = Q.value.head.map((e, t) => [
826
826
  [e.name],
@@ -841,9 +841,9 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
841
841
  });
842
842
  });
843
843
  }
844
- let sr = d(() => ({
844
+ let cr = d(() => ({
845
845
  head: [
846
- " <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>",
846
+ "__SUM__",
847
847
  te(M.value.style.chart.layout.labels.dataLabels.formatter, X.value, l({
848
848
  p: M.value.style.chart.layout.labels.dataLabels.prefix,
849
849
  v: X.value,
@@ -888,21 +888,21 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
888
888
  M.value.table.columnNames.value,
889
889
  M.value.table.columnNames.percentage
890
890
  ]
891
- })), cr = S(!1);
892
- function lr(e) {
893
- cr.value = e, zt.value += 1;
891
+ })), lr = S(!1);
892
+ function ur(e) {
893
+ lr.value = e, Bt.value += 1;
894
894
  }
895
- function ur() {
895
+ function dr() {
896
896
  L.value.showTable = !L.value.showTable;
897
897
  }
898
- function dr() {
898
+ function fr() {
899
899
  L.value.showTooltip = !L.value.showTooltip;
900
900
  }
901
- let fr = S(!1);
902
- function pr() {
903
- fr.value = !fr.value;
901
+ let pr = S(!1);
902
+ function mr() {
903
+ pr.value = !pr.value;
904
904
  }
905
- async function mr({ scale: e = 2 } = {}) {
905
+ async function hr({ scale: e = 2 } = {}) {
906
906
  if (!A.value) return;
907
907
  let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
908
908
  domElement: A.value,
@@ -919,17 +919,17 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
919
919
  aspectRatio: r
920
920
  };
921
921
  }
922
- let hr = d(() => {
922
+ let gr = d(() => {
923
923
  let e = M.value.table.useDialog && !M.value.table.show, t = L.value.showTable;
924
924
  return {
925
- component: e ? At : Et,
925
+ component: e ? jt : Dt,
926
926
  title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
927
927
  props: e ? {
928
928
  backgroundColor: M.value.table.th.backgroundColor,
929
929
  color: M.value.table.th.color,
930
930
  headerColor: M.value.table.th.color,
931
931
  headerBg: M.value.table.th.backgroundColor,
932
- isFullscreen: cr.value,
932
+ isFullscreen: lr.value,
933
933
  fullscreenParent: A.value,
934
934
  forcedWidth: Math.min(500, window.innerWidth * .8),
935
935
  isCursorPointer: P.value
@@ -951,116 +951,116 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
951
951
  };
952
952
  });
953
953
  Ye(() => L.value.showTable, (e) => {
954
- M.value.table.show || (e && M.value.table.useDialog && Jt.value ? Jt.value.open() : "close" in Jt.value && Jt.value.close());
954
+ M.value.table.show || (e && M.value.table.useDialog && Yt.value ? Yt.value.open() : "close" in Yt.value && Yt.value.close());
955
955
  });
956
- function gr() {
957
- L.value.showTable = !1, Yt.value && Yt.value.setTableIconState(!1);
956
+ function _r() {
957
+ L.value.showTable = !1, Xt.value && Xt.value.setTableIconState(!1);
958
958
  }
959
- let _r = d(() => Y.value.map((e) => ({
959
+ let vr = d(() => Y.value.map((e) => ({
960
960
  ...e,
961
961
  name: e.display
962
- }))), vr = d(() => M.value.style.chart.backgroundColor), yr = d(() => M.value.style.chart.legend), br = d(() => M.value.style.chart.title), { isCallbackImaging: xr, isCallbackSvg: Sr, generateSvg: Cr, onGenerateImage: wr } = ye({
962
+ }))), yr = d(() => M.value.style.chart.backgroundColor), br = d(() => M.value.style.chart.legend), xr = d(() => M.value.style.chart.title), { isCallbackImaging: Sr, isCallbackSvg: Cr, generateSvg: wr, onGenerateImage: Tr } = ye({
963
963
  svg: F,
964
- title: br,
965
- legend: yr,
966
- legendItems: _r,
967
- backgroundColor: vr,
964
+ title: xr,
965
+ legend: br,
966
+ legendItems: vr,
967
+ backgroundColor: yr,
968
968
  getSvgCallback: () => M.value.userOptions.callbacks.svg,
969
- generateImage: mn
969
+ generateImage: hn
970
970
  });
971
- async function Tr() {
972
- if (Jn("copyAlt", {
971
+ async function Er() {
972
+ if (Yn("copyAlt", {
973
973
  config: M.value,
974
- dataset: Tn.value
974
+ dataset: En.value
975
975
  }), !M.value.userOptions.callbacks.altCopy) {
976
976
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
977
977
  return;
978
978
  }
979
979
  await Promise.resolve(M.value.userOptions.callbacks.altCopy({
980
980
  config: M.value,
981
- dataset: Tn.value
981
+ dataset: En.value
982
982
  }));
983
983
  }
984
- function Er() {
985
- j.value = null, Qt.value = !0;
986
- }
987
984
  function Dr() {
988
- j.value = null, Zt.value = "pointer", Lt.value = !1, k.value = null, Hn.value = null, Qt.value = !1;
985
+ j.value = null, $t.value = !0;
989
986
  }
990
- function Or(e) {
991
- if (!F.value || fr.value || document.activeElement !== F.value || !Z.value.length || K.value.length === D.dataset.length) return;
987
+ function Or() {
988
+ j.value = null, Qt.value = "pointer", Rt.value = !1, k.value = null, Un.value = null, $t.value = !1;
989
+ }
990
+ function kr(e) {
991
+ if (!F.value || pr.value || document.activeElement !== F.value || !Z.value.length || K.value.length === D.dataset.length) return;
992
992
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
993
993
  if (!t && !n && !r && !i) return;
994
994
  if (e.preventDefault(), e.stopPropagation(), i) {
995
- j.value = null, Zt.value = "pointer", Lt.value = !1, k.value = null, Hn.value = null;
995
+ j.value = null, Qt.value = "pointer", Rt.value = !1, k.value = null, Un.value = null;
996
996
  return;
997
997
  }
998
998
  if (r) {
999
999
  if (j.value === null) return;
1000
- let e = Wn(j.value);
1000
+ let e = Gn(j.value);
1001
1001
  if (e === null) return;
1002
- Gn(e);
1002
+ Kn(e);
1003
1003
  return;
1004
1004
  }
1005
1005
  let a = Z.value.findIndex((e) => e.serieIndex === j.value), o = null;
1006
1006
  if (o = a === -1 ? n ? Z.value[0] : Z.value[Z.value.length - 1] : n ? Z.value[(a + 1) % Z.value.length] : Z.value[(a - 1 + Z.value.length) % Z.value.length], !o) return;
1007
- let s = Wn(o.serieIndex);
1008
- s !== null && (kr(o.serieIndex), qn(s, "keyboard"));
1007
+ let s = Gn(o.serieIndex);
1008
+ s !== null && (Ar(o.serieIndex), Jn(s, "keyboard"));
1009
1009
  }
1010
- function kr(e) {
1010
+ function Ar(e) {
1011
1011
  if (!Number.isFinite(e) || !F.value) return;
1012
- let t = Un(e);
1012
+ let t = Wn(e);
1013
1013
  if (!t || !t.rectIndexes.length) return;
1014
1014
  let n = t.rectIndexes.map((e) => {
1015
1015
  let t = G.value[e];
1016
1016
  return t ? {
1017
- x: t.x + M.value.style.chart.layout.grid.spaceBetween / 2 + _n.value / 2,
1018
- y: t.y + M.value.style.chart.layout.grid.spaceBetween / 2 + vn.value / 2
1017
+ x: t.x + M.value.style.chart.layout.grid.spaceBetween / 2 + vn.value / 2,
1018
+ y: t.y + M.value.style.chart.layout.grid.spaceBetween / 2 + yn.value / 2
1019
1019
  } : null;
1020
1020
  }).filter(Boolean);
1021
1021
  if (!n.length) return;
1022
1022
  let r = Math.min(...n.map((e) => e.x)), i = Math.max(...n.map((e) => e.x)), a = Math.min(...n.map((e) => e.y)), o = Math.max(...n.map((e) => e.y)), s = (r + i) / 2, c = (a + o) / 2, l = F.value.getBoundingClientRect();
1023
- Xt.value = {
1023
+ Zt.value = {
1024
1024
  x: l.left + s / R.value.width * l.width,
1025
1025
  y: l.top + c / R.value.height * l.height
1026
1026
  };
1027
1027
  }
1028
- let Ar = d(() => ({
1029
- headers: sr.value?.colNames ?? [],
1030
- rows: sr.value?.body ?? []
1028
+ let jr = d(() => ({
1029
+ headers: cr.value?.colNames ?? [],
1030
+ rows: cr.value?.body ?? []
1031
1031
  }));
1032
1032
  return we({
1033
- getData: En,
1034
- getImage: mr,
1035
- generatePdf: pn,
1036
- generateCsv: or,
1037
- generateImage: mn,
1038
- generateSvg: Cr,
1039
- hideSeries: Rn,
1040
- showSeries: Ln,
1041
- toggleTable: ur,
1042
- toggleTooltip: dr,
1043
- toggleAnnotator: pr,
1044
- toggleFullscreen: lr,
1045
- copyAlt: Tr
1033
+ getData: Dn,
1034
+ getImage: hr,
1035
+ generatePdf: mn,
1036
+ generateCsv: sr,
1037
+ generateImage: hn,
1038
+ generateSvg: wr,
1039
+ hideSeries: zn,
1040
+ showSeries: Rn,
1041
+ toggleTable: dr,
1042
+ toggleTooltip: fr,
1043
+ toggleAnnotator: mr,
1044
+ toggleFullscreen: ur,
1045
+ copyAlt: Er
1046
1046
  }), (e, t) => (x(), m("div", {
1047
- class: v(`vue-data-ui-component vue-ui-waffle ${cr.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1047
+ class: v(`vue-data-ui-component vue-ui-waffle ${lr.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1048
1048
  ref_key: "waffleChart",
1049
1049
  ref: A,
1050
1050
  id: `vue-ui-waffle_${O.value}`,
1051
1051
  style: b(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height: 100%" : ""}`),
1052
- onMouseenter: t[2] ||= () => T(an)(!0),
1053
- onMouseleave: t[3] ||= () => T(an)(!1)
1052
+ onMouseenter: t[2] ||= () => T(on)(!0),
1053
+ onMouseleave: t[3] ||= () => T(on)(!1)
1054
1054
  }, [
1055
1055
  h("div", {
1056
1056
  id: `chart-instructions-${O.value}`,
1057
1057
  class: "sr-only"
1058
1058
  }, [h("p", null, Ke(M.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
1059
- Ar.value?.rows?.length ? (x(), f(ke, {
1059
+ jr.value?.rows?.length ? (x(), f(ke, {
1060
1060
  key: 0,
1061
1061
  uid: O.value,
1062
- head: Ar.value.headers,
1063
- body: Ar.value.rows,
1062
+ head: jr.value.headers,
1063
+ body: jr.value.rows,
1064
1064
  notice: M.value.a11y.translations.tableAvailable,
1065
1065
  caption: M.value.a11y.translations.tableCaption
1066
1066
  }, null, 8, [
@@ -1070,14 +1070,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1070
1070
  "notice",
1071
1071
  "caption"
1072
1072
  ])) : p("", !0),
1073
- M.value.userOptions.buttons.annotator ? (x(), f(T(Ot), {
1073
+ M.value.userOptions.buttons.annotator ? (x(), f(T(kt), {
1074
1074
  key: 1,
1075
1075
  svgRef: T(F),
1076
1076
  backgroundColor: M.value.style.chart.backgroundColor,
1077
1077
  color: M.value.style.chart.color,
1078
- active: fr.value,
1078
+ active: pr.value,
1079
1079
  isCursorPointer: P.value,
1080
- onClose: pr
1080
+ onClose: mr
1081
1081
  }, {
1082
1082
  "annotator-action-close": E(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1083
1083
  "annotator-action-color": E(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
@@ -1093,20 +1093,20 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1093
1093
  "active",
1094
1094
  "isCursorPointer"
1095
1095
  ])) : p("", !0),
1096
- hn.value ? (x(), m("div", {
1096
+ gn.value ? (x(), m("div", {
1097
1097
  key: 2,
1098
1098
  ref_key: "noTitle",
1099
- ref: Ut,
1099
+ ref: Wt,
1100
1100
  class: "vue-data-ui-no-title-space",
1101
1101
  style: "height:36px; width: 100%;background:transparent"
1102
1102
  }, null, 512)) : p("", !0),
1103
1103
  M.value.style.chart.title.text ? (x(), m("div", {
1104
1104
  key: 3,
1105
1105
  ref_key: "chartTitle",
1106
- ref: Bt,
1106
+ ref: Vt,
1107
1107
  style: "width:100%;background:transparent;padding-bottom:12px"
1108
1108
  }, [(x(), f(Se, {
1109
- key: `title_${Wt.value}`,
1109
+ key: `title_${Gt.value}`,
1110
1110
  config: {
1111
1111
  title: {
1112
1112
  cy: "waffle-title",
@@ -1119,14 +1119,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1119
1119
  }
1120
1120
  }, null, 8, ["config"]))], 512)) : p("", !0),
1121
1121
  h("div", { id: `legend-top-${O.value}` }, null, 8, $e),
1122
- M.value.userOptions.show && It.value && (T(on) || T(rn)) ? (x(), f(T(Dt), {
1122
+ M.value.userOptions.show && Lt.value && (T(sn) || T(an)) ? (x(), f(T(Ot), {
1123
1123
  ref_key: "userOptionsRef",
1124
- ref: Yt,
1125
- key: `user_options_${zt.value}`,
1124
+ ref: Xt,
1125
+ key: `user_options_${Bt.value}`,
1126
1126
  backgroundColor: M.value.style.chart.backgroundColor,
1127
1127
  color: M.value.style.chart.color,
1128
- isPrinting: T(dn),
1129
- isImaging: T(fn),
1128
+ isPrinting: T(fn),
1129
+ isImaging: T(pn),
1130
1130
  uid: O.value,
1131
1131
  hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
1132
1132
  hasPdf: M.value.userOptions.buttons.pdf,
@@ -1136,27 +1136,27 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1136
1136
  hasTable: M.value.userOptions.buttons.table,
1137
1137
  hasFullscreen: M.value.userOptions.buttons.fullscreen,
1138
1138
  hasAltCopy: M.value.userOptions.buttons.altCopy,
1139
- isFullscreen: cr.value,
1139
+ isFullscreen: lr.value,
1140
1140
  isTooltip: L.value.showTooltip,
1141
1141
  titles: { ...M.value.userOptions.buttonTitles },
1142
1142
  chartElement: A.value,
1143
1143
  position: M.value.userOptions.position,
1144
1144
  hasAnnotator: M.value.userOptions.buttons.annotator,
1145
- isAnnotation: fr.value,
1145
+ isAnnotation: pr.value,
1146
1146
  callbacks: M.value.userOptions.callbacks,
1147
1147
  printScale: M.value.userOptions.print.scale,
1148
1148
  tableDialog: M.value.table.useDialog,
1149
1149
  isCursorPointer: P.value,
1150
- onToggleFullscreen: lr,
1151
- onGeneratePdf: T(pn),
1152
- onGenerateCsv: or,
1153
- onGenerateImage: T(wr),
1154
- onGenerateSvg: T(Cr),
1155
- onToggleTable: ur,
1156
- onToggleTooltip: dr,
1157
- onToggleAnnotator: pr,
1158
- onCopyAlt: Tr,
1159
- style: b({ visibility: T(on) ? T(rn) ? "visible" : "hidden" : "visible" })
1150
+ onToggleFullscreen: ur,
1151
+ onGeneratePdf: T(mn),
1152
+ onGenerateCsv: sr,
1153
+ onGenerateImage: T(Tr),
1154
+ onGenerateSvg: T(wr),
1155
+ onToggleTable: dr,
1156
+ onToggleTooltip: fr,
1157
+ onToggleAnnotator: mr,
1158
+ onCopyAlt: Er,
1159
+ style: b({ visibility: T(sn) ? T(an) ? "visible" : "hidden" : "visible" })
1160
1160
  }, Le({ _: 2 }, [
1161
1161
  e.$slots.menuIcon ? {
1162
1162
  name: "menuIcon",
@@ -1234,18 +1234,18 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1234
1234
  xmlns: T(se),
1235
1235
  "aria-describedby": `chart-instructions-${O.value}`,
1236
1236
  class: v({
1237
- "vue-data-ui-fullscreen--on": cr.value,
1238
- "vue-data-ui-fulscreen--off": !cr.value,
1237
+ "vue-data-ui-fullscreen--on": lr.value,
1238
+ "vue-data-ui-fulscreen--off": !lr.value,
1239
1239
  "vue-data-ui-no-transition": !T(N)
1240
1240
  }),
1241
1241
  tabindex: "0",
1242
1242
  viewBox: `0 0 ${R.value.width <= 0 ? 10 : R.value.width} ${R.value.height <= 0 ? 10 : R.value.height}`,
1243
1243
  style: b(`max-width:100%;overflow:visible;background:transparent;color:${M.value.style.chart.color}`),
1244
- onFocus: Er,
1245
- onBlur: Dr,
1246
- onKeydown: Or
1244
+ onFocus: Dr,
1245
+ onBlur: Or,
1246
+ onKeydown: kr
1247
1247
  }, [
1248
- ze(T(kt)),
1248
+ ze(T(At)),
1249
1249
  h("defs", null, [(x(!0), m(u, null, C(W.value, (e, t) => (x(), f(De, {
1250
1250
  t: "radial",
1251
1251
  cx: "50%",
@@ -1303,11 +1303,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1303
1303
  rx: 3,
1304
1304
  fill: "none",
1305
1305
  stroke: "black"
1306
- }, null, 8, it)) : W.value.length && !M.value.useCustomCells ? (x(), m(u, { key: 2 }, [e.$slots.pattern ? (x(), m("g", at, [(x(!0), m(u, null, C(Sn.value, (t) => (x(), m("defs", null, [w(e.$slots, "pattern", Be({ ref_for: !0 }, {
1306
+ }, null, 8, it)) : W.value.length && !M.value.useCustomCells ? (x(), m(u, { key: 2 }, [e.$slots.pattern ? (x(), m("g", at, [(x(!0), m(u, null, C(Cn.value, (t) => (x(), m("defs", null, [w(e.$slots, "pattern", Be({ ref_for: !0 }, {
1307
1307
  seriesIndex: t.absoluteIndex,
1308
1308
  patternId: `pattern_${O.value}_${t.absoluteIndex}`
1309
1309
  }), void 0, !0)]))), 256))])) : p("", !0), M.value.style.chart.layout.rect.merged ? (x(), m(u, { key: 1 }, [
1310
- (x(!0), m(u, null, C(rr.value, (e) => (x(), m("path", {
1310
+ (x(!0), m(u, null, C(ir.value, (e) => (x(), m("path", {
1311
1311
  key: `merged-underlayer-${e.serieIndex}`,
1312
1312
  d: e.d,
1313
1313
  fill: "white",
@@ -1316,10 +1316,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1316
1316
  "stroke-width": M.value.style.chart.layout.rect.strokeWidth,
1317
1317
  "stroke-linejoin": "round",
1318
1318
  filter: $(e.serieIndex),
1319
- style: b(Yn(e.serieIndex)),
1319
+ style: b(Xn(e.serieIndex)),
1320
1320
  class: v({ "vue-data-ui-transition": T(N) })
1321
1321
  }, null, 14, ot))), 128)),
1322
- (x(!0), m(u, null, C(rr.value, (e) => (x(), m("path", {
1322
+ (x(!0), m(u, null, C(ir.value, (e) => (x(), m("path", {
1323
1323
  key: `merged-serie-${e.serieIndex}`,
1324
1324
  d: e.d,
1325
1325
  fill: M.value.style.chart.layout.rect.useGradient && M.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${O.value}_${e.gradientIndex})` : e.color,
@@ -1328,17 +1328,17 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1328
1328
  "stroke-width": M.value.style.chart.layout.rect.strokeWidth,
1329
1329
  "stroke-linejoin": "round",
1330
1330
  filter: $(e.serieIndex),
1331
- style: b(Yn(e.serieIndex)),
1331
+ style: b(Xn(e.serieIndex)),
1332
1332
  class: v({ "vue-data-ui-transition": T(N) })
1333
1333
  }, null, 14, st))), 128)),
1334
- e.$slots.pattern ? (x(), m("g", ct, [(x(!0), m(u, null, C(rr.value, (e) => (x(), m("path", {
1334
+ e.$slots.pattern ? (x(), m("g", ct, [(x(!0), m(u, null, C(ir.value, (e) => (x(), m("path", {
1335
1335
  key: `merged-pattern-${e.serieIndex}`,
1336
1336
  d: e.d,
1337
1337
  fill: `url(#pattern_${O.value}_${e.absoluteIndex})`,
1338
1338
  "fill-rule": "evenodd",
1339
1339
  stroke: "none",
1340
1340
  filter: $(e.serieIndex),
1341
- style: b(Yn(e.serieIndex)),
1341
+ style: b(Xn(e.serieIndex)),
1342
1342
  class: v({ "vue-data-ui-transition": T(N) })
1343
1343
  }, null, 14, lt))), 128))])) : p("", !0)
1344
1344
  ], 64)) : (x(), m(u, { key: 2 }, [
@@ -1352,7 +1352,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1352
1352
  stroke: M.value.style.chart.layout.rect.stroke,
1353
1353
  "stroke-width": M.value.style.chart.layout.rect.strokeWidth,
1354
1354
  filter: $(W.value[t].serieIndex),
1355
- style: b(Yn(W.value[t].serieIndex)),
1355
+ style: b(Xn(W.value[t].serieIndex)),
1356
1356
  class: v({ "vue-data-ui-transition": T(N) })
1357
1357
  }, null, 14, ut))), 256)),
1358
1358
  (x(!0), m(u, null, C(G.value, (e, t) => (x(), m("rect", {
@@ -1365,7 +1365,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1365
1365
  stroke: M.value.style.chart.layout.rect.stroke,
1366
1366
  "stroke-width": M.value.style.chart.layout.rect.strokeWidth,
1367
1367
  filter: $(W.value[t].serieIndex),
1368
- style: b(Yn(W.value[t].serieIndex)),
1368
+ style: b(Xn(W.value[t].serieIndex)),
1369
1369
  class: v({ "vue-data-ui-transition": T(N) })
1370
1370
  }, null, 14, dt))), 256)),
1371
1371
  e.$slots.pattern ? (x(), m("g", ft, [(x(!0), m(u, null, C(G.value, (e, t) => (x(), m("rect", {
@@ -1377,7 +1377,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1377
1377
  fill: `url(#pattern_${O.value}_${W.value[t].absoluteIndex})`,
1378
1378
  stroke: "none",
1379
1379
  filter: $(W.value[t].serieIndex),
1380
- style: b(Yn(W.value[t].serieIndex)),
1380
+ style: b(Xn(W.value[t].serieIndex)),
1381
1381
  class: v({ "vue-data-ui-transition": T(N) })
1382
1382
  }, null, 14, pt))), 256))])) : p("", !0)
1383
1383
  ], 64))], 64)) : p("", !0),
@@ -1391,7 +1391,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1391
1391
  },
1392
1392
  isSelected: [null, void 0].includes(k.value) ? !0 : W.value[n].serieIndex === k.value
1393
1393
  }), void 0, !0)]))), 256)) : p("", !0),
1394
- (x(!0), m(u, null, C(nr.value, (e, t) => (x(), m("polygon", {
1394
+ (x(!0), m(u, null, C(rr.value, (e, t) => (x(), m("polygon", {
1395
1395
  key: `selected-series-wrap-${t}`,
1396
1396
  points: e,
1397
1397
  fill: "none",
@@ -1400,74 +1400,74 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1400
1400
  "stroke-linejoin": M.value.style.chart.layout.rect.selection.wrap.strokeLinejoin,
1401
1401
  "pointer-events": "none"
1402
1402
  }, null, 8, mt))), 128)),
1403
- (x(!0), m(u, null, C(G.value, (e, t) => (x(), m(u, null, [ir(t, e) ? (x(), m("text", {
1403
+ (x(!0), m(u, null, C(G.value, (e, t) => (x(), m(u, null, [ar(t, e) ? (x(), m("text", {
1404
1404
  key: `datalabel_${t}`,
1405
- textContent: Ke(ar(t, e)),
1405
+ textContent: Ke(or(t, e)),
1406
1406
  x: e.x + M.value.style.chart.layout.labels.captions.offsetX + M.value.style.chart.layout.grid.spaceBetween / 2 + 6,
1407
- y: e.y + M.value.style.chart.layout.labels.captions.offsetY + M.value.style.chart.layout.grid.spaceBetween / 2 + vn.value / 2 + M.value.style.chart.layout.labels.captions.fontSize / 3,
1407
+ y: e.y + M.value.style.chart.layout.labels.captions.offsetY + M.value.style.chart.layout.grid.spaceBetween / 2 + yn.value / 2 + M.value.style.chart.layout.labels.captions.fontSize / 3,
1408
1408
  "font-size": M.value.style.chart.layout.labels.captions.fontSize,
1409
1409
  fill: T(oe)(W.value[t].color),
1410
1410
  filter: $(W.value[t].serieIndex),
1411
1411
  class: v({ "vue-data-ui-transition": T(N) })
1412
1412
  }, null, 10, ht)) : p("", !0)], 64))), 256)),
1413
- M.value.style.chart.layout.rect.merged && !M.value.useCustomCells ? (x(!0), m(u, { key: 4 }, C(rr.value, (e) => (x(), m("path", {
1413
+ M.value.style.chart.layout.rect.merged && !M.value.useCustomCells ? (x(!0), m(u, { key: 4 }, C(ir.value, (e) => (x(), m("path", {
1414
1414
  key: `tooltip-trap-${e.serieIndex}`,
1415
1415
  d: e.d,
1416
1416
  fill: "transparent",
1417
1417
  "fill-rule": "evenodd",
1418
1418
  stroke: "none",
1419
1419
  "pointer-events": "fill",
1420
- onMouseover: (t) => qn(e.rectIndex),
1421
- onMouseleave: (t) => Kn(e.rectIndex),
1422
- onClick: (t) => Gn(e.rectIndex)
1420
+ onMouseover: (t) => Jn(e.rectIndex),
1421
+ onMouseleave: (t) => qn(e.rectIndex),
1422
+ onClick: (t) => Kn(e.rectIndex)
1423
1423
  }, null, 40, gt))), 128)) : (x(!0), m(u, { key: 5 }, C(G.value, (e, t) => (x(), m("rect", {
1424
1424
  key: `tooltip-trap-${t}`,
1425
1425
  x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
1426
1426
  y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
1427
- height: vn.value,
1428
- width: _n.value,
1427
+ height: yn.value,
1428
+ width: vn.value,
1429
1429
  fill: "transparent",
1430
1430
  stroke: "none",
1431
- onMouseover: (e) => qn(t),
1432
- onMouseleave: (e) => Kn(t),
1433
- onClick: (e) => Gn(t)
1431
+ onMouseover: (e) => Jn(t),
1432
+ onMouseleave: (e) => qn(t),
1433
+ onClick: (e) => Kn(t)
1434
1434
  }, null, 40, _t))), 128)),
1435
1435
  w(e.$slots, "svg", { svg: {
1436
1436
  ...R.value,
1437
- isPrintingImg: T(dn) || T(fn) || T(xr),
1438
- isPrintingSvg: T(Sr)
1437
+ isPrintingImg: T(fn) || T(pn) || T(Sr),
1438
+ isPrintingSvg: T(Cr)
1439
1439
  } }, void 0, !0)
1440
1440
  ], 46, tt)), e.$slots.hint ? (x(), m("div", vt, [w(e.$slots, "hint", y(_({
1441
1441
  hint: M.value.a11y.translations.keyboardNavigation,
1442
- isVisible: Qt.value
1442
+ isVisible: $t.value
1443
1443
  })), void 0, !0)])) : p("", !0)]),
1444
- e.$slots.watermark ? (x(), m("div", yt, [w(e.$slots, "watermark", y(_({ isPrinting: T(dn) || T(fn) || T(xr) || T(Sr) })), void 0, !0)])) : p("", !0),
1444
+ e.$slots.watermark ? (x(), m("div", yt, [w(e.$slots, "watermark", y(_({ isPrinting: T(fn) || T(pn) || T(Sr) || T(Cr) })), void 0, !0)])) : p("", !0),
1445
1445
  h("div", { id: `legend-bottom-${O.value}` }, null, 8, bt),
1446
- qt.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Ie, {
1446
+ Jt.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Ie, {
1447
1447
  key: 6,
1448
1448
  to: M.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
1449
1449
  }, [h("div", {
1450
1450
  ref_key: "chartLegend",
1451
- ref: Vt
1451
+ ref: Ht
1452
1452
  }, [w(e.$slots, "legend", { legend: Y.value }, () => [M.value.style.chart.legend.show ? (x(), f(Ne, {
1453
- key: `legend_${Kt.value}`,
1453
+ key: `legend_${qt.value}`,
1454
1454
  legendSet: Y.value,
1455
- config: Bn.value,
1455
+ config: Vn.value,
1456
1456
  isCursorPointer: P.value,
1457
- onClickMarker: t[0] ||= ({ legend: e }) => Fn(e.uid)
1457
+ onClickMarker: t[0] ||= ({ legend: e }) => In(e.uid)
1458
1458
  }, Le({
1459
1459
  item: E(({ legend: e }) => [h("div", {
1460
1460
  onClick: (t) => e.segregate(),
1461
1461
  style: b(`opacity:${K.value.includes(e.uid) ? .5 : 1}`)
1462
1462
  }, Ke(e.display), 13, xt)]),
1463
- legendToggle: E(() => [Y.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !T(en) ? (x(), f(Oe, {
1463
+ legendToggle: E(() => [Y.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !T(tn) ? (x(), f(Oe, {
1464
1464
  key: 0,
1465
1465
  backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
1466
1466
  color: M.value.style.chart.legend.selectAllToggle.color,
1467
1467
  fontSize: M.value.style.chart.legend.fontSize,
1468
1468
  checked: K.value.length > 0,
1469
1469
  isCursorPointer: P.value,
1470
- onToggle: Pn
1470
+ onToggle: Fn
1471
1471
  }, null, 8, [
1472
1472
  "backgroundColor",
1473
1473
  "color",
@@ -1497,12 +1497,12 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1497
1497
  e.$slots.source ? (x(), m("div", {
1498
1498
  key: 7,
1499
1499
  ref_key: "source",
1500
- ref: Ht,
1500
+ ref: Ut,
1501
1501
  dir: "auto"
1502
1502
  }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1503
- ze(T(Ct), {
1503
+ ze(T(wt), {
1504
1504
  teleportTo: M.value.style.chart.tooltip.teleportTo,
1505
- show: L.value.showTooltip && Lt.value && K.value.length < D.dataset.length,
1505
+ show: L.value.showTooltip && Rt.value && K.value.length < D.dataset.length,
1506
1506
  backgroundColor: M.value.style.chart.tooltip.backgroundColor,
1507
1507
  color: M.value.style.chart.tooltip.color,
1508
1508
  borderRadius: M.value.style.chart.tooltip.borderRadius,
@@ -1513,20 +1513,20 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1513
1513
  offsetX: M.value.style.chart.tooltip.offsetX,
1514
1514
  offsetY: M.value.style.chart.tooltip.offsetY,
1515
1515
  parent: A.value,
1516
- content: Rt.value,
1516
+ content: zt.value,
1517
1517
  isCustom: M.value.style.chart.tooltip.customFormat && typeof M.value.style.chart.tooltip.customFormat == "function",
1518
1518
  fontSize: M.value.style.chart.tooltip.fontSize,
1519
- isFullscreen: cr.value,
1519
+ isFullscreen: lr.value,
1520
1520
  smooth: M.value.style.chart.tooltip.smooth,
1521
1521
  backdropFilter: M.value.style.chart.tooltip.backdropFilter,
1522
1522
  smoothForce: M.value.style.chart.tooltip.smoothForce,
1523
1523
  smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
1524
- isA11yMode: Zt.value === "keyboard",
1525
- a11yPosition: Xt.value
1524
+ isA11yMode: Qt.value === "keyboard",
1525
+ a11yPosition: Zt.value
1526
1526
  }, {
1527
- "tooltip-before": E(() => [w(e.$slots, "tooltip-before", y(_({ ...Vn.value })), void 0, !0)]),
1528
- tooltip: E(() => [w(e.$slots, "tooltip", y(_({ ...Vn.value })), void 0, !0)]),
1529
- "tooltip-after": E(() => [w(e.$slots, "tooltip-after", y(_({ ...Vn.value })), void 0, !0)]),
1527
+ "tooltip-before": E(() => [w(e.$slots, "tooltip-before", y(_({ ...Hn.value })), void 0, !0)]),
1528
+ tooltip: E(() => [w(e.$slots, "tooltip", y(_({ ...Hn.value })), void 0, !0)]),
1529
+ "tooltip-after": E(() => [w(e.$slots, "tooltip-after", y(_({ ...Hn.value })), void 0, !0)]),
1530
1530
  _: 3
1531
1531
  }, 8, [
1532
1532
  "teleportTo",
@@ -1552,29 +1552,27 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1552
1552
  "isA11yMode",
1553
1553
  "a11yPosition"
1554
1554
  ]),
1555
- It.value && M.value.userOptions.buttons.table ? (x(), f(We(hr.value.component), Be({ key: 8 }, hr.value.props, {
1555
+ Lt.value && M.value.userOptions.buttons.table ? (x(), f(We(gr.value.component), Be({ key: 8 }, gr.value.props, {
1556
1556
  ref_key: "tableUnit",
1557
- ref: Jt,
1558
- onClose: gr
1557
+ ref: Yt,
1558
+ onClose: _r
1559
1559
  }), Le({
1560
- content: E(() => [(x(), f(T(Tt), {
1561
- key: `table_${Gt.value}`,
1562
- colNames: sr.value.colNames,
1563
- head: sr.value.head,
1564
- body: sr.value.body,
1565
- config: sr.value.config,
1566
- title: M.value.table.useDialog ? "" : hr.value.title,
1560
+ content: E(() => [(x(), f(T(Et), {
1561
+ key: `table_${Kt.value}`,
1562
+ colNames: cr.value.colNames,
1563
+ head: cr.value.head,
1564
+ body: cr.value.body,
1565
+ config: cr.value.config,
1566
+ title: M.value.table.useDialog ? "" : gr.value.title,
1567
1567
  withCloseButton: !M.value.table.useDialog,
1568
1568
  isCursorPointer: P.value,
1569
- onClose: gr
1569
+ onClose: _r
1570
1570
  }, {
1571
- th: E(({ th: e }) => [h("div", {
1572
- innerHTML: e,
1573
- style: {
1574
- display: "flex",
1575
- "align-items": "center"
1576
- }
1577
- }, null, 8, St)]),
1571
+ th: E(({ th: e }) => [e === "__SUM__" ? (x(), m("div", St, [ze(T(Tt), {
1572
+ name: "sigma",
1573
+ stroke: cr.value.config.th.color,
1574
+ size: 16
1575
+ }, null, 8, ["stroke"])])) : (x(), m("div", Ct, Ke(e), 1))]),
1578
1576
  td: E(({ td: e }) => [Re(Ke(e.name || e), 1)]),
1579
1577
  _: 1
1580
1578
  }, 8, [
@@ -1589,24 +1587,24 @@ var Xe = /* @__PURE__ */ e({ default: () => Ct }), Ze = ["id"], Qe = ["id"], $e
1589
1587
  _: 2
1590
1588
  }, [M.value.table.useDialog ? {
1591
1589
  name: "title",
1592
- fn: E(() => [Re(Ke(hr.value.title), 1)]),
1590
+ fn: E(() => [Re(Ke(gr.value.title), 1)]),
1593
1591
  key: "0"
1594
1592
  } : void 0, M.value.table.useDialog ? {
1595
1593
  name: "actions",
1596
1594
  fn: E(() => [h("button", {
1597
1595
  tabindex: "0",
1598
1596
  class: "vue-ui-user-options-button",
1599
- onClick: t[1] ||= (e) => or(M.value.userOptions.callbacks.csv),
1597
+ onClick: t[1] ||= (e) => sr(M.value.userOptions.callbacks.csv),
1600
1598
  style: b({ cursor: P.value ? "pointer" : "default" })
1601
- }, [ze(T(wt), {
1599
+ }, [ze(T(Tt), {
1602
1600
  name: "fileCsv",
1603
- stroke: hr.value.props.color
1601
+ stroke: gr.value.props.color
1604
1602
  }, null, 8, ["stroke"])], 4)]),
1605
1603
  key: "1"
1606
1604
  } : void 0]), 1040)) : p("", !0),
1607
- w(e.$slots, "skeleton", {}, () => [T(en) ? (x(), f(ge, { key: 0 })) : p("", !0)], !0)
1605
+ w(e.$slots, "skeleton", {}, () => [T(tn) ? (x(), f(ge, { key: 0 })) : p("", !0)], !0)
1608
1606
  ], 46, Ze));
1609
1607
  }
1610
- }, [["__scopeId", "data-v-fd2c905f"]]);
1608
+ }, [["__scopeId", "data-v-ac304f67"]]);
1611
1609
  //#endregion
1612
- export { Xe as n, Ct as t };
1610
+ export { Xe as n, wt as t };