vue-data-ui 2.4.7 → 2.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/README.md +11 -10
  2. package/dist/{Arrow-Ds1Mhkkt.cjs → Arrow-CyaIC3_N.cjs} +1 -1
  3. package/dist/{Arrow-BCeetU2P.js → Arrow-csGlRFph.js} +1 -1
  4. package/dist/{BaseIcon-Icg3SIlH.js → BaseIcon-C4xMR9-8.js} +1 -1
  5. package/dist/{BaseIcon-C31iTAGj.cjs → BaseIcon-fwPMcivX.cjs} +1 -1
  6. package/dist/{DataTable-CnLqhXZ2.js → DataTable-BlGRB1Pa.js} +2 -2
  7. package/dist/{DataTable-CqaGqXkz.cjs → DataTable-CxaymjxX.cjs} +1 -1
  8. package/dist/{Legend-D2iK-_M0.cjs → Legend-Ds7yCP4e.cjs} +1 -1
  9. package/dist/{Legend-8QHo6cZQ.js → Legend-xj_UZPuw.js} +1 -1
  10. package/dist/{PackageVersion-Bw7N_9KM.js → PackageVersion-Crfv987V.js} +1 -1
  11. package/dist/{PackageVersion-DjuywB0J.cjs → PackageVersion-DgPnBWYN.cjs} +1 -1
  12. package/dist/{PenAndPaper-BiWc81tP.js → PenAndPaper-D8QdkfKM.js} +18 -18
  13. package/dist/{PenAndPaper-DoKpW2Tl.cjs → PenAndPaper-vKdCNpVJ.cjs} +1 -1
  14. package/dist/{Shape-CppjH62a.js → Shape-DNQDrxfn.js} +1 -1
  15. package/dist/{Shape-BfZLKYNk.cjs → Shape-M9CIgwzd.cjs} +1 -1
  16. package/dist/{Slicer-U4q5iMIE.cjs → Slicer-BMIoaXrp.cjs} +1 -1
  17. package/dist/{Slicer-CA5jR9Em.js → Slicer-BtiO3aSt.js} +2 -2
  18. package/dist/{Title-aR9ViX_A.cjs → Title-BqcJ8-j1.cjs} +1 -1
  19. package/dist/{Title-yJsQ5q-l.js → Title-CoonHZp1.js} +1 -1
  20. package/dist/Tooltip-DSZJXOZo.cjs +1 -0
  21. package/dist/Tooltip-WJvwo3eC.js +109 -0
  22. package/dist/documentation/installation.md +10 -10
  23. package/dist/{index-Cn1EWnYG.js → index-Qst-5kz0.js} +66 -63
  24. package/dist/index-uTaoMjg1.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +3 -0
  27. package/dist/types/vue-data-ui.d.ts +3 -0
  28. package/dist/{useNestedProp-BXn-g9sr.js → useNestedProp-D3SUMrZY.js} +1 -1
  29. package/dist/{useNestedProp-DxZ05ZEt.cjs → useNestedProp-P8wzQfmW.cjs} +1 -1
  30. package/dist/{usePrinter-B3HaYNI4.cjs → usePrinter-DGnyAFMM.cjs} +1 -1
  31. package/dist/{usePrinter-ZkzmtO6K.js → usePrinter-srpiqIq8.js} +1 -1
  32. package/dist/{vue-data-ui-DfGCpkA8.js → vue-data-ui-BWV0_3wY.js} +58 -58
  33. package/dist/{vue-data-ui-Bn_29KuS.cjs → vue-data-ui-vuDWhbxy.cjs} +1 -1
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-CERRaGHQ.cjs → vue-ui-3d-bar-DXXySQ7-.cjs} +1 -1
  37. package/dist/{vue-ui-3d-bar-Cz7ZSFFf.js → vue-ui-3d-bar-nqIMKDVC.js} +9 -9
  38. package/dist/{vue-ui-accordion-UADqAdVj.js → vue-ui-accordion-CHl3zwsU.js} +3 -3
  39. package/dist/{vue-ui-accordion-kQwtYRmD.cjs → vue-ui-accordion-D88l7NVk.cjs} +1 -1
  40. package/dist/{vue-ui-age-pyramid-DhGijqy5.js → vue-ui-age-pyramid-Cm9zRjyB.js} +10 -10
  41. package/dist/{vue-ui-age-pyramid-Rfk1WUfJ.cjs → vue-ui-age-pyramid-DlRVNxj5.cjs} +1 -1
  42. package/dist/{vue-ui-annotator-BdAFNoMu.cjs → vue-ui-annotator-BaLbEuPn.cjs} +1 -1
  43. package/dist/{vue-ui-annotator-CCgDEOdY.js → vue-ui-annotator-BcZwMf4k.js} +1 -1
  44. package/dist/{vue-ui-bullet-Bkx9sfrv.cjs → vue-ui-bullet-DZ3ISzEy.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-CSVuqhhg.js → vue-ui-bullet-DfIZfg_U.js} +8 -8
  46. package/dist/{vue-ui-candlestick-CuNi5UZ7.cjs → vue-ui-candlestick-CjSR_UwH.cjs} +1 -1
  47. package/dist/{vue-ui-candlestick-D0RfMi-W.js → vue-ui-candlestick-CrKXtUTA.js} +11 -11
  48. package/dist/{vue-ui-carousel-table-Dch3TChE.cjs → vue-ui-carousel-table-DSYgD9k3.cjs} +1 -1
  49. package/dist/{vue-ui-carousel-table-DeY0f9Ba.js → vue-ui-carousel-table-RTzJDG_m.js} +4 -4
  50. package/dist/{vue-ui-chestnut-bqu8whHd.cjs → vue-ui-chestnut-C-P3GVoT.cjs} +1 -1
  51. package/dist/{vue-ui-chestnut-B2Gio3KC.js → vue-ui-chestnut-DvGUaaag.js} +8 -8
  52. package/dist/{vue-ui-cursor-BlW4uLBm.js → vue-ui-cursor-CURrSWJH.js} +2 -2
  53. package/dist/{vue-ui-cursor-Dnv5a5oy.cjs → vue-ui-cursor-u0uJ1nPk.cjs} +1 -1
  54. package/dist/{vue-ui-dashboard-DCaNJXOd.js → vue-ui-dashboard-D5UQ9d4W.js} +2 -2
  55. package/dist/{vue-ui-dashboard-De5_U4a9.cjs → vue-ui-dashboard-DJSg-19y.cjs} +1 -1
  56. package/dist/{vue-ui-digits-DlteJApK.js → vue-ui-digits-BESFcIu-.js} +2 -2
  57. package/dist/{vue-ui-digits-Dc0L7473.cjs → vue-ui-digits-OdhKcT0Z.cjs} +1 -1
  58. package/dist/{vue-ui-donut-CBTZK6YJ.cjs → vue-ui-donut-D1JD2JpW.cjs} +1 -1
  59. package/dist/{vue-ui-donut-6Vh9u3Xp.js → vue-ui-donut-eLSljaMD.js} +11 -11
  60. package/dist/{vue-ui-donut-evolution-CmgjvLvu.cjs → vue-ui-donut-evolution-C5IpwddH.cjs} +1 -1
  61. package/dist/{vue-ui-donut-evolution-gQyMiCiu.js → vue-ui-donut-evolution-nogin4DH.js} +11 -11
  62. package/dist/{vue-ui-dumbbell-ByhSaE6s.cjs → vue-ui-dumbbell-BHd8UFZA.cjs} +1 -1
  63. package/dist/{vue-ui-dumbbell-C4xg1FG4.js → vue-ui-dumbbell-D1g4t_ba.js} +10 -10
  64. package/dist/{vue-ui-flow-DYF0P7LD.js → vue-ui-flow-CQ4ZPEf9.js} +9 -9
  65. package/dist/{vue-ui-flow-Bef5hCwj.cjs → vue-ui-flow-Cbo8koaf.cjs} +1 -1
  66. package/dist/{vue-ui-galaxy-COY_QSwC.cjs → vue-ui-galaxy-CwqWivy9.cjs} +1 -1
  67. package/dist/{vue-ui-galaxy-aM8uOGRD.js → vue-ui-galaxy-cJyFGSj3.js} +11 -11
  68. package/dist/{vue-ui-gauge-qYg_QM-A.js → vue-ui-gauge-BJ73VPHK.js} +7 -7
  69. package/dist/{vue-ui-gauge-CW8ZpODM.cjs → vue-ui-gauge-BjlSrIzM.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-BZyOCD_y.js → vue-ui-gizmo-B0_McLBu.js} +3 -3
  71. package/dist/{vue-ui-gizmo-DgS57tJ2.cjs → vue-ui-gizmo-LKVdd220.cjs} +1 -1
  72. package/dist/{vue-ui-heatmap-BfJGluVp.js → vue-ui-heatmap-B_p_NA69.js} +10 -10
  73. package/dist/{vue-ui-heatmap-Czg21edC.cjs → vue-ui-heatmap-CMwpGcs-.cjs} +1 -1
  74. package/dist/{vue-ui-kpi-C5ISBjIs.js → vue-ui-kpi-BTjso80e.js} +3 -3
  75. package/dist/{vue-ui-kpi-DQpkO2MX.cjs → vue-ui-kpi-JdTRJHRm.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-BiaLLW3x.js → vue-ui-mini-loader-CaQfIaet.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-Db5Khvfw.cjs → vue-ui-mini-loader-DzPmmR1Y.cjs} +1 -1
  78. package/dist/{vue-ui-molecule-fmAXI5nL.js → vue-ui-molecule-fG82cUkT.js} +11 -11
  79. package/dist/{vue-ui-molecule-4AXvVmWt.cjs → vue-ui-molecule-j_a9VBda.cjs} +1 -1
  80. package/dist/{vue-ui-mood-radar-BzfFikJv.cjs → vue-ui-mood-radar-DKVd8LUE.cjs} +1 -1
  81. package/dist/{vue-ui-mood-radar-CVLad_RZ.js → vue-ui-mood-radar-Up3yenwX.js} +11 -11
  82. package/dist/{vue-ui-nested-donuts-BP0qdKto.cjs → vue-ui-nested-donuts-B7hiJJ1U.cjs} +1 -1
  83. package/dist/{vue-ui-nested-donuts-7VePVE4W.js → vue-ui-nested-donuts-JT8N_ith.js} +11 -11
  84. package/dist/{vue-ui-onion-tzmb3ARN.cjs → vue-ui-onion-CIWDaVKe.cjs} +1 -1
  85. package/dist/{vue-ui-onion-LCcrKbXJ.js → vue-ui-onion-CWJlmMOv.js} +11 -11
  86. package/dist/{vue-ui-parallel-coordinate-plot-Dgu-tY5L.cjs → vue-ui-parallel-coordinate-plot-BPmehEq0.cjs} +1 -1
  87. package/dist/{vue-ui-parallel-coordinate-plot-D0Xxq5a9.js → vue-ui-parallel-coordinate-plot-BdS7FR9e.js} +12 -12
  88. package/dist/{vue-ui-quadrant-DkOZbxio.cjs → vue-ui-quadrant-Bj0_m09T.cjs} +1 -1
  89. package/dist/{vue-ui-quadrant-D_e1Knsr.js → vue-ui-quadrant-DNSSfYxO.js} +12 -12
  90. package/dist/{vue-ui-quick-chart-Brzheuk8.cjs → vue-ui-quick-chart-CaePwM8z.cjs} +1 -1
  91. package/dist/{vue-ui-quick-chart-CIm7vclU.js → vue-ui-quick-chart-DdHb8oXV.js} +9 -9
  92. package/dist/{vue-ui-radar-DoNZ8Qv9.cjs → vue-ui-radar-B3kRIdyQ.cjs} +1 -1
  93. package/dist/{vue-ui-radar-Cx_w_viT.js → vue-ui-radar-BLaCDKDI.js} +12 -12
  94. package/dist/{vue-ui-rating-B4zDVBEd.cjs → vue-ui-rating-6murOKLs.cjs} +1 -1
  95. package/dist/{vue-ui-rating-NRP3A0oA.js → vue-ui-rating-ZTFd5PY9.js} +2 -2
  96. package/dist/{vue-ui-relation-circle-C4LKLsEz.js → vue-ui-relation-circle-8HwwVi9V.js} +7 -7
  97. package/dist/{vue-ui-relation-circle-Cuk4LDJo.cjs → vue-ui-relation-circle-dng0Wo7U.cjs} +1 -1
  98. package/dist/{vue-ui-rings-DXawhL1m.js → vue-ui-rings-Bg-gI2AV.js} +11 -11
  99. package/dist/{vue-ui-rings-D6Rs1eq0.cjs → vue-ui-rings-cJg30GML.cjs} +1 -1
  100. package/dist/{vue-ui-scatter-8EzIXx2n.js → vue-ui-scatter-BbGF7Kqu.js} +12 -12
  101. package/dist/{vue-ui-scatter-DlfZqYP9.cjs → vue-ui-scatter-mE1PRE_c.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-Wwmw7VVM.js → vue-ui-screenshot-8L5oXuB8.js} +1 -1
  103. package/dist/{vue-ui-screenshot-Dt0UpXVm.cjs → vue-ui-screenshot-BDncUrRv.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-D3AGluiW.js → vue-ui-skeleton-3V3a9YDD.js} +3 -3
  105. package/dist/{vue-ui-skeleton-Si57O3af.cjs → vue-ui-skeleton-B9HVcMQ5.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-UxTt4IMY.cjs → vue-ui-smiley-D0cPnUvD.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-CRddsfyu.js → vue-ui-smiley-bfJp-uDp.js} +2 -2
  108. package/dist/{vue-ui-spark-trend-Cgr4pAvU.js → vue-ui-spark-trend-CUiHyXEy.js} +5 -5
  109. package/dist/{vue-ui-spark-trend-tMuRiISe.cjs → vue-ui-spark-trend-QESJyQLY.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-B6TEBbyt.js → vue-ui-sparkbar-DQ6xAWCW.js} +4 -4
  111. package/dist/{vue-ui-sparkbar-BZVjpA5h.cjs → vue-ui-sparkbar-LgONGPmJ.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-P5fVXRT8.js → vue-ui-sparkgauge-C71yrtal.js} +4 -4
  113. package/dist/{vue-ui-sparkgauge-B9P3ngyj.cjs → vue-ui-sparkgauge-Ebcv5WPF.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-BSQsOim4.cjs → vue-ui-sparkhistogram-DR5bbtjv.cjs} +1 -1
  115. package/dist/{vue-ui-sparkhistogram-vlWx_CFP.js → vue-ui-sparkhistogram-DV9-qngy.js} +5 -5
  116. package/dist/{vue-ui-sparkline-B1UrThV_.js → vue-ui-sparkline-BUQwEBGh.js} +4 -4
  117. package/dist/{vue-ui-sparkline-5FsmrmmU.cjs → vue-ui-sparkline-CFApZqM6.cjs} +1 -1
  118. package/dist/vue-ui-sparkstackbar-CWfd4U7P.cjs +1 -0
  119. package/dist/vue-ui-sparkstackbar-Dy8NuRTo.js +374 -0
  120. package/dist/{vue-ui-stackbar-BpFxY9uX.cjs → vue-ui-stackbar-B8k4q2Ci.cjs} +1 -1
  121. package/dist/{vue-ui-stackbar-DhnCj5jR.js → vue-ui-stackbar-Dm3TUSfv.js} +12 -12
  122. package/dist/{vue-ui-strip-plot-CutPMUb1.js → vue-ui-strip-plot-AZWlE4bf.js} +11 -11
  123. package/dist/{vue-ui-strip-plot-DnFquLCu.cjs → vue-ui-strip-plot-BGIlRwxX.cjs} +1 -1
  124. package/dist/{vue-ui-table-CUtRHuc4.cjs → vue-ui-table-D07ATtZj.cjs} +1 -1
  125. package/dist/{vue-ui-table-heatmap-DS2cSiGt.cjs → vue-ui-table-heatmap-Cga1jg-5.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-DyGuk9kw.js → vue-ui-table-heatmap-DIYuyeya.js} +4 -4
  127. package/dist/{vue-ui-table-Cx0eqrK_.js → vue-ui-table-j1JKMJlY.js} +1 -1
  128. package/dist/{vue-ui-table-sparkline-C1ril5t8.cjs → vue-ui-table-sparkline-BCtjl04c.cjs} +1 -1
  129. package/dist/{vue-ui-table-sparkline--Ekk_QoU.js → vue-ui-table-sparkline-Bs68Kr3b.js} +5 -5
  130. package/dist/{vue-ui-thermometer-Dr6_S2Qz.cjs → vue-ui-thermometer-B-bVUAFf.cjs} +1 -1
  131. package/dist/{vue-ui-thermometer-Dz_xaxCt.js → vue-ui-thermometer-XragDhm1.js} +7 -7
  132. package/dist/{vue-ui-timer-DRdgSmMv.js → vue-ui-timer-CD6NO3sW.js} +5 -5
  133. package/dist/{vue-ui-timer-BkmRYrPn.cjs → vue-ui-timer-CzKkkrH7.cjs} +1 -1
  134. package/dist/{vue-ui-tiremarks-BwVRnR-c.cjs → vue-ui-tiremarks-B2nQDIj-.cjs} +1 -1
  135. package/dist/{vue-ui-tiremarks-XuaMScx0.js → vue-ui-tiremarks-CgFVKqyp.js} +7 -7
  136. package/dist/{vue-ui-treemap-yUQZvXta.cjs → vue-ui-treemap-FK55MDjM.cjs} +1 -1
  137. package/dist/{vue-ui-treemap-D8HfM8ny.js → vue-ui-treemap-gj4510HN.js} +11 -11
  138. package/dist/{vue-ui-vertical-bar-DpaRYTVo.cjs → vue-ui-vertical-bar-BFtin4EH.cjs} +1 -1
  139. package/dist/{vue-ui-vertical-bar-BcWnPMjH.js → vue-ui-vertical-bar-iEd5iot7.js} +11 -11
  140. package/dist/{vue-ui-waffle-uur49hDo.cjs → vue-ui-waffle-DcsTaFaS.cjs} +1 -1
  141. package/dist/{vue-ui-waffle-sLIM61xh.js → vue-ui-waffle-XLMUuduF.js} +11 -11
  142. package/dist/{vue-ui-wheel-CJBuFjJt.cjs → vue-ui-wheel-BuLz0PvU.cjs} +1 -1
  143. package/dist/{vue-ui-wheel-D3Pfhpbe.js → vue-ui-wheel-DvNNNUNo.js} +7 -7
  144. package/dist/{vue-ui-word-cloud-Dhz-n0_M.cjs → vue-ui-word-cloud-Cs6kdOG-.cjs} +1 -1
  145. package/dist/{vue-ui-word-cloud-DhC8SN1l.js → vue-ui-word-cloud-IMAaNlwt.js} +10 -10
  146. package/dist/{vue-ui-xy-D7nWzSu1.js → vue-ui-xy-Dc67UrQD.js} +14 -14
  147. package/dist/{vue-ui-xy-Cn-JnSRl.cjs → vue-ui-xy-DvgA1d7k.cjs} +1 -1
  148. package/dist/{vue-ui-xy-canvas-DWZRAtDJ.js → vue-ui-xy-canvas-CMQ_w0PG.js} +11 -11
  149. package/dist/{vue-ui-xy-canvas-BI5nAbis.cjs → vue-ui-xy-canvas-CzydPKZG.cjs} +1 -1
  150. package/package.json +1 -1
  151. package/dist/Tooltip-CN6_JyjT.cjs +0 -1
  152. package/dist/Tooltip-klg8yuWM.js +0 -104
  153. package/dist/index-Ci5MafHS.cjs +0 -9
  154. package/dist/vue-ui-sparkstackbar-BzrHl4LW.js +0 -290
  155. package/dist/vue-ui-sparkstackbar-CEXgwtwV.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),O=require("./BaseIcon-C31iTAGj.cjs"),C=require("./useResponsive-BJ7DTGpm.cjs"),v=require("./index-Ci5MafHS.cjs"),T=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w=l=>(e.pushScopeId("data-v-c184b7d6"),l=l(),e.popScopeId(),l),U={"data-html2canvas-ignore":"",style:{padding:"0 24px"}},W={class:"vue-data-ui-slicer-labels",style:{position:"relative","z-index":"1","pointer-events":"none"}},j={key:0,style:{width:"100%",position:"relative"}},X={key:0,class:"minimap",style:{width:"100%"}},Z=["xmlns","viewBox"],_=["id"],G=["stop-color"],H=w(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"transparent"},null,-1)),J=["d","stroke"],K=["x","width","height","fill","rx"],Q=["d","fill"],Y=["x","width","height","rx","fill"],ee=["x","width","height","fill","rx"],te=["d","fill"],le=["d","stroke"],ae=["cx","cy","stroke","fill"],ne=["cx","cy","stroke","fill"],oe=["x1","x2","y2","stroke"],ie=["x","height","width","onMouseenter"],re=w(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),ue=["min","max"],se=["min","max"],ce={__name:"Slicer",props:{background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},fontSize:{type:Number,default:14},labelLeft:{type:String,default:""},labelRight:{type:String,default:""},textColor:{type:String,default:"#1A1A1A"},inputColor:{type:String,default:"#1A1A1A"},max:{type:Number,default:0},min:{type:Number,default:0},selectColor:{type:String,default:"#4A4A4A"},useResetSlot:{type:Boolean,default:!1},valueStart:{type:[Number,String],default:0},valueEnd:{type:[Number,String],default:0},minimap:{type:Array,default:[]},smoothMinimap:{type:Boolean,default:!1},minimapSelectedColor:{type:String,default:"#1f77b4"},minimapSelectionRadius:{type:Number,default:12},minimapLineColor:{type:String,default:"#2D353C"},minimapSelectedColorOpacity:{type:Number,default:.2},minimapSelectedIndex:{type:Number,default:null},minimapIndicatorColor:{type:String,default:"#2D353C"}},emits:["update:start","update:end","reset","trapMouse"],setup(l,{emit:h}){const t=l;e.useCssVars(a=>({"74ec9808":$.value,"5d7f3c70":f.value,"2eaeb5e1":z.value,"3db47da0":l.selectColor,"2531182e":B.value}));const r=e.ref(t.min),u=e.ref(t.max),p=e.computed(()=>!!t.minimap.length),g=e.ref(v.createUid()),V=e.computed(()=>{const a=t.max-t.min,o=(r.value-t.min)/a*100,i=(u.value-t.min)/a*100;return{left:`${o}%`,width:`${i-o}%`,background:t.selectColor}}),$=e.computed(()=>t.inputColor),B=e.computed(()=>t.background),z=e.computed(()=>`${t.selectColor}33`),f=e.computed(()=>t.borderColor),k=e.computed(()=>{let a=[];for(let o=0;o<t.minimap.length;o+=1)a.push(o);return a});function N(){h("reset")}function L(){Number(r.value)>Number(u.value)-1&&(r.value=Number(u.value)-1),h("update:start",Number(r.value))}function M(){Number(u.value)<Number(r.value)+1&&(u.value=Number(r.value)+1),h("update:end",Number(u.value))}e.watch(()=>t.min,a=>{Number(r.value)<Number(a)&&(r.value=Number(a)),Number(u.value)<Number(a)&&(u.value=Number(a))}),e.watch(()=>t.max,a=>{Number(r.value)>Number(a)&&(r.value=Number(a)),Number(u.value)>Number(a)&&(u.value=Number(a))});const x=e.ref(null),n=e.ref({width:1,height:1}),E=e.ref(null);e.onMounted(()=>{if(p.value){const a=C.throttle(()=>{const{width:o,height:i}=C.useResponsive({chart:x.value});n.value.width=o,n.value.height=i-47});E.value=new ResizeObserver(a),E.value.observe(x.value)}});const s=e.computed(()=>t.minimap.length?n.value.width/t.minimap.length:0),c=e.computed(()=>{if(!t.minimap.length)return[];const a=Math.max(...t.minimap),o=Math.min(...t.minimap)-10,i=a-(o>0?0:o),d=t.minimap.map((A,q)=>{const D=A-o;return{x:n.value.width/t.minimap.length*q+s.value/2,y:n.value.height-D/i*(n.value.height*.9)}}),S=t.smoothMinimap?v.createSmoothPath(d):v.createStraightPath(d),b=[...d].slice(t.valueStart,t.valueEnd),R=t.smoothMinimap?v.createSmoothPath(b):v.createStraightPath(b);return{fullSet:S,selectionSet:R,sliced:b,firstPlot:d[t.valueStart],lastPlot:d[t.valueEnd-1]}}),m=e.computed(()=>({x:s.value*r.value+s.value/2,width:n.value.width*((u.value-r.value)/t.max)-s.value})),F=e.computed(()=>({left:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",pointerEvents:"none"})),I=e.computed(()=>({right:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",direction:"rtl",pointerEvents:"none"})),y=e.ref(t.minimapSelectedIndex);e.watch(()=>t.minimapSelectedIndex,a=>{y.value=a+t.valueStart},{immediate:!0});function P(a){y.value=a,a>=t.valueStart&&a<t.valueEnd&&h("trapMouse",a-t.valueStart)}return(a,o)=>(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("div",W,[l.valueStart>0||l.valueEnd<l.max?(e.openBlock(),e.createElementBlock("div",j,[l.useResetSlot?e.renderSlot(a.$slots,"reset-action",{key:1,reset:N},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",style:e.normalizeStyle({top:p.value?"36px":"-16px",pointerEvents:"all !important"}),onClick:N},[e.createVNode(O.default,{name:"refresh",stroke:l.textColor},null,8,["stroke"])],4))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"double-range-slider",ref_key:"minimapWrapper",ref:x,style:{"z-index":"0"}},[p.value?(e.openBlock(),e.createElementBlock("div",X,[(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(v.XMLNS),viewBox:`0 0 ${n.value.width<0?0:n.value.width} ${n.value.height<0?0:n.value.height}`},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:g.value,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${l.minimapLineColor}50`},null,8,G),H],8,_)]),e.createElementVNode("path",{d:`M${c.value.fullSet}`,stroke:`${l.minimapLineColor}`,fill:"none","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",style:{opacity:"1"}},null,8,J),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,fill:f.value,rx:l.minimapSelectionRadius,stroke:"none"},null,8,K),e.createElementVNode("path",{d:`M${s.value/2},${n.value.height} ${c.value.fullSet} L${n.value.width-s.value/2},${n.value.height}Z`,fill:`url(#${g.value})`,stroke:"none",style:{opacity:"1"}},null,8,Q),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,rx:l.minimapSelectionRadius,fill:f.value},null,8,Y),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,fill:l.minimapSelectedColor,rx:l.minimapSelectionRadius,style:e.normalizeStyle({opacity:l.minimapSelectedColorOpacity})},null,12,ee),e.createElementVNode("path",{d:`M${c.value.sliced[0].x},${n.value.height} ${c.value.selectionSet} L${c.value.sliced.at(-1).x},${n.value.height}Z`,fill:`url(#${g.value})`,stroke:"none",style:{opacity:"1"}},null,8,te),e.createElementVNode("path",{d:`M ${c.value.selectionSet}`,stroke:`${l.minimapLineColor}`,fill:"transparent","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,le),e.createElementVNode("circle",{cx:c.value.firstPlot.x,cy:c.value.firstPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:l.minimapLineColor},null,8,ae),e.createElementVNode("circle",{cx:c.value.lastPlot.x,cy:c.value.lastPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:l.minimapLineColor},null,8,ne),y.value!==null?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(k.value,(i,d)=>(e.openBlock(),e.createElementBlock("g",null,[y.value===i&&i>=l.valueStart&&i<l.valueEnd?(e.openBlock(),e.createElementBlock("line",{key:0,x1:s.value*d+s.value/2,x2:s.value*d+s.value/2,y1:0,y2:n.value.height,stroke:l.minimapIndicatorColor,"stroke-linecap":"round","stroke-dasharray":"2","stroke-width":"1"},null,8,oe)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,(i,d)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value*d,y:0,height:n.value.height,width:s.value,fill:"transparent",style:{"pointer-events":"all !important"},onMouseenter:S=>P(i),onMouseleave:o[0]||(o[0]=S=>{y.value=null,h("trapMouse",null)})},null,40,ie))),256))],8,Z))])):e.createCommentVNode("",!0),re,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(V.value)},null,4),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-left",min:l.min,max:l.max,"onUpdate:modelValue":o[1]||(o[1]=i=>r.value=i),onInput:L},null,40,ue),[[e.vModelText,r.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-left",style:e.normalizeStyle(F.value)},e.toDisplayString(l.labelLeft),5),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-right",min:l.min,max:l.max,"onUpdate:modelValue":o[2]||(o[2]=i=>u.value=i),onInput:M},null,40,se),[[e.vModelText,u.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-right",style:e.normalizeStyle(I.value)},e.toDisplayString(l.labelRight),5)],512)]))}},de=T._export_sfc(ce,[["__scopeId","data-v-c184b7d6"]]);exports.Slicer=de;
