vue-data-ui 3.26.4 → 3.27.0

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 (200) hide show
  1. package/dist/{Arrow-BW_Fs3gD.js → Arrow-DKO1l8oR.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BniZj4c8.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
  3. package/dist/{BaseIcon-CPBlYfWq.js → BaseIcon-Cx9FD751.js} +1 -1
  4. package/dist/{BaseLegendToggle-CWtURpCj.js → BaseLegendToggle-CP3sddwv.js} +1 -1
  5. package/dist/{BaseZoomControls-jfXIQvEi.js → BaseZoomControls-vNi8YykO.js} +2 -2
  6. package/dist/{ColorPicker-BKndMOAm.js → ColorPicker-hmC2bvwS.js} +2 -2
  7. package/dist/{DataTable-DV4Plrm3.js → DataTable-CjF_An2h.js} +2 -2
  8. package/dist/{HillActions-B45z2DmP.js → HillActions-DqqGB33u.js} +1 -1
  9. package/dist/{Legend-CJzCVAWl.js → Legend-CulFgjUY.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-B3I_UGDm.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
  11. package/dist/{PackageVersion-DEAYvEjl.js → PackageVersion-D7H9nfK0.js} +1 -1
  12. package/dist/{PenAndPaper-Dv8WPVwA.js → PenAndPaper-CNiuGw6k.js} +3 -3
  13. package/dist/{Shape-BIe6C0HJ.js → Shape-DSwamtmO.js} +1 -1
  14. package/dist/{SlicerPreview-8atniw0P.js → SlicerPreview-k5YerMA9.js} +12 -12
  15. package/dist/{SparkTooltip-DsGcGbm2.js → SparkTooltip-D35KVv6N.js} +6 -6
  16. package/dist/{Title-B4UpMerH.js → Title-BMCuINbv.js} +1 -1
  17. package/dist/{Tooltip-BmfGHn1L.js → Tooltip-C4ZTwkLF.js} +1 -1
  18. package/dist/{UserOptions-C92R4ACT.js → UserOptions-CORYQiif.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-BL08UcHI.js → dom-to-png-CBusMkua.js} +1 -1
  91. package/dist/{exposedLib-CBUiJ5b-.js → exposedLib-UNxZlnAS.js} +10 -10
  92. package/dist/{img--C0otIB0.js → img-Bb5rHcpO.js} +1 -1
  93. package/dist/{labelUtils-CfQIxXGL.js → labelUtils-Ccn9kK7T.js} +1 -1
  94. package/dist/{lib-DTiqmM1G.js → lib-D4wK6ljP.js} +130 -136
  95. package/dist/{package-Dj6ohGVJ.js → package-DmQufM0G.js} +1 -1
  96. package/dist/{pdf-CbSwKZjC.js → pdf-BzIQHx-F.js} +1 -1
  97. package/dist/{render-common-vuBsglf8.js → render-common-BtfjXdkJ.js} +10 -10
  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 +212 -60
  103. package/dist/types/vue-ui-stackbar.d.ts +10 -0
  104. package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
  105. package/dist/{useNestedProp-D8cRQaVo.js → useNestedProp-DR_8JPol.js} +1 -1
  106. package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
  107. package/dist/{usePrinter-R2nu9g4B.js → usePrinter-DdW2GSm0.js} +2 -2
  108. package/dist/utils.js +10 -10
  109. package/dist/{vue-data-ui-CijFk00w.js → vue-data-ui-Df7WV80w.js} +70 -70
  110. package/dist/vue-data-ui.js +75 -75
  111. package/dist/{vue-ui-3d-bar-BxmndVBz.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
  112. package/dist/{vue-ui-accordion-CxMo-mXC.js → vue-ui-accordion-CaoNWreI.js} +4 -4
  113. package/dist/{vue-ui-age-pyramid-ysX_ySuK.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
  114. package/dist/{vue-ui-annotator-IAqTX-5M.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
  115. package/dist/{vue-ui-bullet-rO5_pB7t.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
  116. package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
  117. package/dist/{vue-ui-candlestick-BLxP54W4.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
  118. package/dist/{vue-ui-carousel-table-DHbt40ze.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
  119. package/dist/{vue-ui-chestnut-CHHZx5ek.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
  120. package/dist/{vue-ui-chord-WmqFMK4A.js → vue-ui-chord-MF4xF5az.js} +46 -46
  121. package/dist/{vue-ui-circle-pack-D2RXFToP.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
  122. package/dist/{vue-ui-cursor-CDf6s7AZ.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
  123. package/dist/{vue-ui-dag-Ba3Bkxd7.js → vue-ui-dag-D2EUqeDN.js} +65 -65
  124. package/dist/{vue-ui-dashboard-DKCEm56d.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
  125. package/dist/{vue-ui-digits-B6cSEytP.js → vue-ui-digits-zSqwYWHm.js} +4 -4
  126. package/dist/{vue-ui-donut-BfAlXtvS.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
  127. package/dist/{vue-ui-donut-evolution-C2TYUKag.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
  128. package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
  129. package/dist/{vue-ui-dumbbell-GMQ4JZf_.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
  130. package/dist/{vue-ui-flow-B53jXaVQ.js → vue-ui-flow-iSH6dyGw.js} +109 -109
  131. package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
  132. package/dist/{vue-ui-galaxy-CE7LYi8M.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
  133. package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
  134. package/dist/{vue-ui-geo-B4a2hwYf.js → vue-ui-geo-mwTtvIHY.js} +19 -19
  135. package/dist/{vue-ui-gizmo-CY4cLNcJ.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
  136. package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
  137. package/dist/{vue-ui-hill-CTPzgkCs.js → vue-ui-hill-DPfTt3UE.js} +18 -18
  138. package/dist/{vue-ui-history-plot-CGFijdmp.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
  139. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
  140. package/dist/{vue-ui-kpi-Bu2OpF5d.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
  141. package/dist/{vue-ui-label-CWFQzKOy.js → vue-ui-label-r3-QloJL.js} +65 -65
  142. package/dist/{vue-ui-mini-loader-hdh8SSxW.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
  143. package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
  144. package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
  145. package/dist/{vue-ui-nested-donuts-DN2PgxeK.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
  146. package/dist/{vue-ui-onion-lrDciRpg.js → vue-ui-onion-_L0uEATI.js} +209 -209
  147. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
  148. package/dist/{vue-ui-quadrant-DrcflMPg.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
  149. package/dist/{vue-ui-quick-chart-D5ZFV0Aj.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
  150. package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
  151. package/dist/{vue-ui-rating-DxBJXbPW.js → vue-ui-rating-C_iTttXB.js} +25 -25
  152. package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
  153. package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
  154. package/dist/{vue-ui-rings-6OHcBlOC.js → vue-ui-rings-D_GPkgbD.js} +318 -318
  155. package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
  156. package/dist/{vue-ui-skeleton--HlS7ySk.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
  157. package/dist/{vue-ui-smiley-ZrM6-QCy.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
  158. package/dist/{vue-ui-spark-trend-CIfpocxI.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
  159. package/dist/{vue-ui-sparkbar-Db7Ntacd.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
  160. package/dist/{vue-ui-sparkgauge-DEuNFkU_.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
  161. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
  162. package/dist/{vue-ui-sparkline-CSsnkXMJ.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
  163. package/dist/{vue-ui-sparkstackbar-BnN7KebI.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
  164. package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
  165. package/dist/{vue-ui-stackline-CqjwxpU1.js → vue-ui-stackline-CSMuUup2.js} +303 -303
  166. package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
  167. package/dist/{vue-ui-table-CsMozTrM.js → vue-ui-table-BCEIbg8-.js} +14 -14
  168. package/dist/{vue-ui-table-heatmap-DFcESbBy.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
  169. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
  170. package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
  171. package/dist/{vue-ui-timer-CFxvU_q1.js → vue-ui-timer-BKr8RVnn.js} +10 -10
  172. package/dist/{vue-ui-tiremarks-DIjsyNwO.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
  173. package/dist/{vue-ui-treemap-BuvFUWJm.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
  174. package/dist/{vue-ui-waffle-B8Knvp7m.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
  175. package/dist/{vue-ui-wheel-2_4BOo6P.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
  176. package/dist/{vue-ui-word-cloud-BEgmAfj1.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
  177. package/dist/{vue-ui-world-D4WMHq7E.js → vue-ui-world-BZ09DOiF.js} +498 -498
  178. package/dist/{vue-ui-xy-DBLJ8Uhc.js → vue-ui-xy-C3h54loZ.js} +405 -405
  179. package/dist/{vue-ui-xy-canvas-Dv0pk4Wd.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
  180. package/dist/{vue-ui-xy-DGIz4MDV.js → vue-ui-xy-jemv5dsf.js} +288 -288
  181. package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
  182. package/package.json +1 -1
  183. package/dist/vue-ui-bump-BIyTRpqJ.js +0 -1242
  184. package/dist/vue-ui-donut-DMISY-E8.js +0 -2427
  185. package/dist/vue-ui-funnel-eVH871L3.js +0 -749
  186. package/dist/vue-ui-gauge-D_jNBHjA.js +0 -934
  187. package/dist/vue-ui-heatmap-DW7bo_Um.js +0 -1613
  188. package/dist/vue-ui-horizontal-bar-vPeWNfxO.js +0 -1723
  189. package/dist/vue-ui-molecule-ejjPjG63.js +0 -941
  190. package/dist/vue-ui-mood-radar-pqMAcUWm.js +0 -1111
  191. package/dist/vue-ui-parallel-coordinate-plot-McES6sLT.js +0 -1444
  192. package/dist/vue-ui-radar-DZPVV9cU.js +0 -1386
  193. package/dist/vue-ui-relation-circle-BtESVsB0.js +0 -905
  194. package/dist/vue-ui-ridgeline-CSLuDJWq.js +0 -1630
  195. package/dist/vue-ui-scatter-CKJ87fhp.js +0 -2418
  196. package/dist/vue-ui-sparkhistogram-CQTwLaZi.js +0 -589
  197. package/dist/vue-ui-stackbar-CISQXhoK.js +0 -2660
  198. package/dist/vue-ui-strip-plot-CRZDCNc1.js +0 -1752
  199. package/dist/vue-ui-table-sparkline-CwsrD7te.js +0 -738
  200. package/dist/vue-ui-thermometer-_zSQM0Nk.js +0 -758
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, $t as n, D as r, Ft as i, Jt as a, Rt as o, S as ee, Vt as s, X as te, at as ne, f as c, h as re, i as ie, nt as ae, p as oe, qt as l, r as se, t as ce, tn as le, vt as ue, w as de } from "./lib-DTiqmM1G.js";
2
+ import { $ as t, D as n, Ht as r, It as i, Jt as a, S as o, X as s, Yt as ee, at as te, en as ne, f as c, h as re, i as l, nn as ie, nt as ae, p as oe, r as se, t as ce, w as le, yt as ue, zt as de } from "./lib-D4wK6ljP.js";
3
3
  import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
4
- import { t as me } from "./useConfig-DObkR9Aa.js";
5
- import { t as he } from "./usePrinter-R2nu9g4B.js";
4
+ import { t as me } from "./useConfig-D_6ZrPMD.js";
5
+ import { t as he } from "./usePrinter-DdW2GSm0.js";
6
6
  import { n as ge, t as _e } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as ve } from "./useNestedProp-D8cRQaVo.js";
7
+ import { t as ve } from "./useNestedProp-DR_8JPol.js";
8
8
  import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as be } from "./useChartExport-iwOqiIWX.js";
10
- import { t as xe } from "./img--C0otIB0.js";
10
+ import { t as xe } from "./img-Bb5rHcpO.js";
11
11
  import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
12
  import { t as Ce } from "./DefGrad-DVBqDjhO.js";
13
13
  import { t as we } from "./A11yDataTable-DdRsVULz.js";
@@ -360,7 +360,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
360
360
  ],
361
361
  setup(e, { expose: Se, emit: He }) {
362
362
  ze((e) => ({ v6fcd3982: e.tdo }));
363
- let Pn = Ne(() => import("./BaseIcon-CPBlYfWq.js").then((e) => e.n)), Fn = Ne(() => import("./vue-ui-accordion-CxMo-mXC.js").then((e) => e.n)), In = Ne(() => import("./PenAndPaper-Dv8WPVwA.js").then((e) => e.t)), Ln = Ne(() => import("./UserOptions-C92R4ACT.js").then((e) => e.n)), Rn = Ne(() => import("./PackageVersion-DEAYvEjl.js").then((e) => e.t)), zn = Ne(() => import("./BaseDraggableDialog-BniZj4c8.js").then((e) => e.n)), { vue_ui_chestnut: Bn } = me(), { isThemeValid: Vn, warnInvalidTheme: Hn } = ye(), E = e, Un = d(() => !!E.dataset && E.dataset.length), D = b(te()), Wn = b(null), Gn = b(0), Kn = b(null), qn = b(null), Jn = b(!1), O = b(!1), k = b(""), A = b({
363
+ let Pn = Ne(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), Fn = Ne(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), In = Ne(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), Ln = Ne(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), Rn = Ne(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), zn = Ne(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_chestnut: Bn } = me(), { isThemeValid: Vn, warnInvalidTheme: Hn } = ye(), E = e, Un = d(() => !!E.dataset && E.dataset.length), D = b(s()), Wn = b(null), Gn = b(0), Kn = b(null), qn = b(null), Jn = b(!1), O = b(!1), k = b(""), A = b({
364
364
  level: "root",
365
365
  rootIndex: 0,
366
366
  branchIndex: 0,
@@ -391,7 +391,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
391
391
  }
392
392
  ]
393
393
  });
394
- let L = d(() => j.value.userOptions.useCursorPointer), Yn = d(() => le({
394
+ let L = d(() => j.value.userOptions.useCursorPointer), Yn = d(() => ie({
395
395
  defaultConfig: {
396
396
  userOptions: { show: !1 },
397
397
  table: { show: !1 },
@@ -535,7 +535,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
535
535
  }
536
536
  ]
537
537
  }],
538
- skeletonConfig: le({
538
+ skeletonConfig: ie({
539
539
  defaultConfig: j.value,
540
540
  userConfig: Yn.value
541
541
  })
@@ -547,16 +547,16 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
547
547
  }), t = e.theme;
548
548
  if (!t) return e;
549
549
  if (!Vn.value(e)) return Hn(e), e;
550
- let r = ve({
550
+ let n = ve({
551
551
  userConfig: Oe[t] || E.config,
552
552
  defaultConfig: e
553
553
  }), i = ve({
554
554
  userConfig: E.config,
555
- defaultConfig: r
555
+ defaultConfig: n
556
556
  });
557
557
  return {
558
558
  ...i,
559
- customPalette: i.customPalette.length ? i.customPalette : n[t] || s
559
+ customPalette: i.customPalette.length ? i.customPalette : ne[t] || r
560
560
  };
561
561
  }
562
562
  Be(() => E.config, (e) => {
@@ -566,7 +566,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
566
566
  elementId: `vue-ui-chestnut_${D.value}`,
567
567
  fileName: F.value.title.text || "vue-ui-chestnut",
568
568
  options: j.value.userOptions.print
569
- }), sr = d(() => j.value.userOptions.show), cr = d(() => de(j.value.customPalette)), lr = b({ showTable: j.value.table.show });
569
+ }), sr = d(() => j.value.userOptions.show), cr = d(() => le(j.value.customPalette)), lr = b({ showTable: j.value.table.show });
570
570
  Be(j, () => {
571
571
  lr.value = { showTable: j.value.table.show };
572
572
  }, { immediate: !0 });
@@ -595,7 +595,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
595
595
  datasetObject: e,
596
596
  requiredAttributes: ["name", "branches"]
597
597
  }).forEach((e) => {
598
- ne({
598
+ te({
599
599
  componentName: "VueUiChestnut",
600
600
  type: "datasetSerieAttribute",
601
601
  property: e,
@@ -606,7 +606,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
606
606
  datasetObject: e,
607
607
  requiredAttributes: ["name", "value"]
608
608
  }).forEach((e) => {
609
- ne({
609
+ te({
610
610
  componentName: "VueUiChestnut",
611
611
  type: "datasetSerieAttribute",
612
612
  property: e,
@@ -617,7 +617,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
617
617
  datasetObject: e,
618
618
  requiredAttributes: ["name", "value"]
619
619
  }).forEach((e) => {
620
- ne({
620
+ te({
621
621
  componentName: "VueUiChestnut",
622
622
  type: "datasetSerieAttribute",
623
623
  property: e,
@@ -630,47 +630,47 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
630
630
  let n = (e.branches || []).map((e) => e.value || 0).reduce((e, t) => e + t, 0);
631
631
  return {
632
632
  ...e,
633
- color: ee(e.color) || cr.value[t] || s[t] || s[t % s.length],
633
+ color: o(e.color) || cr.value[t] || r[t] || r[t % r.length],
634
634
  id: e.id || `root_${t}_${D.value}`,
635
635
  type: "root",
636
636
  total: n,
637
637
  rootIndex: t,
638
- branches: (e.branches || []).map((r, i) => ({
639
- ...r,
638
+ branches: (e.branches || []).map((i, a) => ({
639
+ ...i,
640
640
  rootName: e.name,
641
641
  rootIndex: t,
642
- color: ee(e.color) || cr.value[t] || s[t] || s[t % s.length],
643
- value: r.value >= 0 ? r.value : 0,
644
- id: r.id || `branch_${t}_${i}_${D.value}`,
645
- proportionToRoot: r.value / n,
642
+ color: o(e.color) || cr.value[t] || r[t] || r[t % r.length],
643
+ value: i.value >= 0 ? i.value : 0,
644
+ id: i.id || `branch_${t}_${a}_${D.value}`,
645
+ proportionToRoot: i.value / n,
646
646
  type: "branch",
647
- breakdown: (r.breakdown || []).map((a, o) => ({
647
+ breakdown: (i.breakdown || []).map((s, ee) => ({
648
648
  table: {
649
649
  rootName: e.name,
650
650
  rootValue: n,
651
651
  rootToTotal: n / B.value,
652
- branchName: r.name,
653
- branchValue: r.value,
654
- branchToTotal: r.value / B.value,
655
- branchToRoot: r.value / n,
656
- nutName: a.name,
657
- nutValue: a.value,
658
- nutToTotal: a.value / B.value,
659
- nutToRoot: a.value / n,
660
- nutToBranch: a.value / r.value
652
+ branchName: i.name,
653
+ branchValue: i.value,
654
+ branchToTotal: i.value / B.value,
655
+ branchToRoot: i.value / n,
656
+ nutName: s.name,
657
+ nutValue: s.value,
658
+ nutToTotal: s.value / B.value,
659
+ nutToRoot: s.value / n,
660
+ nutToBranch: s.value / i.value
661
661
  },
662
- ...a,
662
+ ...s,
663
663
  type: "nut",
664
- branchName: r.name,
664
+ branchName: i.name,
665
665
  rootName: e.name,
666
- branchTotal: r.value >= 0 ? r.value : 0,
667
- proportionToBranch: a.value / r.value,
668
- proportionToRoot: a.value / n,
669
- proportionToTree: a.value / B.value,
666
+ branchTotal: i.value >= 0 ? i.value : 0,
667
+ proportionToBranch: s.value / i.value,
668
+ proportionToRoot: s.value / n,
669
+ proportionToTree: s.value / B.value,
670
670
  rootIndex: t,
671
- id: a.id || `nut_${t}_${i}_${o}_${D.value}`,
672
- color: ee(a.color) || cr.value[o] || s[o] || s[o % s.length],
673
- value: a.value >= 0 ? a.value : 0
671
+ id: s.id || `nut_${t}_${a}_${ee}_${D.value}`,
672
+ color: o(s.color) || cr.value[ee] || r[ee] || r[ee % r.length],
673
+ value: s.value >= 0 ? s.value : 0
674
674
  }))
675
675
  }))
676
676
  };
@@ -755,7 +755,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
755
755
  jr();
756
756
  });
757
757
  function jr() {
758
- o(E.dataset) && ne({
758
+ de(E.dataset) && te({
759
759
  componentName: "VueUiChestnut",
760
760
  type: "dataset",
761
761
  debug: fr.value
@@ -788,7 +788,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
788
788
  [""],
789
789
  ["Grand total", B.value],
790
790
  [""]
791
- ], n = X.value.head, i = X.value.body.map((e, t) => [
791
+ ], r = X.value.head, i = X.value.body.map((e, t) => [
792
792
  X.value.body[t - 1] && X.value.body[t - 1].rootName === e.rootName ? "" : e.rootName,
793
793
  X.value.body[t - 1] && X.value.body[t - 1].rootName === e.rootName ? "" : e.rootValue,
794
794
  X.value.body[t - 1] && X.value.body[t - 1].rootName === e.rootName ? "" : e.rootToTotal,
@@ -801,7 +801,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
801
801
  e.nutToBranch,
802
802
  e.nutToRoot,
803
803
  e.nutToTotal
804
- ]), a = t.concat([n]).concat(i), o = r(a);
804
+ ]), a = t.concat([r]).concat(i), o = n(a);
805
805
  e ? e(o) : ae({
806
806
  csvContent: o,
807
807
  title: F.value.title.text || "vue-ui-chestnut"
@@ -885,7 +885,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
885
885
  }
886
886
  let Ur = d(() => V.value.map((e, n) => ({
887
887
  ...e,
888
- display: `${e.name}: ${ie(M.value.labels.formatter, e.total, t({
888
+ display: `${e.name}: ${l(M.value.labels.formatter, e.total, t({
889
889
  p: F.value.legend.prefix,
890
890
  v: e.total,
891
891
  s: F.value.legend.suffix,
@@ -1350,7 +1350,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1350
1350
  key: `root_gradient_${D.value}_${e.rootIndex}`,
1351
1351
  stops: [[
1352
1352
  "0%",
1353
- w(l)(w(a)(e.color, .05), 100 - M.value.gradientIntensity),
1353
+ w(a)(w(ee)(e.color, .05), 100 - M.value.gradientIntensity),
1354
1354
  1
1355
1355
  ], [
1356
1356
  "100%",
@@ -1372,7 +1372,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1372
1372
  1
1373
1373
  ], [
1374
1374
  "100%",
1375
- w(l)(w(a)(e.color, .02), 100 - N.value.gradientIntensity),
1375
+ w(a)(w(ee)(e.color, .02), 100 - N.value.gradientIntensity),
1376
1376
  1
1377
1377
  ]]
1378
1378
  }, null, 8, ["id", "stops"]))), 128)),
@@ -1387,17 +1387,17 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1387
1387
  stops: [
1388
1388
  [
1389
1389
  "0%",
1390
- w(l)("#FFFFFF", 0),
1390
+ w(a)("#FFFFFF", 0),
1391
1391
  0
1392
1392
  ],
1393
1393
  [
1394
1394
  "80%",
1395
- w(l)("#FFFFFF", P.value.selected.gradientIntensity),
1395
+ w(a)("#FFFFFF", P.value.selected.gradientIntensity),
1396
1396
  1
1397
1397
  ],
1398
1398
  [
1399
1399
  "100%",
1400
- w(l)("#FFFFFF", 0),
1400
+ w(a)("#FFFFFF", 0),
1401
1401
  0
1402
1402
  ]
1403
1403
  ]
@@ -1413,17 +1413,17 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1413
1413
  stops: [
1414
1414
  [
1415
1415
  "0%",
1416
- w(l)("#FFFFFF", 0),
1416
+ w(a)("#FFFFFF", 0),
1417
1417
  0
1418
1418
  ],
1419
1419
  [
1420
1420
  "80%",
1421
- w(l)("#FFFFFF", P.value.gradientIntensity),
1421
+ w(a)("#FFFFFF", P.value.gradientIntensity),
1422
1422
  1
1423
1423
  ],
1424
1424
  [
1425
1425
  "100%",
1426
- w(l)("#FFFFFF", 0),
1426
+ w(a)("#FFFFFF", 0),
1427
1427
  0
1428
1428
  ]
1429
1429
  ]
@@ -1439,17 +1439,17 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1439
1439
  stops: [
1440
1440
  [
1441
1441
  "0%",
1442
- w(l)(I.value.backgroundColor, 100),
1442
+ w(a)(I.value.backgroundColor, 100),
1443
1443
  1
1444
1444
  ],
1445
1445
  [
1446
1446
  "80%",
1447
- w(l)(I.value.backgroundColor, 60),
1447
+ w(a)(I.value.backgroundColor, 60),
1448
1448
  1
1449
1449
  ],
1450
1450
  [
1451
1451
  "100%",
1452
- w(l)(I.value.backgroundColor, 0),
1452
+ w(a)(I.value.backgroundColor, 0),
1453
1453
  1
1454
1454
  ]
1455
1455
  ]
@@ -1475,7 +1475,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1475
1475
  onClick: n[3] ||= () => {
1476
1476
  J(), $(), O.value = !1;
1477
1477
  }
1478
- }, C(w(ie)(F.value.grandTotal.formatter, B.value, w(t)({
1478
+ }, C(w(l)(F.value.grandTotal.formatter, B.value, w(t)({
1479
1479
  p: F.value.grandTotal.prefix,
1480
1480
  v: B.value,
1481
1481
  s: F.value.grandTotal.suffix,
@@ -1490,12 +1490,12 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1490
1490
  1
1491
1491
  ], [
1492
1492
  "100%",
1493
- w(l)(e.color, F.value.links.opacity),
1493
+ w(a)(e.color, F.value.links.opacity),
1494
1494
  1
1495
1495
  ]]
1496
1496
  }, null, 8, ["id", "stops"])]), m("path", {
1497
1497
  d: zr(e),
1498
- stroke: w(l)(e.color, F.value.links.opacity),
1498
+ stroke: w(a)(e.color, F.value.links.opacity),
1499
1499
  fill: `url(#link_grad_${e.id})`,
1500
1500
  "stroke-linecap": "round",
1501
1501
  "stroke-linejoin": "round",
@@ -1532,7 +1532,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1532
1532
  "font-weight": "bold",
1533
1533
  style: v(`cursor:${L.value ? "pointer" : "default"}; opacity:${Y(e) ? 1 : .05}`),
1534
1534
  onClick: (t) => Or(e)
1535
- }, C(w(ie)(M.value.labels.formatter, e.total, w(t)({
1535
+ }, C(w(l)(M.value.labels.formatter, e.total, w(t)({
1536
1536
  p: M.value.labels.prefix,
1537
1537
  v: e.total,
1538
1538
  s: M.value.labels.suffix,
@@ -1582,7 +1582,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1582
1582
  "font-weight": "bold",
1583
1583
  style: v(`cursor:${L.value ? "pointer" : "default"}; opacity:${Y(e) ? 1 : .05}`),
1584
1584
  onClick: (t) => Dr(e)
1585
- }, C(w(ie)(N.value.labels.dataLabels.formatter, e.value, w(t)({
1585
+ }, C(w(l)(N.value.labels.dataLabels.formatter, e.value, w(t)({
1586
1586
  p: F.value.branches.labels.dataLabels.prefix,
1587
1587
  v: e.value,
1588
1588
  s: F.value.branches.labels.dataLabels.suffix,
@@ -1642,7 +1642,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1642
1642
  stroke: "none"
1643
1643
  }, null, 8, St)])), w(Xn) ? f("", !0) : (y(), p(u, { key: 0 }, [
1644
1644
  m("span", null, C(e.name) + ":", 1),
1645
- m("b", null, C(w(ie)(F.value.roots.labels.formatter, e.total, w(t)({
1645
+ m("b", null, C(w(l)(F.value.roots.labels.formatter, e.total, w(t)({
1646
1646
  p: I.value.layout.legend.prefix,
1647
1647
  v: e.total,
1648
1648
  s: I.value.layout.legend.suffix,
@@ -1747,7 +1747,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1747
1747
  "text-anchor": "middle",
1748
1748
  onClick: Er,
1749
1749
  class: g(P.value.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1750
- }, C(w(ie)(P.value.selected.labels.dataLabels.formatter, W.value.value, w(t)({
1750
+ }, C(w(l)(P.value.selected.labels.dataLabels.formatter, W.value.value, w(t)({
1751
1751
  p: P.value.selected.labels.core.value.prefix,
1752
1752
  v: W.value.value,
1753
1753
  s: P.value.selected.labels.core.value.suffix,
@@ -1786,7 +1786,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1786
1786
  v: W.value.breakdown[n].value / W.value.value * 100,
1787
1787
  s: "%",
1788
1788
  r: P.value.selected.labels.roundingPercentage
1789
- })) + " " + C(j.value.translations.of) + " " + C(W.value.breakdown[n].branchName) + " " + C(w(ie)(P.value.selected.labels.dataLabels.formatter, W.value.breakdown[n].value, w(t)({
1789
+ })) + " " + C(j.value.translations.of) + " " + C(W.value.breakdown[n].branchName) + " " + C(w(l)(P.value.selected.labels.dataLabels.formatter, W.value.breakdown[n].value, w(t)({
1790
1790
  p: P.value.selected.labels.dataLabels.prefix,
1791
1791
  v: W.value.breakdown[n].value,
1792
1792
  s: P.value.selected.labels.dataLabels.suffix,
@@ -1837,7 +1837,7 @@ var He = /* @__PURE__ */ e({ default: () => Pn }), Ue = ["id"], We = ["id"], Ge
1837
1837
  onClick: n[8] ||= () => {
1838
1838
  J(), $(), O.value = !1;
1839
1839
  }
1840
- }, C(e.name) + ": " + C(w(ie)(N.value.labels.dataLabels.formatter, e.value, w(t)({
1840
+ }, C(e.name) + ": " + C(w(l)(N.value.labels.dataLabels.formatter, e.value, w(t)({
1841
1841
  p: N.value.labels.dataLabels.prefix,
1842
1842
  v: e.value,
1843
1843
  s: N.value.labels.dataLabels.suffix,
@@ -1,21 +1,21 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, $t as n, D as r, Rt as i, S as a, Vt as o, X as s, Y as c, at as l, i as ee, in as te, nt as ne, r as re, t as ie, tn as ae, vt as oe, w as se } from "./lib-DTiqmM1G.js";
2
+ import { $ as t, D as n, Ht as r, S as i, X as a, Y as o, an as s, at as c, en as ee, i as l, nn as te, nt as ne, r as re, t as ie, w as ae, yt as oe, zt as se } from "./lib-D4wK6ljP.js";
3
3
  import { n as ce } from "./useHints-Dq_w2E8B.js";
4
- import { t as le } from "./useConfig-DObkR9Aa.js";
5
- import { t as ue } from "./usePrinter-R2nu9g4B.js";
4
+ import { t as le } from "./useConfig-D_6ZrPMD.js";
5
+ import { t as ue } from "./usePrinter-DdW2GSm0.js";
6
6
  import { n as de, t as fe } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as pe } from "./useNestedProp-D8cRQaVo.js";
7
+ import { t as pe } from "./useNestedProp-DR_8JPol.js";
8
8
  import { t as me } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as he } from "./useChartExport-iwOqiIWX.js";
10
- import { t as ge } from "./img--C0otIB0.js";
11
- import { n as _e } from "./Title-B4UpMerH.js";
12
- import { t as ve } from "./Shape-BIe6C0HJ.js";
10
+ import { t as ge } from "./img-Bb5rHcpO.js";
11
+ import { n as _e } from "./Title-BMCuINbv.js";
12
+ import { t as ve } from "./Shape-DSwamtmO.js";
13
13
  import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
14
  import { l as be, t as xe } from "./useResponsive-ZtArZtUf.js";
15
15
  import { t as Se } from "./A11yDataTable-DdRsVULz.js";
16
16
  import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
17
17
  import { t as we } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as Te } from "./Legend-CJzCVAWl.js";
18
+ import { t as Te } from "./Legend-CulFgjUY.js";
19
19
  import { t as Ee } from "./vue_ui_chord-DPfS1Umc.js";
20
20
  import { Fragment as u, Teleport as De, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Oe, createTextVNode as ke, createVNode as Ae, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as je, nextTick as Me, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ne, onMounted as Pe, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Fe, shallowRef as Ie, toDisplayString as T, toRefs as Le, unref as E, useCssVars as Re, watch as ze, withCtx as D, withModifiers as Be } from "vue";
21
21
  //#region src/components/vue-ui-chord.vue
@@ -141,7 +141,7 @@ var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We
141
141
  ],
142
142
  setup(e, { expose: ye, emit: Ve }) {
143
143
  Re((e) => ({ v7e4b29de: e.slicerColor }));
144
- let yt = g(() => import("./vue-ui-accordion-CxMo-mXC.js").then((e) => e.n)), bt = g(() => import("./BaseIcon-CPBlYfWq.js").then((e) => e.n)), xt = g(() => import("./DataTable-DV4Plrm3.js")), St = g(() => import("./PackageVersion-DEAYvEjl.js").then((e) => e.t)), Ct = g(() => import("./PenAndPaper-Dv8WPVwA.js").then((e) => e.t)), wt = g(() => import("./UserOptions-C92R4ACT.js").then((e) => e.n)), Tt = g(() => import("./BaseDraggableDialog-BniZj4c8.js").then((e) => e.n)), { vue_ui_chord: Et } = le(), { isThemeValid: Dt, warnInvalidTheme: Ot } = me(), O = e, kt = Ve, k = S(!!O.dataset && Object.hasOwn(O.dataset, "matrix")), A = S(s()), j = S(null), M = S(null), N = S(null), At = S(0), P = S(null), jt = S(null), Mt = S(null), Nt = S(null), Pt = S(null), Ft = S(0), It = S(0), Lt = S(0), Rt = S(!1), F = Ie(null), zt = Ie(null), Bt = S(!1), Vt = S(null), Ht = S(null), I = S("group"), L = S(null), Ut = S(!1), R = S(en()), z = d(() => R.value.style.chart.arcs), B = d(() => R.value.style.chart.ribbons), V = d(() => R.value.style.chart);
144
+ let yt = g(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), bt = g(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), xt = g(() => import("./DataTable-CjF_An2h.js")), St = g(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), Ct = g(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), wt = g(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), Tt = g(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_chord: Et } = le(), { isThemeValid: Dt, warnInvalidTheme: Ot } = me(), O = e, kt = Ve, k = S(!!O.dataset && Object.hasOwn(O.dataset, "matrix")), A = S(a()), j = S(null), M = S(null), N = S(null), At = S(0), P = S(null), jt = S(null), Mt = S(null), Nt = S(null), Pt = S(null), Ft = S(0), It = S(0), Lt = S(0), Rt = S(!1), F = Ie(null), zt = Ie(null), Bt = S(!1), Vt = S(null), Ht = S(null), I = S("group"), L = S(null), Ut = S(!1), R = S(en()), z = d(() => R.value.style.chart.arcs), B = d(() => R.value.style.chart.ribbons), V = d(() => R.value.style.chart);
145
145
  ce({
146
146
  config: () => R.value,
147
147
  dataset: () => O.dataset,
@@ -155,7 +155,7 @@ var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We
155
155
  ]
156
156
  }]
157
157
  });
158
- let H = d(() => R.value.userOptions.useCursorPointer), Wt = d(() => ae({
158
+ let H = d(() => R.value.userOptions.useCursorPointer), Wt = d(() => te({
159
159
  defaultConfig: {
160
160
  useCssAnimation: !1,
161
161
  userOptions: { show: !1 },
@@ -219,7 +219,7 @@ var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We
219
219
  "#969696"
220
220
  ]
221
221
  },
222
- skeletonConfig: ae({
222
+ skeletonConfig: te({
223
223
  defaultConfig: R.value,
224
224
  userConfig: Wt.value
225
225
  })
@@ -235,16 +235,16 @@ var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We
235
235
  }), t = e.theme;
236
236
  if (!t) return e;
237
237
  if (!Dt.value(e)) return Ot(e), e;
238
- let r = pe({
238
+ let n = pe({
239
239
  userConfig: Ee[t] || O.config,
240
240
  defaultConfig: e
241
241
  }), i = pe({
242
242
  userConfig: O.config,
243
- defaultConfig: r
243
+ defaultConfig: n
244
244
  });
245
245
  return {
246
246
  ...i,
247
- customPalette: i.customPalette.length ? i.customPalette : n[t] || o
247
+ customPalette: i.customPalette.length ? i.customPalette : ee[t] || r
248
248
  };
249
249
  }
250
250
  ze(() => O.config, (e) => {
@@ -255,8 +255,8 @@ var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We
255
255
  nn(), rn(), Ft.value += 1, It.value += 1, Lt.value += 1;
256
256
  });
257
257
  function nn() {
258
- if (i(O.dataset)) {
259
- l({
258
+ if (se(O.dataset)) {
259
+ c({
260
260
  componentName: "VueUiChord",
261
261
  type: "dataset",
262
262
  debug: tn.value
@@ -269,7 +269,7 @@ var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We
269
269
  });
270
270
  if (e.length) {
271
271
  tn.value && e.forEach((e) => {
272
- l({
272
+ c({
273
273
  componentName: "VueUiChord",
274
274
  type: "datasetAttribute",
275
275
  property: e
@@ -325,32 +325,32 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
325
325
  let K = S({
326
326
  height: 600,
327
327
  width: 600
328
- }), sn = d(() => R.value.userOptions.show && !V.value.title.text), cn = d(() => se(R.value.customPalette)), q = d(() => ({
328
+ }), sn = d(() => R.value.userOptions.show && !V.value.title.text), cn = d(() => ae(R.value.customPalette)), q = d(() => ({
329
329
  inner: K.value.width * .3 * z.value.innerRadiusRatio,
330
330
  outer: K.value.width * .34 * z.value.outerRadiusRatio
331
331
  })), ln = d(() => z.value.padAngle / 100), J = d(() => ({
332
332
  matrix: U.value.matrix ?? [[0]],
333
333
  labels: U.value.labels ?? [""],
334
- colors: U.value.colors && Array.isArray(U.value.colors) && U.value.colors.length ? U.value.colors.map((e) => a(e)) : U.value.matrix.map((e, t) => cn.value[t] || o[t] || o[t % o.length])
334
+ colors: U.value.colors && Array.isArray(U.value.colors) && U.value.colors.length ? U.value.colors.map((e) => i(e)) : U.value.matrix.map((e, t) => cn.value[t] || r[t] || r[t % r.length])
335
335
  }));
336
336
  function un(e, t) {
337
- let n = e.length, r = q.value.inner, i = Array(n).fill(0), a = 0;
338
- for (let t = 0; t < n; t += 1) for (let r = 0; r < n; r += 1) i[t] += e[t][r], a += e[t][r];
339
- let o = (2 * Math.PI - t * n) / a, c = [], l = 0;
337
+ let n = e.length, r = q.value.inner, i = Array(n).fill(0), o = 0;
338
+ for (let t = 0; t < n; t += 1) for (let r = 0; r < n; r += 1) i[t] += e[t][r], o += e[t][r];
339
+ let s = (2 * Math.PI - t * n) / o, c = [], ee = 0;
340
340
  for (let e = 0; e < n; e += 1) {
341
- let n = l, r = n + i[e] * o;
341
+ let n = ee, r = n + i[e] * s;
342
342
  c.push({
343
343
  index: e,
344
344
  pattern: `pattern_${A.value}_${e}`,
345
345
  startAngle: n,
346
346
  endAngle: r,
347
347
  name: J.value.labels[e],
348
- id: s(),
348
+ id: a(),
349
349
  color: J.value.colors[e],
350
- proportion: i[e] / a
351
- }), l = r + t;
350
+ proportion: i[e] / o
351
+ }), ee = r + t;
352
352
  }
353
- let ee = [];
353
+ let l = [];
354
354
  for (let t = 0; t < n; t += 1) {
355
355
  let n = e[t].map((e, t) => ({
356
356
  j: t,
@@ -359,30 +359,30 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
359
359
  n.sort((e, t) => t.v - e.v);
360
360
  let i = c[t].startAngle;
361
361
  for (let { j: e, v: a } of n) {
362
- let n = i, s = n + a * o;
363
- ee.push({
362
+ let n = i, o = n + a * s;
363
+ l.push({
364
364
  index: t,
365
365
  subIndex: e,
366
366
  pattern: `pattern_${A.value}_${t}`,
367
367
  startAngle: n,
368
- endAngle: s,
368
+ endAngle: o,
369
369
  value: a,
370
370
  groupName: J.value.labels[t],
371
371
  groupId: c[t].id,
372
372
  groupColor: J.value.colors[t],
373
- midAngle: (n + s) / 2,
374
- midBaseX: Math.cos((n + s) / 2 - Math.PI / 2) * r,
375
- midBaseY: Math.sin((n + s) / 2 - Math.PI / 2) * r
376
- }), i = s;
373
+ midAngle: (n + o) / 2,
374
+ midBaseX: Math.cos((n + o) / 2 - Math.PI / 2) * r,
375
+ midBaseY: Math.sin((n + o) / 2 - Math.PI / 2) * r
376
+ }), i = o;
377
377
  }
378
378
  }
379
379
  let te = [];
380
- for (let e of ee) {
381
- let t = ee.find((t) => t.index === e.subIndex && t.subIndex === e.index);
380
+ for (let e of l) {
381
+ let t = l.find((t) => t.index === e.subIndex && t.subIndex === e.index);
382
382
  te.push({
383
383
  source: e,
384
384
  target: t,
385
- id: s()
385
+ id: a()
386
386
  });
387
387
  }
388
388
  return {
@@ -466,12 +466,12 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
466
466
  return e;
467
467
  });
468
468
  function pn(e, t, n, r) {
469
- let i = e - Math.PI / 2, a = t - Math.PI / 2, o = Math.cos(i) * n, s = Math.sin(i) * n, c = Math.cos(a) * n, l = Math.sin(a) * n, ee = Math.cos(a) * r, te = Math.sin(a) * r, ne = Math.cos(i) * r, re = Math.sin(i) * r, ie = +(t - e > Math.PI);
470
- return `M${o},${s} A${n},${n} 0 ${ie} 1 ${c},${l} L${ee},${te} A${r},${r} 0 ${ie} 0 ${ne},${re} Z`;
469
+ let i = e - Math.PI / 2, a = t - Math.PI / 2, o = Math.cos(i) * n, s = Math.sin(i) * n, c = Math.cos(a) * n, ee = Math.sin(a) * n, l = Math.cos(a) * r, te = Math.sin(a) * r, ne = Math.cos(i) * r, re = Math.sin(i) * r, ie = +(t - e > Math.PI);
470
+ return `M${o},${s} A${n},${n} 0 ${ie} 1 ${c},${ee} L${l},${te} A${r},${r} 0 ${ie} 0 ${ne},${re} Z`;
471
471
  }
472
472
  function mn(e, t) {
473
- let n = q.value.inner, r = e.startAngle - Math.PI / 2, i = e.endAngle - Math.PI / 2, a = t.startAngle - Math.PI / 2, o = t.endAngle - Math.PI / 2, s = Math.cos(r) * n, c = Math.sin(r) * n, l = Math.cos(i) * n, ee = Math.sin(i) * n, te = Math.cos(a) * n, ne = Math.sin(a) * n, re = Math.cos(o) * n, ie = Math.sin(o) * n;
474
- return `M${s},${c}A${n},${n} 0 ${+(e.endAngle - e.startAngle > Math.PI)} 1 ${l},${ee}Q0,0 ${te},${ne}A${n},${n} 0 ${+(t.endAngle - t.startAngle > Math.PI)} 1 ${re},${ie}Q0,0 ${s},${c}Z`;
473
+ let n = q.value.inner, r = e.startAngle - Math.PI / 2, i = e.endAngle - Math.PI / 2, a = t.startAngle - Math.PI / 2, o = t.endAngle - Math.PI / 2, s = Math.cos(r) * n, c = Math.sin(r) * n, ee = Math.cos(i) * n, l = Math.sin(i) * n, te = Math.cos(a) * n, ne = Math.sin(a) * n, re = Math.cos(o) * n, ie = Math.sin(o) * n;
474
+ return `M${s},${c}A${n},${n} 0 ${+(e.endAngle - e.startAngle > Math.PI)} 1 ${ee},${l}Q0,0 ${te},${ne}A${n},${n} 0 ${+(t.endAngle - t.startAngle > Math.PI)} 1 ${re},${ie}Q0,0 ${s},${c}Z`;
475
475
  }
476
476
  let hn = d(() => X.value * Math.PI / 180);
477
477
  function gn(e) {
@@ -509,7 +509,7 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
509
509
  xn.value = !1;
510
510
  }
511
511
  function On(e) {
512
- return ee(B.value.labels.formatter, e, t({
512
+ return l(B.value.labels.formatter, e, t({
513
513
  p: B.value.labels.prefix,
514
514
  v: e,
515
515
  s: B.value.labels.suffix,
@@ -640,11 +640,11 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
640
640
  });
641
641
  function Jn(e = null) {
642
642
  Me(() => {
643
- let t = J.value.matrix.map((e, t) => [[J.value.labels[t] || t], e]), n = [
643
+ let t = J.value.matrix.map((e, t) => [[J.value.labels[t] || t], e]), r = [
644
644
  [V.value.title.text],
645
645
  [V.value.title.subtitle.text],
646
646
  [[""], ...J.value.labels.map((e, t) => [e || t])]
647
- ].concat(t), i = r(n);
647
+ ].concat(t), i = n(r);
648
648
  e ? e(i) : ne({
649
649
  csvContent: i,
650
650
  title: V.value.title.text || "vue-ui-chord"
@@ -1215,8 +1215,8 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
1215
1215
  "font-size": z.value.labels.fontSize,
1216
1216
  "font-weight": z.value.labels.bold ? "bold" : "normal",
1217
1217
  fill: z.value.labels.color,
1218
- innerHTML: E(c)({
1219
- content: E(te)(Xn(e, t)),
1218
+ innerHTML: E(o)({
1219
+ content: E(s)(Xn(e, t)),
1220
1220
  fontSize: z.value.labels.fontSize,
1221
1221
  fill: z.value.labels.color,
1222
1222
  x: 0,