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