vue-data-ui 3.27.1-beta.0 → 3.27.1

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 (189) hide show
  1. package/dist/{Arrow-CJeSufxg.js → Arrow-C2W0uGrq.js} +1 -1
  2. package/dist/{BaseDraggableDialog-T1gEsQid.js → BaseDraggableDialog-D_tuHEjO.js} +1 -1
  3. package/dist/{BaseIcon-Cz30ODFA.js → BaseIcon-DdIyewwY.js} +1 -1
  4. package/dist/{BaseLegendToggle-Dn_tNvn4.js → BaseLegendToggle-Bq5FjyuI.js} +1 -1
  5. package/dist/{BaseZoomControls-xq3tWD3j.js → BaseZoomControls-DoYifY2y.js} +1 -1
  6. package/dist/{ColorPicker-CUjEw53A.js → ColorPicker-MLwiwxl5.js} +1 -1
  7. package/dist/{DataTable-DSUA5M9p.js → DataTable-WNecJMcY.js} +1 -1
  8. package/dist/{HillActions-DdvXld3a.js → HillActions-CHg1AQ3p.js} +1 -1
  9. package/dist/{Legend-DokTll4u.js → Legend-D8YoT1RJ.js} +1 -1
  10. package/dist/{NonSvgPenAndPaper-BLzQuIm6.js → NonSvgPenAndPaper-CqtJpZKh.js} +1 -1
  11. package/dist/{PackageVersion-D6pKL176.js → PackageVersion-CdkxOy58.js} +1 -1
  12. package/dist/{PenAndPaper-DvJJaeU2.js → PenAndPaper-IMw576MC.js} +1 -1
  13. package/dist/{Shape-tkp65OcG.js → Shape-Bp9YNtPc.js} +1 -1
  14. package/dist/SlicerPreview-CNUciSbY.js +1 -0
  15. package/dist/{SparkTooltip-BlJLvizH.js → SparkTooltip-C5JMcBXT.js} +1 -1
  16. package/dist/{Title-BRAjxtjG.js → Title-BGYFqulv.js} +1 -1
  17. package/dist/{Tooltip-BUXB0i6z.js → Tooltip-Cus2-XNQ.js} +1 -1
  18. package/dist/{UserOptions-D65t74CM.js → UserOptions-DTxMeZv3.js} +1 -1
  19. package/dist/{chartImage-NwZO-elv.js → chartImage-CIvU_04o.js} +1 -1
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-label.js +1 -1
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-quadrant.js +1 -1
  59. package/dist/components/vue-ui-quick-chart.js +1 -1
  60. package/dist/components/vue-ui-radar.js +1 -1
  61. package/dist/components/vue-ui-rating.js +1 -1
  62. package/dist/components/vue-ui-relation-circle.js +1 -1
  63. package/dist/components/vue-ui-ridgeline.js +1 -1
  64. package/dist/components/vue-ui-rings.js +1 -1
  65. package/dist/components/vue-ui-scatter.js +1 -1
  66. package/dist/components/vue-ui-skeleton.js +1 -1
  67. package/dist/components/vue-ui-smiley.js +1 -1
  68. package/dist/components/vue-ui-spark-trend.js +1 -1
  69. package/dist/components/vue-ui-sparkbar.js +1 -1
  70. package/dist/components/vue-ui-sparkgauge.js +1 -1
  71. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  72. package/dist/components/vue-ui-sparkline.js +1 -1
  73. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  74. package/dist/components/vue-ui-stackbar.js +1 -1
  75. package/dist/components/vue-ui-stackline.js +1 -1
  76. package/dist/components/vue-ui-strip-plot.js +1 -1
  77. package/dist/components/vue-ui-table-heatmap.js +1 -1
  78. package/dist/components/vue-ui-table-sparkline.js +1 -1
  79. package/dist/components/vue-ui-table.js +1 -1
  80. package/dist/components/vue-ui-thermometer.js +1 -1
  81. package/dist/components/vue-ui-timer.js +1 -1
  82. package/dist/components/vue-ui-tiremarks.js +1 -1
  83. package/dist/components/vue-ui-treemap.js +1 -1
  84. package/dist/components/vue-ui-vertical-bar.js +1 -1
  85. package/dist/components/vue-ui-waffle.js +1 -1
  86. package/dist/components/vue-ui-wheel.js +1 -1
  87. package/dist/components/vue-ui-word-cloud.js +1 -1
  88. package/dist/components/vue-ui-world.js +1 -1
  89. package/dist/components/vue-ui-xy-canvas.js +1 -1
  90. package/dist/components/vue-ui-xy.js +1 -1
  91. package/dist/{dom-to-png-Cp3WLHmJ.js → dom-to-png-D8t3Bm7s.js} +1 -1
  92. package/dist/{exposedLib-CMTeSmyW.js → exposedLib-DHtyEc_G.js} +1 -1
  93. package/dist/{img-8sM3sVWU.js → img-DiT4ivZ5.js} +1 -1
  94. package/dist/{labelUtils-Djp5nJtN.js → labelUtils-CG3uVXoZ.js} +1 -1
  95. package/dist/{lib-zDxoqrgo.js → lib-CV_IANZ6.js} +2 -2
  96. package/dist/package-DE5cU1Rg.js +1 -0
  97. package/dist/{pdf-Dlv_ks7R.js → pdf-BQSB1V3H.js} +1 -1
  98. package/dist/{render-common-DOYi0f4Z.js → render-common-BdZ5aRyn.js} +1 -1
  99. package/dist/{resolveChartConfig-BSo1Oe9n.js → resolveChartConfig-DZg-korK.js} +1 -1
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +1 -1
  103. package/dist/style.css +1 -1
  104. package/dist/{useNestedProp-CT9phgWx.js → useNestedProp-CB186vF2.js} +1 -1
  105. package/dist/{useObjectBindings-DM3xDKV3.js → useObjectBindings-Dse7YyAf.js} +1 -1
  106. package/dist/{usePrinter-CnyKPIFM.js → usePrinter-hLW3cv4N.js} +1 -1
  107. package/dist/utils.js +1 -1
  108. package/dist/vue-data-ui-DyYgLIZN.js +1 -0
  109. package/dist/vue-data-ui.js +1 -1
  110. package/dist/{vue-ui-3d-bar-DiaiNy-k.js → vue-ui-3d-bar-BZAoyWkc.js} +1 -1
  111. package/dist/{vue-ui-accordion-Dy5OVFKr.js → vue-ui-accordion-BNvevckx.js} +1 -1
  112. package/dist/{vue-ui-age-pyramid-OeUr1yxi.js → vue-ui-age-pyramid-DkA6vpU3.js} +1 -1
  113. package/dist/{vue-ui-annotator-DA_xAFql.js → vue-ui-annotator-DuQME4Hh.js} +1 -1
  114. package/dist/{vue-ui-bullet-B9lcCTVb.js → vue-ui-bullet-BVs8JX8S.js} +1 -1
  115. package/dist/{vue-ui-bump-DYajIrva.js → vue-ui-bump-DYdm3EvF.js} +1 -1
  116. package/dist/{vue-ui-candlestick-CdAZuNxo.js → vue-ui-candlestick-DZgxl4mW.js} +1 -1
  117. package/dist/{vue-ui-carousel-table-ihGH0LDH.js → vue-ui-carousel-table-BB7DsTUt.js} +1 -1
  118. package/dist/{vue-ui-chestnut-B2aNXFNO.js → vue-ui-chestnut-Bo1h5rBt.js} +1 -1
  119. package/dist/{vue-ui-chord-fAckHfOW.js → vue-ui-chord-B6_veyvO.js} +1 -1
  120. package/dist/{vue-ui-circle-pack-BWHVImkS.js → vue-ui-circle-pack-Bm7e2YNh.js} +1 -1
  121. package/dist/{vue-ui-cursor-DdXKXmhr.js → vue-ui-cursor-TidZDuSh.js} +1 -1
  122. package/dist/{vue-ui-dag-a0fNoIcJ.js → vue-ui-dag-BiN_AnLo.js} +1 -1
  123. package/dist/{vue-ui-dashboard-DkdYMB7n.js → vue-ui-dashboard-zepAVN_W.js} +1 -1
  124. package/dist/{vue-ui-digits-CL9SuIEI.js → vue-ui-digits-CXKKmfGj.js} +1 -1
  125. package/dist/{vue-ui-donut-BaEodt-3.js → vue-ui-donut-CKkBtyPK.js} +1 -1
  126. package/dist/{vue-ui-donut-DaYxdQmP.js → vue-ui-donut-DLDUpjDU.js} +2 -2
  127. package/dist/{vue-ui-donut-evolution-T8cRXKRQ.js → vue-ui-donut-evolution-BxMTdE5G.js} +1 -1
  128. package/dist/{vue-ui-dumbbell-B6HJxEZp.js → vue-ui-dumbbell-C8rNwdz0.js} +1 -1
  129. package/dist/{vue-ui-flow-BlTCVFr3.js → vue-ui-flow-Dru76A2O.js} +1 -1
  130. package/dist/{vue-ui-funnel-WgLFJadZ.js → vue-ui-funnel-D_u1h5S9.js} +1 -1
  131. package/dist/{vue-ui-galaxy-B3nuI6E8.js → vue-ui-galaxy-sBEH18Xj.js} +1 -1
  132. package/dist/{vue-ui-gauge-BwTP65O4.js → vue-ui-gauge-Do3RN8ne.js} +1 -1
  133. package/dist/{vue-ui-geo-CX3yH18H.js → vue-ui-geo-DDbtx_iJ.js} +1 -1
  134. package/dist/{vue-ui-gizmo-CNHcBsku.js → vue-ui-gizmo-eic6xLjB.js} +1 -1
  135. package/dist/{vue-ui-heatmap-CTdeoar7.js → vue-ui-heatmap-DlmJRsM8.js} +1 -1
  136. package/dist/{vue-ui-hill-DR5k8GWZ.js → vue-ui-hill-C5oiuIXh.js} +1 -1
  137. package/dist/{vue-ui-history-plot-C-9uH-Uj.js → vue-ui-history-plot-BJjnkWcT.js} +1 -1
  138. package/dist/{vue-ui-horizontal-bar-qqF7pL7U.js → vue-ui-horizontal-bar-BRDBJEl1.js} +1 -1
  139. package/dist/{vue-ui-kpi-DVcLXGqG.js → vue-ui-kpi-C-eed3jO.js} +1 -1
  140. package/dist/{vue-ui-label-D1Aog-zO.js → vue-ui-label-B4pkXBxc.js} +1 -1
  141. package/dist/{vue-ui-mini-loader-CX0Dx9tT.js → vue-ui-mini-loader-CElmv_iF.js} +1 -1
  142. package/dist/{vue-ui-molecule-B13qVX71.js → vue-ui-molecule-BeyQWZU9.js} +1 -1
  143. package/dist/{vue-ui-mood-radar-C1BtB8lg.js → vue-ui-mood-radar-Bh0kHfiZ.js} +1 -1
  144. package/dist/{vue-ui-nested-donuts-B90yrlJG.js → vue-ui-nested-donuts-FlnJfDaF.js} +1 -1
  145. package/dist/{vue-ui-onion-UMVO2DE_.js → vue-ui-onion-BjhSpjtW.js} +1 -1
  146. package/dist/vue-ui-parallel-coordinate-plot-CHV6XDti.js +9 -0
  147. package/dist/{vue-ui-quadrant-CPG6yAiu.js → vue-ui-quadrant-BaKSTJDv.js} +1 -1
  148. package/dist/{vue-ui-quick-chart-BTPb-Iz8.js → vue-ui-quick-chart-Nc2mVlle.js} +1 -1
  149. package/dist/{vue-ui-radar-Hd-pE9ih.js → vue-ui-radar-BzUfkLlC.js} +1 -1
  150. package/dist/{vue-ui-rating-C_YxQYa_.js → vue-ui-rating-BwWXvbAg.js} +1 -1
  151. package/dist/{vue-ui-relation-circle-CHYG7ZJl.js → vue-ui-relation-circle-nAZEg-BL.js} +1 -1
  152. package/dist/{vue-ui-ridgeline-DS1Gvljt.js → vue-ui-ridgeline-DxLZg1E2.js} +1 -1
  153. package/dist/{vue-ui-rings-B-Hb13Uu.js → vue-ui-rings-BOti0NGb.js} +1 -1
  154. package/dist/{vue-ui-scatter-BTgvOmuo.js → vue-ui-scatter-CCNMggyo.js} +1 -1
  155. package/dist/{vue-ui-skeleton-B-Acw3CC.js → vue-ui-skeleton-DI7pcimU.js} +1 -1
  156. package/dist/{vue-ui-smiley-Ciwqt6ek.js → vue-ui-smiley-D70sJZWl.js} +1 -1
  157. package/dist/{vue-ui-spark-trend-CYqy6c0S.js → vue-ui-spark-trend-BVtfEalS.js} +1 -1
  158. package/dist/{vue-ui-sparkbar-CTXIgjmP.js → vue-ui-sparkbar-CdsLI7Ke.js} +1 -1
  159. package/dist/{vue-ui-sparkgauge-CObOL6s2.js → vue-ui-sparkgauge-wmj5Wnnp.js} +1 -1
  160. package/dist/{vue-ui-sparkhistogram-ClFyDez-.js → vue-ui-sparkhistogram-D8S_P_P4.js} +1 -1
  161. package/dist/{vue-ui-sparkline-DP_nYlW8.js → vue-ui-sparkline-BjsJnS_9.js} +1 -1
  162. package/dist/{vue-ui-sparkstackbar-B2f0ePMg.js → vue-ui-sparkstackbar-ZN8LXzoV.js} +1 -1
  163. package/dist/{vue-ui-stackbar-nMWHZ-f0.js → vue-ui-stackbar-Dx_EN3pT.js} +1 -1
  164. package/dist/{vue-ui-stackline-B95y6Zc5.js → vue-ui-stackline-DW-oxJvA.js} +1 -1
  165. package/dist/{vue-ui-strip-plot-gFNC4r-X.js → vue-ui-strip-plot-D7kjJ3Qh.js} +1 -1
  166. package/dist/{vue-ui-table-Br2JgD_L.js → vue-ui-table-CaFVLHxE.js} +1 -1
  167. package/dist/{vue-ui-table-heatmap-Btu2ejF4.js → vue-ui-table-heatmap-Ctf7Rhqo.js} +1 -1
  168. package/dist/vue-ui-table-sparkline-C0I0cXBS.js +1 -0
  169. package/dist/{vue-ui-thermometer-C6u1eLfo.js → vue-ui-thermometer-B6og15Al.js} +1 -1
  170. package/dist/{vue-ui-timer-DLgsfB1U.js → vue-ui-timer-DgXvO2Q7.js} +2 -2
  171. package/dist/{vue-ui-tiremarks-8B9uE1Bx.js → vue-ui-tiremarks-Dh6fZ454.js} +1 -1
  172. package/dist/{vue-ui-treemap-C4Mot-Os.js → vue-ui-treemap-7JuvN6P_.js} +1 -1
  173. package/dist/{vue-ui-waffle-BwcwNpf7.js → vue-ui-waffle-BqvGzfse.js} +1 -1
  174. package/dist/{vue-ui-wheel-B3OGCXg7.js → vue-ui-wheel-SdwJqKA7.js} +1 -1
  175. package/dist/{vue-ui-word-cloud-BPIyMBXq.js → vue-ui-word-cloud-1WVV_k12.js} +1 -1
  176. package/dist/{vue-ui-world-Cp0DeauH.js → vue-ui-world-DjMy_utm.js} +1 -1
  177. package/dist/{vue-ui-xy-BOE1jvUS.js → vue-ui-xy-DaozHMfg.js} +1 -1
  178. package/dist/{vue-ui-xy-canvas-CaxxiKSa.js → vue-ui-xy-canvas-CegvS9RR.js} +1 -1
  179. package/dist/{vue-ui-xy-DSyKSn4L.js → vue-ui-xy-rGHSI1am.js} +3 -3
  180. package/dist/vue_ui_donut_evolution-CVoh3twl.js +1 -0
  181. package/dist/vue_ui_quick_chart-BRfcRW6Z.js +1 -0
  182. package/package.json +1 -1
  183. package/dist/SlicerPreview-GFRs2EWB.js +0 -1
  184. package/dist/package-DIR2F6AE.js +0 -1
  185. package/dist/vue-data-ui-BG41UScx.js +0 -1
  186. package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.js +0 -9
  187. package/dist/vue-ui-table-sparkline-B9mYHAxp.js +0 -1
  188. package/dist/vue_ui_donut_evolution-nzVwNQYv.js +0 -1
  189. package/dist/vue_ui_quick_chart-Da1GwklM.js +0 -1
