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,12 +1,13 @@
1
1
  import { useCssVars as Xe, computed as h, defineAsyncComponent as x, ref as c, shallowRef as we, onMounted as We, onBeforeUnmount as Ye, watch as $e, createElementBlock as i, openBlock as n, unref as s, normalizeStyle as T, normalizeClass as N, createBlock as I, createCommentVNode as b, createSlots as xe, withCtx as m, renderSlot as g, normalizeProps as G, guardReactiveProps as j, createVNode as Le, createElementVNode as C, mergeProps as H, Fragment as X, renderList as W, toDisplayString as U, resolveDynamicComponent as qe, createTextVNode as _e, nextTick as Je } from "vue";
2
- import { u as Ke, c as Qe, o as Ze, f as Te, g as et, e as tt, l as at, k as Y, i as q, X as lt, F as st, E as te, b as ot, v as nt, w as ut } from "./index-Lg17rmB1.js";
3
- import { t as rt, u as it } from "./useResponsive-DfdjqQps.js";
4
- import { u as ct } from "./usePrinter-DGI4Mlad.js";
5
- import { u as Ae } from "./useNestedProp-DpwLJMsW.js";
6
- import { u as vt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as dt } from "./useChartAccessibility-9icAAmYg.js";
8
- import ht from "./img-CeCjiMpr.js";
9
- import ft from "./Title-BVMfF0uu.js";
2
+ import { c as Ke, o as Qe, f as Te, g as Ze, h as et, m as tt, a as Y, d as q, X as at, G as lt, F as te, x as st, y as ot } from "./lib-p5pfHmOX.js";
3
+ import { t as nt, u as ut } from "./useResponsive-DfdjqQps.js";
4
+ import { u as rt, a as Ae } from "./useNestedProp-DF7e2h1z.js";
5
+ import { u as it } from "./usePrinter-Yeu5jOfm.js";
6
+ import { u as ct } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as vt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import dt from "./img-CH7J0fYg.js";
9
+ import ht from "./Title-pI68ZJsq.js";
10
+ import { t as ft } from "./themes-D3cUNuKw.js";
10
11
  import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
