vue-data-ui 3.17.13 → 3.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-Cj6W6Xbi.js +116 -0
- package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
- package/dist/BaseIcon-CEmt3Ifx.js +499 -0
- package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
- package/dist/ColorPicker-DS_QkH3W.js +255 -0
- package/dist/DataTable-BvDJEAma.js +150 -0
- package/dist/Legend-Gg5Q4Clb.js +114 -0
- package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
- package/dist/PackageVersion-DhDKg-ez.js +11 -0
- package/dist/PenAndPaper-DwpL8Z0l.js +461 -0
- package/dist/RecursiveCircles-DPpLel6f.js +117 -0
- package/dist/RecursiveLabels-DBMJf_to.js +56 -0
- package/dist/RecursiveLinks-D06dBL4a.js +78 -0
- package/dist/Shape-DEGOZ6GG.js +141 -0
- package/dist/Slicer-BlfyiHHD.js +1144 -0
- package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
- package/dist/SparkTooltip-c2DL7gqD.js +93 -0
- package/dist/Title-__gWq2g6.js +87 -0
- package/dist/Tooltip-B7lmdbac.js +307 -0
- package/dist/UserOptions-DMw8EZEo.js +1407 -0
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
- package/dist/canvas-lib-DTaADQOK.js +79 -0
- package/dist/components/arrow.js +2 -5
- package/dist/components/vue-ui-3d-bar.js +2 -5
- package/dist/components/vue-ui-accordion.js +2 -5
- package/dist/components/vue-ui-age-pyramid.js +2 -5
- package/dist/components/vue-ui-annotator.js +2 -5
- package/dist/components/vue-ui-bullet.js +2 -5
- package/dist/components/vue-ui-bump.js +2 -5
- package/dist/components/vue-ui-candlestick.js +2 -5
- package/dist/components/vue-ui-carousel-table.js +2 -5
- package/dist/components/vue-ui-chestnut.js +2 -5
- package/dist/components/vue-ui-chord.js +2 -5
- package/dist/components/vue-ui-circle-pack.js +2 -5
- package/dist/components/vue-ui-cursor.js +2 -5
- package/dist/components/vue-ui-dag.js +2 -5
- package/dist/components/vue-ui-dashboard.js +2 -5
- package/dist/components/vue-ui-digits.js +2 -5
- package/dist/components/vue-ui-donut-evolution.js +2 -5
- package/dist/components/vue-ui-donut.js +2 -5
- package/dist/components/vue-ui-dumbbell.js +2 -5
- package/dist/components/vue-ui-flow.js +2 -5
- package/dist/components/vue-ui-funnel.js +2 -5
- package/dist/components/vue-ui-galaxy.js +2 -5
- package/dist/components/vue-ui-gauge.js +2 -5
- package/dist/components/vue-ui-geo.js +2 -5
- package/dist/components/vue-ui-gizmo.js +2 -5
- package/dist/components/vue-ui-heatmap.js +2 -5
- package/dist/components/vue-ui-history-plot.js +2 -5
- package/dist/components/vue-ui-horizontal-bar.js +2 -5
- package/dist/components/vue-ui-icon.js +2 -5
- package/dist/components/vue-ui-kpi.js +2 -5
- package/dist/components/vue-ui-mini-loader.js +2 -5
- package/dist/components/vue-ui-molecule.js +2 -5
- package/dist/components/vue-ui-mood-radar.js +2 -5
- package/dist/components/vue-ui-nested-donuts.js +2 -5
- package/dist/components/vue-ui-onion.js +2 -5
- package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
- package/dist/components/vue-ui-pattern-seed.js +2 -5
- package/dist/components/vue-ui-pattern.js +2 -5
- package/dist/components/vue-ui-quadrant.js +2 -5
- package/dist/components/vue-ui-quick-chart.js +2 -5
- package/dist/components/vue-ui-radar.js +2 -5
- package/dist/components/vue-ui-rating.js +2 -5
- package/dist/components/vue-ui-relation-circle.js +2 -5
- package/dist/components/vue-ui-ridgeline.js +2 -5
- package/dist/components/vue-ui-rings.js +2 -5
- package/dist/components/vue-ui-scatter.js +2 -5
- package/dist/components/vue-ui-skeleton.js +2 -5
- package/dist/components/vue-ui-smiley.js +2 -5
- package/dist/components/vue-ui-spark-trend.js +2 -5
- package/dist/components/vue-ui-sparkbar.js +2 -5
- package/dist/components/vue-ui-sparkgauge.js +2 -5
- package/dist/components/vue-ui-sparkhistogram.js +2 -5
- package/dist/components/vue-ui-sparkline.js +2 -5
- package/dist/components/vue-ui-sparkstackbar.js +2 -5
- package/dist/components/vue-ui-stackbar.js +2 -5
- package/dist/components/vue-ui-stackline.js +2 -5
- package/dist/components/vue-ui-strip-plot.js +2 -5
- package/dist/components/vue-ui-table-heatmap.js +2 -5
- package/dist/components/vue-ui-table-sparkline.js +2 -5
- package/dist/components/vue-ui-table.js +2 -5
- package/dist/components/vue-ui-thermometer.js +2 -5
- package/dist/components/vue-ui-timer.js +2 -5
- package/dist/components/vue-ui-tiremarks.js +2 -5
- package/dist/components/vue-ui-treemap.js +2 -5
- package/dist/components/vue-ui-vertical-bar.js +2 -5
- package/dist/components/vue-ui-waffle.js +2 -5
- package/dist/components/vue-ui-wheel.js +2 -5
- package/dist/components/vue-ui-word-cloud.js +2 -5
- package/dist/components/vue-ui-world.js +2 -5
- package/dist/components/vue-ui-xy-canvas.js +2 -5
- package/dist/components/vue-ui-xy.js +2 -5
- package/dist/dom-to-png-9WSt6hXe.js +237 -0
- package/dist/exposedLib-CwWU4zv-.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-BjOr008R.js +74 -0
- package/dist/labelUtils-Cr97N8E1.js +19 -0
- package/dist/lib-BkiwukKO.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-DSXSFUnK.js +90 -0
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/style.css +2 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +23 -0
- package/dist/types/vue-data-ui.d.ts +4775 -627
- package/dist/types/vue-ui-3d-bar.d.ts +64 -9
- package/dist/types/vue-ui-accordion.d.ts +4 -3
- package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
- package/dist/types/vue-ui-annotator.d.ts +3 -5
- package/dist/types/vue-ui-bullet.d.ts +60 -9
- package/dist/types/vue-ui-bump.d.ts +65 -9
- package/dist/types/vue-ui-candlestick.d.ts +83 -9
- package/dist/types/vue-ui-carousel-table.d.ts +36 -6
- package/dist/types/vue-ui-chestnut.d.ts +66 -9
- package/dist/types/vue-ui-chord.d.ts +78 -9
- package/dist/types/vue-ui-circle-pack.d.ts +86 -9
- package/dist/types/vue-ui-cursor.d.ts +4 -2
- package/dist/types/vue-ui-dag.d.ts +92 -9
- package/dist/types/vue-ui-dashboard.d.ts +43 -6
- package/dist/types/vue-ui-digits.d.ts +4 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
- package/dist/types/vue-ui-donut.d.ts +92 -9
- package/dist/types/vue-ui-dumbbell.d.ts +65 -9
- package/dist/types/vue-ui-flow.d.ts +79 -9
- package/dist/types/vue-ui-funnel.d.ts +55 -9
- package/dist/types/vue-ui-galaxy.d.ts +83 -9
- package/dist/types/vue-ui-gauge.d.ts +64 -9
- package/dist/types/vue-ui-geo.d.ts +71 -9
- package/dist/types/vue-ui-gizmo.d.ts +17 -6
- package/dist/types/vue-ui-heatmap.d.ts +73 -9
- package/dist/types/vue-ui-history-plot.d.ts +82 -9
- package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
- package/dist/types/vue-ui-icon.d.ts +2 -2
- package/dist/types/vue-ui-kpi.d.ts +21 -7
- package/dist/types/vue-ui-mini-loader.d.ts +5 -3
- package/dist/types/vue-ui-molecule.d.ts +86 -9
- package/dist/types/vue-ui-mood-radar.d.ts +66 -9
- package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
- package/dist/types/vue-ui-onion.d.ts +77 -9
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -2
- package/dist/types/vue-ui-quadrant.d.ts +86 -9
- package/dist/types/vue-ui-quick-chart.d.ts +79 -9
- package/dist/types/vue-ui-radar.d.ts +83 -9
- package/dist/types/vue-ui-rating.d.ts +22 -6
- package/dist/types/vue-ui-relation-circle.d.ts +66 -9
- package/dist/types/vue-ui-ridgeline.d.ts +69 -9
- package/dist/types/vue-ui-rings.d.ts +70 -9
- package/dist/types/vue-ui-scatter.d.ts +67 -9
- package/dist/types/vue-ui-skeleton.d.ts +3 -2
- package/dist/types/vue-ui-smiley.d.ts +3 -2
- package/dist/types/vue-ui-spark-trend.d.ts +14 -6
- package/dist/types/vue-ui-sparkbar.d.ts +27 -6
- package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
- package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
- package/dist/types/vue-ui-sparkline.d.ts +35 -6
- package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
- package/dist/types/vue-ui-stackbar.d.ts +85 -9
- package/dist/types/vue-ui-stackline.d.ts +81 -9
- package/dist/types/vue-ui-strip-plot.d.ts +66 -9
- package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
- package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
- package/dist/types/vue-ui-table.d.ts +10 -2
- package/dist/types/vue-ui-thermometer.d.ts +46 -9
- package/dist/types/vue-ui-timer.d.ts +31 -5
- package/dist/types/vue-ui-tiremarks.d.ts +46 -9
- package/dist/types/vue-ui-treemap.d.ts +73 -9
- package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
- package/dist/types/vue-ui-waffle.d.ts +72 -9
- package/dist/types/vue-ui-wheel.d.ts +46 -9
- package/dist/types/vue-ui-word-cloud.d.ts +73 -9
- package/dist/types/vue-ui-world.d.ts +68 -9
- package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
- package/dist/types/vue-ui-xy.d.ts +108 -10
- package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-BV0kTCnO.js +7431 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-Ck4hsrpu.js +10 -0
- package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-X0yWOynH.js +49 -0
- package/dist/useResponsive-CrAInupd.js +19 -0
- package/dist/useStableElementSize-0I1IpHPl.js +77 -0
- package/dist/useSvgExport-Dtu973wa.js +755 -0
- package/dist/useTableResponsive-DrM1xqII.js +24 -0
- package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
- package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
- package/dist/useTimeLabels-C0x7zUXP.js +272 -0
- package/dist/useUserOptionState-CjPJPTg2.js +15 -0
- package/dist/utils.js +27 -44
- package/dist/vClickOutside-CbX_bC9A.js +13 -0
- package/dist/vue-data-ui-DIh8ayZc.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
- package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
- package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
- package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
- package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
- package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
- package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
- package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
- package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
- package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
- package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
- package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
- package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
- package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
- package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
- package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
- package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
- package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
- package/dist/vue-ui-flow-OK563Z46.js +1223 -0
- package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
- package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
- package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
- package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
- package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
- package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
- package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
- package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
- package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
- package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
- package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
- package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
- package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.js +1413 -0
- package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
- package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
- package/dist/vue-ui-quadrant-DLD_ZR9M.js +1966 -0
- package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
- package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
- package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
- package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
- package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
- package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
- package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
- package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
- package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
- package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
- package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
- package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
- package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
- package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
- package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
- package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
- package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
- package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
- package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
- package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
- package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
- package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
- package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
- package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
- package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
- package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
- package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
- package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
- package/dist/vue-ui-world-CEevuFbk.js +14252 -0
- package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
- package/dist/vue-ui-xy-canvas-D2f0d45c.js +1774 -0
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
- package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
- package/dist/vue_ui_bump-frnXaXul.js +201 -0
- package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
- package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
- package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
- package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
- package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
- package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
- package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
- package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
- package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
- package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
- package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
- package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
- package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
- package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
- package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
- package/dist/vue_ui_onion-DTV9cup-.js +293 -0
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
- package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
- package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
- package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
- package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
- package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
- package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
- package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
- package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
- package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
- package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
- package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
- package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
- package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
- package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
- package/package.json +7 -7
- package/dist/A11yDataTable-BpmuNomI.js +0 -54
- package/dist/Arrow-dSvLFssU.js +0 -101
- package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
- package/dist/BaseIcon-DX0hTWa-.js +0 -476
- package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
- package/dist/BaseScanner-C2j3TsSY.js +0 -36
- package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
- package/dist/ColorPicker-bAxGcXK0.js +0 -271
- package/dist/DataTable-cMnb68Ik.js +0 -145
- package/dist/Legend-DGN5lY60.js +0 -104
- package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
- package/dist/PackageVersion-BfrCAH6_.js +0 -10
- package/dist/PenAndPaper-CJDoB5H9.js +0 -527
- package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
- package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
- package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
- package/dist/Shape-CxJ5_Rre.js +0 -116
- package/dist/Slicer-D7UcO8sN.js +0 -1145
- package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
- package/dist/SparkTooltip-D4bM-kfz.js +0 -68
- package/dist/Title-BbKoiBk2.js +0 -88
- package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
- package/dist/UserOptions-DVduN6X7.js +0 -1474
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/dom-to-png-DGvx6i5V.js +0 -262
- package/dist/exposedLib-sJvY1pST.js +0 -22
- package/dist/geoProjections-BFq2sOBY.js +0 -162
- package/dist/img-CjTQXS0U.js +0 -57
- package/dist/labelUtils-DX9oyq3C.js +0 -26
- package/dist/lib-DMzrGQHK.js +0 -2477
- package/dist/patternUtils-BINhU4Ky.js +0 -615
- package/dist/pdf-C4H4o1Cj.js +0 -88
- package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
- package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
- package/dist/useConfig-CG4HT3wS.js +0 -7901
- package/dist/useFitSvgText-2crs6Fv5.js +0 -69
- package/dist/useNestedProp-DH0BEVVS.js +0 -13
- package/dist/useObjectBindings-Dixg-RIe.js +0 -228
- package/dist/usePanZoom-BbDhcKWf.js +0 -141
- package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
- package/dist/usePrinter-C4t8DdQ-.js +0 -51
- package/dist/useResponsive-DfdjqQps.js +0 -195
- package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
- package/dist/useSvgExport-BTG4hVPO.js +0 -870
- package/dist/useTableResponsive-BpfiEtzR.js +0 -26
- package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
- package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
- package/dist/useTimeLabels-Cv0tD9In.js +0 -307
- package/dist/useUserOptionState-B7Ej974k.js +0 -19
- package/dist/vClickOutside-C6WiFswA.js +0 -13
- package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
- package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
- package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
- package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
- package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
- package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
- package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
- package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
- package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
- package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
- package/dist/vue-ui-chord-DWyar45U.js +0 -1457
- package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
- package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
- package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
- package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
- package/dist/vue-ui-digits-CZmdir8V.js +0 -211
- package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
- package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
- package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
- package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
- package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
- package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
- package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
- package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
- package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
- package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
- package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
- package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
- package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
- package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
- package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
- package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
- package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
- package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
- package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
- package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
- package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
- package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
- package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
- package/dist/vue-ui-rating-CqPlP88P.js +0 -370
- package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
- package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
- package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
- package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
- package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
- package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
- package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
- package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
- package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
- package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
- package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
- package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
- package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
- package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
- package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
- package/dist/vue-ui-table-BX2iMku4.js +0 -1726
- package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
- package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
- package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
- package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
- package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
- package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
- package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
- package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
- package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
- package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
- package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
- package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
- package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
- package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
- package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
- package/dist/vue_ui_bump-CIht647H.js +0 -22
- package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
- package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
- package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
- package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
- package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
- package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
- package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
- package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
- package/dist/vue_ui_flow-BErINgox.js +0 -22
- package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
- package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
- package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
- package/dist/vue_ui_geo--kg4VoVX.js +0 -22
- package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
- package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
- package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
- package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
- package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
- package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
- package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
- package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
- package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
- package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
- package/dist/vue_ui_radar-DryGBOrz.js +0 -22
- package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
- package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
- package/dist/vue_ui_rings-CxOrekqA.js +0 -22
- package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
- package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
- package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
- package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
- package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
- package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
- package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
- package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
- package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
- package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
- package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
- package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
- package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
- package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
- package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
- package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
- package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
- package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
- package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
- package/dist/vue_ui_xy-esktmpg-.js +0 -22
- package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
|
@@ -0,0 +1,1381 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
+
import { G as t, H as n, Ht as r, J as i, Lt as a, S as o, St as s, Tt as c, V as ee, X as l, i as te, ot as ne, r as re, t as ie, x as ae, y as oe, zt as se } from "./lib-BkiwukKO.js";
|
|
3
|
+
import { t as ce } from "./useConfig-BV0kTCnO.js";
|
|
4
|
+
import { t as le } from "./usePrinter-X0yWOynH.js";
|
|
5
|
+
import { n as ue, t as de } from "./BaseScanner-C7dmAref.js";
|
|
6
|
+
import { t as fe } from "./useSvgExport-Dtu973wa.js";
|
|
7
|
+
import { t as pe } from "./useNestedProp-Ck4hsrpu.js";
|
|
8
|
+
import { t as me } from "./useThemeCheck-rFK9Zlb_.js";
|
|
9
|
+
import { t as he } from "./img-BjOr008R.js";
|
|
10
|
+
import { n as ge } from "./Title-__gWq2g6.js";
|
|
11
|
+
import { t as _e } from "./Shape-DEGOZ6GG.js";
|
|
12
|
+
import { t as ve } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
13
|
+
import { c as ye } from "./canvas-lib-DTaADQOK.js";
|
|
14
|
+
import { t as be } from "./useResponsive-CrAInupd.js";
|
|
15
|
+
import { t as xe } from "./A11yDataTable-q2-8fSlJ.js";
|
|
16
|
+
import { t as Se } from "./useUserOptionState-CjPJPTg2.js";
|
|
17
|
+
import { t as Ce } from "./useChartAccessibility-Do37qcw2.js";
|
|
18
|
+
import { t as we } from "./Legend-Gg5Q4Clb.js";
|
|
19
|
+
import { t as Te } from "./vue_ui_chord-DpyR_b9A.js";
|
|
20
|
+
import { Fragment as u, Teleport as Ee, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as De, createTextVNode as Oe, createVNode as ke, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Ae, nextTick as je, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Me, onMounted as Ne, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Pe, shallowRef as Fe, toDisplayString as T, toRefs as Ie, unref as E, useCssVars as Le, watch as Re, withCtx as D, withModifiers as ze } from "vue";
|
|
21
|
+
//#region src/components/vue-ui-chord.vue
|
|
22
|
+
var Be = /* @__PURE__ */ e({ default: () => vt }), Ve = ["id"], He = ["id"], Ue = ["id"], We = [
|
|
23
|
+
"xmlns",
|
|
24
|
+
"viewBox",
|
|
25
|
+
"aria-describedby"
|
|
26
|
+
], Ge = ["width", "height"], Ke = { key: 1 }, qe = ["id", "d"], Je = { key: 2 }, Ye = ["transform"], Xe = [
|
|
27
|
+
"d",
|
|
28
|
+
"fill",
|
|
29
|
+
"stroke",
|
|
30
|
+
"stroke-width",
|
|
31
|
+
"onMouseenter",
|
|
32
|
+
"onMouseleave",
|
|
33
|
+
"onClick"
|
|
34
|
+
], Ze = [
|
|
35
|
+
"d",
|
|
36
|
+
"fill",
|
|
37
|
+
"stroke",
|
|
38
|
+
"stroke-width"
|
|
39
|
+
], Qe = ["d", "fill"], $e = [
|
|
40
|
+
"d",
|
|
41
|
+
"fill",
|
|
42
|
+
"stroke",
|
|
43
|
+
"stroke-width",
|
|
44
|
+
"onMouseenter",
|
|
45
|
+
"onClick",
|
|
46
|
+
"onMouseleave"
|
|
47
|
+
], et = [
|
|
48
|
+
"d",
|
|
49
|
+
"fill",
|
|
50
|
+
"stroke",
|
|
51
|
+
"stroke-width"
|
|
52
|
+
], tt = [
|
|
53
|
+
"d",
|
|
54
|
+
"fill",
|
|
55
|
+
"stroke",
|
|
56
|
+
"stroke-width"
|
|
57
|
+
], nt = [
|
|
58
|
+
"d",
|
|
59
|
+
"fill",
|
|
60
|
+
"stroke",
|
|
61
|
+
"stroke-width"
|
|
62
|
+
], rt = { key: 0 }, it = [
|
|
63
|
+
"x1",
|
|
64
|
+
"y1",
|
|
65
|
+
"x2",
|
|
66
|
+
"y2",
|
|
67
|
+
"stroke",
|
|
68
|
+
"stroke-width"
|
|
69
|
+
], at = [
|
|
70
|
+
"x1",
|
|
71
|
+
"y1",
|
|
72
|
+
"x2",
|
|
73
|
+
"y2",
|
|
74
|
+
"stroke",
|
|
75
|
+
"stroke-width"
|
|
76
|
+
], ot = [
|
|
77
|
+
"cx",
|
|
78
|
+
"cy",
|
|
79
|
+
"r",
|
|
80
|
+
"stroke",
|
|
81
|
+
"stroke-width",
|
|
82
|
+
"fill"
|
|
83
|
+
], st = [
|
|
84
|
+
"transform",
|
|
85
|
+
"fill",
|
|
86
|
+
"text-anchor",
|
|
87
|
+
"font-size",
|
|
88
|
+
"font-weight"
|
|
89
|
+
], ct = { key: 1 }, lt = [
|
|
90
|
+
"font-size",
|
|
91
|
+
"font-weight",
|
|
92
|
+
"fill"
|
|
93
|
+
], ut = ["href"], dt = [
|
|
94
|
+
"transform",
|
|
95
|
+
"text-anchor",
|
|
96
|
+
"font-size",
|
|
97
|
+
"font-weight",
|
|
98
|
+
"fill",
|
|
99
|
+
"innerHTML"
|
|
100
|
+
], ft = {
|
|
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
|
+
}, pt = {
|
|
111
|
+
key: 6,
|
|
112
|
+
class: "vue-data-ui-watermark"
|
|
113
|
+
}, mt = ["id"], ht = ["onClick"], gt = {
|
|
114
|
+
key: 9,
|
|
115
|
+
"data-dom-to-png-ignore": "",
|
|
116
|
+
class: "reset-wrapper"
|
|
117
|
+
}, _t = { style: {
|
|
118
|
+
"text-align": "right",
|
|
119
|
+
width: "100%"
|
|
120
|
+
} }, vt = /* @__PURE__ */ ve({
|
|
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: ve, emit: Be }) {
|
|
143
|
+
Le((e) => ({ v2cf8c7c9: e.slicerColor }));
|
|
144
|
+
let vt = g(() => import("./vue-ui-accordion-cVv18nTV.js").then((e) => e.n)), yt = g(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), bt = g(() => import("./DataTable-BvDJEAma.js")), xt = g(() => import("./PackageVersion-DhDKg-ez.js").then((e) => e.t)), St = g(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), Ct = g(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), wt = g(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_chord: Tt } = ce(), { isThemeValid: Et, warnInvalidTheme: Dt } = me(), O = e, Ot = Be, k = S(!!O.dataset && Object.hasOwn(O.dataset, "matrix")), A = S(n()), j = S(null), M = S(null), N = S(null), kt = S(0), P = S(null), At = S(null), jt = S(null), Mt = S(null), Nt = S(null), Pt = S(0), Ft = S(0), It = S(0), F = S(!1), I = Fe(null), L = Fe(null), Lt = S(!1), Rt = S(null), zt = S(null), Bt = S(!1), Vt = S(!1), R = S("group"), z = S(null), Ht = S(!1), B = S($t()), V = d(() => B.value.userOptions.useCursorPointer), Ut = d(() => se({
|
|
145
|
+
defaultConfig: {
|
|
146
|
+
useCssAnimation: !1,
|
|
147
|
+
userOptions: { show: !1 },
|
|
148
|
+
table: { show: !1 },
|
|
149
|
+
style: { chart: {
|
|
150
|
+
backgroundColor: "#99999930",
|
|
151
|
+
legend: { backgroundColor: "transparent" },
|
|
152
|
+
arcs: {
|
|
153
|
+
stroke: "#6A6A6A",
|
|
154
|
+
labels: { show: !1 }
|
|
155
|
+
},
|
|
156
|
+
ribbons: {
|
|
157
|
+
stroke: "#6A6A6A",
|
|
158
|
+
underlayerOpacity: 0,
|
|
159
|
+
labels: { show: !1 }
|
|
160
|
+
}
|
|
161
|
+
} }
|
|
162
|
+
},
|
|
163
|
+
userConfig: B.value.skeletonConfig ?? {}
|
|
164
|
+
})), { loading: Wt, FINAL_DATASET: H, manualLoading: Gt } = ue({
|
|
165
|
+
...Ie(O),
|
|
166
|
+
FINAL_CONFIG: B,
|
|
167
|
+
prepareConfig: $t,
|
|
168
|
+
callback: () => {
|
|
169
|
+
Promise.resolve().then(async () => {
|
|
170
|
+
await je(), W.value.showTable = B.value.table.show;
|
|
171
|
+
});
|
|
172
|
+
},
|
|
173
|
+
skeletonDataset: O.config?.skeletonDataset ?? {
|
|
174
|
+
matrix: [
|
|
175
|
+
[
|
|
176
|
+
12e3,
|
|
177
|
+
6e3,
|
|
178
|
+
9e3,
|
|
179
|
+
3e3
|
|
180
|
+
],
|
|
181
|
+
[
|
|
182
|
+
2e3,
|
|
183
|
+
1e4,
|
|
184
|
+
2e3,
|
|
185
|
+
6001
|
|
186
|
+
],
|
|
187
|
+
[
|
|
188
|
+
8e3,
|
|
189
|
+
1600,
|
|
190
|
+
8e3,
|
|
191
|
+
8001
|
|
192
|
+
],
|
|
193
|
+
[
|
|
194
|
+
1e3,
|
|
195
|
+
1e3,
|
|
196
|
+
1e3,
|
|
197
|
+
7001
|
|
198
|
+
]
|
|
199
|
+
],
|
|
200
|
+
labels: [],
|
|
201
|
+
colors: [
|
|
202
|
+
"#DBDBDB",
|
|
203
|
+
"#C4C4C4",
|
|
204
|
+
"#ADADAD",
|
|
205
|
+
"#969696"
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
skeletonConfig: se({
|
|
209
|
+
defaultConfig: B.value,
|
|
210
|
+
userConfig: Ut.value
|
|
211
|
+
})
|
|
212
|
+
}), { userOptionsVisible: Kt, setUserOptionsVisibility: qt, keepUserOptionState: Jt } = Se({ config: B.value }), { svgRef: U } = Ce({ config: B.value.style.chart.title }), { isPrinting: Yt, isImaging: Xt, generatePdf: Zt, generateImage: Qt } = le({
|
|
213
|
+
elementId: `chord_${A.value}`,
|
|
214
|
+
fileName: B.value.style.chart.title.text || "vue-ui-chord",
|
|
215
|
+
options: B.value.userOptions.print
|
|
216
|
+
}), W = S({ showTable: B.value.table.show });
|
|
217
|
+
function $t() {
|
|
218
|
+
let e = pe({
|
|
219
|
+
userConfig: O.config,
|
|
220
|
+
defaultConfig: Tt
|
|
221
|
+
}), t = e.theme;
|
|
222
|
+
if (!t) return e;
|
|
223
|
+
if (!Et.value(e)) return Dt(e), e;
|
|
224
|
+
let n = pe({
|
|
225
|
+
userConfig: Te[t] || O.config,
|
|
226
|
+
defaultConfig: e
|
|
227
|
+
}), r = pe({
|
|
228
|
+
userConfig: O.config,
|
|
229
|
+
defaultConfig: n
|
|
230
|
+
});
|
|
231
|
+
return {
|
|
232
|
+
...r,
|
|
233
|
+
customPalette: r.customPalette.length ? r.customPalette : a[t] || c
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
Re(() => O.config, (e) => {
|
|
237
|
+
Wt.value || (B.value = $t()), Kt.value = !B.value.userOptions.showOnChartHover, nn(), Pt.value += 1, Ft.value += 1, It.value += 1, Y.value = B.value.initialRotation, W.value.showTable = B.value.table.show;
|
|
238
|
+
}, { deep: !0 });
|
|
239
|
+
let en = d(() => B.value.debug);
|
|
240
|
+
Re(() => O.dataset, () => {
|
|
241
|
+
tn(), nn(), Pt.value += 1, Ft.value += 1, It.value += 1;
|
|
242
|
+
});
|
|
243
|
+
function tn() {
|
|
244
|
+
if (s(O.dataset)) {
|
|
245
|
+
l({
|
|
246
|
+
componentName: "VueUiChord",
|
|
247
|
+
type: "dataset",
|
|
248
|
+
debug: en.value
|
|
249
|
+
}), k.value = !1, Gt.value = !0;
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
let e = ne({
|
|
253
|
+
datasetObject: O.dataset,
|
|
254
|
+
requiredAttributes: ["matrix"]
|
|
255
|
+
});
|
|
256
|
+
if (e.length) {
|
|
257
|
+
e.forEach((e) => {
|
|
258
|
+
l({
|
|
259
|
+
componentName: "VueUiChord",
|
|
260
|
+
type: "datasetAttribute",
|
|
261
|
+
property: e,
|
|
262
|
+
debug: en.value
|
|
263
|
+
});
|
|
264
|
+
}), k.value = !1, Gt.value = !0;
|
|
265
|
+
return;
|
|
266
|
+
}
|
|
267
|
+
let t = O.dataset.matrix;
|
|
268
|
+
if (!Array.isArray(t) || t.length < 2) {
|
|
269
|
+
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, Gt.value = !0;
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
let n = t.length, r = t.findIndex((e) => !Array.isArray(e) || e.length !== n);
|
|
273
|
+
if (r !== -1) {
|
|
274
|
+
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}
|
|
275
|
+
|
|
276
|
+
dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`), k.value = !1, Gt.value = !0;
|
|
277
|
+
return;
|
|
278
|
+
}
|
|
279
|
+
k.value = !0, Gt.value = !1;
|
|
280
|
+
}
|
|
281
|
+
function nn() {
|
|
282
|
+
if (tn(), B.value.responsive) {
|
|
283
|
+
let e = ye(() => {
|
|
284
|
+
let { width: e, height: t, heightNoTitle: n, heightSource: r, heightTitle: i, heightLegend: a } = be({
|
|
285
|
+
chart: P.value,
|
|
286
|
+
title: B.value.style.chart.title.text ? At.value : null,
|
|
287
|
+
legend: B.value.style.chart.legend.show ? jt.value : null,
|
|
288
|
+
source: Mt.value,
|
|
289
|
+
noTitle: Nt.value
|
|
290
|
+
}), o = i + a + r + n;
|
|
291
|
+
e < t ? P.value.style.width = "100%" : (P.value.style.height = "100%", U.value.style.height = `calc(100% - ${o}px)`);
|
|
292
|
+
}, 100);
|
|
293
|
+
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect()), I.value = new ResizeObserver(e), L.value = P.value.parentNode, I.value.observe(L.value), e();
|
|
294
|
+
}
|
|
295
|
+
an.value = setTimeout(() => {
|
|
296
|
+
F.value = !0;
|
|
297
|
+
}, 500);
|
|
298
|
+
}
|
|
299
|
+
function rn() {
|
|
300
|
+
if (!H.value || !Object.hasOwn(H.value, "matrix") || H.value.matrix.length < 2) {
|
|
301
|
+
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;
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
H.value.matrix.forEach((e, t) => {
|
|
305
|
+
e.length !== H.value.matrix.length && (console.warn(`VueUiChord - Invalid matrix: dataset.matrix at index ${t} has ${e.length} elements instead of the required ${H.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 (${H.value.matrix.length})`), k.value = !1);
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
let an = S(null);
|
|
309
|
+
Ne(() => {
|
|
310
|
+
Lt.value = !0, nn();
|
|
311
|
+
});
|
|
312
|
+
let G = S({
|
|
313
|
+
height: 600,
|
|
314
|
+
width: 600
|
|
315
|
+
}), on = d(() => B.value.userOptions.show && !B.value.style.chart.title.text), sn = d(() => ae(B.value.customPalette)), K = d(() => ({
|
|
316
|
+
inner: G.value.width * .3 * B.value.style.chart.arcs.innerRadiusRatio,
|
|
317
|
+
outer: G.value.width * .34 * B.value.style.chart.arcs.outerRadiusRatio
|
|
318
|
+
})), cn = d(() => B.value.style.chart.arcs.padAngle / 100), q = d(() => ({
|
|
319
|
+
matrix: H.value.matrix ?? [[0]],
|
|
320
|
+
labels: H.value.labels ?? [""],
|
|
321
|
+
colors: H.value.colors && Array.isArray(H.value.colors) && H.value.colors.length ? H.value.colors.map((e) => oe(e)) : H.value.matrix.map((e, t) => sn.value[t] || c[t] || c[t % c.length])
|
|
322
|
+
}));
|
|
323
|
+
function ln(e, t) {
|
|
324
|
+
let r = e.length, i = K.value.inner, a = Array(r).fill(0), o = 0;
|
|
325
|
+
for (let t = 0; t < r; t += 1) for (let n = 0; n < r; n += 1) a[t] += e[t][n], o += e[t][n];
|
|
326
|
+
let s = (2 * Math.PI - t * r) / o, c = [], ee = 0;
|
|
327
|
+
for (let e = 0; e < r; e += 1) {
|
|
328
|
+
let r = ee, i = r + a[e] * s;
|
|
329
|
+
c.push({
|
|
330
|
+
index: e,
|
|
331
|
+
pattern: `pattern_${A.value}_${e}`,
|
|
332
|
+
startAngle: r,
|
|
333
|
+
endAngle: i,
|
|
334
|
+
name: q.value.labels[e],
|
|
335
|
+
id: n(),
|
|
336
|
+
color: q.value.colors[e],
|
|
337
|
+
proportion: a[e] / o
|
|
338
|
+
}), ee = i + t;
|
|
339
|
+
}
|
|
340
|
+
let l = [];
|
|
341
|
+
for (let t = 0; t < r; t += 1) {
|
|
342
|
+
let n = e[t].map((e, t) => ({
|
|
343
|
+
j: t,
|
|
344
|
+
v: e
|
|
345
|
+
}));
|
|
346
|
+
n.sort((e, t) => t.v - e.v);
|
|
347
|
+
let r = c[t].startAngle;
|
|
348
|
+
for (let { j: e, v: a } of n) {
|
|
349
|
+
let n = r, o = n + a * s;
|
|
350
|
+
l.push({
|
|
351
|
+
index: t,
|
|
352
|
+
subIndex: e,
|
|
353
|
+
pattern: `pattern_${A.value}_${t}`,
|
|
354
|
+
startAngle: n,
|
|
355
|
+
endAngle: o,
|
|
356
|
+
value: a,
|
|
357
|
+
groupName: q.value.labels[t],
|
|
358
|
+
groupId: c[t].id,
|
|
359
|
+
groupColor: q.value.colors[t],
|
|
360
|
+
midAngle: (n + o) / 2,
|
|
361
|
+
midBaseX: Math.cos((n + o) / 2 - Math.PI / 2) * i,
|
|
362
|
+
midBaseY: Math.sin((n + o) / 2 - Math.PI / 2) * i
|
|
363
|
+
}), r = o;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
let te = [];
|
|
367
|
+
for (let e of l) {
|
|
368
|
+
let t = l.find((t) => t.index === e.subIndex && t.subIndex === e.index);
|
|
369
|
+
te.push({
|
|
370
|
+
source: e,
|
|
371
|
+
target: t,
|
|
372
|
+
id: n()
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
return {
|
|
376
|
+
groups: c,
|
|
377
|
+
chords: te
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
let J = d(() => {
|
|
381
|
+
let e = ln(q.value.matrix, cn.value);
|
|
382
|
+
return rn(), e.chords.sort((e, t) => Math.max(t.source.value, t.target.value) - Math.max(e.source.value, e.target.value)), e;
|
|
383
|
+
}), un = d(() => {
|
|
384
|
+
let e = K.value.outer + B.value.style.chart.ribbons.labels.offset + 12, t = B.value.style.chart.ribbons.labels.fontSize * .6, n = [];
|
|
385
|
+
if (M.value) {
|
|
386
|
+
let r = M.value;
|
|
387
|
+
if (r.source.value) {
|
|
388
|
+
let i = String(r.source.value);
|
|
389
|
+
n.push({
|
|
390
|
+
id: r.id + "-src",
|
|
391
|
+
theta: r.source.midAngle,
|
|
392
|
+
w: i.length * t / e,
|
|
393
|
+
midBaseX: r.source.midBaseX,
|
|
394
|
+
midBaseY: r.source.midBaseY,
|
|
395
|
+
groupColor: r.source.groupColor,
|
|
396
|
+
value: r.source.value
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
if (r.target && r.target.value && r.target.value !== r.source.value) {
|
|
400
|
+
let i = String(r.target.value);
|
|
401
|
+
n.push({
|
|
402
|
+
id: r.id + "-tgt",
|
|
403
|
+
theta: r.target.midAngle,
|
|
404
|
+
w: i.length * t / e,
|
|
405
|
+
midBaseX: r.target.midBaseX,
|
|
406
|
+
midBaseY: r.target.midBaseY,
|
|
407
|
+
groupColor: r.target.groupColor,
|
|
408
|
+
value: r.target.value
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
return n;
|
|
412
|
+
}
|
|
413
|
+
function r(r) {
|
|
414
|
+
J.value.chords.filter((e) => e.source.groupId === r && e.source.value).forEach((r) => {
|
|
415
|
+
{
|
|
416
|
+
let i = String(r.source.value);
|
|
417
|
+
n.push({
|
|
418
|
+
id: r.id + "-src",
|
|
419
|
+
theta: r.source.midAngle,
|
|
420
|
+
w: i.length * t / e,
|
|
421
|
+
midBaseX: r.source.midBaseX,
|
|
422
|
+
midBaseY: r.source.midBaseY,
|
|
423
|
+
groupColor: r.source.groupColor,
|
|
424
|
+
value: r.source.value
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
if (r.target && r.target.value && r.target.value !== r.source.value) {
|
|
428
|
+
let i = String(r.target.value);
|
|
429
|
+
n.push({
|
|
430
|
+
id: r.id + "-tgt",
|
|
431
|
+
theta: r.target.midAngle,
|
|
432
|
+
w: i.length * t / e,
|
|
433
|
+
midBaseX: r.target.midBaseX,
|
|
434
|
+
midBaseY: r.target.midBaseY,
|
|
435
|
+
groupColor: r.target.groupColor,
|
|
436
|
+
value: r.target.value
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
return N.value && r(N.value), j.value && r(j.value.id), n;
|
|
442
|
+
}), dn = d(() => {
|
|
443
|
+
let e = un.value.map((e) => ({ ...e })).sort((e, t) => e.theta - t.theta), t = B.value.style.chart.ribbons.labels.minSeparationDeg * Math.PI / 180, n = !0, r = 0;
|
|
444
|
+
for (; n && r++ < 10;) {
|
|
445
|
+
n = !1;
|
|
446
|
+
for (let r = 1; r < e.length; r += 1) {
|
|
447
|
+
let i = e[r - 1], a = e[r], o = i.theta + i.w + t;
|
|
448
|
+
a.theta < o && (a.theta = o, n = !0);
|
|
449
|
+
}
|
|
450
|
+
let r = e[0], i = e[e.length - 1], a = i.theta + i.w + t - 2 * Math.PI;
|
|
451
|
+
r.theta < a && (r.theta = a, n = !0);
|
|
452
|
+
}
|
|
453
|
+
return e;
|
|
454
|
+
});
|
|
455
|
+
function fn(e, t, n, r) {
|
|
456
|
+
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);
|
|
457
|
+
return `M${o},${s} A${n},${n} 0 ${ie} 1 ${c},${ee} L${l},${te} A${r},${r} 0 ${ie} 0 ${ne},${re} Z`;
|
|
458
|
+
}
|
|
459
|
+
function pn(e, t) {
|
|
460
|
+
let n = K.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;
|
|
461
|
+
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`;
|
|
462
|
+
}
|
|
463
|
+
let mn = d(() => Y.value * Math.PI / 180);
|
|
464
|
+
function hn(e) {
|
|
465
|
+
return (e.startAngle + e.endAngle) / 2;
|
|
466
|
+
}
|
|
467
|
+
function gn(e) {
|
|
468
|
+
return ((hn(e) + mn.value) % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
|
|
469
|
+
}
|
|
470
|
+
function _n(e) {
|
|
471
|
+
let t = e + mn.value;
|
|
472
|
+
return t = (t % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI), t > Math.PI ? "end" : "start";
|
|
473
|
+
}
|
|
474
|
+
function vn(e) {
|
|
475
|
+
let t = e - Math.PI / 2;
|
|
476
|
+
return `translate(${Math.cos(t) * (K.value.outer + B.value.style.chart.arcs.labels.offset + 24)},${Math.sin(t) * (K.value.outer + B.value.style.chart.arcs.labels.offset + 24)})`;
|
|
477
|
+
}
|
|
478
|
+
function yn(e, t, n) {
|
|
479
|
+
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;
|
|
480
|
+
return `M${a},${o} A${n},${n} 0 ${+(t - e > Math.PI)} 1 ${s},${c}`;
|
|
481
|
+
}
|
|
482
|
+
let Y = S(B.value.initialRotation), bn = S(!1), xn = 0, Sn = 0;
|
|
483
|
+
function Cn(e) {
|
|
484
|
+
let t = U.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;
|
|
485
|
+
return Math.atan2(a - r, i - n);
|
|
486
|
+
}
|
|
487
|
+
function wn(e) {
|
|
488
|
+
!B.value.enableRotation || X.value || (e.preventDefault(), bn.value = !0, xn = Y.value, Sn = Cn(e));
|
|
489
|
+
}
|
|
490
|
+
function Tn(e) {
|
|
491
|
+
if (!bn.value) return;
|
|
492
|
+
let t = Cn(e);
|
|
493
|
+
Y.value = xn + (t - Sn) * 180 / Math.PI;
|
|
494
|
+
}
|
|
495
|
+
function En() {
|
|
496
|
+
bn.value = !1;
|
|
497
|
+
}
|
|
498
|
+
function Dn(e) {
|
|
499
|
+
return te(B.value.style.chart.ribbons.labels.formatter, e, t({
|
|
500
|
+
p: B.value.style.chart.ribbons.labels.prefix,
|
|
501
|
+
v: e,
|
|
502
|
+
s: B.value.style.chart.ribbons.labels.suffix,
|
|
503
|
+
r: B.value.style.chart.ribbons.labels.rounding
|
|
504
|
+
}));
|
|
505
|
+
}
|
|
506
|
+
Ne(() => {
|
|
507
|
+
window.addEventListener("mousemove", Tn), window.addEventListener("mouseup", En), window.addEventListener("touchmove", Tn, { passive: !1 }), window.addEventListener("touchend", En);
|
|
508
|
+
}), Me(() => {
|
|
509
|
+
window.removeEventListener("mousemove", Tn), window.removeEventListener("mouseup", En), window.removeEventListener("touchmove", Tn), window.removeEventListener("touchend", En), clearTimeout(an.value), I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
|
|
510
|
+
});
|
|
511
|
+
let On = S(!1);
|
|
512
|
+
function kn(e) {
|
|
513
|
+
On.value = e, kt.value += 1;
|
|
514
|
+
}
|
|
515
|
+
function An(e, t) {
|
|
516
|
+
B.value.events.datapointEnter && B.value.events.datapointEnter({
|
|
517
|
+
datapoint: e,
|
|
518
|
+
seriesIndex: t
|
|
519
|
+
}), !N.value && (j.value = e);
|
|
520
|
+
}
|
|
521
|
+
function jn(e, t) {
|
|
522
|
+
j.value = null, B.value.events.datapointLeave && B.value.events.datapointLeave({
|
|
523
|
+
datapoint: e,
|
|
524
|
+
seriesIndex: t
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
function Mn(e, t) {
|
|
528
|
+
Ot("selectGroup", e), B.value.events.datapointClick && B.value.events.datapointClick({
|
|
529
|
+
datapoint: e,
|
|
530
|
+
seriesIndex: t
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
function Nn(e, t) {
|
|
534
|
+
B.value.events.datapointEnter && B.value.events.datapointEnter({
|
|
535
|
+
datapoint: e,
|
|
536
|
+
seriesIndex: t
|
|
537
|
+
}), !N.value && (M.value = e);
|
|
538
|
+
}
|
|
539
|
+
function Pn(e, t) {
|
|
540
|
+
M.value = null, B.value.events.datapointLeave && B.value.events.datapointLeave({
|
|
541
|
+
datapoint: e,
|
|
542
|
+
seriesIndex: t
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
function Fn(e, t) {
|
|
546
|
+
Ot("selectRibbon", e), B.value.events.datapointClick && B.value.events.datapointClick({
|
|
547
|
+
datapoint: e,
|
|
548
|
+
seriesIndex: t
|
|
549
|
+
});
|
|
550
|
+
}
|
|
551
|
+
function In(e) {
|
|
552
|
+
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;
|
|
553
|
+
}
|
|
554
|
+
function Ln(e) {
|
|
555
|
+
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;
|
|
556
|
+
}
|
|
557
|
+
let X = S(!1);
|
|
558
|
+
function Rn() {
|
|
559
|
+
X.value = !X.value;
|
|
560
|
+
}
|
|
561
|
+
function zn() {
|
|
562
|
+
W.value.showTable = !W.value.showTable;
|
|
563
|
+
}
|
|
564
|
+
function Bn() {
|
|
565
|
+
return J.value;
|
|
566
|
+
}
|
|
567
|
+
let Z = S(null);
|
|
568
|
+
function Vn() {
|
|
569
|
+
let e = B.value.initialRotation;
|
|
570
|
+
Z.value !== null && cancelAnimationFrame(Z.value);
|
|
571
|
+
let t = () => {
|
|
572
|
+
Y.value += (e - Y.value) * .05, Math.abs(Y.value - e) < .1 ? (Y.value = e, Z.value = null) : Z.value = requestAnimationFrame(t);
|
|
573
|
+
};
|
|
574
|
+
Z.value = requestAnimationFrame(t);
|
|
575
|
+
}
|
|
576
|
+
Me(() => {
|
|
577
|
+
Z.value !== null && cancelAnimationFrame(Z.value);
|
|
578
|
+
});
|
|
579
|
+
function Hn(e) {
|
|
580
|
+
e === N.value ? (N.value = null, Ot("selectLegend", null)) : (N.value = e, Ot("selectLegend", J.value.groups.find((t) => t.id === e)));
|
|
581
|
+
}
|
|
582
|
+
let Un = d(() => J.value.groups.map((e, t) => ({
|
|
583
|
+
name: e.name,
|
|
584
|
+
color: e.color,
|
|
585
|
+
shape: "circle",
|
|
586
|
+
patternIndex: t,
|
|
587
|
+
pattern: `pattern_${A.value}_${t}`,
|
|
588
|
+
id: e.id,
|
|
589
|
+
select: () => Hn(e.id),
|
|
590
|
+
opacity: N.value ? N.value === e.id ? 1 : .3 : 1
|
|
591
|
+
}))), Wn = d(() => ({
|
|
592
|
+
cy: "chord-div-legend",
|
|
593
|
+
backgroundColor: B.value.style.chart.legend.backgroundColor,
|
|
594
|
+
color: B.value.style.chart.legend.color,
|
|
595
|
+
fontSize: B.value.style.chart.legend.fontSize,
|
|
596
|
+
paddingBottom: 12,
|
|
597
|
+
fontWeight: B.value.style.chart.legend.bold ? "bold" : ""
|
|
598
|
+
})), Q = d(() => ({
|
|
599
|
+
head: J.value.groups.map((e, t) => ({
|
|
600
|
+
name: e.name || t,
|
|
601
|
+
color: e.color
|
|
602
|
+
})),
|
|
603
|
+
body: q.value.matrix
|
|
604
|
+
})), Gn = d(() => {
|
|
605
|
+
let e = [{
|
|
606
|
+
name: "",
|
|
607
|
+
color: null
|
|
608
|
+
}, ...Q.value.head];
|
|
609
|
+
return {
|
|
610
|
+
colNames: e,
|
|
611
|
+
head: e,
|
|
612
|
+
body: Q.value.body.map((e, t) => [Q.value.head[t], ...Q.value.body[t]]),
|
|
613
|
+
config: {
|
|
614
|
+
th: {
|
|
615
|
+
backgroundColor: B.value.table.th.backgroundColor,
|
|
616
|
+
color: B.value.table.th.color,
|
|
617
|
+
outline: B.value.table.th.outline
|
|
618
|
+
},
|
|
619
|
+
td: {
|
|
620
|
+
backgroundColor: B.value.table.td.backgroundColor,
|
|
621
|
+
color: B.value.table.td.color,
|
|
622
|
+
outline: B.value.table.td.outline
|
|
623
|
+
},
|
|
624
|
+
breakpoint: B.value.table.responsiveBreakpoint
|
|
625
|
+
}
|
|
626
|
+
};
|
|
627
|
+
});
|
|
628
|
+
function Kn(e = null) {
|
|
629
|
+
je(() => {
|
|
630
|
+
let t = q.value.matrix.map((e, t) => [[q.value.labels[t] || t], e]), n = o([
|
|
631
|
+
[B.value.style.chart.title.text],
|
|
632
|
+
[B.value.style.chart.title.subtitle.text],
|
|
633
|
+
[[""], ...q.value.labels.map((e, t) => [e || t])]
|
|
634
|
+
].concat(t));
|
|
635
|
+
e ? e(n) : i({
|
|
636
|
+
csvContent: n,
|
|
637
|
+
title: B.value.style.chart.title.text || "vue-ui-chord"
|
|
638
|
+
});
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
async function qn({ scale: e = 2 } = {}) {
|
|
642
|
+
if (!P.value) return;
|
|
643
|
+
let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
|
|
644
|
+
domElement: P.value,
|
|
645
|
+
base64: !0,
|
|
646
|
+
img: !0,
|
|
647
|
+
scale: e
|
|
648
|
+
});
|
|
649
|
+
return {
|
|
650
|
+
imageUri: i,
|
|
651
|
+
base64: a,
|
|
652
|
+
title: B.value.style.chart.title.text,
|
|
653
|
+
width: t,
|
|
654
|
+
height: n,
|
|
655
|
+
aspectRatio: r
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
function Jn(e, n) {
|
|
659
|
+
return `${q.value.labels[n]}${B.value.style.chart.arcs.labels.showPercentage ? t({
|
|
660
|
+
p: " (",
|
|
661
|
+
v: isNaN(e.proportion) ? 0 : e.proportion * 100,
|
|
662
|
+
s: "%)",
|
|
663
|
+
r: B.value.style.chart.arcs.labels.roundingPercentage
|
|
664
|
+
}) : ""}`;
|
|
665
|
+
}
|
|
666
|
+
let Yn = d(() => {
|
|
667
|
+
let e = B.value.table.useDialog && !B.value.table.show, t = W.value.showTable;
|
|
668
|
+
return {
|
|
669
|
+
component: e ? wt : vt,
|
|
670
|
+
title: `${B.value.style.chart.title.text}${B.value.style.chart.title.subtitle.text ? `: ${B.value.style.chart.title.subtitle.text}` : ""}`,
|
|
671
|
+
props: e ? {
|
|
672
|
+
backgroundColor: B.value.table.th.backgroundColor,
|
|
673
|
+
color: B.value.table.th.color,
|
|
674
|
+
headerColor: B.value.table.th.color,
|
|
675
|
+
headerBg: B.value.table.th.backgroundColor,
|
|
676
|
+
isFullscreen: On.value,
|
|
677
|
+
fullscreenParent: P.value,
|
|
678
|
+
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
679
|
+
isCursorPointer: V.value
|
|
680
|
+
} : {
|
|
681
|
+
hideDetails: !0,
|
|
682
|
+
config: {
|
|
683
|
+
open: t,
|
|
684
|
+
maxHeight: 1e4,
|
|
685
|
+
body: {
|
|
686
|
+
backgroundColor: B.value.style.chart.backgroundColor,
|
|
687
|
+
color: B.value.style.chart.color
|
|
688
|
+
},
|
|
689
|
+
head: {
|
|
690
|
+
backgroundColor: B.value.style.chart.backgroundColor,
|
|
691
|
+
color: B.value.style.chart.color
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
};
|
|
696
|
+
});
|
|
697
|
+
Re(() => W.value.showTable, (e) => {
|
|
698
|
+
B.value.table.show || (e && B.value.table.useDialog && Rt.value ? Rt.value.open() : "close" in Rt.value && Rt.value.close());
|
|
699
|
+
});
|
|
700
|
+
function Xn() {
|
|
701
|
+
W.value.showTable = !1, zt.value && zt.value.setTableIconState(!1);
|
|
702
|
+
}
|
|
703
|
+
let Zn = d(() => B.value.style.chart.backgroundColor), Qn = d(() => B.value.style.chart.legend), { exportSvg: $n, getSvg: er } = fe({
|
|
704
|
+
svg: U,
|
|
705
|
+
title: d(() => B.value.style.chart.title),
|
|
706
|
+
legend: Qn,
|
|
707
|
+
legendItems: Un,
|
|
708
|
+
backgroundColor: Zn
|
|
709
|
+
});
|
|
710
|
+
async function tr({ isCb: e }) {
|
|
711
|
+
Vt.value = !0, await je();
|
|
712
|
+
try {
|
|
713
|
+
if (e) {
|
|
714
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await er();
|
|
715
|
+
await Promise.resolve(B.value.userOptions.callbacks.svg({
|
|
716
|
+
blob: e,
|
|
717
|
+
url: t,
|
|
718
|
+
text: n,
|
|
719
|
+
dataUrl: r
|
|
720
|
+
}));
|
|
721
|
+
} else await Promise.resolve($n());
|
|
722
|
+
} finally {
|
|
723
|
+
Vt.value = !1;
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
function nr(e) {
|
|
727
|
+
if (e?.stage === "start") {
|
|
728
|
+
Bt.value = !0;
|
|
729
|
+
return;
|
|
730
|
+
}
|
|
731
|
+
if (e?.stage === "end") {
|
|
732
|
+
Bt.value = !1;
|
|
733
|
+
return;
|
|
734
|
+
}
|
|
735
|
+
Qt();
|
|
736
|
+
}
|
|
737
|
+
async function rr() {
|
|
738
|
+
if (Ot("copyAlt", {
|
|
739
|
+
config: B.value,
|
|
740
|
+
dataset: q.value
|
|
741
|
+
}), !B.value.userOptions.callbacks.altCopy) {
|
|
742
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
743
|
+
return;
|
|
744
|
+
}
|
|
745
|
+
await Promise.resolve(B.value.userOptions.callbacks.altCopy({
|
|
746
|
+
config: B.value,
|
|
747
|
+
dataset: q.value
|
|
748
|
+
}));
|
|
749
|
+
}
|
|
750
|
+
let ir = d(() => (j.value ? J.value.chords.filter((e) => e.source.groupId === j.value.id) : N.value ? J.value.chords.filter((e) => e.source.groupId === N.value) : J.value.chords).filter((e) => e.source.value)), $ = d(() => ({
|
|
751
|
+
groups: J.value.groups.map((e, t) => ({
|
|
752
|
+
type: "group",
|
|
753
|
+
index: t,
|
|
754
|
+
item: e
|
|
755
|
+
})),
|
|
756
|
+
ribbons: ir.value.map((e, t) => ({
|
|
757
|
+
type: "ribbon",
|
|
758
|
+
index: t,
|
|
759
|
+
item: {
|
|
760
|
+
...e,
|
|
761
|
+
path: pn(e.source, e.target),
|
|
762
|
+
color: q.value.colors[e.source.index]
|
|
763
|
+
}
|
|
764
|
+
}))
|
|
765
|
+
})), ar = d(() => ({
|
|
766
|
+
headers: ["", ...Q.value.head.map((e) => e.name)],
|
|
767
|
+
rows: Q.value.body.map((e, t) => [Q.value.head[t]?.name ?? `${t}`, ...e.map((e) => Dn(e))])
|
|
768
|
+
}));
|
|
769
|
+
function or(e) {
|
|
770
|
+
let t = $.value.groups[e];
|
|
771
|
+
t && (R.value = "group", z.value = e, M.value = null, j.value = t.item);
|
|
772
|
+
}
|
|
773
|
+
function sr(e) {
|
|
774
|
+
let t = $.value.ribbons[e];
|
|
775
|
+
t && (R.value = "ribbon", z.value = e, j.value = null, M.value = t.item);
|
|
776
|
+
}
|
|
777
|
+
function cr() {
|
|
778
|
+
z.value = null, R.value = "group", j.value = null, M.value = null;
|
|
779
|
+
}
|
|
780
|
+
function lr() {
|
|
781
|
+
Ht.value = !0, R.value = "group", z.value = null;
|
|
782
|
+
}
|
|
783
|
+
function ur() {
|
|
784
|
+
Ht.value = !1, cr();
|
|
785
|
+
}
|
|
786
|
+
function dr(e) {
|
|
787
|
+
if (!U.value || X.value || document.activeElement !== U.value) return;
|
|
788
|
+
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";
|
|
789
|
+
if (!t && !n && !r && !i && !a && !o) return;
|
|
790
|
+
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
791
|
+
cr();
|
|
792
|
+
return;
|
|
793
|
+
}
|
|
794
|
+
if (r) {
|
|
795
|
+
R.value = "group", $.value.groups.length && or(z.value === null ? 0 : Math.min(z.value, $.value.groups.length - 1));
|
|
796
|
+
return;
|
|
797
|
+
}
|
|
798
|
+
if (i) {
|
|
799
|
+
if (!$.value.ribbons.length) return;
|
|
800
|
+
R.value = "ribbon", sr(z.value === null ? 0 : Math.min(z.value, $.value.ribbons.length - 1));
|
|
801
|
+
return;
|
|
802
|
+
}
|
|
803
|
+
if (a) {
|
|
804
|
+
if (R.value === "group") {
|
|
805
|
+
let e = $.value.groups[z.value];
|
|
806
|
+
e && Mn(e.item, e.index);
|
|
807
|
+
} else {
|
|
808
|
+
let e = $.value.ribbons[z.value];
|
|
809
|
+
e && Fn(e.item, e.index);
|
|
810
|
+
}
|
|
811
|
+
return;
|
|
812
|
+
}
|
|
813
|
+
let s = R.value === "group" ? $.value.groups : $.value.ribbons;
|
|
814
|
+
if (!s.length) return;
|
|
815
|
+
let c = z.value;
|
|
816
|
+
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)), R.value === "group" ? or(c) : sr(c);
|
|
817
|
+
}
|
|
818
|
+
return ve({
|
|
819
|
+
getData: Bn,
|
|
820
|
+
getImage: qn,
|
|
821
|
+
generateCsv: Kn,
|
|
822
|
+
generateImage: Qt,
|
|
823
|
+
generateSvg: tr,
|
|
824
|
+
generatePdf: Zt,
|
|
825
|
+
toggleAnnotator: Rn,
|
|
826
|
+
toggleTable: zn,
|
|
827
|
+
toggleFullscreen: kn,
|
|
828
|
+
copyAlt: rr
|
|
829
|
+
}), (e, n) => (x(), m("div", {
|
|
830
|
+
ref_key: "chordChart",
|
|
831
|
+
ref: P,
|
|
832
|
+
class: v({
|
|
833
|
+
"vue-data-ui-component": !0,
|
|
834
|
+
"vue-ui-chord": !0,
|
|
835
|
+
"vue-data-ui-wrapper-fullscreen": On.value,
|
|
836
|
+
"vue-data-ui-responsive": B.value.responsive
|
|
837
|
+
}),
|
|
838
|
+
style: b(`font-family:${B.value.style.fontFamily};width:100%; text-align:center;background:${B.value.style.chart.backgroundColor}`),
|
|
839
|
+
id: `chord_${A.value}`,
|
|
840
|
+
onMouseenter: n[2] ||= () => E(qt)(!0),
|
|
841
|
+
onMouseleave: n[3] ||= () => E(qt)(!1)
|
|
842
|
+
}, [
|
|
843
|
+
h("div", {
|
|
844
|
+
id: `chart-instructions-${A.value}`,
|
|
845
|
+
class: "sr-only"
|
|
846
|
+
}, [h("p", null, T(B.value.a11y.translations.keyboardNavigation), 1)], 8, He),
|
|
847
|
+
ar.value?.rows?.length ? (x(), f(xe, {
|
|
848
|
+
key: 0,
|
|
849
|
+
uid: A.value,
|
|
850
|
+
head: ar.value.headers,
|
|
851
|
+
body: ar.value.rows,
|
|
852
|
+
notice: B.value.a11y.translations.tableAvailable,
|
|
853
|
+
caption: B.value.a11y.translations.tableCaption
|
|
854
|
+
}, null, 8, [
|
|
855
|
+
"uid",
|
|
856
|
+
"head",
|
|
857
|
+
"body",
|
|
858
|
+
"notice",
|
|
859
|
+
"caption"
|
|
860
|
+
])) : p("", !0),
|
|
861
|
+
B.value.userOptions.buttons.annotator && E(U) ? (x(), f(E(St), {
|
|
862
|
+
key: 1,
|
|
863
|
+
color: B.value.style.chart.color,
|
|
864
|
+
backgroundColor: B.value.style.chart.backgroundColor,
|
|
865
|
+
active: X.value,
|
|
866
|
+
svgRef: E(U),
|
|
867
|
+
isCursorPointer: V.value,
|
|
868
|
+
onClose: Rn
|
|
869
|
+
}, {
|
|
870
|
+
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
871
|
+
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
872
|
+
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
|
|
873
|
+
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
|
|
874
|
+
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
|
|
875
|
+
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
|
|
876
|
+
_: 3
|
|
877
|
+
}, 8, [
|
|
878
|
+
"color",
|
|
879
|
+
"backgroundColor",
|
|
880
|
+
"active",
|
|
881
|
+
"svgRef",
|
|
882
|
+
"isCursorPointer"
|
|
883
|
+
])) : p("", !0),
|
|
884
|
+
w(e.$slots, "userConfig", {}, void 0, !0),
|
|
885
|
+
on.value ? (x(), m("div", {
|
|
886
|
+
key: 2,
|
|
887
|
+
ref_key: "noTitle",
|
|
888
|
+
ref: Nt,
|
|
889
|
+
class: "vue-data-ui-no-title-space",
|
|
890
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
891
|
+
}, null, 512)) : p("", !0),
|
|
892
|
+
B.value.style.chart.title.text ? (x(), m("div", {
|
|
893
|
+
key: 3,
|
|
894
|
+
ref_key: "chartTitle",
|
|
895
|
+
ref: At,
|
|
896
|
+
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
897
|
+
}, [(x(), f(ge, {
|
|
898
|
+
key: `title_${Pt.value}`,
|
|
899
|
+
config: {
|
|
900
|
+
title: {
|
|
901
|
+
cy: "chord-div-title",
|
|
902
|
+
...B.value.style.chart.title
|
|
903
|
+
},
|
|
904
|
+
subtitle: {
|
|
905
|
+
cy: "chord-div-subtitle",
|
|
906
|
+
...B.value.style.chart.title.subtitle
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
910
|
+
h("div", { id: `legend-top-${A.value}` }, null, 8, Ue),
|
|
911
|
+
B.value.userOptions.show && k.value && (E(Jt) || E(Kt)) ? (x(), f(E(Ct), {
|
|
912
|
+
ref_key: "userOptionsRef",
|
|
913
|
+
ref: zt,
|
|
914
|
+
key: `user_option_${kt.value}`,
|
|
915
|
+
backgroundColor: B.value.style.chart.backgroundColor,
|
|
916
|
+
color: B.value.style.chart.color,
|
|
917
|
+
isPrinting: E(Yt),
|
|
918
|
+
isImaging: E(Xt),
|
|
919
|
+
uid: A.value,
|
|
920
|
+
hasTooltip: !1,
|
|
921
|
+
hasPdf: B.value.userOptions.buttons.pdf,
|
|
922
|
+
hasImg: B.value.userOptions.buttons.img,
|
|
923
|
+
hasSvg: B.value.userOptions.buttons.svg,
|
|
924
|
+
hasXls: B.value.userOptions.buttons.csv,
|
|
925
|
+
hasTable: B.value.userOptions.buttons.table,
|
|
926
|
+
hasLabel: !1,
|
|
927
|
+
hasFullscreen: B.value.userOptions.buttons.fullscreen,
|
|
928
|
+
hasAltCopy: B.value.userOptions.buttons.altCopy,
|
|
929
|
+
isFullscreen: On.value,
|
|
930
|
+
chartElement: P.value,
|
|
931
|
+
position: B.value.userOptions.position,
|
|
932
|
+
titles: { ...B.value.userOptions.buttonTitles },
|
|
933
|
+
hasAnnotator: B.value.userOptions.buttons.annotator,
|
|
934
|
+
isAnnotation: X.value,
|
|
935
|
+
callbacks: B.value.userOptions.callbacks,
|
|
936
|
+
printScale: B.value.userOptions.print.scale,
|
|
937
|
+
tableDialog: B.value.table.useDialog,
|
|
938
|
+
isCursorPointer: V.value,
|
|
939
|
+
onToggleFullscreen: kn,
|
|
940
|
+
onGeneratePdf: E(Zt),
|
|
941
|
+
onGenerateCsv: Kn,
|
|
942
|
+
onGenerateImage: nr,
|
|
943
|
+
onGenerateSvg: tr,
|
|
944
|
+
onToggleTable: zn,
|
|
945
|
+
onToggleAnnotator: Rn,
|
|
946
|
+
onCopyAlt: rr,
|
|
947
|
+
style: b({ visibility: E(Jt) ? E(Kt) ? "visible" : "hidden" : "visible" })
|
|
948
|
+
}, De({ _: 2 }, [
|
|
949
|
+
e.$slots.menuIcon ? {
|
|
950
|
+
name: "menuIcon",
|
|
951
|
+
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
|
|
952
|
+
isOpen: t,
|
|
953
|
+
color: n
|
|
954
|
+
})), void 0, !0)]),
|
|
955
|
+
key: "0"
|
|
956
|
+
} : void 0,
|
|
957
|
+
e.$slots.optionPdf ? {
|
|
958
|
+
name: "optionPdf",
|
|
959
|
+
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
960
|
+
key: "1"
|
|
961
|
+
} : void 0,
|
|
962
|
+
e.$slots.optionCsv ? {
|
|
963
|
+
name: "optionCsv",
|
|
964
|
+
fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
965
|
+
key: "2"
|
|
966
|
+
} : void 0,
|
|
967
|
+
e.$slots.optionImg ? {
|
|
968
|
+
name: "optionImg",
|
|
969
|
+
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
970
|
+
key: "3"
|
|
971
|
+
} : void 0,
|
|
972
|
+
e.$slots.optionSvg ? {
|
|
973
|
+
name: "optionSvg",
|
|
974
|
+
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
975
|
+
key: "4"
|
|
976
|
+
} : void 0,
|
|
977
|
+
e.$slots.optionTable ? {
|
|
978
|
+
name: "optionTable",
|
|
979
|
+
fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
980
|
+
key: "5"
|
|
981
|
+
} : void 0,
|
|
982
|
+
e.$slots.optionFullscreen ? {
|
|
983
|
+
name: "optionFullscreen",
|
|
984
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
|
|
985
|
+
toggleFullscreen: t,
|
|
986
|
+
isFullscreen: n
|
|
987
|
+
})), void 0, !0)]),
|
|
988
|
+
key: "6"
|
|
989
|
+
} : void 0,
|
|
990
|
+
e.$slots.optionAnnotator ? {
|
|
991
|
+
name: "optionAnnotator",
|
|
992
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
|
|
993
|
+
toggleAnnotator: t,
|
|
994
|
+
isAnnotator: n
|
|
995
|
+
})), void 0, !0)]),
|
|
996
|
+
key: "7"
|
|
997
|
+
} : void 0,
|
|
998
|
+
e.$slots.optionAltCopy ? {
|
|
999
|
+
name: "optionAltCopy",
|
|
1000
|
+
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
|
|
1001
|
+
key: "8"
|
|
1002
|
+
} : void 0
|
|
1003
|
+
]), 1032, [
|
|
1004
|
+
"backgroundColor",
|
|
1005
|
+
"color",
|
|
1006
|
+
"isPrinting",
|
|
1007
|
+
"isImaging",
|
|
1008
|
+
"uid",
|
|
1009
|
+
"hasPdf",
|
|
1010
|
+
"hasImg",
|
|
1011
|
+
"hasSvg",
|
|
1012
|
+
"hasXls",
|
|
1013
|
+
"hasTable",
|
|
1014
|
+
"hasFullscreen",
|
|
1015
|
+
"hasAltCopy",
|
|
1016
|
+
"isFullscreen",
|
|
1017
|
+
"chartElement",
|
|
1018
|
+
"position",
|
|
1019
|
+
"titles",
|
|
1020
|
+
"hasAnnotator",
|
|
1021
|
+
"isAnnotation",
|
|
1022
|
+
"callbacks",
|
|
1023
|
+
"printScale",
|
|
1024
|
+
"tableDialog",
|
|
1025
|
+
"isCursorPointer",
|
|
1026
|
+
"onGeneratePdf",
|
|
1027
|
+
"style"
|
|
1028
|
+
])) : p("", !0),
|
|
1029
|
+
(x(), m("svg", {
|
|
1030
|
+
xmlns: E(ie),
|
|
1031
|
+
ref_key: "svgRef",
|
|
1032
|
+
ref: U,
|
|
1033
|
+
viewBox: `0 0 ${G.value.width} ${G.value.height}`,
|
|
1034
|
+
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1035
|
+
tabindex: "0",
|
|
1036
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
1037
|
+
style: { overflow: "visible" },
|
|
1038
|
+
class: v({
|
|
1039
|
+
"vue-ui-chord-rotating": bn.value,
|
|
1040
|
+
"vue-ui-chord-idle": !bn.value
|
|
1041
|
+
}),
|
|
1042
|
+
onMousedown: ze(wn, ["prevent"]),
|
|
1043
|
+
onTouchstart: ze(wn, ["prevent"]),
|
|
1044
|
+
onFocus: lr,
|
|
1045
|
+
onBlur: ur,
|
|
1046
|
+
onKeydown: dr
|
|
1047
|
+
}, [
|
|
1048
|
+
ke(E(xt)),
|
|
1049
|
+
e.$slots["chart-background"] ? (x(), m("foreignObject", {
|
|
1050
|
+
key: 0,
|
|
1051
|
+
x: 0,
|
|
1052
|
+
y: 0,
|
|
1053
|
+
width: G.value.width <= 0 ? 10 : G.value.width,
|
|
1054
|
+
height: G.value.height <= 0 ? 10 : G.value.height,
|
|
1055
|
+
style: { pointerEvents: "none" }
|
|
1056
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : p("", !0),
|
|
1057
|
+
B.value.style.chart.arcs.labels.curved ? (x(), m("defs", Ke, [(x(!0), m(u, null, C(J.value.groups, (e, t) => (x(), m("path", {
|
|
1058
|
+
key: `labelPath-${t}`,
|
|
1059
|
+
id: `labelPath-${t}_${A.value}`,
|
|
1060
|
+
d: yn(e.startAngle, e.endAngle, (K.value.inner + K.value.outer) / 2 + B.value.style.chart.arcs.labels.offset),
|
|
1061
|
+
fill: "none"
|
|
1062
|
+
}, null, 8, qe))), 128))])) : p("", !0),
|
|
1063
|
+
e.$slots.pattern ? (x(), m("g", Je, [(x(!0), m(u, null, C(J.value.groups, (t, n) => (x(), m("defs", null, [w(e.$slots, "pattern", Ae({ ref_for: !0 }, {
|
|
1064
|
+
seriesIndex: t.index,
|
|
1065
|
+
patternId: `pattern_${A.value}_${n}`
|
|
1066
|
+
}), void 0, !0)]))), 256))])) : p("", !0),
|
|
1067
|
+
h("g", { transform: `translate(${G.value.width / 2}, ${G.value.height / 2}) rotate(${Y.value})` }, [
|
|
1068
|
+
(x(!0), m(u, null, C(J.value.groups, (t, n) => (x(), m("g", null, [(x(), m("path", {
|
|
1069
|
+
class: v({
|
|
1070
|
+
"vue-ui-chord-arc": !0,
|
|
1071
|
+
"vue-ui-chord-arc-animated": B.value.useCssAnimation && !F.value
|
|
1072
|
+
}),
|
|
1073
|
+
key: `arc-${n}`,
|
|
1074
|
+
d: fn(t.startAngle, t.endAngle, K.value.outer, K.value.inner),
|
|
1075
|
+
fill: q.value.colors[n],
|
|
1076
|
+
stroke: B.value.style.chart.arcs.stroke,
|
|
1077
|
+
"stroke-width": B.value.style.chart.arcs.strokeWidth,
|
|
1078
|
+
"stroke-linecap": "round",
|
|
1079
|
+
"stroke-linejoin": "round",
|
|
1080
|
+
style: b({ opacity: Ln(t) }),
|
|
1081
|
+
onMouseenter: (e) => An(t, n),
|
|
1082
|
+
onMouseleave: (e) => jn(t, n),
|
|
1083
|
+
onClick: (e) => Mn(t, n)
|
|
1084
|
+
}, null, 46, Xe)), e.$slots.pattern ? (x(), m("path", {
|
|
1085
|
+
class: v({
|
|
1086
|
+
"vue-ui-chord-arc": !0,
|
|
1087
|
+
"vue-ui-chord-arc-animated": B.value.useCssAnimation && !F.value
|
|
1088
|
+
}),
|
|
1089
|
+
key: `arc-${n}`,
|
|
1090
|
+
d: fn(t.startAngle, t.endAngle, K.value.outer, K.value.inner),
|
|
1091
|
+
fill: `url(#${t.pattern})`,
|
|
1092
|
+
stroke: B.value.style.chart.arcs.stroke,
|
|
1093
|
+
"stroke-width": B.value.style.chart.arcs.strokeWidth,
|
|
1094
|
+
"stroke-linecap": "round",
|
|
1095
|
+
"stroke-linejoin": "round",
|
|
1096
|
+
style: b({
|
|
1097
|
+
opacity: Ln(t),
|
|
1098
|
+
pointerEvents: "none"
|
|
1099
|
+
})
|
|
1100
|
+
}, null, 14, Ze)) : p("", !0)]))), 256)),
|
|
1101
|
+
h("g", null, [
|
|
1102
|
+
(x(!0), m(u, null, C(j.value ? J.value.chords.filter((e) => e.source.groupId === j.value.id) : N.value ? J.value.chords.filter((e) => e.source.groupId === N.value) : J.value.chords, (t, n) => (x(), m(u, { key: `ribbon-${t.id}` }, [
|
|
1103
|
+
t.source.value ? (x(), m("path", {
|
|
1104
|
+
key: 0,
|
|
1105
|
+
class: v({
|
|
1106
|
+
"vue-ui-chord-ribbon": !0,
|
|
1107
|
+
"vue-ui-chord-ribbon-animated": B.value.useCssAnimation && !F.value
|
|
1108
|
+
}),
|
|
1109
|
+
d: pn(t.source, t.target),
|
|
1110
|
+
fill: B.value.style.chart.backgroundColor,
|
|
1111
|
+
style: b({ opacity: B.value.style.chart.ribbons.underlayerOpacity })
|
|
1112
|
+
}, null, 14, Qe)) : p("", !0),
|
|
1113
|
+
t.source.value ? (x(), m("path", {
|
|
1114
|
+
key: 1,
|
|
1115
|
+
class: v({
|
|
1116
|
+
"vue-ui-chord-ribbon": !0,
|
|
1117
|
+
"vue-ui-chord-ribbon-animated": B.value.useCssAnimation && !F.value
|
|
1118
|
+
}),
|
|
1119
|
+
d: pn(t.source, t.target),
|
|
1120
|
+
fill: q.value.colors[t.source.index],
|
|
1121
|
+
stroke: B.value.style.chart.ribbons.stroke,
|
|
1122
|
+
"stroke-width": B.value.style.chart.ribbons.strokeWidth,
|
|
1123
|
+
"stroke-linecap": "round",
|
|
1124
|
+
"stroke-linejoin": "round",
|
|
1125
|
+
style: b({ opacity: In(t) }),
|
|
1126
|
+
onMouseenter: (e) => Nn({
|
|
1127
|
+
...t,
|
|
1128
|
+
path: pn(t.source, t.target),
|
|
1129
|
+
color: q.value.colors[t.source.index]
|
|
1130
|
+
}, n),
|
|
1131
|
+
onClick: (e) => Fn({
|
|
1132
|
+
...t,
|
|
1133
|
+
color: q.value.colors[t.source.index]
|
|
1134
|
+
}, n),
|
|
1135
|
+
onMouseleave: (e) => Pn({
|
|
1136
|
+
...t,
|
|
1137
|
+
color: q.value.colors[t.source.index]
|
|
1138
|
+
}, n)
|
|
1139
|
+
}, null, 46, $e)) : p("", !0),
|
|
1140
|
+
t.source.value && e.$slots.pattern ? (x(), m("path", {
|
|
1141
|
+
key: 2,
|
|
1142
|
+
class: v({
|
|
1143
|
+
"vue-ui-chord-ribbon": !0,
|
|
1144
|
+
"vue-ui-chord-ribbon-animated": B.value.useCssAnimation && !F.value
|
|
1145
|
+
}),
|
|
1146
|
+
d: pn(t.source, t.target),
|
|
1147
|
+
fill: `url(#pattern_${A.value}_${t.source.index})`,
|
|
1148
|
+
stroke: B.value.style.chart.ribbons.stroke,
|
|
1149
|
+
"stroke-width": B.value.style.chart.ribbons.strokeWidth,
|
|
1150
|
+
"stroke-linecap": "round",
|
|
1151
|
+
"stroke-linejoin": "round",
|
|
1152
|
+
style: b({
|
|
1153
|
+
opacity: In(t),
|
|
1154
|
+
pointerEvents: "none"
|
|
1155
|
+
})
|
|
1156
|
+
}, null, 14, et)) : p("", !0)
|
|
1157
|
+
], 64))), 128)),
|
|
1158
|
+
M.value ? (x(), m("path", {
|
|
1159
|
+
key: 0,
|
|
1160
|
+
d: M.value.path,
|
|
1161
|
+
fill: M.value.color,
|
|
1162
|
+
stroke: B.value.style.chart.ribbons.stroke,
|
|
1163
|
+
"stroke-width": B.value.style.chart.ribbons.strokeWidth,
|
|
1164
|
+
"stroke-linecap": "round",
|
|
1165
|
+
"stroke-linejoin": "round",
|
|
1166
|
+
class: v({ "vue-ui-chord-ribbon": !0 }),
|
|
1167
|
+
style: { pointerEvents: "none" }
|
|
1168
|
+
}, null, 8, tt)) : p("", !0),
|
|
1169
|
+
M.value && e.$slots.pattern ? (x(), m("path", {
|
|
1170
|
+
key: 1,
|
|
1171
|
+
d: M.value.path,
|
|
1172
|
+
fill: `url(#${M.value.source.pattern})`,
|
|
1173
|
+
stroke: B.value.style.chart.ribbons.stroke,
|
|
1174
|
+
"stroke-width": B.value.style.chart.ribbons.strokeWidth,
|
|
1175
|
+
"stroke-linecap": "round",
|
|
1176
|
+
"stroke-linejoin": "round",
|
|
1177
|
+
class: v({ "vue-ui-chord-ribbon": !0 }),
|
|
1178
|
+
style: { pointerEvents: "none" }
|
|
1179
|
+
}, null, 8, nt)) : p("", !0)
|
|
1180
|
+
]),
|
|
1181
|
+
(j.value || M.value || N.value) && B.value.style.chart.ribbons.labels.show ? (x(), m("g", rt, [(x(!0), m(u, null, C(dn.value, (e) => (x(), m(u, { key: e.id }, [
|
|
1182
|
+
h("line", {
|
|
1183
|
+
x1: e.midBaseX,
|
|
1184
|
+
y1: e.midBaseY,
|
|
1185
|
+
x2: Math.cos(e.theta - Math.PI / 2) * (K.value.outer + B.value.style.chart.ribbons.labels.offset + 12),
|
|
1186
|
+
y2: Math.sin(e.theta - Math.PI / 2) * (K.value.outer + B.value.style.chart.ribbons.labels.offset + 12),
|
|
1187
|
+
stroke: B.value.style.chart.backgroundColor,
|
|
1188
|
+
"stroke-width": B.value.style.chart.ribbons.labels.connector.strokeWidth * 3,
|
|
1189
|
+
"pointer-events": "none"
|
|
1190
|
+
}, null, 8, it),
|
|
1191
|
+
h("line", {
|
|
1192
|
+
x1: e.midBaseX,
|
|
1193
|
+
y1: e.midBaseY,
|
|
1194
|
+
x2: Math.cos(e.theta - Math.PI / 2) * (K.value.outer + B.value.style.chart.ribbons.labels.offset + 12),
|
|
1195
|
+
y2: Math.sin(e.theta - Math.PI / 2) * (K.value.outer + B.value.style.chart.ribbons.labels.offset + 12),
|
|
1196
|
+
stroke: B.value.style.chart.ribbons.labels.connector.stroke,
|
|
1197
|
+
"stroke-width": B.value.style.chart.ribbons.labels.connector.strokeWidth,
|
|
1198
|
+
"pointer-events": "none"
|
|
1199
|
+
}, null, 8, at),
|
|
1200
|
+
B.value.style.chart.ribbons.labels.marker.show ? (x(), m("circle", {
|
|
1201
|
+
key: 0,
|
|
1202
|
+
cx: Math.cos(e.theta - Math.PI / 2) * (K.value.outer + B.value.style.chart.ribbons.labels.offset + 12),
|
|
1203
|
+
cy: Math.sin(e.theta - Math.PI / 2) * (K.value.outer + B.value.style.chart.ribbons.labels.offset + 12),
|
|
1204
|
+
r: B.value.style.chart.ribbons.labels.marker.radius,
|
|
1205
|
+
stroke: B.value.style.chart.ribbons.labels.marker.stroke,
|
|
1206
|
+
"stroke-width": B.value.style.chart.ribbons.labels.marker.strokeWidth,
|
|
1207
|
+
fill: e.groupColor,
|
|
1208
|
+
"pointer-events": "none"
|
|
1209
|
+
}, null, 8, ot)) : p("", !0),
|
|
1210
|
+
h("text", {
|
|
1211
|
+
transform: `
|
|
1212
|
+
translate(
|
|
1213
|
+
${Math.cos(e.theta - Math.PI / 2) * (K.value.outer + B.value.style.chart.ribbons.labels.offset + 24)},
|
|
1214
|
+
${Math.sin(e.theta - Math.PI / 2) * (K.value.outer + B.value.style.chart.ribbons.labels.offset + 24)}
|
|
1215
|
+
) rotate(${-Y.value})
|
|
1216
|
+
`,
|
|
1217
|
+
fill: B.value.style.chart.ribbons.labels.useSerieColor ? e.groupColor : B.value.style.chart.ribbons.labels.color,
|
|
1218
|
+
"text-anchor": _n(e.theta),
|
|
1219
|
+
"font-size": B.value.style.chart.ribbons.labels.fontSize,
|
|
1220
|
+
"font-weight": B.value.style.chart.ribbons.labels.bold ? "bold" : "normal",
|
|
1221
|
+
dy: ".35em",
|
|
1222
|
+
"pointer-events": "none"
|
|
1223
|
+
}, T(Dn(e.value)), 9, st)
|
|
1224
|
+
], 64))), 128))])) : p("", !0),
|
|
1225
|
+
B.value.style.chart.arcs.labels.show ? (x(), m("g", ct, [B.value.style.chart.arcs.labels.curved ? (x(!0), m(u, { key: 0 }, C(J.value.groups, (e, n) => (x(), m("text", {
|
|
1226
|
+
class: "vue-ui-chord-label-curved",
|
|
1227
|
+
key: `curved-label-${n}`,
|
|
1228
|
+
"font-size": B.value.style.chart.arcs.labels.fontSize,
|
|
1229
|
+
"font-weight": B.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
1230
|
+
fill: B.value.style.chart.arcs.labels.adaptColorToBackground ? E(re)(q.value.colors[n]) : B.value.style.chart.arcs.labels.color
|
|
1231
|
+
}, [h("textPath", {
|
|
1232
|
+
href: `#labelPath-${n}_${A.value}`,
|
|
1233
|
+
startOffset: "50%",
|
|
1234
|
+
"text-anchor": "middle"
|
|
1235
|
+
}, T(q.value.labels[n]) + T(B.value.style.chart.arcs.labels.showPercentage ? E(t)({
|
|
1236
|
+
p: " (",
|
|
1237
|
+
v: isNaN(e.proportion) ? 0 : e.proportion * 100,
|
|
1238
|
+
s: "%)",
|
|
1239
|
+
r: B.value.style.chart.arcs.labels.roundingPercentage
|
|
1240
|
+
}) : ""), 9, ut)], 8, lt))), 128)) : !j.value && !M.value && !N.value ? (x(!0), m(u, { key: 1 }, C(J.value.groups, (e, t) => (x(), m("text", {
|
|
1241
|
+
class: "vue-ui-chord-label-straight",
|
|
1242
|
+
key: `label-${t}`,
|
|
1243
|
+
transform: `
|
|
1244
|
+
${vn((e.startAngle + e.endAngle) / 2)}
|
|
1245
|
+
rotate(${-Y.value})
|
|
1246
|
+
`,
|
|
1247
|
+
dy: ".35em",
|
|
1248
|
+
"text-anchor": gn(e) > Math.PI ? "end" : "start",
|
|
1249
|
+
"font-size": B.value.style.chart.arcs.labels.fontSize,
|
|
1250
|
+
"font-weight": B.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
1251
|
+
fill: B.value.style.chart.arcs.labels.color,
|
|
1252
|
+
innerHTML: E(ee)({
|
|
1253
|
+
content: E(r)(Jn(e, t)),
|
|
1254
|
+
fontSize: B.value.style.chart.arcs.labels.fontSize,
|
|
1255
|
+
fill: B.value.style.chart.arcs.labels.color,
|
|
1256
|
+
x: 0,
|
|
1257
|
+
y: 0
|
|
1258
|
+
})
|
|
1259
|
+
}, null, 8, dt))), 128)) : p("", !0)])) : p("", !0)
|
|
1260
|
+
], 8, Ye),
|
|
1261
|
+
w(e.$slots, "svg", { svg: {
|
|
1262
|
+
height: 600,
|
|
1263
|
+
width: 600,
|
|
1264
|
+
isPrintingImg: E(Yt) || E(Xt) || Bt.value,
|
|
1265
|
+
isPrintingSvg: Vt.value
|
|
1266
|
+
} }, void 0, !0)
|
|
1267
|
+
], 42, We)),
|
|
1268
|
+
e.$slots.hint ? (x(), m("div", ft, [w(e.$slots, "hint", y(_({
|
|
1269
|
+
hint: B.value.a11y.translations.keyboardNavigation,
|
|
1270
|
+
isVisible: Ht.value
|
|
1271
|
+
})), void 0, !0)])) : p("", !0),
|
|
1272
|
+
e.$slots.watermark ? (x(), m("div", pt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Yt) || E(Xt) || Bt.value || Vt.value })), void 0, !0)])) : p("", !0),
|
|
1273
|
+
h("div", { id: `legend-bottom-${A.value}` }, null, 8, mt),
|
|
1274
|
+
Lt.value && (B.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Ee, {
|
|
1275
|
+
key: 7,
|
|
1276
|
+
to: B.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
1277
|
+
}, [h("div", {
|
|
1278
|
+
ref_key: "chartLegend",
|
|
1279
|
+
ref: jt
|
|
1280
|
+
}, [w(e.$slots, "legend", { legend: Un.value }, () => [B.value.style.chart.legend.show ? (x(), f(we, {
|
|
1281
|
+
key: `legend_${It.value}`,
|
|
1282
|
+
legendSet: Un.value,
|
|
1283
|
+
config: Wn.value,
|
|
1284
|
+
isCursorPointer: V.value,
|
|
1285
|
+
onClickMarker: n[0] ||= ({ legend: e }) => Hn(e.id)
|
|
1286
|
+
}, De({
|
|
1287
|
+
item: D(({ legend: e }) => [h("div", {
|
|
1288
|
+
style: b({ opacity: N.value ? N.value === e.id ? 1 : .3 : 1 }),
|
|
1289
|
+
onClick: (t) => e.select()
|
|
1290
|
+
}, T(e.name), 13, ht)]),
|
|
1291
|
+
_: 2
|
|
1292
|
+
}, [e.$slots.pattern ? {
|
|
1293
|
+
name: "legend-pattern",
|
|
1294
|
+
fn: D(({ legend: e, index: t }) => [ke(_e, {
|
|
1295
|
+
shape: e.shape,
|
|
1296
|
+
radius: 30,
|
|
1297
|
+
stroke: "none",
|
|
1298
|
+
plot: {
|
|
1299
|
+
x: 30,
|
|
1300
|
+
y: 30
|
|
1301
|
+
},
|
|
1302
|
+
fill: `url(#pattern_${A.value}_${t})`
|
|
1303
|
+
}, null, 8, ["shape", "fill"])]),
|
|
1304
|
+
key: "0"
|
|
1305
|
+
} : void 0]), 1032, [
|
|
1306
|
+
"legendSet",
|
|
1307
|
+
"config",
|
|
1308
|
+
"isCursorPointer"
|
|
1309
|
+
])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
|
|
1310
|
+
e.$slots.source ? (x(), m("div", {
|
|
1311
|
+
key: 8,
|
|
1312
|
+
ref_key: "source",
|
|
1313
|
+
ref: Mt,
|
|
1314
|
+
dir: "auto"
|
|
1315
|
+
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1316
|
+
Y.value === B.value.initialRotation ? p("", !0) : (x(), m("div", gt, [w(e.$slots, "reset-action", { reset: Vn }, () => [h("button", {
|
|
1317
|
+
"data-cy-reset": "",
|
|
1318
|
+
tabindex: "0",
|
|
1319
|
+
role: "button",
|
|
1320
|
+
class: "vue-data-ui-refresh-button",
|
|
1321
|
+
style: b({
|
|
1322
|
+
background: B.value.style.chart.backgroundColor,
|
|
1323
|
+
cursor: V.value ? "pointer" : "default"
|
|
1324
|
+
}),
|
|
1325
|
+
onClick: Vn
|
|
1326
|
+
}, [ke(E(yt), {
|
|
1327
|
+
name: "refresh",
|
|
1328
|
+
stroke: B.value.style.chart.color
|
|
1329
|
+
}, null, 8, ["stroke"])], 4)], !0)])),
|
|
1330
|
+
k.value && B.value.userOptions.buttons.table ? (x(), f(Pe(Yn.value.component), Ae({ key: 10 }, Yn.value.props, {
|
|
1331
|
+
ref_key: "tableUnit",
|
|
1332
|
+
ref: Rt,
|
|
1333
|
+
onClose: Xn
|
|
1334
|
+
}), De({
|
|
1335
|
+
content: D(() => [(x(), f(E(bt), {
|
|
1336
|
+
key: `table_${Ft.value}`,
|
|
1337
|
+
colNames: Gn.value.colNames,
|
|
1338
|
+
head: Gn.value.head,
|
|
1339
|
+
body: Gn.value.body,
|
|
1340
|
+
config: Gn.value.config,
|
|
1341
|
+
title: B.value.table.useDialog ? "" : Yn.value.title,
|
|
1342
|
+
withCloseButton: !B.value.table.useDialog,
|
|
1343
|
+
isCursorPointer: V.value,
|
|
1344
|
+
onClose: Xn
|
|
1345
|
+
}, {
|
|
1346
|
+
th: D(({ th: e }) => [Oe(T(e.name), 1)]),
|
|
1347
|
+
td: D(({ td: e }) => [h("div", _t, T(e.name ? e.name : Dn(e)), 1)]),
|
|
1348
|
+
_: 1
|
|
1349
|
+
}, 8, [
|
|
1350
|
+
"colNames",
|
|
1351
|
+
"head",
|
|
1352
|
+
"body",
|
|
1353
|
+
"config",
|
|
1354
|
+
"title",
|
|
1355
|
+
"withCloseButton",
|
|
1356
|
+
"isCursorPointer"
|
|
1357
|
+
]))]),
|
|
1358
|
+
_: 2
|
|
1359
|
+
}, [B.value.table.useDialog ? {
|
|
1360
|
+
name: "title",
|
|
1361
|
+
fn: D(() => [Oe(T(Yn.value.title), 1)]),
|
|
1362
|
+
key: "0"
|
|
1363
|
+
} : void 0, B.value.table.useDialog ? {
|
|
1364
|
+
name: "actions",
|
|
1365
|
+
fn: D(() => [h("button", {
|
|
1366
|
+
tabindex: "0",
|
|
1367
|
+
class: "vue-ui-user-options-button",
|
|
1368
|
+
onClick: n[1] ||= (e) => Kn(B.value.userOptions.callbacks.csv),
|
|
1369
|
+
style: b({ cursor: V.value ? "pointer" : "default" })
|
|
1370
|
+
}, [ke(E(yt), {
|
|
1371
|
+
name: "fileCsv",
|
|
1372
|
+
stroke: Yn.value.props.color
|
|
1373
|
+
}, null, 8, ["stroke"])], 4)]),
|
|
1374
|
+
key: "1"
|
|
1375
|
+
} : void 0]), 1040)) : p("", !0),
|
|
1376
|
+
w(e.$slots, "skeleton", {}, () => [E(Wt) ? (x(), f(de, { key: 0 })) : p("", !0)], !0)
|
|
1377
|
+
], 46, Ve));
|
|
1378
|
+
}
|
|
1379
|
+
}, [["__scopeId", "data-v-68e75dcd"]]);
|
|
1380
|
+
//#endregion
|
|
1381
|
+
export { Be as n, vt as t };
|