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,15 +1,15 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { n as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { Fragment as
|
|
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, Mt as o, Nt as s, Rt as c, X as ee, i as l, ot as te, pt as ne, t as re, x as ie, y as u } from "./lib-DUeYQsS0.js";
|
|
3
|
+
import { t as ae } from "./useConfig-DAyQk86L.js";
|
|
4
|
+
import { n as oe, t as se } from "./BaseScanner-Dr2a1Msy.js";
|
|
5
|
+
import { t as d } from "./useNestedProp-CNcoy38D.js";
|
|
6
|
+
import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
|
|
7
|
+
import { t as le } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
|
+
import { t as ue } from "./BaseLegendToggle-C_Db-y7s.js";
|
|
9
|
+
import { t as de } from "./A11yDataTable-BCbtxMU6.js";
|
|
10
|
+
import { t as fe } from "./useChartAccessibility-DYqac8yF.js";
|
|
11
|
+
import { t as pe } from "./vue_ui_sparkstackbar-BOjuQnZd.js";
|
|
12
|
+
import { Fragment as f, computed as p, createBlock as me, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as he, defineAsyncComponent as ge, guardReactiveProps as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onMounted as _e, openBlock as x, ref as S, renderList as C, renderSlot as w, toDisplayString as T, toRefs as ve, unref as E, useSlots as ye, watch as be, withCtx as D } from "vue";
|
|
13
13
|
//#region src/components/vue-ui-sparkstackbar.vue
|
|
14
14
|
var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { position: "relative" } }, we = [
|
|
15
15
|
"xmlns",
|
|
@@ -69,7 +69,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
69
69
|
key: 3,
|
|
70
70
|
ref: "source",
|
|
71
71
|
dir: "auto"
|
|
72
|
-
}, O = /* @__PURE__ */
|
|
72
|
+
}, O = /* @__PURE__ */ le({
|
|
73
73
|
__name: "vue-ui-sparkstackbar",
|
|
74
74
|
props: {
|
|
75
75
|
config: {
|
|
@@ -85,16 +85,16 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
|
-
emits: ["selectDatapoint"],
|
|
89
|
-
setup(e, { expose:
|
|
90
|
-
let O = ge(() => import("./PackageVersion-
|
|
88
|
+
emits: ["selectDatapoint", "selectLegend"],
|
|
89
|
+
setup(e, { expose: le, emit: xe }) {
|
|
90
|
+
let O = ge(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Ge = ge(() => import("./Tooltip-BENq327o.js")), { vue_ui_sparkstackbar: Ke } = ae(), { isThemeValid: qe, warnInvalidTheme: Je } = ce(), k = e, Ye = ye();
|
|
91
91
|
_e(() => {
|
|
92
92
|
Ye["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
|
|
93
93
|
});
|
|
94
|
-
let Xe = S(null), A = S(
|
|
94
|
+
let Xe = S(null), A = S(a()), j = S(!1), M = S(""), N = S(null), P = S(!1), F = S(null), Ze = S({
|
|
95
95
|
x: 0,
|
|
96
96
|
y: 0
|
|
97
|
-
}), I = S("pointer"), L = S(!1), R = S(null), Qe = S([]), z = S(
|
|
97
|
+
}), I = S("pointer"), L = S(!1), R = S(null), Qe = S([]), z = S(tt()), $e = p(() => z.value.useCursorPointer), et = p(() => t({
|
|
98
98
|
defaultConfig: { style: {
|
|
99
99
|
backgroundColor: "#99999930",
|
|
100
100
|
animation: { show: !1 },
|
|
@@ -102,10 +102,10 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
102
102
|
title: { backgroundColor: "transparent" }
|
|
103
103
|
} },
|
|
104
104
|
userConfig: z.value.skeletonConfig ?? {}
|
|
105
|
-
})), { loading: B, FINAL_DATASET: V } =
|
|
105
|
+
})), { loading: B, FINAL_DATASET: V } = oe({
|
|
106
106
|
...ve(k),
|
|
107
107
|
FINAL_CONFIG: z,
|
|
108
|
-
prepareConfig:
|
|
108
|
+
prepareConfig: tt,
|
|
109
109
|
skeletonDataset: k.config?.skeletonDataset ?? [
|
|
110
110
|
{
|
|
111
111
|
name: "_",
|
|
@@ -123,136 +123,136 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
123
123
|
color: "#DBDBDB"
|
|
124
124
|
}
|
|
125
125
|
],
|
|
126
|
-
skeletonConfig:
|
|
126
|
+
skeletonConfig: t({
|
|
127
127
|
defaultConfig: z.value,
|
|
128
128
|
userConfig: et.value
|
|
129
129
|
})
|
|
130
|
-
}), { svgRef: H } =
|
|
131
|
-
function
|
|
132
|
-
let e =
|
|
130
|
+
}), { svgRef: H } = fe({ config: z.value.style.title });
|
|
131
|
+
function tt() {
|
|
132
|
+
let e = d({
|
|
133
133
|
userConfig: k.config,
|
|
134
134
|
defaultConfig: Ke
|
|
135
135
|
}), t = e.theme;
|
|
136
136
|
if (!t) return e;
|
|
137
137
|
if (!qe.value(e)) return Je(e), e;
|
|
138
|
-
let n =
|
|
139
|
-
userConfig:
|
|
138
|
+
let n = d({
|
|
139
|
+
userConfig: pe[t] || k.config,
|
|
140
140
|
defaultConfig: e
|
|
141
|
-
}), i =
|
|
141
|
+
}), i = d({
|
|
142
142
|
userConfig: k.config,
|
|
143
143
|
defaultConfig: n
|
|
144
144
|
});
|
|
145
145
|
return {
|
|
146
146
|
...i,
|
|
147
|
-
customPalette: i.customPalette.length ? i.customPalette :
|
|
147
|
+
customPalette: i.customPalette.length ? i.customPalette : c[t] || r
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
be(() => k.config, (e) => {
|
|
151
|
-
z.value =
|
|
151
|
+
z.value = tt(), it();
|
|
152
152
|
}, { deep: !0 }), be(() => V.value, (e) => {
|
|
153
|
-
|
|
153
|
+
W.value = V.value.map((e, t) => ({
|
|
154
154
|
...e,
|
|
155
|
-
color: e.color ?
|
|
156
|
-
})),
|
|
155
|
+
color: e.color ? u(e.color) : U.value[t] || r[t] || r[t % r.length]
|
|
156
|
+
})), nt();
|
|
157
157
|
}, { deep: !0 });
|
|
158
|
-
let
|
|
158
|
+
let U = p(() => ie(z.value.customPalette)), W = S(V.value.map((e, t) => ({
|
|
159
159
|
...e,
|
|
160
160
|
value: z.value.style.animation.show ? 0 : e.value || 0,
|
|
161
|
-
color: e.color ?
|
|
162
|
-
}))),
|
|
163
|
-
function
|
|
161
|
+
color: e.color ? u(e.color) : U.value[t] || r[t] || r[t % r.length]
|
|
162
|
+
}))), G = S(!0);
|
|
163
|
+
function nt() {
|
|
164
164
|
if (!z.value.style.animation.show) {
|
|
165
|
-
|
|
165
|
+
G.value = !1;
|
|
166
166
|
return;
|
|
167
167
|
}
|
|
168
|
-
let e = z.value.style.animation.animationFrames, t = V.value.map((e) => e.value || 0),
|
|
169
|
-
|
|
168
|
+
let e = z.value.style.animation.animationFrames, t = V.value.map((e) => e.value || 0), n = t.map((t) => t / e), i = t.reduce((e, t) => e + t, 0), o = 0;
|
|
169
|
+
G.value = !0, W.value = V.value.map((e, t) => ({
|
|
170
170
|
...e,
|
|
171
171
|
value: 0,
|
|
172
|
-
color: e.color ?
|
|
172
|
+
color: e.color ? u(e.color) : U.value[t] || r[t] || r[t % r.length]
|
|
173
173
|
}));
|
|
174
174
|
function s() {
|
|
175
|
-
|
|
175
|
+
o += i / e, o < i ? (W.value = W.value.map((e, i) => ({
|
|
176
176
|
...e,
|
|
177
|
-
value: Math.min(e.value +
|
|
178
|
-
color: e.color ?
|
|
179
|
-
})), requestAnimationFrame(s)) : (
|
|
177
|
+
value: Math.min(e.value + n[i], t[i]),
|
|
178
|
+
color: e.color ? u(e.color) : U.value[i] || r[i] || r[i % r.length]
|
|
179
|
+
})), requestAnimationFrame(s)) : (G.value = !1, W.value = V.value.map((e, n) => ({
|
|
180
180
|
...e,
|
|
181
|
-
value: t[
|
|
182
|
-
color: e.color ?
|
|
183
|
-
id:
|
|
181
|
+
value: t[n],
|
|
182
|
+
color: e.color ? u(e.color) : U.value[n] || r[n] || r[n % r.length],
|
|
183
|
+
id: a()
|
|
184
184
|
})));
|
|
185
185
|
}
|
|
186
186
|
s();
|
|
187
187
|
}
|
|
188
188
|
_e(() => {
|
|
189
|
-
|
|
189
|
+
it();
|
|
190
190
|
});
|
|
191
|
-
let
|
|
192
|
-
function
|
|
193
|
-
|
|
191
|
+
let rt = p(() => z.value.debug);
|
|
192
|
+
function it() {
|
|
193
|
+
n(k.dataset) ? ee({
|
|
194
194
|
componentName: "VueUiSparkStackbar",
|
|
195
195
|
type: "dataset",
|
|
196
|
-
debug:
|
|
196
|
+
debug: rt.value
|
|
197
197
|
}) : k.dataset.forEach((e, t) => {
|
|
198
198
|
te({
|
|
199
199
|
datasetObject: e,
|
|
200
200
|
requiredAttributes: ["name", "value"]
|
|
201
201
|
}).forEach((e) => {
|
|
202
|
-
|
|
202
|
+
ee({
|
|
203
203
|
componentName: "VueUiSparkStackbar",
|
|
204
204
|
type: "datasetSerieAttribute",
|
|
205
205
|
property: e,
|
|
206
206
|
index: t,
|
|
207
|
-
debug:
|
|
207
|
+
debug: rt.value
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
}),
|
|
210
|
+
}), nt();
|
|
211
211
|
}
|
|
212
|
-
let
|
|
212
|
+
let K = S({
|
|
213
213
|
width: 500,
|
|
214
214
|
height: 16
|
|
215
|
-
}),
|
|
216
|
-
let
|
|
215
|
+
}), q = S([]), at = p(() => V.value.map((e) => e.value || 0).filter((e, t) => !q.value.includes(t)).reduce((e, t) => e + t, 0)), J = p(() => W.value.map((e, t) => {
|
|
216
|
+
let n = e.value || 0, a = n / at.value, o = isNaN(a) ? 0 : a, s = o * K.value.width;
|
|
217
217
|
return {
|
|
218
218
|
...e,
|
|
219
|
-
color:
|
|
220
|
-
value:
|
|
221
|
-
proportion:
|
|
219
|
+
color: u(V.value[t]?.color ? V.value[t]?.color : U.value[t] || r[t] || r[t % r.length]),
|
|
220
|
+
value: n,
|
|
221
|
+
proportion: o,
|
|
222
222
|
width: s,
|
|
223
|
-
seriesIndex:
|
|
224
|
-
proportionLabel:
|
|
225
|
-
v:
|
|
223
|
+
seriesIndex: t,
|
|
224
|
+
proportionLabel: i({
|
|
225
|
+
v: o * 100,
|
|
226
226
|
s: "%",
|
|
227
227
|
r: z.value.style.legend.percentage.rounding
|
|
228
228
|
})
|
|
229
229
|
};
|
|
230
|
-
})),
|
|
230
|
+
})), Y = p(() => J.value.filter((e, t) => !q.value.includes(t)));
|
|
231
231
|
function ot() {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
});
|
|
232
|
+
q.value.length ? q.value = [] : J.value.forEach((e, t) => {
|
|
233
|
+
q.value.push(t);
|
|
234
|
+
}), ut("selectLegend", Y.value);
|
|
235
235
|
}
|
|
236
236
|
function X(e) {
|
|
237
|
-
|
|
237
|
+
q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.length < W.value.length - 1 && q.value.push(e), ut("selectLegend", Y.value);
|
|
238
238
|
}
|
|
239
239
|
function st(e) {
|
|
240
|
-
return
|
|
240
|
+
return J.value.length ? J.value.find((t) => t.name === e) || (z.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${e}"`), null) : (z.value.debug && console.warn("VueUiSparkStackbar - There are no series to show."), null);
|
|
241
241
|
}
|
|
242
242
|
function ct(e) {
|
|
243
243
|
let t = st(e);
|
|
244
|
-
t !== null &&
|
|
244
|
+
t !== null && q.value.includes(t.id) && X(t.seriesIndex);
|
|
245
245
|
}
|
|
246
246
|
function lt(e) {
|
|
247
247
|
let t = st(e);
|
|
248
|
-
t !== null && (
|
|
248
|
+
t !== null && (q.value.includes(t.id) || X(t.seriesIndex));
|
|
249
249
|
}
|
|
250
|
-
let Z =
|
|
250
|
+
let Z = p(() => {
|
|
251
251
|
let e = 0, t = [];
|
|
252
|
-
for (let n = 0; n <
|
|
253
|
-
...
|
|
252
|
+
for (let n = 0; n < Y.value.length; n += 1) t.push({
|
|
253
|
+
...Y.value[n],
|
|
254
254
|
start: e
|
|
255
|
-
}), e +=
|
|
255
|
+
}), e += Y.value[n].width;
|
|
256
256
|
return t;
|
|
257
257
|
}), ut = xe;
|
|
258
258
|
function Q(e, t, n = !1) {
|
|
@@ -270,23 +270,23 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
270
270
|
seriesIndex: e.seriesIndex
|
|
271
271
|
});
|
|
272
272
|
}
|
|
273
|
-
function ft({ datapoint: e, seriesIndex:
|
|
273
|
+
function ft({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
|
|
274
274
|
if (P.value = !1, z.value.events.datapointEnter && z.value.events.datapointEnter({
|
|
275
275
|
datapoint: e,
|
|
276
276
|
seriesIndex: e.seriesIndex
|
|
277
277
|
}), !z.value.style.tooltip.show) return;
|
|
278
|
-
I.value =
|
|
278
|
+
I.value = n, N.value = {
|
|
279
279
|
datapoint: e,
|
|
280
|
-
seriesIndex:
|
|
280
|
+
seriesIndex: t,
|
|
281
281
|
config: z.value,
|
|
282
|
-
series:
|
|
283
|
-
}, j.value = !0, R.value =
|
|
284
|
-
let
|
|
285
|
-
if (ne(
|
|
286
|
-
let t =
|
|
282
|
+
series: J.value
|
|
283
|
+
}, j.value = !0, R.value = t;
|
|
284
|
+
let r = z.value.style.tooltip.customFormat;
|
|
285
|
+
if (ne(r)) try {
|
|
286
|
+
let t = r({
|
|
287
287
|
seriesIndex: e.seriesIndex,
|
|
288
288
|
datapoint: e,
|
|
289
|
-
series:
|
|
289
|
+
series: J.value,
|
|
290
290
|
config: z.value
|
|
291
291
|
});
|
|
292
292
|
typeof t == "string" && (M.value = t, P.value = !0);
|
|
@@ -294,16 +294,16 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
294
294
|
console.warn("Custom format cannot be applied."), P.value = !1;
|
|
295
295
|
}
|
|
296
296
|
if (!P.value) {
|
|
297
|
-
let
|
|
298
|
-
|
|
297
|
+
let n = "";
|
|
298
|
+
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${z.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${e.proportionLabel}</b>`, n += `<span>(${l(z.value.style.legend.value.formatter, e.value, i({
|
|
299
299
|
p: z.value.style.legend.value.prefix,
|
|
300
300
|
v: e.value,
|
|
301
301
|
s: z.value.style.legend.value.suffix,
|
|
302
302
|
r: z.value.style.legend.value.rounding
|
|
303
303
|
}), {
|
|
304
304
|
datapoint: e,
|
|
305
|
-
seriesIndex:
|
|
306
|
-
})})</span>`, M.value = `<div>${
|
|
305
|
+
seriesIndex: t
|
|
306
|
+
})})</span>`, M.value = `<div>${n}</div>`;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
function $(e) {
|
|
@@ -314,10 +314,10 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
314
314
|
if (!Number.isFinite(e) || !H.value) return;
|
|
315
315
|
let t = Z.value[e];
|
|
316
316
|
if (!t) return;
|
|
317
|
-
let n = H.value.getBoundingClientRect(), r = t.start + t.width / 2, i =
|
|
317
|
+
let n = H.value.getBoundingClientRect(), r = t.start + t.width / 2, i = K.value.height / 2;
|
|
318
318
|
Ze.value = {
|
|
319
|
-
x: n.left + r /
|
|
320
|
-
y: n.top + i /
|
|
319
|
+
x: n.left + r / K.value.width * n.width,
|
|
320
|
+
y: n.top + i / K.value.height * n.height
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
323
|
function mt() {
|
|
@@ -372,40 +372,40 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
372
372
|
return;
|
|
373
373
|
}
|
|
374
374
|
if (s) {
|
|
375
|
-
$(
|
|
375
|
+
$(J.value.length - 1);
|
|
376
376
|
return;
|
|
377
377
|
}
|
|
378
378
|
if (i) {
|
|
379
|
-
$(n <= 0 ?
|
|
379
|
+
$(n <= 0 ? J.value.length - 1 : n - 1);
|
|
380
380
|
return;
|
|
381
381
|
}
|
|
382
|
-
a && $(n >=
|
|
382
|
+
a && $(n >= J.value.length - 1 ? 0 : n + 1);
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
let bt =
|
|
385
|
+
let bt = p(() => ({
|
|
386
386
|
headers: [
|
|
387
387
|
z.value.a11y.translations.series,
|
|
388
388
|
z.value.a11y.translations.percentage,
|
|
389
389
|
z.value.a11y.translations.value
|
|
390
390
|
],
|
|
391
|
-
rows:
|
|
391
|
+
rows: J.value.map((e, t) => [
|
|
392
392
|
e.name,
|
|
393
|
-
|
|
394
|
-
|
|
393
|
+
q.value.includes(t) ? " - " : e.proportionLabel,
|
|
394
|
+
l(z.value.style.legend.value.formatter, e.value, i({
|
|
395
395
|
p: z.value.style.legend.value.prefix,
|
|
396
396
|
v: e.value,
|
|
397
397
|
s: z.value.style.legend.value.suffix,
|
|
398
398
|
r: z.value.style.legend.value.rounding
|
|
399
399
|
}), {
|
|
400
400
|
datapoint: e,
|
|
401
|
-
seriesIndex:
|
|
401
|
+
seriesIndex: t
|
|
402
402
|
})
|
|
403
403
|
])
|
|
404
404
|
}));
|
|
405
|
-
return
|
|
405
|
+
return le({
|
|
406
406
|
hideSeries: lt,
|
|
407
407
|
showSeries: ct
|
|
408
|
-
}), (e,
|
|
408
|
+
}), (e, t) => (x(), h("div", {
|
|
409
409
|
class: "vue-data-ui-component vue-ui-spark-stackbar",
|
|
410
410
|
ref_key: "sparkstackbarChart",
|
|
411
411
|
ref: Xe,
|
|
@@ -415,7 +415,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
415
415
|
id: `chart-instructions-${A.value}`,
|
|
416
416
|
class: "sr-only"
|
|
417
417
|
}, [g("p", null, T(z.value.a11y.translations.keyboardNavigation), 1)], 8, Se),
|
|
418
|
-
bt.value?.rows?.length ? (x(),
|
|
418
|
+
bt.value?.rows?.length ? (x(), me(de, {
|
|
419
419
|
key: 0,
|
|
420
420
|
uid: A.value,
|
|
421
421
|
head: bt.value.headers,
|
|
@@ -445,7 +445,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
445
445
|
ref: H,
|
|
446
446
|
xmlns: E(re),
|
|
447
447
|
width: "100%",
|
|
448
|
-
viewBox: `0 0 ${
|
|
448
|
+
viewBox: `0 0 ${K.value.width} ${K.value.height}`,
|
|
449
449
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
450
450
|
tabindex: "0",
|
|
451
451
|
onFocus: mt,
|
|
@@ -453,7 +453,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
453
453
|
onKeydown: gt
|
|
454
454
|
}, [
|
|
455
455
|
he(E(O)),
|
|
456
|
-
g("defs", null, [(x(!0), h(
|
|
456
|
+
g("defs", null, [(x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("linearGradient", {
|
|
457
457
|
key: `stack_gradient_${t}`,
|
|
458
458
|
gradientTransform: "rotate(90)",
|
|
459
459
|
id: `stack_gradient_${t}_${A.value}`
|
|
@@ -464,7 +464,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
464
464
|
}, null, 8, Ee),
|
|
465
465
|
g("stop", {
|
|
466
466
|
offset: "50%",
|
|
467
|
-
"stop-color": E(
|
|
467
|
+
"stop-color": E(o)(E(s)(e.color, .05), 100 - z.value.style.bar.gradient.intensity)
|
|
468
468
|
}, null, 8, De),
|
|
469
469
|
g("stop", {
|
|
470
470
|
offset: "100%",
|
|
@@ -479,38 +479,38 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
479
479
|
ry: "3",
|
|
480
480
|
fill: z.value.style.backgroundColor
|
|
481
481
|
}, null, 8, Ae)])]),
|
|
482
|
-
|
|
483
|
-
(x(!0), h(
|
|
482
|
+
at.value > 0 ? (x(), h("g", je, [
|
|
483
|
+
(x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("rect", {
|
|
484
484
|
key: `stack_underlayer_${t}`,
|
|
485
485
|
x: e.start,
|
|
486
486
|
y: 0,
|
|
487
487
|
width: e.width,
|
|
488
|
-
height:
|
|
488
|
+
height: K.value.height,
|
|
489
489
|
fill: z.value.style.bar.gradient.underlayerColor,
|
|
490
|
-
class: v({ animated: !
|
|
490
|
+
class: v({ animated: !G.value && !E(B) }),
|
|
491
491
|
style: b({ opacity: R.value !== null && z.value.style.tooltip.show ? R.value === t ? 1 : .5 : 1 })
|
|
492
492
|
}, null, 14, Me))), 128)),
|
|
493
|
-
(x(!0), h(
|
|
493
|
+
(x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("rect", {
|
|
494
494
|
key: `stack_${t}`,
|
|
495
495
|
x: e.start,
|
|
496
496
|
y: 0,
|
|
497
497
|
width: e.width,
|
|
498
|
-
height:
|
|
498
|
+
height: K.value.height,
|
|
499
499
|
fill: z.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${A.value})` : e.color,
|
|
500
500
|
stroke: z.value.style.backgroundColor,
|
|
501
501
|
"stroke-linecap": "round",
|
|
502
|
-
class: v({ animated: !
|
|
502
|
+
class: v({ animated: !G.value && !E(B) }),
|
|
503
503
|
style: b({ opacity: R.value !== null && z.value.style.tooltip.show ? R.value === t ? 1 : .5 : 1 })
|
|
504
504
|
}, null, 14, Ne))), 128)),
|
|
505
|
-
(x(!0), h(
|
|
505
|
+
(x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("rect", {
|
|
506
506
|
key: `stack_trap_${t}`,
|
|
507
507
|
x: e.start,
|
|
508
508
|
y: 0,
|
|
509
509
|
width: e.width,
|
|
510
|
-
height:
|
|
510
|
+
height: K.value.height,
|
|
511
511
|
fill: "transparent",
|
|
512
512
|
stroke: "none",
|
|
513
|
-
class: v({ animated: !
|
|
513
|
+
class: v({ animated: !G.value && !E(B) }),
|
|
514
514
|
onClick: () => Q(e, t),
|
|
515
515
|
onMouseenter: () => ft({
|
|
516
516
|
datapoint: e,
|
|
@@ -525,12 +525,12 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
525
525
|
key: 1,
|
|
526
526
|
x: 2,
|
|
527
527
|
y: 1,
|
|
528
|
-
width:
|
|
529
|
-
height:
|
|
528
|
+
width: K.value.width - 4,
|
|
529
|
+
height: K.value.height - 2,
|
|
530
530
|
stroke: "#CCCCCC",
|
|
531
531
|
"stroke-width": "2",
|
|
532
532
|
fill: "transparent",
|
|
533
|
-
rx: (
|
|
533
|
+
rx: (K.value.height - 4) / 2
|
|
534
534
|
}, null, 8, Fe))
|
|
535
535
|
], 40, we)), e.$slots.hint ? (x(), h("div", Ie, [w(e.$slots, "hint", y(_({
|
|
536
536
|
hint: z.value.a11y.translations.keyboardNavigation,
|
|
@@ -542,12 +542,12 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
542
542
|
class: "vue-ui-sparkstackbar-legend",
|
|
543
543
|
"aria-label": "legend",
|
|
544
544
|
role: "toolbar"
|
|
545
|
-
}, [z.value.style.legend.selectAllToggle.show &&
|
|
545
|
+
}, [z.value.style.legend.selectAllToggle.show && J.value.length > 2 && !E(B) ? (x(), me(ue, {
|
|
546
546
|
key: 0,
|
|
547
547
|
backgroundColor: z.value.style.legend.selectAllToggle.backgroundColor,
|
|
548
548
|
color: z.value.style.legend.selectAllToggle.color,
|
|
549
549
|
fontSize: z.value.style.legend.fontSize,
|
|
550
|
-
checked:
|
|
550
|
+
checked: q.value.length > 0,
|
|
551
551
|
isCursorPointer: $e.value,
|
|
552
552
|
onToggle: ot
|
|
553
553
|
}, null, 8, [
|
|
@@ -556,29 +556,29 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
556
556
|
"fontSize",
|
|
557
557
|
"checked",
|
|
558
558
|
"isCursorPointer"
|
|
559
|
-
])) : m("", !0), (x(!0), h(
|
|
559
|
+
])) : m("", !0), (x(!0), h(f, null, C(J.value, (e, t) => (x(), h("div", {
|
|
560
560
|
role: "button",
|
|
561
561
|
tabindex: "0",
|
|
562
|
-
"aria-pressed":
|
|
563
|
-
"aria-label": `${e.name}, ${
|
|
562
|
+
"aria-pressed": q.value.includes(t),
|
|
563
|
+
"aria-label": `${e.name}, ${q.value.includes(t) ? "hidden" : "visible"}, ${e.proportionLabel}`,
|
|
564
564
|
style: b(`font-size:${z.value.style.legend.fontSize}px;cursor:${$e.value ? "pointer" : "default"}`),
|
|
565
565
|
class: v({
|
|
566
566
|
"vue-ui-sparkstackbar-legend-item": !0,
|
|
567
|
-
"vue-ui-sparkstackbar-legend-item-unselected":
|
|
567
|
+
"vue-ui-sparkstackbar-legend-item-unselected": q.value.includes(t)
|
|
568
568
|
}),
|
|
569
|
-
onClick: (
|
|
570
|
-
X(
|
|
569
|
+
onClick: (n) => {
|
|
570
|
+
X(t), Q(e, t, !0);
|
|
571
571
|
},
|
|
572
572
|
onFocus: (t) => _t(e),
|
|
573
573
|
onBlur: vt,
|
|
574
|
-
onKeydown: (
|
|
574
|
+
onKeydown: (n) => yt(n, e, t)
|
|
575
575
|
}, [g("div", Re, [(x(), h("svg", {
|
|
576
576
|
height: `${z.value.style.legend.fontSize}px`,
|
|
577
577
|
width: `${z.value.style.legend.fontSize}px`,
|
|
578
578
|
viewBox: "0 0 10 10"
|
|
579
|
-
}, [g("defs", null, [g("radialGradient", { id: `legend_grad_${
|
|
579
|
+
}, [g("defs", null, [g("radialGradient", { id: `legend_grad_${t}-${A.value}` }, [g("stop", {
|
|
580
580
|
offset: "0%",
|
|
581
|
-
"stop-color": E(B) ? "#FFFFFF" : E(
|
|
581
|
+
"stop-color": E(B) ? "#FFFFFF" : E(o)(E(s)(e.color, .05), 100 - z.value.style.bar.gradient.intensity)
|
|
582
582
|
}, null, 8, Ve), g("stop", {
|
|
583
583
|
offset: "100%",
|
|
584
584
|
"stop-color": e.color
|
|
@@ -586,21 +586,21 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
586
586
|
cx: 5,
|
|
587
587
|
cy: 5,
|
|
588
588
|
r: 5,
|
|
589
|
-
fill: z.value.style.bar.gradient.show ? `url(#legend_grad_${
|
|
590
|
-
}, null, 8, Ue)], 8, ze)), E(B) ? m("", !0) : (x(), h(
|
|
589
|
+
fill: z.value.style.bar.gradient.show ? `url(#legend_grad_${t}-${A.value})` : e.color
|
|
590
|
+
}, null, 8, Ue)], 8, ze)), E(B) ? m("", !0) : (x(), h(f, { key: 0 }, [g("span", { style: b(`color:${z.value.style.legend.name.color}; font-weight:${z.value.style.legend.name.bold ? "bold" : "normal"}`) }, T(e.name), 5), G.value ? m("", !0) : (x(), h(f, { key: 0 }, [z.value.style.legend.percentage.show ? (x(), h("span", {
|
|
591
591
|
key: 0,
|
|
592
592
|
style: b(`font-weight:${z.value.style.legend.percentage.bold ? "bold" : "normal"};color:${z.value.style.legend.percentage.color}`)
|
|
593
|
-
}, T(
|
|
593
|
+
}, T(q.value.includes(t) ? " - " : e.proportionLabel), 5)) : m("", !0), z.value.style.legend.value.show ? (x(), h("span", {
|
|
594
594
|
key: 1,
|
|
595
595
|
style: b(`font-weight:${z.value.style.legend.value.bold ? "bold" : "normal"};color:${z.value.style.legend.value.color}`)
|
|
596
|
-
}, " (" + T(E(
|
|
596
|
+
}, " (" + T(E(l)(z.value.style.legend.value.formatter, e.value, E(i)({
|
|
597
597
|
p: z.value.style.legend.value.prefix,
|
|
598
598
|
v: e.value,
|
|
599
599
|
s: z.value.style.legend.value.suffix,
|
|
600
600
|
r: z.value.style.legend.value.rounding
|
|
601
601
|
}), {
|
|
602
602
|
datapoint: e,
|
|
603
|
-
seriesIndex:
|
|
603
|
+
seriesIndex: t
|
|
604
604
|
})) + ") ", 5)) : m("", !0)], 64))], 64))])], 46, Le))), 256))], 4)) : m("", !0),
|
|
605
605
|
he(E(Ge), {
|
|
606
606
|
teleportTo: z.value.style.tooltip.teleportTo,
|
|
@@ -654,9 +654,9 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
|
|
|
654
654
|
"a11yPosition"
|
|
655
655
|
]),
|
|
656
656
|
e.$slots.source ? (x(), h("div", We, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
657
|
-
w(e.$slots, "skeleton", {}, () => [E(B) ? (x(),
|
|
657
|
+
w(e.$slots, "skeleton", {}, () => [E(B) ? (x(), me(se, { key: 0 })) : m("", !0)], !0)
|
|
658
658
|
], 4));
|
|
659
659
|
}
|
|
660
|
-
}, [["__scopeId", "data-v-
|
|
660
|
+
}, [["__scopeId", "data-v-706a37e5"]]);
|
|
661
661
|
//#endregion
|
|
662
662
|
export { xe as n, O as t };
|