vue-data-ui 2.9.7-beta.3 → 2.9.7-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/dist/{Arrow-CRV2aual.cjs → Arrow-Dr7CAOqZ.cjs} +1 -1
  2. package/dist/{Arrow-Br4TIPX-.js → Arrow-s_wPFqJx.js} +1 -1
  3. package/dist/{BaseIcon-YmctODFh.cjs → BaseIcon-BmFMQj6j.cjs} +1 -1
  4. package/dist/{BaseIcon-DKy7UvrS.js → BaseIcon-Nq8DLsxB.js} +1 -1
  5. package/dist/{ColorPicker-3768ddV2.js → ColorPicker-CGhz79T0.js} +3 -3
  6. package/dist/{ColorPicker-CZT356vS.cjs → ColorPicker-sC9FB0BP.cjs} +1 -1
  7. package/dist/{DataTable-Dzjvhx8x.js → DataTable-CaoJlp1o.js} +2 -2
  8. package/dist/{DataTable-Osxcamxt.cjs → DataTable-DBqEL6IT.cjs} +1 -1
  9. package/dist/{Legend-DA7AW7uZ.js → Legend-CMTevdSS.js} +2 -2
  10. package/dist/{Legend-MCQ8TcAe.cjs → Legend-DPvSASqp.cjs} +1 -1
  11. package/dist/{PackageVersion-4ggfhjxK.cjs → PackageVersion-DjLyiG-P.cjs} +1 -1
  12. package/dist/{PackageVersion-ZFu6yCUA.js → PackageVersion-s7IKraJ7.js} +1 -1
  13. package/dist/{PenAndPaper-CMFXzma-.cjs → PenAndPaper-E8prMho-.cjs} +1 -1
  14. package/dist/{PenAndPaper-DrnoKbYV.js → PenAndPaper-UCIFBRLO.js} +3 -3
  15. package/dist/{Shape-Bes1IIhY.cjs → Shape-ByQ4NP8x.cjs} +1 -1
  16. package/dist/{Shape-BgIny_5C.js → Shape-DApsVE3-.js} +1 -1
  17. package/dist/{Slicer-Bz6gQAV6.js → Slicer-BEz7n0a9.js} +2 -2
  18. package/dist/{Slicer-ClUL0-mB.cjs → Slicer-DQ0mvSk_.cjs} +1 -1
  19. package/dist/{Title-Cs73jjW3.js → Title-BAvZqX49.js} +1 -1
  20. package/dist/{Title-BMNxyl5m.cjs → Title-DAqeAwOE.cjs} +1 -1
  21. package/dist/{Tooltip-CKi2NHk4.js → Tooltip-L5-AhMk0.js} +1 -1
  22. package/dist/{Tooltip-DUqOQ4MS.cjs → Tooltip-QM-sq3Ul.cjs} +1 -1
  23. package/dist/{dom-to-png-lqy7O-3q.cjs → dom-to-png-Bx_gosCz.cjs} +1 -1
  24. package/dist/{dom-to-png-ByNUiacT.js → dom-to-png-LXFX5WIG.js} +1 -1
  25. package/dist/{img-Dq5tn1FL.cjs → img-DB-f_Sql.cjs} +1 -1
  26. package/dist/{img-BgDjJChc.js → img-DfxnBRd7.js} +1 -1
  27. package/dist/index-BsmmqoCF.cjs +9 -0
  28. package/dist/{index-CPghjYiK.js → index-CBP1isAR.js} +3 -1
  29. package/dist/{pdf-BgmlrwCl.js → pdf-C0qjwXyh.js} +1 -1
  30. package/dist/{pdf-o0AF3i3S.cjs → pdf-OVz2s4KQ.cjs} +1 -1
  31. package/dist/style.css +1 -1
  32. package/dist/types/vue-data-ui.d.cts +2 -0
  33. package/dist/types/vue-data-ui.d.ts +2 -0
  34. package/dist/{useNestedProp-ClKcINrk.cjs → useNestedProp-DYi3ZveI.cjs} +1 -1
  35. package/dist/{useNestedProp-CU48YkIM.js → useNestedProp-Du7IsYD9.js} +1 -1
  36. package/dist/{usePrinter-BK2X2HOh.cjs → usePrinter-BuOWaMgB.cjs} +1 -1
  37. package/dist/{usePrinter-CQQY-qJd.js → usePrinter-CKWFanLo.js} +3 -3
  38. package/dist/{vue-data-ui-CGj9rW19.cjs → vue-data-ui-3TmZQteB.cjs} +1 -1
  39. package/dist/{vue-data-ui-Bhay7eck.js → vue-data-ui-DCG9PhuN.js} +62 -62
  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-CQOf5vEG.cjs → vue-ui-3d-bar-D-iQl-ws.cjs} +1 -1
  43. package/dist/{vue-ui-3d-bar-CGBJ22pM.js → vue-ui-3d-bar-apnaE4XN.js} +9 -9
  44. package/dist/{vue-ui-accordion-CeEfKK0H.js → vue-ui-accordion-BIM67ZeK.js} +3 -3
  45. package/dist/{vue-ui-accordion-Bu2qXVjl.cjs → vue-ui-accordion-DTGUNv8U.cjs} +1 -1
  46. package/dist/{vue-ui-age-pyramid-DxfcwRai.cjs → vue-ui-age-pyramid-Cfkvx7l9.cjs} +1 -1
  47. package/dist/{vue-ui-age-pyramid-BxSl3nEO.js → vue-ui-age-pyramid-Cy24L42m.js} +10 -10
  48. package/dist/{vue-ui-annotator-CCyVlm0y.cjs → vue-ui-annotator-DjuVYleI.cjs} +1 -1
  49. package/dist/{vue-ui-annotator-Bcyh41_r.js → vue-ui-annotator-VmbRnOih.js} +2 -2
  50. package/dist/{vue-ui-bullet-BHHiPz8-.cjs → vue-ui-bullet-BQ83qtWh.cjs} +1 -1
  51. package/dist/{vue-ui-bullet-DnPoGkdI.js → vue-ui-bullet-CDAo7gWv.js} +8 -8
  52. package/dist/{vue-ui-candlestick-BE_O1ugm.js → vue-ui-candlestick-4aqCjINd.js} +11 -11
  53. package/dist/{vue-ui-candlestick-BtGxFTPL.cjs → vue-ui-candlestick-YX6KvaWS.cjs} +1 -1
  54. package/dist/{vue-ui-carousel-table-UyHoXYHQ.js → vue-ui-carousel-table-C-_FbRDn.js} +4 -4
  55. package/dist/{vue-ui-carousel-table-BNKIXoye.cjs → vue-ui-carousel-table-CuDQWa7G.cjs} +1 -1
  56. package/dist/{vue-ui-chestnut-Br_ToJUK.cjs → vue-ui-chestnut-BYPtEovg.cjs} +1 -1
  57. package/dist/{vue-ui-chestnut-fD626qAx.js → vue-ui-chestnut-X6LS6ScY.js} +8 -8
  58. package/dist/{vue-ui-circle-pack-BNLnJ9kI.js → vue-ui-circle-pack-B1_5dO3g.js} +9 -9
  59. package/dist/{vue-ui-circle-pack-BBasjCGX.cjs → vue-ui-circle-pack-BeAtRXbB.cjs} +1 -1
  60. package/dist/{vue-ui-cursor-eQMNPYJP.js → vue-ui-cursor-BWPtERPT.js} +2 -2
  61. package/dist/{vue-ui-cursor-BBjrAXBD.cjs → vue-ui-cursor-BgGvzmEf.cjs} +1 -1
  62. package/dist/{vue-ui-dashboard-Bo3D9Uvn.cjs → vue-ui-dashboard-CAWAT26c.cjs} +1 -1
  63. package/dist/{vue-ui-dashboard-Cbaa_BLZ.js → vue-ui-dashboard-D5cnUFWk.js} +62 -62
  64. package/dist/{vue-ui-digits-zqL2k7W0.js → vue-ui-digits-CE7Od9yi.js} +2 -2
  65. package/dist/{vue-ui-digits-Ce3OCc60.cjs → vue-ui-digits-DkfsXKCg.cjs} +1 -1
  66. package/dist/{vue-ui-donut-BN8moKQt.js → vue-ui-donut-CL-Ugkr7.js} +12 -12
  67. package/dist/{vue-ui-donut-B9ebh1He.cjs → vue-ui-donut-DpSkxt-q.cjs} +1 -1
  68. package/dist/{vue-ui-donut-evolution-C-C1lEw9.js → vue-ui-donut-evolution-CI-0MGVw.js} +11 -11
  69. package/dist/{vue-ui-donut-evolution-Dgyzjmc9.cjs → vue-ui-donut-evolution-kC51VvI9.cjs} +1 -1
  70. package/dist/{vue-ui-dumbbell-Bx9xpxdq.cjs → vue-ui-dumbbell-BQXYqSKc.cjs} +1 -1
  71. package/dist/{vue-ui-dumbbell-Cdf5rkK4.js → vue-ui-dumbbell-CXrOqs2c.js} +10 -10
  72. package/dist/{vue-ui-flow-9BD6-JjY.cjs → vue-ui-flow-C59FdZtG.cjs} +1 -1
  73. package/dist/{vue-ui-flow-kpqrc9Qo.js → vue-ui-flow-DJro3vjP.js} +9 -9
  74. package/dist/{vue-ui-funnel-YNjvVjW_.js → vue-ui-funnel-Dm3_TN8K.js} +9 -9
  75. package/dist/{vue-ui-funnel-DIpUWZCa.cjs → vue-ui-funnel-zPg56GCn.cjs} +1 -1
  76. package/dist/{vue-ui-galaxy-B0pH7LwL.cjs → vue-ui-galaxy-CS2Mf8Ov.cjs} +1 -1
  77. package/dist/{vue-ui-galaxy-BhORAChF.js → vue-ui-galaxy-DOIOAoxF.js} +11 -11
  78. package/dist/{vue-ui-gauge-C2ZLx41P.js → vue-ui-gauge-D8hdbwD7.js} +7 -7
  79. package/dist/{vue-ui-gauge-CJJ17rIx.cjs → vue-ui-gauge-DiPKEWB4.cjs} +1 -1
  80. package/dist/{vue-ui-gizmo-B2C0aU6U.js → vue-ui-gizmo-CCdea7A2.js} +3 -3
  81. package/dist/{vue-ui-gizmo-D7ga9h3u.cjs → vue-ui-gizmo-chvkzm7k.cjs} +1 -1
  82. package/dist/{vue-ui-heatmap-ChlF8bdv.js → vue-ui-heatmap-CluVUBra.js} +10 -10
  83. package/dist/{vue-ui-heatmap-Cpa-5Coo.cjs → vue-ui-heatmap-DEBUIK8U.cjs} +1 -1
  84. package/dist/{vue-ui-history-plot-CyYyxIQw.cjs → vue-ui-history-plot-5T3LNhQn.cjs} +1 -1
  85. package/dist/{vue-ui-history-plot-Cix6l-jp.js → vue-ui-history-plot-BckOx8Vk.js} +11 -11
  86. package/dist/{vue-ui-kpi-BVJHsaIZ.js → vue-ui-kpi-B2X1xhaJ.js} +3 -3
  87. package/dist/{vue-ui-kpi-B0Zs25lJ.cjs → vue-ui-kpi-DjGm2yh1.cjs} +1 -1
  88. package/dist/{vue-ui-mini-loader-DHJXabkl.js → vue-ui-mini-loader-BJKTWdXg.js} +2 -2
  89. package/dist/{vue-ui-mini-loader-_JethOyy.cjs → vue-ui-mini-loader-hzHrjRlD.cjs} +1 -1
  90. package/dist/{vue-ui-molecule-COiQEf5D.js → vue-ui-molecule-V7lB2OMt.js} +11 -11
  91. package/dist/{vue-ui-molecule-CHxz0R6N.cjs → vue-ui-molecule-g10MJ-nt.cjs} +1 -1
  92. package/dist/{vue-ui-mood-radar-mGGobNxw.js → vue-ui-mood-radar-2zJseFN0.js} +11 -11
  93. package/dist/{vue-ui-mood-radar-BEXGTvUB.cjs → vue-ui-mood-radar-v9PM3J-G.cjs} +1 -1
  94. package/dist/{vue-ui-nested-donuts-CYRliGOr.js → vue-ui-nested-donuts-BwUujGPt.js} +11 -11
  95. package/dist/{vue-ui-nested-donuts-uOW1nKyr.cjs → vue-ui-nested-donuts-C9gEe_6T.cjs} +1 -1
  96. package/dist/{vue-ui-onion-D7R8aJm9.js → vue-ui-onion-1oxYMjac.js} +11 -11
  97. package/dist/{vue-ui-onion-SKUIxvUS.cjs → vue-ui-onion-_Rs5AXWM.cjs} +1 -1
  98. package/dist/{vue-ui-parallel-coordinate-plot-B5GYSsZU.cjs → vue-ui-parallel-coordinate-plot-BO9UHLH2.cjs} +1 -1
  99. package/dist/{vue-ui-parallel-coordinate-plot-BwFapLow.js → vue-ui-parallel-coordinate-plot-BrnYGdiY.js} +12 -12
  100. package/dist/{vue-ui-quadrant-C5qhWWW_.cjs → vue-ui-quadrant-CwAfIdpG.cjs} +1 -1
  101. package/dist/{vue-ui-quadrant-CMg4azLe.js → vue-ui-quadrant-D0qzjogK.js} +12 -12
  102. package/dist/{vue-ui-quick-chart-DFa6Q5RL.js → vue-ui-quick-chart-Dg4akarh.js} +9 -9
  103. package/dist/{vue-ui-quick-chart-B-yEroDi.cjs → vue-ui-quick-chart-DwAMGksL.cjs} +1 -1
  104. package/dist/{vue-ui-radar-LcPcF9gS.cjs → vue-ui-radar-DmV_aB9U.cjs} +1 -1
  105. package/dist/{vue-ui-radar-DDs2foAw.js → vue-ui-radar-Z4yv-LlT.js} +12 -12
  106. package/dist/{vue-ui-rating-MB5itLY9.cjs → vue-ui-rating-BDatA7DF.cjs} +1 -1
  107. package/dist/{vue-ui-rating-CSHzuDF7.js → vue-ui-rating-RyIv9ufH.js} +2 -2
  108. package/dist/{vue-ui-relation-circle-Bighl7Hm.js → vue-ui-relation-circle-BQIEpNpL.js} +7 -7
  109. package/dist/{vue-ui-relation-circle-CS-Ox0P9.cjs → vue-ui-relation-circle-EK-spe4f.cjs} +1 -1
  110. package/dist/{vue-ui-ridgeline-BrppGTxe.js → vue-ui-ridgeline-BpXR96mc.js} +340 -330
  111. package/dist/vue-ui-ridgeline-DROLcK3y.cjs +1 -0
  112. package/dist/{vue-ui-rings-Bv3hxDDA.cjs → vue-ui-rings-C1SBs7eV.cjs} +1 -1
  113. package/dist/{vue-ui-rings-DV6QORSR.js → vue-ui-rings-DR3sMhFa.js} +12 -12
  114. package/dist/{vue-ui-scatter-DfV914cV.cjs → vue-ui-scatter-Dj0h64ne.cjs} +1 -1
  115. package/dist/{vue-ui-scatter-C-Rd_g_Z.js → vue-ui-scatter-DrlzUpVV.js} +12 -12
  116. package/dist/{vue-ui-skeleton-DNqSVeze.cjs → vue-ui-skeleton-4ejtHcys.cjs} +1 -1
  117. package/dist/{vue-ui-skeleton-C9zb9atn.js → vue-ui-skeleton-C27xsSyg.js} +3 -3
  118. package/dist/{vue-ui-smiley-C10OmQgH.cjs → vue-ui-smiley-B7ql3XCo.cjs} +1 -1
  119. package/dist/{vue-ui-smiley-BNr2TwD7.js → vue-ui-smiley-C7S2yOhR.js} +2 -2
  120. package/dist/{vue-ui-spark-trend-BaMbJj_s.cjs → vue-ui-spark-trend-BIfM0Usw.cjs} +1 -1
  121. package/dist/{vue-ui-spark-trend-BkYXwfjo.js → vue-ui-spark-trend-DuDYLeLL.js} +5 -5
  122. package/dist/{vue-ui-sparkbar-lTreIYyI.cjs → vue-ui-sparkbar-4ZyV7t5s.cjs} +1 -1
  123. package/dist/{vue-ui-sparkbar-CL_srpNL.js → vue-ui-sparkbar-Cov9Xm0L.js} +4 -4
  124. package/dist/{vue-ui-sparkgauge-TDsmxaIv.cjs → vue-ui-sparkgauge-BSzmtl_K.cjs} +1 -1
  125. package/dist/{vue-ui-sparkgauge-CPxJkflg.js → vue-ui-sparkgauge-BtY0Dpny.js} +4 -4
  126. package/dist/{vue-ui-sparkhistogram-CR-4hm7V.cjs → vue-ui-sparkhistogram-BHlPjWe6.cjs} +1 -1
  127. package/dist/{vue-ui-sparkhistogram-BgLE72Q4.js → vue-ui-sparkhistogram-BxvnY7JU.js} +5 -5
  128. package/dist/{vue-ui-sparkline-D1-levGr.js → vue-ui-sparkline-0i1N-NtY.js} +4 -4
  129. package/dist/{vue-ui-sparkline-CKyuE4iR.cjs → vue-ui-sparkline-k_JV8N3e.cjs} +1 -1
  130. package/dist/{vue-ui-sparkstackbar-ERZJKaeA.js → vue-ui-sparkstackbar-CwpbO4qg.js} +5 -5
  131. package/dist/{vue-ui-sparkstackbar-OmSyqPoO.cjs → vue-ui-sparkstackbar-DDhHG7ry.cjs} +1 -1
  132. package/dist/{vue-ui-stackbar-DupdXl8C.cjs → vue-ui-stackbar-B066G08Q.cjs} +1 -1
  133. package/dist/{vue-ui-stackbar-BHU8-Ftu.js → vue-ui-stackbar-DDK5eC9M.js} +13 -13
  134. package/dist/{vue-ui-strip-plot-BqdoSW-o.cjs → vue-ui-strip-plot-CW2cLF-S.cjs} +1 -1
  135. package/dist/{vue-ui-strip-plot-Cq73dk9y.js → vue-ui-strip-plot-CYTvrybe.js} +11 -11
  136. package/dist/{vue-ui-table-CKpeOr7c.cjs → vue-ui-table-DXvurbTJ.cjs} +1 -1
  137. package/dist/{vue-ui-table-C05Gill3.js → vue-ui-table-DdjbrZpA.js} +3 -3
  138. package/dist/{vue-ui-table-heatmap-Drbg0JC4.cjs → vue-ui-table-heatmap-BNqMnDv4.cjs} +1 -1
  139. package/dist/{vue-ui-table-heatmap-DpI760Eq.js → vue-ui-table-heatmap-D-Ac4zly.js} +4 -4
  140. package/dist/{vue-ui-table-sparkline-HQ9cZRb-.js → vue-ui-table-sparkline-iHgkuKdX.js} +5 -5
  141. package/dist/{vue-ui-table-sparkline-Xn8LyL_w.cjs → vue-ui-table-sparkline-jAPtk7oN.cjs} +1 -1
  142. package/dist/{vue-ui-thermometer-CwwgLORL.js → vue-ui-thermometer-C7EnNNxt.js} +7 -7
  143. package/dist/{vue-ui-thermometer-BcFEmjP9.cjs → vue-ui-thermometer-CQ8A8LlJ.cjs} +1 -1
  144. package/dist/{vue-ui-timer-BSA3LeOr.cjs → vue-ui-timer-C0Y9IRkk.cjs} +1 -1
  145. package/dist/{vue-ui-timer-BxK-1302.js → vue-ui-timer-Dbw7YMt3.js} +5 -5
  146. package/dist/{vue-ui-tiremarks-Y6OLPWeP.cjs → vue-ui-tiremarks-CXc-hmOo.cjs} +1 -1
  147. package/dist/{vue-ui-tiremarks-BRgrUQDx.js → vue-ui-tiremarks-ItbpL7yt.js} +7 -7
  148. package/dist/{vue-ui-treemap-9QlVyIJD.js → vue-ui-treemap-DMJejGkG.js} +12 -12
  149. package/dist/{vue-ui-treemap-D8aVSgCL.cjs → vue-ui-treemap-KVO8AMzu.cjs} +1 -1
  150. package/dist/{vue-ui-vertical-bar-DGPACE0Z.js → vue-ui-vertical-bar-Cgb8D5WU.js} +12 -12
  151. package/dist/{vue-ui-vertical-bar-iRsZ5kbP.cjs → vue-ui-vertical-bar-pQ2Ctm4q.cjs} +1 -1
  152. package/dist/{vue-ui-waffle-Dn8S8r-M.js → vue-ui-waffle-BEQkzOA1.js} +12 -12
  153. package/dist/{vue-ui-waffle-CPSADmyi.cjs → vue-ui-waffle-CYp0jg9U.cjs} +1 -1
  154. package/dist/{vue-ui-wheel-BZZGNPBu.js → vue-ui-wheel-Bz27GPAO.js} +7 -7
  155. package/dist/{vue-ui-wheel-AelaWOUu.cjs → vue-ui-wheel-ChEOmy3V.cjs} +1 -1
  156. package/dist/{vue-ui-word-cloud-CEBaYDA8.js → vue-ui-word-cloud-BXvhlBb0.js} +10 -10
  157. package/dist/{vue-ui-word-cloud-Dn_A50EG.cjs → vue-ui-word-cloud-CKFXxBRB.cjs} +1 -1
  158. package/dist/{vue-ui-world-yPedQZVu.js → vue-ui-world-3E_v_9Xp.js} +11 -11
  159. package/dist/{vue-ui-world-jbn_c31A.cjs → vue-ui-world-l4yCyt5l.cjs} +1 -1
  160. package/dist/{vue-ui-xy-V98sK3P9.cjs → vue-ui-xy-BorQlLL5.cjs} +2 -2
  161. package/dist/{vue-ui-xy-canvas-DTqKkwtQ.cjs → vue-ui-xy-canvas-BACNLz4I.cjs} +1 -1
  162. package/dist/{vue-ui-xy-canvas-chk-1uc9.js → vue-ui-xy-canvas-qIlz6JHM.js} +12 -12
  163. package/dist/{vue-ui-xy-BD7-_xp5.js → vue-ui-xy-vSBPUHGJ.js} +16 -16
  164. package/package.json +1 -1
  165. package/dist/index-B7QOuNS_.cjs +0 -9
  166. package/dist/vue-ui-ridgeline-Clz002Gq.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-B7QOuNS_.cjs"),Ue=require("./useUserOptionState-BgepsfED.cjs"),Ye=require("./useChartAccessibility-Cm7nkzTG.cjs"),we=require("./usePrinter-BK2X2HOh.cjs"),Ce=require("./useResponsive-DQmBAoBf.cjs"),Be=require("./useNestedProp-ClKcINrk.cjs"),je=require("./vue-ui-accordion-Bu2qXVjl.cjs"),Ge=require("./BaseIcon-YmctODFh.cjs"),Ee=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Je=require("./DataTable-Osxcamxt.cjs"),Ke=require("./Legend-MCQ8TcAe.cjs"),Qe=require("./PenAndPaper-CMFXzma-.cjs"),Ze=require("./Shape-Bes1IIhY.cjs"),et=require("./vue-ui-skeleton-DNqSVeze.cjs"),tt=require("./Title-BMNxyl5m.cjs"),lt=require("./vue-ui-xy-V98sK3P9.cjs"),ot=["xmlns"],at={class:"modal-title"},rt={class:"modal-body"},nt={__name:"BaseDraggableDialog",props:{backgroundColor:{type:String},color:{type:String},headerBg:{type:String},headerColor:{type:String}},emits:["close"],setup($,{expose:Q,emit:Z}){e.useCssVars(i=>({19616867:$.color}));const ee=$,f=Z,b=e.ref(!1),_=e.ref(!1),a=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 Y(){b.value=!0,e.nextTick(()=>{_.value||(a.left=Math.max(0,window.innerWidth/2-a.width/2),a.top=Math.max(0,window.innerHeight/2-a.height/2),_.value=!0)})}function O(){b.value=!1,f("close")}Q({open:Y,close:O});const V=e.computed(()=>({position:"fixed",left:`${a.left}px`,top:`${a.top}px`,width:`${a.width}px`,height:`${a.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 C(i){return i.touches&&i.touches.length?{x:i.touches[0].clientX,y:i.touches[0].clientY}:{x:i.clientX,y:i.clientY}}function D(i){var v;(v=i.preventDefault)==null||v.call(i),a.dragging=!0;const d=C(i);a.dragOffsetX=d.x-a.left,a.dragOffsetY=d.y-a.top,document.addEventListener("mousemove",A),document.addEventListener("mouseup",N),document.addEventListener("touchmove",A,{passive:!1}),document.addEventListener("touchend",N)}function A(i){var t;if(!a.dragging)return;(t=i.preventDefault)==null||t.call(i);const d=C(i);let v=d.x-a.dragOffsetX,w=d.y-a.dragOffsetY;v=Math.max(0,Math.min(v,window.innerWidth-a.width)),w=Math.max(0,Math.min(w,window.innerHeight-a.height)),a.left=v,a.top=w}function N(){a.dragging=!1,document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",N),document.removeEventListener("touchmove",A),document.removeEventListener("touchend",N)}function F(i){var v;(v=i.preventDefault)==null||v.call(i),a.resizing=!0;const d=C(i);a.pointerStartX=d.x,a.pointerStartY=d.y,a.resizeStartW=a.width,a.resizeStartH=a.height,document.addEventListener("mousemove",p),document.addEventListener("mouseup",E),document.addEventListener("touchmove",p,{passive:!1}),document.addEventListener("touchend",E)}function p(i){var t;if(!a.resizing)return;(t=i.preventDefault)==null||t.call(i);const d=C(i);let v=d.x-a.pointerStartX,w=d.y-a.pointerStartY;a.width=Math.max(240,a.resizeStartW+v),a.height=Math.max(400,a.resizeStartH+w)}function E(){a.resizing=!1,document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",E),document.removeEventListener("touchmove",p),document.removeEventListener("touchend",E)}function j(i){var v;(v=i.preventDefault)==null||v.call(i),a.resizing=!0;const d=C(i);a.pointerStartX=d.x,a.pointerStartY=d.y,a.resizeStartW=a.width,a.resizeStartH=a.height,a.resizeStartLeft=a.left,a.resizeStartTop=a.top,document.addEventListener("mousemove",z),document.addEventListener("mouseup",h),document.addEventListener("touchmove",z,{passive:!1}),document.addEventListener("touchend",h)}function z(i){var I;if(!a.resizing)return;(I=i.preventDefault)==null||I.call(i);const d=C(i);let v=d.x-a.pointerStartX,w=Math.min(Math.max(0,a.resizeStartLeft+v),a.resizeStartLeft+a.resizeStartW-240),t=a.resizeStartW-(w-a.resizeStartLeft),y=d.y-a.pointerStartY,X=Math.max(400,a.resizeStartH+y);a.left=w,a.width=t,a.height=X}function h(){a.resizing=!1,document.removeEventListener("mousemove",z),document.removeEventListener("mouseup",h),document.removeEventListener("touchmove",z),document.removeEventListener("touchend",h)}return e.onUnmounted(()=>{N(),E(),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:$.headerBg,color:$.headerColor})},[e.createElementVNode("span",{class:"drag-handle",onMousedown:e.withModifiers(D,["stop","prevent"]),onTouchstart:e.withModifiers(D,["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,ot))],32),e.createElementVNode("span",at,[e.renderSlot(i.$slots,"title",{},void 0,!0)]),e.createElementVNode("button",{class:"close",onClick:O},[e.createVNode(Ge.default,{name:"close",stroke:$.headerColor},null,8,["stroke"])])],4),e.createElementVNode("div",rt,[e.renderSlot(i.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",{class:"resize-handle",onMousedown:e.withModifiers(F,["stop","prevent"]),onTouchstart:e.withModifiers(F,["stop","prevent"])},null,32),e.createElementVNode("div",{class:"resize-handle resize-handle-left",onMousedown:e.withModifiers(j,["stop","prevent"]),onTouchstart:e.withModifiers(j,["stop","prevent"])},null,32)],4)):e.createCommentVNode("",!0)]))}},st=Ee._export_sfc(nt,[["__scopeId","data-v-f854cee8"]]),it=["id"],ut=["xmlns","viewBox"],ct=["id"],dt=["stop-color"],ht=["stop-color"],vt=["stop-color"],mt=["stop-color"],ft=["id"],pt=["stop-color"],gt=["stop-color"],yt=["stop-color"],kt=["stop-color"],xt={key:0},bt=["fill","d"],wt=["fill","stroke","stroke-width","d"],Ct=["stroke","stroke-dasharray","stroke-width","d"],Bt=["x1","y1","x2","y2","stroke","stroke-width","stroke-dasharray"],Et=["cx","cy","stroke","stroke-width","r","fill"],St=["x","y","font-size","font-weight","fill","text-decoration","onMouseenter","onClick"],$t={key:1},At=["font-size","fill","font-weight","transform","text-anchor"],Nt=["x","y","width","height","onMouseenter","onClick"],zt=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],Lt=["cx","cy","stroke","stroke-width","r","fill"],Mt=["x","y","text-anchor","font-size","fill"],_t={key:5,class:"vue-data-ui-watermark"},Vt=["onClick"],Tt=["innerHTML"],Pt={__name:"vue-ui-ridgeline",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint","selectX"],setup($,{expose:Q,emit:Z}){const{vue_ui_ridgeline:ee}=u.useConfig(),f=$,b=e.computed({get(){return!!f.dataset&&f.dataset.length},set(o){return o}}),_=Z,a=e.ref(null),Y=e.ref(null),O=e.ref(null),V=e.ref(null),C=e.ref(null),D=e.ref(null),A=e.ref(0),N=e.ref(0),F=e.ref(0),p=e.ref(u.createUid()),E=e.ref(0),j=e.ref(0),z=e.ref(512),h=e.ref(null),i=e.ref(null),d=e.ref(null),v=e.ref(0);function w(){const o=Be.useNestedProp({userConfig:f.config,defaultConfig:ee});return o.theme?{...Be.useNestedProp({userConfig:u.themes.vue_ui_ridgeline[o.theme]||f.config,defaultConfig:o}),customPalette:u.themePalettes[o.theme]||u.palette}:o}const t=e.computed({get:()=>w(),set:o=>o}),y=e.ref(Math.min(t.value.style.chart.areas.height,t.value.style.chart.areas.rowHeight)),{userOptionsVisible:X,setUserOptionsVisibility:I,keepUserOptionState:ne}=Ue.useUserOptionState({config:t.value}),{svgRef:te}=Ye.useChartAccessibility({config:t.value.style.chart.title});e.onMounted(le),e.onBeforeUnmount(()=>{V.value&&V.value.disconnect()});function le(){if(u.objectIsEmpty(f.dataset)?u.error({componentName:"VueUiRidgeline",type:"dataset"}):f.dataset.forEach((o,s)=>{u.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","datapoints"]}).forEach(l=>{b.value=!1,u.error({componentName:"VueUiRidgeline",type:"datasetSerieAttribute",property:l,index:s})}),o.datapoints.length&&o.datapoints.forEach((l,n)=>{u.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(r=>{b.value=!1,u.error({componentName:"VueUiRidgeline",type:"datasetSerieAttribute",property:`datapoint.${r}`,index:`${s}-${n}`})})})}),j.value=f.dataset.length,y.value=Math.min(t.value.style.chart.areas.height,t.value.style.chart.areas.rowHeight),t.value.responsive){const o=Ce.throttle(()=>{const{width:s,height:l}=Ce.useResponsive({chart:a.value,title:t.value.style.chart.title.text?Y.value:null,legend:t.value.style.chart.legend.show?O.value:null,source:C.value,noTitle:D.value,padding:t.value.style.chart.padding});requestAnimationFrame(()=>{z.value=s,y.value=l/f.dataset.length,v.value=l})});V.value=new ResizeObserver(o),V.value.observe(a.value.parentNode)}}const{isPrinting:se,isImaging:ie,generatePdf:ue,generateImage:ce}=we.usePrinter({elementId:`vue-ui-ridgeline_${p.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),$e=e.computed(()=>u.convertCustomPalette(t.value.customPalette)),H=e.ref({showTable:t.value.table.show});e.watch(()=>f.config,o=>{t.value=w(),X.value=!t.value.userOptions.showOnChartHover,le(),A.value+=1,F.value+=1,y.value=Math.min(t.value.style.chart.areas.height,t.value.style.chart.areas.rowHeight),H.value.showTable=t.value.table.show},{deep:!0}),e.watch(()=>f.dataset,le,{deep:!0});const oe=e.computed(()=>t.value.style.chart.areas.height/t.value.style.chart.areas.rowHeight);function de(o){S.value.includes(o)?S.value=S.value.filter(s=>s!==o):S.value.push(o),_("selectLegend",P.value)}const B=e.computed(()=>b.value?f.dataset.map((o,s)=>({...o,labelLen:ze(o.name,t.value.style.chart.yAxis.labels.fontSize),uid:u.createUid(),datapoints:o.datapoints.map((l,n)=>{const r=l.color?u.convertColorToHex(l.color):$e.value[n]||u.palette[n]||u.palette[n%u.palette.length],c=u.slugify(l.name);return{...l,color:r,id:c}})})):[]),he=e.computed(()=>t.value.style.chart.padding.top+y.value*f.dataset.length+y.value*oe.value),k=e.computed(()=>({fullHeight:m.value.padding.top+m.value.padding.bottom+m.value.height,top:m.value.padding.top,left:m.value.padding.left,right:m.value.width-m.value.padding.right,bottom:m.value.padding.top+m.value.height,width:m.value.width-(m.value.padding.left+m.value.padding.right)})),m=e.computed(()=>{const o=t.value.style.chart.padding;return{width:z.value,height:he.value,padding:o}}),T=e.computed(()=>{const o=Math.max(...B.value.map(c=>c.labelLen)),s=Math.max(...B.value.flatMap(c=>c.datapoints.map(x=>x.values.length))),l=m.value.padding.left+o+16+t.value.style.chart.yAxis.labels.offsetX,n=(k.value.width-l)/s,r=[];for(let c=0;c<s;c+=1)r.push({selectorX:l+n*c,x:l+n*c-n/2,y:k.value.top,label:t.value.style.chart.xAxis.labels.values[c]||"",index:c,width:n,height:he.value});return r});function Ae(o){_("selectX",B.value.map(s=>s.datapoints.map(l=>({dp:l,selected:l.values[o.index]}))))}function Ne(o,s){return o.length*s/2+s}function ve(o,s,l){const n=Ne(s,l);return o+n>k.value.right}function ze(o,s,l="sans-serif"){const r=document.createElement("canvas").getContext("2d"),c=typeof s=="number"?`${s}px`:s;return r.font=`${c} ${l}`,r.measureText(o).width}const P=e.computed(()=>{y.value;const o=Math.max(...B.value.map(g=>g.labelLen)),s=Math.max(...B.value.flatMap(g=>g.datapoints.map(L=>L.values.length))),l=Math.max(...B.value.flatMap(g=>g.datapoints.flatMap(L=>L.values))),n=Math.min(...B.value.flatMap(g=>g.datapoints.flatMap(L=>L.values))),r=m.value.padding.left+o+16+t.value.style.chart.yAxis.labels.offsetX,c=(k.value.width-r)/s,x=Math.abs(Math.min(n,0)),ke=l+x;function xe(g){return isNaN(g/ke)?0:g/ke}return B.value.map((g,L)=>{const be=k.value.top+y.value*L,M=k.value.top+be+y.value*oe.value*(1-xe(x));return{...g,label:{x:r-t.value.style.chart.yAxis.labels.fontSize,y:M},datapoints:g.datapoints.map(q=>{const W=q.values.map((U,Ie)=>{const He=isNaN(U)||[void 0,null,"NaN",NaN,1/0,-1/0].includes(U)?0:U||0,Re=r+c*Ie,qe=k.value.top+be+y.value*oe.value*(1-xe(He+x)),We=U===Math.max(...q.values);return{x:Re,y:qe,value:U,isMaxPoint:We,zero:M}}),De=`${u.createSmoothAreaSegments(W,M,!1,!1)}`,Fe=`M ${r},${M} ${u.createStraightPath(W)} ${W.at(-1).x},${M}`,Xe=`M ${r},${M} ${W.at(-1).x},${M}`;return{...q,uid:u.createUid(),plots:W,smoothPath:De,straightPath:Fe,zeroPath:Xe}}).filter(q=>!S.value.includes(q.id))}})}),S=e.ref([]);function Le(o){const s=new Map;return o.forEach(l=>{l.datapoints.forEach((n,r)=>{const c=u.slugify(n.name);s.has(c)||s.set(c,{id:c,name:n.name,color:n.color,shape:"circle",segregate:()=>de(c),isSegregated:S.value.includes(c),opacity:S.value.includes(c)?.5:1})})}),Array.from(s.values())}const G=e.computed(()=>Le(B.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":""})),R=e.ref(!1);function _e(o){R.value=o,E.value+=1}const me=e.ref({}),fe=e.ref([]);function Ve(o){_("selectDatapoint",o),t.value.style.chart.dialog.show&&(fe.value=o.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=o,me.value=u.deepEmptyObjectToNull({...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 ae=e.ref(null);function Te(o){ae.value=o}function Pe(){ae.value=null}const J=e.ref(!1);function re(){J.value=!J.value}function pe(){H.value.showTable=!H.value.showTable}const ge=e.computed(()=>({body:P.value.flatMap(l=>l.datapoints.flatMap(n=>({...n,rowName:`${l.name}: ${n.name}`}))).map(l=>[{name:l.rowName,color:l.color},...l.values])})),K=e.computed(()=>{const o=[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:o,body:ge.value.body,config:s}});function ye(){e.nextTick(()=>{const o=[[t.value.table.columnNames.series,...t.value.style.chart.xAxis.labels.values.map(n=>[n])],...ge.value.body.map((n,r)=>[n[0].name,...n.slice(1)])],s=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text]].concat(o),l=u.createCsvContent(s);u.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-ridgeline"})})}function Oe(){return P.value}return Q({getData:Oe,generateImage:ce,generatePdf:ue,generateCsv:ye,toggleAnnotator:re,toggleTable:pe}),(o,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ridgelineChart",ref:a,class:e.normalizeClass(`vue-ui-ridgeline ${R.value?"vue-data-ui-wrapper-fullscreen":""}`),id:`vue-ui-ridgeline_${p.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(I)(!0)),onMouseleave:s[5]||(s[5]=()=>e.unref(I)(!1))},[t.value.userOptions.buttons.annotator&&e.unref(te)?(e.openBlock(),e.createBlock(Qe._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(o.$slots,"userConfig",{},void 0,!0),Se.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:D,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:Y,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(tt._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(ne)||e.unref(X))?(e.openBlock(),e.createBlock(we.UserOptions,{ref:"details",key:`user_option_${E.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(se),isImaging:e.unref(ie),uid:p.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:R.value,chartElement:a.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(ne)?e.unref(X)?"visible":"hidden":"visible"}),onToggleFullscreen:_e,onGeneratePdf:e.unref(ue),onGenerateCsv:ye,onGenerateImage:e.unref(ce),onToggleTable:pe,onToggleAnnotator:re},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:n})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:n})),void 0,!0)]),key:"0"}:void 0,o.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:n})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:n})),void 0,!0)]),key:"6"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:n})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:n})),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":R.value,"vue-data-ui-fulscreen--off":!R.value}),viewBox:`0 0 ${m.value.width<=0?10:m.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: ${v.value}px; width: 100%;`:""}`)},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(G.value,(l,n)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`gradient-${l.id}-${p.value}`,x1:"50%",y1:"0%",x2:"50%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":l.color,"stop-opacity":"1"},null,8,dt),e.createElementVNode("stop",{offset:"30%","stop-color":l.color,"stop-opacity":"0.7"},null,8,ht),e.createElementVNode("stop",{offset:"70%","stop-color":l.color,"stop-opacity":"0.3"},null,8,vt),e.createElementVNode("stop",{offset:"100%","stop-color":l.color,"stop-opacity":"0.1"},null,8,mt)],8,ct))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,(l,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.datapoints,(r,c)=>(e.openBlock(),e.createElementBlock("linearGradient",{key:`grad${r.id}`,id:`gradient-single-${p.value}-${r.uid}`,x1:"50%",y1:"0%",x2:"50%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":r.color,"stop-opacity":"1"},null,8,pt),e.createElementVNode("stop",{offset:"30%","stop-color":r.color,"stop-opacity":"0.7"},null,8,gt),e.createElementVNode("stop",{offset:"70%","stop-color":r.color,"stop-opacity":"0.3"},null,8,yt),e.createElementVNode("stop",{offset:"100%","stop-color":r.color,"stop-opacity":"0.1"},null,8,kt)],8,ft))),128))],64))),256))]),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",xt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(G.value,(l,n)=>(e.openBlock(),e.createElementBlock("defs",null,[e.renderSlot(o.$slots,"pattern",e.mergeProps({ref_for:!0},{variable:l,patternId:`pattern_${p.value}_${n}`}),void 0,!0)]))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,(l,n)=>(e.openBlock(),e.createElementBlock("g",{key:`ds-${n}`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.datapoints,(r,c)=>(e.openBlock(),e.createElementBlock("g",{key:r.id},[e.createElementVNode("path",{fill:t.value.style.chart.backgroundColor,stroke:"none","stroke-linecap":"round",d:t.value.style.chart.areas.smooth?r.smoothPath:r.straightPath,style:e.normalizeStyle({opacity:t.value.style.chart.areas.opacity})},null,12,bt),e.createElementVNode("path",{fill:t.value.style.chart.areas.useCommonColor?`url(#gradient-${r.id}-${p.value})`:`url(#gradient-single-${p.value}-${r.uid})`,stroke:t.value.style.chart.areas.stroke.useSerieColor?r.color:t.value.style.chart.areas.stroke.color,"stroke-width":t.value.style.chart.areas.strokeWidth,d:t.value.style.chart.areas.smooth?r.smoothPath:r.straightPath,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,wt),e.createElementVNode("path",{stroke:t.value.style.chart.zeroLine.useSerieColor?r.color:t.value.style.chart.zeroLine.stroke,"stroke-dasharray":t.value.style.chart.zeroLine.strokeDasharray,"stroke-width":t.value.style.chart.zeroLine.strokeWidth,d:r.zeroPath,"stroke-linecap":"round"},null,8,Ct),t.value.style.chart.areas.maxPoint.show&&r.plots.length>1?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.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)(r.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,Bt)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0),r.plots.length===1?(e.openBlock(),e.createElementBlock("circle",{key:1,cx:r.plots[0].x,cy:r.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?r.color:t.value.style.chart.selector.dot.fill,style:{pointerEvents:"none"}},null,8,Et)):e.createCommentVNode("",!0)]))),128)),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&&(ae.value===n||i.value&&l.uid===i.value.uid)?"underline":"",onMouseenter:r=>Te(n),onMouseleave:Pe,onClick:r=>Ve(l)},e.toDisplayString(l.name),45,St)]))),128)),t.value.style.chart.xAxis.labels.values.length?(e.openBlock(),e.createElementBlock("g",$t,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(l,n)=>e.renderSlot(o.$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&&(n===0||n===T.value.length-1)||l&&h.value&&h.value.index===n||l&&!t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&t.value.style.chart.xAxis.labels.showOnlyAtModulo&&n%Math.floor(T.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&&(n===0||n===T.value.length-1)||l&&h.value&&h.value.index===n||l&&!t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&t.value.style.chart.xAxis.labels.showOnlyAtModulo&&n%Math.floor(T.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===n?1:.2:1})},e.toDisplayString(l.label),13,At)):e.createCommentVNode("",!0)],!0)),256))])):e.createCommentVNode("",!0),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(l,n)=>(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:r=>h.value=l,onMouseleave:s[0]||(s[0]=r=>h.value=null),onClick:()=>Ae(l)},null,40,Nt))),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-y.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,zt)):e.createCommentVNode("",!0),h.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(P.value,l=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.datapoints,n=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.plots,(r,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[h.value&&h.value.index===c?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:r.x,cy:r.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,Lt)):e.createCommentVNode("",!0),h.value&&h.value.index===c?(e.openBlock(),e.createElementBlock("text",{key:1,x:ve(r.x,e.unref(u.applyDataLabel)(t.value.style.chart.selector.labels.formatter,r.value,e.unref(u.dataLabel)({p:t.value.style.chart.xAxis.labels.prefix,v:r.value,s:t.value.style.chart.xAxis.labels.suffix,r:t.value.style.chart.selector.labels.rounding})),t.value.style.chart.selector.labels.fontSize)?r.x-t.value.style.chart.selector.labels.fontSize/2:r.x+t.value.style.chart.selector.labels.fontSize/2,y:r.y+t.value.style.chart.selector.labels.fontSize/3,"text-anchor":ve(r.x,e.unref(u.applyDataLabel)(t.value.style.chart.selector.labels.formatter,r.value,e.unref(u.dataLabel)({p:t.value.style.chart.xAxis.labels.prefix,v:r.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,r.value,e.unref(u.dataLabel)({p:t.value.style.chart.xAxis.labels.prefix,v:r.value,s:t.value.style.chart.xAxis.labels.suffix,r:t.value.style.chart.selector.labels.rounding}))),9,Mt)):e.createCommentVNode("",!0)],64))),256))],64))),256))],64))),256)):e.createCommentVNode("",!0)]),e.renderSlot(o.$slots,"svg",{svg:m.value},void 0,!0)],14,ut)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",_t,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(se)||e.unref(ie)})),void 0,!0)])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(et.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:O},[t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Ke.Legend,{key:`legend_${F.value}`,legendSet:G.value,config:Me.value,onClickMarker:s[1]||(s[1]=({legend:l})=>de(l.id))},e.createSlots({item:e.withCtx(({legend:l})=>[e.createElementVNode("div",{style:e.normalizeStyle(`opacity:${S.value.includes(l.id)?.5:1}`),onClick:n=>l.segregate()},e.toDisplayString(l.name),13,Vt)]),_:2},[o.$slots.pattern?{name:"legend-pattern",fn:e.withCtx(({legend:l,index:n})=>[e.createVNode(Ze._sfc_main,{shape:l.shape,radius:30,stroke:"none",plot:{x:30,y:30},fill:`url(#pattern_${p.value}_${n})`},null,8,["shape","fill"])]),key:"0"}:void 0]),1032,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"legend",{legend:G.value},void 0,!0)],512),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:C,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createBlock(je.default,{key:8,hideDetails:"",config:{open:H.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_${N.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=>H.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l},null,8,Tt)]),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(st,{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(lt.default,{key:0,config:me.value,dataset:fe.value},null,8,["config","dataset"])):e.createCommentVNode("",!0)]),_:1},8,["backgroundColor","color","headerBg","headerColor"])):e.createCommentVNode("",!0)],46,it))}},Ot=Ee._export_sfc(Pt,[["__scopeId","data-v-31f97bbc"]]);exports.default=Ot;