vue-data-ui 3.27.0 → 3.27.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/dist/A11yDataTable-DWNlWXzs.js +1 -0
- package/dist/Arrow-C2W0uGrq.js +1 -0
- package/dist/BaseDraggableDialog-D_tuHEjO.js +1 -0
- package/dist/BaseIcon-DdIyewwY.js +1 -0
- package/dist/BaseLegendToggle-Bq5FjyuI.js +1 -0
- package/dist/BaseScanner-8NdoBs7B.js +1 -0
- package/dist/BaseZoomControls-DoYifY2y.js +1 -0
- package/dist/ColorPicker-MLwiwxl5.js +1 -0
- package/dist/DataTable-WNecJMcY.js +1 -0
- package/dist/DefGrad-DKMq1REY.js +1 -0
- package/dist/HillActions-CHg1AQ3p.js +1 -0
- package/dist/Legend-D8YoT1RJ.js +1 -0
- package/dist/NonSvgPenAndPaper-CqtJpZKh.js +1 -0
- package/dist/PackageVersion-CdkxOy58.js +1 -0
- package/dist/PenAndPaper-IMw576MC.js +1 -0
- package/dist/RecursiveCircles-BftI1kwF.js +1 -0
- package/dist/RecursiveLabels-B0d04xSj.js +1 -0
- package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
- package/dist/Shape-Bp9YNtPc.js +1 -0
- package/dist/SlicerPreview-CNUciSbY.js +1 -0
- package/dist/SparkTooltip-C5JMcBXT.js +1 -0
- package/dist/Title-BGYFqulv.js +1 -0
- package/dist/Tooltip-Cus2-XNQ.js +1 -0
- package/dist/UserOptions-DTxMeZv3.js +1 -0
- package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
- package/dist/annotationSlots-BRR85CqJ.js +1 -0
- package/dist/chartImage-CIvU_04o.js +1 -0
- package/dist/components/arrow.js +1 -2
- package/dist/components/vue-ui-3d-bar.js +1 -2
- package/dist/components/vue-ui-accordion.js +1 -2
- package/dist/components/vue-ui-age-pyramid.js +1 -2
- package/dist/components/vue-ui-annotator.js +1 -2
- package/dist/components/vue-ui-bullet.js +1 -2
- package/dist/components/vue-ui-bump.js +1 -2
- package/dist/components/vue-ui-candlestick.js +1 -2
- package/dist/components/vue-ui-carousel-table.js +1 -2
- package/dist/components/vue-ui-chestnut.js +1 -2
- package/dist/components/vue-ui-chord.js +1 -2
- package/dist/components/vue-ui-circle-pack.js +1 -2
- package/dist/components/vue-ui-cursor.js +1 -2
- package/dist/components/vue-ui-dag.js +1 -2
- package/dist/components/vue-ui-dashboard.js +1 -2
- package/dist/components/vue-ui-digits.js +1 -2
- package/dist/components/vue-ui-donut-evolution.js +1 -2
- package/dist/components/vue-ui-donut.js +1 -2
- package/dist/components/vue-ui-dumbbell.js +1 -2
- package/dist/components/vue-ui-flow.js +1 -2
- package/dist/components/vue-ui-funnel.js +1 -2
- package/dist/components/vue-ui-galaxy.js +1 -2
- package/dist/components/vue-ui-gauge.js +1 -2
- package/dist/components/vue-ui-geo.js +1 -2
- package/dist/components/vue-ui-gizmo.js +1 -2
- package/dist/components/vue-ui-heatmap.js +1 -2
- package/dist/components/vue-ui-hill.js +1 -2
- package/dist/components/vue-ui-history-plot.js +1 -2
- package/dist/components/vue-ui-horizontal-bar.js +1 -2
- package/dist/components/vue-ui-icon.js +1 -2
- package/dist/components/vue-ui-kpi.js +1 -2
- package/dist/components/vue-ui-label.js +1 -2
- package/dist/components/vue-ui-mini-loader.js +1 -2
- package/dist/components/vue-ui-molecule.js +1 -2
- package/dist/components/vue-ui-mood-radar.js +1 -2
- package/dist/components/vue-ui-nested-donuts.js +1 -2
- package/dist/components/vue-ui-onion.js +1 -2
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
- package/dist/components/vue-ui-pattern-seed.js +1 -2
- package/dist/components/vue-ui-pattern.js +1 -2
- package/dist/components/vue-ui-quadrant.js +1 -2
- package/dist/components/vue-ui-quick-chart.js +1 -2
- package/dist/components/vue-ui-radar.js +1 -2
- package/dist/components/vue-ui-rating.js +1 -2
- package/dist/components/vue-ui-relation-circle.js +1 -2
- package/dist/components/vue-ui-ridgeline.js +1 -2
- package/dist/components/vue-ui-rings.js +1 -2
- package/dist/components/vue-ui-scatter.js +1 -2
- package/dist/components/vue-ui-skeleton.js +1 -2
- package/dist/components/vue-ui-smiley.js +1 -2
- package/dist/components/vue-ui-spark-trend.js +1 -2
- package/dist/components/vue-ui-sparkbar.js +1 -2
- package/dist/components/vue-ui-sparkgauge.js +1 -2
- package/dist/components/vue-ui-sparkhistogram.js +1 -2
- package/dist/components/vue-ui-sparkline.js +1 -2
- package/dist/components/vue-ui-sparkstackbar.js +1 -2
- package/dist/components/vue-ui-stackbar.js +1 -2
- package/dist/components/vue-ui-stackline.js +1 -2
- package/dist/components/vue-ui-strip-plot.js +1 -2
- package/dist/components/vue-ui-table-heatmap.js +1 -2
- package/dist/components/vue-ui-table-sparkline.js +1 -2
- package/dist/components/vue-ui-table.js +1 -2
- package/dist/components/vue-ui-thermometer.js +1 -2
- package/dist/components/vue-ui-timer.js +1 -2
- package/dist/components/vue-ui-tiremarks.js +1 -2
- package/dist/components/vue-ui-treemap.js +1 -2
- package/dist/components/vue-ui-vertical-bar.js +1 -2
- package/dist/components/vue-ui-waffle.js +1 -2
- package/dist/components/vue-ui-wheel.js +1 -2
- package/dist/components/vue-ui-word-cloud.js +1 -2
- package/dist/components/vue-ui-world.js +1 -2
- package/dist/components/vue-ui-xy-canvas.js +1 -2
- package/dist/components/vue-ui-xy.js +1 -2
- package/dist/composables.js +1 -5
- package/dist/dom-to-png-D8t3Bm7s.js +3 -0
- package/dist/exposedLib-DHtyEc_G.js +1 -0
- package/dist/geoProjections-Bvj-eMvq.js +1 -0
- package/dist/img-DiT4ivZ5.js +1 -0
- package/dist/labelUtils-CG3uVXoZ.js +1 -0
- package/dist/lib-CV_IANZ6.js +12 -0
- package/dist/package-DE5cU1Rg.js +1 -0
- package/dist/patternUtils-_q3ArM3g.js +1 -0
- package/dist/pdf-BQSB1V3H.js +1 -0
- package/dist/render-common-BdZ5aRyn.js +1 -0
- package/dist/resolveChartConfig-DZg-korK.js +1 -0
- package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
- package/dist/ssr/vue-ui-donut.js +1 -2
- package/dist/ssr/vue-ui-xy.js +1 -2
- package/dist/ssr.js +1 -3
- package/dist/style.css +1 -1
- package/dist/tableIntegration-CNoJ1CIY.js +1 -0
- package/dist/types/composables.d.ts +12 -12
- package/dist/types/ssr.d.ts +84 -84
- package/dist/types/utils.d.ts +82 -73
- package/dist/types/vue-data-ui.d.ts +17961 -17958
- package/dist/types/vue-ui-3d-bar.d.ts +24 -91
- package/dist/types/vue-ui-accordion.d.ts +2 -10
- package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
- package/dist/types/vue-ui-annotator.d.ts +12 -88
- package/dist/types/vue-ui-bullet.d.ts +21 -83
- package/dist/types/vue-ui-bump.d.ts +23 -90
- package/dist/types/vue-ui-candlestick.d.ts +27 -108
- package/dist/types/vue-ui-carousel-table.d.ts +11 -57
- package/dist/types/vue-ui-chestnut.d.ts +27 -96
- package/dist/types/vue-ui-chord.d.ts +31 -108
- package/dist/types/vue-ui-circle-pack.d.ts +30 -124
- package/dist/types/vue-ui-cursor.d.ts +2 -8
- package/dist/types/vue-ui-dag.d.ts +35 -125
- package/dist/types/vue-ui-dashboard.d.ts +18 -66
- package/dist/types/vue-ui-digits.d.ts +2 -11
- package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
- package/dist/types/vue-ui-donut.d.ts +31 -121
- package/dist/types/vue-ui-dumbbell.d.ts +24 -92
- package/dist/types/vue-ui-flow.d.ts +28 -104
- package/dist/types/vue-ui-funnel.d.ts +18 -77
- package/dist/types/vue-ui-galaxy.d.ts +30 -112
- package/dist/types/vue-ui-gauge.d.ts +22 -87
- package/dist/types/vue-ui-geo.d.ts +22 -92
- package/dist/types/vue-ui-gizmo.d.ts +5 -20
- package/dist/types/vue-ui-heatmap.d.ts +25 -101
- package/dist/types/vue-ui-hill.d.ts +22 -88
- package/dist/types/vue-ui-history-plot.d.ts +30 -112
- package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
- package/dist/types/vue-ui-icon.d.ts +1 -13
- package/dist/types/vue-ui-kpi.d.ts +5 -23
- package/dist/types/vue-ui-label.d.ts +11 -48
- package/dist/types/vue-ui-mini-loader.d.ts +4 -13
- package/dist/types/vue-ui-molecule.d.ts +27 -110
- package/dist/types/vue-ui-mood-radar.d.ts +23 -90
- package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
- package/dist/types/vue-ui-onion.d.ts +26 -104
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
- package/dist/types/vue-ui-pattern.d.ts +1 -13
- package/dist/types/vue-ui-quadrant.d.ts +33 -123
- package/dist/types/vue-ui-quick-chart.d.ts +30 -110
- package/dist/types/vue-ui-radar.d.ts +31 -114
- package/dist/types/vue-ui-rating.d.ts +8 -40
- package/dist/types/vue-ui-relation-circle.d.ts +26 -90
- package/dist/types/vue-ui-ridgeline.d.ts +27 -104
- package/dist/types/vue-ui-rings.d.ts +21 -96
- package/dist/types/vue-ui-scatter.d.ts +22 -95
- package/dist/types/vue-ui-skeleton.d.ts +2 -10
- package/dist/types/vue-ui-smiley.d.ts +6 -26
- package/dist/types/vue-ui-spark-trend.d.ts +2 -18
- package/dist/types/vue-ui-sparkbar.d.ts +10 -47
- package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
- package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
- package/dist/types/vue-ui-sparkline.d.ts +16 -61
- package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
- package/dist/types/vue-ui-stackbar.d.ts +36 -130
- package/dist/types/vue-ui-stackline.d.ts +29 -116
- package/dist/types/vue-ui-strip-plot.d.ts +22 -96
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
- package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
- package/dist/types/vue-ui-table.d.ts +9 -36
- package/dist/types/vue-ui-thermometer.d.ts +14 -68
- package/dist/types/vue-ui-timer.d.ts +10 -47
- package/dist/types/vue-ui-tiremarks.d.ts +14 -68
- package/dist/types/vue-ui-treemap.d.ts +26 -105
- package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
- package/dist/types/vue-ui-waffle.d.ts +23 -99
- package/dist/types/vue-ui-wheel.d.ts +14 -68
- package/dist/types/vue-ui-word-cloud.d.ts +20 -95
- package/dist/types/vue-ui-world.d.ts +22 -96
- package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
- package/dist/types/vue-ui-xy.d.ts +42 -146
- package/dist/unpackTheme-CNsFKCeq.js +1 -0
- package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
- package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
- package/dist/useChartExport-DtPNpc9M.js +1 -0
- package/dist/useConfig-CKdzPrcf.js +1 -0
- package/dist/useFitSvgText-C1QC4P5G.js +1 -0
- package/dist/useHints-BH9r_0Vd.js +6 -0
- package/dist/useNestedProp-CB186vF2.js +1 -0
- package/dist/useObjectBindings-Dse7YyAf.js +1 -0
- package/dist/usePanZoom-BdjP5Suc.js +1 -0
- package/dist/usePrefersMotion-XLHwega2.js +1 -0
- package/dist/usePrinter-hLW3cv4N.js +1 -0
- package/dist/useResponsive-D2CPcpda.js +1 -0
- package/dist/useStableElementSize-CegFbRlF.js +1 -0
- package/dist/useTableResponsive-uSz_qZOB.js +1 -0
- package/dist/useThemeCheck-BKNRbGeC.js +1 -0
- package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
- package/dist/useTimeLabels-Das5O74F.js +1 -0
- package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
- package/dist/useTransitions-DfSHzsdz.js +1 -0
- package/dist/useUserOptionState-CXlFnwPv.js +1 -0
- package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
- package/dist/utils.js +1 -30
- package/dist/vClickOutside-BxNzkY17.js +1 -0
- package/dist/vue-data-ui-DyYgLIZN.js +1 -0
- package/dist/vue-data-ui.js +1 -79
- package/dist/vue-ui-3d-bar-BZAoyWkc.js +19 -0
- package/dist/vue-ui-accordion-BNvevckx.js +1 -0
- package/dist/vue-ui-age-pyramid-DkA6vpU3.js +1 -0
- package/dist/vue-ui-annotator-DuQME4Hh.js +331 -0
- package/dist/vue-ui-bullet-BVs8JX8S.js +34 -0
- package/dist/vue-ui-bump-DYdm3EvF.js +10 -0
- package/dist/vue-ui-candlestick-DZgxl4mW.js +22 -0
- package/dist/vue-ui-carousel-table-BB7DsTUt.js +1 -0
- package/dist/vue-ui-chestnut-Bo1h5rBt.js +1 -0
- package/dist/vue-ui-chord-B6_veyvO.js +21 -0
- package/dist/vue-ui-circle-pack-Bm7e2YNh.js +13 -0
- package/dist/vue-ui-cursor-TidZDuSh.js +1 -0
- package/dist/vue-ui-dag-BiN_AnLo.js +9 -0
- package/dist/vue-ui-dashboard-zepAVN_W.js +1 -0
- package/dist/vue-ui-digits-CXKKmfGj.js +42 -0
- package/dist/vue-ui-donut-CKkBtyPK.js +22 -0
- package/dist/vue-ui-donut-DLDUpjDU.js +47 -0
- package/dist/vue-ui-donut-evolution-BxMTdE5G.js +2 -0
- package/dist/vue-ui-dumbbell-C8rNwdz0.js +9 -0
- package/dist/vue-ui-flow-Dru76A2O.js +3 -0
- package/dist/vue-ui-funnel-D_u1h5S9.js +1 -0
- package/dist/vue-ui-galaxy-sBEH18Xj.js +1 -0
- package/dist/vue-ui-gauge-Do3RN8ne.js +1 -0
- package/dist/vue-ui-geo-DDbtx_iJ.js +1 -0
- package/dist/vue-ui-gizmo-eic6xLjB.js +1 -0
- package/dist/vue-ui-heatmap-DlmJRsM8.js +1 -0
- package/dist/vue-ui-hill-C5oiuIXh.js +1 -0
- package/dist/vue-ui-history-plot-BJjnkWcT.js +2 -0
- package/dist/vue-ui-horizontal-bar-BRDBJEl1.js +4 -0
- package/dist/vue-ui-kpi-C-eed3jO.js +1 -0
- package/dist/vue-ui-label-B4pkXBxc.js +7 -0
- package/dist/vue-ui-mini-loader-CElmv_iF.js +1 -0
- package/dist/vue-ui-molecule-BeyQWZU9.js +1 -0
- package/dist/vue-ui-mood-radar-Bh0kHfiZ.js +1 -0
- package/dist/vue-ui-nested-donuts-FlnJfDaF.js +19 -0
- package/dist/vue-ui-onion-BjhSpjtW.js +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-CHV6XDti.js +9 -0
- package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
- package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
- package/dist/vue-ui-quadrant-BaKSTJDv.js +2 -0
- package/dist/vue-ui-quick-chart-Nc2mVlle.js +17 -0
- package/dist/vue-ui-radar-BzUfkLlC.js +1 -0
- package/dist/vue-ui-rating-BwWXvbAg.js +1 -0
- package/dist/vue-ui-relation-circle-nAZEg-BL.js +1 -0
- package/dist/vue-ui-ridgeline-DxLZg1E2.js +2 -0
- package/dist/vue-ui-rings-BOti0NGb.js +1 -0
- package/dist/vue-ui-scatter-CCNMggyo.js +9 -0
- package/dist/vue-ui-skeleton-DI7pcimU.js +41 -0
- package/dist/vue-ui-smiley-D70sJZWl.js +1 -0
- package/dist/vue-ui-spark-trend-BVtfEalS.js +1 -0
- package/dist/vue-ui-sparkbar-CdsLI7Ke.js +1 -0
- package/dist/vue-ui-sparkgauge-wmj5Wnnp.js +1 -0
- package/dist/vue-ui-sparkhistogram-D8S_P_P4.js +1 -0
- package/dist/vue-ui-sparkline-BjsJnS_9.js +1 -0
- package/dist/vue-ui-sparkstackbar-ZN8LXzoV.js +1 -0
- package/dist/vue-ui-stackbar-Dx_EN3pT.js +29 -0
- package/dist/vue-ui-stackline-DW-oxJvA.js +39 -0
- package/dist/vue-ui-strip-plot-D7kjJ3Qh.js +2 -0
- package/dist/vue-ui-table-CaFVLHxE.js +14 -0
- package/dist/vue-ui-table-heatmap-Ctf7Rhqo.js +1 -0
- package/dist/vue-ui-table-sparkline-C0I0cXBS.js +1 -0
- package/dist/vue-ui-thermometer-B6og15Al.js +1 -0
- package/dist/vue-ui-timer-DgXvO2Q7.js +64 -0
- package/dist/vue-ui-tiremarks-Dh6fZ454.js +1 -0
- package/dist/vue-ui-treemap-7JuvN6P_.js +1 -0
- package/dist/vue-ui-waffle-BqvGzfse.js +1 -0
- package/dist/vue-ui-wheel-SdwJqKA7.js +1 -0
- package/dist/vue-ui-word-cloud-1WVV_k12.js +4 -0
- package/dist/vue-ui-world-DjMy_utm.js +19 -0
- package/dist/vue-ui-xy-DaozHMfg.js +31 -0
- package/dist/vue-ui-xy-canvas-CegvS9RR.js +9 -0
- package/dist/vue-ui-xy-rGHSI1am.js +24 -0
- package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
- package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
- package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
- package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
- package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
- package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
- package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
- package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
- package/dist/vue_ui_dag-1b_dLSym.js +1 -0
- package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
- package/dist/vue_ui_donut_evolution-CVoh3twl.js +1 -0
- package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
- package/dist/vue_ui_flow-kvV56Es9.js +1 -0
- package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
- package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
- package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
- package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
- package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
- package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
- package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
- package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
- package/dist/vue_ui_label-dtPqyFsj.js +1 -0
- package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
- package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
- package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
- package/dist/vue_ui_onion-C9BedU_-.js +1 -0
- package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
- package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
- package/dist/vue_ui_quick_chart-BRfcRW6Z.js +1 -0
- package/dist/vue_ui_radar-68iK9Fam.js +1 -0
- package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
- package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
- package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
- package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
- package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
- package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
- package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
- package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
- package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
- package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
- package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
- package/dist/vue_ui_stackline-D7b63K84.js +1 -0
- package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
- package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
- package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
- package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
- package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
- package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
- package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
- package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
- package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
- package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
- package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
- package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
- package/package.json +2 -2
- package/dist/A11yDataTable-DdRsVULz.js +0 -45
- package/dist/Arrow-DKO1l8oR.js +0 -116
- package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
- package/dist/BaseIcon-Cx9FD751.js +0 -484
- package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
- package/dist/BaseScanner-Dzc8VT3j.js +0 -30
- package/dist/BaseZoomControls-vNi8YykO.js +0 -111
- package/dist/ColorPicker-hmC2bvwS.js +0 -257
- package/dist/DataTable-CjF_An2h.js +0 -150
- package/dist/DefGrad-DVBqDjhO.js +0 -48
- package/dist/HillActions-DqqGB33u.js +0 -187
- package/dist/Legend-CulFgjUY.js +0 -156
- package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
- package/dist/PackageVersion-D7H9nfK0.js +0 -12
- package/dist/PenAndPaper-CNiuGw6k.js +0 -906
- package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
- package/dist/RecursiveLabels-D9rfID6q.js +0 -56
- package/dist/RecursiveLinks-BygcpDiT.js +0 -78
- package/dist/Shape-DSwamtmO.js +0 -143
- package/dist/SlicerPreview-k5YerMA9.js +0 -1730
- package/dist/SparkTooltip-D35KVv6N.js +0 -93
- package/dist/Title-BMCuINbv.js +0 -87
- package/dist/Tooltip-C4ZTwkLF.js +0 -312
- package/dist/UserOptions-CORYQiif.js +0 -1412
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/dom-to-png-CBusMkua.js +0 -237
- package/dist/exposedLib-UNxZlnAS.js +0 -28
- package/dist/geoProjections-BYthUA8l.js +0 -302
- package/dist/img-Bb5rHcpO.js +0 -129
- package/dist/labelUtils-Ccn9kK7T.js +0 -19
- package/dist/lib-D4wK6ljP.js +0 -2146
- package/dist/package-DmQufM0G.js +0 -4
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-BzIQHx-F.js +0 -90
- package/dist/render-common-BtfjXdkJ.js +0 -152
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
- package/dist/useChartAccessibility-DYqac8yF.js +0 -12
- package/dist/useChartExport-iwOqiIWX.js +0 -803
- package/dist/useConfig-D_6ZrPMD.js +0 -8090
- package/dist/useFitSvgText-CXTzBplU.js +0 -65
- package/dist/useHints-Dq_w2E8B.js +0 -66
- package/dist/useNestedProp-DR_8JPol.js +0 -12
- package/dist/useObjectBindings-DvasYMGu.js +0 -191
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-DdW2GSm0.js +0 -49
- package/dist/useResponsive-ZtArZtUf.js +0 -97
- package/dist/useStableElementSize-C7KADDKj.js +0 -77
- package/dist/useTableResponsive-BAqJPR68.js +0 -25
- package/dist/useThemeCheck-C43Tcqmk.js +0 -24
- package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
- package/dist/useTimeLabels-d2f-W1L4.js +0 -270
- package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
- package/dist/useTransitions-g_zBREk2.js +0 -39
- package/dist/useUserOptionState-DK-_1ddE.js +0 -15
- package/dist/vClickOutside-DUrZWttG.js +0 -13
- package/dist/vue-data-ui-Df7WV80w.js +0 -191
- package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
- package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
- package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
- package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
- package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
- package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
- package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
- package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
- package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
- package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
- package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
- package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
- package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
- package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
- package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
- package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
- package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
- package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
- package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
- package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
- package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
- package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
- package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
- package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
- package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
- package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
- package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
- package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
- package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
- package/dist/vue-ui-label-r3-QloJL.js +0 -1451
- package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
- package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
- package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
- package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +0 -1444
- package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
- package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
- package/dist/vue-ui-quadrant-CDDFLRcX.js +0 -1979
- package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
- package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
- package/dist/vue-ui-rating-C_iTttXB.js +0 -359
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
- package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
- package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
- package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
- package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
- package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
- package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
- package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
- package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
- package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
- package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
- package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
- package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
- package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
- package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
- package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
- package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
- package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
- package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
- package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
- package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
- package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
- package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
- package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
- package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
- package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
- package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
- package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
- package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
- package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
- package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
- package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
- package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
- package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
- package/dist/vue_ui_donut-BDGqG07h.js +0 -358
- package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
- package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
- package/dist/vue_ui_flow-BewZjjKG.js +0 -238
- package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
- package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
- package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
- package/dist/vue_ui_geo-B8TODs-G.js +0 -248
- package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
- package/dist/vue_ui_hill-dnltu0L-.js +0 -368
- package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
- package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
- package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
- package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
- package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
- package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
- package/dist/vue_ui_onion-1FTFFS46.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
- package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
- package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
- package/dist/vue_ui_radar-jafTED5j.js +0 -306
- package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
- package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
- package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
- package/dist/vue_ui_scatter-I0POnicu.js +0 -479
- package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
- package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
- package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
- package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
- package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
- package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
- package/dist/vue_ui_stackbar-yQyvT4Su.js +0 -537
- package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
- package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
- package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
- package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
- package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
- package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
- package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
- package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
- package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
- package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
- package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
- package/dist/vue_ui_xy-CcJADijP.js +0 -614
- package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
|
@@ -1,1979 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Ct as n, D as r, Dt as i, Ht as a, J as o, Jt as s, S as ee, X as te, Yt as ne, at as re, en as ie, et as ae, i as c, jt as oe, nn as se, nt as ce, pt as le, r as ue, t as de, w as fe, zt as pe } from "./lib-D4wK6ljP.js";
|
|
3
|
-
import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ge } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
-
import { t as _e } from "./usePrinter-DdW2GSm0.js";
|
|
6
|
-
import { n as ve, t as ye } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as be } from "./useNestedProp-DR_8JPol.js";
|
|
8
|
-
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as Se } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as Ce } from "./img-Bb5rHcpO.js";
|
|
11
|
-
import { n as we } from "./Title-BMCuINbv.js";
|
|
12
|
-
import { t as Te } from "./Shape-DSwamtmO.js";
|
|
13
|
-
import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
-
import { l as De, t as Oe } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
-
import { t as ke } from "./DefGrad-DVBqDjhO.js";
|
|
16
|
-
import { t as Ae } from "./BaseLegendToggle-CP3sddwv.js";
|
|
17
|
-
import { t as je } from "./A11yDataTable-DdRsVULz.js";
|
|
18
|
-
import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
|
-
import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as Pe } from "./Legend-CulFgjUY.js";
|
|
21
|
-
import { t as Fe } from "./vue_ui_quadrant-CDSTKTJz.js";
|
|
22
|
-
import { Fragment as l, Teleport as Ie, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Be, nextTick as Ve, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as He, onMounted as Ue, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as We, shallowRef as Ge, toDisplayString as w, toRefs as Ke, unref as T, watch as qe, withCtx as E } from "vue";
|
|
23
|
-
//#region src/components/vue-ui-quadrant.vue
|
|
24
|
-
var Je = /* @__PURE__ */ e({ default: () => nn }), Ye = ["id"], Xe = ["id"], Ze = ["id"], Qe = { style: { position: "relative" } }, $e = [
|
|
25
|
-
"xmlns",
|
|
26
|
-
"aria-describedby",
|
|
27
|
-
"viewBox",
|
|
28
|
-
"id"
|
|
29
|
-
], et = [
|
|
30
|
-
"x",
|
|
31
|
-
"y",
|
|
32
|
-
"width",
|
|
33
|
-
"height"
|
|
34
|
-
], tt = { key: 1 }, nt = [
|
|
35
|
-
"fill",
|
|
36
|
-
"x",
|
|
37
|
-
"y",
|
|
38
|
-
"height",
|
|
39
|
-
"width",
|
|
40
|
-
"stroke-width",
|
|
41
|
-
"stroke",
|
|
42
|
-
"rx"
|
|
43
|
-
], rt = [
|
|
44
|
-
"x1",
|
|
45
|
-
"y1",
|
|
46
|
-
"x2",
|
|
47
|
-
"y2",
|
|
48
|
-
"stroke",
|
|
49
|
-
"stroke-width"
|
|
50
|
-
], it = [
|
|
51
|
-
"x1",
|
|
52
|
-
"y1",
|
|
53
|
-
"x2",
|
|
54
|
-
"y2",
|
|
55
|
-
"stroke",
|
|
56
|
-
"stroke-width"
|
|
57
|
-
], at = { key: 2 }, ot = ["points", "fill"], st = ["points", "fill"], ct = ["points", "fill"], lt = ["points", "fill"], ut = { key: 3 }, dt = [
|
|
58
|
-
"y",
|
|
59
|
-
"fill",
|
|
60
|
-
"font-size"
|
|
61
|
-
], ft = [
|
|
62
|
-
"x",
|
|
63
|
-
"y",
|
|
64
|
-
"fill",
|
|
65
|
-
"font-size"
|
|
66
|
-
], pt = [
|
|
67
|
-
"x",
|
|
68
|
-
"y",
|
|
69
|
-
"fill",
|
|
70
|
-
"font-size"
|
|
71
|
-
], mt = [
|
|
72
|
-
"y",
|
|
73
|
-
"fill",
|
|
74
|
-
"font-size"
|
|
75
|
-
], ht = { key: 4 }, gt = [
|
|
76
|
-
"x",
|
|
77
|
-
"y",
|
|
78
|
-
"font-size",
|
|
79
|
-
"fill"
|
|
80
|
-
], _t = [
|
|
81
|
-
"x",
|
|
82
|
-
"y",
|
|
83
|
-
"font-size",
|
|
84
|
-
"fill"
|
|
85
|
-
], vt = [
|
|
86
|
-
"x",
|
|
87
|
-
"y",
|
|
88
|
-
"font-size",
|
|
89
|
-
"fill"
|
|
90
|
-
], yt = [
|
|
91
|
-
"id",
|
|
92
|
-
"font-size",
|
|
93
|
-
"transform",
|
|
94
|
-
"fill"
|
|
95
|
-
], bt = [
|
|
96
|
-
"id",
|
|
97
|
-
"font-size",
|
|
98
|
-
"transform",
|
|
99
|
-
"fill"
|
|
100
|
-
], xt = [
|
|
101
|
-
"id",
|
|
102
|
-
"font-size",
|
|
103
|
-
"transform",
|
|
104
|
-
"fill"
|
|
105
|
-
], St = { key: 5 }, Ct = ["fill", "points"], wt = [
|
|
106
|
-
"x",
|
|
107
|
-
"y",
|
|
108
|
-
"width",
|
|
109
|
-
"height"
|
|
110
|
-
], Tt = [
|
|
111
|
-
"x",
|
|
112
|
-
"y",
|
|
113
|
-
"width",
|
|
114
|
-
"height"
|
|
115
|
-
], Et = [
|
|
116
|
-
"x",
|
|
117
|
-
"y",
|
|
118
|
-
"width",
|
|
119
|
-
"height"
|
|
120
|
-
], Dt = [
|
|
121
|
-
"x",
|
|
122
|
-
"y",
|
|
123
|
-
"width",
|
|
124
|
-
"height"
|
|
125
|
-
], Ot = [
|
|
126
|
-
"x",
|
|
127
|
-
"y",
|
|
128
|
-
"onMouseenter",
|
|
129
|
-
"onMouseleave",
|
|
130
|
-
"onClick"
|
|
131
|
-
], kt = [
|
|
132
|
-
"data-a11y-plot-id",
|
|
133
|
-
"cx",
|
|
134
|
-
"cy",
|
|
135
|
-
"r"
|
|
136
|
-
], At = [
|
|
137
|
-
"data-a11y-plot-id",
|
|
138
|
-
"cx",
|
|
139
|
-
"cy",
|
|
140
|
-
"r"
|
|
141
|
-
], jt = {
|
|
142
|
-
key: 0,
|
|
143
|
-
style: { "pointer-events": "none" }
|
|
144
|
-
}, Mt = [
|
|
145
|
-
"x",
|
|
146
|
-
"y",
|
|
147
|
-
"font-size",
|
|
148
|
-
"fill"
|
|
149
|
-
], Nt = [
|
|
150
|
-
"x",
|
|
151
|
-
"y",
|
|
152
|
-
"font-size",
|
|
153
|
-
"fill",
|
|
154
|
-
"innerHTML"
|
|
155
|
-
], Pt = { key: 0 }, Ft = [
|
|
156
|
-
"x",
|
|
157
|
-
"y",
|
|
158
|
-
"onMouseover",
|
|
159
|
-
"onMouseleave",
|
|
160
|
-
"onClick"
|
|
161
|
-
], It = {
|
|
162
|
-
key: 8,
|
|
163
|
-
class: "vue-ui-dna"
|
|
164
|
-
}, Lt = ["points", "fill"], Rt = ["points", "fill"], zt = ["points", "fill"], Bt = ["points", "fill"], Vt = { key: 9 }, Ht = [
|
|
165
|
-
"x",
|
|
166
|
-
"y",
|
|
167
|
-
"font-size",
|
|
168
|
-
"fill",
|
|
169
|
-
"font-weight"
|
|
170
|
-
], Ut = { key: 10 }, Wt = [
|
|
171
|
-
"x",
|
|
172
|
-
"y",
|
|
173
|
-
"fill"
|
|
174
|
-
], Gt = [
|
|
175
|
-
"x",
|
|
176
|
-
"y",
|
|
177
|
-
"fill"
|
|
178
|
-
], Kt = [
|
|
179
|
-
"x",
|
|
180
|
-
"y",
|
|
181
|
-
"fill"
|
|
182
|
-
], qt = [
|
|
183
|
-
"x",
|
|
184
|
-
"y",
|
|
185
|
-
"fill"
|
|
186
|
-
], Jt = ["stroke", "d"], Yt = ["stroke", "d"], Xt = {
|
|
187
|
-
key: 0,
|
|
188
|
-
style: {
|
|
189
|
-
position: "absolute",
|
|
190
|
-
top: "100%",
|
|
191
|
-
left: "0",
|
|
192
|
-
width: "100%"
|
|
193
|
-
},
|
|
194
|
-
"data-dom-to-png-ignore": "",
|
|
195
|
-
"aria-hidden": "true"
|
|
196
|
-
}, Zt = {
|
|
197
|
-
key: 5,
|
|
198
|
-
class: "vue-data-ui-watermark"
|
|
199
|
-
}, Qt = ["id"], $t = ["onClick"], en = {
|
|
200
|
-
key: 0,
|
|
201
|
-
height: "14",
|
|
202
|
-
width: "14",
|
|
203
|
-
viewBox: "0 0 20 20"
|
|
204
|
-
}, tn = ["innerHTML"], nn = /*#__PURE__*/ Ee({
|
|
205
|
-
__name: "vue-ui-quadrant",
|
|
206
|
-
props: {
|
|
207
|
-
config: {
|
|
208
|
-
type: Object,
|
|
209
|
-
default() {
|
|
210
|
-
return {};
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
dataset: {
|
|
214
|
-
type: Array,
|
|
215
|
-
default() {
|
|
216
|
-
return [];
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
emits: [
|
|
221
|
-
"selectPlot",
|
|
222
|
-
"selectSide",
|
|
223
|
-
"selectLegend",
|
|
224
|
-
"copyAlt"
|
|
225
|
-
],
|
|
226
|
-
setup(e, { expose: Ee, emit: Je }) {
|
|
227
|
-
let nn = h(() => import("./Tooltip-C4ZTwkLF.js")), rn = h(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), an = h(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), on = h(() => import("./DataTable-CjF_An2h.js")), sn = h(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), cn = h(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), ln = h(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), un = h(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_quadrant: dn } = ge(), { isThemeValid: fn, warnInvalidTheme: pn } = xe(), D = e, mn = u(() => !!D.dataset && D.dataset.length), O = x(te()), hn = Je, gn = x(!1), _n = x(""), vn = x(0), k = x(!1), A = x(null), yn = x(null), bn = x(null), xn = x(null), Sn = x(null), Cn = x(0), wn = x(0), Tn = x(0), En = x(!1), Dn = x(null), On = x(null), kn = x(null), An = x(null), jn = x({
|
|
228
|
-
x: 0,
|
|
229
|
-
y: 0
|
|
230
|
-
}), Mn = x("pointer"), Nn = x(!1), j = x(Bn()), M = u(() => j.value.userOptions), N = u(() => j.value.style.chart.layout.grid), P = u(() => j.value.style.chart.layout.labels), F = u(() => j.value.style.chart.tooltip), I = u(() => j.value.style.chart);
|
|
231
|
-
me({
|
|
232
|
-
config: () => j.value,
|
|
233
|
-
dataset: () => D.dataset,
|
|
234
|
-
component: "VueUiQuadrant",
|
|
235
|
-
rules: [he.emptyArray, he.noHint]
|
|
236
|
-
});
|
|
237
|
-
let L = u(() => j.value.userOptions.useCursorPointer), Pn = u(() => ({
|
|
238
|
-
defaultConfig: {
|
|
239
|
-
userOptions: { show: !1 },
|
|
240
|
-
table: { show: !1 },
|
|
241
|
-
style: { chart: {
|
|
242
|
-
backgroundColor: "#99999930",
|
|
243
|
-
layout: {
|
|
244
|
-
grid: {
|
|
245
|
-
stroke: "#6A6A6A",
|
|
246
|
-
graduations: {
|
|
247
|
-
stroke: "#6A6A6A",
|
|
248
|
-
color: "#6A6A6A90"
|
|
249
|
-
},
|
|
250
|
-
xAxis: { auto: !0 },
|
|
251
|
-
yAxis: { auto: !0 }
|
|
252
|
-
},
|
|
253
|
-
labels: {
|
|
254
|
-
quadrantLabels: { show: !1 },
|
|
255
|
-
plotLabels: { show: !1 },
|
|
256
|
-
axisLabels: { show: !1 }
|
|
257
|
-
},
|
|
258
|
-
plots: { outlineColor: "#6A6A6A" }
|
|
259
|
-
},
|
|
260
|
-
legend: { backgroundColor: "transparent" }
|
|
261
|
-
} }
|
|
262
|
-
},
|
|
263
|
-
userConfig: j.value.skeletonConfig ?? {}
|
|
264
|
-
})), { loading: Fn, FINAL_DATASET: In } = ve({
|
|
265
|
-
...Ke(D),
|
|
266
|
-
FINAL_CONFIG: j,
|
|
267
|
-
prepareConfig: Bn,
|
|
268
|
-
callback: () => {
|
|
269
|
-
Promise.resolve().then(async () => {
|
|
270
|
-
await Ve(), B.value.showTable = j.value.table.show;
|
|
271
|
-
});
|
|
272
|
-
},
|
|
273
|
-
skeletonDataset: D.config?.skeletonDataset ?? [{
|
|
274
|
-
name: "_",
|
|
275
|
-
shape: "circle",
|
|
276
|
-
color: "#CACACA",
|
|
277
|
-
series: [
|
|
278
|
-
{
|
|
279
|
-
name: "_",
|
|
280
|
-
x: -6,
|
|
281
|
-
y: -4
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
name: "_",
|
|
285
|
-
x: -5,
|
|
286
|
-
y: -2
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
name: "_",
|
|
290
|
-
x: -4,
|
|
291
|
-
y: -1
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
name: "_",
|
|
295
|
-
x: -3,
|
|
296
|
-
y: -.5
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
name: "_",
|
|
300
|
-
x: -2,
|
|
301
|
-
y: -.25
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
name: "_",
|
|
305
|
-
x: -1,
|
|
306
|
-
y: -.135
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
name: "_",
|
|
310
|
-
x: 0,
|
|
311
|
-
y: 0
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
name: "_",
|
|
315
|
-
x: 1,
|
|
316
|
-
y: .135
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
name: "_",
|
|
320
|
-
x: 2,
|
|
321
|
-
y: .25
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
name: "_",
|
|
325
|
-
x: 3,
|
|
326
|
-
y: .5
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
name: "_",
|
|
330
|
-
x: 4,
|
|
331
|
-
y: 1
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
name: "_",
|
|
335
|
-
x: 5,
|
|
336
|
-
y: 2
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
name: "_",
|
|
340
|
-
x: 6,
|
|
341
|
-
y: 4
|
|
342
|
-
}
|
|
343
|
-
]
|
|
344
|
-
}],
|
|
345
|
-
skeletonConfig: se({
|
|
346
|
-
defaultConfig: j.value,
|
|
347
|
-
userConfig: Pn.value
|
|
348
|
-
})
|
|
349
|
-
}), { userOptionsVisible: Ln, setUserOptionsVisibility: Rn, keepUserOptionState: zn } = Me({ config: j.value }), { svgRef: R } = Ne({ config: I.value.title });
|
|
350
|
-
function Bn() {
|
|
351
|
-
let e = be({
|
|
352
|
-
userConfig: D.config,
|
|
353
|
-
defaultConfig: dn
|
|
354
|
-
}), t = e.theme;
|
|
355
|
-
if (!t) return e;
|
|
356
|
-
if (!fn.value(e)) return pn(e), e;
|
|
357
|
-
let n = be({
|
|
358
|
-
userConfig: Fe[t] || D.config,
|
|
359
|
-
defaultConfig: e
|
|
360
|
-
}), r = be({
|
|
361
|
-
userConfig: D.config,
|
|
362
|
-
defaultConfig: n
|
|
363
|
-
});
|
|
364
|
-
return {
|
|
365
|
-
...r,
|
|
366
|
-
customPalette: r.customPalette.length ? r.customPalette : ie[t] || a
|
|
367
|
-
};
|
|
368
|
-
}
|
|
369
|
-
function Vn(e) {
|
|
370
|
-
let t = ae(e);
|
|
371
|
-
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
372
|
-
}
|
|
373
|
-
let Hn = Vn(D.config);
|
|
374
|
-
qe(() => D.config, (e, t) => {
|
|
375
|
-
let n = Vn(e), r = n !== Hn;
|
|
376
|
-
Hn = n;
|
|
377
|
-
let i = Bn();
|
|
378
|
-
if (!r) {
|
|
379
|
-
j.value.style.chart.tooltip = i.style.chart.tooltip, B.value.showTooltip = j.value.style.chart.tooltip.show;
|
|
380
|
-
return;
|
|
381
|
-
}
|
|
382
|
-
j.value = i, Ln.value = !j.value.userOptions.showOnChartHover, Gn(), Cn.value += 1, wn.value += 1, Tn.value += 1, B.value.plotLabels.show = P.value.plotLabels.show, B.value.showTable = j.value.table.show, B.value.showTooltip = F.value.show;
|
|
383
|
-
}, { deep: !0 });
|
|
384
|
-
let z = Ge(null), Un = Ge(null), Wn = u(() => j.value.debug);
|
|
385
|
-
function Gn() {
|
|
386
|
-
if (pe(D.dataset) ? re({
|
|
387
|
-
componentName: "VueUiQuadrant",
|
|
388
|
-
type: "dataset",
|
|
389
|
-
debug: Wn.value
|
|
390
|
-
}) : Wn.value && D.dataset.forEach((e, t) => {
|
|
391
|
-
[null, void 0].includes(e.name) && re({
|
|
392
|
-
componentName: "VueUiQuadrant",
|
|
393
|
-
type: "datasetSerieAttribute",
|
|
394
|
-
property: "name",
|
|
395
|
-
index: t
|
|
396
|
-
}), [null, void 0].includes(e.series) ? re({
|
|
397
|
-
componentName: "VueUiQuadrant",
|
|
398
|
-
type: "datasetSerieAttribute",
|
|
399
|
-
property: "series",
|
|
400
|
-
index: t
|
|
401
|
-
}) : e.series.forEach((e, t) => {
|
|
402
|
-
[null, void 0].includes(e.name) && re({
|
|
403
|
-
componentName: "VueUiQuadrant",
|
|
404
|
-
type: "datasetSerieAttribute",
|
|
405
|
-
property: "name",
|
|
406
|
-
key: "series",
|
|
407
|
-
index: t
|
|
408
|
-
});
|
|
409
|
-
});
|
|
410
|
-
}), j.value.responsive) {
|
|
411
|
-
let e = De(() => {
|
|
412
|
-
let { width: e, height: t } = Oe({
|
|
413
|
-
chart: A.value,
|
|
414
|
-
title: I.value.title.text ? yn.value : null,
|
|
415
|
-
legend: I.value.legend.show ? bn.value : null,
|
|
416
|
-
source: xn.value,
|
|
417
|
-
noTitle: Sn.value
|
|
418
|
-
});
|
|
419
|
-
V.value = 48, requestAnimationFrame(() => {
|
|
420
|
-
H.value.height = t, H.value.usableHeight = t - V.value * 2, H.value.width = e, H.value.usableWidth = e - V.value * 2, H.value.top = V.value, H.value.left = V.value, H.value.right = e - V.value, H.value.bottom = t - V.value, H.value.centerX = e / 2, H.value.centerY = t - t / 2, H.value.padding = V.value;
|
|
421
|
-
});
|
|
422
|
-
});
|
|
423
|
-
z.value && (Un.value && z.value.unobserve(Un.value), z.value.disconnect()), z.value = new ResizeObserver(e), Un.value = A.value.parentNode, z.value.observe(Un.value);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
Ue(() => {
|
|
427
|
-
En.value = !0, Gn();
|
|
428
|
-
}), He(() => {
|
|
429
|
-
z.value && (Un.value && z.value.unobserve(Un.value), z.value.disconnect());
|
|
430
|
-
});
|
|
431
|
-
let { isPrinting: Kn, isImaging: qn, generatePdf: Jn, generateImage: Yn } = _e({
|
|
432
|
-
elementId: `vue-ui-quadrant_${O.value}`,
|
|
433
|
-
fileName: I.value.title.text || "vue-ui-quadrant",
|
|
434
|
-
options: j.value.userOptions.print
|
|
435
|
-
}), Xn = u(() => j.value.userOptions.show && !I.value.title.text), Zn = u(() => fe(j.value.customPalette)), B = x({
|
|
436
|
-
plotLabels: { show: P.value.plotLabels.show },
|
|
437
|
-
showTable: j.value.table.show,
|
|
438
|
-
showTooltip: F.value.show
|
|
439
|
-
}), V = x(48), H = x({
|
|
440
|
-
height: I.value.height,
|
|
441
|
-
usableHeight: I.value.height - V.value * 2,
|
|
442
|
-
width: I.value.width,
|
|
443
|
-
usableWidth: I.value.width - V.value * 2,
|
|
444
|
-
top: V.value,
|
|
445
|
-
left: V.value,
|
|
446
|
-
right: I.value.width - V.value,
|
|
447
|
-
bottom: I.value.height - V.value,
|
|
448
|
-
centerX: I.value.width / 2,
|
|
449
|
-
centerY: I.value.height - I.value.height / 2,
|
|
450
|
-
padding: V.value
|
|
451
|
-
}), U = x({
|
|
452
|
-
...JSON.parse(JSON.stringify(H.value)),
|
|
453
|
-
startX: 0,
|
|
454
|
-
startY: 0
|
|
455
|
-
});
|
|
456
|
-
qe(() => H.value, (e) => {
|
|
457
|
-
e && (U.value = {
|
|
458
|
-
...JSON.parse(JSON.stringify(H.value)),
|
|
459
|
-
startX: 0,
|
|
460
|
-
startY: 0
|
|
461
|
-
});
|
|
462
|
-
}, { deep: !0 });
|
|
463
|
-
let W = x(null), G = u(() => {
|
|
464
|
-
switch (W.value) {
|
|
465
|
-
case "TL": return {
|
|
466
|
-
x: U.value.startX + U.value.width / 2,
|
|
467
|
-
y: U.value.height,
|
|
468
|
-
text: P.value.quadrantLabels.tl.text || "Top Left",
|
|
469
|
-
fontSize: P.value.quadrantLabels.tl.fontSize,
|
|
470
|
-
fill: P.value.quadrantLabels.tl.color,
|
|
471
|
-
bold: P.value.quadrantLabels.tl.bold
|
|
472
|
-
};
|
|
473
|
-
case "TR": return {
|
|
474
|
-
x: U.value.startX + U.value.width / 2,
|
|
475
|
-
y: U.value.height,
|
|
476
|
-
text: P.value.quadrantLabels.tr.text || "Top Right",
|
|
477
|
-
fontSize: P.value.quadrantLabels.tr.fontSize,
|
|
478
|
-
fill: P.value.quadrantLabels.tr.color,
|
|
479
|
-
bold: P.value.quadrantLabels.tr.bold
|
|
480
|
-
};
|
|
481
|
-
case "BR": return {
|
|
482
|
-
x: U.value.startX + U.value.width / 2,
|
|
483
|
-
y: U.value.height * 1.678,
|
|
484
|
-
text: P.value.quadrantLabels.br.text || "Bottom Right",
|
|
485
|
-
fontSize: P.value.quadrantLabels.br.fontSize,
|
|
486
|
-
fill: P.value.quadrantLabels.br.color,
|
|
487
|
-
bold: P.value.quadrantLabels.br.bold
|
|
488
|
-
};
|
|
489
|
-
case "BL": return {
|
|
490
|
-
x: U.value.startX + U.value.width / 2,
|
|
491
|
-
y: U.value.height * 1.678,
|
|
492
|
-
text: P.value.quadrantLabels.bl.text || "Bottom Left",
|
|
493
|
-
fontSize: P.value.quadrantLabels.bl.fontSize,
|
|
494
|
-
fill: P.value.quadrantLabels.bl.color,
|
|
495
|
-
bold: P.value.quadrantLabels.bl.bold
|
|
496
|
-
};
|
|
497
|
-
default: return {
|
|
498
|
-
x: 0,
|
|
499
|
-
y: 0,
|
|
500
|
-
text: "",
|
|
501
|
-
fontSize: 0,
|
|
502
|
-
fill: "none",
|
|
503
|
-
bold: !1
|
|
504
|
-
};
|
|
505
|
-
}
|
|
506
|
-
}), Qn = x(null), $n = x(!1);
|
|
507
|
-
function er({ targetX: e, targetY: t, targetW: n, targetH: r, side: i }) {
|
|
508
|
-
W.value && wr(i);
|
|
509
|
-
let a = {
|
|
510
|
-
x: e - U.value.startX,
|
|
511
|
-
y: t - U.value.startY,
|
|
512
|
-
w: n - U.value.width,
|
|
513
|
-
h: r - U.value.height
|
|
514
|
-
}, o = j.value.zoomAnimationFrames, s = 0;
|
|
515
|
-
function ee() {
|
|
516
|
-
$n.value = !0, U.value.startX += a.x / o, U.value.startY += a.y / o, U.value.width += a.w / o, U.value.height += a.h / o, s += 1, s < o ? Qn.value = requestAnimationFrame(ee) : $n.value = !1;
|
|
517
|
-
}
|
|
518
|
-
ee();
|
|
519
|
-
}
|
|
520
|
-
let K = u(() => j.value.zoomEnabled);
|
|
521
|
-
function q(e) {
|
|
522
|
-
if (K.value && !$n.value) {
|
|
523
|
-
if (k.value && W.value === e) er({
|
|
524
|
-
targetX: 0,
|
|
525
|
-
targetY: 0,
|
|
526
|
-
targetW: H.value.width,
|
|
527
|
-
targetH: H.value.height
|
|
528
|
-
}), W.value = null, k.value = !1;
|
|
529
|
-
else {
|
|
530
|
-
switch (W.value = e, e) {
|
|
531
|
-
case "TL":
|
|
532
|
-
er({
|
|
533
|
-
targetX: 0,
|
|
534
|
-
targetY: 0,
|
|
535
|
-
targetW: H.value.width / 2 + H.value.left,
|
|
536
|
-
targetH: H.value.height / 2 + H.value.top,
|
|
537
|
-
side: "tl"
|
|
538
|
-
});
|
|
539
|
-
break;
|
|
540
|
-
case "TR":
|
|
541
|
-
er({
|
|
542
|
-
targetX: H.value.width / 2 - H.value.left,
|
|
543
|
-
targetY: 0,
|
|
544
|
-
targetW: H.value.width / 2 + H.value.left,
|
|
545
|
-
targetH: H.value.height / 2 + H.value.top,
|
|
546
|
-
side: "tr"
|
|
547
|
-
});
|
|
548
|
-
break;
|
|
549
|
-
case "BR":
|
|
550
|
-
er({
|
|
551
|
-
targetX: H.value.width / 2 - H.value.left,
|
|
552
|
-
targetY: H.value.height / 2 - H.value.top,
|
|
553
|
-
targetW: H.value.width / 2 + H.value.left,
|
|
554
|
-
targetH: H.value.height / 2 + H.value.top,
|
|
555
|
-
side: "br"
|
|
556
|
-
});
|
|
557
|
-
break;
|
|
558
|
-
case "BL":
|
|
559
|
-
er({
|
|
560
|
-
targetX: 0,
|
|
561
|
-
targetY: H.value.height / 2 - H.value.top,
|
|
562
|
-
targetW: H.value.width / 2 + H.value.left,
|
|
563
|
-
targetH: H.value.height / 2 + H.value.top,
|
|
564
|
-
side: "bl"
|
|
565
|
-
});
|
|
566
|
-
break;
|
|
567
|
-
default: U.value.startX = 0, U.value.startY = 0, U.value.width = H.value.width, U.value.height = H.value.height;
|
|
568
|
-
}
|
|
569
|
-
k.value = !0;
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
let tr = u(() => {
|
|
574
|
-
let e = N.value.graduations.steps, t = H.value.usableWidth / (e * 2), n = H.value.top, r = [];
|
|
575
|
-
for (let i = 0; i < e; i += 1) r.push({
|
|
576
|
-
x: H.value.padding + t * i,
|
|
577
|
-
y: n + H.value.usableHeight * (i / e / 2),
|
|
578
|
-
height: H.value.usableHeight * (1 - i / e),
|
|
579
|
-
width: H.value.usableWidth * (1 - i / e),
|
|
580
|
-
opacity: Math.round((i + 1) / e * 20)
|
|
581
|
-
});
|
|
582
|
-
return r;
|
|
583
|
-
}), J = u(() => {
|
|
584
|
-
let e = N.value.xAxis.max, t = N.value.xAxis.min, n = N.value.yAxis.max, r = N.value.yAxis.min;
|
|
585
|
-
return N.value.xAxis.auto && (e = Math.max(...nr.value.flatMap((e) => e.series.map((e) => e.x))), t = Math.min(...nr.value.flatMap((e) => e.series.map((e) => e.x)))), N.value.yAxis.auto && (n = Math.max(...nr.value.flatMap((e) => e.series.map((e) => e.y))), r = Math.min(...nr.value.flatMap((e) => e.series.map((e) => e.y)))), {
|
|
586
|
-
x: {
|
|
587
|
-
max: e,
|
|
588
|
-
min: t
|
|
589
|
-
},
|
|
590
|
-
y: {
|
|
591
|
-
max: n,
|
|
592
|
-
min: r
|
|
593
|
-
}
|
|
594
|
-
};
|
|
595
|
-
}), Y = x([]), nr = u(() => In.value.map((e, t) => ({
|
|
596
|
-
...e,
|
|
597
|
-
series: oe({
|
|
598
|
-
data: e.series,
|
|
599
|
-
threshold: j.value.downsample.threshold
|
|
600
|
-
}),
|
|
601
|
-
id: `cat_${t}_${O.value}`,
|
|
602
|
-
color: ee(e.color) || Zn.value[t] || a[t]
|
|
603
|
-
}))), rr = u(() => nr.value.filter((e) => !Y.value.includes(e.id))), ir = u(() => nr.value.map((e, t) => ({
|
|
604
|
-
...e,
|
|
605
|
-
shape: e.shape || "circle",
|
|
606
|
-
series: e.series.map((t) => ({
|
|
607
|
-
...t,
|
|
608
|
-
x: ar(t.x),
|
|
609
|
-
y: or(t.y),
|
|
610
|
-
xValue: t.x,
|
|
611
|
-
yValue: t.y,
|
|
612
|
-
quadrantSide: gr({
|
|
613
|
-
x: t.x,
|
|
614
|
-
y: t.y
|
|
615
|
-
}),
|
|
616
|
-
categoryName: e.name,
|
|
617
|
-
category: e,
|
|
618
|
-
shape: e.shape,
|
|
619
|
-
color: e.color
|
|
620
|
-
}))
|
|
621
|
-
}))), X = u(() => (Wn.value && In.value.forEach((e, t) => {
|
|
622
|
-
e.series.forEach((e, t) => {
|
|
623
|
-
[null, void 0].includes(e.x) && re({
|
|
624
|
-
componentName: "VueUiQuadrant",
|
|
625
|
-
type: "datasetSerieAttribute",
|
|
626
|
-
property: "x",
|
|
627
|
-
key: "series",
|
|
628
|
-
index: t
|
|
629
|
-
}), [null, void 0].includes(e.y) && re({
|
|
630
|
-
componentName: "VueUiQuadrant",
|
|
631
|
-
type: "datasetSerieAttribute",
|
|
632
|
-
property: "y",
|
|
633
|
-
key: "series",
|
|
634
|
-
index: t
|
|
635
|
-
});
|
|
636
|
-
});
|
|
637
|
-
}), rr.value.map((e, t) => ({
|
|
638
|
-
...e,
|
|
639
|
-
shape: e.shape || "circle",
|
|
640
|
-
color: e.color || Zn.value[t] || a[t],
|
|
641
|
-
series: e.series.map((t) => ({
|
|
642
|
-
...t,
|
|
643
|
-
category: e,
|
|
644
|
-
x: ar(t.x),
|
|
645
|
-
y: or(t.y),
|
|
646
|
-
xValue: t.x,
|
|
647
|
-
yValue: t.y,
|
|
648
|
-
quadrantSide: gr({
|
|
649
|
-
x: t.x,
|
|
650
|
-
y: t.y
|
|
651
|
-
}),
|
|
652
|
-
categoryName: e.name,
|
|
653
|
-
shape: e.shape,
|
|
654
|
-
color: e.color,
|
|
655
|
-
uid: te()
|
|
656
|
-
}))
|
|
657
|
-
}))));
|
|
658
|
-
function ar(e) {
|
|
659
|
-
if (e >= 0) {
|
|
660
|
-
let t = e / J.value.x.max;
|
|
661
|
-
return H.value.centerX + H.value.usableWidth / 2 * t;
|
|
662
|
-
}
|
|
663
|
-
{
|
|
664
|
-
let t = Math.abs(e) / Math.abs(J.value.x.min);
|
|
665
|
-
return H.value.centerX - H.value.usableWidth / 2 * t;
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
function or(e) {
|
|
669
|
-
if (e >= 0) {
|
|
670
|
-
let t = e / J.value.y.max;
|
|
671
|
-
return H.value.centerY + (1 - H.value.usableHeight / 2 * t);
|
|
672
|
-
}
|
|
673
|
-
{
|
|
674
|
-
let t = Math.abs(e) / Math.abs(J.value.y.min);
|
|
675
|
-
return H.value.centerY - (1 - H.value.usableHeight / 2 * t);
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
let sr = u(() => {
|
|
679
|
-
let e = X.value.flatMap((e) => e.series.map((t) => ({
|
|
680
|
-
x: t.xValue,
|
|
681
|
-
y: t.yValue,
|
|
682
|
-
name: t.name,
|
|
683
|
-
category: t.categoryName,
|
|
684
|
-
quadrantSide: t.quadrantSide,
|
|
685
|
-
sideName: P.value.quadrantLabels[t.quadrantSide].text,
|
|
686
|
-
color: e.color,
|
|
687
|
-
shape: e.shape
|
|
688
|
-
}))), t = N.value.xAxis.name || "x", n = N.value.yAxis.name || "y";
|
|
689
|
-
return {
|
|
690
|
-
head: [
|
|
691
|
-
j.value.translations.category,
|
|
692
|
-
j.value.translations.item,
|
|
693
|
-
t,
|
|
694
|
-
n,
|
|
695
|
-
j.value.translations.side
|
|
696
|
-
],
|
|
697
|
-
body: e.map((e) => [
|
|
698
|
-
e.category,
|
|
699
|
-
e.name,
|
|
700
|
-
e.x,
|
|
701
|
-
e.y,
|
|
702
|
-
e.sideName || e.quadrantSide
|
|
703
|
-
]),
|
|
704
|
-
itsShapes: e.map((e) => ({
|
|
705
|
-
shape: e.shape,
|
|
706
|
-
color: e.color
|
|
707
|
-
})),
|
|
708
|
-
tableData: e
|
|
709
|
-
};
|
|
710
|
-
}), cr = u(() => {
|
|
711
|
-
let e = sr.value.head, n = sr.value.tableData.map((e) => [
|
|
712
|
-
{
|
|
713
|
-
shape: e.shape,
|
|
714
|
-
color: e.color,
|
|
715
|
-
name: e.category
|
|
716
|
-
},
|
|
717
|
-
e.name,
|
|
718
|
-
c(P.value.plotLabels.x.formatter, e.x, t({
|
|
719
|
-
v: e.x,
|
|
720
|
-
r: P.value.plotLabels.rounding
|
|
721
|
-
})),
|
|
722
|
-
c(P.value.plotLabels.y.formatter, e.y, t({
|
|
723
|
-
v: e.y,
|
|
724
|
-
r: P.value.plotLabels.rounding
|
|
725
|
-
})),
|
|
726
|
-
e.sideName || e.quadrantSide
|
|
727
|
-
]);
|
|
728
|
-
return {
|
|
729
|
-
head: e,
|
|
730
|
-
body: n,
|
|
731
|
-
a11yBody: n.map((e) => e.map((e, t) => t === 0 ? e.name ?? "" : e)),
|
|
732
|
-
config: {
|
|
733
|
-
th: {
|
|
734
|
-
backgroundColor: j.value.table.th.backgroundColor,
|
|
735
|
-
color: j.value.table.th.color,
|
|
736
|
-
outline: j.value.table.th.outline
|
|
737
|
-
},
|
|
738
|
-
td: {
|
|
739
|
-
backgroundColor: j.value.table.td.backgroundColor,
|
|
740
|
-
color: j.value.table.td.color,
|
|
741
|
-
outline: j.value.table.td.outline
|
|
742
|
-
},
|
|
743
|
-
breakpoint: j.value.table.responsiveBreakpoint
|
|
744
|
-
},
|
|
745
|
-
colNames: e
|
|
746
|
-
};
|
|
747
|
-
});
|
|
748
|
-
function lr() {
|
|
749
|
-
Y.value.length ? Y.value = [] : dr.value.forEach((e) => {
|
|
750
|
-
Y.value.push(e.id);
|
|
751
|
-
}), hn("selectLegend", Tr());
|
|
752
|
-
}
|
|
753
|
-
function ur(e) {
|
|
754
|
-
Y.value.includes(e) ? Y.value = Y.value.filter((t) => t !== e) : Y.value.push(e), hn("selectLegend", Tr());
|
|
755
|
-
}
|
|
756
|
-
let dr = u(() => ir.value.map((e) => ({
|
|
757
|
-
name: e.name,
|
|
758
|
-
shape: e.shape,
|
|
759
|
-
color: e.color,
|
|
760
|
-
id: e.id,
|
|
761
|
-
opacity: Y.value.includes(e.id) ? .5 : 1,
|
|
762
|
-
segregate: () => ur(e.id),
|
|
763
|
-
isSegregated: Y.value.includes(e.id)
|
|
764
|
-
})));
|
|
765
|
-
function fr(e) {
|
|
766
|
-
return dr.value.length ? dr.value.find((t) => t.name === e) || (Wn.value && console.warn(`VueUiQuadrant - Series name not found "${e}"`), null) : (Wn.value && console.warn("VueUiQuadrant - There are no series to show."), null);
|
|
767
|
-
}
|
|
768
|
-
function pr(e) {
|
|
769
|
-
let t = fr(e);
|
|
770
|
-
t !== null && Y.value.includes(t.id) && ur(t.id);
|
|
771
|
-
}
|
|
772
|
-
function mr(e) {
|
|
773
|
-
let t = fr(e);
|
|
774
|
-
t !== null && (Y.value.includes(t.id) || ur(t.id));
|
|
775
|
-
}
|
|
776
|
-
let hr = u(() => ({
|
|
777
|
-
cy: "quadrant-div-legend",
|
|
778
|
-
backgroundColor: I.value.legend.backgroundColor,
|
|
779
|
-
color: I.value.legend.color,
|
|
780
|
-
fontSize: I.value.legend.fontSize,
|
|
781
|
-
paddingBottom: 12,
|
|
782
|
-
fontWeight: I.value.legend.bold ? "bold" : ""
|
|
783
|
-
}));
|
|
784
|
-
function gr(e) {
|
|
785
|
-
switch (!0) {
|
|
786
|
-
case e.x >= 0 && e.y >= 0: return "tr";
|
|
787
|
-
case e.x >= 0 && e.y < 0: return "br";
|
|
788
|
-
case e.x < 0 && e.y < 0: return "bl";
|
|
789
|
-
case e.x < 0 && e.y >= 0: return "tl";
|
|
790
|
-
default: return "";
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
let Z = x(null), _r = x(null), vr = x(null);
|
|
794
|
-
function yr() {
|
|
795
|
-
Z.value = null, _r.value = null, kn.value = null, An.value = null, gn.value = !1;
|
|
796
|
-
}
|
|
797
|
-
function br(e) {
|
|
798
|
-
if (!R.value || !e) return;
|
|
799
|
-
let t = `[data-a11y-plot-id="${e}"]`, n = R.value.querySelector(t);
|
|
800
|
-
if (!n) return;
|
|
801
|
-
let r = n.getBoundingClientRect();
|
|
802
|
-
jn.value = {
|
|
803
|
-
x: r.left + r.width / 2,
|
|
804
|
-
y: r.top + r.height / 2
|
|
805
|
-
};
|
|
806
|
-
}
|
|
807
|
-
function xr(e, n, r, a = "pointer", o = null) {
|
|
808
|
-
j.value.events.datapointEnter && j.value.events.datapointEnter({
|
|
809
|
-
datapoint: n,
|
|
810
|
-
seriesIndex: r
|
|
811
|
-
}), Z.value = n.uid, _r.value = {
|
|
812
|
-
color: e.color,
|
|
813
|
-
shape: e.shape
|
|
814
|
-
}, Mn.value = a, kn.value = o, An.value = n.uid, vr.value = {
|
|
815
|
-
datapoint: n,
|
|
816
|
-
seriesIndex: r,
|
|
817
|
-
series: X.value,
|
|
818
|
-
config: j.value
|
|
819
|
-
};
|
|
820
|
-
let s = F.value.customFormat;
|
|
821
|
-
if (i(s) && le(() => s({
|
|
822
|
-
seriesIndex: r,
|
|
823
|
-
datapoint: n,
|
|
824
|
-
series: X.value,
|
|
825
|
-
config: j.value
|
|
826
|
-
}))) _n.value = s({
|
|
827
|
-
seriesIndex: r,
|
|
828
|
-
datapoint: n,
|
|
829
|
-
series: X.value,
|
|
830
|
-
config: j.value
|
|
831
|
-
});
|
|
832
|
-
else {
|
|
833
|
-
let i = "";
|
|
834
|
-
n.quadrantSide && (i += `<div style="color:${P.value.quadrantLabels[n.quadrantSide].color};font-weight:${P.value.quadrantLabels[n.quadrantSide].bold ? "bold" : "400"}">${P.value.quadrantLabels[n.quadrantSide].text}</div>`), i += `<div>${e.name}</div>`, i += `<div style="padding-bottom:6px;border-bottom:1px solid ${F.value.borderColor};margin-bottom:3px">${n.name}</div>`, i += `<div>${N.value.xAxis.name ? N.value.xAxis.name : "x"}: <b>${c(P.value.plotLabels.x.formatter, n.xValue, t({
|
|
835
|
-
v: n.xValue,
|
|
836
|
-
r: F.value.roundingValue
|
|
837
|
-
}), {
|
|
838
|
-
datapoint: n,
|
|
839
|
-
category: e,
|
|
840
|
-
categoryIndex: r
|
|
841
|
-
})}</b></div>`, i += `<div>${N.value.yAxis.name ? N.value.yAxis.name : "y"}: <b>${c(P.value.plotLabels.y.formatter, n.yValue, t({
|
|
842
|
-
v: n.yValue,
|
|
843
|
-
r: F.value.roundingValue
|
|
844
|
-
}), {
|
|
845
|
-
datapoint: n,
|
|
846
|
-
category: e,
|
|
847
|
-
categoryIndex: r
|
|
848
|
-
})}</b></div>`, _n.value = `<div style="text-align:left;font-size:${F.value.fontSize}px">${i}</div>`;
|
|
849
|
-
}
|
|
850
|
-
a === "keyboard" && Ve(() => {
|
|
851
|
-
br(n.uid);
|
|
852
|
-
}), gn.value = !0;
|
|
853
|
-
}
|
|
854
|
-
function Sr(e, t) {
|
|
855
|
-
j.value.events.datapointLeave && j.value.events.datapointLeave({
|
|
856
|
-
datapoint: e,
|
|
857
|
-
seriesIndex: t
|
|
858
|
-
}), (An.value !== e.uid || Mn.value !== "keyboard") && (gn.value = !1, Z.value = null, _r.value = null);
|
|
859
|
-
}
|
|
860
|
-
function Cr(e, t, n) {
|
|
861
|
-
j.value.events.datapointClick && j.value.events.datapointClick({
|
|
862
|
-
datapoint: t,
|
|
863
|
-
seriesIndex: n
|
|
864
|
-
});
|
|
865
|
-
let r = {
|
|
866
|
-
category: e.name,
|
|
867
|
-
shape: e.shape,
|
|
868
|
-
itemName: t.name,
|
|
869
|
-
x: t.xValue,
|
|
870
|
-
y: t.yValue,
|
|
871
|
-
quadrantSide: t.quadrantSide,
|
|
872
|
-
sideName: P.value.quadrantLabels[t.quadrantSide].text
|
|
873
|
-
};
|
|
874
|
-
hn("selectPlot", r);
|
|
875
|
-
}
|
|
876
|
-
function wr(e) {
|
|
877
|
-
if (!e) return;
|
|
878
|
-
let t = X.value.flatMap((t) => t.series.filter((t) => t.quadrantSide === e).map((e) => ({
|
|
879
|
-
category: e.categoryName,
|
|
880
|
-
itemName: e.name,
|
|
881
|
-
x: e.xValue,
|
|
882
|
-
y: e.yValue
|
|
883
|
-
}))), n = {
|
|
884
|
-
quadrantSide: e,
|
|
885
|
-
sideName: P.value.quadrantLabels[e].text,
|
|
886
|
-
items: [...t]
|
|
887
|
-
};
|
|
888
|
-
hn("selectSide", n);
|
|
889
|
-
}
|
|
890
|
-
let Q = u(() => ({
|
|
891
|
-
TL: {
|
|
892
|
-
tl: {
|
|
893
|
-
x: H.value.left + H.value.usableWidth / 4 - 20,
|
|
894
|
-
y: 0,
|
|
895
|
-
fill: P.value.quadrantLabels.tl.color
|
|
896
|
-
},
|
|
897
|
-
tr: {
|
|
898
|
-
x: H.value.left + H.value.usableWidth / 4,
|
|
899
|
-
y: 0,
|
|
900
|
-
fill: P.value.quadrantLabels.tr.color
|
|
901
|
-
},
|
|
902
|
-
br: {
|
|
903
|
-
x: H.value.left + H.value.usableWidth / 4,
|
|
904
|
-
y: 20,
|
|
905
|
-
fill: P.value.quadrantLabels.br.color
|
|
906
|
-
},
|
|
907
|
-
bl: {
|
|
908
|
-
x: H.value.left + H.value.usableWidth / 4 - 20,
|
|
909
|
-
y: 20,
|
|
910
|
-
fill: P.value.quadrantLabels.bl.color
|
|
911
|
-
},
|
|
912
|
-
crosshairs: {
|
|
913
|
-
horizontal: `M ${H.value.left + H.value.usableWidth / 4 - 20},20 ${H.value.left + H.value.usableWidth / 4 + 20},20`,
|
|
914
|
-
vertical: `M ${H.value.left + H.value.usableWidth / 4},0 ${H.value.left + H.value.usableWidth / 4},40`
|
|
915
|
-
}
|
|
916
|
-
},
|
|
917
|
-
TR: {
|
|
918
|
-
tl: {
|
|
919
|
-
x: H.value.centerX + H.value.usableWidth / 4 - 20,
|
|
920
|
-
y: 0,
|
|
921
|
-
fill: P.value.quadrantLabels.tl.color
|
|
922
|
-
},
|
|
923
|
-
tr: {
|
|
924
|
-
x: H.value.centerX + H.value.usableWidth / 4,
|
|
925
|
-
y: 0,
|
|
926
|
-
fill: P.value.quadrantLabels.tr.color
|
|
927
|
-
},
|
|
928
|
-
br: {
|
|
929
|
-
x: H.value.centerX + H.value.usableWidth / 4,
|
|
930
|
-
y: 20,
|
|
931
|
-
fill: P.value.quadrantLabels.br.color
|
|
932
|
-
},
|
|
933
|
-
bl: {
|
|
934
|
-
x: H.value.centerX + H.value.usableWidth / 4 - 20,
|
|
935
|
-
y: 20,
|
|
936
|
-
fill: P.value.quadrantLabels.bl.color
|
|
937
|
-
},
|
|
938
|
-
crosshairs: {
|
|
939
|
-
horizontal: `M ${H.value.centerX + H.value.usableWidth / 4 - 20},20 ${H.value.centerX + H.value.usableWidth / 4 + 20},20`,
|
|
940
|
-
vertical: `M ${H.value.centerX + H.value.usableWidth / 4},0 ${H.value.centerX + H.value.usableWidth / 4},40`
|
|
941
|
-
}
|
|
942
|
-
},
|
|
943
|
-
BR: {
|
|
944
|
-
tl: {
|
|
945
|
-
x: H.value.centerX + H.value.usableWidth / 4 - 20,
|
|
946
|
-
y: H.value.centerY - 48,
|
|
947
|
-
fill: P.value.quadrantLabels.tl.color
|
|
948
|
-
},
|
|
949
|
-
tr: {
|
|
950
|
-
x: H.value.centerX + H.value.usableWidth / 4,
|
|
951
|
-
y: H.value.centerY - 48,
|
|
952
|
-
fill: P.value.quadrantLabels.tr.color
|
|
953
|
-
},
|
|
954
|
-
br: {
|
|
955
|
-
x: H.value.centerX + H.value.usableWidth / 4,
|
|
956
|
-
y: H.value.centerY - 28,
|
|
957
|
-
fill: P.value.quadrantLabels.br.color
|
|
958
|
-
},
|
|
959
|
-
bl: {
|
|
960
|
-
x: H.value.centerX + H.value.usableWidth / 4 - 20,
|
|
961
|
-
y: H.value.centerY - 28,
|
|
962
|
-
fill: P.value.quadrantLabels.bl.color
|
|
963
|
-
},
|
|
964
|
-
crosshairs: {
|
|
965
|
-
horizontal: `M ${H.value.centerX + H.value.usableWidth / 4 - 20},${H.value.centerY - 28} ${H.value.centerX + H.value.usableWidth / 4 + 20},${H.value.centerY - 28}`,
|
|
966
|
-
vertical: `M ${H.value.centerX + H.value.usableWidth / 4},${H.value.centerY - 48} ${H.value.centerX + H.value.usableWidth / 4},${H.value.centerY - 8}`
|
|
967
|
-
}
|
|
968
|
-
},
|
|
969
|
-
BL: {
|
|
970
|
-
tl: {
|
|
971
|
-
x: H.value.left + H.value.usableWidth / 4 - 20,
|
|
972
|
-
y: H.value.centerY - 48,
|
|
973
|
-
fill: P.value.quadrantLabels.tl.color
|
|
974
|
-
},
|
|
975
|
-
tr: {
|
|
976
|
-
x: H.value.left + H.value.usableWidth / 4,
|
|
977
|
-
y: H.value.centerY - 48,
|
|
978
|
-
fill: P.value.quadrantLabels.tr.color
|
|
979
|
-
},
|
|
980
|
-
br: {
|
|
981
|
-
x: H.value.left + H.value.usableWidth / 4,
|
|
982
|
-
y: H.value.centerY - 28,
|
|
983
|
-
fill: P.value.quadrantLabels.br.color
|
|
984
|
-
},
|
|
985
|
-
bl: {
|
|
986
|
-
x: H.value.left + H.value.usableWidth / 4 - 20,
|
|
987
|
-
y: H.value.centerY - 28,
|
|
988
|
-
fill: P.value.quadrantLabels.bl.color
|
|
989
|
-
},
|
|
990
|
-
crosshairs: {
|
|
991
|
-
horizontal: `M ${H.value.left + H.value.usableWidth / 4 - 20},${H.value.centerY - 28} ${H.value.left + H.value.usableWidth / 4 + 20},${H.value.centerY - 28}`,
|
|
992
|
-
vertical: `M ${H.value.left + H.value.usableWidth / 4},${H.value.centerY - 48} ${H.value.left + H.value.usableWidth / 4},${H.value.centerY - 8}`
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
}));
|
|
996
|
-
function Tr() {
|
|
997
|
-
return X.value.map((e) => ({
|
|
998
|
-
color: e.color,
|
|
999
|
-
name: e.name,
|
|
1000
|
-
shape: e.shape,
|
|
1001
|
-
series: e.series.map((e) => ({
|
|
1002
|
-
name: e.name,
|
|
1003
|
-
x: e.xValue,
|
|
1004
|
-
y: e.yValue,
|
|
1005
|
-
quadrantSide: e.quadrantSide,
|
|
1006
|
-
sideName: P.value.quadrantLabels[e.quadrantSide].text
|
|
1007
|
-
}))
|
|
1008
|
-
}));
|
|
1009
|
-
}
|
|
1010
|
-
function Er(e = null) {
|
|
1011
|
-
Ve(() => {
|
|
1012
|
-
let t = [
|
|
1013
|
-
[I.value.title.text],
|
|
1014
|
-
[I.value.title.subtitle.text],
|
|
1015
|
-
[""]
|
|
1016
|
-
], n = sr.value.head, i = sr.value.body, a = t.concat([n]).concat(i), o = r(a);
|
|
1017
|
-
e ? e(o) : ce({
|
|
1018
|
-
csvContent: o,
|
|
1019
|
-
title: I.value.title.text || "vue-ui-quadrant"
|
|
1020
|
-
});
|
|
1021
|
-
});
|
|
1022
|
-
}
|
|
1023
|
-
let Dr = x(!1);
|
|
1024
|
-
function Or(e) {
|
|
1025
|
-
Dr.value = e, vn.value += 1;
|
|
1026
|
-
}
|
|
1027
|
-
function kr() {
|
|
1028
|
-
B.value.showTable = !B.value.showTable;
|
|
1029
|
-
}
|
|
1030
|
-
function Ar() {
|
|
1031
|
-
B.value.plotLabels.show = !B.value.plotLabels.show;
|
|
1032
|
-
}
|
|
1033
|
-
function jr() {
|
|
1034
|
-
B.value.showTooltip = !B.value.showTooltip;
|
|
1035
|
-
}
|
|
1036
|
-
let Mr = x(!1);
|
|
1037
|
-
function Nr() {
|
|
1038
|
-
Mr.value = !Mr.value;
|
|
1039
|
-
}
|
|
1040
|
-
async function Pr({ scale: e = 2 } = {}) {
|
|
1041
|
-
if (!A.value) return;
|
|
1042
|
-
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
|
|
1043
|
-
domElement: A.value,
|
|
1044
|
-
base64: !0,
|
|
1045
|
-
img: !0,
|
|
1046
|
-
scale: e
|
|
1047
|
-
});
|
|
1048
|
-
return {
|
|
1049
|
-
imageUri: i,
|
|
1050
|
-
base64: a,
|
|
1051
|
-
title: I.value.title.text,
|
|
1052
|
-
width: t,
|
|
1053
|
-
height: n,
|
|
1054
|
-
aspectRatio: r
|
|
1055
|
-
};
|
|
1056
|
-
}
|
|
1057
|
-
let Fr = u(() => {
|
|
1058
|
-
let e = j.value.table.useDialog && !j.value.table.show, t = B.value.showTable;
|
|
1059
|
-
return {
|
|
1060
|
-
component: e ? un : an,
|
|
1061
|
-
title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
|
|
1062
|
-
props: e ? {
|
|
1063
|
-
backgroundColor: j.value.table.th.backgroundColor,
|
|
1064
|
-
color: j.value.table.th.color,
|
|
1065
|
-
headerColor: j.value.table.th.color,
|
|
1066
|
-
headerBg: j.value.table.th.backgroundColor,
|
|
1067
|
-
isFullscreen: Dr.value,
|
|
1068
|
-
fullscreenParent: A.value,
|
|
1069
|
-
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
1070
|
-
isCursorPointer: L.value
|
|
1071
|
-
} : {
|
|
1072
|
-
hideDetails: !0,
|
|
1073
|
-
config: {
|
|
1074
|
-
open: t,
|
|
1075
|
-
maxHeight: 1e4,
|
|
1076
|
-
body: {
|
|
1077
|
-
backgroundColor: I.value.backgroundColor,
|
|
1078
|
-
color: I.value.color
|
|
1079
|
-
},
|
|
1080
|
-
head: {
|
|
1081
|
-
backgroundColor: I.value.backgroundColor,
|
|
1082
|
-
color: I.value.color
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
};
|
|
1087
|
-
});
|
|
1088
|
-
qe(() => B.value.showTable, (e) => {
|
|
1089
|
-
j.value.table.show || (e && j.value.table.useDialog && Dn.value ? Dn.value.open() : "close" in Dn.value && Dn.value.close());
|
|
1090
|
-
});
|
|
1091
|
-
function Ir() {
|
|
1092
|
-
B.value.showTable = !1, On.value && On.value.setTableIconState(!1);
|
|
1093
|
-
}
|
|
1094
|
-
let Lr = u(() => I.value.backgroundColor), Rr = u(() => I.value.legend), zr = u(() => I.value.title), { isCallbackImaging: Br, isCallbackSvg: Vr, generateSvg: Hr, onGenerateImage: Ur } = Se({
|
|
1095
|
-
svg: R,
|
|
1096
|
-
title: zr,
|
|
1097
|
-
legend: Rr,
|
|
1098
|
-
legendItems: dr,
|
|
1099
|
-
backgroundColor: Lr,
|
|
1100
|
-
getSvgCallback: () => j.value.userOptions.callbacks.svg,
|
|
1101
|
-
generateImage: Yn
|
|
1102
|
-
});
|
|
1103
|
-
async function Wr() {
|
|
1104
|
-
if (hn("copyAlt", {
|
|
1105
|
-
config: j.value,
|
|
1106
|
-
dataset: rr.value
|
|
1107
|
-
}), !j.value.userOptions.callbacks.altCopy) {
|
|
1108
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1109
|
-
return;
|
|
1110
|
-
}
|
|
1111
|
-
await Promise.resolve(j.value.userOptions.callbacks.altCopy({
|
|
1112
|
-
config: j.value,
|
|
1113
|
-
dataset: rr.value
|
|
1114
|
-
}));
|
|
1115
|
-
}
|
|
1116
|
-
function Gr() {
|
|
1117
|
-
kn.value = null, An.value = null, Nn.value = !0;
|
|
1118
|
-
}
|
|
1119
|
-
function Kr() {
|
|
1120
|
-
yr(), Nn.value = !1;
|
|
1121
|
-
}
|
|
1122
|
-
function qr(e) {
|
|
1123
|
-
if (!R.value || Mr.value || document.activeElement !== R.value || !$.value.length) return;
|
|
1124
|
-
let t = e.key === "ArrowLeft" || e.key === "ArrowUp", n = e.key === "ArrowRight" || e.key === "ArrowDown", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
1125
|
-
if (!t && !n && !r && !i) return;
|
|
1126
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
1127
|
-
yr();
|
|
1128
|
-
return;
|
|
1129
|
-
}
|
|
1130
|
-
if (r) {
|
|
1131
|
-
if (kn.value === null) return;
|
|
1132
|
-
let e = $.value[kn.value];
|
|
1133
|
-
if (!e) return;
|
|
1134
|
-
Cr(e.category, e.plot, e.categoryIndex);
|
|
1135
|
-
return;
|
|
1136
|
-
}
|
|
1137
|
-
let a = kn.value, o = Z.value ? $.value.findIndex((e) => e.plot.uid === Z.value) : null, s = a !== null && a >= 0 && a < $.value.length, ee = o !== null && o >= 0 && o < $.value.length;
|
|
1138
|
-
s ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) : ee ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
|
|
1139
|
-
let te = $.value[a];
|
|
1140
|
-
te && xr(te.category, te.plot, te.categoryIndex, "keyboard", a);
|
|
1141
|
-
}
|
|
1142
|
-
let Jr = u(() => ({
|
|
1143
|
-
headers: cr.value?.colNames ?? [],
|
|
1144
|
-
rows: cr.value?.a11yBody ?? []
|
|
1145
|
-
})), $ = u(() => X.value.flatMap((e, t) => e.series.map((n) => ({
|
|
1146
|
-
category: e,
|
|
1147
|
-
plot: n,
|
|
1148
|
-
categoryIndex: t
|
|
1149
|
-
}))));
|
|
1150
|
-
return Ee({
|
|
1151
|
-
getData: Tr,
|
|
1152
|
-
getImage: Pr,
|
|
1153
|
-
generatePdf: Jn,
|
|
1154
|
-
generateCsv: Er,
|
|
1155
|
-
generateImage: Yn,
|
|
1156
|
-
generateSvg: Hr,
|
|
1157
|
-
hideSeries: mr,
|
|
1158
|
-
showSeries: pr,
|
|
1159
|
-
toggleTable: kr,
|
|
1160
|
-
toggleLabels: Ar,
|
|
1161
|
-
toggleTooltip: jr,
|
|
1162
|
-
toggleAnnotator: Nr,
|
|
1163
|
-
toggleFullscreen: Or,
|
|
1164
|
-
copyAlt: Wr
|
|
1165
|
-
}), (e, r) => (b(), p("div", {
|
|
1166
|
-
class: _(`vue-data-ui-component vue-ui-quadrant ${Dr.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1167
|
-
ref_key: "quadrantChart",
|
|
1168
|
-
ref: A,
|
|
1169
|
-
id: `vue-ui-quadrant_${O.value}`,
|
|
1170
|
-
style: y(`font-family:${j.value.style.fontFamily};width:100%; text-align:center;background:${I.value.backgroundColor};${j.value.responsive ? "height: 100%" : ""}`),
|
|
1171
|
-
onMouseenter: r[14] ||= () => T(Rn)(!0),
|
|
1172
|
-
onMouseleave: r[15] ||= () => {
|
|
1173
|
-
T(Rn)(!1), Nn.value || yr();
|
|
1174
|
-
}
|
|
1175
|
-
}, [
|
|
1176
|
-
m("div", {
|
|
1177
|
-
id: `chart-instructions-${O.value}`,
|
|
1178
|
-
class: "sr-only"
|
|
1179
|
-
}, [m("p", null, w(j.value.a11y.translations.keyboardNavigation), 1)], 8, Xe),
|
|
1180
|
-
Jr.value?.rows?.length ? (b(), d(je, {
|
|
1181
|
-
key: 0,
|
|
1182
|
-
uid: O.value,
|
|
1183
|
-
head: Jr.value.headers,
|
|
1184
|
-
body: Jr.value.rows,
|
|
1185
|
-
notice: j.value.a11y.translations.tableAvailable,
|
|
1186
|
-
caption: j.value.a11y.translations.tableCaption
|
|
1187
|
-
}, null, 8, [
|
|
1188
|
-
"uid",
|
|
1189
|
-
"head",
|
|
1190
|
-
"body",
|
|
1191
|
-
"notice",
|
|
1192
|
-
"caption"
|
|
1193
|
-
])) : f("", !0),
|
|
1194
|
-
M.value.buttons.annotator ? (b(), d(T(sn), {
|
|
1195
|
-
key: 1,
|
|
1196
|
-
svgRef: T(R),
|
|
1197
|
-
backgroundColor: I.value.backgroundColor,
|
|
1198
|
-
color: I.value.color,
|
|
1199
|
-
active: Mr.value,
|
|
1200
|
-
isCursorPointer: L.value,
|
|
1201
|
-
palette: M.value.annotatorPalette,
|
|
1202
|
-
onClose: Nr
|
|
1203
|
-
}, {
|
|
1204
|
-
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1205
|
-
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
1206
|
-
"annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
|
|
1207
|
-
"annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
|
|
1208
|
-
"annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
|
|
1209
|
-
"annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
|
|
1210
|
-
_: 3
|
|
1211
|
-
}, 8, [
|
|
1212
|
-
"svgRef",
|
|
1213
|
-
"backgroundColor",
|
|
1214
|
-
"color",
|
|
1215
|
-
"active",
|
|
1216
|
-
"isCursorPointer",
|
|
1217
|
-
"palette"
|
|
1218
|
-
])) : f("", !0),
|
|
1219
|
-
Xn.value ? (b(), p("div", {
|
|
1220
|
-
key: 2,
|
|
1221
|
-
ref_key: "noTitle",
|
|
1222
|
-
ref: Sn,
|
|
1223
|
-
class: "vue-data-ui-no-title-space",
|
|
1224
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
1225
|
-
}, null, 512)) : f("", !0),
|
|
1226
|
-
I.value.title.text ? (b(), p("div", {
|
|
1227
|
-
key: 3,
|
|
1228
|
-
ref_key: "chartTitle",
|
|
1229
|
-
ref: yn,
|
|
1230
|
-
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1231
|
-
}, [(b(), d(we, {
|
|
1232
|
-
key: `table_${Cn.value}`,
|
|
1233
|
-
config: {
|
|
1234
|
-
title: {
|
|
1235
|
-
cy: "quadrant-title",
|
|
1236
|
-
...I.value.title
|
|
1237
|
-
},
|
|
1238
|
-
subtitle: {
|
|
1239
|
-
cy: "quadrant-subtitle",
|
|
1240
|
-
...I.value.title.subtitle
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
1244
|
-
m("div", { id: `legend-top-${O.value}` }, null, 8, Ze),
|
|
1245
|
-
M.value.show && mn.value && (T(zn) || T(Ln)) ? (b(), d(T(cn), {
|
|
1246
|
-
ref_key: "userOptionsRef",
|
|
1247
|
-
ref: On,
|
|
1248
|
-
key: `user_options_${vn.value}`,
|
|
1249
|
-
backgroundColor: I.value.backgroundColor,
|
|
1250
|
-
color: I.value.color,
|
|
1251
|
-
isImaging: T(qn),
|
|
1252
|
-
isPrinting: T(Kn),
|
|
1253
|
-
uid: O.value,
|
|
1254
|
-
hasTooltip: M.value.buttons.tooltip && F.value.show,
|
|
1255
|
-
hasPdf: M.value.buttons.pdf,
|
|
1256
|
-
hasImg: M.value.buttons.img,
|
|
1257
|
-
hasSvg: M.value.buttons.svg,
|
|
1258
|
-
hasXls: M.value.buttons.csv,
|
|
1259
|
-
hasTable: M.value.buttons.table,
|
|
1260
|
-
hasLabel: M.value.buttons.labels,
|
|
1261
|
-
hasFullscreen: M.value.buttons.fullscreen,
|
|
1262
|
-
hasAltCopy: M.value.buttons.altCopy,
|
|
1263
|
-
isFullscreen: Dr.value,
|
|
1264
|
-
isTooltip: B.value.showTooltip,
|
|
1265
|
-
titles: { ...M.value.buttonTitles },
|
|
1266
|
-
chartElement: A.value,
|
|
1267
|
-
position: M.value.position,
|
|
1268
|
-
hasAnnotator: M.value.buttons.annotator,
|
|
1269
|
-
isAnnotation: Mr.value,
|
|
1270
|
-
callbacks: M.value.callbacks,
|
|
1271
|
-
printScale: M.value.print.scale,
|
|
1272
|
-
tableDialog: j.value.table.useDialog,
|
|
1273
|
-
isCursorPointer: L.value,
|
|
1274
|
-
onToggleFullscreen: Or,
|
|
1275
|
-
onGeneratePdf: T(Jn),
|
|
1276
|
-
onGenerateCsv: Er,
|
|
1277
|
-
onGenerateImage: T(Ur),
|
|
1278
|
-
onGenerateSvg: T(Hr),
|
|
1279
|
-
onToggleTable: kr,
|
|
1280
|
-
onToggleLabels: Ar,
|
|
1281
|
-
onToggleTooltip: jr,
|
|
1282
|
-
onToggleAnnotator: Nr,
|
|
1283
|
-
onCopyAlt: Wr,
|
|
1284
|
-
style: y({ visibility: T(zn) ? T(Ln) ? "visible" : "hidden" : "visible" })
|
|
1285
|
-
}, Le({ _: 2 }, [
|
|
1286
|
-
e.$slots.menuIcon ? {
|
|
1287
|
-
name: "menuIcon",
|
|
1288
|
-
fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
|
|
1289
|
-
isOpen: t,
|
|
1290
|
-
color: n
|
|
1291
|
-
})), void 0, !0)]),
|
|
1292
|
-
key: "0"
|
|
1293
|
-
} : void 0,
|
|
1294
|
-
e.$slots.optionTooltip ? {
|
|
1295
|
-
name: "optionTooltip",
|
|
1296
|
-
fn: E(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1297
|
-
key: "1"
|
|
1298
|
-
} : void 0,
|
|
1299
|
-
e.$slots.optionPdf ? {
|
|
1300
|
-
name: "optionPdf",
|
|
1301
|
-
fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1302
|
-
key: "2"
|
|
1303
|
-
} : void 0,
|
|
1304
|
-
e.$slots.optionCsv ? {
|
|
1305
|
-
name: "optionCsv",
|
|
1306
|
-
fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1307
|
-
key: "3"
|
|
1308
|
-
} : void 0,
|
|
1309
|
-
e.$slots.optionImg ? {
|
|
1310
|
-
name: "optionImg",
|
|
1311
|
-
fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1312
|
-
key: "4"
|
|
1313
|
-
} : void 0,
|
|
1314
|
-
e.$slots.optionSvg ? {
|
|
1315
|
-
name: "optionSvg",
|
|
1316
|
-
fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1317
|
-
key: "5"
|
|
1318
|
-
} : void 0,
|
|
1319
|
-
e.$slots.optionTable ? {
|
|
1320
|
-
name: "optionTable",
|
|
1321
|
-
fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1322
|
-
key: "6"
|
|
1323
|
-
} : void 0,
|
|
1324
|
-
e.$slots.optionLabels ? {
|
|
1325
|
-
name: "optionLabels",
|
|
1326
|
-
fn: E(() => [C(e.$slots, "optionLabels", {}, void 0, !0)]),
|
|
1327
|
-
key: "7"
|
|
1328
|
-
} : void 0,
|
|
1329
|
-
e.$slots.optionFullscreen ? {
|
|
1330
|
-
name: "optionFullscreen",
|
|
1331
|
-
fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", v(g({
|
|
1332
|
-
toggleFullscreen: t,
|
|
1333
|
-
isFullscreen: n
|
|
1334
|
-
})), void 0, !0)]),
|
|
1335
|
-
key: "8"
|
|
1336
|
-
} : void 0,
|
|
1337
|
-
e.$slots.optionAnnotator ? {
|
|
1338
|
-
name: "optionAnnotator",
|
|
1339
|
-
fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", v(g({
|
|
1340
|
-
toggleAnnotator: t,
|
|
1341
|
-
isAnnotator: n
|
|
1342
|
-
})), void 0, !0)]),
|
|
1343
|
-
key: "9"
|
|
1344
|
-
} : void 0,
|
|
1345
|
-
e.$slots.optionAltCopy ? {
|
|
1346
|
-
name: "optionAltCopy",
|
|
1347
|
-
fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
|
|
1348
|
-
key: "10"
|
|
1349
|
-
} : void 0,
|
|
1350
|
-
e.$slots["custom-menu-before"] ? {
|
|
1351
|
-
name: "custom-menu-before",
|
|
1352
|
-
fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1353
|
-
key: "11"
|
|
1354
|
-
} : void 0,
|
|
1355
|
-
e.$slots["custom-menu-after"] ? {
|
|
1356
|
-
name: "custom-menu-after",
|
|
1357
|
-
fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1358
|
-
key: "12"
|
|
1359
|
-
} : void 0
|
|
1360
|
-
]), 1032, /* @__PURE__ */ "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.onGenerateImage.onGenerateSvg.style".split("."))) : f("", !0),
|
|
1361
|
-
m("div", Qe, [(b(), p("svg", {
|
|
1362
|
-
ref_key: "svgRef",
|
|
1363
|
-
ref: R,
|
|
1364
|
-
xmlns: T(de),
|
|
1365
|
-
"aria-describedby": `chart-instructions-${O.value}`,
|
|
1366
|
-
class: _({
|
|
1367
|
-
"vue-data-ui-fullscreen--on": Dr.value,
|
|
1368
|
-
"vue-data-ui-fulscreen--off": !Dr.value
|
|
1369
|
-
}),
|
|
1370
|
-
viewBox: `${U.value.startX} ${U.value.startY} ${U.value.width} ${U.value.height}`,
|
|
1371
|
-
style: y(`max-width:100%;overflow:hidden;background:transparent;color:${I.value.color}`),
|
|
1372
|
-
id: `svg_${O.value}`,
|
|
1373
|
-
tabindex: "0",
|
|
1374
|
-
onFocus: Gr,
|
|
1375
|
-
onBlur: Kr,
|
|
1376
|
-
onKeydown: qr
|
|
1377
|
-
}, [
|
|
1378
|
-
ze(T(ln)),
|
|
1379
|
-
e.$slots["chart-background"] ? (b(), p("foreignObject", {
|
|
1380
|
-
key: 0,
|
|
1381
|
-
x: U.value.startX,
|
|
1382
|
-
y: U.value.startY,
|
|
1383
|
-
width: U.value.width,
|
|
1384
|
-
height: U.value.height,
|
|
1385
|
-
style: { pointerEvents: "none" }
|
|
1386
|
-
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, et)) : f("", !0),
|
|
1387
|
-
m("defs", null, [(b(!0), p(l, null, S(X.value, (e, t) => (b(), d(ke, {
|
|
1388
|
-
t: "radial",
|
|
1389
|
-
cx: "50%",
|
|
1390
|
-
cy: "50%",
|
|
1391
|
-
r: "50%",
|
|
1392
|
-
fx: "50%",
|
|
1393
|
-
fy: "50%",
|
|
1394
|
-
id: `quadrant_gradient_${O.value}_${t}`,
|
|
1395
|
-
key: `quadrant_gradient_${O.value}_${t}`,
|
|
1396
|
-
stops: [[
|
|
1397
|
-
"0%",
|
|
1398
|
-
T(s)(T(ne)(e.color, .05), I.value.layout.areas.opacity),
|
|
1399
|
-
1
|
|
1400
|
-
], [
|
|
1401
|
-
"100%",
|
|
1402
|
-
T(s)(e.color, I.value.layout.areas.opacity),
|
|
1403
|
-
1
|
|
1404
|
-
]]
|
|
1405
|
-
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1406
|
-
N.value.graduations.show ? (b(), p("g", tt, [(b(!0), p(l, null, S(tr.value, (e) => (b(), p("rect", {
|
|
1407
|
-
fill: N.value.graduations.fill ? T(s)(N.value.graduations.color, e.opacity) : "none",
|
|
1408
|
-
x: e.x,
|
|
1409
|
-
y: e.y,
|
|
1410
|
-
height: e.height <= 0 ? .001 : e.height,
|
|
1411
|
-
width: e.width <= 0 ? .001 : e.width,
|
|
1412
|
-
"stroke-width": N.value.graduations.strokeWidth,
|
|
1413
|
-
stroke: N.value.graduations.stroke,
|
|
1414
|
-
rx: N.value.graduations.roundingForce
|
|
1415
|
-
}, null, 8, nt))), 256))])) : f("", !0),
|
|
1416
|
-
m("line", {
|
|
1417
|
-
x1: H.value.left,
|
|
1418
|
-
y1: H.value.centerY,
|
|
1419
|
-
x2: H.value.right,
|
|
1420
|
-
y2: H.value.centerY,
|
|
1421
|
-
stroke: N.value.stroke,
|
|
1422
|
-
"stroke-width": N.value.strokeWidth
|
|
1423
|
-
}, null, 8, rt),
|
|
1424
|
-
m("line", {
|
|
1425
|
-
x1: H.value.centerX,
|
|
1426
|
-
y1: H.value.top,
|
|
1427
|
-
x2: H.value.centerX,
|
|
1428
|
-
y2: H.value.bottom,
|
|
1429
|
-
stroke: N.value.stroke,
|
|
1430
|
-
"stroke-width": N.value.strokeWidth
|
|
1431
|
-
}, null, 8, it),
|
|
1432
|
-
N.value.showArrows ? (b(), p("g", at, [
|
|
1433
|
-
m("polygon", {
|
|
1434
|
-
points: `${H.value.right - 8},${H.value.centerY - 6} ${H.value.right},${H.value.centerY} ${H.value.right - 8},${H.value.centerY + 6}`,
|
|
1435
|
-
fill: N.value.stroke,
|
|
1436
|
-
stroke: "none"
|
|
1437
|
-
}, null, 8, ot),
|
|
1438
|
-
m("polygon", {
|
|
1439
|
-
points: `${H.value.left + 8},${H.value.centerY - 6} ${H.value.left},${H.value.centerY} ${H.value.left + 8},${H.value.centerY + 6}`,
|
|
1440
|
-
fill: N.value.stroke,
|
|
1441
|
-
stroke: "none"
|
|
1442
|
-
}, null, 8, st),
|
|
1443
|
-
m("polygon", {
|
|
1444
|
-
points: `${H.value.centerX - 6},${H.value.top + 8} ${H.value.centerX},${H.value.top} ${H.value.centerX + 6},${H.value.top + 8}`,
|
|
1445
|
-
fill: N.value.stroke,
|
|
1446
|
-
stroke: "none"
|
|
1447
|
-
}, null, 8, ct),
|
|
1448
|
-
m("polygon", {
|
|
1449
|
-
points: `${H.value.centerX - 6},${H.value.bottom - 8} ${H.value.centerX},${H.value.bottom} ${H.value.centerX + 6},${H.value.bottom - 8}`,
|
|
1450
|
-
fill: N.value.stroke,
|
|
1451
|
-
stroke: "none"
|
|
1452
|
-
}, null, 8, lt)
|
|
1453
|
-
])) : f("", !0),
|
|
1454
|
-
P.value.quadrantLabels.show && !k.value ? (b(), p("g", ut, [
|
|
1455
|
-
P.value.quadrantLabels.tl.text ? (b(), p("text", {
|
|
1456
|
-
key: 0,
|
|
1457
|
-
x: 0,
|
|
1458
|
-
y: H.value.top - H.value.padding / 2,
|
|
1459
|
-
"text-anchor": "start",
|
|
1460
|
-
fill: P.value.quadrantLabels.tl.color,
|
|
1461
|
-
"font-size": P.value.quadrantLabels.tl.fontSize,
|
|
1462
|
-
style: y(`font-weight:${P.value.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1463
|
-
onClick: r[0] ||= (e) => wr("tl")
|
|
1464
|
-
}, w(P.value.quadrantLabels.tl.text), 13, dt)) : f("", !0),
|
|
1465
|
-
P.value.quadrantLabels.tr.text ? (b(), p("text", {
|
|
1466
|
-
key: 1,
|
|
1467
|
-
x: H.value.width,
|
|
1468
|
-
y: H.value.top - H.value.padding / 2,
|
|
1469
|
-
"text-anchor": "end",
|
|
1470
|
-
fill: P.value.quadrantLabels.tr.color,
|
|
1471
|
-
"font-size": P.value.quadrantLabels.tr.fontSize,
|
|
1472
|
-
style: y(`font-weight:${P.value.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1473
|
-
onClick: r[1] ||= (e) => wr("tr")
|
|
1474
|
-
}, w(P.value.quadrantLabels.tr.text), 13, ft)) : f("", !0),
|
|
1475
|
-
P.value.quadrantLabels.br.text ? (b(), p("text", {
|
|
1476
|
-
key: 2,
|
|
1477
|
-
x: H.value.width,
|
|
1478
|
-
y: H.value.bottom + H.value.padding * .7,
|
|
1479
|
-
"text-anchor": "end",
|
|
1480
|
-
fill: P.value.quadrantLabels.br.color,
|
|
1481
|
-
"font-size": P.value.quadrantLabels.br.fontSize,
|
|
1482
|
-
style: y(`font-weight:${P.value.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1483
|
-
onClick: r[2] ||= (e) => wr("br")
|
|
1484
|
-
}, w(P.value.quadrantLabels.br.text), 13, pt)) : f("", !0),
|
|
1485
|
-
P.value.quadrantLabels.bl.text ? (b(), p("text", {
|
|
1486
|
-
key: 3,
|
|
1487
|
-
x: 0,
|
|
1488
|
-
y: H.value.bottom + H.value.padding * .7,
|
|
1489
|
-
"text-anchor": "start",
|
|
1490
|
-
fill: P.value.quadrantLabels.bl.color,
|
|
1491
|
-
"font-size": P.value.quadrantLabels.bl.fontSize,
|
|
1492
|
-
style: y(`font-weight:${P.value.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1493
|
-
onClick: r[3] ||= (e) => wr("bl")
|
|
1494
|
-
}, w(P.value.quadrantLabels.bl.text), 13, mt)) : f("", !0)
|
|
1495
|
-
])) : f("", !0),
|
|
1496
|
-
P.value.axisLabels.show ? (b(), p("g", ht, [
|
|
1497
|
-
N.value.yAxis.show ? (b(), p("text", {
|
|
1498
|
-
key: 0,
|
|
1499
|
-
x: H.value.centerX,
|
|
1500
|
-
y: H.value.top - H.value.padding / 6,
|
|
1501
|
-
"text-anchor": "middle",
|
|
1502
|
-
"font-size": P.value.axisLabels.fontSize,
|
|
1503
|
-
fill: P.value.axisLabels.color.positive
|
|
1504
|
-
}, w(T(c)(P.value.plotLabels.y.formatter, J.value.y.max, T(t)({
|
|
1505
|
-
v: J.value.y.max,
|
|
1506
|
-
r: P.value.plotLabels.rounding
|
|
1507
|
-
}))), 9, gt)) : f("", !0),
|
|
1508
|
-
m("text", {
|
|
1509
|
-
x: H.value.centerX,
|
|
1510
|
-
y: H.value.top - H.value.padding / 2,
|
|
1511
|
-
"text-anchor": "middle",
|
|
1512
|
-
"font-size": P.value.axisLabels.fontSize,
|
|
1513
|
-
fill: P.value.axisLabels.color.positive
|
|
1514
|
-
}, w(N.value.yAxis.name), 9, _t),
|
|
1515
|
-
N.value.yAxis.show ? (b(), p("text", {
|
|
1516
|
-
key: 1,
|
|
1517
|
-
x: H.value.centerX,
|
|
1518
|
-
y: H.value.bottom + H.value.padding * .35,
|
|
1519
|
-
"text-anchor": "middle",
|
|
1520
|
-
"font-size": P.value.axisLabels.fontSize,
|
|
1521
|
-
fill: P.value.axisLabels.color.negative
|
|
1522
|
-
}, w(T(c)(P.value.plotLabels.y.formatter, J.value.y.min, T(t)({
|
|
1523
|
-
v: J.value.y.min,
|
|
1524
|
-
r: P.value.plotLabels.rounding
|
|
1525
|
-
}))), 9, vt)) : f("", !0),
|
|
1526
|
-
N.value.xAxis.show ? (b(), p("text", {
|
|
1527
|
-
key: 2,
|
|
1528
|
-
id: `xLabelMin_${O.value}`,
|
|
1529
|
-
"text-anchor": "middle",
|
|
1530
|
-
"font-size": P.value.axisLabels.fontSize,
|
|
1531
|
-
transform: `translate(${H.value.padding - P.value.axisLabels.fontSize}, ${H.value.height / 2}), rotate(-90)`,
|
|
1532
|
-
fill: P.value.axisLabels.color.negative
|
|
1533
|
-
}, w(T(c)(P.value.plotLabels.x.formatter, J.value.x.min, T(t)({
|
|
1534
|
-
v: J.value.x.min,
|
|
1535
|
-
r: P.value.plotLabels.rounding
|
|
1536
|
-
}))), 9, yt)) : f("", !0),
|
|
1537
|
-
N.value.xAxis.show ? (b(), p("text", {
|
|
1538
|
-
key: 3,
|
|
1539
|
-
id: `xLabelMax_${O.value}`,
|
|
1540
|
-
"text-anchor": "middle",
|
|
1541
|
-
"font-size": P.value.axisLabels.fontSize,
|
|
1542
|
-
transform: `translate(${H.value.width - H.value.padding + P.value.axisLabels.fontSize}, ${H.value.height / 2}), rotate(90)`,
|
|
1543
|
-
fill: P.value.axisLabels.color.positive
|
|
1544
|
-
}, w(T(c)(P.value.plotLabels.x.formatter, J.value.x.max, T(t)({
|
|
1545
|
-
v: J.value.x.max,
|
|
1546
|
-
r: P.value.plotLabels.rounding
|
|
1547
|
-
}))), 9, bt)) : f("", !0),
|
|
1548
|
-
m("text", {
|
|
1549
|
-
id: `xLabelMaxName_${O.value}`,
|
|
1550
|
-
"text-anchor": "middle",
|
|
1551
|
-
"font-size": P.value.axisLabels.fontSize,
|
|
1552
|
-
transform: `translate(${H.value.width - P.value.axisLabels.fontSize}, ${H.value.height / 2}), rotate(90)`,
|
|
1553
|
-
fill: P.value.axisLabels.color.positive
|
|
1554
|
-
}, w(N.value.xAxis.name), 9, xt)
|
|
1555
|
-
])) : f("", !0),
|
|
1556
|
-
I.value.layout.areas.show ? (b(), p("g", St, [(b(!0), p(l, null, S(X.value, (e, t) => (b(), p("g", null, [e.series.length > 2 ? (b(), p("polygon", {
|
|
1557
|
-
key: 0,
|
|
1558
|
-
"data-cy-quadrant-area": "",
|
|
1559
|
-
fill: I.value.layout.areas.useGradient ? `url(#quadrant_gradient_${O.value}_${t})` : T(s)(e.color, I.value.layout.areas.opacity),
|
|
1560
|
-
points: T(n)(e)
|
|
1561
|
-
}, null, 8, Ct)) : f("", !0)]))), 256))])) : f("", !0),
|
|
1562
|
-
m("g", null, [
|
|
1563
|
-
m("rect", {
|
|
1564
|
-
onClick: r[4] ||= (e) => q("TL"),
|
|
1565
|
-
x: H.value.left,
|
|
1566
|
-
y: H.value.top,
|
|
1567
|
-
width: H.value.usableWidth / 2 <= 0 ? .001 : H.value.usableWidth / 2,
|
|
1568
|
-
height: H.value.usableHeight / 2 <= 0 ? .001 : H.value.usableHeight / 2,
|
|
1569
|
-
fill: "transparent",
|
|
1570
|
-
class: _({
|
|
1571
|
-
"vue-data-ui-zoom-plus": !k.value && K.value,
|
|
1572
|
-
"vue-data-ui-zoom-minus": k.value && K.value
|
|
1573
|
-
})
|
|
1574
|
-
}, null, 10, wt),
|
|
1575
|
-
m("rect", {
|
|
1576
|
-
onClick: r[5] ||= (e) => q("TR"),
|
|
1577
|
-
x: H.value.centerX,
|
|
1578
|
-
y: H.value.top,
|
|
1579
|
-
width: H.value.usableWidth / 2 <= 0 ? .001 : H.value.usableWidth / 2,
|
|
1580
|
-
height: H.value.usableHeight / 2 <= 0 ? .001 : H.value.usableHeight / 2,
|
|
1581
|
-
fill: "transparent",
|
|
1582
|
-
class: _({
|
|
1583
|
-
"vue-data-ui-zoom-plus": !k.value && K.value,
|
|
1584
|
-
"vue-data-ui-zoom-minus": k.value && K.value
|
|
1585
|
-
})
|
|
1586
|
-
}, null, 10, Tt),
|
|
1587
|
-
m("rect", {
|
|
1588
|
-
onClick: r[6] ||= (e) => q("BR"),
|
|
1589
|
-
x: H.value.centerX,
|
|
1590
|
-
y: H.value.centerY,
|
|
1591
|
-
width: H.value.usableWidth / 2 <= 0 ? .001 : H.value.usableWidth / 2,
|
|
1592
|
-
height: H.value.usableHeight / 2 <= 0 ? .001 : H.value.usableHeight / 2,
|
|
1593
|
-
fill: "transparent",
|
|
1594
|
-
class: _({
|
|
1595
|
-
"vue-data-ui-zoom-plus": !k.value && K.value,
|
|
1596
|
-
"vue-data-ui-zoom-minus": k.value && K.value
|
|
1597
|
-
})
|
|
1598
|
-
}, null, 10, Et),
|
|
1599
|
-
m("rect", {
|
|
1600
|
-
onClick: r[7] ||= (e) => q("BL"),
|
|
1601
|
-
x: H.value.left,
|
|
1602
|
-
y: H.value.centerY,
|
|
1603
|
-
width: H.value.usableWidth / 2 <= 0 ? .001 : H.value.usableWidth / 2,
|
|
1604
|
-
height: H.value.usableHeight / 2 <= 0 ? .001 : H.value.usableHeight / 2,
|
|
1605
|
-
fill: "transparent",
|
|
1606
|
-
class: _({
|
|
1607
|
-
"vue-data-ui-zoom-plus": !k.value && K.value,
|
|
1608
|
-
"vue-data-ui-zoom-minus": k.value && K.value
|
|
1609
|
-
})
|
|
1610
|
-
}, null, 10, Dt)
|
|
1611
|
-
]),
|
|
1612
|
-
P.value.plotLabels.showAsTag ? (b(), p(l, { key: 7 }, [B.value.plotLabels.show ? (b(), p("g", Pt, [(b(!0), p(l, null, S(X.value, (e, t) => (b(), p(l, null, [(b(!0), p(l, null, S(e.series, (n) => (b(), p("foreignObject", {
|
|
1613
|
-
style: { overflow: "visible" },
|
|
1614
|
-
height: "10",
|
|
1615
|
-
width: "100",
|
|
1616
|
-
x: n.x - 50,
|
|
1617
|
-
y: n.y - P.value.plotLabels.fontSize,
|
|
1618
|
-
onMouseover: (r) => xr(e, n, t),
|
|
1619
|
-
onMouseleave: (e) => Sr(n, t),
|
|
1620
|
-
onClick: (r) => Cr(e, n, t)
|
|
1621
|
-
}, [m("div", { style: y(`color:${T(ue)(e.color)};margin: 0 auto; font-size:${P.value.plotLabels.fontSize}px; text-align:center;background:${e.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`) }, w(n.name), 5)], 40, Ft))), 256))], 64))), 256))])) : f("", !0)], 64)) : (b(), p(l, { key: 6 }, [(b(!0), p(l, null, S(X.value, (t, n) => (b(), p("g", null, [e.$slots.datapoint && !T(Fn) ? (b(!0), p(l, { key: 0 }, S(t.series, (r) => (b(), p("g", { key: r.uid }, [(b(), p("foreignObject", {
|
|
1622
|
-
x: r.x - 1,
|
|
1623
|
-
y: r.y - 1,
|
|
1624
|
-
width: "2",
|
|
1625
|
-
height: "2",
|
|
1626
|
-
style: {
|
|
1627
|
-
overflow: "visible",
|
|
1628
|
-
"pointer-events": "none"
|
|
1629
|
-
},
|
|
1630
|
-
onMouseenter: (e) => xr(t, r, n),
|
|
1631
|
-
onMouseleave: (e) => Sr(r, n),
|
|
1632
|
-
onClick: (e) => Cr(t, r, n)
|
|
1633
|
-
}, [C(e.$slots, "datapoint", Be({ ref_for: !0 }, { datapoint: {
|
|
1634
|
-
...r,
|
|
1635
|
-
onEnter: () => xr(t, r, n),
|
|
1636
|
-
onLeave: () => Sr(r, n),
|
|
1637
|
-
onClick: () => Cr(t, r, n),
|
|
1638
|
-
isSelected: Z.value && r.uid === Z.value
|
|
1639
|
-
} }), void 0, !0)], 40, Ot)), m("circle", {
|
|
1640
|
-
"data-a11y-plot-id": r.uid,
|
|
1641
|
-
cx: r.x,
|
|
1642
|
-
cy: r.y,
|
|
1643
|
-
r: Math.max(I.value.layout.plots.radius / (k.value ? 1.5 : 1), 10),
|
|
1644
|
-
fill: "transparent",
|
|
1645
|
-
style: { "pointer-events": "none" }
|
|
1646
|
-
}, null, 8, kt)]))), 128)) : e.$slots.datapointSvg && !T(Fn) ? (b(!0), p(l, { key: 1 }, S(t.series, (r) => (b(), p("g", { key: r.uid }, [C(e.$slots, "datapointSvg", Be({ ref_for: !0 }, { datapoint: {
|
|
1647
|
-
...r,
|
|
1648
|
-
onEnter: () => xr(t, r, n),
|
|
1649
|
-
onLeave: () => Sr(r, n),
|
|
1650
|
-
onClick: () => Cr(t, r, n),
|
|
1651
|
-
isSelected: Z.value && r.uid === Z.value
|
|
1652
|
-
} }), void 0, !0)]))), 128)) : (b(!0), p(l, { key: 2 }, S(t.series, (e, r) => (b(), p("g", { key: e.uid }, [ze(Te, {
|
|
1653
|
-
color: t.color,
|
|
1654
|
-
isSelected: Z.value && e.uid === Z.value,
|
|
1655
|
-
plot: e,
|
|
1656
|
-
radius: I.value.layout.plots.radius / (k.value ? 1.5 : 1),
|
|
1657
|
-
shape: t.shape,
|
|
1658
|
-
stroke: I.value.layout.plots.outline ? I.value.layout.plots.outlineColor : "none",
|
|
1659
|
-
strokeWidth: I.value.layout.plots.outlineWidth,
|
|
1660
|
-
onMouseenter: (r) => xr(t, e, n, "pointer"),
|
|
1661
|
-
onMouseleave: (t) => Sr(e, n),
|
|
1662
|
-
onClick: (r) => Cr(t, e, n)
|
|
1663
|
-
}, null, 8, [
|
|
1664
|
-
"color",
|
|
1665
|
-
"isSelected",
|
|
1666
|
-
"plot",
|
|
1667
|
-
"radius",
|
|
1668
|
-
"shape",
|
|
1669
|
-
"stroke",
|
|
1670
|
-
"strokeWidth",
|
|
1671
|
-
"onMouseenter",
|
|
1672
|
-
"onMouseleave",
|
|
1673
|
-
"onClick"
|
|
1674
|
-
]), m("circle", {
|
|
1675
|
-
"data-dom-to-png-ignore": "",
|
|
1676
|
-
"data-a11y-plot-id": e.uid,
|
|
1677
|
-
cx: e.x,
|
|
1678
|
-
cy: e.y,
|
|
1679
|
-
r: Math.max(I.value.layout.plots.radius / (k.value ? 1.5 : 1), 10),
|
|
1680
|
-
fill: "transparent",
|
|
1681
|
-
style: { "pointer-events": "none" }
|
|
1682
|
-
}, null, 8, At)]))), 128))]))), 256)), B.value.plotLabels.show ? (b(), p("g", jt, [(b(!0), p(l, null, S(X.value, (e) => (b(), p("g", null, [(b(!0), p(l, null, S(e.series, (e) => (b(), p("g", null, [String(e.name).includes("\n") ? (b(), p("text", {
|
|
1683
|
-
key: 1,
|
|
1684
|
-
x: e.x,
|
|
1685
|
-
y: e.y + P.value.plotLabels.offsetY + I.value.layout.plots.radius,
|
|
1686
|
-
"text-anchor": "middle",
|
|
1687
|
-
"font-size": P.value.plotLabels.fontSize / (k.value ? 1.5 : 1),
|
|
1688
|
-
fill: P.value.plotLabels.color,
|
|
1689
|
-
innerHTML: T(o)({
|
|
1690
|
-
content: String(e.name),
|
|
1691
|
-
fontSize: I.value.layout.labels.plotLabels.fontSize / (k.value ? 1.5 : 1),
|
|
1692
|
-
fill: I.value.layout.labels.plotLabels.color,
|
|
1693
|
-
x: e.x,
|
|
1694
|
-
y: e.y + I.value.layout.labels.plotLabels.offsetY + I.value.layout.plots.radius
|
|
1695
|
-
})
|
|
1696
|
-
}, null, 8, Nt)) : (b(), p("text", {
|
|
1697
|
-
key: 0,
|
|
1698
|
-
x: e.x,
|
|
1699
|
-
y: e.y + P.value.plotLabels.offsetY + I.value.layout.plots.radius,
|
|
1700
|
-
"text-anchor": "middle",
|
|
1701
|
-
"font-size": P.value.plotLabels.fontSize / (k.value ? 1.5 : 1),
|
|
1702
|
-
fill: P.value.plotLabels.color
|
|
1703
|
-
}, w(e.name), 9, Mt))]))), 256))]))), 256))])) : f("", !0)], 64)),
|
|
1704
|
-
k.value ? (b(), p("g", It, [
|
|
1705
|
-
W.value === "TL" ? (b(), p("polygon", {
|
|
1706
|
-
key: 0,
|
|
1707
|
-
points: `${H.value.left - 1},${H.value.centerY} ${H.value.centerX},${H.value.centerY} ${H.value.centerX},${H.value.top - 1} ${H.value.right},${H.value.top - 1} ${H.value.right},${H.value.bottom} ${H.value.left - 1},${H.value.bottom} ${H.value.left - 1},${H.value.centerY}`,
|
|
1708
|
-
fill: I.value.backgroundColor,
|
|
1709
|
-
style: { opacity: "1" }
|
|
1710
|
-
}, null, 8, Lt)) : f("", !0),
|
|
1711
|
-
W.value === "TR" ? (b(), p("polygon", {
|
|
1712
|
-
key: 1,
|
|
1713
|
-
points: `${H.value.left},${H.value.top - 1} ${H.value.centerX},${H.value.top - 1} ${H.value.centerX},${H.value.centerY} ${H.value.right + 1},${H.value.centerY} ${H.value.right + 1},${H.value.bottom} ${H.value.left},${H.value.bottom} ${H.value.left},${H.value.top - 1}`,
|
|
1714
|
-
fill: I.value.backgroundColor,
|
|
1715
|
-
style: { opacity: "1" }
|
|
1716
|
-
}, null, 8, Rt)) : f("", !0),
|
|
1717
|
-
W.value === "BR" ? (b(), p("polygon", {
|
|
1718
|
-
key: 2,
|
|
1719
|
-
points: `${H.value.left},${H.value.top} ${H.value.right + 1},${H.value.top} ${H.value.right + 1},${H.value.centerY} ${H.value.centerX},${H.value.centerY} ${H.value.centerX},${H.value.bottom + 1} ${H.value.left},${H.value.bottom + 1} ${H.value.left},${H.value.top}`,
|
|
1720
|
-
fill: I.value.backgroundColor,
|
|
1721
|
-
style: { opacity: "1" }
|
|
1722
|
-
}, null, 8, zt)) : f("", !0),
|
|
1723
|
-
W.value === "BL" ? (b(), p("polygon", {
|
|
1724
|
-
key: 3,
|
|
1725
|
-
points: `${H.value.left - 1},${H.value.top} ${H.value.right},${H.value.top} ${H.value.right},${H.value.bottom + 1} ${H.value.centerX},${H.value.bottom + 1} ${H.value.centerX},${H.value.centerY} ${H.value.left - 1},${H.value.centerY} ${H.value.left - 1},${H.value.top}`,
|
|
1726
|
-
fill: I.value.backgroundColor,
|
|
1727
|
-
style: { opacity: "1" }
|
|
1728
|
-
}, null, 8, Bt)) : f("", !0)
|
|
1729
|
-
])) : f("", !0),
|
|
1730
|
-
W.value && !$n.value ? (b(), p("g", Vt, [m("text", {
|
|
1731
|
-
x: G.value.x,
|
|
1732
|
-
y: G.value.y - G.value.fontSize / 1.5,
|
|
1733
|
-
"font-size": G.value.fontSize / 1.5,
|
|
1734
|
-
fill: G.value.fill,
|
|
1735
|
-
"text-anchor": "middle",
|
|
1736
|
-
"font-weight": G.value.bold ? "bold" : "normal"
|
|
1737
|
-
}, w(G.value.text), 9, Ht)])) : f("", !0),
|
|
1738
|
-
k.value && W.value ? (b(), p("g", Ut, [
|
|
1739
|
-
m("rect", {
|
|
1740
|
-
x: Q.value[W.value].tl.x,
|
|
1741
|
-
y: Q.value[W.value].tl.y,
|
|
1742
|
-
height: "20",
|
|
1743
|
-
width: "20",
|
|
1744
|
-
fill: Q.value[W.value].tl.fill,
|
|
1745
|
-
style: y(`cursor: ${L.value ? "pointer" : "default"}; opacity: ${W.value === "TL" ? 1 : .2}`),
|
|
1746
|
-
onClick: r[8] ||= (e) => q("TL"),
|
|
1747
|
-
class: _({
|
|
1748
|
-
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1749
|
-
"vue-ui-quadrant-mini-map-cell-selectable": W.value !== "TL"
|
|
1750
|
-
})
|
|
1751
|
-
}, null, 14, Wt),
|
|
1752
|
-
m("rect", {
|
|
1753
|
-
x: Q.value[W.value].tr.x,
|
|
1754
|
-
y: Q.value[W.value].tr.y,
|
|
1755
|
-
height: "20",
|
|
1756
|
-
width: "20",
|
|
1757
|
-
fill: Q.value[W.value].tr.fill,
|
|
1758
|
-
style: y(`cursor: ${L.value ? "pointer" : "default"}; opacity: ${W.value === "TR" ? 1 : .2}`),
|
|
1759
|
-
onClick: r[9] ||= (e) => q("TR"),
|
|
1760
|
-
class: _({
|
|
1761
|
-
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1762
|
-
"vue-ui-quadrant-mini-map-cell-selectable": W.value !== "TR"
|
|
1763
|
-
})
|
|
1764
|
-
}, null, 14, Gt),
|
|
1765
|
-
m("rect", {
|
|
1766
|
-
x: Q.value[W.value].br.x,
|
|
1767
|
-
y: Q.value[W.value].br.y,
|
|
1768
|
-
height: "20",
|
|
1769
|
-
width: "20",
|
|
1770
|
-
fill: Q.value[W.value].br.fill,
|
|
1771
|
-
style: y(`cursor: ${L.value ? "pointer" : "default"}; opacity: ${W.value === "BR" ? 1 : .2}`),
|
|
1772
|
-
onClick: r[10] ||= (e) => q("BR"),
|
|
1773
|
-
class: _({
|
|
1774
|
-
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1775
|
-
"vue-ui-quadrant-mini-map-cell-selectable": W.value !== "BR"
|
|
1776
|
-
})
|
|
1777
|
-
}, null, 14, Kt),
|
|
1778
|
-
m("rect", {
|
|
1779
|
-
x: Q.value[W.value].bl.x,
|
|
1780
|
-
y: Q.value[W.value].bl.y,
|
|
1781
|
-
height: "20",
|
|
1782
|
-
width: "20",
|
|
1783
|
-
fill: Q.value[W.value].bl.fill,
|
|
1784
|
-
style: y(`cursor: ${L.value ? "pointer" : "default"}; opacity: ${W.value === "BL" ? 1 : .2}`),
|
|
1785
|
-
onClick: r[11] ||= (e) => q("BL"),
|
|
1786
|
-
class: _({
|
|
1787
|
-
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1788
|
-
"vue-ui-quadrant-mini-map-cell-selectable": W.value !== "BL"
|
|
1789
|
-
})
|
|
1790
|
-
}, null, 14, qt),
|
|
1791
|
-
m("path", {
|
|
1792
|
-
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1793
|
-
stroke: I.value.backgroundColor,
|
|
1794
|
-
"stroke-width": 1,
|
|
1795
|
-
d: Q.value[W.value].crosshairs.horizontal
|
|
1796
|
-
}, null, 8, Jt),
|
|
1797
|
-
m("path", {
|
|
1798
|
-
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1799
|
-
stroke: I.value.backgroundColor,
|
|
1800
|
-
"stroke-width": 1,
|
|
1801
|
-
d: Q.value[W.value].crosshairs.vertical
|
|
1802
|
-
}, null, 8, Yt)
|
|
1803
|
-
])) : f("", !0),
|
|
1804
|
-
C(e.$slots, "svg", { svg: {
|
|
1805
|
-
...H.value,
|
|
1806
|
-
isPrintingImg: T(Kn) || T(qn) || T(Br),
|
|
1807
|
-
isPrintingSvg: T(Vr)
|
|
1808
|
-
} }, void 0, !0)
|
|
1809
|
-
], 46, $e)), e.$slots.hint ? (b(), p("div", Xt, [C(e.$slots, "hint", v(g({
|
|
1810
|
-
hint: j.value.a11y.translations.keyboardNavigation,
|
|
1811
|
-
isVisible: Nn.value
|
|
1812
|
-
})), void 0, !0)])) : f("", !0)]),
|
|
1813
|
-
e.$slots.watermark ? (b(), p("div", Zt, [C(e.$slots, "watermark", v(g({ isPrinting: T(Kn) || T(qn) || T(Br) || T(Vr) })), void 0, !0)])) : f("", !0),
|
|
1814
|
-
m("div", { id: `legend-bottom-${O.value}` }, null, 8, Qt),
|
|
1815
|
-
En.value && (I.value.legend.show || e.$slots.legend) ? (b(), d(Ie, {
|
|
1816
|
-
key: 6,
|
|
1817
|
-
to: I.value.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
|
|
1818
|
-
}, [m("div", {
|
|
1819
|
-
ref_key: "chartLegend",
|
|
1820
|
-
ref: bn
|
|
1821
|
-
}, [C(e.$slots, "legend", { legend: dr.value }, () => [I.value.legend.show ? (b(), d(Pe, {
|
|
1822
|
-
key: `legend_${Tn.value}`,
|
|
1823
|
-
legendSet: dr.value,
|
|
1824
|
-
config: hr.value,
|
|
1825
|
-
isCursorPointer: L.value,
|
|
1826
|
-
onClickMarker: r[12] ||= ({ legend: e }) => ur(e.id)
|
|
1827
|
-
}, {
|
|
1828
|
-
item: E(({ legend: e }) => [T(Fn) ? f("", !0) : (b(), p("div", {
|
|
1829
|
-
key: 0,
|
|
1830
|
-
onClick: (t) => ur(e.id),
|
|
1831
|
-
style: y(`opacity:${Y.value.includes(e.id) ? .5 : 1}`)
|
|
1832
|
-
}, w(e.name), 13, $t))]),
|
|
1833
|
-
legendToggle: E(() => [dr.value.length > 2 && I.value.legend.selectAllToggle.show && !T(Fn) ? (b(), d(Ae, {
|
|
1834
|
-
key: 0,
|
|
1835
|
-
backgroundColor: I.value.legend.selectAllToggle.backgroundColor,
|
|
1836
|
-
color: I.value.legend.selectAllToggle.color,
|
|
1837
|
-
fontSize: I.value.legend.fontSize,
|
|
1838
|
-
checked: Y.value.length > 0,
|
|
1839
|
-
isCursorPointer: L.value,
|
|
1840
|
-
onToggle: lr
|
|
1841
|
-
}, null, 8, [
|
|
1842
|
-
"backgroundColor",
|
|
1843
|
-
"color",
|
|
1844
|
-
"fontSize",
|
|
1845
|
-
"checked",
|
|
1846
|
-
"isCursorPointer"
|
|
1847
|
-
])) : f("", !0)]),
|
|
1848
|
-
_: 1
|
|
1849
|
-
}, 8, [
|
|
1850
|
-
"legendSet",
|
|
1851
|
-
"config",
|
|
1852
|
-
"isCursorPointer"
|
|
1853
|
-
])) : f("", !0)], !0)], 512)], 8, ["to"])) : f("", !0),
|
|
1854
|
-
e.$slots.source ? (b(), p("div", {
|
|
1855
|
-
key: 7,
|
|
1856
|
-
ref_key: "source",
|
|
1857
|
-
ref: xn,
|
|
1858
|
-
dir: "auto"
|
|
1859
|
-
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1860
|
-
ze(T(nn), {
|
|
1861
|
-
teleportTo: F.value.teleportTo,
|
|
1862
|
-
show: B.value.showTooltip && gn.value,
|
|
1863
|
-
backgroundColor: F.value.backgroundColor,
|
|
1864
|
-
color: F.value.color,
|
|
1865
|
-
borderRadius: F.value.borderRadius,
|
|
1866
|
-
borderColor: F.value.borderColor,
|
|
1867
|
-
borderWidth: F.value.borderWidth,
|
|
1868
|
-
fontSize: F.value.fontSize,
|
|
1869
|
-
backgroundOpacity: F.value.backgroundOpacity,
|
|
1870
|
-
position: F.value.position,
|
|
1871
|
-
offsetX: F.value.offsetX,
|
|
1872
|
-
offsetY: F.value.offsetY,
|
|
1873
|
-
parent: A.value,
|
|
1874
|
-
content: _n.value,
|
|
1875
|
-
isFullscreen: Dr.value,
|
|
1876
|
-
isCustom: F.value.customFormat && typeof F.value.customFormat == "function",
|
|
1877
|
-
smooth: F.value.smooth,
|
|
1878
|
-
backdropFilter: F.value.backdropFilter,
|
|
1879
|
-
smoothForce: F.value.smoothForce,
|
|
1880
|
-
smoothSnapThreshold: F.value.smoothSnapThreshold,
|
|
1881
|
-
isA11yMode: Mn.value === "keyboard",
|
|
1882
|
-
a11yPosition: jn.value
|
|
1883
|
-
}, {
|
|
1884
|
-
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...vr.value })), void 0, !0)]),
|
|
1885
|
-
tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...vr.value })), void 0, !0)]),
|
|
1886
|
-
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...vr.value })), void 0, !0)]),
|
|
1887
|
-
default: E(() => [F.value.showShape ? (b(), p("svg", en, [ze(Te, {
|
|
1888
|
-
plot: {
|
|
1889
|
-
x: 10,
|
|
1890
|
-
y: 10
|
|
1891
|
-
},
|
|
1892
|
-
shape: _r.value.shape,
|
|
1893
|
-
color: _r.value.color,
|
|
1894
|
-
radius: 8,
|
|
1895
|
-
stroke: I.value.layout.plots.outline ? I.value.layout.plots.outlineColor : "none",
|
|
1896
|
-
"stroke-width": I.value.layout.plots.outlineWidth
|
|
1897
|
-
}, null, 8, [
|
|
1898
|
-
"shape",
|
|
1899
|
-
"color",
|
|
1900
|
-
"stroke",
|
|
1901
|
-
"stroke-width"
|
|
1902
|
-
])])) : f("", !0)]),
|
|
1903
|
-
_: 3
|
|
1904
|
-
}, 8, [
|
|
1905
|
-
"teleportTo",
|
|
1906
|
-
"show",
|
|
1907
|
-
"backgroundColor",
|
|
1908
|
-
"color",
|
|
1909
|
-
"borderRadius",
|
|
1910
|
-
"borderColor",
|
|
1911
|
-
"borderWidth",
|
|
1912
|
-
"fontSize",
|
|
1913
|
-
"backgroundOpacity",
|
|
1914
|
-
"position",
|
|
1915
|
-
"offsetX",
|
|
1916
|
-
"offsetY",
|
|
1917
|
-
"parent",
|
|
1918
|
-
"content",
|
|
1919
|
-
"isFullscreen",
|
|
1920
|
-
"isCustom",
|
|
1921
|
-
"smooth",
|
|
1922
|
-
"backdropFilter",
|
|
1923
|
-
"smoothForce",
|
|
1924
|
-
"smoothSnapThreshold",
|
|
1925
|
-
"isA11yMode",
|
|
1926
|
-
"a11yPosition"
|
|
1927
|
-
]),
|
|
1928
|
-
mn.value && M.value.buttons.table ? (b(), d(We(Fr.value.component), Be({ key: 8 }, Fr.value.props, {
|
|
1929
|
-
ref_key: "tableUnit",
|
|
1930
|
-
ref: Dn,
|
|
1931
|
-
onClose: Ir
|
|
1932
|
-
}), Le({
|
|
1933
|
-
content: E(() => [(b(), d(T(on), {
|
|
1934
|
-
key: `table_${wn.value}`,
|
|
1935
|
-
colNames: cr.value.colNames,
|
|
1936
|
-
head: cr.value.head,
|
|
1937
|
-
body: cr.value.body,
|
|
1938
|
-
config: cr.value.config,
|
|
1939
|
-
title: j.value.table.useDialog ? "" : Fr.value.title,
|
|
1940
|
-
withCloseButton: !j.value.table.useDialog,
|
|
1941
|
-
isCursorPointer: L.value,
|
|
1942
|
-
onClose: Ir
|
|
1943
|
-
}, {
|
|
1944
|
-
th: E(({ th: e }) => [Re(w(e), 1)]),
|
|
1945
|
-
td: E(({ td: e }) => [m("div", { innerHTML: e.name || e }, null, 8, tn)]),
|
|
1946
|
-
_: 1
|
|
1947
|
-
}, 8, [
|
|
1948
|
-
"colNames",
|
|
1949
|
-
"head",
|
|
1950
|
-
"body",
|
|
1951
|
-
"config",
|
|
1952
|
-
"title",
|
|
1953
|
-
"withCloseButton",
|
|
1954
|
-
"isCursorPointer"
|
|
1955
|
-
]))]),
|
|
1956
|
-
_: 2
|
|
1957
|
-
}, [j.value.table.useDialog ? {
|
|
1958
|
-
name: "title",
|
|
1959
|
-
fn: E(() => [Re(w(Fr.value.title), 1)]),
|
|
1960
|
-
key: "0"
|
|
1961
|
-
} : void 0, j.value.table.useDialog ? {
|
|
1962
|
-
name: "actions",
|
|
1963
|
-
fn: E(() => [m("button", {
|
|
1964
|
-
tabindex: "0",
|
|
1965
|
-
class: "vue-ui-user-options-button",
|
|
1966
|
-
onClick: r[13] ||= (e) => Er(M.value.callbacks.csv),
|
|
1967
|
-
style: y({ cursor: L.value ? "pointer" : "default" })
|
|
1968
|
-
}, [ze(T(rn), {
|
|
1969
|
-
name: "fileCsv",
|
|
1970
|
-
stroke: Fr.value.props.color
|
|
1971
|
-
}, null, 8, ["stroke"])], 4)]),
|
|
1972
|
-
key: "1"
|
|
1973
|
-
} : void 0]), 1040)) : f("", !0),
|
|
1974
|
-
C(e.$slots, "skeleton", {}, () => [T(Fn) ? (b(), d(ye, { key: 0 })) : f("", !0)], !0)
|
|
1975
|
-
], 46, Ye));
|
|
1976
|
-
}
|
|
1977
|
-
}, [["__scopeId", "data-v-42c67732"]]);
|
|
1978
|
-
//#endregion
|
|
1979
|
-
export { Je as n, nn as t };
|