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