vue-data-ui 3.26.5 → 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 +17969 -17813
- 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 -120
- 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-BQbcOtfC.js +0 -116
- package/dist/BaseDraggableDialog-BCFCiP_6.js +0 -272
- package/dist/BaseIcon-CIK6Sqo3.js +0 -484
- package/dist/BaseLegendToggle-Doa5rYP2.js +0 -56
- package/dist/BaseScanner-Dzc8VT3j.js +0 -30
- package/dist/BaseZoomControls-BGQM8B5F.js +0 -111
- package/dist/ColorPicker-Cb7qpvFt.js +0 -257
- package/dist/DataTable-B6LDCXBz.js +0 -150
- package/dist/DefGrad-DVBqDjhO.js +0 -48
- package/dist/HillActions-CwdgCb7Q.js +0 -187
- package/dist/Legend-D9FGXIbQ.js +0 -156
- package/dist/NonSvgPenAndPaper-9T4MSwXC.js +0 -577
- package/dist/PackageVersion-CslTvFsC.js +0 -12
- package/dist/PenAndPaper-C1EcBgJW.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-BZgQLgu5.js +0 -143
- package/dist/SlicerPreview-DyYv_G-_.js +0 -1730
- package/dist/SparkTooltip-D4cRlyuq.js +0 -93
- package/dist/Title-Bd98RysU.js +0 -87
- package/dist/Tooltip-DmQeI5WE.js +0 -312
- package/dist/UserOptions-B_yBcZ1-.js +0 -1412
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/dom-to-png-B_RJohlM.js +0 -237
- package/dist/exposedLib-C-JlvWAt.js +0 -28
- package/dist/geoProjections-BYthUA8l.js +0 -302
- package/dist/img-KURaWjZI.js +0 -129
- package/dist/labelUtils-DShv2Mbg.js +0 -19
- package/dist/lib-TWIH5fGr.js +0 -2152
- package/dist/package-DbTqd5lc.js +0 -4
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-CLl24Afl.js +0 -90
- package/dist/render-common-CKv-jztN.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-DObkR9Aa.js +0 -8008
- package/dist/useFitSvgText-CXTzBplU.js +0 -65
- package/dist/useHints-Dq_w2E8B.js +0 -66
- package/dist/useNestedProp-BxOdWM0c.js +0 -12
- package/dist/useObjectBindings-CPmyIJxB.js +0 -191
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-8Y1Rju0Y.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-C3G5Zdl5.js +0 -191
- package/dist/vue-ui-3d-bar-Cl6-fBV8.js +0 -1831
- package/dist/vue-ui-accordion-AyyZDab3.js +0 -81
- package/dist/vue-ui-age-pyramid-DOtWAL8s.js +0 -1305
- package/dist/vue-ui-annotator-BCVjlojM.js +0 -3325
- package/dist/vue-ui-bullet-B_1Ctjvq.js +0 -702
- package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
- package/dist/vue-ui-candlestick-KvhjbAxt.js +0 -2144
- package/dist/vue-ui-carousel-table-ArMiO0cG.js +0 -467
- package/dist/vue-ui-chestnut-DSM0U27X.js +0 -2016
- package/dist/vue-ui-chord-64akfaem.js +0 -1347
- package/dist/vue-ui-circle-pack-CaR_aNEh.js +0 -1647
- package/dist/vue-ui-cursor-DCgqYZiz.js +0 -283
- package/dist/vue-ui-dag-8uKK0Rlp.js +0 -2931
- package/dist/vue-ui-dashboard-DeccYtSY.js +0 -522
- package/dist/vue-ui-digits-BvK7bVuJ.js +0 -217
- package/dist/vue-ui-donut-8joMj08Z.js +0 -974
- package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
- package/dist/vue-ui-donut-evolution-DgITf95R.js +0 -1869
- package/dist/vue-ui-dumbbell-U2L4ZYhB.js +0 -1533
- package/dist/vue-ui-flow-DD20fJu_.js +0 -1229
- package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
- package/dist/vue-ui-galaxy-VZFZnHPv.js +0 -1097
- package/dist/vue-ui-gauge-Copa7G58.js +0 -934
- package/dist/vue-ui-geo-DeDQ6ubl.js +0 -1495
- package/dist/vue-ui-gizmo-D5oUKIsP.js +0 -238
- package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
- package/dist/vue-ui-hill-DONFacXR.js +0 -1747
- package/dist/vue-ui-history-plot-BMy_y9S6.js +0 -1710
- package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
- package/dist/vue-ui-kpi-Bol0OWs3.js +0 -104
- package/dist/vue-ui-label-cwjXaEDQ.js +0 -1451
- package/dist/vue-ui-mini-loader-kdpasmXb.js +0 -133
- package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
- package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
- package/dist/vue-ui-nested-donuts-ZmGGEvRk.js +0 -1515
- package/dist/vue-ui-onion-D6IKPpL-.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.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-CueHa1Pm.js +0 -1979
- package/dist/vue-ui-quick-chart-C8ZxX1Zw.js +0 -2775
- package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
- package/dist/vue-ui-rating-V_OnJN9Y.js +0 -359
- package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
- package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
- package/dist/vue-ui-rings-Bf9IKwDr.js +0 -1264
- package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
- package/dist/vue-ui-skeleton-dyXWT6JX.js +0 -2567
- package/dist/vue-ui-smiley-w6nH1I0E.js +0 -376
- package/dist/vue-ui-spark-trend-Bso9bwmY.js +0 -457
- package/dist/vue-ui-sparkbar-CL06Yt56.js +0 -401
- package/dist/vue-ui-sparkgauge-BHDM5Hbr.js +0 -268
- package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
- package/dist/vue-ui-sparkline-znaswFQj.js +0 -2067
- package/dist/vue-ui-sparkstackbar-BOzVoWoa.js +0 -750
- package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
- package/dist/vue-ui-stackline-qcLrNL09.js +0 -2829
- package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
- package/dist/vue-ui-table-D295mJIf.js +0 -1352
- package/dist/vue-ui-table-heatmap-CXeMKqKz.js +0 -363
- package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
- package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
- package/dist/vue-ui-timer-BULpjYiI.js +0 -451
- package/dist/vue-ui-tiremarks-B7bTeU8h.js +0 -540
- package/dist/vue-ui-treemap-DkqDz9W4.js +0 -1745
- package/dist/vue-ui-waffle-Cn7WBzqh.js +0 -1633
- package/dist/vue-ui-wheel-Cy7kBvEx.js +0 -873
- package/dist/vue-ui-word-cloud-tRqc2ZMR.js +0 -1723
- package/dist/vue-ui-world-B755-zji.js +0 -3021
- package/dist/vue-ui-xy-BiHIJ7rK.js +0 -1387
- package/dist/vue-ui-xy-DWYTZz_v.js +0 -5777
- package/dist/vue-ui-xy-canvas-DGuMC_Rf.js +0 -2151
- 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-DdjDL6aq.js +0 -491
- 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,1247 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, $t as n, D as r, Et as i, Rt as a, S as o, Vt as s, X as ee, at as te, et as ne, ft as re, i as ie, nt as ae, t as oe, tn as se, w as ce } from "./lib-TWIH5fGr.js";
|
|
3
|
-
import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as de } from "./useConfig-DObkR9Aa.js";
|
|
5
|
-
import { t as fe } from "./usePrinter-8Y1Rju0Y.js";
|
|
6
|
-
import { n as pe, t as me } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as he } from "./useNestedProp-BxOdWM0c.js";
|
|
8
|
-
import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as _e } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as ve } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as ye } from "./img-KURaWjZI.js";
|
|
12
|
-
import { n as be } from "./Title-Bd98RysU.js";
|
|
13
|
-
import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
-
import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
-
import { t as we } from "./BaseLegendToggle-Doa5rYP2.js";
|
|
16
|
-
import { t as Te } from "./A11yDataTable-DdRsVULz.js";
|
|
17
|
-
import { t as Ee } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
-
import { t as De } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as Oe } from "./labelUtils-DShv2Mbg.js";
|
|
20
|
-
import { t as ke } from "./Legend-D9FGXIbQ.js";
|
|
21
|
-
import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
|
|
22
|
-
import { t as je } from "./vue_ui_onion-1FTFFS46.js";
|
|
23
|
-
import { Fragment as c, Teleport as Me, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Ie, nextTick as Le, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Re, onMounted as ze, openBlock as y, ref as b, renderList as Be, renderSlot as x, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as Ue, toRefs as We, unref as S, watch as C, withCtx as w } from "vue";
|
|
24
|
-
//#region src/components/vue-ui-onion.vue
|
|
25
|
-
var Ge = /* @__PURE__ */ e({ default: () => pt }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
|
|
26
|
-
"xmlns",
|
|
27
|
-
"aria-describedby",
|
|
28
|
-
"viewBox"
|
|
29
|
-
], Ze = ["width", "height"], Qe = [
|
|
30
|
-
"cx",
|
|
31
|
-
"cy",
|
|
32
|
-
"r",
|
|
33
|
-
"stroke",
|
|
34
|
-
"stroke-width",
|
|
35
|
-
"stroke-dasharray",
|
|
36
|
-
"stroke-dashoffset"
|
|
37
|
-
], $e = [
|
|
38
|
-
"cx",
|
|
39
|
-
"cy",
|
|
40
|
-
"r",
|
|
41
|
-
"stroke",
|
|
42
|
-
"stroke-width",
|
|
43
|
-
"stroke-dasharray",
|
|
44
|
-
"stroke-dashoffset"
|
|
45
|
-
], et = ["id"], tt = ["stdDeviation"], nt = ["filter"], rt = [
|
|
46
|
-
"cx",
|
|
47
|
-
"cy",
|
|
48
|
-
"r",
|
|
49
|
-
"stroke-width",
|
|
50
|
-
"stroke-dasharray",
|
|
51
|
-
"stroke-dashoffset"
|
|
52
|
-
], it = [
|
|
53
|
-
"cx",
|
|
54
|
-
"cy",
|
|
55
|
-
"r",
|
|
56
|
-
"stroke-width",
|
|
57
|
-
"stroke-dasharray",
|
|
58
|
-
"stroke-dashoffset",
|
|
59
|
-
"onMouseenter",
|
|
60
|
-
"onMouseleave",
|
|
61
|
-
"onClick"
|
|
62
|
-
], at = { key: 2 }, ot = [
|
|
63
|
-
"onMouseenter",
|
|
64
|
-
"onMouseleave",
|
|
65
|
-
"onClick"
|
|
66
|
-
], st = [
|
|
67
|
-
"transform",
|
|
68
|
-
"font-size",
|
|
69
|
-
"fill",
|
|
70
|
-
"font-weight"
|
|
71
|
-
], ct = {
|
|
72
|
-
key: 0,
|
|
73
|
-
style: {
|
|
74
|
-
position: "absolute",
|
|
75
|
-
top: "100%",
|
|
76
|
-
left: "0",
|
|
77
|
-
width: "100%"
|
|
78
|
-
},
|
|
79
|
-
"data-dom-to-png-ignore": "",
|
|
80
|
-
"aria-hidden": "true"
|
|
81
|
-
}, lt = {
|
|
82
|
-
key: 5,
|
|
83
|
-
class: "vue-data-ui-watermark"
|
|
84
|
-
}, ut = ["id"], dt = ["onClick"], ft = ["innerHTML"], pt = /*#__PURE__*/ xe({
|
|
85
|
-
__name: "vue-ui-onion",
|
|
86
|
-
props: {
|
|
87
|
-
config: {
|
|
88
|
-
type: Object,
|
|
89
|
-
default() {
|
|
90
|
-
return {};
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
dataset: {
|
|
94
|
-
type: Array,
|
|
95
|
-
default() {
|
|
96
|
-
return [];
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
emits: ["selectLegend", "copyAlt"],
|
|
101
|
-
setup(e, { expose: xe, emit: Ge }) {
|
|
102
|
-
let pt = m(() => import("./Tooltip-DmQeI5WE.js")), mt = m(() => import("./BaseIcon-CIK6Sqo3.js").then((e) => e.n)), ht = m(() => import("./vue-ui-accordion-AyyZDab3.js").then((e) => e.n)), gt = m(() => import("./DataTable-B6LDCXBz.js")), _t = m(() => import("./UserOptions-B_yBcZ1-.js").then((e) => e.n)), vt = m(() => import("./PenAndPaper-C1EcBgJW.js").then((e) => e.t)), yt = m(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), bt = m(() => import("./BaseDraggableDialog-BCFCiP_6.js").then((e) => e.n)), { vue_ui_onion: xt } = de(), { isThemeValid: St, warnInvalidTheme: Ct } = ge(), T = e, wt = l(() => !!T.dataset && T.dataset.length), E = b(ee()), Tt = b(null), Et = b(0), D = b(!1), Dt = b(""), O = b([]), k = b(null), Ot = b(null), kt = b(null), At = b(null), jt = b(null), Mt = b(0), Nt = b(0), Pt = b(0), Ft = b(!1), It = b(!1), Lt = b(null), A = b(null), Rt = b({
|
|
103
|
-
x: 0,
|
|
104
|
-
y: 0
|
|
105
|
-
}), j = b("pointer"), zt = b(!1), M = b(Kt()), N = l(() => M.value.userOptions), P = l(() => M.value.style.chart.layout.labels), F = l(() => M.value.style.chart.layout), I = l(() => M.value.style.chart.tooltip), L = l(() => M.value.style.chart);
|
|
106
|
-
le({
|
|
107
|
-
config: () => M.value,
|
|
108
|
-
dataset: () => T.dataset,
|
|
109
|
-
component: "VueUiOnion",
|
|
110
|
-
rules: [ue.emptyArray, {
|
|
111
|
-
test: (e) => e.length > 8,
|
|
112
|
-
message: [
|
|
113
|
-
"👀 The number of series is > 8. Consider:",
|
|
114
|
-
"",
|
|
115
|
-
"▶️ Grouping small values dynamically into a single \"Other\" series.",
|
|
116
|
-
"",
|
|
117
|
-
"▶️ Using filters to let users choose a maximum number of series to display.",
|
|
118
|
-
"",
|
|
119
|
-
"▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
|
|
120
|
-
]
|
|
121
|
-
}]
|
|
122
|
-
});
|
|
123
|
-
let { transitionEnabled: R } = ve({
|
|
124
|
-
config: () => M.value.transitions,
|
|
125
|
-
dataset: () => T.dataset
|
|
126
|
-
}), z = l(() => M.value.userOptions.useCursorPointer), Bt = l(() => se({
|
|
127
|
-
defaultConfig: {
|
|
128
|
-
userOptions: { show: !1 },
|
|
129
|
-
table: { show: !1 },
|
|
130
|
-
style: { chart: {
|
|
131
|
-
backgroundColor: "#99999930",
|
|
132
|
-
layout: {
|
|
133
|
-
gutter: { color: "#99999950" },
|
|
134
|
-
labels: { show: !1 }
|
|
135
|
-
},
|
|
136
|
-
legend: { backgroundColor: "transparent" }
|
|
137
|
-
} }
|
|
138
|
-
},
|
|
139
|
-
userConfig: M.value.skeletonConfig ?? {}
|
|
140
|
-
})), { loading: B, FINAL_DATASET: Vt, manualLoading: Ht } = pe({
|
|
141
|
-
...We(T),
|
|
142
|
-
FINAL_CONFIG: M,
|
|
143
|
-
prepareConfig: Kt,
|
|
144
|
-
callback: () => {
|
|
145
|
-
Promise.resolve().then(async () => {
|
|
146
|
-
await Le(), yn();
|
|
147
|
-
});
|
|
148
|
-
},
|
|
149
|
-
skeletonDataset: T.config?.skeletonDataset ?? [
|
|
150
|
-
{
|
|
151
|
-
name: "_",
|
|
152
|
-
percentage: 50,
|
|
153
|
-
value: 1,
|
|
154
|
-
color: "#DBDBDB"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
name: "_",
|
|
158
|
-
percentage: 50,
|
|
159
|
-
value: 1,
|
|
160
|
-
color: "#C4C4C4"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
name: "_",
|
|
164
|
-
percentage: 50,
|
|
165
|
-
value: 1,
|
|
166
|
-
color: "#ADADAD"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
name: "_",
|
|
170
|
-
percentage: 50,
|
|
171
|
-
value: 1,
|
|
172
|
-
color: "#969696"
|
|
173
|
-
}
|
|
174
|
-
],
|
|
175
|
-
skeletonConfig: se({
|
|
176
|
-
defaultConfig: M.value,
|
|
177
|
-
userConfig: Bt.value
|
|
178
|
-
})
|
|
179
|
-
}), { userOptionsVisible: Ut, setUserOptionsVisibility: Wt, keepUserOptionState: Gt } = Ee({ config: M.value }), { svgRef: V } = De({ config: L.value.title });
|
|
180
|
-
function Kt() {
|
|
181
|
-
let e = he({
|
|
182
|
-
userConfig: T.config,
|
|
183
|
-
defaultConfig: xt
|
|
184
|
-
}), t = e.theme;
|
|
185
|
-
if (!t) return e;
|
|
186
|
-
if (!St.value(e)) return Ct(e), e;
|
|
187
|
-
let r = he({
|
|
188
|
-
userConfig: je[t] || T.config,
|
|
189
|
-
defaultConfig: e
|
|
190
|
-
}), i = he({
|
|
191
|
-
userConfig: T.config,
|
|
192
|
-
defaultConfig: r
|
|
193
|
-
});
|
|
194
|
-
return {
|
|
195
|
-
...i,
|
|
196
|
-
customPalette: i.customPalette.length ? i.customPalette : n[t] || s
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
function qt(e) {
|
|
200
|
-
let t = ne(e);
|
|
201
|
-
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
202
|
-
}
|
|
203
|
-
let Jt = qt(T.config);
|
|
204
|
-
C(() => T.config, (e, t) => {
|
|
205
|
-
let n = qt(e), r = n !== Jt;
|
|
206
|
-
Jt = n;
|
|
207
|
-
let i = Kt();
|
|
208
|
-
if (!r) {
|
|
209
|
-
M.value.style.chart.tooltip = i.style.chart.tooltip, H.value.showTooltip = M.value.style.chart.tooltip.show;
|
|
210
|
-
return;
|
|
211
|
-
}
|
|
212
|
-
B.value || (M.value = i), Ut.value = !M.value.userOptions.showOnChartHover, fn(), Mt.value += 1, Nt.value += 1, Pt.value += 1, H.value.showTable = M.value.table.show, H.value.showTooltip = I.value.show;
|
|
213
|
-
}, { deep: !0 });
|
|
214
|
-
let { isPrinting: Yt, isImaging: Xt, generatePdf: Zt, generateImage: Qt } = fe({
|
|
215
|
-
elementId: `vue-ui-onion_${E.value}`,
|
|
216
|
-
fileName: L.value.title.text || "vue-ui-onion",
|
|
217
|
-
options: M.value.userOptions.print
|
|
218
|
-
}), $t = l(() => M.value.userOptions.show && !L.value.title.text), en = l(() => ce(M.value.customPalette)), H = b({
|
|
219
|
-
showTable: M.value.table.show,
|
|
220
|
-
showTooltip: I.value.show
|
|
221
|
-
});
|
|
222
|
-
C(M, () => {
|
|
223
|
-
H.value = {
|
|
224
|
-
showTable: M.value.table.show,
|
|
225
|
-
showTooltip: I.value.show
|
|
226
|
-
};
|
|
227
|
-
}, { immediate: !0 });
|
|
228
|
-
let U = b({
|
|
229
|
-
height: 512,
|
|
230
|
-
width: 512,
|
|
231
|
-
padding: {
|
|
232
|
-
top: 64,
|
|
233
|
-
left: 64,
|
|
234
|
-
right: 64,
|
|
235
|
-
bottom: 64
|
|
236
|
-
},
|
|
237
|
-
minRadius: 64
|
|
238
|
-
}), W = He(null), G = He(null);
|
|
239
|
-
ze(() => {
|
|
240
|
-
It.value = !0, fn();
|
|
241
|
-
});
|
|
242
|
-
let { autoSizeLabels: tn } = Ae({
|
|
243
|
-
svgRef: V,
|
|
244
|
-
fontSize: () => P.value.fontSize,
|
|
245
|
-
minFontSize: () => P.value.minFontSize,
|
|
246
|
-
labelClass: ".vue-ui-onion-label"
|
|
247
|
-
}), K = null, nn = null, rn = 0;
|
|
248
|
-
function an() {
|
|
249
|
-
K !== null && (cancelAnimationFrame(K), K = null), nn !== null && (clearTimeout(nn), nn = null);
|
|
250
|
-
}
|
|
251
|
-
function on(e) {
|
|
252
|
-
return String(e).split(",").map((e) => {
|
|
253
|
-
let t = e.trim(), n = Number.parseFloat(t);
|
|
254
|
-
return Number.isFinite(n) ? t.endsWith("ms") ? n : n * 1e3 : 0;
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
function sn() {
|
|
258
|
-
return typeof window > "u" || !R.value || Ft.value || B.value || !V.value ? 0 : Array.from(V.value.querySelectorAll(".vue-ui-onion-label.vue-data-ui-transition")).reduce((e, t) => {
|
|
259
|
-
let n = window.getComputedStyle(t);
|
|
260
|
-
if (n.transitionProperty === "none") return e;
|
|
261
|
-
let r = on(n.transitionDuration), i = on(n.transitionDelay), a = Math.max(r.length, i.length), o = Array.from({ length: a }, (e, t) => (r[t % r.length] ?? 0) + (i[t % i.length] ?? 0)).reduce((e, t) => Math.max(e, t), 0);
|
|
262
|
-
return Math.max(e, o);
|
|
263
|
-
}, 0);
|
|
264
|
-
}
|
|
265
|
-
function cn() {
|
|
266
|
-
typeof window < "u" && (K = requestAnimationFrame(() => {
|
|
267
|
-
K = null, tn();
|
|
268
|
-
}));
|
|
269
|
-
}
|
|
270
|
-
function ln() {
|
|
271
|
-
if (typeof window > "u") return;
|
|
272
|
-
let e = ++rn;
|
|
273
|
-
an(), Le(() => {
|
|
274
|
-
e === rn && (K = requestAnimationFrame(() => {
|
|
275
|
-
if (K = null, e !== rn) return;
|
|
276
|
-
let t = sn();
|
|
277
|
-
if (t <= 0) {
|
|
278
|
-
cn();
|
|
279
|
-
return;
|
|
280
|
-
}
|
|
281
|
-
nn = setTimeout(() => {
|
|
282
|
-
nn = null, e === rn && cn();
|
|
283
|
-
}, t + 34);
|
|
284
|
-
}));
|
|
285
|
-
});
|
|
286
|
-
}
|
|
287
|
-
let un = l(() => M.value.debug), dn = null;
|
|
288
|
-
function fn() {
|
|
289
|
-
if (a(T.dataset) && (te({
|
|
290
|
-
componentName: "VueUiOnion",
|
|
291
|
-
type: "dataset",
|
|
292
|
-
debug: un.value
|
|
293
|
-
}), Ht.value = !0), a(T.dataset) || (Ht.value = M.value.loading), M.value.responsive) {
|
|
294
|
-
let e = 64 / 512, t = Se(() => {
|
|
295
|
-
dn && clearTimeout(dn), Ft.value = !0;
|
|
296
|
-
let { width: t, height: n } = Ce({
|
|
297
|
-
chart: k.value,
|
|
298
|
-
title: L.value.title.text ? Ot.value : null,
|
|
299
|
-
legend: L.value.legend.show ? kt.value : null,
|
|
300
|
-
source: At.value,
|
|
301
|
-
noTitle: jt.value
|
|
302
|
-
});
|
|
303
|
-
n -= 12, requestAnimationFrame(async () => {
|
|
304
|
-
U.value.width = t, U.value.height = n, U.value.padding.top = Math.max(t, n) * e, U.value.padding.right = Math.max(t, n) * e, U.value.padding.bottom = Math.max(t, n) * e, U.value.padding.left = Math.max(t, n) * e, U.value.minRadius = Math.min(t, n) * e, dn = setTimeout(() => {
|
|
305
|
-
Ft.value = !1, ln();
|
|
306
|
-
}, 0);
|
|
307
|
-
});
|
|
308
|
-
});
|
|
309
|
-
W.value && (G.value && W.value.unobserve(G.value), W.value.disconnect()), W.value = new ResizeObserver(t), G.value = k.value.parentNode, W.value.observe(G.value);
|
|
310
|
-
}
|
|
311
|
-
ln();
|
|
312
|
-
}
|
|
313
|
-
Re(() => {
|
|
314
|
-
rn += 1, an(), W.value && (G.value && W.value.unobserve(G.value), W.value.disconnect());
|
|
315
|
-
});
|
|
316
|
-
let q = l(() => ({
|
|
317
|
-
top: U.value.padding.top,
|
|
318
|
-
left: U.value.padding.left,
|
|
319
|
-
right: U.value.width - U.value.padding.right,
|
|
320
|
-
bottom: U.value.height - U.value.padding.bottom,
|
|
321
|
-
centerX: U.value.width / 2,
|
|
322
|
-
centerY: U.value.height / 2,
|
|
323
|
-
width: U.value.width - U.value.padding.right - U.value.padding.left,
|
|
324
|
-
height: U.value.height - U.value.padding.bottom - U.value.padding.top,
|
|
325
|
-
minRadius: U.value.minRadius,
|
|
326
|
-
maxRadius: Math.min(U.value.width, U.value.height) - U.value.padding.top * 2
|
|
327
|
-
})), J = l(() => (un.value && Vt.value.forEach((e, t) => {
|
|
328
|
-
[null, void 0].includes(e.name) && te({
|
|
329
|
-
componentName: "VueUiOnion",
|
|
330
|
-
type: "datasetSerieAttribute",
|
|
331
|
-
property: "name",
|
|
332
|
-
index: t
|
|
333
|
-
}), [void 0].includes(e.percentage) && te({
|
|
334
|
-
componentName: "VueUiOnion",
|
|
335
|
-
type: "datasetSerieAttribute",
|
|
336
|
-
property: "percentage",
|
|
337
|
-
index: t
|
|
338
|
-
});
|
|
339
|
-
}), Vt.value.map((e, t) => {
|
|
340
|
-
let n = `onion_serie_${t}_${E.value}`;
|
|
341
|
-
return {
|
|
342
|
-
...e,
|
|
343
|
-
percentage: e.percentage || 0,
|
|
344
|
-
targetPercentage: e.percentage || 0,
|
|
345
|
-
color: o(e.color) || en.value[t] || s[t],
|
|
346
|
-
id: n,
|
|
347
|
-
shape: "circle",
|
|
348
|
-
opacity: O.value.includes(n) ? .5 : 1,
|
|
349
|
-
absoluteIndex: t,
|
|
350
|
-
segregate: () => Tn(n),
|
|
351
|
-
isSegregated: O.value.includes(n)
|
|
352
|
-
};
|
|
353
|
-
}))), pn = l(() => J.value.map((e, n) => {
|
|
354
|
-
let r = L.value.legend.showValue, i = L.value.legend.showPercentage, a = Fn({
|
|
355
|
-
showVal: r,
|
|
356
|
-
showPercentage: i,
|
|
357
|
-
val: ie(P.value.value.formatter, e.value, t({
|
|
358
|
-
p: e.prefix || "",
|
|
359
|
-
v: e.value,
|
|
360
|
-
s: e.suffix || "",
|
|
361
|
-
r: L.value.legend.roundingValue
|
|
362
|
-
})),
|
|
363
|
-
percentage: t({
|
|
364
|
-
v: e.percentage ?? 0,
|
|
365
|
-
s: "%",
|
|
366
|
-
r: L.value.legend.roundingPercentage
|
|
367
|
-
}),
|
|
368
|
-
config: L.value.legend
|
|
369
|
-
});
|
|
370
|
-
return {
|
|
371
|
-
...e,
|
|
372
|
-
display: `${e.name}${r || i ? ": " : ""}${a}`
|
|
373
|
-
};
|
|
374
|
-
})), mn = b(J.value), hn = l(() => M.value.useStartAnimation), gn = b(null), _n = l(() => Math.max(...J.value.map((e) => e.percentage))), vn = b(!1);
|
|
375
|
-
C(() => J.value, yn, {
|
|
376
|
-
immediate: !0,
|
|
377
|
-
deep: !0
|
|
378
|
-
}), C(() => T.dataset, (e) => {
|
|
379
|
-
Array.isArray(e) && e.length > 0 && (Ht.value = !1), ln();
|
|
380
|
-
}, {
|
|
381
|
-
deep: !0,
|
|
382
|
-
flush: "post"
|
|
383
|
-
});
|
|
384
|
-
function yn() {
|
|
385
|
-
if (hn.value && !vn.value && !B.value) {
|
|
386
|
-
mn.value = J.value.map((e) => ({
|
|
387
|
-
...e,
|
|
388
|
-
percentage: 0
|
|
389
|
-
}));
|
|
390
|
-
let e = 0;
|
|
391
|
-
function t() {
|
|
392
|
-
e >= _n.value ? (cancelAnimationFrame(gn.value), mn.value = J.value, vn.value = !0) : (mn.value = J.value.map((t) => ({
|
|
393
|
-
...t,
|
|
394
|
-
percentage: e < t.targetPercentage ? e : t.targetPercentage
|
|
395
|
-
})), e += 1, requestAnimationFrame(t), vn.value = !0);
|
|
396
|
-
}
|
|
397
|
-
t();
|
|
398
|
-
} else mn.value = J.value;
|
|
399
|
-
}
|
|
400
|
-
let bn = l(() => ({
|
|
401
|
-
cy: "onion-div-legend",
|
|
402
|
-
backgroundColor: L.value.legend.backgroundColor,
|
|
403
|
-
color: L.value.legend.color,
|
|
404
|
-
fontSize: L.value.legend.fontSize,
|
|
405
|
-
paddingBottom: 12,
|
|
406
|
-
fontWeight: L.value.legend.bold ? "bold" : ""
|
|
407
|
-
})), xn = l(() => J.value.filter((e) => !O.value.includes(e.id)).length), Y = l(() => {
|
|
408
|
-
let e = Math.min(q.value.width, q.value.height) / 2 / J.value.length;
|
|
409
|
-
return {
|
|
410
|
-
gutter: (e > F.value.maxThickness ? F.value.maxThickness : e) * F.value.gutter.width,
|
|
411
|
-
track: (e > F.value.maxThickness ? F.value.maxThickness : e) * F.value.track.width
|
|
412
|
-
};
|
|
413
|
-
}), X = l(() => mn.value.filter((e) => !O.value.includes(e.id)).map((e, t) => {
|
|
414
|
-
let n = (q.value.maxRadius - Y.value.track) / xn.value / 2 * (1 + t), r = q.value.centerY - n;
|
|
415
|
-
return {
|
|
416
|
-
percentage: e.percentage || 0,
|
|
417
|
-
...e,
|
|
418
|
-
labelY: r,
|
|
419
|
-
radius: n,
|
|
420
|
-
path: Sn(n, e.percentage || 0)
|
|
421
|
-
};
|
|
422
|
-
}));
|
|
423
|
-
function Sn(e, t) {
|
|
424
|
-
let n = 2 * Math.PI * e, r = n * .75, i = `${r} ${n}`, a = r * (1 - t / 100);
|
|
425
|
-
return {
|
|
426
|
-
bgDashArray: `${r} ${n}`,
|
|
427
|
-
bgDashOffset: 0,
|
|
428
|
-
dashArray: i,
|
|
429
|
-
dashOffset: a,
|
|
430
|
-
fullOffset: 0,
|
|
431
|
-
active: `
|
|
432
|
-
M ${q.value.centerX},${q.value.centerY - e}
|
|
433
|
-
A ${e},${e} 0 1 1
|
|
434
|
-
${q.value.centerX + e * Math.cos(Math.PI * 3 / 4)},${q.value.centerY + e * Math.sin(Math.PI * 3 / 4)}
|
|
435
|
-
`.trim()
|
|
436
|
-
};
|
|
437
|
-
}
|
|
438
|
-
let Cn = Ge;
|
|
439
|
-
function wn() {
|
|
440
|
-
O.value.length ? O.value = [] : pn.value.forEach((e) => {
|
|
441
|
-
O.value.push(e.id);
|
|
442
|
-
}), ln(), Cn("selectLegend", X.value);
|
|
443
|
-
}
|
|
444
|
-
function Tn(e) {
|
|
445
|
-
if (O.value.includes(e)) O.value = O.value.filter((t) => t !== e);
|
|
446
|
-
else {
|
|
447
|
-
if (O.value.length === J.value.length - 1) return;
|
|
448
|
-
O.value.push(e);
|
|
449
|
-
}
|
|
450
|
-
ln(), Cn("selectLegend", X.value);
|
|
451
|
-
}
|
|
452
|
-
function En(e) {
|
|
453
|
-
return J.value.length ? J.value.find((t) => t.name === e) || (un.value && console.warn(`VueUiOnion - Series name not found "${e}"`), null) : (un.value && console.warn("VueUiOnion - There are no series to show."), null);
|
|
454
|
-
}
|
|
455
|
-
function Dn(e) {
|
|
456
|
-
let t = En(e);
|
|
457
|
-
t !== null && O.value.includes(t.id) && Tn(t.id);
|
|
458
|
-
}
|
|
459
|
-
function On(e) {
|
|
460
|
-
let t = En(e);
|
|
461
|
-
t !== null && (O.value.includes(t.id) || Tn(t.id));
|
|
462
|
-
}
|
|
463
|
-
function kn() {
|
|
464
|
-
return X.value;
|
|
465
|
-
}
|
|
466
|
-
let An = l(() => ({
|
|
467
|
-
head: [
|
|
468
|
-
M.value.table.translations.serie,
|
|
469
|
-
M.value.table.translations.percentage,
|
|
470
|
-
M.value.table.translations.value
|
|
471
|
-
],
|
|
472
|
-
body: X.value.map((e) => [
|
|
473
|
-
e.name,
|
|
474
|
-
e.percentage,
|
|
475
|
-
e.value
|
|
476
|
-
])
|
|
477
|
-
})), Z = l(() => {
|
|
478
|
-
let e = An.value.head;
|
|
479
|
-
return {
|
|
480
|
-
head: e,
|
|
481
|
-
body: X.value.map((e) => [
|
|
482
|
-
`<span style="color:${e.color}" aria-hidden="true">⬤</span> ${e.name}`,
|
|
483
|
-
`${Number(e.percentage ?? 0).toFixed(M.value.table.td.roundingPercentage).toLocaleString()}%`,
|
|
484
|
-
`${e.prefix || ""}${[
|
|
485
|
-
null,
|
|
486
|
-
void 0,
|
|
487
|
-
NaN,
|
|
488
|
-
"NaN"
|
|
489
|
-
].includes(e.value) ? "-" : e.value.toFixed(M.value.table.td.roundingValue).toLocaleString()}${e.suffix || ""}`
|
|
490
|
-
]),
|
|
491
|
-
config: {
|
|
492
|
-
th: {
|
|
493
|
-
backgroundColor: M.value.table.th.backgroundColor,
|
|
494
|
-
color: M.value.table.th.color,
|
|
495
|
-
outline: M.value.table.th.outline
|
|
496
|
-
},
|
|
497
|
-
td: {
|
|
498
|
-
backgroundColor: M.value.table.td.backgroundColor,
|
|
499
|
-
color: M.value.table.td.color,
|
|
500
|
-
outline: M.value.table.td.outline
|
|
501
|
-
},
|
|
502
|
-
breakpoint: M.value.table.responsiveBreakpoint
|
|
503
|
-
},
|
|
504
|
-
colNames: e
|
|
505
|
-
};
|
|
506
|
-
});
|
|
507
|
-
function jn(e = null) {
|
|
508
|
-
Le(() => {
|
|
509
|
-
let t = [
|
|
510
|
-
[L.value.title.text],
|
|
511
|
-
[L.value.title.subtitle.text],
|
|
512
|
-
[""]
|
|
513
|
-
], n = An.value.head, i = An.value.body, a = t.concat([n]).concat(i), o = r(a);
|
|
514
|
-
e ? e(o) : ae({
|
|
515
|
-
csvContent: o,
|
|
516
|
-
title: L.value.title.text || "vue-ui-onion"
|
|
517
|
-
});
|
|
518
|
-
});
|
|
519
|
-
}
|
|
520
|
-
let Q = b(void 0), $ = b(!1);
|
|
521
|
-
function Mn(e) {
|
|
522
|
-
$.value = e, Et.value += 1;
|
|
523
|
-
}
|
|
524
|
-
function Nn({ datapoint: e }) {
|
|
525
|
-
M.value.events.datapointClick && M.value.events.datapointClick({
|
|
526
|
-
datapoint: e,
|
|
527
|
-
seriesIndex: e.absoluteIndex
|
|
528
|
-
});
|
|
529
|
-
}
|
|
530
|
-
function Pn({ datapoint: e }) {
|
|
531
|
-
Q.value = void 0, D.value = !1, A.value = null, j.value = "pointer", M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
532
|
-
datapoint: e,
|
|
533
|
-
seriesIndex: e.absoluteIndex
|
|
534
|
-
});
|
|
535
|
-
}
|
|
536
|
-
function Fn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
|
|
537
|
-
return Oe({
|
|
538
|
-
config: i,
|
|
539
|
-
val: e,
|
|
540
|
-
percentage: t,
|
|
541
|
-
showVal: n,
|
|
542
|
-
showPercentage: r
|
|
543
|
-
});
|
|
544
|
-
}
|
|
545
|
-
function In(e, n) {
|
|
546
|
-
let r = P.value.value.show, i = P.value.percentage.show, a = Fn({
|
|
547
|
-
config: P.value,
|
|
548
|
-
showVal: r,
|
|
549
|
-
showPercentage: i,
|
|
550
|
-
val: ie(P.value.value.formatter, e.value, t({
|
|
551
|
-
p: e.prefix || "",
|
|
552
|
-
v: e.value || 0,
|
|
553
|
-
s: e.suffix || "",
|
|
554
|
-
r: P.value.roundingValue
|
|
555
|
-
}), {
|
|
556
|
-
datapoint: e,
|
|
557
|
-
seriesIndex: n
|
|
558
|
-
}),
|
|
559
|
-
percentage: t({
|
|
560
|
-
v: e.percentage,
|
|
561
|
-
s: "%",
|
|
562
|
-
r: P.value.roundingPercentage
|
|
563
|
-
})
|
|
564
|
-
});
|
|
565
|
-
return `${e.name}${r || i ? ": " : ""}${a}`;
|
|
566
|
-
}
|
|
567
|
-
let Ln = b(null);
|
|
568
|
-
function Rn({ datapoint: e, seriesIndex: n, show: r = !0, triggerMode: a = "pointer" }) {
|
|
569
|
-
M.value.events.datapointEnter && M.value.events.datapointEnter({
|
|
570
|
-
datapoint: e,
|
|
571
|
-
seriesIndex: e.absoluteIndex
|
|
572
|
-
}), j.value = a, A.value = n;
|
|
573
|
-
let o = e.absoluteIndex;
|
|
574
|
-
Q.value = n, Ln.value = {
|
|
575
|
-
datapoint: e,
|
|
576
|
-
seriesIndex: o,
|
|
577
|
-
series: J.value,
|
|
578
|
-
config: M.value
|
|
579
|
-
}, D.value = r;
|
|
580
|
-
let s = "", ee = I.value.customFormat;
|
|
581
|
-
if (i(ee) && re(() => ee({
|
|
582
|
-
seriesIndex: o,
|
|
583
|
-
datapoint: e,
|
|
584
|
-
series: J.value,
|
|
585
|
-
config: M.value
|
|
586
|
-
}))) Dt.value = ee({
|
|
587
|
-
seriesIndex: o,
|
|
588
|
-
datapoint: e,
|
|
589
|
-
series: J.value,
|
|
590
|
-
config: M.value
|
|
591
|
-
});
|
|
592
|
-
else {
|
|
593
|
-
let r = I.value.showPercentage, i = I.value.showValue;
|
|
594
|
-
s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${e.color}"/></svg>`, s += `<b>${Fn({
|
|
595
|
-
config: I.value,
|
|
596
|
-
showVal: i,
|
|
597
|
-
showPercentage: r,
|
|
598
|
-
val: `<span>${ie(P.value.value.formatter, e.value, t({
|
|
599
|
-
p: e.prefix || "",
|
|
600
|
-
v: e.value,
|
|
601
|
-
s: e.suffix || "",
|
|
602
|
-
r: I.value.roundingValue
|
|
603
|
-
}), {
|
|
604
|
-
datapoint: e,
|
|
605
|
-
seriesIndex: n
|
|
606
|
-
})}</span>`,
|
|
607
|
-
percentage: t({
|
|
608
|
-
v: e.percentage,
|
|
609
|
-
s: "%",
|
|
610
|
-
r: I.value.roundingPercentage
|
|
611
|
-
})
|
|
612
|
-
})}</b></div>`, Dt.value = `<div>${s}</div>`;
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
function zn() {
|
|
616
|
-
H.value.showTable = !H.value.showTable;
|
|
617
|
-
}
|
|
618
|
-
function Bn() {
|
|
619
|
-
H.value.showTooltip = !H.value.showTooltip;
|
|
620
|
-
}
|
|
621
|
-
let Vn = b(!1);
|
|
622
|
-
function Hn() {
|
|
623
|
-
Vn.value = !Vn.value;
|
|
624
|
-
}
|
|
625
|
-
async function Un({ scale: e = 2 } = {}) {
|
|
626
|
-
if (!k.value) return;
|
|
627
|
-
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
|
|
628
|
-
domElement: k.value,
|
|
629
|
-
base64: !0,
|
|
630
|
-
img: !0,
|
|
631
|
-
scale: e
|
|
632
|
-
});
|
|
633
|
-
return {
|
|
634
|
-
imageUri: i,
|
|
635
|
-
base64: a,
|
|
636
|
-
title: L.value.title.text,
|
|
637
|
-
width: t,
|
|
638
|
-
height: n,
|
|
639
|
-
aspectRatio: r
|
|
640
|
-
};
|
|
641
|
-
}
|
|
642
|
-
let Wn = l(() => {
|
|
643
|
-
let e = M.value.table.useDialog && !M.value.table.show, t = H.value.showTable;
|
|
644
|
-
return {
|
|
645
|
-
component: e ? bt : ht,
|
|
646
|
-
title: `${L.value.title.text}${L.value.title.subtitle.text ? `: ${L.value.title.subtitle.text}` : ""}`,
|
|
647
|
-
props: e ? {
|
|
648
|
-
backgroundColor: M.value.table.th.backgroundColor,
|
|
649
|
-
color: M.value.table.th.color,
|
|
650
|
-
headerColor: M.value.table.th.color,
|
|
651
|
-
headerBg: M.value.table.th.backgroundColor,
|
|
652
|
-
isFullscreen: $.value,
|
|
653
|
-
fullscreenParent: k.value,
|
|
654
|
-
forcedWidth: Math.min(600, window.innerWidth * .8),
|
|
655
|
-
isCursorPointer: z.value
|
|
656
|
-
} : {
|
|
657
|
-
hideDetails: !0,
|
|
658
|
-
config: {
|
|
659
|
-
open: t,
|
|
660
|
-
maxHeight: 1e4,
|
|
661
|
-
body: {
|
|
662
|
-
backgroundColor: L.value.backgroundColor,
|
|
663
|
-
color: L.value.color
|
|
664
|
-
},
|
|
665
|
-
head: {
|
|
666
|
-
backgroundColor: L.value.backgroundColor,
|
|
667
|
-
color: L.value.color
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
};
|
|
672
|
-
});
|
|
673
|
-
C(() => H.value.showTable, (e) => {
|
|
674
|
-
M.value.table.show || (e && M.value.table.useDialog && Lt.value ? Lt.value.open() : "close" in Lt.value && Lt.value.close());
|
|
675
|
-
});
|
|
676
|
-
let Gn = l(() => pn.value.map((e) => ({
|
|
677
|
-
...e,
|
|
678
|
-
name: e.display
|
|
679
|
-
}))), Kn = l(() => L.value.backgroundColor), qn = l(() => L.value.legend), Jn = l(() => L.value.title), { isCallbackImaging: Yn, isCallbackSvg: Xn, generateSvg: Zn, onGenerateImage: Qn } = _e({
|
|
680
|
-
svg: V,
|
|
681
|
-
title: Jn,
|
|
682
|
-
legend: qn,
|
|
683
|
-
legendItems: Gn,
|
|
684
|
-
backgroundColor: Kn,
|
|
685
|
-
getSvgCallback: () => M.value.userOptions.callbacks.svg,
|
|
686
|
-
generateImage: Qt
|
|
687
|
-
});
|
|
688
|
-
async function $n() {
|
|
689
|
-
if (Cn("copyAlt", {
|
|
690
|
-
config: M.value,
|
|
691
|
-
dataset: X.value
|
|
692
|
-
}), !M.value.userOptions.callbacks.altCopy) {
|
|
693
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
694
|
-
return;
|
|
695
|
-
}
|
|
696
|
-
await Promise.resolve(M.value.userOptions.callbacks.altCopy({
|
|
697
|
-
config: M.value,
|
|
698
|
-
dataset: X.value
|
|
699
|
-
}));
|
|
700
|
-
}
|
|
701
|
-
function er() {
|
|
702
|
-
A.value = null, zt.value = !0;
|
|
703
|
-
}
|
|
704
|
-
function tr() {
|
|
705
|
-
A.value = null, j.value = "pointer", D.value = !1, Q.value = void 0, zt.value = !1;
|
|
706
|
-
}
|
|
707
|
-
function nr(e) {
|
|
708
|
-
if (!V.value || Vn.value || document.activeElement !== V.value || !X.value.length) return;
|
|
709
|
-
let t = ["ArrowLeft", "ArrowDown"].includes(e.key), n = ["ArrowRight", "ArrowUp"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
710
|
-
if (!t && !n && !r && !i) return;
|
|
711
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
712
|
-
A.value = null, j.value = "pointer", D.value = !1, Q.value = void 0;
|
|
713
|
-
return;
|
|
714
|
-
}
|
|
715
|
-
if (r) {
|
|
716
|
-
if (A.value === null) return;
|
|
717
|
-
let e = X.value[A.value];
|
|
718
|
-
if (!e) return;
|
|
719
|
-
Nn({ datapoint: e });
|
|
720
|
-
return;
|
|
721
|
-
}
|
|
722
|
-
let a = A.value;
|
|
723
|
-
a === null || a < 0 || a >= X.value.length ? a = n ? 0 : X.value.length - 1 : n ? (a += 1, a >= X.value.length && (a = 0)) : t && (--a, a < 0 && (a = X.value.length - 1));
|
|
724
|
-
let o = X.value[a];
|
|
725
|
-
o && (rr(a), Rn({
|
|
726
|
-
datapoint: o,
|
|
727
|
-
seriesIndex: a,
|
|
728
|
-
show: !0,
|
|
729
|
-
triggerMode: "keyboard"
|
|
730
|
-
}));
|
|
731
|
-
}
|
|
732
|
-
function rr(e) {
|
|
733
|
-
if (!Number.isFinite(e) || !V.value) return;
|
|
734
|
-
let t = X.value[e];
|
|
735
|
-
if (!t) return;
|
|
736
|
-
let n = t.radius, r = Math.PI * 7 / 4, i = q.value.centerX + n * Math.cos(r), a = q.value.centerY + n * Math.sin(r), o = V.value.getBoundingClientRect();
|
|
737
|
-
Rt.value = {
|
|
738
|
-
x: o.left + i / U.value.width * o.width,
|
|
739
|
-
y: o.top + a / U.value.height * o.height
|
|
740
|
-
};
|
|
741
|
-
}
|
|
742
|
-
let ir = l(() => ({
|
|
743
|
-
headers: Z.value?.colNames ?? [],
|
|
744
|
-
rows: Z.value?.body ?? []
|
|
745
|
-
}));
|
|
746
|
-
return xe({
|
|
747
|
-
getData: kn,
|
|
748
|
-
getImage: Un,
|
|
749
|
-
generatePdf: Zt,
|
|
750
|
-
generateCsv: jn,
|
|
751
|
-
generateImage: Qt,
|
|
752
|
-
generateSvg: Zn,
|
|
753
|
-
hideSeries: On,
|
|
754
|
-
showSeries: Dn,
|
|
755
|
-
toggleTable: zn,
|
|
756
|
-
toggleTooltip: Bn,
|
|
757
|
-
toggleAnnotator: Hn,
|
|
758
|
-
toggleFullscreen: Mn,
|
|
759
|
-
copyAlt: $n
|
|
760
|
-
}), (e, t) => (y(), f("div", {
|
|
761
|
-
class: g(`vue-data-ui-component vue-ui-onion ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
762
|
-
ref_key: "onionChart",
|
|
763
|
-
ref: k,
|
|
764
|
-
id: `vue-ui-onion_${E.value}`,
|
|
765
|
-
style: v(`font-family:${M.value.style.fontFamily};width:100%; ${M.value.responsive ? "height: 100%;" : ""} text-align:center;background:${L.value.backgroundColor}`),
|
|
766
|
-
onMouseenter: t[4] ||= () => S(Wt)(!0),
|
|
767
|
-
onMouseleave: t[5] ||= () => S(Wt)(!1)
|
|
768
|
-
}, [
|
|
769
|
-
p("div", {
|
|
770
|
-
id: `chart-instructions-${E.value}`,
|
|
771
|
-
class: "sr-only"
|
|
772
|
-
}, [p("p", null, Ue(M.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
|
|
773
|
-
ir.value?.rows?.length ? (y(), u(Te, {
|
|
774
|
-
key: 0,
|
|
775
|
-
uid: E.value,
|
|
776
|
-
head: ir.value.headers,
|
|
777
|
-
body: ir.value.rows,
|
|
778
|
-
notice: M.value.a11y.translations.tableAvailable,
|
|
779
|
-
caption: M.value.a11y.translations.tableCaption
|
|
780
|
-
}, null, 8, [
|
|
781
|
-
"uid",
|
|
782
|
-
"head",
|
|
783
|
-
"body",
|
|
784
|
-
"notice",
|
|
785
|
-
"caption"
|
|
786
|
-
])) : d("", !0),
|
|
787
|
-
N.value.buttons.annotator ? (y(), u(S(vt), {
|
|
788
|
-
key: 1,
|
|
789
|
-
svgRef: S(V),
|
|
790
|
-
backgroundColor: L.value.backgroundColor,
|
|
791
|
-
color: L.value.color,
|
|
792
|
-
active: Vn.value,
|
|
793
|
-
isCursorPointer: z.value,
|
|
794
|
-
palette: N.value.annotatorPalette,
|
|
795
|
-
onClose: Hn
|
|
796
|
-
}, {
|
|
797
|
-
"annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
798
|
-
"annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
|
|
799
|
-
"annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
|
|
800
|
-
"annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
|
|
801
|
-
"annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
|
|
802
|
-
"annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
|
|
803
|
-
_: 3
|
|
804
|
-
}, 8, [
|
|
805
|
-
"svgRef",
|
|
806
|
-
"backgroundColor",
|
|
807
|
-
"color",
|
|
808
|
-
"active",
|
|
809
|
-
"isCursorPointer",
|
|
810
|
-
"palette"
|
|
811
|
-
])) : d("", !0),
|
|
812
|
-
$t.value ? (y(), f("div", {
|
|
813
|
-
key: 2,
|
|
814
|
-
ref_key: "noTitle",
|
|
815
|
-
ref: jt,
|
|
816
|
-
class: "vue-data-ui-no-title-space",
|
|
817
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
818
|
-
}, null, 512)) : d("", !0),
|
|
819
|
-
L.value.title.text ? (y(), f("div", {
|
|
820
|
-
key: 3,
|
|
821
|
-
ref_key: "chartTitle",
|
|
822
|
-
ref: Ot,
|
|
823
|
-
style: "width:100%;background:transparent"
|
|
824
|
-
}, [(y(), u(be, {
|
|
825
|
-
key: `title_${Mt.value}`,
|
|
826
|
-
config: {
|
|
827
|
-
title: {
|
|
828
|
-
cy: "onion-div-title",
|
|
829
|
-
...L.value.title
|
|
830
|
-
},
|
|
831
|
-
subtitle: {
|
|
832
|
-
cy: "onion-div-subtitle",
|
|
833
|
-
...L.value.title.subtitle
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
837
|
-
p("div", { id: `legend-top-${E.value}` }, null, 8, Je),
|
|
838
|
-
N.value.show && wt.value && (S(Gt) || S(Ut)) ? (y(), u(S(_t), {
|
|
839
|
-
ref_key: "details",
|
|
840
|
-
ref: Tt,
|
|
841
|
-
key: `user_options${Et.value}`,
|
|
842
|
-
backgroundColor: L.value.backgroundColor,
|
|
843
|
-
color: L.value.color,
|
|
844
|
-
isImaging: S(Xt),
|
|
845
|
-
isPrinting: S(Yt),
|
|
846
|
-
uid: E.value,
|
|
847
|
-
hasTooltip: N.value.buttons.tooltip && I.value.show,
|
|
848
|
-
hasPdf: N.value.buttons.pdf,
|
|
849
|
-
hasImg: N.value.buttons.img,
|
|
850
|
-
hasSvg: N.value.buttons.svg,
|
|
851
|
-
hasXls: N.value.buttons.csv,
|
|
852
|
-
hasTable: N.value.buttons.table,
|
|
853
|
-
hasFullscreen: N.value.buttons.fullscreen,
|
|
854
|
-
hasAltCopy: N.value.buttons.altCopy,
|
|
855
|
-
isFullscreen: $.value,
|
|
856
|
-
isTooltip: H.value.showTooltip,
|
|
857
|
-
titles: { ...N.value.buttonTitles },
|
|
858
|
-
chartElement: k.value,
|
|
859
|
-
position: N.value.position,
|
|
860
|
-
hasAnnotator: N.value.buttons.annotator,
|
|
861
|
-
isAnnotation: Vn.value,
|
|
862
|
-
callbacks: N.value.callbacks,
|
|
863
|
-
printScale: N.value.print.scale,
|
|
864
|
-
tableDialog: M.value.table.useDialog,
|
|
865
|
-
isCursorPointer: z.value,
|
|
866
|
-
onToggleFullscreen: Mn,
|
|
867
|
-
onGeneratePdf: S(Zt),
|
|
868
|
-
onGenerateCsv: jn,
|
|
869
|
-
onGenerateImage: S(Qn),
|
|
870
|
-
onGenerateSvg: S(Zn),
|
|
871
|
-
onToggleTable: zn,
|
|
872
|
-
onToggleTooltip: Bn,
|
|
873
|
-
onToggleAnnotator: Hn,
|
|
874
|
-
onCopyAlt: $n,
|
|
875
|
-
style: v({ visibility: S(Gt) ? S(Ut) ? "visible" : "hidden" : "visible" })
|
|
876
|
-
}, Ne({ _: 2 }, [
|
|
877
|
-
e.$slots.menuIcon ? {
|
|
878
|
-
name: "menuIcon",
|
|
879
|
-
fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
|
|
880
|
-
isOpen: t,
|
|
881
|
-
color: n
|
|
882
|
-
})), void 0, !0)]),
|
|
883
|
-
key: "0"
|
|
884
|
-
} : void 0,
|
|
885
|
-
e.$slots.optionTooltip ? {
|
|
886
|
-
name: "optionTooltip",
|
|
887
|
-
fn: w(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
888
|
-
key: "1"
|
|
889
|
-
} : void 0,
|
|
890
|
-
e.$slots.optionPdf ? {
|
|
891
|
-
name: "optionPdf",
|
|
892
|
-
fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
893
|
-
key: "2"
|
|
894
|
-
} : void 0,
|
|
895
|
-
e.$slots.optionCsv ? {
|
|
896
|
-
name: "optionCsv",
|
|
897
|
-
fn: w(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
898
|
-
key: "3"
|
|
899
|
-
} : void 0,
|
|
900
|
-
e.$slots.optionImg ? {
|
|
901
|
-
name: "optionImg",
|
|
902
|
-
fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
903
|
-
key: "4"
|
|
904
|
-
} : void 0,
|
|
905
|
-
e.$slots.optionSvg ? {
|
|
906
|
-
name: "optionSvg",
|
|
907
|
-
fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
908
|
-
key: "5"
|
|
909
|
-
} : void 0,
|
|
910
|
-
e.$slots.optionTable ? {
|
|
911
|
-
name: "optionTable",
|
|
912
|
-
fn: w(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
913
|
-
key: "6"
|
|
914
|
-
} : void 0,
|
|
915
|
-
e.$slots.optionFullscreen ? {
|
|
916
|
-
name: "optionFullscreen",
|
|
917
|
-
fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
|
|
918
|
-
toggleFullscreen: t,
|
|
919
|
-
isFullscreen: n
|
|
920
|
-
})), void 0, !0)]),
|
|
921
|
-
key: "7"
|
|
922
|
-
} : void 0,
|
|
923
|
-
e.$slots.optionAnnotator ? {
|
|
924
|
-
name: "optionAnnotator",
|
|
925
|
-
fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
|
|
926
|
-
toggleAnnotator: t,
|
|
927
|
-
isAnnotator: n
|
|
928
|
-
})), void 0, !0)]),
|
|
929
|
-
key: "8"
|
|
930
|
-
} : void 0,
|
|
931
|
-
e.$slots.optionAltCopy ? {
|
|
932
|
-
name: "optionAltCopy",
|
|
933
|
-
fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
|
|
934
|
-
key: "9"
|
|
935
|
-
} : void 0,
|
|
936
|
-
e.$slots["custom-menu-before"] ? {
|
|
937
|
-
name: "custom-menu-before",
|
|
938
|
-
fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
939
|
-
key: "10"
|
|
940
|
-
} : void 0,
|
|
941
|
-
e.$slots["custom-menu-after"] ? {
|
|
942
|
-
name: "custom-menu-after",
|
|
943
|
-
fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
944
|
-
key: "11"
|
|
945
|
-
} : void 0
|
|
946
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : d("", !0),
|
|
947
|
-
p("div", Ye, [(y(), f("svg", {
|
|
948
|
-
ref_key: "svgRef",
|
|
949
|
-
ref: V,
|
|
950
|
-
xmlns: S(oe),
|
|
951
|
-
"aria-describedby": `chart-instructions-${E.value}`,
|
|
952
|
-
class: g({
|
|
953
|
-
"vue-data-ui-fullscreen--on": $.value,
|
|
954
|
-
"vue-data-ui-fulscreen--off": !$.value,
|
|
955
|
-
resizing: Ft.value,
|
|
956
|
-
"vue-data-ui-no-transition": !S(R) || Ft.value || S(B)
|
|
957
|
-
}),
|
|
958
|
-
viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
|
|
959
|
-
style: v(`max-width:100%;overflow:visible;background:transparent;color:${L.value.color}`),
|
|
960
|
-
tabindex: "0",
|
|
961
|
-
onFocus: er,
|
|
962
|
-
onBlur: tr,
|
|
963
|
-
onKeydown: nr
|
|
964
|
-
}, [
|
|
965
|
-
Fe(S(yt)),
|
|
966
|
-
e.$slots["chart-background"] ? (y(), f("foreignObject", {
|
|
967
|
-
key: 0,
|
|
968
|
-
x: 0,
|
|
969
|
-
y: 0,
|
|
970
|
-
width: U.value.width <= 0 ? 10 : U.value.width,
|
|
971
|
-
height: U.value.height <= 0 ? 10 : U.value.height,
|
|
972
|
-
style: { pointerEvents: "none" }
|
|
973
|
-
}, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : d("", !0),
|
|
974
|
-
(y(!0), f(c, null, Be(X.value, (e, t) => (y(), f("circle", {
|
|
975
|
-
cx: q.value.centerX,
|
|
976
|
-
cy: q.value.centerY,
|
|
977
|
-
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
978
|
-
stroke: F.value.gutter.color,
|
|
979
|
-
"stroke-width": Y.value.gutter,
|
|
980
|
-
fill: "none",
|
|
981
|
-
"stroke-dasharray": e.path.bgDashArray,
|
|
982
|
-
"stroke-dashoffset": e.path.fullOffset,
|
|
983
|
-
"stroke-linecap": "round",
|
|
984
|
-
class: g({
|
|
985
|
-
"vue-ui-onion-path": !0,
|
|
986
|
-
"vue-ui-onion-blur": M.value.useBlurOnHover && ![null, void 0].includes(Q.value) && Q.value !== t,
|
|
987
|
-
"vue-data-ui-transition": S(R)
|
|
988
|
-
}),
|
|
989
|
-
style: {
|
|
990
|
-
transform: "rotate(-90deg)",
|
|
991
|
-
transformOrigin: "50% 50%"
|
|
992
|
-
}
|
|
993
|
-
}, null, 10, Qe))), 256)),
|
|
994
|
-
(y(!0), f(c, null, Be(X.value, (e, t) => (y(), f("circle", {
|
|
995
|
-
cx: q.value.centerX,
|
|
996
|
-
cy: q.value.centerY,
|
|
997
|
-
r: e.radius < 0 ? 1e-4 : e.radius,
|
|
998
|
-
stroke: `${e.color}`,
|
|
999
|
-
"stroke-width": Y.value.track,
|
|
1000
|
-
fill: "none",
|
|
1001
|
-
"stroke-dasharray": e.path.dashArray,
|
|
1002
|
-
"stroke-dashoffset": e.path.dashOffset,
|
|
1003
|
-
class: g({
|
|
1004
|
-
"vue-ui-onion-path": !0,
|
|
1005
|
-
"vue-ui-onion-blur": M.value.useBlurOnHover && ![null, void 0].includes(Q.value) && Q.value !== t,
|
|
1006
|
-
"vue-data-ui-transition": S(R)
|
|
1007
|
-
}),
|
|
1008
|
-
"stroke-linecap": "round",
|
|
1009
|
-
style: {
|
|
1010
|
-
transform: "rotate(-90deg)",
|
|
1011
|
-
transformOrigin: "50% 50%"
|
|
1012
|
-
}
|
|
1013
|
-
}, null, 10, $e))), 256)),
|
|
1014
|
-
p("defs", null, [p("filter", {
|
|
1015
|
-
id: `blur_${E.value}`,
|
|
1016
|
-
x: "-50%",
|
|
1017
|
-
y: "-50%",
|
|
1018
|
-
width: "200%",
|
|
1019
|
-
height: "200%"
|
|
1020
|
-
}, [p("feGaussianBlur", {
|
|
1021
|
-
in: "SourceGraphic",
|
|
1022
|
-
stdDeviation: 100 / L.value.gradientIntensity
|
|
1023
|
-
}, null, 8, tt)], 8, et)]),
|
|
1024
|
-
L.value.useGradient ? (y(), f("g", {
|
|
1025
|
-
key: 1,
|
|
1026
|
-
filter: `url(#blur_${E.value})`
|
|
1027
|
-
}, [(y(!0), f(c, null, Be(X.value, (e, t) => (y(), f("circle", {
|
|
1028
|
-
cx: q.value.centerX,
|
|
1029
|
-
cy: q.value.centerY,
|
|
1030
|
-
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
1031
|
-
stroke: "white",
|
|
1032
|
-
"stroke-width": Y.value.track / 3,
|
|
1033
|
-
fill: "none",
|
|
1034
|
-
"stroke-linecap": "round",
|
|
1035
|
-
"stroke-dasharray": e.path.dashArray,
|
|
1036
|
-
"stroke-dashoffset": e.path.dashOffset,
|
|
1037
|
-
style: {
|
|
1038
|
-
transform: "rotate(-90deg)",
|
|
1039
|
-
transformOrigin: "50% 50%"
|
|
1040
|
-
},
|
|
1041
|
-
class: g({ "vue-data-ui-transition": S(R) })
|
|
1042
|
-
}, null, 10, rt))), 256))], 8, nt)) : d("", !0),
|
|
1043
|
-
(y(!0), f(c, null, Be(X.value, (e, t) => (y(), f("circle", {
|
|
1044
|
-
cx: q.value.centerX,
|
|
1045
|
-
cy: q.value.centerY,
|
|
1046
|
-
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
1047
|
-
stroke: "transparent",
|
|
1048
|
-
"stroke-width": Math.max(Y.value.track, Y.value.gutter),
|
|
1049
|
-
fill: "none",
|
|
1050
|
-
"stroke-dasharray": e.path.bgDashArray,
|
|
1051
|
-
"stroke-dashoffset": e.path.fullOffset,
|
|
1052
|
-
"stroke-linecap": "round",
|
|
1053
|
-
class: "vue-ui-onion-path",
|
|
1054
|
-
style: {
|
|
1055
|
-
transform: "rotate(-90deg)",
|
|
1056
|
-
transformOrigin: "50% 50%"
|
|
1057
|
-
},
|
|
1058
|
-
onMouseenter: (n) => Rn({
|
|
1059
|
-
datapoint: e,
|
|
1060
|
-
show: !0,
|
|
1061
|
-
seriesIndex: t,
|
|
1062
|
-
triggerMode: "pointer"
|
|
1063
|
-
}),
|
|
1064
|
-
onMouseleave: (t) => Pn({ datapoint: e }),
|
|
1065
|
-
onClick: (t) => Nn({ datapoint: e })
|
|
1066
|
-
}, null, 40, it))), 256)),
|
|
1067
|
-
P.value.show ? (y(), f("g", at, [(y(!0), f(c, null, Be(X.value, (e, t) => (y(), f("g", {
|
|
1068
|
-
key: `dl_${e.id}`,
|
|
1069
|
-
onMouseenter: (n) => Rn({
|
|
1070
|
-
datapoint: e,
|
|
1071
|
-
show: !0,
|
|
1072
|
-
seriesIndex: t,
|
|
1073
|
-
triggerMode: "pointer"
|
|
1074
|
-
}),
|
|
1075
|
-
onMouseleave: (t) => Pn({ datapoint: e }),
|
|
1076
|
-
onClick: (t) => Nn({ datapoint: e })
|
|
1077
|
-
}, [O.value.includes(e.id) ? d("", !0) : (y(), f("text", {
|
|
1078
|
-
key: 0,
|
|
1079
|
-
class: g(["vue-ui-onion-label", { "vue-data-ui-transition": S(R) }]),
|
|
1080
|
-
transform: `translate(${U.value.width / 2 - Y.value.gutter * .8 + P.value.offsetX},${e.labelY + P.value.offsetY})`,
|
|
1081
|
-
"text-anchor": "end",
|
|
1082
|
-
"font-size": P.value.fontSize,
|
|
1083
|
-
fill: M.value.useBlurOnHover && ![null, void 0].includes(Q.value) && Q.value === t ? e.color : P.value.color,
|
|
1084
|
-
"font-weight": P.value.bold ? "bold" : "normal"
|
|
1085
|
-
}, Ue(In(e, t)), 11, st))], 40, ot))), 128))])) : d("", !0),
|
|
1086
|
-
x(e.$slots, "svg", { svg: {
|
|
1087
|
-
...U.value,
|
|
1088
|
-
drawingArea: q.value,
|
|
1089
|
-
isPrintingImg: S(Yt) || S(Xt) || S(Yn),
|
|
1090
|
-
isPrintingSvg: S(Xn)
|
|
1091
|
-
} }, void 0, !0)
|
|
1092
|
-
], 46, Xe)), e.$slots.hint ? (y(), f("div", ct, [x(e.$slots, "hint", _(h({
|
|
1093
|
-
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1094
|
-
isVisible: zt.value
|
|
1095
|
-
})), void 0, !0)])) : d("", !0)]),
|
|
1096
|
-
e.$slots.watermark ? (y(), f("div", lt, [x(e.$slots, "watermark", _(h({ isPrinting: S(Yt) || S(Xt) || S(Yn) || S(Xn) })), void 0, !0)])) : d("", !0),
|
|
1097
|
-
p("div", { id: `legend-bottom-${E.value}` }, null, 8, ut),
|
|
1098
|
-
It.value && (L.value.legend.show || e.$slots.legend) ? (y(), u(Me, {
|
|
1099
|
-
key: 6,
|
|
1100
|
-
to: L.value.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
|
|
1101
|
-
}, [p("div", {
|
|
1102
|
-
ref_key: "chartLegend",
|
|
1103
|
-
ref: kt
|
|
1104
|
-
}, [x(e.$slots, "legend", { legend: pn.value }, () => [L.value.legend.show ? (y(), u(ke, {
|
|
1105
|
-
key: `legend_${Pt.value}`,
|
|
1106
|
-
legendSet: pn.value,
|
|
1107
|
-
config: bn.value,
|
|
1108
|
-
isCursorPointer: z.value,
|
|
1109
|
-
onClickMarker: t[0] ||= ({ legend: e }) => Tn(e.id)
|
|
1110
|
-
}, {
|
|
1111
|
-
item: w(({ legend: e }) => [S(B) ? d("", !0) : (y(), f("div", {
|
|
1112
|
-
key: 0,
|
|
1113
|
-
"data-cy-legend-item": "",
|
|
1114
|
-
onClick: (t) => e.segregate(),
|
|
1115
|
-
style: v(`opacity:${O.value.includes(e.id) ? .5 : 1}`)
|
|
1116
|
-
}, Ue(e.display), 13, dt))]),
|
|
1117
|
-
legendToggle: w(() => [pn.value.length > 2 && L.value.legend.selectAllToggle.show && !S(B) ? (y(), u(we, {
|
|
1118
|
-
key: 0,
|
|
1119
|
-
backgroundColor: L.value.legend.selectAllToggle.backgroundColor,
|
|
1120
|
-
color: L.value.legend.selectAllToggle.color,
|
|
1121
|
-
fontSize: L.value.legend.fontSize,
|
|
1122
|
-
checked: O.value.length > 0,
|
|
1123
|
-
isCursorPointer: z.value,
|
|
1124
|
-
onToggle: wn
|
|
1125
|
-
}, null, 8, [
|
|
1126
|
-
"backgroundColor",
|
|
1127
|
-
"color",
|
|
1128
|
-
"fontSize",
|
|
1129
|
-
"checked",
|
|
1130
|
-
"isCursorPointer"
|
|
1131
|
-
])) : d("", !0)]),
|
|
1132
|
-
_: 1
|
|
1133
|
-
}, 8, [
|
|
1134
|
-
"legendSet",
|
|
1135
|
-
"config",
|
|
1136
|
-
"isCursorPointer"
|
|
1137
|
-
])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
|
|
1138
|
-
e.$slots.source ? (y(), f("div", {
|
|
1139
|
-
key: 7,
|
|
1140
|
-
ref_key: "source",
|
|
1141
|
-
ref: At,
|
|
1142
|
-
dir: "auto"
|
|
1143
|
-
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
1144
|
-
Fe(S(pt), {
|
|
1145
|
-
teleportTo: I.value.teleportTo,
|
|
1146
|
-
show: H.value.showTooltip && D.value,
|
|
1147
|
-
backgroundColor: I.value.backgroundColor,
|
|
1148
|
-
color: I.value.color,
|
|
1149
|
-
borderRadius: I.value.borderRadius,
|
|
1150
|
-
borderColor: I.value.borderColor,
|
|
1151
|
-
borderWidth: I.value.borderWidth,
|
|
1152
|
-
fontSize: I.value.fontSize,
|
|
1153
|
-
backgroundOpacity: I.value.backgroundOpacity,
|
|
1154
|
-
position: I.value.position,
|
|
1155
|
-
offsetX: I.value.offsetX,
|
|
1156
|
-
offsetY: I.value.offsetY,
|
|
1157
|
-
parent: k.value,
|
|
1158
|
-
content: Dt.value,
|
|
1159
|
-
isFullscreen: $.value,
|
|
1160
|
-
isCustom: S(i)(I.value.customFormat),
|
|
1161
|
-
smooth: I.value.smooth,
|
|
1162
|
-
backdropFilter: I.value.backdropFilter,
|
|
1163
|
-
smoothForce: I.value.smoothForce,
|
|
1164
|
-
smoothSnapThreshold: I.value.smoothSnapThreshold,
|
|
1165
|
-
isA11yMode: j.value === "keyboard",
|
|
1166
|
-
a11yPosition: Rt.value
|
|
1167
|
-
}, {
|
|
1168
|
-
"tooltip-before": w(() => [x(e.$slots, "tooltip-before", _(h({ ...Ln.value })), void 0, !0)]),
|
|
1169
|
-
tooltip: w(() => [x(e.$slots, "tooltip", _(h({ ...Ln.value })), void 0, !0)]),
|
|
1170
|
-
"tooltip-after": w(() => [x(e.$slots, "tooltip-after", _(h({ ...Ln.value })), void 0, !0)]),
|
|
1171
|
-
_: 3
|
|
1172
|
-
}, 8, [
|
|
1173
|
-
"teleportTo",
|
|
1174
|
-
"show",
|
|
1175
|
-
"backgroundColor",
|
|
1176
|
-
"color",
|
|
1177
|
-
"borderRadius",
|
|
1178
|
-
"borderColor",
|
|
1179
|
-
"borderWidth",
|
|
1180
|
-
"fontSize",
|
|
1181
|
-
"backgroundOpacity",
|
|
1182
|
-
"position",
|
|
1183
|
-
"offsetX",
|
|
1184
|
-
"offsetY",
|
|
1185
|
-
"parent",
|
|
1186
|
-
"content",
|
|
1187
|
-
"isFullscreen",
|
|
1188
|
-
"isCustom",
|
|
1189
|
-
"smooth",
|
|
1190
|
-
"backdropFilter",
|
|
1191
|
-
"smoothForce",
|
|
1192
|
-
"smoothSnapThreshold",
|
|
1193
|
-
"isA11yMode",
|
|
1194
|
-
"a11yPosition"
|
|
1195
|
-
]),
|
|
1196
|
-
wt.value && N.value.buttons.table ? (y(), u(Ve(Wn.value.component), Ie({ key: 8 }, Wn.value.props, {
|
|
1197
|
-
ref_key: "tableUnit",
|
|
1198
|
-
ref: Lt,
|
|
1199
|
-
onClose: t[3] ||= (e) => H.value.showTable = !1
|
|
1200
|
-
}), Ne({
|
|
1201
|
-
content: w(() => [(y(), u(S(gt), {
|
|
1202
|
-
key: `table_${Nt.value}`,
|
|
1203
|
-
colNames: Z.value.colNames,
|
|
1204
|
-
head: Z.value.head,
|
|
1205
|
-
body: Z.value.body,
|
|
1206
|
-
config: Z.value.config,
|
|
1207
|
-
title: M.value.table.useDialog ? "" : Wn.value.title,
|
|
1208
|
-
withCloseButton: !M.value.table.useDialog,
|
|
1209
|
-
isCursorPointer: z.value,
|
|
1210
|
-
onClose: t[2] ||= (e) => H.value.showTable = !1
|
|
1211
|
-
}, {
|
|
1212
|
-
th: w(({ th: e }) => [Pe(Ue(e), 1)]),
|
|
1213
|
-
td: w(({ td: e }) => [p("div", { innerHTML: e }, null, 8, ft)]),
|
|
1214
|
-
_: 1
|
|
1215
|
-
}, 8, [
|
|
1216
|
-
"colNames",
|
|
1217
|
-
"head",
|
|
1218
|
-
"body",
|
|
1219
|
-
"config",
|
|
1220
|
-
"title",
|
|
1221
|
-
"withCloseButton",
|
|
1222
|
-
"isCursorPointer"
|
|
1223
|
-
]))]),
|
|
1224
|
-
_: 2
|
|
1225
|
-
}, [M.value.table.useDialog ? {
|
|
1226
|
-
name: "title",
|
|
1227
|
-
fn: w(() => [Pe(Ue(Wn.value.title), 1)]),
|
|
1228
|
-
key: "0"
|
|
1229
|
-
} : void 0, M.value.table.useDialog ? {
|
|
1230
|
-
name: "actions",
|
|
1231
|
-
fn: w(() => [p("button", {
|
|
1232
|
-
tabindex: "0",
|
|
1233
|
-
class: "vue-ui-user-options-button",
|
|
1234
|
-
onClick: t[1] ||= (e) => jn(N.value.callbacks.csv),
|
|
1235
|
-
style: v({ cursor: z.value ? "pointer" : "default" })
|
|
1236
|
-
}, [Fe(S(mt), {
|
|
1237
|
-
name: "fileCsv",
|
|
1238
|
-
stroke: Wn.value.props.color
|
|
1239
|
-
}, null, 8, ["stroke"])], 4)]),
|
|
1240
|
-
key: "1"
|
|
1241
|
-
} : void 0]), 1040)) : d("", !0),
|
|
1242
|
-
x(e.$slots, "skeleton", {}, () => [S(B) ? (y(), u(me, { key: 0 })) : d("", !0)], !0)
|
|
1243
|
-
], 46, Ke));
|
|
1244
|
-
}
|
|
1245
|
-
}, [["__scopeId", "data-v-bf80dd33"]]);
|
|
1246
|
-
//#endregion
|
|
1247
|
-
export { Ge as n, pt as t };
|