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