vue-data-ui 3.23.0 → 3.23.2

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 (206) hide show
  1. package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  3. package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
  4. package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  5. package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  6. package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
  7. package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
  8. package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
  9. package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
  11. package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
  12. package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
  13. package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
  14. package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
  15. package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
  16. package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
  17. package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
  18. package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.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/composables.js +1 -1
  90. package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
  91. package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
  92. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  93. package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
  94. package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
  95. package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
  96. package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
  97. package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
  98. package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +9 -0
  104. package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
  105. package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
  106. package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
  107. package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
  108. package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
  109. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  110. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  111. package/dist/utils.js +3 -3
  112. package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
  113. package/dist/vue-data-ui.js +74 -74
  114. package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
  115. package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
  116. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  117. package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
  118. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  119. package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
  120. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  121. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  122. package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
  123. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  124. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  125. package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
  126. package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
  127. package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
  128. package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
  129. package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
  130. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  131. package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
  132. package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
  133. package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
  134. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  135. package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
  136. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  137. package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
  138. package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
  139. package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
  140. package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
  141. package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
  142. package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
  143. package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
  144. package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
  145. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  146. package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
  147. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  148. package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
  149. package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
  150. package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
  151. package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
  152. package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
  153. package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
  154. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  155. package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
  156. package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
  157. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  158. package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
  159. package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
  160. package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
  161. package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  162. package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
  163. package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
  164. package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
  165. package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
  166. package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
  167. package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
  168. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  169. package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
  170. package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
  171. package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
  172. package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  173. package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
  174. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  175. package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
  176. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  177. package/dist/vue-ui-wheel-DrefGLos.js +871 -0
  178. package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
  179. package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
  180. package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
  181. package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
  182. package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
  183. package/package.json +4 -4
  184. package/dist/Slicer-5yIrdoJv.js +0 -1149
  185. package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
  186. package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
  187. package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
  188. package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
  189. package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
  190. package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
  191. package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
  192. package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
  193. package/dist/vue-ui-funnel-CjYosIik.js +0 -797
  194. package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
  195. package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
  196. package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
  197. package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
  198. package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
  199. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
  200. package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
  201. package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
  202. package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
  203. package/dist/vue-ui-table-rFy16bp0.js +0 -1347
  204. package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
  205. package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
  206. package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
@@ -1,14 +1,14 @@
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, Ot as o, Pt as s, S as c, X as l, Y as u, b as d, f, h as p, i as m, jt as ee, kt as te, p as ne, pt as re, q as ie, t as ae, tt as h, w as oe } from "./lib-BuMGJ_a0.js";
2
+ import { $ as t, Bt as n, D as r, Jt as i, Kt as a, Ot as o, Pt as s, S as c, X as l, Y as u, b as d, f, h as p, i as m, jt as ee, kt as te, p as ne, pt as re, q as ie, t as ae, tt as h, w as oe } from "./lib-Bttd6u5E.js";
3
3
  import { n as se } from "./useHints-Dq_w2E8B.js";
4
- import { t as ce } from "./useConfig-BilxnBNr.js";
5
- import { t as le } from "./usePrinter-BFvi4jVy.js";
4
+ import { t as ce } from "./useConfig-DlNpz6P8.js";
5
+ import { t as le } from "./usePrinter-DN5bYhTG.js";
6
6
  import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as fe } from "./useSvgExport-Ba9qBr9M.js";
8
- import { t as pe } from "./useNestedProp--NSEmhOH.js";
9
- import { t as me } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as he } from "./img-DIQG5q8T.js";
11
- import { n as ge } from "./Title-BODtwViI.js";
7
+ import { t as fe } from "./useNestedProp-vPNvh7rV.js";
8
+ import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as me } from "./useChartExport-DNiwdPmb.js";
10
+ import { t as he } from "./img-Bnokohej.js";
11
+ import { n as ge } from "./Title-BE3qg9xl.js";
12
12
  import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
13
  import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
14
14
  import { t as g } from "./DefGrad-DVBqDjhO.js";
@@ -236,7 +236,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
236
236
  },
237
237
  emits: ["selectDatapoint", "copyAlt"],
238
238
  setup(e, { expose: _e, emit: Fe }) {
239
- let en = w(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), tn = w(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), nn = w(() => import("./DataTable-D4tM9s5Y.js")), rn = w(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), an = w(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), on = w(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), sn = w(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_3d_bar: cn } = ce(), { isThemeValid: ln, warnInvalidTheme: un } = me(), F = e, dn = Fe, fn = v(() => !!F.dataset && Object.keys(F.dataset).length), I = k(ie()), L = k(null), R = k(!1), pn = k(0), mn = k(0), hn = k(null), gn = k(null), _n = k(null), vn = k(null), z = k(!1), yn = k(null), bn = k(null), xn = k(!1), Sn = k(!1), B = k(null), V = k(""), H = k(kn());
239
+ let en = w(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), tn = w(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), nn = w(() => import("./DataTable-BbKgJ5UI.js")), rn = w(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), an = w(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), on = w(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), sn = w(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_3d_bar: cn } = ce(), { isThemeValid: ln, warnInvalidTheme: un } = pe(), F = e, dn = Fe, fn = v(() => !!F.dataset && Object.keys(F.dataset).length), I = k(ie()), L = k(null), R = k(!1), pn = k(0), mn = k(0), hn = k(null), gn = k(null), _n = k(null), vn = k(null), z = k(!1), yn = k(null), bn = k(null), B = k(null), V = k(""), H = k(Dn());
240
240
  se({
241
241
  config: () => H.value,
242
242
  dataset: () => F.dataset,
@@ -261,7 +261,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
261
261
  ]
262
262
  }]
