vue-data-ui 3.27.0 → 3.27.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/A11yDataTable-DWNlWXzs.js +1 -0
- package/dist/Arrow-CJeSufxg.js +1 -0
- package/dist/BaseDraggableDialog-T1gEsQid.js +1 -0
- package/dist/BaseIcon-Cz30ODFA.js +1 -0
- package/dist/BaseLegendToggle-Dn_tNvn4.js +1 -0
- package/dist/BaseScanner-8NdoBs7B.js +1 -0
- package/dist/BaseZoomControls-xq3tWD3j.js +1 -0
- package/dist/ColorPicker-CUjEw53A.js +1 -0
- package/dist/DataTable-DSUA5M9p.js +1 -0
- package/dist/DefGrad-DKMq1REY.js +1 -0
- package/dist/HillActions-DdvXld3a.js +1 -0
- package/dist/Legend-DokTll4u.js +1 -0
- package/dist/NonSvgPenAndPaper-BLzQuIm6.js +1 -0
- package/dist/PackageVersion-D6pKL176.js +1 -0
- package/dist/PenAndPaper-DvJJaeU2.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-tkp65OcG.js +1 -0
- package/dist/SlicerPreview-GFRs2EWB.js +1 -0
- package/dist/SparkTooltip-BlJLvizH.js +1 -0
- package/dist/Title-BRAjxtjG.js +1 -0
- package/dist/Tooltip-BUXB0i6z.js +1 -0
- package/dist/UserOptions-D65t74CM.js +1 -0
- package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
- package/dist/annotationSlots-BRR85CqJ.js +1 -0
- package/dist/chartImage-NwZO-elv.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-Cp3WLHmJ.js +3 -0
- package/dist/exposedLib-CMTeSmyW.js +1 -0
- package/dist/geoProjections-Bvj-eMvq.js +1 -0
- package/dist/img-8sM3sVWU.js +1 -0
- package/dist/labelUtils-Djp5nJtN.js +1 -0
- package/dist/lib-zDxoqrgo.js +12 -0
- package/dist/package-DIR2F6AE.js +1 -0
- package/dist/patternUtils-_q3ArM3g.js +1 -0
- package/dist/pdf-Dlv_ks7R.js +1 -0
- package/dist/render-common-DOYi0f4Z.js +1 -0
- package/dist/resolveChartConfig-BSo1Oe9n.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-CT9phgWx.js +1 -0
- package/dist/useObjectBindings-DM3xDKV3.js +1 -0
- package/dist/usePanZoom-BdjP5Suc.js +1 -0
- package/dist/usePrefersMotion-XLHwega2.js +1 -0
- package/dist/usePrinter-CnyKPIFM.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-BG41UScx.js +1 -0
- package/dist/vue-data-ui.js +1 -79
- package/dist/vue-ui-3d-bar-DiaiNy-k.js +19 -0
- package/dist/vue-ui-accordion-Dy5OVFKr.js +1 -0
- package/dist/vue-ui-age-pyramid-OeUr1yxi.js +1 -0
- package/dist/vue-ui-annotator-DA_xAFql.js +331 -0
- package/dist/vue-ui-bullet-B9lcCTVb.js +34 -0
- package/dist/vue-ui-bump-DYajIrva.js +10 -0
- package/dist/vue-ui-candlestick-CdAZuNxo.js +22 -0
- package/dist/vue-ui-carousel-table-ihGH0LDH.js +1 -0
- package/dist/vue-ui-chestnut-B2aNXFNO.js +1 -0
- package/dist/vue-ui-chord-fAckHfOW.js +21 -0
- package/dist/vue-ui-circle-pack-BWHVImkS.js +13 -0
- package/dist/vue-ui-cursor-DdXKXmhr.js +1 -0
- package/dist/vue-ui-dag-a0fNoIcJ.js +9 -0
- package/dist/vue-ui-dashboard-DkdYMB7n.js +1 -0
- package/dist/vue-ui-digits-CL9SuIEI.js +42 -0
- package/dist/vue-ui-donut-BaEodt-3.js +22 -0
- package/dist/vue-ui-donut-DaYxdQmP.js +47 -0
- package/dist/vue-ui-donut-evolution-T8cRXKRQ.js +2 -0
- package/dist/vue-ui-dumbbell-B6HJxEZp.js +9 -0
- package/dist/vue-ui-flow-BlTCVFr3.js +3 -0
- package/dist/vue-ui-funnel-WgLFJadZ.js +1 -0
- package/dist/vue-ui-galaxy-B3nuI6E8.js +1 -0
- package/dist/vue-ui-gauge-BwTP65O4.js +1 -0
- package/dist/vue-ui-geo-CX3yH18H.js +1 -0
- package/dist/vue-ui-gizmo-CNHcBsku.js +1 -0
- package/dist/vue-ui-heatmap-CTdeoar7.js +1 -0
- package/dist/vue-ui-hill-DR5k8GWZ.js +1 -0
- package/dist/vue-ui-history-plot-C-9uH-Uj.js +2 -0
- package/dist/vue-ui-horizontal-bar-qqF7pL7U.js +4 -0
- package/dist/vue-ui-kpi-DVcLXGqG.js +1 -0
- package/dist/vue-ui-label-D1Aog-zO.js +7 -0
- package/dist/vue-ui-mini-loader-CX0Dx9tT.js +1 -0
- package/dist/vue-ui-molecule-B13qVX71.js +1 -0
- package/dist/vue-ui-mood-radar-C1BtB8lg.js +1 -0
- package/dist/vue-ui-nested-donuts-B90yrlJG.js +19 -0
- package/dist/vue-ui-onion-UMVO2DE_.js +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.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-CPG6yAiu.js +2 -0
- package/dist/vue-ui-quick-chart-BTPb-Iz8.js +17 -0
- package/dist/vue-ui-radar-Hd-pE9ih.js +1 -0
- package/dist/vue-ui-rating-C_YxQYa_.js +1 -0
- package/dist/vue-ui-relation-circle-CHYG7ZJl.js +1 -0
- package/dist/vue-ui-ridgeline-DS1Gvljt.js +2 -0
- package/dist/vue-ui-rings-B-Hb13Uu.js +1 -0
- package/dist/vue-ui-scatter-BTgvOmuo.js +9 -0
- package/dist/vue-ui-skeleton-B-Acw3CC.js +41 -0
- package/dist/vue-ui-smiley-Ciwqt6ek.js +1 -0
- package/dist/vue-ui-spark-trend-CYqy6c0S.js +1 -0
- package/dist/vue-ui-sparkbar-CTXIgjmP.js +1 -0
- package/dist/vue-ui-sparkgauge-CObOL6s2.js +1 -0
- package/dist/vue-ui-sparkhistogram-ClFyDez-.js +1 -0
- package/dist/vue-ui-sparkline-DP_nYlW8.js +1 -0
- package/dist/vue-ui-sparkstackbar-B2f0ePMg.js +1 -0
- package/dist/vue-ui-stackbar-nMWHZ-f0.js +29 -0
- package/dist/vue-ui-stackline-B95y6Zc5.js +39 -0
- package/dist/vue-ui-strip-plot-gFNC4r-X.js +2 -0
- package/dist/vue-ui-table-Br2JgD_L.js +14 -0
- package/dist/vue-ui-table-heatmap-Btu2ejF4.js +1 -0
- package/dist/vue-ui-table-sparkline-B9mYHAxp.js +1 -0
- package/dist/vue-ui-thermometer-C6u1eLfo.js +1 -0
- package/dist/vue-ui-timer-DLgsfB1U.js +64 -0
- package/dist/vue-ui-tiremarks-8B9uE1Bx.js +1 -0
- package/dist/vue-ui-treemap-C4Mot-Os.js +1 -0
- package/dist/vue-ui-waffle-BwcwNpf7.js +1 -0
- package/dist/vue-ui-wheel-B3OGCXg7.js +1 -0
- package/dist/vue-ui-word-cloud-BPIyMBXq.js +4 -0
- package/dist/vue-ui-world-Cp0DeauH.js +19 -0
- package/dist/vue-ui-xy-BOE1jvUS.js +31 -0
- package/dist/vue-ui-xy-DSyKSn4L.js +24 -0
- package/dist/vue-ui-xy-canvas-CaxxiKSa.js +9 -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-nzVwNQYv.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-Da1GwklM.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,750 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Dt as n, Ht as r, Jt as i, S as a, X as o, Yt as s, at as c, en as ee, et as te, i as ne, nn as re, t as ie, w as ae, yt as oe, zt as se } from "./lib-D4wK6ljP.js";
|
|
3
|
-
import { n as ce, t as le } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ue } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
-
import { n as de, t as fe } from "./BaseScanner-Dzc8VT3j.js";
|
|
6
|
-
import { t as pe } from "./useNestedProp-DR_8JPol.js";
|
|
7
|
-
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
-
import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
|
-
import { t as ge } from "./DefGrad-DVBqDjhO.js";
|
|
10
|
-
import { t as _e } from "./BaseLegendToggle-CP3sddwv.js";
|
|
11
|
-
import { t as ve } from "./A11yDataTable-DdRsVULz.js";
|
|
12
|
-
import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
|
|
13
|
-
import { t as be } from "./usePrefersMotion-BC-CsqR1.js";
|
|
14
|
-
import { t as xe } from "./vue_ui_sparkstackbar-BOjuQnZd.js";
|
|
15
|
-
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as Se, defineAsyncComponent as Ce, guardReactiveProps as h, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onMounted as we, openBlock as y, ref as b, renderList as x, renderSlot as S, toDisplayString as C, toRefs as Te, unref as w, useSlots as Ee, watch as De, withCtx as Oe } from "vue";
|
|
16
|
-
//#region src/components/vue-ui-sparkstackbar.vue
|
|
17
|
-
var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: { position: "relative" } }, Me = [
|
|
18
|
-
"xmlns",
|
|
19
|
-
"viewBox",
|
|
20
|
-
"aria-describedby"
|
|
21
|
-
], Ne = ["id"], Pe = [
|
|
22
|
-
"width",
|
|
23
|
-
"height",
|
|
24
|
-
"rx"
|
|
25
|
-
], Fe = ["clip-path"], Ie = [
|
|
26
|
-
"x",
|
|
27
|
-
"width",
|
|
28
|
-
"height",
|
|
29
|
-
"fill"
|
|
30
|
-
], Le = [
|
|
31
|
-
"x",
|
|
32
|
-
"width",
|
|
33
|
-
"height",
|
|
34
|
-
"fill"
|
|
35
|
-
], Re = [
|
|
36
|
-
"x",
|
|
37
|
-
"height",
|
|
38
|
-
"fill"
|
|
39
|
-
], ze = [
|
|
40
|
-
"x",
|
|
41
|
-
"width",
|
|
42
|
-
"height",
|
|
43
|
-
"onClick",
|
|
44
|
-
"onMouseenter",
|
|
45
|
-
"onMouseleave"
|
|
46
|
-
], Be = [
|
|
47
|
-
"width",
|
|
48
|
-
"height",
|
|
49
|
-
"rx",
|
|
50
|
-
"stroke"
|
|
51
|
-
], Ve = [
|
|
52
|
-
"width",
|
|
53
|
-
"height",
|
|
54
|
-
"rx"
|
|
55
|
-
], He = {
|
|
56
|
-
key: 0,
|
|
57
|
-
style: {
|
|
58
|
-
position: "absolute",
|
|
59
|
-
top: "100%",
|
|
60
|
-
left: "0",
|
|
61
|
-
width: "100%"
|
|
62
|
-
},
|
|
63
|
-
"data-dom-to-png-ignore": "",
|
|
64
|
-
"aria-hidden": "true"
|
|
65
|
-
}, Ue = [
|
|
66
|
-
"aria-pressed",
|
|
67
|
-
"aria-label",
|
|
68
|
-
"onClick",
|
|
69
|
-
"onFocus",
|
|
70
|
-
"onKeydown"
|
|
71
|
-
], We = { style: {
|
|
72
|
-
display: "flex",
|
|
73
|
-
"flex-direction": "row",
|
|
74
|
-
"align-items": "center",
|
|
75
|
-
gap: "4px",
|
|
76
|
-
"justify-content": "center"
|
|
77
|
-
} }, Ge = ["height", "width"], Ke = ["rx", "fill"], qe = ["rx", "fill"], Je = {
|
|
78
|
-
key: 3,
|
|
79
|
-
ref: "source",
|
|
80
|
-
dir: "auto"
|
|
81
|
-
}, Ye = /*#__PURE__*/ he({
|
|
82
|
-
__name: "vue-ui-sparkstackbar",
|
|
83
|
-
props: {
|
|
84
|
-
config: {
|
|
85
|
-
type: Object,
|
|
86
|
-
default() {
|
|
87
|
-
return {};
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
dataset: {
|
|
91
|
-
type: Array,
|
|
92
|
-
default() {
|
|
93
|
-
return [];
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
emits: ["selectDatapoint", "selectLegend"],
|
|
98
|
-
setup(e, { expose: he, emit: ke }) {
|
|
99
|
-
let Ye = Ce(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), Xe = Ce(() => import("./Tooltip-C4ZTwkLF.js")), { vue_ui_sparkstackbar: Ze } = ue(), { isThemeValid: Qe, warnInvalidTheme: $e } = me(), et = be(), tt = Ee(), T = e, nt = b(null), E = b(o()), D = b(!1), rt = b(""), O = b(null), k = b(!1), A = b(null), it = b({
|
|
100
|
-
x: 0,
|
|
101
|
-
y: 0
|
|
102
|
-
}), j = b("pointer"), at = b(!1), M = b(null), ot = b([]), N = b(V()), P = u(() => N.value.style.bar), F = u(() => N.value.style.legend), I = u(() => N.value.style.tooltip), L = u(() => N.value.style), st = u(() => N.value.debug);
|
|
103
|
-
we(() => {
|
|
104
|
-
tt["chart-background"] && st.value && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
|
|
105
|
-
}), ce({
|
|
106
|
-
config: () => N.value,
|
|
107
|
-
dataset: () => T.dataset,
|
|
108
|
-
component: "VueUiSparkStackbar",
|
|
109
|
-
rules: [le.emptyArray, {
|
|
110
|
-
test: (e) => e.length > 6,
|
|
111
|
-
message: [
|
|
112
|
-
"👀 The number of series is > 6. Consider:",
|
|
113
|
-
"",
|
|
114
|
-
"▶️ Grouping small values dynamically into a single \"Other\" series.",
|
|
115
|
-
"",
|
|
116
|
-
"▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
|
|
117
|
-
]
|
|
118
|
-
}]
|
|
119
|
-
});
|
|
120
|
-
let ct = u(() => N.value.useCursorPointer), lt = u(() => re({
|
|
121
|
-
defaultConfig: { style: {
|
|
122
|
-
backgroundColor: "#99999930",
|
|
123
|
-
animation: { show: !1 },
|
|
124
|
-
bar: { gradient: { inderlayerColor: "#6A6A6A" } },
|
|
125
|
-
title: { backgroundColor: "transparent" }
|
|
126
|
-
} },
|
|
127
|
-
userConfig: N.value.skeletonConfig ?? {}
|
|
128
|
-
})), { loading: R, FINAL_DATASET: z } = de({
|
|
129
|
-
...Te(T),
|
|
130
|
-
FINAL_CONFIG: N,
|
|
131
|
-
prepareConfig: V,
|
|
132
|
-
skeletonDataset: T.config?.skeletonDataset ?? [
|
|
133
|
-
{
|
|
134
|
-
name: "_",
|
|
135
|
-
value: 8,
|
|
136
|
-
color: "#808080"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
name: "_",
|
|
140
|
-
value: 5,
|
|
141
|
-
color: "#ADADAD"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
name: "_",
|
|
145
|
-
value: 3,
|
|
146
|
-
color: "#DBDBDB"
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
skeletonConfig: re({
|
|
150
|
-
defaultConfig: N.value,
|
|
151
|
-
userConfig: lt.value
|
|
152
|
-
})
|
|
153
|
-
}), { svgRef: B } = ye({ config: L.value.title });
|
|
154
|
-
function V() {
|
|
155
|
-
let e = pe({
|
|
156
|
-
userConfig: T.config,
|
|
157
|
-
defaultConfig: Ze
|
|
158
|
-
}), t = e.theme;
|
|
159
|
-
if (!t) return e;
|
|
160
|
-
if (!Qe.value(e)) return $e(e), e;
|
|
161
|
-
let n = pe({
|
|
162
|
-
userConfig: xe[t] || T.config,
|
|
163
|
-
defaultConfig: e
|
|
164
|
-
}), i = pe({
|
|
165
|
-
userConfig: T.config,
|
|
166
|
-
defaultConfig: n
|
|
167
|
-
});
|
|
168
|
-
return {
|
|
169
|
-
...i,
|
|
170
|
-
customPalette: i.customPalette.length ? i.customPalette : ee[t] || r
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
function ut(e) {
|
|
174
|
-
let t = te(e);
|
|
175
|
-
return t?.style && delete t.style.tooltip, JSON.stringify(t);
|
|
176
|
-
}
|
|
177
|
-
let dt = ut(T.config);
|
|
178
|
-
De(() => T.config, (e, t) => {
|
|
179
|
-
let n = ut(e), r = n !== dt;
|
|
180
|
-
dt = n;
|
|
181
|
-
let i = V();
|
|
182
|
-
if (!r) {
|
|
183
|
-
N.value.style.tooltip = i.style.tooltip;
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
N.value = i, pt();
|
|
187
|
-
}, { deep: !0 }), De(() => z.value, (e) => {
|
|
188
|
-
U.value = z.value.map((e, t) => ({
|
|
189
|
-
...e,
|
|
190
|
-
color: e.color ? a(e.color) : H.value[t] || r[t] || r[t % r.length]
|
|
191
|
-
})), ft();
|
|
192
|
-
}, { deep: !0 });
|
|
193
|
-
let H = u(() => ae(N.value.customPalette)), U = b(z.value.map((e, t) => ({
|
|
194
|
-
...e,
|
|
195
|
-
value: L.value.animation.show ? 0 : e.value || 0,
|
|
196
|
-
color: e.color ? a(e.color) : H.value[t] || r[t] || r[t % r.length]
|
|
197
|
-
}))), W = b(!0);
|
|
198
|
-
function ft() {
|
|
199
|
-
if (!L.value.animation.show || et.value) {
|
|
200
|
-
W.value = !1;
|
|
201
|
-
return;
|
|
202
|
-
}
|
|
203
|
-
let e = L.value.animation.animationFrames, t = z.value.map((e) => e.value || 0), n = t.map((t) => t / e), i = t.reduce((e, t) => e + t, 0), s = 0;
|
|
204
|
-
W.value = !0, U.value = z.value.map((e, t) => ({
|
|
205
|
-
...e,
|
|
206
|
-
value: 0,
|
|
207
|
-
color: e.color ? a(e.color) : H.value[t] || r[t] || r[t % r.length]
|
|
208
|
-
}));
|
|
209
|
-
function c() {
|
|
210
|
-
s += i / e, s < i ? (U.value = U.value.map((e, i) => ({
|
|
211
|
-
...e,
|
|
212
|
-
value: Math.min(e.value + n[i], t[i]),
|
|
213
|
-
color: e.color ? a(e.color) : H.value[i] || r[i] || r[i % r.length]
|
|
214
|
-
})), requestAnimationFrame(c)) : (W.value = !1, U.value = z.value.map((e, n) => ({
|
|
215
|
-
...e,
|
|
216
|
-
value: t[n],
|
|
217
|
-
color: e.color ? a(e.color) : H.value[n] || r[n] || r[n % r.length],
|
|
218
|
-
id: o()
|
|
219
|
-
})));
|
|
220
|
-
}
|
|
221
|
-
c();
|
|
222
|
-
}
|
|
223
|
-
we(() => {
|
|
224
|
-
pt();
|
|
225
|
-
});
|
|
226
|
-
function pt() {
|
|
227
|
-
se(T.dataset) ? c({
|
|
228
|
-
componentName: "VueUiSparkStackbar",
|
|
229
|
-
type: "dataset",
|
|
230
|
-
debug: st.value
|
|
231
|
-
}) : st.value && T.dataset.forEach((e, t) => {
|
|
232
|
-
oe({
|
|
233
|
-
datasetObject: e,
|
|
234
|
-
requiredAttributes: ["name", "value"]
|
|
235
|
-
}).forEach((e) => {
|
|
236
|
-
c({
|
|
237
|
-
componentName: "VueUiSparkStackbar",
|
|
238
|
-
type: "datasetSerieAttribute",
|
|
239
|
-
property: e,
|
|
240
|
-
index: t
|
|
241
|
-
});
|
|
242
|
-
});
|
|
243
|
-
}), ft();
|
|
244
|
-
}
|
|
245
|
-
let G = b({
|
|
246
|
-
width: 500,
|
|
247
|
-
height: 16
|
|
248
|
-
}), K = b([]), mt = u(() => z.value.map((e) => e.value || 0).filter((e, t) => !K.value.includes(t)).reduce((e, t) => e + t, 0)), q = u(() => U.value.map((e, n) => {
|
|
249
|
-
let i = e.value || 0, o = i / mt.value, s = isNaN(o) ? 0 : o, c = s * G.value.width;
|
|
250
|
-
return {
|
|
251
|
-
...e,
|
|
252
|
-
color: a(z.value[n]?.color ? z.value[n]?.color : H.value[n] || r[n] || r[n % r.length]),
|
|
253
|
-
value: i,
|
|
254
|
-
proportion: s,
|
|
255
|
-
width: c,
|
|
256
|
-
seriesIndex: n,
|
|
257
|
-
proportionLabel: t({
|
|
258
|
-
v: s * 100,
|
|
259
|
-
s: "%",
|
|
260
|
-
r: F.value.percentage.rounding
|
|
261
|
-
})
|
|
262
|
-
};
|
|
263
|
-
})), J = u(() => q.value.filter((e, t) => !K.value.includes(t)));
|
|
264
|
-
function ht() {
|
|
265
|
-
D.value = !1, M.value = null, A.value = null, j.value = "pointer";
|
|
266
|
-
}
|
|
267
|
-
function gt() {
|
|
268
|
-
ht(), K.value.length ? K.value = [] : q.value.forEach((e, t) => {
|
|
269
|
-
K.value.push(t);
|
|
270
|
-
}), xt("selectLegend", J.value);
|
|
271
|
-
}
|
|
272
|
-
function Y(e) {
|
|
273
|
-
ht(), K.value.includes(e) ? K.value = K.value.filter((t) => t !== e) : K.value.length < U.value.length - 1 && K.value.push(e), xt("selectLegend", J.value);
|
|
274
|
-
}
|
|
275
|
-
function _t(e) {
|
|
276
|
-
return q.value.length ? q.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiSparkStackbar - There are no series to show."), null);
|
|
277
|
-
}
|
|
278
|
-
function vt(e) {
|
|
279
|
-
let t = _t(e);
|
|
280
|
-
t !== null && K.value.includes(t.id) && Y(t.seriesIndex);
|
|
281
|
-
}
|
|
282
|
-
function yt(e) {
|
|
283
|
-
let t = _t(e);
|
|
284
|
-
t !== null && (K.value.includes(t.id) || Y(t.seriesIndex));
|
|
285
|
-
}
|
|
286
|
-
let X = u(() => {
|
|
287
|
-
let e = 0, t = [];
|
|
288
|
-
for (let n = 0; n < J.value.length; n += 1) t.push({
|
|
289
|
-
...J.value[n],
|
|
290
|
-
start: e
|
|
291
|
-
}), e += J.value[n].width;
|
|
292
|
-
return t;
|
|
293
|
-
}), bt = u(() => {
|
|
294
|
-
let e = X.value.reduce((e, t) => e + t.width, 0);
|
|
295
|
-
return Math.min(Math.max(e, 0), G.value.width);
|
|
296
|
-
}), xt = ke;
|
|
297
|
-
function Z(e, t, n = !1) {
|
|
298
|
-
xt("selectDatapoint", {
|
|
299
|
-
datapoint: e,
|
|
300
|
-
index: t
|
|
301
|
-
}), N.value.events.datapointClick && !n && N.value.events.datapointClick({
|
|
302
|
-
datapoint: e,
|
|
303
|
-
seriesIndex: e.seriesIndex
|
|
304
|
-
});
|
|
305
|
-
}
|
|
306
|
-
function St({ datapoint: e, seriesIndex: t }) {
|
|
307
|
-
D.value = !1, M.value = null, A.value = null, j.value = "pointer", N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
308
|
-
datapoint: e,
|
|
309
|
-
seriesIndex: e.seriesIndex
|
|
310
|
-
});
|
|
311
|
-
}
|
|
312
|
-
function Ct({ datapoint: e, seriesIndex: r, triggerMode: a = "pointer" }) {
|
|
313
|
-
if (k.value = !1, N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
314
|
-
datapoint: e,
|
|
315
|
-
seriesIndex: e.seriesIndex
|
|
316
|
-
}), !I.value.show) return;
|
|
317
|
-
j.value = a, O.value = {
|
|
318
|
-
datapoint: e,
|
|
319
|
-
seriesIndex: r,
|
|
320
|
-
config: N.value,
|
|
321
|
-
series: q.value
|
|
322
|
-
}, D.value = !0, M.value = e.seriesIndex;
|
|
323
|
-
let o = I.value.customFormat;
|
|
324
|
-
if (n(o)) try {
|
|
325
|
-
let t = o({
|
|
326
|
-
seriesIndex: e.seriesIndex,
|
|
327
|
-
datapoint: e,
|
|
328
|
-
series: q.value,
|
|
329
|
-
config: N.value
|
|
330
|
-
});
|
|
331
|
-
typeof t == "string" && (rt.value = t, k.value = !0);
|
|
332
|
-
} catch {
|
|
333
|
-
console.warn("Custom format cannot be applied."), k.value = !1;
|
|
334
|
-
}
|
|
335
|
-
if (!k.value) {
|
|
336
|
-
let n = "", a = P.value.gradient.show, o = `tooltip_grad_${r}_${E.value}`, c = i(s(e.color, .05), 100 - P.value.gradient.intensity), ee = a ? `<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${P.value.gradient.underlayerColor}"/>` : "", te = a ? `<defs><radialGradient id="${o}"><stop offset="0%" stop-color="${c}"/><stop offset="100%" stop-color="${e.color}"/></radialGradient></defs>` : "";
|
|
337
|
-
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 10 10" height="14" width="14">${te}${ee}<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${a ? `url(#${o})` : e.color}"/></svg>`, n += `<b>${e.proportionLabel}</b>`, n += `<span>(${ne(F.value.value.formatter, e.value, t({
|
|
338
|
-
p: F.value.value.prefix,
|
|
339
|
-
v: e.value,
|
|
340
|
-
s: F.value.value.suffix,
|
|
341
|
-
r: F.value.value.rounding
|
|
342
|
-
}), {
|
|
343
|
-
datapoint: e,
|
|
344
|
-
seriesIndex: r
|
|
345
|
-
})})</span>`, rt.value = `<div>${n}</div>`;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
let wt = u(() => {
|
|
349
|
-
let e = P.value.borderRadius == null ? G.value.height / 2 : P.value.borderRadius;
|
|
350
|
-
return Math.min(Math.max(e, 0), G.value.height / 2);
|
|
351
|
-
}), Q = u(() => {
|
|
352
|
-
let e = G.value.height / 2;
|
|
353
|
-
return e === 0 ? 5 : wt.value / e * 5;
|
|
354
|
-
});
|
|
355
|
-
function $(e) {
|
|
356
|
-
let t = ot.value[e];
|
|
357
|
-
t && typeof t.focus == "function" && t.focus();
|
|
358
|
-
}
|
|
359
|
-
function Tt(e) {
|
|
360
|
-
if (!Number.isFinite(e) || !B.value) return;
|
|
361
|
-
let t = X.value[e];
|
|
362
|
-
if (!t) return;
|
|
363
|
-
let n = B.value.getBoundingClientRect(), r = t.start + t.width / 2, i = G.value.height / 2;
|
|
364
|
-
it.value = {
|
|
365
|
-
x: n.left + r / G.value.width * n.width,
|
|
366
|
-
y: n.top + i / G.value.height * n.height
|
|
367
|
-
};
|
|
368
|
-
}
|
|
369
|
-
function Et() {
|
|
370
|
-
A.value = null, at.value = !0;
|
|
371
|
-
}
|
|
372
|
-
function Dt() {
|
|
373
|
-
A.value = null, j.value = "pointer", D.value = !1, M.value = null, at.value = !1;
|
|
374
|
-
}
|
|
375
|
-
function Ot(e) {
|
|
376
|
-
if (!B.value || document.activeElement !== B.value || !X.value.length) return;
|
|
377
|
-
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape", a = e.key === "Home", o = e.key === "End";
|
|
378
|
-
if (!t && !n && !r && !i && !a && !o) return;
|
|
379
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
380
|
-
A.value = null, j.value = "pointer", D.value = !1, M.value = null;
|
|
381
|
-
return;
|
|
382
|
-
}
|
|
383
|
-
if (r) {
|
|
384
|
-
if (A.value === null) return;
|
|
385
|
-
let e = X.value[A.value];
|
|
386
|
-
if (!e) return;
|
|
387
|
-
Z(e, e.seriesIndex);
|
|
388
|
-
return;
|
|
389
|
-
}
|
|
390
|
-
let s = A.value;
|
|
391
|
-
a ? s = 0 : o ? s = X.value.length - 1 : s === null || s < 0 || s >= X.value.length ? s = n ? 0 : X.value.length - 1 : n ? (s += 1, s >= X.value.length && (s = 0)) : t && (--s, s < 0 && (s = X.value.length - 1));
|
|
392
|
-
let c = X.value[s];
|
|
393
|
-
c && (A.value = s, Tt(s), Ct({
|
|
394
|
-
datapoint: c,
|
|
395
|
-
seriesIndex: c.seriesIndex,
|
|
396
|
-
triggerMode: "keyboard"
|
|
397
|
-
}));
|
|
398
|
-
}
|
|
399
|
-
function kt(e) {
|
|
400
|
-
D.value = !1, A.value = null, j.value = "pointer", M.value = e.seriesIndex;
|
|
401
|
-
}
|
|
402
|
-
function At() {
|
|
403
|
-
A.value = null, j.value = "pointer", D.value = !1, M.value = null;
|
|
404
|
-
}
|
|
405
|
-
function jt(e, t, n) {
|
|
406
|
-
let r = e.key === "Enter" || e.key === " ", i = e.key === "ArrowLeft" || e.key === "ArrowUp", a = e.key === "ArrowRight" || e.key === "ArrowDown", o = e.key === "Home", s = e.key === "End", c = e.key === "Escape";
|
|
407
|
-
if (r || i || a || o || s || c) {
|
|
408
|
-
if (e.preventDefault(), e.stopPropagation(), c) {
|
|
409
|
-
At();
|
|
410
|
-
return;
|
|
411
|
-
}
|
|
412
|
-
if (r) {
|
|
413
|
-
Y(n), Z(t, n, !0);
|
|
414
|
-
return;
|
|
415
|
-
}
|
|
416
|
-
if (o) {
|
|
417
|
-
$(0);
|
|
418
|
-
return;
|
|
419
|
-
}
|
|
420
|
-
if (s) {
|
|
421
|
-
$(q.value.length - 1);
|
|
422
|
-
return;
|
|
423
|
-
}
|
|
424
|
-
if (i) {
|
|
425
|
-
$(n <= 0 ? q.value.length - 1 : n - 1);
|
|
426
|
-
return;
|
|
427
|
-
}
|
|
428
|
-
a && $(n >= q.value.length - 1 ? 0 : n + 1);
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
let Mt = u(() => ({
|
|
432
|
-
headers: [
|
|
433
|
-
N.value.a11y.translations.series,
|
|
434
|
-
N.value.a11y.translations.percentage,
|
|
435
|
-
N.value.a11y.translations.value
|
|
436
|
-
],
|
|
437
|
-
rows: q.value.map((e, n) => [
|
|
438
|
-
e.name,
|
|
439
|
-
K.value.includes(n) ? " - " : e.proportionLabel,
|
|
440
|
-
ne(F.value.value.formatter, e.value, t({
|
|
441
|
-
p: F.value.value.prefix,
|
|
442
|
-
v: e.value,
|
|
443
|
-
s: F.value.value.suffix,
|
|
444
|
-
r: F.value.value.rounding
|
|
445
|
-
}), {
|
|
446
|
-
datapoint: e,
|
|
447
|
-
seriesIndex: n
|
|
448
|
-
})
|
|
449
|
-
])
|
|
450
|
-
}));
|
|
451
|
-
return he({
|
|
452
|
-
hideSeries: yt,
|
|
453
|
-
showSeries: vt
|
|
454
|
-
}), (e, n) => (y(), p("div", {
|
|
455
|
-
class: "vue-data-ui-component vue-ui-spark-stackbar",
|
|
456
|
-
ref_key: "sparkstackbarChart",
|
|
457
|
-
ref: nt,
|
|
458
|
-
style: v(`width:100%; background:${L.value.backgroundColor}`)
|
|
459
|
-
}, [
|
|
460
|
-
m("div", {
|
|
461
|
-
id: `chart-instructions-${E.value}`,
|
|
462
|
-
class: "sr-only"
|
|
463
|
-
}, [m("p", null, C(N.value.a11y.translations.keyboardNavigation), 1)], 8, Ae),
|
|
464
|
-
Mt.value?.rows?.length ? (y(), d(ve, {
|
|
465
|
-
key: 0,
|
|
466
|
-
uid: E.value,
|
|
467
|
-
head: Mt.value.headers,
|
|
468
|
-
body: Mt.value.rows,
|
|
469
|
-
notice: N.value.a11y.translations.tableAvailable,
|
|
470
|
-
caption: N.value.a11y.translations.tableCaption
|
|
471
|
-
}, null, 8, [
|
|
472
|
-
"uid",
|
|
473
|
-
"head",
|
|
474
|
-
"body",
|
|
475
|
-
"notice",
|
|
476
|
-
"caption"
|
|
477
|
-
])) : f("", !0),
|
|
478
|
-
L.value.title.text ? (y(), p("div", {
|
|
479
|
-
key: 1,
|
|
480
|
-
style: v(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${L.value.title.margin};padding: 0 6px;text-align:${L.value.title.textAlign}`)
|
|
481
|
-
}, [m("div", {
|
|
482
|
-
class: "atom-title",
|
|
483
|
-
style: v(`font-size:${L.value.title.fontSize}px;color:${L.value.title.color};font-weight:${L.value.title.bold ? "bold" : "normal"}`)
|
|
484
|
-
}, C(L.value.title.text), 5), L.value.title.subtitle.text ? (y(), p("div", {
|
|
485
|
-
key: 0,
|
|
486
|
-
class: "atom-subtitle",
|
|
487
|
-
style: v(`font-size:${L.value.title.subtitle.fontSize}px;color:${L.value.title.subtitle.color};font-weight:${L.value.title.subtitle.bold ? "bold" : "normal"}`)
|
|
488
|
-
}, C(L.value.title.subtitle.text), 5)) : f("", !0)], 4)) : f("", !0),
|
|
489
|
-
m("div", je, [(y(), p("svg", {
|
|
490
|
-
ref_key: "svgRef",
|
|
491
|
-
ref: B,
|
|
492
|
-
xmlns: w(ie),
|
|
493
|
-
width: "100%",
|
|
494
|
-
viewBox: `0 0 ${G.value.width} ${G.value.height}`,
|
|
495
|
-
"aria-describedby": `chart-instructions-${E.value}`,
|
|
496
|
-
tabindex: "0",
|
|
497
|
-
onFocus: Et,
|
|
498
|
-
onBlur: Dt,
|
|
499
|
-
onKeydown: Ot
|
|
500
|
-
}, [
|
|
501
|
-
Se(w(Ye)),
|
|
502
|
-
m("defs", null, [(y(!0), p(l, null, x(X.value, (e, t) => (y(), d(ge, {
|
|
503
|
-
t: "linear",
|
|
504
|
-
id: `stack_gradient_${t}_${E.value}`,
|
|
505
|
-
key: `stack_gradient_${t}`,
|
|
506
|
-
gradientTransform: "rotate(90)",
|
|
507
|
-
stops: [
|
|
508
|
-
[
|
|
509
|
-
"0%",
|
|
510
|
-
e.color,
|
|
511
|
-
1
|
|
512
|
-
],
|
|
513
|
-
[
|
|
514
|
-
"50%",
|
|
515
|
-
w(i)(w(s)(e.color, .05), 100 - P.value.gradient.intensity),
|
|
516
|
-
1
|
|
517
|
-
],
|
|
518
|
-
[
|
|
519
|
-
"100%",
|
|
520
|
-
e.color,
|
|
521
|
-
1
|
|
522
|
-
]
|
|
523
|
-
]
|
|
524
|
-
}, null, 8, ["id", "stops"]))), 128)), m("clipPath", { id: `stackPill_${E.value}` }, [m("rect", {
|
|
525
|
-
x: "0",
|
|
526
|
-
y: "0",
|
|
527
|
-
width: bt.value,
|
|
528
|
-
height: G.value.height,
|
|
529
|
-
rx: wt.value,
|
|
530
|
-
class: g({ animated: !W.value && !w(R) })
|
|
531
|
-
}, null, 10, Pe)], 8, Ne)]),
|
|
532
|
-
mt.value > 0 ? (y(), p(l, { key: 0 }, [m("g", { "clip-path": `url(#stackPill_${E.value})` }, [
|
|
533
|
-
(y(!0), p(l, null, x(X.value, (e, t) => (y(), p("rect", {
|
|
534
|
-
key: `stack_underlayer_${t}`,
|
|
535
|
-
x: e.start,
|
|
536
|
-
y: 0,
|
|
537
|
-
width: e.width,
|
|
538
|
-
height: G.value.height,
|
|
539
|
-
fill: P.value.gradient.underlayerColor,
|
|
540
|
-
class: g({ animated: !W.value && !w(R) }),
|
|
541
|
-
style: v({ opacity: D.value && M.value !== null && I.value.show ? M.value === e.seriesIndex ? 1 : .5 : 1 })
|
|
542
|
-
}, null, 14, Ie))), 128)),
|
|
543
|
-
(y(!0), p(l, null, x(X.value, (e, t) => (y(), p("rect", {
|
|
544
|
-
key: `stack_${t}`,
|
|
545
|
-
x: e.start,
|
|
546
|
-
y: 0,
|
|
547
|
-
width: e.width,
|
|
548
|
-
height: G.value.height,
|
|
549
|
-
fill: P.value.gradient.show ? `url(#stack_gradient_${t}_${E.value})` : e.color,
|
|
550
|
-
class: g({ animated: !W.value && !w(R) }),
|
|
551
|
-
style: v({ opacity: D.value && M.value !== null && I.value.show ? M.value === e.seriesIndex ? 1 : .5 : 1 })
|
|
552
|
-
}, null, 14, Le))), 128)),
|
|
553
|
-
(y(!0), p(l, null, x(X.value.slice(1), (e, t) => (y(), p("rect", {
|
|
554
|
-
key: `stack_separator_${t}`,
|
|
555
|
-
x: e.start - .5,
|
|
556
|
-
y: "0",
|
|
557
|
-
width: "1",
|
|
558
|
-
height: G.value.height,
|
|
559
|
-
fill: L.value.backgroundColor,
|
|
560
|
-
"pointer-events": "none",
|
|
561
|
-
class: g({ animated: !W.value && !w(R) })
|
|
562
|
-
}, null, 10, Re))), 128)),
|
|
563
|
-
(y(!0), p(l, null, x(X.value, (e, t) => (y(), p("rect", {
|
|
564
|
-
key: `stack_trap_${t}`,
|
|
565
|
-
x: e.start,
|
|
566
|
-
y: 0,
|
|
567
|
-
width: e.width,
|
|
568
|
-
height: G.value.height,
|
|
569
|
-
fill: "transparent",
|
|
570
|
-
stroke: "none",
|
|
571
|
-
class: g({ animated: !W.value && !w(R) }),
|
|
572
|
-
onClick: () => Z(e, t),
|
|
573
|
-
onMouseenter: () => Ct({
|
|
574
|
-
datapoint: e,
|
|
575
|
-
seriesIndex: e.seriesIndex
|
|
576
|
-
}),
|
|
577
|
-
onMouseleave: (t) => St({
|
|
578
|
-
datapoint: e,
|
|
579
|
-
seriesIndex: e.seriesIndex
|
|
580
|
-
})
|
|
581
|
-
}, null, 42, ze))), 128))
|
|
582
|
-
], 8, Fe), m("rect", {
|
|
583
|
-
x: "0.5",
|
|
584
|
-
y: "0.5",
|
|
585
|
-
width: G.value.width - 1,
|
|
586
|
-
height: G.value.height - 1,
|
|
587
|
-
rx: Math.max(0, wt.value - .5),
|
|
588
|
-
fill: "none",
|
|
589
|
-
stroke: L.value.backgroundColor,
|
|
590
|
-
"stroke-width": "1",
|
|
591
|
-
"pointer-events": "none"
|
|
592
|
-
}, null, 8, Be)], 64)) : (y(), p("rect", {
|
|
593
|
-
key: 1,
|
|
594
|
-
x: 2,
|
|
595
|
-
y: 1,
|
|
596
|
-
width: G.value.width - 4,
|
|
597
|
-
height: G.value.height - 2,
|
|
598
|
-
stroke: "#CCCCCC",
|
|
599
|
-
"stroke-width": "2",
|
|
600
|
-
fill: "transparent",
|
|
601
|
-
rx: (G.value.height - 4) / 2
|
|
602
|
-
}, null, 8, Ve))
|
|
603
|
-
], 40, Me)), e.$slots.hint ? (y(), p("div", He, [S(e.$slots, "hint", _(h({
|
|
604
|
-
hint: N.value.a11y.translations.keyboardNavigation,
|
|
605
|
-
isVisible: at.value
|
|
606
|
-
})), void 0, !0)])) : f("", !0)]),
|
|
607
|
-
F.value.show ? (y(), p("div", {
|
|
608
|
-
key: 2,
|
|
609
|
-
style: v(`background:transparent;margin:0 auto;margin:${F.value.margin};justify-content:${F.value.textAlign === "left" ? "flex-start" : F.value.textAlign === "right" ? "flex-end" : "center"}`),
|
|
610
|
-
class: "vue-ui-sparkstackbar-legend",
|
|
611
|
-
"aria-label": "legend",
|
|
612
|
-
role: "toolbar"
|
|
613
|
-
}, [F.value.selectAllToggle.show && q.value.length > 2 && !w(R) ? (y(), d(_e, {
|
|
614
|
-
key: 0,
|
|
615
|
-
backgroundColor: F.value.selectAllToggle.backgroundColor,
|
|
616
|
-
color: F.value.selectAllToggle.color,
|
|
617
|
-
fontSize: F.value.fontSize,
|
|
618
|
-
checked: K.value.length > 0,
|
|
619
|
-
isCursorPointer: ct.value,
|
|
620
|
-
onToggle: gt
|
|
621
|
-
}, null, 8, [
|
|
622
|
-
"backgroundColor",
|
|
623
|
-
"color",
|
|
624
|
-
"fontSize",
|
|
625
|
-
"checked",
|
|
626
|
-
"isCursorPointer"
|
|
627
|
-
])) : f("", !0), (y(!0), p(l, null, x(q.value, (e, n) => (y(), p("div", {
|
|
628
|
-
role: "button",
|
|
629
|
-
tabindex: "0",
|
|
630
|
-
"aria-pressed": K.value.includes(n),
|
|
631
|
-
"aria-label": `${e.name}, ${K.value.includes(n) ? "hidden" : "visible"}, ${e.proportionLabel}`,
|
|
632
|
-
style: v(`font-size:${F.value.fontSize}px;cursor:${ct.value ? "pointer" : "default"}`),
|
|
633
|
-
class: g({
|
|
634
|
-
"vue-ui-sparkstackbar-legend-item": !0,
|
|
635
|
-
"vue-ui-sparkstackbar-legend-item-unselected": K.value.includes(n)
|
|
636
|
-
}),
|
|
637
|
-
onClick: (t) => {
|
|
638
|
-
Y(n), Z(e, n, !0);
|
|
639
|
-
},
|
|
640
|
-
onFocus: (t) => kt(e),
|
|
641
|
-
onBlur: At,
|
|
642
|
-
onKeydown: (t) => jt(t, e, n)
|
|
643
|
-
}, [m("div", We, [(y(), p("svg", {
|
|
644
|
-
height: `${F.value.fontSize}px`,
|
|
645
|
-
width: `${F.value.fontSize}px`,
|
|
646
|
-
viewBox: "0 0 10 10"
|
|
647
|
-
}, [
|
|
648
|
-
m("defs", null, [Se(ge, {
|
|
649
|
-
t: "radial",
|
|
650
|
-
id: `legend_grad_${n}-${E.value}`,
|
|
651
|
-
stops: [[
|
|
652
|
-
"0%",
|
|
653
|
-
w(R) ? "#FFFFFF" : w(i)(w(s)(e.color, .05), 100 - P.value.gradient.intensity),
|
|
654
|
-
1
|
|
655
|
-
], [
|
|
656
|
-
"100%",
|
|
657
|
-
e.color,
|
|
658
|
-
1
|
|
659
|
-
]]
|
|
660
|
-
}, null, 8, ["id", "stops"])]),
|
|
661
|
-
P.value.gradient.show ? (y(), p("rect", {
|
|
662
|
-
key: 0,
|
|
663
|
-
x: "0",
|
|
664
|
-
y: "0",
|
|
665
|
-
width: "10",
|
|
666
|
-
height: "10",
|
|
667
|
-
rx: Q.value,
|
|
668
|
-
fill: P.value.gradient.underlayerColor
|
|
669
|
-
}, null, 8, Ke)) : f("", !0),
|
|
670
|
-
m("rect", {
|
|
671
|
-
x: "0",
|
|
672
|
-
y: "0",
|
|
673
|
-
width: "10",
|
|
674
|
-
height: "10",
|
|
675
|
-
rx: Q.value,
|
|
676
|
-
fill: P.value.gradient.show ? `url(#legend_grad_${n}-${E.value})` : e.color
|
|
677
|
-
}, null, 8, qe)
|
|
678
|
-
], 8, Ge)), w(R) ? f("", !0) : (y(), p(l, { key: 0 }, [m("span", { style: v(`color:${F.value.name.color}; font-weight:${F.value.name.bold ? "bold" : "normal"}`) }, C(e.name), 5), W.value ? f("", !0) : (y(), p(l, { key: 0 }, [F.value.percentage.show ? (y(), p("span", {
|
|
679
|
-
key: 0,
|
|
680
|
-
style: v(`font-weight:${F.value.percentage.bold ? "bold" : "normal"};color:${F.value.percentage.color}`)
|
|
681
|
-
}, C(K.value.includes(n) ? " - " : e.proportionLabel), 5)) : f("", !0), F.value.value.show ? (y(), p("span", {
|
|
682
|
-
key: 1,
|
|
683
|
-
style: v(`font-weight:${F.value.value.bold ? "bold" : "normal"};color:${F.value.value.color}`)
|
|
684
|
-
}, " (" + C(w(ne)(F.value.value.formatter, e.value, w(t)({
|
|
685
|
-
p: F.value.value.prefix,
|
|
686
|
-
v: e.value,
|
|
687
|
-
s: F.value.value.suffix,
|
|
688
|
-
r: F.value.value.rounding
|
|
689
|
-
}), {
|
|
690
|
-
datapoint: e,
|
|
691
|
-
seriesIndex: n
|
|
692
|
-
})) + ") ", 5)) : f("", !0)], 64))], 64))])], 46, Ue))), 256))], 4)) : f("", !0),
|
|
693
|
-
Se(w(Xe), {
|
|
694
|
-
teleportTo: I.value.teleportTo,
|
|
695
|
-
show: D.value && I.value.show,
|
|
696
|
-
parent: nt.value,
|
|
697
|
-
backgroundColor: I.value.backgroundColor,
|
|
698
|
-
color: I.value.color,
|
|
699
|
-
fontSize: I.value.fontSize,
|
|
700
|
-
borderRadius: I.value.borderRadius,
|
|
701
|
-
borderColor: I.value.borderColor,
|
|
702
|
-
borderWidth: I.value.borderWidth,
|
|
703
|
-
backgroundOpacity: I.value.backgroundOpacity,
|
|
704
|
-
position: I.value.position,
|
|
705
|
-
content: rt.value,
|
|
706
|
-
isCustom: k.value,
|
|
707
|
-
offsetX: I.value.offsetX,
|
|
708
|
-
offsetY: -124 + I.value.offsetY,
|
|
709
|
-
blockShiftY: !0,
|
|
710
|
-
smooth: I.value.smooth,
|
|
711
|
-
backdropFilter: I.value.backdropFilter,
|
|
712
|
-
smoothForce: I.value.smoothForce,
|
|
713
|
-
smoothSnapThreshold: I.value.smoothSnapThreshold,
|
|
714
|
-
isA11yMode: j.value === "keyboard",
|
|
715
|
-
a11yPosition: it.value
|
|
716
|
-
}, {
|
|
717
|
-
"tooltip-before": Oe(() => [S(e.$slots, "tooltip-before", _(h({ ...O.value })), void 0, !0)]),
|
|
718
|
-
tooltip: Oe(() => [S(e.$slots, "tooltip", _(h({ ...O.value })), void 0, !0)]),
|
|
719
|
-
"tooltip-after": Oe(() => [S(e.$slots, "tooltip-after", _(h({ ...O.value })), void 0, !0)]),
|
|
720
|
-
_: 3
|
|
721
|
-
}, 8, [
|
|
722
|
-
"teleportTo",
|
|
723
|
-
"show",
|
|
724
|
-
"parent",
|
|
725
|
-
"backgroundColor",
|
|
726
|
-
"color",
|
|
727
|
-
"fontSize",
|
|
728
|
-
"borderRadius",
|
|
729
|
-
"borderColor",
|
|
730
|
-
"borderWidth",
|
|
731
|
-
"backgroundOpacity",
|
|
732
|
-
"position",
|
|
733
|
-
"content",
|
|
734
|
-
"isCustom",
|
|
735
|
-
"offsetX",
|
|
736
|
-
"offsetY",
|
|
737
|
-
"smooth",
|
|
738
|
-
"backdropFilter",
|
|
739
|
-
"smoothForce",
|
|
740
|
-
"smoothSnapThreshold",
|
|
741
|
-
"isA11yMode",
|
|
742
|
-
"a11yPosition"
|
|
743
|
-
]),
|
|
744
|
-
e.$slots.source ? (y(), p("div", Je, [S(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
745
|
-
S(e.$slots, "skeleton", {}, () => [w(R) ? (y(), d(fe, { key: 0 })) : f("", !0)], !0)
|
|
746
|
-
], 4));
|
|
747
|
-
}
|
|
748
|
-
}, [["__scopeId", "data-v-b9cf09ef"]]);
|
|
749
|
-
//#endregion
|
|
750
|
-
export { ke as n, Ye as t };
|