vue-data-ui 3.27.0 → 3.27.1-beta.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 (531) hide show
  1. package/dist/A11yDataTable-DWNlWXzs.js +1 -0
  2. package/dist/Arrow-CJeSufxg.js +1 -0
  3. package/dist/BaseDraggableDialog-T1gEsQid.js +1 -0
  4. package/dist/BaseIcon-Cz30ODFA.js +1 -0
  5. package/dist/BaseLegendToggle-Dn_tNvn4.js +1 -0
  6. package/dist/BaseScanner-8NdoBs7B.js +1 -0
  7. package/dist/BaseZoomControls-xq3tWD3j.js +1 -0
  8. package/dist/ColorPicker-CUjEw53A.js +1 -0
  9. package/dist/DataTable-DSUA5M9p.js +1 -0
  10. package/dist/DefGrad-DKMq1REY.js +1 -0
  11. package/dist/HillActions-DdvXld3a.js +1 -0
  12. package/dist/Legend-DokTll4u.js +1 -0
  13. package/dist/NonSvgPenAndPaper-BLzQuIm6.js +1 -0
  14. package/dist/PackageVersion-D6pKL176.js +1 -0
  15. package/dist/PenAndPaper-DvJJaeU2.js +1 -0
  16. package/dist/RecursiveCircles-BftI1kwF.js +1 -0
  17. package/dist/RecursiveLabels-B0d04xSj.js +1 -0
  18. package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
  19. package/dist/Shape-tkp65OcG.js +1 -0
  20. package/dist/SlicerPreview-GFRs2EWB.js +1 -0
  21. package/dist/SparkTooltip-BlJLvizH.js +1 -0
  22. package/dist/Title-BRAjxtjG.js +1 -0
  23. package/dist/Tooltip-BUXB0i6z.js +1 -0
  24. package/dist/UserOptions-D65t74CM.js +1 -0
  25. package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
  26. package/dist/annotationSlots-BRR85CqJ.js +1 -0
  27. package/dist/chartImage-NwZO-elv.js +1 -0
  28. package/dist/components/arrow.js +1 -2
  29. package/dist/components/vue-ui-3d-bar.js +1 -2
  30. package/dist/components/vue-ui-accordion.js +1 -2
  31. package/dist/components/vue-ui-age-pyramid.js +1 -2
  32. package/dist/components/vue-ui-annotator.js +1 -2
  33. package/dist/components/vue-ui-bullet.js +1 -2
  34. package/dist/components/vue-ui-bump.js +1 -2
  35. package/dist/components/vue-ui-candlestick.js +1 -2
  36. package/dist/components/vue-ui-carousel-table.js +1 -2
  37. package/dist/components/vue-ui-chestnut.js +1 -2
  38. package/dist/components/vue-ui-chord.js +1 -2
  39. package/dist/components/vue-ui-circle-pack.js +1 -2
  40. package/dist/components/vue-ui-cursor.js +1 -2
  41. package/dist/components/vue-ui-dag.js +1 -2
  42. package/dist/components/vue-ui-dashboard.js +1 -2
  43. package/dist/components/vue-ui-digits.js +1 -2
  44. package/dist/components/vue-ui-donut-evolution.js +1 -2
  45. package/dist/components/vue-ui-donut.js +1 -2
  46. package/dist/components/vue-ui-dumbbell.js +1 -2
  47. package/dist/components/vue-ui-flow.js +1 -2
  48. package/dist/components/vue-ui-funnel.js +1 -2
  49. package/dist/components/vue-ui-galaxy.js +1 -2
  50. package/dist/components/vue-ui-gauge.js +1 -2
  51. package/dist/components/vue-ui-geo.js +1 -2
  52. package/dist/components/vue-ui-gizmo.js +1 -2
  53. package/dist/components/vue-ui-heatmap.js +1 -2
  54. package/dist/components/vue-ui-hill.js +1 -2
  55. package/dist/components/vue-ui-history-plot.js +1 -2
  56. package/dist/components/vue-ui-horizontal-bar.js +1 -2
  57. package/dist/components/vue-ui-icon.js +1 -2
  58. package/dist/components/vue-ui-kpi.js +1 -2
  59. package/dist/components/vue-ui-label.js +1 -2
  60. package/dist/components/vue-ui-mini-loader.js +1 -2
  61. package/dist/components/vue-ui-molecule.js +1 -2
  62. package/dist/components/vue-ui-mood-radar.js +1 -2
  63. package/dist/components/vue-ui-nested-donuts.js +1 -2
  64. package/dist/components/vue-ui-onion.js +1 -2
  65. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
  66. package/dist/components/vue-ui-pattern-seed.js +1 -2
  67. package/dist/components/vue-ui-pattern.js +1 -2
  68. package/dist/components/vue-ui-quadrant.js +1 -2
  69. package/dist/components/vue-ui-quick-chart.js +1 -2
  70. package/dist/components/vue-ui-radar.js +1 -2
  71. package/dist/components/vue-ui-rating.js +1 -2
  72. package/dist/components/vue-ui-relation-circle.js +1 -2
  73. package/dist/components/vue-ui-ridgeline.js +1 -2
  74. package/dist/components/vue-ui-rings.js +1 -2
  75. package/dist/components/vue-ui-scatter.js +1 -2
  76. package/dist/components/vue-ui-skeleton.js +1 -2
  77. package/dist/components/vue-ui-smiley.js +1 -2
  78. package/dist/components/vue-ui-spark-trend.js +1 -2
  79. package/dist/components/vue-ui-sparkbar.js +1 -2
  80. package/dist/components/vue-ui-sparkgauge.js +1 -2
  81. package/dist/components/vue-ui-sparkhistogram.js +1 -2
  82. package/dist/components/vue-ui-sparkline.js +1 -2
  83. package/dist/components/vue-ui-sparkstackbar.js +1 -2
  84. package/dist/components/vue-ui-stackbar.js +1 -2
  85. package/dist/components/vue-ui-stackline.js +1 -2
  86. package/dist/components/vue-ui-strip-plot.js +1 -2
  87. package/dist/components/vue-ui-table-heatmap.js +1 -2
  88. package/dist/components/vue-ui-table-sparkline.js +1 -2
  89. package/dist/components/vue-ui-table.js +1 -2
  90. package/dist/components/vue-ui-thermometer.js +1 -2
  91. package/dist/components/vue-ui-timer.js +1 -2
  92. package/dist/components/vue-ui-tiremarks.js +1 -2
  93. package/dist/components/vue-ui-treemap.js +1 -2
  94. package/dist/components/vue-ui-vertical-bar.js +1 -2
  95. package/dist/components/vue-ui-waffle.js +1 -2
  96. package/dist/components/vue-ui-wheel.js +1 -2
  97. package/dist/components/vue-ui-word-cloud.js +1 -2
  98. package/dist/components/vue-ui-world.js +1 -2
  99. package/dist/components/vue-ui-xy-canvas.js +1 -2
  100. package/dist/components/vue-ui-xy.js +1 -2
  101. package/dist/composables.js +1 -5
  102. package/dist/dom-to-png-Cp3WLHmJ.js +3 -0
  103. package/dist/exposedLib-CMTeSmyW.js +1 -0
  104. package/dist/geoProjections-Bvj-eMvq.js +1 -0
  105. package/dist/img-8sM3sVWU.js +1 -0
  106. package/dist/labelUtils-Djp5nJtN.js +1 -0
  107. package/dist/lib-zDxoqrgo.js +12 -0
  108. package/dist/package-DIR2F6AE.js +1 -0
  109. package/dist/patternUtils-_q3ArM3g.js +1 -0
  110. package/dist/pdf-Dlv_ks7R.js +1 -0
  111. package/dist/render-common-DOYi0f4Z.js +1 -0
  112. package/dist/resolveChartConfig-BSo1Oe9n.js +1 -0
  113. package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
  114. package/dist/ssr/vue-ui-donut.js +1 -2
  115. package/dist/ssr/vue-ui-xy.js +1 -2
  116. package/dist/ssr.js +1 -3
  117. package/dist/style.css +1 -1
  118. package/dist/tableIntegration-CNoJ1CIY.js +1 -0
  119. package/dist/types/composables.d.ts +12 -12
  120. package/dist/types/ssr.d.ts +84 -84
  121. package/dist/types/utils.d.ts +82 -73
  122. package/dist/types/vue-data-ui.d.ts +17961 -17958
  123. package/dist/types/vue-ui-3d-bar.d.ts +24 -91
  124. package/dist/types/vue-ui-accordion.d.ts +2 -10
  125. package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
  126. package/dist/types/vue-ui-annotator.d.ts +12 -88
  127. package/dist/types/vue-ui-bullet.d.ts +21 -83
  128. package/dist/types/vue-ui-bump.d.ts +23 -90
  129. package/dist/types/vue-ui-candlestick.d.ts +27 -108
  130. package/dist/types/vue-ui-carousel-table.d.ts +11 -57
  131. package/dist/types/vue-ui-chestnut.d.ts +27 -96
  132. package/dist/types/vue-ui-chord.d.ts +31 -108
  133. package/dist/types/vue-ui-circle-pack.d.ts +30 -124
  134. package/dist/types/vue-ui-cursor.d.ts +2 -8
  135. package/dist/types/vue-ui-dag.d.ts +35 -125
  136. package/dist/types/vue-ui-dashboard.d.ts +18 -66
  137. package/dist/types/vue-ui-digits.d.ts +2 -11
  138. package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
  139. package/dist/types/vue-ui-donut.d.ts +31 -121
  140. package/dist/types/vue-ui-dumbbell.d.ts +24 -92
  141. package/dist/types/vue-ui-flow.d.ts +28 -104
  142. package/dist/types/vue-ui-funnel.d.ts +18 -77
  143. package/dist/types/vue-ui-galaxy.d.ts +30 -112
  144. package/dist/types/vue-ui-gauge.d.ts +22 -87
  145. package/dist/types/vue-ui-geo.d.ts +22 -92
  146. package/dist/types/vue-ui-gizmo.d.ts +5 -20
  147. package/dist/types/vue-ui-heatmap.d.ts +25 -101
  148. package/dist/types/vue-ui-hill.d.ts +22 -88
  149. package/dist/types/vue-ui-history-plot.d.ts +30 -112
  150. package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
  151. package/dist/types/vue-ui-icon.d.ts +1 -13
  152. package/dist/types/vue-ui-kpi.d.ts +5 -23
  153. package/dist/types/vue-ui-label.d.ts +11 -48
  154. package/dist/types/vue-ui-mini-loader.d.ts +4 -13
  155. package/dist/types/vue-ui-molecule.d.ts +27 -110
  156. package/dist/types/vue-ui-mood-radar.d.ts +23 -90
  157. package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
  158. package/dist/types/vue-ui-onion.d.ts +26 -104
  159. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
  160. package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
  161. package/dist/types/vue-ui-pattern.d.ts +1 -13
  162. package/dist/types/vue-ui-quadrant.d.ts +33 -123
  163. package/dist/types/vue-ui-quick-chart.d.ts +30 -110
  164. package/dist/types/vue-ui-radar.d.ts +31 -114
  165. package/dist/types/vue-ui-rating.d.ts +8 -40
  166. package/dist/types/vue-ui-relation-circle.d.ts +26 -90
  167. package/dist/types/vue-ui-ridgeline.d.ts +27 -104
  168. package/dist/types/vue-ui-rings.d.ts +21 -96
  169. package/dist/types/vue-ui-scatter.d.ts +22 -95
  170. package/dist/types/vue-ui-skeleton.d.ts +2 -10
  171. package/dist/types/vue-ui-smiley.d.ts +6 -26
  172. package/dist/types/vue-ui-spark-trend.d.ts +2 -18
  173. package/dist/types/vue-ui-sparkbar.d.ts +10 -47
  174. package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
  175. package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
  176. package/dist/types/vue-ui-sparkline.d.ts +16 -61
  177. package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
  178. package/dist/types/vue-ui-stackbar.d.ts +36 -130
  179. package/dist/types/vue-ui-stackline.d.ts +29 -116
  180. package/dist/types/vue-ui-strip-plot.d.ts +22 -96
  181. package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
  182. package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
  183. package/dist/types/vue-ui-table.d.ts +9 -36
  184. package/dist/types/vue-ui-thermometer.d.ts +14 -68
  185. package/dist/types/vue-ui-timer.d.ts +10 -47
  186. package/dist/types/vue-ui-tiremarks.d.ts +14 -68
  187. package/dist/types/vue-ui-treemap.d.ts +26 -105
  188. package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
  189. package/dist/types/vue-ui-waffle.d.ts +23 -99
  190. package/dist/types/vue-ui-wheel.d.ts +14 -68
  191. package/dist/types/vue-ui-word-cloud.d.ts +20 -95
  192. package/dist/types/vue-ui-world.d.ts +22 -96
  193. package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
  194. package/dist/types/vue-ui-xy.d.ts +42 -146
  195. package/dist/unpackTheme-CNsFKCeq.js +1 -0
  196. package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
  197. package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
  198. package/dist/useChartExport-DtPNpc9M.js +1 -0
  199. package/dist/useConfig-CKdzPrcf.js +1 -0
  200. package/dist/useFitSvgText-C1QC4P5G.js +1 -0
  201. package/dist/useHints-BH9r_0Vd.js +6 -0
  202. package/dist/useNestedProp-CT9phgWx.js +1 -0
  203. package/dist/useObjectBindings-DM3xDKV3.js +1 -0
  204. package/dist/usePanZoom-BdjP5Suc.js +1 -0
  205. package/dist/usePrefersMotion-XLHwega2.js +1 -0
  206. package/dist/usePrinter-CnyKPIFM.js +1 -0
  207. package/dist/useResponsive-D2CPcpda.js +1 -0
  208. package/dist/useStableElementSize-CegFbRlF.js +1 -0
  209. package/dist/useTableResponsive-uSz_qZOB.js +1 -0
  210. package/dist/useThemeCheck-BKNRbGeC.js +1 -0
  211. package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
  212. package/dist/useTimeLabels-Das5O74F.js +1 -0
  213. package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
  214. package/dist/useTransitions-DfSHzsdz.js +1 -0
  215. package/dist/useUserOptionState-CXlFnwPv.js +1 -0
  216. package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
  217. package/dist/utils.js +1 -30
  218. package/dist/vClickOutside-BxNzkY17.js +1 -0
  219. package/dist/vue-data-ui-BG41UScx.js +1 -0
  220. package/dist/vue-data-ui.js +1 -79
  221. package/dist/vue-ui-3d-bar-DiaiNy-k.js +19 -0
  222. package/dist/vue-ui-accordion-Dy5OVFKr.js +1 -0
  223. package/dist/vue-ui-age-pyramid-OeUr1yxi.js +1 -0
  224. package/dist/vue-ui-annotator-DA_xAFql.js +331 -0
  225. package/dist/vue-ui-bullet-B9lcCTVb.js +34 -0
  226. package/dist/vue-ui-bump-DYajIrva.js +10 -0
  227. package/dist/vue-ui-candlestick-CdAZuNxo.js +22 -0
  228. package/dist/vue-ui-carousel-table-ihGH0LDH.js +1 -0
  229. package/dist/vue-ui-chestnut-B2aNXFNO.js +1 -0
  230. package/dist/vue-ui-chord-fAckHfOW.js +21 -0
  231. package/dist/vue-ui-circle-pack-BWHVImkS.js +13 -0
  232. package/dist/vue-ui-cursor-DdXKXmhr.js +1 -0
  233. package/dist/vue-ui-dag-a0fNoIcJ.js +9 -0
  234. package/dist/vue-ui-dashboard-DkdYMB7n.js +1 -0
  235. package/dist/vue-ui-digits-CL9SuIEI.js +42 -0
  236. package/dist/vue-ui-donut-BaEodt-3.js +22 -0
  237. package/dist/vue-ui-donut-DaYxdQmP.js +47 -0
  238. package/dist/vue-ui-donut-evolution-T8cRXKRQ.js +2 -0
  239. package/dist/vue-ui-dumbbell-B6HJxEZp.js +9 -0
  240. package/dist/vue-ui-flow-BlTCVFr3.js +3 -0
  241. package/dist/vue-ui-funnel-WgLFJadZ.js +1 -0
  242. package/dist/vue-ui-galaxy-B3nuI6E8.js +1 -0
  243. package/dist/vue-ui-gauge-BwTP65O4.js +1 -0
  244. package/dist/vue-ui-geo-CX3yH18H.js +1 -0
  245. package/dist/vue-ui-gizmo-CNHcBsku.js +1 -0
  246. package/dist/vue-ui-heatmap-CTdeoar7.js +1 -0
  247. package/dist/vue-ui-hill-DR5k8GWZ.js +1 -0
  248. package/dist/vue-ui-history-plot-C-9uH-Uj.js +2 -0
  249. package/dist/vue-ui-horizontal-bar-qqF7pL7U.js +4 -0
  250. package/dist/vue-ui-kpi-DVcLXGqG.js +1 -0
  251. package/dist/vue-ui-label-D1Aog-zO.js +7 -0
  252. package/dist/vue-ui-mini-loader-CX0Dx9tT.js +1 -0
  253. package/dist/vue-ui-molecule-B13qVX71.js +1 -0
  254. package/dist/vue-ui-mood-radar-C1BtB8lg.js +1 -0
  255. package/dist/vue-ui-nested-donuts-B90yrlJG.js +19 -0
  256. package/dist/vue-ui-onion-UMVO2DE_.js +5 -0
  257. package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.js +9 -0
  258. package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
  259. package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
  260. package/dist/vue-ui-quadrant-CPG6yAiu.js +2 -0
  261. package/dist/vue-ui-quick-chart-BTPb-Iz8.js +17 -0
  262. package/dist/vue-ui-radar-Hd-pE9ih.js +1 -0
  263. package/dist/vue-ui-rating-C_YxQYa_.js +1 -0
  264. package/dist/vue-ui-relation-circle-CHYG7ZJl.js +1 -0
  265. package/dist/vue-ui-ridgeline-DS1Gvljt.js +2 -0
  266. package/dist/vue-ui-rings-B-Hb13Uu.js +1 -0
  267. package/dist/vue-ui-scatter-BTgvOmuo.js +9 -0
  268. package/dist/vue-ui-skeleton-B-Acw3CC.js +41 -0
  269. package/dist/vue-ui-smiley-Ciwqt6ek.js +1 -0
  270. package/dist/vue-ui-spark-trend-CYqy6c0S.js +1 -0
  271. package/dist/vue-ui-sparkbar-CTXIgjmP.js +1 -0
  272. package/dist/vue-ui-sparkgauge-CObOL6s2.js +1 -0
  273. package/dist/vue-ui-sparkhistogram-ClFyDez-.js +1 -0
  274. package/dist/vue-ui-sparkline-DP_nYlW8.js +1 -0
  275. package/dist/vue-ui-sparkstackbar-B2f0ePMg.js +1 -0
  276. package/dist/vue-ui-stackbar-nMWHZ-f0.js +29 -0
  277. package/dist/vue-ui-stackline-B95y6Zc5.js +39 -0
  278. package/dist/vue-ui-strip-plot-gFNC4r-X.js +2 -0
  279. package/dist/vue-ui-table-Br2JgD_L.js +14 -0
  280. package/dist/vue-ui-table-heatmap-Btu2ejF4.js +1 -0
  281. package/dist/vue-ui-table-sparkline-B9mYHAxp.js +1 -0
  282. package/dist/vue-ui-thermometer-C6u1eLfo.js +1 -0
  283. package/dist/vue-ui-timer-DLgsfB1U.js +64 -0
  284. package/dist/vue-ui-tiremarks-8B9uE1Bx.js +1 -0
  285. package/dist/vue-ui-treemap-C4Mot-Os.js +1 -0
  286. package/dist/vue-ui-waffle-BwcwNpf7.js +1 -0
  287. package/dist/vue-ui-wheel-B3OGCXg7.js +1 -0
  288. package/dist/vue-ui-word-cloud-BPIyMBXq.js +4 -0
  289. package/dist/vue-ui-world-Cp0DeauH.js +19 -0
  290. package/dist/vue-ui-xy-BOE1jvUS.js +31 -0
  291. package/dist/vue-ui-xy-DSyKSn4L.js +24 -0
  292. package/dist/vue-ui-xy-canvas-CaxxiKSa.js +9 -0
  293. package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
  294. package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
  295. package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
  296. package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
  297. package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
  298. package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
  299. package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
  300. package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
  301. package/dist/vue_ui_dag-1b_dLSym.js +1 -0
  302. package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
  303. package/dist/vue_ui_donut_evolution-nzVwNQYv.js +1 -0
  304. package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
  305. package/dist/vue_ui_flow-kvV56Es9.js +1 -0
  306. package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
  307. package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
  308. package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
  309. package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
  310. package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
  311. package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
  312. package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
  313. package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
  314. package/dist/vue_ui_label-dtPqyFsj.js +1 -0
  315. package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
  316. package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
  317. package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
  318. package/dist/vue_ui_onion-C9BedU_-.js +1 -0
  319. package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
  320. package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
  321. package/dist/vue_ui_quick_chart-Da1GwklM.js +1 -0
  322. package/dist/vue_ui_radar-68iK9Fam.js +1 -0
  323. package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
  324. package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
  325. package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
  326. package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
  327. package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
  328. package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
  329. package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
  330. package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
  331. package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
  332. package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
  333. package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
  334. package/dist/vue_ui_stackline-D7b63K84.js +1 -0
  335. package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
  336. package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
  337. package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
  338. package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
  339. package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
  340. package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
  341. package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
  342. package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
  343. package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
  344. package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
  345. package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
  346. package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
  347. package/package.json +2 -2
  348. package/dist/A11yDataTable-DdRsVULz.js +0 -45
  349. package/dist/Arrow-DKO1l8oR.js +0 -116
  350. package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
  351. package/dist/BaseIcon-Cx9FD751.js +0 -484
  352. package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
  353. package/dist/BaseScanner-Dzc8VT3j.js +0 -30
  354. package/dist/BaseZoomControls-vNi8YykO.js +0 -111
  355. package/dist/ColorPicker-hmC2bvwS.js +0 -257
  356. package/dist/DataTable-CjF_An2h.js +0 -150
  357. package/dist/DefGrad-DVBqDjhO.js +0 -48
  358. package/dist/HillActions-DqqGB33u.js +0 -187
  359. package/dist/Legend-CulFgjUY.js +0 -156
  360. package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
  361. package/dist/PackageVersion-D7H9nfK0.js +0 -12
  362. package/dist/PenAndPaper-CNiuGw6k.js +0 -906
  363. package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
  364. package/dist/RecursiveLabels-D9rfID6q.js +0 -56
  365. package/dist/RecursiveLinks-BygcpDiT.js +0 -78
  366. package/dist/Shape-DSwamtmO.js +0 -143
  367. package/dist/SlicerPreview-k5YerMA9.js +0 -1730
  368. package/dist/SparkTooltip-D35KVv6N.js +0 -93
  369. package/dist/Title-BMCuINbv.js +0 -87
  370. package/dist/Tooltip-C4ZTwkLF.js +0 -312
  371. package/dist/UserOptions-CORYQiif.js +0 -1412
  372. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  373. package/dist/dom-to-png-CBusMkua.js +0 -237
  374. package/dist/exposedLib-UNxZlnAS.js +0 -28
  375. package/dist/geoProjections-BYthUA8l.js +0 -302
  376. package/dist/img-Bb5rHcpO.js +0 -129
  377. package/dist/labelUtils-Ccn9kK7T.js +0 -19
  378. package/dist/lib-D4wK6ljP.js +0 -2146
  379. package/dist/package-DmQufM0G.js +0 -4
  380. package/dist/patternUtils-CS7hn6at.js +0 -258
  381. package/dist/pdf-BzIQHx-F.js +0 -90
  382. package/dist/render-common-BtfjXdkJ.js +0 -152
  383. package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
  384. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
  385. package/dist/useChartAccessibility-DYqac8yF.js +0 -12
  386. package/dist/useChartExport-iwOqiIWX.js +0 -803
  387. package/dist/useConfig-D_6ZrPMD.js +0 -8090
  388. package/dist/useFitSvgText-CXTzBplU.js +0 -65
  389. package/dist/useHints-Dq_w2E8B.js +0 -66
  390. package/dist/useNestedProp-DR_8JPol.js +0 -12
  391. package/dist/useObjectBindings-DvasYMGu.js +0 -191
  392. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  393. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  394. package/dist/usePrinter-DdW2GSm0.js +0 -49
  395. package/dist/useResponsive-ZtArZtUf.js +0 -97
  396. package/dist/useStableElementSize-C7KADDKj.js +0 -77
  397. package/dist/useTableResponsive-BAqJPR68.js +0 -25
  398. package/dist/useThemeCheck-C43Tcqmk.js +0 -24
  399. package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
  400. package/dist/useTimeLabels-d2f-W1L4.js +0 -270
  401. package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
  402. package/dist/useTransitions-g_zBREk2.js +0 -39
  403. package/dist/useUserOptionState-DK-_1ddE.js +0 -15
  404. package/dist/vClickOutside-DUrZWttG.js +0 -13
  405. package/dist/vue-data-ui-Df7WV80w.js +0 -191
  406. package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
  407. package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
  408. package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
  409. package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
  410. package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
  411. package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
  412. package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
  413. package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
  414. package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
  415. package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
  416. package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
  417. package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
  418. package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
  419. package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
  420. package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
  421. package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
  422. package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
  423. package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
  424. package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
  425. package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
  426. package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
  427. package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
  428. package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
  429. package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
  430. package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
  431. package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
  432. package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
  433. package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
  434. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
  435. package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
  436. package/dist/vue-ui-label-r3-QloJL.js +0 -1451
  437. package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
  438. package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
  439. package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
  440. package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
  441. package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
  442. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +0 -1444
  443. package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
  444. package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
  445. package/dist/vue-ui-quadrant-CDDFLRcX.js +0 -1979
  446. package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
  447. package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
  448. package/dist/vue-ui-rating-C_iTttXB.js +0 -359
  449. package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
  450. package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
  451. package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
  452. package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
  453. package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
  454. package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
  455. package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
  456. package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
  457. package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
  458. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
  459. package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
  460. package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
  461. package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
  462. package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
  463. package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
  464. package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
  465. package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
  466. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
  467. package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
  468. package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
  469. package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
  470. package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
  471. package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
  472. package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
  473. package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
  474. package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
  475. package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
  476. package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
  477. package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
  478. package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
  479. package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
  480. package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
  481. package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
  482. package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
  483. package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
  484. package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
  485. package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
  486. package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
  487. package/dist/vue_ui_donut-BDGqG07h.js +0 -358
  488. package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
  489. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
  490. package/dist/vue_ui_flow-BewZjjKG.js +0 -238
  491. package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
  492. package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
  493. package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
  494. package/dist/vue_ui_geo-B8TODs-G.js +0 -248
  495. package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
  496. package/dist/vue_ui_hill-dnltu0L-.js +0 -368
  497. package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
  498. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
  499. package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
  500. package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
  501. package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
  502. package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
  503. package/dist/vue_ui_onion-1FTFFS46.js +0 -293
  504. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
  505. package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
  506. package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
  507. package/dist/vue_ui_radar-jafTED5j.js +0 -306
  508. package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
  509. package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
  510. package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
  511. package/dist/vue_ui_scatter-I0POnicu.js +0 -479
  512. package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
  513. package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
  514. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
  515. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
  516. package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
  517. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
  518. package/dist/vue_ui_stackbar-yQyvT4Su.js +0 -537
  519. package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
  520. package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
  521. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
  522. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
  523. package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
  524. package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
  525. package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
  526. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
  527. package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
  528. package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
  529. package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
  530. package/dist/vue_ui_xy-CcJADijP.js +0 -614
  531. package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
