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