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,31 +1,31 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { n as
|
|
11
|
-
import { t as
|
|
12
|
-
import { c as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
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, J as o, Rt as ee, S as te, X as ne, i as re, nt as ie, pt as ae, t as oe, x as se, y as ce } from "./lib-DUeYQsS0.js";
|
|
3
|
+
import { t as le } from "./useConfig-DAyQk86L.js";
|
|
4
|
+
import { t as ue } from "./usePrinter-C1Gqt_Sp.js";
|
|
5
|
+
import { n as de, t as fe } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
+
import { t as pe } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as me } from "./useNestedProp-CNcoy38D.js";
|
|
8
|
+
import { t as he } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as ge } from "./img-1cKsci8e.js";
|
|
10
|
+
import { n as _e } from "./Title-NWp4qB4K.js";
|
|
11
|
+
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { c as ye } from "./canvas-lib-BOP_HS11.js";
|
|
13
|
+
import { t as be } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
+
import { t as xe } from "./BaseLegendToggle-C_Db-y7s.js";
|
|
15
|
+
import { t as Se } from "./A11yDataTable-BCbtxMU6.js";
|
|
16
|
+
import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
|
+
import { t as we } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
+
import { t as Te } from "./labelUtils-CUctkYoA.js";
|
|
19
|
+
import { t as Ee } from "./Legend-Cz2uQ5gs.js";
|
|
20
|
+
import { t as De } from "./useAutoSizeLabelsInsideViewbox-BIVntRZp.js";
|
|
21
|
+
import { t as Oe } from "./vue_ui_onion-1FTFFS46.js";
|
|
22
|
+
import { Fragment as s, Teleport as ke, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Ae, createTextVNode as je, createVNode as Me, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as Ne, nextTick as Pe, normalizeClass as Fe, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as Ie, onMounted as Le, openBlock as _, ref as v, renderList as y, renderSlot as b, resolveDynamicComponent as Re, shallowRef as ze, toDisplayString as x, toRefs as Be, unref as S, watch as C, withCtx as w } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-onion.vue
|
|
24
|
-
var
|
|
24
|
+
var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
|
|
25
25
|
"xmlns",
|
|
26
26
|
"aria-describedby",
|
|
27
27
|
"viewBox"
|
|
28
|
-
],
|
|
28
|
+
], qe = ["width", "height"], Je = [
|
|
29
29
|
"cx",
|
|
30
30
|
"cy",
|
|
31
31
|
"r",
|
|
@@ -33,7 +33,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
33
33
|
"stroke-width",
|
|
34
34
|
"stroke-dasharray",
|
|
35
35
|
"stroke-dashoffset"
|
|
36
|
-
],
|
|
36
|
+
], Ye = [
|
|
37
37
|
"cx",
|
|
38
38
|
"cy",
|
|
39
39
|
"r",
|
|
@@ -41,14 +41,14 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
41
41
|
"stroke-width",
|
|
42
42
|
"stroke-dasharray",
|
|
43
43
|
"stroke-dashoffset"
|
|
44
|
-
],
|
|
44
|
+
], Xe = ["id"], Ze = ["stdDeviation"], Qe = ["filter"], $e = [
|
|
45
45
|
"cx",
|
|
46
46
|
"cy",
|
|
47
47
|
"r",
|
|
48
48
|
"stroke-width",
|
|
49
49
|
"stroke-dasharray",
|
|
50
50
|
"stroke-dashoffset"
|
|
51
|
-
],
|
|
51
|
+
], et = [
|
|
52
52
|
"cx",
|
|
53
53
|
"cy",
|
|
54
54
|
"r",
|
|
@@ -58,17 +58,17 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
58
58
|
"onMouseenter",
|
|
59
59
|
"onMouseleave",
|
|
60
60
|
"onClick"
|
|
61
|
-
],
|
|
61
|
+
], tt = { key: 2 }, nt = [
|
|
62
62
|
"onMouseenter",
|
|
63
63
|
"onMouseleave",
|
|
64
64
|
"onClick"
|
|
65
|
-
],
|
|
65
|
+
], rt = [
|
|
66
66
|
"x",
|
|
67
67
|
"y",
|
|
68
68
|
"font-size",
|
|
69
69
|
"fill",
|
|
70
70
|
"font-weight"
|
|
71
|
-
],
|
|
71
|
+
], it = {
|
|
72
72
|
key: 0,
|
|
73
73
|
style: {
|
|
74
74
|
position: "absolute",
|
|
@@ -78,10 +78,10 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
78
78
|
},
|
|
79
79
|
"data-dom-to-png-ignore": "",
|
|
80
80
|
"aria-hidden": "true"
|
|
81
|
-
},
|
|
81
|
+
}, at = {
|
|
82
82
|
key: 5,
|
|
83
83
|
class: "vue-data-ui-watermark"
|
|
84
|
-
},
|
|
84
|
+
}, ot = ["id"], st = ["onClick"], ct = ["innerHTML"], lt = /* @__PURE__ */ ve({
|
|
85
85
|
__name: "vue-ui-onion",
|
|
86
86
|
props: {
|
|
87
87
|
config: {
|
|
@@ -98,11 +98,11 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
emits: ["selectLegend", "copyAlt"],
|
|
101
|
-
setup(e, { expose:
|
|
102
|
-
let
|
|
101
|
+
setup(e, { expose: ve, emit: Ve }) {
|
|
102
|
+
let lt = p(() => import("./Tooltip-BENq327o.js")), ut = p(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), dt = p(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), ft = p(() => import("./DataTable-B--IN22e.js")), pt = p(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), mt = p(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), ht = p(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), gt = p(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_onion: _t } = le(), { isThemeValid: vt, warnInvalidTheme: yt } = he(), T = e, bt = c(() => !!T.dataset && T.dataset.length), E = v(a()), xt = v(null), St = v(0), D = v(!1), Ct = v(""), O = v([]), k = v(null), wt = v(null), Tt = v(null), Et = v(null), Dt = v(null), Ot = v(0), kt = v(0), At = v(0), A = v(!1), jt = v(!1), j = v(null), M = v(!1), Mt = v(!1), N = v(null), Nt = v({
|
|
103
103
|
x: 0,
|
|
104
104
|
y: 0
|
|
105
|
-
}), P =
|
|
105
|
+
}), P = v("pointer"), Pt = v(!1), F = v(Vt()), I = c(() => F.value.userOptions.useCursorPointer), Ft = c(() => t({
|
|
106
106
|
defaultConfig: {
|
|
107
107
|
userOptions: { show: !1 },
|
|
108
108
|
table: { show: !1 },
|
|
@@ -116,16 +116,16 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
116
116
|
} }
|
|
117
117
|
},
|
|
118
118
|
userConfig: F.value.skeletonConfig ?? {}
|
|
119
|
-
})), { loading: L, FINAL_DATASET: It, manualLoading: Lt } =
|
|
120
|
-
...
|
|
119
|
+
})), { loading: L, FINAL_DATASET: It, manualLoading: Lt } = de({
|
|
120
|
+
...Be(T),
|
|
121
121
|
FINAL_CONFIG: F,
|
|
122
122
|
prepareConfig: Vt,
|
|
123
123
|
callback: () => {
|
|
124
124
|
Promise.resolve().then(async () => {
|
|
125
|
-
await
|
|
125
|
+
await Pe(), rn();
|
|
126
126
|
});
|
|
127
127
|
},
|
|
128
|
-
skeletonDataset:
|
|
128
|
+
skeletonDataset: T.config?.skeletonDataset ?? [
|
|
129
129
|
{
|
|
130
130
|
name: "_",
|
|
131
131
|
percentage: 50,
|
|
@@ -151,48 +151,48 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
151
151
|
color: "#969696"
|
|
152
152
|
}
|
|
153
153
|
],
|
|
154
|
-
skeletonConfig:
|
|
154
|
+
skeletonConfig: t({
|
|
155
155
|
defaultConfig: F.value,
|
|
156
156
|
userConfig: Ft.value
|
|
157
157
|
})
|
|
158
|
-
}), { userOptionsVisible: Rt, setUserOptionsVisibility: zt, keepUserOptionState: Bt } =
|
|
158
|
+
}), { userOptionsVisible: Rt, setUserOptionsVisibility: zt, keepUserOptionState: Bt } = Ce({ config: F.value }), { svgRef: R } = we({ config: F.value.style.chart.title });
|
|
159
159
|
function Vt() {
|
|
160
|
-
let e =
|
|
161
|
-
userConfig:
|
|
162
|
-
defaultConfig:
|
|
160
|
+
let e = me({
|
|
161
|
+
userConfig: T.config,
|
|
162
|
+
defaultConfig: _t
|
|
163
163
|
}), t = e.theme;
|
|
164
164
|
if (!t) return e;
|
|
165
|
-
if (!
|
|
166
|
-
let n =
|
|
167
|
-
userConfig:
|
|
165
|
+
if (!vt.value(e)) return yt(e), e;
|
|
166
|
+
let n = me({
|
|
167
|
+
userConfig: Oe[t] || T.config,
|
|
168
168
|
defaultConfig: e
|
|
169
|
-
}),
|
|
170
|
-
userConfig:
|
|
169
|
+
}), i = me({
|
|
170
|
+
userConfig: T.config,
|
|
171
171
|
defaultConfig: n
|
|
172
172
|
});
|
|
173
173
|
return {
|
|
174
|
-
...
|
|
175
|
-
customPalette:
|
|
174
|
+
...i,
|
|
175
|
+
customPalette: i.customPalette.length ? i.customPalette : ee[t] || r
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
|
-
|
|
179
|
-
L.value || (F.value = Vt()), Rt.value = !F.value.userOptions.showOnChartHover, Qt(),
|
|
178
|
+
C(() => T.config, (e) => {
|
|
179
|
+
L.value || (F.value = Vt()), Rt.value = !F.value.userOptions.showOnChartHover, Qt(), Ot.value += 1, kt.value += 1, At.value += 1, z.value.showTable = F.value.table.show, z.value.showTooltip = F.value.style.chart.tooltip.show;
|
|
180
180
|
}, { deep: !0 });
|
|
181
|
-
let { isPrinting: Ht, isImaging: Ut, generatePdf: Wt, generateImage: Gt } =
|
|
182
|
-
elementId: `vue-ui-onion_${
|
|
181
|
+
let { isPrinting: Ht, isImaging: Ut, generatePdf: Wt, generateImage: Gt } = ue({
|
|
182
|
+
elementId: `vue-ui-onion_${E.value}`,
|
|
183
183
|
fileName: F.value.style.chart.title.text || "vue-ui-onion",
|
|
184
184
|
options: F.value.userOptions.print
|
|
185
|
-
}), Kt =
|
|
185
|
+
}), Kt = c(() => F.value.userOptions.show && !F.value.style.chart.title.text), qt = c(() => se(F.value.customPalette)), z = v({
|
|
186
186
|
showTable: F.value.table.show,
|
|
187
187
|
showTooltip: F.value.style.chart.tooltip.show
|
|
188
188
|
});
|
|
189
|
-
|
|
189
|
+
C(F, () => {
|
|
190
190
|
z.value = {
|
|
191
191
|
showTable: F.value.table.show,
|
|
192
192
|
showTooltip: F.value.style.chart.tooltip.show
|
|
193
193
|
};
|
|
194
194
|
}, { immediate: !0 });
|
|
195
|
-
let B =
|
|
195
|
+
let B = v({
|
|
196
196
|
height: 512,
|
|
197
197
|
width: 512,
|
|
198
198
|
padding: {
|
|
@@ -202,49 +202,49 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
202
202
|
bottom: 64
|
|
203
203
|
},
|
|
204
204
|
minRadius: 64
|
|
205
|
-
}), V =
|
|
206
|
-
|
|
207
|
-
|
|
205
|
+
}), V = ze(null), H = ze(null);
|
|
206
|
+
Le(() => {
|
|
207
|
+
jt.value = !0, Qt();
|
|
208
208
|
});
|
|
209
|
-
let Jt =
|
|
209
|
+
let Jt = c({
|
|
210
210
|
get: () => F.value.style.chart.layout.labels.fontSize,
|
|
211
211
|
set: (e) => e
|
|
212
|
-
}), { autoSizeLabels: Yt } =
|
|
212
|
+
}), { autoSizeLabels: Yt } = De({
|
|
213
213
|
svgRef: R,
|
|
214
214
|
fontSize: F.value.style.chart.layout.labels.fontSize,
|
|
215
215
|
minFontSize: F.value.style.chart.layout.labels.minFontSize,
|
|
216
216
|
sizeRef: Jt,
|
|
217
217
|
labelClass: ".vue-ui-onion-label"
|
|
218
|
-
}), Xt =
|
|
218
|
+
}), Xt = c(() => F.value.debug), Zt = null;
|
|
219
219
|
function Qt() {
|
|
220
|
-
if (
|
|
220
|
+
if (n(T.dataset) && (ne({
|
|
221
221
|
componentName: "VueUiOnion",
|
|
222
222
|
type: "dataset",
|
|
223
223
|
debug: Xt.value
|
|
224
|
-
}), Lt.value = !0),
|
|
225
|
-
let e = 64 / 512, t =
|
|
226
|
-
Zt && clearTimeout(Zt),
|
|
227
|
-
let { width: t, height: n } =
|
|
228
|
-
chart:
|
|
229
|
-
title: F.value.style.chart.title.text ?
|
|
230
|
-
legend: F.value.style.chart.legend.show ?
|
|
231
|
-
source:
|
|
232
|
-
noTitle:
|
|
224
|
+
}), Lt.value = !0), n(T.dataset) || (Lt.value = F.value.loading), F.value.responsive) {
|
|
225
|
+
let e = 64 / 512, t = ye(() => {
|
|
226
|
+
Zt && clearTimeout(Zt), A.value = !0;
|
|
227
|
+
let { width: t, height: n } = be({
|
|
228
|
+
chart: k.value,
|
|
229
|
+
title: F.value.style.chart.title.text ? wt.value : null,
|
|
230
|
+
legend: F.value.style.chart.legend.show ? Tt.value : null,
|
|
231
|
+
source: Et.value,
|
|
232
|
+
noTitle: Dt.value
|
|
233
233
|
});
|
|
234
234
|
n -= 12, requestAnimationFrame(async () => {
|
|
235
235
|
B.value.width = t, B.value.height = n, B.value.padding.top = Math.max(t, n) * e, B.value.padding.right = Math.max(t, n) * e, B.value.padding.bottom = Math.max(t, n) * e, B.value.padding.left = Math.max(t, n) * e, B.value.minRadius = Math.min(t, n) * e, Zt = setTimeout(() => {
|
|
236
|
-
|
|
236
|
+
A.value = !1, Yt();
|
|
237
237
|
}, 0);
|
|
238
238
|
});
|
|
239
239
|
});
|
|
240
|
-
V.value && (H.value && V.value.unobserve(H.value), V.value.disconnect()), V.value = new ResizeObserver(t), H.value =
|
|
240
|
+
V.value && (H.value && V.value.unobserve(H.value), V.value.disconnect()), V.value = new ResizeObserver(t), H.value = k.value.parentNode, V.value.observe(H.value);
|
|
241
241
|
}
|
|
242
242
|
requestAnimationFrame(Yt);
|
|
243
243
|
}
|
|
244
|
-
|
|
244
|
+
Ie(() => {
|
|
245
245
|
V.value && (H.value && V.value.unobserve(H.value), V.value.disconnect());
|
|
246
246
|
});
|
|
247
|
-
let U =
|
|
247
|
+
let U = c(() => ({
|
|
248
248
|
top: B.value.padding.top,
|
|
249
249
|
left: B.value.padding.left,
|
|
250
250
|
right: B.value.width - B.value.padding.right,
|
|
@@ -255,43 +255,43 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
255
255
|
height: B.value.height - B.value.padding.bottom - B.value.padding.top,
|
|
256
256
|
minRadius: B.value.minRadius,
|
|
257
257
|
maxRadius: Math.min(B.value.width, B.value.height) - B.value.padding.top * 2
|
|
258
|
-
})), W =
|
|
259
|
-
[null, void 0].includes(e.name) &&
|
|
258
|
+
})), W = c(() => (It.value.forEach((e, t) => {
|
|
259
|
+
[null, void 0].includes(e.name) && ne({
|
|
260
260
|
componentName: "VueUiOnion",
|
|
261
261
|
type: "datasetSerieAttribute",
|
|
262
262
|
property: "name",
|
|
263
263
|
index: t
|
|
264
|
-
}), [void 0].includes(e.percentage) &&
|
|
264
|
+
}), [void 0].includes(e.percentage) && ne({
|
|
265
265
|
componentName: "VueUiOnion",
|
|
266
266
|
type: "datasetSerieAttribute",
|
|
267
267
|
property: "percentage",
|
|
268
268
|
index: t
|
|
269
269
|
});
|
|
270
270
|
}), It.value.map((e, t) => {
|
|
271
|
-
let n = `onion_serie_${t}_${
|
|
271
|
+
let n = `onion_serie_${t}_${E.value}`;
|
|
272
272
|
return {
|
|
273
273
|
...e,
|
|
274
274
|
percentage: e.percentage || 0,
|
|
275
275
|
targetPercentage: e.percentage || 0,
|
|
276
|
-
color:
|
|
276
|
+
color: ce(e.color) || qt.value[t] || r[t],
|
|
277
277
|
id: n,
|
|
278
278
|
shape: "circle",
|
|
279
|
-
opacity:
|
|
279
|
+
opacity: O.value.includes(n) ? .5 : 1,
|
|
280
280
|
absoluteIndex: t,
|
|
281
281
|
segregate: () => un(n),
|
|
282
|
-
isSegregated:
|
|
282
|
+
isSegregated: O.value.includes(n)
|
|
283
283
|
};
|
|
284
|
-
}))), G =
|
|
285
|
-
let
|
|
286
|
-
showVal:
|
|
287
|
-
showPercentage:
|
|
288
|
-
val:
|
|
284
|
+
}))), G = c(() => W.value.map((e, t) => {
|
|
285
|
+
let n = F.value.style.chart.legend.showValue, r = F.value.style.chart.legend.showPercentage, a = bn({
|
|
286
|
+
showVal: n,
|
|
287
|
+
showPercentage: r,
|
|
288
|
+
val: re(F.value.style.chart.layout.labels.value.formatter, e.value, i({
|
|
289
289
|
p: e.prefix || "",
|
|
290
290
|
v: e.value,
|
|
291
291
|
s: e.suffix || "",
|
|
292
292
|
r: F.value.style.chart.legend.roundingValue
|
|
293
293
|
})),
|
|
294
|
-
percentage:
|
|
294
|
+
percentage: i({
|
|
295
295
|
v: e.percentage ?? 0,
|
|
296
296
|
s: "%",
|
|
297
297
|
r: F.value.style.chart.legend.roundingPercentage
|
|
@@ -300,13 +300,13 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
300
300
|
});
|
|
301
301
|
return {
|
|
302
302
|
...e,
|
|
303
|
-
display: `${e.name}${
|
|
303
|
+
display: `${e.name}${n || r ? ": " : ""}${a}`
|
|
304
304
|
};
|
|
305
|
-
})), K =
|
|
306
|
-
|
|
305
|
+
})), K = v(W.value), $t = c(() => F.value.useStartAnimation), en = v(null), tn = c(() => Math.max(...W.value.map((e) => e.percentage))), nn = v(!1);
|
|
306
|
+
C(() => W.value, rn, {
|
|
307
307
|
immediate: !0,
|
|
308
308
|
deep: !0
|
|
309
|
-
}),
|
|
309
|
+
}), C(() => T.dataset, (e) => {
|
|
310
310
|
Array.isArray(e) && e.length > 0 && (Lt.value = !1);
|
|
311
311
|
}, { deep: !0 });
|
|
312
312
|
function rn() {
|
|
@@ -325,20 +325,20 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
325
325
|
t();
|
|
326
326
|
} else K.value = W.value;
|
|
327
327
|
}
|
|
328
|
-
let an =
|
|
328
|
+
let an = c(() => ({
|
|
329
329
|
cy: "onion-div-legend",
|
|
330
330
|
backgroundColor: F.value.style.chart.legend.backgroundColor,
|
|
331
331
|
color: F.value.style.chart.legend.color,
|
|
332
332
|
fontSize: F.value.style.chart.legend.fontSize,
|
|
333
333
|
paddingBottom: 12,
|
|
334
334
|
fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
|
|
335
|
-
})), on =
|
|
335
|
+
})), on = c(() => W.value.filter((e) => !O.value.includes(e.id)).length), q = c(() => {
|
|
336
336
|
let e = Math.min(U.value.width, U.value.height) / 2 / W.value.length;
|
|
337
337
|
return {
|
|
338
338
|
gutter: (e > F.value.style.chart.layout.maxThickness ? F.value.style.chart.layout.maxThickness : e) * F.value.style.chart.layout.gutter.width,
|
|
339
339
|
track: (e > F.value.style.chart.layout.maxThickness ? F.value.style.chart.layout.maxThickness : e) * F.value.style.chart.layout.track.width
|
|
340
340
|
};
|
|
341
|
-
}), J =
|
|
341
|
+
}), J = c(() => K.value.filter((e) => !O.value.includes(e.id)).map((e, t) => {
|
|
342
342
|
let n = (U.value.maxRadius - q.value.track) / on.value / 2 * (1 + t), r = U.value.centerY - n;
|
|
343
343
|
return {
|
|
344
344
|
percentage: e.percentage || 0,
|
|
@@ -363,17 +363,17 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
363
363
|
`.trim()
|
|
364
364
|
};
|
|
365
365
|
}
|
|
366
|
-
let cn =
|
|
366
|
+
let cn = Ve;
|
|
367
367
|
function ln() {
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
});
|
|
368
|
+
O.value.length ? O.value = [] : G.value.forEach((e) => {
|
|
369
|
+
O.value.push(e.id);
|
|
370
|
+
}), cn("selectLegend", J.value);
|
|
371
371
|
}
|
|
372
372
|
function un(e) {
|
|
373
|
-
if (
|
|
373
|
+
if (O.value.includes(e)) O.value = O.value.filter((t) => t !== e);
|
|
374
374
|
else {
|
|
375
|
-
if (
|
|
376
|
-
|
|
375
|
+
if (O.value.length === W.value.length - 1) return;
|
|
376
|
+
O.value.push(e);
|
|
377
377
|
}
|
|
378
378
|
cn("selectLegend", J.value);
|
|
379
379
|
}
|
|
@@ -382,16 +382,16 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
382
382
|
}
|
|
383
383
|
function fn(e) {
|
|
384
384
|
let t = dn(e);
|
|
385
|
-
t !== null &&
|
|
385
|
+
t !== null && O.value.includes(t.id) && un(t.id);
|
|
386
386
|
}
|
|
387
387
|
function pn(e) {
|
|
388
388
|
let t = dn(e);
|
|
389
|
-
t !== null && (
|
|
389
|
+
t !== null && (O.value.includes(t.id) || un(t.id));
|
|
390
390
|
}
|
|
391
391
|
function mn() {
|
|
392
392
|
return J.value;
|
|
393
393
|
}
|
|
394
|
-
let hn =
|
|
394
|
+
let hn = c(() => ({
|
|
395
395
|
head: [
|
|
396
396
|
F.value.table.translations.serie,
|
|
397
397
|
F.value.table.translations.percentage,
|
|
@@ -402,7 +402,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
402
402
|
e.percentage,
|
|
403
403
|
e.value
|
|
404
404
|
])
|
|
405
|
-
})), Y =
|
|
405
|
+
})), Y = c(() => {
|
|
406
406
|
let e = hn.value.head;
|
|
407
407
|
return {
|
|
408
408
|
head: e,
|
|
@@ -433,21 +433,21 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
433
433
|
};
|
|
434
434
|
});
|
|
435
435
|
function gn(e = null) {
|
|
436
|
-
|
|
436
|
+
Pe(() => {
|
|
437
437
|
let t = [
|
|
438
438
|
[F.value.style.chart.title.text],
|
|
439
439
|
[F.value.style.chart.title.subtitle.text],
|
|
440
440
|
[""]
|
|
441
|
-
], n = hn.value.head,
|
|
442
|
-
e ? e(
|
|
443
|
-
csvContent:
|
|
441
|
+
], n = hn.value.head, r = hn.value.body, i = te(t.concat([n]).concat(r));
|
|
442
|
+
e ? e(i) : o({
|
|
443
|
+
csvContent: i,
|
|
444
444
|
title: F.value.style.chart.title.text || "vue-ui-onion"
|
|
445
445
|
});
|
|
446
446
|
});
|
|
447
447
|
}
|
|
448
|
-
let X =
|
|
448
|
+
let X = v(void 0), Z = v(!1);
|
|
449
449
|
function _n(e) {
|
|
450
|
-
Z.value = e,
|
|
450
|
+
Z.value = e, St.value += 1;
|
|
451
451
|
}
|
|
452
452
|
function vn({ datapoint: e }) {
|
|
453
453
|
F.value.events.datapointClick && F.value.events.datapointClick({
|
|
@@ -456,13 +456,13 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
456
456
|
});
|
|
457
457
|
}
|
|
458
458
|
function yn({ datapoint: e }) {
|
|
459
|
-
X.value = void 0,
|
|
459
|
+
X.value = void 0, D.value = !1, N.value = null, P.value = "pointer", F.value.events.datapointLeave && F.value.events.datapointLeave({
|
|
460
460
|
datapoint: e,
|
|
461
461
|
seriesIndex: e.absoluteIndex
|
|
462
462
|
});
|
|
463
463
|
}
|
|
464
464
|
function bn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
|
|
465
|
-
return
|
|
465
|
+
return Te({
|
|
466
466
|
config: i,
|
|
467
467
|
val: e,
|
|
468
468
|
percentage: t,
|
|
@@ -470,74 +470,74 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
470
470
|
showPercentage: r
|
|
471
471
|
});
|
|
472
472
|
}
|
|
473
|
-
function xn(e,
|
|
474
|
-
let
|
|
473
|
+
function xn(e, t) {
|
|
474
|
+
let n = F.value.style.chart.layout.labels.value.show, r = F.value.style.chart.layout.labels.percentage.show, a = bn({
|
|
475
475
|
config: F.value.style.chart.layout.labels,
|
|
476
|
-
showVal:
|
|
477
|
-
showPercentage:
|
|
478
|
-
val:
|
|
476
|
+
showVal: n,
|
|
477
|
+
showPercentage: r,
|
|
478
|
+
val: re(F.value.style.chart.layout.labels.value.formatter, e.value, i({
|
|
479
479
|
p: e.prefix || "",
|
|
480
480
|
v: e.value || 0,
|
|
481
481
|
s: e.suffix || "",
|
|
482
482
|
r: F.value.style.chart.layout.labels.roundingValue
|
|
483
483
|
}), {
|
|
484
484
|
datapoint: e,
|
|
485
|
-
seriesIndex:
|
|
485
|
+
seriesIndex: t
|
|
486
486
|
}),
|
|
487
|
-
percentage:
|
|
487
|
+
percentage: i({
|
|
488
488
|
v: e.percentage,
|
|
489
489
|
s: "%",
|
|
490
490
|
r: F.value.style.chart.layout.labels.roundingPercentage
|
|
491
491
|
})
|
|
492
492
|
});
|
|
493
|
-
return `${e.name}${
|
|
493
|
+
return `${e.name}${n || r ? ": " : ""}${a}`;
|
|
494
494
|
}
|
|
495
|
-
let Sn =
|
|
496
|
-
function Cn({ datapoint: e, seriesIndex:
|
|
495
|
+
let Sn = v(null);
|
|
496
|
+
function Cn({ datapoint: e, seriesIndex: t, show: n = !0, triggerMode: r = "pointer" }) {
|
|
497
497
|
F.value.events.datapointEnter && F.value.events.datapointEnter({
|
|
498
498
|
datapoint: e,
|
|
499
499
|
seriesIndex: e.absoluteIndex
|
|
500
|
-
}), P.value =
|
|
500
|
+
}), P.value = r, N.value = t;
|
|
501
501
|
let a = e.absoluteIndex;
|
|
502
|
-
X.value =
|
|
502
|
+
X.value = t, Sn.value = {
|
|
503
503
|
datapoint: e,
|
|
504
504
|
seriesIndex: a,
|
|
505
505
|
series: W.value,
|
|
506
506
|
config: F.value
|
|
507
|
-
},
|
|
508
|
-
let o = "",
|
|
509
|
-
if (
|
|
507
|
+
}, D.value = n;
|
|
508
|
+
let o = "", ee = F.value.style.chart.tooltip.customFormat;
|
|
509
|
+
if (ae(ee) && ie(() => ee({
|
|
510
510
|
seriesIndex: a,
|
|
511
511
|
datapoint: e,
|
|
512
512
|
series: W.value,
|
|
513
513
|
config: F.value
|
|
514
|
-
})))
|
|
514
|
+
}))) Ct.value = ee({
|
|
515
515
|
seriesIndex: a,
|
|
516
516
|
datapoint: e,
|
|
517
517
|
series: W.value,
|
|
518
518
|
config: F.value
|
|
519
519
|
});
|
|
520
520
|
else {
|
|
521
|
-
let
|
|
521
|
+
let n = F.value.style.chart.tooltip.showPercentage, r = F.value.style.chart.tooltip.showValue;
|
|
522
522
|
o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, o += `<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="${e.color}"/></svg>`, o += `<b>${bn({
|
|
523
523
|
config: F.value.style.chart.tooltip,
|
|
524
|
-
showVal:
|
|
525
|
-
showPercentage:
|
|
526
|
-
val: `<span>${
|
|
524
|
+
showVal: r,
|
|
525
|
+
showPercentage: n,
|
|
526
|
+
val: `<span>${re(F.value.style.chart.layout.labels.value.formatter, e.value, i({
|
|
527
527
|
p: e.prefix || "",
|
|
528
528
|
v: e.value,
|
|
529
529
|
s: e.suffix || "",
|
|
530
530
|
r: F.value.style.chart.tooltip.roundingValue
|
|
531
531
|
}), {
|
|
532
532
|
datapoint: e,
|
|
533
|
-
seriesIndex:
|
|
533
|
+
seriesIndex: t
|
|
534
534
|
})}</span>`,
|
|
535
|
-
percentage:
|
|
535
|
+
percentage: i({
|
|
536
536
|
v: e.percentage,
|
|
537
537
|
s: "%",
|
|
538
538
|
r: F.value.style.chart.tooltip.roundingPercentage
|
|
539
539
|
})
|
|
540
|
-
})}</b></div>`,
|
|
540
|
+
})}</b></div>`, Ct.value = `<div>${o}</div>`;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
function wn() {
|
|
@@ -546,14 +546,14 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
546
546
|
function Tn() {
|
|
547
547
|
z.value.showTooltip = !z.value.showTooltip;
|
|
548
548
|
}
|
|
549
|
-
let Q =
|
|
549
|
+
let Q = v(!1);
|
|
550
550
|
function En() {
|
|
551
551
|
Q.value = !Q.value;
|
|
552
552
|
}
|
|
553
553
|
async function Dn({ scale: e = 2 } = {}) {
|
|
554
|
-
if (!
|
|
555
|
-
let { width: t, height: n } =
|
|
556
|
-
domElement:
|
|
554
|
+
if (!k.value) return;
|
|
555
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
|
|
556
|
+
domElement: k.value,
|
|
557
557
|
base64: !0,
|
|
558
558
|
img: !0,
|
|
559
559
|
scale: e
|
|
@@ -567,10 +567,10 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
567
567
|
aspectRatio: r
|
|
568
568
|
};
|
|
569
569
|
}
|
|
570
|
-
let $ =
|
|
570
|
+
let $ = c(() => {
|
|
571
571
|
let e = F.value.table.useDialog && !F.value.table.show, t = z.value.showTable;
|
|
572
572
|
return {
|
|
573
|
-
component: e ?
|
|
573
|
+
component: e ? gt : dt,
|
|
574
574
|
title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
|
|
575
575
|
props: e ? {
|
|
576
576
|
backgroundColor: F.value.table.th.backgroundColor,
|
|
@@ -578,7 +578,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
578
578
|
headerColor: F.value.table.th.color,
|
|
579
579
|
headerBg: F.value.table.th.backgroundColor,
|
|
580
580
|
isFullscreen: Z.value,
|
|
581
|
-
fullscreenParent:
|
|
581
|
+
fullscreenParent: k.value,
|
|
582
582
|
forcedWidth: Math.min(600, window.innerWidth * .8),
|
|
583
583
|
isCursorPointer: I.value
|
|
584
584
|
} : {
|
|
@@ -598,21 +598,21 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
598
598
|
}
|
|
599
599
|
};
|
|
600
600
|
});
|
|
601
|
-
|
|
602
|
-
F.value.table.show || (e && F.value.table.useDialog &&
|
|
601
|
+
C(() => z.value.showTable, (e) => {
|
|
602
|
+
F.value.table.show || (e && F.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
603
603
|
});
|
|
604
|
-
let On =
|
|
604
|
+
let On = c(() => G.value.map((e) => ({
|
|
605
605
|
...e,
|
|
606
606
|
name: e.display
|
|
607
|
-
}))), kn =
|
|
607
|
+
}))), kn = c(() => F.value.style.chart.backgroundColor), An = c(() => F.value.style.chart.legend), { exportSvg: jn, getSvg: Mn } = pe({
|
|
608
608
|
svg: R,
|
|
609
|
-
title:
|
|
609
|
+
title: c(() => F.value.style.chart.title),
|
|
610
610
|
legend: An,
|
|
611
611
|
legendItems: On,
|
|
612
612
|
backgroundColor: kn
|
|
613
613
|
});
|
|
614
614
|
async function Nn({ isCb: e }) {
|
|
615
|
-
Mt.value = !0, await
|
|
615
|
+
Mt.value = !0, await Pe();
|
|
616
616
|
try {
|
|
617
617
|
if (e) {
|
|
618
618
|
let { blob: e, url: t, text: n, dataUrl: r } = await Mn();
|
|
@@ -629,11 +629,11 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
629
629
|
}
|
|
630
630
|
function Pn(e) {
|
|
631
631
|
if (e?.stage === "start") {
|
|
632
|
-
|
|
632
|
+
M.value = !0;
|
|
633
633
|
return;
|
|
634
634
|
}
|
|
635
635
|
if (e?.stage === "end") {
|
|
636
|
-
|
|
636
|
+
M.value = !1;
|
|
637
637
|
return;
|
|
638
638
|
}
|
|
639
639
|
Gt();
|
|
@@ -655,14 +655,14 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
655
655
|
N.value = null, Pt.value = !0;
|
|
656
656
|
}
|
|
657
657
|
function Ln() {
|
|
658
|
-
N.value = null, P.value = "pointer",
|
|
658
|
+
N.value = null, P.value = "pointer", D.value = !1, X.value = void 0, Pt.value = !1;
|
|
659
659
|
}
|
|
660
660
|
function Rn(e) {
|
|
661
661
|
if (!R.value || Q.value || document.activeElement !== R.value || !J.value.length) return;
|
|
662
662
|
let t = ["ArrowLeft", "ArrowDown"].includes(e.key), n = ["ArrowRight", "ArrowUp"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
663
663
|
if (!t && !n && !r && !i) return;
|
|
664
664
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
665
|
-
N.value = null, P.value = "pointer",
|
|
665
|
+
N.value = null, P.value = "pointer", D.value = !1, X.value = void 0;
|
|
666
666
|
return;
|
|
667
667
|
}
|
|
668
668
|
if (r) {
|
|
@@ -692,11 +692,11 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
692
692
|
y: o.top + a / B.value.height * o.height
|
|
693
693
|
};
|
|
694
694
|
}
|
|
695
|
-
let Bn =
|
|
695
|
+
let Bn = c(() => ({
|
|
696
696
|
headers: Y.value?.colNames ?? [],
|
|
697
697
|
rows: Y.value?.body ?? []
|
|
698
698
|
}));
|
|
699
|
-
return
|
|
699
|
+
return ve({
|
|
700
700
|
getData: mn,
|
|
701
701
|
getImage: Dn,
|
|
702
702
|
generatePdf: Wt,
|
|
@@ -710,22 +710,22 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
710
710
|
toggleAnnotator: En,
|
|
711
711
|
toggleFullscreen: _n,
|
|
712
712
|
copyAlt: Fn
|
|
713
|
-
}), (e, t) => (
|
|
714
|
-
class:
|
|
713
|
+
}), (e, t) => (_(), d("div", {
|
|
714
|
+
class: Fe(`vue-data-ui-component vue-ui-onion ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
715
715
|
ref_key: "onionChart",
|
|
716
|
-
ref:
|
|
717
|
-
id: `vue-ui-onion_${
|
|
718
|
-
style:
|
|
719
|
-
onMouseenter: t[4] ||= () =>
|
|
720
|
-
onMouseleave: t[5] ||= () =>
|
|
716
|
+
ref: k,
|
|
717
|
+
id: `vue-ui-onion_${E.value}`,
|
|
718
|
+
style: g(`font-family:${F.value.style.fontFamily};width:100%; ${F.value.responsive ? "height: 100%;" : ""} text-align:center;background:${F.value.style.chart.backgroundColor}`),
|
|
719
|
+
onMouseenter: t[4] ||= () => S(zt)(!0),
|
|
720
|
+
onMouseleave: t[5] ||= () => S(zt)(!1)
|
|
721
721
|
}, [
|
|
722
|
-
|
|
723
|
-
id: `chart-instructions-${
|
|
722
|
+
f("div", {
|
|
723
|
+
id: `chart-instructions-${E.value}`,
|
|
724
724
|
class: "sr-only"
|
|
725
|
-
}, [
|
|
726
|
-
Bn.value?.rows?.length ? (
|
|
725
|
+
}, [f("p", null, x(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ue),
|
|
726
|
+
Bn.value?.rows?.length ? (_(), l(Se, {
|
|
727
727
|
key: 0,
|
|
728
|
-
uid:
|
|
728
|
+
uid: E.value,
|
|
729
729
|
head: Bn.value.headers,
|
|
730
730
|
body: Bn.value.rows,
|
|
731
731
|
notice: F.value.a11y.translations.tableAvailable,
|
|
@@ -736,22 +736,22 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
736
736
|
"body",
|
|
737
737
|
"notice",
|
|
738
738
|
"caption"
|
|
739
|
-
])) :
|
|
740
|
-
F.value.userOptions.buttons.annotator ? (
|
|
739
|
+
])) : u("", !0),
|
|
740
|
+
F.value.userOptions.buttons.annotator ? (_(), l(S(mt), {
|
|
741
741
|
key: 1,
|
|
742
|
-
svgRef:
|
|
742
|
+
svgRef: S(R),
|
|
743
743
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
744
744
|
color: F.value.style.chart.color,
|
|
745
745
|
active: Q.value,
|
|
746
746
|
isCursorPointer: I.value,
|
|
747
747
|
onClose: En
|
|
748
748
|
}, {
|
|
749
|
-
"annotator-action-close":
|
|
750
|
-
"annotator-action-color":
|
|
751
|
-
"annotator-action-draw":
|
|
752
|
-
"annotator-action-undo":
|
|
753
|
-
"annotator-action-redo":
|
|
754
|
-
"annotator-action-delete":
|
|
749
|
+
"annotator-action-close": w(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
750
|
+
"annotator-action-color": w(({ color: t }) => [b(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
|
|
751
|
+
"annotator-action-draw": w(({ mode: t }) => [b(e.$slots, "annotator-action-draw", h(m({ mode: t })), void 0, !0)]),
|
|
752
|
+
"annotator-action-undo": w(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", h(m({ disabled: t })), void 0, !0)]),
|
|
753
|
+
"annotator-action-redo": w(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", h(m({ disabled: t })), void 0, !0)]),
|
|
754
|
+
"annotator-action-delete": w(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", h(m({ disabled: t })), void 0, !0)]),
|
|
755
755
|
_: 3
|
|
756
756
|
}, 8, [
|
|
757
757
|
"svgRef",
|
|
@@ -759,21 +759,21 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
759
759
|
"color",
|
|
760
760
|
"active",
|
|
761
761
|
"isCursorPointer"
|
|
762
|
-
])) :
|
|
763
|
-
Kt.value ? (
|
|
762
|
+
])) : u("", !0),
|
|
763
|
+
Kt.value ? (_(), d("div", {
|
|
764
764
|
key: 2,
|
|
765
765
|
ref_key: "noTitle",
|
|
766
|
-
ref:
|
|
766
|
+
ref: Dt,
|
|
767
767
|
class: "vue-data-ui-no-title-space",
|
|
768
768
|
style: "height:36px; width: 100%;background:transparent"
|
|
769
|
-
}, null, 512)) :
|
|
770
|
-
F.value.style.chart.title.text ? (
|
|
769
|
+
}, null, 512)) : u("", !0),
|
|
770
|
+
F.value.style.chart.title.text ? (_(), d("div", {
|
|
771
771
|
key: 3,
|
|
772
772
|
ref_key: "chartTitle",
|
|
773
|
-
ref:
|
|
773
|
+
ref: wt,
|
|
774
774
|
style: "width:100%;background:transparent"
|
|
775
|
-
}, [(
|
|
776
|
-
key: `title_${
|
|
775
|
+
}, [(_(), l(_e, {
|
|
776
|
+
key: `title_${Ot.value}`,
|
|
777
777
|
config: {
|
|
778
778
|
title: {
|
|
779
779
|
cy: "onion-div-title",
|
|
@@ -784,17 +784,17 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
784
784
|
...F.value.style.chart.title.subtitle
|
|
785
785
|
}
|
|
786
786
|
}
|
|
787
|
-
}, null, 8, ["config"]))], 512)) :
|
|
788
|
-
|
|
789
|
-
F.value.userOptions.show &&
|
|
787
|
+
}, null, 8, ["config"]))], 512)) : u("", !0),
|
|
788
|
+
f("div", { id: `legend-top-${E.value}` }, null, 8, We),
|
|
789
|
+
F.value.userOptions.show && bt.value && (S(Bt) || S(Rt)) ? (_(), l(S(pt), {
|
|
790
790
|
ref_key: "details",
|
|
791
|
-
ref:
|
|
792
|
-
key: `user_options${
|
|
791
|
+
ref: xt,
|
|
792
|
+
key: `user_options${St.value}`,
|
|
793
793
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
794
794
|
color: F.value.style.chart.color,
|
|
795
|
-
isImaging:
|
|
796
|
-
isPrinting:
|
|
797
|
-
uid:
|
|
795
|
+
isImaging: S(Ut),
|
|
796
|
+
isPrinting: S(Ht),
|
|
797
|
+
uid: E.value,
|
|
798
798
|
hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
|
|
799
799
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
800
800
|
hasImg: F.value.userOptions.buttons.img,
|
|
@@ -806,7 +806,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
806
806
|
isFullscreen: Z.value,
|
|
807
807
|
isTooltip: z.value.showTooltip,
|
|
808
808
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
809
|
-
chartElement:
|
|
809
|
+
chartElement: k.value,
|
|
810
810
|
position: F.value.userOptions.position,
|
|
811
811
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
812
812
|
isAnnotation: Q.value,
|
|
@@ -815,7 +815,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
815
815
|
tableDialog: F.value.table.useDialog,
|
|
816
816
|
isCursorPointer: I.value,
|
|
817
817
|
onToggleFullscreen: _n,
|
|
818
|
-
onGeneratePdf:
|
|
818
|
+
onGeneratePdf: S(Wt),
|
|
819
819
|
onGenerateCsv: gn,
|
|
820
820
|
onGenerateImage: Pn,
|
|
821
821
|
onGenerateSvg: Nn,
|
|
@@ -823,11 +823,11 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
823
823
|
onToggleTooltip: Tn,
|
|
824
824
|
onToggleAnnotator: En,
|
|
825
825
|
onCopyAlt: Fn,
|
|
826
|
-
style:
|
|
827
|
-
},
|
|
826
|
+
style: g({ visibility: S(Bt) ? S(Rt) ? "visible" : "hidden" : "visible" })
|
|
827
|
+
}, Ae({ _: 2 }, [
|
|
828
828
|
e.$slots.menuIcon ? {
|
|
829
829
|
name: "menuIcon",
|
|
830
|
-
fn:
|
|
830
|
+
fn: w(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", h(m({
|
|
831
831
|
isOpen: t,
|
|
832
832
|
color: n
|
|
833
833
|
})), void 0, !0)]),
|
|
@@ -835,37 +835,37 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
835
835
|
} : void 0,
|
|
836
836
|
e.$slots.optionTooltip ? {
|
|
837
837
|
name: "optionTooltip",
|
|
838
|
-
fn:
|
|
838
|
+
fn: w(() => [b(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
839
839
|
key: "1"
|
|
840
840
|
} : void 0,
|
|
841
841
|
e.$slots.optionPdf ? {
|
|
842
842
|
name: "optionPdf",
|
|
843
|
-
fn:
|
|
843
|
+
fn: w(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
844
844
|
key: "2"
|
|
845
845
|
} : void 0,
|
|
846
846
|
e.$slots.optionCsv ? {
|
|
847
847
|
name: "optionCsv",
|
|
848
|
-
fn:
|
|
848
|
+
fn: w(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
849
849
|
key: "3"
|
|
850
850
|
} : void 0,
|
|
851
851
|
e.$slots.optionImg ? {
|
|
852
852
|
name: "optionImg",
|
|
853
|
-
fn:
|
|
853
|
+
fn: w(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
854
854
|
key: "4"
|
|
855
855
|
} : void 0,
|
|
856
856
|
e.$slots.optionSvg ? {
|
|
857
857
|
name: "optionSvg",
|
|
858
|
-
fn:
|
|
858
|
+
fn: w(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
859
859
|
key: "5"
|
|
860
860
|
} : void 0,
|
|
861
861
|
e.$slots.optionTable ? {
|
|
862
862
|
name: "optionTable",
|
|
863
|
-
fn:
|
|
863
|
+
fn: w(() => [b(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
864
864
|
key: "6"
|
|
865
865
|
} : void 0,
|
|
866
866
|
e.$slots.optionFullscreen ? {
|
|
867
867
|
name: "optionFullscreen",
|
|
868
|
-
fn:
|
|
868
|
+
fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", h(m({
|
|
869
869
|
toggleFullscreen: t,
|
|
870
870
|
isFullscreen: n
|
|
871
871
|
})), void 0, !0)]),
|
|
@@ -873,7 +873,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
873
873
|
} : void 0,
|
|
874
874
|
e.$slots.optionAnnotator ? {
|
|
875
875
|
name: "optionAnnotator",
|
|
876
|
-
fn:
|
|
876
|
+
fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", h(m({
|
|
877
877
|
toggleAnnotator: t,
|
|
878
878
|
isAnnotator: n
|
|
879
879
|
})), void 0, !0)]),
|
|
@@ -881,47 +881,47 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
881
881
|
} : void 0,
|
|
882
882
|
e.$slots.optionAltCopy ? {
|
|
883
883
|
name: "optionAltCopy",
|
|
884
|
-
fn:
|
|
884
|
+
fn: w(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", h(m({ altCopy: t })), void 0, !0)]),
|
|
885
885
|
key: "9"
|
|
886
886
|
} : void 0,
|
|
887
887
|
e.$slots["custom-menu-before"] ? {
|
|
888
888
|
name: "custom-menu-before",
|
|
889
|
-
fn:
|
|
889
|
+
fn: w(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
890
890
|
key: "10"
|
|
891
891
|
} : void 0,
|
|
892
892
|
e.$slots["custom-menu-after"] ? {
|
|
893
893
|
name: "custom-menu-after",
|
|
894
|
-
fn:
|
|
894
|
+
fn: w(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
895
895
|
key: "11"
|
|
896
896
|
} : void 0
|
|
897
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
898
|
-
|
|
897
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : u("", !0),
|
|
898
|
+
f("div", Ge, [(_(), d("svg", {
|
|
899
899
|
ref_key: "svgRef",
|
|
900
900
|
ref: R,
|
|
901
|
-
xmlns:
|
|
902
|
-
"aria-describedby": `chart-instructions-${
|
|
903
|
-
class:
|
|
901
|
+
xmlns: S(oe),
|
|
902
|
+
"aria-describedby": `chart-instructions-${E.value}`,
|
|
903
|
+
class: Fe({
|
|
904
904
|
"vue-data-ui-fullscreen--on": Z.value,
|
|
905
905
|
"vue-data-ui-fulscreen--off": !Z.value,
|
|
906
|
-
resizing:
|
|
906
|
+
resizing: A.value
|
|
907
907
|
}),
|
|
908
908
|
viewBox: `0 0 ${B.value.width <= 0 ? 10 : B.value.width} ${B.value.height <= 0 ? 10 : B.value.height}`,
|
|
909
|
-
style:
|
|
909
|
+
style: g(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
|
|
910
910
|
tabindex: "0",
|
|
911
911
|
onFocus: In,
|
|
912
912
|
onBlur: Ln,
|
|
913
913
|
onKeydown: Rn
|
|
914
914
|
}, [
|
|
915
|
-
|
|
916
|
-
e.$slots["chart-background"] ? (
|
|
915
|
+
Me(S(ht)),
|
|
916
|
+
e.$slots["chart-background"] ? (_(), d("foreignObject", {
|
|
917
917
|
key: 0,
|
|
918
918
|
x: 0,
|
|
919
919
|
y: 0,
|
|
920
920
|
width: B.value.width <= 0 ? 10 : B.value.width,
|
|
921
921
|
height: B.value.height <= 0 ? 10 : B.value.height,
|
|
922
922
|
style: { pointerEvents: "none" }
|
|
923
|
-
}, [
|
|
924
|
-
(
|
|
923
|
+
}, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : u("", !0),
|
|
924
|
+
(_(!0), d(s, null, y(J.value, (e, t) => (_(), d("circle", {
|
|
925
925
|
cx: U.value.centerX,
|
|
926
926
|
cy: U.value.centerY,
|
|
927
927
|
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
@@ -931,18 +931,18 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
931
931
|
"stroke-dasharray": e.path.bgDashArray,
|
|
932
932
|
"stroke-dashoffset": e.path.fullOffset,
|
|
933
933
|
"stroke-linecap": "round",
|
|
934
|
-
class:
|
|
934
|
+
class: Fe({
|
|
935
935
|
"vue-ui-onion-path": !0,
|
|
936
936
|
"vue-ui-onion-blur": F.value.useBlurOnHover && ![null, void 0].includes(X.value) && X.value !== t
|
|
937
937
|
}),
|
|
938
|
-
style:
|
|
938
|
+
style: g({
|
|
939
939
|
transform: "rotate(-90deg)",
|
|
940
940
|
transformOrigin: "50% 50%",
|
|
941
|
-
transition:
|
|
942
|
-
animation:
|
|
941
|
+
transition: A.value || S(L) ? "none" : "all 0.3s ease-in-out !important",
|
|
942
|
+
animation: A.value || S(L) ? "none" : "xyAnimation 0.5s ease-in"
|
|
943
943
|
})
|
|
944
|
-
}, null, 14,
|
|
945
|
-
(
|
|
944
|
+
}, null, 14, Je))), 256)),
|
|
945
|
+
(_(!0), d(s, null, y(J.value, (e, t) => (_(), d("circle", {
|
|
946
946
|
cx: U.value.centerX,
|
|
947
947
|
cy: U.value.centerY,
|
|
948
948
|
r: e.radius < 0 ? 1e-4 : e.radius,
|
|
@@ -951,32 +951,32 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
951
951
|
fill: "none",
|
|
952
952
|
"stroke-dasharray": e.path.dashArray,
|
|
953
953
|
"stroke-dashoffset": e.path.dashOffset,
|
|
954
|
-
class:
|
|
954
|
+
class: Fe({
|
|
955
955
|
"vue-ui-onion-path": !0,
|
|
956
956
|
"vue-ui-onion-blur": F.value.useBlurOnHover && ![null, void 0].includes(X.value) && X.value !== t
|
|
957
957
|
}),
|
|
958
958
|
"stroke-linecap": "round",
|
|
959
|
-
style:
|
|
959
|
+
style: g({
|
|
960
960
|
transform: "rotate(-90deg)",
|
|
961
961
|
transformOrigin: "50% 50%",
|
|
962
|
-
transition:
|
|
963
|
-
animation:
|
|
962
|
+
transition: A.value || S(L) ? "none" : "all 0.3s ease-in-out !important",
|
|
963
|
+
animation: A.value || S(L) ? "none" : "xyAnimation 0.5s ease-in"
|
|
964
964
|
})
|
|
965
|
-
}, null, 14,
|
|
966
|
-
|
|
967
|
-
id: `blur_${
|
|
965
|
+
}, null, 14, Ye))), 256)),
|
|
966
|
+
f("defs", null, [f("filter", {
|
|
967
|
+
id: `blur_${E.value}`,
|
|
968
968
|
x: "-50%",
|
|
969
969
|
y: "-50%",
|
|
970
970
|
width: "200%",
|
|
971
971
|
height: "200%"
|
|
972
|
-
}, [
|
|
972
|
+
}, [f("feGaussianBlur", {
|
|
973
973
|
in: "SourceGraphic",
|
|
974
974
|
stdDeviation: 100 / F.value.style.chart.gradientIntensity
|
|
975
|
-
}, null, 8,
|
|
976
|
-
F.value.style.chart.useGradient ? (
|
|
975
|
+
}, null, 8, Ze)], 8, Xe)]),
|
|
976
|
+
F.value.style.chart.useGradient ? (_(), d("g", {
|
|
977
977
|
key: 1,
|
|
978
|
-
filter: `url(#blur_${
|
|
979
|
-
}, [(
|
|
978
|
+
filter: `url(#blur_${E.value})`
|
|
979
|
+
}, [(_(!0), d(s, null, y(J.value, (e, t) => (_(), d("circle", {
|
|
980
980
|
cx: U.value.centerX,
|
|
981
981
|
cy: U.value.centerY,
|
|
982
982
|
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
@@ -986,14 +986,14 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
986
986
|
"stroke-linecap": "round",
|
|
987
987
|
"stroke-dasharray": e.path.dashArray,
|
|
988
988
|
"stroke-dashoffset": e.path.dashOffset,
|
|
989
|
-
style:
|
|
989
|
+
style: g({
|
|
990
990
|
transform: "rotate(-90deg)",
|
|
991
991
|
transformOrigin: "50% 50%",
|
|
992
|
-
transition:
|
|
993
|
-
animation:
|
|
992
|
+
transition: A.value || S(L) ? "none" : "all 0.3s ease-in-out !important",
|
|
993
|
+
animation: A.value || S(L) ? "none" : "xyAnimation 0.5s ease-in"
|
|
994
994
|
})
|
|
995
|
-
}, null, 12,
|
|
996
|
-
(
|
|
995
|
+
}, null, 12, $e))), 256))], 8, Qe)) : u("", !0),
|
|
996
|
+
(_(!0), d(s, null, y(J.value, (e, t) => (_(), d("circle", {
|
|
997
997
|
cx: U.value.centerX,
|
|
998
998
|
cy: U.value.centerY,
|
|
999
999
|
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
@@ -1016,8 +1016,8 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
1016
1016
|
}),
|
|
1017
1017
|
onMouseleave: (t) => yn({ datapoint: e }),
|
|
1018
1018
|
onClick: (t) => vn({ datapoint: e })
|
|
1019
|
-
}, null, 40,
|
|
1020
|
-
F.value.style.chart.layout.labels.show ? (
|
|
1019
|
+
}, null, 40, et))), 256)),
|
|
1020
|
+
F.value.style.chart.layout.labels.show ? (_(), d("g", tt, [(_(!0), d(s, null, y(J.value, (e, t) => (_(), d("g", {
|
|
1021
1021
|
onMouseenter: (n) => Cn({
|
|
1022
1022
|
datapoint: e,
|
|
1023
1023
|
show: !0,
|
|
@@ -1026,7 +1026,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
1026
1026
|
}),
|
|
1027
1027
|
onMouseleave: (t) => yn({ datapoint: e }),
|
|
1028
1028
|
onClick: (t) => vn({ datapoint: e })
|
|
1029
|
-
}, [
|
|
1029
|
+
}, [O.value.includes(e.id) ? u("", !0) : (_(), d("text", {
|
|
1030
1030
|
key: 0,
|
|
1031
1031
|
class: "vue-ui-onion-label",
|
|
1032
1032
|
x: B.value.width / 2 - q.value.gutter * .8 + F.value.style.chart.layout.labels.offsetX,
|
|
@@ -1035,44 +1035,44 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
1035
1035
|
"font-size": F.value.style.chart.layout.labels.fontSize,
|
|
1036
1036
|
fill: F.value.useBlurOnHover && ![null, void 0].includes(X.value) && X.value === t ? e.color : F.value.style.chart.layout.labels.color,
|
|
1037
1037
|
"font-weight": F.value.style.chart.layout.labels.bold ? "bold" : "normal"
|
|
1038
|
-
},
|
|
1039
|
-
|
|
1038
|
+
}, x(xn(e, t)), 9, rt))], 40, nt))), 256))])) : u("", !0),
|
|
1039
|
+
b(e.$slots, "svg", { svg: {
|
|
1040
1040
|
...B.value,
|
|
1041
1041
|
drawingArea: U.value,
|
|
1042
|
-
isPrintingImg:
|
|
1042
|
+
isPrintingImg: S(Ht) || S(Ut) || M.value,
|
|
1043
1043
|
isPrintingSvg: Mt.value
|
|
1044
1044
|
} }, void 0, !0)
|
|
1045
|
-
], 46,
|
|
1045
|
+
], 46, Ke)), e.$slots.hint ? (_(), d("div", it, [b(e.$slots, "hint", h(m({
|
|
1046
1046
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1047
1047
|
isVisible: Pt.value
|
|
1048
|
-
})), void 0, !0)])) :
|
|
1049
|
-
e.$slots.watermark ? (
|
|
1050
|
-
|
|
1051
|
-
|
|
1048
|
+
})), void 0, !0)])) : u("", !0)]),
|
|
1049
|
+
e.$slots.watermark ? (_(), d("div", at, [b(e.$slots, "watermark", h(m({ isPrinting: S(Ht) || S(Ut) || M.value || Mt.value })), void 0, !0)])) : u("", !0),
|
|
1050
|
+
f("div", { id: `legend-bottom-${E.value}` }, null, 8, ot),
|
|
1051
|
+
jt.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (_(), l(ke, {
|
|
1052
1052
|
key: 6,
|
|
1053
|
-
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1054
|
-
}, [
|
|
1053
|
+
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
|
|
1054
|
+
}, [f("div", {
|
|
1055
1055
|
ref_key: "chartLegend",
|
|
1056
|
-
ref:
|
|
1057
|
-
}, [
|
|
1058
|
-
key: `legend_${
|
|
1056
|
+
ref: Tt
|
|
1057
|
+
}, [b(e.$slots, "legend", { legend: G.value }, () => [F.value.style.chart.legend.show ? (_(), l(Ee, {
|
|
1058
|
+
key: `legend_${At.value}`,
|
|
1059
1059
|
legendSet: G.value,
|
|
1060
1060
|
config: an.value,
|
|
1061
1061
|
isCursorPointer: I.value,
|
|
1062
1062
|
onClickMarker: t[0] ||= ({ legend: e }) => un(e.id)
|
|
1063
1063
|
}, {
|
|
1064
|
-
item:
|
|
1064
|
+
item: w(({ legend: e }) => [S(L) ? u("", !0) : (_(), d("div", {
|
|
1065
1065
|
key: 0,
|
|
1066
1066
|
"data-cy-legend-item": "",
|
|
1067
1067
|
onClick: (t) => e.segregate(),
|
|
1068
|
-
style:
|
|
1069
|
-
},
|
|
1070
|
-
legendToggle:
|
|
1068
|
+
style: g(`opacity:${O.value.includes(e.id) ? .5 : 1}`)
|
|
1069
|
+
}, x(e.display), 13, st))]),
|
|
1070
|
+
legendToggle: w(() => [G.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !S(L) ? (_(), l(xe, {
|
|
1071
1071
|
key: 0,
|
|
1072
1072
|
backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1073
1073
|
color: F.value.style.chart.legend.selectAllToggle.color,
|
|
1074
1074
|
fontSize: F.value.style.chart.legend.fontSize,
|
|
1075
|
-
checked:
|
|
1075
|
+
checked: O.value.length > 0,
|
|
1076
1076
|
isCursorPointer: I.value,
|
|
1077
1077
|
onToggle: ln
|
|
1078
1078
|
}, null, 8, [
|
|
@@ -1081,22 +1081,22 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
1081
1081
|
"fontSize",
|
|
1082
1082
|
"checked",
|
|
1083
1083
|
"isCursorPointer"
|
|
1084
|
-
])) :
|
|
1084
|
+
])) : u("", !0)]),
|
|
1085
1085
|
_: 1
|
|
1086
1086
|
}, 8, [
|
|
1087
1087
|
"legendSet",
|
|
1088
1088
|
"config",
|
|
1089
1089
|
"isCursorPointer"
|
|
1090
|
-
])) :
|
|
1091
|
-
e.$slots.source ? (
|
|
1090
|
+
])) : u("", !0)], !0)], 512)], 8, ["to"])) : u("", !0),
|
|
1091
|
+
e.$slots.source ? (_(), d("div", {
|
|
1092
1092
|
key: 7,
|
|
1093
1093
|
ref_key: "source",
|
|
1094
|
-
ref:
|
|
1094
|
+
ref: Et,
|
|
1095
1095
|
dir: "auto"
|
|
1096
|
-
}, [
|
|
1097
|
-
|
|
1096
|
+
}, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
|
|
1097
|
+
Me(S(lt), {
|
|
1098
1098
|
teleportTo: F.value.style.chart.tooltip.teleportTo,
|
|
1099
|
-
show: z.value.showTooltip &&
|
|
1099
|
+
show: z.value.showTooltip && D.value,
|
|
1100
1100
|
backgroundColor: F.value.style.chart.tooltip.backgroundColor,
|
|
1101
1101
|
color: F.value.style.chart.tooltip.color,
|
|
1102
1102
|
borderRadius: F.value.style.chart.tooltip.borderRadius,
|
|
@@ -1107,10 +1107,10 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
1107
1107
|
position: F.value.style.chart.tooltip.position,
|
|
1108
1108
|
offsetX: F.value.style.chart.tooltip.offsetX,
|
|
1109
1109
|
offsetY: F.value.style.chart.tooltip.offsetY,
|
|
1110
|
-
parent:
|
|
1111
|
-
content:
|
|
1110
|
+
parent: k.value,
|
|
1111
|
+
content: Ct.value,
|
|
1112
1112
|
isFullscreen: Z.value,
|
|
1113
|
-
isCustom:
|
|
1113
|
+
isCustom: S(ae)(F.value.style.chart.tooltip.customFormat),
|
|
1114
1114
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
1115
1115
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
1116
1116
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|
|
@@ -1118,9 +1118,9 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
1118
1118
|
isA11yMode: P.value === "keyboard",
|
|
1119
1119
|
a11yPosition: Nt.value
|
|
1120
1120
|
}, {
|
|
1121
|
-
"tooltip-before":
|
|
1122
|
-
tooltip:
|
|
1123
|
-
"tooltip-after":
|
|
1121
|
+
"tooltip-before": w(() => [b(e.$slots, "tooltip-before", h(m({ ...Sn.value })), void 0, !0)]),
|
|
1122
|
+
tooltip: w(() => [b(e.$slots, "tooltip", h(m({ ...Sn.value })), void 0, !0)]),
|
|
1123
|
+
"tooltip-after": w(() => [b(e.$slots, "tooltip-after", h(m({ ...Sn.value })), void 0, !0)]),
|
|
1124
1124
|
_: 3
|
|
1125
1125
|
}, 8, [
|
|
1126
1126
|
"teleportTo",
|
|
@@ -1146,13 +1146,13 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
1146
1146
|
"isA11yMode",
|
|
1147
1147
|
"a11yPosition"
|
|
1148
1148
|
]),
|
|
1149
|
-
|
|
1149
|
+
bt.value && F.value.userOptions.buttons.table ? (_(), l(Re($.value.component), Ne({ key: 8 }, $.value.props, {
|
|
1150
1150
|
ref_key: "tableUnit",
|
|
1151
|
-
ref:
|
|
1151
|
+
ref: j,
|
|
1152
1152
|
onClose: t[3] ||= (e) => z.value.showTable = !1
|
|
1153
|
-
}),
|
|
1154
|
-
content:
|
|
1155
|
-
key: `table_${
|
|
1153
|
+
}), Ae({
|
|
1154
|
+
content: w(() => [(_(), l(S(ft), {
|
|
1155
|
+
key: `table_${kt.value}`,
|
|
1156
1156
|
colNames: Y.value.colNames,
|
|
1157
1157
|
head: Y.value.head,
|
|
1158
1158
|
body: Y.value.body,
|
|
@@ -1162,8 +1162,8 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
1162
1162
|
isCursorPointer: I.value,
|
|
1163
1163
|
onClose: t[2] ||= (e) => z.value.showTable = !1
|
|
1164
1164
|
}, {
|
|
1165
|
-
th:
|
|
1166
|
-
td:
|
|
1165
|
+
th: w(({ th: e }) => [je(x(e), 1)]),
|
|
1166
|
+
td: w(({ td: e }) => [f("div", { innerHTML: e }, null, 8, ct)]),
|
|
1167
1167
|
_: 1
|
|
1168
1168
|
}, 8, [
|
|
1169
1169
|
"colNames",
|
|
@@ -1177,24 +1177,24 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
1177
1177
|
_: 2
|
|
1178
1178
|
}, [F.value.table.useDialog ? {
|
|
1179
1179
|
name: "title",
|
|
1180
|
-
fn:
|
|
1180
|
+
fn: w(() => [je(x($.value.title), 1)]),
|
|
1181
1181
|
key: "0"
|
|
1182
1182
|
} : void 0, F.value.table.useDialog ? {
|
|
1183
1183
|
name: "actions",
|
|
1184
|
-
fn:
|
|
1184
|
+
fn: w(() => [f("button", {
|
|
1185
1185
|
tabindex: "0",
|
|
1186
1186
|
class: "vue-ui-user-options-button",
|
|
1187
1187
|
onClick: t[1] ||= (e) => gn(F.value.userOptions.callbacks.csv),
|
|
1188
|
-
style:
|
|
1189
|
-
}, [
|
|
1188
|
+
style: g({ cursor: I.value ? "pointer" : "default" })
|
|
1189
|
+
}, [Me(S(ut), {
|
|
1190
1190
|
name: "fileCsv",
|
|
1191
1191
|
stroke: $.value.props.color
|
|
1192
1192
|
}, null, 8, ["stroke"])], 4)]),
|
|
1193
1193
|
key: "1"
|
|
1194
|
-
} : void 0]), 1040)) :
|
|
1195
|
-
|
|
1196
|
-
], 46,
|
|
1194
|
+
} : void 0]), 1040)) : u("", !0),
|
|
1195
|
+
b(e.$slots, "skeleton", {}, () => [S(L) ? (_(), l(fe, { key: 0 })) : u("", !0)], !0)
|
|
1196
|
+
], 46, He));
|
|
1197
1197
|
}
|
|
1198
|
-
}, [["__scopeId", "data-v-
|
|
1198
|
+
}, [["__scopeId", "data-v-2e5c3df8"]]);
|
|
1199
1199
|
//#endregion
|
|
1200
|
-
export {
|
|
1200
|
+
export { Ve as n, lt as t };
|