vue-data-ui 2.9.7-beta.2 → 2.9.7-beta.4

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-Dmv3DG1O.cjs → Arrow-BU862Wbr.cjs} +1 -1
  2. package/dist/{Arrow-CqzHZi8Q.js → Arrow-i3hOb-ua.js} +1 -1
  3. package/dist/{BaseIcon-Co2GD8iT.js → BaseIcon-B9M6ZnSf.js} +1 -1
  4. package/dist/{BaseIcon-u4GDoMqC.cjs → BaseIcon-nWbI4U46.cjs} +1 -1
  5. package/dist/{ColorPicker-BCkyeJDN.js → ColorPicker-C7i01-oh.js} +3 -3
  6. package/dist/{ColorPicker-TxdEJSJA.cjs → ColorPicker-Cea1qvcb.cjs} +1 -1
  7. package/dist/{DataTable-B3skHSzt.js → DataTable-PjBXy0wM.js} +2 -2
  8. package/dist/{DataTable-Pc2DuENx.cjs → DataTable-Y92iqL1H.cjs} +1 -1
  9. package/dist/{Legend-D7ABxVCH.cjs → Legend-BOyqRV5T.cjs} +1 -1
  10. package/dist/{Legend-DTJsfZrl.js → Legend-Cson3t51.js} +2 -2
  11. package/dist/{PackageVersion-cu45Cd7Q.cjs → PackageVersion-Ct8O_fME.cjs} +1 -1
  12. package/dist/{PackageVersion-BgDb-mVy.js → PackageVersion-mjNEMJ2m.js} +1 -1
  13. package/dist/{PenAndPaper-DsGKn0if.cjs → PenAndPaper-BpyG9l7H.cjs} +1 -1
  14. package/dist/{PenAndPaper-DvnLOqKv.js → PenAndPaper-whlUO00N.js} +3 -3
  15. package/dist/{Shape-aAU_ZjZn.cjs → Shape-C7rF2xE8.cjs} +1 -1
  16. package/dist/{Shape-C3dD_oLo.js → Shape-CGUIqOqx.js} +1 -1
  17. package/dist/{Slicer-CvgJkIO1.cjs → Slicer-BPurE-jS.cjs} +1 -1
  18. package/dist/{Slicer-CX9XuFH6.js → Slicer-DqlKfPAB.js} +2 -2
  19. package/dist/{Title-D7CSzIey.cjs → Title-BoVlO-30.cjs} +1 -1
  20. package/dist/{Title-DHJyUsEV.js → Title-DvZipW40.js} +1 -1
  21. package/dist/{Tooltip-gOeHT7nf.cjs → Tooltip-BXec3Yxb.cjs} +1 -1
  22. package/dist/{Tooltip-BiDlRju4.js → Tooltip-DEx4TQFz.js} +1 -1
  23. package/dist/{dom-to-png-DAQ_l__k.cjs → dom-to-png-CuJS8iVi.cjs} +1 -1
  24. package/dist/{dom-to-png-BTRzNtXu.js → dom-to-png-Dz_1S3V7.js} +1 -1
  25. package/dist/{img-CzBF7u0N.js → img-BgS7eHPK.js} +1 -1
  26. package/dist/{img-BaTvkV_a.cjs → img-CMsLqCm_.cjs} +1 -1
  27. package/dist/index-Dog_t49y.cjs +9 -0
  28. package/dist/{index-DJL8Ofhe.js → index-OSciKIgD.js} +2 -1
  29. package/dist/{pdf-DhJ5pt15.js → pdf-C-wYrX1S.js} +1 -1
  30. package/dist/{pdf-BlmUC6sI.cjs → pdf-CdHwJtQB.cjs} +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-nW23xHng.js → useNestedProp-ChNJVTOg.js} +1 -1
  35. package/dist/{useNestedProp-Dk1b2iP1.cjs → useNestedProp-HVmp3eMB.cjs} +1 -1
  36. package/dist/{usePrinter-ND-BQoMz.cjs → usePrinter-B4wbxvGn.cjs} +1 -1
  37. package/dist/{usePrinter-BB_LyyCt.js → usePrinter-DxnQWfIq.js} +3 -3
  38. package/dist/{vue-data-ui-c3RnvmYN.cjs → vue-data-ui-BEUJgZ7O.cjs} +1 -1
  39. package/dist/{vue-data-ui-CgQH4LgG.js → vue-data-ui-DZ63l99N.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-CE8WiQxp.cjs → vue-ui-3d-bar-B5vKg1Ny.cjs} +1 -1
  43. package/dist/{vue-ui-3d-bar-HpDKnl32.js → vue-ui-3d-bar-VDBXuS9w.js} +9 -9
  44. package/dist/{vue-ui-accordion-CFo12sAN.js → vue-ui-accordion-Dg4lCGIs.js} +3 -3
  45. package/dist/{vue-ui-accordion-CqH39_fY.cjs → vue-ui-accordion-PMbghVHy.cjs} +1 -1
  46. package/dist/{vue-ui-age-pyramid-BC9-B9yv.cjs → vue-ui-age-pyramid-Bh2g8R7e.cjs} +1 -1
  47. package/dist/{vue-ui-age-pyramid-CN-sq5YS.js → vue-ui-age-pyramid-DZB4Ynj9.js} +10 -10
  48. package/dist/{vue-ui-annotator-D0LfKtI0.js → vue-ui-annotator-3ZZc-3_P.js} +2 -2
  49. package/dist/{vue-ui-annotator-CthlwI9C.cjs → vue-ui-annotator-CiAHxNGA.cjs} +1 -1
  50. package/dist/{vue-ui-bullet-CIs7dVYD.js → vue-ui-bullet-DW_6AN_C.js} +8 -8
  51. package/dist/{vue-ui-bullet-qFLSoZ7R.cjs → vue-ui-bullet-VtH-vOXR.cjs} +1 -1
  52. package/dist/{vue-ui-candlestick-D3itWQyS.cjs → vue-ui-candlestick-Bb25zgmY.cjs} +1 -1
  53. package/dist/{vue-ui-candlestick-CZXoNI5-.js → vue-ui-candlestick-Qr6-v8sf.js} +11 -11
  54. package/dist/{vue-ui-carousel-table-DR6mLDXS.cjs → vue-ui-carousel-table-OATqK0pn.cjs} +1 -1
  55. package/dist/{vue-ui-carousel-table-BJks-t0F.js → vue-ui-carousel-table-XsC1KGtY.js} +4 -4
  56. package/dist/{vue-ui-chestnut-vbMTupca.cjs → vue-ui-chestnut-CGWh6W2-.cjs} +1 -1
  57. package/dist/{vue-ui-chestnut-DtwKoZVx.js → vue-ui-chestnut-VEhyI5Mt.js} +8 -8
  58. package/dist/{vue-ui-circle-pack-bUeFMf5j.js → vue-ui-circle-pack-BS5uf0ps.js} +9 -9
  59. package/dist/{vue-ui-circle-pack-CjQ2Y9gC.cjs → vue-ui-circle-pack-BjH5iZfw.cjs} +1 -1
  60. package/dist/{vue-ui-cursor-C0L8cauU.js → vue-ui-cursor-4qwx-SCJ.js} +2 -2
  61. package/dist/{vue-ui-cursor-CdGDHOul.cjs → vue-ui-cursor-Be54oVZT.cjs} +1 -1
  62. package/dist/{vue-ui-dashboard-IUEnZPy6.cjs → vue-ui-dashboard-BALjKfES.cjs} +1 -1
  63. package/dist/{vue-ui-dashboard-8vtjWsF-.js → vue-ui-dashboard-b6kyZHFq.js} +62 -62
  64. package/dist/{vue-ui-digits-C8DYjCtf.cjs → vue-ui-digits-B7HhBHyi.cjs} +1 -1
  65. package/dist/{vue-ui-digits-DJbK1Zc6.js → vue-ui-digits-D1ysybhe.js} +2 -2
  66. package/dist/{vue-ui-donut-BYzTJfDn.js → vue-ui-donut-CSTNHSwt.js} +12 -12
  67. package/dist/{vue-ui-donut-AYQgS2Mc.cjs → vue-ui-donut-DTmDI-SU.cjs} +1 -1
  68. package/dist/{vue-ui-donut-evolution-BrGPzJc1.js → vue-ui-donut-evolution-B03u-Ecq.js} +11 -11
  69. package/dist/{vue-ui-donut-evolution-OPRjDSk0.cjs → vue-ui-donut-evolution-B5rekv3R.cjs} +1 -1
  70. package/dist/{vue-ui-dumbbell-Df1Urqjs.js → vue-ui-dumbbell-B-oZ72GB.js} +10 -10
  71. package/dist/{vue-ui-dumbbell-BGE-Vtn-.cjs → vue-ui-dumbbell-E8QEB4Zb.cjs} +1 -1
  72. package/dist/{vue-ui-flow-MlzqqBrd.js → vue-ui-flow-B8W79a7e.js} +9 -9
  73. package/dist/{vue-ui-flow-CiB4nD91.cjs → vue-ui-flow-yj_32hxD.cjs} +1 -1
  74. package/dist/{vue-ui-funnel-DTdKm16w.js → vue-ui-funnel-B-bET9Ng.js} +9 -9
  75. package/dist/{vue-ui-funnel-Bhklhpio.cjs → vue-ui-funnel-_6whJY-m.cjs} +1 -1
  76. package/dist/{vue-ui-galaxy-DOUHqcDm.js → vue-ui-galaxy-D9cVPLvW.js} +11 -11
  77. package/dist/{vue-ui-galaxy-P9p_cDXv.cjs → vue-ui-galaxy-huloan9C.cjs} +1 -1
  78. package/dist/{vue-ui-gauge-BbI8A7r2.js → vue-ui-gauge-I_BYUCCu.js} +7 -7
  79. package/dist/{vue-ui-gauge-Df-gHwfR.cjs → vue-ui-gauge-LzfRQNWT.cjs} +1 -1
  80. package/dist/{vue-ui-gizmo-B114Z8rm.cjs → vue-ui-gizmo-BgZL1REf.cjs} +1 -1
  81. package/dist/{vue-ui-gizmo-CMG7lxqw.js → vue-ui-gizmo-DhCHbgup.js} +3 -3
  82. package/dist/{vue-ui-heatmap-C6ImAtcX.cjs → vue-ui-heatmap-DbKa_1vX.cjs} +1 -1
  83. package/dist/{vue-ui-heatmap-gEpHCMS4.js → vue-ui-heatmap-fVU_FaG3.js} +10 -10
  84. package/dist/{vue-ui-history-plot-DK23xnI5.js → vue-ui-history-plot-BUwpAg2v.js} +11 -11
  85. package/dist/{vue-ui-history-plot-C4OvU51J.cjs → vue-ui-history-plot-CIy5Bu8z.cjs} +1 -1
  86. package/dist/{vue-ui-kpi-CIl0Doue.cjs → vue-ui-kpi-BhreBvOl.cjs} +1 -1
  87. package/dist/{vue-ui-kpi-rNIvGzIt.js → vue-ui-kpi-Da-DO9xl.js} +3 -3
  88. package/dist/{vue-ui-mini-loader-BbgEf7vG.js → vue-ui-mini-loader-DopjyCEa.js} +2 -2
  89. package/dist/{vue-ui-mini-loader-Dvs2ojcn.cjs → vue-ui-mini-loader-rbzVwuK2.cjs} +1 -1
  90. package/dist/{vue-ui-molecule-CesW7xLf.js → vue-ui-molecule-COU4QOs1.js} +11 -11
  91. package/dist/{vue-ui-molecule-BhC-Mwbx.cjs → vue-ui-molecule-DX4oOBS7.cjs} +1 -1
  92. package/dist/{vue-ui-mood-radar-DrE2J_Yc.cjs → vue-ui-mood-radar-CqmQpig9.cjs} +1 -1
  93. package/dist/{vue-ui-mood-radar-CAzWMx5r.js → vue-ui-mood-radar-kkH7ZJfx.js} +11 -11
  94. package/dist/{vue-ui-nested-donuts-Bz9iokWt.cjs → vue-ui-nested-donuts-B3iQTDWc.cjs} +1 -1
  95. package/dist/{vue-ui-nested-donuts-uxgCIhIq.js → vue-ui-nested-donuts-CGOrNPhc.js} +11 -11
  96. package/dist/{vue-ui-onion-LcWmxpSV.js → vue-ui-onion-BvAgh599.js} +11 -11
  97. package/dist/{vue-ui-onion-B7RD5guS.cjs → vue-ui-onion-z2QqvCiP.cjs} +1 -1
  98. package/dist/{vue-ui-parallel-coordinate-plot-BhAk5SsH.js → vue-ui-parallel-coordinate-plot-DbUbMJIT.js} +12 -12
  99. package/dist/{vue-ui-parallel-coordinate-plot-BDco3R-T.cjs → vue-ui-parallel-coordinate-plot-MoziyLP_.cjs} +1 -1
  100. package/dist/{vue-ui-quadrant-BShHcqi4.cjs → vue-ui-quadrant-BE3Z9WaL.cjs} +1 -1
  101. package/dist/{vue-ui-quadrant-DnOiPnEZ.js → vue-ui-quadrant-DT7VvXOM.js} +12 -12
  102. package/dist/{vue-ui-quick-chart-BiuwgTza.js → vue-ui-quick-chart-BlhFeC5-.js} +9 -9
  103. package/dist/{vue-ui-quick-chart-1Rb8Gdxh.cjs → vue-ui-quick-chart-C63xCDAj.cjs} +1 -1
  104. package/dist/{vue-ui-radar-B44Cnogk.js → vue-ui-radar-B-0I6GxV.js} +12 -12
  105. package/dist/{vue-ui-radar-Cu9lFbgi.cjs → vue-ui-radar-H_5nTf8p.cjs} +1 -1
  106. package/dist/{vue-ui-rating-BNLwAuiQ.cjs → vue-ui-rating-D8EA7c7o.cjs} +1 -1
  107. package/dist/{vue-ui-rating-HcMLaCbL.js → vue-ui-rating-vbLc3nvK.js} +2 -2
  108. package/dist/{vue-ui-relation-circle-D3hnErJq.js → vue-ui-relation-circle-BDkhr-xA.js} +7 -7
  109. package/dist/{vue-ui-relation-circle-Cd_cW1qY.cjs → vue-ui-relation-circle-rGswpU0T.cjs} +1 -1
  110. package/dist/{vue-ui-ridgeline-D5JbWdEM.js → vue-ui-ridgeline-B1JS354a.js} +369 -358
  111. package/dist/vue-ui-ridgeline-DRJg4yiD.cjs +1 -0
  112. package/dist/{vue-ui-rings-DPxshbGw.cjs → vue-ui-rings-BQTJ4tv_.cjs} +1 -1
  113. package/dist/{vue-ui-rings-D-aQntRc.js → vue-ui-rings-ih4W60-k.js} +12 -12
  114. package/dist/{vue-ui-scatter-br228rFX.js → vue-ui-scatter-DkBqb4Bz.js} +12 -12
  115. package/dist/{vue-ui-scatter-CuCMFwJg.cjs → vue-ui-scatter-qd4FOf_Q.cjs} +1 -1
  116. package/dist/{vue-ui-skeleton-CMaSSD6o.cjs → vue-ui-skeleton-DdZG4z8H.cjs} +1 -1
  117. package/dist/{vue-ui-skeleton-D7wiUDgm.js → vue-ui-skeleton-DovfYYY8.js} +3 -3
  118. package/dist/{vue-ui-smiley-DVo_0MHj.js → vue-ui-smiley-D613C_Mb.js} +2 -2
  119. package/dist/{vue-ui-smiley-kyFpW_kA.cjs → vue-ui-smiley-DTI2WkK9.cjs} +1 -1
  120. package/dist/{vue-ui-spark-trend-D_ModK3j.js → vue-ui-spark-trend-B5TmuGJE.js} +5 -5
  121. package/dist/{vue-ui-spark-trend-aTK-J8aC.cjs → vue-ui-spark-trend-CzoPgRIZ.cjs} +1 -1
  122. package/dist/{vue-ui-sparkbar-D7Vsnq63.js → vue-ui-sparkbar-C0KAsycB.js} +4 -4
  123. package/dist/{vue-ui-sparkbar-DiDgX0gr.cjs → vue-ui-sparkbar-CcxnhiQ3.cjs} +1 -1
  124. package/dist/{vue-ui-sparkgauge-DRA3dpfC.js → vue-ui-sparkgauge-CGNISlKr.js} +4 -4
  125. package/dist/{vue-ui-sparkgauge-DJm_Nvcx.cjs → vue-ui-sparkgauge-anfz8JCd.cjs} +1 -1
  126. package/dist/{vue-ui-sparkhistogram-ClG0n9e6.cjs → vue-ui-sparkhistogram-6H5a2W8Y.cjs} +1 -1
  127. package/dist/{vue-ui-sparkhistogram-B7U0t5tO.js → vue-ui-sparkhistogram-D7JmWN_0.js} +5 -5
  128. package/dist/{vue-ui-sparkline-D_e4klXq.cjs → vue-ui-sparkline-DxMDjBbB.cjs} +1 -1
  129. package/dist/{vue-ui-sparkline-Dcqe9RMU.js → vue-ui-sparkline-jlUjccps.js} +4 -4
  130. package/dist/{vue-ui-sparkstackbar-ClZHR3KP.cjs → vue-ui-sparkstackbar-CT5OfOWU.cjs} +1 -1
  131. package/dist/{vue-ui-sparkstackbar-DhVYMKpF.js → vue-ui-sparkstackbar-CsTflpej.js} +5 -5
  132. package/dist/{vue-ui-stackbar-DVW990H1.cjs → vue-ui-stackbar-BaeAr7Bs.cjs} +1 -1
  133. package/dist/{vue-ui-stackbar-DXyeVGTw.js → vue-ui-stackbar-CXH9RTHR.js} +13 -13
  134. package/dist/{vue-ui-strip-plot-BlT2QZb4.cjs → vue-ui-strip-plot-BHtEIE3i.cjs} +1 -1
  135. package/dist/{vue-ui-strip-plot-CHPFuwaa.js → vue-ui-strip-plot-e6bSXWnG.js} +11 -11
  136. package/dist/{vue-ui-table-BU_RX8eF.js → vue-ui-table-BrYbKBRy.js} +3 -3
  137. package/dist/{vue-ui-table-DY1LtXlo.cjs → vue-ui-table-Dlw1Q7Kn.cjs} +1 -1
  138. package/dist/{vue-ui-table-heatmap--MfqVTuk.js → vue-ui-table-heatmap-DhQuPfgf.js} +4 -4
  139. package/dist/{vue-ui-table-heatmap-BQ6f7H8R.cjs → vue-ui-table-heatmap-xEDreHAI.cjs} +1 -1
  140. package/dist/{vue-ui-table-sparkline-B80CgEgL.cjs → vue-ui-table-sparkline-C0TL4HM_.cjs} +1 -1
  141. package/dist/{vue-ui-table-sparkline-AnQprRCq.js → vue-ui-table-sparkline-CJnaWxAe.js} +5 -5
  142. package/dist/{vue-ui-thermometer-DEcbD5Vl.js → vue-ui-thermometer-5AIrkXeD.js} +7 -7
  143. package/dist/{vue-ui-thermometer-B6JxCWyh.cjs → vue-ui-thermometer-CvqVSXr5.cjs} +1 -1
  144. package/dist/{vue-ui-timer-sF5kCLeW.js → vue-ui-timer-JLIpk9eX.js} +5 -5
  145. package/dist/{vue-ui-timer-CW8OvzpT.cjs → vue-ui-timer-WDd3AUT7.cjs} +1 -1
  146. package/dist/{vue-ui-tiremarks-CjrIF2Mk.js → vue-ui-tiremarks-CxjTl8Tn.js} +7 -7
  147. package/dist/{vue-ui-tiremarks-dm0DjTho.cjs → vue-ui-tiremarks-DgUkf8sb.cjs} +1 -1
  148. package/dist/{vue-ui-treemap-Bxg0U82X.js → vue-ui-treemap-OqYoFDS5.js} +12 -12
  149. package/dist/{vue-ui-treemap-gHiNxWQX.cjs → vue-ui-treemap-Vm_X29Um.cjs} +1 -1
  150. package/dist/{vue-ui-vertical-bar-Bj0TK9XT.js → vue-ui-vertical-bar-C5J36g6R.js} +12 -12
  151. package/dist/{vue-ui-vertical-bar-BY4Hs3yT.cjs → vue-ui-vertical-bar-DgxYbjM7.cjs} +1 -1
  152. package/dist/{vue-ui-waffle-DPDYdYlN.js → vue-ui-waffle-BDlJUrDl.js} +12 -12
  153. package/dist/{vue-ui-waffle-GD5dIHI0.cjs → vue-ui-waffle-CvD9FbDL.cjs} +1 -1
  154. package/dist/{vue-ui-wheel-BpzWH2Ar.js → vue-ui-wheel-Dhg5Ucaw.js} +7 -7
  155. package/dist/{vue-ui-wheel-CMTdv2q8.cjs → vue-ui-wheel-JEwRcnJK.cjs} +1 -1
  156. package/dist/{vue-ui-word-cloud-DzFQGIIN.cjs → vue-ui-word-cloud-BVWOBKql.cjs} +1 -1
  157. package/dist/{vue-ui-word-cloud-ajv3G3Ci.js → vue-ui-word-cloud-BbUplQTP.js} +10 -10
  158. package/dist/{vue-ui-world-CQ0SuEaE.js → vue-ui-world-CLSVMvWg.js} +11 -11
  159. package/dist/{vue-ui-world-Cwsb-iTP.cjs → vue-ui-world-IPuP3qIv.cjs} +1 -1
  160. package/dist/{vue-ui-xy-N35O_x2x.js → vue-ui-xy-BReSAh6M.js} +16 -16
  161. package/dist/{vue-ui-xy-canvas-C9PGQ5GZ.js → vue-ui-xy-canvas-AO3e0E_t.js} +12 -12
  162. package/dist/{vue-ui-xy-canvas-CRTd0LAN.cjs → vue-ui-xy-canvas-B-OLIxii.cjs} +1 -1
  163. package/dist/{vue-ui-xy-eSIDt2oX.cjs → vue-ui-xy-p92r8yMT.cjs} +2 -2
  164. package/package.json +1 -1
  165. package/dist/index-DLbKJzFv.cjs +0 -9
  166. package/dist/vue-ui-ridgeline-CgqC0n4D.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-DLbKJzFv.cjs"),We=require("./useUserOptionState-BgepsfED.cjs"),Ue=require("./useChartAccessibility-Cm7nkzTG.cjs"),be=require("./usePrinter-ND-BQoMz.cjs"),we=require("./useResponsive-DQmBAoBf.cjs"),Ce=require("./useNestedProp-Dk1b2iP1.cjs"),Ye=require("./vue-ui-accordion-CqH39_fY.cjs"),je=require("./BaseIcon-u4GDoMqC.cjs"),Be=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ge=require("./DataTable-Pc2DuENx.cjs"),Je=require("./Legend-D7ABxVCH.cjs"),Ke=require("./PenAndPaper-DsGKn0if.cjs"),Qe=require("./Shape-aAU_ZjZn.cjs"),Ze=require("./vue-ui-skeleton-CMaSSD6o.cjs"),et=require("./Title-D7CSzIey.cjs"),tt=require("./vue-ui-xy-eSIDt2oX.cjs"),lt=["xmlns"],ot={class:"modal-title"},at={class:"modal-body"},rt={__name:"BaseDraggableDialog",props:{backgroundColor:{type:String},color:{type:String},headerBg:{type:String},headerColor:{type:String}},emits:["close"],setup(S,{expose:Q,emit:Z}){e.useCssVars(i=>({19616867:S.color}));const ee=S,p=Z,b=e.ref(!1),M=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 U(){b.value=!0,e.nextTick(()=>{M.value||(a.left=Math.max(0,window.innerWidth/2-a.width/2),a.top=Math.max(0,window.innerHeight/2-a.height/2),M.value=!0)})}function P(){b.value=!1,p("close")}Q({open:U,close:P});const _=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 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 O(i){var v;(v=i.preventDefault)==null||v.call(i),a.dragging=!0;const d=w(i);a.dragOffsetX=d.x-a.left,a.dragOffsetY=d.y-a.top,document.addEventListener("mousemove",$),document.addEventListener("mouseup",A),document.addEventListener("touchmove",$,{passive:!1}),document.addEventListener("touchend",A)}function $(i){var m;if(!a.dragging)return;(m=i.preventDefault)==null||m.call(i);const d=w(i);let v=d.x-a.dragOffsetX,t=d.y-a.dragOffsetY;v=Math.max(0,Math.min(v,window.innerWidth-a.width)),t=Math.max(0,Math.min(t,window.innerHeight-a.height)),a.left=v,a.top=t}function A(){a.dragging=!1,document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",A),document.removeEventListener("touchmove",$),document.removeEventListener("touchend",A)}function D(i){var v;(v=i.preventDefault)==null||v.call(i),a.resizing=!0;const d=w(i);a.pointerStartX=d.x,a.pointerStartY=d.y,a.resizeStartW=a.width,a.resizeStartH=a.height,document.addEventListener("mousemove",g),document.addEventListener("mouseup",B),document.addEventListener("touchmove",g,{passive:!1}),document.addEventListener("touchend",B)}function g(i){var m;if(!a.resizing)return;(m=i.preventDefault)==null||m.call(i);const d=w(i);let v=d.x-a.pointerStartX,t=d.y-a.pointerStartY;a.width=Math.max(240,a.resizeStartW+v),a.height=Math.max(400,a.resizeStartH+t)}function B(){a.resizing=!1,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",B),document.removeEventListener("touchmove",g),document.removeEventListener("touchend",B)}function Y(i){var v;(v=i.preventDefault)==null||v.call(i),a.resizing=!0;const d=w(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",N),document.addEventListener("mouseup",h),document.addEventListener("touchmove",N,{passive:!1}),document.addEventListener("touchend",h)}function N(i){var X;if(!a.resizing)return;(X=i.preventDefault)==null||X.call(i);const d=w(i);let v=d.x-a.pointerStartX,t=Math.min(Math.max(0,a.resizeStartLeft+v),a.resizeStartLeft+a.resizeStartW-240),m=a.resizeStartW-(t-a.resizeStartLeft),F=d.y-a.pointerStartY,j=Math.max(400,a.resizeStartH+F);a.left=t,a.width=m,a.height=j}function h(){a.resizing=!1,document.removeEventListener("mousemove",N),document.removeEventListener("mouseup",h),document.removeEventListener("touchmove",N),document.removeEventListener("touchend",h)}return e.onUnmounted(()=>{A(),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(_.value),onClick:d[0]||(d[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:"modal-header",style:e.normalizeStyle({backgroundColor:S.headerBg,color:S.headerColor})},[e.createElementVNode("span",{class:"drag-handle",onMousedown:e.withModifiers(O,["stop","prevent"]),onTouchstart:e.withModifiers(O,["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",ot,[e.renderSlot(i.$slots,"title",{},void 0,!0)]),e.createElementVNode("button",{class:"close",onClick:P},[e.createVNode(je.default,{name:"close",stroke:S.headerColor},null,8,["stroke"])])],4),e.createElementVNode("div",at,[e.renderSlot(i.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",{class:"resize-handle",onMousedown:e.withModifiers(D,["stop","prevent"]),onTouchstart:e.withModifiers(D,["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=["id"],ft=["stop-color"],pt=["stop-color"],gt=["stop-color"],yt=["stop-color"],kt={key:0},xt=["fill","d"],bt=["fill","stroke","stroke-width","d"],wt=["stroke","stroke-dasharray","stroke-width","d"],Ct=["x1","y1","x2","y2","stroke","stroke-width","stroke-dasharray"],Bt=["cx","cy","stroke","stroke-width","r","fill"],Et=["x","y","font-size","font-weight","fill","text-decoration","onMouseenter","onClick"],St={key:1},$t=["font-size","fill","font-weight","transform","text-anchor"],At=["x","y","width","height","onMouseenter","onClick"],Nt=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],zt=["cx","cy","stroke","stroke-width","r","fill"],Lt=["x","y","text-anchor","font-size","fill"],Mt={key:5,class:"vue-data-ui-watermark"},_t=["onClick"],Vt=["innerHTML"],Tt={__name:"vue-ui-ridgeline",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint","selectX"],setup(S,{expose:Q,emit:Z}){const{vue_ui_ridgeline:ee}=u.useConfig(),p=S,b=e.computed({get(){return!!p.dataset&&p.dataset.length},set(o){return o}}),M=Z,a=e.ref(null),U=e.ref(null),P=e.ref(null),_=e.ref(null),w=e.ref(null),O=e.ref(null),$=e.ref(0),A=e.ref(0),D=e.ref(0),g=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 o=Ce.useNestedProp({userConfig:p.config,defaultConfig:ee});return o.theme?{...Ce.useNestedProp({userConfig:u.themes.vue_ui_ridgeline[o.theme]||p.config,defaultConfig:o}),customPalette:u.themePalettes[o.theme]||u.palette}:o}const t=e.computed({get:()=>v(),set:o=>o}),m=e.ref(Math.min(t.value.style.chart.areas.height,t.value.style.chart.areas.rowHeight)),{userOptionsVisible:F,setUserOptionsVisibility:j,keepUserOptionState:X}=We.useUserOptionState({config:t.value}),{svgRef:te}=Ue.useChartAccessibility({config:t.value.style.chart.title});e.onMounted(le),e.onBeforeUnmount(()=>{_.value&&_.value.disconnect()});function le(){if(u.objectIsEmpty(p.dataset)?u.error({componentName:"VueUiRidgeline",type:"dataset"}):p.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}`})})})}),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 o=we.throttle(()=>{const{width:s,height:l}=we.useResponsive({chart:a.value,title:t.value.style.chart.title.text?U.value:null,legend:t.value.style.chart.legend.show?P.value:null,source:w.value,noTitle:O.value});requestAnimationFrame(()=>{N.value=s,m.value=l/p.dataset.length})});_.value=new ResizeObserver(o),_.value.observe(a.value.parentNode)}}const{isPrinting:ne,isImaging:se,generatePdf:ie,generateImage:ue}=be.usePrinter({elementId:`vue-ui-ridgeline_${g.value}`,fileName:t.value.style.chart.title.text||"vue-ui-ridgeline",options:t.value.userOptions.print}),Ee=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),Se=e.computed(()=>u.convertCustomPalette(t.value.customPalette)),I=e.ref({showTable:t.value.table.show});e.watch(()=>p.config,o=>{t.value=v(),F.value=!t.value.userOptions.showOnChartHover,le(),$.value+=1,D.value+=1,m.value=Math.min(t.value.style.chart.areas.height,t.value.style.chart.areas.rowHeight),I.value.showTable=t.value.table.show},{deep:!0}),e.watch(()=>p.dataset,le,{deep:!0});const oe=e.computed(()=>t.value.style.chart.areas.height/t.value.style.chart.areas.rowHeight);function ce(o){E.value.includes(o)?E.value=E.value.filter(s=>s!==o):E.value.push(o),M("selectLegend",T.value)}const C=e.computed(()=>b.value?p.dataset.map((o,s)=>({...o,labelLen:Ne(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):Se.value[n]||u.palette[n]||u.palette[n%u.palette.length],c=u.slugify(l.name);return{...l,color:r,id:c}})})):[]),de=e.computed(()=>t.value.style.chart.padding.top+m.value*p.dataset.length+m.value*oe.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 o=t.value.style.chart.padding;return{width:N.value,height:de.value,padding:o}}),V=e.computed(()=>{const o=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+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:de.value});return r});function $e(o){M("selectX",C.value.map(s=>s.datapoints.map(l=>({dp:l,selected:l.values[o.index]}))))}function Ae(o,s){return o.length*s/2+s}function he(o,s,l){const n=Ae(s,l);return o+n>k.value.right}function Ne(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 T=e.computed(()=>{m.value;const o=Math.max(...C.value.map(y=>y.labelLen)),s=Math.max(...C.value.flatMap(y=>y.datapoints.map(z=>z.values.length))),l=Math.max(...C.value.flatMap(y=>y.datapoints.flatMap(z=>z.values))),n=Math.min(...C.value.flatMap(y=>y.datapoints.flatMap(z=>z.values))),r=f.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)),ye=l+x;function ke(y){return isNaN(y/ye)?0:y/ye}return C.value.map((y,z)=>{const xe=k.value.top+m.value*z,L=k.value.top+xe+m.value*oe.value*(1-ke(x));return{...y,label:{x:r-t.value.style.chart.yAxis.labels.fontSize,y:L},datapoints:y.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=r+c*Xe,Re=k.value.top+xe+m.value*oe.value*(1-ke(Ie+x)),qe=W===Math.max(...R.values);return{x:He,y:Re,value:W,isMaxPoint:qe,zero:L}}),Oe=`${u.createSmoothAreaSegments(q,L,!1,!1)}`,De=`M ${r},${L} ${u.createStraightPath(q)} ${q.at(-1).x},${L}`,Fe=`M ${r},${L} ${q.at(-1).x},${L}`;return{...R,uid:u.createUid(),plots:q,smoothPath:Oe,straightPath:De,zeroPath:Fe}}).filter(R=>!E.value.includes(R.id))}})}),E=e.ref([]);function ze(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:()=>ce(c),isSegregated:E.value.includes(c),opacity:E.value.includes(c)?.5:1})})}),Array.from(s.values())}const G=e.computed(()=>ze(C.value)),Le=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 Me(o){H.value=o,B.value+=1}const ve=e.ref({}),me=e.ref([]);function _e(o){M("selectDatapoint",o),t.value.style.chart.dialog.show&&(me.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,ve.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 Ve(o){ae.value=o}function Te(){ae.value=null}const J=e.ref(!1);function re(){J.value=!J.value}function fe(){I.value.showTable=!I.value.showTable}const pe=e.computed(()=>({body:T.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:pe.value.body,config:s}});function ge(){e.nextTick(()=>{const o=[[t.value.table.columnNames.series,...t.value.style.chart.xAxis.labels.values.map(n=>[n])],...pe.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 Pe(){return T.value}return Q({getData:Pe,generateImage:ue,generatePdf:ie,generateCsv:ge,toggleAnnotator:re,toggleTable:fe}),(o,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ridgelineChart",ref:a,class:e.normalizeClass(`vue-ui-ridgeline ${H.value?"vue-data-ui-wrapper-fullscreen":""}`),id:`vue-ui-ridgeline_${g.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(j)(!0)),onMouseleave:s[5]||(s[5]=()=>e.unref(j)(!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(o.$slots,"userConfig",{},void 0,!0),Ee.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:O,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_${$.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(X)||e.unref(F))?(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:g.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: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(X)?e.unref(F)?"visible":"hidden":"visible"}),onToggleFullscreen:Me,onGeneratePdf:e.unref(ie),onGenerateCsv:ge,onGenerateImage:e.unref(ue),onToggleTable:fe,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":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(G.value,(l,n)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`gradient-${l.id}-${g.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)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.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-${g.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,ft),e.createElementVNode("stop",{offset:"30%","stop-color":r.color,"stop-opacity":"0.7"},null,8,pt),e.createElementVNode("stop",{offset:"70%","stop-color":r.color,"stop-opacity":"0.3"},null,8,gt),e.createElementVNode("stop",{offset:"100%","stop-color":r.color,"stop-opacity":"0.1"},null,8,yt)],8,mt))),128))],64))),256))]),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",kt,[(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_${g.value}_${n}`}),void 0,!0)]))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.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,xt),e.createElementVNode("path",{fill:t.value.style.chart.areas.useCommonColor?`url(#gradient-${r.id}-${g.value})`:`url(#gradient-single-${g.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,bt),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,wt),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,Ct)):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,Bt)):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=>Ve(n),onMouseleave:Te,onClick:r=>_e(l)},e.toDisplayString(l.name),45,Et)]))),128)),t.value.style.chart.xAxis.labels.values.length?(e.openBlock(),e.createElementBlock("g",St,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.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===V.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(V.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===V.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(V.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,$t)):e.createCommentVNode("",!0)],!0)),256))])):e.createCommentVNode("",!0),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.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:()=>$e(l)},null,40,At))),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,Nt)):e.createCommentVNode("",!0),h.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(T.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,zt)):e.createCommentVNode("",!0),h.value&&h.value.index===c?(e.openBlock(),e.createElementBlock("text",{key:1,x:he(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":he(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,Lt)):e.createCommentVNode("",!0)],64))),256))],64))),256))],64))),256)):e.createCommentVNode("",!0)]),e.renderSlot(o.$slots,"svg",{svg:f.value},void 0,!0)],14,it)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Mt,[e.renderSlot(o.$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:P},[t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Je.Legend,{key:`legend_${D.value}`,legendSet:G.value,config:Le.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:${E.value.includes(l.id)?.5:1}`),onClick:n=>l.segregate()},e.toDisplayString(l.name),13,_t)]),_:2},[o.$slots.pattern?{name:"legend-pattern",fn:e.withCtx(({legend:l,index:n})=>[e.createVNode(Qe._sfc_main,{shape:l.shape,radius:30,stroke:"none",plot:{x:30,y:30},fill:`url(#pattern_${g.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:w,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createBlock(Ye.default,{key:8,hideDetails:"",config:{open:I.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(Ge.DataTable,{key:`table_${A.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=>I.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l},null,8,Vt)]),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))}},Pt=Be._export_sfc(Tt,[["__scopeId","data-v-d234d120"]]);exports.default=Pt;