@@ -1 +0,0 @@
1
- import{Dt as e,I as t,P as n,U as r,V as i,W as a,X as o,an as s,kt as c,r as ee,t as te}from"./lib-zDxoqrgo.js";import{t as l}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{i as ne,l as u,t as re}from"./useResponsive-D2CPcpda.js";import{t as ie}from"./BaseIcon-Cz30ODFA.js";import{t as ae}from"./DefGrad-DKMq1REY.js";import{Fragment as d,computed as f,createCommentVNode as p,createElementBlock as m,createElementVNode as h,createVNode as oe,guardReactiveProps as se,mergeProps as ce,nextTick as le,normalizeClass as ue,normalizeProps as de,normalizeStyle as g,onBeforeUnmount as fe,onMounted as pe,onUpdated as me,openBlock as _,ref as v,renderList as y,renderSlot as he,toDisplayString as ge,unref as _e,useCssVars as ve,vModelText as ye,watch as b,withDirectives as be,withKeys as xe,withModifiers as x}from"vue";var Se=[`data-minimap`],Ce={class:`vue-data-ui-slicer-labels`,style:{position:`relative`,"z-index":`1`,"pointer-events":`none`}},we={key:0,style:{width:`100%`,position:`relative`,"pointer-events":`all`}},Te={key:0,class:`minimap`,style:{width:`100%`}},Ee=[`xmlns`,`viewBox`],De=[`id`],Oe=[`x`,`width`,`height`],ke=[`width`,`height`,`stroke`],Ae=[`d`,`stroke`],je=[`d`,`fill`],Me=[`x`,`y`,`width`,`height`,`fill`],Ne=[`d`,`stroke`,`stroke-dasharray`],Pe=[`cx`,`cy`,`fill`,`stroke`],Fe=[`cx`,`cy`,`fill`,`stroke`],Ie=[`x`,`width`,`height`,`fill`,`rx`],Le=[`x`,`width`,`height`,`rx`,`fill`],Re=[`x`,`width`,`height`,`fill`,`rx`,`aria-valuemin`,`aria-valuemax`,`aria-valuenow`,`aria-valuetext`],ze=[`x2`,`y1`,`y2`,`stroke`],Be={key:`merged-tree`},Ve=[`d`,`stroke`],He=[`cx`,`cy`,`stroke`,`fill`],Ue=[`cx`,`cy`,`stroke`,`fill`],We={key:`split-tree`},Ge=[`x`,`y`,`width`,`height`,`fill`],Ke=[`d`,`stroke`,`stroke-dasharray`],qe=[`cx`,`cy`,`fill`,`stroke`],Je=[`width`,`height`],Ye=[`transform`],Xe=[`x`,`y`,`width`,`height`],Ze=[`x`,`width`,`height`,`fill`,`stroke`,`stroke-width`],Qe=[`transform`],$e=[`width`,`height`],et=[`fill`,`stroke`],tt=[`stroke`],nt=[`fill`],rt=[`transform`],it=[`y`,`width`,`height`],at=[`width`,`height`,`fill`,`stroke`,`stroke-width`],ot={key:0,class:`compact-handle-icon`,style:{"pointer-events":`none`}},st=[`width`,`height`],ct=[`fill`,`stroke`],lt=[`stroke`],ut=[`fill`],dt={key:`merged-tree`,style:{"pointer-events":`none`}},ft=[`cx`,`cy`,`stroke`,`fill`],pt=[`cx`,`cy`,`fill`],mt=[`cx`,`cy`,`stroke`,`fill`],ht=[`cx`,`cy`,`fill`],gt={key:1,style:{"pointer-events":`none`}},_t=[`d`,`stroke`,`stroke-dasharray`],vt=[`cx`,`cy`,`fill`,`stroke`],yt=[`cx`,`cy`,`stroke`,`fill`],bt=[`cx`,`cy`,`fill`],xt=[`cx`,`cy`,`stroke`,`fill`],St=[`cx`,`cy`,`fill`],Ct=[`cx`,`cy`,`fill`,`stroke`],wt=[`step`,`min`,`max`,`tabindex`],Tt=[`step`,`min`,`max`,`tabindex`],Et=48,Dt=48,Ot=/*#__PURE__*/ l({__name:`SlicerPreview`,props:{uuid:{type:String,default:``},immediate:{type:Boolean,default:!0},background:{type:String,default:`#FFFFFF`},borderColor:{type:String,default:`#FFFFFF`},fontSize:{type:Number,default:14},labelLeft:{type:[String,Number],default:``},labelRight:{type:[String,Number],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`},refreshStartPoint:{type:Number,default:0},refreshEndPoint:{type:Number,default:null},enableRangeHandles:{type:Boolean,default:!1},enableSelectionDrag:{type:Boolean,default:!0},verticalHandles:{type:Boolean,default:!1},timeLabels:{type:Array},isPreview:{type:Boolean,default:!1},preciseLabels:{type:Array,default(){return[]}},usePreciseLabels:{type:Boolean,default:!1},selectedSeries:{type:Object},customFormat:{type:[Function,null]},minimapCompact:{type:Boolean,default:!1},allMinimaps:{type:Array,default(){return[]}},minimapMerged:{type:Boolean,default:!1},minimapFrameColor:{type:String,default:`#e1e5e8`},cutNullValues:{type:Boolean,default:!1},focusOnDrag:{type:Boolean,default:!1},focusRangeRatio:{type:Number,default:.1},minScale:{type:Number,default:null},maxScale:{type:Number,default:null},forceZeroCenter:{type:Boolean,default:!1},maxWidth:{type:Number,default:null},minimapLeftInsetRatio:{type:Number,default:null},minimapRightInsetRatio:{type:Number,default:null},isCursorPointer:{type:Boolean,default:!1},additionalMinimapHeight:{type:Number,default:0},handleType:{type:String,default:``},handleWidth:{type:Number,default:20},handleBorderWidth:{type:Number,default:1},handleIconColor:{type:String,default:null},handleBorderColor:{type:String,default:null},handleFill:{type:String,default:null},precision:{type:Number,default:0},useValueRange:{type:Boolean,default:!1}},emits:[`futureStart`,`futureEnd`,`update:start`,`update:end`,`reset`,`trapMouse`,`trapMouseValue`],setup(l,{expose:Ot,emit:kt}){ve(e=>({v056d5e0e:an.value,c53a32fc:L.value,v53db0a73:sn.value,v7d9827b2:l.selectColor,v182d6940:on.value}));let S=l;function C(e){let t=Number(e)||0;return S.precision<=0?Math.round(t):Number(t.toFixed(S.precision))}let w=v(null),T=v(S.min),E=v(S.max),D=f(()=>!!S.allMinimaps.length),At=f(()=>c(S.minimapLeftInsetRatio)&&c(S.minimapRightInsetRatio)),jt=f(()=>{let e=Math.min(1,Math.max(0,S.minimapLeftInsetRatio))*100,t=Math.min(1,Math.max(0,S.minimapRightInsetRatio))*100;return{padding:At.value?`0 ${t}% 0 ${e}%`:`0 48px`,maxWidth:S.maxWidth&&!At.value?`${S.maxWidth}px`:void 0,margin:S.maxWidth&&!At.value?`0 auto`:void 0}}),Mt=v(o()),O=v(!1),k=f(()=>D.value&&S.minimapCompact),Nt=v(null),A=v(null),Pt=v(!1),Ft=v(0),It=v(0),Lt=v(null),Rt=v(!1),zt=f(()=>Nt.value!==null),Bt=f(()=>S.useValueRange?E.value:E.value-1),Vt=f(()=>Math.max(1,Number(S.max)-Number(S.min)));function Ht(e){return(Number(e)-Number(S.min))/Vt.value*100}function Ut(e){return R.value.width*(Ht(e)/100)}function Wt(e){let t=Math.min(1,Math.max(0,e/Math.max(1,R.value.width)));return C(Number(S.min)+Vt.value*t)}function Gt(e){let t=S.useValueRange?e?.y:e;return c(t)?Number(t):null}function Kt(e,t){return S.useValueRange?Number(e?.x):t+Number(S.min)}function qt(e,t){return S.useValueRange?Ut(Kt(e,t)):V.value*t+(S.minimapCompact?0:V.value/2)}let Jt=f(()=>Math.min(40,Math.max(20,S.handleWidth))),Yt=v(0),Xt=u(e=>F(`futureStart`,e),0),Zt=u(e=>F(`futureEnd`,e),0),j=f(()=>S.precision>0?1/10**S.precision:1),M=f({get:()=>T.value,set(e){let t=Math.min(Number(e),Number(E.value)-j.value);t!==T.value&&(T.value=t,K.value&&(K.value.value=String(t)),S.immediate?F(`update:start`,Number(t)):O.value&&Xt(t))}}),N=f({get:()=>E.value,set(e){let t=Math.max(Number(e),Number(T.value)+j.value);t!==E.value&&(E.value=t,q.value&&(q.value.value=String(t)),S.immediate?F(`update:end`,Number(t)):O.value&&Zt(t))}});function P(){clearTimeout(null),S.immediate||(F(`update:start`,Number(T.value)),F(`update:end`,Number(E.value))),O.value=!1}let Qt=f(()=>S.refreshEndPoint===null?S.max:S.refreshEndPoint),F=kt,$t=f(()=>{if(S.useValueRange)return Ht(T.value);if(k.value){let e=Math.max(1,z.value-1);return Fn.value/e*100}let e=Math.max(1,S.max-S.min);return(T.value-S.min)/e*100}),en=f(()=>{if(S.useValueRange)return Ht(E.value);if(k.value){let e=Math.max(1,z.value-1);return In.value/e*100}let e=Math.max(1,S.max-S.min);return(E.value-S.min)/e*100}),tn=f(()=>($t.value+en.value)/2),nn=f(()=>{if(!w.value)return!1;let e=Math.max(1,S.max-S.min);return w.value.getBoundingClientRect().width*((T.value-S.min)/e)-yr.value/2<0}),rn=f(()=>{if(!w.value)return!1;let e=Math.max(1,S.max-S.min),t=w.value.getBoundingClientRect().width;return t*((E.value-S.min)/e)+br.value/2>t}),I=f(()=>{let e=rn.value?`calc(${tn.value}% - ${Dr.value.width}px)`:nn.value?`calc(${tn.value}% - 8px)`:`calc(${tn.value}% - ${Dr.value.width/2}px)`;return{left:`${$t.value}%`,width:`${Math.max(0,en.value-$t.value)}%`,background:S.selectColor,tooltipLeft:`calc(${$t.value}% - ${nn.value?9:yr.value/2}px)`,tooltipRight:`calc(${en.value}% - ${rn.value?br.value-9:br.value/2}px)`,tooltipCenter:e,arrowLeft:!nn.value,arrowRight:!rn.value}}),an=f(()=>S.inputColor),on=f(()=>S.background),sn=f(()=>`${S.selectColor}33`),L=f(()=>S.borderColor),cn=f(()=>Number(S.max)>Number(S.min));function ln(){F(`reset`)}b(()=>S.min,e=>{Number(T.value)<Number(e)&&(T.value=Number(e)),Number(E.value)<Number(e)&&(E.value=Number(e))}),b(()=>S.max,e=>{Number(T.value)>Number(e)&&(T.value=Number(e)),Number(E.value)>Number(e)&&(E.value=Number(e))});let un=v(null),R=v({width:1,height:1}),dn=v(null);pe(()=>{if(D.value){let e=u(()=>{if(!un.value)return;let{width:e,height:t}=re({chart:un.value}),n=Math.max(0,Math.round(e)),r=Math.max(0,Math.round(t-47));(n!==R.value.width||r!==R.value.height)&&(R.value.width=n,R.value.height=r+S.additionalMinimapHeight)},0);dn.value=new ResizeObserver(e),dn.value.observe(un.value)}}),fe(()=>{dn.value&&dn.value.disconnect()});let z=f(()=>Math.max(1,S.max-S.min));function fn(e){let t=Math.floor(e-S.min);return Math.min(Math.max(0,t),z.value)}function pn(e){let t=Math.ceil(e-S.min);return Math.min(Math.max(0,t),z.value)}let B=f(()=>fn(T.value)),mn=f(()=>pn(E.value)),hn=f(()=>Math.max(...S.allMinimaps.map(e=>e.series.length))),gn=f(()=>D.value&&S.minimapCompact?40:0),_n=f(()=>gn.value/2);f(()=>Math.max(1,R.value.width-_n.value*2));let V=f(()=>{if(S.minimapCompact&&!S.useValueRange)return R.value.width/Math.max(1,z.value-1);let e=Math.max(1,hn.value-+!!S.minimapCompact);return R.value.width/e}),vn=f(()=>S.allMinimaps.length?S.allMinimaps.filter(e=>e.type===`bar`&&e.isVisible).length:0),yn=f(()=>V.value/(vn.value||1)*.8);function bn(e,t,n){let r=yn.value,i=Math.max(1,vn.value),a=hn.value-1;return n===0?e+r/2*t:n===a?e-r/2*(i-t):e-i*r/2+t*r}function xn(e,t){return[0,hn.value-1].includes(t)?yn.value/2:yn.value}let Sn=f(()=>{let e=[];if(Array.isArray(S.minimap)&&S.minimap.length&&S.minimapMerged&&e.push(...S.minimap.map(Gt).filter(Number.isFinite)),Array.isArray(S.allMinimaps)&&S.allMinimaps.length)for(let t of S.allMinimaps)t?.isVisible&&Array.isArray(t?.series)&&e.push(...t.series.map(Gt).filter(Number.isFinite));return e.length?{min:Math.min(...e),max:Math.max(...e)}:{min:0,max:1}}),Cn=f(()=>{if(S.minScale==null&&S.forceZeroCenter)return null;let e=Number(S.minScale);return Number.isFinite(e)?e:null}),wn=f(()=>{if(S.maxScale==null&&S.forceZeroCenter)return null;let e=Number(S.maxScale);return Number.isFinite(e)?e:null}),Tn=f(()=>Cn.value!==null&&wn.value!==null),En=f(()=>{let{min:e,max:t}=Sn.value,n=Cn.value,r=wn.value,i,a;return n!==null&&r!==null?(i=Math.min(n,e),a=Math.max(r,t)):(i=n===null?e:n,a=r===null?t:r),Number.isFinite(i)||(i=0),Number.isFinite(a)||(a=1),i===a?a=i+1:i>a&&([i,a]=[a,i]),{min:i,max:a}}),Dn=f(()=>En.value.min),On=f(()=>En.value.max),kn=f(()=>Dn.value<0&&On.value>0||On.value<=0?Dn.value:0),An=e=>{let t=Math.max(1,R.value.height);return Mn(Dn.value,On.value,t,Tn.value)(e)},jn=f(()=>An(0));function Mn(e,t,n,r=!1){let i=(e,t,n)=>Math.max(t,Math.min(n,e)),a=1e-9,o=Math.max(a,t-e);if(r)return t=>n-(t-e)/o*n;if(t<=0){let t=Math.max(a,0-e);return r=>n-(r-e)/t*n}if(e>=0){let e=Math.max(a,t-0);return t=>n-(t-0)/e*n}{let r=Math.max(a,Math.max(Math.abs(e),Math.abs(t)));return e=>(1-(i(e/r,-1,1)+1)/2)*n}}function Nn(e,o=!1,s=!1){if(!e||!e.length)return{fullSet:``,points:[],selectionSet:``,sliced:[],firstPlot:null,lastPlot:null,hasFull:!1,hasSelection:!1,fullMarkers:[],selectionMarkers:[],dashed:!1};let c=Math.max(1,R.value.height),ee=Mn(Dn.value,On.value,c,Tn.value),te=e.length,l=Math.min(Math.max(0,B.value),Math.max(0,te-1)),ne=Math.min(te,Math.max(l+1,mn.value)),u=e.map((e,t)=>{let n=Gt(e),r=Number.isFinite(n),i=qt(e,t),a=Tn.value?((e,t,n)=>Math.max(t,Math.min(n,e)))(0,Dn.value,On.value):0,o=ee(a);return{x:i,y:r?ee(n):NaN,v:n,value:r?n:null,y0:o,i:t,xValue:Kt(e,t)}}),re=e=>e>=0&&e<u.length&&Number.isFinite(u[e]?.value),ie=u.filter(e=>Number.isFinite(e.value)&&!re(e.i-1)&&!re(e.i+1)),ae=S.useValueRange?ie.filter(e=>e.xValue>=Number(T.value)&&e.xValue<=Number(E.value)):ie.filter(e=>e.i>=l&&e.i<ne),d=S.useValueRange?u.filter(e=>e.xValue>=Number(T.value)&&e.xValue<=Number(E.value)):u.slice(l,ne);return{fullSet:u.length>=2?s?i(S.cutNullValues?u:u.filter(e=>e.value!=null)):S.smoothMinimap||o?S.cutNullValues?t(u):n(u.filter(e=>e.value!=null)):S.cutNullValues?a(u):r(u.filter(e=>e.value!=null)):``,points:u,selectionSet:d.length>=2?s?i(S.cutNullValues?d:d.filter(e=>e.value!=null)):S.smoothMinimap||o?S.cutNullValues?t(d):n(d.filter(e=>e.value!=null)):S.cutNullValues?a(d):r(d.filter(e=>e.value!=null)):``,sliced:d,firstPlot:S.useValueRange?d[0]||null:u[l]||null,lastPlot:S.useValueRange?d[d.length-1]||null:u[Math.max(0,ne-1)]||null,hasFull:u.length>=2,hasSelection:d.length>=2,fullMarkers:ie,selectionMarkers:ae}}let H=f(()=>S.minimap.length?Nn(S.minimap):[]),U=f(()=>S.allMinimaps.length?S.allMinimaps.map((e,t)=>{let n=Nn(e?.series||[],!!e.smooth,!!e.useStepper),r=e?.id??e?.name??t;return{key:typeof r==`object`?JSON.stringify(r):String(r),color:e?.color,...n,temperatureColors:e?.temperatureColors??null,isVisible:e.isVisible,type:e.type||void 0,dashed:e.dashed??!1,useStepper:!!e.useStepper}}):[]),W=f(()=>{if(S.useValueRange){let e=Ut(T.value),t=Ut(E.value);return{x:e,width:Math.max(0,t-e)}}let e=B.value,t=Math.max(e+1,mn.value);return{x:V.value*e+(S.minimapCompact?0:V.value/2),width:V.value*(t-e)-V.value}}),G=v(S.minimapSelectedIndex),Pn=e=>Math.round(S.min+e),Fn=f({get(){return k.value?B.value:Number(M.value)},set(e){if(k.value){if(S.useValueRange){let t=C(e);Kn(Math.min(Math.max(Number(S.min),t),Number(E.value)-j.value));return}let t=Math.round(+e||0);Kn(Pn(t))}else{let t=C(e),n=Number(E.value)-j.value,r=Math.min(Math.max(S.min,t),n);K.value&&(K.value.valueAsNumber=r),Kn(r)}}}),In=f({get(){return k.value?Math.max(B.value,mn.value-1):Number(N.value)},set(e){if(k.value){if(S.useValueRange){let t=C(e);Jn(Math.max(Number(T.value)+j.value,Math.min(t,Number(S.max))));return}let t=Math.round(+e||0);Jn(Pn(t+1))}else{let t=C(e),n=Number(T.value)+j.value,r=Math.max(n,Math.min(t,S.max));q.value&&(q.value.valueAsNumber=r),Jn(r)}}}),Ln=0;function Rn(e,t){if(t===Ln){if(S.useValueRange){G.value=Number.isFinite(Number(e))?Ut(Number(e)):null;return}G.value=fn(S.valueStart)+e}}let zn=ne(Rn,60);b(()=>S.minimapSelectedIndex,(e,t)=>{if(Ln+=1,[null,void 0].includes(e)){G.value=null;return}e!==t&&zn(e,Ln)},{immediate:!0});function Bn(e){if(zt.value)return;G.value=e;let t=B.value,n=mn.value;e>=t&&e<n&&!Q.value&&F(`trapMouse`,e-t)}function Vn(e){let t=Wt(e),n=S.allMinimaps.flatMap(e=>(e.series||[]).map((e,n)=>({point:e,index:n,x:Number(e?.x),distance:Math.abs(Number(e?.x)-t)}))).filter(e=>Number.isFinite(e.x));return n.length?n.reduce((e,t)=>t.distance<e.distance?t:e,n[0]):null}function Hn(e){if(!cn.value||zt.value)return;let t=Ur(e.clientX);if(S.useValueRange){let e=Vn(t);if(!e){Un();return}G.value=Ut(e.x),F(`trapMouse`,e.index),F(`trapMouseValue`,e.x);return}Bn(Wr(t))}function Un(){G.value=null,!zt.value&&(F(`trapMouse`,null),F(`trapMouseValue`,null))}let K=v(null),q=v(null);function Wn(e){if(typeof e==`object`&&e&&`target`in e){let t=e.target,n=`valueAsNumber`in t?t.valueAsNumber:+t.value;return Number.isFinite(n)?n:NaN}let t=+e;return Number.isFinite(t)?t:NaN}let Gn=0;function Kn(e){O.value=!0;let t=Wn(e);Number.isFinite(t)&&(cancelAnimationFrame(Gn),Gn=requestAnimationFrame(()=>{M.value=t}))}let qn=0;function Jn(e){O.value=!0;let t=Wn(e);Number.isFinite(t)&&(cancelAnimationFrame(qn),qn=requestAnimationFrame(()=>{N.value=t}))}function Yn(e,t){let n=Wn(e),r=Wn(t);if(!Number.isFinite(n)||!Number.isFinite(r))return;cancelAnimationFrame(Gn),cancelAnimationFrame(qn);let i=Number(S.min),a=Number(S.max),o=j.value,s=C(Math.max(i,Math.min(n,a))),c=C(Math.max(i,Math.min(r,a)));s=Math.min(s,a-o),c=Math.max(c,s+o),c=Math.min(c,a),c<=s&&(s=i,c=a),T.value=s,E.value=c,K.value&&(K.value.value=String(s)),q.value&&(q.value.value=String(c))}fe(()=>{cancelAnimationFrame(Gn),cancelAnimationFrame(qn)});let Xn=f(()=>S.valueEnd-S.valueStart),Zn=f(()=>Xn.value<S.max-S.min),Qn=v(!1),$n=v(null),er=f(()=>(Yt.value-48)/(S.max-S.min)*Xn.value),tr=f(()=>Math.max(1,Yt.value-Et-er.value)),nr=f(()=>Math.max(1,S.max-S.min-Xn.value)),rr=f(()=>nr.value/tr.value),ir=v(0),ar=v(0),or=v(0),sr=v(0),J=null,Y=null,X=null,Z=null,cr=v(S.min);function lr(e){if(!w.value)return S.min;let t=w.value.getBoundingClientRect(),n=t.left+Et/2,r=t.right-Et/2,i=Math.max(1,r-n),a=(Math.max(n,Math.min(e,r))-n)/i,o=Math.max(1,S.max-S.min);return Math.round(S.min+a*o)}let ur=async e=>{if(O.value=!0,xr.value=!0,!S.enableSelectionDrag)return;let t=e.type===`touchstart`;t||e.stopPropagation();let n=t&&e.targetTouches&&e.targetTouches[0]?e.targetTouches[0]:null,r=t?n?n.target:null:e.target;if(!r||!(r instanceof Element)||r.classList?.contains(`range-handle`)||r.classList?.contains(`vue-ui-zoom-compact-minimap-handle`)||r.closest(`.vue-ui-zoom-compact-minimap-handle`))return;Qn.value=!0;let i=t?n?n.clientX:0:e.clientX;if($n.value=i,ir.value=i,S.focusOnDrag&&!Zn.value&&w.value&&!Rt.value){Rt.value=!0;try{cr.value=lr(i);let e=Math.min(.95,Math.max(.05,S.focusRangeRatio)),t=Number(S.max)-Number(S.min),n=Math.max(1,Math.round(t*e)),r=Math.floor(n/2),a=cr.value-r;a=Math.max(Number(S.min),Math.min(a,Number(S.max)-n));let o=Math.min(Number(S.max),a+n);M.value=a,N.value=o,Xt(a),Zt(o),s(w.value,`mouseup`),await le(),s(w.value,`mousedown`,{clientX:i})}finally{Rt.value=!1}return}ar.value=T.value,or.value=E.value,sr.value=rr.value,J=t?`touchmove`:`mousemove`,Y=t?`touchend`:`mouseup`,X=t?fr:dr,Z=t?hr:mr,window.addEventListener(J,X,{passive:!1}),window.addEventListener(Y,Z)};function dr(e){Qn.value&&pr(e.clientX)}function fr(e){if(!Qn.value||!w.value)return;let t=e.target;if(!(t instanceof Element)||!w.value.contains(t)||t.classList&&t.classList.contains(`range-handle`))return;e.preventDefault();let n=e.targetTouches&&e.targetTouches[0]?e.targetTouches[0]:null;n&&pr(n.clientX)}function pr(e){if(!Qn.value)return;let t=lr(ir.value),n=lr(e)-t,r=Math.round(ar.value+n);r=Math.max(S.min,Math.min(r,S.max-Xn.value));let i=r+Xn.value;M.value=r,N.value=i,Xt(r),Zt(i)}function mr(){gr()}function hr(){gr()}function gr(){Qn.value=!1,J&&X&&window.removeEventListener(J,X),Y&&Z&&window.removeEventListener(Y,Z),J=Y=null,X=Z=null,P()}let Q=v(!1),_r=v(null),vr=v(null),yr=v(1),br=v(1),xr=v(!1);function Sr(){if(_r.value){let e=Math.round(_r.value.getBoundingClientRect().width);e!==yr.value&&(yr.value=e)}}function Cr(){if(vr.value){let e=Math.round(vr.value.getBoundingClientRect().width);e!==br.value&&(br.value=e)}}me(()=>{Sr(),Cr()});let wr=v(0);function Tr(e){wr.value=+(e===`start`)}let Er=v(!1),Dr=v({width:0,left:0});b([T,E],async()=>{if(await le(),!_r.value||!vr.value){Er.value=!1,Dr.value={width:0,left:0};return}let e=_r.value.getBoundingClientRect(),t=vr.value.getBoundingClientRect();Er.value=e.x+e.width>t.x;let n=e.x+e.width/2,r=t.x+t.width/2,i=e.width+t.width,a=(n+r)/2;Dr.value={width:i,left:a-i/2}}),me(()=>{Sr(),Cr()}),b(()=>S.labelLeft,()=>{le(Sr)},{deep:!0}),b(()=>S.labelRight,()=>{le(Cr)},{deep:!0});let $=f(()=>{let t=``,n=``,r=!1;if(e(S.customFormat))try{let e=S.customFormat({absoluteIndex:T.value,seriesIndex:T.value,datapoint:S.selectedSeries,timeLabel:S.preciseLabels[T.value],side:`left`}),i=S.customFormat({absoluteIndex:Bt.value,seriesIndex:-1,datapoint:S.selectedSeries,timeLabel:S.useValueRange?null:S.preciseLabels[Bt.value],side:`right`});typeof e==`string`&&typeof i==`string`&&(t=e,n=i,r=!0)}catch{r=!1}if(!r){let e=S.useValueRange?{text:String(Math.round(T.value*1e3)/1e3)}:S.usePreciseLabels?S.preciseLabels.find(e=>e.absoluteIndex===T.value):S.timeLabels.find(e=>e.absoluteIndex===T.value),r=S.useValueRange?{text:String(Math.round(E.value*1e3)/1e3)}:S.usePreciseLabels?S.preciseLabels.find(e=>e.absoluteIndex===Bt.value):S.timeLabels.find(e=>e.absoluteIndex===Bt.value);t=e?e.text:``,n=r?r.text:``}return{left:t,right:n}});fe(()=>{dn.value&&dn.value.disconnect(),J&&X&&window.removeEventListener(J,X),Y&&Z&&window.removeEventListener(Y,Z),J=Y=null,X=Z=null,clearTimeout(null)});let Or=f(()=>{if(!cn.value||G.value===null)return null;if(S.useValueRange){let e=G.value;return e<W.value.x||e>W.value.x+W.value.width?null:{x1:e,x2:e,y1:0,y2:Math.max(R.value.height,0),stroke:S.minimapIndicatorColor,"stroke-linecap":`round`,"stroke-dasharray":2,"stroke-width":1}}if(G.value>=B.value&&G.value<mn.value){let e=G.value,t=V.value*e+(S.minimapCompact?0:V.value/2);return{x1:t,x2:t,y1:0,y2:Math.max(R.value.height,0),stroke:S.minimapIndicatorColor,"stroke-linecap":`round`,"stroke-dasharray":2,"stroke-width":1}}return null}),kr=f(()=>Number(T.value)<Number(E.value)-1),Ar=f(()=>Number(T.value)>Number(S.min)),jr=f(()=>Number(E.value)<Number(S.max)),Mr=f(()=>Number(E.value)>Number(T.value)+1);function Nr(e){let t=Number(T.value)+e;e>0&&!kr.value||e<0&&!Ar.value||(O.value=!0,M.value=t,P())}function Pr(e){let t=Number(E.value)+e;e>0&&!jr.value||e<0&&!Mr.value||(O.value=!0,N.value=t,P())}let Fr={plus:()=>Nr(1),minus:()=>Nr(-1),canPlus:kr,canMinus:Ar},Ir={plus:()=>Pr(1),minus:()=>Pr(-1),canPlus:jr,canMinus:Mr};function Lr(e){if(!e||Rr(e.target))return;let t=e.key,n=t===`ArrowLeft`||t===`ArrowDown`||t===`-`||t===`Subtract`,r=t===`ArrowRight`||t===`ArrowUp`||t===`+`||t===`Add`;(n||r)&&(e.preventDefault(),e.stopPropagation(),r?(Fr.plus(),Ir.plus()):(Fr.minus(),Ir.minus()))}function Rr(e){return e instanceof HTMLElement&&(e.isContentEditable||e.tagName===`INPUT`||e.tagName===`TEXTAREA`||e.tagName===`SELECT`)}function zr(e){if(!D.value||!S.minimapCompact)return;let t=w.value;if(!t)return;let n=e===`start`?`[data-cy="slicer-compact-handle-left"]`:`[data-cy="slicer-compact-handle-right"]`,r=t.querySelector(n);r&&r instanceof SVGElement&&typeof r.focus==`function`&&r.focus()}function Br(e,t){if(!t||Rr(t.target))return;let n=t.key,r=n===`ArrowLeft`||n===`ArrowDown`||n===`-`||n===`Subtract`,i=n===`ArrowRight`||n===`ArrowUp`||n===`+`||n===`Add`;(r||i)&&(t.preventDefault(),t.stopPropagation(),e===`start`?i?Fr.plus():Fr.minus():i?Ir.plus():Ir.minus(),le(()=>zr(e)))}let Vr=f(()=>({tabindex:0,role:`slider`,"aria-label":`Range start`,"aria-valuemin":Number(S.min),"aria-valuemax":Math.max(Number(S.min),Number(E.value)-1),"aria-valuenow":Number(T.value)})),Hr=f(()=>({tabindex:0,role:`slider`,"aria-label":`Range end`,"aria-valuemin":Math.min(Number(S.max),Number(T.value)+1),"aria-valuemax":Number(S.max),"aria-valuenow":Number(E.value)}));function Ur(e){if(!Lt.value)return 0;let t=Lt.value.getBoundingClientRect();if(!t.width)return 0;let n=(e-t.left)/t.width;return Math.min(1,Math.max(0,n))*R.value.width}function Wr(e){let t=Math.max(0,z.value-1),n=Math.max(1,R.value.width),r=Math.min(1,Math.max(0,e/n));return Math.min(t,Math.max(0,Math.round(r*t)))}function Gr(e,t){let n=Math.min(Math.max(0,t),Math.max(1,R.value.width));if(S.useValueRange){let t=Wt(n);if(e===`start`){let e=Math.min(t,Number(E.value)-j.value);M.value=e,Xt(e);return}if(e===`end`){let e=Math.max(Number(T.value)+j.value,t),n=Math.min(Number(S.max),e);N.value=n,Zt(n);return}}let r=Wr(n);if(e===`start`){let e=Math.min(S.min+r,Number(E.value)-1);M.value=e,Xt(e);return}if(e===`end`){let e=Math.max(Number(T.value)+1,S.min+r+1),t=Math.min(S.max,e);N.value=t,Zt(t)}}function Kr(e=!1){let t=Pt.value;Nt.value=null,A.value=null,Pt.value=!1,Ft.value=0,It.value=0,e&&t&&P()}function qr(e,t){if(Nt.value!==e||A.value!==t.pointerId||!un.value)return;if(t.pointerType===`mouse`&&!(t.buttons&1)){Kr(!0);return}t.preventDefault();let n=t.clientX-Ft.value;if(!Pt.value){if(Math.abs(n)<4)return;Pt.value=!0,O.value=!0,xr.value=!0}let r=Ur(t.clientX)-It.value;Gr(e,e===`start`?r+Jt.value:r)}function Jr(e,t){if(Nt.value!==e||A.value!==t.pointerId)return;let n=t.currentTarget,r=t.pointerId;Kr(!0),n?.hasPointerCapture?.(r)&&n.releasePointerCapture(r)}function Yr(e,t){Nt.value===e&&A.value===t.pointerId&&Kr(!0)}function Xr(e,t){if(!D.value||!S.minimapCompact||!un.value||t.pointerType===`mouse`&&t.button!==0||A.value!==null)return;t.preventDefault(),t.stopPropagation(),G.value=null;let n=Ur(t.clientX),r=e===`start`?W.value.x-Jt.value:W.value.x+W.value.width;Nt.value=e,A.value=t.pointerId,Pt.value=!1,Ft.value=t.clientX,It.value=n-r,t.currentTarget?.setPointerCapture?.(t.pointerId)}b(k,e=>{!e&&A.value!==null&&Kr(!0)});let Zr=f(()=>B.value),Qr=f(()=>Math.max(B.value,mn.value-1));f(()=>{if(!D.value||!S.minimapCompact||!S.allMinimaps.length)return[];let e=Zr.value,t=Qr.value;return U.value.flatMap(n=>{if(!n?.isVisible||![`line`,`plot`].includes(n.type)||!n.type)return[];let r=[],i=n.points?.find(t=>t.i===e&&t.value!==null),a=n.points?.find(e=>e.i===t&&e.value!==null);return i&&r.push({key:`${n.key}-left-${i.i}`,x:i.x,y:i.y,color:n.color}),a&&t!==e&&r.push({key:`${n.key}-right-${a.i}`,x:a.x,y:a.y,color:n.color}),r})});let $r=f(()=>Math.min(40,Math.max(20,S.handleWidth))),ei=f(()=>Math.max(Dt,$r.value)),ti=f(()=>Math.max(Dt,Number(R.value.height)||0)),ni=f(()=>(R.value.height-ti.value)/2),ri=f(()=>W.value.x),ii=f(()=>W.value.x+W.value.width);return Ot({setStartValue:Kn,setEndValue:Jn,setRangeValues:Yn}),(e,t)=>(_(),m(`div`,{"data-minimap":D.value,"data-dom-to-png-ignore":``,"data-dom-to-png-ignore-layout":``,class:`vue-data-ui-zoom`,ref_key:`zoomWrapper`,ref:w,onMousedown:ur,onTouchstart:ur,style:g(jt.value)},[h(`div`,Ce,[l.valueStart!==l.refreshStartPoint||l.valueEnd!==Qt.value?(_(),m(`div`,we,[he(e.$slots,`reset-action`,{reset:ln},()=>[h(`button`,{tabindex:`0`,role:`button`,class:`vue-data-ui-refresh-button`,style:g({top:D.value?`36px`:`-16px`,cursor:l.isCursorPointer?`pointer`:`default`}),onClick:ln},[oe(ie,{name:`refresh`,stroke:l.textColor},null,8,[`stroke`])],4)],!0)])):p(``,!0)]),h(`div`,{class:`double-range-slider`,ref_key:`minimapWrapper`,ref:un,style:g([{"z-index":`0`},D.value?{"--minimap-unit-px":V.value+`px`,"--minimap-offset-px":(l.minimapCompact?0:V.value/2)+`px`}:void 0]),onMouseenter:t[26]||=e=>xr.value=!0,onMouseleave:t[27]||=e=>xr.value=!1},[D.value?(_(),m(`div`,Te,[(_(),m(`svg`,{ref_key:`minimapSvg`,ref:Lt,key:`mm-${l.minimapMerged?`merged`:`split`}-${l.minimapCompact?`compact`:`normal`}`,xmlns:_e(te),viewBox:`0 0 ${Math.max(0,R.value.width)} ${Math.max(0,R.value.height)}`,preserveAspectRatio:`none`},[h(`defs`,null,[oe(ae,{t:`linear`,id:Mt.value,x1:`0%`,y1:`0%`,x2:`0%`,y2:`100%`,stops:[[`0%`,l.minimapLineColor,.31],[`100%`,`transparent`,0]]},null,8,[`id`,`stops`]),h(`clipPath`,{id:`selection_clip_${Mt.value}`},[h(`rect`,{x:W.value.x,y:`0`,width:Math.max(0,W.value.width),height:Math.max(R.value.height,0)},null,8,Oe)],8,De)]),l.minimapCompact?(_(),m(`rect`,{key:0,class:`vue-ui-zoom-minimap-frame`,x:0,y:0,width:R.value.width,height:R.value.height,fill:`none`,stroke:l.minimapFrameColor,rx:3},null,8,ke)):p(``,!0),e.$slots.slotMap?p(``,!0):(_(),m(d,{key:1},[l.minimapMerged?(_(),m(`path`,{key:0,d:`M${H.value.fullSet}`,stroke:`${l.minimapLineColor}`,fill:`none`,"stroke-width":`1`,"stroke-linecap":`round`,"stroke-linejoin":`round`,style:{opacity:`0.6`}},null,8,Ae)):p(``,!0),l.minimapMerged&&!l.minimapCompact?(_(),m(`path`,{key:1,d:`M${V.value/2},${Math.max(R.value.height,0)} ${H.value.fullSet} L${R.value.width-V.value/2},${Math.max(R.value.height,0)}Z`,fill:`url(#${Mt.value})`,stroke:`none`,style:{opacity:`0.6`}},null,8,je)):l.minimapMerged?p(``,!0):(_(),m(d,{key:2},[(_(!0),m(d,null,y(U.value.filter(e=>e.type===`bar`&&e.isVisible),(e,t)=>(_(),m(`g`,null,[(_(!0),m(d,null,y(e.points,(n,r)=>(_(),m(d,null,[e&&!isNaN(n.y)?(_(),m(`rect`,{key:0,x:bn(n.x,t,r),y:n.v>=0?n.y:n.y0,width:xn(t,r),height:n.v>=0?n.y0-n.y:n.y-n.y0,fill:e.color,style:{opacity:.6}},null,8,Me)):p(``,!0)],64))),256))]))),256)),(_(!0),m(d,null,y(U.value.filter(e=>e.type===`line`),e=>(_(),m(`g`,null,[e.isVisible?(_(),m(`path`,{key:0,d:`M ${e.fullSet}`,fill:`none`,stroke:e.color,style:{opacity:`0.6`},"stroke-dasharray":e.dashed?`2 4`:0},null,8,Ne)):p(``,!0),e.isVisible&&l.cutNullValues?(_(!0),m(d,{key:1},y(e.fullMarkers,t=>(_(),m(`circle`,{key:`sel-dot-under-${e.key}-${t.i}`,cx:t.x,cy:t.y,r:`2`,fill:e.color,stroke:L.value,"stroke-width":`0.5`,style:{opacity:`0.6`}},null,8,Pe))),128)):p(``,!0)]))),256)),(_(!0),m(d,null,y(U.value.filter(e=>e.type===`plot`),e=>(_(),m(`g`,null,[(_(!0),m(d,null,y(e.points,t=>(_(),m(`g`,null,[e.isVisible&&t.value!==null?(_(),m(`circle`,{key:`sel-plot-under-${e.key}-${t.i}`,cx:t.x,cy:t.y,r:`2`,fill:e.color,stroke:L.value,"stroke-width":`0.5`,style:{opacity:`0.6`}},null,8,Fe)):p(``,!0)]))),256))]))),256))],64))],64)),h(`rect`,{x:W.value.x,y:0,width:Math.max(0,W.value.width),height:Math.max(R.value.height,0),fill:L.value,rx:l.minimapSelectionRadius,stroke:`none`},null,8,Ie),h(`rect`,{x:W.value.x,y:0,width:W.value.width<0?0:W.value.width,height:Math.max(R.value.height,0),rx:l.minimapSelectionRadius,fill:L.value,style:g({opacity:Qn.value||O.value?0:1})},null,12,Le),h(`rect`,{x:W.value.x,y:0,width:W.value.width<0?0:W.value.width,height:Math.max(R.value.height,0),fill:l.minimapSelectedColor,rx:l.minimapSelectionRadius,style:g({opacity:l.minimapSelectedColorOpacity}),tabindex:`0`,role:`slider`,"aria-label":`Selected range`,"aria-valuemin":Number(S.min),"aria-valuemax":Number(S.max),"aria-valuenow":Number(T.value),"aria-valuetext":$.value.left&&$.value.right?`${$.value.left} – ${$.value.right}`:void 0,onKeydown:Lr},null,44,Re),!l.minimapMerged&&kn.value<0?(_(),m(`line`,{key:2,class:`slicer-minimap-zero-line`,x1:0,x2:R.value.width,y1:jn.value,y2:jn.value,stroke:l.minimapFrameColor,"stroke-width":`0.5`},null,8,ze)):p(``,!0),e.$slots.slotMap?p(``,!0):(_(),m(d,{key:3},[l.minimapMerged?(_(),m(`g`,Be,[H.value&&H.value.sliced&&H.value.sliced.length?(_(),m(d,{key:0},[H.value.selectionSet?(_(),m(`path`,{key:0,d:`M ${H.value.selectionSet}`,stroke:`${l.minimapLineColor}`,fill:`transparent`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,8,Ve)):p(``,!0)],64)):p(``,!0),H.value&&H.value.firstPlot?(_(),m(`circle`,{key:1,cx:H.value.firstPlot.x,cy:H.value.firstPlot.y,"stroke-width":`0.5`,stroke:L.value,r:`3`,fill:l.minimapLineColor},null,8,He)):p(``,!0),H.value&&H.value.lastPlot?(_(),m(`circle`,{key:2,cx:H.value.lastPlot.x,cy:H.value.lastPlot.y,"stroke-width":`0.5`,stroke:L.value,r:`3`,fill:l.minimapLineColor},null,8,Ue)):p(``,!0)])):(_(),m(`g`,We,[(_(!0),m(d,null,y(U.value.filter(e=>e.type===`bar`&&e.isVisible),(e,t)=>(_(),m(`g`,null,[(_(!0),m(d,null,y(e.points,(n,r)=>(_(),m(d,null,[e&&!isNaN(n.y)?(_(),m(`rect`,{key:0,x:bn(n.x,t,r),y:n.v>=0?n.y:n.y0,width:xn(t,r),height:n.v>=0?n.y0-n.y:n.y-n.y0,fill:e.color,style:g({opacity:+(r>=M.value&&r<N.value)})},null,12,Ge)):p(``,!0)],64))),256))]))),256)),(_(!0),m(d,null,y(U.value.filter(e=>e.type===`line`),(e,t)=>(_(),m(`g`,{key:String(e.key)},[e&&e.hasSelection&&e.selectionSet&&e.isVisible?(_(),m(`path`,{key:0,d:`M ${e.selectionSet}`,stroke:e.temperatureColors?`url(#temperature_grad_line_${t}_${l.uuid})`:e.color,fill:`transparent`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-dasharray":e.dashed?`2 4`:0},null,8,Ke)):p(``,!0)]))),128)),(_(!0),m(d,null,y(U.value.filter(e=>e.type===`plot`),e=>(_(),m(`g`,{key:String(e.key)},[(_(!0),m(d,null,y(e.sliced,t=>(_(),m(`g`,null,[e.isVisible&&t.value!==null?(_(),m(`circle`,{key:0,cx:t.x,cy:t.y,r:`2`,fill:e.color,stroke:L.value,"stroke-width":`0.5`,style:{opacity:`0.6`}},null,8,qe)):p(``,!0)]))),256))]))),128))]))],64)),e.$slots.slotMap?he(e.$slots,`slotMap`,de(se({width:Math.max(0,R.value.width),height:Math.max(0,R.value.height),zeroY:jn.value,unitW:Math.max(0,V.value)})),void 0,!0,4):p(``,!0),G.value!==null&&!Q.value?(_(),m(`line`,de(ce({key:5},Or.value)),null,16)):p(``,!0),h(`rect`,{x:0,y:0,width:Math.max(0,R.value.width),height:Math.max(0,R.value.height),fill:`transparent`,style:g([{"pointer-events":`all !important`},{cursor:l.enableSelectionDrag?Q.value?`grabbing`:`grab`:`default`}]),onMousedown:t[0]||=e=>Q.value=!0,onMouseup:t[1]||=e=>Q.value=!1,onMousemove:Hn,onMouseleave:Un},null,44,Je),D.value&&l.minimapCompact?(_(),m(d,{key:6},[h(`g`,ce({class:`vue-ui-zoom-compact-minimap-handle`,transform:`translate(${ri.value}, 0)`},Vr.value,{onKeydown:t[2]||=e=>Br(`start`,e),onPointerdown:t[3]||=x(e=>Xr(`start`,e),[`stop`,`prevent`]),onPointermove:t[4]||=x(e=>qr(`start`,e),[`stop`,`prevent`]),onPointerup:t[5]||=x(e=>Jr(`start`,e),[`stop`,`prevent`]),onPointercancel:t[6]||=x(e=>Jr(`start`,e),[`stop`,`prevent`]),onLostpointercapture:t[7]||=e=>Yr(`start`,e),onClick:t[8]||=x(()=>{},[`stop`,`prevent`])}),[h(`rect`,{class:`vue-ui-zoom-compact-minimap-handle-hit`,x:-ei.value,y:ni.value,width:ei.value,height:ti.value,fill:`transparent`},null,8,Xe),h(`rect`,{class:`vue-ui-zoom-compact-minimap-handle-visual`,x:-$r.value,y:0,width:$r.value,height:R.value.height,fill:l.handleFill||L.value,stroke:l.handleBorderColor||l.textColor,"stroke-width":l.handleBorderWidth,rx:3},null,8,Ze),l.handleType&&l.handleType!==`empty`?(_(),m(`g`,{key:0,class:`compact-handle-icon`,transform:`translate(${-$r.value}, 0)`,style:{"pointer-events":`none`}},[(_(),m(`svg`,{width:$r.value,height:R.value.height,viewBox:`0 0 20 20`,preserveAspectRatio:`xMidYMid meet`},[l.handleType===`arrow`?(_(),m(`path`,{key:0,d:`M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7`,fill:L.value,stroke:l.handleIconColor||l.textColor,"stroke-width":.618,"stroke-linejoin":`round`,"stroke-linecap":`round`},null,8,et)):l.handleType===`chevron`?(_(),m(`path`,{key:1,d:`M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13`,fill:`none`,stroke:l.handleIconColor||l.textColor,"stroke-width":.618,"stroke-linejoin":`round`,"stroke-linecap":`round`},null,8,tt)):l.handleType===`grab`?(_(),m(`path`,{key:2,d:`M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13`,fill:l.handleIconColor||l.textColor,stroke:`none`,opacity:`0.6`},null,8,nt)):p(``,!0)],8,$e))],8,Qe)):p(``,!0)],16,Ye),h(`g`,ce({class:`vue-ui-zoom-compact-minimap-handle`,transform:`translate(${ii.value}, 0)`},Hr.value,{onKeydown:t[9]||=e=>Br(`end`,e),onPointerdown:t[10]||=x(e=>Xr(`end`,e),[`stop`,`prevent`]),onPointermove:t[11]||=x(e=>qr(`end`,e),[`stop`,`prevent`]),onPointerup:t[12]||=x(e=>Jr(`end`,e),[`stop`,`prevent`]),onPointercancel:t[13]||=x(e=>Jr(`end`,e),[`stop`,`prevent`]),onLostpointercapture:t[14]||=e=>Yr(`end`,e),onClick:t[15]||=x(()=>{},[`stop`,`prevent`])}),[h(`rect`,{class:`vue-ui-zoom-compact-minimap-handle-hit`,x:0,y:ni.value,width:ei.value,height:ti.value,fill:`transparent`},null,8,it),h(`rect`,{class:`vue-ui-zoom-compact-minimap-handle-visual`,x:0,y:0,width:$r.value,height:R.value.height,fill:l.handleFill||L.value,stroke:l.handleBorderColor||l.textColor,"stroke-width":l.handleBorderWidth,rx:3},null,8,at),l.handleType&&l.handleType!==`empty`?(_(),m(`g`,ot,[(_(),m(`svg`,{width:$r.value,height:R.value.height,viewBox:`0 0 20 20`,preserveAspectRatio:`xMidYMid meet`},[l.handleType===`arrow`?(_(),m(`path`,{key:0,d:`M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7`,fill:L.value,stroke:l.handleIconColor||l.textColor,"stroke-width":.618,"stroke-linejoin":`round`,"stroke-linecap":`round`},null,8,ct)):l.handleType===`chevron`?(_(),m(`path`,{key:1,d:`M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13`,fill:`none`,stroke:l.handleIconColor||l.textColor,"stroke-width":.618,"stroke-linejoin":`round`,"stroke-linecap":`round`},null,8,lt)):l.handleType===`grab`?(_(),m(`path`,{key:2,d:`M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13`,fill:l.handleIconColor||l.textColor,stroke:`none`,opacity:`0.6`},null,8,ut)):p(``,!0)],8,st))])):p(``,!0)],16,rt)],64)):p(``,!0),e.$slots.slotMap?p(``,!0):(_(),m(d,{key:7},[l.minimapMerged?(_(),m(`g`,dt,[H.value&&H.value.firstPlot&&H.value.firstPlot.value!==null?(_(),m(`circle`,{key:0,cx:H.value.firstPlot.x,cy:H.value.firstPlot.y,"stroke-width":`0.5`,stroke:L.value,r:`4`,fill:l.minimapLineColor},null,8,ft)):p(``,!0),H.value&&H.value.firstPlot&&H.value.firstPlot.value!==null?(_(),m(`circle`,{key:1,cx:H.value.firstPlot.x,cy:H.value.firstPlot.y,r:2,fill:L.value},null,8,pt)):p(``,!0),H.value&&H.value.lastPlot&&H.value.lastPlot.value!==null?(_(),m(`circle`,{key:2,cx:H.value.lastPlot.x,cy:H.value.lastPlot.y,"stroke-width":`0.5`,stroke:L.value,r:`4`,fill:l.minimapLineColor},null,8,mt)):p(``,!0),H.value&&H.value.lastPlot&&H.value.lastPlot.value!==null?(_(),m(`circle`,{key:3,cx:H.value.lastPlot.x,cy:H.value.lastPlot.y,r:`2`,fill:L.value},null,8,ht)):p(``,!0)])):(_(),m(`g`,gt,[(_(!0),m(d,null,y(U.value.filter(e=>e.type===`line`),(e,t)=>(_(),m(`g`,{key:String(e.key)},[e&&e.hasSelection&&e.selectionSet&&e.isVisible?(_(),m(`path`,{key:0,d:`M ${e.selectionSet}`,stroke:e.temperatureColors?`url(#temperature_grad_line_${t}_${l.uuid})`:e.color,fill:`transparent`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-dasharray":e.dashed?`2 4`:0},null,8,_t)):p(``,!0),e.isVisible&&l.cutNullValues?(_(!0),m(d,{key:1},y(e.selectionMarkers,t=>(_(),m(`circle`,{key:`sel-dot-${e.key}-${t.i}`,cx:t.x,cy:t.y,r:`2.5`,fill:e.color,stroke:L.value,"stroke-width":`0.5`},null,8,vt))),128)):p(``,!0),e&&e.firstPlot&&e.isVisible&&e.firstPlot.value!==null?(_(),m(`circle`,{key:2,cx:e.firstPlot.x,cy:e.firstPlot.y,"stroke-width":`0.5`,stroke:L.value,r:`4`,fill:e.color},null,8,yt)):p(``,!0),e&&e.firstPlot&&e.isVisible&&e.firstPlot.value!==null?(_(),m(`circle`,{key:3,cx:e.firstPlot.x,cy:e.firstPlot.y,r:`2`,fill:L.value},null,8,bt)):p(``,!0),e&&e.lastPlot&&e.isVisible&&e.lastPlot.value!==null?(_(),m(`circle`,{key:4,cx:e.lastPlot.x,cy:e.lastPlot.y,"stroke-width":`0.5`,stroke:L.value,r:`4`,fill:e.color},null,8,xt)):p(``,!0),e&&e.lastPlot&&e.isVisible&&e.lastPlot.value!==null?(_(),m(`circle`,{key:5,cx:e.lastPlot.x,cy:e.lastPlot.y,r:`2`,fill:L.value},null,8,St)):p(``,!0)]))),128)),(_(!0),m(d,null,y(U.value.filter(e=>e.type===`plot`),e=>(_(),m(`g`,{key:String(e.key)},[(_(!0),m(d,null,y(e.points,t=>(_(),m(`g`,null,[e.isVisible&&l.cutNullValues&&t.value!==null?(_(),m(`circle`,{key:`sel-plot-${e.key}-${t.i}`,cx:t.x,cy:t.y,r:`2.5`,fill:e.color,stroke:L.value,"stroke-width":`0.5`},null,8,Ct)):p(``,!0)]))),256))]))),128))]))],64))],8,Ee))])):p(``,!0),h(`div`,{class:`slider-track`,style:g({visibility:D.value&&l.minimapCompact?`hidden`:`visible`})},null,4),h(`div`,{class:ue({"range-highlight":!0,move:l.enableSelectionDrag}),onMousedown:t[16]||=e=>Q.value=!0,onMouseup:t[17]||=e=>Q.value=!1,style:g({...I.value,cursor:Q.value?`grabbing`:`grab`,visibility:D.value&&l.minimapCompact?`hidden`:`visible`})},null,38),l.enableRangeHandles&&!(D.value&&l.minimapCompact)?be((_(),m(`input`,{key:1,"aria-label":`range-handle-left`,ref_key:`rangeStart`,ref:K,type:`range`,step:l.precision>0?1/10**l.precision:1,class:ue({"range-left":!0,"range-handle":!0,"range-minimap":D.value&&l.verticalHandles,"range-invisible":D.value&&l.minimapCompact}),min:l.min,max:l.minimapCompact&&D.value&&!l.useValueRange?Math.max(0,z.value-1):l.max,tabindex:D.value?-1:0,"onUpdate:modelValue":t[18]||=e=>Fn.value=e,onFocus:t[19]||=e=>D.value&&e.target.blur(),onInput:t[20]||=e=>Fn.value=e.target.valueAsNumber,onChange:P,onKeyup:xe(P,[`enter`]),onBlur:P,onMouseenter:t[21]||=e=>Tr(`start`),onPointerup:P},null,42,wt)),[[ye,Fn.value,void 0,{number:!0}]]):p(``,!0),l.enableRangeHandles&&!(D.value&&l.minimapCompact)?be((_(),m(`input`,{key:2,"aria-label":`range-handle-right`,ref_key:`rangeEnd`,ref:q,type:`range`,step:l.precision>0?1/10**l.precision:1,class:ue({"range-right":!0,"range-handle":!0,"range-minimap":D.value&&l.verticalHandles,"range-invisible":D.value&&l.minimapCompact}),min:l.min,max:l.minimapCompact&&D.value&&!l.useValueRange?Math.max(0,z.value-1):l.max,tabindex:D.value?-1:0,onFocus:t[22]||=e=>D.value&&e.target.blur(),"onUpdate:modelValue":t[23]||=e=>In.value=e,onInput:t[24]||=e=>In.value=e.target.valueAsNumber,onChange:P,onKeyup:xe(P,[`enter`]),onBlur:P,onMouseenter:t[25]||=e=>Tr(`end`),onPointerup:P},null,42,Tt)),[[ye,In.value,void 0,{number:!0}]]):p(``,!0),$.value.left?(_(),m(`div`,{key:3,ref_key:`tooltipLeft`,ref:_r,class:ue({"range-tooltip":!0,"range-tooltip-visible":xr.value,"range-tooltip-arrow":I.value.arrowLeft&&!l.verticalHandles,"range-tooltip-arrow-left":!I.value.arrowLeft&&!l.verticalHandles}),style:g({left:I.value.tooltipLeft,color:_e(ee)(l.selectColor),backgroundColor:l.selectColor,border:`1px solid ${L.value}`,zIndex:`${wr.value+4}`,visibility:Er.value||$.value.left===$.value.right?`hidden`:`visible`,top:D.value&&l.minimapCompact?`calc(-100% - 12px)`:`-100%`})},ge($.value.left),7)):p(``,!0),(Er.value||$.value.left===$.value.right)&&($.value.left||$.value.right)?(_(),m(`div`,{key:4,ref:`tooltipMerge`,class:ue({"range-tooltip":!0,"range-tooltip-visible":xr.value,"range-tooltip-arrow":!0,"range-tooltip-arrow-left":!I.value.arrowLeft&&!l.verticalHandles,"range-tooltip-arrow-right":!I.value.arrowRight&&!l.verticalHandles}),style:g({left:I.value.tooltipCenter,width:Dr.value.width+`px`,color:_e(ee)(l.selectColor),backgroundColor:l.selectColor,border:`1px solid ${L.value}`,zIndex:`4`,top:D.value&&l.minimapCompact?`calc(-100% - 12px)`:`-100%`})},ge($.value.left===$.value.right?$.value.left:`${$.value.left} - ${$.value.right}`),7)):p(``,!0),$.value.right?(_(),m(`div`,{key:5,ref_key:`tooltipRight`,ref:vr,class:ue({"range-tooltip":!0,"range-tooltip-visible":xr.value,"range-tooltip-arrow":I.value.arrowRight&&!l.verticalHandles,"range-tooltip-arrow-right":!I.value.arrowRight&&!l.verticalHandles}),style:g({left:I.value.tooltipRight,color:_e(ee)(l.selectColor),backgroundColor:l.selectColor,border:`1px solid ${L.value}`,zIndex:`4`,visibility:Er.value||$.value.left===$.value.right?`hidden`:`visible`,top:D.value&&l.minimapCompact?`calc(-100% - 12px)`:`-100%`})},ge($.value.right),7)):p(``,!0)],36)],44,Se))}},[[`__scopeId`,`data-v-a479b5b9`]]);export{Ot as t};
@@ -1 +0,0 @@
1
- var e=`3.27.1-beta.0`;export{e as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./BaseIcon-Cz30ODFA.js";import{computed as n,createBlock as r,createCommentVNode as i,createElementBlock as a,createElementVNode as o,createSlots as s,createTextVNode as c,defineAsyncComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,normalizeStyle as p,onMounted as m,openBlock as h,ref as g,renderList as _,renderSlot as v,resolveDynamicComponent as y,toDisplayString as b,useAttrs as x,watch as S,withCtx as C}from"vue";var w=/* @__PURE__ */ e({default:()=>E}),T={style:{width:`36px`}},E=/*@__PURE__*/ Object.assign({inheritAttrs:!1},{__name:`vue-data-ui`,props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},setup(e,{expose:w}){let E=e,D=x(),O={VueUi3dBar:l(()=>import(`./vue-ui-3d-bar-DiaiNy-k.js`).then(e=>e.n)),VueUiAgePyramid:l(()=>import(`./vue-ui-age-pyramid-OeUr1yxi.js`).then(e=>e.n)),VueUiAnnotator:l(()=>import(`./vue-ui-annotator-DA_xAFql.js`).then(e=>e.n)),VueUiCandlestick:l(()=>import(`./vue-ui-candlestick-CdAZuNxo.js`).then(e=>e.n)),VueUiChestnut:l(()=>import(`./vue-ui-chestnut-B2aNXFNO.js`).then(e=>e.n)),VueUiDashboard:l(()=>import(`./vue-ui-dashboard-DkdYMB7n.js`).then(e=>e.n)),VueUiDigits:l(()=>import(`./vue-ui-digits-CL9SuIEI.js`).then(e=>e.n)),VueUiDonut:l(()=>import(`./vue-ui-donut-DaYxdQmP.js`).then(e=>e.n)),VueUiDonutEvolution:l(()=>import(`./vue-ui-donut-evolution-T8cRXKRQ.js`).then(e=>e.n)),VueUiGalaxy:l(()=>import(`./vue-ui-galaxy-B3nuI6E8.js`).then(e=>e.n)),VueUiGauge:l(()=>import(`./vue-ui-gauge-BwTP65O4.js`).then(e=>e.n)),VueUiHeatmap:l(()=>import(`./vue-ui-heatmap-CTdeoar7.js`).then(e=>e.n)),VueUiKpi:l(()=>import(`./vue-ui-kpi-DVcLXGqG.js`).then(e=>e.n)),VueUiMiniLoader:l(()=>import(`./vue-ui-mini-loader-CX0Dx9tT.js`).then(e=>e.n)),VueUiMolecule:l(()=>import(`./vue-ui-molecule-B13qVX71.js`).then(e=>e.n)),VueUiMoodRadar:l(()=>import(`./vue-ui-mood-radar-C1BtB8lg.js`).then(e=>e.n)),VueUiNestedDonuts:l(()=>import(`./vue-ui-nested-donuts-B90yrlJG.js`).then(e=>e.n)),VueUiOnion:l(()=>import(`./vue-ui-onion-UMVO2DE_.js`).then(e=>e.n)),VueUiQuadrant:l(()=>import(`./vue-ui-quadrant-CPG6yAiu.js`).then(e=>e.n)),VueUiRadar:l(()=>import(`./vue-ui-radar-Hd-pE9ih.js`).then(e=>e.n)),VueUiRating:l(()=>import(`./vue-ui-rating-C_YxQYa_.js`).then(e=>e.n)),VueUiRelationCircle:l(()=>import(`./vue-ui-relation-circle-CHYG7ZJl.js`).then(e=>e.n)),VueUiRings:l(()=>import(`./vue-ui-rings-B-Hb13Uu.js`).then(e=>e.n)),VueUiScatter:l(()=>import(`./vue-ui-scatter-BTgvOmuo.js`).then(e=>e.n)),VueUiSkeleton:l(()=>import(`./vue-ui-skeleton-B-Acw3CC.js`).then(e=>e.n)),VueUiSmiley:l(()=>import(`./vue-ui-smiley-Ciwqt6ek.js`).then(e=>e.n)),VueUiSparkbar:l(()=>import(`./vue-ui-sparkbar-CTXIgjmP.js`).then(e=>e.n)),VueUiSparkgauge:l(()=>import(`./vue-ui-sparkgauge-CObOL6s2.js`).then(e=>e.n)),VueUiSparkHistogram:l(()=>import(`./vue-ui-sparkhistogram-ClFyDez-.js`).then(e=>e.n)),VueUiSparkline:l(()=>import(`./vue-ui-sparkline-DP_nYlW8.js`).then(e=>e.n)),VueUiSparkStackbar:l(()=>import(`./vue-ui-sparkstackbar-B2f0ePMg.js`).then(e=>e.n)),VueUiTable:l(()=>import(`./vue-ui-table-Br2JgD_L.js`).then(e=>e.n)),VueUiTableSparkline:l(()=>import(`./vue-ui-table-sparkline-B9mYHAxp.js`).then(e=>e.n)),VueUiThermometer:l(()=>import(`./vue-ui-thermometer-C6u1eLfo.js`).then(e=>e.n)),VueUiTiremarks:l(()=>import(`./vue-ui-tiremarks-8B9uE1Bx.js`).then(e=>e.n)),VueUiTreemap:l(()=>import(`./vue-ui-treemap-C4Mot-Os.js`).then(e=>e.n)),VueUiVerticalBar:l(()=>import(`./vue-ui-horizontal-bar-qqF7pL7U.js`).then(e=>e.n)),VueUiHorizontalBar:l(()=>import(`./vue-ui-horizontal-bar-qqF7pL7U.js`).then(e=>e.n)),VueUiWaffle:l(()=>import(`./vue-ui-waffle-BwcwNpf7.js`).then(e=>e.n)),VueUiWheel:l(()=>import(`./vue-ui-wheel-B3OGCXg7.js`).then(e=>e.n)),VueUiXy:l(()=>import(`./vue-ui-xy-DSyKSn4L.js`).then(e=>e.n)),VueUiTableHeatmap:l(()=>import(`./vue-ui-table-heatmap-Btu2ejF4.js`).then(e=>e.n)),VueUiAccordion:l(()=>import(`./vue-ui-accordion-Dy5OVFKr.js`).then(e=>e.n)),VueUiQuickChart:l(()=>import(`./vue-ui-quick-chart-BTPb-Iz8.js`).then(e=>e.n)),VueUiCursor:l(()=>import(`./vue-ui-cursor-DdXKXmhr.js`).then(e=>e.n)),VueUiSparkTrend:l(()=>import(`./vue-ui-spark-trend-CYqy6c0S.js`).then(e=>e.n)),VueUiStripPlot:l(()=>import(`./vue-ui-strip-plot-gFNC4r-X.js`).then(e=>e.n)),VueUiDumbbell:l(()=>import(`./vue-ui-dumbbell-B6HJxEZp.js`).then(e=>e.n)),VueUiWordCloud:l(()=>import(`./vue-ui-word-cloud-BPIyMBXq.js`).then(e=>e.n)),VueUiXyCanvas:l(()=>import(`./vue-ui-xy-canvas-CaxxiKSa.js`).then(e=>e.n)),VueUiFlow:l(()=>import(`./vue-ui-flow-BlTCVFr3.js`).then(e=>e.n)),VueUiParallelCoordinatePlot:l(()=>import(`./vue-ui-parallel-coordinate-plot-C0ofFivm.js`).then(e=>e.n)),VueUiTimer:l(()=>import(`./vue-ui-timer-DLgsfB1U.js`).then(e=>e.n)),VueUiCarouselTable:l(()=>import(`./vue-ui-carousel-table-ihGH0LDH.js`).then(e=>e.n)),VueUiGizmo:l(()=>import(`./vue-ui-gizmo-CNHcBsku.js`).then(e=>e.n)),VueUiStackbar:l(()=>import(`./vue-ui-stackbar-nMWHZ-f0.js`).then(e=>e.n)),VueUiStackline:l(()=>import(`./vue-ui-stackline-B95y6Zc5.js`).then(e=>e.n)),VueUiBullet:l(()=>import(`./vue-ui-bullet-B9lcCTVb.js`).then(e=>e.n)),VueUiFunnel:l(()=>import(`./vue-ui-funnel-WgLFJadZ.js`).then(e=>e.n)),VueUiHistoryPlot:l(()=>import(`./vue-ui-history-plot-C-9uH-Uj.js`).then(e=>e.n)),VueUiCirclePack:l(()=>import(`./vue-ui-circle-pack-BWHVImkS.js`).then(e=>e.n)),VueUiWorld:l(()=>import(`./vue-ui-world-Cp0DeauH.js`).then(e=>e.n)),VueUiRidgeline:l(()=>import(`./vue-ui-ridgeline-DS1Gvljt.js`).then(e=>e.n)),VueUiChord:l(()=>import(`./vue-ui-chord-fAckHfOW.js`).then(e=>e.n)),VueUiDag:l(()=>import(`./vue-ui-dag-a0fNoIcJ.js`).then(e=>e.n)),VueUiGeo:l(()=>import(`./vue-ui-geo-CX3yH18H.js`).then(e=>e.n)),VueUiBump:l(()=>import(`./vue-ui-bump-DYajIrva.js`).then(e=>e.n)),VueUiHill:l(()=>import(`./vue-ui-hill-DR5k8GWZ.js`).then(e=>e.n)),VueUiLabel:l(()=>import(`./vue-ui-label-D1Aog-zO.js`).then(e=>e.n))},k=/* @__PURE__ */ new Set([`VueUiMiniLoader`,`VueUiSkeleton`,`VueUiAccordion`,`VueUiCursor`,`VueUiTimer`]),A=/* @__PURE__ */ `autoSize.cancel.close.copyAlt.focusLocation.generateCsv.generateImage.generatePdf.generateSvg.getItemsPositions.hideSeries.lap.pause.pauseAnimation.recalculateHeight.reset.resetZoom.restart.restoreOrder.resumeAnimation.save.selectGroup.selectNode.selectRibbon.setZoomState.shoot.showSeries.start.switchOrientation.toggleAnimation.toggleAnnotator.toggleLabels.toggleLock.toggleReadonly.toggleSort.toggleStack.toggleTable.toggleTooltip.toggleZoom.zoomIn.zoomOut`.split(`.`),j=g(null),M=n(()=>!O[E.component]),N=n(()=>O[E.component]||null);function P(){let e={...D,config:E.config};return k.has(E.component)||(e.dataset=E.dataset),e}let F=[];function I(e,t){return new Promise((n,r)=>{F.push({method:e,args:t,resolve:n,reject:r})})}function L(e){return/* @__PURE__ */ Error(`Method "${e}" not found on ${E.component}`)}function R(e,t){let n=j.value;if(!n)return null;let r=n[e];return typeof r==`function`?r.apply(n,t):null}function z(e,t){let n=j.value;if(!n)return I(e,t);let r=n[e];return typeof r==`function`?r.apply(n,t):Promise.reject(L(e))}S(j,e=>{if(e)for(;F.length;){let{method:t,args:n,resolve:r,reject:i}=F.shift(),a=e[t];if(typeof a!=`function`){i(L(t));continue}Promise.resolve().then(()=>a.apply(e,n)).then(r).catch(i)}}),w({getData(...e){return z(`getData`,e)},getImage(e={}){let{scale:t=2}=e;return z(`getImage`,[{scale:t}])},...Object.fromEntries(A.map(e=>[e,(...t)=>R(e,t)]))}),m(()=>{M.value&&console.error(`\n\nVue Data UI exception:\nThe provided component "${E.component}" does not exist. Check the spelling.\n\nAvailable components:\n\n${Object.keys(O).map(e=>`. ${e}\n`).join(``)}`)});let B=n(()=>{let e=`The provided component ${E.component} does not exist.`;return[`VueUiIcon`,`VueUiPattern`,`Arrow`].includes(E.component)?(e=`${E.component} is not supported by the VueDataUi universal component. You must import it individually.`,console.warn(e),{status:`notSupported`,message:e}):(console.warn(e),{status:`unknown`,message:e})});return(e,n)=>M.value?(h(),a(`div`,{key:0,style:p({width:`100%`,display:`flex`,gap:`6px`,alignItems:`center`,color:B.value.status===`notSupported`?`#FF9000`:`#FF0000`})},[o(`div`,T,[B.value.status===`unknown`?(h(),r(t,{key:0,name:`moodFlat`,stroke:`#FF0000`})):i(``,!0),B.value.status===`notSupported`?(h(),r(t,{key:1,name:`circleExclamation`,stroke:`#FF9000`})):i(``,!0)]),c(` `+b(B.value.message),1)],4)):(h(),r(y(N.value),d({key:1,ref_key:`currentComponentRef`,ref:j},P()),s({_:2},[_(e.$slots,(t,n)=>({name:n,fn:C(t=>[v(e.$slots,n,f(u(t)))])}))]),1040))}});export{w as n,E as t};
@@ -1,9 +0,0 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{n as t,t as n}from"./tableIntegration-CNoJ1CIY.js";import{n as r,t as i}from"./annotationSlots-BRR85CqJ.js";import{n as a,t as o}from"./userOptionsSlots-DYuo-E5m.js";import{$ as ee,D as te,Dt as ne,Ht as s,J as re,P as ie,S as ae,U as oe,X as se,Zt as ce,_ as le,at as ue,i as de,in as fe,nt as pe,pt as me,rn as he,t as ge,tn as _e,w as ve,xt as ye,yt as be,zt as xe}from"./lib-zDxoqrgo.js";import{n as Se,t as Ce}from"./useHints-BH9r_0Vd.js";import{t as we}from"./useConfig-CKdzPrcf.js";import{t as Te}from"./usePrinter-CnyKPIFM.js";import{n as Ee,t as De}from"./BaseScanner-8NdoBs7B.js";import{t as Oe}from"./useChartExport-DtPNpc9M.js";import{t as ke}from"./useTransitions-DfSHzsdz.js";import{t as Ae}from"./useTimeLabelCollider-XQf_S7-z.js";import{n as je}from"./Title-BRAjxtjG.js";import{t as Me}from"./Shape-tkp65OcG.js";import{t as Ne}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{l as Pe,t as Fe}from"./useResponsive-D2CPcpda.js";import{t as Ie}from"./BaseLegendToggle-Dn_tNvn4.js";import{t as Le}from"./A11yDataTable-DWNlWXzs.js";import{n as Re}from"./resolveChartConfig-BSo1Oe9n.js";import{t as ze}from"./useUserOptionState-CXlFnwPv.js";import{t as Be}from"./useChartAccessibility-DOMuYJfm.js";import{t as Ve}from"./chartImage-NwZO-elv.js";import{t as He}from"./Legend-DokTll4u.js";import{t as Ue}from"./vue_ui_parallel_coordinate_plot-Cs_xXAG5.js";import{Fragment as c,Teleport as We,computed as l,createBlock as u,createCommentVNode as d,createElementBlock as f,createElementVNode as p,createSlots as Ge,createTextVNode as Ke,createVNode as qe,defineAsyncComponent as m,guardReactiveProps as h,mergeProps as Je,nextTick as Ye,normalizeClass as g,normalizeProps as _,normalizeStyle as v,onBeforeUnmount as Xe,onMounted as Ze,openBlock as y,ref as b,renderList as x,renderSlot as S,resolveDynamicComponent as Qe,shallowRef as $e,toDisplayString as C,toRefs as et,unref as w,watch as tt,watchEffect as nt,withCtx as T}from"vue";var rt=/* @__PURE__ */ e({default:()=>Ot}),it=[`id`],at=[`id`],ot=[`id`],st={style:{position:`relative`}},ct=[`xmlns`,`aria-describedby`,`viewBox`],lt=[`x`,`y`,`width`,`height`],ut={style:{"pointer-events":`none`}},dt=[`x1`,`x2`,`y1`,`y2`,`stroke`,`stroke-width`],ft=[`d`,`stroke`,`stroke-width`],pt={key:0},mt=[`transform`,`fill`,`font-size`,`font-weight`],ht=[`fill`,`font-size`,`font-weight`,`text-anchor`,`transform`],gt=[`fill`,`font-size`,`font-weight`,`text-anchor`,`transform`,`innerHTML`],_t={key:0},vt=[`x`,`y`,`font-size`,`fill`],yt=[`width`,`x`,`y`],bt={style:{width:`100%`}},xt=[`d`,`stroke`,`stroke-width`,`onMouseenter`,`onMouseleave`,`onClick`],St=[`d`,`onMouseenter`,`onMouseleave`,`onClick`],Ct=[`transform`,`fill`,`font-weight`,`font-size`,`stroke`,`onMouseenter`,`onMouseleave`,`onClick`],wt={key:0,style:{position:`absolute`,top:`100%`,left:`0`,width:`100%`},"data-dom-to-png-ignore":``,"aria-hidden":`true`},Tt={key:5,class:`vue-data-ui-watermark`},Et=[`id`],Dt=[`onClick`],Ot=/*#__PURE__*/ Ne({__name:`vue-ui-parallel-coordinate-plot`,props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:[`selectLegend`,`selectDatapoint`,`copyAlt`],setup(e,{expose:Ne,emit:rt}){let Ot=m(()=>import(`./Tooltip-BUXB0i6z.js`)),kt=m(()=>import(`./BaseIcon-Cz30ODFA.js`).then(e=>e.n)),At=m(()=>import(`./vue-ui-accordion-Dy5OVFKr.js`).then(e=>e.n)),jt=m(()=>import(`./DataTable-DSUA5M9p.js`)),Mt=m(()=>import(`./PenAndPaper-DvJJaeU2.js`).then(e=>e.t)),Nt=m(()=>import(`./UserOptions-D65t74CM.js`).then(e=>e.n)),Pt=m(()=>import(`./PackageVersion-D6pKL176.js`).then(e=>e.t)),Ft=m(()=>import(`./BaseDraggableDialog-T1gEsQid.js`).then(e=>e.n)),{vue_ui_parallel_coordinate_plot:It}=we(),E=e,Lt=l({get(){return!!E.dataset&&E.dataset.length},set(e){return e}}),Rt=b(0),D=b(null),zt=b(null),Bt=b(null),Vt=b(null),Ht=b(null),Ut=b(0),Wt=b(0),Gt=b(0),Kt=b(!1),qt=b(null),Jt=b(null),Yt=b(null),O=b(null),Xt=b({x:0,y:0}),Zt=b(`pointer`),Qt=b(!1),k=b(se()),A=b(!1);function $t(e){A.value=e,Rt.value+=1}let j=b(cn()),M=l(()=>j.value.userOptions),N=l(()=>j.value.style.chart.yAxis.labels),P=l(()=>j.value.style.chart.tooltip),F=l(()=>j.value.style.chart),{transitionEnabled:I}=ke({config:()=>j.value.transitions,dataset:()=>E.dataset});Se({config:()=>j.value,dataset:()=>E.dataset,component:`VueUiParallelCoordinatePlot`,rules:[Ce.emptyArray,{test:e=>e.length>10,message:[`👀 There are > 10 series. Consider:`,``,`▶️ Using filters, to show less series at the same time and make the chart more readable.`]},{test:e=>e.some(e=>(e?.series??[]).some(e=>(e?.values??[]).length>15)),message:[`👀 There are > 15 axes, which can make the chart hard to read. Consider:`,``,`▶️ Using filters, to allow users to select a maximum set of metrics.`]},{test:e=>e.some(e=>e?.series?.length>5),message:[`👀 Some series have > 5 datapoints. Consider:`,``,`▶️ Using filters, to allow users to select a maximum set of metrics.`]}]});let L=l(()=>j.value.userOptions.useCursorPointer),en=l(()=>fe({defaultConfig:{useCssAnimation:!1,userOptions:{show:!1},table:{show:!1},style:{chart:{backgroundColor:`#99999930`,legend:{show:!0,backgroundColor:`transparent`},yAxis:{stroke:`#6A6A6A`,labels:{showAxisNames:!1,axisNames:[],ticks:{color:`#6A6A6A`}}}}}},userConfig:j.value.skeletonConfig??{}})),{loading:tn,FINAL_DATASET:nn,manualLoading:rn}=Ee({...et(E),FINAL_CONFIG:j,prepareConfig:cn,callback:()=>{Promise.resolve().then(async()=>{await Ye(),W.value.showTable=j.value.table.show})},skeletonDataset:E.config?.skeletonDataset??[{name:``,shape:`circle`,color:`transparent`,series:[{name:``,values:[1,10,100,1e3]}]},{name:``,shape:`circle`,color:`#CACACA`,series:[{name:``,values:[.2,3,50,800]}]},{name:``,shape:`circle`,color:`transparent`,series:[{name:``,values:[0,0,0,0]}]}],skeletonConfig:fe({defaultConfig:j.value,userConfig:en.value})}),{userOptionsVisible:an,setUserOptionsVisibility:on,keepUserOptionState:sn}=ze({config:j.value}),{svgRef:R}=Be({config:F.value.title});function cn(){return Re(E.config,It,Ue)}let ln=ce(E.config);tt(()=>E.config,(e,t)=>{let n=ce(e),r=n!==ln;ln=n;let i=cn();if(!r){j.value.style.chart.tooltip=i.style.chart.tooltip,W.value.showTooltip=j.value.style.chart.tooltip.show;return}tn.value||(j.value=i),an.value=!j.value.userOptions.showOnChartHover,dn(),Ut.value+=1,Gt.value+=1,Wt.value+=1,W.value.dataLabels.show=N.value.datapoints.show,W.value.showTable=j.value.table.show,W.value.showTooltip=P.value.show},{deep:!0}),tt(()=>E.dataset,e=>{Array.isArray(e)&&e.length>0&&(rn.value=!1)},{deep:!0});let z=$e(null),B=$e(null);Ze(()=>{Kt.value=!0,dn()});let un=l(()=>j.value.debug);function dn(){if(xe(E.dataset)?(ue({componentName:`VueUiParallelCoordinatePlot`,type:`dataset`,debug:un.value}),rn.value=!0):E.dataset.forEach((e,t)=>{be({datasetObject:e,requiredAttributes:[`name`,`series`]}).forEach(e=>{Lt.value=!1,ue({componentName:`VueUiParallelCoordinatePlot`,type:`datasetSerieAttribute`,property:e,index:t,debug:un.value})})}),xe(E.dataset)||(rn.value=j.value.loading),j.value.responsive){let e=Pe(()=>{let{width:e,height:t}=Fe({chart:D.value,title:F.value.title.text?zt.value:null,legend:F.value.legend.show?Bt.value:null,source:Vt.value,noTitle:Ht.value});requestAnimationFrame(()=>{V.value.width=e,V.value.height=t-12,j.value.responsiveProportionalSizing?(V.value.plotSize=he({relator:Math.min(e,t),adjuster:600,source:F.value.plots.radius,threshold:2,fallback:2}),V.value.ticksFontSize=he({relator:Math.min(e,t),adjuster:600,source:N.value.ticks.fontSize,threshold:10,fallback:10}),V.value.datapointFontSize=he({relator:Math.min(e,t),adjuster:600,source:N.value.datapoints.fontSize,threshold:10,fallback:10}),V.value.axisNameFontSize=he({relator:Math.min(e,t),adjuster:600,source:N.value.axisNamesFontSize,threshold:12,fallback:12})):(V.value.plotSize=F.value.plots.radius,V.value.ticksFontSize=N.value.ticks.fontSize,V.value.datapointFontSize=N.value.datapoints.fontSize,V.value.axisNameFontSize=N.value.axisNamesFontSize)})});z.value&&(B.value&&z.value.unobserve(B.value),z.value.disconnect()),z.value=new ResizeObserver(e),B.value=D.value.parentNode,z.value.observe(B.value)}}Xe(()=>{z.value&&(B.value&&z.value.unobserve(B.value),z.value.disconnect())});let{isPrinting:fn,isImaging:pn,generatePdf:mn,generateImage:hn}=Te({elementId:`pcp_${k.value}`,fileName:F.value.title.text||`vue-ui-parallel-coordinate-plot`,options:j.value.userOptions.print}),gn=l(()=>j.value.userOptions.show&&!F.value.title.text),V=b({height:F.value.height,width:F.value.width,plotSize:F.value.plots.radius,ticksFontSize:N.value.ticks.fontSize,datapointFontSize:N.value.datapoints.fontSize,axisNameFontSize:N.value.axisNamesFontSize}),_n=l(()=>V.value.width),vn=l(()=>V.value.height),H=b(0),yn=Pe(e=>{H.value=e},100);nt(e=>{let t=Yt.value;if(!t)return;let n=new ResizeObserver(e=>{yn(e[0].contentRect.height)});n.observe(t),e(()=>n.disconnect())});let U=l(()=>{let{top:e,right:t,bottom:n,left:r}=F.value.padding,i=vn.value,a=_n.value;return{chartHeight:Math.max(.001,i),chartWidth:Math.max(.001,a),height:Math.max(.001,i-e-n-H.value-V.value.datapointFontSize*2),width:Math.max(.001,a-r-t),top:e+H.value+V.value.datapointFontSize,left:r,right:a-t,bottom:i-n-V.value.datapointFontSize}}),bn=l(()=>ve(j.value.customPalette)),W=b({dataLabels:{show:N.value.datapoints.show},showTable:j.value.table.show,showTooltip:P.value.show});tt(j,()=>{W.value={dataLabels:{show:N.value.datapoints.show},showTable:j.value.table.show,showTooltip:P.value.show}},{immediate:!0});let G=b([]);function xn(){G.value.length?G.value=[]:En.value.forEach(e=>{G.value.push(e.id)}),zn(`selectLegend`,kn.value)}function Sn(e){G.value.includes(e)?G.value=G.value.filter(t=>t!==e):G.value.push(e),zn(`selectLegend`,kn.value)}let K=l(()=>nn.value.map((e,t)=>{let n=ae(e.color)||bn.value[t]||s[t]||s[t%s.length];return{...e,series:e.series.map(e=>({...e,id:se(),color:n})),seriesIndex:t,color:n,id:se(),shape:e.shape||`circle`}}));function Cn(e){return K.value.length?K.value.find(t=>t.name===e)||(un.value&&console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`),null):(un.value&&console.warn(`VueUiParallelCoordinatePlot - There are no series to show.`),null)}function wn(e){let t=Cn(e);t!==null&&G.value.includes(t.id)&&Sn(t.id)}function Tn(e){let t=Cn(e);t!==null&&(G.value.includes(t.id)||Sn(t.id))}let En=l(()=>K.value.map(e=>({...e,opacity:G.value.includes(e.id)?.5:1,segregate:()=>Sn(e.id),isSegregated:G.value.includes(e.id),shape:e.shape||`circle`}))),Dn=l(()=>({cy:`pcp-div-legend`,backgroundColor:F.value.legend.backgroundColor,color:F.value.legend.color,fontSize:F.value.legend.fontSize,paddingBottom:12,fontWeight:F.value.legend.bold?`bold`:``})),On=l(()=>Math.max(...K.value.filter(e=>!G.value.includes(e.id)).map(e=>Math.max(...e.series.flatMap(e=>e.values.length))))),q=l(()=>U.value.width/On.value),kn=l(()=>K.value.filter(e=>!G.value.includes(e.id))),J=l(()=>{let e=[];for(let t=0;t<On.value;t+=1){let n=Math.min(...kn.value.flatMap(e=>e.series.map(e=>e.values[t]||0)||0)),r=Math.max(...kn.value.flatMap(e=>e.series.map(e=>e.values[t]||0)||0)),i=r===n?n/4:n,a=r===n?r*2:r,o=le(i,a,F.value.yAxis.scaleTicks),ee=o.ticks.map((e,n)=>{let r=o.min<0?e+Math.abs(o.min):e-Math.abs(o.min),i=o.min<0?o.max+Math.abs(o.min):o.max-Math.abs(o.min);return{y:U.value.bottom-U.value.height*(r/i),x:U.value.left+q.value*t+q.value/2,value:e}});e.push({scale:o,ticks:ee,name:N.value.axisNames[t]||`Y-${t+1}`})}return e}),Y=l(()=>kn.value.map((e,t)=>({...e,series:e.series.map((n,r)=>({...n,datapoints:n.values.map((i,a)=>{let o=J.value[a].scale.min<0?(i||0)+Math.abs(J.value[a].scale.min):(i||0)-Math.abs(J.value[a].scale.min),ee=J.value[a].scale.min<0?J.value[a].scale.max+Math.abs(J.value[a].scale.min):J.value[a].scale.max-Math.abs(J.value[a].scale.min);return{name:n.name,seriesName:e.name,axisIndex:a,datapointIndex:r,seriesIndex:t,value:i||0,x:U.value.left+q.value*a+q.value/2,y:U.value.bottom-U.value.height*(o/ee),comment:n.comments&&n.comments[a]||``}})}))})).map(e=>({...e,series:e.series.map(e=>{let t=oe(e.datapoints),n=ie(e.datapoints,.12),r=ye(F.value.lines.smooth?`M ${n}`:`M ${t}`);return{...e,smoothPath:n,straightPath:t,pathLength:r}})}))),X=l(()=>Y.value.flatMap((e,t)=>e.series.map((n,r)=>({shape:e.shape,serieName:e.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex,S:t,key:`${t}_${r}`}))));function An({value:e,index:t,datapoint:n}){return de(N.value.formatters[t]||null,e,ee({p:N.value.prefixes[t]||``,v:e,s:N.value.suffixes[t]||``,r:N.value.roundings[t]||0}),{datapoint:n,seriesIndex:t})}let Z=b(null),jn=b(null),Mn=b(!1),Nn=b(``);function Q({shape:e,serie:t,S:n}){j.value.events.datapointLeave&&j.value.events.datapointLeave({datapoint:{...t,shape:e},seriesIndex:n});let r=O.value===null?null:X.value[O.value];Zt.value===`keyboard`&&r&&r.serie.id===t.id||(Z.value=null,Mn.value=!1)}function Pn(e){if(!R.value||!e?.datapoints?.length)return;let t=e.datapoints[Math.floor(e.datapoints.length/2)];if(!t)return;let n=_e(t.x,t.y,R.value);n&&(Xt.value=n)}function Fn({shape:e,serieName:t,serie:n,relativeIndex:r,seriesIndex:i,S:a,triggerMode:o=`pointer`}){j.value.events.datapointEnter&&j.value.events.datapointEnter({datapoint:{...n,shape:e},seriesIndex:a}),Zt.value=o,jn.value={config:j.value,datapoint:n,serie:n,relativeIndex:r,seriesIndex:i,series:K.value,scales:J.value},Mn.value=!0,Z.value=n.id;let te=``,s=P.value.customFormat;ne(s)&&me(()=>s({serie:n,seriesIndex:n.seriesIndex,series:K.value,config:j.value,scales:J.value}))?Nn.value=s({serie:n,seriesIndex:n.seriesIndex,series:K.value,config:j.value,scales:J.value}):(te+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${t?t+` - `:``}${n.name}</div>`,J.value.map(e=>e.name).forEach((e,t)=>{te+=`
2
- <div class="vue-ui-tooltip-item" style="text-align:left">
3
- <span>${e}: </span>
4
- <span>
5
- ${de(N.value.formatters[t]||null,n.datapoints[t].value,ee({p:N.value.prefixes[t]||``,v:n.datapoints[t].value,s:N.value.suffixes[t]||``,r:N.value.roundings[t]||``}),{datapoint:n.datapoints[t],seriesIndex:t})}
6
- </span>
7
- </div>
8
- `,F.value.comments.showInTooltip&&n.datapoints[t].comment&&(te+=`<div class="vue-data-ui-tooltip-comment" style="background:${n.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${n.color}">${n.datapoints[t].comment}</div>`)}),Nn.value=`<div>${te}</div>`),o===`keyboard`&&Ye(()=>{Pn(n)})}function In(){return K.value}let $=l(()=>{let e=[j.value.table.columnNames.series,j.value.table.columnNames.item].concat(J.value.map(e=>e.name));return{body:Y.value.flatMap((e,t)=>e.series.map(t=>[e.name,t.name].concat(t.values))),head:e,config:{th:{backgroundColor:j.value.table.th.backgroundColor,color:j.value.table.th.color,outline:j.value.table.th.outline},td:{backgroundColor:j.value.table.td.backgroundColor,color:j.value.table.td.color,outline:j.value.table.td.outline},breakpoint:j.value.table.responsiveBreakpoint},colNames:[j.value.table.columnNames.series,j.value.table.columnNames.item].concat(J.value.map(e=>e.name))}}),Ln=l(()=>Y.value.length===0?{head:[],body:[],config:{},columnNames:[]}:{head:$.value.head,body:$.value.body});function Rn(e=null){let t=[[F.value.title.text],[F.value.title.subtitle.text],[``]],n=Ln.value.head,r=Ln.value.body,i=t.concat([n]).concat(r),a=te(i);e?e(a):pe({csvContent:a,title:F.value.title.text||`vue-ui-parallel-coordinate-plot`})}let zn=rt;function Bn({serie:e,shape:t,S:n}){j.value.events.datapointClick&&j.value.events.datapointClick({datapoint:{...e,shape:t},seriesIndex:n}),zn(`selectDatapoint`,e)}function Vn(){W.value.showTable=!W.value.showTable}function Hn(){W.value.dataLabels.show=!W.value.dataLabels.show}function Un(){W.value.showTooltip=!W.value.showTooltip}let Wn=b(!1);function Gn(){Wn.value=!Wn.value}let Kn=Ve(D,()=>F.value.title.text),qn=b({start:0,end:1}),Jn=l(()=>J.value.map(e=>e.name));Ae({timeLabelsEls:Yt,timeLabels:Jn,slicer:qn,configRef:j,rotationPath:[`style`,`chart`,`yAxis`,`labels`,`axisNamesRotation`],autoRotatePath:[`style`,`chart`,`yAxis`,`labels`,`axisNamesAutoRotate`,`enable`],isAutoSize:!1,width:_n,height:vn,targetClass:`.vue-ui-parallel-coordinate-plot-x-label`,rotation:N.value.axisNamesAutoRotate.angle});let Yn=l(()=>n({config:j,style:F,mutableConfig:W,dialog:Ft,accordion:At,isFullscreen:A,parent:D,maxWidth:800,isCursorPointer:L}));tt(()=>W.value.showTable,e=>t(e,j,qt));function Xn(){W.value.showTable=!1,Jt.value&&Jt.value.setTableIconState(!1)}let Zn=l(()=>F.value.backgroundColor),Qn=l(()=>F.value.legend),$n=l(()=>F.value.title),{isCallbackImaging:er,isCallbackSvg:tr,generateSvg:nr,onGenerateImage:rr}=Oe({svg:R,title:$n,legend:Qn,legendItems:En,backgroundColor:Zn,getSvgCallback:()=>j.value.userOptions.callbacks.svg,generateImage:hn});async function ir(){if(zn(`copyAlt`,{config:j.value,dataset:Y.value}),!j.value.userOptions.callbacks.altCopy){console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");return}await Promise.resolve(j.value.userOptions.callbacks.altCopy({config:j.value,dataset:Y.value}))}function ar(e){let t=X.value.length;return t?(e%t+t)%t:null}function or(){if(O.value!==null){let e=X.value[O.value];e&&Q({shape:e.shape,serie:e.serie,S:e.S})}O.value=null,Zt.value=`pointer`,Z.value=null,Mn.value=!1}function sr(){O.value=null,Qt.value=!0}function cr(){or(),Qt.value=!1}function lr(e){if(!R.value||Wn.value||document.activeElement!==R.value||!X.value.length)return;let t=[`ArrowUp`,`ArrowLeft`].includes(e.key),n=[`ArrowDown`,`ArrowRight`].includes(e.key),r=e.key===`Enter`||e.key===` `,i=e.key===`Escape`;if(!t&&!n&&!r&&!i)return;if(e.preventDefault(),e.stopPropagation(),i){or();return}if(r){if(O.value===null)return;let e=X.value[O.value];if(!e)return;Bn({serie:e.serie,shape:e.shape,S:e.S});return}let a=O.value;a=a===null?n?0:X.value.length-1:ar(a+(n?1:-1));let o=X.value[a];o&&(O.value=a,Fn({shape:o.shape,serieName:o.serieName,serie:o.serie,relativeIndex:o.relativeIndex,seriesIndex:o.seriesIndex,S:o.S,triggerMode:`keyboard`}))}let ur=l(()=>({head:$.value.head,body:$.value.body.map(e=>[e[0]??``,e[1]??``,...e.slice(2)]),caption:j.value.a11y.translations.tableCaption,notice:j.value.a11y.translations.tableAvailable}));return Ne({getData:In,getImage:Kn,generateCsv:Rn,generatePdf:mn,generateImage:hn,generateSvg:nr,hideSeries:Tn,showSeries:wn,toggleTable:Vn,toggleLabels:Hn,toggleTooltip:Un,toggleAnnotator:Gn,toggleFullscreen:$t,copyAlt:ir}),(e,t)=>(y(),f(`div`,{ref_key:`pcpChart`,ref:D,class:g(`vue-data-ui-component vue-ui-pcp ${A.value?`vue-data-ui-wrapper-fullscreen`:``} ${j.value.useCssAnimation?``:`vue-ui-dna`}`),style:v(`font-family:${j.value.style.fontFamily};width:100%; text-align:center;background:${F.value.backgroundColor};${j.value.responsive?`height:100%`:``}`),id:`pcp_${k.value}`,onMouseenter:t[2]||=()=>w(on)(!0),onMouseleave:t[3]||=()=>w(on)(!1)},[p(`div`,{id:`chart-instructions-${k.value}`,class:`sr-only`},[p(`p`,null,C(j.value.a11y.translations.keyboardNavigation),1)],8,at),ur.value.body.length?(y(),u(Le,{key:0,uid:k.value,head:ur.value.head,body:ur.value.body,caption:ur.value.caption,notice:ur.value.notice},null,8,[`uid`,`head`,`body`,`caption`,`notice`])):d(``,!0),M.value.buttons.annotator?(y(),u(w(Mt),{key:1,svgRef:w(R),backgroundColor:F.value.backgroundColor,color:F.value.color,active:Wn.value,isCursorPointer:L.value,palette:M.value.annotatorPalette,onClose:Gn},Ge({_:2},[x(w(i),t=>({name:t,fn:T(n=>[S(e.$slots,t,_(h(w(r)(t,n))),void 0,!0)])}))]),1032,[`svgRef`,`backgroundColor`,`color`,`active`,`isCursorPointer`,`palette`])):d(``,!0),gn.value?(y(),f(`div`,{key:2,ref_key:`noTitle`,ref:Ht,class:`vue-data-ui-no-title-space`,style:`height:36px; width: 100%;background:transparent`},null,512)):d(``,!0),F.value.title.text?(y(),f(`div`,{key:3,ref_key:`chartTitle`,ref:zt,style:`width:100%;background:transparent;padding-bottom:24px`},[(y(),u(je,{key:`title_${Ut.value}`,config:{title:{cy:`pcp-div-title`,...F.value.title},subtitle:{cy:`pcp-div-subtitle`,...F.value.title.subtitle}}},null,8,[`config`]))],512)):d(``,!0),p(`div`,{id:`legend-top-${k.value}`},null,8,ot),M.value.show&&Lt.value&&(w(sn)||w(an))?(y(),u(w(Nt),{ref_key:`userOptionsRef`,ref:Jt,key:`user_options_${Rt.value}`,backgroundColor:F.value.backgroundColor,color:F.value.color,isPrinting:w(fn),isImaging:w(pn),uid:k.value,hasTooltip:M.value.buttons.tooltip&&P.value.show,hasPdf:M.value.buttons.pdf,hasXls:M.value.buttons.csv,hasImg:M.value.buttons.img,hasSvg:M.value.buttons.svg,hasTable:M.value.buttons.table,hasLabel:M.value.buttons.labels,hasFullscreen:M.value.buttons.fullscreen,hasAltCopy:M.value.buttons.altCopy,isFullscreen:A.value,isTooltip:W.value.showTooltip,titles:{...M.value.buttonTitles},chartElement:D.value,position:M.value.position,hasAnnotator:M.value.buttons.annotator,isAnnotation:Wn.value,callbacks:M.value.callbacks,printScale:M.value.print.scale,tableDialog:j.value.table.useDialog,isCursorPointer:L.value,onToggleFullscreen:$t,onGeneratePdf:w(mn),onGenerateCsv:Rn,onGenerateImage:w(rr),onGenerateSvg:w(nr),onToggleTable:Vn,onToggleLabels:Hn,onToggleTooltip:Un,onToggleAnnotator:Gn,onCopyAlt:ir,style:v({visibility:w(sn)?w(an)?`visible`:`hidden`:`visible`})},Ge({_:2},[x(w(a)(e.$slots,`menuIcon optionTooltip optionPdf optionCsv optionImg optionSvg optionTable optionLabels optionFullscreen optionAnnotator optionAltCopy custom-menu-before custom-menu-after`),t=>({name:t,fn:T(n=>[S(e.$slots,t,_(h(w(o)(t,n))),void 0,!0)])}))]),1032,/* @__PURE__ */ `backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style`.split(`.`))):d(``,!0),p(`div`,st,[(y(),f(`svg`,{ref_key:`svgRef`,ref:R,xmlns:w(ge),"aria-describedby":`chart-instructions-${k.value}`,class:g({"vue-data-ui-fullscreen--on":A.value,"vue-data-ui-fulscreen--off":!A.value,"vue-data-ui-no-transition":!w(I)}),viewBox:`0 0 ${U.value.chartWidth<=0?10:U.value.chartWidth} ${U.value.chartHeight<=0?10:U.value.chartHeight}`,style:v(`max-width:100%; overflow: visible; background:transparent;color:${F.value.color}`),tabindex:`0`,onFocus:sr,onBlur:cr,onKeydown:lr},[qe(w(Pt)),e.$slots[`chart-background`]?(y(),f(`foreignObject`,{key:0,x:U.value.left,y:U.value.top,width:U.value.width,height:U.value.height,style:{pointerEvents:`none`}},[S(e.$slots,`chart-background`,{},void 0,!0)],8,lt)):d(``,!0),(y(!0),f(c,null,x(J.value,(e,t)=>(y(),f(`g`,ut,[p(`line`,{x1:U.value.left+q.value*t+q.value/2,x2:U.value.left+q.value*t+q.value/2,y1:U.value.top,y2:U.value.bottom,stroke:F.value.yAxis.stroke,"stroke-width":F.value.yAxis.strokeWidth},null,8,dt),N.value.ticks.show?(y(),f(c,{key:0},[(y(!0),f(c,null,x(e.ticks,(t,n)=>(y(),f(`path`,{class:g({"vue-data-ui-transition":w(I)}),key:`tick_${e.name}_${n}`,d:`M${t.x},${t.y} ${t.x-10},${t.y}`,stroke:F.value.yAxis.stroke,"stroke-width":F.value.yAxis.strokeWidth,style:v(`opacity:${Z.value&&!W.value.showTooltip?.2:1}`)},null,14,ft))),128)),w(tn)?d(``,!0):(y(),f(`g`,pt,[(y(!0),f(c,null,x(e.ticks,(n,r)=>(y(),f(`text`,{key:`tl_${e.name}_${r}`,class:g({"vue-data-ui-transition":w(I)}),transform:`translate(${n.x-12+N.value.ticks.offsetX}, ${n.y+N.value.ticks.offsetY+V.value.ticksFontSize/3})`,fill:N.value.ticks.color,"text-anchor":`end`,"font-size":V.value.ticksFontSize,"font-weight":N.value.ticks.bold?`bold`:`normal`,style:v(`opacity:${Z.value&&!W.value.showTooltip?.2:1}`)},C(An({value:n.value,index:t,datapoint:n})),15,mt))),128))]))],64)):d(``,!0)]))),256)),N.value.showAxisNames?(y(),f(`g`,{key:1,ref_key:`xAxisLabels`,ref:Yt},[(y(!0),f(c,null,x(J.value,(e,t)=>(y(),f(c,null,[String(e.name).includes(`
9
- `)?(y(),f(`text`,{key:1,class:`vue-ui-parallel-coordinate-plot-x-label`,fill:N.value.axisNamesColor,"font-size":V.value.axisNameFontSize,"font-weight":N.value.axisNamesBold?`bold`:``,"text-anchor":N.value.axisNamesRotation===0?`middle`:N.value.axisNamesRotation<0?`start`:`end`,transform:`translate(${U.value.left+q.value*t+q.value/2}, ${H.value-V.value.axisNameFontSize}), rotate(${N.value.axisNamesRotation})`,innerHTML:w(re)({content:String(e.name),fontSize:V.value.axisNameFontSize,fill:N.value.axisNamesColor,x:0,y:0})},null,8,gt)):(y(),f(`text`,{key:0,class:`vue-ui-parallel-coordinate-plot-x-label`,fill:N.value.axisNamesColor,"font-size":V.value.axisNameFontSize,"font-weight":N.value.axisNamesBold?`bold`:``,"text-anchor":N.value.axisNamesRotation===0?`middle`:N.value.axisNamesRotation<0?`start`:`end`,transform:`translate(${U.value.left+q.value*t+q.value/2}, ${H.value-V.value.axisNameFontSize}), rotate(${N.value.axisNamesRotation})`},C(e.name),9,ht))],64))),256))],512)):d(``,!0),(y(!0),f(c,null,x(Y.value,(t,n)=>(y(),f(`g`,null,[(y(!0),f(c,null,x(t.series,(r,i)=>(y(),f(`g`,null,[F.value.plots.show?(y(),f(`g`,_t,[(y(!0),f(c,null,x(r.datapoints,(e,a)=>(y(),u(Me,{plot:{x:e.x,y:e.y},color:t.color,shape:t.shape,radius:t.shape===`triangle`?V.value.plotSize*1.2:V.value.plotSize,stroke:F.value.backgroundColor,strokeWidth:.5,onMouseenter:e=>Fn({shape:t.shape,serieName:t.name,serie:r,relativeIndex:i,seriesIndex:r.seriesIndex,S:n,triggerMode:`pointer`}),onMouseleave:e=>Q({serie:r,shape:t.shape,S:n}),style:v(`opacity:${Z.value?Z.value===r.id?F.value.plots.opacity:.2:F.value.plots.opacity}`),onClick:()=>Bn({serie:r,shape:t.shape,S:n})},null,8,[`plot`,`color`,`shape`,`radius`,`stroke`,`onMouseenter`,`onMouseleave`,`style`,`onClick`]))),256)),W.value.showTooltip?d(``,!0):(y(),f(c,{key:0},[Z.value&&Z.value===r.id&&r.datapoints.length?(y(),f(`text`,{key:0,x:r.datapoints[0].x-V.value.ticksFontSize,y:r.datapoints[0].y+V.value.ticksFontSize/3,"text-anchor":`end`,"font-size":V.value.ticksFontSize,fill:t.color,"font-weight":`bold`},C(r.name),9,vt)):d(``,!0)],64)),F.value.comments.show?(y(!0),f(c,{key:1},x(r.datapoints,n=>(y(),f(`g`,null,[n.comment?(y(),f(`foreignObject`,{key:0,style:{overflow:`visible`},height:`12`,width:F.value.comments.width,x:n.x-F.value.comments.width/2+F.value.comments.offsetX,y:n.y+F.value.comments.offsetY+6},[p(`div`,bt,[S(e.$slots,`plot-comment`,{plot:{...n,color:t.color}},void 0,!0)])],8,yt)):d(``,!0)]))),256)):d(``,!0)])):d(``,!0),p(`path`,{d:`M${F.value.lines.smooth?r.smoothPath:r.straightPath}`,stroke:t.color,"stroke-width":F.value.lines.strokeWidth,fill:`none`,class:g({"vue-ui-pcp-animated vue-data-ui-line-animated":j.value.useCssAnimation,"vue-data-ui-transition":w(I)}),onMouseenter:e=>Fn({shape:t.shape,serieName:t.name,serie:r,relativeIndex:i,seriesIndex:r.seriesIndex,S:n,triggerMode:`pointer`}),onMouseleave:e=>Q({serie:r,shape:t.shape,S:n}),onClick:()=>Bn({serie:r,shape:t.shape,S:n}),style:v(`opacity:${Z.value?Z.value===r.id?F.value.lines.opacity:.2:F.value.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${j.value.useCssAnimation?r.pathLength:0}`)},null,46,xt),W.value.showTooltip?(y(),f(`path`,{key:1,d:`M${F.value.lines.smooth?r.smoothPath:r.straightPath}`,stroke:`transparent`,"stroke-width":12,fill:`none`,class:g({"vue-ui-pcp-animated vue-data-ui-line-animated":j.value.useCssAnimation,"vue-data-ui-transition":w(I)}),onMouseenter:e=>Fn({shape:t.shape,serieName:t.name,serie:r,relativeIndex:i,seriesIndex:r.seriesIndex,S:n,triggerMode:`pointer`}),onMouseleave:e=>Q({serie:r,shape:t.shape,S:n}),onClick:()=>Bn({serie:r,shape:t.shape,S:n}),style:{opacity:`0`}},null,42,St)):d(``,!0)]))),256))]))),256)),(y(!0),f(c,null,x(Y.value,(e,t)=>(y(),f(`g`,null,[(y(!0),f(c,null,x(e.series,(n,r)=>(y(),f(`g`,null,[!w(tn)&&(W.value.dataLabels.show||Z.value&&Z.value===n.id)?(y(!0),f(c,{key:0},x(n.datapoints,(i,a)=>(y(),f(`text`,{key:`pl_${n.id}_${a}`,transform:`translate(${i.x+12+N.value.datapoints.offsetX}, ${i.y+N.value.datapoints.offsetY+V.value.datapointFontSize/3})`,fill:N.value.datapoints.useSerieColor?e.color:N.value.datapoints.color,"text-anchor":`start`,"font-weight":N.value.datapoints.bold?`bold`:`normal`,class:g({"vue-ui-pcp-plot-label":!0,"vue-data-ui-transition":w(I)}),"font-size":V.value.datapointFontSize,stroke:F.value.backgroundColor,"stroke-width":3,"stroke-linecap":`round`,"stroke-linejoin":`round`,"paint-order":`stroke fill`,onMouseenter:i=>Fn({shape:e.shape,serieName:e.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex,S:t,triggerMode:`pointer`}),onMouseleave:r=>Q({serie:n,shape:e.shape,S:t}),onClick:()=>Bn({serie:n,shape:e.shape,S:t}),style:v(`opacity:${Z.value?Z.value===n.id?1:.2:1}`)},C(An({value:i.value,index:a,datapoint:i})),47,Ct))),128)):d(``,!0)]))),256))]))),256)),S(e.$slots,`svg`,{svg:{...U.value,isPrintingImg:w(fn)||w(pn)||w(er),isPrintingSvg:w(tr)}},void 0,!0)],46,ct)),e.$slots.hint?(y(),f(`div`,wt,[S(e.$slots,`hint`,_(h({hint:j.value.a11y.translations.keyboardNavigation,isVisible:Qt.value})),void 0,!0)])):d(``,!0)]),e.$slots.watermark?(y(),f(`div`,Tt,[S(e.$slots,`watermark`,_(h({isPrinting:w(fn)||w(pn)||w(er)||w(tr)})),void 0,!0)])):d(``,!0),p(`div`,{id:`legend-bottom-${k.value}`},null,8,Et),Kt.value&&(F.value.legend.show||e.$slots.legend)?(y(),u(We,{key:6,to:F.value.legend.position===`top`?`#legend-top-${k.value}`:`#legend-bottom-${k.value}`},[p(`div`,{ref_key:`chartLegend`,ref:Bt},[S(e.$slots,`legend`,{legend:En.value},()=>[F.value.legend.show&&Lt.value?(y(),u(He,{key:`legend_${Wt.value}`,legendSet:En.value,config:Dn.value,isCursorPointer:L.value,onClickMarker:t[0]||=({legend:e})=>{Sn(e.id)}},{item:T(({legend:e,index:t})=>[p(`div`,{onClick:t=>e.segregate(),style:v(`opacity:${G.value.includes(e.id)?.5:1}`)},C(e.name),13,Dt)]),legendToggle:T(()=>[En.value.length>2&&F.value.legend.selectAllToggle.show&&!w(tn)?(y(),u(Ie,{key:0,backgroundColor:F.value.legend.selectAllToggle.backgroundColor,color:F.value.legend.selectAllToggle.color,fontSize:F.value.legend.fontSize,checked:G.value.length>0,isCursorPointer:L.value,onToggle:xn},null,8,[`backgroundColor`,`color`,`fontSize`,`checked`,`isCursorPointer`])):d(``,!0)]),_:1},8,[`legendSet`,`config`,`isCursorPointer`])):d(``,!0)],!0)],512)],8,[`to`])):d(``,!0),e.$slots.source?(y(),f(`div`,{key:7,ref_key:`source`,ref:Vt,dir:`auto`},[S(e.$slots,`source`,{},void 0,!0)],512)):d(``,!0),qe(w(Ot),{teleportTo:P.value.teleportTo,show:W.value.showTooltip&&Mn.value,backgroundColor:P.value.backgroundColor,color:P.value.color,fontSize:P.value.fontSize,borderRadius:P.value.borderRadius,borderColor:P.value.borderColor,borderWidth:P.value.borderWidth,backgroundOpacity:P.value.backgroundOpacity,position:P.value.position,offsetX:P.value.offsetX,offsetY:P.value.offsetY,parent:D.value,content:Nn.value,isFullscreen:A.value,isCustom:w(ne)(P.value.customFormat),smooth:P.value.smooth,backdropFilter:P.value.backdropFilter,smoothForce:P.value.smoothForce,smoothSnapThreshold:P.value.smoothSnapThreshold,isA11yMode:Zt.value===`keyboard`,a11yPosition:Xt.value},{"tooltip-before":T(()=>[S(e.$slots,`tooltip-before`,_(h({...jn.value})),void 0,!0)]),tooltip:T(()=>[S(e.$slots,`tooltip`,_(h({...jn.value})),void 0,!0)]),"tooltip-after":T(()=>[S(e.$slots,`tooltip-after`,_(h({...jn.value})),void 0,!0)]),_:3},8,[`teleportTo`,`show`,`backgroundColor`,`color`,`fontSize`,`borderRadius`,`borderColor`,`borderWidth`,`backgroundOpacity`,`position`,`offsetX`,`offsetY`,`parent`,`content`,`isFullscreen`,`isCustom`,`smooth`,`backdropFilter`,`smoothForce`,`smoothSnapThreshold`,`isA11yMode`,`a11yPosition`]),Lt.value&&M.value.buttons.table?(y(),u(Qe(Yn.value.component),Je({key:8},Yn.value.props,{ref_key:`tableUnit`,ref:qt,onClose:Xn}),Ge({content:T(()=>[(y(),u(w(jt),{key:`table_${Gt.value}`,colNames:$.value.colNames,head:$.value.head,body:$.value.body,config:$.value.config,title:j.value.table.useDialog?``:Yn.value.title,withCloseButton:!j.value.table.useDialog,isCursorPointer:L.value,onClose:Xn},{th:T(({th:e})=>[p(`div`,null,C(e),1)]),td:T(({td:e})=>[Ke(C(e),1)]),_:1},8,[`colNames`,`head`,`body`,`config`,`title`,`withCloseButton`,`isCursorPointer`]))]),_:2},[j.value.table.useDialog?{name:`title`,fn:T(()=>[Ke(C(Yn.value.title),1)]),key:`0`}:void 0,j.value.table.useDialog?{name:`actions`,fn:T(()=>[p(`button`,{tabindex:`0`,class:`vue-ui-user-options-button`,onClick:t[1]||=e=>Rn(M.value.callbacks.csv),style:v({cursor:L.value?`pointer`:`default`})},[qe(w(kt),{name:`fileCsv`,stroke:Yn.value.props.color},null,8,[`stroke`])],4)]),key:`1`}:void 0]),1040)):d(``,!0),S(e.$slots,`skeleton`,{},()=>[w(tn)?(y(),u(De,{key:0})):d(``,!0)],!0)],46,it))}},[[`__scopeId`,`data-v-ce90b2ed`]]);export{rt as n,Ot as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{n as t,t as n}from"./userOptionsSlots-DYuo-E5m.js";import{$ as r,D as i,Ht as a,S as o,X as ee,at as te,i as ne,m as re,nt as ie,w as ae,yt as oe,zt as se}from"./lib-zDxoqrgo.js";import{n as ce,t as le}from"./useHints-BH9r_0Vd.js";import{t as ue}from"./useConfig-CKdzPrcf.js";import{t as de}from"./usePrinter-CnyKPIFM.js";import{t as fe}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{n as pe}from"./resolveChartConfig-BSo1Oe9n.js";import{t as me}from"./useUserOptionState-CXlFnwPv.js";import{t as he}from"./vClickOutside-BxNzkY17.js";import{t as ge}from"./vue_ui_table_sparkline-Dlfbza49.js";import{Fragment as s,computed as c,createBlock as _e,createCommentVNode as l,createElementBlock as u,createElementVNode as d,createSlots as ve,createVNode as f,defineAsyncComponent as ye,mergeProps as be,nextTick as xe,normalizeClass as p,normalizeStyle as m,onBeforeUnmount as Se,onMounted as Ce,openBlock as h,ref as g,renderList as _,renderSlot as we,shallowRef as Te,toDisplayString as v,unref as y,useCssVars as Ee,useSlots as De,watch as Oe,withCtx as ke,withDirectives as Ae}from"vue";var je=/* @__PURE__ */ e({default:()=>b}),Me=[`id`],Ne={style:{"z-index":`1`,"padding-right":`24px`}},Pe={key:0,style:{display:`flex`,flexDirection:`row`,alignItems:`center`}},Fe={key:0,style:{display:`flex`,flexDirection:`row`,alignItems:`center`}},Ie=[`onClick`],Le=[`onClick`],Re=[`data-cell`],ze=[`data-cell`,`onPointerenter`],Be=[`data-cell`],Ve=[`data-cell`],He=[`data-cell`],Ue=[`data-cell`],We={key:1,ref:`source`,dir:`auto`},b=/*#__PURE__*/ fe({__name:`vue-ui-table-sparkline`,props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:[`copyAlt`],setup(e,{expose:fe,emit:je}){Ee(e=>({v6a200610:e.tdo}));let b=ye(()=>import(`./vue-ui-sparkline-DP_nYlW8.js`).then(e=>e.n)),x=ye(()=>import(`./BaseIcon-Cz30ODFA.js`).then(e=>e.n)),Ge=ye(()=>import(`./UserOptions-D65t74CM.js`).then(e=>e.n)),{vue_ui_table_sparkline:Ke}=ue(),S=e,qe=je,C=g(ee()),Je=g(0),w=g(0),Ye=g(null),Xe=De(),Ze=g(!1),T=c({get:()=>et(),set:e=>e}),E=c(()=>T.value.userOptions),D=c(()=>T.value.sparkline),O=c(()=>T.value.thead),k=c(()=>T.value.tbody),A=c(()=>T.value.title);Ce(()=>{Xe[`chart-background`]&&T.value.debug&&console.warn(`VueUiTableSparkline does not support the #chart-background slot.`)}),ce({config:()=>T.value,dataset:()=>S.dataset,component:`VueUiTableSparkline`,rules:[le.emptyArray,{test:e=>e.some(e=>e?.values&&e.values.length>500),message:[`👀 One or more series have > 500 datapoints. Consider if you really need this level of detail.`,``,`▶️ Use larger time scales, or aggregated values`]},{test:e=>e.some(e=>e?.values&&e.values.length>1095),message:[`👀 One or more series have > 1095 datapoints. Above this threshold, the dataset is computed through an LTTB algorithm, to preserve the shape of the data without increasing the number of datapoints.`,``,`▶️ If you need this level of detail, you can change config.downsample.threshold and set a higher value. Note that performance will be impacted.`]}]});let j=c(()=>T.value.userOptions.useCursorPointer),{userOptionsVisible:M,setUserOptionsVisibility:Qe,keepUserOptionState:$e}=me({config:T.value});function et(){return pe(S.config,Ke,ge)}Oe(()=>S.config,e=>{T.value=et(),M.value=!T.value.userOptions.showOnChartHover,st(),w.value+=1},{deep:!0}),Oe(()=>S.dataset,e=>{U.value=H.value,w.value+=1},{deep:!0});let{isPrinting:tt,isImaging:nt,generatePdf:rt,generateImage:it}=de({elementId:`table_${C.value}`,fileName:A.value.text||`vue-ui-table-sparkline`,options:T.value.userOptions.print}),at=c(()=>ae(T.value.customPalette)),N=g(null),P=g(!1),ot=c(()=>T.value.responsiveBreakpoint);Ce(()=>{st()});let F=g(T.value.colNames),I=Te(null);function st(){se(S.dataset)&&te({componentName:`VueUiTableSparkline`,type:`dataset`}),I.value&&I.value.disconnect(),I.value=new ResizeObserver(e=>{e.forEach(e=>{P.value=e.contentRect.width<ot.value})}),N.value&&I.value.observe(N.value),F.value=[];for(let e=0;e<ft.value;e+=1)F.value.push(T.value.colNames[e]||`col ${e}`)}Se(()=>{I.value&&I.value.disconnect()});function L(e){if([null,void 0].includes(e))return null;let t=Number(e);return Number.isFinite(t)?t:null}function R(e){return typeof e==`number`&&Number.isFinite(e)}function ct(e=[]){return e.map(L).filter(R)}function z(e,t,n){let r=L(e),i=L(t),a=R(r),o=R(i);return a&&o?n===-1?r-i:i-r:a?-1:+!!o}function B(e,t,n={}){let i=L(e);return i===null?`-`:ne(T.value.formatter,i,r({p:T.value.prefix,v:i,s:T.value.suffix,r:t}),n)}let V=c(()=>(S.dataset.forEach((e,t)=>{oe({datasetObject:e,requiredAttributes:[`name`,`values`]}).forEach(e=>{te({componentName:`VueUiTableSparkline`,type:`datasetSerieAttribute`,property:e,index:t})})}),S.dataset.map((e,t)=>{let n=e.values||[],r=ct(n),i=r.length?r.reduce((e,t)=>e+t,0):null,ee=r.length?i/r.length:null,te=r.length?re(r):null;return{...e,values:n,color:o(e.color)||at.value[t]||a[t]||a[t%a.length],sum:i,average:ee,median:te,sparklineDataset:n.map((e,t)=>({period:T.value.colNames[t]||`col ${t}`,value:L(e)}))}})));function lt(e){let t=(e[0]?.values||[]).map((t,n)=>e.map(e=>e?.values?.[n]??null)).map(e=>e.map((e,t)=>[e,t]).sort((e,t)=>z(e[0],t[0],1)).map(e=>e[1]));return e.map((e,n)=>({...e,values:e.values||[],orders:t[n]}))}let H=c(()=>lt(V.value)),U=g(H.value),ut=c(()=>Math.max(...U.value.map(e=>(e.values||[]).length))),W=g(void 0),G=g(!1),K=g(void 0),dt=g(1);function q(){G.value=!1,K.value=void 0,Z.value=void 0,dt.value=1,$.value.forEach(e=>e.state=1),X.value={name:1,sum:1,average:1,median:1},U.value=H.value}function J(e,t,n){if([`name`,`sum`,`average`,`median`].includes(e.type)){pt(e.type,t,n);return}if(!yt(t))return;if(Q.value=t,Z.value=void 0,![null,void 0].includes(K.value)&&t!==K.value&&(K.value=void 0,q()),$.value[t].state===n&&K.value===t){K.value=void 0,q();return}G.value=!0,K.value=t;let r=H.value.map(e=>e.values?.[t]??null),i=n;$.value[t].state=i,dt.value=i,t===W.value?W.value=void 0:W.value=t;let a=r.map((e,t)=>[t,e]).sort((e,t)=>z(e[1],t[1],i)).map(e=>e[0]).map(e=>H.value[e]);U.value=a,w.value+=1}let ft=c(()=>Math.max(...S.dataset.map(e=>(e.values||[]).length))),Y=c(()=>{let e=F.value.map(e=>({type:`reg`,value:e}));if(!e.length)for(let t=0;t<ft.value;t+=1)e.push({type:`reg`,value:`col ${t+1}`});T.value.showTotal&&(e=[...e,{type:`sum`,value:T.value.translations.total}]);let t;return t=T.value.showAverage&&T.value.showMedian?[...e,{type:`average`,value:T.value.translations.average},{type:`median`,value:T.value.translations.median}]:T.value.showAverage&&!T.value.showMedian?[...e,{type:`average`,value:T.value.translations.average}]:!T.value.showAverage&&T.value.showMedian?[...e,{type:`median`,value:T.value.translations.median}]:e,T.value.showSparklines?[...t,{type:`chart`,value:T.value.translations.chart}]:t}),X=g({name:1,sum:1,average:1,median:1}),Z=g(void 0);function pt(e,t,n){if(!U.value||U.value.length===0||!bt(e))return;if(Z.value!==e&&(Z.value=void 0),![null,void 0].includes(K.value)&&t!==K.value&&q(),K.value=void 0,X.value[e]===n&&Z.value){Z.value=void 0,q();return}Z.value=e,G.value=!0,X.value[e]=n,[null,void 0].includes(t)||($.value[t].state=X.value[e]);let r=X.value[e],i=[...U.value].sort((t,n)=>{let i=t[e],a=n[e];return typeof i==`string`&&typeof a==`string`?r===-1?i.localeCompare(a):a.localeCompare(i):z(i,a,r)});U.value=i}let Q=g(void 0),mt=g(void 0);function ht({dataIndex:e,serieIndex:t}){Q.value=e,mt.value=t,Ye.value[e]&&!P.value&&Ye.value[e].scrollIntoView({behavior:`smooth`,block:`nearest`,inline:`center`})}let gt=g(!1);function _t(e){gt.value=e,Je.value+=1}function vt(e=null){xe(()=>{let t=[T.value.translations.serie].concat(Y.value),n=V.value.map((e,t)=>[[e.name],e.values,[e.sum],[e.average],[e.median]]),r=[t].concat(n),a=i(r);e?e(a):ie({csvContent:a,title:A.value.text||`vue-ui-table-sparkline`})})}function yt(e){return T.value.sortedDataColumnIndices.includes(e)}function bt(e){return e.type===`name`||e===`name`?T.value.sortedSeriesName:e.type===`sum`||e===`sum`?T.value.sortedSum:e.type===`average`||e===`average`?T.value.sortedAverage:e.type===`median`||e===`median`?T.value.sortedMedian:!1}function xt(e,t,n){return[`sum`,`average`,`median`].includes(t.type)?Z.value===t.type&&X.value[t.type]===n?1:.3:e===K.value&&$.value[e].state===n?1:.3}function St(){T.value.resetSortOnClickOutside&&q()}let $=c({get:()=>Y.value.map(e=>({state:1})),set:e=>e});function Ct(e){if(e?.stage===`start`){Ze.value=!0;return}if(e?.stage===`end`){Ze.value=!1;return}it()}async function wt(){if(qe(`copyAlt`,{config:T.value,dataset:V.value}),!T.value.userOptions.callbacks.altCopy){console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");return}await Promise.resolve(T.value.userOptions.callbacks.altCopy({config:T.value,dataset:V.value}))}return fe({generatePdf:rt,generateImage:it,generateCsv:vt,restoreOrder:q,copyAlt:wt}),(e,r)=>(h(),u(`div`,{ref_key:`tableContainer`,ref:N,class:p({"vue-data-ui-component":!0,"vue-ui-table-sparkline":!0,"vue-ui-responsive":P.value}),style:{overflow:`hidden`},id:`table_${C.value}`,onMouseenter:r[3]||=()=>y(Qe)(!0),onMouseleave:r[4]||=()=>y(Qe)(!1)},[A.value.text?(h(),u(`div`,{key:0,class:`vue-ui-table-sparkline-caption`,style:m({backgroundColor:A.value.backgroundColor})},[d(`div`,{class:`atom-title`,style:m({fontSize:`${A.value.fontSize}px`,fontWeight:A.value.bold?`bold`:`normal`,color:A.value.color,textAlign:A.value.textAlign})},v(A.value.text),5),A.value.subtitle.text?(h(),u(`div`,{key:0,class:`atom-subtitle`,style:m({fontSize:`${A.value.subtitle.fontSize}px`,fontWeight:A.value.subtitle.bold?`bold`:`normal`,color:A.value.subtitle.color,textAlign:A.value.textAlign})},v(A.value.subtitle.text),5)):l(``,!0)],4)):l(``,!0),d(`div`,{style:{overflow:`auto`},onPointerleave:r[2]||=e=>{mt.value=void 0,Q.value=void 0}},[d(`table`,{class:`vue-ui-data-table`,style:m({fontFamily:T.value.fontFamily,position:`relative`})},[d(`thead`,Ne,[Ae((h(),u(`tr`,{role:`row`,class:`vue-ui-data-table__thead-row`,style:m({backgroundColor:O.value.backgroundColor,color:O.value.color})},[d(`th`,{role:`cell`,style:m({backgroundColor:O.value.backgroundColor,border:O.value.outline,textAlign:O.value.textAlign,fontWeight:O.value.bold?`bold`:`normal`}),class:`sticky-col-first`},[d(`div`,{style:m({display:`flex`,flexDirection:`row`,alignItems:`center`,gap:`3px`,justifyContent:O.value.textAlign})},[d(`span`,null,v(T.value.translations.serie),1),U.value.length>1&&T.value.sortedSeriesName?(h(),u(`div`,Pe,[d(`button`,{class:`vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down`,onClick:r[0]||=e=>J({type:`name`},null,-1),style:m({cursor:j.value?`pointer`:`default`})},[f(y(x),{size:12,name:`arrowBottom`,stroke:O.value.color,style:m({opacity:Z.value===`name`&&X.value.name===-1?1:.3})},null,8,[`stroke`,`style`])],4),d(`button`,{class:`vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up`,onClick:r[1]||=e=>J({type:`name`},null,1),style:m({cursor:j.value?`pointer`:`default`})},[f(y(x),{size:12,name:`arrowTop`,stroke:O.value.color,style:m({opacity:Z.value===`name`&&X.value.name===1?1:.3})},null,8,[`stroke`,`style`])],4)])):l(``,!0)],4)],4),(h(!0),u(s,null,_(Y.value,(r,i)=>(h(),u(`th`,{role:`cell`,style:m({background:O.value.backgroundColor,border:O.value.outline,textAlign:O.value.textAlign,fontWeight:O.value.bold?`bold`:`normal`,minWidth:i===Y.value.length-1?`${D.value.dimensions.width}px`:`48px`,paddingRight:i===Y.value.length-1&&E.value.show?`36px`:``}),class:p({"sticky-col":i===Y.value.length-1&&T.value.showSparklines})},[d(`div`,{style:m({display:`flex`,flexDirection:`row`,alignItems:`center`,gap:`3px`,justifyContent:O.value.textAlign})},[d(`span`,null,v(r.value),1),U.value.length>1&&(yt(i)||bt(r))?(h(),u(`div`,Fe,[d(`button`,{class:`vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down`,onClick:()=>J(r,i,-1),style:m({cursor:j.value?`pointer`:`default`})},[f(y(x),{size:12,name:`arrowBottom`,stroke:O.value.color,style:m({opacity:xt(i,r,-1)})},null,8,[`stroke`,`style`])],12,Ie),d(`button`,{class:`vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up`,onClick:()=>J(r,i,1),style:m({cursor:j.value?`pointer`:`default`})},[f(y(x),{size:12,name:`arrowTop`,stroke:O.value.color,style:m({opacity:xt(i,r,1)})},null,8,[`stroke`,`style`])],12,Le)])):l(``,!0)],4),E.value.show&&i===Y.value.length-1&&(y($e)||y(M))?(h(),_e(y(Ge),{ref_for:!0,ref:`details`,key:`user_option_${Je.value}`,backgroundColor:O.value.backgroundColor,color:O.value.color,isPrinting:y(tt),isImaging:y(nt),uid:C.value,hasPdf:E.value.buttons.pdf,hasXls:E.value.buttons.csv,hasImg:E.value.buttons.img,hasFullscreen:E.value.buttons.fullscreen,hasAltCopy:E.value.buttons.altCopy,isFullscreen:gt.value,titles:{...E.value.buttonTitles},chartElement:N.value,position:E.value.position,callbacks:E.value.callbacks,printScale:E.value.print.scale,isCursorPointer:j.value,onToggleFullscreen:_t,onGeneratePdf:y(rt),onGenerateImage:Ct,onGenerateCsv:vt,onCopyAlt:wt,style:m({visibility:y($e)?y(M)?`visible`:`hidden`:`visible`})},ve({_:2},[_(y(t)(e.$slots,`menuIcon optionPdf optionCsv optionImg optionFullscreen optionAltCopy custom-menu-before custom-menu-after`),t=>({name:t,fn:ke(r=>[we(e.$slots,t,be({ref_for:!0},y(n)(t,r)),void 0,!0)])}))]),1032,[`backgroundColor`,`color`,`isPrinting`,`isImaging`,`uid`,`hasPdf`,`hasXls`,`hasImg`,`hasFullscreen`,`hasAltCopy`,`isFullscreen`,`titles`,`chartElement`,`position`,`callbacks`,`printScale`,`isCursorPointer`,`onGeneratePdf`,`style`])):l(``,!0)],6))),256))],4)),[[y(he),St]])]),d(`tbody`,null,[(h(!0),u(s,null,_(U.value,(e,t)=>(h(),u(`tr`,{role:`row`,style:m({backgroundColor:k.value.backgroundColor,color:k.value.color}),class:p({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":t%2==0,"vue-ui-data-table__tbody__row-odd":t%2!=0})},[d(`td`,{role:`cell`,style:m({backgroundColor:k.value.backgroundColor,border:k.value.outline,fontSize:`${k.value.fontSize}px`,fontWeight:k.value.bold?`bold`:`normal`,textAlign:k.value.textAlign}),"data-cell":T.value.translations.serie,class:`vue-ui-data-table__tbody__td sticky-col-first`},[d(`div`,{dir:`auto`,style:m({display:`flex`,flexDirection:`row`,alignItems:`center`,gap:`6px`,justifyContent:k.value.textAlign})},[k.value.showColorMarker?(h(),u(`span`,{key:0,style:m({color:e.color})},`⬤`,4)):l(``,!0),d(`span`,null,v(e.name??`-`),1)],4)],12,Re),(h(!0),u(s,null,_(ut.value,(n,r)=>(h(),u(`td`,{dir:`auto`,role:`cell`,ref_for:!0,ref_key:`TD`,ref:Ye,style:m({border:k.value.outline,fontSize:`${k.value.fontSize}px`,fontWeight:k.value.bold?`bold`:`normal`,textAlign:k.value.textAlign,background:Q.value!==void 0&&r===Q.value?k.value.selectedColor.useSerieColor?`${e.color.length>7?e.color.slice(0,-2):e.color}33`:k.value.selectedColor.fallback:``}),"data-cell":Y.value[r]?Y.value[r].value:``,class:`vue-ui-data-table__tbody__td`,onPointerenter:e=>{mt.value=t,Q.value=r}},v(B(e.values[r],T.value.roundingValues,{datapoint:e,seriesIndex:t,datapointIndex:r})),45,ze))),256)),T.value.showTotal?(h(),u(`td`,{key:0,dir:`auto`,role:`cell`,style:m({border:k.value.outline,fontSize:`${k.value.fontSize}px`,fontWeight:k.value.bold?`bold`:`normal`,textAlign:k.value.textAlign}),"data-cell":T.value.translations.total,class:`vue-ui-data-table__tbody__td`},v(B(e.sum,T.value.roundingTotal,{datapoint:e.sum,seriesIndex:t})),13,Be)):l(``,!0),T.value.showAverage?(h(),u(`td`,{key:1,dir:`auto`,role:`cell`,style:m({border:k.value.outline,fontSize:`${k.value.fontSize}px`,fontWeight:k.value.bold?`bold`:`normal`,textAlign:k.value.textAlign}),"data-cell":T.value.translations.average,class:`vue-ui-data-table__tbody__td`},v(B(e.average,T.value.roundingAverage,{datapoint:e.average,seriesIndex:t})),13,Ve)):l(``,!0),T.value.showMedian?(h(),u(`td`,{key:2,dir:`auto`,role:`cell`,style:m({border:k.value.outline,fontSize:`${k.value.fontSize}px`,fontWeight:k.value.bold?`bold`:`normal`,textAlign:k.value.textAlign}),"data-cell":T.value.translations.median,class:`vue-ui-data-table__tbody__td`},v(B(e.median,T.value.roundingMedian,{datapoint:e.median,seriesIndex:t})),13,He)):l(``,!0),T.value.showSparklines?(h(),u(`td`,{key:3,role:`cell`,"data-cell":T.value.translations.chart,style:m({border:k.value.outline,fontSize:`${k.value.fontSize}px`,fontWeight:k.value.bold?`bold`:`normal`,textAlign:k.value.textAlign,backgroundColor:k.value.backgroundColor,padding:`0`}),class:`vue-ui-data-table__tbody__td sticky-col`},[f(y(b),{onHoverIndex:({index:e})=>ht({dataIndex:e,serieIndex:t}),"height-ratio":D.value.dimensions.heightRatio,"forced-padding":30,dataset:e.sparklineDataset,showInfo:!1,selectedIndex:Q.value,config:{type:D.value.type,style:{backgroundColor:`transparent`,animation:{show:D.value.animation.show&&!y(tt)&&!y(nt),animationFrames:D.value.animation.animationFrames},padding:{right:12},line:{color:e.color,smooth:D.value.smooth,cutNullValues:D.value.cutNullValues,strokeWidth:D.value.strokeWidth},bar:{color:e.color},area:{color:e.color,opacity:D.value.showArea?16:0,useGradient:D.value.useGradient},verticalIndicator:{color:e.color},plot:{radius:9,stroke:k.value.backgroundColor,strokeWidth:3}}}},null,8,[`onHoverIndex`,`height-ratio`,`dataset`,`selectedIndex`,`config`])],12,Ue)):l(``,!0)],6))),256))])],4)],32),e.$slots.source?(h(),u(`div`,We,[we(e.$slots,`source`,{},void 0,!0)],512)):l(``,!0)],42,Me))}},[[`__scopeId`,`data-v-81726e6d`]]);export{je as n,b as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./unpackTheme-CNsFKCeq.js";var n=/* @__PURE__ */ e({celebration:()=>c,celebrationNight:()=>l,concrete:()=>f,dark:()=>s,default:()=>p,hack:()=>u,minimal:()=>a,minimalDark:()=>o,zen:()=>d}),r=[[],[`userOptions`,`style`],[`show`],[`chart`],[`layout`,`dialog`,`legend`],[`grid`],[`showVerticalLines`],[`donutChart`],[`legend`],[`userOptions`,`style`,`table`],[`backgroundColor`,`color`,`zoom`,`dialog`,`layout`,`legend`,`title`],[`color`,`highlightColor`,`dragToZoom`],[`selection`],[`fill`,`stroke`],[`backgroundColor`,`color`,`header`,`donutChart`],[`backgroundColor`,`color`],[`backgroundColor`,`color`,`layout`,`legend`,`title`,`tooltip`],[`labels`],[`percentage`,`name`,`hollow`],[`color`],[`total`,`average`],[`color`,`value`],[`show`,`backgroundColor`,`color`,`selectAllToggle`],[`color`,`subtitle`],[`backgroundColor`,`backgroundOpacity`,`color`,`borderColor`],[`th`,`td`],[`grid`,`line`,`highlighter`,`dataLabels`],[`showVerticalLines`,`stroke`,`yAxis`,`xAxis`],[`dataLabels`],[`stroke`],[`style`,`table`],[`backgroundColor`,`color`,`selectAllToggle`],[`stroke`,`yAxis`,`xAxis`],[`stroke`,`showVerticalLines`,`yAxis`,`xAxis`],[`backgroundColor`,`color`,`borderColor`],[`show`,`stroke`,`yAxis`,`xAxis`],[`show`,`yAxis`,`xAxis`]],i=/* @__PURE__ */ t([0],r),a=/* @__PURE__ */ t([1,[2,!1],[3,[4,[5,[6,!1]],[7,[1,[2,!1],[3,[8,[2,!1]]]]],[2,!1]]]],r),o=/* @__PURE__ */ t([9,[2,!1],[3,[10,`#1A1A1A`,`#CCCCCC`,[11,`#4A4A4A`,`#9A9A9A`,[12,[13,`#8A8A8A`,`#8A8A8A`]]],[14,`#1A1A1A`,`#CCCCCC`,[15,`#1A1A1A`,`#CCCCCC`],[9,[2,!1],[3,[16,`#1A1A1A`,`#CCCCCC`,[17,[18,[19,`#CCCCCC`],[19,`#CCCCCC`],[20,[21,`#CCCCCC`,[19,`#CCCCCC`]],[21,`#CCCCCC`,[19,`#CCCCCC`]]]]],[22,!1,`#1A1A1A`,`#CCCCCC`,[15,`#3A3A3A`,`#CCCCCC`]],[23,`#CCCCCC`,[19,`#757575`]],[24,`#1A1A1A`,70,`#CCCCCC`,`#5A5A5A`]]],[25,[15,`#1A1A1A`,`#CCCCCC`],[15,`#1A1A1A`,`#CCCCCC`]]]],[26,[27,!1,`#5A5A5A`,[28,[19,`#CCCCCC`]],[28,[19,`#CCCCCC`]]],[29,`#4A4A4A`],[19,`#CCCCCC`],[19,`#CCCCCC`]],[22,!1,`#1A1A1A`,`#CCCCCC`,[15,`#3A3A3A`,`#CCCCCC`]],[23,`#CCCCCC`,[19,`#757575`]]]],[25,[15,`#1A1A1A`,`#CCCCCC`],[15,`#1A1A1A`,`#CCCCCC`]]],r),s=/* @__PURE__ */ t([30,[3,[10,`#1A1A1A`,`#CCCCCC`,[11,`#4A4A4A`,`#9A9A9A`,[12,[13,`#8A8A8A`,`#8A8A8A`]]],[14,`#1A1A1A`,`#CCCCCC`,[15,`#1A1A1A`,`#CCCCCC`],[30,[3,[16,`#1A1A1A`,`#CCCCCC`,[17,[18,[19,`#CCCCCC`],[19,`#CCCCCC`],[20,[21,`#CCCCCC`,[19,`#CCCCCC`]],[21,`#CCCCCC`,[19,`#CCCCCC`]]]]],[31,`#1A1A1A`,`#CCCCCC`,[15,`#3A3A3A`,`#CCCCCC`]],[23,`#CCCCCC`,[19,`#757575`]],[24,`#1A1A1A`,70,`#CCCCCC`,`#5A5A5A`]]],[25,[15,`#1A1A1A`,`#CCCCCC`],[15,`#1A1A1A`,`#CCCCCC`]]]],[26,[32,`#5A5A5A`,[28,[19,`#CCCCCC`]],[28,[19,`#CCCCCC`]]],[29,`#4A4A4A`],[19,`#CCCCCC`],[19,`#CCCCCC`]],[31,`#1A1A1A`,`#CCCCCC`,[15,`#3A3A3A`,`#CCCCCC`]],[23,`#CCCCCC`,[19,`#757575`]]]],[25,[15,`#1A1A1A`,`#CCCCCC`],[15,`#1A1A1A`,`#CCCCCC`]]],r),c=/* @__PURE__ */ t([30,[3,[10,`#FFF8E1`,`#424242`,[11,`#5D4037`,`#FF8A65`,[12,[13,`#FF8A65`,`#FF8A65`]]],[14,`#FFF8E1`,`#424242`,[15,`##FFF8E1`,`#424242`],[30,[3,[16,`##FFF8E1`,`#424242`,[17,[18,[19,`#424242`],[19,`#424242`],[20,[21,`#424242`,[19,`#424242`]],[21,`#424242`,[19,`#424242`]]]]],[31,`##FFF8E1`,`#424242`,[15,`#5D4037`,`#FFF8E1`]],[23,`#424242`,[19,`#757575`]],[24,`#FFECB3`,30,`#424242`,`#FF8A65`]]],[25,[15,`#1A1A1A`,`#CCCCCC`],[15,`#1A1A1A`,`#CCCCCC`]]]],[26,[33,`#5D4037`,!1,[28,[19,`#424242`]],[28,[19,`#424242`]]],[29,`#5D4037`],[19,`#424242`],[19,`#424242`]],[31,`#FFF8E1`,`#424242`,[15,`#5D4037`,`#FFF8E1`]],[23,`#424242`,[19,`#757575`]]]],[25,[15,`#FFF8E1`,`#424242`],[15,`#FFF8E1`,`#424242`]]],r),l=/* @__PURE__ */ t([30,[3,[10,`#1E1E1E`,`#BDBDBD`,[11,`#5D4037`,`#FF8A65`,[12,[13,`#FF8A65`,`#FF8A65`]]],[14,`#1E1E1E`,`#BDBDBD`,[15,`#1E1E1E`,`#BDBDBD`],[30,[3,[16,`#1E1E1E`,`#BDBDBD`,[17,[18,[19,`#BDBDBD`],[19,`#BDBDBD`],[20,[21,`#BDBDBD`,[19,`#BDBDBD`]],[21,`#BDBDBD`,[19,`#BDBDBD`]]]]],[31,`#1E1E1E`,`#BDBDBD`,[15,`#3A3A3A`,`#BDBDBD`]],[23,`#FFF8E1`,[19,`#BDBDBD`]],[24,`#1E1E1E`,30,`#FFF8E1`,`#FF8A65`]]],[25,[15,`#1A1A1A`,`#CCCCCC`],[15,`#1A1A1A`,`#CCCCCC`]]]],[26,[33,`#5D4037`,!1,[28,[19,`#BDBDBD`]],[28,[19,`#BDBDBD`]]],[29,`#5D4037`],[19,`#FFF8E1`],[19,`#BDBDBD`]],[31,`#1E1E1E`,`#BDBDBD`,[15,`#3A3A3A`,`#BDBDBD`]],[23,`#FFF8E1`,[19,`#BDBDBD`]]]],[25,[15,`#1E1E1E`,`#BDBDBD`],[15,`#1E1E1E`,`#BDBDBD`]]],r),u=/* @__PURE__ */ t([30,[3,[10,`#1A1A1A`,`#99AA99`,[11,`#5F6A5F`,`#66CC66`,[12,[13,`#66CC66`,`#66CC66`]]],[14,`#1A1A1A`,`#BDBDBD`,[15,`#1A1A1A`,`#BDBDBD`],[30,[3,[16,`#1A1A1A`,`#99AA99`,[17,[18,[19,`#99AA99`],[19,`#99AA99`],[20,[21,`#99AA99`,[19,`#99AA99`]],[21,`#99AA99`,[19,`#99AA99`]]]]],[31,`#1A1A1A`,`#99AA99`,[15,`#3A3A3A`,`#99AA99`]],[23,`#66CC66`,[19,`#99AA99`]],[34,`#2A2F2A`,`#AACCAA`,`#66CC66`]]],[25,[15,`#1A1A1A`,`#CCCCCC`],[15,`#1A1A1A`,`#CCCCCC`]]]],[26,[35,!1,`#5F6A5F`,[28,[19,`#AACCAA`]],[28,[19,`#AACCAA`]]],[29,`#5F6A5F`],[19,`#66CC66`],[19,`#AACCAA`]],[31,`#1A1A1A`,`#99AA99`,[15,`#3A3A3A`,`#99AA99`]],[23,`#66CC66`,[19,`#99AA99`]]]],[25,[15,`#1A1A1A`,`#99AA99`],[15,`#1A1A1A`,`#AACCAA`]]],r),d=/* @__PURE__ */ t([30,[3,[10,`#fbfafa`,`#8A9892`,[11,`#E0CFC3`,`#8F837A`,[12,[13,`#8F837A`,`#8F837A`]]],[14,`#fbfafa`,`#8A9892`,[15,`#fbfafa`,`#8A9892`],[30,[3,[16,`#fbfafa`,`#99AA99`,[17,[18,[19,`#A0AC94`],[19,`#A0AC94`],[20,[21,`#A0AC94`,[19,`#A0AC94`]],[21,`#A0AC94`,[19,`#A0AC94`]]]]],[31,`#fbfafa`,`#A0AC94`,[15,`#E0CFC3`,`#8F837A`]],[23,`#8A9892`,[19,`#99AA99`]],[15,`#fbfafa`,`#8A9892`]]],[25,[15,`#1A1A1A`,`#CCCCCC`],[15,`#1A1A1A`,`#CCCCCC`]]]],[26,[36,!1,[28,[2,!1]],[28,[2,!1]]],[29,`#DCDFE7`],[19,`#8F837A`],[19,`#A0AC94`]],[31,`#fbfafa`,`#99AA99`,[15,`#E0CFC3`,`#8F837A`]],[23,`#8A9892`,[19,`#99AA99`]]]],[25,[15,`#fbfafa`,`#8F837A`],[15,`#fbfafa`,`#8F837A`]]],r),f=/* @__PURE__ */ t([30,[3,[10,`#f6f6fb`,`#50606C`,[11,`#92B0AB`,`#50606C`,[12,[13,`#50606C`,`#50606C`]]],[14,`#f6f6fb`,`#50606C`,[15,`#f6f6fb`,`#50606C`],[30,[3,[16,`#f6f6fb`,`#50606C`,[17,[18,[19,`#61747E`],[19,`#61747E`],[20,[21,`#61747E`,[19,`#61747E`]],[21,`#61747E`,[19,`#61747E`]]]]],[31,`#f6f6fb`,`#61747E`,[15,`#50606C`,`#f6f6fb`]],[23,`#50606C`,[19,`#718890`]],[15,`#f6f6fb`,`#50606C`]]],[25,[15,`#1A1A1A`,`#CCCCCC`],[15,`#1A1A1A`,`#CCCCCC`]]]],[26,[32,`#BBC4D3`,[28,[19,`#61747E`]],[28,[19,`#61747E`]]],[29,`#92B0AB`],[19,`#50606C`],[19,`#61747E`]],[31,`#f6f6fb`,`#61747E`,[15,`#50606C`,`#f6f6fb`]],[23,`#50606C`,[19,`#718890`]]]],[25,[15,`#f6f6fb`,`#50606C`],[15,`#f6f6fb`,`#50606C`]]],r),p={default:i,minimal:a,minimalDark:o,dark:s,celebration:c,celebrationNight:l,hack:u,zen:d,concrete:f};export{n,p as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./unpackTheme-CNsFKCeq.js";var n=/* @__PURE__ */ e({celebration:()=>c,celebrationNight:()=>l,concrete:()=>f,dark:()=>s,default:()=>p,hack:()=>u,minimal:()=>a,minimalDark:()=>o,zen:()=>d}),r=[[],[`showUserOptions`,`showLegend`,`xyShowGrid`,`zoomMinimap`],[`show`,`frameColor`],[`showUserOptions`,`showLegend`,`legendSelectAllToggleBackgroundColor`,`legendSelectAllToggleColor`,`backgroundColor`,`color`,`donutStroke`,`xyAxisStroke`,`xyGridStroke`,`xyShowGrid`,`xyHighlighterColor`,`zoomColor`,`zoomHighlightColor`,`zoomMinimap`,`dragToZoom`,`tooltipBorderColor`,`tooltipBackgroundOpacity`],[`frameColor`,`show`,`lineColor`,`selectedColor`,`indicatorColor`],[`selection`],[`fill`,`stroke`],[`backgroundColor`,`color`,`donutStroke`,`legendSelectAllToggleBackgroundColor`,`legendSelectAllToggleColor`,`xyAxisStroke`,`xyGridStroke`,`xyHighlighterColor`,`zoomColor`,`zoomHighlightColor`,`zoomMinimap`,`dragToZoom`,`tooltipBorderColor`,`tooltipBackgroundOpacity`],[`lineColor`,`selectedColor`,`indicatorColor`],[`lineColor`,`selectedColor`],[`backgroundColor`,`color`,`donutStro:ke`,`legendSelectAllToggleBackgroundColor`,`legendSelectAllToggleColor`,`xyAxisStroke`,`xyGridStroke`,`xyHighlighterColor`,`zoomColor`,`zoomHighlightColor`,`zoomMinimap`,`dragToZoom`,`tooltipBorderColor`,`tooltipBackgroundOpacity`],[`backgroundColor`,`color`,`legendSelectAllToggleBackgroundColor`,`legendSelectAllToggleColor`,`xyAxisStroke`,`xyGridStroke`,`donutStroke`,`xyHighlighterColor`,`zoomColor`,`zoomHighlightColor`,`tooltipBorderColor`,`zoomMinimap`,`dragToZoom`],[`indicatorColor`],[`backgroundColor`,`color`,`donutStroke`,`legendSelectAllToggleBackgroundColor`,`legendSelectAllToggleColor`,`xyAxisStroke`,`xyGridStroke`,`xyHighlighterColor`,`zoomColor`,`zoomHighlightColor`,`zoomMinimap`,`dragToZoom`],[`selectedColor`,`indicatorColor`]],i=/* @__PURE__ */ t([0],r),a=/* @__PURE__ */ t([1,!1,!1,!1,[2,!0,`transparent`]],r),o=/* @__PURE__ */ t([3,!1,!1,`#3A3A3A`,`#CCCCCC`,`#1A1A1A`,`#CCCCCC`,`#1A1A1A`,`#5A5A5A`,`#4A4A4A`,!1,`#CCCCCC`,`#4A4A4A`,`#9A9A9A`,[4,`transparent`,!0,`#424242`,`#8A8A8A`,`#CCCCCC`],[5,[6,`#8A8A8A`,`#8A8A8A`]],`#3A3A3A`,70],r),s=/* @__PURE__ */ t([7,`#1A1A1A`,`#CCCCCC`,`#1A1A1A`,`#3A3A3A`,`#CCCCCC`,`#5A5A5A`,`#4A4A4A`,`#CCCCCC`,`#4A4A4A`,`#9A9A9A`,[8,`#424242`,`#8A8A8A`,`#CCCCCC`],[5,[6,`#8A8A8A`,`#8A8A8A`]],`#5A5A5A`,70],r),c=/* @__PURE__ */ t([7,`#FFF8E1`,`#424242`,`#FFF8E1`,`#5D4037`,`#FFF8E1`,`#5D4037`,`#5D403760`,`#424242`,`#5D4037`,`#FF8A65`,[9,`#424242`,`#FF8A65`],[5,[6,`#FF8A65`,`#FF8A65`]],`#FF8A65`,30],r),l=/* @__PURE__ */ t([10,`#1E1E1E`,`#BDBDBD`,`#1E1E1E`,`#3A3A3A`,`#BDBDBD`,`#5D4037`,`#5D403780`,`#FFF8E1`,`#5D4037`,`#FF8A65`,[8,`#FF6B6B`,`#FF8A65`,`#FF8A65`],[5,[6,`#FF8A65`,`#FF8A65`]],`#FF8A65`,30],r),u=/* @__PURE__ */ t([11,`#1A1A1A`,`#99AA99`,`#3A3A3A`,`#99AA99`,`#5F6A5F`,`#333333`,`#1A1A1A`,`#66CC66`,`#5F6A5F`,`#66CC66`,`#66CC66`,[12,`#5F6A5F`],[5,[6,`#66CC66`,`#66CC66`]]],r),d=/* @__PURE__ */ t([13,`#fbfafa`,`#8A9892`,`#fbfafa`,`#E0CFC3`,`#8F837A`,`transparent`,`transparent`,`#8F837A`,`#E0CFC3`,`#8F837A`,[14,`#8F837A`,`#8A9892`],[5,[6,`#8F837A`,`#8F837A`]]],r),f=/* @__PURE__ */ t([13,`#f6f6fb`,`#50606C`,`#f6f6fb`,`#50606C`,`#f6f6fb`,`#829C98`,`#CCD6D3`,`#7DA9B5`,`#92B0AB`,`#50606C`,[14,`#50606C`,`#50606C`],[5,[6,`#50606C`,`#50606C`]]],r),p={default:i,minimal:a,minimalDark:o,dark:s,celebration:c,celebrationNight:l,hack:u,zen:d,concrete:f};export{n,p as t};