vue-data-ui 3.19.9 → 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/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-Dl9W5zJD.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 +20 -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-nsosW-n5.js → vue-data-ui-qpQv-4uP.js} +69 -69
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CTvvvgBE.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-LQuPTOlm.js → vue-ui-bump-DVaqtZbd.js} +260 -260
- package/dist/{vue-ui-candlestick-BeO06tlH.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-DyTYvEg3.js → vue-ui-circle-pack-B1CpTtpw.js} +51 -51
- package/dist/{vue-ui-cursor-C5_wkWul.js → vue-ui-cursor-NaTj5i2-.js} +6 -6
- package/dist/{vue-ui-dag-mH0baWM3.js → vue-ui-dag-DH4ocx0S.js} +46 -46
- package/dist/{vue-ui-dashboard-F7pEuJDh.js → vue-ui-dashboard-Ckff1yim.js} +73 -73
- package/dist/{vue-ui-digits-BYBtwXy_.js → vue-ui-digits-DwLlJqbW.js} +6 -6
- package/dist/vue-ui-donut-DQdIdwRU.js +2410 -0
- package/dist/{vue-ui-donut-evolution-C46h0gLy.js → vue-ui-donut-evolution-MfM5kK6w.js} +417 -417
- package/dist/vue-ui-dumbbell-B2T4vlK-.js +1530 -0
- package/dist/{vue-ui-flow-BYYyk5KL.js → vue-ui-flow-CJh6f72m.js} +107 -107
- package/dist/vue-ui-funnel-C9gfXNCr.js +777 -0
- package/dist/{vue-ui-galaxy-D061gTYS.js → vue-ui-galaxy-pBR_FESJ.js} +302 -302
- package/dist/vue-ui-gauge-CAemxCGl.js +920 -0
- package/dist/{vue-ui-geo-BwOMFUVr.js → vue-ui-geo-BDQqaukJ.js} +35 -35
- package/dist/{vue-ui-gizmo-CQsP8Nd3.js → vue-ui-gizmo-B1ppjqPj.js} +63 -63
- package/dist/{vue-ui-heatmap-DOsulVoP.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-CE-JFZ1o.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-B29gVcTN.js → vue-ui-mood-radar-N8osOTFR.js} +36 -36
- package/dist/vue-ui-nested-donuts-CwH3wKgX.js +1487 -0
- package/dist/{vue-ui-onion-MN-PjNJq.js → vue-ui-onion-C56gFjO6.js} +294 -294
- package/dist/{vue-ui-parallel-coordinate-plot-C9zU7MP5.js → vue-ui-parallel-coordinate-plot-C-jj819p.js} +123 -128
- package/dist/{vue-ui-pattern-seed-abRweCDE.js → vue-ui-pattern-seed-BB1honLm.js} +1 -1
- package/dist/{vue-ui-quadrant-h-QFG9O4.js → vue-ui-quadrant-DYc9xZY3.js} +443 -443
- package/dist/{vue-ui-quick-chart-PAVz4c9z.js → vue-ui-quick-chart-BG7kK_-q.js} +193 -193
- package/dist/{vue-ui-radar-D2pVd53z.js → vue-ui-radar-CgKog9Xw.js} +77 -77
- 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-DamvqiyJ.js → vue-ui-ridgeline-DPrlVJTW.js} +376 -376
- package/dist/{vue-ui-rings-DkHS5dwd.js → vue-ui-rings-CIvvHHsF.js} +107 -107
- package/dist/vue-ui-scatter-CeBQJbGx.js +2413 -0
- package/dist/{vue-ui-skeleton-zhkS1cmh.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-fQ10-UvM.js → vue-ui-spark-trend-DGOrPr9I.js} +121 -121
- package/dist/{vue-ui-sparkbar-D5toou8V.js → vue-ui-sparkbar-BVumo-YD.js} +107 -107
- package/dist/{vue-ui-sparkgauge-DRZcIPYf.js → vue-ui-sparkgauge-BoCwdQcu.js} +56 -56
- package/dist/{vue-ui-sparkhistogram-YizEqFdN.js → vue-ui-sparkhistogram-4qXY1LXW.js} +112 -112
- package/dist/vue-ui-sparkline-C0kzXrwI.js +1507 -0
- package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +662 -0
- package/dist/{vue-ui-stackbar-BFLCEsRk.js → vue-ui-stackbar-Dnq4l5xs.js} +296 -293
- package/dist/vue-ui-stackline-CaNOHQYl.js +2398 -0
- package/dist/{vue-ui-strip-plot-ByaDLFSL.js → vue-ui-strip-plot-D2CcJw_5.js} +79 -79
- package/dist/{vue-ui-table-DuA_CfGn.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-Dfei_QrJ.js → vue-ui-table-sparkline-BZDkOEEl.js} +125 -125
- package/dist/vue-ui-thermometer-BXyHOQ7T.js +763 -0
- package/dist/{vue-ui-timer-9LNNDl4q.js → vue-ui-timer-CcLK1wbi.js} +29 -29
- package/dist/{vue-ui-tiremarks-kF0Baqia.js → vue-ui-tiremarks-B6txvBg-.js} +25 -25
- package/dist/{vue-ui-treemap-BexKMBhz.js → vue-ui-treemap-O3SBpD3K.js} +416 -416
- package/dist/{vue-ui-waffle-Dq50j_uw.js → vue-ui-waffle-DN5zG3b0.js} +289 -289
- package/dist/{vue-ui-wheel-BETHlWsO.js → vue-ui-wheel-CxnJGXkX.js} +134 -134
- package/dist/{vue-ui-word-cloud-D1AQtzmT.js → vue-ui-word-cloud-CM5yPCXb.js} +54 -54
- package/dist/{vue-ui-world-CcgbuSp_.js → vue-ui-world-DCPgXKxh.js} +447 -447
- package/dist/{vue-ui-xy-canvas-4ABYnasj.js → vue-ui-xy-canvas-BUPnRZ3C.js} +89 -88
- 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-ckZtLlmH.js +0 -1238
- package/dist/vue-ui-bullet-3CkhGOSb.js +0 -710
- package/dist/vue-ui-carousel-table-nZJ1k6se.js +0 -455
- package/dist/vue-ui-chestnut-BWItE1hg.js +0 -2010
- package/dist/vue-ui-chord-YflKRyWK.js +0 -1391
- package/dist/vue-ui-donut-B3L7jeHL.js +0 -2410
- package/dist/vue-ui-dumbbell-xekp1obI.js +0 -1527
- package/dist/vue-ui-funnel-BfY509t-.js +0 -777
- package/dist/vue-ui-gauge-BRxZNBBS.js +0 -920
- package/dist/vue-ui-history-plot-CXW6lF42.js +0 -1559
- package/dist/vue-ui-horizontal-bar-CideXtlg.js +0 -1681
- package/dist/vue-ui-molecule-B1Prm5Lk.js +0 -925
- package/dist/vue-ui-nested-donuts-Bsx5f9Gv.js +0 -1487
- package/dist/vue-ui-relation-circle-BjB0J53V.js +0 -924
- package/dist/vue-ui-scatter-dFDowCVQ.js +0 -2413
- package/dist/vue-ui-sparkline-w2nclIW0.js +0 -1507
- package/dist/vue-ui-sparkstackbar-CTShNXhW.js +0 -662
- package/dist/vue-ui-stackline-CU6s-hhv.js +0 -2395
- package/dist/vue-ui-thermometer-biw3ivMI.js +0 -763
- package/dist/vue-ui-xy-BQ1YONCq.js +0 -4219
- /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,137 +1,137 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { c 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 { t as
|
|
23
|
-
import { Fragment as
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { At as t, B as n, Bt as r, Ct as i, Et as a, Ft as o, G as s, H as c, J as ee, Mt as te, Rt as ne, S as re, X as ie, _ as ae, d as oe, gt as se, h as ce, i as le, ot as ue, p as de, q as fe, t as pe, u as me, x as he, xt as ge, y as _e } from "./lib-DUeYQsS0.js";
|
|
3
|
+
import { t as ve } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
+
import { t as ye } from "./useConfig-DAyQk86L.js";
|
|
5
|
+
import { t as be } from "./usePrinter-C1Gqt_Sp.js";
|
|
6
|
+
import { n as xe, t as Se } from "./BaseScanner-Dr2a1Msy.js";
|
|
7
|
+
import { t as Ce } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
+
import { t as we } from "./useNestedProp-CNcoy38D.js";
|
|
9
|
+
import { t as Te } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as Ee } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
+
import { t as De } from "./img-1cKsci8e.js";
|
|
12
|
+
import { n as Oe } from "./Title-NWp4qB4K.js";
|
|
13
|
+
import { t as ke } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { c as Ae } from "./canvas-lib-BOP_HS11.js";
|
|
15
|
+
import { t as je } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
+
import { t as Me } from "./BaseLegendToggle-C_Db-y7s.js";
|
|
17
|
+
import { t as Ne } from "./A11yDataTable-BCbtxMU6.js";
|
|
18
|
+
import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
|
+
import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
+
import { t as Ie } from "./Legend-Cz2uQ5gs.js";
|
|
21
|
+
import { t as Le } from "./vue_ui_donut_evolution-D1yAAIHr.js";
|
|
22
|
+
import { t as Re } from "./Slicer-SHBj0VaV.js";
|
|
23
|
+
import { Fragment as l, Teleport as ze, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ue, nextTick as We, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Ge, onMounted as Ke, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as qe, shallowRef as Je, toDisplayString as w, toRefs as Ye, unref as T, watch as Xe, watchEffect as Ze, withCtx as E } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-donut-evolution.vue
|
|
25
|
-
var
|
|
25
|
+
var Qe = /* @__PURE__ */ e({ default: () => qt }), $e = ["id"], et = ["id"], tt = ["id"], nt = { style: { position: "relative" } }, rt = [
|
|
26
26
|
"xmlns",
|
|
27
27
|
"aria-describedby",
|
|
28
28
|
"viewBox"
|
|
29
|
-
],
|
|
29
|
+
], it = [
|
|
30
30
|
"x",
|
|
31
31
|
"y",
|
|
32
32
|
"width",
|
|
33
33
|
"height"
|
|
34
|
-
],
|
|
34
|
+
], at = ["id"], ot = ["stop-color"], st = ["stop-color"], ct = ["id"], lt = ["stop-color"], ut = ["stop-color"], dt = ["stop-color"], ft = { key: 1 }, pt = [
|
|
35
35
|
"x1",
|
|
36
36
|
"x2",
|
|
37
37
|
"y1",
|
|
38
38
|
"y2",
|
|
39
39
|
"stroke",
|
|
40
40
|
"stroke-width"
|
|
41
|
-
],
|
|
41
|
+
], mt = [
|
|
42
42
|
"x1",
|
|
43
43
|
"x2",
|
|
44
44
|
"y1",
|
|
45
45
|
"y2",
|
|
46
46
|
"stroke",
|
|
47
47
|
"stroke-width"
|
|
48
|
-
],
|
|
48
|
+
], ht = { key: 0 }, gt = [
|
|
49
49
|
"x1",
|
|
50
50
|
"x2",
|
|
51
51
|
"y1",
|
|
52
52
|
"y2",
|
|
53
53
|
"stroke",
|
|
54
54
|
"stroke-width"
|
|
55
|
-
],
|
|
55
|
+
], _t = [
|
|
56
56
|
"font-size",
|
|
57
57
|
"fill",
|
|
58
58
|
"transform"
|
|
59
|
-
],
|
|
59
|
+
], vt = [
|
|
60
60
|
"x",
|
|
61
61
|
"y",
|
|
62
62
|
"font-size",
|
|
63
63
|
"fill"
|
|
64
|
-
],
|
|
64
|
+
], yt = [
|
|
65
65
|
"x1",
|
|
66
66
|
"x2",
|
|
67
67
|
"y1",
|
|
68
68
|
"y2",
|
|
69
69
|
"stroke",
|
|
70
70
|
"stroke-width"
|
|
71
|
-
],
|
|
71
|
+
], bt = [
|
|
72
72
|
"x",
|
|
73
73
|
"y",
|
|
74
74
|
"font-size",
|
|
75
75
|
"text-anchor",
|
|
76
76
|
"fill",
|
|
77
77
|
"font-weight"
|
|
78
|
-
],
|
|
78
|
+
], xt = { key: 0 }, St = [
|
|
79
79
|
"text-anchor",
|
|
80
80
|
"font-size",
|
|
81
81
|
"fill",
|
|
82
82
|
"transform"
|
|
83
|
-
],
|
|
83
|
+
], Ct = [
|
|
84
84
|
"text-anchor",
|
|
85
85
|
"font-size",
|
|
86
86
|
"fill",
|
|
87
87
|
"transform",
|
|
88
88
|
"innerHTML"
|
|
89
|
-
],
|
|
89
|
+
], wt = [
|
|
90
90
|
"x1",
|
|
91
91
|
"y1",
|
|
92
92
|
"x2",
|
|
93
93
|
"y2",
|
|
94
94
|
"stroke",
|
|
95
95
|
"stroke-width"
|
|
96
|
-
],
|
|
96
|
+
], Tt = { key: 1 }, Et = [
|
|
97
97
|
"cx",
|
|
98
98
|
"cy",
|
|
99
99
|
"r",
|
|
100
100
|
"fill"
|
|
101
|
-
],
|
|
101
|
+
], Dt = { key: 0 }, Ot = { key: 0 }, kt = ["d", "stroke"], At = [
|
|
102
102
|
"text-anchor",
|
|
103
103
|
"x",
|
|
104
104
|
"y",
|
|
105
105
|
"fill"
|
|
106
|
-
],
|
|
106
|
+
], jt = [
|
|
107
107
|
"cx",
|
|
108
108
|
"cy",
|
|
109
109
|
"r",
|
|
110
110
|
"fill"
|
|
111
|
-
],
|
|
111
|
+
], Mt = { key: 0 }, Nt = [
|
|
112
112
|
"cx",
|
|
113
113
|
"cy",
|
|
114
114
|
"fill"
|
|
115
|
-
],
|
|
115
|
+
], Pt = { key: 1 }, Ft = [
|
|
116
116
|
"d",
|
|
117
117
|
"fill",
|
|
118
118
|
"stroke"
|
|
119
|
-
],
|
|
119
|
+
], It = { key: 2 }, Lt = [
|
|
120
120
|
"d",
|
|
121
121
|
"fill",
|
|
122
122
|
"stroke"
|
|
123
|
-
],
|
|
123
|
+
], Rt = [
|
|
124
124
|
"x",
|
|
125
125
|
"y",
|
|
126
126
|
"font-size",
|
|
127
127
|
"fill"
|
|
128
|
-
],
|
|
128
|
+
], zt = [
|
|
129
129
|
"x",
|
|
130
130
|
"y",
|
|
131
131
|
"width",
|
|
132
132
|
"height",
|
|
133
133
|
"fill"
|
|
134
|
-
],
|
|
134
|
+
], Bt = [
|
|
135
135
|
"x",
|
|
136
136
|
"y",
|
|
137
137
|
"width",
|
|
@@ -139,7 +139,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
139
139
|
"onMouseenter",
|
|
140
140
|
"onMouseleave",
|
|
141
141
|
"onClick"
|
|
142
|
-
],
|
|
142
|
+
], Vt = {
|
|
143
143
|
key: 0,
|
|
144
144
|
style: {
|
|
145
145
|
position: "absolute",
|
|
@@ -149,10 +149,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
149
149
|
},
|
|
150
150
|
"data-dom-to-png-ignore": "",
|
|
151
151
|
"aria-hidden": "true"
|
|
152
|
-
},
|
|
152
|
+
}, Ht = {
|
|
153
153
|
key: 5,
|
|
154
154
|
class: "vue-data-ui-watermark"
|
|
155
|
-
},
|
|
155
|
+
}, Ut = ["id"], Wt = ["onClick"], Gt = { key: 0 }, Kt = { key: 1 }, qt = /* @__PURE__ */ ke({
|
|
156
156
|
__name: "vue-ui-donut-evolution",
|
|
157
157
|
props: {
|
|
158
158
|
config: {
|
|
@@ -169,23 +169,23 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
169
169
|
}
|
|
170
170
|
},
|
|
171
171
|
emits: ["selectLegend", "copyAlt"],
|
|
172
|
-
setup(e, { expose:
|
|
173
|
-
let
|
|
174
|
-
|
|
175
|
-
|
|
172
|
+
setup(e, { expose: ke, emit: Qe }) {
|
|
173
|
+
let qt = h(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), Jt = h(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), Yt = h(() => import("./DataTable-B--IN22e.js")), Xt = h(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Zt = h(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Qt = h(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), $t = h(() => import("./vue-ui-donut-DQdIdwRU.js").then((e) => e.n)), en = h(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_donut_evolution: tn } = ye(), { isThemeValid: nn, warnInvalidTheme: rn } = Te(), D = e, O = x(c()), k = x([]), A = x(null), j = x(null), an = x(!1), M = x(null), N = x(null), on = x(null), sn = x(0), cn = x(0), ln = x(0), un = x(0), dn = x(0), fn = x(null), pn = x(null), mn = x(null), hn = x(null), gn = x(!1), P = x(null), _n = x(null), vn = x(!1), yn = x(!1), bn = x(null), xn = x(null), Sn = x(null), Cn = x(null), wn = x(null), Tn = x(!1), En = Je(null), Dn = Je(null), On = x(null), F = x(null), kn = x(!1), An = Qe, jn = u(() => !!D.dataset && D.dataset.length);
|
|
174
|
+
Ke(() => {
|
|
175
|
+
gn.value = !0, Nn();
|
|
176
176
|
});
|
|
177
|
-
let Mn =
|
|
177
|
+
let Mn = u(() => !!I.value.debug);
|
|
178
178
|
function Nn() {
|
|
179
|
-
if (
|
|
179
|
+
if (i(D.dataset) ? (ie({
|
|
180
180
|
componentName: "VueUiDonutEvolution",
|
|
181
181
|
type: "dataset",
|
|
182
182
|
debug: Mn.value
|
|
183
|
-
}), Ln.value = !0) :
|
|
184
|
-
|
|
183
|
+
}), Ln.value = !0) : D.dataset.length && D.dataset.forEach((e, t) => {
|
|
184
|
+
ue({
|
|
185
185
|
datasetObject: e,
|
|
186
186
|
requiredAttributes: ["name", "values"]
|
|
187
187
|
}).forEach((e) => {
|
|
188
|
-
|
|
188
|
+
ie({
|
|
189
189
|
componentName: "VueUiDonutEvolution",
|
|
190
190
|
type: "datasetSerieAttribute",
|
|
191
191
|
property: e,
|
|
@@ -193,13 +193,13 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
193
193
|
debug: Mn.value
|
|
194
194
|
}), Ln.value = !0;
|
|
195
195
|
});
|
|
196
|
-
}),
|
|
196
|
+
}), i(D.dataset) || (Ln.value = I.value.loading), setTimeout(() => {
|
|
197
197
|
Tn.value = !0;
|
|
198
198
|
}, 10), Bn(), I.value.responsive) {
|
|
199
|
-
let e =
|
|
199
|
+
let e = Ae(() => {
|
|
200
200
|
Tn.value = !1;
|
|
201
|
-
let { width: e, height: t } =
|
|
202
|
-
chart:
|
|
201
|
+
let { width: e, height: t } = je({
|
|
202
|
+
chart: N.value,
|
|
203
203
|
title: I.value.style.chart.title.text ? bn.value : null,
|
|
204
204
|
legend: I.value.style.chart.legend.show ? xn.value : null,
|
|
205
205
|
slicer: I.value.style.chart.zoom.show && Rn.value > 1 ? wn.value : null,
|
|
@@ -211,10 +211,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
211
211
|
}, 10);
|
|
212
212
|
});
|
|
213
213
|
});
|
|
214
|
-
En.value && (Dn.value && En.value.unobserve(Dn.value), En.value.disconnect()), En.value = new ResizeObserver(e), Dn.value =
|
|
214
|
+
En.value && (Dn.value && En.value.unobserve(Dn.value), En.value.disconnect()), En.value = new ResizeObserver(e), Dn.value = N.value.parentNode, En.value.observe(Dn.value);
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
let I =
|
|
217
|
+
let I = x(Gn()), L = u(() => I.value.userOptions.useCursorPointer), Pn = u(() => r({
|
|
218
218
|
defaultConfig: {
|
|
219
219
|
useCssAnimation: !1,
|
|
220
220
|
table: { show: !1 },
|
|
@@ -252,8 +252,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
252
252
|
} }
|
|
253
253
|
},
|
|
254
254
|
userConfig: I.value.skeletonConfig ?? {}
|
|
255
|
-
})), { loading: Fn, FINAL_DATASET: In, manualLoading: Ln } =
|
|
256
|
-
...
|
|
255
|
+
})), { loading: Fn, FINAL_DATASET: In, manualLoading: Ln } = xe({
|
|
256
|
+
...Ye(D),
|
|
257
257
|
FINAL_CONFIG: I,
|
|
258
258
|
prepareConfig: Gn,
|
|
259
259
|
callback: () => {
|
|
@@ -261,7 +261,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
261
261
|
await Bn();
|
|
262
262
|
});
|
|
263
263
|
},
|
|
264
|
-
skeletonDataset:
|
|
264
|
+
skeletonDataset: D.config?.skeletonDataset ?? [
|
|
265
265
|
{
|
|
266
266
|
name: "",
|
|
267
267
|
values: [
|
|
@@ -299,14 +299,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
299
299
|
color: "#CACACA"
|
|
300
300
|
}
|
|
301
301
|
],
|
|
302
|
-
skeletonConfig:
|
|
302
|
+
skeletonConfig: r({
|
|
303
303
|
defaultConfig: I.value,
|
|
304
304
|
userConfig: Pn.value
|
|
305
305
|
})
|
|
306
|
-
}), R =
|
|
306
|
+
}), R = x({
|
|
307
307
|
width: I.value.style.chart.layout.width,
|
|
308
308
|
height: I.value.style.chart.layout.height
|
|
309
|
-
}), Rn =
|
|
309
|
+
}), Rn = u(() => Math.max(...In.value.map((e) => e.values.length))), z = x({
|
|
310
310
|
start: 0,
|
|
311
311
|
end: Rn.value
|
|
312
312
|
});
|
|
@@ -314,7 +314,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
314
314
|
Bn();
|
|
315
315
|
}
|
|
316
316
|
async function Bn() {
|
|
317
|
-
await
|
|
317
|
+
await We(), await We();
|
|
318
318
|
let { startIndex: e, endIndex: t } = I.value.style.chart.zoom, n = Cn.value;
|
|
319
319
|
z.value = {
|
|
320
320
|
start: 0,
|
|
@@ -322,61 +322,61 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
322
322
|
}, (e != null || t != null) && n ? (e == null ? (z.value.start = 0, n.setStartValue(0)) : n.setStartValue(e), t == null ? (z.value.end = K.value, n.setEndValue(K.value)) : n.setEndValue(Vn(t + 1))) : (z.value = {
|
|
323
323
|
start: 0,
|
|
324
324
|
end: K.value
|
|
325
|
-
},
|
|
325
|
+
}, cn.value += 1);
|
|
326
326
|
}
|
|
327
327
|
function Vn(e) {
|
|
328
328
|
let t = K.value;
|
|
329
329
|
return e > t ? t : e < 0 || I.value.style.chart.zoom.startIndex !== null && e < I.value.style.chart.zoom.startIndex ? I.value.style.chart.zoom.startIndex === null ? 1 : I.value.style.chart.zoom.startIndex + 1 : e;
|
|
330
330
|
}
|
|
331
|
-
let { userOptionsVisible: Hn, setUserOptionsVisibility: Un, keepUserOptionState: Wn } =
|
|
331
|
+
let { userOptionsVisible: Hn, setUserOptionsVisibility: Un, keepUserOptionState: Wn } = Pe({ config: I.value }), { svgRef: B } = Fe({ config: I.value.style.chart.title });
|
|
332
332
|
function Gn() {
|
|
333
|
-
let e =
|
|
334
|
-
userConfig:
|
|
335
|
-
defaultConfig:
|
|
333
|
+
let e = we({
|
|
334
|
+
userConfig: D.config,
|
|
335
|
+
defaultConfig: tn
|
|
336
336
|
}), t = {}, n = e.theme;
|
|
337
|
-
if (n) if (!
|
|
337
|
+
if (n) if (!nn.value(e)) rn(e), t = e;
|
|
338
338
|
else {
|
|
339
|
-
let r =
|
|
340
|
-
userConfig:
|
|
339
|
+
let r = we({
|
|
340
|
+
userConfig: Le[n] || D.config,
|
|
341
341
|
defaultConfig: e
|
|
342
342
|
});
|
|
343
343
|
t = {
|
|
344
|
-
...
|
|
345
|
-
userConfig:
|
|
344
|
+
...we({
|
|
345
|
+
userConfig: D.config,
|
|
346
346
|
defaultConfig: r
|
|
347
347
|
}),
|
|
348
|
-
customPalette: e.customPalette ? e.customPalette :
|
|
348
|
+
customPalette: e.customPalette ? e.customPalette : ne[n] || a
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
351
|
else t = e;
|
|
352
352
|
return t;
|
|
353
353
|
}
|
|
354
|
-
|
|
355
|
-
Fn.value || (I.value = Gn()), Hn.value = !I.value.userOptions.showOnChartHover, Nn(),
|
|
356
|
-
}, { deep: !0 }),
|
|
354
|
+
Xe(() => D.config, (e) => {
|
|
355
|
+
Fn.value || (I.value = Gn()), Hn.value = !I.value.userOptions.showOnChartHover, Nn(), ln.value += 1, un.value += 1, dn.value += 1, V.value.showTable = I.value.table.show;
|
|
356
|
+
}, { deep: !0 }), Xe(() => D.dataset, (e) => {
|
|
357
357
|
Array.isArray(e) && e.length > 0 && (Ln.value = !1), zn();
|
|
358
358
|
}, { deep: !0 });
|
|
359
|
-
let { isPrinting: Kn, isImaging: qn, generatePdf: Jn, generateImage: Yn } =
|
|
360
|
-
elementId:
|
|
359
|
+
let { isPrinting: Kn, isImaging: qn, generatePdf: Jn, generateImage: Yn } = be({
|
|
360
|
+
elementId: O.value,
|
|
361
361
|
fileName: I.value.style.chart.title.text || "vue-ui-donut-evolution",
|
|
362
362
|
options: I.value.userOptions.print
|
|
363
|
-
}), Xn =
|
|
364
|
-
|
|
363
|
+
}), Xn = u(() => I.value.userOptions.show && !I.value.style.chart.title.text), Zn = u(() => he(I.value.customPalette)), V = x({ showTable: I.value.table.show });
|
|
364
|
+
Xe(I, () => {
|
|
365
365
|
V.value = { showTable: I.value.table.show };
|
|
366
366
|
}, { immediate: !0 });
|
|
367
|
-
let H =
|
|
367
|
+
let H = u(() => ({
|
|
368
368
|
top: I.value.style.chart.layout.padding.top,
|
|
369
369
|
right: I.value.style.chart.layout.padding.right,
|
|
370
370
|
bottom: I.value.style.chart.layout.padding.bottom,
|
|
371
371
|
left: I.value.style.chart.layout.padding.left
|
|
372
|
-
})), U =
|
|
372
|
+
})), U = u(() => I.value.style.chart.layout.grid.yAxis.position === "right");
|
|
373
373
|
function Qn() {
|
|
374
374
|
let e = 0;
|
|
375
|
-
|
|
375
|
+
fn.value && (e = Array.from(fn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
376
376
|
let n = t.getComputedTextLength();
|
|
377
377
|
return n > e ? n : e;
|
|
378
378
|
}, 0));
|
|
379
|
-
let t =
|
|
379
|
+
let t = hn.value ? hn.value.getBoundingClientRect().width + I.value.style.chart.layout.grid.axis.yLabelOffsetX + I.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
|
|
380
380
|
return {
|
|
381
381
|
left: U.value ? 0 : n,
|
|
382
382
|
right: U.value ? n : 0,
|
|
@@ -385,25 +385,25 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
385
385
|
crosshair: 5
|
|
386
386
|
};
|
|
387
387
|
}
|
|
388
|
-
let $n =
|
|
388
|
+
let $n = x(0), er = Ae((e) => {
|
|
389
389
|
$n.value = e;
|
|
390
390
|
}, 100);
|
|
391
|
-
|
|
392
|
-
let t =
|
|
391
|
+
Ze((e) => {
|
|
392
|
+
let t = pn.value;
|
|
393
393
|
if (!t) return;
|
|
394
394
|
let n = new ResizeObserver((e) => {
|
|
395
395
|
er(e[0].contentRect.height);
|
|
396
396
|
});
|
|
397
397
|
n.observe(t), e(() => n.disconnect());
|
|
398
|
-
}),
|
|
398
|
+
}), Ge(() => {
|
|
399
399
|
$n.value = 0;
|
|
400
400
|
});
|
|
401
|
-
let tr =
|
|
401
|
+
let tr = u(() => {
|
|
402
402
|
let e = 0;
|
|
403
|
-
|
|
403
|
+
mn.value && (e = mn.value.getBBox().height);
|
|
404
404
|
let t = 0;
|
|
405
|
-
return
|
|
406
|
-
}), W =
|
|
405
|
+
return pn.value && (t = $n.value), e + t + I.value.style.chart.layout.grid.axis.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
|
|
406
|
+
}), W = u(() => {
|
|
407
407
|
let e = Qn(), t = I.value.style.chart.layout.dataLabels.fontSize * 3, n = R.value.width, r = R.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
408
|
return {
|
|
409
409
|
top: c,
|
|
@@ -420,34 +420,34 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
420
420
|
yAxisLabelWidth: e.yAxisLabelWidth,
|
|
421
421
|
crosshair: e.crosshair
|
|
422
422
|
};
|
|
423
|
-
}), G =
|
|
424
|
-
[null, void 0].includes(e.name) &&
|
|
423
|
+
}), G = u(() => (In.value.forEach((e, t) => {
|
|
424
|
+
[null, void 0].includes(e.name) && ie({
|
|
425
425
|
componentName: "VueUiDonutEvolution",
|
|
426
426
|
type: "datasetSerieAttribute",
|
|
427
427
|
property: "name",
|
|
428
428
|
index: t,
|
|
429
429
|
debug: Mn.value
|
|
430
|
-
}), [null, void 0].includes(e.values) &&
|
|
430
|
+
}), [null, void 0].includes(e.values) && ie({
|
|
431
431
|
componentName: "VueUiDonutEvolution",
|
|
432
432
|
type: "datasetSerieAttribute",
|
|
433
433
|
property: "values",
|
|
434
434
|
index: t,
|
|
435
435
|
debug: Mn.value
|
|
436
436
|
});
|
|
437
|
-
}), In.value.map((e,
|
|
437
|
+
}), In.value.map((e, n) => ({
|
|
438
438
|
...e,
|
|
439
|
-
values:
|
|
440
|
-
color:
|
|
439
|
+
values: t(e.values),
|
|
440
|
+
color: _e(e.color) || Zn.value[n] || a[n] || a[n % a.length],
|
|
441
441
|
length: (e.values || []).length,
|
|
442
|
-
uid:
|
|
443
|
-
})))), nr =
|
|
442
|
+
uid: c()
|
|
443
|
+
})))), nr = u(() => G.value.filter((e) => !k.value.includes(e.uid)).map((e) => ({
|
|
444
444
|
...e,
|
|
445
445
|
values: e.values.filter((e, t) => t >= z.value.start && t <= z.value.end)
|
|
446
|
-
}))), K =
|
|
447
|
-
|
|
446
|
+
}))), K = u(() => Math.max(...G.value.map((e) => e.length))), q = x([]), rr = 0;
|
|
447
|
+
Ze(() => {
|
|
448
448
|
let e = ++rr;
|
|
449
449
|
(async () => {
|
|
450
|
-
let t = await
|
|
450
|
+
let t = await ve({
|
|
451
451
|
values: I.value.style.chart.layout.grid.xAxis.dataLabels.values,
|
|
452
452
|
maxDatapoints: K.value,
|
|
453
453
|
formatter: I.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
@@ -457,7 +457,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
457
457
|
e === rr && (q.value = t);
|
|
458
458
|
})();
|
|
459
459
|
});
|
|
460
|
-
let J =
|
|
460
|
+
let J = u(() => W.value.width / (z.value.end - z.value.start)), ir = u(() => {
|
|
461
461
|
let e = [];
|
|
462
462
|
for (let t = 0; t < z.value.end - z.value.start; t += 1) {
|
|
463
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;
|
|
@@ -470,26 +470,26 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
470
470
|
});
|
|
471
471
|
}
|
|
472
472
|
return e;
|
|
473
|
-
}), ar =
|
|
474
|
-
let e = Math.max(...ir.value.map((e) => e.subtotal).filter((e) =>
|
|
473
|
+
}), ar = u(() => {
|
|
474
|
+
let e = Math.max(...ir.value.map((e) => e.subtotal).filter((e) => se(e))) ?? 1, t = Math.min(...ir.value.map((e) => e.subtotal).filter((e) => se(e))) ?? 0, n = Math.max(I.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), r;
|
|
475
475
|
return r = I.value.style.chart.layout.grid.yAxis.scaleMin == null ? 0 : Math.min(t, I.value.style.chart.layout.grid.yAxis.scaleMin), I.value.style.chart.layout.grid.yAxis.autoScale && (r = t, n = e), r === n && (r = n / 2, n *= 1.5), {
|
|
476
476
|
max: n,
|
|
477
477
|
min: r
|
|
478
478
|
};
|
|
479
|
-
}), Y =
|
|
479
|
+
}), Y = u(() => {
|
|
480
480
|
let e = ir.value.length === 1 ? ar.value.max * 2 : ar.value.max;
|
|
481
|
-
return
|
|
481
|
+
return ce(ar.value.min, e, I.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
482
482
|
});
|
|
483
483
|
function or(e) {
|
|
484
484
|
return (e - Y.value.min) / (Y.value.max - Y.value.min);
|
|
485
485
|
}
|
|
486
|
-
let sr =
|
|
486
|
+
let sr = u(() => Y.value.ticks.map((e) => ({
|
|
487
487
|
y: W.value.bottom - W.value.height * or(e),
|
|
488
488
|
value: e
|
|
489
|
-
}))), X =
|
|
489
|
+
}))), X = u(() => {
|
|
490
490
|
let e = ir.value, t = Math.max(...e.map((e) => e.subtotal));
|
|
491
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 =
|
|
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 = A.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
493
|
color: e.color,
|
|
494
494
|
name: e.name,
|
|
495
495
|
value: e.values[n] ?? 0
|
|
@@ -500,28 +500,28 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
500
500
|
radius: i,
|
|
501
501
|
activeRadius: a,
|
|
502
502
|
hoverRadius: o,
|
|
503
|
-
donut:
|
|
504
|
-
donutHover:
|
|
505
|
-
donutFocus:
|
|
503
|
+
donut: ge({ series: c }, t.x, s, i, i, 1.99999, 2, 1, 360, 105.25, i / 2),
|
|
504
|
+
donutHover: ge({ series: c }, t.x, s, o, o, 1.99999, 2, 1, 360, 105.25, o / 2),
|
|
505
|
+
donutFocus: ge({ 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
506
|
};
|
|
507
507
|
});
|
|
508
508
|
});
|
|
509
|
-
function cr(e, t,
|
|
510
|
-
return
|
|
509
|
+
function cr(e, t, n) {
|
|
510
|
+
return le(I.value.style.chart.layout.dataLabels.formatter, e, s({
|
|
511
511
|
p: I.value.style.chart.layout.dataLabels.prefix,
|
|
512
512
|
v: e,
|
|
513
513
|
s: I.value.style.chart.layout.dataLabels.suffix,
|
|
514
514
|
r: I.value.style.chart.layout.dataLabels.rounding
|
|
515
515
|
}), {
|
|
516
516
|
datapoint: t,
|
|
517
|
-
index:
|
|
517
|
+
index: n
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
520
|
function lr(e, t) {
|
|
521
521
|
return isNaN(e.value / o(t, "value")) ? 0 : (e.value / o(t, "value") * 100).toFixed(0) + "%";
|
|
522
522
|
}
|
|
523
523
|
function ur(e) {
|
|
524
|
-
|
|
524
|
+
A.value = null, j.value = null, F.value = null, I.value.events.datapointLeave && I.value.events.datapointLeave({
|
|
525
525
|
datapoint: e,
|
|
526
526
|
seriesIndex: e.seriesIndex + z.value.start
|
|
527
527
|
});
|
|
@@ -530,16 +530,16 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
530
530
|
I.value.events.datapointEnter && I.value.events.datapointEnter({
|
|
531
531
|
datapoint: e,
|
|
532
532
|
seriesIndex: e.index + z.value.start
|
|
533
|
-
}),
|
|
533
|
+
}), A.value = e.index, j.value = e, F.value = e.index;
|
|
534
534
|
}
|
|
535
|
-
let fr =
|
|
535
|
+
let fr = x(null);
|
|
536
536
|
function pr(e, t) {
|
|
537
537
|
I.value.events.datapointClick && I.value.events.datapointClick({
|
|
538
538
|
datapoint: e,
|
|
539
539
|
seriesIndex: e.index + z.value.start
|
|
540
|
-
}), !(!e.subtotal || !I.value.style.chart.dialog.show) && (
|
|
540
|
+
}), !(!e.subtotal || !I.value.style.chart.dialog.show) && (j.value = null, A.value = null, an.value = !0, M.value = e, jr(e), [null, void 0].includes(t) || (fr.value = t));
|
|
541
541
|
}
|
|
542
|
-
let
|
|
542
|
+
let mr = u(() => G.value.map((e, t) => ({
|
|
543
543
|
name: e.name,
|
|
544
544
|
value: e.values.slice(z.value.start, z.value.end).reduce((e, t) => e + t, 0),
|
|
545
545
|
shape: "circle",
|
|
@@ -547,10 +547,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
547
547
|
color: e.color
|
|
548
548
|
})).sort((e, t) => t.value - e.value).map((e, t) => ({
|
|
549
549
|
...e,
|
|
550
|
-
opacity:
|
|
551
|
-
segregate: () =>
|
|
552
|
-
isSegregated:
|
|
553
|
-
display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ?
|
|
550
|
+
opacity: k.value.includes(e.uid) ? .5 : 1,
|
|
551
|
+
segregate: () => vr(e.uid),
|
|
552
|
+
isSegregated: k.value.includes(e.uid),
|
|
553
|
+
display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ? le(I.value.style.chart.layout.dataLabels.formatter, e.value, s({
|
|
554
554
|
p: I.value.style.chart.layout.dataLabels.prefix,
|
|
555
555
|
v: e.value,
|
|
556
556
|
s: I.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -558,12 +558,12 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
558
558
|
}), {
|
|
559
559
|
datapoint: e,
|
|
560
560
|
seriesIndex: t
|
|
561
|
-
}) : ""}${I.value.style.chart.legend.showPercentage ?
|
|
562
|
-
v: e.value /
|
|
561
|
+
}) : ""}${I.value.style.chart.legend.showPercentage ? k.value.includes(e.uid) ? `${I.value.style.chart.legend.showValue ? " (" : ""}- %${I.value.style.chart.legend.showValue ? ")" : ""}` : `${I.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / hr.value) ? "-" : s({
|
|
562
|
+
v: e.value / hr.value * 100,
|
|
563
563
|
s: "%",
|
|
564
564
|
r: I.value.style.chart.legend.roundingPercentage
|
|
565
565
|
})}${I.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
|
|
566
|
-
}))),
|
|
566
|
+
}))), hr = u(() => X.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), gr = u(() => ({
|
|
567
567
|
cy: "donut-div-legend",
|
|
568
568
|
backgroundColor: I.value.style.chart.legend.backgroundColor,
|
|
569
569
|
color: I.value.style.chart.legend.color,
|
|
@@ -571,38 +571,38 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
571
571
|
paddingBottom: 12,
|
|
572
572
|
fontWeight: I.value.style.chart.legend.bold ? "bold" : ""
|
|
573
573
|
}));
|
|
574
|
-
function
|
|
575
|
-
|
|
576
|
-
|
|
574
|
+
function _r() {
|
|
575
|
+
k.value.length ? k.value = [] : mr.value.forEach((e) => {
|
|
576
|
+
k.value.push(e.uid);
|
|
577
577
|
}), An("selectLegend", nr.value);
|
|
578
578
|
}
|
|
579
|
-
function
|
|
580
|
-
if (
|
|
579
|
+
function vr(e) {
|
|
580
|
+
if (k.value.includes(e)) k.value = k.value.filter((t) => t !== e), An("selectLegend", nr.value);
|
|
581
581
|
else {
|
|
582
|
-
if (
|
|
583
|
-
|
|
582
|
+
if (k.value.length === G.value.length - 1) return;
|
|
583
|
+
k.value.push(e), An("selectLegend", nr.value);
|
|
584
584
|
}
|
|
585
|
-
|
|
586
|
-
}
|
|
587
|
-
function vr(e) {
|
|
588
|
-
return G.value.length ? G.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null);
|
|
585
|
+
M.value && pr(X.value.find((e, t) => t === fr.value));
|
|
589
586
|
}
|
|
590
587
|
function yr(e) {
|
|
591
|
-
|
|
592
|
-
t !== null && A.value.includes(t.uid) && _r(t.uid);
|
|
588
|
+
return G.value.length ? G.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null);
|
|
593
589
|
}
|
|
594
590
|
function br(e) {
|
|
595
|
-
let t =
|
|
596
|
-
t !== null &&
|
|
591
|
+
let t = yr(e);
|
|
592
|
+
t !== null && k.value.includes(t.uid) && vr(t.uid);
|
|
593
|
+
}
|
|
594
|
+
function xr(e) {
|
|
595
|
+
let t = yr(e);
|
|
596
|
+
t !== null && (k.value.includes(t.uid) || vr(t.uid));
|
|
597
597
|
}
|
|
598
|
-
let
|
|
599
|
-
let e = [""].concat(G.value.filter((e) => !
|
|
598
|
+
let Z = u(() => {
|
|
599
|
+
let e = [""].concat(G.value.filter((e) => !k.value.includes(e.uid)).map((e) => ({
|
|
600
600
|
name: e.name,
|
|
601
601
|
color: e.color
|
|
602
602
|
})), ["Σ"]), t = [];
|
|
603
603
|
for (let e = 0; e < K.value; e += 1) {
|
|
604
|
-
let n = G.value.filter((e) => !
|
|
605
|
-
t.push([q.value[e] ? q.value[e].text : "-"].concat(G.value.filter((e) => !
|
|
604
|
+
let n = G.value.filter((e) => !k.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) => !k.value.includes(e.uid)).map((t) => ({
|
|
606
606
|
value: t.values[e] ?? 0,
|
|
607
607
|
percentage: t.values[e] ? t.values[e] / n * 100 : 0
|
|
608
608
|
})), [`${I.value.style.chart.layout.dataLabels.prefix}${Number(n.toFixed(I.value.table.td.roundingValue))}${I.value.style.chart.layout.dataLabels.suffix}`]));
|
|
@@ -624,55 +624,55 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
624
624
|
},
|
|
625
625
|
breakpoint: I.value.table.responsiveBreakpoint
|
|
626
626
|
},
|
|
627
|
-
colNames: [I.value.table.columnNames.period].concat(G.value.filter((e) => !
|
|
627
|
+
colNames: [I.value.table.columnNames.period].concat(G.value.filter((e) => !k.value.includes(e.uid)).map((e) => e.name), I.value.table.columnNames.total)
|
|
628
628
|
};
|
|
629
629
|
});
|
|
630
|
-
function
|
|
630
|
+
function Sr() {
|
|
631
631
|
return G.value;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
634
|
-
|
|
633
|
+
function Cr(e = null) {
|
|
634
|
+
We(() => {
|
|
635
635
|
let t = [
|
|
636
636
|
[I.value.style.chart.title.text],
|
|
637
637
|
[I.value.style.chart.title.subtitle.text],
|
|
638
638
|
[""]
|
|
639
|
-
], n = [...
|
|
640
|
-
e ? e(
|
|
641
|
-
csvContent:
|
|
639
|
+
], n = [...Z.value.head.map((e) => e.name ?? e)], r = [...Z.value.body.map((e) => e.map((e) => e.value ?? e))], i = re(t.concat([n]).concat(r));
|
|
640
|
+
e ? e(i) : ee({
|
|
641
|
+
csvContent: i,
|
|
642
642
|
title: I.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
643
643
|
});
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
|
-
let
|
|
647
|
-
function
|
|
648
|
-
|
|
646
|
+
let Q = x(!1);
|
|
647
|
+
function wr(e) {
|
|
648
|
+
Q.value = e, sn.value += 1;
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function Tr() {
|
|
651
651
|
V.value.showTable = !V.value.showTable;
|
|
652
652
|
}
|
|
653
|
-
let
|
|
653
|
+
let $ = x(!1);
|
|
654
654
|
function Er() {
|
|
655
|
-
|
|
655
|
+
$.value = !$.value;
|
|
656
656
|
}
|
|
657
657
|
function Dr(e) {
|
|
658
658
|
return e.proportion * 100 > I.value.style.chart.donuts.hover.hideLabelsUnderValue;
|
|
659
659
|
}
|
|
660
|
-
let Or =
|
|
660
|
+
let Or = x([]), kr = x({}), Ar = x(null);
|
|
661
661
|
function jr(e) {
|
|
662
662
|
Or.value = e.donut.map((e) => ({
|
|
663
663
|
name: e.name,
|
|
664
664
|
values: [e.value],
|
|
665
665
|
color: e.color
|
|
666
|
-
})), kr.value =
|
|
666
|
+
})), kr.value = fe({
|
|
667
667
|
...I.value.style.chart.dialog.donutChart,
|
|
668
668
|
responsive: !0,
|
|
669
669
|
theme: I.value.theme
|
|
670
670
|
}), Ar.value && Ar.value.open();
|
|
671
671
|
}
|
|
672
672
|
async function Mr({ scale: e = 2 } = {}) {
|
|
673
|
-
if (!
|
|
674
|
-
let { width: t, height: n } =
|
|
675
|
-
domElement:
|
|
673
|
+
if (!N.value) return;
|
|
674
|
+
let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await De({
|
|
675
|
+
domElement: N.value,
|
|
676
676
|
base64: !0,
|
|
677
677
|
img: !0,
|
|
678
678
|
scale: e
|
|
@@ -686,8 +686,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
686
686
|
aspectRatio: r
|
|
687
687
|
};
|
|
688
688
|
}
|
|
689
|
-
|
|
690
|
-
timeLabelsEls:
|
|
689
|
+
Ee({
|
|
690
|
+
timeLabelsEls: pn,
|
|
691
691
|
timeLabels: q,
|
|
692
692
|
slicer: z,
|
|
693
693
|
configRef: I,
|
|
@@ -711,22 +711,22 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
711
711
|
"enable"
|
|
712
712
|
],
|
|
713
713
|
isAutoSize: !1,
|
|
714
|
-
width:
|
|
715
|
-
height:
|
|
714
|
+
width: u(() => R.value.width),
|
|
715
|
+
height: u(() => R.value.height),
|
|
716
716
|
rotation: I.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
|
|
717
717
|
});
|
|
718
|
-
let Nr =
|
|
718
|
+
let Nr = u(() => {
|
|
719
719
|
let e = I.value.table.useDialog && !I.value.table.show, t = V.value.showTable;
|
|
720
720
|
return {
|
|
721
|
-
component: e ?
|
|
721
|
+
component: e ? en : qt,
|
|
722
722
|
title: `${I.value.style.chart.title.text}${I.value.style.chart.title.subtitle.text ? `: ${I.value.style.chart.title.subtitle.text}` : ""}`,
|
|
723
723
|
props: e ? {
|
|
724
724
|
backgroundColor: I.value.table.th.backgroundColor,
|
|
725
725
|
color: I.value.table.th.color,
|
|
726
726
|
headerColor: I.value.table.th.color,
|
|
727
727
|
headerBg: I.value.table.th.backgroundColor,
|
|
728
|
-
isFullscreen:
|
|
729
|
-
fullscreenParent:
|
|
728
|
+
isFullscreen: Q.value,
|
|
729
|
+
fullscreenParent: N.value,
|
|
730
730
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
731
731
|
isCursorPointer: L.value
|
|
732
732
|
} : {
|
|
@@ -746,24 +746,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
746
746
|
}
|
|
747
747
|
};
|
|
748
748
|
});
|
|
749
|
-
|
|
750
|
-
I.value.table.show || (e && I.value.table.useDialog &&
|
|
749
|
+
Xe(() => V.value.showTable, (e) => {
|
|
750
|
+
I.value.table.show || (e && I.value.table.useDialog && P.value ? P.value.open() : "close" in P.value && P.value.close());
|
|
751
751
|
});
|
|
752
752
|
function Pr() {
|
|
753
753
|
V.value.showTable = !1, _n.value && _n.value.setTableIconState(!1);
|
|
754
754
|
}
|
|
755
|
-
let Fr =
|
|
755
|
+
let Fr = u(() => mr.value.map((e) => ({
|
|
756
756
|
...e,
|
|
757
757
|
name: e.display
|
|
758
|
-
}))), Ir =
|
|
758
|
+
}))), Ir = u(() => I.value.style.chart.backgroundColor), Lr = u(() => I.value.style.chart.legend), { exportSvg: Rr, getSvg: zr } = Ce({
|
|
759
759
|
svg: B,
|
|
760
|
-
title:
|
|
760
|
+
title: u(() => I.value.style.chart.title),
|
|
761
761
|
legend: Lr,
|
|
762
762
|
legendItems: Fr,
|
|
763
763
|
backgroundColor: Ir
|
|
764
764
|
});
|
|
765
765
|
async function Br({ isCb: e }) {
|
|
766
|
-
yn.value = !0, await
|
|
766
|
+
yn.value = !0, await We();
|
|
767
767
|
try {
|
|
768
768
|
if (e) {
|
|
769
769
|
let { blob: e, url: t, text: n, dataUrl: r } = await zr();
|
|
@@ -806,14 +806,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
806
806
|
F.value = null, kn.value = !0;
|
|
807
807
|
}
|
|
808
808
|
function Wr() {
|
|
809
|
-
F.value = null,
|
|
809
|
+
F.value = null, A.value = null, j.value = null, kn.value = !1;
|
|
810
810
|
}
|
|
811
811
|
function Gr(e) {
|
|
812
|
-
if (!B.value ||
|
|
812
|
+
if (!B.value || $.value || document.activeElement !== B.value || !X.value.length) return;
|
|
813
813
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
814
814
|
if (!t && !n && !r && !i) return;
|
|
815
815
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
816
|
-
F.value = null,
|
|
816
|
+
F.value = null, A.value = null, j.value = null;
|
|
817
817
|
return;
|
|
818
818
|
}
|
|
819
819
|
if (r) {
|
|
@@ -823,44 +823,44 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
823
823
|
pr(e, F.value);
|
|
824
824
|
return;
|
|
825
825
|
}
|
|
826
|
-
let a = F.value, o =
|
|
826
|
+
let a = F.value, o = A.value, s = a !== null && a >= 0 && a < X.value.length, c = o !== null && o >= 0 && o < X.value.length;
|
|
827
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
|
|
829
|
-
|
|
828
|
+
let ee = X.value[a];
|
|
829
|
+
ee && dr(ee);
|
|
830
830
|
}
|
|
831
|
-
let Kr =
|
|
832
|
-
headers:
|
|
833
|
-
rows:
|
|
831
|
+
let Kr = u(() => ({
|
|
832
|
+
headers: Z.value?.colNames ?? [],
|
|
833
|
+
rows: Z.value?.bodyA11y ?? []
|
|
834
834
|
}));
|
|
835
|
-
return
|
|
836
|
-
getData:
|
|
835
|
+
return ke({
|
|
836
|
+
getData: Sr,
|
|
837
837
|
getImage: Mr,
|
|
838
838
|
generatePdf: Jn,
|
|
839
|
-
generateCsv:
|
|
839
|
+
generateCsv: Cr,
|
|
840
840
|
generateImage: Yn,
|
|
841
841
|
generateSvg: Br,
|
|
842
|
-
hideSeries:
|
|
843
|
-
showSeries:
|
|
844
|
-
toggleTable:
|
|
842
|
+
hideSeries: xr,
|
|
843
|
+
showSeries: br,
|
|
844
|
+
toggleTable: Tr,
|
|
845
845
|
toggleAnnotator: Er,
|
|
846
|
-
toggleFullscreen:
|
|
846
|
+
toggleFullscreen: wr,
|
|
847
847
|
copyAlt: Hr
|
|
848
|
-
}), (e,
|
|
848
|
+
}), (e, t) => (b(), p("div", {
|
|
849
849
|
ref_key: "donutEvolutionChart",
|
|
850
|
-
ref:
|
|
851
|
-
class:
|
|
852
|
-
style:
|
|
853
|
-
id:
|
|
854
|
-
onMouseenter:
|
|
855
|
-
onMouseleave:
|
|
850
|
+
ref: N,
|
|
851
|
+
class: _(`vue-data-ui-component vue-ui-donut-evolution ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${I.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
852
|
+
style: y(`font-family:${I.value.style.fontFamily};width:100%; text-align:center;background:${I.value.style.chart.backgroundColor}`),
|
|
853
|
+
id: O.value,
|
|
854
|
+
onMouseenter: t[5] ||= () => T(Un)(!0),
|
|
855
|
+
onMouseleave: t[6] ||= () => T(Un)(!1)
|
|
856
856
|
}, [
|
|
857
|
-
|
|
858
|
-
id: `chart-instructions-${
|
|
857
|
+
m("div", {
|
|
858
|
+
id: `chart-instructions-${O.value}`,
|
|
859
859
|
class: "sr-only"
|
|
860
|
-
}, [
|
|
861
|
-
Kr.value?.rows?.length ? (
|
|
860
|
+
}, [m("p", null, w(I.value.a11y.translations.keyboardNavigation), 1)], 8, et),
|
|
861
|
+
Kr.value?.rows?.length ? (b(), d(Ne, {
|
|
862
862
|
key: 0,
|
|
863
|
-
uid:
|
|
863
|
+
uid: O.value,
|
|
864
864
|
head: Kr.value.headers,
|
|
865
865
|
body: Kr.value.rows,
|
|
866
866
|
notice: I.value.a11y.translations.tableAvailable,
|
|
@@ -871,22 +871,22 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
871
871
|
"body",
|
|
872
872
|
"notice",
|
|
873
873
|
"caption"
|
|
874
|
-
])) :
|
|
875
|
-
I.value.userOptions.buttons.annotator ? (
|
|
874
|
+
])) : f("", !0),
|
|
875
|
+
I.value.userOptions.buttons.annotator ? (b(), d(T(Zt), {
|
|
876
876
|
key: 1,
|
|
877
|
-
svgRef:
|
|
877
|
+
svgRef: T(B),
|
|
878
878
|
backgroundColor: I.value.style.chart.backgroundColor,
|
|
879
879
|
color: I.value.style.chart.color,
|
|
880
|
-
active:
|
|
880
|
+
active: $.value,
|
|
881
881
|
isCursorPointer: L.value,
|
|
882
882
|
onClose: Er
|
|
883
883
|
}, {
|
|
884
|
-
"annotator-action-close":
|
|
885
|
-
"annotator-action-color":
|
|
886
|
-
"annotator-action-draw":
|
|
887
|
-
"annotator-action-undo":
|
|
888
|
-
"annotator-action-redo":
|
|
889
|
-
"annotator-action-delete":
|
|
884
|
+
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
885
|
+
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
886
|
+
"annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
|
|
887
|
+
"annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
|
|
888
|
+
"annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
|
|
889
|
+
"annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
|
|
890
890
|
_: 3
|
|
891
891
|
}, 8, [
|
|
892
892
|
"svgRef",
|
|
@@ -894,22 +894,22 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
894
894
|
"color",
|
|
895
895
|
"active",
|
|
896
896
|
"isCursorPointer"
|
|
897
|
-
])) :
|
|
898
|
-
Xn.value ? (
|
|
897
|
+
])) : f("", !0),
|
|
898
|
+
Xn.value ? (b(), p("div", {
|
|
899
899
|
key: 2,
|
|
900
900
|
ref_key: "noTitle",
|
|
901
|
-
ref:
|
|
901
|
+
ref: on,
|
|
902
902
|
class: "vue-data-ui-no-title-space",
|
|
903
903
|
style: "height:36px; width: 100%;background:transparent"
|
|
904
|
-
}, null, 512)) :
|
|
905
|
-
I.value.style.chart.title.text ? (
|
|
904
|
+
}, null, 512)) : f("", !0),
|
|
905
|
+
I.value.style.chart.title.text ? (b(), p("div", {
|
|
906
906
|
key: 3,
|
|
907
907
|
ref_key: "chartTitle",
|
|
908
908
|
ref: bn,
|
|
909
909
|
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
910
910
|
onMouseleave: ur
|
|
911
|
-
}, [(
|
|
912
|
-
key: `title_${
|
|
911
|
+
}, [(b(), d(Oe, {
|
|
912
|
+
key: `title_${ln.value}`,
|
|
913
913
|
config: {
|
|
914
914
|
title: {
|
|
915
915
|
cy: "donut-evolution-div-title",
|
|
@@ -920,17 +920,17 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
920
920
|
...I.value.style.chart.title.subtitle
|
|
921
921
|
}
|
|
922
922
|
}
|
|
923
|
-
}, null, 8, ["config"]))], 544)) :
|
|
924
|
-
|
|
925
|
-
I.value.userOptions.show && jn.value && (
|
|
923
|
+
}, null, 8, ["config"]))], 544)) : f("", !0),
|
|
924
|
+
m("div", { id: `legend-top-${O.value}` }, null, 8, tt),
|
|
925
|
+
I.value.userOptions.show && jn.value && (T(Wn) || T(Hn)) ? (b(), d(T(Qt), {
|
|
926
926
|
ref_key: "userOptionsRef",
|
|
927
927
|
ref: _n,
|
|
928
|
-
key: `user_options_${
|
|
928
|
+
key: `user_options_${sn.value}`,
|
|
929
929
|
backgroundColor: I.value.style.chart.backgroundColor,
|
|
930
930
|
color: I.value.style.chart.color,
|
|
931
|
-
isPrinting:
|
|
932
|
-
isImaging:
|
|
933
|
-
uid:
|
|
931
|
+
isPrinting: T(Kn),
|
|
932
|
+
isImaging: T(qn),
|
|
933
|
+
uid: O.value,
|
|
934
934
|
hasPdf: I.value.userOptions.buttons.pdf,
|
|
935
935
|
hasImg: I.value.userOptions.buttons.img,
|
|
936
936
|
hasSvg: I.value.userOptions.buttons.svg,
|
|
@@ -938,29 +938,29 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
938
938
|
hasTable: I.value.userOptions.buttons.table,
|
|
939
939
|
hasFullscreen: I.value.userOptions.buttons.fullscreen,
|
|
940
940
|
hasAltCopy: I.value.userOptions.buttons.altCopy,
|
|
941
|
-
isFullscreen:
|
|
941
|
+
isFullscreen: Q.value,
|
|
942
942
|
titles: { ...I.value.userOptions.buttonTitles },
|
|
943
|
-
chartElement:
|
|
943
|
+
chartElement: N.value,
|
|
944
944
|
position: I.value.userOptions.position,
|
|
945
945
|
hasAnnotator: I.value.userOptions.buttons.annotator,
|
|
946
|
-
isAnnotation:
|
|
946
|
+
isAnnotation: $.value,
|
|
947
947
|
callbacks: I.value.userOptions.callbacks,
|
|
948
948
|
printScale: I.value.userOptions.print.scale,
|
|
949
949
|
tableDialog: I.value.table.useDialog,
|
|
950
950
|
isCursorPointer: L.value,
|
|
951
|
-
onToggleFullscreen:
|
|
952
|
-
onGeneratePdf:
|
|
953
|
-
onGenerateCsv:
|
|
951
|
+
onToggleFullscreen: wr,
|
|
952
|
+
onGeneratePdf: T(Jn),
|
|
953
|
+
onGenerateCsv: Cr,
|
|
954
954
|
onGenerateImage: Vr,
|
|
955
955
|
onGenerateSvg: Br,
|
|
956
|
-
onToggleTable:
|
|
956
|
+
onToggleTable: Tr,
|
|
957
957
|
onToggleAnnotator: Er,
|
|
958
958
|
onCopyAlt: Hr,
|
|
959
|
-
style:
|
|
960
|
-
},
|
|
959
|
+
style: y({ visibility: T(Wn) ? T(Hn) ? "visible" : "hidden" : "visible" })
|
|
960
|
+
}, Be({ _: 2 }, [
|
|
961
961
|
e.$slots.menuIcon ? {
|
|
962
962
|
name: "menuIcon",
|
|
963
|
-
fn:
|
|
963
|
+
fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
|
|
964
964
|
isOpen: t,
|
|
965
965
|
color: n
|
|
966
966
|
})), void 0, !0)]),
|
|
@@ -968,32 +968,32 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
968
968
|
} : void 0,
|
|
969
969
|
e.$slots.optionPdf ? {
|
|
970
970
|
name: "optionPdf",
|
|
971
|
-
fn:
|
|
971
|
+
fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
972
972
|
key: "1"
|
|
973
973
|
} : void 0,
|
|
974
974
|
e.$slots.optionCsv ? {
|
|
975
975
|
name: "optionCsv",
|
|
976
|
-
fn:
|
|
976
|
+
fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
977
977
|
key: "2"
|
|
978
978
|
} : void 0,
|
|
979
979
|
e.$slots.optionImg ? {
|
|
980
980
|
name: "optionImg",
|
|
981
|
-
fn:
|
|
981
|
+
fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
982
982
|
key: "3"
|
|
983
983
|
} : void 0,
|
|
984
984
|
e.$slots.optionSvg ? {
|
|
985
985
|
name: "optionSvg",
|
|
986
|
-
fn:
|
|
986
|
+
fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
987
987
|
key: "4"
|
|
988
988
|
} : void 0,
|
|
989
989
|
e.$slots.optionTable ? {
|
|
990
990
|
name: "optionTable",
|
|
991
|
-
fn:
|
|
991
|
+
fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
992
992
|
key: "5"
|
|
993
993
|
} : void 0,
|
|
994
994
|
e.$slots.optionFullscreen ? {
|
|
995
995
|
name: "optionFullscreen",
|
|
996
|
-
fn:
|
|
996
|
+
fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", v(g({
|
|
997
997
|
toggleFullscreen: t,
|
|
998
998
|
isFullscreen: n
|
|
999
999
|
})), void 0, !0)]),
|
|
@@ -1001,7 +1001,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1001
1001
|
} : void 0,
|
|
1002
1002
|
e.$slots.optionAnnotator ? {
|
|
1003
1003
|
name: "optionAnnotator",
|
|
1004
|
-
fn:
|
|
1004
|
+
fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", v(g({
|
|
1005
1005
|
toggleAnnotator: t,
|
|
1006
1006
|
isAnnotator: n
|
|
1007
1007
|
})), void 0, !0)]),
|
|
@@ -1009,17 +1009,17 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1009
1009
|
} : void 0,
|
|
1010
1010
|
e.$slots.optionAltCopy ? {
|
|
1011
1011
|
name: "optionAltCopy",
|
|
1012
|
-
fn:
|
|
1012
|
+
fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
|
|
1013
1013
|
key: "8"
|
|
1014
1014
|
} : void 0,
|
|
1015
1015
|
e.$slots["custom-menu-before"] ? {
|
|
1016
1016
|
name: "custom-menu-before",
|
|
1017
|
-
fn:
|
|
1017
|
+
fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1018
1018
|
key: "9"
|
|
1019
1019
|
} : void 0,
|
|
1020
1020
|
e.$slots["custom-menu-after"] ? {
|
|
1021
1021
|
name: "custom-menu-after",
|
|
1022
|
-
fn:
|
|
1022
|
+
fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1023
1023
|
key: "10"
|
|
1024
1024
|
} : void 0
|
|
1025
1025
|
]), 1032, [
|
|
@@ -1047,60 +1047,60 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1047
1047
|
"isCursorPointer",
|
|
1048
1048
|
"onGeneratePdf",
|
|
1049
1049
|
"style"
|
|
1050
|
-
])) :
|
|
1051
|
-
|
|
1050
|
+
])) : f("", !0),
|
|
1051
|
+
m("div", nt, [(b(), p("svg", {
|
|
1052
1052
|
ref_key: "svgRef",
|
|
1053
1053
|
ref: B,
|
|
1054
|
-
xmlns:
|
|
1055
|
-
"aria-describedby": `chart-instructions-${
|
|
1056
|
-
class:
|
|
1057
|
-
"vue-data-ui-fullscreen--on":
|
|
1058
|
-
"vue-data-ui-fulscreen--off":
|
|
1054
|
+
xmlns: T(pe),
|
|
1055
|
+
"aria-describedby": `chart-instructions-${O.value}`,
|
|
1056
|
+
class: _({
|
|
1057
|
+
"vue-data-ui-fullscreen--on": Q.value,
|
|
1058
|
+
"vue-data-ui-fulscreen--off": !Q.value
|
|
1059
1059
|
}),
|
|
1060
1060
|
viewBox: `0 0 ${W.value.absoluteWidth} ${W.value.absoluteHeight}`,
|
|
1061
|
-
style:
|
|
1061
|
+
style: y(`max-width:100%; overflow: visible; background:transparent;color:${I.value.style.chart.color};`),
|
|
1062
1062
|
tabindex: "0",
|
|
1063
1063
|
onFocus: Ur,
|
|
1064
1064
|
onBlur: Wr,
|
|
1065
1065
|
onKeydown: Gr
|
|
1066
1066
|
}, [
|
|
1067
|
-
|
|
1068
|
-
e.$slots["chart-background"] ? (
|
|
1067
|
+
He(T(Xt)),
|
|
1068
|
+
e.$slots["chart-background"] ? (b(), p("foreignObject", {
|
|
1069
1069
|
key: 0,
|
|
1070
1070
|
x: W.value.left,
|
|
1071
1071
|
y: W.value.top,
|
|
1072
1072
|
width: W.value.width,
|
|
1073
1073
|
height: W.value.height,
|
|
1074
1074
|
style: { pointerEvents: "none" }
|
|
1075
|
-
}, [
|
|
1076
|
-
|
|
1077
|
-
id: `hover_${
|
|
1075
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, it)) : f("", !0),
|
|
1076
|
+
m("defs", null, [m("linearGradient", {
|
|
1077
|
+
id: `hover_${O.value}`,
|
|
1078
1078
|
x1: "0%",
|
|
1079
1079
|
y1: "0%",
|
|
1080
1080
|
x2: "0%",
|
|
1081
1081
|
y2: "100%"
|
|
1082
|
-
}, [
|
|
1082
|
+
}, [m("stop", {
|
|
1083
1083
|
offset: "0%",
|
|
1084
|
-
"stop-color":
|
|
1085
|
-
}, null, 8,
|
|
1084
|
+
"stop-color": T(te)(I.value.style.chart.backgroundColor, I.value.style.chart.layout.highlighter.opacity)
|
|
1085
|
+
}, null, 8, ot), m("stop", {
|
|
1086
1086
|
offset: "100%",
|
|
1087
|
-
"stop-color":
|
|
1088
|
-
}, null, 8,
|
|
1089
|
-
|
|
1087
|
+
"stop-color": T(te)(I.value.style.chart.layout.highlighter.color, I.value.style.chart.layout.highlighter.opacity)
|
|
1088
|
+
}, null, 8, st)], 8, at), m("radialGradient", { id: `focus_${O.value}` }, [
|
|
1089
|
+
m("stop", {
|
|
1090
1090
|
offset: "0%",
|
|
1091
|
-
"stop-color":
|
|
1092
|
-
}, null, 8, ct),
|
|
1093
|
-
h("stop", {
|
|
1094
|
-
offset: "77%",
|
|
1095
|
-
"stop-color": E(se)("#FFFFFF", 30)
|
|
1091
|
+
"stop-color": T(te)(T(_e)(I.value.style.chart.backgroundColor), 0)
|
|
1096
1092
|
}, null, 8, lt),
|
|
1097
|
-
|
|
1093
|
+
m("stop", {
|
|
1094
|
+
offset: "77%",
|
|
1095
|
+
"stop-color": T(te)("#FFFFFF", 30)
|
|
1096
|
+
}, null, 8, ut),
|
|
1097
|
+
m("stop", {
|
|
1098
1098
|
offset: "100%",
|
|
1099
|
-
"stop-color":
|
|
1100
|
-
}, null, 8,
|
|
1101
|
-
], 8,
|
|
1102
|
-
I.value.style.chart.layout.grid.show ? (
|
|
1103
|
-
|
|
1099
|
+
"stop-color": T(te)(T(_e)(I.value.style.chart.backgroundColor), 0)
|
|
1100
|
+
}, null, 8, dt)
|
|
1101
|
+
], 8, ct)]),
|
|
1102
|
+
I.value.style.chart.layout.grid.show ? (b(), p("g", ft, [
|
|
1103
|
+
m("line", {
|
|
1104
1104
|
x1: U.value ? W.value.right : W.value.left,
|
|
1105
1105
|
x2: U.value ? W.value.right : W.value.left,
|
|
1106
1106
|
y1: W.value.top,
|
|
@@ -1108,8 +1108,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1108
1108
|
stroke: I.value.style.chart.layout.grid.stroke,
|
|
1109
1109
|
"stroke-width": I.value.style.chart.layout.grid.strokeWidth,
|
|
1110
1110
|
"stroke-linecap": "round"
|
|
1111
|
-
}, null, 8,
|
|
1112
|
-
|
|
1111
|
+
}, null, 8, pt),
|
|
1112
|
+
m("line", {
|
|
1113
1113
|
x1: W.value.left,
|
|
1114
1114
|
x2: W.value.right,
|
|
1115
1115
|
y1: W.value.bottom,
|
|
@@ -1117,8 +1117,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1117
1117
|
stroke: I.value.style.chart.layout.grid.stroke,
|
|
1118
1118
|
"stroke-width": I.value.style.chart.layout.grid.strokeWidth,
|
|
1119
1119
|
"stroke-linecap": "round"
|
|
1120
|
-
}, null, 8,
|
|
1121
|
-
I.value.style.chart.layout.grid.showVerticalLines ? (
|
|
1120
|
+
}, null, 8, mt),
|
|
1121
|
+
I.value.style.chart.layout.grid.showVerticalLines ? (b(), p("g", ht, [(b(!0), p(l, null, S(z.value.end - z.value.start, (e, t) => (b(), p("line", {
|
|
1122
1122
|
x1: W.value.left + (t + 1) * J.value,
|
|
1123
1123
|
x2: W.value.left + (t + 1) * J.value,
|
|
1124
1124
|
y1: W.value.top,
|
|
@@ -1126,36 +1126,36 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1126
1126
|
stroke: I.value.style.chart.layout.grid.stroke,
|
|
1127
1127
|
"stroke-width": I.value.style.chart.layout.grid.strokeWidth,
|
|
1128
1128
|
"stroke-linecap": "round"
|
|
1129
|
-
}, null, 8,
|
|
1130
|
-
])) :
|
|
1131
|
-
|
|
1129
|
+
}, null, 8, gt))), 256))])) : f("", !0)
|
|
1130
|
+
])) : f("", !0),
|
|
1131
|
+
m("g", null, [I.value.style.chart.layout.grid.axis.yLabel ? (b(), p("text", {
|
|
1132
1132
|
key: 0,
|
|
1133
1133
|
ref_key: "yAxisLabel",
|
|
1134
|
-
ref:
|
|
1134
|
+
ref: hn,
|
|
1135
1135
|
"font-size": I.value.style.chart.layout.grid.axis.fontSize,
|
|
1136
1136
|
fill: I.value.style.chart.layout.grid.axis.color,
|
|
1137
1137
|
transform: `translate(${U.value ? W.value.absoluteWidth - I.value.style.chart.layout.grid.axis.fontSize / 2 - I.value.style.chart.layout.grid.axis.yLabelOffsetX : I.value.style.chart.layout.grid.axis.fontSize}, ${W.value.top + W.value.height / 2}) rotate(-90)`,
|
|
1138
1138
|
"text-anchor": "middle",
|
|
1139
1139
|
style: { transition: "none" }
|
|
1140
|
-
},
|
|
1140
|
+
}, w(I.value.style.chart.layout.grid.axis.yLabel), 9, _t)) : f("", !0), I.value.style.chart.layout.grid.axis.xLabel ? (b(), p("text", {
|
|
1141
1141
|
key: 1,
|
|
1142
1142
|
ref_key: "xAxisLabel",
|
|
1143
|
-
ref:
|
|
1143
|
+
ref: mn,
|
|
1144
1144
|
"text-anchor": "middle",
|
|
1145
1145
|
x: W.value.absoluteWidth / 2,
|
|
1146
1146
|
y: W.value.absoluteHeight - 3,
|
|
1147
1147
|
"font-size": I.value.style.chart.layout.grid.axis.fontSize,
|
|
1148
1148
|
fill: I.value.style.chart.layout.grid.axis.color
|
|
1149
|
-
},
|
|
1150
|
-
I.value.style.chart.layout.grid.yAxis.dataLabels.show ? (
|
|
1149
|
+
}, w(I.value.style.chart.layout.grid.axis.xLabel), 9, vt)) : f("", !0)]),
|
|
1150
|
+
I.value.style.chart.layout.grid.yAxis.dataLabels.show ? (b(), p("g", {
|
|
1151
1151
|
key: 2,
|
|
1152
1152
|
ref_key: "scaleLabels",
|
|
1153
|
-
ref:
|
|
1154
|
-
class:
|
|
1153
|
+
ref: fn,
|
|
1154
|
+
class: _({
|
|
1155
1155
|
"donut-opacity": !0,
|
|
1156
|
-
"donut-behind":
|
|
1156
|
+
"donut-behind": A.value !== null
|
|
1157
1157
|
})
|
|
1158
|
-
}, [(
|
|
1158
|
+
}, [(b(!0), p(l, null, S(sr.value, (e, t) => (b(), p("g", null, [e.value >= Y.value.min && e.value <= Y.value.max ? (b(), p("line", {
|
|
1159
1159
|
key: 0,
|
|
1160
1160
|
x1: U.value ? W.value.right : W.value.left,
|
|
1161
1161
|
x2: U.value ? W.value.right + 5 : W.value.left - 5,
|
|
@@ -1163,7 +1163,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1163
1163
|
y2: e.y,
|
|
1164
1164
|
stroke: I.value.style.chart.layout.grid.stroke,
|
|
1165
1165
|
"stroke-width": I.value.style.chart.layout.grid.strokeWidth
|
|
1166
|
-
}, null, 8,
|
|
1166
|
+
}, null, 8, yt)) : f("", !0), e.value >= Y.value.min && e.value <= Y.value.max ? (b(), p("text", {
|
|
1167
1167
|
key: 1,
|
|
1168
1168
|
x: U.value ? W.value.right - I.value.style.chart.layout.grid.yAxis.dataLabels.offsetX + 7 : W.value.left + I.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
|
|
1169
1169
|
y: e.y + I.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
|
|
@@ -1171,7 +1171,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1171
1171
|
"text-anchor": U.value ? "start" : "end",
|
|
1172
1172
|
fill: I.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
1173
1173
|
"font-weight": I.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
1174
|
-
}, T(
|
|
1174
|
+
}, w(T(ae)(e.value) ? T(le)(I.value.style.chart.layout.dataLabels.formatter, e.value, T(s)({
|
|
1175
1175
|
p: I.value.style.chart.layout.dataLabels.prefix,
|
|
1176
1176
|
v: e.value,
|
|
1177
1177
|
s: I.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -1179,39 +1179,39 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1179
1179
|
}), {
|
|
1180
1180
|
datapoint: e,
|
|
1181
1181
|
seriesIndex: t
|
|
1182
|
-
}) : ""), 9,
|
|
1183
|
-
I.value.style.chart.layout.grid.xAxis.dataLabels.show ? (
|
|
1182
|
+
}) : ""), 9, bt)) : f("", !0)]))), 256))], 2)) : f("", !0),
|
|
1183
|
+
I.value.style.chart.layout.grid.xAxis.dataLabels.show ? (b(), p("g", {
|
|
1184
1184
|
key: 3,
|
|
1185
1185
|
ref_key: "timeLabelsEls",
|
|
1186
|
-
ref:
|
|
1187
|
-
class:
|
|
1188
|
-
}, [(
|
|
1186
|
+
ref: pn,
|
|
1187
|
+
class: _({ "donut-opacity": !0 })
|
|
1188
|
+
}, [(b(!0), p(l, null, S(z.value.end - z.value.start, (e, t) => (b(), p("g", null, [(I.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (t === 0 || t === K.value - 1) || !I.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && q.value[t] && q.value[t].text ? (b(), p("g", xt, [String(q.value[t].text).includes("\n") ? (b(), p("text", {
|
|
1189
1189
|
key: 1,
|
|
1190
1190
|
class: "vue-data-ui-time-label",
|
|
1191
1191
|
"text-anchor": I.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : I.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
1192
1192
|
"font-size": I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
1193
1193
|
fill: I.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
1194
|
-
transform: `translate(${W.value.left + J.value *
|
|
1195
|
-
innerHTML:
|
|
1196
|
-
content: String(q.value[
|
|
1194
|
+
transform: `translate(${W.value.left + J.value * t + J.value / 2}, ${W.value.bottom + I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${I.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
|
|
1195
|
+
innerHTML: T(n)({
|
|
1196
|
+
content: String(q.value[t].text),
|
|
1197
1197
|
fontSize: I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
1198
1198
|
fill: I.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
1199
1199
|
x: 0,
|
|
1200
1200
|
y: 0
|
|
1201
1201
|
})
|
|
1202
|
-
}, null, 8,
|
|
1202
|
+
}, null, 8, Ct)) : (b(), p("text", {
|
|
1203
1203
|
key: 0,
|
|
1204
1204
|
class: "vue-data-ui-time-label",
|
|
1205
1205
|
"text-anchor": I.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : I.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
1206
1206
|
"font-size": I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
1207
1207
|
fill: I.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
1208
|
-
transform: `translate(${W.value.left + J.value *
|
|
1209
|
-
},
|
|
1210
|
-
(
|
|
1208
|
+
transform: `translate(${W.value.left + J.value * t + J.value / 2}, ${W.value.bottom + I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${I.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
1209
|
+
}, w(q.value[t].text || ""), 9, St))])) : f("", !0)]))), 256))], 512)) : f("", !0),
|
|
1210
|
+
(b(!0), p(l, null, S(X.value, (e, t) => (b(), p("g", null, [I.value.style.chart.layout.line.show && t < X.value.length - 1 && ![e.subtotal, X.value[t + 1].subtotal].includes(null) ? (b(), p("line", {
|
|
1211
1211
|
key: 0,
|
|
1212
|
-
class:
|
|
1212
|
+
class: _({
|
|
1213
1213
|
"donut-opacity": !0,
|
|
1214
|
-
"donut-behind":
|
|
1214
|
+
"donut-behind": A.value !== null
|
|
1215
1215
|
}),
|
|
1216
1216
|
x1: e.x,
|
|
1217
1217
|
y1: e.y,
|
|
@@ -1221,20 +1221,20 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1221
1221
|
"stroke-width": I.value.style.chart.layout.line.strokeWidth,
|
|
1222
1222
|
"stroke-linecap": "round",
|
|
1223
1223
|
"stroke-linejoin": "round"
|
|
1224
|
-
}, null, 10,
|
|
1224
|
+
}, null, 10, wt)) : f("", !0), e.subtotal === null ? f("", !0) : (b(), p("g", Tt, [e.subtotal ? (b(), p("circle", {
|
|
1225
1225
|
key: 0,
|
|
1226
1226
|
cx: e.x,
|
|
1227
1227
|
cy: e.y,
|
|
1228
1228
|
r: e.activeRadius,
|
|
1229
1229
|
fill: I.value.style.chart.backgroundColor
|
|
1230
|
-
}, null, 8,
|
|
1231
|
-
(
|
|
1230
|
+
}, null, 8, Et)) : f("", !0)]))]))), 256)),
|
|
1231
|
+
(b(!0), p(l, null, S(X.value, (e, t) => (b(), p("g", { class: _({
|
|
1232
1232
|
"donut-opacity": !0,
|
|
1233
|
-
"donut-behind": t !==
|
|
1234
|
-
}) }, [e.subtotal ? (
|
|
1235
|
-
(
|
|
1233
|
+
"donut-behind": t !== A.value && A.value !== null
|
|
1234
|
+
}) }, [e.subtotal ? (b(), p("g", Dt, [A.value !== null && A.value === t ? (b(), p("g", Ot, [
|
|
1235
|
+
(b(!0), p(l, null, S(e.donutHover, (t) => (b(), p("g", null, [Dr(t) ? (b(), p("path", {
|
|
1236
1236
|
key: 0,
|
|
1237
|
-
d:
|
|
1237
|
+
d: T(de)(t, {
|
|
1238
1238
|
x: t.center.endX,
|
|
1239
1239
|
y: t.center.endY
|
|
1240
1240
|
}, 12, 12, {
|
|
@@ -1246,66 +1246,66 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1246
1246
|
"stroke-linecap": "round",
|
|
1247
1247
|
"stroke-linejoin": "round",
|
|
1248
1248
|
fill: "none"
|
|
1249
|
-
}, null, 8,
|
|
1250
|
-
(
|
|
1249
|
+
}, null, 8, kt)) : f("", !0)]))), 256)),
|
|
1250
|
+
(b(!0), p(l, null, S(e.donutHover, (t, n) => (b(), p("g", null, [Dr(t) ? (b(), p("text", {
|
|
1251
1251
|
key: 0,
|
|
1252
1252
|
"data-cy-hover-label": "",
|
|
1253
|
-
"text-anchor":
|
|
1254
|
-
x:
|
|
1255
|
-
y:
|
|
1253
|
+
"text-anchor": T(me)(t, !0, 0).anchor,
|
|
1254
|
+
x: T(me)(t, !0, 9).x,
|
|
1255
|
+
y: T(oe)(t, 14, 10),
|
|
1256
1256
|
fill: I.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
1257
1257
|
"font-size": 8,
|
|
1258
1258
|
"font-weight": "bold"
|
|
1259
|
-
},
|
|
1260
|
-
|
|
1259
|
+
}, w(t.name) + ": " + w(lr(t, e.donut)) + " (" + w(t.value === null ? "-" : cr(t.value, t, n)) + ") ", 9, At)) : f("", !0)]))), 256)),
|
|
1260
|
+
m("g", null, [m("circle", {
|
|
1261
1261
|
cx: e.x,
|
|
1262
1262
|
cy: e.y,
|
|
1263
1263
|
r: e.hoverRadius,
|
|
1264
1264
|
fill: I.value.style.chart.backgroundColor
|
|
1265
|
-
}, null, 8,
|
|
1266
|
-
])) :
|
|
1267
|
-
(
|
|
1265
|
+
}, null, 8, jt)])
|
|
1266
|
+
])) : f("", !0)])) : f("", !0)], 2))), 256)),
|
|
1267
|
+
(b(!0), p(l, null, S(X.value, (e, t) => (b(), p("g", { class: _({
|
|
1268
1268
|
"donut-opacity": !0,
|
|
1269
|
-
"donut-behind": t !==
|
|
1270
|
-
}) }, [e.subtotal === null ?
|
|
1269
|
+
"donut-behind": t !== A.value && A.value !== null
|
|
1270
|
+
}) }, [e.subtotal === null ? f("", !0) : (b(), p("g", Mt, [e.subtotal === 0 ? (b(), p("circle", {
|
|
1271
1271
|
key: 0,
|
|
1272
1272
|
cx: e.x,
|
|
1273
1273
|
cy: e.y,
|
|
1274
1274
|
r: 3,
|
|
1275
1275
|
fill: I.value.style.chart.color
|
|
1276
|
-
}, null, 8,
|
|
1276
|
+
}, null, 8, Nt)) : A.value !== null && A.value === t ? (b(), p("g", Pt, [(b(!0), p(l, null, S(e.donutHover, (e, t) => (b(), p("path", {
|
|
1277
1277
|
d: e.arcSlice,
|
|
1278
1278
|
fill: `${e.color}`,
|
|
1279
1279
|
"stroke-width": 1,
|
|
1280
1280
|
stroke: I.value.style.chart.backgroundColor
|
|
1281
|
-
}, null, 8,
|
|
1281
|
+
}, null, 8, Ft))), 256))])) : (b(), p("g", It, [(b(!0), p(l, null, S(e.donut, (e, t) => (b(), p("path", {
|
|
1282
1282
|
d: e.arcSlice,
|
|
1283
1283
|
fill: `${e.color}`,
|
|
1284
1284
|
"stroke-width": .5,
|
|
1285
1285
|
stroke: I.value.style.chart.backgroundColor
|
|
1286
|
-
}, null, 8,
|
|
1287
|
-
(
|
|
1286
|
+
}, null, 8, Lt))), 256))]))]))], 2))), 256)),
|
|
1287
|
+
(b(!0), p(l, null, S(X.value, (e, t) => (b(), p("g", { class: _({
|
|
1288
1288
|
"donut-opacity": !0,
|
|
1289
|
-
"donut-behind": t !==
|
|
1290
|
-
}) }, [e.subtotal !== null && I.value.style.chart.layout.dataLabels.show ? (
|
|
1289
|
+
"donut-behind": t !== A.value && A.value !== null || an.value && t !== M.value.index
|
|
1290
|
+
}) }, [e.subtotal !== null && I.value.style.chart.layout.dataLabels.show ? (b(), p("text", {
|
|
1291
1291
|
key: 0,
|
|
1292
1292
|
"text-anchor": "middle",
|
|
1293
1293
|
x: e.x,
|
|
1294
|
-
y:
|
|
1294
|
+
y: A.value === e.index && e.subtotal ? e.y + I.value.style.chart.layout.dataLabels.fontSize / 3 : e.y - e.radius - I.value.style.chart.layout.dataLabels.fontSize + I.value.style.chart.layout.dataLabels.offsetY,
|
|
1295
1295
|
"font-size": I.value.style.chart.layout.dataLabels.fontSize,
|
|
1296
1296
|
"font-weight": "bold",
|
|
1297
1297
|
fill: I.value.style.chart.layout.dataLabels.color
|
|
1298
|
-
},
|
|
1299
|
-
(
|
|
1298
|
+
}, w(cr(e.subtotal, e, t)), 9, Rt)) : f("", !0)], 2))), 256)),
|
|
1299
|
+
(b(!0), p(l, null, S(X.value, (e, t) => (b(), p("rect", {
|
|
1300
1300
|
x: W.value.left + t * J.value,
|
|
1301
1301
|
y: W.value.top,
|
|
1302
1302
|
width: J.value,
|
|
1303
1303
|
height: W.value.height,
|
|
1304
|
-
fill: [
|
|
1305
|
-
class:
|
|
1304
|
+
fill: [A.value, fr.value].includes(e.index) ? `url(#hover_${O.value})` : "transparent",
|
|
1305
|
+
class: _({ "donut-hover": L.value && e.subtotal && [A.value, fr.value].includes(e.index) }),
|
|
1306
1306
|
style: { pointerEvents: "none" }
|
|
1307
|
-
}, null, 10,
|
|
1308
|
-
(
|
|
1307
|
+
}, null, 10, zt))), 256)),
|
|
1308
|
+
(b(!0), p(l, null, S(X.value, (e, t) => (b(), p("rect", {
|
|
1309
1309
|
"data-cy-trap": "",
|
|
1310
1310
|
x: W.value.left + t * J.value,
|
|
1311
1311
|
y: W.value.top,
|
|
@@ -1315,27 +1315,27 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1315
1315
|
onMouseenter: (t) => dr(e),
|
|
1316
1316
|
onMouseleave: (t) => ur(e),
|
|
1317
1317
|
onClick: (n) => pr(e, t),
|
|
1318
|
-
class:
|
|
1319
|
-
}, null, 42,
|
|
1320
|
-
|
|
1318
|
+
class: _({ "donut-hover": L.value && A.value === e.index && e.subtotal })
|
|
1319
|
+
}, null, 42, Bt))), 256)),
|
|
1320
|
+
C(e.$slots, "svg", { svg: {
|
|
1321
1321
|
...W.value,
|
|
1322
|
-
isPrintingImg:
|
|
1322
|
+
isPrintingImg: T(Kn) || T(qn) || vn.value,
|
|
1323
1323
|
isPrintingSvg: yn.value
|
|
1324
1324
|
} }, void 0, !0)
|
|
1325
|
-
], 46,
|
|
1325
|
+
], 46, rt)), e.$slots.hint ? (b(), p("div", Vt, [C(e.$slots, "hint", v(g({
|
|
1326
1326
|
hint: I.value.a11y.translations.keyboardNavigation,
|
|
1327
1327
|
isVisible: kn.value
|
|
1328
|
-
})), void 0, !0)])) :
|
|
1329
|
-
e.$slots.watermark ? (
|
|
1330
|
-
|
|
1328
|
+
})), void 0, !0)])) : f("", !0)]),
|
|
1329
|
+
e.$slots.watermark ? (b(), p("div", Ht, [C(e.$slots, "watermark", v(g({ isPrinting: T(Kn) || T(qn) || vn.value || yn.value })), void 0, !0)])) : f("", !0),
|
|
1330
|
+
m("div", {
|
|
1331
1331
|
ref_key: "chartSlicer",
|
|
1332
1332
|
ref: wn,
|
|
1333
|
-
style:
|
|
1333
|
+
style: y(`width:100%;background:${I.value.style.chart.backgroundColor}`),
|
|
1334
1334
|
"data-dom-to-png-ignore": ""
|
|
1335
|
-
}, [K.value > 1 && I.value.style.chart.zoom.show ? (
|
|
1335
|
+
}, [K.value > 1 && I.value.style.chart.zoom.show ? (b(), d(Re, {
|
|
1336
1336
|
ref_key: "slicerComponent",
|
|
1337
1337
|
ref: Cn,
|
|
1338
|
-
key: `slicer_${
|
|
1338
|
+
key: `slicer_${cn.value}`,
|
|
1339
1339
|
background: I.value.style.chart.zoom.color,
|
|
1340
1340
|
borderColor: I.value.style.chart.backgroundColor,
|
|
1341
1341
|
fontSize: I.value.style.chart.zoom.fontSize,
|
|
@@ -1350,9 +1350,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1350
1350
|
valueStart: z.value.start,
|
|
1351
1351
|
valueEnd: z.value.end,
|
|
1352
1352
|
start: z.value.start,
|
|
1353
|
-
"onUpdate:start":
|
|
1353
|
+
"onUpdate:start": t[0] ||= (e) => z.value.start = e,
|
|
1354
1354
|
end: z.value.end,
|
|
1355
|
-
"onUpdate:end":
|
|
1355
|
+
"onUpdate:end": t[1] ||= (e) => z.value.end = e,
|
|
1356
1356
|
refreshStartPoint: I.value.style.chart.zoom.startIndex === null ? 0 : I.value.style.chart.zoom.startIndex,
|
|
1357
1357
|
refreshEndPoint: I.value.style.chart.zoom.endIndex === null ? K.value : I.value.style.chart.zoom.endIndex + 1,
|
|
1358
1358
|
enableRangeHandles: I.value.style.chart.zoom.enableRangeHandles,
|
|
@@ -1363,7 +1363,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1363
1363
|
maxWidth: I.value.style.chart.zoom.maxWidth,
|
|
1364
1364
|
onReset: zn
|
|
1365
1365
|
}, {
|
|
1366
|
-
"reset-action":
|
|
1366
|
+
"reset-action": E(({ reset: t }) => [C(e.$slots, "reset-action", v(g({ reset: t })), void 0, !0)]),
|
|
1367
1367
|
_: 3
|
|
1368
1368
|
}, 8, [
|
|
1369
1369
|
"background",
|
|
@@ -1388,63 +1388,63 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1388
1388
|
"focusRangeRatio",
|
|
1389
1389
|
"isCursorPointer",
|
|
1390
1390
|
"maxWidth"
|
|
1391
|
-
])) :
|
|
1392
|
-
|
|
1393
|
-
|
|
1391
|
+
])) : f("", !0)], 4),
|
|
1392
|
+
m("div", { id: `legend-bottom-${O.value}` }, null, 8, Ut),
|
|
1393
|
+
gn.value && (I.value.style.chart.legend.show || e.$slots.legend) ? (b(), d(ze, {
|
|
1394
1394
|
key: 6,
|
|
1395
|
-
to: I.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1396
|
-
}, [
|
|
1395
|
+
to: I.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
|
|
1396
|
+
}, [m("div", {
|
|
1397
1397
|
ref_key: "chartLegend",
|
|
1398
1398
|
ref: xn
|
|
1399
|
-
}, [
|
|
1400
|
-
key: `legend_${
|
|
1401
|
-
legendSet:
|
|
1402
|
-
config:
|
|
1403
|
-
onClickMarker:
|
|
1399
|
+
}, [C(e.$slots, "legend", { legend: mr.value }, () => [I.value.style.chart.legend.show ? (b(), d(Ie, {
|
|
1400
|
+
key: `legend_${dn.value}`,
|
|
1401
|
+
legendSet: mr.value,
|
|
1402
|
+
config: gr.value,
|
|
1403
|
+
onClickMarker: t[2] ||= ({ legend: e }) => vr(e.uid)
|
|
1404
1404
|
}, {
|
|
1405
|
-
item:
|
|
1406
|
-
onClick: (t) =>
|
|
1407
|
-
style:
|
|
1408
|
-
},
|
|
1409
|
-
legendToggle:
|
|
1405
|
+
item: E(({ legend: e, index: t }) => [m("div", {
|
|
1406
|
+
onClick: (t) => vr(e.uid),
|
|
1407
|
+
style: y(`opacity:${k.value.includes(e.uid) ? .5 : 1}`)
|
|
1408
|
+
}, w(e.display), 13, Wt)]),
|
|
1409
|
+
legendToggle: E(() => [mr.value.length > 2 && I.value.style.chart.legend.selectAllToggle.show && !T(Fn) ? (b(), d(Me, {
|
|
1410
1410
|
key: 0,
|
|
1411
1411
|
backgroundColor: I.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1412
1412
|
color: I.value.style.chart.legend.selectAllToggle.color,
|
|
1413
1413
|
fontSize: I.value.style.chart.legend.fontSize,
|
|
1414
|
-
checked:
|
|
1415
|
-
onToggle:
|
|
1414
|
+
checked: k.value.length > 0,
|
|
1415
|
+
onToggle: _r
|
|
1416
1416
|
}, null, 8, [
|
|
1417
1417
|
"backgroundColor",
|
|
1418
1418
|
"color",
|
|
1419
1419
|
"fontSize",
|
|
1420
1420
|
"checked"
|
|
1421
|
-
])) :
|
|
1421
|
+
])) : f("", !0)]),
|
|
1422
1422
|
_: 1
|
|
1423
|
-
}, 8, ["legendSet", "config"])) :
|
|
1424
|
-
e.$slots.source ? (
|
|
1423
|
+
}, 8, ["legendSet", "config"])) : f("", !0)], !0)], 512)], 8, ["to"])) : f("", !0),
|
|
1424
|
+
e.$slots.source ? (b(), p("div", {
|
|
1425
1425
|
key: 7,
|
|
1426
1426
|
ref_key: "source",
|
|
1427
1427
|
ref: Sn,
|
|
1428
1428
|
dir: "auto"
|
|
1429
|
-
}, [
|
|
1430
|
-
jn.value && I.value.userOptions.buttons.table ? (
|
|
1429
|
+
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1430
|
+
jn.value && I.value.userOptions.buttons.table ? (b(), d(qe(Nr.value.component), Ue({ key: 8 }, Nr.value.props, {
|
|
1431
1431
|
ref_key: "tableUnit",
|
|
1432
|
-
ref:
|
|
1432
|
+
ref: P,
|
|
1433
1433
|
onClose: Pr
|
|
1434
|
-
}),
|
|
1435
|
-
content:
|
|
1436
|
-
key: `table_${
|
|
1437
|
-
colNames:
|
|
1438
|
-
head:
|
|
1439
|
-
body:
|
|
1440
|
-
config:
|
|
1434
|
+
}), Be({
|
|
1435
|
+
content: E(() => [(b(), d(T(Yt), {
|
|
1436
|
+
key: `table_${un.value}`,
|
|
1437
|
+
colNames: Z.value.colNames,
|
|
1438
|
+
head: Z.value.head,
|
|
1439
|
+
body: Z.value.body,
|
|
1440
|
+
config: Z.value.config,
|
|
1441
1441
|
title: I.value.table.useDialog ? "" : Nr.value.title,
|
|
1442
1442
|
withCloseButton: !I.value.table.useDialog,
|
|
1443
1443
|
isCursorPointer: L.value,
|
|
1444
1444
|
onClose: Pr
|
|
1445
1445
|
}, {
|
|
1446
|
-
th:
|
|
1447
|
-
td:
|
|
1446
|
+
th: E(({ th: e }) => [Ve(w(e.name ?? e), 1)]),
|
|
1447
|
+
td: E(({ td: e }) => [e.value === null ? (b(), p("span", Gt, "-")) : (b(), p("b", Kt, w(isNaN(e.value) ? "" : I.value.style.chart.layout.dataLabels.prefix) + w(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(I.value.table.td.roundingValue)).toLocaleString() : e) + w(isNaN(e.value) ? "" : I.value.style.chart.layout.dataLabels.suffix), 1)), m("span", null, w(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(I.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
|
|
1448
1448
|
_: 1
|
|
1449
1449
|
}, 8, [
|
|
1450
1450
|
"colNames",
|
|
@@ -1458,41 +1458,41 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1458
1458
|
_: 2
|
|
1459
1459
|
}, [I.value.table.useDialog ? {
|
|
1460
1460
|
name: "title",
|
|
1461
|
-
fn:
|
|
1461
|
+
fn: E(() => [Ve(w(Nr.value.title), 1)]),
|
|
1462
1462
|
key: "0"
|
|
1463
1463
|
} : void 0, I.value.table.useDialog ? {
|
|
1464
1464
|
name: "actions",
|
|
1465
|
-
fn:
|
|
1465
|
+
fn: E(() => [m("button", {
|
|
1466
1466
|
tabindex: "0",
|
|
1467
1467
|
class: "vue-ui-user-options-button",
|
|
1468
|
-
onClick:
|
|
1469
|
-
style:
|
|
1470
|
-
}, [
|
|
1468
|
+
onClick: t[3] ||= (e) => Cr(I.value.userOptions.callbacks.csv),
|
|
1469
|
+
style: y({ cursor: L.value ? "cursor" : "default" })
|
|
1470
|
+
}, [He(T(Jt), {
|
|
1471
1471
|
name: "fileCsv",
|
|
1472
1472
|
stroke: Nr.value.props.color
|
|
1473
1473
|
}, null, 8, ["stroke"])], 4)]),
|
|
1474
1474
|
key: "1"
|
|
1475
|
-
} : void 0]), 1040)) :
|
|
1476
|
-
I.value.style.chart.dialog.show ? (
|
|
1475
|
+
} : void 0]), 1040)) : f("", !0),
|
|
1476
|
+
I.value.style.chart.dialog.show ? (b(), d(T(en), {
|
|
1477
1477
|
key: 9,
|
|
1478
1478
|
ref_key: "dialog",
|
|
1479
1479
|
ref: Ar,
|
|
1480
|
-
onClose:
|
|
1481
|
-
|
|
1480
|
+
onClose: t[4] ||= (e) => {
|
|
1481
|
+
M.value = null, an.value = !1, j.value = null, A.value = null, fr.value = null;
|
|
1482
1482
|
},
|
|
1483
1483
|
backgroundColor: I.value.style.chart.dialog.backgroundColor,
|
|
1484
1484
|
color: I.value.style.chart.dialog.color,
|
|
1485
1485
|
headerBg: I.value.style.chart.dialog.header.backgroundColor,
|
|
1486
1486
|
headerColor: I.value.style.chart.dialog.header.color,
|
|
1487
|
-
isFullscreen:
|
|
1488
|
-
fullscreenParent:
|
|
1487
|
+
isFullscreen: Q.value,
|
|
1488
|
+
fullscreenParent: N.value
|
|
1489
1489
|
}, {
|
|
1490
|
-
title:
|
|
1491
|
-
content:
|
|
1490
|
+
title: E(() => [Ve(w(q.value[Number(M.value.index)] ? q.value[Number(M.value.index)].text : ""), 1)]),
|
|
1491
|
+
content: E(() => [M.value ? (b(), d(T($t), {
|
|
1492
1492
|
key: 0,
|
|
1493
1493
|
config: kr.value,
|
|
1494
1494
|
dataset: Or.value
|
|
1495
|
-
}, null, 8, ["config", "dataset"])) :
|
|
1495
|
+
}, null, 8, ["config", "dataset"])) : f("", !0)]),
|
|
1496
1496
|
_: 1
|
|
1497
1497
|
}, 8, [
|
|
1498
1498
|
"backgroundColor",
|
|
@@ -1501,10 +1501,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
1501
1501
|
"headerColor",
|
|
1502
1502
|
"isFullscreen",
|
|
1503
1503
|
"fullscreenParent"
|
|
1504
|
-
])) :
|
|
1505
|
-
|
|
1506
|
-
], 46,
|
|
1504
|
+
])) : f("", !0),
|
|
1505
|
+
T(Fn) ? (b(), d(Se, { key: 10 })) : f("", !0)
|
|
1506
|
+
], 46, $e));
|
|
1507
1507
|
}
|
|
1508
1508
|
}, [["__scopeId", "data-v-b09f1aa6"]]);
|
|
1509
1509
|
//#endregion
|
|
1510
|
-
export {
|
|
1510
|
+
export { Qe as n, qt as t };
|