vue-data-ui 3.1.17 → 3.1.19-next.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 (229) hide show
  1. package/dist/{Arrow-DFX_NfRh.js → Arrow-cyyFTTnm.js} +7 -7
  2. package/dist/{BaseDraggableDialog-CrCjMg89.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
  3. package/dist/{BaseIcon-7s-tCFcQ.js → BaseIcon-D2f9w5Z5.js} +1 -1
  4. package/dist/{ColorPicker-BoLH_m_Z.js → ColorPicker-gaAecgEC.js} +6 -6
  5. package/dist/{DataTable-Dw6dxJk3.js → DataTable-xISHA7Pu.js} +2 -2
  6. package/dist/{Legend-CjdnJGHq.js → Legend-_Rv594VS.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-tX2IXHuz.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
  8. package/dist/{PackageVersion-D1HToLlZ.js → PackageVersion-DRpg18lg.js} +3 -3
  9. package/dist/{PenAndPaper-BKnXOYre.js → PenAndPaper-CtDMyIvW.js} +3 -3
  10. package/dist/{Shape-6PexQroB.js → Shape-BDy56-wS.js} +1 -1
  11. package/dist/{Slicer-BJkhMBk4.js → Slicer-BgpOhmb6.js} +31 -31
  12. package/dist/{SparkTooltip-BtO1j0i1.js → SparkTooltip-DOFGBHJ-.js} +1 -1
  13. package/dist/{Title-BVMfF0uu.js → Title-pI68ZJsq.js} +1 -1
  14. package/dist/{Tooltip-DBvmoYXU.js → Tooltip-Clf2K3CF.js} +1 -1
  15. package/dist/{UserOptions-CKzW9w0Q.js → UserOptions-Bn3u4JQu.js} +2 -2
  16. package/dist/components/arrow.js +5 -0
  17. package/dist/components/vue-ui-3d-bar.js +5 -0
  18. package/dist/components/vue-ui-accordion.js +5 -0
  19. package/dist/components/vue-ui-age-pyramid.js +5 -0
  20. package/dist/components/vue-ui-bullet.js +5 -0
  21. package/dist/components/vue-ui-candlestick.js +5 -0
  22. package/dist/components/vue-ui-carousel-table.js +5 -0
  23. package/dist/components/vue-ui-chestnut.js +5 -0
  24. package/dist/components/vue-ui-chord.js +5 -0
  25. package/dist/components/vue-ui-circle-pack.js +5 -0
  26. package/dist/components/vue-ui-cursor.js +5 -0
  27. package/dist/components/vue-ui-dashboard.js +5 -0
  28. package/dist/components/vue-ui-digits.js +5 -0
  29. package/dist/components/vue-ui-donut-evolution.js +5 -0
  30. package/dist/components/vue-ui-donut.js +5 -0
  31. package/dist/components/vue-ui-dumbbell.js +5 -0
  32. package/dist/components/vue-ui-flow.js +5 -0
  33. package/dist/components/vue-ui-funnel.js +5 -0
  34. package/dist/components/vue-ui-galaxy.js +5 -0
  35. package/dist/components/vue-ui-gauge.js +5 -0
  36. package/dist/components/vue-ui-gizmo.js +5 -0
  37. package/dist/components/vue-ui-heatmap.js +5 -0
  38. package/dist/components/vue-ui-history-plot.js +5 -0
  39. package/dist/components/vue-ui-horizontal-bar.js +5 -0
  40. package/dist/components/vue-ui-icon.js +5 -0
  41. package/dist/components/vue-ui-kpi.js +5 -0
  42. package/dist/components/vue-ui-mini-loader.js +5 -0
  43. package/dist/components/vue-ui-molecule.js +5 -0
  44. package/dist/components/vue-ui-mood-radar.js +5 -0
  45. package/dist/components/vue-ui-nested-donuts.js +5 -0
  46. package/dist/components/vue-ui-onion.js +5 -0
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
  48. package/dist/components/vue-ui-pattern.js +5 -0
  49. package/dist/components/vue-ui-quadrant.js +5 -0
  50. package/dist/components/vue-ui-quick-chart.js +5 -0
  51. package/dist/components/vue-ui-radar.js +5 -0
  52. package/dist/components/vue-ui-rating.js +5 -0
  53. package/dist/components/vue-ui-relation-circle.js +5 -0
  54. package/dist/components/vue-ui-ridgeline.js +5 -0
  55. package/dist/components/vue-ui-rings.js +5 -0
  56. package/dist/components/vue-ui-scatter.js +5 -0
  57. package/dist/components/vue-ui-skeleton.js +5 -0
  58. package/dist/components/vue-ui-smiley.js +5 -0
  59. package/dist/components/vue-ui-spark-trend.js +5 -0
  60. package/dist/components/vue-ui-sparkbar.js +5 -0
  61. package/dist/components/vue-ui-sparkgauge.js +5 -0
  62. package/dist/components/vue-ui-sparkhistogram.js +5 -0
  63. package/dist/components/vue-ui-sparkline.js +5 -0
  64. package/dist/components/vue-ui-sparkstackbar.js +5 -0
  65. package/dist/components/vue-ui-stackbar.js +5 -0
  66. package/dist/components/vue-ui-strip-plot.js +5 -0
  67. package/dist/components/vue-ui-table-heatmap.js +5 -0
  68. package/dist/components/vue-ui-table-sparkline.js +5 -0
  69. package/dist/components/vue-ui-table.js +5 -0
  70. package/dist/components/vue-ui-thermometer.js +5 -0
  71. package/dist/components/vue-ui-timer.js +5 -0
  72. package/dist/components/vue-ui-tiremarks.js +5 -0
  73. package/dist/components/vue-ui-treemap.js +5 -0
  74. package/dist/components/vue-ui-vertical-bar.js +5 -0
  75. package/dist/components/vue-ui-waffle.js +5 -0
  76. package/dist/components/vue-ui-wheel.js +5 -0
  77. package/dist/components/vue-ui-word-cloud.js +5 -0
  78. package/dist/components/vue-ui-world.js +5 -0
  79. package/dist/components/vue-ui-xy-canvas.js +5 -0
  80. package/dist/components/vue-ui-xy.js +5 -0
  81. package/dist/{dom-to-png-D0wlWRL9.js → dom-to-png-CSg_eTqL.js} +1 -1
  82. package/dist/{img-CeCjiMpr.js → img-CH7J0fYg.js} +1 -1
  83. package/dist/lib-p5pfHmOX.js +1882 -0
  84. package/dist/{pdf-D5bgIg6W.js → pdf-Wd2BQz4D.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/themes-D3cUNuKw.js +53 -0
  87. package/dist/types/arrow.d.ts +4 -0
  88. package/dist/types/universal.d.ts +1 -0
  89. package/dist/types/vue-data-ui.d.ts +71 -21
  90. package/dist/types/vue-ui-3d-bar.d.ts +18 -0
  91. package/dist/types/vue-ui-accordion.d.ts +12 -0
  92. package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
  93. package/dist/types/vue-ui-bullet.d.ts +16 -0
  94. package/dist/types/vue-ui-candlestick.d.ts +16 -0
  95. package/dist/types/vue-ui-carousel-table.d.ts +14 -0
  96. package/dist/types/vue-ui-chestnut.d.ts +17 -0
  97. package/dist/types/vue-ui-chord.d.ts +19 -0
  98. package/dist/types/vue-ui-circle-pack.d.ts +17 -0
  99. package/dist/types/vue-ui-cursor.d.ts +7 -0
  100. package/dist/types/vue-ui-dashboard.d.ts +14 -0
  101. package/dist/types/vue-ui-digits.d.ts +10 -0
  102. package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
  103. package/dist/types/vue-ui-donut.d.ts +18 -0
  104. package/dist/types/vue-ui-dumbbell.d.ts +18 -0
  105. package/dist/types/vue-ui-flow.d.ts +18 -0
  106. package/dist/types/vue-ui-funnel.d.ts +15 -0
  107. package/dist/types/vue-ui-galaxy.d.ts +18 -0
  108. package/dist/types/vue-ui-gauge.d.ts +16 -0
  109. package/dist/types/vue-ui-gizmo.d.ts +14 -0
  110. package/dist/types/vue-ui-heatmap.d.ts +17 -0
  111. package/dist/types/vue-ui-history-plot.d.ts +19 -0
  112. package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
  113. package/dist/types/vue-ui-icon.d.ts +16 -0
  114. package/dist/types/vue-ui-kpi.d.ts +13 -0
  115. package/dist/types/vue-ui-mini-loader.d.ts +13 -0
  116. package/dist/types/vue-ui-molecule.d.ts +17 -0
  117. package/dist/types/vue-ui-mood-radar.d.ts +17 -0
  118. package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
  119. package/dist/types/vue-ui-onion.d.ts +18 -0
  120. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
  121. package/dist/types/vue-ui-pattern.d.ts +17 -0
  122. package/dist/types/vue-ui-quadrant.d.ts +20 -0
  123. package/dist/types/vue-ui-quick-chart.d.ts +16 -0
  124. package/dist/types/vue-ui-radar.d.ts +22 -0
  125. package/dist/types/vue-ui-rating.d.ts +15 -0
  126. package/dist/types/vue-ui-relation-circle.d.ts +17 -0
  127. package/dist/types/vue-ui-ridgeline.d.ts +20 -0
  128. package/dist/types/vue-ui-rings.d.ts +17 -0
  129. package/dist/types/vue-ui-scatter.d.ts +19 -0
  130. package/dist/types/vue-ui-skeleton.d.ts +12 -0
  131. package/dist/types/vue-ui-smiley.d.ts +14 -0
  132. package/dist/types/vue-ui-spark-trend.d.ts +13 -0
  133. package/dist/types/vue-ui-sparkbar.d.ts +15 -0
  134. package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
  135. package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
  136. package/dist/types/vue-ui-sparkline.d.ts +15 -0
  137. package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
  138. package/dist/types/vue-ui-stackbar.d.ts +18 -0
  139. package/dist/types/vue-ui-strip-plot.d.ts +19 -0
  140. package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
  141. package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
  142. package/dist/types/vue-ui-table.d.ts +17 -0
  143. package/dist/types/vue-ui-thermometer.d.ts +15 -0
  144. package/dist/types/vue-ui-timer.d.ts +12 -0
  145. package/dist/types/vue-ui-tiremarks.d.ts +15 -0
  146. package/dist/types/vue-ui-treemap.d.ts +18 -0
  147. package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
  148. package/dist/types/vue-ui-waffle.d.ts +18 -0
  149. package/dist/types/vue-ui-wheel.d.ts +15 -0
  150. package/dist/types/vue-ui-word-cloud.d.ts +17 -0
  151. package/dist/types/vue-ui-world.d.ts +17 -0
  152. package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
  153. package/dist/types/vue-ui-xy.d.ts +24 -0
  154. package/dist/universal-registry-CL8g2COA.js +70 -0
  155. package/dist/universal.js +5 -0
  156. package/dist/{useAutoSizeLabelsInsideViewbox-BxqMb3sU.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
  157. package/dist/useNestedProp-DF7e2h1z.js +6645 -0
  158. package/dist/{usePrinter-DGI4Mlad.js → usePrinter-Yeu5jOfm.js} +2 -2
  159. package/dist/vue-data-ui-h5C8hpE8.js +317 -0
  160. package/dist/vue-data-ui.js +243 -85
  161. package/dist/{vue-ui-3d-bar-8b3VZcUI.js → vue-ui-3d-bar-BZDLbeym.js} +103 -102
  162. package/dist/{vue-ui-accordion-BJG-ogQj.js → vue-ui-accordion-D-L73-T2.js} +4 -4
  163. package/dist/{vue-ui-age-pyramid-Cr_dhyTO.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
  164. package/dist/{vue-ui-annotator-ttaqcMTz.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
  165. package/dist/{vue-ui-bullet-DXvTj07g.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
  166. package/dist/{vue-ui-candlestick-B5NqFTXr.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
  167. package/dist/{vue-ui-carousel-table-B0bpCRFh.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
  168. package/dist/{vue-ui-chestnut-Cby7Wcbu.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
  169. package/dist/{vue-ui-chord-Cxg8nwzZ.js → vue-ui-chord-DqGoensA.js} +61 -60
  170. package/dist/{vue-ui-circle-pack-Cc5e6dE3.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
  171. package/dist/{vue-ui-cursor-D6MvR7jD.js → vue-ui-cursor-0muOlHSh.js} +3 -3
  172. package/dist/{vue-ui-dashboard-CaUM9n5b.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
  173. package/dist/{vue-ui-digits-DsoHRv9p.js → vue-ui-digits-DOUNtmB0.js} +3 -3
  174. package/dist/{vue-ui-donut-Dxsq1gpz.js → vue-ui-donut-CWgiy7rq.js} +39 -38
  175. package/dist/{vue-ui-donut-evolution-CFu9WNVV.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
  176. package/dist/{vue-ui-dumbbell-Cgb7ijQS.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
  177. package/dist/{vue-ui-flow-Ucb9PdWP.js → vue-ui-flow-C8iSww9L.js} +127 -126
  178. package/dist/{vue-ui-funnel-CV29tksj.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
  179. package/dist/{vue-ui-galaxy-CVJb9_hA.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
  180. package/dist/{vue-ui-gauge-ofpIH29X.js → vue-ui-gauge-MM8rPNWR.js} +149 -148
  181. package/dist/{vue-ui-gizmo-Ci9kN9VQ.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
  182. package/dist/{vue-ui-heatmap-BK_jorrw.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
  183. package/dist/{vue-ui-history-plot-Ce8BB4Tn.js → vue-ui-history-plot-BCfEt867.js} +105 -104
  184. package/dist/{vue-ui-kpi-DAHT9q6j.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
  185. package/dist/{vue-ui-mini-loader-CuilTrcI.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
  186. package/dist/{vue-ui-molecule-C6suewK-.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
  187. package/dist/{vue-ui-mood-radar-DPvGhgPI.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
  188. package/dist/{vue-ui-nested-donuts-BvPWp9Du.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
  189. package/dist/{vue-ui-onion-BZ0tfRV_.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
  190. package/dist/{vue-ui-parallel-coordinate-plot-DqFj8hbo.js → vue-ui-parallel-coordinate-plot-V6jytnl0.js} +61 -60
  191. package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
  192. package/dist/{vue-ui-quadrant-Cg5e73ny.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
  193. package/dist/{vue-ui-quick-chart-sABlk5nb.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
  194. package/dist/{vue-ui-radar-DYcoGzSu.js → vue-ui-radar-BmmwGJaI.js} +90 -89
  195. package/dist/{vue-ui-rating-1eguB-TH.js → vue-ui-rating-CjoKP6-5.js} +9 -9
  196. package/dist/{vue-ui-relation-circle-BeWuQDkk.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
  197. package/dist/{vue-ui-ridgeline-CG7FefqU.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
  198. package/dist/{vue-ui-rings-2eedFGuC.js → vue-ui-rings-DS-YbQVr.js} +74 -73
  199. package/dist/{vue-ui-scatter-CNtgNP5j.js → vue-ui-scatter-D8kUADP7.js} +121 -120
  200. package/dist/{vue-ui-skeleton-fqG3bKSz.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
  201. package/dist/{vue-ui-smiley-D4bvSF9S.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
  202. package/dist/vue-ui-spark-trend-qt8UvEPc.js +337 -0
  203. package/dist/{vue-ui-sparkbar-D1FXZyQE.js → vue-ui-sparkbar-DgHvA8ra.js} +86 -85
  204. package/dist/{vue-ui-sparkgauge-CHbbxg13.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
  205. package/dist/{vue-ui-sparkhistogram-BxYes64D.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
  206. package/dist/{vue-ui-sparkline-CS3F5TFN.js → vue-ui-sparkline-BSGiRpQ9.js} +105 -104
  207. package/dist/{vue-ui-sparkstackbar-CUSBwkUS.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
  208. package/dist/{vue-ui-stackbar-CDihyp-i.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
  209. package/dist/{vue-ui-strip-plot-D6MFuKnN.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
  210. package/dist/{vue-ui-table-COT59wVb.js → vue-ui-table-DKHtmqLd.js} +9 -8
  211. package/dist/{vue-ui-table-heatmap--e8yw5yS.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
  212. package/dist/{vue-ui-table-sparkline-DnSLwUNN.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
  213. package/dist/{vue-ui-thermometer-ByiRARW0.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
  214. package/dist/{vue-ui-timer-DOQVdVN2.js → vue-ui-timer-C4LZMTeg.js} +31 -31
  215. package/dist/{vue-ui-tiremarks-BFXeJQNZ.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
  216. package/dist/{vue-ui-treemap-s_O9rQUT.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
  217. package/dist/{vue-ui-vertical-bar-Bn-m5GKU.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
  218. package/dist/{vue-ui-waffle-DmxaWHSw.js → vue-ui-waffle-CP6jUrto.js} +76 -75
  219. package/dist/{vue-ui-wheel-zJ5U-h_D.js → vue-ui-wheel-B59kWUZd.js} +85 -84
  220. package/dist/{vue-ui-word-cloud-BEnkOZdv.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
  221. package/dist/{vue-ui-world-CkqoTL4V.js → vue-ui-world-B6S7X6sr.js} +19 -19
  222. package/dist/{vue-ui-xy-Uqdl2nk-.js → vue-ui-xy-BjzutuG2.js} +496 -505
  223. package/dist/{vue-ui-xy-canvas-cIU8Y1sD.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
  224. package/package.json +19 -11
  225. package/dist/index-Lg17rmB1.js +0 -8729
  226. package/dist/types/vue-data-ui.d.cts +0 -9435
  227. package/dist/useNestedProp-DpwLJMsW.js +0 -13
  228. package/dist/vue-data-ui-lki09wwK.js +0 -325
  229. package/dist/vue-ui-spark-trend-GML5JJxY.js +0 -315
@@ -1,16 +1,17 @@
1
- import { defineAsyncComponent as z, computed as _, ref as c, toRefs as tl, watch as te, onMounted as ll, shallowRef as gt, onBeforeUnmount as al, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ve, normalizeClass as M, createBlock as B, createCommentVNode as k, createElementVNode as p, createVNode as Ve, createSlots as mt, withCtx as C, renderSlot as x, normalizeProps as H, guardReactiveProps as J, Fragment as A, renderList as T, toDisplayString as O, withDirectives as wt, vShow as kt, Teleport as ol, resolveDynamicComponent as sl, mergeProps as ul, createTextVNode as $t, nextTick as Ct } from "vue";
2
- import { u as nl, c as rl, t as il, a as dl, p as ze, b as vl, C as Me, o as cl, f as K, d as hl, G as E, e as fl, m as Be, i as S, X as pl, s as yl, L as Lt, q as Ee, r as Q, k as le, y as _t, v as bl, w as gl, z as ml, T as xt, h as Re } from "./index-Lg17rmB1.js";
3
- import { t as wl, u as kl } from "./useResponsive-DfdjqQps.js";
4
- import { u as $l, B as Cl } from "./BaseScanner-BgWxam9d.js";
5
- import { u as Ll } from "./usePrinter-DGI4Mlad.js";
6
- import { u as At } from "./useNestedProp-DpwLJMsW.js";
7
- import { u as _l } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as xl } from "./useChartAccessibility-9icAAmYg.js";
9
- import Al from "./img-CeCjiMpr.js";
10
- import Tl from "./Title-BVMfF0uu.js";
11
- import Fl from "./Legend-CjdnJGHq.js";
1
+ import { defineAsyncComponent as z, computed as _, ref as c, toRefs as tl, watch as te, onMounted as ll, shallowRef as gt, onBeforeUnmount as al, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ve, normalizeClass as M, createBlock as B, createCommentVNode as k, createElementVNode as p, createVNode as Ve, createSlots as mt, withCtx as C, renderSlot as x, normalizeProps as H, guardReactiveProps as K, Fragment as A, renderList as T, toDisplayString as O, withDirectives as wt, vShow as kt, Teleport as ol, resolveDynamicComponent as sl, mergeProps as ul, createTextVNode as $t, nextTick as Ct } from "vue";
2
+ import { c as nl, t as rl, b as il, p as ze, D as Me, o as dl, f as Q, e as vl, L as E, h as cl, n as Be, d as S, X as hl, s as fl, Q as Lt, v as Ee, w as J, a as le, z as _t, x as pl, y as yl, A as bl, K as xt, q as Re } from "./lib-p5pfHmOX.js";
3
+ import { t as gl, u as ml } from "./useResponsive-DfdjqQps.js";
4
+ import { u as wl, a as At } from "./useNestedProp-DF7e2h1z.js";
5
+ import { u as kl, B as $l } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Cl } from "./usePrinter-Yeu5jOfm.js";
7
+ import { u as Ll } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as _l } from "./useChartAccessibility-9icAAmYg.js";
9
+ import xl from "./img-CH7J0fYg.js";
10
+ import Al from "./Title-pI68ZJsq.js";
11
+ import { t as Tl } from "./themes-D3cUNuKw.js";
12
+ import Fl from "./Legend-_Rv594VS.js";
12
13
  import { _ as Ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "height"], Pl = ["id"], Vl = ["offset", "stop-color"], zl = ["offset", "stop-opacity"], Ml = ["id"], Bl = ["id"], El = ["id"], Rl = ["flood-color"], Ul = ["id", "d"], Gl = ["d", "fill", "stroke", "stroke-width", "filter"], Yl = ["d", "fill", "stroke", "stroke-width"], Wl = { key: 1 }, Xl = ["d", "fill"], ql = { key: 2 }, Hl = ["font-size", "font-weight", "fill", "dy"], Jl = ["href"], Kl = ["x", "y", "font-size", "font-weight", "fill"], Ql = { key: 3 }, Zl = ["filter"], jl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ea = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ta = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], la = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], aa = {
14
+ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "height"], Pl = ["id"], Vl = ["offset", "stop-color"], zl = ["offset", "stop-opacity"], Ml = ["id"], Bl = ["id"], El = ["id"], Rl = ["flood-color"], Ul = ["id", "d"], Gl = ["d", "fill", "stroke", "stroke-width", "filter"], Yl = ["d", "fill", "stroke", "stroke-width"], Wl = { key: 1 }, Xl = ["d", "fill"], ql = { key: 2 }, Hl = ["font-size", "font-weight", "fill", "dy"], Kl = ["href"], Ql = ["x", "y", "font-size", "font-weight", "fill"], Jl = { key: 3 }, Zl = ["filter"], jl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ea = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ta = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], la = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], aa = {
14
15
  key: 4,
15
16
  class: "vue-data-ui-watermark"
16
17
  }, oa = ["id"], sa = {
@@ -34,18 +35,18 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
34
35
  },
35
36
  emits: ["selectLegend", "selectDatapoint"],
36
37
  setup(Tt, { expose: Ft, emit: Ot }) {
37
- const St = z(() => import("./Tooltip-DBvmoYXU.js")), Nt = z(() => import("./BaseIcon-7s-tCFcQ.js")), It = z(() => import("./vue-ui-accordion-BJG-ogQj.js")), Dt = z(() => import("./DataTable-Dw6dxJk3.js")), Pt = z(() => import("./UserOptions-CKzW9w0Q.js")), Vt = z(() => import("./PenAndPaper-BKnXOYre.js")), zt = z(() => import("./PackageVersion-D1HToLlZ.js")), Mt = z(() => import("./BaseDraggableDialog-CrCjMg89.js")), { vue_ui_nested_donuts: Bt } = nl(), g = Tt, ce = _({
38
+ const St = z(() => import("./Tooltip-Clf2K3CF.js")), Nt = z(() => import("./BaseIcon-D2f9w5Z5.js")), It = z(() => import("./vue-ui-accordion-D-L73-T2.js")), Dt = z(() => import("./DataTable-xISHA7Pu.js")), Pt = z(() => import("./UserOptions-Bn3u4JQu.js")), Vt = z(() => import("./PenAndPaper-CtDMyIvW.js")), zt = z(() => import("./PackageVersion-DRpg18lg.js")), Mt = z(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_nested_donuts: Bt } = wl(), g = Tt, ce = _({
38
39
  get() {
39
40
  return !!g.dataset && g.dataset.length;
40
41
  },
41
42
  set(l) {
42
43
  return l;
43
44
  }
44
- }), f = c(rl()), he = c(!1), fe = c(""), pe = c(null), Ue = c(0), I = c(null), Ge = c(null), ye = c(null), Ye = c(null), We = c(null), Xe = c(0), qe = c(0), He = c(0), R = c(!0), U = c([]), Z = c([]), Je = c(!1), j = c(null), be = c(null), G = c(!1);
45
- function Ke(l) {
45
+ }), f = c(nl()), he = c(!1), fe = c(""), pe = c(null), Ue = c(0), I = c(null), Ge = c(null), ye = c(null), Ye = c(null), We = c(null), Xe = c(0), qe = c(0), He = c(0), R = c(!0), U = c([]), Z = c([]), Ke = c(!1), j = c(null), be = c(null), G = c(!1);
46
+ function Qe(l) {
46
47
  G.value = l, Ue.value += 1;
47
48
  }
48
- const e = c(ke()), Qe = {
49
+ const e = c(ke()), Je = {
49
50
  name: "",
50
51
  series: [
51
52
  {
@@ -64,7 +65,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
64
65
  color: "#CACACA"
65
66
  }
66
67
  ]
67
- }, { loading: ge, FINAL_DATASET: Y, manualLoading: me } = $l({
68
+ }, { loading: ge, FINAL_DATASET: Y, manualLoading: me } = kl({
68
69
  ...tl(g),
69
70
  FINAL_CONFIG: e,
70
71
  prepareConfig: ke,
@@ -73,8 +74,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
73
74
  await tt();
74
75
  });
75
76
  },
76
- skeletonDataset: [Qe, Qe],
77
- skeletonConfig: il({
77
+ skeletonDataset: [Je, Je],
78
+ skeletonConfig: rl({
78
79
  defaultConfig: e.value,
79
80
  userConfig: {
80
81
  useCssAnimation: !1,
@@ -100,7 +101,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
100
101
  }
101
102
  }
102
103
  })
103
- }), { userOptionsVisible: we, setUserOptionsVisibility: Ze, keepUserOptionState: je } = _l({ config: e.value }), { svgRef: ae } = xl({
104
+ }), { userOptionsVisible: we, setUserOptionsVisibility: Ze, keepUserOptionState: je } = Ll({ config: e.value }), { svgRef: ae } = _l({
104
105
  config: e.value.style.chart.title
105
106
  });
106
107
  function ke() {
@@ -111,10 +112,10 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
111
112
  let s = {};
112
113
  return l.theme ? s = {
113
114
  ...At({
114
- userConfig: vl.vue_ui_nested_donuts[l.theme] || g.config,
115
+ userConfig: Tl.vue_ui_nested_donuts[l.theme] || g.config,
115
116
  defaultConfig: l
116
117
  }),
117
- customPalette: dl[l.theme] || ze
118
+ customPalette: il[l.theme] || ze
118
119
  } : s = l, g.config && Me(g.config, "events.datapointEnter") ? s.events.datapointEnter = g.config.events.datapointEnter : s.events.datapointEnter = null, g.config && Me(g.config, "events.datapointLeave") ? s.events.datapointLeave = g.config.events.datapointLeave : s.events.datapointLeave = null, g.config && Me(g.config, "events.datapointClick") ? s.events.datapointClick = g.config.events.datapointClick : s.events.datapointClick = null, s;
119
120
  }
120
121
  te(
@@ -148,10 +149,10 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
148
149
  const ie = [];
149
150
  let Se = 0;
150
151
  g.dataset.forEach((de, Ne) => {
151
- const Qt = Re(de.series.reduce(
152
+ const Jt = Re(de.series.reduce(
152
153
  (De, Pe) => De + Re(E(Pe.values).reduce((jt, el) => jt + el, 0)),
153
154
  0
154
- )), Zt = Re(U.value.slice(Se, Se + de.series.length).reduce((De, Pe) => De + Pe, 0)), Ie = Qt - Zt;
155
+ )), Zt = Re(U.value.slice(Se, Se + de.series.length).reduce((De, Pe) => De + Pe, 0)), Ie = Jt - Zt;
155
156
  Ie > Number.MIN_VALUE && ie.push({
156
157
  name: "__ghost__",
157
158
  arcOf: de.name,
@@ -206,17 +207,17 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
206
207
  R.value = !1;
207
208
  }
208
209
  ll(async () => {
209
- Je.value = !0, lt(), await tt();
210
+ Ke.value = !0, lt(), await tt();
210
211
  });
211
212
  const P = gt(null), W = gt(null), X = _(() => !!e.value.debug);
212
213
  function lt() {
213
- if (cl(g.dataset) ? (K({
214
+ if (dl(g.dataset) ? (Q({
214
215
  componentName: "VueUiNestedDonuts",
215
216
  type: "dataset",
216
217
  debug: X.value
217
218
  }), ce.value = !1, me.value = !0) : me.value = e.value.loading, e.value.responsive) {
218
- const l = wl(() => {
219
- const { width: s, height: a } = kl({
219
+ const l = gl(() => {
220
+ const { width: s, height: a } = ml({
220
221
  chart: I.value,
221
222
  title: e.value.style.chart.title.text ? Ge.value : null,
222
223
  legend: e.value.style.chart.legend.show ? ye.value : null,
@@ -234,11 +235,11 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
234
235
  al(() => {
235
236
  P.value && (W.value && P.value.unobserve(W.value), P.value.disconnect());
236
237
  });
237
- const { isPrinting: at, isImaging: ot, generatePdf: st, generateImage: ut } = Ll({
238
+ const { isPrinting: at, isImaging: ot, generatePdf: st, generateImage: ut } = Cl({
238
239
  elementId: `nested_donuts_${f.value}`,
239
240
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
240
241
  options: e.value.userOptions.print
241
- }), Rt = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ut = _(() => hl(e.value.customPalette)), $ = c({
242
+ }), Rt = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ut = _(() => vl(e.value.customPalette)), $ = c({
242
243
  dataLabels: {
243
244
  show: e.value.style.chart.layout.labels.dataLabels.show
244
245
  },
@@ -278,32 +279,32 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
278
279
  }
279
280
  const L = c([]), N = _(() => {
280
281
  ge.value, Y.value.forEach((s, a) => {
281
- [null, void 0].includes(s.name) && K({
282
+ [null, void 0].includes(s.name) && Q({
282
283
  componentName: "VueUiNestedDonuts",
283
284
  type: "datasetSerieAttribute",
284
285
  property: "name",
285
286
  index: a,
286
287
  debug: X.value
287
- }), [null, void 0].includes(s.series) ? K({
288
+ }), [null, void 0].includes(s.series) ? Q({
288
289
  componentName: "VueUiNestedDonuts",
289
290
  type: "datasetSerieAttribute",
290
291
  property: "series",
291
292
  index: a,
292
293
  debug: X.value
293
- }) : s.series.length === 0 ? K({
294
+ }) : s.series.length === 0 ? Q({
294
295
  componentName: "VueUiNestedDonuts",
295
296
  type: "datasetAttributeEmpty",
296
297
  property: `series at index ${a}`,
297
298
  debug: X.value
298
299
  }) : s.series.forEach((o, t) => {
299
- [null, void 0].includes(o.name) && K({
300
+ [null, void 0].includes(o.name) && Q({
300
301
  componentName: "VueUiNestedDonuts",
301
302
  type: "datasetSerieAttribute",
302
303
  property: "name",
303
304
  index: t,
304
305
  key: "serie",
305
306
  debug: X.value
306
- }), [null, void 0].includes(o.values) && K({
307
+ }), [null, void 0].includes(o.values) && Q({
307
308
  componentName: "VueUiNestedDonuts",
308
309
  type: "datasetSerieAttribute",
309
310
  property: "values",
@@ -328,7 +329,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
328
329
  id: `${f.value}_${a}_${t}`,
329
330
  seriesIndex: t,
330
331
  datasetIndex: a,
331
- color: fl(o.color) || Ut.value[t] || ze[t % ze.length],
332
+ color: cl(o.color) || Ut.value[t] || ze[t % ze.length],
332
333
  value: R.value ? U.value[l++] ?? 0 : n,
333
334
  absoluteValues: o.values || []
334
335
  };
@@ -483,7 +484,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
483
484
  config: e.value
484
485
  };
485
486
  const o = e.value.style.chart.tooltip.customFormat;
486
- if (_t(o) && ml(
487
+ if (_t(o) && bl(
487
488
  () => o({
488
489
  seriesIndex: a,
489
490
  datapoint: l,
@@ -628,8 +629,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
628
629
  [e.value.style.chart.title.text],
629
630
  [e.value.style.chart.title.subtitle.text],
630
631
  [[""], ["val"], ["%"]]
631
- ].concat(s), o = bl(a);
632
- l ? l(o) : gl({
632
+ ].concat(s), o = pl(a);
633
+ l ? l(o) : yl({
633
634
  csvContent: o,
634
635
  title: e.value.style.chart.title.text || "vue-ui-nested-donuts"
635
636
  });
@@ -699,9 +700,9 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
699
700
  function Ae() {
700
701
  re.value = !re.value;
701
702
  }
702
- async function Jt({ scale: l = 2 } = {}) {
703
+ async function Kt({ scale: l = 2 } = {}) {
703
704
  if (!I.value) return;
704
- const { width: s, height: a } = I.value.getBoundingClientRect(), o = s / a, { imageUri: t, base64: n } = await Al({ domElement: I.value, base64: !0, img: !0, scale: l });
705
+ const { width: s, height: a } = I.value.getBoundingClientRect(), o = s / a, { imageUri: t, base64: n } = await xl({ domElement: I.value, base64: !0, img: !0, scale: l });
705
706
  return {
706
707
  imageUri: t,
707
708
  base64: n,
@@ -712,7 +713,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
712
713
  };
713
714
  }
714
715
  const Te = c(null);
715
- function Kt() {
716
+ function Qt() {
716
717
  if (!Te.value) return;
717
718
  const { x: l, y: s, width: a, height: o } = Te.value.getBBox();
718
719
  ae.value && ae.value.setAttribute("viewBox", `${l} ${s} ${a + Math.min(0, l)} ${o + Math.min(0, s)}`);
@@ -754,9 +755,9 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
754
755
  $.value.showTable = !1, be.value && be.value.setTableIconState(!1);
755
756
  }
756
757
  return Ft({
757
- autoSize: Kt,
758
+ autoSize: Qt,
758
759
  getData: Ht,
759
- getImage: Jt,
760
+ getImage: Kt,
760
761
  generatePdf: st,
761
762
  generateCsv: xe,
762
763
  generateImage: ut,
@@ -764,7 +765,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
764
765
  toggleLabels: pt,
765
766
  toggleTooltip: yt,
766
767
  toggleAnnotator: Ae,
767
- toggleFullscreen: Ke
768
+ toggleFullscreen: Qe
768
769
  }), (l, s) => (u(), r("div", {
769
770
  ref_key: "nestedDonutsChart",
770
771
  ref: I,
@@ -794,7 +795,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
794
795
  ref_key: "chartTitle",
795
796
  ref: Ge
796
797
  }, [
797
- (u(), B(Tl, {
798
+ (u(), B(Al, {
798
799
  key: `title_${Xe.value}`,
799
800
  config: {
800
801
  title: {
@@ -837,7 +838,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
837
838
  callbacks: e.value.userOptions.callbacks,
838
839
  printScale: e.value.userOptions.print.scale,
839
840
  tableDialog: e.value.table.useDialog,
840
- onToggleFullscreen: Ke,
841
+ onToggleFullscreen: Qe,
841
842
  onGeneratePdf: i(st),
842
843
  onGenerateCsv: xe,
843
844
  onGenerateImage: i(ut),
@@ -852,7 +853,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
852
853
  l.$slots.menuIcon ? {
853
854
  name: "menuIcon",
854
855
  fn: C(({ isOpen: a, color: o }) => [
855
- x(l.$slots, "menuIcon", H(J({ isOpen: a, color: o })), void 0, !0)
856
+ x(l.$slots, "menuIcon", H(K({ isOpen: a, color: o })), void 0, !0)
856
857
  ]),
857
858
  key: "0"
858
859
  } : void 0,
@@ -901,14 +902,14 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
901
902
  l.$slots.optionFullscreen ? {
902
903
  name: "optionFullscreen",
903
904
  fn: C(({ toggleFullscreen: a, isFullscreen: o }) => [
904
- x(l.$slots, "optionFullscreen", H(J({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
905
+ x(l.$slots, "optionFullscreen", H(K({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
905
906
  ]),
906
907
  key: "7"
907
908
  } : void 0,
908
909
  l.$slots.optionAnnotator ? {
909
910
  name: "optionAnnotator",
910
911
  fn: C(({ toggleAnnotator: a, isAnnotator: o }) => [
911
- x(l.$slots, "optionAnnotator", H(J({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
912
+ x(l.$slots, "optionAnnotator", H(K({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
912
913
  ]),
913
914
  key: "8"
914
915
  } : void 0
@@ -916,7 +917,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
916
917
  (u(), r("svg", {
917
918
  ref_key: "svgRef",
918
919
  ref: ae,
919
- xmlns: i(pl),
920
+ xmlns: i(hl),
920
921
  class: M({
921
922
  "vue-data-ui-fullscreen--on": G.value,
922
923
  "vue-data-ui-fulscreen--off": !G.value,
@@ -954,7 +955,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
954
955
  }, null, -1)),
955
956
  p("stop", {
956
957
  offset: `${(1 - oe.value / dt.value[o]) * 100}%`,
957
- "stop-color": i(yl)("#FFFFFF", 0),
958
+ "stop-color": i(fl)("#FFFFFF", 0),
958
959
  "stop-opacity": "0"
959
960
  }, null, 8, Vl),
960
961
  p("stop", {
@@ -1059,7 +1060,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1059
1060
  }, O(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(Lt)({
1060
1061
  source: a.name,
1061
1062
  length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1062
- }) : a.name), 9, Jl)
1063
+ }) : a.name), 9, Kl)
1063
1064
  ], 10, Hl)) : k("", !0)
1064
1065
  ]))), 256))
1065
1066
  ]))), 256)) : (u(!0), r(A, { key: 1 }, T(q.value, (a, o) => (u(), r("g", null, [
@@ -1076,11 +1077,11 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1076
1077
  }, O(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(Lt)({
1077
1078
  source: a.name,
1078
1079
  length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1079
- }) : a.name), 11, Kl)) : k("", !0)
1080
+ }) : a.name), 11, Ql)) : k("", !0)
1080
1081
  ]))), 256))
1081
1082
  ]))), 256))
1082
1083
  ])) : k("", !0),
1083
- e.value.style.chart.layout.labels.dataLabels.show ? (u(), r("g", Ql, [
1084
+ e.value.style.chart.layout.labels.dataLabels.show ? (u(), r("g", Jl, [
1084
1085
  (u(!0), r(A, null, T(q.value, (a, o) => (u(), r("g", null, [
1085
1086
  (u(!0), r(A, null, T(a.donut.filter((t) => !t.ghost), (t, n) => (u(), r("g", {
1086
1087
  filter: ht(t, n)
@@ -1088,8 +1089,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1088
1089
  wt(p("text", {
1089
1090
  class: M({ animated: e.value.useCssAnimation }),
1090
1091
  opacity: Le(t) ? 1 : 0,
1091
- "text-anchor": i(Q)(t, !0).anchor,
1092
- x: i(Q)(
1092
+ "text-anchor": i(J)(t, !0).anchor,
1093
+ x: i(J)(
1093
1094
  t,
1094
1095
  !1,
1095
1096
  e.value.style.chart.layout.labels.dataLabels.offsetX
@@ -1115,8 +1116,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1115
1116
  wt(p("text", {
1116
1117
  class: M({ animated: e.value.useCssAnimation }),
1117
1118
  opacity: Le(t) ? 1 : 0,
1118
- "text-anchor": i(Q)(t, !0).anchor,
1119
- x: i(Q)(
1119
+ "text-anchor": i(J)(t, !0).anchor,
1120
+ x: i(J)(
1120
1121
  t,
1121
1122
  !1,
1122
1123
  e.value.style.chart.layout.labels.dataLabels.offsetX
@@ -1148,8 +1149,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1148
1149
  Le(t) && $.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), r("text", {
1149
1150
  key: 0,
1150
1151
  class: M({ animated: e.value.useCssAnimation }),
1151
- "text-anchor": i(Q)(t, !0).anchor,
1152
- x: i(Q)(
1152
+ "text-anchor": i(J)(t, !0).anchor,
1153
+ x: i(J)(
1153
1154
  t,
1154
1155
  !1,
1155
1156
  e.value.style.chart.layout.labels.dataLabels.offsetX
@@ -1194,7 +1195,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1194
1195
  ], 512)
1195
1196
  ], 14, Il)),
1196
1197
  l.$slots.watermark ? (u(), r("div", aa, [
1197
- x(l.$slots, "watermark", H(J({ isPrinting: i(at) || i(ot) })), void 0, !0)
1198
+ x(l.$slots, "watermark", H(K({ isPrinting: i(at) || i(ot) })), void 0, !0)
1198
1199
  ])) : k("", !0),
1199
1200
  Ve(i(St), {
1200
1201
  show: $.value.showTooltip && he.value,
@@ -1217,17 +1218,17 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1217
1218
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1218
1219
  }, {
1219
1220
  "tooltip-before": C(() => [
1220
- x(l.$slots, "tooltip-before", H(J({ ...Ce.value })), void 0, !0)
1221
+ x(l.$slots, "tooltip-before", H(K({ ...Ce.value })), void 0, !0)
1221
1222
  ]),
1222
1223
  "tooltip-after": C(() => [
1223
- x(l.$slots, "tooltip-after", H(J({ ...Ce.value })), void 0, !0)
1224
+ x(l.$slots, "tooltip-after", H(K({ ...Ce.value })), void 0, !0)
1224
1225
  ]),
1225
1226
  _: 3
1226
1227
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1227
1228
  p("div", {
1228
1229
  id: `legend-bottom-${f.value}`
1229
1230
  }, null, 8, oa),
1230
- Je.value ? (u(), B(ol, {
1231
+ Ke.value ? (u(), B(ol, {
1231
1232
  key: 5,
1232
1233
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${f.value}` : `#legend-bottom-${f.value}`
1233
1234
  }, [
@@ -1339,10 +1340,10 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1339
1340
  key: "1"
1340
1341
  } : void 0
1341
1342
  ]), 1040)) : k("", !0),
1342
- i(ge) ? (u(), B(Cl, { key: 9 })) : k("", !0)
1343
+ i(ge) ? (u(), B($l, { key: 9 })) : k("", !0)
1343
1344
  ], 46, Sl));
1344
1345
  }
1345
- }, ka = /* @__PURE__ */ Ol(ra, [["__scopeId", "data-v-07f0a210"]]);
1346
+ }, $a = /* @__PURE__ */ Ol(ra, [["__scopeId", "data-v-07f0a210"]]);
1346
1347
  export {
1347
- ka as default
1348
+ $a as default
1348
1349
  };
@@ -1,15 +1,16 @@
1
1
  import { defineAsyncComponent as A, computed as v, ref as r, toRefs as yt, watch as U, shallowRef as Be, onMounted as bt, onBeforeUnmount as kt, createElementBlock as i, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as W, createBlock as S, createCommentVNode as g, createElementVNode as I, createVNode as re, createSlots as Le, withCtx as d, renderSlot as p, normalizeProps as z, guardReactiveProps as N, Fragment as Y, renderList as E, toDisplayString as M, Teleport as wt, resolveDynamicComponent as Ct, mergeProps as $t, createTextVNode as Ve, nextTick as Ue } from "vue";
2
- import { u as xt, c as Tt, t as Ot, a as _t, p as Ye, b as At, d as St, o as Ee, f as ie, e as It, X as Pt, i as X, k as ce, y as Xe, v as Ft, w as Dt, z as Mt } from "./index-Lg17rmB1.js";
3
- import { t as Rt, u as zt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Nt, B as Bt } from "./BaseScanner-BgWxam9d.js";
5
- import { u as Lt } from "./usePrinter-DGI4Mlad.js";
6
- import { u as Ge } from "./useNestedProp-DpwLJMsW.js";
7
- import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
9
- import { u as Yt } from "./useAutoSizeLabelsInsideViewbox-BxqMb3sU.js";
10
- import Et from "./img-CeCjiMpr.js";
11
- import Xt from "./Title-BVMfF0uu.js";
12
- import Gt from "./Legend-CjdnJGHq.js";
2
+ import { c as xt, t as Tt, b as Ot, p as Ye, e as _t, o as Ee, f as ie, h as At, X as St, d as X, a as ce, z as Xe, x as It, y as Pt, A as Ft } from "./lib-p5pfHmOX.js";
3
+ import { t as Dt, u as Mt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Rt, a as Ge } from "./useNestedProp-DF7e2h1z.js";
5
+ import { u as zt, B as Nt } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Bt } from "./usePrinter-Yeu5jOfm.js";
7
+ import { u as Lt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { u as Ut } from "./useAutoSizeLabelsInsideViewbox-VqESrzQg.js";
10
+ import Yt from "./img-CH7J0fYg.js";
11
+ import Et from "./Title-pI68ZJsq.js";
12
+ import Xt from "./Legend-_Rv594VS.js";
13
+ import { t as Gt } from "./themes-D3cUNuKw.js";
13
14
  import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
15
  const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "height"], Kt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Qt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Zt = ["id"], ea = ["stdDeviation"], ta = ["filter"], aa = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], la = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter", "onMouseleave", "onClick"], oa = { key: 2 }, na = ["onMouseenter", "onMouseleave", "onClick"], sa = ["x", "y", "font-size", "fill", "font-weight"], ua = {
15
16
  key: 4,
@@ -32,7 +33,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
32
33
  },
33
34
  emits: ["selectLegend"],
34
35
  setup(He, { expose: We, emit: je }) {
35
- const qe = A(() => import("./Tooltip-DBvmoYXU.js")), Je = A(() => import("./BaseIcon-7s-tCFcQ.js")), Ke = A(() => import("./vue-ui-accordion-BJG-ogQj.js")), Qe = A(() => import("./DataTable-Dw6dxJk3.js")), Ze = A(() => import("./UserOptions-CKzW9w0Q.js")), et = A(() => import("./PenAndPaper-BKnXOYre.js")), tt = A(() => import("./PackageVersion-D1HToLlZ.js")), at = A(() => import("./BaseDraggableDialog-CrCjMg89.js")), { vue_ui_onion: lt } = xt(), C = He, ve = v(() => !!C.dataset && C.dataset.length), y = r(Tt()), ot = r(null), de = r(0), j = r(!1), q = r(""), b = r([]), $ = r(null), he = r(null), pe = r(null), fe = r(null), ge = r(null), me = r(0), ye = r(0), be = r(0), x = r(!1), ke = r(!1), B = r(null), e = r(Z()), { loading: k, FINAL_DATASET: we, manualLoading: J } = Nt({
36
+ const qe = A(() => import("./Tooltip-Clf2K3CF.js")), Je = A(() => import("./BaseIcon-D2f9w5Z5.js")), Ke = A(() => import("./vue-ui-accordion-D-L73-T2.js")), Qe = A(() => import("./DataTable-xISHA7Pu.js")), Ze = A(() => import("./UserOptions-Bn3u4JQu.js")), et = A(() => import("./PenAndPaper-CtDMyIvW.js")), tt = A(() => import("./PackageVersion-DRpg18lg.js")), at = A(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_onion: lt } = Rt(), C = He, ve = v(() => !!C.dataset && C.dataset.length), y = r(xt()), ot = r(null), de = r(0), j = r(!1), q = r(""), b = r([]), $ = r(null), he = r(null), pe = r(null), fe = r(null), ge = r(null), me = r(0), ye = r(0), be = r(0), x = r(!1), ke = r(!1), B = r(null), e = r(Z()), { loading: k, FINAL_DATASET: we, manualLoading: J } = zt({
36
37
  ...yt(C),
37
38
  FINAL_CONFIG: e,
38
39
  prepareConfig: Z,
@@ -47,7 +48,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
47
48
  { name: "_", percentage: 50, value: 1, color: "#ADADAD" },
48
49
  { name: "_", percentage: 50, value: 1, color: "#969696" }
49
50
  ],
50
- skeletonConfig: Ot({
51
+ skeletonConfig: Tt({
51
52
  defaultConfig: e.value,
52
53
  userConfig: {
53
54
  userOptions: { show: !1 },
@@ -68,7 +69,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
68
69
  }
69
70
  }
70
71
  })
71
- }), { userOptionsVisible: K, setUserOptionsVisibility: Ce, keepUserOptionState: $e } = Vt({ config: e.value }), { svgRef: Q } = Ut({ config: e.value.style.chart.title });
72
+ }), { userOptionsVisible: K, setUserOptionsVisibility: Ce, keepUserOptionState: $e } = Lt({ config: e.value }), { svgRef: Q } = Vt({ config: e.value.style.chart.title });
72
73
  function Z() {
73
74
  const t = Ge({
74
75
  userConfig: C.config,
@@ -76,20 +77,20 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
76
77
  });
77
78
  return t.theme ? {
78
79
  ...Ge({
79
- userConfig: At.vue_ui_onion[t.theme] || C.config,
80
+ userConfig: Gt.vue_ui_onion[t.theme] || C.config,
80
81
  defaultConfig: t
81
82
  }),
82
- customPalette: _t[t.theme] || Ye
83
+ customPalette: Ot[t.theme] || Ye
83
84
  } : t;
84
85
  }
85
86
  U(() => C.config, (t) => {
86
87
  k.value || (e.value = Z()), K.value = !e.value.userOptions.showOnChartHover, Se(), me.value += 1, ye.value += 1, be.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
87
88
  }, { deep: !0 });
88
- const { isPrinting: xe, isImaging: Te, generatePdf: Oe, generateImage: _e } = Lt({
89
+ const { isPrinting: xe, isImaging: Te, generatePdf: Oe, generateImage: _e } = Bt({
89
90
  elementId: `vue-ui-onion_${y.value}`,
90
91
  fileName: e.value.style.chart.title.text || "vue-ui-onion",
91
92
  options: e.value.userOptions.print
92
- }), nt = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), st = v(() => St(e.value.customPalette)), m = r({
93
+ }), nt = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), st = v(() => _t(e.value.customPalette)), m = r({
93
94
  showTable: e.value.table.show,
94
95
  showTooltip: e.value.style.chart.tooltip.show
95
96
  });
@@ -116,7 +117,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
116
117
  const ut = v({
117
118
  get: () => e.value.style.chart.layout.labels.fontSize,
118
119
  set: (t) => t
119
- }), { autoSizeLabels: Ae } = Yt({
120
+ }), { autoSizeLabels: Ae } = Ut({
120
121
  svgRef: Q,
121
122
  fontSize: e.value.style.chart.layout.labels.fontSize,
122
123
  minFontSize: e.value.style.chart.layout.labels.minFontSize,
@@ -130,9 +131,9 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
130
131
  type: "dataset",
131
132
  debug: rt.value
132
133
  }), J.value = !0), Ee(C.dataset) || (J.value = e.value.loading), e.value.responsive) {
133
- const o = Rt(() => {
134
+ const o = Dt(() => {
134
135
  ee && clearTimeout(ee), x.value = !0;
135
- let { width: a, height: l } = zt({
136
+ let { width: a, height: l } = Mt({
136
137
  chart: $.value,
137
138
  title: e.value.style.chart.title.text ? he.value : null,
138
139
  legend: e.value.style.chart.legend.show ? pe.value : null,
@@ -181,7 +182,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
181
182
  ...t,
182
183
  percentage: t.percentage || 0,
183
184
  targetPercentage: t.percentage || 0,
184
- color: It(t.color) || st.value[o] || Ye[o],
185
+ color: At(t.color) || st.value[o] || Ye[o],
185
186
  id: a,
186
187
  shape: "circle",
187
188
  opacity: b.value.includes(a) ? 0.5 : 1,
@@ -284,8 +285,8 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
284
285
  });
285
286
  function le(t = null) {
286
287
  Ue(() => {
287
- const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = ae.value.head, l = ae.value.body, h = o.concat([a]).concat(l), w = Ft(h);
288
- t ? t(w) : Dt({ csvContent: w, title: e.value.style.chart.title.text || "vue-ui-onion" });
288
+ const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = ae.value.head, l = ae.value.body, h = o.concat([a]).concat(l), w = It(h);
289
+ t ? t(w) : Pt({ csvContent: w, title: e.value.style.chart.title.text || "vue-ui-onion" });
289
290
  });
290
291
  }
291
292
  const _ = r(void 0), F = r(!1);
@@ -310,7 +311,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
310
311
  }, j.value = a;
311
312
  let h = "";
312
313
  const w = e.value.style.chart.tooltip.customFormat;
313
- if (Xe(w) && Mt(() => w({
314
+ if (Xe(w) && Ft(() => w({
314
315
  seriesIndex: l,
315
316
  datapoint: t,
316
317
  series: f.value,
@@ -349,7 +350,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
349
350
  }
350
351
  async function mt({ scale: t = 2 } = {}) {
351
352
  if (!$.value) return;
352
- const { width: o, height: a } = $.value.getBoundingClientRect(), l = o / a, { imageUri: h, base64: w } = await Et({ domElement: $.value, base64: !0, img: !0, scale: t });
353
+ const { width: o, height: a } = $.value.getBoundingClientRect(), l = o / a, { imageUri: h, base64: w } = await Yt({ domElement: $.value, base64: !0, img: !0, scale: t });
353
354
  return {
354
355
  imageUri: h,
355
356
  base64: w,
@@ -431,7 +432,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
431
432
  ref: he,
432
433
  style: "width:100%;background:transparent"
433
434
  }, [
434
- (u(), S(Xt, {
435
+ (u(), S(Et, {
435
436
  key: `title_${me.value}`,
436
437
  config: {
437
438
  title: {
@@ -544,7 +545,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
544
545
  (u(), i("svg", {
545
546
  ref_key: "svgRef",
546
547
  ref: Q,
547
- xmlns: s(Pt),
548
+ xmlns: s(St),
548
549
  class: W({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value, resizing: x.value }),
549
550
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
550
551
  style: D(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
@@ -719,7 +720,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
719
720
  ref_key: "chartLegend",
720
721
  ref: pe
721
722
  }, [
722
- e.value.style.chart.legend.show ? (u(), S(Gt, {
723
+ e.value.style.chart.legend.show ? (u(), S(Xt, {
723
724
  key: `legend_${be.value}`,
724
725
  legendSet: f.value,
725
726
  config: dt.value,
@@ -827,10 +828,10 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
827
828
  key: "1"
828
829
  } : void 0
829
830
  ]), 1040)) : g("", !0),
830
- s(k) ? (u(), S(Bt, { key: 8 })) : g("", !0)
831
+ s(k) ? (u(), S(Nt, { key: 8 })) : g("", !0)
831
832
  ], 46, Wt));
832
833
  }
833
- }, Ta = /* @__PURE__ */ Ht(va, [["__scopeId", "data-v-6873a81d"]]);
834
+ }, Oa = /* @__PURE__ */ Ht(va, [["__scopeId", "data-v-6873a81d"]]);
834
835
  export {
835
- Ta as default
836
+ Oa as default
836
837
  };