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,1510 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
-
import { B as t, G as n, H as r, J as i, Lt as a, Pt as o, S as s, St as c, Tt as l, X as ee, _ as te, bt as ne, d as re, h as ie, ht as ae, i as oe, jt as se, kt as ce, ot as le, p as ue, q as de, t as fe, u as pe, x as me, y as he, zt as ge } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as _e } from "./useTimeLabels-C0x7zUXP.js";
|
|
4
|
-
import { t as ve } from "./useConfig-ByaaSKhz.js";
|
|
5
|
-
import { t as ye } from "./usePrinter-X0yWOynH.js";
|
|
6
|
-
import { n as be, t as xe } from "./BaseScanner-C7dmAref.js";
|
|
7
|
-
import { t as Se } from "./useSvgExport-Dtu973wa.js";
|
|
8
|
-
import { t as Ce } from "./useNestedProp-Ck4hsrpu.js";
|
|
9
|
-
import { t as we } from "./useThemeCheck-rFK9Zlb_.js";
|
|
10
|
-
import { t as Te } from "./useTimeLabelCollider-Dm55Emzg.js";
|
|
11
|
-
import { t as Ee } from "./img-BjOr008R.js";
|
|
12
|
-
import { n as De } from "./Title-__gWq2g6.js";
|
|
13
|
-
import { t as Oe } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
14
|
-
import { c as ke } from "./canvas-lib-DTaADQOK.js";
|
|
15
|
-
import { t as Ae } from "./useResponsive-CrAInupd.js";
|
|
16
|
-
import { t as je } from "./BaseLegendToggle-CJTwLGXL.js";
|
|
17
|
-
import { t as Me } from "./A11yDataTable-q2-8fSlJ.js";
|
|
18
|
-
import { t as Ne } from "./useUserOptionState-CjPJPTg2.js";
|
|
19
|
-
import { t as Pe } from "./useChartAccessibility-Do37qcw2.js";
|
|
20
|
-
import { t as Fe } from "./Legend-Gg5Q4Clb.js";
|
|
21
|
-
import { t as Ie } from "./vue_ui_donut_evolution-CAJefrHs.js";
|
|
22
|
-
import { t as Le } from "./Slicer-CPWGgGSp.js";
|
|
23
|
-
import { Fragment as u, Teleport as Re, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ze, createTextVNode as Be, createVNode as Ve, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as He, nextTick as Ue, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as We, onMounted as Ge, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as T, toRefs as Je, unref as E, watch as Ye, watchEffect as Xe, withCtx as D } from "vue";
|
|
24
|
-
//#region src/components/vue-ui-donut-evolution.vue
|
|
25
|
-
var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et = ["id"], tt = { style: { position: "relative" } }, nt = [
|
|
26
|
-
"xmlns",
|
|
27
|
-
"aria-describedby",
|
|
28
|
-
"viewBox"
|
|
29
|
-
], rt = [
|
|
30
|
-
"x",
|
|
31
|
-
"y",
|
|
32
|
-
"width",
|
|
33
|
-
"height"
|
|
34
|
-
], it = ["id"], at = ["stop-color"], ot = ["stop-color"], st = ["id"], ct = ["stop-color"], lt = ["stop-color"], ut = ["stop-color"], dt = { key: 1 }, ft = [
|
|
35
|
-
"x1",
|
|
36
|
-
"x2",
|
|
37
|
-
"y1",
|
|
38
|
-
"y2",
|
|
39
|
-
"stroke",
|
|
40
|
-
"stroke-width"
|
|
41
|
-
], pt = [
|
|
42
|
-
"x1",
|
|
43
|
-
"x2",
|
|
44
|
-
"y1",
|
|
45
|
-
"y2",
|
|
46
|
-
"stroke",
|
|
47
|
-
"stroke-width"
|
|
48
|
-
], mt = { key: 0 }, ht = [
|
|
49
|
-
"x1",
|
|
50
|
-
"x2",
|
|
51
|
-
"y1",
|
|
52
|
-
"y2",
|
|
53
|
-
"stroke",
|
|
54
|
-
"stroke-width"
|
|
55
|
-
], gt = [
|
|
56
|
-
"font-size",
|
|
57
|
-
"fill",
|
|
58
|
-
"transform"
|
|
59
|
-
], _t = [
|
|
60
|
-
"x",
|
|
61
|
-
"y",
|
|
62
|
-
"font-size",
|
|
63
|
-
"fill"
|
|
64
|
-
], vt = [
|
|
65
|
-
"x1",
|
|
66
|
-
"x2",
|
|
67
|
-
"y1",
|
|
68
|
-
"y2",
|
|
69
|
-
"stroke",
|
|
70
|
-
"stroke-width"
|
|
71
|
-
], yt = [
|
|
72
|
-
"x",
|
|
73
|
-
"y",
|
|
74
|
-
"font-size",
|
|
75
|
-
"text-anchor",
|
|
76
|
-
"fill",
|
|
77
|
-
"font-weight"
|
|
78
|
-
], bt = { key: 0 }, xt = [
|
|
79
|
-
"text-anchor",
|
|
80
|
-
"font-size",
|
|
81
|
-
"fill",
|
|
82
|
-
"transform"
|
|
83
|
-
], St = [
|
|
84
|
-
"text-anchor",
|
|
85
|
-
"font-size",
|
|
86
|
-
"fill",
|
|
87
|
-
"transform",
|
|
88
|
-
"innerHTML"
|
|
89
|
-
], Ct = [
|
|
90
|
-
"x1",
|
|
91
|
-
"y1",
|
|
92
|
-
"x2",
|
|
93
|
-
"y2",
|
|
94
|
-
"stroke",
|
|
95
|
-
"stroke-width"
|
|
96
|
-
], wt = { key: 1 }, Tt = [
|
|
97
|
-
"cx",
|
|
98
|
-
"cy",
|
|
99
|
-
"r",
|
|
100
|
-
"fill"
|
|
101
|
-
], Et = { key: 0 }, Dt = { key: 0 }, Ot = ["d", "stroke"], kt = [
|
|
102
|
-
"text-anchor",
|
|
103
|
-
"x",
|
|
104
|
-
"y",
|
|
105
|
-
"fill"
|
|
106
|
-
], At = [
|
|
107
|
-
"cx",
|
|
108
|
-
"cy",
|
|
109
|
-
"r",
|
|
110
|
-
"fill"
|
|
111
|
-
], jt = { key: 0 }, Mt = [
|
|
112
|
-
"cx",
|
|
113
|
-
"cy",
|
|
114
|
-
"fill"
|
|
115
|
-
], Nt = { key: 1 }, Pt = [
|
|
116
|
-
"d",
|
|
117
|
-
"fill",
|
|
118
|
-
"stroke"
|
|
119
|
-
], Ft = { key: 2 }, It = [
|
|
120
|
-
"d",
|
|
121
|
-
"fill",
|
|
122
|
-
"stroke"
|
|
123
|
-
], Lt = [
|
|
124
|
-
"x",
|
|
125
|
-
"y",
|
|
126
|
-
"font-size",
|
|
127
|
-
"fill"
|
|
128
|
-
], Rt = [
|
|
129
|
-
"x",
|
|
130
|
-
"y",
|
|
131
|
-
"width",
|
|
132
|
-
"height",
|
|
133
|
-
"fill"
|
|
134
|
-
], zt = [
|
|
135
|
-
"x",
|
|
136
|
-
"y",
|
|
137
|
-
"width",
|
|
138
|
-
"height",
|
|
139
|
-
"onMouseenter",
|
|
140
|
-
"onMouseleave",
|
|
141
|
-
"onClick"
|
|
142
|
-
], Bt = {
|
|
143
|
-
key: 0,
|
|
144
|
-
style: {
|
|
145
|
-
position: "absolute",
|
|
146
|
-
top: "100%",
|
|
147
|
-
left: "0",
|
|
148
|
-
width: "100%"
|
|
149
|
-
},
|
|
150
|
-
"data-dom-to-png-ignore": "",
|
|
151
|
-
"aria-hidden": "true"
|
|
152
|
-
}, Vt = {
|
|
153
|
-
key: 5,
|
|
154
|
-
class: "vue-data-ui-watermark"
|
|
155
|
-
}, Ht = ["id"], Ut = ["onClick"], Wt = { key: 0 }, Gt = { key: 1 }, Kt = /* @__PURE__ */ Oe({
|
|
156
|
-
__name: "vue-ui-donut-evolution",
|
|
157
|
-
props: {
|
|
158
|
-
config: {
|
|
159
|
-
type: Object,
|
|
160
|
-
default() {
|
|
161
|
-
return {};
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
dataset: {
|
|
165
|
-
type: Array,
|
|
166
|
-
default() {
|
|
167
|
-
return [];
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
emits: ["selectLegend", "copyAlt"],
|
|
172
|
-
setup(e, { expose: Oe, emit: Ze }) {
|
|
173
|
-
let Kt = g(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), qt = g(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), Jt = g(() => import("./DataTable-DmE8Oo4i.js")), Yt = g(() => import("./PackageVersion-zJAUEmyB.js").then((e) => e.t)), Xt = g(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Zt = g(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Qt = g(() => import("./vue-ui-donut-BSanYbqb.js").then((e) => e.n)), $t = g(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_donut_evolution: en } = ve(), { isThemeValid: tn, warnInvalidTheme: nn } = we(), O = e, k = S(r()), A = S([]), j = S(null), M = S(null), rn = S(!1), N = S(null), P = S(null), an = S(null), on = S(0), sn = S(0), cn = S(0), ln = S(0), un = S(0), dn = S(null), fn = S(null), pn = S(null), mn = S(null), hn = S(!1), F = S(null), gn = S(null), _n = S(!1), vn = S(!1), yn = S(null), bn = S(null), xn = S(null), Sn = S(null), Cn = S(null), wn = S(!1), Tn = qe(null), En = qe(null), Dn = S(null), I = S(null), On = S(!1), kn = Ze, An = d(() => !!O.dataset && O.dataset.length);
|
|
174
|
-
Ge(() => {
|
|
175
|
-
hn.value = !0, Mn();
|
|
176
|
-
});
|
|
177
|
-
let jn = d(() => !!L.value.debug);
|
|
178
|
-
function Mn() {
|
|
179
|
-
if (c(O.dataset) ? (ee({
|
|
180
|
-
componentName: "VueUiDonutEvolution",
|
|
181
|
-
type: "dataset",
|
|
182
|
-
debug: jn.value
|
|
183
|
-
}), In.value = !0) : O.dataset.length && O.dataset.forEach((e, t) => {
|
|
184
|
-
le({
|
|
185
|
-
datasetObject: e,
|
|
186
|
-
requiredAttributes: ["name", "values"]
|
|
187
|
-
}).forEach((e) => {
|
|
188
|
-
ee({
|
|
189
|
-
componentName: "VueUiDonutEvolution",
|
|
190
|
-
type: "datasetSerieAttribute",
|
|
191
|
-
property: e,
|
|
192
|
-
index: t,
|
|
193
|
-
debug: jn.value
|
|
194
|
-
}), In.value = !0;
|
|
195
|
-
});
|
|
196
|
-
}), c(O.dataset) || (In.value = L.value.loading), setTimeout(() => {
|
|
197
|
-
wn.value = !0;
|
|
198
|
-
}, 10), zn(), L.value.responsive) {
|
|
199
|
-
let e = ke(() => {
|
|
200
|
-
wn.value = !1;
|
|
201
|
-
let { width: e, height: t } = Ae({
|
|
202
|
-
chart: P.value,
|
|
203
|
-
title: L.value.style.chart.title.text ? yn.value : null,
|
|
204
|
-
legend: L.value.style.chart.legend.show ? bn.value : null,
|
|
205
|
-
slicer: L.value.style.chart.zoom.show && Ln.value > 1 ? Cn.value : null,
|
|
206
|
-
source: xn.value
|
|
207
|
-
});
|
|
208
|
-
requestAnimationFrame(() => {
|
|
209
|
-
z.value.width = e, z.value.height = t - 12, clearTimeout(Dn.value), Dn.value = setTimeout(() => {
|
|
210
|
-
wn.value = !0;
|
|
211
|
-
}, 10);
|
|
212
|
-
});
|
|
213
|
-
});
|
|
214
|
-
Tn.value && (En.value && Tn.value.unobserve(En.value), Tn.value.disconnect()), Tn.value = new ResizeObserver(e), En.value = P.value.parentNode, Tn.value.observe(En.value);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
let L = S(Gn()), R = d(() => L.value.userOptions.useCursorPointer), Nn = d(() => ge({
|
|
218
|
-
defaultConfig: {
|
|
219
|
-
useCssAnimation: !1,
|
|
220
|
-
table: { show: !1 },
|
|
221
|
-
userOptions: { show: !1 },
|
|
222
|
-
style: { chart: {
|
|
223
|
-
backgroundColor: "#99999930",
|
|
224
|
-
layout: {
|
|
225
|
-
dataLabels: { show: !1 },
|
|
226
|
-
grid: {
|
|
227
|
-
stroke: "#6A6A6A",
|
|
228
|
-
axis: {
|
|
229
|
-
yLabel: "",
|
|
230
|
-
xLabel: ""
|
|
231
|
-
},
|
|
232
|
-
yAxis: {
|
|
233
|
-
scaleMin: null,
|
|
234
|
-
scaleMax: null,
|
|
235
|
-
autoScale: !1,
|
|
236
|
-
dataLabels: { show: !1 }
|
|
237
|
-
},
|
|
238
|
-
xAxis: { dataLabels: { show: !1 } }
|
|
239
|
-
},
|
|
240
|
-
line: { stroke: "#CACACA60" }
|
|
241
|
-
},
|
|
242
|
-
legend: {
|
|
243
|
-
backgroundColor: "transparent",
|
|
244
|
-
showValue: !1,
|
|
245
|
-
showPercentage: !1
|
|
246
|
-
},
|
|
247
|
-
zoom: {
|
|
248
|
-
show: !1,
|
|
249
|
-
startIndex: null,
|
|
250
|
-
endIndex: null
|
|
251
|
-
}
|
|
252
|
-
} }
|
|
253
|
-
},
|
|
254
|
-
userConfig: L.value.skeletonConfig ?? {}
|
|
255
|
-
})), { loading: Pn, FINAL_DATASET: Fn, manualLoading: In } = be({
|
|
256
|
-
...Je(O),
|
|
257
|
-
FINAL_CONFIG: L,
|
|
258
|
-
prepareConfig: Gn,
|
|
259
|
-
callback: () => {
|
|
260
|
-
Promise.resolve().then(async () => {
|
|
261
|
-
await zn();
|
|
262
|
-
});
|
|
263
|
-
},
|
|
264
|
-
skeletonDataset: O.config?.skeletonDataset ?? [
|
|
265
|
-
{
|
|
266
|
-
name: "",
|
|
267
|
-
values: [
|
|
268
|
-
1,
|
|
269
|
-
2,
|
|
270
|
-
3,
|
|
271
|
-
5,
|
|
272
|
-
8,
|
|
273
|
-
13
|
|
274
|
-
],
|
|
275
|
-
color: "#AAAAAA"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
name: "",
|
|
279
|
-
values: [
|
|
280
|
-
1,
|
|
281
|
-
2,
|
|
282
|
-
3,
|
|
283
|
-
5,
|
|
284
|
-
8,
|
|
285
|
-
13
|
|
286
|
-
],
|
|
287
|
-
color: "#BABABA"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
name: "",
|
|
291
|
-
values: [
|
|
292
|
-
1,
|
|
293
|
-
2,
|
|
294
|
-
3,
|
|
295
|
-
5,
|
|
296
|
-
8,
|
|
297
|
-
13
|
|
298
|
-
],
|
|
299
|
-
color: "#CACACA"
|
|
300
|
-
}
|
|
301
|
-
],
|
|
302
|
-
skeletonConfig: ge({
|
|
303
|
-
defaultConfig: L.value,
|
|
304
|
-
userConfig: Nn.value
|
|
305
|
-
})
|
|
306
|
-
}), z = S({
|
|
307
|
-
width: L.value.style.chart.layout.width,
|
|
308
|
-
height: L.value.style.chart.layout.height
|
|
309
|
-
}), Ln = d(() => Math.max(...Fn.value.map((e) => e.values.length))), B = S({
|
|
310
|
-
start: 0,
|
|
311
|
-
end: Ln.value
|
|
312
|
-
});
|
|
313
|
-
function Rn() {
|
|
314
|
-
zn();
|
|
315
|
-
}
|
|
316
|
-
async function zn() {
|
|
317
|
-
await Ue(), await Ue();
|
|
318
|
-
let { startIndex: e, endIndex: t } = L.value.style.chart.zoom, n = Sn.value;
|
|
319
|
-
B.value = {
|
|
320
|
-
start: 0,
|
|
321
|
-
max: K.value
|
|
322
|
-
}, (e != null || t != null) && n ? (e == null ? (B.value.start = 0, n.setStartValue(0)) : n.setStartValue(e), t == null ? (B.value.end = K.value, n.setEndValue(K.value)) : n.setEndValue(Bn(t + 1))) : (B.value = {
|
|
323
|
-
start: 0,
|
|
324
|
-
end: K.value
|
|
325
|
-
}, sn.value += 1);
|
|
326
|
-
}
|
|
327
|
-
function Bn(e) {
|
|
328
|
-
let t = K.value;
|
|
329
|
-
return e > t ? t : e < 0 || L.value.style.chart.zoom.startIndex !== null && e < L.value.style.chart.zoom.startIndex ? L.value.style.chart.zoom.startIndex === null ? 1 : L.value.style.chart.zoom.startIndex + 1 : e;
|
|
330
|
-
}
|
|
331
|
-
let { userOptionsVisible: Vn, setUserOptionsVisibility: Hn, keepUserOptionState: Un } = Ne({ config: L.value }), { svgRef: Wn } = Pe({ config: L.value.style.chart.title });
|
|
332
|
-
function Gn() {
|
|
333
|
-
let e = Ce({
|
|
334
|
-
userConfig: O.config,
|
|
335
|
-
defaultConfig: en
|
|
336
|
-
}), t = {}, n = e.theme;
|
|
337
|
-
if (n) if (!tn.value(e)) nn(e), t = e;
|
|
338
|
-
else {
|
|
339
|
-
let r = Ce({
|
|
340
|
-
userConfig: Ie[n] || O.config,
|
|
341
|
-
defaultConfig: e
|
|
342
|
-
});
|
|
343
|
-
t = {
|
|
344
|
-
...Ce({
|
|
345
|
-
userConfig: O.config,
|
|
346
|
-
defaultConfig: r
|
|
347
|
-
}),
|
|
348
|
-
customPalette: e.customPalette ? e.customPalette : a[n] || l
|
|
349
|
-
};
|
|
350
|
-
}
|
|
351
|
-
else t = e;
|
|
352
|
-
return t;
|
|
353
|
-
}
|
|
354
|
-
Ye(() => O.config, (e) => {
|
|
355
|
-
Pn.value || (L.value = Gn()), Vn.value = !L.value.userOptions.showOnChartHover, Mn(), cn.value += 1, ln.value += 1, un.value += 1, V.value.showTable = L.value.table.show;
|
|
356
|
-
}, { deep: !0 }), Ye(() => O.dataset, (e) => {
|
|
357
|
-
Array.isArray(e) && e.length > 0 && (In.value = !1), Rn();
|
|
358
|
-
}, { deep: !0 });
|
|
359
|
-
let { isPrinting: Kn, isImaging: qn, generatePdf: Jn, generateImage: Yn } = ye({
|
|
360
|
-
elementId: k.value,
|
|
361
|
-
fileName: L.value.style.chart.title.text || "vue-ui-donut-evolution",
|
|
362
|
-
options: L.value.userOptions.print
|
|
363
|
-
}), Xn = d(() => L.value.userOptions.show && !L.value.style.chart.title.text), Zn = d(() => me(L.value.customPalette)), V = S({ showTable: L.value.table.show });
|
|
364
|
-
Ye(L, () => {
|
|
365
|
-
V.value = { showTable: L.value.table.show };
|
|
366
|
-
}, { immediate: !0 });
|
|
367
|
-
let H = d(() => ({
|
|
368
|
-
top: L.value.style.chart.layout.padding.top,
|
|
369
|
-
right: L.value.style.chart.layout.padding.right,
|
|
370
|
-
bottom: L.value.style.chart.layout.padding.bottom,
|
|
371
|
-
left: L.value.style.chart.layout.padding.left
|
|
372
|
-
})), U = d(() => L.value.style.chart.layout.grid.yAxis.position === "right");
|
|
373
|
-
function Qn() {
|
|
374
|
-
let e = 0;
|
|
375
|
-
dn.value && (e = Array.from(dn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
376
|
-
let n = t.getComputedTextLength();
|
|
377
|
-
return n > e ? n : e;
|
|
378
|
-
}, 0));
|
|
379
|
-
let t = mn.value ? mn.value.getBoundingClientRect().width + L.value.style.chart.layout.grid.axis.yLabelOffsetX + L.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
|
|
380
|
-
return {
|
|
381
|
-
left: U.value ? 0 : n,
|
|
382
|
-
right: U.value ? n : 0,
|
|
383
|
-
scaleLabelsWidth: e,
|
|
384
|
-
yAxisLabelWidth: t,
|
|
385
|
-
crosshair: 5
|
|
386
|
-
};
|
|
387
|
-
}
|
|
388
|
-
let $n = S(0), er = ke((e) => {
|
|
389
|
-
$n.value = e;
|
|
390
|
-
}, 100);
|
|
391
|
-
Xe((e) => {
|
|
392
|
-
let t = fn.value;
|
|
393
|
-
if (!t) return;
|
|
394
|
-
let n = new ResizeObserver((e) => {
|
|
395
|
-
er(e[0].contentRect.height);
|
|
396
|
-
});
|
|
397
|
-
n.observe(t), e(() => n.disconnect());
|
|
398
|
-
}), We(() => {
|
|
399
|
-
$n.value = 0;
|
|
400
|
-
});
|
|
401
|
-
let tr = d(() => {
|
|
402
|
-
let e = 0;
|
|
403
|
-
pn.value && (e = pn.value.getBBox().height);
|
|
404
|
-
let t = 0;
|
|
405
|
-
return fn.value && (t = $n.value), e + t + L.value.style.chart.layout.grid.axis.fontSize + L.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
|
|
406
|
-
}), W = d(() => {
|
|
407
|
-
let e = Qn(), t = L.value.style.chart.layout.dataLabels.fontSize * 3, n = z.value.width, r = z.value.height, i = H.value.left + e.left, a = n - H.value.right - e.right, o = n - i - H.value.right - e.right, s = r - H.value.top - H.value.bottom - t - tr.value, c = H.value.top + t;
|
|
408
|
-
return {
|
|
409
|
-
top: c,
|
|
410
|
-
left: i,
|
|
411
|
-
right: a,
|
|
412
|
-
bottom: r - H.value.bottom - tr.value,
|
|
413
|
-
absoluteHeight: r,
|
|
414
|
-
absoluteWidth: n,
|
|
415
|
-
centerX: i + Math.max(10, o) / 2,
|
|
416
|
-
centerY: c + Math.max(10, s) / 2,
|
|
417
|
-
width: Math.max(10, o),
|
|
418
|
-
height: Math.max(10, s),
|
|
419
|
-
scaleLabelsWidth: e.scaleLabelsWidth,
|
|
420
|
-
yAxisLabelWidth: e.yAxisLabelWidth,
|
|
421
|
-
crosshair: e.crosshair
|
|
422
|
-
};
|
|
423
|
-
}), G = d(() => (Fn.value.forEach((e, t) => {
|
|
424
|
-
[null, void 0].includes(e.name) && ee({
|
|
425
|
-
componentName: "VueUiDonutEvolution",
|
|
426
|
-
type: "datasetSerieAttribute",
|
|
427
|
-
property: "name",
|
|
428
|
-
index: t,
|
|
429
|
-
debug: jn.value
|
|
430
|
-
}), [null, void 0].includes(e.values) && ee({
|
|
431
|
-
componentName: "VueUiDonutEvolution",
|
|
432
|
-
type: "datasetSerieAttribute",
|
|
433
|
-
property: "values",
|
|
434
|
-
index: t,
|
|
435
|
-
debug: jn.value
|
|
436
|
-
});
|
|
437
|
-
}), Fn.value.map((e, t) => ({
|
|
438
|
-
...e,
|
|
439
|
-
values: ce(e.values),
|
|
440
|
-
color: he(e.color) || Zn.value[t] || l[t] || l[t % l.length],
|
|
441
|
-
length: (e.values || []).length,
|
|
442
|
-
uid: r()
|
|
443
|
-
})))), nr = d(() => G.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
|
|
444
|
-
...e,
|
|
445
|
-
values: e.values.filter((e, t) => t >= B.value.start && t <= B.value.end)
|
|
446
|
-
}))), K = d(() => Math.max(...G.value.map((e) => e.length))), q = S([]), rr = 0;
|
|
447
|
-
Xe(() => {
|
|
448
|
-
let e = ++rr;
|
|
449
|
-
(async () => {
|
|
450
|
-
let t = await _e({
|
|
451
|
-
values: L.value.style.chart.layout.grid.xAxis.dataLabels.values,
|
|
452
|
-
maxDatapoints: K.value,
|
|
453
|
-
formatter: L.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
454
|
-
start: B.value.start,
|
|
455
|
-
end: B.value.end
|
|
456
|
-
});
|
|
457
|
-
e === rr && (q.value = t);
|
|
458
|
-
})();
|
|
459
|
-
});
|
|
460
|
-
let J = d(() => W.value.width / (B.value.end - B.value.start)), ir = d(() => {
|
|
461
|
-
let e = [];
|
|
462
|
-
for (let t = 0; t < B.value.end - B.value.start; t += 1) {
|
|
463
|
-
let n = nr.value.map((e) => e.values[t] ?? null), r = n.filter((e) => [void 0, null].includes(e)).length === n.length, i = n.reduce((e, t) => e + t, 0), a = n.map((e) => e / i), o = W.value.left + J.value * t + J.value / 2;
|
|
464
|
-
e.push({
|
|
465
|
-
index: t,
|
|
466
|
-
percentages: a,
|
|
467
|
-
subtotal: r || i < 0 ? null : i,
|
|
468
|
-
values: n,
|
|
469
|
-
x: o
|
|
470
|
-
});
|
|
471
|
-
}
|
|
472
|
-
return e;
|
|
473
|
-
}), ar = d(() => {
|
|
474
|
-
let e = Math.max(...ir.value.map((e) => e.subtotal).filter((e) => ae(e))) ?? 1, t = Math.min(...ir.value.map((e) => e.subtotal).filter((e) => ae(e))) ?? 0, n = Math.max(L.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), r;
|
|
475
|
-
return r = L.value.style.chart.layout.grid.yAxis.scaleMin == null ? 0 : Math.min(t, L.value.style.chart.layout.grid.yAxis.scaleMin), L.value.style.chart.layout.grid.yAxis.autoScale && (r = t, n = e), r === n && (r = n / 2, n *= 1.5), {
|
|
476
|
-
max: n,
|
|
477
|
-
min: r
|
|
478
|
-
};
|
|
479
|
-
}), Y = d(() => {
|
|
480
|
-
let e = ir.value.length === 1 ? ar.value.max * 2 : ar.value.max;
|
|
481
|
-
return ie(ar.value.min, e, L.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
482
|
-
});
|
|
483
|
-
function or(e) {
|
|
484
|
-
return (e - Y.value.min) / (Y.value.max - Y.value.min);
|
|
485
|
-
}
|
|
486
|
-
let sr = d(() => Y.value.ticks.map((e) => ({
|
|
487
|
-
y: W.value.bottom - W.value.height * or(e),
|
|
488
|
-
value: e
|
|
489
|
-
}))), X = d(() => {
|
|
490
|
-
let e = ir.value, t = Math.max(...e.map((e) => e.subtotal));
|
|
491
|
-
return e.length === 1 && t * 2, e.map((t, n) => {
|
|
492
|
-
let r = Math.min(W.value.width / 24, J.value / 2 * .7), i = r > W.value.width / 16 ? W.value.width / 16 : r, a = j.value === t.index ? W.value.width / 16 : i, o = e.length > 4 ? r * 2 : r * 2 > J.value / 2 * .7 ? J.value / 2 * .7 : r * 2, s = W.value.bottom - W.value.height * or(t.subtotal), c = nr.value.map((e) => ({
|
|
493
|
-
color: e.color,
|
|
494
|
-
name: e.name,
|
|
495
|
-
value: e.values[n] ?? 0
|
|
496
|
-
})).toSorted((e, t) => t.value - e.value);
|
|
497
|
-
return {
|
|
498
|
-
...t,
|
|
499
|
-
y: s,
|
|
500
|
-
radius: i,
|
|
501
|
-
activeRadius: a,
|
|
502
|
-
hoverRadius: o,
|
|
503
|
-
donut: ne({ series: c }, t.x, s, i, i, 1.99999, 2, 1, 360, 105.25, i / 2),
|
|
504
|
-
donutHover: ne({ series: c }, t.x, s, o, o, 1.99999, 2, 1, 360, 105.25, o / 2),
|
|
505
|
-
donutFocus: ne({ series: c }, W.value.centerX, W.value.centerY, W.value.height / 3.6, W.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, W.value.height / 6)
|
|
506
|
-
};
|
|
507
|
-
});
|
|
508
|
-
});
|
|
509
|
-
function cr(e, t, r) {
|
|
510
|
-
return oe(L.value.style.chart.layout.dataLabels.formatter, e, n({
|
|
511
|
-
p: L.value.style.chart.layout.dataLabels.prefix,
|
|
512
|
-
v: e,
|
|
513
|
-
s: L.value.style.chart.layout.dataLabels.suffix,
|
|
514
|
-
r: L.value.style.chart.layout.dataLabels.rounding
|
|
515
|
-
}), {
|
|
516
|
-
datapoint: t,
|
|
517
|
-
index: r
|
|
518
|
-
});
|
|
519
|
-
}
|
|
520
|
-
function lr(e, t) {
|
|
521
|
-
return isNaN(e.value / o(t, "value")) ? 0 : (e.value / o(t, "value") * 100).toFixed(0) + "%";
|
|
522
|
-
}
|
|
523
|
-
function ur(e) {
|
|
524
|
-
j.value = null, M.value = null, I.value = null, L.value.events.datapointLeave && L.value.events.datapointLeave({
|
|
525
|
-
datapoint: e,
|
|
526
|
-
seriesIndex: e.seriesIndex + B.value.start
|
|
527
|
-
});
|
|
528
|
-
}
|
|
529
|
-
function dr(e) {
|
|
530
|
-
L.value.events.datapointEnter && L.value.events.datapointEnter({
|
|
531
|
-
datapoint: e,
|
|
532
|
-
seriesIndex: e.index + B.value.start
|
|
533
|
-
}), j.value = e.index, M.value = e, I.value = e.index;
|
|
534
|
-
}
|
|
535
|
-
let fr = S(null);
|
|
536
|
-
function pr(e, t) {
|
|
537
|
-
L.value.events.datapointClick && L.value.events.datapointClick({
|
|
538
|
-
datapoint: e,
|
|
539
|
-
seriesIndex: e.index + B.value.start
|
|
540
|
-
}), !(!e.subtotal || !L.value.style.chart.dialog.show) && (M.value = null, j.value = null, rn.value = !0, N.value = e, jr(e), [null, void 0].includes(t) || (fr.value = t));
|
|
541
|
-
}
|
|
542
|
-
let mr = d(() => G.value.map((e, t) => ({
|
|
543
|
-
name: e.name,
|
|
544
|
-
value: e.values.slice(B.value.start, B.value.end).reduce((e, t) => e + t, 0),
|
|
545
|
-
shape: "circle",
|
|
546
|
-
uid: e.uid,
|
|
547
|
-
color: e.color
|
|
548
|
-
})).sort((e, t) => t.value - e.value).map((e, t) => ({
|
|
549
|
-
...e,
|
|
550
|
-
opacity: A.value.includes(e.uid) ? .5 : 1,
|
|
551
|
-
segregate: () => vr(e.uid),
|
|
552
|
-
isSegregated: A.value.includes(e.uid),
|
|
553
|
-
display: `${e.name}${L.value.style.chart.legend.showPercentage || L.value.style.chart.legend.showValue ? ": " : ""}${L.value.style.chart.legend.showValue ? oe(L.value.style.chart.layout.dataLabels.formatter, e.value, n({
|
|
554
|
-
p: L.value.style.chart.layout.dataLabels.prefix,
|
|
555
|
-
v: e.value,
|
|
556
|
-
s: L.value.style.chart.layout.dataLabels.suffix,
|
|
557
|
-
r: L.value.style.chart.legend.roundingValue
|
|
558
|
-
}), {
|
|
559
|
-
datapoint: e,
|
|
560
|
-
seriesIndex: t
|
|
561
|
-
}) : ""}${L.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${L.value.style.chart.legend.showValue ? " (" : ""}- %${L.value.style.chart.legend.showValue ? ")" : ""}` : `${L.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / hr.value) ? "-" : n({
|
|
562
|
-
v: e.value / hr.value * 100,
|
|
563
|
-
s: "%",
|
|
564
|
-
r: L.value.style.chart.legend.roundingPercentage
|
|
565
|
-
})}${L.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
|
|
566
|
-
}))), hr = d(() => X.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), gr = d(() => ({
|
|
567
|
-
cy: "donut-div-legend",
|
|
568
|
-
backgroundColor: L.value.style.chart.legend.backgroundColor,
|
|
569
|
-
color: L.value.style.chart.legend.color,
|
|
570
|
-
fontSize: L.value.style.chart.legend.fontSize,
|
|
571
|
-
paddingBottom: 12,
|
|
572
|
-
fontWeight: L.value.style.chart.legend.bold ? "bold" : ""
|
|
573
|
-
}));
|
|
574
|
-
function _r() {
|
|
575
|
-
A.value.length ? A.value = [] : mr.value.forEach((e) => {
|
|
576
|
-
A.value.push(e.uid);
|
|
577
|
-
});
|
|
578
|
-
}
|
|
579
|
-
function vr(e) {
|
|
580
|
-
if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), kn("selectLegend", nr.value);
|
|
581
|
-
else {
|
|
582
|
-
if (A.value.length === G.value.length - 1) return;
|
|
583
|
-
A.value.push(e), kn("selectLegend", nr.value);
|
|
584
|
-
}
|
|
585
|
-
N.value && pr(X.value.find((e, t) => t === fr.value));
|
|
586
|
-
}
|
|
587
|
-
function yr(e) {
|
|
588
|
-
return G.value.length ? G.value.find((t) => t.name === e) || (L.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${e}"`), null) : (L.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null);
|
|
589
|
-
}
|
|
590
|
-
function br(e) {
|
|
591
|
-
let t = yr(e);
|
|
592
|
-
t !== null && A.value.includes(t.uid) && vr(t.uid);
|
|
593
|
-
}
|
|
594
|
-
function xr(e) {
|
|
595
|
-
let t = yr(e);
|
|
596
|
-
t !== null && (A.value.includes(t.uid) || vr(t.uid));
|
|
597
|
-
}
|
|
598
|
-
let Z = d(() => {
|
|
599
|
-
let e = [""].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
|
|
600
|
-
name: e.name,
|
|
601
|
-
color: e.color
|
|
602
|
-
})), ["Σ"]), t = [];
|
|
603
|
-
for (let e = 0; e < K.value; e += 1) {
|
|
604
|
-
let n = G.value.filter((e) => !A.value.includes(e.uid)).map((t) => t.values[e] ?? 0).reduce((e, t) => e + t, 0);
|
|
605
|
-
t.push([q.value[e] ? q.value[e].text : "-"].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((t) => ({
|
|
606
|
-
value: t.values[e] ?? 0,
|
|
607
|
-
percentage: t.values[e] ? t.values[e] / n * 100 : 0
|
|
608
|
-
})), [`${L.value.style.chart.layout.dataLabels.prefix}${Number(n.toFixed(L.value.table.td.roundingValue))}${L.value.style.chart.layout.dataLabels.suffix}`]));
|
|
609
|
-
}
|
|
610
|
-
return {
|
|
611
|
-
head: e,
|
|
612
|
-
body: t,
|
|
613
|
-
bodyA11y: t.map((e) => e.map((t, n) => n === 0 || n === e.length - 1 ? t : `${cr(t.value ?? 0, null, n)} (${t.percentage.toFixed(1)}%)`)),
|
|
614
|
-
config: {
|
|
615
|
-
th: {
|
|
616
|
-
backgroundColor: L.value.table.th.backgroundColor,
|
|
617
|
-
color: L.value.table.th.color,
|
|
618
|
-
outline: L.value.table.th.outline
|
|
619
|
-
},
|
|
620
|
-
td: {
|
|
621
|
-
backgroundColor: L.value.table.td.backgroundColor,
|
|
622
|
-
color: L.value.table.td.color,
|
|
623
|
-
outline: L.value.table.td.outline
|
|
624
|
-
},
|
|
625
|
-
breakpoint: L.value.table.responsiveBreakpoint
|
|
626
|
-
},
|
|
627
|
-
colNames: [L.value.table.columnNames.period].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((e) => e.name), L.value.table.columnNames.total)
|
|
628
|
-
};
|
|
629
|
-
});
|
|
630
|
-
function Sr() {
|
|
631
|
-
return G.value;
|
|
632
|
-
}
|
|
633
|
-
function Cr(e = null) {
|
|
634
|
-
Ue(() => {
|
|
635
|
-
let t = [
|
|
636
|
-
[L.value.style.chart.title.text],
|
|
637
|
-
[L.value.style.chart.title.subtitle.text],
|
|
638
|
-
[""]
|
|
639
|
-
], n = [...Z.value.head.map((e) => e.name ?? e)], r = [...Z.value.body.map((e) => e.map((e) => e.value ?? e))], a = s(t.concat([n]).concat(r));
|
|
640
|
-
e ? e(a) : i({
|
|
641
|
-
csvContent: a,
|
|
642
|
-
title: L.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
643
|
-
});
|
|
644
|
-
});
|
|
645
|
-
}
|
|
646
|
-
let Q = S(!1);
|
|
647
|
-
function wr(e) {
|
|
648
|
-
Q.value = e, on.value += 1;
|
|
649
|
-
}
|
|
650
|
-
function Tr() {
|
|
651
|
-
V.value.showTable = !V.value.showTable;
|
|
652
|
-
}
|
|
653
|
-
let $ = S(!1);
|
|
654
|
-
function Er() {
|
|
655
|
-
$.value = !$.value;
|
|
656
|
-
}
|
|
657
|
-
function Dr(e) {
|
|
658
|
-
return e.proportion * 100 > L.value.style.chart.donuts.hover.hideLabelsUnderValue;
|
|
659
|
-
}
|
|
660
|
-
let Or = S([]), kr = S({}), Ar = S(null);
|
|
661
|
-
function jr(e) {
|
|
662
|
-
Or.value = e.donut.map((e) => ({
|
|
663
|
-
name: e.name,
|
|
664
|
-
values: [e.value],
|
|
665
|
-
color: e.color
|
|
666
|
-
})), kr.value = de({
|
|
667
|
-
...L.value.style.chart.dialog.donutChart,
|
|
668
|
-
responsive: !0,
|
|
669
|
-
theme: L.value.theme
|
|
670
|
-
}), Ar.value && Ar.value.open();
|
|
671
|
-
}
|
|
672
|
-
async function Mr({ scale: e = 2 } = {}) {
|
|
673
|
-
if (!P.value) return;
|
|
674
|
-
let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ee({
|
|
675
|
-
domElement: P.value,
|
|
676
|
-
base64: !0,
|
|
677
|
-
img: !0,
|
|
678
|
-
scale: e
|
|
679
|
-
});
|
|
680
|
-
return {
|
|
681
|
-
imageUri: i,
|
|
682
|
-
base64: a,
|
|
683
|
-
title: L.value.style.chart.title.text,
|
|
684
|
-
width: t,
|
|
685
|
-
height: n,
|
|
686
|
-
aspectRatio: r
|
|
687
|
-
};
|
|
688
|
-
}
|
|
689
|
-
Te({
|
|
690
|
-
timeLabelsEls: fn,
|
|
691
|
-
timeLabels: q,
|
|
692
|
-
slicer: B,
|
|
693
|
-
configRef: L,
|
|
694
|
-
rotationPath: [
|
|
695
|
-
"style",
|
|
696
|
-
"chart",
|
|
697
|
-
"layout",
|
|
698
|
-
"grid",
|
|
699
|
-
"xAxis",
|
|
700
|
-
"dataLabels",
|
|
701
|
-
"rotation"
|
|
702
|
-
],
|
|
703
|
-
autoRotatePath: [
|
|
704
|
-
"style",
|
|
705
|
-
"chart",
|
|
706
|
-
"layout",
|
|
707
|
-
"grid",
|
|
708
|
-
"xAxis",
|
|
709
|
-
"dataLabels",
|
|
710
|
-
"autoRotate",
|
|
711
|
-
"enable"
|
|
712
|
-
],
|
|
713
|
-
isAutoSize: !1,
|
|
714
|
-
width: d(() => z.value.width),
|
|
715
|
-
height: d(() => z.value.height),
|
|
716
|
-
rotation: L.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
|
|
717
|
-
});
|
|
718
|
-
let Nr = d(() => {
|
|
719
|
-
let e = L.value.table.useDialog && !L.value.table.show, t = V.value.showTable;
|
|
720
|
-
return {
|
|
721
|
-
component: e ? $t : Kt,
|
|
722
|
-
title: `${L.value.style.chart.title.text}${L.value.style.chart.title.subtitle.text ? `: ${L.value.style.chart.title.subtitle.text}` : ""}`,
|
|
723
|
-
props: e ? {
|
|
724
|
-
backgroundColor: L.value.table.th.backgroundColor,
|
|
725
|
-
color: L.value.table.th.color,
|
|
726
|
-
headerColor: L.value.table.th.color,
|
|
727
|
-
headerBg: L.value.table.th.backgroundColor,
|
|
728
|
-
isFullscreen: Q.value,
|
|
729
|
-
fullscreenParent: P.value,
|
|
730
|
-
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
731
|
-
isCursorPointer: R.value
|
|
732
|
-
} : {
|
|
733
|
-
hideDetails: !0,
|
|
734
|
-
config: {
|
|
735
|
-
open: t,
|
|
736
|
-
maxHeight: 1e4,
|
|
737
|
-
body: {
|
|
738
|
-
backgroundColor: L.value.style.chart.backgroundColor,
|
|
739
|
-
color: L.value.style.chart.color
|
|
740
|
-
},
|
|
741
|
-
head: {
|
|
742
|
-
backgroundColor: L.value.style.chart.backgroundColor,
|
|
743
|
-
color: L.value.style.chart.color
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
};
|
|
748
|
-
});
|
|
749
|
-
Ye(() => V.value.showTable, (e) => {
|
|
750
|
-
L.value.table.show || (e && L.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
|
|
751
|
-
});
|
|
752
|
-
function Pr() {
|
|
753
|
-
V.value.showTable = !1, gn.value && gn.value.setTableIconState(!1);
|
|
754
|
-
}
|
|
755
|
-
let Fr = d(() => mr.value.map((e) => ({
|
|
756
|
-
...e,
|
|
757
|
-
name: e.display
|
|
758
|
-
}))), Ir = d(() => L.value.style.chart.backgroundColor), Lr = d(() => L.value.style.chart.legend), { exportSvg: Rr, getSvg: zr } = Se({
|
|
759
|
-
svg: Wn,
|
|
760
|
-
title: d(() => L.value.style.chart.title),
|
|
761
|
-
legend: Lr,
|
|
762
|
-
legendItems: Fr,
|
|
763
|
-
backgroundColor: Ir
|
|
764
|
-
});
|
|
765
|
-
async function Br({ isCb: e }) {
|
|
766
|
-
vn.value = !0, await Ue();
|
|
767
|
-
try {
|
|
768
|
-
if (e) {
|
|
769
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await zr();
|
|
770
|
-
await Promise.resolve(L.value.userOptions.callbacks.svg({
|
|
771
|
-
blob: e,
|
|
772
|
-
url: t,
|
|
773
|
-
text: n,
|
|
774
|
-
dataUrl: r
|
|
775
|
-
}));
|
|
776
|
-
} else await Promise.resolve(Rr());
|
|
777
|
-
} finally {
|
|
778
|
-
vn.value = !1;
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
function Vr(e) {
|
|
782
|
-
if (e?.stage === "start") {
|
|
783
|
-
_n.value = !0;
|
|
784
|
-
return;
|
|
785
|
-
}
|
|
786
|
-
if (e?.stage === "end") {
|
|
787
|
-
_n.value = !1;
|
|
788
|
-
return;
|
|
789
|
-
}
|
|
790
|
-
Yn();
|
|
791
|
-
}
|
|
792
|
-
async function Hr() {
|
|
793
|
-
if (kn("copyAlt", {
|
|
794
|
-
config: L.value,
|
|
795
|
-
dataset: X.value
|
|
796
|
-
}), !L.value.userOptions.callbacks.altCopy) {
|
|
797
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
798
|
-
return;
|
|
799
|
-
}
|
|
800
|
-
await Promise.resolve(L.value.userOptions.callbacks.altCopy({
|
|
801
|
-
config: L.value,
|
|
802
|
-
dataset: X.value
|
|
803
|
-
}));
|
|
804
|
-
}
|
|
805
|
-
function Ur() {
|
|
806
|
-
I.value = null, On.value = !0;
|
|
807
|
-
}
|
|
808
|
-
function Wr() {
|
|
809
|
-
I.value = null, j.value = null, M.value = null, On.value = !1;
|
|
810
|
-
}
|
|
811
|
-
function Gr(e) {
|
|
812
|
-
if (!Wn.value || $.value || document.activeElement !== Wn.value || !X.value.length) return;
|
|
813
|
-
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
814
|
-
if (!t && !n && !r && !i) return;
|
|
815
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
816
|
-
I.value = null, j.value = null, M.value = null;
|
|
817
|
-
return;
|
|
818
|
-
}
|
|
819
|
-
if (r) {
|
|
820
|
-
if (I.value === null) return;
|
|
821
|
-
let e = X.value[I.value];
|
|
822
|
-
if (!e) return;
|
|
823
|
-
pr(e, I.value);
|
|
824
|
-
return;
|
|
825
|
-
}
|
|
826
|
-
let a = I.value, o = j.value, s = a !== null && a >= 0 && a < X.value.length, c = o !== null && o >= 0 && o < X.value.length;
|
|
827
|
-
s ? n ? (a += 1, a >= X.value.length && (a = 0)) : t && (--a, a < 0 && (a = X.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= X.value.length && (a = 0), a < 0 && (a = X.value.length - 1)) : a = n ? 0 : X.value.length - 1;
|
|
828
|
-
let l = X.value[a];
|
|
829
|
-
l && dr(l);
|
|
830
|
-
}
|
|
831
|
-
let Kr = d(() => ({
|
|
832
|
-
headers: Z.value?.colNames ?? [],
|
|
833
|
-
rows: Z.value?.bodyA11y ?? []
|
|
834
|
-
}));
|
|
835
|
-
return Oe({
|
|
836
|
-
getData: Sr,
|
|
837
|
-
getImage: Mr,
|
|
838
|
-
generatePdf: Jn,
|
|
839
|
-
generateCsv: Cr,
|
|
840
|
-
generateImage: Yn,
|
|
841
|
-
generateSvg: Br,
|
|
842
|
-
hideSeries: xr,
|
|
843
|
-
showSeries: br,
|
|
844
|
-
toggleTable: Tr,
|
|
845
|
-
toggleAnnotator: Er,
|
|
846
|
-
toggleFullscreen: wr,
|
|
847
|
-
copyAlt: Hr
|
|
848
|
-
}), (e, r) => (x(), m("div", {
|
|
849
|
-
ref_key: "donutEvolutionChart",
|
|
850
|
-
ref: P,
|
|
851
|
-
class: v(`vue-data-ui-component vue-ui-donut-evolution ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
852
|
-
style: b(`font-family:${L.value.style.fontFamily};width:100%; text-align:center;background:${L.value.style.chart.backgroundColor}`),
|
|
853
|
-
id: k.value,
|
|
854
|
-
onMouseenter: r[5] ||= () => E(Hn)(!0),
|
|
855
|
-
onMouseleave: r[6] ||= () => E(Hn)(!1)
|
|
856
|
-
}, [
|
|
857
|
-
h("div", {
|
|
858
|
-
id: `chart-instructions-${k.value}`,
|
|
859
|
-
class: "sr-only"
|
|
860
|
-
}, [h("p", null, T(L.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
|
|
861
|
-
Kr.value?.rows?.length ? (x(), f(Me, {
|
|
862
|
-
key: 0,
|
|
863
|
-
uid: k.value,
|
|
864
|
-
head: Kr.value.headers,
|
|
865
|
-
body: Kr.value.rows,
|
|
866
|
-
notice: L.value.a11y.translations.tableAvailable,
|
|
867
|
-
caption: L.value.a11y.translations.tableCaption
|
|
868
|
-
}, null, 8, [
|
|
869
|
-
"uid",
|
|
870
|
-
"head",
|
|
871
|
-
"body",
|
|
872
|
-
"notice",
|
|
873
|
-
"caption"
|
|
874
|
-
])) : p("", !0),
|
|
875
|
-
L.value.userOptions.buttons.annotator ? (x(), f(E(Xt), {
|
|
876
|
-
key: 1,
|
|
877
|
-
svgRef: E(Wn),
|
|
878
|
-
backgroundColor: L.value.style.chart.backgroundColor,
|
|
879
|
-
color: L.value.style.chart.color,
|
|
880
|
-
active: $.value,
|
|
881
|
-
isCursorPointer: R.value,
|
|
882
|
-
onClose: Er
|
|
883
|
-
}, {
|
|
884
|
-
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
885
|
-
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
886
|
-
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
|
|
887
|
-
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
|
|
888
|
-
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
|
|
889
|
-
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
|
|
890
|
-
_: 3
|
|
891
|
-
}, 8, [
|
|
892
|
-
"svgRef",
|
|
893
|
-
"backgroundColor",
|
|
894
|
-
"color",
|
|
895
|
-
"active",
|
|
896
|
-
"isCursorPointer"
|
|
897
|
-
])) : p("", !0),
|
|
898
|
-
Xn.value ? (x(), m("div", {
|
|
899
|
-
key: 2,
|
|
900
|
-
ref_key: "noTitle",
|
|
901
|
-
ref: an,
|
|
902
|
-
class: "vue-data-ui-no-title-space",
|
|
903
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
904
|
-
}, null, 512)) : p("", !0),
|
|
905
|
-
L.value.style.chart.title.text ? (x(), m("div", {
|
|
906
|
-
key: 3,
|
|
907
|
-
ref_key: "chartTitle",
|
|
908
|
-
ref: yn,
|
|
909
|
-
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
910
|
-
onMouseleave: ur
|
|
911
|
-
}, [(x(), f(De, {
|
|
912
|
-
key: `title_${cn.value}`,
|
|
913
|
-
config: {
|
|
914
|
-
title: {
|
|
915
|
-
cy: "donut-evolution-div-title",
|
|
916
|
-
...L.value.style.chart.title
|
|
917
|
-
},
|
|
918
|
-
subtitle: {
|
|
919
|
-
cy: "donut-evolution-div-subtitle",
|
|
920
|
-
...L.value.style.chart.title.subtitle
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
}, null, 8, ["config"]))], 544)) : p("", !0),
|
|
924
|
-
h("div", { id: `legend-top-${k.value}` }, null, 8, et),
|
|
925
|
-
L.value.userOptions.show && An.value && (E(Un) || E(Vn)) ? (x(), f(E(Zt), {
|
|
926
|
-
ref_key: "userOptionsRef",
|
|
927
|
-
ref: gn,
|
|
928
|
-
key: `user_options_${on.value}`,
|
|
929
|
-
backgroundColor: L.value.style.chart.backgroundColor,
|
|
930
|
-
color: L.value.style.chart.color,
|
|
931
|
-
isPrinting: E(Kn),
|
|
932
|
-
isImaging: E(qn),
|
|
933
|
-
uid: k.value,
|
|
934
|
-
hasPdf: L.value.userOptions.buttons.pdf,
|
|
935
|
-
hasImg: L.value.userOptions.buttons.img,
|
|
936
|
-
hasSvg: L.value.userOptions.buttons.svg,
|
|
937
|
-
hasXls: L.value.userOptions.buttons.csv,
|
|
938
|
-
hasTable: L.value.userOptions.buttons.table,
|
|
939
|
-
hasFullscreen: L.value.userOptions.buttons.fullscreen,
|
|
940
|
-
hasAltCopy: L.value.userOptions.buttons.altCopy,
|
|
941
|
-
isFullscreen: Q.value,
|
|
942
|
-
titles: { ...L.value.userOptions.buttonTitles },
|
|
943
|
-
chartElement: P.value,
|
|
944
|
-
position: L.value.userOptions.position,
|
|
945
|
-
hasAnnotator: L.value.userOptions.buttons.annotator,
|
|
946
|
-
isAnnotation: $.value,
|
|
947
|
-
callbacks: L.value.userOptions.callbacks,
|
|
948
|
-
printScale: L.value.userOptions.print.scale,
|
|
949
|
-
tableDialog: L.value.table.useDialog,
|
|
950
|
-
isCursorPointer: R.value,
|
|
951
|
-
onToggleFullscreen: wr,
|
|
952
|
-
onGeneratePdf: E(Jn),
|
|
953
|
-
onGenerateCsv: Cr,
|
|
954
|
-
onGenerateImage: Vr,
|
|
955
|
-
onGenerateSvg: Br,
|
|
956
|
-
onToggleTable: Tr,
|
|
957
|
-
onToggleAnnotator: Er,
|
|
958
|
-
onCopyAlt: Hr,
|
|
959
|
-
style: b({ visibility: E(Un) ? E(Vn) ? "visible" : "hidden" : "visible" })
|
|
960
|
-
}, ze({ _: 2 }, [
|
|
961
|
-
e.$slots.menuIcon ? {
|
|
962
|
-
name: "menuIcon",
|
|
963
|
-
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
|
|
964
|
-
isOpen: t,
|
|
965
|
-
color: n
|
|
966
|
-
})), void 0, !0)]),
|
|
967
|
-
key: "0"
|
|
968
|
-
} : void 0,
|
|
969
|
-
e.$slots.optionPdf ? {
|
|
970
|
-
name: "optionPdf",
|
|
971
|
-
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
972
|
-
key: "1"
|
|
973
|
-
} : void 0,
|
|
974
|
-
e.$slots.optionCsv ? {
|
|
975
|
-
name: "optionCsv",
|
|
976
|
-
fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
977
|
-
key: "2"
|
|
978
|
-
} : void 0,
|
|
979
|
-
e.$slots.optionImg ? {
|
|
980
|
-
name: "optionImg",
|
|
981
|
-
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
982
|
-
key: "3"
|
|
983
|
-
} : void 0,
|
|
984
|
-
e.$slots.optionSvg ? {
|
|
985
|
-
name: "optionSvg",
|
|
986
|
-
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
987
|
-
key: "4"
|
|
988
|
-
} : void 0,
|
|
989
|
-
e.$slots.optionTable ? {
|
|
990
|
-
name: "optionTable",
|
|
991
|
-
fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
992
|
-
key: "5"
|
|
993
|
-
} : void 0,
|
|
994
|
-
e.$slots.optionFullscreen ? {
|
|
995
|
-
name: "optionFullscreen",
|
|
996
|
-
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
|
|
997
|
-
toggleFullscreen: t,
|
|
998
|
-
isFullscreen: n
|
|
999
|
-
})), void 0, !0)]),
|
|
1000
|
-
key: "6"
|
|
1001
|
-
} : void 0,
|
|
1002
|
-
e.$slots.optionAnnotator ? {
|
|
1003
|
-
name: "optionAnnotator",
|
|
1004
|
-
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
|
|
1005
|
-
toggleAnnotator: t,
|
|
1006
|
-
isAnnotator: n
|
|
1007
|
-
})), void 0, !0)]),
|
|
1008
|
-
key: "7"
|
|
1009
|
-
} : void 0,
|
|
1010
|
-
e.$slots.optionAltCopy ? {
|
|
1011
|
-
name: "optionAltCopy",
|
|
1012
|
-
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
|
|
1013
|
-
key: "8"
|
|
1014
|
-
} : void 0,
|
|
1015
|
-
e.$slots["custom-menu-before"] ? {
|
|
1016
|
-
name: "custom-menu-before",
|
|
1017
|
-
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1018
|
-
key: "9"
|
|
1019
|
-
} : void 0,
|
|
1020
|
-
e.$slots["custom-menu-after"] ? {
|
|
1021
|
-
name: "custom-menu-after",
|
|
1022
|
-
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1023
|
-
key: "10"
|
|
1024
|
-
} : void 0
|
|
1025
|
-
]), 1032, [
|
|
1026
|
-
"backgroundColor",
|
|
1027
|
-
"color",
|
|
1028
|
-
"isPrinting",
|
|
1029
|
-
"isImaging",
|
|
1030
|
-
"uid",
|
|
1031
|
-
"hasPdf",
|
|
1032
|
-
"hasImg",
|
|
1033
|
-
"hasSvg",
|
|
1034
|
-
"hasXls",
|
|
1035
|
-
"hasTable",
|
|
1036
|
-
"hasFullscreen",
|
|
1037
|
-
"hasAltCopy",
|
|
1038
|
-
"isFullscreen",
|
|
1039
|
-
"titles",
|
|
1040
|
-
"chartElement",
|
|
1041
|
-
"position",
|
|
1042
|
-
"hasAnnotator",
|
|
1043
|
-
"isAnnotation",
|
|
1044
|
-
"callbacks",
|
|
1045
|
-
"printScale",
|
|
1046
|
-
"tableDialog",
|
|
1047
|
-
"isCursorPointer",
|
|
1048
|
-
"onGeneratePdf",
|
|
1049
|
-
"style"
|
|
1050
|
-
])) : p("", !0),
|
|
1051
|
-
h("div", tt, [(x(), m("svg", {
|
|
1052
|
-
ref_key: "svgRef",
|
|
1053
|
-
ref: Wn,
|
|
1054
|
-
xmlns: E(fe),
|
|
1055
|
-
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1056
|
-
class: v({
|
|
1057
|
-
"vue-data-ui-fullscreen--on": Q.value,
|
|
1058
|
-
"vue-data-ui-fulscreen--off": !Q.value
|
|
1059
|
-
}),
|
|
1060
|
-
viewBox: `0 0 ${W.value.absoluteWidth} ${W.value.absoluteHeight}`,
|
|
1061
|
-
style: b(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color};`),
|
|
1062
|
-
tabindex: "0",
|
|
1063
|
-
onFocus: Ur,
|
|
1064
|
-
onBlur: Wr,
|
|
1065
|
-
onKeydown: Gr
|
|
1066
|
-
}, [
|
|
1067
|
-
Ve(E(Yt)),
|
|
1068
|
-
e.$slots["chart-background"] ? (x(), m("foreignObject", {
|
|
1069
|
-
key: 0,
|
|
1070
|
-
x: W.value.left,
|
|
1071
|
-
y: W.value.top,
|
|
1072
|
-
width: W.value.width,
|
|
1073
|
-
height: W.value.height,
|
|
1074
|
-
style: { pointerEvents: "none" }
|
|
1075
|
-
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : p("", !0),
|
|
1076
|
-
h("defs", null, [h("linearGradient", {
|
|
1077
|
-
id: `hover_${k.value}`,
|
|
1078
|
-
x1: "0%",
|
|
1079
|
-
y1: "0%",
|
|
1080
|
-
x2: "0%",
|
|
1081
|
-
y2: "100%"
|
|
1082
|
-
}, [h("stop", {
|
|
1083
|
-
offset: "0%",
|
|
1084
|
-
"stop-color": E(se)(L.value.style.chart.backgroundColor, L.value.style.chart.layout.highlighter.opacity)
|
|
1085
|
-
}, null, 8, at), h("stop", {
|
|
1086
|
-
offset: "100%",
|
|
1087
|
-
"stop-color": E(se)(L.value.style.chart.layout.highlighter.color, L.value.style.chart.layout.highlighter.opacity)
|
|
1088
|
-
}, null, 8, ot)], 8, it), h("radialGradient", { id: `focus_${k.value}` }, [
|
|
1089
|
-
h("stop", {
|
|
1090
|
-
offset: "0%",
|
|
1091
|
-
"stop-color": E(se)(E(he)(L.value.style.chart.backgroundColor), 0)
|
|
1092
|
-
}, null, 8, ct),
|
|
1093
|
-
h("stop", {
|
|
1094
|
-
offset: "77%",
|
|
1095
|
-
"stop-color": E(se)("#FFFFFF", 30)
|
|
1096
|
-
}, null, 8, lt),
|
|
1097
|
-
h("stop", {
|
|
1098
|
-
offset: "100%",
|
|
1099
|
-
"stop-color": E(se)(E(he)(L.value.style.chart.backgroundColor), 0)
|
|
1100
|
-
}, null, 8, ut)
|
|
1101
|
-
], 8, st)]),
|
|
1102
|
-
L.value.style.chart.layout.grid.show ? (x(), m("g", dt, [
|
|
1103
|
-
h("line", {
|
|
1104
|
-
x1: U.value ? W.value.right : W.value.left,
|
|
1105
|
-
x2: U.value ? W.value.right : W.value.left,
|
|
1106
|
-
y1: W.value.top,
|
|
1107
|
-
y2: W.value.top + W.value.height,
|
|
1108
|
-
stroke: L.value.style.chart.layout.grid.stroke,
|
|
1109
|
-
"stroke-width": L.value.style.chart.layout.grid.strokeWidth,
|
|
1110
|
-
"stroke-linecap": "round"
|
|
1111
|
-
}, null, 8, ft),
|
|
1112
|
-
h("line", {
|
|
1113
|
-
x1: W.value.left,
|
|
1114
|
-
x2: W.value.right,
|
|
1115
|
-
y1: W.value.bottom,
|
|
1116
|
-
y2: W.value.bottom,
|
|
1117
|
-
stroke: L.value.style.chart.layout.grid.stroke,
|
|
1118
|
-
"stroke-width": L.value.style.chart.layout.grid.strokeWidth,
|
|
1119
|
-
"stroke-linecap": "round"
|
|
1120
|
-
}, null, 8, pt),
|
|
1121
|
-
L.value.style.chart.layout.grid.showVerticalLines ? (x(), m("g", mt, [(x(!0), m(u, null, C(B.value.end - B.value.start, (e, t) => (x(), m("line", {
|
|
1122
|
-
x1: W.value.left + (t + 1) * J.value,
|
|
1123
|
-
x2: W.value.left + (t + 1) * J.value,
|
|
1124
|
-
y1: W.value.top,
|
|
1125
|
-
y2: W.value.bottom,
|
|
1126
|
-
stroke: L.value.style.chart.layout.grid.stroke,
|
|
1127
|
-
"stroke-width": L.value.style.chart.layout.grid.strokeWidth,
|
|
1128
|
-
"stroke-linecap": "round"
|
|
1129
|
-
}, null, 8, ht))), 256))])) : p("", !0)
|
|
1130
|
-
])) : p("", !0),
|
|
1131
|
-
h("g", null, [L.value.style.chart.layout.grid.axis.yLabel ? (x(), m("text", {
|
|
1132
|
-
key: 0,
|
|
1133
|
-
ref_key: "yAxisLabel",
|
|
1134
|
-
ref: mn,
|
|
1135
|
-
"font-size": L.value.style.chart.layout.grid.axis.fontSize,
|
|
1136
|
-
fill: L.value.style.chart.layout.grid.axis.color,
|
|
1137
|
-
transform: `translate(${U.value ? W.value.absoluteWidth - L.value.style.chart.layout.grid.axis.fontSize / 2 - L.value.style.chart.layout.grid.axis.yLabelOffsetX : L.value.style.chart.layout.grid.axis.fontSize}, ${W.value.top + W.value.height / 2}) rotate(-90)`,
|
|
1138
|
-
"text-anchor": "middle",
|
|
1139
|
-
style: { transition: "none" }
|
|
1140
|
-
}, T(L.value.style.chart.layout.grid.axis.yLabel), 9, gt)) : p("", !0), L.value.style.chart.layout.grid.axis.xLabel ? (x(), m("text", {
|
|
1141
|
-
key: 1,
|
|
1142
|
-
ref_key: "xAxisLabel",
|
|
1143
|
-
ref: pn,
|
|
1144
|
-
"text-anchor": "middle",
|
|
1145
|
-
x: W.value.absoluteWidth / 2,
|
|
1146
|
-
y: W.value.absoluteHeight - 3,
|
|
1147
|
-
"font-size": L.value.style.chart.layout.grid.axis.fontSize,
|
|
1148
|
-
fill: L.value.style.chart.layout.grid.axis.color
|
|
1149
|
-
}, T(L.value.style.chart.layout.grid.axis.xLabel), 9, _t)) : p("", !0)]),
|
|
1150
|
-
L.value.style.chart.layout.grid.yAxis.dataLabels.show ? (x(), m("g", {
|
|
1151
|
-
key: 2,
|
|
1152
|
-
ref_key: "scaleLabels",
|
|
1153
|
-
ref: dn,
|
|
1154
|
-
class: v({
|
|
1155
|
-
"donut-opacity": !0,
|
|
1156
|
-
"donut-behind": j.value !== null
|
|
1157
|
-
})
|
|
1158
|
-
}, [(x(!0), m(u, null, C(sr.value, (e, t) => (x(), m("g", null, [e.value >= Y.value.min && e.value <= Y.value.max ? (x(), m("line", {
|
|
1159
|
-
key: 0,
|
|
1160
|
-
x1: U.value ? W.value.right : W.value.left,
|
|
1161
|
-
x2: U.value ? W.value.right + 5 : W.value.left - 5,
|
|
1162
|
-
y1: e.y,
|
|
1163
|
-
y2: e.y,
|
|
1164
|
-
stroke: L.value.style.chart.layout.grid.stroke,
|
|
1165
|
-
"stroke-width": L.value.style.chart.layout.grid.strokeWidth
|
|
1166
|
-
}, null, 8, vt)) : p("", !0), e.value >= Y.value.min && e.value <= Y.value.max ? (x(), m("text", {
|
|
1167
|
-
key: 1,
|
|
1168
|
-
x: U.value ? W.value.right - L.value.style.chart.layout.grid.yAxis.dataLabels.offsetX + 7 : W.value.left + L.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
|
|
1169
|
-
y: e.y + L.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
|
|
1170
|
-
"font-size": L.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,
|
|
1171
|
-
"text-anchor": U.value ? "start" : "end",
|
|
1172
|
-
fill: L.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
1173
|
-
"font-weight": L.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
1174
|
-
}, T(E(te)(e.value) ? E(oe)(L.value.style.chart.layout.dataLabels.formatter, e.value, E(n)({
|
|
1175
|
-
p: L.value.style.chart.layout.dataLabels.prefix,
|
|
1176
|
-
v: e.value,
|
|
1177
|
-
s: L.value.style.chart.layout.dataLabels.suffix,
|
|
1178
|
-
r: L.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
1179
|
-
}), {
|
|
1180
|
-
datapoint: e,
|
|
1181
|
-
seriesIndex: t
|
|
1182
|
-
}) : ""), 9, yt)) : p("", !0)]))), 256))], 2)) : p("", !0),
|
|
1183
|
-
L.value.style.chart.layout.grid.xAxis.dataLabels.show ? (x(), m("g", {
|
|
1184
|
-
key: 3,
|
|
1185
|
-
ref_key: "timeLabelsEls",
|
|
1186
|
-
ref: fn,
|
|
1187
|
-
class: v({ "donut-opacity": !0 })
|
|
1188
|
-
}, [(x(!0), m(u, null, C(B.value.end - B.value.start, (e, n) => (x(), m("g", null, [(L.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n === K.value - 1) || !L.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && q.value[n] && q.value[n].text ? (x(), m("g", bt, [String(q.value[n].text).includes("\n") ? (x(), m("text", {
|
|
1189
|
-
key: 1,
|
|
1190
|
-
class: "vue-data-ui-time-label",
|
|
1191
|
-
"text-anchor": L.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : L.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
1192
|
-
"font-size": L.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
1193
|
-
fill: L.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
1194
|
-
transform: `translate(${W.value.left + J.value * n + J.value / 2}, ${W.value.bottom + L.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + L.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${L.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
|
|
1195
|
-
innerHTML: E(t)({
|
|
1196
|
-
content: String(q.value[n].text),
|
|
1197
|
-
fontSize: L.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
1198
|
-
fill: L.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
1199
|
-
x: 0,
|
|
1200
|
-
y: 0
|
|
1201
|
-
})
|
|
1202
|
-
}, null, 8, St)) : (x(), m("text", {
|
|
1203
|
-
key: 0,
|
|
1204
|
-
class: "vue-data-ui-time-label",
|
|
1205
|
-
"text-anchor": L.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : L.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
1206
|
-
"font-size": L.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
1207
|
-
fill: L.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
1208
|
-
transform: `translate(${W.value.left + J.value * n + J.value / 2}, ${W.value.bottom + L.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + L.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${L.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
1209
|
-
}, T(q.value[n].text || ""), 9, xt))])) : p("", !0)]))), 256))], 512)) : p("", !0),
|
|
1210
|
-
(x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", null, [L.value.style.chart.layout.line.show && t < X.value.length - 1 && ![e.subtotal, X.value[t + 1].subtotal].includes(null) ? (x(), m("line", {
|
|
1211
|
-
key: 0,
|
|
1212
|
-
class: v({
|
|
1213
|
-
"donut-opacity": !0,
|
|
1214
|
-
"donut-behind": j.value !== null
|
|
1215
|
-
}),
|
|
1216
|
-
x1: e.x,
|
|
1217
|
-
y1: e.y,
|
|
1218
|
-
x2: X.value[t + 1].x,
|
|
1219
|
-
y2: X.value[t + 1].y,
|
|
1220
|
-
stroke: L.value.style.chart.layout.line.stroke,
|
|
1221
|
-
"stroke-width": L.value.style.chart.layout.line.strokeWidth,
|
|
1222
|
-
"stroke-linecap": "round",
|
|
1223
|
-
"stroke-linejoin": "round"
|
|
1224
|
-
}, null, 10, Ct)) : p("", !0), e.subtotal === null ? p("", !0) : (x(), m("g", wt, [e.subtotal ? (x(), m("circle", {
|
|
1225
|
-
key: 0,
|
|
1226
|
-
cx: e.x,
|
|
1227
|
-
cy: e.y,
|
|
1228
|
-
r: e.activeRadius,
|
|
1229
|
-
fill: L.value.style.chart.backgroundColor
|
|
1230
|
-
}, null, 8, Tt)) : p("", !0)]))]))), 256)),
|
|
1231
|
-
(x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", { class: v({
|
|
1232
|
-
"donut-opacity": !0,
|
|
1233
|
-
"donut-behind": t !== j.value && j.value !== null
|
|
1234
|
-
}) }, [e.subtotal ? (x(), m("g", Et, [j.value !== null && j.value === t ? (x(), m("g", Dt, [
|
|
1235
|
-
(x(!0), m(u, null, C(e.donutHover, (t) => (x(), m("g", null, [Dr(t) ? (x(), m("path", {
|
|
1236
|
-
key: 0,
|
|
1237
|
-
d: E(ue)(t, {
|
|
1238
|
-
x: t.center.endX,
|
|
1239
|
-
y: t.center.endY
|
|
1240
|
-
}, 12, 12, {
|
|
1241
|
-
x: e.x,
|
|
1242
|
-
y: e.y
|
|
1243
|
-
}, !1, 20),
|
|
1244
|
-
stroke: t.color,
|
|
1245
|
-
"stroke-width": "1",
|
|
1246
|
-
"stroke-linecap": "round",
|
|
1247
|
-
"stroke-linejoin": "round",
|
|
1248
|
-
fill: "none"
|
|
1249
|
-
}, null, 8, Ot)) : p("", !0)]))), 256)),
|
|
1250
|
-
(x(!0), m(u, null, C(e.donutHover, (t, n) => (x(), m("g", null, [Dr(t) ? (x(), m("text", {
|
|
1251
|
-
key: 0,
|
|
1252
|
-
"data-cy-hover-label": "",
|
|
1253
|
-
"text-anchor": E(pe)(t, !0, 0).anchor,
|
|
1254
|
-
x: E(pe)(t, !0, 9).x,
|
|
1255
|
-
y: E(re)(t, 14, 10),
|
|
1256
|
-
fill: L.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
1257
|
-
"font-size": 8,
|
|
1258
|
-
"font-weight": "bold"
|
|
1259
|
-
}, T(t.name) + ": " + T(lr(t, e.donut)) + " (" + T(t.value === null ? "-" : cr(t.value, t, n)) + ") ", 9, kt)) : p("", !0)]))), 256)),
|
|
1260
|
-
h("g", null, [h("circle", {
|
|
1261
|
-
cx: e.x,
|
|
1262
|
-
cy: e.y,
|
|
1263
|
-
r: e.hoverRadius,
|
|
1264
|
-
fill: L.value.style.chart.backgroundColor
|
|
1265
|
-
}, null, 8, At)])
|
|
1266
|
-
])) : p("", !0)])) : p("", !0)], 2))), 256)),
|
|
1267
|
-
(x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", { class: v({
|
|
1268
|
-
"donut-opacity": !0,
|
|
1269
|
-
"donut-behind": t !== j.value && j.value !== null
|
|
1270
|
-
}) }, [e.subtotal === null ? p("", !0) : (x(), m("g", jt, [e.subtotal === 0 ? (x(), m("circle", {
|
|
1271
|
-
key: 0,
|
|
1272
|
-
cx: e.x,
|
|
1273
|
-
cy: e.y,
|
|
1274
|
-
r: 3,
|
|
1275
|
-
fill: L.value.style.chart.color
|
|
1276
|
-
}, null, 8, Mt)) : j.value !== null && j.value === t ? (x(), m("g", Nt, [(x(!0), m(u, null, C(e.donutHover, (e, t) => (x(), m("path", {
|
|
1277
|
-
d: e.arcSlice,
|
|
1278
|
-
fill: `${e.color}`,
|
|
1279
|
-
"stroke-width": 1,
|
|
1280
|
-
stroke: L.value.style.chart.backgroundColor
|
|
1281
|
-
}, null, 8, Pt))), 256))])) : (x(), m("g", Ft, [(x(!0), m(u, null, C(e.donut, (e, t) => (x(), m("path", {
|
|
1282
|
-
d: e.arcSlice,
|
|
1283
|
-
fill: `${e.color}`,
|
|
1284
|
-
"stroke-width": .5,
|
|
1285
|
-
stroke: L.value.style.chart.backgroundColor
|
|
1286
|
-
}, null, 8, It))), 256))]))]))], 2))), 256)),
|
|
1287
|
-
(x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", { class: v({
|
|
1288
|
-
"donut-opacity": !0,
|
|
1289
|
-
"donut-behind": t !== j.value && j.value !== null || rn.value && t !== N.value.index
|
|
1290
|
-
}) }, [e.subtotal !== null && L.value.style.chart.layout.dataLabels.show ? (x(), m("text", {
|
|
1291
|
-
key: 0,
|
|
1292
|
-
"text-anchor": "middle",
|
|
1293
|
-
x: e.x,
|
|
1294
|
-
y: j.value === e.index && e.subtotal ? e.y + L.value.style.chart.layout.dataLabels.fontSize / 3 : e.y - e.radius - L.value.style.chart.layout.dataLabels.fontSize + L.value.style.chart.layout.dataLabels.offsetY,
|
|
1295
|
-
"font-size": L.value.style.chart.layout.dataLabels.fontSize,
|
|
1296
|
-
"font-weight": "bold",
|
|
1297
|
-
fill: L.value.style.chart.layout.dataLabels.color
|
|
1298
|
-
}, T(cr(e.subtotal, e, t)), 9, Lt)) : p("", !0)], 2))), 256)),
|
|
1299
|
-
(x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
|
|
1300
|
-
x: W.value.left + t * J.value,
|
|
1301
|
-
y: W.value.top,
|
|
1302
|
-
width: J.value,
|
|
1303
|
-
height: W.value.height,
|
|
1304
|
-
fill: [j.value, fr.value].includes(e.index) ? `url(#hover_${k.value})` : "transparent",
|
|
1305
|
-
class: v({ "donut-hover": R.value && e.subtotal && [j.value, fr.value].includes(e.index) }),
|
|
1306
|
-
style: { pointerEvents: "none" }
|
|
1307
|
-
}, null, 10, Rt))), 256)),
|
|
1308
|
-
(x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
|
|
1309
|
-
"data-cy-trap": "",
|
|
1310
|
-
x: W.value.left + t * J.value,
|
|
1311
|
-
y: W.value.top,
|
|
1312
|
-
width: J.value,
|
|
1313
|
-
height: W.value.height,
|
|
1314
|
-
fill: "transparent",
|
|
1315
|
-
onMouseenter: (t) => dr(e),
|
|
1316
|
-
onMouseleave: (t) => ur(e),
|
|
1317
|
-
onClick: (n) => pr(e, t),
|
|
1318
|
-
class: v({ "donut-hover": R.value && j.value === e.index && e.subtotal })
|
|
1319
|
-
}, null, 42, zt))), 256)),
|
|
1320
|
-
w(e.$slots, "svg", { svg: {
|
|
1321
|
-
...W.value,
|
|
1322
|
-
isPrintingImg: E(Kn) || E(qn) || _n.value,
|
|
1323
|
-
isPrintingSvg: vn.value
|
|
1324
|
-
} }, void 0, !0)
|
|
1325
|
-
], 46, nt)), e.$slots.hint ? (x(), m("div", Bt, [w(e.$slots, "hint", y(_({
|
|
1326
|
-
hint: L.value.a11y.translations.keyboardNavigation,
|
|
1327
|
-
isVisible: On.value
|
|
1328
|
-
})), void 0, !0)])) : p("", !0)]),
|
|
1329
|
-
e.$slots.watermark ? (x(), m("div", Vt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Kn) || E(qn) || _n.value || vn.value })), void 0, !0)])) : p("", !0),
|
|
1330
|
-
h("div", {
|
|
1331
|
-
ref_key: "chartSlicer",
|
|
1332
|
-
ref: Cn,
|
|
1333
|
-
style: b(`width:100%;background:${L.value.style.chart.backgroundColor}`),
|
|
1334
|
-
"data-dom-to-png-ignore": ""
|
|
1335
|
-
}, [K.value > 1 && L.value.style.chart.zoom.show ? (x(), f(Le, {
|
|
1336
|
-
ref_key: "slicerComponent",
|
|
1337
|
-
ref: Sn,
|
|
1338
|
-
key: `slicer_${sn.value}`,
|
|
1339
|
-
background: L.value.style.chart.zoom.color,
|
|
1340
|
-
borderColor: L.value.style.chart.backgroundColor,
|
|
1341
|
-
fontSize: L.value.style.chart.zoom.fontSize,
|
|
1342
|
-
useResetSlot: L.value.style.chart.zoom.useResetSlot,
|
|
1343
|
-
labelLeft: q.value[0] ? q.value[0].text : "",
|
|
1344
|
-
labelRight: q.value.at(-1) ? q.value.at(-1).text : "",
|
|
1345
|
-
textColor: L.value.style.chart.color,
|
|
1346
|
-
inputColor: L.value.style.chart.zoom.color,
|
|
1347
|
-
selectColor: L.value.style.chart.zoom.highlightColor,
|
|
1348
|
-
max: K.value,
|
|
1349
|
-
min: 0,
|
|
1350
|
-
valueStart: B.value.start,
|
|
1351
|
-
valueEnd: B.value.end,
|
|
1352
|
-
start: B.value.start,
|
|
1353
|
-
"onUpdate:start": r[0] ||= (e) => B.value.start = e,
|
|
1354
|
-
end: B.value.end,
|
|
1355
|
-
"onUpdate:end": r[1] ||= (e) => B.value.end = e,
|
|
1356
|
-
refreshStartPoint: L.value.style.chart.zoom.startIndex === null ? 0 : L.value.style.chart.zoom.startIndex,
|
|
1357
|
-
refreshEndPoint: L.value.style.chart.zoom.endIndex === null ? K.value : L.value.style.chart.zoom.endIndex + 1,
|
|
1358
|
-
enableRangeHandles: L.value.style.chart.zoom.enableRangeHandles,
|
|
1359
|
-
enableSelectionDrag: L.value.style.chart.zoom.enableSelectionDrag,
|
|
1360
|
-
focusOnDrag: L.value.style.chart.zoom.focusOnDrag,
|
|
1361
|
-
focusRangeRatio: L.value.style.chart.zoom.focusRangeRatio,
|
|
1362
|
-
isCursorPointer: R.value,
|
|
1363
|
-
maxWidth: L.value.style.chart.zoom.maxWidth,
|
|
1364
|
-
onReset: Rn
|
|
1365
|
-
}, {
|
|
1366
|
-
"reset-action": D(({ reset: t }) => [w(e.$slots, "reset-action", y(_({ reset: t })), void 0, !0)]),
|
|
1367
|
-
_: 3
|
|
1368
|
-
}, 8, [
|
|
1369
|
-
"background",
|
|
1370
|
-
"borderColor",
|
|
1371
|
-
"fontSize",
|
|
1372
|
-
"useResetSlot",
|
|
1373
|
-
"labelLeft",
|
|
1374
|
-
"labelRight",
|
|
1375
|
-
"textColor",
|
|
1376
|
-
"inputColor",
|
|
1377
|
-
"selectColor",
|
|
1378
|
-
"max",
|
|
1379
|
-
"valueStart",
|
|
1380
|
-
"valueEnd",
|
|
1381
|
-
"start",
|
|
1382
|
-
"end",
|
|
1383
|
-
"refreshStartPoint",
|
|
1384
|
-
"refreshEndPoint",
|
|
1385
|
-
"enableRangeHandles",
|
|
1386
|
-
"enableSelectionDrag",
|
|
1387
|
-
"focusOnDrag",
|
|
1388
|
-
"focusRangeRatio",
|
|
1389
|
-
"isCursorPointer",
|
|
1390
|
-
"maxWidth"
|
|
1391
|
-
])) : p("", !0)], 4),
|
|
1392
|
-
h("div", { id: `legend-bottom-${k.value}` }, null, 8, Ht),
|
|
1393
|
-
hn.value && (L.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Re, {
|
|
1394
|
-
key: 6,
|
|
1395
|
-
to: L.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
1396
|
-
}, [h("div", {
|
|
1397
|
-
ref_key: "chartLegend",
|
|
1398
|
-
ref: bn
|
|
1399
|
-
}, [w(e.$slots, "legend", { legend: mr.value }, () => [L.value.style.chart.legend.show ? (x(), f(Fe, {
|
|
1400
|
-
key: `legend_${un.value}`,
|
|
1401
|
-
legendSet: mr.value,
|
|
1402
|
-
config: gr.value,
|
|
1403
|
-
onClickMarker: r[2] ||= ({ legend: e }) => vr(e.uid)
|
|
1404
|
-
}, {
|
|
1405
|
-
item: D(({ legend: e, index: t }) => [h("div", {
|
|
1406
|
-
onClick: (t) => vr(e.uid),
|
|
1407
|
-
style: b(`opacity:${A.value.includes(e.uid) ? .5 : 1}`)
|
|
1408
|
-
}, T(e.display), 13, Ut)]),
|
|
1409
|
-
legendToggle: D(() => [mr.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !E(Pn) ? (x(), f(je, {
|
|
1410
|
-
key: 0,
|
|
1411
|
-
backgroundColor: L.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1412
|
-
color: L.value.style.chart.legend.selectAllToggle.color,
|
|
1413
|
-
fontSize: L.value.style.chart.legend.fontSize,
|
|
1414
|
-
checked: A.value.length > 0,
|
|
1415
|
-
onToggle: _r
|
|
1416
|
-
}, null, 8, [
|
|
1417
|
-
"backgroundColor",
|
|
1418
|
-
"color",
|
|
1419
|
-
"fontSize",
|
|
1420
|
-
"checked"
|
|
1421
|
-
])) : p("", !0)]),
|
|
1422
|
-
_: 1
|
|
1423
|
-
}, 8, ["legendSet", "config"])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
|
|
1424
|
-
e.$slots.source ? (x(), m("div", {
|
|
1425
|
-
key: 7,
|
|
1426
|
-
ref_key: "source",
|
|
1427
|
-
ref: xn,
|
|
1428
|
-
dir: "auto"
|
|
1429
|
-
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1430
|
-
An.value && L.value.userOptions.buttons.table ? (x(), f(Ke(Nr.value.component), He({ key: 8 }, Nr.value.props, {
|
|
1431
|
-
ref_key: "tableUnit",
|
|
1432
|
-
ref: F,
|
|
1433
|
-
onClose: Pr
|
|
1434
|
-
}), ze({
|
|
1435
|
-
content: D(() => [(x(), f(E(Jt), {
|
|
1436
|
-
key: `table_${ln.value}`,
|
|
1437
|
-
colNames: Z.value.colNames,
|
|
1438
|
-
head: Z.value.head,
|
|
1439
|
-
body: Z.value.body,
|
|
1440
|
-
config: Z.value.config,
|
|
1441
|
-
title: L.value.table.useDialog ? "" : Nr.value.title,
|
|
1442
|
-
withCloseButton: !L.value.table.useDialog,
|
|
1443
|
-
isCursorPointer: R.value,
|
|
1444
|
-
onClose: Pr
|
|
1445
|
-
}, {
|
|
1446
|
-
th: D(({ th: e }) => [Be(T(e.name ?? e), 1)]),
|
|
1447
|
-
td: D(({ td: e }) => [e.value === null ? (x(), m("span", Wt, "-")) : (x(), m("b", Gt, T(isNaN(e.value) ? "" : L.value.style.chart.layout.dataLabels.prefix) + T(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(L.value.table.td.roundingValue)).toLocaleString() : e) + T(isNaN(e.value) ? "" : L.value.style.chart.layout.dataLabels.suffix), 1)), h("span", null, T(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(L.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
|
|
1448
|
-
_: 1
|
|
1449
|
-
}, 8, [
|
|
1450
|
-
"colNames",
|
|
1451
|
-
"head",
|
|
1452
|
-
"body",
|
|
1453
|
-
"config",
|
|
1454
|
-
"title",
|
|
1455
|
-
"withCloseButton",
|
|
1456
|
-
"isCursorPointer"
|
|
1457
|
-
]))]),
|
|
1458
|
-
_: 2
|
|
1459
|
-
}, [L.value.table.useDialog ? {
|
|
1460
|
-
name: "title",
|
|
1461
|
-
fn: D(() => [Be(T(Nr.value.title), 1)]),
|
|
1462
|
-
key: "0"
|
|
1463
|
-
} : void 0, L.value.table.useDialog ? {
|
|
1464
|
-
name: "actions",
|
|
1465
|
-
fn: D(() => [h("button", {
|
|
1466
|
-
tabindex: "0",
|
|
1467
|
-
class: "vue-ui-user-options-button",
|
|
1468
|
-
onClick: r[3] ||= (e) => Cr(L.value.userOptions.callbacks.csv),
|
|
1469
|
-
style: b({ cursor: R.value ? "cursor" : "default" })
|
|
1470
|
-
}, [Ve(E(qt), {
|
|
1471
|
-
name: "fileCsv",
|
|
1472
|
-
stroke: Nr.value.props.color
|
|
1473
|
-
}, null, 8, ["stroke"])], 4)]),
|
|
1474
|
-
key: "1"
|
|
1475
|
-
} : void 0]), 1040)) : p("", !0),
|
|
1476
|
-
L.value.style.chart.dialog.show ? (x(), f(E($t), {
|
|
1477
|
-
key: 9,
|
|
1478
|
-
ref_key: "dialog",
|
|
1479
|
-
ref: Ar,
|
|
1480
|
-
onClose: r[4] ||= (e) => {
|
|
1481
|
-
N.value = null, rn.value = !1, M.value = null, j.value = null, fr.value = null;
|
|
1482
|
-
},
|
|
1483
|
-
backgroundColor: L.value.style.chart.dialog.backgroundColor,
|
|
1484
|
-
color: L.value.style.chart.dialog.color,
|
|
1485
|
-
headerBg: L.value.style.chart.dialog.header.backgroundColor,
|
|
1486
|
-
headerColor: L.value.style.chart.dialog.header.color,
|
|
1487
|
-
isFullscreen: Q.value,
|
|
1488
|
-
fullscreenParent: P.value
|
|
1489
|
-
}, {
|
|
1490
|
-
title: D(() => [Be(T(q.value[Number(N.value.index)] ? q.value[Number(N.value.index)].text : ""), 1)]),
|
|
1491
|
-
content: D(() => [N.value ? (x(), f(E(Qt), {
|
|
1492
|
-
key: 0,
|
|
1493
|
-
config: kr.value,
|
|
1494
|
-
dataset: Or.value
|
|
1495
|
-
}, null, 8, ["config", "dataset"])) : p("", !0)]),
|
|
1496
|
-
_: 1
|
|
1497
|
-
}, 8, [
|
|
1498
|
-
"backgroundColor",
|
|
1499
|
-
"color",
|
|
1500
|
-
"headerBg",
|
|
1501
|
-
"headerColor",
|
|
1502
|
-
"isFullscreen",
|
|
1503
|
-
"fullscreenParent"
|
|
1504
|
-
])) : p("", !0),
|
|
1505
|
-
E(Pn) ? (x(), f(xe, { key: 10 })) : p("", !0)
|
|
1506
|
-
], 46, Qe));
|
|
1507
|
-
}
|
|
1508
|
-
}, [["__scopeId", "data-v-63ca0b0c"]]);
|
|
1509
|
-
//#endregion
|
|
1510
|
-
export { Ze as n, Kt as t };
|