1
+ "use strict";const e=require("vue"),O=require("./BaseIcon-fwPMcivX.cjs"),C=require("./useResponsive-BJ7DTGpm.cjs"),v=require("./index-uTaoMjg1.cjs"),T=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w=l=>(e.pushScopeId("data-v-c184b7d6"),l=l(),e.popScopeId(),l),U={"data-html2canvas-ignore":"",style:{padding:"0 24px"}},W={class:"vue-data-ui-slicer-labels",style:{position:"relative","z-index":"1","pointer-events":"none"}},j={key:0,style:{width:"100%",position:"relative"}},X={key:0,class:"minimap",style:{width:"100%"}},Z=["xmlns","viewBox"],_=["id"],G=["stop-color"],H=w(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"transparent"},null,-1)),J=["d","stroke"],K=["x","width","height","fill","rx"],Q=["d","fill"],Y=["x","width","height","rx","fill"],ee=["x","width","height","fill","rx"],te=["d","fill"],le=["d","stroke"],ae=["cx","cy","stroke","fill"],ne=["cx","cy","stroke","fill"],oe=["x1","x2","y2","stroke"],ie=["x","height","width","onMouseenter"],re=w(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),ue=["min","max"],se=["min","max"],ce={__name:"Slicer",props:{background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},fontSize:{type:Number,default:14},labelLeft:{type:String,default:""},labelRight:{type:String,default:""},textColor:{type:String,default:"#1A1A1A"},inputColor:{type:String,default:"#1A1A1A"},max:{type:Number,default:0},min:{type:Number,default:0},selectColor:{type:String,default:"#4A4A4A"},useResetSlot:{type:Boolean,default:!1},valueStart:{type:[Number,String],default:0},valueEnd:{type:[Number,String],default:0},minimap:{type:Array,default:[]},smoothMinimap:{type:Boolean,default:!1},minimapSelectedColor:{type:String,default:"#1f77b4"},minimapSelectionRadius:{type:Number,default:12},minimapLineColor:{type:String,default:"#2D353C"},minimapSelectedColorOpacity:{type:Number,default:.2},minimapSelectedIndex:{type:Number,default:null},minimapIndicatorColor:{type:String,default:"#2D353C"}},emits:["update:start","update:end","reset","trapMouse"],setup(l,{emit:h}){const t=l;e.useCssVars(a=>({"74ec9808":$.value,"5d7f3c70":f.value,"2eaeb5e1":z.value,"3db47da0":l.selectColor,"2531182e":B.value}));const r=e.ref(t.min),u=e.ref(t.max),p=e.computed(()=>!!t.minimap.length),g=e.ref(v.createUid()),V=e.computed(()=>{const a=t.max-t.min,o=(r.value-t.min)/a*100,i=(u.value-t.min)/a*100;return{left:`${o}%`,width:`${i-o}%`,background:t.selectColor}}),$=e.computed(()=>t.inputColor),B=e.computed(()=>t.background),z=e.computed(()=>`${t.selectColor}33`),f=e.computed(()=>t.borderColor),k=e.computed(()=>{let a=[];for(let o=0;o<t.minimap.length;o+=1)a.push(o);return a});function N(){h("reset")}function L(){Number(r.value)>Number(u.value)-1&&(r.value=Number(u.value)-1),h("update:start",Number(r.value))}function M(){Number(u.value)<Number(r.value)+1&&(u.value=Number(r.value)+1),h("update:end",Number(u.value))}e.watch(()=>t.min,a=>{Number(r.value)<Number(a)&&(r.value=Number(a)),Number(u.value)<Number(a)&&(u.value=Number(a))}),e.watch(()=>t.max,a=>{Number(r.value)>Number(a)&&(r.value=Number(a)),Number(u.value)>Number(a)&&(u.value=Number(a))});const x=e.ref(null),n=e.ref({width:1,height:1}),E=e.ref(null);e.onMounted(()=>{if(p.value){const a=C.throttle(()=>{const{width:o,height:i}=C.useResponsive({chart:x.value});n.value.width=o,n.value.height=i-47});E.value=new ResizeObserver(a),E.value.observe(x.value)}});const s=e.computed(()=>t.minimap.length?n.value.width/t.minimap.length:0),c=e.computed(()=>{if(!t.minimap.length)return[];const a=Math.max(...t.minimap),o=Math.min(...t.minimap)-10,i=a-(o>0?0:o),d=t.minimap.map((A,q)=>{const D=A-o;return{x:n.value.width/t.minimap.length*q+s.value/2,y:n.value.height-D/i*(n.value.height*.9)}}),S=t.smoothMinimap?v.createSmoothPath(d):v.createStraightPath(d),b=[...d].slice(t.valueStart,t.valueEnd),R=t.smoothMinimap?v.createSmoothPath(b):v.createStraightPath(b);return{fullSet:S,selectionSet:R,sliced:b,firstPlot:d[t.valueStart],lastPlot:d[t.valueEnd-1]}}),m=e.computed(()=>({x:s.value*r.value+s.value/2,width:n.value.width*((u.value-r.value)/t.max)-s.value})),F=e.computed(()=>({left:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",pointerEvents:"none"})),I=e.computed(()=>({right:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",direction:"rtl",pointerEvents:"none"})),y=e.ref(t.minimapSelectedIndex);e.watch(()=>t.minimapSelectedIndex,a=>{y.value=a+t.valueStart},{immediate:!0});function P(a){y.value=a,a>=t.valueStart&&a<t.valueEnd&&h("trapMouse",a-t.valueStart)}return(a,o)=>(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("div",W,[l.valueStart>0||l.valueEnd<l.max?(e.openBlock(),e.createElementBlock("div",j,[l.useResetSlot?e.renderSlot(a.$slots,"reset-action",{key:1,reset:N},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",style:e.normalizeStyle({top:p.value?"36px":"-16px",pointerEvents:"all !important"}),onClick:N},[e.createVNode(O.default,{name:"refresh",stroke:l.textColor},null,8,["stroke"])],4))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"double-range-slider",ref_key:"minimapWrapper",ref:x,style:{"z-index":"0"}},[p.value?(e.openBlock(),e.createElementBlock("div",X,[(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(v.XMLNS),viewBox:`0 0 ${n.value.width<0?0:n.value.width} ${n.value.height<0?0:n.value.height}`},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:g.value,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${l.minimapLineColor}50`},null,8,G),H],8,_)]),e.createElementVNode("path",{d:`M${c.value.fullSet}`,stroke:`${l.minimapLineColor}`,fill:"none","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",style:{opacity:"1"}},null,8,J),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,fill:f.value,rx:l.minimapSelectionRadius,stroke:"none"},null,8,K),e.createElementVNode("path",{d:`M${s.value/2},${n.value.height} ${c.value.fullSet} L${n.value.width-s.value/2},${n.value.height}Z`,fill:`url(#${g.value})`,stroke:"none",style:{opacity:"1"}},null,8,Q),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,rx:l.minimapSelectionRadius,fill:f.value},null,8,Y),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,fill:l.minimapSelectedColor,rx:l.minimapSelectionRadius,style:e.normalizeStyle({opacity:l.minimapSelectedColorOpacity})},null,12,ee),e.createElementVNode("path",{d:`M${c.value.sliced[0].x},${n.value.height} ${c.value.selectionSet} L${c.value.sliced.at(-1).x},${n.value.height}Z`,fill:`url(#${g.value})`,stroke:"none",style:{opacity:"1"}},null,8,te),e.createElementVNode("path",{d:`M ${c.value.selectionSet}`,stroke:`${l.minimapLineColor}`,fill:"transparent","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,le),e.createElementVNode("circle",{cx:c.value.firstPlot.x,cy:c.value.firstPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:l.minimapLineColor},null,8,ae),e.createElementVNode("circle",{cx:c.value.lastPlot.x,cy:c.value.lastPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:l.minimapLineColor},null,8,ne),y.value!==null?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(k.value,(i,d)=>(e.openBlock(),e.createElementBlock("g",null,[y.value===i&&i>=l.valueStart&&i<l.valueEnd?(e.openBlock(),e.createElementBlock("line",{key:0,x1:s.value*d+s.value/2,x2:s.value*d+s.value/2,y1:0,y2:n.value.height,stroke:l.minimapIndicatorColor,"stroke-linecap":"round","stroke-dasharray":"2","stroke-width":"1"},null,8,oe)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,(i,d)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value*d,y:0,height:n.value.height,width:s.value,fill:"transparent",style:{"pointer-events":"all !important"},onMouseenter:S=>P(i),onMouseleave:o[0]||(o[0]=S=>{y.value=null,h("trapMouse",null)})},null,40,ie))),256))],8,Z))])):e.createCommentVNode("",!0),re,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(V.value)},null,4),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-left",min:l.min,max:l.max,"onUpdate:modelValue":o[1]||(o[1]=i=>r.value=i),onInput:L},null,40,ue),[[e.vModelText,r.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-left",style:e.normalizeStyle(F.value)},e.toDisplayString(l.labelLeft),5),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-right",min:l.min,max:l.max,"onUpdate:modelValue":o[2]||(o[2]=i=>u.value=i),onInput:M},null,40,se),[[e.vModelText,u.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-right",style:e.normalizeStyle(I.value)},e.toDisplayString(l.labelRight),5)],512)]))}},de=T._export_sfc(ce,[["__scopeId","data-v-c184b7d6"]]);exports.Slicer=de;
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as K, ref as f, computed as d, watch as L, onMounted as Y, openBlock as v, createElementBlock as h, createElementVNode as i, normalizeStyle as S, createVNode as ee, renderSlot as te, createCommentVNode as k, unref as le, Fragment as R, renderList as z, withDirectives as E, vModelText as P, toDisplayString as A, pushScopeId as ae, popScopeId as ie } from "vue";
2
- import ne from "./BaseIcon-Icg3SIlH.js";
2
+ import ne from "./BaseIcon-C4xMR9-8.js";
3
3
  import { t as oe, u as ue } from "./useResponsive-CoxXLe23.js";
