vue-data-ui 2.9.7-beta.0 → 2.9.7-beta.1

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 (167) hide show
  1. package/dist/{Arrow-BU7SuiI0.cjs → Arrow-BDYqVc7p.cjs} +1 -1
  2. package/dist/{Arrow-IRx8mAUZ.js → Arrow-Bz2zEcyE.js} +1 -1
  3. package/dist/{BaseIcon-CN6BxTf_.cjs → BaseIcon-Dvzth12-.cjs} +1 -1
  4. package/dist/{BaseIcon-NVebWEmm.js → BaseIcon-xGT7xJnn.js} +1 -1
  5. package/dist/{ColorPicker-DzF9vdB7.cjs → ColorPicker-BTyFezxo.cjs} +1 -1
  6. package/dist/{ColorPicker-D6INbuzz.js → ColorPicker-Be4dyfSY.js} +3 -3
  7. package/dist/{DataTable-Bc-sIk3H.cjs → DataTable-DkpRxpK1.cjs} +1 -1
  8. package/dist/{DataTable-LLs37Na_.js → DataTable-jQUrRh9B.js} +2 -2
  9. package/dist/{Legend-DbGQCXU-.cjs → Legend-6QUlR6nT.cjs} +1 -1
  10. package/dist/{Legend-Vkc-EKNB.js → Legend-DCwwpz6j.js} +2 -2
  11. package/dist/PackageVersion-Bmq_Rden.cjs +1 -0
  12. package/dist/{PackageVersion-smHUcsQE.js → PackageVersion-Dffpfs0E.js} +3 -3
  13. package/dist/{PenAndPaper-30BhAniw.cjs → PenAndPaper-ByeWWt4I.cjs} +1 -1
  14. package/dist/{PenAndPaper-k0VaawVj.js → PenAndPaper-DgeL3oKs.js} +3 -3
  15. package/dist/{Shape-Bfm8x-8P.js → Shape-Cd10Dxv4.js} +1 -1
  16. package/dist/{Shape-PzPPg5iH.cjs → Shape-CkE4y7L4.cjs} +1 -1
  17. package/dist/{Slicer-BU0fj2AI.cjs → Slicer-CsZdctS1.cjs} +1 -1
  18. package/dist/{Slicer-DhTMXF53.js → Slicer-M1ResLDK.js} +2 -2
  19. package/dist/{Title-58EtyYdb.cjs → Title-CvXzZeEb.cjs} +1 -1
  20. package/dist/{Title-IOaA-ppU.js → Title-DTFwdW6y.js} +1 -1
  21. package/dist/{Tooltip-D8cBDDkn.js → Tooltip-CNgQVGXX.js} +1 -1
  22. package/dist/{Tooltip-e9KUqiQA.cjs → Tooltip-DQgWYT7j.cjs} +1 -1
  23. package/dist/{dom-to-png-CorDkTqE.cjs → dom-to-png-Bl85cZIy.cjs} +1 -1
  24. package/dist/{dom-to-png-DWnOZNsr.js → dom-to-png-y63T8Y5f.js} +1 -1
  25. package/dist/{img-DTb9GqRw.js → img-BAvFNhyt.js} +1 -1
  26. package/dist/{img-D3Du_oTb.cjs → img-uWJ1eTug.cjs} +1 -1
  27. package/dist/index-BxxejAie.cjs +9 -0
  28. package/dist/{index-DwNTTJ28.js → index-dZn5kXWH.js} +316 -315
  29. package/dist/{pdf-BcORych6.cjs → pdf-B3FJiCmw.cjs} +1 -1
  30. package/dist/{pdf-EYBy6RJJ.js → pdf-hCbsffvj.js} +1 -1
  31. package/dist/style.css +1 -1
  32. package/dist/types/vue-data-ui.d.cts +1 -0
  33. package/dist/types/vue-data-ui.d.ts +1 -0
  34. package/dist/{useNestedProp-BVy9-3EJ.cjs → useNestedProp-fJ2Uyt99.cjs} +1 -1
  35. package/dist/{useNestedProp-DLKXTEny.js → useNestedProp-uXqTvVZ6.js} +1 -1
  36. package/dist/{usePrinter-CDE1F-XN.js → usePrinter-B5W9BghM.js} +3 -3
  37. package/dist/{usePrinter-vjB2nrFW.cjs → usePrinter-piikzkuQ.cjs} +1 -1
  38. package/dist/{vue-data-ui-Dxn5phSx.js → vue-data-ui-B4xWWnGz.js} +62 -62
  39. package/dist/{vue-data-ui-NKaL_RZ1.cjs → vue-data-ui-C2dYJIR6.cjs} +1 -1
  40. package/dist/vue-data-ui.cjs +1 -1
  41. package/dist/vue-data-ui.js +1 -1
  42. package/dist/{vue-ui-3d-bar-C6p9aV9v.cjs → vue-ui-3d-bar-B5kPeh3R.cjs} +1 -1
  43. package/dist/{vue-ui-3d-bar-CHHe_J_D.js → vue-ui-3d-bar-Fzal48H7.js} +9 -9
  44. package/dist/{vue-ui-accordion-CELgYjnV.cjs → vue-ui-accordion-D324uXUs.cjs} +1 -1
  45. package/dist/{vue-ui-accordion-BqCwiS7D.js → vue-ui-accordion-hnKAB3UB.js} +3 -3
  46. package/dist/{vue-ui-age-pyramid-S8hYFKDI.cjs → vue-ui-age-pyramid-CqkyzIXi.cjs} +1 -1
  47. package/dist/{vue-ui-age-pyramid-CeahoaHi.js → vue-ui-age-pyramid-Dw8RU3fo.js} +10 -10
  48. package/dist/{vue-ui-annotator-Dt280Dbw.js → vue-ui-annotator-Cg44qBNA.js} +2 -2
  49. package/dist/{vue-ui-annotator-BoOPk1NW.cjs → vue-ui-annotator-pUd0z7hH.cjs} +1 -1
  50. package/dist/{vue-ui-bullet-C_ouoJoz.cjs → vue-ui-bullet-BKAEOpim.cjs} +1 -1
  51. package/dist/{vue-ui-bullet-DoyResGB.js → vue-ui-bullet-BZ3vfRq7.js} +8 -8
  52. package/dist/{vue-ui-candlestick-BSrwISIN.cjs → vue-ui-candlestick-BH3Fr64W.cjs} +1 -1
  53. package/dist/{vue-ui-candlestick-Ckb5JZAY.js → vue-ui-candlestick-CSJ9mWo0.js} +11 -11
  54. package/dist/{vue-ui-carousel-table-BnfnugZ8.cjs → vue-ui-carousel-table-BvFacP5B.cjs} +1 -1
  55. package/dist/{vue-ui-carousel-table-pyTSfa3R.js → vue-ui-carousel-table-f4g2tPd6.js} +4 -4
  56. package/dist/{vue-ui-chestnut-DEmzGhAV.js → vue-ui-chestnut-B4tH1NsY.js} +8 -8
  57. package/dist/{vue-ui-chestnut-D2DRAw3Z.cjs → vue-ui-chestnut-CsHD47W2.cjs} +1 -1
  58. package/dist/{vue-ui-circle-pack-W44HsVVY.js → vue-ui-circle-pack-BCekfuTl.js} +9 -9
  59. package/dist/{vue-ui-circle-pack-D58AOk8y.cjs → vue-ui-circle-pack-Dv1JM47Y.cjs} +1 -1
  60. package/dist/{vue-ui-cursor-Dnkh_phA.js → vue-ui-cursor-BOaEBh8K.js} +2 -2
  61. package/dist/{vue-ui-cursor-D1ZEe_2B.cjs → vue-ui-cursor-DILIt5Ls.cjs} +1 -1
  62. package/dist/{vue-ui-dashboard-mDnIJx3M.js → vue-ui-dashboard-Dg09VIwT.js} +62 -62
  63. package/dist/{vue-ui-dashboard-BbcppsFn.cjs → vue-ui-dashboard-yky1BoX1.cjs} +1 -1
  64. package/dist/{vue-ui-digits-Dr3tklAr.js → vue-ui-digits-DHSipUKE.js} +2 -2
  65. package/dist/{vue-ui-digits-C_za0nmt.cjs → vue-ui-digits-rCyDXucx.cjs} +1 -1
  66. package/dist/{vue-ui-donut-CRBp5BFP.js → vue-ui-donut-C0-b6MaS.js} +12 -12
  67. package/dist/{vue-ui-donut-CxCNCSyO.cjs → vue-ui-donut-Dz4uz6yZ.cjs} +1 -1
  68. package/dist/{vue-ui-donut-evolution-D4s8zLwf.cjs → vue-ui-donut-evolution-BfFxQ53a.cjs} +1 -1
  69. package/dist/{vue-ui-donut-evolution-abrnOe55.js → vue-ui-donut-evolution-T2o954MU.js} +11 -11
  70. package/dist/{vue-ui-dumbbell-Bj_SUn-j.js → vue-ui-dumbbell-C-JHVfQK.js} +10 -10
  71. package/dist/{vue-ui-dumbbell-BDinWM7R.cjs → vue-ui-dumbbell-DirbX29v.cjs} +1 -1
  72. package/dist/{vue-ui-flow-CtAP5n05.js → vue-ui-flow-Cnqon6JE.js} +9 -9
  73. package/dist/{vue-ui-flow-DCQVOrgy.cjs → vue-ui-flow-pdIZMWGU.cjs} +1 -1
  74. package/dist/{vue-ui-funnel-0TWVP6z9.cjs → vue-ui-funnel-D0EYYR5q.cjs} +1 -1
  75. package/dist/{vue-ui-funnel-DymsYFW0.js → vue-ui-funnel-DDGgRUL_.js} +9 -9
  76. package/dist/{vue-ui-galaxy-Dn-E22Sq.js → vue-ui-galaxy-5Lp5jcVx.js} +11 -11
  77. package/dist/{vue-ui-galaxy-DoJcvc2z.cjs → vue-ui-galaxy-C4QUHRn3.cjs} +1 -1
  78. package/dist/{vue-ui-gauge-DqbsP-05.js → vue-ui-gauge-BWdmnfk7.js} +7 -7
  79. package/dist/{vue-ui-gauge-BPOh-LHr.cjs → vue-ui-gauge-n0llGxB3.cjs} +1 -1
  80. package/dist/{vue-ui-gizmo-CW9LAAdu.cjs → vue-ui-gizmo-56KcpzEi.cjs} +1 -1
  81. package/dist/{vue-ui-gizmo-BohTVUAE.js → vue-ui-gizmo-CwXTG2rg.js} +3 -3
  82. package/dist/{vue-ui-heatmap-CYCOMJEp.cjs → vue-ui-heatmap-BPhN0t20.cjs} +1 -1
  83. package/dist/{vue-ui-heatmap-1FWBcMxC.js → vue-ui-heatmap-DsuOdL-_.js} +10 -10
  84. package/dist/{vue-ui-history-plot-CSIf1_96.js → vue-ui-history-plot-C4F8Dt5u.js} +11 -11
  85. package/dist/{vue-ui-history-plot-BUIqHRPg.cjs → vue-ui-history-plot-CYury7gY.cjs} +1 -1
  86. package/dist/{vue-ui-kpi-BrhY5fFX.js → vue-ui-kpi-BUZSIvhd.js} +3 -3
  87. package/dist/{vue-ui-kpi-Cf6eEcYm.cjs → vue-ui-kpi-DWJKi_Rg.cjs} +1 -1
  88. package/dist/{vue-ui-mini-loader-CURulq-0.cjs → vue-ui-mini-loader-C6KZynyq.cjs} +1 -1
  89. package/dist/{vue-ui-mini-loader-CgkVj3jx.js → vue-ui-mini-loader-CZHn7s8C.js} +2 -2
  90. package/dist/{vue-ui-molecule-DBlY5wdo.cjs → vue-ui-molecule-CESE6y3-.cjs} +1 -1
  91. package/dist/{vue-ui-molecule-Bd-W2FcU.js → vue-ui-molecule-RkEuKZfw.js} +11 -11
  92. package/dist/{vue-ui-mood-radar-Bzl98p3C.js → vue-ui-mood-radar-D8cC7b4H.js} +11 -11
  93. package/dist/{vue-ui-mood-radar-D9yvKEMp.cjs → vue-ui-mood-radar-s5D-LXhx.cjs} +1 -1
  94. package/dist/{vue-ui-nested-donuts-BZ5JA8Q0.cjs → vue-ui-nested-donuts-BPV5CMmn.cjs} +1 -1
  95. package/dist/{vue-ui-nested-donuts-DyTI4ydr.js → vue-ui-nested-donuts-D-FYuXRA.js} +11 -11
  96. package/dist/{vue-ui-onion-ueQgXseI.js → vue-ui-onion-C2IuYY1_.js} +11 -11
  97. package/dist/{vue-ui-onion-DLm1PYJW.cjs → vue-ui-onion-D-hvBCBK.cjs} +1 -1
  98. package/dist/{vue-ui-parallel-coordinate-plot-CE7Apuxp.js → vue-ui-parallel-coordinate-plot-B1O55-rm.js} +12 -12
  99. package/dist/{vue-ui-parallel-coordinate-plot-C2IpU_Zn.cjs → vue-ui-parallel-coordinate-plot-nOYz2jJn.cjs} +1 -1
  100. package/dist/{vue-ui-quadrant-CjLaANbC.js → vue-ui-quadrant-B0_OxcFz.js} +12 -12
  101. package/dist/{vue-ui-quadrant-R1yAxzva.cjs → vue-ui-quadrant-DYhGwlfe.cjs} +1 -1
  102. package/dist/{vue-ui-quick-chart-CVDLl6ro.js → vue-ui-quick-chart-DRmt8uTr.js} +9 -9
  103. package/dist/{vue-ui-quick-chart-BdqHueUa.cjs → vue-ui-quick-chart-Dh5PExEE.cjs} +1 -1
  104. package/dist/{vue-ui-radar-CoJY69Qe.js → vue-ui-radar-BSKl6NaZ.js} +12 -12
  105. package/dist/{vue-ui-radar-B6u_29cN.cjs → vue-ui-radar-bTmYQTD8.cjs} +1 -1
  106. package/dist/{vue-ui-rating-inneqZuS.cjs → vue-ui-rating-DhZNtU-G.cjs} +1 -1
  107. package/dist/{vue-ui-rating-tqvCl4qR.js → vue-ui-rating-h8ElTbDc.js} +2 -2
  108. package/dist/{vue-ui-relation-circle-B_2RZE3S.js → vue-ui-relation-circle-BaWJr8To.js} +7 -7
  109. package/dist/{vue-ui-relation-circle-D_eh1BEp.cjs → vue-ui-relation-circle-QKX4wATN.cjs} +1 -1
  110. package/dist/{vue-ui-ridgeline-BZqkRymO.js → vue-ui-ridgeline-D1GUsvXX.js} +369 -331
  111. package/dist/vue-ui-ridgeline-DqHfwFSt.cjs +1 -0
  112. package/dist/{vue-ui-rings-CDBPSu7C.cjs → vue-ui-rings-BF-pJGFw.cjs} +1 -1
  113. package/dist/{vue-ui-rings-5cvD-A8P.js → vue-ui-rings-CTejFHE3.js} +12 -12
  114. package/dist/{vue-ui-scatter-DSd4R2Yi.cjs → vue-ui-scatter-CxzLQ9E9.cjs} +1 -1
  115. package/dist/{vue-ui-scatter-D6gIKljC.js → vue-ui-scatter-DwAuYDAJ.js} +12 -12
  116. package/dist/{vue-ui-skeleton-ovmMp5bh.cjs → vue-ui-skeleton-BncdTK_J.cjs} +1 -1
  117. package/dist/{vue-ui-skeleton-kS_CJIiv.js → vue-ui-skeleton-N92OEV1V.js} +3 -3
  118. package/dist/{vue-ui-smiley-DzoxVoms.js → vue-ui-smiley-C0XYZpqy.js} +2 -2
  119. package/dist/{vue-ui-smiley-DJnJpvqE.cjs → vue-ui-smiley-CbodcLLJ.cjs} +1 -1
  120. package/dist/{vue-ui-spark-trend-oIWCpuK4.js → vue-ui-spark-trend-Dj8qsN6G.js} +5 -5
  121. package/dist/{vue-ui-spark-trend-CFS3QbYY.cjs → vue-ui-spark-trend-y_GuosnD.cjs} +1 -1
  122. package/dist/{vue-ui-sparkbar-zp12sOeT.js → vue-ui-sparkbar-Benj8HGj.js} +4 -4
  123. package/dist/{vue-ui-sparkbar-CcF0AVSW.cjs → vue-ui-sparkbar-CxJmv5ML.cjs} +1 -1
  124. package/dist/{vue-ui-sparkgauge-Ch5sucF4.js → vue-ui-sparkgauge-E-1gEmG-.js} +4 -4
  125. package/dist/{vue-ui-sparkgauge-DTflH_xZ.cjs → vue-ui-sparkgauge-zIBTPmsR.cjs} +1 -1
  126. package/dist/{vue-ui-sparkhistogram-DZt0HNIE.cjs → vue-ui-sparkhistogram-XRkWTqkN.cjs} +1 -1
  127. package/dist/{vue-ui-sparkhistogram-BkTOZLzM.js → vue-ui-sparkhistogram-pICEX61o.js} +5 -5
  128. package/dist/{vue-ui-sparkline-C_xiHNZV.js → vue-ui-sparkline-D81DEBjv.js} +4 -4
  129. package/dist/{vue-ui-sparkline-CBSJXHQs.cjs → vue-ui-sparkline-DV5D_RQh.cjs} +1 -1
  130. package/dist/{vue-ui-sparkstackbar-C_OFfnx-.js → vue-ui-sparkstackbar-BpcCOvAI.js} +5 -5
  131. package/dist/{vue-ui-sparkstackbar-CflXoafD.cjs → vue-ui-sparkstackbar-DMNg9ak3.cjs} +1 -1
  132. package/dist/{vue-ui-stackbar-qXKMKlND.js → vue-ui-stackbar-G15qxsMd.js} +13 -13
  133. package/dist/{vue-ui-stackbar-Bxk0RKI0.cjs → vue-ui-stackbar-PnD1hK3i.cjs} +1 -1
  134. package/dist/{vue-ui-strip-plot-CXQN3ICY.cjs → vue-ui-strip-plot-ChHICkYn.cjs} +1 -1
  135. package/dist/{vue-ui-strip-plot-C0JI5Ypz.js → vue-ui-strip-plot-DJ1j7lKY.js} +11 -11
  136. package/dist/{vue-ui-table-Cl3Li8f9.cjs → vue-ui-table-B3GPUNC6.cjs} +1 -1
  137. package/dist/{vue-ui-table-DyFNHVoi.js → vue-ui-table-CPWbYP3g.js} +3 -3
  138. package/dist/{vue-ui-table-heatmap-BcCULm0Y.js → vue-ui-table-heatmap-BozZIGw6.js} +4 -4
  139. package/dist/{vue-ui-table-heatmap-DGLCYPo5.cjs → vue-ui-table-heatmap-eN_RvRGE.cjs} +1 -1
  140. package/dist/{vue-ui-table-sparkline-BgkRYmur.cjs → vue-ui-table-sparkline-8n1TE1wF.cjs} +1 -1
  141. package/dist/{vue-ui-table-sparkline-B-dNVmMr.js → vue-ui-table-sparkline-CdDRwxTd.js} +5 -5
  142. package/dist/{vue-ui-thermometer-BCH7KJhP.cjs → vue-ui-thermometer-BVRKMtH8.cjs} +1 -1
  143. package/dist/{vue-ui-thermometer-Cuw5r53c.js → vue-ui-thermometer-Bi8kEUpd.js} +7 -7
  144. package/dist/{vue-ui-timer-CyopDf_K.cjs → vue-ui-timer-BTKEuhNh.cjs} +1 -1
  145. package/dist/{vue-ui-timer-DdGJsPoJ.js → vue-ui-timer-DM3UD4U1.js} +5 -5
  146. package/dist/{vue-ui-tiremarks-BPxnwI8b.js → vue-ui-tiremarks-B7VBbIEY.js} +7 -7
  147. package/dist/{vue-ui-tiremarks-C8AqJweQ.cjs → vue-ui-tiremarks-_i2hr2b5.cjs} +1 -1
  148. package/dist/{vue-ui-treemap-CeuVNdos.js → vue-ui-treemap-CB0VxAnH.js} +12 -12
  149. package/dist/{vue-ui-treemap-BFu-MBkV.cjs → vue-ui-treemap-CKy9D8Ea.cjs} +1 -1
  150. package/dist/{vue-ui-vertical-bar-CqE10O2F.cjs → vue-ui-vertical-bar-BBJzPtdF.cjs} +1 -1
  151. package/dist/{vue-ui-vertical-bar-Ba6oWXzE.js → vue-ui-vertical-bar-BEPc3lno.js} +12 -12
  152. package/dist/{vue-ui-waffle-lMRTNFla.js → vue-ui-waffle-BzFCNnbT.js} +12 -12
  153. package/dist/{vue-ui-waffle-Dj664Zvg.cjs → vue-ui-waffle-jsCU5pDG.cjs} +1 -1
  154. package/dist/{vue-ui-wheel-BWMzvmcA.cjs → vue-ui-wheel-BFQjYYox.cjs} +1 -1
  155. package/dist/{vue-ui-wheel-aaqRzfsy.js → vue-ui-wheel-Fngpvu0X.js} +7 -7
  156. package/dist/{vue-ui-word-cloud-D2UL2Oye.js → vue-ui-word-cloud-DVk6cKMt.js} +10 -10
  157. package/dist/{vue-ui-word-cloud-Z7WvU8XI.cjs → vue-ui-word-cloud-LaXnNCwH.cjs} +1 -1
  158. package/dist/{vue-ui-world-B61PIrw8.js → vue-ui-world-jSuq2wK6.js} +11 -11
  159. package/dist/{vue-ui-world-JoZxd7Uu.cjs → vue-ui-world-mEXGnJBH.cjs} +1 -1
  160. package/dist/{vue-ui-xy-F8eArZNJ.js → vue-ui-xy-DL8afDjw.js} +16 -16
  161. package/dist/{vue-ui-xy-Bil87p79.cjs → vue-ui-xy-b2wVPLx_.cjs} +2 -2
  162. package/dist/{vue-ui-xy-canvas-Qb5pkWBq.cjs → vue-ui-xy-canvas-BnH7Yka3.cjs} +1 -1
  163. package/dist/{vue-ui-xy-canvas-BlQyx-BL.js → vue-ui-xy-canvas-BolKnmNP.js} +12 -12
  164. package/package.json +1 -1
  165. package/dist/PackageVersion-nHr3qHGs.cjs +0 -1
  166. package/dist/index-BqL3-yPQ.cjs +0 -9
  167. package/dist/vue-ui-ridgeline-BN4YoLPn.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-BqL3-yPQ.cjs"),We=require("./useUserOptionState-BgepsfED.cjs"),Ue=require("./useChartAccessibility-Cm7nkzTG.cjs"),be=require("./usePrinter-vjB2nrFW.cjs"),we=require("./useResponsive-DQmBAoBf.cjs"),Ce=require("./useNestedProp-BVy9-3EJ.cjs"),Ye=require("./vue-ui-accordion-CELgYjnV.cjs"),Ge=require("./BaseIcon-CN6BxTf_.cjs"),Be=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),je=require("./DataTable-Bc-sIk3H.cjs"),Je=require("./Legend-DbGQCXU-.cjs"),Ke=require("./PenAndPaper-30BhAniw.cjs"),Qe=require("./Shape-PzPPg5iH.cjs"),Ze=require("./vue-ui-skeleton-ovmMp5bh.cjs"),et=require("./Title-58EtyYdb.cjs"),tt=require("./vue-ui-xy-Bil87p79.cjs"),lt=["xmlns"],at={class:"modal-title"},ot={class:"modal-body"},rt={__name:"BaseDraggableDialog",props:{backgroundColor:{type:String},color:{type:String},headerBg:{type:String},headerColor:{type:String}},emits:["close"],setup(E,{expose:Q,emit:Z}){e.useCssVars(i=>({19616867:E.color}));const ee=E,p=Z,b=e.ref(!1),L=e.ref(!1),o=e.reactive({left:window.innerWidth/2-200,top:window.innerHeight/2-120,width:400,height:400,dragging:!1,resizing:!1,dragOffsetX:0,dragOffsetY:0,pointerStartX:0,pointerStartY:0,resizeStartW:0,resizeStartH:0});function U(){b.value=!0,e.nextTick(()=>{L.value||(o.left=Math.max(0,window.innerWidth/2-o.width/2),o.top=Math.max(0,window.innerHeight/2-o.height/2),L.value=!0)})}function T(){b.value=!1,p("close")}Q({open:U,close:T});const V=e.computed(()=>({position:"fixed",left:`${o.left}px`,top:`${o.top}px`,width:`${o.width}px`,height:`${o.height}px`,padding:0,border:"none",background:ee.backgroundColor,boxShadow:"0 4px 24px rgba(0,0,0,0.15)",zIndex:9999,overflow:"visible",borderRadius:"2px"}));function w(i){return i.touches&&i.touches.length?{x:i.touches[0].clientX,y:i.touches[0].clientY}:{x:i.clientX,y:i.clientY}}function P(i){var v;(v=i.preventDefault)==null||v.call(i),o.dragging=!0;const d=w(i);o.dragOffsetX=d.x-o.left,o.dragOffsetY=d.y-o.top,document.addEventListener("mousemove",A),document.addEventListener("mouseup",$),document.addEventListener("touchmove",A,{passive:!1}),document.addEventListener("touchend",$)}function A(i){var m;if(!o.dragging)return;(m=i.preventDefault)==null||m.call(i);const d=w(i);let v=d.x-o.dragOffsetX,t=d.y-o.dragOffsetY;v=Math.max(0,Math.min(v,window.innerWidth-o.width)),t=Math.max(0,Math.min(t,window.innerHeight-o.height)),o.left=v,o.top=t}function $(){o.dragging=!1,document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",$),document.removeEventListener("touchmove",A),document.removeEventListener("touchend",$)}function O(i){var v;(v=i.preventDefault)==null||v.call(i),o.resizing=!0;const d=w(i);o.pointerStartX=d.x,o.pointerStartY=d.y,o.resizeStartW=o.width,o.resizeStartH=o.height,document.addEventListener("mousemove",y),document.addEventListener("mouseup",B),document.addEventListener("touchmove",y,{passive:!1}),document.addEventListener("touchend",B)}function y(i){var m;if(!o.resizing)return;(m=i.preventDefault)==null||m.call(i);const d=w(i);let v=d.x-o.pointerStartX,t=d.y-o.pointerStartY;o.width=Math.max(240,o.resizeStartW+v),o.height=Math.max(400,o.resizeStartH+t)}function B(){o.resizing=!1,document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",B),document.removeEventListener("touchmove",y),document.removeEventListener("touchend",B)}function Y(i){var v;(v=i.preventDefault)==null||v.call(i),o.resizing=!0;const d=w(i);o.pointerStartX=d.x,o.pointerStartY=d.y,o.resizeStartW=o.width,o.resizeStartH=o.height,o.resizeStartLeft=o.left,o.resizeStartTop=o.top,document.addEventListener("mousemove",N),document.addEventListener("mouseup",h),document.addEventListener("touchmove",N,{passive:!1}),document.addEventListener("touchend",h)}function N(i){var F;if(!o.resizing)return;(F=i.preventDefault)==null||F.call(i);const d=w(i);let v=d.x-o.pointerStartX,t=Math.min(Math.max(0,o.resizeStartLeft+v),o.resizeStartLeft+o.resizeStartW-240),m=o.resizeStartW-(t-o.resizeStartLeft),D=d.y-o.pointerStartY,G=Math.max(400,o.resizeStartH+D);o.left=t,o.width=m,o.height=G}function h(){o.resizing=!1,document.removeEventListener("mousemove",N),document.removeEventListener("mouseup",h),document.removeEventListener("touchmove",N),document.removeEventListener("touchend",h)}return e.onUnmounted(()=>{$(),B(),h()}),(i,d)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[b.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"modal vue-ui-draggable-dialog",style:e.normalizeStyle(V.value),onClick:d[0]||(d[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:"modal-header",style:e.normalizeStyle({backgroundColor:E.headerBg,color:E.headerColor})},[e.createElementVNode("span",{class:"drag-handle",onMousedown:e.withModifiers(P,["stop","prevent"]),onTouchstart:e.withModifiers(P,["stop","prevent"])},[(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(u.XMLNS),width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},d[1]||(d[1]=[e.createElementVNode("path",{d:"M5 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1),e.createElementVNode("path",{d:"M5 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1),e.createElementVNode("path",{d:"M12 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1),e.createElementVNode("path",{d:"M12 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1),e.createElementVNode("path",{d:"M19 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1),e.createElementVNode("path",{d:"M19 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1)]),8,lt))],32),e.createElementVNode("span",at,[e.renderSlot(i.$slots,"title",{},void 0,!0)]),e.createElementVNode("button",{class:"close",onClick:T},[e.createVNode(Ge.default,{name:"close",stroke:E.headerColor},null,8,["stroke"])])],4),e.createElementVNode("div",ot,[e.renderSlot(i.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",{class:"resize-handle",onMousedown:e.withModifiers(O,["stop","prevent"]),onTouchstart:e.withModifiers(O,["stop","prevent"])},null,32),e.createElementVNode("div",{class:"resize-handle resize-handle-left",onMousedown:e.withModifiers(Y,["stop","prevent"]),onTouchstart:e.withModifiers(Y,["stop","prevent"])},null,32)],4)):e.createCommentVNode("",!0)]))}},nt=Be._export_sfc(rt,[["__scopeId","data-v-f854cee8"]]),st=["id"],it=["xmlns","viewBox"],ut=["id"],ct=["stop-color"],dt=["stop-color"],ht=["stop-color"],vt=["stop-color"],mt={key:0},ft=["fill","d"],pt=["fill","stroke","stroke-width","d"],gt=["stroke","stroke-dasharray","stroke-width","d"],yt=["x1","y1","x2","y2","stroke","stroke-width","stroke-dasharray"],kt=["cx","cy","stroke","stroke-width","r","fill"],xt=["x","y","font-size","font-weight","fill","text-decoration","onMouseenter","onClick"],bt={key:1},wt=["font-size","fill","font-weight","transform","text-anchor"],Ct=["x","y","width","height","onMouseenter","onClick"],Bt=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],St=["cx","cy","stroke","stroke-width","r","fill"],Et=["x","y","text-anchor","font-size","fill"],At={key:5,class:"vue-data-ui-watermark"},$t=["onClick"],Nt=["innerHTML"],zt={__name:"vue-ui-ridgeline",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint","selectX"],setup(E,{expose:Q,emit:Z}){const{vue_ui_ridgeline:ee}=u.useConfig(),p=E,b=e.computed({get(){return!!p.dataset&&p.dataset.length},set(a){return a}}),L=Z,o=e.ref(null),U=e.ref(null),T=e.ref(null),V=e.ref(null),w=e.ref(null),P=e.ref(null),A=e.ref(0),$=e.ref(0),O=e.ref(0),y=e.ref(u.createUid()),B=e.ref(0),Y=e.ref(0),N=e.ref(512),h=e.ref(null),i=e.ref(null),d=e.ref(null);function v(){const a=Ce.useNestedProp({userConfig:p.config,defaultConfig:ee});return a.theme?{...Ce.useNestedProp({userConfig:u.themes.vue_ui_ridgeline[a.theme]||p.config,defaultConfig:a}),customPalette:u.themePalettes[a.theme]||u.palette}:a}const t=e.computed({get:()=>v(),set:a=>a}),m=e.ref(Math.min(t.value.style.chart.areas.height,t.value.style.chart.areas.rowHeight)),{userOptionsVisible:D,setUserOptionsVisibility:G,keepUserOptionState:F}=We.useUserOptionState({config:t.value}),{svgRef:te}=Ue.useChartAccessibility({config:t.value.style.chart.title});e.onMounted(le),e.onBeforeUnmount(()=>{V.value&&V.value.disconnect()});function le(){if(u.objectIsEmpty(p.dataset)?u.error({componentName:"VueUiRidgeline",type:"dataset"}):p.dataset.forEach((a,s)=>{u.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["name","datapoints"]}).forEach(l=>{b.value=!1,u.error({componentName:"VueUiRidgeline",type:"datasetSerieAttribute",property:l,index:s})}),a.datapoints.length&&a.datapoints.forEach((l,r)=>{u.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(n=>{b.value=!1,u.error({componentName:"VueUiRidgeline",type:"datasetSerieAttribute",property:`datapoint.${n}`,index:`${s}-${r}`})})})}),Y.value=p.dataset.length,m.value=Math.min(t.value.style.chart.areas.height,t.value.style.chart.areas.rowHeight),t.value.responsive){const a=we.throttle(()=>{const{width:s,height:l}=we.useResponsive({chart:o.value,title:t.value.style.chart.title.text?U.value:null,legend:t.value.style.chart.legend.show?T.value:null,source:w.value,noTitle:P.value});requestAnimationFrame(()=>{N.value=s,m.value=l/p.dataset.length})});V.value=new ResizeObserver(a),V.value.observe(o.value.parentNode)}}const{isPrinting:ne,isImaging:se,generatePdf:ie,generateImage:ue}=be.usePrinter({elementId:`vue-ui-ridgeline_${y.value}`,fileName:t.value.style.chart.title.text||"vue-ui-ridgeline",options:t.value.userOptions.print}),Se=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),Ee=e.computed(()=>u.convertCustomPalette(t.value.customPalette)),X=e.ref({showTable:t.value.table.show});e.watch(()=>p.config,a=>{t.value=v(),D.value=!t.value.userOptions.showOnChartHover,le(),A.value+=1,O.value+=1,m.value=Math.min(t.value.style.chart.areas.height,t.value.style.chart.areas.rowHeight),X.value.showTable=t.value.table.show},{deep:!0}),e.watch(()=>p.dataset,le,{deep:!0});const ae=e.computed(()=>t.value.style.chart.areas.height/t.value.style.chart.areas.rowHeight);function ce(a){S.value.includes(a)?S.value=S.value.filter(s=>s!==a):S.value.push(a),L("selectLegend",I.value)}const C=e.computed(()=>b.value?p.dataset.map((a,s)=>({...a,labelLen:Ne(a.name,t.value.style.chart.yAxis.labels.fontSize),uid:u.createUid(),datapoints:a.datapoints.map((l,r)=>{const n=l.color?u.convertColorToHex(l.color):Ee.value[r]||u.palette[r]||u.palette[r%u.palette.length],c=u.slugify(l.name);return{...l,color:n,id:c}})})):[]),de=e.computed(()=>t.value.style.chart.padding.top+m.value*p.dataset.length+m.value*ae.value),k=e.computed(()=>({fullHeight:f.value.padding.top+f.value.padding.bottom+f.value.height,top:f.value.padding.top,left:f.value.padding.left,right:f.value.width-f.value.padding.right,bottom:f.value.padding.top+f.value.height,width:f.value.width-(f.value.padding.left+f.value.padding.right)})),f=e.computed(()=>{const a=t.value.style.chart.padding;return{width:N.value,height:de.value,padding:a}}),_=e.computed(()=>{const a=Math.max(...C.value.map(c=>c.labelLen)),s=Math.max(...C.value.flatMap(c=>c.datapoints.map(x=>x.values.length))),l=f.value.padding.left+a+16+t.value.style.chart.yAxis.labels.offsetX,r=(k.value.width-l)/s,n=[];for(let c=0;c<s;c+=1)n.push({selectorX:l+r*c,x:l+r*c-r/2,y:k.value.top,label:t.value.style.chart.xAxis.labels.values[c]||"",index:c,width:r,height:de.value});return n});function Ae(a){L("selectX",C.value.map(s=>s.datapoints.map(l=>({dp:l,selected:l.values[a.index]}))))}function $e(a,s){return a.length*s/2+s}function he(a,s,l){const r=$e(s,l);return a+r>k.value.right}function Ne(a,s,l="sans-serif"){const n=document.createElement("canvas").getContext("2d"),c=typeof s=="number"?`${s}px`:s;return n.font=`${c} ${l}`,n.measureText(a).width}const I=e.computed(()=>{m.value;const a=Math.max(...C.value.map(g=>g.labelLen)),s=Math.max(...C.value.flatMap(g=>g.datapoints.map(z=>z.values.length))),l=Math.max(...C.value.flatMap(g=>g.datapoints.flatMap(z=>z.values))),r=Math.min(...C.value.flatMap(g=>g.datapoints.flatMap(z=>z.values))),n=f.value.padding.left+a+16+t.value.style.chart.yAxis.labels.offsetX,c=(k.value.width-n)/s,x=Math.abs(Math.min(r,0)),ye=l+x;function ke(g){return isNaN(g/ye)?0:g/ye}return C.value.map((g,z)=>{const xe=k.value.top+m.value*z,M=k.value.top+xe+m.value*ae.value*(1-ke(x));return{...g,label:{x:n-t.value.style.chart.yAxis.labels.fontSize,y:M},datapoints:g.datapoints.map(R=>{const q=R.values.map((W,Xe)=>{const Ie=isNaN(W)||[void 0,null,"NaN",NaN,1/0,-1/0].includes(W)?0:W||0,He=n+c*Xe,Re=k.value.top+xe+m.value*ae.value*(1-ke(Ie+x)),qe=W===Math.max(...R.values);return{x:He,y:Re,value:W,isMaxPoint:qe,zero:M}}),Oe=`${u.createSmoothAreaSegments(q,M,!1,!1)}`,De=`M ${n},${M} ${u.createStraightPath(q)} ${q.at(-1).x},${M}`,Fe=`M ${n},${M} ${q.at(-1).x},${M}`;return{...R,plots:q,smoothPath:Oe,straightPath:De,zeroPath:Fe}}).filter(R=>!S.value.includes(R.id))}})}),S=e.ref([]);function ze(a){const s=new Map;return a.forEach(l=>{l.datapoints.forEach((r,n)=>{const c=u.slugify(r.name);s.has(c)||s.set(c,{id:c,name:r.name,color:r.color,shape:"circle",segregate:()=>ce(c),isSegregated:S.value.includes(c),opacity:S.value.includes(c)?.5:1})})}),Array.from(s.values())}const j=e.computed(()=>ze(C.value)),Me=e.computed(()=>({cy:"donut-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":""})),H=e.ref(!1);function Le(a){H.value=a,B.value+=1}const ve=e.ref({}),me=e.ref([]);function Ve(a){L("selectDatapoint",a),t.value.style.chart.dialog.show&&(me.value=a.datapoints.map(s=>({name:s.name,color:s.color,type:"line",useArea:!0,smooth:t.value.style.chart.areas.smooth,series:s.values})),i.value=a,ve.value={...t.value.style.chart.dialog.xyChart,responsive:!0,chart:{...t.value.style.chart.dialog.xyChart.chart,grid:{...t.value.style.chart.dialog.xyChart.chart.grid,labels:{...t.value.style.chart.dialog.xyChart.chart.grid.labels,xAxisLabels:{...t.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels,values:t.value.style.chart.xAxis.labels.values}}},tooltip:{...t.value.style.chart.dialog.xyChart.chart.tooltip,showTimeLabel:t.value.style.chart.xAxis.labels.values.length>0}}},d.value&&d.value.open())}const oe=e.ref(null);function _e(a){oe.value=a}function Te(){oe.value=null}const J=e.ref(!1);function re(){J.value=!J.value}function fe(){X.value.showTable=!X.value.showTable}const pe=e.computed(()=>({body:I.value.flatMap(l=>l.datapoints.flatMap(r=>({...r,rowName:`${l.name}: ${r.name}`}))).map(l=>[{name:l.rowName,color:l.color},...l.values])})),K=e.computed(()=>{const a=[t.value.table.columnNames.series,...t.value.style.chart.xAxis.labels.values],s={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.style.chart.xAxis.labels.values],head:a,body:pe.value.body,config:s}});function ge(){e.nextTick(()=>{const a=[[t.value.table.columnNames.series,...t.value.style.chart.xAxis.labels.values.map(r=>[r])],...pe.value.body.map((r,n)=>[r[0].name,...r.slice(1)])],s=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text]].concat(a),l=u.createCsvContent(s);u.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-ridgeline"})})}function Pe(){return I.value}return Q({getData:Pe,generateImage:ue,generatePdf:ie,generateCsv:ge,toggleAnnotator:re,toggleTable:fe}),(a,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ridgelineChart",ref:o,class:e.normalizeClass(`vue-ui-ridgeline ${H.value?"vue-data-ui-wrapper-fullscreen":""}`),id:`vue-ui-ridgeline_${y.value}`,style:e.normalizeStyle({fontFamily:t.value.style.fontFamily,width:"100%",textAlign:"center",background:t.value.style.chart.backgroundColor,height:t.value.responsive?"100%":void 0}),onMouseenter:s[4]||(s[4]=()=>e.unref(G)(!0)),onMouseleave:s[5]||(s[5]=()=>e.unref(G)(!1))},[t.value.userOptions.buttons.annotator&&e.unref(te)?(e.openBlock(),e.createBlock(Ke._sfc_main,{key:0,color:t.value.style.chart.color,backgroundColor:t.value.style.chart.backgroundColor,active:J.value,svgRef:e.unref(te),onClose:re},null,8,["color","backgroundColor","active","svgRef"])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"userConfig",{},void 0,!0),Se.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:P,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:U,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(et._sfc_main,{key:`title_${A.value}`,config:{title:{cy:"ridgeline-div-title",...t.value.style.chart.title},subtitle:{cy:"ridgeline-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&b.value&&(e.unref(F)||e.unref(D))?(e.openBlock(),e.createBlock(be.UserOptions,{ref:"details",key:`user_option_${B.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(ne),isImaging:e.unref(se),uid:y.value,hasTooltip:!1,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:!1,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:H.value,chartElement:o.value,position:t.value.userOptions.position,isTooltip:!1,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:J.value,style:e.normalizeStyle({visibility:e.unref(F)?e.unref(D)?"visible":"hidden":"visible"}),onToggleFullscreen:Le,onGeneratePdf:e.unref(ie),onGenerateCsv:ge,onGenerateImage:e.unref(ue),onToggleTable:fe,onToggleAnnotator:re},e.createSlots({_:2},[a.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:r})=>[e.renderSlot(a.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:r})),void 0,!0)]),key:"0"}:void 0,a.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,a.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,a.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,a.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,a.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,a.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:r})=>[e.renderSlot(a.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:r})),void 0,!0)]),key:"6"}:void 0,a.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:r})=>[e.renderSlot(a.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:r})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","chartElement","position","titles","hasAnnotator","isAnnotation","style","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:te,xmlns:e.unref(u.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":H.value,"vue-data-ui-fulscreen--off":!H.value}),viewBox:`0 0 ${f.value.width<=0?10:f.value.width} ${k.value.fullHeight<=0?10:k.value.fullHeight}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color};${t.value.responsive?"height: 100%; width: 100%;":""}`)},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(j.value,(l,r)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`gradient-${l.id}-${y.value}`,x1:"50%",y1:"0%",x2:"50%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":l.color,"stop-opacity":"1"},null,8,ct),e.createElementVNode("stop",{offset:"30%","stop-color":l.color,"stop-opacity":"0.7"},null,8,dt),e.createElementVNode("stop",{offset:"70%","stop-color":l.color,"stop-opacity":"0.3"},null,8,ht),e.createElementVNode("stop",{offset:"100%","stop-color":l.color,"stop-opacity":"0.1"},null,8,vt)],8,ut))),256))]),a.$slots.pattern?(e.openBlock(),e.createElementBlock("g",mt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(j.value,(l,r)=>(e.openBlock(),e.createElementBlock("defs",null,[e.renderSlot(a.$slots,"pattern",e.mergeProps({ref_for:!0},{variable:l,patternId:`pattern_${y.value}_${r}`}),void 0,!0)]))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,(l,r)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.datapoints,(n,c)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{fill:t.value.style.chart.backgroundColor,stroke:"none","stroke-linecap":"round",d:t.value.style.chart.areas.smooth?n.smoothPath:n.straightPath,style:e.normalizeStyle({opacity:t.value.style.chart.areas.opacity})},null,12,ft),e.createElementVNode("path",{fill:`url(#gradient-${n.id}-${y.value})`,stroke:t.value.style.chart.areas.stroke.useSerieColor?n.color:t.value.style.chart.areas.stroke.color,"stroke-width":t.value.style.chart.areas.strokeWidth,d:t.value.style.chart.areas.smooth?n.smoothPath:n.straightPath,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,pt),e.createElementVNode("path",{stroke:t.value.style.chart.zeroLine.useSerieColor?n.color:t.value.style.chart.zeroLine.stroke,"stroke-dasharray":t.value.style.chart.zeroLine.strokeDasharray,"stroke-width":t.value.style.chart.zeroLine.strokeWidth,d:n.zeroPath,"stroke-linecap":"round"},null,8,gt),t.value.style.chart.areas.maxPoint.show&&n.plots.length>1?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.plots,x=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[x.isMaxPoint?(e.openBlock(),e.createElementBlock("line",{key:0,x1:x.x,y1:x.y,x2:x.x,y2:x.zero,stroke:t.value.style.chart.areas.maxPoint.adaptStrokeToBackground?e.unref(u.adaptColorToBackground)(n.color):t.value.style.chart.areas.maxPoint.stroke,"stroke-width":t.value.style.chart.areas.maxPoint.strokeWidth,"stroke-linecap":"round","stroke-dasharray":t.value.style.chart.areas.maxPoint.strokeDasharray},null,8,yt)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0),n.plots.length===1?(e.openBlock(),e.createElementBlock("circle",{key:1,cx:n.plots[0].x,cy:n.plots[0].y,stroke:t.value.style.chart.selector.dot.stroke,"stroke-width":t.value.style.chart.selector.dot.strokeWidth,r:t.value.style.chart.selector.dot.radius,fill:t.value.style.chart.selector.dot.useDatapointColor?n.color:t.value.style.chart.selector.dot.fill,style:{pointerEvents:"none"}},null,8,kt)):e.createCommentVNode("",!0)]))),256)),e.createElementVNode("text",{x:l.label.x,y:l.label.y,"text-anchor":"end","font-size":t.value.style.chart.yAxis.labels.fontSize,"font-weight":t.value.style.chart.yAxis.labels.bold?"bold":"normal",fill:t.value.style.chart.yAxis.labels.color,style:e.normalizeStyle({cursor:t.value.style.chart.dialog.show?"pointer":"default"}),"text-decoration":t.value.style.chart.dialog.show&&(oe.value===r||i.value&&l.uid===i.value.uid)?"underline":"",onMouseenter:n=>_e(r),onMouseleave:Te,onClick:n=>Ve(l)},e.toDisplayString(l.name),45,xt)]))),256)),t.value.style.chart.xAxis.labels.values.length?(e.openBlock(),e.createElementBlock("g",bt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(l,r)=>e.renderSlot(a.$slots,"time-label",e.mergeProps({ref_for:!0},{show:l&&!t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&!t.value.style.chart.xAxis.labels.showOnlyAtModulo||l&&t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&(r===0||r===_.value.length-1)||l&&h.value&&h.value.index===r||l&&!t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&t.value.style.chart.xAxis.labels.showOnlyAtModulo&&r%Math.floor(_.value.length/t.value.style.chart.xAxis.labels.modulo)===0,fontSize:t.value.style.chart.xAxis.labels.fontSize,content:l.label,textAnchor:t.value.style.chart.xAxis.labels.rotation>0?"start":t.value.style.chart.xAxis.labels.rotation<0?"end":"middle",fill:t.value.style.chart.xAxis.labels.color,transform:`translate(${l.selectorX}, ${k.value.top+l.height+t.value.style.chart.xAxis.labels.offsetY}), rotate(${t.value.style.chart.xAxis.labels.rotation})`,x:l.selectorX,y:k.value.top+l.height+t.value.style.chart.xAxis.labels.offsetY}),()=>[l&&!t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&!t.value.style.chart.xAxis.labels.showOnlyAtModulo||l&&t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&(r===0||r===_.value.length-1)||l&&h.value&&h.value.index===r||l&&!t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&t.value.style.chart.xAxis.labels.showOnlyAtModulo&&r%Math.floor(_.value.length/t.value.style.chart.xAxis.labels.modulo)===0?(e.openBlock(),e.createElementBlock("text",{key:0,"font-size":t.value.style.chart.xAxis.labels.fontSize,fill:t.value.style.chart.xAxis.labels.color,"font-weight":t.value.style.chart.xAxis.labels.bold?"bold":"normal",transform:`translate(${l.selectorX}, ${k.value.top+l.height+t.value.style.chart.xAxis.labels.offsetY}), rotate(${t.value.style.chart.xAxis.labels.rotation})`,"text-anchor":t.value.style.chart.xAxis.labels.rotation>0?"start":t.value.style.chart.xAxis.labels.rotation<0?"end":"middle",style:e.normalizeStyle({opacity:h.value?h.value.index===r?1:.2:1})},e.toDisplayString(l.label),13,wt)):e.createCommentVNode("",!0)],!0)),256))])):e.createCommentVNode("",!0),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(l,r)=>(e.openBlock(),e.createElementBlock("rect",{x:l.x,y:l.y,width:l.width<0?.1:l.width,height:l.height<0?.1:l.height,fill:"transparent",onMouseenter:n=>h.value=l,onMouseleave:s[0]||(s[0]=n=>h.value=null),onClick:()=>Ae(l)},null,40,Ct))),256)),t.value.style.chart.selector.show&&h.value?(e.openBlock(),e.createElementBlock("line",{key:0,x1:h.value.selectorX,x2:h.value.selectorX,y1:h.value.y,y2:h.value.y+h.value.height-m.value/2,stroke:t.value.style.chart.selector.stroke,"stroke-width":t.value.style.chart.selector.strokeWidth,"stroke-dasharray":t.value.style.chart.selector.strokeDasharray,"stroke-linecap":"round",style:{pointerEvents:"none"}},null,8,Bt)):e.createCommentVNode("",!0),h.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(I.value,l=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.datapoints,r=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.plots,(n,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[h.value&&h.value.index===c?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:n.x,cy:n.y,stroke:t.value.style.chart.selector.dot.stroke,"stroke-width":t.value.style.chart.selector.dot.strokeWidth,r:t.value.style.chart.selector.dot.radius,fill:t.value.style.chart.selector.dot.useDatapointColor?r.color:t.value.style.chart.selector.dot.fill,style:{pointerEvents:"none"}},null,8,St)):e.createCommentVNode("",!0),h.value&&h.value.index===c?(e.openBlock(),e.createElementBlock("text",{key:1,x:he(n.x,e.unref(u.applyDataLabel)(t.value.style.chart.selector.labels.formatter,n.value,e.unref(u.dataLabel)({p:t.value.style.chart.xAxis.labels.prefix,v:n.value,s:t.value.style.chart.xAxis.labels.suffix,r:t.value.style.chart.selector.labels.rounding})),t.value.style.chart.selector.labels.fontSize)?n.x-t.value.style.chart.selector.labels.fontSize/2:n.x+t.value.style.chart.selector.labels.fontSize/2,y:n.y+t.value.style.chart.selector.labels.fontSize/3,"text-anchor":he(n.x,e.unref(u.applyDataLabel)(t.value.style.chart.selector.labels.formatter,n.value,e.unref(u.dataLabel)({p:t.value.style.chart.xAxis.labels.prefix,v:n.value,s:t.value.style.chart.xAxis.labels.suffix,r:t.value.style.chart.selector.labels.rounding})),t.value.style.chart.selector.labels.fontSize)?"end":"start","font-size":t.value.style.chart.selector.labels.fontSize,fill:t.value.style.chart.selector.labels.color,style:{pointerEvents:"none"}},e.toDisplayString(e.unref(u.applyDataLabel)(t.value.style.chart.selector.labels.formatter,n.value,e.unref(u.dataLabel)({p:t.value.style.chart.xAxis.labels.prefix,v:n.value,s:t.value.style.chart.xAxis.labels.suffix,r:t.value.style.chart.selector.labels.rounding}))),9,Et)):e.createCommentVNode("",!0)],64))),256))],64))),256))],64))),256)):e.createCommentVNode("",!0)]),e.renderSlot(a.$slots,"svg",{svg:f.value},void 0,!0)],14,it)):e.createCommentVNode("",!0),a.$slots.watermark?(e.openBlock(),e.createElementBlock("div",At,[e.renderSlot(a.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(ne)||e.unref(se)})),void 0,!0)])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ze.default,{key:6,config:{type:"ridgeline",style:{backgroundColor:t.value.style.chart.backgroundColor,ridgeline:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:T},[t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Je.Legend,{key:`legend_${O.value}`,legendSet:j.value,config:Me.value,onClickMarker:s[1]||(s[1]=({legend:l})=>ce(l.id))},e.createSlots({item:e.withCtx(({legend:l})=>[e.createElementVNode("div",{style:e.normalizeStyle(`opacity:${S.value.includes(l.id)?.5:1}`),onClick:r=>l.segregate()},e.toDisplayString(l.name),13,$t)]),_:2},[a.$slots.pattern?{name:"legend-pattern",fn:e.withCtx(({legend:l,index:r})=>[e.createVNode(Qe._sfc_main,{shape:l.shape,radius:30,stroke:"none",plot:{x:30,y:30},fill:`url(#pattern_${y.value}_${r})`},null,8,["shape","fill"])]),key:"0"}:void 0]),1032,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"legend",{legend:j.value},void 0,!0)],512),a.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:w,dir:"auto"},[e.renderSlot(a.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createBlock(Ye.default,{key:8,hideDetails:"",config:{open:X.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(je.DataTable,{key:`table_${$.value}`,colNames:K.value.colNames,head:K.value.head,body:K.value.body,config:K.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` :${t.value.style.chart.title.subtitle.text}`:""}`,onClose:s[2]||(s[2]=l=>X.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l},null,8,Nt)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name?l.name:e.unref(u.applyDataLabel)(t.value.style.chart.selector.labels.formatter,l,e.unref(u.dataLabel)({p:t.value.style.chart.xAxis.labels.prefix,v:l,s:t.value.style.chart.xAxis.labels.suffix,r:t.value.table.td.roundingValue}))),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0),t.value.style.chart.dialog.show?(e.openBlock(),e.createBlock(nt,{key:9,ref_key:"dialog",ref:d,onClose:s[3]||(s[3]=l=>i.value=null),backgroundColor:t.value.style.chart.dialog.backgroundColor,color:t.value.style.chart.dialog.color,headerBg:t.value.style.chart.dialog.header.backgroundColor,headerColor:t.value.style.chart.dialog.header.color},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value.name),1)]),default:e.withCtx(()=>[i.value?(e.openBlock(),e.createBlock(tt.default,{key:0,config:ve.value,dataset:me.value},null,8,["config","dataset"])):e.createCommentVNode("",!0)]),_:1},8,["backgroundColor","color","headerBg","headerColor"])):e.createCommentVNode("",!0)],46,st))}},Mt=Be._export_sfc(zt,[["__scopeId","data-v-2685d149"]]);exports.default=Mt;