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,1918 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as D, computed as m, ref as h, toRefs as nl, watch as Ve, shallowRef as $t, onMounted as rl, onBeforeUnmount as il, openBlock as n, createElementBlock as r, unref as v, normalizeStyle as _, normalizeClass as O, createElementVNode as y, toDisplayString as w, createBlock as B, createCommentVNode as d, withCtx as p, renderSlot as g, normalizeProps as T, guardReactiveProps as q, createSlots as kt, createVNode as ce, Fragment as A, renderList as N, mergeProps as wt, Teleport as vl, resolveDynamicComponent as dl, createTextVNode as Lt, nextTick as _e } from "vue";
|
|
2
|
-
import { j as Ct, t as cl, m as hl, p as Re, o as yl, q as oe, n as bl, s as fl, ak as pl, k as H, l as E, X as gl, u as Te, v as ml, al as xl, Z as $l, W as kl, a0 as wl, a1 as Ll, T as Cl, U as Sl } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { t as _l, u as Tl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ql } from "./useConfig-CG4HT3wS.js";
|
|
5
|
-
import { u as Al, B as zl } from "./BaseScanner-C2j3TsSY.js";
|
|
6
|
-
import { u as Wl } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
-
import { u as Xl } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
-
import { u as Pl } from "./useThemeCheck-C9Ccl7U9.js";
|
|
9
|
-
import { u as De } from "./useNestedProp-DH0BEVVS.js";
|
|
10
|
-
import { u as Yl } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
-
import { u as Ml } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
-
import Ol from "./img-CjTQXS0U.js";
|
|
13
|
-
import Bl from "./Title-BbKoiBk2.js";
|
|
14
|
-
import { _ as St } from "./Shape-CxJ5_Rre.js";
|
|
15
|
-
import Nl from "./vue_ui_quadrant-DjRs--Uz.js";
|
|
16
|
-
import Fl from "./Legend-DGN5lY60.js";
|
|
17
|
-
import { A as Il } from "./A11yDataTable-BpmuNomI.js";
|
|
18
|
-
import { B as Vl } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
19
|
-
import { _ as Rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
|
-
const Dl = ["id"], Hl = ["id"], El = ["id"], Ul = { style: { position: "relative" } }, Ql = ["xmlns", "aria-describedby", "viewBox", "id"], Gl = ["x", "y", "width", "height"], Kl = ["id"], jl = ["stop-color"], Jl = ["stop-color"], Zl = { key: 1 }, ea = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], ta = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], la = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], aa = { key: 2 }, oa = ["points", "fill"], ua = ["points", "fill"], sa = ["points", "fill"], na = ["points", "fill"], ra = { key: 3 }, ia = ["y", "fill", "font-size"], va = ["x", "y", "fill", "font-size"], da = ["x", "y", "fill", "font-size"], ca = ["y", "fill", "font-size"], ha = { key: 4 }, ya = ["x", "y", "font-size", "fill"], ba = ["x", "y", "font-size", "fill"], fa = ["x", "y", "font-size", "fill"], pa = ["id", "font-size", "transform", "fill"], ga = ["id", "font-size", "transform", "fill"], ma = ["id", "font-size", "transform", "fill"], xa = { key: 5 }, $a = ["fill", "points"], ka = ["x", "y", "width", "height"], wa = ["x", "y", "width", "height"], La = ["x", "y", "width", "height"], Ca = ["x", "y", "width", "height"], Sa = ["x", "y", "onMouseenter", "onMouseleave", "onClick"], _a = ["data-a11y-plot-id", "cx", "cy", "r"], Ta = ["data-a11y-plot-id", "cx", "cy", "r"], qa = {
|
|
21
|
-
key: 0,
|
|
22
|
-
style: { "pointer-events": "none" }
|
|
23
|
-
}, Aa = ["x", "y", "font-size", "fill"], za = ["x", "y", "font-size", "fill", "innerHTML"], Wa = { key: 0 }, Xa = ["x", "y", "onMouseover", "onMouseleave", "onClick"], Pa = {
|
|
24
|
-
key: 8,
|
|
25
|
-
class: "vue-ui-dna"
|
|
26
|
-
}, Ya = ["points", "fill"], Ma = ["points", "fill"], Oa = ["points", "fill"], Ba = ["points", "fill"], Na = { key: 9 }, Fa = ["x", "y", "font-size", "fill", "font-weight"], Ia = { key: 10 }, Va = ["x", "y", "fill"], Ra = ["x", "y", "fill"], Da = ["x", "y", "fill"], Ha = ["x", "y", "fill"], Ea = ["stroke", "d"], Ua = ["stroke", "d"], Qa = {
|
|
27
|
-
key: 0,
|
|
28
|
-
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
29
|
-
"data-dom-to-png-ignore": "",
|
|
30
|
-
"aria-hidden": "true"
|
|
31
|
-
}, Ga = {
|
|
32
|
-
key: 5,
|
|
33
|
-
class: "vue-data-ui-watermark"
|
|
34
|
-
}, Ka = ["id"], ja = ["onClick"], Ja = {
|
|
35
|
-
key: 0,
|
|
36
|
-
height: "14",
|
|
37
|
-
width: "14",
|
|
38
|
-
viewBox: "0 0 20 20"
|
|
39
|
-
}, Za = ["innerHTML"], eo = {
|
|
40
|
-
__name: "vue-ui-quadrant",
|
|
41
|
-
props: {
|
|
42
|
-
config: {
|
|
43
|
-
type: Object,
|
|
44
|
-
default() {
|
|
45
|
-
return {};
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
dataset: {
|
|
49
|
-
type: Array,
|
|
50
|
-
default() {
|
|
51
|
-
return [];
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
emits: [
|
|
56
|
-
"selectPlot",
|
|
57
|
-
"selectSide",
|
|
58
|
-
"selectLegend",
|
|
59
|
-
"copyAlt"
|
|
60
|
-
],
|
|
61
|
-
setup(_t, { expose: Tt, emit: qt }) {
|
|
62
|
-
const At = D(() => import("./Tooltip-Cvt7Fi0Q.js")), zt = D(() => import("./BaseIcon-DX0hTWa-.js")), Wt = D(() => import("./vue-ui-accordion-DFtpH_16.js")), Xt = D(() => import("./DataTable-cMnb68Ik.js")), Pt = D(
|
|
63
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
64
|
-
), Yt = D(
|
|
65
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
66
|
-
), Mt = D(
|
|
67
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
68
|
-
), Ot = D(
|
|
69
|
-
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
70
|
-
), { vue_ui_quadrant: Bt } = ql(), { isThemeValid: Nt, warnInvalidTheme: Ft } = Pl(), M = _t, He = m(() => !!M.dataset && M.dataset.length), $ = h(Ct()), he = qt, ye = h(!1), qe = h(""), Ee = h(0), x = h(!1), F = h(null), Ue = h(null), Qe = h(null), Ge = h(null), Ke = h(null), je = h(0), Je = h(0), Ze = h(0), et = h(!1), ue = h(null), Ae = h(null), be = h(!1), fe = h(!1), J = h(null), pe = h(null), tt = h({ x: 0, y: 0 }), ze = h("pointer"), ge = h(!1), e = h(Xe()), X = m(
|
|
71
|
-
() => e.value.userOptions.useCursorPointer
|
|
72
|
-
), It = m(() => ({
|
|
73
|
-
defaultConfig: {
|
|
74
|
-
userOptions: { show: !1 },
|
|
75
|
-
table: { show: !1 },
|
|
76
|
-
style: {
|
|
77
|
-
chart: {
|
|
78
|
-
backgroundColor: "#99999930",
|
|
79
|
-
layout: {
|
|
80
|
-
grid: {
|
|
81
|
-
stroke: "#6A6A6A",
|
|
82
|
-
graduations: {
|
|
83
|
-
stroke: "#6A6A6A",
|
|
84
|
-
color: "#6A6A6A90"
|
|
85
|
-
},
|
|
86
|
-
xAxis: {
|
|
87
|
-
auto: !0
|
|
88
|
-
},
|
|
89
|
-
yAxis: {
|
|
90
|
-
auto: !0
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
labels: {
|
|
94
|
-
quadrantLabels: { show: !1 },
|
|
95
|
-
plotLabels: { show: !1 },
|
|
96
|
-
axisLabels: { show: !1 }
|
|
97
|
-
},
|
|
98
|
-
plots: {
|
|
99
|
-
outlineColor: "#6A6A6A"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
legend: {
|
|
103
|
-
backgroundColor: "transparent"
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
userConfig: e.value.skeletonConfig ?? {}
|
|
109
|
-
})), { loading: me, FINAL_DATASET: lt } = Al({
|
|
110
|
-
...nl(M),
|
|
111
|
-
FINAL_CONFIG: e,
|
|
112
|
-
prepareConfig: Xe,
|
|
113
|
-
callback: () => {
|
|
114
|
-
Promise.resolve().then(async () => {
|
|
115
|
-
await _e(), k.value.showTable = e.value.table.show;
|
|
116
|
-
});
|
|
117
|
-
},
|
|
118
|
-
skeletonDataset: M.config?.skeletonDataset ?? [
|
|
119
|
-
{
|
|
120
|
-
name: "_",
|
|
121
|
-
shape: "circle",
|
|
122
|
-
color: "#CACACA",
|
|
123
|
-
series: [
|
|
124
|
-
{ name: "_", x: -6, y: -4 },
|
|
125
|
-
{ name: "_", x: -5, y: -2 },
|
|
126
|
-
{ name: "_", x: -4, y: -1 },
|
|
127
|
-
{ name: "_", x: -3, y: -0.5 },
|
|
128
|
-
{ name: "_", x: -2, y: -0.25 },
|
|
129
|
-
{ name: "_", x: -1, y: -0.135 },
|
|
130
|
-
{ name: "_", x: 0, y: 0 },
|
|
131
|
-
{ name: "_", x: 1, y: 0.135 },
|
|
132
|
-
{ name: "_", x: 2, y: 0.25 },
|
|
133
|
-
{ name: "_", x: 3, y: 0.5 },
|
|
134
|
-
{ name: "_", x: 4, y: 1 },
|
|
135
|
-
{ name: "_", x: 5, y: 2 },
|
|
136
|
-
{ name: "_", x: 6, y: 4 }
|
|
137
|
-
]
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
skeletonConfig: cl({
|
|
141
|
-
defaultConfig: e.value,
|
|
142
|
-
userConfig: It.value
|
|
143
|
-
})
|
|
144
|
-
}), { userOptionsVisible: We, setUserOptionsVisibility: at, keepUserOptionState: ot } = Yl({ config: e.value }), { svgRef: U } = Ml({
|
|
145
|
-
config: e.value.style.chart.title
|
|
146
|
-
});
|
|
147
|
-
function Xe() {
|
|
148
|
-
const l = De({
|
|
149
|
-
userConfig: M.config,
|
|
150
|
-
defaultConfig: Bt
|
|
151
|
-
}), o = l.theme;
|
|
152
|
-
if (!o) return l;
|
|
153
|
-
if (!Nt.value(l))
|
|
154
|
-
return Ft(l), l;
|
|
155
|
-
const a = De({
|
|
156
|
-
userConfig: Nl[o] || M.config,
|
|
157
|
-
defaultConfig: l
|
|
158
|
-
}), s = De({
|
|
159
|
-
userConfig: M.config,
|
|
160
|
-
defaultConfig: a
|
|
161
|
-
});
|
|
162
|
-
return {
|
|
163
|
-
...s,
|
|
164
|
-
customPalette: s.customPalette.length ? s.customPalette : hl[o] || Re
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
Ve(
|
|
168
|
-
() => M.config,
|
|
169
|
-
(l) => {
|
|
170
|
-
e.value = Xe(), We.value = !e.value.userOptions.showOnChartHover, ut(), je.value += 1, Je.value += 1, Ze.value += 1, k.value.plotLabels.show = e.value.style.chart.layout.labels.plotLabels.show, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
171
|
-
},
|
|
172
|
-
{ deep: !0 }
|
|
173
|
-
);
|
|
174
|
-
const V = $t(null), Z = $t(null), ee = m(() => e.value.debug);
|
|
175
|
-
function ut() {
|
|
176
|
-
if (yl(M.dataset) ? oe({
|
|
177
|
-
componentName: "VueUiQuadrant",
|
|
178
|
-
type: "dataset",
|
|
179
|
-
debug: ee.value
|
|
180
|
-
}) : M.dataset.forEach((l, o) => {
|
|
181
|
-
[null, void 0].includes(l.name) && oe({
|
|
182
|
-
componentName: "VueUiQuadrant",
|
|
183
|
-
type: "datasetSerieAttribute",
|
|
184
|
-
property: "name",
|
|
185
|
-
index: o,
|
|
186
|
-
debug: ee.value
|
|
187
|
-
}), [null, void 0].includes(l.series) ? oe({
|
|
188
|
-
componentName: "VueUiQuadrant",
|
|
189
|
-
type: "datasetSerieAttribute",
|
|
190
|
-
property: "series",
|
|
191
|
-
index: o,
|
|
192
|
-
debug: ee.value
|
|
193
|
-
}) : l.series.forEach((a, s) => {
|
|
194
|
-
[null, void 0].includes(a.name) && oe({
|
|
195
|
-
componentName: "VueUiQuadrant",
|
|
196
|
-
type: "datasetSerieAttribute",
|
|
197
|
-
property: "name",
|
|
198
|
-
key: "series",
|
|
199
|
-
index: s,
|
|
200
|
-
debug: ee.value
|
|
201
|
-
});
|
|
202
|
-
});
|
|
203
|
-
}), e.value.responsive) {
|
|
204
|
-
const l = _l(() => {
|
|
205
|
-
const { width: o, height: a } = Tl({
|
|
206
|
-
chart: F.value,
|
|
207
|
-
title: e.value.style.chart.title.text ? Ue.value : null,
|
|
208
|
-
legend: e.value.style.chart.legend.show ? Qe.value : null,
|
|
209
|
-
source: Ge.value,
|
|
210
|
-
noTitle: Ke.value
|
|
211
|
-
});
|
|
212
|
-
L.value = 48, requestAnimationFrame(() => {
|
|
213
|
-
t.value.height = a, t.value.usableHeight = a - L.value * 2, t.value.width = o, t.value.usableWidth = o - L.value * 2, t.value.top = L.value, t.value.left = L.value, t.value.right = o - L.value, t.value.bottom = a - L.value, t.value.centerX = o / 2, t.value.centerY = a - a / 2, t.value.padding = L.value;
|
|
214
|
-
});
|
|
215
|
-
});
|
|
216
|
-
V.value && (Z.value && V.value.unobserve(Z.value), V.value.disconnect()), V.value = new ResizeObserver(l), Z.value = F.value.parentNode, V.value.observe(Z.value);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
rl(() => {
|
|
220
|
-
et.value = !0, ut();
|
|
221
|
-
}), il(() => {
|
|
222
|
-
V.value && (Z.value && V.value.unobserve(Z.value), V.value.disconnect());
|
|
223
|
-
});
|
|
224
|
-
const { isPrinting: Pe, isImaging: Ye, generatePdf: st, generateImage: nt } = Wl({
|
|
225
|
-
elementId: `vue-ui-quadrant_${$.value}`,
|
|
226
|
-
fileName: e.value.style.chart.title.text || "vue-ui-quadrant",
|
|
227
|
-
options: e.value.userOptions.print
|
|
228
|
-
}), Vt = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), rt = m(() => bl(e.value.customPalette)), k = h({
|
|
229
|
-
plotLabels: {
|
|
230
|
-
show: e.value.style.chart.layout.labels.plotLabels.show
|
|
231
|
-
},
|
|
232
|
-
showTable: e.value.table.show,
|
|
233
|
-
showTooltip: e.value.style.chart.tooltip.show
|
|
234
|
-
}), L = h(48), t = h({
|
|
235
|
-
height: e.value.style.chart.height,
|
|
236
|
-
usableHeight: e.value.style.chart.height - L.value * 2,
|
|
237
|
-
width: e.value.style.chart.width,
|
|
238
|
-
usableWidth: e.value.style.chart.width - L.value * 2,
|
|
239
|
-
top: L.value,
|
|
240
|
-
left: L.value,
|
|
241
|
-
right: e.value.style.chart.width - L.value,
|
|
242
|
-
bottom: e.value.style.chart.height - L.value,
|
|
243
|
-
centerX: e.value.style.chart.width / 2,
|
|
244
|
-
centerY: e.value.style.chart.height - e.value.style.chart.height / 2,
|
|
245
|
-
padding: L.value
|
|
246
|
-
}), b = h({
|
|
247
|
-
...JSON.parse(JSON.stringify(t.value)),
|
|
248
|
-
startX: 0,
|
|
249
|
-
startY: 0
|
|
250
|
-
});
|
|
251
|
-
Ve(
|
|
252
|
-
() => t.value,
|
|
253
|
-
(l) => {
|
|
254
|
-
l && (b.value = {
|
|
255
|
-
...JSON.parse(JSON.stringify(t.value)),
|
|
256
|
-
startX: 0,
|
|
257
|
-
startY: 0
|
|
258
|
-
});
|
|
259
|
-
},
|
|
260
|
-
{ deep: !0 }
|
|
261
|
-
);
|
|
262
|
-
const f = h(null), Q = m(() => {
|
|
263
|
-
switch (f.value) {
|
|
264
|
-
case "TL":
|
|
265
|
-
return {
|
|
266
|
-
x: b.value.startX + b.value.width / 2,
|
|
267
|
-
y: b.value.height,
|
|
268
|
-
text: e.value.style.chart.layout.labels.quadrantLabels.tl.text || "Top Left",
|
|
269
|
-
fontSize: e.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
270
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
271
|
-
bold: e.value.style.chart.layout.labels.quadrantLabels.tl.bold
|
|
272
|
-
};
|
|
273
|
-
case "TR":
|
|
274
|
-
return {
|
|
275
|
-
x: b.value.startX + b.value.width / 2,
|
|
276
|
-
y: b.value.height,
|
|
277
|
-
text: e.value.style.chart.layout.labels.quadrantLabels.tr.text || "Top Right",
|
|
278
|
-
fontSize: e.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
279
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
280
|
-
bold: e.value.style.chart.layout.labels.quadrantLabels.tr.bold
|
|
281
|
-
};
|
|
282
|
-
case "BR":
|
|
283
|
-
return {
|
|
284
|
-
x: b.value.startX + b.value.width / 2,
|
|
285
|
-
y: b.value.height * 1.678,
|
|
286
|
-
text: e.value.style.chart.layout.labels.quadrantLabels.br.text || "Bottom Right",
|
|
287
|
-
fontSize: e.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
288
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
289
|
-
bold: e.value.style.chart.layout.labels.quadrantLabels.br.bold
|
|
290
|
-
};
|
|
291
|
-
case "BL":
|
|
292
|
-
return {
|
|
293
|
-
x: b.value.startX + b.value.width / 2,
|
|
294
|
-
y: b.value.height * 1.678,
|
|
295
|
-
text: e.value.style.chart.layout.labels.quadrantLabels.bl.text || "Bottom Left",
|
|
296
|
-
fontSize: e.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
297
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
298
|
-
bold: e.value.style.chart.layout.labels.quadrantLabels.bl.bold
|
|
299
|
-
};
|
|
300
|
-
default:
|
|
301
|
-
return {
|
|
302
|
-
x: 0,
|
|
303
|
-
y: 0,
|
|
304
|
-
text: "",
|
|
305
|
-
fontSize: 0,
|
|
306
|
-
fill: "none",
|
|
307
|
-
bold: !1
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
}), Rt = h(null), xe = h(!1);
|
|
311
|
-
function se({ targetX: l, targetY: o, targetW: a, targetH: s, side: u }) {
|
|
312
|
-
f.value && ie(u);
|
|
313
|
-
const i = {
|
|
314
|
-
x: l - b.value.startX,
|
|
315
|
-
y: o - b.value.startY,
|
|
316
|
-
w: a - b.value.width,
|
|
317
|
-
h: s - b.value.height
|
|
318
|
-
}, c = e.value.zoomAnimationFrames;
|
|
319
|
-
let Y = 0;
|
|
320
|
-
function Ce() {
|
|
321
|
-
xe.value = !0, b.value.startX += i.x / c, b.value.startY += i.y / c, b.value.width += i.w / c, b.value.height += i.h / c, Y += 1, Y < c ? Rt.value = requestAnimationFrame(Ce) : xe.value = !1;
|
|
322
|
-
}
|
|
323
|
-
Ce();
|
|
324
|
-
}
|
|
325
|
-
const I = m(() => e.value.zoomEnabled);
|
|
326
|
-
function R(l) {
|
|
327
|
-
if (I.value && !xe.value)
|
|
328
|
-
if (x.value && f.value === l)
|
|
329
|
-
se({
|
|
330
|
-
targetX: 0,
|
|
331
|
-
targetY: 0,
|
|
332
|
-
targetW: t.value.width,
|
|
333
|
-
targetH: t.value.height
|
|
334
|
-
}), f.value = null, x.value = !1;
|
|
335
|
-
else {
|
|
336
|
-
switch (f.value = l, l) {
|
|
337
|
-
case "TL":
|
|
338
|
-
se({
|
|
339
|
-
targetX: 0,
|
|
340
|
-
targetY: 0,
|
|
341
|
-
targetW: t.value.width / 2 + t.value.left,
|
|
342
|
-
targetH: t.value.height / 2 + t.value.top,
|
|
343
|
-
side: "tl"
|
|
344
|
-
});
|
|
345
|
-
break;
|
|
346
|
-
case "TR":
|
|
347
|
-
se({
|
|
348
|
-
targetX: t.value.width / 2 - t.value.left,
|
|
349
|
-
targetY: 0,
|
|
350
|
-
targetW: t.value.width / 2 + t.value.left,
|
|
351
|
-
targetH: t.value.height / 2 + t.value.top,
|
|
352
|
-
side: "tr"
|
|
353
|
-
});
|
|
354
|
-
break;
|
|
355
|
-
case "BR":
|
|
356
|
-
se({
|
|
357
|
-
targetX: t.value.width / 2 - t.value.left,
|
|
358
|
-
targetY: t.value.height / 2 - t.value.top,
|
|
359
|
-
targetW: t.value.width / 2 + t.value.left,
|
|
360
|
-
targetH: t.value.height / 2 + t.value.top,
|
|
361
|
-
side: "br"
|
|
362
|
-
});
|
|
363
|
-
break;
|
|
364
|
-
case "BL":
|
|
365
|
-
se({
|
|
366
|
-
targetX: 0,
|
|
367
|
-
targetY: t.value.height / 2 - t.value.top,
|
|
368
|
-
targetW: t.value.width / 2 + t.value.left,
|
|
369
|
-
targetH: t.value.height / 2 + t.value.top,
|
|
370
|
-
side: "bl"
|
|
371
|
-
});
|
|
372
|
-
break;
|
|
373
|
-
default:
|
|
374
|
-
b.value.startX = 0, b.value.startY = 0, b.value.width = t.value.width, b.value.height = t.value.height;
|
|
375
|
-
break;
|
|
376
|
-
}
|
|
377
|
-
x.value = !0;
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
const Dt = m(() => {
|
|
381
|
-
const l = e.value.style.chart.layout.grid.graduations.steps, o = t.value.usableWidth / (l * 2), a = t.value.top, s = [];
|
|
382
|
-
for (let u = 0; u < l; u += 1)
|
|
383
|
-
s.push({
|
|
384
|
-
x: t.value.padding + o * u,
|
|
385
|
-
y: a + t.value.usableHeight * (u / l / 2),
|
|
386
|
-
height: t.value.usableHeight * (1 - u / l),
|
|
387
|
-
width: t.value.usableWidth * (1 - u / l),
|
|
388
|
-
opacity: Math.round((u + 1) / l * 20)
|
|
389
|
-
});
|
|
390
|
-
return s;
|
|
391
|
-
}), z = m(() => {
|
|
392
|
-
let l = e.value.style.chart.layout.grid.xAxis.max, o = e.value.style.chart.layout.grid.xAxis.min, a = e.value.style.chart.layout.grid.yAxis.max, s = e.value.style.chart.layout.grid.yAxis.min;
|
|
393
|
-
return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(
|
|
394
|
-
...te.value.flatMap((u) => u.series.map((i) => i.x))
|
|
395
|
-
), o = Math.min(
|
|
396
|
-
...te.value.flatMap((u) => u.series.map((i) => i.x))
|
|
397
|
-
)), e.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(
|
|
398
|
-
...te.value.flatMap((u) => u.series.map((i) => i.y))
|
|
399
|
-
), s = Math.min(
|
|
400
|
-
...te.value.flatMap((u) => u.series.map((i) => i.y))
|
|
401
|
-
)), {
|
|
402
|
-
x: {
|
|
403
|
-
max: l,
|
|
404
|
-
min: o
|
|
405
|
-
},
|
|
406
|
-
y: {
|
|
407
|
-
max: a,
|
|
408
|
-
min: s
|
|
409
|
-
}
|
|
410
|
-
};
|
|
411
|
-
}), C = h([]), te = m(
|
|
412
|
-
() => lt.value.map((l, o) => ({
|
|
413
|
-
...l,
|
|
414
|
-
series: pl({
|
|
415
|
-
data: l.series,
|
|
416
|
-
threshold: e.value.downsample.threshold
|
|
417
|
-
}),
|
|
418
|
-
id: `cat_${o}_${$.value}`,
|
|
419
|
-
color: fl(l.color) || rt.value[o] || Re[o]
|
|
420
|
-
}))
|
|
421
|
-
), Me = m(() => te.value.filter((l) => !C.value.includes(l.id))), Ht = m(() => te.value.map((l, o) => ({
|
|
422
|
-
...l,
|
|
423
|
-
shape: l.shape || "circle",
|
|
424
|
-
series: l.series.map((a) => ({
|
|
425
|
-
...a,
|
|
426
|
-
x: it(a.x),
|
|
427
|
-
y: vt(a.y),
|
|
428
|
-
xValue: a.x,
|
|
429
|
-
yValue: a.y,
|
|
430
|
-
quadrantSide: ct({ x: a.x, y: a.y }),
|
|
431
|
-
categoryName: l.name,
|
|
432
|
-
category: l,
|
|
433
|
-
shape: l.shape,
|
|
434
|
-
color: l.color
|
|
435
|
-
}))
|
|
436
|
-
}))), W = m(() => (lt.value.forEach((l, o) => {
|
|
437
|
-
l.series.forEach((a, s) => {
|
|
438
|
-
[null, void 0].includes(a.x) && oe({
|
|
439
|
-
componentName: "VueUiQuadrant",
|
|
440
|
-
type: "datasetSerieAttribute",
|
|
441
|
-
property: "x",
|
|
442
|
-
key: "series",
|
|
443
|
-
index: s,
|
|
444
|
-
debug: ee.value
|
|
445
|
-
}), [null, void 0].includes(a.y) && oe({
|
|
446
|
-
componentName: "VueUiQuadrant",
|
|
447
|
-
type: "datasetSerieAttribute",
|
|
448
|
-
property: "y",
|
|
449
|
-
key: "series",
|
|
450
|
-
index: s,
|
|
451
|
-
debug: ee.value
|
|
452
|
-
});
|
|
453
|
-
});
|
|
454
|
-
}), Me.value.map((l, o) => ({
|
|
455
|
-
...l,
|
|
456
|
-
shape: l.shape || "circle",
|
|
457
|
-
color: l.color || rt.value[o] || Re[o],
|
|
458
|
-
series: l.series.map((a) => ({
|
|
459
|
-
...a,
|
|
460
|
-
category: l,
|
|
461
|
-
x: it(a.x),
|
|
462
|
-
y: vt(a.y),
|
|
463
|
-
xValue: a.x,
|
|
464
|
-
yValue: a.y,
|
|
465
|
-
quadrantSide: ct({ x: a.x, y: a.y }),
|
|
466
|
-
categoryName: l.name,
|
|
467
|
-
shape: l.shape,
|
|
468
|
-
color: l.color,
|
|
469
|
-
uid: Ct()
|
|
470
|
-
}))
|
|
471
|
-
}))));
|
|
472
|
-
function it(l) {
|
|
473
|
-
if (l >= 0) {
|
|
474
|
-
const o = l / z.value.x.max;
|
|
475
|
-
return t.value.centerX + t.value.usableWidth / 2 * o;
|
|
476
|
-
} else {
|
|
477
|
-
const o = Math.abs(l) / Math.abs(z.value.x.min);
|
|
478
|
-
return t.value.centerX - t.value.usableWidth / 2 * o;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
function vt(l) {
|
|
482
|
-
if (l >= 0) {
|
|
483
|
-
const o = l / z.value.y.max;
|
|
484
|
-
return t.value.centerY + (1 - t.value.usableHeight / 2 * o);
|
|
485
|
-
} else {
|
|
486
|
-
const o = Math.abs(l) / Math.abs(z.value.y.min);
|
|
487
|
-
return t.value.centerY - (1 - t.value.usableHeight / 2 * o);
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
const $e = m(() => {
|
|
491
|
-
const l = W.value.flatMap((c) => c.series.map((Y) => ({
|
|
492
|
-
x: Y.xValue,
|
|
493
|
-
y: Y.yValue,
|
|
494
|
-
name: Y.name,
|
|
495
|
-
category: Y.categoryName,
|
|
496
|
-
quadrantSide: Y.quadrantSide,
|
|
497
|
-
sideName: e.value.style.chart.layout.labels.quadrantLabels[Y.quadrantSide].text,
|
|
498
|
-
color: c.color,
|
|
499
|
-
shape: c.shape
|
|
500
|
-
}))), o = e.value.style.chart.layout.grid.xAxis.name || "x", a = e.value.style.chart.layout.grid.yAxis.name || "y", s = [
|
|
501
|
-
e.value.translations.category,
|
|
502
|
-
e.value.translations.item,
|
|
503
|
-
o,
|
|
504
|
-
a,
|
|
505
|
-
e.value.translations.side
|
|
506
|
-
], u = l.map((c) => [
|
|
507
|
-
c.category,
|
|
508
|
-
c.name,
|
|
509
|
-
c.x,
|
|
510
|
-
c.y,
|
|
511
|
-
c.sideName || c.quadrantSide
|
|
512
|
-
]), i = l.map((c) => ({
|
|
513
|
-
shape: c.shape,
|
|
514
|
-
color: c.color
|
|
515
|
-
}));
|
|
516
|
-
return { head: s, body: u, itsShapes: i, tableData: l };
|
|
517
|
-
}), le = m(() => {
|
|
518
|
-
const l = $e.value.head, o = $e.value.tableData.map((u) => [
|
|
519
|
-
{
|
|
520
|
-
shape: u.shape,
|
|
521
|
-
color: u.color,
|
|
522
|
-
name: u.category
|
|
523
|
-
},
|
|
524
|
-
u.name,
|
|
525
|
-
H(
|
|
526
|
-
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
527
|
-
u.x,
|
|
528
|
-
E({
|
|
529
|
-
v: u.x,
|
|
530
|
-
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
531
|
-
})
|
|
532
|
-
),
|
|
533
|
-
H(
|
|
534
|
-
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
535
|
-
u.y,
|
|
536
|
-
E({
|
|
537
|
-
v: u.y,
|
|
538
|
-
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
539
|
-
})
|
|
540
|
-
),
|
|
541
|
-
u.sideName || u.quadrantSide
|
|
542
|
-
]), a = o.map((u) => u.map((i, c) => c === 0 ? i.name ?? "" : i)), s = {
|
|
543
|
-
th: {
|
|
544
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
545
|
-
color: e.value.table.th.color,
|
|
546
|
-
outline: e.value.table.th.outline
|
|
547
|
-
},
|
|
548
|
-
td: {
|
|
549
|
-
backgroundColor: e.value.table.td.backgroundColor,
|
|
550
|
-
color: e.value.table.td.color,
|
|
551
|
-
outline: e.value.table.td.outline
|
|
552
|
-
},
|
|
553
|
-
breakpoint: e.value.table.responsiveBreakpoint
|
|
554
|
-
};
|
|
555
|
-
return { head: l, body: o, a11yBody: a, config: s, colNames: l };
|
|
556
|
-
});
|
|
557
|
-
function Et() {
|
|
558
|
-
C.value.length ? C.value = [] : G.value.forEach((l) => {
|
|
559
|
-
C.value.push(l.id);
|
|
560
|
-
});
|
|
561
|
-
}
|
|
562
|
-
function ne(l) {
|
|
563
|
-
C.value.includes(l) ? C.value = C.value.filter((a) => a !== l) : C.value.push(l);
|
|
564
|
-
const o = ht();
|
|
565
|
-
he("selectLegend", o);
|
|
566
|
-
}
|
|
567
|
-
const G = m(() => Ht.value.map((l) => ({
|
|
568
|
-
name: l.name,
|
|
569
|
-
shape: l.shape,
|
|
570
|
-
color: l.color,
|
|
571
|
-
id: l.id,
|
|
572
|
-
opacity: C.value.includes(l.id) ? 0.5 : 1,
|
|
573
|
-
segregate: () => ne(l.id),
|
|
574
|
-
isSegregated: C.value.includes(l.id)
|
|
575
|
-
})));
|
|
576
|
-
function dt(l) {
|
|
577
|
-
if (!G.value.length)
|
|
578
|
-
return e.value.debug && console.warn("VueUiQuadrant - There are no series to show."), null;
|
|
579
|
-
const o = G.value.find((a) => a.name === l);
|
|
580
|
-
return o || (e.value.debug && console.warn(`VueUiQuadrant - Series name not found "${l}"`), null);
|
|
581
|
-
}
|
|
582
|
-
function Ut(l) {
|
|
583
|
-
const o = dt(l);
|
|
584
|
-
o !== null && C.value.includes(o.id) && ne(o.id);
|
|
585
|
-
}
|
|
586
|
-
function Qt(l) {
|
|
587
|
-
const o = dt(l);
|
|
588
|
-
o !== null && (C.value.includes(o.id) || ne(o.id));
|
|
589
|
-
}
|
|
590
|
-
const Gt = m(() => ({
|
|
591
|
-
cy: "quadrant-div-legend",
|
|
592
|
-
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
593
|
-
color: e.value.style.chart.legend.color,
|
|
594
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
595
|
-
paddingBottom: 12,
|
|
596
|
-
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
597
|
-
}));
|
|
598
|
-
function ct(l) {
|
|
599
|
-
switch (!0) {
|
|
600
|
-
case (l.x >= 0 && l.y >= 0):
|
|
601
|
-
return "tr";
|
|
602
|
-
case (l.x >= 0 && l.y < 0):
|
|
603
|
-
return "br";
|
|
604
|
-
case (l.x < 0 && l.y < 0):
|
|
605
|
-
return "bl";
|
|
606
|
-
case (l.x < 0 && l.y >= 0):
|
|
607
|
-
return "tl";
|
|
608
|
-
default:
|
|
609
|
-
return "";
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
const K = h(null), re = h(null), ke = h(null);
|
|
613
|
-
function Oe() {
|
|
614
|
-
K.value = null, re.value = null, J.value = null, pe.value = null, ye.value = !1;
|
|
615
|
-
}
|
|
616
|
-
function Kt(l) {
|
|
617
|
-
if (!U.value || !l) return;
|
|
618
|
-
const o = `[data-a11y-plot-id="${l}"]`, a = U.value.querySelector(o);
|
|
619
|
-
if (!a) return;
|
|
620
|
-
const s = a.getBoundingClientRect();
|
|
621
|
-
tt.value = {
|
|
622
|
-
x: s.left + s.width / 2,
|
|
623
|
-
y: s.top + s.height / 2
|
|
624
|
-
};
|
|
625
|
-
}
|
|
626
|
-
function we(l, o, a, s = "pointer", u = null) {
|
|
627
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
628
|
-
datapoint: o,
|
|
629
|
-
seriesIndex: a
|
|
630
|
-
}), K.value = o.uid, re.value = {
|
|
631
|
-
color: l.color,
|
|
632
|
-
shape: l.shape
|
|
633
|
-
}, ze.value = s, J.value = u, pe.value = o.uid, ke.value = {
|
|
634
|
-
datapoint: o,
|
|
635
|
-
seriesIndex: a,
|
|
636
|
-
series: W.value,
|
|
637
|
-
config: e.value
|
|
638
|
-
};
|
|
639
|
-
const i = e.value.style.chart.tooltip.customFormat;
|
|
640
|
-
if (Cl(i) && Sl(
|
|
641
|
-
() => i({
|
|
642
|
-
seriesIndex: a,
|
|
643
|
-
datapoint: o,
|
|
644
|
-
series: W.value,
|
|
645
|
-
config: e.value
|
|
646
|
-
})
|
|
647
|
-
))
|
|
648
|
-
qe.value = i({
|
|
649
|
-
seriesIndex: a,
|
|
650
|
-
datapoint: o,
|
|
651
|
-
series: W.value,
|
|
652
|
-
config: e.value
|
|
653
|
-
});
|
|
654
|
-
else {
|
|
655
|
-
let c = "";
|
|
656
|
-
o.quadrantSide && (c += `<div style="color:${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].color};font-weight:${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].bold ? "bold" : "400"}">${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text}</div>`), c += `<div>${l.name}</div>`, c += `<div style="padding-bottom:6px;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px">${o.name}</div>`, c += `<div>${e.value.style.chart.layout.grid.xAxis.name ? e.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${H(
|
|
657
|
-
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
658
|
-
o.xValue,
|
|
659
|
-
E({
|
|
660
|
-
v: o.xValue,
|
|
661
|
-
r: e.value.style.chart.tooltip.roundingValue
|
|
662
|
-
}),
|
|
663
|
-
{ datapoint: o, category: l, categoryIndex: a }
|
|
664
|
-
)}</b></div>`, c += `<div>${e.value.style.chart.layout.grid.yAxis.name ? e.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${H(
|
|
665
|
-
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
666
|
-
o.yValue,
|
|
667
|
-
E({
|
|
668
|
-
v: o.yValue,
|
|
669
|
-
r: e.value.style.chart.tooltip.roundingValue
|
|
670
|
-
}),
|
|
671
|
-
{ datapoint: o, category: l, categoryIndex: a }
|
|
672
|
-
)}</b></div>`, qe.value = `<div style="text-align:left;font-size:${e.value.style.chart.tooltip.fontSize}px">${c}</div>`;
|
|
673
|
-
}
|
|
674
|
-
s === "keyboard" && _e(() => {
|
|
675
|
-
Kt(o.uid);
|
|
676
|
-
}), ye.value = !0;
|
|
677
|
-
}
|
|
678
|
-
function Be(l, o) {
|
|
679
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
680
|
-
datapoint: l,
|
|
681
|
-
seriesIndex: o
|
|
682
|
-
}), !(pe.value === l.uid && ze.value === "keyboard") && (ye.value = !1, K.value = null, re.value = null);
|
|
683
|
-
}
|
|
684
|
-
function Le(l, o, a) {
|
|
685
|
-
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
686
|
-
datapoint: o,
|
|
687
|
-
seriesIndex: a
|
|
688
|
-
});
|
|
689
|
-
const s = {
|
|
690
|
-
category: l.name,
|
|
691
|
-
shape: l.shape,
|
|
692
|
-
itemName: o.name,
|
|
693
|
-
x: o.xValue,
|
|
694
|
-
y: o.yValue,
|
|
695
|
-
quadrantSide: o.quadrantSide,
|
|
696
|
-
sideName: e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text
|
|
697
|
-
};
|
|
698
|
-
he("selectPlot", s);
|
|
699
|
-
}
|
|
700
|
-
function ie(l) {
|
|
701
|
-
if (!l) return;
|
|
702
|
-
const o = W.value.flatMap(
|
|
703
|
-
(s) => s.series.filter((u) => u.quadrantSide === l).map((u) => ({
|
|
704
|
-
category: u.categoryName,
|
|
705
|
-
itemName: u.name,
|
|
706
|
-
x: u.xValue,
|
|
707
|
-
y: u.yValue
|
|
708
|
-
}))
|
|
709
|
-
), a = {
|
|
710
|
-
quadrantSide: l,
|
|
711
|
-
sideName: e.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
712
|
-
items: [...o]
|
|
713
|
-
};
|
|
714
|
-
he("selectSide", a);
|
|
715
|
-
}
|
|
716
|
-
const S = m(() => ({
|
|
717
|
-
TL: {
|
|
718
|
-
tl: {
|
|
719
|
-
x: t.value.left + t.value.usableWidth / 4 - 20,
|
|
720
|
-
y: 0,
|
|
721
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
722
|
-
},
|
|
723
|
-
tr: {
|
|
724
|
-
x: t.value.left + t.value.usableWidth / 4,
|
|
725
|
-
y: 0,
|
|
726
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
727
|
-
},
|
|
728
|
-
br: {
|
|
729
|
-
x: t.value.left + t.value.usableWidth / 4,
|
|
730
|
-
y: 20,
|
|
731
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
732
|
-
},
|
|
733
|
-
bl: {
|
|
734
|
-
x: t.value.left + t.value.usableWidth / 4 - 20,
|
|
735
|
-
y: 20,
|
|
736
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
737
|
-
},
|
|
738
|
-
crosshairs: {
|
|
739
|
-
horizontal: `M ${t.value.left + t.value.usableWidth / 4 - 20},20 ${t.value.left + t.value.usableWidth / 4 + 20},20`,
|
|
740
|
-
vertical: `M ${t.value.left + t.value.usableWidth / 4},0 ${t.value.left + t.value.usableWidth / 4},40`
|
|
741
|
-
}
|
|
742
|
-
},
|
|
743
|
-
TR: {
|
|
744
|
-
tl: {
|
|
745
|
-
x: t.value.centerX + t.value.usableWidth / 4 - 20,
|
|
746
|
-
y: 0,
|
|
747
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
748
|
-
},
|
|
749
|
-
tr: {
|
|
750
|
-
x: t.value.centerX + t.value.usableWidth / 4,
|
|
751
|
-
y: 0,
|
|
752
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
753
|
-
},
|
|
754
|
-
br: {
|
|
755
|
-
x: t.value.centerX + t.value.usableWidth / 4,
|
|
756
|
-
y: 20,
|
|
757
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
758
|
-
},
|
|
759
|
-
bl: {
|
|
760
|
-
x: t.value.centerX + t.value.usableWidth / 4 - 20,
|
|
761
|
-
y: 20,
|
|
762
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
763
|
-
},
|
|
764
|
-
crosshairs: {
|
|
765
|
-
horizontal: `M ${t.value.centerX + t.value.usableWidth / 4 - 20},20 ${t.value.centerX + t.value.usableWidth / 4 + 20},20`,
|
|
766
|
-
vertical: `M ${t.value.centerX + t.value.usableWidth / 4},0 ${t.value.centerX + t.value.usableWidth / 4},40`
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
|
-
BR: {
|
|
770
|
-
tl: {
|
|
771
|
-
x: t.value.centerX + t.value.usableWidth / 4 - 20,
|
|
772
|
-
y: t.value.centerY - 48,
|
|
773
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
774
|
-
},
|
|
775
|
-
tr: {
|
|
776
|
-
x: t.value.centerX + t.value.usableWidth / 4,
|
|
777
|
-
y: t.value.centerY - 48,
|
|
778
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
779
|
-
},
|
|
780
|
-
br: {
|
|
781
|
-
x: t.value.centerX + t.value.usableWidth / 4,
|
|
782
|
-
y: t.value.centerY - 28,
|
|
783
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
784
|
-
},
|
|
785
|
-
bl: {
|
|
786
|
-
x: t.value.centerX + t.value.usableWidth / 4 - 20,
|
|
787
|
-
y: t.value.centerY - 28,
|
|
788
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
789
|
-
},
|
|
790
|
-
crosshairs: {
|
|
791
|
-
horizontal: `M ${t.value.centerX + t.value.usableWidth / 4 - 20},${t.value.centerY - 28} ${t.value.centerX + t.value.usableWidth / 4 + 20},${t.value.centerY - 28}`,
|
|
792
|
-
vertical: `M ${t.value.centerX + t.value.usableWidth / 4},${t.value.centerY - 48} ${t.value.centerX + t.value.usableWidth / 4},${t.value.centerY - 8}`
|
|
793
|
-
}
|
|
794
|
-
},
|
|
795
|
-
BL: {
|
|
796
|
-
tl: {
|
|
797
|
-
x: t.value.left + t.value.usableWidth / 4 - 20,
|
|
798
|
-
y: t.value.centerY - 48,
|
|
799
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
800
|
-
},
|
|
801
|
-
tr: {
|
|
802
|
-
x: t.value.left + t.value.usableWidth / 4,
|
|
803
|
-
y: t.value.centerY - 48,
|
|
804
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
805
|
-
},
|
|
806
|
-
br: {
|
|
807
|
-
x: t.value.left + t.value.usableWidth / 4,
|
|
808
|
-
y: t.value.centerY - 28,
|
|
809
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
810
|
-
},
|
|
811
|
-
bl: {
|
|
812
|
-
x: t.value.left + t.value.usableWidth / 4 - 20,
|
|
813
|
-
y: t.value.centerY - 28,
|
|
814
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
815
|
-
},
|
|
816
|
-
crosshairs: {
|
|
817
|
-
horizontal: `M ${t.value.left + t.value.usableWidth / 4 - 20},${t.value.centerY - 28} ${t.value.left + t.value.usableWidth / 4 + 20},${t.value.centerY - 28}`,
|
|
818
|
-
vertical: `M ${t.value.left + t.value.usableWidth / 4},${t.value.centerY - 48} ${t.value.left + t.value.usableWidth / 4},${t.value.centerY - 8}`
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
}));
|
|
822
|
-
function ht() {
|
|
823
|
-
return W.value.map((l) => ({
|
|
824
|
-
color: l.color,
|
|
825
|
-
name: l.name,
|
|
826
|
-
shape: l.shape,
|
|
827
|
-
series: l.series.map((o) => ({
|
|
828
|
-
name: o.name,
|
|
829
|
-
x: o.xValue,
|
|
830
|
-
y: o.yValue,
|
|
831
|
-
quadrantSide: o.quadrantSide,
|
|
832
|
-
sideName: e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text
|
|
833
|
-
}))
|
|
834
|
-
}));
|
|
835
|
-
}
|
|
836
|
-
function Ne(l = null) {
|
|
837
|
-
_e(() => {
|
|
838
|
-
const o = [
|
|
839
|
-
[e.value.style.chart.title.text],
|
|
840
|
-
[e.value.style.chart.title.subtitle.text],
|
|
841
|
-
[""]
|
|
842
|
-
], a = $e.value.head, s = $e.value.body, u = o.concat([a]).concat(s), i = wl(u);
|
|
843
|
-
l ? l(i) : Ll({
|
|
844
|
-
csvContent: i,
|
|
845
|
-
title: e.value.style.chart.title.text || "vue-ui-quadrant"
|
|
846
|
-
});
|
|
847
|
-
});
|
|
848
|
-
}
|
|
849
|
-
const j = h(!1);
|
|
850
|
-
function yt(l) {
|
|
851
|
-
j.value = l, Ee.value += 1;
|
|
852
|
-
}
|
|
853
|
-
function bt() {
|
|
854
|
-
k.value.showTable = !k.value.showTable;
|
|
855
|
-
}
|
|
856
|
-
function ft() {
|
|
857
|
-
k.value.plotLabels.show = !k.value.plotLabels.show;
|
|
858
|
-
}
|
|
859
|
-
function pt() {
|
|
860
|
-
k.value.showTooltip = !k.value.showTooltip;
|
|
861
|
-
}
|
|
862
|
-
const ve = h(!1);
|
|
863
|
-
function Fe() {
|
|
864
|
-
ve.value = !ve.value;
|
|
865
|
-
}
|
|
866
|
-
async function jt({ scale: l = 2 } = {}) {
|
|
867
|
-
if (!F.value) return;
|
|
868
|
-
const { width: o, height: a } = F.value.getBoundingClientRect(), s = o / a, { imageUri: u, base64: i } = await Ol({
|
|
869
|
-
domElement: F.value,
|
|
870
|
-
base64: !0,
|
|
871
|
-
img: !0,
|
|
872
|
-
scale: l
|
|
873
|
-
});
|
|
874
|
-
return {
|
|
875
|
-
imageUri: u,
|
|
876
|
-
base64: i,
|
|
877
|
-
title: e.value.style.chart.title.text,
|
|
878
|
-
width: o,
|
|
879
|
-
height: a,
|
|
880
|
-
aspectRatio: s
|
|
881
|
-
};
|
|
882
|
-
}
|
|
883
|
-
const de = m(() => {
|
|
884
|
-
const l = e.value.table.useDialog && !e.value.table.show, o = k.value.showTable;
|
|
885
|
-
return {
|
|
886
|
-
component: l ? Ot : Wt,
|
|
887
|
-
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
888
|
-
props: l ? {
|
|
889
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
890
|
-
color: e.value.table.th.color,
|
|
891
|
-
headerColor: e.value.table.th.color,
|
|
892
|
-
headerBg: e.value.table.th.backgroundColor,
|
|
893
|
-
isFullscreen: j.value,
|
|
894
|
-
fullscreenParent: F.value,
|
|
895
|
-
forcedWidth: Math.min(800, window.innerWidth * 0.8),
|
|
896
|
-
isCursorPointer: X.value
|
|
897
|
-
} : {
|
|
898
|
-
hideDetails: !0,
|
|
899
|
-
config: {
|
|
900
|
-
open: o,
|
|
901
|
-
maxHeight: 1e4,
|
|
902
|
-
body: {
|
|
903
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
904
|
-
color: e.value.style.chart.color
|
|
905
|
-
},
|
|
906
|
-
head: {
|
|
907
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
908
|
-
color: e.value.style.chart.color
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
};
|
|
913
|
-
});
|
|
914
|
-
Ve(
|
|
915
|
-
() => k.value.showTable,
|
|
916
|
-
(l) => {
|
|
917
|
-
e.value.table.show || (l && e.value.table.useDialog && ue.value ? ue.value.open() : "close" in ue.value && ue.value.close());
|
|
918
|
-
}
|
|
919
|
-
);
|
|
920
|
-
function gt() {
|
|
921
|
-
k.value.showTable = !1, Ae.value && Ae.value.setTableIconState(!1);
|
|
922
|
-
}
|
|
923
|
-
const Jt = m(() => e.value.style.chart.backgroundColor), Zt = m(() => e.value.style.chart.legend), el = m(() => e.value.style.chart.title), { exportSvg: tl, getSvg: ll } = Xl({
|
|
924
|
-
svg: U,
|
|
925
|
-
title: el,
|
|
926
|
-
legend: Zt,
|
|
927
|
-
legendItems: G,
|
|
928
|
-
backgroundColor: Jt
|
|
929
|
-
});
|
|
930
|
-
async function mt({ isCb: l }) {
|
|
931
|
-
fe.value = !0, await _e();
|
|
932
|
-
try {
|
|
933
|
-
if (l) {
|
|
934
|
-
const { blob: o, url: a, text: s, dataUrl: u } = await ll();
|
|
935
|
-
await Promise.resolve(
|
|
936
|
-
e.value.userOptions.callbacks.svg({
|
|
937
|
-
blob: o,
|
|
938
|
-
url: a,
|
|
939
|
-
text: s,
|
|
940
|
-
dataUrl: u
|
|
941
|
-
})
|
|
942
|
-
);
|
|
943
|
-
} else
|
|
944
|
-
await Promise.resolve(tl());
|
|
945
|
-
} finally {
|
|
946
|
-
fe.value = !1;
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
function al(l) {
|
|
950
|
-
if (l?.stage === "start") {
|
|
951
|
-
be.value = !0;
|
|
952
|
-
return;
|
|
953
|
-
}
|
|
954
|
-
if (l?.stage === "end") {
|
|
955
|
-
be.value = !1;
|
|
956
|
-
return;
|
|
957
|
-
}
|
|
958
|
-
nt();
|
|
959
|
-
}
|
|
960
|
-
async function xt() {
|
|
961
|
-
if (he("copyAlt", {
|
|
962
|
-
config: e.value,
|
|
963
|
-
dataset: Me.value
|
|
964
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
965
|
-
console.warn(
|
|
966
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
967
|
-
);
|
|
968
|
-
return;
|
|
969
|
-
}
|
|
970
|
-
await Promise.resolve(
|
|
971
|
-
e.value.userOptions.callbacks.altCopy({
|
|
972
|
-
config: e.value,
|
|
973
|
-
dataset: Me.value
|
|
974
|
-
})
|
|
975
|
-
);
|
|
976
|
-
}
|
|
977
|
-
function ol() {
|
|
978
|
-
J.value = null, pe.value = null, ge.value = !0;
|
|
979
|
-
}
|
|
980
|
-
function ul() {
|
|
981
|
-
Oe(), ge.value = !1;
|
|
982
|
-
}
|
|
983
|
-
function sl(l) {
|
|
984
|
-
if (!U.value || ve.value || document.activeElement !== U.value || !P.value.length) return;
|
|
985
|
-
const o = l.key === "ArrowLeft" || l.key === "ArrowUp", a = l.key === "ArrowRight" || l.key === "ArrowDown", s = l.key === "Enter" || l.key === " ", u = l.key === "Escape";
|
|
986
|
-
if (!o && !a && !s && !u)
|
|
987
|
-
return;
|
|
988
|
-
if (l.preventDefault(), l.stopPropagation(), u) {
|
|
989
|
-
Oe();
|
|
990
|
-
return;
|
|
991
|
-
}
|
|
992
|
-
if (s) {
|
|
993
|
-
if (J.value === null) return;
|
|
994
|
-
const ae = P.value[J.value];
|
|
995
|
-
if (!ae) return;
|
|
996
|
-
Le(ae.category, ae.plot, ae.categoryIndex);
|
|
997
|
-
return;
|
|
998
|
-
}
|
|
999
|
-
let i = J.value;
|
|
1000
|
-
const c = K.value ? P.value.findIndex(
|
|
1001
|
-
(ae) => ae.plot.uid === K.value
|
|
1002
|
-
) : null, Y = i !== null && i >= 0 && i < P.value.length, Ce = c !== null && c >= 0 && c < P.value.length;
|
|
1003
|
-
Y ? (i += a ? 1 : -1, i < 0 && (i = P.value.length - 1), i >= P.value.length && (i = 0)) : Ce ? (i = a ? c + 1 : c - 1, i >= P.value.length && (i = 0), i < 0 && (i = P.value.length - 1)) : a ? i = 0 : i = P.value.length - 1;
|
|
1004
|
-
const Se = P.value[i];
|
|
1005
|
-
Se && we(
|
|
1006
|
-
Se.category,
|
|
1007
|
-
Se.plot,
|
|
1008
|
-
Se.categoryIndex,
|
|
1009
|
-
"keyboard",
|
|
1010
|
-
i
|
|
1011
|
-
);
|
|
1012
|
-
}
|
|
1013
|
-
const Ie = m(() => {
|
|
1014
|
-
const l = le.value?.colNames ?? [], o = le.value?.a11yBody ?? [];
|
|
1015
|
-
return { headers: l, rows: o };
|
|
1016
|
-
}), P = m(() => W.value.flatMap((l, o) => l.series.map((a) => ({
|
|
1017
|
-
category: l,
|
|
1018
|
-
plot: a,
|
|
1019
|
-
categoryIndex: o
|
|
1020
|
-
}))));
|
|
1021
|
-
return Tt({
|
|
1022
|
-
getData: ht,
|
|
1023
|
-
getImage: jt,
|
|
1024
|
-
generatePdf: st,
|
|
1025
|
-
generateCsv: Ne,
|
|
1026
|
-
generateImage: nt,
|
|
1027
|
-
generateSvg: mt,
|
|
1028
|
-
hideSeries: Qt,
|
|
1029
|
-
showSeries: Ut,
|
|
1030
|
-
toggleTable: bt,
|
|
1031
|
-
toggleLabels: ft,
|
|
1032
|
-
toggleTooltip: pt,
|
|
1033
|
-
toggleAnnotator: Fe,
|
|
1034
|
-
toggleFullscreen: yt,
|
|
1035
|
-
copyAlt: xt
|
|
1036
|
-
}), (l, o) => (n(), r("div", {
|
|
1037
|
-
class: O(`vue-data-ui-component vue-ui-quadrant ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1038
|
-
ref_key: "quadrantChart",
|
|
1039
|
-
ref: F,
|
|
1040
|
-
id: `vue-ui-quadrant_${$.value}`,
|
|
1041
|
-
style: _(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
1042
|
-
onMouseenter: o[14] || (o[14] = () => v(at)(!0)),
|
|
1043
|
-
onMouseleave: o[15] || (o[15] = () => {
|
|
1044
|
-
v(at)(!1), ge.value || Oe();
|
|
1045
|
-
})
|
|
1046
|
-
}, [
|
|
1047
|
-
y("div", {
|
|
1048
|
-
id: `chart-instructions-${$.value}`,
|
|
1049
|
-
class: "sr-only"
|
|
1050
|
-
}, [
|
|
1051
|
-
y("p", null, w(e.value.a11y.translations.keyboardNavigation), 1)
|
|
1052
|
-
], 8, Hl),
|
|
1053
|
-
Ie.value?.rows?.length ? (n(), B(Il, {
|
|
1054
|
-
key: 0,
|
|
1055
|
-
uid: $.value,
|
|
1056
|
-
head: Ie.value.headers,
|
|
1057
|
-
body: Ie.value.rows,
|
|
1058
|
-
notice: e.value.a11y.translations.tableAvailable,
|
|
1059
|
-
caption: e.value.a11y.translations.tableCaption
|
|
1060
|
-
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : d("", !0),
|
|
1061
|
-
e.value.userOptions.buttons.annotator ? (n(), B(v(Pt), {
|
|
1062
|
-
key: 1,
|
|
1063
|
-
svgRef: v(U),
|
|
1064
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1065
|
-
color: e.value.style.chart.color,
|
|
1066
|
-
active: ve.value,
|
|
1067
|
-
isCursorPointer: X.value,
|
|
1068
|
-
onClose: Fe
|
|
1069
|
-
}, {
|
|
1070
|
-
"annotator-action-close": p(() => [
|
|
1071
|
-
g(l.$slots, "annotator-action-close", {}, void 0, !0)
|
|
1072
|
-
]),
|
|
1073
|
-
"annotator-action-color": p(({ color: a }) => [
|
|
1074
|
-
g(l.$slots, "annotator-action-color", T(q({ color: a })), void 0, !0)
|
|
1075
|
-
]),
|
|
1076
|
-
"annotator-action-draw": p(({ mode: a }) => [
|
|
1077
|
-
g(l.$slots, "annotator-action-draw", T(q({ mode: a })), void 0, !0)
|
|
1078
|
-
]),
|
|
1079
|
-
"annotator-action-undo": p(({ disabled: a }) => [
|
|
1080
|
-
g(l.$slots, "annotator-action-undo", T(q({ disabled: a })), void 0, !0)
|
|
1081
|
-
]),
|
|
1082
|
-
"annotator-action-redo": p(({ disabled: a }) => [
|
|
1083
|
-
g(l.$slots, "annotator-action-redo", T(q({ disabled: a })), void 0, !0)
|
|
1084
|
-
]),
|
|
1085
|
-
"annotator-action-delete": p(({ disabled: a }) => [
|
|
1086
|
-
g(l.$slots, "annotator-action-delete", T(q({ disabled: a })), void 0, !0)
|
|
1087
|
-
]),
|
|
1088
|
-
_: 3
|
|
1089
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : d("", !0),
|
|
1090
|
-
Vt.value ? (n(), r("div", {
|
|
1091
|
-
key: 2,
|
|
1092
|
-
ref_key: "noTitle",
|
|
1093
|
-
ref: Ke,
|
|
1094
|
-
class: "vue-data-ui-no-title-space",
|
|
1095
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
1096
|
-
}, null, 512)) : d("", !0),
|
|
1097
|
-
e.value.style.chart.title.text ? (n(), r("div", {
|
|
1098
|
-
key: 3,
|
|
1099
|
-
ref_key: "chartTitle",
|
|
1100
|
-
ref: Ue,
|
|
1101
|
-
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1102
|
-
}, [
|
|
1103
|
-
(n(), B(Bl, {
|
|
1104
|
-
key: `table_${je.value}`,
|
|
1105
|
-
config: {
|
|
1106
|
-
title: {
|
|
1107
|
-
cy: "quadrant-title",
|
|
1108
|
-
...e.value.style.chart.title
|
|
1109
|
-
},
|
|
1110
|
-
subtitle: {
|
|
1111
|
-
cy: "quadrant-subtitle",
|
|
1112
|
-
...e.value.style.chart.title.subtitle
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
}, null, 8, ["config"]))
|
|
1116
|
-
], 512)) : d("", !0),
|
|
1117
|
-
y("div", {
|
|
1118
|
-
id: `legend-top-${$.value}`
|
|
1119
|
-
}, null, 8, El),
|
|
1120
|
-
e.value.userOptions.show && He.value && (v(ot) || v(We)) ? (n(), B(v(Yt), {
|
|
1121
|
-
ref_key: "userOptionsRef",
|
|
1122
|
-
ref: Ae,
|
|
1123
|
-
key: `user_options_${Ee.value}`,
|
|
1124
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1125
|
-
color: e.value.style.chart.color,
|
|
1126
|
-
isImaging: v(Ye),
|
|
1127
|
-
isPrinting: v(Pe),
|
|
1128
|
-
uid: $.value,
|
|
1129
|
-
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
1130
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
1131
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
1132
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
1133
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
1134
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
1135
|
-
hasLabel: e.value.userOptions.buttons.labels,
|
|
1136
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
1137
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
1138
|
-
isFullscreen: j.value,
|
|
1139
|
-
isTooltip: k.value.showTooltip,
|
|
1140
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
1141
|
-
chartElement: F.value,
|
|
1142
|
-
position: e.value.userOptions.position,
|
|
1143
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
1144
|
-
isAnnotation: ve.value,
|
|
1145
|
-
callbacks: e.value.userOptions.callbacks,
|
|
1146
|
-
printScale: e.value.userOptions.print.scale,
|
|
1147
|
-
tableDialog: e.value.table.useDialog,
|
|
1148
|
-
isCursorPointer: X.value,
|
|
1149
|
-
onToggleFullscreen: yt,
|
|
1150
|
-
onGeneratePdf: v(st),
|
|
1151
|
-
onGenerateCsv: Ne,
|
|
1152
|
-
onGenerateImage: al,
|
|
1153
|
-
onGenerateSvg: mt,
|
|
1154
|
-
onToggleTable: bt,
|
|
1155
|
-
onToggleLabels: ft,
|
|
1156
|
-
onToggleTooltip: pt,
|
|
1157
|
-
onToggleAnnotator: Fe,
|
|
1158
|
-
onCopyAlt: xt,
|
|
1159
|
-
style: _({
|
|
1160
|
-
visibility: v(ot) ? v(We) ? "visible" : "hidden" : "visible"
|
|
1161
|
-
})
|
|
1162
|
-
}, kt({ _: 2 }, [
|
|
1163
|
-
l.$slots.menuIcon ? {
|
|
1164
|
-
name: "menuIcon",
|
|
1165
|
-
fn: p(({ isOpen: a, color: s }) => [
|
|
1166
|
-
g(l.$slots, "menuIcon", T(q({ isOpen: a, color: s })), void 0, !0)
|
|
1167
|
-
]),
|
|
1168
|
-
key: "0"
|
|
1169
|
-
} : void 0,
|
|
1170
|
-
l.$slots.optionTooltip ? {
|
|
1171
|
-
name: "optionTooltip",
|
|
1172
|
-
fn: p(() => [
|
|
1173
|
-
g(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
1174
|
-
]),
|
|
1175
|
-
key: "1"
|
|
1176
|
-
} : void 0,
|
|
1177
|
-
l.$slots.optionPdf ? {
|
|
1178
|
-
name: "optionPdf",
|
|
1179
|
-
fn: p(() => [
|
|
1180
|
-
g(l.$slots, "optionPdf", {}, void 0, !0)
|
|
1181
|
-
]),
|
|
1182
|
-
key: "2"
|
|
1183
|
-
} : void 0,
|
|
1184
|
-
l.$slots.optionCsv ? {
|
|
1185
|
-
name: "optionCsv",
|
|
1186
|
-
fn: p(() => [
|
|
1187
|
-
g(l.$slots, "optionCsv", {}, void 0, !0)
|
|
1188
|
-
]),
|
|
1189
|
-
key: "3"
|
|
1190
|
-
} : void 0,
|
|
1191
|
-
l.$slots.optionImg ? {
|
|
1192
|
-
name: "optionImg",
|
|
1193
|
-
fn: p(() => [
|
|
1194
|
-
g(l.$slots, "optionImg", {}, void 0, !0)
|
|
1195
|
-
]),
|
|
1196
|
-
key: "4"
|
|
1197
|
-
} : void 0,
|
|
1198
|
-
l.$slots.optionSvg ? {
|
|
1199
|
-
name: "optionSvg",
|
|
1200
|
-
fn: p(() => [
|
|
1201
|
-
g(l.$slots, "optionSvg", {}, void 0, !0)
|
|
1202
|
-
]),
|
|
1203
|
-
key: "5"
|
|
1204
|
-
} : void 0,
|
|
1205
|
-
l.$slots.optionTable ? {
|
|
1206
|
-
name: "optionTable",
|
|
1207
|
-
fn: p(() => [
|
|
1208
|
-
g(l.$slots, "optionTable", {}, void 0, !0)
|
|
1209
|
-
]),
|
|
1210
|
-
key: "6"
|
|
1211
|
-
} : void 0,
|
|
1212
|
-
l.$slots.optionLabels ? {
|
|
1213
|
-
name: "optionLabels",
|
|
1214
|
-
fn: p(() => [
|
|
1215
|
-
g(l.$slots, "optionLabels", {}, void 0, !0)
|
|
1216
|
-
]),
|
|
1217
|
-
key: "7"
|
|
1218
|
-
} : void 0,
|
|
1219
|
-
l.$slots.optionFullscreen ? {
|
|
1220
|
-
name: "optionFullscreen",
|
|
1221
|
-
fn: p(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
1222
|
-
g(l.$slots, "optionFullscreen", T(q({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
1223
|
-
]),
|
|
1224
|
-
key: "8"
|
|
1225
|
-
} : void 0,
|
|
1226
|
-
l.$slots.optionAnnotator ? {
|
|
1227
|
-
name: "optionAnnotator",
|
|
1228
|
-
fn: p(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
1229
|
-
g(l.$slots, "optionAnnotator", T(q({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
1230
|
-
]),
|
|
1231
|
-
key: "9"
|
|
1232
|
-
} : void 0,
|
|
1233
|
-
l.$slots.optionAltCopy ? {
|
|
1234
|
-
name: "optionAltCopy",
|
|
1235
|
-
fn: p(({ altCopy: a }) => [
|
|
1236
|
-
g(l.$slots, "optionAltCopy", T(q({ altCopy: a })), void 0, !0)
|
|
1237
|
-
]),
|
|
1238
|
-
key: "10"
|
|
1239
|
-
} : void 0
|
|
1240
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : d("", !0),
|
|
1241
|
-
y("div", Ul, [
|
|
1242
|
-
(n(), r("svg", {
|
|
1243
|
-
ref_key: "svgRef",
|
|
1244
|
-
ref: U,
|
|
1245
|
-
xmlns: v(gl),
|
|
1246
|
-
"aria-describedby": `chart-instructions-${$.value}`,
|
|
1247
|
-
class: O({
|
|
1248
|
-
"vue-data-ui-fullscreen--on": j.value,
|
|
1249
|
-
"vue-data-ui-fulscreen--off": !j.value
|
|
1250
|
-
}),
|
|
1251
|
-
viewBox: `${b.value.startX} ${b.value.startY} ${b.value.width} ${b.value.height}`,
|
|
1252
|
-
style: _(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
|
|
1253
|
-
id: `svg_${$.value}`,
|
|
1254
|
-
tabindex: "0",
|
|
1255
|
-
onFocus: ol,
|
|
1256
|
-
onBlur: ul,
|
|
1257
|
-
onKeydown: sl
|
|
1258
|
-
}, [
|
|
1259
|
-
ce(v(Mt)),
|
|
1260
|
-
l.$slots["chart-background"] ? (n(), r("foreignObject", {
|
|
1261
|
-
key: 0,
|
|
1262
|
-
x: b.value.startX,
|
|
1263
|
-
y: b.value.startY,
|
|
1264
|
-
width: b.value.width,
|
|
1265
|
-
height: b.value.height,
|
|
1266
|
-
style: {
|
|
1267
|
-
pointerEvents: "none"
|
|
1268
|
-
}
|
|
1269
|
-
}, [
|
|
1270
|
-
g(l.$slots, "chart-background", {}, void 0, !0)
|
|
1271
|
-
], 8, Gl)) : d("", !0),
|
|
1272
|
-
y("defs", null, [
|
|
1273
|
-
(n(!0), r(A, null, N(W.value, (a, s) => (n(), r("radialGradient", {
|
|
1274
|
-
cx: "50%",
|
|
1275
|
-
cy: "50%",
|
|
1276
|
-
r: "50%",
|
|
1277
|
-
fx: "50%",
|
|
1278
|
-
fy: "50%",
|
|
1279
|
-
id: `quadrant_gradient_${$.value}_${s}`
|
|
1280
|
-
}, [
|
|
1281
|
-
y("stop", {
|
|
1282
|
-
offset: "0%",
|
|
1283
|
-
"stop-color": v(Te)(
|
|
1284
|
-
v(ml)(a.color, 0.05),
|
|
1285
|
-
e.value.style.chart.layout.areas.opacity
|
|
1286
|
-
)
|
|
1287
|
-
}, null, 8, jl),
|
|
1288
|
-
y("stop", {
|
|
1289
|
-
offset: "100%",
|
|
1290
|
-
"stop-color": v(Te)(
|
|
1291
|
-
a.color,
|
|
1292
|
-
e.value.style.chart.layout.areas.opacity
|
|
1293
|
-
)
|
|
1294
|
-
}, null, 8, Jl)
|
|
1295
|
-
], 8, Kl))), 256))
|
|
1296
|
-
]),
|
|
1297
|
-
e.value.style.chart.layout.grid.graduations.show ? (n(), r("g", Zl, [
|
|
1298
|
-
(n(!0), r(A, null, N(Dt.value, (a) => (n(), r("rect", {
|
|
1299
|
-
fill: e.value.style.chart.layout.grid.graduations.fill ? v(Te)(
|
|
1300
|
-
e.value.style.chart.layout.grid.graduations.color,
|
|
1301
|
-
a.opacity
|
|
1302
|
-
) : "none",
|
|
1303
|
-
x: a.x,
|
|
1304
|
-
y: a.y,
|
|
1305
|
-
height: a.height <= 0 ? 1e-3 : a.height,
|
|
1306
|
-
width: a.width <= 0 ? 1e-3 : a.width,
|
|
1307
|
-
"stroke-width": e.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
1308
|
-
stroke: e.value.style.chart.layout.grid.graduations.stroke,
|
|
1309
|
-
rx: e.value.style.chart.layout.grid.graduations.roundingForce
|
|
1310
|
-
}, null, 8, ea))), 256))
|
|
1311
|
-
])) : d("", !0),
|
|
1312
|
-
y("line", {
|
|
1313
|
-
x1: t.value.left,
|
|
1314
|
-
y1: t.value.centerY,
|
|
1315
|
-
x2: t.value.right,
|
|
1316
|
-
y2: t.value.centerY,
|
|
1317
|
-
stroke: e.value.style.chart.layout.grid.stroke,
|
|
1318
|
-
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1319
|
-
}, null, 8, ta),
|
|
1320
|
-
y("line", {
|
|
1321
|
-
x1: t.value.centerX,
|
|
1322
|
-
y1: t.value.top,
|
|
1323
|
-
x2: t.value.centerX,
|
|
1324
|
-
y2: t.value.bottom,
|
|
1325
|
-
stroke: e.value.style.chart.layout.grid.stroke,
|
|
1326
|
-
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1327
|
-
}, null, 8, la),
|
|
1328
|
-
e.value.style.chart.layout.grid.showArrows ? (n(), r("g", aa, [
|
|
1329
|
-
y("polygon", {
|
|
1330
|
-
points: `${t.value.right - 8},${t.value.centerY - 6} ${t.value.right},${t.value.centerY} ${t.value.right - 8},${t.value.centerY + 6}`,
|
|
1331
|
-
fill: e.value.style.chart.layout.grid.stroke,
|
|
1332
|
-
stroke: "none"
|
|
1333
|
-
}, null, 8, oa),
|
|
1334
|
-
y("polygon", {
|
|
1335
|
-
points: `${t.value.left + 8},${t.value.centerY - 6} ${t.value.left},${t.value.centerY} ${t.value.left + 8},${t.value.centerY + 6}`,
|
|
1336
|
-
fill: e.value.style.chart.layout.grid.stroke,
|
|
1337
|
-
stroke: "none"
|
|
1338
|
-
}, null, 8, ua),
|
|
1339
|
-
y("polygon", {
|
|
1340
|
-
points: `${t.value.centerX - 6},${t.value.top + 8} ${t.value.centerX},${t.value.top} ${t.value.centerX + 6},${t.value.top + 8}`,
|
|
1341
|
-
fill: e.value.style.chart.layout.grid.stroke,
|
|
1342
|
-
stroke: "none"
|
|
1343
|
-
}, null, 8, sa),
|
|
1344
|
-
y("polygon", {
|
|
1345
|
-
points: `${t.value.centerX - 6},${t.value.bottom - 8} ${t.value.centerX},${t.value.bottom} ${t.value.centerX + 6},${t.value.bottom - 8}`,
|
|
1346
|
-
fill: e.value.style.chart.layout.grid.stroke,
|
|
1347
|
-
stroke: "none"
|
|
1348
|
-
}, null, 8, na)
|
|
1349
|
-
])) : d("", !0),
|
|
1350
|
-
e.value.style.chart.layout.labels.quadrantLabels.show && !x.value ? (n(), r("g", ra, [
|
|
1351
|
-
e.value.style.chart.layout.labels.quadrantLabels.tl.text ? (n(), r("text", {
|
|
1352
|
-
key: 0,
|
|
1353
|
-
x: 0,
|
|
1354
|
-
y: t.value.top - t.value.padding / 2,
|
|
1355
|
-
"text-anchor": "start",
|
|
1356
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
1357
|
-
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1358
|
-
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1359
|
-
onClick: o[0] || (o[0] = (a) => ie("tl"))
|
|
1360
|
-
}, w(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, ia)) : d("", !0),
|
|
1361
|
-
e.value.style.chart.layout.labels.quadrantLabels.tr.text ? (n(), r("text", {
|
|
1362
|
-
key: 1,
|
|
1363
|
-
x: t.value.width,
|
|
1364
|
-
y: t.value.top - t.value.padding / 2,
|
|
1365
|
-
"text-anchor": "end",
|
|
1366
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
1367
|
-
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1368
|
-
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1369
|
-
onClick: o[1] || (o[1] = (a) => ie("tr"))
|
|
1370
|
-
}, w(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, va)) : d("", !0),
|
|
1371
|
-
e.value.style.chart.layout.labels.quadrantLabels.br.text ? (n(), r("text", {
|
|
1372
|
-
key: 2,
|
|
1373
|
-
x: t.value.width,
|
|
1374
|
-
y: t.value.bottom + t.value.padding * 0.7,
|
|
1375
|
-
"text-anchor": "end",
|
|
1376
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
1377
|
-
"font-size": e.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1378
|
-
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1379
|
-
onClick: o[2] || (o[2] = (a) => ie("br"))
|
|
1380
|
-
}, w(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13, da)) : d("", !0),
|
|
1381
|
-
e.value.style.chart.layout.labels.quadrantLabels.bl.text ? (n(), r("text", {
|
|
1382
|
-
key: 3,
|
|
1383
|
-
x: 0,
|
|
1384
|
-
y: t.value.bottom + t.value.padding * 0.7,
|
|
1385
|
-
"text-anchor": "start",
|
|
1386
|
-
fill: e.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
1387
|
-
"font-size": e.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1388
|
-
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1389
|
-
onClick: o[3] || (o[3] = (a) => ie("bl"))
|
|
1390
|
-
}, w(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, ca)) : d("", !0)
|
|
1391
|
-
])) : d("", !0),
|
|
1392
|
-
e.value.style.chart.layout.labels.axisLabels.show ? (n(), r("g", ha, [
|
|
1393
|
-
e.value.style.chart.layout.grid.yAxis.show ? (n(), r("text", {
|
|
1394
|
-
key: 0,
|
|
1395
|
-
x: t.value.centerX,
|
|
1396
|
-
y: t.value.top - t.value.padding / 6,
|
|
1397
|
-
"text-anchor": "middle",
|
|
1398
|
-
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1399
|
-
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1400
|
-
}, w(v(H)(
|
|
1401
|
-
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1402
|
-
z.value.y.max,
|
|
1403
|
-
v(E)({
|
|
1404
|
-
v: z.value.y.max,
|
|
1405
|
-
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1406
|
-
})
|
|
1407
|
-
)), 9, ya)) : d("", !0),
|
|
1408
|
-
y("text", {
|
|
1409
|
-
x: t.value.centerX,
|
|
1410
|
-
y: t.value.top - t.value.padding / 2,
|
|
1411
|
-
"text-anchor": "middle",
|
|
1412
|
-
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1413
|
-
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1414
|
-
}, w(e.value.style.chart.layout.grid.yAxis.name), 9, ba),
|
|
1415
|
-
e.value.style.chart.layout.grid.yAxis.show ? (n(), r("text", {
|
|
1416
|
-
key: 1,
|
|
1417
|
-
x: t.value.centerX,
|
|
1418
|
-
y: t.value.bottom + t.value.padding * 0.35,
|
|
1419
|
-
"text-anchor": "middle",
|
|
1420
|
-
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1421
|
-
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1422
|
-
}, w(v(H)(
|
|
1423
|
-
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1424
|
-
z.value.y.min,
|
|
1425
|
-
v(E)({
|
|
1426
|
-
v: z.value.y.min,
|
|
1427
|
-
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1428
|
-
})
|
|
1429
|
-
)), 9, fa)) : d("", !0),
|
|
1430
|
-
e.value.style.chart.layout.grid.xAxis.show ? (n(), r("text", {
|
|
1431
|
-
key: 2,
|
|
1432
|
-
id: `xLabelMin_${$.value}`,
|
|
1433
|
-
"text-anchor": "middle",
|
|
1434
|
-
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1435
|
-
transform: `translate(${t.value.padding - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(-90)`,
|
|
1436
|
-
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1437
|
-
}, w(v(H)(
|
|
1438
|
-
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1439
|
-
z.value.x.min,
|
|
1440
|
-
v(E)({
|
|
1441
|
-
v: z.value.x.min,
|
|
1442
|
-
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1443
|
-
})
|
|
1444
|
-
)), 9, pa)) : d("", !0),
|
|
1445
|
-
e.value.style.chart.layout.grid.xAxis.show ? (n(), r("text", {
|
|
1446
|
-
key: 3,
|
|
1447
|
-
id: `xLabelMax_${$.value}`,
|
|
1448
|
-
"text-anchor": "middle",
|
|
1449
|
-
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1450
|
-
transform: `translate(${t.value.width - t.value.padding + e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1451
|
-
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1452
|
-
}, w(v(H)(
|
|
1453
|
-
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1454
|
-
z.value.x.max,
|
|
1455
|
-
v(E)({
|
|
1456
|
-
v: z.value.x.max,
|
|
1457
|
-
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1458
|
-
})
|
|
1459
|
-
)), 9, ga)) : d("", !0),
|
|
1460
|
-
y("text", {
|
|
1461
|
-
id: `xLabelMaxName_${$.value}`,
|
|
1462
|
-
"text-anchor": "middle",
|
|
1463
|
-
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1464
|
-
transform: `translate(${t.value.width - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1465
|
-
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1466
|
-
}, w(e.value.style.chart.layout.grid.xAxis.name), 9, ma)
|
|
1467
|
-
])) : d("", !0),
|
|
1468
|
-
e.value.style.chart.layout.areas.show ? (n(), r("g", xa, [
|
|
1469
|
-
(n(!0), r(A, null, N(W.value, (a, s) => (n(), r("g", null, [
|
|
1470
|
-
a.series.length > 2 ? (n(), r("polygon", {
|
|
1471
|
-
key: 0,
|
|
1472
|
-
"data-cy-quadrant-area": "",
|
|
1473
|
-
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${$.value}_${s})` : v(Te)(
|
|
1474
|
-
a.color,
|
|
1475
|
-
e.value.style.chart.layout.areas.opacity
|
|
1476
|
-
),
|
|
1477
|
-
points: v(xl)(a)
|
|
1478
|
-
}, null, 8, $a)) : d("", !0)
|
|
1479
|
-
]))), 256))
|
|
1480
|
-
])) : d("", !0),
|
|
1481
|
-
y("g", null, [
|
|
1482
|
-
y("rect", {
|
|
1483
|
-
onClick: o[4] || (o[4] = (a) => R("TL")),
|
|
1484
|
-
x: t.value.left,
|
|
1485
|
-
y: t.value.top,
|
|
1486
|
-
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1487
|
-
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1488
|
-
fill: "transparent",
|
|
1489
|
-
class: O({
|
|
1490
|
-
"vue-data-ui-zoom-plus": !x.value && I.value,
|
|
1491
|
-
"vue-data-ui-zoom-minus": x.value && I.value
|
|
1492
|
-
})
|
|
1493
|
-
}, null, 10, ka),
|
|
1494
|
-
y("rect", {
|
|
1495
|
-
onClick: o[5] || (o[5] = (a) => R("TR")),
|
|
1496
|
-
x: t.value.centerX,
|
|
1497
|
-
y: t.value.top,
|
|
1498
|
-
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1499
|
-
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1500
|
-
fill: "transparent",
|
|
1501
|
-
class: O({
|
|
1502
|
-
"vue-data-ui-zoom-plus": !x.value && I.value,
|
|
1503
|
-
"vue-data-ui-zoom-minus": x.value && I.value
|
|
1504
|
-
})
|
|
1505
|
-
}, null, 10, wa),
|
|
1506
|
-
y("rect", {
|
|
1507
|
-
onClick: o[6] || (o[6] = (a) => R("BR")),
|
|
1508
|
-
x: t.value.centerX,
|
|
1509
|
-
y: t.value.centerY,
|
|
1510
|
-
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1511
|
-
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1512
|
-
fill: "transparent",
|
|
1513
|
-
class: O({
|
|
1514
|
-
"vue-data-ui-zoom-plus": !x.value && I.value,
|
|
1515
|
-
"vue-data-ui-zoom-minus": x.value && I.value
|
|
1516
|
-
})
|
|
1517
|
-
}, null, 10, La),
|
|
1518
|
-
y("rect", {
|
|
1519
|
-
onClick: o[7] || (o[7] = (a) => R("BL")),
|
|
1520
|
-
x: t.value.left,
|
|
1521
|
-
y: t.value.centerY,
|
|
1522
|
-
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1523
|
-
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1524
|
-
fill: "transparent",
|
|
1525
|
-
class: O({
|
|
1526
|
-
"vue-data-ui-zoom-plus": !x.value && I.value,
|
|
1527
|
-
"vue-data-ui-zoom-minus": x.value && I.value
|
|
1528
|
-
})
|
|
1529
|
-
}, null, 10, Ca)
|
|
1530
|
-
]),
|
|
1531
|
-
e.value.style.chart.layout.labels.plotLabels.showAsTag ? (n(), r(A, { key: 7 }, [
|
|
1532
|
-
k.value.plotLabels.show ? (n(), r("g", Wa, [
|
|
1533
|
-
(n(!0), r(A, null, N(W.value, (a, s) => (n(), r(A, null, [
|
|
1534
|
-
(n(!0), r(A, null, N(a.series, (u) => (n(), r("foreignObject", {
|
|
1535
|
-
style: { overflow: "visible" },
|
|
1536
|
-
height: "10",
|
|
1537
|
-
width: "100",
|
|
1538
|
-
x: u.x - 50,
|
|
1539
|
-
y: u.y - e.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1540
|
-
onMouseover: (i) => we(a, u, s),
|
|
1541
|
-
onMouseleave: (i) => Be(u, s),
|
|
1542
|
-
onClick: (i) => Le(a, u, s)
|
|
1543
|
-
}, [
|
|
1544
|
-
y("div", {
|
|
1545
|
-
style: _(`color:${v(kl)(a.color)};margin: 0 auto; font-size:${e.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
|
|
1546
|
-
}, w(u.name), 5)
|
|
1547
|
-
], 40, Xa))), 256))
|
|
1548
|
-
], 64))), 256))
|
|
1549
|
-
])) : d("", !0)
|
|
1550
|
-
], 64)) : (n(), r(A, { key: 6 }, [
|
|
1551
|
-
(n(!0), r(A, null, N(W.value, (a, s) => (n(), r("g", null, [
|
|
1552
|
-
l.$slots.datapoint && !v(me) ? (n(!0), r(A, { key: 0 }, N(a.series, (u) => (n(), r("g", {
|
|
1553
|
-
key: u.uid
|
|
1554
|
-
}, [
|
|
1555
|
-
(n(), r("foreignObject", {
|
|
1556
|
-
x: u.x - 1,
|
|
1557
|
-
y: u.y - 1,
|
|
1558
|
-
width: "2",
|
|
1559
|
-
height: "2",
|
|
1560
|
-
style: { overflow: "visible", "pointer-events": "none" },
|
|
1561
|
-
onMouseenter: (i) => we(a, u, s),
|
|
1562
|
-
onMouseleave: (i) => Be(u, s),
|
|
1563
|
-
onClick: (i) => Le(a, u, s)
|
|
1564
|
-
}, [
|
|
1565
|
-
g(l.$slots, "datapoint", wt({ ref_for: !0 }, { datapoint: u }), void 0, !0)
|
|
1566
|
-
], 40, Sa)),
|
|
1567
|
-
y("circle", {
|
|
1568
|
-
"data-a11y-plot-id": u.uid,
|
|
1569
|
-
cx: u.x,
|
|
1570
|
-
cy: u.y,
|
|
1571
|
-
r: Math.max(
|
|
1572
|
-
e.value.style.chart.layout.plots.radius / (x.value ? 1.5 : 1),
|
|
1573
|
-
10
|
|
1574
|
-
),
|
|
1575
|
-
fill: "transparent",
|
|
1576
|
-
style: { "pointer-events": "none" }
|
|
1577
|
-
}, null, 8, _a)
|
|
1578
|
-
]))), 128)) : (n(!0), r(A, { key: 1 }, N(a.series, (u, i) => (n(), r("g", {
|
|
1579
|
-
key: u.uid
|
|
1580
|
-
}, [
|
|
1581
|
-
ce(St, {
|
|
1582
|
-
color: a.color,
|
|
1583
|
-
isSelected: K.value && u.uid === K.value,
|
|
1584
|
-
plot: u,
|
|
1585
|
-
radius: e.value.style.chart.layout.plots.radius / (x.value ? 1.5 : 1),
|
|
1586
|
-
shape: a.shape,
|
|
1587
|
-
stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
|
|
1588
|
-
strokeWidth: e.value.style.chart.layout.plots.outlineWidth,
|
|
1589
|
-
onMouseenter: (c) => we(a, u, s, "pointer"),
|
|
1590
|
-
onMouseleave: (c) => Be(u, s),
|
|
1591
|
-
onClick: (c) => Le(a, u, s)
|
|
1592
|
-
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]),
|
|
1593
|
-
y("circle", {
|
|
1594
|
-
"data-dom-to-png-ignore": "",
|
|
1595
|
-
"data-a11y-plot-id": u.uid,
|
|
1596
|
-
cx: u.x,
|
|
1597
|
-
cy: u.y,
|
|
1598
|
-
r: Math.max(
|
|
1599
|
-
e.value.style.chart.layout.plots.radius / (x.value ? 1.5 : 1),
|
|
1600
|
-
10
|
|
1601
|
-
),
|
|
1602
|
-
fill: "transparent",
|
|
1603
|
-
style: { "pointer-events": "none" }
|
|
1604
|
-
}, null, 8, Ta)
|
|
1605
|
-
]))), 128))
|
|
1606
|
-
]))), 256)),
|
|
1607
|
-
k.value.plotLabels.show ? (n(), r("g", qa, [
|
|
1608
|
-
(n(!0), r(A, null, N(W.value, (a) => (n(), r("g", null, [
|
|
1609
|
-
(n(!0), r(A, null, N(a.series, (s) => (n(), r("g", null, [
|
|
1610
|
-
String(s.name).includes(`
|
|
1611
|
-
`) ? (n(), r("text", {
|
|
1612
|
-
key: 1,
|
|
1613
|
-
x: s.x,
|
|
1614
|
-
y: s.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1615
|
-
"text-anchor": "middle",
|
|
1616
|
-
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1617
|
-
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1618
|
-
innerHTML: v($l)({
|
|
1619
|
-
content: String(s.name),
|
|
1620
|
-
fontSize: e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1621
|
-
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1622
|
-
x: s.x,
|
|
1623
|
-
y: s.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius
|
|
1624
|
-
})
|
|
1625
|
-
}, null, 8, za)) : (n(), r("text", {
|
|
1626
|
-
key: 0,
|
|
1627
|
-
x: s.x,
|
|
1628
|
-
y: s.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1629
|
-
"text-anchor": "middle",
|
|
1630
|
-
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1631
|
-
fill: e.value.style.chart.layout.labels.plotLabels.color
|
|
1632
|
-
}, w(s.name), 9, Aa))
|
|
1633
|
-
]))), 256))
|
|
1634
|
-
]))), 256))
|
|
1635
|
-
])) : d("", !0)
|
|
1636
|
-
], 64)),
|
|
1637
|
-
x.value ? (n(), r("g", Pa, [
|
|
1638
|
-
f.value === "TL" ? (n(), r("polygon", {
|
|
1639
|
-
key: 0,
|
|
1640
|
-
points: `${t.value.left - 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.top - 1} ${t.value.right},${t.value.top - 1} ${t.value.right},${t.value.bottom} ${t.value.left - 1},${t.value.bottom} ${t.value.left - 1},${t.value.centerY}`,
|
|
1641
|
-
fill: e.value.style.chart.backgroundColor,
|
|
1642
|
-
style: { opacity: "1" }
|
|
1643
|
-
}, null, 8, Ya)) : d("", !0),
|
|
1644
|
-
f.value === "TR" ? (n(), r("polygon", {
|
|
1645
|
-
key: 1,
|
|
1646
|
-
points: `${t.value.left},${t.value.top - 1} ${t.value.centerX},${t.value.top - 1} ${t.value.centerX},${t.value.centerY} ${t.value.right + 1},${t.value.centerY} ${t.value.right + 1},${t.value.bottom} ${t.value.left},${t.value.bottom} ${t.value.left},${t.value.top - 1}`,
|
|
1647
|
-
fill: e.value.style.chart.backgroundColor,
|
|
1648
|
-
style: { opacity: "1" }
|
|
1649
|
-
}, null, 8, Ma)) : d("", !0),
|
|
1650
|
-
f.value === "BR" ? (n(), r("polygon", {
|
|
1651
|
-
key: 2,
|
|
1652
|
-
points: `${t.value.left},${t.value.top} ${t.value.right + 1},${t.value.top} ${t.value.right + 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.bottom + 1} ${t.value.left},${t.value.bottom + 1} ${t.value.left},${t.value.top}`,
|
|
1653
|
-
fill: e.value.style.chart.backgroundColor,
|
|
1654
|
-
style: { opacity: "1" }
|
|
1655
|
-
}, null, 8, Oa)) : d("", !0),
|
|
1656
|
-
f.value === "BL" ? (n(), r("polygon", {
|
|
1657
|
-
key: 3,
|
|
1658
|
-
points: `${t.value.left - 1},${t.value.top} ${t.value.right},${t.value.top} ${t.value.right},${t.value.bottom + 1} ${t.value.centerX},${t.value.bottom + 1} ${t.value.centerX},${t.value.centerY} ${t.value.left - 1},${t.value.centerY} ${t.value.left - 1},${t.value.top}`,
|
|
1659
|
-
fill: e.value.style.chart.backgroundColor,
|
|
1660
|
-
style: { opacity: "1" }
|
|
1661
|
-
}, null, 8, Ba)) : d("", !0)
|
|
1662
|
-
])) : d("", !0),
|
|
1663
|
-
f.value && !xe.value ? (n(), r("g", Na, [
|
|
1664
|
-
y("text", {
|
|
1665
|
-
x: Q.value.x,
|
|
1666
|
-
y: Q.value.y - Q.value.fontSize / 1.5,
|
|
1667
|
-
"font-size": Q.value.fontSize / 1.5,
|
|
1668
|
-
fill: Q.value.fill,
|
|
1669
|
-
"text-anchor": "middle",
|
|
1670
|
-
"font-weight": Q.value.bold ? "bold" : "normal"
|
|
1671
|
-
}, w(Q.value.text), 9, Fa)
|
|
1672
|
-
])) : d("", !0),
|
|
1673
|
-
x.value && f.value ? (n(), r("g", Ia, [
|
|
1674
|
-
y("rect", {
|
|
1675
|
-
x: S.value[f.value].tl.x,
|
|
1676
|
-
y: S.value[f.value].tl.y,
|
|
1677
|
-
height: "20",
|
|
1678
|
-
width: "20",
|
|
1679
|
-
fill: S.value[f.value].tl.fill,
|
|
1680
|
-
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "TL" ? 1 : 0.2}`),
|
|
1681
|
-
onClick: o[8] || (o[8] = (a) => R("TL")),
|
|
1682
|
-
class: O({
|
|
1683
|
-
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1684
|
-
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "TL"
|
|
1685
|
-
})
|
|
1686
|
-
}, null, 14, Va),
|
|
1687
|
-
y("rect", {
|
|
1688
|
-
x: S.value[f.value].tr.x,
|
|
1689
|
-
y: S.value[f.value].tr.y,
|
|
1690
|
-
height: "20",
|
|
1691
|
-
width: "20",
|
|
1692
|
-
fill: S.value[f.value].tr.fill,
|
|
1693
|
-
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "TR" ? 1 : 0.2}`),
|
|
1694
|
-
onClick: o[9] || (o[9] = (a) => R("TR")),
|
|
1695
|
-
class: O({
|
|
1696
|
-
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1697
|
-
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "TR"
|
|
1698
|
-
})
|
|
1699
|
-
}, null, 14, Ra),
|
|
1700
|
-
y("rect", {
|
|
1701
|
-
x: S.value[f.value].br.x,
|
|
1702
|
-
y: S.value[f.value].br.y,
|
|
1703
|
-
height: "20",
|
|
1704
|
-
width: "20",
|
|
1705
|
-
fill: S.value[f.value].br.fill,
|
|
1706
|
-
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "BR" ? 1 : 0.2}`),
|
|
1707
|
-
onClick: o[10] || (o[10] = (a) => R("BR")),
|
|
1708
|
-
class: O({
|
|
1709
|
-
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1710
|
-
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "BR"
|
|
1711
|
-
})
|
|
1712
|
-
}, null, 14, Da),
|
|
1713
|
-
y("rect", {
|
|
1714
|
-
x: S.value[f.value].bl.x,
|
|
1715
|
-
y: S.value[f.value].bl.y,
|
|
1716
|
-
height: "20",
|
|
1717
|
-
width: "20",
|
|
1718
|
-
fill: S.value[f.value].bl.fill,
|
|
1719
|
-
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "BL" ? 1 : 0.2}`),
|
|
1720
|
-
onClick: o[11] || (o[11] = (a) => R("BL")),
|
|
1721
|
-
class: O({
|
|
1722
|
-
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1723
|
-
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "BL"
|
|
1724
|
-
})
|
|
1725
|
-
}, null, 14, Ha),
|
|
1726
|
-
y("path", {
|
|
1727
|
-
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1728
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
1729
|
-
"stroke-width": 1,
|
|
1730
|
-
d: S.value[f.value].crosshairs.horizontal
|
|
1731
|
-
}, null, 8, Ea),
|
|
1732
|
-
y("path", {
|
|
1733
|
-
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1734
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
1735
|
-
"stroke-width": 1,
|
|
1736
|
-
d: S.value[f.value].crosshairs.vertical
|
|
1737
|
-
}, null, 8, Ua)
|
|
1738
|
-
])) : d("", !0),
|
|
1739
|
-
g(l.$slots, "svg", {
|
|
1740
|
-
svg: {
|
|
1741
|
-
...t.value,
|
|
1742
|
-
isPrintingImg: v(Pe) | v(Ye) | be.value,
|
|
1743
|
-
isPrintingSvg: fe.value
|
|
1744
|
-
}
|
|
1745
|
-
}, void 0, !0)
|
|
1746
|
-
], 46, Ql)),
|
|
1747
|
-
l.$slots.hint ? (n(), r("div", Qa, [
|
|
1748
|
-
g(l.$slots, "hint", T(q({
|
|
1749
|
-
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1750
|
-
isVisible: ge.value
|
|
1751
|
-
})), void 0, !0)
|
|
1752
|
-
])) : d("", !0)
|
|
1753
|
-
]),
|
|
1754
|
-
l.$slots.watermark ? (n(), r("div", Ga, [
|
|
1755
|
-
g(l.$slots, "watermark", T(q({
|
|
1756
|
-
isPrinting: v(Pe) || v(Ye) || be.value || fe.value
|
|
1757
|
-
})), void 0, !0)
|
|
1758
|
-
])) : d("", !0),
|
|
1759
|
-
y("div", {
|
|
1760
|
-
id: `legend-bottom-${$.value}`
|
|
1761
|
-
}, null, 8, Ka),
|
|
1762
|
-
et.value && (e.value.style.chart.legend.show || l.$slots.legend) ? (n(), B(vl, {
|
|
1763
|
-
key: 6,
|
|
1764
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${$.value}` : `#legend-bottom-${$.value}`
|
|
1765
|
-
}, [
|
|
1766
|
-
y("div", {
|
|
1767
|
-
ref_key: "chartLegend",
|
|
1768
|
-
ref: Qe
|
|
1769
|
-
}, [
|
|
1770
|
-
g(l.$slots, "legend", { legend: G.value }, () => [
|
|
1771
|
-
e.value.style.chart.legend.show ? (n(), B(Fl, {
|
|
1772
|
-
key: `legend_${Ze.value}`,
|
|
1773
|
-
legendSet: G.value,
|
|
1774
|
-
config: Gt.value,
|
|
1775
|
-
isCursorPointer: X.value,
|
|
1776
|
-
onClickMarker: o[12] || (o[12] = ({ legend: a }) => ne(a.id))
|
|
1777
|
-
}, {
|
|
1778
|
-
item: p(({ legend: a }) => [
|
|
1779
|
-
v(me) ? d("", !0) : (n(), r("div", {
|
|
1780
|
-
key: 0,
|
|
1781
|
-
onClick: (s) => ne(a.id),
|
|
1782
|
-
style: _(`opacity:${C.value.includes(a.id) ? 0.5 : 1}`)
|
|
1783
|
-
}, w(a.name), 13, ja))
|
|
1784
|
-
]),
|
|
1785
|
-
legendToggle: p(() => [
|
|
1786
|
-
G.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !v(me) ? (n(), B(Vl, {
|
|
1787
|
-
key: 0,
|
|
1788
|
-
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1789
|
-
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
1790
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
1791
|
-
checked: C.value.length > 0,
|
|
1792
|
-
isCursorPointer: X.value,
|
|
1793
|
-
onToggle: Et
|
|
1794
|
-
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : d("", !0)
|
|
1795
|
-
]),
|
|
1796
|
-
_: 1
|
|
1797
|
-
}, 8, ["legendSet", "config", "isCursorPointer"])) : d("", !0)
|
|
1798
|
-
], !0)
|
|
1799
|
-
], 512)
|
|
1800
|
-
], 8, ["to"])) : d("", !0),
|
|
1801
|
-
l.$slots.source ? (n(), r("div", {
|
|
1802
|
-
key: 7,
|
|
1803
|
-
ref_key: "source",
|
|
1804
|
-
ref: Ge,
|
|
1805
|
-
dir: "auto"
|
|
1806
|
-
}, [
|
|
1807
|
-
g(l.$slots, "source", {}, void 0, !0)
|
|
1808
|
-
], 512)) : d("", !0),
|
|
1809
|
-
ce(v(At), {
|
|
1810
|
-
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1811
|
-
show: k.value.showTooltip && ye.value,
|
|
1812
|
-
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1813
|
-
color: e.value.style.chart.tooltip.color,
|
|
1814
|
-
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
1815
|
-
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
1816
|
-
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
1817
|
-
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
1818
|
-
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1819
|
-
position: e.value.style.chart.tooltip.position,
|
|
1820
|
-
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1821
|
-
parent: F.value,
|
|
1822
|
-
content: qe.value,
|
|
1823
|
-
isFullscreen: j.value,
|
|
1824
|
-
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
1825
|
-
smooth: e.value.style.chart.tooltip.smooth,
|
|
1826
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
1827
|
-
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1828
|
-
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1829
|
-
isA11yMode: ze.value === "keyboard",
|
|
1830
|
-
a11yPosition: tt.value
|
|
1831
|
-
}, {
|
|
1832
|
-
"tooltip-before": p(() => [
|
|
1833
|
-
g(l.$slots, "tooltip-before", T(q({ ...ke.value })), void 0, !0)
|
|
1834
|
-
]),
|
|
1835
|
-
tooltip: p(() => [
|
|
1836
|
-
g(l.$slots, "tooltip", T(q({ ...ke.value })), void 0, !0)
|
|
1837
|
-
]),
|
|
1838
|
-
"tooltip-after": p(() => [
|
|
1839
|
-
g(l.$slots, "tooltip-after", T(q({ ...ke.value })), void 0, !0)
|
|
1840
|
-
]),
|
|
1841
|
-
default: p(() => [
|
|
1842
|
-
e.value.style.chart.tooltip.showShape ? (n(), r("svg", Ja, [
|
|
1843
|
-
ce(St, {
|
|
1844
|
-
plot: { x: 10, y: 10 },
|
|
1845
|
-
shape: re.value.shape,
|
|
1846
|
-
color: re.value.color,
|
|
1847
|
-
radius: 8,
|
|
1848
|
-
stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
|
|
1849
|
-
"stroke-width": e.value.style.chart.layout.plots.outlineWidth
|
|
1850
|
-
}, null, 8, ["shape", "color", "stroke", "stroke-width"])
|
|
1851
|
-
])) : d("", !0)
|
|
1852
|
-
]),
|
|
1853
|
-
_: 3
|
|
1854
|
-
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
1855
|
-
He.value && e.value.userOptions.buttons.table ? (n(), B(dl(de.value.component), wt({ key: 8 }, de.value.props, {
|
|
1856
|
-
ref_key: "tableUnit",
|
|
1857
|
-
ref: ue,
|
|
1858
|
-
onClose: gt
|
|
1859
|
-
}), kt({
|
|
1860
|
-
content: p(() => [
|
|
1861
|
-
(n(), B(v(Xt), {
|
|
1862
|
-
key: `table_${Je.value}`,
|
|
1863
|
-
colNames: le.value.colNames,
|
|
1864
|
-
head: le.value.head,
|
|
1865
|
-
body: le.value.body,
|
|
1866
|
-
config: le.value.config,
|
|
1867
|
-
title: e.value.table.useDialog ? "" : de.value.title,
|
|
1868
|
-
withCloseButton: !e.value.table.useDialog,
|
|
1869
|
-
isCursorPointer: X.value,
|
|
1870
|
-
onClose: gt
|
|
1871
|
-
}, {
|
|
1872
|
-
th: p(({ th: a }) => [
|
|
1873
|
-
Lt(w(a), 1)
|
|
1874
|
-
]),
|
|
1875
|
-
td: p(({ td: a }) => [
|
|
1876
|
-
y("div", {
|
|
1877
|
-
innerHTML: a.name || a
|
|
1878
|
-
}, null, 8, Za)
|
|
1879
|
-
]),
|
|
1880
|
-
_: 1
|
|
1881
|
-
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
|
|
1882
|
-
]),
|
|
1883
|
-
_: 2
|
|
1884
|
-
}, [
|
|
1885
|
-
e.value.table.useDialog ? {
|
|
1886
|
-
name: "title",
|
|
1887
|
-
fn: p(() => [
|
|
1888
|
-
Lt(w(de.value.title), 1)
|
|
1889
|
-
]),
|
|
1890
|
-
key: "0"
|
|
1891
|
-
} : void 0,
|
|
1892
|
-
e.value.table.useDialog ? {
|
|
1893
|
-
name: "actions",
|
|
1894
|
-
fn: p(() => [
|
|
1895
|
-
y("button", {
|
|
1896
|
-
tabindex: "0",
|
|
1897
|
-
class: "vue-ui-user-options-button",
|
|
1898
|
-
onClick: o[13] || (o[13] = (a) => Ne(e.value.userOptions.callbacks.csv)),
|
|
1899
|
-
style: _({ cursor: X.value ? "pointer" : "default" })
|
|
1900
|
-
}, [
|
|
1901
|
-
ce(v(zt), {
|
|
1902
|
-
name: "fileCsv",
|
|
1903
|
-
stroke: de.value.props.color
|
|
1904
|
-
}, null, 8, ["stroke"])
|
|
1905
|
-
], 4)
|
|
1906
|
-
]),
|
|
1907
|
-
key: "1"
|
|
1908
|
-
} : void 0
|
|
1909
|
-
]), 1040)) : d("", !0),
|
|
1910
|
-
g(l.$slots, "skeleton", {}, () => [
|
|
1911
|
-
v(me) ? (n(), B(zl, { key: 0 })) : d("", !0)
|
|
1912
|
-
], !0)
|
|
1913
|
-
], 46, Dl));
|
|
1914
|
-
}
|
|
1915
|
-
}, $o = /* @__PURE__ */ Rl(eo, [["__scopeId", "data-v-8887ed08"]]);
|
|
1916
|
-
export {
|
|
1917
|
-
$o as default
|
|
1918
|
-
};
|