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,20 +1,20 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import { t as oe } from "./useConfig-
|
|
4
|
-
import { t as se } from "./usePrinter-
|
|
5
|
-
import { n as ce, t as le } from "./BaseScanner-
|
|
6
|
-
import { t as ue } from "./useSvgExport-
|
|
7
|
-
import { t as de } from "./useNestedProp-
|
|
8
|
-
import { t as fe } from "./useThemeCheck-
|
|
9
|
-
import { t as pe } from "./img-
|
|
10
|
-
import { n as me } from "./Title-
|
|
11
|
-
import { t as he } from "./_plugin-vue_export-helper-
|
|
12
|
-
import { c as ge } from "./canvas-lib-
|
|
13
|
-
import { t as _e } from "./useResponsive-
|
|
14
|
-
import { t as ve } from "./A11yDataTable-
|
|
15
|
-
import { t as ye } from "./useUserOptionState-
|
|
16
|
-
import { t as be } from "./useChartAccessibility-
|
|
17
|
-
import { t as xe } from "./vue_ui_3d_bar-
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { Bt as t, Ct as n, Et as r, G as i, H as a, J as o, Mt as s, Rt as c, S as l, W as u, X as d, bt as f, d as p, i as m, ot as h, p as ee, t as te, u as g, v as ne, x as re, xt as ie, y as ae } from "./lib-DUeYQsS0.js";
|
|
3
|
+
import { t as oe } from "./useConfig-DAyQk86L.js";
|
|
4
|
+
import { t as se } from "./usePrinter-C1Gqt_Sp.js";
|
|
5
|
+
import { n as ce, t as le } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
+
import { t as ue } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as de } from "./useNestedProp-CNcoy38D.js";
|
|
8
|
+
import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as pe } from "./img-1cKsci8e.js";
|
|
10
|
+
import { n as me } from "./Title-NWp4qB4K.js";
|
|
11
|
+
import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { c as ge } from "./canvas-lib-BOP_HS11.js";
|
|
13
|
+
import { t as _e } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
+
import { t as ve } from "./A11yDataTable-BCbtxMU6.js";
|
|
15
|
+
import { t as ye } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
|
+
import { t as be } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
+
import { t as xe } from "./vue_ui_3d_bar-C4R7o-yX.js";
|
|
18
18
|
import { Fragment as _, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as Se, createTextVNode as Ce, createVNode as we, defineAsyncComponent as C, guardReactiveProps as w, mergeProps as Te, nextTick as Ee, normalizeClass as De, normalizeProps as T, normalizeStyle as E, onMounted as Oe, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as ke, toDisplayString as j, toRefs as Ae, unref as M, watch as je, withCtx as N, withKeys as Me, withModifiers as Ne } from "vue";
|
|
19
19
|
//#region src/components/vue-ui-3d-bar.vue
|
|
20
20
|
var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le = {
|
|
@@ -235,7 +235,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
235
235
|
},
|
|
236
236
|
emits: ["selectDatapoint", "copyAlt"],
|
|
237
237
|
setup(e, { expose: he, emit: Pe }) {
|
|
238
|
-
let Ln = C(() => import("./BaseIcon-
|
|
238
|
+
let Ln = C(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), Rn = C(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), zn = C(() => import("./DataTable-B--IN22e.js")), Bn = C(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Vn = C(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Hn = C(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Un = C(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_3d_bar: Wn } = oe(), { isThemeValid: Gn, warnInvalidTheme: Kn } = fe(), P = e, qn = Pe, Jn = v(() => !!P.dataset && Object.keys(P.dataset).length), F = O(a()), I = O(null), L = O(!1), Yn = O(0), Xn = O(0), Zn = O(null), Qn = O(null), $n = O(null), er = O(null), R = O(!1), tr = O(null), nr = O(null), rr = O(!1), ir = O(!1), z = O(null), B = O(""), V = O(fr()), ar = v(() => V.value.userOptions.useCursorPointer), or = v(() => t({
|
|
239
239
|
defaultConfig: {
|
|
240
240
|
customPalette: [
|
|
241
241
|
"#808080",
|
|
@@ -255,13 +255,13 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
255
255
|
} }
|
|
256
256
|
},
|
|
257
257
|
userConfig: V.value.skeletonConfig ?? {}
|
|
258
|
-
})), { loading:
|
|
258
|
+
})), { loading: sr, FINAL_DATASET: H } = ce({
|
|
259
259
|
...Ae(P),
|
|
260
260
|
FINAL_CONFIG: V,
|
|
261
|
-
prepareConfig:
|
|
261
|
+
prepareConfig: fr,
|
|
262
262
|
callback: () => {
|
|
263
263
|
Promise.resolve().then(async () => {
|
|
264
|
-
await Ee(),
|
|
264
|
+
await Ee(), br();
|
|
265
265
|
});
|
|
266
266
|
},
|
|
267
267
|
skeletonDataset: P.config?.skeletonDataset ?? { series: [
|
|
@@ -299,12 +299,12 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
299
299
|
}]
|
|
300
300
|
}
|
|
301
301
|
] },
|
|
302
|
-
skeletonConfig:
|
|
302
|
+
skeletonConfig: t({
|
|
303
303
|
defaultConfig: V.value,
|
|
304
304
|
userConfig: or.value
|
|
305
305
|
})
|
|
306
|
-
}), { userOptionsVisible:
|
|
307
|
-
function
|
|
306
|
+
}), { userOptionsVisible: cr, setUserOptionsVisibility: lr, keepUserOptionState: ur } = ye({ config: V.value }), { svgRef: dr } = be({ config: V.value.style.chart.title });
|
|
307
|
+
function fr() {
|
|
308
308
|
let e = de({
|
|
309
309
|
userConfig: P.config,
|
|
310
310
|
defaultConfig: Wn
|
|
@@ -314,116 +314,116 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
314
314
|
let n = de({
|
|
315
315
|
userConfig: xe[t] || P.config,
|
|
316
316
|
defaultConfig: e
|
|
317
|
-
}),
|
|
317
|
+
}), i = de({
|
|
318
318
|
userConfig: P.config,
|
|
319
319
|
defaultConfig: n
|
|
320
320
|
});
|
|
321
321
|
return {
|
|
322
|
-
...
|
|
323
|
-
customPalette:
|
|
322
|
+
...i,
|
|
323
|
+
customPalette: i.customPalette.length ? i.customPalette : c[t] || r
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
326
|
je(() => P.config, (e) => {
|
|
327
|
-
|
|
327
|
+
sr.value || (V.value = fr()), cr.value = !V.value.userOptions.showOnChartHover, Sr(), Yn.value += 1, Xn.value += 1, U.value.showTable = V.value.table.show;
|
|
328
328
|
}, { deep: !0 });
|
|
329
|
-
let { isPrinting:
|
|
329
|
+
let { isPrinting: pr, isImaging: mr, generatePdf: hr, generateImage: gr } = se({
|
|
330
330
|
elementId: `3d_bar_${F.value}`,
|
|
331
331
|
fileName: V.value.style.chart.title.text || "vue-ui-3d-bar",
|
|
332
332
|
options: V.value.userOptions.print
|
|
333
|
-
}),
|
|
333
|
+
}), _r = v(() => re(V.value.customPalette)), U = O({ showTable: V.value.table.show });
|
|
334
334
|
je(V, () => {
|
|
335
|
-
|
|
335
|
+
U.value = { showTable: V.value.table.show };
|
|
336
336
|
}, { immediate: !0 });
|
|
337
|
-
let
|
|
338
|
-
height:
|
|
339
|
-
width:
|
|
340
|
-
absoluteWidth:
|
|
337
|
+
let W = v(() => H.value.series && H.value.series.length), vr = O(V.value.style.chart.box.dimensions.width * (W.value ? 2 : 1)), yr = O(V.value.style.chart.box.dimensions.height), G = v(() => ({
|
|
338
|
+
height: yr.value,
|
|
339
|
+
width: vr.value,
|
|
340
|
+
absoluteWidth: vr.value,
|
|
341
341
|
top: V.value.style.chart.box.dimensions.top,
|
|
342
342
|
bottom: V.value.style.chart.box.dimensions.bottom,
|
|
343
343
|
left: V.value.style.chart.box.dimensions.left,
|
|
344
344
|
right: V.value.style.chart.box.dimensions.right,
|
|
345
345
|
perspective: V.value.style.chart.box.dimensions.perspective
|
|
346
|
-
})),
|
|
347
|
-
if (
|
|
348
|
-
let e =
|
|
346
|
+
})), K = v(() => {
|
|
347
|
+
if (W.value) {
|
|
348
|
+
let e = H.value.series.map((e) => e.value || 0).reduce((e, t) => e + t, 0), t = H.value.series.map((t, n) => ({
|
|
349
349
|
...t,
|
|
350
|
-
seriesIndex:
|
|
351
|
-
id:
|
|
350
|
+
seriesIndex: n,
|
|
351
|
+
id: a(),
|
|
352
352
|
proportion: (t.value || 0) / e,
|
|
353
|
-
color:
|
|
353
|
+
color: ae(t.color) || _r.value[n] || r[n] || r[n % r.length],
|
|
354
354
|
breakdown: t.breakdown ? t.breakdown.sort((e, t) => t.value - e.value) : null
|
|
355
|
-
})).sort((e, t) => t.value - e.value),
|
|
356
|
-
for (let e = 0; e < t.length; e += 1)
|
|
355
|
+
})).sort((e, t) => t.value - e.value), n = [], i = 0;
|
|
356
|
+
for (let e = 0; e < t.length; e += 1) n.push({
|
|
357
357
|
...t[e],
|
|
358
|
-
fill:
|
|
358
|
+
fill: Cr(i, t[e].proportion, t[e].breakdown, t[e].color)
|
|
359
359
|
}), i += t[e].proportion;
|
|
360
|
-
return
|
|
360
|
+
return n;
|
|
361
361
|
}
|
|
362
362
|
return null;
|
|
363
|
-
}),
|
|
364
|
-
let e =
|
|
363
|
+
}), q = v(() => {
|
|
364
|
+
let e = G.value.width / 2;
|
|
365
365
|
return {
|
|
366
|
-
right: `M${e},${
|
|
367
|
-
left: `M${e},${
|
|
368
|
-
side: `M${e},${
|
|
369
|
-
topSides: `M${
|
|
370
|
-
tubeTop: `M${
|
|
371
|
-
tubeLeft: `M${
|
|
372
|
-
tubeRight: `M${
|
|
373
|
-
tubeBottom: `M${
|
|
366
|
+
right: `M${e},${G.value.top} ${G.value.width - G.value.right}, ${G.value.top + G.value.perspective} ${G.value.width - G.value.right},${G.value.height - G.value.bottom - G.value.perspective} ${e},${G.value.height - G.value.bottom}`,
|
|
367
|
+
left: `M${e},${G.value.top} ${G.value.left},${G.value.top + G.value.perspective} ${G.value.left},${G.value.height - G.value.bottom - G.value.perspective} ${e},${G.value.height - G.value.bottom}`,
|
|
368
|
+
side: `M${e},${G.value.height - G.value.bottom} ${e},${G.value.top + G.value.perspective * 2}`,
|
|
369
|
+
topSides: `M${G.value.left},${G.value.top + G.value.perspective} ${e},${G.value.top + G.value.perspective * 2} ${G.value.width - G.value.right},${G.value.top + G.value.perspective}`,
|
|
370
|
+
tubeTop: `M${G.value.left},${G.value.top + G.value.perspective} C ${G.value.left},${G.value.top - G.value.perspective / 3} ${G.value.width - G.value.right},${G.value.top - G.value.perspective / 3} ${G.value.width - G.value.right},${G.value.top + G.value.perspective} C ${G.value.width - G.value.right},${G.value.top + G.value.perspective * 2.3} ${G.value.left},${G.value.top + G.value.perspective * 2.3} ${G.value.left},${G.value.top + G.value.perspective}`,
|
|
371
|
+
tubeLeft: `M${G.value.left},${G.value.top + G.value.perspective} ${G.value.left},${G.value.height - G.value.bottom - G.value.perspective}`,
|
|
372
|
+
tubeRight: `M${G.value.width - G.value.right},${G.value.top + G.value.perspective} ${G.value.width - G.value.right},${G.value.height - G.value.bottom - G.value.perspective}`,
|
|
373
|
+
tubeBottom: `M${G.value.width - G.value.right},${G.value.height - G.value.bottom - G.value.perspective} C ${G.value.width - G.value.right},${G.value.height} ${G.value.left},${G.value.height} ${G.value.left},${G.value.height - G.value.bottom - G.value.perspective}`
|
|
374
374
|
};
|
|
375
|
-
}),
|
|
376
|
-
function
|
|
375
|
+
}), J = O(V.value.style.chart.animation.use ? 0 : H.value.percentage);
|
|
376
|
+
function br() {
|
|
377
377
|
let e = 0, t = V.value.style.chart.animation.speed, n = .005 * V.value.style.chart.animation.acceleration;
|
|
378
378
|
function r() {
|
|
379
|
-
|
|
379
|
+
J.value += t + e, e += n, J.value < H.value.percentage ? requestAnimationFrame(r) : J.value = H.value.percentage;
|
|
380
380
|
}
|
|
381
|
-
V.value.style.chart.animation.use && (
|
|
381
|
+
V.value.style.chart.animation.use && (J.value = 0, r());
|
|
382
382
|
}
|
|
383
383
|
Oe(() => {
|
|
384
|
-
|
|
384
|
+
Sr(), br();
|
|
385
385
|
});
|
|
386
|
-
let
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
386
|
+
let xr = v(() => !!V.value.debug);
|
|
387
|
+
function Sr() {
|
|
388
|
+
if (n(P.dataset) ? d({
|
|
389
389
|
componentName: "VueUi3dBar",
|
|
390
390
|
type: "dataset",
|
|
391
|
-
debug:
|
|
391
|
+
debug: xr.value
|
|
392
392
|
}) : P.dataset.series ? P.dataset.series.forEach((e, t) => {
|
|
393
|
-
|
|
393
|
+
h({
|
|
394
394
|
datasetObject: e,
|
|
395
395
|
requiredAttributes: ["name", "value"]
|
|
396
396
|
}).forEach((e) => {
|
|
397
|
-
|
|
397
|
+
d({
|
|
398
398
|
componentName: "VueUi3dBar",
|
|
399
399
|
type: "datasetSerieAttribute",
|
|
400
400
|
property: e,
|
|
401
401
|
index: t,
|
|
402
|
-
debug:
|
|
402
|
+
debug: xr.value
|
|
403
403
|
});
|
|
404
404
|
}), e.breakdown && e.breakdown.forEach((e, n) => {
|
|
405
|
-
|
|
405
|
+
h({
|
|
406
406
|
datasetObject: e,
|
|
407
407
|
requiredAttributes: ["name", "value"]
|
|
408
408
|
}).forEach((e) => {
|
|
409
|
-
|
|
409
|
+
d({
|
|
410
410
|
componentName: "VueUi3dBar",
|
|
411
411
|
type: "datasetSerieAttribute",
|
|
412
412
|
property: e,
|
|
413
413
|
index: `${t} - ${n}`,
|
|
414
|
-
debug:
|
|
414
|
+
debug: xr.value
|
|
415
415
|
});
|
|
416
416
|
});
|
|
417
417
|
});
|
|
418
|
-
}) :
|
|
418
|
+
}) : h({
|
|
419
419
|
datasetObject: P.dataset,
|
|
420
420
|
requiredAttributes: ["percentage"]
|
|
421
421
|
}).forEach((e) => {
|
|
422
|
-
|
|
422
|
+
d({
|
|
423
423
|
componentName: "VueUi3dBar",
|
|
424
424
|
type: "datasetAttribute",
|
|
425
425
|
property: e,
|
|
426
|
-
debug:
|
|
426
|
+
debug: xr.value
|
|
427
427
|
});
|
|
428
428
|
}), V.value.responsive) {
|
|
429
429
|
let e = ge(() => {
|
|
@@ -433,61 +433,61 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
433
433
|
source: er.value
|
|
434
434
|
});
|
|
435
435
|
requestAnimationFrame(() => {
|
|
436
|
-
|
|
436
|
+
yr.value = t - 12, vr.value = e;
|
|
437
437
|
});
|
|
438
438
|
});
|
|
439
439
|
Qn.value && ($n.value && Qn.value.unobserve($n.value), Qn.value.disconnect()), Qn.value = new ResizeObserver(e), $n.value = I.value.parentNode, Qn.value.observe($n.value);
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
let
|
|
443
|
-
function
|
|
444
|
-
let i =
|
|
445
|
-
return
|
|
442
|
+
let Y = v(() => G.value.width / 4);
|
|
443
|
+
function Cr(e, t, n, r) {
|
|
444
|
+
let i = G.value.height - G.value.bottom - G.value.top - G.value.perspective * 2, { width: a, height: o, bottom: s, right: c, left: l, perspective: u } = G.value, d = W.value ? a / 4 : a / 2, p = d * 2 + l, m = s + i * e, h = o - m - u - i * t / 2, ee = h > G.value.height / 2 ? "top" : "bottom", te = o * .25, g = !!n, ne = null, re = null;
|
|
445
|
+
return g && (n = n.map((e, t) => ({
|
|
446
446
|
...e,
|
|
447
447
|
value: e.value || 0,
|
|
448
|
-
color:
|
|
449
|
-
})),
|
|
450
|
-
donut:
|
|
451
|
-
miniDonut:
|
|
448
|
+
color: f(r, t / n.length)
|
|
449
|
+
})), ne = ie({ series: n }, a / 2 + a / 5, ee === "top" ? h - te : h + te, a / 10, a / 10, 1.99999, 2, 1, 360, 105.25, a / 20), re = ie({ series: n }, a - p + a / 14, o - m - u - i * t / 2, a / 40, a / 40, 1.99999, 2, 1, 360, 105.25, a / 40)), {
|
|
450
|
+
donut: ne,
|
|
451
|
+
miniDonut: re,
|
|
452
452
|
donutR: a / 20,
|
|
453
|
-
CENTER_X:
|
|
453
|
+
CENTER_X: d,
|
|
454
454
|
sidePointer: {
|
|
455
455
|
x: a - p,
|
|
456
456
|
x2: a - p + a / 14,
|
|
457
457
|
xText: a - p + a / 9,
|
|
458
|
-
y: o - m -
|
|
459
|
-
topY: o - m -
|
|
458
|
+
y: o - m - u - i * t / 2,
|
|
459
|
+
topY: o - m - u - i * t,
|
|
460
460
|
height: i * t
|
|
461
461
|
},
|
|
462
462
|
apexBottom: {
|
|
463
463
|
y: o - m,
|
|
464
|
-
x:
|
|
464
|
+
x: d
|
|
465
465
|
},
|
|
466
466
|
apexTop: {
|
|
467
467
|
y: o - m - i * t,
|
|
468
|
-
x:
|
|
468
|
+
x: d
|
|
469
469
|
},
|
|
470
|
-
right: `M${
|
|
471
|
-
left: `M${
|
|
472
|
-
liningTop: `M${l},${o - m -
|
|
473
|
-
liningTopShade: `M${l},${o - m -
|
|
474
|
-
top: `M${
|
|
475
|
-
tubeTop: `M${l},${o - m - i * t -
|
|
476
|
-
bottomTubeTop: `M ${a - p - .5},${o - m -
|
|
470
|
+
right: `M${d},${o - m} ${d},${o - m - i * t} ${a - p},${o - m - u - i * t} ${a - p},${o - m - u}Z`,
|
|
471
|
+
left: `M${d},${o - m} ${d},${o - m - i * t} ${l}, ${o - m - u - i * t} ${l},${o - m - u}Z`,
|
|
472
|
+
liningTop: `M${l},${o - m - u - i * t} ${d},${o - m - i * t} ${a - p},${o - m - u - i * t}`,
|
|
473
|
+
liningTopShade: `M${l},${o - m - u - i * t - .5} ${d},${o - m - i * t - .5} ${a - p},${o - m - u - i * t - .5}`,
|
|
474
|
+
top: `M${d},${o - m - i * t} ${l},${o - m - u - i * t} ${d},${o - m - u * 2 - i * t} ${a - p},${o - m - u - i * t} Z`,
|
|
475
|
+
tubeTop: `M${l},${o - m - i * t - u} C ${l},${o - m - i * t - u * 2.5} ${a - p},${o - m - i * t - u * 2.5} ${a - p},${o - m - i * t - u} C ${a - p},${o - m - i * t + u / 2} ${l},${o - m - i * t + u / 2} ${l},${o - m - i * t - u}`,
|
|
476
|
+
bottomTubeTop: `M ${a - p - .5},${o - m - u} C ${a - p - .5},${o - m + u / 2} ${l},${o - m + u / 2} ${l + .5},${o - m - u}`,
|
|
477
477
|
tubeBody: `M
|
|
478
|
-
${l},${o - m - i * t -
|
|
479
|
-
C ${l},${o - m - i * t +
|
|
480
|
-
${a - p},${o - m - i * t +
|
|
481
|
-
${a - p},${o - m - i * t -
|
|
482
|
-
L${a - p},${o - m -
|
|
478
|
+
${l},${o - m - i * t - u}
|
|
479
|
+
C ${l},${o - m - i * t + u / 2}
|
|
480
|
+
${a - p},${o - m - i * t + u / 2}
|
|
481
|
+
${a - p},${o - m - i * t - u}
|
|
482
|
+
L${a - p},${o - m - u}
|
|
483
483
|
C
|
|
484
|
-
${a - p},${o - m +
|
|
485
|
-
${l},${o - m +
|
|
486
|
-
${l},${o - m -
|
|
484
|
+
${a - p},${o - m + u / 2}
|
|
485
|
+
${l},${o - m + u / 2}
|
|
486
|
+
${l},${o - m - u}Z`
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
let
|
|
490
|
-
let e = ne(
|
|
489
|
+
let X = v(() => {
|
|
490
|
+
let e = ne(J.value / 100), t = G.value.height - G.value.bottom - G.value.top - G.value.perspective * 2, { width: n, height: r, bottom: i, right: a, left: o, perspective: s } = G.value, c = W.value ? n / 4 : n / 2, l = W.value ? c * 2 + o : a, u = i + t * 0;
|
|
491
491
|
return {
|
|
492
492
|
right: `M${c},${r - u} ${c},${r - u - t * e} ${n - l},${r - u - s - t * e} ${n - l},${r - u - s}Z`,
|
|
493
493
|
left: `M${c},${r - u} ${c},${r - u - t * e} ${o}, ${r - u - s - t * e} ${o},${r - u - s}Z`,
|
|
@@ -513,7 +513,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
513
513
|
datapoint: e,
|
|
514
514
|
seriesIndex: e.seriesIndex
|
|
515
515
|
}), qn("selectDatapoint", e);
|
|
516
|
-
let n =
|
|
516
|
+
let n = K.value?.findIndex((t) => t.id === e.id) ?? null;
|
|
517
517
|
n !== null && n !== -1 && (z.value = n, B.value = Gr(e)), t || (Z.value = e.id), t && L.value && (L.value = !1), t && !L.value && (L.value = !0);
|
|
518
518
|
}
|
|
519
519
|
function $(e) {
|
|
@@ -523,7 +523,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
523
523
|
}), !L.value && (Z.value = null, z.value = null, B.value = "");
|
|
524
524
|
}
|
|
525
525
|
function wr(e, t, n = !1) {
|
|
526
|
-
let r =
|
|
526
|
+
let r = H.value.series.map((e) => e.value || 0).reduce((e, t) => e + t, 0), i = isNaN(e.value / r) ? 0 : e.value / r * 100, a = isNaN(e.value / Tr(t)) ? 0 : e.value / Tr(t) * 100;
|
|
527
527
|
return n ? a : i.toFixed(0) + "%";
|
|
528
528
|
}
|
|
529
529
|
function Tr(e) {
|
|
@@ -534,32 +534,32 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
534
534
|
Er.value = e;
|
|
535
535
|
}
|
|
536
536
|
function Or() {
|
|
537
|
-
return
|
|
537
|
+
return W.value ? K.value : H.value.percentage;
|
|
538
538
|
}
|
|
539
|
-
let kr = v(() =>
|
|
540
|
-
head:
|
|
539
|
+
let kr = v(() => W.value ? {
|
|
540
|
+
head: K.value.flatMap((e) => e.breakdown && e.breakdown.length ? [{
|
|
541
541
|
name: e.name,
|
|
542
542
|
color: e.color
|
|
543
543
|
}, ...e.breakdown.map((t, n) => ({
|
|
544
544
|
name: t.name,
|
|
545
|
-
color:
|
|
545
|
+
color: f(e.color, n / e.breakdown.length)
|
|
546
546
|
}))] : {
|
|
547
547
|
name: e.name,
|
|
548
548
|
color: e.color
|
|
549
549
|
}),
|
|
550
|
-
body:
|
|
550
|
+
body: K.value.flatMap((e) => e.breakdown && e.breakdown.length ? [e.value, ...e.breakdown.map((e) => e.value)] : e.value)
|
|
551
551
|
} : null);
|
|
552
552
|
function Ar(e = null) {
|
|
553
|
-
if (!
|
|
553
|
+
if (!W.value) {
|
|
554
554
|
console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
|
|
555
555
|
return;
|
|
556
556
|
}
|
|
557
557
|
Ee(() => {
|
|
558
|
-
let t =
|
|
558
|
+
let t = K.value.map((e) => e.value).reduce((e, t) => e + t, 0), n = kr.value.head.map((e, n) => [
|
|
559
559
|
[e.name],
|
|
560
560
|
[kr.value.body[n]],
|
|
561
561
|
[isNaN(kr.value.body[n] / t) ? "-" : kr.value.body[n] / t * 100]
|
|
562
|
-
]),
|
|
562
|
+
]), r = l([
|
|
563
563
|
[V.value.style.chart.title.text],
|
|
564
564
|
[V.value.style.chart.title.subtitle.text],
|
|
565
565
|
[
|
|
@@ -568,14 +568,14 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
568
568
|
["%"]
|
|
569
569
|
]
|
|
570
570
|
].concat(n));
|
|
571
|
-
e ? e(
|
|
572
|
-
csvContent:
|
|
571
|
+
e ? e(r) : o({
|
|
572
|
+
csvContent: r,
|
|
573
573
|
title: V.value.style.chart.title.text || "vue-ui-3d-bar"
|
|
574
574
|
});
|
|
575
575
|
});
|
|
576
576
|
}
|
|
577
577
|
let jr = v(() => {
|
|
578
|
-
if (!
|
|
578
|
+
if (!W.value || !Array.isArray(K.value) || !K.value.length) return {
|
|
579
579
|
colNames: [],
|
|
580
580
|
head: [],
|
|
581
581
|
body: [],
|
|
@@ -595,44 +595,44 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
595
595
|
shape: V.value.style.shape === "tube" ? "circle" : "square"
|
|
596
596
|
}
|
|
597
597
|
};
|
|
598
|
-
let e =
|
|
598
|
+
let e = K.value.reduce((e, t) => e + t.value, 0), t = [
|
|
599
599
|
" <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>",
|
|
600
|
-
|
|
600
|
+
i({
|
|
601
601
|
p: V.value.style.chart.legend.prefix,
|
|
602
602
|
v: e,
|
|
603
603
|
s: V.value.style.chart.legend.suffix,
|
|
604
604
|
r: V.value.table.td.roundingValue
|
|
605
605
|
}),
|
|
606
606
|
"100%"
|
|
607
|
-
],
|
|
608
|
-
let
|
|
607
|
+
], n = kr.value.head.map((t, n) => {
|
|
608
|
+
let r = kr.value.body[n];
|
|
609
609
|
return [
|
|
610
610
|
{
|
|
611
|
-
color:
|
|
612
|
-
name:
|
|
611
|
+
color: t.color,
|
|
612
|
+
name: t.name
|
|
613
613
|
},
|
|
614
|
-
|
|
614
|
+
i({
|
|
615
615
|
p: V.value.style.chart.legend.prefix,
|
|
616
|
-
v:
|
|
616
|
+
v: r,
|
|
617
617
|
s: V.value.style.chart.legend.suffix,
|
|
618
618
|
r: V.value.table.td.roundingValue
|
|
619
619
|
}),
|
|
620
|
-
isNaN(
|
|
621
|
-
v:
|
|
620
|
+
isNaN(r / e) ? "-" : i({
|
|
621
|
+
v: r / e * 100,
|
|
622
622
|
s: "%",
|
|
623
623
|
r: V.value.table.td.roundingPercentage
|
|
624
624
|
})
|
|
625
625
|
];
|
|
626
|
-
}),
|
|
626
|
+
}), r = n.map((e) => e.map((e, t) => t === 0 ? e.name : e));
|
|
627
627
|
return {
|
|
628
628
|
colNames: [
|
|
629
629
|
V.value.table.columnNames.series,
|
|
630
630
|
V.value.table.columnNames.value,
|
|
631
631
|
V.value.table.columnNames.percentage
|
|
632
632
|
],
|
|
633
|
-
head:
|
|
634
|
-
body:
|
|
635
|
-
a11yBody:
|
|
633
|
+
head: t,
|
|
634
|
+
body: n,
|
|
635
|
+
a11yBody: r,
|
|
636
636
|
config: {
|
|
637
637
|
th: {
|
|
638
638
|
backgroundColor: V.value.table.th.backgroundColor,
|
|
@@ -650,7 +650,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
650
650
|
};
|
|
651
651
|
});
|
|
652
652
|
function Mr() {
|
|
653
|
-
|
|
653
|
+
U.value.showTable = !U.value.showTable;
|
|
654
654
|
}
|
|
655
655
|
let Nr = O(!1);
|
|
656
656
|
function Pr() {
|
|
@@ -674,7 +674,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
674
674
|
};
|
|
675
675
|
}
|
|
676
676
|
let Ir = v(() => {
|
|
677
|
-
let e = V.value.table.useDialog && !V.value.table.show, t =
|
|
677
|
+
let e = V.value.table.useDialog && !V.value.table.show, t = U.value.showTable;
|
|
678
678
|
return {
|
|
679
679
|
component: e ? Un : Rn,
|
|
680
680
|
title: `${V.value.style.chart.title.text}${V.value.style.chart.title.subtitle.text ? `: ${V.value.style.chart.title.subtitle.text}` : ""}`,
|
|
@@ -703,14 +703,14 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
703
703
|
}
|
|
704
704
|
};
|
|
705
705
|
});
|
|
706
|
-
je(() =>
|
|
706
|
+
je(() => U.value.showTable, (e) => {
|
|
707
707
|
V.value.table.show || (e && V.value.table.useDialog && tr.value ? tr.value.open() : "close" in tr.value && tr.value.close());
|
|
708
708
|
});
|
|
709
709
|
function Lr() {
|
|
710
|
-
|
|
710
|
+
U.value.showTable = !1, nr.value && nr.value.setTableIconState(!1);
|
|
711
711
|
}
|
|
712
712
|
let Rr = v(() => V.value.style.chart.backgroundColor), { exportSvg: zr, getSvg: Br } = ue({
|
|
713
|
-
svg:
|
|
713
|
+
svg: dr,
|
|
714
714
|
title: v(() => V.value.style.chart.title),
|
|
715
715
|
backgroundColor: Rr
|
|
716
716
|
});
|
|
@@ -739,19 +739,19 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
739
739
|
ir.value = !1;
|
|
740
740
|
return;
|
|
741
741
|
}
|
|
742
|
-
|
|
742
|
+
gr();
|
|
743
743
|
}
|
|
744
744
|
async function Ur() {
|
|
745
745
|
if (qn("copyAlt", {
|
|
746
746
|
config: V.value,
|
|
747
|
-
dataset:
|
|
747
|
+
dataset: H.value
|
|
748
748
|
}), !V.value.userOptions.callbacks.altCopy) {
|
|
749
749
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
750
750
|
return;
|
|
751
751
|
}
|
|
752
752
|
await Promise.resolve(V.value.userOptions.callbacks.altCopy({
|
|
753
753
|
config: V.value,
|
|
754
|
-
dataset:
|
|
754
|
+
dataset: H.value
|
|
755
755
|
}));
|
|
756
756
|
}
|
|
757
757
|
function Wr() {
|
|
@@ -759,31 +759,31 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
759
759
|
}
|
|
760
760
|
function Gr(e) {
|
|
761
761
|
if (!e) return "";
|
|
762
|
-
let
|
|
762
|
+
let t = i({
|
|
763
763
|
p: V.value.style.chart.legend.prefix,
|
|
764
764
|
v: e.value,
|
|
765
765
|
s: V.value.style.chart.legend.suffix,
|
|
766
766
|
r: V.value.style.chart.legend.roundingValue
|
|
767
|
-
}),
|
|
767
|
+
}), n = i({
|
|
768
768
|
v: e.proportion * 100,
|
|
769
769
|
s: "%",
|
|
770
770
|
r: V.value.style.chart.legend.roundingPercentage
|
|
771
771
|
});
|
|
772
|
-
return `${e.name}: ${
|
|
772
|
+
return `${e.name}: ${t}, ${n}`;
|
|
773
773
|
}
|
|
774
774
|
function Kr(e) {
|
|
775
|
-
if (!
|
|
776
|
-
let t =
|
|
775
|
+
if (!W.value || !K.value?.length) return;
|
|
776
|
+
let t = K.value[e];
|
|
777
777
|
t && (z.value = e, Z.value = t.id, B.value = Gr(t));
|
|
778
778
|
}
|
|
779
779
|
function qr() {
|
|
780
|
-
R.value = !0, !(!
|
|
780
|
+
R.value = !0, !(!W.value || !K.value?.length) && z.value === null && Kr(0);
|
|
781
781
|
}
|
|
782
782
|
function Jr() {
|
|
783
783
|
R.value = !1, L.value || (z.value = null, Z.value = null, B.value = "");
|
|
784
784
|
}
|
|
785
785
|
function Yr(e) {
|
|
786
|
-
if (!
|
|
786
|
+
if (!W.value || !K.value?.length || !dr.value || document.activeElement !== dr.value) return;
|
|
787
787
|
let t = ["ArrowLeft", "ArrowDown"].includes(e.key), n = ["ArrowRight", "ArrowUp"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
788
788
|
if (!t && !n && !r && !i) return;
|
|
789
789
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
@@ -792,13 +792,13 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
792
792
|
}
|
|
793
793
|
if (r) {
|
|
794
794
|
if (z.value === null) return;
|
|
795
|
-
let e =
|
|
795
|
+
let e = K.value[z.value];
|
|
796
796
|
if (!e) return;
|
|
797
797
|
Q(e, !0), B.value = `${Gr(e)} selected`;
|
|
798
798
|
return;
|
|
799
799
|
}
|
|
800
800
|
let a = z.value;
|
|
801
|
-
a === null || a < 0 || a >=
|
|
801
|
+
a === null || a < 0 || a >= K.value.length ? a = n ? 0 : K.value.length - 1 : n ? (a += 1, a >= K.value.length && (a = 0)) : t && (--a, a < 0 && (a = K.value.length - 1)), Kr(a);
|
|
802
802
|
}
|
|
803
803
|
let Xr = v(() => ({
|
|
804
804
|
headers: jr.value?.colNames ?? [],
|
|
@@ -807,22 +807,22 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
807
807
|
return he({
|
|
808
808
|
getImage: Fr,
|
|
809
809
|
generateCsv: Ar,
|
|
810
|
-
generatePdf:
|
|
811
|
-
generateImage:
|
|
810
|
+
generatePdf: hr,
|
|
811
|
+
generateImage: gr,
|
|
812
812
|
generateSvg: Vr,
|
|
813
813
|
getData: Or,
|
|
814
814
|
toggleTable: Mr,
|
|
815
815
|
toggleAnnotator: Pr,
|
|
816
816
|
toggleFullscreen: Dr,
|
|
817
817
|
copyAlt: Ur
|
|
818
|
-
}), (e,
|
|
818
|
+
}), (e, t) => (D(), x("div", {
|
|
819
819
|
ref_key: "bar3dChart",
|
|
820
820
|
ref: I,
|
|
821
821
|
class: De("vue-data-ui-component vue-ui-3d-bar"),
|
|
822
822
|
style: E(`font-family:${V.value.style.fontFamily};width:100%; text-align:center;background:${V.value.style.chart.backgroundColor}`),
|
|
823
823
|
id: `3d_bar_${F.value}`,
|
|
824
|
-
onMouseenter:
|
|
825
|
-
onMouseleave:
|
|
824
|
+
onMouseenter: t[8] ||= () => M(lr)(!0),
|
|
825
|
+
onMouseleave: t[9] ||= () => M(lr)(!1)
|
|
826
826
|
}, [
|
|
827
827
|
S("div", {
|
|
828
828
|
id: `chart-instructions-${F.value}`,
|
|
@@ -845,7 +845,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
845
845
|
])) : b("", !0),
|
|
846
846
|
V.value.userOptions.buttons.annotator ? (D(), y(M(Bn), {
|
|
847
847
|
key: 1,
|
|
848
|
-
svgRef: M(
|
|
848
|
+
svgRef: M(dr),
|
|
849
849
|
backgroundColor: V.value.style.chart.backgroundColor,
|
|
850
850
|
color: V.value.style.chart.color,
|
|
851
851
|
active: Nr.value,
|
|
@@ -884,18 +884,18 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
886
|
}, null, 8, ["config"]))], 512)) : b("", !0),
|
|
887
|
-
V.value.userOptions.show && Jn.value && (M(
|
|
887
|
+
V.value.userOptions.show && Jn.value && (M(ur) || M(cr)) ? (D(), y(M(Vn), {
|
|
888
888
|
key: 3,
|
|
889
889
|
ref_key: "userOptionsRef",
|
|
890
890
|
ref: nr,
|
|
891
891
|
backgroundColor: V.value.style.chart.backgroundColor,
|
|
892
892
|
color: V.value.style.chart.color,
|
|
893
|
-
isPrinting: M(
|
|
894
|
-
isImaging: M(
|
|
893
|
+
isPrinting: M(pr),
|
|
894
|
+
isImaging: M(mr),
|
|
895
895
|
uid: F.value,
|
|
896
896
|
hasPdf: V.value.userOptions.buttons.pdf,
|
|
897
|
-
hasTable: !!
|
|
898
|
-
hasXls: !!
|
|
897
|
+
hasTable: !!W.value && V.value.userOptions.buttons.table,
|
|
898
|
+
hasXls: !!W.value && V.value.userOptions.buttons.csv,
|
|
899
899
|
hasImg: V.value.userOptions.buttons.img,
|
|
900
900
|
hasSvg: V.value.userOptions.buttons.svg,
|
|
901
901
|
hasFullscreen: V.value.userOptions.buttons.fullscreen,
|
|
@@ -910,14 +910,14 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
910
910
|
tableDialog: V.value.table.useDialog,
|
|
911
911
|
isCursorPointer: ar.value,
|
|
912
912
|
onToggleFullscreen: Dr,
|
|
913
|
-
onGeneratePdf: M(
|
|
913
|
+
onGeneratePdf: M(hr),
|
|
914
914
|
onGenerateCsv: Ar,
|
|
915
915
|
onGenerateImage: Hr,
|
|
916
916
|
onGenerateSvg: Vr,
|
|
917
917
|
onToggleTable: Mr,
|
|
918
918
|
onToggleAnnotator: Pr,
|
|
919
919
|
onCopyAlt: Ur,
|
|
920
|
-
style: E({ visibility: M(
|
|
920
|
+
style: E({ visibility: M(ur) ? M(cr) ? "visible" : "hidden" : "visible" })
|
|
921
921
|
}, Se({ _: 2 }, [
|
|
922
922
|
e.$slots.menuIcon ? {
|
|
923
923
|
name: "menuIcon",
|
|
@@ -1010,14 +1010,14 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1010
1010
|
])) : b("", !0),
|
|
1011
1011
|
S("div", Re, [(D(), x("svg", {
|
|
1012
1012
|
ref_key: "svgRef",
|
|
1013
|
-
ref:
|
|
1013
|
+
ref: dr,
|
|
1014
1014
|
xmlns: M(te),
|
|
1015
1015
|
class: De({
|
|
1016
1016
|
"vue-data-ui-fullscreen--on": Er.value,
|
|
1017
1017
|
"vue-data-ui-fulscreen--off": !Er.value,
|
|
1018
1018
|
animated: V.value.useCssAnimation
|
|
1019
1019
|
}),
|
|
1020
|
-
viewBox: `0 0 ${
|
|
1020
|
+
viewBox: `0 0 ${G.value.absoluteWidth} ${G.value.height}`,
|
|
1021
1021
|
style: E(`max-width:100%; overflow: visible; background:transparent;color:${V.value.style.chart.color}`),
|
|
1022
1022
|
tabindex: "0",
|
|
1023
1023
|
"aria-describedby": `chart-instructions-${F.value}`,
|
|
@@ -1030,38 +1030,38 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1030
1030
|
key: 0,
|
|
1031
1031
|
x: 0,
|
|
1032
1032
|
y: 0,
|
|
1033
|
-
width:
|
|
1034
|
-
height:
|
|
1033
|
+
width: G.value.absoluteWidth,
|
|
1034
|
+
height: G.value.height,
|
|
1035
1035
|
style: { pointerEvents: "none" }
|
|
1036
1036
|
}, [A(e.$slots, "chart-background", {}, void 0, !0)], 8, Be)) : b("", !0),
|
|
1037
1037
|
S("defs", null, [
|
|
1038
1038
|
S("radialGradient", { id: `gradient_top${F.value}` }, [S("stop", {
|
|
1039
1039
|
offset: "0%",
|
|
1040
|
-
"stop-color": M(
|
|
1040
|
+
"stop-color": M(s)(V.value.style.chart.backgroundColor, 0)
|
|
1041
1041
|
}, null, 8, He), S("stop", {
|
|
1042
1042
|
offset: "100%",
|
|
1043
1043
|
"stop-color": V.value.style.chart.bar.color
|
|
1044
1044
|
}, null, 8, Ue)], 8, Ve),
|
|
1045
1045
|
S("radialGradient", { id: `gradient_tube_top${F.value}` }, [S("stop", {
|
|
1046
1046
|
offset: "0%",
|
|
1047
|
-
"stop-color": M(
|
|
1047
|
+
"stop-color": M(s)(M(f)(V.value.style.chart.bar.color, .5), 80)
|
|
1048
1048
|
}, null, 8, Ge), S("stop", {
|
|
1049
1049
|
offset: "100%",
|
|
1050
|
-
"stop-color": M(
|
|
1050
|
+
"stop-color": M(s)(M(u)(V.value.style.chart.bar.color, .1), 80)
|
|
1051
1051
|
}, null, 8, Ke)], 8, We),
|
|
1052
1052
|
S("radialGradient", { id: `gradient_left${F.value}` }, [S("stop", {
|
|
1053
1053
|
offset: "0%",
|
|
1054
|
-
"stop-color": M(
|
|
1054
|
+
"stop-color": M(s)(V.value.style.chart.backgroundColor, 0)
|
|
1055
1055
|
}, null, 8, Je), S("stop", {
|
|
1056
1056
|
offset: "100%",
|
|
1057
|
-
"stop-color": M(
|
|
1057
|
+
"stop-color": M(s)(V.value.style.chart.bar.color, 20)
|
|
1058
1058
|
}, null, 8, Ye)], 8, qe),
|
|
1059
1059
|
S("radialGradient", { id: `gradient_right${F.value}` }, [S("stop", {
|
|
1060
1060
|
offset: "0%",
|
|
1061
|
-
"stop-color": M(
|
|
1061
|
+
"stop-color": M(s)(V.value.style.chart.backgroundColor, 0)
|
|
1062
1062
|
}, null, 8, Ze), S("stop", {
|
|
1063
1063
|
offset: "100%",
|
|
1064
|
-
"stop-color": M(
|
|
1064
|
+
"stop-color": M(s)(V.value.style.chart.bar.color, 20)
|
|
1065
1065
|
}, null, 8, Qe)], 8, Xe),
|
|
1066
1066
|
S("linearGradient", {
|
|
1067
1067
|
id: `gradient_tube_body${F.value}`,
|
|
@@ -1076,43 +1076,43 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1076
1076
|
}, null, 8, et),
|
|
1077
1077
|
S("stop", {
|
|
1078
1078
|
offset: "10%",
|
|
1079
|
-
"stop-color": M(
|
|
1079
|
+
"stop-color": M(s)(M(u)(V.value.style.chart.bar.color, .7), 100)
|
|
1080
1080
|
}, null, 8, tt),
|
|
1081
1081
|
S("stop", {
|
|
1082
1082
|
offset: "25%",
|
|
1083
|
-
"stop-color": M(
|
|
1083
|
+
"stop-color": M(s)(M(u)(V.value.style.chart.bar.color, .5), 100)
|
|
1084
1084
|
}, null, 8, nt),
|
|
1085
1085
|
S("stop", {
|
|
1086
1086
|
offset: "75%",
|
|
1087
|
-
"stop-color": M(
|
|
1087
|
+
"stop-color": M(s)(V.value.style.chart.bar.color, 80)
|
|
1088
1088
|
}, null, 8, rt),
|
|
1089
1089
|
S("stop", {
|
|
1090
1090
|
offset: "100%",
|
|
1091
|
-
"stop-color": M(
|
|
1091
|
+
"stop-color": M(s)(M(f)(V.value.style.chart.bar.color, .7), 100)
|
|
1092
1092
|
}, null, 8, it)
|
|
1093
1093
|
], 8, $e)
|
|
1094
1094
|
]),
|
|
1095
|
-
|
|
1096
|
-
(D(!0), x(_, null, k(
|
|
1095
|
+
W.value ? (D(), x("defs", at, [
|
|
1096
|
+
(D(!0), x(_, null, k(K.value, (e) => (D(), x("radialGradient", { id: `grad_top_${e.id}` }, [S("stop", {
|
|
1097
1097
|
offset: "0%",
|
|
1098
|
-
"stop-color": M(
|
|
1098
|
+
"stop-color": M(s)(M(f)(e.color, .5), 80)
|
|
1099
1099
|
}, null, 8, st), S("stop", {
|
|
1100
1100
|
offset: "100%",
|
|
1101
1101
|
"stop-color": e.color
|
|
1102
1102
|
}, null, 8, ct)], 8, ot))), 256)),
|
|
1103
|
-
(D(!0), x(_, null, k(
|
|
1103
|
+
(D(!0), x(_, null, k(K.value, (e) => (D(), x("linearGradient", { id: `grad_left_${e.id}` }, [S("stop", {
|
|
1104
1104
|
offset: "0%",
|
|
1105
|
-
"stop-color": M(
|
|
1105
|
+
"stop-color": M(s)(e.color, 80)
|
|
1106
1106
|
}, null, 8, ut), S("stop", {
|
|
1107
1107
|
offset: "100%",
|
|
1108
|
-
"stop-color": M(
|
|
1108
|
+
"stop-color": M(s)(M(u)(e.color, .5), 100)
|
|
1109
1109
|
}, null, 8, dt)], 8, lt))), 256)),
|
|
1110
|
-
(D(!0), x(_, null, k(
|
|
1110
|
+
(D(!0), x(_, null, k(K.value, (e) => (D(), x("linearGradient", { id: `grad_right_${e.id}` }, [S("stop", {
|
|
1111
1111
|
offset: "2%",
|
|
1112
|
-
"stop-color": M(
|
|
1112
|
+
"stop-color": M(s)(M(f)(e.color, .5), 100)
|
|
1113
1113
|
}, null, 8, pt), S("stop", {
|
|
1114
1114
|
offset: "100%",
|
|
1115
|
-
"stop-color": M(
|
|
1115
|
+
"stop-color": M(s)(e.color, 80)
|
|
1116
1116
|
}, null, 8, mt)], 8, ft))), 256)),
|
|
1117
1117
|
S("linearGradient", {
|
|
1118
1118
|
x1: "0%",
|
|
@@ -1120,7 +1120,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1120
1120
|
x2: "0%",
|
|
1121
1121
|
y2: "100%",
|
|
1122
1122
|
id: `vertical_line_${F.value}`
|
|
1123
|
-
}, [...
|
|
1123
|
+
}, [...t[10] ||= [S("stop", {
|
|
1124
1124
|
offset: "0%",
|
|
1125
1125
|
"stop-color": "#FFFFFF"
|
|
1126
1126
|
}, null, -1), S("stop", {
|
|
@@ -1128,16 +1128,16 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1128
1128
|
"stop-color": "#FFFFFF33"
|
|
1129
1129
|
}, null, -1)]], 8, ht)
|
|
1130
1130
|
])) : b("", !0),
|
|
1131
|
-
V.value.style.chart.dataLabel.show && ![null, void 0].includes(M(
|
|
1131
|
+
V.value.style.chart.dataLabel.show && ![null, void 0].includes(M(H).percentage) && [null, void 0].includes(M(H).series) ? (D(), x("text", {
|
|
1132
1132
|
key: 2,
|
|
1133
|
-
x:
|
|
1134
|
-
y:
|
|
1133
|
+
x: G.value.width / 2,
|
|
1134
|
+
y: G.value.top - V.value.style.chart.dataLabel.fontSize / 2,
|
|
1135
1135
|
"font-size": V.value.style.chart.dataLabel.fontSize,
|
|
1136
1136
|
"font-weight": V.value.style.chart.dataLabel.bold ? "bold" : "normal",
|
|
1137
1137
|
fill: V.value.style.chart.dataLabel.color,
|
|
1138
1138
|
"text-anchor": "middle"
|
|
1139
|
-
}, j(M(
|
|
1140
|
-
v:
|
|
1139
|
+
}, j(M(i)({
|
|
1140
|
+
v: J.value,
|
|
1141
1141
|
s: "%",
|
|
1142
1142
|
r: V.value.style.chart.dataLabel.rounding
|
|
1143
1143
|
})), 9, gt)) : b("", !0),
|
|
@@ -1146,18 +1146,18 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1146
1146
|
role: "button",
|
|
1147
1147
|
tabindex: "0",
|
|
1148
1148
|
"aria-label": "Clear selection",
|
|
1149
|
-
onClick:
|
|
1149
|
+
onClick: t[0] ||= (e) => {
|
|
1150
1150
|
L.value = !1, Z.value = null;
|
|
1151
1151
|
},
|
|
1152
|
-
onKeydown: [
|
|
1152
|
+
onKeydown: [t[1] ||= Me(Ne((e) => {
|
|
1153
1153
|
L.value = !1, Z.value = null;
|
|
1154
|
-
}, ["prevent"]), ["enter"]),
|
|
1154
|
+
}, ["prevent"]), ["enter"]), t[2] ||= Me(Ne((e) => {
|
|
1155
1155
|
L.value = !1, Z.value = null;
|
|
1156
1156
|
}, ["prevent"]), ["space"])],
|
|
1157
|
-
onFocus:
|
|
1158
|
-
onBlur:
|
|
1159
|
-
onMouseenter:
|
|
1160
|
-
onMouseleave:
|
|
1157
|
+
onFocus: t[3] ||= (e) => R.value = !0,
|
|
1158
|
+
onBlur: t[4] ||= (e) => R.value = !1,
|
|
1159
|
+
onMouseenter: t[5] ||= (e) => R.value = !0,
|
|
1160
|
+
onMouseleave: t[6] ||= (e) => R.value = !1,
|
|
1161
1161
|
class: "svg-btn",
|
|
1162
1162
|
"data-dom-to-png-ignore": "",
|
|
1163
1163
|
style: E({
|
|
@@ -1165,18 +1165,18 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1165
1165
|
outline: "none"
|
|
1166
1166
|
})
|
|
1167
1167
|
}, [
|
|
1168
|
-
|
|
1168
|
+
t[11] ||= S("title", null, "Clear selection", -1),
|
|
1169
1169
|
S("rect", {
|
|
1170
|
-
x:
|
|
1171
|
-
y:
|
|
1170
|
+
x: Y.value - 12,
|
|
1171
|
+
y: G.value.top - 24,
|
|
1172
1172
|
width: 24,
|
|
1173
1173
|
height: 24,
|
|
1174
1174
|
fill: "transparent",
|
|
1175
1175
|
"pointer-events": "all"
|
|
1176
1176
|
}, null, 8, _t),
|
|
1177
1177
|
S("circle", {
|
|
1178
|
-
cx:
|
|
1179
|
-
cy:
|
|
1178
|
+
cx: Y.value,
|
|
1179
|
+
cy: G.value.top - 12,
|
|
1180
1180
|
r: "10",
|
|
1181
1181
|
fill: "none",
|
|
1182
1182
|
stroke: V.value.style.chart.color,
|
|
@@ -1185,14 +1185,14 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1185
1185
|
opacity: R.value ? .5 : 0
|
|
1186
1186
|
}, null, 8, vt),
|
|
1187
1187
|
S("path", {
|
|
1188
|
-
d: `M${
|
|
1188
|
+
d: `M${Y.value - 6},${G.value.top - 18} ${Y.value + 6},${G.value.top - 6}`,
|
|
1189
1189
|
stroke: V.value.style.chart.color,
|
|
1190
1190
|
"stroke-linecap": "round",
|
|
1191
1191
|
"stroke-width": "2",
|
|
1192
1192
|
"vector-effect": "non-scaling-stroke"
|
|
1193
1193
|
}, null, 8, yt),
|
|
1194
1194
|
S("path", {
|
|
1195
|
-
d: `M${
|
|
1195
|
+
d: `M${Y.value + 6},${G.value.top - 18} ${Y.value - 6},${G.value.top - 6}`,
|
|
1196
1196
|
stroke: V.value.style.chart.color,
|
|
1197
1197
|
"stroke-linecap": "round",
|
|
1198
1198
|
"stroke-width": "2",
|
|
@@ -1200,10 +1200,10 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1200
1200
|
}, null, 8, bt)
|
|
1201
1201
|
], 36)) : b("", !0),
|
|
1202
1202
|
!V.value.style.shape || V.value.style.shape === "bar" ? (D(), x("g", xt, [
|
|
1203
|
-
|
|
1203
|
+
W.value ? b("", !0) : (D(), x("g", St, [
|
|
1204
1204
|
S("path", {
|
|
1205
1205
|
"stroke-dasharray": V.value.style.chart.box.strokeDasharray,
|
|
1206
|
-
d:
|
|
1206
|
+
d: q.value.right,
|
|
1207
1207
|
stroke: V.value.style.chart.box.stroke,
|
|
1208
1208
|
"stroke-width": V.value.style.chart.box.strokeWidth,
|
|
1209
1209
|
"stroke-linejoin": "round",
|
|
@@ -1212,7 +1212,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1212
1212
|
}, null, 8, Ct),
|
|
1213
1213
|
S("path", {
|
|
1214
1214
|
"stroke-dasharray": V.value.style.chart.box.strokeDasharray,
|
|
1215
|
-
d:
|
|
1215
|
+
d: q.value.left,
|
|
1216
1216
|
stroke: V.value.style.chart.box.stroke,
|
|
1217
1217
|
"stroke-width": V.value.style.chart.box.strokeWidth,
|
|
1218
1218
|
"stroke-linejoin": "round",
|
|
@@ -1221,7 +1221,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1221
1221
|
}, null, 8, wt),
|
|
1222
1222
|
S("path", {
|
|
1223
1223
|
"stroke-dasharray": V.value.style.chart.box.strokeDasharray,
|
|
1224
|
-
d:
|
|
1224
|
+
d: q.value.side,
|
|
1225
1225
|
stroke: V.value.style.chart.box.stroke,
|
|
1226
1226
|
"stroke-width": V.value.style.chart.box.strokeWidth,
|
|
1227
1227
|
"stroke-linejoin": "round",
|
|
@@ -1230,7 +1230,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1230
1230
|
}, null, 8, Tt),
|
|
1231
1231
|
S("path", {
|
|
1232
1232
|
"stroke-dasharray": V.value.style.chart.box.strokeDasharray,
|
|
1233
|
-
d:
|
|
1233
|
+
d: q.value.topSides,
|
|
1234
1234
|
stroke: V.value.style.chart.box.stroke,
|
|
1235
1235
|
"stroke-width": V.value.style.chart.box.strokeWidth,
|
|
1236
1236
|
"stroke-linejoin": "round",
|
|
@@ -1238,9 +1238,9 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1238
1238
|
fill: "none"
|
|
1239
1239
|
}, null, 8, Et)
|
|
1240
1240
|
])),
|
|
1241
|
-
|
|
1241
|
+
W.value ? b("", !0) : (D(), x("g", Dt, [
|
|
1242
1242
|
S("path", {
|
|
1243
|
-
d:
|
|
1243
|
+
d: X.value.right,
|
|
1244
1244
|
stroke: V.value.style.chart.bar.stroke,
|
|
1245
1245
|
"stroke-width": V.value.style.chart.bar.strokeWidth,
|
|
1246
1246
|
"stroke-linejoin": "round",
|
|
@@ -1248,7 +1248,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1248
1248
|
fill: `url(#gradient_right${F.value})`
|
|
1249
1249
|
}, null, 8, Ot),
|
|
1250
1250
|
S("path", {
|
|
1251
|
-
d:
|
|
1251
|
+
d: X.value.left,
|
|
1252
1252
|
stroke: V.value.style.chart.bar.stroke,
|
|
1253
1253
|
"stroke-width": V.value.style.chart.bar.strokeWidth,
|
|
1254
1254
|
"stroke-linejoin": "round",
|
|
@@ -1256,7 +1256,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1256
1256
|
fill: `url(#gradient_left${F.value})`
|
|
1257
1257
|
}, null, 8, kt),
|
|
1258
1258
|
S("path", {
|
|
1259
|
-
d:
|
|
1259
|
+
d: X.value.top,
|
|
1260
1260
|
stroke: V.value.style.chart.bar.stroke,
|
|
1261
1261
|
"stroke-width": V.value.style.chart.bar.strokeWidth,
|
|
1262
1262
|
"stroke-linejoin": "round",
|
|
@@ -1264,8 +1264,8 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1264
1264
|
fill: `url(#gradient_top${F.value})`
|
|
1265
1265
|
}, null, 8, At)
|
|
1266
1266
|
])),
|
|
1267
|
-
|
|
1268
|
-
(D(!0), x(_, null, k(
|
|
1267
|
+
W.value ? (D(), x("g", jt, [
|
|
1268
|
+
(D(!0), x(_, null, k(K.value, (e, t) => (D(), x("g", {
|
|
1269
1269
|
style: E(`opacity:${Z.value ? Z.value === e.id ? 1 : .3 : 1}`),
|
|
1270
1270
|
class: "vue-ui-3d-bar-stack",
|
|
1271
1271
|
role: "img",
|
|
@@ -1309,7 +1309,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1309
1309
|
"stroke-linecap": "round"
|
|
1310
1310
|
}, null, 8, Lt)
|
|
1311
1311
|
], 12, Mt))), 256)),
|
|
1312
|
-
(D(!0), x(_, null, k(
|
|
1312
|
+
(D(!0), x(_, null, k(K.value, (e, t) => (D(), x("g", null, [t === K.value.length - 1 ? b("", !0) : (D(), x("path", {
|
|
1313
1313
|
key: 0,
|
|
1314
1314
|
d: e.fill.liningTopShade,
|
|
1315
1315
|
stroke: V.value.style.chart.bar.shadeColor,
|
|
@@ -1318,39 +1318,39 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1318
1318
|
fill: "none",
|
|
1319
1319
|
style: { "pointer-events": "none" }
|
|
1320
1320
|
}, null, 8, Rt))]))), 256)),
|
|
1321
|
-
(D(!0), x(_, null, k(
|
|
1322
|
-
style: E(`opacity:${Z.value ? +(Z.value ===
|
|
1323
|
-
onClick: (e) => qn("selectDatapoint",
|
|
1321
|
+
(D(!0), x(_, null, k(K.value, (t, n) => (D(), x("g", {
|
|
1322
|
+
style: E(`opacity:${Z.value ? +(Z.value === t.id) : +(t.proportion * 100 > V.value.style.chart.legend.hideUnderPercentage)}`),
|
|
1323
|
+
onClick: (e) => qn("selectDatapoint", t)
|
|
1324
1324
|
}, [
|
|
1325
1325
|
S("path", {
|
|
1326
1326
|
stroke: V.value.style.chart.color,
|
|
1327
1327
|
"stroke-dasharray": "1",
|
|
1328
1328
|
"stroke-width": "0.5",
|
|
1329
1329
|
"stroke-linecap": "round",
|
|
1330
|
-
d: `M${
|
|
1330
|
+
d: `M${t.fill.sidePointer.x},${t.fill.sidePointer.y} ${t.fill.sidePointer.x2},${t.fill.sidePointer.y}`
|
|
1331
1331
|
}, null, 8, Bt),
|
|
1332
|
-
!
|
|
1332
|
+
!t.fill.miniDonut || Z.value ? (D(), x("circle", {
|
|
1333
1333
|
key: 0,
|
|
1334
|
-
cx:
|
|
1335
|
-
cy:
|
|
1334
|
+
cx: t.fill.sidePointer.x2,
|
|
1335
|
+
cy: t.fill.sidePointer.y,
|
|
1336
1336
|
r: 2,
|
|
1337
|
-
fill:
|
|
1337
|
+
fill: t.color,
|
|
1338
1338
|
stroke: V.value.style.chart.backgroundColor
|
|
1339
1339
|
}, null, 8, Vt)) : b("", !0),
|
|
1340
|
-
M(
|
|
1340
|
+
M(sr) ? (D(), x("rect", {
|
|
1341
1341
|
key: 1,
|
|
1342
|
-
x:
|
|
1343
|
-
y:
|
|
1344
|
-
width:
|
|
1342
|
+
x: t.fill.sidePointer.xText,
|
|
1343
|
+
y: t.fill.sidePointer.y - V.value.style.chart.legend.fontSize / 2,
|
|
1344
|
+
width: G.value.width / 3,
|
|
1345
1345
|
height: V.value.style.chart.legend.fontSize,
|
|
1346
1346
|
fill: "#6A6A6A80",
|
|
1347
1347
|
rx: "3"
|
|
1348
1348
|
}, null, 8, Ht)) : b("", !0),
|
|
1349
|
-
M(
|
|
1349
|
+
M(sr) ? b("", !0) : (D(), x("foreignObject", {
|
|
1350
1350
|
key: 2,
|
|
1351
|
-
x:
|
|
1352
|
-
y:
|
|
1353
|
-
width:
|
|
1351
|
+
x: t.fill.sidePointer.xText,
|
|
1352
|
+
y: t.fill.sidePointer.y - V.value.style.chart.legend.fontSize,
|
|
1353
|
+
width: G.value.absoluteWidth / 3,
|
|
1354
1354
|
height: V.value.style.chart.legend.fontSize * 2,
|
|
1355
1355
|
style: {
|
|
1356
1356
|
overflow: "visible",
|
|
@@ -1359,26 +1359,26 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1359
1359
|
}, [V.value.style.chart.legend.showDefault ? (D(), x("div", {
|
|
1360
1360
|
key: 0,
|
|
1361
1361
|
style: E(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${V.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${V.value.style.chart.legend.fontSize}px; color:${V.value.style.chart.legend.color}; font-weight:${V.value.style.chart.legend.bold ? "bold" : "normal"}`)
|
|
1362
|
-
}, j(M(
|
|
1363
|
-
v:
|
|
1362
|
+
}, j(M(m)(V.value.style.chart.dataLabel.formatter, t.value, `${t.name}: ${M(i)({
|
|
1363
|
+
v: t.proportion * 100,
|
|
1364
1364
|
s: "%",
|
|
1365
1365
|
r: V.value.style.chart.legend.roundingPercentage
|
|
1366
|
-
})} (${M(
|
|
1366
|
+
})} (${M(i)({
|
|
1367
1367
|
p: V.value.style.chart.legend.prefix,
|
|
1368
|
-
v:
|
|
1368
|
+
v: t.value,
|
|
1369
1369
|
s: V.value.style.chart.legend.suffix,
|
|
1370
1370
|
r: V.value.style.chart.legend.roundingValue
|
|
1371
1371
|
})})`, {
|
|
1372
|
-
datapoint:
|
|
1373
|
-
seriesIndex:
|
|
1372
|
+
datapoint: t,
|
|
1373
|
+
seriesIndex: n,
|
|
1374
1374
|
type: "barDatapoint"
|
|
1375
1375
|
})), 5)) : b("", !0), A(e.$slots, "legend", Te({ ref_for: !0 }, {
|
|
1376
|
-
datapoint:
|
|
1376
|
+
datapoint: t,
|
|
1377
1377
|
config: V.value,
|
|
1378
|
-
dataset:
|
|
1378
|
+
dataset: K.value
|
|
1379
1379
|
}), void 0, !0)], 8, Ut)),
|
|
1380
|
-
|
|
1381
|
-
(D(!0), x(_, null, k(
|
|
1380
|
+
t.fill.donut && Z.value === t.id ? (D(), x("g", Wt, [
|
|
1381
|
+
(D(!0), x(_, null, k(t.fill.donut, (e, n) => (D(), x("g", null, [wr(e, t.fill.donut, !0) > 6 ? (D(), x("path", {
|
|
1382
1382
|
key: 0,
|
|
1383
1383
|
d: M(ee)(e, {
|
|
1384
1384
|
x: e.cx,
|
|
@@ -1391,39 +1391,39 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1391
1391
|
"stroke-linejoin": "round",
|
|
1392
1392
|
fill: "none"
|
|
1393
1393
|
}, null, 8, Gt)) : b("", !0)]))), 256)),
|
|
1394
|
-
(D(!0), x(_, null, k(
|
|
1394
|
+
(D(!0), x(_, null, k(t.fill.donut, (e, t) => (D(), x("path", {
|
|
1395
1395
|
class: "vue-ui-donut-arc-path",
|
|
1396
1396
|
d: e.arcSlice,
|
|
1397
1397
|
fill: `${e.color}`,
|
|
1398
1398
|
stroke: V.value.style.chart.backgroundColor,
|
|
1399
1399
|
"stroke-width": 1
|
|
1400
1400
|
}, null, 8, Kt))), 256)),
|
|
1401
|
-
(D(!0), x(_, null, k(
|
|
1402
|
-
"text-anchor": M(
|
|
1403
|
-
x: M(
|
|
1404
|
-
y: M(
|
|
1401
|
+
(D(!0), x(_, null, k(t.fill.donut, (e, n) => (D(), x("g", null, [wr(e, t.fill.donut, !0) > 6 ? (D(), x("g", qt, [S("text", {
|
|
1402
|
+
"text-anchor": M(g)(e, !0, 0).anchor,
|
|
1403
|
+
x: M(g)(e, !0, 2).x,
|
|
1404
|
+
y: M(p)(e, 12, 12),
|
|
1405
1405
|
fill: V.value.style.chart.legend.color,
|
|
1406
1406
|
"font-size": V.value.style.chart.legend.fontSize / 1.5,
|
|
1407
1407
|
"font-weight": V.value.style.chart.legend.bold ? "bold" : "normal"
|
|
1408
|
-
}, j(M(
|
|
1408
|
+
}, j(M(m)(V.value.style.chart.dataLabel.formatter, e.value, `${wr(e, t.fill.donut)} (${M(i)({
|
|
1409
1409
|
p: V.value.style.chart.legend.prefix,
|
|
1410
1410
|
v: e.value,
|
|
1411
1411
|
s: V.value.style.chart.legend.suffix,
|
|
1412
1412
|
r: V.value.style.chart.legend.roundingValue
|
|
1413
1413
|
})})`, {
|
|
1414
1414
|
datapoint: e,
|
|
1415
|
-
seriesIndex:
|
|
1415
|
+
seriesIndex: n,
|
|
1416
1416
|
type: "donutDatapoint"
|
|
1417
1417
|
})), 9, Jt), S("text", {
|
|
1418
|
-
"text-anchor": M(
|
|
1419
|
-
x: M(
|
|
1420
|
-
y: M(
|
|
1418
|
+
"text-anchor": M(g)(e).anchor,
|
|
1419
|
+
x: M(g)(e, !0, 2).x,
|
|
1420
|
+
y: M(p)(e, 12, 12) + V.value.style.chart.legend.fontSize / 1.5,
|
|
1421
1421
|
fill: V.value.style.chart.legend.color,
|
|
1422
1422
|
"font-size": V.value.style.chart.legend.fontSize / 1.5,
|
|
1423
1423
|
"font-weight": V.value.style.chart.legend.bold ? "bold" : "normal"
|
|
1424
1424
|
}, j(e.name), 9, Yt)])) : b("", !0)]))), 256))
|
|
1425
1425
|
])) : b("", !0),
|
|
1426
|
-
|
|
1426
|
+
t.fill.miniDonut && !Z.value ? (D(), x("g", Xt, [(D(!0), x(_, null, k(t.fill.miniDonut, (e, t) => (D(), x("path", {
|
|
1427
1427
|
class: "vue-ui-donut-arc-path",
|
|
1428
1428
|
d: e.arcSlice,
|
|
1429
1429
|
fill: `${e.color}`,
|
|
@@ -1433,10 +1433,10 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1433
1433
|
], 12, zt))), 256))
|
|
1434
1434
|
])) : b("", !0)
|
|
1435
1435
|
])) : b("", !0),
|
|
1436
|
-
V.value.style.shape === "tube" ? (D(), x("g", Qt, [
|
|
1436
|
+
V.value.style.shape === "tube" ? (D(), x("g", Qt, [W.value ? b("", !0) : (D(), x("g", $t, [
|
|
1437
1437
|
S("path", {
|
|
1438
1438
|
"stroke-dasharray": V.value.style.chart.box.strokeDasharray,
|
|
1439
|
-
d:
|
|
1439
|
+
d: q.value.tubeTop,
|
|
1440
1440
|
stroke: V.value.style.chart.box.stroke,
|
|
1441
1441
|
"stroke-width": V.value.style.chart.box.strokeWidth,
|
|
1442
1442
|
"stroke-linejoin": "round",
|
|
@@ -1445,7 +1445,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1445
1445
|
}, null, 8, en),
|
|
1446
1446
|
S("path", {
|
|
1447
1447
|
"stroke-dasharray": V.value.style.chart.box.strokeDasharray,
|
|
1448
|
-
d:
|
|
1448
|
+
d: q.value.tubeLeft,
|
|
1449
1449
|
stroke: V.value.style.chart.box.stroke,
|
|
1450
1450
|
"stroke-width": V.value.style.chart.box.strokeWidth,
|
|
1451
1451
|
"stroke-linejoin": "round",
|
|
@@ -1454,7 +1454,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1454
1454
|
}, null, 8, tn),
|
|
1455
1455
|
S("path", {
|
|
1456
1456
|
"stroke-dasharray": V.value.style.chart.box.strokeDasharray,
|
|
1457
|
-
d:
|
|
1457
|
+
d: q.value.tubeRight,
|
|
1458
1458
|
stroke: V.value.style.chart.box.stroke,
|
|
1459
1459
|
"stroke-width": V.value.style.chart.box.strokeWidth,
|
|
1460
1460
|
"stroke-linejoin": "round",
|
|
@@ -1463,7 +1463,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1463
1463
|
}, null, 8, nn),
|
|
1464
1464
|
S("path", {
|
|
1465
1465
|
"stroke-dasharray": V.value.style.chart.box.strokeDasharray,
|
|
1466
|
-
d:
|
|
1466
|
+
d: q.value.tubeBottom,
|
|
1467
1467
|
stroke: V.value.style.chart.box.stroke,
|
|
1468
1468
|
"stroke-width": V.value.style.chart.box.strokeWidth,
|
|
1469
1469
|
"stroke-linejoin": "round",
|
|
@@ -1471,7 +1471,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1471
1471
|
fill: "none"
|
|
1472
1472
|
}, null, 8, rn),
|
|
1473
1473
|
S("path", {
|
|
1474
|
-
d:
|
|
1474
|
+
d: X.value.tubeTop,
|
|
1475
1475
|
stroke: V.value.style.chart.bar.stroke,
|
|
1476
1476
|
"stroke-width": V.value.style.chart.bar.strokeWidth,
|
|
1477
1477
|
"stroke-linejoin": "round",
|
|
@@ -1479,7 +1479,7 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1479
1479
|
fill: `url(#gradient_tube_top${F.value})`
|
|
1480
1480
|
}, null, 8, an),
|
|
1481
1481
|
S("path", {
|
|
1482
|
-
d:
|
|
1482
|
+
d: X.value.tubeBody,
|
|
1483
1483
|
stroke: V.value.style.chart.bar.stroke,
|
|
1484
1484
|
"stroke-width": V.value.style.chart.bar.strokeWidth,
|
|
1485
1485
|
"stroke-linejoin": "round",
|
|
@@ -1487,14 +1487,14 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1487
1487
|
fill: `url(#gradient_tube_body${F.value})`
|
|
1488
1488
|
}, null, 8, on),
|
|
1489
1489
|
S("path", {
|
|
1490
|
-
d:
|
|
1490
|
+
d: X.value.tubeTop,
|
|
1491
1491
|
stroke: "#FFFFFF",
|
|
1492
1492
|
"stroke-width": .5,
|
|
1493
1493
|
"stroke-linejoin": "round",
|
|
1494
1494
|
"stroke-linecap": "round",
|
|
1495
1495
|
fill: "none"
|
|
1496
1496
|
}, null, 8, sn)
|
|
1497
|
-
])),
|
|
1497
|
+
])), W.value ? (D(), x("g", cn, [(D(!0), x(_, null, k(K.value, (e, t) => (D(), x("g", {
|
|
1498
1498
|
style: E(`opacity:${Z.value ? Z.value === e.id ? 1 : .3 : 1}`),
|
|
1499
1499
|
class: "vue-ui-3d-bar-stack",
|
|
1500
1500
|
role: "img",
|
|
@@ -1506,10 +1506,10 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1506
1506
|
cy: "55%"
|
|
1507
1507
|
}, [S("stop", {
|
|
1508
1508
|
offset: "0%",
|
|
1509
|
-
"stop-color": M(
|
|
1509
|
+
"stop-color": M(s)(M(f)(e.color, .5), 80)
|
|
1510
1510
|
}, null, 8, dn), S("stop", {
|
|
1511
1511
|
offset: "100%",
|
|
1512
|
-
"stop-color": M(
|
|
1512
|
+
"stop-color": M(s)(M(u)(e.color, .1), 80)
|
|
1513
1513
|
}, null, 8, fn)], 8, un), S("linearGradient", {
|
|
1514
1514
|
id: `gradient_tube_body_${e.id}`,
|
|
1515
1515
|
x1: "0%",
|
|
@@ -1523,19 +1523,19 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1523
1523
|
}, null, 8, mn),
|
|
1524
1524
|
S("stop", {
|
|
1525
1525
|
offset: "10%",
|
|
1526
|
-
"stop-color": M(
|
|
1526
|
+
"stop-color": M(s)(M(u)(e.color, .7), 100)
|
|
1527
1527
|
}, null, 8, hn),
|
|
1528
1528
|
S("stop", {
|
|
1529
1529
|
offset: "25%",
|
|
1530
|
-
"stop-color": M(
|
|
1530
|
+
"stop-color": M(s)(M(u)(e.color, .5), 100)
|
|
1531
1531
|
}, null, 8, gn),
|
|
1532
1532
|
S("stop", {
|
|
1533
1533
|
offset: "75%",
|
|
1534
|
-
"stop-color": M(
|
|
1534
|
+
"stop-color": M(s)(e.color, 80)
|
|
1535
1535
|
}, null, 8, _n),
|
|
1536
1536
|
S("stop", {
|
|
1537
1537
|
offset: "100%",
|
|
1538
|
-
"stop-color": M(
|
|
1538
|
+
"stop-color": M(s)(M(f)(e.color, .7), 100)
|
|
1539
1539
|
}, null, 8, vn)
|
|
1540
1540
|
], 8, pn)]),
|
|
1541
1541
|
S("path", {
|
|
@@ -1572,39 +1572,39 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1572
1572
|
"stroke-linecap": "round",
|
|
1573
1573
|
fill: `url(#gradient_tube_top_${e.id})`
|
|
1574
1574
|
}, null, 40, xn)
|
|
1575
|
-
], 12, ln))), 256)), (D(!0), x(_, null, k(
|
|
1576
|
-
style: E(`opacity:${Z.value ? +(Z.value ===
|
|
1577
|
-
onClick: (e) => qn("selectDatapoint",
|
|
1575
|
+
], 12, ln))), 256)), (D(!0), x(_, null, k(K.value, (t, n) => (D(), x("g", {
|
|
1576
|
+
style: E(`opacity:${Z.value ? +(Z.value === t.id) : +(t.proportion * 100 > V.value.style.chart.legend.hideUnderPercentage)}`),
|
|
1577
|
+
onClick: (e) => qn("selectDatapoint", t)
|
|
1578
1578
|
}, [
|
|
1579
1579
|
S("path", {
|
|
1580
1580
|
stroke: V.value.style.chart.color,
|
|
1581
1581
|
"stroke-dasharray": "1",
|
|
1582
1582
|
"stroke-width": "0.5",
|
|
1583
1583
|
"stroke-linecap": "round",
|
|
1584
|
-
d: `M${
|
|
1584
|
+
d: `M${t.fill.sidePointer.x},${t.fill.sidePointer.y} ${t.fill.sidePointer.x2},${t.fill.sidePointer.y}`
|
|
1585
1585
|
}, null, 8, Cn),
|
|
1586
|
-
!
|
|
1586
|
+
!t.fill.miniDonut || Z.value ? (D(), x("circle", {
|
|
1587
1587
|
key: 0,
|
|
1588
|
-
cx:
|
|
1589
|
-
cy:
|
|
1588
|
+
cx: t.fill.sidePointer.x2,
|
|
1589
|
+
cy: t.fill.sidePointer.y,
|
|
1590
1590
|
r: 2,
|
|
1591
|
-
fill:
|
|
1591
|
+
fill: t.color,
|
|
1592
1592
|
stroke: V.value.style.chart.backgroundColor
|
|
1593
1593
|
}, null, 8, wn)) : b("", !0),
|
|
1594
|
-
M(
|
|
1594
|
+
M(sr) ? (D(), x("rect", {
|
|
1595
1595
|
key: 1,
|
|
1596
|
-
x:
|
|
1597
|
-
y:
|
|
1598
|
-
width:
|
|
1596
|
+
x: t.fill.sidePointer.xText,
|
|
1597
|
+
y: t.fill.sidePointer.y - V.value.style.chart.legend.fontSize / 2,
|
|
1598
|
+
width: G.value.width / 3,
|
|
1599
1599
|
height: V.value.style.chart.legend.fontSize,
|
|
1600
1600
|
fill: "#6A6A6A80",
|
|
1601
1601
|
rx: "3"
|
|
1602
1602
|
}, null, 8, Tn)) : b("", !0),
|
|
1603
|
-
M(
|
|
1603
|
+
M(sr) ? b("", !0) : (D(), x("foreignObject", {
|
|
1604
1604
|
key: 2,
|
|
1605
|
-
x:
|
|
1606
|
-
y:
|
|
1607
|
-
width:
|
|
1605
|
+
x: t.fill.sidePointer.xText,
|
|
1606
|
+
y: t.fill.sidePointer.y - V.value.style.chart.legend.fontSize,
|
|
1607
|
+
width: G.value.absoluteWidth / 3,
|
|
1608
1608
|
height: V.value.style.chart.legend.fontSize * 2,
|
|
1609
1609
|
style: {
|
|
1610
1610
|
overflow: "visible",
|
|
@@ -1613,26 +1613,26 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1613
1613
|
}, [V.value.style.chart.legend.showDefault ? (D(), x("div", {
|
|
1614
1614
|
key: 0,
|
|
1615
1615
|
style: E(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${V.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${V.value.style.chart.legend.fontSize}px; color:${V.value.style.chart.legend.color};font-weight:${V.value.style.chart.legend.bold ? "bold" : "normal"}`)
|
|
1616
|
-
}, j(M(
|
|
1617
|
-
v:
|
|
1616
|
+
}, j(M(m)(V.value.style.chart.dataLabel.formatter, t.value, `${t.name}: ${M(i)({
|
|
1617
|
+
v: t.proportion * 100,
|
|
1618
1618
|
s: "%",
|
|
1619
1619
|
r: V.value.style.chart.legend.roundingPercentage
|
|
1620
|
-
})} (${M(
|
|
1620
|
+
})} (${M(i)({
|
|
1621
1621
|
p: V.value.style.chart.legend.prefix,
|
|
1622
|
-
v:
|
|
1622
|
+
v: t.value,
|
|
1623
1623
|
s: V.value.style.chart.legend.suffix,
|
|
1624
1624
|
r: V.value.style.chart.legend.roundingValue
|
|
1625
1625
|
})})`, {
|
|
1626
|
-
datapoint:
|
|
1627
|
-
seriesIndex:
|
|
1626
|
+
datapoint: t,
|
|
1627
|
+
seriesIndex: n,
|
|
1628
1628
|
type: "barDatapoint"
|
|
1629
1629
|
})), 5)) : b("", !0), A(e.$slots, "legend", Te({ ref_for: !0 }, {
|
|
1630
|
-
datapoint:
|
|
1630
|
+
datapoint: t,
|
|
1631
1631
|
config: V.value,
|
|
1632
|
-
dataset:
|
|
1632
|
+
dataset: K.value
|
|
1633
1633
|
}), void 0, !0)], 8, En)),
|
|
1634
|
-
|
|
1635
|
-
(D(!0), x(_, null, k(
|
|
1634
|
+
t.fill.donut && Z.value === t.id ? (D(), x("g", Dn, [
|
|
1635
|
+
(D(!0), x(_, null, k(t.fill.donut, (e, n) => (D(), x("g", null, [wr(e, t.fill.donut, !0) > 6 ? (D(), x("path", {
|
|
1636
1636
|
key: 0,
|
|
1637
1637
|
d: M(ee)(e, {
|
|
1638
1638
|
x: e.cx,
|
|
@@ -1645,39 +1645,39 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1645
1645
|
"stroke-linejoin": "round",
|
|
1646
1646
|
fill: "none"
|
|
1647
1647
|
}, null, 8, On)) : b("", !0)]))), 256)),
|
|
1648
|
-
(D(!0), x(_, null, k(
|
|
1648
|
+
(D(!0), x(_, null, k(t.fill.donut, (e, t) => (D(), x("path", {
|
|
1649
1649
|
class: "vue-ui-donut-arc-path",
|
|
1650
1650
|
d: e.arcSlice,
|
|
1651
1651
|
fill: `${e.color}`,
|
|
1652
1652
|
stroke: V.value.style.chart.backgroundColor,
|
|
1653
1653
|
"stroke-width": 1
|
|
1654
1654
|
}, null, 8, kn))), 256)),
|
|
1655
|
-
(D(!0), x(_, null, k(
|
|
1656
|
-
"text-anchor": M(
|
|
1657
|
-
x: M(
|
|
1658
|
-
y: M(
|
|
1655
|
+
(D(!0), x(_, null, k(t.fill.donut, (e, n) => (D(), x("g", null, [wr(e, t.fill.donut, !0) > 6 ? (D(), x("g", An, [S("text", {
|
|
1656
|
+
"text-anchor": M(g)(e, !0, 0).anchor,
|
|
1657
|
+
x: M(g)(e, !0, 2).x,
|
|
1658
|
+
y: M(p)(e, 12, 12),
|
|
1659
1659
|
fill: V.value.style.chart.legend.color,
|
|
1660
1660
|
"font-size": V.value.style.chart.legend.fontSize / 1.5,
|
|
1661
1661
|
"font-weight": V.value.style.chart.legend.bold ? "bold" : "normal"
|
|
1662
|
-
}, j(M(
|
|
1662
|
+
}, j(M(m)(V.value.style.chart.dataLabel.formatter, e.value, `${wr(e, t.fill.donut)} (${M(i)({
|
|
1663
1663
|
p: V.value.style.chart.legend.prefix,
|
|
1664
1664
|
v: e.value,
|
|
1665
1665
|
s: V.value.style.chart.legend.suffix,
|
|
1666
1666
|
r: V.value.style.chart.legend.roundingValue
|
|
1667
1667
|
})})`, {
|
|
1668
1668
|
datapoint: e,
|
|
1669
|
-
seriesIndex:
|
|
1669
|
+
seriesIndex: n,
|
|
1670
1670
|
type: "donutDatapoint"
|
|
1671
1671
|
})), 9, jn), S("text", {
|
|
1672
|
-
"text-anchor": M(
|
|
1673
|
-
x: M(
|
|
1674
|
-
y: M(
|
|
1672
|
+
"text-anchor": M(g)(e).anchor,
|
|
1673
|
+
x: M(g)(e, !0, 2).x,
|
|
1674
|
+
y: M(p)(e, 12, 12) + V.value.style.chart.legend.fontSize / 1.5,
|
|
1675
1675
|
fill: V.value.style.chart.legend.color,
|
|
1676
1676
|
"font-size": V.value.style.chart.legend.fontSize / 1.5,
|
|
1677
1677
|
"font-weight": V.value.style.chart.legend.bold ? "bold" : "normal"
|
|
1678
1678
|
}, j(e.name), 9, Mn)])) : b("", !0)]))), 256))
|
|
1679
1679
|
])) : b("", !0),
|
|
1680
|
-
|
|
1680
|
+
t.fill.miniDonut && !Z.value ? (D(), x("g", Nn, [(D(!0), x(_, null, k(t.fill.miniDonut, (e, t) => (D(), x("path", {
|
|
1681
1681
|
class: "vue-ui-donut-arc-path",
|
|
1682
1682
|
d: e.arcSlice,
|
|
1683
1683
|
fill: `${e.color}`,
|
|
@@ -1686,19 +1686,19 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1686
1686
|
}, null, 8, Pn))), 256))])) : b("", !0)
|
|
1687
1687
|
], 12, Sn))), 256))])) : b("", !0)])) : b("", !0),
|
|
1688
1688
|
A(e.$slots, "svg", { svg: {
|
|
1689
|
-
...
|
|
1690
|
-
isPrintingImg: M(
|
|
1689
|
+
...G.value,
|
|
1690
|
+
isPrintingImg: M(pr) || M(mr) || ir.value,
|
|
1691
1691
|
isPrintingSvg: rr.value
|
|
1692
1692
|
} }, void 0, !0)
|
|
1693
1693
|
], 46, ze))]),
|
|
1694
|
-
e.$slots.watermark ? (D(), x("div", Fn, [A(e.$slots, "watermark", T(w({ isPrinting: M(
|
|
1694
|
+
e.$slots.watermark ? (D(), x("div", Fn, [A(e.$slots, "watermark", T(w({ isPrinting: M(pr) || M(mr) || rr.value || ir.value })), void 0, !0)])) : b("", !0),
|
|
1695
1695
|
e.$slots.source ? (D(), x("div", {
|
|
1696
1696
|
key: 5,
|
|
1697
1697
|
ref_key: "source",
|
|
1698
1698
|
ref: er,
|
|
1699
1699
|
dir: "auto"
|
|
1700
1700
|
}, [A(e.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
|
|
1701
|
-
Jn.value &&
|
|
1701
|
+
Jn.value && W.value && V.value.userOptions.buttons.table ? (D(), y(ke(Ir.value.component), Te({ key: 6 }, Ir.value.props, {
|
|
1702
1702
|
ref_key: "tableUnit",
|
|
1703
1703
|
ref: tr,
|
|
1704
1704
|
onClose: Lr
|
|
@@ -1742,14 +1742,14 @@ var Pe = /* @__PURE__ */ e({ default: () => Ln }), Fe = ["id"], Ie = ["id"], Le
|
|
|
1742
1742
|
fn: N(() => [S("button", {
|
|
1743
1743
|
tabindex: "0",
|
|
1744
1744
|
class: "vue-ui-user-options-button",
|
|
1745
|
-
onClick:
|
|
1745
|
+
onClick: t[7] ||= (e) => Ar(V.value.userOptions.callbacks.csv)
|
|
1746
1746
|
}, [we(M(Ln), {
|
|
1747
1747
|
name: "fileCsv",
|
|
1748
1748
|
stroke: Ir.value.props.color
|
|
1749
1749
|
}, null, 8, ["stroke"])])]),
|
|
1750
1750
|
key: "1"
|
|
1751
1751
|
} : void 0]), 1040)) : b("", !0),
|
|
1752
|
-
A(e.$slots, "skeleton", {}, () => [M(
|
|
1752
|
+
A(e.$slots, "skeleton", {}, () => [M(sr) ? (D(), y(le, { key: 0 })) : b("", !0)], !0)
|
|
1753
1753
|
], 44, Fe));
|
|
1754
1754
|
}
|
|
1755
1755
|
}, [["__scopeId", "data-v-53214ae6"]]);
|