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
|
@@ -1,856 +0,0 @@
|
|
|
1
|
-
import { useCssVars as St, defineAsyncComponent as ue, computed as g, ref as c, toRefs as It, watch as re, shallowRef as Re, onMounted as Mt, onBeforeUnmount as Et, openBlock as o, createElementBlock as i, unref as u, normalizeStyle as R, createElementVNode as J, toDisplayString as V, createBlock as G, createCommentVNode as h, withCtx as p, renderSlot as d, normalizeProps as w, guardReactiveProps as x, createSlots as Tt, normalizeClass as ce, createVNode as Ft, Fragment as S, renderList as N, mergeProps as Ne, createTextVNode as De, nextTick as Bt } from "vue";
|
|
2
|
-
import { j as Rt, t as je, m as Nt, p as Ue, n as Dt, o as Ve, q as Ge, r as jt, X as Ut, W as We, k as ve, l as de, a2 as fe } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { t as Vt, u as Gt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Wt } from "./useConfig-CG4HT3wS.js";
|
|
5
|
-
import { u as Kt, B as Xt } from "./BaseScanner-C2j3TsSY.js";
|
|
6
|
-
import { u as Yt } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
-
import { u as qt } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
-
import { u as ye } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
-
import { u as Ht } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
-
import { u as Jt } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
-
import { u as Qt } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
-
import { u as Zt } from "./useAutoSizeLabelsInsideViewbox-izlGDfwu.js";
|
|
13
|
-
import el from "./img-CjTQXS0U.js";
|
|
14
|
-
import tl from "./Title-BbKoiBk2.js";
|
|
15
|
-
import ll from "./vue_ui_relation_circle-CCroen7h.js";
|
|
16
|
-
import { A as al } from "./A11yDataTable-BpmuNomI.js";
|
|
17
|
-
import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
const nl = ["id"], ol = ["id"], il = { style: { position: "relative" } }, ul = ["xmlns", "viewBox", "aria-describedby"], rl = ["width", "height"], cl = ["cx", "cy", "r", "stroke", "stroke-width"], vl = { key: 1 }, dl = ["stroke", "d", "stroke-width"], fl = { style: { "pointer-events": "none" } }, yl = ["cx", "cy", "fill", "r", "stroke"], gl = ["x", "y", "fill", "font-size"], hl = { key: 2 }, ml = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], pl = { style: { "pointer-events": "none" } }, bl = ["cx", "cy", "fill", "r", "stroke"], kl = ["x", "y", "fill", "font-size"], wl = ["text-anchor", "transform", "x", "y", "font-weight", "font-size", "fill", "text-decoration", "onClick", "onMouseenter", "onMouseleave"], xl = ["cx", "cy", "fill", "stroke", "r", "onClick", "onMouseenter", "onMouseleave"], Cl = {
|
|
19
|
-
key: 0,
|
|
20
|
-
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
21
|
-
"data-dom-to-png-ignore": "",
|
|
22
|
-
"aria-hidden": "true"
|
|
23
|
-
}, $l = {
|
|
24
|
-
key: 5,
|
|
25
|
-
class: "vue-data-ui-watermark"
|
|
26
|
-
}, Al = {
|
|
27
|
-
__name: "vue-ui-relation-circle",
|
|
28
|
-
props: {
|
|
29
|
-
dataset: {
|
|
30
|
-
type: Array,
|
|
31
|
-
default() {
|
|
32
|
-
return [];
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
config: {
|
|
36
|
-
type: Object,
|
|
37
|
-
default() {
|
|
38
|
-
return {};
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
emits: ["copyAlt"],
|
|
43
|
-
setup(Ke, { expose: Xe, emit: Ye }) {
|
|
44
|
-
St((e) => ({
|
|
45
|
-
v0bd012f5: rt.value,
|
|
46
|
-
b9cbbb58: ut.value,
|
|
47
|
-
v6b1d3b36: ct.value
|
|
48
|
-
}));
|
|
49
|
-
const qe = ue(
|
|
50
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
51
|
-
), He = ue(
|
|
52
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
53
|
-
), Je = ue(
|
|
54
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
55
|
-
), { vue_ui_relation_circle: Qe } = Wt(), { isThemeValid: Ze, warnInvalidTheme: et } = Ht(), b = Ke, tt = Ye, lt = g(() => !!b.dataset && Object.keys(b.dataset).length), P = c(Rt()), ge = c(0), I = c(null), he = c(null), me = c(null), pe = c(null), be = c(0), W = c(!1), K = c(!1), m = c(null), X = c(!1), l = c(ee()), Y = g(
|
|
56
|
-
() => l.value.userOptions.useCursorPointer
|
|
57
|
-
), at = g(() => je({
|
|
58
|
-
defaultConfig: {
|
|
59
|
-
userOptions: { show: !1 },
|
|
60
|
-
customPalette: new Array(7).fill("#CACACA"),
|
|
61
|
-
style: {
|
|
62
|
-
backgroundColor: "#99999930",
|
|
63
|
-
labels: { color: "#6A6A6A" },
|
|
64
|
-
circle: { stroke: "#6A6A6A" },
|
|
65
|
-
plot: { color: "#6A6A6A", useSerieColor: !0 },
|
|
66
|
-
links: { maxWidth: 2 }
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
userConfig: l.value.skeletonConfig ?? {}
|
|
70
|
-
})), { loading: ke, FINAL_DATASET: st, manualLoading: Q } = Kt({
|
|
71
|
-
...It(b),
|
|
72
|
-
FINAL_CONFIG: l,
|
|
73
|
-
prepareConfig: ee,
|
|
74
|
-
skeletonDataset: b.config?.skeletonDataset ?? [
|
|
75
|
-
{ id: "A", label: "_", relations: ["B", "C", "D", "E", "F", "G"] },
|
|
76
|
-
{ id: "B", label: "_", relations: ["A"] },
|
|
77
|
-
{ id: "C", label: "_", relations: ["A"] },
|
|
78
|
-
{ id: "D", label: "_", relations: ["A"] },
|
|
79
|
-
{ id: "E", label: "_", relations: ["A"] },
|
|
80
|
-
{ id: "F", label: "_", relations: ["A"] },
|
|
81
|
-
{ id: "G", label: "_", relations: ["A"] }
|
|
82
|
-
],
|
|
83
|
-
skeletonConfig: je({
|
|
84
|
-
defaultConfig: l.value,
|
|
85
|
-
userConfig: at.value
|
|
86
|
-
})
|
|
87
|
-
}), { userOptionsVisible: Z, setUserOptionsVisibility: we, keepUserOptionState: xe } = Jt({ config: l.value }), { svgRef: T } = Qt({
|
|
88
|
-
config: l.value.style.title
|
|
89
|
-
});
|
|
90
|
-
function ee() {
|
|
91
|
-
const e = ye({
|
|
92
|
-
userConfig: b.config,
|
|
93
|
-
defaultConfig: Qe
|
|
94
|
-
}), a = e.theme;
|
|
95
|
-
if (!a) return e;
|
|
96
|
-
if (!Ze.value(e))
|
|
97
|
-
return et(e), e;
|
|
98
|
-
const t = ye({
|
|
99
|
-
userConfig: ll[a] || b.config,
|
|
100
|
-
defaultConfig: e
|
|
101
|
-
}), s = ye({
|
|
102
|
-
userConfig: b.config,
|
|
103
|
-
defaultConfig: t
|
|
104
|
-
});
|
|
105
|
-
return {
|
|
106
|
-
...s,
|
|
107
|
-
customPalette: s.customPalette.length ? s.customPalette : Nt[a] || Ue
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
re(
|
|
111
|
-
() => b.config,
|
|
112
|
-
(e) => {
|
|
113
|
-
l.value = ee(), Z.value = !l.value.userOptions.showOnChartHover, M.value = l.value.style.size, k.value = l.value.style.weightLabels.size, q.value = l.value.style.plot.radius, D.value = l.value.style.labels.fontSize, v.value.height = l.value.style.size, v.value.width = l.value.style.size, Le(), be.value += 1;
|
|
114
|
-
},
|
|
115
|
-
{ deep: !0 }
|
|
116
|
-
), re(
|
|
117
|
-
() => b.dataset,
|
|
118
|
-
(e) => {
|
|
119
|
-
Array.isArray(e) && e.length > 0 && (Q.value = !1);
|
|
120
|
-
},
|
|
121
|
-
{ deep: !0 }
|
|
122
|
-
);
|
|
123
|
-
const { isPrinting: te, isImaging: le, generatePdf: Ce, generateImage: $e } = Yt({
|
|
124
|
-
elementId: `relation_circle_${P.value}`,
|
|
125
|
-
fileName: l.value.style.title.text || "vue-ui-relation-circle",
|
|
126
|
-
options: l.value.userOptions.print
|
|
127
|
-
}), nt = g(() => l.value.userOptions.show && !l.value.style.title.text), Ae = g(() => Dt(l.value.customPalette)), y = c([]), C = c([]), f = c({}), $ = c([]), ot = c(0), L = g(() => st.value.slice(0, l.value.style.limit).map((e) => {
|
|
128
|
-
const a = Array.isArray(e.relations) ? e.relations : [];
|
|
129
|
-
return {
|
|
130
|
-
...e,
|
|
131
|
-
weights: Array.isArray(e.weights) ? e.weights : new Array(a.length).fill(1),
|
|
132
|
-
relations: a
|
|
133
|
-
};
|
|
134
|
-
}));
|
|
135
|
-
re(L, () => {
|
|
136
|
-
y.value = [], C.value = [], ae(), se();
|
|
137
|
-
});
|
|
138
|
-
const M = c(l.value.style.size), k = c(l.value.style.weightLabels.size), q = c(l.value.style.plot.radius), D = c(l.value.style.labels.fontSize), v = c({
|
|
139
|
-
height: l.value.style.size,
|
|
140
|
-
width: l.value.style.size
|
|
141
|
-
}), E = g({
|
|
142
|
-
get() {
|
|
143
|
-
return M.value * l.value.style.circle.radiusProportion;
|
|
144
|
-
},
|
|
145
|
-
set(e) {
|
|
146
|
-
return e;
|
|
147
|
-
}
|
|
148
|
-
}), it = g(() => l.value.style.links.curved), ut = g(() => `${l.value.style.animation.speedMs}ms`), rt = g(() => E.value * 2), ct = g(() => E.value * 4), _ = Re(null), F = Re(null);
|
|
149
|
-
Mt(() => {
|
|
150
|
-
Le(), document.getElementById(`relation_circle_${P.value}`).addEventListener("click", Oe);
|
|
151
|
-
});
|
|
152
|
-
const Pe = g(() => l.value.debug);
|
|
153
|
-
function Le() {
|
|
154
|
-
if (Ve(b.dataset) ? (Ge({
|
|
155
|
-
componentName: "VueUiRelationCircle",
|
|
156
|
-
type: "dataset",
|
|
157
|
-
debug: Pe.value
|
|
158
|
-
}), Q.value = !0) : b.dataset.forEach((e, a) => {
|
|
159
|
-
jt({
|
|
160
|
-
datasetObject: e,
|
|
161
|
-
requiredAttributes: ["id", "label", "relations", "weights"]
|
|
162
|
-
}).forEach((t) => {
|
|
163
|
-
Ge({
|
|
164
|
-
componentName: "VueUiRelationCircle",
|
|
165
|
-
type: "datasetSerieAttribute",
|
|
166
|
-
property: t,
|
|
167
|
-
index: a,
|
|
168
|
-
debug: Pe.value
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
}), Ve(b.dataset) || (Q.value = l.value.loading), l.value.responsive) {
|
|
172
|
-
const e = Vt(() => {
|
|
173
|
-
const { width: a, height: t } = Gt({
|
|
174
|
-
chart: I.value,
|
|
175
|
-
title: l.value.style.title.text ? he.value : null,
|
|
176
|
-
source: me.value,
|
|
177
|
-
noTitle: pe.value
|
|
178
|
-
});
|
|
179
|
-
requestAnimationFrame(() => {
|
|
180
|
-
M.value = Math.min(a, t), v.value.width = Math.max(0.1, a), v.value.height = Math.max(0.1, t - 12), E.value = M.value * l.value.style.circle.radiusProportion, y.value = [], C.value = [], ae(), se(), _e(), l.value.responsiveProportionalSizing ? (k.value = fe({
|
|
181
|
-
relator: M.value,
|
|
182
|
-
adjuster: l.value.style.size,
|
|
183
|
-
source: l.value.style.weightLabels.size,
|
|
184
|
-
threshold: 6,
|
|
185
|
-
fallback: 6
|
|
186
|
-
}), q.value = fe({
|
|
187
|
-
relator: M.value,
|
|
188
|
-
adjuster: l.value.style.size,
|
|
189
|
-
source: l.value.style.plot.radius,
|
|
190
|
-
threshold: 1,
|
|
191
|
-
fallback: 1
|
|
192
|
-
}), D.value = fe({
|
|
193
|
-
relator: M.value,
|
|
194
|
-
adjuster: l.value.style.size,
|
|
195
|
-
source: l.value.style.labels.fontSize,
|
|
196
|
-
threshold: 6,
|
|
197
|
-
fallback: 6
|
|
198
|
-
})) : (k.value = l.value.style.weightLabels.size, q.value = l.value.style.plot.radius, D.value = l.value.style.labels.fontSize);
|
|
199
|
-
});
|
|
200
|
-
});
|
|
201
|
-
_.value && (F.value && _.value.unobserve(F.value), _.value.disconnect()), _.value = new ResizeObserver(e), F.value = I.value.parentNode, _.value.observe(F.value);
|
|
202
|
-
} else
|
|
203
|
-
y.value = [], C.value = [], ae(), se();
|
|
204
|
-
_e();
|
|
205
|
-
}
|
|
206
|
-
Et(() => {
|
|
207
|
-
document.getElementById(`relation_circle_${P.value}`).removeEventListener("click", Oe), _.value && (F.value && _.value.unobserve(F.value), _.value.disconnect());
|
|
208
|
-
});
|
|
209
|
-
const { autoSizeLabels: _e } = Zt({
|
|
210
|
-
svgRef: T,
|
|
211
|
-
fontSize: l.value.style.labels.fontSize,
|
|
212
|
-
minFontSize: l.value.style.labels.minFontSize,
|
|
213
|
-
sizeRef: D,
|
|
214
|
-
labelClass: ".vue-ui-relation-circle-legend"
|
|
215
|
-
});
|
|
216
|
-
function Oe(e) {
|
|
217
|
-
const a = e.target;
|
|
218
|
-
a && Array.from(a.classList).includes("vue-ui-user-options") || a && Array.from(a.classList).includes("vue-ui-user-options-summary") || a && Array.from(a.classList).includes("vue-data-ui-button") || a && Array.from(a.classList).includes("vue-ui-relation-circle-legend") || (f.value = {}, $.value = []);
|
|
219
|
-
}
|
|
220
|
-
function ae() {
|
|
221
|
-
const e = 6.28319 / L.value.length, a = 360 / L.value.length;
|
|
222
|
-
let t = 0, s = 0;
|
|
223
|
-
L.value.forEach((r, n) => {
|
|
224
|
-
const A = r.weights.reduce((Ot, zt) => Ot + zt, 0), z = E.value * Math.cos(t) + v.value.width / 2, _t = E.value * Math.sin(t) + v.value.height / 2 + l.value.style.circle.offsetY;
|
|
225
|
-
y.value.push({
|
|
226
|
-
x: z,
|
|
227
|
-
y: _t,
|
|
228
|
-
...r,
|
|
229
|
-
color: r.color ? r.color : Ae.value[n] ? Ae.value[n] : Ue[n],
|
|
230
|
-
regAngle: s,
|
|
231
|
-
totalWeight: A
|
|
232
|
-
}), t += e, s += a;
|
|
233
|
-
});
|
|
234
|
-
}
|
|
235
|
-
function vt(e, a) {
|
|
236
|
-
const t = (e.x + a.x) / 2, s = (e.y + a.y) / 2;
|
|
237
|
-
return { x: t, y: s };
|
|
238
|
-
}
|
|
239
|
-
function se() {
|
|
240
|
-
C.value = [], y.value.forEach((e) => {
|
|
241
|
-
y.value.filter((t) => t.relations.includes(e.id)).forEach((t, s) => {
|
|
242
|
-
const r = t.relations.indexOf(e.id);
|
|
243
|
-
C.value.push({
|
|
244
|
-
weight: t.weights[r] ? t.weights[r] : 0,
|
|
245
|
-
relationId: `${e.id}_${t.id}`,
|
|
246
|
-
x1: e.x,
|
|
247
|
-
y1: e.y,
|
|
248
|
-
x2: t.x,
|
|
249
|
-
y2: t.y,
|
|
250
|
-
colorSource: e.color,
|
|
251
|
-
colorTarget: t.color,
|
|
252
|
-
midPointLine: vt(
|
|
253
|
-
{ x: e.x, y: e.y },
|
|
254
|
-
{ x: t.x, y: t.y }
|
|
255
|
-
),
|
|
256
|
-
midPointBezier: dt({
|
|
257
|
-
x1: e.x,
|
|
258
|
-
x2: t.x,
|
|
259
|
-
y1: e.y,
|
|
260
|
-
y2: t.y
|
|
261
|
-
}),
|
|
262
|
-
...e
|
|
263
|
-
});
|
|
264
|
-
});
|
|
265
|
-
});
|
|
266
|
-
}
|
|
267
|
-
function dt(e) {
|
|
268
|
-
const a = { x: e.x1, y: e.y1 }, t = { x: e.x2, y: e.y2 }, s = { x: e.x1, y: e.y1 }, r = {
|
|
269
|
-
x: v.value.width / 2,
|
|
270
|
-
y: v.value.height / 2 + l.value.style.circle.offsetY
|
|
271
|
-
}, n = 0.5, A = Math.pow(1 - n, 3) * a.x + 3 * Math.pow(1 - n, 2) * n * s.x + 3 * (1 - n) * Math.pow(n, 2) * r.x + Math.pow(n, 3) * t.x, z = Math.pow(1 - n, 3) * a.y + 3 * Math.pow(1 - n, 2) * n * s.y + 3 * (1 - n) * Math.pow(n, 2) * r.y + Math.pow(n, 3) * t.y;
|
|
272
|
-
return { x: A, y: z };
|
|
273
|
-
}
|
|
274
|
-
const ft = g(() => Math.max(...C.value.map((e) => e.weight)));
|
|
275
|
-
function yt(e) {
|
|
276
|
-
return Object.hasOwn(f.value, "x") ? $.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
|
|
277
|
-
}
|
|
278
|
-
function O(e) {
|
|
279
|
-
return e.colorSource;
|
|
280
|
-
}
|
|
281
|
-
function ze(e) {
|
|
282
|
-
return Object.hasOwn(f.value, "x") ? $.value.includes(e.id) && e.relationId === `${e.id}_${f.value.id}` || e.relationId === `${f.value.id}_${e.id}` ? `opacity:1;stroke-width:${ne(e)}` : "opacity: 0" : "opacity: 1";
|
|
283
|
-
}
|
|
284
|
-
function B(e) {
|
|
285
|
-
return Object.hasOwn(f.value, "x") ? !!($.value.includes(e.id) && e.relationId === `${e.id}_${f.value.id}` || e.relationId === `${f.value.id}_${e.id}`) : !1;
|
|
286
|
-
}
|
|
287
|
-
function gt(e) {
|
|
288
|
-
return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
|
|
289
|
-
}
|
|
290
|
-
function ht(e) {
|
|
291
|
-
return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
|
|
292
|
-
}
|
|
293
|
-
function mt(e) {
|
|
294
|
-
return Object.hasOwn(f.value, "x") ? f.value.id === e.id || $.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
|
|
295
|
-
}
|
|
296
|
-
function pt(e) {
|
|
297
|
-
return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
|
|
298
|
-
}
|
|
299
|
-
const j = c(null);
|
|
300
|
-
function Se(e, a) {
|
|
301
|
-
j.value = a, m.value = a, l.value.events.datapointEnter && l.value.events.datapointEnter({
|
|
302
|
-
datapoint: e,
|
|
303
|
-
seriesIndex: a
|
|
304
|
-
});
|
|
305
|
-
}
|
|
306
|
-
function Ie(e, a) {
|
|
307
|
-
j.value = null, X.value || (m.value = null), l.value.events.datapointLeave && l.value.events.datapointLeave({
|
|
308
|
-
datapoint: e,
|
|
309
|
-
seriesIndex: a
|
|
310
|
-
});
|
|
311
|
-
}
|
|
312
|
-
function Me(e, a) {
|
|
313
|
-
e && (l.value.events.datapointClick && l.value.events.datapointClick({
|
|
314
|
-
datapoint: e,
|
|
315
|
-
seriesIndex: a
|
|
316
|
-
}), ot.value = 360 - e.regAngle, f.value.id && e.id === f.value.id ? (f.value = {}, $.value = []) : (f.value = e, $.value = [...e.relations]));
|
|
317
|
-
}
|
|
318
|
-
function Ee(e, a) {
|
|
319
|
-
m.value = a, Me(e, a);
|
|
320
|
-
}
|
|
321
|
-
function ne(e) {
|
|
322
|
-
const a = e.weight / ft.value * l.value.style.links.maxWidth;
|
|
323
|
-
return Math.max(0.3, a);
|
|
324
|
-
}
|
|
325
|
-
const H = c(!1);
|
|
326
|
-
function Te(e) {
|
|
327
|
-
H.value = e, ge.value += 1;
|
|
328
|
-
}
|
|
329
|
-
const U = c(!1);
|
|
330
|
-
function oe() {
|
|
331
|
-
U.value = !U.value;
|
|
332
|
-
}
|
|
333
|
-
async function bt({ scale: e = 2 } = {}) {
|
|
334
|
-
if (!I.value) return;
|
|
335
|
-
const { width: a, height: t } = I.value.getBoundingClientRect(), s = a / t, { imageUri: r, base64: n } = await el({
|
|
336
|
-
domElement: I.value,
|
|
337
|
-
base64: !0,
|
|
338
|
-
img: !0,
|
|
339
|
-
scale: e
|
|
340
|
-
});
|
|
341
|
-
return {
|
|
342
|
-
imageUri: r,
|
|
343
|
-
base64: n,
|
|
344
|
-
title: l.value.style.title.text,
|
|
345
|
-
width: a,
|
|
346
|
-
height: t,
|
|
347
|
-
aspectRatio: s
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
const kt = g(() => l.value.style.backgroundColor), wt = g(() => l.value.style.title), { exportSvg: xt, getSvg: Ct } = qt({
|
|
351
|
-
svg: T,
|
|
352
|
-
title: wt,
|
|
353
|
-
backgroundColor: kt
|
|
354
|
-
});
|
|
355
|
-
async function Fe({ isCb: e }) {
|
|
356
|
-
K.value = !0, await Bt();
|
|
357
|
-
try {
|
|
358
|
-
if (e) {
|
|
359
|
-
const { blob: a, url: t, text: s, dataUrl: r } = await Ct();
|
|
360
|
-
await Promise.resolve(
|
|
361
|
-
l.value.userOptions.callbacks.svg({
|
|
362
|
-
blob: a,
|
|
363
|
-
url: t,
|
|
364
|
-
text: s,
|
|
365
|
-
dataUrl: r
|
|
366
|
-
})
|
|
367
|
-
);
|
|
368
|
-
} else
|
|
369
|
-
await Promise.resolve(xt());
|
|
370
|
-
} finally {
|
|
371
|
-
K.value = !1;
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
function $t(e) {
|
|
375
|
-
if (e?.stage === "start") {
|
|
376
|
-
W.value = !0;
|
|
377
|
-
return;
|
|
378
|
-
}
|
|
379
|
-
if (e?.stage === "end") {
|
|
380
|
-
W.value = !1;
|
|
381
|
-
return;
|
|
382
|
-
}
|
|
383
|
-
$e();
|
|
384
|
-
}
|
|
385
|
-
async function Be() {
|
|
386
|
-
if (tt("copyAlt", {
|
|
387
|
-
config: l.value,
|
|
388
|
-
dataset: L.value
|
|
389
|
-
}), !l.value.userOptions.callbacks.altCopy) {
|
|
390
|
-
console.warn(
|
|
391
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
392
|
-
);
|
|
393
|
-
return;
|
|
394
|
-
}
|
|
395
|
-
await Promise.resolve(
|
|
396
|
-
l.value.userOptions.callbacks.altCopy({
|
|
397
|
-
config: l.value,
|
|
398
|
-
dataset: L.value
|
|
399
|
-
})
|
|
400
|
-
);
|
|
401
|
-
}
|
|
402
|
-
function At() {
|
|
403
|
-
X.value = !0, y.value.length && m.value === null && (m.value = 0);
|
|
404
|
-
}
|
|
405
|
-
function Pt() {
|
|
406
|
-
X.value = !1, m.value = null;
|
|
407
|
-
}
|
|
408
|
-
function Lt(e) {
|
|
409
|
-
if (!T.value || U.value || document.activeElement !== T.value || !y.value.length) return;
|
|
410
|
-
const a = ["ArrowLeft", "ArrowUp"].includes(e.key), t = ["ArrowRight", "ArrowDown"].includes(e.key), s = e.key === "Enter" || e.key === " ", r = e.key === "Escape";
|
|
411
|
-
if (!a && !t && !s && !r)
|
|
412
|
-
return;
|
|
413
|
-
if (e.preventDefault(), e.stopPropagation(), r) {
|
|
414
|
-
m.value = null, f.value = {}, $.value = [];
|
|
415
|
-
return;
|
|
416
|
-
}
|
|
417
|
-
if (s) {
|
|
418
|
-
if (m.value === null) return;
|
|
419
|
-
const z = y.value[m.value];
|
|
420
|
-
if (!z) return;
|
|
421
|
-
Me(z, m.value);
|
|
422
|
-
return;
|
|
423
|
-
}
|
|
424
|
-
let n = m.value;
|
|
425
|
-
n === null || n < 0 || n >= y.value.length ? n = t ? 0 : y.value.length - 1 : t ? (n += 1, n >= y.value.length && (n = 0)) : a && (n -= 1, n < 0 && (n = y.value.length - 1)), m.value = n, j.value = n;
|
|
426
|
-
const A = y.value[n];
|
|
427
|
-
A && l.value.events.datapointEnter && l.value.events.datapointEnter({
|
|
428
|
-
datapoint: A,
|
|
429
|
-
seriesIndex: n
|
|
430
|
-
});
|
|
431
|
-
}
|
|
432
|
-
const ie = g(() => {
|
|
433
|
-
const e = [
|
|
434
|
-
"ID",
|
|
435
|
-
"Label",
|
|
436
|
-
"Total weight",
|
|
437
|
-
"Relations count",
|
|
438
|
-
"Relations"
|
|
439
|
-
], a = L.value.map((t) => {
|
|
440
|
-
const s = t.relations.map((n) => L.value.find(
|
|
441
|
-
(z) => z.id === n
|
|
442
|
-
)?.label || n).join(", "), r = (t.weights || []).reduce(
|
|
443
|
-
(n, A) => n + Number(A || 0),
|
|
444
|
-
0
|
|
445
|
-
);
|
|
446
|
-
return [
|
|
447
|
-
t.id,
|
|
448
|
-
t.label,
|
|
449
|
-
r,
|
|
450
|
-
t.relations.length,
|
|
451
|
-
s
|
|
452
|
-
];
|
|
453
|
-
});
|
|
454
|
-
return { headers: e, rows: a };
|
|
455
|
-
});
|
|
456
|
-
return Xe({
|
|
457
|
-
getImage: bt,
|
|
458
|
-
generatePdf: Ce,
|
|
459
|
-
generateSvg: Fe,
|
|
460
|
-
generateImage: $e,
|
|
461
|
-
toggleAnnotator: oe,
|
|
462
|
-
toggleFullscreen: Te,
|
|
463
|
-
copyAlt: Be
|
|
464
|
-
}), (e, a) => (o(), i("div", {
|
|
465
|
-
ref_key: "relationCircleChart",
|
|
466
|
-
ref: I,
|
|
467
|
-
class: "vue-data-ui-component vue-ui-relation-circle",
|
|
468
|
-
style: R(`width:100%;background:${l.value.style.backgroundColor};text-align:center;${l.value.responsive ? "height: 100%" : ""}`),
|
|
469
|
-
id: `relation_circle_${P.value}`,
|
|
470
|
-
onMouseenter: a[0] || (a[0] = () => u(we)(!0)),
|
|
471
|
-
onMouseleave: a[1] || (a[1] = () => u(we)(!1))
|
|
472
|
-
}, [
|
|
473
|
-
J("div", {
|
|
474
|
-
id: `chart-instructions-${P.value}`,
|
|
475
|
-
class: "sr-only"
|
|
476
|
-
}, [
|
|
477
|
-
J("p", null, V(l.value.a11y.translations.keyboardNavigation), 1)
|
|
478
|
-
], 8, ol),
|
|
479
|
-
ie.value?.rows?.length ? (o(), G(al, {
|
|
480
|
-
key: 0,
|
|
481
|
-
uid: P.value,
|
|
482
|
-
head: ie.value.headers,
|
|
483
|
-
body: ie.value.rows,
|
|
484
|
-
notice: l.value.a11y.translations.tableAvailable,
|
|
485
|
-
caption: l.value.a11y.translations.tableCaption
|
|
486
|
-
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : h("", !0),
|
|
487
|
-
l.value.userOptions.buttons.annotator ? (o(), G(u(qe), {
|
|
488
|
-
key: 1,
|
|
489
|
-
svgRef: u(T),
|
|
490
|
-
backgroundColor: l.value.style.backgroundColor,
|
|
491
|
-
color: l.value.style.color,
|
|
492
|
-
active: U.value,
|
|
493
|
-
isCursorPointer: Y.value,
|
|
494
|
-
onClose: oe
|
|
495
|
-
}, {
|
|
496
|
-
"annotator-action-close": p(() => [
|
|
497
|
-
d(e.$slots, "annotator-action-close", {}, void 0, !0)
|
|
498
|
-
]),
|
|
499
|
-
"annotator-action-color": p(({ color: t }) => [
|
|
500
|
-
d(e.$slots, "annotator-action-color", w(x({ color: t })), void 0, !0)
|
|
501
|
-
]),
|
|
502
|
-
"annotator-action-draw": p(({ mode: t }) => [
|
|
503
|
-
d(e.$slots, "annotator-action-draw", w(x({ mode: t })), void 0, !0)
|
|
504
|
-
]),
|
|
505
|
-
"annotator-action-undo": p(({ disabled: t }) => [
|
|
506
|
-
d(e.$slots, "annotator-action-undo", w(x({ disabled: t })), void 0, !0)
|
|
507
|
-
]),
|
|
508
|
-
"annotator-action-redo": p(({ disabled: t }) => [
|
|
509
|
-
d(e.$slots, "annotator-action-redo", w(x({ disabled: t })), void 0, !0)
|
|
510
|
-
]),
|
|
511
|
-
"annotator-action-delete": p(({ disabled: t }) => [
|
|
512
|
-
d(e.$slots, "annotator-action-delete", w(x({ disabled: t })), void 0, !0)
|
|
513
|
-
]),
|
|
514
|
-
_: 3
|
|
515
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : h("", !0),
|
|
516
|
-
nt.value ? (o(), i("div", {
|
|
517
|
-
key: 2,
|
|
518
|
-
ref_key: "noTitle",
|
|
519
|
-
ref: pe,
|
|
520
|
-
class: "vue-data-ui-no-title-space",
|
|
521
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
522
|
-
}, null, 512)) : h("", !0),
|
|
523
|
-
l.value.style.title.text ? (o(), i("div", {
|
|
524
|
-
key: 3,
|
|
525
|
-
ref_key: "chartTitle",
|
|
526
|
-
ref: he,
|
|
527
|
-
style: "width:100%;background:transparent"
|
|
528
|
-
}, [
|
|
529
|
-
(o(), G(tl, {
|
|
530
|
-
key: `title_${be.value}`,
|
|
531
|
-
config: {
|
|
532
|
-
title: {
|
|
533
|
-
cy: "relation-div-title",
|
|
534
|
-
...l.value.style.title
|
|
535
|
-
},
|
|
536
|
-
subtitle: {
|
|
537
|
-
cy: "relation-div-subtitle",
|
|
538
|
-
...l.value.style.title.subtitle
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}, null, 8, ["config"]))
|
|
542
|
-
], 512)) : h("", !0),
|
|
543
|
-
l.value.userOptions.show && lt.value && (u(xe) || u(Z)) ? (o(), G(u(He), {
|
|
544
|
-
ref: "details",
|
|
545
|
-
key: `user_options_${ge.value}`,
|
|
546
|
-
backgroundColor: l.value.style.backgroundColor,
|
|
547
|
-
color: l.value.style.color,
|
|
548
|
-
isPrinting: u(te),
|
|
549
|
-
isImaging: u(le),
|
|
550
|
-
uid: P.value,
|
|
551
|
-
hasPdf: l.value.userOptions.buttons.pdf,
|
|
552
|
-
hasImg: l.value.userOptions.buttons.img,
|
|
553
|
-
hasSvg: l.value.userOptions.buttons.svg,
|
|
554
|
-
hasFullscreen: l.value.userOptions.buttons.fullscreen,
|
|
555
|
-
hasAltCopy: l.value.userOptions.buttons.altCopy,
|
|
556
|
-
hasXls: !1,
|
|
557
|
-
isFullscreen: H.value,
|
|
558
|
-
titles: { ...l.value.userOptions.buttonTitles },
|
|
559
|
-
chartElement: I.value,
|
|
560
|
-
position: l.value.userOptions.position,
|
|
561
|
-
hasAnnotator: l.value.userOptions.buttons.annotator,
|
|
562
|
-
isAnnotation: U.value,
|
|
563
|
-
callbacks: l.value.userOptions.callbacks,
|
|
564
|
-
printScale: l.value.userOptions.print.scale,
|
|
565
|
-
isCursorPointer: Y.value,
|
|
566
|
-
onToggleFullscreen: Te,
|
|
567
|
-
onGeneratePdf: u(Ce),
|
|
568
|
-
onGenerateImage: $t,
|
|
569
|
-
onGenerateSvg: Fe,
|
|
570
|
-
onToggleAnnotator: oe,
|
|
571
|
-
onCopyAlt: Be,
|
|
572
|
-
style: R({
|
|
573
|
-
visibility: u(xe) ? u(Z) ? "visible" : "hidden" : "visible"
|
|
574
|
-
})
|
|
575
|
-
}, Tt({ _: 2 }, [
|
|
576
|
-
e.$slots.menuIcon ? {
|
|
577
|
-
name: "menuIcon",
|
|
578
|
-
fn: p(({ isOpen: t, color: s }) => [
|
|
579
|
-
d(e.$slots, "menuIcon", w(x({ isOpen: t, color: s })), void 0, !0)
|
|
580
|
-
]),
|
|
581
|
-
key: "0"
|
|
582
|
-
} : void 0,
|
|
583
|
-
e.$slots.optionPdf ? {
|
|
584
|
-
name: "optionPdf",
|
|
585
|
-
fn: p(() => [
|
|
586
|
-
d(e.$slots, "optionPdf", {}, void 0, !0)
|
|
587
|
-
]),
|
|
588
|
-
key: "1"
|
|
589
|
-
} : void 0,
|
|
590
|
-
e.$slots.optionImg ? {
|
|
591
|
-
name: "optionImg",
|
|
592
|
-
fn: p(() => [
|
|
593
|
-
d(e.$slots, "optionImg", {}, void 0, !0)
|
|
594
|
-
]),
|
|
595
|
-
key: "2"
|
|
596
|
-
} : void 0,
|
|
597
|
-
e.$slots.optionSvg ? {
|
|
598
|
-
name: "optionSvg",
|
|
599
|
-
fn: p(() => [
|
|
600
|
-
d(e.$slots, "optionSvg", {}, void 0, !0)
|
|
601
|
-
]),
|
|
602
|
-
key: "3"
|
|
603
|
-
} : void 0,
|
|
604
|
-
e.$slots.optionFullscreen ? {
|
|
605
|
-
name: "optionFullscreen",
|
|
606
|
-
fn: p(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
607
|
-
d(e.$slots, "optionFullscreen", w(x({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
608
|
-
]),
|
|
609
|
-
key: "4"
|
|
610
|
-
} : void 0,
|
|
611
|
-
e.$slots.optionAnnotator ? {
|
|
612
|
-
name: "optionAnnotator",
|
|
613
|
-
fn: p(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
614
|
-
d(e.$slots, "optionAnnotator", w(x({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
615
|
-
]),
|
|
616
|
-
key: "5"
|
|
617
|
-
} : void 0,
|
|
618
|
-
e.$slots.optionAltCopy ? {
|
|
619
|
-
name: "optionAltCopy",
|
|
620
|
-
fn: p(({ altCopy: t }) => [
|
|
621
|
-
d(e.$slots, "optionAltCopy", w(x({ altCopy: t })), void 0, !0)
|
|
622
|
-
]),
|
|
623
|
-
key: "6"
|
|
624
|
-
} : void 0
|
|
625
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "hasAltCopy", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "isCursorPointer", "onGeneratePdf", "style"])) : h("", !0),
|
|
626
|
-
J("div", il, [
|
|
627
|
-
(o(), i("svg", {
|
|
628
|
-
ref_key: "svgRef",
|
|
629
|
-
ref: T,
|
|
630
|
-
xmlns: u(Ut),
|
|
631
|
-
class: ce([{
|
|
632
|
-
"vue-data-ui-fullscreen--on": H.value,
|
|
633
|
-
"vue-data-ui-fulscreen--off": !H.value
|
|
634
|
-
}, "relation-circle"]),
|
|
635
|
-
viewBox: `0 0 ${v.value.width <= 0 ? 10 : v.value.width} ${v.value.height <= 0 ? 10 : v.value.height}`,
|
|
636
|
-
width: "100%",
|
|
637
|
-
style: "user-select:none; background:transparent",
|
|
638
|
-
"aria-describedby": `chart-instructions-${P.value}`,
|
|
639
|
-
tabindex: "0",
|
|
640
|
-
onFocus: At,
|
|
641
|
-
onBlur: Pt,
|
|
642
|
-
onKeydown: Lt
|
|
643
|
-
}, [
|
|
644
|
-
Ft(u(Je)),
|
|
645
|
-
e.$slots["chart-background"] ? (o(), i("foreignObject", {
|
|
646
|
-
key: 0,
|
|
647
|
-
x: 0,
|
|
648
|
-
y: 0,
|
|
649
|
-
width: v.value.width <= 0 ? 10 : v.value.width,
|
|
650
|
-
height: v.value.height <= 0 ? 10 : v.value.height,
|
|
651
|
-
style: {
|
|
652
|
-
pointerEvents: "none"
|
|
653
|
-
}
|
|
654
|
-
}, [
|
|
655
|
-
d(e.$slots, "chart-background", {}, void 0, !0)
|
|
656
|
-
], 8, rl)) : h("", !0),
|
|
657
|
-
J("circle", {
|
|
658
|
-
cx: (v.value.width <= 0 ? 1e-4 : v.value.width) / 2,
|
|
659
|
-
cy: (v.value.height <= 0 ? 1e-4 : v.value.height) / 2 + l.value.style.circle.offsetY,
|
|
660
|
-
r: E.value <= 0 ? 1e-4 : E.value,
|
|
661
|
-
stroke: l.value.style.circle.stroke,
|
|
662
|
-
"stroke-width": l.value.style.circle.strokeWidth,
|
|
663
|
-
fill: "transparent",
|
|
664
|
-
class: "main-circle"
|
|
665
|
-
}, null, 8, cl),
|
|
666
|
-
it.value ? (o(), i("g", vl, [
|
|
667
|
-
(o(!0), i(S, null, N(C.value, (t, s) => (o(), i("path", {
|
|
668
|
-
key: `relation_${s}`,
|
|
669
|
-
style: R(ze(t)),
|
|
670
|
-
stroke: O(t),
|
|
671
|
-
class: ce(["relation", {
|
|
672
|
-
"vue-ui-relation-circle-selected": f.value.hasOwnProperty("id") && $.value.includes(t.id)
|
|
673
|
-
}]),
|
|
674
|
-
d: `M${t.x1},${t.y1} C${t.x1},${t.y1} ${v.value.width / 2},${v.value.height / 2 + l.value.style.circle.offsetY} ${t.x2},${t.y2}`,
|
|
675
|
-
fill: "none",
|
|
676
|
-
"stroke-width": ne(t),
|
|
677
|
-
"stroke-linecap": "round"
|
|
678
|
-
}, null, 14, dl))), 128)),
|
|
679
|
-
(o(!0), i(S, null, N(C.value, (t, s) => (o(), i("g", fl, [
|
|
680
|
-
B(t) ? d(e.$slots, "dataLabel", Ne({
|
|
681
|
-
key: 0,
|
|
682
|
-
ref_for: !0
|
|
683
|
-
}, {
|
|
684
|
-
x: t.midPointBezier.x,
|
|
685
|
-
y: t.midPointBezier.y,
|
|
686
|
-
color: O(t),
|
|
687
|
-
weight: t.weight,
|
|
688
|
-
fontSize: k.value
|
|
689
|
-
}), void 0, !0) : h("", !0),
|
|
690
|
-
B(t) && !e.$slots.dataLabel ? (o(), i("circle", {
|
|
691
|
-
key: 1,
|
|
692
|
-
cx: t.midPointBezier.x,
|
|
693
|
-
cy: t.midPointBezier.y,
|
|
694
|
-
fill: O(t),
|
|
695
|
-
r: k.value,
|
|
696
|
-
stroke: l.value.style.backgroundColor,
|
|
697
|
-
"stroke-width": "1"
|
|
698
|
-
}, null, 8, yl)) : h("", !0),
|
|
699
|
-
B(t) && !e.$slots.dataLabel ? (o(), i("text", {
|
|
700
|
-
key: 2,
|
|
701
|
-
x: t.midPointBezier.x,
|
|
702
|
-
y: t.midPointBezier.y + k.value / 3,
|
|
703
|
-
fill: u(We)(O(t)),
|
|
704
|
-
"text-anchor": "middle",
|
|
705
|
-
"font-size": k.value
|
|
706
|
-
}, V(u(ve)(
|
|
707
|
-
l.value.style.weightLabels.formatter,
|
|
708
|
-
t.weight,
|
|
709
|
-
u(de)({
|
|
710
|
-
p: l.value.style.weightLabels.prefix,
|
|
711
|
-
v: t.weight,
|
|
712
|
-
s: l.value.style.weightLabels.suffix,
|
|
713
|
-
r: l.value.style.weightLabels.rounding
|
|
714
|
-
}),
|
|
715
|
-
{ ...t }
|
|
716
|
-
)), 9, gl)) : h("", !0)
|
|
717
|
-
]))), 256))
|
|
718
|
-
])) : (o(), i("g", hl, [
|
|
719
|
-
(o(!0), i(S, null, N(C.value, (t, s) => (o(), i("line", {
|
|
720
|
-
key: `relation_${s}`,
|
|
721
|
-
stroke: O(t),
|
|
722
|
-
"stroke-width": ne(t),
|
|
723
|
-
style: R(ze(t)),
|
|
724
|
-
x1: t.x1,
|
|
725
|
-
x2: t.x2,
|
|
726
|
-
y1: t.y1,
|
|
727
|
-
y2: t.y2,
|
|
728
|
-
class: ce({
|
|
729
|
-
"vue-ui-relation-circle-selected": f.value.hasOwnProperty("id") && $.value.includes(t.id)
|
|
730
|
-
}),
|
|
731
|
-
"stroke-linecap": "round"
|
|
732
|
-
}, null, 14, ml))), 128)),
|
|
733
|
-
(o(!0), i(S, null, N(C.value, (t, s) => (o(), i("g", pl, [
|
|
734
|
-
B(t) ? d(e.$slots, "dataLabel", Ne({
|
|
735
|
-
key: 0,
|
|
736
|
-
ref_for: !0
|
|
737
|
-
}, {
|
|
738
|
-
x: t.midPointLine.x,
|
|
739
|
-
y: t.midPointLine.y,
|
|
740
|
-
color: O(t),
|
|
741
|
-
weight: t.weight,
|
|
742
|
-
fontSize: k.value
|
|
743
|
-
}), void 0, !0) : h("", !0),
|
|
744
|
-
B(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (o(), i("circle", {
|
|
745
|
-
key: 1,
|
|
746
|
-
cx: t.midPointLine.x,
|
|
747
|
-
cy: t.midPointLine.y,
|
|
748
|
-
fill: O(t),
|
|
749
|
-
r: k.value,
|
|
750
|
-
stroke: l.value.style.backgroundColor,
|
|
751
|
-
"stroke-width": "1"
|
|
752
|
-
}, null, 8, bl)) : h("", !0),
|
|
753
|
-
B(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (o(), i("text", {
|
|
754
|
-
key: 2,
|
|
755
|
-
x: t.midPointLine.x,
|
|
756
|
-
y: t.midPointLine.y + k.value / 3,
|
|
757
|
-
fill: u(We)(O(t)),
|
|
758
|
-
"text-anchor": "middle",
|
|
759
|
-
"font-size": k.value
|
|
760
|
-
}, V(u(ve)(
|
|
761
|
-
l.value.style.weightLabels.formatter,
|
|
762
|
-
t.weight,
|
|
763
|
-
u(de)({
|
|
764
|
-
p: l.value.style.weightLabels.prefix,
|
|
765
|
-
v: t.weight,
|
|
766
|
-
s: l.value.style.weightLabels.suffix,
|
|
767
|
-
r: l.value.style.weightLabels.rounding
|
|
768
|
-
}),
|
|
769
|
-
{ ...t }
|
|
770
|
-
)), 9, kl)) : h("", !0)
|
|
771
|
-
]))), 256))
|
|
772
|
-
])),
|
|
773
|
-
(o(!0), i(S, null, N(y.value, (t, s) => (o(), i("text", {
|
|
774
|
-
key: `plot_text_${s}`,
|
|
775
|
-
"text-anchor": gt(t),
|
|
776
|
-
transform: pt(t),
|
|
777
|
-
x: ht(t),
|
|
778
|
-
y: t.y + 5,
|
|
779
|
-
class: "vue-ui-relation-circle-legend",
|
|
780
|
-
"transform-origin": "start",
|
|
781
|
-
"font-weight": f.value.id === t.id ? "900" : "400",
|
|
782
|
-
style: R(`font-family:${l.value.style.fontFamily};${mt(t)};cursor:${Y.value ? "pointer" : "default"}`),
|
|
783
|
-
"font-size": D.value,
|
|
784
|
-
fill: l.value.style.labels.color,
|
|
785
|
-
"text-decoration": s === j.value || s === m.value ? "underline" : void 0,
|
|
786
|
-
onClick: (r) => Ee(t, s),
|
|
787
|
-
onMouseenter: (r) => Se(t, s),
|
|
788
|
-
onMouseleave: (r) => Ie(t, s)
|
|
789
|
-
}, [
|
|
790
|
-
u(ke) ? (o(), i(S, { key: 0 }, [
|
|
791
|
-
De("--------")
|
|
792
|
-
], 64)) : (o(), i(S, { key: 1 }, [
|
|
793
|
-
De(V(t.label) + " (" + V(u(ve)(
|
|
794
|
-
l.value.style.weightLabels.formatter,
|
|
795
|
-
t.totalWeight,
|
|
796
|
-
u(de)({
|
|
797
|
-
p: l.value.style.weightLabels.prefix,
|
|
798
|
-
v: t.totalWeight,
|
|
799
|
-
s: l.value.style.weightLabels.suffix,
|
|
800
|
-
r: l.value.style.weightLabels.rounding
|
|
801
|
-
}),
|
|
802
|
-
{ ...t }
|
|
803
|
-
)) + ") ", 1)
|
|
804
|
-
], 64))
|
|
805
|
-
], 44, wl))), 128)),
|
|
806
|
-
(o(!0), i(S, null, N(y.value, (t, s) => (o(), i("circle", {
|
|
807
|
-
cx: t.x,
|
|
808
|
-
cy: t.y,
|
|
809
|
-
key: `plot_${s}`,
|
|
810
|
-
style: R(`${yt(t)}; transition: r 0.2s ease-in-out; cursor:${Y.value ? "pointer" : "default"}`),
|
|
811
|
-
class: "vue-ui-relation-circle-plot",
|
|
812
|
-
fill: l.value.style.plot.useSerieColor ? t.color : l.value.style.plot.color,
|
|
813
|
-
stroke: l.value.style.backgroundColor,
|
|
814
|
-
"stroke-width": "1",
|
|
815
|
-
r: q.value * (s === j.value || s === m.value ? 2 : 1),
|
|
816
|
-
onClick: (r) => Ee(t, s),
|
|
817
|
-
onMouseenter: (r) => Se(t, s),
|
|
818
|
-
onMouseleave: (r) => Ie(t, s)
|
|
819
|
-
}, null, 44, xl))), 128)),
|
|
820
|
-
d(e.$slots, "svg", {
|
|
821
|
-
svg: {
|
|
822
|
-
...v.value,
|
|
823
|
-
isPrintingImg: u(te) | u(le) | W.value,
|
|
824
|
-
isPrintingSvg: K.value
|
|
825
|
-
}
|
|
826
|
-
}, void 0, !0)
|
|
827
|
-
], 42, ul)),
|
|
828
|
-
e.$slots.hint ? (o(), i("div", Cl, [
|
|
829
|
-
d(e.$slots, "hint", w(x({
|
|
830
|
-
hint: l.value.a11y.translations.keyboardNavigation,
|
|
831
|
-
isVisible: X.value
|
|
832
|
-
})), void 0, !0)
|
|
833
|
-
])) : h("", !0)
|
|
834
|
-
]),
|
|
835
|
-
e.$slots.watermark ? (o(), i("div", $l, [
|
|
836
|
-
d(e.$slots, "watermark", w(x({
|
|
837
|
-
isPrinting: u(te) || u(le) || W.value || K.value
|
|
838
|
-
})), void 0, !0)
|
|
839
|
-
])) : h("", !0),
|
|
840
|
-
e.$slots.source ? (o(), i("div", {
|
|
841
|
-
key: 6,
|
|
842
|
-
ref_key: "source",
|
|
843
|
-
ref: me,
|
|
844
|
-
dir: "auto"
|
|
845
|
-
}, [
|
|
846
|
-
d(e.$slots, "source", {}, void 0, !0)
|
|
847
|
-
], 512)) : h("", !0),
|
|
848
|
-
d(e.$slots, "skeleton", {}, () => [
|
|
849
|
-
u(ke) ? (o(), G(Xt, { key: 0 })) : h("", !0)
|
|
850
|
-
], !0)
|
|
851
|
-
], 44, nl));
|
|
852
|
-
}
|
|
853
|
-
}, Vl = /* @__PURE__ */ sl(Al, [["__scopeId", "data-v-2cc382ee"]]);
|
|
854
|
-
export {
|
|
855
|
-
Vl as default
|
|
856
|
-
};
|