vue-data-ui 3.25.11 → 3.25.13

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 (205) hide show
  1. package/dist/{Arrow-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
  3. package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
  4. package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
  5. package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
  6. package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
  7. package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
  8. package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
  9. package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
  11. package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
  12. package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
  13. package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
  14. package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
  15. package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
  16. package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
  17. package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
  18. package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.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-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
  91. package/dist/exposedLib-BBtjpydc.js +28 -0
  92. package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
  93. package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
  94. package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
  95. package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
  96. package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
  97. package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +6 -0
  103. package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
  104. package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
  105. package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
  106. package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
  107. package/dist/utils.js +13 -13
  108. package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
  109. package/dist/vue-data-ui.js +75 -75
  110. package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
  111. package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
  112. package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
  113. package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
  114. package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
  115. package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
  116. package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
  117. package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
  118. package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
  119. package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
  120. package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
  121. package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
  122. package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
  123. package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
  124. package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
  125. package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
  126. package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
  127. package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
  128. package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
  129. package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
  130. package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
  131. package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
  132. package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
  133. package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
  134. package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
  135. package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
  136. package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
  137. package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
  138. package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
  139. package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
  140. package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
  141. package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
  142. package/dist/vue-ui-molecule-_x232mMu.js +941 -0
  143. package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
  144. package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
  145. package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
  146. package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
  147. package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
  148. package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
  149. package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
  150. package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
  151. package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
  152. package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
  153. package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
  154. package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
  155. package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
  156. package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
  157. package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
  158. package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
  159. package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
  160. package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
  161. package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
  162. package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
  163. package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
  164. package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
  165. package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
  166. package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
  167. package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
  168. package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
  169. package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
  170. package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
  171. package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
  172. package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
  173. package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
  174. package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
  175. package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
  176. package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
  177. package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
  178. package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
  179. package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
  180. package/package.json +1 -1
  181. package/dist/exposedLib-CG3aXJ-v.js +0 -28
  182. package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
  183. package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
  184. package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
  185. package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
  186. package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
  187. package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
  188. package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
  189. package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
  190. package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
  191. package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
  192. package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
  193. package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
  194. package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
  195. package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
  196. package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
  197. package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
  198. package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
  199. package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
  200. package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
  201. package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
  202. package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
  203. package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
  204. package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
  205. package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
@@ -1,23 +1,23 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ct as n, D as r, Lt as i, Mt as a, Pt as o, Rt as s, S as ee, Ut as c, Vt as l, X as u, Yt as te, Z as ne, Zt as re, b as ie, f as ae, i as oe, lt as se, n as ce, nt as le, p as ue, q as de, t as fe, tt as pe, w as me } from "./lib-Dql7cqyA.js";
2
+ import { $ as t, $t as n, D as r, Et as i, Ft as a, Gt as o, Ht as s, Rt as c, S as l, Vt as ee, X as te, at as u, b as ne, et as re, f as ie, ft as ae, i as oe, it as se, n as ce, nt as le, p as ue, qt as de, t as fe, tn as pe, w as me } from "./lib-DOpaUOQx.js";
3
3
  import { n as he, t as ge } from "./useHints-Dq_w2E8B.js";
4
- import { t as _e } from "./useConfig-D32D002m.js";
5
- import { t as ve } from "./usePrinter-hohanNCX.js";
4
+ import { t as _e } from "./useConfig-C2uy4ltq.js";
5
+ import { t as ve } from "./usePrinter-BBBooAGP.js";
6
6
  import { n as ye, t as be } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as xe } from "./useNestedProp-Chvyfpl-.js";
7
+ import { t as xe } from "./useNestedProp-Bux0f4iY.js";
8
8
  import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as Ce } from "./useChartExport-iwOqiIWX.js";
10
- import { t as we } from "./img-BkMKbWsI.js";
11
- import { n as Te } from "./Title-CPHi-evi.js";
10
+ import { t as we } from "./img-W50sC9SC.js";
11
+ import { n as Te } from "./Title-DeqmC-vN.js";
12
12
  import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
13
  import { l as De, t as Oe } from "./useResponsive-ZtArZtUf.js";
14
14
  import { t as ke } from "./DefGrad-DVBqDjhO.js";
15
- import { t as Ae } from "./BaseLegendToggle-CXQrLjd-.js";
15
+ import { t as Ae } from "./BaseLegendToggle-DGG65LAR.js";
16
16
  import { t as je } from "./A11yDataTable-DdRsVULz.js";
17
17
  import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
18
18
  import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Pe } from "./labelUtils-BXX2NzRe.js";
20
- import { t as Fe } from "./Legend-X4kF4PvW.js";
19
+ import { t as Pe } from "./labelUtils-Dvm-7rse.js";
20
+ import { t as Fe } from "./Legend-C0Ln0VNe.js";
21
21
  import { t as Ie } from "./vue_ui_nested_donuts-B8csIoVO.js";
22
22
  import { Fragment as d, Teleport as Le, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ve, nextTick as He, normalizeClass as Ue, normalizeProps as y, normalizeStyle as We, onBeforeUnmount as Ge, onMounted as Ke, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as qe, shallowRef as Je, toDisplayString as w, toRefs as Ye, unref as T, vShow as Xe, watch as Ze, withCtx as E, withDirectives as Qe } from "vue";
23
23
  //#region src/components/vue-ui-nested-donuts.vue
@@ -110,23 +110,23 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
110
110
  "copyAlt"
111
111
  ],
