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,28 +1,28 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import { B as t,
|
|
3
|
-
import { n 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 { t as
|
|
13
|
-
import { n as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { c 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 { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { Fragment as
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { B as t, Bt as n, Ct as r, Et as a, G as o, H as s, It as c, J as l, Lt as u, Rt as d, S as f, V as p, X as ee, bt as te, et as m, g as ne, h as re, i as h, nt as ie, ot as ae, pt as oe, r as se, s as ce, t as le, x as ue, y as de } from "./lib-DUeYQsS0.js";
|
|
3
|
+
import { n as fe, r as pe, t as me } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
+
import { t as he } from "./useConfig-DAyQk86L.js";
|
|
5
|
+
import { t as ge } from "./usePrinter-C1Gqt_Sp.js";
|
|
6
|
+
import { n as _e, t as ve } from "./BaseScanner-Dr2a1Msy.js";
|
|
7
|
+
import { t as ye } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
+
import { t as be } from "./useNestedProp-CNcoy38D.js";
|
|
9
|
+
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as Se } from "./useStableElementSize-C7KADDKj.js";
|
|
11
|
+
import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
+
import { t as we } from "./img-1cKsci8e.js";
|
|
13
|
+
import { n as Te } from "./Title-NWp4qB4K.js";
|
|
14
|
+
import { t as Ee } from "./Shape-BPCJfphn.js";
|
|
15
|
+
import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
|
+
import { c as Oe } from "./canvas-lib-BOP_HS11.js";
|
|
17
|
+
import { t as ke } from "./useResponsive-BfnK0KxU.js";
|
|
18
|
+
import { t as Ae } from "./SlicerPreview-DdihbUSJ.js";
|
|
19
|
+
import { t as je } from "./BaseLegendToggle-C_Db-y7s.js";
|
|
20
|
+
import { t as Me } from "./A11yDataTable-BCbtxMU6.js";
|
|
21
|
+
import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
|
|
22
|
+
import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
|
|
23
|
+
import { t as Fe } from "./Legend-Cz2uQ5gs.js";
|
|
24
|
+
import { t as Ie } from "./vue_ui_stackbar-COOrQQdK.js";
|
|
25
|
+
import { Fragment as g, Teleport as Le, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as Ve, guardReactiveProps as S, mergeProps as He, nextTick as Ue, normalizeClass as We, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Ge, onMounted as Ke, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as qe, shallowRef as Je, toDisplayString as k, toRefs as Ye, unref as A, useSlots as Xe, watch as Ze, watchEffect as Qe, withCtx as j } from "vue";
|
|
26
26
|
//#region src/components/vue-ui-stackbar.vue
|
|
27
27
|
var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt = ["id"], rt = { style: { position: "relative" } }, it = [
|
|
28
28
|
"xmlns",
|
|
@@ -252,7 +252,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
252
252
|
"width",
|
|
253
253
|
"fill",
|
|
254
254
|
"stroke"
|
|
255
|
-
], Yt = ["id"], Xt = ["onClick"], Zt = ["innerHTML"], Qt = /* @__PURE__ */
|
|
255
|
+
], Yt = ["id"], Xt = ["onClick"], Zt = ["innerHTML"], Qt = /* @__PURE__ */ De({
|
|
256
256
|
__name: "vue-ui-stackbar",
|
|
257
257
|
props: {
|
|
258
258
|
config: {
|
|
@@ -279,18 +279,18 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
279
279
|
"selectX",
|
|
280
280
|
"copyAlt"
|
|
281
281
|
],
|
|
282
|
-
setup(e, { expose:
|
|
283
|
-
let Qt =
|
|
282
|
+
setup(e, { expose: De, emit: $e }) {
|
|
283
|
+
let Qt = Ve(() => import("./Tooltip-BENq327o.js")), $t = Ve(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), en = Ve(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), tn = Ve(() => import("./DataTable-B--IN22e.js")), nn = Ve(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), rn = Ve(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), an = Ve(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), on = Ve(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_stackbar: sn } = he(), { isThemeValid: cn, warnInvalidTheme: ln } = xe(), un = Xe(), M = e, N = $e, dn = _({
|
|
284
284
|
get() {
|
|
285
285
|
return !!M.dataset && M.dataset.length;
|
|
286
286
|
},
|
|
287
287
|
set(e) {
|
|
288
288
|
return e;
|
|
289
289
|
}
|
|
290
|
-
}), P = E(null), F = E(
|
|
290
|
+
}), P = E(null), F = E(s()), fn = E(!1), pn = E(null), mn = E(""), I = E([]), hn = E(0), gn = E(null), _n = E(null), vn = E(null), yn = E(null), bn = E(!1), L = E(null), xn = E(!1), Sn = E(0), Cn = E(0), wn = E(0), Tn = E(!1), En = E(null), Dn = E(null), On = E(!1), kn = E(!1), An = E(null), jn = E(null), Mn = E(null), Nn = E(null), Pn = E(null), Fn = E(null), In = Je(null), Ln = E(!1), Rn = E(0), zn = E(0), R = E(null), Bn = E({
|
|
291
291
|
x: 0,
|
|
292
292
|
y: 0
|
|
293
|
-
}), Vn = E("pointer"), Hn =
|
|
293
|
+
}), Vn = E("pointer"), Hn = Se({
|
|
294
294
|
elementRef: In,
|
|
295
295
|
minimumWidth: 2,
|
|
296
296
|
minimumHeight: 2,
|
|
@@ -318,7 +318,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
318
318
|
Ke(() => {
|
|
319
319
|
Tn.value = !0, Un(), Hn.start(), mr();
|
|
320
320
|
});
|
|
321
|
-
let z = E(rr()), B =
|
|
321
|
+
let z = E(rr()), B = _(() => z.value.userOptions.useCursorPointer), qn = _(() => n({
|
|
322
322
|
defaultConfig: {
|
|
323
323
|
userOptions: { show: !1 },
|
|
324
324
|
useCssAnimation: !1,
|
|
@@ -363,7 +363,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
363
363
|
} }
|
|
364
364
|
},
|
|
365
365
|
userConfig: z.value.skeletonConfig ?? {}
|
|
366
|
-
})), { loading: Jn, FINAL_DATASET: Yn, manualLoading: Xn } =
|
|
366
|
+
})), { loading: Jn, FINAL_DATASET: Yn, manualLoading: Xn } = _e({
|
|
367
367
|
...Ye(M),
|
|
368
368
|
FINAL_CONFIG: z,
|
|
369
369
|
prepareConfig: rr,
|
|
@@ -395,43 +395,44 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
395
395
|
],
|
|
396
396
|
color: "#CACACA"
|
|
397
397
|
}],
|
|
398
|
-
skeletonConfig:
|
|
398
|
+
skeletonConfig: n({
|
|
399
399
|
defaultConfig: z.value,
|
|
400
400
|
userConfig: qn.value
|
|
401
401
|
})
|
|
402
|
-
}), { userOptionsVisible: Zn, setUserOptionsVisibility: Qn, keepUserOptionState: $n } =
|
|
402
|
+
}), { userOptionsVisible: Zn, setUserOptionsVisibility: Qn, keepUserOptionState: $n } = Ne({ config: z.value }), { svgRef: er } = Pe({ config: z.value.style.chart.title });
|
|
403
403
|
function tr() {
|
|
404
404
|
Qn(!0);
|
|
405
405
|
}
|
|
406
406
|
function nr() {
|
|
407
407
|
Qn(!1), N("selectX", {
|
|
408
|
-
|
|
409
|
-
|
|
408
|
+
index: null,
|
|
409
|
+
indexLabel: null,
|
|
410
|
+
dataset: null
|
|
410
411
|
}), L.value = null, R.value = null, fn.value = !1;
|
|
411
412
|
}
|
|
412
413
|
function rr() {
|
|
413
|
-
let e =
|
|
414
|
+
let e = be({
|
|
414
415
|
userConfig: M.config,
|
|
415
416
|
defaultConfig: sn
|
|
416
417
|
}), t = {}, n = e.theme;
|
|
417
418
|
if (n) if (!cn.value(e)) ln(e), t = e;
|
|
418
419
|
else {
|
|
419
|
-
let r =
|
|
420
|
-
userConfig:
|
|
420
|
+
let r = be({
|
|
421
|
+
userConfig: Ie[n] || M.config,
|
|
421
422
|
defaultConfig: e
|
|
422
423
|
});
|
|
423
424
|
t = {
|
|
424
|
-
...
|
|
425
|
+
...be({
|
|
425
426
|
userConfig: M.config,
|
|
426
427
|
defaultConfig: r
|
|
427
428
|
}),
|
|
428
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
429
|
+
customPalette: e.customPalette.length ? e.customPalette : d[n] || a
|
|
429
430
|
};
|
|
430
431
|
}
|
|
431
432
|
else t = e;
|
|
432
433
|
return t;
|
|
433
434
|
}
|
|
434
|
-
let ir =
|
|
435
|
+
let ir = _(() => z.value.style.chart.bars.dataLabels.hideUnderValue != null), ar = _(() => z.value.style.chart.bars.dataLabels.hideUnderPercentage != null);
|
|
435
436
|
Ze(() => M.config, (e) => {
|
|
436
437
|
Jn.value || (z.value = rr()), Zn.value = !z.value.userOptions.showOnChartHover, mr({ resetSlicer: !z.value.style.chart.zoom.keepState }), Sn.value += 1, Cn.value += 1, wn.value += 1, V.value.dataLabels.show = z.value.style.chart.bars.dataLabels.show, V.value.showTable = z.value.table.show, V.value.showTooltip = z.value.style.chart.tooltip.show, Un(), !z.value.style.chart.zoom.keepState || !Li.value || J.value.start === 0 && J.value.end === 0 ? Ri() : kr();
|
|
437
438
|
}, { deep: !0 }), Ze(() => M.dataset, (e) => {
|
|
@@ -449,7 +450,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
449
450
|
showTooltip: z.value.style.chart.tooltip.show
|
|
450
451
|
};
|
|
451
452
|
}, { immediate: !0 });
|
|
452
|
-
let { isPrinting: or, isImaging: sr, generatePdf: cr, generateImage: lr } =
|
|
453
|
+
let { isPrinting: or, isImaging: sr, generatePdf: cr, generateImage: lr } = ge({
|
|
453
454
|
elementId: `stackbar_${F.value}`,
|
|
454
455
|
fileName: z.value.style.chart.title.text || "vue-ui-stackbar",
|
|
455
456
|
options: z.value.userOptions.print
|
|
@@ -462,18 +463,18 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
462
463
|
bottom: z.value.style.chart.padding.bottom / z.value.style.chart.height,
|
|
463
464
|
left: z.value.style.chart.padding.left / z.value.style.chart.width
|
|
464
465
|
}
|
|
465
|
-
}), ur =
|
|
466
|
+
}), ur = _(() => ue(z.value.customPalette)), U = Je(null), dr = Je(null), fr = E(null), pr = _(() => !!z.value.debug);
|
|
466
467
|
function mr({ resetSlicer: e = !0 } = {}) {
|
|
467
|
-
if (
|
|
468
|
+
if (r(M.dataset) ? (ee({
|
|
468
469
|
componentName: "VueUiStackbar",
|
|
469
470
|
type: "dataset",
|
|
470
471
|
debug: pr.value
|
|
471
472
|
}), Xn.value = !0) : M.dataset.forEach((e, t) => {
|
|
472
|
-
|
|
473
|
+
ae({
|
|
473
474
|
datasetObject: e,
|
|
474
475
|
requiredAttributes: ["name", "series"]
|
|
475
476
|
}).forEach((e) => {
|
|
476
|
-
dn.value = !1,
|
|
477
|
+
dn.value = !1, ee({
|
|
477
478
|
componentName: "VueUiStackbar",
|
|
478
479
|
type: "datasetSerieAttribute",
|
|
479
480
|
property: e,
|
|
@@ -481,12 +482,12 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
481
482
|
debug: pr.value
|
|
482
483
|
}), Xn.value = !0;
|
|
483
484
|
});
|
|
484
|
-
}),
|
|
485
|
+
}), r(M.dataset) || (Xn.value = z.value.loading), setTimeout(() => {
|
|
485
486
|
xn.value = !0;
|
|
486
487
|
}, 10), z.value.responsive) {
|
|
487
|
-
let e =
|
|
488
|
+
let e = Oe(() => {
|
|
488
489
|
xn.value = !1;
|
|
489
|
-
let { width: e, height: t } =
|
|
490
|
+
let { width: e, height: t } = ke({
|
|
490
491
|
chart: P.value,
|
|
491
492
|
title: z.value.style.chart.title.text ? gn.value : null,
|
|
492
493
|
legend: z.value.style.chart.legend.show ? _n.value : null,
|
|
@@ -506,7 +507,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
506
507
|
Ge(() => {
|
|
507
508
|
Hn.stop(), U.value && (dr.value && U.value.unobserve(dr.value), U.value.disconnect());
|
|
508
509
|
});
|
|
509
|
-
let W =
|
|
510
|
+
let W = _(() => z.value.style.chart.grid.y.position === "right");
|
|
510
511
|
function hr() {
|
|
511
512
|
let e = 0;
|
|
512
513
|
z.value.orientation === "vertical" && Mn.value && (e = Array.from(Mn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
@@ -524,7 +525,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
524
525
|
yAxisLabelWidth: t
|
|
525
526
|
};
|
|
526
527
|
}
|
|
527
|
-
let gr = E(0), _r = E(0), vr =
|
|
528
|
+
let gr = E(0), _r = E(0), vr = Oe((e) => {
|
|
528
529
|
_r.value = e + z.value.style.chart.bars.totalValues.fontSize;
|
|
529
530
|
}, 100);
|
|
530
531
|
function yr() {
|
|
@@ -585,7 +586,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
585
586
|
Ge(() => {
|
|
586
587
|
xr.value && cancelAnimationFrame(xr.value);
|
|
587
588
|
});
|
|
588
|
-
let wr =
|
|
589
|
+
let wr = _(() => {
|
|
589
590
|
let e = 0;
|
|
590
591
|
if (An.value) try {
|
|
591
592
|
e = An.value.getBBox().height;
|
|
@@ -594,29 +595,29 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
594
595
|
}
|
|
595
596
|
let t = z.value.style.chart.grid.x.timeLabels.show ? br.value : 0;
|
|
596
597
|
return e + t;
|
|
597
|
-
}), G =
|
|
598
|
+
}), G = _(() => {
|
|
598
599
|
Rn.value;
|
|
599
600
|
let { height: e, width: t } = H.value, { right: n } = H.value.paddingRatio, r = z.value.style.chart.bars.totalValues.show && M.dataset && M.dataset.length > 1 ? z.value.style.chart.bars.totalValues.fontSize * 1.3 : 0, a = 0, o = 0, s = 0, c = 0;
|
|
600
601
|
if (z.value.style.chart.grid.y.axisLabels.show) {
|
|
601
602
|
let e = hr();
|
|
602
603
|
a = e.left, o = e.right, s = e.scaleLabelsWidth, c = e.yAxisLabelWidth;
|
|
603
604
|
}
|
|
604
|
-
let l = z.value.style.chart.padding.top + r, u = t - t * n - _r.value - o, d = e - z.value.style.chart.padding.bottom - wr.value - r,
|
|
605
|
+
let l = z.value.style.chart.padding.top + r, u = t - t * n - _r.value - o, d = e - z.value.style.chart.padding.bottom - wr.value - r, f = z.value.style.chart.padding.left + a, p = t - f - t * n - _r.value - o, ee = e - l - z.value.style.chart.padding.bottom - wr.value - r;
|
|
605
606
|
return {
|
|
606
607
|
chartHeight: e,
|
|
607
608
|
chartWidth: t,
|
|
608
609
|
top: l,
|
|
609
610
|
right: u,
|
|
610
611
|
bottom: d,
|
|
611
|
-
left:
|
|
612
|
-
width: Math.max(0,
|
|
613
|
-
height: Math.max(0,
|
|
612
|
+
left: f,
|
|
613
|
+
width: Math.max(0, p),
|
|
614
|
+
height: Math.max(0, ee),
|
|
614
615
|
offsetLeft: a,
|
|
615
616
|
offsetRightAxis: o,
|
|
616
617
|
scaleLabelsWidth: s,
|
|
617
618
|
yAxisLabelWidth: c
|
|
618
619
|
};
|
|
619
|
-
}), Tr =
|
|
620
|
+
}), Tr = _(() => {
|
|
620
621
|
let { left: e, top: t, width: n, height: r } = G.value, a = J.value.start, o = J.value.end, s = Math.max(1, o - a), c = Math.max(0, Math.min(s, (Y.value.start ?? a) - a)), l = Math.max(0, Math.min(s, (Y.value.end ?? o) - a)), u = Math.max(0, l - c), d = {
|
|
621
622
|
fill: z.value.style.chart.zoom.preview.fill,
|
|
622
623
|
stroke: z.value.style.chart.zoom.preview.stroke,
|
|
@@ -649,8 +650,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
649
650
|
...d
|
|
650
651
|
};
|
|
651
652
|
}
|
|
652
|
-
}), K =
|
|
653
|
-
let n = `stackbar_serie_${t}`, r =
|
|
653
|
+
}), K = _(() => Yn.value.map((e, t) => {
|
|
654
|
+
let n = `stackbar_serie_${t}`, r = de(e.color) || ur.value[t] || a[t] || a[t % a.length];
|
|
654
655
|
return {
|
|
655
656
|
...e,
|
|
656
657
|
series: JSON.parse(JSON.stringify(e.series)).map((e) => z.value.style.chart.bars.distributed ? Math.abs(e) : e),
|
|
@@ -659,7 +660,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
659
660
|
id: n,
|
|
660
661
|
color: r
|
|
661
662
|
};
|
|
662
|
-
})), q =
|
|
663
|
+
})), q = _(() => {
|
|
663
664
|
let e = Math.max(...K.value.filter((e) => !I.value.includes(e.id)).map((e) => e.series.length));
|
|
664
665
|
return isFinite(e) ? e : Math.max(...K.value.map((e) => e.series.length));
|
|
665
666
|
});
|
|
@@ -672,7 +673,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
672
673
|
}), Y = E({
|
|
673
674
|
start: 0,
|
|
674
675
|
end: Math.max(...Yn.value.map((e) => e.series.length))
|
|
675
|
-
}), Dr =
|
|
676
|
+
}), Dr = _(() => z.value.style.chart.zoom.preview.enable && (Y.value.start !== J.value.start || Y.value.end !== J.value.end));
|
|
676
677
|
function Or(e, t) {
|
|
677
678
|
Y.value[e] = t;
|
|
678
679
|
}
|
|
@@ -696,40 +697,40 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
696
697
|
await jr(), Ri();
|
|
697
698
|
});
|
|
698
699
|
}
|
|
699
|
-
let X =
|
|
700
|
+
let X = _(() => {
|
|
700
701
|
let e;
|
|
701
702
|
return e = z.value.orientation === "vertical" ? G.value.width / (J.value.end - J.value.start) : G.value.height / (J.value.end - J.value.start), e <= 0 ? 0 : e;
|
|
702
|
-
}), Nr =
|
|
703
|
+
}), Nr = _(() => c(K.value.filter((e) => !I.value.includes(e.id))).slice(J.value.start, J.value.end)), Pr = _(() => I.value.length === K.value.length), Fr = _(() => z.value.style.chart.zoom.minimap.show ? c(K.value.map((e) => ({
|
|
703
704
|
...e,
|
|
704
705
|
series: e.series.map((e) => e ?? 0)
|
|
705
|
-
})).filter((e) => Pr.value ? !0 : !I.value.includes(e.id))) : []), Ir =
|
|
706
|
+
})).filter((e) => Pr.value ? !0 : !I.value.includes(e.id))) : []), Ir = _(() => z.value.style.chart.zoom.minimap.show ? [{
|
|
706
707
|
name: "",
|
|
707
708
|
series: Fr.value,
|
|
708
709
|
color: "#000000",
|
|
709
710
|
isVisible: !0
|
|
710
|
-
}] : []), Lr =
|
|
711
|
+
}] : []), Lr = _(() => c(K.value.filter((e) => !I.value.includes(e.id)).map((e) => ({
|
|
711
712
|
...e,
|
|
712
713
|
series: e.series.map((t, n) => e.signedSeries[n] === -1 && t >= 0 ? -t : t)
|
|
713
|
-
}))).slice(J.value.start, J.value.end)), Rr =
|
|
714
|
+
}))).slice(J.value.start, J.value.end)), Rr = _(() => {
|
|
714
715
|
let e = K.value.filter((e) => !I.value.includes(e.id));
|
|
715
716
|
return {
|
|
716
|
-
positive:
|
|
717
|
+
positive: c(e.map((e) => ({
|
|
717
718
|
...e,
|
|
718
719
|
series: e.series.slice(J.value.start, J.value.end).map((e) => e >= 0 ? e : 0)
|
|
719
720
|
}))),
|
|
720
|
-
negative:
|
|
721
|
+
negative: c(e.map((e) => ({
|
|
721
722
|
...e,
|
|
722
723
|
series: e.series.slice(J.value.start, J.value.end).map((e) => e < 0 ? e : 0)
|
|
723
724
|
})))
|
|
724
725
|
};
|
|
725
|
-
}), Z =
|
|
726
|
+
}), Z = _(() => {
|
|
726
727
|
let e = z.value.style.chart.grid.scale.scaleMax !== null && !z.value.style.chart.bars.distributed ? z.value.style.chart.grid.scale.scaleMax : Math.max(...Rr.value.positive), t = Math.min(...Rr.value.negative), n = z.value.style.chart.grid.scale.scaleMin !== null && !z.value.style.chart.bars.distributed ? z.value.style.chart.grid.scale.scaleMin : [
|
|
727
728
|
-Infinity,
|
|
728
729
|
Infinity,
|
|
729
730
|
NaN,
|
|
730
731
|
void 0,
|
|
731
732
|
null
|
|
732
|
-
].includes(t) ? 0 : t, r = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ?
|
|
733
|
+
].includes(t) ? 0 : t, r = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? ne(n > 0 ? 0 : n, e < 0 ? 0 : e, z.value.style.chart.grid.scale.ticks) : re(n > 0 ? 0 : n, e < 0 ? 0 : e, z.value.style.chart.grid.scale.ticks);
|
|
733
734
|
return r.ticks.map((e) => ({
|
|
734
735
|
zero: G.value.bottom - G.value.height * (Math.abs(r.min) / (r.max + Math.abs(r.min))),
|
|
735
736
|
y: G.value.bottom - G.value.height * ((e + Math.abs(r.min)) / (r.max + Math.abs(r.min))),
|
|
@@ -743,7 +744,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
743
744
|
Qe(() => {
|
|
744
745
|
let e = ++Br;
|
|
745
746
|
(async () => {
|
|
746
|
-
let t = await
|
|
747
|
+
let t = await me({
|
|
747
748
|
values: z.value.style.chart.grid.x.timeLabels.values,
|
|
748
749
|
maxDatapoints: q.value,
|
|
749
750
|
formatter: z.value.style.chart.grid.x.timeLabels.datetimeFormatter,
|
|
@@ -757,7 +758,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
757
758
|
Qe(() => {
|
|
758
759
|
let e = ++Vr;
|
|
759
760
|
(async () => {
|
|
760
|
-
let t = await
|
|
761
|
+
let t = await me({
|
|
761
762
|
values: z.value.style.chart.grid.x.timeLabels.values,
|
|
762
763
|
maxDatapoints: q.value,
|
|
763
764
|
formatter: z.value.style.chart.grid.x.timeLabels.datetimeFormatter,
|
|
@@ -767,12 +768,12 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
767
768
|
e === Vr && (zr.value = t);
|
|
768
769
|
})();
|
|
769
770
|
});
|
|
770
|
-
let Hr =
|
|
771
|
+
let Hr = _(() => {
|
|
771
772
|
let e = z.value.style.chart.grid.x.timeLabels.modulo;
|
|
772
773
|
return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
|
|
773
|
-
}), Ur =
|
|
774
|
+
}), Ur = _(() => {
|
|
774
775
|
let e = z.value.style.chart.grid.x.timeLabels, t = Q.value || [], n = zr.value || [], r = J.value.start ?? 0, a = L.value, o = q.value, s = t.map((e) => e?.text ?? ""), c = n.map((e) => e?.text ?? "");
|
|
775
|
-
return
|
|
776
|
+
return ce(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Hr.value || 1), s, c, r, a, o);
|
|
776
777
|
});
|
|
777
778
|
Qe(() => {
|
|
778
779
|
z.value.orientation, z.value.style.chart.grid.x.timeLabels.show, z.value.style.chart.grid.x.timeLabels.fontSize, z.value.style.chart.grid.x.timeLabels.rotation, z.value.style.chart.grid.x.timeLabels.offsetY, Ur.value?.map((e) => e?.text ?? "").join("|"), Z.value?.map((e) => e?.value ?? "").join("|"), H.value.width, H.value.height, Nn.value, Mn.value, An.value, Cr();
|
|
@@ -786,12 +787,12 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
786
787
|
Qe(() => {
|
|
787
788
|
let e = ++Gr, t = z.value.style.chart.grid.x.timeLabels.datetimeFormatter;
|
|
788
789
|
(async () => {
|
|
789
|
-
let n = await
|
|
790
|
+
let n = await pe(t.locale).catch(() => pe("en"));
|
|
790
791
|
e === Gr && (Wr.value = n.data);
|
|
791
792
|
})();
|
|
792
793
|
});
|
|
793
|
-
let Kr =
|
|
794
|
-
let e = z.value.style.chart.grid.x.timeLabels.datetimeFormatter, t =
|
|
794
|
+
let Kr = _(() => {
|
|
795
|
+
let e = z.value.style.chart.grid.x.timeLabels.datetimeFormatter, t = fe({
|
|
795
796
|
useUTC: e.useUTC,
|
|
796
797
|
locale: Wr.value,
|
|
797
798
|
januaryAsYear: e.januaryAsYear
|
|
@@ -800,13 +801,13 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
800
801
|
let r = z.value.style.chart.grid.x.timeLabels.values?.[e];
|
|
801
802
|
return r == null ? "" : t.formatDate(new Date(r), n);
|
|
802
803
|
};
|
|
803
|
-
}), qr =
|
|
804
|
+
}), qr = _(() => (z.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
|
|
804
805
|
text: Kr.value(t, z.value.style.chart.zoom.timeFormat),
|
|
805
806
|
absoluteIndex: t
|
|
806
|
-
}))), Jr =
|
|
807
|
+
}))), Jr = _(() => (z.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
|
|
807
808
|
text: Kr.value(t, z.value.style.chart.tooltip.timeFormat),
|
|
808
809
|
absoluteIndex: t
|
|
809
|
-
}))), $ =
|
|
810
|
+
}))), $ = _(() => {
|
|
810
811
|
if (!dn.value && !Jn.value) return [];
|
|
811
812
|
let e = Array(q.value).fill(0), t = Array(q.value).fill(0), n = Array(q.value).fill(0), r = Array(q.value).fill(0), a = Math.max(...Rr.value.positive) || 0, o = Math.min(...Rr.value.negative), s = [
|
|
812
813
|
-Infinity,
|
|
@@ -814,83 +815,83 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
814
815
|
NaN,
|
|
815
816
|
void 0,
|
|
816
817
|
null
|
|
817
|
-
].includes(o) ? 0 : o, { min: c, max: l } = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ?
|
|
818
|
+
].includes(o) ? 0 : o, { min: c, max: l } = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? ne(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks) : re(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, p = Z.value[0] ? Z.value[0].zero : G.value.bottom, ee = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, te = Array(Fr.value.length).fill(0), m = Array(Fr.value.length).fill(0);
|
|
818
819
|
return K.value.filter((e) => !I.value.includes(e.id)).map((a) => {
|
|
819
|
-
let o = a.series.slice(), s = o.map((e, t) =>
|
|
820
|
+
let o = a.series.slice(), s = o.map((e, t) => te[t]), c = o.map((e, t) => m[t]);
|
|
820
821
|
o.forEach((e, t) => {
|
|
821
|
-
(Number(e) || 0) >= 0 ?
|
|
822
|
+
(Number(e) || 0) >= 0 ? te[t] += Number(e) || 0 : m[t] += Math.abs(Number(e) || 0);
|
|
822
823
|
});
|
|
823
|
-
let l = a.series.slice(J.value.start, J.value.end),
|
|
824
|
-
function
|
|
825
|
-
let t = 1e-9, n =
|
|
826
|
-
if (n &&
|
|
827
|
-
let n = Math.max(
|
|
824
|
+
let l = a.series.slice(J.value.start, J.value.end), ne = a.signedSeries.slice(J.value.start, J.value.end), re = l.map((e, t) => G.value.left + X.value * t + X.value * z.value.style.chart.bars.gapRatio / 4), h = (Fr.value || []).filter(Number.isFinite), ie = h.length ? Math.max(...h) : 0, ae = h.length ? Math.min(...h) : 0;
|
|
825
|
+
function oe({ minimapH: e }) {
|
|
826
|
+
let t = 1e-9, n = ie > 0;
|
|
827
|
+
if (n && ae < 0) {
|
|
828
|
+
let n = Math.max(ie, Math.abs(ae)) || t;
|
|
828
829
|
return {
|
|
829
830
|
pxPerUnit: e / 2 / n,
|
|
830
831
|
zero: e / 2
|
|
831
832
|
};
|
|
832
833
|
}
|
|
833
834
|
return n ? {
|
|
834
|
-
pxPerUnit: e / Math.max(t,
|
|
835
|
+
pxPerUnit: e / Math.max(t, ie),
|
|
835
836
|
zero: e
|
|
836
837
|
} : {
|
|
837
|
-
pxPerUnit: e / Math.max(t, Math.abs(
|
|
838
|
+
pxPerUnit: e / Math.max(t, Math.abs(ae)),
|
|
838
839
|
zero: 0
|
|
839
840
|
};
|
|
840
841
|
}
|
|
841
|
-
let
|
|
842
|
+
let se = ({ left: e, unitW: t }) => {
|
|
842
843
|
let n = t * (z.value.style.chart.bars.gapRatio / 4);
|
|
843
844
|
return o.map((r, a) => e + t * a + n);
|
|
844
|
-
},
|
|
845
|
+
}, ce = l.map((e, t) => G.value.top + X.value * t + X.value * z.value.style.chart.bars.gapRatio / 4), le = l.map((t, r) => {
|
|
845
846
|
let a = z.value.style.chart.bars.distributed ? (t || 0) / Nr.value[r] : (t || 0) / u, o, s;
|
|
846
|
-
return t > 0 ? (s = d * a, o =
|
|
847
|
-
}),
|
|
847
|
+
return t > 0 ? (s = d * a, o = p - s - e[r], e[r] += s) : (s = d * a, o = p + n[r], n[r] += Math.abs(s)), o;
|
|
848
|
+
}), ue = ({ minimapH: e }) => {
|
|
848
849
|
if (z.value.style.chart.bars.distributed) return o.map((t, n) => {
|
|
849
850
|
let r = Math.abs(Number(t) || 0), a = Math.abs(Fr.value?.[n] || 0) || 1e-9;
|
|
850
851
|
return e - (s[n] + r) / a * e;
|
|
851
852
|
});
|
|
852
|
-
let { pxPerUnit: t, zero: n } =
|
|
853
|
+
let { pxPerUnit: t, zero: n } = oe({ minimapH: e });
|
|
853
854
|
return o.map((e, r) => {
|
|
854
855
|
let a = Number(e) || 0;
|
|
855
856
|
return a >= 0 ? n - (s[r] + a) * t : n + c[r] * t;
|
|
856
857
|
});
|
|
857
|
-
},
|
|
858
|
+
}, de = l.map((e, n) => {
|
|
858
859
|
let a = z.value.style.chart.bars.distributed ? (e || 0) / Nr.value[n] : (e || 0) / u, o, s;
|
|
859
|
-
return e > 0 ? (s =
|
|
860
|
-
}),
|
|
860
|
+
return e > 0 ? (s = f * a, o = ee + t[n], t[n] += s) : (s = f * a, o = ee - Math.abs(s) - r[n], r[n] += Math.abs(s)), o;
|
|
861
|
+
}), fe = l.map((e, t) => {
|
|
861
862
|
let n = z.value.style.chart.bars.distributed ? (e || 0) / Nr.value[t] : (e || 0) / u;
|
|
862
863
|
return e > 0 ? d * n : d * Math.abs(n);
|
|
863
|
-
}),
|
|
864
|
+
}), pe = ({ minimapH: e }) => {
|
|
864
865
|
if (z.value.style.chart.bars.distributed) return o.map((t, n) => Math.abs(Number(t) || 0) / (Math.abs(Fr.value?.[n] || 0) || 1e-9) * e);
|
|
865
|
-
let { pxPerUnit: t } =
|
|
866
|
+
let { pxPerUnit: t } = oe({ minimapH: e });
|
|
866
867
|
return o.map((e) => Math.abs(Number(e) || 0) * t);
|
|
867
|
-
},
|
|
868
|
+
}, me = l.map((e, t) => {
|
|
868
869
|
let n = z.value.style.chart.bars.distributed ? (e || 0) / Nr.value[t] : (e || 0) / u;
|
|
869
|
-
return e > 0 ?
|
|
870
|
-
}),
|
|
870
|
+
return e > 0 ? f * n : f * Math.abs(n);
|
|
871
|
+
}), he = l.map((e) => Math.abs(e)).reduce((e, t) => e + t, 0);
|
|
871
872
|
return {
|
|
872
873
|
...a,
|
|
873
|
-
proportions: l.map((e, t) => z.value.style.chart.bars.distributed ? (e || 0) / Nr.value[t] : (e || 0) /
|
|
874
|
+
proportions: l.map((e, t) => z.value.style.chart.bars.distributed ? (e || 0) / Nr.value[t] : (e || 0) / he),
|
|
874
875
|
series: l,
|
|
875
|
-
signedSeries:
|
|
876
|
-
x:
|
|
877
|
-
y:
|
|
878
|
-
height:
|
|
879
|
-
horizontal_width:
|
|
880
|
-
horizontal_y:
|
|
881
|
-
horizontal_x:
|
|
882
|
-
xMinimap:
|
|
883
|
-
yMinimap:
|
|
884
|
-
heightMinimap:
|
|
876
|
+
signedSeries: ne,
|
|
877
|
+
x: re,
|
|
878
|
+
y: le,
|
|
879
|
+
height: fe,
|
|
880
|
+
horizontal_width: me,
|
|
881
|
+
horizontal_y: ce,
|
|
882
|
+
horizontal_x: de,
|
|
883
|
+
xMinimap: se,
|
|
884
|
+
yMinimap: ue,
|
|
885
|
+
heightMinimap: pe
|
|
885
886
|
};
|
|
886
887
|
});
|
|
887
|
-
}), Yr =
|
|
888
|
+
}), Yr = _(() => Lr.value.map((e, t) => ({
|
|
888
889
|
value: e,
|
|
889
890
|
sign: e >= 0 ? 1 : -1
|
|
890
891
|
})));
|
|
891
|
-
function Xr(e, t, n,
|
|
892
|
-
let s =
|
|
893
|
-
return
|
|
892
|
+
function Xr(e, t, n, r, a) {
|
|
893
|
+
let s = a === -1 && e >= 0 ? -e : e;
|
|
894
|
+
return h(z.value.style.chart.bars.dataLabels.formatter, s, o({
|
|
894
895
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
895
896
|
v: s,
|
|
896
897
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -898,18 +899,18 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
898
899
|
}), {
|
|
899
900
|
datapoint: t,
|
|
900
901
|
seriesIndex: n,
|
|
901
|
-
datapointIndex:
|
|
902
|
+
datapointIndex: r
|
|
902
903
|
});
|
|
903
904
|
}
|
|
904
|
-
function Zr(e, t, n,
|
|
905
|
-
return
|
|
905
|
+
function Zr(e, t, n, r) {
|
|
906
|
+
return h(z.value.style.chart.bars.dataLabels.formatter, e, o({
|
|
906
907
|
v: isNaN(e) ? 0 : e,
|
|
907
908
|
s: "%",
|
|
908
909
|
r: z.value.style.chart.bars.dataLabels.rounding
|
|
909
910
|
}), {
|
|
910
911
|
datapoint: t,
|
|
911
912
|
seriesIndex: n,
|
|
912
|
-
datapointIndex:
|
|
913
|
+
datapointIndex: r
|
|
913
914
|
});
|
|
914
915
|
}
|
|
915
916
|
function Qr(e) {
|
|
@@ -949,7 +950,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
949
950
|
}
|
|
950
951
|
fn.value = !1, L.value = null, R.value === e && (R.value = null);
|
|
951
952
|
}
|
|
952
|
-
let ti =
|
|
953
|
+
let ti = _(() => Array(q.value).fill(0).map((e, t) => $r(t)));
|
|
953
954
|
Ze(() => M.selectedXIndex, (e) => {
|
|
954
955
|
if ([null, void 0].includes(M.selectedXIndex)) {
|
|
955
956
|
L.value = null;
|
|
@@ -966,38 +967,38 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
966
967
|
function ri(e, t = "pointer") {
|
|
967
968
|
if (Pr.value) return;
|
|
968
969
|
Vn.value = t, R.value = e, L.value = e, fn.value = !0;
|
|
969
|
-
let n = z.value.style.chart.tooltip.customFormat,
|
|
970
|
+
let n = z.value.style.chart.tooltip.customFormat, r = $r(e);
|
|
970
971
|
Hi({
|
|
971
972
|
seriesIndex: e,
|
|
972
|
-
datapoint:
|
|
973
|
+
datapoint: r
|
|
973
974
|
}), z.value.events.datapointEnter && z.value.events.datapointEnter({
|
|
974
|
-
datapoint:
|
|
975
|
+
datapoint: r,
|
|
975
976
|
seriesIndex: e + J.value.start
|
|
976
977
|
}), pn.value = {
|
|
977
978
|
timeLabel: ni(e),
|
|
978
|
-
datapoint:
|
|
979
|
+
datapoint: r,
|
|
979
980
|
seriesIndex: e,
|
|
980
981
|
config: z.value,
|
|
981
982
|
series: $.value
|
|
982
983
|
};
|
|
983
|
-
let
|
|
984
|
-
if (
|
|
984
|
+
let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), s = r.map((e) => m(e.value)).reduce((e, t) => e + t, 0);
|
|
985
|
+
if (oe(n) && ie(() => n({
|
|
985
986
|
seriesIndex: e,
|
|
986
|
-
datapoint:
|
|
987
|
+
datapoint: r,
|
|
987
988
|
series: $.value,
|
|
988
989
|
config: z.value
|
|
989
990
|
}))) mn.value = n({
|
|
990
991
|
seriesIndex: e,
|
|
991
|
-
datapoint:
|
|
992
|
+
datapoint: r,
|
|
992
993
|
series: $.value,
|
|
993
994
|
config: z.value
|
|
994
995
|
});
|
|
995
996
|
else {
|
|
996
|
-
let { showValue: t, showTotal: n, totalTranslation: c, showPercentage: l, borderColor: u, roundingValue: d, roundingPercentage:
|
|
997
|
-
|
|
997
|
+
let { showValue: t, showTotal: n, totalTranslation: c, showPercentage: l, borderColor: u, roundingValue: d, roundingPercentage: f } = z.value.style.chart.tooltip, p = "", ee = ni(e);
|
|
998
|
+
ee && (p += `<div style="width:100%;text-align:center;border-bottom:1px solid ${u};padding-bottom:6px;margin-bottom:3px;">${ee}</div>`), n && (p += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
998
999
|
<span>${c}:</span>
|
|
999
1000
|
<span>
|
|
1000
|
-
${
|
|
1001
|
+
${h(z.value.style.chart.bars.dataLabels.formatter, s, o({
|
|
1001
1002
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1002
1003
|
v: s,
|
|
1003
1004
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -1009,27 +1010,27 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1009
1010
|
</span>
|
|
1010
1011
|
</div>`);
|
|
1011
1012
|
let te = [t && l ? "(" : "", t && l ? ")" : ""];
|
|
1012
|
-
|
|
1013
|
-
|
|
1013
|
+
r.reverse().forEach((e) => {
|
|
1014
|
+
p += `
|
|
1014
1015
|
<div style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
1015
1016
|
<svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${z.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color}"/>${un.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${F.value}_${e.absoluteIndex})"/>` : ""}</svg>
|
|
1016
|
-
${e.name}${t || l ? ":" : ""} ${t ?
|
|
1017
|
+
${e.name}${t || l ? ":" : ""} ${t ? h(z.value.style.chart.bars.dataLabels.formatter, e.value, o({
|
|
1017
1018
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1018
1019
|
v: e.value,
|
|
1019
1020
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
1020
1021
|
r: d
|
|
1021
|
-
}, { datapoint: e })) : ""} ${te[0]}${l ?
|
|
1022
|
-
v: isNaN(e.value /
|
|
1022
|
+
}, { datapoint: e })) : ""} ${te[0]}${l ? o({
|
|
1023
|
+
v: isNaN(e.value / a) ? 0 : Math.abs(e.value) / a * 100,
|
|
1023
1024
|
s: "%",
|
|
1024
|
-
r:
|
|
1025
|
+
r: f
|
|
1025
1026
|
}) : ""}${te[1]}
|
|
1026
1027
|
</div>
|
|
1027
1028
|
`;
|
|
1028
|
-
}), mn.value = `<div>${
|
|
1029
|
+
}), mn.value = `<div>${p}</div>`;
|
|
1029
1030
|
}
|
|
1030
1031
|
}
|
|
1031
|
-
let ii =
|
|
1032
|
-
|
|
1032
|
+
let ii = _(() => H.value.width), ai = _(() => H.value.height);
|
|
1033
|
+
Ce({
|
|
1033
1034
|
timeLabelsEls: z.value.orientation === "vertical" ? Nn : Mn,
|
|
1034
1035
|
timeLabels: Q,
|
|
1035
1036
|
slicer: J,
|
|
@@ -1071,7 +1072,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1071
1072
|
function ui() {
|
|
1072
1073
|
return $.value;
|
|
1073
1074
|
}
|
|
1074
|
-
let di =
|
|
1075
|
+
let di = _(() => {
|
|
1075
1076
|
if ($.value.length === 0) return {
|
|
1076
1077
|
head: [],
|
|
1077
1078
|
body: [],
|
|
@@ -1097,13 +1098,13 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1097
1098
|
[z.value.style.chart.title.text],
|
|
1098
1099
|
[z.value.style.chart.title.subtitle.text],
|
|
1099
1100
|
[""]
|
|
1100
|
-
], n = ["", ...di.value.head.map((e) => e.label)], r = di.value.body, a =
|
|
1101
|
-
e ? e(a) :
|
|
1101
|
+
], n = ["", ...di.value.head.map((e) => e.label)], r = di.value.body, a = f(t.concat([n]).concat(r));
|
|
1102
|
+
e ? e(a) : l({
|
|
1102
1103
|
csvContent: a,
|
|
1103
1104
|
title: z.value.style.chart.title.text || "vue-ui-stackbar"
|
|
1104
1105
|
});
|
|
1105
1106
|
}
|
|
1106
|
-
let pi =
|
|
1107
|
+
let pi = _(() => {
|
|
1107
1108
|
let e = [""].concat($.value.map((e) => e.name), " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>"), t = [], n = J.value.end - J.value.start;
|
|
1108
1109
|
for (let e = 0; e < n; e += 1) {
|
|
1109
1110
|
let n = J.value.start + e, r = $.value.map((t) => t.series[e] ?? 0).reduce((e, t) => e + t, 0);
|
|
@@ -1153,7 +1154,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1153
1154
|
let t = gi(e);
|
|
1154
1155
|
t !== null && (I.value.includes(t.id) || hi({ id: t.id }));
|
|
1155
1156
|
}
|
|
1156
|
-
let yi =
|
|
1157
|
+
let yi = _(() => K.value.map((e, t) => ({
|
|
1157
1158
|
...e,
|
|
1158
1159
|
shape: "square"
|
|
1159
1160
|
})).map((e) => ({
|
|
@@ -1161,7 +1162,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1161
1162
|
opacity: I.value.includes(e.id) ? .5 : 1,
|
|
1162
1163
|
segregate: () => hi(e),
|
|
1163
1164
|
isSegregated: I.value.includes(e.id)
|
|
1164
|
-
}))), bi =
|
|
1165
|
+
}))), bi = _(() => ({
|
|
1165
1166
|
cy: "stackbar-legend",
|
|
1166
1167
|
backgroundColor: z.value.style.chart.legend.backgroundColor,
|
|
1167
1168
|
color: z.value.style.chart.legend.color,
|
|
@@ -1185,13 +1186,13 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1185
1186
|
label: e.text
|
|
1186
1187
|
});
|
|
1187
1188
|
}
|
|
1188
|
-
let wi =
|
|
1189
|
+
let wi = _(() => Math.max(...$.value.flatMap((e) => e.series)));
|
|
1189
1190
|
function Ti(e, t) {
|
|
1190
1191
|
return z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? ar.value ? t * 100 >= z.value.style.chart.bars.dataLabels.hideUnderPercentage : z.value.style.chart.bars.dataLabels.hideEmptyPercentages ? t > 0 : !0 : ar.value ? (ir.value && pr.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), e > wi.value * z.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : ir.value ? Math.abs(e) >= z.value.style.chart.bars.dataLabels.hideUnderValue : z.value.style.chart.bars.dataLabels.hideEmptyValues ? e !== 0 : !0;
|
|
1191
1192
|
}
|
|
1192
1193
|
async function Ei({ scale: e = 2 } = {}) {
|
|
1193
1194
|
if (!P.value) return;
|
|
1194
|
-
let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: a, base64: o } = await
|
|
1195
|
+
let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: a, base64: o } = await we({
|
|
1195
1196
|
domElement: P.value,
|
|
1196
1197
|
base64: !0,
|
|
1197
1198
|
img: !0,
|
|
@@ -1206,7 +1207,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1206
1207
|
aspectRatio: r
|
|
1207
1208
|
};
|
|
1208
1209
|
}
|
|
1209
|
-
let Di =
|
|
1210
|
+
let Di = _(() => {
|
|
1210
1211
|
let e = z.value.table.useDialog && !z.value.table.show, t = V.value.showTable;
|
|
1211
1212
|
return {
|
|
1212
1213
|
component: e ? on : en,
|
|
@@ -1243,9 +1244,9 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1243
1244
|
function Oi() {
|
|
1244
1245
|
V.value.showTable = !1, Dn.value && Dn.value.setTableIconState(!1);
|
|
1245
1246
|
}
|
|
1246
|
-
let ki =
|
|
1247
|
+
let ki = _(() => z.value.style.chart.backgroundColor), Ai = _(() => z.value.style.chart.legend), { exportSvg: ji, getSvg: Mi } = ye({
|
|
1247
1248
|
svg: er,
|
|
1248
|
-
title:
|
|
1249
|
+
title: _(() => z.value.style.chart.title),
|
|
1249
1250
|
legend: Ai,
|
|
1250
1251
|
legendItems: yi,
|
|
1251
1252
|
backgroundColor: ki
|
|
@@ -1353,8 +1354,9 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1353
1354
|
}
|
|
1354
1355
|
function Yi() {
|
|
1355
1356
|
R.value = null, fn.value = !1, L.value = null, N("selectX", {
|
|
1356
|
-
|
|
1357
|
-
|
|
1357
|
+
index: null,
|
|
1358
|
+
indexLabel: null,
|
|
1359
|
+
dataset: null
|
|
1358
1360
|
}), qi.value = !1;
|
|
1359
1361
|
}
|
|
1360
1362
|
function Xi(e) {
|
|
@@ -1365,8 +1367,9 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1365
1367
|
if (c <= 0) return;
|
|
1366
1368
|
if (e.preventDefault(), e.stopPropagation(), s) {
|
|
1367
1369
|
R.value = null, fn.value = !1, L.value = null, N("selectX", {
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
+
index: null,
|
|
1371
|
+
indexLabel: null,
|
|
1372
|
+
dataset: null
|
|
1370
1373
|
});
|
|
1371
1374
|
return;
|
|
1372
1375
|
}
|
|
@@ -1382,14 +1385,14 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1382
1385
|
if (!Number.isFinite(e)) return;
|
|
1383
1386
|
let t, n;
|
|
1384
1387
|
z.value.orientation === "vertical" ? (t = G.value.left + e * X.value + X.value / 2, n = G.value.top + G.value.height / 2) : (t = G.value.left + G.value.width / 2, n = G.value.top + e * X.value + X.value / 2);
|
|
1385
|
-
let r =
|
|
1388
|
+
let r = u(t, n, er.value);
|
|
1386
1389
|
r && (Bn.value = r);
|
|
1387
1390
|
}
|
|
1388
|
-
let Qi =
|
|
1391
|
+
let Qi = _(() => ({
|
|
1389
1392
|
headers: pi.value?.colNames ?? [],
|
|
1390
1393
|
rows: pi.value?.body ?? []
|
|
1391
1394
|
}));
|
|
1392
|
-
return
|
|
1395
|
+
return De({
|
|
1393
1396
|
getData: ui,
|
|
1394
1397
|
getImage: Ei,
|
|
1395
1398
|
generatePdf: cr,
|
|
@@ -1404,7 +1407,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1404
1407
|
toggleAnnotator: Si,
|
|
1405
1408
|
toggleFullscreen: oi,
|
|
1406
1409
|
copyAlt: Ki
|
|
1407
|
-
}), (n,
|
|
1410
|
+
}), (n, r) => (T(), b("div", {
|
|
1408
1411
|
id: `stackbar_${F.value}`,
|
|
1409
1412
|
ref_key: "stackbarChart",
|
|
1410
1413
|
ref: P,
|
|
@@ -1417,11 +1420,11 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1417
1420
|
onMouseenter: tr,
|
|
1418
1421
|
onMouseleave: nr
|
|
1419
1422
|
}, [
|
|
1420
|
-
|
|
1423
|
+
x("div", {
|
|
1421
1424
|
id: `chart-instructions-${F.value}`,
|
|
1422
1425
|
class: "sr-only"
|
|
1423
|
-
}, [
|
|
1424
|
-
Qi.value?.rows?.length ? (T(),
|
|
1426
|
+
}, [x("p", null, k(z.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
|
|
1427
|
+
Qi.value?.rows?.length ? (T(), v(Me, {
|
|
1425
1428
|
key: 0,
|
|
1426
1429
|
uid: F.value,
|
|
1427
1430
|
head: Qi.value.headers,
|
|
@@ -1434,8 +1437,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1434
1437
|
"body",
|
|
1435
1438
|
"notice",
|
|
1436
1439
|
"caption"
|
|
1437
|
-
])) :
|
|
1438
|
-
z.value.userOptions.buttons.annotator ? (T(),
|
|
1440
|
+
])) : y("", !0),
|
|
1441
|
+
z.value.userOptions.buttons.annotator ? (T(), v(A(nn), {
|
|
1439
1442
|
key: 1,
|
|
1440
1443
|
svgRef: A(er),
|
|
1441
1444
|
backgroundColor: z.value.style.chart.backgroundColor,
|
|
@@ -1457,14 +1460,14 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1457
1460
|
"color",
|
|
1458
1461
|
"active",
|
|
1459
1462
|
"isCursorPointer"
|
|
1460
|
-
])) :
|
|
1463
|
+
])) : y("", !0),
|
|
1461
1464
|
O(n.$slots, "userConfig", {}, void 0, !0),
|
|
1462
|
-
z.value.style.chart.title.text ? (T(),
|
|
1465
|
+
z.value.style.chart.title.text ? (T(), b("div", {
|
|
1463
1466
|
key: 2,
|
|
1464
1467
|
ref_key: "chartTitle",
|
|
1465
1468
|
ref: gn,
|
|
1466
1469
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
1467
|
-
}, [(T(),
|
|
1470
|
+
}, [(T(), v(Te, {
|
|
1468
1471
|
key: `title_${Sn.value}`,
|
|
1469
1472
|
config: {
|
|
1470
1473
|
title: {
|
|
@@ -1476,9 +1479,9 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1476
1479
|
...z.value.style.chart.title.subtitle
|
|
1477
1480
|
}
|
|
1478
1481
|
}
|
|
1479
|
-
}, null, 8, ["config"]))], 512)) :
|
|
1480
|
-
|
|
1481
|
-
z.value.userOptions.show && dn.value && (A($n) || A(Zn)) ? (T(),
|
|
1482
|
+
}, null, 8, ["config"]))], 512)) : y("", !0),
|
|
1483
|
+
x("div", { id: `legend-top-${F.value}` }, null, 8, nt),
|
|
1484
|
+
z.value.userOptions.show && dn.value && (A($n) || A(Zn)) ? (T(), v(A(rn), {
|
|
1482
1485
|
ref_key: "userOptionsRef",
|
|
1483
1486
|
ref: Dn,
|
|
1484
1487
|
key: `user_option_${hn.value}`,
|
|
@@ -1518,7 +1521,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1518
1521
|
onToggleAnnotator: Si,
|
|
1519
1522
|
onCopyAlt: Ki,
|
|
1520
1523
|
style: w({ visibility: A($n) ? A(Zn) ? "visible" : "hidden" : "visible" })
|
|
1521
|
-
},
|
|
1524
|
+
}, Re({ _: 2 }, [
|
|
1522
1525
|
n.$slots.menuIcon ? {
|
|
1523
1526
|
name: "menuIcon",
|
|
1524
1527
|
fn: j(({ isOpen: e, color: t }) => [O(n.$slots, "menuIcon", C(S({
|
|
@@ -1593,11 +1596,11 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1593
1596
|
fn: j(() => [O(n.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1594
1597
|
key: "12"
|
|
1595
1598
|
} : void 0
|
|
1596
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
1597
|
-
|
|
1599
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : y("", !0),
|
|
1600
|
+
x("div", rt, [(T(), b("svg", {
|
|
1598
1601
|
ref_key: "svgRef",
|
|
1599
1602
|
ref: er,
|
|
1600
|
-
xmlns: A(
|
|
1603
|
+
xmlns: A(le),
|
|
1601
1604
|
"aria-describedby": `chart-instructions-${F.value}`,
|
|
1602
1605
|
viewBox: `0 0 ${G.value.chartWidth <= 0 ? 10 : G.value.chartWidth} ${G.value.chartHeight <= 0 ? 10 : G.value.chartHeight}`,
|
|
1603
1606
|
class: We({ "vue-data-ui-loading": A(Jn) }),
|
|
@@ -1607,36 +1610,36 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1607
1610
|
onBlur: Yi,
|
|
1608
1611
|
onKeydown: Xi
|
|
1609
1612
|
}, [
|
|
1610
|
-
|
|
1611
|
-
n.$slots["chart-background"] ? (T(),
|
|
1613
|
+
Be(A(an)),
|
|
1614
|
+
n.$slots["chart-background"] ? (T(), b("foreignObject", {
|
|
1612
1615
|
key: 0,
|
|
1613
1616
|
x: G.value.left,
|
|
1614
1617
|
y: G.value.top,
|
|
1615
1618
|
width: G.value.width <= 0 ? 10 : G.value.width,
|
|
1616
1619
|
height: G.value.height <= 0 ? 10 : G.value.height,
|
|
1617
1620
|
style: { pointerEvents: "none" }
|
|
1618
|
-
}, [O(n.$slots, "chart-background", {}, void 0, !0)], 8, at)) :
|
|
1619
|
-
z.value.style.chart.bars.gradient.show ? (T(),
|
|
1621
|
+
}, [O(n.$slots, "chart-background", {}, void 0, !0)], 8, at)) : y("", !0),
|
|
1622
|
+
z.value.style.chart.bars.gradient.show ? (T(), b("defs", ot, [(T(!0), b(g, null, D($.value, (e, t) => (T(), b("linearGradient", {
|
|
1620
1623
|
id: `gradient_${e.id}`,
|
|
1621
1624
|
x1: "0%",
|
|
1622
1625
|
y1: "0%",
|
|
1623
1626
|
x2: "0%",
|
|
1624
1627
|
y2: "100%"
|
|
1625
1628
|
}, [
|
|
1626
|
-
|
|
1629
|
+
x("stop", {
|
|
1627
1630
|
offset: "0%",
|
|
1628
1631
|
"stop-color": e.color
|
|
1629
1632
|
}, null, 8, ct),
|
|
1630
|
-
|
|
1633
|
+
x("stop", {
|
|
1631
1634
|
offset: "61.8%",
|
|
1632
|
-
"stop-color": A(
|
|
1635
|
+
"stop-color": A(te)(e.color, z.value.style.chart.bars.gradient.intensity / 100)
|
|
1633
1636
|
}, null, 8, lt),
|
|
1634
|
-
|
|
1637
|
+
x("stop", {
|
|
1635
1638
|
offset: "100%",
|
|
1636
1639
|
"stop-color": e.color
|
|
1637
1640
|
}, null, 8, ut)
|
|
1638
|
-
], 8, st))), 256))])) :
|
|
1639
|
-
z.value.style.chart.grid.frame.show ? (T(),
|
|
1641
|
+
], 8, st))), 256))])) : y("", !0),
|
|
1642
|
+
z.value.style.chart.grid.frame.show ? (T(), b("rect", {
|
|
1640
1643
|
key: 2,
|
|
1641
1644
|
style: {
|
|
1642
1645
|
pointerEvents: "none",
|
|
@@ -1653,8 +1656,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1653
1656
|
"stroke-linecap": z.value.style.chart.grid.frame.strokeLinecap,
|
|
1654
1657
|
"stroke-linejoin": z.value.style.chart.grid.frame.strokeLinejoin,
|
|
1655
1658
|
"stroke-dasharray": z.value.style.chart.grid.frame.strokeDasharray
|
|
1656
|
-
}, null, 8, dt)) :
|
|
1657
|
-
z.value.style.chart.grid.x.showHorizontalLines && z.value.orientation === "vertical" ? (T(!0),
|
|
1659
|
+
}, null, 8, dt)) : y("", !0),
|
|
1660
|
+
z.value.style.chart.grid.x.showHorizontalLines && z.value.orientation === "vertical" ? (T(!0), b(g, { key: 3 }, D(Z.value, (e, t) => (T(), b("line", {
|
|
1658
1661
|
x1: G.value.left,
|
|
1659
1662
|
x2: G.value.right,
|
|
1660
1663
|
y1: e.y,
|
|
@@ -1663,8 +1666,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1663
1666
|
"stroke-width": z.value.style.chart.grid.x.linesThickness,
|
|
1664
1667
|
"stroke-dasharray": z.value.style.chart.grid.x.linesStrokeDasharray,
|
|
1665
1668
|
"stroke-linecap": "round"
|
|
1666
|
-
}, null, 8, ft))), 256)) :
|
|
1667
|
-
z.value.style.chart.grid.x.showHorizontalLines && z.value.orientation === "horizontal" ? (T(!0),
|
|
1669
|
+
}, null, 8, ft))), 256)) : y("", !0),
|
|
1670
|
+
z.value.style.chart.grid.x.showHorizontalLines && z.value.orientation === "horizontal" ? (T(!0), b(g, { key: 4 }, D(J.value.end - J.value.start + 1, (e, t) => (T(), b("line", {
|
|
1668
1671
|
x1: G.value.left,
|
|
1669
1672
|
x2: G.value.right,
|
|
1670
1673
|
y1: G.value.top + X.value * t,
|
|
@@ -1673,8 +1676,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1673
1676
|
"stroke-width": z.value.style.chart.grid.x.linesThickness,
|
|
1674
1677
|
"stroke-dasharray": z.value.style.chart.grid.x.linesStrokeDasharray,
|
|
1675
1678
|
"stroke-linecap": "round"
|
|
1676
|
-
}, null, 8, pt))), 256)) :
|
|
1677
|
-
z.value.style.chart.grid.y.showVerticalLines && z.value.orientation === "vertical" ? (T(!0),
|
|
1679
|
+
}, null, 8, pt))), 256)) : y("", !0),
|
|
1680
|
+
z.value.style.chart.grid.y.showVerticalLines && z.value.orientation === "vertical" ? (T(!0), b(g, { key: 5 }, D(J.value.end - J.value.start + 1, (e, t) => (T(), b("line", {
|
|
1678
1681
|
x1: G.value.left + X.value * t,
|
|
1679
1682
|
x2: G.value.left + X.value * t,
|
|
1680
1683
|
y1: G.value.top,
|
|
@@ -1683,8 +1686,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1683
1686
|
"stroke-width": z.value.style.chart.grid.y.linesThickness,
|
|
1684
1687
|
"stroke-dasharray": z.value.style.chart.grid.y.linesStrokeDasharray,
|
|
1685
1688
|
"stroke-linecap": "round"
|
|
1686
|
-
}, null, 8, mt))), 256)) :
|
|
1687
|
-
z.value.style.chart.grid.y.showVerticalLines && z.value.orientation === "horizontal" ? (T(!0),
|
|
1689
|
+
}, null, 8, mt))), 256)) : y("", !0),
|
|
1690
|
+
z.value.style.chart.grid.y.showVerticalLines && z.value.orientation === "horizontal" ? (T(!0), b(g, { key: 6 }, D(Z.value, (e, t) => (T(), b("line", {
|
|
1688
1691
|
x1: e.horizontal_x,
|
|
1689
1692
|
x2: e.horizontal_x,
|
|
1690
1693
|
y1: G.value.top,
|
|
@@ -1693,13 +1696,13 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1693
1696
|
"stroke-width": z.value.style.chart.grid.y.linesThickness,
|
|
1694
1697
|
"stroke-dasharray": z.value.style.chart.grid.y.linesStrokeDasharray,
|
|
1695
1698
|
"stroke-linecap": "round"
|
|
1696
|
-
}, null, 8, ht))), 256)) :
|
|
1697
|
-
(T(!0),
|
|
1699
|
+
}, null, 8, ht))), 256)) : y("", !0),
|
|
1700
|
+
(T(!0), b(g, null, D($.value, (e, t) => (T(), b("g", null, [n.$slots.pattern ? (T(), b("defs", gt, [O(n.$slots, "pattern", He({ ref_for: !0 }, {
|
|
1698
1701
|
seriesIndex: e.absoluteIndex,
|
|
1699
1702
|
patternId: `pattern_${F.value}_${e.absoluteIndex}`
|
|
1700
|
-
}), void 0, !0)])) :
|
|
1703
|
+
}), void 0, !0)])) : y("", !0), z.value.orientation === "vertical" ? (T(), b(g, { key: 1 }, [(T(!0), b(g, null, D(e.x, (t, n) => (T(), b("rect", {
|
|
1701
1704
|
x: t,
|
|
1702
|
-
y: A(
|
|
1705
|
+
y: A(m)(e.y[n]),
|
|
1703
1706
|
height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
|
|
1704
1707
|
rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
|
|
1705
1708
|
width: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
|
|
@@ -1712,9 +1715,9 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1712
1715
|
"vue-data-ui-bar-animated": z.value.useCssAnimation,
|
|
1713
1716
|
"vue-data-ui-bar-transition": xn.value
|
|
1714
1717
|
})
|
|
1715
|
-
}, null, 10, _t))), 256)), n.$slots.pattern ? (T(),
|
|
1718
|
+
}, null, 10, _t))), 256)), n.$slots.pattern ? (T(), b("g", vt, [(T(!0), b(g, null, D(e.x, (t, n) => (T(), b("rect", {
|
|
1716
1719
|
x: t,
|
|
1717
|
-
y: A(
|
|
1720
|
+
y: A(m)(e.y[n]),
|
|
1718
1721
|
height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
|
|
1719
1722
|
rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
|
|
1720
1723
|
width: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
|
|
@@ -1727,10 +1730,10 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1727
1730
|
"vue-data-ui-bar-animated": z.value.useCssAnimation,
|
|
1728
1731
|
"vue-data-ui-bar-transition": xn.value
|
|
1729
1732
|
})
|
|
1730
|
-
}, null, 10, yt))), 256))])) :
|
|
1731
|
-
x: A(
|
|
1733
|
+
}, null, 10, yt))), 256))])) : y("", !0)], 64)) : (T(), b(g, { key: 2 }, [(T(!0), b(g, null, D(e.horizontal_x, (t, n) => (T(), b("rect", {
|
|
1734
|
+
x: A(m)(t, G.value.left),
|
|
1732
1735
|
y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
|
|
1733
|
-
width: A(
|
|
1736
|
+
width: A(m)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
|
|
1734
1737
|
rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
|
|
1735
1738
|
height: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
|
|
1736
1739
|
fill: z.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color,
|
|
@@ -1742,10 +1745,10 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1742
1745
|
"vue-data-ui-bar-animated": z.value.useCssAnimation,
|
|
1743
1746
|
"vue-data-ui-bar-transition": xn.value
|
|
1744
1747
|
})
|
|
1745
|
-
}, null, 10, bt))), 256)), n.$slots.pattern ? (T(),
|
|
1746
|
-
x: A(
|
|
1748
|
+
}, null, 10, bt))), 256)), n.$slots.pattern ? (T(), b("g", xt, [(T(!0), b(g, null, D(e.horizontal_x, (t, n) => (T(), b("rect", {
|
|
1749
|
+
x: A(m)(t, G.value.left),
|
|
1747
1750
|
y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
|
|
1748
|
-
width: A(
|
|
1751
|
+
width: A(m)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
|
|
1749
1752
|
rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
|
|
1750
1753
|
height: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
|
|
1751
1754
|
fill: `url(#pattern_${F.value}_${e.absoluteIndex})`,
|
|
@@ -1757,8 +1760,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1757
1760
|
"vue-data-ui-bar-animated": z.value.useCssAnimation,
|
|
1758
1761
|
"vue-data-ui-bar-transition": xn.value
|
|
1759
1762
|
})
|
|
1760
|
-
}, null, 10, St))), 256))])) :
|
|
1761
|
-
z.value.style.chart.grid.x.showAxis ? (T(),
|
|
1763
|
+
}, null, 10, St))), 256))])) : y("", !0)], 64))]))), 256)),
|
|
1764
|
+
z.value.style.chart.grid.x.showAxis ? (T(), b("line", {
|
|
1762
1765
|
key: 7,
|
|
1763
1766
|
x1: G.value.left,
|
|
1764
1767
|
x2: G.value.right,
|
|
@@ -1768,8 +1771,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1768
1771
|
"stroke-width": z.value.style.chart.grid.x.axisThickness,
|
|
1769
1772
|
"stroke-linecap": "round",
|
|
1770
1773
|
"stroke-linejoin": "round"
|
|
1771
|
-
}, null, 8, Ct)) :
|
|
1772
|
-
z.value.style.chart.grid.y.showAxis && !z.value.style.chart.bars.distributed ? (T(),
|
|
1774
|
+
}, null, 8, Ct)) : y("", !0),
|
|
1775
|
+
z.value.style.chart.grid.y.showAxis && !z.value.style.chart.bars.distributed ? (T(), b("line", {
|
|
1773
1776
|
key: 8,
|
|
1774
1777
|
x1: W.value ? G.value.right : G.value.left,
|
|
1775
1778
|
x2: W.value ? G.value.right : G.value.left,
|
|
@@ -1779,8 +1782,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1779
1782
|
"stroke-width": z.value.style.chart.grid.y.axisThickness,
|
|
1780
1783
|
"stroke-linecap": "round",
|
|
1781
1784
|
"stroke-linejoin": "round"
|
|
1782
|
-
}, null, 8, wt)) :
|
|
1783
|
-
z.value.style.chart.grid.x.axisName.show && z.value.style.chart.grid.x.axisName.text ? (T(),
|
|
1785
|
+
}, null, 8, wt)) : y("", !0),
|
|
1786
|
+
z.value.style.chart.grid.x.axisName.show && z.value.style.chart.grid.x.axisName.text ? (T(), b("text", {
|
|
1784
1787
|
key: 9,
|
|
1785
1788
|
ref_key: "xAxisLabel",
|
|
1786
1789
|
ref: An,
|
|
@@ -1790,8 +1793,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1790
1793
|
fill: z.value.style.chart.grid.x.axisName.color,
|
|
1791
1794
|
"font-weight": z.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
|
|
1792
1795
|
"text-anchor": "middle"
|
|
1793
|
-
}, k(z.value.style.chart.grid.x.axisName.text), 9, Tt)) :
|
|
1794
|
-
z.value.style.chart.grid.y.axisName.show && z.value.style.chart.grid.y.axisName.text ? (T(),
|
|
1796
|
+
}, k(z.value.style.chart.grid.x.axisName.text), 9, Tt)) : y("", !0),
|
|
1797
|
+
z.value.style.chart.grid.y.axisName.show && z.value.style.chart.grid.y.axisName.text ? (T(), b("text", {
|
|
1795
1798
|
key: 10,
|
|
1796
1799
|
ref_key: "yAxisLabel",
|
|
1797
1800
|
ref: jn,
|
|
@@ -1800,20 +1803,20 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1800
1803
|
fill: z.value.style.chart.grid.y.axisName.color,
|
|
1801
1804
|
"font-weight": z.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
|
|
1802
1805
|
"text-anchor": "middle"
|
|
1803
|
-
}, k(z.value.style.chart.grid.y.axisName.text), 9, Et)) :
|
|
1804
|
-
V.value.dataLabels.show && z.value.orientation === "vertical" ? (T(),
|
|
1806
|
+
}, k(z.value.style.chart.grid.y.axisName.text), 9, Et)) : y("", !0),
|
|
1807
|
+
V.value.dataLabels.show && z.value.orientation === "vertical" ? (T(), b(g, { key: 11 }, [(T(!0), b(g, null, D($.value, (e, t) => (T(), b("g", null, [(T(!0), b(g, null, D(e.x, (n, r) => (T(), b(g, null, [Ti(e.series[r], e.proportions[r]) ? (T(), b("text", {
|
|
1805
1808
|
key: 0,
|
|
1806
1809
|
x: n + X.value * (1 - z.value.style.chart.bars.gapRatio / 2) / 2,
|
|
1807
1810
|
y: e.y[r] + e.height[r] / 2 + z.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
1808
1811
|
"font-size": z.value.style.chart.bars.dataLabels.fontSize,
|
|
1809
|
-
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(
|
|
1812
|
+
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(se)(e.color) : z.value.style.chart.bars.dataLabels.color,
|
|
1810
1813
|
"font-weight": z.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
1811
1814
|
"text-anchor": "middle"
|
|
1812
|
-
}, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? Zr(e.proportions[r] * 100, e, t, r) : Xr(e.series[r], e, t, r, e.signedSeries[r])), 9, Dt)) :
|
|
1815
|
+
}, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? Zr(e.proportions[r] * 100, e, t, r) : Xr(e.series[r], e, t, r, e.signedSeries[r])), 9, Dt)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
|
|
1813
1816
|
key: 0,
|
|
1814
1817
|
ref_key: "sumTop",
|
|
1815
1818
|
ref: Pn
|
|
1816
|
-
}, [(T(!0),
|
|
1819
|
+
}, [(T(!0), b(g, null, D(Yr.value, (e, t) => (T(), b(g, null, [!z.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (T(), b("text", {
|
|
1817
1820
|
key: 0,
|
|
1818
1821
|
x: G.value.left + X.value * t + X.value / 2,
|
|
1819
1822
|
y: Wi(t),
|
|
@@ -1821,20 +1824,20 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1821
1824
|
"font-size": z.value.style.chart.bars.totalValues.fontSize,
|
|
1822
1825
|
"font-weight": z.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
|
|
1823
1826
|
fill: z.value.style.chart.bars.totalValues.color
|
|
1824
|
-
}, k(Xr(e.value, e, t, e.sign)), 9, Ot)) :
|
|
1825
|
-
V.value.dataLabels.show && z.value.orientation === "horizontal" ? (T(),
|
|
1827
|
+
}, k(Xr(e.value, e, t, e.sign)), 9, Ot)) : y("", !0)], 64))), 256))], 512)) : y("", !0)], 64)) : y("", !0),
|
|
1828
|
+
V.value.dataLabels.show && z.value.orientation === "horizontal" ? (T(), b(g, { key: 12 }, [(T(!0), b(g, null, D($.value, (e, t) => (T(), b("g", null, [(T(!0), b(g, null, D(e.horizontal_x, (n, r) => (T(), b(g, null, [Ti(e.series[r], e.proportions[r]) ? (T(), b("text", {
|
|
1826
1829
|
key: 0,
|
|
1827
1830
|
x: n + (e.horizontal_width[r] < 0 ? 1e-4 : e.horizontal_width[r]) / 2,
|
|
1828
1831
|
y: e.horizontal_y[r] + X.value * (1 - z.value.style.chart.bars.gapRatio / 2) / 2 + z.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
1829
1832
|
"font-size": z.value.style.chart.bars.dataLabels.fontSize,
|
|
1830
|
-
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(
|
|
1833
|
+
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(se)(e.color) : z.value.style.chart.bars.dataLabels.color,
|
|
1831
1834
|
"font-weight": z.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
1832
1835
|
"text-anchor": "middle"
|
|
1833
|
-
}, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? Zr(e.proportions[r] * 100, e, t, r) : Xr(e.series[r], e, t, r, e.signedSeries[r])), 9, kt)) :
|
|
1836
|
+
}, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? Zr(e.proportions[r] * 100, e, t, r) : Xr(e.series[r], e, t, r, e.signedSeries[r])), 9, kt)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
|
|
1834
1837
|
key: 0,
|
|
1835
1838
|
ref_key: "sumRight",
|
|
1836
1839
|
ref: Fn
|
|
1837
|
-
}, [(T(!0),
|
|
1840
|
+
}, [(T(!0), b(g, null, D(Yr.value, (e, t) => (T(), b(g, null, [!z.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (T(), b("text", {
|
|
1838
1841
|
key: 0,
|
|
1839
1842
|
x: Gi(t),
|
|
1840
1843
|
y: G.value.top + X.value * t + X.value / 2 + z.value.style.chart.bars.totalValues.fontSize / 3,
|
|
@@ -1842,36 +1845,36 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1842
1845
|
"font-size": z.value.style.chart.bars.totalValues.fontSize,
|
|
1843
1846
|
"font-weight": z.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
|
|
1844
1847
|
fill: z.value.style.chart.bars.totalValues.color
|
|
1845
|
-
}, k(Xr(e.value, e, t, e.sign)), 9, At)) :
|
|
1846
|
-
z.value.style.chart.grid.y.axisLabels.show && !z.value.style.chart.bars.distributed && z.value.orientation === "vertical" ? (T(),
|
|
1848
|
+
}, k(Xr(e.value, e, t, e.sign)), 9, At)) : y("", !0)], 64))), 256))], 512)) : y("", !0)], 64)) : y("", !0),
|
|
1849
|
+
z.value.style.chart.grid.y.axisLabels.show && !z.value.style.chart.bars.distributed && z.value.orientation === "vertical" ? (T(), b("g", {
|
|
1847
1850
|
key: 13,
|
|
1848
1851
|
ref_key: "scaleLabels",
|
|
1849
1852
|
ref: Mn
|
|
1850
|
-
}, [(T(!0),
|
|
1853
|
+
}, [(T(!0), b(g, null, D(Z.value, (e, t) => (T(), b("line", {
|
|
1851
1854
|
x1: W.value ? G.value.right : G.value.left,
|
|
1852
1855
|
x2: W.value ? G.value.right + 6 : G.value.left - 6,
|
|
1853
1856
|
y1: e.y,
|
|
1854
1857
|
y2: e.y,
|
|
1855
1858
|
stroke: z.value.style.chart.grid.x.axisColor,
|
|
1856
1859
|
"stroke-width": 1
|
|
1857
|
-
}, null, 8, jt))), 256)), (T(!0),
|
|
1860
|
+
}, null, 8, jt))), 256)), (T(!0), b(g, null, D(Z.value, (e, t) => (T(), b("text", {
|
|
1858
1861
|
x: e.x,
|
|
1859
1862
|
y: e.y + z.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
1860
1863
|
"font-size": z.value.style.chart.grid.y.axisLabels.fontSize,
|
|
1861
1864
|
"font-weight": z.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
1862
1865
|
fill: z.value.style.chart.grid.y.axisLabels.color,
|
|
1863
1866
|
"text-anchor": W.value ? "start" : "end"
|
|
1864
|
-
}, k(A(
|
|
1867
|
+
}, k(A(h)(z.value.style.chart.grid.y.axisLabels.formatter, e.value, A(o)({
|
|
1865
1868
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1866
1869
|
v: e.value,
|
|
1867
1870
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
1868
1871
|
r: z.value.style.chart.grid.y.axisLabels.rounding
|
|
1869
|
-
}), { datapoint: e })), 9, Mt))), 256))], 512)) :
|
|
1870
|
-
z.value.style.chart.grid.y.axisLabels.show && !z.value.style.chart.bars.distributed && z.value.orientation === "horizontal" ? (T(),
|
|
1872
|
+
}), { datapoint: e })), 9, Mt))), 256))], 512)) : y("", !0),
|
|
1873
|
+
z.value.style.chart.grid.y.axisLabels.show && !z.value.style.chart.bars.distributed && z.value.orientation === "horizontal" ? (T(), b("g", {
|
|
1871
1874
|
key: 14,
|
|
1872
1875
|
ref_key: "scaleLabels",
|
|
1873
1876
|
ref: Mn
|
|
1874
|
-
}, [(T(!0),
|
|
1877
|
+
}, [(T(!0), b(g, null, D(Z.value, (e, t) => (T(), b("line", {
|
|
1875
1878
|
x1: e.horizontal_x,
|
|
1876
1879
|
x2: e.horizontal_x,
|
|
1877
1880
|
y1: G.value.bottom,
|
|
@@ -1879,24 +1882,24 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1879
1882
|
stroke: z.value.style.chart.grid.x.axisColor,
|
|
1880
1883
|
"stroke-width": 1,
|
|
1881
1884
|
"stroke-linecap": "round"
|
|
1882
|
-
}, null, 8, Nt))), 256)), (T(!0),
|
|
1885
|
+
}, null, 8, Nt))), 256)), (T(!0), b(g, null, D(Z.value, (e, t) => (T(), b("text", {
|
|
1883
1886
|
class: "vue-data-ui-time-label",
|
|
1884
1887
|
"font-size": z.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1885
1888
|
"font-weight": z.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
1886
1889
|
fill: z.value.style.chart.grid.y.axisLabels.color,
|
|
1887
1890
|
"text-anchor": z.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : z.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1888
1891
|
transform: `translate(${e.horizontal_x}, ${G.value.bottom + z.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + z.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${z.value.style.chart.grid.x.timeLabels.rotation})`
|
|
1889
|
-
}, k(A(
|
|
1892
|
+
}, k(A(h)(z.value.style.chart.grid.y.axisLabels.formatter, e.value, A(o)({
|
|
1890
1893
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1891
1894
|
v: e.value,
|
|
1892
1895
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
1893
1896
|
r: z.value.style.chart.grid.y.axisLabels.rounding
|
|
1894
|
-
}), { datapoint: e })), 9, Pt))), 256))], 512)) :
|
|
1895
|
-
z.value.style.chart.grid.x.timeLabels.show && z.value.orientation === "vertical" ? (T(),
|
|
1897
|
+
}), { datapoint: e })), 9, Pt))), 256))], 512)) : y("", !0),
|
|
1898
|
+
z.value.style.chart.grid.x.timeLabels.show && z.value.orientation === "vertical" ? (T(), b("g", {
|
|
1896
1899
|
key: 15,
|
|
1897
1900
|
ref_key: "timeLabelsEls",
|
|
1898
1901
|
ref: Nn
|
|
1899
|
-
}, [n.$slots["time-label"] ? (T(),
|
|
1902
|
+
}, [n.$slots["time-label"] ? (T(), b("g", Ft, [(T(!0), b(g, null, D(Ur.value, (e, t) => (T(), b("g", null, [O(n.$slots, "time-label", He({ ref_for: !0 }, {
|
|
1900
1903
|
x: G.value.left + X.value * t + X.value / 2,
|
|
1901
1904
|
y: G.value.bottom + z.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + z.value.style.chart.grid.x.timeLabels.offsetY,
|
|
1902
1905
|
fontSize: z.value.style.chart.grid.x.timeLabels.fontSize,
|
|
@@ -1906,7 +1909,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1906
1909
|
content: e.text,
|
|
1907
1910
|
textAnchor: z.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : z.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1908
1911
|
show: !0
|
|
1909
|
-
}), void 0, !0)]))), 256))])) : (T(),
|
|
1912
|
+
}), void 0, !0)]))), 256))])) : (T(), b("g", It, [(T(!0), b(g, null, D(Ur.value, (e, n) => (T(), b("g", null, [String(e.text).includes("\n") ? (T(), b("text", {
|
|
1910
1913
|
key: n + "-multi",
|
|
1911
1914
|
"text-anchor": z.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : z.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1912
1915
|
"font-size": z.value.style.chart.grid.x.timeLabels.fontSize,
|
|
@@ -1927,7 +1930,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1927
1930
|
y: 0
|
|
1928
1931
|
}),
|
|
1929
1932
|
onClick: () => Ci(e, n)
|
|
1930
|
-
}, null, 12, Rt)) : (T(),
|
|
1933
|
+
}, null, 12, Rt)) : (T(), b("text", {
|
|
1931
1934
|
class: "vue-data-ui-time-label",
|
|
1932
1935
|
key: n,
|
|
1933
1936
|
"text-anchor": z.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : z.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -1937,12 +1940,12 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1937
1940
|
transform: `translate(${G.value.left + X.value * n + X.value / 2}, ${G.value.bottom + z.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + z.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${z.value.style.chart.grid.x.timeLabels.rotation})`,
|
|
1938
1941
|
style: w({ cursor: B.value ? "pointer" : "default" }),
|
|
1939
1942
|
onClick: () => Ci(e, n)
|
|
1940
|
-
}, k(e.text), 13, Lt))]))), 256))]))], 512)) :
|
|
1941
|
-
z.value.style.chart.grid.x.timeLabels.show && z.value.orientation === "horizontal" ? (T(),
|
|
1943
|
+
}, k(e.text), 13, Lt))]))), 256))]))], 512)) : y("", !0),
|
|
1944
|
+
z.value.style.chart.grid.x.timeLabels.show && z.value.orientation === "horizontal" ? (T(), b("g", {
|
|
1942
1945
|
key: 16,
|
|
1943
1946
|
ref_key: "timeLabelsEls",
|
|
1944
1947
|
ref: Nn
|
|
1945
|
-
}, [n.$slots["time-label"] ? (T(),
|
|
1948
|
+
}, [n.$slots["time-label"] ? (T(), b("g", zt, [(T(!0), b(g, null, D(Q.value, (e, t) => (T(), b("g", null, [O(n.$slots, "time-label", He({ ref_for: !0 }, {
|
|
1946
1949
|
x: G.value.left - 8,
|
|
1947
1950
|
y: G.value.top + X.value * t + X.value / 2 + z.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
1948
1951
|
fontSize: z.value.style.chart.grid.x.timeLabels.fontSize,
|
|
@@ -1952,7 +1955,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1952
1955
|
content: e.text,
|
|
1953
1956
|
textAnchor: "end",
|
|
1954
1957
|
show: !0
|
|
1955
|
-
}), void 0, !0)]))), 256))])) : (T(),
|
|
1958
|
+
}), void 0, !0)]))), 256))])) : (T(), b("g", Bt, [(T(!0), b(g, null, D(Q.value, (e, t) => (T(), b("g", null, [String(e.text).includes("\n") ? (T(), b("text", {
|
|
1956
1959
|
key: 1,
|
|
1957
1960
|
"text-anchor": "end",
|
|
1958
1961
|
"font-size": z.value.style.chart.grid.y.axisLabels.fontSize,
|
|
@@ -1962,14 +1965,14 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1962
1965
|
y: G.value.top + X.value * t + X.value / 2 + z.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
1963
1966
|
style: w({ cursor: B.value ? "pointer" : "default" }),
|
|
1964
1967
|
onClick: () => Ci(e, t),
|
|
1965
|
-
innerHTML: A(
|
|
1968
|
+
innerHTML: A(p)({
|
|
1966
1969
|
content: String(e.text),
|
|
1967
1970
|
fontSize: z.value.style.chart.grid.y.axisLabels.fontSize,
|
|
1968
1971
|
fill: z.value.style.chart.grid.y.axisLabels.color,
|
|
1969
1972
|
x: G.value.left - 8,
|
|
1970
1973
|
y: 0
|
|
1971
1974
|
})
|
|
1972
|
-
}, null, 12, Ht)) : (T(),
|
|
1975
|
+
}, null, 12, Ht)) : (T(), b("text", {
|
|
1973
1976
|
key: 0,
|
|
1974
1977
|
"text-anchor": "end",
|
|
1975
1978
|
"font-size": z.value.style.chart.grid.y.axisLabels.fontSize,
|
|
@@ -1979,8 +1982,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1979
1982
|
y: G.value.top + X.value * t + X.value / 2 + z.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
1980
1983
|
style: w({ cursor: B.value ? "pointer" : "default" }),
|
|
1981
1984
|
onClick: () => Ci(e, t)
|
|
1982
|
-
}, k(e.text), 13, Vt))]))), 256))]))], 512)) :
|
|
1983
|
-
V.value.showTooltip && z.value.orientation === "vertical" ? (T(!0),
|
|
1985
|
+
}, k(e.text), 13, Vt))]))), 256))]))], 512)) : y("", !0),
|
|
1986
|
+
V.value.showTooltip && z.value.orientation === "vertical" ? (T(!0), b(g, { key: 17 }, D(J.value.end - J.value.start, (e, t) => (T(), b("rect", {
|
|
1984
1987
|
x: G.value.left + t * X.value,
|
|
1985
1988
|
y: G.value.top,
|
|
1986
1989
|
width: X.value,
|
|
@@ -1990,8 +1993,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
1990
1993
|
onMouseleave: () => ei(t),
|
|
1991
1994
|
fill: t === L.value || t === Kn.value ? z.value.style.chart.highlighter.color : "transparent",
|
|
1992
1995
|
style: w({ opacity: z.value.style.chart.highlighter.opacity / 100 })
|
|
1993
|
-
}, null, 44, Ut))), 256)) :
|
|
1994
|
-
V.value.showTooltip && z.value.orientation === "horizontal" ? (T(!0),
|
|
1996
|
+
}, null, 44, Ut))), 256)) : y("", !0),
|
|
1997
|
+
V.value.showTooltip && z.value.orientation === "horizontal" ? (T(!0), b(g, { key: 18 }, D(J.value.end - J.value.start, (e, t) => (T(), b("rect", {
|
|
1995
1998
|
x: G.value.left,
|
|
1996
1999
|
y: G.value.top + t * X.value,
|
|
1997
2000
|
width: G.value.width < 0 ? 0 : G.value.width,
|
|
@@ -2001,23 +2004,23 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2001
2004
|
onMouseleave: () => ei(t),
|
|
2002
2005
|
fill: t === L.value || t === Kn.value ? z.value.style.chart.highlighter.color : "transparent",
|
|
2003
2006
|
style: w({ opacity: z.value.style.chart.highlighter.opacity / 100 })
|
|
2004
|
-
}, null, 44, Wt))), 256)) :
|
|
2005
|
-
Dr.value ? (T(),
|
|
2007
|
+
}, null, 44, Wt))), 256)) : y("", !0),
|
|
2008
|
+
Dr.value ? (T(), b("rect", He({ key: 19 }, Tr.value, {
|
|
2006
2009
|
"data-start": J.value.start,
|
|
2007
2010
|
"data-end": J.value.end
|
|
2008
|
-
}), null, 16, Gt)) :
|
|
2011
|
+
}), null, 16, Gt)) : y("", !0),
|
|
2009
2012
|
O(n.$slots, "svg", { svg: {
|
|
2010
2013
|
drawingArea: G.value,
|
|
2011
2014
|
data: $.value,
|
|
2012
2015
|
isPrintingImg: A(or) || A(sr) || On.value,
|
|
2013
2016
|
isPrintingSvg: kn.value
|
|
2014
2017
|
} }, void 0, !0)
|
|
2015
|
-
], 46, it)), n.$slots.hint ? (T(),
|
|
2018
|
+
], 46, it)), n.$slots.hint ? (T(), b("div", Kt, [O(n.$slots, "hint", C(S({
|
|
2016
2019
|
hint: z.value.a11y.translations.keyboardNavigation,
|
|
2017
2020
|
isVisible: qi.value
|
|
2018
|
-
})), void 0, !0)])) :
|
|
2019
|
-
n.$slots.watermark ? (T(),
|
|
2020
|
-
z.value.style.chart.zoom.show && dn.value && Li.value && q.value > 6 ? (T(),
|
|
2021
|
+
})), void 0, !0)])) : y("", !0)]),
|
|
2022
|
+
n.$slots.watermark ? (T(), b("div", qt, [O(n.$slots, "watermark", C(S({ isPrinting: A(or) || A(sr) || On.value || kn.value })), void 0, !0)])) : y("", !0),
|
|
2023
|
+
z.value.style.chart.zoom.show && dn.value && Li.value && q.value > 6 ? (T(), v(Ae, {
|
|
2021
2024
|
key: 5,
|
|
2022
2025
|
ref_key: "chartSlicer",
|
|
2023
2026
|
ref: vn,
|
|
@@ -2074,15 +2077,15 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2074
2077
|
"onUpdate:end": Vi,
|
|
2075
2078
|
"onUpdate:start": Bi,
|
|
2076
2079
|
onTrapMouse: Er,
|
|
2077
|
-
onReset:
|
|
2078
|
-
onFutureEnd:
|
|
2079
|
-
onFutureStart:
|
|
2080
|
+
onReset: r[0] ||= () => Mr({ force: !0 }),
|
|
2081
|
+
onFutureEnd: r[1] ||= (e) => Or("end", e),
|
|
2082
|
+
onFutureStart: r[2] ||= (e) => Or("start", e)
|
|
2080
2083
|
}, {
|
|
2081
2084
|
"reset-action": j(({ reset: e }) => [O(n.$slots, "reset-action", C(S({ reset: e })), void 0, !0)]),
|
|
2082
|
-
slotMap: j(({ width: e, height: t, unitW: n }) => [(T(!0),
|
|
2085
|
+
slotMap: j(({ width: e, height: t, unitW: n }) => [(T(!0), b(g, null, D($.value, (e) => (T(), b("g", { key: e.id }, [(T(!0), b(g, null, D(e.xMinimap({
|
|
2083
2086
|
left: 0,
|
|
2084
2087
|
unitW: n
|
|
2085
|
-
}), (r, a) => (T(),
|
|
2088
|
+
}), (r, a) => (T(), b("rect", {
|
|
2086
2089
|
key: a,
|
|
2087
2090
|
x: a === 0 ? r - n * (z.value.style.chart.bars.gapRatio / 4) : r - n / 2,
|
|
2088
2091
|
y: Math.max(0, Math.min(t, e.yMinimap({ minimapH: t })[a])),
|
|
@@ -2097,8 +2100,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2097
2100
|
style: w({ opacity: a >= Y.value.start && a <= Y.value.end ? 1 : .62 })
|
|
2098
2101
|
}, null, 12, Jt))), 128))]))), 128))]),
|
|
2099
2102
|
_: 3
|
|
2100
|
-
}, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) :
|
|
2101
|
-
|
|
2103
|
+
}, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : y("", !0),
|
|
2104
|
+
Be(A(Qt), {
|
|
2102
2105
|
teleportTo: z.value.style.chart.tooltip.teleportTo,
|
|
2103
2106
|
show: V.value.showTooltip && fn.value,
|
|
2104
2107
|
backgroundColor: z.value.style.chart.tooltip.backgroundColor,
|
|
@@ -2114,7 +2117,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2114
2117
|
parent: P.value,
|
|
2115
2118
|
content: mn.value,
|
|
2116
2119
|
isFullscreen: bn.value,
|
|
2117
|
-
isCustom: A(
|
|
2120
|
+
isCustom: A(oe)(z.value.style.chart.tooltip.customFormat),
|
|
2118
2121
|
smooth: z.value.style.chart.tooltip.smooth,
|
|
2119
2122
|
backdropFilter: z.value.style.chart.tooltip.backdropFilter,
|
|
2120
2123
|
smoothForce: z.value.style.chart.tooltip.smoothForce,
|
|
@@ -2150,26 +2153,26 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2150
2153
|
"isA11yMode",
|
|
2151
2154
|
"a11yPosition"
|
|
2152
2155
|
]),
|
|
2153
|
-
|
|
2154
|
-
Tn.value && (z.value.style.chart.legend.show || n.$slots.legend) ? (T(),
|
|
2156
|
+
x("div", { id: `legend-bottom-${F.value}` }, null, 8, Yt),
|
|
2157
|
+
Tn.value && (z.value.style.chart.legend.show || n.$slots.legend) ? (T(), v(Le, {
|
|
2155
2158
|
key: 6,
|
|
2156
2159
|
to: z.value.style.chart.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
|
|
2157
|
-
}, [
|
|
2160
|
+
}, [x("div", {
|
|
2158
2161
|
ref_key: "chartLegend",
|
|
2159
2162
|
ref: _n
|
|
2160
|
-
}, [O(n.$slots, "legend", { legend: yi.value }, () => [z.value.style.chart.legend.show ? (T(),
|
|
2163
|
+
}, [O(n.$slots, "legend", { legend: yi.value }, () => [z.value.style.chart.legend.show ? (T(), v(Fe, {
|
|
2161
2164
|
key: 0,
|
|
2162
2165
|
legendSet: yi.value,
|
|
2163
2166
|
config: bi.value,
|
|
2164
2167
|
isCursorPointer: B.value,
|
|
2165
|
-
onClickMarker:
|
|
2166
|
-
},
|
|
2167
|
-
item: j(({ legend: e }) => [A(Jn) ?
|
|
2168
|
+
onClickMarker: r[3] ||= ({ legend: e }) => e.segregate()
|
|
2169
|
+
}, Re({
|
|
2170
|
+
item: j(({ legend: e }) => [A(Jn) ? y("", !0) : (T(), b("div", {
|
|
2168
2171
|
key: 0,
|
|
2169
2172
|
onClick: (t) => e.segregate(),
|
|
2170
2173
|
style: w(`opacity:${I.value.includes(e.id) ? .5 : 1}`)
|
|
2171
2174
|
}, k(e.name), 13, Xt))]),
|
|
2172
|
-
legendToggle: j(() => [yi.value.length > 2 && z.value.style.chart.legend.selectAllToggle.show && !A(Jn) ? (T(),
|
|
2175
|
+
legendToggle: j(() => [yi.value.length > 2 && z.value.style.chart.legend.selectAllToggle.show && !A(Jn) ? (T(), v(je, {
|
|
2173
2176
|
key: 0,
|
|
2174
2177
|
backgroundColor: z.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
2175
2178
|
color: z.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -2183,11 +2186,11 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2183
2186
|
"fontSize",
|
|
2184
2187
|
"checked",
|
|
2185
2188
|
"isCursorPointer"
|
|
2186
|
-
])) :
|
|
2189
|
+
])) : y("", !0)]),
|
|
2187
2190
|
_: 2
|
|
2188
2191
|
}, [n.$slots.pattern ? {
|
|
2189
2192
|
name: "legend-pattern",
|
|
2190
|
-
fn: j(({ legend: e, index: t }) => [
|
|
2193
|
+
fn: j(({ legend: e, index: t }) => [Be(Ee, {
|
|
2191
2194
|
shape: e.shape,
|
|
2192
2195
|
radius: 30,
|
|
2193
2196
|
stroke: "none",
|
|
@@ -2202,19 +2205,19 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2202
2205
|
"legendSet",
|
|
2203
2206
|
"config",
|
|
2204
2207
|
"isCursorPointer"
|
|
2205
|
-
])) :
|
|
2206
|
-
n.$slots.source ? (T(),
|
|
2208
|
+
])) : y("", !0)], !0)], 512)], 8, ["to"])) : y("", !0),
|
|
2209
|
+
n.$slots.source ? (T(), b("div", {
|
|
2207
2210
|
key: 7,
|
|
2208
2211
|
ref_key: "source",
|
|
2209
2212
|
ref: yn,
|
|
2210
2213
|
dir: "auto"
|
|
2211
|
-
}, [O(n.$slots, "source", {}, void 0, !0)], 512)) :
|
|
2212
|
-
dn.value && z.value.userOptions.buttons.table ? (T(),
|
|
2214
|
+
}, [O(n.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
|
|
2215
|
+
dn.value && z.value.userOptions.buttons.table ? (T(), v(qe(Di.value.component), He({ key: 8 }, Di.value.props, {
|
|
2213
2216
|
ref_key: "tableUnit",
|
|
2214
2217
|
ref: En,
|
|
2215
2218
|
onClose: Oi
|
|
2216
|
-
}),
|
|
2217
|
-
content: j(() => [
|
|
2219
|
+
}), Re({
|
|
2220
|
+
content: j(() => [Be(A(tn), {
|
|
2218
2221
|
colNames: pi.value.colNames,
|
|
2219
2222
|
head: pi.value.head,
|
|
2220
2223
|
body: pi.value.body,
|
|
@@ -2224,8 +2227,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2224
2227
|
isCursorPointer: B.value,
|
|
2225
2228
|
onClose: Oi
|
|
2226
2229
|
}, {
|
|
2227
|
-
th: j(({ th: e }) => [
|
|
2228
|
-
td: j(({ td: e }) => [
|
|
2230
|
+
th: j(({ th: e }) => [x("div", { innerHTML: e }, null, 8, Zt)]),
|
|
2231
|
+
td: j(({ td: e }) => [ze(k(isNaN(Number(e)) ? e : A(o)({
|
|
2229
2232
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
2230
2233
|
v: e,
|
|
2231
2234
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -2244,24 +2247,24 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
|
|
|
2244
2247
|
_: 2
|
|
2245
2248
|
}, [z.value.table.useDialog ? {
|
|
2246
2249
|
name: "title",
|
|
2247
|
-
fn: j(() => [
|
|
2250
|
+
fn: j(() => [ze(k(Di.value.title), 1)]),
|
|
2248
2251
|
key: "0"
|
|
2249
2252
|
} : void 0, z.value.table.useDialog ? {
|
|
2250
2253
|
name: "actions",
|
|
2251
|
-
fn: j(() => [
|
|
2254
|
+
fn: j(() => [x("button", {
|
|
2252
2255
|
tabindex: "0",
|
|
2253
2256
|
class: "vue-ui-user-options-button",
|
|
2254
|
-
onClick:
|
|
2257
|
+
onClick: r[4] ||= (e) => fi(z.value.userOptions.callbacks.csv),
|
|
2255
2258
|
style: w({ cursor: B.value ? "pointer" : "default" })
|
|
2256
|
-
}, [
|
|
2259
|
+
}, [Be(A($t), {
|
|
2257
2260
|
name: "fileCsv",
|
|
2258
2261
|
stroke: Di.value.props.color
|
|
2259
2262
|
}, null, 8, ["stroke"])], 4)]),
|
|
2260
2263
|
key: "1"
|
|
2261
|
-
} : void 0]), 1040)) :
|
|
2262
|
-
O(n.$slots, "skeleton", {}, () => [A(Jn) ? (T(),
|
|
2264
|
+
} : void 0]), 1040)) : y("", !0),
|
|
2265
|
+
O(n.$slots, "skeleton", {}, () => [A(Jn) ? (T(), v(ve, { key: 0 })) : y("", !0)], !0)
|
|
2263
2266
|
], 46, et));
|
|
2264
2267
|
}
|
|
2265
|
-
}, [["__scopeId", "data-v-
|
|
2268
|
+
}, [["__scopeId", "data-v-b50edb0a"]]);
|
|
2266
2269
|
//#endregion
|
|
2267
2270
|
export { $e as n, Qt as t };
|