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,749 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, Pt as r, Rt as i, S as a, X as ee, at as te, en as o, i as s, nt as ne, r as re, t as ie, vt as ae } from "./lib-TWIH5fGr.js";
|
|
3
|
-
import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ce } from "./useConfig-DObkR9Aa.js";
|
|
5
|
-
import { t as le } from "./usePrinter-8Y1Rju0Y.js";
|
|
6
|
-
import { t as ue } from "./useNestedProp-BxOdWM0c.js";
|
|
7
|
-
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
-
import { t as fe } from "./useChartExport-iwOqiIWX.js";
|
|
9
|
-
import { t as pe } from "./img-KURaWjZI.js";
|
|
10
|
-
import { n as me } from "./Title-Bd98RysU.js";
|
|
11
|
-
import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
-
import { l as ge, t as _e } from "./useResponsive-ZtArZtUf.js";
|
|
13
|
-
import { t as ve } from "./DefGrad-DVBqDjhO.js";
|
|
14
|
-
import { t as ye } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
-
import { t as be } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
-
import { t as xe } from "./usePrefersMotion-BC-CsqR1.js";
|
|
17
|
-
import { t as Se } from "./vue_ui_funnel-_Og4EEkO.js";
|
|
18
|
-
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Ce, createTextVNode as we, createVNode as Te, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as g, nextTick as Ee, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as De, onMounted as Oe, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as ke, shallowRef as Ae, toDisplayString as w, unref as T, useCssVars as je, watch as Me, withCtx as E } from "vue";
|
|
19
|
-
//#region src/components/vue-ui-funnel.vue
|
|
20
|
-
var Ne = /* @__PURE__ */ e({ default: () => Ke }), Pe = ["id"], Fe = ["xmlns", "viewBox"], Ie = ["width", "height"], Le = ["stroke", "stroke-width"], Re = ["stroke", "stroke-width"], ze = [
|
|
21
|
-
"x",
|
|
22
|
-
"y",
|
|
23
|
-
"font-size",
|
|
24
|
-
"fill",
|
|
25
|
-
"font-weight"
|
|
26
|
-
], Be = ["points", "fill"], Ve = [
|
|
27
|
-
"stroke",
|
|
28
|
-
"stroke-width",
|
|
29
|
-
"rx"
|
|
30
|
-
], He = [
|
|
31
|
-
"x",
|
|
32
|
-
"y",
|
|
33
|
-
"font-size",
|
|
34
|
-
"fill",
|
|
35
|
-
"font-weight"
|
|
36
|
-
], Ue = [
|
|
37
|
-
"x",
|
|
38
|
-
"y",
|
|
39
|
-
"font-size",
|
|
40
|
-
"fill",
|
|
41
|
-
"font-weight"
|
|
42
|
-
], We = {
|
|
43
|
-
key: 5,
|
|
44
|
-
class: "vue-data-ui-watermark"
|
|
45
|
-
}, Ge = { style: {
|
|
46
|
-
display: "flex",
|
|
47
|
-
"align-items": "center"
|
|
48
|
-
} }, Ke = /*#__PURE__*/ he({
|
|
49
|
-
__name: "vue-ui-funnel",
|
|
50
|
-
props: {
|
|
51
|
-
config: {
|
|
52
|
-
type: Object,
|
|
53
|
-
default() {
|
|
54
|
-
return {};
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
dataset: {
|
|
58
|
-
type: Array,
|
|
59
|
-
default() {
|
|
60
|
-
return [];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
emits: ["copyAlt"],
|
|
65
|
-
setup(e, { expose: he, emit: Ne }) {
|
|
66
|
-
je((e) => ({ f4d91444: Ot.value }));
|
|
67
|
-
let Ke = m(() => import("./BaseIcon-CIK6Sqo3.js").then((e) => e.n)), qe = m(() => import("./vue-ui-skeleton-dyXWT6JX.js").then((e) => e.n)), Je = m(() => import("./vue-ui-accordion-AyyZDab3.js").then((e) => e.n)), Ye = m(() => import("./DataTable-B6LDCXBz.js")), Xe = m(() => import("./UserOptions-B_yBcZ1-.js").then((e) => e.n)), Ze = m(() => import("./PenAndPaper-C1EcBgJW.js").then((e) => e.t)), Qe = m(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), $e = m(() => import("./BaseDraggableDialog-BCFCiP_6.js").then((e) => e.n)), { vue_ui_funnel: et } = ce(), { isThemeValid: tt, warnInvalidTheme: nt } = de(), D = xe(), O = e, rt = Ne, k = x(null), A = x(ee()), it = x(0), at = x(0), ot = x(0), st = x(null), ct = x(null), lt = x(null), j = Ae(null), M = Ae(null), N = x(!1), P = x(null), ut = x(null), F = l(() => !!O.dataset && O.dataset.length);
|
|
68
|
-
Oe(pt), De(() => {
|
|
69
|
-
j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect());
|
|
70
|
-
});
|
|
71
|
-
function dt() {
|
|
72
|
-
let e = ue({
|
|
73
|
-
userConfig: O.config,
|
|
74
|
-
defaultConfig: et
|
|
75
|
-
}), t = e.theme;
|
|
76
|
-
if (!t) return e;
|
|
77
|
-
if (!tt.value(e)) return nt(e), e;
|
|
78
|
-
let n = ue({
|
|
79
|
-
userConfig: Se[t] || O.config,
|
|
80
|
-
defaultConfig: e
|
|
81
|
-
});
|
|
82
|
-
return ue({
|
|
83
|
-
userConfig: O.config,
|
|
84
|
-
defaultConfig: n
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
let I = l({
|
|
88
|
-
get: () => dt(),
|
|
89
|
-
set: (e) => e
|
|
90
|
-
}), ft = l(() => I.value.debug), L = l(() => I.value.style.chart.bars), R = l(() => I.value.style.chart.circles), z = l(() => I.value.style.chart);
|
|
91
|
-
function pt() {
|
|
92
|
-
if (i(O.dataset) ? te({
|
|
93
|
-
componentName: "VueUiFunnel",
|
|
94
|
-
type: "dataset",
|
|
95
|
-
debug: ft.value
|
|
96
|
-
}) : O.dataset.forEach((e, t) => {
|
|
97
|
-
ae({
|
|
98
|
-
datasetObject: e,
|
|
99
|
-
requiredAttributes: ["name", "value"]
|
|
100
|
-
}).forEach((e) => {
|
|
101
|
-
F.value = !1, te({
|
|
102
|
-
componentName: "VueUiFunnel",
|
|
103
|
-
type: "datasetSerieAttribute",
|
|
104
|
-
property: e,
|
|
105
|
-
index: t,
|
|
106
|
-
debug: ft.value
|
|
107
|
-
});
|
|
108
|
-
});
|
|
109
|
-
}), I.value.responsive) {
|
|
110
|
-
let e = ge(() => {
|
|
111
|
-
let { width: e, height: t } = _e({
|
|
112
|
-
chart: k.value,
|
|
113
|
-
title: z.value.title.text ? lt.value : null,
|
|
114
|
-
source: ct.value,
|
|
115
|
-
noTitle: st.value
|
|
116
|
-
});
|
|
117
|
-
requestAnimationFrame(() => {
|
|
118
|
-
U.value.height = t, U.value.width = e, G.value = Ct(), I.value.responsiveProportionalSizing ? (H.value.circles = o({
|
|
119
|
-
relator: Math.min(e, t),
|
|
120
|
-
adjuster: 600,
|
|
121
|
-
source: R.value.dataLabels.fontSize,
|
|
122
|
-
threshold: 10,
|
|
123
|
-
fallback: 10
|
|
124
|
-
}), H.value.names = o({
|
|
125
|
-
relator: Math.min(e, t),
|
|
126
|
-
adjuster: 600,
|
|
127
|
-
source: L.value.dataLabels.name.fontSize,
|
|
128
|
-
threshold: 10,
|
|
129
|
-
fallback: 10
|
|
130
|
-
}), H.value.values = o({
|
|
131
|
-
relator: Math.min(e, t),
|
|
132
|
-
adjuster: 600,
|
|
133
|
-
source: L.value.dataLabels.value.fontSize,
|
|
134
|
-
threshold: 10,
|
|
135
|
-
fallback: 10
|
|
136
|
-
})) : (H.value.circles = R.value.dataLabels.fontSize, H.value.names = L.value.dataLabels.name.fontSize, H.value.values = L.value.dataLabels.value.fontSize);
|
|
137
|
-
});
|
|
138
|
-
});
|
|
139
|
-
j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect()), j.value = new ResizeObserver(e), M.value = k.value.parentNode, j.value.observe(M.value);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
oe({
|
|
143
|
-
config: () => I.value,
|
|
144
|
-
dataset: () => O.dataset,
|
|
145
|
-
component: "VueUiFunnel",
|
|
146
|
-
rules: [se.emptyArray, {
|
|
147
|
-
test: (e) => e.length > 10,
|
|
148
|
-
message: [
|
|
149
|
-
"👀 The dataset has a length > 10. Consider:",
|
|
150
|
-
"",
|
|
151
|
-
"▶️ Aggregating some datapoints into broader categories"
|
|
152
|
-
]
|
|
153
|
-
}]
|
|
154
|
-
});
|
|
155
|
-
let mt = l(() => I.value.userOptions.useCursorPointer), { userOptionsVisible: ht, setUserOptionsVisibility: gt, keepUserOptionState: _t } = ye({ config: I.value }), { svgRef: vt } = be({ config: z.value.title });
|
|
156
|
-
Me(() => O.config, (e) => {
|
|
157
|
-
I.value = dt(), ht.value = !I.value.userOptions.showOnChartHover, pt(), at.value += 1, ot.value += 1, H.value.circles = R.value.dataLabels.fontSize, H.value.names = L.value.dataLabels.name.fontSize, H.value.values = L.value.dataLabels.value.fontSize, V.value.showTable = I.value.table.show;
|
|
158
|
-
}, { deep: !0 });
|
|
159
|
-
let { isPrinting: yt, isImaging: B, generatePdf: bt, generateImage: xt } = le({
|
|
160
|
-
elementId: `funnel_${A.value}`,
|
|
161
|
-
fileName: z.value.title.text || "vue-ui-funnel",
|
|
162
|
-
options: I.value.userOptions.print
|
|
163
|
-
}), St = l(() => I.value.userOptions.show && !z.value.title.text), V = x({ showTable: I.value.table.show }), H = x({
|
|
164
|
-
circles: R.value.dataLabels.fontSize,
|
|
165
|
-
names: L.value.dataLabels.name.fontSize,
|
|
166
|
-
values: L.value.dataLabels.value.fontSize
|
|
167
|
-
}), U = l({
|
|
168
|
-
get: () => ({
|
|
169
|
-
height: z.value.height,
|
|
170
|
-
width: z.value.width
|
|
171
|
-
}),
|
|
172
|
-
set: (e) => e
|
|
173
|
-
}), W = l(() => F.value ? O.dataset.map((e, t) => ({
|
|
174
|
-
...e,
|
|
175
|
-
color: e.color ? a(e.color) : r(L.value.defaultColor, t / O.dataset.length)
|
|
176
|
-
})) : []);
|
|
177
|
-
setTimeout(() => {
|
|
178
|
-
N.value = !0;
|
|
179
|
-
}, W.value.length * 150);
|
|
180
|
-
function Ct() {
|
|
181
|
-
let e = z.value.padding.left, t = z.value.padding.top;
|
|
182
|
-
return {
|
|
183
|
-
left: e,
|
|
184
|
-
top: t,
|
|
185
|
-
right: U.value.width - z.value.padding.right,
|
|
186
|
-
bottom: U.value.height - z.value.padding.bottom,
|
|
187
|
-
width: U.value.width - e - z.value.padding.right,
|
|
188
|
-
height: U.value.height - t - z.value.padding.bottom
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
let G = x(Ct()), K = l(() => G.value.height / O.dataset.length), q = l(() => K.value * L.value.gapRatio), wt = l(() => G.value.width * z.value.barCircleSpacingRatio), J = l(() => W.value.map((e, t) => {
|
|
192
|
-
let n = K.value - q.value, r = G.value.top + q.value / 2 * t + (K.value - q.value / 2) * t + q.value / 2, i = e.value / W.value[0].value, a = (G.value.width - n - wt.value) * (e.value / W.value[0].value);
|
|
193
|
-
return {
|
|
194
|
-
...e,
|
|
195
|
-
cx: G.value.left + n / 2,
|
|
196
|
-
cy: r + n / 2,
|
|
197
|
-
datapointIndex: t,
|
|
198
|
-
fill: e.color,
|
|
199
|
-
height: Math.max(n, 0),
|
|
200
|
-
proportion: i,
|
|
201
|
-
r: Math.max(n / 2, 0),
|
|
202
|
-
width: Math.max(a, 0),
|
|
203
|
-
x: G.value.left + n + wt.value,
|
|
204
|
-
y: r
|
|
205
|
-
};
|
|
206
|
-
})), Tt = l(() => {
|
|
207
|
-
let e = J.value.map((e) => `${e.x + e.width},${e.y + (K.value - q.value) / 2}`);
|
|
208
|
-
return `${J.value[0].x},${J.value[0].y + (K.value - q.value) / 2} ${e.toString()} ${J.value.at(-1).x},${J.value.at(-1).y + (K.value - q.value) / 2}`;
|
|
209
|
-
}), Et = l(() => ({
|
|
210
|
-
x1: J.value[0].cx,
|
|
211
|
-
y1: J.value[0].cy,
|
|
212
|
-
x2: J.value.at(-1).cx,
|
|
213
|
-
y2: J.value.at(-1).cy
|
|
214
|
-
})), Y = x(!1);
|
|
215
|
-
function Dt(e) {
|
|
216
|
-
Y.value = e, it.value += 1;
|
|
217
|
-
}
|
|
218
|
-
let Ot = l(() => `${W.value.length * 150}ms`), X = x(!1);
|
|
219
|
-
function kt() {
|
|
220
|
-
X.value = !X.value;
|
|
221
|
-
}
|
|
222
|
-
function At() {
|
|
223
|
-
V.value.showTable = !V.value.showTable;
|
|
224
|
-
}
|
|
225
|
-
let Z = l(() => ({
|
|
226
|
-
head: W.value.map((e) => ({
|
|
227
|
-
name: e.name,
|
|
228
|
-
color: e.color
|
|
229
|
-
})),
|
|
230
|
-
body: W.value.map((e) => e.value)
|
|
231
|
-
})), Q = l(() => {
|
|
232
|
-
let e = [
|
|
233
|
-
I.value.table.columnNames.series,
|
|
234
|
-
I.value.table.columnNames.value,
|
|
235
|
-
I.value.table.columnNames.percentage
|
|
236
|
-
], n = Z.value.head.map((e, n) => {
|
|
237
|
-
let r = s(L.value.dataLabels.value.formatter, Z.value.body[n], t({
|
|
238
|
-
p: L.value.dataLabels.value.prefix,
|
|
239
|
-
v: Z.value.body[n],
|
|
240
|
-
s: L.value.dataLabels.value.suffix,
|
|
241
|
-
r: I.value.table.td.roundingValue
|
|
242
|
-
}), { datapoint: J.value[n] }), i = s(R.value.dataLabels.formatter, J.value[n].proportion * 100, t({
|
|
243
|
-
v: J.value[n].proportion * 100,
|
|
244
|
-
s: "%",
|
|
245
|
-
r: I.value.table.td.roundingPercentage
|
|
246
|
-
}), { datapoint: J.value[n] });
|
|
247
|
-
return [
|
|
248
|
-
{
|
|
249
|
-
color: e.color,
|
|
250
|
-
name: e.name
|
|
251
|
-
},
|
|
252
|
-
r,
|
|
253
|
-
i
|
|
254
|
-
];
|
|
255
|
-
}), r = {
|
|
256
|
-
th: {
|
|
257
|
-
backgroundColor: I.value.table.th.backgroundColor,
|
|
258
|
-
color: I.value.table.th.color,
|
|
259
|
-
outline: I.value.table.th.outline
|
|
260
|
-
},
|
|
261
|
-
td: {
|
|
262
|
-
backgroundColor: I.value.table.td.backgroundColor,
|
|
263
|
-
color: I.value.table.td.color,
|
|
264
|
-
outline: I.value.table.td.outline
|
|
265
|
-
},
|
|
266
|
-
breakpoint: I.value.table.responsiveBreakpoint
|
|
267
|
-
};
|
|
268
|
-
return {
|
|
269
|
-
colNames: [
|
|
270
|
-
I.value.table.columnNames.series,
|
|
271
|
-
I.value.table.columnNames.value,
|
|
272
|
-
I.value.table.columnNames.percentage
|
|
273
|
-
],
|
|
274
|
-
head: e,
|
|
275
|
-
body: n,
|
|
276
|
-
config: r
|
|
277
|
-
};
|
|
278
|
-
});
|
|
279
|
-
function jt(e = null) {
|
|
280
|
-
Ee(() => {
|
|
281
|
-
let t = Z.value.head.map((e, t) => [
|
|
282
|
-
[e.name],
|
|
283
|
-
[Z.value.body[t]],
|
|
284
|
-
[J.value[t].proportion * 100]
|
|
285
|
-
]), r = [
|
|
286
|
-
[z.value.title.text],
|
|
287
|
-
[z.value.title.subtitle.text],
|
|
288
|
-
[
|
|
289
|
-
[I.value.table.columnNames.series],
|
|
290
|
-
[I.value.table.columnNames.value],
|
|
291
|
-
["%"]
|
|
292
|
-
]
|
|
293
|
-
].concat(t), i = n(r);
|
|
294
|
-
e ? e(i) : ne({
|
|
295
|
-
csvContent: i,
|
|
296
|
-
title: z.value.title.text || "vue-ui-funnel"
|
|
297
|
-
});
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
function Mt() {
|
|
301
|
-
return W.value;
|
|
302
|
-
}
|
|
303
|
-
async function Nt({ scale: e = 2 } = {}) {
|
|
304
|
-
if (!k.value) return;
|
|
305
|
-
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
|
|
306
|
-
domElement: k.value,
|
|
307
|
-
base64: !0,
|
|
308
|
-
img: !0,
|
|
309
|
-
scale: e
|
|
310
|
-
});
|
|
311
|
-
return {
|
|
312
|
-
imageUri: i,
|
|
313
|
-
base64: a,
|
|
314
|
-
title: z.value.title.text,
|
|
315
|
-
width: t,
|
|
316
|
-
height: n,
|
|
317
|
-
aspectRatio: r
|
|
318
|
-
};
|
|
319
|
-
}
|
|
320
|
-
let $ = l(() => {
|
|
321
|
-
let e = I.value.table.useDialog && !I.value.table.show, t = V.value.showTable;
|
|
322
|
-
return {
|
|
323
|
-
component: e ? $e : Je,
|
|
324
|
-
title: `${z.value.title.text}${z.value.title.subtitle.text ? `: ${z.value.title.subtitle.text}` : ""}`,
|
|
325
|
-
props: e ? {
|
|
326
|
-
backgroundColor: I.value.table.th.backgroundColor,
|
|
327
|
-
color: I.value.table.th.color,
|
|
328
|
-
headerColor: I.value.table.th.color,
|
|
329
|
-
headerBg: I.value.table.th.backgroundColor,
|
|
330
|
-
isFullscreen: Y.value,
|
|
331
|
-
fullscreenParent: k.value,
|
|
332
|
-
forcedWidth: Math.min(800, window.innerWidth * .8)
|
|
333
|
-
} : {
|
|
334
|
-
hideDetails: !0,
|
|
335
|
-
config: {
|
|
336
|
-
open: t,
|
|
337
|
-
maxHeight: 1e4,
|
|
338
|
-
body: {
|
|
339
|
-
backgroundColor: z.value.backgroundColor,
|
|
340
|
-
color: z.value.color
|
|
341
|
-
},
|
|
342
|
-
head: {
|
|
343
|
-
backgroundColor: z.value.backgroundColor,
|
|
344
|
-
color: z.value.color
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
};
|
|
349
|
-
});
|
|
350
|
-
Me(() => V.value.showTable, (e) => {
|
|
351
|
-
I.value.table.show || (e && I.value.table.useDialog && P.value ? P.value.open() : "close" in P.value && P.value.close());
|
|
352
|
-
});
|
|
353
|
-
function Pt() {
|
|
354
|
-
V.value.showTable = !1, ut.value && ut.value.setTableIconState(!1);
|
|
355
|
-
}
|
|
356
|
-
let Ft = l(() => z.value.backgroundColor), It = l(() => z.value.title), { isCallbackImaging: Lt, isCallbackSvg: Rt, generateSvg: zt, onGenerateImage: Bt } = fe({
|
|
357
|
-
svg: vt,
|
|
358
|
-
title: It,
|
|
359
|
-
legend: null,
|
|
360
|
-
legendItems: null,
|
|
361
|
-
backgroundColor: Ft,
|
|
362
|
-
getSvgCallback: () => I.value.userOptions.callbacks.svg,
|
|
363
|
-
generateImage: xt
|
|
364
|
-
});
|
|
365
|
-
async function Vt() {
|
|
366
|
-
if (rt("copyAlt", {
|
|
367
|
-
config: I.value,
|
|
368
|
-
dataset: W.value
|
|
369
|
-
}), !I.value.userOptions.callbacks.altCopy) {
|
|
370
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
371
|
-
return;
|
|
372
|
-
}
|
|
373
|
-
await Promise.resolve(I.value.userOptions.callbacks.altCopy({
|
|
374
|
-
config: I.value,
|
|
375
|
-
dataset: W.value
|
|
376
|
-
}));
|
|
377
|
-
}
|
|
378
|
-
return he({
|
|
379
|
-
getData: Mt,
|
|
380
|
-
getImage: Nt,
|
|
381
|
-
generatePdf: bt,
|
|
382
|
-
generateCsv: jt,
|
|
383
|
-
generateImage: xt,
|
|
384
|
-
generateSvg: zt,
|
|
385
|
-
toggleTable: At,
|
|
386
|
-
toggleAnnotator: kt,
|
|
387
|
-
toggleFullscreen: Dt,
|
|
388
|
-
copyAlt: Vt
|
|
389
|
-
}), (e, n) => (b(), f("div", {
|
|
390
|
-
ref_key: "funnelChart",
|
|
391
|
-
ref: k,
|
|
392
|
-
class: _(`vue-data-ui-component vue-ui-funnel ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${I.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
393
|
-
style: y(`font-family:${I.value.style.fontFamily};width:100%; ${I.value.responsive ? "height:100%;" : ""} text-align:center;background:${z.value.backgroundColor}`),
|
|
394
|
-
id: `funnel_${A.value}`,
|
|
395
|
-
onMouseenter: n[1] ||= () => T(gt)(!0),
|
|
396
|
-
onMouseleave: n[2] ||= () => T(gt)(!1)
|
|
397
|
-
}, [
|
|
398
|
-
I.value.userOptions.buttons.annotator ? (b(), u(T(Ze), {
|
|
399
|
-
key: 0,
|
|
400
|
-
svgRef: T(vt),
|
|
401
|
-
backgroundColor: z.value.backgroundColor,
|
|
402
|
-
color: z.value.color,
|
|
403
|
-
active: X.value,
|
|
404
|
-
isCursorPointer: mt.value,
|
|
405
|
-
palette: I.value.userOptions.annotatorPalette,
|
|
406
|
-
onClose: kt
|
|
407
|
-
}, {
|
|
408
|
-
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
409
|
-
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(h({ color: t })), void 0, !0)]),
|
|
410
|
-
"annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", v(h({ mode: t })), void 0, !0)]),
|
|
411
|
-
"annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", v(h({ disabled: t })), void 0, !0)]),
|
|
412
|
-
"annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", v(h({ disabled: t })), void 0, !0)]),
|
|
413
|
-
"annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", v(h({ disabled: t })), void 0, !0)]),
|
|
414
|
-
_: 3
|
|
415
|
-
}, 8, [
|
|
416
|
-
"svgRef",
|
|
417
|
-
"backgroundColor",
|
|
418
|
-
"color",
|
|
419
|
-
"active",
|
|
420
|
-
"isCursorPointer",
|
|
421
|
-
"palette"
|
|
422
|
-
])) : d("", !0),
|
|
423
|
-
St.value ? (b(), f("div", {
|
|
424
|
-
key: 1,
|
|
425
|
-
ref_key: "noTitle",
|
|
426
|
-
ref: st,
|
|
427
|
-
class: "vue-data-ui-no-title-space",
|
|
428
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
429
|
-
}, null, 512)) : d("", !0),
|
|
430
|
-
z.value.title.text ? (b(), f("div", {
|
|
431
|
-
key: 2,
|
|
432
|
-
ref_key: "chartTitle",
|
|
433
|
-
ref: lt,
|
|
434
|
-
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
435
|
-
}, [(b(), u(me, {
|
|
436
|
-
key: `title_${at.value}`,
|
|
437
|
-
config: {
|
|
438
|
-
title: {
|
|
439
|
-
cy: "funnel-div-title",
|
|
440
|
-
...z.value.title
|
|
441
|
-
},
|
|
442
|
-
subtitle: {
|
|
443
|
-
cy: "funnel-div-subtitle",
|
|
444
|
-
...z.value.title.subtitle
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
448
|
-
I.value.userOptions.show && F.value && (T(_t) || T(ht)) ? (b(), u(T(Xe), {
|
|
449
|
-
ref_key: "userOptionsRef",
|
|
450
|
-
ref: ut,
|
|
451
|
-
key: `user_option_${it.value}`,
|
|
452
|
-
backgroundColor: z.value.backgroundColor,
|
|
453
|
-
color: z.value.color,
|
|
454
|
-
isPrinting: T(yt),
|
|
455
|
-
isImaging: T(B),
|
|
456
|
-
uid: A.value,
|
|
457
|
-
hasTooltip: !1,
|
|
458
|
-
hasPdf: I.value.userOptions.buttons.pdf,
|
|
459
|
-
hasImg: I.value.userOptions.buttons.img,
|
|
460
|
-
hasSvg: I.value.userOptions.buttons.svg,
|
|
461
|
-
hasXls: I.value.userOptions.buttons.csv,
|
|
462
|
-
hasTable: I.value.userOptions.buttons.table,
|
|
463
|
-
hasLabel: !1,
|
|
464
|
-
hasFullscreen: I.value.userOptions.buttons.fullscreen,
|
|
465
|
-
hasAltCopy: I.value.userOptions.buttons.altCopy,
|
|
466
|
-
isFullscreen: Y.value,
|
|
467
|
-
chartElement: k.value,
|
|
468
|
-
position: I.value.userOptions.position,
|
|
469
|
-
titles: { ...I.value.userOptions.buttonTitles },
|
|
470
|
-
hasAnnotator: I.value.userOptions.buttons.annotator,
|
|
471
|
-
isAnnotation: X.value,
|
|
472
|
-
callbacks: I.value.userOptions.callbacks,
|
|
473
|
-
printScale: I.value.userOptions.print.scale,
|
|
474
|
-
tableDialog: I.value.table.useDialog,
|
|
475
|
-
isCursorPointer: mt.value,
|
|
476
|
-
onToggleAnnotator: kt,
|
|
477
|
-
onToggleFullscreen: Dt,
|
|
478
|
-
onGeneratePdf: T(bt),
|
|
479
|
-
onGenerateImage: T(Bt),
|
|
480
|
-
onGenerateSvg: T(zt),
|
|
481
|
-
onToggleTable: At,
|
|
482
|
-
onGenerateCsv: jt,
|
|
483
|
-
onCopyAlt: Vt,
|
|
484
|
-
style: y({ visibility: T(_t) ? T(ht) ? "visible" : "hidden" : "visible" })
|
|
485
|
-
}, Ce({ _: 2 }, [
|
|
486
|
-
e.$slots.menuIcon ? {
|
|
487
|
-
name: "menuIcon",
|
|
488
|
-
fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(h({
|
|
489
|
-
isOpen: t,
|
|
490
|
-
color: n
|
|
491
|
-
})), void 0, !0)]),
|
|
492
|
-
key: "0"
|
|
493
|
-
} : void 0,
|
|
494
|
-
e.$slots.optionPdf ? {
|
|
495
|
-
name: "optionPdf",
|
|
496
|
-
fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
497
|
-
key: "1"
|
|
498
|
-
} : void 0,
|
|
499
|
-
e.$slots.optionCsv ? {
|
|
500
|
-
name: "optionCsv",
|
|
501
|
-
fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
502
|
-
key: "2"
|
|
503
|
-
} : void 0,
|
|
504
|
-
e.$slots.optionImg ? {
|
|
505
|
-
name: "optionImg",
|
|
506
|
-
fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
507
|
-
key: "3"
|
|
508
|
-
} : void 0,
|
|
509
|
-
e.$slots.optionSvg ? {
|
|
510
|
-
name: "optionSvg",
|
|
511
|
-
fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
512
|
-
key: "4"
|
|
513
|
-
} : void 0,
|
|
514
|
-
e.$slots.optionTable ? {
|
|
515
|
-
name: "optionTable",
|
|
516
|
-
fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
517
|
-
key: "5"
|
|
518
|
-
} : void 0,
|
|
519
|
-
e.$slots.optionFullscreen ? {
|
|
520
|
-
name: "optionFullscreen",
|
|
521
|
-
fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", v(h({
|
|
522
|
-
toggleFullscreen: t,
|
|
523
|
-
isFullscreen: n
|
|
524
|
-
})), void 0, !0)]),
|
|
525
|
-
key: "6"
|
|
526
|
-
} : void 0,
|
|
527
|
-
e.$slots.optionAnnotator ? {
|
|
528
|
-
name: "optionAnnotator",
|
|
529
|
-
fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", v(h({
|
|
530
|
-
toggleAnnotator: t,
|
|
531
|
-
isAnnotator: n
|
|
532
|
-
})), void 0, !0)]),
|
|
533
|
-
key: "7"
|
|
534
|
-
} : void 0,
|
|
535
|
-
e.$slots.optionAltCopy ? {
|
|
536
|
-
name: "optionAltCopy",
|
|
537
|
-
fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(h({ altCopy: t })), void 0, !0)]),
|
|
538
|
-
key: "8"
|
|
539
|
-
} : void 0,
|
|
540
|
-
e.$slots["custom-menu-before"] ? {
|
|
541
|
-
name: "custom-menu-before",
|
|
542
|
-
fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
543
|
-
key: "9"
|
|
544
|
-
} : void 0,
|
|
545
|
-
e.$slots["custom-menu-after"] ? {
|
|
546
|
-
name: "custom-menu-after",
|
|
547
|
-
fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
548
|
-
key: "10"
|
|
549
|
-
} : void 0
|
|
550
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : d("", !0),
|
|
551
|
-
F.value ? (b(), f("svg", {
|
|
552
|
-
key: 4,
|
|
553
|
-
ref_key: "svgRef",
|
|
554
|
-
ref: vt,
|
|
555
|
-
xmlns: T(ie),
|
|
556
|
-
class: _({
|
|
557
|
-
"vue-data-ui-fullscreen--on": Y.value,
|
|
558
|
-
"vue-data-ui-fulscreen--off": !Y.value
|
|
559
|
-
}),
|
|
560
|
-
viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
|
|
561
|
-
style: y(`max-width:100%; overflow: visible; background:transparent;color:${z.value.color}`)
|
|
562
|
-
}, [
|
|
563
|
-
Te(T(Qe)),
|
|
564
|
-
e.$slots["chart-background"] ? (b(), f("foreignObject", {
|
|
565
|
-
key: 0,
|
|
566
|
-
x: 0,
|
|
567
|
-
y: 0,
|
|
568
|
-
width: U.value.width <= 0 ? 10 : U.value.width,
|
|
569
|
-
height: U.value.height <= 0 ? 10 : U.value.height,
|
|
570
|
-
style: { pointerEvents: "none" }
|
|
571
|
-
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ie)) : d("", !0),
|
|
572
|
-
p("defs", null, [Te(ve, {
|
|
573
|
-
t: "linear",
|
|
574
|
-
id: `funnel_area_${A.value}`,
|
|
575
|
-
x1: "0%",
|
|
576
|
-
x2: "100%",
|
|
577
|
-
y1: "0%",
|
|
578
|
-
y2: "0%",
|
|
579
|
-
stops: [
|
|
580
|
-
[
|
|
581
|
-
"0%",
|
|
582
|
-
z.value.backgroundColor,
|
|
583
|
-
0
|
|
584
|
-
],
|
|
585
|
-
[
|
|
586
|
-
"20%",
|
|
587
|
-
z.value.area.color,
|
|
588
|
-
1
|
|
589
|
-
],
|
|
590
|
-
[
|
|
591
|
-
"100%",
|
|
592
|
-
z.value.area.color,
|
|
593
|
-
1
|
|
594
|
-
]
|
|
595
|
-
]
|
|
596
|
-
}, null, 8, ["id", "stops"])]),
|
|
597
|
-
z.value.circleLinks.show ? (b(), f("line", g({ key: 1 }, Et.value, {
|
|
598
|
-
stroke: z.value.circleLinks.color,
|
|
599
|
-
"stroke-width": 12 * z.value.circleLinks.widthRatio,
|
|
600
|
-
"stroke-linecap": "round",
|
|
601
|
-
class: { animated: I.value.useCssAnimation && !T(D) },
|
|
602
|
-
style: {
|
|
603
|
-
strokeDasharray: I.value.useCssAnimation && !T(D) ? G.value.height : 0,
|
|
604
|
-
strokeDashoffset: I.value.useCssAnimation && !T(D) ? G.value.height : 0
|
|
605
|
-
}
|
|
606
|
-
}), null, 16, Le)) : d("", !0),
|
|
607
|
-
(b(!0), f(c, null, S(J.value, ({ cx: e, cy: t, r: n, fill: r }, i) => (b(), f("circle", g({ ref_for: !0 }, {
|
|
608
|
-
cx: e,
|
|
609
|
-
cy: t,
|
|
610
|
-
r: n,
|
|
611
|
-
fill: r
|
|
612
|
-
}, {
|
|
613
|
-
stroke: R.value.stroke,
|
|
614
|
-
"stroke-width": R.value.strokeWidth,
|
|
615
|
-
class: { animated: I.value.useCssAnimation && !N.value && !T(D) },
|
|
616
|
-
style: { animationDelay: `${150 * i}ms` }
|
|
617
|
-
}), null, 16, Re))), 256)),
|
|
618
|
-
(b(!0), f(c, null, S(J.value, (e, n) => (b(), f("text", {
|
|
619
|
-
x: e.cx,
|
|
620
|
-
y: e.cy + H.value.circles / 3 + R.value.dataLabels.offsetY,
|
|
621
|
-
"text-anchor": "middle",
|
|
622
|
-
"font-size": H.value.circles,
|
|
623
|
-
fill: R.value.dataLabels.adaptColorToBackground ? T(re)(e.color) : R.value.dataLabels.color,
|
|
624
|
-
"font-weight": R.value.dataLabels.bold ? "bold" : "normal",
|
|
625
|
-
class: _({ animated: I.value.useCssAnimation && !N.value && !T(D) }),
|
|
626
|
-
style: y({ animationDelay: `${150 * n}ms` })
|
|
627
|
-
}, w(T(s)(R.value.dataLabels.formatter, e.proportion * 100, T(t)({
|
|
628
|
-
v: e.proportion * 100,
|
|
629
|
-
s: "%",
|
|
630
|
-
r: R.value.dataLabels.rounding
|
|
631
|
-
}), { datapoint: e })), 15, ze))), 256)),
|
|
632
|
-
z.value.area.show ? (b(), f("polygon", {
|
|
633
|
-
key: 2,
|
|
634
|
-
points: Tt.value,
|
|
635
|
-
fill: `url(#funnel_area_${A.value})`,
|
|
636
|
-
class: _({ animated: I.value.useCssAnimation && !N.value && !T(D) }),
|
|
637
|
-
style: y({ transition: I.value.useCssAnimation ? `all ${150 * W.value.length}ms ease-in` : "none" })
|
|
638
|
-
}, null, 14, Be)) : d("", !0),
|
|
639
|
-
(b(!0), f(c, null, S(J.value, ({ x: e, y: t, height: n, width: r, fill: i }, a) => (b(), f("rect", g({ ref_for: !0 }, {
|
|
640
|
-
x: e,
|
|
641
|
-
y: t,
|
|
642
|
-
height: n,
|
|
643
|
-
width: r,
|
|
644
|
-
fill: i
|
|
645
|
-
}, {
|
|
646
|
-
stroke: L.value.stroke,
|
|
647
|
-
"stroke-width": L.value.strokeWidth,
|
|
648
|
-
rx: L.value.borderRadius,
|
|
649
|
-
class: { animated: I.value.useCssAnimation && !N.value && !T(D) },
|
|
650
|
-
style: { animationDelay: `${150 * a}ms` }
|
|
651
|
-
}), null, 16, Ve))), 256)),
|
|
652
|
-
(b(!0), f(c, null, S(J.value, (e, n) => (b(), f("g", null, [p("text", {
|
|
653
|
-
x: e.x + e.width + L.value.dataLabels.name.offsetX + 12,
|
|
654
|
-
y: e.cy - H.value.names / 2 + L.value.dataLabels.name.offsetY,
|
|
655
|
-
"text-anchor": "start",
|
|
656
|
-
"font-size": H.value.names,
|
|
657
|
-
fill: L.value.dataLabels.name.color,
|
|
658
|
-
"font-weight": L.value.dataLabels.name.bold ? "bold" : "normal",
|
|
659
|
-
class: _({ animated: I.value.useCssAnimation && !N.value && !T(D) }),
|
|
660
|
-
style: y({ animationDelay: `${150 * n}ms` })
|
|
661
|
-
}, w(e.name), 15, He), p("text", {
|
|
662
|
-
x: e.x + e.width + L.value.dataLabels.value.offsetX + 12,
|
|
663
|
-
y: e.cy + H.value.values + L.value.dataLabels.value.offsetY,
|
|
664
|
-
"text-anchor": "start",
|
|
665
|
-
"font-size": H.value.values,
|
|
666
|
-
fill: L.value.dataLabels.value.color,
|
|
667
|
-
"font-weight": L.value.dataLabels.value.bold ? "bold" : "normal",
|
|
668
|
-
class: _({ animated: I.value.useCssAnimation && !N.value && !T(D) }),
|
|
669
|
-
style: y({ animationDelay: `${150 * n}ms` })
|
|
670
|
-
}, w(T(s)(L.value.dataLabels.value.formatter, e.value, T(t)({
|
|
671
|
-
p: L.value.dataLabels.value.prefix,
|
|
672
|
-
v: e.value,
|
|
673
|
-
s: L.value.dataLabels.value.suffix,
|
|
674
|
-
r: L.value.dataLabels.value.rounding
|
|
675
|
-
}), { datapoint: e })), 15, Ue)]))), 256)),
|
|
676
|
-
C(e.$slots, "svg", { svg: {
|
|
677
|
-
...U.value,
|
|
678
|
-
isPrintingImg: T(yt) || T(B) || T(Lt),
|
|
679
|
-
isPrintingSvg: T(Rt)
|
|
680
|
-
} }, void 0, !0)
|
|
681
|
-
], 14, Fe)) : d("", !0),
|
|
682
|
-
e.$slots.watermark ? (b(), f("div", We, [C(e.$slots, "watermark", v(h({ isPrinting: T(yt) || T(B) || T(Lt) || T(Rt) })), void 0, !0)])) : d("", !0),
|
|
683
|
-
F.value ? d("", !0) : (b(), u(T(qe), {
|
|
684
|
-
key: 6,
|
|
685
|
-
config: {
|
|
686
|
-
type: "verticalBar",
|
|
687
|
-
style: {
|
|
688
|
-
backgroundColor: z.value.backgroundColor,
|
|
689
|
-
verticalBar: {
|
|
690
|
-
axis: { color: "#CCCCCC" },
|
|
691
|
-
color: "#CCCCCC"
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
}, null, 8, ["config"])),
|
|
696
|
-
e.$slots.source ? (b(), f("div", {
|
|
697
|
-
key: 7,
|
|
698
|
-
ref_key: "source",
|
|
699
|
-
ref: ct,
|
|
700
|
-
dir: "auto"
|
|
701
|
-
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
702
|
-
F.value && I.value.userOptions.buttons.table ? (b(), u(ke($.value.component), g({ key: 8 }, $.value.props, {
|
|
703
|
-
ref_key: "tableUnit",
|
|
704
|
-
ref: P,
|
|
705
|
-
onClose: Pt
|
|
706
|
-
}), Ce({
|
|
707
|
-
content: E(() => [(b(), u(T(Ye), {
|
|
708
|
-
key: `table_${ot.value}`,
|
|
709
|
-
colNames: Q.value.colNames,
|
|
710
|
-
head: Q.value.head,
|
|
711
|
-
body: Q.value.body,
|
|
712
|
-
config: Q.value.config,
|
|
713
|
-
title: I.value.table.useDialog ? "" : $.value.title,
|
|
714
|
-
withCloseButton: !I.value.table.useDialog,
|
|
715
|
-
onClose: Pt
|
|
716
|
-
}, {
|
|
717
|
-
th: E(({ th: e }) => [p("div", Ge, w(e), 1)]),
|
|
718
|
-
td: E(({ td: e }) => [we(w(e.name ? e.name : e), 1)]),
|
|
719
|
-
_: 1
|
|
720
|
-
}, 8, [
|
|
721
|
-
"colNames",
|
|
722
|
-
"head",
|
|
723
|
-
"body",
|
|
724
|
-
"config",
|
|
725
|
-
"title",
|
|
726
|
-
"withCloseButton"
|
|
727
|
-
]))]),
|
|
728
|
-
_: 2
|
|
729
|
-
}, [I.value.table.useDialog ? {
|
|
730
|
-
name: "title",
|
|
731
|
-
fn: E(() => [we(w($.value.title), 1)]),
|
|
732
|
-
key: "0"
|
|
733
|
-
} : void 0, I.value.table.useDialog ? {
|
|
734
|
-
name: "actions",
|
|
735
|
-
fn: E(() => [p("button", {
|
|
736
|
-
tabindex: "0",
|
|
737
|
-
class: "vue-ui-user-options-button",
|
|
738
|
-
onClick: n[0] ||= (e) => jt(I.value.userOptions.callbacks.csv)
|
|
739
|
-
}, [Te(T(Ke), {
|
|
740
|
-
name: "fileCsv",
|
|
741
|
-
stroke: $.value.props.color
|
|
742
|
-
}, null, 8, ["stroke"])])]),
|
|
743
|
-
key: "1"
|
|
744
|
-
} : void 0]), 1040)) : d("", !0)
|
|
745
|
-
], 46, Pe));
|
|
746
|
-
}
|
|
747
|
-
}, [["__scopeId", "data-v-a4c3f101"]]);
|
|
748
|
-
//#endregion
|
|
749
|
-
export { Ne as n, Ke as t };
|