4
- import { c as re, R as V, Q as B, X as se } from "./index-Cn1EWnYG.js";
4
+ import { c as re, R as V, Q as B, X as se } from "./index-Qst-5kz0.js";
5
5
  import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const O = (t) => (ae("data-v-c184b7d6"), t = t(), ie(), t), me = {
7
7
  "data-html2canvas-ignore": "",
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),r=require("./useNestedProp-DxZ05ZEt.cjs"),o={__name:"Title",props:{config:{type:Object,default(){return{}}},lineHeight:{type:[String,Boolean],default:!1}},setup(i){const n=i,t=r.useNestedProp({userConfig:n.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0,textAlign:"center",paddingLeft:0,paddingRight:0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(l,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).title.color};font-size:${e.unref(t).title.fontSize}px;font-weight:${e.unref(t).title.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).title.text),5),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).subtitle.text),5)):e.createCommentVNode("",!0),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},[e.renderSlot(l.$slots,"default")],4)):e.createCommentVNode("",!0)],64))}};exports._sfc_main=o;
1
+ "use strict";const e=require("vue"),r=require("./useNestedProp-P8wzQfmW.cjs"),o={__name:"Title",props:{config:{type:Object,default(){return{}}},lineHeight:{type:[String,Boolean],default:!1}},setup(i){const n=i,t=r.useNestedProp({userConfig:n.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0,textAlign:"center",paddingLeft:0,paddingRight:0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(l,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).title.color};font-size:${e.unref(t).title.fontSize}px;font-weight:${e.unref(t).title.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).title.text),5),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).subtitle.text),5)):e.createCommentVNode("",!0),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},[e.renderSlot(l.$slots,"default")],4)):e.createCommentVNode("",!0)],64))}};exports._sfc_main=o;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as l, createElementBlock as n, Fragment as f, createElementVNode as p, normalizeStyle as d, unref as e, toDisplayString as g, createCommentVNode as o, renderSlot as r } from "vue";
2
- import { u as c } from "./useNestedProp-BXn-g9sr.js";
2
+ import { u as c } from "./useNestedProp-D3SUMrZY.js";
3
3
  const x = {
4
4
  __name: "Title",
5
5
  props: {
@@ -0,0 +1 @@
1
+ "use strict";const o=require("vue"),p=require("./index-uTaoMjg1.cjs");function y({tooltip:e,chart:r,clientPosition:t,positionPreference:l="center",defaultOffsetY:a=24,blockShiftY:d=!1}){const n=o.ref(0),s=o.ref(a);if(e&&r){const{width:u,height:c}=e.getBoundingClientRect(),{right:i,left:f,bottom:v}=r.getBoundingClientRect();l==="center"&&(t.x+u/2>i?n.value=-u+(i-t.x):t.x-u/2<f?n.value=-u+(u-(t.x-f)):n.value=-u/2),l==="right"&&(t.x+u>i?n.value=-u+(i-t.x):n.value=0),l==="left"&&(t.x<f+u?n.value=-u+(u-(t.x-f)):n.value=-u),t.y+c>v&&!d&&(s.value=-c-a)}return{top:t.y+s.value,left:t.x+n.value}}function b(e,r,t){o.onMounted(()=>e.addEventListener(r,t)),o.onUnmounted(()=>e.removeEventListener(r,t))}function m(){const e=o.ref(0),r=o.ref(0);return b(window,"mousemove",t=>{e.value=t.clientX,r.value=t.clientY}),{x:e,y:r}}const g=["innerHTML"],x={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100},position:{type:String,default:"center"},offsetY:{type:Number,default:24},blockShiftY:{type:Boolean,default:!1}},setup(e){const r=e,t=o.ref(null),l=o.ref(m()),a=o.computed(()=>y({tooltip:t.value,chart:r.parent,clientPosition:l.value,positionPreference:r.position,defaultOffsetY:r.offsetY,blockShiftY:r.blockShiftY})),d=o.computed(()=>p.setOpacity(r.backgroundColor,r.backgroundOpacity));return(n,s)=>e.show?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"tooltip",ref:t,class:o.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:o.normalizeStyle(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom?"":`background:${d.value};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};`)},[o.renderSlot(n.$slots,"tooltip-before"),o.renderSlot(n.$slots,"default"),o.createElementVNode("div",{innerHTML:e.content},null,8,g),o.renderSlot(n.$slots,"tooltip-after")],6)):o.createCommentVNode("",!0)}};exports._sfc_main=x;exports.useMouse=m;
@@ -0,0 +1,109 @@
1
+ import { ref as u, onMounted as y, onUnmounted as b, computed as p, openBlock as g, createElementBlock as x, normalizeClass as h, normalizeStyle as S, renderSlot as c, createElementVNode as $, createCommentVNode as k } from "vue";
2
+ import { s as C } from "./index-Qst-5kz0.js";
3
+ function B({ tooltip: e, chart: o, clientPosition: t, positionPreference: r = "center", defaultOffsetY: a = 24, blockShiftY: d = !1 }) {
4
+ const l = u(0), s = u(a);
5
+ if (e && o) {
6
+ const { width: n, height: m } = e.getBoundingClientRect(), { right: i, left: f, bottom: v } = o.getBoundingClientRect();
7
+ r === "center" && (t.x + n / 2 > i ? l.value = -n + (i - t.x) : t.x - n / 2 < f ? l.value = -n + (n - (t.x - f)) : l.value = -n / 2), r === "right" && (t.x + n > i ? l.value = -n + (i - t.x) : l.value = 0), r === "left" && (t.x < f + n ? l.value = -n + (n - (t.x - f)) : l.value = -n), t.y + m > v && !d && (s.value = -m - a);
8
+ }
9
+ return {
10
+ top: t.y + s.value,
11
+ left: t.x + l.value
12
+ };
13
+ }
14
+ function N(e, o, t) {
15
+ y(() => e.addEventListener(o, t)), b(() => e.removeEventListener(o, t));
16
+ }
17
+ function Y() {
18
+ const e = u(0), o = u(0);
19
+ return N(window, "mousemove", (t) => {
20
+ e.value = t.clientX, o.value = t.clientY;
21
+ }), { x: e, y: o };
22
+ }
23
+ const w = ["innerHTML"], E = {
24
+ __name: "Tooltip",
25
+ props: {
26
+ backgroundColor: {
27
+ type: String,
28
+ default: "#FFFFFF"
29
+ },
30
+ color: {
31
+ type: String,
32
+ default: "#000000"
33
+ },
34
+ content: String,
35
+ maxWidth: {
36
+ type: String,
37
+ default: "300px"
38
+ },
39
+ parent: {
40
+ type: Object
41
+ },
42
+ show: {
43
+ type: Boolean,
44
+ default: !1
45
+ },
46
+ isCustom: {
47
+ type: Boolean,
48
+ default: !1
49
+ },
50
+ fontSize: {
51
+ type: [Number, String],
52
+ default: 14
53
+ },
54
+ borderRadius: {
55
+ type: Number,
56
+ default: 4
57
+ },
58
+ borderColor: {
59
+ type: String,
60
+ default: "#e1e5e8"
61
+ },
62
+ borderWidth: {
63
+ type: Number,
64
+ default: 1
65
+ },
66
+ backgroundOpacity: {
67
+ type: Number,
68
+ default: 100
69
+ },
70
+ position: {
71
+ type: String,
72
+ default: "center"
73
+ },
74
+ offsetY: {
75
+ type: Number,
76
+ default: 24
77
+ },
78
+ blockShiftY: {
79
+ type: Boolean,
80
+ default: !1
81
+ }
82
+ },
83
+ setup(e) {
84
+ const o = e, t = u(null), r = u(Y()), a = p(() => B({
85
+ tooltip: t.value,
86
+ chart: o.parent,
87
+ clientPosition: r.value,
88
+ positionPreference: o.position,
89
+ defaultOffsetY: o.offsetY,
90
+ blockShiftY: o.blockShiftY
91
+ })), d = p(() => C(o.backgroundColor, o.backgroundOpacity));
92
+ return (l, s) => e.show ? (g(), x("div", {
93
+ key: 0,
94
+ ref_key: "tooltip",
95
+ ref: t,
96
+ class: h({ "vue-data-ui-custom-tooltip": e.isCustom, "vue-data-ui-tooltip": !e.isCustom }),
97
+ style: S(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom ? "" : `background:${d.value};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};`)
98
+ }, [
99
+ c(l.$slots, "tooltip-before"),
100
+ c(l.$slots, "default"),
101
+ $("div", { innerHTML: e.content }, null, 8, w),
102
+ c(l.$slots, "tooltip-after")
103
+ ], 6)) : k("", !0);
104
+ }
105
+ };
106
+ export {
107
+ E as _,
108
+ Y as u
109
+ };
@@ -129,16 +129,16 @@ From the dataset you pass into the props, this component will produce the most a
129
129
 