@@ -1,1831 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, Ft as r, Ht as i, It as a, Jt as o, Q as s, S as c, X as l, at as u, b as d, en as f, f as p, h as m, i as h, nn as ee, nt as te, p as ne, t as re, w as ie, yt as ae, zt as oe } from "./lib-D4wK6ljP.js";
3
- import { n as se } from "./useHints-Dq_w2E8B.js";
4
- import { t as ce } from "./useConfig-D_6ZrPMD.js";
5
- import { t as le } from "./usePrinter-DdW2GSm0.js";
6
- import { n as ue, t as de } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as fe } from "./useNestedProp-DR_8JPol.js";
8
- import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as me } from "./useChartExport-iwOqiIWX.js";
10
- import { t as he } from "./img-Bb5rHcpO.js";
11
- import { n as ge } from "./Title-BMCuINbv.js";
12
- import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
14
- import { t as g } from "./DefGrad-DVBqDjhO.js";
15
- import { t as be } from "./A11yDataTable-DdRsVULz.js";
16
- import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
17
- import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as Ce } from "./vue_ui_3d_bar-C4R7o-yX.js";
19
- import { Fragment as _, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as we, createTextVNode as Te, createVNode as C, defineAsyncComponent as w, guardReactiveProps as T, mergeProps as Ee, nextTick as De, normalizeClass as Oe, normalizeProps as E, normalizeStyle as D, onMounted as ke, openBlock as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as Ae, toDisplayString as M, toRefs as je, unref as N, watch as Me, withCtx as P, withKeys as Ne, withModifiers as Pe } from "vue";
20
- //#region src/components/vue-ui-3d-bar.vue
21
- var Fe = /* @__PURE__ */ e({ default: () => tn }), Ie = ["id"], Le = ["id"], Re = {
22
- "aria-live": "polite",
23
- class: "sr-only"
24
- }, ze = { style: { position: "relative" } }, Be = [
25
- "xmlns",
26
- "viewBox",
27
- "aria-describedby"
28
- ], Ve = ["width", "height"], He = { key: 1 }, Ue = [
29
- "x",
30
- "y",
31
- "font-size",
32
- "font-weight",
33
- "fill"
34
- ], We = ["x", "y"], Ge = [
35
- "cx",
36
- "cy",
37
- "stroke",
38
- "opacity"
39
- ], Ke = ["d", "stroke"], qe = ["d", "stroke"], Je = { key: 4 }, Ye = { key: 0 }, Xe = [
40
- "stroke-dasharray",
41
- "d",
42
- "stroke",
43
- "stroke-width"
44
- ], Ze = [
45
- "stroke-dasharray",
46
- "d",
47
- "stroke",
48
- "stroke-width"
49
- ], Qe = [
50
- "stroke-dasharray",
51
- "d",
52
- "stroke",
53
- "stroke-width"
54
- ], $e = [
55
- "stroke-dasharray",
56
- "d",
57
- "stroke",
58
- "stroke-width"
59
- ], et = { key: 1 }, tt = [
60
- "d",
61
- "stroke",
62
- "stroke-width",
63
- "fill"
64
- ], nt = [
65
- "d",
66
- "stroke",
67
- "stroke-width",
68
- "fill"
69
- ], rt = [
70
- "d",
71
- "stroke",
72
- "stroke-width",
73
- "fill"
74
- ], it = { key: 2 }, at = ["aria-label"], ot = [
75
- "d",
76
- "fill",
77
- "onMouseenter",
78
- "onClick",
79
- "onMouseout"
80
- ], st = [
81
- "d",
82
- "fill",
83
- "onMouseenter",
84
- "onClick",
85
- "onMouseout"
86
- ], ct = [
87
- "d",
88
- "fill",
89
- "onMouseenter",
90
- "onClick",
91
- "onMouseout"
92
- ], lt = [
93
- "d",
94
- "onMouseenter",
95
- "onClick",
96
- "onMouseout"
97
- ], ut = ["d"], dt = ["d", "stroke"], ft = ["onClick"], pt = ["stroke", "d"], mt = [
98
- "cx",
99
- "cy",
100
- "fill",
101
- "stroke"
102
- ], ht = [
103
- "x",
104
- "y",
105
- "width",
106
- "height"
107
- ], gt = [
108
- "x",
109
- "y",
110
- "width",
111
- "height"
112
- ], _t = { key: 3 }, vt = ["d", "stroke"], yt = [
113
- "d",
114
- "fill",
115
- "stroke"
116
- ], bt = { key: 0 }, xt = [
117
- "text-anchor",
118
- "x",
119
- "y",
120
- "fill",
121
- "font-size",
122
- "font-weight"
123
- ], St = [
124
- "text-anchor",
125
- "x",
126
- "y",
127
- "fill",
128
- "font-size",
129
- "font-weight"
130
- ], Ct = { key: 4 }, wt = [
131
- "d",
132
- "fill",
133
- "stroke"
134
- ], Tt = { key: 5 }, Et = { key: 0 }, Dt = [
135
- "stroke-dasharray",
136
- "d",
137
- "stroke",
138
- "stroke-width"
139
- ], Ot = [
140
- "stroke-dasharray",
141
- "d",
142
- "stroke",
143
- "stroke-width"
144
- ], kt = [
145
- "stroke-dasharray",
146
- "d",
147
- "stroke",
148
- "stroke-width"
149
- ], At = [
150
- "stroke-dasharray",
151
- "d",
152
- "stroke",
153
- "stroke-width"
154
- ], jt = [
155
- "d",
156
- "stroke",
157
- "stroke-width",
158
- "fill"
159
- ], Mt = [
160
- "d",
161
- "stroke",
162
- "stroke-width",
163
- "fill"
164
- ], Nt = ["d"], Pt = { key: 1 }, Ft = ["aria-label"], It = [
165
- "onMouseenter",
166
- "onClick",
167
- "onMouseout",
168
- "d",
169
- "fill"
170
- ], Lt = [
171
- "onMouseenter",
172
- "onClick",
173
- "onMouseout",
174
- "d"
175
- ], Rt = [
176
- "onMouseenter",
177
- "onClick",
178
- "onMouseout",
179
- "d",
180
- "fill"
181
- ], zt = ["onClick"], Bt = ["stroke", "d"], Vt = [
182
- "cx",
183
- "cy",
184
- "fill",
185
- "stroke"
186
- ], Ht = [
187
- "x",
188
- "y",
189
- "width",
190
- "height"
191
- ], Ut = [
192
- "x",
193
- "y",
194
- "width",
195
- "height"
196
- ], Wt = { key: 3 }, Gt = ["d", "stroke"], Kt = [
197
- "d",
198
- "fill",
199
- "stroke"
200
- ], qt = { key: 0 }, Jt = [
201
- "text-anchor",
202
- "x",
203
- "y",
204
- "fill",
205
- "font-size",
206
- "font-weight"
207
- ], Yt = [
208
- "text-anchor",
209
- "x",
210
- "y",
211
- "fill",
212
- "font-size",
213
- "font-weight"
214
- ], Xt = { key: 4 }, Zt = [
215
- "d",
216
- "fill",
217
- "stroke"
218
- ], Qt = {
219
- key: 4,
220
- class: "vue-data-ui-watermark"
221
- }, $t = { key: 0 }, en = { key: 1 }, tn = /*#__PURE__*/ _e({
222
- __name: "vue-ui-3d-bar",
223
- props: {
224
- config: {
225
- type: Object,
226
- default() {
227
- return {};
228
- }
229
- },
230
- dataset: {
231
- type: Object,
232
- default() {
233
- return {};
234
- }
235
- }
236
- },
237
- emits: ["selectDatapoint", "copyAlt"],
238
- setup(e, { expose: _e, emit: Fe }) {
239
- let tn = w(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), nn = w(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), rn = w(() => import("./DataTable-CjF_An2h.js")), an = w(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), on = w(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), sn = w(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), cn = w(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_3d_bar: ln } = ce(), { isThemeValid: un, warnInvalidTheme: dn } = pe(), F = e, fn = Fe, pn = v(() => !!F.dataset && Object.keys(F.dataset).length), I = k(l()), L = k(null), R = k(!1), mn = k(0), hn = k(0), gn = k(null), _n = k(null), vn = k(null), yn = k(null), z = k(!1), bn = k(null), xn = k(null), B = k(null), V = k(""), H = k(An()), Sn = v(() => H.value.style), U = v(() => H.value.style.chart), W = v(() => H.value.userOptions);
240
- se({
241
- config: () => H.value,
242
- dataset: () => F.dataset,
243
- component: "VueUi3dBar",
244
- rules: [{
245
- test: (e) => e?.series && e.series.length > 8,
246
- message: [
247
- "👀 The number of series is > 8. Consider:",
248
- "",
249
- "▶️ Grouping small values dynamically into a single \"Other\" series.",
250
- "",
251
- "▶️ Using filters to let users choose a maximum number of series to display.",
252
- "",
253
- "▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
254
- ]
255
- }, {
256
- test: (e) => e?.series && e.series.some((e) => e?.breakdown && e.breakdown.length > 6),
257
- message: [
258
- "👀 Some donut breakdowns have > 6 data points. Consider:",
259
- "",
260
- "▶️ Grouping small values dynamically into a single \"Other\" data point."
261
- ]
262
- }]
263
- });
264
- let Cn = v(() => H.value.userOptions.useCursorPointer), wn = v(() => ee({
265
- defaultConfig: {
266
- customPalette: [
267
- "#808080",
268
- "#ADADAD",
269
- "#DBDBDB"
270
- ],
271
- userOptions: { show: !1 },
272
- table: { show: !1 },
273
- style: { chart: {
274
- backgroundColor: "#99999930",
275
- color: "#6A6A6A",
276
- bar: {
277
- color: "#ADADAD",
278
- stroke: "#6A6A6A"
279
- },
280
- box: { stroke: "#6A6A6A" }
281
- } }
282
- },
283
- userConfig: H.value.skeletonConfig ?? {}
284
- })), { loading: Tn, FINAL_DATASET: G } = ue({
285
- ...je(F),
286
- FINAL_CONFIG: H,
287
- prepareConfig: An,
288
- callback: () => {
289
- Promise.resolve().then(async () => {
290
- await De(), zn();
291
- });
292
- },
293
- skeletonDataset: F.config?.skeletonDataset ?? { series: [
294
- {
295
- name: "_",
296
- value: 21,
297
- breakdown: [{
298
- name: "_",
299
- value: 13
300
- }, {
301
- name: "_",
302
- value: 8
303
- }]
304
- },
305
- {
306
- name: "_",
307
- value: 13,
308
- breakdown: [{
309
- name: "_",
310
- value: 8
311
- }, {
312
- name: "_",
313
- value: 5
314
- }]
315
- },
316
- {
317
- name: "_",
318
- value: 8,
319
- breakdown: [{
320
- name: "_",
321
- value: 5
322
- }, {
323
- name: "_",
324
- value: 3
325
- }]
326
- }
327
- ] },
328
- skeletonConfig: ee({
329
- defaultConfig: H.value,
330
- userConfig: wn.value
331
- })
332
- }), { userOptionsVisible: En, setUserOptionsVisibility: Dn, keepUserOptionState: On } = xe({ config: H.value }), { svgRef: kn } = Se({ config: H.value.style.chart.title });
333
- function An() {
334
- let e = fe({
335
- userConfig: F.config,
336
- defaultConfig: ln
337
- }), t = e.theme;
338
- if (!t) return e;
339
- if (!un.value(e)) return dn(e), e;
340
- let n = fe({
341
- userConfig: Ce[t] || F.config,
342
- defaultConfig: e
343
- }), r = fe({
344
- userConfig: F.config,
345
- defaultConfig: n
346
- });
347
- return {
348
- ...r,
349
- customPalette: r.customPalette.length ? r.customPalette : f[t] || i
350
- };
351
- }
352
- Me(() => F.config, (e) => {
353
- Tn.value || (H.value = An()), En.value = !H.value.userOptions.showOnChartHover, Hn(), mn.value += 1, hn.value += 1, K.value.showTable = H.value.table.show;
354
- }, { deep: !0 });
355
- let { isPrinting: jn, isImaging: Mn, generatePdf: Nn, generateImage: Pn } = le({
356
- elementId: `3d_bar_${I.value}`,
357
- fileName: U.value.title.text || "vue-ui-3d-bar",
358
- options: H.value.userOptions.print
359
- }), Fn = v(() => ie(H.value.customPalette)), K = k({ showTable: H.value.table.show });
360
- Me(H, () => {
361
- K.value = { showTable: H.value.table.show };
362
- }, { immediate: !0 });
363
- let q = v(() => G.value.series && G.value.series.length), In = k(U.value.box.dimensions.width * (q.value ? 2 : 1)), Ln = k(U.value.box.dimensions.height), J = v(() => ({
364
- height: Ln.value,
365
- width: In.value,
366
- absoluteWidth: In.value,
367
- top: U.value.box.dimensions.top,
368
- bottom: U.value.box.dimensions.bottom,
369
- left: U.value.box.dimensions.left,
370
- right: U.value.box.dimensions.right,
371
- perspective: U.value.box.dimensions.perspective
372
- })), Y = v(() => {
373
- if (q.value) {
374
- let e = G.value.series.map((e) => e.value || 0).reduce((e, t) => e + t, 0), t = G.value.series.map((t, n) => ({
375
- ...t,
376
- seriesIndex: n,
377
- id: l(),
378
- proportion: (t.value || 0) / e,
379
- color: c(t.color) || Fn.value[n] || i[n] || i[n % i.length],
380
- breakdown: t.breakdown ? t.breakdown.sort((e, t) => t.value - e.value) : null
381
- })).sort((e, t) => t.value - e.value), n = [], r = 0;
382
- for (let e = 0; e < t.length; e += 1) n.push({
383
- ...t[e],
384
- fill: Wn(r, t[e].proportion, t[e].breakdown, t[e].color)
385
- }), r += t[e].proportion;
386
- return n;
387
- }
388
- return null;
389
- }), X = v(() => {
390
- let e = J.value.width / 2, t = J.value;
391
- return {
392
- right: `M${e},${t.top} ${t.width - t.right}, ${t.top + t.perspective} ${t.width - t.right},${t.height - t.bottom - t.perspective} ${e},${t.height - t.bottom}`,
393
- left: `M${e},${t.top} ${t.left},${t.top + t.perspective} ${t.left},${t.height - t.bottom - t.perspective} ${e},${t.height - t.bottom}`,
394
- side: `M${e},${t.height - t.bottom} ${e},${t.top + t.perspective * 2}`,
395
- topSides: `M${t.left},${t.top + t.perspective} ${e},${t.top + t.perspective * 2} ${t.width - t.right},${t.top + t.perspective}`,
396
- tubeTop: `M${t.left},${t.top + t.perspective} C ${t.left},${t.top - t.perspective / 3} ${t.width - t.right},${t.top - t.perspective / 3} ${t.width - t.right},${t.top + t.perspective} C ${t.width - t.right},${t.top + t.perspective * 2.3} ${t.left},${t.top + t.perspective * 2.3} ${t.left},${t.top + t.perspective}`,
397
- tubeLeft: `M${t.left},${t.top + t.perspective} ${t.left},${t.height - t.bottom - t.perspective}`,
398
- tubeRight: `M${t.width - t.right},${t.top + t.perspective} ${t.width - t.right},${t.height - t.bottom - t.perspective}`,
399
- tubeBottom: `M${t.width - t.right},${t.height - t.bottom - t.perspective} C ${t.width - t.right},${t.height} ${t.left},${t.height} ${t.left},${t.height - t.bottom - t.perspective}`
400
- };
401
- }), Rn = k(U.value.animation.use ? 0 : G.value.percentage);
402
- function zn() {
403
- let e = 0, t = U.value.animation.speed, n = .005 * U.value.animation.acceleration;
404
- function r() {
405
- Rn.value += t + e, e += n, Rn.value < G.value.percentage ? requestAnimationFrame(r) : Rn.value = G.value.percentage;
406
- }
407
- U.value.animation.use && (Rn.value = 0, r());
408
- }
409
- ke(() => {
410
- Hn(), zn();
411
- });
412
- let Bn = v(() => H.value.debug);
413
- function Vn() {
414
- Bn.value && (oe(F.dataset) ? u({
415
- componentName: "VueUi3dBar",
416
- type: "dataset",
417
- debug: Bn.value
418
- }) : F.dataset.series ? F.dataset.series.forEach((e, t) => {
419
- ae({
420
- datasetObject: e,
421
- requiredAttributes: ["name", "value"]
422
- }).forEach((e) => {
423
- u({
424
- componentName: "VueUi3dBar",
425
- type: "datasetSerieAttribute",
426
- property: e,
427
- index: t,
428
- debug: Bn.value
429
- });
430
- }), e.breakdown && e.breakdown.forEach((e, n) => {
431
- ae({
432
- datasetObject: e,
433
- requiredAttributes: ["name", "value"]
434
- }).forEach((e) => {
435
- u({
436
- componentName: "VueUi3dBar",
437
- type: "datasetSerieAttribute",
438
- property: e,
439
- index: `${t} - ${n}`,
440
- debug: Bn.value
441
- });
442
- });
443
- });
444
- }) : ae({
445
- datasetObject: F.dataset,
446
- requiredAttributes: ["percentage"]
447
- }).forEach((e) => {
448
- u({
449
- componentName: "VueUi3dBar",
450
- type: "datasetAttribute",
451
- property: e,
452
- debug: Bn.value
453
- });
454
- }));
455
- }
456
- function Hn() {
457
- if (Vn(), H.value.responsive) {
458
- let e = ve(() => {
459
- let { width: e, height: t } = ye({
460
- chart: L.value,
461
- title: U.value.title.text ? gn.value : null,
462
- source: yn.value
463
- });
464
- requestAnimationFrame(() => {
465
- Ln.value = t - 12, In.value = e;
466
- });
467
- });
468
- _n.value && (vn.value && _n.value.unobserve(vn.value), _n.value.disconnect()), _n.value = new ResizeObserver(e), vn.value = L.value.parentNode, _n.value.observe(vn.value);
469
- }
470
- }
471
- let Un = v(() => J.value.width / 4);
472
- function Wn(e, t, n, i) {
473
- let o = J.value.height - J.value.bottom - J.value.top - J.value.perspective * 2, { width: s, height: c, bottom: l, right: u, left: d, perspective: f } = J.value, p = q.value ? s / 4 : s / 2, m = p * 2 + d, h = l + o * e, ee = c - h - f - o * t / 2, te = ee > J.value.height / 2 ? "top" : "bottom", ne = c * .25, re = !!n, ie = null, ae = null;
474
- return re && (n = n.map((e, t) => ({
475
- ...e,
476
- value: e.value || 0,
477
- color: r(i, t / n.length)
478
- })), ie = a({ series: n }, s / 2 + s / 5, te === "top" ? ee - ne : ee + ne, s / 10, s / 10, 1.99999, 2, 1, 360, 105.25, s / 20), ae = a({ series: n }, s - m + s / 14, c - h - f - o * t / 2, s / 40, s / 40, 1.99999, 2, 1, 360, 105.25, s / 40)), {
479
- donut: ie,
480
- miniDonut: ae,
481
- donutR: s / 20,
482
- CENTER_X: p,
483
- sidePointer: {
484
- x: s - m,
485
- x2: s - m + s / 14,
486
- xText: s - m + s / 9,
487
- y: c - h - f - o * t / 2,
488
- topY: c - h - f - o * t,
489
- height: o * t
490
- },
491
- apexBottom: {
492
- y: c - h,
493
- x: p
494
- },
495
- apexTop: {
496
- y: c - h - o * t,
497
- x: p
498
- },
499
- right: `M${p},${c - h} ${p},${c - h - o * t} ${s - m},${c - h - f - o * t} ${s - m},${c - h - f}Z`,
500
- left: `M${p},${c - h} ${p},${c - h - o * t} ${d}, ${c - h - f - o * t} ${d},${c - h - f}Z`,
501
- liningTop: `M${d},${c - h - f - o * t} ${p},${c - h - o * t} ${s - m},${c - h - f - o * t}`,
502
- liningTopShade: `M${d},${c - h - f - o * t - .5} ${p},${c - h - o * t - .5} ${s - m},${c - h - f - o * t - .5}`,
503
- top: `M${p},${c - h - o * t} ${d},${c - h - f - o * t} ${p},${c - h - f * 2 - o * t} ${s - m},${c - h - f - o * t} Z`,
504
- tubeTop: `M${d},${c - h - o * t - f} C ${d},${c - h - o * t - f * 2.5} ${s - m},${c - h - o * t - f * 2.5} ${s - m},${c - h - o * t - f} C ${s - m},${c - h - o * t + f / 2} ${d},${c - h - o * t + f / 2} ${d},${c - h - o * t - f}`,
505
- bottomTubeTop: `M ${s - m - .5},${c - h - f} C ${s - m - .5},${c - h + f / 2} ${d},${c - h + f / 2} ${d + .5},${c - h - f}`,
506
- tubeBody: `M
507
- ${d},${c - h - o * t - f}
508
- C ${d},${c - h - o * t + f / 2}
509
- ${s - m},${c - h - o * t + f / 2}
510
- ${s - m},${c - h - o * t - f}
511
- L${s - m},${c - h - f}
512
- C
513
- ${s - m},${c - h + f / 2}
514
- ${d},${c - h + f / 2}
515
- ${d},${c - h - f}Z`
516
- };
517
- }
518
- let Gn = v(() => {
519
- let e = d(Rn.value / 100), t = J.value.height - J.value.bottom - J.value.top - J.value.perspective * 2, { width: n, height: r, bottom: i, right: a, left: o, perspective: s } = J.value, c = q.value ? n / 4 : n / 2, l = q.value ? c * 2 + o : a, u = i + t * 0;
520
- return {
521
- right: `M${c},${r - u} ${c},${r - u - t * e} ${n - l},${r - u - s - t * e} ${n - l},${r - u - s}Z`,
522
- left: `M${c},${r - u} ${c},${r - u - t * e} ${o}, ${r - u - s - t * e} ${o},${r - u - s}Z`,
523
- top: `M${c},${r - u - t * e} ${o},${r - u - s - t * e} ${c},${r - u - s * 2 - t * e} ${n - l},${r - u - s - t * e} Z`,
524
- tubeTop: `M${o},${r - u - t * e - s} C ${o},${r - u - t * e - s * 2.5} ${n - l},${r - u - t * e - s * 2.5} ${n - l},${r - u - t * e - s} C ${n - l},${r - u - t * e + s / 2} ${o},${r - u - t * e + s / 2} ${o},${r - u - t * e - s}`,
525
- tubeBody: `M
526
- ${o},${r - u - t * e - s}
527
- C ${o},${r - u - t * e + s / 2}
528
- ${n - l},${r - u - t * e + s / 2}
529
- ${n - l},${r - u - t * e - s}
530
- L${n - l},${r - s * 1.5}
531
- C
532
- ${n - l},${r}
533
- ${o},${r}
534
- ${o},${r - u - s}Z`
535
- };
536
- }), Z = k(null);
537
- function Q(e, t = !1) {
538
- H.value.events.datapointEnter && !t && H.value.events.datapointEnter({
539
- datapoint: e,
540
- seriesIndex: e.seriesIndex
541
- }), H.value.events.datapointClick && t && H.value.events.datapointClick({
542
- datapoint: e,
543
- seriesIndex: e.seriesIndex
544
- }), fn("selectDatapoint", e);
545
- let n = Y.value?.findIndex((t) => t.id === e.id) ?? null;
546
- n !== null && n !== -1 && (B.value = n, V.value = mr(e)), t || (Z.value = e.id), t && R.value && (R.value = !1), t && !R.value && (R.value = !0);
547
- }
548
- function $(e) {
549
- H.value.events.datapointLeave && H.value.events.datapointLeave({
550
- datapoint: e,
551
- seriesIndex: e.seriesIndex
552
- }), !R.value && (Z.value = null, B.value = null, V.value = "");
553
- }
554
- function Kn(e, t, n = !1) {
555
- let r = G.value.series.map((e) => e.value || 0).reduce((e, t) => e + t, 0), i = isNaN(e.value / r) ? 0 : e.value / r * 100, a = isNaN(e.value / qn(t)) ? 0 : e.value / qn(t) * 100;
556
- return n ? a : i.toFixed(0) + "%";
557
- }
558
- function qn(e) {
559
- return [...e].map((e) => e.value).reduce((e, t) => e + t, 0);
560
- }
561
- let Jn = k(!1);
562
- function Yn(e) {
563
- Jn.value = e;
564
- }
565
- function Xn() {
566
- return q.value ? Y.value : G.value.percentage;
567
- }
568
- let Zn = v(() => q.value ? {
569
- head: Y.value.flatMap((e) => e.breakdown && e.breakdown.length ? [{
570
- name: e.name,
571
- color: e.color
572
- }, ...e.breakdown.map((t, n) => ({
573
- name: t.name,
574
- color: r(e.color, n / e.breakdown.length)
575
- }))] : {
576
- name: e.name,
577
- color: e.color
578
- }),
579
- body: Y.value.flatMap((e) => e.breakdown && e.breakdown.length ? [e.value, ...e.breakdown.map((e) => e.value)] : e.value)
580
- } : null);
581
- function Qn(e = null) {
582
- if (!q.value) {
583
- console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
584
- return;
585
- }
586
- De(() => {
587
- let t = Y.value.map((e) => e.value).reduce((e, t) => e + t, 0), r = Zn.value.head.map((e, n) => [
588
- [e.name],
589
- [Zn.value.body[n]],
590
- [isNaN(Zn.value.body[n] / t) ? "-" : Zn.value.body[n] / t * 100]
591
- ]), i = [
592
- [U.value.title.text],
593
- [U.value.title.subtitle.text],
594
- [
595
- [""],
596
- ["val"],
597
- ["%"]
598
- ]
599
- ].concat(r), a = n(i);
600
- e ? e(a) : te({
601
- csvContent: a,
602
- title: U.value.title.text || "vue-ui-3d-bar"
603
- });
604
- });
605
- }
606
- let $n = v(() => {
607
- if (!q.value || !Array.isArray(Y.value) || !Y.value.length) return {
608
- colNames: [],
609
- head: [],
610
- body: [],
611
- a11yBody: [],
612
- config: {
613
- th: {
614
- backgroundColor: H.value.table.th.backgroundColor,
615
- color: H.value.table.th.color,
616
- outline: H.value.table.th.outline
617
- },
618
- td: {
619
- backgroundColor: H.value.table.td.backgroundColor,
620
- color: H.value.table.td.color,
621
- outline: H.value.table.td.outline
622
- },
623
- breakpoint: H.value.table.responsiveBreakpoint,
624
- shape: H.value.style.shape === "tube" ? "circle" : "square"
625
- }
626
- };
627
- let e = Y.value.reduce((e, t) => e + t.value, 0), n = [
628
- "__SUM__",
629
- t({
630
- p: U.value.legend.prefix,
631
- v: e,
632
- s: U.value.legend.suffix,
633
- r: H.value.table.td.roundingValue
634
- }),
635
- "100%"
636
- ], r = Zn.value.head.map((n, r) => {
637
- let i = Zn.value.body[r];
638
- return [
639
- {
640
- color: n.color,
641
- name: n.name
642
- },
643
- t({
644
- p: U.value.legend.prefix,
645
- v: i,
646
- s: U.value.legend.suffix,
647
- r: H.value.table.td.roundingValue
648
- }),
649
- isNaN(i / e) ? "-" : t({
650
- v: i / e * 100,
651
- s: "%",
652
- r: H.value.table.td.roundingPercentage
653
- })
654
- ];
655
- }), i = r.map((e) => e.map((e, t) => t === 0 ? e.name : e));
656
- return {
657
- colNames: [
658
- H.value.table.columnNames.series,
659
- H.value.table.columnNames.value,
660
- H.value.table.columnNames.percentage
661
- ],
662
- head: n,
663
- body: r,
664
- a11yBody: i,
665
- config: {
666
- th: {
667
- backgroundColor: H.value.table.th.backgroundColor,
668
- color: H.value.table.th.color,
669
- outline: H.value.table.th.outline
670
- },
671
- td: {
672
- backgroundColor: H.value.table.td.backgroundColor,
673
- color: H.value.table.td.color,
674
- outline: H.value.table.td.outline
675
- },
676
- breakpoint: H.value.table.responsiveBreakpoint,
677
- shape: H.value.style.shape === "tube" ? "circle" : "square"
678
- }
679
- };
680
- });
681
- function er() {
682
- K.value.showTable = !K.value.showTable;
683
- }
684
- let tr = k(!1);
685
- function nr() {
686
- tr.value = !tr.value;
687
- }
688
- async function rr({ scale: e = 2 } = {}) {
689
- if (!L.value) return;
690
- let { width: t, height: n } = L.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
691
- domElement: L.value,
692
- base64: !0,
693
- img: !0,
694
- scale: e
695
- });
696
- return {
697
- imageUri: i,
698
- base64: a,
699
- title: U.value.title.text,
700
- width: t,
701
- height: n,
702
- aspectRatio: r
703
- };
704
- }
705
- let ir = v(() => {
706
- let e = H.value.table.useDialog && !H.value.table.show, t = K.value.showTable;
707
- return {
708
- component: e ? cn : nn,
709
- title: `${U.value.title.text}${U.value.title.subtitle.text ? `: ${U.value.title.subtitle.text}` : ""}`,
710
- props: e ? {
711
- backgroundColor: H.value.table.th.backgroundColor,
712
- color: H.value.table.th.color,
713
- headerColor: H.value.table.th.color,
714
- headerBg: H.value.table.th.backgroundColor,
715
- isFullscreen: Jn.value,
716
- fullscreenParent: L.value,
717
- forcedWidth: Math.min(800, window.innerWidth * .8)
718
- } : {
719
- hideDetails: !0,
720
- config: {
721
- open: t,
722
- maxHeight: 1e4,
723
- body: {
724
- backgroundColor: U.value.backgroundColor,
725
- color: U.value.color
726
- },
727
- head: {
728
- backgroundColor: U.value.backgroundColor,
729
- color: U.value.color
730
- }
731
- }
732
- }
733
- };
734
- });
735
- Me(() => K.value.showTable, (e) => {
736
- H.value.table.show || (e && H.value.table.useDialog && bn.value ? bn.value.open() : "close" in bn.value && bn.value.close());
737
- });
738
- function ar() {
739
- K.value.showTable = !1, xn.value && xn.value.setTableIconState(!1);
740
- }
741
- let or = v(() => H.value.style.chart.backgroundColor), sr = v(() => H.value.style.chart.title), { isCallbackImaging: cr, isCallbackSvg: lr, generateSvg: ur, onGenerateImage: dr } = me({
742
- svg: kn,
743
- title: sr,
744
- legend: null,
745
- legendItems: null,
746
- backgroundColor: or,
747
- getSvgCallback: () => H.value.userOptions.callbacks.svg,
748
- generateImage: Pn
749
- });
750
- async function fr() {
751
- if (fn("copyAlt", {
752
- config: H.value,
753
- dataset: G.value
754
- }), !H.value.userOptions.callbacks.altCopy) {
755
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
756
- return;
757
- }
758
- await Promise.resolve(H.value.userOptions.callbacks.altCopy({
759
- config: H.value,
760
- dataset: G.value
761
- }));
762
- }
763
- function pr() {
764
- B.value = null, V.value = "", R.value = !1, Z.value = null;
765
- }
766
- function mr(e) {
767
- if (!e) return "";
768
- let n = t({
769
- p: U.value.legend.prefix,
770
- v: e.value,
771
- s: U.value.legend.suffix,
772
- r: U.value.legend.roundingValue
773
- }), r = t({
774
- v: e.proportion * 100,
775
- s: "%",
776
- r: U.value.legend.roundingPercentage
777
- });
778
- return `${e.name}: ${n}, ${r}`;
779
- }
780
- function hr(e) {
781
- if (!q.value || !Y.value?.length) return;
782
- let t = Y.value[e];
783
- t && (B.value = e, Z.value = t.id, V.value = mr(t));
784
- }
785
- function gr() {
786
- z.value = !0, q.value && Y.value?.length && B.value === null && hr(0);
787
- }
788
- function _r() {
789
- z.value = !1, R.value || (B.value = null, Z.value = null, V.value = "");
790
- }
791
- function vr(e) {
792
- if (!q.value || !Y.value?.length || !kn.value || document.activeElement !== kn.value) return;
793
- let t = ["ArrowLeft", "ArrowDown"].includes(e.key), n = ["ArrowRight", "ArrowUp"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
794
- if (!t && !n && !r && !i) return;
795
- if (e.preventDefault(), e.stopPropagation(), i) {
796
- pr();
797
- return;
798
- }
799
- if (r) {
800
- if (B.value === null) return;
801
- let e = Y.value[B.value];
802
- if (!e) return;
803
- Q(e, !0), V.value = `${mr(e)} selected`;
804
- return;
805
- }
806
- let a = B.value;
807
- a === null || a < 0 || a >= Y.value.length ? a = n ? 0 : Y.value.length - 1 : n ? (a += 1, a >= Y.value.length && (a = 0)) : t && (--a, a < 0 && (a = Y.value.length - 1)), hr(a);
808
- }
809
- let yr = v(() => ({
810
- headers: $n.value?.colNames ?? [],
811
- rows: $n.value?.a11yBody ?? []
812
- }));
813
- return _e({
814
- getImage: rr,
815
- generateCsv: Qn,
816
- generatePdf: Nn,
817
- generateImage: Pn,
818
- generateSvg: ur,
819
- getData: Xn,
820
- toggleTable: er,
821
- toggleAnnotator: nr,
822
- toggleFullscreen: Yn,
823
- copyAlt: fr
824
- }), (e, n) => (O(), x("div", {
825
- ref_key: "bar3dChart",
826
- ref: L,
827
- class: Oe("vue-data-ui-component vue-ui-3d-bar"),
828
- style: D(`font-family:${Sn.value.fontFamily};width:100%; text-align:center;background:${U.value.backgroundColor}`),
829
- id: `3d_bar_${I.value}`,
830
- onMouseenter: n[8] ||= () => N(Dn)(!0),
831
- onMouseleave: n[9] ||= () => N(Dn)(!1)
832
- }, [
833
- S("div", {
834
- id: `chart-instructions-${I.value}`,
835
- class: "sr-only"
836
- }, [S("p", null, M(H.value.a11y.translations.keyboardNavigation), 1)], 8, Le),
837
- S("div", Re, M(V.value), 1),
838
- yr.value?.rows?.length ? (O(), y(be, {
839
- key: 0,
840
- uid: I.value,
841
- head: yr.value.headers,
842
- body: yr.value.rows,
843
- notice: H.value.a11y.translations.tableAvailable,
844
- caption: H.value.a11y.translations.tableCaption
845
- }, null, 8, [
846
- "uid",
847
- "head",
848
- "body",
849
- "notice",
850
- "caption"
851
- ])) : b("", !0),
852
- W.value.buttons.annotator ? (O(), y(N(an), {
853
- key: 1,
854
- svgRef: N(kn),
855
- backgroundColor: U.value.backgroundColor,
856
- color: U.value.color,
857
- active: tr.value,
858
- isCursorPointer: Cn.value,
859
- palette: W.value.annotatorPalette,
860
- onClose: nr
861
- }, {
862
- "annotator-action-close": P(() => [j(e.$slots, "annotator-action-close", {}, void 0, !0)]),
863
- "annotator-action-color": P(({ color: t }) => [j(e.$slots, "annotator-action-color", E(T({ color: t })), void 0, !0)]),
864
- "annotator-action-draw": P(({ mode: t }) => [j(e.$slots, "annotator-action-draw", E(T({ mode: t })), void 0, !0)]),
865
- "annotator-action-undo": P(({ disabled: t }) => [j(e.$slots, "annotator-action-undo", E(T({ disabled: t })), void 0, !0)]),
866
- "annotator-action-redo": P(({ disabled: t }) => [j(e.$slots, "annotator-action-redo", E(T({ disabled: t })), void 0, !0)]),
867
- "annotator-action-delete": P(({ disabled: t }) => [j(e.$slots, "annotator-action-delete", E(T({ disabled: t })), void 0, !0)]),
868
- _: 3
869
- }, 8, [
870
- "svgRef",
871
- "backgroundColor",
872
- "color",
873
- "active",
874
- "isCursorPointer",
875
- "palette"
876
- ])) : b("", !0),
877
- U.value.title.text ? (O(), x("div", {
878
- key: 2,
879
- ref_key: "chartTitle",
880
- ref: gn,
881
- style: "width:100%;background:transparent"
882
- }, [(O(), y(ge, {
883
- key: `title_${mn.value}`,
884
- config: {
885
- title: {
886
- cy: "3dBar-div-title",
887
- ...U.value.title
888
- },
889
- subtitle: {
890
- cy: "3dBar-div-subtitle",
891
- ...U.value.title.subtitle
892
- }
893
- }
894
- }, null, 8, ["config"]))], 512)) : b("", !0),
895
- W.value.show && pn.value && (N(On) || N(En)) ? (O(), y(N(on), {
896
- key: 3,
897
- ref_key: "userOptionsRef",
898
- ref: xn,
899
- backgroundColor: U.value.backgroundColor,
900
- color: U.value.color,
901
- isPrinting: N(jn),
902
- isImaging: N(Mn),
903
- uid: I.value,
904
- hasPdf: W.value.buttons.pdf,
905
- hasTable: !!q.value && W.value.buttons.table,
906
- hasXls: !!q.value && W.value.buttons.csv,
907
- hasImg: W.value.buttons.img,
908
- hasSvg: W.value.buttons.svg,
909
- hasFullscreen: W.value.buttons.fullscreen,
910
- hasAltCopy: W.value.buttons.altCopy,
911
- titles: { ...W.value.buttonTitles },
912
- chartElement: L.value,
913
- position: W.value.position,
914
- hasAnnotator: W.value.buttons.annotator,
915
- isAnnotation: tr.value,
916
- callbacks: W.value.callbacks,
917
- printScale: W.value.print.scale,
918
- tableDialog: H.value.table.useDialog,
919
- isCursorPointer: Cn.value,
920
- onToggleFullscreen: Yn,
921
- onGeneratePdf: N(Nn),
922
- onGenerateCsv: Qn,
923
- onGenerateImage: N(dr),
924
- onGenerateSvg: N(ur),
925
- onToggleTable: er,
926
- onToggleAnnotator: nr,
927
- onCopyAlt: fr,
928
- style: D({ visibility: N(On) ? N(En) ? "visible" : "hidden" : "visible" })
929
- }, we({ _: 2 }, [
930
- e.$slots.menuIcon ? {
931
- name: "menuIcon",
932
- fn: P(({ isOpen: t, color: n }) => [j(e.$slots, "menuIcon", E(T({
933
- isOpen: t,
934
- color: n
935
- })), void 0, !0)]),
936
- key: "0"
937
- } : void 0,
938
- e.$slots.optionPdf ? {
939
- name: "optionPdf",
940
- fn: P(() => [j(e.$slots, "optionPdf", {}, void 0, !0)]),
941
- key: "1"
942
- } : void 0,
943
- e.$slots.optionCsv ? {
944
- name: "optionCsv",
945
- fn: P(() => [j(e.$slots, "optionCsv", {}, void 0, !0)]),
946
- key: "2"
947
- } : void 0,
948
- e.$slots.optionImg ? {
949
- name: "optionImg",
950
- fn: P(() => [j(e.$slots, "optionImg", {}, void 0, !0)]),
951
- key: "3"
952
- } : void 0,
953
- e.$slots.optionSvg ? {
954
- name: "optionSvg",
955
- fn: P(() => [j(e.$slots, "optionSvg", {}, void 0, !0)]),
956
- key: "4"
957
- } : void 0,
958
- e.$slots.optionTable ? {
959
- name: "optionTable",
960
- fn: P(() => [j(e.$slots, "optionTable", {}, void 0, !0)]),
961
- key: "5"
962
- } : void 0,
963
- e.$slots.optionFullscreen ? {
964
- name: "optionFullscreen",
965
- fn: P(({ toggleFullscreen: t, isFullscreen: n }) => [j(e.$slots, "optionFullscreen", E(T({
966
- toggleFullscreen: t,
967
- isFullscreen: n
968
- })), void 0, !0)]),
969
- key: "6"
970
- } : void 0,
971
- e.$slots.optionAnnotator ? {
972
- name: "optionAnnotator",
973
- fn: P(({ toggleAnnotator: t, isAnnotator: n }) => [j(e.$slots, "optionAnnotator", E(T({
974
- toggleAnnotator: t,
975
- isAnnotator: n
976
- })), void 0, !0)]),
977
- key: "7"
978
- } : void 0,
979
- e.$slots.optionAltCopy ? {
980
- name: "optionAltCopy",
981
- fn: P(({ altCopy: t }) => [j(e.$slots, "optionAltCopy", E(T({ altCopy: t })), void 0, !0)]),
982
- key: "8"
983
- } : void 0,
984
- e.$slots["custom-menu-before"] ? {
985
- name: "custom-menu-before",
986
- fn: P(() => [j(e.$slots, "custom-menu-before", {}, void 0, !0)]),
987
- key: "9"
988
- } : void 0,
989
- e.$slots["custom-menu-after"] ? {
990
- name: "custom-menu-after",
991
- fn: P(() => [j(e.$slots, "custom-menu-after", {}, void 0, !0)]),
992
- key: "10"
993
- } : void 0
994
- ]), 1032, [
995
- "backgroundColor",
996
- "color",
997
- "isPrinting",
998
- "isImaging",
999
- "uid",
1000
- "hasPdf",
1001
- "hasTable",
1002
- "hasXls",
1003
- "hasImg",
1004
- "hasSvg",
1005
- "hasFullscreen",
1006
- "hasAltCopy",
1007
- "titles",
1008
- "chartElement",
1009
- "position",
1010
- "hasAnnotator",
1011
- "isAnnotation",
1012
- "callbacks",
1013
- "printScale",
1014
- "tableDialog",
1015
- "isCursorPointer",
1016
- "onGeneratePdf",
1017
- "onGenerateImage",
1018
- "onGenerateSvg",
1019
- "style"
1020
- ])) : b("", !0),
1021
- S("div", ze, [(O(), x("svg", {
1022
- ref_key: "svgRef",
1023
- ref: kn,
1024
- xmlns: N(re),
1025
- class: Oe({
1026
- "vue-data-ui-fullscreen--on": Jn.value,
1027
- "vue-data-ui-fulscreen--off": !Jn.value
1028
- }),
1029
- viewBox: `0 0 ${J.value.absoluteWidth} ${J.value.height}`,
1030
- style: D(`max-width:100%; overflow: visible; background:transparent;color:${U.value.color}`),
1031
- tabindex: "0",
1032
- "aria-describedby": `chart-instructions-${I.value}`,
1033
- onFocus: gr,
1034
- onBlur: _r,
1035
- onKeydown: vr
1036
- }, [
1037
- C(N(sn)),
1038
- e.$slots["chart-background"] ? (O(), x("foreignObject", {
1039
- key: 0,
1040
- x: 0,
1041
- y: 0,
1042
- width: J.value.absoluteWidth,
1043
- height: J.value.height,
1044
- style: { pointerEvents: "none" }
1045
- }, [j(e.$slots, "chart-background", {}, void 0, !0)], 8, Ve)) : b("", !0),
1046
- S("defs", null, [
1047
- C(g, {
1048
- t: "radial",
1049
- id: `gradient_top${I.value}`,
1050
- stops: [[
1051
- "0%",
1052
- N(o)(U.value.backgroundColor, 0),
1053
- 1
1054
- ], [
1055
- "100%",
1056
- U.value.bar.color,
1057
- 1
1058
- ]]
1059
- }, null, 8, ["id", "stops"]),
1060
- C(g, {
1061
- t: "radial",
1062
- id: `gradient_tube_top${I.value}`,
1063
- stops: [[
1064
- "0%",
1065
- N(o)(N(r)(U.value.bar.color, .5), 80),
1066
- 1
1067
- ], [
1068
- "100%",
1069
- N(o)(N(s)(U.value.bar.color, .1), 80),
1070
- 1
1071
- ]]
1072
- }, null, 8, ["id", "stops"]),
1073
- C(g, {
1074
- t: "radial",
1075
- id: `gradient_left${I.value}`,
1076
- stops: [[
1077
- "0%",
1078
- N(o)(U.value.backgroundColor, 0),
1079
- 1
1080
- ], [
1081
- "100%",
1082
- N(o)(U.value.bar.color, 20),
1083
- 1
1084
- ]]
1085
- }, null, 8, ["id", "stops"]),
1086
- C(g, {
1087
- t: "radial",
1088
- id: `gradient_right${I.value}`,
1089
- stops: [[
1090
- "0%",
1091
- N(o)(U.value.backgroundColor, 0),
1092
- 1
1093
- ], [
1094
- "100%",
1095
- N(o)(U.value.bar.color, 20),
1096
- 1
1097
- ]]
1098
- }, null, 8, ["id", "stops"]),
1099
- C(g, {
1100
- t: "linear",
1101
- id: `gradient_tube_body${I.value}`,
1102
- x1: "0%",
1103
- y1: "0%",
1104
- x2: "100%",
1105
- y2: "0%",
1106
- stops: [
1107
- [
1108
- "0%",
1109
- U.value.bar.color,
1110
- 1
1111
- ],
1112
- [
1113
- "10%",
1114
- N(o)(N(s)(U.value.bar.color, .7), 100),
1115
- 1
1116
- ],
1117
- [
1118
- "25%",
1119
- N(o)(N(s)(U.value.bar.color, .5), 100),
1120
- 1
1121
- ],
1122
- [
1123
- "75%",
1124
- N(o)(U.value.bar.color, 80),
1125
- 1
1126
- ],
1127
- [
1128
- "100%",
1129
- N(o)(N(r)(U.value.bar.color, .7), 100),
1130
- 1
1131
- ]
1132
- ]
1133
- }, null, 8, ["id", "stops"])
1134
- ]),
1135
- q.value ? (O(), x("defs", He, [
1136
- (O(!0), x(_, null, A(Y.value, (e) => (O(), y(g, {
1137
- t: "radial",
1138
- id: `grad_top_${e.id}`,
1139
- key: `grad_top_${e.id}`,
1140
- stops: [[
1141
- "0%",
1142
- N(o)(N(r)(e.color, .5), 80),
1143
- 1
1144
- ], [
1145
- "100%",
1146
- e.color,
1147
- 1
1148
- ]]
1149
- }, null, 8, ["id", "stops"]))), 128)),
1150
- (O(!0), x(_, null, A(Y.value, (e) => (O(), y(g, {
1151
- t: "linear",
1152
- id: `grad_left_${e.id}`,
1153
- key: `grad_left_${e.id}`,
1154
- stops: [[
1155
- "0%",
1156
- N(o)(e.color, 80),
1157
- 1
1158
- ], [
1159
- "100%",
1160
- N(o)(N(s)(e.color, .5), 100),
1161
- 1
1162
- ]]
1163
- }, null, 8, ["id", "stops"]))), 128)),
1164
- (O(!0), x(_, null, A(Y.value, (e) => (O(), y(g, {
1165
- t: "linear",
1166
- id: `grad_right_${e.id}`,
1167
- key: `grad_right_${e.id}`,
1168
- stops: [[
1169
- "2%",
1170
- N(o)(N(r)(e.color, .5), 100),
1171
- 1
1172
- ], [
1173
- "100%",
1174
- N(o)(e.color, 80),
1175
- 1
1176
- ]]
1177
- }, null, 8, ["id", "stops"]))), 128)),
1178
- C(g, {
1179
- t: "linear",
1180
- x1: "0%",
1181
- y1: "0%",
1182
- x2: "0%",
1183
- y2: "100%",
1184
- id: `vertical_line_${I.value}`,
1185
- stops: [[
1186
- "0%",
1187
- "#FFFFFF",
1188
- 1
1189
- ], [
1190
- "100%",
1191
- "#FFFFFF33",
1192
- 1
1193
- ]]
1194
- }, null, 8, ["id"])
1195
- ])) : b("", !0),
1196
- U.value.dataLabel.show && ![null, void 0].includes(N(G).percentage) && [null, void 0].includes(N(G).series) ? (O(), x("text", {
1197
- key: 2,
1198
- x: J.value.width / 2,
1199
- y: J.value.top - U.value.dataLabel.fontSize / 2,
1200
- "font-size": U.value.dataLabel.fontSize,
1201
- "font-weight": U.value.dataLabel.bold ? "bold" : "normal",
1202
- fill: U.value.dataLabel.color,
1203
- "text-anchor": "middle"
1204
- }, M(N(t)({
1205
- v: Rn.value,
1206
- s: "%",
1207
- r: U.value.dataLabel.rounding
1208
- })), 9, Ue)) : b("", !0),
1209
- R.value ? (O(), x("g", {
1210
- key: 3,
1211
- role: "button",
1212
- tabindex: "0",
1213
- "aria-label": "Clear selection",
1214
- onClick: n[0] ||= (e) => {
1215
- R.value = !1, Z.value = null;
1216
- },
1217
- onKeydown: [n[1] ||= Ne(Pe((e) => {
1218
- R.value = !1, Z.value = null;
1219
- }, ["prevent"]), ["enter"]), n[2] ||= Ne(Pe((e) => {
1220
- R.value = !1, Z.value = null;
1221
- }, ["prevent"]), ["space"])],
1222
- onFocus: n[3] ||= (e) => z.value = !0,
1223
- onBlur: n[4] ||= (e) => z.value = !1,
1224
- onMouseenter: n[5] ||= (e) => z.value = !0,
1225
- onMouseleave: n[6] ||= (e) => z.value = !1,
1226
- class: "svg-btn",
1227
- "data-dom-to-png-ignore": "",
1228
- style: D({
1229
- cursor: Cn.value ? "pointer" : "default",
1230
- outline: "none"
1231
- })
1232
- }, [
1233
- n[10] ||= S("title", null, "Clear selection", -1),
1234
- S("rect", {
1235
- x: Un.value - 12,
1236
- y: J.value.top - 24,
1237
- width: 24,
1238
- height: 24,
1239
- fill: "transparent",
1240
- "pointer-events": "all"
1241
- }, null, 8, We),
1242
- S("circle", {
1243
- cx: Un.value,
1244
- cy: J.value.top - 12,
1245
- r: "10",
1246
- fill: "none",
1247
- stroke: U.value.color,
1248
- "stroke-width": "2",
1249
- "vector-effect": "non-scaling-stroke",
1250
- opacity: z.value ? .5 : 0
1251
- }, null, 8, Ge),
1252
- S("path", {
1253
- d: `M${Un.value - 6},${J.value.top - 18} ${Un.value + 6},${J.value.top - 6}`,
1254
- stroke: U.value.color,
1255
- "stroke-linecap": "round",
1256
- "stroke-width": "2",
1257
- "vector-effect": "non-scaling-stroke"
1258
- }, null, 8, Ke),
1259
- S("path", {
1260
- d: `M${Un.value + 6},${J.value.top - 18} ${Un.value - 6},${J.value.top - 6}`,
1261
- stroke: U.value.color,
1262
- "stroke-linecap": "round",
1263
- "stroke-width": "2",
1264
- "vector-effect": "non-scaling-stroke"
1265
- }, null, 8, qe)
1266
- ], 36)) : b("", !0),
1267
- !Sn.value.shape || Sn.value.shape === "bar" ? (O(), x("g", Je, [
1268
- q.value ? b("", !0) : (O(), x("g", Ye, [
1269
- S("path", {
1270
- "stroke-dasharray": U.value.box.strokeDasharray,
1271
- d: X.value.right,
1272
- stroke: U.value.box.stroke,
1273
- "stroke-width": U.value.box.strokeWidth,
1274
- "stroke-linejoin": "round",
1275
- "stroke-linecap": "round",
1276
- fill: "none"
1277
- }, null, 8, Xe),
1278
- S("path", {
1279
- "stroke-dasharray": U.value.box.strokeDasharray,
1280
- d: X.value.left,
1281
- stroke: U.value.box.stroke,
1282
- "stroke-width": U.value.box.strokeWidth,
1283
- "stroke-linejoin": "round",
1284
- "stroke-linecap": "round",
1285
- fill: "none"
1286
- }, null, 8, Ze),
1287
- S("path", {
1288
- "stroke-dasharray": U.value.box.strokeDasharray,
1289
- d: X.value.side,
1290
- stroke: U.value.box.stroke,
1291
- "stroke-width": U.value.box.strokeWidth,
1292
- "stroke-linejoin": "round",
1293
- "stroke-linecap": "round",
1294
- fill: "none"
1295
- }, null, 8, Qe),
1296
- S("path", {
1297
- "stroke-dasharray": U.value.box.strokeDasharray,
1298
- d: X.value.topSides,
1299
- stroke: U.value.box.stroke,
1300
- "stroke-width": U.value.box.strokeWidth,
1301
- "stroke-linejoin": "round",
1302
- "stroke-linecap": "round",
1303
- fill: "none"
1304
- }, null, 8, $e)
1305
- ])),
1306
- q.value ? b("", !0) : (O(), x("g", et, [
1307
- S("path", {
1308
- d: Gn.value.right,
1309
- stroke: U.value.bar.stroke,
1310
- "stroke-width": U.value.bar.strokeWidth,
1311
- "stroke-linejoin": "round",
1312
- "stroke-linecap": "round",
1313
- fill: `url(#gradient_right${I.value})`
1314
- }, null, 8, tt),
1315
- S("path", {
1316
- d: Gn.value.left,
1317
- stroke: U.value.bar.stroke,
1318
- "stroke-width": U.value.bar.strokeWidth,
1319
- "stroke-linejoin": "round",
1320
- "stroke-linecap": "round",
1321
- fill: `url(#gradient_left${I.value})`
1322
- }, null, 8, nt),
1323
- S("path", {
1324
- d: Gn.value.top,
1325
- stroke: U.value.bar.stroke,
1326
- "stroke-width": U.value.bar.strokeWidth,
1327
- "stroke-linejoin": "round",
1328
- "stroke-linecap": "round",
1329
- fill: `url(#gradient_top${I.value})`
1330
- }, null, 8, rt)
1331
- ])),
1332
- q.value ? (O(), x("g", it, [
1333
- (O(!0), x(_, null, A(Y.value, (e, t) => (O(), x("g", {
1334
- style: D(`opacity:${Z.value ? Z.value === e.id ? 1 : .3 : 1}`),
1335
- class: "vue-ui-3d-bar-stack",
1336
- role: "img",
1337
- "aria-label": mr(e)
1338
- }, [
1339
- S("path", {
1340
- d: e.fill.right,
1341
- fill: `url(#grad_right_${e.id})`,
1342
- onMouseenter: (t) => Q(e),
1343
- onClick: (t) => Q(e, !0),
1344
- onMouseout: (t) => $(e)
1345
- }, null, 40, ot),
1346
- S("path", {
1347
- d: e.fill.left,
1348
- fill: `url(#grad_left_${e.id})`,
1349
- onMouseenter: (t) => Q(e),
1350
- onClick: (t) => Q(e, !0),
1351
- onMouseout: (t) => $(e)
1352
- }, null, 40, st),
1353
- S("path", {
1354
- d: e.fill.top,
1355
- fill: `url(#grad_top_${e.id})`,
1356
- onMouseenter: (t) => Q(e),
1357
- onClick: (t) => Q(e, !0),
1358
- onMouseout: (t) => $(e)
1359
- }, null, 40, ct),
1360
- S("path", {
1361
- d: e.fill.liningTop,
1362
- stroke: "#FFFFFF",
1363
- "stroke-width": "0.5",
1364
- "stroke-linecap": "round",
1365
- fill: "none",
1366
- onMouseenter: (t) => Q(e),
1367
- onClick: (t) => Q(e, !0),
1368
- onMouseout: (t) => $(e)
1369
- }, null, 40, lt),
1370
- S("path", {
1371
- d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
1372
- stroke: "#FFFFFF",
1373
- "stroke-width": "0.5",
1374
- "stroke-linecap": "round"
1375
- }, null, 8, ut)
1376
- ], 12, at))), 256)),
1377
- (O(!0), x(_, null, A(Y.value, (e, t) => (O(), x("g", null, [t === Y.value.length - 1 ? b("", !0) : (O(), x("path", {
1378
- key: 0,
1379
- d: e.fill.liningTopShade,
1380
- stroke: U.value.bar.shadeColor,
1381
- "stroke-width": "0.5",
1382
- "stroke-linecap": "round",
1383
- fill: "none",
1384
- style: { "pointer-events": "none" }
1385
- }, null, 8, dt))]))), 256)),
1386
- (O(!0), x(_, null, A(Y.value, (n, r) => (O(), x("g", {
1387
- style: D(`opacity:${Z.value ? +(Z.value === n.id) : +(n.proportion * 100 > U.value.legend.hideUnderPercentage)}`),
1388
- onClick: (e) => fn("selectDatapoint", n)
1389
- }, [
1390
- S("path", {
1391
- stroke: U.value.color,
1392
- "stroke-dasharray": "1",
1393
- "stroke-width": "0.5",
1394
- "stroke-linecap": "round",
1395
- d: `M${n.fill.sidePointer.x},${n.fill.sidePointer.y} ${n.fill.sidePointer.x2},${n.fill.sidePointer.y}`
1396
- }, null, 8, pt),
1397
- !n.fill.miniDonut || Z.value ? (O(), x("circle", {
1398
- key: 0,
1399
- cx: n.fill.sidePointer.x2,
1400
- cy: n.fill.sidePointer.y,
1401
- r: 2,
1402
- fill: n.color,
1403
- stroke: U.value.backgroundColor
1404
- }, null, 8, mt)) : b("", !0),
1405
- N(Tn) ? (O(), x("rect", {
1406
- key: 1,
1407
- x: n.fill.sidePointer.xText,
1408
- y: n.fill.sidePointer.y - U.value.legend.fontSize / 2,
1409
- width: J.value.width / 3,
1410
- height: U.value.legend.fontSize,
1411
- fill: "#6A6A6A80",
1412
- rx: "3"
1413
- }, null, 8, ht)) : b("", !0),
1414
- N(Tn) ? b("", !0) : (O(), x("foreignObject", {
1415
- key: 2,
1416
- x: n.fill.sidePointer.xText,
1417
- y: n.fill.sidePointer.y - U.value.legend.fontSize,
1418
- width: J.value.absoluteWidth / 3,
1419
- height: U.value.legend.fontSize * 2,
1420
- style: {
1421
- overflow: "visible",
1422
- position: "relative"
1423
- }
1424
- }, [U.value.legend.showDefault ? (O(), x("div", {
1425
- key: 0,
1426
- style: D(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${U.value.legend.fontSize}px; text-align:left; line-height: ${U.value.legend.fontSize}px; color:${U.value.legend.color}; font-weight:${U.value.legend.bold ? "bold" : "normal"}`)
1427
- }, M(N(h)(U.value.dataLabel.formatter, n.value, `${n.name}: ${N(t)({
1428
- v: n.proportion * 100,
1429
- s: "%",
1430
- r: U.value.legend.roundingPercentage
1431
- })} (${N(t)({
1432
- p: U.value.legend.prefix,
1433
- v: n.value,
1434
- s: U.value.legend.suffix,
1435
- r: U.value.legend.roundingValue
1436
- })})`, {
1437
- datapoint: n,
1438
- seriesIndex: r,
1439
- type: "barDatapoint"
1440
- })), 5)) : b("", !0), j(e.$slots, "legend", Ee({ ref_for: !0 }, {
1441
- datapoint: n,
1442
- config: H.value,
1443
- dataset: Y.value
1444
- }), void 0, !0)], 8, gt)),
1445
- n.fill.donut && Z.value === n.id ? (O(), x("g", _t, [
1446
- (O(!0), x(_, null, A(n.fill.donut, (e, t) => (O(), x("g", null, [Kn(e, n.fill.donut, !0) > 6 ? (O(), x("path", {
1447
- key: 0,
1448
- d: N(m)(e, {
1449
- x: e.cx,
1450
- y: e.cy
1451
- }, 0, 8, !1, !0, 10),
1452
- stroke: e.color,
1453
- class: "vue-ui-donut-arc-path",
1454
- "stroke-width": "0.5",
1455
- "stroke-linecap": "round",
1456
- "stroke-linejoin": "round",
1457
- fill: "none"
1458
- }, null, 8, vt)) : b("", !0)]))), 256)),
1459
- (O(!0), x(_, null, A(n.fill.donut, (e, t) => (O(), x("path", {
1460
- class: "vue-ui-donut-arc-path",
1461
- d: e.arcSlice,
1462
- fill: `${e.color}`,
1463
- stroke: U.value.backgroundColor,
1464
- "stroke-width": 1
1465
- }, null, 8, yt))), 256)),
1466
- (O(!0), x(_, null, A(n.fill.donut, (e, r) => (O(), x("g", null, [Kn(e, n.fill.donut, !0) > 6 ? (O(), x("g", bt, [S("text", {
1467
- "text-anchor": N(p)(e, !0, 0).anchor,
1468
- x: N(p)(e, !0, 2).x,
1469
- y: N(ne)(e, 12, 12),
1470
- fill: U.value.legend.color,
1471
- "font-size": U.value.legend.fontSize / 1.5,
1472
- "font-weight": U.value.legend.bold ? "bold" : "normal"
1473
- }, M(N(h)(U.value.dataLabel.formatter, e.value, `${Kn(e, n.fill.donut)} (${N(t)({
1474
- p: H.value.style.chart.legend.prefix,
1475
- v: e.value,
1476
- s: H.value.style.chart.legend.suffix,
1477
- r: H.value.style.chart.legend.roundingValue
1478
- })})`, {
1479
- datapoint: e,
1480
- seriesIndex: r,
1481
- type: "donutDatapoint"
1482
- })), 9, xt), S("text", {
1483
- "text-anchor": N(p)(e).anchor,
1484
- x: N(p)(e, !0, 2).x,
1485
- y: N(ne)(e, 12, 12) + U.value.legend.fontSize / 1.5,
1486
- fill: U.value.legend.color,
1487
- "font-size": U.value.legend.fontSize / 1.5,
1488
- "font-weight": U.value.legend.bold ? "bold" : "normal"
1489
- }, M(e.name), 9, St)])) : b("", !0)]))), 256))
1490
- ])) : b("", !0),
1491
- n.fill.miniDonut && !Z.value ? (O(), x("g", Ct, [(O(!0), x(_, null, A(n.fill.miniDonut, (e, t) => (O(), x("path", {
1492
- class: "vue-ui-donut-arc-path",
1493
- d: e.arcSlice,
1494
- fill: `${e.color}`,
1495
- stroke: U.value.backgroundColor,
1496
- "stroke-width": .5
1497
- }, null, 8, wt))), 256))])) : b("", !0)
1498
- ], 12, ft))), 256))
1499
- ])) : b("", !0)
1500
- ])) : b("", !0),
1501
- Sn.value.shape === "tube" ? (O(), x("g", Tt, [q.value ? b("", !0) : (O(), x("g", Et, [
1502
- S("path", {
1503
- "stroke-dasharray": U.value.box.strokeDasharray,
1504
- d: X.value.tubeTop,
1505
- stroke: U.value.box.stroke,
1506
- "stroke-width": U.value.box.strokeWidth,
1507
- "stroke-linejoin": "round",
1508
- "stroke-linecap": "round",
1509
- fill: "none"
1510
- }, null, 8, Dt),
1511
- S("path", {
1512
- "stroke-dasharray": U.value.box.strokeDasharray,
1513
- d: X.value.tubeLeft,
1514
- stroke: U.value.box.stroke,
1515
- "stroke-width": U.value.box.strokeWidth,
1516
- "stroke-linejoin": "round",
1517
- "stroke-linecap": "round",
1518
- fill: "none"
1519
- }, null, 8, Ot),
1520
- S("path", {
1521
- "stroke-dasharray": U.value.box.strokeDasharray,
1522
- d: X.value.tubeRight,
1523
- stroke: U.value.box.stroke,
1524
- "stroke-width": U.value.box.strokeWidth,
1525
- "stroke-linejoin": "round",
1526
- "stroke-linecap": "round",
1527
- fill: "none"
1528
- }, null, 8, kt),
1529
- S("path", {
1530
- "stroke-dasharray": U.value.box.strokeDasharray,
1531
- d: X.value.tubeBottom,
1532
- stroke: U.value.box.stroke,
1533
- "stroke-width": U.value.box.strokeWidth,
1534
- "stroke-linejoin": "round",
1535
- "stroke-linecap": "round",
1536
- fill: "none"
1537
- }, null, 8, At),
1538
- S("path", {
1539
- d: Gn.value.tubeTop,
1540
- stroke: U.value.bar.stroke,
1541
- "stroke-width": U.value.bar.strokeWidth,
1542
- "stroke-linejoin": "round",
1543
- "stroke-linecap": "round",
1544
- fill: `url(#gradient_tube_top${I.value})`
1545
- }, null, 8, jt),
1546
- S("path", {
1547
- d: Gn.value.tubeBody,
1548
- stroke: U.value.bar.stroke,
1549
- "stroke-width": U.value.bar.strokeWidth,
1550
- "stroke-linejoin": "round",
1551
- "stroke-linecap": "round",
1552
- fill: `url(#gradient_tube_body${I.value})`
1553
- }, null, 8, Mt),
1554
- S("path", {
1555
- d: Gn.value.tubeTop,
1556
- stroke: "#FFFFFF",
1557
- "stroke-width": .5,
1558
- "stroke-linejoin": "round",
1559
- "stroke-linecap": "round",
1560
- fill: "none"
1561
- }, null, 8, Nt)
1562
- ])), q.value ? (O(), x("g", Pt, [(O(!0), x(_, null, A(Y.value, (e, t) => (O(), x("g", {
1563
- style: D(`opacity:${Z.value ? Z.value === e.id ? 1 : .3 : 1}`),
1564
- class: "vue-ui-3d-bar-stack",
1565
- role: "img",
1566
- "aria-label": mr(e)
1567
- }, [
1568
- S("defs", null, [C(g, {
1569
- t: "radial",
1570
- id: `gradient_tube_top_${e.id}`,
1571
- fx: "10%",
1572
- cy: "55%",
1573
- stops: [[
1574
- "0%",
1575
- N(o)(N(r)(e.color, .5), 80),
1576
- 1
1577
- ], [
1578
- "100%",
1579
- N(o)(N(s)(e.color, .1), 80),
1580
- 1
1581
- ]]
1582
- }, null, 8, ["id", "stops"]), C(g, {
1583
- t: "linear",
1584
- id: `gradient_tube_body_${e.id}`,
1585
- x1: "0%",
1586
- y1: "0%",
1587
- x2: "100%",
1588
- y2: "0%",
1589
- stops: [
1590
- [
1591
- "0%",
1592
- e.color,
1593
- 1
1594
- ],
1595
- [
1596
- "10%",
1597
- N(o)(N(s)(e.color, .7), 100),
1598
- 1
1599
- ],
1600
- [
1601
- "25%",
1602
- N(o)(N(s)(e.color, .5), 100),
1603
- 1
1604
- ],
1605
- [
1606
- "75%",
1607
- N(o)(e.color, 80),
1608
- 1
1609
- ],
1610
- [
1611
- "100%",
1612
- N(o)(N(r)(e.color, .7), 100),
1613
- 1
1614
- ]
1615
- ]
1616
- }, null, 8, ["id", "stops"])]),
1617
- S("path", {
1618
- onMouseenter: (t) => Q(e),
1619
- onClick: (t) => Q(e, !0),
1620
- onMouseout: (t) => $(e),
1621
- d: e.fill.tubeBody,
1622
- stroke: "#FFFFFF",
1623
- "stroke-width": .5,
1624
- "stroke-linejoin": "round",
1625
- "stroke-linecap": "round",
1626
- fill: `url(#gradient_tube_body_${e.id})`
1627
- }, null, 40, It),
1628
- t > 0 ? (O(), x("path", {
1629
- key: 0,
1630
- onMouseenter: (t) => Q(e),
1631
- onClick: (t) => Q(e, !0),
1632
- onMouseout: (t) => $(e),
1633
- d: e.fill.bottomTubeTop,
1634
- stroke: "#000000",
1635
- "stroke-width": .5,
1636
- "stroke-linejoin": "round",
1637
- "stroke-linecap": "round",
1638
- fill: "none"
1639
- }, null, 40, Lt)) : b("", !0),
1640
- S("path", {
1641
- onMouseenter: (t) => Q(e),
1642
- onClick: (t) => Q(e, !0),
1643
- onMouseout: (t) => $(e),
1644
- d: e.fill.tubeTop,
1645
- stroke: "#FFFFFF",
1646
- "stroke-width": .5,
1647
- "stroke-linejoin": "round",
1648
- "stroke-linecap": "round",
1649
- fill: `url(#gradient_tube_top_${e.id})`
1650
- }, null, 40, Rt)
1651
- ], 12, Ft))), 256)), (O(!0), x(_, null, A(Y.value, (n, r) => (O(), x("g", {
1652
- style: D(`opacity:${Z.value ? +(Z.value === n.id) : +(n.proportion * 100 > U.value.legend.hideUnderPercentage)}`),
1653
- onClick: (e) => fn("selectDatapoint", n)
1654
- }, [
1655
- S("path", {
1656
- stroke: U.value.color,
1657
- "stroke-dasharray": "1",
1658
- "stroke-width": "0.5",
1659
- "stroke-linecap": "round",
1660
- d: `M${n.fill.sidePointer.x},${n.fill.sidePointer.y} ${n.fill.sidePointer.x2},${n.fill.sidePointer.y}`
1661
- }, null, 8, Bt),
1662
- !n.fill.miniDonut || Z.value ? (O(), x("circle", {
1663
- key: 0,
1664
- cx: n.fill.sidePointer.x2,
1665
- cy: n.fill.sidePointer.y,
1666
- r: 2,
1667
- fill: n.color,
1668
- stroke: U.value.backgroundColor
1669
- }, null, 8, Vt)) : b("", !0),
1670
- N(Tn) ? (O(), x("rect", {
1671
- key: 1,
1672
- x: n.fill.sidePointer.xText,
1673
- y: n.fill.sidePointer.y - U.value.legend.fontSize / 2,
1674
- width: J.value.width / 3,
1675
- height: U.value.legend.fontSize,
1676
- fill: "#6A6A6A80",
1677
- rx: "3"
1678
- }, null, 8, Ht)) : b("", !0),
1679
- N(Tn) ? b("", !0) : (O(), x("foreignObject", {
1680
- key: 2,
1681
- x: n.fill.sidePointer.xText,
1682
- y: n.fill.sidePointer.y - U.value.legend.fontSize,
1683
- width: J.value.absoluteWidth / 3,
1684
- height: U.value.legend.fontSize * 2,
1685
- style: {
1686
- overflow: "visible",
1687
- position: "relative"
1688
- }
1689
- }, [U.value.legend.showDefault ? (O(), x("div", {
1690
- key: 0,
1691
- style: D(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${U.value.legend.fontSize}px; text-align:left; line-height: ${U.value.legend.fontSize}px; color:${U.value.legend.color};font-weight:${U.value.legend.bold ? "bold" : "normal"}`)
1692
- }, M(N(h)(U.value.dataLabel.formatter, n.value, `${n.name}: ${N(t)({
1693
- v: n.proportion * 100,
1694
- s: "%",
1695
- r: U.value.legend.roundingPercentage
1696
- })} (${N(t)({
1697
- p: U.value.legend.prefix,
1698
- v: n.value,
1699
- s: U.value.legend.suffix,
1700
- r: U.value.legend.roundingValue
1701
- })})`, {
1702
- datapoint: n,
1703
- seriesIndex: r,
1704
- type: "barDatapoint"
1705
- })), 5)) : b("", !0), j(e.$slots, "legend", Ee({ ref_for: !0 }, {
1706
- datapoint: n,
1707
- config: H.value,
1708
- dataset: Y.value
1709
- }), void 0, !0)], 8, Ut)),
1710
- n.fill.donut && Z.value === n.id ? (O(), x("g", Wt, [
1711
- (O(!0), x(_, null, A(n.fill.donut, (e, t) => (O(), x("g", null, [Kn(e, n.fill.donut, !0) > 6 ? (O(), x("path", {
1712
- key: 0,
1713
- d: N(m)(e, {
1714
- x: e.cx,
1715
- y: e.cy
1716
- }, 0, 8, !1, !0, 10),
1717
- stroke: e.color,
1718
- class: "vue-ui-donut-arc-path",
1719
- "stroke-width": "0.5",
1720
- "stroke-linecap": "round",
1721
- "stroke-linejoin": "round",
1722
- fill: "none"
1723
- }, null, 8, Gt)) : b("", !0)]))), 256)),
1724
- (O(!0), x(_, null, A(n.fill.donut, (e, t) => (O(), x("path", {
1725
- class: "vue-ui-donut-arc-path",
1726
- d: e.arcSlice,
1727
- fill: `${e.color}`,
1728
- stroke: U.value.backgroundColor,
1729
- "stroke-width": 1
1730
- }, null, 8, Kt))), 256)),
1731
- (O(!0), x(_, null, A(n.fill.donut, (e, r) => (O(), x("g", null, [Kn(e, n.fill.donut, !0) > 6 ? (O(), x("g", qt, [S("text", {
1732
- "text-anchor": N(p)(e, !0, 0).anchor,
1733
- x: N(p)(e, !0, 2).x,
1734
- y: N(ne)(e, 12, 12),
1735
- fill: U.value.legend.color,
1736
- "font-size": U.value.legend.fontSize / 1.5,
1737
- "font-weight": U.value.legend.bold ? "bold" : "normal"
1738
- }, M(N(h)(U.value.dataLabel.formatter, e.value, `${Kn(e, n.fill.donut)} (${N(t)({
1739
- p: H.value.style.chart.legend.prefix,
1740
- v: e.value,
1741
- s: H.value.style.chart.legend.suffix,
1742
- r: H.value.style.chart.legend.roundingValue
1743
- })})`, {
1744
- datapoint: e,
1745
- seriesIndex: r,
1746
- type: "donutDatapoint"
1747
- })), 9, Jt), S("text", {
1748
- "text-anchor": N(p)(e).anchor,
1749
- x: N(p)(e, !0, 2).x,
1750
- y: N(ne)(e, 12, 12) + U.value.legend.fontSize / 1.5,
1751
- fill: U.value.legend.color,
1752
- "font-size": U.value.legend.fontSize / 1.5,
1753
- "font-weight": U.value.legend.bold ? "bold" : "normal"
1754
- }, M(e.name), 9, Yt)])) : b("", !0)]))), 256))
1755
- ])) : b("", !0),
1756
- n.fill.miniDonut && !Z.value ? (O(), x("g", Xt, [(O(!0), x(_, null, A(n.fill.miniDonut, (e, t) => (O(), x("path", {
1757
- class: "vue-ui-donut-arc-path",
1758
- d: e.arcSlice,
1759
- fill: `${e.color}`,
1760
- stroke: U.value.backgroundColor,
1761
- "stroke-width": .5
1762
- }, null, 8, Zt))), 256))])) : b("", !0)
1763
- ], 12, zt))), 256))])) : b("", !0)])) : b("", !0),
1764
- j(e.$slots, "svg", { svg: {
1765
- ...J.value,
1766
- isPrintingImg: N(jn) || N(Mn) || N(cr),
1767
- isPrintingSvg: N(lr)
1768
- } }, void 0, !0)
1769
- ], 46, Be))]),
1770
- e.$slots.watermark ? (O(), x("div", Qt, [j(e.$slots, "watermark", E(T({ isPrinting: N(jn) || N(Mn) || N(lr) || N(cr) })), void 0, !0)])) : b("", !0),
1771
- e.$slots.source ? (O(), x("div", {
1772
- key: 5,
1773
- ref_key: "source",
1774
- ref: yn,
1775
- dir: "auto"
1776
- }, [j(e.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
1777
- pn.value && q.value && W.value.buttons.table ? (O(), y(Ae(ir.value.component), Ee({ key: 6 }, ir.value.props, {
1778
- ref_key: "tableUnit",
1779
- ref: bn,
1780
- onClose: ar
1781
- }), we({
1782
- content: P(() => [(O(), y(N(rn), {
1783
- key: `table_${hn.value}`,
1784
- colNames: $n.value.colNames,
1785
- head: $n.value.head,
1786
- body: $n.value.body,
1787
- config: $n.value.config,
1788
- title: H.value.table.useDialog ? "" : ir.value.title,
1789
- withCloseButton: !H.value.table.useDialog,
1790
- isCursorPointer: Cn.value,
1791
- onClose: ar
1792
- }, {
1793
- th: P(({ th: e }) => [e === "__SUM__" ? (O(), x("div", $t, [C(N(tn), {
1794
- name: "sigma",
1795
- stroke: $n.value.config.th.color,
1796
- size: 16
1797
- }, null, 8, ["stroke"])])) : (O(), x("div", en, M(e), 1))]),
1798
- td: P(({ td: e }) => [Te(M(e.name || e), 1)]),
1799
- _: 1
1800
- }, 8, [
1801
- "colNames",
1802
- "head",
1803
- "body",
1804
- "config",
1805
- "title",
1806
- "withCloseButton",
1807
- "isCursorPointer"
1808
- ]))]),
1809
- _: 2
1810
- }, [H.value.table.useDialog ? {
1811
- name: "title",
1812
- fn: P(() => [Te(M(ir.value.title), 1)]),
1813
- key: "0"
1814
- } : void 0, H.value.table.useDialog ? {
1815
- name: "actions",
1816
- fn: P(() => [S("button", {
1817
- tabindex: "0",
1818
- class: "vue-ui-user-options-button",
1819
- onClick: n[7] ||= (e) => Qn(W.value.callbacks.csv)
1820
- }, [C(N(tn), {
1821
- name: "fileCsv",
1822
- stroke: ir.value.props.color
1823
- }, null, 8, ["stroke"])])]),
1824
- key: "1"
1825
- } : void 0]), 1040)) : b("", !0),
1826
- j(e.$slots, "skeleton", {}, () => [N(Tn) ? (O(), y(de, { key: 0 })) : b("", !0)], !0)
1827
- ], 44, Ie));
1828
- }
1829
- }, [["__scopeId", "data-v-4e9eda2a"]]);
1830
- //#endregion
1831
- export { Fe as n, tn as t };