vue-data-ui 3.17.13 → 3.18.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.
- package/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-Cj6W6Xbi.js +116 -0
- package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
- package/dist/BaseIcon-CEmt3Ifx.js +499 -0
- package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
- package/dist/ColorPicker-DS_QkH3W.js +255 -0
- package/dist/DataTable-BvDJEAma.js +150 -0
- package/dist/Legend-Gg5Q4Clb.js +114 -0
- package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
- package/dist/PackageVersion-DhDKg-ez.js +11 -0
- package/dist/PenAndPaper-DwpL8Z0l.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-DEGOZ6GG.js +141 -0
- package/dist/Slicer-BlfyiHHD.js +1144 -0
- package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
- package/dist/SparkTooltip-c2DL7gqD.js +93 -0
- package/dist/Title-__gWq2g6.js +87 -0
- package/dist/Tooltip-B7lmdbac.js +307 -0
- package/dist/UserOptions-DMw8EZEo.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-9WSt6hXe.js +237 -0
- package/dist/exposedLib-CwWU4zv-.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-BjOr008R.js +74 -0
- package/dist/labelUtils-Cr97N8E1.js +19 -0
- package/dist/lib-BkiwukKO.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-DSXSFUnK.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 +4775 -627
- 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-dp-3Gg97.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-BV0kTCnO.js +7431 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-Ck4hsrpu.js +10 -0
- package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-X0yWOynH.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-DIh8ayZc.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
- package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
- package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
- package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
- package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
- package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
- package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
- package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
- package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
- package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
- package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
- package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
- package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
- package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
- package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
- package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
- package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
- package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
- package/dist/vue-ui-flow-OK563Z46.js +1223 -0
- package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
- package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
- package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
- package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
- package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
- package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
- package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
- package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
- package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
- package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
- package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
- package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
- package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.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-DLD_ZR9M.js +1966 -0
- package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
- package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
- package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
- package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
- package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
- package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
- package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
- package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
- package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
- package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
- package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
- package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
- package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
- package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
- package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
- package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
- package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
- package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
- package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
- package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
- package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
- package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
- package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
- package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
- package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
- package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
- package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
- package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
- package/dist/vue-ui-world-CEevuFbk.js +14252 -0
- package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
- package/dist/vue-ui-xy-canvas-D2f0d45c.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,1564 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as E, ref as u, shallowRef as ct, computed as h, onMounted as yl, onBeforeUnmount as fl, toRefs as pl, watch as he, watchEffect as gl, openBlock as s, createElementBlock as r, unref as c, normalizeStyle as M, normalizeClass as H, createElementVNode as C, toDisplayString as D, createBlock as F, createCommentVNode as y, renderSlot as f, withCtx as p, normalizeProps as A, guardReactiveProps as S, createSlots as vt, createVNode as Le, Fragment as T, renderList as $, Teleport as xl, resolveDynamicComponent as bl, mergeProps as ml, createTextVNode as dt, nextTick as _e } from "vue";
|
|
2
|
-
import { j as ht, o as yt, q as ft, r as kl, t as pt, n as wl, p as ye, s as Cl, D as gt, k as K, l as G, X as Al, x as Sl, w as Tl, Z as $l, W as Il, a2 as U, m as Ll, a0 as _l, a1 as Pl, T as zl, a3 as Ol } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { t as xt, u as Ml } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Nl } from "./useConfig-CG4HT3wS.js";
|
|
5
|
-
import { u as Dl, B as Fl } from "./BaseScanner-C2j3TsSY.js";
|
|
6
|
-
import { u as Xl } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
-
import { u as Bl } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
-
import { u as Pe } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
-
import { u as Rl } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
-
import { u as El } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
-
import { u as Yl } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
-
import { u as Hl } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
13
|
-
import Ul from "./img-CjTQXS0U.js";
|
|
14
|
-
import Wl from "./Title-BbKoiBk2.js";
|
|
15
|
-
import jl from "./vue_ui_history_plot-BCKk1CrQ.js";
|
|
16
|
-
import Vl from "./Legend-DGN5lY60.js";
|
|
17
|
-
import { A as Kl } from "./A11yDataTable-BpmuNomI.js";
|
|
18
|
-
import { B as Gl } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
19
|
-
import { _ as ql } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
|
-
const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative" } }, ta = ["xmlns", "viewBox", "aria-describedby"], la = ["x", "y", "width", "height"], aa = { key: 1 }, oa = ["id"], sa = ["stop-color"], na = ["stop-color"], ra = ["stop-color"], ia = { key: 2 }, ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = { key: 3 }, va = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], da = ["x", "y", "fill", "font-size"], ha = ["transform", "font-size", "fill", "font-weight"], ya = { key: 6 }, fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pa = { key: 7 }, ga = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], xa = ["transform", "fill", "font-size", "text-anchor"], ba = ["x", "y", "font-size", "fill", "font-weight"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wa = ["d", "stroke", "stroke-width"], Ca = ["d", "stroke", "stroke-width"], Aa = ["cx", "cy", "fill", "r"], Sa = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Ta = { key: 1 }, $a = ["x", "y", "font-size", "fill", "font-weight"], Ia = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], La = { key: 2 }, _a = ["x", "y", "font-size", "font-weight", "fill"], Pa = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], za = {
|
|
21
|
-
key: 0,
|
|
22
|
-
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
23
|
-
"data-dom-to-png-ignore": "",
|
|
24
|
-
"aria-hidden": "true"
|
|
25
|
-
}, Oa = {
|
|
26
|
-
key: 5,
|
|
27
|
-
class: "vue-data-ui-watermark"
|
|
28
|
-
}, Ma = ["id"], Na = ["onClick"], Da = ["innerHTML"], Fa = {
|
|
29
|
-
__name: "vue-ui-history-plot",
|
|
30
|
-
props: {
|
|
31
|
-
config: {
|
|
32
|
-
type: Object,
|
|
33
|
-
default() {
|
|
34
|
-
return {};
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
dataset: {
|
|
38
|
-
type: Array,
|
|
39
|
-
default() {
|
|
40
|
-
return [];
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
emits: ["selectLegend", "selectDatapoint", "copyAlt"],
|
|
45
|
-
setup(bt, { expose: mt, emit: kt }) {
|
|
46
|
-
const wt = E(() => import("./Tooltip-Cvt7Fi0Q.js")), Ct = E(() => import("./BaseIcon-DX0hTWa-.js")), At = E(() => import("./vue-ui-accordion-DFtpH_16.js")), St = E(() => import("./DataTable-cMnb68Ik.js")), Tt = E(
|
|
47
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
48
|
-
), $t = E(
|
|
49
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
50
|
-
), It = E(
|
|
51
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
52
|
-
), Lt = E(
|
|
53
|
-
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
54
|
-
), { vue_ui_history_plot: _t } = Nl(), { isThemeValid: Pt, warnInvalidTheme: zt } = Rl(), L = bt, X = u(null), ze = u(null), Oe = u(0), Me = u(null), Ne = u(0), De = u(0), Fe = u(0), R = ct(null), W = ct(null), Xe = u(null), _ = u(ht()), oe = u(!1), fe = u(""), x = u([]), q = u(!1), P = u(null), Z = u(!1), Be = u(null), Re = u(!1), J = u(null), pe = u(null), se = u(!1), ne = u(!1), ge = u(null), xe = u(null), re = u(null), be = u(null), k = u(null), w = u(null), Ee = u({ x: 0, y: 0 }), ie = u("pointer"), me = u(!1), ue = h({
|
|
55
|
-
get: () => !!L.dataset && L.dataset.length,
|
|
56
|
-
set: (t) => t
|
|
57
|
-
}), ke = kt;
|
|
58
|
-
yl(() => {
|
|
59
|
-
Re.value = !0, He();
|
|
60
|
-
});
|
|
61
|
-
const Ye = h(() => !!e.value.debug);
|
|
62
|
-
function He() {
|
|
63
|
-
if (yt(L.dataset) ? (ft({
|
|
64
|
-
componentName: "VueUiHistoryPlot",
|
|
65
|
-
type: "dataset",
|
|
66
|
-
debug: Ye.value
|
|
67
|
-
}), Ce.value = !0) : L.dataset.forEach((t, a) => {
|
|
68
|
-
kl({
|
|
69
|
-
datasetObject: t,
|
|
70
|
-
requiredAttributes: ["name", "values"]
|
|
71
|
-
}).forEach((l) => {
|
|
72
|
-
ue.value = !1, ft({
|
|
73
|
-
componentName: "VueUiHistoryPlot",
|
|
74
|
-
type: "datasetSerieAttribute",
|
|
75
|
-
property: l,
|
|
76
|
-
index: a,
|
|
77
|
-
debug: Ye.value
|
|
78
|
-
});
|
|
79
|
-
});
|
|
80
|
-
}), yt(L.dataset) || (Ce.value = e.value.loading), e.value.responsive) {
|
|
81
|
-
const t = xt(() => {
|
|
82
|
-
const { width: a, height: l } = Ml({
|
|
83
|
-
chart: X.value,
|
|
84
|
-
title: e.value.style.chart.title.text ? ze.value : null,
|
|
85
|
-
noTitle: Xe.value,
|
|
86
|
-
legend: e.value.style.chart.legend.show ? Me.value : null,
|
|
87
|
-
source: Be.value
|
|
88
|
-
});
|
|
89
|
-
requestAnimationFrame(() => {
|
|
90
|
-
b.value.width = a, b.value.height = l, e.value.responsiveProportionalSizing ? (i.value.plots = U({
|
|
91
|
-
relator: Math.min(a, l),
|
|
92
|
-
adjuster: 600,
|
|
93
|
-
source: e.value.style.chart.plots.radius,
|
|
94
|
-
threshold: 3,
|
|
95
|
-
fallback: 3
|
|
96
|
-
}), i.value.indexLabels = U({
|
|
97
|
-
relator: Math.min(a, l),
|
|
98
|
-
adjuster: 600,
|
|
99
|
-
source: e.value.style.chart.plots.indexLabels.fontSize,
|
|
100
|
-
threshold: 6,
|
|
101
|
-
fallback: 6
|
|
102
|
-
}), i.value.labels = U({
|
|
103
|
-
relator: Math.min(a, l),
|
|
104
|
-
adjuster: 600,
|
|
105
|
-
source: e.value.style.chart.plots.labels.fontSize,
|
|
106
|
-
threshold: 6,
|
|
107
|
-
fallback: 6
|
|
108
|
-
}), i.value.xAxisLabels = U({
|
|
109
|
-
relator: Math.min(a, l),
|
|
110
|
-
adjuster: 600,
|
|
111
|
-
source: e.value.style.chart.axes.x.labels.fontSize,
|
|
112
|
-
threshold: 6,
|
|
113
|
-
fallback: 6
|
|
114
|
-
}), i.value.xAxisName = U({
|
|
115
|
-
relator: Math.min(a, l),
|
|
116
|
-
adjuster: 600,
|
|
117
|
-
source: e.value.style.chart.axes.x.name.fontSize,
|
|
118
|
-
threshold: 6,
|
|
119
|
-
fallback: 6
|
|
120
|
-
}), i.value.yAxisLabels = U({
|
|
121
|
-
relator: Math.min(a, l),
|
|
122
|
-
adjuster: 600,
|
|
123
|
-
source: e.value.style.chart.axes.y.labels.fontSize,
|
|
124
|
-
threshold: 6,
|
|
125
|
-
fallback: 6
|
|
126
|
-
}), i.value.yAxisName = U({
|
|
127
|
-
relator: Math.min(a, l),
|
|
128
|
-
adjuster: 600,
|
|
129
|
-
source: e.value.style.chart.axes.y.name.fontSize,
|
|
130
|
-
threshold: 6,
|
|
131
|
-
fallback: 6
|
|
132
|
-
})) : (i.value.plots = e.value.style.chart.plots.radius, i.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, i.value.labels = e.value.style.chart.plots.labels.fontSize, i.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, i.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, i.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, i.value.yAxisName = e.value.style.chart.axes.y.name.fontSize);
|
|
133
|
-
});
|
|
134
|
-
});
|
|
135
|
-
R.value && (W.value && R.value.unobserve(W.value), R.value.disconnect()), R.value = new ResizeObserver(t), W.value = X.value.parentNode, R.value.observe(W.value);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
fl(() => {
|
|
139
|
-
R.value && (W.value && R.value.unobserve(W.value), R.value.disconnect());
|
|
140
|
-
});
|
|
141
|
-
function we() {
|
|
142
|
-
const t = Pe({
|
|
143
|
-
userConfig: L.config,
|
|
144
|
-
defaultConfig: _t
|
|
145
|
-
});
|
|
146
|
-
let a = {};
|
|
147
|
-
const l = t.theme;
|
|
148
|
-
if (l)
|
|
149
|
-
if (!Pt.value(t))
|
|
150
|
-
zt(t), a = t;
|
|
151
|
-
else {
|
|
152
|
-
const n = Pe({
|
|
153
|
-
userConfig: jl[l] || L.config,
|
|
154
|
-
defaultConfig: t
|
|
155
|
-
});
|
|
156
|
-
a = {
|
|
157
|
-
...Pe({
|
|
158
|
-
userConfig: L.config,
|
|
159
|
-
defaultConfig: n
|
|
160
|
-
}),
|
|
161
|
-
customPalette: t.customPalette.length ? t.customPalette : Ll[l] || ye
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
else
|
|
165
|
-
a = t;
|
|
166
|
-
return a;
|
|
167
|
-
}
|
|
168
|
-
const e = u(we()), j = h(
|
|
169
|
-
() => e.value.userOptions.useCursorPointer
|
|
170
|
-
), Ot = h(() => pt({
|
|
171
|
-
defaultConfig: {
|
|
172
|
-
userOptions: { show: !1 },
|
|
173
|
-
table: { show: !1 },
|
|
174
|
-
style: {
|
|
175
|
-
chart: {
|
|
176
|
-
backgroundColor: "#99999930",
|
|
177
|
-
axes: {
|
|
178
|
-
x: {
|
|
179
|
-
scaleMin: 0,
|
|
180
|
-
scaleMax: 10,
|
|
181
|
-
labels: { show: !1 },
|
|
182
|
-
name: { text: "" }
|
|
183
|
-
},
|
|
184
|
-
y: {
|
|
185
|
-
scaleMin: 0,
|
|
186
|
-
scaleMax: 10,
|
|
187
|
-
labels: { show: !1 },
|
|
188
|
-
name: { text: "" }
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
grid: {
|
|
192
|
-
xAxis: {
|
|
193
|
-
stroke: "#6A6A6A"
|
|
194
|
-
},
|
|
195
|
-
horizontalLines: {
|
|
196
|
-
stroke: "#6A6A6A50"
|
|
197
|
-
},
|
|
198
|
-
yAxis: {
|
|
199
|
-
stroke: "#6A6A6A"
|
|
200
|
-
},
|
|
201
|
-
verticalLines: {
|
|
202
|
-
stroke: "#6A6A6A50"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
legend: {
|
|
206
|
-
backgroundColor: "transparent"
|
|
207
|
-
},
|
|
208
|
-
paths: {
|
|
209
|
-
useSerieColor: !1,
|
|
210
|
-
stroke: "#6A6A6A"
|
|
211
|
-
},
|
|
212
|
-
plots: {
|
|
213
|
-
stroke: "#6A6A6A",
|
|
214
|
-
indexLabels: { show: !1 },
|
|
215
|
-
labels: { show: !1 }
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
userConfig: e.value.skeletonConfig ?? {}
|
|
221
|
-
})), { loading: B, FINAL_DATASET: Mt, manualLoading: Ce } = Dl({
|
|
222
|
-
...pl(L),
|
|
223
|
-
FINAL_CONFIG: e,
|
|
224
|
-
prepareConfig: we,
|
|
225
|
-
skeletonDataset: L.config?.skeletonDataset ?? [
|
|
226
|
-
{
|
|
227
|
-
name: "",
|
|
228
|
-
color: "#CACACA",
|
|
229
|
-
values: [
|
|
230
|
-
{ label: "", x: 1, y: 9 },
|
|
231
|
-
{ label: "", x: 4, y: 1 },
|
|
232
|
-
{ label: "", x: 7, y: 9 },
|
|
233
|
-
{ label: "", x: 9, y: 4 }
|
|
234
|
-
]
|
|
235
|
-
}
|
|
236
|
-
],
|
|
237
|
-
skeletonConfig: pt({
|
|
238
|
-
defaultConfig: e.value,
|
|
239
|
-
userConfig: Ot.value
|
|
240
|
-
})
|
|
241
|
-
}), { userOptionsVisible: Ae, setUserOptionsVisibility: Ue, keepUserOptionState: We } = El({ config: e.value }), { svgRef: Y } = Yl({
|
|
242
|
-
config: e.value.style.chart.title
|
|
243
|
-
});
|
|
244
|
-
he(
|
|
245
|
-
() => L.config,
|
|
246
|
-
(t) => {
|
|
247
|
-
B.value || (e.value = we()), Ae.value = !e.value.userOptions.showOnChartHover, He(), Oe.value += 1, De.value += 1, Ne.value += 1, b.value.height = e.value.style.chart.height, b.value.width = e.value.style.chart.width, i.value.plots = e.value.style.chart.plots.radius, i.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, i.value.labels = e.value.style.chart.plots.labels.fontSize, i.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, i.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, i.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, i.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, z.value.showTable = e.value.table.show, z.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
248
|
-
},
|
|
249
|
-
{ deep: !0 }
|
|
250
|
-
), he(
|
|
251
|
-
() => L.dataset,
|
|
252
|
-
(t) => {
|
|
253
|
-
Array.isArray(t) && t.length > 0 && (Ce.value = !1);
|
|
254
|
-
},
|
|
255
|
-
{ deep: !0 }
|
|
256
|
-
);
|
|
257
|
-
const { isPrinting: Se, isImaging: Te, generatePdf: je, generateImage: Ve } = Xl({
|
|
258
|
-
elementId: `history_plot_${_.value}`,
|
|
259
|
-
fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
|
|
260
|
-
options: e.value.userOptions.print
|
|
261
|
-
}), Nt = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Dt = h(() => wl(e.value.customPalette)), z = u({
|
|
262
|
-
showTable: e.value.table.show,
|
|
263
|
-
showTooltip: e.value.style.chart.tooltip.show
|
|
264
|
-
});
|
|
265
|
-
he(
|
|
266
|
-
e,
|
|
267
|
-
() => {
|
|
268
|
-
z.value = {
|
|
269
|
-
showTable: e.value.table.show,
|
|
270
|
-
showTooltip: e.value.style.chart.tooltip.show
|
|
271
|
-
};
|
|
272
|
-
},
|
|
273
|
-
{ immediate: !0 }
|
|
274
|
-
);
|
|
275
|
-
const b = u({
|
|
276
|
-
height: e.value.style.chart.height,
|
|
277
|
-
width: e.value.style.chart.width
|
|
278
|
-
}), Ft = h(() => b.value.width), Xt = h(() => b.value.height);
|
|
279
|
-
function Bt() {
|
|
280
|
-
let t = 0;
|
|
281
|
-
be.value && (t = Array.from(be.value.querySelectorAll("text")).reduce((n, o) => {
|
|
282
|
-
const d = o.getComputedTextLength();
|
|
283
|
-
return d > n ? d : n;
|
|
284
|
-
}, 0));
|
|
285
|
-
const a = xe.value ? xe.value.getBoundingClientRect().width : 0;
|
|
286
|
-
return t + a + (a ? 24 : 0);
|
|
287
|
-
}
|
|
288
|
-
const Ke = u(0), Rt = xt((t) => {
|
|
289
|
-
Ke.value = t;
|
|
290
|
-
});
|
|
291
|
-
gl((t) => {
|
|
292
|
-
const a = re.value;
|
|
293
|
-
if (!a) return;
|
|
294
|
-
const l = new ResizeObserver((n) => {
|
|
295
|
-
Rt(n[0].contentRect.height);
|
|
296
|
-
});
|
|
297
|
-
l.observe(a), t(() => l.disconnect());
|
|
298
|
-
});
|
|
299
|
-
const Ge = h(() => {
|
|
300
|
-
let t = 0;
|
|
301
|
-
ge.value && (t = ge.value.getBBox().height + i.value.xAxisName / 2);
|
|
302
|
-
let a = 0;
|
|
303
|
-
return re.value && (a = Ke.value), t + a;
|
|
304
|
-
}), v = h(() => {
|
|
305
|
-
const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = Bt(), n = e.value.style.chart.plots.radius;
|
|
306
|
-
return {
|
|
307
|
-
left: t + l + e.value.style.chart.axes.y.name.offsetX,
|
|
308
|
-
top: a + n,
|
|
309
|
-
right: b.value.width - e.value.style.chart.padding.right - n - e.value.style.chart.axes.y.name.offsetX,
|
|
310
|
-
bottom: b.value.height - e.value.style.chart.padding.bottom - Ge.value - n - e.value.style.chart.axes.x.name.offsetY,
|
|
311
|
-
width: b.value.width - t - e.value.style.chart.padding.right - l - n - e.value.style.chart.axes.y.name.offsetX,
|
|
312
|
-
height: b.value.height - a - e.value.style.chart.padding.bottom - Ge.value - n * 2 - e.value.style.chart.axes.x.name.offsetY
|
|
313
|
-
};
|
|
314
|
-
}), i = u({
|
|
315
|
-
plots: e.value.style.chart.plots.radius,
|
|
316
|
-
indexLabels: e.value.style.chart.plots.indexLabels.fontSize,
|
|
317
|
-
labels: e.value.style.chart.plots.labels.fontSize,
|
|
318
|
-
xAxisLabels: e.value.style.chart.axes.x.labels.fontSize,
|
|
319
|
-
xAxisName: e.value.style.chart.axes.x.name.fontSize,
|
|
320
|
-
yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
|
|
321
|
-
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
322
|
-
}), N = h(() => Mt.value.map((t, a) => ({
|
|
323
|
-
...t,
|
|
324
|
-
color: t.color ? Cl(t.color) : Dt.value[a] || ye[a] || ye[a % ye.length],
|
|
325
|
-
seriesIndex: a
|
|
326
|
-
}))), Et = h(() => Math.max(
|
|
327
|
-
...N.value.filter((t) => !x.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))
|
|
328
|
-
)), Yt = h(() => {
|
|
329
|
-
const t = Math.min(
|
|
330
|
-
...N.value.filter((a) => !x.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x))
|
|
331
|
-
);
|
|
332
|
-
return t < 0 ? t : 0;
|
|
333
|
-
}), Ht = h(() => Math.max(
|
|
334
|
-
...N.value.filter((t) => !x.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))
|
|
335
|
-
)), Ut = h(() => {
|
|
336
|
-
const t = Math.min(
|
|
337
|
-
...N.value.filter((a) => !x.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y))
|
|
338
|
-
);
|
|
339
|
-
return t < 0 ? t : 0;
|
|
340
|
-
}), m = h(() => {
|
|
341
|
-
const t = gt(
|
|
342
|
-
e.value.style.chart.axes.x.scaleMin ?? Yt.value,
|
|
343
|
-
e.value.style.chart.axes.x.scaleMax ?? Et.value,
|
|
344
|
-
e.value.style.chart.axes.x.ticks
|
|
345
|
-
), a = gt(
|
|
346
|
-
e.value.style.chart.axes.y.scaleMin ?? Ut.value,
|
|
347
|
-
e.value.style.chart.axes.y.scaleMax ?? Ht.value,
|
|
348
|
-
e.value.style.chart.axes.y.ticks
|
|
349
|
-
);
|
|
350
|
-
return {
|
|
351
|
-
x: t,
|
|
352
|
-
y: a,
|
|
353
|
-
tickX: t.ticks.map((l) => ({
|
|
354
|
-
x: v.value.left + (l - t.min) / (t.max - t.min) * v.value.width,
|
|
355
|
-
y1: v.value.top,
|
|
356
|
-
y2: v.value.bottom,
|
|
357
|
-
value: l
|
|
358
|
-
})),
|
|
359
|
-
tickY: a.ticks.map((l) => ({
|
|
360
|
-
y: v.value.bottom - (l - a.min) / (a.max - a.min) * v.value.height,
|
|
361
|
-
x1: v.value.left,
|
|
362
|
-
x2: v.value.right,
|
|
363
|
-
value: l
|
|
364
|
-
}))
|
|
365
|
-
};
|
|
366
|
-
});
|
|
367
|
-
function Wt(t) {
|
|
368
|
-
const a = m.value.x.min < 0 ? Math.abs(m.value.x.min) : m.value.x.min > 0 ? -m.value.x.min : 0;
|
|
369
|
-
return v.value.left + ((t || 0) + a) / (m.value.x.max + a) * v.value.width;
|
|
370
|
-
}
|
|
371
|
-
function jt(t) {
|
|
372
|
-
const a = m.value.y.min < 0 ? Math.abs(m.value.y.min) : m.value.y.min > 0 ? -m.value.y.min : 0;
|
|
373
|
-
return v.value.bottom - ((t || 0) + a) / (m.value.y.max + a) * v.value.height;
|
|
374
|
-
}
|
|
375
|
-
const g = h(() => N.value.filter((t) => !x.value.includes(t.seriesIndex)).map((t, a) => {
|
|
376
|
-
const l = t.values.map((o, d) => ({
|
|
377
|
-
valueX: o.x,
|
|
378
|
-
valueY: o.y,
|
|
379
|
-
label: o.label,
|
|
380
|
-
x: Wt(o.x),
|
|
381
|
-
y: jt(o.y),
|
|
382
|
-
color: t.color,
|
|
383
|
-
seriesName: t.name,
|
|
384
|
-
id: ht()
|
|
385
|
-
})), n = l.map((o) => `${o.x},${o.y} `).join("").trim();
|
|
386
|
-
return {
|
|
387
|
-
...t,
|
|
388
|
-
plots: l,
|
|
389
|
-
path: `M${n}`
|
|
390
|
-
};
|
|
391
|
-
}));
|
|
392
|
-
function Vt() {
|
|
393
|
-
x.value.length ? x.value = [] : Q.value.forEach((t) => {
|
|
394
|
-
x.value.push(t.seriesIndex);
|
|
395
|
-
});
|
|
396
|
-
}
|
|
397
|
-
function ce(t) {
|
|
398
|
-
x.value.includes(t) ? x.value = x.value.filter((a) => a !== t) : x.value.push(t);
|
|
399
|
-
}
|
|
400
|
-
function qe(t) {
|
|
401
|
-
if (!N.value.length)
|
|
402
|
-
return e.value.debug && console.warn("VueUiHistoryPlot - There are no series to show."), null;
|
|
403
|
-
const a = N.value.find((l) => l.name === t);
|
|
404
|
-
return a || (e.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${t}"`), null);
|
|
405
|
-
}
|
|
406
|
-
function Kt(t) {
|
|
407
|
-
const a = qe(t);
|
|
408
|
-
a !== null && x.value.includes(a.seriesIndex) && ce(a.seriesIndex);
|
|
409
|
-
}
|
|
410
|
-
function Gt(t) {
|
|
411
|
-
const a = qe(t);
|
|
412
|
-
a !== null && (x.value.includes(a.seriesIndex) || ce(a.seriesIndex));
|
|
413
|
-
}
|
|
414
|
-
const Q = h(() => N.value.map((t) => ({
|
|
415
|
-
...t,
|
|
416
|
-
opacity: x.value.includes(t.seriesIndex) ? 0.5 : 1,
|
|
417
|
-
segregate: () => ce(t.seriesIndex),
|
|
418
|
-
isSegregated: x.value.includes(t.seriesIndex),
|
|
419
|
-
shape: "circle"
|
|
420
|
-
}))), qt = h(() => ({
|
|
421
|
-
cy: "history-plot-div-legend",
|
|
422
|
-
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
423
|
-
color: e.value.style.chart.legend.color,
|
|
424
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
425
|
-
paddingBottom: 12,
|
|
426
|
-
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
427
|
-
}));
|
|
428
|
-
function Ze({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
429
|
-
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
430
|
-
datapoint: { ...t, plotIndex: a, seriesIndex: l },
|
|
431
|
-
seriesIndex: l
|
|
432
|
-
}), ke("selectDatapoint", t);
|
|
433
|
-
}
|
|
434
|
-
function Je(t) {
|
|
435
|
-
ke("selectLegend", {
|
|
436
|
-
...t,
|
|
437
|
-
isSegregated: !t.isSegregated,
|
|
438
|
-
opacity: t.isSegregated ? 1 : 0.5
|
|
439
|
-
});
|
|
440
|
-
}
|
|
441
|
-
function Qe(t) {
|
|
442
|
-
q.value = t, Fe.value += 1;
|
|
443
|
-
}
|
|
444
|
-
const ve = u(null);
|
|
445
|
-
function et({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
446
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
447
|
-
datapoint: { ...t, plotIndex: a, seriesIndex: l },
|
|
448
|
-
seriesIndex: l
|
|
449
|
-
}), !(ie.value === "keyboard" && k.value === l && w.value === a) && (oe.value = !1, P.value = null);
|
|
450
|
-
}
|
|
451
|
-
function Zt(t, a) {
|
|
452
|
-
if (!Y.value) return;
|
|
453
|
-
const l = g.value.find(
|
|
454
|
-
(d) => d.seriesIndex === t
|
|
455
|
-
);
|
|
456
|
-
if (!l) return;
|
|
457
|
-
const n = l.plots[a];
|
|
458
|
-
if (!n) return;
|
|
459
|
-
const o = Ol(n.x, n.y, Y.value);
|
|
460
|
-
o && (Ee.value = o);
|
|
461
|
-
}
|
|
462
|
-
function tt({
|
|
463
|
-
datapoint: t,
|
|
464
|
-
plotIndex: a,
|
|
465
|
-
seriesIndex: l,
|
|
466
|
-
triggerMode: n = "pointer"
|
|
467
|
-
}) {
|
|
468
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
469
|
-
datapoint: { ...t, plotIndex: a, seriesIndex: l },
|
|
470
|
-
seriesIndex: l
|
|
471
|
-
}), k.value = l, w.value = a, ie.value = n, ve.value = {
|
|
472
|
-
datapoint: t,
|
|
473
|
-
seriesIndex: l,
|
|
474
|
-
plotIndex: a,
|
|
475
|
-
config: e.value,
|
|
476
|
-
series: N.value
|
|
477
|
-
}, P.value = t;
|
|
478
|
-
const o = e.value.style.chart.tooltip.customFormat;
|
|
479
|
-
if (Z.value = !1, zl(o))
|
|
480
|
-
try {
|
|
481
|
-
const d = o({
|
|
482
|
-
seriesIndex: l,
|
|
483
|
-
datapoint: t,
|
|
484
|
-
plotIndex: a,
|
|
485
|
-
series: N.value,
|
|
486
|
-
config: e.value
|
|
487
|
-
});
|
|
488
|
-
typeof d == "string" && (fe.value = d, Z.value = !0);
|
|
489
|
-
} catch {
|
|
490
|
-
console.warn("Custom format cannot be applied."), Z.value = !1;
|
|
491
|
-
}
|
|
492
|
-
if (!Z.value) {
|
|
493
|
-
let d = "";
|
|
494
|
-
d += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, d += `<div>${t.label}</div>`, d += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${K(
|
|
495
|
-
e.value.style.chart.axes.x.labels.formatter,
|
|
496
|
-
t.valueX,
|
|
497
|
-
G({
|
|
498
|
-
p: e.value.style.chart.axes.x.labels.prefix,
|
|
499
|
-
v: t.valueX,
|
|
500
|
-
s: e.value.style.chart.axes.x.labels.suffix,
|
|
501
|
-
r: e.value.style.chart.axes.x.labels.rounding
|
|
502
|
-
})
|
|
503
|
-
)}</div>`, d += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${K(
|
|
504
|
-
e.value.style.chart.axes.y.labels.formatter,
|
|
505
|
-
t.valueY,
|
|
506
|
-
G({
|
|
507
|
-
p: e.value.style.chart.axes.y.labels.prefix,
|
|
508
|
-
v: t.valueY,
|
|
509
|
-
s: e.value.style.chart.axes.y.labels.suffix,
|
|
510
|
-
r: e.value.style.chart.axes.y.labels.rounding
|
|
511
|
-
})
|
|
512
|
-
)}</div>`, fe.value = `<div>${d}</div>`;
|
|
513
|
-
}
|
|
514
|
-
oe.value = !0, n === "keyboard" && _e(() => {
|
|
515
|
-
Zt(l, a);
|
|
516
|
-
});
|
|
517
|
-
}
|
|
518
|
-
h(() => ({ head: g.value.map((a) => ({
|
|
519
|
-
name: a.name,
|
|
520
|
-
color: a.color
|
|
521
|
-
})) }));
|
|
522
|
-
const V = h(() => {
|
|
523
|
-
const t = [
|
|
524
|
-
e.value.table.columnNames.series,
|
|
525
|
-
e.value.table.columnNames.datapoint,
|
|
526
|
-
e.value.table.columnNames.x,
|
|
527
|
-
e.value.table.columnNames.y
|
|
528
|
-
], a = g.value.flatMap((n) => n.plots.map((o) => [
|
|
529
|
-
{
|
|
530
|
-
color: o.color,
|
|
531
|
-
name: o.seriesName
|
|
532
|
-
},
|
|
533
|
-
o.label,
|
|
534
|
-
K(
|
|
535
|
-
e.value.style.chart.axes.x.labels.formatter,
|
|
536
|
-
o.valueX,
|
|
537
|
-
G({
|
|
538
|
-
p: e.value.style.chart.axes.x.labels.prefix,
|
|
539
|
-
v: o.valueX,
|
|
540
|
-
s: e.value.style.chart.axes.x.labels.suffix,
|
|
541
|
-
r: e.value.style.chart.axes.x.labels.rounding
|
|
542
|
-
})
|
|
543
|
-
),
|
|
544
|
-
K(
|
|
545
|
-
e.value.style.chart.axes.y.labels.formatter,
|
|
546
|
-
o.valueY,
|
|
547
|
-
G({
|
|
548
|
-
p: e.value.style.chart.axes.y.labels.prefix,
|
|
549
|
-
v: o.valueY,
|
|
550
|
-
s: e.value.style.chart.axes.y.labels.suffix,
|
|
551
|
-
r: e.value.style.chart.axes.y.labels.rounding
|
|
552
|
-
})
|
|
553
|
-
)
|
|
554
|
-
])), l = {
|
|
555
|
-
th: {
|
|
556
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
557
|
-
color: e.value.table.th.color,
|
|
558
|
-
outline: e.value.table.th.outline
|
|
559
|
-
},
|
|
560
|
-
td: {
|
|
561
|
-
backgroundColor: e.value.table.td.backgroundColor,
|
|
562
|
-
color: e.value.table.td.color,
|
|
563
|
-
outline: e.value.table.td.outline
|
|
564
|
-
},
|
|
565
|
-
breakpoint: e.value.table.responsiveBreakpoint
|
|
566
|
-
};
|
|
567
|
-
return {
|
|
568
|
-
head: t,
|
|
569
|
-
body: a,
|
|
570
|
-
config: l,
|
|
571
|
-
colNames: t
|
|
572
|
-
};
|
|
573
|
-
});
|
|
574
|
-
function $e(t = null) {
|
|
575
|
-
_e(() => {
|
|
576
|
-
const a = [
|
|
577
|
-
[e.value.table.columnNames.series],
|
|
578
|
-
[e.value.table.columnNames.datapoint],
|
|
579
|
-
[e.value.table.columnNames.x],
|
|
580
|
-
[e.value.table.columnNames.y]
|
|
581
|
-
], l = g.value.flatMap((d) => d.plots.map((I) => [[I.seriesName], [I.label], [I.valueX], [I.valueY]])), n = [
|
|
582
|
-
[e.value.style.chart.title.text],
|
|
583
|
-
[e.value.style.chart.title.subtitle.text],
|
|
584
|
-
a
|
|
585
|
-
].concat(l), o = _l(n);
|
|
586
|
-
t ? t(o) : Pl({
|
|
587
|
-
csvContent: o,
|
|
588
|
-
title: e.value.style.chart.title.text || "vue-ui-history-plot"
|
|
589
|
-
});
|
|
590
|
-
});
|
|
591
|
-
}
|
|
592
|
-
const ee = u(!1);
|
|
593
|
-
function Ie() {
|
|
594
|
-
ee.value = !ee.value;
|
|
595
|
-
}
|
|
596
|
-
function lt() {
|
|
597
|
-
z.value.showTable = !z.value.showTable;
|
|
598
|
-
}
|
|
599
|
-
function at() {
|
|
600
|
-
z.value.showTooltip = !z.value.showTooltip;
|
|
601
|
-
}
|
|
602
|
-
function Jt() {
|
|
603
|
-
return g.value;
|
|
604
|
-
}
|
|
605
|
-
async function Qt({ scale: t = 2 } = {}) {
|
|
606
|
-
if (!X.value) return;
|
|
607
|
-
const { width: a, height: l } = X.value.getBoundingClientRect(), n = a / l, { imageUri: o, base64: d } = await Ul({
|
|
608
|
-
domElement: X.value,
|
|
609
|
-
base64: !0,
|
|
610
|
-
img: !0,
|
|
611
|
-
scale: t
|
|
612
|
-
});
|
|
613
|
-
return {
|
|
614
|
-
imageUri: o,
|
|
615
|
-
base64: d,
|
|
616
|
-
title: e.value.style.chart.title.text,
|
|
617
|
-
width: a,
|
|
618
|
-
height: l,
|
|
619
|
-
aspectRatio: n
|
|
620
|
-
};
|
|
621
|
-
}
|
|
622
|
-
const el = h(() => m.value.tickX), tl = h(() => ({
|
|
623
|
-
start: 0,
|
|
624
|
-
end: m.value.tickX.length
|
|
625
|
-
}));
|
|
626
|
-
Hl({
|
|
627
|
-
timeLabelsEls: re,
|
|
628
|
-
timeLabels: el,
|
|
629
|
-
slicer: tl,
|
|
630
|
-
configRef: e,
|
|
631
|
-
rotationPath: ["style", "chart", "axes", "x", "labels", "rotation"],
|
|
632
|
-
autoRotatePath: [
|
|
633
|
-
"style",
|
|
634
|
-
"chart",
|
|
635
|
-
"axes",
|
|
636
|
-
"x",
|
|
637
|
-
"labels",
|
|
638
|
-
"autoRotate",
|
|
639
|
-
"enable"
|
|
640
|
-
],
|
|
641
|
-
isAutoSize: !1,
|
|
642
|
-
width: Ft,
|
|
643
|
-
height: Xt,
|
|
644
|
-
targetClass: ".vue-ui-history-plot-x-axis-scale",
|
|
645
|
-
rotation: e.value.style.chart.axes.x.labels.autoRotate.angle
|
|
646
|
-
});
|
|
647
|
-
const te = h(() => {
|
|
648
|
-
const t = e.value.table.useDialog && !e.value.table.show, a = z.value.showTable;
|
|
649
|
-
return {
|
|
650
|
-
component: t ? Lt : At,
|
|
651
|
-
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
652
|
-
props: t ? {
|
|
653
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
654
|
-
color: e.value.table.th.color,
|
|
655
|
-
headerColor: e.value.table.th.color,
|
|
656
|
-
headerBg: e.value.table.th.backgroundColor,
|
|
657
|
-
isFullscreen: q.value,
|
|
658
|
-
fullscreenParent: X.value,
|
|
659
|
-
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
660
|
-
} : {
|
|
661
|
-
hideDetails: !0,
|
|
662
|
-
config: {
|
|
663
|
-
open: a,
|
|
664
|
-
maxHeight: 1e4,
|
|
665
|
-
body: {
|
|
666
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
667
|
-
color: e.value.style.chart.color
|
|
668
|
-
},
|
|
669
|
-
head: {
|
|
670
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
671
|
-
color: e.value.style.chart.color
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
};
|
|
676
|
-
});
|
|
677
|
-
he(
|
|
678
|
-
() => z.value.showTable,
|
|
679
|
-
(t) => {
|
|
680
|
-
e.value.table.show || (t && e.value.table.useDialog && J.value ? J.value.open() : "close" in J.value && J.value.close());
|
|
681
|
-
}
|
|
682
|
-
);
|
|
683
|
-
function ot() {
|
|
684
|
-
z.value.showTable = !1, pe.value && pe.value.setTableIconState(!1);
|
|
685
|
-
}
|
|
686
|
-
const ll = h(() => e.value.style.chart.backgroundColor), al = h(() => e.value.style.chart.legend), ol = h(() => e.value.style.chart.title), { exportSvg: sl, getSvg: nl } = Bl({
|
|
687
|
-
svg: Y,
|
|
688
|
-
title: ol,
|
|
689
|
-
legend: al,
|
|
690
|
-
legendItems: Q,
|
|
691
|
-
backgroundColor: ll
|
|
692
|
-
});
|
|
693
|
-
async function st({ isCb: t }) {
|
|
694
|
-
ne.value = !0, await _e();
|
|
695
|
-
try {
|
|
696
|
-
if (t) {
|
|
697
|
-
const { blob: a, url: l, text: n, dataUrl: o } = await nl();
|
|
698
|
-
await Promise.resolve(
|
|
699
|
-
e.value.userOptions.callbacks.svg({
|
|
700
|
-
blob: a,
|
|
701
|
-
url: l,
|
|
702
|
-
text: n,
|
|
703
|
-
dataUrl: o
|
|
704
|
-
})
|
|
705
|
-
);
|
|
706
|
-
} else
|
|
707
|
-
await Promise.resolve(sl());
|
|
708
|
-
} finally {
|
|
709
|
-
ne.value = !1;
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
function rl(t) {
|
|
713
|
-
if (t?.stage === "start") {
|
|
714
|
-
se.value = !0;
|
|
715
|
-
return;
|
|
716
|
-
}
|
|
717
|
-
if (t?.stage === "end") {
|
|
718
|
-
se.value = !1;
|
|
719
|
-
return;
|
|
720
|
-
}
|
|
721
|
-
Ve();
|
|
722
|
-
}
|
|
723
|
-
async function nt() {
|
|
724
|
-
if (ke("copyAlt", {
|
|
725
|
-
config: e.value,
|
|
726
|
-
dataset: g.value
|
|
727
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
728
|
-
console.warn(
|
|
729
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
730
|
-
);
|
|
731
|
-
return;
|
|
732
|
-
}
|
|
733
|
-
await Promise.resolve(
|
|
734
|
-
e.value.userOptions.callbacks.altCopy({
|
|
735
|
-
config: e.value,
|
|
736
|
-
dataset: g.value
|
|
737
|
-
})
|
|
738
|
-
);
|
|
739
|
-
}
|
|
740
|
-
const le = h(() => ({
|
|
741
|
-
head: V.value.head,
|
|
742
|
-
body: V.value.body.map((t) => [
|
|
743
|
-
t[0]?.name || "",
|
|
744
|
-
t[1],
|
|
745
|
-
t[2],
|
|
746
|
-
t[3]
|
|
747
|
-
]),
|
|
748
|
-
caption: e.value.a11y.translations.tableCaption,
|
|
749
|
-
notice: e.value.a11y.translations.tableAvailable
|
|
750
|
-
}));
|
|
751
|
-
function il(t) {
|
|
752
|
-
return g.value.findIndex(
|
|
753
|
-
(a) => a.seriesIndex === t
|
|
754
|
-
);
|
|
755
|
-
}
|
|
756
|
-
function rt() {
|
|
757
|
-
if (k.value !== null && w.value !== null) {
|
|
758
|
-
const a = g.value.find(
|
|
759
|
-
(l) => l.seriesIndex === k.value
|
|
760
|
-
)?.plots?.[w.value];
|
|
761
|
-
a && et({
|
|
762
|
-
datapoint: a,
|
|
763
|
-
plotIndex: w.value,
|
|
764
|
-
seriesIndex: k.value
|
|
765
|
-
});
|
|
766
|
-
}
|
|
767
|
-
k.value = null, w.value = null, ie.value = "pointer", oe.value = !1, P.value = null;
|
|
768
|
-
}
|
|
769
|
-
function ul() {
|
|
770
|
-
k.value = null, w.value = null, me.value = !0;
|
|
771
|
-
}
|
|
772
|
-
function cl() {
|
|
773
|
-
rt(), me.value = !1;
|
|
774
|
-
}
|
|
775
|
-
function vl(t, a) {
|
|
776
|
-
if (!t?.plots?.length) return null;
|
|
777
|
-
const l = t.plots.length;
|
|
778
|
-
return (a % l + l) % l;
|
|
779
|
-
}
|
|
780
|
-
function de({ seriesIndex: t, plotIndex: a, direction: l }) {
|
|
781
|
-
if (!g.value.length) return null;
|
|
782
|
-
const n = il(t);
|
|
783
|
-
if (n === -1) return null;
|
|
784
|
-
if (l === "up" || l === "down") {
|
|
785
|
-
const o = g.value[n];
|
|
786
|
-
if (!o?.plots?.length) return null;
|
|
787
|
-
const I = vl(o, a + (l === "up" ? -1 : 1));
|
|
788
|
-
return {
|
|
789
|
-
seriesIndex: o.seriesIndex,
|
|
790
|
-
plotIndex: I
|
|
791
|
-
};
|
|
792
|
-
}
|
|
793
|
-
if (l === "left" || l === "right") {
|
|
794
|
-
const d = ((n + (l === "left" ? -1 : 1)) % g.value.length + g.value.length) % g.value.length, I = g.value[d];
|
|
795
|
-
if (!I?.plots?.length) return null;
|
|
796
|
-
const O = Math.min(a, I.plots.length - 1);
|
|
797
|
-
return {
|
|
798
|
-
seriesIndex: I.seriesIndex,
|
|
799
|
-
plotIndex: O
|
|
800
|
-
};
|
|
801
|
-
}
|
|
802
|
-
return null;
|
|
803
|
-
}
|
|
804
|
-
function dl(t) {
|
|
805
|
-
if (!Y.value || ee.value || document.activeElement !== Y.value || !g.value.length) return;
|
|
806
|
-
const a = t.key === "ArrowLeft", l = t.key === "ArrowRight", n = t.key === "ArrowUp", o = t.key === "ArrowDown", d = t.key === "Enter" || t.key === " ", I = t.key === "Escape";
|
|
807
|
-
if (!a && !l && !n && !o && !d && !I)
|
|
808
|
-
return;
|
|
809
|
-
if (t.preventDefault(), t.stopPropagation(), I) {
|
|
810
|
-
rt();
|
|
811
|
-
return;
|
|
812
|
-
}
|
|
813
|
-
if (d) {
|
|
814
|
-
if (k.value === null || w.value === null)
|
|
815
|
-
return;
|
|
816
|
-
const ut = g.value.find(
|
|
817
|
-
(hl) => hl.seriesIndex === k.value
|
|
818
|
-
)?.plots?.[w.value];
|
|
819
|
-
if (!ut) return;
|
|
820
|
-
Ze({
|
|
821
|
-
datapoint: ut,
|
|
822
|
-
plotIndex: w.value,
|
|
823
|
-
seriesIndex: k.value
|
|
824
|
-
});
|
|
825
|
-
return;
|
|
826
|
-
}
|
|
827
|
-
let O = null;
|
|
828
|
-
if (k.value === null || w.value === null) {
|
|
829
|
-
const ae = g.value[0];
|
|
830
|
-
if (!ae?.plots?.length) return;
|
|
831
|
-
O = {
|
|
832
|
-
seriesIndex: ae.seriesIndex,
|
|
833
|
-
plotIndex: 0
|
|
834
|
-
};
|
|
835
|
-
} else n ? O = de({
|
|
836
|
-
seriesIndex: k.value,
|
|
837
|
-
plotIndex: w.value,
|
|
838
|
-
direction: "up"
|
|
839
|
-
}) : o ? O = de({
|
|
840
|
-
seriesIndex: k.value,
|
|
841
|
-
plotIndex: w.value,
|
|
842
|
-
direction: "down"
|
|
843
|
-
}) : a ? O = de({
|
|
844
|
-
seriesIndex: k.value,
|
|
845
|
-
plotIndex: w.value,
|
|
846
|
-
direction: "left"
|
|
847
|
-
}) : l && (O = de({
|
|
848
|
-
seriesIndex: k.value,
|
|
849
|
-
plotIndex: w.value,
|
|
850
|
-
direction: "right"
|
|
851
|
-
}));
|
|
852
|
-
if (!O) return;
|
|
853
|
-
const it = g.value.find(
|
|
854
|
-
(ae) => ae.seriesIndex === O.seriesIndex
|
|
855
|
-
)?.plots?.[O.plotIndex];
|
|
856
|
-
it && tt({
|
|
857
|
-
datapoint: it,
|
|
858
|
-
plotIndex: O.plotIndex,
|
|
859
|
-
seriesIndex: O.seriesIndex,
|
|
860
|
-
triggerMode: "keyboard"
|
|
861
|
-
});
|
|
862
|
-
}
|
|
863
|
-
return mt({
|
|
864
|
-
getData: Jt,
|
|
865
|
-
getImage: Qt,
|
|
866
|
-
generatePdf: je,
|
|
867
|
-
generateCsv: $e,
|
|
868
|
-
generateImage: Ve,
|
|
869
|
-
generateSvg: st,
|
|
870
|
-
hideSeries: Gt,
|
|
871
|
-
showSeries: Kt,
|
|
872
|
-
toggleTable: lt,
|
|
873
|
-
toggleTooltip: at,
|
|
874
|
-
toggleAnnotator: Ie,
|
|
875
|
-
toggleFullscreen: Qe,
|
|
876
|
-
copyAlt: nt
|
|
877
|
-
}), (t, a) => (s(), r("div", {
|
|
878
|
-
id: `history_plot_${_.value}`,
|
|
879
|
-
ref_key: "historyPlotChart",
|
|
880
|
-
ref: X,
|
|
881
|
-
class: H({
|
|
882
|
-
"vue-data-ui-component": !0,
|
|
883
|
-
"vue-ui-history-plot": !0,
|
|
884
|
-
"vue-data-ui-wrapper-fullscreen": q.value
|
|
885
|
-
}),
|
|
886
|
-
style: M(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
887
|
-
onMouseenter: a[2] || (a[2] = () => c(Ue)(!0)),
|
|
888
|
-
onMouseleave: a[3] || (a[3] = () => c(Ue)(!1))
|
|
889
|
-
}, [
|
|
890
|
-
C("div", {
|
|
891
|
-
id: `chart-instructions-${_.value}`,
|
|
892
|
-
class: "sr-only"
|
|
893
|
-
}, [
|
|
894
|
-
C("p", null, D(e.value.a11y.translations.keyboardNavigation), 1)
|
|
895
|
-
], 8, Jl),
|
|
896
|
-
le.value.body.length ? (s(), F(Kl, {
|
|
897
|
-
key: 0,
|
|
898
|
-
uid: _.value,
|
|
899
|
-
head: le.value.head,
|
|
900
|
-
body: le.value.body,
|
|
901
|
-
caption: le.value.caption,
|
|
902
|
-
notice: le.value.notice
|
|
903
|
-
}, null, 8, ["uid", "head", "body", "caption", "notice"])) : y("", !0),
|
|
904
|
-
f(t.$slots, "userConfig", {}, void 0, !0),
|
|
905
|
-
e.value.userOptions.buttons.annotator ? (s(), F(c(Tt), {
|
|
906
|
-
key: 1,
|
|
907
|
-
svgRef: c(Y),
|
|
908
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
909
|
-
color: e.value.style.chart.color,
|
|
910
|
-
active: ee.value,
|
|
911
|
-
isCursorPointer: j.value,
|
|
912
|
-
onClose: Ie
|
|
913
|
-
}, {
|
|
914
|
-
"annotator-action-close": p(() => [
|
|
915
|
-
f(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
916
|
-
]),
|
|
917
|
-
"annotator-action-color": p(({ color: l }) => [
|
|
918
|
-
f(t.$slots, "annotator-action-color", A(S({ color: l })), void 0, !0)
|
|
919
|
-
]),
|
|
920
|
-
"annotator-action-draw": p(({ mode: l }) => [
|
|
921
|
-
f(t.$slots, "annotator-action-draw", A(S({ mode: l })), void 0, !0)
|
|
922
|
-
]),
|
|
923
|
-
"annotator-action-undo": p(({ disabled: l }) => [
|
|
924
|
-
f(t.$slots, "annotator-action-undo", A(S({ disabled: l })), void 0, !0)
|
|
925
|
-
]),
|
|
926
|
-
"annotator-action-redo": p(({ disabled: l }) => [
|
|
927
|
-
f(t.$slots, "annotator-action-redo", A(S({ disabled: l })), void 0, !0)
|
|
928
|
-
]),
|
|
929
|
-
"annotator-action-delete": p(({ disabled: l }) => [
|
|
930
|
-
f(t.$slots, "annotator-action-delete", A(S({ disabled: l })), void 0, !0)
|
|
931
|
-
]),
|
|
932
|
-
_: 3
|
|
933
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : y("", !0),
|
|
934
|
-
Nt.value ? (s(), r("div", {
|
|
935
|
-
key: 2,
|
|
936
|
-
ref_key: "noTitle",
|
|
937
|
-
ref: Xe,
|
|
938
|
-
class: "vue-data-ui-no-title-space",
|
|
939
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
940
|
-
}, null, 512)) : y("", !0),
|
|
941
|
-
e.value.style.chart.title.text ? (s(), r("div", {
|
|
942
|
-
key: 3,
|
|
943
|
-
ref_key: "chartTitle",
|
|
944
|
-
ref: ze,
|
|
945
|
-
class: "vue-ui-xy-title",
|
|
946
|
-
style: M(`font-family:${e.value.style.fontFamily}`)
|
|
947
|
-
}, [
|
|
948
|
-
(s(), F(Wl, {
|
|
949
|
-
key: `title_${Oe.value}`,
|
|
950
|
-
config: {
|
|
951
|
-
title: {
|
|
952
|
-
cy: "history-plot-div-title",
|
|
953
|
-
...e.value.style.chart.title
|
|
954
|
-
},
|
|
955
|
-
subtitle: {
|
|
956
|
-
cy: "history-plot-div-subtitle",
|
|
957
|
-
...e.value.style.chart.title.subtitle
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
}, null, 8, ["config"]))
|
|
961
|
-
], 4)) : y("", !0),
|
|
962
|
-
C("div", {
|
|
963
|
-
id: `legend-top-${_.value}`
|
|
964
|
-
}, null, 8, Ql),
|
|
965
|
-
e.value.userOptions.show && ue.value && (c(We) || c(Ae)) ? (s(), F(c($t), {
|
|
966
|
-
ref_key: "userOptionsRef",
|
|
967
|
-
ref: pe,
|
|
968
|
-
key: `user_option_${Fe.value}`,
|
|
969
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
970
|
-
color: e.value.style.chart.color,
|
|
971
|
-
isPrinting: c(Se),
|
|
972
|
-
isImaging: c(Te),
|
|
973
|
-
uid: _.value,
|
|
974
|
-
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
975
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
976
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
977
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
978
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
979
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
980
|
-
hasLabel: !1,
|
|
981
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
982
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
983
|
-
isFullscreen: q.value,
|
|
984
|
-
chartElement: X.value,
|
|
985
|
-
position: e.value.userOptions.position,
|
|
986
|
-
isTooltip: z.value.showTooltip,
|
|
987
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
988
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
989
|
-
isAnnotation: ee.value,
|
|
990
|
-
callbacks: e.value.userOptions.callbacks,
|
|
991
|
-
printScale: e.value.userOptions.print.scale,
|
|
992
|
-
tableDialog: e.value.table.useDialog,
|
|
993
|
-
isCursorPointer: j.value,
|
|
994
|
-
onToggleFullscreen: Qe,
|
|
995
|
-
onGeneratePdf: c(je),
|
|
996
|
-
onGenerateCsv: $e,
|
|
997
|
-
onGenerateImage: rl,
|
|
998
|
-
onGenerateSvg: st,
|
|
999
|
-
onToggleTable: lt,
|
|
1000
|
-
onToggleTooltip: at,
|
|
1001
|
-
onToggleAnnotator: Ie,
|
|
1002
|
-
onCopyAlt: nt,
|
|
1003
|
-
style: M({
|
|
1004
|
-
visibility: c(We) ? c(Ae) ? "visible" : "hidden" : "visible"
|
|
1005
|
-
})
|
|
1006
|
-
}, vt({ _: 2 }, [
|
|
1007
|
-
t.$slots.menuIcon ? {
|
|
1008
|
-
name: "menuIcon",
|
|
1009
|
-
fn: p(({ isOpen: l, color: n }) => [
|
|
1010
|
-
f(t.$slots, "menuIcon", A(S({ isOpen: l, color: n })), void 0, !0)
|
|
1011
|
-
]),
|
|
1012
|
-
key: "0"
|
|
1013
|
-
} : void 0,
|
|
1014
|
-
t.$slots.optionTooltip ? {
|
|
1015
|
-
name: "optionTooltip",
|
|
1016
|
-
fn: p(() => [
|
|
1017
|
-
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
1018
|
-
]),
|
|
1019
|
-
key: "1"
|
|
1020
|
-
} : void 0,
|
|
1021
|
-
t.$slots.optionPdf ? {
|
|
1022
|
-
name: "optionPdf",
|
|
1023
|
-
fn: p(() => [
|
|
1024
|
-
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
1025
|
-
]),
|
|
1026
|
-
key: "2"
|
|
1027
|
-
} : void 0,
|
|
1028
|
-
t.$slots.optionCsv ? {
|
|
1029
|
-
name: "optionCsv",
|
|
1030
|
-
fn: p(() => [
|
|
1031
|
-
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
1032
|
-
]),
|
|
1033
|
-
key: "3"
|
|
1034
|
-
} : void 0,
|
|
1035
|
-
t.$slots.optionImg ? {
|
|
1036
|
-
name: "optionImg",
|
|
1037
|
-
fn: p(() => [
|
|
1038
|
-
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
1039
|
-
]),
|
|
1040
|
-
key: "4"
|
|
1041
|
-
} : void 0,
|
|
1042
|
-
t.$slots.optionSvg ? {
|
|
1043
|
-
name: "optionSvg",
|
|
1044
|
-
fn: p(() => [
|
|
1045
|
-
f(t.$slots, "optionSvg", {}, void 0, !0)
|
|
1046
|
-
]),
|
|
1047
|
-
key: "5"
|
|
1048
|
-
} : void 0,
|
|
1049
|
-
t.$slots.optionTable ? {
|
|
1050
|
-
name: "optionTable",
|
|
1051
|
-
fn: p(() => [
|
|
1052
|
-
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
1053
|
-
]),
|
|
1054
|
-
key: "6"
|
|
1055
|
-
} : void 0,
|
|
1056
|
-
t.$slots.optionFullscreen ? {
|
|
1057
|
-
name: "optionFullscreen",
|
|
1058
|
-
fn: p(({ toggleFullscreen: l, isFullscreen: n }) => [
|
|
1059
|
-
f(t.$slots, "optionFullscreen", A(S({ toggleFullscreen: l, isFullscreen: n })), void 0, !0)
|
|
1060
|
-
]),
|
|
1061
|
-
key: "7"
|
|
1062
|
-
} : void 0,
|
|
1063
|
-
t.$slots.optionAnnotator ? {
|
|
1064
|
-
name: "optionAnnotator",
|
|
1065
|
-
fn: p(({ toggleAnnotator: l, isAnnotator: n }) => [
|
|
1066
|
-
f(t.$slots, "optionAnnotator", A(S({ toggleAnnotator: l, isAnnotator: n })), void 0, !0)
|
|
1067
|
-
]),
|
|
1068
|
-
key: "8"
|
|
1069
|
-
} : void 0,
|
|
1070
|
-
t.$slots.optionAltCopy ? {
|
|
1071
|
-
name: "optionAltCopy",
|
|
1072
|
-
fn: p(({ altCopy: l }) => [
|
|
1073
|
-
f(t.$slots, "optionAltCopy", A(S({ altCopy: l })), void 0, !0)
|
|
1074
|
-
]),
|
|
1075
|
-
key: "9"
|
|
1076
|
-
} : void 0
|
|
1077
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : y("", !0),
|
|
1078
|
-
C("div", ea, [
|
|
1079
|
-
(s(), r("svg", {
|
|
1080
|
-
ref_key: "svgRef",
|
|
1081
|
-
ref: Y,
|
|
1082
|
-
xmlns: c(Al),
|
|
1083
|
-
viewBox: `0 0 ${b.value.width < 0 ? 0.1 : b.value.width} ${b.value.height < 0 ? 0.1 : b.value.height}`,
|
|
1084
|
-
style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
|
|
1085
|
-
"aria-describedby": `chart-instructions-${_.value}`,
|
|
1086
|
-
tabindex: "0",
|
|
1087
|
-
onFocus: ul,
|
|
1088
|
-
onBlur: cl,
|
|
1089
|
-
onKeydown: dl
|
|
1090
|
-
}, [
|
|
1091
|
-
Le(c(It)),
|
|
1092
|
-
t.$slots["chart-background"] ? (s(), r("foreignObject", {
|
|
1093
|
-
key: 0,
|
|
1094
|
-
x: v.value.left,
|
|
1095
|
-
y: v.value.top,
|
|
1096
|
-
width: v.value.width <= 0 ? 10 : v.value.width,
|
|
1097
|
-
height: v.value.height <= 0 ? 10 : v.value.height,
|
|
1098
|
-
style: {
|
|
1099
|
-
pointerEvents: "none"
|
|
1100
|
-
}
|
|
1101
|
-
}, [
|
|
1102
|
-
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
1103
|
-
], 8, la)) : y("", !0),
|
|
1104
|
-
e.value.style.chart.plots.gradient.show ? (s(), r("defs", aa, [
|
|
1105
|
-
(s(!0), r(T, null, $(g.value, (l, n) => (s(), r("radialGradient", {
|
|
1106
|
-
id: `gradient_${n}_${_.value}`,
|
|
1107
|
-
fy: "30%"
|
|
1108
|
-
}, [
|
|
1109
|
-
C("stop", {
|
|
1110
|
-
offset: "10%",
|
|
1111
|
-
"stop-color": c(Sl)(
|
|
1112
|
-
l.color,
|
|
1113
|
-
e.value.style.chart.plots.gradient.intensity / 100
|
|
1114
|
-
)
|
|
1115
|
-
}, null, 8, sa),
|
|
1116
|
-
C("stop", {
|
|
1117
|
-
offset: "90%",
|
|
1118
|
-
"stop-color": c(Tl)(l.color, 0.1)
|
|
1119
|
-
}, null, 8, na),
|
|
1120
|
-
C("stop", {
|
|
1121
|
-
offset: "100%",
|
|
1122
|
-
"stop-color": l.color
|
|
1123
|
-
}, null, 8, ra)
|
|
1124
|
-
], 8, oa))), 256))
|
|
1125
|
-
])) : y("", !0),
|
|
1126
|
-
e.value.style.chart.grid.verticalLines.show ? (s(), r("g", ia, [
|
|
1127
|
-
(s(!0), r(T, null, $(m.value.tickX, (l) => (s(), r("line", {
|
|
1128
|
-
x1: l.x,
|
|
1129
|
-
x2: l.x,
|
|
1130
|
-
y1: l.y1,
|
|
1131
|
-
y2: l.y2,
|
|
1132
|
-
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
1133
|
-
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
1134
|
-
"stroke-linecap": "round"
|
|
1135
|
-
}, null, 8, ua))), 256))
|
|
1136
|
-
])) : y("", !0),
|
|
1137
|
-
e.value.style.chart.axes.y.labels.show ? (s(), r("g", ca, [
|
|
1138
|
-
(s(!0), r(T, null, $(m.value.tickY, (l) => (s(), r("line", {
|
|
1139
|
-
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
1140
|
-
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
1141
|
-
"stroke-linecap": "round",
|
|
1142
|
-
x1: v.value.left - 5,
|
|
1143
|
-
x2: v.value.left,
|
|
1144
|
-
y1: l.y,
|
|
1145
|
-
y2: l.y
|
|
1146
|
-
}, null, 8, va))), 256))
|
|
1147
|
-
])) : y("", !0),
|
|
1148
|
-
e.value.style.chart.axes.y.labels.show ? (s(), r("g", {
|
|
1149
|
-
key: 4,
|
|
1150
|
-
ref_key: "yAxisScales",
|
|
1151
|
-
ref: be
|
|
1152
|
-
}, [
|
|
1153
|
-
(s(!0), r(T, null, $(m.value.tickY, (l) => (s(), r("text", {
|
|
1154
|
-
x: v.value.left + e.value.style.chart.axes.y.labels.offsetX - 4 - e.value.style.chart.plots.radius,
|
|
1155
|
-
y: l.y + i.value.yAxisLabels / 3,
|
|
1156
|
-
fill: e.value.style.chart.axes.y.labels.color,
|
|
1157
|
-
"font-size": i.value.yAxisLabels,
|
|
1158
|
-
"text-anchor": "end"
|
|
1159
|
-
}, D(c(K)(
|
|
1160
|
-
e.value.style.chart.axes.y.labels.formatter,
|
|
1161
|
-
l.value,
|
|
1162
|
-
c(G)({
|
|
1163
|
-
p: e.value.style.chart.axes.y.labels.prefix,
|
|
1164
|
-
v: l.value,
|
|
1165
|
-
s: e.value.style.chart.axes.y.labels.suffix,
|
|
1166
|
-
r: e.value.style.chart.axes.y.labels.rounding
|
|
1167
|
-
})
|
|
1168
|
-
)), 9, da))), 256))
|
|
1169
|
-
], 512)) : y("", !0),
|
|
1170
|
-
e.value.style.chart.axes.y.name.text ? (s(), r("text", {
|
|
1171
|
-
key: 5,
|
|
1172
|
-
ref_key: "yAxisLabel",
|
|
1173
|
-
ref: xe,
|
|
1174
|
-
transform: `translate(${i.value.yAxisName}, ${b.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
|
|
1175
|
-
"font-size": i.value.yAxisName,
|
|
1176
|
-
fill: e.value.style.chart.axes.y.name.color,
|
|
1177
|
-
"font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
|
|
1178
|
-
"text-anchor": "middle"
|
|
1179
|
-
}, D(e.value.style.chart.axes.y.name.text), 9, ha)) : y("", !0),
|
|
1180
|
-
e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", ya, [
|
|
1181
|
-
(s(!0), r(T, null, $(m.value.tickY, (l) => (s(), r("line", {
|
|
1182
|
-
x1: l.x1,
|
|
1183
|
-
x2: l.x2,
|
|
1184
|
-
y1: l.y,
|
|
1185
|
-
y2: l.y,
|
|
1186
|
-
stroke: e.value.style.chart.grid.horizontalLines.stroke,
|
|
1187
|
-
"stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
|
|
1188
|
-
"stroke-linecap": "round"
|
|
1189
|
-
}, null, 8, fa))), 256))
|
|
1190
|
-
])) : y("", !0),
|
|
1191
|
-
e.value.style.chart.axes.x.labels.show ? (s(), r("g", pa, [
|
|
1192
|
-
(s(!0), r(T, null, $(m.value.tickX, (l) => (s(), r("line", {
|
|
1193
|
-
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
1194
|
-
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
1195
|
-
"stroke-linecap": "round",
|
|
1196
|
-
x1: l.x,
|
|
1197
|
-
x2: l.x,
|
|
1198
|
-
y1: v.value.bottom,
|
|
1199
|
-
y2: v.value.bottom + 5
|
|
1200
|
-
}, null, 8, ga))), 256))
|
|
1201
|
-
])) : y("", !0),
|
|
1202
|
-
e.value.style.chart.axes.x.labels.show ? (s(), r("g", {
|
|
1203
|
-
key: 8,
|
|
1204
|
-
ref_key: "xAxisScales",
|
|
1205
|
-
ref: re
|
|
1206
|
-
}, [
|
|
1207
|
-
(s(!0), r(T, null, $(m.value.tickX, (l) => (s(), r("text", {
|
|
1208
|
-
class: "vue-ui-history-plot-x-axis-scale",
|
|
1209
|
-
transform: `translate(${l.x}, ${v.value.bottom + e.value.style.chart.axes.x.labels.offsetY + i.value.xAxisLabels + e.value.style.chart.plots.radius}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
|
|
1210
|
-
fill: e.value.style.chart.axes.x.labels.color,
|
|
1211
|
-
"font-size": i.value.xAxisLabels,
|
|
1212
|
-
"text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
|
|
1213
|
-
}, D(c(K)(
|
|
1214
|
-
e.value.style.chart.axes.x.labels.formatter,
|
|
1215
|
-
l.value,
|
|
1216
|
-
c(G)({
|
|
1217
|
-
p: e.value.style.chart.axes.x.labels.prefix,
|
|
1218
|
-
v: l.value,
|
|
1219
|
-
s: e.value.style.chart.axes.x.labels.suffix,
|
|
1220
|
-
r: e.value.style.chart.axes.x.labels.rounding
|
|
1221
|
-
})
|
|
1222
|
-
)), 9, xa))), 256))
|
|
1223
|
-
], 512)) : y("", !0),
|
|
1224
|
-
e.value.style.chart.axes.x.name.text ? (s(), r("text", {
|
|
1225
|
-
key: 9,
|
|
1226
|
-
ref_key: "xAxisLabel",
|
|
1227
|
-
ref: ge,
|
|
1228
|
-
x: b.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
|
|
1229
|
-
y: b.value.height,
|
|
1230
|
-
"font-size": i.value.xAxisName,
|
|
1231
|
-
fill: e.value.style.chart.axes.x.name.color,
|
|
1232
|
-
"font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
|
|
1233
|
-
"text-anchor": "middle"
|
|
1234
|
-
}, D(e.value.style.chart.axes.x.name.text), 9, ba)) : y("", !0),
|
|
1235
|
-
e.value.style.chart.grid.xAxis.show ? (s(), r("line", {
|
|
1236
|
-
key: 10,
|
|
1237
|
-
x1: v.value.left,
|
|
1238
|
-
x2: v.value.left + v.value.width,
|
|
1239
|
-
y1: v.value.bottom,
|
|
1240
|
-
y2: v.value.bottom,
|
|
1241
|
-
stroke: e.value.style.chart.grid.xAxis.stroke,
|
|
1242
|
-
"stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
|
|
1243
|
-
"stroke-linecap": "round"
|
|
1244
|
-
}, null, 8, ma)) : y("", !0),
|
|
1245
|
-
e.value.style.chart.grid.yAxis.show ? (s(), r("line", {
|
|
1246
|
-
key: 11,
|
|
1247
|
-
x1: v.value.left,
|
|
1248
|
-
x2: v.value.left,
|
|
1249
|
-
y1: v.value.top,
|
|
1250
|
-
y2: v.value.bottom,
|
|
1251
|
-
stroke: e.value.style.chart.grid.yAxis.stroke,
|
|
1252
|
-
"stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
|
|
1253
|
-
"stroke-linecap": "round"
|
|
1254
|
-
}, null, 8, ka)) : y("", !0),
|
|
1255
|
-
(s(!0), r(T, null, $(g.value, (l, n) => (s(), r("g", null, [
|
|
1256
|
-
e.value.style.chart.paths.show ? (s(), r("g", {
|
|
1257
|
-
key: 0,
|
|
1258
|
-
style: M({
|
|
1259
|
-
opacity: P.value === null ? 1 : 0.3
|
|
1260
|
-
})
|
|
1261
|
-
}, [
|
|
1262
|
-
C("path", {
|
|
1263
|
-
d: l.path,
|
|
1264
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
1265
|
-
"stroke-width": e.value.style.chart.paths.strokeWidth + 4,
|
|
1266
|
-
fill: "none",
|
|
1267
|
-
"stroke-linecap": "round",
|
|
1268
|
-
"stroke-linejoin": "round",
|
|
1269
|
-
class: H({
|
|
1270
|
-
animated: e.value.useCssAnimation && !c(B)
|
|
1271
|
-
})
|
|
1272
|
-
}, null, 10, wa),
|
|
1273
|
-
C("path", {
|
|
1274
|
-
d: l.path,
|
|
1275
|
-
stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
|
|
1276
|
-
"stroke-width": e.value.style.chart.paths.strokeWidth,
|
|
1277
|
-
fill: "none",
|
|
1278
|
-
"stroke-linecap": "round",
|
|
1279
|
-
"stroke-linejoin": "round",
|
|
1280
|
-
class: H({
|
|
1281
|
-
animated: e.value.useCssAnimation && !c(B)
|
|
1282
|
-
})
|
|
1283
|
-
}, null, 10, Ca)
|
|
1284
|
-
], 4)) : y("", !0),
|
|
1285
|
-
(s(!0), r(T, null, $(l.plots, (o) => (s(), r("circle", {
|
|
1286
|
-
cx: o.x,
|
|
1287
|
-
cy: o.y,
|
|
1288
|
-
fill: e.value.style.chart.backgroundColor,
|
|
1289
|
-
r: i.value.plots,
|
|
1290
|
-
stroke: "none"
|
|
1291
|
-
}, null, 8, Aa))), 256)),
|
|
1292
|
-
(s(!0), r(T, null, $(l.plots, (o) => (s(), r("circle", {
|
|
1293
|
-
cx: o.x,
|
|
1294
|
-
cy: o.y,
|
|
1295
|
-
fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${_.value})` : o.color,
|
|
1296
|
-
r: i.value.plots,
|
|
1297
|
-
stroke: e.value.style.chart.plots.stroke,
|
|
1298
|
-
"stroke-width": e.value.style.chart.plots.strokeWidth,
|
|
1299
|
-
class: H({
|
|
1300
|
-
animated: e.value.useCssAnimation && !c(B)
|
|
1301
|
-
}),
|
|
1302
|
-
style: M({
|
|
1303
|
-
opacity: P.value === null || P.value.id === o.id ? 1 : 0.3,
|
|
1304
|
-
transition: "opacity 0.2s ease-in-out"
|
|
1305
|
-
})
|
|
1306
|
-
}, null, 14, Sa))), 256)),
|
|
1307
|
-
e.value.style.chart.plots.labels.show ? (s(), r("g", Ta, [
|
|
1308
|
-
(s(!0), r(T, null, $(l.plots, (o) => (s(), r("g", null, [
|
|
1309
|
-
String(o.label).includes(`
|
|
1310
|
-
`) ? (s(), r("text", {
|
|
1311
|
-
key: 1,
|
|
1312
|
-
x: o.x + e.value.style.chart.plots.labels.offsetX,
|
|
1313
|
-
y: o.y + e.value.style.chart.plots.labels.offsetY + i.value.plots + i.value.labels,
|
|
1314
|
-
"font-size": i.value.labels,
|
|
1315
|
-
fill: e.value.style.chart.plots.labels.color,
|
|
1316
|
-
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
1317
|
-
"text-anchor": "middle",
|
|
1318
|
-
class: H({
|
|
1319
|
-
animated: e.value.useCssAnimation && !c(B)
|
|
1320
|
-
}),
|
|
1321
|
-
style: M({
|
|
1322
|
-
opacity: P.value === null || P.value.id === o.id ? 1 : 0.3,
|
|
1323
|
-
transition: "opacity 0.2s ease-in-out"
|
|
1324
|
-
}),
|
|
1325
|
-
innerHTML: c($l)({
|
|
1326
|
-
content: String(o.label),
|
|
1327
|
-
fontSize: i.value.labels,
|
|
1328
|
-
fill: e.value.style.chart.plots.labels.color,
|
|
1329
|
-
x: o.x + e.value.style.chart.plots.labels.offsetX,
|
|
1330
|
-
y: o.y + e.value.style.chart.plots.labels.offsetY + i.value.plots + i.value.labels
|
|
1331
|
-
})
|
|
1332
|
-
}, null, 14, Ia)) : (s(), r("text", {
|
|
1333
|
-
key: 0,
|
|
1334
|
-
x: o.x + e.value.style.chart.plots.labels.offsetX,
|
|
1335
|
-
y: o.y + e.value.style.chart.plots.labels.offsetY + i.value.plots + i.value.labels,
|
|
1336
|
-
"font-size": i.value.labels,
|
|
1337
|
-
fill: e.value.style.chart.plots.labels.color,
|
|
1338
|
-
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
1339
|
-
"text-anchor": "middle",
|
|
1340
|
-
class: H({
|
|
1341
|
-
animated: e.value.useCssAnimation && !c(B)
|
|
1342
|
-
}),
|
|
1343
|
-
style: M({
|
|
1344
|
-
opacity: P.value === null || P.value.id === o.id ? 1 : 0.3,
|
|
1345
|
-
transition: "opacity 0.2s ease-in-out"
|
|
1346
|
-
})
|
|
1347
|
-
}, D(o.label), 15, $a))
|
|
1348
|
-
]))), 256))
|
|
1349
|
-
])) : y("", !0),
|
|
1350
|
-
e.value.style.chart.plots.indexLabels.show ? (s(), r("g", La, [
|
|
1351
|
-
(s(!0), r(T, null, $(l.plots, (o, d) => (s(), r("text", {
|
|
1352
|
-
x: o.x + e.value.style.chart.plots.indexLabels.offsetX,
|
|
1353
|
-
y: o.y + e.value.style.chart.plots.indexLabels.offsetY + i.value.indexLabels / 3,
|
|
1354
|
-
"font-size": i.value.indexLabels,
|
|
1355
|
-
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
1356
|
-
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? c(Il)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
1357
|
-
"text-anchor": "middle",
|
|
1358
|
-
class: H({
|
|
1359
|
-
animated: e.value.useCssAnimation && !c(B)
|
|
1360
|
-
}),
|
|
1361
|
-
style: M({
|
|
1362
|
-
opacity: P.value === null || P.value.id === o.id ? 1 : 0.3,
|
|
1363
|
-
transition: "opacity 0.2s ease-in-out"
|
|
1364
|
-
})
|
|
1365
|
-
}, D(e.value.style.chart.plots.indexLabels.startAtZero ? d : d + 1), 15, _a))), 256))
|
|
1366
|
-
])) : y("", !0)
|
|
1367
|
-
]))), 256)),
|
|
1368
|
-
(s(!0), r(T, null, $(g.value, (l) => (s(), r("g", null, [
|
|
1369
|
-
(s(!0), r(T, null, $(l.plots, (n, o) => (s(), r("circle", {
|
|
1370
|
-
cx: n.x,
|
|
1371
|
-
cy: n.y,
|
|
1372
|
-
fill: "transparent",
|
|
1373
|
-
r: i.value.plots,
|
|
1374
|
-
stroke: "none",
|
|
1375
|
-
onMouseenter: (d) => tt({
|
|
1376
|
-
datapoint: n,
|
|
1377
|
-
plotIndex: o,
|
|
1378
|
-
seriesIndex: l.seriesIndex,
|
|
1379
|
-
triggerMode: "pointer"
|
|
1380
|
-
}),
|
|
1381
|
-
onMouseleave: (d) => et({
|
|
1382
|
-
datapoint: n,
|
|
1383
|
-
plotIndex: o,
|
|
1384
|
-
seriesIndex: l.seriesIndex
|
|
1385
|
-
}),
|
|
1386
|
-
onClick: (d) => Ze({
|
|
1387
|
-
datapoint: n,
|
|
1388
|
-
plotIndex: o,
|
|
1389
|
-
seriesIndex: l.seriesIndex
|
|
1390
|
-
})
|
|
1391
|
-
}, null, 40, Pa))), 256))
|
|
1392
|
-
]))), 256)),
|
|
1393
|
-
f(t.$slots, "svg", {
|
|
1394
|
-
svg: {
|
|
1395
|
-
...b.value,
|
|
1396
|
-
isPrintingImg: c(Se) | c(Te) | se.value,
|
|
1397
|
-
isPrintingSvg: ne.value
|
|
1398
|
-
}
|
|
1399
|
-
}, void 0, !0)
|
|
1400
|
-
], 44, ta)),
|
|
1401
|
-
t.$slots.hint ? (s(), r("div", za, [
|
|
1402
|
-
f(t.$slots, "hint", A(S({
|
|
1403
|
-
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1404
|
-
isVisible: me.value
|
|
1405
|
-
})), void 0, !0)
|
|
1406
|
-
])) : y("", !0)
|
|
1407
|
-
]),
|
|
1408
|
-
t.$slots.watermark ? (s(), r("div", Oa, [
|
|
1409
|
-
f(t.$slots, "watermark", A(S({
|
|
1410
|
-
isPrinting: c(Se) || c(Te) || se.value || ne.value
|
|
1411
|
-
})), void 0, !0)
|
|
1412
|
-
])) : y("", !0),
|
|
1413
|
-
C("div", {
|
|
1414
|
-
id: `legend-bottom-${_.value}`
|
|
1415
|
-
}, null, 8, Ma),
|
|
1416
|
-
Re.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (s(), F(xl, {
|
|
1417
|
-
key: 6,
|
|
1418
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${_.value}` : `#legend-bottom-${_.value}`
|
|
1419
|
-
}, [
|
|
1420
|
-
C("div", {
|
|
1421
|
-
ref_key: "chartLegend",
|
|
1422
|
-
ref: Me
|
|
1423
|
-
}, [
|
|
1424
|
-
f(t.$slots, "legend", { legend: Q.value }, () => [
|
|
1425
|
-
e.value.style.chart.legend.show && ue.value ? (s(), F(Vl, {
|
|
1426
|
-
key: `legend_${Ne.value}`,
|
|
1427
|
-
legendSet: Q.value,
|
|
1428
|
-
config: qt.value,
|
|
1429
|
-
isCursorPointer: j.value,
|
|
1430
|
-
onClickMarker: a[0] || (a[0] = ({ legend: l }) => {
|
|
1431
|
-
ce(l.seriesIndex), Je(l);
|
|
1432
|
-
})
|
|
1433
|
-
}, {
|
|
1434
|
-
item: p(({ legend: l, index: n }) => [
|
|
1435
|
-
C("div", {
|
|
1436
|
-
onClick: (o) => {
|
|
1437
|
-
l.segregate(), Je(l);
|
|
1438
|
-
},
|
|
1439
|
-
style: M(`opacity:${x.value.includes(l.seriesIndex) ? 0.5 : 1}`)
|
|
1440
|
-
}, D(l.name), 13, Na)
|
|
1441
|
-
]),
|
|
1442
|
-
legendToggle: p(() => [
|
|
1443
|
-
Q.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !c(B) ? (s(), F(Gl, {
|
|
1444
|
-
key: 0,
|
|
1445
|
-
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1446
|
-
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
1447
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
1448
|
-
checked: x.value.length > 0,
|
|
1449
|
-
isCursorPointer: j.value,
|
|
1450
|
-
onToggle: Vt
|
|
1451
|
-
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : y("", !0)
|
|
1452
|
-
]),
|
|
1453
|
-
_: 1
|
|
1454
|
-
}, 8, ["legendSet", "config", "isCursorPointer"])) : y("", !0)
|
|
1455
|
-
], !0)
|
|
1456
|
-
], 512)
|
|
1457
|
-
], 8, ["to"])) : y("", !0),
|
|
1458
|
-
t.$slots.source ? (s(), r("div", {
|
|
1459
|
-
key: 7,
|
|
1460
|
-
ref_key: "source",
|
|
1461
|
-
ref: Be,
|
|
1462
|
-
dir: "auto"
|
|
1463
|
-
}, [
|
|
1464
|
-
f(t.$slots, "source", {}, void 0, !0)
|
|
1465
|
-
], 512)) : y("", !0),
|
|
1466
|
-
Le(c(wt), {
|
|
1467
|
-
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1468
|
-
show: z.value.showTooltip && oe.value,
|
|
1469
|
-
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1470
|
-
color: e.value.style.chart.tooltip.color,
|
|
1471
|
-
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
1472
|
-
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
1473
|
-
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
1474
|
-
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
1475
|
-
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1476
|
-
position: e.value.style.chart.tooltip.position,
|
|
1477
|
-
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1478
|
-
parent: X.value,
|
|
1479
|
-
content: fe.value,
|
|
1480
|
-
isCustom: Z.value,
|
|
1481
|
-
isFullscreen: q.value,
|
|
1482
|
-
smooth: e.value.style.chart.tooltip.smooth,
|
|
1483
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
1484
|
-
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1485
|
-
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1486
|
-
isA11yMode: ie.value === "keyboard",
|
|
1487
|
-
a11yPosition: Ee.value
|
|
1488
|
-
}, {
|
|
1489
|
-
"tooltip-before": p(() => [
|
|
1490
|
-
f(t.$slots, "tooltip-before", A(S({ ...ve.value })), void 0, !0)
|
|
1491
|
-
]),
|
|
1492
|
-
tooltip: p(() => [
|
|
1493
|
-
f(t.$slots, "tooltip", A(S({ ...ve.value })), void 0, !0)
|
|
1494
|
-
]),
|
|
1495
|
-
"tooltip-after": p(() => [
|
|
1496
|
-
f(t.$slots, "tooltip-after", A(S({ ...ve.value })), void 0, !0)
|
|
1497
|
-
]),
|
|
1498
|
-
_: 3
|
|
1499
|
-
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
1500
|
-
ue.value && e.value.userOptions.buttons.table ? (s(), F(bl(te.value.component), ml({ key: 8 }, te.value.props, {
|
|
1501
|
-
ref_key: "tableUnit",
|
|
1502
|
-
ref: J,
|
|
1503
|
-
onClose: ot
|
|
1504
|
-
}), vt({
|
|
1505
|
-
content: p(() => [
|
|
1506
|
-
(s(), F(c(St), {
|
|
1507
|
-
key: `table_${De.value}`,
|
|
1508
|
-
colNames: V.value.colNames,
|
|
1509
|
-
head: V.value.head,
|
|
1510
|
-
body: V.value.body,
|
|
1511
|
-
config: V.value.config,
|
|
1512
|
-
title: e.value.table.useDialog ? "" : te.value.title,
|
|
1513
|
-
withCloseButton: !e.value.table.useDialog,
|
|
1514
|
-
isCursorPointer: j.value,
|
|
1515
|
-
onClose: ot
|
|
1516
|
-
}, {
|
|
1517
|
-
th: p(({ th: l }) => [
|
|
1518
|
-
C("div", {
|
|
1519
|
-
innerHTML: l,
|
|
1520
|
-
style: { display: "flex", "align-items": "center" }
|
|
1521
|
-
}, null, 8, Da)
|
|
1522
|
-
]),
|
|
1523
|
-
td: p(({ td: l }) => [
|
|
1524
|
-
dt(D(l.name || l), 1)
|
|
1525
|
-
]),
|
|
1526
|
-
_: 1
|
|
1527
|
-
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
|
|
1528
|
-
]),
|
|
1529
|
-
_: 2
|
|
1530
|
-
}, [
|
|
1531
|
-
e.value.table.useDialog ? {
|
|
1532
|
-
name: "title",
|
|
1533
|
-
fn: p(() => [
|
|
1534
|
-
dt(D(te.value.title), 1)
|
|
1535
|
-
]),
|
|
1536
|
-
key: "0"
|
|
1537
|
-
} : void 0,
|
|
1538
|
-
e.value.table.useDialog ? {
|
|
1539
|
-
name: "actions",
|
|
1540
|
-
fn: p(() => [
|
|
1541
|
-
C("button", {
|
|
1542
|
-
tabindex: "0",
|
|
1543
|
-
class: "vue-ui-user-options-button",
|
|
1544
|
-
onClick: a[1] || (a[1] = (l) => $e(e.value.userOptions.callbacks.csv)),
|
|
1545
|
-
style: M({ cursor: j.value ? "pointer" : "default" })
|
|
1546
|
-
}, [
|
|
1547
|
-
Le(c(Ct), {
|
|
1548
|
-
name: "fileCsv",
|
|
1549
|
-
stroke: te.value.props.color
|
|
1550
|
-
}, null, 8, ["stroke"])
|
|
1551
|
-
], 4)
|
|
1552
|
-
]),
|
|
1553
|
-
key: "1"
|
|
1554
|
-
} : void 0
|
|
1555
|
-
]), 1040)) : y("", !0),
|
|
1556
|
-
f(t.$slots, "skeleton", {}, () => [
|
|
1557
|
-
c(B) ? (s(), F(Fl, { key: 0 })) : y("", !0)
|
|
1558
|
-
], !0)
|
|
1559
|
-
], 46, Zl));
|
|
1560
|
-
}
|
|
1561
|
-
}, oo = /* @__PURE__ */ ql(Fa, [["__scopeId", "data-v-7da979a6"]]);
|
|
1562
|
-
export {
|
|
1563
|
-
oo as default
|
|
1564
|
-
};
|