130
130
  ### Mini charts
131
131
 
132
- | Name | dataset type | config type | emits / exposed methods | slots | custom tooltip | themes |
133
- | --------------------- | ---------------------------------- | --------------------------- | --------------------------------------- | ------------------------------- | -------------- | ------ |
134
- | `VueUiSparkline` | `VueUiSparklineDatasetItem[]` | `VueUiSparklineConfig` | `@selectDatapoint` | `#svg`, `#before` | ❌ | ✅ |
135
- | `VueUiSparkbar` | `VueUiSparkbarDatasetItem[]` | `VueUiSparkbarConfig` | `@selectDatapoint` | `#data-label`, `#title` | ❌ | ✅ |
136
- | `VueUiSparkStackbar` | `VueUiSparkStackbarDatasetItem[]` | `VueUiSparkStackbarConfig` | `@selectDatapoint` | | | ✅ |
137
- | `VueUiSparkHistogram` | `VueUiSparkHistogramDatasetItem[]` | `VueUiSparkHistogramConfig` | `@selectDatapoint` | ❌ | ❌ | ✅ |
138
- | `VueUiSparkGauge` | `VueUiSparkGaugeDataset` | `VueUiSparkGaugeConfig` | ❌ | ❌ | ❌ | ✅ |
139
- | `VueUiSparkTrend` | `number[]` | `VueUiSparkTrendConfig` | ❌ | ❌ | ❌ | ✅ |
140
- | `VueUiGizmo` | `VueUiGizmoDataset` | `VueUiGizmoConfig` | ❌ | ❌ | ❌ | ❌ |
141
- | `VueUiBullet` | `VueUiBulletDataset` | `VueUiBulletConfig` | `generatePdf`, `generateImg`, `getData` | `#svg`, `#legend`, `#watermark` | ❌ | ✅ |
132
+ | Name | dataset type | config type | emits / exposed methods | slots | custom tooltip | themes |
133
+ | --------------------- | ---------------------------------- | --------------------------- | --------------------------------------- | ----------------------------------- | -------------- | ------ |
134
+ | `VueUiSparkline` | `VueUiSparklineDatasetItem[]` | `VueUiSparklineConfig` | `@selectDatapoint` | `#svg`, `#before` | ❌ | ✅ |
135
+ | `VueUiSparkbar` | `VueUiSparkbarDatasetItem[]` | `VueUiSparkbarConfig` | `@selectDatapoint` | `#data-label`, `#title` | ❌ | ✅ |
136
+ | `VueUiSparkStackbar` | `VueUiSparkStackbarDatasetItem[]` | `VueUiSparkStackbarConfig` | `@selectDatapoint` | `#tooltip-before`, `#tooltip-after` | | ✅ |
137
+ | `VueUiSparkHistogram` | `VueUiSparkHistogramDatasetItem[]` | `VueUiSparkHistogramConfig` | `@selectDatapoint` | ❌ | ❌ | ✅ |
138
+ | `VueUiSparkGauge` | `VueUiSparkGaugeDataset` | `VueUiSparkGaugeConfig` | ❌ | ❌ | ❌ | ✅ |
139
+ | `VueUiSparkTrend` | `number[]` | `VueUiSparkTrendConfig` | ❌ | ❌ | ❌ | ✅ |
140
+ | `VueUiGizmo` | `VueUiGizmoDataset` | `VueUiGizmoConfig` | ❌ | ❌ | ❌ | ❌ |
141
+ | `VueUiBullet` | `VueUiBulletDataset` | `VueUiBulletConfig` | `generatePdf`, `generateImg`, `getData` | `#svg`, `#legend`, `#watermark` | ❌ | ✅ |
142
142
 
