vue-data-ui 2.4.64 → 2.4.65

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 (164) hide show
  1. package/README.md +66 -34
  2. package/dist/{Arrow-DSkIkWAr.cjs → Arrow-BKPURRQ6.cjs} +1 -1
  3. package/dist/{Arrow-CRM8J83L.js → Arrow-C7ihyW4O.js} +1 -1
  4. package/dist/{BaseIcon-D13bKBUN.cjs → BaseIcon-CyTdOpDr.cjs} +1 -1
  5. package/dist/{BaseIcon-Axko0XAg.js → BaseIcon-DpaRUsHC.js} +1 -1
  6. package/dist/{DataTable-DnrSae6c.cjs → DataTable-CwzQ-L0W.cjs} +1 -1
  7. package/dist/{DataTable-B2hVpPSW.js → DataTable-DX_jYNWG.js} +2 -2
  8. package/dist/Legend-BMTBtkoQ.cjs +1 -0
  9. package/dist/Legend-DGUxLqhs.js +70 -0
  10. package/dist/{PackageVersion-B684aQUP.js → PackageVersion-B9_Ed72C.js} +1 -1
  11. package/dist/{PackageVersion-FzHnQSp-.cjs → PackageVersion-D_9QTWVm.cjs} +1 -1
  12. package/dist/{PenAndPaper-C6I0ckZw.cjs → PenAndPaper-CfGYucSm.cjs} +1 -1
  13. package/dist/{PenAndPaper-mC0kh-S8.js → PenAndPaper-CzjoEhsO.js} +3 -3
  14. package/dist/{Shape-eJUVLesM.cjs → Shape-CZB2KQ0L.cjs} +1 -1
  15. package/dist/{Shape-DbnYh6z4.js → Shape-aXd72O71.js} +1 -1
  16. package/dist/{Slicer-C9bF7-B-.cjs → Slicer-ChxjRhai.cjs} +1 -1
  17. package/dist/{Slicer-BBolqweG.js → Slicer-CopZgIzh.js} +2 -2
  18. package/dist/{Title-DuMgnso9.cjs → Title-BnRtxxP4.cjs} +1 -1
  19. package/dist/{Title-DqZErnpZ.js → Title-DyUTj8GI.js} +1 -1
  20. package/dist/{Tooltip-DddRc8qD.js → Tooltip-B-0uEV3l.js} +1 -1
  21. package/dist/{Tooltip-Cz3eQmMV.cjs → Tooltip-CUoQNXZK.cjs} +1 -1
  22. package/dist/documentation/installation.md +34 -34
  23. package/dist/{index-DjTPIx3R.js → index-BVNcFEqn.js} +398 -393
  24. package/dist/{index-D-xYtUSL.cjs → index-CKgv8c-A.cjs} +5 -5
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-BN-VfUfj.cjs → useNestedProp-0Mn5Z6Ae.cjs} +1 -1
  27. package/dist/{useNestedProp-BNmCbG1v.js → useNestedProp-D79dWdel.js} +1 -1
  28. package/dist/{usePrinter-BFF1xn1s.js → usePrinter-Bcfs_I6G.js} +1 -1
  29. package/dist/{usePrinter-pT-a_sFr.cjs → usePrinter-Gkda9yEJ.cjs} +1 -1
  30. package/dist/{vue-data-ui-CPMtS74M.js → vue-data-ui-CXxR_hXg.js} +60 -60
  31. package/dist/{vue-data-ui-rWaUsffe.cjs → vue-data-ui-DAwVdbN1.cjs} +1 -1
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +9 -9
  34. package/dist/{vue-ui-3d-bar-CxcO1rW_.cjs → vue-ui-3d-bar-baVCskbW.cjs} +1 -1
  35. package/dist/{vue-ui-3d-bar-Cpx0rTUr.js → vue-ui-3d-bar-mxTzin_H.js} +9 -9
  36. package/dist/{vue-ui-accordion-CDTXGeL0.js → vue-ui-accordion-GNblUy42.js} +3 -3
  37. package/dist/{vue-ui-accordion-B1MkyNta.cjs → vue-ui-accordion-xV0it5je.cjs} +1 -1
  38. package/dist/{vue-ui-age-pyramid-CSwlc2bd.js → vue-ui-age-pyramid-DFBuvQgd.js} +10 -10
  39. package/dist/{vue-ui-age-pyramid-CEvYSZnY.cjs → vue-ui-age-pyramid-ULh6qSJs.cjs} +1 -1
  40. package/dist/{vue-ui-annotator-BUoz1Y87.cjs → vue-ui-annotator-C89rtAuX.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-D5dS0BTP.js → vue-ui-annotator-XbCqxBQ0.js} +1 -1
  42. package/dist/{vue-ui-bullet-RDyK79l0.js → vue-ui-bullet-D_CS85II.js} +8 -8
  43. package/dist/{vue-ui-bullet-Bcx-V2GQ.cjs → vue-ui-bullet-DxRqDaiw.cjs} +1 -1
  44. package/dist/{vue-ui-candlestick-s-Z42Lns.js → vue-ui-candlestick-C8mUQTPF.js} +11 -11
  45. package/dist/{vue-ui-candlestick-CkjNRVDz.cjs → vue-ui-candlestick-CZxpFMKR.cjs} +1 -1
  46. package/dist/{vue-ui-carousel-table-DJNIAgAU.js → vue-ui-carousel-table-D5iLQe38.js} +4 -4
  47. package/dist/{vue-ui-carousel-table-CoLBbF34.cjs → vue-ui-carousel-table-DKcc-jNW.cjs} +1 -1
  48. package/dist/{vue-ui-chestnut-P1hAffNt.cjs → vue-ui-chestnut-BFV6pTfc.cjs} +1 -1
  49. package/dist/{vue-ui-chestnut-_90914ye.js → vue-ui-chestnut-BqGCLMiu.js} +8 -8
  50. package/dist/{vue-ui-cursor-BoGnTfem.cjs → vue-ui-cursor-BJjzKpLm.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-Doo6HM0B.js → vue-ui-cursor-BysQ-bDH.js} +2 -2
  52. package/dist/{vue-ui-dashboard-mC_BLuIN.cjs → vue-ui-dashboard-C0L_0gyc.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-BZKKb8cZ.js → vue-ui-dashboard-zrJGrAmc.js} +2 -2
  54. package/dist/{vue-ui-digits-Z8AprQhX.js → vue-ui-digits-B5P9UheE.js} +2 -2
  55. package/dist/{vue-ui-digits-DFwg7Et3.cjs → vue-ui-digits-BG_xts2G.cjs} +1 -1
  56. package/dist/vue-ui-donut-7tNjrx1E.js +1173 -0
  57. package/dist/vue-ui-donut-B9M9CW9D.cjs +1 -0
  58. package/dist/{vue-ui-donut-evolution-CK_0JI6T.js → vue-ui-donut-evolution-C7FpJ59u.js} +11 -11
  59. package/dist/{vue-ui-donut-evolution-D-6gM9JV.cjs → vue-ui-donut-evolution-CEvGFdxK.cjs} +1 -1
  60. package/dist/{vue-ui-dumbbell-C4y9e7Gz.js → vue-ui-dumbbell-CdxHbLz6.js} +10 -10
  61. package/dist/{vue-ui-dumbbell-DS_3Z5cT.cjs → vue-ui-dumbbell-DP27C8NG.cjs} +1 -1
  62. package/dist/{vue-ui-flow-XrJvcKqr.js → vue-ui-flow-cKQSDKfP.js} +9 -9
  63. package/dist/{vue-ui-flow-C2sVVaok.cjs → vue-ui-flow-yW5Pa_MJ.cjs} +1 -1
  64. package/dist/{vue-ui-funnel-DxhsOEbU.cjs → vue-ui-funnel-73aPtRj5.cjs} +1 -1
  65. package/dist/{vue-ui-funnel-CHhVPjnM.js → vue-ui-funnel-qPYVhQpD.js} +9 -9
  66. package/dist/{vue-ui-galaxy-Bd8p21nC.js → vue-ui-galaxy-2SRA_RYP.js} +11 -11
  67. package/dist/{vue-ui-galaxy-CRsan4r5.cjs → vue-ui-galaxy-9E5GUtBD.cjs} +1 -1
  68. package/dist/vue-ui-gauge-CBbvp9DU.cjs +1 -0
  69. package/dist/{vue-ui-gauge-B-nOtSwD.js → vue-ui-gauge-Cpvg4BBS.js} +236 -224
  70. package/dist/{vue-ui-gizmo-tQNlhr2p.js → vue-ui-gizmo-B5v0g_Ly.js} +3 -3
  71. package/dist/{vue-ui-gizmo-C3GRBcSW.cjs → vue-ui-gizmo-BkNuHnnf.cjs} +1 -1
  72. package/dist/{vue-ui-heatmap-DwalrFVm.cjs → vue-ui-heatmap-CcUuOqGT.cjs} +1 -1
  73. package/dist/{vue-ui-heatmap-6MpvCBmt.js → vue-ui-heatmap-dNeKqLC0.js} +10 -10
  74. package/dist/{vue-ui-history-plot-Hk-UrZtS.js → vue-ui-history-plot-COtfhHw8.js} +11 -11
  75. package/dist/{vue-ui-history-plot-FgapeA0e.cjs → vue-ui-history-plot-p18wqHFY.cjs} +1 -1
  76. package/dist/{vue-ui-kpi-CKZQsJnV.cjs → vue-ui-kpi-DCn50wZ8.cjs} +1 -1
  77. package/dist/{vue-ui-kpi-DrCH9EuP.js → vue-ui-kpi-HyZOfh63.js} +3 -3
  78. package/dist/{vue-ui-mini-loader-BSKXq7CA.cjs → vue-ui-mini-loader-DaPxFP7e.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-BLvcc-fM.js → vue-ui-mini-loader-Dp7zc34Q.js} +2 -2
  80. package/dist/{vue-ui-molecule-Ch4_SJxL.js → vue-ui-molecule-Oim4-hUn.js} +11 -11
  81. package/dist/{vue-ui-molecule-D0IHSilQ.cjs → vue-ui-molecule-zkdP7FYM.cjs} +1 -1
  82. package/dist/{vue-ui-mood-radar-DNPseOpJ.cjs → vue-ui-mood-radar-CKdM8iDY.cjs} +1 -1
  83. package/dist/{vue-ui-mood-radar-Gv0k1T46.js → vue-ui-mood-radar-DsSO6gfa.js} +11 -11
  84. package/dist/{vue-ui-nested-donuts-DY8Hig_-.js → vue-ui-nested-donuts-B5NPJfg6.js} +11 -11
  85. package/dist/{vue-ui-nested-donuts-QOvJJc30.cjs → vue-ui-nested-donuts-DbTXLan2.cjs} +1 -1
  86. package/dist/{vue-ui-onion-Ca0Tcbu3.cjs → vue-ui-onion-0Od2Vodu.cjs} +1 -1
  87. package/dist/{vue-ui-onion-Ct_1j1fA.js → vue-ui-onion-CID0DNSa.js} +11 -11
  88. package/dist/{vue-ui-parallel-coordinate-plot-DkYcNRQk.js → vue-ui-parallel-coordinate-plot-DAfBgYbI.js} +12 -12
  89. package/dist/{vue-ui-parallel-coordinate-plot-C_opo0qJ.cjs → vue-ui-parallel-coordinate-plot-WtcXCTd-.cjs} +1 -1
  90. package/dist/{vue-ui-quadrant-DwAKm2Yj.js → vue-ui-quadrant-063Cq0di.js} +12 -12
  91. package/dist/{vue-ui-quadrant-BJuoZ_lv.cjs → vue-ui-quadrant-B6WNmecC.cjs} +1 -1
  92. package/dist/{vue-ui-quick-chart-5ga8waQS.cjs → vue-ui-quick-chart-CwNFF0R4.cjs} +1 -1
  93. package/dist/{vue-ui-quick-chart-D5V73GXO.js → vue-ui-quick-chart-DCPwhpbx.js} +9 -9
  94. package/dist/{vue-ui-radar-CmE4wCWD.js → vue-ui-radar-BmY47r3J.js} +12 -12
  95. package/dist/{vue-ui-radar-C3kzmi1G.cjs → vue-ui-radar-DcnVyGrM.cjs} +1 -1
  96. package/dist/{vue-ui-rating-CE7LGiFS.cjs → vue-ui-rating-D_9Fqvd_.cjs} +1 -1
  97. package/dist/{vue-ui-rating-SAph_BKh.js → vue-ui-rating-b2SThMJw.js} +2 -2
  98. package/dist/{vue-ui-relation-circle-D1JdWshk.js → vue-ui-relation-circle-B0Q2FdDW.js} +7 -7
  99. package/dist/{vue-ui-relation-circle-dQQw_mgd.cjs → vue-ui-relation-circle-Cg3QL_aP.cjs} +1 -1
  100. package/dist/vue-ui-rings-BQdgj7bV.cjs +2 -0
  101. package/dist/vue-ui-rings-DlsKpDkQ.js +666 -0
  102. package/dist/{vue-ui-scatter-BrOg2xiN.cjs → vue-ui-scatter-D6Yb6VpP.cjs} +1 -1
  103. package/dist/{vue-ui-scatter-DE4X0DQI.js → vue-ui-scatter-E_WveJ4p.js} +36 -36
  104. package/dist/{vue-ui-screenshot-CyWEEkg_.js → vue-ui-screenshot-CbLsOjZv.js} +1 -1
  105. package/dist/{vue-ui-screenshot-BXq82cfA.cjs → vue-ui-screenshot-DhvqiF7S.cjs} +1 -1
  106. package/dist/{vue-ui-skeleton-D3zg7qd2.cjs → vue-ui-skeleton-73YO0ovP.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-Dt9cA-wa.js → vue-ui-skeleton-Bgf16k10.js} +3 -3
  108. package/dist/{vue-ui-smiley-FUNmIUpN.cjs → vue-ui-smiley-D-QDQ3Re.cjs} +1 -1
  109. package/dist/{vue-ui-smiley-uRlPgN-A.js → vue-ui-smiley-ne5pBMum.js} +2 -2
  110. package/dist/{vue-ui-spark-trend-5KFnHsjs.js → vue-ui-spark-trend-BkiRBoVD.js} +13 -13
  111. package/dist/{vue-ui-spark-trend-DYXJMJLz.cjs → vue-ui-spark-trend-Dq1hox65.cjs} +1 -1
  112. package/dist/{vue-ui-sparkbar-D-Yk9z4E.js → vue-ui-sparkbar--Q2alJoW.js} +4 -4
  113. package/dist/{vue-ui-sparkbar-BUg0DhGI.cjs → vue-ui-sparkbar-DV5CtFQY.cjs} +1 -1
  114. package/dist/{vue-ui-sparkgauge-DVLZofTg.js → vue-ui-sparkgauge-BOcEbdij.js} +4 -4
  115. package/dist/{vue-ui-sparkgauge-DvDPPyau.cjs → vue-ui-sparkgauge-BVNkRW_m.cjs} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-Dqgl_5RN.js → vue-ui-sparkhistogram-CIJmWjb4.js} +5 -5
  117. package/dist/{vue-ui-sparkhistogram-GMZxK2oC.cjs → vue-ui-sparkhistogram-CUiNT8vT.cjs} +1 -1
  118. package/dist/{vue-ui-sparkline-C96IUWwW.cjs → vue-ui-sparkline-BFlRfhM6.cjs} +1 -1
  119. package/dist/{vue-ui-sparkline-CPEHgvq0.js → vue-ui-sparkline-lY0wS6kU.js} +92 -92
  120. package/dist/{vue-ui-sparkstackbar-BroOR6B-.cjs → vue-ui-sparkstackbar-CGeg_k0k.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-DCceVnjJ.js → vue-ui-sparkstackbar-GHM4EY7-.js} +5 -5
  122. package/dist/vue-ui-stackbar-CQur8zP0.cjs +6 -0
  123. package/dist/vue-ui-stackbar-uR3T6rG4.js +1114 -0
  124. package/dist/{vue-ui-strip-plot-BYO72loZ.cjs → vue-ui-strip-plot-CBYrZEIt.cjs} +1 -1
  125. package/dist/{vue-ui-strip-plot-CJxPAY9n.js → vue-ui-strip-plot-CNFrYVZ6.js} +11 -11
  126. package/dist/{vue-ui-table-BTuCiJb7.cjs → vue-ui-table-BbTwHDCo.cjs} +1 -1
  127. package/dist/{vue-ui-table-DKoRX7gX.js → vue-ui-table-DZV-uDG2.js} +1 -1
  128. package/dist/{vue-ui-table-heatmap-4RZ4Bo12.js → vue-ui-table-heatmap-DQBm_9Z3.js} +14 -14
  129. package/dist/{vue-ui-table-heatmap-L3Pg7wC0.cjs → vue-ui-table-heatmap-DSgQpgxG.cjs} +1 -1
  130. package/dist/{vue-ui-table-sparkline-GaHw2cTh.cjs → vue-ui-table-sparkline-AFK2LNsw.cjs} +1 -1
  131. package/dist/{vue-ui-table-sparkline-CVWPCRfz.js → vue-ui-table-sparkline-wWAVQ0es.js} +5 -5
  132. package/dist/{vue-ui-thermometer-VC967j2q.cjs → vue-ui-thermometer-CGFQfRUy.cjs} +1 -1
  133. package/dist/{vue-ui-thermometer-BFqURwxY.js → vue-ui-thermometer-DRZWIAFj.js} +7 -7
  134. package/dist/{vue-ui-timer-Bou1Zg22.cjs → vue-ui-timer-C-RRrh5f.cjs} +1 -1
  135. package/dist/{vue-ui-timer-mPQTAvi1.js → vue-ui-timer-D2_1bbpl.js} +5 -5
  136. package/dist/{vue-ui-tiremarks-ClzgPlHg.cjs → vue-ui-tiremarks-CIeid_A2.cjs} +1 -1
  137. package/dist/{vue-ui-tiremarks-DyEXFKpK.js → vue-ui-tiremarks-CdX2b-Fq.js} +7 -7
  138. package/dist/{vue-ui-treemap-pCrT4KlF.js → vue-ui-treemap-CgzgE20q.js} +11 -11
  139. package/dist/{vue-ui-treemap-DEUSAGw0.cjs → vue-ui-treemap-r8xOrE8F.cjs} +1 -1
  140. package/dist/vue-ui-vertical-bar-BcxAjcoh.cjs +4 -0
  141. package/dist/vue-ui-vertical-bar-v9LvL35a.js +936 -0
  142. package/dist/{vue-ui-waffle-DkHP1plA.js → vue-ui-waffle-0mHE8fud.js} +11 -11
  143. package/dist/{vue-ui-waffle-DjcwBxNh.cjs → vue-ui-waffle-5h_9tS3C.cjs} +1 -1
  144. package/dist/{vue-ui-wheel-L8vxpKcv.js → vue-ui-wheel-BWL-td7-.js} +7 -7
  145. package/dist/{vue-ui-wheel-Y2Sny-6a.cjs → vue-ui-wheel-rL5Shua2.cjs} +1 -1
  146. package/dist/{vue-ui-word-cloud-B9UJmesc.cjs → vue-ui-word-cloud-2E23n-B8.cjs} +1 -1
  147. package/dist/{vue-ui-word-cloud-DIBB7HIj.js → vue-ui-word-cloud-OkAF9hSC.js} +10 -10
  148. package/dist/{vue-ui-xy-QmsiPNcv.js → vue-ui-xy-C8E2WzGt.js} +866 -819
  149. package/dist/vue-ui-xy-DbJNxL5O.cjs +3 -0
  150. package/dist/{vue-ui-xy-canvas-CeKH8VIR.js → vue-ui-xy-canvas-C_0c8FlA.js} +31 -31
  151. package/dist/{vue-ui-xy-canvas-2aqG9yv5.cjs → vue-ui-xy-canvas-I7rw1uDf.cjs} +1 -1
  152. package/package.json +1 -1
  153. package/dist/Legend-CzY3Yhr8.js +0 -68
  154. package/dist/Legend-DIfEhYtz.cjs +0 -1
  155. package/dist/vue-ui-donut-C6i_KVvc.js +0 -1122
  156. package/dist/vue-ui-donut-uH8SS5Ms.cjs +0 -1
  157. package/dist/vue-ui-gauge-D0Mk9_aI.cjs +0 -1
  158. package/dist/vue-ui-rings-C-7vrgjN.js +0 -628
  159. package/dist/vue-ui-rings-kFhuaBvY.cjs +0 -2
  160. package/dist/vue-ui-stackbar-Bv7RiRae.cjs +0 -6
  161. package/dist/vue-ui-stackbar-KznnSCkj.js +0 -1061
  162. package/dist/vue-ui-vertical-bar-DxkQK0tN.cjs +0 -4
  163. package/dist/vue-ui-vertical-bar-QF9epdei.js +0 -888
  164. package/dist/vue-ui-xy-DwidR-Vl.cjs +0 -3