112
112
  setup(e, { expose: Ee, emit: $e }) {
113
- let At = _(() => import("./Tooltip-hhrkQ3Lk.js")), jt = _(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Mt = _(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), Nt = _(() => import("./DataTable-oiM9uWrQ.js")), Pt = _(() => import("./UserOptions-qo_Tsqci.js").then((e) => e.n)), Ft = _(() => import("./PenAndPaper-Cd3nItcO.js").then((e) => e.t)), It = _(() => import("./PackageVersion-CEvZNFTz.js").then((e) => e.t)), Lt = _(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_nested_donuts: Rt } = _e(), { isThemeValid: zt, warnInvalidTheme: Bt } = Se(), D = e, Vt = f({
113
+ let At = _(() => import("./Tooltip-DZ4a3XJQ.js")), jt = _(() => import("./BaseIcon-Dlz7gfx0.js").then((e) => e.n)), Mt = _(() => import("./vue-ui-accordion-yHZMJLaY.js").then((e) => e.n)), Nt = _(() => import("./DataTable-BD1eZ0zB.js")), Pt = _(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), Ft = _(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), It = _(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), Lt = _(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), { vue_ui_nested_donuts: Rt } = _e(), { isThemeValid: zt, warnInvalidTheme: Bt } = Se(), D = e, Vt = f({
114
114
  get() {
115
115
  return !!D.dataset && D.dataset.length;
116
116
  },
117
117
  set(e) {
118
118
  return e;
119
119
  }
120
- }), O = x(de()), Ht = x(!1), Ut = x(""), Wt = x(null), Gt = x(0), k = x(null), Kt = x(null), qt = x(null), Jt = x(null), Yt = x(null), Xt = x(0), Zt = x(0), Qt = x(0), A = x(!0), j = x([]), $t = x([]), en = x(!1), tn = x(null), nn = x(null), M = x(null), rn = x({
120
+ }), O = x(te()), Ht = x(!1), Ut = x(""), Wt = x(null), Gt = x(0), k = x(null), Kt = x(null), qt = x(null), Jt = x(null), Yt = x(null), Xt = x(0), Zt = x(0), Qt = x(0), A = x(!0), j = x([]), $t = x([]), en = x(!1), tn = x(null), nn = x(null), M = x(null), rn = x({
121
121
  x: 0,
122
122
  y: 0
123
- }), an = x("pointer"), on = x(!1), N = x(!1);
124
- function sn(e) {
125
- N.value = e, Gt.value += 1;
123
+ }), an = x("pointer"), on = x(!1), sn = x(!1);
124
+ function cn(e) {
125
+ sn.value = e, Gt.value += 1;
126
126
  }
127
- let P = x(hn()), F = f(() => P.value.style.chart.layout.labels), I = f(() => P.value.style.chart.tooltip), L = f(() => P.value.userOptions), R = f(() => P.value.style.chart.layout), z = f(() => P.value.style.chart);
127
+ let N = x(gn()), P = f(() => N.value.style.chart.layout.labels), F = f(() => N.value.style.chart.tooltip), I = f(() => N.value.userOptions), L = f(() => N.value.style.chart.layout), R = f(() => N.value.style.chart);
128
128
  he({
129
- config: () => P.value,
129
+ config: () => N.value,
130
130
  dataset: () => D.dataset,
131
131
  component: "VueUiNestedDonuts",
132
132
  rules: [
@@ -163,7 +163,7 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
163
163
  }
164
164
  ]
165
165
  });
166
- let B = f(() => P.value.userOptions.useCursorPointer), cn = {
166
+ let z = f(() => N.value.userOptions.useCursorPointer), ln = {
167
167
  name: "",
168
168
  series: [
169
169
  {
@@ -182,7 +182,7 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
182
182
  color: "#CACACA"
183
183
  }
184
184
  ]
185
- }, ln = f(() => re({
185
+ }, un = f(() => pe({
186
186
  defaultConfig: {
187
187
  useCssAnimation: !1,
188
188
  table: { show: !1 },
@@ -202,62 +202,62 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
202
202
  }
203
203
  } }
204
204
  },
205
- userConfig: P.value.skeletonConfig ?? {}
206
- })), { loading: un, FINAL_DATASET: V, manualLoading: dn } = ye({
205
+ userConfig: N.value.skeletonConfig ?? {}
206
+ })), { loading: dn, FINAL_DATASET: B, manualLoading: fn } = ye({
207
207
  ...Ye(D),
208
- FINAL_CONFIG: P,
209
- prepareConfig: hn,
208
+ FINAL_CONFIG: N,
209
+ prepareConfig: gn,
210
210
  callback: () => {
211
211
  Promise.resolve().then(async () => {
212
- await bn();
212
+ await xn();
213
213
  });
214
214
  },
215
- skeletonDataset: D.config?.skeletonDataset ?? [cn, cn],
216
- skeletonConfig: re({
217
- defaultConfig: P.value,
218
- userConfig: ln.value
215
+ skeletonDataset: D.config?.skeletonDataset ?? [ln, ln],
216
+ skeletonConfig: pe({
217
+ defaultConfig: N.value,
218
+ userConfig: un.value
219
219
  })
220
- }), { userOptionsVisible: fn, setUserOptionsVisibility: pn, keepUserOptionState: mn } = Me({ config: P.value }), { svgRef: H } = Ne({ config: z.value.title });
221
- function hn() {
220
+ }), { userOptionsVisible: pn, setUserOptionsVisibility: mn, keepUserOptionState: hn } = Me({ config: N.value }), { svgRef: V } = Ne({ config: R.value.title });
221
+ function gn() {
222
222
  let e = xe({
223
223
  userConfig: D.config,
224
224
  defaultConfig: Rt
225
- }), t = {}, n = e.theme;
226
- if (n) {
225
+ }), t = {}, r = e.theme;
226
+ if (r) {
227
227
  if (!zt.value(e)) Bt(e), t = e;
228
228
  else {
229
- let r = xe({
230
- userConfig: Ie[n] || D.config,
229
+ let i = xe({
230
+ userConfig: Ie[r] || D.config,
231
231
  defaultConfig: e
232
232
  });
233
233
  t = {
234
234
  ...xe({
235
235
  userConfig: D.config,
236
- defaultConfig: r
236
+ defaultConfig: i
237
237
  }),
238
- customPalette: e.customPalette.length ? e.customPalette : te[n] || i
238
+ customPalette: e.customPalette.length ? e.customPalette : n[r] || ee
239
239
  };
240
240
  }
241
241
  } else t = e;
242
242
  return t;
243
243
  }
244
- function gn(e) {
245
- let t = ne(e);
244
+ function _n(e) {
245
+ let t = re(e);
246
246
  return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
247
247
  }
248
- let _n = gn(D.config);
248
+ let vn = _n(D.config);
249
249
  Ze(() => D.config, (e, t) => {
250
- let n = gn(e), r = n !== _n;
251
- _n = n;
252
- let i = hn();
250
+ let n = _n(e), r = n !== vn;
251
+ vn = n;
252
+ let i = gn();
253
253
  if (!r) {
254
- P.value.style.chart.tooltip = i.style.chart.tooltip, G.value.showTooltip = P.value.style.chart.tooltip.show;
254
+ N.value.style.chart.tooltip = i.style.chart.tooltip, W.value.showTooltip = N.value.style.chart.tooltip.show;
255
255
  return;
256
256
  }
257
- un.value || (P.value = i), fn.value = !P.value.userOptions.showOnChartHover, Sn(), Xt.value += 1, Zt.value += 1, Qt.value += 1, G.value.dataLabels.show = F.value.dataLabels.show, G.value.showTable = P.value.table.show, G.value.showTooltip = I.value.show, K.value.width = z.value.width, K.value.height = z.value.height;
257
+ dn.value || (N.value = i), pn.value = !N.value.userOptions.showOnChartHover, Cn(), Xt.value += 1, Zt.value += 1, Qt.value += 1, W.value.dataLabels.show = P.value.dataLabels.show, W.value.showTable = N.value.table.show, W.value.showTooltip = F.value.show, G.value.width = R.value.width, G.value.height = R.value.height;
258
258
  }, { deep: !0 });
259
- let vn = f(() => {
260
- let { top: e, right: t, bottom: n, left: r } = z.value.padding;
259
+ let yn = f(() => {
260
+ let { top: e, right: t, bottom: n, left: r } = R.value.padding;
261
261
  return {
262
262
  css: `padding:${e}px ${t}px ${n}px ${r}px`,
263
263
  top: e,
@@ -266,21 +266,21 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
266
266
  left: r
267
267
  };
268
268
  });
269
- function yn(e, t = 1e3, n = 50) {
269
+ function bn(e, t = 1e3, n = 50) {
270
270
  return new Promise((r) => {
271
271
  let i = e.length;
272
272
  j.value = Array(i).fill(0), $t.value = [];
273
273
  let a = 0;
274
- e.forEach((e, o) => {
274
+ e.forEach((e, s) => {
275
275
  setTimeout(() => {
276
276
  let n = performance.now();
277
- function s(ee) {
278
- let c = Math.min((ee - n) / t, 1), u = e * pe(c);
279
- j.value[o] = u, j.value = [...j.value];
280
- let te = [], ne = 0;
277
+ function c(l) {
278
+ let ee = Math.min((l - n) / t, 1), te = e * se(ee);
279
+ j.value[s] = te, j.value = [...j.value];
280
+ let u = [], re = 0;
281
281
  D.dataset.forEach((e, t) => {
282
- let n = ie(e.series.reduce((e, t) => e + ie(l(t.values).reduce((e, t) => e + t, 0)), 0)) - ie(j.value.slice(ne, ne + e.series.length).reduce((e, t) => e + t, 0));
283
- n > Number.MIN_VALUE && te.push({
282
+ let n = ne(e.series.reduce((e, t) => e + ne(o(t.values).reduce((e, t) => e + t, 0)), 0)) - ne(j.value.slice(re, re + e.series.length).reduce((e, t) => e + t, 0));
283
+ n > Number.MIN_VALUE && u.push({
284
284
  name: "__ghost__",
285
285
  arcOf: e.name,
286
286
  arcOfId: `${O.value}_${t}`,
@@ -292,19 +292,19 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
292
292
  fullValue: n,
293
293
  absoluteValues: [],
294
294
  ghost: !0
295
- }), ne += e.series.length;
296
- }), $t.value = te, c < 1 ? requestAnimationFrame(s) : (a += 1, a === i && r());
295
+ }), re += e.series.length;
296
+ }), $t.value = u, ee < 1 ? requestAnimationFrame(c) : (a += 1, a === i && r());
297
297
  }
298
- requestAnimationFrame(s);
299
- }, o * n);
298
+ requestAnimationFrame(c);
299
+ }, s * n);
300
300
  });
301
301
  });
302
302
  }
303
- async function bn() {
304
- if (P.value.startAnimation?.show) {
305
- let e = V.value.flatMap((e) => e.series).map((e) => l(e.values).reduce((e, t) => e + t, 0));
306
- j.value = e.map(() => 0), A.value = !0, $t.value = V.value.map((e, t) => {
307
- let n = e.series.reduce((e, t) => e + l(t.values).reduce((e, t) => e + t, 0), 0);
303
+ async function xn() {
304
+ if (N.value.startAnimation?.show) {
305
+ let e = B.value.flatMap((e) => e.series).map((e) => o(e.values).reduce((e, t) => e + t, 0));
306
+ j.value = e.map(() => 0), A.value = !0, $t.value = B.value.map((e, t) => {
307
+ let n = e.series.reduce((e, t) => e + o(t.values).reduce((e, t) => e + t, 0), 0);
308
308
  return {
309
309
  name: "__ghost__",
310
310
  arcOf: e.name,
@@ -318,181 +318,181 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
318
318
  absoluteValues: [],
319
319
  ghost: !0
320
320
  };
321
- }), await He(), yn(e, P.value.startAnimation.durationMs, P.value.startAnimation.staggerMs).then(() => {
321
+ }), await He(), bn(e, N.value.startAnimation.durationMs, N.value.startAnimation.staggerMs).then(() => {
322
322
  A.value = !1, $t.value = [];
323
323
  });
324
324
  } else A.value = !1;
325
325
  }
326
326
  Ke(async () => {
327
- en.value = !0, Sn(), await bn();
327
+ en.value = !0, Cn(), await xn();
328
328
  });
329
- let U = Je(null), xn = Je(null), W = f(() => P.value.debug);
330
- function Sn() {
331
- if (o(D.dataset) ? (le({
329
+ let H = Je(null), Sn = Je(null), U = f(() => N.value.debug);
330
+ function Cn() {
331
+ if (c(D.dataset) ? (u({
332
332
  componentName: "VueUiNestedDonuts",
333
333
  type: "dataset",
334
- debug: W.value
335
- }), Vt.value = !1, dn.value = !0) : dn.value = P.value.loading, P.value.responsive) {
334
+ debug: U.value
335
+ }), Vt.value = !1, fn.value = !0) : fn.value = N.value.loading, N.value.responsive) {
336
336
  let e = De(() => {
337
337
  let { width: e, height: t } = Oe({
338
338
  chart: k.value,
339
- title: z.value.title.text ? Kt.value : null,
340
- legend: z.value.legend.show ? qt.value : null,
339
+ title: R.value.title.text ? Kt.value : null,
340
+ legend: R.value.legend.show ? qt.value : null,
341
341
  source: Jt.value,
342
342
  noTitle: Yt.value,
343
- padding: vn.value
343
+ padding: yn.value
344
344
  });
345
345
  requestAnimationFrame(() => {
346
- K.value.width = e, K.value.height = t;
346
+ G.value.width = e, G.value.height = t;
347
347
  });
348
348
  });
349
- U.value && (xn.value && U.value.unobserve(xn.value), U.value.disconnect()), U.value = new ResizeObserver(e), xn.value = k.value.parentNode, U.value.observe(xn.value);
349
+ H.value && (Sn.value && H.value.unobserve(Sn.value), H.value.disconnect()), H.value = new ResizeObserver(e), Sn.value = k.value.parentNode, H.value.observe(Sn.value);
350
350
  }
351
351
  }
352
352
  Ge(() => {
353
- U.value && (xn.value && U.value.unobserve(xn.value), U.value.disconnect());
353
+ H.value && (Sn.value && H.value.unobserve(Sn.value), H.value.disconnect());
354
354
  });
355
- let { isPrinting: Cn, isImaging: wn, generatePdf: Tn, generateImage: En } = ve({
355
+ let { isPrinting: wn, isImaging: Tn, generatePdf: En, generateImage: Dn } = ve({
356
356
  elementId: `nested_donuts_${O.value}`,
357
- fileName: z.value.title.text || "vue-ui-nested-donuts",
358
- options: P.value.userOptions.print
359
- }), Dn = f(() => P.value.userOptions.show && !z.value.title.text), On = f(() => me(P.value.customPalette)), G = x({
360
- dataLabels: { show: F.value.dataLabels.show },
361
- showTable: P.value.table.show,
362
- showTooltip: I.value.show
357
+ fileName: R.value.title.text || "vue-ui-nested-donuts",
358
+ options: N.value.userOptions.print
359
+ }), On = f(() => N.value.userOptions.show && !R.value.title.text), kn = f(() => me(N.value.customPalette)), W = x({
360
+ dataLabels: { show: P.value.dataLabels.show },
361
+ showTable: N.value.table.show,
362
+ showTooltip: F.value.show
363
363
  });
364
- Ze(P, () => {
365
- G.value = {
366
- dataLabels: { show: F.value.dataLabels.show },
367
- showTable: P.value.table.show,
368
- showTooltip: I.value.show
364
+ Ze(N, () => {
365
+ W.value = {
366
+ dataLabels: { show: P.value.dataLabels.show },
367
+ showTable: N.value.table.show,
368
+ showTooltip: F.value.show
369
369
  };
370
370
  }, { immediate: !0 });
371
- let K = x({
372
- width: z.value.width,
373
- height: z.value.height
374
- }), q = $e;
375
- function kn({ datapoint: e, index: t, seriesIndex: n }) {
376
- P.value.events.datapointClick && P.value.events.datapointClick({
371
+ let G = x({
372
+ width: R.value.width,
373
+ height: R.value.height
374
+ }), K = $e;
375
+ function An({ datapoint: e, index: t, seriesIndex: n }) {
376
+ N.value.events.datapointClick && N.value.events.datapointClick({
377
377
  datapoint: e,
378
378
  seriesIndex: n
379
- }), q("selectDatapoint", {
379
+ }), K("selectDatapoint", {
380
380
  datapoint: e,
381
381
  index: t
382
382
  });
383
383
  }
384
- function An({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = pe }) {
384
+ function jn({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = se }) {
385
385
  let o = performance.now();
386
- function s(ee) {
387
- let c = Math.min((ee - o) / n, 1), l = a(c);
388
- r(e + (t - e) * l, c), c < 1 ? requestAnimationFrame(s) : (r(t, 1), i && i());
386
+ function s(c) {
387
+ let l = Math.min((c - o) / n, 1), ee = a(l);
388
+ r(e + (t - e) * ee, l), l < 1 ? requestAnimationFrame(s) : (r(t, 1), i && i());
389
389
  }
390
390
  requestAnimationFrame(s);
391
391
  }
392
- let J = x([]), Y = f(() => {
393
- un.value, V.value.forEach((e, t) => {
394
- [null, void 0].includes(e.name) && le({
392
+ let q = x([]), J = f(() => {
393
+ dn.value, B.value.forEach((e, t) => {
394
+ [null, void 0].includes(e.name) && u({
395
395
  componentName: "VueUiNestedDonuts",
396
396
  type: "datasetSerieAttribute",
397
397
  property: "name",
398
398
  index: t,
399
- debug: W.value
400
- }), [null, void 0].includes(e.series) ? le({
399
+ debug: U.value
400
+ }), [null, void 0].includes(e.series) ? u({
401
401
  componentName: "VueUiNestedDonuts",
402
402
  type: "datasetSerieAttribute",
403
403
  property: "series",
404
404
  index: t,
405
- debug: W.value
406
- }) : e.series.length === 0 ? le({
405
+ debug: U.value
406
+ }) : e.series.length === 0 ? u({
407
407
  componentName: "VueUiNestedDonuts",
408
408
  type: "datasetAttributeEmpty",
409
409
  property: `series at index ${t}`,
410
- debug: W.value
410
+ debug: U.value
411
411
  }) : e.series.forEach((e, t) => {
412
- [null, void 0].includes(e.name) && le({
412
+ [null, void 0].includes(e.name) && u({
413
413
  componentName: "VueUiNestedDonuts",
414
414
  type: "datasetSerieAttribute",
415
415
  property: "name",
416
416
  index: t,
417
417
  key: "serie",
418
- debug: W.value
419
- }), [null, void 0].includes(e.values) && le({
418
+ debug: U.value
419
+ }), [null, void 0].includes(e.values) && u({
420
420
  componentName: "VueUiNestedDonuts",
421
421
  type: "datasetSerieAttribute",
422
422
  property: "values",
423
423
  index: t,
424
424
  key: "serie",
425
- debug: W.value
425
+ debug: U.value
426
426
  });
427
427
  });
428
428
  });
429
429
  let e = 0;
430
- return V.value.map((t, n) => ({
430
+ return B.value.map((t, n) => ({
431
431
  ...t,
432
- total: t.series.filter((e) => !J.value.includes(e.id)).map((e) => l(e.values).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
432
+ total: t.series.filter((e) => !q.value.includes(e.id)).map((e) => o(e.values).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
433
433
  datasetIndex: n,
434
434
  id: `${O.value}_${n}`,
435
- series: t.series.map((r, a) => {
436
- let o = l(r.values).reduce((e, t) => e + t, 0);
435
+ series: t.series.map((r, i) => {
436
+ let a = o(r.values).reduce((e, t) => e + t, 0);
437
437
  return {
438
438
  name: r.name,
439
439
  arcOf: t.name,
440
440
  arcOfId: `${O.value}_${n}`,
441
- id: `${O.value}_${n}_${a}`,
442
- seriesIndex: a,
441
+ id: `${O.value}_${n}_${i}`,
442
+ seriesIndex: i,
443
443
  datasetIndex: n,
444
- color: ee(r.color) || On.value[a] || i[a % i.length],
445
- value: A.value ? j.value[e++] ?? 0 : o,
444
+ color: l(r.color) || kn.value[i] || ee[i % ee.length],
445
+ value: A.value ? j.value[e++] ?? 0 : a,
446
446
  absoluteValues: r.values || []
447
447
  };
448
448
  })
449
449
  }));
450
450
  });
451
451
  Ze(() => D.dataset, (e) => {
452
- Array.isArray(e) && e.length > 0 && (dn.value = !1);
452
+ Array.isArray(e) && e.length > 0 && (fn.value = !1);
453
453
  }, { immediate: !0 });
454
- let X = f(() => Math.min(K.value.height, K.value.width) * (R.value.donut.strokeWidth / 512)), jn = f(() => [...Y.value].map((e, t) => {
455
- let n = e.series.filter((e) => !J.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0);
454
+ let Y = f(() => Math.min(G.value.height, G.value.width) * (L.value.donut.strokeWidth / 512)), Mn = f(() => [...J.value].map((e, t) => {
455
+ let n = e.series.filter((e) => !q.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0);
456
456
  return {
457
457
  ...e,
458
458
  total: n,
459
- series: e.series.filter((e) => !J.value.includes(e.id)).map((e) => ({
459
+ series: e.series.filter((e) => !q.value.includes(e.id)).map((e) => ({
460
460
  ...e,
461
461
  proportion: e.value / n
462
462
  }))
463
463
  };
464
464
  }));
465
- function Mn(e, t, n) {
465
+ function Nn(e, t, n) {
466
466
  let r = 0;
467
467
  for (let t = 0; t < e.length; t += 1) n.includes(e[t]) && (r += 1);
468
468
  return r < t;
469
469
  }
470
- let Z = x(jn.value);
471
- Ze(() => jn.value, (e) => Z.value = e);
472
- function Nn(e) {
470
+ let X = x(Mn.value);
471
+ Ze(() => Mn.value, (e) => X.value = e);
472
+ function Pn(e) {
473
473
  let t = e.map((e) => e.id);
474
- if (e.some((e) => J.value.includes(e.id))) {
474
+ if (e.some((e) => q.value.includes(e.id))) {
475
475
  let e = new Set(t);
476
- J.value = J.value.filter((t) => !e.has(t));
477
- } else J.value.push(...t);
478
- q("selectLegend", jn.value);
476
+ q.value = q.value.filter((t) => !e.has(t));
477
+ } else q.value.push(...t);
478
+ K("selectLegend", Mn.value);
479
479
  }
480
- function Pn(e) {
480
+ function Fn(e) {
481
481
  let t = D.dataset.flatMap((e, t) => e.series.map((e, n) => ({
482
- value: l(e.values).reduce((e, t) => e + t, 0),
482
+ value: o(e.values).reduce((e, t) => e + t, 0),
483
483
  id: `${O.value}_${t}_${n}`,
484
484
  arcOfId: `${O.value}_${t}`
485
485
  }))).find((t) => t.id === e.id);
486
486
  if (!t) return;
487
- let n = Y.value.flatMap((e) => e.series).find((t) => t.id === e.id)?.value ?? 0, r = Z.value.flatMap((e) => e.series).find((t) => t.id === e.id), i = r ? r.value : 0, a = Y.value.find((e) => e.id === t.arcOfId);
487
+ let n = J.value.flatMap((e) => e.series).find((t) => t.id === e.id)?.value ?? 0, r = X.value.flatMap((e) => e.series).find((t) => t.id === e.id), i = r ? r.value : 0, a = J.value.find((e) => e.id === t.arcOfId);
488
488
  if (!a) return;
489
- let o = a.series.map((e) => e.id), s = Mn(o, o.length - 1, J.value);
490
- J.value.includes(e.id) ? (J.value = J.value.filter((t) => t !== e.id), P.value.serieToggleAnimation.show ? An({
489
+ let s = a.series.map((e) => e.id), c = Nn(s, s.length - 1, q.value);
490
+ q.value.includes(e.id) ? (q.value = q.value.filter((t) => t !== e.id), N.value.serieToggleAnimation.show ? jn({
491
491
  from: i,
492
492
  to: n,
493
- duration: P.value.serieToggleAnimation.durationMs,
493
+ duration: N.value.serieToggleAnimation.durationMs,
494
494
  onUpdate: (t) => {
495
- Z.value = Z.value.map((n) => ({
495
+ X.value = X.value.map((n) => ({
496
496
  ...n,
497
497
  series: n.series.map((n) => n.id === e.id ? {
498
498
  ...n,
@@ -501,20 +501,20 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
501
501
  }));
502
502
  },
503
503
  onDone: () => {
504
- q("selectLegend", jn.value);
504
+ K("selectLegend", Mn.value);
505
505
  }
506
- }) : (Z.value = Z.value.map((t) => ({
506
+ }) : (X.value = X.value.map((t) => ({
507
507
  ...t,
508
508
  series: t.series.map((t) => t.id === e.id ? {
509
509
  ...t,
510
510
  value: n
511
511
  } : t)
512
- })), q("selectLegend", jn.value))) : s && (P.value.serieToggleAnimation.show ? An({
512
+ })), K("selectLegend", Mn.value))) : c && (N.value.serieToggleAnimation.show ? jn({
513
513
  from: i,
514
514
  to: 0,
515
- duration: P.value.serieToggleAnimation.durationMs,
515
+ duration: N.value.serieToggleAnimation.durationMs,
516
516
  onUpdate: (t) => {
517
- Z.value = Z.value.map((n) => ({
517
+ X.value = X.value.map((n) => ({
518
518
  ...n,
519
519
  series: n.series.map((n) => n.id === e.id ? {
520
520
  ...n,
@@ -523,40 +523,40 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
523
523
  }));
524
524
  },
525
525
  onDone: () => {
526
- J.value.push(e.id), q("selectLegend", jn.value);
526
+ q.value.push(e.id), K("selectLegend", Mn.value);
527
527
  }
528
- }) : (Z.value = Z.value.map((t) => ({
528
+ }) : (X.value = X.value.map((t) => ({
529
529
  ...t,
530
530
  series: t.series.map((t) => t.id === e.id ? {
531
531
  ...t,
532
532
  value: 0
533
533
  } : t)
534
- })), J.value.push(e.id), q("selectLegend", jn.value)));
535
- }
536
- function Fn(e) {
537
- return Y.value.length ? Y.value.flatMap((e) => e.series).filter((t) => t.name === e) || (W.value && console.warn(`VueUiNestedDonuts - Series name not found "${e}"`), null) : (W.value && console.warn("VueUiNestedDonuts - There are no series to show."), null);
534
+ })), q.value.push(e.id), K("selectLegend", Mn.value)));
538
535
  }
539
536
  function In(e) {
540
- let t = Fn(e);
541
- t !== null && (Array.isArray(t) ? t.forEach((e) => {
542
- J.value.includes(e.id) && Pn({ id: e.id });
543
- }) : J.value.includes(t.id) && Pn({ id: t.id }));
537
+ return J.value.length ? J.value.flatMap((e) => e.series).filter((t) => t.name === e) || (U.value && console.warn(`VueUiNestedDonuts - Series name not found "${e}"`), null) : (U.value && console.warn("VueUiNestedDonuts - There are no series to show."), null);
544
538
  }
545
539
  function Ln(e) {
546
- let t = Fn(e);
540
+ let t = In(e);
547
541
  t !== null && (Array.isArray(t) ? t.forEach((e) => {
548
- J.value.includes(e.id) || Pn({ id: e.id });
549
- }) : J.value.includes(t.id) || Pn({ id: t.id }));
542
+ q.value.includes(e.id) && Fn({ id: e.id });
543
+ }) : q.value.includes(t.id) && Fn({ id: t.id }));
550
544
  }
551
- let Rn = f(() => X.value / Y.value.length * R.value.donut.spacingRatio), zn = f(() => Z.value.map((e, t) => X.value - t * X.value / Y.value.length)), Bn = f(() => Z.value.map((e, t) => {
552
- let n = Math.abs(e.series.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0, r = X.value - t * X.value / Z.value.length, i = A.value ? $t.value.find((e) => e.datasetIndex === t) : null, o = [...e.series, ...i ? [i] : []].map((e) => ({
545
+ function Rn(e) {
546
+ let t = In(e);
547
+ t !== null && (Array.isArray(t) ? t.forEach((e) => {
548
+ q.value.includes(e.id) || Fn({ id: e.id });
549
+ }) : q.value.includes(t.id) || Fn({ id: t.id }));
550
+ }
551
+ let zn = f(() => Y.value / J.value.length * L.value.donut.spacingRatio), Bn = f(() => X.value.map((e, t) => Y.value - t * Y.value / J.value.length)), Z = f(() => X.value.map((e, t) => {
552
+ let n = Math.abs(e.series.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0, r = Y.value - t * Y.value / X.value.length, i = A.value ? $t.value.find((e) => e.datasetIndex === t) : null, o = [...e.series, ...i ? [i] : []].map((e) => ({
553
553
  ...e,
554
554
  value: e.value < 1e-11 ? Number.MIN_VALUE : e.value
555
555
  })), s = a({ series: [{
556
556
  name: "_",
557
- color: R.value.donut.emptyFill,
557
+ color: L.value.donut.emptyFill,
558
558
  value: 1
559
- }] }, K.value.width / 2, K.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Rn.value), ee = `M ${K.value.width / 2},${K.value.height / 2 + r}
559
+ }] }, G.value.width / 2, G.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, zn.value), c = `M ${G.value.width / 2},${G.value.height / 2 + r}
560
560
  a ${r},${r} 0 1,1 0,${-2 * r}
561
561
  a ${r},${r} 0 1,1 0,${2 * r}`;
562
562
  return {
@@ -564,18 +564,18 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
564
564
  hasData: n,
565
565
  radius: r,
566
566
  skeleton: s,
567
- fullCirclePath: ee,
568
- donut: a({ series: o }, K.value.width / 2, K.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Rn.value)
567
+ fullCirclePath: c,
568
+ donut: a({ series: o }, G.value.width / 2, G.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, zn.value)
569
569
  };
570
- })), Vn = f(() => [...Y.value].map((e, t) => {
571
- let n = t * X.value / Y.value.length;
570
+ })), Vn = f(() => [...J.value].map((e, t) => {
571
+ let n = t * Y.value / J.value.length;
572
572
  return {
573
573
  sizeRatio: n,
574
- donut: a({ series: [{ value: 1 }] }, K.value.width / 2, K.value.height / 2, X.value - n, X.value - n, 1.99999, 2, 1, 360, 105.25, X.value / Y.value.length * R.value.donut.spacingRatio)[0]
574
+ donut: a({ series: [{ value: 1 }] }, G.value.width / 2, G.value.height / 2, Y.value - n, Y.value - n, 1.99999, 2, 1, 360, 105.25, Y.value / J.value.length * L.value.donut.spacingRatio)[0]
575
575
  };
576
576
  })), Hn = x(null), Un = x(null), Wn = x(null), Gn = x(null);
577
577
  function Kn({ datapoint: e, seriesIndex: t }) {
578
- P.value.events.datapointLeave && P.value.events.datapointLeave({
578
+ N.value.events.datapointLeave && N.value.events.datapointLeave({
579
579
  datapoint: e,
580
580
  seriesIndex: t
581
581
  }), Ht.value = !1, Hn.value = null, Wt.value = null, Un.value = null, Wn.value = null, M.value = null, an.value = "pointer";
@@ -589,63 +589,63 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
589
589
  showPercentage: r
590
590
  });
591
591
  }
592
- function Jn({ datapoint: e, _relativeIndex: t, seriesIndex: r, triggerMode: i = "pointer" }) {
593
- P.value.events.datapointEnter && P.value.events.datapointEnter({
592
+ function Jn({ datapoint: e, _relativeIndex: n, seriesIndex: r, triggerMode: a = "pointer" }) {
593
+ N.value.events.datapointEnter && N.value.events.datapointEnter({
594
594
  datapoint: e,
595
595
  seriesIndex: r
596
- }), an.value = i, M.value = r, Hn.value = e.arcOfId, Un.value = e.id, Wn.value = r, Wt.value = e.id, Gn.value = {
596
+ }), an.value = a, M.value = r, Hn.value = e.arcOfId, Un.value = e.id, Wn.value = r, Wt.value = e.id, Gn.value = {
597
597
  datapoint: e,
598
598
  seriesIndex: r,
599
- series: Z.value,
600
- config: P.value
599
+ series: X.value,
600
+ config: N.value
601
601
  };
602
- let a = I.value.customFormat;
603
- if (n(a) && se(() => a({
602
+ let o = F.value.customFormat;
603
+ if (i(o) && ae(() => o({
604
604
  seriesIndex: r,
605
605
  datapoint: e,
606
- series: Z.value,
607
- config: P.value
608
- }))) Ut.value = a({
606
+ series: X.value,
607
+ config: N.value
608
+ }))) Ut.value = o({
609
609
  seriesIndex: r,
610
610
  datapoint: e,
611
- series: Z.value,
612
- config: P.value
611
+ series: X.value,
612
+ config: N.value
613
613
  });
614
614
  else {
615
- let t = "";
616
- if (I.value.showAllItemsAtIndex && J.value.length === 0) {
617
- let n = Z.value.map((e) => e.series.find((e) => e.seriesIndex === r));
618
- n.forEach((i, a) => {
619
- if (!i) return "";
620
- t += `
621
- <div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${a < n.length - 1 ? `border-bottom:1px solid ${I.value.borderColor}` : ""}">
615
+ let n = "";
616
+ if (F.value.showAllItemsAtIndex && q.value.length === 0) {
617
+ let i = X.value.map((e) => e.series.find((e) => e.seriesIndex === r));
618
+ i.forEach((a, o) => {
619
+ if (!a) return "";
620
+ n += `
621
+ <div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${o < i.length - 1 ? `border-bottom:1px solid ${F.value.borderColor}` : ""}">
622
622
  <div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
623
- <svg viewBox="0 0 20 20" height="${I.value.fontSize}" width="${I.value.fontSize}">
624
- <circle cx="10" cy="10" r="10" fill="${i.color}"/>
623
+ <svg viewBox="0 0 20 20" height="${F.value.fontSize}" width="${F.value.fontSize}">
624
+ <circle cx="10" cy="10" r="10" fill="${a.color}"/>
625
625
  </svg>
626
626
  <span>
627
- ${i.arcOf ?? ""} - ${i.name}
627
+ ${a.arcOf ?? ""} - ${a.name}
628
628
  </span>
629
629
  </div>
630
630
  <span>
631
631
  <b>
632
632
  ${qn({
633
- config: z.value.tooltip,
634
- showVal: I.value.showValue,
635
- showPercentage: I.value.showPercentage,
636
- val: oe(R.value.labels.dataLabels.formatter, e.value, u({
637
- p: z.value.layout.labels.dataLabels.prefix,
633
+ config: R.value.tooltip,
634
+ showVal: F.value.showValue,
635
+ showPercentage: F.value.showPercentage,
636
+ val: oe(L.value.labels.dataLabels.formatter, e.value, t({
637
+ p: R.value.layout.labels.dataLabels.prefix,
638
638
  v: e.value,
639
- s: z.value.layout.labels.dataLabels.suffix,
640
- r: z.value.tooltip.roundingValue
639
+ s: R.value.layout.labels.dataLabels.suffix,
640
+ r: R.value.tooltip.roundingValue
641
641
  }), {
642
642
  datapoint: e,
643
643
  seriesIndex: r
644
644
  }),
645
- percentage: u({
646
- v: i.proportion * 100,
645
+ percentage: t({
646
+ v: a.proportion * 100,
647
647
  s: "%",
648
- r: z.value.tooltip.roundingPercentage
648
+ r: R.value.tooltip.roundingPercentage
649
649
  })
650
650
  })}
651
651
  </b>
@@ -653,173 +653,173 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
653
653
  </div>
654
654
  `;
655
655
  });
656
- } else t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, I.value.showValue && (t += `<b>${oe(F.value.dataLabels.formatter, e.value, u({
657
- p: F.value.dataLabels.prefix,
656
+ } else n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, F.value.showValue && (n += `<b>${oe(P.value.dataLabels.formatter, e.value, t({
657
+ p: P.value.dataLabels.prefix,
658
658
  v: e.value,
659
- s: F.value.dataLabels.suffix,
660
- r: I.value.roundingValue
659
+ s: P.value.dataLabels.suffix,
660
+ r: F.value.roundingValue
661
661
  }), {
662
662
  datapoint: e,
663
663
  seriesIndex: r
664
- })}</b>`), I.value.showPercentage && (I.value.showValue ? t += `<span>(${u({
664
+ })}</b>`), F.value.showPercentage && (F.value.showValue ? n += `<span>(${t({
665
665
  v: e.proportion * 100,
666
666
  s: "%",
667
- r: I.value.roundingPercentage
668
- })})</span></div>` : t += `<b>${u({
667
+ r: F.value.roundingPercentage
668
+ })})</span></div>` : n += `<b>${t({
669
669
  v: e.proportion * 100,
670
670
  s: "%",
671
- r: I.value.roundingPercentage
671
+ r: F.value.roundingPercentage
672
672
  })}</b></div>`);
673
- Ut.value = `<div style="font-size:${I.value.fontSize}px">${t}</div>`;
673
+ Ut.value = `<div style="font-size:${F.value.fontSize}px">${n}</div>`;
674
674
  }
675
675
  Ht.value = !0;
676
676
  }
677
677
  function Yn(e) {
678
- return e.proportion * 100 > F.value.dataLabels.hideUnderValue;
678
+ return e.proportion * 100 > P.value.dataLabels.hideUnderValue;
679
679
  }
680
680
  function Xn(e, t) {
681
- if (!P.value.useBlurOnHover) return "";
682
- if (I.value.showAllItemsAtIndex && J.value.length === 0) return [null, void 0].includes(Wn.value) || Wn.value === t ? "" : `url(#blur_${O.value})`;
683
- if (!I.value.showAllItemsAtIndex || J.value.length) return [null, void 0].includes(Un.value) || Un.value === e.id ? "" : `url(#blur_${O.value})`;
681
+ if (!N.value.useBlurOnHover) return "";
682
+ if (F.value.showAllItemsAtIndex && q.value.length === 0) return [null, void 0].includes(Wn.value) || Wn.value === t ? "" : `url(#blur_${O.value})`;
683
+ if (!F.value.showAllItemsAtIndex || q.value.length) return [null, void 0].includes(Un.value) || Un.value === e.id ? "" : `url(#blur_${O.value})`;
684
684
  }
685
- let Zn = f(() => Y.value.map((e, t) => {
686
- let n = e.series.filter((e) => !J.value.includes(e.id)), r = A.value ? n.map((e) => {
687
- let n = V.value[t].series.findIndex((t) => t.name === e.name);
688
- return l(V.value[t].series[n].values).reduce((e, t) => e + t, 0);
689
- }).reduce((e, t) => e + t, 0) : n.map((e) => e.value).reduce((e, t) => e + t, 0);
690
- return e.series.map((e, n) => {
691
- let i = l(V.value[t].series[n].values).reduce((e, t) => e + t, 0), a = A.value ? i : e.value, o = qn({
692
- val: oe(F.value.dataLabels.formatter, a, u({
693
- p: F.value.dataLabels.prefix,
694
- v: a,
695
- s: F.value.dataLabels.suffix,
696
- r: z.value.legend.roundingValue
685
+ let Zn = f(() => J.value.map((e, n) => {
686
+ let r = e.series.filter((e) => !q.value.includes(e.id)), i = A.value ? r.map((e) => {
687
+ let t = B.value[n].series.findIndex((t) => t.name === e.name);
688
+ return o(B.value[n].series[t].values).reduce((e, t) => e + t, 0);
689
+ }).reduce((e, t) => e + t, 0) : r.map((e) => e.value).reduce((e, t) => e + t, 0);
690
+ return e.series.map((e, r) => {
691
+ let a = o(B.value[n].series[r].values).reduce((e, t) => e + t, 0), s = A.value ? a : e.value, c = qn({
692
+ val: oe(P.value.dataLabels.formatter, s, t({
693
+ p: P.value.dataLabels.prefix,
694
+ v: s,
695
+ s: P.value.dataLabels.suffix,
696
+ r: R.value.legend.roundingValue
697
697
  }), {
698
698
  datapoint: e,
699
- seriesIndex: n
699
+ seriesIndex: r
700
700
  }),
701
- percentage: isNaN(a / r) || J.value.includes(e.id) ? "-" : u({
702
- v: a / r * 100,
701
+ percentage: isNaN(s / i) || q.value.includes(e.id) ? "-" : t({
702
+ v: s / i * 100,
703
703
  s: "%",
704
- r: z.value.legend.roundingPercentage
704
+ r: R.value.legend.roundingPercentage
705
705
  }),
706
- showVal: z.value.legend.showValue,
707
- showPercentage: z.value.legend.showPercentage,
708
- config: z.value.legend
709
- }), s = `${e.name}${z.value.legend.showPercentage || z.value.legend.showValue ? ": " : ""}${o}`;
706
+ showVal: R.value.legend.showValue,
707
+ showPercentage: R.value.legend.showPercentage,
708
+ config: R.value.legend
709
+ }), l = `${e.name}${R.value.legend.showPercentage || R.value.legend.showValue ? ": " : ""}${c}`;
710
710
  return {
711
711
  name: e.name,
712
712
  color: e.color,
713
- value: a,
714
- display: s,
715
- svgDisplay: `${e.arcOf ? `${e.arcOf} - ` : ""}${s}`,
713
+ value: s,
714
+ display: l,
715
+ svgDisplay: `${e.arcOf ? `${e.arcOf} - ` : ""}${l}`,
716
716
  shape: "circle",
717
717
  arcOf: e.arcOf,
718
718
  id: e.id,
719
- seriesIndex: n,
720
- datasetIndex: t,
721
- total: r,
722
- opacity: J.value.includes(e.id) ? .5 : 1,
723
- segregate: () => Pn(e),
724
- isSegregated: J.value.includes(e.id)
719
+ seriesIndex: r,
720
+ datasetIndex: n,
721
+ total: i,
722
+ opacity: q.value.includes(e.id) ? .5 : 1,
723
+ segregate: () => Fn(e),
724
+ isSegregated: q.value.includes(e.id)
725
725
  };
726
726
  });
727
727
  })), Qn = f(() => ({
728
728
  cy: "nested-donuts-legend",
729
- backgroundColor: z.value.legend.backgroundColor,
730
- color: z.value.legend.color,
731
- fontSize: z.value.legend.fontSize,
729
+ backgroundColor: R.value.legend.backgroundColor,
730
+ color: R.value.legend.color,
731
+ fontSize: R.value.legend.fontSize,
732
732
  paddingBottom: 12,
733
- fontWeight: z.value.legend.bold ? "bold" : ""
733
+ fontWeight: R.value.legend.bold ? "bold" : ""
734
734
  })), Q = f(() => ({
735
- head: Z.value.flatMap((e) => e.series.map((t) => ({
735
+ head: X.value.flatMap((e) => e.series.map((t) => ({
736
736
  name: `${e.name} - ${t.name}`,
737
737
  color: t.color,
738
738
  total: e.total
739
739
  }))),
740
- body: Z.value.flatMap((e) => e.series.map((e) => e.value))
740
+ body: X.value.flatMap((e) => e.series.map((e) => e.value))
741
741
  }));
742
742
  function $n(e = null) {
743
743
  He(() => {
744
- let n = Q.value.head.map((e, t) => [
744
+ let t = Q.value.head.map((e, t) => [
745
745
  [e.name],
746
746
  [Q.value.body[t]],
747
747
  [isNaN(Q.value.body[t] / e.total) ? "-" : Q.value.body[t] / e.total * 100]
748
- ]), i = [
749
- [z.value.title.text],
750
- [z.value.title.subtitle.text],
748
+ ]), n = [
749
+ [R.value.title.text],
750
+ [R.value.title.subtitle.text],
751
751
  [
752
752
  [""],
753
753
  ["val"],
754
754
  ["%"]
755
755
  ]
756
- ].concat(n), a = r(i);
757
- e ? e(a) : t({
758
- csvContent: a,
759
- title: z.value.title.text || "vue-ui-nested-donuts"
756
+ ].concat(t), i = r(n);
757
+ e ? e(i) : le({
758
+ csvContent: i,
759
+ title: R.value.title.text || "vue-ui-nested-donuts"
760
760
  });
761
761
  });
762
762
  }
763
763
  let er = f(() => {
764
764
  let e = [
765
- P.value.table.columnNames.series,
766
- P.value.table.columnNames.value,
767
- P.value.table.columnNames.percentage
768
- ], t = Q.value.head.map((e, t) => {
769
- let n = u({
770
- p: F.value.dataLabels.prefix,
771
- v: Q.value.body[t],
772
- s: F.value.dataLabels.suffix,
773
- r: P.value.table.td.roundingValue
765
+ N.value.table.columnNames.series,
766
+ N.value.table.columnNames.value,
767
+ N.value.table.columnNames.percentage
768
+ ], n = Q.value.head.map((e, n) => {
769
+ let r = t({
770
+ p: P.value.dataLabels.prefix,
771
+ v: Q.value.body[n],
772
+ s: P.value.dataLabels.suffix,
773
+ r: N.value.table.td.roundingValue
774
774
  });
775
775
  return [
776
776
  {
777
777
  color: e.color,
778
778
  name: e.name
779
779
  },
780
- n,
781
- isNaN(Q.value.body[t] / e.total) ? "-" : u({
782
- v: Q.value.body[t] / e.total * 100,
780
+ r,
781
+ isNaN(Q.value.body[n] / e.total) ? "-" : t({
782
+ v: Q.value.body[n] / e.total * 100,
783
783
  s: "%",
784
- r: P.value.table.td.roundingPercentage
784
+ r: N.value.table.td.roundingPercentage
785
785
  })
786
786
  ];
787
- }), n = t.map((e) => e.map((e, t) => t === 0 ? e.name : e)), r = {
787
+ }), r = n.map((e) => e.map((e, t) => t === 0 ? e.name : e)), i = {
788
788
  th: {
789
- backgroundColor: P.value.table.th.backgroundColor,
790
- color: P.value.table.th.color,
791
- outline: P.value.table.th.outline
789
+ backgroundColor: N.value.table.th.backgroundColor,
790
+ color: N.value.table.th.color,
791
+ outline: N.value.table.th.outline
792
792
  },
793
793
  td: {
794
- backgroundColor: P.value.table.td.backgroundColor,
795
- color: P.value.table.td.color,
796
- outline: P.value.table.td.outline
794
+ backgroundColor: N.value.table.td.backgroundColor,
795
+ color: N.value.table.td.color,
796
+ outline: N.value.table.td.outline
797
797
  },
798
- breakpoint: P.value.table.responsiveBreakpoint
798
+ breakpoint: N.value.table.responsiveBreakpoint
799
799
  };
800
800
  return {
801
801
  colNames: [
802
- P.value.table.columnNames.series,
803
- P.value.table.columnNames.value,
804
- P.value.table.columnNames.percentage
802
+ N.value.table.columnNames.series,
803
+ N.value.table.columnNames.value,
804
+ N.value.table.columnNames.percentage
805
805
  ],
806
806
  head: e,
807
- body: t,
808
- a11yBody: n,
809
- config: r
807
+ body: n,
808
+ a11yBody: r,
809
+ config: i
810
810
  };
811
811
  });
812
812
  function tr() {
813
- return Y.value;
813
+ return J.value;
814
814
  }
815
815
  function nr() {
816
- G.value.showTable = !G.value.showTable;
816
+ W.value.showTable = !W.value.showTable;
817
817
  }
818
818
  function rr() {
819
- G.value.dataLabels.show = !G.value.dataLabels.show;
819
+ W.value.dataLabels.show = !W.value.dataLabels.show;
820
820
  }
821
821
  function ir() {
822
- G.value.showTooltip = !G.value.showTooltip;
822
+ W.value.showTooltip = !W.value.showTooltip;
823
823
  }
824
824
  let ar = x(!1);
825
825
  function or() {
@@ -836,7 +836,7 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
836
836
  return {
837
837
  imageUri: i,
838
838
  base64: a,
839
- title: z.value.title.text,
839
+ title: R.value.title.text,
840
840
  width: t,
841
841
  height: n,
842
842
  aspectRatio: r
@@ -846,71 +846,71 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
846
846
  function lr() {
847
847
  if (!cr.value) return;
848
848
  let { x: e, y: t, width: n, height: r } = cr.value.getBBox();
849
- H.value && H.value.setAttribute("viewBox", `${e} ${t} ${n + Math.min(0, e)} ${r + Math.min(0, t)}`);
849
+ V.value && V.value.setAttribute("viewBox", `${e} ${t} ${n + Math.min(0, e)} ${r + Math.min(0, t)}`);
850
850
  }
851
851
  let ur = f(() => {
852
- let e = P.value.table.useDialog && !P.value.table.show, t = G.value.showTable;
852
+ let e = N.value.table.useDialog && !N.value.table.show, t = W.value.showTable;
853
853
  return {
854
854
  component: e ? Lt : Mt,
855
- title: `${z.value.title.text}${z.value.title.subtitle.text ? `: ${z.value.title.subtitle.text}` : ""}`,
855
+ title: `${R.value.title.text}${R.value.title.subtitle.text ? `: ${R.value.title.subtitle.text}` : ""}`,
856
856
  props: e ? {
857
- backgroundColor: P.value.table.th.backgroundColor,
858
- color: P.value.table.th.color,
859
- headerColor: P.value.table.th.color,
860
- headerBg: P.value.table.th.backgroundColor,
861
- isFullscreen: N.value,
857
+ backgroundColor: N.value.table.th.backgroundColor,
858
+ color: N.value.table.th.color,
859
+ headerColor: N.value.table.th.color,
860
+ headerBg: N.value.table.th.backgroundColor,
861
+ isFullscreen: sn.value,
862
862
  fullscreenParent: k.value,
863
863
  forcedWidth: Math.min(800, window.innerWidth * .8),
864
- isCursorPointer: B.value
864
+ isCursorPointer: z.value
865
865
  } : {
866
866
  hideDetails: !0,
867
867
  config: {
868
868
  open: t,
869
869
  maxHeight: 1e4,
870
870
  body: {
871
- backgroundColor: z.value.backgroundColor,
872
- color: z.value.color
871
+ backgroundColor: R.value.backgroundColor,
872
+ color: R.value.color
873
873
  },
874
874
  head: {
875
- backgroundColor: z.value.backgroundColor,
876
- color: z.value.color
875
+ backgroundColor: R.value.backgroundColor,
876
+ color: R.value.color
877
877
  }
878
878
  }
879
879
  }
880
880
  };
881
881
  });
882
- Ze(() => G.value.showTable, (e) => {
883
- P.value.table.show || (e && P.value.table.useDialog && tn.value ? tn.value.open() : "close" in tn.value && tn.value.close());
882
+ Ze(() => W.value.showTable, (e) => {
883
+ N.value.table.show || (e && N.value.table.useDialog && tn.value ? tn.value.open() : "close" in tn.value && tn.value.close());
884
884
  });
885
885
  function dr() {
886
- G.value.showTable = !1, nn.value && nn.value.setTableIconState(!1);
886
+ W.value.showTable = !1, nn.value && nn.value.setTableIconState(!1);
887
887
  }
888
- let fr = f(() => z.value.backgroundColor), pr = f(() => z.value.legend), mr = f(() => z.value.title), hr = f(() => Zn.value.flat().map((e) => ({
888
+ let fr = f(() => R.value.backgroundColor), pr = f(() => R.value.legend), mr = f(() => R.value.title), hr = f(() => Zn.value.flat().map((e) => ({
889
889
  ...e,
890
890
  name: e.svgDisplay
891
891
  }))), { isCallbackImaging: gr, isCallbackSvg: _r, generateSvg: vr, onGenerateImage: yr } = Ce({
892
- svg: H,
892
+ svg: V,
893
893
  title: mr,
894
894
  legend: pr,
895
895
  legendItems: hr,
896
896
  backgroundColor: fr,
897
- getSvgCallback: () => P.value.userOptions.callbacks.svg,
898
- generateImage: En
897
+ getSvgCallback: () => N.value.userOptions.callbacks.svg,
898
+ generateImage: Dn
899
899
  });
900
900
  async function br() {
901
- if (q("copyAlt", {
902
- config: P.value,
903
- dataset: Z.value
904
- }), !P.value.userOptions.callbacks.altCopy) {
901
+ if (K("copyAlt", {
902
+ config: N.value,
903
+ dataset: X.value
904
+ }), !N.value.userOptions.callbacks.altCopy) {
905
905
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
906
906
  return;
907
907
  }
908
- await Promise.resolve(P.value.userOptions.callbacks.altCopy({
909
- config: P.value,
910
- dataset: Z.value
908
+ await Promise.resolve(N.value.userOptions.callbacks.altCopy({
909
+ config: N.value,
910
+ dataset: X.value
911
911
  }));
912
912
  }
913
- let $ = f(() => Bn.value.flatMap((e) => e.donut.filter((e) => !e.ghost)));
913
+ let $ = f(() => Z.value.flatMap((e) => e.donut.filter((e) => !e.ghost)));
914
914
  function xr() {
915
915
  M.value = null, on.value = !0;
916
916
  }
@@ -918,7 +918,7 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
918
918
  M.value = null, an.value = "pointer", Ht.value = !1, Hn.value = null, Wt.value = null, Un.value = null, Wn.value = null, on.value = !1;
919
919
  }
920
920
  function Cr(e) {
921
- if (!H.value || ar.value || document.activeElement !== H.value || !$.value.length) return;
921
+ if (!V.value || ar.value || document.activeElement !== V.value || !$.value.length) return;
922
922
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
923
923
  if (!t && !n && !r && !i) return;
924
924
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -929,27 +929,27 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
929
929
  if (M.value === null) return;
930
930
  let e = $.value[M.value];
931
931
  if (!e) return;
932
- kn({
932
+ An({
933
933
  datapoint: e,
934
934
  index: M.value,
935
935
  seriesIndex: e.seriesIndex
936
936
  });
937
937
  return;
938
938
  }
939
- let a = M.value, o = Wn.value, s = a !== null && a >= 0 && a < $.value.length, ee = o !== null && o >= 0 && o < $.value.length;
940
- s ? n ? (a += 1, a >= $.value.length && (a = 0)) : t && (--a, a < 0 && (a = $.value.length - 1)) : ee ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
941
- let c = $.value[a];
942
- c && (M.value = a, wr(), Jn({
943
- datapoint: c,
939
+ let a = M.value, o = Wn.value, s = a !== null && a >= 0 && a < $.value.length, c = o !== null && o >= 0 && o < $.value.length;
940
+ s ? n ? (a += 1, a >= $.value.length && (a = 0)) : t && (--a, a < 0 && (a = $.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
941
+ let l = $.value[a];
942
+ l && (M.value = a, wr(), Jn({
943
+ datapoint: l,
944
944
  relativeIndex: a,
945
- seriesIndex: c.seriesIndex,
945
+ seriesIndex: l.seriesIndex,
946
946
  show: !0,
947
947
  triggerMode: "keyboard"
948
948
  }));
949
949
  }
950
950
  function wr() {
951
- if (!H.value) return;
952
- let e = H.value.getBoundingClientRect();
951
+ if (!V.value) return;
952
+ let e = V.value.getBoundingClientRect();
953
953
  rn.value = {
954
954
  x: e.left + e.width / 2,
955
955
  y: e.top + e.height / 2
@@ -963,38 +963,38 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
963
963
  autoSize: lr,
964
964
  getData: tr,
965
965
  getImage: sr,
966
- generatePdf: Tn,
966
+ generatePdf: En,
967
967
  generateCsv: $n,
968
- generateImage: En,
968
+ generateImage: Dn,
969
969
  generateSvg: vr,
970
- hideSeries: Ln,
971
- showSeries: In,
970
+ hideSeries: Rn,
971
+ showSeries: Ln,
972
972
  toggleTable: nr,
973
973
  toggleLabels: rr,
974
974
  toggleTooltip: ir,
975
975
  toggleAnnotator: or,
976
- toggleFullscreen: sn,
976
+ toggleFullscreen: cn,
977
977
  copyAlt: br
978
- }), (e, t) => (b(), h("div", {
978
+ }), (e, n) => (b(), h("div", {
979
979
  ref_key: "nestedDonutsChart",
980
980
  ref: k,
981
- class: Ue(`vue-data-ui-component vue-ui-nested-donuts ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
982
- style: We(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${z.value.backgroundColor}`),
981
+ class: Ue(`vue-data-ui-component vue-ui-nested-donuts ${sn.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
982
+ style: We(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${R.value.backgroundColor}`),
983
983
  id: `nested_donuts_${O.value}`,
984
- onMouseenter: t[2] ||= () => T(pn)(!0),
985
- onMouseleave: t[3] ||= () => T(pn)(!1)
984
+ onMouseenter: n[2] ||= () => T(mn)(!0),
985
+ onMouseleave: n[3] ||= () => T(mn)(!1)
986
986
  }, [
987
987
  g("div", {
988
988
  id: `chart-instructions-${O.value}`,
989
989
  class: "sr-only"
990
- }, [g("p", null, w(P.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
990
+ }, [g("p", null, w(N.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
991
991
  Tr.value?.rows?.length ? (b(), p(je, {
992
992
  key: 0,
993
993
  uid: O.value,
994
994
  head: Tr.value.headers,
995
995
  body: Tr.value.rows,
996
- notice: P.value.a11y.translations.tableAvailable,
997
- caption: P.value.a11y.translations.tableCaption
996
+ notice: N.value.a11y.translations.tableAvailable,
997
+ caption: N.value.a11y.translations.tableCaption
998
998
  }, null, 8, [
999
999
  "uid",
1000
1000
  "head",
@@ -1002,14 +1002,14 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1002
1002
  "notice",
1003
1003
  "caption"
1004
1004
  ])) : m("", !0),
1005
- L.value.buttons.annotator ? (b(), p(T(Ft), {
1005
+ I.value.buttons.annotator ? (b(), p(T(Ft), {
1006
1006
  key: 1,
1007
- svgRef: T(H),
1008
- backgroundColor: z.value.backgroundColor,
1009
- color: z.value.color,
1007
+ svgRef: T(V),
1008
+ backgroundColor: R.value.backgroundColor,
1009
+ color: R.value.color,
1010
1010
  active: ar.value,
1011
- isCursorPointer: B.value,
1012
- palette: L.value.annotatorPalette,
1011
+ isCursorPointer: z.value,
1012
+ palette: I.value.annotatorPalette,
1013
1013
  onClose: or
1014
1014
  }, {
1015
1015
  "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
@@ -1027,14 +1027,14 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1027
1027
  "isCursorPointer",
1028
1028
  "palette"
1029
1029
  ])) : m("", !0),
1030
- Dn.value ? (b(), h("div", {
1030
+ On.value ? (b(), h("div", {
1031
1031
  key: 2,
1032
1032
  ref_key: "noTitle",
1033
1033
  ref: Yt,
1034
1034
  class: "vue-data-ui-no-title-space",
1035
1035
  style: "height:36px; width: 100%;background:transparent"
1036
1036
  }, null, 512)) : m("", !0),
1037
- z.value.title.text ? (b(), h("div", {
1037
+ R.value.title.text ? (b(), h("div", {
1038
1038
  key: 3,
1039
1039
  ref_key: "chartTitle",
1040
1040
  ref: Kt
@@ -1043,46 +1043,46 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1043
1043
  config: {
1044
1044
  title: {
1045
1045
  cy: "donut-div-title",
1046
- ...z.value.title
1046
+ ...R.value.title
1047
1047
  },
1048
1048
  subtitle: {
1049
1049
  cy: "donut-div-subtitle",
1050
- ...z.value.title.subtitle
1050
+ ...R.value.title.subtitle
1051
1051
  }
1052
1052
  }
1053
1053
  }, null, 8, ["config"]))], 512)) : m("", !0),
1054
1054
  g("div", { id: `legend-top-${O.value}` }, null, 8, nt),
1055
- L.value.show && Vt.value && (T(mn) || T(fn)) ? (b(), p(T(Pt), {
1055
+ I.value.show && Vt.value && (T(hn) || T(pn)) ? (b(), p(T(Pt), {
1056
1056
  ref_key: "userOptionsRef",
1057
1057
  ref: nn,
1058
1058
  key: `user_option_${Gt.value}`,
1059
- backgroundColor: z.value.backgroundColor,
1060
- color: z.value.color,
1061
- isPrinting: T(Cn),
1062
- isImaging: T(wn),
1059
+ backgroundColor: R.value.backgroundColor,
1060
+ color: R.value.color,
1061
+ isPrinting: T(wn),
1062
+ isImaging: T(Tn),
1063
1063
  uid: O.value,
1064
- hasTooltip: L.value.buttons.tooltip && I.value.show,
1065
- hasPdf: L.value.buttons.pdf,
1066
- hasXls: L.value.buttons.csv,
1067
- hasImg: L.value.buttons.img,
1068
- hasSvg: L.value.buttons.svg,
1069
- hasTable: L.value.buttons.table,
1070
- hasLabel: L.value.buttons.labels,
1071
- hasFullscreen: L.value.buttons.fullscreen,
1072
- hasAltCopy: L.value.buttons.altCopy,
1073
- isFullscreen: N.value,
1074
- isTooltip: G.value.showTooltip,
1075
- titles: { ...L.value.buttonTitles },
1064
+ hasTooltip: I.value.buttons.tooltip && F.value.show,
1065
+ hasPdf: I.value.buttons.pdf,
1066
+ hasXls: I.value.buttons.csv,
1067
+ hasImg: I.value.buttons.img,
1068
+ hasSvg: I.value.buttons.svg,
1069
+ hasTable: I.value.buttons.table,
1070
+ hasLabel: I.value.buttons.labels,
1071
+ hasFullscreen: I.value.buttons.fullscreen,
1072
+ hasAltCopy: I.value.buttons.altCopy,
1073
+ isFullscreen: sn.value,
1074
+ isTooltip: W.value.showTooltip,
1075
+ titles: { ...I.value.buttonTitles },
1076
1076
  chartElement: k.value,
1077
- position: L.value.position,
1078
- hasAnnotator: L.value.buttons.annotator,
1077
+ position: I.value.position,
1078
+ hasAnnotator: I.value.buttons.annotator,
1079
1079
  isAnnotation: ar.value,
1080
- callbacks: L.value.callbacks,
1081
- printScale: L.value.print.scale,
1082
- tableDialog: P.value.table.useDialog,
1083
- isCursorPointer: B.value,
1084
- onToggleFullscreen: sn,
1085
- onGeneratePdf: T(Tn),
1080
+ callbacks: I.value.callbacks,
1081
+ printScale: I.value.print.scale,
1082
+ tableDialog: N.value.table.useDialog,
1083
+ isCursorPointer: z.value,
1084
+ onToggleFullscreen: cn,
1085
+ onGeneratePdf: T(En),
1086
1086
  onGenerateCsv: $n,
1087
1087
  onGenerateImage: T(yr),
1088
1088
  onGenerateSvg: T(vr),
@@ -1091,7 +1091,7 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1091
1091
  onToggleTooltip: ir,
1092
1092
  onToggleAnnotator: or,
1093
1093
  onCopyAlt: br,
1094
- style: We({ visibility: T(mn) ? T(fn) ? "visible" : "hidden" : "visible" })
1094
+ style: We({ visibility: T(hn) ? T(pn) ? "visible" : "hidden" : "visible" })
1095
1095
  }, Re({ _: 2 }, [
1096
1096
  e.$slots.menuIcon ? {
1097
1097
  name: "menuIcon",
@@ -1170,16 +1170,16 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1170
1170
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : m("", !0),
1171
1171
  g("div", rt, [(b(), h("svg", {
1172
1172
  ref_key: "svgRef",
1173
- ref: H,
1173
+ ref: V,
1174
1174
  xmlns: T(fe),
1175
1175
  "aria-describedby": `chart-instructions-${O.value}`,
1176
1176
  class: Ue({
1177
- "vue-data-ui-fullscreen--on": N.value,
1178
- "vue-data-ui-fulscreen--off": !N.value,
1177
+ "vue-data-ui-fullscreen--on": sn.value,
1178
+ "vue-data-ui-fulscreen--off": !sn.value,
1179
1179
  "vue-data-ui-svg": !0
1180
1180
  }),
1181
- viewBox: `0 0 ${K.value.width <= 0 ? .001 : K.value.width} ${K.value.height < 0 ? .001 : K.value.height}`,
1182
- style: We(`max-width:100%; overflow: visible; background:transparent;color:${z.value.color};${vn.value.css}`),
1181
+ viewBox: `0 0 ${G.value.width <= 0 ? .001 : G.value.width} ${G.value.height < 0 ? .001 : G.value.height}`,
1182
+ style: We(`max-width:100%; overflow: visible; background:transparent;color:${R.value.color};${yn.value.css}`),
1183
1183
  tabindex: "0",
1184
1184
  onFocus: xr,
1185
1185
  onBlur: Sr,
@@ -1194,8 +1194,8 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1194
1194
  key: 0,
1195
1195
  x: 0,
1196
1196
  y: 0,
1197
- width: K.value.width <= 0 ? .001 : K.value.width,
1198
- height: K.value.height < 0 ? .001 : K.value.height,
1197
+ width: G.value.width <= 0 ? .001 : G.value.width,
1198
+ height: G.value.height < 0 ? .001 : G.value.height,
1199
1199
  style: { pointerEvents: "none" }
1200
1200
  }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, at)) : m("", !0),
1201
1201
  g("defs", null, [(b(!0), h(d, null, S(Vn.value, (e, t) => (b(), p(ke, {
@@ -1209,14 +1209,14 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1209
1209
  0
1210
1210
  ],
1211
1211
  [
1212
- `${(1 - Rn.value / zn.value[t]) * 100}%`,
1213
- T(c)("#FFFFFF", 0),
1212
+ `${(1 - zn.value / Bn.value[t]) * 100}%`,
1213
+ T(de)("#FFFFFF", 0),
1214
1214
  0
1215
1215
  ],
1216
1216
  [
1217
- `${(1 - Rn.value / zn.value[t] / 2) * 100}%`,
1217
+ `${(1 - zn.value / Bn.value[t] / 2) * 100}%`,
1218
1218
  "#FFFFFF",
1219
- z.value.gradientIntensity / 100
1219
+ R.value.gradientIntensity / 100
1220
1220
  ],
1221
1221
  [
1222
1222
  "100%",
@@ -1235,7 +1235,7 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1235
1235
  in: "SourceGraphic",
1236
1236
  stdDeviation: 2,
1237
1237
  id: `blur_std_${O.value}`
1238
- }, null, 8, st), t[4] ||= g("feColorMatrix", {
1238
+ }, null, 8, st), n[4] ||= g("feColorMatrix", {
1239
1239
  type: "saturate",
1240
1240
  values: "0"
1241
1241
  }, null, -1)], 8, ot), g("filter", {
@@ -1246,101 +1246,101 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1246
1246
  dy: "0",
1247
1247
  stdDeviation: "10",
1248
1248
  "flood-opacity": "0.5",
1249
- "flood-color": R.value.donut.shadowColor
1249
+ "flood-color": L.value.donut.shadowColor
1250
1250
  }, null, 8, lt)], 8, ct)]),
1251
- g("defs", null, [(b(!0), h(d, null, S(Bn.value, (e, t) => (b(), h("path", {
1251
+ g("defs", null, [(b(!0), h(d, null, S(Z.value, (e, t) => (b(), h("path", {
1252
1252
  key: `path-full-${t}`,
1253
1253
  id: `path-full-${t}-${O.value}`,
1254
1254
  d: e.fullCirclePath,
1255
1255
  fill: "none"
1256
1256
  }, null, 8, ut))), 128))]),
1257
- (b(!0), h(d, null, S(Bn.value, (e, t) => (b(), h("g", null, [e.hasData ? (b(!0), h(d, { key: 0 }, S(e.donut.filter((e) => !e.ghost), (e, t) => (b(), h("g", null, [g("path", {
1257
+ (b(!0), h(d, null, S(Z.value, (e, t) => (b(), h("g", null, [e.hasData ? (b(!0), h(d, { key: 0 }, S(e.donut.filter((e) => !e.ghost), (e, t) => (b(), h("g", null, [g("path", {
1258
1258
  class: "vue-ui-donut-arc-path",
1259
1259
  d: e.arcSlice,
1260
1260
  fill: e.color,
1261
- stroke: R.value.donut.borderColorAuto ? z.value.backgroundColor : R.value.donut.borderColor,
1262
- "stroke-width": R.value.donut.borderWidth,
1261
+ stroke: L.value.donut.borderColorAuto ? R.value.backgroundColor : L.value.donut.borderColor,
1262
+ "stroke-width": L.value.donut.borderWidth,
1263
1263
  filter: Xn(e, t)
1264
1264
  }, null, 8, dt)]))), 256)) : (b(!0), h(d, { key: 1 }, S(e.skeleton, (e, t) => (b(), h("g", null, [g("path", {
1265
1265
  class: "vue-ui-donut-arc-path",
1266
1266
  d: e.arcSlice,
1267
1267
  fill: e.color,
1268
- stroke: R.value.donut.borderColorAuto ? z.value.backgroundColor : R.value.donut.borderColor,
1269
- "stroke-width": R.value.donut.borderWidth
1268
+ stroke: L.value.donut.borderColorAuto ? R.value.backgroundColor : L.value.donut.borderColor,
1269
+ "stroke-width": L.value.donut.borderWidth
1270
1270
  }, null, 8, ft)]))), 256))]))), 256)),
1271
- z.value.useGradient ? (b(), h("g", pt, [(b(!0), h(d, null, S(Vn.value, (e, t) => (b(), h("g", null, [g("path", {
1271
+ R.value.useGradient ? (b(), h("g", pt, [(b(!0), h(d, null, S(Vn.value, (e, t) => (b(), h("g", null, [g("path", {
1272
1272
  d: e.donut.arcSlice,
1273
1273
  fill: `url(#radial_${O.value}_${t})`,
1274
1274
  stroke: "transparent",
1275
1275
  "stroke-width": "0"
1276
1276
  }, null, 8, mt)]))), 256))])) : m("", !0),
1277
- F.value.dataLabels.showDonutName ? (b(), h("g", ht, [F.value.dataLabels.curvedDonutName ? (b(!0), h(d, { key: 0 }, S(Bn.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (n, r) => (b(), h("g", null, [r === 0 && K.value.width && K.value.height ? (b(), h("text", {
1277
+ P.value.dataLabels.showDonutName ? (b(), h("g", ht, [P.value.dataLabels.curvedDonutName ? (b(!0), h(d, { key: 0 }, S(Z.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (n, r) => (b(), h("g", null, [r === 0 && G.value.width && G.value.height ? (b(), h("text", {
1278
1278
  key: 0,
1279
1279
  "text-anchor": "middle",
1280
- "font-size": R.value.labels.dataLabels.fontSize,
1281
- "font-weight": R.value.labels.dataLabels.boldDonutName ? "bold" : "normal",
1282
- fill: R.value.labels.dataLabels.color,
1283
- dy: R.value.labels.dataLabels.donutNameOffsetY
1280
+ "font-size": L.value.labels.dataLabels.fontSize,
1281
+ "font-weight": L.value.labels.dataLabels.boldDonutName ? "bold" : "normal",
1282
+ fill: L.value.labels.dataLabels.color,
1283
+ dy: L.value.labels.dataLabels.donutNameOffsetY
1284
1284
  }, [g("textPath", {
1285
1285
  href: `#path-full-${t}-${O.value}`,
1286
1286
  startOffset: "50%",
1287
1287
  "text-anchor": "middle",
1288
1288
  method: "align",
1289
1289
  spacing: "auto"
1290
- }, w(R.value.labels.dataLabels.donutNameAbbreviation ? T(ce)({
1290
+ }, w(L.value.labels.dataLabels.donutNameAbbreviation ? T(ce)({
1291
1291
  source: e.name,
1292
- length: P.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1293
- }) : e.name), 9, _t)], 8, gt)) : m("", !0)]))), 256))]))), 256)) : (b(!0), h(d, { key: 1 }, S(Bn.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (t, n) => (b(), h("g", null, [n === 0 && K.value.width && K.value.height ? (b(), h("text", {
1292
+ length: N.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1293
+ }) : e.name), 9, _t)], 8, gt)) : m("", !0)]))), 256))]))), 256)) : (b(!0), h(d, { key: 1 }, S(Z.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (t, n) => (b(), h("g", null, [n === 0 && G.value.width && G.value.height ? (b(), h("text", {
1294
1294
  key: 0,
1295
- x: K.value.width / 2,
1296
- y: t.startY - R.value.labels.dataLabels.fontSize + R.value.labels.dataLabels.donutNameOffsetY,
1295
+ x: G.value.width / 2,
1296
+ y: t.startY - L.value.labels.dataLabels.fontSize + L.value.labels.dataLabels.donutNameOffsetY,
1297
1297
  "text-anchor": "middle",
1298
- "font-size": R.value.labels.dataLabels.fontSize,
1299
- "font-weight": R.value.labels.dataLabels.boldDonutName ? "bold" : "normal",
1300
- fill: R.value.labels.dataLabels.color
1301
- }, w(R.value.labels.dataLabels.donutNameAbbreviation ? T(ce)({
1298
+ "font-size": L.value.labels.dataLabels.fontSize,
1299
+ "font-weight": L.value.labels.dataLabels.boldDonutName ? "bold" : "normal",
1300
+ fill: L.value.labels.dataLabels.color
1301
+ }, w(L.value.labels.dataLabels.donutNameAbbreviation ? T(ce)({
1302
1302
  source: e.name,
1303
- length: P.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1303
+ length: N.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1304
1304
  }) : e.name), 9, vt)) : m("", !0)]))), 256))]))), 256))])) : m("", !0),
1305
- F.value.dataLabels.show ? (b(), h("g", yt, [(b(!0), h(d, null, S(Bn.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut.filter((e) => !e.ghost), (e, n) => (b(), h("g", { filter: Xn(e, n) }, [Qe(g("text", {
1305
+ P.value.dataLabels.show ? (b(), h("g", yt, [(b(!0), h(d, null, S(Z.value, (e, n) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut.filter((e) => !e.ghost), (e, r) => (b(), h("g", { filter: Xn(e, r) }, [Qe(g("text", {
1306
1306
  opacity: +!!Yn(e),
1307
- "text-anchor": T(ae)(e, !0).anchor,
1308
- x: T(ae)(e, !1, R.value.labels.dataLabels.offsetX).x || 0,
1309
- y: T(ue)(e, R.value.labels.dataLabels.offsetY, R.value.labels.dataLabels.offsetY) + (F.value.dataLabels.showValueFirst && F.value.dataLabels.showValue ? R.value.labels.dataLabels.fontSize : 0),
1310
- fill: F.value.dataLabels.useSerieColor ? e.color : R.value.labels.dataLabels.color,
1311
- "font-size": F.value.dataLabels.fontSize,
1312
- "font-weight": F.value.dataLabels.boldPercentage ? "bold" : "normal"
1313
- }, w(T(s)(T(u)({
1307
+ "text-anchor": T(ie)(e, !0).anchor,
1308
+ x: T(ie)(e, !1, L.value.labels.dataLabels.offsetX).x || 0,
1309
+ y: T(ue)(e, L.value.labels.dataLabels.offsetY, L.value.labels.dataLabels.offsetY) + (P.value.dataLabels.showValueFirst && P.value.dataLabels.showValue ? L.value.labels.dataLabels.fontSize : 0),
1310
+ fill: P.value.dataLabels.useSerieColor ? e.color : L.value.labels.dataLabels.color,
1311
+ "font-size": P.value.dataLabels.fontSize,
1312
+ "font-weight": P.value.dataLabels.boldPercentage ? "bold" : "normal"
1313
+ }, w(T(s)(T(t)({
1314
1314
  v: e.proportion * 100,
1315
1315
  s: "%",
1316
- r: z.value.layout.labels.dataLabels.roundingPercentage
1317
- }), R.value.labels.dataLabels.usePercentageParens ? "(" : "", R.value.labels.dataLabels.usePercentageParens ? ")" : "")), 9, xt), [[Xe, G.value.dataLabels.show && F.value.dataLabels.showPercentage]]), Qe(g("text", {
1316
+ r: R.value.layout.labels.dataLabels.roundingPercentage
1317
+ }), L.value.labels.dataLabels.usePercentageParens ? "(" : "", L.value.labels.dataLabels.usePercentageParens ? ")" : "")), 9, xt), [[Xe, W.value.dataLabels.show && P.value.dataLabels.showPercentage]]), Qe(g("text", {
1318
1318
  opacity: +!!Yn(e),
1319
- "text-anchor": T(ae)(e, !0).anchor,
1320
- x: T(ae)(e, !1, R.value.labels.dataLabels.offsetX).x || 0,
1321
- y: T(ue)(e, R.value.labels.dataLabels.offsetY, R.value.labels.dataLabels.offsetY) + (F.value.dataLabels.showValueFirst || !F.value.dataLabels.showPercentage ? 0 : R.value.labels.dataLabels.fontSize),
1322
- fill: F.value.dataLabels.useSerieColor ? e.color : R.value.labels.dataLabels.color,
1323
- "font-size": F.value.dataLabels.fontSize,
1324
- "font-weight": F.value.dataLabels.boldValue ? "bold" : "normal"
1325
- }, w(T(s)(T(oe)(R.value.labels.dataLabels.formatter, e.value, T(u)({
1326
- p: z.value.layout.labels.dataLabels.prefix,
1319
+ "text-anchor": T(ie)(e, !0).anchor,
1320
+ x: T(ie)(e, !1, L.value.labels.dataLabels.offsetX).x || 0,
1321
+ y: T(ue)(e, L.value.labels.dataLabels.offsetY, L.value.labels.dataLabels.offsetY) + (P.value.dataLabels.showValueFirst || !P.value.dataLabels.showPercentage ? 0 : L.value.labels.dataLabels.fontSize),
1322
+ fill: P.value.dataLabels.useSerieColor ? e.color : L.value.labels.dataLabels.color,
1323
+ "font-size": P.value.dataLabels.fontSize,
1324
+ "font-weight": P.value.dataLabels.boldValue ? "bold" : "normal"
1325
+ }, w(T(s)(T(oe)(L.value.labels.dataLabels.formatter, e.value, T(t)({
1326
+ p: R.value.layout.labels.dataLabels.prefix,
1327
1327
  v: e.value,
1328
- s: z.value.layout.labels.dataLabels.suffix,
1329
- r: z.value.layout.labels.dataLabels.roundingValue
1328
+ s: R.value.layout.labels.dataLabels.suffix,
1329
+ r: R.value.layout.labels.dataLabels.roundingValue
1330
1330
  }), {
1331
1331
  datapoint: e,
1332
- seriesIndex: t,
1333
- datapointIndex: n
1334
- }), R.value.labels.dataLabels.useValueParens ? "(" : "", R.value.labels.dataLabels.useValueParens ? ")" : "")), 9, St), [[Xe, G.value.dataLabels.show && F.value.dataLabels.showValue]])], 8, bt))), 256))]))), 256))])) : m("", !0),
1335
- (b(!0), h(d, null, S(Bn.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (e, t) => (b(), h("g", null, [g("path", {
1332
+ seriesIndex: n,
1333
+ datapointIndex: r
1334
+ }), L.value.labels.dataLabels.useValueParens ? "(" : "", L.value.labels.dataLabels.useValueParens ? ")" : "")), 9, St), [[Xe, W.value.dataLabels.show && P.value.dataLabels.showValue]])], 8, bt))), 256))]))), 256))])) : m("", !0),
1335
+ (b(!0), h(d, null, S(Z.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (e, t) => (b(), h("g", null, [g("path", {
1336
1336
  d: e.arcSlice,
1337
- fill: Wt.value === e.id ? R.value.donut.selectedColor : "transparent",
1337
+ fill: Wt.value === e.id ? L.value.donut.selectedColor : "transparent",
1338
1338
  onMouseenter: (t) => Jn({
1339
1339
  datapoint: e,
1340
1340
  relativeIndex: $.value.findIndex((t) => t.id === e.id),
1341
1341
  seriesIndex: e.seriesIndex
1342
1342
  }),
1343
- onClick: (n) => kn({
1343
+ onClick: (n) => An({
1344
1344
  datapoint: e,
1345
1345
  index: t,
1346
1346
  seriesIndex: e.seriesIndex
@@ -1351,36 +1351,36 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1351
1351
  })
1352
1352
  }, null, 40, Ct)]))), 256))]))), 256)),
1353
1353
  C(e.$slots, "svg", { svg: {
1354
- ...K.value,
1355
- isPrintingImg: T(Cn) || T(wn) || T(gr),
1354
+ ...G.value,
1355
+ isPrintingImg: T(wn) || T(Tn) || T(gr),
1356
1356
  isPrintingSvg: T(_r)
1357
1357
  } }, void 0, !0)
1358
1358
  ], 512)], 46, it)), e.$slots.hint ? (b(), h("div", wt, [C(e.$slots, "hint", y(v({
1359
- hint: P.value.a11y.translations.keyboardNavigation,
1359
+ hint: N.value.a11y.translations.keyboardNavigation,
1360
1360
  isVisible: on.value
1361
1361
  })), void 0, !0)])) : m("", !0)]),
1362
- e.$slots.watermark ? (b(), h("div", Tt, [C(e.$slots, "watermark", y(v({ isPrinting: T(Cn) || T(wn) || T(gr) || T(_r) })), void 0, !0)])) : m("", !0),
1362
+ e.$slots.watermark ? (b(), h("div", Tt, [C(e.$slots, "watermark", y(v({ isPrinting: T(wn) || T(Tn) || T(gr) || T(_r) })), void 0, !0)])) : m("", !0),
1363
1363
  Be(T(At), {
1364
- teleportTo: I.value.teleportTo,
1365
- show: G.value.showTooltip && Ht.value,
1366
- backgroundColor: I.value.backgroundColor,
1367
- color: I.value.color,
1368
- borderRadius: I.value.borderRadius,
1369
- borderColor: I.value.borderColor,
1370
- borderWidth: I.value.borderWidth,
1371
- fontSize: I.value.fontSize,
1372
- backgroundOpacity: I.value.backgroundOpacity,
1373
- position: I.value.position,
1374
- offsetX: I.value.offsetX,
1375
- offsetY: I.value.offsetY,
1364
+ teleportTo: F.value.teleportTo,
1365
+ show: W.value.showTooltip && Ht.value,
1366
+ backgroundColor: F.value.backgroundColor,
1367
+ color: F.value.color,
1368
+ borderRadius: F.value.borderRadius,
1369
+ borderColor: F.value.borderColor,
1370
+ borderWidth: F.value.borderWidth,
1371
+ fontSize: F.value.fontSize,
1372
+ backgroundOpacity: F.value.backgroundOpacity,
1373
+ position: F.value.position,
1374
+ offsetX: F.value.offsetX,
1375
+ offsetY: F.value.offsetY,
1376
1376
  parent: k.value,
1377
1377
  content: Ut.value,
1378
- isFullscreen: N.value,
1379
- isCustom: T(n)(I.value.customFormat),
1380
- smooth: I.value.smooth,
1381
- backdropFilter: I.value.backdropFilter,
1382
- smoothForce: I.value.smoothForce,
1383
- smoothSnapThreshold: I.value.smoothSnapThreshold,
1378
+ isFullscreen: sn.value,
1379
+ isCustom: T(i)(F.value.customFormat),
1380
+ smooth: F.value.smooth,
1381
+ backdropFilter: F.value.backdropFilter,
1382
+ smoothForce: F.value.smoothForce,
1383
+ smoothSnapThreshold: F.value.smoothSnapThreshold,
1384
1384
  isA11yMode: an.value === "keyboard",
1385
1385
  a11yPosition: rn.value
1386
1386
  }, {
@@ -1413,34 +1413,34 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1413
1413
  "a11yPosition"
1414
1414
  ]),
1415
1415
  g("div", { id: `legend-bottom-${O.value}` }, null, 8, Et),
1416
- en.value && (z.value.legend.show || e.$slots.legend) ? (b(), p(Le, {
1416
+ en.value && (R.value.legend.show || e.$slots.legend) ? (b(), p(Le, {
1417
1417
  key: 6,
1418
- to: z.value.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
1419
- }, [z.value.legend.show ? (b(), h("div", {
1418
+ to: R.value.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
1419
+ }, [R.value.legend.show ? (b(), h("div", {
1420
1420
  key: 0,
1421
1421
  ref_key: "chartLegend",
1422
1422
  ref: qt,
1423
1423
  class: Ue({ "vue-ui-nested-donuts-legend": Zn.value.length > 1 })
1424
- }, [C(e.$slots, "legend", { legend: Zn.value }, () => [(b(!0), h(d, null, S(Zn.value, (e, n) => (b(), p(Fe, {
1425
- key: `legend_${n}_${Qt.value}`,
1424
+ }, [C(e.$slots, "legend", { legend: Zn.value }, () => [(b(!0), h(d, null, S(Zn.value, (e, t) => (b(), p(Fe, {
1425
+ key: `legend_${t}_${Qt.value}`,
1426
1426
  legendSet: e,
1427
1427
  config: Qn.value,
1428
- isCursorPointer: B.value,
1429
- onClickMarker: t[0] ||= ({ legend: e }) => Pn(e)
1428
+ isCursorPointer: z.value,
1429
+ onClickMarker: n[0] ||= ({ legend: e }) => Fn(e)
1430
1430
  }, {
1431
1431
  legendTitle: E(({ titleSet: e }) => [e[0] && e[0].arcOf ? (b(), h("div", Dt, w(e[0].arcOf), 1)) : m("", !0)]),
1432
1432
  item: E(({ legend: e, index: t }) => [g("div", {
1433
- onClick: (t) => Pn(e),
1434
- style: We(`opacity:${J.value.includes(e.id) ? .5 : 1}`)
1433
+ onClick: (t) => Fn(e),
1434
+ style: We(`opacity:${q.value.includes(e.id) ? .5 : 1}`)
1435
1435
  }, w(e.display), 13, Ot)]),
1436
- legendToggle: E(() => [e.length > 2 && z.value.legend.selectAllToggle.show && !T(un) ? (b(), p(Ae, {
1437
- key: `toggle-${n}`,
1438
- backgroundColor: z.value.legend.selectAllToggle.backgroundColor,
1439
- color: z.value.legend.selectAllToggle.color,
1440
- fontSize: z.value.legend.fontSize,
1441
- checked: e.some((e) => J.value.includes(e.id)),
1442
- isCursorPointer: B.value,
1443
- onToggle: (t) => Nn(e)
1436
+ legendToggle: E(() => [e.length > 2 && R.value.legend.selectAllToggle.show && !T(dn) ? (b(), p(Ae, {
1437
+ key: `toggle-${t}`,
1438
+ backgroundColor: R.value.legend.selectAllToggle.backgroundColor,
1439
+ color: R.value.legend.selectAllToggle.color,
1440
+ fontSize: R.value.legend.fontSize,
1441
+ checked: e.some((e) => q.value.includes(e.id)),
1442
+ isCursorPointer: z.value,
1443
+ onToggle: (t) => Pn(e)
1444
1444
  }, null, 8, [
1445
1445
  "backgroundColor",
1446
1446
  "color",
@@ -1461,7 +1461,7 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1461
1461
  ref: Jt,
1462
1462
  dir: "auto"
1463
1463
  }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1464
- Vt.value && L.value.buttons.table ? (b(), p(qe(ur.value.component), Ve({ key: 8 }, ur.value.props, {
1464
+ Vt.value && I.value.buttons.table ? (b(), p(qe(ur.value.component), Ve({ key: 8 }, ur.value.props, {
1465
1465
  ref_key: "tableUnit",
1466
1466
  ref: tn,
1467
1467
  onClose: dr
@@ -1472,9 +1472,9 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1472
1472
  head: er.value.head,
1473
1473
  body: er.value.body,
1474
1474
  config: er.value.config,
1475
- title: P.value.table.useDialog ? "" : ur.value.title,
1476
- withCloseButton: !P.value.table.useDialog,
1477
- isCursorPointer: B.value,
1475
+ title: N.value.table.useDialog ? "" : ur.value.title,
1476
+ withCloseButton: !N.value.table.useDialog,
1477
+ isCursorPointer: z.value,
1478
1478
  onClose: dr
1479
1479
  }, {
1480
1480
  th: E(({ th: e }) => [g("div", kt, w(e), 1)]),
@@ -1490,24 +1490,24 @@ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt
1490
1490
  "isCursorPointer"
1491
1491
  ]))]),
1492
1492
  _: 2
1493
- }, [P.value.table.useDialog ? {
1493
+ }, [N.value.table.useDialog ? {
1494
1494
  name: "title",
1495
1495
  fn: E(() => [ze(w(ur.value.title), 1)]),
1496
1496
  key: "0"
1497
- } : void 0, P.value.table.useDialog ? {
1497
+ } : void 0, N.value.table.useDialog ? {
1498
1498
  name: "actions",
1499
1499
  fn: E(() => [g("button", {
1500
1500
  tabindex: "0",
1501
1501
  class: "vue-ui-user-options-button",
1502
- onClick: t[1] ||= (e) => $n(L.value.callbacks.csv),
1503
- style: We({ cursor: B.value ? "pointer" : "default" })
1502
+ onClick: n[1] ||= (e) => $n(I.value.callbacks.csv),
1503
+ style: We({ cursor: z.value ? "pointer" : "default" })
1504
1504
  }, [Be(T(jt), {
1505
1505
  name: "fileCsv",
1506
1506
  stroke: ur.value.props.color
1507
1507
  }, null, 8, ["stroke"])], 4)]),
1508
1508
  key: "1"
1509
1509
  } : void 0]), 1040)) : m("", !0),
1510
- C(e.$slots, "skeleton", {}, () => [T(un) ? (b(), p(be, { key: 0 })) : m("", !0)], !0)
1510
+ C(e.$slots, "skeleton", {}, () => [T(dn) ? (b(), p(be, { key: 0 })) : m("", !0)], !0)
1511
1511
  ], 46, et));
1512
1512
  }
1513
1513
  }, [["__scopeId", "data-v-b4e92c34"]]);