vue-data-ui 3.22.3 → 3.22.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/dist/{Arrow-Ct8T_Lyp.js → Arrow-CgzmXCW_.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DLuXvUbs.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
  3. package/dist/{BaseIcon-CX_ChMz-.js → BaseIcon-xBuW2jjI.js} +1 -1
  4. package/dist/{BaseLegendToggle-qL0O9ooF.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
  5. package/dist/{BaseZoomControls-BI5sLb6d.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
  6. package/dist/{ColorPicker-CwyWzPx_.js → ColorPicker-Usv7badH.js} +2 -2
  7. package/dist/{DataTable-KEMekOVu.js → DataTable-PidUPOit.js} +2 -2
  8. package/dist/Legend-DXOzbXb-.js +156 -0
  9. package/dist/{NonSvgPenAndPaper-CeNJtWON.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
  10. package/dist/{PackageVersion-D-_GVhxY.js → PackageVersion-Cm-3hwIF.js} +1 -1
  11. package/dist/{PenAndPaper-DkZYRnrW.js → PenAndPaper-ISUbDKXq.js} +11 -11
  12. package/dist/{Shape-S-7v8SAE.js → Shape-BnF9aMPX.js} +3 -3
  13. package/dist/Slicer-hEvKOLw3.js +1145 -0
  14. package/dist/{SlicerPreview-Co-V9YBf.js → SlicerPreview-BDI-aCXE.js} +36 -35
  15. package/dist/{SparkTooltip-D2BBjZKc.js → SparkTooltip-DaWSTzfA.js} +1 -1
  16. package/dist/{Title-Cxgd_JyY.js → Title-DDEEO-Nr.js} +1 -1
  17. package/dist/{Tooltip-BqdN_ZBE.js → Tooltip-BhKov422.js} +1 -1
  18. package/dist/{UserOptions-WIxTs7Xf.js → UserOptions-BxT1XHzN.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-DsEPQbU1.js → dom-to-png-ZOysoMwu.js} +1 -1
  89. package/dist/exposedLib-C2U48XK7.js +19 -0
  90. package/dist/img-B29J8tV5.js +129 -0
  91. package/dist/{labelUtils-WDjGa7EP.js → labelUtils-BFcL_t-A.js} +1 -1
  92. package/dist/{lib-NmjQazSn.js → lib-CuwHGt1j.js} +142 -123
  93. package/dist/{package-KQdsc0if.js → package-CRlwXCDr.js} +1 -1
  94. package/dist/{pdf-BVocBz-Y.js → pdf-ymYt9Lee.js} +1 -1
  95. package/dist/{render-common-BUbY65H0.js → render-common-D6ny-Fwu.js} +22 -22
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +59 -2
  101. package/dist/types/vue-ui-strip-plot.d.ts +2 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-DBv7sw1h.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
  103. package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
  104. package/dist/{useNestedProp-C9viY7oU.js → useNestedProp-BjkuFaz1.js} +1 -1
  105. package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
  106. package/dist/{usePrinter-DRYgV-XS.js → usePrinter-C0wAS8yc.js} +3 -3
  107. package/dist/utils.js +14 -14
  108. package/dist/{vue-data-ui-CDgunUso.js → vue-data-ui-DTWqd0R2.js} +68 -68
  109. package/dist/vue-data-ui.js +73 -73
  110. package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
  111. package/dist/{vue-ui-accordion-vYLqcJJd.js → vue-ui-accordion-B64IJyPU.js} +4 -4
  112. package/dist/{vue-ui-age-pyramid-CCAcpoA2.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
  113. package/dist/{vue-ui-annotator-CmjcPCRy.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
  114. package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
  115. package/dist/{vue-ui-bump-UWs3Fols.js → vue-ui-bump-BD0Uq3As.js} +259 -259
  116. package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
  117. package/dist/{vue-ui-carousel-table-DiPXX1eV.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
  118. package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
  119. package/dist/{vue-ui-chord-MB6BktFk.js → vue-ui-chord-BZhXsZXp.js} +53 -53
  120. package/dist/{vue-ui-circle-pack-D4n5rKtA.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
  121. package/dist/{vue-ui-cursor-Cu_HGeoy.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
  122. package/dist/{vue-ui-dag-DQlbTBPB.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
  123. package/dist/{vue-ui-dashboard-BD-M8q8G.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
  124. package/dist/{vue-ui-digits-C21SWRDQ.js → vue-ui-digits-07IxTlNO.js} +4 -4
  125. package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
  126. package/dist/{vue-ui-donut-Djiw7Rz1.js → vue-ui-donut-C5oRCxAO.js} +193 -193
  127. package/dist/{vue-ui-donut-evolution-BkI06V1N.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
  128. package/dist/{vue-ui-dumbbell-Yn79Apx7.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
  129. package/dist/{vue-ui-flow-DfWx60DS.js → vue-ui-flow-R_dLE1WS.js} +72 -72
  130. package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
  131. package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
  132. package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
  133. package/dist/{vue-ui-geo-DdB-gJBh.js → vue-ui-geo-DVT9XEC3.js} +18 -18
  134. package/dist/{vue-ui-gizmo-AMWvrL1N.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
  135. package/dist/{vue-ui-heatmap-8cmpKIN5.js → vue-ui-heatmap-BCFId15K.js} +293 -293
  136. package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
  137. package/dist/{vue-ui-horizontal-bar-D32lWjQJ.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
  138. package/dist/{vue-ui-kpi-B3FdCV-T.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
  139. package/dist/{vue-ui-mini-loader-Bk-5TDbT.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
  140. package/dist/{vue-ui-molecule-B4fNC1Bk.js → vue-ui-molecule-2pfoR63d.js} +213 -213
  141. package/dist/{vue-ui-mood-radar-_mw9D1wg.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
  142. package/dist/{vue-ui-nested-donuts-DPhDz07R.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
  143. package/dist/{vue-ui-onion-Cob0y2FO.js → vue-ui-onion-CzXx3Rme.js} +293 -293
  144. package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
  145. package/dist/{vue-ui-quadrant-D6wv44Hs.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
  146. package/dist/{vue-ui-quick-chart-EeT-lzAq.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
  147. package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
  148. package/dist/{vue-ui-rating-DlMTyra_.js → vue-ui-rating-CRziryE2.js} +22 -22
  149. package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
  150. package/dist/{vue-ui-ridgeline-VO2-zPGd.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
  151. package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
  152. package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
  153. package/dist/{vue-ui-skeleton-ImkpUdwJ.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
  154. package/dist/{vue-ui-smiley-Ct3ijoOw.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
  155. package/dist/{vue-ui-spark-trend-_b2gVafQ.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
  156. package/dist/{vue-ui-sparkbar-CRH8b1fM.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
  157. package/dist/{vue-ui-sparkgauge-Z_lgEp7i.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
  158. package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
  159. package/dist/{vue-ui-sparkline-B-QS62r4.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
  160. package/dist/{vue-ui-sparkstackbar-DICmDZrB.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
  161. package/dist/{vue-ui-stackbar-BRqqDp3a.js → vue-ui-stackbar-Dqs7_g8D.js} +147 -147
  162. package/dist/{vue-ui-stackline-DVY_4Fmh.js → vue-ui-stackline-IRjugedp.js} +417 -417
  163. package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
  164. package/dist/{vue-ui-table-ByFPF5fJ.js → vue-ui-table-Bqi9XNvY.js} +64 -64
  165. package/dist/{vue-ui-table-heatmap-DfLfYJiR.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
  166. package/dist/{vue-ui-table-sparkline-Gi1MQO-E.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
  167. package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
  168. package/dist/{vue-ui-timer-CrIq3NmZ.js → vue-ui-timer-9CDcd-gP.js} +6 -6
  169. package/dist/{vue-ui-tiremarks-BB3VV4tK.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
  170. package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
  171. package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
  172. package/dist/{vue-ui-wheel-DZq3C6wh.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
  173. package/dist/{vue-ui-word-cloud-BNK1nfDn.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
  174. package/dist/{vue-ui-world-D3F772fb.js → vue-ui-world-vrGT5g1H.js} +127 -127
  175. package/dist/{vue-ui-xy-f56XjeNS.js → vue-ui-xy-Cb7u46JN.js} +410 -410
  176. package/dist/{vue-ui-xy-DOnq4Na2.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
  177. package/dist/{vue-ui-xy-canvas-OajdJbzS.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
  178. package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
  179. package/package.json +1 -1
  180. package/dist/Legend--t7Mbp9Z.js +0 -115
  181. package/dist/Slicer-CpBaahpI.js +0 -1144
  182. package/dist/exposedLib-BkRxoSB9.js +0 -19
  183. package/dist/img-CyjhDDaM.js +0 -74
  184. package/dist/vue-ui-3d-bar-BrSoUZQ_.js +0 -1757
  185. package/dist/vue-ui-bullet-BYrQAbvp.js +0 -710
  186. package/dist/vue-ui-candlestick-CJw3R21J.js +0 -1826
  187. package/dist/vue-ui-chestnut-DJkyr3uK.js +0 -2010
  188. package/dist/vue-ui-donut-BPOS4Aoe.js +0 -2410
  189. package/dist/vue-ui-funnel-hsmCJgE5.js +0 -777
  190. package/dist/vue-ui-galaxy-BC-D8ZZ6.js +0 -1077
  191. package/dist/vue-ui-gauge-CnDTR46T.js +0 -920
  192. package/dist/vue-ui-history-plot-ZcraxoDy.js +0 -1554
  193. package/dist/vue-ui-parallel-coordinate-plot-BPyfEQEf.js +0 -1416
  194. package/dist/vue-ui-radar-DNid-gVu.js +0 -1281
  195. package/dist/vue-ui-relation-circle-DALWYwuI.js +0 -924
  196. package/dist/vue-ui-rings-CGU8bnut.js +0 -1246
  197. package/dist/vue-ui-scatter-CDy2LLD_.js +0 -2413
  198. package/dist/vue-ui-sparkhistogram-DzukoeRA.js +0 -560
  199. package/dist/vue-ui-strip-plot-DUv9SsML.js +0 -1340
  200. package/dist/vue-ui-thermometer-MfzmVt9N.js +0 -763
  201. package/dist/vue-ui-treemap-CeE1TT6j.js +0 -1587
  202. package/dist/vue-ui-waffle-KDOR3fMN.js +0 -1362
@@ -1,26 +1,26 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { B as t, Bt as n, Ct as r, Et as a, G as o, H as s, J as c, S as l, Ut as u, V as d, Vt as f, X as p, ct as ee, g as te, gt as ne, h as re, i as m, it as ie, kt as ae, nt as h, r as oe, s as se, t as ce, x as le, y as ue, zt as de } from "./lib-NmjQazSn.js";
2
+ import { Gt as t, H as n, Ht as r, Ot as a, Q as o, S as s, Tt as c, U as l, Ut as u, Vt as d, W as f, X as ee, b as te, g as ne, h as re, i as p, it as m, jt as ie, ot as ae, q as h, r as oe, s as se, t as ce, ut as le, vt as ue, w as de } from "./lib-CuwHGt1j.js";
3
3
  import { n as fe, r as pe, t as me } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as he } from "./useConfig-Bf_EBbe3.js";
5
- import { t as ge } from "./usePrinter-DRYgV-XS.js";
4
+ import { t as he } from "./useConfig-pVLia3dt.js";
5
+ import { t as ge } from "./usePrinter-C0wAS8yc.js";
6
6
  import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as ye } from "./useSvgExport-SVIsDot8.js";
8
- import { t as be } from "./useNestedProp-C9viY7oU.js";
8
+ import { t as be } from "./useNestedProp-BjkuFaz1.js";
9
9
  import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
10
10
  import { t as Se } from "./useStableElementSize-C7KADDKj.js";
11
11
  import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
- import { t as we } from "./img-CyjhDDaM.js";
13
- import { n as Te } from "./Title-Cxgd_JyY.js";
14
- import { t as Ee } from "./Shape-S-7v8SAE.js";
12
+ import { t as we } from "./img-B29J8tV5.js";
13
+ import { n as Te } from "./Title-DDEEO-Nr.js";
14
+ import { t as Ee } from "./Shape-BnF9aMPX.js";
15
15
  import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
16
  import { c as Oe } from "./canvas-lib-BOP_HS11.js";
17
17
  import { t as ke } from "./useResponsive-BfnK0KxU.js";
18
- import { t as Ae } from "./SlicerPreview-Co-V9YBf.js";
19
- import { t as je } from "./BaseLegendToggle-qL0O9ooF.js";
18
+ import { t as Ae } from "./SlicerPreview-BDI-aCXE.js";
19
+ import { t as je } from "./BaseLegendToggle-C4Usj0LI.js";
20
20
  import { t as Me } from "./A11yDataTable-DdRsVULz.js";
21
21
  import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
22
22
  import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
23
- import { t as Fe } from "./Legend--t7Mbp9Z.js";
23
+ import { t as Fe } from "./Legend-DXOzbXb-.js";
24
24
  import { t as Ie } from "./vue_ui_stackbar-COOrQQdK.js";
25
25
  import { Fragment as g, Teleport as Le, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as S, guardReactiveProps as C, mergeProps as Ve, nextTick as He, normalizeClass as Ue, normalizeProps as w, normalizeStyle as T, onBeforeUnmount as We, onMounted as Ge, openBlock as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as A, toRefs as Je, unref as j, useSlots as Ye, watch as Xe, watchEffect as Ze, withCtx as M } from "vue";
26
26
  //#region src/components/vue-ui-stackbar.vue
@@ -280,14 +280,14 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
280
280
  "copyAlt"
281
281
  ],
282
282
  setup(e, { expose: De, emit: Qe }) {
283
- let Zt = S(() => import("./Tooltip-BqdN_ZBE.js")), Qt = S(() => import("./BaseIcon-CX_ChMz-.js").then((e) => e.n)), $t = S(() => import("./vue-ui-accordion-vYLqcJJd.js").then((e) => e.n)), en = S(() => import("./DataTable-KEMekOVu.js")), tn = S(() => import("./PenAndPaper-DkZYRnrW.js").then((e) => e.t)), nn = S(() => import("./UserOptions-WIxTs7Xf.js").then((e) => e.n)), rn = S(() => import("./PackageVersion-D-_GVhxY.js").then((e) => e.t)), an = S(() => import("./BaseDraggableDialog-DLuXvUbs.js").then((e) => e.n)), { vue_ui_stackbar: on } = he(), { isThemeValid: sn, warnInvalidTheme: cn } = xe(), ln = Ye(), N = e, P = Qe, un = _({
283
+ let Zt = S(() => import("./Tooltip-BhKov422.js")), Qt = S(() => import("./BaseIcon-xBuW2jjI.js").then((e) => e.n)), $t = S(() => import("./vue-ui-accordion-B64IJyPU.js").then((e) => e.n)), en = S(() => import("./DataTable-PidUPOit.js")), tn = S(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), nn = S(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), rn = S(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), an = S(() => import("./BaseDraggableDialog-DjzNWkiE.js").then((e) => e.n)), { vue_ui_stackbar: on } = he(), { isThemeValid: sn, warnInvalidTheme: cn } = xe(), ln = Ye(), N = e, P = Qe, un = _({
284
284
  get() {
285
285
  return !!N.dataset && N.dataset.length;
286
286
  },
287
287
  set(e) {
288
288
  return e;
289
289
  }
290
- }), F = D(null), I = D(s()), dn = D(!1), fn = D(null), pn = D(""), L = D([]), mn = D(0), hn = D(null), gn = D(null), _n = D(null), vn = D(null), yn = D(!1), R = D(null), bn = D(!1), xn = D(0), Sn = D(0), Cn = D(0), wn = D(!1), Tn = D(null), En = D(null), Dn = D(!1), On = D(!1), kn = D(null), An = D(null), jn = D(null), Mn = D(null), Nn = D(null), Pn = D(null), Fn = qe(null), In = D(!1), Ln = D(0), Rn = D(0), z = D(null), zn = D({
290
+ }), F = D(null), I = D(f()), dn = D(!1), fn = D(null), pn = D(""), L = D([]), mn = D(0), hn = D(null), gn = D(null), _n = D(null), vn = D(null), yn = D(!1), R = D(null), bn = D(!1), xn = D(0), Sn = D(0), Cn = D(0), wn = D(!1), Tn = D(null), En = D(null), Dn = D(!1), On = D(!1), kn = D(null), An = D(null), jn = D(null), Mn = D(null), Nn = D(null), Pn = D(null), Fn = qe(null), In = D(!1), Ln = D(0), Rn = D(0), z = D(null), zn = D({
291
291
  x: 0,
292
292
  y: 0
293
293
  }), Bn = D("pointer"), Vn = Se({
@@ -318,7 +318,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
318
318
  Ge(() => {
319
319
  wn.value = !0, Hn(), Vn.start(), mr();
320
320
  });
321
- let B = D(nr()), V = _(() => B.value.userOptions.useCursorPointer), Kn = _(() => u({
321
+ let B = D(nr()), V = _(() => B.value.userOptions.useCursorPointer), Kn = _(() => t({
322
322
  defaultConfig: {
323
323
  userOptions: { show: !1 },
324
324
  useCssAnimation: !1,
@@ -395,7 +395,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
395
395
  ],
396
396
  color: "#CACACA"
397
397
  }],
398
- skeletonConfig: u({
398
+ skeletonConfig: t({
399
399
  defaultConfig: B.value,
400
400
  userConfig: Kn.value
401
401
  })
@@ -426,7 +426,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
426
426
  userConfig: N.config,
427
427
  defaultConfig: r
428
428
  }),
429
- customPalette: e.customPalette.length ? e.customPalette : f[n] || ae
429
+ customPalette: e.customPalette.length ? e.customPalette : u[n] || ie
430
430
  };
431
431
  }
432
432
  else t = e;
@@ -463,18 +463,18 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
463
463
  bottom: B.value.style.chart.padding.bottom / B.value.style.chart.height,
464
464
  left: B.value.style.chart.padding.left / B.value.style.chart.width
465
465
  }
466
- }), lr = _(() => le(B.value.customPalette)), ur = qe(null), dr = qe(null), fr = D(null), pr = _(() => !!B.value.debug);
466
+ }), lr = _(() => s(B.value.customPalette)), ur = qe(null), dr = qe(null), fr = D(null), pr = _(() => !!B.value.debug);
467
467
  function mr({ resetSlicer: e = !0 } = {}) {
468
- if (a(N.dataset) ? (p({
468
+ if (a(N.dataset) ? (o({
469
469
  componentName: "VueUiStackbar",
470
470
  type: "dataset",
471
471
  debug: pr.value
472
472
  }), Yn.value = !0) : N.dataset.forEach((e, t) => {
473
- ee({
473
+ le({
474
474
  datasetObject: e,
475
475
  requiredAttributes: ["name", "series"]
476
476
  }).forEach((e) => {
477
- un.value = !1, p({
477
+ un.value = !1, o({
478
478
  componentName: "VueUiStackbar",
479
479
  type: "datasetSerieAttribute",
480
480
  property: e,
@@ -605,7 +605,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
605
605
  let e = hr();
606
606
  a = e.left, o = e.right, s = e.scaleLabelsWidth, c = e.yAxisLabelWidth;
607
607
  }
608
- let l = B.value.style.chart.padding.top + r, u = t - t * n - _r.value - o, d = e - B.value.style.chart.padding.bottom - Tr.value - r, f = B.value.style.chart.padding.left + a, p = t - f - t * n - _r.value - o, ee = e - l - B.value.style.chart.padding.bottom - Tr.value - r;
608
+ let l = B.value.style.chart.padding.top + r, u = t - t * n - _r.value - o, d = e - B.value.style.chart.padding.bottom - Tr.value - r, f = B.value.style.chart.padding.left + a, ee = t - f - t * n - _r.value - o, te = e - l - B.value.style.chart.padding.bottom - Tr.value - r;
609
609
  return {
610
610
  chartHeight: e,
611
611
  chartWidth: t,
@@ -613,8 +613,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
613
613
  right: u,
614
614
  bottom: d,
615
615
  left: f,
616
- width: Math.max(0, p),
617
- height: Math.max(0, ee),
616
+ width: Math.max(0, ee),
617
+ height: Math.max(0, te),
618
618
  offsetLeft: a,
619
619
  offsetRightAxis: o,
620
620
  scaleLabelsWidth: s,
@@ -654,7 +654,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
654
654
  };
655
655
  }
656
656
  }), K = _(() => Jn.value.map((e, t) => {
657
- let n = `stackbar_serie_${t}`, r = String(e.key ?? e.id ?? e.name ?? n), a = ue(e.color) || lr.value[t] || ae[t] || ae[t % ae.length];
657
+ let n = `stackbar_serie_${t}`, r = String(e.key ?? e.id ?? e.name ?? n), a = te(e.color) || lr.value[t] || ie[t] || ie[t % ie.length];
658
658
  return {
659
659
  ...e,
660
660
  datasetKey: r,
@@ -704,7 +704,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
704
704
  let X = _(() => {
705
705
  let e;
706
706
  return e = B.value.orientation === "vertical" ? G.value.width / (J.value.end - J.value.start) : G.value.height / (J.value.end - J.value.start), e <= 0 ? 0 : e;
707
- }), Pr = _(() => de(K.value.filter((e) => !L.value.includes(e.id))).slice(J.value.start, J.value.end)), Fr = _(() => L.value.length === K.value.length), Ir = _(() => B.value.style.chart.zoom.minimap.show ? de(K.value.map((e) => ({
707
+ }), Pr = _(() => d(K.value.filter((e) => !L.value.includes(e.id))).slice(J.value.start, J.value.end)), Fr = _(() => L.value.length === K.value.length), Ir = _(() => B.value.style.chart.zoom.minimap.show ? d(K.value.map((e) => ({
708
708
  ...e,
709
709
  series: e.series.map((e) => e ?? 0)
710
710
  })).filter((e) => Fr.value ? !0 : !L.value.includes(e.id))) : []), Lr = _(() => B.value.style.chart.zoom.minimap.show ? [{
@@ -712,17 +712,17 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
712
712
  series: Ir.value,
713
713
  color: "#000000",
714
714
  isVisible: !0
715
- }] : []), Rr = _(() => de(K.value.filter((e) => !L.value.includes(e.id)).map((e) => ({
715
+ }] : []), Rr = _(() => d(K.value.filter((e) => !L.value.includes(e.id)).map((e) => ({
716
716
  ...e,
717
717
  series: e.series.map((t, n) => e.signedSeries[n] === -1 && t >= 0 ? -t : t)
718
718
  }))).slice(J.value.start, J.value.end)), zr = _(() => {
719
719
  let e = K.value.filter((e) => !L.value.includes(e.id));
720
720
  return {
721
- positive: de(e.map((e) => ({
721
+ positive: d(e.map((e) => ({
722
722
  ...e,
723
723
  series: e.series.slice(J.value.start, J.value.end).map((e) => e >= 0 ? e : 0)
724
724
  }))),
725
- negative: de(e.map((e) => ({
725
+ negative: d(e.map((e) => ({
726
726
  ...e,
727
727
  series: e.series.slice(J.value.start, J.value.end).map((e) => e < 0 ? e : 0)
728
728
  })))
@@ -735,7 +735,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
735
735
  void 0,
736
736
  null
737
737
  ].includes(t) ? 0 : t;
738
- return !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? te(n > 0 ? 0 : n, e < 0 ? 0 : e, B.value.style.chart.grid.scale.ticks) : re(n > 0 ? 0 : n, e < 0 ? 0 : e, B.value.style.chart.grid.scale.ticks);
738
+ return !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? ne(n > 0 ? 0 : n, e < 0 ? 0 : e, B.value.style.chart.grid.scale.ticks) : re(n > 0 ? 0 : n, e < 0 ? 0 : e, B.value.style.chart.grid.scale.ticks);
739
739
  }), Vr = _(() => Br.value.ticks), Z = _(() => {
740
740
  let e = Br.value, t = e.max + Math.abs(e.min);
741
741
  return Vr.value.map((n) => ({
@@ -749,7 +749,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
749
749
  }));
750
750
  }), Hr = _(() => {
751
751
  let e = B.value.style.chart.grid.y.axisLabels, { prefix: t, suffix: n } = B.value.style.chart.bars.dataLabels;
752
- return Vr.value.map((r) => String(m(e.formatter, r, o({
752
+ return Vr.value.map((r) => String(p(e.formatter, r, h({
753
753
  p: t,
754
754
  v: r,
755
755
  s: n,
@@ -866,13 +866,13 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
866
866
  NaN,
867
867
  void 0,
868
868
  null
869
- ].includes(o) ? 0 : o, { min: c, max: l } = !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? te(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : re(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, p = Z.value[0] ? Z.value[0].zero : G.value.bottom, ee = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, ne = Array(Ir.value.length).fill(0), m = Array(Ir.value.length).fill(0);
869
+ ].includes(o) ? 0 : o, { min: c, max: l } = !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? ne(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : re(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, ee = Z.value[0] ? Z.value[0].zero : G.value.bottom, te = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, p = Array(Ir.value.length).fill(0), m = Array(Ir.value.length).fill(0);
870
870
  return K.value.filter((e) => !L.value.includes(e.id)).map((a) => {
871
- let o = a.series.slice(), s = o.map((e, t) => ne[t]), c = o.map((e, t) => m[t]);
871
+ let o = a.series.slice(), s = o.map((e, t) => p[t]), c = o.map((e, t) => m[t]);
872
872
  o.forEach((e, t) => {
873
- (Number(e) || 0) >= 0 ? ne[t] += Number(e) || 0 : m[t] += Math.abs(Number(e) || 0);
873
+ (Number(e) || 0) >= 0 ? p[t] += Number(e) || 0 : m[t] += Math.abs(Number(e) || 0);
874
874
  });
875
- let l = a.series.slice(J.value.start, J.value.end), te = a.signedSeries.slice(J.value.start, J.value.end), re = l.map((e, t) => ti(a, J.value.start + t)), ie = o.map((e, t) => ti(a, t)), ae = l.map((e, t) => G.value.left + X.value * t + X.value * B.value.style.chart.bars.gapRatio / 4), h = (Ir.value || []).filter(Number.isFinite), oe = h.length ? Math.max(...h) : 0, se = h.length ? Math.min(...h) : 0;
875
+ let l = a.series.slice(J.value.start, J.value.end), ne = a.signedSeries.slice(J.value.start, J.value.end), re = l.map((e, t) => ti(a, J.value.start + t)), ie = o.map((e, t) => ti(a, t)), ae = l.map((e, t) => G.value.left + X.value * t + X.value * B.value.style.chart.bars.gapRatio / 4), h = (Ir.value || []).filter(Number.isFinite), oe = h.length ? Math.max(...h) : 0, se = h.length ? Math.min(...h) : 0;
876
876
  function ce({ minimapH: e }) {
877
877
  let t = 1e-9, n = oe > 0;
878
878
  if (n && se < 0) {
@@ -895,7 +895,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
895
895
  return o.map((r, a) => e + t * a + n);
896
896
  }, ue = l.map((e, t) => G.value.top + X.value * t + X.value * B.value.style.chart.bars.gapRatio / 4), de = l.map((t, r) => {
897
897
  let a = B.value.style.chart.bars.distributed ? (t || 0) / Pr.value[r] : (t || 0) / u, o, s;
898
- return t > 0 ? (s = d * a, o = p - s - e[r], e[r] += s) : (s = d * a, o = p + n[r], n[r] += Math.abs(s)), o;
898
+ return t > 0 ? (s = d * a, o = ee - s - e[r], e[r] += s) : (s = d * a, o = ee + n[r], n[r] += Math.abs(s)), o;
899
899
  }), fe = ({ minimapH: e }) => {
900
900
  if (B.value.style.chart.bars.distributed) return o.map((t, n) => {
901
901
  let r = Math.abs(Number(t) || 0), a = Math.abs(Ir.value?.[n] || 0) || 1e-9;
@@ -908,7 +908,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
908
908
  });
909
909
  }, pe = l.map((e, n) => {
910
910
  let a = B.value.style.chart.bars.distributed ? (e || 0) / Pr.value[n] : (e || 0) / u, o, s;
911
- return e > 0 ? (s = f * a, o = ee + t[n], t[n] += s) : (s = f * a, o = ee - Math.abs(s) - r[n], r[n] += Math.abs(s)), o;
911
+ return e > 0 ? (s = f * a, o = te + t[n], t[n] += s) : (s = f * a, o = te - Math.abs(s) - r[n], r[n] += Math.abs(s)), o;
912
912
  }), me = l.map((e, t) => {
913
913
  let n = B.value.style.chart.bars.distributed ? (e || 0) / Pr.value[t] : (e || 0) / u;
914
914
  return e > 0 ? d * n : d * Math.abs(n);
@@ -924,7 +924,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
924
924
  ...a,
925
925
  proportions: l.map((e, t) => B.value.style.chart.bars.distributed ? (e || 0) / Pr.value[t] : (e || 0) / _e),
926
926
  series: l,
927
- signedSeries: te,
927
+ signedSeries: ne,
928
928
  rectKeys: re,
929
929
  minimapRectKeys: ie,
930
930
  x: ae,
@@ -943,10 +943,10 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
943
943
  sign: e >= 0 ? 1 : -1
944
944
  })));
945
945
  function ri(e, t, n, r, a) {
946
- let s = a === -1 && e >= 0 ? -e : e;
947
- return m(B.value.style.chart.bars.dataLabels.formatter, s, o({
946
+ let o = a === -1 && e >= 0 ? -e : e;
947
+ return p(B.value.style.chart.bars.dataLabels.formatter, o, h({
948
948
  p: B.value.style.chart.bars.dataLabels.prefix,
949
- v: s,
949
+ v: o,
950
950
  s: B.value.style.chart.bars.dataLabels.suffix,
951
951
  r: B.value.style.chart.bars.dataLabels.rounding
952
952
  }), {
@@ -956,7 +956,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
956
956
  });
957
957
  }
958
958
  function ii(e, t, n, r) {
959
- return m(B.value.style.chart.bars.dataLabels.formatter, e, o({
959
+ return p(B.value.style.chart.bars.dataLabels.formatter, e, h({
960
960
  v: isNaN(e) ? 0 : e,
961
961
  s: "%",
962
962
  r: B.value.style.chart.bars.dataLabels.rounding
@@ -1034,8 +1034,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1034
1034
  config: B.value,
1035
1035
  series: $.value
1036
1036
  };
1037
- let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), s = r.map((e) => h(e.value)).reduce((e, t) => e + t, 0);
1038
- if (ne(n) && ie(() => n({
1037
+ let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), o = r.map((e) => m(e.value)).reduce((e, t) => e + t, 0);
1038
+ if (ue(n) && ae(() => n({
1039
1039
  seriesIndex: e,
1040
1040
  datapoint: r,
1041
1041
  series: $.value,
@@ -1047,39 +1047,39 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1047
1047
  config: B.value
1048
1048
  });
1049
1049
  else {
1050
- let { showValue: t, showTotal: n, totalTranslation: c, showPercentage: l, borderColor: u, roundingValue: d, roundingPercentage: f } = B.value.style.chart.tooltip, p = "", ee = li(e);
1051
- ee && (p += `<div style="width:100%;text-align:center;border-bottom:1px solid ${u};padding-bottom:6px;margin-bottom:3px;">${ee}</div>`), n && (p += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
1052
- <span>${c}:</span>
1050
+ let { showValue: t, showTotal: n, totalTranslation: s, showPercentage: c, borderColor: l, roundingValue: u, roundingPercentage: d } = B.value.style.chart.tooltip, f = "", ee = li(e);
1051
+ ee && (f += `<div style="width:100%;text-align:center;border-bottom:1px solid ${l};padding-bottom:6px;margin-bottom:3px;">${ee}</div>`), n && (f += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
1052
+ <span>${s}:</span>
1053
1053
  <span>
1054
- ${m(B.value.style.chart.bars.dataLabels.formatter, s, o({
1054
+ ${p(B.value.style.chart.bars.dataLabels.formatter, o, h({
1055
1055
  p: B.value.style.chart.bars.dataLabels.prefix,
1056
- v: s,
1056
+ v: o,
1057
1057
  s: B.value.style.chart.bars.dataLabels.suffix,
1058
- r: d
1058
+ r: u
1059
1059
  }), { datapoint: {
1060
- name: c,
1061
- value: s
1060
+ name: s,
1061
+ value: o
1062
1062
  } })}
1063
1063
  </span>
1064
1064
  </div>`);
1065
- let te = [t && l ? "(" : "", t && l ? ")" : ""];
1065
+ let te = [t && c ? "(" : "", t && c ? ")" : ""];
1066
1066
  r.reverse().forEach((e) => {
1067
- p += `
1067
+ f += `
1068
1068
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
1069
1069
  <svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${B.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color}"/>${ln.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${I.value}_${e.absoluteIndex})"/>` : ""}</svg>
1070
- ${e.name}${t || l ? ":" : ""} ${t ? m(B.value.style.chart.bars.dataLabels.formatter, e.value, o({
1070
+ ${e.name}${t || c ? ":" : ""} ${t ? p(B.value.style.chart.bars.dataLabels.formatter, e.value, h({
1071
1071
  p: B.value.style.chart.bars.dataLabels.prefix,
1072
1072
  v: e.value,
1073
1073
  s: B.value.style.chart.bars.dataLabels.suffix,
1074
- r: d
1075
- }, { datapoint: e })) : ""} ${te[0]}${l ? o({
1074
+ r: u
1075
+ }, { datapoint: e })) : ""} ${te[0]}${c ? h({
1076
1076
  v: isNaN(e.value / a) ? 0 : Math.abs(e.value) / a * 100,
1077
1077
  s: "%",
1078
- r: f
1078
+ r: d
1079
1079
  }) : ""}${te[1]}
1080
1080
  </div>
1081
1081
  `;
1082
- }), pn.value = `<div>${p}</div>`;
1082
+ }), pn.value = `<div>${f}</div>`;
1083
1083
  }
1084
1084
  }
1085
1085
  let di = _(() => U.value.width), fi = _(() => U.value.height);
@@ -1151,8 +1151,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1151
1151
  [B.value.style.chart.title.text],
1152
1152
  [B.value.style.chart.title.subtitle.text],
1153
1153
  [""]
1154
- ], n = ["", ...vi.value.head.map((e) => e.label)], r = vi.value.body, a = l(t.concat([n]).concat(r));
1155
- e ? e(a) : c({
1154
+ ], n = ["", ...vi.value.head.map((e) => e.label)], r = vi.value.body, a = de(t.concat([n]).concat(r));
1155
+ e ? e(a) : ee({
1156
1156
  csvContent: a,
1157
1157
  title: B.value.style.chart.title.text || "vue-ui-stackbar"
1158
1158
  });
@@ -1436,9 +1436,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1436
1436
  }
1437
1437
  function ia(e) {
1438
1438
  if (!Number.isFinite(e)) return;
1439
- let t, r;
1440
- B.value.orientation === "vertical" ? (t = G.value.left + e * X.value + X.value / 2, r = G.value.top + G.value.height / 2) : (t = G.value.left + G.value.width / 2, r = G.value.top + e * X.value + X.value / 2);
1441
- let a = n(t, r, $n.value);
1439
+ let t, n;
1440
+ B.value.orientation === "vertical" ? (t = G.value.left + e * X.value + X.value / 2, n = G.value.top + G.value.height / 2) : (t = G.value.left + G.value.width / 2, n = G.value.top + e * X.value + X.value / 2);
1441
+ let a = r(t, n, $n.value);
1442
1442
  a && (zn.value = a);
1443
1443
  }
1444
1444
  let aa = _(() => ({
@@ -1460,7 +1460,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1460
1460
  toggleAnnotator: ki,
1461
1461
  toggleFullscreen: pi,
1462
1462
  copyAlt: $i
1463
- }), (n, a) => (E(), b("div", {
1463
+ }), (t, r) => (E(), b("div", {
1464
1464
  id: `stackbar_${I.value}`,
1465
1465
  ref_key: "stackbarChart",
1466
1466
  ref: F,
@@ -1500,12 +1500,12 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1500
1500
  isCursorPointer: V.value,
1501
1501
  onClose: ki
1502
1502
  }, {
1503
- "annotator-action-close": M(() => [k(n.$slots, "annotator-action-close", {}, void 0, !0)]),
1504
- "annotator-action-color": M(({ color: e }) => [k(n.$slots, "annotator-action-color", w(C({ color: e })), void 0, !0)]),
1505
- "annotator-action-draw": M(({ mode: e }) => [k(n.$slots, "annotator-action-draw", w(C({ mode: e })), void 0, !0)]),
1506
- "annotator-action-undo": M(({ disabled: e }) => [k(n.$slots, "annotator-action-undo", w(C({ disabled: e })), void 0, !0)]),
1507
- "annotator-action-redo": M(({ disabled: e }) => [k(n.$slots, "annotator-action-redo", w(C({ disabled: e })), void 0, !0)]),
1508
- "annotator-action-delete": M(({ disabled: e }) => [k(n.$slots, "annotator-action-delete", w(C({ disabled: e })), void 0, !0)]),
1503
+ "annotator-action-close": M(() => [k(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1504
+ "annotator-action-color": M(({ color: e }) => [k(t.$slots, "annotator-action-color", w(C({ color: e })), void 0, !0)]),
1505
+ "annotator-action-draw": M(({ mode: e }) => [k(t.$slots, "annotator-action-draw", w(C({ mode: e })), void 0, !0)]),
1506
+ "annotator-action-undo": M(({ disabled: e }) => [k(t.$slots, "annotator-action-undo", w(C({ disabled: e })), void 0, !0)]),
1507
+ "annotator-action-redo": M(({ disabled: e }) => [k(t.$slots, "annotator-action-redo", w(C({ disabled: e })), void 0, !0)]),
1508
+ "annotator-action-delete": M(({ disabled: e }) => [k(t.$slots, "annotator-action-delete", w(C({ disabled: e })), void 0, !0)]),
1509
1509
  _: 3
1510
1510
  }, 8, [
1511
1511
  "svgRef",
@@ -1514,7 +1514,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1514
1514
  "active",
1515
1515
  "isCursorPointer"
1516
1516
  ])) : y("", !0),
1517
- k(n.$slots, "userConfig", {}, void 0, !0),
1517
+ k(t.$slots, "userConfig", {}, void 0, !0),
1518
1518
  B.value.style.chart.title.text ? (E(), b("div", {
1519
1519
  key: 2,
1520
1520
  ref_key: "chartTitle",
@@ -1575,78 +1575,78 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1575
1575
  onCopyAlt: $i,
1576
1576
  style: T({ visibility: j(Qn) ? j(Xn) ? "visible" : "hidden" : "visible" })
1577
1577
  }, Re({ _: 2 }, [
1578
- n.$slots.menuIcon ? {
1578
+ t.$slots.menuIcon ? {
1579
1579
  name: "menuIcon",
1580
- fn: M(({ isOpen: e, color: t }) => [k(n.$slots, "menuIcon", w(C({
1580
+ fn: M(({ isOpen: e, color: n }) => [k(t.$slots, "menuIcon", w(C({
1581
1581
  isOpen: e,
1582
- color: t
1582
+ color: n
1583
1583
  })), void 0, !0)]),
1584
1584
  key: "0"
1585
1585
  } : void 0,
1586
- n.$slots.optionTooltip ? {
1586
+ t.$slots.optionTooltip ? {
1587
1587
  name: "optionTooltip",
1588
- fn: M(() => [k(n.$slots, "optionTooltip", {}, void 0, !0)]),
1588
+ fn: M(() => [k(t.$slots, "optionTooltip", {}, void 0, !0)]),
1589
1589
  key: "1"
1590
1590
  } : void 0,
1591
- n.$slots.optionPdf ? {
1591
+ t.$slots.optionPdf ? {
1592
1592
  name: "optionPdf",
1593
- fn: M(() => [k(n.$slots, "optionPdf", {}, void 0, !0)]),
1593
+ fn: M(() => [k(t.$slots, "optionPdf", {}, void 0, !0)]),
1594
1594
  key: "2"
1595
1595
  } : void 0,
1596
- n.$slots.optionCsv ? {
1596
+ t.$slots.optionCsv ? {
1597
1597
  name: "optionCsv",
1598
- fn: M(() => [k(n.$slots, "optionCsv", {}, void 0, !0)]),
1598
+ fn: M(() => [k(t.$slots, "optionCsv", {}, void 0, !0)]),
1599
1599
  key: "3"
1600
1600
  } : void 0,
1601
- n.$slots.optionImg ? {
1601
+ t.$slots.optionImg ? {
1602
1602
  name: "optionImg",
1603
- fn: M(() => [k(n.$slots, "optionImg", {}, void 0, !0)]),
1603
+ fn: M(() => [k(t.$slots, "optionImg", {}, void 0, !0)]),
1604
1604
  key: "4"
1605
1605
  } : void 0,
1606
- n.$slots.optionSvg ? {
1606
+ t.$slots.optionSvg ? {
1607
1607
  name: "optionSvg",
1608
- fn: M(() => [k(n.$slots, "optionSvg", {}, void 0, !0)]),
1608
+ fn: M(() => [k(t.$slots, "optionSvg", {}, void 0, !0)]),
1609
1609
  key: "5"
1610
1610
  } : void 0,
1611
- n.$slots.optionTable ? {
1611
+ t.$slots.optionTable ? {
1612
1612
  name: "optionTable",
1613
- fn: M(() => [k(n.$slots, "optionTable", {}, void 0, !0)]),
1613
+ fn: M(() => [k(t.$slots, "optionTable", {}, void 0, !0)]),
1614
1614
  key: "6"
1615
1615
  } : void 0,
1616
- n.$slots.optionLabels ? {
1616
+ t.$slots.optionLabels ? {
1617
1617
  name: "optionLabels",
1618
- fn: M(() => [k(n.$slots, "optionLabels", {}, void 0, !0)]),
1618
+ fn: M(() => [k(t.$slots, "optionLabels", {}, void 0, !0)]),
1619
1619
  key: "7"
1620
1620
  } : void 0,
1621
- n.$slots.optionFullscreen ? {
1621
+ t.$slots.optionFullscreen ? {
1622
1622
  name: "optionFullscreen",
1623
- fn: M(({ toggleFullscreen: e, isFullscreen: t }) => [k(n.$slots, "optionFullscreen", w(C({
1623
+ fn: M(({ toggleFullscreen: e, isFullscreen: n }) => [k(t.$slots, "optionFullscreen", w(C({
1624
1624
  toggleFullscreen: e,
1625
- isFullscreen: t
1625
+ isFullscreen: n
1626
1626
  })), void 0, !0)]),
1627
1627
  key: "8"
1628
1628
  } : void 0,
1629
- n.$slots.optionAnnotator ? {
1629
+ t.$slots.optionAnnotator ? {
1630
1630
  name: "optionAnnotator",
1631
- fn: M(({ toggleAnnotator: e, isAnnotator: t }) => [k(n.$slots, "optionAnnotator", w(C({
1631
+ fn: M(({ toggleAnnotator: e, isAnnotator: n }) => [k(t.$slots, "optionAnnotator", w(C({
1632
1632
  toggleAnnotator: e,
1633
- isAnnotator: t
1633
+ isAnnotator: n
1634
1634
  })), void 0, !0)]),
1635
1635
  key: "9"
1636
1636
  } : void 0,
1637
- n.$slots.optionAltCopy ? {
1637
+ t.$slots.optionAltCopy ? {
1638
1638
  name: "optionAltCopy",
1639
- fn: M(({ altCopy: e }) => [k(n.$slots, "optionAltCopy", w(C({ altCopy: e })), void 0, !0)]),
1639
+ fn: M(({ altCopy: e }) => [k(t.$slots, "optionAltCopy", w(C({ altCopy: e })), void 0, !0)]),
1640
1640
  key: "10"
1641
1641
  } : void 0,
1642
- n.$slots["custom-menu-before"] ? {
1642
+ t.$slots["custom-menu-before"] ? {
1643
1643
  name: "custom-menu-before",
1644
- fn: M(() => [k(n.$slots, "custom-menu-before", {}, void 0, !0)]),
1644
+ fn: M(() => [k(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1645
1645
  key: "11"
1646
1646
  } : void 0,
1647
- n.$slots["custom-menu-after"] ? {
1647
+ t.$slots["custom-menu-after"] ? {
1648
1648
  name: "custom-menu-after",
1649
- fn: M(() => [k(n.$slots, "custom-menu-after", {}, void 0, !0)]),
1649
+ fn: M(() => [k(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1650
1650
  key: "12"
1651
1651
  } : void 0
1652
1652
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : y("", !0),
@@ -1664,14 +1664,14 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1664
1664
  onKeydown: ra
1665
1665
  }, [
1666
1666
  Be(j(rn)),
1667
- n.$slots["chart-background"] ? (E(), b("foreignObject", {
1667
+ t.$slots["chart-background"] ? (E(), b("foreignObject", {
1668
1668
  key: 0,
1669
1669
  x: G.value.left,
1670
1670
  y: G.value.top,
1671
1671
  width: G.value.width <= 0 ? 10 : G.value.width,
1672
1672
  height: G.value.height <= 0 ? 10 : G.value.height,
1673
1673
  style: { pointerEvents: "none" }
1674
- }, [k(n.$slots, "chart-background", {}, void 0, !0)], 8, it)) : y("", !0),
1674
+ }, [k(t.$slots, "chart-background", {}, void 0, !0)], 8, it)) : y("", !0),
1675
1675
  B.value.style.chart.bars.gradient.show ? (E(), b("defs", at, [(E(!0), b(g, null, O($.value, (e, t) => (E(), b("linearGradient", {
1676
1676
  id: `gradient_${e.id}`,
1677
1677
  x1: "0%",
@@ -1685,7 +1685,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1685
1685
  }, null, 8, st),
1686
1686
  x("stop", {
1687
1687
  offset: "61.8%",
1688
- "stop-color": j(r)(e.color, B.value.style.chart.bars.gradient.intensity / 100)
1688
+ "stop-color": j(c)(e.color, B.value.style.chart.bars.gradient.intensity / 100)
1689
1689
  }, null, 8, ct),
1690
1690
  x("stop", {
1691
1691
  offset: "100%",
@@ -1750,13 +1750,13 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1750
1750
  "stroke-dasharray": B.value.style.chart.grid.y.linesStrokeDasharray,
1751
1751
  "stroke-linecap": "round"
1752
1752
  }, null, 8, mt))), 256)) : y("", !0),
1753
- (E(!0), b(g, null, O($.value, (e, t) => (E(), b("g", { key: `stackbar-group-${e.datasetKey}` }, [n.$slots.pattern ? (E(), b("defs", ht, [k(n.$slots, "pattern", Ve({ ref_for: !0 }, {
1753
+ (E(!0), b(g, null, O($.value, (e, n) => (E(), b("g", { key: `stackbar-group-${e.datasetKey}` }, [t.$slots.pattern ? (E(), b("defs", ht, [k(t.$slots, "pattern", Ve({ ref_for: !0 }, {
1754
1754
  seriesIndex: e.absoluteIndex,
1755
1755
  patternId: `pattern_${I.value}_${e.absoluteIndex}`
1756
1756
  }), void 0, !0)])) : y("", !0), B.value.orientation === "vertical" ? (E(), b(g, { key: 1 }, [(E(!0), b(g, null, O(e.x, (t, n) => (E(), b("rect", {
1757
1757
  key: `stackbar-rect-${e.rectKeys[n]}`,
1758
1758
  x: t,
1759
- y: j(h)(e.y[n]),
1759
+ y: j(m)(e.y[n]),
1760
1760
  height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
1761
1761
  rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
1762
1762
  width: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
@@ -1769,10 +1769,10 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1769
1769
  "vue-data-ui-bar-animated": B.value.useCssAnimation,
1770
1770
  "vue-data-ui-bar-transition": bn.value
1771
1771
  })
1772
- }, null, 10, gt))), 128)), n.$slots.pattern ? (E(), b("g", _t, [(E(!0), b(g, null, O(e.x, (t, n) => (E(), b("rect", {
1772
+ }, null, 10, gt))), 128)), t.$slots.pattern ? (E(), b("g", _t, [(E(!0), b(g, null, O(e.x, (t, n) => (E(), b("rect", {
1773
1773
  key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
1774
1774
  x: t,
1775
- y: j(h)(e.y[n]),
1775
+ y: j(m)(e.y[n]),
1776
1776
  height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
1777
1777
  rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
1778
1778
  width: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
@@ -1787,9 +1787,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1787
1787
  })
1788
1788
  }, null, 10, vt))), 128))])) : y("", !0)], 64)) : (E(), b(g, { key: 2 }, [(E(!0), b(g, null, O(e.horizontal_x, (t, n) => (E(), b("rect", {
1789
1789
  key: `stackbar-rect-${e.rectKeys[n]}`,
1790
- x: j(h)(t, G.value.left),
1790
+ x: j(m)(t, G.value.left),
1791
1791
  y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
1792
- width: j(h)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1792
+ width: j(m)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1793
1793
  rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
1794
1794
  height: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
1795
1795
  fill: B.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color,
@@ -1801,11 +1801,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1801
1801
  "vue-data-ui-bar-animated": B.value.useCssAnimation,
1802
1802
  "vue-data-ui-bar-transition": bn.value
1803
1803
  })
1804
- }, null, 10, yt))), 128)), n.$slots.pattern ? (E(), b("g", bt, [(E(!0), b(g, null, O(e.horizontal_x, (t, n) => (E(), b("rect", {
1804
+ }, null, 10, yt))), 128)), t.$slots.pattern ? (E(), b("g", bt, [(E(!0), b(g, null, O(e.horizontal_x, (t, n) => (E(), b("rect", {
1805
1805
  key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
1806
- x: j(h)(t, G.value.left),
1806
+ x: j(m)(t, G.value.left),
1807
1807
  y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
1808
- width: j(h)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1808
+ width: j(m)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1809
1809
  rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
1810
1810
  height: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
1811
1811
  fill: `url(#pattern_${I.value}_${e.absoluteIndex})`,
@@ -1921,7 +1921,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1921
1921
  "font-weight": B.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1922
1922
  fill: B.value.style.chart.grid.y.axisLabels.color,
1923
1923
  "text-anchor": W.value ? "start" : "end"
1924
- }, A(j(m)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, j(o)({
1924
+ }, A(j(p)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, j(h)({
1925
1925
  p: B.value.style.chart.bars.dataLabels.prefix,
1926
1926
  v: e.value,
1927
1927
  s: B.value.style.chart.bars.dataLabels.suffix,
@@ -1946,7 +1946,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1946
1946
  fill: B.value.style.chart.grid.y.axisLabels.color,
1947
1947
  "text-anchor": B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1948
1948
  transform: `translate(${e.horizontal_x}, ${G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`
1949
- }, A(j(m)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, j(o)({
1949
+ }, A(j(p)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, j(h)({
1950
1950
  p: B.value.style.chart.bars.dataLabels.prefix,
1951
1951
  v: e.value,
1952
1952
  s: B.value.style.chart.bars.dataLabels.suffix,
@@ -1956,55 +1956,55 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
1956
1956
  key: 15,
1957
1957
  ref_key: "timeLabelsEls",
1958
1958
  ref: Mn
1959
- }, [n.$slots["time-label"] ? (E(), b("g", Pt, [(E(!0), b(g, null, O(qr.value, (e, t) => (E(), b("g", null, [k(n.$slots, "time-label", Ve({ ref_for: !0 }, {
1960
- x: G.value.left + X.value * t + X.value / 2,
1959
+ }, [t.$slots["time-label"] ? (E(), b("g", Pt, [(E(!0), b(g, null, O(qr.value, (e, n) => (E(), b("g", null, [k(t.$slots, "time-label", Ve({ ref_for: !0 }, {
1960
+ x: G.value.left + X.value * n + X.value / 2,
1961
1961
  y: G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY,
1962
1962
  fontSize: B.value.style.chart.grid.x.timeLabels.fontSize,
1963
1963
  fill: B.value.style.chart.grid.x.timeLabels.color,
1964
- transform: `translate(${G.value.left + X.value * t + X.value / 2}, ${G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`,
1964
+ transform: `translate(${G.value.left + X.value * n + X.value / 2}, ${G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`,
1965
1965
  absoluteIndex: e.absoluteIndex,
1966
1966
  content: e.text,
1967
1967
  textAnchor: B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1968
1968
  show: !0
1969
- }), void 0, !0)]))), 256))])) : (E(), b("g", Ft, [(E(!0), b(g, null, O(qr.value, (e, n) => (E(), b("g", null, [String(e.text).includes("\n") ? (E(), b("text", {
1970
- key: n + "-multi",
1969
+ }), void 0, !0)]))), 256))])) : (E(), b("g", Ft, [(E(!0), b(g, null, O(qr.value, (e, t) => (E(), b("g", null, [String(e.text).includes("\n") ? (E(), b("text", {
1970
+ key: t + "-multi",
1971
1971
  "text-anchor": B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1972
1972
  "font-size": B.value.style.chart.grid.x.timeLabels.fontSize,
1973
1973
  fill: B.value.style.chart.grid.x.timeLabels.color,
1974
1974
  transform: `
1975
1975
  translate(
1976
- ${G.value.left + X.value * n + X.value / 2},
1976
+ ${G.value.left + X.value * t + X.value / 2},
1977
1977
  ${G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}
1978
1978
  ),
1979
1979
  rotate(${B.value.style.chart.grid.x.timeLabels.rotation})
1980
1980
  `,
1981
1981
  style: T({ cursor: V.value ? "pointer" : "default" }),
1982
- innerHTML: j(t)({
1982
+ innerHTML: j(n)({
1983
1983
  content: String(e.text),
1984
1984
  fontSize: B.value.style.chart.grid.x.timeLabels.fontSize,
1985
1985
  fill: B.value.style.chart.grid.x.timeLabels.color,
1986
1986
  x: 0,
1987
1987
  y: 0
1988
1988
  }),
1989
- onClick: () => Ai(e, n)
1989
+ onClick: () => Ai(e, t)
1990
1990
  }, null, 12, Lt)) : (E(), b("text", {
1991
1991
  class: "vue-data-ui-time-label",
1992
- key: n,
1992
+ key: t,
1993
1993
  "text-anchor": B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1994
1994
  "font-size": B.value.style.chart.grid.x.timeLabels.fontSize,
1995
1995
  "font-weight": B.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
1996
1996
  fill: B.value.style.chart.grid.x.timeLabels.color,
1997
- transform: `translate(${G.value.left + X.value * n + X.value / 2}, ${G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`,
1997
+ transform: `translate(${G.value.left + X.value * t + X.value / 2}, ${G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`,
1998
1998
  style: T({ cursor: V.value ? "pointer" : "default" }),
1999
- onClick: () => Ai(e, n)
1999
+ onClick: () => Ai(e, t)
2000
2000
  }, A(e.text), 13, It))]))), 256))]))], 512)) : y("", !0),
2001
2001
  B.value.style.chart.grid.x.timeLabels.show && B.value.orientation === "horizontal" ? (E(), b("g", {
2002
2002
  key: 16,
2003
2003
  ref_key: "timeLabelsEls",
2004
2004
  ref: Mn
2005
- }, [n.$slots["time-label"] ? (E(), b("g", Rt, [(E(!0), b(g, null, O(Q.value, (e, t) => (E(), b("g", null, [k(n.$slots, "time-label", Ve({ ref_for: !0 }, {
2005
+ }, [t.$slots["time-label"] ? (E(), b("g", Rt, [(E(!0), b(g, null, O(Q.value, (e, n) => (E(), b("g", null, [k(t.$slots, "time-label", Ve({ ref_for: !0 }, {
2006
2006
  x: G.value.left - 8,
2007
- y: G.value.top + X.value * t + X.value / 2 + B.value.style.chart.grid.y.axisLabels.fontSize / 3,
2007
+ y: G.value.top + X.value * n + X.value / 2 + B.value.style.chart.grid.y.axisLabels.fontSize / 3,
2008
2008
  fontSize: B.value.style.chart.grid.x.timeLabels.fontSize,
2009
2009
  fill: B.value.style.chart.grid.x.timeLabels.color,
2010
2010
  transform: null,
@@ -2022,7 +2022,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2022
2022
  y: G.value.top + X.value * t + X.value / 2 + B.value.style.chart.grid.y.axisLabels.fontSize / 3,
2023
2023
  style: T({ cursor: V.value ? "pointer" : "default" }),
2024
2024
  onClick: () => Ai(e, t),
2025
- innerHTML: j(d)({
2025
+ innerHTML: j(l)({
2026
2026
  content: String(e.text),
2027
2027
  fontSize: B.value.style.chart.grid.y.axisLabels.fontSize,
2028
2028
  fill: B.value.style.chart.grid.y.axisLabels.color,
@@ -2066,7 +2066,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2066
2066
  "data-start": J.value.start,
2067
2067
  "data-end": J.value.end
2068
2068
  }), null, 16, Wt)) : y("", !0),
2069
- k(n.$slots, "svg", { svg: {
2069
+ k(t.$slots, "svg", { svg: {
2070
2070
  drawingArea: G.value,
2071
2071
  slicer: J.value,
2072
2072
  data: $.value,
@@ -2074,11 +2074,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2074
2074
  isPrintingSvg: On.value,
2075
2075
  barWidth: X.value
2076
2076
  } }, void 0, !0)
2077
- ], 46, rt)), n.$slots.hint ? (E(), b("div", Gt, [k(n.$slots, "hint", w(C({
2077
+ ], 46, rt)), t.$slots.hint ? (E(), b("div", Gt, [k(t.$slots, "hint", w(C({
2078
2078
  hint: B.value.a11y.translations.keyboardNavigation,
2079
2079
  isVisible: ea.value
2080
2080
  })), void 0, !0)])) : y("", !0)]),
2081
- n.$slots.watermark ? (E(), b("div", Kt, [k(n.$slots, "watermark", w(C({ isPrinting: j(ar) || j(or) || Dn.value || On.value })), void 0, !0)])) : y("", !0),
2081
+ t.$slots.watermark ? (E(), b("div", Kt, [k(t.$slots, "watermark", w(C({ isPrinting: j(ar) || j(or) || Dn.value || On.value })), void 0, !0)])) : y("", !0),
2082
2082
  B.value.style.chart.zoom.show && un.value && Wi.value && q.value > 6 ? (E(), v(Ae, {
2083
2083
  key: 5,
2084
2084
  ref_key: "chartSlicer",
@@ -2136,11 +2136,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2136
2136
  "onUpdate:end": Ji,
2137
2137
  "onUpdate:start": qi,
2138
2138
  onTrapMouse: Dr,
2139
- onReset: a[0] ||= () => Nr({ force: !0 }),
2140
- onFutureEnd: a[1] ||= (e) => kr("end", e),
2141
- onFutureStart: a[2] ||= (e) => kr("start", e)
2139
+ onReset: r[0] ||= () => Nr({ force: !0 }),
2140
+ onFutureEnd: r[1] ||= (e) => kr("end", e),
2141
+ onFutureStart: r[2] ||= (e) => kr("start", e)
2142
2142
  }, {
2143
- "reset-action": M(({ reset: e }) => [k(n.$slots, "reset-action", w(C({ reset: e })), void 0, !0)]),
2143
+ "reset-action": M(({ reset: e }) => [k(t.$slots, "reset-action", w(C({ reset: e })), void 0, !0)]),
2144
2144
  slotMap: M(({ width: e, height: t, unitW: n }) => [(E(!0), b(g, null, O($.value, (e) => (E(), b("g", { key: e.id }, [(E(!0), b(g, null, O(e.xMinimap({
2145
2145
  left: 0,
2146
2146
  unitW: n
@@ -2176,7 +2176,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2176
2176
  parent: F.value,
2177
2177
  content: pn.value,
2178
2178
  isFullscreen: yn.value,
2179
- isCustom: j(ne)(B.value.style.chart.tooltip.customFormat),
2179
+ isCustom: j(ue)(B.value.style.chart.tooltip.customFormat),
2180
2180
  smooth: B.value.style.chart.tooltip.smooth,
2181
2181
  backdropFilter: B.value.style.chart.tooltip.backdropFilter,
2182
2182
  smoothForce: B.value.style.chart.tooltip.smoothForce,
@@ -2184,9 +2184,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2184
2184
  isA11yMode: Bn.value === "keyboard",
2185
2185
  a11yPosition: zn.value
2186
2186
  }, {
2187
- "tooltip-before": M(() => [k(n.$slots, "tooltip-before", w(C({ ...fn.value })), void 0, !0)]),
2188
- tooltip: M(() => [k(n.$slots, "tooltip", w(C({ ...fn.value })), void 0, !0)]),
2189
- "tooltip-after": M(() => [k(n.$slots, "tooltip-after", w(C({ ...fn.value })), void 0, !0)]),
2187
+ "tooltip-before": M(() => [k(t.$slots, "tooltip-before", w(C({ ...fn.value })), void 0, !0)]),
2188
+ tooltip: M(() => [k(t.$slots, "tooltip", w(C({ ...fn.value })), void 0, !0)]),
2189
+ "tooltip-after": M(() => [k(t.$slots, "tooltip-after", w(C({ ...fn.value })), void 0, !0)]),
2190
2190
  _: 3
2191
2191
  }, 8, [
2192
2192
  "teleportTo",
@@ -2213,18 +2213,18 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2213
2213
  "a11yPosition"
2214
2214
  ]),
2215
2215
  x("div", { id: `legend-bottom-${I.value}` }, null, 8, Jt),
2216
- wn.value && (B.value.style.chart.legend.show || n.$slots.legend) ? (E(), v(Le, {
2216
+ wn.value && (B.value.style.chart.legend.show || t.$slots.legend) ? (E(), v(Le, {
2217
2217
  key: 6,
2218
2218
  to: B.value.style.chart.legend.position === "top" ? `#legend-top-${I.value}` : `#legend-bottom-${I.value}`
2219
2219
  }, [x("div", {
2220
2220
  ref_key: "chartLegend",
2221
2221
  ref: gn
2222
- }, [k(n.$slots, "legend", { legend: Ei.value }, () => [B.value.style.chart.legend.show ? (E(), v(Fe, {
2222
+ }, [k(t.$slots, "legend", { legend: Ei.value }, () => [B.value.style.chart.legend.show ? (E(), v(Fe, {
2223
2223
  key: 0,
2224
2224
  legendSet: Ei.value,
2225
2225
  config: Di.value,
2226
2226
  isCursorPointer: V.value,
2227
- onClickMarker: a[3] ||= ({ legend: e }) => e.segregate()
2227
+ onClickMarker: r[3] ||= ({ legend: e }) => e.segregate()
2228
2228
  }, Re({
2229
2229
  item: M(({ legend: e }) => [j(qn) ? y("", !0) : (E(), b("div", {
2230
2230
  key: 0,
@@ -2247,7 +2247,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2247
2247
  "isCursorPointer"
2248
2248
  ])) : y("", !0)]),
2249
2249
  _: 2
2250
- }, [n.$slots.pattern ? {
2250
+ }, [t.$slots.pattern ? {
2251
2251
  name: "legend-pattern",
2252
2252
  fn: M(({ legend: e, index: t }) => [Be(Ee, {
2253
2253
  shape: e.shape,
@@ -2265,12 +2265,12 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2265
2265
  "config",
2266
2266
  "isCursorPointer"
2267
2267
  ])) : y("", !0)], !0)], 512)], 8, ["to"])) : y("", !0),
2268
- n.$slots.source ? (E(), b("div", {
2268
+ t.$slots.source ? (E(), b("div", {
2269
2269
  key: 7,
2270
2270
  ref_key: "source",
2271
2271
  ref: vn,
2272
2272
  dir: "auto"
2273
- }, [k(n.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
2273
+ }, [k(t.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
2274
2274
  un.value && B.value.userOptions.buttons.table ? (E(), v(Ke(Pi.value.component), Ve({ key: 8 }, Pi.value.props, {
2275
2275
  ref_key: "tableUnit",
2276
2276
  ref: Tn,
@@ -2287,7 +2287,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2287
2287
  onClose: Fi
2288
2288
  }, {
2289
2289
  th: M(({ th: e }) => [x("div", { innerHTML: e }, null, 8, Xt)]),
2290
- td: M(({ td: e }) => [ze(A(isNaN(Number(e)) ? e : j(o)({
2290
+ td: M(({ td: e }) => [ze(A(isNaN(Number(e)) ? e : j(h)({
2291
2291
  p: B.value.style.chart.bars.dataLabels.prefix,
2292
2292
  v: e,
2293
2293
  s: B.value.style.chart.bars.dataLabels.suffix,
@@ -2313,7 +2313,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2313
2313
  fn: M(() => [x("button", {
2314
2314
  tabindex: "0",
2315
2315
  class: "vue-ui-user-options-button",
2316
- onClick: a[4] ||= (e) => yi(B.value.userOptions.callbacks.csv),
2316
+ onClick: r[4] ||= (e) => yi(B.value.userOptions.callbacks.csv),
2317
2317
  style: T({ cursor: V.value ? "pointer" : "default" })
2318
2318
  }, [Be(j(Qt), {
2319
2319
  name: "fileCsv",
@@ -2321,7 +2321,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
2321
2321
  }, null, 8, ["stroke"])], 4)]),
2322
2322
  key: "1"
2323
2323
  } : void 0]), 1040)) : y("", !0),
2324
- k(n.$slots, "skeleton", {}, () => [j(qn) ? (E(), v(ve, { key: 0 })) : y("", !0)], !0)
2324
+ k(t.$slots, "skeleton", {}, () => [j(qn) ? (E(), v(ve, { key: 0 })) : y("", !0)], !0)
2325
2325
  ], 46, $e));
2326
2326
  }
2327
2327
  }, [["__scopeId", "data-v-23fc8c86"]]);