vue-data-ui 3.19.8 → 3.20.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/README.md +1 -1
- package/dist/{A11yDataTable-q2-8fSlJ.js → A11yDataTable-BCbtxMU6.js} +1 -1
- package/dist/{Arrow-Cj6W6Xbi.js → Arrow-D6j6ocXm.js} +1 -1
- package/dist/{BaseDraggableDialog-DUUu2E2Q.js → BaseDraggableDialog-4hDW-Rj2.js} +4 -4
- package/dist/{BaseIcon-DM1x8hQF.js → BaseIcon-DfLoHNUj.js} +3 -3
- package/dist/{BaseLegendToggle-CJTwLGXL.js → BaseLegendToggle-C_Db-y7s.js} +2 -2
- package/dist/{BaseScanner-C7dmAref.js → BaseScanner-Dr2a1Msy.js} +1 -1
- package/dist/{BaseZoomControls-BkajQ8q9.js → BaseZoomControls-CG7hI_1P.js} +3 -3
- package/dist/{ColorPicker-DTQeqKUV.js → ColorPicker-Bjwxnvfh.js} +4 -4
- package/dist/{DataTable-DmE8Oo4i.js → DataTable-B--IN22e.js} +3 -3
- package/dist/{Legend-Gg5Q4Clb.js → Legend-Cz2uQ5gs.js} +4 -4
- package/dist/{NonSvgPenAndPaper-tvWXeCsd.js → NonSvgPenAndPaper-gLNJ1Lmr.js} +28 -28
- package/dist/{PackageVersion-zJAUEmyB.js → PackageVersion-xcyrdRmY.js} +2 -2
- package/dist/{PenAndPaper-DNgm6y3l.js → PenAndPaper-DqrClVfb.js} +11 -11
- package/dist/{Shape-DEGOZ6GG.js → Shape-BPCJfphn.js} +1 -1
- package/dist/{Slicer-CPWGgGSp.js → Slicer-SHBj0VaV.js} +19 -19
- package/dist/{SlicerPreview-BU3ZeHjR.js → SlicerPreview-DdihbUSJ.js} +474 -361
- package/dist/{SparkTooltip-c2DL7gqD.js → SparkTooltip-CfE6yCad.js} +7 -7
- package/dist/{Title-__gWq2g6.js → Title-NWp4qB4K.js} +2 -2
- package/dist/{Tooltip-CuWEYGr3.js → Tooltip-BENq327o.js} +1 -1
- package/dist/{UserOptions-D7zR0tnR.js → UserOptions-C1NgoGu6.js} +5 -5
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-pattern-seed.js +1 -1
- package/dist/components/vue-ui-pattern.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-9WSt6hXe.js → dom-to-png-BYtB4BF3.js} +1 -1
- package/dist/exposedLib-CI8ji8G-.js +19 -0
- package/dist/{geoProjections-CQIkC70z.js → geoProjections-Czak6Jn1.js} +3 -4
- package/dist/{img-BjOr008R.js → img-1cKsci8e.js} +2 -2
- package/dist/{labelUtils-Cr97N8E1.js → labelUtils-CUctkYoA.js} +1 -1
- package/dist/{lib-BkiwukKO.js → lib-DUeYQsS0.js} +4 -1
- package/dist/{pdf-DSXSFUnK.js → pdf-D0eZ99cP.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1557 -193
- package/dist/types/vue-ui-3d-bar.d.ts +16 -1
- package/dist/types/vue-ui-age-pyramid.d.ts +14 -1
- package/dist/types/vue-ui-annotator.d.ts +28 -6
- package/dist/types/vue-ui-bullet.d.ts +14 -1
- package/dist/types/vue-ui-bump.d.ts +16 -1
- package/dist/types/vue-ui-candlestick.d.ts +16 -3
- package/dist/types/vue-ui-carousel-table.d.ts +14 -1
- package/dist/types/vue-ui-chestnut.d.ts +20 -1
- package/dist/types/vue-ui-chord.d.ts +20 -1
- package/dist/types/vue-ui-circle-pack.d.ts +16 -1
- package/dist/types/vue-ui-dag.d.ts +22 -1
- package/dist/types/vue-ui-dashboard.d.ts +16 -1
- package/dist/types/vue-ui-donut-evolution.d.ts +16 -1
- package/dist/types/vue-ui-donut.d.ts +18 -1
- package/dist/types/vue-ui-dumbbell.d.ts +16 -1
- package/dist/types/vue-ui-flow.d.ts +14 -1
- package/dist/types/vue-ui-funnel.d.ts +14 -1
- package/dist/types/vue-ui-galaxy.d.ts +18 -1
- package/dist/types/vue-ui-gauge.d.ts +14 -1
- package/dist/types/vue-ui-geo.d.ts +14 -1
- package/dist/types/vue-ui-heatmap.d.ts +16 -1
- package/dist/types/vue-ui-history-plot.d.ts +18 -1
- package/dist/types/vue-ui-horizontal-bar.d.ts +18 -1
- package/dist/types/vue-ui-molecule.d.ts +16 -1
- package/dist/types/vue-ui-mood-radar.d.ts +14 -1
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -1
- package/dist/types/vue-ui-onion.d.ts +16 -1
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +18 -1
- package/dist/types/vue-ui-quadrant.d.ts +24 -1
- package/dist/types/vue-ui-quick-chart.d.ts +20 -1
- package/dist/types/vue-ui-radar.d.ts +16 -1
- package/dist/types/vue-ui-rating.d.ts +12 -1
- package/dist/types/vue-ui-relation-circle.d.ts +14 -1
- package/dist/types/vue-ui-ridgeline.d.ts +22 -1
- package/dist/types/vue-ui-rings.d.ts +16 -1
- package/dist/types/vue-ui-scatter.d.ts +16 -1
- package/dist/types/vue-ui-smiley.d.ts +22 -6
- package/dist/types/vue-ui-sparkbar.d.ts +14 -1
- package/dist/types/vue-ui-sparkhistogram.d.ts +14 -1
- package/dist/types/vue-ui-sparkline.d.ts +16 -1
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -1
- package/dist/types/vue-ui-stackbar.d.ts +22 -1
- package/dist/types/vue-ui-stackline.d.ts +22 -1
- package/dist/types/vue-ui-strip-plot.d.ts +16 -1
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -1
- package/dist/types/vue-ui-table.d.ts +17 -4
- package/dist/types/vue-ui-thermometer.d.ts +14 -1
- package/dist/types/vue-ui-timer.d.ts +14 -1
- package/dist/types/vue-ui-tiremarks.d.ts +14 -1
- package/dist/types/vue-ui-treemap.d.ts +18 -1
- package/dist/types/vue-ui-waffle.d.ts +16 -1
- package/dist/types/vue-ui-wheel.d.ts +14 -1
- package/dist/types/vue-ui-word-cloud.d.ts +14 -1
- package/dist/types/vue-ui-world.d.ts +18 -1
- package/dist/types/vue-ui-xy-canvas.d.ts +18 -1
- package/dist/types/vue-ui-xy.d.ts +22 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-dp-3Gg97.js → useAutoSizeLabelsInsideViewbox-BIVntRZp.js} +1 -1
- package/dist/{useConfig-ByaaSKhz.js → useConfig-DAyQk86L.js} +9 -1
- package/dist/{useNestedProp-Ck4hsrpu.js → useNestedProp-CNcoy38D.js} +2 -2
- package/dist/{useObjectBindings-BR1sGimd.js → useObjectBindings-BI7hP-BC.js} +53 -53
- package/dist/{usePrinter-X0yWOynH.js → usePrinter-C1Gqt_Sp.js} +2 -2
- package/dist/utils.js +4 -4
- package/dist/{vue-data-ui-Dv8MNDbS.js → vue-data-ui-qpQv-4uP.js} +69 -69
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-DVsF4qGd.js → vue-ui-3d-bar-C8cputoI.js} +312 -312
- package/dist/{vue-ui-accordion-BX9WL-QF.js → vue-ui-accordion-Dw4MHKVB.js} +6 -6
- package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +1238 -0
- package/dist/{vue-ui-annotator-Be3VpH8Z.js → vue-ui-annotator-DLPUAKlm.js} +66 -66
- package/dist/vue-ui-bullet-DLxmtMJ9.js +710 -0
- package/dist/{vue-ui-bump-C1w-a4ad.js → vue-ui-bump-DVaqtZbd.js} +260 -260
- package/dist/{vue-ui-candlestick-zO0Jmsen.js → vue-ui-candlestick-CkApimw1.js} +81 -81
- package/dist/vue-ui-carousel-table-CbfIBWl3.js +455 -0
- package/dist/vue-ui-chestnut-CQT4nCFL.js +2010 -0
- package/dist/vue-ui-chord-8IjSrg6f.js +1391 -0
- package/dist/{vue-ui-circle-pack-Dp5_ugXW.js → vue-ui-circle-pack-B1CpTtpw.js} +51 -51
- package/dist/{vue-ui-cursor-DBViygOD.js → vue-ui-cursor-NaTj5i2-.js} +6 -6
- package/dist/{vue-ui-dag-BA2vr2Ub.js → vue-ui-dag-DH4ocx0S.js} +46 -46
- package/dist/{vue-ui-dashboard-D11FCHnp.js → vue-ui-dashboard-Ckff1yim.js} +73 -73
- package/dist/{vue-ui-digits-CIXbRR97.js → vue-ui-digits-DwLlJqbW.js} +6 -6
- package/dist/vue-ui-donut-DQdIdwRU.js +2410 -0
- package/dist/vue-ui-donut-evolution-MfM5kK6w.js +1510 -0
- package/dist/vue-ui-dumbbell-B2T4vlK-.js +1530 -0
- package/dist/{vue-ui-flow-Dly7N0Nb.js → vue-ui-flow-CJh6f72m.js} +107 -107
- package/dist/vue-ui-funnel-C9gfXNCr.js +777 -0
- package/dist/vue-ui-galaxy-pBR_FESJ.js +1077 -0
- package/dist/vue-ui-gauge-CAemxCGl.js +920 -0
- package/dist/{vue-ui-geo-CV0FBeuB.js → vue-ui-geo-BDQqaukJ.js} +35 -35
- package/dist/{vue-ui-gizmo-5rdIvscj.js → vue-ui-gizmo-B1ppjqPj.js} +63 -63
- package/dist/{vue-ui-heatmap-kiQ6q3q4.js → vue-ui-heatmap-BiC9xp8L.js} +259 -259
- package/dist/vue-ui-history-plot-iAPjlOja.js +1554 -0
- package/dist/vue-ui-horizontal-bar-CcgClgLg.js +1681 -0
- package/dist/{vue-ui-kpi-Bz7QeCTV.js → vue-ui-kpi-CJ5oyYLS.js} +6 -6
- package/dist/{vue-ui-mini-loader-DDJUya9e.js → vue-ui-mini-loader-CyqBt2g4.js} +5 -5
- package/dist/vue-ui-molecule-Cg9ZHa6b.js +925 -0
- package/dist/{vue-ui-mood-radar-D0lanJ__.js → vue-ui-mood-radar-N8osOTFR.js} +36 -36
- package/dist/vue-ui-nested-donuts-CwH3wKgX.js +1487 -0
- package/dist/{vue-ui-onion-u9hGe4VA.js → vue-ui-onion-C56gFjO6.js} +296 -296
- package/dist/{vue-ui-parallel-coordinate-plot-BJ5OjYTH.js → vue-ui-parallel-coordinate-plot-C-jj819p.js} +203 -212
- package/dist/{vue-ui-pattern-seed-abRweCDE.js → vue-ui-pattern-seed-BB1honLm.js} +1 -1
- package/dist/{vue-ui-quadrant-BVFJ5Vur.js → vue-ui-quadrant-DYc9xZY3.js} +444 -444
- package/dist/vue-ui-quick-chart-BG7kK_-q.js +2469 -0
- package/dist/{vue-ui-radar-BsRGxgXN.js → vue-ui-radar-CgKog9Xw.js} +186 -183
- package/dist/{vue-ui-rating-D_QR_A3V.js → vue-ui-rating-BG4lf1z8.js} +41 -41
- package/dist/vue-ui-relation-circle-D-rUk-0P.js +924 -0
- package/dist/{vue-ui-ridgeline-BtNEP6ba.js → vue-ui-ridgeline-DPrlVJTW.js} +377 -377
- package/dist/{vue-ui-rings-Pj7yMeOV.js → vue-ui-rings-CIvvHHsF.js} +199 -196
- package/dist/vue-ui-scatter-CeBQJbGx.js +2413 -0
- package/dist/{vue-ui-skeleton-Cqv1KG4y.js → vue-ui-skeleton-BKoa_G6d.js} +44 -44
- package/dist/{vue-ui-smiley-rFdGxZK6.js → vue-ui-smiley-G89TxRU-.js} +14 -14
- package/dist/{vue-ui-spark-trend-eHleRq-z.js → vue-ui-spark-trend-DGOrPr9I.js} +121 -121
- package/dist/{vue-ui-sparkbar-BHJTG_on.js → vue-ui-sparkbar-BVumo-YD.js} +107 -107
- package/dist/{vue-ui-sparkgauge-DpAEwvLX.js → vue-ui-sparkgauge-BoCwdQcu.js} +56 -56
- package/dist/{vue-ui-sparkhistogram-BlMH_NJk.js → vue-ui-sparkhistogram-4qXY1LXW.js} +112 -112
- package/dist/vue-ui-sparkline-C0kzXrwI.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-BI8zG-DG.js → vue-ui-sparkstackbar-DG7hz_KM.js} +137 -137
- package/dist/{vue-ui-stackbar-28FVVqVu.js → vue-ui-stackbar-Dnq4l5xs.js} +344 -341
- package/dist/vue-ui-stackline-CaNOHQYl.js +2398 -0
- package/dist/{vue-ui-strip-plot-DX36qFKk.js → vue-ui-strip-plot-D2CcJw_5.js} +79 -79
- package/dist/{vue-ui-table-DdZ_DkqT.js → vue-ui-table-NBQrkVnO.js} +84 -84
- package/dist/{vue-ui-table-heatmap-BFKyJTr1.js → vue-ui-table-heatmap-CCGjbSzQ.js} +22 -22
- package/dist/{vue-ui-table-sparkline-BSV1jn7r.js → vue-ui-table-sparkline-BZDkOEEl.js} +125 -125
- package/dist/vue-ui-thermometer-BXyHOQ7T.js +763 -0
- package/dist/{vue-ui-timer-BkdpZ-lw.js → vue-ui-timer-CcLK1wbi.js} +29 -29
- package/dist/{vue-ui-tiremarks-GC773Hw1.js → vue-ui-tiremarks-B6txvBg-.js} +25 -25
- package/dist/{vue-ui-treemap-C0dtbfbZ.js → vue-ui-treemap-O3SBpD3K.js} +241 -241
- package/dist/{vue-ui-waffle-BvzfNmJC.js → vue-ui-waffle-DN5zG3b0.js} +289 -289
- package/dist/{vue-ui-wheel-Dm9V8TAH.js → vue-ui-wheel-CxnJGXkX.js} +134 -134
- package/dist/{vue-ui-word-cloud-Ne_B9Elc.js → vue-ui-word-cloud-CM5yPCXb.js} +54 -54
- package/dist/{vue-ui-world-Bp38MZij.js → vue-ui-world-DCPgXKxh.js} +447 -447
- package/dist/{vue-ui-xy-canvas-B06Rit63.js → vue-ui-xy-canvas-BUPnRZ3C.js} +91 -90
- package/dist/vue-ui-xy-lfMIx0wK.js +4578 -0
- package/dist/{vue_ui_3d_bar-CXKqO5Ej.js → vue_ui_3d_bar-C4R7o-yX.js} +1 -1
- package/dist/{vue_ui_age_pyramid-BON8QI6X.js → vue_ui_age_pyramid-BY6c-oX_.js} +1 -1
- package/dist/{vue_ui_bullet-CE5sFT7u.js → vue_ui_bullet-ClzdLoOv.js} +1 -1
- package/dist/{vue_ui_bump-frnXaXul.js → vue_ui_bump-Vl-zYAtG.js} +1 -1
- package/dist/{vue_ui_candlestick-sY6UtOop.js → vue_ui_candlestick-J8jmJvxP.js} +1 -1
- package/dist/{vue_ui_chestnut-BiUZFv40.js → vue_ui_chestnut-D2oUhad6.js} +1 -1
- package/dist/{vue_ui_chord-DpyR_b9A.js → vue_ui_chord-DPfS1Umc.js} +1 -1
- package/dist/{vue_ui_circle_pack-FjH0ZQeb.js → vue_ui_circle_pack-DZC_rdfn.js} +1 -1
- package/dist/{vue_ui_dag-Ci_MOnvd.js → vue_ui_dag-TsJ_azQq.js} +1 -1
- package/dist/{vue_ui_donut-Cx2_BGcQ.js → vue_ui_donut-BDGqG07h.js} +1 -1
- package/dist/{vue_ui_donut_evolution-CAJefrHs.js → vue_ui_donut_evolution-D1yAAIHr.js} +1 -1
- package/dist/{vue_ui_dumbbell-CClzAZTN.js → vue_ui_dumbbell-Bfe_jFyi.js} +1 -1
- package/dist/{vue_ui_flow-CCHO1Lo9.js → vue_ui_flow-BewZjjKG.js} +1 -1
- package/dist/{vue_ui_funnel-h8q2mRpC.js → vue_ui_funnel-_Og4EEkO.js} +1 -1
- package/dist/{vue_ui_galaxy-70vtkEBw.js → vue_ui_galaxy-Ig0cc1_h.js} +1 -1
- package/dist/{vue_ui_gauge-C17CgfzN.js → vue_ui_gauge-Cf1RZc9q.js} +1 -1
- package/dist/{vue_ui_geo-C0UbQ0Lc.js → vue_ui_geo-B8TODs-G.js} +1 -1
- package/dist/{vue_ui_heatmap-BqPP3J4M.js → vue_ui_heatmap-B2BBBSWG.js} +1 -1
- package/dist/{vue_ui_history_plot-C5nytDHh.js → vue_ui_history_plot-CuN63VEc.js} +1 -1
- package/dist/{vue_ui_horizontal_bar-Bqxorkc_.js → vue_ui_horizontal_bar-C4J4QzXf.js} +1 -1
- package/dist/{vue_ui_molecule-Dka4JBOp.js → vue_ui_molecule-CO9L59SF.js} +1 -1
- package/dist/{vue_ui_mood_radar-Dg4ijm53.js → vue_ui_mood_radar-BA6LAKhk.js} +1 -1
- package/dist/{vue_ui_nested_donuts-BY9cOoHF.js → vue_ui_nested_donuts-B8csIoVO.js} +1 -1
- package/dist/{vue_ui_onion-DTV9cup-.js → vue_ui_onion-1FTFFS46.js} +1 -1
- package/dist/{vue_ui_parallel_coordinate_plot-CNWrDh96.js → vue_ui_parallel_coordinate_plot-CBiOBira.js} +1 -1
- package/dist/{vue_ui_quadrant-3kjYvxpj.js → vue_ui_quadrant-CDSTKTJz.js} +1 -1
- package/dist/{vue_ui_quick_chart--VaYQuM4.js → vue_ui_quick_chart-mZBdml3Z.js} +1 -1
- package/dist/{vue_ui_radar-Dxx9GJmj.js → vue_ui_radar-jafTED5j.js} +1 -1
- package/dist/{vue_ui_relation_circle-Cr0I2SoU.js → vue_ui_relation_circle-D0p4mXmv.js} +1 -1
- package/dist/{vue_ui_ridgeline-CAtYca4b.js → vue_ui_ridgeline-VM8_mx4J.js} +1 -1
- package/dist/{vue_ui_rings-DXC1VeX5.js → vue_ui_rings-BVgD2aMn.js} +1 -1
- package/dist/{vue_ui_scatter-D2S2j0ap.js → vue_ui_scatter-I0POnicu.js} +1 -1
- package/dist/{vue_ui_spark_trend-BHMQ6_1p.js → vue_ui_spark_trend-DxVmpkmC.js} +1 -1
- package/dist/{vue_ui_sparkbar-BR6hbuDE.js → vue_ui_sparkbar-z6qO--Kf.js} +1 -1
- package/dist/{vue_ui_sparkgauge-xfPRHnMv.js → vue_ui_sparkgauge-BX1MS3bA.js} +1 -1
- package/dist/{vue_ui_sparkhistogram-CJRENZ1C.js → vue_ui_sparkhistogram-BRgvKUH6.js} +1 -1
- package/dist/{vue_ui_sparkline-wgk7yO7E.js → vue_ui_sparkline-auZhap6Y.js} +1 -1
- package/dist/{vue_ui_sparkstackbar-C5qZMmAl.js → vue_ui_sparkstackbar-BOjuQnZd.js} +1 -1
- package/dist/{vue_ui_stackbar-BW_C3MXw.js → vue_ui_stackbar-COOrQQdK.js} +1 -1
- package/dist/{vue_ui_stackline-DXxzibUd.js → vue_ui_stackline-DQqKPA9z.js} +1 -1
- package/dist/{vue_ui_strip_plot-8ZelqC5b.js → vue_ui_strip_plot-CtJe8_gq.js} +1 -1
- package/dist/{vue_ui_table_heatmap-BGUjA0WA.js → vue_ui_table_heatmap-w8vx5k6f.js} +1 -1
- package/dist/{vue_ui_table_sparkline-i0Q-N_we.js → vue_ui_table_sparkline-DAbkUrNz.js} +1 -1
- package/dist/{vue_ui_thermometer-CuN7Gpez.js → vue_ui_thermometer-DxgqWKlE.js} +1 -1
- package/dist/{vue_ui_tiremarks-A6UHC0c3.js → vue_ui_tiremarks-CdEPieWV.js} +1 -1
- package/dist/{vue_ui_treemap-BQp06q-g.js → vue_ui_treemap-DoEtkRN6.js} +1 -1
- package/dist/{vue_ui_waffle-C_Ev4l7B.js → vue_ui_waffle-DIARFc7g.js} +1 -1
- package/dist/{vue_ui_wheel-DdkTPXJU.js → vue_ui_wheel-DZ_nR--t.js} +1 -1
- package/dist/{vue_ui_word_cloud-B1PbsYPc.js → vue_ui_word_cloud-C-qIMNLu.js} +1 -1
- package/dist/{vue_ui_xy-BYPqfYyx.js → vue_ui_xy-BLUkWEAm.js} +1 -1
- package/dist/{vue_ui_xy_canvas-CMHGNrLf.js → vue_ui_xy_canvas-Cb6dg3eK.js} +1 -1
- package/package.json +6 -6
- package/dist/exposedLib-CwWU4zv-.js +0 -19
- package/dist/vue-ui-age-pyramid-Bu3bocZx.js +0 -1238
- package/dist/vue-ui-bullet-COSSZ7RU.js +0 -710
- package/dist/vue-ui-carousel-table-Q2uTIELA.js +0 -455
- package/dist/vue-ui-chestnut-DdNKhXkN.js +0 -2010
- package/dist/vue-ui-chord-CYzGIRtA.js +0 -1391
- package/dist/vue-ui-donut-BSanYbqb.js +0 -2408
- package/dist/vue-ui-donut-evolution-BVttNIzH.js +0 -1510
- package/dist/vue-ui-dumbbell-D-KcBLOF.js +0 -1527
- package/dist/vue-ui-funnel-COwXzAbB.js +0 -777
- package/dist/vue-ui-galaxy-Cg9VStNF.js +0 -1074
- package/dist/vue-ui-gauge-DHWCS6jR.js +0 -920
- package/dist/vue-ui-history-plot-CgPjudHv.js +0 -1563
- package/dist/vue-ui-horizontal-bar-CpQCmBQD.js +0 -1681
- package/dist/vue-ui-molecule-CvfwMxYY.js +0 -925
- package/dist/vue-ui-nested-donuts-C-LWBXmg.js +0 -1484
- package/dist/vue-ui-quick-chart-Cd5lGyph.js +0 -2471
- package/dist/vue-ui-relation-circle-MxYh6hSt.js +0 -924
- package/dist/vue-ui-scatter-DrS1nrwL.js +0 -2413
- package/dist/vue-ui-sparkline-BAWc3ROJ.js +0 -1507
- package/dist/vue-ui-stackline-DwtlEdOE.js +0 -2395
- package/dist/vue-ui-thermometer-Io8LdW1o.js +0 -763
- package/dist/vue-ui-xy-BCeOqJYR.js +0 -4216
- /package/dist/{RecursiveCircles-DPpLel6f.js → RecursiveCircles-D6aDPmoe.js} +0 -0
- /package/dist/{RecursiveLabels-DBMJf_to.js → RecursiveLabels-D9rfID6q.js} +0 -0
- /package/dist/{RecursiveLinks-D06dBL4a.js → RecursiveLinks-BygcpDiT.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
- /package/dist/{canvas-lib-DTaADQOK.js → canvas-lib-BOP_HS11.js} +0 -0
- /package/dist/{patternUtils-B7BWu5bV.js → patternUtils-CS7hn6at.js} +0 -0
- /package/dist/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
- /package/dist/{useChartAccessibility-Do37qcw2.js → useChartAccessibility-DYqac8yF.js} +0 -0
- /package/dist/{useFitSvgText-C-MEdAfe.js → useFitSvgText-CT3nmlaS.js} +0 -0
- /package/dist/{usePanZoom-B-4M_gmY.js → usePanZoom-CYU3B4T3.js} +0 -0
- /package/dist/{usePrefersMotion-BywLbIko.js → usePrefersMotion-BC-CsqR1.js} +0 -0
- /package/dist/{useResponsive-CrAInupd.js → useResponsive-BfnK0KxU.js} +0 -0
- /package/dist/{useStableElementSize-0I1IpHPl.js → useStableElementSize-C7KADDKj.js} +0 -0
- /package/dist/{useSvgExport-Dtu973wa.js → useSvgExport-SVIsDot8.js} +0 -0
- /package/dist/{useTableResponsive-DrM1xqII.js → useTableResponsive-B24Uwt2E.js} +0 -0
- /package/dist/{useThemeCheck-rFK9Zlb_.js → useThemeCheck-C43Tcqmk.js} +0 -0
- /package/dist/{useTimeLabelCollider-Dm55Emzg.js → useTimeLabelCollider-AEcY4Ioe.js} +0 -0
- /package/dist/{useTimeLabels-C0x7zUXP.js → useTimeLabels-BmBRv27Y.js} +0 -0
- /package/dist/{useUserOptionState-CjPJPTg2.js → useUserOptionState-DK-_1ddE.js} +0 -0
- /package/dist/{vClickOutside-CbX_bC9A.js → vClickOutside-DUrZWttG.js} +0 -0
- /package/dist/{vue-ui-pattern-Bj-IPFr2.js → vue-ui-pattern-DKozfnVn.js} +0 -0
- /package/dist/{vue_ui_vertical_bar-CJSD1FZS.js → vue_ui_vertical_bar-CP-MKz1j.js} +0 -0
|
@@ -1,777 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
-
import { G as t, H as n, J as r, Rt as i, S as a, St as ee, X as te, i as o, ot as ne, r as re, t as ie, y as ae, yt as oe } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as se } from "./useConfig-ByaaSKhz.js";
|
|
4
|
-
import { t as ce } from "./usePrinter-X0yWOynH.js";
|
|
5
|
-
import { t as le } from "./useSvgExport-Dtu973wa.js";
|
|
6
|
-
import { t as ue } from "./useNestedProp-Ck4hsrpu.js";
|
|
7
|
-
import { t as de } from "./useThemeCheck-rFK9Zlb_.js";
|
|
8
|
-
import { t as fe } from "./img-BjOr008R.js";
|
|
9
|
-
import { n as pe } from "./Title-__gWq2g6.js";
|
|
10
|
-
import { t as me } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
11
|
-
import { c as he } from "./canvas-lib-DTaADQOK.js";
|
|
12
|
-
import { t as ge } from "./useResponsive-CrAInupd.js";
|
|
13
|
-
import { t as _e } from "./useUserOptionState-CjPJPTg2.js";
|
|
14
|
-
import { t as ve } from "./useChartAccessibility-Do37qcw2.js";
|
|
15
|
-
import { t as ye } from "./vue_ui_funnel-h8q2mRpC.js";
|
|
16
|
-
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as be, createTextVNode as xe, createVNode as Se, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as h, nextTick as Ce, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as we, onMounted as Te, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ee, shallowRef as De, toDisplayString as C, unref as w, useCssVars as Oe, watch as ke, withCtx as T } from "vue";
|
|
17
|
-
//#region src/components/vue-ui-funnel.vue
|
|
18
|
-
var Ae = /* @__PURE__ */ e({ default: () => qe }), je = ["id"], Me = ["xmlns", "viewBox"], Ne = ["width", "height"], Pe = ["id"], Fe = ["stop-color"], Ie = ["stop-color"], Le = ["stop-color"], Re = ["stroke", "stroke-width"], ze = ["stroke", "stroke-width"], Be = [
|
|
19
|
-
"x",
|
|
20
|
-
"y",
|
|
21
|
-
"font-size",
|
|
22
|
-
"fill",
|
|
23
|
-
"font-weight"
|
|
24
|
-
], Ve = ["points", "fill"], He = [
|
|
25
|
-
"stroke",
|
|
26
|
-
"stroke-width",
|
|
27
|
-
"rx"
|
|
28
|
-
], Ue = [
|
|
29
|
-
"x",
|
|
30
|
-
"y",
|
|
31
|
-
"font-size",
|
|
32
|
-
"fill",
|
|
33
|
-
"font-weight"
|
|
34
|
-
], We = [
|
|
35
|
-
"x",
|
|
36
|
-
"y",
|
|
37
|
-
"font-size",
|
|
38
|
-
"fill",
|
|
39
|
-
"font-weight"
|
|
40
|
-
], Ge = {
|
|
41
|
-
key: 5,
|
|
42
|
-
class: "vue-data-ui-watermark"
|
|
43
|
-
}, Ke = ["innerHTML"], qe = /* @__PURE__ */ me({
|
|
44
|
-
__name: "vue-ui-funnel",
|
|
45
|
-
props: {
|
|
46
|
-
config: {
|
|
47
|
-
type: Object,
|
|
48
|
-
default() {
|
|
49
|
-
return {};
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
dataset: {
|
|
53
|
-
type: Array,
|
|
54
|
-
default() {
|
|
55
|
-
return [];
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
emits: ["copyAlt"],
|
|
60
|
-
setup(e, { expose: me, emit: Ae }) {
|
|
61
|
-
Oe((e) => ({ v5d52ff0c: Et.value }));
|
|
62
|
-
let qe = p(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), Je = p(() => import("./vue-ui-skeleton-Cqv1KG4y.js").then((e) => e.n)), Ye = p(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), Xe = p(() => import("./DataTable-DmE8Oo4i.js")), Ze = p(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Qe = p(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), $e = p(() => import("./PackageVersion-zJAUEmyB.js").then((e) => e.t)), et = p(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_funnel: tt } = se(), { isThemeValid: nt, warnInvalidTheme: rt } = de(), E = e, it = Ae, D = b(null), O = b(n()), at = b(0), ot = b(0), st = b(0), ct = b(null), lt = b(null), ut = b(null), k = De(null), A = De(null), j = b(!1), M = b(null), dt = b(null), N = b(!1), P = b(!1), F = c(() => !!E.dataset && E.dataset.length);
|
|
63
|
-
Te(ft);
|
|
64
|
-
function ft() {
|
|
65
|
-
if (ee(E.dataset) ? te({
|
|
66
|
-
componentName: "VueUiFunnel",
|
|
67
|
-
type: "dataset"
|
|
68
|
-
}) : E.dataset.forEach((e, t) => {
|
|
69
|
-
ne({
|
|
70
|
-
datasetObject: e,
|
|
71
|
-
requiredAttributes: ["name", "value"]
|
|
72
|
-
}).forEach((e) => {
|
|
73
|
-
F.value = !1, te({
|
|
74
|
-
componentName: "VueUiFunnel",
|
|
75
|
-
type: "datasetSerieAttribute",
|
|
76
|
-
property: e,
|
|
77
|
-
index: t
|
|
78
|
-
});
|
|
79
|
-
});
|
|
80
|
-
}), I.value.responsive) {
|
|
81
|
-
let e = he(() => {
|
|
82
|
-
let { width: e, height: t } = ge({
|
|
83
|
-
chart: D.value,
|
|
84
|
-
title: I.value.style.chart.title.text ? ut.value : null,
|
|
85
|
-
source: lt.value,
|
|
86
|
-
noTitle: ct.value
|
|
87
|
-
});
|
|
88
|
-
requestAnimationFrame(() => {
|
|
89
|
-
H.value.height = t, H.value.width = e, W.value = xt(), I.value.responsiveProportionalSizing ? (V.value.circles = i({
|
|
90
|
-
relator: Math.min(e, t),
|
|
91
|
-
adjuster: 600,
|
|
92
|
-
source: I.value.style.chart.circles.dataLabels.fontSize,
|
|
93
|
-
threshold: 10,
|
|
94
|
-
fallback: 10
|
|
95
|
-
}), V.value.names = i({
|
|
96
|
-
relator: Math.min(e, t),
|
|
97
|
-
adjuster: 600,
|
|
98
|
-
source: I.value.style.chart.bars.dataLabels.name.fontSize,
|
|
99
|
-
threshold: 10,
|
|
100
|
-
fallback: 10
|
|
101
|
-
}), V.value.values = i({
|
|
102
|
-
relator: Math.min(e, t),
|
|
103
|
-
adjuster: 600,
|
|
104
|
-
source: I.value.style.chart.bars.dataLabels.value.fontSize,
|
|
105
|
-
threshold: 10,
|
|
106
|
-
fallback: 10
|
|
107
|
-
})) : (V.value.circles = I.value.style.chart.circles.dataLabels.fontSize, V.value.names = I.value.style.chart.bars.dataLabels.name.fontSize, V.value.values = I.value.style.chart.bars.dataLabels.value.fontSize);
|
|
108
|
-
});
|
|
109
|
-
});
|
|
110
|
-
k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = D.value.parentNode, k.value.observe(A.value);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
we(() => {
|
|
114
|
-
k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect());
|
|
115
|
-
});
|
|
116
|
-
function pt() {
|
|
117
|
-
let e = ue({
|
|
118
|
-
userConfig: E.config,
|
|
119
|
-
defaultConfig: tt
|
|
120
|
-
}), t = e.theme;
|
|
121
|
-
if (!t) return e;
|
|
122
|
-
if (!nt.value(e)) return rt(e), e;
|
|
123
|
-
let n = ue({
|
|
124
|
-
userConfig: ye[t] || E.config,
|
|
125
|
-
defaultConfig: e
|
|
126
|
-
});
|
|
127
|
-
return ue({
|
|
128
|
-
userConfig: E.config,
|
|
129
|
-
defaultConfig: n
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
let I = c({
|
|
133
|
-
get: () => pt(),
|
|
134
|
-
set: (e) => e
|
|
135
|
-
}), mt = c(() => I.value.userOptions.useCursorPointer), { userOptionsVisible: L, setUserOptionsVisibility: ht, keepUserOptionState: gt } = _e({ config: I.value }), { svgRef: R } = ve({ config: I.value.style.chart.title });
|
|
136
|
-
ke(() => E.config, (e) => {
|
|
137
|
-
I.value = pt(), L.value = !I.value.userOptions.showOnChartHover, ft(), ot.value += 1, st.value += 1, V.value.circles = I.value.style.chart.circles.dataLabels.fontSize, V.value.names = I.value.style.chart.bars.dataLabels.name.fontSize, V.value.values = I.value.style.chart.bars.dataLabels.value.fontSize, B.value.showTable = I.value.table.show;
|
|
138
|
-
}, { deep: !0 });
|
|
139
|
-
let { isPrinting: _t, isImaging: z, generatePdf: vt, generateImage: yt } = ce({
|
|
140
|
-
elementId: `funnel_${O.value}`,
|
|
141
|
-
fileName: I.value.style.chart.title.text || "vue-ui-funnel",
|
|
142
|
-
options: I.value.userOptions.print
|
|
143
|
-
}), bt = c(() => I.value.userOptions.show && !I.value.style.chart.title.text), B = b({ showTable: I.value.table.show }), V = b({
|
|
144
|
-
circles: I.value.style.chart.circles.dataLabels.fontSize,
|
|
145
|
-
names: I.value.style.chart.bars.dataLabels.name.fontSize,
|
|
146
|
-
values: I.value.style.chart.bars.dataLabels.value.fontSize
|
|
147
|
-
}), H = c({
|
|
148
|
-
get: () => ({
|
|
149
|
-
height: I.value.style.chart.height,
|
|
150
|
-
width: I.value.style.chart.width
|
|
151
|
-
}),
|
|
152
|
-
set: (e) => e
|
|
153
|
-
}), U = c(() => F.value ? E.dataset.map((e, t) => ({
|
|
154
|
-
...e,
|
|
155
|
-
color: e.color ? ae(e.color) : oe(I.value.style.chart.bars.defaultColor, t / E.dataset.length)
|
|
156
|
-
})) : []);
|
|
157
|
-
setTimeout(() => {
|
|
158
|
-
j.value = !0;
|
|
159
|
-
}, U.value.length * 150);
|
|
160
|
-
function xt() {
|
|
161
|
-
let e = I.value.style.chart.padding.left, t = I.value.style.chart.padding.top;
|
|
162
|
-
return {
|
|
163
|
-
left: e,
|
|
164
|
-
top: t,
|
|
165
|
-
right: H.value.width - I.value.style.chart.padding.right,
|
|
166
|
-
bottom: H.value.height - I.value.style.chart.padding.bottom,
|
|
167
|
-
width: H.value.width - e - I.value.style.chart.padding.right,
|
|
168
|
-
height: H.value.height - t - I.value.style.chart.padding.bottom
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
let W = b(xt()), G = c(() => W.value.height / E.dataset.length), K = c(() => G.value * I.value.style.chart.bars.gapRatio), St = c(() => W.value.width * I.value.style.chart.barCircleSpacingRatio), q = c(() => U.value.map((e, t) => {
|
|
172
|
-
let n = G.value - K.value, r = W.value.top + K.value / 2 * t + (G.value - K.value / 2) * t + K.value / 2, i = e.value / U.value[0].value, a = (W.value.width - n - St.value) * (e.value / U.value[0].value);
|
|
173
|
-
return {
|
|
174
|
-
...e,
|
|
175
|
-
cx: W.value.left + n / 2,
|
|
176
|
-
cy: r + n / 2,
|
|
177
|
-
datapointIndex: t,
|
|
178
|
-
fill: e.color,
|
|
179
|
-
height: Math.max(n, 0),
|
|
180
|
-
proportion: i,
|
|
181
|
-
r: Math.max(n / 2, 0),
|
|
182
|
-
width: Math.max(a, 0),
|
|
183
|
-
x: W.value.left + n + St.value,
|
|
184
|
-
y: r
|
|
185
|
-
};
|
|
186
|
-
})), Ct = c(() => {
|
|
187
|
-
let e = q.value.map((e) => `${e.x + e.width},${e.y + (G.value - K.value) / 2}`);
|
|
188
|
-
return `${q.value[0].x},${q.value[0].y + (G.value - K.value) / 2} ${e.toString()} ${q.value.at(-1).x},${q.value.at(-1).y + (G.value - K.value) / 2}`;
|
|
189
|
-
}), wt = c(() => ({
|
|
190
|
-
x1: q.value[0].cx,
|
|
191
|
-
y1: q.value[0].cy,
|
|
192
|
-
x2: q.value.at(-1).cx,
|
|
193
|
-
y2: q.value.at(-1).cy
|
|
194
|
-
})), J = b(!1);
|
|
195
|
-
function Tt(e) {
|
|
196
|
-
J.value = e, at.value += 1;
|
|
197
|
-
}
|
|
198
|
-
let Et = c(() => `${U.value.length * 150}ms`), Y = b(!1);
|
|
199
|
-
function Dt() {
|
|
200
|
-
Y.value = !Y.value;
|
|
201
|
-
}
|
|
202
|
-
function Ot() {
|
|
203
|
-
B.value.showTable = !B.value.showTable;
|
|
204
|
-
}
|
|
205
|
-
let X = c(() => ({
|
|
206
|
-
head: U.value.map((e) => ({
|
|
207
|
-
name: e.name,
|
|
208
|
-
color: e.color
|
|
209
|
-
})),
|
|
210
|
-
body: U.value.map((e) => e.value)
|
|
211
|
-
})), Z = c(() => {
|
|
212
|
-
let e = [
|
|
213
|
-
I.value.table.columnNames.series,
|
|
214
|
-
I.value.table.columnNames.value,
|
|
215
|
-
I.value.table.columnNames.percentage
|
|
216
|
-
], n = X.value.head.map((e, n) => {
|
|
217
|
-
let r = o(I.value.style.chart.bars.dataLabels.value.formatter, X.value.body[n], t({
|
|
218
|
-
p: I.value.style.chart.bars.dataLabels.value.prefix,
|
|
219
|
-
v: X.value.body[n],
|
|
220
|
-
s: I.value.style.chart.bars.dataLabels.value.suffix,
|
|
221
|
-
r: I.value.table.td.roundingValue
|
|
222
|
-
}), { datapoint: q.value[n] }), i = o(I.value.style.chart.circles.dataLabels.formatter, q.value[n].proportion * 100, t({
|
|
223
|
-
v: q.value[n].proportion * 100,
|
|
224
|
-
s: "%",
|
|
225
|
-
r: I.value.table.td.roundingPercentage
|
|
226
|
-
}), { datapoint: q.value[n] });
|
|
227
|
-
return [
|
|
228
|
-
{
|
|
229
|
-
color: e.color,
|
|
230
|
-
name: e.name
|
|
231
|
-
},
|
|
232
|
-
r,
|
|
233
|
-
i
|
|
234
|
-
];
|
|
235
|
-
}), r = {
|
|
236
|
-
th: {
|
|
237
|
-
backgroundColor: I.value.table.th.backgroundColor,
|
|
238
|
-
color: I.value.table.th.color,
|
|
239
|
-
outline: I.value.table.th.outline
|
|
240
|
-
},
|
|
241
|
-
td: {
|
|
242
|
-
backgroundColor: I.value.table.td.backgroundColor,
|
|
243
|
-
color: I.value.table.td.color,
|
|
244
|
-
outline: I.value.table.td.outline
|
|
245
|
-
},
|
|
246
|
-
breakpoint: I.value.table.responsiveBreakpoint
|
|
247
|
-
};
|
|
248
|
-
return {
|
|
249
|
-
colNames: [
|
|
250
|
-
I.value.table.columnNames.series,
|
|
251
|
-
I.value.table.columnNames.value,
|
|
252
|
-
I.value.table.columnNames.percentage
|
|
253
|
-
],
|
|
254
|
-
head: e,
|
|
255
|
-
body: n,
|
|
256
|
-
config: r
|
|
257
|
-
};
|
|
258
|
-
});
|
|
259
|
-
function Q(e = null) {
|
|
260
|
-
Ce(() => {
|
|
261
|
-
let t = X.value.head.map((e, t) => [
|
|
262
|
-
[e.name],
|
|
263
|
-
[X.value.body[t]],
|
|
264
|
-
[q.value[t].proportion * 100]
|
|
265
|
-
]), n = a([
|
|
266
|
-
[I.value.style.chart.title.text],
|
|
267
|
-
[I.value.style.chart.title.subtitle.text],
|
|
268
|
-
[
|
|
269
|
-
[I.value.table.columnNames.series],
|
|
270
|
-
[I.value.table.columnNames.value],
|
|
271
|
-
["%"]
|
|
272
|
-
]
|
|
273
|
-
].concat(t));
|
|
274
|
-
e ? e(n) : r({
|
|
275
|
-
csvContent: n,
|
|
276
|
-
title: I.value.style.chart.title.text || "vue-ui-funnel"
|
|
277
|
-
});
|
|
278
|
-
});
|
|
279
|
-
}
|
|
280
|
-
function kt() {
|
|
281
|
-
return U.value;
|
|
282
|
-
}
|
|
283
|
-
async function At({ scale: e = 2 } = {}) {
|
|
284
|
-
if (!D.value) return;
|
|
285
|
-
let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
|
|
286
|
-
domElement: D.value,
|
|
287
|
-
base64: !0,
|
|
288
|
-
img: !0,
|
|
289
|
-
scale: e
|
|
290
|
-
});
|
|
291
|
-
return {
|
|
292
|
-
imageUri: i,
|
|
293
|
-
base64: a,
|
|
294
|
-
title: I.value.style.chart.title.text,
|
|
295
|
-
width: t,
|
|
296
|
-
height: n,
|
|
297
|
-
aspectRatio: r
|
|
298
|
-
};
|
|
299
|
-
}
|
|
300
|
-
let $ = c(() => {
|
|
301
|
-
let e = I.value.table.useDialog && !I.value.table.show, t = B.value.showTable;
|
|
302
|
-
return {
|
|
303
|
-
component: e ? et : Ye,
|
|
304
|
-
title: `${I.value.style.chart.title.text}${I.value.style.chart.title.subtitle.text ? `: ${I.value.style.chart.title.subtitle.text}` : ""}`,
|
|
305
|
-
props: e ? {
|
|
306
|
-
backgroundColor: I.value.table.th.backgroundColor,
|
|
307
|
-
color: I.value.table.th.color,
|
|
308
|
-
headerColor: I.value.table.th.color,
|
|
309
|
-
headerBg: I.value.table.th.backgroundColor,
|
|
310
|
-
isFullscreen: J.value,
|
|
311
|
-
fullscreenParent: D.value,
|
|
312
|
-
forcedWidth: Math.min(800, window.innerWidth * .8)
|
|
313
|
-
} : {
|
|
314
|
-
hideDetails: !0,
|
|
315
|
-
config: {
|
|
316
|
-
open: t,
|
|
317
|
-
maxHeight: 1e4,
|
|
318
|
-
body: {
|
|
319
|
-
backgroundColor: I.value.style.chart.backgroundColor,
|
|
320
|
-
color: I.value.style.chart.color
|
|
321
|
-
},
|
|
322
|
-
head: {
|
|
323
|
-
backgroundColor: I.value.style.chart.backgroundColor,
|
|
324
|
-
color: I.value.style.chart.color
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
};
|
|
329
|
-
});
|
|
330
|
-
ke(() => B.value.showTable, (e) => {
|
|
331
|
-
I.value.table.show || (e && I.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
332
|
-
});
|
|
333
|
-
function jt() {
|
|
334
|
-
B.value.showTable = !1, dt.value && dt.value.setTableIconState(!1);
|
|
335
|
-
}
|
|
336
|
-
let Mt = c(() => I.value.style.chart.backgroundColor), { exportSvg: Nt, getSvg: Pt } = le({
|
|
337
|
-
svg: R,
|
|
338
|
-
title: c(() => I.value.style.chart.title),
|
|
339
|
-
backgroundColor: Mt
|
|
340
|
-
});
|
|
341
|
-
async function Ft({ isCb: e }) {
|
|
342
|
-
P.value = !0, await Ce();
|
|
343
|
-
try {
|
|
344
|
-
if (e) {
|
|
345
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await Pt();
|
|
346
|
-
await Promise.resolve(I.value.userOptions.callbacks.svg({
|
|
347
|
-
blob: e,
|
|
348
|
-
url: t,
|
|
349
|
-
text: n,
|
|
350
|
-
dataUrl: r
|
|
351
|
-
}));
|
|
352
|
-
} else await Promise.resolve(Nt());
|
|
353
|
-
} finally {
|
|
354
|
-
P.value = !1;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
function It(e) {
|
|
358
|
-
if (e?.stage === "start") {
|
|
359
|
-
N.value = !0;
|
|
360
|
-
return;
|
|
361
|
-
}
|
|
362
|
-
if (e?.stage === "end") {
|
|
363
|
-
N.value = !1;
|
|
364
|
-
return;
|
|
365
|
-
}
|
|
366
|
-
yt();
|
|
367
|
-
}
|
|
368
|
-
async function Lt() {
|
|
369
|
-
if (it("copyAlt", {
|
|
370
|
-
config: I.value,
|
|
371
|
-
dataset: U.value
|
|
372
|
-
}), !I.value.userOptions.callbacks.altCopy) {
|
|
373
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
374
|
-
return;
|
|
375
|
-
}
|
|
376
|
-
await Promise.resolve(I.value.userOptions.callbacks.altCopy({
|
|
377
|
-
config: I.value,
|
|
378
|
-
dataset: U.value
|
|
379
|
-
}));
|
|
380
|
-
}
|
|
381
|
-
return me({
|
|
382
|
-
getData: kt,
|
|
383
|
-
getImage: At,
|
|
384
|
-
generatePdf: vt,
|
|
385
|
-
generateCsv: Q,
|
|
386
|
-
generateImage: yt,
|
|
387
|
-
generateSvg: Ft,
|
|
388
|
-
toggleTable: Ot,
|
|
389
|
-
toggleAnnotator: Dt,
|
|
390
|
-
toggleFullscreen: Tt,
|
|
391
|
-
copyAlt: Lt
|
|
392
|
-
}), (e, n) => (y(), d("div", {
|
|
393
|
-
ref_key: "funnelChart",
|
|
394
|
-
ref: D,
|
|
395
|
-
class: g(`vue-data-ui-component vue-ui-funnel ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${I.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
396
|
-
style: v(`font-family:${I.value.style.fontFamily};width:100%; ${I.value.responsive ? "height:100%;" : ""} text-align:center;background:${I.value.style.chart.backgroundColor}`),
|
|
397
|
-
id: `funnel_${O.value}`,
|
|
398
|
-
onMouseenter: n[1] ||= () => w(ht)(!0),
|
|
399
|
-
onMouseleave: n[2] ||= () => w(ht)(!1)
|
|
400
|
-
}, [
|
|
401
|
-
I.value.userOptions.buttons.annotator ? (y(), l(w(Qe), {
|
|
402
|
-
key: 0,
|
|
403
|
-
svgRef: w(R),
|
|
404
|
-
backgroundColor: I.value.style.chart.backgroundColor,
|
|
405
|
-
color: I.value.style.chart.color,
|
|
406
|
-
active: Y.value,
|
|
407
|
-
isCursorPointer: mt.value,
|
|
408
|
-
onClose: Dt
|
|
409
|
-
}, {
|
|
410
|
-
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
411
|
-
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(m({ color: t })), void 0, !0)]),
|
|
412
|
-
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(m({ mode: t })), void 0, !0)]),
|
|
413
|
-
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(m({ disabled: t })), void 0, !0)]),
|
|
414
|
-
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(m({ disabled: t })), void 0, !0)]),
|
|
415
|
-
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(m({ disabled: t })), void 0, !0)]),
|
|
416
|
-
_: 3
|
|
417
|
-
}, 8, [
|
|
418
|
-
"svgRef",
|
|
419
|
-
"backgroundColor",
|
|
420
|
-
"color",
|
|
421
|
-
"active",
|
|
422
|
-
"isCursorPointer"
|
|
423
|
-
])) : u("", !0),
|
|
424
|
-
bt.value ? (y(), d("div", {
|
|
425
|
-
key: 1,
|
|
426
|
-
ref_key: "noTitle",
|
|
427
|
-
ref: ct,
|
|
428
|
-
class: "vue-data-ui-no-title-space",
|
|
429
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
430
|
-
}, null, 512)) : u("", !0),
|
|
431
|
-
I.value.style.chart.title.text ? (y(), d("div", {
|
|
432
|
-
key: 2,
|
|
433
|
-
ref_key: "chartTitle",
|
|
434
|
-
ref: ut,
|
|
435
|
-
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
436
|
-
}, [(y(), l(pe, {
|
|
437
|
-
key: `title_${ot.value}`,
|
|
438
|
-
config: {
|
|
439
|
-
title: {
|
|
440
|
-
cy: "funnel-div-title",
|
|
441
|
-
...I.value.style.chart.title
|
|
442
|
-
},
|
|
443
|
-
subtitle: {
|
|
444
|
-
cy: "funnel-div-subtitle",
|
|
445
|
-
...I.value.style.chart.title.subtitle
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
}, null, 8, ["config"]))], 512)) : u("", !0),
|
|
449
|
-
I.value.userOptions.show && F.value && (w(gt) || w(L)) ? (y(), l(w(Ze), {
|
|
450
|
-
ref_key: "userOptionsRef",
|
|
451
|
-
ref: dt,
|
|
452
|
-
key: `user_option_${at.value}`,
|
|
453
|
-
backgroundColor: I.value.style.chart.backgroundColor,
|
|
454
|
-
color: I.value.style.chart.color,
|
|
455
|
-
isPrinting: w(_t),
|
|
456
|
-
isImaging: w(z),
|
|
457
|
-
uid: O.value,
|
|
458
|
-
hasTooltip: !1,
|
|
459
|
-
hasPdf: I.value.userOptions.buttons.pdf,
|
|
460
|
-
hasImg: I.value.userOptions.buttons.img,
|
|
461
|
-
hasSvg: I.value.userOptions.buttons.svg,
|
|
462
|
-
hasXls: I.value.userOptions.buttons.csv,
|
|
463
|
-
hasTable: I.value.userOptions.buttons.table,
|
|
464
|
-
hasLabel: !1,
|
|
465
|
-
hasFullscreen: I.value.userOptions.buttons.fullscreen,
|
|
466
|
-
hasAltCopy: I.value.userOptions.buttons.altCopy,
|
|
467
|
-
isFullscreen: J.value,
|
|
468
|
-
chartElement: D.value,
|
|
469
|
-
position: I.value.userOptions.position,
|
|
470
|
-
titles: { ...I.value.userOptions.buttonTitles },
|
|
471
|
-
hasAnnotator: I.value.userOptions.buttons.annotator,
|
|
472
|
-
isAnnotation: Y.value,
|
|
473
|
-
callbacks: I.value.userOptions.callbacks,
|
|
474
|
-
printScale: I.value.userOptions.print.scale,
|
|
475
|
-
tableDialog: I.value.table.useDialog,
|
|
476
|
-
isCursorPointer: mt.value,
|
|
477
|
-
onToggleAnnotator: Dt,
|
|
478
|
-
onToggleFullscreen: Tt,
|
|
479
|
-
onGeneratePdf: w(vt),
|
|
480
|
-
onGenerateImage: It,
|
|
481
|
-
onGenerateSvg: Ft,
|
|
482
|
-
onToggleTable: Ot,
|
|
483
|
-
onGenerateCsv: Q,
|
|
484
|
-
onCopyAlt: Lt,
|
|
485
|
-
style: v({ visibility: w(gt) ? w(L) ? "visible" : "hidden" : "visible" })
|
|
486
|
-
}, be({ _: 2 }, [
|
|
487
|
-
e.$slots.menuIcon ? {
|
|
488
|
-
name: "menuIcon",
|
|
489
|
-
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(m({
|
|
490
|
-
isOpen: t,
|
|
491
|
-
color: n
|
|
492
|
-
})), void 0, !0)]),
|
|
493
|
-
key: "0"
|
|
494
|
-
} : void 0,
|
|
495
|
-
e.$slots.optionPdf ? {
|
|
496
|
-
name: "optionPdf",
|
|
497
|
-
fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
498
|
-
key: "1"
|
|
499
|
-
} : void 0,
|
|
500
|
-
e.$slots.optionCsv ? {
|
|
501
|
-
name: "optionCsv",
|
|
502
|
-
fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
503
|
-
key: "2"
|
|
504
|
-
} : void 0,
|
|
505
|
-
e.$slots.optionImg ? {
|
|
506
|
-
name: "optionImg",
|
|
507
|
-
fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
508
|
-
key: "3"
|
|
509
|
-
} : void 0,
|
|
510
|
-
e.$slots.optionSvg ? {
|
|
511
|
-
name: "optionSvg",
|
|
512
|
-
fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
513
|
-
key: "4"
|
|
514
|
-
} : void 0,
|
|
515
|
-
e.$slots.optionTable ? {
|
|
516
|
-
name: "optionTable",
|
|
517
|
-
fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
518
|
-
key: "5"
|
|
519
|
-
} : void 0,
|
|
520
|
-
e.$slots.optionFullscreen ? {
|
|
521
|
-
name: "optionFullscreen",
|
|
522
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(m({
|
|
523
|
-
toggleFullscreen: t,
|
|
524
|
-
isFullscreen: n
|
|
525
|
-
})), void 0, !0)]),
|
|
526
|
-
key: "6"
|
|
527
|
-
} : void 0,
|
|
528
|
-
e.$slots.optionAnnotator ? {
|
|
529
|
-
name: "optionAnnotator",
|
|
530
|
-
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(m({
|
|
531
|
-
toggleAnnotator: t,
|
|
532
|
-
isAnnotator: n
|
|
533
|
-
})), void 0, !0)]),
|
|
534
|
-
key: "7"
|
|
535
|
-
} : void 0,
|
|
536
|
-
e.$slots.optionAltCopy ? {
|
|
537
|
-
name: "optionAltCopy",
|
|
538
|
-
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(m({ altCopy: t })), void 0, !0)]),
|
|
539
|
-
key: "8"
|
|
540
|
-
} : void 0,
|
|
541
|
-
e.$slots["custom-menu-before"] ? {
|
|
542
|
-
name: "custom-menu-before",
|
|
543
|
-
fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
544
|
-
key: "9"
|
|
545
|
-
} : void 0,
|
|
546
|
-
e.$slots["custom-menu-after"] ? {
|
|
547
|
-
name: "custom-menu-after",
|
|
548
|
-
fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
549
|
-
key: "10"
|
|
550
|
-
} : void 0
|
|
551
|
-
]), 1032, [
|
|
552
|
-
"backgroundColor",
|
|
553
|
-
"color",
|
|
554
|
-
"isPrinting",
|
|
555
|
-
"isImaging",
|
|
556
|
-
"uid",
|
|
557
|
-
"hasPdf",
|
|
558
|
-
"hasImg",
|
|
559
|
-
"hasSvg",
|
|
560
|
-
"hasXls",
|
|
561
|
-
"hasTable",
|
|
562
|
-
"hasFullscreen",
|
|
563
|
-
"hasAltCopy",
|
|
564
|
-
"isFullscreen",
|
|
565
|
-
"chartElement",
|
|
566
|
-
"position",
|
|
567
|
-
"titles",
|
|
568
|
-
"hasAnnotator",
|
|
569
|
-
"isAnnotation",
|
|
570
|
-
"callbacks",
|
|
571
|
-
"printScale",
|
|
572
|
-
"tableDialog",
|
|
573
|
-
"isCursorPointer",
|
|
574
|
-
"onGeneratePdf",
|
|
575
|
-
"style"
|
|
576
|
-
])) : u("", !0),
|
|
577
|
-
F.value ? (y(), d("svg", {
|
|
578
|
-
key: 4,
|
|
579
|
-
ref_key: "svgRef",
|
|
580
|
-
ref: R,
|
|
581
|
-
xmlns: w(ie),
|
|
582
|
-
class: g({
|
|
583
|
-
"vue-data-ui-fullscreen--on": J.value,
|
|
584
|
-
"vue-data-ui-fulscreen--off": !J.value
|
|
585
|
-
}),
|
|
586
|
-
viewBox: `0 0 ${H.value.width <= 0 ? 10 : H.value.width} ${H.value.height <= 0 ? 10 : H.value.height}`,
|
|
587
|
-
style: v(`max-width:100%; overflow: visible; background:transparent;color:${I.value.style.chart.color}`)
|
|
588
|
-
}, [
|
|
589
|
-
Se(w($e)),
|
|
590
|
-
e.$slots["chart-background"] ? (y(), d("foreignObject", {
|
|
591
|
-
key: 0,
|
|
592
|
-
x: 0,
|
|
593
|
-
y: 0,
|
|
594
|
-
width: H.value.width <= 0 ? 10 : H.value.width,
|
|
595
|
-
height: H.value.height <= 0 ? 10 : H.value.height,
|
|
596
|
-
style: { pointerEvents: "none" }
|
|
597
|
-
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ne)) : u("", !0),
|
|
598
|
-
f("defs", null, [f("linearGradient", {
|
|
599
|
-
id: `funnel_area_${O.value}`,
|
|
600
|
-
x1: "0%",
|
|
601
|
-
x2: "100%",
|
|
602
|
-
y1: "0%",
|
|
603
|
-
y2: "0%"
|
|
604
|
-
}, [
|
|
605
|
-
f("stop", {
|
|
606
|
-
offset: "0%",
|
|
607
|
-
"stop-color": I.value.style.chart.backgroundColor,
|
|
608
|
-
"stop-opacity": 0
|
|
609
|
-
}, null, 8, Fe),
|
|
610
|
-
f("stop", {
|
|
611
|
-
offset: "20%",
|
|
612
|
-
"stop-color": I.value.style.chart.area.color
|
|
613
|
-
}, null, 8, Ie),
|
|
614
|
-
f("stop", {
|
|
615
|
-
offset: "100%",
|
|
616
|
-
"stop-color": I.value.style.chart.area.color
|
|
617
|
-
}, null, 8, Le)
|
|
618
|
-
], 8, Pe)]),
|
|
619
|
-
I.value.style.chart.circleLinks.show ? (y(), d("line", h({ key: 1 }, wt.value, {
|
|
620
|
-
stroke: I.value.style.chart.circleLinks.color,
|
|
621
|
-
"stroke-width": 12 * I.value.style.chart.circleLinks.widthRatio,
|
|
622
|
-
"stroke-linecap": "round",
|
|
623
|
-
class: { animated: I.value.useCssAnimation },
|
|
624
|
-
style: {
|
|
625
|
-
strokeDasharray: I.value.useCssAnimation ? W.value.height : 0,
|
|
626
|
-
strokeDashoffset: I.value.useCssAnimation ? W.value.height : 0
|
|
627
|
-
}
|
|
628
|
-
}), null, 16, Re)) : u("", !0),
|
|
629
|
-
(y(!0), d(s, null, x(q.value, ({ cx: e, cy: t, r: n, fill: r }, i) => (y(), d("circle", h({ ref_for: !0 }, {
|
|
630
|
-
cx: e,
|
|
631
|
-
cy: t,
|
|
632
|
-
r: n,
|
|
633
|
-
fill: r
|
|
634
|
-
}, {
|
|
635
|
-
stroke: I.value.style.chart.circles.stroke,
|
|
636
|
-
"stroke-width": I.value.style.chart.circles.strokeWidth,
|
|
637
|
-
class: { animated: I.value.useCssAnimation && !j.value },
|
|
638
|
-
style: { animationDelay: `${150 * i}ms` }
|
|
639
|
-
}), null, 16, ze))), 256)),
|
|
640
|
-
(y(!0), d(s, null, x(q.value, (e, n) => (y(), d("text", {
|
|
641
|
-
x: e.cx,
|
|
642
|
-
y: e.cy + V.value.circles / 3 + I.value.style.chart.circles.dataLabels.offsetY,
|
|
643
|
-
"text-anchor": "middle",
|
|
644
|
-
"font-size": V.value.circles,
|
|
645
|
-
fill: I.value.style.chart.circles.dataLabels.adaptColorToBackground ? w(re)(e.color) : I.value.style.chart.circles.dataLabels.color,
|
|
646
|
-
"font-weight": I.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
|
|
647
|
-
class: g({ animated: I.value.useCssAnimation && !j.value }),
|
|
648
|
-
style: v({ animationDelay: `${150 * n}ms` })
|
|
649
|
-
}, C(w(o)(I.value.style.chart.circles.dataLabels.formatter, e.proportion * 100, w(t)({
|
|
650
|
-
v: e.proportion * 100,
|
|
651
|
-
s: "%",
|
|
652
|
-
r: I.value.style.chart.circles.dataLabels.rounding
|
|
653
|
-
}), { datapoint: e })), 15, Be))), 256)),
|
|
654
|
-
I.value.style.chart.area.show ? (y(), d("polygon", {
|
|
655
|
-
key: 2,
|
|
656
|
-
points: Ct.value,
|
|
657
|
-
fill: `url(#funnel_area_${O.value})`,
|
|
658
|
-
class: g({ animated: I.value.useCssAnimation && !j.value }),
|
|
659
|
-
style: v({ transition: I.value.useCssAnimation ? `all ${150 * U.value.length}ms ease-in` : "none" })
|
|
660
|
-
}, null, 14, Ve)) : u("", !0),
|
|
661
|
-
(y(!0), d(s, null, x(q.value, ({ x: e, y: t, height: n, width: r, fill: i }, a) => (y(), d("rect", h({ ref_for: !0 }, {
|
|
662
|
-
x: e,
|
|
663
|
-
y: t,
|
|
664
|
-
height: n,
|
|
665
|
-
width: r,
|
|
666
|
-
fill: i
|
|
667
|
-
}, {
|
|
668
|
-
stroke: I.value.style.chart.bars.stroke,
|
|
669
|
-
"stroke-width": I.value.style.chart.bars.strokeWidth,
|
|
670
|
-
rx: I.value.style.chart.bars.borderRadius,
|
|
671
|
-
class: { animated: I.value.useCssAnimation && !j.value },
|
|
672
|
-
style: { animationDelay: `${150 * a}ms` }
|
|
673
|
-
}), null, 16, He))), 256)),
|
|
674
|
-
(y(!0), d(s, null, x(q.value, (e, n) => (y(), d("g", null, [f("text", {
|
|
675
|
-
x: e.x + e.width + I.value.style.chart.bars.dataLabels.name.offsetX + 12,
|
|
676
|
-
y: e.cy - V.value.names / 2 + I.value.style.chart.bars.dataLabels.name.offsetY,
|
|
677
|
-
"text-anchor": "start",
|
|
678
|
-
"font-size": V.value.names,
|
|
679
|
-
fill: I.value.style.chart.bars.dataLabels.name.color,
|
|
680
|
-
"font-weight": I.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
|
|
681
|
-
class: g({ animated: I.value.useCssAnimation && !j.value }),
|
|
682
|
-
style: v({ animationDelay: `${150 * n}ms` })
|
|
683
|
-
}, C(e.name), 15, Ue), f("text", {
|
|
684
|
-
x: e.x + e.width + I.value.style.chart.bars.dataLabels.value.offsetX + 12,
|
|
685
|
-
y: e.cy + V.value.values + I.value.style.chart.bars.dataLabels.value.offsetY,
|
|
686
|
-
"text-anchor": "start",
|
|
687
|
-
"font-size": V.value.values,
|
|
688
|
-
fill: I.value.style.chart.bars.dataLabels.value.color,
|
|
689
|
-
"font-weight": I.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
|
|
690
|
-
class: g({ animated: I.value.useCssAnimation && !j.value }),
|
|
691
|
-
style: v({ animationDelay: `${150 * n}ms` })
|
|
692
|
-
}, C(w(o)(I.value.style.chart.bars.dataLabels.value.formatter, e.value, w(t)({
|
|
693
|
-
p: I.value.style.chart.bars.dataLabels.value.prefix,
|
|
694
|
-
v: e.value,
|
|
695
|
-
s: I.value.style.chart.bars.dataLabels.value.suffix,
|
|
696
|
-
r: I.value.style.chart.bars.dataLabels.value.rounding
|
|
697
|
-
}), { datapoint: e })), 15, We)]))), 256)),
|
|
698
|
-
S(e.$slots, "svg", { svg: {
|
|
699
|
-
...H.value,
|
|
700
|
-
isPrintingImg: w(_t) || w(z) || N.value,
|
|
701
|
-
isPrintingSvg: P.value
|
|
702
|
-
} }, void 0, !0)
|
|
703
|
-
], 14, Me)) : u("", !0),
|
|
704
|
-
e.$slots.watermark ? (y(), d("div", Ge, [S(e.$slots, "watermark", _(m({ isPrinting: w(_t) || w(z) || N.value || P.value })), void 0, !0)])) : u("", !0),
|
|
705
|
-
F.value ? u("", !0) : (y(), l(w(Je), {
|
|
706
|
-
key: 6,
|
|
707
|
-
config: {
|
|
708
|
-
type: "verticalBar",
|
|
709
|
-
style: {
|
|
710
|
-
backgroundColor: I.value.style.chart.backgroundColor,
|
|
711
|
-
verticalBar: {
|
|
712
|
-
axis: { color: "#CCCCCC" },
|
|
713
|
-
color: "#CCCCCC"
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
}, null, 8, ["config"])),
|
|
718
|
-
e.$slots.source ? (y(), d("div", {
|
|
719
|
-
key: 7,
|
|
720
|
-
ref_key: "source",
|
|
721
|
-
ref: lt,
|
|
722
|
-
dir: "auto"
|
|
723
|
-
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
|
|
724
|
-
F.value && I.value.userOptions.buttons.table ? (y(), l(Ee($.value.component), h({ key: 8 }, $.value.props, {
|
|
725
|
-
ref_key: "tableUnit",
|
|
726
|
-
ref: M,
|
|
727
|
-
onClose: jt
|
|
728
|
-
}), be({
|
|
729
|
-
content: T(() => [(y(), l(w(Xe), {
|
|
730
|
-
key: `table_${st.value}`,
|
|
731
|
-
colNames: Z.value.colNames,
|
|
732
|
-
head: Z.value.head,
|
|
733
|
-
body: Z.value.body,
|
|
734
|
-
config: Z.value.config,
|
|
735
|
-
title: I.value.table.useDialog ? "" : $.value.title,
|
|
736
|
-
withCloseButton: !I.value.table.useDialog,
|
|
737
|
-
onClose: jt
|
|
738
|
-
}, {
|
|
739
|
-
th: T(({ th: e }) => [f("div", {
|
|
740
|
-
innerHTML: e,
|
|
741
|
-
style: {
|
|
742
|
-
display: "flex",
|
|
743
|
-
"align-items": "center"
|
|
744
|
-
}
|
|
745
|
-
}, null, 8, Ke)]),
|
|
746
|
-
td: T(({ td: e }) => [xe(C(e.name ? e.name : e), 1)]),
|
|
747
|
-
_: 1
|
|
748
|
-
}, 8, [
|
|
749
|
-
"colNames",
|
|
750
|
-
"head",
|
|
751
|
-
"body",
|
|
752
|
-
"config",
|
|
753
|
-
"title",
|
|
754
|
-
"withCloseButton"
|
|
755
|
-
]))]),
|
|
756
|
-
_: 2
|
|
757
|
-
}, [I.value.table.useDialog ? {
|
|
758
|
-
name: "title",
|
|
759
|
-
fn: T(() => [xe(C($.value.title), 1)]),
|
|
760
|
-
key: "0"
|
|
761
|
-
} : void 0, I.value.table.useDialog ? {
|
|
762
|
-
name: "actions",
|
|
763
|
-
fn: T(() => [f("button", {
|
|
764
|
-
tabindex: "0",
|
|
765
|
-
class: "vue-ui-user-options-button",
|
|
766
|
-
onClick: n[0] ||= (e) => Q(I.value.userOptions.callbacks.csv)
|
|
767
|
-
}, [Se(w(qe), {
|
|
768
|
-
name: "fileCsv",
|
|
769
|
-
stroke: $.value.props.color
|
|
770
|
-
}, null, 8, ["stroke"])])]),
|
|
771
|
-
key: "1"
|
|
772
|
-
} : void 0]), 1040)) : u("", !0)
|
|
773
|
-
], 46, je));
|
|
774
|
-
}
|
|
775
|
-
}, [["__scopeId", "data-v-a4ff61af"]]);
|
|
776
|
-
//#endregion
|
|
777
|
-
export { Ae as n, qe as t };
|