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,974 +0,0 @@
|
|
|
1
|
-
import { $ as e, Bt as t, Ht as n, It as r, Jt as i, S as a, X as o, Y as s, Yt as c, b as l, en as u, f as d, h as f, i as p, j as m, nn as h, p as g, st as _, t as v } from "./lib-D4wK6ljP.js";
|
|
2
|
-
import { t as y } from "./useConfig-D_6ZrPMD.js";
|
|
3
|
-
import { t as b } from "./vue_ui_donut-BDGqG07h.js";
|
|
4
|
-
import { _ as x, a as S, c as C, d as w, g as T, i as E, l as D, n as O, o as k, p as A, r as j, s as ee, t as te, u as M, v as N } from "./render-common-BtfjXdkJ.js";
|
|
5
|
-
//#region src/svg/vue-ui-donut/create.js
|
|
6
|
-
var { vue_ui_donut: ne } = y();
|
|
7
|
-
function re({ config: e = {} } = {}) {
|
|
8
|
-
let t = e ?? {}, r = h({
|
|
9
|
-
userConfig: t,
|
|
10
|
-
defaultConfig: ne
|
|
11
|
-
}), i = r.theme;
|
|
12
|
-
if (!i) return {
|
|
13
|
-
...r,
|
|
14
|
-
customPalette: r.customPalette?.length ? r.customPalette : n
|
|
15
|
-
};
|
|
16
|
-
let a = h({
|
|
17
|
-
userConfig: b[i] || {},
|
|
18
|
-
defaultConfig: r
|
|
19
|
-
}), o = h({
|
|
20
|
-
userConfig: t,
|
|
21
|
-
defaultConfig: a
|
|
22
|
-
});
|
|
23
|
-
return {
|
|
24
|
-
...o,
|
|
25
|
-
customPalette: o.customPalette?.length ? o.customPalette : u[i] || n
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
function P(e, t = 0) {
|
|
29
|
-
let n = Number(e);
|
|
30
|
-
return Number.isFinite(n) ? n : t;
|
|
31
|
-
}
|
|
32
|
-
function F(e, t, n) {
|
|
33
|
-
return String(t).split(".").reduce((e, t) => e && e[t] !== void 0 ? e[t] : void 0, e) ?? n;
|
|
34
|
-
}
|
|
35
|
-
function ie(e) {
|
|
36
|
-
return typeof e != "object" || !e ? 0 : Array.isArray(e.values) ? e.values.reduce((e, t) => e + P(t, 0), 0) : Array.isArray(e.series) ? e.series.reduce((e, t) => e + P(t, 0), 0) : P(e.value ?? e.y ?? 0, 0);
|
|
37
|
-
}
|
|
38
|
-
function ae(e, t) {
|
|
39
|
-
return String(e?.name ?? e?.label ?? `Serie ${t + 1}`);
|
|
40
|
-
}
|
|
41
|
-
function oe(e = [], t) {
|
|
42
|
-
let r = Array.isArray(t.customPalette) ? t.customPalette : n;
|
|
43
|
-
return (Array.isArray(e) ? e : []).map((e, t) => ({
|
|
44
|
-
source: e,
|
|
45
|
-
sourceIndex: t,
|
|
46
|
-
value: ie(e)
|
|
47
|
-
})).filter((e) => Number.isFinite(e.value)).sort((e, t) => e.source?.ghost && !t.source?.ghost ? 1 : t.source?.ghost && !e.source?.ghost ? -1 : t.value - e.value).map((e, t) => {
|
|
48
|
-
let n = e.source, i = e.value, o = (n?.color ? a(n.color) : "") || r[t % r.length];
|
|
49
|
-
return {
|
|
50
|
-
...n,
|
|
51
|
-
id: n?.id ?? `donut_serie_${t}`,
|
|
52
|
-
name: ae(n, t),
|
|
53
|
-
value: i,
|
|
54
|
-
absoluteValue: Math.abs(i),
|
|
55
|
-
absoluteValues: Array.isArray(n?.values) ? n.values : [i],
|
|
56
|
-
color: o,
|
|
57
|
-
index: t,
|
|
58
|
-
sourceIndex: e.sourceIndex,
|
|
59
|
-
patternIndex: n?.patternIndex ?? t,
|
|
60
|
-
seriesIndex: n?.seriesIndex ?? t,
|
|
61
|
-
ghost: !!n?.ghost
|
|
62
|
-
};
|
|
63
|
-
}).filter((e) => Number.isFinite(e.absoluteValue));
|
|
64
|
-
}
|
|
65
|
-
function se(e) {
|
|
66
|
-
return e.reduce((e, t) => e + t.absoluteValue, 0);
|
|
67
|
-
}
|
|
68
|
-
function ce({ series: e, total: t, startAngle: n = -90 }) {
|
|
69
|
-
let r = n;
|
|
70
|
-
return e.map((e) => {
|
|
71
|
-
let n = t ? e.absoluteValue / t : 0, i = n * 360, a = r, o = r + i;
|
|
72
|
-
return r = o, {
|
|
73
|
-
...e,
|
|
74
|
-
ratio: n,
|
|
75
|
-
percentage: n * 100,
|
|
76
|
-
startAngle: a,
|
|
77
|
-
endAngle: o,
|
|
78
|
-
midAngle: a + i / 2
|
|
79
|
-
};
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
function le({ dataset: e = [], config: t = {}, width: n = 512, height: r = 512, additionalSvgContent: i = "", svgTitle: a = "" } = {}) {
|
|
83
|
-
let o = re({ config: t }), s = oe(e, o), c = se(s), l = {
|
|
84
|
-
top: P(F(o, "chart.padding.top", 24), 24),
|
|
85
|
-
right: P(F(o, "chart.padding.right", 24), 24),
|
|
86
|
-
bottom: P(F(o, "chart.padding.bottom", 24), 24),
|
|
87
|
-
left: P(F(o, "chart.padding.left", 24), 24)
|
|
88
|
-
}, u = {
|
|
89
|
-
top: l.top,
|
|
90
|
-
left: l.left,
|
|
91
|
-
right: n - l.right,
|
|
92
|
-
bottom: r - l.bottom
|
|
93
|
-
};
|
|
94
|
-
u.width = Math.max(1, u.right - u.left), u.height = Math.max(1, u.bottom - u.top);
|
|
95
|
-
let d = {
|
|
96
|
-
x: u.left + u.width / 2,
|
|
97
|
-
y: u.top + u.height / 2
|
|
98
|
-
}, f = Math.max(1, Math.min(u.width, u.height) / 2), p = P(F(o, "chart.donut.radius", f), f), m = P(F(o, "chart.donut.holeRatio", .5), .5);
|
|
99
|
-
return {
|
|
100
|
-
width: n,
|
|
101
|
-
height: r,
|
|
102
|
-
dataset: e,
|
|
103
|
-
config: o,
|
|
104
|
-
drawingArea: u,
|
|
105
|
-
center: d,
|
|
106
|
-
radius: p,
|
|
107
|
-
innerRadius: Math.max(0, Math.min(p - 1, p * m)),
|
|
108
|
-
total: c,
|
|
109
|
-
series: ce({
|
|
110
|
-
series: s,
|
|
111
|
-
total: c,
|
|
112
|
-
startAngle: P(F(o, "chart.donut.startAngle", -90), -90)
|
|
113
|
-
}),
|
|
114
|
-
additionalSvgContent: i,
|
|
115
|
-
svgTitle: a
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
//#endregion
|
|
119
|
-
//#region src/svg/vue-ui-donut/render.js
|
|
120
|
-
var ue = o();
|
|
121
|
-
function I() {
|
|
122
|
-
return ue;
|
|
123
|
-
}
|
|
124
|
-
function L(e) {
|
|
125
|
-
return k(S(e, "backgroundColor", "#FFFFFF"), "#FFFFFF");
|
|
126
|
-
}
|
|
127
|
-
function de(e) {
|
|
128
|
-
return x(e?.value ?? e?.absoluteValue ?? 0, 0);
|
|
129
|
-
}
|
|
130
|
-
function R(e) {
|
|
131
|
-
return T(e.series).filter((e) => !e?.ghost).map((e, t) => ({
|
|
132
|
-
...e,
|
|
133
|
-
value: Math.abs(de(e)),
|
|
134
|
-
color: k(e.color, "#000000"),
|
|
135
|
-
name: String(e.name ?? `Serie ${t + 1}`),
|
|
136
|
-
seriesIndex: e.seriesIndex ?? e.index ?? t,
|
|
137
|
-
patternIndex: e.patternIndex ?? e.index ?? t
|
|
138
|
-
})).filter((e) => Number.isFinite(e.value));
|
|
139
|
-
}
|
|
140
|
-
function z(e) {
|
|
141
|
-
return e.reduce((e, t) => e + Math.abs(x(t.value, 0)), 0);
|
|
142
|
-
}
|
|
143
|
-
function fe(e) {
|
|
144
|
-
let t = S(e, "title", {}), n = A(t, "subtitle", {});
|
|
145
|
-
if (!t.text) return 0;
|
|
146
|
-
let r = x(t.fontSize, 20), i = n.show !== !1 && n.text ? x(n.fontSize, 14) : 0;
|
|
147
|
-
return x(t.paddingTop, 12) + r + (i ? i + 12 : 0) + x(t.paddingBottom, 36);
|
|
148
|
-
}
|
|
149
|
-
function pe({ state: e, series: t }) {
|
|
150
|
-
let { config: n, width: r } = e, i = S(n, "legend", {}), a = x(i.fontSize, 12), o = x(i.markerSize, 10), s = x(i.itemGap, 24), c = x(i.rowGap, 8), l = x(i.padding, 8), u = x(i.labelGap, 8), d = Math.max(1, r - l * 2), f = [], p = [], m = 0;
|
|
151
|
-
return t.forEach((t) => {
|
|
152
|
-
let n = Ve(e, t), r = O(n, a), i = o + u + r, c = m + i + (p.length ? s : 0);
|
|
153
|
-
p.length && c > d && (f.push({
|
|
154
|
-
items: p,
|
|
155
|
-
width: m
|
|
156
|
-
}), p = [], m = 0), p.push({
|
|
157
|
-
serie: t,
|
|
158
|
-
label: n,
|
|
159
|
-
itemWidth: i
|
|
160
|
-
}), m += i + (p.length > 1 ? s : 0);
|
|
161
|
-
}), p.length && f.push({
|
|
162
|
-
items: p,
|
|
163
|
-
width: m
|
|
164
|
-
}), {
|
|
165
|
-
rows: f,
|
|
166
|
-
fontSize: a,
|
|
167
|
-
markerSize: o,
|
|
168
|
-
itemGap: s,
|
|
169
|
-
labelGap: u,
|
|
170
|
-
rowGap: c,
|
|
171
|
-
padding: l,
|
|
172
|
-
height: f.length * Math.max(o, a) + Math.max(0, f.length - 1) * c + l * 2
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
function B(e, t) {
|
|
176
|
-
return !S(e.config, "legend.show", !0) || !t.length ? {
|
|
177
|
-
rows: [],
|
|
178
|
-
height: 0,
|
|
179
|
-
padding: 0,
|
|
180
|
-
fontSize: 12,
|
|
181
|
-
markerSize: 10,
|
|
182
|
-
rowGap: 0
|
|
183
|
-
} : pe({
|
|
184
|
-
state: e,
|
|
185
|
-
series: t
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
function V(e) {
|
|
189
|
-
return !!E(e, "pie", S(e, "pie", !1));
|
|
190
|
-
}
|
|
191
|
-
function me(e, t) {
|
|
192
|
-
let { config: n, width: r, height: i } = e, a = fe(n), o = B(e, t), s = S(n, "legend.show", !0), c = S(n, "legend.position", "bottom"), l = s && c === "top" ? o.height : 0, u = s && c !== "top" ? o.height : 0, d = x(S(n, "padding.top", 24), 24), f = x(S(n, "padding.right", 24), 24), p = x(S(n, "padding.bottom", 24), 24), m = x(S(n, "padding.left", 24), 24), h = {
|
|
193
|
-
top: d + a + l,
|
|
194
|
-
right: r - f,
|
|
195
|
-
bottom: i - p - u,
|
|
196
|
-
left: m
|
|
197
|
-
};
|
|
198
|
-
h.width = Math.max(1, h.right - h.left), h.height = Math.max(1, h.bottom - h.top);
|
|
199
|
-
let g = a ? x(E(n, "title.chartOffsetY", 24), 24) : 0, _ = Math.max(1, h.height - g), v = {
|
|
200
|
-
x: h.left + h.width / 2,
|
|
201
|
-
y: h.top + g / 2 + _ / 2
|
|
202
|
-
}, y = x(S(n, "layout.donut.radiusRatio", .35), .35), b = Math.max(.1, Math.min(.50001, y)), C = Math.max(12, Math.min(h.width, _) * b), w = S(n, "layout.donut.radius", null), T = w == null ? C : Math.min(C, x(w, C)), D = x(S(n, "layout.donut.strokeWidth", 64), 64) / 300, O = Math.max(Math.min(T * D * 2, T), 12 * (1 + D)), k = S(n, "layout.donut.thickness", S(n, "layout.donut.size", O)), A = Math.max(0, Math.min(T - 1, k == null ? O : x(k, O)));
|
|
203
|
-
return {
|
|
204
|
-
...e,
|
|
205
|
-
drawingArea: h,
|
|
206
|
-
center: v,
|
|
207
|
-
radius: T,
|
|
208
|
-
thickness: A,
|
|
209
|
-
innerRadius: V(n) ? 0 : Math.max(0, T - A)
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
function he(e, t) {
|
|
213
|
-
let n = x(S(e.config, "layout.donut.rotation", 105.25), 105.25);
|
|
214
|
-
return r({ series: t }, e.center.x, e.center.y, e.radius, e.radius, 1.99999, 2, 1, 360, n, V(e.config) ? e.radius : e.thickness).map((e, n) => ({
|
|
215
|
-
...e,
|
|
216
|
-
index: n,
|
|
217
|
-
color: k(e.color, t[n]?.color),
|
|
218
|
-
value: x(e.value, 0),
|
|
219
|
-
name: String(e.name ?? t[n]?.name ?? `Serie ${n + 1}`),
|
|
220
|
-
patternIndex: e.patternIndex ?? t[n]?.patternIndex ?? n,
|
|
221
|
-
seriesIndex: e.seriesIndex ?? t[n]?.seriesIndex ?? n
|
|
222
|
-
}));
|
|
223
|
-
}
|
|
224
|
-
function ge(e, t) {
|
|
225
|
-
let n = Math.max(1, ...t.map((e) => Math.abs(x(e.value, 0)))), r = t.map((e) => Math.abs(x(e.value, 0)) / n);
|
|
226
|
-
return m({
|
|
227
|
-
series: r,
|
|
228
|
-
center: e.center,
|
|
229
|
-
maxRadius: Math.min(e.drawingArea.width, e.drawingArea.height) / 3,
|
|
230
|
-
hasGhost: !1
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
function H(e) {
|
|
234
|
-
return `gradient_${I()}`;
|
|
235
|
-
}
|
|
236
|
-
function U(e, t) {
|
|
237
|
-
return `polar_gradient_${t}_${I()}`;
|
|
238
|
-
}
|
|
239
|
-
function _e(e) {
|
|
240
|
-
return E(e.config, "type", "classic") !== "classic" || !S(e.config, "useGradient", !1) ? "" : w("circle", {
|
|
241
|
-
"data-cy": "donut-gradient-hollow",
|
|
242
|
-
cx: e.center.x,
|
|
243
|
-
cy: e.center.y,
|
|
244
|
-
r: e.radius <= 0 ? 10 : e.radius,
|
|
245
|
-
fill: `url(#${H(e)})`
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
function W(e) {
|
|
249
|
-
return `drop_shadow_${I()}`;
|
|
250
|
-
}
|
|
251
|
-
function ve(e) {
|
|
252
|
-
let { config: t, width: n } = e, r = S(t, "title", {}), i = A(r, "subtitle", {});
|
|
253
|
-
if (!r.text) return "";
|
|
254
|
-
let a = r.textAlign || "center", o = a === "left" ? x(r.paddingLeft, 12) : a === "right" ? n - x(r.paddingRight, 12) : n / 2, s = a === "left" ? "start" : a === "right" ? "end" : "middle", c = x(r.fontSize, 20), l = x(i.fontSize, 14), u = x(r.paddingTop, 12) + c, d = [N(r.text, {
|
|
255
|
-
"data-cy": "donut-div-title",
|
|
256
|
-
x: o,
|
|
257
|
-
y: u,
|
|
258
|
-
"font-size": c,
|
|
259
|
-
"font-weight": r.bold ? "700" : "400",
|
|
260
|
-
"text-anchor": s,
|
|
261
|
-
fill: k(r.color, j(t))
|
|
262
|
-
})];
|
|
263
|
-
return i.text && d.push(N(i.text, {
|
|
264
|
-
"data-cy": "donut-div-subtitle",
|
|
265
|
-
x: o,
|
|
266
|
-
y: u + l + 4,
|
|
267
|
-
"font-size": l,
|
|
268
|
-
"font-weight": i.bold ? "700" : "400",
|
|
269
|
-
"text-anchor": s,
|
|
270
|
-
fill: k(i.color || r.color, j(t))
|
|
271
|
-
})), M("g", { "data-layer": "title" }, d.join(""));
|
|
272
|
-
}
|
|
273
|
-
function ye(e, t) {
|
|
274
|
-
let { config: n } = e, r = [], a = !!S(n, "useGradient", !1), o = !!S(n, "layout.donut.useShadow", !1);
|
|
275
|
-
if (a) {
|
|
276
|
-
let a = E(n, "type", "classic"), o = x(S(n, "gradientIntensity", 30), 30);
|
|
277
|
-
if (a === "classic" && Number.isFinite(e.thickness / e.radius)) {
|
|
278
|
-
let t = V(n) ? 1 : e.thickness / e.radius;
|
|
279
|
-
r.push(M("radialGradient", { id: H(e) }, [
|
|
280
|
-
w("stop", {
|
|
281
|
-
offset: "0%",
|
|
282
|
-
"stop-color": i(L(n), 0),
|
|
283
|
-
"stop-opacity": 0
|
|
284
|
-
}),
|
|
285
|
-
w("stop", {
|
|
286
|
-
offset: `${(1 - t) * 100}%`,
|
|
287
|
-
"stop-color": i("#FFFFFF", 0),
|
|
288
|
-
"stop-opacity": 0
|
|
289
|
-
}),
|
|
290
|
-
w("stop", {
|
|
291
|
-
offset: `${(1 - t / 2) * 100}%`,
|
|
292
|
-
"stop-color": i("#FFFFFF", o)
|
|
293
|
-
}),
|
|
294
|
-
w("stop", {
|
|
295
|
-
offset: "100%",
|
|
296
|
-
"stop-color": i(L(n), 0),
|
|
297
|
-
"stop-opacity": 0
|
|
298
|
-
})
|
|
299
|
-
].join("")));
|
|
300
|
-
}
|
|
301
|
-
a === "polar" && t.forEach((t, n) => {
|
|
302
|
-
let i = e.polarAreas?.[n];
|
|
303
|
-
i?.middlePoint && r.push(M("radialGradient", {
|
|
304
|
-
id: U(e, n),
|
|
305
|
-
cx: `${l(i.middlePoint.x / e.width * 100)}%`,
|
|
306
|
-
cy: `${l(i.middlePoint.y / e.height * 100)}%`,
|
|
307
|
-
r: "62%"
|
|
308
|
-
}, [w("stop", {
|
|
309
|
-
offset: "0%",
|
|
310
|
-
"stop-color": c(t.color, .05),
|
|
311
|
-
"stop-opacity": o / 100
|
|
312
|
-
}), w("stop", {
|
|
313
|
-
offset: "100%",
|
|
314
|
-
"stop-color": t.color
|
|
315
|
-
})].join("")));
|
|
316
|
-
});
|
|
317
|
-
}
|
|
318
|
-
if (o) {
|
|
319
|
-
let t = k(S(n, "layout.donut.shadowColor", "#000000"), "#000000"), i = x(S(n, "layout.donut.shadowOpacity", .2), .2), a = x(S(n, "layout.donut.shadowBlur", 6), 6), o = x(S(n, "layout.donut.shadowOffsetY", 3), 3);
|
|
320
|
-
r.push(M("filter", {
|
|
321
|
-
id: W(e),
|
|
322
|
-
x: "-50%",
|
|
323
|
-
y: "-50%",
|
|
324
|
-
width: "200%",
|
|
325
|
-
height: "200%"
|
|
326
|
-
}, [w("feDropShadow", {
|
|
327
|
-
dx: 0,
|
|
328
|
-
dy: o,
|
|
329
|
-
stdDeviation: a,
|
|
330
|
-
"flood-color": t,
|
|
331
|
-
"flood-opacity": i
|
|
332
|
-
})].join("")));
|
|
333
|
-
}
|
|
334
|
-
return r.length ? M("defs", { "data-layer": "definitions" }, r.join("")) : "";
|
|
335
|
-
}
|
|
336
|
-
function be(e, t) {
|
|
337
|
-
return t.color;
|
|
338
|
-
}
|
|
339
|
-
function xe(e, t, n) {
|
|
340
|
-
return S(e.config, "useGradient", !1) ? `url(#${U(e, n)})` : t.color;
|
|
341
|
-
}
|
|
342
|
-
function G(e) {
|
|
343
|
-
let { config: t } = e;
|
|
344
|
-
return S(t, "layout.donut.borderColorAuto", !0) ? L(t) : k(S(t, "layout.donut.borderColor", L(t)), L(t));
|
|
345
|
-
}
|
|
346
|
-
function K(e) {
|
|
347
|
-
return S(e.config, "layout.donut.useShadow", !1) ? `url(#${W(e)})` : void 0;
|
|
348
|
-
}
|
|
349
|
-
function Se(e, t) {
|
|
350
|
-
if (!t.length) return "";
|
|
351
|
-
let n = G(e), r = x(S(e.config, "layout.donut.borderWidth", 1), 1), i = [];
|
|
352
|
-
return t.forEach((t, a) => {
|
|
353
|
-
x(t.proportion, 0) <= 0 || (i.push(w("path", {
|
|
354
|
-
"data-cy": `donut-arc-underlay-${a}`,
|
|
355
|
-
d: t.arcSlice,
|
|
356
|
-
fill: "#FFFFFF",
|
|
357
|
-
stroke: L(e.config)
|
|
358
|
-
})), i.push(w("path", {
|
|
359
|
-
class: "vue-ui-donut-arc-path",
|
|
360
|
-
"data-cy": `donut-arc-${a}`,
|
|
361
|
-
d: t.arcSlice,
|
|
362
|
-
fill: be(e, t, a),
|
|
363
|
-
stroke: n,
|
|
364
|
-
"stroke-width": r,
|
|
365
|
-
filter: K(e)
|
|
366
|
-
})));
|
|
367
|
-
}), M("g", { "data-layer": "classic-slices" }, i.join(""));
|
|
368
|
-
}
|
|
369
|
-
function Ce(e, t, n) {
|
|
370
|
-
if (!t.length) return "";
|
|
371
|
-
let r = G(e), i = x(S(e.config, "layout.donut.borderWidth", 1), 1), a = [];
|
|
372
|
-
return t.forEach((t, o) => {
|
|
373
|
-
let s = n[o];
|
|
374
|
-
s?.path && (a.push(w("path", {
|
|
375
|
-
"data-cy": `polar-arc-underlay-${o}`,
|
|
376
|
-
d: s.path,
|
|
377
|
-
fill: "#FFFFFF",
|
|
378
|
-
stroke: r
|
|
379
|
-
})), a.push(w("path", {
|
|
380
|
-
class: "vue-ui-donut-arc-path",
|
|
381
|
-
"data-cy": `donut-arc-${o}`,
|
|
382
|
-
d: s.path,
|
|
383
|
-
fill: xe(e, t, o),
|
|
384
|
-
stroke: r,
|
|
385
|
-
"stroke-width": i,
|
|
386
|
-
filter: K(e)
|
|
387
|
-
})));
|
|
388
|
-
}), M("g", { "data-layer": "polar-slices" }, a.join(""));
|
|
389
|
-
}
|
|
390
|
-
function q(t, n, r = "layout.labels.value.rounding") {
|
|
391
|
-
let { config: i } = t, a = S(i, "layout.labels", {}), o = a.dataLabels ?? {}, s = a.value ?? {}, c = e({
|
|
392
|
-
p: o.prefix ?? "",
|
|
393
|
-
v: n.value,
|
|
394
|
-
s: o.suffix ?? "",
|
|
395
|
-
r: x(S(i, r, s.rounding ?? 0), s.rounding ?? 0)
|
|
396
|
-
});
|
|
397
|
-
return p(s.formatter, n.value, c, { datapoint: n });
|
|
398
|
-
}
|
|
399
|
-
function J(t, n) {
|
|
400
|
-
let { config: r } = t, i = S(r, "layout.labels.percentage", {}), a = x(n.proportion, 0) * 100, o = e({
|
|
401
|
-
v: a,
|
|
402
|
-
s: "%",
|
|
403
|
-
r: x(i.rounding, 0)
|
|
404
|
-
});
|
|
405
|
-
return p(i.formatter, a, o, { datapoint: n });
|
|
406
|
-
}
|
|
407
|
-
function Y(e, t) {
|
|
408
|
-
let n = S(e.config, "layout.labels", {}), r = !!n.name?.show, i = !!(n.value?.show ?? !0), a = !!(n.percentage?.show ?? !0);
|
|
409
|
-
return {
|
|
410
|
-
name: r ? String(t.name ?? "") : "",
|
|
411
|
-
value: i ? q(e, t) : "",
|
|
412
|
-
percentage: a ? J(e, t) : ""
|
|
413
|
-
};
|
|
414
|
-
}
|
|
415
|
-
function we(e, t) {
|
|
416
|
-
let { value: n, percentage: r } = Y(e, t);
|
|
417
|
-
return r && n ? `${r} (${n})` : r || n || "";
|
|
418
|
-
}
|
|
419
|
-
function X(e, t) {
|
|
420
|
-
let n = S(e.config, "layout.labels", {}), r = n.dataLabels ?? {}, i = !!(n.value?.show ?? !0), a = !!(n.percentage?.show ?? !0), o = i ? q(e, t) : "", s = a ? J(e, t) : "";
|
|
421
|
-
return o && s ? r.valuePercentageRatio === "percentageFirst" ? `${s}\n${o}` : `${o}\n${s}` : o || s || "";
|
|
422
|
-
}
|
|
423
|
-
function Z(e, t) {
|
|
424
|
-
let n = S(e.config, "layout.labels", {}).dataLabels ?? {};
|
|
425
|
-
if (!E(e.config, "dataLabels.show", n.show ?? !0) || !n.show) return !1;
|
|
426
|
-
let r = x(n.hideUnderValue, 0);
|
|
427
|
-
return x(t.proportion, 0) * 100 > r;
|
|
428
|
-
}
|
|
429
|
-
function Te(e, t) {
|
|
430
|
-
let n = S(e.config, "layout.labels.dataLabels", {}), r = x(n.smallArcClusterThreshold, 0), i = x(n.hideUnderValue, 0), a = x(t.proportion, 0) * 100;
|
|
431
|
-
return a > i && r > 0 && a <= r;
|
|
432
|
-
}
|
|
433
|
-
function Q(e) {
|
|
434
|
-
return !!S(e.config, "layout.curvedMarkers", S(e.config, "layout.donut.curvedMarkers", !1));
|
|
435
|
-
}
|
|
436
|
-
function Ee(e, t) {
|
|
437
|
-
let n = S(e.config, "layout.labels.dataLabels", {}), r = {}, i = e.center.x, a = e.center.y, o = x(n.smallArcClusterFontSize ?? n.fontSize, 10), s = o / 3, c = o * 1.5, u = e.drawingArea.top + 16, f = e.drawingArea.bottom - 16, p = i - (e.radius + 6), m = i + (e.radius + 6), h = Q(e);
|
|
438
|
-
function _(e) {
|
|
439
|
-
return {
|
|
440
|
-
x: l(e.center?.endX ?? e.endX),
|
|
441
|
-
y: l(e.center?.endY ?? e.endY)
|
|
442
|
-
};
|
|
443
|
-
}
|
|
444
|
-
function v({ midX: e, midY: t, bandX: n, bandY: r }) {
|
|
445
|
-
if (!h) return `M ${e} ${t} L ${e} ${r} L ${n} ${r}`;
|
|
446
|
-
let o = n < i ? -1 : 1, s = n - e, c = r - t, l = Math.sqrt(s * s + c * c) || 1, u = e - i, d = t - a, f = Math.sqrt(u * u + d * d) || 1, p = u / f, m = d / f, g = f + 9;
|
|
447
|
-
function _({ x: e, y: t }) {
|
|
448
|
-
let n = e - i, r = t - a, o = Math.sqrt(n * n + r * r) || 1;
|
|
449
|
-
if (o >= g) return {
|
|
450
|
-
x: e,
|
|
451
|
-
y: t
|
|
452
|
-
};
|
|
453
|
-
let s = g / o;
|
|
454
|
-
return {
|
|
455
|
-
x: i + n * s,
|
|
456
|
-
y: a + r * s
|
|
457
|
-
};
|
|
458
|
-
}
|
|
459
|
-
if (l < 56) {
|
|
460
|
-
let o = s / l, u = -(c / l), d = o, f = (e + n) * .5, h = (t + r) * .5, g = (f + u - i) ** 2 + (h + d - a) ** 2;
|
|
461
|
-
(f - u - i) ** 2 + (h - d - a) ** 2 > g && (u = -u, d = -d);
|
|
462
|
-
let v = Math.max(0, Math.min(1, (l - 18) / 44)), y = v * v * (3 - 2 * v), b = e + s * .78, x = t + c * .78, S = _({
|
|
463
|
-
x: b + u * (2.5 + y * 4) * .9 + p * (1 + y * 2.5),
|
|
464
|
-
y: x + d * (2.5 + y * 4) * .9 + m * (1 + y * 2.5)
|
|
465
|
-
});
|
|
466
|
-
return `M ${e} ${t} Q ${S.x} ${S.y} ${n} ${r}`;
|
|
467
|
-
}
|
|
468
|
-
let v = l * .34;
|
|
469
|
-
v < 20 && (v = 20), v > 46 && (v = 46);
|
|
470
|
-
let y = l * .46;
|
|
471
|
-
y < 22 && (y = 22), y > 70 && (y = 70);
|
|
472
|
-
let b = _({
|
|
473
|
-
x: e + p * v,
|
|
474
|
-
y: t + m * v
|
|
475
|
-
}), x = i + o * Math.max(Math.abs(n - i), g), S = _({
|
|
476
|
-
x: n - o * Math.min(y, Math.abs(x - n) * .75),
|
|
477
|
-
y: r
|
|
478
|
-
});
|
|
479
|
-
return `M ${e} ${t} C ${b.x} ${b.y} ${S.x} ${S.y} ${n} ${r}`;
|
|
480
|
-
}
|
|
481
|
-
function y(e) {
|
|
482
|
-
let t = String(e ?? "").split(/\n/g);
|
|
483
|
-
return c + Math.max(0, t.length - 1) * o * 1.2;
|
|
484
|
-
}
|
|
485
|
-
function b({ arc: e, index: t }) {
|
|
486
|
-
let n = _(e);
|
|
487
|
-
return {
|
|
488
|
-
arc: e,
|
|
489
|
-
index: t,
|
|
490
|
-
midX: n.x,
|
|
491
|
-
midY: n.y,
|
|
492
|
-
inlineMarkerX: d(e).x,
|
|
493
|
-
inlineMarkerY: g(e) - 3.5,
|
|
494
|
-
labelHeight: y(e.name)
|
|
495
|
-
};
|
|
496
|
-
}
|
|
497
|
-
function C(e) {
|
|
498
|
-
let t = e.inlineMarkerY < a, n = e.inlineMarkerX < i;
|
|
499
|
-
return t && n ? "TL" : t && !n ? "TR" : !t && n ? "BL" : "BR";
|
|
500
|
-
}
|
|
501
|
-
function w(e, t) {
|
|
502
|
-
let n = t.startsWith("T");
|
|
503
|
-
e.sort((e, t) => n ? e.inlineMarkerY - t.inlineMarkerY || e.index - t.index : t.inlineMarkerY - e.inlineMarkerY || e.index - t.index);
|
|
504
|
-
}
|
|
505
|
-
function T({ side: e, markerX: t, markerY: n, labelY: r, connectorPath: i }) {
|
|
506
|
-
return {
|
|
507
|
-
side: e,
|
|
508
|
-
labelX: e === "left" ? t - 8 : t + 8,
|
|
509
|
-
labelY: r + s,
|
|
510
|
-
textAnchor: e === "left" ? "end" : "start",
|
|
511
|
-
markerX: t,
|
|
512
|
-
markerY: n,
|
|
513
|
-
connectorPath: i
|
|
514
|
-
};
|
|
515
|
-
}
|
|
516
|
-
function E({ candidateList: e, side: t, bandMarkerX: n, startY: i, direction: a }) {
|
|
517
|
-
let o = i;
|
|
518
|
-
e.forEach((e) => {
|
|
519
|
-
let { index: i, midX: s, midY: c, labelHeight: l } = e, u;
|
|
520
|
-
a === "down" ? (u = o, o += l) : (o -= l, u = o);
|
|
521
|
-
let d = u, f = v({
|
|
522
|
-
midX: s,
|
|
523
|
-
midY: c,
|
|
524
|
-
bandX: n,
|
|
525
|
-
bandY: d
|
|
526
|
-
});
|
|
527
|
-
r[i] = T({
|
|
528
|
-
side: t,
|
|
529
|
-
markerX: n,
|
|
530
|
-
markerY: d,
|
|
531
|
-
labelY: u,
|
|
532
|
-
connectorPath: f
|
|
533
|
-
});
|
|
534
|
-
});
|
|
535
|
-
}
|
|
536
|
-
let D = {
|
|
537
|
-
TL: [],
|
|
538
|
-
TR: [],
|
|
539
|
-
BL: [],
|
|
540
|
-
BR: []
|
|
541
|
-
};
|
|
542
|
-
return t.map((e, t) => b({
|
|
543
|
-
arc: e,
|
|
544
|
-
index: t
|
|
545
|
-
})).filter(({ arc: t }) => Z(e, t) && Te(e, t)).forEach((e) => {
|
|
546
|
-
D[C(e)].push(e);
|
|
547
|
-
}), Object.keys(D).forEach((e) => {
|
|
548
|
-
w(D[e], e);
|
|
549
|
-
}), E({
|
|
550
|
-
candidateList: D.TL,
|
|
551
|
-
side: "left",
|
|
552
|
-
bandMarkerX: p,
|
|
553
|
-
startY: u,
|
|
554
|
-
direction: "down"
|
|
555
|
-
}), E({
|
|
556
|
-
candidateList: D.TR,
|
|
557
|
-
side: "right",
|
|
558
|
-
bandMarkerX: m,
|
|
559
|
-
startY: u,
|
|
560
|
-
direction: "down"
|
|
561
|
-
}), D.BL.length > 1 && E({
|
|
562
|
-
candidateList: D.BL,
|
|
563
|
-
side: "left",
|
|
564
|
-
bandMarkerX: p,
|
|
565
|
-
startY: f,
|
|
566
|
-
direction: "up"
|
|
567
|
-
}), D.BR.length > 1 && E({
|
|
568
|
-
candidateList: D.BR,
|
|
569
|
-
side: "right",
|
|
570
|
-
bandMarkerX: m,
|
|
571
|
-
startY: f,
|
|
572
|
-
direction: "up"
|
|
573
|
-
}), r;
|
|
574
|
-
}
|
|
575
|
-
function De({ state: e, arc: t, arcIndex: n, smallArcLayout: r, fontSize: i }) {
|
|
576
|
-
let a = S(e.config, "layout.labels", {}), o = a.percentage ?? {}, s = a.name ?? {}, c = r?.labelX ?? d(t, !0, 12).x, l = r?.labelY ?? g(t), u = r?.textAnchor ?? d(t, !0, 12).anchor, { name: f } = Y(e, t), p = we(e, t), m = String(f).split(/\n/g), h = f ? m.map((t, n) => M("tspan", {
|
|
577
|
-
class: "vue-data-ui-datalabel-name",
|
|
578
|
-
x: n === 0 ? void 0 : c,
|
|
579
|
-
dy: n === 0 ? void 0 : i * 1.2,
|
|
580
|
-
fill: k(s.color, j(e.config)),
|
|
581
|
-
"font-size": i,
|
|
582
|
-
"font-weight": s.bold ? "700" : "400"
|
|
583
|
-
}, _(t + (n === m.length - 1 ? " " : "")))).join("") : "", v = p ? M("tspan", {
|
|
584
|
-
class: "vue-data-ui-datalabel-value",
|
|
585
|
-
fill: k(o.color, j(e.config)),
|
|
586
|
-
"font-size": i,
|
|
587
|
-
"font-weight": o.bold ? "700" : "400"
|
|
588
|
-
}, _(p)) : "";
|
|
589
|
-
return M("text", {
|
|
590
|
-
"data-cy": `donut-label-inline-${n}`,
|
|
591
|
-
class: "vue-data-ui-datalabel-inline",
|
|
592
|
-
x: c,
|
|
593
|
-
y: l,
|
|
594
|
-
"text-anchor": u
|
|
595
|
-
}, `${h}${v}`);
|
|
596
|
-
}
|
|
597
|
-
function Oe(e, t) {
|
|
598
|
-
let n = S(e.config, "layout.labels", {}), r = n.dataLabels ?? {};
|
|
599
|
-
if (!E(e.config, "dataLabels.show", r.show ?? !0) || !r.show) return "";
|
|
600
|
-
let i = x(r.fontSize ?? n.value?.fontSize ?? 12, 12);
|
|
601
|
-
k(r.color ?? n.value?.color ?? j(e.config), j(e.config)), r.bold ?? n.value?.bold;
|
|
602
|
-
let a = x(r.offset, 16), o = Ee(e, t), s = [];
|
|
603
|
-
return t.forEach((t, n) => {
|
|
604
|
-
if (!Z(e, t)) return;
|
|
605
|
-
let c = o[n];
|
|
606
|
-
if (X(e, t), c) {
|
|
607
|
-
s.push(De({
|
|
608
|
-
state: e,
|
|
609
|
-
arc: t,
|
|
610
|
-
arcIndex: n,
|
|
611
|
-
smallArcLayout: c,
|
|
612
|
-
fontSize: x(r.smallArcClusterFontSize, i)
|
|
613
|
-
}));
|
|
614
|
-
return;
|
|
615
|
-
}
|
|
616
|
-
s.push(De({
|
|
617
|
-
state: e,
|
|
618
|
-
arc: t,
|
|
619
|
-
arcIndex: n,
|
|
620
|
-
smallArcLayout: {
|
|
621
|
-
labelX: d(t, !1, a + i / 2).x,
|
|
622
|
-
labelY: g(t, a, a),
|
|
623
|
-
textAnchor: d(t).anchor
|
|
624
|
-
},
|
|
625
|
-
fontSize: i
|
|
626
|
-
}));
|
|
627
|
-
}), s.length ? M("g", { "data-layer": "data-labels" }, s.join("")) : "";
|
|
628
|
-
}
|
|
629
|
-
function ke(e, n, r = 42) {
|
|
630
|
-
return t({
|
|
631
|
-
initX: n.middlePoint.x,
|
|
632
|
-
initY: n.middlePoint.y,
|
|
633
|
-
offset: r,
|
|
634
|
-
centerX: e.center.x,
|
|
635
|
-
centerY: e.center.y
|
|
636
|
-
});
|
|
637
|
-
}
|
|
638
|
-
function Ae(e, t) {
|
|
639
|
-
return t.x < e.center.x ? "end" : t.x > e.center.x ? "start" : "middle";
|
|
640
|
-
}
|
|
641
|
-
function je(e, t, n, r) {
|
|
642
|
-
let i = S(e.config, "layout.labels", {}), a = i.percentage ?? {}, o = i.name ?? {}, s = x(a.fontSize, i.dataLabels?.fontSize ?? 12), c = x(o.fontSize, i.dataLabels?.fontSize ?? 12), l = M("tspan", {
|
|
643
|
-
class: "vue-data-ui-datalabel-value",
|
|
644
|
-
fill: k(a.color, j(e.config)),
|
|
645
|
-
"font-size": s,
|
|
646
|
-
"font-weight": a.bold ? "700" : "400"
|
|
647
|
-
}, _(String(X(e, t).replace(/\n/g, " / ")))), u = o.show ? String(t.name ?? "").split(/\n/g).map((t, r) => M("tspan", {
|
|
648
|
-
class: "vue-data-ui-datalabel-name",
|
|
649
|
-
x: r === 0 ? void 0 : n,
|
|
650
|
-
dy: r === 0 ? void 0 : c * 1.2,
|
|
651
|
-
fill: k(o.color, j(e.config)),
|
|
652
|
-
"font-size": c,
|
|
653
|
-
"font-weight": o.bold ? "700" : "400"
|
|
654
|
-
}, _(t))).join("") : "";
|
|
655
|
-
return r === "end" ? `${u}${l}` : `${l}${u}`;
|
|
656
|
-
}
|
|
657
|
-
function Me(e, t, n) {
|
|
658
|
-
let r = S(e.config, "layout.labels", {}), i = r.dataLabels ?? {}, a = r.value ?? {}, o = r.percentage ?? {}, c = r.name ?? {};
|
|
659
|
-
if (!E(e.config, "dataLabels.show", i.show ?? !0) || !i.show) return "";
|
|
660
|
-
let l = !!i.oneLine, u = x(a.fontSize, i.fontSize ?? 12), d = x(c.fontSize, i.fontSize ?? 12), f = [];
|
|
661
|
-
return t.forEach((t, r) => {
|
|
662
|
-
let i = n[r];
|
|
663
|
-
if (!i || !Z(e, t)) return;
|
|
664
|
-
let a = ke(e, i, 42), p = Ae(e, a);
|
|
665
|
-
if (l) {
|
|
666
|
-
f.push(M("text", {
|
|
667
|
-
"data-cy": "polar-label-inline",
|
|
668
|
-
class: "vue-data-ui-datalabel-inline",
|
|
669
|
-
x: a.x,
|
|
670
|
-
y: a.y,
|
|
671
|
-
"text-anchor": p
|
|
672
|
-
}, je(e, t, a.x, p)));
|
|
673
|
-
return;
|
|
674
|
-
}
|
|
675
|
-
f.push(M("text", {
|
|
676
|
-
"data-cy": "polar-label-value",
|
|
677
|
-
class: "vue-data-ui-datalabel-value",
|
|
678
|
-
x: a.x,
|
|
679
|
-
y: a.y,
|
|
680
|
-
"font-size": u,
|
|
681
|
-
"font-weight": o.bold ? "700" : "400",
|
|
682
|
-
"text-anchor": p,
|
|
683
|
-
fill: valueFill
|
|
684
|
-
}, te({
|
|
685
|
-
content: X(e, t),
|
|
686
|
-
x: a.x,
|
|
687
|
-
fontSize: u,
|
|
688
|
-
fill: valueFill,
|
|
689
|
-
textAnchor: p
|
|
690
|
-
}))), c.show && f.push(M("text", {
|
|
691
|
-
"data-cy": "polar-label-name",
|
|
692
|
-
class: "vue-data-ui-datalabel-name",
|
|
693
|
-
x: a.x,
|
|
694
|
-
y: a.y + d * 1.2,
|
|
695
|
-
"font-size": d,
|
|
696
|
-
"font-weight": c.bold ? "700" : "400",
|
|
697
|
-
"text-anchor": p,
|
|
698
|
-
fill: k(c.color, j(e.config))
|
|
699
|
-
}, s({
|
|
700
|
-
content: _(String(t.name ?? "")),
|
|
701
|
-
fontSize: d,
|
|
702
|
-
fill: k(c.color, j(e.config)),
|
|
703
|
-
x: a.x
|
|
704
|
-
})));
|
|
705
|
-
}), f.length ? M("g", { "data-layer": "polar-data-labels" }, f.join("")) : "";
|
|
706
|
-
}
|
|
707
|
-
function Ne(e, t, n = null) {
|
|
708
|
-
if (n?.connectorPath) return n.connectorPath;
|
|
709
|
-
let r = S(e.config, "layout.labels.dataLabels", {}), i = x(r.offset, 16), a = x(r.markerFlatLength, 12), o = Q(e);
|
|
710
|
-
return f(t, !1, i, i, !1, !1, 0, a, o);
|
|
711
|
-
}
|
|
712
|
-
function Pe(e, t) {
|
|
713
|
-
let n = S(e.config, "layout.labels.dataLabels", {});
|
|
714
|
-
if (!E(e.config, "dataLabels.show", n.show ?? !0) || !n.show) return "";
|
|
715
|
-
let r = Ee(e, t), i = [];
|
|
716
|
-
return t.forEach((t, a) => {
|
|
717
|
-
if (!Z(e, t)) return;
|
|
718
|
-
let o = r[a], s = Ne(e, t, o);
|
|
719
|
-
s && (i.push(w("path", {
|
|
720
|
-
"data-cy": `donut-marker-${a}`,
|
|
721
|
-
d: s,
|
|
722
|
-
stroke: t.color,
|
|
723
|
-
"stroke-width": x(n.markerStrokeWidth, 1),
|
|
724
|
-
"stroke-linecap": "round",
|
|
725
|
-
"stroke-linejoin": "round",
|
|
726
|
-
fill: "none"
|
|
727
|
-
})), i.push(w("circle", {
|
|
728
|
-
"data-cy": `donut-label-marker-${a}`,
|
|
729
|
-
cx: o?.markerX ?? d(t).x,
|
|
730
|
-
cy: o?.markerY ?? g(t) - 3.5,
|
|
731
|
-
r: x(n.markerRadius, 3),
|
|
732
|
-
fill: t.color,
|
|
733
|
-
stroke: L(e.config),
|
|
734
|
-
"stroke-width": 1
|
|
735
|
-
})));
|
|
736
|
-
}), i.length ? M("g", { "data-layer": "label-markers" }, i.join("")) : "";
|
|
737
|
-
}
|
|
738
|
-
function Fe(e, n, r) {
|
|
739
|
-
let i = S(e.config, "layout.labels.dataLabels", {});
|
|
740
|
-
if (!E(e.config, "dataLabels.show", i.show ?? !0) || !i.show) return "";
|
|
741
|
-
let a = [];
|
|
742
|
-
return n.forEach((n, o) => {
|
|
743
|
-
let s = r[o];
|
|
744
|
-
if (!s?.middlePoint || !Z(e, n)) return;
|
|
745
|
-
let c = t({
|
|
746
|
-
initX: s.middlePoint.x,
|
|
747
|
-
initY: s.middlePoint.y,
|
|
748
|
-
offset: 24,
|
|
749
|
-
centerX: e.center.x,
|
|
750
|
-
centerY: e.center.y
|
|
751
|
-
});
|
|
752
|
-
a.push(w("path", {
|
|
753
|
-
"data-cy": `polar-marker-${o}`,
|
|
754
|
-
d: `M ${c.x},${c.y} ${s.middlePoint.x},${s.middlePoint.y}`,
|
|
755
|
-
stroke: n.color,
|
|
756
|
-
"stroke-width": x(i.markerStrokeWidth, 1),
|
|
757
|
-
"stroke-linecap": "round",
|
|
758
|
-
"stroke-linejoin": "round",
|
|
759
|
-
fill: "none"
|
|
760
|
-
})), a.push(w("circle", {
|
|
761
|
-
"data-cy": `polar-label-marker-${o}`,
|
|
762
|
-
cx: c.x,
|
|
763
|
-
cy: c.y,
|
|
764
|
-
r: x(i.markerRadius, 3),
|
|
765
|
-
fill: n.color,
|
|
766
|
-
stroke: L(e.config),
|
|
767
|
-
"stroke-width": 1
|
|
768
|
-
}));
|
|
769
|
-
}), a.length ? M("g", { "data-layer": "polar-label-markers" }, a.join("")) : "";
|
|
770
|
-
}
|
|
771
|
-
function $(e, t) {
|
|
772
|
-
return e == null || e === "" ? "" : N(e, {
|
|
773
|
-
"text-anchor": "middle",
|
|
774
|
-
...t
|
|
775
|
-
});
|
|
776
|
-
}
|
|
777
|
-
function Ie(t, n, r) {
|
|
778
|
-
if (E(t.config, "type", "classic") !== "classic" || V(t.config) || !n) return "";
|
|
779
|
-
let i = S(t.config, "layout.labels.hollow", {}), a = i.total ?? {}, o = i.average ?? {}, s = [];
|
|
780
|
-
if (a.show) {
|
|
781
|
-
let r = x(a.fontSize, 14), i = !!o.show, c = t.center.y - (i ? r : 0) + x(a.offsetY, 0), l = a.value ?? {}, u = x(l.fontSize, r), d = p(l.formatter, n, e({
|
|
782
|
-
p: l.prefix ?? "",
|
|
783
|
-
v: n,
|
|
784
|
-
s: l.suffix ?? "",
|
|
785
|
-
r: x(l.rounding, 0)
|
|
786
|
-
}), { total: n });
|
|
787
|
-
s.push($(a.text ?? "", {
|
|
788
|
-
"data-cy": "hollow-total-name",
|
|
789
|
-
x: t.center.x,
|
|
790
|
-
y: c,
|
|
791
|
-
fill: k(a.color, j(t.config)),
|
|
792
|
-
"font-size": r,
|
|
793
|
-
"font-weight": a.bold ? "700" : "400"
|
|
794
|
-
})), s.push($(d, {
|
|
795
|
-
"data-cy": "hollow-total-value",
|
|
796
|
-
x: t.center.x,
|
|
797
|
-
y: t.center.y + r - (i ? r : 0) + x(l.offsetY, 0),
|
|
798
|
-
fill: k(l.color, k(a.color, j(t.config))),
|
|
799
|
-
"font-size": u,
|
|
800
|
-
"font-weight": l.bold ? "700" : "400"
|
|
801
|
-
}));
|
|
802
|
-
}
|
|
803
|
-
if (o.show) {
|
|
804
|
-
let i = x(o.fontSize, 14), c = !!a.show, l = n / Math.max(1, r.length), u = o.value ?? {}, d = x(u.fontSize, i), f = p(u.formatter, l, e({
|
|
805
|
-
p: u.prefix ?? "",
|
|
806
|
-
v: l,
|
|
807
|
-
s: u.suffix ?? "",
|
|
808
|
-
r: x(u.rounding, 0)
|
|
809
|
-
}), { average: l });
|
|
810
|
-
s.push($(o.text ?? "", {
|
|
811
|
-
"data-cy": "hollow-average-name",
|
|
812
|
-
x: t.center.x,
|
|
813
|
-
y: t.center.y + (c ? i : 0) + x(o.offsetY, 0),
|
|
814
|
-
fill: k(o.color, j(t.config)),
|
|
815
|
-
"font-size": i,
|
|
816
|
-
"font-weight": o.bold ? "700" : "400"
|
|
817
|
-
})), s.push($(f, {
|
|
818
|
-
"data-cy": "hollow-average-value",
|
|
819
|
-
x: t.center.x,
|
|
820
|
-
y: t.center.y + (c ? i : 0) + i + x(u.offsetY, 0),
|
|
821
|
-
fill: k(u.color, k(o.color, j(t.config))),
|
|
822
|
-
"font-size": d,
|
|
823
|
-
"font-weight": u.bold ? "700" : "400"
|
|
824
|
-
}));
|
|
825
|
-
}
|
|
826
|
-
return s.filter(Boolean).length ? M("g", {
|
|
827
|
-
class: "vue-data-ui-donut-hollow-labels",
|
|
828
|
-
"data-layer": "hollow-labels"
|
|
829
|
-
}, s.join("")) : "";
|
|
830
|
-
}
|
|
831
|
-
function Le(t, n) {
|
|
832
|
-
let { config: r, center: i } = t, a = S(r, "layout.donut.labels.total", S(r, "layout.labels.total", {}));
|
|
833
|
-
if (!a.show || !Number.isFinite(n) || n <= 0) return "";
|
|
834
|
-
let o = S(r, "layout.labels.dataLabels", {}), s = x(a.fontSize, 20), c = k(a.color, j(r)), l = p(a.formatter, n, e({
|
|
835
|
-
p: o.prefix ?? "",
|
|
836
|
-
v: n,
|
|
837
|
-
s: o.suffix ?? "",
|
|
838
|
-
r: x(a.rounding, 0)
|
|
839
|
-
}), { total: n });
|
|
840
|
-
return N(l, {
|
|
841
|
-
"data-cy": "donut-total",
|
|
842
|
-
x: i.x,
|
|
843
|
-
y: i.y + s / 3,
|
|
844
|
-
"font-size": s,
|
|
845
|
-
"font-weight": a.bold ? "700" : "400",
|
|
846
|
-
"text-anchor": "middle",
|
|
847
|
-
fill: c
|
|
848
|
-
});
|
|
849
|
-
}
|
|
850
|
-
function Re(e, t) {
|
|
851
|
-
let n = z(R(e));
|
|
852
|
-
return n ? x(t.value, 0) / n * 100 : 0;
|
|
853
|
-
}
|
|
854
|
-
function ze(t, n) {
|
|
855
|
-
let r = S(t.config, "legend", {}), i = S(t.config, "layout.labels", {}), a = i.dataLabels ?? {}, o = i.value ?? {}, s = e({
|
|
856
|
-
p: a.prefix ?? "",
|
|
857
|
-
v: n.value,
|
|
858
|
-
s: a.suffix ?? "",
|
|
859
|
-
r: x(r.roundingValue, o.rounding ?? 0)
|
|
860
|
-
});
|
|
861
|
-
return p(o.formatter, n.value, s, {
|
|
862
|
-
datapoint: n,
|
|
863
|
-
serie: n
|
|
864
|
-
});
|
|
865
|
-
}
|
|
866
|
-
function Be(t, n) {
|
|
867
|
-
let r = S(t.config, "legend", {}), i = S(t.config, "layout.labels", {}).percentage ?? {}, a = Re(t, n), o = e({
|
|
868
|
-
v: a,
|
|
869
|
-
s: "%",
|
|
870
|
-
r: x(r.roundingPercentage, i.rounding ?? 0)
|
|
871
|
-
});
|
|
872
|
-
return p(i.formatter, a, o, {
|
|
873
|
-
datapoint: n,
|
|
874
|
-
serie: n
|
|
875
|
-
});
|
|
876
|
-
}
|
|
877
|
-
function Ve(e, t) {
|
|
878
|
-
let n = S(e.config, "legend", {}), r = [], i = n.showPercentage ? Be(e, t) : "", a = n.showValue ? ze(e, t) : "", o = i && n.usePercentageParens ? `(${i})` : i, s = a && n.useValueParens ? `(${a})` : a;
|
|
879
|
-
return n.showValueFirst ? (s && r.push(s), o && r.push(o)) : (o && r.push(o), s && r.push(s)), `${t.name}${r.length ? `: ${r.join(" ")}` : ""}`;
|
|
880
|
-
}
|
|
881
|
-
function He(e, t) {
|
|
882
|
-
let n = S(e.config, "legend", {});
|
|
883
|
-
if (!n.show || !t.length) return "";
|
|
884
|
-
let r = B(e, t), i = k(n.color, j(e.config)), a = n.position || "bottom", o = Math.max(r.markerSize, r.fontSize), s = a === "top" ? r.padding + o : e.height - r.height + r.padding + o, c = [];
|
|
885
|
-
return r.rows.forEach((t, a) => {
|
|
886
|
-
let l = r.padding + (e.width - r.padding * 2) / 2 - t.width / 2, u = s + a * (o + r.rowGap);
|
|
887
|
-
t.items.forEach(({ serie: e, label: t, itemWidth: a }) => {
|
|
888
|
-
c.push(w("circle", {
|
|
889
|
-
cx: l + r.markerSize / 2,
|
|
890
|
-
cy: u,
|
|
891
|
-
r: r.markerSize / 2,
|
|
892
|
-
fill: e.color,
|
|
893
|
-
opacity: e.opacity ?? 1
|
|
894
|
-
})), c.push(N(t, {
|
|
895
|
-
x: l + r.markerSize + r.labelGap,
|
|
896
|
-
y: u + 2,
|
|
897
|
-
"font-size": r.fontSize,
|
|
898
|
-
"font-weight": n.bold ? "700" : "400",
|
|
899
|
-
"dominant-baseline": "middle",
|
|
900
|
-
fill: i,
|
|
901
|
-
opacity: e.opacity ?? 1
|
|
902
|
-
})), l += a + r.itemGap;
|
|
903
|
-
});
|
|
904
|
-
}), M("g", {
|
|
905
|
-
"data-layer": "legend",
|
|
906
|
-
"data-cy": "donut-div-legend"
|
|
907
|
-
}, c.join(""));
|
|
908
|
-
}
|
|
909
|
-
function Ue(e) {
|
|
910
|
-
return M("g", { "data-layer": "no-data" }, [w("circle", {
|
|
911
|
-
cx: e.center.x,
|
|
912
|
-
cy: e.center.y,
|
|
913
|
-
r: Math.max(1, e.radius),
|
|
914
|
-
fill: k(S(e.config, "layout.donut.emptyFill", "#E1E5E8"), "#E1E5E8"),
|
|
915
|
-
opacity: .4
|
|
916
|
-
})].join(""));
|
|
917
|
-
}
|
|
918
|
-
function We(e, t) {
|
|
919
|
-
let n = e.additionalSvgContent;
|
|
920
|
-
return typeof n == "function" ? n({
|
|
921
|
-
width: e.width,
|
|
922
|
-
height: e.height,
|
|
923
|
-
drawingArea: e.drawingArea,
|
|
924
|
-
center: e.center,
|
|
925
|
-
radius: e.radius,
|
|
926
|
-
thickness: e.thickness,
|
|
927
|
-
innerRadius: e.innerRadius,
|
|
928
|
-
config: e.config,
|
|
929
|
-
series: t.map((e) => ({ ...e }))
|
|
930
|
-
}) ?? "" : n ?? "";
|
|
931
|
-
}
|
|
932
|
-
function Ge(e, t, n) {
|
|
933
|
-
let r = `${E(e.config, "title.text", "Donut chart") || e.svgTitle || "Donut chart"}. ${t.length} series. Total ${l(n)}.`;
|
|
934
|
-
return M("title", {}, _(r));
|
|
935
|
-
}
|
|
936
|
-
async function Ke(e) {
|
|
937
|
-
let t = e.config, n = x(e.width, S(t, "width", 512)), r = x(e.height, S(t, "height", 512)), i = R(e), a = z(i), o = me({
|
|
938
|
-
...e,
|
|
939
|
-
width: n,
|
|
940
|
-
height: r
|
|
941
|
-
}, i), s = he(o, i), c = ge(o, i), l = E(t, "type", "classic"), u = a > 0 && s.some((e) => x(e.proportion, 0) > 0);
|
|
942
|
-
return `
|
|
943
|
-
<svg
|
|
944
|
-
xmlns="${v}"
|
|
945
|
-
width="100%"
|
|
946
|
-
viewBox="0 0 ${n} ${r}"
|
|
947
|
-
role="img"
|
|
948
|
-
>
|
|
949
|
-
${D()}
|
|
950
|
-
${Ge(o, i, a)}
|
|
951
|
-
${C(o)}
|
|
952
|
-
${ye({
|
|
953
|
-
...o,
|
|
954
|
-
polarAreas: c
|
|
955
|
-
}, s)}
|
|
956
|
-
${ee(o)}
|
|
957
|
-
${ve(o)}
|
|
958
|
-
${u ? l === "polar" ? Ce(o, s, c) : Se(o, s) : Ue(o)}
|
|
959
|
-
${u && l === "classic" ? _e(o) : ""}
|
|
960
|
-
${u ? l === "polar" ? Fe(o, s, c) : Pe(o, s) : ""}
|
|
961
|
-
${u ? Ie(o, a, i) : ""}
|
|
962
|
-
${u ? l === "polar" ? Me(o, s, c) : Oe(o, s) : ""}
|
|
963
|
-
${u ? Le(o, a) : ""}
|
|
964
|
-
${He(o, i)}
|
|
965
|
-
${We(o, s)}
|
|
966
|
-
</svg>`.trim();
|
|
967
|
-
}
|
|
968
|
-
//#endregion
|
|
969
|
-
//#region src/svg/vue-ui-donut/index.js
|
|
970
|
-
async function qe(e = {}) {
|
|
971
|
-
return await Ke(le(e));
|
|
972
|
-
}
|
|
973
|
-
//#endregion
|
|
974
|
-
export { qe as t };
|