143
143
  ### Charts
144
144
 
@@ -47,7 +47,7 @@ function tt() {
47
47
  backgroundColor: e,
48
48
  color: o,
49
49
  fontSize: r._14
50
- }, p = {
50
+ }, k = {
51
51
  show: !0,
52
52
  color: o,
53
53
  backgroundColor: e,
@@ -177,7 +177,7 @@ function tt() {
177
177
  legend: m,
178
178
  zoom: S,
179
179
  tooltip: {
180
- ...p,
180
+ ...k,
181
181
  showValue: !0,
182
182
  showPercentage: !0,
183
183
  roundingValue: 0,
@@ -401,7 +401,7 @@ function tt() {
401
401
  show: !0
402
402
  },
403
403
  tooltip: {
404
- ...p,
404
+ ...k,
405
405
  showValue: !0,
406
406
  showPercentage: !0,
407
407
  roundingValue: 0,
@@ -623,7 +623,7 @@ function tt() {
623
623
  roundingPercentage: 0
624
624
  },
625
625
  tooltip: {
626
- ...p,
626
+ ...k,
627
627
  showValue: !0,
628
628
  showPercentage: !0,
629
629
  roundingValue: 0,
@@ -688,7 +688,7 @@ function tt() {
688
688
  },
689
689
  title: b,
690
690
  tooltip: {
691
- ...p,
691
+ ...k,
692
692
  roundingValue: 1
693
693
  }
694
694
  }
@@ -756,7 +756,7 @@ function tt() {
756
756
  },
757
757
  title: b,
758
758
  tooltip: {
759
- ...p,
759
+ ...k,
760
760
  showValue: !0,
761
761
  showPercentage: !0,
762
762
  roundingValue: 0,
@@ -833,7 +833,7 @@ function tt() {
833
833
  },
834
834
  title: b,
835
835
  tooltip: {
836
- ...p,
836
+ ...k,
837
837
  showValue: !0,
838
838
  showPercentage: !0,
839
839
  roundingValue: 0,
@@ -977,7 +977,7 @@ function tt() {
977
977
  },
978
978
  title: b,
979
979
  tooltip: {
980
- ...p,
980
+ ...k,
981
981
  roundingValue: 0,
982
982
  showShape: !0
983
983
  },
@@ -1384,7 +1384,7 @@ function tt() {
1384
1384
  roundingPercentage: 0
1385
1385
  },
1386
1386
  tooltip: {
1387
- ...p,
1387
+ ...k,
1388
1388
  showValue: !0,
1389
1389
  showPercentage: !0,
1390
1390
  roundingValue: 0,
@@ -1491,7 +1491,7 @@ function tt() {
1491
1491
  suffix: ""
1492
1492
  },
1493
1493
  tooltip: {
1494
- ...p,
1494
+ ...k,
1495
1495
  showValue: !0,
1496
1496
  showPercentage: !0,
1497
1497
  roundingValue: 0,
@@ -1592,7 +1592,7 @@ function tt() {
1592
1592
  scaleBorderRadius: 18
1593
1593
  },
1594
1594
  tooltip: {
1595
- ...p,
1595
+ ...k,
1596
1596
  roundingValue: 0
1597
1597
  }
1598
1598
  },
@@ -1738,7 +1738,7 @@ function tt() {
1738
1738
  roundingValue: 0
1739
1739
  },
1740
1740
  tooltip: {
1741
- ...p,
1741
+ ...k,
1742
1742
  roundingValue: 2,
1743
1743
  showShape: !0,
1744
1744
  prefix: "",
@@ -1840,7 +1840,7 @@ function tt() {
1840
1840
  zoom: S,
1841
1841
  title: b,
1842
1842
  tooltip: {
1843
- ...p,
1843
+ ...k,
1844
1844
  roundingValue: 0,
1845
1845
  prefix: "",
1846
1846
  suffix: ""
@@ -2042,6 +2042,9 @@ function tt() {
2042
2042
  ...b,
2043
2043
  textAlign: C.LEFT,
2044
2044
  margin: "0 0 6px 0"
2045
+ },
2046
+ tooltip: {
2047
+ ...k
2045
2048
  }
2046
2049
  }
2047
2050
  }, ho = {
@@ -2379,7 +2382,7 @@ function tt() {
2379
2382
  },
2380
2383
  title: b,
2381
2384
  tooltip: {
2382
- ...p,
2385
+ ...k,
2383
2386
  roundingValue: 0
2384
2387
  }
2385
2388
  },
@@ -2528,7 +2531,7 @@ function tt() {
2528
2531
  },
2529
2532
  title: b,
2530
2533
  tooltip: {
2531
- ...p,
2534
+ ...k,
2532
2535
  showValue: !0,
2533
2536
  showPercentage: !0,
2534
2537
  roundingValue: 0,
@@ -2743,7 +2746,7 @@ function tt() {
2743
2746
  stroke: a
2744
2747
  },
2745
2748
  title: b,
2746
- tooltip: p,
2749
+ tooltip: k,
2747
2750
  zoom: {
2748
2751
  speed: 1
2749
2752
  }
@@ -2833,7 +2836,7 @@ function tt() {
2833
2836
  },
2834
2837
  title: b,
2835
2838
  tooltip: {
2836
- ...p,
2839
+ ...k,
2837
2840
  showAllItemsAtIndex: !0,
2838
2841
  showValue: !0,
2839
2842
  showPercentage: !0,
@@ -2897,7 +2900,7 @@ function tt() {
2897
2900
  },
2898
2901
  title: b,
2899
2902
  tooltip: {
2900
- ...p,
2903
+ ...k,
2901
2904
  showValue: !0,
2902
2905
  showPercentage: !0,
2903
2906
  roundingValue: 0,
@@ -3016,7 +3019,7 @@ function tt() {
3016
3019
  },
3017
3020
  title: b,
3018
3021
  tooltip: {
3019
- ...p,
3022
+ ...k,
3020
3023
  roundingValue: 0
3021
3024
  }
3022
3025
  }
@@ -3365,7 +3368,7 @@ function tt() {
3365
3368
  },
3366
3369
  title: b,
3367
3370
  tooltip: {
3368
- ...p,
3371
+ ...k,
3369
3372
  roundingValue: 0
3370
3373
  }
3371
3374
  }
@@ -3417,7 +3420,7 @@ function tt() {
3417
3420
  color: o,
3418
3421
  dashed: !0
3419
3422
  },
3420
- tooltip: p,
3423
+ tooltip: k,
3421
3424
  legend: m,
3422
3425
  title: b,
3423
3426
  grid: {
@@ -3632,7 +3635,7 @@ function tt() {
3632
3635
  },
3633
3636
  title: b,
3634
3637
  legend: m,
3635
- tooltip: p
3638
+ tooltip: k
3636
3639
  }
3637
3640
  },
3638
3641
  table: {
@@ -10001,16 +10004,16 @@ function he(o, l, t, a, s, e = 1.99999, c = 2, n = 1.45, u = 360, i = 105.25, f
10001
10004
  );
10002
10005
  A.push({
10003
10006
  arcSlice: `${S} L ${D.startX} ${D.startY} ${D.path} L ${E} ${F}`,
10004
- cx: k(l),
10005
- cy: k(t),
10007
+ cx: p(l),
10008
+ cy: p(t),
10006
10009
  ...d[x],
10007
- proportion: k(b),
10008
- ratio: k(m),
10010
+ proportion: p(b),
10011
+ ratio: p(m),
10009
10012
  path: S.replaceAll("NaN", "0"),
10010
- startX: k(E),
10011
- startY: k(F),
10012
- endX: k(y),
10013
- endY: k(_),
10013
+ startX: p(E),
10014
+ startY: p(F),
10015
+ endX: p(y),
10016
+ endY: p(_),
10014
10017
  center: O(
10015
10018
  [l, t],
10016
10019
  [a * n, s * n],
@@ -10052,18 +10055,18 @@ function O([o, l], [t, a], [s, e], c, n = 360, u = 2, i = !1) {
10052
10055
  [o, l]
10053
10056
  ), x = e > Math.PI ? 1 : 0, b = e > 0 ? i ? 0 : 1 : i ? 1 : 0;
10054
10057
  return {
10055
- startX: k(i ? A : d),
10056
- startY: k(i ? C : r),
10057
- endX: k(i ? d : A),
10058
- endY: k(i ? r : C),
10059
- path: `M${k(i ? A : d)} ${k(i ? C : r)} A ${[
10060
- k(t),
10061
- k(a),
10062
- k(c / (u * Math.PI) * n),
10063
- k(x),
10064
- k(b),
10065
- k(i ? d : A),
10066
- k(i ? r : C)
10058
+ startX: p(i ? A : d),
10059
+ startY: p(i ? C : r),
10060
+ endX: p(i ? d : A),
10061
+ endY: p(i ? r : C),
10062
+ path: `M${p(i ? A : d)} ${p(i ? C : r)} A ${[
10063
+ p(t),
10064
+ p(a),
10065
+ p(c / (u * Math.PI) * n),
10066
+ p(x),
10067
+ p(b),
10068
+ p(i ? d : A),
10069
+ p(i ? r : C)
10067
10070
  ].join(" ")}`
10068
10071
  };
10069
10072
  }
@@ -10091,7 +10094,7 @@ function te(o) {
10091
10094
  function ke(o) {
10092
10095
  return ![void 0, NaN, 1 / 0, -1 / 0].includes(o);
10093
10096
  }
10094
- function k(o, l = 0) {
10097
+ function p(o, l = 0) {
10095
10098
  return isNaN(o) ? l : o;
10096
10099
  }
10097
10100
  const ee = [
@@ -10318,12 +10321,12 @@ function me(o, l) {
10318
10321
  }), e = ({ r: d, g: r, b: A }) => {
10319
10322
  d /= 255, r /= 255, A /= 255;
10320
10323
  const C = Math.max(d, r, A), x = Math.min(d, r, A);
10321
- let b, m, p = (C + x) / 2;
10324
+ let b, m, k = (C + x) / 2;
10322
10325
  if (C === x)
10323
10326
  b = m = 0;
10324
10327
  else {
10325
10328
  const h = C - x;
10326
- switch (m = p > 0.5 ? h / (2 - C - x) : h / (C + x), C) {
10329
+ switch (m = k > 0.5 ? h / (2 - C - x) : h / (C + x), C) {
10327
10330
  case d:
10328
10331
  b = (r - A) / h + (r < A ? 6 : 0);
10329
10332
  break;
@@ -10336,14 +10339,14 @@ function me(o, l) {
10336
10339
  }
10337
10340
  b /= 6;
10338
10341
  }
10339
- return { h: b, s: m, l: p };
10342
+ return { h: b, s: m, l: k };
10340
10343
  }, c = ({ h: d, s: r, l: A }) => {
10341
10344
  let C, x, b;
10342
10345
  if (r === 0)
10343
10346
  C = x = b = A;
10344
10347
  else {
10345
- const m = (E, F, y) => (y < 0 && (y += 1), y > 1 && (y -= 1), y < 0.16666666666666666 ? E + (F - E) * 6 * y : y < 0.5 ? F : y < 0.6666666666666666 ? E + (F - E) * (0.6666666666666666 - y) * 6 : E), p = A < 0.5 ? A * (1 + r) : A + r - A * r, h = 2 * A - p;
10346
- C = m(h, p, d + 1 / 3), x = m(h, p, d), b = m(h, p, d - 1 / 3);
10348
+ const m = (E, F, y) => (y < 0 && (y += 1), y > 1 && (y -= 1), y < 0.16666666666666666 ? E + (F - E) * 6 * y : y < 0.5 ? F : y < 0.6666666666666666 ? E + (F - E) * (0.6666666666666666 - y) * 6 : E), k = A < 0.5 ? A * (1 + r) : A + r - A * r, h = 2 * A - k;
10349
+ C = m(h, k, d + 1 / 3), x = m(h, k, d), b = m(h, k, d - 1 / 3);
10347
10350
  }
10348
10351
  return {
10349
10352
  r: Math.round(C * 255),
@@ -10504,12 +10507,12 @@ function we(o) {
10504
10507
  function ve(o) {
10505
10508
  let l = [];
10506
10509
  for (let t = 0; t < o.length; t += 1)
10507
- l.push(`${k(o[t].x)},${k(o[t].y)} `);
10510
+ l.push(`${p(o[t].x)},${p(o[t].y)} `);
10508
10511
  return l.join(" ").trim();
10509
10512
  }
10510
10513
  function Se(o) {
10511
10514
  if (o.length < 2) return "0,0";
10512
- const l = o.length - 1, t = [`${k(o[0].x)},${k(o[0].y)}`], a = [], s = [], e = [], c = [];
10515
+ const l = o.length - 1, t = [`${p(o[0].x)},${p(o[0].y)}`], a = [], s = [], e = [], c = [];
10513
10516
  for (let n = 0; n < l; n += 1)
10514
10517
  a[n] = o[n + 1].x - o[n].x, s[n] = o[n + 1].y - o[n].y, e[n] = s[n] / a[n];
10515
10518
  c[0] = e[0], c[l] = e[l - 1];
@@ -10522,7 +10525,7 @@ function Se(o) {
10522
10525
  }
10523
10526
  for (let n = 0; n < l; n += 1) {
10524
10527
  const u = o[n].x, i = o[n].y, f = o[n + 1].x, d = o[n + 1].y, r = c[n], A = c[n + 1], C = u + (f - u) / 3, x = i + r * (f - u) / 3, b = f - (f - u) / 3, m = d - A * (f - u) / 3;
10525
- t.push(`C ${k(C)},${k(x)} ${k(b)},${k(m)} ${k(f)},${k(d)}`);
10528
+ t.push(`C ${p(C)},${p(x)} ${p(b)},${p(m)} ${p(f)},${p(d)}`);
10526
10529
  }
10527
10530
  return t.join(" ");
10528
10531
  }
@@ -10540,10 +10543,10 @@ function Le(o, l = 0.2) {
10540
10543
  }
10541
10544
  function s(c, n, u) {
10542
10545
  const i = a(u[n - 1], u[n - 2], c), f = a(c, u[n - 1], u[n + 1], !0);
10543
- return `C ${k(i.x)},${k(i.y)} ${k(f.x)},${k(f.y)} ${k(c.x)},${k(c.y)}`;
10546
+ return `C ${p(i.x)},${p(i.y)} ${p(f.x)},${p(f.y)} ${p(c.x)},${p(c.y)}`;
10544
10547
  }
10545
10548
  return o.filter((c) => !!c).reduce(
10546
- (c, n, u, i) => u === 0 ? `${k(n.x)},${k(n.y)} ` : `${c} ${s(n, u, i)} `,
10549
+ (c, n, u, i) => u === 0 ? `${p(n.x)},${p(n.y)} ` : `${c} ${s(n, u, i)} `,
10547
10550
  ""
10548
10551
  );
10549
10552
  }
@@ -10694,10 +10697,10 @@ function Ge(o, l, t, a, s) {
10694
10697
  let A = parseInt(r.substring(1, 3), 16), C = parseInt(r.substring(3, 5), 16), x = parseInt(r.substring(5, 7), 16), b = 1;
10695
10698
  return r.length === 9 && (b = parseInt(r.substring(7, 9), 16) / 255), { r: A, g: C, b: x, a: b };
10696
10699
  }, c = ({ r, g: A, b: C, a: x }) => {
10697
- const b = (p) => p.toString(16).padStart(2, "0"), m = `#${b(r)}${b(A)}${b(C)}`;
10700
+ const b = (k) => k.toString(16).padStart(2, "0"), m = `#${b(r)}${b(A)}${b(C)}`;
10698
10701
  if (x !== 1) {
10699
- const p = Math.round(x * 255).toString(16).padStart(2, "0");
10700
- return m + p;
10702
+ const k = Math.round(x * 255).toString(16).padStart(2, "0");
10703
+ return m + k;
10701
10704
  }
10702
10705
  return m;
10703
10706
  }, n = e(o), u = e(l);
@@ -10759,8 +10762,8 @@ function qe({ points: o, a: l, b: t, angleStep: a, startX: s, startY: e }) {
10759
10762
  const c = de({ points: o, a: l || 6, b: t || 6, angleStep: a || 0.07, startX: s, startY: e });
10760
10763
  let n = `M${c[0].x} ${c[0].y}`;
10761
10764
  for (let u = 1; u < c.length - 2; u += 2) {
10762
- const i = c[u - 1], f = c[u], d = c[u + 1], r = c[u + 2], A = (i.x + f.x) / 2, C = (i.y + f.y) / 2, x = (f.x + d.x) / 2, b = (f.y + d.y) / 2, m = (d.x + r.x) / 2, p = (d.y + r.y) / 2;
10763
- n += ` C${A} ${C}, ${x} ${b}, ${m} ${p}`;
10765
+ const i = c[u - 1], f = c[u], d = c[u + 1], r = c[u + 2], A = (i.x + f.x) / 2, C = (i.y + f.y) / 2, x = (f.x + d.x) / 2, b = (f.y + d.y) / 2, m = (d.x + r.x) / 2, k = (d.y + r.y) / 2;
10766
+ n += ` C${A} ${C}, ${x} ${b}, ${m} ${k}`;
10764
10767
  }
10765
10768
  return n;
10766
10769
  }
@@ -10980,7 +10983,7 @@ function lr(o) {
10980
10983
  function t(i, f, d, r) {
10981
10984
  let C = 0, x = i.x, b = i.y;
10982
10985
  for (let m = 1; m <= 100; m += 1) {
10983
- const p = m / 100, h = 1 - p, E = h * h, F = p * p, y = E * h * i.x + 3 * E * p * f.x + 3 * h * F * d.x + F * p * r.x, _ = E * h * i.y + 3 * E * p * f.y + 3 * h * F * d.y + F * p * r.y;
10986
+ const k = m / 100, h = 1 - k, E = h * h, F = k * k, y = E * h * i.x + 3 * E * k * f.x + 3 * h * F * d.x + F * k * r.x, _ = E * h * i.y + 3 * E * k * f.y + 3 * h * F * d.y + F * k * r.y;
10984
10987
  C += l(x, b, y, _), x = y, b = _;
10985
10988
  }
10986
10989
  return C;
@@ -11112,19 +11115,19 @@ function ur(o, l = 100) {
11112
11115
  function dr({ series: o, center: l, maxRadius: t }) {
11113
11116
  const s = 360 / o.length;
11114
11117
  return o.map((c, n) => {
11115
- const i = c * t, f = n * s, d = f + s, r = f + s / 2, A = B(f) - B(90), C = B(d) - B(90), x = B(r) - B(90), b = l.x + i * Math.cos(A), m = l.y + i * Math.sin(A), p = l.x + i * Math.cos(C), h = l.y + i * Math.sin(C), E = l.x + i * Math.cos(x), F = l.y + i * Math.sin(x);
11118
+ const i = c * t, f = n * s, d = f + s, r = f + s / 2, A = B(f) - B(90), C = B(d) - B(90), x = B(r) - B(90), b = l.x + i * Math.cos(A), m = l.y + i * Math.sin(A), k = l.x + i * Math.cos(C), h = l.y + i * Math.sin(C), E = l.x + i * Math.cos(x), F = l.y + i * Math.sin(x);
11116
11119
  return {
11117
11120
  path: `
11118
11121
  M ${l.x} ${l.y}
11119
11122
  L ${b} ${m}
11120
- A ${i} ${i} 0 0 1 ${p} ${h}
11123
+ A ${i} ${i} 0 0 1 ${k} ${h}
11121
11124
  Z
11122
11125
  `.trim(),
11123
11126
  middlePoint: { x: E, y: F }
11124
11127
  };
11125
11128
  });
11126
11129
  }
11127
- const fr = g(() => import("./Arrow-BCeetU2P.js")), Ar = g(() => import("./vue-data-ui-DfGCpkA8.js")), br = g(() => import("./vue-ui-3d-bar-Cz7ZSFFf.js")), Cr = g(() => import("./vue-ui-accordion-UADqAdVj.js")), gr = g(() => import("./vue-ui-age-pyramid-DhGijqy5.js")), hr = g(() => import("./vue-ui-annotator-CCgDEOdY.js")), kr = g(() => import("./vue-ui-candlestick-D0RfMi-W.js")), pr = g(() => import("./vue-ui-chestnut-B2Gio3KC.js")), mr = g(() => import("./vue-ui-cursor-BlW4uLBm.js")), yr = g(() => import("./vue-ui-dashboard-DCaNJXOd.js")), Fr = g(() => import("./vue-ui-digits-DlteJApK.js")), xr = g(() => import("./vue-ui-donut-6Vh9u3Xp.js")), Er = g(() => import("./vue-ui-donut-evolution-gQyMiCiu.js")), _r = g(() => import("./vue-ui-dumbbell-C4xg1FG4.js")), wr = g(() => import("./vue-ui-flow-DYF0P7LD.js")), vr = g(() => import("./vue-ui-galaxy-aM8uOGRD.js")), Sr = g(() => import("./vue-ui-gauge-qYg_QM-A.js")), Lr = g(() => import("./vue-ui-heatmap-BfJGluVp.js")), Dr = g(() => import("./BaseIcon-Icg3SIlH.js")), Br = g(() => import("./vue-ui-kpi-C5ISBjIs.js")), Rr = g(() => import("./vue-ui-mini-loader-BiaLLW3x.js")), zr = g(() => import("./vue-ui-molecule-fmAXI5nL.js")), Pr = g(() => import("./vue-ui-mood-radar-CVLad_RZ.js")), Tr = g(() => import("./vue-ui-nested-donuts-7VePVE4W.js")), Or = g(() => import("./vue-ui-onion-LCcrKbXJ.js")), Nr = g(() => import("./vue-ui-parallel-coordinate-plot-D0Xxq5a9.js")), Mr = g(() => import("./vue-ui-quadrant-D_e1Knsr.js")), Vr = g(() => import("./vue-ui-quick-chart-CIm7vclU.js")), Ir = g(() => import("./vue-ui-radar-Cx_w_viT.js")), Wr = g(() => import("./vue-ui-rating-NRP3A0oA.js")), Ur = g(() => import("./vue-ui-relation-circle-C4LKLsEz.js")), Gr = g(() => import("./vue-ui-rings-DXawhL1m.js")), Yr = g(() => import("./vue-ui-scatter-8EzIXx2n.js")), Hr = g(() => import("./vue-ui-screenshot-Wwmw7VVM.js")), $r = g(() => import("./vue-ui-skeleton-D3AGluiW.js")), Xr = g(() => import("./vue-ui-smiley-CRddsfyu.js")), Kr = g(() => import("./vue-ui-sparkhistogram-vlWx_CFP.js")), jr = g(() => import("./vue-ui-sparkstackbar-BzrHl4LW.js")), qr = g(() => import("./vue-ui-spark-trend-Cgr4pAvU.js")), Qr = g(() => import("./vue-ui-sparkbar-B6TEBbyt.js")), Zr = g(() => import("./vue-ui-sparkgauge-P5fVXRT8.js")), Jr = g(() => import("./vue-ui-sparkline-B1UrThV_.js")), ol = g(() => import("./vue-ui-strip-plot-CutPMUb1.js")), tl = g(() => import("./vue-ui-table-Cx0eqrK_.js")), el = g(() => import("./vue-ui-table-heatmap-DyGuk9kw.js")), rl = g(() => import("./vue-ui-table-sparkline--Ekk_QoU.js")), ll = g(() => import("./vue-ui-thermometer-Dz_xaxCt.js")), al = g(() => import("./vue-ui-timer-DRdgSmMv.js")), nl = g(() => import("./vue-ui-tiremarks-XuaMScx0.js")), sl = g(() => import("./vue-ui-treemap-D8HfM8ny.js")), il = g(() => import("./vue-ui-vertical-bar-BcWnPMjH.js")), cl = g(() => import("./vue-ui-waffle-sLIM61xh.js")), ul = g(() => import("./vue-ui-wheel-D3Pfhpbe.js")), dl = g(() => import("./vue-ui-word-cloud-DhC8SN1l.js")), fl = g(() => import("./vue-ui-xy-D7nWzSu1.js")), Al = g(() => import("./vue-ui-xy-canvas-DWZRAtDJ.js")), bl = g(() => import("./vue-ui-carousel-table-DeY0f9Ba.js")), Cl = g(() => import("./vue-ui-gizmo-BZyOCD_y.js")), gl = g(() => import("./vue-ui-stackbar-DhnCj5jR.js")), hl = g(() => import("./vue-ui-bullet-CSVuqhhg.js"));
11130
+ const fr = g(() => import("./Arrow-csGlRFph.js")), Ar = g(() => import("./vue-data-ui-BWV0_3wY.js")), br = g(() => import("./vue-ui-3d-bar-nqIMKDVC.js")), Cr = g(() => import("./vue-ui-accordion-CHl3zwsU.js")), gr = g(() => import("./vue-ui-age-pyramid-Cm9zRjyB.js")), hr = g(() => import("./vue-ui-annotator-BcZwMf4k.js")), kr = g(() => import("./vue-ui-candlestick-CrKXtUTA.js")), pr = g(() => import("./vue-ui-chestnut-DvGUaaag.js")), mr = g(() => import("./vue-ui-cursor-CURrSWJH.js")), yr = g(() => import("./vue-ui-dashboard-D5UQ9d4W.js")), Fr = g(() => import("./vue-ui-digits-BESFcIu-.js")), xr = g(() => import("./vue-ui-donut-eLSljaMD.js")), Er = g(() => import("./vue-ui-donut-evolution-nogin4DH.js")), _r = g(() => import("./vue-ui-dumbbell-D1g4t_ba.js")), wr = g(() => import("./vue-ui-flow-CQ4ZPEf9.js")), vr = g(() => import("./vue-ui-galaxy-cJyFGSj3.js")), Sr = g(() => import("./vue-ui-gauge-BJ73VPHK.js")), Lr = g(() => import("./vue-ui-heatmap-B_p_NA69.js")), Dr = g(() => import("./BaseIcon-C4xMR9-8.js")), Br = g(() => import("./vue-ui-kpi-BTjso80e.js")), Rr = g(() => import("./vue-ui-mini-loader-CaQfIaet.js")), zr = g(() => import("./vue-ui-molecule-fG82cUkT.js")), Pr = g(() => import("./vue-ui-mood-radar-Up3yenwX.js")), Tr = g(() => import("./vue-ui-nested-donuts-JT8N_ith.js")), Or = g(() => import("./vue-ui-onion-CWJlmMOv.js")), Nr = g(() => import("./vue-ui-parallel-coordinate-plot-BdS7FR9e.js")), Mr = g(() => import("./vue-ui-quadrant-DNSSfYxO.js")), Vr = g(() => import("./vue-ui-quick-chart-DdHb8oXV.js")), Ir = g(() => import("./vue-ui-radar-BLaCDKDI.js")), Wr = g(() => import("./vue-ui-rating-ZTFd5PY9.js")), Ur = g(() => import("./vue-ui-relation-circle-8HwwVi9V.js")), Gr = g(() => import("./vue-ui-rings-Bg-gI2AV.js")), Yr = g(() => import("./vue-ui-scatter-BbGF7Kqu.js")), Hr = g(() => import("./vue-ui-screenshot-8L5oXuB8.js")), $r = g(() => import("./vue-ui-skeleton-3V3a9YDD.js")), Xr = g(() => import("./vue-ui-smiley-bfJp-uDp.js")), Kr = g(() => import("./vue-ui-sparkhistogram-DV9-qngy.js")), jr = g(() => import("./vue-ui-sparkstackbar-Dy8NuRTo.js")), qr = g(() => import("./vue-ui-spark-trend-CUiHyXEy.js")), Qr = g(() => import("./vue-ui-sparkbar-DQ6xAWCW.js")), Zr = g(() => import("./vue-ui-sparkgauge-C71yrtal.js")), Jr = g(() => import("./vue-ui-sparkline-BUQwEBGh.js")), ol = g(() => import("./vue-ui-strip-plot-AZWlE4bf.js")), tl = g(() => import("./vue-ui-table-j1JKMJlY.js")), el = g(() => import("./vue-ui-table-heatmap-DIYuyeya.js")), rl = g(() => import("./vue-ui-table-sparkline-Bs68Kr3b.js")), ll = g(() => import("./vue-ui-thermometer-XragDhm1.js")), al = g(() => import("./vue-ui-timer-CD6NO3sW.js")), nl = g(() => import("./vue-ui-tiremarks-CgFVKqyp.js")), sl = g(() => import("./vue-ui-treemap-gj4510HN.js")), il = g(() => import("./vue-ui-vertical-bar-iEd5iot7.js")), cl = g(() => import("./vue-ui-waffle-XLMUuduF.js")), ul = g(() => import("./vue-ui-wheel-DvNNNUNo.js")), dl = g(() => import("./vue-ui-word-cloud-IMAaNlwt.js")), fl = g(() => import("./vue-ui-xy-Dc67UrQD.js")), Al = g(() => import("./vue-ui-xy-canvas-CMQ_w0PG.js")), bl = g(() => import("./vue-ui-carousel-table-RTzJDG_m.js")), Cl = g(() => import("./vue-ui-gizmo-B0_McLBu.js")), gl = g(() => import("./vue-ui-stackbar-Dm3TUSfv.js")), hl = g(() => import("./vue-ui-bullet-DfIZfg_U.js"));
11128
11131
  export {
11129
11132
  rr as $,
11130
11133
  Zt as A,
@@ -11243,7 +11246,7 @@ export {
11243
11246
  ur as s,
11244
11247
  Yt as t,
11245
11248
  tt as u,
11246
- k as v,
11249
+ p as v,
11247
11250
  me as w,
11248
11251
  $e as x,
11249
11252
  Xe as y,