vue-data-ui 3.27.0 → 3.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/A11yDataTable-DWNlWXzs.js +1 -0
- package/dist/Arrow-C2W0uGrq.js +1 -0
- package/dist/BaseDraggableDialog-D_tuHEjO.js +1 -0
- package/dist/BaseIcon-DdIyewwY.js +1 -0
- package/dist/BaseLegendToggle-Bq5FjyuI.js +1 -0
- package/dist/BaseScanner-8NdoBs7B.js +1 -0
- package/dist/BaseZoomControls-DoYifY2y.js +1 -0
- package/dist/ColorPicker-MLwiwxl5.js +1 -0
- package/dist/DataTable-WNecJMcY.js +1 -0
- package/dist/DefGrad-DKMq1REY.js +1 -0
- package/dist/HillActions-CHg1AQ3p.js +1 -0
- package/dist/Legend-D8YoT1RJ.js +1 -0
- package/dist/NonSvgPenAndPaper-CqtJpZKh.js +1 -0
- package/dist/PackageVersion-CdkxOy58.js +1 -0
- package/dist/PenAndPaper-IMw576MC.js +1 -0
- package/dist/RecursiveCircles-BftI1kwF.js +1 -0
- package/dist/RecursiveLabels-B0d04xSj.js +1 -0
- package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
- package/dist/Shape-Bp9YNtPc.js +1 -0
- package/dist/SlicerPreview-CNUciSbY.js +1 -0
- package/dist/SparkTooltip-C5JMcBXT.js +1 -0
- package/dist/Title-BGYFqulv.js +1 -0
- package/dist/Tooltip-Cus2-XNQ.js +1 -0
- package/dist/UserOptions-DTxMeZv3.js +1 -0
- package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
- package/dist/annotationSlots-BRR85CqJ.js +1 -0
- package/dist/chartImage-CIvU_04o.js +1 -0
- package/dist/components/arrow.js +1 -2
- package/dist/components/vue-ui-3d-bar.js +1 -2
- package/dist/components/vue-ui-accordion.js +1 -2
- package/dist/components/vue-ui-age-pyramid.js +1 -2
- package/dist/components/vue-ui-annotator.js +1 -2
- package/dist/components/vue-ui-bullet.js +1 -2
- package/dist/components/vue-ui-bump.js +1 -2
- package/dist/components/vue-ui-candlestick.js +1 -2
- package/dist/components/vue-ui-carousel-table.js +1 -2
- package/dist/components/vue-ui-chestnut.js +1 -2
- package/dist/components/vue-ui-chord.js +1 -2
- package/dist/components/vue-ui-circle-pack.js +1 -2
- package/dist/components/vue-ui-cursor.js +1 -2
- package/dist/components/vue-ui-dag.js +1 -2
- package/dist/components/vue-ui-dashboard.js +1 -2
- package/dist/components/vue-ui-digits.js +1 -2
- package/dist/components/vue-ui-donut-evolution.js +1 -2
- package/dist/components/vue-ui-donut.js +1 -2
- package/dist/components/vue-ui-dumbbell.js +1 -2
- package/dist/components/vue-ui-flow.js +1 -2
- package/dist/components/vue-ui-funnel.js +1 -2
- package/dist/components/vue-ui-galaxy.js +1 -2
- package/dist/components/vue-ui-gauge.js +1 -2
- package/dist/components/vue-ui-geo.js +1 -2
- package/dist/components/vue-ui-gizmo.js +1 -2
- package/dist/components/vue-ui-heatmap.js +1 -2
- package/dist/components/vue-ui-hill.js +1 -2
- package/dist/components/vue-ui-history-plot.js +1 -2
- package/dist/components/vue-ui-horizontal-bar.js +1 -2
- package/dist/components/vue-ui-icon.js +1 -2
- package/dist/components/vue-ui-kpi.js +1 -2
- package/dist/components/vue-ui-label.js +1 -2
- package/dist/components/vue-ui-mini-loader.js +1 -2
- package/dist/components/vue-ui-molecule.js +1 -2
- package/dist/components/vue-ui-mood-radar.js +1 -2
- package/dist/components/vue-ui-nested-donuts.js +1 -2
- package/dist/components/vue-ui-onion.js +1 -2
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
- package/dist/components/vue-ui-pattern-seed.js +1 -2
- package/dist/components/vue-ui-pattern.js +1 -2
- package/dist/components/vue-ui-quadrant.js +1 -2
- package/dist/components/vue-ui-quick-chart.js +1 -2
- package/dist/components/vue-ui-radar.js +1 -2
- package/dist/components/vue-ui-rating.js +1 -2
- package/dist/components/vue-ui-relation-circle.js +1 -2
- package/dist/components/vue-ui-ridgeline.js +1 -2
- package/dist/components/vue-ui-rings.js +1 -2
- package/dist/components/vue-ui-scatter.js +1 -2
- package/dist/components/vue-ui-skeleton.js +1 -2
- package/dist/components/vue-ui-smiley.js +1 -2
- package/dist/components/vue-ui-spark-trend.js +1 -2
- package/dist/components/vue-ui-sparkbar.js +1 -2
- package/dist/components/vue-ui-sparkgauge.js +1 -2
- package/dist/components/vue-ui-sparkhistogram.js +1 -2
- package/dist/components/vue-ui-sparkline.js +1 -2
- package/dist/components/vue-ui-sparkstackbar.js +1 -2
- package/dist/components/vue-ui-stackbar.js +1 -2
- package/dist/components/vue-ui-stackline.js +1 -2
- package/dist/components/vue-ui-strip-plot.js +1 -2
- package/dist/components/vue-ui-table-heatmap.js +1 -2
- package/dist/components/vue-ui-table-sparkline.js +1 -2
- package/dist/components/vue-ui-table.js +1 -2
- package/dist/components/vue-ui-thermometer.js +1 -2
- package/dist/components/vue-ui-timer.js +1 -2
- package/dist/components/vue-ui-tiremarks.js +1 -2
- package/dist/components/vue-ui-treemap.js +1 -2
- package/dist/components/vue-ui-vertical-bar.js +1 -2
- package/dist/components/vue-ui-waffle.js +1 -2
- package/dist/components/vue-ui-wheel.js +1 -2
- package/dist/components/vue-ui-word-cloud.js +1 -2
- package/dist/components/vue-ui-world.js +1 -2
- package/dist/components/vue-ui-xy-canvas.js +1 -2
- package/dist/components/vue-ui-xy.js +1 -2
- package/dist/composables.js +1 -5
- package/dist/dom-to-png-D8t3Bm7s.js +3 -0
- package/dist/exposedLib-DHtyEc_G.js +1 -0
- package/dist/geoProjections-Bvj-eMvq.js +1 -0
- package/dist/img-DiT4ivZ5.js +1 -0
- package/dist/labelUtils-CG3uVXoZ.js +1 -0
- package/dist/lib-CV_IANZ6.js +12 -0
- package/dist/package-DE5cU1Rg.js +1 -0
- package/dist/patternUtils-_q3ArM3g.js +1 -0
- package/dist/pdf-BQSB1V3H.js +1 -0
- package/dist/render-common-BdZ5aRyn.js +1 -0
- package/dist/resolveChartConfig-DZg-korK.js +1 -0
- package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
- package/dist/ssr/vue-ui-donut.js +1 -2
- package/dist/ssr/vue-ui-xy.js +1 -2
- package/dist/ssr.js +1 -3
- package/dist/style.css +1 -1
- package/dist/tableIntegration-CNoJ1CIY.js +1 -0
- package/dist/types/composables.d.ts +12 -12
- package/dist/types/ssr.d.ts +84 -84
- package/dist/types/utils.d.ts +82 -73
- package/dist/types/vue-data-ui.d.ts +17961 -17958
- package/dist/types/vue-ui-3d-bar.d.ts +24 -91
- package/dist/types/vue-ui-accordion.d.ts +2 -10
- package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
- package/dist/types/vue-ui-annotator.d.ts +12 -88
- package/dist/types/vue-ui-bullet.d.ts +21 -83
- package/dist/types/vue-ui-bump.d.ts +23 -90
- package/dist/types/vue-ui-candlestick.d.ts +27 -108
- package/dist/types/vue-ui-carousel-table.d.ts +11 -57
- package/dist/types/vue-ui-chestnut.d.ts +27 -96
- package/dist/types/vue-ui-chord.d.ts +31 -108
- package/dist/types/vue-ui-circle-pack.d.ts +30 -124
- package/dist/types/vue-ui-cursor.d.ts +2 -8
- package/dist/types/vue-ui-dag.d.ts +35 -125
- package/dist/types/vue-ui-dashboard.d.ts +18 -66
- package/dist/types/vue-ui-digits.d.ts +2 -11
- package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
- package/dist/types/vue-ui-donut.d.ts +31 -121
- package/dist/types/vue-ui-dumbbell.d.ts +24 -92
- package/dist/types/vue-ui-flow.d.ts +28 -104
- package/dist/types/vue-ui-funnel.d.ts +18 -77
- package/dist/types/vue-ui-galaxy.d.ts +30 -112
- package/dist/types/vue-ui-gauge.d.ts +22 -87
- package/dist/types/vue-ui-geo.d.ts +22 -92
- package/dist/types/vue-ui-gizmo.d.ts +5 -20
- package/dist/types/vue-ui-heatmap.d.ts +25 -101
- package/dist/types/vue-ui-hill.d.ts +22 -88
- package/dist/types/vue-ui-history-plot.d.ts +30 -112
- package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
- package/dist/types/vue-ui-icon.d.ts +1 -13
- package/dist/types/vue-ui-kpi.d.ts +5 -23
- package/dist/types/vue-ui-label.d.ts +11 -48
- package/dist/types/vue-ui-mini-loader.d.ts +4 -13
- package/dist/types/vue-ui-molecule.d.ts +27 -110
- package/dist/types/vue-ui-mood-radar.d.ts +23 -90
- package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
- package/dist/types/vue-ui-onion.d.ts +26 -104
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
- package/dist/types/vue-ui-pattern.d.ts +1 -13
- package/dist/types/vue-ui-quadrant.d.ts +33 -123
- package/dist/types/vue-ui-quick-chart.d.ts +30 -110
- package/dist/types/vue-ui-radar.d.ts +31 -114
- package/dist/types/vue-ui-rating.d.ts +8 -40
- package/dist/types/vue-ui-relation-circle.d.ts +26 -90
- package/dist/types/vue-ui-ridgeline.d.ts +27 -104
- package/dist/types/vue-ui-rings.d.ts +21 -96
- package/dist/types/vue-ui-scatter.d.ts +22 -95
- package/dist/types/vue-ui-skeleton.d.ts +2 -10
- package/dist/types/vue-ui-smiley.d.ts +6 -26
- package/dist/types/vue-ui-spark-trend.d.ts +2 -18
- package/dist/types/vue-ui-sparkbar.d.ts +10 -47
- package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
- package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
- package/dist/types/vue-ui-sparkline.d.ts +16 -61
- package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
- package/dist/types/vue-ui-stackbar.d.ts +36 -130
- package/dist/types/vue-ui-stackline.d.ts +29 -116
- package/dist/types/vue-ui-strip-plot.d.ts +22 -96
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
- package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
- package/dist/types/vue-ui-table.d.ts +9 -36
- package/dist/types/vue-ui-thermometer.d.ts +14 -68
- package/dist/types/vue-ui-timer.d.ts +10 -47
- package/dist/types/vue-ui-tiremarks.d.ts +14 -68
- package/dist/types/vue-ui-treemap.d.ts +26 -105
- package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
- package/dist/types/vue-ui-waffle.d.ts +23 -99
- package/dist/types/vue-ui-wheel.d.ts +14 -68
- package/dist/types/vue-ui-word-cloud.d.ts +20 -95
- package/dist/types/vue-ui-world.d.ts +22 -96
- package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
- package/dist/types/vue-ui-xy.d.ts +42 -146
- package/dist/unpackTheme-CNsFKCeq.js +1 -0
- package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
- package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
- package/dist/useChartExport-DtPNpc9M.js +1 -0
- package/dist/useConfig-CKdzPrcf.js +1 -0
- package/dist/useFitSvgText-C1QC4P5G.js +1 -0
- package/dist/useHints-BH9r_0Vd.js +6 -0
- package/dist/useNestedProp-CB186vF2.js +1 -0
- package/dist/useObjectBindings-Dse7YyAf.js +1 -0
- package/dist/usePanZoom-BdjP5Suc.js +1 -0
- package/dist/usePrefersMotion-XLHwega2.js +1 -0
- package/dist/usePrinter-hLW3cv4N.js +1 -0
- package/dist/useResponsive-D2CPcpda.js +1 -0
- package/dist/useStableElementSize-CegFbRlF.js +1 -0
- package/dist/useTableResponsive-uSz_qZOB.js +1 -0
- package/dist/useThemeCheck-BKNRbGeC.js +1 -0
- package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
- package/dist/useTimeLabels-Das5O74F.js +1 -0
- package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
- package/dist/useTransitions-DfSHzsdz.js +1 -0
- package/dist/useUserOptionState-CXlFnwPv.js +1 -0
- package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
- package/dist/utils.js +1 -30
- package/dist/vClickOutside-BxNzkY17.js +1 -0
- package/dist/vue-data-ui-DyYgLIZN.js +1 -0
- package/dist/vue-data-ui.js +1 -79
- package/dist/vue-ui-3d-bar-BZAoyWkc.js +19 -0
- package/dist/vue-ui-accordion-BNvevckx.js +1 -0
- package/dist/vue-ui-age-pyramid-DkA6vpU3.js +1 -0
- package/dist/vue-ui-annotator-DuQME4Hh.js +331 -0
- package/dist/vue-ui-bullet-BVs8JX8S.js +34 -0
- package/dist/vue-ui-bump-DYdm3EvF.js +10 -0
- package/dist/vue-ui-candlestick-DZgxl4mW.js +22 -0
- package/dist/vue-ui-carousel-table-BB7DsTUt.js +1 -0
- package/dist/vue-ui-chestnut-Bo1h5rBt.js +1 -0
- package/dist/vue-ui-chord-B6_veyvO.js +21 -0
- package/dist/vue-ui-circle-pack-Bm7e2YNh.js +13 -0
- package/dist/vue-ui-cursor-TidZDuSh.js +1 -0
- package/dist/vue-ui-dag-BiN_AnLo.js +9 -0
- package/dist/vue-ui-dashboard-zepAVN_W.js +1 -0
- package/dist/vue-ui-digits-CXKKmfGj.js +42 -0
- package/dist/vue-ui-donut-CKkBtyPK.js +22 -0
- package/dist/vue-ui-donut-DLDUpjDU.js +47 -0
- package/dist/vue-ui-donut-evolution-BxMTdE5G.js +2 -0
- package/dist/vue-ui-dumbbell-C8rNwdz0.js +9 -0
- package/dist/vue-ui-flow-Dru76A2O.js +3 -0
- package/dist/vue-ui-funnel-D_u1h5S9.js +1 -0
- package/dist/vue-ui-galaxy-sBEH18Xj.js +1 -0
- package/dist/vue-ui-gauge-Do3RN8ne.js +1 -0
- package/dist/vue-ui-geo-DDbtx_iJ.js +1 -0
- package/dist/vue-ui-gizmo-eic6xLjB.js +1 -0
- package/dist/vue-ui-heatmap-DlmJRsM8.js +1 -0
- package/dist/vue-ui-hill-C5oiuIXh.js +1 -0
- package/dist/vue-ui-history-plot-BJjnkWcT.js +2 -0
- package/dist/vue-ui-horizontal-bar-BRDBJEl1.js +4 -0
- package/dist/vue-ui-kpi-C-eed3jO.js +1 -0
- package/dist/vue-ui-label-B4pkXBxc.js +7 -0
- package/dist/vue-ui-mini-loader-CElmv_iF.js +1 -0
- package/dist/vue-ui-molecule-BeyQWZU9.js +1 -0
- package/dist/vue-ui-mood-radar-Bh0kHfiZ.js +1 -0
- package/dist/vue-ui-nested-donuts-FlnJfDaF.js +19 -0
- package/dist/vue-ui-onion-BjhSpjtW.js +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-CHV6XDti.js +9 -0
- package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
- package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
- package/dist/vue-ui-quadrant-BaKSTJDv.js +2 -0
- package/dist/vue-ui-quick-chart-Nc2mVlle.js +17 -0
- package/dist/vue-ui-radar-BzUfkLlC.js +1 -0
- package/dist/vue-ui-rating-BwWXvbAg.js +1 -0
- package/dist/vue-ui-relation-circle-nAZEg-BL.js +1 -0
- package/dist/vue-ui-ridgeline-DxLZg1E2.js +2 -0
- package/dist/vue-ui-rings-BOti0NGb.js +1 -0
- package/dist/vue-ui-scatter-CCNMggyo.js +9 -0
- package/dist/vue-ui-skeleton-DI7pcimU.js +41 -0
- package/dist/vue-ui-smiley-D70sJZWl.js +1 -0
- package/dist/vue-ui-spark-trend-BVtfEalS.js +1 -0
- package/dist/vue-ui-sparkbar-CdsLI7Ke.js +1 -0
- package/dist/vue-ui-sparkgauge-wmj5Wnnp.js +1 -0
- package/dist/vue-ui-sparkhistogram-D8S_P_P4.js +1 -0
- package/dist/vue-ui-sparkline-BjsJnS_9.js +1 -0
- package/dist/vue-ui-sparkstackbar-ZN8LXzoV.js +1 -0
- package/dist/vue-ui-stackbar-Dx_EN3pT.js +29 -0
- package/dist/vue-ui-stackline-DW-oxJvA.js +39 -0
- package/dist/vue-ui-strip-plot-D7kjJ3Qh.js +2 -0
- package/dist/vue-ui-table-CaFVLHxE.js +14 -0
- package/dist/vue-ui-table-heatmap-Ctf7Rhqo.js +1 -0
- package/dist/vue-ui-table-sparkline-C0I0cXBS.js +1 -0
- package/dist/vue-ui-thermometer-B6og15Al.js +1 -0
- package/dist/vue-ui-timer-DgXvO2Q7.js +64 -0
- package/dist/vue-ui-tiremarks-Dh6fZ454.js +1 -0
- package/dist/vue-ui-treemap-7JuvN6P_.js +1 -0
- package/dist/vue-ui-waffle-BqvGzfse.js +1 -0
- package/dist/vue-ui-wheel-SdwJqKA7.js +1 -0
- package/dist/vue-ui-word-cloud-1WVV_k12.js +4 -0
- package/dist/vue-ui-world-DjMy_utm.js +19 -0
- package/dist/vue-ui-xy-DaozHMfg.js +31 -0
- package/dist/vue-ui-xy-canvas-CegvS9RR.js +9 -0
- package/dist/vue-ui-xy-rGHSI1am.js +24 -0
- package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
- package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
- package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
- package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
- package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
- package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
- package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
- package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
- package/dist/vue_ui_dag-1b_dLSym.js +1 -0
- package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
- package/dist/vue_ui_donut_evolution-CVoh3twl.js +1 -0
- package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
- package/dist/vue_ui_flow-kvV56Es9.js +1 -0
- package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
- package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
- package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
- package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
- package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
- package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
- package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
- package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
- package/dist/vue_ui_label-dtPqyFsj.js +1 -0
- package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
- package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
- package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
- package/dist/vue_ui_onion-C9BedU_-.js +1 -0
- package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
- package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
- package/dist/vue_ui_quick_chart-BRfcRW6Z.js +1 -0
- package/dist/vue_ui_radar-68iK9Fam.js +1 -0
- package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
- package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
- package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
- package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
- package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
- package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
- package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
- package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
- package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
- package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
- package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
- package/dist/vue_ui_stackline-D7b63K84.js +1 -0
- package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
- package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
- package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
- package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
- package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
- package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
- package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
- package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
- package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
- package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
- package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
- package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
- package/package.json +2 -2
- package/dist/A11yDataTable-DdRsVULz.js +0 -45
- package/dist/Arrow-DKO1l8oR.js +0 -116
- package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
- package/dist/BaseIcon-Cx9FD751.js +0 -484
- package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
- package/dist/BaseScanner-Dzc8VT3j.js +0 -30
- package/dist/BaseZoomControls-vNi8YykO.js +0 -111
- package/dist/ColorPicker-hmC2bvwS.js +0 -257
- package/dist/DataTable-CjF_An2h.js +0 -150
- package/dist/DefGrad-DVBqDjhO.js +0 -48
- package/dist/HillActions-DqqGB33u.js +0 -187
- package/dist/Legend-CulFgjUY.js +0 -156
- package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
- package/dist/PackageVersion-D7H9nfK0.js +0 -12
- package/dist/PenAndPaper-CNiuGw6k.js +0 -906
- package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
- package/dist/RecursiveLabels-D9rfID6q.js +0 -56
- package/dist/RecursiveLinks-BygcpDiT.js +0 -78
- package/dist/Shape-DSwamtmO.js +0 -143
- package/dist/SlicerPreview-k5YerMA9.js +0 -1730
- package/dist/SparkTooltip-D35KVv6N.js +0 -93
- package/dist/Title-BMCuINbv.js +0 -87
- package/dist/Tooltip-C4ZTwkLF.js +0 -312
- package/dist/UserOptions-CORYQiif.js +0 -1412
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/dom-to-png-CBusMkua.js +0 -237
- package/dist/exposedLib-UNxZlnAS.js +0 -28
- package/dist/geoProjections-BYthUA8l.js +0 -302
- package/dist/img-Bb5rHcpO.js +0 -129
- package/dist/labelUtils-Ccn9kK7T.js +0 -19
- package/dist/lib-D4wK6ljP.js +0 -2146
- package/dist/package-DmQufM0G.js +0 -4
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-BzIQHx-F.js +0 -90
- package/dist/render-common-BtfjXdkJ.js +0 -152
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
- package/dist/useChartAccessibility-DYqac8yF.js +0 -12
- package/dist/useChartExport-iwOqiIWX.js +0 -803
- package/dist/useConfig-D_6ZrPMD.js +0 -8090
- package/dist/useFitSvgText-CXTzBplU.js +0 -65
- package/dist/useHints-Dq_w2E8B.js +0 -66
- package/dist/useNestedProp-DR_8JPol.js +0 -12
- package/dist/useObjectBindings-DvasYMGu.js +0 -191
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-DdW2GSm0.js +0 -49
- package/dist/useResponsive-ZtArZtUf.js +0 -97
- package/dist/useStableElementSize-C7KADDKj.js +0 -77
- package/dist/useTableResponsive-BAqJPR68.js +0 -25
- package/dist/useThemeCheck-C43Tcqmk.js +0 -24
- package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
- package/dist/useTimeLabels-d2f-W1L4.js +0 -270
- package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
- package/dist/useTransitions-g_zBREk2.js +0 -39
- package/dist/useUserOptionState-DK-_1ddE.js +0 -15
- package/dist/vClickOutside-DUrZWttG.js +0 -13
- package/dist/vue-data-ui-Df7WV80w.js +0 -191
- package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
- package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
- package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
- package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
- package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
- package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
- package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
- package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
- package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
- package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
- package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
- package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
- package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
- package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
- package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
- package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
- package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
- package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
- package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
- package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
- package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
- package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
- package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
- package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
- package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
- package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
- package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
- package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
- package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
- package/dist/vue-ui-label-r3-QloJL.js +0 -1451
- package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
- package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
- package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
- package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +0 -1444
- package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
- package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
- package/dist/vue-ui-quadrant-CDDFLRcX.js +0 -1979
- package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
- package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
- package/dist/vue-ui-rating-C_iTttXB.js +0 -359
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
- package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
- package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
- package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
- package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
- package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
- package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
- package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
- package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
- package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
- package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
- package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
- package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
- package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
- package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
- package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
- package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
- package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
- package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
- package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
- package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
- package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
- package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
- package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
- package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
- package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
- package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
- package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
- package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
- package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
- package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
- package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
- package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
- package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
- package/dist/vue_ui_donut-BDGqG07h.js +0 -358
- package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
- package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
- package/dist/vue_ui_flow-BewZjjKG.js +0 -238
- package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
- package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
- package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
- package/dist/vue_ui_geo-B8TODs-G.js +0 -248
- package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
- package/dist/vue_ui_hill-dnltu0L-.js +0 -368
- package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
- package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
- package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
- package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
- package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
- package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
- package/dist/vue_ui_onion-1FTFFS46.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
- package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
- package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
- package/dist/vue_ui_radar-jafTED5j.js +0 -306
- package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
- package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
- package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
- package/dist/vue_ui_scatter-I0POnicu.js +0 -479
- package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
- package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
- package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
- package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
- package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
- package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
- package/dist/vue_ui_stackbar-yQyvT4Su.js +0 -537
- package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
- package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
- package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
- package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
- package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
- package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
- package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
- package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
- package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
- package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
- package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
- package/dist/vue_ui_xy-CcJADijP.js +0 -614
- package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
|
@@ -1,1723 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, $t as n, D as r, Dt as i, Ht as a, J as o, Jt as s, S as c, X as ee, Yt as te, at as l, b as u, en as ne, et as re, i as ie, nn as ae, nt as oe, pt as se, t as ce, vt as le, w as ue, wt as de, zt as fe } from "./lib-D4wK6ljP.js";
|
|
3
|
-
import { n as pe, t as me } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as he } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
-
import { t as ge } from "./usePrinter-DdW2GSm0.js";
|
|
6
|
-
import { n as _e, t as ve } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as ye } from "./useNestedProp-DR_8JPol.js";
|
|
8
|
-
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as xe } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as Se } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as Ce } from "./img-Bb5rHcpO.js";
|
|
12
|
-
import { n as we } from "./Title-BMCuINbv.js";
|
|
13
|
-
import { t as Te } from "./Shape-DSwamtmO.js";
|
|
14
|
-
import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
|
-
import { l as De, t as Oe } from "./useResponsive-ZtArZtUf.js";
|
|
16
|
-
import { t as ke } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
-
import { t as Ae } from "./vue-ui-accordion-CaoNWreI.js";
|
|
18
|
-
import { t as je } from "./BaseLegendToggle-CP3sddwv.js";
|
|
19
|
-
import { t as Me } from "./A11yDataTable-DdRsVULz.js";
|
|
20
|
-
import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
|
|
21
|
-
import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
|
|
22
|
-
import { t as Fe } from "./useTableResponsive-BAqJPR68.js";
|
|
23
|
-
import { t as Ie } from "./Legend-CulFgjUY.js";
|
|
24
|
-
import { t as Le } from "./vue_ui_horizontal_bar-C4J4QzXf.js";
|
|
25
|
-
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as Ve, guardReactiveProps as _, mergeProps as He, nextTick as Ue, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as We, onMounted as Ge, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ke, toDisplayString as T, toRefs as qe, unref as E, useCssVars as Je, useSlots as Ye, watch as Xe, withCtx as D, withKeys as Ze } from "vue";
|
|
26
|
-
//#region src/components/vue-ui-horizontal-bar.vue
|
|
27
|
-
var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt = ["onClick"], nt = { style: { position: "relative" } }, rt = [
|
|
28
|
-
"xmlns",
|
|
29
|
-
"viewBox",
|
|
30
|
-
"aria-describedby"
|
|
31
|
-
], it = ["width", "height"], at = { key: 1 }, ot = [
|
|
32
|
-
"y",
|
|
33
|
-
"width",
|
|
34
|
-
"height",
|
|
35
|
-
"fill",
|
|
36
|
-
"rx"
|
|
37
|
-
], st = [
|
|
38
|
-
"x",
|
|
39
|
-
"y",
|
|
40
|
-
"width",
|
|
41
|
-
"height",
|
|
42
|
-
"fill",
|
|
43
|
-
"rx"
|
|
44
|
-
], ct = [
|
|
45
|
-
"x",
|
|
46
|
-
"y",
|
|
47
|
-
"width",
|
|
48
|
-
"height",
|
|
49
|
-
"fill",
|
|
50
|
-
"rx",
|
|
51
|
-
"stroke",
|
|
52
|
-
"stroke-width"
|
|
53
|
-
], lt = [
|
|
54
|
-
"x",
|
|
55
|
-
"y",
|
|
56
|
-
"width",
|
|
57
|
-
"height",
|
|
58
|
-
"fill",
|
|
59
|
-
"rx",
|
|
60
|
-
"stroke",
|
|
61
|
-
"stroke-width"
|
|
62
|
-
], ut = [
|
|
63
|
-
"stroke",
|
|
64
|
-
"stroke-width",
|
|
65
|
-
"d"
|
|
66
|
-
], dt = [
|
|
67
|
-
"stroke",
|
|
68
|
-
"stroke-width",
|
|
69
|
-
"d"
|
|
70
|
-
], ft = [
|
|
71
|
-
"y",
|
|
72
|
-
"height",
|
|
73
|
-
"width",
|
|
74
|
-
"fill"
|
|
75
|
-
], pt = [
|
|
76
|
-
"transform",
|
|
77
|
-
"font-size",
|
|
78
|
-
"fill",
|
|
79
|
-
"font-weight",
|
|
80
|
-
"innerHTML"
|
|
81
|
-
], mt = [
|
|
82
|
-
"transform",
|
|
83
|
-
"font-size",
|
|
84
|
-
"fill",
|
|
85
|
-
"font-weight"
|
|
86
|
-
], ht = [
|
|
87
|
-
"transform",
|
|
88
|
-
"font-size",
|
|
89
|
-
"font-weight",
|
|
90
|
-
"innerHTML"
|
|
91
|
-
], gt = [
|
|
92
|
-
"transform",
|
|
93
|
-
"font-size",
|
|
94
|
-
"fill",
|
|
95
|
-
"font-weight",
|
|
96
|
-
"innerHTML"
|
|
97
|
-
], _t = [
|
|
98
|
-
"transform",
|
|
99
|
-
"text-anchor",
|
|
100
|
-
"font-size",
|
|
101
|
-
"fill",
|
|
102
|
-
"font-weight"
|
|
103
|
-
], vt = [
|
|
104
|
-
"y",
|
|
105
|
-
"width",
|
|
106
|
-
"height",
|
|
107
|
-
"fill",
|
|
108
|
-
"onMouseenter",
|
|
109
|
-
"onMouseleave",
|
|
110
|
-
"onClick"
|
|
111
|
-
], yt = {
|
|
112
|
-
key: 0,
|
|
113
|
-
style: {
|
|
114
|
-
position: "absolute",
|
|
115
|
-
top: "100%",
|
|
116
|
-
left: "0",
|
|
117
|
-
width: "100%"
|
|
118
|
-
},
|
|
119
|
-
"data-dom-to-png-ignore": "",
|
|
120
|
-
"aria-hidden": "true"
|
|
121
|
-
}, bt = {
|
|
122
|
-
key: 7,
|
|
123
|
-
class: "vue-data-ui-watermark"
|
|
124
|
-
}, xt = ["onClick"], St = { style: "width:100%;padding-top: 36px;position:relative" }, Ct = { class: "vue-ui-data-table" }, wt = { key: 0 }, Tt = { style: { width: "100%" } }, Et = ["data-cell"], Dt = { style: {
|
|
125
|
-
display: "flex",
|
|
126
|
-
"align-items": "center",
|
|
127
|
-
gap: "5px",
|
|
128
|
-
"justify-content": "flex-end",
|
|
129
|
-
width: "100%",
|
|
130
|
-
"padding-right": "3px"
|
|
131
|
-
} }, Ot = ["data-cell"], kt = { style: {
|
|
132
|
-
display: "flex",
|
|
133
|
-
"align-items": "center",
|
|
134
|
-
gap: "5px",
|
|
135
|
-
"justify-content": "flex-end",
|
|
136
|
-
width: "100%",
|
|
137
|
-
"padding-right": "3px"
|
|
138
|
-
} }, At = ["data-cell"], jt = { style: {
|
|
139
|
-
display: "flex",
|
|
140
|
-
"align-items": "center",
|
|
141
|
-
gap: "5px",
|
|
142
|
-
"justify-content": "flex-end",
|
|
143
|
-
width: "100%",
|
|
144
|
-
"padding-right": "3px"
|
|
145
|
-
} }, Mt = ["data-cell"], Nt = { style: {
|
|
146
|
-
display: "flex",
|
|
147
|
-
"align-items": "center",
|
|
148
|
-
gap: "5px",
|
|
149
|
-
"justify-content": "flex-end",
|
|
150
|
-
width: "100%",
|
|
151
|
-
"padding-right": "3px"
|
|
152
|
-
} }, Pt = ["data-cell"], Ft = { style: {
|
|
153
|
-
display: "flex",
|
|
154
|
-
"align-items": "center",
|
|
155
|
-
gap: "5px",
|
|
156
|
-
"justify-content": "flex-end",
|
|
157
|
-
width: "100%",
|
|
158
|
-
"padding-right": "3px"
|
|
159
|
-
} }, It = ["data-cell"], Lt = { style: {
|
|
160
|
-
display: "flex",
|
|
161
|
-
"align-items": "center",
|
|
162
|
-
gap: "5px",
|
|
163
|
-
"justify-content": "flex-end",
|
|
164
|
-
width: "100%",
|
|
165
|
-
"padding-right": "3px"
|
|
166
|
-
} }, Rt = ["data-cell"], zt = { style: {
|
|
167
|
-
display: "flex",
|
|
168
|
-
"align-items": "center",
|
|
169
|
-
gap: "5px",
|
|
170
|
-
"justify-content": "flex-end",
|
|
171
|
-
width: "100%",
|
|
172
|
-
"padding-right": "3px"
|
|
173
|
-
} }, Bt = /*#__PURE__*/ Ee({
|
|
174
|
-
__name: "vue-ui-horizontal-bar",
|
|
175
|
-
props: {
|
|
176
|
-
config: {
|
|
177
|
-
type: Object,
|
|
178
|
-
default() {
|
|
179
|
-
return {};
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
dataset: {
|
|
183
|
-
type: Array,
|
|
184
|
-
default() {
|
|
185
|
-
return [];
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
emits: [
|
|
190
|
-
"selectLegend",
|
|
191
|
-
"copyAlt",
|
|
192
|
-
"selectDatapoint"
|
|
193
|
-
],
|
|
194
|
-
setup(e, { expose: Ee, emit: Qe }) {
|
|
195
|
-
Je((e) => ({ v3eb323c0: e.tdo }));
|
|
196
|
-
let Bt = Ve(() => import("./Tooltip-C4ZTwkLF.js")), Vt = Ve(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), Ht = Ve(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), Ut = Ve(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), Wt = Ve(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), Gt = Ve(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_vertical_bar: Kt } = he(), { isThemeValid: qt, warnInvalidTheme: Jt } = be(), Yt = Ye(), O = e, Xt = f({
|
|
197
|
-
get() {
|
|
198
|
-
return !!O.dataset && O.dataset.length;
|
|
199
|
-
},
|
|
200
|
-
set(e) {
|
|
201
|
-
return e;
|
|
202
|
-
}
|
|
203
|
-
}), k = S(ee()), Zt = S(!1), Qt = S(""), $t = S(null), en = S(0), A = S(null), tn = S(null), nn = S(null), rn = S(null), an = S(null), on = S(0), sn = S(0), cn = S(null), ln = S(null), un = S(null), dn = S(null), fn = S(null), j = S([]), pn = S({
|
|
204
|
-
none: 0,
|
|
205
|
-
asc: 1,
|
|
206
|
-
desc: 2
|
|
207
|
-
}), mn = S(0), hn = S(0), gn = null, _n = null, M = S(null), vn = S({
|
|
208
|
-
x: 0,
|
|
209
|
-
y: 0
|
|
210
|
-
}), yn = S("pointer"), bn = Qe, N = S(jn()), P = f(() => N.value.style.chart.layout.bars), F = f(() => N.value.style.chart.layout), I = f(() => N.value.style.chart.tooltip), L = f(() => N.value.style.chart);
|
|
211
|
-
pe({
|
|
212
|
-
config: () => N.value,
|
|
213
|
-
dataset: () => O.dataset,
|
|
214
|
-
component: "VueUiHorizontalBar",
|
|
215
|
-
rules: [me.emptyArray, {
|
|
216
|
-
test: (e) => e.length > 50 || e.some((e) => e.children && e.children.length > 50),
|
|
217
|
-
message: [
|
|
218
|
-
"👀 There are > 50 series / bars, which will probably force users to scroll. Consider:",
|
|
219
|
-
"",
|
|
220
|
-
"▶️ Grouping small values into an \"Other\" category.",
|
|
221
|
-
"",
|
|
222
|
-
"▶️ Using filters, or several instances of the component with subsets of related series."
|
|
223
|
-
]
|
|
224
|
-
}]
|
|
225
|
-
});
|
|
226
|
-
let { transitionEnabled: R } = Se({
|
|
227
|
-
config: () => N.value.transitions,
|
|
228
|
-
dataset: () => O.dataset
|
|
229
|
-
}), xn = f(() => N.value.userOptions.useCursorPointer), Sn = f(() => O.config?.skeletonDataset ?? [
|
|
230
|
-
{
|
|
231
|
-
name: "",
|
|
232
|
-
value: 6,
|
|
233
|
-
color: "#d9d9d9"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
name: "",
|
|
237
|
-
value: 5,
|
|
238
|
-
color: "#d9d9d9"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
name: "",
|
|
242
|
-
value: 4,
|
|
243
|
-
color: "#d9d9d9"
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
name: "",
|
|
247
|
-
value: 3,
|
|
248
|
-
color: "#d9d9d9"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
name: "",
|
|
252
|
-
value: 2,
|
|
253
|
-
color: "#d9d9d9"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
name: "",
|
|
257
|
-
value: 1,
|
|
258
|
-
color: "#d9d9d9"
|
|
259
|
-
}
|
|
260
|
-
]), Cn = f(() => ae({
|
|
261
|
-
defaultConfig: {
|
|
262
|
-
useCssAnimation: !1,
|
|
263
|
-
userOptions: { show: !1 },
|
|
264
|
-
table: { show: !1 },
|
|
265
|
-
style: { chart: {
|
|
266
|
-
backgroundColor: "#99999930",
|
|
267
|
-
layout: {
|
|
268
|
-
bars: {
|
|
269
|
-
offsetX: 110,
|
|
270
|
-
dataLabels: {
|
|
271
|
-
color: "transparent",
|
|
272
|
-
value: {
|
|
273
|
-
prefix: "",
|
|
274
|
-
suffix: "",
|
|
275
|
-
formatter: null
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
nameLabels: { color: "transparent" }
|
|
279
|
-
},
|
|
280
|
-
separators: { color: "#7A7A7A" }
|
|
281
|
-
},
|
|
282
|
-
legend: {
|
|
283
|
-
show: !0,
|
|
284
|
-
backgroundColor: "transparent",
|
|
285
|
-
color: "transparent",
|
|
286
|
-
prefix: "",
|
|
287
|
-
suffix: "",
|
|
288
|
-
formatter: null
|
|
289
|
-
},
|
|
290
|
-
title: {
|
|
291
|
-
color: "#1A1A1A",
|
|
292
|
-
subtitle: { color: "#5A5A5A" }
|
|
293
|
-
}
|
|
294
|
-
} }
|
|
295
|
-
},
|
|
296
|
-
userConfig: N.value.skeletonConfig ?? {}
|
|
297
|
-
})), { loading: wn, FINAL_DATASET: Tn, manualLoading: En } = _e({
|
|
298
|
-
...qe(O),
|
|
299
|
-
FINAL_CONFIG: N,
|
|
300
|
-
prepareConfig: jn,
|
|
301
|
-
callback: () => {
|
|
302
|
-
Promise.resolve().then(async () => {
|
|
303
|
-
H.value.showTable = N.value.table.show, Kn();
|
|
304
|
-
});
|
|
305
|
-
},
|
|
306
|
-
skeletonDataset: Sn.value,
|
|
307
|
-
skeletonConfig: ae({
|
|
308
|
-
defaultConfig: N.value,
|
|
309
|
-
userConfig: Cn.value
|
|
310
|
-
})
|
|
311
|
-
}), { userOptionsVisible: Dn, setUserOptionsVisibility: On, keepUserOptionState: kn } = Ne({ config: N.value }), { svgRef: An } = Pe({ config: L.value.title });
|
|
312
|
-
function jn() {
|
|
313
|
-
let e = ye({
|
|
314
|
-
userConfig: O.config,
|
|
315
|
-
defaultConfig: Kt
|
|
316
|
-
}), t = {}, n = e.theme;
|
|
317
|
-
if (n) {
|
|
318
|
-
if (!qt.value(e)) Jt(e), t = e;
|
|
319
|
-
else {
|
|
320
|
-
let r = ye({
|
|
321
|
-
userConfig: Le[n] || O.config,
|
|
322
|
-
defaultConfig: e
|
|
323
|
-
});
|
|
324
|
-
t = {
|
|
325
|
-
...ye({
|
|
326
|
-
userConfig: O.config,
|
|
327
|
-
defaultConfig: r
|
|
328
|
-
}),
|
|
329
|
-
customPalette: e.customPalette.length ? e.customPalette : ne[n] || a
|
|
330
|
-
};
|
|
331
|
-
}
|
|
332
|
-
} else t = e;
|
|
333
|
-
return O.config && de(O.config, "events.datapointEnter") ? t.events.datapointEnter = O.config.events.datapointEnter : t.events.datapointEnter = null, O.config && de(O.config, "events.datapointLeave") ? t.events.datapointLeave = O.config.events.datapointLeave : t.events.datapointLeave = null, O.config && de(O.config, "events.datapointClick") ? t.events.datapointClick = O.config.events.datapointClick : t.events.datapointClick = null, t;
|
|
334
|
-
}
|
|
335
|
-
let z = S(L.value.width), Mn = S(L.value.height), B = S(P.value.gap);
|
|
336
|
-
function Nn(e) {
|
|
337
|
-
let t = re(e);
|
|
338
|
-
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
339
|
-
}
|
|
340
|
-
let Pn = Nn(O.config);
|
|
341
|
-
Xe(() => O.config, (e, t) => {
|
|
342
|
-
let n = Nn(e), r = n !== Pn;
|
|
343
|
-
Pn = n;
|
|
344
|
-
let i = jn();
|
|
345
|
-
if (!r) {
|
|
346
|
-
N.value.style.chart.tooltip = i.style.chart.tooltip, H.value.showTooltip = N.value.style.chart.tooltip.show;
|
|
347
|
-
return;
|
|
348
|
-
}
|
|
349
|
-
wn.value || (N.value = i), Dn.value = !N.value.userOptions.showOnChartHover, on.value += 1, sn.value += 1, H.value.showTable = N.value.table.show, mn.value = pn.value[P.value.sort] ?? 0, H.value.showTooltip = I.value.show, z.value = L.value.width, Mn.value = L.value.height, B.value = P.value.gap;
|
|
350
|
-
}, { deep: !0 }), Xe(() => O.dataset, (e) => {
|
|
351
|
-
Array.isArray(e) && e.length > 0 && (En.value = !1);
|
|
352
|
-
}, { deep: !0 });
|
|
353
|
-
let { isPrinting: Fn, isImaging: In, generatePdf: Ln, generateImage: Rn } = ge({
|
|
354
|
-
elementId: `vue-ui-vertical-bar_${k.value}`,
|
|
355
|
-
fileName: L.value.title.text || "vue-ui-vertical-bar",
|
|
356
|
-
options: N.value.userOptions.print
|
|
357
|
-
}), zn = f(() => N.value.userOptions.show && !L.value.title.text), Bn = f(() => ue(N.value.customPalette)), Vn = S(null), Hn = f(() => N.value.table.responsiveBreakpoint), Un = f(() => N.value.debug), Wn = S(0), V = S(null), Gn = S(null);
|
|
358
|
-
function Kn() {
|
|
359
|
-
if (A.value && (fe(O.dataset) && (l({
|
|
360
|
-
componentName: "VueUiVerticalBar",
|
|
361
|
-
type: "dataset",
|
|
362
|
-
debug: Un.value
|
|
363
|
-
}), Xt.value = !1, En.value = !0), fe(O.dataset) || (En.value = N.value.loading), N.value.responsive)) {
|
|
364
|
-
let e = De(() => {
|
|
365
|
-
let { width: e, height: t } = Oe({
|
|
366
|
-
chart: A.value,
|
|
367
|
-
title: L.value.title.text ? tn.value : null,
|
|
368
|
-
legend: L.value.legend.show ? nn.value : null,
|
|
369
|
-
source: rn.value,
|
|
370
|
-
noTitle: an.value
|
|
371
|
-
});
|
|
372
|
-
Wn.value = t / 3, requestAnimationFrame(async () => {
|
|
373
|
-
Mn.value = t, z.value = e;
|
|
374
|
-
});
|
|
375
|
-
});
|
|
376
|
-
V.value && (Gn.value && V.value.unobserve(Gn.value), V.value.disconnect()), V.value = new ResizeObserver(e), Ue(() => {
|
|
377
|
-
Gn.value = A.value?.parentNode, Gn.value && V.value.observe(Gn.value);
|
|
378
|
-
});
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
We(() => {
|
|
382
|
-
V.value && (Gn.value && V.value.unobserve(Gn.value), V.value.disconnect());
|
|
383
|
-
});
|
|
384
|
-
let H = S({
|
|
385
|
-
showTable: N.value.table.show,
|
|
386
|
-
showTooltip: I.value.show
|
|
387
|
-
}), qn = f(() => mn.value === 0), Jn = f(() => mn.value === 2), U = f(() => (Tn.value.forEach((e, t) => {
|
|
388
|
-
!e.value && !e.children && l({
|
|
389
|
-
componentName: "VueUiVerticalBar",
|
|
390
|
-
type: "datasetAttributeEmpty",
|
|
391
|
-
property: `value (index ${t})`,
|
|
392
|
-
debug: Un.value
|
|
393
|
-
}), e.children && (fe(e.children) ? l({
|
|
394
|
-
componentName: "VueUiVerticalBar",
|
|
395
|
-
type: "datasetAttributeEmpty",
|
|
396
|
-
property: `children (index ${t})`,
|
|
397
|
-
debug: Un.value
|
|
398
|
-
}) : e.children.forEach((e, t) => {
|
|
399
|
-
[null, void 0].includes(e.name) && l({
|
|
400
|
-
componentName: "VueUiVerticalBar",
|
|
401
|
-
type: "datasetSerieAttribute",
|
|
402
|
-
property: "name",
|
|
403
|
-
key: "children",
|
|
404
|
-
index: t,
|
|
405
|
-
debug: Un.value
|
|
406
|
-
});
|
|
407
|
-
}));
|
|
408
|
-
}), Tn.value.map((e, t) => {
|
|
409
|
-
let n = `vertical_parent_${t}_${k.value}`, r = e.children && e.children.length > 0, i = u(e.value ? e.value : r ? e.children.map((e) => e.value || 0).reduce((e, t) => e + t, 0) : 0), o = i >= 0 ? 1 : -1;
|
|
410
|
-
return {
|
|
411
|
-
...e,
|
|
412
|
-
id: n,
|
|
413
|
-
absoluteIndex: t,
|
|
414
|
-
shape: "square",
|
|
415
|
-
opacity: j.value.includes(n) ? .5 : 1,
|
|
416
|
-
value: Math.abs(i),
|
|
417
|
-
sign: o,
|
|
418
|
-
hasChildren: r,
|
|
419
|
-
isChild: !1,
|
|
420
|
-
segregate: () => cr(n),
|
|
421
|
-
isSegregated: j.value.includes(n),
|
|
422
|
-
color: c(e.color) || Bn.value[t] || a[t] || a[t % a.length],
|
|
423
|
-
children: !e.children || !e.children.length ? [] : e.children.toSorted(qn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value).map((r, s) => ({
|
|
424
|
-
...r,
|
|
425
|
-
value: u(Math.abs(r.value)),
|
|
426
|
-
absoluteIndex: t,
|
|
427
|
-
sign: r.value >= 0 ? 1 : -1,
|
|
428
|
-
isChild: !0,
|
|
429
|
-
parentId: n,
|
|
430
|
-
parentName: e.name,
|
|
431
|
-
parentValue: i,
|
|
432
|
-
parentSign: o,
|
|
433
|
-
id: `vertical_child_${t}_${s}_${k.value}`,
|
|
434
|
-
childIndex: s,
|
|
435
|
-
color: c(r.color) || c(e.color) || Bn.value[t] || a[t] || a[t % a.length]
|
|
436
|
-
})).map((t, n) => ({
|
|
437
|
-
...t,
|
|
438
|
-
isFirstChild: n === 0,
|
|
439
|
-
isLastChild: n === e.children.length - 1
|
|
440
|
-
}))
|
|
441
|
-
};
|
|
442
|
-
}).toSorted(qn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value))), W = f(() => U.value.filter((e) => !j.value.includes(e.id))), G = f(() => W.value.flatMap((e) => e.hasChildren ? e.children : e)), Yn = f(() => U.value.flatMap((e) => e.hasChildren ? e.children : e)), Xn = f(() => W.value.flatMap((e) => e.children && e.children.length > 0 ? e.children.length : 1).reduce((e, t) => e + t, 0)), Zn = f(() => ({
|
|
443
|
-
cy: "vertical-bar-div-legend",
|
|
444
|
-
backgroundColor: L.value.legend.backgroundColor,
|
|
445
|
-
color: L.value.legend.color,
|
|
446
|
-
fontSize: L.value.legend.fontSize,
|
|
447
|
-
paddingBottom: 12,
|
|
448
|
-
fontWeight: L.value.legend.bold ? "bold" : ""
|
|
449
|
-
})), K = f(() => P.value.parentLabels.show ? P.value.parentLabels.fontSize * 3 + P.value.parentLabels.paddingBottom : 0), q = f(() => {
|
|
450
|
-
let e = [], t = 0;
|
|
451
|
-
return G.value.forEach((n, r) => {
|
|
452
|
-
n.isChild && n.childIndex === 0 && P.value.parentLabels.show && (t += 1), e[r] = t;
|
|
453
|
-
}), e;
|
|
454
|
-
}), J = f(() => {
|
|
455
|
-
let e = Math.max(0, ...q.value) * K.value;
|
|
456
|
-
return (Mn.value - 24 - (Xn.value - 1) * B.value - e) / Xn.value;
|
|
457
|
-
}), Y = f(() => ({
|
|
458
|
-
width: z.value,
|
|
459
|
-
height: Mn.value,
|
|
460
|
-
padding: {
|
|
461
|
-
top: 12,
|
|
462
|
-
left: 128 + P.value.offsetX,
|
|
463
|
-
right: 64 + P.value.paddingRight,
|
|
464
|
-
bottom: 12
|
|
465
|
-
}
|
|
466
|
-
})), Qn = S(0);
|
|
467
|
-
function $n() {
|
|
468
|
-
Ue(() => {
|
|
469
|
-
if (!fn.value) {
|
|
470
|
-
Qn.value = 0;
|
|
471
|
-
return;
|
|
472
|
-
}
|
|
473
|
-
let e = Array.from(fn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
474
|
-
let n = t.getBBox?.().width ?? t.getComputedTextLength();
|
|
475
|
-
return n > e ? n : e;
|
|
476
|
-
}, 0);
|
|
477
|
-
Qn.value = e + 12;
|
|
478
|
-
});
|
|
479
|
-
}
|
|
480
|
-
Xe(() => [
|
|
481
|
-
G.value,
|
|
482
|
-
z.value,
|
|
483
|
-
Mn.value,
|
|
484
|
-
P.value.nameLabels,
|
|
485
|
-
P.value.offsetX
|
|
486
|
-
], () => $n(), { deep: !0 }), Ge(() => {
|
|
487
|
-
$n();
|
|
488
|
-
});
|
|
489
|
-
function er() {
|
|
490
|
-
return typeof document > "u" ? null : (gn || (gn = document.createElement("canvas"), _n = gn.getContext("2d")), _n);
|
|
491
|
-
}
|
|
492
|
-
function tr(e) {
|
|
493
|
-
let t = String(e ?? ""), n = P.value, r = n.dataLabels.fontSize, i = n.dataLabels.bold ? 700 : 400, a = N.value.style.fontFamily, o = er();
|
|
494
|
-
return o ? (o.font = `${i} ${r}px ${a}`, o.measureText(t).width) : t.length * r * .6;
|
|
495
|
-
}
|
|
496
|
-
function nr() {
|
|
497
|
-
let e = W.value.flatMap((e) => e.children && e.children.length ? e.children.map((e) => Math.abs(e.value)) : Math.abs(e.value));
|
|
498
|
-
return e.length ? Math.max(...e) : 0;
|
|
499
|
-
}
|
|
500
|
-
let rr = f(() => {
|
|
501
|
-
hn.value;
|
|
502
|
-
let e = P.value, t = Qn.value + Math.abs(e.nameLabels.offsetX) + e.offsetX, n = Y.value.width - Y.value.padding.right, r = Math.max(0, n - t - e.offsetX), i = Y.value.width - 40, a = nr(), o = G.value.map((e, t) => ({
|
|
503
|
-
serie: e,
|
|
504
|
-
textWidth: tr(Er(e.value, e, t, e.sign))
|
|
505
|
-
}));
|
|
506
|
-
if (!o.length || r <= 0) return {
|
|
507
|
-
left: 0,
|
|
508
|
-
right: 0
|
|
509
|
-
};
|
|
510
|
-
if (!o.some(({ serie: e }) => e.sign === -1)) {
|
|
511
|
-
let n = o.reduce((n, { serie: o, textWidth: s }) => {
|
|
512
|
-
let c = a ? Math.abs(o.value) / a : 0;
|
|
513
|
-
if (c <= 0 || s <= 0) return n;
|
|
514
|
-
let ee = (t + r * c + 3 + e.dataLabels.offsetX + s - i) / c;
|
|
515
|
-
return Math.max(n, ee);
|
|
516
|
-
}, 0);
|
|
517
|
-
return {
|
|
518
|
-
left: 0,
|
|
519
|
-
right: Math.ceil(Math.min(r, Math.max(0, n)))
|
|
520
|
-
};
|
|
521
|
-
}
|
|
522
|
-
let s = t + r / 2, c = -Infinity, ee = Infinity;
|
|
523
|
-
o.forEach(({ serie: t, textWidth: n }) => {
|
|
524
|
-
if (t.sign === -1) {
|
|
525
|
-
let t = s + 12 + e.dataLabels.offsetX + n;
|
|
526
|
-
ee = Math.min(ee, i - t);
|
|
527
|
-
return;
|
|
528
|
-
}
|
|
529
|
-
let r = s - 12 - e.dataLabels.offsetX - n;
|
|
530
|
-
c = Math.max(c, 40 - r);
|
|
531
|
-
});
|
|
532
|
-
let te = 0;
|
|
533
|
-
te = c > ee ? (c + ee) / 2 : Math.min(ee, Math.max(c, 0));
|
|
534
|
-
let l = te * 2;
|
|
535
|
-
return l >= 0 ? {
|
|
536
|
-
left: Math.ceil(Math.min(r, l)),
|
|
537
|
-
right: 0
|
|
538
|
-
} : {
|
|
539
|
-
left: 0,
|
|
540
|
-
right: Math.ceil(Math.min(r, -l))
|
|
541
|
-
};
|
|
542
|
-
}), ir = f(() => rr.value.right), ar = f(() => rr.value.left);
|
|
543
|
-
function or() {
|
|
544
|
-
hn.value += 1;
|
|
545
|
-
}
|
|
546
|
-
Ge(() => {
|
|
547
|
-
typeof document < "u" && document.fonts && (document.fonts.ready.then(or), document.fonts.addEventListener?.("loadingdone", or));
|
|
548
|
-
}), We(() => {
|
|
549
|
-
typeof document < "u" && document.fonts && document.fonts.removeEventListener?.("loadingdone", or), gn = null, _n = null;
|
|
550
|
-
});
|
|
551
|
-
let X = f(() => {
|
|
552
|
-
let e = Qn.value + Math.abs(P.value.nameLabels.offsetX) + ar.value + P.value.offsetX, t = Y.value.width - Y.value.padding.right, n = Math.max(0, t - e - ir.value - P.value.offsetX);
|
|
553
|
-
return {
|
|
554
|
-
top: Y.value.padding.top,
|
|
555
|
-
bottom: Y.value.padding.top + Y.value.height,
|
|
556
|
-
left: e,
|
|
557
|
-
right: t,
|
|
558
|
-
width: n,
|
|
559
|
-
fullHeight: Y.value.padding.top + Y.value.padding.bottom + Y.value.height
|
|
560
|
-
};
|
|
561
|
-
});
|
|
562
|
-
function sr() {
|
|
563
|
-
j.value.length ? j.value = [] : U.value.forEach((e) => {
|
|
564
|
-
j.value.push(e.id);
|
|
565
|
-
}), bn("selectLegend", W.value);
|
|
566
|
-
}
|
|
567
|
-
async function cr(e) {
|
|
568
|
-
if (j.value.includes(e)) j.value = j.value.filter((t) => t !== e);
|
|
569
|
-
else {
|
|
570
|
-
if (j.value.length === U.value.length - 1) return;
|
|
571
|
-
j.value.push(e);
|
|
572
|
-
}
|
|
573
|
-
bn("selectLegend", W.value);
|
|
574
|
-
}
|
|
575
|
-
function lr(e) {
|
|
576
|
-
return U.value.length ? U.value.find((t) => t.name === e) || (Un.value && console.warn(`VueUiHorizontalBar - Series name not found "${e}"`), null) : (Un.value && console.warn("VueUiHorizontalBar - There are no series to show."), null);
|
|
577
|
-
}
|
|
578
|
-
function ur(e) {
|
|
579
|
-
let t = lr(e);
|
|
580
|
-
t !== null && j.value.includes(t.id) && cr(t.id);
|
|
581
|
-
}
|
|
582
|
-
function dr(e) {
|
|
583
|
-
let t = lr(e);
|
|
584
|
-
t !== null && (j.value.includes(t.id) || cr(t.id));
|
|
585
|
-
}
|
|
586
|
-
let Z = f(() => W.value.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0));
|
|
587
|
-
function fr(e, n = !1, r = 0) {
|
|
588
|
-
return n ? t({
|
|
589
|
-
v: u(Math.abs(e) / Z.value * 100),
|
|
590
|
-
s: "%",
|
|
591
|
-
r
|
|
592
|
-
}) : Math.abs(e) / Z.value;
|
|
593
|
-
}
|
|
594
|
-
let pr = f(() => G.value.map((e) => e.sign).includes(-1)), mr = f(() => Math.max(...W.value.flatMap((e) => e.children && e.children.length ? Math.max(...e.children.map((e) => e.value)) : e.value)));
|
|
595
|
-
function Q(e) {
|
|
596
|
-
let t = e / mr.value;
|
|
597
|
-
return u(X.value.width / (pr.value ? 2 : 1) * t);
|
|
598
|
-
}
|
|
599
|
-
function hr(e) {
|
|
600
|
-
return Q(e) + X.value.left;
|
|
601
|
-
}
|
|
602
|
-
function gr(e, t) {
|
|
603
|
-
let n = W.value.find((t) => t.id === e.parentId);
|
|
604
|
-
return {
|
|
605
|
-
y: X.value.top + (B.value + J.value) * t + q.value[t] * K.value - K.value + P.value.parentLabels.fontSize,
|
|
606
|
-
name: n.name,
|
|
607
|
-
value: [
|
|
608
|
-
void 0,
|
|
609
|
-
NaN,
|
|
610
|
-
null
|
|
611
|
-
].includes(n.value) ? "" : n.sign === 1 ? n.value : -n.value,
|
|
612
|
-
percentageToTotal: isNaN(n.value / Z.value) ? "" : fr(n.value, !0, P.value.dataLabels.percentage.roundingPercentage),
|
|
613
|
-
sign: n.sign
|
|
614
|
-
};
|
|
615
|
-
}
|
|
616
|
-
function _r() {
|
|
617
|
-
return W.value;
|
|
618
|
-
}
|
|
619
|
-
function vr(e, t) {
|
|
620
|
-
return gr(e, t).name;
|
|
621
|
-
}
|
|
622
|
-
function yr(e, t) {
|
|
623
|
-
let n = gr(e, t);
|
|
624
|
-
return Er(n.value, n, t, e.parentSign || e.sign);
|
|
625
|
-
}
|
|
626
|
-
let br = S(null), xr = S(null);
|
|
627
|
-
function Sr({ datapoint: e, seriesIndex: t }) {
|
|
628
|
-
bn("selectDatapoint", e), N.value.events.datapointClick && N.value.events.datapointClick({
|
|
629
|
-
datapoint: e,
|
|
630
|
-
seriesIndex: t
|
|
631
|
-
});
|
|
632
|
-
}
|
|
633
|
-
function Cr({ datapoint: e, seriesIndex: t }) {
|
|
634
|
-
N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
635
|
-
datapoint: e,
|
|
636
|
-
seriesIndex: t
|
|
637
|
-
}), $t.value = null, Zt.value = !1, br.value = null, M.value === t && (M.value = null);
|
|
638
|
-
}
|
|
639
|
-
function wr(e, n, r = "pointer") {
|
|
640
|
-
yn.value = r, N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
641
|
-
datpoint: e,
|
|
642
|
-
seriesIndex: n
|
|
643
|
-
}), M.value = n, $t.value = e, xr.value = {
|
|
644
|
-
datapoint: e,
|
|
645
|
-
seriesIndex: n,
|
|
646
|
-
series: U.value,
|
|
647
|
-
config: N.value
|
|
648
|
-
}, Zt.value = !0, br.value = e.id;
|
|
649
|
-
let a = "", o = e.isChild ? e.parentName : e.name, s = e.isChild ? e.name : "", c = I.value.customFormat;
|
|
650
|
-
i(c) && se(() => c({
|
|
651
|
-
datapoint: e,
|
|
652
|
-
series: U.value,
|
|
653
|
-
config: N.value,
|
|
654
|
-
seriesIndex: n
|
|
655
|
-
})) ? Qt.value = c({
|
|
656
|
-
datapoint: e,
|
|
657
|
-
series: U.value,
|
|
658
|
-
config: N.value,
|
|
659
|
-
seriesIndex: n
|
|
660
|
-
}) : (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
|
|
661
|
-
<div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${e.color}"/>${Yt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${k.value}_${e.absoluteIndex})"/>` : ""}</svg> ${o}</div>
|
|
662
|
-
${s ? `<div>${s}</div>` : ""}
|
|
663
|
-
</div>`, I.value.showValue && (a += `<div>${N.value.translations.value}: <b>${ie(P.value.dataLabels.value.formatter, e.sign === 1 ? e.value : -e.value, t({
|
|
664
|
-
p: I.value.prefix,
|
|
665
|
-
v: e.sign === 1 ? e.value : -e.value,
|
|
666
|
-
s: I.value.suffix,
|
|
667
|
-
r: I.value.roundingValue
|
|
668
|
-
}), {
|
|
669
|
-
datapoint: e,
|
|
670
|
-
seriesIndex: n
|
|
671
|
-
})}</b></div>`), I.value.showPercentage && (a += `<div>${N.value.translations.percentageToTotal} : <b>${t({
|
|
672
|
-
v: Math.abs(e.value) / Z.value * 100,
|
|
673
|
-
s: "%",
|
|
674
|
-
r: I.value.roundingPercentage
|
|
675
|
-
})}</b></div>`, e.isChild && (a += `<div>${N.value.translations.percentageToSerie}: <b>${t({
|
|
676
|
-
v: Math.abs(e.value) / Math.abs(e.parentValue) * 100,
|
|
677
|
-
s: "%",
|
|
678
|
-
r: I.value.roundingPercentage
|
|
679
|
-
})}</b></div>`)), Qt.value = `<div style="text-align:left">${a}</div>`);
|
|
680
|
-
}
|
|
681
|
-
function Tr({ legend: e, index: n }) {
|
|
682
|
-
let r = L.value.legend;
|
|
683
|
-
return r.showValue ? `${e.name}: ${ie(P.value.dataLabels.value.formatter, e.value, t({
|
|
684
|
-
p: r.prefix,
|
|
685
|
-
v: e.value,
|
|
686
|
-
s: r.suffix,
|
|
687
|
-
r: r.roundingValue
|
|
688
|
-
}), {
|
|
689
|
-
datapoint: e,
|
|
690
|
-
seriesIndex: n
|
|
691
|
-
})}` : e.name;
|
|
692
|
-
}
|
|
693
|
-
function Er(e, n, r, i) {
|
|
694
|
-
if (!P.value.dataLabels.value.show) return "";
|
|
695
|
-
let a = ie(P.value.dataLabels.value.formatter, u(i === -1 && e >= 0 ? -e : e), t({
|
|
696
|
-
p: P.value.dataLabels.value.prefix,
|
|
697
|
-
v: u(i === -1 && e >= 0 ? -e : e),
|
|
698
|
-
s: P.value.dataLabels.value.suffix,
|
|
699
|
-
r: P.value.dataLabels.value.roundingValue
|
|
700
|
-
}), {
|
|
701
|
-
datapoint: n,
|
|
702
|
-
seriesIndex: r
|
|
703
|
-
}), o = `(${fr(e, !0, P.value.dataLabels.percentage.roundingPercentage)})`;
|
|
704
|
-
return `${a}${P.value.dataLabels.percentage.show ? ` ${o}` : ""}`;
|
|
705
|
-
}
|
|
706
|
-
let $ = f(() => ({
|
|
707
|
-
head: [
|
|
708
|
-
N.value.translations.parentName,
|
|
709
|
-
N.value.translations.value,
|
|
710
|
-
N.value.translations.percentageToTotal,
|
|
711
|
-
N.value.translations.childName,
|
|
712
|
-
N.value.translations.value,
|
|
713
|
-
N.value.translations.percentageToSerie,
|
|
714
|
-
N.value.translations.percentageToTotal
|
|
715
|
-
],
|
|
716
|
-
body: G.value.map((e) => e.isChild ? e.isFirstChild ? {
|
|
717
|
-
color: e.color,
|
|
718
|
-
parentName: e.parentName,
|
|
719
|
-
parentValue: e.parentValue,
|
|
720
|
-
percentageToTotal: e.parentValue / Z.value,
|
|
721
|
-
childName: e.name,
|
|
722
|
-
childValue: e.sign === 1 ? e.value : -e.value,
|
|
723
|
-
childPercentageToParent: Math.abs(e.value) / Math.abs(e.parentValue),
|
|
724
|
-
childPercentageToTotal: Math.abs(e.value) / Z.value
|
|
725
|
-
} : {
|
|
726
|
-
color: "",
|
|
727
|
-
parentName: "",
|
|
728
|
-
parentValue: "",
|
|
729
|
-
percentageToTotal: "",
|
|
730
|
-
childName: e.name,
|
|
731
|
-
childValue: e.sign === 1 ? e.value : -e.value,
|
|
732
|
-
childPercentageToParent: Math.abs(e.value) / Math.abs(e.parentValue),
|
|
733
|
-
childPercentageToTotal: Math.abs(e.value) / Z.value
|
|
734
|
-
} : {
|
|
735
|
-
color: e.color,
|
|
736
|
-
parentName: e.name,
|
|
737
|
-
parentValue: e.sign === 1 ? e.value : -e.value,
|
|
738
|
-
percentageToTotal: Math.abs(e.value) / Z.value,
|
|
739
|
-
childName: "",
|
|
740
|
-
childValue: "",
|
|
741
|
-
childPercentageToParent: "",
|
|
742
|
-
childPercentageToTotal: ""
|
|
743
|
-
})
|
|
744
|
-
}));
|
|
745
|
-
function Dr(e = null) {
|
|
746
|
-
let t = [
|
|
747
|
-
[L.value.title.text],
|
|
748
|
-
[L.value.title.subtitle.text],
|
|
749
|
-
[""]
|
|
750
|
-
], n = $.value.head, i = $.value.body.map((e) => [
|
|
751
|
-
e.parentName,
|
|
752
|
-
e.parentValue,
|
|
753
|
-
e.percentageToTotal,
|
|
754
|
-
e.childName,
|
|
755
|
-
e.childValue,
|
|
756
|
-
e.childPercentageToParent,
|
|
757
|
-
e.childPercentageToTotal
|
|
758
|
-
]), a = t.concat([n]).concat(i), o = r(a);
|
|
759
|
-
e ? e(o) : oe({
|
|
760
|
-
csvContent: o,
|
|
761
|
-
title: L.value.title.text || "vue-ui-vertical-bar"
|
|
762
|
-
});
|
|
763
|
-
}
|
|
764
|
-
let Or = S(!1);
|
|
765
|
-
function kr(e) {
|
|
766
|
-
Or.value = e, en.value += 1;
|
|
767
|
-
}
|
|
768
|
-
function Ar() {
|
|
769
|
-
H.value.showTable = !H.value.showTable;
|
|
770
|
-
}
|
|
771
|
-
Ge(() => {
|
|
772
|
-
[
|
|
773
|
-
"none",
|
|
774
|
-
"asc",
|
|
775
|
-
"desc"
|
|
776
|
-
].includes(P.value.sort) || l({
|
|
777
|
-
componentName: "VueUiVerticalBar",
|
|
778
|
-
type: "attributeWrongValue",
|
|
779
|
-
property: "style.chart.layout.bars.sort",
|
|
780
|
-
key: P.value.sort
|
|
781
|
-
}), mn.value = pn.value[P.value.sort] ?? 0;
|
|
782
|
-
});
|
|
783
|
-
function jr() {
|
|
784
|
-
mn.value += 1, mn.value > 2 && (mn.value = 0);
|
|
785
|
-
}
|
|
786
|
-
function Mr() {
|
|
787
|
-
jr();
|
|
788
|
-
}
|
|
789
|
-
function Nr() {
|
|
790
|
-
H.value.showTooltip = !H.value.showTooltip;
|
|
791
|
-
}
|
|
792
|
-
let Pr = S(!1);
|
|
793
|
-
function Fr() {
|
|
794
|
-
Pr.value = !Pr.value;
|
|
795
|
-
}
|
|
796
|
-
async function Ir({ scale: e = 2 } = {}) {
|
|
797
|
-
if (!A.value) return;
|
|
798
|
-
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
|
|
799
|
-
domElement: A.value,
|
|
800
|
-
base64: !0,
|
|
801
|
-
img: !0,
|
|
802
|
-
scale: e
|
|
803
|
-
});
|
|
804
|
-
return {
|
|
805
|
-
imageUri: i,
|
|
806
|
-
base64: a,
|
|
807
|
-
title: L.value.title.text,
|
|
808
|
-
width: t,
|
|
809
|
-
height: n,
|
|
810
|
-
aspectRatio: r
|
|
811
|
-
};
|
|
812
|
-
}
|
|
813
|
-
let Lr = f(() => {
|
|
814
|
-
let e = N.value.table.useDialog && !N.value.table.show, t = H.value.showTable;
|
|
815
|
-
return {
|
|
816
|
-
component: e ? Gt : Ae,
|
|
817
|
-
title: `${L.value.title.text}${L.value.title.subtitle.text ? `: ${L.value.title.subtitle.text}` : ""}`,
|
|
818
|
-
props: e ? {
|
|
819
|
-
backgroundColor: N.value.table.th.backgroundColor,
|
|
820
|
-
color: N.value.table.th.color,
|
|
821
|
-
headerColor: N.value.table.th.color,
|
|
822
|
-
headerBg: N.value.table.th.backgroundColor,
|
|
823
|
-
isFullscreen: Or.value,
|
|
824
|
-
fullscreenParent: A.value,
|
|
825
|
-
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
826
|
-
isCursorPointer: xn.value
|
|
827
|
-
} : {
|
|
828
|
-
hideDetails: !0,
|
|
829
|
-
config: {
|
|
830
|
-
open: t,
|
|
831
|
-
maxHeight: 1e4,
|
|
832
|
-
body: {
|
|
833
|
-
backgroundColor: L.value.backgroundColor,
|
|
834
|
-
color: L.value.color
|
|
835
|
-
},
|
|
836
|
-
head: {
|
|
837
|
-
backgroundColor: L.value.backgroundColor,
|
|
838
|
-
color: L.value.color
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
};
|
|
843
|
-
});
|
|
844
|
-
Xe(() => H.value.showTable, (e) => {
|
|
845
|
-
N.value.table.show || (e && N.value.table.useDialog && ln.value ? ln.value.open() : "close" in ln.value && ln.value.close());
|
|
846
|
-
});
|
|
847
|
-
let { isResponsive: Rr } = Fe(Vn, Hn);
|
|
848
|
-
function zr() {
|
|
849
|
-
H.value.showTable = !1, un.value && un.value.setTableIconState(!1);
|
|
850
|
-
}
|
|
851
|
-
let Br = f(() => U.value.map((e, n) => ({
|
|
852
|
-
...e,
|
|
853
|
-
shape: "square",
|
|
854
|
-
display: `${e.name}: ${ie(P.value.dataLabels.value.formatter, e.value, t({
|
|
855
|
-
p: L.value.legend.prefix,
|
|
856
|
-
v: e.value,
|
|
857
|
-
s: L.value.legend.suffix,
|
|
858
|
-
r: L.value.legend.roundingValue
|
|
859
|
-
}), {
|
|
860
|
-
datapoint: e,
|
|
861
|
-
seriesIndex: n
|
|
862
|
-
})}`
|
|
863
|
-
}))), Vr = f(() => L.value.backgroundColor), Hr = f(() => L.value.legend), Ur = f(() => L.value.title), Wr = f(() => Br.value.map((e) => ({
|
|
864
|
-
...e,
|
|
865
|
-
name: e.display
|
|
866
|
-
}))), { isCallbackImaging: Gr, isCallbackSvg: Kr, generateSvg: qr, onGenerateImage: Jr } = xe({
|
|
867
|
-
svg: An,
|
|
868
|
-
title: Ur,
|
|
869
|
-
legend: Hr,
|
|
870
|
-
legendItems: Wr,
|
|
871
|
-
backgroundColor: Vr,
|
|
872
|
-
getSvgCallback: () => N.value.userOptions.callbacks.svg,
|
|
873
|
-
generateImage: Rn
|
|
874
|
-
});
|
|
875
|
-
function Yr() {
|
|
876
|
-
console.warn("[autoSize]: this legacy method can be safely removed as it has no impact.");
|
|
877
|
-
}
|
|
878
|
-
async function Xr() {
|
|
879
|
-
if (bn("copyAlt", {
|
|
880
|
-
config: N.value,
|
|
881
|
-
dataset: W.value
|
|
882
|
-
}), !N.value.userOptions.callbacks.altCopy) {
|
|
883
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
884
|
-
return;
|
|
885
|
-
}
|
|
886
|
-
await Promise.resolve(N.value.userOptions.callbacks.altCopy({
|
|
887
|
-
config: N.value,
|
|
888
|
-
dataset: W.value
|
|
889
|
-
}));
|
|
890
|
-
}
|
|
891
|
-
let Zr = S(!1);
|
|
892
|
-
function Qr() {
|
|
893
|
-
M.value = null, Zr.value = !0;
|
|
894
|
-
}
|
|
895
|
-
function $r() {
|
|
896
|
-
M.value = null, Zt.value = !1, Zr.value = !1;
|
|
897
|
-
}
|
|
898
|
-
function ei() {
|
|
899
|
-
if (M.value === null) return;
|
|
900
|
-
let e = G.value[M.value];
|
|
901
|
-
e && Cr({
|
|
902
|
-
datapoint: e,
|
|
903
|
-
seriesIndex: M.value
|
|
904
|
-
}), M.value = null, yn.value = "pointer";
|
|
905
|
-
}
|
|
906
|
-
function ti(e) {
|
|
907
|
-
if (!An.value || Pr.value || document.activeElement !== An.value) return;
|
|
908
|
-
let t = e.key === "ArrowRight" || e.key === "ArrowDown", n = e.key === "ArrowLeft" || e.key === "ArrowUp", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
909
|
-
if (!t && !n && !r && !i) return;
|
|
910
|
-
let a = G.value.length;
|
|
911
|
-
if (!a) return;
|
|
912
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
913
|
-
ei();
|
|
914
|
-
return;
|
|
915
|
-
}
|
|
916
|
-
if (r) {
|
|
917
|
-
if (M.value === null) return;
|
|
918
|
-
let e = G.value[M.value];
|
|
919
|
-
if (!e) return;
|
|
920
|
-
Sr({
|
|
921
|
-
datapoint: e,
|
|
922
|
-
seriesIndex: M.value
|
|
923
|
-
});
|
|
924
|
-
return;
|
|
925
|
-
}
|
|
926
|
-
let o = M.value, s = $t.value ? G.value.findIndex((e) => e.id === $t.value.id) : null;
|
|
927
|
-
o !== null && o >= 0 && o < a ? t ? (o += 1, o >= a && (o = 0)) : n && (--o, o < 0 && (o = a - 1)) : s !== null && s >= 0 && s < a ? (o = t ? s + 1 : s - 1, o >= a && (o = 0), o < 0 && (o = a - 1)) : o = t ? 0 : a - 1;
|
|
928
|
-
let c = G.value[o];
|
|
929
|
-
c && (M.value = o, ni(c), wr(c, o, "keyboard"));
|
|
930
|
-
}
|
|
931
|
-
function ni(e) {
|
|
932
|
-
if (!e) return;
|
|
933
|
-
let t = X.value.right, r = X.value.top + (B.value + J.value) * e.absoluteIndex + q.value[e.absoluteIndex] * K.value;
|
|
934
|
-
if (!Number.isFinite(t) || !Number.isFinite(r)) return;
|
|
935
|
-
let i = n(t, r, An.value);
|
|
936
|
-
i && (vn.value = i);
|
|
937
|
-
}
|
|
938
|
-
let ri = f(() => ({
|
|
939
|
-
head: $.value.head,
|
|
940
|
-
body: $.value.body.map((e) => [
|
|
941
|
-
e.parentName,
|
|
942
|
-
e.parentValue === "" ? "" : t({
|
|
943
|
-
v: e.parentValue,
|
|
944
|
-
r: P.value.dataLabels.value.roundingValue,
|
|
945
|
-
p: P.value.dataLabels.prefix,
|
|
946
|
-
s: P.value.dataLabels.suffix
|
|
947
|
-
}),
|
|
948
|
-
e.percentageToTotal === "" ? "" : t({
|
|
949
|
-
v: e.percentageToTotal * 100,
|
|
950
|
-
r: P.value.dataLabels.percentage.roundingPercentage,
|
|
951
|
-
s: "%"
|
|
952
|
-
}),
|
|
953
|
-
e.childName,
|
|
954
|
-
e.childValue === "" ? "" : t({
|
|
955
|
-
v: e.childValue,
|
|
956
|
-
r: P.value.dataLabels.value.roundingValue,
|
|
957
|
-
p: P.value.dataLabels.prefix,
|
|
958
|
-
s: P.value.dataLabels.suffix
|
|
959
|
-
}),
|
|
960
|
-
e.childPercentageToParent === "" ? "" : t({
|
|
961
|
-
v: e.childPercentageToParent * 100,
|
|
962
|
-
r: P.value.dataLabels.percentage.roundingPercentage,
|
|
963
|
-
s: "%"
|
|
964
|
-
}),
|
|
965
|
-
e.childPercentageToTotal === "" ? "" : t({
|
|
966
|
-
v: e.childPercentageToTotal * 100,
|
|
967
|
-
r: P.value.dataLabels.percentage.roundingPercentage,
|
|
968
|
-
s: "%"
|
|
969
|
-
})
|
|
970
|
-
]),
|
|
971
|
-
caption: N.value.a11y.translations.tableCaption,
|
|
972
|
-
notice: N.value.a11y.translations.tableAvailable
|
|
973
|
-
}));
|
|
974
|
-
return Ee({
|
|
975
|
-
autoSize: Yr,
|
|
976
|
-
getData: _r,
|
|
977
|
-
getImage: Ir,
|
|
978
|
-
generatePdf: Ln,
|
|
979
|
-
generateCsv: Dr,
|
|
980
|
-
generateImage: Rn,
|
|
981
|
-
generateSvg: qr,
|
|
982
|
-
hideSeries: dr,
|
|
983
|
-
showSeries: ur,
|
|
984
|
-
toggleTable: Ar,
|
|
985
|
-
toggleSort: Mr,
|
|
986
|
-
toggleTooltip: Nr,
|
|
987
|
-
toggleAnnotator: Fr,
|
|
988
|
-
toggleFullscreen: kr,
|
|
989
|
-
copyAlt: Xr
|
|
990
|
-
}), (e, t) => (x(), h("div", {
|
|
991
|
-
class: v(`vue-data-ui-component vue-ui-vertical-bar ${Or.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"} ${N.value.responsive ? "vue-ui-vertical-bar-autosize" : ""}`),
|
|
992
|
-
ref_key: "verticalBarChart",
|
|
993
|
-
ref: A,
|
|
994
|
-
id: `vue-ui-vertical-bar_${k.value}`,
|
|
995
|
-
style: b(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${L.value.backgroundColor};height:100%`),
|
|
996
|
-
onMouseenter: t[3] ||= () => E(On)(!0),
|
|
997
|
-
onMouseleave: t[4] ||= () => E(On)(!1)
|
|
998
|
-
}, [
|
|
999
|
-
g("p", {
|
|
1000
|
-
id: `chart-instructions-${k.value}`,
|
|
1001
|
-
class: "sr-only"
|
|
1002
|
-
}, T(N.value.a11y.translations.keyboardNavigation), 9, et),
|
|
1003
|
-
ri.value.body.length ? (x(), p(Me, {
|
|
1004
|
-
key: 0,
|
|
1005
|
-
uid: k.value,
|
|
1006
|
-
head: ri.value.head,
|
|
1007
|
-
body: ri.value.body,
|
|
1008
|
-
caption: ri.value.caption,
|
|
1009
|
-
notice: ri.value.notice
|
|
1010
|
-
}, null, 8, [
|
|
1011
|
-
"uid",
|
|
1012
|
-
"head",
|
|
1013
|
-
"body",
|
|
1014
|
-
"caption",
|
|
1015
|
-
"notice"
|
|
1016
|
-
])) : m("", !0),
|
|
1017
|
-
N.value.userOptions.buttons.annotator ? (x(), p(E(Ht), {
|
|
1018
|
-
key: 1,
|
|
1019
|
-
svgRef: E(An),
|
|
1020
|
-
backgroundColor: L.value.backgroundColor,
|
|
1021
|
-
color: L.value.color,
|
|
1022
|
-
active: Pr.value,
|
|
1023
|
-
isCursorPointer: xn.value,
|
|
1024
|
-
palette: N.value.userOptions.annotatorPalette,
|
|
1025
|
-
onClose: Fr
|
|
1026
|
-
}, {
|
|
1027
|
-
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1028
|
-
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
1029
|
-
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
|
|
1030
|
-
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
|
|
1031
|
-
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
|
|
1032
|
-
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
|
|
1033
|
-
_: 3
|
|
1034
|
-
}, 8, [
|
|
1035
|
-
"svgRef",
|
|
1036
|
-
"backgroundColor",
|
|
1037
|
-
"color",
|
|
1038
|
-
"active",
|
|
1039
|
-
"isCursorPointer",
|
|
1040
|
-
"palette"
|
|
1041
|
-
])) : m("", !0),
|
|
1042
|
-
zn.value ? (x(), h("div", {
|
|
1043
|
-
key: 2,
|
|
1044
|
-
ref_key: "noTitle",
|
|
1045
|
-
ref: an,
|
|
1046
|
-
class: "vue-data-ui-no-title-space",
|
|
1047
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
1048
|
-
}, null, 512)) : m("", !0),
|
|
1049
|
-
L.value.title.text ? (x(), h("div", {
|
|
1050
|
-
key: 3,
|
|
1051
|
-
ref_key: "chartTitle",
|
|
1052
|
-
ref: tn,
|
|
1053
|
-
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1054
|
-
}, [(x(), p(we, {
|
|
1055
|
-
key: `title_${on.value}`,
|
|
1056
|
-
config: {
|
|
1057
|
-
title: {
|
|
1058
|
-
cy: "vertical-bar-div-title",
|
|
1059
|
-
...L.value.title
|
|
1060
|
-
},
|
|
1061
|
-
subtitle: {
|
|
1062
|
-
cy: "vertical-bar-div-subtitle",
|
|
1063
|
-
...L.value.title.subtitle
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
}, null, 8, ["config"]))], 512)) : m("", !0),
|
|
1067
|
-
N.value.userOptions.show && Xt.value && (E(kn) || E(Dn)) ? (x(), p(E(Ut), {
|
|
1068
|
-
ref_key: "userOptionsRef",
|
|
1069
|
-
ref: un,
|
|
1070
|
-
backgroundColor: L.value.backgroundColor,
|
|
1071
|
-
color: L.value.color,
|
|
1072
|
-
key: `user_options_${en.value}`,
|
|
1073
|
-
isImaging: E(In),
|
|
1074
|
-
isPrinting: E(Fn),
|
|
1075
|
-
uid: k.value,
|
|
1076
|
-
hasTooltip: N.value.userOptions.buttons.tooltip && I.value.show,
|
|
1077
|
-
hasPdf: N.value.userOptions.buttons.pdf,
|
|
1078
|
-
hasImg: N.value.userOptions.buttons.img,
|
|
1079
|
-
hasSvg: N.value.userOptions.buttons.svg,
|
|
1080
|
-
hasXls: N.value.userOptions.buttons.csv,
|
|
1081
|
-
hasTable: N.value.userOptions.buttons.table,
|
|
1082
|
-
hasSort: N.value.userOptions.buttons.sort,
|
|
1083
|
-
hasFullscreen: N.value.userOptions.buttons.fullscreen,
|
|
1084
|
-
hasAltCopy: N.value.userOptions.buttons.altCopy,
|
|
1085
|
-
isFullscreen: Or.value,
|
|
1086
|
-
isTooltip: H.value.showTooltip,
|
|
1087
|
-
titles: { ...N.value.userOptions.buttonTitles },
|
|
1088
|
-
chartElement: A.value,
|
|
1089
|
-
position: N.value.userOptions.position,
|
|
1090
|
-
hasAnnotator: N.value.userOptions.buttons.annotator,
|
|
1091
|
-
isAnnotation: Pr.value,
|
|
1092
|
-
callbacks: N.value.userOptions.callbacks,
|
|
1093
|
-
printScale: N.value.userOptions.print.scale,
|
|
1094
|
-
tableDialog: N.value.table.useDialog,
|
|
1095
|
-
isCursorPointer: xn.value,
|
|
1096
|
-
onToggleFullscreen: kr,
|
|
1097
|
-
onGeneratePdf: E(Ln),
|
|
1098
|
-
onGenerateCsv: Dr,
|
|
1099
|
-
onGenerateImage: E(Jr),
|
|
1100
|
-
onGenerateSvg: E(qr),
|
|
1101
|
-
onToggleTable: Ar,
|
|
1102
|
-
onToggleSort: Mr,
|
|
1103
|
-
onToggleTooltip: Nr,
|
|
1104
|
-
onToggleAnnotator: Fr,
|
|
1105
|
-
onCopyAlt: Xr,
|
|
1106
|
-
style: b({ visibility: E(kn) ? E(Dn) ? "visible" : "hidden" : "visible" })
|
|
1107
|
-
}, Re({ _: 2 }, [
|
|
1108
|
-
e.$slots.menuIcon ? {
|
|
1109
|
-
name: "menuIcon",
|
|
1110
|
-
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
|
|
1111
|
-
isOpen: t,
|
|
1112
|
-
color: n
|
|
1113
|
-
})), void 0, !0)]),
|
|
1114
|
-
key: "0"
|
|
1115
|
-
} : void 0,
|
|
1116
|
-
e.$slots.optionTooltip ? {
|
|
1117
|
-
name: "optionTooltip",
|
|
1118
|
-
fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1119
|
-
key: "1"
|
|
1120
|
-
} : void 0,
|
|
1121
|
-
e.$slots.optionPdf ? {
|
|
1122
|
-
name: "optionPdf",
|
|
1123
|
-
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1124
|
-
key: "2"
|
|
1125
|
-
} : void 0,
|
|
1126
|
-
e.$slots.optionCsv ? {
|
|
1127
|
-
name: "optionCsv",
|
|
1128
|
-
fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1129
|
-
key: "3"
|
|
1130
|
-
} : void 0,
|
|
1131
|
-
e.$slots.optionImg ? {
|
|
1132
|
-
name: "optionImg",
|
|
1133
|
-
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1134
|
-
key: "4"
|
|
1135
|
-
} : void 0,
|
|
1136
|
-
e.$slots.optionSvg ? {
|
|
1137
|
-
name: "optionSvg",
|
|
1138
|
-
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1139
|
-
key: "5"
|
|
1140
|
-
} : void 0,
|
|
1141
|
-
e.$slots.optionTable ? {
|
|
1142
|
-
name: "optionTable",
|
|
1143
|
-
fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1144
|
-
key: "6"
|
|
1145
|
-
} : void 0,
|
|
1146
|
-
e.$slots.optionLabels ? {
|
|
1147
|
-
name: "optionLabels",
|
|
1148
|
-
fn: D(() => [w(e.$slots, "optionLabels", {}, void 0, !0)]),
|
|
1149
|
-
key: "7"
|
|
1150
|
-
} : void 0,
|
|
1151
|
-
e.$slots.optionSort ? {
|
|
1152
|
-
name: "optionSort",
|
|
1153
|
-
fn: D(() => [w(e.$slots, "optionSort", {}, void 0, !0)]),
|
|
1154
|
-
key: "8"
|
|
1155
|
-
} : void 0,
|
|
1156
|
-
e.$slots.optionFullscreen ? {
|
|
1157
|
-
name: "optionFullscreen",
|
|
1158
|
-
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
|
|
1159
|
-
toggleFullscreen: t,
|
|
1160
|
-
isFullscreen: n
|
|
1161
|
-
})), void 0, !0)]),
|
|
1162
|
-
key: "9"
|
|
1163
|
-
} : void 0,
|
|
1164
|
-
e.$slots.optionAnnotator ? {
|
|
1165
|
-
name: "optionAnnotator",
|
|
1166
|
-
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
|
|
1167
|
-
toggleAnnotator: t,
|
|
1168
|
-
isAnnotator: n
|
|
1169
|
-
})), void 0, !0)]),
|
|
1170
|
-
key: "10"
|
|
1171
|
-
} : void 0,
|
|
1172
|
-
e.$slots.optionAltCopy ? {
|
|
1173
|
-
name: "optionAltCopy",
|
|
1174
|
-
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
|
|
1175
|
-
key: "11"
|
|
1176
|
-
} : void 0,
|
|
1177
|
-
e.$slots["custom-menu-before"] ? {
|
|
1178
|
-
name: "custom-menu-before",
|
|
1179
|
-
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1180
|
-
key: "12"
|
|
1181
|
-
} : void 0,
|
|
1182
|
-
e.$slots["custom-menu-after"] ? {
|
|
1183
|
-
name: "custom-menu-after",
|
|
1184
|
-
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1185
|
-
key: "13"
|
|
1186
|
-
} : void 0
|
|
1187
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasSort.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : m("", !0),
|
|
1188
|
-
e.$slots.legend && L.value.legend.show && L.value.legend.position === "top" ? w(e.$slots, "legend", { legend: U.value }, void 0, !0, 5) : m("", !0),
|
|
1189
|
-
!e.$slots.legend && L.value.legend.show && L.value.legend.position === "top" ? (x(), h("div", {
|
|
1190
|
-
key: 6,
|
|
1191
|
-
ref_key: "chartLegend",
|
|
1192
|
-
ref: nn
|
|
1193
|
-
}, [(x(), p(Ie, {
|
|
1194
|
-
key: `legend_top_${sn.value}`,
|
|
1195
|
-
legendSet: U.value,
|
|
1196
|
-
config: Zn.value,
|
|
1197
|
-
onClickMarker: t[0] ||= ({ legend: e }) => cr(e.id)
|
|
1198
|
-
}, Re({
|
|
1199
|
-
item: D(({ legend: e, index: t }) => [g("div", {
|
|
1200
|
-
onClick: (t) => cr(e.id),
|
|
1201
|
-
style: b(`opacity:${j.value.includes(e.id) ? .5 : 1}`)
|
|
1202
|
-
}, T(Tr({
|
|
1203
|
-
legend: e,
|
|
1204
|
-
index: t
|
|
1205
|
-
})), 13, tt)]),
|
|
1206
|
-
legendToggle: D(() => [U.value.length > 2 && L.value.legend.selectAllToggle.show && !E(wn) ? (x(), p(je, {
|
|
1207
|
-
key: 0,
|
|
1208
|
-
backgroundColor: L.value.legend.selectAllToggle.backgroundColor,
|
|
1209
|
-
color: L.value.legend.selectAllToggle.color,
|
|
1210
|
-
fontSize: L.value.legend.fontSize,
|
|
1211
|
-
checked: j.value.length > 0,
|
|
1212
|
-
onToggle: sr
|
|
1213
|
-
}, null, 8, [
|
|
1214
|
-
"backgroundColor",
|
|
1215
|
-
"color",
|
|
1216
|
-
"fontSize",
|
|
1217
|
-
"checked"
|
|
1218
|
-
])) : m("", !0)]),
|
|
1219
|
-
_: 2
|
|
1220
|
-
}, [e.$slots.pattern ? {
|
|
1221
|
-
name: "legend-pattern",
|
|
1222
|
-
fn: D(({ legend: e, index: t }) => [Be(Te, {
|
|
1223
|
-
shape: e.shape,
|
|
1224
|
-
radius: 30,
|
|
1225
|
-
stroke: "none",
|
|
1226
|
-
plot: {
|
|
1227
|
-
x: 30,
|
|
1228
|
-
y: 30
|
|
1229
|
-
},
|
|
1230
|
-
fill: `url(#pattern_${k.value}_${t})`
|
|
1231
|
-
}, null, 8, ["shape", "fill"])]),
|
|
1232
|
-
key: "0"
|
|
1233
|
-
} : void 0]), 1032, ["legendSet", "config"]))], 512)) : m("", !0),
|
|
1234
|
-
g("div", nt, [(x(), h("svg", {
|
|
1235
|
-
ref_key: "svgRef",
|
|
1236
|
-
ref: An,
|
|
1237
|
-
xmlns: E(ce),
|
|
1238
|
-
class: v({
|
|
1239
|
-
"vue-data-ui-fullscreen--on": Or.value,
|
|
1240
|
-
"vue-data-ui-fulscreen--off": !Or.value,
|
|
1241
|
-
"vue-data-ui-no-transition": !E(R)
|
|
1242
|
-
}),
|
|
1243
|
-
viewBox: `0 0 ${z.value} ${Mn.value}`,
|
|
1244
|
-
style: b(`max-width:100%;overflow:visible;background:transparent;color:${L.value.color}`),
|
|
1245
|
-
tabindex: "0",
|
|
1246
|
-
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1247
|
-
onFocus: Qr,
|
|
1248
|
-
onBlur: $r,
|
|
1249
|
-
onKeydown: ti
|
|
1250
|
-
}, [g("g", {
|
|
1251
|
-
ref_key: "G",
|
|
1252
|
-
ref: cn,
|
|
1253
|
-
class: "vue-data-ui-g"
|
|
1254
|
-
}, [
|
|
1255
|
-
Be(E(Wt)),
|
|
1256
|
-
e.$slots["chart-background"] ? (x(), h("foreignObject", {
|
|
1257
|
-
key: 0,
|
|
1258
|
-
x: 0,
|
|
1259
|
-
y: 0,
|
|
1260
|
-
width: z.value,
|
|
1261
|
-
height: Mn.value,
|
|
1262
|
-
style: { pointerEvents: "none" }
|
|
1263
|
-
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, it)) : m("", !0),
|
|
1264
|
-
g("defs", null, [(x(!0), h(d, null, C(G.value, (e, t) => (x(), p(ke, {
|
|
1265
|
-
t: "linear",
|
|
1266
|
-
x1: "0%",
|
|
1267
|
-
y1: "0%",
|
|
1268
|
-
x2: "100%",
|
|
1269
|
-
y2: "0%",
|
|
1270
|
-
id: `vertical_bar_gradient_${k.value}_${t}`,
|
|
1271
|
-
key: `vertical_bar_gradient_${k.value}_${t}`,
|
|
1272
|
-
stops: [[
|
|
1273
|
-
"0%",
|
|
1274
|
-
e.color,
|
|
1275
|
-
1
|
|
1276
|
-
], [
|
|
1277
|
-
"100%",
|
|
1278
|
-
E(s)(E(te)(e.color, .03), 100 - P.value.gradientIntensity),
|
|
1279
|
-
1
|
|
1280
|
-
]]
|
|
1281
|
-
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1282
|
-
e.$slots.pattern ? (x(), h("g", at, [(x(!0), h(d, null, C(G.value, (t) => (x(), h("defs", null, [w(e.$slots, "pattern", He({ ref_for: !0 }, {
|
|
1283
|
-
seriesIndex: t.absoluteIndex,
|
|
1284
|
-
patternId: `pattern_${k.value}_${t.absoluteIndex}`
|
|
1285
|
-
}), void 0, !0)]))), 256))])) : m("", !0),
|
|
1286
|
-
P.value.rowColor ? (x(!0), h(d, { key: 2 }, C(G.value, (e, t) => (x(), h("g", { key: `row_${e.id}` }, [g("rect", {
|
|
1287
|
-
x: 0,
|
|
1288
|
-
y: X.value.top + (B.value + J.value) * t + q.value[t] * K.value,
|
|
1289
|
-
width: z.value,
|
|
1290
|
-
height: J.value <= 0 ? 1e-4 : J.value,
|
|
1291
|
-
fill: P.value.rowColor,
|
|
1292
|
-
rx: P.value.rowRadius,
|
|
1293
|
-
style: { pointerEvents: "none" },
|
|
1294
|
-
class: v({ "vue-data-ui-transition": E(R) })
|
|
1295
|
-
}, null, 10, ot)]))), 128)) : m("", !0),
|
|
1296
|
-
(x(!0), h(d, null, C(G.value, (e, t) => (x(), h("g", { key: `underlayer_${e.id}` }, [g("rect", {
|
|
1297
|
-
x: E(u)(pr.value ? X.value.left + X.value.width / 2 - (e.sign === 1 ? 0 : Q(e.value) <= 0 ? 1e-4 : Q(e.value)) : X.value.left),
|
|
1298
|
-
y: X.value.top + (B.value + J.value) * t + q.value[t] * K.value,
|
|
1299
|
-
width: E(u)(Q(e.value) <= 0 ? 1e-4 : Q(e.value)),
|
|
1300
|
-
height: J.value <= 0 ? 1e-4 : J.value,
|
|
1301
|
-
fill: P.value.underlayerColor,
|
|
1302
|
-
rx: P.value.borderRadius,
|
|
1303
|
-
class: v({ "vue-data-ui-transition": E(R) })
|
|
1304
|
-
}, null, 10, st)]))), 128)),
|
|
1305
|
-
(x(!0), h(d, null, C(G.value, (t, n) => (x(), h("g", { key: `barloop_${t.id}` }, [
|
|
1306
|
-
g("rect", {
|
|
1307
|
-
x: E(u)(pr.value ? X.value.left + X.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : X.value.left),
|
|
1308
|
-
y: X.value.top + (B.value + J.value) * n + q.value[n] * K.value,
|
|
1309
|
-
width: E(u)(Q(t.value) <= 0 ? 1e-4 : Q(t.value)),
|
|
1310
|
-
height: J.value <= 0 ? 1e-4 : J.value,
|
|
1311
|
-
fill: P.value.useGradient ? `url(#vertical_bar_gradient_${k.value}_${n})` : E(s)(t.color, P.value.fillOpacity),
|
|
1312
|
-
rx: P.value.borderRadius,
|
|
1313
|
-
stroke: P.value.useStroke ? t.color : "none",
|
|
1314
|
-
"stroke-width": P.value.useStroke ? P.value.strokeWidth : 0,
|
|
1315
|
-
class: v({ "vue-data-ui-transition": E(R) })
|
|
1316
|
-
}, null, 10, ct),
|
|
1317
|
-
e.$slots.pattern ? (x(), h("rect", {
|
|
1318
|
-
key: 0,
|
|
1319
|
-
x: E(u)(pr.value ? X.value.left + X.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : X.value.left),
|
|
1320
|
-
y: X.value.top + (B.value + J.value) * n + q.value[n] * K.value,
|
|
1321
|
-
width: E(u)(Q(t.value) <= 0 ? 1e-4 : Q(t.value)),
|
|
1322
|
-
height: J.value <= 0 ? 1e-4 : J.value,
|
|
1323
|
-
fill: `url(#pattern_${k.value}_${t.absoluteIndex})`,
|
|
1324
|
-
rx: P.value.borderRadius,
|
|
1325
|
-
stroke: P.value.useStroke ? t.color : "none",
|
|
1326
|
-
"stroke-width": P.value.useStroke ? P.value.strokeWidth : 0,
|
|
1327
|
-
class: v({ "vue-data-ui-transition": E(R) })
|
|
1328
|
-
}, null, 10, lt)) : m("", !0),
|
|
1329
|
-
(!t.isChild || t.isLastChild) && F.value.separators.show && n !== G.value.length - 1 ? (x(), h("path", {
|
|
1330
|
-
key: 1,
|
|
1331
|
-
stroke: F.value.separators.color,
|
|
1332
|
-
"stroke-width": F.value.separators.strokeWidth,
|
|
1333
|
-
"stroke-linecap": "round",
|
|
1334
|
-
class: v({ "vue-data-ui-transition": E(R) }),
|
|
1335
|
-
d: `M${z.value}, ${J.value + B.value / 2 + X.value.top + (B.value + J.value) * n + q.value[n] * K.value} ${F.value.separators.fullWidth ? 0 : X.value.left}, ${J.value + B.value / 2 + X.value.top + (B.value + J.value) * n + q.value[n] * K.value}`
|
|
1336
|
-
}, null, 10, ut)) : m("", !0),
|
|
1337
|
-
pr.value && F.value.separators.show ? (x(), h("path", {
|
|
1338
|
-
key: 2,
|
|
1339
|
-
stroke: F.value.separators.color,
|
|
1340
|
-
"stroke-width": F.value.separators.strokeWidth,
|
|
1341
|
-
"stroke-linecap": "round",
|
|
1342
|
-
class: v({ "vue-data-ui-transition": E(R) }),
|
|
1343
|
-
d: `M${X.value.left + X.value.width / 2}, ${X.value.top} ${X.value.left + X.value.width / 2}, ${X.value.bottom}`
|
|
1344
|
-
}, null, 10, dt)) : m("", !0)
|
|
1345
|
-
]))), 128)),
|
|
1346
|
-
g("g", {
|
|
1347
|
-
ref_key: "parentLabels",
|
|
1348
|
-
ref: dn
|
|
1349
|
-
}, [(x(!0), h(d, null, C(G.value, (e, t) => (x(), h("g", {
|
|
1350
|
-
key: `pn_${e.id}`,
|
|
1351
|
-
class: "vue-ui-horizontal-bar-parent-label"
|
|
1352
|
-
}, [
|
|
1353
|
-
e.isChild && e.childIndex === 0 && P.value.parentLabels.show ? (x(), h("rect", {
|
|
1354
|
-
key: 0,
|
|
1355
|
-
class: v(["vue-ui-horizontal-bar-parent-marker", { "vue-data-ui-transition": E(R) }]),
|
|
1356
|
-
x: 2,
|
|
1357
|
-
y: gr(e, t).y - P.value.parentLabels.fontSize / 1.5,
|
|
1358
|
-
height: P.value.parentLabels.fontSize / 1.5,
|
|
1359
|
-
width: P.value.parentLabels.fontSize / 1.5,
|
|
1360
|
-
rx: 1,
|
|
1361
|
-
fill: e.color
|
|
1362
|
-
}, null, 10, ft)) : m("", !0),
|
|
1363
|
-
e.isChild && e.childIndex === 0 && P.value.parentLabels.show ? (x(), h("text", {
|
|
1364
|
-
key: 1,
|
|
1365
|
-
class: v({ "vue-data-ui-transition": E(R) }),
|
|
1366
|
-
transform: `translate(${P.value.parentLabels.offsetX + P.value.parentLabels.fontSize}, ${gr(e, t).y})`,
|
|
1367
|
-
"font-size": P.value.parentLabels.fontSize,
|
|
1368
|
-
fill: P.value.parentLabels.color,
|
|
1369
|
-
"font-weight": P.value.parentLabels.bold ? "bold" : "normal",
|
|
1370
|
-
"text-anchor": "start",
|
|
1371
|
-
innerHTML: E(o)({
|
|
1372
|
-
content: `${vr(e, t)}`,
|
|
1373
|
-
fontSize: P.value.parentLabels.fontSize,
|
|
1374
|
-
fill: F.value.bars.parentLabels.color,
|
|
1375
|
-
x: 0,
|
|
1376
|
-
y: 0,
|
|
1377
|
-
translateY: !1
|
|
1378
|
-
})
|
|
1379
|
-
}, null, 10, pt)) : m("", !0),
|
|
1380
|
-
e.isChild && e.childIndex === 0 && P.value.parentLabels.show ? (x(), h("text", {
|
|
1381
|
-
key: 2,
|
|
1382
|
-
class: v({ "vue-data-ui-transition": E(R) }),
|
|
1383
|
-
transform: `translate(${P.value.parentLabels.offsetX + P.value.parentLabels.fontSize}, ${gr(e, t).y + E(le)(vr(e, t)) * P.value.parentLabels.fontSize * 1.1})`,
|
|
1384
|
-
"font-size": P.value.parentLabels.fontSize,
|
|
1385
|
-
fill: P.value.parentLabels.color,
|
|
1386
|
-
"font-weight": P.value.dataLabels.bold ? "bold" : "normal",
|
|
1387
|
-
"text-anchor": "start"
|
|
1388
|
-
}, T(yr(e, t)), 11, mt)) : m("", !0)
|
|
1389
|
-
]))), 128))], 512),
|
|
1390
|
-
g("g", {
|
|
1391
|
-
ref_key: "childLabels",
|
|
1392
|
-
ref: fn
|
|
1393
|
-
}, [(x(!0), h(d, null, C(Yn.value, (e, t) => (x(), h("g", {
|
|
1394
|
-
key: `cl_${e.id}`,
|
|
1395
|
-
class: "vue-ui-horizontal-bar-child-label"
|
|
1396
|
-
}, [(e.isChild || !e.hasChildren) && P.value.nameLabels.show ? (x(), h("text", {
|
|
1397
|
-
key: 0,
|
|
1398
|
-
"text-anchor": "start",
|
|
1399
|
-
class: v({ "vue-data-ui-transition": E(R) }),
|
|
1400
|
-
transform: `translate(${Math.abs(P.value.nameLabels.offsetX)}, ${E(u)(X.value.top + (B.value + J.value) * t + J.value / 2 + P.value.nameLabels.fontSize / 2 + q.value[t] * K.value)})`,
|
|
1401
|
-
"font-size": P.value.nameLabels.fontSize,
|
|
1402
|
-
fill: "transparent",
|
|
1403
|
-
"font-weight": P.value.nameLabels.bold ? "bold" : "normal",
|
|
1404
|
-
style: { "user-select": "none" },
|
|
1405
|
-
innerHTML: E(o)({
|
|
1406
|
-
content: e.name,
|
|
1407
|
-
fontSize: P.value.nameLabels.fontSize,
|
|
1408
|
-
fill: "transparent",
|
|
1409
|
-
x: 0,
|
|
1410
|
-
y: 0,
|
|
1411
|
-
translateY: !0
|
|
1412
|
-
})
|
|
1413
|
-
}, null, 10, ht)) : m("", !0)]))), 128))], 512),
|
|
1414
|
-
g("g", null, [(x(!0), h(d, null, C(G.value, (e, t) => (x(), h("g", {
|
|
1415
|
-
key: `vislab_${e.id}`,
|
|
1416
|
-
class: "vue-ui-horizontal-bar-child-label"
|
|
1417
|
-
}, [(e.isChild || !e.hasChildren) && P.value.nameLabels.show ? (x(), h("text", {
|
|
1418
|
-
key: 0,
|
|
1419
|
-
class: v({ "vue-data-ui-transition": E(R) }),
|
|
1420
|
-
"text-anchor": "end",
|
|
1421
|
-
transform: `translate(${X.value.left + P.value.nameLabels.offsetX - 6}, ${X.value.top + (B.value + J.value) * t + J.value / 2 + P.value.nameLabels.fontSize / 3 + q.value[t] * K.value})`,
|
|
1422
|
-
"font-size": P.value.nameLabels.fontSize,
|
|
1423
|
-
fill: P.value.nameLabels.color,
|
|
1424
|
-
"font-weight": P.value.nameLabels.bold ? "bold" : "normal",
|
|
1425
|
-
innerHTML: E(o)({
|
|
1426
|
-
content: e.name,
|
|
1427
|
-
fontSize: P.value.nameLabels.fontSize,
|
|
1428
|
-
fill: F.value.bars.nameLabels.color,
|
|
1429
|
-
x: 0,
|
|
1430
|
-
y: 0,
|
|
1431
|
-
translateY: !0
|
|
1432
|
-
})
|
|
1433
|
-
}, null, 10, gt)) : m("", !0)]))), 128))]),
|
|
1434
|
-
g("g", null, [(x(!0), h(d, null, C(G.value, (e, t) => (x(), h("g", {
|
|
1435
|
-
key: `sdl_${e.id}`,
|
|
1436
|
-
class: "vue-ui-horizontal-bar-child-label"
|
|
1437
|
-
}, [g("text", {
|
|
1438
|
-
class: v({ "vue-data-ui-transition": E(R) }),
|
|
1439
|
-
transform: `translate(${pr.value ? X.value.left + X.value.width / 2 + (e.sign === 1 ? -12 : 12) + (e.sign === 1 ? -F.value.bars.dataLabels.offsetX : F.value.bars.dataLabels.offsetX) : Math.min(hr(e.value) + 3 + L.value.layout.bars.dataLabels.offsetX, X.value.right - 2)},${X.value.top + (B.value + J.value) * t + J.value / 2 + q.value[t] * K.value + P.value.dataLabels.fontSize / 3})`,
|
|
1440
|
-
"text-anchor": !pr.value || e.sign === -1 ? "start" : "end",
|
|
1441
|
-
"font-size": P.value.dataLabels.fontSize,
|
|
1442
|
-
fill: P.value.dataLabels.color,
|
|
1443
|
-
"font-weight": P.value.dataLabels.bold ? "bold" : "normal"
|
|
1444
|
-
}, T(Er(e.value, e, t, e.sign)), 11, _t)]))), 128))]),
|
|
1445
|
-
(x(!0), h(d, null, C(G.value, (e, t) => (x(), h("g", null, [g("rect", {
|
|
1446
|
-
x: 0,
|
|
1447
|
-
y: X.value.top + (B.value + J.value) * t - B.value / 2 + q.value[t] * K.value,
|
|
1448
|
-
width: z.value,
|
|
1449
|
-
height: J.value + B.value <= 0 ? 1e-4 : J.value + B.value,
|
|
1450
|
-
fill: br.value === e.id ? E(s)(F.value.highlighter.color, F.value.highlighter.opacity) : "transparent",
|
|
1451
|
-
onMouseenter: (n) => wr(e, t, "pointer"),
|
|
1452
|
-
onMouseleave: (n) => Cr({
|
|
1453
|
-
datapoint: e,
|
|
1454
|
-
seriesIndex: t
|
|
1455
|
-
}),
|
|
1456
|
-
onClick: (n) => Sr({
|
|
1457
|
-
datapoint: e,
|
|
1458
|
-
seriesIndex: t
|
|
1459
|
-
})
|
|
1460
|
-
}, null, 40, vt)]))), 256)),
|
|
1461
|
-
w(e.$slots, "svg", { svg: {
|
|
1462
|
-
...Y.value,
|
|
1463
|
-
drawingArea: X.value,
|
|
1464
|
-
isPrintingImg: E(Fn) || E(In) || E(Gr),
|
|
1465
|
-
isPrintingSvg: E(Kr)
|
|
1466
|
-
} }, void 0, !0)
|
|
1467
|
-
], 512)], 46, rt)), e.$slots.hint ? (x(), h("div", yt, [w(e.$slots, "hint", y(_({
|
|
1468
|
-
hint: N.value.a11y.translations.keyboardNavigation,
|
|
1469
|
-
isVisible: Zr.value
|
|
1470
|
-
})), void 0, !0)])) : m("", !0)]),
|
|
1471
|
-
e.$slots.watermark ? (x(), h("div", bt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Fn) || E(In) || E(Gr) || E(Kr) })), void 0, !0)])) : m("", !0),
|
|
1472
|
-
e.$slots.legend && L.value.legend.show && L.value.legend.position === "bottom" ? w(e.$slots, "legend", { legend: U.value }, void 0, !0, 8) : m("", !0),
|
|
1473
|
-
!e.$slots.legend && L.value.legend.show && L.value.legend.position === "bottom" ? (x(), h("div", {
|
|
1474
|
-
key: 9,
|
|
1475
|
-
ref_key: "chartLegend",
|
|
1476
|
-
ref: nn
|
|
1477
|
-
}, [(x(), p(Ie, {
|
|
1478
|
-
key: `legend_bottom_${sn.value}`,
|
|
1479
|
-
legendSet: U.value,
|
|
1480
|
-
config: Zn.value,
|
|
1481
|
-
isCursorPointer: xn.value,
|
|
1482
|
-
onClickMarker: t[1] ||= ({ legend: e }) => cr(e.id)
|
|
1483
|
-
}, Re({
|
|
1484
|
-
item: D(({ legend: e, index: t }) => [g("div", {
|
|
1485
|
-
onClick: (t) => cr(e.id),
|
|
1486
|
-
style: b(`opacity:${j.value.includes(e.id) ? .5 : 1}`)
|
|
1487
|
-
}, T(Tr({
|
|
1488
|
-
legend: e,
|
|
1489
|
-
index: t
|
|
1490
|
-
})), 13, xt)]),
|
|
1491
|
-
legendToggle: D(() => [U.value.length > 2 && L.value.legend.selectAllToggle.show && !E(wn) ? (x(), p(je, {
|
|
1492
|
-
key: 0,
|
|
1493
|
-
backgroundColor: L.value.legend.selectAllToggle.backgroundColor,
|
|
1494
|
-
color: L.value.legend.selectAllToggle.color,
|
|
1495
|
-
fontSize: L.value.legend.fontSize,
|
|
1496
|
-
checked: j.value.length > 0,
|
|
1497
|
-
isCursorPointer: xn.value,
|
|
1498
|
-
onToggle: sr
|
|
1499
|
-
}, null, 8, [
|
|
1500
|
-
"backgroundColor",
|
|
1501
|
-
"color",
|
|
1502
|
-
"fontSize",
|
|
1503
|
-
"checked",
|
|
1504
|
-
"isCursorPointer"
|
|
1505
|
-
])) : m("", !0)]),
|
|
1506
|
-
_: 2
|
|
1507
|
-
}, [e.$slots.pattern ? {
|
|
1508
|
-
name: "legend-pattern",
|
|
1509
|
-
fn: D(({ legend: e, index: t }) => [Be(Te, {
|
|
1510
|
-
shape: e.shape,
|
|
1511
|
-
radius: 30,
|
|
1512
|
-
stroke: "none",
|
|
1513
|
-
plot: {
|
|
1514
|
-
x: 30,
|
|
1515
|
-
y: 30
|
|
1516
|
-
},
|
|
1517
|
-
fill: `url(#pattern_${k.value}_${t})`
|
|
1518
|
-
}, null, 8, ["shape", "fill"])]),
|
|
1519
|
-
key: "0"
|
|
1520
|
-
} : void 0]), 1032, [
|
|
1521
|
-
"legendSet",
|
|
1522
|
-
"config",
|
|
1523
|
-
"isCursorPointer"
|
|
1524
|
-
]))], 512)) : m("", !0),
|
|
1525
|
-
e.$slots.source ? (x(), h("div", {
|
|
1526
|
-
key: 10,
|
|
1527
|
-
ref_key: "source",
|
|
1528
|
-
ref: rn,
|
|
1529
|
-
dir: "auto"
|
|
1530
|
-
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
1531
|
-
Be(E(Bt), {
|
|
1532
|
-
teleportTo: I.value.teleportTo,
|
|
1533
|
-
show: H.value.showTooltip && Zt.value && j.value.length < O.dataset.length,
|
|
1534
|
-
backgroundColor: I.value.backgroundColor,
|
|
1535
|
-
color: I.value.color,
|
|
1536
|
-
borderRadius: I.value.borderRadius,
|
|
1537
|
-
borderColor: I.value.borderColor,
|
|
1538
|
-
borderWidth: I.value.borderWidth,
|
|
1539
|
-
fontSize: I.value.fontSize,
|
|
1540
|
-
backgroundOpacity: I.value.backgroundOpacity,
|
|
1541
|
-
position: I.value.position,
|
|
1542
|
-
offsetX: I.value.offsetX,
|
|
1543
|
-
offsetY: I.value.offsetY,
|
|
1544
|
-
parent: A.value,
|
|
1545
|
-
content: Qt.value,
|
|
1546
|
-
isFullscreen: Or.value,
|
|
1547
|
-
isCustom: I.value.customFormat && typeof I.value.customFormat == "function",
|
|
1548
|
-
smooth: I.value.smooth,
|
|
1549
|
-
backdropFilter: I.value.backdropFilter,
|
|
1550
|
-
smoothForce: I.value.smoothForce,
|
|
1551
|
-
smoothSnapThreshold: I.value.smoothSnapThreshold,
|
|
1552
|
-
isA11yMode: yn.value === "keyboard",
|
|
1553
|
-
a11yPosition: vn.value
|
|
1554
|
-
}, {
|
|
1555
|
-
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...xr.value })), void 0, !0)]),
|
|
1556
|
-
tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...xr.value })), void 0, !0)]),
|
|
1557
|
-
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...xr.value })), void 0, !0)]),
|
|
1558
|
-
_: 3
|
|
1559
|
-
}, 8, [
|
|
1560
|
-
"teleportTo",
|
|
1561
|
-
"show",
|
|
1562
|
-
"backgroundColor",
|
|
1563
|
-
"color",
|
|
1564
|
-
"borderRadius",
|
|
1565
|
-
"borderColor",
|
|
1566
|
-
"borderWidth",
|
|
1567
|
-
"fontSize",
|
|
1568
|
-
"backgroundOpacity",
|
|
1569
|
-
"position",
|
|
1570
|
-
"offsetX",
|
|
1571
|
-
"offsetY",
|
|
1572
|
-
"parent",
|
|
1573
|
-
"content",
|
|
1574
|
-
"isFullscreen",
|
|
1575
|
-
"isCustom",
|
|
1576
|
-
"smooth",
|
|
1577
|
-
"backdropFilter",
|
|
1578
|
-
"smoothForce",
|
|
1579
|
-
"smoothSnapThreshold",
|
|
1580
|
-
"isA11yMode",
|
|
1581
|
-
"a11yPosition"
|
|
1582
|
-
]),
|
|
1583
|
-
Xt.value && N.value.userOptions.buttons.table ? (x(), p(Ke(Lr.value.component), He({ key: 11 }, Lr.value.props, {
|
|
1584
|
-
ref_key: "tableUnit",
|
|
1585
|
-
ref: ln,
|
|
1586
|
-
onClose: zr
|
|
1587
|
-
}), Re({
|
|
1588
|
-
content: D(() => [g("div", {
|
|
1589
|
-
ref_key: "tableContainer",
|
|
1590
|
-
ref: Vn,
|
|
1591
|
-
class: "vue-ui-vertical-bar-table atom-data-table",
|
|
1592
|
-
style: b(`${N.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
|
|
1593
|
-
}, [g("div", St, [N.value.table.useDialog ? m("", !0) : (x(), h("div", {
|
|
1594
|
-
key: 0,
|
|
1595
|
-
role: "button",
|
|
1596
|
-
tabindex: "0",
|
|
1597
|
-
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:${xn.value ? "pointer" : "default"}; background:${N.value.table.th.backgroundColor};`),
|
|
1598
|
-
onClick: zr,
|
|
1599
|
-
onKeypress: Ze(zr, ["enter"])
|
|
1600
|
-
}, [Be(E(Vt), {
|
|
1601
|
-
name: "close",
|
|
1602
|
-
stroke: N.value.table.th.color,
|
|
1603
|
-
"stroke-width": 2
|
|
1604
|
-
}, null, 8, ["stroke"])], 36)), g("div", {
|
|
1605
|
-
style: {
|
|
1606
|
-
width: "100%",
|
|
1607
|
-
"container-type": "inline-size"
|
|
1608
|
-
},
|
|
1609
|
-
class: v({ "vue-ui-responsive": E(Rr) })
|
|
1610
|
-
}, [g("table", Ct, [
|
|
1611
|
-
N.value.table.useDialog ? m("", !0) : (x(), h("caption", {
|
|
1612
|
-
key: 0,
|
|
1613
|
-
style: b({
|
|
1614
|
-
backgroundColor: N.value.table.th.backgroundColor,
|
|
1615
|
-
color: N.value.table.th.color,
|
|
1616
|
-
outline: N.value.table.th.outline
|
|
1617
|
-
}),
|
|
1618
|
-
class: "vue-ui-data-table__caption"
|
|
1619
|
-
}, [ze(T(L.value.title.text) + " ", 1), L.value.title.subtitle.text ? (x(), h("span", wt, T(L.value.title.subtitle.text), 1)) : m("", !0)], 4)),
|
|
1620
|
-
g("thead", null, [g("tr", {
|
|
1621
|
-
role: "row",
|
|
1622
|
-
style: b(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color}`)
|
|
1623
|
-
}, [(x(!0), h(d, null, C($.value.head, (e) => (x(), h("th", { style: b(`outline:${N.value.table.th.outline}`) }, [g("div", Tt, T(e), 1)], 4))), 256))], 4), g("tr", null, [
|
|
1624
|
-
g("th", { style: b(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline}`) }, null, 4),
|
|
1625
|
-
g("th", { style: b(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`) }, " ∑ " + T(N.value.table.td.prefix) + T(isNaN(Z.value) ? "" : Z.value.toFixed(N.value.table.td.roundingValue)) + T(N.value.table.td.suffix), 5),
|
|
1626
|
-
g("th", { style: b(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`) }, " 100% ", 4),
|
|
1627
|
-
g("th", { style: b(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline}`) }, null, 4),
|
|
1628
|
-
g("th", { style: b(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline}`) }, null, 4),
|
|
1629
|
-
g("th", { style: b(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline}`) }, null, 4),
|
|
1630
|
-
g("th", { style: b(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline}`) }, null, 4)
|
|
1631
|
-
])]),
|
|
1632
|
-
g("tbody", null, [(x(!0), h(d, null, C($.value.body, (e, t) => (x(), h("tr", {
|
|
1633
|
-
class: v({
|
|
1634
|
-
"vue-ui-data-table__tbody__row": !0,
|
|
1635
|
-
"vue-ui-data-table__tbody__row-even": t % 2 == 0,
|
|
1636
|
-
"vue-ui-data-table__tbody__row-odd": t % 2 != 0
|
|
1637
|
-
}),
|
|
1638
|
-
style: b(`background:${N.value.table.td.backgroundColor};color:${N.value.table.td.color}`)
|
|
1639
|
-
}, [
|
|
1640
|
-
g("td", {
|
|
1641
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1642
|
-
style: b(`outline:${N.value.table.td.outline};font-variant-numeric: tabular-nums;`),
|
|
1643
|
-
"data-cell": $.value.head[0] ?? ""
|
|
1644
|
-
}, [g("div", Dt, [e.color ? (x(), h("span", {
|
|
1645
|
-
key: 0,
|
|
1646
|
-
style: b(`color:${e.color};margin-right:3px`)
|
|
1647
|
-
}, "⬤", 4)) : m("", !0), g("span", null, T(e.parentName), 1)])], 12, Et),
|
|
1648
|
-
g("td", {
|
|
1649
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1650
|
-
style: b(`outline:${N.value.table.td.outline}`),
|
|
1651
|
-
"data-cell": $.value.head[1] ?? ""
|
|
1652
|
-
}, [g("div", kt, T(N.value.table.td.prefix) + T([
|
|
1653
|
-
"",
|
|
1654
|
-
NaN,
|
|
1655
|
-
void 0
|
|
1656
|
-
].includes(e.parentValue) ? "" : e.parentValue.toFixed(N.value.table.td.roundingValue)) + T(N.value.table.td.suffix), 1)], 12, Ot),
|
|
1657
|
-
g("td", {
|
|
1658
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1659
|
-
style: b(`outline:${N.value.table.td.outline}`),
|
|
1660
|
-
"data-cell": $.value.head[2] ?? ""
|
|
1661
|
-
}, [g("div", jt, T([
|
|
1662
|
-
"",
|
|
1663
|
-
NaN,
|
|
1664
|
-
void 0
|
|
1665
|
-
].includes(e.percentageToTotal) ? "" : `${(e.percentageToTotal * 100).toFixed(N.value.table.td.roundingPercentage)}%`), 1)], 12, At),
|
|
1666
|
-
g("td", {
|
|
1667
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1668
|
-
style: b(`outline:${N.value.table.td.outline}`),
|
|
1669
|
-
"data-cell": $.value.head[3] ?? ""
|
|
1670
|
-
}, [g("div", Nt, T(e.childName), 1)], 12, Mt),
|
|
1671
|
-
g("td", {
|
|
1672
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1673
|
-
style: b(`outline:${N.value.table.td.outline}`),
|
|
1674
|
-
"data-cell": $.value.head[4] ?? ""
|
|
1675
|
-
}, [g("div", Ft, T(N.value.table.td.prefix) + T([
|
|
1676
|
-
"",
|
|
1677
|
-
NaN,
|
|
1678
|
-
void 0
|
|
1679
|
-
].includes(e.childValue) ? "" : e.childValue.toFixed(N.value.table.td.roundingValue)) + T(N.value.table.td.suffix), 1)], 12, Pt),
|
|
1680
|
-
g("td", {
|
|
1681
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1682
|
-
style: b(`outline:${N.value.table.td.outline}`),
|
|
1683
|
-
"data-cell": $.value.head[5] ?? ""
|
|
1684
|
-
}, [g("div", Lt, T([
|
|
1685
|
-
"",
|
|
1686
|
-
NaN,
|
|
1687
|
-
void 0
|
|
1688
|
-
].includes(e.childPercentageToParent) ? "" : `${(e.childPercentageToParent * 100).toFixed(N.value.table.td.roundingPercentage)}%`), 1)], 12, It),
|
|
1689
|
-
g("td", {
|
|
1690
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1691
|
-
style: b(`outline:${N.value.table.td.outline}`),
|
|
1692
|
-
"data-cell": $.value.head[6] ?? ""
|
|
1693
|
-
}, [g("div", zt, T([
|
|
1694
|
-
"",
|
|
1695
|
-
NaN,
|
|
1696
|
-
void 0
|
|
1697
|
-
].includes(e.childPercentageToTotal) ? "" : `${(e.childPercentageToTotal * 100).toFixed(N.value.table.td.roundingPercentage)}%`), 1)], 12, Rt)
|
|
1698
|
-
], 6))), 256))])
|
|
1699
|
-
])], 2)])], 4)]),
|
|
1700
|
-
_: 2
|
|
1701
|
-
}, [N.value.table.useDialog ? {
|
|
1702
|
-
name: "title",
|
|
1703
|
-
fn: D(() => [ze(T(Lr.value.title), 1)]),
|
|
1704
|
-
key: "0"
|
|
1705
|
-
} : void 0, N.value.table.useDialog ? {
|
|
1706
|
-
name: "actions",
|
|
1707
|
-
fn: D(() => [g("button", {
|
|
1708
|
-
tabindex: "0",
|
|
1709
|
-
class: "vue-ui-user-options-button",
|
|
1710
|
-
onClick: t[2] ||= (e) => Dr(N.value.userOptions.callbacks.csv),
|
|
1711
|
-
style: b({ cursor: xn.value ? "pointer" : "default" })
|
|
1712
|
-
}, [Be(E(Vt), {
|
|
1713
|
-
name: "fileCsv",
|
|
1714
|
-
stroke: Lr.value.props.color
|
|
1715
|
-
}, null, 8, ["stroke"])], 4)]),
|
|
1716
|
-
key: "1"
|
|
1717
|
-
} : void 0]), 1040)) : m("", !0),
|
|
1718
|
-
w(e.$slots, "skeleton", {}, () => [E(wn) ? (x(), p(ve, { key: 0 })) : m("", !0)], !0)
|
|
1719
|
-
], 46, $e));
|
|
1720
|
-
}
|
|
1721
|
-
}, [["__scopeId", "data-v-4bdb8874"]]);
|
|
1722
|
-
//#endregion
|
|
1723
|
-
export { Qe as n, Bt as t };
|