263
263
  });
264
- let Cn = v(() => H.value.userOptions.useCursorPointer), wn = v(() => i({
264
+ let xn = v(() => H.value.userOptions.useCursorPointer), Sn = v(() => i({
265
265
  defaultConfig: {
266
266
  customPalette: [
267
267
  "#808080",
@@ -284,10 +284,10 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
284
284
  })), { loading: U, FINAL_DATASET: W } = ue({
285
285
  ...je(F),
286
286
  FINAL_CONFIG: H,
287
- prepareConfig: kn,
287
+ prepareConfig: Dn,
288
288
  callback: () => {
289
289
  Promise.resolve().then(async () => {
290
- await De(), Ln();
290
+ await De(), Fn();
291
291
  });
292
292
  },
293
293
  skeletonDataset: F.config?.skeletonDataset ?? { series: [
@@ -327,20 +327,20 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
327
327
  ] },
328
328
  skeletonConfig: i({
329
329
  defaultConfig: H.value,
330
- userConfig: wn.value
330
+ userConfig: Sn.value
331
331
  })
332
- }), { userOptionsVisible: Tn, setUserOptionsVisibility: En, keepUserOptionState: Dn } = xe({ config: H.value }), { svgRef: On } = Se({ config: H.value.style.chart.title });
333
- function kn() {
334
- let e = pe({
332
+ }), { userOptionsVisible: Cn, setUserOptionsVisibility: wn, keepUserOptionState: Tn } = xe({ config: H.value }), { svgRef: En } = Se({ config: H.value.style.chart.title });
333
+ function Dn() {
334
+ let e = fe({
335
335
  userConfig: F.config,
336
336
  defaultConfig: cn
337
337
  }), t = e.theme;
338
338
  if (!t) return e;
339
339
  if (!ln.value(e)) return un(e), e;
340
- let n = pe({
340
+ let n = fe({
341
341
  userConfig: Ce[t] || F.config,
342
342
  defaultConfig: e
343
- }), r = pe({
343
+ }), r = fe({
344
344
  userConfig: F.config,
345
345
  defaultConfig: n
346
346
  });
@@ -350,20 +350,20 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
350
350
  };
351
351
  }
352
352
  Me(() => F.config, (e) => {
353
- U.value || (H.value = kn()), Tn.value = !H.value.userOptions.showOnChartHover, zn(), pn.value += 1, mn.value += 1, G.value.showTable = H.value.table.show;
353
+ U.value || (H.value = Dn()), Cn.value = !H.value.userOptions.showOnChartHover, Rn(), pn.value += 1, mn.value += 1, G.value.showTable = H.value.table.show;
354
354
  }, { deep: !0 });
355
- let { isPrinting: An, isImaging: jn, generatePdf: Mn, generateImage: Nn } = le({
355
+ let { isPrinting: On, isImaging: kn, generatePdf: An, generateImage: jn } = le({
356
356
  elementId: `3d_bar_${I.value}`,
357
357
  fileName: H.value.style.chart.title.text || "vue-ui-3d-bar",
358
358
  options: H.value.userOptions.print
359
- }), Pn = v(() => oe(H.value.customPalette)), G = k({ showTable: H.value.table.show });
359
+ }), Mn = v(() => oe(H.value.customPalette)), G = k({ showTable: H.value.table.show });
360
360
  Me(H, () => {
361
361
  G.value = { showTable: H.value.table.show };
362
362
  }, { immediate: !0 });
363
- let K = v(() => W.value.series && W.value.series.length), Fn = k(H.value.style.chart.box.dimensions.width * (K.value ? 2 : 1)), In = k(H.value.style.chart.box.dimensions.height), q = v(() => ({
364
- height: In.value,
365
- width: Fn.value,
366
- absoluteWidth: Fn.value,
363
+ let K = v(() => W.value.series && W.value.series.length), Nn = k(H.value.style.chart.box.dimensions.width * (K.value ? 2 : 1)), Pn = k(H.value.style.chart.box.dimensions.height), q = v(() => ({
364
+ height: Pn.value,
365
+ width: Nn.value,
366
+ absoluteWidth: Nn.value,
367
367
  top: H.value.style.chart.box.dimensions.top,
368
368
  bottom: H.value.style.chart.box.dimensions.bottom,
369
369
  left: H.value.style.chart.box.dimensions.left,
@@ -376,12 +376,12 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
376
376
  seriesIndex: n,
377
377
  id: ie(),
378
378
  proportion: (t.value || 0) / e,
379
- color: c(t.color) || Pn.value[n] || s[n] || s[n % s.length],
379
+ color: c(t.color) || Mn.value[n] || s[n] || s[n % s.length],
380
380
  breakdown: t.breakdown ? t.breakdown.sort((e, t) => t.value - e.value) : null
381
381
  })).sort((e, t) => t.value - e.value), n = [], r = 0;
382
382
  for (let e = 0; e < t.length; e += 1) n.push({
383
383
  ...t[e],
384
- fill: Vn(r, t[e].proportion, t[e].breakdown, t[e].color)
384
+ fill: Bn(r, t[e].proportion, t[e].breakdown, t[e].color)
385
385
  }), r += t[e].proportion;
386
386
  return n;
387
387
  }
@@ -399,7 +399,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
399
399
  tubeBottom: `M${q.value.width - q.value.right},${q.value.height - q.value.bottom - q.value.perspective} C ${q.value.width - q.value.right},${q.value.height} ${q.value.left},${q.value.height} ${q.value.left},${q.value.height - q.value.bottom - q.value.perspective}`
400
400
  };
401
401
  }), X = k(H.value.style.chart.animation.use ? 0 : W.value.percentage);
402
- function Ln() {
402
+ function Fn() {
403
403
  let e = 0, t = H.value.style.chart.animation.speed, n = .005 * H.value.style.chart.animation.acceleration;
404
404
  function r() {
405
405
  X.value += t + e, e += n, X.value < W.value.percentage ? requestAnimationFrame(r) : X.value = W.value.percentage;
@@ -407,14 +407,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
407
407
  H.value.style.chart.animation.use && (X.value = 0, r());
408
408
  }
409
409
  ke(() => {
410
- zn(), Ln();
410
+ Rn(), Fn();
411
411
  });
412
- let Rn = v(() => !!H.value.debug);
413
- function zn() {
414
- if (ee(F.dataset) ? h({
412
+ let In = v(() => H.value.debug);
413
+ function Ln() {
414
+ In.value && (ee(F.dataset) ? h({
415
415
  componentName: "VueUi3dBar",
416
416
  type: "dataset",
417
- debug: Rn.value
417
+ debug: In.value
418
418
  }) : F.dataset.series ? F.dataset.series.forEach((e, t) => {
419
419
  re({
420
420
  datasetObject: e,
@@ -425,7 +425,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
425
425
  type: "datasetSerieAttribute",
426
426
  property: e,
427
427
  index: t,
428
- debug: Rn.value
428
+ debug: In.value
429
429
  });
430
430
  }), e.breakdown && e.breakdown.forEach((e, n) => {
431
431
  re({
@@ -437,7 +437,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
437
437
  type: "datasetSerieAttribute",
438
438
  property: e,
439
439
  index: `${t} - ${n}`,
440
- debug: Rn.value
440
+ debug: In.value
441
441
  });
442
442
  });
443
443
  });
@@ -449,9 +449,12 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
449
449
  componentName: "VueUi3dBar",
450
450
  type: "datasetAttribute",
451
451
  property: e,
452
- debug: Rn.value
452
+ debug: In.value
453
453
  });
454
- }), H.value.responsive) {
454
+ }));
455
+ }
456
+ function Rn() {
457
+ if (Ln(), H.value.responsive) {
455
458
  let e = ve(() => {
456
459
  let { width: e, height: t } = ye({
457
460
  chart: L.value,
@@ -459,14 +462,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
459
462
  source: vn.value
460
463
  });
461
464
  requestAnimationFrame(() => {
462
- In.value = t - 12, Fn.value = e;
465
+ Pn.value = t - 12, Nn.value = e;
463
466
  });
464
467
  });
465
468
  gn.value && (_n.value && gn.value.unobserve(_n.value), gn.value.disconnect()), gn.value = new ResizeObserver(e), _n.value = L.value.parentNode, gn.value.observe(_n.value);
466
469
  }
467
470
  }
468
- let Bn = v(() => q.value.width / 4);
469
- function Vn(e, t, n, r) {
471
+ let zn = v(() => q.value.width / 4);
472
+ function Bn(e, t, n, r) {
470
473
  let i = q.value.height - q.value.bottom - q.value.top - q.value.perspective * 2, { width: a, height: s, bottom: c, right: l, left: u, perspective: d } = q.value, f = K.value ? a / 4 : a / 2, p = f * 2 + u, m = c + i * e, ee = s - m - d - i * t / 2, ne = ee > q.value.height / 2 ? "top" : "bottom", re = s * .25, ie = !!n, ae = null, h = null;
471
474
  return ie && (n = n.map((e, t) => ({
472
475
  ...e,
@@ -512,7 +515,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
512
515
  ${u},${s - m - d}Z`
513
516
  };
514
517
  }
515
- let Hn = v(() => {
518
+ let Vn = v(() => {
516
519
  let e = d(X.value / 100), t = q.value.height - q.value.bottom - q.value.top - q.value.perspective * 2, { width: n, height: r, bottom: i, right: a, left: o, perspective: s } = q.value, c = K.value ? n / 4 : n / 2, l = K.value ? c * 2 + o : a, u = i + t * 0;
517
520
  return {
518
521
  right: `M${c},${r - u} ${c},${r - u - t * e} ${n - l},${r - u - s - t * e} ${n - l},${r - u - s}Z`,
@@ -548,21 +551,21 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
548
551
  seriesIndex: e.seriesIndex
549
552
  }), !R.value && (Z.value = null, B.value = null, V.value = "");
550
553
  }
551
- function Un(e, t, n = !1) {
552
- let r = W.value.series.map((e) => e.value || 0).reduce((e, t) => e + t, 0), i = isNaN(e.value / r) ? 0 : e.value / r * 100, a = isNaN(e.value / Wn(t)) ? 0 : e.value / Wn(t) * 100;
554
+ function Hn(e, t, n = !1) {
555
+ let r = W.value.series.map((e) => e.value || 0).reduce((e, t) => e + t, 0), i = isNaN(e.value / r) ? 0 : e.value / r * 100, a = isNaN(e.value / Un(t)) ? 0 : e.value / Un(t) * 100;
553
556
  return n ? a : i.toFixed(0) + "%";
554
557
  }
555
- function Wn(e) {
558
+ function Un(e) {
556
559
  return [...e].map((e) => e.value).reduce((e, t) => e + t, 0);
557
560
  }
558
- let Gn = k(!1);
559
- function Kn(e) {
560
- Gn.value = e;
561
+ let Wn = k(!1);
562
+ function Gn(e) {
563
+ Wn.value = e;
561
564
  }
562
- function qn() {
565
+ function Kn() {
563
566
  return K.value ? J.value : W.value.percentage;
564
567
  }
565
- let Jn = v(() => K.value ? {
568
+ let qn = v(() => K.value ? {
566
569
  head: J.value.flatMap((e) => e.breakdown && e.breakdown.length ? [{
567
570
  name: e.name,
568
571
  color: e.color
@@ -575,17 +578,17 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
575
578
  }),
576
579
  body: J.value.flatMap((e) => e.breakdown && e.breakdown.length ? [e.value, ...e.breakdown.map((e) => e.value)] : e.value)
577
580
  } : null);
578
- function Yn(e = null) {
581
+ function Jn(e = null) {
579
582
  if (!K.value) {
580
583
  console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
581
584
  return;
582
585
  }
583
586
  De(() => {
584
- let n = J.value.map((e) => e.value).reduce((e, t) => e + t, 0), i = Jn.value.head.map((e, t) => [
587
+ let n = J.value.map((e) => e.value).reduce((e, t) => e + t, 0), i = qn.value.head.map((e, t) => [
585
588
  [e.name],
586
- [Jn.value.body[t]],
587
- [isNaN(Jn.value.body[t] / n) ? "-" : Jn.value.body[t] / n * 100]
588
- ]), a = r([
589
+ [qn.value.body[t]],
590
+ [isNaN(qn.value.body[t] / n) ? "-" : qn.value.body[t] / n * 100]
591
+ ]), a = [
589
592
  [H.value.style.chart.title.text],
590
593
  [H.value.style.chart.title.subtitle.text],
591
594
  [
@@ -593,14 +596,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
593
596
  ["val"],
594
597
  ["%"]
595
598
  ]
596
- ].concat(i));
597
- e ? e(a) : t({
598
- csvContent: a,
599
+ ].concat(i), o = r(a);
600
+ e ? e(o) : t({
601
+ csvContent: o,
599
602
  title: H.value.style.chart.title.text || "vue-ui-3d-bar"
600
603
  });
601
604
  });
602
605
  }
603
- let Xn = v(() => {
606
+ let Yn = v(() => {
604
607
  if (!K.value || !Array.isArray(J.value) || !J.value.length) return {
605
608
  colNames: [],
606
609
  head: [],
@@ -630,8 +633,8 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
630
633
  r: H.value.table.td.roundingValue
631
634
  }),
632
635
  "100%"
633
- ], n = Jn.value.head.map((t, n) => {
634
- let r = Jn.value.body[n];
636
+ ], n = qn.value.head.map((t, n) => {
637
+ let r = qn.value.body[n];
635
638
  return [
636
639
  {
637
640
  color: t.color,
@@ -675,14 +678,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
675
678
  }
676
679
  };
677
680
  });
678
- function Zn() {
681
+ function Xn() {
679
682
  G.value.showTable = !G.value.showTable;
680
683
  }
681
- let Qn = k(!1);
682
- function $n() {
683
- Qn.value = !Qn.value;
684
+ let Zn = k(!1);
685
+ function Qn() {
686
+ Zn.value = !Zn.value;
684
687
  }
685
- async function er({ scale: e = 2 } = {}) {
688
+ async function $n({ scale: e = 2 } = {}) {
686
689
  if (!L.value) return;
687
690
  let { width: t, height: n } = L.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
688
691
  domElement: L.value,
@@ -699,7 +702,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
699
702
  aspectRatio: r
700
703
  };
701
704
  }
702
- let tr = v(() => {
705
+ let er = v(() => {
703
706
  let e = H.value.table.useDialog && !H.value.table.show, t = G.value.showTable;
704
707
  return {
705
708
  component: e ? sn : tn,
@@ -709,7 +712,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
709
712
  color: H.value.table.th.color,
710
713
  headerColor: H.value.table.th.color,
711
714
  headerBg: H.value.table.th.backgroundColor,
712
- isFullscreen: Gn.value,
715
+ isFullscreen: Wn.value,
713
716
  fullscreenParent: L.value,
714
717
  forcedWidth: Math.min(800, window.innerWidth * .8)
715
718
  } : {
@@ -732,41 +735,18 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
732
735
  Me(() => G.value.showTable, (e) => {
733
736
  H.value.table.show || (e && H.value.table.useDialog && yn.value ? yn.value.open() : "close" in yn.value && yn.value.close());
734
737
  });
735
- function nr() {
738
+ function tr() {
736
739
  G.value.showTable = !1, bn.value && bn.value.setTableIconState(!1);
737
740
  }
738
- let rr = v(() => H.value.style.chart.backgroundColor), { exportSvg: ir, getSvg: ar } = fe({
739
- svg: On,
740
- title: v(() => H.value.style.chart.title),
741
- backgroundColor: rr
741
+ let nr = v(() => H.value.style.chart.backgroundColor), rr = v(() => H.value.style.chart.title), { isCallbackImaging: ir, isCallbackSvg: ar, generateSvg: or, onGenerateImage: sr } = me({
742
+ svg: En,
743
+ title: rr,
744
+ legend: null,
745
+ legendItems: null,
746
+ backgroundColor: nr,
747
+ getSvgCallback: () => H.value.userOptions.callbacks.svg,
748
+ generateImage: jn
742
749
  });
743
- async function or({ isCb: e }) {
744
- xn.value = !0, await De();
745
- try {
746
- if (e) {
747
- let { blob: e, url: t, text: n, dataUrl: r } = await ar();
748
- await Promise.resolve(H.value.userOptions.callbacks.svg({
749
- blob: e,
750
- url: t,
751
- text: n,
752
- dataUrl: r
753
- }));
754
- } else await Promise.resolve(ir());
755
- } finally {
756
- xn.value = !1;
757
- }
758
- }
759
- function sr(e) {
760
- if (e?.stage === "start") {
761
- Sn.value = !0;
762
- return;
763
- }
764
- if (e?.stage === "end") {
765
- Sn.value = !1;
766
- return;
767
- }
768
- Nn();
769
- }
770
750
  async function cr() {
771
751
  if (dn("copyAlt", {
772
752
  config: H.value,
@@ -809,7 +789,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
809
789
  z.value = !1, R.value || (B.value = null, Z.value = null, V.value = "");
810
790
  }
811
791
  function mr(e) {
812
- if (!K.value || !J.value?.length || !On.value || document.activeElement !== On.value) return;
792
+ if (!K.value || !J.value?.length || !En.value || document.activeElement !== En.value) return;
813
793
  let t = ["ArrowLeft", "ArrowDown"].includes(e.key), n = ["ArrowRight", "ArrowUp"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
814
794
  if (!t && !n && !r && !i) return;
815
795
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -827,19 +807,19 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
827
807
  a === null || a < 0 || a >= J.value.length ? a = n ? 0 : J.value.length - 1 : n ? (a += 1, a >= J.value.length && (a = 0)) : t && (--a, a < 0 && (a = J.value.length - 1)), dr(a);
828
808
  }
829
809
  let hr = v(() => ({
830
- headers: Xn.value?.colNames ?? [],
831
- rows: Xn.value?.a11yBody ?? []
810
+ headers: Yn.value?.colNames ?? [],
811
+ rows: Yn.value?.a11yBody ?? []
832
812
  }));
833
813
  return _e({
834
- getImage: er,
835
- generateCsv: Yn,
836
- generatePdf: Mn,
837
- generateImage: Nn,
814
+ getImage: $n,
815
+ generateCsv: Jn,
816
+ generatePdf: An,
817
+ generateImage: jn,
838
818
  generateSvg: or,
839
- getData: qn,
840
- toggleTable: Zn,
841
- toggleAnnotator: $n,
842
- toggleFullscreen: Kn,
819
+ getData: Kn,
820
+ toggleTable: Xn,
821
+ toggleAnnotator: Qn,
822
+ toggleFullscreen: Gn,
843
823
  copyAlt: cr
844
824
  }), (e, t) => (O(), x("div", {
845
825
  ref_key: "bar3dChart",
@@ -847,8 +827,8 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
847
827
  class: Oe("vue-data-ui-component vue-ui-3d-bar"),
848
828
  style: D(`font-family:${H.value.style.fontFamily};width:100%; text-align:center;background:${H.value.style.chart.backgroundColor}`),
849
829
  id: `3d_bar_${I.value}`,
850
- onMouseenter: t[8] ||= () => N(En)(!0),
851
- onMouseleave: t[9] ||= () => N(En)(!1)
830
+ onMouseenter: t[8] ||= () => N(wn)(!0),
831
+ onMouseleave: t[9] ||= () => N(wn)(!1)
852
832
  }, [
853
833
  S("div", {
854
834
  id: `chart-instructions-${I.value}`,
@@ -871,12 +851,12 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
871
851
  ])) : b("", !0),
872
852
  H.value.userOptions.buttons.annotator ? (O(), y(N(rn), {
873
853
  key: 1,
874
- svgRef: N(On),
854
+ svgRef: N(En),
875
855
  backgroundColor: H.value.style.chart.backgroundColor,
876
856
  color: H.value.style.chart.color,
877
- active: Qn.value,
878
- isCursorPointer: Cn.value,
879
- onClose: $n
857
+ active: Zn.value,
858
+ isCursorPointer: xn.value,
859
+ onClose: Qn
880
860
  }, {
881
861
  "annotator-action-close": P(() => [j(e.$slots, "annotator-action-close", {}, void 0, !0)]),
882
862
  "annotator-action-color": P(({ color: t }) => [j(e.$slots, "annotator-action-color", E(T({ color: t })), void 0, !0)]),
@@ -910,14 +890,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
910
890
  }
911
891
  }
912
892
  }, null, 8, ["config"]))], 512)) : b("", !0),
913
- H.value.userOptions.show && fn.value && (N(Dn) || N(Tn)) ? (O(), y(N(an), {
893
+ H.value.userOptions.show && fn.value && (N(Tn) || N(Cn)) ? (O(), y(N(an), {
914
894
  key: 3,
915
895
  ref_key: "userOptionsRef",
916
896
  ref: bn,
917
897
  backgroundColor: H.value.style.chart.backgroundColor,
918
898
  color: H.value.style.chart.color,
919
- isPrinting: N(An),
920
- isImaging: N(jn),
899
+ isPrinting: N(On),
900
+ isImaging: N(kn),
921
901
  uid: I.value,
922
902
  hasPdf: H.value.userOptions.buttons.pdf,
923
903
  hasTable: !!K.value && H.value.userOptions.buttons.table,
@@ -930,20 +910,20 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
930
910
  chartElement: L.value,
931
911
  position: H.value.userOptions.position,
932
912
  hasAnnotator: H.value.userOptions.buttons.annotator,
933
- isAnnotation: Qn.value,
913
+ isAnnotation: Zn.value,
934
914
  callbacks: H.value.userOptions.callbacks,
935
915
  printScale: H.value.userOptions.print.scale,
936
916
  tableDialog: H.value.table.useDialog,
937
- isCursorPointer: Cn.value,
938
- onToggleFullscreen: Kn,
939
- onGeneratePdf: N(Mn),
940
- onGenerateCsv: Yn,
941
- onGenerateImage: sr,
942
- onGenerateSvg: or,
943
- onToggleTable: Zn,
944
- onToggleAnnotator: $n,
917
+ isCursorPointer: xn.value,
918
+ onToggleFullscreen: Gn,
919
+ onGeneratePdf: N(An),
920
+ onGenerateCsv: Jn,
921
+ onGenerateImage: N(sr),
922
+ onGenerateSvg: N(or),
923
+ onToggleTable: Xn,
924
+ onToggleAnnotator: Qn,
945
925
  onCopyAlt: cr,
946
- style: D({ visibility: N(Dn) ? N(Tn) ? "visible" : "hidden" : "visible" })
926
+ style: D({ visibility: N(Tn) ? N(Cn) ? "visible" : "hidden" : "visible" })
947
927
  }, we({ _: 2 }, [
948
928
  e.$slots.menuIcon ? {
949
929
  name: "menuIcon",
@@ -1032,15 +1012,17 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1032
1012
  "tableDialog",
1033
1013
  "isCursorPointer",
1034
1014
  "onGeneratePdf",
1015
+ "onGenerateImage",
1016
+ "onGenerateSvg",
1035
1017
  "style"
1036
1018
  ])) : b("", !0),
1037
1019
  S("div", ze, [(O(), x("svg", {
1038
1020
  ref_key: "svgRef",
1039
- ref: On,
1021
+ ref: En,
1040
1022
  xmlns: N(ae),
1041
1023
  class: Oe({
1042
- "vue-data-ui-fullscreen--on": Gn.value,
1043
- "vue-data-ui-fulscreen--off": !Gn.value
1024
+ "vue-data-ui-fullscreen--on": Wn.value,
1025
+ "vue-data-ui-fulscreen--off": !Wn.value
1044
1026
  }),
1045
1027
  viewBox: `0 0 ${q.value.absoluteWidth} ${q.value.height}`,
1046
1028
  style: D(`max-width:100%; overflow: visible; background:transparent;color:${H.value.style.chart.color}`),
@@ -1242,13 +1224,13 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1242
1224
  class: "svg-btn",
1243
1225
  "data-dom-to-png-ignore": "",
1244
1226
  style: D({
1245
- cursor: Cn.value ? "pointer" : "default",
1227
+ cursor: xn.value ? "pointer" : "default",
1246
1228
  outline: "none"
1247
1229
  })
1248
1230
  }, [
1249
1231
  t[10] ||= S("title", null, "Clear selection", -1),
1250
1232
  S("rect", {
1251
- x: Bn.value - 12,
1233
+ x: zn.value - 12,
1252
1234
  y: q.value.top - 24,
1253
1235
  width: 24,
1254
1236
  height: 24,
@@ -1256,7 +1238,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1256
1238
  "pointer-events": "all"
1257
1239
  }, null, 8, We),
1258
1240
  S("circle", {
1259
- cx: Bn.value,
1241
+ cx: zn.value,
1260
1242
  cy: q.value.top - 12,
1261
1243
  r: "10",
1262
1244
  fill: "none",
@@ -1266,14 +1248,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1266
1248
  opacity: z.value ? .5 : 0
1267
1249
  }, null, 8, Ge),
1268
1250
  S("path", {
1269
- d: `M${Bn.value - 6},${q.value.top - 18} ${Bn.value + 6},${q.value.top - 6}`,
1251
+ d: `M${zn.value - 6},${q.value.top - 18} ${zn.value + 6},${q.value.top - 6}`,
1270
1252
  stroke: H.value.style.chart.color,
1271
1253
  "stroke-linecap": "round",
1272
1254
  "stroke-width": "2",
1273
1255
  "vector-effect": "non-scaling-stroke"
1274
1256
  }, null, 8, Ke),
1275
1257
  S("path", {
1276
- d: `M${Bn.value + 6},${q.value.top - 18} ${Bn.value - 6},${q.value.top - 6}`,
1258
+ d: `M${zn.value + 6},${q.value.top - 18} ${zn.value - 6},${q.value.top - 6}`,
1277
1259
  stroke: H.value.style.chart.color,
1278
1260
  "stroke-linecap": "round",
1279
1261
  "stroke-width": "2",
@@ -1321,7 +1303,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1321
1303
  ])),
1322
1304
  K.value ? b("", !0) : (O(), x("g", et, [
1323
1305
  S("path", {
1324
- d: Hn.value.right,
1306
+ d: Vn.value.right,
1325
1307
  stroke: H.value.style.chart.bar.stroke,
1326
1308
  "stroke-width": H.value.style.chart.bar.strokeWidth,
1327
1309
  "stroke-linejoin": "round",
@@ -1329,7 +1311,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1329
1311
  fill: `url(#gradient_right${I.value})`
1330
1312
  }, null, 8, tt),
1331
1313
  S("path", {
1332
- d: Hn.value.left,
1314
+ d: Vn.value.left,
1333
1315
  stroke: H.value.style.chart.bar.stroke,
1334
1316
  "stroke-width": H.value.style.chart.bar.strokeWidth,
1335
1317
  "stroke-linejoin": "round",
@@ -1337,7 +1319,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1337
1319
  fill: `url(#gradient_left${I.value})`
1338
1320
  }, null, 8, nt),
1339
1321
  S("path", {
1340
- d: Hn.value.top,
1322
+ d: Vn.value.top,
1341
1323
  stroke: H.value.style.chart.bar.stroke,
1342
1324
  "stroke-width": H.value.style.chart.bar.strokeWidth,
1343
1325
  "stroke-linejoin": "round",
@@ -1459,7 +1441,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1459
1441
  dataset: J.value
1460
1442
  }), void 0, !0)], 8, gt)),
1461
1443
  t.fill.donut && Z.value === t.id ? (O(), x("g", _t, [
1462
- (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Un(e, t.fill.donut, !0) > 6 ? (O(), x("path", {
1444
+ (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Hn(e, t.fill.donut, !0) > 6 ? (O(), x("path", {
1463
1445
  key: 0,
1464
1446
  d: N(p)(e, {
1465
1447
  x: e.cx,
@@ -1479,14 +1461,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1479
1461
  stroke: H.value.style.chart.backgroundColor,
1480
1462
  "stroke-width": 1
1481
1463
  }, null, 8, yt))), 256)),
1482
- (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Un(e, t.fill.donut, !0) > 6 ? (O(), x("g", bt, [S("text", {
1464
+ (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Hn(e, t.fill.donut, !0) > 6 ? (O(), x("g", bt, [S("text", {
1483
1465
  "text-anchor": N(f)(e, !0, 0).anchor,
1484
1466
  x: N(f)(e, !0, 2).x,
1485
1467
  y: N(ne)(e, 12, 12),
1486
1468
  fill: H.value.style.chart.legend.color,
1487
1469
  "font-size": H.value.style.chart.legend.fontSize / 1.5,
1488
1470
  "font-weight": H.value.style.chart.legend.bold ? "bold" : "normal"
1489
- }, M(N(m)(H.value.style.chart.dataLabel.formatter, e.value, `${Un(e, t.fill.donut)} (${N(l)({
1471
+ }, M(N(m)(H.value.style.chart.dataLabel.formatter, e.value, `${Hn(e, t.fill.donut)} (${N(l)({
1490
1472
  p: H.value.style.chart.legend.prefix,
1491
1473
  v: e.value,
1492
1474
  s: H.value.style.chart.legend.suffix,
@@ -1552,7 +1534,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1552
1534
  fill: "none"
1553
1535
  }, null, 8, At),
1554
1536
  S("path", {
1555
- d: Hn.value.tubeTop,
1537
+ d: Vn.value.tubeTop,
1556
1538
  stroke: H.value.style.chart.bar.stroke,
1557
1539
  "stroke-width": H.value.style.chart.bar.strokeWidth,
1558
1540
  "stroke-linejoin": "round",
@@ -1560,7 +1542,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1560
1542
  fill: `url(#gradient_tube_top${I.value})`
1561
1543
  }, null, 8, jt),
1562
1544
  S("path", {
1563
- d: Hn.value.tubeBody,
1545
+ d: Vn.value.tubeBody,
1564
1546
  stroke: H.value.style.chart.bar.stroke,
1565
1547
  "stroke-width": H.value.style.chart.bar.strokeWidth,
1566
1548
  "stroke-linejoin": "round",
@@ -1568,7 +1550,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1568
1550
  fill: `url(#gradient_tube_body${I.value})`
1569
1551
  }, null, 8, Mt),
1570
1552
  S("path", {
1571
- d: Hn.value.tubeTop,
1553
+ d: Vn.value.tubeTop,
1572
1554
  stroke: "#FFFFFF",
1573
1555
  "stroke-width": .5,
1574
1556
  "stroke-linejoin": "round",
@@ -1724,7 +1706,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1724
1706
  dataset: J.value
1725
1707
  }), void 0, !0)], 8, Ut)),
1726
1708
  t.fill.donut && Z.value === t.id ? (O(), x("g", Wt, [
1727
- (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Un(e, t.fill.donut, !0) > 6 ? (O(), x("path", {
1709
+ (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Hn(e, t.fill.donut, !0) > 6 ? (O(), x("path", {
1728
1710
  key: 0,
1729
1711
  d: N(p)(e, {
1730
1712
  x: e.cx,
@@ -1744,14 +1726,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1744
1726
  stroke: H.value.style.chart.backgroundColor,
1745
1727
  "stroke-width": 1
1746
1728
  }, null, 8, Kt))), 256)),
1747
- (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Un(e, t.fill.donut, !0) > 6 ? (O(), x("g", qt, [S("text", {
1729
+ (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Hn(e, t.fill.donut, !0) > 6 ? (O(), x("g", qt, [S("text", {
1748
1730
  "text-anchor": N(f)(e, !0, 0).anchor,
1749
1731
  x: N(f)(e, !0, 2).x,
1750
1732
  y: N(ne)(e, 12, 12),
1751
1733
  fill: H.value.style.chart.legend.color,
1752
1734
  "font-size": H.value.style.chart.legend.fontSize / 1.5,
1753
1735
  "font-weight": H.value.style.chart.legend.bold ? "bold" : "normal"
1754
- }, M(N(m)(H.value.style.chart.dataLabel.formatter, e.value, `${Un(e, t.fill.donut)} (${N(l)({
1736
+ }, M(N(m)(H.value.style.chart.dataLabel.formatter, e.value, `${Hn(e, t.fill.donut)} (${N(l)({
1755
1737
  p: H.value.style.chart.legend.prefix,
1756
1738
  v: e.value,
1757
1739
  s: H.value.style.chart.legend.suffix,
@@ -1779,32 +1761,32 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1779
1761
  ], 12, zt))), 256))])) : b("", !0)])) : b("", !0),
1780
1762
  j(e.$slots, "svg", { svg: {
1781
1763
  ...q.value,
1782
- isPrintingImg: N(An) || N(jn) || Sn.value,
1783
- isPrintingSvg: xn.value
1764
+ isPrintingImg: N(On) || N(kn) || N(ir),
1765
+ isPrintingSvg: N(ar)
1784
1766
  } }, void 0, !0)
1785
1767
  ], 46, Be))]),
1786
- e.$slots.watermark ? (O(), x("div", Qt, [j(e.$slots, "watermark", E(T({ isPrinting: N(An) || N(jn) || xn.value || Sn.value })), void 0, !0)])) : b("", !0),
1768
+ e.$slots.watermark ? (O(), x("div", Qt, [j(e.$slots, "watermark", E(T({ isPrinting: N(On) || N(kn) || N(ar) || N(ir) })), void 0, !0)])) : b("", !0),
1787
1769
  e.$slots.source ? (O(), x("div", {
1788
1770
  key: 5,
1789
1771
  ref_key: "source",
1790
1772
  ref: vn,
1791
1773
  dir: "auto"
1792
1774
  }, [j(e.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
1793
- fn.value && K.value && H.value.userOptions.buttons.table ? (O(), y(Ae(tr.value.component), Ee({ key: 6 }, tr.value.props, {
1775
+ fn.value && K.value && H.value.userOptions.buttons.table ? (O(), y(Ae(er.value.component), Ee({ key: 6 }, er.value.props, {
1794
1776
  ref_key: "tableUnit",
1795
1777
  ref: yn,
1796
- onClose: nr
1778
+ onClose: tr
1797
1779
  }), we({
1798
1780
  content: P(() => [(O(), y(N(nn), {
1799
1781
  key: `table_${mn.value}`,
1800
- colNames: Xn.value.colNames,
1801
- head: Xn.value.head,
1802
- body: Xn.value.body,
1803
- config: Xn.value.config,
1804
- title: H.value.table.useDialog ? "" : tr.value.title,
1782
+ colNames: Yn.value.colNames,
1783
+ head: Yn.value.head,
1784
+ body: Yn.value.body,
1785
+ config: Yn.value.config,
1786
+ title: H.value.table.useDialog ? "" : er.value.title,
1805
1787
  withCloseButton: !H.value.table.useDialog,
1806
- isCursorPointer: Cn.value,
1807
- onClose: nr
1788
+ isCursorPointer: xn.value,
1789
+ onClose: tr
1808
1790
  }, {
1809
1791
  th: P(({ th: e }) => [S("div", {
1810
1792
  innerHTML: e,
@@ -1827,23 +1809,23 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1827
1809
  _: 2
1828
1810
  }, [H.value.table.useDialog ? {
1829
1811
  name: "title",
1830
- fn: P(() => [Te(M(tr.value.title), 1)]),
1812
+ fn: P(() => [Te(M(er.value.title), 1)]),
1831
1813
  key: "0"
1832
1814
  } : void 0, H.value.table.useDialog ? {
1833
1815
  name: "actions",
1834
1816
  fn: P(() => [S("button", {
1835
1817
  tabindex: "0",
1836
1818
  class: "vue-ui-user-options-button",
1837
- onClick: t[7] ||= (e) => Yn(H.value.userOptions.callbacks.csv)
1819
+ onClick: t[7] ||= (e) => Jn(H.value.userOptions.callbacks.csv)
1838
1820
  }, [C(N(en), {
1839
1821
  name: "fileCsv",
1840
- stroke: tr.value.props.color
1822
+ stroke: er.value.props.color
1841
1823
  }, null, 8, ["stroke"])])]),
1842
1824
  key: "1"
1843
1825
  } : void 0]), 1040)) : b("", !0),
1844
1826
  j(e.$slots, "skeleton", {}, () => [N(U) ? (O(), y(de, { key: 0 })) : b("", !0)], !0)
1845
1827
  ], 44, Ie));
1846
1828
  }
1847
- }, [["__scopeId", "data-v-71046390"]]);
1829
+ }, [["__scopeId", "data-v-0a79e2d4"]]);
1848
1830
  //#endregion
1849
1831
  export { Fe as n, en as t };