vue-data-ui 3.17.13 → 3.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-Cj6W6Xbi.js +116 -0
- package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
- package/dist/BaseIcon-CEmt3Ifx.js +499 -0
- package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
- package/dist/ColorPicker-DS_QkH3W.js +255 -0
- package/dist/DataTable-BvDJEAma.js +150 -0
- package/dist/Legend-Gg5Q4Clb.js +114 -0
- package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
- package/dist/PackageVersion-DhDKg-ez.js +11 -0
- package/dist/PenAndPaper-DwpL8Z0l.js +461 -0
- package/dist/RecursiveCircles-DPpLel6f.js +117 -0
- package/dist/RecursiveLabels-DBMJf_to.js +56 -0
- package/dist/RecursiveLinks-D06dBL4a.js +78 -0
- package/dist/Shape-DEGOZ6GG.js +141 -0
- package/dist/Slicer-BlfyiHHD.js +1144 -0
- package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
- package/dist/SparkTooltip-c2DL7gqD.js +93 -0
- package/dist/Title-__gWq2g6.js +87 -0
- package/dist/Tooltip-B7lmdbac.js +307 -0
- package/dist/UserOptions-DMw8EZEo.js +1407 -0
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
- package/dist/canvas-lib-DTaADQOK.js +79 -0
- package/dist/components/arrow.js +2 -5
- package/dist/components/vue-ui-3d-bar.js +2 -5
- package/dist/components/vue-ui-accordion.js +2 -5
- package/dist/components/vue-ui-age-pyramid.js +2 -5
- package/dist/components/vue-ui-annotator.js +2 -5
- package/dist/components/vue-ui-bullet.js +2 -5
- package/dist/components/vue-ui-bump.js +2 -5
- package/dist/components/vue-ui-candlestick.js +2 -5
- package/dist/components/vue-ui-carousel-table.js +2 -5
- package/dist/components/vue-ui-chestnut.js +2 -5
- package/dist/components/vue-ui-chord.js +2 -5
- package/dist/components/vue-ui-circle-pack.js +2 -5
- package/dist/components/vue-ui-cursor.js +2 -5
- package/dist/components/vue-ui-dag.js +2 -5
- package/dist/components/vue-ui-dashboard.js +2 -5
- package/dist/components/vue-ui-digits.js +2 -5
- package/dist/components/vue-ui-donut-evolution.js +2 -5
- package/dist/components/vue-ui-donut.js +2 -5
- package/dist/components/vue-ui-dumbbell.js +2 -5
- package/dist/components/vue-ui-flow.js +2 -5
- package/dist/components/vue-ui-funnel.js +2 -5
- package/dist/components/vue-ui-galaxy.js +2 -5
- package/dist/components/vue-ui-gauge.js +2 -5
- package/dist/components/vue-ui-geo.js +2 -5
- package/dist/components/vue-ui-gizmo.js +2 -5
- package/dist/components/vue-ui-heatmap.js +2 -5
- package/dist/components/vue-ui-history-plot.js +2 -5
- package/dist/components/vue-ui-horizontal-bar.js +2 -5
- package/dist/components/vue-ui-icon.js +2 -5
- package/dist/components/vue-ui-kpi.js +2 -5
- package/dist/components/vue-ui-mini-loader.js +2 -5
- package/dist/components/vue-ui-molecule.js +2 -5
- package/dist/components/vue-ui-mood-radar.js +2 -5
- package/dist/components/vue-ui-nested-donuts.js +2 -5
- package/dist/components/vue-ui-onion.js +2 -5
- package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
- package/dist/components/vue-ui-pattern-seed.js +2 -5
- package/dist/components/vue-ui-pattern.js +2 -5
- package/dist/components/vue-ui-quadrant.js +2 -5
- package/dist/components/vue-ui-quick-chart.js +2 -5
- package/dist/components/vue-ui-radar.js +2 -5
- package/dist/components/vue-ui-rating.js +2 -5
- package/dist/components/vue-ui-relation-circle.js +2 -5
- package/dist/components/vue-ui-ridgeline.js +2 -5
- package/dist/components/vue-ui-rings.js +2 -5
- package/dist/components/vue-ui-scatter.js +2 -5
- package/dist/components/vue-ui-skeleton.js +2 -5
- package/dist/components/vue-ui-smiley.js +2 -5
- package/dist/components/vue-ui-spark-trend.js +2 -5
- package/dist/components/vue-ui-sparkbar.js +2 -5
- package/dist/components/vue-ui-sparkgauge.js +2 -5
- package/dist/components/vue-ui-sparkhistogram.js +2 -5
- package/dist/components/vue-ui-sparkline.js +2 -5
- package/dist/components/vue-ui-sparkstackbar.js +2 -5
- package/dist/components/vue-ui-stackbar.js +2 -5
- package/dist/components/vue-ui-stackline.js +2 -5
- package/dist/components/vue-ui-strip-plot.js +2 -5
- package/dist/components/vue-ui-table-heatmap.js +2 -5
- package/dist/components/vue-ui-table-sparkline.js +2 -5
- package/dist/components/vue-ui-table.js +2 -5
- package/dist/components/vue-ui-thermometer.js +2 -5
- package/dist/components/vue-ui-timer.js +2 -5
- package/dist/components/vue-ui-tiremarks.js +2 -5
- package/dist/components/vue-ui-treemap.js +2 -5
- package/dist/components/vue-ui-vertical-bar.js +2 -5
- package/dist/components/vue-ui-waffle.js +2 -5
- package/dist/components/vue-ui-wheel.js +2 -5
- package/dist/components/vue-ui-word-cloud.js +2 -5
- package/dist/components/vue-ui-world.js +2 -5
- package/dist/components/vue-ui-xy-canvas.js +2 -5
- package/dist/components/vue-ui-xy.js +2 -5
- package/dist/dom-to-png-9WSt6hXe.js +237 -0
- package/dist/exposedLib-CwWU4zv-.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-BjOr008R.js +74 -0
- package/dist/labelUtils-Cr97N8E1.js +19 -0
- package/dist/lib-BkiwukKO.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-DSXSFUnK.js +90 -0
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/style.css +2 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +23 -0
- package/dist/types/vue-data-ui.d.ts +4775 -627
- package/dist/types/vue-ui-3d-bar.d.ts +64 -9
- package/dist/types/vue-ui-accordion.d.ts +4 -3
- package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
- package/dist/types/vue-ui-annotator.d.ts +3 -5
- package/dist/types/vue-ui-bullet.d.ts +60 -9
- package/dist/types/vue-ui-bump.d.ts +65 -9
- package/dist/types/vue-ui-candlestick.d.ts +83 -9
- package/dist/types/vue-ui-carousel-table.d.ts +36 -6
- package/dist/types/vue-ui-chestnut.d.ts +66 -9
- package/dist/types/vue-ui-chord.d.ts +78 -9
- package/dist/types/vue-ui-circle-pack.d.ts +86 -9
- package/dist/types/vue-ui-cursor.d.ts +4 -2
- package/dist/types/vue-ui-dag.d.ts +92 -9
- package/dist/types/vue-ui-dashboard.d.ts +43 -6
- package/dist/types/vue-ui-digits.d.ts +4 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
- package/dist/types/vue-ui-donut.d.ts +92 -9
- package/dist/types/vue-ui-dumbbell.d.ts +65 -9
- package/dist/types/vue-ui-flow.d.ts +79 -9
- package/dist/types/vue-ui-funnel.d.ts +55 -9
- package/dist/types/vue-ui-galaxy.d.ts +83 -9
- package/dist/types/vue-ui-gauge.d.ts +64 -9
- package/dist/types/vue-ui-geo.d.ts +71 -9
- package/dist/types/vue-ui-gizmo.d.ts +17 -6
- package/dist/types/vue-ui-heatmap.d.ts +73 -9
- package/dist/types/vue-ui-history-plot.d.ts +82 -9
- package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
- package/dist/types/vue-ui-icon.d.ts +2 -2
- package/dist/types/vue-ui-kpi.d.ts +21 -7
- package/dist/types/vue-ui-mini-loader.d.ts +5 -3
- package/dist/types/vue-ui-molecule.d.ts +86 -9
- package/dist/types/vue-ui-mood-radar.d.ts +66 -9
- package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
- package/dist/types/vue-ui-onion.d.ts +77 -9
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -2
- package/dist/types/vue-ui-quadrant.d.ts +86 -9
- package/dist/types/vue-ui-quick-chart.d.ts +79 -9
- package/dist/types/vue-ui-radar.d.ts +83 -9
- package/dist/types/vue-ui-rating.d.ts +22 -6
- package/dist/types/vue-ui-relation-circle.d.ts +66 -9
- package/dist/types/vue-ui-ridgeline.d.ts +69 -9
- package/dist/types/vue-ui-rings.d.ts +70 -9
- package/dist/types/vue-ui-scatter.d.ts +67 -9
- package/dist/types/vue-ui-skeleton.d.ts +3 -2
- package/dist/types/vue-ui-smiley.d.ts +3 -2
- package/dist/types/vue-ui-spark-trend.d.ts +14 -6
- package/dist/types/vue-ui-sparkbar.d.ts +27 -6
- package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
- package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
- package/dist/types/vue-ui-sparkline.d.ts +35 -6
- package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
- package/dist/types/vue-ui-stackbar.d.ts +85 -9
- package/dist/types/vue-ui-stackline.d.ts +81 -9
- package/dist/types/vue-ui-strip-plot.d.ts +66 -9
- package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
- package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
- package/dist/types/vue-ui-table.d.ts +10 -2
- package/dist/types/vue-ui-thermometer.d.ts +46 -9
- package/dist/types/vue-ui-timer.d.ts +31 -5
- package/dist/types/vue-ui-tiremarks.d.ts +46 -9
- package/dist/types/vue-ui-treemap.d.ts +73 -9
- package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
- package/dist/types/vue-ui-waffle.d.ts +72 -9
- package/dist/types/vue-ui-wheel.d.ts +46 -9
- package/dist/types/vue-ui-word-cloud.d.ts +73 -9
- package/dist/types/vue-ui-world.d.ts +68 -9
- package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
- package/dist/types/vue-ui-xy.d.ts +108 -10
- package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-BV0kTCnO.js +7431 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-Ck4hsrpu.js +10 -0
- package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-X0yWOynH.js +49 -0
- package/dist/useResponsive-CrAInupd.js +19 -0
- package/dist/useStableElementSize-0I1IpHPl.js +77 -0
- package/dist/useSvgExport-Dtu973wa.js +755 -0
- package/dist/useTableResponsive-DrM1xqII.js +24 -0
- package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
- package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
- package/dist/useTimeLabels-C0x7zUXP.js +272 -0
- package/dist/useUserOptionState-CjPJPTg2.js +15 -0
- package/dist/utils.js +27 -44
- package/dist/vClickOutside-CbX_bC9A.js +13 -0
- package/dist/vue-data-ui-DIh8ayZc.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
- package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
- package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
- package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
- package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
- package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
- package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
- package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
- package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
- package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
- package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
- package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
- package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
- package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
- package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
- package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
- package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
- package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
- package/dist/vue-ui-flow-OK563Z46.js +1223 -0
- package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
- package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
- package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
- package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
- package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
- package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
- package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
- package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
- package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
- package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
- package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
- package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
- package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.js +1413 -0
- package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
- package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
- package/dist/vue-ui-quadrant-DLD_ZR9M.js +1966 -0
- package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
- package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
- package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
- package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
- package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
- package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
- package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
- package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
- package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
- package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
- package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
- package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
- package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
- package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
- package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
- package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
- package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
- package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
- package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
- package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
- package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
- package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
- package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
- package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
- package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
- package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
- package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
- package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
- package/dist/vue-ui-world-CEevuFbk.js +14252 -0
- package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
- package/dist/vue-ui-xy-canvas-D2f0d45c.js +1774 -0
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
- package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
- package/dist/vue_ui_bump-frnXaXul.js +201 -0
- package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
- package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
- package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
- package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
- package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
- package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
- package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
- package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
- package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
- package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
- package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
- package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
- package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
- package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
- package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
- package/dist/vue_ui_onion-DTV9cup-.js +293 -0
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
- package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
- package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
- package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
- package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
- package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
- package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
- package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
- package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
- package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
- package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
- package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
- package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
- package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
- package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
- package/package.json +7 -7
- package/dist/A11yDataTable-BpmuNomI.js +0 -54
- package/dist/Arrow-dSvLFssU.js +0 -101
- package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
- package/dist/BaseIcon-DX0hTWa-.js +0 -476
- package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
- package/dist/BaseScanner-C2j3TsSY.js +0 -36
- package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
- package/dist/ColorPicker-bAxGcXK0.js +0 -271
- package/dist/DataTable-cMnb68Ik.js +0 -145
- package/dist/Legend-DGN5lY60.js +0 -104
- package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
- package/dist/PackageVersion-BfrCAH6_.js +0 -10
- package/dist/PenAndPaper-CJDoB5H9.js +0 -527
- package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
- package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
- package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
- package/dist/Shape-CxJ5_Rre.js +0 -116
- package/dist/Slicer-D7UcO8sN.js +0 -1145
- package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
- package/dist/SparkTooltip-D4bM-kfz.js +0 -68
- package/dist/Title-BbKoiBk2.js +0 -88
- package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
- package/dist/UserOptions-DVduN6X7.js +0 -1474
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/dom-to-png-DGvx6i5V.js +0 -262
- package/dist/exposedLib-sJvY1pST.js +0 -22
- package/dist/geoProjections-BFq2sOBY.js +0 -162
- package/dist/img-CjTQXS0U.js +0 -57
- package/dist/labelUtils-DX9oyq3C.js +0 -26
- package/dist/lib-DMzrGQHK.js +0 -2477
- package/dist/patternUtils-BINhU4Ky.js +0 -615
- package/dist/pdf-C4H4o1Cj.js +0 -88
- package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
- package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
- package/dist/useConfig-CG4HT3wS.js +0 -7901
- package/dist/useFitSvgText-2crs6Fv5.js +0 -69
- package/dist/useNestedProp-DH0BEVVS.js +0 -13
- package/dist/useObjectBindings-Dixg-RIe.js +0 -228
- package/dist/usePanZoom-BbDhcKWf.js +0 -141
- package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
- package/dist/usePrinter-C4t8DdQ-.js +0 -51
- package/dist/useResponsive-DfdjqQps.js +0 -195
- package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
- package/dist/useSvgExport-BTG4hVPO.js +0 -870
- package/dist/useTableResponsive-BpfiEtzR.js +0 -26
- package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
- package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
- package/dist/useTimeLabels-Cv0tD9In.js +0 -307
- package/dist/useUserOptionState-B7Ej974k.js +0 -19
- package/dist/vClickOutside-C6WiFswA.js +0 -13
- package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
- package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
- package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
- package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
- package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
- package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
- package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
- package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
- package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
- package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
- package/dist/vue-ui-chord-DWyar45U.js +0 -1457
- package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
- package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
- package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
- package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
- package/dist/vue-ui-digits-CZmdir8V.js +0 -211
- package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
- package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
- package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
- package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
- package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
- package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
- package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
- package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
- package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
- package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
- package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
- package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
- package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
- package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
- package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
- package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
- package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
- package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
- package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
- package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
- package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
- package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
- package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
- package/dist/vue-ui-rating-CqPlP88P.js +0 -370
- package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
- package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
- package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
- package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
- package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
- package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
- package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
- package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
- package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
- package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
- package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
- package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
- package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
- package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
- package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
- package/dist/vue-ui-table-BX2iMku4.js +0 -1726
- package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
- package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
- package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
- package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
- package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
- package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
- package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
- package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
- package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
- package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
- package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
- package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
- package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
- package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
- package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
- package/dist/vue_ui_bump-CIht647H.js +0 -22
- package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
- package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
- package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
- package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
- package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
- package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
- package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
- package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
- package/dist/vue_ui_flow-BErINgox.js +0 -22
- package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
- package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
- package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
- package/dist/vue_ui_geo--kg4VoVX.js +0 -22
- package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
- package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
- package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
- package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
- package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
- package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
- package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
- package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
- package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
- package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
- package/dist/vue_ui_radar-DryGBOrz.js +0 -22
- package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
- package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
- package/dist/vue_ui_rings-CxOrekqA.js +0 -22
- package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
- package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
- package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
- package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
- package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
- package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
- package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
- package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
- package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
- package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
- package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
- package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
- package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
- package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
- package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
- package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
- package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
- package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
- package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
- package/dist/vue_ui_xy-esktmpg-.js +0 -22
- package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
|
@@ -1,823 +0,0 @@
|
|
|
1
|
-
import { useCssVars as rt, defineAsyncComponent as x, ref as c, shallowRef as Te, computed as v, onMounted as ut, onBeforeUnmount as it, watch as Oe, openBlock as n, createElementBlock as h, unref as s, normalizeStyle as O, normalizeClass as N, createBlock as F, withCtx as r, renderSlot as u, normalizeProps as C, guardReactiveProps as k, createCommentVNode as g, createSlots as _e, createVNode as Pe, createElementVNode as $, mergeProps as W, Fragment as q, renderList as Y, toDisplayString as E, resolveDynamicComponent as ct, createTextVNode as De, nextTick as ze } from "vue";
|
|
2
|
-
import { j as vt, o as dt, q as Ie, r as ht, s as ft, x as bt, k as J, l as K, X as mt, W as gt, a2 as ne, a0 as pt, a1 as yt } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { t as Ct, u as kt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as wt } from "./useConfig-CG4HT3wS.js";
|
|
5
|
-
import { u as $t } from "./usePrinter-C4t8DdQ-.js";
|
|
6
|
-
import { u as Lt } from "./useSvgExport-BTG4hVPO.js";
|
|
7
|
-
import { u as re } from "./useNestedProp-DH0BEVVS.js";
|
|
8
|
-
import { u as At } from "./useThemeCheck-C9Ccl7U9.js";
|
|
9
|
-
import { u as xt } from "./useUserOptionState-B7Ej974k.js";
|
|
10
|
-
import { u as St } from "./useChartAccessibility-cp6XQtqi.js";
|
|
11
|
-
import Tt from "./img-CjTQXS0U.js";
|
|
12
|
-
import Ot from "./Title-BbKoiBk2.js";
|
|
13
|
-
import _t from "./vue_ui_funnel-yuaMZ-yb.js";
|
|
14
|
-
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["id"], Ft = ["stop-color"], Bt = ["stop-color"], Rt = ["stop-color"], Ut = ["stroke", "stroke-width"], Mt = ["stroke", "stroke-width"], Vt = ["x", "y", "font-size", "fill", "font-weight"], Et = ["points", "fill"], Gt = ["stroke", "stroke-width", "rx"], jt = ["x", "y", "font-size", "fill", "font-weight"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Xt = {
|
|
16
|
-
key: 5,
|
|
17
|
-
class: "vue-data-ui-watermark"
|
|
18
|
-
}, Wt = ["innerHTML"], qt = {
|
|
19
|
-
__name: "vue-ui-funnel",
|
|
20
|
-
props: {
|
|
21
|
-
config: {
|
|
22
|
-
type: Object,
|
|
23
|
-
default() {
|
|
24
|
-
return {};
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
dataset: {
|
|
28
|
-
type: Array,
|
|
29
|
-
default() {
|
|
30
|
-
return [];
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
emits: ["copyAlt"],
|
|
35
|
-
setup(Ne, { expose: Fe, emit: Be }) {
|
|
36
|
-
rt((t) => ({
|
|
37
|
-
v3170e5db: Ze.value
|
|
38
|
-
}));
|
|
39
|
-
const Re = x(() => import("./BaseIcon-DX0hTWa-.js")), Ue = x(() => import("./vue-ui-skeleton-YD6rZjY_.js")), Me = x(() => import("./vue-ui-accordion-DFtpH_16.js")), Ve = x(() => import("./DataTable-cMnb68Ik.js")), Ee = x(
|
|
40
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
41
|
-
), Ge = x(
|
|
42
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
43
|
-
), je = x(
|
|
44
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
45
|
-
), He = x(
|
|
46
|
-
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
47
|
-
), { vue_ui_funnel: Xe } = wt(), { isThemeValid: We, warnInvalidTheme: qe } = At(), p = Ne, Ye = Be, L = c(null), B = c(vt()), ue = c(0), ie = c(0), ce = c(0), ve = c(null), de = c(null), he = c(null), A = Te(null), _ = Te(null), S = c(!1), R = c(null), Q = c(null), G = c(!1), j = c(!1), P = v(() => !!p.dataset && p.dataset.length);
|
|
48
|
-
ut(fe);
|
|
49
|
-
function fe() {
|
|
50
|
-
if (dt(p.dataset) ? Ie({
|
|
51
|
-
componentName: "VueUiFunnel",
|
|
52
|
-
type: "dataset"
|
|
53
|
-
}) : p.dataset.forEach((t, l) => {
|
|
54
|
-
ht({
|
|
55
|
-
datasetObject: t,
|
|
56
|
-
requiredAttributes: ["name", "value"]
|
|
57
|
-
}).forEach((a) => {
|
|
58
|
-
P.value = !1, Ie({
|
|
59
|
-
componentName: "VueUiFunnel",
|
|
60
|
-
type: "datasetSerieAttribute",
|
|
61
|
-
property: a,
|
|
62
|
-
index: l
|
|
63
|
-
});
|
|
64
|
-
});
|
|
65
|
-
}), e.value.responsive) {
|
|
66
|
-
const t = Ct(() => {
|
|
67
|
-
const { width: l, height: a } = kt({
|
|
68
|
-
chart: L.value,
|
|
69
|
-
title: e.value.style.chart.title.text ? he.value : null,
|
|
70
|
-
source: de.value,
|
|
71
|
-
noTitle: ve.value
|
|
72
|
-
});
|
|
73
|
-
requestAnimationFrame(() => {
|
|
74
|
-
b.value.height = a, b.value.width = l, w.value = ke(), e.value.responsiveProportionalSizing ? (f.value.circles = ne({
|
|
75
|
-
relator: Math.min(l, a),
|
|
76
|
-
adjuster: 600,
|
|
77
|
-
source: e.value.style.chart.circles.dataLabels.fontSize,
|
|
78
|
-
threshold: 10,
|
|
79
|
-
fallback: 10
|
|
80
|
-
}), f.value.names = ne({
|
|
81
|
-
relator: Math.min(l, a),
|
|
82
|
-
adjuster: 600,
|
|
83
|
-
source: e.value.style.chart.bars.dataLabels.name.fontSize,
|
|
84
|
-
threshold: 10,
|
|
85
|
-
fallback: 10
|
|
86
|
-
}), f.value.values = ne({
|
|
87
|
-
relator: Math.min(l, a),
|
|
88
|
-
adjuster: 600,
|
|
89
|
-
source: e.value.style.chart.bars.dataLabels.value.fontSize,
|
|
90
|
-
threshold: 10,
|
|
91
|
-
fallback: 10
|
|
92
|
-
})) : (f.value.circles = e.value.style.chart.circles.dataLabels.fontSize, f.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, f.value.values = e.value.style.chart.bars.dataLabels.value.fontSize);
|
|
93
|
-
});
|
|
94
|
-
});
|
|
95
|
-
A.value && (_.value && A.value.unobserve(_.value), A.value.disconnect()), A.value = new ResizeObserver(t), _.value = L.value.parentNode, A.value.observe(_.value);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
it(() => {
|
|
99
|
-
A.value && (_.value && A.value.unobserve(_.value), A.value.disconnect());
|
|
100
|
-
});
|
|
101
|
-
function be() {
|
|
102
|
-
const t = re({
|
|
103
|
-
userConfig: p.config,
|
|
104
|
-
defaultConfig: Xe
|
|
105
|
-
}), l = t.theme;
|
|
106
|
-
if (!l) return t;
|
|
107
|
-
if (!We.value(t))
|
|
108
|
-
return qe(t), t;
|
|
109
|
-
const a = re({
|
|
110
|
-
userConfig: _t[l] || p.config,
|
|
111
|
-
defaultConfig: t
|
|
112
|
-
});
|
|
113
|
-
return re({
|
|
114
|
-
userConfig: p.config,
|
|
115
|
-
defaultConfig: a
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
const e = v({
|
|
119
|
-
get: () => be(),
|
|
120
|
-
set: (t) => t
|
|
121
|
-
}), me = v(
|
|
122
|
-
() => e.value.userOptions.useCursorPointer
|
|
123
|
-
), { userOptionsVisible: Z, setUserOptionsVisibility: ge, keepUserOptionState: pe } = xt({ config: e.value }), { svgRef: ee } = St({
|
|
124
|
-
config: e.value.style.chart.title
|
|
125
|
-
});
|
|
126
|
-
Oe(
|
|
127
|
-
() => p.config,
|
|
128
|
-
(t) => {
|
|
129
|
-
e.value = be(), Z.value = !e.value.userOptions.showOnChartHover, fe(), ie.value += 1, ce.value += 1, f.value.circles = e.value.style.chart.circles.dataLabels.fontSize, f.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, f.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, D.value.showTable = e.value.table.show;
|
|
130
|
-
},
|
|
131
|
-
{ deep: !0 }
|
|
132
|
-
);
|
|
133
|
-
const { isPrinting: te, isImaging: ae, generatePdf: ye, generateImage: Ce } = $t({
|
|
134
|
-
elementId: `funnel_${B.value}`,
|
|
135
|
-
fileName: e.value.style.chart.title.text || "vue-ui-funnel",
|
|
136
|
-
options: e.value.userOptions.print
|
|
137
|
-
}), Je = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), D = c({
|
|
138
|
-
showTable: e.value.table.show
|
|
139
|
-
}), f = c({
|
|
140
|
-
circles: e.value.style.chart.circles.dataLabels.fontSize,
|
|
141
|
-
names: e.value.style.chart.bars.dataLabels.name.fontSize,
|
|
142
|
-
values: e.value.style.chart.bars.dataLabels.value.fontSize
|
|
143
|
-
}), b = v({
|
|
144
|
-
get: () => ({
|
|
145
|
-
height: e.value.style.chart.height,
|
|
146
|
-
width: e.value.style.chart.width
|
|
147
|
-
}),
|
|
148
|
-
set: (t) => t
|
|
149
|
-
}), y = v(() => P.value ? p.dataset.map((t, l) => ({
|
|
150
|
-
...t,
|
|
151
|
-
color: t.color ? ft(t.color) : bt(
|
|
152
|
-
e.value.style.chart.bars.defaultColor,
|
|
153
|
-
l / p.dataset.length
|
|
154
|
-
)
|
|
155
|
-
})) : []);
|
|
156
|
-
setTimeout(() => {
|
|
157
|
-
S.value = !0;
|
|
158
|
-
}, y.value.length * 150);
|
|
159
|
-
function ke() {
|
|
160
|
-
const t = e.value.style.chart.padding.left, l = e.value.style.chart.padding.top;
|
|
161
|
-
return {
|
|
162
|
-
left: t,
|
|
163
|
-
top: l,
|
|
164
|
-
right: b.value.width - e.value.style.chart.padding.right,
|
|
165
|
-
bottom: b.value.height - e.value.style.chart.padding.bottom,
|
|
166
|
-
width: b.value.width - t - e.value.style.chart.padding.right,
|
|
167
|
-
height: b.value.height - l - e.value.style.chart.padding.bottom
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
const w = c(ke()), z = v(() => w.value.height / p.dataset.length), T = v(() => z.value * e.value.style.chart.bars.gapRatio), we = v(() => w.value.width * e.value.style.chart.barCircleSpacingRatio), i = v(() => y.value.map((t, l) => {
|
|
171
|
-
const a = z.value - T.value, o = w.value.top + T.value / 2 * l + (z.value - T.value / 2) * l + T.value / 2, m = t.value / y.value[0].value, d = (w.value.width - a - we.value) * (t.value / y.value[0].value);
|
|
172
|
-
return {
|
|
173
|
-
...t,
|
|
174
|
-
cx: w.value.left + a / 2,
|
|
175
|
-
cy: o + a / 2,
|
|
176
|
-
datapointIndex: l,
|
|
177
|
-
fill: t.color,
|
|
178
|
-
height: Math.max(a, 0),
|
|
179
|
-
proportion: m,
|
|
180
|
-
r: Math.max(a / 2, 0),
|
|
181
|
-
width: Math.max(d, 0),
|
|
182
|
-
x: w.value.left + a + we.value,
|
|
183
|
-
y: o
|
|
184
|
-
};
|
|
185
|
-
})), Ke = v(() => {
|
|
186
|
-
const t = i.value.map((l) => `${l.x + l.width},${l.y + (z.value - T.value) / 2}`);
|
|
187
|
-
return `${i.value[0].x},${i.value[0].y + (z.value - T.value) / 2} ${t.toString()} ${i.value.at(-1).x},${i.value.at(-1).y + (z.value - T.value) / 2}`;
|
|
188
|
-
}), Qe = v(() => ({
|
|
189
|
-
x1: i.value[0].cx,
|
|
190
|
-
y1: i.value[0].cy,
|
|
191
|
-
x2: i.value.at(-1).cx,
|
|
192
|
-
y2: i.value.at(-1).cy
|
|
193
|
-
})), I = c(!1);
|
|
194
|
-
function $e(t) {
|
|
195
|
-
I.value = t, ue.value += 1;
|
|
196
|
-
}
|
|
197
|
-
const Ze = v(() => `${y.value.length * 150}ms`), H = c(!1);
|
|
198
|
-
function le() {
|
|
199
|
-
H.value = !H.value;
|
|
200
|
-
}
|
|
201
|
-
function Le() {
|
|
202
|
-
D.value.showTable = !D.value.showTable;
|
|
203
|
-
}
|
|
204
|
-
const U = v(() => {
|
|
205
|
-
const t = y.value.map((a) => ({
|
|
206
|
-
name: a.name,
|
|
207
|
-
color: a.color
|
|
208
|
-
})), l = y.value.map((a) => a.value);
|
|
209
|
-
return { head: t, body: l };
|
|
210
|
-
}), X = v(() => {
|
|
211
|
-
const t = [
|
|
212
|
-
e.value.table.columnNames.series,
|
|
213
|
-
e.value.table.columnNames.value,
|
|
214
|
-
e.value.table.columnNames.percentage
|
|
215
|
-
], l = U.value.head.map((m, d) => {
|
|
216
|
-
const V = J(
|
|
217
|
-
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
218
|
-
U.value.body[d],
|
|
219
|
-
K({
|
|
220
|
-
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
221
|
-
v: U.value.body[d],
|
|
222
|
-
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
223
|
-
r: e.value.table.td.roundingValue
|
|
224
|
-
}),
|
|
225
|
-
{ datapoint: i.value[d] }
|
|
226
|
-
), se = J(
|
|
227
|
-
e.value.style.chart.circles.dataLabels.formatter,
|
|
228
|
-
i.value[d].proportion * 100,
|
|
229
|
-
K({
|
|
230
|
-
v: i.value[d].proportion * 100,
|
|
231
|
-
s: "%",
|
|
232
|
-
r: e.value.table.td.roundingPercentage
|
|
233
|
-
}),
|
|
234
|
-
{ datapoint: i.value[d] }
|
|
235
|
-
);
|
|
236
|
-
return [{ color: m.color, name: m.name }, V, se];
|
|
237
|
-
}), a = {
|
|
238
|
-
th: {
|
|
239
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
240
|
-
color: e.value.table.th.color,
|
|
241
|
-
outline: e.value.table.th.outline
|
|
242
|
-
},
|
|
243
|
-
td: {
|
|
244
|
-
backgroundColor: e.value.table.td.backgroundColor,
|
|
245
|
-
color: e.value.table.td.color,
|
|
246
|
-
outline: e.value.table.td.outline
|
|
247
|
-
},
|
|
248
|
-
breakpoint: e.value.table.responsiveBreakpoint
|
|
249
|
-
};
|
|
250
|
-
return {
|
|
251
|
-
colNames: [
|
|
252
|
-
e.value.table.columnNames.series,
|
|
253
|
-
e.value.table.columnNames.value,
|
|
254
|
-
e.value.table.columnNames.percentage
|
|
255
|
-
],
|
|
256
|
-
head: t,
|
|
257
|
-
body: l,
|
|
258
|
-
config: a
|
|
259
|
-
};
|
|
260
|
-
});
|
|
261
|
-
function oe(t = null) {
|
|
262
|
-
ze(() => {
|
|
263
|
-
const l = U.value.head.map((m, d) => [
|
|
264
|
-
[m.name],
|
|
265
|
-
[U.value.body[d]],
|
|
266
|
-
[i.value[d].proportion * 100]
|
|
267
|
-
]), a = [
|
|
268
|
-
[e.value.style.chart.title.text],
|
|
269
|
-
[e.value.style.chart.title.subtitle.text],
|
|
270
|
-
[
|
|
271
|
-
[e.value.table.columnNames.series],
|
|
272
|
-
[e.value.table.columnNames.value],
|
|
273
|
-
["%"]
|
|
274
|
-
]
|
|
275
|
-
].concat(l), o = pt(a);
|
|
276
|
-
t ? t(o) : yt({
|
|
277
|
-
csvContent: o,
|
|
278
|
-
title: e.value.style.chart.title.text || "vue-ui-funnel"
|
|
279
|
-
});
|
|
280
|
-
});
|
|
281
|
-
}
|
|
282
|
-
function et() {
|
|
283
|
-
return y.value;
|
|
284
|
-
}
|
|
285
|
-
async function tt({ scale: t = 2 } = {}) {
|
|
286
|
-
if (!L.value) return;
|
|
287
|
-
const { width: l, height: a } = L.value.getBoundingClientRect(), o = l / a, { imageUri: m, base64: d } = await Tt({
|
|
288
|
-
domElement: L.value,
|
|
289
|
-
base64: !0,
|
|
290
|
-
img: !0,
|
|
291
|
-
scale: t
|
|
292
|
-
});
|
|
293
|
-
return {
|
|
294
|
-
imageUri: m,
|
|
295
|
-
base64: d,
|
|
296
|
-
title: e.value.style.chart.title.text,
|
|
297
|
-
width: l,
|
|
298
|
-
height: a,
|
|
299
|
-
aspectRatio: o
|
|
300
|
-
};
|
|
301
|
-
}
|
|
302
|
-
const M = v(() => {
|
|
303
|
-
const t = e.value.table.useDialog && !e.value.table.show, l = D.value.showTable;
|
|
304
|
-
return {
|
|
305
|
-
component: t ? He : Me,
|
|
306
|
-
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
307
|
-
props: t ? {
|
|
308
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
309
|
-
color: e.value.table.th.color,
|
|
310
|
-
headerColor: e.value.table.th.color,
|
|
311
|
-
headerBg: e.value.table.th.backgroundColor,
|
|
312
|
-
isFullscreen: I.value,
|
|
313
|
-
fullscreenParent: L.value,
|
|
314
|
-
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
315
|
-
} : {
|
|
316
|
-
hideDetails: !0,
|
|
317
|
-
config: {
|
|
318
|
-
open: l,
|
|
319
|
-
maxHeight: 1e4,
|
|
320
|
-
body: {
|
|
321
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
322
|
-
color: e.value.style.chart.color
|
|
323
|
-
},
|
|
324
|
-
head: {
|
|
325
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
326
|
-
color: e.value.style.chart.color
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
};
|
|
331
|
-
});
|
|
332
|
-
Oe(
|
|
333
|
-
() => D.value.showTable,
|
|
334
|
-
(t) => {
|
|
335
|
-
e.value.table.show || (t && e.value.table.useDialog && R.value ? R.value.open() : "close" in R.value && R.value.close());
|
|
336
|
-
}
|
|
337
|
-
);
|
|
338
|
-
function Ae() {
|
|
339
|
-
D.value.showTable = !1, Q.value && Q.value.setTableIconState(!1);
|
|
340
|
-
}
|
|
341
|
-
const at = v(() => e.value.style.chart.backgroundColor), lt = v(() => e.value.style.chart.title), { exportSvg: ot, getSvg: st } = Lt({
|
|
342
|
-
svg: ee,
|
|
343
|
-
title: lt,
|
|
344
|
-
backgroundColor: at
|
|
345
|
-
});
|
|
346
|
-
async function xe({ isCb: t }) {
|
|
347
|
-
j.value = !0, await ze();
|
|
348
|
-
try {
|
|
349
|
-
if (t) {
|
|
350
|
-
const { blob: l, url: a, text: o, dataUrl: m } = await st();
|
|
351
|
-
await Promise.resolve(
|
|
352
|
-
e.value.userOptions.callbacks.svg({
|
|
353
|
-
blob: l,
|
|
354
|
-
url: a,
|
|
355
|
-
text: o,
|
|
356
|
-
dataUrl: m
|
|
357
|
-
})
|
|
358
|
-
);
|
|
359
|
-
} else
|
|
360
|
-
await Promise.resolve(ot());
|
|
361
|
-
} finally {
|
|
362
|
-
j.value = !1;
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
function nt(t) {
|
|
366
|
-
if (t?.stage === "start") {
|
|
367
|
-
G.value = !0;
|
|
368
|
-
return;
|
|
369
|
-
}
|
|
370
|
-
if (t?.stage === "end") {
|
|
371
|
-
G.value = !1;
|
|
372
|
-
return;
|
|
373
|
-
}
|
|
374
|
-
Ce();
|
|
375
|
-
}
|
|
376
|
-
async function Se() {
|
|
377
|
-
if (Ye("copyAlt", {
|
|
378
|
-
config: e.value,
|
|
379
|
-
dataset: y.value
|
|
380
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
381
|
-
console.warn(
|
|
382
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
383
|
-
);
|
|
384
|
-
return;
|
|
385
|
-
}
|
|
386
|
-
await Promise.resolve(
|
|
387
|
-
e.value.userOptions.callbacks.altCopy({
|
|
388
|
-
config: e.value,
|
|
389
|
-
dataset: y.value
|
|
390
|
-
})
|
|
391
|
-
);
|
|
392
|
-
}
|
|
393
|
-
return Fe({
|
|
394
|
-
getData: et,
|
|
395
|
-
getImage: tt,
|
|
396
|
-
generatePdf: ye,
|
|
397
|
-
generateCsv: oe,
|
|
398
|
-
generateImage: Ce,
|
|
399
|
-
generateSvg: xe,
|
|
400
|
-
toggleTable: Le,
|
|
401
|
-
toggleAnnotator: le,
|
|
402
|
-
toggleFullscreen: $e,
|
|
403
|
-
copyAlt: Se
|
|
404
|
-
}), (t, l) => (n(), h("div", {
|
|
405
|
-
ref_key: "funnelChart",
|
|
406
|
-
ref: L,
|
|
407
|
-
class: N(`vue-data-ui-component vue-ui-funnel ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
408
|
-
style: O(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
409
|
-
id: `funnel_${B.value}`,
|
|
410
|
-
onMouseenter: l[1] || (l[1] = () => s(ge)(!0)),
|
|
411
|
-
onMouseleave: l[2] || (l[2] = () => s(ge)(!1))
|
|
412
|
-
}, [
|
|
413
|
-
e.value.userOptions.buttons.annotator ? (n(), F(s(Ge), {
|
|
414
|
-
key: 0,
|
|
415
|
-
svgRef: s(ee),
|
|
416
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
417
|
-
color: e.value.style.chart.color,
|
|
418
|
-
active: H.value,
|
|
419
|
-
isCursorPointer: me.value,
|
|
420
|
-
onClose: le
|
|
421
|
-
}, {
|
|
422
|
-
"annotator-action-close": r(() => [
|
|
423
|
-
u(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
424
|
-
]),
|
|
425
|
-
"annotator-action-color": r(({ color: a }) => [
|
|
426
|
-
u(t.$slots, "annotator-action-color", C(k({ color: a })), void 0, !0)
|
|
427
|
-
]),
|
|
428
|
-
"annotator-action-draw": r(({ mode: a }) => [
|
|
429
|
-
u(t.$slots, "annotator-action-draw", C(k({ mode: a })), void 0, !0)
|
|
430
|
-
]),
|
|
431
|
-
"annotator-action-undo": r(({ disabled: a }) => [
|
|
432
|
-
u(t.$slots, "annotator-action-undo", C(k({ disabled: a })), void 0, !0)
|
|
433
|
-
]),
|
|
434
|
-
"annotator-action-redo": r(({ disabled: a }) => [
|
|
435
|
-
u(t.$slots, "annotator-action-redo", C(k({ disabled: a })), void 0, !0)
|
|
436
|
-
]),
|
|
437
|
-
"annotator-action-delete": r(({ disabled: a }) => [
|
|
438
|
-
u(t.$slots, "annotator-action-delete", C(k({ disabled: a })), void 0, !0)
|
|
439
|
-
]),
|
|
440
|
-
_: 3
|
|
441
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : g("", !0),
|
|
442
|
-
Je.value ? (n(), h("div", {
|
|
443
|
-
key: 1,
|
|
444
|
-
ref_key: "noTitle",
|
|
445
|
-
ref: ve,
|
|
446
|
-
class: "vue-data-ui-no-title-space",
|
|
447
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
448
|
-
}, null, 512)) : g("", !0),
|
|
449
|
-
e.value.style.chart.title.text ? (n(), h("div", {
|
|
450
|
-
key: 2,
|
|
451
|
-
ref_key: "chartTitle",
|
|
452
|
-
ref: he,
|
|
453
|
-
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
454
|
-
}, [
|
|
455
|
-
(n(), F(Ot, {
|
|
456
|
-
key: `title_${ie.value}`,
|
|
457
|
-
config: {
|
|
458
|
-
title: {
|
|
459
|
-
cy: "funnel-div-title",
|
|
460
|
-
...e.value.style.chart.title
|
|
461
|
-
},
|
|
462
|
-
subtitle: {
|
|
463
|
-
cy: "funnel-div-subtitle",
|
|
464
|
-
...e.value.style.chart.title.subtitle
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
}, null, 8, ["config"]))
|
|
468
|
-
], 512)) : g("", !0),
|
|
469
|
-
e.value.userOptions.show && P.value && (s(pe) || s(Z)) ? (n(), F(s(Ee), {
|
|
470
|
-
ref_key: "userOptionsRef",
|
|
471
|
-
ref: Q,
|
|
472
|
-
key: `user_option_${ue.value}`,
|
|
473
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
474
|
-
color: e.value.style.chart.color,
|
|
475
|
-
isPrinting: s(te),
|
|
476
|
-
isImaging: s(ae),
|
|
477
|
-
uid: B.value,
|
|
478
|
-
hasTooltip: !1,
|
|
479
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
480
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
481
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
482
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
483
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
484
|
-
hasLabel: !1,
|
|
485
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
486
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
487
|
-
isFullscreen: I.value,
|
|
488
|
-
chartElement: L.value,
|
|
489
|
-
position: e.value.userOptions.position,
|
|
490
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
491
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
492
|
-
isAnnotation: H.value,
|
|
493
|
-
callbacks: e.value.userOptions.callbacks,
|
|
494
|
-
printScale: e.value.userOptions.print.scale,
|
|
495
|
-
tableDialog: e.value.table.useDialog,
|
|
496
|
-
isCursorPointer: me.value,
|
|
497
|
-
onToggleAnnotator: le,
|
|
498
|
-
onToggleFullscreen: $e,
|
|
499
|
-
onGeneratePdf: s(ye),
|
|
500
|
-
onGenerateImage: nt,
|
|
501
|
-
onGenerateSvg: xe,
|
|
502
|
-
onToggleTable: Le,
|
|
503
|
-
onGenerateCsv: oe,
|
|
504
|
-
onCopyAlt: Se,
|
|
505
|
-
style: O({
|
|
506
|
-
visibility: s(pe) ? s(Z) ? "visible" : "hidden" : "visible"
|
|
507
|
-
})
|
|
508
|
-
}, _e({ _: 2 }, [
|
|
509
|
-
t.$slots.menuIcon ? {
|
|
510
|
-
name: "menuIcon",
|
|
511
|
-
fn: r(({ isOpen: a, color: o }) => [
|
|
512
|
-
u(t.$slots, "menuIcon", C(k({ isOpen: a, color: o })), void 0, !0)
|
|
513
|
-
]),
|
|
514
|
-
key: "0"
|
|
515
|
-
} : void 0,
|
|
516
|
-
t.$slots.optionPdf ? {
|
|
517
|
-
name: "optionPdf",
|
|
518
|
-
fn: r(() => [
|
|
519
|
-
u(t.$slots, "optionPdf", {}, void 0, !0)
|
|
520
|
-
]),
|
|
521
|
-
key: "1"
|
|
522
|
-
} : void 0,
|
|
523
|
-
t.$slots.optionCsv ? {
|
|
524
|
-
name: "optionCsv",
|
|
525
|
-
fn: r(() => [
|
|
526
|
-
u(t.$slots, "optionCsv", {}, void 0, !0)
|
|
527
|
-
]),
|
|
528
|
-
key: "2"
|
|
529
|
-
} : void 0,
|
|
530
|
-
t.$slots.optionImg ? {
|
|
531
|
-
name: "optionImg",
|
|
532
|
-
fn: r(() => [
|
|
533
|
-
u(t.$slots, "optionImg", {}, void 0, !0)
|
|
534
|
-
]),
|
|
535
|
-
key: "3"
|
|
536
|
-
} : void 0,
|
|
537
|
-
t.$slots.optionSvg ? {
|
|
538
|
-
name: "optionSvg",
|
|
539
|
-
fn: r(() => [
|
|
540
|
-
u(t.$slots, "optionSvg", {}, void 0, !0)
|
|
541
|
-
]),
|
|
542
|
-
key: "4"
|
|
543
|
-
} : void 0,
|
|
544
|
-
t.$slots.optionTable ? {
|
|
545
|
-
name: "optionTable",
|
|
546
|
-
fn: r(() => [
|
|
547
|
-
u(t.$slots, "optionTable", {}, void 0, !0)
|
|
548
|
-
]),
|
|
549
|
-
key: "5"
|
|
550
|
-
} : void 0,
|
|
551
|
-
t.$slots.optionFullscreen ? {
|
|
552
|
-
name: "optionFullscreen",
|
|
553
|
-
fn: r(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
554
|
-
u(t.$slots, "optionFullscreen", C(k({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
555
|
-
]),
|
|
556
|
-
key: "6"
|
|
557
|
-
} : void 0,
|
|
558
|
-
t.$slots.optionAnnotator ? {
|
|
559
|
-
name: "optionAnnotator",
|
|
560
|
-
fn: r(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
561
|
-
u(t.$slots, "optionAnnotator", C(k({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
562
|
-
]),
|
|
563
|
-
key: "7"
|
|
564
|
-
} : void 0,
|
|
565
|
-
t.$slots.optionAltCopy ? {
|
|
566
|
-
name: "optionAltCopy",
|
|
567
|
-
fn: r(({ altCopy: a }) => [
|
|
568
|
-
u(t.$slots, "optionAltCopy", C(k({ altCopy: a })), void 0, !0)
|
|
569
|
-
]),
|
|
570
|
-
key: "8"
|
|
571
|
-
} : void 0
|
|
572
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : g("", !0),
|
|
573
|
-
P.value ? (n(), h("svg", {
|
|
574
|
-
key: 4,
|
|
575
|
-
ref_key: "svgRef",
|
|
576
|
-
ref: ee,
|
|
577
|
-
xmlns: s(mt),
|
|
578
|
-
class: N({
|
|
579
|
-
"vue-data-ui-fullscreen--on": I.value,
|
|
580
|
-
"vue-data-ui-fulscreen--off": !I.value
|
|
581
|
-
}),
|
|
582
|
-
viewBox: `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`,
|
|
583
|
-
style: O(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
584
|
-
}, [
|
|
585
|
-
Pe(s(je)),
|
|
586
|
-
t.$slots["chart-background"] ? (n(), h("foreignObject", {
|
|
587
|
-
key: 0,
|
|
588
|
-
x: 0,
|
|
589
|
-
y: 0,
|
|
590
|
-
width: b.value.width <= 0 ? 10 : b.value.width,
|
|
591
|
-
height: b.value.height <= 0 ? 10 : b.value.height,
|
|
592
|
-
style: {
|
|
593
|
-
pointerEvents: "none"
|
|
594
|
-
}
|
|
595
|
-
}, [
|
|
596
|
-
u(t.$slots, "chart-background", {}, void 0, !0)
|
|
597
|
-
], 8, It)) : g("", !0),
|
|
598
|
-
$("defs", null, [
|
|
599
|
-
$("linearGradient", {
|
|
600
|
-
id: `funnel_area_${B.value}`,
|
|
601
|
-
x1: "0%",
|
|
602
|
-
x2: "100%",
|
|
603
|
-
y1: "0%",
|
|
604
|
-
y2: "0%"
|
|
605
|
-
}, [
|
|
606
|
-
$("stop", {
|
|
607
|
-
offset: "0%",
|
|
608
|
-
"stop-color": e.value.style.chart.backgroundColor,
|
|
609
|
-
"stop-opacity": 0
|
|
610
|
-
}, null, 8, Ft),
|
|
611
|
-
$("stop", {
|
|
612
|
-
offset: "20%",
|
|
613
|
-
"stop-color": e.value.style.chart.area.color
|
|
614
|
-
}, null, 8, Bt),
|
|
615
|
-
$("stop", {
|
|
616
|
-
offset: "100%",
|
|
617
|
-
"stop-color": e.value.style.chart.area.color
|
|
618
|
-
}, null, 8, Rt)
|
|
619
|
-
], 8, Nt)
|
|
620
|
-
]),
|
|
621
|
-
e.value.style.chart.circleLinks.show ? (n(), h("line", W({ key: 1 }, Qe.value, {
|
|
622
|
-
stroke: e.value.style.chart.circleLinks.color,
|
|
623
|
-
"stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
|
|
624
|
-
"stroke-linecap": "round",
|
|
625
|
-
class: {
|
|
626
|
-
animated: e.value.useCssAnimation
|
|
627
|
-
},
|
|
628
|
-
style: {
|
|
629
|
-
strokeDasharray: e.value.useCssAnimation ? w.value.height : 0,
|
|
630
|
-
strokeDashoffset: e.value.useCssAnimation ? w.value.height : 0
|
|
631
|
-
}
|
|
632
|
-
}), null, 16, Ut)) : g("", !0),
|
|
633
|
-
(n(!0), h(q, null, Y(i.value, ({ cx: a, cy: o, r: m, fill: d }, V) => (n(), h("circle", W({ ref_for: !0 }, { cx: a, cy: o, r: m, fill: d }, {
|
|
634
|
-
stroke: e.value.style.chart.circles.stroke,
|
|
635
|
-
"stroke-width": e.value.style.chart.circles.strokeWidth,
|
|
636
|
-
class: {
|
|
637
|
-
animated: e.value.useCssAnimation && !S.value
|
|
638
|
-
},
|
|
639
|
-
style: {
|
|
640
|
-
animationDelay: `${150 * V}ms`
|
|
641
|
-
}
|
|
642
|
-
}), null, 16, Mt))), 256)),
|
|
643
|
-
(n(!0), h(q, null, Y(i.value, (a, o) => (n(), h("text", {
|
|
644
|
-
x: a.cx,
|
|
645
|
-
y: a.cy + f.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
|
|
646
|
-
"text-anchor": "middle",
|
|
647
|
-
"font-size": f.value.circles,
|
|
648
|
-
fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? s(gt)(a.color) : e.value.style.chart.circles.dataLabels.color,
|
|
649
|
-
"font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
|
|
650
|
-
class: N({
|
|
651
|
-
animated: e.value.useCssAnimation && !S.value
|
|
652
|
-
}),
|
|
653
|
-
style: O({
|
|
654
|
-
animationDelay: `${150 * o}ms`
|
|
655
|
-
})
|
|
656
|
-
}, E(s(J)(
|
|
657
|
-
e.value.style.chart.circles.dataLabels.formatter,
|
|
658
|
-
a.proportion * 100,
|
|
659
|
-
s(K)({
|
|
660
|
-
v: a.proportion * 100,
|
|
661
|
-
s: "%",
|
|
662
|
-
r: e.value.style.chart.circles.dataLabels.rounding
|
|
663
|
-
}),
|
|
664
|
-
{ datapoint: a }
|
|
665
|
-
)), 15, Vt))), 256)),
|
|
666
|
-
e.value.style.chart.area.show ? (n(), h("polygon", {
|
|
667
|
-
key: 2,
|
|
668
|
-
points: Ke.value,
|
|
669
|
-
fill: `url(#funnel_area_${B.value})`,
|
|
670
|
-
class: N({
|
|
671
|
-
animated: e.value.useCssAnimation && !S.value
|
|
672
|
-
}),
|
|
673
|
-
style: O({
|
|
674
|
-
transition: e.value.useCssAnimation ? `all ${150 * y.value.length}ms ease-in` : "none"
|
|
675
|
-
})
|
|
676
|
-
}, null, 14, Et)) : g("", !0),
|
|
677
|
-
(n(!0), h(q, null, Y(i.value, ({ x: a, y: o, height: m, width: d, fill: V }, se) => (n(), h("rect", W({ ref_for: !0 }, { x: a, y: o, height: m, width: d, fill: V }, {
|
|
678
|
-
stroke: e.value.style.chart.bars.stroke,
|
|
679
|
-
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
680
|
-
rx: e.value.style.chart.bars.borderRadius,
|
|
681
|
-
class: {
|
|
682
|
-
animated: e.value.useCssAnimation && !S.value
|
|
683
|
-
},
|
|
684
|
-
style: {
|
|
685
|
-
animationDelay: `${150 * se}ms`
|
|
686
|
-
}
|
|
687
|
-
}), null, 16, Gt))), 256)),
|
|
688
|
-
(n(!0), h(q, null, Y(i.value, (a, o) => (n(), h("g", null, [
|
|
689
|
-
$("text", {
|
|
690
|
-
x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
|
|
691
|
-
y: a.cy - f.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
|
|
692
|
-
"text-anchor": "start",
|
|
693
|
-
"font-size": f.value.names,
|
|
694
|
-
fill: e.value.style.chart.bars.dataLabels.name.color,
|
|
695
|
-
"font-weight": e.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
|
|
696
|
-
class: N({
|
|
697
|
-
animated: e.value.useCssAnimation && !S.value
|
|
698
|
-
}),
|
|
699
|
-
style: O({
|
|
700
|
-
animationDelay: `${150 * o}ms`
|
|
701
|
-
})
|
|
702
|
-
}, E(a.name), 15, jt),
|
|
703
|
-
$("text", {
|
|
704
|
-
x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
|
|
705
|
-
y: a.cy + f.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
|
|
706
|
-
"text-anchor": "start",
|
|
707
|
-
"font-size": f.value.values,
|
|
708
|
-
fill: e.value.style.chart.bars.dataLabels.value.color,
|
|
709
|
-
"font-weight": e.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
|
|
710
|
-
class: N({
|
|
711
|
-
animated: e.value.useCssAnimation && !S.value
|
|
712
|
-
}),
|
|
713
|
-
style: O({
|
|
714
|
-
animationDelay: `${150 * o}ms`
|
|
715
|
-
})
|
|
716
|
-
}, E(s(J)(
|
|
717
|
-
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
718
|
-
a.value,
|
|
719
|
-
s(K)({
|
|
720
|
-
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
721
|
-
v: a.value,
|
|
722
|
-
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
723
|
-
r: e.value.style.chart.bars.dataLabels.value.rounding
|
|
724
|
-
}),
|
|
725
|
-
{ datapoint: a }
|
|
726
|
-
)), 15, Ht)
|
|
727
|
-
]))), 256)),
|
|
728
|
-
u(t.$slots, "svg", {
|
|
729
|
-
svg: {
|
|
730
|
-
...b.value,
|
|
731
|
-
isPrintingImg: s(te) | s(ae) | G.value,
|
|
732
|
-
isPrintingSvg: j.value
|
|
733
|
-
}
|
|
734
|
-
}, void 0, !0)
|
|
735
|
-
], 14, zt)) : g("", !0),
|
|
736
|
-
t.$slots.watermark ? (n(), h("div", Xt, [
|
|
737
|
-
u(t.$slots, "watermark", C(k({
|
|
738
|
-
isPrinting: s(te) || s(ae) || G.value || j.value
|
|
739
|
-
})), void 0, !0)
|
|
740
|
-
])) : g("", !0),
|
|
741
|
-
P.value ? g("", !0) : (n(), F(s(Ue), {
|
|
742
|
-
key: 6,
|
|
743
|
-
config: {
|
|
744
|
-
type: "verticalBar",
|
|
745
|
-
style: {
|
|
746
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
747
|
-
verticalBar: {
|
|
748
|
-
axis: {
|
|
749
|
-
color: "#CCCCCC"
|
|
750
|
-
},
|
|
751
|
-
color: "#CCCCCC"
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
}, null, 8, ["config"])),
|
|
756
|
-
t.$slots.source ? (n(), h("div", {
|
|
757
|
-
key: 7,
|
|
758
|
-
ref_key: "source",
|
|
759
|
-
ref: de,
|
|
760
|
-
dir: "auto"
|
|
761
|
-
}, [
|
|
762
|
-
u(t.$slots, "source", {}, void 0, !0)
|
|
763
|
-
], 512)) : g("", !0),
|
|
764
|
-
P.value && e.value.userOptions.buttons.table ? (n(), F(ct(M.value.component), W({ key: 8 }, M.value.props, {
|
|
765
|
-
ref_key: "tableUnit",
|
|
766
|
-
ref: R,
|
|
767
|
-
onClose: Ae
|
|
768
|
-
}), _e({
|
|
769
|
-
content: r(() => [
|
|
770
|
-
(n(), F(s(Ve), {
|
|
771
|
-
key: `table_${ce.value}`,
|
|
772
|
-
colNames: X.value.colNames,
|
|
773
|
-
head: X.value.head,
|
|
774
|
-
body: X.value.body,
|
|
775
|
-
config: X.value.config,
|
|
776
|
-
title: e.value.table.useDialog ? "" : M.value.title,
|
|
777
|
-
withCloseButton: !e.value.table.useDialog,
|
|
778
|
-
onClose: Ae
|
|
779
|
-
}, {
|
|
780
|
-
th: r(({ th: a }) => [
|
|
781
|
-
$("div", {
|
|
782
|
-
innerHTML: a,
|
|
783
|
-
style: { display: "flex", "align-items": "center" }
|
|
784
|
-
}, null, 8, Wt)
|
|
785
|
-
]),
|
|
786
|
-
td: r(({ td: a }) => [
|
|
787
|
-
De(E(a.name ? a.name : a), 1)
|
|
788
|
-
]),
|
|
789
|
-
_: 1
|
|
790
|
-
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
791
|
-
]),
|
|
792
|
-
_: 2
|
|
793
|
-
}, [
|
|
794
|
-
e.value.table.useDialog ? {
|
|
795
|
-
name: "title",
|
|
796
|
-
fn: r(() => [
|
|
797
|
-
De(E(M.value.title), 1)
|
|
798
|
-
]),
|
|
799
|
-
key: "0"
|
|
800
|
-
} : void 0,
|
|
801
|
-
e.value.table.useDialog ? {
|
|
802
|
-
name: "actions",
|
|
803
|
-
fn: r(() => [
|
|
804
|
-
$("button", {
|
|
805
|
-
tabindex: "0",
|
|
806
|
-
class: "vue-ui-user-options-button",
|
|
807
|
-
onClick: l[0] || (l[0] = (a) => oe(e.value.userOptions.callbacks.csv))
|
|
808
|
-
}, [
|
|
809
|
-
Pe(s(Re), {
|
|
810
|
-
name: "fileCsv",
|
|
811
|
-
stroke: M.value.props.color
|
|
812
|
-
}, null, 8, ["stroke"])
|
|
813
|
-
])
|
|
814
|
-
]),
|
|
815
|
-
key: "1"
|
|
816
|
-
} : void 0
|
|
817
|
-
]), 1040)) : g("", !0)
|
|
818
|
-
], 46, Dt));
|
|
819
|
-
}
|
|
820
|
-
}, ia = /* @__PURE__ */ Pt(qt, [["__scopeId", "data-v-d310d5f9"]]);
|
|
821
|
-
export {
|
|
822
|
-
ia as default
|
|
823
|
-
};
|