vue-data-ui 2.9.7-beta.4 → 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.
- package/dist/{Arrow-BU862Wbr.cjs → Arrow-Dr7CAOqZ.cjs} +1 -1
- package/dist/{Arrow-i3hOb-ua.js → Arrow-s_wPFqJx.js} +1 -1
- package/dist/{BaseIcon-nWbI4U46.cjs → BaseIcon-BmFMQj6j.cjs} +1 -1
- package/dist/{BaseIcon-B9M6ZnSf.js → BaseIcon-Nq8DLsxB.js} +1 -1
- package/dist/{ColorPicker-C7i01-oh.js → ColorPicker-CGhz79T0.js} +3 -3
- package/dist/{ColorPicker-Cea1qvcb.cjs → ColorPicker-sC9FB0BP.cjs} +1 -1
- package/dist/{DataTable-PjBXy0wM.js → DataTable-CaoJlp1o.js} +2 -2
- package/dist/{DataTable-Y92iqL1H.cjs → DataTable-DBqEL6IT.cjs} +1 -1
- package/dist/{Legend-Cson3t51.js → Legend-CMTevdSS.js} +2 -2
- package/dist/{Legend-BOyqRV5T.cjs → Legend-DPvSASqp.cjs} +1 -1
- package/dist/{PackageVersion-Ct8O_fME.cjs → PackageVersion-DjLyiG-P.cjs} +1 -1
- package/dist/{PackageVersion-mjNEMJ2m.js → PackageVersion-s7IKraJ7.js} +1 -1
- package/dist/{PenAndPaper-BpyG9l7H.cjs → PenAndPaper-E8prMho-.cjs} +1 -1
- package/dist/{PenAndPaper-whlUO00N.js → PenAndPaper-UCIFBRLO.js} +3 -3
- package/dist/{Shape-C7rF2xE8.cjs → Shape-ByQ4NP8x.cjs} +1 -1
- package/dist/{Shape-CGUIqOqx.js → Shape-DApsVE3-.js} +1 -1
- package/dist/{Slicer-DqlKfPAB.js → Slicer-BEz7n0a9.js} +2 -2
- package/dist/{Slicer-BPurE-jS.cjs → Slicer-DQ0mvSk_.cjs} +1 -1
- package/dist/{Title-DvZipW40.js → Title-BAvZqX49.js} +1 -1
- package/dist/{Title-BoVlO-30.cjs → Title-DAqeAwOE.cjs} +1 -1
- package/dist/{Tooltip-DEx4TQFz.js → Tooltip-L5-AhMk0.js} +1 -1
- package/dist/{Tooltip-BXec3Yxb.cjs → Tooltip-QM-sq3Ul.cjs} +1 -1
- package/dist/{dom-to-png-CuJS8iVi.cjs → dom-to-png-Bx_gosCz.cjs} +1 -1
- package/dist/{dom-to-png-Dz_1S3V7.js → dom-to-png-LXFX5WIG.js} +1 -1
- package/dist/{img-CMsLqCm_.cjs → img-DB-f_Sql.cjs} +1 -1
- package/dist/{img-BgS7eHPK.js → img-DfxnBRd7.js} +1 -1
- package/dist/index-BsmmqoCF.cjs +9 -0
- package/dist/{index-OSciKIgD.js → index-CBP1isAR.js} +2 -1
- package/dist/{pdf-C-wYrX1S.js → pdf-C0qjwXyh.js} +1 -1
- package/dist/{pdf-CdHwJtQB.cjs → pdf-OVz2s4KQ.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useNestedProp-HVmp3eMB.cjs → useNestedProp-DYi3ZveI.cjs} +1 -1
- package/dist/{useNestedProp-ChNJVTOg.js → useNestedProp-Du7IsYD9.js} +1 -1
- package/dist/{usePrinter-B4wbxvGn.cjs → usePrinter-BuOWaMgB.cjs} +1 -1
- package/dist/{usePrinter-DxnQWfIq.js → usePrinter-CKWFanLo.js} +3 -3
- package/dist/{vue-data-ui-BEUJgZ7O.cjs → vue-data-ui-3TmZQteB.cjs} +1 -1
- package/dist/{vue-data-ui-DZ63l99N.js → vue-data-ui-DCG9PhuN.js} +62 -62
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-B5vKg1Ny.cjs → vue-ui-3d-bar-D-iQl-ws.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-VDBXuS9w.js → vue-ui-3d-bar-apnaE4XN.js} +9 -9
- package/dist/{vue-ui-accordion-Dg4lCGIs.js → vue-ui-accordion-BIM67ZeK.js} +3 -3
- package/dist/{vue-ui-accordion-PMbghVHy.cjs → vue-ui-accordion-DTGUNv8U.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Bh2g8R7e.cjs → vue-ui-age-pyramid-Cfkvx7l9.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DZB4Ynj9.js → vue-ui-age-pyramid-Cy24L42m.js} +10 -10
- package/dist/{vue-ui-annotator-CiAHxNGA.cjs → vue-ui-annotator-DjuVYleI.cjs} +1 -1
- package/dist/{vue-ui-annotator-3ZZc-3_P.js → vue-ui-annotator-VmbRnOih.js} +2 -2
- package/dist/{vue-ui-bullet-VtH-vOXR.cjs → vue-ui-bullet-BQ83qtWh.cjs} +1 -1
- package/dist/{vue-ui-bullet-DW_6AN_C.js → vue-ui-bullet-CDAo7gWv.js} +8 -8
- package/dist/{vue-ui-candlestick-Qr6-v8sf.js → vue-ui-candlestick-4aqCjINd.js} +11 -11
- package/dist/{vue-ui-candlestick-Bb25zgmY.cjs → vue-ui-candlestick-YX6KvaWS.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-XsC1KGtY.js → vue-ui-carousel-table-C-_FbRDn.js} +4 -4
- package/dist/{vue-ui-carousel-table-OATqK0pn.cjs → vue-ui-carousel-table-CuDQWa7G.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CGWh6W2-.cjs → vue-ui-chestnut-BYPtEovg.cjs} +1 -1
- package/dist/{vue-ui-chestnut-VEhyI5Mt.js → vue-ui-chestnut-X6LS6ScY.js} +8 -8
- package/dist/{vue-ui-circle-pack-BS5uf0ps.js → vue-ui-circle-pack-B1_5dO3g.js} +9 -9
- package/dist/{vue-ui-circle-pack-BjH5iZfw.cjs → vue-ui-circle-pack-BeAtRXbB.cjs} +1 -1
- package/dist/{vue-ui-cursor-4qwx-SCJ.js → vue-ui-cursor-BWPtERPT.js} +2 -2
- package/dist/{vue-ui-cursor-Be54oVZT.cjs → vue-ui-cursor-BgGvzmEf.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BALjKfES.cjs → vue-ui-dashboard-CAWAT26c.cjs} +1 -1
- package/dist/{vue-ui-dashboard-b6kyZHFq.js → vue-ui-dashboard-D5cnUFWk.js} +62 -62
- package/dist/{vue-ui-digits-D1ysybhe.js → vue-ui-digits-CE7Od9yi.js} +2 -2
- package/dist/{vue-ui-digits-B7HhBHyi.cjs → vue-ui-digits-DkfsXKCg.cjs} +1 -1
- package/dist/{vue-ui-donut-CSTNHSwt.js → vue-ui-donut-CL-Ugkr7.js} +12 -12
- package/dist/{vue-ui-donut-DTmDI-SU.cjs → vue-ui-donut-DpSkxt-q.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-B03u-Ecq.js → vue-ui-donut-evolution-CI-0MGVw.js} +11 -11
- package/dist/{vue-ui-donut-evolution-B5rekv3R.cjs → vue-ui-donut-evolution-kC51VvI9.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-E8QEB4Zb.cjs → vue-ui-dumbbell-BQXYqSKc.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B-oZ72GB.js → vue-ui-dumbbell-CXrOqs2c.js} +10 -10
- package/dist/{vue-ui-flow-yj_32hxD.cjs → vue-ui-flow-C59FdZtG.cjs} +1 -1
- package/dist/{vue-ui-flow-B8W79a7e.js → vue-ui-flow-DJro3vjP.js} +9 -9
- package/dist/{vue-ui-funnel-B-bET9Ng.js → vue-ui-funnel-Dm3_TN8K.js} +9 -9
- package/dist/{vue-ui-funnel-_6whJY-m.cjs → vue-ui-funnel-zPg56GCn.cjs} +1 -1
- package/dist/{vue-ui-galaxy-huloan9C.cjs → vue-ui-galaxy-CS2Mf8Ov.cjs} +1 -1
- package/dist/{vue-ui-galaxy-D9cVPLvW.js → vue-ui-galaxy-DOIOAoxF.js} +11 -11
- package/dist/{vue-ui-gauge-I_BYUCCu.js → vue-ui-gauge-D8hdbwD7.js} +7 -7
- package/dist/{vue-ui-gauge-LzfRQNWT.cjs → vue-ui-gauge-DiPKEWB4.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DhCHbgup.js → vue-ui-gizmo-CCdea7A2.js} +3 -3
- package/dist/{vue-ui-gizmo-BgZL1REf.cjs → vue-ui-gizmo-chvkzm7k.cjs} +1 -1
- package/dist/{vue-ui-heatmap-fVU_FaG3.js → vue-ui-heatmap-CluVUBra.js} +10 -10
- package/dist/{vue-ui-heatmap-DbKa_1vX.cjs → vue-ui-heatmap-DEBUIK8U.cjs} +1 -1
- package/dist/{vue-ui-history-plot-CIy5Bu8z.cjs → vue-ui-history-plot-5T3LNhQn.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BUwpAg2v.js → vue-ui-history-plot-BckOx8Vk.js} +11 -11
- package/dist/{vue-ui-kpi-Da-DO9xl.js → vue-ui-kpi-B2X1xhaJ.js} +3 -3
- package/dist/{vue-ui-kpi-BhreBvOl.cjs → vue-ui-kpi-DjGm2yh1.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DopjyCEa.js → vue-ui-mini-loader-BJKTWdXg.js} +2 -2
- package/dist/{vue-ui-mini-loader-rbzVwuK2.cjs → vue-ui-mini-loader-hzHrjRlD.cjs} +1 -1
- package/dist/{vue-ui-molecule-COU4QOs1.js → vue-ui-molecule-V7lB2OMt.js} +11 -11
- package/dist/{vue-ui-molecule-DX4oOBS7.cjs → vue-ui-molecule-g10MJ-nt.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-kkH7ZJfx.js → vue-ui-mood-radar-2zJseFN0.js} +11 -11
- package/dist/{vue-ui-mood-radar-CqmQpig9.cjs → vue-ui-mood-radar-v9PM3J-G.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CGOrNPhc.js → vue-ui-nested-donuts-BwUujGPt.js} +11 -11
- package/dist/{vue-ui-nested-donuts-B3iQTDWc.cjs → vue-ui-nested-donuts-C9gEe_6T.cjs} +1 -1
- package/dist/{vue-ui-onion-BvAgh599.js → vue-ui-onion-1oxYMjac.js} +11 -11
- package/dist/{vue-ui-onion-z2QqvCiP.cjs → vue-ui-onion-_Rs5AXWM.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-MoziyLP_.cjs → vue-ui-parallel-coordinate-plot-BO9UHLH2.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DbUbMJIT.js → vue-ui-parallel-coordinate-plot-BrnYGdiY.js} +12 -12
- package/dist/{vue-ui-quadrant-BE3Z9WaL.cjs → vue-ui-quadrant-CwAfIdpG.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DT7VvXOM.js → vue-ui-quadrant-D0qzjogK.js} +12 -12
- package/dist/{vue-ui-quick-chart-BlhFeC5-.js → vue-ui-quick-chart-Dg4akarh.js} +9 -9
- package/dist/{vue-ui-quick-chart-C63xCDAj.cjs → vue-ui-quick-chart-DwAMGksL.cjs} +1 -1
- package/dist/{vue-ui-radar-H_5nTf8p.cjs → vue-ui-radar-DmV_aB9U.cjs} +1 -1
- package/dist/{vue-ui-radar-B-0I6GxV.js → vue-ui-radar-Z4yv-LlT.js} +12 -12
- package/dist/{vue-ui-rating-D8EA7c7o.cjs → vue-ui-rating-BDatA7DF.cjs} +1 -1
- package/dist/{vue-ui-rating-vbLc3nvK.js → vue-ui-rating-RyIv9ufH.js} +2 -2
- package/dist/{vue-ui-relation-circle-BDkhr-xA.js → vue-ui-relation-circle-BQIEpNpL.js} +7 -7
- package/dist/{vue-ui-relation-circle-rGswpU0T.cjs → vue-ui-relation-circle-EK-spe4f.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-B1JS354a.js → vue-ui-ridgeline-BpXR96mc.js} +223 -223
- package/dist/vue-ui-ridgeline-DROLcK3y.cjs +1 -0
- package/dist/{vue-ui-rings-BQTJ4tv_.cjs → vue-ui-rings-C1SBs7eV.cjs} +1 -1
- package/dist/{vue-ui-rings-ih4W60-k.js → vue-ui-rings-DR3sMhFa.js} +12 -12
- package/dist/{vue-ui-scatter-qd4FOf_Q.cjs → vue-ui-scatter-Dj0h64ne.cjs} +1 -1
- package/dist/{vue-ui-scatter-DkBqb4Bz.js → vue-ui-scatter-DrlzUpVV.js} +12 -12
- package/dist/{vue-ui-skeleton-DdZG4z8H.cjs → vue-ui-skeleton-4ejtHcys.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DovfYYY8.js → vue-ui-skeleton-C27xsSyg.js} +3 -3
- package/dist/{vue-ui-smiley-DTI2WkK9.cjs → vue-ui-smiley-B7ql3XCo.cjs} +1 -1
- package/dist/{vue-ui-smiley-D613C_Mb.js → vue-ui-smiley-C7S2yOhR.js} +2 -2
- package/dist/{vue-ui-spark-trend-CzoPgRIZ.cjs → vue-ui-spark-trend-BIfM0Usw.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B5TmuGJE.js → vue-ui-spark-trend-DuDYLeLL.js} +5 -5
- package/dist/{vue-ui-sparkbar-CcxnhiQ3.cjs → vue-ui-sparkbar-4ZyV7t5s.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-C0KAsycB.js → vue-ui-sparkbar-Cov9Xm0L.js} +4 -4
- package/dist/{vue-ui-sparkgauge-anfz8JCd.cjs → vue-ui-sparkgauge-BSzmtl_K.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CGNISlKr.js → vue-ui-sparkgauge-BtY0Dpny.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-6H5a2W8Y.cjs → vue-ui-sparkhistogram-BHlPjWe6.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-D7JmWN_0.js → vue-ui-sparkhistogram-BxvnY7JU.js} +5 -5
- package/dist/{vue-ui-sparkline-jlUjccps.js → vue-ui-sparkline-0i1N-NtY.js} +4 -4
- package/dist/{vue-ui-sparkline-DxMDjBbB.cjs → vue-ui-sparkline-k_JV8N3e.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CsTflpej.js → vue-ui-sparkstackbar-CwpbO4qg.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CT5OfOWU.cjs → vue-ui-sparkstackbar-DDhHG7ry.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BaeAr7Bs.cjs → vue-ui-stackbar-B066G08Q.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CXH9RTHR.js → vue-ui-stackbar-DDK5eC9M.js} +13 -13
- package/dist/{vue-ui-strip-plot-BHtEIE3i.cjs → vue-ui-strip-plot-CW2cLF-S.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-e6bSXWnG.js → vue-ui-strip-plot-CYTvrybe.js} +11 -11
- package/dist/{vue-ui-table-Dlw1Q7Kn.cjs → vue-ui-table-DXvurbTJ.cjs} +1 -1
- package/dist/{vue-ui-table-BrYbKBRy.js → vue-ui-table-DdjbrZpA.js} +3 -3
- package/dist/{vue-ui-table-heatmap-xEDreHAI.cjs → vue-ui-table-heatmap-BNqMnDv4.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DhQuPfgf.js → vue-ui-table-heatmap-D-Ac4zly.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CJnaWxAe.js → vue-ui-table-sparkline-iHgkuKdX.js} +5 -5
- package/dist/{vue-ui-table-sparkline-C0TL4HM_.cjs → vue-ui-table-sparkline-jAPtk7oN.cjs} +1 -1
- package/dist/{vue-ui-thermometer-5AIrkXeD.js → vue-ui-thermometer-C7EnNNxt.js} +7 -7
- package/dist/{vue-ui-thermometer-CvqVSXr5.cjs → vue-ui-thermometer-CQ8A8LlJ.cjs} +1 -1
- package/dist/{vue-ui-timer-WDd3AUT7.cjs → vue-ui-timer-C0Y9IRkk.cjs} +1 -1
- package/dist/{vue-ui-timer-JLIpk9eX.js → vue-ui-timer-Dbw7YMt3.js} +5 -5
- package/dist/{vue-ui-tiremarks-DgUkf8sb.cjs → vue-ui-tiremarks-CXc-hmOo.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CxjTl8Tn.js → vue-ui-tiremarks-ItbpL7yt.js} +7 -7
- package/dist/{vue-ui-treemap-OqYoFDS5.js → vue-ui-treemap-DMJejGkG.js} +12 -12
- package/dist/{vue-ui-treemap-Vm_X29Um.cjs → vue-ui-treemap-KVO8AMzu.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-C5J36g6R.js → vue-ui-vertical-bar-Cgb8D5WU.js} +12 -12
- package/dist/{vue-ui-vertical-bar-DgxYbjM7.cjs → vue-ui-vertical-bar-pQ2Ctm4q.cjs} +1 -1
- package/dist/{vue-ui-waffle-BDlJUrDl.js → vue-ui-waffle-BEQkzOA1.js} +12 -12
- package/dist/{vue-ui-waffle-CvD9FbDL.cjs → vue-ui-waffle-CYp0jg9U.cjs} +1 -1
- package/dist/{vue-ui-wheel-Dhg5Ucaw.js → vue-ui-wheel-Bz27GPAO.js} +7 -7
- package/dist/{vue-ui-wheel-JEwRcnJK.cjs → vue-ui-wheel-ChEOmy3V.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BbUplQTP.js → vue-ui-word-cloud-BXvhlBb0.js} +10 -10
- package/dist/{vue-ui-word-cloud-BVWOBKql.cjs → vue-ui-word-cloud-CKFXxBRB.cjs} +1 -1
- package/dist/{vue-ui-world-CLSVMvWg.js → vue-ui-world-3E_v_9Xp.js} +11 -11
- package/dist/{vue-ui-world-IPuP3qIv.cjs → vue-ui-world-l4yCyt5l.cjs} +1 -1
- package/dist/{vue-ui-xy-p92r8yMT.cjs → vue-ui-xy-BorQlLL5.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-B-OLIxii.cjs → vue-ui-xy-canvas-BACNLz4I.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-AO3e0E_t.js → vue-ui-xy-canvas-qIlz6JHM.js} +12 -12
- package/dist/{vue-ui-xy-BReSAh6M.js → vue-ui-xy-vSBPUHGJ.js} +16 -16
- package/package.json +1 -1
- package/dist/index-Dog_t49y.cjs +0 -9
- package/dist/vue-ui-ridgeline-DRJg4yiD.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-Dog_t49y.cjs"),Ye=require("./useUserOptionState-BgepsfED.cjs"),je=require("./useChartAccessibility-Cm7nkzTG.cjs"),Be=require("./usePrinter-B4wbxvGn.cjs"),Ee=require("./useResponsive-DQmBAoBf.cjs"),Se=require("./useNestedProp-HVmp3eMB.cjs"),Ge=require("./vue-ui-accordion-PMbghVHy.cjs"),Je=require("./BaseIcon-nWbI4U46.cjs"),$e=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ke=require("./DataTable-Y92iqL1H.cjs"),Qe=require("./Legend-BOyqRV5T.cjs"),Ze=require("./PenAndPaper-BpyG9l7H.cjs"),et=require("./Shape-C7rF2xE8.cjs"),tt=require("./vue-ui-skeleton-DdZG4z8H.cjs"),lt=require("./Title-BoVlO-30.cjs"),ot=require("./vue-ui-xy-p92r8yMT.cjs"),at=["xmlns"],rt={class:"modal-title"},nt={class:"modal-body"},st={__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,at))],32),e.createElementVNode("span",rt,[e.renderSlot(i.$slots,"title",{},void 0,!0)]),e.createElementVNode("button",{class:"close",onClick:O},[e.createVNode(Je.default,{name:"close",stroke:$.headerColor},null,8,["stroke"])])],4),e.createElementVNode("div",nt,[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)]))}},it=$e._export_sfc(st,[["__scopeId","data-v-f854cee8"]]),ut=["id"],ct=["xmlns","viewBox"],dt=["id"],ht=["stop-color"],vt=["stop-color"],mt=["stop-color"],ft=["stop-color"],pt=["id"],gt=["stop-color"],yt=["stop-color"],kt=["stop-color"],xt=["stop-color"],bt={key:0},wt=["fill","d"],Ct=["fill","stroke","stroke-width","d"],Bt=["stroke","stroke-dasharray","stroke-width","d"],Et=["x1","y1","x2","y2","stroke","stroke-width","stroke-dasharray"],St=["cx","cy","stroke","stroke-width","r","fill"],$t=["x","y","font-size","font-weight","fill","text-decoration","onMouseenter","onClick"],At={key:1},Nt=["font-size","fill","font-weight","transform","text-anchor"],zt=["x","y","width","height","onMouseenter","onClick"],Lt=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],Mt=["cx","cy","stroke","stroke-width","r","fill"],_t=["x","y","text-anchor","font-size","fill"],Vt={key:5,class:"vue-data-ui-watermark"},Tt=["onClick"],Pt=["innerHTML"],Ot={__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=Se.useNestedProp({userConfig:f.config,defaultConfig:ee});return o.theme?{...Se.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}=Ye.useUserOptionState({config:t.value}),{svgRef:te}=je.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=Ee.throttle(()=>{const{width:s,height:l}=Ee.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}=Be.usePrinter({elementId:`vue-ui-ridgeline_${p.value}`,fileName:t.value.style.chart.title.text||"vue-ui-ridgeline",options:t.value.userOptions.print}),Ae=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),Ne=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:Me(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):Ne.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 ze(o){_("selectX",B.value.map(s=>s.datapoints.map(l=>({dp:l,selected:l.values[o.index]}))))}function Le(o,s){return o.length*s/2+s}function ve(o,s,l){const n=Le(s,l);return o+n>k.value.right}function Me(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,He)=>{const Re=isNaN(U)||[void 0,null,"NaN",NaN,1/0,-1/0].includes(U)?0:U||0,qe=r+c*He,We=k.value.top+be+y.value*oe.value*(1-xe(Re+x)),Ue=U===Math.max(...q.values);return{x:qe,y:We,value:U,isMaxPoint:Ue,zero:M}}),we=`${u.createSmoothAreaSegments(W,M,!1,!1)}`,Ce=`M ${r},${M} ${u.createStraightPath(W)} ${W.at(-1).x},${M}`,Xe=`M ${r},${M} ${W.at(-1).x},${M}`,Ie=u.getPathLengthFromCoordinates(t.value.style.chart.areas.smooth?we:Ce);return{...q,uid:u.createUid(),plots:W,smoothPath:we,straightPath:Ce,zeroPath:Xe,pathLength:Ie}}).filter(q=>!S.value.includes(q.id))}})}),S=e.ref([]);function _e(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(()=>_e(B.value)),Ve=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 Te(o){R.value=o,E.value+=1}const me=e.ref({}),fe=e.ref([]);function Pe(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 Oe(o){ae.value=o}function De(){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 Fe(){return P.value}return Q({getData:Fe,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(Ze._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),Ae.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(lt._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(Be.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:Te,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,ht),e.createElementVNode("stop",{offset:"30%","stop-color":l.color,"stop-opacity":"0.7"},null,8,vt),e.createElementVNode("stop",{offset:"70%","stop-color":l.color,"stop-opacity":"0.3"},null,8,mt),e.createElementVNode("stop",{offset:"100%","stop-color":l.color,"stop-opacity":"0.1"},null,8,ft)],8,dt))),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,gt),e.createElementVNode("stop",{offset:"30%","stop-color":r.color,"stop-opacity":"0.7"},null,8,yt),e.createElementVNode("stop",{offset:"70%","stop-color":r.color,"stop-opacity":"0.3"},null,8,kt),e.createElementVNode("stop",{offset:"100%","stop-color":r.color,"stop-opacity":"0.1"},null,8,xt)],8,pt))),128))],64))),256))]),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",bt,[(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,wt),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",class:e.normalizeClass({"vue-ui-ridgeline-animate":t.value.useCssAnimation}),style:e.normalizeStyle({strokeDasharray:r.pathLength,strokeDashoffset:t.value.useCssAnimation?r.pathLength:0})},null,14,Ct),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,Bt),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,Et)):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,St)):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=>Oe(n),onMouseleave:De,onClick:r=>Pe(l)},e.toDisplayString(l.name),45,$t)]))),128)),t.value.style.chart.xAxis.labels.values.length?(e.openBlock(),e.createElementBlock("g",At,[(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,Nt)):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:()=>ze(l)},null,40,zt))),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,Lt)):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,Mt)):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,_t)):e.createCommentVNode("",!0)],64))),256))],64))),256))],64))),256)):e.createCommentVNode("",!0)]),e.renderSlot(o.$slots,"svg",{svg:m.value},void 0,!0)],14,ct)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Vt,[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(tt.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(Qe.Legend,{key:`legend_${F.value}`,legendSet:G.value,config:Ve.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,Tt)]),_:2},[o.$slots.pattern?{name:"legend-pattern",fn:e.withCtx(({legend:l,index:n})=>[e.createVNode(et._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(Ge.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(Ke.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,Pt)]),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(it,{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(ot.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,ut))}},Dt=$e._export_sfc(Ot,[["__scopeId","data-v-a4d05295"]]);exports.default=Dt;
|