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,1108 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as L, ref as n, computed as d, toRefs as Kt, onMounted as Yt, watch as Qe, openBlock as u, createElementBlock as p, unref as r, normalizeStyle as X, normalizeClass as ae, createElementVNode as C, toDisplayString as oe, createBlock as $, createCommentVNode as h, withCtx as i, renderSlot as c, normalizeProps as b, guardReactiveProps as m, createSlots as Ze, createVNode as ke, Fragment as et, renderList as tt, Teleport as qt, resolveDynamicComponent as Jt, mergeProps as Qt, createTextVNode as lt, nextTick as ne } from "vue";
|
|
2
|
-
import { j as at, t as ot, o as Zt, q as nt, r as el, m as tl, p as se, n as ll, a8 as st, s as al, ad as ol, k as ut, l as D, X as nl, T as rt, a0 as sl, a1 as ul, U as rl } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { b as il } from "./labelUtils-DX9oyq3C.js";
|
|
4
|
-
import { t as cl, u as vl } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as dl } from "./useConfig-CG4HT3wS.js";
|
|
6
|
-
import { u as hl, B as gl } from "./BaseScanner-C2j3TsSY.js";
|
|
7
|
-
import { u as pl } from "./usePrinter-C4t8DdQ-.js";
|
|
8
|
-
import { u as fl } from "./useSvgExport-BTG4hVPO.js";
|
|
9
|
-
import { u as Ce } from "./useNestedProp-DH0BEVVS.js";
|
|
10
|
-
import { u as yl } from "./useThemeCheck-C9Ccl7U9.js";
|
|
11
|
-
import { u as bl } from "./useUserOptionState-B7Ej974k.js";
|
|
12
|
-
import { u as ml } from "./useChartAccessibility-cp6XQtqi.js";
|
|
13
|
-
import kl from "./img-CjTQXS0U.js";
|
|
14
|
-
import Cl from "./Title-BbKoiBk2.js";
|
|
15
|
-
import wl from "./Legend-DGN5lY60.js";
|
|
16
|
-
import Tl from "./vue_ui_galaxy-D95AN4FT.js";
|
|
17
|
-
import { A as $l } from "./A11yDataTable-BpmuNomI.js";
|
|
18
|
-
import { B as xl } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
19
|
-
import { _ as Sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
|
-
const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative" } }, Ll = ["xmlns", "aria-describedby", "viewBox"], Dl = ["width", "height"], Fl = ["id"], Nl = ["stdDeviation"], _l = ["d", "stroke", "stroke-width"], Bl = ["d", "stroke", "stroke-width"], Vl = ["filter"], El = ["d", "stroke", "stroke-width"], Ml = ["data-a11y-serie-id", "d", "stroke-width", "aria-label", "onMouseenter", "onMouseleave", "onClick"], Rl = {
|
|
21
|
-
key: 0,
|
|
22
|
-
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
23
|
-
"data-dom-to-png-ignore": "",
|
|
24
|
-
"aria-hidden": "true"
|
|
25
|
-
}, Ul = {
|
|
26
|
-
key: 5,
|
|
27
|
-
class: "vue-data-ui-watermark"
|
|
28
|
-
}, zl = ["id"], Wl = ["onClick"], Gl = ["innerHTML"], Hl = {
|
|
29
|
-
__name: "vue-ui-galaxy",
|
|
30
|
-
props: {
|
|
31
|
-
config: {
|
|
32
|
-
type: Object,
|
|
33
|
-
default() {
|
|
34
|
-
return {};
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
dataset: {
|
|
38
|
-
type: Array,
|
|
39
|
-
default() {
|
|
40
|
-
return [];
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
emits: ["selectLegend", "selectDatapoint", "copyAlt"],
|
|
45
|
-
setup(it, { expose: ct, emit: vt }) {
|
|
46
|
-
const dt = L(() => import("./Tooltip-Cvt7Fi0Q.js")), ht = L(() => import("./BaseIcon-DX0hTWa-.js")), gt = L(() => import("./vue-ui-accordion-DFtpH_16.js")), pt = L(() => import("./DataTable-cMnb68Ik.js")), ft = L(
|
|
47
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
48
|
-
), yt = L(
|
|
49
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
50
|
-
), bt = L(
|
|
51
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
52
|
-
), mt = L(
|
|
53
|
-
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
54
|
-
), { vue_ui_galaxy: kt } = dl(), { isThemeValid: Ct, warnInvalidTheme: wt } = yl(), T = it, k = n(at()), x = n(null), j = n(!1), ue = n(""), P = n(null), we = n(0), Te = n(0), $e = n(0), xe = n(0), Se = n(null), Pe = n(null), Ae = n(null), Oe = n(null), M = n(null), K = n(null), Ie = n(!1), R = n(null), re = n(null), Y = n(!1), q = n(!1), B = n(null), J = n(null), Le = n({ x: 0, y: 0 }), ie = n("pointer"), Q = n(!1), De = d(() => !!T.dataset && T.dataset.length), e = n(ve()), U = d(
|
|
55
|
-
() => e.value.userOptions.useCursorPointer
|
|
56
|
-
), Tt = d(() => ot({
|
|
57
|
-
defaultConfig: {
|
|
58
|
-
userOptions: { show: !1 },
|
|
59
|
-
table: { show: !1 },
|
|
60
|
-
useCssAnimation: !1,
|
|
61
|
-
style: {
|
|
62
|
-
chart: {
|
|
63
|
-
backgroundColor: "#99999930",
|
|
64
|
-
legend: {
|
|
65
|
-
backgroundColor: "transparent"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
userConfig: e.value.skeletonConfig ?? {}
|
|
71
|
-
})), { loading: Z, FINAL_DATASET: Fe } = hl({
|
|
72
|
-
...Kt(T),
|
|
73
|
-
FINAL_CONFIG: e,
|
|
74
|
-
prepareConfig: ve,
|
|
75
|
-
callback: () => {
|
|
76
|
-
Promise.resolve().then(async () => {
|
|
77
|
-
await ne(), f.value.showTable = e.value.table.show;
|
|
78
|
-
});
|
|
79
|
-
},
|
|
80
|
-
skeletonDataset: T.config?.skeletonDataset ?? [
|
|
81
|
-
{ name: "_", values: [21], color: "#DBDBDB" },
|
|
82
|
-
{ name: "_", values: [13], color: "#C4C4C4" },
|
|
83
|
-
{ name: "_", values: [8], color: "#ADADAD" }
|
|
84
|
-
],
|
|
85
|
-
skeletonConfig: ot({
|
|
86
|
-
defaultConfig: e.value,
|
|
87
|
-
userConfig: Tt.value
|
|
88
|
-
})
|
|
89
|
-
});
|
|
90
|
-
Yt(() => {
|
|
91
|
-
Ie.value = !0, _e();
|
|
92
|
-
});
|
|
93
|
-
const Ne = d(() => !!e.value.debug);
|
|
94
|
-
function _e() {
|
|
95
|
-
if (Zt(T.dataset) ? nt({
|
|
96
|
-
componentName: "VueUiGalaxy",
|
|
97
|
-
type: "dataset",
|
|
98
|
-
debug: Ne.value
|
|
99
|
-
}) : T.dataset.forEach((t, a) => {
|
|
100
|
-
el({
|
|
101
|
-
datasetObject: t,
|
|
102
|
-
requiredAttributes: ["name", "values"]
|
|
103
|
-
}).forEach((l) => {
|
|
104
|
-
nt({
|
|
105
|
-
componentName: "VueUiGalaxy",
|
|
106
|
-
type: "datasetSerieAttribute",
|
|
107
|
-
property: l,
|
|
108
|
-
index: a,
|
|
109
|
-
debug: Ne.value
|
|
110
|
-
});
|
|
111
|
-
});
|
|
112
|
-
}), e.value.responsive) {
|
|
113
|
-
const t = cl(() => {
|
|
114
|
-
const { width: a, height: l } = vl({
|
|
115
|
-
chart: x.value,
|
|
116
|
-
title: e.value.style.chart.title.text ? Se.value : null,
|
|
117
|
-
legend: e.value.style.chart.legend.show ? Pe.value : null,
|
|
118
|
-
noTitle: Oe.value,
|
|
119
|
-
source: Ae.value
|
|
120
|
-
});
|
|
121
|
-
requestAnimationFrame(() => {
|
|
122
|
-
ee.value = Math.max(0.1, a), te.value = Math.max(0.1, l - 12);
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
M.value && (K.value && M.value.unobserve(K.value), M.value.disconnect()), M.value = new ResizeObserver(t), K.value = x.value.parentNode, M.value.observe(K.value);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
const { userOptionsVisible: ce, setUserOptionsVisibility: Be, keepUserOptionState: Ve } = bl({ config: e.value }), { svgRef: F } = ml({
|
|
129
|
-
config: e.value.style.chart.title
|
|
130
|
-
});
|
|
131
|
-
function ve() {
|
|
132
|
-
const t = Ce({
|
|
133
|
-
userConfig: T.config,
|
|
134
|
-
defaultConfig: kt
|
|
135
|
-
}), a = t.theme;
|
|
136
|
-
if (!a) return t;
|
|
137
|
-
if (!Ct.value(t))
|
|
138
|
-
return wt(t), t;
|
|
139
|
-
const l = Ce({
|
|
140
|
-
userConfig: Tl[a] || T.config,
|
|
141
|
-
defaultConfig: t
|
|
142
|
-
}), o = Ce({
|
|
143
|
-
userConfig: T.config,
|
|
144
|
-
defaultConfig: l
|
|
145
|
-
});
|
|
146
|
-
return {
|
|
147
|
-
...o,
|
|
148
|
-
customPalette: o.customPalette.length ? o.customPalette : tl[a] || se
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
Qe(
|
|
152
|
-
() => T.config,
|
|
153
|
-
(t) => {
|
|
154
|
-
e.value = ve(), ce.value = !e.value.userOptions.showOnChartHover, _e(), Te.value += 1, $e.value += 1, xe.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
155
|
-
},
|
|
156
|
-
{ deep: !0 }
|
|
157
|
-
);
|
|
158
|
-
const { isPrinting: de, isImaging: he, generatePdf: Ee, generateImage: Me } = pl({
|
|
159
|
-
elementId: `galaxy_${k.value}`,
|
|
160
|
-
fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
|
|
161
|
-
options: e.value.userOptions.print
|
|
162
|
-
}), $t = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), xt = d(() => ll(e.value.customPalette)), f = n({
|
|
163
|
-
dataLabels: {
|
|
164
|
-
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
165
|
-
},
|
|
166
|
-
showTable: e.value.table.show,
|
|
167
|
-
showTooltip: e.value.style.chart.tooltip.show
|
|
168
|
-
}), ee = n(250), te = n(180), St = n(0), Pt = n(0), A = d(() => ({
|
|
169
|
-
width: ee.value,
|
|
170
|
-
height: te.value,
|
|
171
|
-
viewBox: `${St.value} ${Pt.value} ${ee.value} ${te.value}`
|
|
172
|
-
})), ge = vt, g = n([]);
|
|
173
|
-
function At() {
|
|
174
|
-
g.value.length ? g.value = [] : W.value.forEach((t) => {
|
|
175
|
-
g.value.push(t.id);
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
function z(t) {
|
|
179
|
-
g.value.includes(t.id) ? g.value = g.value.filter((a) => a !== t.id) : g.value.push(t.id), ge(
|
|
180
|
-
"selectLegend",
|
|
181
|
-
V.value.map((a) => ({
|
|
182
|
-
name: a.name,
|
|
183
|
-
color: a.color,
|
|
184
|
-
value: a.value
|
|
185
|
-
}))
|
|
186
|
-
);
|
|
187
|
-
}
|
|
188
|
-
function Re(t) {
|
|
189
|
-
if (!w.value.length)
|
|
190
|
-
return e.value.debug && console.warn("VueUiGalaxy - There are no series to show."), null;
|
|
191
|
-
const a = w.value.find((l) => l.name === t);
|
|
192
|
-
return a || (e.value.debug && console.warn(`VueUiGalaxy - Series name not found "${t}"`), null);
|
|
193
|
-
}
|
|
194
|
-
function Ot(t) {
|
|
195
|
-
const a = Re(t);
|
|
196
|
-
a !== null && g.value.includes(a.id) && z({ id: a.id });
|
|
197
|
-
}
|
|
198
|
-
function It(t) {
|
|
199
|
-
const a = Re(t);
|
|
200
|
-
a !== null && (g.value.includes(a.id) || z({ id: a.id }));
|
|
201
|
-
}
|
|
202
|
-
const w = d(() => Fe.value.map((t, a) => ({
|
|
203
|
-
name: t.name,
|
|
204
|
-
color: al(t.color) || xt.value[a] || se[a] || se[a % se.length],
|
|
205
|
-
value: t.values ? st(t.values).reduce((l, o) => l + o, 0) : 0,
|
|
206
|
-
absoluteValues: st(t.values),
|
|
207
|
-
id: at()
|
|
208
|
-
})).sort((t, a) => a.value - t.value).map((t, a) => ({
|
|
209
|
-
...t,
|
|
210
|
-
absoluteIndex: a
|
|
211
|
-
})));
|
|
212
|
-
function Lt() {
|
|
213
|
-
return w.value.map((t) => ({
|
|
214
|
-
name: t.name,
|
|
215
|
-
color: t.color,
|
|
216
|
-
value: t.value
|
|
217
|
-
}));
|
|
218
|
-
}
|
|
219
|
-
const S = d(() => w.value.filter((t) => !g.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Ue = n(190), ze = d(() => w.value.filter((t) => !g.value.includes(t.id))), Dt = d(
|
|
220
|
-
() => (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) / 2 + (e.value.style.chart.layout.padding ?? 12)
|
|
221
|
-
), Ft = d(() => ol({
|
|
222
|
-
maxPoints: Ue.value,
|
|
223
|
-
a: e.value.style.chart.layout.arcs.a ?? 6,
|
|
224
|
-
b: e.value.style.chart.layout.arcs.b ?? 6,
|
|
225
|
-
angleStep: e.value.style.chart.layout.arcs.angleStep ?? 0.07,
|
|
226
|
-
startX: A.value.width / 2 + e.value.style.chart.layout.arcs.offsetX,
|
|
227
|
-
startY: A.value.height / 2 + e.value.style.chart.layout.arcs.offsetY,
|
|
228
|
-
boxWidth: A.value.width,
|
|
229
|
-
boxHeight: A.value.height,
|
|
230
|
-
padding: Dt.value
|
|
231
|
-
})), V = d(() => {
|
|
232
|
-
const t = [];
|
|
233
|
-
for (let a = 0; a < ze.value.length; a += 1) {
|
|
234
|
-
const l = ze.value[a], o = l.value / S.value * Ue.value + (a > 0 && t.length ? t[a - 1].points : 0);
|
|
235
|
-
t.push({
|
|
236
|
-
points: o,
|
|
237
|
-
...l,
|
|
238
|
-
seriesIndex: a,
|
|
239
|
-
proportion: l.value / S.value,
|
|
240
|
-
path: Ft.value(o)
|
|
241
|
-
});
|
|
242
|
-
}
|
|
243
|
-
return t.filter((a) => !g.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
244
|
-
});
|
|
245
|
-
function pe(t) {
|
|
246
|
-
const a = Math.min(ee.value, te.value), l = P.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, o = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * l, v = e.value.style.chart.layout.arcs.strokeWidth * l, s = e.value.style.chart.layout.arcs.strokeWidth / 2 * l;
|
|
247
|
-
return {
|
|
248
|
-
border: o / 180 * a,
|
|
249
|
-
path: v / 180 * a,
|
|
250
|
-
blur: s / 180 * a
|
|
251
|
-
};
|
|
252
|
-
}
|
|
253
|
-
const N = n(!1);
|
|
254
|
-
function We(t) {
|
|
255
|
-
N.value = t, we.value += 1;
|
|
256
|
-
}
|
|
257
|
-
const le = n(null);
|
|
258
|
-
function fe() {
|
|
259
|
-
j.value = !1, P.value = null, B.value = null, J.value = null;
|
|
260
|
-
}
|
|
261
|
-
function Nt(t) {
|
|
262
|
-
if (!F.value || !t) return;
|
|
263
|
-
const a = F.value.querySelector(
|
|
264
|
-
`[data-a11y-serie-id="${t}"]`
|
|
265
|
-
);
|
|
266
|
-
if (!a) return;
|
|
267
|
-
const l = a.getBoundingClientRect();
|
|
268
|
-
Le.value = {
|
|
269
|
-
x: l.left + l.width / 2,
|
|
270
|
-
y: l.top + l.height / 2
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
function _t(t) {
|
|
274
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
275
|
-
datapoint: t,
|
|
276
|
-
seriesIndex: t.absoluteIndex
|
|
277
|
-
}), !(J.value === t.id && ie.value === "keyboard") && (j.value = !1, P.value = null);
|
|
278
|
-
}
|
|
279
|
-
function Ge(t) {
|
|
280
|
-
ge("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({
|
|
281
|
-
datapoint: t,
|
|
282
|
-
seriesIndex: t.absoluteIndex
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
function He({ val: t, percentage: a, showVal: l, showPercentage: o }) {
|
|
286
|
-
const v = e.value.style.chart.layout.labels.dataLabels;
|
|
287
|
-
return il({
|
|
288
|
-
config: v,
|
|
289
|
-
val: t,
|
|
290
|
-
percentage: a,
|
|
291
|
-
showVal: l,
|
|
292
|
-
showPercentage: o
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
function Xe({
|
|
296
|
-
datapoint: t,
|
|
297
|
-
_relativeIndex: a,
|
|
298
|
-
seriesIndex: l,
|
|
299
|
-
show: o = !1,
|
|
300
|
-
triggerMode: v = "pointer",
|
|
301
|
-
flatIndex: s = null
|
|
302
|
-
}) {
|
|
303
|
-
if (e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
304
|
-
datapoint: t,
|
|
305
|
-
seriesIndex: t.absoluteIndex
|
|
306
|
-
}), !f.value.showTooltip) return;
|
|
307
|
-
ie.value = v, B.value = s, J.value = t.id, le.value = {
|
|
308
|
-
datapoint: t,
|
|
309
|
-
seriesIndex: l,
|
|
310
|
-
series: w.value,
|
|
311
|
-
config: e.value
|
|
312
|
-
}, j.value = o, P.value = t.id;
|
|
313
|
-
let y = "";
|
|
314
|
-
const I = e.value.style.chart.tooltip.customFormat;
|
|
315
|
-
rt(I) && rl(
|
|
316
|
-
() => I({
|
|
317
|
-
seriesIndex: l,
|
|
318
|
-
datapoint: t,
|
|
319
|
-
series: w.value,
|
|
320
|
-
config: e.value
|
|
321
|
-
})
|
|
322
|
-
) ? ue.value = I({
|
|
323
|
-
seriesIndex: l,
|
|
324
|
-
datapoint: t,
|
|
325
|
-
series: w.value,
|
|
326
|
-
config: e.value
|
|
327
|
-
}) : (y += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, y += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, y += `<b>${He({
|
|
328
|
-
showVal: e.value.style.chart.tooltip.showValue,
|
|
329
|
-
showPercentage: e.value.style.chart.tooltip.showPercentage,
|
|
330
|
-
val: ut(
|
|
331
|
-
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
332
|
-
t.value,
|
|
333
|
-
D({
|
|
334
|
-
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
335
|
-
v: t.value,
|
|
336
|
-
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
337
|
-
r: e.value.style.chart.tooltip.roundingValue
|
|
338
|
-
}),
|
|
339
|
-
{ datapoint: t, seriesIndex: l }
|
|
340
|
-
),
|
|
341
|
-
percentage: D({
|
|
342
|
-
v: t.proportion * 100,
|
|
343
|
-
s: "%",
|
|
344
|
-
r: e.value.style.chart.tooltip.roundingPercentage
|
|
345
|
-
})
|
|
346
|
-
})}</b></div>`, ue.value = `<div>${y}</div>`), v === "keyboard" && ne(() => {
|
|
347
|
-
Nt(t.id);
|
|
348
|
-
});
|
|
349
|
-
}
|
|
350
|
-
const W = d(() => w.value.map((t, a) => {
|
|
351
|
-
const l = ut(
|
|
352
|
-
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
353
|
-
t.value,
|
|
354
|
-
D({
|
|
355
|
-
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
356
|
-
v: t.value,
|
|
357
|
-
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
358
|
-
r: e.value.style.chart.legend.roundingValue
|
|
359
|
-
}),
|
|
360
|
-
{ datapoint: t, index: a }
|
|
361
|
-
), o = isNaN(t.value / S.value) || g.value.includes(t.id) ? "-" : D({
|
|
362
|
-
v: t.value / S.value * 100,
|
|
363
|
-
s: "%",
|
|
364
|
-
r: e.value.style.chart.legend.roundingPercentage
|
|
365
|
-
}), v = He({
|
|
366
|
-
showVal: e.value.style.chart.legend.showValue,
|
|
367
|
-
showPercentage: e.value.style.chart.legend.showPercentage,
|
|
368
|
-
val: l,
|
|
369
|
-
percentage: o
|
|
370
|
-
});
|
|
371
|
-
return {
|
|
372
|
-
...t,
|
|
373
|
-
proportion: (t.value || 0) / Fe.value.map((s) => (s.values || []).reduce((y, I) => y + I, 0)).reduce((s, y) => s + y, 0),
|
|
374
|
-
opacity: g.value.includes(t.id) ? 0.5 : 1,
|
|
375
|
-
shape: t.shape || "circle",
|
|
376
|
-
segregate: () => z(t),
|
|
377
|
-
isSegregated: g.value.includes(t.id),
|
|
378
|
-
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${v}`
|
|
379
|
-
};
|
|
380
|
-
})), Bt = d(() => ({
|
|
381
|
-
cy: "galaxy-div-legend",
|
|
382
|
-
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
383
|
-
color: e.value.style.chart.legend.color,
|
|
384
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
385
|
-
paddingBottom: 12,
|
|
386
|
-
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
387
|
-
})), O = d(() => {
|
|
388
|
-
const t = V.value.map((l) => ({
|
|
389
|
-
name: l.name,
|
|
390
|
-
color: l.color
|
|
391
|
-
})), a = V.value.map((l) => l.value);
|
|
392
|
-
return { head: t, body: a };
|
|
393
|
-
});
|
|
394
|
-
function ye(t = null) {
|
|
395
|
-
ne(() => {
|
|
396
|
-
const a = O.value.head.map((v, s) => [
|
|
397
|
-
[v.name],
|
|
398
|
-
[O.value.body[s]],
|
|
399
|
-
[
|
|
400
|
-
isNaN(O.value.body[s] / S.value) ? "-" : O.value.body[s] / S.value * 100
|
|
401
|
-
]
|
|
402
|
-
]), l = [
|
|
403
|
-
[e.value.style.chart.title.text],
|
|
404
|
-
[e.value.style.chart.title.subtitle.text],
|
|
405
|
-
[[""], ["val"], ["%"]]
|
|
406
|
-
].concat(a), o = sl(l);
|
|
407
|
-
t ? t(o) : ul({
|
|
408
|
-
csvContent: o,
|
|
409
|
-
title: e.value.style.chart.title.text || "vue-ui-galaxy"
|
|
410
|
-
});
|
|
411
|
-
});
|
|
412
|
-
}
|
|
413
|
-
const E = d(() => {
|
|
414
|
-
const t = [
|
|
415
|
-
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
416
|
-
D({
|
|
417
|
-
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
418
|
-
v: S.value,
|
|
419
|
-
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
420
|
-
r: e.value.table.td.roundingValue
|
|
421
|
-
}),
|
|
422
|
-
"100%"
|
|
423
|
-
], a = O.value.head.map((v, s) => {
|
|
424
|
-
const y = D({
|
|
425
|
-
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
426
|
-
v: O.value.body[s],
|
|
427
|
-
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
428
|
-
r: e.value.table.td.roundingValue
|
|
429
|
-
});
|
|
430
|
-
return [
|
|
431
|
-
{
|
|
432
|
-
color: v.color,
|
|
433
|
-
name: v.name
|
|
434
|
-
},
|
|
435
|
-
y,
|
|
436
|
-
isNaN(O.value.body[s] / S.value) ? "-" : D({
|
|
437
|
-
v: O.value.body[s] / S.value * 100,
|
|
438
|
-
s: "%",
|
|
439
|
-
r: e.value.table.td.roundingPercentage
|
|
440
|
-
})
|
|
441
|
-
];
|
|
442
|
-
}), l = {
|
|
443
|
-
th: {
|
|
444
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
445
|
-
color: e.value.table.th.color,
|
|
446
|
-
outline: e.value.table.th.outline
|
|
447
|
-
},
|
|
448
|
-
td: {
|
|
449
|
-
backgroundColor: e.value.table.td.backgroundColor,
|
|
450
|
-
color: e.value.table.td.color,
|
|
451
|
-
outline: e.value.table.td.outline
|
|
452
|
-
},
|
|
453
|
-
breakpoint: e.value.table.responsiveBreakpoint
|
|
454
|
-
};
|
|
455
|
-
return {
|
|
456
|
-
colNames: [
|
|
457
|
-
e.value.table.columnNames.series,
|
|
458
|
-
e.value.table.columnNames.value,
|
|
459
|
-
e.value.table.columnNames.percentage
|
|
460
|
-
],
|
|
461
|
-
head: t,
|
|
462
|
-
body: a,
|
|
463
|
-
config: l
|
|
464
|
-
};
|
|
465
|
-
});
|
|
466
|
-
function je() {
|
|
467
|
-
f.value.showTable = !f.value.showTable;
|
|
468
|
-
}
|
|
469
|
-
function Ke() {
|
|
470
|
-
f.value.showTooltip = !f.value.showTooltip;
|
|
471
|
-
}
|
|
472
|
-
const G = n(!1);
|
|
473
|
-
function be() {
|
|
474
|
-
G.value = !G.value;
|
|
475
|
-
}
|
|
476
|
-
async function Vt({ scale: t = 2 } = {}) {
|
|
477
|
-
if (!x.value) return;
|
|
478
|
-
const { width: a, height: l } = x.value.getBoundingClientRect(), o = a / l, { imageUri: v, base64: s } = await kl({
|
|
479
|
-
domElement: x.value,
|
|
480
|
-
base64: !0,
|
|
481
|
-
img: !0,
|
|
482
|
-
scale: t
|
|
483
|
-
});
|
|
484
|
-
return {
|
|
485
|
-
imageUri: v,
|
|
486
|
-
base64: s,
|
|
487
|
-
title: e.value.style.chart.title.text,
|
|
488
|
-
width: a,
|
|
489
|
-
height: l,
|
|
490
|
-
aspectRatio: o
|
|
491
|
-
};
|
|
492
|
-
}
|
|
493
|
-
const H = d(() => {
|
|
494
|
-
const t = e.value.table.useDialog && !e.value.table.show, a = f.value.showTable;
|
|
495
|
-
return {
|
|
496
|
-
component: t ? mt : gt,
|
|
497
|
-
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
498
|
-
props: t ? {
|
|
499
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
500
|
-
color: e.value.table.th.color,
|
|
501
|
-
headerColor: e.value.table.th.color,
|
|
502
|
-
headerBg: e.value.table.th.backgroundColor,
|
|
503
|
-
isFullscreen: N.value,
|
|
504
|
-
fullscreenParent: x.value,
|
|
505
|
-
forcedWidth: Math.min(500, window.innerWidth * 0.8),
|
|
506
|
-
isCursorPointer: U.value
|
|
507
|
-
} : {
|
|
508
|
-
hideDetails: !0,
|
|
509
|
-
config: {
|
|
510
|
-
open: a,
|
|
511
|
-
maxHeight: 1e4,
|
|
512
|
-
body: {
|
|
513
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
514
|
-
color: e.value.style.chart.color
|
|
515
|
-
},
|
|
516
|
-
head: {
|
|
517
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
518
|
-
color: e.value.style.chart.color
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
};
|
|
523
|
-
});
|
|
524
|
-
Qe(
|
|
525
|
-
() => f.value.showTable,
|
|
526
|
-
(t) => {
|
|
527
|
-
e.value.table.show || (t && e.value.table.useDialog && R.value ? R.value.open() : "close" in R.value && R.value.close());
|
|
528
|
-
}
|
|
529
|
-
);
|
|
530
|
-
function Ye() {
|
|
531
|
-
f.value.showTable = !1, re.value && re.value.setTableIconState(!1);
|
|
532
|
-
}
|
|
533
|
-
const Et = d(() => W.value.map((t) => ({
|
|
534
|
-
...t,
|
|
535
|
-
name: t.display
|
|
536
|
-
}))), Mt = d(() => e.value.style.chart.backgroundColor), Rt = d(() => e.value.style.chart.legend), Ut = d(() => e.value.style.chart.title), { exportSvg: zt, getSvg: Wt } = fl({
|
|
537
|
-
svg: F,
|
|
538
|
-
title: Ut,
|
|
539
|
-
legend: Rt,
|
|
540
|
-
legendItems: Et,
|
|
541
|
-
backgroundColor: Mt
|
|
542
|
-
});
|
|
543
|
-
async function qe({ isCb: t }) {
|
|
544
|
-
q.value = !0, await ne();
|
|
545
|
-
try {
|
|
546
|
-
if (t) {
|
|
547
|
-
const { blob: a, url: l, text: o, dataUrl: v } = await Wt();
|
|
548
|
-
await Promise.resolve(
|
|
549
|
-
e.value.userOptions.callbacks.svg({
|
|
550
|
-
blob: a,
|
|
551
|
-
url: l,
|
|
552
|
-
text: o,
|
|
553
|
-
dataUrl: v
|
|
554
|
-
})
|
|
555
|
-
);
|
|
556
|
-
} else
|
|
557
|
-
await Promise.resolve(zt());
|
|
558
|
-
} finally {
|
|
559
|
-
q.value = !1;
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
function Gt(t) {
|
|
563
|
-
if (t?.stage === "start") {
|
|
564
|
-
Y.value = !0;
|
|
565
|
-
return;
|
|
566
|
-
}
|
|
567
|
-
if (t?.stage === "end") {
|
|
568
|
-
Y.value = !1;
|
|
569
|
-
return;
|
|
570
|
-
}
|
|
571
|
-
Me();
|
|
572
|
-
}
|
|
573
|
-
async function Je() {
|
|
574
|
-
if (ge("copyAlt", {
|
|
575
|
-
config: e.value,
|
|
576
|
-
dataset: w.value
|
|
577
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
578
|
-
console.warn(
|
|
579
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
580
|
-
);
|
|
581
|
-
return;
|
|
582
|
-
}
|
|
583
|
-
await Promise.resolve(
|
|
584
|
-
e.value.userOptions.callbacks.altCopy({
|
|
585
|
-
config: e.value,
|
|
586
|
-
dataset: w.value
|
|
587
|
-
})
|
|
588
|
-
);
|
|
589
|
-
}
|
|
590
|
-
function Ht() {
|
|
591
|
-
B.value = null, J.value = null, Q.value = !0;
|
|
592
|
-
}
|
|
593
|
-
function Xt() {
|
|
594
|
-
fe(), Q.value = !1;
|
|
595
|
-
}
|
|
596
|
-
function jt(t) {
|
|
597
|
-
if (!F.value || G.value || document.activeElement !== F.value || !_.value.length) return;
|
|
598
|
-
const a = t.key === "ArrowLeft" || t.key === "ArrowUp", l = t.key === "ArrowRight" || t.key === "ArrowDown", o = t.key === "Enter" || t.key === " ", v = t.key === "Escape";
|
|
599
|
-
if (!a && !l && !o && !v)
|
|
600
|
-
return;
|
|
601
|
-
if (t.preventDefault(), t.stopPropagation(), v) {
|
|
602
|
-
fe();
|
|
603
|
-
return;
|
|
604
|
-
}
|
|
605
|
-
if (o) {
|
|
606
|
-
if (B.value === null) return;
|
|
607
|
-
const I = _.value[B.value];
|
|
608
|
-
if (!I) return;
|
|
609
|
-
Ge(I.datapoint);
|
|
610
|
-
return;
|
|
611
|
-
}
|
|
612
|
-
let s = B.value;
|
|
613
|
-
s === null || s < 0 || s >= _.value.length ? s = l ? 0 : _.value.length - 1 : (s += l ? 1 : -1, s < 0 && (s = _.value.length - 1), s >= _.value.length && (s = 0));
|
|
614
|
-
const y = _.value[s];
|
|
615
|
-
y && Xe({
|
|
616
|
-
datapoint: y.datapoint,
|
|
617
|
-
seriesIndex: y.datapoint.seriesIndex,
|
|
618
|
-
show: !0,
|
|
619
|
-
triggerMode: "keyboard",
|
|
620
|
-
flatIndex: s
|
|
621
|
-
});
|
|
622
|
-
}
|
|
623
|
-
const me = d(() => {
|
|
624
|
-
const t = E.value?.colNames ?? [], a = E.value?.body ?? [];
|
|
625
|
-
return { headers: t, rows: a };
|
|
626
|
-
}), _ = d(() => V.value.map((t, a) => ({
|
|
627
|
-
datapoint: t,
|
|
628
|
-
index: a
|
|
629
|
-
})));
|
|
630
|
-
return ct({
|
|
631
|
-
getData: Lt,
|
|
632
|
-
getImage: Vt,
|
|
633
|
-
generatePdf: Ee,
|
|
634
|
-
generateCsv: ye,
|
|
635
|
-
generateImage: Me,
|
|
636
|
-
generateSvg: qe,
|
|
637
|
-
hideSeries: It,
|
|
638
|
-
showSeries: Ot,
|
|
639
|
-
toggleTable: je,
|
|
640
|
-
toggleTooltip: Ke,
|
|
641
|
-
toggleAnnotator: be,
|
|
642
|
-
toggleFullscreen: We,
|
|
643
|
-
copyAlt: Je
|
|
644
|
-
}), (t, a) => (u(), p("div", {
|
|
645
|
-
ref_key: "galaxyChart",
|
|
646
|
-
ref: x,
|
|
647
|
-
class: ae(`vue-data-ui-component vue-ui-galaxy ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${r(Z) ? "loading" : ""}`),
|
|
648
|
-
style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
649
|
-
id: `galaxy_${k.value}`,
|
|
650
|
-
onMouseenter: a[2] || (a[2] = () => r(Be)(!0)),
|
|
651
|
-
onMouseleave: a[3] || (a[3] = () => {
|
|
652
|
-
r(Be)(!1), Q.value || fe();
|
|
653
|
-
})
|
|
654
|
-
}, [
|
|
655
|
-
C("div", {
|
|
656
|
-
id: `chart-instructions-${k.value}`,
|
|
657
|
-
class: "sr-only"
|
|
658
|
-
}, [
|
|
659
|
-
C("p", null, oe(e.value.a11y.translations.keyboardNavigation), 1)
|
|
660
|
-
], 8, Al),
|
|
661
|
-
me.value?.rows?.length ? (u(), $($l, {
|
|
662
|
-
key: 0,
|
|
663
|
-
uid: k.value,
|
|
664
|
-
head: me.value.headers,
|
|
665
|
-
body: me.value.rows,
|
|
666
|
-
notice: e.value.a11y.translations.tableAvailable,
|
|
667
|
-
caption: e.value.a11y.translations.tableCaption
|
|
668
|
-
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : h("", !0),
|
|
669
|
-
e.value.userOptions.buttons.annotator ? (u(), $(r(ft), {
|
|
670
|
-
key: 1,
|
|
671
|
-
svgRef: r(F),
|
|
672
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
673
|
-
color: e.value.style.chart.color,
|
|
674
|
-
active: G.value,
|
|
675
|
-
isCursorPointer: U.value,
|
|
676
|
-
onClose: be
|
|
677
|
-
}, {
|
|
678
|
-
"annotator-action-close": i(() => [
|
|
679
|
-
c(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
680
|
-
]),
|
|
681
|
-
"annotator-action-color": i(({ color: l }) => [
|
|
682
|
-
c(t.$slots, "annotator-action-color", b(m({ color: l })), void 0, !0)
|
|
683
|
-
]),
|
|
684
|
-
"annotator-action-draw": i(({ mode: l }) => [
|
|
685
|
-
c(t.$slots, "annotator-action-draw", b(m({ mode: l })), void 0, !0)
|
|
686
|
-
]),
|
|
687
|
-
"annotator-action-undo": i(({ disabled: l }) => [
|
|
688
|
-
c(t.$slots, "annotator-action-undo", b(m({ disabled: l })), void 0, !0)
|
|
689
|
-
]),
|
|
690
|
-
"annotator-action-redo": i(({ disabled: l }) => [
|
|
691
|
-
c(t.$slots, "annotator-action-redo", b(m({ disabled: l })), void 0, !0)
|
|
692
|
-
]),
|
|
693
|
-
"annotator-action-delete": i(({ disabled: l }) => [
|
|
694
|
-
c(t.$slots, "annotator-action-delete", b(m({ disabled: l })), void 0, !0)
|
|
695
|
-
]),
|
|
696
|
-
_: 3
|
|
697
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : h("", !0),
|
|
698
|
-
$t.value ? (u(), p("div", {
|
|
699
|
-
key: 2,
|
|
700
|
-
ref_key: "noTitle",
|
|
701
|
-
ref: Oe,
|
|
702
|
-
class: "vue-data-ui-no-title-space",
|
|
703
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
704
|
-
}, null, 512)) : h("", !0),
|
|
705
|
-
e.value.style.chart.title.text ? (u(), p("div", {
|
|
706
|
-
key: 3,
|
|
707
|
-
ref_key: "chartTitle",
|
|
708
|
-
ref: Se,
|
|
709
|
-
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
710
|
-
}, [
|
|
711
|
-
(u(), $(Cl, {
|
|
712
|
-
key: `title_${Te.value}`,
|
|
713
|
-
config: {
|
|
714
|
-
title: {
|
|
715
|
-
cy: "galaxy-div-title",
|
|
716
|
-
...e.value.style.chart.title
|
|
717
|
-
},
|
|
718
|
-
subtitle: {
|
|
719
|
-
cy: "galaxy-div-subtitle",
|
|
720
|
-
...e.value.style.chart.title.subtitle
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
}, null, 8, ["config"]))
|
|
724
|
-
], 512)) : h("", !0),
|
|
725
|
-
C("div", {
|
|
726
|
-
id: `legend-top-${k.value}`
|
|
727
|
-
}, null, 8, Ol),
|
|
728
|
-
e.value.userOptions.show && De.value && (r(Ve) || r(ce)) ? (u(), $(r(yt), {
|
|
729
|
-
ref_key: "userOptionsRef",
|
|
730
|
-
ref: re,
|
|
731
|
-
key: `user_option_${we.value}`,
|
|
732
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
733
|
-
color: e.value.style.chart.color,
|
|
734
|
-
isPrinting: r(de),
|
|
735
|
-
isImaging: r(he),
|
|
736
|
-
uid: k.value,
|
|
737
|
-
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
738
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
739
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
740
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
741
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
742
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
743
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
744
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
745
|
-
isTooltip: f.value.showTooltip,
|
|
746
|
-
isFullscreen: N.value,
|
|
747
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
748
|
-
chartElement: x.value,
|
|
749
|
-
position: e.value.userOptions.position,
|
|
750
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
751
|
-
isAnnotation: G.value,
|
|
752
|
-
callbacks: e.value.userOptions.callbacks,
|
|
753
|
-
printScale: e.value.userOptions.print.scale,
|
|
754
|
-
tableDialog: e.value.table.useDialog,
|
|
755
|
-
isCursorPointer: U.value,
|
|
756
|
-
onToggleFullscreen: We,
|
|
757
|
-
onGeneratePdf: r(Ee),
|
|
758
|
-
onGenerateCsv: ye,
|
|
759
|
-
onGenerateImage: Gt,
|
|
760
|
-
onGenerateSvg: qe,
|
|
761
|
-
onToggleTable: je,
|
|
762
|
-
onToggleTooltip: Ke,
|
|
763
|
-
onToggleAnnotator: be,
|
|
764
|
-
onCopyAlt: Je,
|
|
765
|
-
style: X({
|
|
766
|
-
visibility: r(Ve) ? r(ce) ? "visible" : "hidden" : "visible"
|
|
767
|
-
})
|
|
768
|
-
}, Ze({ _: 2 }, [
|
|
769
|
-
t.$slots.menuIcon ? {
|
|
770
|
-
name: "menuIcon",
|
|
771
|
-
fn: i(({ isOpen: l, color: o }) => [
|
|
772
|
-
c(t.$slots, "menuIcon", b(m({ isOpen: l, color: o })), void 0, !0)
|
|
773
|
-
]),
|
|
774
|
-
key: "0"
|
|
775
|
-
} : void 0,
|
|
776
|
-
t.$slots.optionTooltip ? {
|
|
777
|
-
name: "optionTooltip",
|
|
778
|
-
fn: i(() => [
|
|
779
|
-
c(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
780
|
-
]),
|
|
781
|
-
key: "1"
|
|
782
|
-
} : void 0,
|
|
783
|
-
t.$slots.optionPdf ? {
|
|
784
|
-
name: "optionPdf",
|
|
785
|
-
fn: i(() => [
|
|
786
|
-
c(t.$slots, "optionPdf", {}, void 0, !0)
|
|
787
|
-
]),
|
|
788
|
-
key: "2"
|
|
789
|
-
} : void 0,
|
|
790
|
-
t.$slots.optionCsv ? {
|
|
791
|
-
name: "optionCsv",
|
|
792
|
-
fn: i(() => [
|
|
793
|
-
c(t.$slots, "optionCsv", {}, void 0, !0)
|
|
794
|
-
]),
|
|
795
|
-
key: "3"
|
|
796
|
-
} : void 0,
|
|
797
|
-
t.$slots.optionImg ? {
|
|
798
|
-
name: "optionImg",
|
|
799
|
-
fn: i(() => [
|
|
800
|
-
c(t.$slots, "optionImg", {}, void 0, !0)
|
|
801
|
-
]),
|
|
802
|
-
key: "4"
|
|
803
|
-
} : void 0,
|
|
804
|
-
t.$slots.optionSvg ? {
|
|
805
|
-
name: "optionSvg",
|
|
806
|
-
fn: i(() => [
|
|
807
|
-
c(t.$slots, "optionSvg", {}, void 0, !0)
|
|
808
|
-
]),
|
|
809
|
-
key: "5"
|
|
810
|
-
} : void 0,
|
|
811
|
-
t.$slots.optionTable ? {
|
|
812
|
-
name: "optionTable",
|
|
813
|
-
fn: i(() => [
|
|
814
|
-
c(t.$slots, "optionTable", {}, void 0, !0)
|
|
815
|
-
]),
|
|
816
|
-
key: "6"
|
|
817
|
-
} : void 0,
|
|
818
|
-
t.$slots.optionFullscreen ? {
|
|
819
|
-
name: "optionFullscreen",
|
|
820
|
-
fn: i(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
821
|
-
c(t.$slots, "optionFullscreen", b(m({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
822
|
-
]),
|
|
823
|
-
key: "7"
|
|
824
|
-
} : void 0,
|
|
825
|
-
t.$slots.optionAnnotator ? {
|
|
826
|
-
name: "optionAnnotator",
|
|
827
|
-
fn: i(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
828
|
-
c(t.$slots, "optionAnnotator", b(m({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
829
|
-
]),
|
|
830
|
-
key: "8"
|
|
831
|
-
} : void 0,
|
|
832
|
-
t.$slots.optionAltCopy ? {
|
|
833
|
-
name: "optionAltCopy",
|
|
834
|
-
fn: i(({ altCopy: l }) => [
|
|
835
|
-
c(t.$slots, "optionAltCopy", b(m({ altCopy: l })), void 0, !0)
|
|
836
|
-
]),
|
|
837
|
-
key: "9"
|
|
838
|
-
} : void 0
|
|
839
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "hasAltCopy", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : h("", !0),
|
|
840
|
-
C("div", Il, [
|
|
841
|
-
(u(), p("svg", {
|
|
842
|
-
ref_key: "svgRef",
|
|
843
|
-
ref: F,
|
|
844
|
-
xmlns: r(nl),
|
|
845
|
-
"aria-describedby": `chart-instructions-${k.value}`,
|
|
846
|
-
class: ae({
|
|
847
|
-
"vue-data-ui-fullscreen--on": N.value,
|
|
848
|
-
"vue-data-ui-fulscreen--off": !N.value
|
|
849
|
-
}),
|
|
850
|
-
viewBox: A.value.viewBox,
|
|
851
|
-
style: X(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`),
|
|
852
|
-
tabindex: "0",
|
|
853
|
-
onFocus: Ht,
|
|
854
|
-
onBlur: Xt,
|
|
855
|
-
onKeydown: jt
|
|
856
|
-
}, [
|
|
857
|
-
ke(r(bt)),
|
|
858
|
-
t.$slots["chart-background"] ? (u(), p("foreignObject", {
|
|
859
|
-
key: 0,
|
|
860
|
-
x: 0,
|
|
861
|
-
y: 0,
|
|
862
|
-
width: A.value.width,
|
|
863
|
-
height: A.value.height,
|
|
864
|
-
style: {
|
|
865
|
-
pointerEvents: "none"
|
|
866
|
-
}
|
|
867
|
-
}, [
|
|
868
|
-
c(t.$slots, "chart-background", {}, void 0, !0)
|
|
869
|
-
], 8, Dl)) : h("", !0),
|
|
870
|
-
C("defs", null, [
|
|
871
|
-
C("filter", {
|
|
872
|
-
id: `blur_${k.value}`,
|
|
873
|
-
x: "-50%",
|
|
874
|
-
y: "-50%",
|
|
875
|
-
width: "200%",
|
|
876
|
-
height: "200%"
|
|
877
|
-
}, [
|
|
878
|
-
C("feGaussianBlur", {
|
|
879
|
-
in: "SourceGraphic",
|
|
880
|
-
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
881
|
-
}, null, 8, Nl)
|
|
882
|
-
], 8, Fl)
|
|
883
|
-
]),
|
|
884
|
-
(u(!0), p(et, null, tt(V.value, (l) => (u(), p("g", null, [
|
|
885
|
-
l.value ? (u(), p("path", {
|
|
886
|
-
key: 0,
|
|
887
|
-
d: l.path,
|
|
888
|
-
fill: "none",
|
|
889
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
890
|
-
"stroke-width": pe(l).border,
|
|
891
|
-
"stroke-linecap": "round"
|
|
892
|
-
}, null, 8, _l)) : h("", !0),
|
|
893
|
-
l.value ? (u(), p("path", {
|
|
894
|
-
key: 1,
|
|
895
|
-
d: l.path,
|
|
896
|
-
fill: "none",
|
|
897
|
-
stroke: l.color,
|
|
898
|
-
"stroke-width": pe(l).path,
|
|
899
|
-
"stroke-linecap": "round",
|
|
900
|
-
class: ae(`${P.value && P.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
901
|
-
}, null, 10, Bl)) : h("", !0),
|
|
902
|
-
l.value && e.value.style.chart.layout.arcs.gradient.show ? (u(), p("g", {
|
|
903
|
-
key: 2,
|
|
904
|
-
filter: `url(#blur_${k.value})`
|
|
905
|
-
}, [
|
|
906
|
-
C("path", {
|
|
907
|
-
d: l.path,
|
|
908
|
-
fill: "none",
|
|
909
|
-
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
910
|
-
"stroke-width": pe(l).blur,
|
|
911
|
-
"stroke-linecap": "round",
|
|
912
|
-
class: ae(`vue-ui-galaxy-gradient ${P.value && P.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
913
|
-
}, null, 10, El)
|
|
914
|
-
], 8, Vl)) : h("", !0)
|
|
915
|
-
]))), 256)),
|
|
916
|
-
(u(!0), p(et, null, tt(V.value, (l, o) => (u(), p("g", null, [
|
|
917
|
-
l.value ? (u(), p("path", {
|
|
918
|
-
key: 0,
|
|
919
|
-
"data-a11y-serie-id": l.id,
|
|
920
|
-
d: l.path,
|
|
921
|
-
fill: "none",
|
|
922
|
-
stroke: "transparent",
|
|
923
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
924
|
-
"stroke-linecap": "round",
|
|
925
|
-
"aria-label": `${l.name}: ${r(D)({
|
|
926
|
-
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
927
|
-
v: l.value,
|
|
928
|
-
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
929
|
-
r: e.value.style.chart.tooltip.roundingValue
|
|
930
|
-
})}`,
|
|
931
|
-
onMouseenter: (v) => Xe({
|
|
932
|
-
datapoint: l,
|
|
933
|
-
seriesIndex: l.seriesIndex,
|
|
934
|
-
show: !0,
|
|
935
|
-
triggerMode: "pointer",
|
|
936
|
-
flatIndex: o
|
|
937
|
-
}),
|
|
938
|
-
onMouseleave: (v) => _t(l),
|
|
939
|
-
onClick: (v) => Ge(l)
|
|
940
|
-
}, null, 40, Ml)) : h("", !0)
|
|
941
|
-
]))), 256)),
|
|
942
|
-
c(t.$slots, "svg", {
|
|
943
|
-
svg: {
|
|
944
|
-
...A.value,
|
|
945
|
-
isPrintingImg: r(de) | r(he) | Y.value,
|
|
946
|
-
isPrintingSvg: q.value
|
|
947
|
-
}
|
|
948
|
-
}, void 0, !0)
|
|
949
|
-
], 46, Ll)),
|
|
950
|
-
t.$slots.hint ? (u(), p("div", Rl, [
|
|
951
|
-
c(t.$slots, "hint", b(m({
|
|
952
|
-
hint: e.value.a11y.translations.keyboardNavigation,
|
|
953
|
-
isVisible: Q.value
|
|
954
|
-
})), void 0, !0)
|
|
955
|
-
])) : h("", !0)
|
|
956
|
-
]),
|
|
957
|
-
t.$slots.watermark ? (u(), p("div", Ul, [
|
|
958
|
-
c(t.$slots, "watermark", b(m({
|
|
959
|
-
isPrinting: r(de) || r(he) || Y.value || q.value
|
|
960
|
-
})), void 0, !0)
|
|
961
|
-
])) : h("", !0),
|
|
962
|
-
C("div", {
|
|
963
|
-
id: `legend-bottom-${k.value}`
|
|
964
|
-
}, null, 8, zl),
|
|
965
|
-
Ie.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (u(), $(qt, {
|
|
966
|
-
key: 6,
|
|
967
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
968
|
-
}, [
|
|
969
|
-
C("div", {
|
|
970
|
-
ref_key: "chartLegend",
|
|
971
|
-
ref: Pe
|
|
972
|
-
}, [
|
|
973
|
-
c(t.$slots, "legend", { legend: W.value }, () => [
|
|
974
|
-
e.value.style.chart.legend.show ? (u(), $(wl, {
|
|
975
|
-
key: `legend_${xe.value}`,
|
|
976
|
-
legendSet: W.value,
|
|
977
|
-
config: Bt.value,
|
|
978
|
-
onClickMarker: a[0] || (a[0] = ({ legend: l }) => z(l))
|
|
979
|
-
}, {
|
|
980
|
-
item: i(({ legend: l, index: o }) => [
|
|
981
|
-
r(Z) ? h("", !0) : (u(), p("div", {
|
|
982
|
-
key: 0,
|
|
983
|
-
onClick: (v) => z(l),
|
|
984
|
-
style: X(`opacity:${g.value.includes(l.id) ? 0.5 : 1}`)
|
|
985
|
-
}, oe(l.display), 13, Wl))
|
|
986
|
-
]),
|
|
987
|
-
legendToggle: i(() => [
|
|
988
|
-
W.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !r(Z) ? (u(), $(xl, {
|
|
989
|
-
key: 0,
|
|
990
|
-
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
991
|
-
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
992
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
993
|
-
checked: g.value.length > 0,
|
|
994
|
-
onToggle: At
|
|
995
|
-
}, null, 8, ["backgroundColor", "color", "fontSize", "checked"])) : h("", !0)
|
|
996
|
-
]),
|
|
997
|
-
_: 1
|
|
998
|
-
}, 8, ["legendSet", "config"])) : h("", !0)
|
|
999
|
-
], !0)
|
|
1000
|
-
], 512)
|
|
1001
|
-
], 8, ["to"])) : h("", !0),
|
|
1002
|
-
t.$slots.source ? (u(), p("div", {
|
|
1003
|
-
key: 7,
|
|
1004
|
-
ref_key: "source",
|
|
1005
|
-
ref: Ae,
|
|
1006
|
-
dir: "auto"
|
|
1007
|
-
}, [
|
|
1008
|
-
c(t.$slots, "source", {}, void 0, !0)
|
|
1009
|
-
], 512)) : h("", !0),
|
|
1010
|
-
ke(r(dt), {
|
|
1011
|
-
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1012
|
-
show: f.value.showTooltip && j.value,
|
|
1013
|
-
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1014
|
-
color: e.value.style.chart.tooltip.color,
|
|
1015
|
-
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
1016
|
-
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
1017
|
-
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
1018
|
-
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
1019
|
-
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1020
|
-
position: e.value.style.chart.tooltip.position,
|
|
1021
|
-
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1022
|
-
parent: x.value,
|
|
1023
|
-
content: ue.value,
|
|
1024
|
-
isFullscreen: N.value,
|
|
1025
|
-
isCustom: r(rt)(e.value.style.chart.tooltip.customFormat),
|
|
1026
|
-
smooth: e.value.style.chart.tooltip.smooth,
|
|
1027
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
1028
|
-
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1029
|
-
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1030
|
-
isA11yMode: ie.value === "keyboard",
|
|
1031
|
-
a11yPosition: Le.value
|
|
1032
|
-
}, {
|
|
1033
|
-
"tooltip-before": i(() => [
|
|
1034
|
-
c(t.$slots, "tooltip-before", b(m({ ...le.value })), void 0, !0)
|
|
1035
|
-
]),
|
|
1036
|
-
tooltip: i(() => [
|
|
1037
|
-
c(t.$slots, "tooltip", b(m({ ...le.value })), void 0, !0)
|
|
1038
|
-
]),
|
|
1039
|
-
"tooltip-after": i(() => [
|
|
1040
|
-
c(t.$slots, "tooltip-after", b(m({ ...le.value })), void 0, !0)
|
|
1041
|
-
]),
|
|
1042
|
-
_: 3
|
|
1043
|
-
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
1044
|
-
De.value && e.value.userOptions.buttons.table ? (u(), $(Jt(H.value.component), Qt({ key: 8 }, H.value.props, {
|
|
1045
|
-
ref_key: "tableUnit",
|
|
1046
|
-
ref: R,
|
|
1047
|
-
onClose: Ye
|
|
1048
|
-
}), Ze({
|
|
1049
|
-
content: i(() => [
|
|
1050
|
-
(u(), $(r(pt), {
|
|
1051
|
-
key: `table_${$e.value}`,
|
|
1052
|
-
colNames: E.value.colNames,
|
|
1053
|
-
head: E.value.head,
|
|
1054
|
-
body: E.value.body,
|
|
1055
|
-
config: E.value.config,
|
|
1056
|
-
title: e.value.table.useDialog ? "" : H.value.title,
|
|
1057
|
-
withCloseButton: !e.value.table.useDialog,
|
|
1058
|
-
isCursorPointer: U.value,
|
|
1059
|
-
onClose: Ye
|
|
1060
|
-
}, {
|
|
1061
|
-
th: i(({ th: l }) => [
|
|
1062
|
-
C("div", {
|
|
1063
|
-
innerHTML: l,
|
|
1064
|
-
style: { display: "flex", "align-items": "center" }
|
|
1065
|
-
}, null, 8, Gl)
|
|
1066
|
-
]),
|
|
1067
|
-
td: i(({ td: l }) => [
|
|
1068
|
-
lt(oe(l.name || l), 1)
|
|
1069
|
-
]),
|
|
1070
|
-
_: 1
|
|
1071
|
-
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
|
|
1072
|
-
]),
|
|
1073
|
-
_: 2
|
|
1074
|
-
}, [
|
|
1075
|
-
e.value.table.useDialog ? {
|
|
1076
|
-
name: "title",
|
|
1077
|
-
fn: i(() => [
|
|
1078
|
-
lt(oe(H.value.title), 1)
|
|
1079
|
-
]),
|
|
1080
|
-
key: "0"
|
|
1081
|
-
} : void 0,
|
|
1082
|
-
e.value.table.useDialog ? {
|
|
1083
|
-
name: "actions",
|
|
1084
|
-
fn: i(() => [
|
|
1085
|
-
C("button", {
|
|
1086
|
-
tabindex: "0",
|
|
1087
|
-
class: "vue-ui-user-options-button",
|
|
1088
|
-
onClick: a[1] || (a[1] = (l) => ye(e.value.userOptions.callbacks.csv)),
|
|
1089
|
-
style: X({ cursor: U.value ? "pointer" : "default" })
|
|
1090
|
-
}, [
|
|
1091
|
-
ke(r(ht), {
|
|
1092
|
-
name: "fileCsv",
|
|
1093
|
-
stroke: H.value.props.color
|
|
1094
|
-
}, null, 8, ["stroke"])
|
|
1095
|
-
], 4)
|
|
1096
|
-
]),
|
|
1097
|
-
key: "1"
|
|
1098
|
-
} : void 0
|
|
1099
|
-
]), 1040)) : h("", !0),
|
|
1100
|
-
c(t.$slots, "skeleton", {}, () => [
|
|
1101
|
-
r(Z) ? (u(), $(gl, { key: 0 })) : h("", !0)
|
|
1102
|
-
], !0)
|
|
1103
|
-
], 46, Pl));
|
|
1104
|
-
}
|
|
1105
|
-
}, va = /* @__PURE__ */ Sl(Hl, [["__scopeId", "data-v-e02aecef"]]);
|
|
1106
|
-
export {
|
|
1107
|
-
va as default
|
|
1108
|
-
};
|