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,1259 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as F, computed as g, ref as u, toRefs as aa, watch as $e, shallowRef as ut, onMounted as oa, onBeforeUnmount as la, openBlock as s, createElementBlock as c, unref as i, normalizeStyle as ae, normalizeClass as oe, createElementVNode as b, toDisplayString as R, createBlock as S, createCommentVNode as h, withCtx as d, renderSlot as p, normalizeProps as k, guardReactiveProps as C, createSlots as it, createVNode as ue, Fragment as U, renderList as E, Teleport as na, resolveDynamicComponent as sa, mergeProps as ra, createTextVNode as Te, nextTick as Ae } from "vue";
|
|
2
|
-
import { j as ua, t as ct, m as ia, p as M, o as ca, q as W, n as va, s as vt, A as dt, K as da, l as j, k as Pe, X as pa, u as _e, v as ga, ah as pt, r as gt, a0 as ha, a1 as fa, T as ya, U as ma } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { t as ba, u as ka } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ca } from "./useConfig-CG4HT3wS.js";
|
|
5
|
-
import { u as wa, B as $a } from "./BaseScanner-C2j3TsSY.js";
|
|
6
|
-
import { u as Ta } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
-
import { u as Aa } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
-
import { u as Se } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
-
import { u as Pa } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
-
import { u as _a } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
-
import { u as Sa } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
-
import { u as Oa } from "./useAutoSizeLabelsInsideViewbox-izlGDfwu.js";
|
|
13
|
-
import Ia from "./img-CjTQXS0U.js";
|
|
14
|
-
import Fa from "./Title-BbKoiBk2.js";
|
|
15
|
-
import xa from "./Legend-DGN5lY60.js";
|
|
16
|
-
import Na from "./vue_ui_radar-DryGBOrz.js";
|
|
17
|
-
import { A as La } from "./A11yDataTable-BpmuNomI.js";
|
|
18
|
-
import { B as Ra } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
19
|
-
import { _ as Da } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
|
-
const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative" } }, Ea = ["xmlns", "aria-describedby", "viewBox"], Ma = ["width", "height"], Wa = ["id"], Ga = ["stop-color"], Xa = ["stop-color"], Ka = { key: 1 }, Ya = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ja = { key: 0 }, qa = ["d", "stroke", "stroke-width"], Ha = ["d", "stroke", "stroke-width"], Ja = { key: 2 }, Qa = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], Za = ["points", "stroke", "stroke-width"], eo = ["points", "stroke", "stroke-width", "fill"], to = { key: 3 }, ao = ["cx", "cy", "fill", "r", "stroke"], oo = {
|
|
21
|
-
key: 0,
|
|
22
|
-
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
23
|
-
"data-dom-to-png-ignore": "",
|
|
24
|
-
"aria-hidden": "true"
|
|
25
|
-
}, lo = {
|
|
26
|
-
key: 5,
|
|
27
|
-
class: "vue-data-ui-watermark"
|
|
28
|
-
}, no = ["id"], so = ["onClick"], ro = {
|
|
29
|
-
key: 0,
|
|
30
|
-
style: { "max-width": "200px", margin: "0 auto" }
|
|
31
|
-
}, uo = {
|
|
32
|
-
class: "vue-ui-radar-tooltip-datalabel",
|
|
33
|
-
style: { width: "100%" }
|
|
34
|
-
}, io = { class: "vue-ui-radar-tooltip-datalabel-name" }, co = { key: 0 }, vo = {
|
|
35
|
-
__name: "vue-ui-radar",
|
|
36
|
-
props: {
|
|
37
|
-
config: {
|
|
38
|
-
type: Object,
|
|
39
|
-
default() {
|
|
40
|
-
return {};
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
dataset: {
|
|
44
|
-
type: Object,
|
|
45
|
-
default() {
|
|
46
|
-
return {};
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
emits: ["selectLegend", "copyAlt"],
|
|
51
|
-
setup(ht, { expose: ft, emit: yt }) {
|
|
52
|
-
const mt = F(() => import("./Tooltip-Cvt7Fi0Q.js")), bt = F(() => import("./BaseIcon-DX0hTWa-.js")), kt = F(() => import("./vue-ui-sparkbar-BjWGJjzN.js")), Ct = F(() => import("./vue-ui-accordion-DFtpH_16.js")), wt = F(() => import("./DataTable-cMnb68Ik.js")), $t = F(
|
|
53
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
54
|
-
), Tt = F(
|
|
55
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
56
|
-
), At = F(
|
|
57
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
58
|
-
), Pt = F(
|
|
59
|
-
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
60
|
-
), { vue_ui_radar: _t } = Ca(), { isThemeValid: St, warnInvalidTheme: Ot } = Pa(), O = ht, Oe = g(() => !!O.dataset && Object.keys(O.dataset).length), m = u(ua()), q = u(!1), ie = u(""), Ie = u(0), I = u(null), Fe = u(null), xe = u(null), Ne = u(null), Le = u(null), Re = u(0), De = u(0), Ve = u(0), ze = u(!1), H = u(null), ce = u(null), le = u(!1), ne = u(!1), A = u(null), Be = u({ x: 0, y: 0 }), J = u("pointer"), ve = u(!1), e = u(ge()), D = g(
|
|
61
|
-
() => e.value.userOptions.useCursorPointer
|
|
62
|
-
), It = g(() => ct({
|
|
63
|
-
defaultConfig: {
|
|
64
|
-
userOptions: { show: !1 },
|
|
65
|
-
table: { show: !1 },
|
|
66
|
-
useCssAnimation: !1,
|
|
67
|
-
style: {
|
|
68
|
-
chart: {
|
|
69
|
-
backgroundColor: "#99999930",
|
|
70
|
-
layout: {
|
|
71
|
-
grid: {
|
|
72
|
-
stroke: "#6A6A6A90"
|
|
73
|
-
},
|
|
74
|
-
labels: {
|
|
75
|
-
dataLabels: { show: !1 }
|
|
76
|
-
},
|
|
77
|
-
outerPolygon: {
|
|
78
|
-
stroke: "#6A6A6A"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
legend: {
|
|
82
|
-
backgroundColor: "transparent"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
userConfig: e.value.skeletonConfig ?? {}
|
|
88
|
-
})), { loading: de, FINAL_DATASET: V } = wa({
|
|
89
|
-
...aa(O),
|
|
90
|
-
FINAL_CONFIG: e,
|
|
91
|
-
prepareConfig: ge,
|
|
92
|
-
callback: () => {
|
|
93
|
-
Promise.resolve().then(async () => {
|
|
94
|
-
await Ae(), w.value.showTable = e.value.table.show;
|
|
95
|
-
});
|
|
96
|
-
},
|
|
97
|
-
skeletonDataset: O.config?.skeletonDataset ?? {
|
|
98
|
-
categories: [{ name: "_", color: "#6A6A6A" }],
|
|
99
|
-
series: [
|
|
100
|
-
{ name: "_", values: [0.6], target: 1 },
|
|
101
|
-
{ name: "_", values: [0.6], target: 1 },
|
|
102
|
-
{ name: "_", values: [0.6], target: 1 },
|
|
103
|
-
{ name: "_", values: [0.6], target: 1 },
|
|
104
|
-
{ name: "_", values: [0.6], target: 1 },
|
|
105
|
-
{ name: "_", values: [0.6], target: 1 }
|
|
106
|
-
]
|
|
107
|
-
},
|
|
108
|
-
skeletonConfig: ct({
|
|
109
|
-
defaultConfig: e.value,
|
|
110
|
-
userConfig: It.value
|
|
111
|
-
})
|
|
112
|
-
}), { userOptionsVisible: pe, setUserOptionsVisibility: Ue, keepUserOptionState: Ee } = _a({ config: e.value }), { svgRef: x } = Sa({
|
|
113
|
-
config: e.value.style.chart.title
|
|
114
|
-
});
|
|
115
|
-
function ge() {
|
|
116
|
-
const t = Se({
|
|
117
|
-
userConfig: O.config,
|
|
118
|
-
defaultConfig: _t
|
|
119
|
-
}), o = t.theme;
|
|
120
|
-
if (!o) return t;
|
|
121
|
-
if (!St.value(t))
|
|
122
|
-
return Ot(t), t;
|
|
123
|
-
const a = Se({
|
|
124
|
-
userConfig: Na[o] || O.config,
|
|
125
|
-
defaultConfig: t
|
|
126
|
-
}), l = Se({
|
|
127
|
-
userConfig: O.config,
|
|
128
|
-
defaultConfig: a
|
|
129
|
-
});
|
|
130
|
-
return {
|
|
131
|
-
...l,
|
|
132
|
-
customPalette: l.customPalette.length ? l.customPalette : ia[o] || M
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
$e(
|
|
136
|
-
() => O.config,
|
|
137
|
-
(t) => {
|
|
138
|
-
e.value = ge(), pe.value = !e.value.userOptions.showOnChartHover, Me(), Re.value += 1, De.value += 1, Ve.value += 1, w.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.chart.tooltip ? e.value.style.chart.tooltip.show : !1;
|
|
139
|
-
},
|
|
140
|
-
{ deep: !0 }
|
|
141
|
-
);
|
|
142
|
-
const N = ut(null), G = ut(null), z = g(() => e.value.debug);
|
|
143
|
-
function Me() {
|
|
144
|
-
if (ca(O.dataset) && W({
|
|
145
|
-
componentName: "VueUiRadar",
|
|
146
|
-
type: "dataset",
|
|
147
|
-
debug: z.value
|
|
148
|
-
}), e.value.responsive) {
|
|
149
|
-
const t = ba(() => {
|
|
150
|
-
const { width: o, height: a } = ka({
|
|
151
|
-
chart: I.value,
|
|
152
|
-
title: e.value.style.chart.title.text ? Fe.value : null,
|
|
153
|
-
legend: e.value.style.chart.legend.show ? xe.value : null,
|
|
154
|
-
source: Ne.value,
|
|
155
|
-
noTitle: Le.value
|
|
156
|
-
});
|
|
157
|
-
requestAnimationFrame(() => {
|
|
158
|
-
v.value.width = o, v.value.height = a, Je();
|
|
159
|
-
});
|
|
160
|
-
});
|
|
161
|
-
N.value && (G.value && N.value.unobserve(G.value), N.value.disconnect()), N.value = new ResizeObserver(t), G.value = I.value.parentNode, N.value.observe(G.value);
|
|
162
|
-
}
|
|
163
|
-
Je();
|
|
164
|
-
}
|
|
165
|
-
oa(() => {
|
|
166
|
-
ze.value = !0, Me();
|
|
167
|
-
}), la(() => {
|
|
168
|
-
N.value && (G.value && N.value.unobserve(G.value), N.value.disconnect());
|
|
169
|
-
});
|
|
170
|
-
const { isPrinting: he, isImaging: fe, generatePdf: We, generateImage: Ge } = Ta({
|
|
171
|
-
elementId: `vue-ui-radar_${m.value}`,
|
|
172
|
-
fileName: e.value.style.chart.title.text || "vue-ui-radar",
|
|
173
|
-
options: e.value.userOptions.print
|
|
174
|
-
}), Ft = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Xe = g(() => va(e.value.customPalette)), w = u({
|
|
175
|
-
dataLabels: {
|
|
176
|
-
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
177
|
-
},
|
|
178
|
-
showTable: e.value.table.show,
|
|
179
|
-
showTooltip: e.value.style.chart.tooltip.show
|
|
180
|
-
}), xt = g(() => ({
|
|
181
|
-
style: {
|
|
182
|
-
backgroundColor: "#FFFFFF00",
|
|
183
|
-
animation: {
|
|
184
|
-
show: e.value.style.chart.tooltip.animation.show,
|
|
185
|
-
animationFrames: e.value.style.chart.tooltip.animation.animationFrames
|
|
186
|
-
},
|
|
187
|
-
labels: {
|
|
188
|
-
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
189
|
-
name: {
|
|
190
|
-
color: e.value.style.chart.tooltip.color
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
gutter: {
|
|
194
|
-
backgroundColor: "#CCCCCC",
|
|
195
|
-
opacity: 30
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
})), v = u({
|
|
199
|
-
height: 312,
|
|
200
|
-
width: 512
|
|
201
|
-
}), Ke = yt, f = u([]), Q = u(null), X = u(!1);
|
|
202
|
-
function Nt() {
|
|
203
|
-
f.value.length ? f.value = [] : _.value.forEach((t, o) => {
|
|
204
|
-
f.value.push(o);
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
function se(t) {
|
|
208
|
-
X.value = !0, f.value.includes(t) ? (Q.value = t, f.value = f.value.filter((o) => o !== t), setTimeout(() => {
|
|
209
|
-
X.value = !1, Q.value = null;
|
|
210
|
-
}, 500)) : (f.value.push(t), setTimeout(() => {
|
|
211
|
-
X.value = !1;
|
|
212
|
-
}, 500)), Ke(
|
|
213
|
-
"selectLegend",
|
|
214
|
-
_.value.filter((o, a) => !f.value.includes(a)).map((o) => ({
|
|
215
|
-
name: o.name,
|
|
216
|
-
color: o.color,
|
|
217
|
-
proportion: o.totalProportion
|
|
218
|
-
}))
|
|
219
|
-
);
|
|
220
|
-
}
|
|
221
|
-
function Lt() {
|
|
222
|
-
return _.value.map((t) => ({
|
|
223
|
-
name: t.name,
|
|
224
|
-
color: t.color,
|
|
225
|
-
proportion: t.totalProportion
|
|
226
|
-
}));
|
|
227
|
-
}
|
|
228
|
-
function Rt() {
|
|
229
|
-
const t = V.value;
|
|
230
|
-
if ([null, void 0].includes(t?.categories)) {
|
|
231
|
-
W({
|
|
232
|
-
componentName: "VueUiRadar",
|
|
233
|
-
type: "dataset",
|
|
234
|
-
debug: z.value
|
|
235
|
-
}), W({
|
|
236
|
-
componentName: "VueUiRadar",
|
|
237
|
-
type: "datasetAttribute",
|
|
238
|
-
property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
|
|
239
|
-
debug: z.value
|
|
240
|
-
});
|
|
241
|
-
return;
|
|
242
|
-
}
|
|
243
|
-
t.categories.length === 0 ? W({
|
|
244
|
-
componentName: "VueUiRadar",
|
|
245
|
-
type: "datasetAttributeEmpty",
|
|
246
|
-
property: "categories",
|
|
247
|
-
debug: z.value
|
|
248
|
-
}) : t.categories.forEach((o, a) => {
|
|
249
|
-
gt({
|
|
250
|
-
datasetObject: o,
|
|
251
|
-
requiredAttributes: ["name"]
|
|
252
|
-
}).forEach((l) => {
|
|
253
|
-
W({
|
|
254
|
-
componentName: "VueUiRadar",
|
|
255
|
-
type: "datasetAttribute",
|
|
256
|
-
property: `category.${l} at index ${a}`,
|
|
257
|
-
index: a,
|
|
258
|
-
debug: z.value
|
|
259
|
-
});
|
|
260
|
-
});
|
|
261
|
-
}), [null, void 0].includes(t?.series) ? W({
|
|
262
|
-
componentName: "VueUiRadar",
|
|
263
|
-
type: "datasetAttribute",
|
|
264
|
-
property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
|
|
265
|
-
debug: z.value
|
|
266
|
-
}) : t.series.forEach((o, a) => {
|
|
267
|
-
gt({
|
|
268
|
-
datasetObject: o,
|
|
269
|
-
requiredAttributes: ["name", "values", "target"]
|
|
270
|
-
}).forEach((l) => {
|
|
271
|
-
W({
|
|
272
|
-
componentName: "VueUiRadar",
|
|
273
|
-
type: "datasetSerieAttribute",
|
|
274
|
-
key: "series",
|
|
275
|
-
property: l,
|
|
276
|
-
index: a,
|
|
277
|
-
debug: z.value
|
|
278
|
-
});
|
|
279
|
-
});
|
|
280
|
-
});
|
|
281
|
-
}
|
|
282
|
-
$e(
|
|
283
|
-
() => V.value,
|
|
284
|
-
() => Rt(),
|
|
285
|
-
{ deep: !0, immediate: !0 }
|
|
286
|
-
);
|
|
287
|
-
const P = g(() => {
|
|
288
|
-
const t = Array.isArray(V.value?.categories) ? V.value.categories : [], o = Xe.value ?? M;
|
|
289
|
-
return t.map((a, l) => ({
|
|
290
|
-
name: a?.name ?? "",
|
|
291
|
-
categoryId: `radar_category_${m.value}_${l}`,
|
|
292
|
-
color: vt(a?.color) || o[l] || M[l % M.length],
|
|
293
|
-
prefix: a?.prefix ?? "",
|
|
294
|
-
suffix: a?.suffix ?? ""
|
|
295
|
-
}));
|
|
296
|
-
}), T = g(() => V.value.series.map((t, o) => ({
|
|
297
|
-
...t,
|
|
298
|
-
color: vt(t.color) || Xe.value[o] || M[o] || M[o % M.length],
|
|
299
|
-
serieId: `radar_serie_${m.value}_${o}`,
|
|
300
|
-
formatter: t.formatter || null,
|
|
301
|
-
absoluteIndex: o
|
|
302
|
-
})));
|
|
303
|
-
function Ye(t) {
|
|
304
|
-
if (!T.value.length)
|
|
305
|
-
return e.value.debug && console.warn("VueUiRadar - There are no series to show."), null;
|
|
306
|
-
const o = _.value.find((a) => a.name === t);
|
|
307
|
-
return o || (e.value.debug && console.warn(`VueUiRadar - Series name not found "${t}"`), null);
|
|
308
|
-
}
|
|
309
|
-
function Dt(t) {
|
|
310
|
-
const o = Ye(t);
|
|
311
|
-
o !== null && f.value.includes(o.absoluteIndex) && se(o.absoluteIndex);
|
|
312
|
-
}
|
|
313
|
-
function Vt(t) {
|
|
314
|
-
const o = Ye(t);
|
|
315
|
-
o !== null && (f.value.includes(o.absoluteIndex) || se(o.absoluteIndex));
|
|
316
|
-
}
|
|
317
|
-
const je = g(
|
|
318
|
-
() => Math.max(...T.value.flatMap((t) => t.values))
|
|
319
|
-
), qe = g(() => T.value.length), ye = g(() => Math.min(v.value.width, v.value.height) / 3), He = g(() => dt({
|
|
320
|
-
plot: { x: v.value.width / 2, y: v.value.height / 2 },
|
|
321
|
-
radius: ye.value,
|
|
322
|
-
sides: qe.value,
|
|
323
|
-
rotation: 0
|
|
324
|
-
})), zt = g(() => {
|
|
325
|
-
const t = [];
|
|
326
|
-
for (let o = 0; o < ye.value; o += ye.value / e.value.style.chart.layout.grid.graduations)
|
|
327
|
-
t.push(o);
|
|
328
|
-
return t;
|
|
329
|
-
}), y = g(() => He.value.coordinates.map((t, o) => {
|
|
330
|
-
const a = T.value[o].values.map((l) => Ut({
|
|
331
|
-
centerX: v.value.width / 2,
|
|
332
|
-
centerY: v.value.height / 2,
|
|
333
|
-
apexX: t.x,
|
|
334
|
-
apexY: t.y,
|
|
335
|
-
proportion: l / (T.value[o].target || je.value)
|
|
336
|
-
}));
|
|
337
|
-
return {
|
|
338
|
-
...t,
|
|
339
|
-
...T.value[o],
|
|
340
|
-
plots: a
|
|
341
|
-
};
|
|
342
|
-
}).map((t) => ({
|
|
343
|
-
...t,
|
|
344
|
-
labelX: me(t).x,
|
|
345
|
-
labelY: me(t).y,
|
|
346
|
-
labelAnchor: me(t).anchor
|
|
347
|
-
})));
|
|
348
|
-
function me({ x: t, y: o }) {
|
|
349
|
-
let a = "middle";
|
|
350
|
-
return t = Math.round(t), o = Math.round(o), t > v.value.width / 2 && (t += 12, a = "start"), t < v.value.width / 2 && (t -= 12, a = "end"), o > v.value.height / 2 + 1 && (o += 20), o < v.value.height / 2 - 1 && (o -= 12), o === v.value.height / 2 && (o += 4), { x: t, y: o, anchor: a };
|
|
351
|
-
}
|
|
352
|
-
const Bt = g({
|
|
353
|
-
get: () => e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
354
|
-
set: (t) => t
|
|
355
|
-
}), { autoSizeLabels: Je } = Oa({
|
|
356
|
-
svgRef: x,
|
|
357
|
-
fontSize: e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
358
|
-
minFontSize: 6,
|
|
359
|
-
sizeRef: Bt,
|
|
360
|
-
labelClass: ".vue-ui-radar-apex-label"
|
|
361
|
-
});
|
|
362
|
-
function Ut({ centerX: t, centerY: o, apexX: a, apexY: l, proportion: r }) {
|
|
363
|
-
return {
|
|
364
|
-
x: t + (a - t) * r,
|
|
365
|
-
y: o + (l - o) * r
|
|
366
|
-
};
|
|
367
|
-
}
|
|
368
|
-
const _ = g(() => {
|
|
369
|
-
const t = T.value.map((o, a) => o.values.map((l) => l / (o.target || je.value)));
|
|
370
|
-
return P.value.map((o, a) => {
|
|
371
|
-
const l = da(
|
|
372
|
-
t.map((r) => r[a]).reduce((r, n) => r + n, 0) / T.value.length
|
|
373
|
-
);
|
|
374
|
-
return {
|
|
375
|
-
...o,
|
|
376
|
-
absoluteIndex: a,
|
|
377
|
-
totalProportion: l,
|
|
378
|
-
shape: "circle",
|
|
379
|
-
opacity: f.value.includes(a) ? 0.5 : 1,
|
|
380
|
-
segregate: () => se(a),
|
|
381
|
-
isSegregated: f.value.includes(a),
|
|
382
|
-
display: `${o.name}: ${j({
|
|
383
|
-
v: (l ?? 0) * 100,
|
|
384
|
-
s: "%",
|
|
385
|
-
r: e.value.style.chart.legend.roundingPercentage
|
|
386
|
-
})}`
|
|
387
|
-
};
|
|
388
|
-
});
|
|
389
|
-
}), Et = g(() => ({
|
|
390
|
-
cy: "radar-div-legend",
|
|
391
|
-
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
392
|
-
color: e.value.style.chart.legend.color,
|
|
393
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
394
|
-
paddingBottom: 12,
|
|
395
|
-
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
396
|
-
})), K = g(() => {
|
|
397
|
-
const t = [
|
|
398
|
-
{ name: e.value.translations.datapoint, color: "" },
|
|
399
|
-
{ name: e.value.translations.target, color: "" },
|
|
400
|
-
..._.value
|
|
401
|
-
], o = V.value.series.map((l) => [
|
|
402
|
-
l.name,
|
|
403
|
-
Pe(
|
|
404
|
-
l.formatter,
|
|
405
|
-
l.target,
|
|
406
|
-
j({
|
|
407
|
-
p: l.prefix,
|
|
408
|
-
v: l.target,
|
|
409
|
-
s: l.suffix,
|
|
410
|
-
r: e.value.table.td.roundingValue
|
|
411
|
-
})
|
|
412
|
-
),
|
|
413
|
-
...l.values.map((r, n) => `${Pe(
|
|
414
|
-
l.formatter,
|
|
415
|
-
r,
|
|
416
|
-
j({
|
|
417
|
-
p: P.value[n]?.prefix ?? "",
|
|
418
|
-
v: r,
|
|
419
|
-
s: P.value[n]?.suffix ?? "",
|
|
420
|
-
r: e.value.table.td.roundingValue
|
|
421
|
-
})
|
|
422
|
-
)} (${isNaN(r / l.target) ? "" : j({
|
|
423
|
-
v: r / l.target * 100,
|
|
424
|
-
s: "%",
|
|
425
|
-
r: e.value.table.td.roundingPercentage
|
|
426
|
-
})})`)
|
|
427
|
-
]), a = {
|
|
428
|
-
th: {
|
|
429
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
430
|
-
color: e.value.table.th.color,
|
|
431
|
-
outline: e.value.table.th.outline
|
|
432
|
-
},
|
|
433
|
-
td: {
|
|
434
|
-
backgroundColor: e.value.table.td.backgroundColor,
|
|
435
|
-
color: e.value.table.td.color,
|
|
436
|
-
outline: e.value.table.td.outline
|
|
437
|
-
},
|
|
438
|
-
breakpoint: e.value.table.responsiveBreakpoint
|
|
439
|
-
};
|
|
440
|
-
return { head: t, body: o, config: a, colNames: t };
|
|
441
|
-
}), Y = u(null), be = u([]), re = u(null);
|
|
442
|
-
function Mt(t, o) {
|
|
443
|
-
q.value = !1, Y.value = null, A.value = null, J.value = "pointer", e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
444
|
-
datapoint: t,
|
|
445
|
-
seriesIndex: o
|
|
446
|
-
});
|
|
447
|
-
}
|
|
448
|
-
function Qe(t, o) {
|
|
449
|
-
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
450
|
-
datapoint: t,
|
|
451
|
-
seriesIndex: o
|
|
452
|
-
});
|
|
453
|
-
}
|
|
454
|
-
function Ze(t, o, a = "pointer") {
|
|
455
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
456
|
-
datapoint: t,
|
|
457
|
-
seriesIndex: o
|
|
458
|
-
}), J.value = a, A.value = o;
|
|
459
|
-
const l = P.value.slice();
|
|
460
|
-
be.value = [], Y.value = o, q.value = !0, re.value = {
|
|
461
|
-
datapoint: t,
|
|
462
|
-
seriesIndex: o,
|
|
463
|
-
series: {
|
|
464
|
-
categories: l,
|
|
465
|
-
datapoints: T.value,
|
|
466
|
-
radar: y.value
|
|
467
|
-
},
|
|
468
|
-
config: e.value
|
|
469
|
-
};
|
|
470
|
-
const r = e.value.style.chart.tooltip.customFormat;
|
|
471
|
-
if (ya(r) && ma(
|
|
472
|
-
() => r({
|
|
473
|
-
seriesIndex: o,
|
|
474
|
-
datapoint: t,
|
|
475
|
-
series: {
|
|
476
|
-
categories: l,
|
|
477
|
-
datapoints: T.value,
|
|
478
|
-
radar: y.value
|
|
479
|
-
},
|
|
480
|
-
config: e.value
|
|
481
|
-
})
|
|
482
|
-
)) {
|
|
483
|
-
ie.value = r({
|
|
484
|
-
seriesIndex: o,
|
|
485
|
-
datapoint: t,
|
|
486
|
-
series: {
|
|
487
|
-
categories: l,
|
|
488
|
-
datapoints: T.value,
|
|
489
|
-
radar: y.value
|
|
490
|
-
},
|
|
491
|
-
config: e.value
|
|
492
|
-
});
|
|
493
|
-
return;
|
|
494
|
-
}
|
|
495
|
-
ie.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`;
|
|
496
|
-
for (let n = 0; n < t.values.length; n += 1)
|
|
497
|
-
if (!f.value.includes(n)) {
|
|
498
|
-
const $ = l[n], L = t.values[n], te = isNaN(L / t.target) ? 0 : L / t.target * 100, st = Pe(
|
|
499
|
-
t.formatter,
|
|
500
|
-
L,
|
|
501
|
-
j({
|
|
502
|
-
p: P.value[n].prefix,
|
|
503
|
-
v: L,
|
|
504
|
-
s: P.value[n].suffix,
|
|
505
|
-
r: e.value.style.chart.tooltip.roundingValue
|
|
506
|
-
}),
|
|
507
|
-
{ datapoint: t }
|
|
508
|
-
), rt = j({
|
|
509
|
-
v: te,
|
|
510
|
-
s: "%",
|
|
511
|
-
r: e.value.style.chart.tooltip.roundingPercentage
|
|
512
|
-
}), ta = e.value.style.chart.tooltip.showValue && e.value.style.chart.tooltip.showPercentage ? `${st} (${rt})` : e.value.style.chart.tooltip.showValue && !e.value.style.chart.tooltip.showPercentage ? st : !e.value.style.chart.tooltip.showValue && e.value.style.chart.tooltip.showPercentage ? `${rt}` : "";
|
|
513
|
-
be.value.push({
|
|
514
|
-
name: $?.name ?? `#${n + 1}`,
|
|
515
|
-
value: t.values[n] / t.target * 100,
|
|
516
|
-
color: $?.color,
|
|
517
|
-
suffix: ta,
|
|
518
|
-
prefix: "",
|
|
519
|
-
rounding: e.value.style.chart.tooltip.roundingPercentage,
|
|
520
|
-
formatter: t.formatter
|
|
521
|
-
});
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
function ke(t = null) {
|
|
525
|
-
Ae(() => {
|
|
526
|
-
const o = [
|
|
527
|
-
[e.value.style.chart.title.text],
|
|
528
|
-
[e.value.style.chart.title.subtitle.text],
|
|
529
|
-
[""]
|
|
530
|
-
], a = [
|
|
531
|
-
[""],
|
|
532
|
-
[e.value.translations.target],
|
|
533
|
-
..._.value.flatMap(($) => [[$.name], ["%"]])
|
|
534
|
-
], l = V.value.series.map(($, L) => [
|
|
535
|
-
$.name,
|
|
536
|
-
$.target,
|
|
537
|
-
...$.values.flatMap((te) => [te, isNaN(te / $.target) ? "" : te / $.target * 100])
|
|
538
|
-
]), r = o.concat([a]).concat(l), n = ha(r);
|
|
539
|
-
t ? t(n) : fa({
|
|
540
|
-
csvContent: n,
|
|
541
|
-
title: e.value.style.chart.title.text || "vue-ui-radar"
|
|
542
|
-
});
|
|
543
|
-
});
|
|
544
|
-
}
|
|
545
|
-
const B = u(!1);
|
|
546
|
-
function et(t) {
|
|
547
|
-
B.value = t, Ie.value += 1;
|
|
548
|
-
}
|
|
549
|
-
function tt() {
|
|
550
|
-
w.value.showTable = !w.value.showTable;
|
|
551
|
-
}
|
|
552
|
-
function at() {
|
|
553
|
-
w.value.showTooltip = !w.value.showTooltip;
|
|
554
|
-
}
|
|
555
|
-
const Z = u(!1);
|
|
556
|
-
function Ce() {
|
|
557
|
-
Z.value = !Z.value;
|
|
558
|
-
}
|
|
559
|
-
async function Wt({ scale: t = 2 } = {}) {
|
|
560
|
-
if (!I.value) return;
|
|
561
|
-
const { width: o, height: a } = I.value.getBoundingClientRect(), l = o / a, { imageUri: r, base64: n } = await Ia({
|
|
562
|
-
domElement: I.value,
|
|
563
|
-
base64: !0,
|
|
564
|
-
img: !0,
|
|
565
|
-
scale: t
|
|
566
|
-
});
|
|
567
|
-
return {
|
|
568
|
-
imageUri: r,
|
|
569
|
-
base64: n,
|
|
570
|
-
title: e.value.style.chart.title.text,
|
|
571
|
-
width: o,
|
|
572
|
-
height: a,
|
|
573
|
-
aspectRatio: l
|
|
574
|
-
};
|
|
575
|
-
}
|
|
576
|
-
const ee = g(() => {
|
|
577
|
-
const t = e.value.table.useDialog && !e.value.table.show, o = w.value.showTable;
|
|
578
|
-
return {
|
|
579
|
-
component: t ? Pt : Ct,
|
|
580
|
-
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
581
|
-
props: t ? {
|
|
582
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
583
|
-
color: e.value.table.th.color,
|
|
584
|
-
headerColor: e.value.table.th.color,
|
|
585
|
-
headerBg: e.value.table.th.backgroundColor,
|
|
586
|
-
isFullscreen: B.value,
|
|
587
|
-
fullscreenParent: I.value,
|
|
588
|
-
forcedWidth: Math.min(800, window.innerWidth * 0.8),
|
|
589
|
-
isCursorPointer: D.value
|
|
590
|
-
} : {
|
|
591
|
-
hideDetails: !0,
|
|
592
|
-
config: {
|
|
593
|
-
open: o,
|
|
594
|
-
maxHeight: 1e4,
|
|
595
|
-
body: {
|
|
596
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
597
|
-
color: e.value.style.chart.color
|
|
598
|
-
},
|
|
599
|
-
head: {
|
|
600
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
601
|
-
color: e.value.style.chart.color
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
};
|
|
606
|
-
});
|
|
607
|
-
$e(
|
|
608
|
-
() => w.value.showTable,
|
|
609
|
-
(t) => {
|
|
610
|
-
e.value.table.show || (t && e.value.table.useDialog && H.value ? H.value.open() : "close" in H.value && H.value.close());
|
|
611
|
-
}
|
|
612
|
-
);
|
|
613
|
-
function ot() {
|
|
614
|
-
w.value.showTable = !1, ce.value && ce.value.setTableIconState(!1);
|
|
615
|
-
}
|
|
616
|
-
const Gt = g(() => _.value.map((t) => ({
|
|
617
|
-
...t,
|
|
618
|
-
name: t.display
|
|
619
|
-
}))), Xt = g(() => e.value.style.chart.backgroundColor), Kt = g(() => e.value.style.chart.legend), Yt = g(() => e.value.style.chart.title), { exportSvg: jt, getSvg: qt } = Aa({
|
|
620
|
-
svg: x,
|
|
621
|
-
title: Yt,
|
|
622
|
-
legend: Kt,
|
|
623
|
-
legendItems: Gt,
|
|
624
|
-
backgroundColor: Xt
|
|
625
|
-
});
|
|
626
|
-
async function lt({ isCb: t }) {
|
|
627
|
-
ne.value = !0, await Ae();
|
|
628
|
-
try {
|
|
629
|
-
if (t) {
|
|
630
|
-
const { blob: o, url: a, text: l, dataUrl: r } = await qt();
|
|
631
|
-
await Promise.resolve(
|
|
632
|
-
e.value.userOptions.callbacks.svg({
|
|
633
|
-
blob: o,
|
|
634
|
-
url: a,
|
|
635
|
-
text: l,
|
|
636
|
-
dataUrl: r
|
|
637
|
-
})
|
|
638
|
-
);
|
|
639
|
-
} else
|
|
640
|
-
await Promise.resolve(jt());
|
|
641
|
-
} finally {
|
|
642
|
-
ne.value = !1;
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
function Ht(t) {
|
|
646
|
-
if (t?.stage === "start") {
|
|
647
|
-
le.value = !0;
|
|
648
|
-
return;
|
|
649
|
-
}
|
|
650
|
-
if (t?.stage === "end") {
|
|
651
|
-
le.value = !1;
|
|
652
|
-
return;
|
|
653
|
-
}
|
|
654
|
-
Ge();
|
|
655
|
-
}
|
|
656
|
-
async function nt() {
|
|
657
|
-
if (Ke("copyAlt", {
|
|
658
|
-
config: e.value,
|
|
659
|
-
dataset: y.value
|
|
660
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
661
|
-
console.warn(
|
|
662
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
663
|
-
);
|
|
664
|
-
return;
|
|
665
|
-
}
|
|
666
|
-
await Promise.resolve(
|
|
667
|
-
e.value.userOptions.callbacks.altCopy({
|
|
668
|
-
config: e.value,
|
|
669
|
-
dataset: y.value
|
|
670
|
-
})
|
|
671
|
-
);
|
|
672
|
-
}
|
|
673
|
-
function Jt() {
|
|
674
|
-
A.value = null, ve.value = !0;
|
|
675
|
-
}
|
|
676
|
-
function Qt() {
|
|
677
|
-
A.value = null, J.value = "pointer", q.value = !1, Y.value = null, ve.value = !1;
|
|
678
|
-
}
|
|
679
|
-
function Zt(t) {
|
|
680
|
-
if (!Number.isFinite(t) || !x.value) return;
|
|
681
|
-
const o = y.value[t];
|
|
682
|
-
if (!o) return;
|
|
683
|
-
const a = x.value.getBoundingClientRect();
|
|
684
|
-
Be.value = {
|
|
685
|
-
x: a.left + o.labelX / v.value.width * a.width,
|
|
686
|
-
y: a.top + o.labelY / v.value.height * a.height
|
|
687
|
-
};
|
|
688
|
-
}
|
|
689
|
-
function ea(t) {
|
|
690
|
-
if (!x.value || Z.value || document.activeElement !== x.value || !y.value.length) return;
|
|
691
|
-
const o = ["ArrowLeft", "ArrowUp"].includes(t.key), a = ["ArrowRight", "ArrowDown"].includes(t.key), l = t.key === "Enter" || t.key === " ", r = t.key === "Escape";
|
|
692
|
-
if (!o && !a && !l && !r)
|
|
693
|
-
return;
|
|
694
|
-
if (t.preventDefault(), t.stopPropagation(), r) {
|
|
695
|
-
A.value = null, J.value = "pointer", q.value = !1, Y.value = null;
|
|
696
|
-
return;
|
|
697
|
-
}
|
|
698
|
-
if (l) {
|
|
699
|
-
if (A.value === null) return;
|
|
700
|
-
const L = y.value[A.value];
|
|
701
|
-
if (!L) return;
|
|
702
|
-
Qe(L, A.value);
|
|
703
|
-
return;
|
|
704
|
-
}
|
|
705
|
-
let n = A.value;
|
|
706
|
-
n === null || n < 0 || n >= y.value.length ? n = a ? 0 : y.value.length - 1 : a ? (n += 1, n >= y.value.length && (n = 0)) : o && (n -= 1, n < 0 && (n = y.value.length - 1));
|
|
707
|
-
const $ = y.value[n];
|
|
708
|
-
$ && (A.value = n, Zt(n), Ze($, n, "keyboard"));
|
|
709
|
-
}
|
|
710
|
-
const we = g(() => {
|
|
711
|
-
const t = K.value?.colNames?.map((a) => a.name ?? a) ?? [], o = K.value?.body ?? [];
|
|
712
|
-
return { headers: t, rows: o };
|
|
713
|
-
});
|
|
714
|
-
return ft({
|
|
715
|
-
getData: Lt,
|
|
716
|
-
getImage: Wt,
|
|
717
|
-
generatePdf: We,
|
|
718
|
-
generateCsv: ke,
|
|
719
|
-
generateImage: Ge,
|
|
720
|
-
generateSvg: lt,
|
|
721
|
-
hideSeries: Vt,
|
|
722
|
-
showSeries: Dt,
|
|
723
|
-
toggleTable: tt,
|
|
724
|
-
toggleTooltip: at,
|
|
725
|
-
toggleAnnotator: Ce,
|
|
726
|
-
toggleFullscreen: et,
|
|
727
|
-
copyAlt: nt
|
|
728
|
-
}), (t, o) => (s(), c("div", {
|
|
729
|
-
class: oe(`vue-data-ui-component vue-ui-radar ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
730
|
-
ref_key: "radarChart",
|
|
731
|
-
ref: I,
|
|
732
|
-
id: `vue-ui-radar_${m.value}`,
|
|
733
|
-
style: ae(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
734
|
-
onMouseenter: o[2] || (o[2] = () => i(Ue)(!0)),
|
|
735
|
-
onMouseleave: o[3] || (o[3] = () => i(Ue)(!1))
|
|
736
|
-
}, [
|
|
737
|
-
b("div", {
|
|
738
|
-
id: `chart-instructions-${m.value}`,
|
|
739
|
-
class: "sr-only"
|
|
740
|
-
}, [
|
|
741
|
-
b("p", null, R(e.value.a11y.translations.keyboardNavigation), 1)
|
|
742
|
-
], 8, za),
|
|
743
|
-
we.value?.rows?.length ? (s(), S(La, {
|
|
744
|
-
key: 0,
|
|
745
|
-
uid: m.value,
|
|
746
|
-
head: we.value.headers,
|
|
747
|
-
body: we.value.rows,
|
|
748
|
-
notice: e.value.a11y.translations.tableAvailable,
|
|
749
|
-
caption: e.value.a11y.translations.tableCaption
|
|
750
|
-
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : h("", !0),
|
|
751
|
-
e.value.userOptions.buttons.annotator ? (s(), S(i($t), {
|
|
752
|
-
key: 1,
|
|
753
|
-
svgRef: i(x),
|
|
754
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
755
|
-
color: e.value.style.chart.color,
|
|
756
|
-
active: Z.value,
|
|
757
|
-
isCursorPointer: D.value,
|
|
758
|
-
onClose: Ce
|
|
759
|
-
}, {
|
|
760
|
-
"annotator-action-close": d(() => [
|
|
761
|
-
p(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
762
|
-
]),
|
|
763
|
-
"annotator-action-color": d(({ color: a }) => [
|
|
764
|
-
p(t.$slots, "annotator-action-color", k(C({ color: a })), void 0, !0)
|
|
765
|
-
]),
|
|
766
|
-
"annotator-action-draw": d(({ mode: a }) => [
|
|
767
|
-
p(t.$slots, "annotator-action-draw", k(C({ mode: a })), void 0, !0)
|
|
768
|
-
]),
|
|
769
|
-
"annotator-action-undo": d(({ disabled: a }) => [
|
|
770
|
-
p(t.$slots, "annotator-action-undo", k(C({ disabled: a })), void 0, !0)
|
|
771
|
-
]),
|
|
772
|
-
"annotator-action-redo": d(({ disabled: a }) => [
|
|
773
|
-
p(t.$slots, "annotator-action-redo", k(C({ disabled: a })), void 0, !0)
|
|
774
|
-
]),
|
|
775
|
-
"annotator-action-delete": d(({ disabled: a }) => [
|
|
776
|
-
p(t.$slots, "annotator-action-delete", k(C({ disabled: a })), void 0, !0)
|
|
777
|
-
]),
|
|
778
|
-
_: 3
|
|
779
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : h("", !0),
|
|
780
|
-
Ft.value ? (s(), c("div", {
|
|
781
|
-
key: 2,
|
|
782
|
-
ref_key: "noTitle",
|
|
783
|
-
ref: Le,
|
|
784
|
-
class: "vue-data-ui-no-title-space",
|
|
785
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
786
|
-
}, null, 512)) : h("", !0),
|
|
787
|
-
e.value.style.chart.title.text ? (s(), c("div", {
|
|
788
|
-
key: 3,
|
|
789
|
-
ref_key: "chartTitle",
|
|
790
|
-
ref: Fe,
|
|
791
|
-
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
792
|
-
}, [
|
|
793
|
-
(s(), S(Fa, {
|
|
794
|
-
key: `title_${Re.value}`,
|
|
795
|
-
config: {
|
|
796
|
-
title: {
|
|
797
|
-
cy: "radar-div-title",
|
|
798
|
-
...e.value.style.chart.title
|
|
799
|
-
},
|
|
800
|
-
subtitle: {
|
|
801
|
-
cy: "radar-div-subtitle",
|
|
802
|
-
...e.value.style.chart.title.subtitle
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
}, null, 8, ["config"]))
|
|
806
|
-
], 512)) : h("", !0),
|
|
807
|
-
b("div", {
|
|
808
|
-
id: `legend-top-${m.value}`
|
|
809
|
-
}, null, 8, Ba),
|
|
810
|
-
e.value.userOptions.show && Oe.value && (i(Ee) || i(pe)) ? (s(), S(i(Tt), {
|
|
811
|
-
ref_key: "userOptionsRef",
|
|
812
|
-
ref: ce,
|
|
813
|
-
key: `user_options_${Ie.value}`,
|
|
814
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
815
|
-
color: e.value.style.chart.color,
|
|
816
|
-
isImaging: i(fe),
|
|
817
|
-
isPrinting: i(he),
|
|
818
|
-
uid: m.value,
|
|
819
|
-
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
820
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
821
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
822
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
823
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
824
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
825
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
826
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
827
|
-
isFullscreen: B.value,
|
|
828
|
-
isTooltip: w.value.showTooltip,
|
|
829
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
830
|
-
chartElement: I.value,
|
|
831
|
-
position: e.value.userOptions.position,
|
|
832
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
833
|
-
isAnnotation: Z.value,
|
|
834
|
-
callbacks: e.value.userOptions.callbacks,
|
|
835
|
-
printScale: e.value.userOptions.print.scale,
|
|
836
|
-
tableDialog: e.value.table.useDialog,
|
|
837
|
-
isCursorPointer: D.value,
|
|
838
|
-
onToggleFullscreen: et,
|
|
839
|
-
onGeneratePdf: i(We),
|
|
840
|
-
onGenerateCsv: ke,
|
|
841
|
-
onGenerateImage: Ht,
|
|
842
|
-
onGenerateSvg: lt,
|
|
843
|
-
onToggleTable: tt,
|
|
844
|
-
onToggleTooltip: at,
|
|
845
|
-
onToggleAnnotator: Ce,
|
|
846
|
-
onCopyAlt: nt,
|
|
847
|
-
style: ae({
|
|
848
|
-
visibility: i(Ee) ? i(pe) ? "visible" : "hidden" : "visible"
|
|
849
|
-
})
|
|
850
|
-
}, it({ _: 2 }, [
|
|
851
|
-
t.$slots.menuIcon ? {
|
|
852
|
-
name: "menuIcon",
|
|
853
|
-
fn: d(({ isOpen: a, color: l }) => [
|
|
854
|
-
p(t.$slots, "menuIcon", k(C({ isOpen: a, color: l })), void 0, !0)
|
|
855
|
-
]),
|
|
856
|
-
key: "0"
|
|
857
|
-
} : void 0,
|
|
858
|
-
t.$slots.optionTooltip ? {
|
|
859
|
-
name: "optionTooltip",
|
|
860
|
-
fn: d(() => [
|
|
861
|
-
p(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
862
|
-
]),
|
|
863
|
-
key: "1"
|
|
864
|
-
} : void 0,
|
|
865
|
-
t.$slots.optionPdf ? {
|
|
866
|
-
name: "optionPdf",
|
|
867
|
-
fn: d(() => [
|
|
868
|
-
p(t.$slots, "optionPdf", {}, void 0, !0)
|
|
869
|
-
]),
|
|
870
|
-
key: "2"
|
|
871
|
-
} : void 0,
|
|
872
|
-
t.$slots.optionCsv ? {
|
|
873
|
-
name: "optionCsv",
|
|
874
|
-
fn: d(() => [
|
|
875
|
-
p(t.$slots, "optionCsv", {}, void 0, !0)
|
|
876
|
-
]),
|
|
877
|
-
key: "3"
|
|
878
|
-
} : void 0,
|
|
879
|
-
t.$slots.optionImg ? {
|
|
880
|
-
name: "optionImg",
|
|
881
|
-
fn: d(() => [
|
|
882
|
-
p(t.$slots, "optionImg", {}, void 0, !0)
|
|
883
|
-
]),
|
|
884
|
-
key: "4"
|
|
885
|
-
} : void 0,
|
|
886
|
-
t.$slots.optionSvg ? {
|
|
887
|
-
name: "optionSvg",
|
|
888
|
-
fn: d(() => [
|
|
889
|
-
p(t.$slots, "optionSvg", {}, void 0, !0)
|
|
890
|
-
]),
|
|
891
|
-
key: "5"
|
|
892
|
-
} : void 0,
|
|
893
|
-
t.$slots.optionTable ? {
|
|
894
|
-
name: "optionTable",
|
|
895
|
-
fn: d(() => [
|
|
896
|
-
p(t.$slots, "optionTable", {}, void 0, !0)
|
|
897
|
-
]),
|
|
898
|
-
key: "6"
|
|
899
|
-
} : void 0,
|
|
900
|
-
t.$slots.optionFullscreen ? {
|
|
901
|
-
name: "optionFullscreen",
|
|
902
|
-
fn: d(({ toggleFullscreen: a, isFullscreen: l }) => [
|
|
903
|
-
p(t.$slots, "optionFullscreen", k(C({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
|
|
904
|
-
]),
|
|
905
|
-
key: "7"
|
|
906
|
-
} : void 0,
|
|
907
|
-
t.$slots.optionAnnotator ? {
|
|
908
|
-
name: "optionAnnotator",
|
|
909
|
-
fn: d(({ toggleAnnotator: a, isAnnotator: l }) => [
|
|
910
|
-
p(t.$slots, "optionAnnotator", k(C({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
|
|
911
|
-
]),
|
|
912
|
-
key: "8"
|
|
913
|
-
} : void 0,
|
|
914
|
-
t.$slots.optionAltCopy ? {
|
|
915
|
-
name: "optionAltCopy",
|
|
916
|
-
fn: d(({ altCopy: a }) => [
|
|
917
|
-
p(t.$slots, "optionAltCopy", k(C({ altCopy: a })), void 0, !0)
|
|
918
|
-
]),
|
|
919
|
-
key: "9"
|
|
920
|
-
} : void 0
|
|
921
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : h("", !0),
|
|
922
|
-
b("div", Ua, [
|
|
923
|
-
(s(), c("svg", {
|
|
924
|
-
ref_key: "svgRef",
|
|
925
|
-
ref: x,
|
|
926
|
-
xmlns: i(pa),
|
|
927
|
-
"aria-describedby": `chart-instructions-${m.value}`,
|
|
928
|
-
class: oe({
|
|
929
|
-
"vue-data-ui-fullscreen--on": B.value,
|
|
930
|
-
"vue-data-ui-fulscreen--off": !B.value
|
|
931
|
-
}),
|
|
932
|
-
viewBox: `0 0 ${v.value.width <= 0 ? 10 : v.value.width} ${v.value.height <= 0 ? 10 : v.value.height}`,
|
|
933
|
-
style: ae(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
|
|
934
|
-
tabindex: "0",
|
|
935
|
-
onFocus: Jt,
|
|
936
|
-
onBlur: Qt,
|
|
937
|
-
onKeydown: ea
|
|
938
|
-
}, [
|
|
939
|
-
ue(i(At)),
|
|
940
|
-
t.$slots["chart-background"] ? (s(), c("foreignObject", {
|
|
941
|
-
key: 0,
|
|
942
|
-
x: 0,
|
|
943
|
-
y: 0,
|
|
944
|
-
width: v.value.width <= 0 ? 10 : v.value.width,
|
|
945
|
-
height: v.value.height <= 0 ? 10 : v.value.height,
|
|
946
|
-
style: {
|
|
947
|
-
pointerEvents: "none"
|
|
948
|
-
}
|
|
949
|
-
}, [
|
|
950
|
-
p(t.$slots, "chart-background", {}, void 0, !0)
|
|
951
|
-
], 8, Ma)) : h("", !0),
|
|
952
|
-
b("defs", null, [
|
|
953
|
-
(s(!0), c(U, null, E(P.value, (a, l) => (s(), c("radialGradient", {
|
|
954
|
-
cx: "50%",
|
|
955
|
-
cy: "50%",
|
|
956
|
-
r: "50%",
|
|
957
|
-
fx: "50%",
|
|
958
|
-
fy: "50%",
|
|
959
|
-
id: `radar_gradient_${m.value}_${l}`
|
|
960
|
-
}, [
|
|
961
|
-
b("stop", {
|
|
962
|
-
offset: "0%",
|
|
963
|
-
"stop-color": i(_e)(
|
|
964
|
-
i(ga)(a.color, 0.05),
|
|
965
|
-
e.value.style.chart.layout.dataPolygon.opacity
|
|
966
|
-
)
|
|
967
|
-
}, null, 8, Ga),
|
|
968
|
-
b("stop", {
|
|
969
|
-
offset: "100%",
|
|
970
|
-
"stop-color": i(_e)(
|
|
971
|
-
a.color,
|
|
972
|
-
e.value.style.chart.layout.dataPolygon.opacity
|
|
973
|
-
)
|
|
974
|
-
}, null, 8, Xa)
|
|
975
|
-
], 8, Wa))), 256))
|
|
976
|
-
]),
|
|
977
|
-
e.value.style.chart.layout.grid.show ? (s(), c("g", Ka, [
|
|
978
|
-
(s(!0), c(U, null, E(y.value, (a) => (s(), c("line", {
|
|
979
|
-
x1: v.value.width / 2,
|
|
980
|
-
y1: v.value.height / 2,
|
|
981
|
-
x2: a.x,
|
|
982
|
-
y2: a.y,
|
|
983
|
-
stroke: e.value.style.chart.layout.grid.stroke,
|
|
984
|
-
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
985
|
-
}, null, 8, Ya))), 256)),
|
|
986
|
-
e.value.style.chart.layout.grid.graduations > 0 ? (s(), c("g", ja, [
|
|
987
|
-
(s(!0), c(U, null, E(zt.value, (a) => (s(), c("path", {
|
|
988
|
-
d: i(dt)({
|
|
989
|
-
plot: {
|
|
990
|
-
x: v.value.width / 2,
|
|
991
|
-
y: v.value.height / 2
|
|
992
|
-
},
|
|
993
|
-
radius: a,
|
|
994
|
-
sides: qe.value,
|
|
995
|
-
rotation: 0
|
|
996
|
-
}).path,
|
|
997
|
-
fill: "none",
|
|
998
|
-
stroke: e.value.style.chart.layout.grid.stroke,
|
|
999
|
-
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1000
|
-
}, null, 8, qa))), 256))
|
|
1001
|
-
])) : h("", !0)
|
|
1002
|
-
])) : h("", !0),
|
|
1003
|
-
b("path", {
|
|
1004
|
-
d: He.value.path,
|
|
1005
|
-
fill: "none",
|
|
1006
|
-
stroke: e.value.style.chart.layout.outerPolygon.stroke,
|
|
1007
|
-
"stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
1008
|
-
"stroke-linejoin": "round",
|
|
1009
|
-
"stroke-linecap": "round"
|
|
1010
|
-
}, null, 8, Ha),
|
|
1011
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (s(), c("g", Ja, [
|
|
1012
|
-
(s(!0), c(U, null, E(y.value, (a, l) => (s(), c("text", {
|
|
1013
|
-
class: "vue-ui-radar-apex-label",
|
|
1014
|
-
x: a.labelX,
|
|
1015
|
-
y: a.labelY,
|
|
1016
|
-
"text-anchor": a.labelAnchor,
|
|
1017
|
-
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1018
|
-
fill: e.value.style.chart.layout.labels.dataLabels.color,
|
|
1019
|
-
onMouseenter: (r) => Ze(a, l, "pointer"),
|
|
1020
|
-
onMouseleave: (r) => Mt(a, l),
|
|
1021
|
-
onClick: (r) => Qe(a, l)
|
|
1022
|
-
}, R(a.name), 41, Qa))), 256))
|
|
1023
|
-
])) : h("", !0),
|
|
1024
|
-
(s(!0), c(U, null, E(P.value, (a, l) => (s(), c("g", null, [
|
|
1025
|
-
b("g", null, [
|
|
1026
|
-
e.value.useCssAnimation || !e.value.useCssAnimation && !f.value.includes(l) ? (s(), c("polygon", {
|
|
1027
|
-
key: 0,
|
|
1028
|
-
points: i(pt)(
|
|
1029
|
-
y.value.map((r) => r.plots[l]),
|
|
1030
|
-
!1,
|
|
1031
|
-
!0
|
|
1032
|
-
),
|
|
1033
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
1034
|
-
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
1035
|
-
fill: "none",
|
|
1036
|
-
class: oe({
|
|
1037
|
-
"animated-out": f.value.includes(l) && e.value.useCssAnimation,
|
|
1038
|
-
"animated-in": X.value && Q.value === l && e.value.useCssAnimation
|
|
1039
|
-
})
|
|
1040
|
-
}, null, 10, Za)) : h("", !0),
|
|
1041
|
-
e.value.useCssAnimation || !e.value.useCssAnimation && !f.value.includes(l) ? (s(), c("polygon", {
|
|
1042
|
-
key: 1,
|
|
1043
|
-
points: i(pt)(
|
|
1044
|
-
y.value.map((r) => r.plots[l]),
|
|
1045
|
-
!1,
|
|
1046
|
-
!0
|
|
1047
|
-
),
|
|
1048
|
-
stroke: a.color,
|
|
1049
|
-
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
1050
|
-
fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${m.value}_${l})` : i(_e)(
|
|
1051
|
-
a.color,
|
|
1052
|
-
e.value.style.chart.layout.dataPolygon.opacity
|
|
1053
|
-
),
|
|
1054
|
-
class: oe({
|
|
1055
|
-
"animated-out": f.value.includes(l) && e.value.useCssAnimation,
|
|
1056
|
-
"animated-in": X.value && Q.value === l && e.value.useCssAnimation
|
|
1057
|
-
})
|
|
1058
|
-
}, null, 10, eo)) : h("", !0)
|
|
1059
|
-
])
|
|
1060
|
-
]))), 256)),
|
|
1061
|
-
e.value.style.chart.layout.plots.show ? (s(), c("g", to, [
|
|
1062
|
-
(s(!0), c(U, null, E(y.value, (a, l) => (s(), c("g", null, [
|
|
1063
|
-
(s(!0), c(U, null, E(a.plots, (r, n) => (s(), c("circle", {
|
|
1064
|
-
cx: r.x,
|
|
1065
|
-
cy: r.y,
|
|
1066
|
-
fill: f.value.includes(n) ? "transparent" : P.value[n] ? P.value[n].color : "transparent",
|
|
1067
|
-
r: Y.value !== null && Y.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
|
|
1068
|
-
stroke: f.value.includes(n) ? "transparent" : e.value.style.chart.backgroundColor,
|
|
1069
|
-
"stroke-width": 0.5,
|
|
1070
|
-
class: oe({
|
|
1071
|
-
"animated-out": f.value.includes(n) && e.value.useCssAnimation,
|
|
1072
|
-
"animated-in": X.value && Q.value === n && e.value.useCssAnimation
|
|
1073
|
-
})
|
|
1074
|
-
}, null, 10, ao))), 256))
|
|
1075
|
-
]))), 256))
|
|
1076
|
-
])) : h("", !0),
|
|
1077
|
-
p(t.$slots, "svg", {
|
|
1078
|
-
svg: {
|
|
1079
|
-
...v.value,
|
|
1080
|
-
isPrintingImg: i(he) | i(fe) | le.value,
|
|
1081
|
-
isPrintingSvg: ne.value
|
|
1082
|
-
}
|
|
1083
|
-
}, void 0, !0)
|
|
1084
|
-
], 46, Ea)),
|
|
1085
|
-
t.$slots.hint ? (s(), c("div", oo, [
|
|
1086
|
-
p(t.$slots, "hint", k(C({
|
|
1087
|
-
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1088
|
-
isVisible: ve.value
|
|
1089
|
-
})), void 0, !0)
|
|
1090
|
-
])) : h("", !0)
|
|
1091
|
-
]),
|
|
1092
|
-
t.$slots.watermark ? (s(), c("div", lo, [
|
|
1093
|
-
p(t.$slots, "watermark", k(C({
|
|
1094
|
-
isPrinting: i(he) || i(fe) || le.value || ne.value
|
|
1095
|
-
})), void 0, !0)
|
|
1096
|
-
])) : h("", !0),
|
|
1097
|
-
b("div", {
|
|
1098
|
-
id: `legend-bottom-${m.value}`
|
|
1099
|
-
}, null, 8, no),
|
|
1100
|
-
ze.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (s(), S(na, {
|
|
1101
|
-
key: 6,
|
|
1102
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${m.value}` : `#legend-bottom-${m.value}`
|
|
1103
|
-
}, [
|
|
1104
|
-
b("div", {
|
|
1105
|
-
ref_key: "chartLegend",
|
|
1106
|
-
ref: xe
|
|
1107
|
-
}, [
|
|
1108
|
-
p(t.$slots, "legend", { legend: _.value }, () => [
|
|
1109
|
-
e.value.style.chart.legend.show ? (s(), S(xa, {
|
|
1110
|
-
key: `legend_${Ve.value}`,
|
|
1111
|
-
legendSet: _.value,
|
|
1112
|
-
config: Et.value,
|
|
1113
|
-
isCursorPointer: D.value,
|
|
1114
|
-
onClickMarker: o[0] || (o[0] = ({ i: a }) => se(a))
|
|
1115
|
-
}, {
|
|
1116
|
-
item: d(({ legend: a, index: l }) => [
|
|
1117
|
-
i(de) ? h("", !0) : (s(), c("div", {
|
|
1118
|
-
key: 0,
|
|
1119
|
-
onClick: (r) => a.segregate(),
|
|
1120
|
-
style: ae(`opacity:${f.value.includes(l) ? 0.5 : 1}`)
|
|
1121
|
-
}, R(a.display), 13, so))
|
|
1122
|
-
]),
|
|
1123
|
-
legendToggle: d(() => [
|
|
1124
|
-
_.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !i(de) ? (s(), S(Ra, {
|
|
1125
|
-
key: 0,
|
|
1126
|
-
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1127
|
-
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
1128
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
1129
|
-
checked: f.value.length > 0,
|
|
1130
|
-
isCursorPointer: D.value,
|
|
1131
|
-
onToggle: Nt
|
|
1132
|
-
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : h("", !0)
|
|
1133
|
-
]),
|
|
1134
|
-
_: 1
|
|
1135
|
-
}, 8, ["legendSet", "config", "isCursorPointer"])) : h("", !0)
|
|
1136
|
-
], !0)
|
|
1137
|
-
], 512)
|
|
1138
|
-
], 8, ["to"])) : h("", !0),
|
|
1139
|
-
t.$slots.source ? (s(), c("div", {
|
|
1140
|
-
key: 7,
|
|
1141
|
-
ref_key: "source",
|
|
1142
|
-
ref: Ne,
|
|
1143
|
-
dir: "auto"
|
|
1144
|
-
}, [
|
|
1145
|
-
p(t.$slots, "source", {}, void 0, !0)
|
|
1146
|
-
], 512)) : h("", !0),
|
|
1147
|
-
ue(i(mt), {
|
|
1148
|
-
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1149
|
-
show: w.value.showTooltip && q.value,
|
|
1150
|
-
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1151
|
-
color: e.value.style.chart.tooltip.color,
|
|
1152
|
-
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
1153
|
-
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
1154
|
-
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
1155
|
-
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1156
|
-
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
1157
|
-
position: e.value.style.chart.tooltip.position,
|
|
1158
|
-
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1159
|
-
parent: I.value,
|
|
1160
|
-
content: ie.value,
|
|
1161
|
-
isFullscreen: B.value,
|
|
1162
|
-
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
1163
|
-
smooth: e.value.style.chart.tooltip.smooth,
|
|
1164
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
1165
|
-
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1166
|
-
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1167
|
-
isA11yMode: J.value === "keyboard",
|
|
1168
|
-
a11yPosition: Be.value
|
|
1169
|
-
}, {
|
|
1170
|
-
"tooltip-before": d(() => [
|
|
1171
|
-
p(t.$slots, "tooltip-before", k(C({ ...re.value })), void 0, !0)
|
|
1172
|
-
]),
|
|
1173
|
-
tooltip: d(() => [
|
|
1174
|
-
p(t.$slots, "tooltip", k(C({ ...re.value })), void 0, !0)
|
|
1175
|
-
]),
|
|
1176
|
-
"tooltip-after": d(() => [
|
|
1177
|
-
!["function"].includes(
|
|
1178
|
-
typeof e.value.style.chart.tooltip.customFormat
|
|
1179
|
-
) && !t.$slots.tooltip ? (s(), c("div", ro, [
|
|
1180
|
-
ue(i(kt), {
|
|
1181
|
-
dataset: be.value,
|
|
1182
|
-
config: xt.value,
|
|
1183
|
-
backgroundOpacity: 0
|
|
1184
|
-
}, {
|
|
1185
|
-
"data-label": d(({ bar: a }) => [
|
|
1186
|
-
b("div", uo, [
|
|
1187
|
-
b("span", io, R(a.name + (e.value.style.chart.tooltip.showValue || e.value.style.chart.tooltip.showPercentage ? ":" : "")), 1),
|
|
1188
|
-
e.value.style.chart.tooltip.showValue || e.value.style.chart.tooltip.showPercentage ? (s(), c("span", co, R(a.suffix), 1)) : h("", !0)
|
|
1189
|
-
])
|
|
1190
|
-
]),
|
|
1191
|
-
_: 1
|
|
1192
|
-
}, 8, ["dataset", "config"])
|
|
1193
|
-
])) : h("", !0),
|
|
1194
|
-
p(t.$slots, "tooltip-after", k(C({ ...re.value })), void 0, !0)
|
|
1195
|
-
]),
|
|
1196
|
-
_: 3
|
|
1197
|
-
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
1198
|
-
Oe.value && e.value.userOptions.buttons.table ? (s(), S(sa(ee.value.component), ra({ key: 8 }, ee.value.props, {
|
|
1199
|
-
ref_key: "tableUnit",
|
|
1200
|
-
ref: H,
|
|
1201
|
-
onClose: ot
|
|
1202
|
-
}), it({
|
|
1203
|
-
content: d(() => [
|
|
1204
|
-
(s(), S(i(wt), {
|
|
1205
|
-
key: `table_${De.value}`,
|
|
1206
|
-
colNames: K.value.colNames,
|
|
1207
|
-
head: K.value.head,
|
|
1208
|
-
body: K.value.body,
|
|
1209
|
-
config: K.value.config,
|
|
1210
|
-
title: e.value.table.useDialog ? "" : ee.value.title,
|
|
1211
|
-
withCloseButton: !e.value.table.useDialog,
|
|
1212
|
-
isCursorPointer: D.value,
|
|
1213
|
-
onClose: ot
|
|
1214
|
-
}, {
|
|
1215
|
-
th: d(({ th: a }) => [
|
|
1216
|
-
Te(R(a.name), 1)
|
|
1217
|
-
]),
|
|
1218
|
-
td: d(({ td: a }) => [
|
|
1219
|
-
Te(R(a), 1)
|
|
1220
|
-
]),
|
|
1221
|
-
_: 1
|
|
1222
|
-
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
|
|
1223
|
-
]),
|
|
1224
|
-
_: 2
|
|
1225
|
-
}, [
|
|
1226
|
-
e.value.table.useDialog ? {
|
|
1227
|
-
name: "title",
|
|
1228
|
-
fn: d(() => [
|
|
1229
|
-
Te(R(ee.value.title), 1)
|
|
1230
|
-
]),
|
|
1231
|
-
key: "0"
|
|
1232
|
-
} : void 0,
|
|
1233
|
-
e.value.table.useDialog ? {
|
|
1234
|
-
name: "actions",
|
|
1235
|
-
fn: d(() => [
|
|
1236
|
-
b("button", {
|
|
1237
|
-
tabindex: "0",
|
|
1238
|
-
class: "vue-ui-user-options-button",
|
|
1239
|
-
onClick: o[1] || (o[1] = (a) => ke(e.value.userOptions.callbacks.csv)),
|
|
1240
|
-
style: ae({ cursor: D.value ? "pointer" : "default" })
|
|
1241
|
-
}, [
|
|
1242
|
-
ue(i(bt), {
|
|
1243
|
-
name: "fileCsv",
|
|
1244
|
-
stroke: ee.value.props.color
|
|
1245
|
-
}, null, 8, ["stroke"])
|
|
1246
|
-
], 4)
|
|
1247
|
-
]),
|
|
1248
|
-
key: "1"
|
|
1249
|
-
} : void 0
|
|
1250
|
-
]), 1040)) : h("", !0),
|
|
1251
|
-
p(t.$slots, "skeleton", {}, () => [
|
|
1252
|
-
i(de) ? (s(), S($a, { key: 0 })) : h("", !0)
|
|
1253
|
-
], !0)
|
|
1254
|
-
], 46, Va));
|
|
1255
|
-
}
|
|
1256
|
-
}, xo = /* @__PURE__ */ Da(vo, [["__scopeId", "data-v-6b0215b0"]]);
|
|
1257
|
-
export {
|
|
1258
|
-
xo as default
|
|
1259
|
-
};
|