vue-data-ui 3.17.13 → 3.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-BU2Z7mfz.js +116 -0
- package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
- package/dist/BaseIcon-CL6Y7alf.js +499 -0
- package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
- package/dist/ColorPicker-BGbMrtup.js +255 -0
- package/dist/DataTable-ZG4GX2Zg.js +150 -0
- package/dist/Legend-BPb8i4aC.js +114 -0
- package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
- package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
- package/dist/PenAndPaper-DxBCVZAx.js +461 -0
- package/dist/RecursiveCircles-DPpLel6f.js +117 -0
- package/dist/RecursiveLabels-DBMJf_to.js +56 -0
- package/dist/RecursiveLinks-D06dBL4a.js +78 -0
- package/dist/Shape-Dbug7CtK.js +141 -0
- package/dist/Slicer-SEdaKYPX.js +1144 -0
- package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
- package/dist/SparkTooltip-BaONR2nq.js +93 -0
- package/dist/Title-ByyzJzpc.js +87 -0
- package/dist/Tooltip-V6Z0Ko-1.js +307 -0
- package/dist/UserOptions-Gaw1761w.js +1407 -0
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
- package/dist/canvas-lib-DTaADQOK.js +79 -0
- package/dist/components/arrow.js +2 -5
- package/dist/components/vue-ui-3d-bar.js +2 -5
- package/dist/components/vue-ui-accordion.js +2 -5
- package/dist/components/vue-ui-age-pyramid.js +2 -5
- package/dist/components/vue-ui-annotator.js +2 -5
- package/dist/components/vue-ui-bullet.js +2 -5
- package/dist/components/vue-ui-bump.js +2 -5
- package/dist/components/vue-ui-candlestick.js +2 -5
- package/dist/components/vue-ui-carousel-table.js +2 -5
- package/dist/components/vue-ui-chestnut.js +2 -5
- package/dist/components/vue-ui-chord.js +2 -5
- package/dist/components/vue-ui-circle-pack.js +2 -5
- package/dist/components/vue-ui-cursor.js +2 -5
- package/dist/components/vue-ui-dag.js +2 -5
- package/dist/components/vue-ui-dashboard.js +2 -5
- package/dist/components/vue-ui-digits.js +2 -5
- package/dist/components/vue-ui-donut-evolution.js +2 -5
- package/dist/components/vue-ui-donut.js +2 -5
- package/dist/components/vue-ui-dumbbell.js +2 -5
- package/dist/components/vue-ui-flow.js +2 -5
- package/dist/components/vue-ui-funnel.js +2 -5
- package/dist/components/vue-ui-galaxy.js +2 -5
- package/dist/components/vue-ui-gauge.js +2 -5
- package/dist/components/vue-ui-geo.js +2 -5
- package/dist/components/vue-ui-gizmo.js +2 -5
- package/dist/components/vue-ui-heatmap.js +2 -5
- package/dist/components/vue-ui-history-plot.js +2 -5
- package/dist/components/vue-ui-horizontal-bar.js +2 -5
- package/dist/components/vue-ui-icon.js +2 -5
- package/dist/components/vue-ui-kpi.js +2 -5
- package/dist/components/vue-ui-mini-loader.js +2 -5
- package/dist/components/vue-ui-molecule.js +2 -5
- package/dist/components/vue-ui-mood-radar.js +2 -5
- package/dist/components/vue-ui-nested-donuts.js +2 -5
- package/dist/components/vue-ui-onion.js +2 -5
- package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
- package/dist/components/vue-ui-pattern-seed.js +2 -5
- package/dist/components/vue-ui-pattern.js +2 -5
- package/dist/components/vue-ui-quadrant.js +2 -5
- package/dist/components/vue-ui-quick-chart.js +2 -5
- package/dist/components/vue-ui-radar.js +2 -5
- package/dist/components/vue-ui-rating.js +2 -5
- package/dist/components/vue-ui-relation-circle.js +2 -5
- package/dist/components/vue-ui-ridgeline.js +2 -5
- package/dist/components/vue-ui-rings.js +2 -5
- package/dist/components/vue-ui-scatter.js +2 -5
- package/dist/components/vue-ui-skeleton.js +2 -5
- package/dist/components/vue-ui-smiley.js +2 -5
- package/dist/components/vue-ui-spark-trend.js +2 -5
- package/dist/components/vue-ui-sparkbar.js +2 -5
- package/dist/components/vue-ui-sparkgauge.js +2 -5
- package/dist/components/vue-ui-sparkhistogram.js +2 -5
- package/dist/components/vue-ui-sparkline.js +2 -5
- package/dist/components/vue-ui-sparkstackbar.js +2 -5
- package/dist/components/vue-ui-stackbar.js +2 -5
- package/dist/components/vue-ui-stackline.js +2 -5
- package/dist/components/vue-ui-strip-plot.js +2 -5
- package/dist/components/vue-ui-table-heatmap.js +2 -5
- package/dist/components/vue-ui-table-sparkline.js +2 -5
- package/dist/components/vue-ui-table.js +2 -5
- package/dist/components/vue-ui-thermometer.js +2 -5
- package/dist/components/vue-ui-timer.js +2 -5
- package/dist/components/vue-ui-tiremarks.js +2 -5
- package/dist/components/vue-ui-treemap.js +2 -5
- package/dist/components/vue-ui-vertical-bar.js +2 -5
- package/dist/components/vue-ui-waffle.js +2 -5
- package/dist/components/vue-ui-wheel.js +2 -5
- package/dist/components/vue-ui-word-cloud.js +2 -5
- package/dist/components/vue-ui-world.js +2 -5
- package/dist/components/vue-ui-xy-canvas.js +2 -5
- package/dist/components/vue-ui-xy.js +2 -5
- package/dist/dom-to-png-C9UOX1d2.js +237 -0
- package/dist/exposedLib-BQjH823l.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-NMY-_LiJ.js +74 -0
- package/dist/labelUtils-BiSegLOT.js +19 -0
- package/dist/lib-B83ZCydz.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-Ey2KFETK.js +90 -0
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/style.css +2 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +23 -0
- package/dist/types/vue-data-ui.d.ts +4766 -630
- package/dist/types/vue-ui-3d-bar.d.ts +64 -9
- package/dist/types/vue-ui-accordion.d.ts +4 -3
- package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
- package/dist/types/vue-ui-annotator.d.ts +3 -5
- package/dist/types/vue-ui-bullet.d.ts +60 -9
- package/dist/types/vue-ui-bump.d.ts +65 -9
- package/dist/types/vue-ui-candlestick.d.ts +83 -9
- package/dist/types/vue-ui-carousel-table.d.ts +36 -6
- package/dist/types/vue-ui-chestnut.d.ts +66 -9
- package/dist/types/vue-ui-chord.d.ts +78 -9
- package/dist/types/vue-ui-circle-pack.d.ts +86 -9
- package/dist/types/vue-ui-cursor.d.ts +4 -2
- package/dist/types/vue-ui-dag.d.ts +92 -9
- package/dist/types/vue-ui-dashboard.d.ts +43 -6
- package/dist/types/vue-ui-digits.d.ts +4 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
- package/dist/types/vue-ui-donut.d.ts +92 -9
- package/dist/types/vue-ui-dumbbell.d.ts +65 -9
- package/dist/types/vue-ui-flow.d.ts +79 -9
- package/dist/types/vue-ui-funnel.d.ts +55 -9
- package/dist/types/vue-ui-galaxy.d.ts +83 -9
- package/dist/types/vue-ui-gauge.d.ts +64 -9
- package/dist/types/vue-ui-geo.d.ts +71 -9
- package/dist/types/vue-ui-gizmo.d.ts +17 -6
- package/dist/types/vue-ui-heatmap.d.ts +73 -9
- package/dist/types/vue-ui-history-plot.d.ts +82 -9
- package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
- package/dist/types/vue-ui-icon.d.ts +2 -2
- package/dist/types/vue-ui-kpi.d.ts +21 -7
- package/dist/types/vue-ui-mini-loader.d.ts +5 -3
- package/dist/types/vue-ui-molecule.d.ts +86 -9
- package/dist/types/vue-ui-mood-radar.d.ts +66 -9
- package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
- package/dist/types/vue-ui-onion.d.ts +77 -9
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -2
- package/dist/types/vue-ui-quadrant.d.ts +86 -9
- package/dist/types/vue-ui-quick-chart.d.ts +79 -9
- package/dist/types/vue-ui-radar.d.ts +83 -9
- package/dist/types/vue-ui-rating.d.ts +22 -6
- package/dist/types/vue-ui-relation-circle.d.ts +66 -9
- package/dist/types/vue-ui-ridgeline.d.ts +69 -9
- package/dist/types/vue-ui-rings.d.ts +70 -9
- package/dist/types/vue-ui-scatter.d.ts +67 -9
- package/dist/types/vue-ui-skeleton.d.ts +3 -2
- package/dist/types/vue-ui-smiley.d.ts +3 -2
- package/dist/types/vue-ui-spark-trend.d.ts +14 -6
- package/dist/types/vue-ui-sparkbar.d.ts +27 -6
- package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
- package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
- package/dist/types/vue-ui-sparkline.d.ts +35 -6
- package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
- package/dist/types/vue-ui-stackbar.d.ts +85 -9
- package/dist/types/vue-ui-stackline.d.ts +81 -9
- package/dist/types/vue-ui-strip-plot.d.ts +66 -9
- package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
- package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
- package/dist/types/vue-ui-table.d.ts +10 -2
- package/dist/types/vue-ui-thermometer.d.ts +46 -9
- package/dist/types/vue-ui-timer.d.ts +31 -5
- package/dist/types/vue-ui-tiremarks.d.ts +46 -9
- package/dist/types/vue-ui-treemap.d.ts +73 -9
- package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
- package/dist/types/vue-ui-waffle.d.ts +72 -9
- package/dist/types/vue-ui-wheel.d.ts +46 -9
- package/dist/types/vue-ui-word-cloud.d.ts +73 -9
- package/dist/types/vue-ui-world.d.ts +68 -9
- package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
- package/dist/types/vue-ui-xy.d.ts +108 -10
- package/dist/useAutoSizeLabelsInsideViewbox-De0rTecW.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-KnOLHtlJ.js +7419 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-CcxL1gUU.js +10 -0
- package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-CMLF900n.js +49 -0
- package/dist/useResponsive-CrAInupd.js +19 -0
- package/dist/useStableElementSize-0I1IpHPl.js +77 -0
- package/dist/useSvgExport-Dtu973wa.js +755 -0
- package/dist/useTableResponsive-DrM1xqII.js +24 -0
- package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
- package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
- package/dist/useTimeLabels-C0x7zUXP.js +272 -0
- package/dist/useUserOptionState-CjPJPTg2.js +15 -0
- package/dist/utils.js +27 -44
- package/dist/vClickOutside-CbX_bC9A.js +13 -0
- package/dist/vue-data-ui-D1REqS_k.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
- package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
- package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
- package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
- package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
- package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
- package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
- package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
- package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
- package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
- package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
- package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
- package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
- package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
- package/dist/vue-ui-digits-CcB3odN7.js +209 -0
- package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
- package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
- package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
- package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
- package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
- package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
- package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
- package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
- package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
- package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
- package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
- package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
- package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
- package/dist/vue-ui-molecule-D72kzel_.js +912 -0
- package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
- package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
- package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.js +1413 -0
- package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
- package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
- package/dist/vue-ui-quadrant-zNFIXNt9.js +1966 -0
- package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
- package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
- package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
- package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
- package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
- package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
- package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
- package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
- package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
- package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
- package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
- package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
- package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
- package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
- package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
- package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
- package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
- package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
- package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
- package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
- package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
- package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
- package/dist/vue-ui-timer-DCbxsREb.js +439 -0
- package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
- package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
- package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
- package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
- package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
- package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
- package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
- package/dist/vue-ui-xy-canvas-DU7vFrQr.js +1774 -0
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
- package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
- package/dist/vue_ui_bump-frnXaXul.js +201 -0
- package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
- package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
- package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
- package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
- package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
- package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
- package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
- package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
- package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
- package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
- package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
- package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
- package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
- package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
- package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
- package/dist/vue_ui_onion-DTV9cup-.js +293 -0
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
- package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
- package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
- package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
- package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
- package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
- package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
- package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
- package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
- package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
- package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
- package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
- package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
- package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
- package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
- package/package.json +7 -7
- package/dist/A11yDataTable-BpmuNomI.js +0 -54
- package/dist/Arrow-dSvLFssU.js +0 -101
- package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
- package/dist/BaseIcon-DX0hTWa-.js +0 -476
- package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
- package/dist/BaseScanner-C2j3TsSY.js +0 -36
- package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
- package/dist/ColorPicker-bAxGcXK0.js +0 -271
- package/dist/DataTable-cMnb68Ik.js +0 -145
- package/dist/Legend-DGN5lY60.js +0 -104
- package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
- package/dist/PackageVersion-BfrCAH6_.js +0 -10
- package/dist/PenAndPaper-CJDoB5H9.js +0 -527
- package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
- package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
- package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
- package/dist/Shape-CxJ5_Rre.js +0 -116
- package/dist/Slicer-D7UcO8sN.js +0 -1145
- package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
- package/dist/SparkTooltip-D4bM-kfz.js +0 -68
- package/dist/Title-BbKoiBk2.js +0 -88
- package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
- package/dist/UserOptions-DVduN6X7.js +0 -1474
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/dom-to-png-DGvx6i5V.js +0 -262
- package/dist/exposedLib-sJvY1pST.js +0 -22
- package/dist/geoProjections-BFq2sOBY.js +0 -162
- package/dist/img-CjTQXS0U.js +0 -57
- package/dist/labelUtils-DX9oyq3C.js +0 -26
- package/dist/lib-DMzrGQHK.js +0 -2477
- package/dist/patternUtils-BINhU4Ky.js +0 -615
- package/dist/pdf-C4H4o1Cj.js +0 -88
- package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
- package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
- package/dist/useConfig-CG4HT3wS.js +0 -7901
- package/dist/useFitSvgText-2crs6Fv5.js +0 -69
- package/dist/useNestedProp-DH0BEVVS.js +0 -13
- package/dist/useObjectBindings-Dixg-RIe.js +0 -228
- package/dist/usePanZoom-BbDhcKWf.js +0 -141
- package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
- package/dist/usePrinter-C4t8DdQ-.js +0 -51
- package/dist/useResponsive-DfdjqQps.js +0 -195
- package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
- package/dist/useSvgExport-BTG4hVPO.js +0 -870
- package/dist/useTableResponsive-BpfiEtzR.js +0 -26
- package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
- package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
- package/dist/useTimeLabels-Cv0tD9In.js +0 -307
- package/dist/useUserOptionState-B7Ej974k.js +0 -19
- package/dist/vClickOutside-C6WiFswA.js +0 -13
- package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
- package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
- package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
- package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
- package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
- package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
- package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
- package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
- package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
- package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
- package/dist/vue-ui-chord-DWyar45U.js +0 -1457
- package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
- package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
- package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
- package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
- package/dist/vue-ui-digits-CZmdir8V.js +0 -211
- package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
- package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
- package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
- package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
- package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
- package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
- package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
- package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
- package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
- package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
- package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
- package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
- package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
- package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
- package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
- package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
- package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
- package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
- package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
- package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
- package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
- package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
- package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
- package/dist/vue-ui-rating-CqPlP88P.js +0 -370
- package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
- package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
- package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
- package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
- package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
- package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
- package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
- package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
- package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
- package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
- package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
- package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
- package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
- package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
- package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
- package/dist/vue-ui-table-BX2iMku4.js +0 -1726
- package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
- package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
- package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
- package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
- package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
- package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
- package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
- package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
- package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
- package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
- package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
- package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
- package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
- package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
- package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
- package/dist/vue_ui_bump-CIht647H.js +0 -22
- package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
- package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
- package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
- package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
- package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
- package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
- package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
- package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
- package/dist/vue_ui_flow-BErINgox.js +0 -22
- package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
- package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
- package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
- package/dist/vue_ui_geo--kg4VoVX.js +0 -22
- package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
- package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
- package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
- package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
- package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
- package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
- package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
- package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
- package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
- package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
- package/dist/vue_ui_radar-DryGBOrz.js +0 -22
- package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
- package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
- package/dist/vue_ui_rings-CxOrekqA.js +0 -22
- package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
- package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
- package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
- package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
- package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
- package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
- package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
- package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
- package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
- package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
- package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
- package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
- package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
- package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
- package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
- package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
- package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
- package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
- package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
- package/dist/vue_ui_xy-esktmpg-.js +0 -22
- package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
|
@@ -1,1737 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as X, computed as d, ref as i, shallowRef as Ct, toRefs as Oa, onBeforeUnmount as At, watch as ie, nextTick as pe, watchEffect as wt, openBlock as n, createElementBlock as r, unref as u, normalizeStyle as _, normalizeClass as me, createElementVNode as g, toDisplayString as B, createBlock as P, createCommentVNode as h, withCtx as f, renderSlot as y, normalizeProps as S, guardReactiveProps as T, createSlots as Ee, createVNode as Xe, Fragment as m, renderList as O, mergeProps as Be, resolveDynamicComponent as La, createTextVNode as He } from "vue";
|
|
2
|
-
import { j as Ue, t as $t, n as Ma, s as za, p as be, at as _t, P as Da, b as Pt, c as Ia, aj as Na, X as Ra, W as Fa, Z as Ea, k as xe, l as ke, m as Xa, q as Ve, r as St, o as Ba, a0 as Ha, a1 as Ua, ac as Va } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { t as Tt, u as Wa } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ga } from "./useConfig-CG4HT3wS.js";
|
|
5
|
-
import { u as ja, B as Ka } from "./BaseScanner-C2j3TsSY.js";
|
|
6
|
-
import { u as Ya } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
-
import { u as qa } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
-
import { u as We } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
-
import { u as Za } from "./useTimeLabels-Cv0tD9In.js";
|
|
10
|
-
import { u as Ja } from "./useThemeCheck-C9Ccl7U9.js";
|
|
11
|
-
import { u as Qa } from "./useUserOptionState-B7Ej974k.js";
|
|
12
|
-
import { u as el } from "./useChartAccessibility-cp6XQtqi.js";
|
|
13
|
-
import { u as tl } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
14
|
-
import al from "./vue_ui_ridgeline-j4rVmpEp.js";
|
|
15
|
-
import ll from "./Legend-DGN5lY60.js";
|
|
16
|
-
import ol from "./Title-BbKoiBk2.js";
|
|
17
|
-
import { _ as sl } from "./Shape-CxJ5_Rre.js";
|
|
18
|
-
import nl from "./img-CjTQXS0U.js";
|
|
19
|
-
import { A as rl } from "./A11yDataTable-BpmuNomI.js";
|
|
20
|
-
import { B as ul } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
21
|
-
import { _ as il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
22
|
-
const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = ["xmlns", "aria-describedby", "viewBox"], fl = ["id"], yl = ["stop-color"], gl = ["stop-color"], pl = ["stop-color"], ml = ["stop-color"], bl = ["id"], xl = ["stop-color"], kl = ["stop-color"], Cl = ["stop-color"], Al = ["stop-color"], wl = { key: 0 }, $l = ["fill", "d"], _l = ["stroke", "stroke-width", "d"], Pl = ["fill", "d"], Sl = ["stroke", "stroke-dasharray", "stroke-width", "d"], Tl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ol = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Ll = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Ml = { key: 0 }, zl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Dl = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], Il = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Rl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Fl = ["x", "y", "text-anchor", "font-size", "fill"], El = {
|
|
23
|
-
key: 0,
|
|
24
|
-
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
25
|
-
"data-dom-to-png-ignore": "",
|
|
26
|
-
"aria-hidden": "true"
|
|
27
|
-
}, Xl = {
|
|
28
|
-
key: 5,
|
|
29
|
-
class: "vue-data-ui-watermark"
|
|
30
|
-
}, Bl = ["onClick"], Hl = ["innerHTML"], Ul = {
|
|
31
|
-
__name: "vue-ui-ridgeline",
|
|
32
|
-
props: {
|
|
33
|
-
config: {
|
|
34
|
-
type: Object,
|
|
35
|
-
default() {
|
|
36
|
-
return {};
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
dataset: {
|
|
40
|
-
type: Array,
|
|
41
|
-
default() {
|
|
42
|
-
return [];
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
emits: [
|
|
47
|
-
"selectLegend",
|
|
48
|
-
"selectDatapoint",
|
|
49
|
-
"selectX",
|
|
50
|
-
"copyAlt"
|
|
51
|
-
],
|
|
52
|
-
setup(Ot, { expose: Lt, emit: Mt }) {
|
|
53
|
-
const zt = X(() => import("./vue-ui-xy-C_Q9chQe.js")), Dt = X(() => import("./BaseIcon-DX0hTWa-.js")), It = X(() => import("./vue-ui-accordion-DFtpH_16.js")), Nt = X(() => import("./DataTable-cMnb68Ik.js")), Rt = X(
|
|
54
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
55
|
-
), Ft = X(
|
|
56
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
57
|
-
), Et = X(
|
|
58
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
59
|
-
), Ge = X(
|
|
60
|
-
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
61
|
-
), { vue_ui_ridgeline: Xt } = Ga(), { isThemeValid: Bt, warnInvalidTheme: Ht } = Ja(), I = Ot, ee = d({
|
|
62
|
-
get() {
|
|
63
|
-
return Array.isArray(V.value) && V.value.length > 0;
|
|
64
|
-
},
|
|
65
|
-
set(t) {
|
|
66
|
-
return t;
|
|
67
|
-
}
|
|
68
|
-
}), ce = Mt, z = i(null), je = i(null), Ke = i(null), N = Ct(null), H = Ct(null), Ye = i(null), qe = i(null), Ce = i(0), Ut = i(0), Ae = i(0), C = i(Ue()), Ze = i(0), Vt = i(0), Je = i(512), c = i(null), Y = i(null), we = i(null), Qe = i(0), $e = i(null), te = i(null), _e = i(null), ve = i(!1), de = i(!1), U = i(null), Pe = i(!1);
|
|
69
|
-
function Se() {
|
|
70
|
-
const t = We({
|
|
71
|
-
userConfig: I.config,
|
|
72
|
-
defaultConfig: Xt
|
|
73
|
-
}), l = t.theme;
|
|
74
|
-
if (!l) return t;
|
|
75
|
-
if (!Bt.value(t))
|
|
76
|
-
return Ht(t), t;
|
|
77
|
-
const a = We({
|
|
78
|
-
userConfig: al[l] || I.config,
|
|
79
|
-
defaultConfig: t
|
|
80
|
-
}), s = We({
|
|
81
|
-
userConfig: I.config,
|
|
82
|
-
defaultConfig: a
|
|
83
|
-
});
|
|
84
|
-
return {
|
|
85
|
-
...s,
|
|
86
|
-
customPalette: s.customPalette.length ? s.customPalette : Xa[l] || be
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
const e = i(Se()), D = d(
|
|
90
|
-
() => e.value.userOptions.useCursorPointer
|
|
91
|
-
), Wt = d(() => $t({
|
|
92
|
-
defaultConfig: {
|
|
93
|
-
userOptions: { show: !1 },
|
|
94
|
-
table: { show: !1 },
|
|
95
|
-
style: {
|
|
96
|
-
chart: {
|
|
97
|
-
backgroundColor: "#99999930",
|
|
98
|
-
areas: {
|
|
99
|
-
maxPoint: {
|
|
100
|
-
show: !1
|
|
101
|
-
},
|
|
102
|
-
opacity: 0.9,
|
|
103
|
-
stroke: {
|
|
104
|
-
useSerieColor: !0
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
legend: {
|
|
108
|
-
backgroundColor: "transparent"
|
|
109
|
-
},
|
|
110
|
-
padding: {
|
|
111
|
-
right: -24,
|
|
112
|
-
left: 0
|
|
113
|
-
},
|
|
114
|
-
xAxis: {
|
|
115
|
-
labels: {
|
|
116
|
-
values: []
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
yAxis: {
|
|
120
|
-
labels: {
|
|
121
|
-
fontSize: 0
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
zeroLine: { show: !1 }
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
userConfig: e.value.skeletonConfig ?? {}
|
|
129
|
-
})), { loading: q, FINAL_DATASET: V, manualLoading: Te } = ja({
|
|
130
|
-
...Oa(I),
|
|
131
|
-
FINAL_CONFIG: e,
|
|
132
|
-
prepareConfig: Se,
|
|
133
|
-
skeletonDataset: I.config?.skeletonDataset ?? [
|
|
134
|
-
{
|
|
135
|
-
name: "_",
|
|
136
|
-
datapoints: [
|
|
137
|
-
{
|
|
138
|
-
name: "__",
|
|
139
|
-
color: "#999999",
|
|
140
|
-
values: [
|
|
141
|
-
28.639,
|
|
142
|
-
32.04,
|
|
143
|
-
41.134,
|
|
144
|
-
44.525,
|
|
145
|
-
21.151,
|
|
146
|
-
2.436,
|
|
147
|
-
0.218,
|
|
148
|
-
0.024,
|
|
149
|
-
2e-3,
|
|
150
|
-
0,
|
|
151
|
-
0,
|
|
152
|
-
0
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
name: "_",
|
|
157
|
-
color: "#CACACA",
|
|
158
|
-
values: [
|
|
159
|
-
13.253,
|
|
160
|
-
15.621,
|
|
161
|
-
23.36,
|
|
162
|
-
33.698,
|
|
163
|
-
29.935,
|
|
164
|
-
10.874,
|
|
165
|
-
2.364,
|
|
166
|
-
0.561,
|
|
167
|
-
0.107,
|
|
168
|
-
0.02,
|
|
169
|
-
6e-3,
|
|
170
|
-
4e-3
|
|
171
|
-
]
|
|
172
|
-
}
|
|
173
|
-
]
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
name: "_",
|
|
177
|
-
datapoints: [
|
|
178
|
-
{
|
|
179
|
-
name: "_",
|
|
180
|
-
color: "#999999",
|
|
181
|
-
values: [
|
|
182
|
-
10.851,
|
|
183
|
-
13.195,
|
|
184
|
-
21.617,
|
|
185
|
-
36.556,
|
|
186
|
-
42.292,
|
|
187
|
-
21.006,
|
|
188
|
-
3.398,
|
|
189
|
-
0.223,
|
|
190
|
-
0.013,
|
|
191
|
-
1e-3,
|
|
192
|
-
0,
|
|
193
|
-
0
|
|
194
|
-
]
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
name: "_",
|
|
198
|
-
color: "#CACACA",
|
|
199
|
-
values: [
|
|
200
|
-
3.171,
|
|
201
|
-
4.115,
|
|
202
|
-
8.108,
|
|
203
|
-
18.248,
|
|
204
|
-
31.641,
|
|
205
|
-
29.063,
|
|
206
|
-
12.031,
|
|
207
|
-
2.742,
|
|
208
|
-
0.504,
|
|
209
|
-
0.102,
|
|
210
|
-
0.032,
|
|
211
|
-
0.021
|
|
212
|
-
]
|
|
213
|
-
}
|
|
214
|
-
]
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
name: "_",
|
|
218
|
-
datapoints: [
|
|
219
|
-
{
|
|
220
|
-
name: "_",
|
|
221
|
-
color: "#999999",
|
|
222
|
-
values: [
|
|
223
|
-
1.731,
|
|
224
|
-
2.334,
|
|
225
|
-
5.125,
|
|
226
|
-
13.626,
|
|
227
|
-
29.911,
|
|
228
|
-
38.524,
|
|
229
|
-
24.168,
|
|
230
|
-
7.646,
|
|
231
|
-
1.575,
|
|
232
|
-
0.317,
|
|
233
|
-
0.097,
|
|
234
|
-
0.063
|
|
235
|
-
]
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
name: "_",
|
|
239
|
-
color: "#CACACA",
|
|
240
|
-
values: [
|
|
241
|
-
0.25,
|
|
242
|
-
0.367,
|
|
243
|
-
1.026,
|
|
244
|
-
3.944,
|
|
245
|
-
13.635,
|
|
246
|
-
28.891,
|
|
247
|
-
30.149,
|
|
248
|
-
15.419,
|
|
249
|
-
4.714,
|
|
250
|
-
1.246,
|
|
251
|
-
0.442,
|
|
252
|
-
0.299
|
|
253
|
-
]
|
|
254
|
-
}
|
|
255
|
-
]
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
name: "_",
|
|
259
|
-
datapoints: [
|
|
260
|
-
{
|
|
261
|
-
name: "_",
|
|
262
|
-
color: "#999999",
|
|
263
|
-
values: [
|
|
264
|
-
0.034,
|
|
265
|
-
0.054,
|
|
266
|
-
0.194,
|
|
267
|
-
1.065,
|
|
268
|
-
5.747,
|
|
269
|
-
20.735,
|
|
270
|
-
38.306,
|
|
271
|
-
32.899,
|
|
272
|
-
15.318,
|
|
273
|
-
5.566,
|
|
274
|
-
2.422,
|
|
275
|
-
1.76
|
|
276
|
-
]
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
name: "_",
|
|
280
|
-
color: "#CACACA",
|
|
281
|
-
values: [
|
|
282
|
-
1e-3,
|
|
283
|
-
2e-3,
|
|
284
|
-
9e-3,
|
|
285
|
-
0.095,
|
|
286
|
-
1.124,
|
|
287
|
-
8.342,
|
|
288
|
-
27.115,
|
|
289
|
-
35.08,
|
|
290
|
-
21.449,
|
|
291
|
-
9.093,
|
|
292
|
-
4.243,
|
|
293
|
-
3.143
|
|
294
|
-
]
|
|
295
|
-
}
|
|
296
|
-
]
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
name: "_",
|
|
300
|
-
datapoints: [
|
|
301
|
-
{
|
|
302
|
-
name: "_",
|
|
303
|
-
color: "#999999",
|
|
304
|
-
values: [
|
|
305
|
-
0,
|
|
306
|
-
1e-3,
|
|
307
|
-
4e-3,
|
|
308
|
-
0.051,
|
|
309
|
-
0.567,
|
|
310
|
-
3.322,
|
|
311
|
-
14.215,
|
|
312
|
-
44.783,
|
|
313
|
-
40.351,
|
|
314
|
-
20.377,
|
|
315
|
-
9.866,
|
|
316
|
-
7.378
|
|
317
|
-
]
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
name: "_",
|
|
321
|
-
color: "#CACACA",
|
|
322
|
-
values: [
|
|
323
|
-
0,
|
|
324
|
-
0,
|
|
325
|
-
0,
|
|
326
|
-
0,
|
|
327
|
-
1e-3,
|
|
328
|
-
0.11,
|
|
329
|
-
4.136,
|
|
330
|
-
27.498,
|
|
331
|
-
43.24,
|
|
332
|
-
29.807,
|
|
333
|
-
17.345,
|
|
334
|
-
13.678
|
|
335
|
-
]
|
|
336
|
-
}
|
|
337
|
-
]
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
name: "_",
|
|
341
|
-
datapoints: [
|
|
342
|
-
{
|
|
343
|
-
name: "_",
|
|
344
|
-
color: "#999999",
|
|
345
|
-
values: [
|
|
346
|
-
0,
|
|
347
|
-
0,
|
|
348
|
-
0,
|
|
349
|
-
0,
|
|
350
|
-
0.025,
|
|
351
|
-
0.598,
|
|
352
|
-
3.886,
|
|
353
|
-
10.645,
|
|
354
|
-
54.479,
|
|
355
|
-
45.953,
|
|
356
|
-
30.814,
|
|
357
|
-
24.55
|
|
358
|
-
]
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
name: "_",
|
|
362
|
-
color: "#CACACA",
|
|
363
|
-
values: [
|
|
364
|
-
0,
|
|
365
|
-
0,
|
|
366
|
-
0,
|
|
367
|
-
0,
|
|
368
|
-
0,
|
|
369
|
-
0,
|
|
370
|
-
7e-3,
|
|
371
|
-
1.655,
|
|
372
|
-
26.63,
|
|
373
|
-
52.017,
|
|
374
|
-
45.192,
|
|
375
|
-
39.651
|
|
376
|
-
]
|
|
377
|
-
}
|
|
378
|
-
]
|
|
379
|
-
}
|
|
380
|
-
],
|
|
381
|
-
skeletonConfig: $t({
|
|
382
|
-
defaultConfig: e.value,
|
|
383
|
-
userConfig: Wt.value
|
|
384
|
-
})
|
|
385
|
-
}), L = i(
|
|
386
|
-
Math.min(
|
|
387
|
-
e.value.style.chart.areas.height,
|
|
388
|
-
e.value.style.chart.areas.rowHeight
|
|
389
|
-
)
|
|
390
|
-
), { userOptionsVisible: he, setUserOptionsVisibility: et, keepUserOptionState: tt } = Qa({ config: e.value }), { svgRef: Z } = el({
|
|
391
|
-
config: e.value.style.chart.title
|
|
392
|
-
}), Oe = d(() => !!e.value.debug);
|
|
393
|
-
function at() {
|
|
394
|
-
const t = V.value || [];
|
|
395
|
-
if (!Array.isArray(t) || t.length === 0) {
|
|
396
|
-
Ve({
|
|
397
|
-
componentName: "VueUiRidgeline",
|
|
398
|
-
type: "dataset",
|
|
399
|
-
debug: Oe.value
|
|
400
|
-
}), Te.value = !0;
|
|
401
|
-
return;
|
|
402
|
-
}
|
|
403
|
-
if (t.forEach((l, a) => {
|
|
404
|
-
St({
|
|
405
|
-
datasetObject: l,
|
|
406
|
-
requiredAttributes: ["name", "datapoints"]
|
|
407
|
-
}).forEach((s) => {
|
|
408
|
-
ee.value = !1, Ve({
|
|
409
|
-
componentName: "VueUiRidgeline",
|
|
410
|
-
type: "datasetSerieAttribute",
|
|
411
|
-
property: s,
|
|
412
|
-
index: a,
|
|
413
|
-
debug: Oe.value
|
|
414
|
-
});
|
|
415
|
-
}), Array.isArray(l.datapoints) && l.datapoints.length && l.datapoints.forEach((s, o) => {
|
|
416
|
-
St({
|
|
417
|
-
datasetObject: s,
|
|
418
|
-
requiredAttributes: ["name", "values"]
|
|
419
|
-
}).forEach((v) => {
|
|
420
|
-
ee.value = !1, Ve({
|
|
421
|
-
componentName: "VueUiRidgeline",
|
|
422
|
-
type: "datasetSerieAttribute",
|
|
423
|
-
property: `datapoint.${v}`,
|
|
424
|
-
index: `${a}-${o}`,
|
|
425
|
-
debug: Oe.value
|
|
426
|
-
});
|
|
427
|
-
});
|
|
428
|
-
});
|
|
429
|
-
}), Vt.value = t.length, L.value = Math.min(
|
|
430
|
-
e.value.style.chart.areas.height,
|
|
431
|
-
e.value.style.chart.areas.rowHeight
|
|
432
|
-
), Ba(I.dataset) || (Te.value = e.value.loading), e.value.responsive) {
|
|
433
|
-
const l = Tt(() => {
|
|
434
|
-
const { width: a, height: s } = Wa({
|
|
435
|
-
chart: z.value,
|
|
436
|
-
title: e.value.style.chart.title.text ? je.value : null,
|
|
437
|
-
legend: e.value.style.chart.legend.show ? Ke.value : null,
|
|
438
|
-
source: Ye.value,
|
|
439
|
-
noTitle: qe.value,
|
|
440
|
-
padding: e.value.style.chart.padding
|
|
441
|
-
});
|
|
442
|
-
requestAnimationFrame(() => {
|
|
443
|
-
Je.value = a, L.value = t.length ? s / t.length : 0, Qe.value = s - 12;
|
|
444
|
-
});
|
|
445
|
-
});
|
|
446
|
-
N.value && (H.value && N.value.unobserve(H.value), N.value.disconnect()), N.value = new ResizeObserver(l), H.value = z.value?.parentNode || null, H.value && N.value.observe(H.value);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
At(() => {
|
|
450
|
-
N.value && (H.value && N.value.unobserve(H.value), N.value.disconnect());
|
|
451
|
-
});
|
|
452
|
-
const { isPrinting: Le, isImaging: Me, generatePdf: lt, generateImage: ot } = Ya({
|
|
453
|
-
elementId: `vue-ui-ridgeline_${C.value}`,
|
|
454
|
-
fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
|
|
455
|
-
options: e.value.userOptions.print
|
|
456
|
-
}), Gt = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), jt = d(() => Ma(e.value.customPalette)), W = i({
|
|
457
|
-
showTable: e.value.table.show
|
|
458
|
-
});
|
|
459
|
-
ie(
|
|
460
|
-
() => V.value,
|
|
461
|
-
async (t) => {
|
|
462
|
-
Array.isArray(t) && t.length && (he.value = !e.value.userOptions.showOnChartHover, await pe(), at(), Ce.value += 1, Ae.value += 1, W.value.showTable = e.value.table.show);
|
|
463
|
-
},
|
|
464
|
-
{ deep: !0, immediate: !0 }
|
|
465
|
-
), ie(
|
|
466
|
-
() => I.dataset,
|
|
467
|
-
(t) => {
|
|
468
|
-
Array.isArray(t) && t.length > 0 && (Te.value = !1);
|
|
469
|
-
},
|
|
470
|
-
{ deep: !0 }
|
|
471
|
-
), ie(
|
|
472
|
-
() => q.value,
|
|
473
|
-
async (t) => {
|
|
474
|
-
t || (await pe(), at());
|
|
475
|
-
},
|
|
476
|
-
{ immediate: !0 }
|
|
477
|
-
), ie(
|
|
478
|
-
() => I.config,
|
|
479
|
-
() => {
|
|
480
|
-
e.value = Se(V.value || null), he.value = !e.value.userOptions.showOnChartHover, L.value = Math.min(
|
|
481
|
-
e.value.style.chart.areas.height,
|
|
482
|
-
e.value.style.chart.areas.rowHeight
|
|
483
|
-
), W.value.showTable = e.value.table.show, Ce.value += 1, Ae.value += 1;
|
|
484
|
-
},
|
|
485
|
-
{ deep: !0 }
|
|
486
|
-
);
|
|
487
|
-
const ze = d(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
|
|
488
|
-
function Kt() {
|
|
489
|
-
x.value.length ? x.value = [] : F.value.forEach((t) => {
|
|
490
|
-
x.value.push(t.id);
|
|
491
|
-
});
|
|
492
|
-
}
|
|
493
|
-
function fe(t) {
|
|
494
|
-
x.value.includes(t) ? x.value = x.value.filter((l) => l !== t) : x.value.push(t), ce("selectLegend", w.value);
|
|
495
|
-
}
|
|
496
|
-
function st(t) {
|
|
497
|
-
if (!F.value.length)
|
|
498
|
-
return e.value.debug && console.warn("VueUiRidgeline - There are no series to show."), null;
|
|
499
|
-
const l = F.value.find((a) => a.name === t);
|
|
500
|
-
return l || (e.value.debug && console.warn(`VueUiRidgeline - Series name not found "${t}"`), null);
|
|
501
|
-
}
|
|
502
|
-
function Yt(t) {
|
|
503
|
-
const l = st(t);
|
|
504
|
-
l !== null && x.value.includes(l.id) && fe(l.id);
|
|
505
|
-
}
|
|
506
|
-
function qt(t) {
|
|
507
|
-
const l = st(t);
|
|
508
|
-
l !== null && (x.value.includes(l.id) || fe(l.id));
|
|
509
|
-
}
|
|
510
|
-
const R = d(() => ee.value ? (V.value || []).map((t) => ({
|
|
511
|
-
...t,
|
|
512
|
-
labelLen: ta(
|
|
513
|
-
t.name,
|
|
514
|
-
e.value.style.chart.yAxis.labels.fontSize
|
|
515
|
-
),
|
|
516
|
-
uid: Ue(),
|
|
517
|
-
datapoints: t.datapoints.map((l, a) => {
|
|
518
|
-
const s = l.color ? za(l.color) : jt.value[a] || be[a] || be[a % be.length], o = _t(l.name);
|
|
519
|
-
return { ...l, color: s, id: o };
|
|
520
|
-
})
|
|
521
|
-
})) : []), nt = d(() => e.value.style.chart.padding.top + L.value * (V.value || []).length + L.value * ze.value + e.value.style.chart.padding.bottom), p = d(() => {
|
|
522
|
-
const t = e.value.style.chart.padding;
|
|
523
|
-
return {
|
|
524
|
-
width: Je.value,
|
|
525
|
-
height: nt.value,
|
|
526
|
-
padding: t
|
|
527
|
-
};
|
|
528
|
-
}), Zt = d(() => p.value.width), Jt = d(() => p.value.height), De = i(0), Qt = Tt((t) => {
|
|
529
|
-
De.value = t;
|
|
530
|
-
}, 100);
|
|
531
|
-
wt((t) => {
|
|
532
|
-
const l = $e.value;
|
|
533
|
-
if (!l) return;
|
|
534
|
-
const a = new ResizeObserver((s) => {
|
|
535
|
-
Qt(s[0].contentRect.height);
|
|
536
|
-
});
|
|
537
|
-
a.observe(l), t(() => a.disconnect());
|
|
538
|
-
}), At(() => {
|
|
539
|
-
De.value = 0;
|
|
540
|
-
});
|
|
541
|
-
const A = d(() => ({
|
|
542
|
-
fullHeight: p.value.height + De.value,
|
|
543
|
-
top: p.value.padding.top,
|
|
544
|
-
left: p.value.padding.left,
|
|
545
|
-
right: p.value.width - p.value.padding.right,
|
|
546
|
-
bottom: p.value.height - e.value.style.chart.padding.bottom,
|
|
547
|
-
width: p.value.width - (p.value.padding.left + p.value.padding.right)
|
|
548
|
-
})), ae = d(() => Math.max(
|
|
549
|
-
...R.value.flatMap(
|
|
550
|
-
(t) => t.datapoints.map((l) => l.values.length)
|
|
551
|
-
)
|
|
552
|
-
)), J = i([]);
|
|
553
|
-
let rt = 0;
|
|
554
|
-
wt(() => {
|
|
555
|
-
const t = ++rt;
|
|
556
|
-
(async () => {
|
|
557
|
-
const l = await Za({
|
|
558
|
-
values: e.value.style.chart.xAxis.labels.values,
|
|
559
|
-
maxDatapoints: ae.value,
|
|
560
|
-
formatter: e.value.style.chart.xAxis.labels.datetimeFormatter,
|
|
561
|
-
start: 0,
|
|
562
|
-
end: e.value.style.chart.xAxis.labels.values.length
|
|
563
|
-
});
|
|
564
|
-
t === rt && (J.value = l);
|
|
565
|
-
})();
|
|
566
|
-
});
|
|
567
|
-
const M = d(() => {
|
|
568
|
-
const t = Math.max(
|
|
569
|
-
...R.value.map((o) => o.labelLen)
|
|
570
|
-
), l = p.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, a = (A.value.width - l) / ae.value, s = [];
|
|
571
|
-
for (let o = 0; o < ae.value; o += 1)
|
|
572
|
-
s.push({
|
|
573
|
-
selectorX: l + a * o,
|
|
574
|
-
x: l + a * o - a / 2,
|
|
575
|
-
y: A.value.top,
|
|
576
|
-
label: e.value.style.chart.xAxis.labels.values[o] ? J.value[o]?.text ?? "" : "",
|
|
577
|
-
index: o,
|
|
578
|
-
width: a,
|
|
579
|
-
height: nt.value
|
|
580
|
-
});
|
|
581
|
-
return s;
|
|
582
|
-
});
|
|
583
|
-
function Ie(t) {
|
|
584
|
-
return R.value.map((l) => l.datapoints.map((a) => ({
|
|
585
|
-
dp: a,
|
|
586
|
-
selected: a.values[t.index]
|
|
587
|
-
})));
|
|
588
|
-
}
|
|
589
|
-
function ut(t) {
|
|
590
|
-
c.value = t;
|
|
591
|
-
const l = Ie(t);
|
|
592
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
593
|
-
datapoint: l,
|
|
594
|
-
seriesIndex: t.index
|
|
595
|
-
});
|
|
596
|
-
}
|
|
597
|
-
function it(t) {
|
|
598
|
-
c.value = null;
|
|
599
|
-
const l = Ie(t);
|
|
600
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
601
|
-
datapoint: l,
|
|
602
|
-
seriesIndex: t.index
|
|
603
|
-
});
|
|
604
|
-
}
|
|
605
|
-
function ct(t) {
|
|
606
|
-
const l = Ie(t);
|
|
607
|
-
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
608
|
-
datapoint: l,
|
|
609
|
-
seriesIndex: t.index
|
|
610
|
-
}), ce("selectX", l);
|
|
611
|
-
}
|
|
612
|
-
function ea(t, l) {
|
|
613
|
-
return t.length * l / 2 + l;
|
|
614
|
-
}
|
|
615
|
-
function vt(t, l, a) {
|
|
616
|
-
const s = ea(l, a);
|
|
617
|
-
return t + s > A.value.right;
|
|
618
|
-
}
|
|
619
|
-
function ta(t, l, a = "sans-serif") {
|
|
620
|
-
const o = document.createElement("canvas").getContext("2d"), v = typeof l == "number" ? `${l}px` : l;
|
|
621
|
-
return o.font = `${v} ${a}`, o.measureText(t).width;
|
|
622
|
-
}
|
|
623
|
-
const w = d(() => {
|
|
624
|
-
L.value;
|
|
625
|
-
const t = Math.max(
|
|
626
|
-
...R.value.map((k) => k.labelLen)
|
|
627
|
-
), l = Math.max(
|
|
628
|
-
...R.value.flatMap(
|
|
629
|
-
(k) => k.datapoints.flatMap((b) => b.values)
|
|
630
|
-
)
|
|
631
|
-
), a = Math.min(
|
|
632
|
-
...R.value.flatMap(
|
|
633
|
-
(k) => k.datapoints.flatMap((b) => b.values)
|
|
634
|
-
)
|
|
635
|
-
), s = p.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, o = (A.value.width - s) / ae.value, v = Math.abs(Math.min(a, 0)), $ = l + v;
|
|
636
|
-
function E(k) {
|
|
637
|
-
return isNaN(k / $) ? 0 : k / $;
|
|
638
|
-
}
|
|
639
|
-
return R.value.map((k, b) => {
|
|
640
|
-
const bt = A.value.top + L.value * b, j = A.value.top + bt + L.value * ze.value * (1 - E(v));
|
|
641
|
-
return {
|
|
642
|
-
...k,
|
|
643
|
-
label: {
|
|
644
|
-
x: s - e.value.style.chart.yAxis.labels.fontSize,
|
|
645
|
-
y: j
|
|
646
|
-
},
|
|
647
|
-
datapoints: k.datapoints.map((re) => {
|
|
648
|
-
const K = re.values.map((ue, $a) => {
|
|
649
|
-
const _a = isNaN(ue) || [
|
|
650
|
-
void 0,
|
|
651
|
-
null,
|
|
652
|
-
"NaN",
|
|
653
|
-
NaN,
|
|
654
|
-
1 / 0,
|
|
655
|
-
-1 / 0
|
|
656
|
-
].includes(ue) ? 0 : ue || 0, Pa = s + o * $a, Sa = A.value.top + bt + L.value * ze.value * (1 - E(_a + v)), Ta = ue === Math.max(...re.values);
|
|
657
|
-
return {
|
|
658
|
-
x: Pa,
|
|
659
|
-
y: Sa,
|
|
660
|
-
value: ue,
|
|
661
|
-
isMaxPoint: Ta,
|
|
662
|
-
zero: j
|
|
663
|
-
};
|
|
664
|
-
}), ka = `${Da(K, j, !1, !1)}`, Ca = `M ${s},${j} ${Pt(K)} ${K.at(-1).x},${j}`, Aa = `M ${s},${j} ${K.at(-1).x},${j}`, xt = `M ${Ia(K)}`, kt = `M ${Pt(K)}`, wa = Na(
|
|
665
|
-
e.value.style.chart.areas.smooth ? xt : kt
|
|
666
|
-
);
|
|
667
|
-
return {
|
|
668
|
-
...re,
|
|
669
|
-
uid: Ue(),
|
|
670
|
-
plots: K,
|
|
671
|
-
smoothPath: ka,
|
|
672
|
-
straightPath: Ca,
|
|
673
|
-
zeroPath: Aa,
|
|
674
|
-
pathLength: wa,
|
|
675
|
-
smoothPathRidge: xt,
|
|
676
|
-
straightPathRidge: kt
|
|
677
|
-
};
|
|
678
|
-
}).filter((re) => !x.value.includes(re.id))
|
|
679
|
-
};
|
|
680
|
-
});
|
|
681
|
-
}), x = i([]);
|
|
682
|
-
function aa(t) {
|
|
683
|
-
const l = /* @__PURE__ */ new Map();
|
|
684
|
-
return t.forEach((a) => {
|
|
685
|
-
a.datapoints.forEach((s, o) => {
|
|
686
|
-
const v = _t(s.name);
|
|
687
|
-
l.has(v) || l.set(v, {
|
|
688
|
-
id: v,
|
|
689
|
-
name: s.name,
|
|
690
|
-
color: s.color,
|
|
691
|
-
shape: "circle",
|
|
692
|
-
segregate: () => fe(v),
|
|
693
|
-
isSegregated: x.value.includes(v),
|
|
694
|
-
opacity: x.value.includes(v) ? 0.5 : 1
|
|
695
|
-
});
|
|
696
|
-
});
|
|
697
|
-
}), Array.from(l.values());
|
|
698
|
-
}
|
|
699
|
-
const F = d(() => aa(R.value)), la = d(() => ({
|
|
700
|
-
cy: "donut-div-legend",
|
|
701
|
-
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
702
|
-
color: e.value.style.chart.legend.color,
|
|
703
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
704
|
-
paddingBottom: 12,
|
|
705
|
-
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
706
|
-
})), G = i(!1);
|
|
707
|
-
function dt(t) {
|
|
708
|
-
G.value = t, Ze.value += 1;
|
|
709
|
-
}
|
|
710
|
-
const ye = i({}), ge = i([]);
|
|
711
|
-
function ht(t) {
|
|
712
|
-
ce("selectDatapoint", t), e.value.style.chart.dialog.show && (ge.value = t.datapoints.map((l) => ({
|
|
713
|
-
name: l.name,
|
|
714
|
-
color: l.color,
|
|
715
|
-
type: "line",
|
|
716
|
-
useArea: !0,
|
|
717
|
-
smooth: e.value.style.chart.areas.smooth,
|
|
718
|
-
series: l.values
|
|
719
|
-
})), Y.value = t, ye.value = Va({
|
|
720
|
-
...e.value.style.chart.dialog.xyChart,
|
|
721
|
-
responsive: !0,
|
|
722
|
-
// Overriding
|
|
723
|
-
chart: {
|
|
724
|
-
...e.value.style.chart.dialog.xyChart.chart,
|
|
725
|
-
grid: {
|
|
726
|
-
...e.value.style.chart.dialog.xyChart.chart.grid,
|
|
727
|
-
labels: {
|
|
728
|
-
...e.value.style.chart.dialog.xyChart.chart.grid.labels,
|
|
729
|
-
xAxisLabels: {
|
|
730
|
-
...e.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels,
|
|
731
|
-
values: e.value.style.chart.xAxis.labels.values,
|
|
732
|
-
// Overriding
|
|
733
|
-
autoRotate: {
|
|
734
|
-
enable: !0,
|
|
735
|
-
angle: e.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels.autoRotate.angle
|
|
736
|
-
},
|
|
737
|
-
// overriding
|
|
738
|
-
datetimeFormatter: e.value.style.chart.xAxis.labels.datetimeFormatter
|
|
739
|
-
// Overriding
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
},
|
|
743
|
-
tooltip: {
|
|
744
|
-
...e.value.style.chart.dialog.xyChart.chart.tooltip,
|
|
745
|
-
showTimeLabel: e.value.style.chart.xAxis.labels.values.length > 0
|
|
746
|
-
// Overriding
|
|
747
|
-
},
|
|
748
|
-
userOptions: {
|
|
749
|
-
...e.value.style.chart.dialog.xyChart.chart.userOptions,
|
|
750
|
-
buttons: {
|
|
751
|
-
...e.value.style.chart.dialog.xyChart.chart.userOptions.buttons,
|
|
752
|
-
altCopy: e.value.userOptions.buttons.altCopy
|
|
753
|
-
},
|
|
754
|
-
callbacks: {
|
|
755
|
-
...e.value.style.chart.dialog.xyChart.chart.userOptions.callbacks,
|
|
756
|
-
altCopy: () => {
|
|
757
|
-
}
|
|
758
|
-
},
|
|
759
|
-
useCursorPointer: e.value.userOptions.useCursorPointer
|
|
760
|
-
// Overriding
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
}), we.value && we.value.open());
|
|
764
|
-
}
|
|
765
|
-
const le = i(null);
|
|
766
|
-
function oa(t) {
|
|
767
|
-
le.value = t;
|
|
768
|
-
}
|
|
769
|
-
function sa() {
|
|
770
|
-
le.value = null;
|
|
771
|
-
}
|
|
772
|
-
const oe = i(!1);
|
|
773
|
-
function Ne() {
|
|
774
|
-
oe.value = !oe.value;
|
|
775
|
-
}
|
|
776
|
-
function ft() {
|
|
777
|
-
W.value.showTable = !W.value.showTable;
|
|
778
|
-
}
|
|
779
|
-
const yt = d(() => ({ body: w.value.flatMap((a) => a.datapoints.flatMap((s) => ({
|
|
780
|
-
...s,
|
|
781
|
-
rowName: `${a.name}: ${s.name}`
|
|
782
|
-
}))).map((a) => [
|
|
783
|
-
{
|
|
784
|
-
name: a.rowName,
|
|
785
|
-
color: a.color
|
|
786
|
-
},
|
|
787
|
-
...a.values
|
|
788
|
-
]) })), Q = d(() => {
|
|
789
|
-
const t = [
|
|
790
|
-
e.value.table.columnNames.series,
|
|
791
|
-
...J.value.map((s) => s.text)
|
|
792
|
-
], l = {
|
|
793
|
-
th: {
|
|
794
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
795
|
-
color: e.value.table.th.color,
|
|
796
|
-
outline: e.value.table.th.outline
|
|
797
|
-
},
|
|
798
|
-
td: {
|
|
799
|
-
backgroundColor: e.value.table.td.backgroundColor,
|
|
800
|
-
color: e.value.table.td.color,
|
|
801
|
-
outline: e.value.table.td.outline
|
|
802
|
-
},
|
|
803
|
-
breakpoint: e.value.table.responsiveBreakpoint
|
|
804
|
-
};
|
|
805
|
-
return {
|
|
806
|
-
colNames: [
|
|
807
|
-
e.value.table.columnNames.series,
|
|
808
|
-
...J.value.map((s) => s.text)
|
|
809
|
-
],
|
|
810
|
-
head: t,
|
|
811
|
-
body: yt.value.body,
|
|
812
|
-
config: l
|
|
813
|
-
};
|
|
814
|
-
});
|
|
815
|
-
function Re(t = null) {
|
|
816
|
-
pe(() => {
|
|
817
|
-
const l = [
|
|
818
|
-
[
|
|
819
|
-
e.value.table.columnNames.series,
|
|
820
|
-
...J.map((o) => [o.text])
|
|
821
|
-
],
|
|
822
|
-
...yt.value.body.map((o, v) => [o[0].name, ...o.slice(1)])
|
|
823
|
-
], a = [
|
|
824
|
-
[e.value.style.chart.title.text],
|
|
825
|
-
[e.value.style.chart.title.subtitle.text]
|
|
826
|
-
].concat(l), s = Ha(a);
|
|
827
|
-
t ? t(s) : Ua({
|
|
828
|
-
csvContent: s,
|
|
829
|
-
title: e.value.style.chart.title.text || "vue-ui-ridgeline"
|
|
830
|
-
});
|
|
831
|
-
});
|
|
832
|
-
}
|
|
833
|
-
function na() {
|
|
834
|
-
return w.value;
|
|
835
|
-
}
|
|
836
|
-
async function ra({ scale: t = 2 } = {}) {
|
|
837
|
-
if (!z.value) return;
|
|
838
|
-
const { width: l, height: a } = z.value.getBoundingClientRect(), s = l / a, { imageUri: o, base64: v } = await nl({
|
|
839
|
-
domElement: z.value,
|
|
840
|
-
base64: !0,
|
|
841
|
-
img: !0,
|
|
842
|
-
scale: t
|
|
843
|
-
});
|
|
844
|
-
return {
|
|
845
|
-
imageUri: o,
|
|
846
|
-
base64: v,
|
|
847
|
-
title: e.value.style.chart.title.text,
|
|
848
|
-
width: l,
|
|
849
|
-
height: a,
|
|
850
|
-
aspectRatio: s
|
|
851
|
-
};
|
|
852
|
-
}
|
|
853
|
-
const ua = d(() => ({ min: 0, max: ae.value }));
|
|
854
|
-
tl({
|
|
855
|
-
timeLabelsEls: $e,
|
|
856
|
-
timeLabels: J,
|
|
857
|
-
slicer: ua,
|
|
858
|
-
configRef: e,
|
|
859
|
-
rotationPath: ["style", "chart", "xAxis", "labels", "rotation"],
|
|
860
|
-
autoRotatePath: [
|
|
861
|
-
"style",
|
|
862
|
-
"chart",
|
|
863
|
-
"xAxis",
|
|
864
|
-
"labels",
|
|
865
|
-
"autoRotate",
|
|
866
|
-
"enable"
|
|
867
|
-
],
|
|
868
|
-
isAutoSize: !1,
|
|
869
|
-
width: Zt,
|
|
870
|
-
height: Jt,
|
|
871
|
-
targetClass: ".vue-ui-ridgeline-x-axis-label",
|
|
872
|
-
angle: e.value.style.chart.xAxis.labels.autoRotate.angle
|
|
873
|
-
});
|
|
874
|
-
const se = d(() => {
|
|
875
|
-
const t = e.value.table.useDialog && !e.value.table.show, l = W.value.showTable;
|
|
876
|
-
return {
|
|
877
|
-
component: t ? Ge : It,
|
|
878
|
-
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
879
|
-
props: t ? {
|
|
880
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
881
|
-
color: e.value.table.th.color,
|
|
882
|
-
headerColor: e.value.table.th.color,
|
|
883
|
-
headerBg: e.value.table.th.backgroundColor,
|
|
884
|
-
isFullscreen: G.value,
|
|
885
|
-
fullscreenParent: z.value,
|
|
886
|
-
forcedWidth: Math.min(800, window.innerWidth * 0.8),
|
|
887
|
-
isCursorPointer: D.value
|
|
888
|
-
} : {
|
|
889
|
-
hideDetails: !0,
|
|
890
|
-
config: {
|
|
891
|
-
open: l,
|
|
892
|
-
maxHeight: 1e4,
|
|
893
|
-
body: {
|
|
894
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
895
|
-
color: e.value.style.chart.color
|
|
896
|
-
},
|
|
897
|
-
head: {
|
|
898
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
899
|
-
color: e.value.style.chart.color
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
};
|
|
904
|
-
});
|
|
905
|
-
ie(
|
|
906
|
-
() => W.value.showTable,
|
|
907
|
-
(t) => {
|
|
908
|
-
e.value.table.show || (t && e.value.table.useDialog && te.value ? te.value.open() : "close" in te.value && te.value.close());
|
|
909
|
-
}
|
|
910
|
-
);
|
|
911
|
-
function gt() {
|
|
912
|
-
W.value.showTable = !1, _e.value && _e.value.setTableIconState(!1);
|
|
913
|
-
}
|
|
914
|
-
const ia = d(() => e.value.style.chart.backgroundColor), ca = d(() => ({
|
|
915
|
-
...e.value.style.chart.legend,
|
|
916
|
-
position: "bottom"
|
|
917
|
-
})), va = d(() => e.value.style.chart.title), { exportSvg: da, getSvg: ha } = qa({
|
|
918
|
-
svg: Z,
|
|
919
|
-
title: va,
|
|
920
|
-
legend: ca,
|
|
921
|
-
legendItems: F,
|
|
922
|
-
backgroundColor: ia
|
|
923
|
-
});
|
|
924
|
-
async function pt({ isCb: t }) {
|
|
925
|
-
de.value = !0, await pe();
|
|
926
|
-
try {
|
|
927
|
-
if (t) {
|
|
928
|
-
const { blob: l, url: a, text: s, dataUrl: o } = await ha();
|
|
929
|
-
await Promise.resolve(
|
|
930
|
-
e.value.userOptions.callbacks.svg({
|
|
931
|
-
blob: l,
|
|
932
|
-
url: a,
|
|
933
|
-
text: s,
|
|
934
|
-
dataUrl: o
|
|
935
|
-
})
|
|
936
|
-
);
|
|
937
|
-
} else
|
|
938
|
-
await Promise.resolve(da());
|
|
939
|
-
} finally {
|
|
940
|
-
de.value = !1;
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
function fa(t) {
|
|
944
|
-
if (t?.stage === "start") {
|
|
945
|
-
ve.value = !0;
|
|
946
|
-
return;
|
|
947
|
-
}
|
|
948
|
-
if (t?.stage === "end") {
|
|
949
|
-
ve.value = !1;
|
|
950
|
-
return;
|
|
951
|
-
}
|
|
952
|
-
ot();
|
|
953
|
-
}
|
|
954
|
-
function ya(t) {
|
|
955
|
-
Fe("xy-zoom", t.dataset, t.config);
|
|
956
|
-
}
|
|
957
|
-
async function Fe(t = "main-chart", l = null, a = null) {
|
|
958
|
-
if (ce("copyAlt", {
|
|
959
|
-
source: t,
|
|
960
|
-
config: t === "main-chart" ? e.value : ye.value,
|
|
961
|
-
dataset: t === "main-chart" ? w.value : ge.value
|
|
962
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
963
|
-
console.warn(
|
|
964
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
965
|
-
);
|
|
966
|
-
return;
|
|
967
|
-
}
|
|
968
|
-
await Promise.resolve(
|
|
969
|
-
e.value.userOptions.callbacks.altCopy({
|
|
970
|
-
source: t,
|
|
971
|
-
config: t === "main-chart" ? e.value : ye.value,
|
|
972
|
-
dataset: t === "main-chart" ? w.value : ge.value
|
|
973
|
-
})
|
|
974
|
-
);
|
|
975
|
-
}
|
|
976
|
-
function ga() {
|
|
977
|
-
U.value = null, Pe.value = !0;
|
|
978
|
-
}
|
|
979
|
-
function pa() {
|
|
980
|
-
mt(), Pe.value = !1;
|
|
981
|
-
}
|
|
982
|
-
function ma(t) {
|
|
983
|
-
if (!Z.value || oe.value || document.activeElement !== Z.value || !w.value.length) return;
|
|
984
|
-
const l = t.key === "ArrowUp", a = t.key === "ArrowDown", s = t.key === "ArrowLeft", o = t.key === "ArrowRight", v = t.key === "Enter" || t.key === " ", $ = t.key === "Escape";
|
|
985
|
-
if (!l && !a && !s && !o && !v && !$)
|
|
986
|
-
return;
|
|
987
|
-
if (t.preventDefault(), t.stopPropagation(), $) {
|
|
988
|
-
mt();
|
|
989
|
-
return;
|
|
990
|
-
}
|
|
991
|
-
if (v) {
|
|
992
|
-
if (U.value !== null) {
|
|
993
|
-
const b = w.value[U.value];
|
|
994
|
-
b && ht(b);
|
|
995
|
-
return;
|
|
996
|
-
}
|
|
997
|
-
c.value && ct(c.value);
|
|
998
|
-
return;
|
|
999
|
-
}
|
|
1000
|
-
if (l || a) {
|
|
1001
|
-
let b = U.value;
|
|
1002
|
-
b === null ? b = a ? 0 : w.value.length - 1 : b = ba(
|
|
1003
|
-
b + (a ? 1 : -1)
|
|
1004
|
-
), U.value = b, le.value = b;
|
|
1005
|
-
return;
|
|
1006
|
-
}
|
|
1007
|
-
if (!M.value.length) return;
|
|
1008
|
-
let E = c.value?.index ?? null;
|
|
1009
|
-
E === null ? E = o ? 0 : M.value.length - 1 : E = xa(E + (o ? 1 : -1));
|
|
1010
|
-
const k = M.value[E];
|
|
1011
|
-
k && ut(k);
|
|
1012
|
-
}
|
|
1013
|
-
function ba(t) {
|
|
1014
|
-
const l = w.value.length;
|
|
1015
|
-
return l ? (t % l + l) % l : null;
|
|
1016
|
-
}
|
|
1017
|
-
function xa(t) {
|
|
1018
|
-
const l = M.value.length;
|
|
1019
|
-
return l ? (t % l + l) % l : null;
|
|
1020
|
-
}
|
|
1021
|
-
function mt() {
|
|
1022
|
-
U.value = null, le.value = null, c.value ? it(c.value) : c.value = null;
|
|
1023
|
-
}
|
|
1024
|
-
const ne = d(() => ({
|
|
1025
|
-
head: Q.value.head,
|
|
1026
|
-
body: Q.value.body.map((t) => [t[0]?.name ?? "", ...t.slice(1)]),
|
|
1027
|
-
caption: e.value.a11y.translations.tableCaption,
|
|
1028
|
-
notice: e.value.a11y.translations.tableAvailable
|
|
1029
|
-
}));
|
|
1030
|
-
return Lt({
|
|
1031
|
-
getData: na,
|
|
1032
|
-
getImage: ra,
|
|
1033
|
-
generateImage: ot,
|
|
1034
|
-
generateSvg: pt,
|
|
1035
|
-
generatePdf: lt,
|
|
1036
|
-
generateCsv: Re,
|
|
1037
|
-
hideSeries: qt,
|
|
1038
|
-
showSeries: Yt,
|
|
1039
|
-
toggleAnnotator: Ne,
|
|
1040
|
-
toggleTable: ft,
|
|
1041
|
-
toggleFullscreen: dt,
|
|
1042
|
-
copyAlt: Fe
|
|
1043
|
-
}), (t, l) => (n(), r("div", {
|
|
1044
|
-
ref_key: "ridgelineChart",
|
|
1045
|
-
ref: z,
|
|
1046
|
-
class: me(`vue-data-ui-component vue-ui-ridgeline ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
1047
|
-
id: `vue-ui-ridgeline_${C.value}`,
|
|
1048
|
-
style: _({
|
|
1049
|
-
fontFamily: e.value.style.fontFamily,
|
|
1050
|
-
width: "100%",
|
|
1051
|
-
textAlign: "center",
|
|
1052
|
-
background: e.value.style.chart.backgroundColor,
|
|
1053
|
-
height: e.value.responsive ? "100%" : void 0
|
|
1054
|
-
}),
|
|
1055
|
-
onMouseenter: l[3] || (l[3] = () => u(et)(!0)),
|
|
1056
|
-
onMouseleave: l[4] || (l[4] = () => u(et)(!1))
|
|
1057
|
-
}, [
|
|
1058
|
-
g("div", {
|
|
1059
|
-
id: `chart-instructions-${C.value}`,
|
|
1060
|
-
class: "sr-only"
|
|
1061
|
-
}, [
|
|
1062
|
-
g("p", null, B(e.value.a11y.translations.keyboardNavigation), 1)
|
|
1063
|
-
], 8, vl),
|
|
1064
|
-
ne.value.body.length ? (n(), P(rl, {
|
|
1065
|
-
key: 0,
|
|
1066
|
-
uid: C.value,
|
|
1067
|
-
head: ne.value.head,
|
|
1068
|
-
body: ne.value.body,
|
|
1069
|
-
caption: ne.value.caption,
|
|
1070
|
-
notice: ne.value.notice
|
|
1071
|
-
}, null, 8, ["uid", "head", "body", "caption", "notice"])) : h("", !0),
|
|
1072
|
-
e.value.userOptions.buttons.annotator && u(Z) ? (n(), P(u(Rt), {
|
|
1073
|
-
key: 1,
|
|
1074
|
-
color: e.value.style.chart.color,
|
|
1075
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1076
|
-
active: oe.value,
|
|
1077
|
-
svgRef: u(Z),
|
|
1078
|
-
isCursorPointer: D.value,
|
|
1079
|
-
onClose: Ne
|
|
1080
|
-
}, {
|
|
1081
|
-
"annotator-action-close": f(() => [
|
|
1082
|
-
y(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
1083
|
-
]),
|
|
1084
|
-
"annotator-action-color": f(({ color: a }) => [
|
|
1085
|
-
y(t.$slots, "annotator-action-color", S(T({ color: a })), void 0, !0)
|
|
1086
|
-
]),
|
|
1087
|
-
"annotator-action-draw": f(({ mode: a }) => [
|
|
1088
|
-
y(t.$slots, "annotator-action-draw", S(T({ mode: a })), void 0, !0)
|
|
1089
|
-
]),
|
|
1090
|
-
"annotator-action-undo": f(({ disabled: a }) => [
|
|
1091
|
-
y(t.$slots, "annotator-action-undo", S(T({ disabled: a })), void 0, !0)
|
|
1092
|
-
]),
|
|
1093
|
-
"annotator-action-redo": f(({ disabled: a }) => [
|
|
1094
|
-
y(t.$slots, "annotator-action-redo", S(T({ disabled: a })), void 0, !0)
|
|
1095
|
-
]),
|
|
1096
|
-
"annotator-action-delete": f(({ disabled: a }) => [
|
|
1097
|
-
y(t.$slots, "annotator-action-delete", S(T({ disabled: a })), void 0, !0)
|
|
1098
|
-
]),
|
|
1099
|
-
_: 3
|
|
1100
|
-
}, 8, ["color", "backgroundColor", "active", "svgRef", "isCursorPointer"])) : h("", !0),
|
|
1101
|
-
y(t.$slots, "userConfig", {}, void 0, !0),
|
|
1102
|
-
Gt.value ? (n(), r("div", {
|
|
1103
|
-
key: 2,
|
|
1104
|
-
ref_key: "noTitle",
|
|
1105
|
-
ref: qe,
|
|
1106
|
-
class: "vue-data-ui-no-title-space",
|
|
1107
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
1108
|
-
}, null, 512)) : h("", !0),
|
|
1109
|
-
e.value.style.chart.title.text ? (n(), r("div", {
|
|
1110
|
-
key: 3,
|
|
1111
|
-
ref_key: "chartTitle",
|
|
1112
|
-
ref: je,
|
|
1113
|
-
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
1114
|
-
}, [
|
|
1115
|
-
(n(), P(ol, {
|
|
1116
|
-
key: `title_${Ce.value}`,
|
|
1117
|
-
config: {
|
|
1118
|
-
title: {
|
|
1119
|
-
cy: "ridgeline-div-title",
|
|
1120
|
-
...e.value.style.chart.title
|
|
1121
|
-
},
|
|
1122
|
-
subtitle: {
|
|
1123
|
-
cy: "ridgeline-div-subtitle",
|
|
1124
|
-
...e.value.style.chart.title.subtitle
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
}, null, 8, ["config"]))
|
|
1128
|
-
], 512)) : h("", !0),
|
|
1129
|
-
e.value.userOptions.show && ee.value && (u(tt) || u(he)) ? (n(), P(u(Ft), {
|
|
1130
|
-
ref_key: "userOptionsRef",
|
|
1131
|
-
ref: _e,
|
|
1132
|
-
key: `user_option_${Ze.value}`,
|
|
1133
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1134
|
-
color: e.value.style.chart.color,
|
|
1135
|
-
isPrinting: u(Le),
|
|
1136
|
-
isImaging: u(Me),
|
|
1137
|
-
uid: C.value,
|
|
1138
|
-
hasTooltip: !1,
|
|
1139
|
-
callbacks: e.value.userOptions.callbacks,
|
|
1140
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
1141
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
1142
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
1143
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
1144
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
1145
|
-
hasLabel: !1,
|
|
1146
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
1147
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
1148
|
-
isFullscreen: G.value,
|
|
1149
|
-
printScale: e.value.userOptions.print.scale,
|
|
1150
|
-
chartElement: z.value,
|
|
1151
|
-
position: e.value.userOptions.position,
|
|
1152
|
-
isTooltip: !1,
|
|
1153
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
1154
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
1155
|
-
isAnnotation: oe.value,
|
|
1156
|
-
tableDialog: e.value.table.useDialog,
|
|
1157
|
-
style: _({
|
|
1158
|
-
visibility: u(tt) ? u(he) ? "visible" : "hidden" : "visible"
|
|
1159
|
-
}),
|
|
1160
|
-
isCursorPointer: D.value,
|
|
1161
|
-
onToggleFullscreen: dt,
|
|
1162
|
-
onGeneratePdf: u(lt),
|
|
1163
|
-
onGenerateCsv: Re,
|
|
1164
|
-
onGenerateImage: fa,
|
|
1165
|
-
onGenerateSvg: pt,
|
|
1166
|
-
onToggleTable: ft,
|
|
1167
|
-
onToggleAnnotator: Ne,
|
|
1168
|
-
onCopyAlt: Fe
|
|
1169
|
-
}, Ee({ _: 2 }, [
|
|
1170
|
-
t.$slots.menuIcon ? {
|
|
1171
|
-
name: "menuIcon",
|
|
1172
|
-
fn: f(({ isOpen: a, color: s }) => [
|
|
1173
|
-
y(t.$slots, "menuIcon", S(T({ isOpen: a, color: s })), void 0, !0)
|
|
1174
|
-
]),
|
|
1175
|
-
key: "0"
|
|
1176
|
-
} : void 0,
|
|
1177
|
-
t.$slots.optionTooltip ? {
|
|
1178
|
-
name: "optionTooltip",
|
|
1179
|
-
fn: f(() => [
|
|
1180
|
-
y(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
1181
|
-
]),
|
|
1182
|
-
key: "1"
|
|
1183
|
-
} : void 0,
|
|
1184
|
-
t.$slots.optionPdf ? {
|
|
1185
|
-
name: "optionPdf",
|
|
1186
|
-
fn: f(() => [
|
|
1187
|
-
y(t.$slots, "optionPdf", {}, void 0, !0)
|
|
1188
|
-
]),
|
|
1189
|
-
key: "2"
|
|
1190
|
-
} : void 0,
|
|
1191
|
-
t.$slots.optionCsv ? {
|
|
1192
|
-
name: "optionCsv",
|
|
1193
|
-
fn: f(() => [
|
|
1194
|
-
y(t.$slots, "optionCsv", {}, void 0, !0)
|
|
1195
|
-
]),
|
|
1196
|
-
key: "3"
|
|
1197
|
-
} : void 0,
|
|
1198
|
-
t.$slots.optionImg ? {
|
|
1199
|
-
name: "optionImg",
|
|
1200
|
-
fn: f(() => [
|
|
1201
|
-
y(t.$slots, "optionImg", {}, void 0, !0)
|
|
1202
|
-
]),
|
|
1203
|
-
key: "4"
|
|
1204
|
-
} : void 0,
|
|
1205
|
-
t.$slots.optionSvg ? {
|
|
1206
|
-
name: "optionSvg",
|
|
1207
|
-
fn: f(() => [
|
|
1208
|
-
y(t.$slots, "optionSvg", {}, void 0, !0)
|
|
1209
|
-
]),
|
|
1210
|
-
key: "5"
|
|
1211
|
-
} : void 0,
|
|
1212
|
-
t.$slots.optionTable ? {
|
|
1213
|
-
name: "optionTable",
|
|
1214
|
-
fn: f(() => [
|
|
1215
|
-
y(t.$slots, "optionTable", {}, void 0, !0)
|
|
1216
|
-
]),
|
|
1217
|
-
key: "6"
|
|
1218
|
-
} : void 0,
|
|
1219
|
-
t.$slots.optionFullscreen ? {
|
|
1220
|
-
name: "optionFullscreen",
|
|
1221
|
-
fn: f(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
1222
|
-
y(t.$slots, "optionFullscreen", S(T({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
1223
|
-
]),
|
|
1224
|
-
key: "7"
|
|
1225
|
-
} : void 0,
|
|
1226
|
-
t.$slots.optionAnnotator ? {
|
|
1227
|
-
name: "optionAnnotator",
|
|
1228
|
-
fn: f(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
1229
|
-
y(t.$slots, "optionAnnotator", S(T({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
1230
|
-
]),
|
|
1231
|
-
key: "8"
|
|
1232
|
-
} : void 0,
|
|
1233
|
-
t.$slots.optionAltCopy ? {
|
|
1234
|
-
name: "optionAltCopy",
|
|
1235
|
-
fn: f(({ altCopy: a }) => [
|
|
1236
|
-
y(t.$slots, "optionAltCopy", S(T({ altCopy: a })), void 0, !0)
|
|
1237
|
-
]),
|
|
1238
|
-
key: "9"
|
|
1239
|
-
} : void 0
|
|
1240
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "callbacks", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "printScale", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "tableDialog", "style", "isCursorPointer", "onGeneratePdf"])) : h("", !0),
|
|
1241
|
-
g("div", dl, [
|
|
1242
|
-
(n(), r("svg", {
|
|
1243
|
-
ref_key: "svgRef",
|
|
1244
|
-
ref: Z,
|
|
1245
|
-
xmlns: u(Ra),
|
|
1246
|
-
"aria-describedby": `chart-instructions-${C.value}`,
|
|
1247
|
-
class: me({
|
|
1248
|
-
"vue-data-ui-fullscreen--on": G.value,
|
|
1249
|
-
"vue-data-ui-fulscreen--off": !G.value
|
|
1250
|
-
}),
|
|
1251
|
-
viewBox: `0 0 ${p.value.width <= 0 ? 10 : p.value.width} ${A.value.fullHeight <= 0 ? 10 : A.value.fullHeight}`,
|
|
1252
|
-
style: _(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${Qe.value}px; width: 100%;` : ""}`),
|
|
1253
|
-
tabindex: "0",
|
|
1254
|
-
onFocus: ga,
|
|
1255
|
-
onBlur: pa,
|
|
1256
|
-
onKeydown: ma
|
|
1257
|
-
}, [
|
|
1258
|
-
Xe(u(Et)),
|
|
1259
|
-
g("defs", null, [
|
|
1260
|
-
(n(!0), r(m, null, O(F.value, (a, s) => (n(), r("linearGradient", {
|
|
1261
|
-
id: `gradient-${a.id}-${C.value}`,
|
|
1262
|
-
x1: "50%",
|
|
1263
|
-
y1: "0%",
|
|
1264
|
-
x2: "50%",
|
|
1265
|
-
y2: "100%"
|
|
1266
|
-
}, [
|
|
1267
|
-
g("stop", {
|
|
1268
|
-
offset: "0%",
|
|
1269
|
-
"stop-color": a.color,
|
|
1270
|
-
"stop-opacity": "1"
|
|
1271
|
-
}, null, 8, yl),
|
|
1272
|
-
g("stop", {
|
|
1273
|
-
offset: "30%",
|
|
1274
|
-
"stop-color": a.color,
|
|
1275
|
-
"stop-opacity": "0.7"
|
|
1276
|
-
}, null, 8, gl),
|
|
1277
|
-
g("stop", {
|
|
1278
|
-
offset: "70%",
|
|
1279
|
-
"stop-color": a.color,
|
|
1280
|
-
"stop-opacity": "0.3"
|
|
1281
|
-
}, null, 8, pl),
|
|
1282
|
-
g("stop", {
|
|
1283
|
-
offset: "100%",
|
|
1284
|
-
"stop-color": a.color,
|
|
1285
|
-
"stop-opacity": "0.1"
|
|
1286
|
-
}, null, 8, ml)
|
|
1287
|
-
], 8, fl))), 256)),
|
|
1288
|
-
(n(!0), r(m, null, O(w.value, (a, s) => (n(), r(m, null, [
|
|
1289
|
-
(n(!0), r(m, null, O(a.datapoints, (o, v) => (n(), r("linearGradient", {
|
|
1290
|
-
key: `grad${o.id}`,
|
|
1291
|
-
id: `gradient-single-${C.value}-${o.uid}`,
|
|
1292
|
-
x1: "50%",
|
|
1293
|
-
y1: "0%",
|
|
1294
|
-
x2: "50%",
|
|
1295
|
-
y2: "100%"
|
|
1296
|
-
}, [
|
|
1297
|
-
g("stop", {
|
|
1298
|
-
offset: "0%",
|
|
1299
|
-
"stop-color": o.color,
|
|
1300
|
-
"stop-opacity": "1"
|
|
1301
|
-
}, null, 8, xl),
|
|
1302
|
-
g("stop", {
|
|
1303
|
-
offset: "30%",
|
|
1304
|
-
"stop-color": o.color,
|
|
1305
|
-
"stop-opacity": "0.7"
|
|
1306
|
-
}, null, 8, kl),
|
|
1307
|
-
g("stop", {
|
|
1308
|
-
offset: "70%",
|
|
1309
|
-
"stop-color": o.color,
|
|
1310
|
-
"stop-opacity": "0.3"
|
|
1311
|
-
}, null, 8, Cl),
|
|
1312
|
-
g("stop", {
|
|
1313
|
-
offset: "100%",
|
|
1314
|
-
"stop-color": o.color,
|
|
1315
|
-
"stop-opacity": "0.1"
|
|
1316
|
-
}, null, 8, Al)
|
|
1317
|
-
], 8, bl))), 128))
|
|
1318
|
-
], 64))), 256))
|
|
1319
|
-
]),
|
|
1320
|
-
(n(!0), r(m, null, O(w.value, (a, s) => (n(), r("g", {
|
|
1321
|
-
key: `ds-${s}`
|
|
1322
|
-
}, [
|
|
1323
|
-
(n(!0), r(m, null, O(a.datapoints, (o, v) => (n(), r("g", {
|
|
1324
|
-
key: o.id
|
|
1325
|
-
}, [
|
|
1326
|
-
t.$slots.pattern ? (n(), r("g", wl, [
|
|
1327
|
-
g("defs", null, [
|
|
1328
|
-
y(t.$slots, "pattern", Be({ ref_for: !0 }, {
|
|
1329
|
-
datapointIndex: s,
|
|
1330
|
-
seriesIndex: v,
|
|
1331
|
-
patternId: `pattern_${C.value}_${o.uid}`
|
|
1332
|
-
}), void 0, !0)
|
|
1333
|
-
])
|
|
1334
|
-
])) : h("", !0),
|
|
1335
|
-
g("path", {
|
|
1336
|
-
fill: t.$slots.pattern ? `url(#pattern_${C.value}_${o.uid})` : e.value.style.chart.backgroundColor,
|
|
1337
|
-
stroke: "none",
|
|
1338
|
-
"stroke-linecap": "round",
|
|
1339
|
-
d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
|
|
1340
|
-
style: _({
|
|
1341
|
-
opacity: e.value.style.chart.areas.opacity
|
|
1342
|
-
})
|
|
1343
|
-
}, null, 12, $l),
|
|
1344
|
-
g("path", {
|
|
1345
|
-
fill: "none",
|
|
1346
|
-
stroke: e.value.style.chart.areas.stroke.useSerieColor ? o.color : e.value.style.chart.areas.stroke.color,
|
|
1347
|
-
"stroke-width": e.value.style.chart.areas.strokeWidth,
|
|
1348
|
-
d: e.value.style.chart.areas.smooth ? o.smoothPathRidge : o.straightPathRidge,
|
|
1349
|
-
"stroke-linecap": "round",
|
|
1350
|
-
"stroke-linejoin": "round",
|
|
1351
|
-
class: me({
|
|
1352
|
-
"vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(q)
|
|
1353
|
-
}),
|
|
1354
|
-
style: _({
|
|
1355
|
-
strokeDasharray: o.pathLength,
|
|
1356
|
-
strokeDashoffset: e.value.useCssAnimation ? o.pathLength : 0
|
|
1357
|
-
})
|
|
1358
|
-
}, null, 14, _l),
|
|
1359
|
-
g("path", {
|
|
1360
|
-
fill: e.value.style.chart.areas.useGradient ? e.value.style.chart.areas.useCommonColor ? `url(#gradient-${o.id}-${C.value})` : `url(#gradient-single-${C.value}-${o.uid})` : o.color,
|
|
1361
|
-
stroke: "none",
|
|
1362
|
-
d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
|
|
1363
|
-
"stroke-linecap": "round",
|
|
1364
|
-
"stroke-linejoin": "round",
|
|
1365
|
-
class: me({
|
|
1366
|
-
"vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(q)
|
|
1367
|
-
}),
|
|
1368
|
-
style: _({
|
|
1369
|
-
strokeDasharray: o.pathLength,
|
|
1370
|
-
strokeDashoffset: e.value.useCssAnimation ? o.pathLength : 0
|
|
1371
|
-
})
|
|
1372
|
-
}, null, 14, Pl),
|
|
1373
|
-
e.value.style.chart.zeroLine.show ? (n(), r("path", {
|
|
1374
|
-
key: 1,
|
|
1375
|
-
stroke: e.value.style.chart.zeroLine.useSerieColor ? o.color : e.value.style.chart.zeroLine.stroke,
|
|
1376
|
-
"stroke-dasharray": e.value.style.chart.zeroLine.strokeDasharray,
|
|
1377
|
-
"stroke-width": e.value.style.chart.zeroLine.strokeWidth,
|
|
1378
|
-
d: o.zeroPath,
|
|
1379
|
-
"stroke-linecap": "round"
|
|
1380
|
-
}, null, 8, Sl)) : h("", !0),
|
|
1381
|
-
e.value.style.chart.areas.maxPoint.show && o.plots.length > 1 ? (n(!0), r(m, { key: 2 }, O(o.plots, ($) => (n(), r(m, null, [
|
|
1382
|
-
$.isMaxPoint ? (n(), r("line", {
|
|
1383
|
-
key: 0,
|
|
1384
|
-
x1: $.x,
|
|
1385
|
-
y1: $.y,
|
|
1386
|
-
x2: $.x,
|
|
1387
|
-
y2: $.zero,
|
|
1388
|
-
stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(Fa)(o.color) : e.value.style.chart.areas.maxPoint.stroke,
|
|
1389
|
-
"stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
|
|
1390
|
-
"stroke-linecap": "round",
|
|
1391
|
-
"stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
|
|
1392
|
-
}, null, 8, Tl)) : h("", !0)
|
|
1393
|
-
], 64))), 256)) : h("", !0),
|
|
1394
|
-
o.plots.length === 1 ? (n(), r("circle", {
|
|
1395
|
-
key: 3,
|
|
1396
|
-
cx: o.plots[0].x,
|
|
1397
|
-
cy: o.plots[0].y,
|
|
1398
|
-
stroke: e.value.style.chart.selector.dot.stroke,
|
|
1399
|
-
"stroke-width": e.value.style.chart.selector.dot.strokeWidth,
|
|
1400
|
-
r: e.value.style.chart.selector.dot.radius,
|
|
1401
|
-
fill: e.value.style.chart.selector.dot.useDatapointColor ? o.color : e.value.style.chart.selector.dot.fill,
|
|
1402
|
-
style: {
|
|
1403
|
-
pointerEvents: "none"
|
|
1404
|
-
}
|
|
1405
|
-
}, null, 8, Ol)) : h("", !0)
|
|
1406
|
-
]))), 128)),
|
|
1407
|
-
g("text", {
|
|
1408
|
-
x: a.label.x,
|
|
1409
|
-
y: a.label.y,
|
|
1410
|
-
"text-anchor": "end",
|
|
1411
|
-
"font-size": e.value.style.chart.yAxis.labels.fontSize,
|
|
1412
|
-
"font-weight": e.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
|
|
1413
|
-
fill: e.value.style.chart.yAxis.labels.color,
|
|
1414
|
-
style: _({
|
|
1415
|
-
cursor: e.value.style.chart.dialog.show && D.value ? "pointer" : "default"
|
|
1416
|
-
}),
|
|
1417
|
-
"text-decoration": e.value.style.chart.dialog.show && (le.value === s || Y.value && a.uid === Y.value.uid || U.value === s) ? "underline" : "",
|
|
1418
|
-
onMouseenter: (o) => oa(s),
|
|
1419
|
-
onMouseleave: sa,
|
|
1420
|
-
onClick: (o) => ht(a)
|
|
1421
|
-
}, B(a.name), 45, Ll)
|
|
1422
|
-
]))), 128)),
|
|
1423
|
-
e.value.style.chart.xAxis.labels.values.length ? (n(), r("g", {
|
|
1424
|
-
key: 0,
|
|
1425
|
-
ref_key: "timeLabelsEls",
|
|
1426
|
-
ref: $e
|
|
1427
|
-
}, [
|
|
1428
|
-
(n(!0), r(m, null, O(M.value, (a, s) => y(t.$slots, "time-label", Be({ ref_for: !0 }, {
|
|
1429
|
-
show: a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || a && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === M.value.length - 1) || a && c.value && c.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(
|
|
1430
|
-
M.value.length / e.value.style.chart.xAxis.labels.modulo
|
|
1431
|
-
) === 0,
|
|
1432
|
-
fontSize: e.value.style.chart.xAxis.labels.fontSize,
|
|
1433
|
-
content: a.label,
|
|
1434
|
-
textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
1435
|
-
fill: e.value.style.chart.xAxis.labels.color,
|
|
1436
|
-
transform: `translate(${a.selectorX}, ${A.value.top + a.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
|
|
1437
|
-
x: a.selectorX,
|
|
1438
|
-
y: A.value.bottom + e.value.style.chart.xAxis.labels.offsetY
|
|
1439
|
-
}), () => [
|
|
1440
|
-
a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || a && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === M.value.length - 1) || a && c.value && c.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(
|
|
1441
|
-
M.value.length / e.value.style.chart.xAxis.labels.modulo
|
|
1442
|
-
) === 0 ? (n(), r("g", Ml, [
|
|
1443
|
-
String(a.label).includes(`
|
|
1444
|
-
`) ? (n(), r("text", {
|
|
1445
|
-
key: 1,
|
|
1446
|
-
class: "vue-ui-ridgeline-x-axis-label",
|
|
1447
|
-
"font-size": e.value.style.chart.xAxis.labels.fontSize,
|
|
1448
|
-
fill: e.value.style.chart.xAxis.labels.color,
|
|
1449
|
-
"font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
1450
|
-
transform: `translate(${a.selectorX}, ${A.value.bottom + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
|
|
1451
|
-
"text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
1452
|
-
style: _({
|
|
1453
|
-
opacity: c.value ? c.value.index === s ? 1 : 0.2 : 1
|
|
1454
|
-
}),
|
|
1455
|
-
innerHTML: u(Ea)({
|
|
1456
|
-
content: String(a.label),
|
|
1457
|
-
fontSize: e.value.style.chart.xAxis.labels.fontSize,
|
|
1458
|
-
fill: e.value.style.chart.xAxis.labels.color,
|
|
1459
|
-
x: 0,
|
|
1460
|
-
y: 0
|
|
1461
|
-
})
|
|
1462
|
-
}, null, 12, Dl)) : (n(), r("text", {
|
|
1463
|
-
key: 0,
|
|
1464
|
-
class: "vue-ui-ridgeline-x-axis-label",
|
|
1465
|
-
"font-size": e.value.style.chart.xAxis.labels.fontSize,
|
|
1466
|
-
fill: e.value.style.chart.xAxis.labels.color,
|
|
1467
|
-
"font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
1468
|
-
transform: `translate(${a.selectorX}, ${A.value.bottom + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
|
|
1469
|
-
"text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
1470
|
-
style: _({
|
|
1471
|
-
opacity: c.value ? c.value.index === s ? 1 : 0.2 : 1
|
|
1472
|
-
})
|
|
1473
|
-
}, B(a.label), 13, zl))
|
|
1474
|
-
])) : h("", !0)
|
|
1475
|
-
], !0)), 256))
|
|
1476
|
-
], 512)) : h("", !0),
|
|
1477
|
-
g("g", null, [
|
|
1478
|
-
(n(!0), r(m, null, O(M.value, (a, s) => (n(), r("rect", {
|
|
1479
|
-
x: a.x,
|
|
1480
|
-
y: a.y,
|
|
1481
|
-
width: a.width < 0 ? 0.1 : a.width,
|
|
1482
|
-
height: a.height < 0 ? 0.1 : a.height,
|
|
1483
|
-
fill: "transparent",
|
|
1484
|
-
onMouseenter: (o) => ut(a),
|
|
1485
|
-
onMouseleave: (o) => it(a),
|
|
1486
|
-
onClick: () => ct(a)
|
|
1487
|
-
}, null, 40, Il))), 256)),
|
|
1488
|
-
e.value.style.chart.selector.show && c.value ? (n(), r("line", {
|
|
1489
|
-
key: 0,
|
|
1490
|
-
x1: c.value.selectorX,
|
|
1491
|
-
x2: c.value.selectorX,
|
|
1492
|
-
y1: c.value.y,
|
|
1493
|
-
y2: c.value.y + c.value.height - L.value / 2,
|
|
1494
|
-
stroke: e.value.style.chart.selector.stroke,
|
|
1495
|
-
"stroke-width": e.value.style.chart.selector.strokeWidth,
|
|
1496
|
-
"stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
|
|
1497
|
-
"stroke-linecap": "round",
|
|
1498
|
-
style: { pointerEvents: "none" }
|
|
1499
|
-
}, null, 8, Nl)) : h("", !0),
|
|
1500
|
-
c.value ? (n(!0), r(m, { key: 1 }, O(w.value, (a) => (n(), r(m, null, [
|
|
1501
|
-
(n(!0), r(m, null, O(a.datapoints, (s) => (n(), r(m, null, [
|
|
1502
|
-
(n(!0), r(m, null, O(s.plots, (o, v) => (n(), r(m, null, [
|
|
1503
|
-
c.value && c.value.index === v ? (n(), r("circle", {
|
|
1504
|
-
key: 0,
|
|
1505
|
-
cx: o.x,
|
|
1506
|
-
cy: o.y,
|
|
1507
|
-
stroke: e.value.style.chart.selector.dot.stroke,
|
|
1508
|
-
"stroke-width": e.value.style.chart.selector.dot.strokeWidth,
|
|
1509
|
-
r: e.value.style.chart.selector.dot.radius,
|
|
1510
|
-
fill: e.value.style.chart.selector.dot.useDatapointColor ? s.color : e.value.style.chart.selector.dot.fill,
|
|
1511
|
-
style: {
|
|
1512
|
-
pointerEvents: "none"
|
|
1513
|
-
}
|
|
1514
|
-
}, null, 8, Rl)) : h("", !0),
|
|
1515
|
-
c.value && c.value.index === v ? (n(), r("text", {
|
|
1516
|
-
key: 1,
|
|
1517
|
-
x: vt(
|
|
1518
|
-
o.x,
|
|
1519
|
-
u(xe)(
|
|
1520
|
-
e.value.style.chart.selector.labels.formatter,
|
|
1521
|
-
o.value,
|
|
1522
|
-
u(ke)({
|
|
1523
|
-
p: e.value.style.chart.xAxis.labels.prefix,
|
|
1524
|
-
v: o.value,
|
|
1525
|
-
s: e.value.style.chart.xAxis.labels.suffix,
|
|
1526
|
-
r: e.value.style.chart.selector.labels.rounding
|
|
1527
|
-
})
|
|
1528
|
-
),
|
|
1529
|
-
e.value.style.chart.selector.labels.fontSize
|
|
1530
|
-
) ? o.x - e.value.style.chart.selector.labels.fontSize / 2 : o.x + e.value.style.chart.selector.labels.fontSize / 2,
|
|
1531
|
-
y: o.y + e.value.style.chart.selector.labels.fontSize / 3,
|
|
1532
|
-
"text-anchor": vt(
|
|
1533
|
-
o.x,
|
|
1534
|
-
u(xe)(
|
|
1535
|
-
e.value.style.chart.selector.labels.formatter,
|
|
1536
|
-
o.value,
|
|
1537
|
-
u(ke)({
|
|
1538
|
-
p: e.value.style.chart.xAxis.labels.prefix,
|
|
1539
|
-
v: o.value,
|
|
1540
|
-
s: e.value.style.chart.xAxis.labels.suffix,
|
|
1541
|
-
r: e.value.style.chart.selector.labels.rounding
|
|
1542
|
-
})
|
|
1543
|
-
),
|
|
1544
|
-
e.value.style.chart.selector.labels.fontSize
|
|
1545
|
-
) ? "end" : "start",
|
|
1546
|
-
"font-size": e.value.style.chart.selector.labels.fontSize,
|
|
1547
|
-
fill: e.value.style.chart.selector.labels.color,
|
|
1548
|
-
style: {
|
|
1549
|
-
pointerEvents: "none"
|
|
1550
|
-
}
|
|
1551
|
-
}, B(u(xe)(
|
|
1552
|
-
e.value.style.chart.selector.labels.formatter,
|
|
1553
|
-
o.value,
|
|
1554
|
-
u(ke)({
|
|
1555
|
-
p: e.value.style.chart.xAxis.labels.prefix,
|
|
1556
|
-
v: o.value,
|
|
1557
|
-
s: e.value.style.chart.xAxis.labels.suffix,
|
|
1558
|
-
r: e.value.style.chart.selector.labels.rounding
|
|
1559
|
-
})
|
|
1560
|
-
)), 9, Fl)) : h("", !0)
|
|
1561
|
-
], 64))), 256))
|
|
1562
|
-
], 64))), 256))
|
|
1563
|
-
], 64))), 256)) : h("", !0)
|
|
1564
|
-
]),
|
|
1565
|
-
y(t.$slots, "svg", {
|
|
1566
|
-
svg: {
|
|
1567
|
-
...p.value,
|
|
1568
|
-
isPrintingImg: u(Le) | u(Me) | ve.value,
|
|
1569
|
-
isPrintingSvg: de.value
|
|
1570
|
-
}
|
|
1571
|
-
}, void 0, !0)
|
|
1572
|
-
], 46, hl)),
|
|
1573
|
-
t.$slots.hint ? (n(), r("div", El, [
|
|
1574
|
-
y(t.$slots, "hint", S(T({
|
|
1575
|
-
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1576
|
-
isVisible: Pe.value
|
|
1577
|
-
})), void 0, !0)
|
|
1578
|
-
])) : h("", !0)
|
|
1579
|
-
]),
|
|
1580
|
-
t.$slots.watermark ? (n(), r("div", Xl, [
|
|
1581
|
-
y(t.$slots, "watermark", S(T({
|
|
1582
|
-
isPrinting: u(Le) || u(Me) || ve.value || de.value
|
|
1583
|
-
})), void 0, !0)
|
|
1584
|
-
])) : h("", !0),
|
|
1585
|
-
g("div", {
|
|
1586
|
-
ref_key: "chartLegend",
|
|
1587
|
-
ref: Ke
|
|
1588
|
-
}, [
|
|
1589
|
-
e.value.style.chart.legend.show ? (n(), P(ll, {
|
|
1590
|
-
key: `legend_${Ae.value}`,
|
|
1591
|
-
legendSet: F.value,
|
|
1592
|
-
config: la.value,
|
|
1593
|
-
isCursorPointer: D.value,
|
|
1594
|
-
onClickMarker: l[0] || (l[0] = ({ legend: a }) => fe(a.id))
|
|
1595
|
-
}, Ee({
|
|
1596
|
-
item: f(({ legend: a }) => [
|
|
1597
|
-
u(q) ? h("", !0) : (n(), r("div", {
|
|
1598
|
-
key: 0,
|
|
1599
|
-
style: _(`opacity:${x.value.includes(a.id) ? 0.5 : 1}`),
|
|
1600
|
-
onClick: (s) => a.segregate()
|
|
1601
|
-
}, B(a.name), 13, Bl))
|
|
1602
|
-
]),
|
|
1603
|
-
legendToggle: f(() => [
|
|
1604
|
-
F.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !u(q) ? (n(), P(ul, {
|
|
1605
|
-
key: 0,
|
|
1606
|
-
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1607
|
-
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
1608
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
1609
|
-
checked: x.value.length > 0,
|
|
1610
|
-
isCursorPointer: D.value,
|
|
1611
|
-
onToggle: Kt
|
|
1612
|
-
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : h("", !0)
|
|
1613
|
-
]),
|
|
1614
|
-
_: 2
|
|
1615
|
-
}, [
|
|
1616
|
-
t.$slots.pattern ? {
|
|
1617
|
-
name: "legend-pattern",
|
|
1618
|
-
fn: f(({ legend: a, index: s }) => [
|
|
1619
|
-
Xe(sl, {
|
|
1620
|
-
shape: a.shape,
|
|
1621
|
-
radius: 30,
|
|
1622
|
-
stroke: "none",
|
|
1623
|
-
plot: { x: 30, y: 30 },
|
|
1624
|
-
fill: `url(#pattern_${C.value}_${s})`
|
|
1625
|
-
}, null, 8, ["shape", "fill"])
|
|
1626
|
-
]),
|
|
1627
|
-
key: "0"
|
|
1628
|
-
} : void 0
|
|
1629
|
-
]), 1032, ["legendSet", "config", "isCursorPointer"])) : h("", !0),
|
|
1630
|
-
y(t.$slots, "legend", { legend: F.value }, void 0, !0)
|
|
1631
|
-
], 512),
|
|
1632
|
-
t.$slots.source ? (n(), r("div", {
|
|
1633
|
-
key: 6,
|
|
1634
|
-
ref_key: "source",
|
|
1635
|
-
ref: Ye,
|
|
1636
|
-
dir: "auto"
|
|
1637
|
-
}, [
|
|
1638
|
-
y(t.$slots, "source", {}, void 0, !0)
|
|
1639
|
-
], 512)) : h("", !0),
|
|
1640
|
-
ee.value && e.value.userOptions.buttons.table ? (n(), P(La(se.value.component), Be({ key: 7 }, se.value.props, {
|
|
1641
|
-
ref_key: "tableUnit",
|
|
1642
|
-
ref: te,
|
|
1643
|
-
onClose: gt
|
|
1644
|
-
}), Ee({
|
|
1645
|
-
content: f(() => [
|
|
1646
|
-
(n(), P(u(Nt), {
|
|
1647
|
-
key: `table_${Ut.value}`,
|
|
1648
|
-
colNames: Q.value.colNames,
|
|
1649
|
-
head: Q.value.head,
|
|
1650
|
-
body: Q.value.body,
|
|
1651
|
-
config: Q.value.config,
|
|
1652
|
-
title: e.value.table.useDialog ? "" : se.value.title,
|
|
1653
|
-
withCloseButton: !e.value.table.useDialog,
|
|
1654
|
-
isCursorPointer: D.value,
|
|
1655
|
-
onClose: gt
|
|
1656
|
-
}, {
|
|
1657
|
-
th: f(({ th: a }) => [
|
|
1658
|
-
g("div", { innerHTML: a }, null, 8, Hl)
|
|
1659
|
-
]),
|
|
1660
|
-
td: f(({ td: a }) => [
|
|
1661
|
-
He(B(a.name ? a.name : u(xe)(
|
|
1662
|
-
e.value.style.chart.selector.labels.formatter,
|
|
1663
|
-
a,
|
|
1664
|
-
u(ke)({
|
|
1665
|
-
p: e.value.style.chart.xAxis.labels.prefix,
|
|
1666
|
-
v: a,
|
|
1667
|
-
s: e.value.style.chart.xAxis.labels.suffix,
|
|
1668
|
-
r: e.value.table.td.roundingValue
|
|
1669
|
-
})
|
|
1670
|
-
)), 1)
|
|
1671
|
-
]),
|
|
1672
|
-
_: 1
|
|
1673
|
-
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
|
|
1674
|
-
]),
|
|
1675
|
-
_: 2
|
|
1676
|
-
}, [
|
|
1677
|
-
e.value.table.useDialog ? {
|
|
1678
|
-
name: "title",
|
|
1679
|
-
fn: f(() => [
|
|
1680
|
-
He(B(se.value.title), 1)
|
|
1681
|
-
]),
|
|
1682
|
-
key: "0"
|
|
1683
|
-
} : void 0,
|
|
1684
|
-
e.value.table.useDialog ? {
|
|
1685
|
-
name: "actions",
|
|
1686
|
-
fn: f(() => [
|
|
1687
|
-
g("button", {
|
|
1688
|
-
tabindex: "0",
|
|
1689
|
-
class: "vue-ui-user-options-button",
|
|
1690
|
-
onClick: l[1] || (l[1] = (a) => Re(e.value.userOptions.callbacks.csv)),
|
|
1691
|
-
style: _({ cursor: D.value ? "pointer" : "default" })
|
|
1692
|
-
}, [
|
|
1693
|
-
Xe(u(Dt), {
|
|
1694
|
-
name: "fileCsv",
|
|
1695
|
-
stroke: se.value.props.color
|
|
1696
|
-
}, null, 8, ["stroke"])
|
|
1697
|
-
], 4)
|
|
1698
|
-
]),
|
|
1699
|
-
key: "1"
|
|
1700
|
-
} : void 0
|
|
1701
|
-
]), 1040)) : h("", !0),
|
|
1702
|
-
e.value.style.chart.dialog.show ? (n(), P(u(Ge), {
|
|
1703
|
-
key: 8,
|
|
1704
|
-
ref_key: "dialog",
|
|
1705
|
-
ref: we,
|
|
1706
|
-
onClose: l[2] || (l[2] = (a) => Y.value = null),
|
|
1707
|
-
backgroundColor: e.value.style.chart.dialog.backgroundColor,
|
|
1708
|
-
color: e.value.style.chart.dialog.color,
|
|
1709
|
-
headerBg: e.value.style.chart.dialog.header.backgroundColor,
|
|
1710
|
-
headerColor: e.value.style.chart.dialog.header.color,
|
|
1711
|
-
isFullscreen: G.value,
|
|
1712
|
-
fullscreenParent: z.value,
|
|
1713
|
-
isCursorPointer: D.value,
|
|
1714
|
-
withPadding: ""
|
|
1715
|
-
}, {
|
|
1716
|
-
title: f(() => [
|
|
1717
|
-
He(B(Y.value.name), 1)
|
|
1718
|
-
]),
|
|
1719
|
-
content: f(() => [
|
|
1720
|
-
Y.value ? (n(), P(u(zt), {
|
|
1721
|
-
key: 0,
|
|
1722
|
-
config: ye.value,
|
|
1723
|
-
dataset: ge.value,
|
|
1724
|
-
onCopyAlt: ya
|
|
1725
|
-
}, null, 8, ["config", "dataset"])) : h("", !0)
|
|
1726
|
-
]),
|
|
1727
|
-
_: 1
|
|
1728
|
-
}, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent", "isCursorPointer"])) : h("", !0),
|
|
1729
|
-
y(t.$slots, "skeleton", {}, () => [
|
|
1730
|
-
u(q) ? (n(), P(Ka, { key: 0 })) : h("", !0)
|
|
1731
|
-
], !0)
|
|
1732
|
-
], 46, cl));
|
|
1733
|
-
}
|
|
1734
|
-
}, vo = /* @__PURE__ */ il(Ul, [["__scopeId", "data-v-0073d09e"]]);
|
|
1735
|
-
export {
|
|
1736
|
-
vo as default
|
|
1737
|
-
};
|