vue-data-ui 3.9.11 → 3.9.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 (164) hide show
  1. package/dist/{Arrow-Cbn8f8m4.js → Arrow-f1dKmuRH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-C167SnU0.js → BaseDraggableDialog-CAJxIF6g.js} +2 -2
  3. package/dist/{BaseIcon-r3_sTK1A.js → BaseIcon-4i3dd7Ty.js} +1 -1
  4. package/dist/{BaseZoomControls-D8N7fb-c.js → BaseZoomControls-C0H509ZF.js} +6 -6
  5. package/dist/{ColorPicker-Bq2C5Dll.js → ColorPicker-B9oF4-O6.js} +8 -8
  6. package/dist/{DataTable-DNeCys3I.js → DataTable-WrXCJkfE.js} +2 -2
  7. package/dist/{Legend-Dxz13z4E.js → Legend-D6z73edh.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-ZnkWbBri.js → NonSvgPenAndPaper-7clRuQVF.js} +11 -11
  9. package/dist/{PackageVersion-DPLuuWzw.js → PackageVersion-D3cMhAlf.js} +1 -1
  10. package/dist/{PenAndPaper-CsqBamFZ.js → PenAndPaper-DxIUvoQ8.js} +17 -17
  11. package/dist/{Shape-_iTOIp3x.js → Shape-DAHhCEdg.js} +1 -1
  12. package/dist/{Slicer-DBYna_by.js → Slicer-Bn8azYkD.js} +70 -70
  13. package/dist/{SlicerPreview-pHjYklxh.js → SlicerPreview-oV3dMuV1.js} +2 -2
  14. package/dist/{SparkTooltip-BaSHhfes.js → SparkTooltip-D7iYVquk.js} +3 -3
  15. package/dist/{Title-DFtCaCah.js → Title-BhURirpm.js} +1 -1
  16. package/dist/{Tooltip-B79qvriT.js → Tooltip-TDyKgLB6.js} +1 -1
  17. package/dist/{UserOptions-B-2A_KRb.js → UserOptions-CzJWRC4s.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +1 -1
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +1 -1
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +1 -1
  24. package/dist/components/vue-ui-candlestick.js +1 -1
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +1 -1
  27. package/dist/components/vue-ui-chord.js +1 -1
  28. package/dist/components/vue-ui-circle-pack.js +1 -1
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dag.js +1 -1
  31. package/dist/components/vue-ui-dashboard.js +1 -1
  32. package/dist/components/vue-ui-digits.js +1 -1
  33. package/dist/components/vue-ui-donut-evolution.js +1 -1
  34. package/dist/components/vue-ui-donut.js +1 -1
  35. package/dist/components/vue-ui-dumbbell.js +1 -1
  36. package/dist/components/vue-ui-flow.js +1 -1
  37. package/dist/components/vue-ui-funnel.js +1 -1
  38. package/dist/components/vue-ui-galaxy.js +1 -1
  39. package/dist/components/vue-ui-gauge.js +1 -1
  40. package/dist/components/vue-ui-geo.js +1 -1
  41. package/dist/components/vue-ui-gizmo.js +1 -1
  42. package/dist/components/vue-ui-heatmap.js +1 -1
  43. package/dist/components/vue-ui-history-plot.js +1 -1
  44. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  45. package/dist/components/vue-ui-icon.js +1 -1
  46. package/dist/components/vue-ui-kpi.js +1 -1
  47. package/dist/components/vue-ui-mini-loader.js +1 -1
  48. package/dist/components/vue-ui-molecule.js +1 -1
  49. package/dist/components/vue-ui-mood-radar.js +1 -1
  50. package/dist/components/vue-ui-nested-donuts.js +1 -1
  51. package/dist/components/vue-ui-onion.js +1 -1
  52. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  53. package/dist/components/vue-ui-quadrant.js +1 -1
  54. package/dist/components/vue-ui-quick-chart.js +1 -1
  55. package/dist/components/vue-ui-radar.js +1 -1
  56. package/dist/components/vue-ui-rating.js +1 -1
  57. package/dist/components/vue-ui-relation-circle.js +1 -1
  58. package/dist/components/vue-ui-ridgeline.js +1 -1
  59. package/dist/components/vue-ui-rings.js +1 -1
  60. package/dist/components/vue-ui-scatter.js +1 -1
  61. package/dist/components/vue-ui-skeleton.js +1 -1
  62. package/dist/components/vue-ui-smiley.js +1 -1
  63. package/dist/components/vue-ui-spark-trend.js +1 -1
  64. package/dist/components/vue-ui-sparkbar.js +1 -1
  65. package/dist/components/vue-ui-sparkgauge.js +1 -1
  66. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  67. package/dist/components/vue-ui-sparkline.js +1 -1
  68. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  69. package/dist/components/vue-ui-stackbar.js +1 -1
  70. package/dist/components/vue-ui-stackline.js +1 -1
  71. package/dist/components/vue-ui-strip-plot.js +1 -1
  72. package/dist/components/vue-ui-table-heatmap.js +1 -1
  73. package/dist/components/vue-ui-table-sparkline.js +1 -1
  74. package/dist/components/vue-ui-table.js +1 -1
  75. package/dist/components/vue-ui-thermometer.js +1 -1
  76. package/dist/components/vue-ui-timer.js +1 -1
  77. package/dist/components/vue-ui-tiremarks.js +1 -1
  78. package/dist/components/vue-ui-treemap.js +1 -1
  79. package/dist/components/vue-ui-vertical-bar.js +1 -1
  80. package/dist/components/vue-ui-waffle.js +1 -1
  81. package/dist/components/vue-ui-wheel.js +1 -1
  82. package/dist/components/vue-ui-word-cloud.js +1 -1
  83. package/dist/components/vue-ui-world.js +1 -1
  84. package/dist/components/vue-ui-xy-canvas.js +1 -1
  85. package/dist/components/vue-ui-xy.js +1 -1
  86. package/dist/{dom-to-png-Cm7R2Zu2.js → dom-to-png-C2K57N1M.js} +1 -1
  87. package/dist/{img-BJzUSmkm.js → img-DKigoPDs.js} +1 -1
  88. package/dist/labelUtils-PMU3ZGCb.js +30 -0
  89. package/dist/{lib-W9waxHL3.js → lib-BwysEpWI.js} +81 -77
  90. package/dist/{pdf-BJR-8Moh.js → pdf-BHGnVnBG.js} +1 -1
  91. package/dist/style.css +1 -1
  92. package/dist/types/vue-data-ui.d.ts +20 -0
  93. package/dist/{useAutoSizeLabelsInsideViewbox-DAdqpHf1.js → useAutoSizeLabelsInsideViewbox-DO2dxQ78.js} +1 -1
  94. package/dist/{useNestedProp-D-jUHecl.js → useNestedProp--5lL-kf1.js} +209 -197
  95. package/dist/{usePrinter-DhoMn87n.js → usePrinter-BJzHDpYF.js} +2 -2
  96. package/dist/{vue-data-ui-B2w3blNC.js → vue-data-ui-DE3O1T8n.js} +67 -67
  97. package/dist/vue-data-ui.js +83 -83
  98. package/dist/{vue-ui-3d-bar-Cpp-5jo0.js → vue-ui-3d-bar-CVvhPzdH.js} +6 -6
  99. package/dist/{vue-ui-accordion-B6BX2vhq.js → vue-ui-accordion-tQNKwbVi.js} +3 -3
  100. package/dist/{vue-ui-age-pyramid-BH8z1r48.js → vue-ui-age-pyramid-DxTHqM7w.js} +25 -25
  101. package/dist/{vue-ui-annotator-DB6dpuUU.js → vue-ui-annotator-Da5aL57a.js} +7 -7
  102. package/dist/{vue-ui-bullet-CmLA4Lxs.js → vue-ui-bullet-DhpTML7L.js} +22 -22
  103. package/dist/{vue-ui-candlestick-IspjAN-a.js → vue-ui-candlestick-BDOKQqMm.js} +85 -85
  104. package/dist/{vue-ui-carousel-table-9mdO6mvP.js → vue-ui-carousel-table-BW6bKPsX.js} +13 -13
  105. package/dist/{vue-ui-chestnut-CC1bTcaA.js → vue-ui-chestnut-Cc-lke6P.js} +31 -31
  106. package/dist/{vue-ui-chord-B0pp0mDm.js → vue-ui-chord-CB6w31Ex.js} +8 -8
  107. package/dist/{vue-ui-circle-pack-CWhq37at.js → vue-ui-circle-pack-CfihOmNV.js} +6 -6
  108. package/dist/{vue-ui-cursor-DOWNTk2K.js → vue-ui-cursor-Dnpe76BQ.js} +3 -3
  109. package/dist/{vue-ui-dag-DlLdvPIA.js → vue-ui-dag-Dq3hKon7.js} +7 -7
  110. package/dist/{vue-ui-dashboard-BRAyn8IO.js → vue-ui-dashboard-eMwyGsuD.js} +68 -68
  111. package/dist/{vue-ui-digits-DQz1eJc-.js → vue-ui-digits-B5QhIbFD.js} +2 -2
  112. package/dist/vue-ui-donut-D3---CiY.js +2082 -0
  113. package/dist/{vue-ui-donut-evolution-C95OcKhs.js → vue-ui-donut-evolution-C6H1Vr6m.js} +8 -8
  114. package/dist/{vue-ui-dumbbell-L8fXdkQm.js → vue-ui-dumbbell-L1p0npq4.js} +33 -33
  115. package/dist/{vue-ui-flow-CPnYumnP.js → vue-ui-flow-CgAIlvZF.js} +38 -38
  116. package/dist/{vue-ui-funnel-BPnUog47.js → vue-ui-funnel-CpgqO34n.js} +6 -6
  117. package/dist/{vue-ui-galaxy-BjtDkIAw.js → vue-ui-galaxy-DAi1I2Cr.js} +316 -291
  118. package/dist/{vue-ui-gauge-CHqgIzG0.js → vue-ui-gauge-DY78U-uO.js} +7 -7
  119. package/dist/{vue-ui-geo-C3O4GHZF.js → vue-ui-geo-Befu6fkT.js} +20 -20
  120. package/dist/{vue-ui-gizmo-Dr0gsAOM.js → vue-ui-gizmo-BM_oOeYY.js} +3 -3
  121. package/dist/{vue-ui-heatmap-BBshmoO7.js → vue-ui-heatmap-C_ze3bzX.js} +80 -80
  122. package/dist/{vue-ui-history-plot-BiUyd40D.js → vue-ui-history-plot-C-_zpLPH.js} +50 -50
  123. package/dist/{vue-ui-horizontal-bar-BDtke67D.js → vue-ui-horizontal-bar-DvLMeP44.js} +47 -47
  124. package/dist/{vue-ui-kpi-BnCqocoi.js → vue-ui-kpi-IcOqABQz.js} +3 -3
  125. package/dist/{vue-ui-mini-loader-Dzqusv9i.js → vue-ui-mini-loader-DxlOXn6v.js} +2 -2
  126. package/dist/{vue-ui-molecule-DH-sHfQ-.js → vue-ui-molecule-N938wMMB.js} +5 -5
  127. package/dist/{vue-ui-mood-radar-BWASgbMe.js → vue-ui-mood-radar-D1hHnpLB.js} +7 -7
  128. package/dist/{vue-ui-nested-donuts-4ey-UxN-.js → vue-ui-nested-donuts-DeTGEb4T.js} +597 -595
  129. package/dist/{vue-ui-onion-40DoblSj.js → vue-ui-onion-BwY998zT.js} +376 -332
  130. package/dist/{vue-ui-parallel-coordinate-plot-BIV0-SLG.js → vue-ui-parallel-coordinate-plot-B4v3AheY.js} +43 -43
  131. package/dist/{vue-ui-quadrant-Dvuwg4h7.js → vue-ui-quadrant-4f1p9gSO.js} +8 -8
  132. package/dist/{vue-ui-quick-chart-CZgZOWsW.js → vue-ui-quick-chart-CGbEBTS1.js} +52 -52
  133. package/dist/{vue-ui-radar-BfoE3AZN.js → vue-ui-radar-B15r4HoM.js} +57 -57
  134. package/dist/{vue-ui-rating-BciQHmzs.js → vue-ui-rating-CaRZVE71.js} +2 -2
  135. package/dist/{vue-ui-relation-circle-EVMDQTCn.js → vue-ui-relation-circle-CFEL1uYt.js} +7 -7
  136. package/dist/{vue-ui-ridgeline-BO-JV7Qz.js → vue-ui-ridgeline-LGH61-xE.js} +8 -8
  137. package/dist/{vue-ui-rings-B0wMY8Cu.js → vue-ui-rings-DNdUdKax.js} +270 -246
  138. package/dist/{vue-ui-scatter-CyjpTjlf.js → vue-ui-scatter-Duxs0Ie_.js} +8 -8
  139. package/dist/{vue-ui-skeleton-C8Aq8dTp.js → vue-ui-skeleton-UoBAzUyN.js} +3 -3
  140. package/dist/{vue-ui-smiley-C0Bqip2_.js → vue-ui-smiley-BhpJbcM8.js} +2 -2
  141. package/dist/{vue-ui-spark-trend-B1pD2N9Z.js → vue-ui-spark-trend-2c75iF9Y.js} +96 -96
  142. package/dist/{vue-ui-sparkbar-DFlGdgrX.js → vue-ui-sparkbar-B2E5nzBF.js} +3 -3
  143. package/dist/{vue-ui-sparkgauge-BMRbWZ_X.js → vue-ui-sparkgauge-DFkpaMkk.js} +13 -13
  144. package/dist/{vue-ui-sparkhistogram-jI9-0GyS.js → vue-ui-sparkhistogram-K6lo-KnY.js} +4 -4
  145. package/dist/{vue-ui-sparkline-DLB7uHga.js → vue-ui-sparkline-CsByZZt4.js} +11 -11
  146. package/dist/{vue-ui-sparkstackbar-E8mYJ8eg.js → vue-ui-sparkstackbar-ByUb6nk-.js} +3 -3
  147. package/dist/{vue-ui-stackbar-zhHYnvVo.js → vue-ui-stackbar-D7SnQvr4.js} +41 -41
  148. package/dist/{vue-ui-stackline-rFr4hLbc.js → vue-ui-stackline-BnRxf3k_.js} +130 -130
  149. package/dist/{vue-ui-strip-plot-DA8uwUaL.js → vue-ui-strip-plot-CJWXdisu.js} +28 -28
  150. package/dist/{vue-ui-table-CldDVgkf.js → vue-ui-table-BHWwypkc.js} +27 -27
  151. package/dist/{vue-ui-table-heatmap-CDnzIKGy.js → vue-ui-table-heatmap-DvHKKwJA.js} +12 -12
  152. package/dist/{vue-ui-table-sparkline-D3XfL4kK.js → vue-ui-table-sparkline-uK0q-dO9.js} +11 -11
  153. package/dist/{vue-ui-thermometer-CU86DLRC.js → vue-ui-thermometer-Bxn0JNeJ.js} +31 -31
  154. package/dist/{vue-ui-timer-CPZBXUbs.js → vue-ui-timer-7o5Jrxf3.js} +5 -5
  155. package/dist/{vue-ui-tiremarks-CLiEtCKe.js → vue-ui-tiremarks-DHoUaHOe.js} +6 -6
  156. package/dist/{vue-ui-treemap-Dht5s1nE.js → vue-ui-treemap-B_4cIAAI.js} +51 -51
  157. package/dist/{vue-ui-waffle-BQM8XJln.js → vue-ui-waffle-CddfqNWD.js} +381 -352
  158. package/dist/{vue-ui-wheel-CX-gWpDL.js → vue-ui-wheel-CGYJA-33.js} +6 -6
  159. package/dist/{vue-ui-word-cloud-dolAsuyP.js → vue-ui-word-cloud-oszTieHn.js} +32 -32
  160. package/dist/{vue-ui-world-su4gjhTo.js → vue-ui-world-DQjHEyKe.js} +31 -31
  161. package/dist/{vue-ui-xy-BSBAegJ1.js → vue-ui-xy-D5A8tR-O.js} +9 -9
  162. package/dist/{vue-ui-xy-canvas-9tgX_s2v.js → vue-ui-xy-canvas-Bzd8pZdH.js} +100 -100
  163. package/package.json +1 -1
  164. package/dist/vue-ui-donut-BjSuCwQE.js +0 -2078
@@ -1,39 +1,40 @@
1
- import { defineAsyncComponent as D, useSlots as Pt, ref as u, computed as g, toRefs as Lt, watch as Y, shallowRef as ze, onMounted as Nt, onBeforeUnmount as Rt, createElementBlock as f, openBlock as i, unref as n, normalizeStyle as L, normalizeClass as j, createBlock as x, createCommentVNode as C, createElementVNode as w, createVNode as Z, withCtx as c, renderSlot as v, normalizeProps as A, guardReactiveProps as $, createSlots as ie, Fragment as ce, renderList as ve, mergeProps as Ue, Teleport as Vt, toDisplayString as de, resolveDynamicComponent as Mt, createTextVNode as We, nextTick as zt } from "vue";
2
- import { c as je, t as Ut, i as Wt, p as N, o as Ge, g as ge, k as jt, j as Gt, a6 as Ht, l as He, a as Xe, d as R, X as Xt, s as qt, h as Yt, T as J, u as Zt, q as Jt, x as Kt, Z as Qt } from "./lib-W9waxHL3.js";
3
- import { t as eo, u as to } from "./useResponsive-DfdjqQps.js";
4
- import { u as oo, a as he } from "./useNestedProp-D-jUHecl.js";
5
- import { u as lo } from "./usePrinter-DhoMn87n.js";
6
- import { u as ao, B as no } from "./BaseScanner-BMpwQAfz.js";
7
- import { u as ro } from "./useSvgExport-ByUukOZt.js";
8
- import { u as so } from "./useThemeCheck-DGJ31Vi5.js";
9
- import { u as uo } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as io } from "./useChartAccessibility-9icAAmYg.js";
11
- import co from "./img-BJzUSmkm.js";
12
- import { _ as vo } from "./Shape-_iTOIp3x.js";
13
- import go from "./Title-DFtCaCah.js";
14
- import ho from "./Legend-Dxz13z4E.js";
15
- import { _ as po } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { rings: { stroke: "#3A3A3A" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Ye = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { rings: { stroke: "#5D4037", strokeWidth: 10 } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Ze = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { rings: { stroke: "#2E2E2E", strokeWidth: 10 } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Je = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { rings: { stroke: "#1A1A1A", strokeWidth: 10 } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ke = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { rings: { stroke: "#fbfafa", strokeWidth: 10 } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Qe = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { rings: { stroke: "#fbfafa", strokeWidth: 10 } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, et = {
1
+ import { defineAsyncComponent as O, useSlots as Lt, ref as u, computed as g, toRefs as Nt, watch as q, shallowRef as ze, onMounted as Rt, onBeforeUnmount as Vt, createElementBlock as f, openBlock as i, unref as n, normalizeStyle as L, normalizeClass as j, createBlock as E, createCommentVNode as C, createElementVNode as w, createVNode as J, withCtx as c, renderSlot as v, normalizeProps as A, guardReactiveProps as $, createSlots as ie, Fragment as ce, renderList as ve, mergeProps as We, Teleport as Mt, toDisplayString as de, resolveDynamicComponent as Ut, createTextVNode as je, nextTick as zt } from "vue";
2
+ import { c as Ge, t as Wt, i as jt, j as N, o as He, g as ge, l as Gt, k as Ht, a7 as Xt, m as Xe, a as Ye, d as V, X as Yt, s as qt, h as Jt, U as K, v as Kt, r as Qt, y as Zt, _ as eo } from "./lib-BwysEpWI.js";
3
+ import { b as to } from "./labelUtils-PMU3ZGCb.js";
4
+ import { t as oo, u as lo } from "./useResponsive-DfdjqQps.js";
5
+ import { u as ao, a as he } from "./useNestedProp--5lL-kf1.js";
6
+ import { u as no } from "./usePrinter-BJzHDpYF.js";
7
+ import { u as ro, B as so } from "./BaseScanner-BMpwQAfz.js";
8
+ import { u as uo } from "./useSvgExport-ByUukOZt.js";
9
+ import { u as io } from "./useThemeCheck-DGJ31Vi5.js";
10
+ import { u as co } from "./useUserOptionState-BIvW1Kz7.js";
11
+ import { u as vo } from "./useChartAccessibility-9icAAmYg.js";
12
+ import go from "./img-DKigoPDs.js";
13
+ import { _ as ho } from "./Shape-DAHhCEdg.js";
14
+ import po from "./Title-BhURirpm.js";
15
+ import fo from "./Legend-D6z73edh.js";
16
+ import { _ as bo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { rings: { stroke: "#3A3A3A" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Je = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { rings: { stroke: "#5D4037", strokeWidth: 10 } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Ke = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { rings: { stroke: "#2E2E2E", strokeWidth: 10 } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { rings: { stroke: "#1A1A1A", strokeWidth: 10 } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ze = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { rings: { stroke: "#fbfafa", strokeWidth: 10 } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, et = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { rings: { stroke: "#fbfafa", strokeWidth: 10 } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, tt = {
17
18
  default: {},
18
19
  dark: qe,
19
- celebration: Ye,
20
- celebrationNight: Ze,
21
- hack: Je,
22
- zen: Ke,
23
- concrete: Qe
24
- }, Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
+ celebration: Je,
21
+ celebrationNight: Ke,
22
+ hack: Qe,
23
+ zen: Ze,
24
+ concrete: et
25
+ }, Qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
26
  __proto__: null,
26
- celebration: Ye,
27
- celebrationNight: Ze,
28
- concrete: Qe,
27
+ celebration: Je,
28
+ celebrationNight: Ke,
29
+ concrete: et,
29
30
  dark: qe,
30
- default: et,
31
- hack: Je,
32
- zen: Ke
33
- }, Symbol.toStringTag, { value: "Module" })), fo = ["id"], bo = ["id"], yo = ["xmlns", "viewBox"], mo = ["width", "height"], Co = ["id"], ko = ["stop-color"], wo = ["stop-color"], Ao = { key: 1 }, $o = ["stroke", "cx", "cy", "r", "fill"], To = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Fo = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], _o = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], So = {
31
+ default: tt,
32
+ hack: Qe,
33
+ zen: Ze
34
+ }, Symbol.toStringTag, { value: "Module" })), yo = ["id"], mo = ["id"], Co = ["xmlns", "viewBox"], ko = ["width", "height"], wo = ["id"], Ao = ["stop-color"], $o = ["stop-color"], To = { key: 1 }, Fo = ["stroke", "cx", "cy", "r", "fill"], _o = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], So = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Do = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Oo = {
34
35
  key: 4,
35
36
  class: "vue-data-ui-watermark"
36
- }, Oo = ["id"], Do = ["onClick"], xo = ["innerHTML"], Eo = {
37
+ }, Eo = ["id"], xo = ["onClick"], Io = ["innerHTML"], Po = {
37
38
  __name: "vue-ui-rings",
38
39
  props: {
39
40
  config: {
@@ -50,9 +51,9 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
50
51
  }
51
52
  },
52
53
  emits: ["selectLegend"],
53
- setup(tt, { expose: ot, emit: lt }) {
54
- const at = D(() => import("./Tooltip-B79qvriT.js")), nt = D(() => import("./BaseIcon-r3_sTK1A.js")), rt = D(() => import("./vue-ui-accordion-B6BX2vhq.js")), st = D(() => import("./DataTable-DNeCys3I.js")), ut = D(() => import("./PenAndPaper-CsqBamFZ.js")), it = D(() => import("./UserOptions-B-2A_KRb.js")), ct = D(() => import("./PackageVersion-DPLuuWzw.js")), vt = D(() => import("./BaseDraggableDialog-C167SnU0.js")), { vue_ui_rings: dt } = oo(), { isThemeValid: gt, warnInvalidTheme: ht } = so(), pt = Pt(), y = tt, E = u(!1), pe = g(() => !!y.dataset && y.dataset.length), m = u(je()), G = u(!1), K = u(""), F = u(null), fe = u(0), _ = u(null), be = u(null), ye = u(null), me = u(null), Ce = u(null), ke = u(0), we = u(0), Ae = u(0), Q = u(!1), $e = u(!1), M = u(null), ee = u(null), e = u(le()), { loading: I, FINAL_DATASET: Te, manualLoading: H } = ao({
55
- ...Lt(y),
54
+ setup(ot, { expose: lt, emit: at }) {
55
+ const nt = O(() => import("./Tooltip-TDyKgLB6.js")), rt = O(() => import("./BaseIcon-4i3dd7Ty.js")), st = O(() => import("./vue-ui-accordion-tQNKwbVi.js")), ut = O(() => import("./DataTable-WrXCJkfE.js")), it = O(() => import("./PenAndPaper-DxIUvoQ8.js")), ct = O(() => import("./UserOptions-CzJWRC4s.js")), vt = O(() => import("./PackageVersion-D3cMhAlf.js")), dt = O(() => import("./BaseDraggableDialog-CAJxIF6g.js")), { vue_ui_rings: gt } = ao(), { isThemeValid: ht, warnInvalidTheme: pt } = io(), ft = Lt(), y = ot, x = u(!1), pe = g(() => !!y.dataset && y.dataset.length), m = u(Ge()), G = u(!1), Q = u(""), T = u(null), fe = u(0), F = u(null), be = u(null), ye = u(null), me = u(null), Ce = u(null), ke = u(0), we = u(0), Ae = u(0), Z = u(!1), $e = u(!1), M = u(null), ee = u(null), e = u(le()), { loading: I, FINAL_DATASET: Te, manualLoading: H } = ro({
56
+ ...Nt(y),
56
57
  FINAL_CONFIG: e,
57
58
  prepareConfig: le,
58
59
  skeletonDataset: [
@@ -62,7 +63,7 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
62
63
  { name: "_", values: [3], color: "#C4C4C4" },
63
64
  { name: "_", values: [2], color: "#DBDBDB" }
64
65
  ],
65
- skeletonConfig: Ut({
66
+ skeletonConfig: Wt({
66
67
  defaultConfig: e.value,
67
68
  userConfig: {
68
69
  userOptions: { show: !1 },
@@ -85,17 +86,17 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
85
86
  }
86
87
  }
87
88
  })
88
- }), { userOptionsVisible: te, setUserOptionsVisibility: Fe, keepUserOptionState: _e } = uo({ config: e.value }), { svgRef: oe } = io({ config: e.value.style.chart.title });
89
+ }), { userOptionsVisible: te, setUserOptionsVisibility: Fe, keepUserOptionState: _e } = co({ config: e.value }), { svgRef: oe } = vo({ config: e.value.style.chart.title });
89
90
  function le() {
90
91
  const t = he({
91
92
  userConfig: y.config,
92
- defaultConfig: dt
93
+ defaultConfig: gt
93
94
  }), l = t.theme;
94
95
  if (!l) return t;
95
- if (!gt.value(t))
96
- return ht(t), t;
96
+ if (!ht.value(t))
97
+ return pt(t), t;
97
98
  const o = he({
98
- userConfig: et[l] || y.config,
99
+ userConfig: tt[l] || y.config,
99
100
  defaultConfig: t
100
101
  });
101
102
  return {
@@ -103,21 +104,21 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
103
104
  userConfig: y.config,
104
105
  defaultConfig: o
105
106
  }),
106
- customPalette: t.customPalette.length ? t.customPalette : Wt[t.theme] || N
107
+ customPalette: t.customPalette.length ? t.customPalette : jt[t.theme] || N
107
108
  };
108
109
  }
109
- Y(() => y.config, (t) => {
110
+ q(() => y.config, (t) => {
110
111
  I.value || (e.value = le()), te.value = !e.value.userOptions.showOnChartHover, Se(), ke.value += 1, we.value += 1, Ae.value += 1, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show;
111
- }, { deep: !0 }), Y(() => y.dataset, (t) => {
112
+ }, { deep: !0 }), q(() => y.dataset, (t) => {
112
113
  Array.isArray(t) && t.length > 0 && (H.value = !1);
113
114
  }, { deep: !0 });
114
- const S = ze(null), V = ze(null);
115
- Nt(() => {
115
+ const S = ze(null), R = ze(null);
116
+ Rt(() => {
116
117
  $e.value = !0, Se();
117
118
  });
118
119
  const ae = g(() => !!e.value.debug);
119
120
  function Se() {
120
- if (Ge(y.dataset) ? (ge({
121
+ if (He(y.dataset) ? (ge({
121
122
  componentName: "VueUiRings",
122
123
  type: "dataset",
123
124
  debug: ae.value
@@ -126,7 +127,7 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
126
127
  componentName: "VueUiRings",
127
128
  type: "dataset",
128
129
  debug: ae.value
129
- }), H.value = !0), jt({
130
+ }), H.value = !0), Gt({
130
131
  datasetObject: t,
131
132
  requiredAttributes: ["name", "values"]
132
133
  }).forEach((o) => {
@@ -138,38 +139,38 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
138
139
  debug: ae.value
139
140
  });
140
141
  });
141
- }), Ge(y.dataset) || (H.value = e.value.loading), e.value.responsive) {
142
- const t = eo(() => {
143
- Q.value = !0;
144
- const { width: l, height: o } = to({
145
- chart: _.value,
142
+ }), He(y.dataset) || (H.value = e.value.loading), e.value.responsive) {
143
+ const t = oo(() => {
144
+ Z.value = !0;
145
+ const { width: l, height: o } = lo({
146
+ chart: F.value,
146
147
  title: e.value.style.chart.title.text ? be.value : null,
147
148
  legend: e.value.style.chart.legend.show ? ye.value : null,
148
149
  source: me.value,
149
150
  noTitle: Ce.value
150
151
  });
151
152
  requestAnimationFrame(() => {
152
- s.value.width = l, s.value.height = o - 12, Q.value = !1;
153
+ s.value.width = l, s.value.height = o - 12, Z.value = !1;
153
154
  });
154
155
  });
155
- S.value && (V.value && S.value.unobserve(V.value), S.value.disconnect()), S.value = new ResizeObserver(t), V.value = _.value.parentNode, S.value.observe(V.value);
156
+ S.value && (R.value && S.value.unobserve(R.value), S.value.disconnect()), S.value = new ResizeObserver(t), R.value = F.value.parentNode, S.value.observe(R.value);
156
157
  }
157
158
  setTimeout(() => {
158
- E.value = !0;
159
+ x.value = !0;
159
160
  }, 600);
160
161
  }
161
- Rt(() => {
162
- S.value && (V.value && S.value.unobserve(V.value), S.value.disconnect());
162
+ Vt(() => {
163
+ S.value && (R.value && S.value.unobserve(R.value), S.value.disconnect());
163
164
  });
164
- const { isPrinting: Oe, isImaging: De, generatePdf: xe, generateImage: Ee } = lo({
165
+ const { isPrinting: De, isImaging: Oe, generatePdf: Ee, generateImage: xe } = no({
165
166
  elementId: `rings_${m.value}`,
166
167
  fileName: e.value.style.chart.title.text || "vue-ui-rings",
167
168
  options: e.value.userOptions.print
168
- }), ft = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ie = g(() => Gt(e.value.customPalette)), k = u({
169
+ }), bt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ie = g(() => Ht(e.value.customPalette)), k = u({
169
170
  showTable: e.value.table.show,
170
171
  showTooltip: e.value.style.chart.tooltip.show
171
172
  });
172
- Y(e, () => {
173
+ q(e, () => {
173
174
  k.value = {
174
175
  showTable: e.value.table.show,
175
176
  showTooltip: e.value.style.chart.tooltip.show
@@ -178,80 +179,88 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
178
179
  const s = u({
179
180
  height: 360,
180
181
  width: 360
181
- }), bt = g(() => Math.min(s.value.height, s.value.width)), yt = lt, h = u([]);
182
- function z(t) {
182
+ }), yt = g(() => Math.min(s.value.height, s.value.width)), mt = at, h = u([]);
183
+ function U(t) {
183
184
  if (h.value.includes(t))
184
185
  h.value = h.value.filter((l) => l !== t);
185
186
  else {
186
- if (h.value.length === B.value.length - 1) return;
187
+ if (h.value.length === P.value.length - 1) return;
187
188
  h.value.push(t);
188
189
  }
189
- yt("selectLegend", b.value.map((l) => ({
190
+ mt("selectLegend", b.value.map((l) => ({
190
191
  name: l.name,
191
192
  color: l.color,
192
193
  value: l.value
193
194
  })));
194
195
  }
195
- function Be(t) {
196
- if (!B.value.length)
196
+ function Pe(t) {
197
+ if (!P.value.length)
197
198
  return e.value.debug && console.warn("VueUiRings - There are no series to show."), null;
198
- const l = B.value.find((o) => o.name === t);
199
+ const l = P.value.find((o) => o.name === t);
199
200
  return l || (e.value.debug && console.warn(`VueUiRings - Series name not found "${t}"`), null);
200
201
  }
201
- function mt(t) {
202
- const l = Be(t);
203
- l !== null && h.value.includes(l.uid) && z(l.uid);
204
- }
205
202
  function Ct(t) {
206
- const l = Be(t);
207
- l !== null && (h.value.includes(l.uid) || z(l.uid));
203
+ const l = Pe(t);
204
+ l !== null && h.value.includes(l.uid) && U(l.uid);
205
+ }
206
+ function kt(t) {
207
+ const l = Pe(t);
208
+ l !== null && (h.value.includes(l.uid) || U(l.uid));
208
209
  }
209
- const kt = g(() => Math.max(
210
- ...B.value.filter((t) => !h.value.includes(t.uid)).map(({ value: t }) => t)
210
+ const wt = g(() => Math.max(
211
+ ...P.value.filter((t) => !h.value.includes(t.uid)).map(({ value: t }) => t)
211
212
  ));
212
- function Pe(t) {
213
- return t / kt.value;
213
+ function Be(t) {
214
+ return t / wt.value;
214
215
  }
215
- const B = g(() => Te.value.map(({ values: t, name: l, color: o = null }, a) => {
216
- const r = Ht(t).reduce((d, W) => d + W, 0);
216
+ const P = g(() => Te.value.map(({ values: t, name: l, color: o = null }, a) => {
217
+ const r = Xt(t).reduce((d, W) => d + W, 0);
217
218
  return {
218
219
  name: l,
219
- color: o || He(o) || Ie.value[a] || N[a] || N[a % N.length],
220
+ color: o || Xe(o) || Ie.value[a] || N[a] || N[a % N.length],
220
221
  value: r,
221
222
  proportion: r / Te.value.map((d) => (d.values || []).reduce((W, Bt) => W + Bt, 0)).reduce((d, W) => d + W, 0),
222
- uid: je(),
223
+ uid: Ge(),
223
224
  absoluteIndex: a
224
225
  };
225
- })), ne = g(() => B.value.map((t, l) => ({
226
- ...t,
227
- shape: "circle",
228
- opacity: h.value.includes(t.uid) ? 0.5 : 1,
229
- segregate: () => z(t.uid),
230
- isSegregated: h.value.includes(t.uid),
231
- display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Xe(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, R({
226
+ })), ne = g(() => P.value.map((t, l) => {
227
+ const o = Ye(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, V({
232
228
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
233
229
  v: t.value,
234
230
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
235
231
  r: e.value.style.chart.legend.roundingValue
236
- }), { datapoint: t, index: l }) : ""}${e.value.style.chart.legend.showPercentage ? h.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / T.value) ? "-" : R({ v: t.value / T.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
237
- })).toSorted((t, l) => l.value - t.value)), wt = g(() => ({
232
+ }), { datapoint: t, index: l }), a = isNaN(t.value / _.value) ? "-" : V({ v: t.value / _.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage }), r = Le({
233
+ showVal: e.value.style.chart.legend.showValue,
234
+ showPercentage: e.value.style.chart.legend.showPercentage,
235
+ val: o,
236
+ percentage: h.value.includes(t.uid) ? "-%" : a
237
+ });
238
+ return {
239
+ ...t,
240
+ shape: "circle",
241
+ opacity: h.value.includes(t.uid) ? 0.5 : 1,
242
+ segregate: () => U(t.uid),
243
+ isSegregated: h.value.includes(t.uid),
244
+ display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${r}`
245
+ };
246
+ }).toSorted((t, l) => l.value - t.value)), At = g(() => ({
238
247
  cy: "rings-div-legend",
239
248
  backgroundColor: e.value.style.chart.legend.backgroundColor,
240
249
  color: e.value.style.chart.legend.color,
241
250
  fontSize: e.value.style.chart.legend.fontSize,
242
251
  paddingBottom: 12,
243
252
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
244
- })), T = g(() => B.value.filter((t) => !h.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, l) => t + l, 0)), b = g(() => B.value.filter((t) => !h.value.includes(t.uid)).map(({ name: t, value: l, color: o = null, uid: a, absoluteIndex: r }, d) => ({
253
+ })), _ = g(() => P.value.filter((t) => !h.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, l) => t + l, 0)), b = g(() => P.value.filter((t) => !h.value.includes(t.uid)).map(({ name: t, value: l, color: o = null, uid: a, absoluteIndex: r }, d) => ({
245
254
  absoluteIndex: r,
246
255
  uid: a,
247
256
  name: t,
248
- color: o || He(o) || Ie.value[d] || N[d] || N[d % N.length],
257
+ color: o || Xe(o) || Ie.value[d] || N[d] || N[d % N.length],
249
258
  value: l,
250
- proportion: Pe(l),
251
- percentage: l / T.value * 100,
252
- strokeWidth: e.value.style.chart.layout.rings.strokeWidth * Pe(l)
259
+ proportion: Be(l),
260
+ percentage: l / _.value * 100,
261
+ strokeWidth: e.value.style.chart.layout.rings.strokeWidth * Be(l)
253
262
  })).toSorted((t, l) => l.value - t.value));
254
- function At() {
263
+ function $t() {
255
264
  return b.value.map(
256
265
  ({ name: t, color: l, value: o, absoluteValues: a, percentage: r }) => ({
257
266
  name: t,
@@ -262,30 +271,45 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
262
271
  })
263
272
  );
264
273
  }
265
- const p = g(() => bt.value - e.value.style.chart.layout.rings.strokeWidth * 2);
266
- function $t(t, l) {
274
+ const p = g(() => yt.value - e.value.style.chart.layout.rings.strokeWidth * 2);
275
+ function Tt(t, l) {
267
276
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l });
268
277
  }
269
- function Tt(t, l) {
270
- F.value = null, G.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l });
278
+ function Ft(t, l) {
279
+ T.value = null, G.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l });
280
+ }
281
+ function Le({
282
+ val: t,
283
+ percentage: l,
284
+ showVal: o,
285
+ showPercentage: a
286
+ }) {
287
+ const r = e.value.style.chart.layout.labels.dataLabels;
288
+ return to({
289
+ config: r,
290
+ val: t,
291
+ percentage: l,
292
+ showVal: o,
293
+ showPercentage: a
294
+ });
271
295
  }
272
296
  const re = u(null);
273
- function Ft(t, l) {
297
+ function _t(t, l) {
274
298
  if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), h.value.length === y.dataset.length) return;
275
299
  re.value = {
276
300
  datapoint: t,
277
301
  seriesIndex: l,
278
302
  series: b.value,
279
303
  config: e.value
280
- }, F.value = l;
304
+ }, T.value = l;
281
305
  const o = b.value[l], a = e.value.style.chart.tooltip.customFormat;
282
- if (Kt(a) && Qt(() => a({
306
+ if (Zt(a) && eo(() => a({
283
307
  seriesIndex: l,
284
308
  datapoint: t,
285
309
  series: b.value,
286
310
  config: e.value
287
311
  })))
288
- K.value = a({
312
+ Q.value = a({
289
313
  seriesIndex: l,
290
314
  datapoint: t,
291
315
  series: b.value,
@@ -293,30 +317,30 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
293
317
  });
294
318
  else {
295
319
  let r = "";
296
- r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${o.color}" />${pt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${m.value}_${t.absoluteIndex})" />` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${Xe(
297
- e.value.style.chart.layout.labels.dataLabels.formatter,
298
- o.value,
299
- R({
300
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
301
- v: o.value,
302
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
303
- r: e.value.style.chart.tooltip.roundingValue
304
- }),
305
- { datapoint: t, seriesIndex: l }
306
- )}
307
- </b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${R({
308
- v: o.value / T.value * 100,
309
- s: "%",
310
- r: e.value.style.chart.tooltip.roundingPercentage
311
- })})</span></div>` : r += `<b>${R({
312
- v: o.value / T.value * 100,
313
- s: "%",
314
- r: e.value.style.chart.tooltip.roundingPercentage
315
- })}</b></div>`), K.value = r;
320
+ r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${o.color}" />${ft.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${m.value}_${t.absoluteIndex})" />` : ""}</svg>`, r += `<b>${Le({
321
+ showVal: e.value.style.chart.tooltip.showValue,
322
+ showPercentage: e.value.style.chart.tooltip.showPercentage,
323
+ val: `<span>${Ye(
324
+ e.value.style.chart.layout.labels.dataLabels.formatter,
325
+ o.value,
326
+ V({
327
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
328
+ v: o.value,
329
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
330
+ r: e.value.style.chart.tooltip.roundingValue
331
+ }),
332
+ { datapoint: t, seriesIndex: l }
333
+ )}</span>`,
334
+ percentage: V({
335
+ v: o.value / _.value * 100,
336
+ s: "%",
337
+ r: e.value.style.chart.tooltip.roundingPercentage
338
+ })
339
+ })}</b></div>`, Q.value = r;
316
340
  }
317
341
  G.value = !0;
318
342
  }
319
- const O = g(() => {
343
+ const D = g(() => {
320
344
  const t = b.value.map((o) => ({
321
345
  name: o.name,
322
346
  color: o.color
@@ -325,15 +349,15 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
325
349
  }), X = g(() => {
326
350
  const t = [
327
351
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
328
- R({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: T.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
352
+ V({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: _.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
329
353
  "100%"
330
- ], l = O.value.head.map((r, d) => [
354
+ ], l = D.value.head.map((r, d) => [
331
355
  {
332
356
  color: r.color,
333
357
  name: r.name
334
358
  },
335
- R({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: O.value.body[d], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
336
- isNaN(O.value.body[d] / T.value) ? "-" : (O.value.body[d] / T.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
359
+ V({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: D.value.body[d], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
360
+ isNaN(D.value.body[d] / _.value) ? "-" : (D.value.body[d] / _.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
337
361
  ]), o = {
338
362
  th: {
339
363
  backgroundColor: e.value.table.th.backgroundColor,
@@ -360,29 +384,29 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
360
384
  });
361
385
  function se(t = null) {
362
386
  zt(() => {
363
- const l = O.value.head.map((r, d) => [[
387
+ const l = D.value.head.map((r, d) => [[
364
388
  r.name
365
- ], [O.value.body[d]], [isNaN(O.value.body[d] / T.value) ? "-" : O.value.body[d] / T.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), a = Zt(o);
366
- t ? t(a) : Jt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-rings" });
389
+ ], [D.value.body[d]], [isNaN(D.value.body[d] / _.value) ? "-" : D.value.body[d] / _.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), a = Kt(o);
390
+ t ? t(a) : Qt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-rings" });
367
391
  });
368
392
  }
369
- const P = u(!1);
370
- function Le(t) {
371
- P.value = t, fe.value += 1;
393
+ const B = u(!1);
394
+ function Ne(t) {
395
+ B.value = t, fe.value += 1;
372
396
  }
373
- function Ne() {
397
+ function Re() {
374
398
  k.value.showTable = !k.value.showTable;
375
399
  }
376
- function Re() {
400
+ function Ve() {
377
401
  k.value.showTooltip = !k.value.showTooltip;
378
402
  }
379
- const q = u(!1);
403
+ const Y = u(!1);
380
404
  function ue() {
381
- q.value = !q.value;
405
+ Y.value = !Y.value;
382
406
  }
383
- async function _t({ scale: t = 2 } = {}) {
384
- if (!_.value) return;
385
- const { width: l, height: o } = _.value.getBoundingClientRect(), a = l / o, { imageUri: r, base64: d } = await co({ domElement: _.value, base64: !0, img: !0, scale: t });
407
+ async function St({ scale: t = 2 } = {}) {
408
+ if (!F.value) return;
409
+ const { width: l, height: o } = F.value.getBoundingClientRect(), a = l / o, { imageUri: r, base64: d } = await go({ domElement: F.value, base64: !0, img: !0, scale: t });
386
410
  return {
387
411
  imageUri: r,
388
412
  base64: d,
@@ -392,18 +416,18 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
392
416
  aspectRatio: a
393
417
  };
394
418
  }
395
- const U = g(() => {
419
+ const z = g(() => {
396
420
  const t = e.value.table.useDialog && !e.value.table.show, l = k.value.showTable;
397
421
  return {
398
- component: t ? vt : rt,
422
+ component: t ? dt : st,
399
423
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
400
424
  props: t ? {
401
425
  backgroundColor: e.value.table.th.backgroundColor,
402
426
  color: e.value.table.th.color,
403
427
  headerColor: e.value.table.th.color,
404
428
  headerBg: e.value.table.th.backgroundColor,
405
- isFullscreen: P.value,
406
- fullscreenParent: _.value,
429
+ isFullscreen: B.value,
430
+ fullscreenParent: F.value,
407
431
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
408
432
  } : {
409
433
  hideDetails: !0,
@@ -422,59 +446,59 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
422
446
  }
423
447
  };
424
448
  });
425
- Y(() => k.value.showTable, (t) => {
449
+ q(() => k.value.showTable, (t) => {
426
450
  e.value.table.show || (t && e.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
427
451
  });
428
- function Ve() {
452
+ function Me() {
429
453
  k.value.showTable = !1, ee.value && ee.value.setTableIconState(!1);
430
454
  }
431
- const St = g(() => ne.value.map((t) => ({
455
+ const Dt = g(() => ne.value.map((t) => ({
432
456
  ...t,
433
457
  name: t.display
434
- }))), Ot = g(() => e.value.style.chart.backgroundColor), Dt = g(() => e.value.style.chart.legend), xt = g(() => e.value.style.chart.title), { exportSvg: Et, getSvg: It } = ro({
458
+ }))), Ot = g(() => e.value.style.chart.backgroundColor), Et = g(() => e.value.style.chart.legend), xt = g(() => e.value.style.chart.title), { exportSvg: It, getSvg: Pt } = uo({
435
459
  svg: oe,
436
460
  title: xt,
437
- legend: Dt,
438
- legendItems: St,
461
+ legend: Et,
462
+ legendItems: Dt,
439
463
  backgroundColor: Ot
440
464
  });
441
- async function Me({ isCb: t }) {
465
+ async function Ue({ isCb: t }) {
442
466
  if (t) {
443
- const { blob: l, url: o, text: a, dataUrl: r } = await It();
467
+ const { blob: l, url: o, text: a, dataUrl: r } = await Pt();
444
468
  e.value.userOptions.callbacks.svg({ blob: l, url: o, text: a, dataUrl: r });
445
469
  } else
446
- Et();
470
+ It();
447
471
  }
448
- return ot({
449
- getData: At,
450
- getImage: _t,
451
- generatePdf: xe,
472
+ return lt({
473
+ getData: $t,
474
+ getImage: St,
475
+ generatePdf: Ee,
452
476
  generateCsv: se,
453
- generateImage: Ee,
454
- generateSvg: Me,
455
- hideSeries: Ct,
456
- showSeries: mt,
457
- toggleTable: Ne,
458
- toggleTooltip: Re,
477
+ generateImage: xe,
478
+ generateSvg: Ue,
479
+ hideSeries: kt,
480
+ showSeries: Ct,
481
+ toggleTable: Re,
482
+ toggleTooltip: Ve,
459
483
  toggleAnnotator: ue,
460
- toggleFullscreen: Le
484
+ toggleFullscreen: Ne
461
485
  }), (t, l) => (i(), f("div", {
462
486
  ref_key: "ringsChart",
463
- ref: _,
464
- class: j(`vue-data-ui-component vue-ui-rings ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
487
+ ref: F,
488
+ class: j(`vue-data-ui-component vue-ui-rings ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
465
489
  style: L(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
466
490
  id: `rings_${m.value}`,
467
491
  onMouseleave: l[2] || (l[2] = (o) => {
468
- F.value = null, G.value = !1, n(Fe)(!1);
492
+ T.value = null, G.value = !1, n(Fe)(!1);
469
493
  }),
470
494
  onMouseenter: l[3] || (l[3] = () => n(Fe)(!0))
471
495
  }, [
472
- e.value.userOptions.buttons.annotator ? (i(), x(n(ut), {
496
+ e.value.userOptions.buttons.annotator ? (i(), E(n(it), {
473
497
  key: 0,
474
498
  svgRef: n(oe),
475
499
  backgroundColor: e.value.style.chart.backgroundColor,
476
500
  color: e.value.style.chart.color,
477
- active: q.value,
501
+ active: Y.value,
478
502
  onClose: ue
479
503
  }, {
480
504
  "annotator-action-close": c(() => [
@@ -497,7 +521,7 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
497
521
  ]),
498
522
  _: 3
499
523
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : C("", !0),
500
- ft.value ? (i(), f("div", {
524
+ bt.value ? (i(), f("div", {
501
525
  key: 1,
502
526
  ref_key: "noTitle",
503
527
  ref: Ce,
@@ -510,7 +534,7 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
510
534
  ref: be,
511
535
  style: "width:100%;background:transparent"
512
536
  }, [
513
- (i(), x(go, {
537
+ (i(), E(po, {
514
538
  key: `title_${ke.value}`,
515
539
  config: {
516
540
  title: {
@@ -526,15 +550,15 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
526
550
  ], 512)) : C("", !0),
527
551
  w("div", {
528
552
  id: `legend-top-${m.value}`
529
- }, null, 8, bo),
530
- e.value.userOptions.show && pe.value && (n(_e) || n(te)) ? (i(), x(n(it), {
553
+ }, null, 8, mo),
554
+ e.value.userOptions.show && pe.value && (n(_e) || n(te)) ? (i(), E(n(ct), {
531
555
  ref_key: "userOptionsRef",
532
556
  ref: ee,
533
557
  key: `user_options_${fe.value}`,
534
558
  backgroundColor: e.value.style.chart.backgroundColor,
535
559
  color: e.value.style.chart.color,
536
- isPrinting: n(Oe),
537
- isImaging: n(De),
560
+ isPrinting: n(De),
561
+ isImaging: n(Oe),
538
562
  uid: m.value,
539
563
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
540
564
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -544,22 +568,22 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
544
568
  hasTable: e.value.userOptions.buttons.table,
545
569
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
546
570
  isTooltip: k.value.showTooltip,
547
- isFullscreen: P.value,
571
+ isFullscreen: B.value,
548
572
  titles: { ...e.value.userOptions.buttonTitles },
549
- chartElement: _.value,
573
+ chartElement: F.value,
550
574
  position: e.value.userOptions.position,
551
575
  hasAnnotator: e.value.userOptions.buttons.annotator,
552
- isAnnotation: q.value,
576
+ isAnnotation: Y.value,
553
577
  callbacks: e.value.userOptions.callbacks,
554
578
  printScale: e.value.userOptions.print.scale,
555
579
  tableDialog: e.value.table.useDialog,
556
- onToggleFullscreen: Le,
557
- onGeneratePdf: n(xe),
580
+ onToggleFullscreen: Ne,
581
+ onGeneratePdf: n(Ee),
558
582
  onGenerateCsv: se,
559
- onGenerateImage: n(Ee),
560
- onGenerateSvg: Me,
561
- onToggleTable: Ne,
562
- onToggleTooltip: Re,
583
+ onGenerateImage: n(xe),
584
+ onGenerateSvg: Ue,
585
+ onToggleTable: Re,
586
+ onToggleTooltip: Ve,
563
587
  onToggleAnnotator: ue,
564
588
  style: L({
565
589
  visibility: n(_e) ? n(te) ? "visible" : "hidden" : "visible"
@@ -632,12 +656,12 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
632
656
  (i(), f("svg", {
633
657
  ref_key: "svgRef",
634
658
  ref: oe,
635
- xmlns: n(Xt),
636
- class: j({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value, resizing: Q.value || n(I) }),
659
+ xmlns: n(Yt),
660
+ class: j({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value, resizing: Z.value || n(I) }),
637
661
  viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
638
662
  style: L(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
639
663
  }, [
640
- Z(n(ct)),
664
+ J(n(vt)),
641
665
  t.$slots["chart-background"] ? (i(), f("foreignObject", {
642
666
  key: 0,
643
667
  x: 0,
@@ -649,7 +673,7 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
649
673
  }
650
674
  }, [
651
675
  v(t.$slots, "chart-background", {}, void 0, !0)
652
- ], 8, mo)) : C("", !0),
676
+ ], 8, ko)) : C("", !0),
653
677
  w("defs", null, [
654
678
  (i(!0), f(ce, null, ve(b.value, (o, a) => (i(), f("radialGradient", {
655
679
  cx: "50%",
@@ -661,84 +685,84 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
661
685
  }, [
662
686
  w("stop", {
663
687
  offset: "0%",
664
- "stop-color": n(qt)(n(Yt)(o.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
665
- }, null, 8, ko),
688
+ "stop-color": n(qt)(n(Jt)(o.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
689
+ }, null, 8, Ao),
666
690
  w("stop", {
667
691
  offset: "100%",
668
692
  "stop-color": o.color
669
- }, null, 8, wo)
670
- ], 8, Co))), 256))
693
+ }, null, 8, $o)
694
+ ], 8, wo))), 256))
671
695
  ]),
672
- t.$slots.pattern ? (i(), f("g", Ao, [
696
+ t.$slots.pattern ? (i(), f("g", To, [
673
697
  (i(!0), f(ce, null, ve(b.value, (o) => (i(), f("defs", null, [
674
- v(t.$slots, "pattern", Ue({ ref_for: !0 }, { seriesIndex: o.absoluteIndex, patternId: `pattern_${m.value}_${o.absoluteIndex}` }), void 0, !0)
698
+ v(t.$slots, "pattern", We({ ref_for: !0 }, { seriesIndex: o.absoluteIndex, patternId: `pattern_${m.value}_${o.absoluteIndex}` }), void 0, !0)
675
699
  ]))), 256))
676
700
  ])) : C("", !0),
677
701
  (i(!0), f(ce, null, ve(b.value, (o, a) => (i(), f("g", null, [
678
702
  w("circle", {
679
703
  class: j({
680
- "vue-ui-rings-item": E.value && e.value.useCssAnimation,
681
- "vue-rings-item-onload": !E.value && e.value.useCssAnimation && !n(I),
682
- "vue-ui-rings-opacity": F.value !== null && F.value !== a
704
+ "vue-ui-rings-item": x.value && e.value.useCssAnimation,
705
+ "vue-rings-item-onload": !x.value && e.value.useCssAnimation && !n(I),
706
+ "vue-ui-rings-opacity": T.value !== null && T.value !== a
683
707
  }),
684
708
  style: L(`animation-delay:${a * 100}ms`),
685
709
  stroke: e.value.style.chart.layout.rings.stroke,
686
710
  cx: s.value.width / 2,
687
711
  cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + p.value * b.value[0].proportion / 2 - p.value * o.proportion / 2 - 2 * (a + 1),
688
- r: n(J)(p.value * o.proportion / 2 * 0.9 <= 0 ? 1e-4 : p.value * o.proportion / 2 * 0.9),
712
+ r: n(K)(p.value * o.proportion / 2 * 0.9 <= 0 ? 1e-4 : p.value * o.proportion / 2 * 0.9),
689
713
  fill: e.value.style.chart.layout.rings.gradient.underlayerColor
690
- }, null, 14, $o),
714
+ }, null, 14, Fo),
691
715
  w("circle", {
692
716
  class: j({
693
- "vue-ui-rings-item": E.value && e.value.useCssAnimation,
694
- "vue-rings-item-onload": !E.value && e.value.useCssAnimation && !n(I),
717
+ "vue-ui-rings-item": x.value && e.value.useCssAnimation,
718
+ "vue-rings-item-onload": !x.value && e.value.useCssAnimation && !n(I),
695
719
  "vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
696
- "vue-ui-rings-blur": F.value !== null && F.value !== a
720
+ "vue-ui-rings-blur": T.value !== null && T.value !== a
697
721
  }),
698
722
  style: L(`animation-delay:${a * 100}ms`),
699
723
  stroke: e.value.style.chart.layout.rings.stroke,
700
724
  "stroke-width": o.strokeWidth < 0.5 ? 0.5 : o.strokeWidth,
701
725
  cx: s.value.width / 2,
702
726
  cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + p.value * b.value[0].proportion / 2 - p.value * o.proportion / 2 - 2 * (a + 1),
703
- r: n(J)(p.value * o.proportion / 2 * 0.9 <= 0 ? 1e-4 : p.value * o.proportion / 2 * 0.9),
727
+ r: n(K)(p.value * o.proportion / 2 * 0.9 <= 0 ? 1e-4 : p.value * o.proportion / 2 * 0.9),
704
728
  fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${m.value}_${a})` : o.color
705
- }, null, 14, To),
729
+ }, null, 14, _o),
706
730
  t.$slots.pattern ? (i(), f("circle", {
707
731
  key: 0,
708
732
  class: j({
709
- "vue-ui-rings-item": E.value && e.value.useCssAnimation,
710
- "vue-rings-item-onload": !E.value && e.value.useCssAnimation && !n(I),
733
+ "vue-ui-rings-item": x.value && e.value.useCssAnimation,
734
+ "vue-rings-item-onload": !x.value && e.value.useCssAnimation && !n(I),
711
735
  "vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
712
- "vue-ui-rings-blur": F.value !== null && F.value !== a
736
+ "vue-ui-rings-blur": T.value !== null && T.value !== a
713
737
  }),
714
738
  style: L(`animation-delay:${a * 100}ms`),
715
739
  stroke: e.value.style.chart.layout.rings.stroke,
716
740
  "stroke-width": o.strokeWidth < 0.5 ? 0.5 : o.strokeWidth,
717
741
  cx: s.value.width / 2,
718
742
  cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + p.value * b.value[0].proportion / 2 - p.value * o.proportion / 2 - 2 * (a + 1),
719
- r: n(J)(p.value * o.proportion / 2 * 0.9 <= 0 ? 1e-4 : p.value * o.proportion / 2 * 0.9),
743
+ r: n(K)(p.value * o.proportion / 2 * 0.9 <= 0 ? 1e-4 : p.value * o.proportion / 2 * 0.9),
720
744
  fill: `url(#pattern_${m.value}_${o.absoluteIndex})`
721
- }, null, 14, Fo)) : C("", !0),
745
+ }, null, 14, So)) : C("", !0),
722
746
  w("circle", {
723
747
  stroke: "none",
724
748
  cx: s.value.width / 2,
725
749
  cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + p.value * b.value[0].proportion / 2 - p.value * o.proportion / 2 - 2 * (a + 1),
726
- r: n(J)(p.value * o.proportion / 2 * 0.9 <= 0 ? 1e-4 : p.value * o.proportion / 2 * 0.9),
750
+ r: n(K)(p.value * o.proportion / 2 * 0.9 <= 0 ? 1e-4 : p.value * o.proportion / 2 * 0.9),
727
751
  fill: "transparent",
728
- onMouseenter: (r) => Ft(o, a),
729
- onMouseleave: (r) => Tt(o, a),
730
- onClick: (r) => $t(o, a)
731
- }, null, 40, _o)
752
+ onMouseenter: (r) => _t(o, a),
753
+ onMouseleave: (r) => Ft(o, a),
754
+ onClick: (r) => Tt(o, a)
755
+ }, null, 40, Do)
732
756
  ]))), 256)),
733
757
  v(t.$slots, "svg", { svg: s.value }, void 0, !0)
734
- ], 14, yo)),
735
- t.$slots.watermark ? (i(), f("div", So, [
736
- v(t.$slots, "watermark", A($({ isPrinting: n(Oe) || n(De) })), void 0, !0)
758
+ ], 14, Co)),
759
+ t.$slots.watermark ? (i(), f("div", Oo, [
760
+ v(t.$slots, "watermark", A($({ isPrinting: n(De) || n(Oe) })), void 0, !0)
737
761
  ])) : C("", !0),
738
762
  w("div", {
739
763
  id: `legend-bottom-${m.value}`
740
- }, null, 8, Oo),
741
- $e.value ? (i(), x(Vt, {
764
+ }, null, 8, Eo),
765
+ $e.value ? (i(), E(Mt, {
742
766
  key: 5,
743
767
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${m.value}` : `#legend-bottom-${m.value}`
744
768
  }, [
@@ -746,25 +770,25 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
746
770
  ref_key: "chartLegend",
747
771
  ref: ye
748
772
  }, [
749
- e.value.style.chart.legend.show ? (i(), x(ho, {
773
+ e.value.style.chart.legend.show ? (i(), E(fo, {
750
774
  key: `legend_${Ae.value}`,
751
775
  legendSet: ne.value,
752
- config: wt.value,
753
- onClickMarker: l[0] || (l[0] = ({ legend: o }) => z(o.uid))
776
+ config: At.value,
777
+ onClickMarker: l[0] || (l[0] = ({ legend: o }) => U(o.uid))
754
778
  }, ie({
755
779
  item: c(({ legend: o, index: a }) => [
756
780
  n(I) ? C("", !0) : (i(), f("div", {
757
781
  key: 0,
758
- onClick: (r) => z(o.uid),
782
+ onClick: (r) => U(o.uid),
759
783
  style: L(`opacity:${h.value.includes(o.uid) ? 0.5 : 1}`)
760
- }, de(o.display), 13, Do))
784
+ }, de(o.display), 13, xo))
761
785
  ]),
762
786
  _: 2
763
787
  }, [
764
788
  t.$slots.pattern ? {
765
789
  name: "legend-pattern",
766
790
  fn: c(({ legend: o, index: a }) => [
767
- Z(vo, {
791
+ J(ho, {
768
792
  shape: o.shape,
769
793
  radius: 30,
770
794
  stroke: "none",
@@ -788,7 +812,7 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
788
812
  }, [
789
813
  v(t.$slots, "source", {}, void 0, !0)
790
814
  ], 512)) : C("", !0),
791
- Z(n(at), {
815
+ J(n(nt), {
792
816
  show: k.value.showTooltip && G.value && h.value.length < y.dataset.length,
793
817
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
794
818
  color: e.value.style.chart.tooltip.color,
@@ -799,9 +823,9 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
799
823
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
800
824
  position: e.value.style.chart.tooltip.position,
801
825
  offsetY: e.value.style.chart.tooltip.offsetY,
802
- parent: _.value,
803
- content: K.value,
804
- isFullscreen: P.value,
826
+ parent: F.value,
827
+ content: Q.value,
828
+ isFullscreen: B.value,
805
829
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
806
830
  smooth: e.value.style.chart.tooltip.smooth,
807
831
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
@@ -816,30 +840,30 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
816
840
  ]),
817
841
  _: 3
818
842
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
819
- pe.value && e.value.userOptions.buttons.table ? (i(), x(Mt(U.value.component), Ue({ key: 7 }, U.value.props, {
843
+ pe.value && e.value.userOptions.buttons.table ? (i(), E(Ut(z.value.component), We({ key: 7 }, z.value.props, {
820
844
  ref_key: "tableUnit",
821
845
  ref: M,
822
- onClose: Ve
846
+ onClose: Me
823
847
  }), ie({
824
848
  content: c(() => [
825
- (i(), x(n(st), {
849
+ (i(), E(n(ut), {
826
850
  key: `table_${we.value}`,
827
851
  colNames: X.value.colNames,
828
852
  head: X.value.head,
829
853
  body: X.value.body,
830
854
  config: X.value.config,
831
- title: e.value.table.useDialog ? "" : U.value.title,
855
+ title: e.value.table.useDialog ? "" : z.value.title,
832
856
  withCloseButton: !e.value.table.useDialog,
833
- onClose: Ve
857
+ onClose: Me
834
858
  }, {
835
859
  th: c(({ th: o }) => [
836
860
  w("div", {
837
861
  innerHTML: o,
838
862
  style: { display: "flex", "align-items": "center" }
839
- }, null, 8, xo)
863
+ }, null, 8, Io)
840
864
  ]),
841
865
  td: c(({ td: o }) => [
842
- We(de(o.name || o), 1)
866
+ je(de(o.name || o), 1)
843
867
  ]),
844
868
  _: 1
845
869
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -849,7 +873,7 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
849
873
  e.value.table.useDialog ? {
850
874
  name: "title",
851
875
  fn: c(() => [
852
- We(de(U.value.title), 1)
876
+ je(de(z.value.title), 1)
853
877
  ]),
854
878
  key: "0"
855
879
  } : void 0,
@@ -861,24 +885,24 @@ const qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
861
885
  class: "vue-ui-user-options-button",
862
886
  onClick: l[1] || (l[1] = (o) => se(e.value.userOptions.callbacks.csv))
863
887
  }, [
864
- Z(n(nt), {
888
+ J(n(rt), {
865
889
  name: "excel",
866
- stroke: U.value.props.color
890
+ stroke: z.value.props.color
867
891
  }, null, 8, ["stroke"])
868
892
  ])
869
893
  ]),
870
894
  key: "1"
871
895
  } : void 0
872
896
  ]), 1040)) : C("", !0),
873
- n(I) ? (i(), x(no, { key: 8 })) : C("", !0)
874
- ], 46, fo));
897
+ n(I) ? (i(), E(so, { key: 8 })) : C("", !0)
898
+ ], 46, yo));
875
899
  }
876
- }, Io = /* @__PURE__ */ po(Eo, [["__scopeId", "data-v-f5946cde"]]), Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
900
+ }, Bo = /* @__PURE__ */ bo(Po, [["__scopeId", "data-v-0ab006de"]]), Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
877
901
  __proto__: null,
878
- default: Io
902
+ default: Bo
879
903
  }, Symbol.toStringTag, { value: "Module" }));
880
904
  export {
881
- Yo as a,
905
+ Qo as a,
882
906
  Zo as b,
883
- Io as v
907
+ Bo as v
884
908
  };