vue-data-ui 2.9.7-beta.3 → 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.
- package/dist/{Arrow-CRV2aual.cjs → Arrow-BU862Wbr.cjs} +1 -1
- package/dist/{Arrow-Br4TIPX-.js → Arrow-i3hOb-ua.js} +1 -1
- package/dist/{BaseIcon-DKy7UvrS.js → BaseIcon-B9M6ZnSf.js} +1 -1
- package/dist/{BaseIcon-YmctODFh.cjs → BaseIcon-nWbI4U46.cjs} +1 -1
- package/dist/{ColorPicker-3768ddV2.js → ColorPicker-C7i01-oh.js} +3 -3
- package/dist/{ColorPicker-CZT356vS.cjs → ColorPicker-Cea1qvcb.cjs} +1 -1
- package/dist/{DataTable-Dzjvhx8x.js → DataTable-PjBXy0wM.js} +2 -2
- package/dist/{DataTable-Osxcamxt.cjs → DataTable-Y92iqL1H.cjs} +1 -1
- package/dist/{Legend-MCQ8TcAe.cjs → Legend-BOyqRV5T.cjs} +1 -1
- package/dist/{Legend-DA7AW7uZ.js → Legend-Cson3t51.js} +2 -2
- package/dist/{PackageVersion-4ggfhjxK.cjs → PackageVersion-Ct8O_fME.cjs} +1 -1
- package/dist/{PackageVersion-ZFu6yCUA.js → PackageVersion-mjNEMJ2m.js} +1 -1
- package/dist/{PenAndPaper-CMFXzma-.cjs → PenAndPaper-BpyG9l7H.cjs} +1 -1
- package/dist/{PenAndPaper-DrnoKbYV.js → PenAndPaper-whlUO00N.js} +3 -3
- package/dist/{Shape-Bes1IIhY.cjs → Shape-C7rF2xE8.cjs} +1 -1
- package/dist/{Shape-BgIny_5C.js → Shape-CGUIqOqx.js} +1 -1
- package/dist/{Slicer-ClUL0-mB.cjs → Slicer-BPurE-jS.cjs} +1 -1
- package/dist/{Slicer-Bz6gQAV6.js → Slicer-DqlKfPAB.js} +2 -2
- package/dist/{Title-BMNxyl5m.cjs → Title-BoVlO-30.cjs} +1 -1
- package/dist/{Title-Cs73jjW3.js → Title-DvZipW40.js} +1 -1
- package/dist/{Tooltip-DUqOQ4MS.cjs → Tooltip-BXec3Yxb.cjs} +1 -1
- package/dist/{Tooltip-CKi2NHk4.js → Tooltip-DEx4TQFz.js} +1 -1
- package/dist/{dom-to-png-lqy7O-3q.cjs → dom-to-png-CuJS8iVi.cjs} +1 -1
- package/dist/{dom-to-png-ByNUiacT.js → dom-to-png-Dz_1S3V7.js} +1 -1
- package/dist/{img-BgDjJChc.js → img-BgS7eHPK.js} +1 -1
- package/dist/{img-Dq5tn1FL.cjs → img-CMsLqCm_.cjs} +1 -1
- package/dist/index-Dog_t49y.cjs +9 -0
- package/dist/{index-CPghjYiK.js → index-OSciKIgD.js} +2 -1
- package/dist/{pdf-BgmlrwCl.js → pdf-C-wYrX1S.js} +1 -1
- package/dist/{pdf-o0AF3i3S.cjs → pdf-CdHwJtQB.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-CU48YkIM.js → useNestedProp-ChNJVTOg.js} +1 -1
- package/dist/{useNestedProp-ClKcINrk.cjs → useNestedProp-HVmp3eMB.cjs} +1 -1
- package/dist/{usePrinter-BK2X2HOh.cjs → usePrinter-B4wbxvGn.cjs} +1 -1
- package/dist/{usePrinter-CQQY-qJd.js → usePrinter-DxnQWfIq.js} +3 -3
- package/dist/{vue-data-ui-CGj9rW19.cjs → vue-data-ui-BEUJgZ7O.cjs} +1 -1
- package/dist/{vue-data-ui-Bhay7eck.js → vue-data-ui-DZ63l99N.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-CQOf5vEG.cjs → vue-ui-3d-bar-B5vKg1Ny.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-CGBJ22pM.js → vue-ui-3d-bar-VDBXuS9w.js} +9 -9
- package/dist/{vue-ui-accordion-CeEfKK0H.js → vue-ui-accordion-Dg4lCGIs.js} +3 -3
- package/dist/{vue-ui-accordion-Bu2qXVjl.cjs → vue-ui-accordion-PMbghVHy.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DxfcwRai.cjs → vue-ui-age-pyramid-Bh2g8R7e.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BxSl3nEO.js → vue-ui-age-pyramid-DZB4Ynj9.js} +10 -10
- package/dist/{vue-ui-annotator-Bcyh41_r.js → vue-ui-annotator-3ZZc-3_P.js} +2 -2
- package/dist/{vue-ui-annotator-CCyVlm0y.cjs → vue-ui-annotator-CiAHxNGA.cjs} +1 -1
- package/dist/{vue-ui-bullet-DnPoGkdI.js → vue-ui-bullet-DW_6AN_C.js} +8 -8
- package/dist/{vue-ui-bullet-BHHiPz8-.cjs → vue-ui-bullet-VtH-vOXR.cjs} +1 -1
- package/dist/{vue-ui-candlestick-BtGxFTPL.cjs → vue-ui-candlestick-Bb25zgmY.cjs} +1 -1
- package/dist/{vue-ui-candlestick-BE_O1ugm.js → vue-ui-candlestick-Qr6-v8sf.js} +11 -11
- package/dist/{vue-ui-carousel-table-BNKIXoye.cjs → vue-ui-carousel-table-OATqK0pn.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-UyHoXYHQ.js → vue-ui-carousel-table-XsC1KGtY.js} +4 -4
- package/dist/{vue-ui-chestnut-Br_ToJUK.cjs → vue-ui-chestnut-CGWh6W2-.cjs} +1 -1
- package/dist/{vue-ui-chestnut-fD626qAx.js → vue-ui-chestnut-VEhyI5Mt.js} +8 -8
- package/dist/{vue-ui-circle-pack-BNLnJ9kI.js → vue-ui-circle-pack-BS5uf0ps.js} +9 -9
- package/dist/{vue-ui-circle-pack-BBasjCGX.cjs → vue-ui-circle-pack-BjH5iZfw.cjs} +1 -1
- package/dist/{vue-ui-cursor-eQMNPYJP.js → vue-ui-cursor-4qwx-SCJ.js} +2 -2
- package/dist/{vue-ui-cursor-BBjrAXBD.cjs → vue-ui-cursor-Be54oVZT.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bo3D9Uvn.cjs → vue-ui-dashboard-BALjKfES.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Cbaa_BLZ.js → vue-ui-dashboard-b6kyZHFq.js} +62 -62
- package/dist/{vue-ui-digits-Ce3OCc60.cjs → vue-ui-digits-B7HhBHyi.cjs} +1 -1
- package/dist/{vue-ui-digits-zqL2k7W0.js → vue-ui-digits-D1ysybhe.js} +2 -2
- package/dist/{vue-ui-donut-BN8moKQt.js → vue-ui-donut-CSTNHSwt.js} +12 -12
- package/dist/{vue-ui-donut-B9ebh1He.cjs → vue-ui-donut-DTmDI-SU.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-C-C1lEw9.js → vue-ui-donut-evolution-B03u-Ecq.js} +11 -11
- package/dist/{vue-ui-donut-evolution-Dgyzjmc9.cjs → vue-ui-donut-evolution-B5rekv3R.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-Cdf5rkK4.js → vue-ui-dumbbell-B-oZ72GB.js} +10 -10
- package/dist/{vue-ui-dumbbell-Bx9xpxdq.cjs → vue-ui-dumbbell-E8QEB4Zb.cjs} +1 -1
- package/dist/{vue-ui-flow-kpqrc9Qo.js → vue-ui-flow-B8W79a7e.js} +9 -9
- package/dist/{vue-ui-flow-9BD6-JjY.cjs → vue-ui-flow-yj_32hxD.cjs} +1 -1
- package/dist/{vue-ui-funnel-YNjvVjW_.js → vue-ui-funnel-B-bET9Ng.js} +9 -9
- package/dist/{vue-ui-funnel-DIpUWZCa.cjs → vue-ui-funnel-_6whJY-m.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BhORAChF.js → vue-ui-galaxy-D9cVPLvW.js} +11 -11
- package/dist/{vue-ui-galaxy-B0pH7LwL.cjs → vue-ui-galaxy-huloan9C.cjs} +1 -1
- package/dist/{vue-ui-gauge-C2ZLx41P.js → vue-ui-gauge-I_BYUCCu.js} +7 -7
- package/dist/{vue-ui-gauge-CJJ17rIx.cjs → vue-ui-gauge-LzfRQNWT.cjs} +1 -1
- package/dist/{vue-ui-gizmo-D7ga9h3u.cjs → vue-ui-gizmo-BgZL1REf.cjs} +1 -1
- package/dist/{vue-ui-gizmo-B2C0aU6U.js → vue-ui-gizmo-DhCHbgup.js} +3 -3
- package/dist/{vue-ui-heatmap-Cpa-5Coo.cjs → vue-ui-heatmap-DbKa_1vX.cjs} +1 -1
- package/dist/{vue-ui-heatmap-ChlF8bdv.js → vue-ui-heatmap-fVU_FaG3.js} +10 -10
- package/dist/{vue-ui-history-plot-Cix6l-jp.js → vue-ui-history-plot-BUwpAg2v.js} +11 -11
- package/dist/{vue-ui-history-plot-CyYyxIQw.cjs → vue-ui-history-plot-CIy5Bu8z.cjs} +1 -1
- package/dist/{vue-ui-kpi-B0Zs25lJ.cjs → vue-ui-kpi-BhreBvOl.cjs} +1 -1
- package/dist/{vue-ui-kpi-BVJHsaIZ.js → vue-ui-kpi-Da-DO9xl.js} +3 -3
- package/dist/{vue-ui-mini-loader-DHJXabkl.js → vue-ui-mini-loader-DopjyCEa.js} +2 -2
- package/dist/{vue-ui-mini-loader-_JethOyy.cjs → vue-ui-mini-loader-rbzVwuK2.cjs} +1 -1
- package/dist/{vue-ui-molecule-COiQEf5D.js → vue-ui-molecule-COU4QOs1.js} +11 -11
- package/dist/{vue-ui-molecule-CHxz0R6N.cjs → vue-ui-molecule-DX4oOBS7.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-BEXGTvUB.cjs → vue-ui-mood-radar-CqmQpig9.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-mGGobNxw.js → vue-ui-mood-radar-kkH7ZJfx.js} +11 -11
- package/dist/{vue-ui-nested-donuts-uOW1nKyr.cjs → vue-ui-nested-donuts-B3iQTDWc.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CYRliGOr.js → vue-ui-nested-donuts-CGOrNPhc.js} +11 -11
- package/dist/{vue-ui-onion-D7R8aJm9.js → vue-ui-onion-BvAgh599.js} +11 -11
- package/dist/{vue-ui-onion-SKUIxvUS.cjs → vue-ui-onion-z2QqvCiP.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BwFapLow.js → vue-ui-parallel-coordinate-plot-DbUbMJIT.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-B5GYSsZU.cjs → vue-ui-parallel-coordinate-plot-MoziyLP_.cjs} +1 -1
- package/dist/{vue-ui-quadrant-C5qhWWW_.cjs → vue-ui-quadrant-BE3Z9WaL.cjs} +1 -1
- package/dist/{vue-ui-quadrant-CMg4azLe.js → vue-ui-quadrant-DT7VvXOM.js} +12 -12
- package/dist/{vue-ui-quick-chart-DFa6Q5RL.js → vue-ui-quick-chart-BlhFeC5-.js} +9 -9
- package/dist/{vue-ui-quick-chart-B-yEroDi.cjs → vue-ui-quick-chart-C63xCDAj.cjs} +1 -1
- package/dist/{vue-ui-radar-DDs2foAw.js → vue-ui-radar-B-0I6GxV.js} +12 -12
- package/dist/{vue-ui-radar-LcPcF9gS.cjs → vue-ui-radar-H_5nTf8p.cjs} +1 -1
- package/dist/{vue-ui-rating-MB5itLY9.cjs → vue-ui-rating-D8EA7c7o.cjs} +1 -1
- package/dist/{vue-ui-rating-CSHzuDF7.js → vue-ui-rating-vbLc3nvK.js} +2 -2
- package/dist/{vue-ui-relation-circle-Bighl7Hm.js → vue-ui-relation-circle-BDkhr-xA.js} +7 -7
- package/dist/{vue-ui-relation-circle-CS-Ox0P9.cjs → vue-ui-relation-circle-rGswpU0T.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-BrppGTxe.js → vue-ui-ridgeline-B1JS354a.js} +223 -213
- package/dist/vue-ui-ridgeline-DRJg4yiD.cjs +1 -0
- package/dist/{vue-ui-rings-Bv3hxDDA.cjs → vue-ui-rings-BQTJ4tv_.cjs} +1 -1
- package/dist/{vue-ui-rings-DV6QORSR.js → vue-ui-rings-ih4W60-k.js} +12 -12
- package/dist/{vue-ui-scatter-C-Rd_g_Z.js → vue-ui-scatter-DkBqb4Bz.js} +12 -12
- package/dist/{vue-ui-scatter-DfV914cV.cjs → vue-ui-scatter-qd4FOf_Q.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DNqSVeze.cjs → vue-ui-skeleton-DdZG4z8H.cjs} +1 -1
- package/dist/{vue-ui-skeleton-C9zb9atn.js → vue-ui-skeleton-DovfYYY8.js} +3 -3
- package/dist/{vue-ui-smiley-BNr2TwD7.js → vue-ui-smiley-D613C_Mb.js} +2 -2
- package/dist/{vue-ui-smiley-C10OmQgH.cjs → vue-ui-smiley-DTI2WkK9.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BkYXwfjo.js → vue-ui-spark-trend-B5TmuGJE.js} +5 -5
- package/dist/{vue-ui-spark-trend-BaMbJj_s.cjs → vue-ui-spark-trend-CzoPgRIZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CL_srpNL.js → vue-ui-sparkbar-C0KAsycB.js} +4 -4
- package/dist/{vue-ui-sparkbar-lTreIYyI.cjs → vue-ui-sparkbar-CcxnhiQ3.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CPxJkflg.js → vue-ui-sparkgauge-CGNISlKr.js} +4 -4
- package/dist/{vue-ui-sparkgauge-TDsmxaIv.cjs → vue-ui-sparkgauge-anfz8JCd.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CR-4hm7V.cjs → vue-ui-sparkhistogram-6H5a2W8Y.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-BgLE72Q4.js → vue-ui-sparkhistogram-D7JmWN_0.js} +5 -5
- package/dist/{vue-ui-sparkline-CKyuE4iR.cjs → vue-ui-sparkline-DxMDjBbB.cjs} +1 -1
- package/dist/{vue-ui-sparkline-D1-levGr.js → vue-ui-sparkline-jlUjccps.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-OmSyqPoO.cjs → vue-ui-sparkstackbar-CT5OfOWU.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-ERZJKaeA.js → vue-ui-sparkstackbar-CsTflpej.js} +5 -5
- package/dist/{vue-ui-stackbar-DupdXl8C.cjs → vue-ui-stackbar-BaeAr7Bs.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BHU8-Ftu.js → vue-ui-stackbar-CXH9RTHR.js} +13 -13
- package/dist/{vue-ui-strip-plot-BqdoSW-o.cjs → vue-ui-strip-plot-BHtEIE3i.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-Cq73dk9y.js → vue-ui-strip-plot-e6bSXWnG.js} +11 -11
- package/dist/{vue-ui-table-C05Gill3.js → vue-ui-table-BrYbKBRy.js} +3 -3
- package/dist/{vue-ui-table-CKpeOr7c.cjs → vue-ui-table-Dlw1Q7Kn.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DpI760Eq.js → vue-ui-table-heatmap-DhQuPfgf.js} +4 -4
- package/dist/{vue-ui-table-heatmap-Drbg0JC4.cjs → vue-ui-table-heatmap-xEDreHAI.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Xn8LyL_w.cjs → vue-ui-table-sparkline-C0TL4HM_.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-HQ9cZRb-.js → vue-ui-table-sparkline-CJnaWxAe.js} +5 -5
- package/dist/{vue-ui-thermometer-CwwgLORL.js → vue-ui-thermometer-5AIrkXeD.js} +7 -7
- package/dist/{vue-ui-thermometer-BcFEmjP9.cjs → vue-ui-thermometer-CvqVSXr5.cjs} +1 -1
- package/dist/{vue-ui-timer-BxK-1302.js → vue-ui-timer-JLIpk9eX.js} +5 -5
- package/dist/{vue-ui-timer-BSA3LeOr.cjs → vue-ui-timer-WDd3AUT7.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BRgrUQDx.js → vue-ui-tiremarks-CxjTl8Tn.js} +7 -7
- package/dist/{vue-ui-tiremarks-Y6OLPWeP.cjs → vue-ui-tiremarks-DgUkf8sb.cjs} +1 -1
- package/dist/{vue-ui-treemap-9QlVyIJD.js → vue-ui-treemap-OqYoFDS5.js} +12 -12
- package/dist/{vue-ui-treemap-D8aVSgCL.cjs → vue-ui-treemap-Vm_X29Um.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-DGPACE0Z.js → vue-ui-vertical-bar-C5J36g6R.js} +12 -12
- package/dist/{vue-ui-vertical-bar-iRsZ5kbP.cjs → vue-ui-vertical-bar-DgxYbjM7.cjs} +1 -1
- package/dist/{vue-ui-waffle-Dn8S8r-M.js → vue-ui-waffle-BDlJUrDl.js} +12 -12
- package/dist/{vue-ui-waffle-CPSADmyi.cjs → vue-ui-waffle-CvD9FbDL.cjs} +1 -1
- package/dist/{vue-ui-wheel-BZZGNPBu.js → vue-ui-wheel-Dhg5Ucaw.js} +7 -7
- package/dist/{vue-ui-wheel-AelaWOUu.cjs → vue-ui-wheel-JEwRcnJK.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-Dn_A50EG.cjs → vue-ui-word-cloud-BVWOBKql.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CEBaYDA8.js → vue-ui-word-cloud-BbUplQTP.js} +10 -10
- package/dist/{vue-ui-world-yPedQZVu.js → vue-ui-world-CLSVMvWg.js} +11 -11
- package/dist/{vue-ui-world-jbn_c31A.cjs → vue-ui-world-IPuP3qIv.cjs} +1 -1
- package/dist/{vue-ui-xy-BD7-_xp5.js → vue-ui-xy-BReSAh6M.js} +16 -16
- package/dist/{vue-ui-xy-canvas-chk-1uc9.js → vue-ui-xy-canvas-AO3e0E_t.js} +12 -12
- package/dist/{vue-ui-xy-canvas-DTqKkwtQ.cjs → vue-ui-xy-canvas-B-OLIxii.cjs} +1 -1
- package/dist/{vue-ui-xy-V98sK3P9.cjs → vue-ui-xy-p92r8yMT.cjs} +2 -2
- package/package.json +1 -1
- package/dist/index-B7QOuNS_.cjs +0 -9
- package/dist/vue-ui-ridgeline-Clz002Gq.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-B7QOuNS_.cjs"),Ue=require("./useUserOptionState-BgepsfED.cjs"),Ye=require("./useChartAccessibility-Cm7nkzTG.cjs"),we=require("./usePrinter-BK2X2HOh.cjs"),Ce=require("./useResponsive-DQmBAoBf.cjs"),Be=require("./useNestedProp-ClKcINrk.cjs"),je=require("./vue-ui-accordion-Bu2qXVjl.cjs"),Ge=require("./BaseIcon-YmctODFh.cjs"),Ee=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Je=require("./DataTable-Osxcamxt.cjs"),Ke=require("./Legend-MCQ8TcAe.cjs"),Qe=require("./PenAndPaper-CMFXzma-.cjs"),Ze=require("./Shape-Bes1IIhY.cjs"),et=require("./vue-ui-skeleton-DNqSVeze.cjs"),tt=require("./Title-BMNxyl5m.cjs"),lt=require("./vue-ui-xy-V98sK3P9.cjs"),ot=["xmlns"],at={class:"modal-title"},rt={class:"modal-body"},nt={__name:"BaseDraggableDialog",props:{backgroundColor:{type:String},color:{type:String},headerBg:{type:String},headerColor:{type:String}},emits:["close"],setup($,{expose:Q,emit:Z}){e.useCssVars(i=>({19616867:$.color}));const ee=$,f=Z,b=e.ref(!1),_=e.ref(!1),a=e.reactive({left:window.innerWidth/2-200,top:window.innerHeight/2-120,width:400,height:400,dragging:!1,resizing:!1,dragOffsetX:0,dragOffsetY:0,pointerStartX:0,pointerStartY:0,resizeStartW:0,resizeStartH:0});function Y(){b.value=!0,e.nextTick(()=>{_.value||(a.left=Math.max(0,window.innerWidth/2-a.width/2),a.top=Math.max(0,window.innerHeight/2-a.height/2),_.value=!0)})}function O(){b.value=!1,f("close")}Q({open:Y,close:O});const V=e.computed(()=>({position:"fixed",left:`${a.left}px`,top:`${a.top}px`,width:`${a.width}px`,height:`${a.height}px`,padding:0,border:"none",background:ee.backgroundColor,boxShadow:"0 4px 24px rgba(0,0,0,0.15)",zIndex:9999,overflow:"visible",borderRadius:"2px"}));function C(i){return i.touches&&i.touches.length?{x:i.touches[0].clientX,y:i.touches[0].clientY}:{x:i.clientX,y:i.clientY}}function D(i){var v;(v=i.preventDefault)==null||v.call(i),a.dragging=!0;const d=C(i);a.dragOffsetX=d.x-a.left,a.dragOffsetY=d.y-a.top,document.addEventListener("mousemove",A),document.addEventListener("mouseup",N),document.addEventListener("touchmove",A,{passive:!1}),document.addEventListener("touchend",N)}function A(i){var t;if(!a.dragging)return;(t=i.preventDefault)==null||t.call(i);const d=C(i);let v=d.x-a.dragOffsetX,w=d.y-a.dragOffsetY;v=Math.max(0,Math.min(v,window.innerWidth-a.width)),w=Math.max(0,Math.min(w,window.innerHeight-a.height)),a.left=v,a.top=w}function N(){a.dragging=!1,document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",N),document.removeEventListener("touchmove",A),document.removeEventListener("touchend",N)}function F(i){var v;(v=i.preventDefault)==null||v.call(i),a.resizing=!0;const d=C(i);a.pointerStartX=d.x,a.pointerStartY=d.y,a.resizeStartW=a.width,a.resizeStartH=a.height,document.addEventListener("mousemove",p),document.addEventListener("mouseup",E),document.addEventListener("touchmove",p,{passive:!1}),document.addEventListener("touchend",E)}function p(i){var t;if(!a.resizing)return;(t=i.preventDefault)==null||t.call(i);const d=C(i);let v=d.x-a.pointerStartX,w=d.y-a.pointerStartY;a.width=Math.max(240,a.resizeStartW+v),a.height=Math.max(400,a.resizeStartH+w)}function E(){a.resizing=!1,document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",E),document.removeEventListener("touchmove",p),document.removeEventListener("touchend",E)}function j(i){var v;(v=i.preventDefault)==null||v.call(i),a.resizing=!0;const d=C(i);a.pointerStartX=d.x,a.pointerStartY=d.y,a.resizeStartW=a.width,a.resizeStartH=a.height,a.resizeStartLeft=a.left,a.resizeStartTop=a.top,document.addEventListener("mousemove",z),document.addEventListener("mouseup",h),document.addEventListener("touchmove",z,{passive:!1}),document.addEventListener("touchend",h)}function z(i){var I;if(!a.resizing)return;(I=i.preventDefault)==null||I.call(i);const d=C(i);let v=d.x-a.pointerStartX,w=Math.min(Math.max(0,a.resizeStartLeft+v),a.resizeStartLeft+a.resizeStartW-240),t=a.resizeStartW-(w-a.resizeStartLeft),y=d.y-a.pointerStartY,X=Math.max(400,a.resizeStartH+y);a.left=w,a.width=t,a.height=X}function h(){a.resizing=!1,document.removeEventListener("mousemove",z),document.removeEventListener("mouseup",h),document.removeEventListener("touchmove",z),document.removeEventListener("touchend",h)}return e.onUnmounted(()=>{N(),E(),h()}),(i,d)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[b.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"modal vue-ui-draggable-dialog",style:e.normalizeStyle(V.value),onClick:d[0]||(d[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:"modal-header",style:e.normalizeStyle({backgroundColor:$.headerBg,color:$.headerColor})},[e.createElementVNode("span",{class:"drag-handle",onMousedown:e.withModifiers(D,["stop","prevent"]),onTouchstart:e.withModifiers(D,["stop","prevent"])},[(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(u.XMLNS),width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},d[1]||(d[1]=[e.createElementVNode("path",{d:"M5 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1),e.createElementVNode("path",{d:"M5 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1),e.createElementVNode("path",{d:"M12 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1),e.createElementVNode("path",{d:"M12 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1),e.createElementVNode("path",{d:"M19 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1),e.createElementVNode("path",{d:"M19 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},null,-1)]),8,ot))],32),e.createElementVNode("span",at,[e.renderSlot(i.$slots,"title",{},void 0,!0)]),e.createElementVNode("button",{class:"close",onClick:O},[e.createVNode(Ge.default,{name:"close",stroke:$.headerColor},null,8,["stroke"])])],4),e.createElementVNode("div",rt,[e.renderSlot(i.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",{class:"resize-handle",onMousedown:e.withModifiers(F,["stop","prevent"]),onTouchstart:e.withModifiers(F,["stop","prevent"])},null,32),e.createElementVNode("div",{class:"resize-handle resize-handle-left",onMousedown:e.withModifiers(j,["stop","prevent"]),onTouchstart:e.withModifiers(j,["stop","prevent"])},null,32)],4)):e.createCommentVNode("",!0)]))}},st=Ee._export_sfc(nt,[["__scopeId","data-v-f854cee8"]]),it=["id"],ut=["xmlns","viewBox"],ct=["id"],dt=["stop-color"],ht=["stop-color"],vt=["stop-color"],mt=["stop-color"],ft=["id"],pt=["stop-color"],gt=["stop-color"],yt=["stop-color"],kt=["stop-color"],xt={key:0},bt=["fill","d"],wt=["fill","stroke","stroke-width","d"],Ct=["stroke","stroke-dasharray","stroke-width","d"],Bt=["x1","y1","x2","y2","stroke","stroke-width","stroke-dasharray"],Et=["cx","cy","stroke","stroke-width","r","fill"],St=["x","y","font-size","font-weight","fill","text-decoration","onMouseenter","onClick"],$t={key:1},At=["font-size","fill","font-weight","transform","text-anchor"],Nt=["x","y","width","height","onMouseenter","onClick"],zt=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],Lt=["cx","cy","stroke","stroke-width","r","fill"],Mt=["x","y","text-anchor","font-size","fill"],_t={key:5,class:"vue-data-ui-watermark"},Vt=["onClick"],Tt=["innerHTML"],Pt={__name:"vue-ui-ridgeline",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint","selectX"],setup($,{expose:Q,emit:Z}){const{vue_ui_ridgeline:ee}=u.useConfig(),f=$,b=e.computed({get(){return!!f.dataset&&f.dataset.length},set(o){return o}}),_=Z,a=e.ref(null),Y=e.ref(null),O=e.ref(null),V=e.ref(null),C=e.ref(null),D=e.ref(null),A=e.ref(0),N=e.ref(0),F=e.ref(0),p=e.ref(u.createUid()),E=e.ref(0),j=e.ref(0),z=e.ref(512),h=e.ref(null),i=e.ref(null),d=e.ref(null),v=e.ref(0);function w(){const o=Be.useNestedProp({userConfig:f.config,defaultConfig:ee});return o.theme?{...Be.useNestedProp({userConfig:u.themes.vue_ui_ridgeline[o.theme]||f.config,defaultConfig:o}),customPalette:u.themePalettes[o.theme]||u.palette}:o}const t=e.computed({get:()=>w(),set:o=>o}),y=e.ref(Math.min(t.value.style.chart.areas.height,t.value.style.chart.areas.rowHeight)),{userOptionsVisible:X,setUserOptionsVisibility:I,keepUserOptionState:ne}=Ue.useUserOptionState({config:t.value}),{svgRef:te}=Ye.useChartAccessibility({config:t.value.style.chart.title});e.onMounted(le),e.onBeforeUnmount(()=>{V.value&&V.value.disconnect()});function le(){if(u.objectIsEmpty(f.dataset)?u.error({componentName:"VueUiRidgeline",type:"dataset"}):f.dataset.forEach((o,s)=>{u.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","datapoints"]}).forEach(l=>{b.value=!1,u.error({componentName:"VueUiRidgeline",type:"datasetSerieAttribute",property:l,index:s})}),o.datapoints.length&&o.datapoints.forEach((l,n)=>{u.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(r=>{b.value=!1,u.error({componentName:"VueUiRidgeline",type:"datasetSerieAttribute",property:`datapoint.${r}`,index:`${s}-${n}`})})})}),j.value=f.dataset.length,y.value=Math.min(t.value.style.chart.areas.height,t.value.style.chart.areas.rowHeight),t.value.responsive){const o=Ce.throttle(()=>{const{width:s,height:l}=Ce.useResponsive({chart:a.value,title:t.value.style.chart.title.text?Y.value:null,legend:t.value.style.chart.legend.show?O.value:null,source:C.value,noTitle:D.value,padding:t.value.style.chart.padding});requestAnimationFrame(()=>{z.value=s,y.value=l/f.dataset.length,v.value=l})});V.value=new ResizeObserver(o),V.value.observe(a.value.parentNode)}}const{isPrinting:se,isImaging:ie,generatePdf:ue,generateImage:ce}=we.usePrinter({elementId:`vue-ui-ridgeline_${p.value}`,fileName:t.value.style.chart.title.text||"vue-ui-ridgeline",options:t.value.userOptions.print}),Se=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),$e=e.computed(()=>u.convertCustomPalette(t.value.customPalette)),H=e.ref({showTable:t.value.table.show});e.watch(()=>f.config,o=>{t.value=w(),X.value=!t.value.userOptions.showOnChartHover,le(),A.value+=1,F.value+=1,y.value=Math.min(t.value.style.chart.areas.height,t.value.style.chart.areas.rowHeight),H.value.showTable=t.value.table.show},{deep:!0}),e.watch(()=>f.dataset,le,{deep:!0});const oe=e.computed(()=>t.value.style.chart.areas.height/t.value.style.chart.areas.rowHeight);function de(o){S.value.includes(o)?S.value=S.value.filter(s=>s!==o):S.value.push(o),_("selectLegend",P.value)}const B=e.computed(()=>b.value?f.dataset.map((o,s)=>({...o,labelLen:ze(o.name,t.value.style.chart.yAxis.labels.fontSize),uid:u.createUid(),datapoints:o.datapoints.map((l,n)=>{const r=l.color?u.convertColorToHex(l.color):$e.value[n]||u.palette[n]||u.palette[n%u.palette.length],c=u.slugify(l.name);return{...l,color:r,id:c}})})):[]),he=e.computed(()=>t.value.style.chart.padding.top+y.value*f.dataset.length+y.value*oe.value),k=e.computed(()=>({fullHeight:m.value.padding.top+m.value.padding.bottom+m.value.height,top:m.value.padding.top,left:m.value.padding.left,right:m.value.width-m.value.padding.right,bottom:m.value.padding.top+m.value.height,width:m.value.width-(m.value.padding.left+m.value.padding.right)})),m=e.computed(()=>{const o=t.value.style.chart.padding;return{width:z.value,height:he.value,padding:o}}),T=e.computed(()=>{const o=Math.max(...B.value.map(c=>c.labelLen)),s=Math.max(...B.value.flatMap(c=>c.datapoints.map(x=>x.values.length))),l=m.value.padding.left+o+16+t.value.style.chart.yAxis.labels.offsetX,n=(k.value.width-l)/s,r=[];for(let c=0;c<s;c+=1)r.push({selectorX:l+n*c,x:l+n*c-n/2,y:k.value.top,label:t.value.style.chart.xAxis.labels.values[c]||"",index:c,width:n,height:he.value});return r});function Ae(o){_("selectX",B.value.map(s=>s.datapoints.map(l=>({dp:l,selected:l.values[o.index]}))))}function Ne(o,s){return o.length*s/2+s}function ve(o,s,l){const n=Ne(s,l);return o+n>k.value.right}function ze(o,s,l="sans-serif"){const r=document.createElement("canvas").getContext("2d"),c=typeof s=="number"?`${s}px`:s;return r.font=`${c} ${l}`,r.measureText(o).width}const P=e.computed(()=>{y.value;const o=Math.max(...B.value.map(g=>g.labelLen)),s=Math.max(...B.value.flatMap(g=>g.datapoints.map(L=>L.values.length))),l=Math.max(...B.value.flatMap(g=>g.datapoints.flatMap(L=>L.values))),n=Math.min(...B.value.flatMap(g=>g.datapoints.flatMap(L=>L.values))),r=m.value.padding.left+o+16+t.value.style.chart.yAxis.labels.offsetX,c=(k.value.width-r)/s,x=Math.abs(Math.min(n,0)),ke=l+x;function xe(g){return isNaN(g/ke)?0:g/ke}return B.value.map((g,L)=>{const be=k.value.top+y.value*L,M=k.value.top+be+y.value*oe.value*(1-xe(x));return{...g,label:{x:r-t.value.style.chart.yAxis.labels.fontSize,y:M},datapoints:g.datapoints.map(q=>{const W=q.values.map((U,Ie)=>{const He=isNaN(U)||[void 0,null,"NaN",NaN,1/0,-1/0].includes(U)?0:U||0,Re=r+c*Ie,qe=k.value.top+be+y.value*oe.value*(1-xe(He+x)),We=U===Math.max(...q.values);return{x:Re,y:qe,value:U,isMaxPoint:We,zero:M}}),De=`${u.createSmoothAreaSegments(W,M,!1,!1)}`,Fe=`M ${r},${M} ${u.createStraightPath(W)} ${W.at(-1).x},${M}`,Xe=`M ${r},${M} ${W.at(-1).x},${M}`;return{...q,uid:u.createUid(),plots:W,smoothPath:De,straightPath:Fe,zeroPath:Xe}}).filter(q=>!S.value.includes(q.id))}})}),S=e.ref([]);function Le(o){const s=new Map;return o.forEach(l=>{l.datapoints.forEach((n,r)=>{const c=u.slugify(n.name);s.has(c)||s.set(c,{id:c,name:n.name,color:n.color,shape:"circle",segregate:()=>de(c),isSegregated:S.value.includes(c),opacity:S.value.includes(c)?.5:1})})}),Array.from(s.values())}const G=e.computed(()=>Le(B.value)),Me=e.computed(()=>({cy:"donut-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),R=e.ref(!1);function _e(o){R.value=o,E.value+=1}const me=e.ref({}),fe=e.ref([]);function Ve(o){_("selectDatapoint",o),t.value.style.chart.dialog.show&&(fe.value=o.datapoints.map(s=>({name:s.name,color:s.color,type:"line",useArea:!0,smooth:t.value.style.chart.areas.smooth,series:s.values})),i.value=o,me.value=u.deepEmptyObjectToNull({...t.value.style.chart.dialog.xyChart,responsive:!0,chart:{...t.value.style.chart.dialog.xyChart.chart,grid:{...t.value.style.chart.dialog.xyChart.chart.grid,labels:{...t.value.style.chart.dialog.xyChart.chart.grid.labels,xAxisLabels:{...t.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels,values:t.value.style.chart.xAxis.labels.values}}},tooltip:{...t.value.style.chart.dialog.xyChart.chart.tooltip,showTimeLabel:t.value.style.chart.xAxis.labels.values.length>0}}}),d.value&&d.value.open())}const ae=e.ref(null);function Te(o){ae.value=o}function Pe(){ae.value=null}const J=e.ref(!1);function re(){J.value=!J.value}function pe(){H.value.showTable=!H.value.showTable}const ge=e.computed(()=>({body:P.value.flatMap(l=>l.datapoints.flatMap(n=>({...n,rowName:`${l.name}: ${n.name}`}))).map(l=>[{name:l.rowName,color:l.color},...l.values])})),K=e.computed(()=>{const o=[t.value.table.columnNames.series,...t.value.style.chart.xAxis.labels.values],s={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,...t.value.style.chart.xAxis.labels.values],head:o,body:ge.value.body,config:s}});function ye(){e.nextTick(()=>{const o=[[t.value.table.columnNames.series,...t.value.style.chart.xAxis.labels.values.map(n=>[n])],...ge.value.body.map((n,r)=>[n[0].name,...n.slice(1)])],s=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text]].concat(o),l=u.createCsvContent(s);u.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-ridgeline"})})}function Oe(){return P.value}return Q({getData:Oe,generateImage:ce,generatePdf:ue,generateCsv:ye,toggleAnnotator:re,toggleTable:pe}),(o,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ridgelineChart",ref:a,class:e.normalizeClass(`vue-ui-ridgeline ${R.value?"vue-data-ui-wrapper-fullscreen":""}`),id:`vue-ui-ridgeline_${p.value}`,style:e.normalizeStyle({fontFamily:t.value.style.fontFamily,width:"100%",textAlign:"center",background:t.value.style.chart.backgroundColor,height:t.value.responsive?"100%":void 0}),onMouseenter:s[4]||(s[4]=()=>e.unref(I)(!0)),onMouseleave:s[5]||(s[5]=()=>e.unref(I)(!1))},[t.value.userOptions.buttons.annotator&&e.unref(te)?(e.openBlock(),e.createBlock(Qe._sfc_main,{key:0,color:t.value.style.chart.color,backgroundColor:t.value.style.chart.backgroundColor,active:J.value,svgRef:e.unref(te),onClose:re},null,8,["color","backgroundColor","active","svgRef"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"userConfig",{},void 0,!0),Se.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:D,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:Y,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(tt._sfc_main,{key:`title_${A.value}`,config:{title:{cy:"ridgeline-div-title",...t.value.style.chart.title},subtitle:{cy:"ridgeline-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&b.value&&(e.unref(ne)||e.unref(X))?(e.openBlock(),e.createBlock(we.UserOptions,{ref:"details",key:`user_option_${E.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(se),isImaging:e.unref(ie),uid:p.value,hasTooltip:!1,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasLabel:!1,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:R.value,chartElement:a.value,position:t.value.userOptions.position,isTooltip:!1,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:J.value,style:e.normalizeStyle({visibility:e.unref(ne)?e.unref(X)?"visible":"hidden":"visible"}),onToggleFullscreen:_e,onGeneratePdf:e.unref(ue),onGenerateCsv:ye,onGenerateImage:e.unref(ce),onToggleTable:pe,onToggleAnnotator:re},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:n})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:n})),void 0,!0)]),key:"0"}:void 0,o.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:n})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:n})),void 0,!0)]),key:"6"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:n})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:n})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","chartElement","position","titles","hasAnnotator","isAnnotation","style","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:te,xmlns:e.unref(u.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":R.value,"vue-data-ui-fulscreen--off":!R.value}),viewBox:`0 0 ${m.value.width<=0?10:m.value.width} ${k.value.fullHeight<=0?10:k.value.fullHeight}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color};${t.value.responsive?`height: ${v.value}px; width: 100%;`:""}`)},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(G.value,(l,n)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`gradient-${l.id}-${p.value}`,x1:"50%",y1:"0%",x2:"50%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":l.color,"stop-opacity":"1"},null,8,dt),e.createElementVNode("stop",{offset:"30%","stop-color":l.color,"stop-opacity":"0.7"},null,8,ht),e.createElementVNode("stop",{offset:"70%","stop-color":l.color,"stop-opacity":"0.3"},null,8,vt),e.createElementVNode("stop",{offset:"100%","stop-color":l.color,"stop-opacity":"0.1"},null,8,mt)],8,ct))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,(l,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.datapoints,(r,c)=>(e.openBlock(),e.createElementBlock("linearGradient",{key:`grad${r.id}`,id:`gradient-single-${p.value}-${r.uid}`,x1:"50%",y1:"0%",x2:"50%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":r.color,"stop-opacity":"1"},null,8,pt),e.createElementVNode("stop",{offset:"30%","stop-color":r.color,"stop-opacity":"0.7"},null,8,gt),e.createElementVNode("stop",{offset:"70%","stop-color":r.color,"stop-opacity":"0.3"},null,8,yt),e.createElementVNode("stop",{offset:"100%","stop-color":r.color,"stop-opacity":"0.1"},null,8,kt)],8,ft))),128))],64))),256))]),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",xt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(G.value,(l,n)=>(e.openBlock(),e.createElementBlock("defs",null,[e.renderSlot(o.$slots,"pattern",e.mergeProps({ref_for:!0},{variable:l,patternId:`pattern_${p.value}_${n}`}),void 0,!0)]))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,(l,n)=>(e.openBlock(),e.createElementBlock("g",{key:`ds-${n}`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.datapoints,(r,c)=>(e.openBlock(),e.createElementBlock("g",{key:r.id},[e.createElementVNode("path",{fill:t.value.style.chart.backgroundColor,stroke:"none","stroke-linecap":"round",d:t.value.style.chart.areas.smooth?r.smoothPath:r.straightPath,style:e.normalizeStyle({opacity:t.value.style.chart.areas.opacity})},null,12,bt),e.createElementVNode("path",{fill:t.value.style.chart.areas.useCommonColor?`url(#gradient-${r.id}-${p.value})`:`url(#gradient-single-${p.value}-${r.uid})`,stroke:t.value.style.chart.areas.stroke.useSerieColor?r.color:t.value.style.chart.areas.stroke.color,"stroke-width":t.value.style.chart.areas.strokeWidth,d:t.value.style.chart.areas.smooth?r.smoothPath:r.straightPath,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,wt),e.createElementVNode("path",{stroke:t.value.style.chart.zeroLine.useSerieColor?r.color:t.value.style.chart.zeroLine.stroke,"stroke-dasharray":t.value.style.chart.zeroLine.strokeDasharray,"stroke-width":t.value.style.chart.zeroLine.strokeWidth,d:r.zeroPath,"stroke-linecap":"round"},null,8,Ct),t.value.style.chart.areas.maxPoint.show&&r.plots.length>1?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.plots,x=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[x.isMaxPoint?(e.openBlock(),e.createElementBlock("line",{key:0,x1:x.x,y1:x.y,x2:x.x,y2:x.zero,stroke:t.value.style.chart.areas.maxPoint.adaptStrokeToBackground?e.unref(u.adaptColorToBackground)(r.color):t.value.style.chart.areas.maxPoint.stroke,"stroke-width":t.value.style.chart.areas.maxPoint.strokeWidth,"stroke-linecap":"round","stroke-dasharray":t.value.style.chart.areas.maxPoint.strokeDasharray},null,8,Bt)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0),r.plots.length===1?(e.openBlock(),e.createElementBlock("circle",{key:1,cx:r.plots[0].x,cy:r.plots[0].y,stroke:t.value.style.chart.selector.dot.stroke,"stroke-width":t.value.style.chart.selector.dot.strokeWidth,r:t.value.style.chart.selector.dot.radius,fill:t.value.style.chart.selector.dot.useDatapointColor?r.color:t.value.style.chart.selector.dot.fill,style:{pointerEvents:"none"}},null,8,Et)):e.createCommentVNode("",!0)]))),128)),e.createElementVNode("text",{x:l.label.x,y:l.label.y,"text-anchor":"end","font-size":t.value.style.chart.yAxis.labels.fontSize,"font-weight":t.value.style.chart.yAxis.labels.bold?"bold":"normal",fill:t.value.style.chart.yAxis.labels.color,style:e.normalizeStyle({cursor:t.value.style.chart.dialog.show?"pointer":"default"}),"text-decoration":t.value.style.chart.dialog.show&&(ae.value===n||i.value&&l.uid===i.value.uid)?"underline":"",onMouseenter:r=>Te(n),onMouseleave:Pe,onClick:r=>Ve(l)},e.toDisplayString(l.name),45,St)]))),128)),t.value.style.chart.xAxis.labels.values.length?(e.openBlock(),e.createElementBlock("g",$t,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(l,n)=>e.renderSlot(o.$slots,"time-label",e.mergeProps({ref_for:!0},{show:l&&!t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&!t.value.style.chart.xAxis.labels.showOnlyAtModulo||l&&t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&(n===0||n===T.value.length-1)||l&&h.value&&h.value.index===n||l&&!t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&t.value.style.chart.xAxis.labels.showOnlyAtModulo&&n%Math.floor(T.value.length/t.value.style.chart.xAxis.labels.modulo)===0,fontSize:t.value.style.chart.xAxis.labels.fontSize,content:l.label,textAnchor:t.value.style.chart.xAxis.labels.rotation>0?"start":t.value.style.chart.xAxis.labels.rotation<0?"end":"middle",fill:t.value.style.chart.xAxis.labels.color,transform:`translate(${l.selectorX}, ${k.value.top+l.height+t.value.style.chart.xAxis.labels.offsetY}), rotate(${t.value.style.chart.xAxis.labels.rotation})`,x:l.selectorX,y:k.value.top+l.height+t.value.style.chart.xAxis.labels.offsetY}),()=>[l&&!t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&!t.value.style.chart.xAxis.labels.showOnlyAtModulo||l&&t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&(n===0||n===T.value.length-1)||l&&h.value&&h.value.index===n||l&&!t.value.style.chart.xAxis.labels.showOnlyFirstAndLast&&t.value.style.chart.xAxis.labels.showOnlyAtModulo&&n%Math.floor(T.value.length/t.value.style.chart.xAxis.labels.modulo)===0?(e.openBlock(),e.createElementBlock("text",{key:0,"font-size":t.value.style.chart.xAxis.labels.fontSize,fill:t.value.style.chart.xAxis.labels.color,"font-weight":t.value.style.chart.xAxis.labels.bold?"bold":"normal",transform:`translate(${l.selectorX}, ${k.value.top+l.height+t.value.style.chart.xAxis.labels.offsetY}), rotate(${t.value.style.chart.xAxis.labels.rotation})`,"text-anchor":t.value.style.chart.xAxis.labels.rotation>0?"start":t.value.style.chart.xAxis.labels.rotation<0?"end":"middle",style:e.normalizeStyle({opacity:h.value?h.value.index===n?1:.2:1})},e.toDisplayString(l.label),13,At)):e.createCommentVNode("",!0)],!0)),256))])):e.createCommentVNode("",!0),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(l,n)=>(e.openBlock(),e.createElementBlock("rect",{x:l.x,y:l.y,width:l.width<0?.1:l.width,height:l.height<0?.1:l.height,fill:"transparent",onMouseenter:r=>h.value=l,onMouseleave:s[0]||(s[0]=r=>h.value=null),onClick:()=>Ae(l)},null,40,Nt))),256)),t.value.style.chart.selector.show&&h.value?(e.openBlock(),e.createElementBlock("line",{key:0,x1:h.value.selectorX,x2:h.value.selectorX,y1:h.value.y,y2:h.value.y+h.value.height-y.value/2,stroke:t.value.style.chart.selector.stroke,"stroke-width":t.value.style.chart.selector.strokeWidth,"stroke-dasharray":t.value.style.chart.selector.strokeDasharray,"stroke-linecap":"round",style:{pointerEvents:"none"}},null,8,zt)):e.createCommentVNode("",!0),h.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(P.value,l=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.datapoints,n=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.plots,(r,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[h.value&&h.value.index===c?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:r.x,cy:r.y,stroke:t.value.style.chart.selector.dot.stroke,"stroke-width":t.value.style.chart.selector.dot.strokeWidth,r:t.value.style.chart.selector.dot.radius,fill:t.value.style.chart.selector.dot.useDatapointColor?n.color:t.value.style.chart.selector.dot.fill,style:{pointerEvents:"none"}},null,8,Lt)):e.createCommentVNode("",!0),h.value&&h.value.index===c?(e.openBlock(),e.createElementBlock("text",{key:1,x:ve(r.x,e.unref(u.applyDataLabel)(t.value.style.chart.selector.labels.formatter,r.value,e.unref(u.dataLabel)({p:t.value.style.chart.xAxis.labels.prefix,v:r.value,s:t.value.style.chart.xAxis.labels.suffix,r:t.value.style.chart.selector.labels.rounding})),t.value.style.chart.selector.labels.fontSize)?r.x-t.value.style.chart.selector.labels.fontSize/2:r.x+t.value.style.chart.selector.labels.fontSize/2,y:r.y+t.value.style.chart.selector.labels.fontSize/3,"text-anchor":ve(r.x,e.unref(u.applyDataLabel)(t.value.style.chart.selector.labels.formatter,r.value,e.unref(u.dataLabel)({p:t.value.style.chart.xAxis.labels.prefix,v:r.value,s:t.value.style.chart.xAxis.labels.suffix,r:t.value.style.chart.selector.labels.rounding})),t.value.style.chart.selector.labels.fontSize)?"end":"start","font-size":t.value.style.chart.selector.labels.fontSize,fill:t.value.style.chart.selector.labels.color,style:{pointerEvents:"none"}},e.toDisplayString(e.unref(u.applyDataLabel)(t.value.style.chart.selector.labels.formatter,r.value,e.unref(u.dataLabel)({p:t.value.style.chart.xAxis.labels.prefix,v:r.value,s:t.value.style.chart.xAxis.labels.suffix,r:t.value.style.chart.selector.labels.rounding}))),9,Mt)):e.createCommentVNode("",!0)],64))),256))],64))),256))],64))),256)):e.createCommentVNode("",!0)]),e.renderSlot(o.$slots,"svg",{svg:m.value},void 0,!0)],14,ut)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",_t,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(se)||e.unref(ie)})),void 0,!0)])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(et.default,{key:6,config:{type:"ridgeline",style:{backgroundColor:t.value.style.chart.backgroundColor,ridgeline:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:O},[t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Ke.Legend,{key:`legend_${F.value}`,legendSet:G.value,config:Me.value,onClickMarker:s[1]||(s[1]=({legend:l})=>de(l.id))},e.createSlots({item:e.withCtx(({legend:l})=>[e.createElementVNode("div",{style:e.normalizeStyle(`opacity:${S.value.includes(l.id)?.5:1}`),onClick:n=>l.segregate()},e.toDisplayString(l.name),13,Vt)]),_:2},[o.$slots.pattern?{name:"legend-pattern",fn:e.withCtx(({legend:l,index:n})=>[e.createVNode(Ze._sfc_main,{shape:l.shape,radius:30,stroke:"none",plot:{x:30,y:30},fill:`url(#pattern_${p.value}_${n})`},null,8,["shape","fill"])]),key:"0"}:void 0]),1032,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"legend",{legend:G.value},void 0,!0)],512),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:C,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createBlock(je.default,{key:8,hideDetails:"",config:{open:H.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Je.DataTable,{key:`table_${N.value}`,colNames:K.value.colNames,head:K.value.head,body:K.value.body,config:K.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` :${t.value.style.chart.title.subtitle.text}`:""}`,onClose:s[2]||(s[2]=l=>H.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l},null,8,Tt)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name?l.name:e.unref(u.applyDataLabel)(t.value.style.chart.selector.labels.formatter,l,e.unref(u.dataLabel)({p:t.value.style.chart.xAxis.labels.prefix,v:l,s:t.value.style.chart.xAxis.labels.suffix,r:t.value.table.td.roundingValue}))),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0),t.value.style.chart.dialog.show?(e.openBlock(),e.createBlock(st,{key:9,ref_key:"dialog",ref:d,onClose:s[3]||(s[3]=l=>i.value=null),backgroundColor:t.value.style.chart.dialog.backgroundColor,color:t.value.style.chart.dialog.color,headerBg:t.value.style.chart.dialog.header.backgroundColor,headerColor:t.value.style.chart.dialog.header.color},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value.name),1)]),default:e.withCtx(()=>[i.value?(e.openBlock(),e.createBlock(lt.default,{key:0,config:me.value,dataset:fe.value},null,8,["config","dataset"])):e.createCommentVNode("",!0)]),_:1},8,["backgroundColor","color","headerBg","headerColor"])):e.createCommentVNode("",!0)],46,it))}},Ot=Ee._export_sfc(Pt,[["__scopeId","data-v-31f97bbc"]]);exports.default=Ot;
|