@@ -1,6 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./index-D-xYtUSL.cjs"),Me=require("./useNestedProp-BN-VfUfj.cjs"),Te=require("./useResponsive-BJ7DTGpm.cjs"),Ve=require("./usePrinter-pT-a_sFr.cjs"),tt=require("./Slicer-C9bF7-B-.cjs"),at=require("./Tooltip-Cz3eQmMV.cjs"),lt=require("./Title-DuMgnso9.cjs"),ot=require("./Legend-DIfEhYtz.cjs"),rt=require("./vue-ui-accordion-B1MkyNta.cjs"),st=require("./DataTable-DnrSae6c.cjs"),nt=require("./vue-ui-skeleton-D3zg7qd2.cjs"),it=require("./PackageVersion-FzHnQSp-.cjs"),ut=require("./PenAndPaper-C6I0ckZw.cjs"),ct=require("./useUserOptionState-BgepsfED.cjs"),dt=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),vt=["id"],ht=["xmlns","viewBox"],mt=["x","y","width","height"],gt={key:1},yt=["id"],bt=["stop-color"],pt=["stop-color"],ft=["stop-color"],kt=["x1","x2","y1","y2","stroke"],xt=["x1","x2","y1","y2","stroke"],wt=["x1","x2","y1","y2","stroke"],Bt=["x1","x2","y1","y2","stroke"],Ct=["x","y","height","rx","width","fill","stroke","stroke-width"],St=["x","y","width","rx","height","fill","stroke","stroke-width"],zt=["x1","x2","y1","y2","stroke","stroke-width"],Lt=["x1","x2","y1","y2","stroke","stroke-width"],Nt=["x","y","font-size","fill","font-weight"],Et=["transform","font-size","fill","font-weight"],_t=["x","y","font-size","fill","font-weight"],$t={key:0},Mt=["x","y","font-size","font-weight","fill"],Tt=["x","y","font-size","fill","font-weight"],Vt={key:0},Pt=["x","y","font-size","font-weight","fill"],Ft=["x1","x2","y1","y2","stroke"],It=["x","y","font-size","font-weight","fill"],Ot=["x1","x2","y1","y2","stroke"],Rt=["font-size","font-weight","fill","text-anchor","transform"],Dt={key:0},At={key:1},Ht=["text-anchor","font-size","font-weight","fill","transform","onClick"],qt={key:0},Ut={key:1},Wt=["font-size","font-weight","fill","x","y","onClick"],Yt=["x","y","width","height","onClick","onMouseenter","fill"],Xt=["x","y","width","height","onClick","onMouseenter","fill"],Gt={key:4,class:"vue-data-ui-watermark"},Jt=["onClick"],Zt=["innerHTML"],Kt={__name:"vue-ui-stackbar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint","selectLegend","selectTimeLabel"],setup(X,{expose:Pe,emit:G}){const v=X,{vue_ui_stackbar:Fe}=c.useConfig(),$=e.computed({get(){return!!v.dataset&&v.dataset.length},set(l){return l}}),M=e.ref(null),J=e.ref(c.createUid()),R=e.ref(!1),ee=e.ref(null),Z=e.ref(""),p=e.ref([]),te=e.ref(0),ae=e.ref(null),le=e.ref(null),oe=e.ref(null),re=e.ref(null),se=e.ref(0),D=e.ref(!1),V=e.ref(null),P=e.ref(!1),Ie=e.ref(0),Oe=e.ref(0),Re=e.ref(0),T=e.ref(null);e.onMounted(()=>{Q()});const t=e.computed({get:()=>ue(),set:l=>l}),{userOptionsVisible:K,setUserOptionsVisibility:ne,keepUserOptionState:ie}=ct.useUserOptionState({config:t.value});function ue(){const l=Me.useNestedProp({userConfig:v.config,defaultConfig:Fe});let o={};return l.theme?o={...Me.useNestedProp({userConfig:c.themes.vue_ui_stackbar[l.theme]||v.config,defaultConfig:l}),customPalette:c.themePalettes[l.theme]||c.palette}:o=l,v.config&&c.hasDeepProperty(v.config,"style.chart.grid.scale.scaleMin")?o.style.chart.grid.scale.scaleMin=v.config.style.chart.grid.scale.scaleMin:o.style.chart.grid.scale.scaleMin=null,v.config&&c.hasDeepProperty(v.config,"style.chart.grid.scale.scaleMax")?o.style.chart.grid.scale.scaleMax=v.config.style.chart.grid.scale.scaleMax:o.style.chart.grid.scale.scaleMax=null,v.config&&c.hasDeepProperty(v.config,"style.chart.zoom.startIndex")?o.style.chart.zoom.startIndex=v.config.style.chart.zoom.startIndex:o.style.chart.zoom.startIndex=null,v.config&&c.hasDeepProperty(v.config,"style.chart.zoom.endIndex")?o.style.chart.zoom.endIndex=v.config.style.chart.zoom.endIndex:o.style.chart.zoom.endIndex=null,o}e.watch(()=>v.config,l=>{t.value=ue(),K.value=!t.value.showOnChartHover,Q(),Ie.value+=1,Oe.value+=1,Re.value+=1},{deep:!0}),e.watch(()=>v.dataset,l=>{ye()},{deep:!0});const b=e.ref({dataLabels:{show:t.value.style.chart.bars.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),{isPrinting:ce,isImaging:de,generatePdf:ve,generateImage:he}=Ve.usePrinter({elementId:`stackbar_${J.value}`,fileName:t.value.style.chart.title.text||"vue-ui-stackbar"}),A=e.ref({width:t.value.style.chart.width,height:t.value.style.chart.height,paddingRatio:{top:t.value.style.chart.padding.top/t.value.style.chart.height,right:t.value.style.chart.padding.right/t.value.style.chart.width,bottom:t.value.style.chart.padding.bottom/t.value.style.chart.height,left:t.value.style.chart.padding.left/t.value.style.chart.width}}),De=e.computed(()=>c.convertCustomPalette(t.value.customPalette)),me=e.ref(null),ge=e.ref(null);e.onMounted(()=>{Q()});function Q(){if(c.objectIsEmpty(v.dataset)?c.error({componentName:"VueUiStackbar",type:"dataset"}):v.dataset.forEach((l,o)=>{c.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","series"]}).forEach(a=>{$.value=!1,c.error({componentName:"VueUiStackbar",type:"datasetSerieAttribute",property:a,index:o})})}),setTimeout(()=>{P.value=!0},10),t.value.responsive){const l=Te.throttle(()=>{P.value=!1;const{width:o,height:a}=Te.useResponsive({chart:M.value,title:t.value.style.chart.title.text?ae.value:null,legend:t.value.style.chart.legend.show?le.value:null,slicer:t.value.style.chart.zoom.show&&S.value>1?oe.value:null,source:re.value});A.value.width=o,A.value.height=a,clearTimeout(ge.value),ge.value=setTimeout(()=>{P.value=!0},10)});me.value=new ResizeObserver(l),me.value.observe(M.value.parentNode)}be()}const s=e.computed(()=>{const{height:l,width:o}=A.value,{right:a}=A.value.paddingRatio,r=t.value.style.chart.padding.top,n=o-o*a,i=l-t.value.style.chart.padding.bottom,y=t.value.style.chart.padding.left,L=o-y-o*a,N=l-r-t.value.style.chart.padding.bottom;return{chartHeight:l,chartWidth:o,top:r,right:n,bottom:i,left:y,width:L,height:N<0?0:N}}),C=e.computed(()=>v.dataset.map((l,o)=>{const a=c.convertColorToHex(l.color)||De.value[o]||c.palette[o]||c.palette[o%c.palette.length];return{...l,series:JSON.parse(JSON.stringify(l.series)).map(r=>t.value.style.chart.bars.distributed?Math.abs(r):r),signedSeries:l.series.map(r=>r>=0?1:-1),absoluteIndex:o,id:c.createUid(),color:a}})),S=e.computed(()=>Math.max(...C.value.filter(l=>!p.value.includes(l.id)).map(l=>l.series.length))),u=e.ref({start:0,end:Math.max(...v.dataset.map(l=>l.series.length))});function ye(){be()}async function be(){(t.value.style.chart.zoom.startIndex!==null||t.value.style.chart.zoom.endIndex!==null)&&T.value?(t.value.style.chart.zoom.startIndex!==null&&(await e.nextTick(),await e.nextTick(),T.value&&T.value.setStartValue(t.value.style.chart.zoom.startIndex)),t.value.style.chart.zoom.endIndex!==null&&(await e.nextTick(),await e.nextTick(),T.value&&T.value.setEndValue(Ae(t.value.style.chart.zoom.endIndex+1)))):(u.value={start:0,end:Math.max(...v.dataset.map(l=>l.series.length))},se.value+=1)}function Ae(l){const o=Math.max(...v.dataset.map(a=>a.series.length));return l>o?o:l<0||t.value.style.chart.zoom.startIndex!==null&&l<t.value.style.chart.zoom.startIndex?t.value.style.chart.zoom.startIndex!==null?t.value.style.chart.zoom.startIndex+1:1:l}const d=e.computed(()=>{let l;return t.value.orientation==="vertical"?l=s.value.width/(u.value.end-u.value.start):l=s.value.height/(u.value.end-u.value.start),l<=0?0:l}),F=e.computed(()=>c.sumSeries(C.value.filter(l=>!p.value.includes(l.id))).slice(u.value.start,u.value.end)),He=e.computed(()=>c.sumSeries(C.value.filter(l=>!p.value.includes(l.id)).map(l=>({...l,series:l.series.map((o,a)=>l.signedSeries[a]===-1&&o>=0?-o:o)}))).slice(u.value.start,u.value.end)),H=e.computed(()=>{const l=C.value.filter(o=>!p.value.includes(o.id));return{positive:c.sumSeries(l.map(o=>({...o,series:o.series.slice(u.value.start,u.value.end).map(a=>a>=0?a:0)}))),negative:c.sumSeries(l.map(o=>({...o,series:o.series.slice(u.value.start,u.value.end).map(a=>a<0?a:0)})))}}),w=e.computed(()=>{const l=t.value.style.chart.grid.scale.scaleMax!==null&&!t.value.style.chart.bars.distributed?t.value.style.chart.grid.scale.scaleMax:Math.max(...H.value.positive),o=Math.min(...H.value.negative),a=t.value.style.chart.grid.scale.scaleMin!==null&&!t.value.style.chart.bars.distributed?t.value.style.chart.grid.scale.scaleMin:[-1/0,1/0,NaN,void 0,null].includes(o)?0:o,r=!t.value.style.chart.bars.distributed&&(t.value.style.chart.grid.scale.scaleMax!==null||t.value.style.chart.grid.scale.scaleMin!==null)?c.calculateNiceScaleWithExactExtremes(a>0?0:a,l<0?0:l,t.value.style.chart.grid.scale.ticks):c.calculateNiceScale(a>0?0:a,l<0?0:l,t.value.style.chart.grid.scale.ticks);return r.ticks.map(n=>({zero:s.value.bottom-s.value.height*(Math.abs(r.min)/(r.max+Math.abs(r.min))),y:s.value.bottom-s.value.height*((n+Math.abs(r.min))/(r.max+Math.abs(r.min))),x:s.value.left-8,horizontal_zero:s.value.left+s.value.width*(Math.abs(r.min)/(r.max+Math.abs(r.min))),horizontal_x:s.value.left+s.value.width*((n+Math.abs(r.min))/(r.max+Math.abs(r.min))),horizontal_y:s.value.bottom-8,value:n}))}),z=e.computed(()=>{const l=[];for(let o=0;o<S.value;o+=1)l.push({text:t.value.style.chart.grid.x.timeLabels.values[o]||String(o),absoluteIndex:o});return l.slice(u.value.start,u.value.end)}),g=e.computed(()=>{if(!$.value)return[];let l=Array(S.value).fill(0),o=Array(S.value).fill(0),a=Array(S.value).fill(0),r=Array(S.value).fill(0);const n=Math.max(...H.value.positive)||0,i=Math.min(...H.value.negative),y=[-1/0,1/0,NaN,void 0,null].includes(i)?0:i,L=!t.value.style.chart.bars.distributed&&(t.value.style.chart.grid.scale.scaleMax!==null||t.value.style.chart.grid.scale.scaleMin!==null)?c.calculateNiceScaleWithExactExtremes(t.value.style.chart.grid.scale.scaleMin!==null?t.value.style.chart.grid.scale.scaleMin:y>0?0:y,t.value.style.chart.grid.scale.scaleMax!==null?t.value.style.chart.grid.scale.scaleMax:n<0?0:n,t.value.style.chart.grid.scale.ticks):c.calculateNiceScale(t.value.style.chart.grid.scale.scaleMin!==null?t.value.style.chart.grid.scale.scaleMin:y>0?0:y,t.value.style.chart.grid.scale.scaleMax!==null?t.value.style.chart.grid.scale.scaleMax:n<0?0:n,t.value.style.chart.grid.scale.ticks),{min:N,max:I}=L,E=I+(N>=0?0:Math.abs(N))||1,f=s.value.height,Y=s.value.width,_e=w.value[0]?w.value[0].zero:s.value.bottom,$e=w.value[0]?w.value[0].horizontal_zero:s.value.left;return C.value.filter(O=>!p.value.includes(O.id)).map(O=>{const B=O.series.slice(u.value.start,u.value.end),Xe=O.signedSeries.slice(u.value.start,u.value.end),Ge=B.map((h,m)=>s.value.left+d.value*m+d.value*t.value.style.chart.bars.gapRatio/4),Je=B.map((h,m)=>s.value.top+d.value*m+d.value*t.value.style.chart.bars.gapRatio/4),Ze=B.map((h,m)=>{const k=t.value.style.chart.bars.distributed?(h||0)/F.value[m]:(h||0)/E;let _,x;return h>0?(x=f*k,_=_e-x-l[m],l[m]+=x):(x=f*k,_=_e+a[m],a[m]+=Math.abs(x)),_}),Ke=B.map((h,m)=>{const k=t.value.style.chart.bars.distributed?(h||0)/F.value[m]:(h||0)/E;let _,x;return h>0?(x=Y*k,_=$e+o[m],o[m]+=x):(x=Y*k,_=$e-Math.abs(x)-r[m],r[m]+=Math.abs(x)),_}),Qe=B.map((h,m)=>{const k=t.value.style.chart.bars.distributed?(h||0)/F.value[m]:(h||0)/E;return h>0?f*k:f*Math.abs(k)}),je=B.map((h,m)=>{const k=t.value.style.chart.bars.distributed?(h||0)/F.value[m]:(h||0)/E;return h>0?Y*k:Y*Math.abs(k)}),et=B.map(h=>Math.abs(h)).reduce((h,m)=>h+m,0);return{...O,proportions:B.map((h,m)=>t.value.style.chart.bars.distributed?(h||0)/F.value[m]:(h||0)/et),series:B,signedSeries:Xe,x:Ge,y:Ze,height:Qe,horizontal_width:je,horizontal_y:Je,horizontal_x:Ke}})}),pe=e.computed(()=>He.value.map((l,o)=>({value:l,sign:l>=0?1:-1})));function q(l,o,a,r,n){const i=n===-1&&l>=0?-l:l;return c.applyDataLabel(t.value.style.chart.bars.dataLabels.formatter,i,c.dataLabel({p:t.value.style.chart.bars.dataLabels.prefix,v:i,s:t.value.style.chart.bars.dataLabels.suffix,r:t.value.style.chart.bars.dataLabels.rounding}),{datapoint:o,seriesIndex:a,datapointIndex:r})}function fe(l,o,a,r){return c.applyDataLabel(t.value.style.chart.bars.dataLabels.formatter,l,c.dataLabel({v:isNaN(l)?0:l,s:"%",r:t.value.style.chart.bars.dataLabels.rounding}),{datapoint:o,seriesIndex:a,datapointIndex:r})}function ke(l){const o=JSON.parse(JSON.stringify(g.value)).map(a=>({name:a.name,value:a.series[l]===0?0:a.series[l]||null,proportion:a.proportions[l]||null,color:a.color,id:a.id}));G("selectDatapoint",{datapoint:o,period:z.value[l]})}function xe(l){V.value=l,R.value=!0;const o=t.value.style.chart.tooltip.customFormat,a=JSON.parse(JSON.stringify(g.value)).map(n=>({name:n.name,value:n.series[l]===0?0:(n.signedSeries[l]===-1&&n.series[l]>=0?-n.series[l]:n.series[l])||null,proportion:n.proportions[l]||null,color:n.color,id:n.id})),r=a.map(n=>Math.abs(n.value)).reduce((n,i)=>n+i,0);if(c.isFunction(o)&&c.functionReturnsString(()=>o({seriesIndex:l,datapoint:a,series:g.value,config:t.value})))Z.value=o({seriesIndex:l,datapoint:a,series:g.value,config:t.value});else{const{showValue:n,showPercentage:i,borderColor:y,roundingValue:L,roundingPercentage:N}=t.value.style.chart.tooltip;let I="";z.value[l]&&z.value[l].text&&t.value.style.chart.tooltip.showTimeLabel&&(I+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${y};padding-bottom:6px;margin-bottom:3px;">${z.value[l].text}</div>`);const E=[n&&i?"(":"",n&&i?")":""];a.reverse().forEach(f=>{I+=`
2
- <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
3
- <svg viewBox="0 0 12 12" height="14" width="14"><rect rx="1" x="0" y="0" height="12" width="12" stroke="none" fill="${t.value.style.chart.bars.gradient.show?`url(#gradient_${f.id})`:f.color}"/></svg>
4
- ${f.name}${n||i?":":""} ${n?c.dataLabel({p:t.value.style.chart.bars.dataLabels.prefix,v:f.value,s:t.value.style.chart.bars.dataLabels.suffix,r:L}):""} ${E[0]}${i?c.dataLabel({v:isNaN(f.value/r)?0:Math.abs(f.value)/r*100,s:"%",r:N}):""}${E[1]}
5
- </div>
6
- `}),Z.value=`<div>${I}</div>`}}function qe(l){D.value=l,te.value+=1}function we(){b.value.showTable=!b.value.showTable}function Be(){b.value.dataLabels.show=!b.value.dataLabels.show}function Ce(){b.value.showTooltip=!b.value.showTooltip}function Ue(){return g.value}const Se=e.computed(()=>{if(g.value.length===0)return{head:[],body:[],config:{},columnNames:[]};const l=g.value.map(({name:a,color:r})=>({label:a,color:r})),o=[];for(let a=u.value.start;a<u.value.end;a+=1){const r=[t.value.style.chart.grid.x.timeLabels.values[a]||a+1];C.value.forEach(n=>{r.push(Number((n.series[a]||0).toFixed(t.value.table.td.roundingValue)))}),o.push(r)}return{head:l,body:o}});function ze(){const l=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[""]],o=["",...Se.value.head.map(i=>i.label)],a=Se.value.body,r=l.concat([o]).concat(a),n=c.createCsvContent(r);c.downloadCsv({csvContent:n,title:t.value.style.chart.title.text||"vue-ui-stackbar"})}const U=e.computed(()=>{const l=[""].concat(g.value.map(n=>n.name)).concat(' <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>');let o=[];for(let n=0;n<S.value;n+=1){const i=g.value.map(y=>y.series[n]??0).reduce((y,L)=>y+L,0);o.push([t.value.style.chart.grid.x.timeLabels.values.slice(u.value.start,u.value.end)[n]??n+1].concat(g.value.map(y=>(y.series[n]??0).toFixed(t.value.table.td.roundingValue))).concat((i??0).toFixed(t.value.table.td.roundingValue)))}const a={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},r=[t.value.table.columnNames.period].concat(g.value.map(n=>n.name)).concat(t.value.table.columnNames.total);return{head:l,body:o.slice(0,u.value.end-u.value.start),config:a,colNames:r}});function We(l,o){if(G("selectLegend",g.value.find(a=>a.absoluteIndex===l)),p.value.includes(o.id))p.value=p.value.filter(a=>a!==o.id);else{if(p.value.length===C.value.length-1)return;p.value.push(o.id)}}const Le=e.computed(()=>C.value.map((l,o)=>({...l,shape:"square"})).map(l=>({...l,opacity:p.value.includes(l.id)?.5:1,segregate:()=>We(l.absoluteIndex,l),isSegregated:p.value.includes(l.id)}))),Ye=e.computed(()=>({cy:"stackbar-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":""})),W=e.ref(!1);function j(){W.value=!W.value}function Ne(l,o){const a=JSON.parse(JSON.stringify(g.value)).map(r=>({name:r.name,value:r.series[o]===0?0:(r.signedSeries[o]===-1&&r.series[o]>=0?-r.series[o]:r.series[o])||null,proportion:r.proportions[o]||null,color:r.color,id:r.id}));G("selectTimeLabel",{datapoint:a,absoluteIndex:l.absoluteIndex,label:l.text})}function Ee(l,o){return t.value.style.chart.bars.showDistributedPercentage&&t.value.style.chart.bars.distributed?t.value.style.chart.bars.dataLabels.hideEmptyPercentages?o>0:!0:t.value.style.chart.bars.dataLabels.hideEmptyValues?l!==0:!0}return Pe({getData:Ue,generatePdf:ve,generateCsv:ze,generateImage:he,toggleTable:we,toggleLabels:Be,toggleTooltip:Ce,toggleAnnotator:j}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{id:`stackbar_${J.value}`,ref_key:"stackbarChart",ref:M,class:e.normalizeClass({"vue-ui-stackbar":!0,"vue-data-ui-wrapper-fullscreen":D.value}),style:e.normalizeStyle(`background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color};font-family:${t.value.style.fontFamily}; position: relative; ${t.value.responsive?"height: 100%":""}`),onMouseenter:o[6]||(o[6]=()=>e.unref(ne)(!0)),onMouseleave:o[7]||(o[7]=()=>e.unref(ne)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ut.PenAndPaper,{key:0,parent:M.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:W.value,onClose:j},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"userConfig",{},void 0,!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"chartTitle",ref:ae,style:"width:100%;background:transparent;padding-bottom:24px"},[e.createVNode(lt._sfc_main,{config:{title:{cy:"stackbar-title",...t.value.style.chart.title},subtitle:{cy:"stackbar-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"])],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&$.value&&(e.unref(ie)||e.unref(K))?(e.openBlock(),e.createBlock(Ve.UserOptions,{ref:"details",key:`user_option_${te.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(ce),isImaging:e.unref(de),uid:J.value,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasLabel:t.value.userOptions.buttons.labels,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:D.value,chartElement:M.value,position:t.value.userOptions.position,isTooltip:b.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:W.value,onToggleFullscreen:qe,onGeneratePdf:e.unref(ve),onGenerateCsv:ze,onGenerateImage:e.unref(he),onToggleTable:we,onToggleLabels:Be,onToggleTooltip:Ce,onToggleAnnotator:j,style:e.normalizeStyle({visibility:e.unref(ie)?e.unref(K)?"visible":"hidden":"visible"})},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.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionLabels",{},void 0,!0)]),key:"5"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:r})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:r})),void 0,!0)]),key:"6"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:r})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:r})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasImg","hasXls","hasTable","hasLabel","hasFullscreen","isFullscreen","chartElement","position","isTooltip","titles","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),$.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(c.XMLNS),viewBox:`0 0 ${s.value.chartWidth<=0?10:s.value.chartWidth} ${s.value.chartHeight<=0?10:s.value.chartHeight}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(it._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:s.value.left,y:s.value.top,width:s.value.width<=0?10:s.value.width,height:s.value.height<=0?10:s.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,mt)):e.createCommentVNode("",!0),t.value.style.chart.bars.gradient.show?(e.openBlock(),e.createElementBlock("defs",gt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(a,r)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`gradient_${a.id}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":a.color},null,8,bt),e.createElementVNode("stop",{offset:"61.8%","stop-color":e.unref(c.lightenHexColor)(a.color,t.value.style.chart.bars.gradient.intensity/100)},null,8,pt),e.createElementVNode("stop",{offset:"100%","stop-color":a.color},null,8,ft)],8,yt))),256))])):e.createCommentVNode("",!0),t.value.style.chart.grid.x.showHorizontalLines&&t.value.orientation==="vertical"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:s.value.left,x2:s.value.right,y1:a.y,y2:a.y,stroke:t.value.style.chart.grid.x.axisColor,"stroke-width":1,"stroke-linecap":"round"},null,8,kt))),256)):e.createCommentVNode("",!0),t.value.style.chart.grid.x.showHorizontalLines&&t.value.orientation==="horizontal"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:3},e.renderList(u.value.end-u.value.start+1,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:s.value.left,x2:s.value.right,y1:s.value.top+d.value*r,y2:s.value.top+d.value*r,stroke:t.value.style.chart.grid.y.axisColor,"stroke-width":1,"stroke-linecap":"round"},null,8,xt))),256)):e.createCommentVNode("",!0),t.value.style.chart.grid.y.showVerticalLines&&t.value.orientation==="vertical"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:4},e.renderList(u.value.end-u.value.start+1,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:s.value.left+d.value*r,x2:s.value.left+d.value*r,y1:s.value.top,y2:s.value.bottom,stroke:t.value.style.chart.grid.y.axisColor,"stroke-width":1,"stroke-linecap":"round"},null,8,wt))),256)):e.createCommentVNode("",!0),t.value.style.chart.grid.x.showHorizontalLines&&t.value.orientation==="horizontal"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:5},e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:a.horizontal_x,x2:a.horizontal_x,y1:s.value.top,y2:s.value.bottom,stroke:t.value.style.chart.grid.x.axisColor,"stroke-width":1,"stroke-linecap":"round"},null,8,Bt))),256)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.orientation==="vertical"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.x,(n,i)=>(e.openBlock(),e.createElementBlock("rect",{x:n,y:a.y[i]<0?0:a.y[i],height:a.height[i]<0?1e-4:a.height[i]||0,rx:t.value.style.chart.bars.borderRadius>a.height[i]/2?(a.height[i]<0?0:a.height[i])/2:t.value.style.chart.bars.borderRadius,width:d.value*(1-t.value.style.chart.bars.gapRatio/2),fill:t.value.style.chart.bars.gradient.show?`url(#gradient_${a.id})`:a.color,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.bars.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",class:e.normalizeClass({"vue-data-ui-bar-animated":t.value.useCssAnimation,"vue-data-ui-bar-transition":P.value})},null,10,Ct))),256)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.horizontal_x,(n,i)=>(e.openBlock(),e.createElementBlock("rect",{x:n,y:a.horizontal_y[i]<0?0:a.horizontal_y[i],width:a.horizontal_width[i]<0?1e-4:a.horizontal_width[i],rx:t.value.style.chart.bars.borderRadius>a.height[i]/2?(a.height[i]<0?0:a.height[i])/2:t.value.style.chart.bars.borderRadius,height:d.value*(1-t.value.style.chart.bars.gapRatio/2),fill:t.value.style.chart.bars.gradient.show?`url(#gradient_${a.id})`:a.color,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.bars.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",class:e.normalizeClass({"vue-data-ui-bar-animated":t.value.useCssAnimation,"vue-data-ui-bar-transition":P.value})},null,10,St))),256))]))),256)),t.value.style.chart.grid.x.showAxis?(e.openBlock(),e.createElementBlock("line",{key:6,x1:s.value.left,x2:s.value.right,y1:s.value.bottom,y2:s.value.bottom,stroke:t.value.style.chart.grid.x.axisColor,"stroke-width":t.value.style.chart.grid.x.axisThickness,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,zt)):e.createCommentVNode("",!0),t.value.style.chart.grid.y.showAxis&&!t.value.style.chart.bars.distributed?(e.openBlock(),e.createElementBlock("line",{key:7,x1:s.value.left,x2:s.value.left,y1:s.value.top,y2:s.value.bottom,stroke:t.value.style.chart.grid.y.axisColor,"stroke-width":t.value.style.chart.grid.y.axisThickness,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Lt)):e.createCommentVNode("",!0),t.value.style.chart.grid.x.axisName.show&&t.value.style.chart.grid.x.axisName.text?(e.openBlock(),e.createElementBlock("text",{key:8,x:s.value.left+s.value.width/2,y:s.value.chartHeight+t.value.style.chart.grid.x.axisName.offsetY,"font-size":t.value.style.chart.grid.x.axisName.fontSize,fill:t.value.style.chart.grid.x.axisName.color,"font-weight":t.value.style.chart.grid.x.axisName.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(t.value.style.chart.grid.x.axisName.text),9,Nt)):e.createCommentVNode("",!0),t.value.style.chart.grid.y.axisName.show&&t.value.style.chart.grid.y.axisName.text?(e.openBlock(),e.createElementBlock("text",{key:9,transform:`translate(${t.value.style.chart.grid.y.axisName.fontSize+t.value.style.chart.grid.y.axisName.offsetX}, ${s.value.top+s.value.height/2}) rotate(-90)`,"font-size":t.value.style.chart.grid.y.axisName.fontSize,fill:t.value.style.chart.grid.y.axisName.color,"font-weight":t.value.style.chart.grid.y.axisName.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(t.value.style.chart.grid.y.axisName.text),9,Et)):e.createCommentVNode("",!0),b.value.dataLabels.show&&t.value.orientation==="vertical"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:10},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.x,(n,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[Ee(a.series[i],a.proportions[i])?(e.openBlock(),e.createElementBlock("text",{key:0,x:n+d.value*(1-t.value.style.chart.bars.gapRatio/2)/2,y:a.y[i]+a.height[i]/2+t.value.style.chart.bars.dataLabels.fontSize/3,"font-size":t.value.style.chart.bars.dataLabels.fontSize,fill:t.value.style.chart.bars.dataLabels.adaptColorToBackground?e.unref(c.adaptColorToBackground)(a.color):t.value.style.chart.bars.dataLabels.color,"font-weight":t.value.style.chart.bars.dataLabels.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(t.value.style.chart.bars.showDistributedPercentage&&t.value.style.chart.bars.distributed?fe(a.proportions[i]*100,a,r,i):q(a.series[i],a,r,i,a.signedSeries[i])),9,_t)):e.createCommentVNode("",!0)],64))),256))]))),256)),t.value.style.chart.bars.totalValues.show&&g.value.length>1?(e.openBlock(),e.createElementBlock("g",$t,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pe.value,(a,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[!t.value.style.chart.bars.dataLabels.hideEmptyValues||a.value!==0?(e.openBlock(),e.createElementBlock("text",{key:0,x:s.value.left+d.value*r+d.value/2,y:s.value.top-t.value.style.chart.bars.totalValues.fontSize/3,"text-anchor":"middle","font-size":t.value.style.chart.bars.totalValues.fontSize,"font-weight":t.value.style.chart.bars.totalValues.bold?"bold":"normal",fill:t.value.style.chart.bars.totalValues.color},e.toDisplayString(q(a.value,a,r,a.sign)),9,Mt)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),b.value.dataLabels.show&&t.value.orientation==="horizontal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:11},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.horizontal_x,(n,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[Ee(a.series[i],a.proportions[i])?(e.openBlock(),e.createElementBlock("text",{key:0,x:n+(a.horizontal_width[i]<0?1e-4:a.horizontal_width[i])/2,y:a.horizontal_y[i]+d.value*(1-t.value.style.chart.bars.gapRatio/2)/2+t.value.style.chart.bars.dataLabels.fontSize/3,"font-size":t.value.style.chart.bars.dataLabels.fontSize,fill:t.value.style.chart.bars.dataLabels.adaptColorToBackground?e.unref(c.adaptColorToBackground)(a.color):t.value.style.chart.bars.dataLabels.color,"font-weight":t.value.style.chart.bars.dataLabels.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(t.value.style.chart.bars.showDistributedPercentage&&t.value.style.chart.bars.distributed?fe(a.proportions[i]*100,a,r,i):q(a.series[i],a,r,i,a.signedSeries[i])),9,Tt)):e.createCommentVNode("",!0)],64))),256))]))),256)),t.value.style.chart.bars.totalValues.show&&g.value.length>1?(e.openBlock(),e.createElementBlock("g",Vt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pe.value,(a,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[!t.value.style.chart.bars.dataLabels.hideEmptyValues||a.value!==0?(e.openBlock(),e.createElementBlock("text",{key:0,x:s.value.right+t.value.style.chart.bars.totalValues.fontSize/3,y:s.value.top+d.value*r+d.value/2,"text-anchor":"start","font-size":t.value.style.chart.bars.totalValues.fontSize,"font-weight":t.value.style.chart.bars.totalValues.bold?"bold":"normal",fill:t.value.style.chart.bars.totalValues.color},e.toDisplayString(q(a.value,a,r,a.sign)),9,Pt)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.style.chart.grid.y.axisLabels.show&&!t.value.style.chart.bars.distributed&&t.value.orientation==="vertical"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:12},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:s.value.left,x2:s.value.left-6,y1:a.y,y2:a.y,stroke:t.value.style.chart.grid.x.axisColor,"stroke-width":1},null,8,Ft))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("text",{x:a.x,y:a.y+t.value.style.chart.grid.y.axisLabels.fontSize/3,"font-size":t.value.style.chart.grid.y.axisLabels.fontSize,"font-weight":t.value.style.chart.grid.y.axisLabels.bold?"bold":"normal",fill:t.value.style.chart.grid.y.axisLabels.color,"text-anchor":"end"},e.toDisplayString(e.unref(c.dataLabel)({p:t.value.style.chart.bars.dataLabels.prefix,v:a.value,s:t.value.style.chart.bars.dataLabels.suffix,r:t.value.style.chart.grid.y.axisLabels.rounding})),9,It))),256))],64)):e.createCommentVNode("",!0),t.value.style.chart.grid.y.axisLabels.show&&!t.value.style.chart.bars.distributed&&t.value.orientation==="horizontal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:13},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:a.horizontal_x,x2:a.horizontal_x,y1:s.value.bottom,y2:s.value.bottom+6,stroke:t.value.style.chart.grid.x.axisColor,"stroke-width":1,"stroke-linecap":"round"},null,8,Ot))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("text",{"font-size":t.value.style.chart.grid.x.timeLabels.fontSize,"font-weight":t.value.style.chart.grid.y.axisLabels.bold?"bold":"normal",fill:t.value.style.chart.grid.y.axisLabels.color,"text-anchor":t.value.style.chart.grid.x.timeLabels.rotation>0?"start":t.value.style.chart.grid.x.timeLabels.rotation<0?"end":"middle",transform:`translate(${a.horizontal_x}, ${s.value.bottom+t.value.style.chart.grid.x.timeLabels.fontSize*1.3+t.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${t.value.style.chart.grid.x.timeLabels.rotation})`},e.toDisplayString(e.unref(c.dataLabel)({p:t.value.style.chart.bars.dataLabels.prefix,v:a.value,s:t.value.style.chart.bars.dataLabels.suffix,r:t.value.style.chart.grid.y.axisLabels.rounding})),9,Rt))),256))],64)):e.createCommentVNode("",!0),t.value.style.chart.grid.x.timeLabels.show&&t.value.orientation==="vertical"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:14},[l.$slots["time-label"]?(e.openBlock(),e.createElementBlock("g",Dt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[e.renderSlot(l.$slots,"time-label",e.normalizeProps(e.guardReactiveProps({x:s.value.left+d.value*r+d.value/2,y:s.value.bottom+t.value.style.chart.grid.x.timeLabels.fontSize*1.3+t.value.style.chart.grid.x.timeLabels.offsetY,fontSize:t.value.style.chart.grid.x.timeLabels.fontSize,fill:t.value.style.chart.grid.x.timeLabels.color,transform:`translate(${s.value.left+d.value*r+d.value/2}, ${s.value.bottom+t.value.style.chart.grid.x.timeLabels.fontSize*1.3+t.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${t.value.style.chart.grid.x.timeLabels.rotation})`,absoluteIndex:a.absoluteIndex,content:a.text,textAnchor:t.value.style.chart.grid.x.timeLabels.rotation>0?"start":t.value.style.chart.grid.x.timeLabels.rotation<0?"end":"middle",show:!0})),void 0,!0)]))),256))])):(e.openBlock(),e.createElementBlock("g",At,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,(a,r)=>(e.openBlock(),e.createElementBlock("text",{"text-anchor":t.value.style.chart.grid.x.timeLabels.rotation>0?"start":t.value.style.chart.grid.x.timeLabels.rotation<0?"end":"middle","font-size":t.value.style.chart.grid.x.timeLabels.fontSize,"font-weight":t.value.style.chart.grid.x.timeLabels.bold?"bold":"normal",fill:t.value.style.chart.grid.x.timeLabels.color,transform:`translate(${s.value.left+d.value*r+d.value/2}, ${s.value.bottom+t.value.style.chart.grid.x.timeLabels.fontSize*1.3+t.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${t.value.style.chart.grid.x.timeLabels.rotation})`,style:{cursor:"pointer"},onClick:()=>Ne(a,r)},e.toDisplayString(a.text),9,Ht))),256))]))],64)):e.createCommentVNode("",!0),t.value.style.chart.grid.x.timeLabels.show&&t.value.orientation==="horizontal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:15},[l.$slots["time-label"]?(e.openBlock(),e.createElementBlock("g",qt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[e.renderSlot(l.$slots,"time-label",e.normalizeProps(e.guardReactiveProps({x:s.value.left-8,y:s.value.top+d.value*r+d.value/2+t.value.style.chart.grid.y.axisLabels.fontSize/3,fontSize:t.value.style.chart.grid.x.timeLabels.fontSize,fill:t.value.style.chart.grid.x.timeLabels.color,transform:null,absoluteIndex:a.absoluteIndex,content:a.text,textAnchor:"end",show:!0})),void 0,!0)]))),256))])):(e.openBlock(),e.createElementBlock("g",Ut,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,(a,r)=>(e.openBlock(),e.createElementBlock("text",{"text-anchor":"end","font-size":t.value.style.chart.grid.y.axisLabels.fontSize,"font-weight":t.value.style.chart.grid.y.axisLabels.bold?"bold":"normal",fill:t.value.style.chart.grid.y.axisLabels.color,x:s.value.left-8,y:s.value.top+d.value*r+d.value/2+t.value.style.chart.grid.y.axisLabels.fontSize/3,style:{cursor:"pointer"},onClick:()=>Ne(a,r)},e.toDisplayString(a.text),9,Wt))),256))]))],64)):e.createCommentVNode("",!0),b.value.showTooltip&&t.value.orientation==="vertical"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:16},e.renderList(u.value.end-u.value.start,(a,r)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value.left+r*d.value,y:s.value.top,width:d.value,height:s.value.height<0?0:s.value.height,onClick:n=>ke(r),onMouseenter:n=>xe(r),onMouseleave:o[0]||(o[0]=n=>{V.value=null,R.value=!1}),fill:r===V.value?t.value.style.chart.highlighter.color:"transparent",style:e.normalizeStyle({opacity:t.value.style.chart.highlighter.opacity/100})},null,44,Yt))),256)):e.createCommentVNode("",!0),b.value.showTooltip&&t.value.orientation==="horizontal"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:17},e.renderList(u.value.end-u.value.start,(a,r)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value.left,y:s.value.top+r*d.value,width:s.value.width<0?0:s.value.width,height:d.value,onClick:n=>ke(r),onMouseenter:n=>xe(r),onMouseleave:o[1]||(o[1]=n=>{V.value=null,R.value=!1}),fill:r===V.value?t.value.style.chart.highlighter.color:"transparent",style:e.normalizeStyle({opacity:t.value.style.chart.highlighter.opacity/100})},null,44,Xt))),256)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"svg",e.normalizeProps(e.guardReactiveProps({...s.value})),void 0,!0)],12,ht)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Gt,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(ce)||e.unref(de)})),void 0,!0)])):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(nt.default,{key:5,config:{type:"bar",style:{backgroundColor:t.value.style.chart.backgroundColor,bar:{axis:{color:"#CCCCCC"},color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartSlicer",ref:oe,style:e.normalizeStyle(`width:100%;background:${t.value.style.chart.backgroundColor}`),"data-html2canvas-ignore":""},[t.value.style.chart.zoom.show&&S.value>1?(e.openBlock(),e.createBlock(tt.Slicer,{ref_key:"slicerComponent",ref:T,key:`slicer_${se.value}`,background:t.value.style.chart.zoom.color,borderColor:t.value.style.chart.backgroundColor,fontSize:t.value.style.chart.zoom.fontSize,useResetSlot:t.value.style.chart.zoom.useResetSlot,labelLeft:t.value.style.chart.grid.x.timeLabels.values[u.value.start]?t.value.style.chart.grid.x.timeLabels.values[u.value.start]:"",labelRight:t.value.style.chart.grid.x.timeLabels.values[u.value.end-1]?t.value.style.chart.grid.x.timeLabels.values[u.value.end-1]:"",textColor:t.value.style.chart.color,inputColor:t.value.style.chart.zoom.color,selectColor:t.value.style.chart.zoom.highlightColor,max:Math.max(...X.dataset.map(a=>a.series.length)),min:0,valueStart:u.value.start,valueEnd:u.value.end,start:u.value.start,"onUpdate:start":o[2]||(o[2]=a=>u.value.start=a),end:u.value.end,"onUpdate:end":o[3]||(o[3]=a=>u.value.end=a),refreshStartPoint:t.value.style.chart.zoom.startIndex!==null?t.value.style.chart.zoom.startIndex:0,refreshEndPoint:t.value.style.chart.zoom.endIndex!==null?t.value.style.chart.zoom.endIndex+1:Math.max(...X.dataset.map(a=>a.series.length)),enableRangeHandles:t.value.style.chart.zoom.enableRangeHandles,enableSelectionDrag:t.value.style.chart.zoom.enableSelectionDrag,onReset:ye},{"reset-action":e.withCtx(({reset:a})=>[e.renderSlot(l.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:a})),void 0,!0)]),_:3},8,["background","borderColor","fontSize","useResetSlot","labelLeft","labelRight","textColor","inputColor","selectColor","max","valueStart","valueEnd","start","end","refreshStartPoint","refreshEndPoint","enableRangeHandles","enableSelectionDrag"])):e.createCommentVNode("",!0)],4),e.createVNode(at._sfc_main,{show:b.value.showTooltip&&R.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:M.value,content:Z.value,isFullscreen:D.value,isCustom:e.unref(c.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...ee.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...ee.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),e.createElementVNode("div",{ref_key:"chartLegend",ref:le},[t.value.style.chart.legend.show&&$.value?(e.openBlock(),e.createBlock(ot.Legend,{key:0,legendSet:Le.value,config:Ye.value,onClickMarker:o[4]||(o[4]=({legend:a})=>a.segregate())},{item:e.withCtx(({legend:a})=>[e.createElementVNode("div",{onClick:r=>a.segregate(),style:e.normalizeStyle(`opacity:${p.value.includes(a.id)?.5:1}`)},e.toDisplayString(a.name),13,Jt)]),_:1},8,["legendSet","config"])):e.renderSlot(l.$slots,"legend",{key:1,legend:Le.value},void 0,!0)],512),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:6,ref_key:"source",ref:re,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),u.value.end-u.value.start<200?(e.openBlock(),e.createBlock(rt.default,{key:7,hideDetails:"",config:{open:b.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.createVNode(st.DataTable,{colNames:U.value.colNames,head:U.value.head,body:U.value.body,config:U.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:o[5]||(o[5]=a=>b.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a},null,8,Zt)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(isNaN(Number(a))?a:e.unref(c.dataLabel)({p:t.value.style.chart.bars.dataLabels.prefix,v:a,s:t.value.style.chart.bars.dataLabels.suffix,r:t.value.table.td.roundingValue})),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,vt))}},Qt=dt._export_sfc(Kt,[["__scopeId","data-v-41b031bd"]]);exports.default=Qt;