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,24 +1,24 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import { t as he } from "./useConfig-
|
|
4
|
-
import { t as ge } from "./usePrinter-
|
|
5
|
-
import { n as _e, t as ve } from "./BaseScanner-
|
|
6
|
-
import { t as ye } from "./useSvgExport-
|
|
7
|
-
import { t as be } from "./useNestedProp-
|
|
8
|
-
import { t as xe } from "./useThemeCheck-
|
|
9
|
-
import { t as Se } from "./img-
|
|
10
|
-
import { n as Ce } from "./Title-
|
|
11
|
-
import { t as we } from "./Shape-
|
|
12
|
-
import { t as Te } from "./_plugin-vue_export-helper-
|
|
13
|
-
import { c as Ee } from "./canvas-lib-
|
|
14
|
-
import { t as De } from "./useResponsive-
|
|
15
|
-
import { t as Oe } from "./BaseLegendToggle-
|
|
16
|
-
import { t as ke } from "./A11yDataTable-
|
|
17
|
-
import { t as Ae } from "./useUserOptionState-
|
|
18
|
-
import { t as je } from "./useChartAccessibility-
|
|
19
|
-
import { t as Me } from "./labelUtils-
|
|
20
|
-
import { t as Ne } from "./Legend-
|
|
21
|
-
import { t as Pe } from "./vue_ui_rings-
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { At as t, B as n, Bt as r, Ct as i, Et as a, G as o, H as ee, J as te, Mt as ne, Nt as re, Rt as ie, S as ae, X as oe, i as se, nt as ce, ot as le, pt as ue, t as de, v as fe, x as pe, y as me } from "./lib-DUeYQsS0.js";
|
|
3
|
+
import { t as he } from "./useConfig-DAyQk86L.js";
|
|
4
|
+
import { t as ge } from "./usePrinter-C1Gqt_Sp.js";
|
|
5
|
+
import { n as _e, t as ve } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
+
import { t as ye } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as be } from "./useNestedProp-CNcoy38D.js";
|
|
8
|
+
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as Se } from "./img-1cKsci8e.js";
|
|
10
|
+
import { n as Ce } from "./Title-NWp4qB4K.js";
|
|
11
|
+
import { t as we } from "./Shape-BPCJfphn.js";
|
|
12
|
+
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
+
import { c as Ee } from "./canvas-lib-BOP_HS11.js";
|
|
14
|
+
import { t as De } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
+
import { t as Oe } from "./BaseLegendToggle-C_Db-y7s.js";
|
|
16
|
+
import { t as ke } from "./A11yDataTable-BCbtxMU6.js";
|
|
17
|
+
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as Me } from "./labelUtils-CUctkYoA.js";
|
|
20
|
+
import { t as Ne } from "./Legend-Cz2uQ5gs.js";
|
|
21
|
+
import { t as Pe } from "./vue_ui_rings-BVgD2aMn.js";
|
|
22
22
|
import { Fragment as Fe, Teleport as Ie, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as f, guardReactiveProps as p, mergeProps as Be, nextTick as Ve, normalizeClass as m, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as He, onMounted as Ue, openBlock as _, ref as v, renderList as We, renderSlot as y, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as qe, toRefs as Je, unref as b, useSlots as Ye, watch as Xe, withCtx as x } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-rings.vue
|
|
24
24
|
var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et = ["id"], tt = { style: { position: "relative" } }, nt = [
|
|
@@ -107,10 +107,10 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
107
107
|
},
|
|
108
108
|
emits: ["selectLegend", "copyAlt"],
|
|
109
109
|
setup(e, { expose: Te, emit: Ze }) {
|
|
110
|
-
let bt = f(() => import("./Tooltip-
|
|
110
|
+
let bt = f(() => import("./Tooltip-BENq327o.js")), xt = f(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), St = f(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), Ct = f(() => import("./DataTable-B--IN22e.js")), wt = f(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Tt = f(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Et = f(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Dt = f(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_rings: Ot } = he(), { isThemeValid: kt, warnInvalidTheme: At } = xe(), jt = Ye(), S = e, C = v(!1), Mt = s(() => !!S.dataset && S.dataset.length), w = v(ee()), T = v(!1), Nt = v(""), E = v(null), Pt = v(0), D = v(null), Ft = v(null), It = v(null), Lt = v(null), Rt = v(null), zt = v(0), Bt = v(0), Vt = v(0), Ht = v(!1), Ut = v(!1), O = v(null), Wt = v(null), Gt = v(!1), Kt = v(!1), k = v(null), qt = v({
|
|
111
111
|
x: 0,
|
|
112
112
|
y: 0
|
|
113
|
-
}), A = v("pointer"), Jt = v(!1), j = v(tn()), M = s(() => j.value.userOptions.useCursorPointer), Yt = s(() =>
|
|
113
|
+
}), A = v("pointer"), Jt = v(!1), j = v(tn()), M = s(() => j.value.userOptions.useCursorPointer), Yt = s(() => r({
|
|
114
114
|
defaultConfig: {
|
|
115
115
|
userOptions: { show: !1 },
|
|
116
116
|
table: { show: !1 },
|
|
@@ -158,7 +158,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
158
158
|
color: "#DBDBDB"
|
|
159
159
|
}
|
|
160
160
|
],
|
|
161
|
-
skeletonConfig:
|
|
161
|
+
skeletonConfig: r({
|
|
162
162
|
defaultConfig: j.value,
|
|
163
163
|
userConfig: Yt.value
|
|
164
164
|
})
|
|
@@ -179,7 +179,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
179
179
|
userConfig: S.config,
|
|
180
180
|
defaultConfig: n
|
|
181
181
|
}),
|
|
182
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
182
|
+
customPalette: e.customPalette.length ? e.customPalette : ie[e.theme] || a
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
Xe(() => S.config, (e) => {
|
|
@@ -204,20 +204,20 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
204
204
|
});
|
|
205
205
|
let rn = s(() => !!j.value.debug);
|
|
206
206
|
function an() {
|
|
207
|
-
if (
|
|
207
|
+
if (i(S.dataset) ? (oe({
|
|
208
208
|
componentName: "VueUiRings",
|
|
209
209
|
type: "dataset",
|
|
210
210
|
debug: rn.value
|
|
211
211
|
}), Zt.value = !0) : S.dataset.forEach((e, t) => {
|
|
212
|
-
e.values.length || (
|
|
212
|
+
e.values.length || (oe({
|
|
213
213
|
componentName: "VueUiRings",
|
|
214
214
|
type: "dataset",
|
|
215
215
|
debug: rn.value
|
|
216
|
-
}), Zt.value = !0),
|
|
216
|
+
}), Zt.value = !0), le({
|
|
217
217
|
datasetObject: e,
|
|
218
218
|
requiredAttributes: ["name", "values"]
|
|
219
219
|
}).forEach((e) => {
|
|
220
|
-
|
|
220
|
+
oe({
|
|
221
221
|
componentName: "VueUiRings",
|
|
222
222
|
type: "datasetSerieAttribute",
|
|
223
223
|
property: e,
|
|
@@ -225,7 +225,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
225
225
|
debug: rn.value
|
|
226
226
|
});
|
|
227
227
|
});
|
|
228
|
-
}),
|
|
228
|
+
}), i(S.dataset) || (Zt.value = j.value.loading), j.value.responsive) {
|
|
229
229
|
let e = Ee(() => {
|
|
230
230
|
Ht.value = !0;
|
|
231
231
|
let { width: e, height: t } = De({
|
|
@@ -252,7 +252,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
252
252
|
elementId: `rings_${w.value}`,
|
|
253
253
|
fileName: j.value.style.chart.title.text || "vue-ui-rings",
|
|
254
254
|
options: j.value.userOptions.print
|
|
255
|
-
}), un = s(() => j.value.userOptions.show && !j.value.style.chart.title.text), dn = s(() =>
|
|
255
|
+
}), un = s(() => j.value.userOptions.show && !j.value.style.chart.title.text), dn = s(() => pe(j.value.customPalette)), R = v({
|
|
256
256
|
showTable: j.value.table.show,
|
|
257
257
|
showTooltip: j.value.style.chart.tooltip.show,
|
|
258
258
|
showLabels: j.value.style.chart.layout.labels.dataLabels.show
|
|
@@ -271,7 +271,14 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
271
271
|
function mn() {
|
|
272
272
|
B.value.length ? B.value = [] : U.value.forEach((e) => {
|
|
273
273
|
B.value.push(e.uid);
|
|
274
|
-
});
|
|
274
|
+
}), hn();
|
|
275
|
+
}
|
|
276
|
+
function hn() {
|
|
277
|
+
pn("selectLegend", G.value.map((e) => ({
|
|
278
|
+
name: e.name,
|
|
279
|
+
color: e.color,
|
|
280
|
+
value: e.value
|
|
281
|
+
})));
|
|
275
282
|
}
|
|
276
283
|
function V(e) {
|
|
277
284
|
if (B.value.includes(e)) B.value = B.value.filter((t) => t !== e);
|
|
@@ -279,39 +286,35 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
279
286
|
if (B.value.length === H.value.length - 1) return;
|
|
280
287
|
B.value.push(e);
|
|
281
288
|
}
|
|
282
|
-
|
|
283
|
-
name: e.name,
|
|
284
|
-
color: e.color,
|
|
285
|
-
value: e.value
|
|
286
|
-
})));
|
|
289
|
+
hn();
|
|
287
290
|
}
|
|
288
|
-
function
|
|
291
|
+
function gn(e) {
|
|
289
292
|
return H.value.length ? H.value.find((t) => t.name === e) || (j.value.debug && console.warn(`VueUiRings - Series name not found "${e}"`), null) : (j.value.debug && console.warn("VueUiRings - There are no series to show."), null);
|
|
290
293
|
}
|
|
291
|
-
function
|
|
292
|
-
let t =
|
|
294
|
+
function _n(e) {
|
|
295
|
+
let t = gn(e);
|
|
293
296
|
t !== null && B.value.includes(t.uid) && V(t.uid);
|
|
294
297
|
}
|
|
295
|
-
function
|
|
296
|
-
let t =
|
|
298
|
+
function vn(e) {
|
|
299
|
+
let t = gn(e);
|
|
297
300
|
t !== null && (B.value.includes(t.uid) || V(t.uid));
|
|
298
301
|
}
|
|
299
|
-
let
|
|
300
|
-
function
|
|
301
|
-
return e /
|
|
302
|
+
let yn = s(() => Math.max(...H.value.filter((e) => !B.value.includes(e.uid)).map(({ value: e }) => e)));
|
|
303
|
+
function bn(e) {
|
|
304
|
+
return e / yn.value;
|
|
302
305
|
}
|
|
303
|
-
let H = s(() => Xt.value.map(({ values: e, name:
|
|
304
|
-
let
|
|
306
|
+
let H = s(() => Xt.value.map(({ values: e, name: n, color: r = null }, i) => {
|
|
307
|
+
let o = t(e).reduce((e, t) => e + t, 0);
|
|
305
308
|
return {
|
|
306
|
-
name:
|
|
307
|
-
color:
|
|
308
|
-
value:
|
|
309
|
-
proportion:
|
|
310
|
-
uid:
|
|
309
|
+
name: n,
|
|
310
|
+
color: r || me(r) || dn.value[i] || a[i] || a[i % a.length],
|
|
311
|
+
value: o,
|
|
312
|
+
proportion: o / Xt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
|
|
313
|
+
uid: ee(),
|
|
311
314
|
absoluteIndex: i
|
|
312
315
|
};
|
|
313
316
|
})), U = s(() => H.value.map((e, t) => {
|
|
314
|
-
let
|
|
317
|
+
let n = se(j.value.style.chart.layout.labels.dataLabels.formatter, e.value, o({
|
|
315
318
|
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
316
319
|
v: e.value,
|
|
317
320
|
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -319,15 +322,15 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
319
322
|
}), {
|
|
320
323
|
datapoint: e,
|
|
321
324
|
index: t
|
|
322
|
-
}),
|
|
325
|
+
}), r = isNaN(e.value / W.value) ? "-" : o({
|
|
323
326
|
v: e.value / W.value * 100,
|
|
324
327
|
s: "%",
|
|
325
328
|
r: j.value.style.chart.legend.roundingPercentage
|
|
326
|
-
}),
|
|
329
|
+
}), i = Tn({
|
|
327
330
|
showVal: j.value.style.chart.legend.showValue,
|
|
328
331
|
showPercentage: j.value.style.chart.legend.showPercentage,
|
|
329
|
-
val:
|
|
330
|
-
percentage: B.value.includes(e.uid) ? "-%" :
|
|
332
|
+
val: n,
|
|
333
|
+
percentage: B.value.includes(e.uid) ? "-%" : r
|
|
331
334
|
});
|
|
332
335
|
return {
|
|
333
336
|
...e,
|
|
@@ -335,26 +338,26 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
335
338
|
opacity: B.value.includes(e.uid) ? .5 : 1,
|
|
336
339
|
segregate: () => V(e.uid),
|
|
337
340
|
isSegregated: B.value.includes(e.uid),
|
|
338
|
-
display: `${e.name}${j.value.style.chart.legend.showPercentage || j.value.style.chart.legend.showValue ? ": " : ""}${
|
|
341
|
+
display: `${e.name}${j.value.style.chart.legend.showPercentage || j.value.style.chart.legend.showValue ? ": " : ""}${i}`
|
|
339
342
|
};
|
|
340
|
-
}).toSorted((e, t) => t.value - e.value)),
|
|
343
|
+
}).toSorted((e, t) => t.value - e.value)), xn = s(() => ({
|
|
341
344
|
cy: "rings-div-legend",
|
|
342
345
|
backgroundColor: j.value.style.chart.legend.backgroundColor,
|
|
343
346
|
color: j.value.style.chart.legend.color,
|
|
344
347
|
fontSize: j.value.style.chart.legend.fontSize,
|
|
345
348
|
paddingBottom: 12,
|
|
346
349
|
fontWeight: j.value.style.chart.legend.bold ? "bold" : ""
|
|
347
|
-
})), W = s(() => H.value.filter((e) => !B.value.includes(e.uid)).map(({ value: e }) => e).reduce((e, t) => e + t, 0)), G = s(() => H.value.filter((e) => !B.value.includes(e.uid)).map(({ name: e, value: t, color: n = null, uid: r, absoluteIndex: i },
|
|
350
|
+
})), W = s(() => H.value.filter((e) => !B.value.includes(e.uid)).map(({ value: e }) => e).reduce((e, t) => e + t, 0)), G = s(() => H.value.filter((e) => !B.value.includes(e.uid)).map(({ name: e, value: t, color: n = null, uid: r, absoluteIndex: i }, o) => ({
|
|
348
351
|
absoluteIndex: i,
|
|
349
352
|
uid: r,
|
|
350
353
|
name: e,
|
|
351
|
-
color: n ||
|
|
354
|
+
color: n || me(n) || dn.value[o] || a[o] || a[o % a.length],
|
|
352
355
|
value: t,
|
|
353
|
-
proportion:
|
|
356
|
+
proportion: bn(t),
|
|
354
357
|
percentage: t / W.value * 100,
|
|
355
|
-
strokeWidth: j.value.style.chart.layout.rings.strokeWidth *
|
|
358
|
+
strokeWidth: j.value.style.chart.layout.rings.strokeWidth * bn(t)
|
|
356
359
|
})).toSorted((e, t) => t.value - e.value));
|
|
357
|
-
function
|
|
360
|
+
function Sn() {
|
|
358
361
|
return G.value.map(({ name: e, color: t, value: n, absoluteValues: r, percentage: i }) => ({
|
|
359
362
|
name: e,
|
|
360
363
|
color: t,
|
|
@@ -364,19 +367,19 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
364
367
|
}));
|
|
365
368
|
}
|
|
366
369
|
let K = s(() => fn.value - j.value.style.chart.layout.rings.strokeWidth * 2);
|
|
367
|
-
function
|
|
370
|
+
function Cn(e, t) {
|
|
368
371
|
j.value.events.datapointClick && j.value.events.datapointClick({
|
|
369
372
|
datapoint: e,
|
|
370
373
|
seriesIndex: t
|
|
371
374
|
});
|
|
372
375
|
}
|
|
373
|
-
function
|
|
376
|
+
function wn(e, t) {
|
|
374
377
|
E.value = null, T.value = !1, k.value = null, A.value = "pointer", j.value.events.datapointLeave && j.value.events.datapointLeave({
|
|
375
378
|
datapoint: e,
|
|
376
379
|
seriesIndex: t
|
|
377
380
|
});
|
|
378
381
|
}
|
|
379
|
-
function
|
|
382
|
+
function Tn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
|
|
380
383
|
let i = j.value.style.chart.layout.labels.dataLabels;
|
|
381
384
|
return Me({
|
|
382
385
|
config: i,
|
|
@@ -386,26 +389,26 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
386
389
|
showPercentage: r
|
|
387
390
|
});
|
|
388
391
|
}
|
|
389
|
-
function
|
|
390
|
-
let t = j.value.style.chart.layout.labels.dataLabels,
|
|
392
|
+
function En(e) {
|
|
393
|
+
let t = j.value.style.chart.layout.labels.dataLabels, n = se(t.formatter, e.value, o({
|
|
391
394
|
p: t.prefix,
|
|
392
395
|
v: e.value,
|
|
393
396
|
s: t.suffix,
|
|
394
397
|
r: t.roundingValue
|
|
395
|
-
})),
|
|
398
|
+
})), r = o({
|
|
396
399
|
v: e.percentage,
|
|
397
400
|
s: "%",
|
|
398
401
|
r: t.roundingPercentage
|
|
399
402
|
});
|
|
400
|
-
return `${e.name}\n${
|
|
401
|
-
val:
|
|
402
|
-
percentage:
|
|
403
|
+
return `${e.name}\n${Tn({
|
|
404
|
+
val: n,
|
|
405
|
+
percentage: r,
|
|
403
406
|
showVal: t.showValue,
|
|
404
407
|
showPercentage: t.showPercentage
|
|
405
408
|
})}`;
|
|
406
409
|
}
|
|
407
410
|
function q(e) {
|
|
408
|
-
return
|
|
411
|
+
return fe(K.value * e.proportion / 2 * .9 <= 0 ? 1e-4 : K.value * e.proportion / 2 * .9);
|
|
409
412
|
}
|
|
410
413
|
function J(e, t) {
|
|
411
414
|
return t === 0 ? F.value.y : F.value.y + K.value * G.value[0].proportion / 2 - K.value * e.proportion / 2 - 2 * (t + 1);
|
|
@@ -417,50 +420,50 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
417
420
|
y: J(e, t) - q(e)
|
|
418
421
|
};
|
|
419
422
|
}
|
|
420
|
-
let
|
|
421
|
-
function
|
|
423
|
+
let Dn = v(null);
|
|
424
|
+
function On(e, t, n = "pointer") {
|
|
422
425
|
if (j.value.events.datapointEnter && j.value.events.datapointEnter({
|
|
423
426
|
datapoint: e,
|
|
424
427
|
seriesIndex: t
|
|
425
428
|
}), B.value.length === S.dataset.length) return;
|
|
426
|
-
|
|
429
|
+
Dn.value = {
|
|
427
430
|
datapoint: e,
|
|
428
431
|
seriesIndex: t,
|
|
429
432
|
series: G.value,
|
|
430
433
|
config: j.value
|
|
431
|
-
}, E.value = t, k.value = t, A.value =
|
|
432
|
-
let
|
|
433
|
-
if (
|
|
434
|
+
}, E.value = t, k.value = t, A.value = n;
|
|
435
|
+
let r = G.value[t], i = j.value.style.chart.tooltip.customFormat;
|
|
436
|
+
if (ue(i) && ce(() => i({
|
|
434
437
|
seriesIndex: t,
|
|
435
438
|
datapoint: e,
|
|
436
439
|
series: G.value,
|
|
437
440
|
config: j.value
|
|
438
|
-
}))) Nt.value =
|
|
441
|
+
}))) Nt.value = i({
|
|
439
442
|
seriesIndex: t,
|
|
440
443
|
datapoint: e,
|
|
441
444
|
series: G.value,
|
|
442
445
|
config: j.value
|
|
443
446
|
});
|
|
444
447
|
else {
|
|
445
|
-
let
|
|
446
|
-
|
|
448
|
+
let n = "";
|
|
449
|
+
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${j.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${r.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${r.color}" />${jt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${w.value}_${e.absoluteIndex})" />` : ""}</svg>`, n += `<b>${Tn({
|
|
447
450
|
showVal: j.value.style.chart.tooltip.showValue,
|
|
448
451
|
showPercentage: j.value.style.chart.tooltip.showPercentage,
|
|
449
|
-
val: `<span>${
|
|
452
|
+
val: `<span>${se(j.value.style.chart.layout.labels.dataLabels.formatter, r.value, o({
|
|
450
453
|
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
451
|
-
v:
|
|
454
|
+
v: r.value,
|
|
452
455
|
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
453
456
|
r: j.value.style.chart.tooltip.roundingValue
|
|
454
457
|
}), {
|
|
455
458
|
datapoint: e,
|
|
456
459
|
seriesIndex: t
|
|
457
460
|
})}</span>`,
|
|
458
|
-
percentage:
|
|
459
|
-
v:
|
|
461
|
+
percentage: o({
|
|
462
|
+
v: r.value / W.value * 100,
|
|
460
463
|
s: "%",
|
|
461
464
|
r: j.value.style.chart.tooltip.roundingPercentage
|
|
462
465
|
})
|
|
463
|
-
})}</b></div>`, Nt.value =
|
|
466
|
+
})}</b></div>`, Nt.value = n;
|
|
464
467
|
}
|
|
465
468
|
T.value = !0;
|
|
466
469
|
}
|
|
@@ -473,7 +476,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
473
476
|
})), Z = s(() => {
|
|
474
477
|
let e = [
|
|
475
478
|
" <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>",
|
|
476
|
-
|
|
479
|
+
o({
|
|
477
480
|
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
478
481
|
v: W.value,
|
|
479
482
|
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -485,7 +488,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
485
488
|
color: e.color,
|
|
486
489
|
name: e.name
|
|
487
490
|
},
|
|
488
|
-
|
|
491
|
+
o({
|
|
489
492
|
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
490
493
|
v: X.value.body[t],
|
|
491
494
|
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -517,13 +520,13 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
517
520
|
]
|
|
518
521
|
};
|
|
519
522
|
});
|
|
520
|
-
function
|
|
523
|
+
function kn(e = null) {
|
|
521
524
|
Ve(() => {
|
|
522
525
|
let t = X.value.head.map((e, t) => [
|
|
523
526
|
[e.name],
|
|
524
527
|
[X.value.body[t]],
|
|
525
528
|
[isNaN(X.value.body[t] / W.value) ? "-" : X.value.body[t] / W.value * 100]
|
|
526
|
-
]), n =
|
|
529
|
+
]), n = ae([
|
|
527
530
|
[j.value.style.chart.title.text],
|
|
528
531
|
[j.value.style.chart.title.subtitle.text],
|
|
529
532
|
[
|
|
@@ -532,30 +535,30 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
532
535
|
["%"]
|
|
533
536
|
]
|
|
534
537
|
].concat(t));
|
|
535
|
-
e ? e(n) :
|
|
538
|
+
e ? e(n) : te({
|
|
536
539
|
csvContent: n,
|
|
537
540
|
title: j.value.style.chart.title.text || "vue-ui-rings"
|
|
538
541
|
});
|
|
539
542
|
});
|
|
540
543
|
}
|
|
541
544
|
let Q = v(!1);
|
|
542
|
-
function
|
|
545
|
+
function An(e) {
|
|
543
546
|
Q.value = e, Pt.value += 1;
|
|
544
547
|
}
|
|
545
|
-
function
|
|
548
|
+
function jn() {
|
|
546
549
|
R.value.showTable = !R.value.showTable;
|
|
547
550
|
}
|
|
548
|
-
function
|
|
551
|
+
function Mn() {
|
|
549
552
|
R.value.showTooltip = !R.value.showTooltip;
|
|
550
553
|
}
|
|
551
|
-
function
|
|
554
|
+
function Nn() {
|
|
552
555
|
R.value.showLabels = !R.value.showLabels;
|
|
553
556
|
}
|
|
554
557
|
let $ = v(!1);
|
|
555
|
-
function
|
|
558
|
+
function Pn() {
|
|
556
559
|
$.value = !$.value;
|
|
557
560
|
}
|
|
558
|
-
async function
|
|
561
|
+
async function Fn({ scale: e = 2 } = {}) {
|
|
559
562
|
if (!D.value) return;
|
|
560
563
|
let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
|
|
561
564
|
domElement: D.value,
|
|
@@ -572,7 +575,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
572
575
|
aspectRatio: r
|
|
573
576
|
};
|
|
574
577
|
}
|
|
575
|
-
let
|
|
578
|
+
let In = s(() => {
|
|
576
579
|
let e = j.value.table.useDialog && !j.value.table.show, t = R.value.showTable;
|
|
577
580
|
return {
|
|
578
581
|
component: e ? Dt : St,
|
|
@@ -606,36 +609,36 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
606
609
|
Xe(() => R.value.showTable, (e) => {
|
|
607
610
|
j.value.table.show || (e && j.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
|
|
608
611
|
});
|
|
609
|
-
function
|
|
612
|
+
function Ln() {
|
|
610
613
|
R.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
|
|
611
614
|
}
|
|
612
|
-
let
|
|
615
|
+
let Rn = s(() => U.value.map((e) => ({
|
|
613
616
|
...e,
|
|
614
617
|
name: e.display
|
|
615
|
-
}))),
|
|
618
|
+
}))), zn = s(() => j.value.style.chart.backgroundColor), Bn = s(() => j.value.style.chart.legend), { exportSvg: Vn, getSvg: Hn } = ye({
|
|
616
619
|
svg: P,
|
|
617
620
|
title: s(() => j.value.style.chart.title),
|
|
618
|
-
legend:
|
|
619
|
-
legendItems:
|
|
620
|
-
backgroundColor:
|
|
621
|
+
legend: Bn,
|
|
622
|
+
legendItems: Rn,
|
|
623
|
+
backgroundColor: zn
|
|
621
624
|
});
|
|
622
|
-
async function
|
|
625
|
+
async function Un({ isCb: e }) {
|
|
623
626
|
Kt.value = !0, await Ve();
|
|
624
627
|
try {
|
|
625
628
|
if (e) {
|
|
626
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
629
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Hn();
|
|
627
630
|
await Promise.resolve(j.value.userOptions.callbacks.svg({
|
|
628
631
|
blob: e,
|
|
629
632
|
url: t,
|
|
630
633
|
text: n,
|
|
631
634
|
dataUrl: r
|
|
632
635
|
}));
|
|
633
|
-
} else await Promise.resolve(
|
|
636
|
+
} else await Promise.resolve(Vn());
|
|
634
637
|
} finally {
|
|
635
638
|
Kt.value = !1;
|
|
636
639
|
}
|
|
637
640
|
}
|
|
638
|
-
function
|
|
641
|
+
function Wn(e) {
|
|
639
642
|
if (e?.stage === "start") {
|
|
640
643
|
Gt.value = !0;
|
|
641
644
|
return;
|
|
@@ -646,7 +649,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
646
649
|
}
|
|
647
650
|
ln();
|
|
648
651
|
}
|
|
649
|
-
async function
|
|
652
|
+
async function Gn() {
|
|
650
653
|
if (pn("copyAlt", {
|
|
651
654
|
config: j.value,
|
|
652
655
|
dataset: G.value
|
|
@@ -659,13 +662,13 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
659
662
|
dataset: G.value
|
|
660
663
|
}));
|
|
661
664
|
}
|
|
662
|
-
function
|
|
665
|
+
function Kn() {
|
|
663
666
|
k.value = null, Jt.value = !0;
|
|
664
667
|
}
|
|
665
|
-
function
|
|
668
|
+
function qn() {
|
|
666
669
|
k.value = null, A.value = "pointer", T.value = !1, E.value = null, Jt.value = !1;
|
|
667
670
|
}
|
|
668
|
-
function
|
|
671
|
+
function Jn(e) {
|
|
669
672
|
if (!P.value || $.value || document.activeElement !== P.value || !G.value.length || B.value.length === S.dataset.length) return;
|
|
670
673
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
671
674
|
if (!t && !n && !r && !i) return;
|
|
@@ -677,15 +680,15 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
677
680
|
if (k.value === null) return;
|
|
678
681
|
let e = G.value[k.value];
|
|
679
682
|
if (!e) return;
|
|
680
|
-
|
|
683
|
+
Cn(e, k.value);
|
|
681
684
|
return;
|
|
682
685
|
}
|
|
683
686
|
let a = k.value;
|
|
684
687
|
a === null || a < 0 || a >= G.value.length ? a = n ? 0 : G.value.length - 1 : n ? (a += 1, a >= G.value.length && (a = 0)) : t && (--a, a < 0 && (a = G.value.length - 1));
|
|
685
|
-
let
|
|
686
|
-
|
|
688
|
+
let o = G.value[a];
|
|
689
|
+
o && (Yn(a), On(o, a, "keyboard"));
|
|
687
690
|
}
|
|
688
|
-
function
|
|
691
|
+
function Yn(e) {
|
|
689
692
|
if (!Number.isFinite(e) || !P.value) return;
|
|
690
693
|
let t = G.value[e];
|
|
691
694
|
if (!t) return;
|
|
@@ -695,45 +698,45 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
695
698
|
y: r.top + n.y / z.value.height * r.height
|
|
696
699
|
};
|
|
697
700
|
}
|
|
698
|
-
let
|
|
701
|
+
let Xn = s(() => ({
|
|
699
702
|
headers: Z.value?.colNames ?? [],
|
|
700
703
|
rows: Z.value?.a11yBody ?? []
|
|
701
704
|
}));
|
|
702
705
|
return Te({
|
|
703
|
-
getData:
|
|
704
|
-
getImage:
|
|
706
|
+
getData: Sn,
|
|
707
|
+
getImage: Fn,
|
|
705
708
|
generatePdf: cn,
|
|
706
|
-
generateCsv:
|
|
709
|
+
generateCsv: kn,
|
|
707
710
|
generateImage: ln,
|
|
708
|
-
generateSvg:
|
|
709
|
-
hideSeries:
|
|
710
|
-
showSeries:
|
|
711
|
-
toggleTable:
|
|
712
|
-
toggleTooltip:
|
|
713
|
-
toggleAnnotator:
|
|
714
|
-
toggleFullscreen:
|
|
715
|
-
toggleLabels:
|
|
716
|
-
copyAlt:
|
|
717
|
-
}), (e,
|
|
711
|
+
generateSvg: Un,
|
|
712
|
+
hideSeries: vn,
|
|
713
|
+
showSeries: _n,
|
|
714
|
+
toggleTable: jn,
|
|
715
|
+
toggleTooltip: Mn,
|
|
716
|
+
toggleAnnotator: Pn,
|
|
717
|
+
toggleFullscreen: An,
|
|
718
|
+
toggleLabels: Nn,
|
|
719
|
+
copyAlt: Gn
|
|
720
|
+
}), (e, t) => (_(), u("div", {
|
|
718
721
|
ref_key: "ringsChart",
|
|
719
722
|
ref: D,
|
|
720
723
|
class: m(`vue-data-ui-component vue-ui-rings ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
721
724
|
style: g(`font-family:${j.value.style.fontFamily};text-align:center;width:100%;background:${j.value.style.chart.backgroundColor};${j.value.responsive ? "height: 100%" : ""}`),
|
|
722
725
|
id: `rings_${w.value}`,
|
|
723
|
-
onMouseleave:
|
|
726
|
+
onMouseleave: t[2] ||= (e) => {
|
|
724
727
|
E.value = null, T.value = !1, b($t)(!1);
|
|
725
728
|
},
|
|
726
|
-
onMouseenter:
|
|
729
|
+
onMouseenter: t[3] ||= () => b($t)(!0)
|
|
727
730
|
}, [
|
|
728
731
|
d("div", {
|
|
729
732
|
id: `chart-instructions-${w.value}`,
|
|
730
733
|
class: "sr-only"
|
|
731
734
|
}, [d("p", null, qe(j.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
|
|
732
|
-
|
|
735
|
+
Xn.value?.rows?.length ? (_(), c(ke, {
|
|
733
736
|
key: 0,
|
|
734
737
|
uid: w.value,
|
|
735
|
-
head:
|
|
736
|
-
body:
|
|
738
|
+
head: Xn.value.headers,
|
|
739
|
+
body: Xn.value.rows,
|
|
737
740
|
notice: j.value.a11y.translations.tableAvailable,
|
|
738
741
|
caption: j.value.a11y.translations.tableCaption
|
|
739
742
|
}, null, 8, [
|
|
@@ -750,7 +753,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
750
753
|
color: j.value.style.chart.color,
|
|
751
754
|
active: $.value,
|
|
752
755
|
isCursorPointer: M.value,
|
|
753
|
-
onClose:
|
|
756
|
+
onClose: Pn
|
|
754
757
|
}, {
|
|
755
758
|
"annotator-action-close": x(() => [y(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
756
759
|
"annotator-action-color": x(({ color: t }) => [y(e.$slots, "annotator-action-color", h(p({ color: t })), void 0, !0)]),
|
|
@@ -821,16 +824,16 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
821
824
|
printScale: j.value.userOptions.print.scale,
|
|
822
825
|
tableDialog: j.value.table.useDialog,
|
|
823
826
|
isCursorPointer: M.value,
|
|
824
|
-
onToggleFullscreen:
|
|
827
|
+
onToggleFullscreen: An,
|
|
825
828
|
onGeneratePdf: b(cn),
|
|
826
|
-
onGenerateCsv:
|
|
827
|
-
onGenerateImage:
|
|
828
|
-
onGenerateSvg:
|
|
829
|
-
onToggleTable:
|
|
830
|
-
onToggleTooltip:
|
|
831
|
-
onToggleAnnotator:
|
|
832
|
-
onToggleLabels:
|
|
833
|
-
onCopyAlt:
|
|
829
|
+
onGenerateCsv: kn,
|
|
830
|
+
onGenerateImage: Wn,
|
|
831
|
+
onGenerateSvg: Un,
|
|
832
|
+
onToggleTable: jn,
|
|
833
|
+
onToggleTooltip: Mn,
|
|
834
|
+
onToggleAnnotator: Pn,
|
|
835
|
+
onToggleLabels: Nn,
|
|
836
|
+
onCopyAlt: Gn,
|
|
834
837
|
style: g({ visibility: b(en) ? b(Qt) ? "visible" : "hidden" : "visible" })
|
|
835
838
|
}, Le({ _: 2 }, [
|
|
836
839
|
e.$slots.menuIcon ? {
|
|
@@ -911,7 +914,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
911
914
|
d("div", tt, [(_(), u("svg", {
|
|
912
915
|
ref_key: "svgRef",
|
|
913
916
|
ref: P,
|
|
914
|
-
xmlns: b(
|
|
917
|
+
xmlns: b(de),
|
|
915
918
|
class: m({
|
|
916
919
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
917
920
|
"vue-data-ui-fulscreen--off": !Q.value,
|
|
@@ -921,9 +924,9 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
921
924
|
style: g(`max-width:100%;overflow:hidden;background:transparent;color:${j.value.style.chart.color}`),
|
|
922
925
|
"aria-describedby": `chart-instructions-${w.value}`,
|
|
923
926
|
tabindex: "0",
|
|
924
|
-
onFocus:
|
|
925
|
-
onBlur:
|
|
926
|
-
onKeydown:
|
|
927
|
+
onFocus: Kn,
|
|
928
|
+
onBlur: qn,
|
|
929
|
+
onKeydown: Jn
|
|
927
930
|
}, [
|
|
928
931
|
ze(b(Et)),
|
|
929
932
|
e.$slots["chart-background"] ? (_(), u("foreignObject", {
|
|
@@ -943,7 +946,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
943
946
|
id: `gradient_${w.value}_${t}`
|
|
944
947
|
}, [d("stop", {
|
|
945
948
|
offset: "0%",
|
|
946
|
-
"stop-color": b(
|
|
949
|
+
"stop-color": b(ne)(b(re)(e.color, .05), 100 - j.value.style.chart.layout.rings.gradient.intensity)
|
|
947
950
|
}, null, 8, at), d("stop", {
|
|
948
951
|
offset: "100%",
|
|
949
952
|
"stop-color": e.color
|
|
@@ -952,7 +955,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
952
955
|
seriesIndex: t.absoluteIndex,
|
|
953
956
|
patternId: `pattern_${w.value}_${t.absoluteIndex}`
|
|
954
957
|
}), void 0, !0)]))), 256))])) : l("", !0),
|
|
955
|
-
(_(!0), u(Fe, null, We(G.value, (
|
|
958
|
+
(_(!0), u(Fe, null, We(G.value, (t, r) => (_(), u("g", null, [
|
|
956
959
|
d("circle", {
|
|
957
960
|
class: m({
|
|
958
961
|
"vue-ui-rings-item": C.value && j.value.useCssAnimation,
|
|
@@ -962,8 +965,8 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
962
965
|
style: g(`animation-delay:${r * 100}ms`),
|
|
963
966
|
stroke: j.value.style.chart.layout.rings.stroke,
|
|
964
967
|
cx: F.value.x,
|
|
965
|
-
cy: J(
|
|
966
|
-
r: q(
|
|
968
|
+
cy: J(t, r),
|
|
969
|
+
r: q(t),
|
|
967
970
|
fill: j.value.style.chart.layout.rings.gradient.underlayerColor
|
|
968
971
|
}, null, 14, ct),
|
|
969
972
|
d("circle", {
|
|
@@ -975,11 +978,11 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
975
978
|
}),
|
|
976
979
|
style: g(`animation-delay:${r * 100}ms`),
|
|
977
980
|
stroke: j.value.style.chart.layout.rings.stroke,
|
|
978
|
-
"stroke-width":
|
|
981
|
+
"stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
|
|
979
982
|
cx: F.value.x,
|
|
980
|
-
cy: J(
|
|
981
|
-
r: q(
|
|
982
|
-
fill: j.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${w.value}_${r})` :
|
|
983
|
+
cy: J(t, r),
|
|
984
|
+
r: q(t),
|
|
985
|
+
fill: j.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${w.value}_${r})` : t.color
|
|
983
986
|
}, null, 14, lt),
|
|
984
987
|
e.$slots.pattern ? (_(), u("circle", {
|
|
985
988
|
key: 0,
|
|
@@ -991,27 +994,27 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
991
994
|
}),
|
|
992
995
|
style: g(`animation-delay:${r * 100}ms`),
|
|
993
996
|
stroke: j.value.style.chart.layout.rings.stroke,
|
|
994
|
-
"stroke-width":
|
|
997
|
+
"stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
|
|
995
998
|
cx: F.value.x,
|
|
996
|
-
cy: J(
|
|
997
|
-
r: q(
|
|
998
|
-
fill: `url(#pattern_${w.value}_${
|
|
999
|
+
cy: J(t, r),
|
|
1000
|
+
r: q(t),
|
|
1001
|
+
fill: `url(#pattern_${w.value}_${t.absoluteIndex})`
|
|
999
1002
|
}, null, 14, ut)) : l("", !0),
|
|
1000
1003
|
d("circle", {
|
|
1001
1004
|
stroke: "none",
|
|
1002
1005
|
cx: F.value.x,
|
|
1003
|
-
cy: J(
|
|
1004
|
-
r: q(
|
|
1006
|
+
cy: J(t, r),
|
|
1007
|
+
r: q(t),
|
|
1005
1008
|
fill: "transparent",
|
|
1006
|
-
onMouseenter: (e) =>
|
|
1007
|
-
onMouseleave: (e) =>
|
|
1008
|
-
onClick: (e) =>
|
|
1009
|
+
onMouseenter: (e) => On(t, r, "pointer"),
|
|
1010
|
+
onMouseleave: (e) => wn(t, r),
|
|
1011
|
+
onClick: (e) => Cn(t, r)
|
|
1009
1012
|
}, null, 40, dt),
|
|
1010
1013
|
R.value.showLabels ? (_(), u(Fe, { key: 1 }, [
|
|
1011
1014
|
d("rect", {
|
|
1012
|
-
x: j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? Y(
|
|
1013
|
-
y: Y(
|
|
1014
|
-
width: Math.abs(F.value.x - Y(
|
|
1015
|
+
x: j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? Y(t, r).x : F.value.x,
|
|
1016
|
+
y: Y(t, r).y - j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth / 2,
|
|
1017
|
+
width: Math.abs(F.value.x - Y(t, r).x),
|
|
1015
1018
|
height: j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
|
|
1016
1019
|
fill: j.value.style.chart.layout.labels.dataLabels.markers.stroke,
|
|
1017
1020
|
rx: j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
|
|
@@ -1023,10 +1026,10 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1023
1026
|
})
|
|
1024
1027
|
}, null, 10, ft),
|
|
1025
1028
|
d("circle", {
|
|
1026
|
-
cx: Y(
|
|
1027
|
-
cy: Y(
|
|
1029
|
+
cx: Y(t, r).x,
|
|
1030
|
+
cy: Y(t, r).y,
|
|
1028
1031
|
r: j.value.style.chart.layout.labels.dataLabels.markers.radius,
|
|
1029
|
-
fill:
|
|
1032
|
+
fill: t.color,
|
|
1030
1033
|
stroke: j.value.style.chart.backgroundColor,
|
|
1031
1034
|
class: m({
|
|
1032
1035
|
"vue-ui-rings-item": C.value && j.value.useCssAnimation,
|
|
@@ -1036,8 +1039,8 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1036
1039
|
})
|
|
1037
1040
|
}, null, 10, pt),
|
|
1038
1041
|
d("text", {
|
|
1039
|
-
x: Y(
|
|
1040
|
-
y: Y(
|
|
1042
|
+
x: Y(t, r).x + (j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -j.value.style.chart.layout.labels.dataLabels.offsetX : j.value.style.chart.layout.labels.dataLabels.offsetX),
|
|
1043
|
+
y: Y(t, r).y + j.value.style.chart.layout.labels.dataLabels.fontSize / 3,
|
|
1041
1044
|
"text-anchor": j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? "end" : "start",
|
|
1042
1045
|
"font-size": j.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1043
1046
|
fill: j.value.style.chart.layout.labels.dataLabels.color,
|
|
@@ -1048,15 +1051,15 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1048
1051
|
"vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
|
|
1049
1052
|
"vue-ui-rings-blur": E.value !== null && E.value !== r
|
|
1050
1053
|
}),
|
|
1051
|
-
onMouseenter: (e) =>
|
|
1052
|
-
onMouseleave: (e) =>
|
|
1053
|
-
onClick: (e) =>
|
|
1054
|
-
innerHTML: b(
|
|
1055
|
-
content:
|
|
1054
|
+
onMouseenter: (e) => On(t, r, "pointer"),
|
|
1055
|
+
onMouseleave: (e) => wn(t, r),
|
|
1056
|
+
onClick: (e) => Cn(t, r),
|
|
1057
|
+
innerHTML: b(n)({
|
|
1058
|
+
content: En(t),
|
|
1056
1059
|
fontSize: j.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1057
1060
|
fill: j.value.style.chart.layout.labels.dataLabels.color,
|
|
1058
|
-
x: Y(
|
|
1059
|
-
y: Y(
|
|
1061
|
+
x: Y(t, r).x + (j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -j.value.style.chart.layout.labels.dataLabels.offsetX - 6 - j.value.style.chart.layout.labels.dataLabels.markers.radius : j.value.style.chart.layout.labels.dataLabels.offsetX + 6 + j.value.style.chart.layout.labels.dataLabels.markers.radius),
|
|
1062
|
+
y: Y(t, r).y + j.value.style.chart.layout.labels.dataLabels.fontSize / 3,
|
|
1060
1063
|
translateY: !0
|
|
1061
1064
|
})
|
|
1062
1065
|
}, null, 42, mt)
|
|
@@ -1082,9 +1085,9 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1082
1085
|
}, [y(e.$slots, "legend", { legend: U.value }, () => [j.value.style.chart.legend.show ? (_(), c(Ne, {
|
|
1083
1086
|
key: `legend_${Vt.value}`,
|
|
1084
1087
|
legendSet: U.value,
|
|
1085
|
-
config:
|
|
1088
|
+
config: xn.value,
|
|
1086
1089
|
isCursorPointer: M.value,
|
|
1087
|
-
onClickMarker:
|
|
1090
|
+
onClickMarker: t[0] ||= ({ legend: e }) => V(e.uid)
|
|
1088
1091
|
}, Le({
|
|
1089
1092
|
item: x(({ legend: e, index: t }) => [b(N) ? l("", !0) : (_(), u("div", {
|
|
1090
1093
|
key: 0,
|
|
@@ -1155,9 +1158,9 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1155
1158
|
isA11yMode: A.value === "keyboard",
|
|
1156
1159
|
a11yPosition: qt.value
|
|
1157
1160
|
}, {
|
|
1158
|
-
"tooltip-before": x(() => [y(e.$slots, "tooltip-before", h(p({ ...
|
|
1159
|
-
tooltip: x(() => [y(e.$slots, "tooltip", h(p({ ...
|
|
1160
|
-
"tooltip-after": x(() => [y(e.$slots, "tooltip-after", h(p({ ...
|
|
1161
|
+
"tooltip-before": x(() => [y(e.$slots, "tooltip-before", h(p({ ...Dn.value })), void 0, !0)]),
|
|
1162
|
+
tooltip: x(() => [y(e.$slots, "tooltip", h(p({ ...Dn.value })), void 0, !0)]),
|
|
1163
|
+
"tooltip-after": x(() => [y(e.$slots, "tooltip-after", h(p({ ...Dn.value })), void 0, !0)]),
|
|
1161
1164
|
_: 3
|
|
1162
1165
|
}, 8, [
|
|
1163
1166
|
"teleportTo",
|
|
@@ -1183,10 +1186,10 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1183
1186
|
"isA11yMode",
|
|
1184
1187
|
"a11yPosition"
|
|
1185
1188
|
]),
|
|
1186
|
-
Mt.value && j.value.userOptions.buttons.table ? (_(), c(Ge(
|
|
1189
|
+
Mt.value && j.value.userOptions.buttons.table ? (_(), c(Ge(In.value.component), Be({ key: 8 }, In.value.props, {
|
|
1187
1190
|
ref_key: "tableUnit",
|
|
1188
1191
|
ref: O,
|
|
1189
|
-
onClose:
|
|
1192
|
+
onClose: Ln
|
|
1190
1193
|
}), Le({
|
|
1191
1194
|
content: x(() => [(_(), c(b(Ct), {
|
|
1192
1195
|
key: `table_${Bt.value}`,
|
|
@@ -1194,10 +1197,10 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1194
1197
|
head: Z.value.head,
|
|
1195
1198
|
body: Z.value.body,
|
|
1196
1199
|
config: Z.value.config,
|
|
1197
|
-
title: j.value.table.useDialog ? "" :
|
|
1200
|
+
title: j.value.table.useDialog ? "" : In.value.title,
|
|
1198
1201
|
withCloseButton: !j.value.table.useDialog,
|
|
1199
1202
|
isCursorPointer: M.value,
|
|
1200
|
-
onClose:
|
|
1203
|
+
onClose: Ln
|
|
1201
1204
|
}, {
|
|
1202
1205
|
th: x(({ th: e }) => [d("div", {
|
|
1203
1206
|
innerHTML: e,
|
|
@@ -1220,24 +1223,24 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1220
1223
|
_: 2
|
|
1221
1224
|
}, [j.value.table.useDialog ? {
|
|
1222
1225
|
name: "title",
|
|
1223
|
-
fn: x(() => [Re(qe(
|
|
1226
|
+
fn: x(() => [Re(qe(In.value.title), 1)]),
|
|
1224
1227
|
key: "0"
|
|
1225
1228
|
} : void 0, j.value.table.useDialog ? {
|
|
1226
1229
|
name: "actions",
|
|
1227
1230
|
fn: x(() => [d("button", {
|
|
1228
1231
|
tabindex: "0",
|
|
1229
1232
|
class: "vue-ui-user-options-button",
|
|
1230
|
-
onClick:
|
|
1233
|
+
onClick: t[1] ||= (e) => kn(j.value.userOptions.callbacks.csv),
|
|
1231
1234
|
style: g({ cursor: M.value ? "pointer" : "default" })
|
|
1232
1235
|
}, [ze(b(xt), {
|
|
1233
1236
|
name: "fileCsv",
|
|
1234
|
-
stroke:
|
|
1237
|
+
stroke: In.value.props.color
|
|
1235
1238
|
}, null, 8, ["stroke"])], 4)]),
|
|
1236
1239
|
key: "1"
|
|
1237
1240
|
} : void 0]), 1040)) : l("", !0),
|
|
1238
1241
|
y(e.$slots, "skeleton", {}, () => [b(N) ? (_(), c(ve, { key: 0 })) : l("", !0)], !0)
|
|
1239
1242
|
], 46, Qe));
|
|
1240
1243
|
}
|
|
1241
|
-
}, [["__scopeId", "data-v-
|
|
1244
|
+
}, [["__scopeId", "data-v-ab14a465"]]);
|
|
1242
1245
|
//#endregion
|
|
1243
1246
|
export { Ze as n, bt as t };
|