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