vue-data-ui 2.4.3 → 2.4.5

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 (183) hide show
  1. package/README.md +3 -1
  2. package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
  3. package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
  4. package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
  5. package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
  6. package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
  7. package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
  8. package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
  9. package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
  10. package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
  11. package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
  12. package/dist/PenAndPaper-C-KjtyNA.js +308 -0
  13. package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
  14. package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
  15. package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
  16. package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
  17. package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
  18. package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
  19. package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
  20. package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
  21. package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
  22. package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
  23. package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
  26. package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
  27. package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
  28. package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
  29. package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
  30. package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
  31. package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
  32. package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.cjs} +1 -1
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
  36. package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
  38. package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
  39. package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
  41. package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
  42. package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
  43. package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
  44. package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
  45. package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
  47. package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
  48. package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
  49. package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
  50. package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
  51. package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
  52. package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
  54. package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
  55. package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
  56. package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
  57. package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
  58. package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
  60. package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
  61. package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
  62. package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
  63. package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
  64. package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
  65. package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
  67. package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
  68. package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
  69. package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
  71. package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
  73. package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
  74. package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
  75. package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
  77. package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
  78. package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
  79. package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
  80. package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
  81. package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
  82. package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
  83. package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
  84. package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
  85. package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
  86. package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
  87. package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
  88. package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
  89. package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
  90. package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
  91. package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
  92. package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
  93. package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
  94. package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
  95. package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
  96. package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
  97. package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
  98. package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
  99. package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
  100. package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
  101. package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
  103. package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
  104. package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
  105. package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
  106. package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
  107. package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
  111. package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
  113. package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
  114. package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
  115. package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
  116. package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
  118. package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
  119. package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
  120. package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
  121. package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
  122. package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
  123. package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
  124. package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
  127. package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
  128. package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
  129. package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
  130. package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
  131. package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
  132. package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
  133. package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
  134. package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
  135. package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
  136. package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
  139. package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
  140. package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
  141. package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
  142. package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
  143. package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
  144. package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
  145. package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
  146. package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
  147. package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
  148. package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
  149. package/package.json +1 -1
  150. package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
  151. package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
  152. package/dist/useResponsive-CodiGUOE.cjs +0 -1
  153. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
  154. package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
  155. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
  156. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
  157. package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
  158. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
  159. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
  160. package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
  161. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
  162. package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
  163. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
  164. package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
  165. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
  166. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
  167. package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
  168. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
  169. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
  170. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
  171. package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
  172. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
  173. package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
  174. package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
  175. package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
  176. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
  177. package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
  178. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
  179. package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
  180. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
  181. package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
  182. package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
  183. package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-C9HllqQA.cjs"),re=require("./Legend-BoBvZGqQ.cjs"),ne=require("./Title-Dn00hErp.cjs"),se=require("./Tooltip-DJiwKA4y.cjs"),ue=require("./DataTable-DO2GAcBm.cjs"),U=require("./usePrinter-FSAw5pod.cjs"),ie=require("./vue-ui-skeleton-CPwED1As.cjs"),ce=require("./vue-ui-accordion-BkUGNe2H.cjs"),H=require("./useNestedProp-DOr0hj4s.cjs"),de=require("./PackageVersion-DdLmDkTt.cjs"),ve=require("./PenAndPaper-DyMNuRla.cjs"),pe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),he=["id"],fe={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},ye={key:2,style:"width:100%;background:transparent;padding-bottom:24px"},ge=["xmlns","viewBox"],me=["id"],be=["stdDeviation"],ke=["d","stroke","stroke-width"],Ce=["d","stroke","stroke-width"],we=["filter"],xe=["d","stroke","stroke-width"],$e=["d","stroke-width","onMouseenter","onClick"],Be={key:5,class:"vue-data-ui-watermark"},Ne=["onClick"],Te={key:0},_e={key:1},Se={key:8,ref:"source",dir:"auto"},Pe=["innerHTML"],Ve={__name:"vue-ui-galaxy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(X,{expose:j,emit:S}){const i=X,{vue_ui_galaxy:Y}=r.useConfig(),b=e.computed(()=>!!i.dataset&&i.dataset.length);e.onMounted(()=>{P()});function P(){r.objectIsEmpty(i.dataset)?r.error({componentName:"VueUiGalaxy",type:"dataset"}):i.dataset.forEach((l,a)=>{r.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(o=>{r.error({componentName:"VueUiGalaxy",type:"datasetSerieAttribute",property:o,index:a})})})}const y=e.ref(r.createUid()),k=e.ref(null),J=e.ref(null),x=e.ref(!1),$=e.ref(""),c=e.ref(null),V=e.ref(0),E=e.ref(0),L=e.ref(0),O=e.ref(0),t=e.computed({get:()=>A(),set:l=>l});function A(){const l=H.useNestedProp({userConfig:i.config,defaultConfig:Y});return l.theme?{...H.useNestedProp({userConfig:r.themes.vue_ui_galaxy[l.theme]||i.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}e.watch(()=>i.config,l=>{t.value=A(),P(),E.value+=1,L.value+=1,O.value+=1},{deep:!0});const{isPrinting:F,isImaging:I,generatePdf:z,generateImage:D}=U.usePrinter({elementId:`galaxy_${y.value}`,fileName:t.value.style.chart.title.text||"vue-ui-galaxy"}),K=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),Q=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),v=e.ref({dataLabels:{show:t.value.style.chart.layout.labels.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),B=e.ref({height:180,width:250}),u=e.ref([]);function N(l){u.value.includes(l.id)?u.value=u.value.filter(a=>a!==l.id):u.value.push(l.id),S("selectLegend",g.value.map(a=>({name:a.name,color:a.color,value:a.value})))}const h=e.computed(()=>i.dataset.map((l,a)=>({name:l.name,color:r.convertColorToHex(l.color)||Q.value[a]||r.palette[a]||r.palette[a%r.palette.length],value:l.values?r.sanitizeArray(l.values).reduce((o,n)=>o+n,0):0,absoluteValues:r.sanitizeArray(l.values),id:r.createUid(),seriesIndex:a})).sort((l,a)=>a.value-l.value));function Z(){return h.value.map(l=>({name:l.name,color:l.color,value:l.value}))}const d=e.computed(()=>h.value.filter(l=>!u.value.includes(l.id)).map(l=>l.value).reduce((l,a)=>l+a,0)),ee=e.ref(190),q=e.computed(()=>h.value.filter(l=>!u.value.includes(l.id))),g=e.computed(()=>{const l=[];for(let a=0;a<q.value.length;a+=1){const o=q.value[a];let n=o.value/d.value*ee.value;a>0&&l.length&&(n+=l[a-1].points),l.push({points:n,...o,seriesIndex:a,proportion:o.value/d.value,path:r.createSpiralPath({points:n,startX:115+t.value.style.chart.layout.arcs.offsetX,startY:90+t.value.style.chart.layout.arcs.offsetY})})}return l.filter((a,o)=>!u.value.includes(a.id)).toSorted((a,o)=>o.points-a.points)}),m=e.ref(!1);function te(l){m.value=l,V.value+=1}const T=e.ref(null);function le({datapoint:l,_relativeIndex:a,seriesIndex:o,show:n=!1}){T.value={datapoint:l,seriesIndex:o,series:h.value,config:t.value},x.value=n,c.value=l.id;let s="";const f=t.value.style.chart.tooltip.customFormat;r.isFunction(f)&&r.functionReturnsString(()=>f({seriesIndex:o,datapoint:l,series:h.value,config:t.value}))?$.value=f({seriesIndex:o,datapoint:l,series:h.value,config:t.value}):(s+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`,s+=`<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="${l.color}"/></svg>`,t.value.style.chart.tooltip.showValue&&(s+=`<b>${r.applyDataLabel(t.value.style.chart.layout.labels.dataLabels.formatter,l.value,r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.tooltip.roundingValue}),{datapoint:l,seriesIndex:o})}</b>`),t.value.style.chart.tooltip.showPercentage&&(t.value.style.chart.tooltip.showValue?s+=`<span>(${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})})</span></div>`:s+=`<b>${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})}</b></div>`),$.value=`<div>${s}</div>`)}const G=e.computed(()=>h.value.map((l,a)=>({...l,proportion:(l.value||0)/i.dataset.map(o=>(o.values||[]).reduce((n,s)=>n+s,0)).reduce((o,n)=>o+n,0),opacity:u.value.includes(l.id)?.5:1,shape:l.shape||"circle",segregate:()=>N(l),isSegregated:u.value.includes(l.id)}))),oe=e.computed(()=>({cy:"galaxy-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),p=e.computed(()=>{const l=g.value.map(o=>({name:o.name,color:o.color})),a=g.value.map(o=>o.value);return{head:l,body:a}});function M(){e.nextTick(()=>{const l=p.value.head.map((n,s)=>[[n.name],[p.value.body[s]],[isNaN(p.value.body[s]/d.value)?"-":p.value.body[s]/d.value*100]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(l),o=r.createCsvContent(a);r.downloadCsv({csvContent:o,title:t.value.style.chart.title.text||"vue-ui-galaxy"})})}const C=e.computed(()=>{const l=[' <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>',r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:d.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],a=p.value.head.map((s,f)=>{const ae=r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:p.value.body[f],s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue});return[{color:s.color,name:s.name},ae,isNaN(p.value.body[f]/d.value)?"-":r.dataLabel({v:p.value.body[f]/d.value*100,s:"%",r:t.value.table.td.roundingPercentage})]}),o={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage],head:l,body:a,config:o}});function W(){v.value.showTable=!v.value.showTable}function R(){v.value.showTooltip=!v.value.showTooltip}const w=e.ref(!1);function _(){w.value=!w.value}return j({getData:Z,generatePdf:z,generateCsv:M,generateImage:D,toggleTable:W,toggleTooltip:R,toggleAnnotator:_}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"galaxyChart",ref:k,class:e.normalizeClass(`vue-ui-galaxy ${m.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text?"":"padding-top:36px"};background:${t.value.style.chart.backgroundColor}`),id:`galaxy_${y.value}`},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ve.PenAndPaper,{key:0,parent:k.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:w.value,onClose:_},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),K.value?(e.openBlock(),e.createElementBlock("div",fe,null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",ye,[(e.openBlock(),e.createBlock(ne._sfc_main,{key:`title_${E.value}`,config:{title:{cy:"galaxy-div-title",...t.value.style.chart.title},subtitle:{cy:"galaxy-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&b.value?(e.openBlock(),e.createBlock(U.UserOptions,{ref_key:"details",ref:J,key:`user_option_${V.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(F),isImaging:e.unref(I),uid:y.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isTooltip:v.value.showTooltip,isFullscreen:m.value,titles:{...t.value.userOptions.buttonTitles},chartElement:k.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:w.value,onToggleFullscreen:te,onGeneratePdf:e.unref(z),onGenerateCsv:M,onGenerateImage:e.unref(D),onToggleTable:W,onToggleTooltip:R,onToggleAnnotator:_},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:n})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:n})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:n})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":m.value,"vue-data-ui-fulscreen--off":!m.value}),viewBox:`0 0 ${B.value.width} ${B.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(de._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${y.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:100/t.value.style.chart.layout.arcs.gradient.intensity},null,8,be)],8,me)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,o=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.path,fill:"none",stroke:t.value.style.chart.backgroundColor,"stroke-width":(t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth)*(c.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round"},null,8,ke)):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("path",{key:1,d:o.path,fill:"none",stroke:o.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth*(c.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`${c.value&&c.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,Ce)):e.createCommentVNode("",!0),o.value&&t.value.style.chart.layout.arcs.gradient.show?(e.openBlock(),e.createElementBlock("g",{key:2,filter:`url(#blur_${y.value})`},[e.createElementVNode("path",{d:o.path,fill:"none",stroke:t.value.style.chart.layout.arcs.gradient.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth/2*(c.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`vue-ui-galaxy-gradient ${c.value&&c.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,xe)],8,we)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(o,n)=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.path,fill:"none",stroke:"transparent","stroke-width":t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth,"stroke-linecap":"round",onMouseenter:s=>le({datapoint:o,relativeIndex:n,seriesIndex:o.seriesIndex,show:!0}),onMouseleave:a[0]||(a[0]=s=>{x.value=!1,c.value=null}),onClick:s=>S("selectDatapoint",o)},null,40,$e)):e.createCommentVNode("",!0)]))),256)),e.renderSlot(l.$slots,"svg",{svg:B.value},void 0,!0)],14,ge)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Be,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(F)||e.unref(I)})),void 0,!0)])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ie.default,{key:6,config:{type:"galaxy",style:{backgroundColor:t.value.style.chart.backgroundColor,galaxy:{color:"#CCCCCC"}}}},null,8,["config"])),t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(re.Legend,{key:`legend_${O.value}`,legendSet:G.value,config:oe.value,onClickMarker:a[1]||(a[1]=({legend:o})=>N(o))},{item:e.withCtx(({legend:o,index:n})=>[e.createElementVNode("div",{onClick:s=>N(o),style:e.normalizeStyle(`opacity:${u.value.includes(o.id)?.5:1}`)},[e.createTextVNode(e.toDisplayString(o.name)+": "+e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,o.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:o.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:o,seriesIndex:n}))+" ",1),u.value.includes(o.id)?(e.openBlock(),e.createElementBlock("span",_e," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",Te," ("+e.toDisplayString(isNaN(o.value/d.value)?"-":e.unref(r.dataLabel)({v:o.value/d.value*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1))],12,Ne)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"legend",{legend:G.value},void 0,!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",Se,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(se._sfc_main,{show:v.value.showTooltip&&x.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,fontSize:t.value.style.chart.tooltip.fontSize,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:k.value,content:$.value,isCustom:e.unref(r.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...T.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...T.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isCustom"]),b.value?(e.openBlock(),e.createBlock(ce.default,{key:9,hideDetails:"",config:{open:v.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(ue.DataTable,{key:`table_${L.value}`,colNames:C.value.colNames,head:C.value.head,body:C.value.body,config:C.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[2]||(a[2]=o=>v.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createElementVNode("div",{innerHTML:o,style:{display:"flex","align-items":"center"}},null,8,Pe)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o.name||o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,he))}},Ee=pe._export_sfc(Ve,[["__scopeId","data-v-9e3163ed"]]);exports.default=Ee;
@@ -1,27 +1,32 @@
1
- import { computed as h, onMounted as Pe, ref as u, watch as Se, openBlock as s, createElementBlock as n, normalizeClass as F, normalizeStyle as H, createBlock as $, createCommentVNode as i, unref as p, createSlots as Ne, withCtx as c, renderSlot as v, normalizeProps as S, guardReactiveProps as N, createVNode as re, createElementVNode as x, Fragment as ue, renderList as ne, createTextVNode as ie, toDisplayString as E, nextTick as Le } from "vue";
2
- import { u as Ie, o as Oe, e as ce, g as Ae, c as ve, t as Fe, a as Ee, p as D, b as De, d as Ve, I as de, L as Be, f as k, X as Ge, i as he, x as pe, y as Me, q as ze, r as We } from "./index-Bya_q1J-.js";
3
- import { L as He } from "./Legend-DNgTCgEK.js";
4
- import { _ as Ue } from "./Title-C5pIfQAz.js";
5
- import { _ as Xe } from "./Tooltip-Cz24YLfw.js";
6
- import { D as Re } from "./DataTable-DYqC2pqu.js";
7
- import { u as Ye, U as je } from "./usePrinter-CiHd1FwD.js";
8
- import qe from "./vue-ui-skeleton-BYssP0K4.js";
9
- import Je from "./vue-ui-accordion-DfUfL2dI.js";
10
- import { u as ye } from "./useNestedProp-B33hazbH.js";
11
- import { _ as Ke } from "./PackageVersion-VkaUzgmt.js";
12
- import { P as Qe } from "./PenAndPaper-DAZYA8Ew.js";
13
- import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const et = ["id"], tt = {
1
+ import { computed as d, onMounted as Se, ref as u, watch as Ne, openBlock as o, createElementBlock as n, normalizeClass as F, normalizeStyle as H, createBlock as $, createCommentVNode as i, unref as p, createSlots as Le, withCtx as c, renderSlot as v, normalizeProps as S, guardReactiveProps as N, createVNode as re, createElementVNode as x, Fragment as ue, renderList as ne, createTextVNode as ie, toDisplayString as E, nextTick as Oe } from "vue";
2
+ import { u as Ie, o as Ae, e as ce, g as Fe, c as ve, t as Ee, a as De, p as D, b as Ve, d as Be, I as de, L as Ge, f as k, X as Me, i as he, x as pe, y as ze, q as We, r as He } from "./index-C1GB0E49.js";
3
+ import { L as Ue } from "./Legend-DrmUpnIK.js";
4
+ import { _ as Xe } from "./Title-W7iJGPjg.js";
5
+ import { _ as Re } from "./Tooltip-Pv3Bhir5.js";
6
+ import { D as Ye } from "./DataTable-rs_YrvMR.js";
7
+ import { u as je, U as qe } from "./usePrinter-y5uHyknw.js";
8
+ import Je from "./vue-ui-skeleton-CE6ibl1T.js";
9
+ import Ke from "./vue-ui-accordion-DWyRC3-h.js";
10
+ import { u as ye } from "./useNestedProp-CNAPgW6E.js";
11
+ import { _ as Qe } from "./PackageVersion-D9rYHrFZ.js";
12
+ import { P as Ze } from "./PenAndPaper-C-KjtyNA.js";
13
+ import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const tt = ["id"], lt = {
15
15
  key: 1,
16
+ ref: "noTitle",
17
+ class: "vue-data-ui-no-title-space",
18
+ style: "height:36px; width: 100%;background:transparent"
19
+ }, at = {
20
+ key: 2,
16
21
  style: "width:100%;background:transparent;padding-bottom:24px"
17
- }, lt = ["xmlns", "viewBox"], at = ["id"], ot = ["stdDeviation"], st = ["d", "stroke", "stroke-width"], rt = ["d", "stroke", "stroke-width"], ut = ["filter"], nt = ["d", "stroke", "stroke-width"], it = ["d", "stroke-width", "onMouseenter", "onClick"], ct = {
18
- key: 4,
22
+ }, ot = ["xmlns", "viewBox"], st = ["id"], rt = ["stdDeviation"], ut = ["d", "stroke", "stroke-width"], nt = ["d", "stroke", "stroke-width"], it = ["filter"], ct = ["d", "stroke", "stroke-width"], vt = ["d", "stroke-width", "onMouseenter", "onClick"], dt = {
23
+ key: 5,
19
24
  class: "vue-data-ui-watermark"
20
- }, vt = ["onClick"], dt = { key: 0 }, ht = { key: 1 }, pt = {
21
- key: 7,
25
+ }, ht = ["onClick"], pt = { key: 0 }, yt = { key: 1 }, ft = {
26
+ key: 8,
22
27
  ref: "source",
23
28
  dir: "auto"
24
- }, yt = ["innerHTML"], ft = {
29
+ }, gt = ["innerHTML"], bt = {
25
30
  __name: "vue-ui-galaxy",
26
31
  props: {
27
32
  config: {
@@ -39,16 +44,16 @@ const et = ["id"], tt = {
39
44
  },
40
45
  emits: ["selectLegend", "selectDatapoint"],
41
46
  setup(fe, { expose: ge, emit: U }) {
42
- const y = fe, { vue_ui_galaxy: be } = Ie(), L = h(() => !!y.dataset && y.dataset.length);
43
- Pe(() => {
47
+ const y = fe, { vue_ui_galaxy: be } = Ie(), L = d(() => !!y.dataset && y.dataset.length);
48
+ Se(() => {
44
49
  X();
45
50
  });
46
51
  function X() {
47
- Oe(y.dataset) ? ce({
52
+ Ae(y.dataset) ? ce({
48
53
  componentName: "VueUiGalaxy",
49
54
  type: "dataset"
50
55
  }) : y.dataset.forEach((t, a) => {
51
- Ae({
56
+ Fe({
52
57
  datasetObject: t,
53
58
  requiredAttributes: ["name", "values"]
54
59
  }).forEach((l) => {
@@ -61,7 +66,7 @@ const et = ["id"], tt = {
61
66
  });
62
67
  });
63
68
  }
64
- const _ = u(ve()), I = u(null), me = u(null), V = u(!1), B = u(""), f = u(null), R = u(0), Y = u(0), j = u(0), q = u(0), e = h({
69
+ const _ = u(ve()), O = u(null), me = u(null), V = u(!1), B = u(""), f = u(null), R = u(0), Y = u(0), j = u(0), q = u(0), e = d({
65
70
  get: () => J(),
66
71
  set: (t) => t
67
72
  });
@@ -72,19 +77,19 @@ const et = ["id"], tt = {
72
77
  });
73
78
  return t.theme ? {
74
79
  ...ye({
75
- userConfig: Fe.vue_ui_galaxy[t.theme] || y.config,
80
+ userConfig: Ee.vue_ui_galaxy[t.theme] || y.config,
76
81
  defaultConfig: t
77
82
  }),
78
- customPalette: Ee[t.theme] || D
83
+ customPalette: De[t.theme] || D
79
84
  } : t;
80
85
  }
81
- Se(() => y.config, (t) => {
86
+ Ne(() => y.config, (t) => {
82
87
  e.value = J(), X(), Y.value += 1, j.value += 1, q.value += 1;
83
88
  }, { deep: !0 });
84
- const { isPrinting: K, isImaging: Q, generatePdf: Z, generateImage: ee } = Ye({
89
+ const { isPrinting: K, isImaging: Q, generatePdf: Z, generateImage: ee } = je({
85
90
  elementId: `galaxy_${_.value}`,
86
91
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
87
- }), ke = h(() => De(e.value.customPalette)), b = u({
92
+ }), ke = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ce = d(() => Ve(e.value.customPalette)), b = u({
88
93
  dataLabels: {
89
94
  show: e.value.style.chart.layout.labels.dataLabels.show
90
95
  },
@@ -94,62 +99,62 @@ const et = ["id"], tt = {
94
99
  height: 180,
95
100
  // or 250 if non fibo
96
101
  width: 250
97
- }), d = u([]);
102
+ }), h = u([]);
98
103
  function M(t) {
99
- d.value.includes(t.id) ? d.value = d.value.filter((a) => a !== t.id) : d.value.push(t.id), U("selectLegend", T.value.map((a) => ({
104
+ h.value.includes(t.id) ? h.value = h.value.filter((a) => a !== t.id) : h.value.push(t.id), U("selectLegend", T.value.map((a) => ({
100
105
  name: a.name,
101
106
  color: a.color,
102
107
  value: a.value
103
108
  })));
104
109
  }
105
- const C = h(() => y.dataset.map((t, a) => ({
110
+ const C = d(() => y.dataset.map((t, a) => ({
106
111
  name: t.name,
107
- color: Ve(t.color) || ke.value[a] || D[a] || D[a % D.length],
108
- value: t.values ? de(t.values).reduce((l, o) => l + o, 0) : 0,
112
+ color: Be(t.color) || Ce.value[a] || D[a] || D[a % D.length],
113
+ value: t.values ? de(t.values).reduce((l, s) => l + s, 0) : 0,
109
114
  absoluteValues: de(t.values),
110
115
  id: ve(),
111
116
  seriesIndex: a
112
117
  })).sort((t, a) => a.value - t.value));
113
- function Ce() {
118
+ function we() {
114
119
  return C.value.map((t) => ({
115
120
  name: t.name,
116
121
  color: t.color,
117
122
  value: t.value
118
123
  }));
119
124
  }
120
- const g = h(() => C.value.filter((t) => !d.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), we = u(190), te = h(() => C.value.filter((t) => !d.value.includes(t.id))), T = h(() => {
125
+ const g = d(() => C.value.filter((t) => !h.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), $e = u(190), te = d(() => C.value.filter((t) => !h.value.includes(t.id))), T = d(() => {
121
126
  const t = [];
122
127
  for (let a = 0; a < te.value.length; a += 1) {
123
128
  const l = te.value[a];
124
- let o = l.value / g.value * we.value;
125
- a > 0 && t.length && (o += t[a - 1].points), t.push({
126
- points: o,
129
+ let s = l.value / g.value * $e.value;
130
+ a > 0 && t.length && (s += t[a - 1].points), t.push({
131
+ points: s,
127
132
  ...l,
128
133
  seriesIndex: a,
129
134
  proportion: l.value / g.value,
130
- path: Be({
131
- points: o,
135
+ path: Ge({
136
+ points: s,
132
137
  startX: 115 + e.value.style.chart.layout.arcs.offsetX,
133
138
  startY: 90 + e.value.style.chart.layout.arcs.offsetY
134
139
  })
135
140
  });
136
141
  }
137
- return t.filter((a, l) => !d.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
142
+ return t.filter((a, l) => !h.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
138
143
  }), P = u(!1);
139
- function $e(t) {
144
+ function xe(t) {
140
145
  P.value = t, R.value += 1;
141
146
  }
142
147
  const z = u(null);
143
- function xe({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: o = !1 }) {
148
+ function _e({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
144
149
  z.value = {
145
150
  datapoint: t,
146
151
  seriesIndex: l,
147
152
  series: C.value,
148
153
  config: e.value
149
- }, V.value = o, f.value = t.id;
154
+ }, V.value = s, f.value = t.id;
150
155
  let r = "";
151
156
  const w = e.value.style.chart.tooltip.customFormat;
152
- pe(w) && Me(() => w({
157
+ pe(w) && ze(() => w({
153
158
  seriesIndex: l,
154
159
  datapoint: t,
155
160
  series: C.value,
@@ -179,21 +184,21 @@ const et = ["id"], tt = {
179
184
  r: e.value.style.chart.tooltip.roundingPercentage
180
185
  })}</b></div>`), B.value = `<div>${r}</div>`);
181
186
  }
182
- const le = h(() => C.value.map((t, a) => ({
187
+ const le = d(() => C.value.map((t, a) => ({
183
188
  ...t,
184
- proportion: (t.value || 0) / y.dataset.map((l) => (l.values || []).reduce((o, r) => o + r, 0)).reduce((l, o) => l + o, 0),
185
- opacity: d.value.includes(t.id) ? 0.5 : 1,
189
+ proportion: (t.value || 0) / y.dataset.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
190
+ opacity: h.value.includes(t.id) ? 0.5 : 1,
186
191
  shape: t.shape || "circle",
187
192
  segregate: () => M(t),
188
- isSegregated: d.value.includes(t.id)
189
- }))), _e = h(() => ({
193
+ isSegregated: h.value.includes(t.id)
194
+ }))), Te = d(() => ({
190
195
  cy: "galaxy-div-legend",
191
196
  backgroundColor: e.value.style.chart.legend.backgroundColor,
192
197
  color: e.value.style.chart.legend.color,
193
198
  fontSize: e.value.style.chart.legend.fontSize,
194
199
  paddingBottom: 12,
195
200
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
196
- })), m = h(() => {
201
+ })), m = d(() => {
197
202
  const t = T.value.map((l) => ({
198
203
  name: l.name,
199
204
  color: l.color
@@ -201,26 +206,26 @@ const et = ["id"], tt = {
201
206
  return { head: t, body: a };
202
207
  });
203
208
  function ae() {
204
- Le(() => {
205
- const t = m.value.head.map((o, r) => [[
206
- o.name
207
- ], [m.value.body[r]], [isNaN(m.value.body[r] / g.value) ? "-" : m.value.body[r] / g.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = ze(a);
208
- We({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
209
+ Oe(() => {
210
+ const t = m.value.head.map((s, r) => [[
211
+ s.name
212
+ ], [m.value.body[r]], [isNaN(m.value.body[r] / g.value) ? "-" : m.value.body[r] / g.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = We(a);
213
+ He({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
209
214
  });
210
215
  }
211
- const O = h(() => {
216
+ const I = d(() => {
212
217
  const t = [
213
218
  ' <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>',
214
219
  k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: g.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
215
220
  "100%"
216
221
  ], a = m.value.head.map((r, w) => {
217
- const Te = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[w], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
222
+ const Pe = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[w], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
218
223
  return [
219
224
  {
220
225
  color: r.color,
221
226
  name: r.name
222
227
  },
223
- Te,
228
+ Pe,
224
229
  isNaN(m.value.body[w] / g.value) ? "-" : k({
225
230
  v: m.value.body[w] / g.value * 100,
226
231
  s: "%",
@@ -262,30 +267,31 @@ const et = ["id"], tt = {
262
267
  A.value = !A.value;
263
268
  }
264
269
  return ge({
265
- getData: Ce,
270
+ getData: we,
266
271
  generatePdf: Z,
267
272
  generateCsv: ae,
268
273
  generateImage: ee,
269
274
  toggleTable: oe,
270
275
  toggleTooltip: se,
271
276
  toggleAnnotator: W
272
- }), (t, a) => (s(), n("div", {
277
+ }), (t, a) => (o(), n("div", {
273
278
  ref_key: "galaxyChart",
274
- ref: I,
279
+ ref: O,
275
280
  class: F(`vue-ui-galaxy ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
276
281
  style: H(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
277
282
  id: `galaxy_${_.value}`
278
283
  }, [
279
- e.value.userOptions.buttons.annotator ? (s(), $(Qe, {
284
+ e.value.userOptions.buttons.annotator ? (o(), $(Ze, {
280
285
  key: 0,
281
- parent: I.value,
286
+ parent: O.value,
282
287
  backgroundColor: e.value.style.chart.backgroundColor,
283
288
  color: e.value.style.chart.color,
284
289
  active: A.value,
285
290
  onClose: W
286
291
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
287
- e.value.style.chart.title.text ? (s(), n("div", tt, [
288
- (s(), $(Ue, {
292
+ ke.value ? (o(), n("div", lt, null, 512)) : i("", !0),
293
+ e.value.style.chart.title.text ? (o(), n("div", at, [
294
+ (o(), $(Xe, {
289
295
  key: `title_${Y.value}`,
290
296
  config: {
291
297
  title: {
@@ -299,7 +305,7 @@ const et = ["id"], tt = {
299
305
  }
300
306
  }, null, 8, ["config"]))
301
307
  ])) : i("", !0),
302
- e.value.userOptions.show && L.value ? (s(), $(je, {
308
+ e.value.userOptions.show && L.value ? (o(), $(qe, {
303
309
  ref_key: "details",
304
310
  ref: me,
305
311
  key: `user_option_${R.value}`,
@@ -317,18 +323,18 @@ const et = ["id"], tt = {
317
323
  isTooltip: b.value.showTooltip,
318
324
  isFullscreen: P.value,
319
325
  titles: { ...e.value.userOptions.buttonTitles },
320
- chartElement: I.value,
326
+ chartElement: O.value,
321
327
  position: e.value.userOptions.position,
322
328
  hasAnnotator: e.value.userOptions.buttons.annotator,
323
329
  isAnnotation: A.value,
324
- onToggleFullscreen: $e,
330
+ onToggleFullscreen: xe,
325
331
  onGeneratePdf: p(Z),
326
332
  onGenerateCsv: ae,
327
333
  onGenerateImage: p(ee),
328
334
  onToggleTable: oe,
329
335
  onToggleTooltip: se,
330
336
  onToggleAnnotator: W
331
- }, Ne({ _: 2 }, [
337
+ }, Le({ _: 2 }, [
332
338
  t.$slots.optionTooltip ? {
333
339
  name: "optionTooltip",
334
340
  fn: c(() => [
@@ -366,27 +372,27 @@ const et = ["id"], tt = {
366
372
  } : void 0,
367
373
  t.$slots.optionFullscreen ? {
368
374
  name: "optionFullscreen",
369
- fn: c(({ toggleFullscreen: l, isFullscreen: o }) => [
370
- v(t.$slots, "optionFullscreen", S(N({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
375
+ fn: c(({ toggleFullscreen: l, isFullscreen: s }) => [
376
+ v(t.$slots, "optionFullscreen", S(N({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
371
377
  ]),
372
378
  key: "5"
373
379
  } : void 0,
374
380
  t.$slots.optionAnnotator ? {
375
381
  name: "optionAnnotator",
376
- fn: c(({ toggleAnnotator: l, isAnnotator: o }) => [
377
- v(t.$slots, "optionAnnotator", S(N({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
382
+ fn: c(({ toggleAnnotator: l, isAnnotator: s }) => [
383
+ v(t.$slots, "optionAnnotator", S(N({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
378
384
  ]),
379
385
  key: "6"
380
386
  } : void 0
381
387
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : i("", !0),
382
- L.value ? (s(), n("svg", {
383
- key: 3,
384
- xmlns: p(Ge),
388
+ L.value ? (o(), n("svg", {
389
+ key: 4,
390
+ xmlns: p(Me),
385
391
  class: F({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
386
392
  viewBox: `0 0 ${G.value.width} ${G.value.height}`,
387
393
  style: H(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
388
394
  }, [
389
- re(Ke),
395
+ re(Qe),
390
396
  x("defs", null, [
391
397
  x("filter", {
392
398
  id: `blur_${_.value}`,
@@ -398,19 +404,19 @@ const et = ["id"], tt = {
398
404
  x("feGaussianBlur", {
399
405
  in: "SourceGraphic",
400
406
  stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
401
- }, null, 8, ot)
402
- ], 8, at)
407
+ }, null, 8, rt)
408
+ ], 8, st)
403
409
  ]),
404
- (s(!0), n(ue, null, ne(T.value, (l) => (s(), n("g", null, [
405
- l.value ? (s(), n("path", {
410
+ (o(!0), n(ue, null, ne(T.value, (l) => (o(), n("g", null, [
411
+ l.value ? (o(), n("path", {
406
412
  key: 0,
407
413
  d: l.path,
408
414
  fill: "none",
409
415
  stroke: e.value.style.chart.backgroundColor,
410
416
  "stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
411
417
  "stroke-linecap": "round"
412
- }, null, 8, st)) : i("", !0),
413
- l.value ? (s(), n("path", {
418
+ }, null, 8, ut)) : i("", !0),
419
+ l.value ? (o(), n("path", {
414
420
  key: 1,
415
421
  d: l.path,
416
422
  fill: "none",
@@ -418,8 +424,8 @@ const et = ["id"], tt = {
418
424
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
419
425
  "stroke-linecap": "round",
420
426
  class: F(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
421
- }, null, 10, rt)) : i("", !0),
422
- l.value && e.value.style.chart.layout.arcs.gradient.show ? (s(), n("g", {
427
+ }, null, 10, nt)) : i("", !0),
428
+ l.value && e.value.style.chart.layout.arcs.gradient.show ? (o(), n("g", {
423
429
  key: 2,
424
430
  filter: `url(#blur_${_.value})`
425
431
  }, [
@@ -430,20 +436,20 @@ const et = ["id"], tt = {
430
436
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
431
437
  "stroke-linecap": "round",
432
438
  class: F(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
433
- }, null, 10, nt)
434
- ], 8, ut)) : i("", !0)
439
+ }, null, 10, ct)
440
+ ], 8, it)) : i("", !0)
435
441
  ]))), 256)),
436
- (s(!0), n(ue, null, ne(T.value, (l, o) => (s(), n("g", null, [
437
- l.value ? (s(), n("path", {
442
+ (o(!0), n(ue, null, ne(T.value, (l, s) => (o(), n("g", null, [
443
+ l.value ? (o(), n("path", {
438
444
  key: 0,
439
445
  d: l.path,
440
446
  fill: "none",
441
447
  stroke: "transparent",
442
448
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
443
449
  "stroke-linecap": "round",
444
- onMouseenter: (r) => xe({
450
+ onMouseenter: (r) => _e({
445
451
  datapoint: l,
446
- relativeIndex: o,
452
+ relativeIndex: s,
447
453
  seriesIndex: l.seriesIndex,
448
454
  show: !0
449
455
  }),
@@ -451,15 +457,15 @@ const et = ["id"], tt = {
451
457
  V.value = !1, f.value = null;
452
458
  }),
453
459
  onClick: (r) => U("selectDatapoint", l)
454
- }, null, 40, it)) : i("", !0)
460
+ }, null, 40, vt)) : i("", !0)
455
461
  ]))), 256)),
456
462
  v(t.$slots, "svg", { svg: G.value }, void 0, !0)
457
- ], 14, lt)) : i("", !0),
458
- t.$slots.watermark ? (s(), n("div", ct, [
463
+ ], 14, ot)) : i("", !0),
464
+ t.$slots.watermark ? (o(), n("div", dt, [
459
465
  v(t.$slots, "watermark", S(N({ isPrinting: p(K) || p(Q) })), void 0, !0)
460
466
  ])) : i("", !0),
461
- L.value ? i("", !0) : (s(), $(qe, {
462
- key: 5,
467
+ L.value ? i("", !0) : (o(), $(Je, {
468
+ key: 6,
463
469
  config: {
464
470
  type: "galaxy",
465
471
  style: {
@@ -470,16 +476,16 @@ const et = ["id"], tt = {
470
476
  }
471
477
  }
472
478
  }, null, 8, ["config"])),
473
- e.value.style.chart.legend.show ? (s(), $(He, {
479
+ e.value.style.chart.legend.show ? (o(), $(Ue, {
474
480
  key: `legend_${q.value}`,
475
481
  legendSet: le.value,
476
- config: _e.value,
482
+ config: Te.value,
477
483
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => M(l))
478
484
  }, {
479
- item: c(({ legend: l, index: o }) => [
485
+ item: c(({ legend: l, index: s }) => [
480
486
  x("div", {
481
487
  onClick: (r) => M(l),
482
- style: H(`opacity:${d.value.includes(l.id) ? 0.5 : 1}`)
488
+ style: H(`opacity:${h.value.includes(l.id) ? 0.5 : 1}`)
483
489
  }, [
484
490
  ie(E(l.name) + ": " + E(p(he)(
485
491
  e.value.style.chart.layout.labels.dataLabels.formatter,
@@ -490,22 +496,22 @@ const et = ["id"], tt = {
490
496
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
491
497
  r: e.value.style.chart.legend.roundingValue
492
498
  }),
493
- { datapoint: l, seriesIndex: o }
499
+ { datapoint: l, seriesIndex: s }
494
500
  )) + " ", 1),
495
- d.value.includes(l.id) ? (s(), n("span", ht, " ( - % ) ")) : (s(), n("span", dt, " (" + E(isNaN(l.value / g.value) ? "-" : p(k)({
501
+ h.value.includes(l.id) ? (o(), n("span", yt, " ( - % ) ")) : (o(), n("span", pt, " (" + E(isNaN(l.value / g.value) ? "-" : p(k)({
496
502
  v: l.value / g.value * 100,
497
503
  s: "%",
498
504
  r: e.value.style.chart.legend.roundingPercentage
499
505
  })) + ") ", 1))
500
- ], 12, vt)
506
+ ], 12, ht)
501
507
  ]),
502
508
  _: 1
503
509
  }, 8, ["legendSet", "config"])) : i("", !0),
504
510
  v(t.$slots, "legend", { legend: le.value }, void 0, !0),
505
- t.$slots.source ? (s(), n("div", pt, [
511
+ t.$slots.source ? (o(), n("div", ft, [
506
512
  v(t.$slots, "source", {}, void 0, !0)
507
513
  ], 512)) : i("", !0),
508
- re(Xe, {
514
+ re(Re, {
509
515
  show: b.value.showTooltip && V.value,
510
516
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
511
517
  color: e.value.style.chart.tooltip.color,
@@ -516,7 +522,7 @@ const et = ["id"], tt = {
516
522
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
517
523
  position: e.value.style.chart.tooltip.position,
518
524
  offsetY: e.value.style.chart.tooltip.offsetY,
519
- parent: I.value,
525
+ parent: O.value,
520
526
  content: B.value,
521
527
  isCustom: p(pe)(e.value.style.chart.tooltip.customFormat)
522
528
  }, {
@@ -528,8 +534,8 @@ const et = ["id"], tt = {
528
534
  ]),
529
535
  _: 3
530
536
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
531
- L.value ? (s(), $(Je, {
532
- key: 8,
537
+ L.value ? (o(), $(Ke, {
538
+ key: 9,
533
539
  hideDetails: "",
534
540
  config: {
535
541
  open: b.value.showTable,
@@ -545,12 +551,12 @@ const et = ["id"], tt = {
545
551
  }
546
552
  }, {
547
553
  content: c(() => [
548
- (s(), $(Re, {
554
+ (o(), $(Ye, {
549
555
  key: `table_${j.value}`,
550
- colNames: O.value.colNames,
551
- head: O.value.head,
552
- body: O.value.body,
553
- config: O.value.config,
556
+ colNames: I.value.colNames,
557
+ head: I.value.head,
558
+ body: I.value.body,
559
+ config: I.value.config,
554
560
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
555
561
  onClose: a[2] || (a[2] = (l) => b.value.showTable = !1)
556
562
  }, {
@@ -558,7 +564,7 @@ const et = ["id"], tt = {
558
564
  x("div", {
559
565
  innerHTML: l,
560
566
  style: { display: "flex", "align-items": "center" }
561
- }, null, 8, yt)
567
+ }, null, 8, gt)
562
568
  ]),
563
569
  td: c(({ td: l }) => [
564
570
  ie(E(l.name || l), 1)
@@ -568,9 +574,9 @@ const et = ["id"], tt = {
568
574
  ]),
569
575
  _: 1
570
576
  }, 8, ["config"])) : i("", !0)
571
- ], 14, et));
577
+ ], 14, tt));
572
578
  }
573
- }, Lt = /* @__PURE__ */ Ze(ft, [["__scopeId", "data-v-f8542232"]]);
579
+ }, It = /* @__PURE__ */ et(bt, [["__scopeId", "data-v-9e3163ed"]]);
574
580
  export {
575
- Lt as default
581
+ It as default
576
582
  };