12
  const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["id"], kt = ["stop-color"], Ct = ["stop-color"], wt = ["stop-color"], $t = ["stroke", "stroke-width"], xt = ["stroke", "stroke-width"], Lt = ["x", "y", "font-size", "fill", "font-weight"], _t = ["points", "fill"], Tt = ["stroke", "stroke-width", "rx"], At = ["x", "y", "font-size", "fill", "font-weight"], Ot = ["x", "y", "font-size", "fill", "font-weight"], St = {
12
13
  key: 5,
@@ -31,14 +32,14 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
31
32
  Xe((t) => ({
32
33
  "9ac925c6": Ge.value
33
34
  }));
34
- const De = x(() => import("./BaseIcon-7s-tCFcQ.js")), ze = x(() => import("./vue-ui-skeleton-fqG3bKSz.js")), Ne = x(() => import("./vue-ui-accordion-BJG-ogQj.js")), Ie = x(() => import("./DataTable-Dw6dxJk3.js")), Pe = x(() => import("./UserOptions-CKzW9w0Q.js")), Fe = x(() => import("./PenAndPaper-BKnXOYre.js")), Re = x(() => import("./PackageVersion-D1HToLlZ.js")), Be = x(() => import("./BaseDraggableDialog-CrCjMg89.js")), { vue_ui_funnel: Me } = Ke(), p = Oe, w = c(null), P = c(Qe()), ae = c(0), le = c(0), se = c(0), oe = c(null), ne = c(null), ue = c(null), $ = we(null), A = we(null), L = c(!1), F = c(null), J = c(null), O = h(() => !!p.dataset && p.dataset.length);
35
+ const De = x(() => import("./BaseIcon-D2f9w5Z5.js")), ze = x(() => import("./vue-ui-skeleton-FtA6-6zz.js")), Ne = x(() => import("./vue-ui-accordion-D-L73-T2.js")), Ie = x(() => import("./DataTable-xISHA7Pu.js")), Pe = x(() => import("./UserOptions-Bn3u4JQu.js")), Fe = x(() => import("./PenAndPaper-CtDMyIvW.js")), Re = x(() => import("./PackageVersion-DRpg18lg.js")), Be = x(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_funnel: Me } = rt(), p = Oe, w = c(null), P = c(Ke()), ae = c(0), le = c(0), se = c(0), oe = c(null), ne = c(null), ue = c(null), $ = we(null), A = we(null), L = c(!1), F = c(null), J = c(null), O = h(() => !!p.dataset && p.dataset.length);
35
36
  We(re);
36
37
  function re() {
37
- if (Ze(p.dataset) ? Te({
38
+ if (Qe(p.dataset) ? Te({
38
39
  componentName: "VueUiFunnel",
39
40
  type: "dataset"
40
41
  }) : p.dataset.forEach((t, l) => {
41
- et({
42
+ Ze({
42
43
  datasetObject: t,
43
44
  requiredAttributes: ["name", "value"]
44
45
  }).forEach((a) => {
@@ -50,8 +51,8 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
50
51
  });
51
52
  });
52
53
  }), e.value.responsive) {
53
- const t = rt(() => {
54
- const { width: l, height: a } = it({
54
+ const t = nt(() => {
55
+ const { width: l, height: a } = ut({
55
56
  chart: w.value,
56
57
  title: e.value.style.chart.title.text ? ue.value : null,
57
58
  source: ne.value,
@@ -92,7 +93,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
92
93
  });
93
94
  return t.theme ? {
94
95
  ...Ae({
95
- userConfig: ot.vue_ui_funnel[t.theme] || p.config,
96
+ userConfig: ft.vue_ui_funnel[t.theme] || p.config,
96
97
  defaultConfig: t
97
98
  })
98
99
  } : t;
@@ -100,11 +101,11 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
100
101
  const e = h({
101
102
  get: () => ie(),
102
103
  set: (t) => t
103
- }), { userOptionsVisible: K, setUserOptionsVisibility: ce, keepUserOptionState: ve } = vt({ config: e.value }), { svgRef: de } = dt({ config: e.value.style.chart.title });
104
+ }), { userOptionsVisible: K, setUserOptionsVisibility: ce, keepUserOptionState: ve } = ct({ config: e.value }), { svgRef: de } = vt({ config: e.value.style.chart.title });
104
105
  $e(() => p.config, (t) => {
105
106
  e.value = ie(), K.value = !e.value.userOptions.showOnChartHover, re(), le.value += 1, se.value += 1, v.value.circles = e.value.style.chart.circles.dataLabels.fontSize, v.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, v.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, S.value.showTable = e.value.table.show;
106
107
  }, { deep: !0 });
107
- const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: me } = ct({
108
+ const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: me } = it({
108
109
  elementId: `funnel_${P.value}`,
109
110
  fileName: e.value.style.chart.title.text || "vue-ui-funnel",
110
111
  options: e.value.userOptions.print
@@ -122,7 +123,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
122
123
  set: (t) => t
123
124
  }), y = h(() => O.value ? p.dataset.map((t, l) => ({
124
125
  ...t,
125
- color: t.color ? tt(t.color) : at(e.value.style.chart.bars.defaultColor, l / p.dataset.length)
126
+ color: t.color ? et(t.color) : tt(e.value.style.chart.bars.defaultColor, l / p.dataset.length)
126
127
  })) : []);
127
128
  setTimeout(() => {
128
129
  L.value = !0;
@@ -153,10 +154,10 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
153
154
  x: k.value.left + a + pe.value,
154
155
  y: o
155
156
  };
156
- })), Ee = h(() => {
157
+ })), Ve = h(() => {
157
158
  const t = u.value.map((l) => `${l.x + l.width},${l.y + (D.value - _.value) / 2}`);
158
159
  return `${u.value[0].x},${u.value[0].y + (D.value - _.value) / 2} ${t.toString()} ${u.value.at(-1).x},${u.value.at(-1).y + (D.value - _.value) / 2}`;
159
- }), Ve = h(() => ({
160
+ }), Ee = h(() => ({
160
161
  x1: u.value[0].cx,
161
162
  y1: u.value[0].cy,
162
163
  x2: u.value.at(-1).cx,
@@ -165,9 +166,9 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
165
166
  function ye(t) {
166
167
  z.value = t, ae.value += 1;
167
168
  }
168
- const Ge = h(() => `${y.value.length * 150}ms`), E = c(!1);
169
+ const Ge = h(() => `${y.value.length * 150}ms`), V = c(!1);
169
170
  function Q() {
170
- E.value = !E.value;
171
+ V.value = !V.value;
171
172
  }
172
173
  function ke() {
173
174
  S.value.showTable = !S.value.showTable;
@@ -178,7 +179,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
178
179
  color: a.color
179
180
  })), l = y.value.map((a) => a.value);
180
181
  return { head: t, body: l };
181
- }), V = h(() => {
182
+ }), E = h(() => {
182
183
  const t = [
183
184
  e.value.table.columnNames.series,
184
185
  e.value.table.columnNames.value,
@@ -237,8 +238,8 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
237
238
  Je(() => {
238
239
  const l = R.value.head.map((f, r) => [[
239
240
  f.name
240
- ], [R.value.body[r]], [u.value[r].proportion * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(l), o = nt(a);
241
- t ? t(o) : ut({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-funnel" });
241
+ ], [R.value.body[r]], [u.value[r].proportion * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(l), o = st(a);
242
+ t ? t(o) : ot({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-funnel" });
242
243
  });
243
244
  }
244
245
  function je() {
@@ -246,7 +247,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
246
247
  }
247
248
  async function He({ scale: t = 2 } = {}) {
248
249
  if (!w.value) return;
249
- const { width: l, height: a } = w.value.getBoundingClientRect(), o = l / a, { imageUri: f, base64: r } = await ht({ domElement: w.value, base64: !0, img: !0, scale: t });
250
+ const { width: l, height: a } = w.value.getBoundingClientRect(), o = l / a, { imageUri: f, base64: r } = await dt({ domElement: w.value, base64: !0, img: !0, scale: t });
250
251
  return {
251
252
  imageUri: f,
252
253
  base64: r,
@@ -315,7 +316,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
315
316
  svgRef: s(de),
316
317
  backgroundColor: e.value.style.chart.backgroundColor,
317
318
  color: e.value.style.chart.color,
318
- active: E.value,
319
+ active: V.value,
319
320
  onClose: Q
320
321
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
321
322
  Ue.value ? (n(), i("div", {
@@ -331,7 +332,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
331
332
  ref: ue,
332
333
  style: "width:100%;background:transparent;padding-bottom:24px"
333
334
  }, [
334
- (n(), I(ft, {
335
+ (n(), I(ht, {
335
336
  key: `title_${le.value}`,
336
337
  config: {
337
338
  title: {
@@ -366,7 +367,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
366
367
  position: e.value.userOptions.position,
367
368
  titles: { ...e.value.userOptions.buttonTitles },
368
369
  hasAnnotator: e.value.userOptions.buttons.annotator,
369
- isAnnotation: E.value,
370
+ isAnnotation: V.value,
370
371
  callbacks: e.value.userOptions.callbacks,
371
372
  printScale: e.value.userOptions.print.scale,
372
373
  tableDialog: e.value.table.useDialog,
@@ -434,7 +435,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
434
435
  key: 4,
435
436
  ref_key: "svgRef",
436
437
  ref: de,
437
- xmlns: s(lt),
438
+ xmlns: s(at),
438
439
  class: N({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
439
440
  viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
440
441
  style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
@@ -475,7 +476,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
475
476
  }, null, 8, wt)
476
477
  ], 8, yt)
477
478
  ]),
478
- e.value.style.chart.circleLinks.show ? (n(), i("line", H({ key: 1 }, Ve.value, {
479
+ e.value.style.chart.circleLinks.show ? (n(), i("line", H({ key: 1 }, Ee.value, {
479
480
  stroke: e.value.style.chart.circleLinks.color,
480
481
  "stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
481
482
  "stroke-linecap": "round",
@@ -502,7 +503,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
502
503
  y: a.cy + v.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
503
504
  "text-anchor": "middle",
504
505
  "font-size": v.value.circles,
505
- fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? s(st)(a.color) : e.value.style.chart.circles.dataLabels.color,
506
+ fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? s(lt)(a.color) : e.value.style.chart.circles.dataLabels.color,
506
507
  "font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
507
508
  class: N({
508
509
  animated: e.value.useCssAnimation && !L.value
@@ -522,7 +523,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
522
523
  )), 15, Lt))), 256)),
523
524
  e.value.style.chart.area.show ? (n(), i("polygon", {
524
525
  key: 2,
525
- points: Ee.value,
526
+ points: Ve.value,
526
527
  fill: `url(#funnel_area_${P.value})`,
527
528
  class: N({
528
529
  animated: e.value.useCssAnimation && !L.value
@@ -618,10 +619,10 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
618
619
  content: m(() => [
619
620
  (n(), I(s(Ie), {
620
621
  key: `table_${se.value}`,
621
- colNames: V.value.colNames,
622
- head: V.value.head,
623
- body: V.value.body,
624
- config: V.value.config,
622
+ colNames: E.value.colNames,
623
+ head: E.value.head,
624
+ body: E.value.body,
625
+ config: E.value.config,
625
626
  title: e.value.table.useDialog ? "" : B.value.title,
626
627
  withCloseButton: !e.value.table.useDialog,
627
628
  onClose: Ce
@@ -666,7 +667,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
666
667
  ]), 1040)) : b("", !0)
667
668
  ], 46, mt));
668
669
  }
669
- }, Gt = /* @__PURE__ */ bt(zt, [["__scopeId", "data-v-6fb80307"]]);
670
+ }, jt = /* @__PURE__ */ bt(zt, [["__scopeId", "data-v-6fb80307"]]);
670
671
  export {
671
- Gt as default
672
+ jt as default
672
673
  };
@@ -1,14 +1,15 @@
1
- import { defineAsyncComponent as x, ref as o, computed as i, toRefs as pt, onMounted as gt, watch as De, createElementBlock as c, openBlock as n, unref as u, normalizeStyle as z, normalizeClass as G, createBlock as T, createCommentVNode as v, createElementVNode as k, createVNode as le, createSlots as Le, withCtx as d, renderSlot as p, normalizeProps as I, guardReactiveProps as D, Fragment as Fe, renderList as Ae, Teleport as ft, toDisplayString as L, resolveDynamicComponent as yt, mergeProps as bt, createTextVNode as Ne, nextTick as Be } from "vue";
2
- import { u as mt, c as Ve, t as kt, o as wt, f as Me, g as Ct, a as $t, p as H, b as xt, d as Tt, G as Ee, e as _t, M as St, i as _, X as Ot, k as Re, y as We, v as Pt, w as It, z as Dt } from "./index-Lg17rmB1.js";
3
- import { t as Lt, u as Ft } from "./useResponsive-DfdjqQps.js";
4
- import { u as At, B as Nt } from "./BaseScanner-BgWxam9d.js";
5
- import { u as Bt } from "./usePrinter-DGI4Mlad.js";
6
- import { u as ze } from "./useNestedProp-DpwLJMsW.js";
7
- import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
9
- import Et from "./img-CeCjiMpr.js";
10
- import Rt from "./Title-BVMfF0uu.js";
11
- import Wt from "./Legend-CjdnJGHq.js";
1
+ import { defineAsyncComponent as x, ref as o, computed as i, toRefs as pt, onMounted as gt, watch as De, createElementBlock as c, openBlock as n, unref as u, normalizeStyle as z, normalizeClass as G, createBlock as T, createCommentVNode as v, createElementVNode as k, createVNode as le, createSlots as Le, withCtx as d, renderSlot as p, normalizeProps as I, guardReactiveProps as D, Fragment as Ae, renderList as Fe, Teleport as ft, toDisplayString as L, resolveDynamicComponent as yt, mergeProps as bt, createTextVNode as Ne, nextTick as Be } from "vue";
2
+ import { c as Ve, t as mt, o as kt, f as Me, g as wt, b as Ct, p as H, e as $t, L as Re, h as xt, R as Tt, d as _, X as _t, a as Ee, z as We, x as St, y as Ot, A as Pt } from "./lib-p5pfHmOX.js";
3
+ import { t as It, u as Dt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Lt, a as ze } from "./useNestedProp-DF7e2h1z.js";
5
+ import { u as At, B as Ft } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Nt } from "./usePrinter-Yeu5jOfm.js";
7
+ import { u as Bt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
9
+ import Mt from "./img-CH7J0fYg.js";
10
+ import { t as Rt } from "./themes-D3cUNuKw.js";
11
+ import Et from "./Title-pI68ZJsq.js";
12
+ import Wt from "./Legend-_Rv594VS.js";
12
13
  import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
14
  const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "height"], Yt = ["id"], jt = ["stdDeviation"], qt = ["d", "stroke", "stroke-width"], Jt = ["d", "stroke", "stroke-width"], Kt = ["filter"], Qt = ["d", "stroke", "stroke-width"], Zt = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], el = {
14
15
  key: 4,
@@ -31,7 +32,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
31
32
  },
32
33
  emits: ["selectLegend", "selectDatapoint"],
33
34
  setup(Ge, { expose: He, emit: Ue }) {
34
- const Xe = x(() => import("./Tooltip-DBvmoYXU.js")), Ye = x(() => import("./BaseIcon-7s-tCFcQ.js")), je = x(() => import("./vue-ui-accordion-BJG-ogQj.js")), qe = x(() => import("./DataTable-Dw6dxJk3.js")), Je = x(() => import("./PenAndPaper-BKnXOYre.js")), Ke = x(() => import("./UserOptions-CKzW9w0Q.js")), Qe = x(() => import("./PackageVersion-D1HToLlZ.js")), Ze = x(() => import("./BaseDraggableDialog-CrCjMg89.js")), { vue_ui_galaxy: et } = mt(), w = Ge, y = o(Ve()), b = o(null), U = o(!1), X = o(""), S = o(null), ae = o(0), oe = o(0), se = o(0), ue = o(0), ne = o(null), re = o(null), ie = o(null), ce = o(null), F = o(null), V = o(null), ve = o(!1), A = o(null), Y = o(null), de = i(() => !!w.dataset && w.dataset.length), e = o(J()), { loading: j, FINAL_DATASET: he } = At({
35
+ const Xe = x(() => import("./Tooltip-Clf2K3CF.js")), Ye = x(() => import("./BaseIcon-D2f9w5Z5.js")), je = x(() => import("./vue-ui-accordion-D-L73-T2.js")), qe = x(() => import("./DataTable-xISHA7Pu.js")), Je = x(() => import("./PenAndPaper-CtDMyIvW.js")), Ke = x(() => import("./UserOptions-Bn3u4JQu.js")), Qe = x(() => import("./PackageVersion-DRpg18lg.js")), Ze = x(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_galaxy: et } = Lt(), w = Ge, y = o(Ve()), b = o(null), U = o(!1), X = o(""), S = o(null), ae = o(0), oe = o(0), se = o(0), ue = o(0), ne = o(null), re = o(null), ie = o(null), ce = o(null), A = o(null), V = o(null), ve = o(!1), F = o(null), Y = o(null), de = i(() => !!w.dataset && w.dataset.length), e = o(J()), { loading: j, FINAL_DATASET: he } = At({
35
36
  ...pt(w),
36
37
  FINAL_CONFIG: e,
37
38
  prepareConfig: J,
@@ -45,7 +46,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
45
46
  { name: "_", values: [13], color: "#C4C4C4" },
46
47
  { name: "_", values: [8], color: "#ADADAD" }
47
48
  ],
48
- skeletonConfig: kt({
49
+ skeletonConfig: mt({
49
50
  defaultConfig: e.value,
50
51
  userConfig: {
51
52
  userOptions: { show: !1 },
@@ -67,12 +68,12 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
67
68
  });
68
69
  const pe = i(() => !!e.value.debug);
69
70
  function ge() {
70
- if (wt(w.dataset) ? Me({
71
+ if (kt(w.dataset) ? Me({
71
72
  componentName: "VueUiGalaxy",
72
73
  type: "dataset",
73
74
  debug: pe.value
74
75
  }) : w.dataset.forEach((t, a) => {
75
- Ct({
76
+ wt({
76
77
  datasetObject: t,
77
78
  requiredAttributes: ["name", "values"]
78
79
  }).forEach((l) => {
@@ -85,8 +86,8 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
85
86
  });
86
87
  });
87
88
  }), e.value.responsive) {
88
- const t = Lt(() => {
89
- const { width: a, height: l } = Ft({
89
+ const t = It(() => {
90
+ const { width: a, height: l } = Dt({
90
91
  chart: b.value,
91
92
  title: e.value.style.chart.title.text ? ne.value : null,
92
93
  legend: e.value.style.chart.legend.show ? re.value : null,
@@ -94,13 +95,13 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
94
95
  source: ie.value
95
96
  });
96
97
  requestAnimationFrame(() => {
97
- M.value = Math.max(0.1, a), E.value = Math.max(0.1, l - 12);
98
+ M.value = Math.max(0.1, a), R.value = Math.max(0.1, l - 12);
98
99
  });
99
100
  });
100
- F.value && (V.value && F.value.unobserve(V.value), F.value.disconnect()), F.value = new ResizeObserver(t), V.value = b.value.parentNode, F.value.observe(V.value);
101
+ A.value && (V.value && A.value.unobserve(V.value), A.value.disconnect()), A.value = new ResizeObserver(t), V.value = b.value.parentNode, A.value.observe(V.value);
101
102
  }
102
103
  }
103
- const { userOptionsVisible: q, setUserOptionsVisibility: fe, keepUserOptionState: ye } = Vt({ config: e.value }), { svgRef: be } = Mt({ config: e.value.style.chart.title });
104
+ const { userOptionsVisible: q, setUserOptionsVisibility: fe, keepUserOptionState: ye } = Bt({ config: e.value }), { svgRef: be } = Vt({ config: e.value.style.chart.title });
104
105
  function J() {
105
106
  const t = ze({
106
107
  userConfig: w.config,
@@ -108,29 +109,29 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
108
109
  });
109
110
  return t.theme ? {
110
111
  ...ze({
111
- userConfig: xt.vue_ui_galaxy[t.theme] || w.config,
112
+ userConfig: Rt.vue_ui_galaxy[t.theme] || w.config,
112
113
  defaultConfig: t
113
114
  }),
114
- customPalette: $t[t.theme] || H
115
+ customPalette: Ct[t.theme] || H
115
116
  } : t;
116
117
  }
117
118
  De(() => w.config, (t) => {
118
119
  e.value = J(), q.value = !e.value.userOptions.showOnChartHover, ge(), oe.value += 1, se.value += 1, ue.value += 1, g.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, g.value.showTable = e.value.table.show, g.value.showTooltip = e.value.style.chart.tooltip.show;
119
120
  }, { deep: !0 });
120
- const { isPrinting: me, isImaging: ke, generatePdf: we, generateImage: Ce } = Bt({
121
+ const { isPrinting: me, isImaging: ke, generatePdf: we, generateImage: Ce } = Nt({
121
122
  elementId: `galaxy_${y.value}`,
122
123
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
123
124
  options: e.value.userOptions.print
124
- }), tt = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), lt = i(() => Tt(e.value.customPalette)), g = o({
125
+ }), tt = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), lt = i(() => $t(e.value.customPalette)), g = o({
125
126
  dataLabels: {
126
127
  show: e.value.style.chart.layout.labels.dataLabels.show
127
128
  },
128
129
  showTable: e.value.table.show,
129
130
  showTooltip: e.value.style.chart.tooltip.show
130
- }), M = o(250), E = o(180), at = o(0), ot = o(0), C = i(() => ({
131
+ }), M = o(250), R = o(180), at = o(0), ot = o(0), C = i(() => ({
131
132
  width: M.value,
132
- height: E.value,
133
- viewBox: `${at.value} ${ot.value} ${M.value} ${E.value}`
133
+ height: R.value,
134
+ viewBox: `${at.value} ${ot.value} ${M.value} ${R.value}`
134
135
  })), $e = Ue, f = o([]);
135
136
  function K(t) {
136
137
  f.value.includes(t.id) ? f.value = f.value.filter((a) => a !== t.id) : f.value.push(t.id), $e("selectLegend", N.value.map((a) => ({
@@ -141,9 +142,9 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
141
142
  }
142
143
  const O = i(() => he.value.map((t, a) => ({
143
144
  name: t.name,
144
- color: _t(t.color) || lt.value[a] || H[a] || H[a % H.length],
145
- value: t.values ? Ee(t.values).reduce((l, s) => l + s, 0) : 0,
146
- absoluteValues: Ee(t.values),
145
+ color: xt(t.color) || lt.value[a] || H[a] || H[a % H.length],
146
+ value: t.values ? Re(t.values).reduce((l, s) => l + s, 0) : 0,
147
+ absoluteValues: Re(t.values),
147
148
  id: Ve()
148
149
  })).sort((t, a) => a.value - t.value).map((t, a) => ({
149
150
  ...t,
@@ -158,7 +159,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
158
159
  }
159
160
  const m = i(() => O.value.filter((t) => !f.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), xe = o(190), Te = i(() => O.value.filter((t) => !f.value.includes(t.id))), ut = i(
160
161
  () => (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) / 2 + (e.value.style.chart.layout.padding ?? 12)
161
- ), nt = i(() => St({
162
+ ), nt = i(() => Tt({
162
163
  maxPoints: xe.value,
163
164
  a: e.value.style.chart.layout.arcs.a ?? 6,
164
165
  b: e.value.style.chart.layout.arcs.b ?? 6,
@@ -183,7 +184,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
183
184
  return t.filter((a) => !f.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
184
185
  });
185
186
  function Q(t) {
186
- const a = Math.min(M.value, E.value), l = S.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, s = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * l, r = e.value.style.chart.layout.arcs.strokeWidth * l, h = e.value.style.chart.layout.arcs.strokeWidth / 2 * l;
187
+ const a = Math.min(M.value, R.value), l = S.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, s = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * l, r = e.value.style.chart.layout.arcs.strokeWidth * l, h = e.value.style.chart.layout.arcs.strokeWidth / 2 * l;
187
188
  return {
188
189
  border: s / 180 * a,
189
190
  path: r / 180 * a,
@@ -210,7 +211,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
210
211
  }, U.value = s, S.value = t.id;
211
212
  let r = "";
212
213
  const h = e.value.style.chart.tooltip.customFormat;
213
- We(h) && Dt(() => h({
214
+ We(h) && Pt(() => h({
214
215
  seriesIndex: l,
215
216
  datapoint: t,
216
217
  series: O.value,
@@ -220,7 +221,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
220
221
  datapoint: t,
221
222
  series: O.value,
222
223
  config: e.value
223
- }) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${Re(
224
+ }) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${Ee(
224
225
  e.value.style.chart.layout.labels.dataLabels.formatter,
225
226
  t.value,
226
227
  _({
@@ -265,11 +266,11 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
265
266
  Be(() => {
266
267
  const a = $.value.head.map((r, h) => [[
267
268
  r.name
268
- ], [$.value.body[h]], [isNaN($.value.body[h] / m.value) ? "-" : $.value.body[h] / m.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), s = Pt(l);
269
- t ? t(s) : It({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
269
+ ], [$.value.body[h]], [isNaN($.value.body[h] / m.value) ? "-" : $.value.body[h] / m.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), s = St(l);
270
+ t ? t(s) : Ot({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
270
271
  });
271
272
  }
272
- const R = i(() => {
273
+ const E = i(() => {
273
274
  const t = [
274
275
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
275
276
  _({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
@@ -324,7 +325,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
324
325
  }
325
326
  async function dt({ scale: t = 2 } = {}) {
326
327
  if (!b.value) return;
327
- const { width: a, height: l } = b.value.getBoundingClientRect(), s = a / l, { imageUri: r, base64: h } = await Et({ domElement: b.value, base64: !0, img: !0, scale: t });
328
+ const { width: a, height: l } = b.value.getBoundingClientRect(), s = a / l, { imageUri: r, base64: h } = await Mt({ domElement: b.value, base64: !0, img: !0, scale: t });
328
329
  return {
329
330
  imageUri: r,
330
331
  base64: h,
@@ -365,7 +366,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
365
366
  };
366
367
  });
367
368
  De(() => g.value.showTable, (t) => {
368
- e.value.table.show || (t && e.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
369
+ e.value.table.show || (t && e.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
369
370
  });
370
371
  function Ie() {
371
372
  g.value.showTable = !1, Y.value && Y.value.setTableIconState(!1);
@@ -410,7 +411,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
410
411
  ref: ne,
411
412
  style: "width:100%;background:transparent;padding-bottom:24px"
412
413
  }, [
413
- (n(), T(Rt, {
414
+ (n(), T(Et, {
414
415
  key: `title_${oe.value}`,
415
416
  config: {
416
417
  title: {
@@ -523,7 +524,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
523
524
  (n(), c("svg", {
524
525
  ref_key: "svgRef",
525
526
  ref: be,
526
- xmlns: u(Ot),
527
+ xmlns: u(_t),
527
528
  class: G({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
528
529
  viewBox: C.value.viewBox,
529
530
  style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
@@ -555,7 +556,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
555
556
  }, null, 8, jt)
556
557
  ], 8, Yt)
557
558
  ]),
558
- (n(!0), c(Fe, null, Ae(N.value, (l) => (n(), c("g", null, [
559
+ (n(!0), c(Ae, null, Fe(N.value, (l) => (n(), c("g", null, [
559
560
  l.value ? (n(), c("path", {
560
561
  key: 0,
561
562
  d: l.path,
@@ -587,7 +588,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
587
588
  }, null, 10, Qt)
588
589
  ], 8, Kt)) : v("", !0)
589
590
  ]))), 256)),
590
- (n(!0), c(Fe, null, Ae(N.value, (l, s) => (n(), c("g", null, [
591
+ (n(!0), c(Ae, null, Fe(N.value, (l, s) => (n(), c("g", null, [
591
592
  l.value ? (n(), c("path", {
592
593
  key: 0,
593
594
  d: l.path,
@@ -631,7 +632,7 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
631
632
  key: 0,
632
633
  onClick: (r) => K(l),
633
634
  style: z(`opacity:${f.value.includes(l.id) ? 0.5 : 1}`)
634
- }, L(l.name) + L(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + L(e.value.style.chart.legend.showValue ? u(Re)(
635
+ }, L(l.name) + L(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + L(e.value.style.chart.legend.showValue ? u(Ee)(
635
636
  e.value.style.chart.layout.labels.dataLabels.formatter,
636
637
  l.value,
637
638
  u(_)({
@@ -690,16 +691,16 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
690
691
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
691
692
  de.value && e.value.userOptions.buttons.table ? (n(), T(yt(B.value.component), bt({ key: 7 }, B.value.props, {
692
693
  ref_key: "tableUnit",
693
- ref: A,
694
+ ref: F,
694
695
  onClose: Ie
695
696
  }), Le({
696
697
  content: d(() => [
697
698
  (n(), T(u(qe), {
698
699
  key: `table_${se.value}`,
699
- colNames: R.value.colNames,
700
- head: R.value.head,
701
- body: R.value.body,
702
- config: R.value.config,
700
+ colNames: E.value.colNames,
701
+ head: E.value.head,
702
+ body: E.value.body,
703
+ config: E.value.config,
703
704
  title: e.value.table.useDialog ? "" : B.value.title,
704
705
  withCloseButton: !e.value.table.useDialog,
705
706
  onClose: Ie
@@ -742,10 +743,10 @@ const Gt = ["id"], Ht = ["id"], Ut = ["xmlns", "viewBox"], Xt = ["width", "heigh
742
743
  key: "1"
743
744
  } : void 0
744
745
  ]), 1040)) : v("", !0),
745
- u(j) ? (n(), T(Nt, { key: 8 })) : v("", !0)
746
+ u(j) ? (n(), T(Ft, { key: 8 })) : v("", !0)
746
747
  ], 46, Gt));
747
748
  }
748
- }, yl = /* @__PURE__ */ zt(ol, [["__scopeId", "data-v-813f1461"]]);
749
+ }, bl = /* @__PURE__ */ zt(ol, [["__scopeId", "data-v-813f1461"]]);
749
750
  export {
750
- yl as default
751
+ bl as default
751
752
  };