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,41 +1,41 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import { B as t,
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { c as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { Fragment as
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { B as t, Bt as n, Ct as r, Et as i, G as a, H as o, I as s, J as c, O as ee, Pt as te, Rt as ne, S as re, X as ie, ct as ae, i as l, k as oe, ot as se, q as ce, r as le, t as ue, x as de, y as fe } from "./lib-DUeYQsS0.js";
|
|
3
|
+
import { t as pe } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
+
import { t as me } from "./useConfig-DAyQk86L.js";
|
|
5
|
+
import { t as he } from "./usePrinter-C1Gqt_Sp.js";
|
|
6
|
+
import { n as ge, t as _e } from "./BaseScanner-Dr2a1Msy.js";
|
|
7
|
+
import { t as ve } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
+
import { t as ye } from "./useNestedProp-CNcoy38D.js";
|
|
9
|
+
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
+
import { t as Se } from "./img-1cKsci8e.js";
|
|
12
|
+
import { n as Ce } from "./Title-NWp4qB4K.js";
|
|
13
|
+
import { t as we } from "./Shape-BPCJfphn.js";
|
|
14
|
+
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
|
+
import { c as Ee } from "./canvas-lib-BOP_HS11.js";
|
|
16
|
+
import { t as De } from "./useResponsive-BfnK0KxU.js";
|
|
17
|
+
import { t as Oe } from "./BaseLegendToggle-C_Db-y7s.js";
|
|
18
|
+
import { t as ke } from "./A11yDataTable-BCbtxMU6.js";
|
|
19
|
+
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
|
+
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
+
import { t as Me } from "./Legend-Cz2uQ5gs.js";
|
|
22
|
+
import { t as Ne } from "./vue_ui_ridgeline-VM8_mx4J.js";
|
|
23
|
+
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Le, nextTick as Re, normalizeClass as ze, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Be, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as w, toRefs as Ue, unref as T, watch as E, watchEffect as We, withCtx as D } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-ridgeline.vue
|
|
25
|
-
var
|
|
25
|
+
var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je = { style: { position: "relative" } }, Ye = [
|
|
26
26
|
"xmlns",
|
|
27
27
|
"aria-describedby",
|
|
28
28
|
"viewBox"
|
|
29
|
-
],
|
|
29
|
+
], Xe = ["id"], Ze = ["stop-color"], Qe = ["stop-color"], $e = ["stop-color"], et = ["stop-color"], tt = ["id"], nt = ["stop-color"], rt = ["stop-color"], it = ["stop-color"], at = ["stop-color"], ot = { key: 0 }, st = ["fill", "d"], ct = [
|
|
30
30
|
"stroke",
|
|
31
31
|
"stroke-width",
|
|
32
32
|
"d"
|
|
33
|
-
],
|
|
33
|
+
], lt = ["fill", "d"], ut = [
|
|
34
34
|
"stroke",
|
|
35
35
|
"stroke-dasharray",
|
|
36
36
|
"stroke-width",
|
|
37
37
|
"d"
|
|
38
|
-
],
|
|
38
|
+
], dt = [
|
|
39
39
|
"x1",
|
|
40
40
|
"y1",
|
|
41
41
|
"x2",
|
|
@@ -43,14 +43,14 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
43
43
|
"stroke",
|
|
44
44
|
"stroke-width",
|
|
45
45
|
"stroke-dasharray"
|
|
46
|
-
],
|
|
46
|
+
], ft = [
|
|
47
47
|
"cx",
|
|
48
48
|
"cy",
|
|
49
49
|
"stroke",
|
|
50
50
|
"stroke-width",
|
|
51
51
|
"r",
|
|
52
52
|
"fill"
|
|
53
|
-
],
|
|
53
|
+
], pt = [
|
|
54
54
|
"x",
|
|
55
55
|
"y",
|
|
56
56
|
"font-size",
|
|
@@ -59,20 +59,20 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
59
59
|
"text-decoration",
|
|
60
60
|
"onMouseenter",
|
|
61
61
|
"onClick"
|
|
62
|
-
],
|
|
62
|
+
], mt = { key: 0 }, ht = [
|
|
63
63
|
"font-size",
|
|
64
64
|
"fill",
|
|
65
65
|
"font-weight",
|
|
66
66
|
"transform",
|
|
67
67
|
"text-anchor"
|
|
68
|
-
],
|
|
68
|
+
], gt = [
|
|
69
69
|
"font-size",
|
|
70
70
|
"fill",
|
|
71
71
|
"font-weight",
|
|
72
72
|
"transform",
|
|
73
73
|
"text-anchor",
|
|
74
74
|
"innerHTML"
|
|
75
|
-
],
|
|
75
|
+
], _t = [
|
|
76
76
|
"x",
|
|
77
77
|
"y",
|
|
78
78
|
"width",
|
|
@@ -80,7 +80,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
80
80
|
"onMouseenter",
|
|
81
81
|
"onMouseleave",
|
|
82
82
|
"onClick"
|
|
83
|
-
],
|
|
83
|
+
], vt = [
|
|
84
84
|
"x1",
|
|
85
85
|
"x2",
|
|
86
86
|
"y1",
|
|
@@ -88,20 +88,20 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
88
88
|
"stroke",
|
|
89
89
|
"stroke-width",
|
|
90
90
|
"stroke-dasharray"
|
|
91
|
-
],
|
|
91
|
+
], yt = [
|
|
92
92
|
"cx",
|
|
93
93
|
"cy",
|
|
94
94
|
"stroke",
|
|
95
95
|
"stroke-width",
|
|
96
96
|
"r",
|
|
97
97
|
"fill"
|
|
98
|
-
],
|
|
98
|
+
], bt = [
|
|
99
99
|
"x",
|
|
100
100
|
"y",
|
|
101
101
|
"text-anchor",
|
|
102
102
|
"font-size",
|
|
103
103
|
"fill"
|
|
104
|
-
],
|
|
104
|
+
], xt = {
|
|
105
105
|
key: 0,
|
|
106
106
|
style: {
|
|
107
107
|
position: "absolute",
|
|
@@ -111,10 +111,10 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
111
111
|
},
|
|
112
112
|
"data-dom-to-png-ignore": "",
|
|
113
113
|
"aria-hidden": "true"
|
|
114
|
-
},
|
|
114
|
+
}, St = {
|
|
115
115
|
key: 5,
|
|
116
116
|
class: "vue-data-ui-watermark"
|
|
117
|
-
},
|
|
117
|
+
}, Ct = ["onClick"], wt = ["innerHTML"], Tt = /* @__PURE__ */ Te({
|
|
118
118
|
__name: "vue-ui-ridgeline",
|
|
119
119
|
props: {
|
|
120
120
|
config: {
|
|
@@ -136,35 +136,35 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
136
136
|
"selectX",
|
|
137
137
|
"copyAlt"
|
|
138
138
|
],
|
|
139
|
-
setup(e, { expose:
|
|
140
|
-
let
|
|
139
|
+
setup(e, { expose: Te, emit: Ge }) {
|
|
140
|
+
let Tt = g(() => import("./vue-ui-xy-lfMIx0wK.js").then((e) => e.n)), Et = g(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), Dt = g(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), Ot = g(() => import("./DataTable-B--IN22e.js")), kt = g(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), At = g(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), jt = g(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Mt = g(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_ridgeline: Nt } = me(), { isThemeValid: Pt, warnInvalidTheme: Ft } = be(), O = e, It = d({
|
|
141
141
|
get() {
|
|
142
142
|
return Array.isArray(z.value) && z.value.length > 0;
|
|
143
143
|
},
|
|
144
144
|
set(e) {
|
|
145
145
|
return e;
|
|
146
146
|
}
|
|
147
|
-
}),
|
|
147
|
+
}), Lt = Ge, k = x(null), Rt = x(null), zt = x(null), A = He(null), j = He(null), Bt = x(null), Vt = x(null), Ht = x(0), Ut = x(0), Wt = x(0), M = x(o()), Gt = x(0), Kt = x(0), qt = x(512), N = x(null), P = x(null), Jt = x(null), Yt = x(0), Xt = x(null), Zt = x(null), Qt = x(null), $t = x(!1), en = x(!1), F = x(null), tn = x(!1);
|
|
148
148
|
function nn() {
|
|
149
|
-
let e =
|
|
150
|
-
userConfig:
|
|
151
|
-
defaultConfig:
|
|
149
|
+
let e = ye({
|
|
150
|
+
userConfig: O.config,
|
|
151
|
+
defaultConfig: Nt
|
|
152
152
|
}), t = e.theme;
|
|
153
153
|
if (!t) return e;
|
|
154
|
-
if (!
|
|
155
|
-
let n =
|
|
156
|
-
userConfig:
|
|
154
|
+
if (!Pt.value(e)) return Ft(e), e;
|
|
155
|
+
let n = ye({
|
|
156
|
+
userConfig: Ne[t] || O.config,
|
|
157
157
|
defaultConfig: e
|
|
158
|
-
}), r =
|
|
159
|
-
userConfig:
|
|
158
|
+
}), r = ye({
|
|
159
|
+
userConfig: O.config,
|
|
160
160
|
defaultConfig: n
|
|
161
161
|
});
|
|
162
162
|
return {
|
|
163
163
|
...r,
|
|
164
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
164
|
+
customPalette: r.customPalette.length ? r.customPalette : ne[t] || i
|
|
165
165
|
};
|
|
166
166
|
}
|
|
167
|
-
let I =
|
|
167
|
+
let I = x(nn()), L = d(() => I.value.userOptions.useCursorPointer), rn = d(() => n({
|
|
168
168
|
defaultConfig: {
|
|
169
169
|
userOptions: { show: !1 },
|
|
170
170
|
table: { show: !1 },
|
|
@@ -186,11 +186,11 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
186
186
|
} }
|
|
187
187
|
},
|
|
188
188
|
userConfig: I.value.skeletonConfig ?? {}
|
|
189
|
-
})), { loading: R, FINAL_DATASET: z, manualLoading: an } =
|
|
190
|
-
...
|
|
189
|
+
})), { loading: R, FINAL_DATASET: z, manualLoading: an } = ge({
|
|
190
|
+
...Ue(O),
|
|
191
191
|
FINAL_CONFIG: I,
|
|
192
192
|
prepareConfig: nn,
|
|
193
|
-
skeletonDataset:
|
|
193
|
+
skeletonDataset: O.config?.skeletonDataset ?? [
|
|
194
194
|
{
|
|
195
195
|
name: "_",
|
|
196
196
|
datapoints: [{
|
|
@@ -420,11 +420,11 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
420
420
|
}]
|
|
421
421
|
}
|
|
422
422
|
],
|
|
423
|
-
skeletonConfig:
|
|
423
|
+
skeletonConfig: n({
|
|
424
424
|
defaultConfig: I.value,
|
|
425
425
|
userConfig: rn.value
|
|
426
426
|
})
|
|
427
|
-
}), B =
|
|
427
|
+
}), B = x(Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight)), { userOptionsVisible: on, setUserOptionsVisibility: sn, keepUserOptionState: cn } = Ae({ config: I.value }), { svgRef: V } = je({ config: I.value.style.chart.title }), ln = d(() => !!I.value.debug);
|
|
428
428
|
function un() {
|
|
429
429
|
let e = z.value || [];
|
|
430
430
|
if (!Array.isArray(e) || e.length === 0) {
|
|
@@ -440,7 +440,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
440
440
|
datasetObject: e,
|
|
441
441
|
requiredAttributes: ["name", "datapoints"]
|
|
442
442
|
}).forEach((e) => {
|
|
443
|
-
|
|
443
|
+
It.value = !1, ie({
|
|
444
444
|
componentName: "VueUiRidgeline",
|
|
445
445
|
type: "datasetSerieAttribute",
|
|
446
446
|
property: e,
|
|
@@ -452,7 +452,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
452
452
|
datasetObject: e,
|
|
453
453
|
requiredAttributes: ["name", "values"]
|
|
454
454
|
}).forEach((e) => {
|
|
455
|
-
|
|
455
|
+
It.value = !1, ie({
|
|
456
456
|
componentName: "VueUiRidgeline",
|
|
457
457
|
type: "datasetSerieAttribute",
|
|
458
458
|
property: `datapoint.${e}`,
|
|
@@ -461,51 +461,51 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
461
461
|
});
|
|
462
462
|
});
|
|
463
463
|
});
|
|
464
|
-
}),
|
|
465
|
-
let t =
|
|
466
|
-
let { width: t, height: n } =
|
|
467
|
-
chart:
|
|
468
|
-
title: I.value.style.chart.title.text ?
|
|
469
|
-
legend: I.value.style.chart.legend.show ?
|
|
470
|
-
source:
|
|
471
|
-
noTitle:
|
|
464
|
+
}), Kt.value = e.length, B.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), r(O.dataset) || (an.value = I.value.loading), I.value.responsive) {
|
|
465
|
+
let t = Ee(() => {
|
|
466
|
+
let { width: t, height: n } = De({
|
|
467
|
+
chart: k.value,
|
|
468
|
+
title: I.value.style.chart.title.text ? Rt.value : null,
|
|
469
|
+
legend: I.value.style.chart.legend.show ? zt.value : null,
|
|
470
|
+
source: Bt.value,
|
|
471
|
+
noTitle: Vt.value,
|
|
472
472
|
padding: I.value.style.chart.padding
|
|
473
473
|
});
|
|
474
474
|
requestAnimationFrame(() => {
|
|
475
|
-
|
|
475
|
+
qt.value = t, B.value = e.length ? n / e.length : 0, Yt.value = n - 12;
|
|
476
476
|
});
|
|
477
477
|
});
|
|
478
|
-
|
|
478
|
+
A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(t), j.value = k.value?.parentNode || null, j.value && A.value.observe(j.value);
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
|
-
|
|
482
|
-
|
|
481
|
+
Be(() => {
|
|
482
|
+
A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect());
|
|
483
483
|
});
|
|
484
|
-
let { isPrinting: dn, isImaging: fn, generatePdf: pn, generateImage: mn } =
|
|
485
|
-
elementId: `vue-ui-ridgeline_${
|
|
484
|
+
let { isPrinting: dn, isImaging: fn, generatePdf: pn, generateImage: mn } = he({
|
|
485
|
+
elementId: `vue-ui-ridgeline_${M.value}`,
|
|
486
486
|
fileName: I.value.style.chart.title.text || "vue-ui-ridgeline",
|
|
487
487
|
options: I.value.userOptions.print
|
|
488
|
-
}), hn =
|
|
489
|
-
|
|
490
|
-
Array.isArray(e) && e.length && (on.value = !I.value.userOptions.showOnChartHover, await
|
|
488
|
+
}), hn = d(() => I.value.userOptions.show && !I.value.style.chart.title.text), gn = d(() => de(I.value.customPalette)), H = x({ showTable: I.value.table.show });
|
|
489
|
+
E(() => z.value, async (e) => {
|
|
490
|
+
Array.isArray(e) && e.length && (on.value = !I.value.userOptions.showOnChartHover, await Re(), un(), Ht.value += 1, Wt.value += 1, H.value.showTable = I.value.table.show);
|
|
491
491
|
}, {
|
|
492
492
|
deep: !0,
|
|
493
493
|
immediate: !0
|
|
494
|
-
}),
|
|
494
|
+
}), E(() => O.dataset, (e) => {
|
|
495
495
|
Array.isArray(e) && e.length > 0 && (an.value = !1);
|
|
496
|
-
}, { deep: !0 }),
|
|
497
|
-
e || (await
|
|
498
|
-
}, { immediate: !0 }),
|
|
499
|
-
I.value = nn(z.value || null), on.value = !I.value.userOptions.showOnChartHover, B.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), H.value.showTable = I.value.table.show,
|
|
496
|
+
}, { deep: !0 }), E(() => R.value, async (e) => {
|
|
497
|
+
e || (await Re(), un());
|
|
498
|
+
}, { immediate: !0 }), E(() => O.config, () => {
|
|
499
|
+
I.value = nn(z.value || null), on.value = !I.value.userOptions.showOnChartHover, B.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), H.value.showTable = I.value.table.show, Ht.value += 1, Wt.value += 1;
|
|
500
500
|
}, { deep: !0 });
|
|
501
|
-
let _n =
|
|
501
|
+
let _n = d(() => I.value.style.chart.areas.height / I.value.style.chart.areas.rowHeight);
|
|
502
502
|
function vn() {
|
|
503
503
|
Y.value.length ? Y.value = [] : X.value.forEach((e) => {
|
|
504
504
|
Y.value.push(e.id);
|
|
505
|
-
}),
|
|
505
|
+
}), Lt("selectLegend", J.value);
|
|
506
506
|
}
|
|
507
507
|
function yn(e) {
|
|
508
|
-
Y.value.includes(e) ? Y.value = Y.value.filter((t) => t !== e) : Y.value.push(e),
|
|
508
|
+
Y.value.includes(e) ? Y.value = Y.value.filter((t) => t !== e) : Y.value.push(e), Lt("selectLegend", J.value);
|
|
509
509
|
}
|
|
510
510
|
function bn(e) {
|
|
511
511
|
return X.value.length ? X.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiRidgeline - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiRidgeline - There are no series to show."), null);
|
|
@@ -518,50 +518,50 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
518
518
|
let t = bn(e);
|
|
519
519
|
t !== null && (Y.value.includes(t.id) || yn(t.id));
|
|
520
520
|
}
|
|
521
|
-
let U =
|
|
521
|
+
let U = d(() => It.value ? (z.value || []).map((e) => ({
|
|
522
522
|
...e,
|
|
523
523
|
labelLen: In(e.name, I.value.style.chart.yAxis.labels.fontSize),
|
|
524
|
-
uid:
|
|
524
|
+
uid: o(),
|
|
525
525
|
datapoints: e.datapoints.map((e, t) => {
|
|
526
|
-
let n = e.color ? fe(e.color) : gn.value[t] ||
|
|
526
|
+
let n = e.color ? fe(e.color) : gn.value[t] || i[t] || i[t % i.length], r = te(e.name);
|
|
527
527
|
return {
|
|
528
528
|
...e,
|
|
529
529
|
color: n,
|
|
530
530
|
id: r
|
|
531
531
|
};
|
|
532
532
|
})
|
|
533
|
-
})) : []), Cn =
|
|
533
|
+
})) : []), Cn = d(() => I.value.style.chart.padding.top + B.value * (z.value || []).length + B.value * _n.value + I.value.style.chart.padding.bottom), W = d(() => {
|
|
534
534
|
let e = I.value.style.chart.padding;
|
|
535
535
|
return {
|
|
536
|
-
width:
|
|
536
|
+
width: qt.value,
|
|
537
537
|
height: Cn.value,
|
|
538
538
|
padding: e
|
|
539
539
|
};
|
|
540
|
-
}), wn =
|
|
540
|
+
}), wn = d(() => W.value.width), Tn = d(() => W.value.height), En = x(0), Dn = Ee((e) => {
|
|
541
541
|
En.value = e;
|
|
542
542
|
}, 100);
|
|
543
|
-
|
|
544
|
-
let t =
|
|
543
|
+
We((e) => {
|
|
544
|
+
let t = Xt.value;
|
|
545
545
|
if (!t) return;
|
|
546
546
|
let n = new ResizeObserver((e) => {
|
|
547
547
|
Dn(e[0].contentRect.height);
|
|
548
548
|
});
|
|
549
549
|
n.observe(t), e(() => n.disconnect());
|
|
550
|
-
}),
|
|
550
|
+
}), Be(() => {
|
|
551
551
|
En.value = 0;
|
|
552
552
|
});
|
|
553
|
-
let G =
|
|
553
|
+
let G = d(() => ({
|
|
554
554
|
fullHeight: W.value.height + En.value,
|
|
555
555
|
top: W.value.padding.top,
|
|
556
556
|
left: W.value.padding.left,
|
|
557
557
|
right: W.value.width - W.value.padding.right,
|
|
558
558
|
bottom: W.value.height - I.value.style.chart.padding.bottom,
|
|
559
559
|
width: W.value.width - (W.value.padding.left + W.value.padding.right)
|
|
560
|
-
})), On =
|
|
561
|
-
|
|
560
|
+
})), On = d(() => Math.max(...U.value.flatMap((e) => e.datapoints.map((e) => e.values.length)))), K = x([]), kn = 0;
|
|
561
|
+
We(() => {
|
|
562
562
|
let e = ++kn;
|
|
563
563
|
(async () => {
|
|
564
|
-
let t = await
|
|
564
|
+
let t = await pe({
|
|
565
565
|
values: I.value.style.chart.xAxis.labels.values,
|
|
566
566
|
maxDatapoints: On.value,
|
|
567
567
|
formatter: I.value.style.chart.xAxis.labels.datetimeFormatter,
|
|
@@ -571,7 +571,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
571
571
|
e === kn && (K.value = t);
|
|
572
572
|
})();
|
|
573
573
|
});
|
|
574
|
-
let q =
|
|
574
|
+
let q = d(() => {
|
|
575
575
|
let e = Math.max(...U.value.map((e) => e.labelLen)), t = W.value.padding.left + e + 16 + I.value.style.chart.yAxis.labels.offsetX, n = (G.value.width - t) / On.value, r = [];
|
|
576
576
|
for (let e = 0; e < On.value; e += 1) r.push({
|
|
577
577
|
selectorX: t + n * e,
|
|
@@ -591,7 +591,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
591
591
|
})));
|
|
592
592
|
}
|
|
593
593
|
function jn(e) {
|
|
594
|
-
|
|
594
|
+
N.value = e;
|
|
595
595
|
let t = An(e);
|
|
596
596
|
I.value.events.datapointEnter && I.value.events.datapointEnter({
|
|
597
597
|
datapoint: t,
|
|
@@ -599,7 +599,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
599
599
|
});
|
|
600
600
|
}
|
|
601
601
|
function Mn(e) {
|
|
602
|
-
|
|
602
|
+
N.value = null;
|
|
603
603
|
let t = An(e);
|
|
604
604
|
I.value.events.datapointLeave && I.value.events.datapointLeave({
|
|
605
605
|
datapoint: t,
|
|
@@ -611,7 +611,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
611
611
|
I.value.events.datapointClick && I.value.events.datapointClick({
|
|
612
612
|
datapoint: t,
|
|
613
613
|
seriesIndex: e.index
|
|
614
|
-
}),
|
|
614
|
+
}), Lt("selectX", t);
|
|
615
615
|
}
|
|
616
616
|
function Pn(e, t) {
|
|
617
617
|
return e.length * t / 2 + t;
|
|
@@ -623,23 +623,23 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
623
623
|
let r = document.createElement("canvas").getContext("2d");
|
|
624
624
|
return r.font = `${typeof t == "number" ? `${t}px` : t} ${n}`, r.measureText(e).width;
|
|
625
625
|
}
|
|
626
|
-
let J =
|
|
626
|
+
let J = d(() => {
|
|
627
627
|
B.value;
|
|
628
|
-
let e = Math.max(...U.value.map((e) => e.labelLen)), t = Math.max(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), n = Math.min(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))),
|
|
629
|
-
function
|
|
630
|
-
return isNaN(e /
|
|
628
|
+
let e = Math.max(...U.value.map((e) => e.labelLen)), t = Math.max(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), n = Math.min(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = W.value.padding.left + e + 16 + I.value.style.chart.yAxis.labels.offsetX, i = (G.value.width - r) / On.value, a = Math.abs(Math.min(n, 0)), c = t + a;
|
|
629
|
+
function te(e) {
|
|
630
|
+
return isNaN(e / c) ? 0 : e / c;
|
|
631
631
|
}
|
|
632
632
|
return U.value.map((e, t) => {
|
|
633
|
-
let n = G.value.top + B.value * t,
|
|
633
|
+
let n = G.value.top + B.value * t, c = G.value.top + n + B.value * _n.value * (1 - te(a));
|
|
634
634
|
return {
|
|
635
635
|
...e,
|
|
636
636
|
label: {
|
|
637
|
-
x:
|
|
638
|
-
y:
|
|
637
|
+
x: r - I.value.style.chart.yAxis.labels.fontSize,
|
|
638
|
+
y: c
|
|
639
639
|
},
|
|
640
640
|
datapoints: e.datapoints.map((e) => {
|
|
641
|
-
let t = e.values.map((t,
|
|
642
|
-
let
|
|
641
|
+
let t = e.values.map((t, o) => {
|
|
642
|
+
let s = isNaN(t) || [
|
|
643
643
|
void 0,
|
|
644
644
|
null,
|
|
645
645
|
"NaN",
|
|
@@ -648,33 +648,33 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
648
648
|
-Infinity
|
|
649
649
|
].includes(t) ? 0 : t || 0;
|
|
650
650
|
return {
|
|
651
|
-
x:
|
|
652
|
-
y: G.value.top + n + B.value * _n.value * (1 -
|
|
651
|
+
x: r + i * o,
|
|
652
|
+
y: G.value.top + n + B.value * _n.value * (1 - te(s + a)),
|
|
653
653
|
value: t,
|
|
654
654
|
isMaxPoint: t === Math.max(...e.values),
|
|
655
|
-
zero:
|
|
655
|
+
zero: c
|
|
656
656
|
};
|
|
657
|
-
}),
|
|
657
|
+
}), ne = `${ee(t, c, !1, !1)}`, re = `M ${r},${c} ${s(t)} ${t.at(-1).x},${c}`, ie = `M ${r},${c} ${t.at(-1).x},${c}`, l = `M ${oe(t)}`, se = `M ${s(t)}`, ce = ae(I.value.style.chart.areas.smooth ? l : se);
|
|
658
658
|
return {
|
|
659
659
|
...e,
|
|
660
|
-
uid:
|
|
660
|
+
uid: o(),
|
|
661
661
|
plots: t,
|
|
662
|
-
smoothPath:
|
|
663
|
-
straightPath:
|
|
664
|
-
zeroPath:
|
|
665
|
-
pathLength:
|
|
666
|
-
smoothPathRidge:
|
|
667
|
-
straightPathRidge:
|
|
662
|
+
smoothPath: ne,
|
|
663
|
+
straightPath: re,
|
|
664
|
+
zeroPath: ie,
|
|
665
|
+
pathLength: ce,
|
|
666
|
+
smoothPathRidge: l,
|
|
667
|
+
straightPathRidge: se
|
|
668
668
|
};
|
|
669
669
|
}).filter((e) => !Y.value.includes(e.id))
|
|
670
670
|
};
|
|
671
671
|
});
|
|
672
|
-
}), Y =
|
|
672
|
+
}), Y = x([]);
|
|
673
673
|
function Ln(e) {
|
|
674
674
|
let t = /* @__PURE__ */ new Map();
|
|
675
675
|
return e.forEach((e) => {
|
|
676
676
|
e.datapoints.forEach((e, n) => {
|
|
677
|
-
let r =
|
|
677
|
+
let r = te(e.name);
|
|
678
678
|
t.has(r) || t.set(r, {
|
|
679
679
|
id: r,
|
|
680
680
|
name: e.name,
|
|
@@ -687,27 +687,27 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
687
687
|
});
|
|
688
688
|
}), Array.from(t.values());
|
|
689
689
|
}
|
|
690
|
-
let X =
|
|
690
|
+
let X = d(() => Ln(U.value)), Rn = d(() => ({
|
|
691
691
|
cy: "donut-div-legend",
|
|
692
692
|
backgroundColor: I.value.style.chart.legend.backgroundColor,
|
|
693
693
|
color: I.value.style.chart.legend.color,
|
|
694
694
|
fontSize: I.value.style.chart.legend.fontSize,
|
|
695
695
|
paddingBottom: 12,
|
|
696
696
|
fontWeight: I.value.style.chart.legend.bold ? "bold" : ""
|
|
697
|
-
})), Z =
|
|
697
|
+
})), Z = x(!1);
|
|
698
698
|
function zn(e) {
|
|
699
|
-
Z.value = e,
|
|
699
|
+
Z.value = e, Gt.value += 1;
|
|
700
700
|
}
|
|
701
|
-
let Bn =
|
|
701
|
+
let Bn = x({}), Vn = x([]);
|
|
702
702
|
function Hn(e) {
|
|
703
|
-
|
|
703
|
+
Lt("selectDatapoint", e), I.value.style.chart.dialog.show && (Vn.value = e.datapoints.map((e) => ({
|
|
704
704
|
name: e.name,
|
|
705
705
|
color: e.color,
|
|
706
706
|
type: "line",
|
|
707
707
|
useArea: !0,
|
|
708
708
|
smooth: I.value.style.chart.areas.smooth,
|
|
709
709
|
series: e.values
|
|
710
|
-
})),
|
|
710
|
+
})), P.value = e, Bn.value = ce({
|
|
711
711
|
...I.value.style.chart.dialog.xyChart,
|
|
712
712
|
responsive: !0,
|
|
713
713
|
chart: {
|
|
@@ -744,29 +744,29 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
744
744
|
useCursorPointer: I.value.userOptions.useCursorPointer
|
|
745
745
|
}
|
|
746
746
|
}
|
|
747
|
-
}),
|
|
747
|
+
}), Jt.value && Jt.value.open());
|
|
748
748
|
}
|
|
749
|
-
let
|
|
750
|
-
function
|
|
751
|
-
|
|
749
|
+
let Q = x(null);
|
|
750
|
+
function Un(e) {
|
|
751
|
+
Q.value = e;
|
|
752
752
|
}
|
|
753
|
-
function
|
|
754
|
-
|
|
753
|
+
function Wn() {
|
|
754
|
+
Q.value = null;
|
|
755
755
|
}
|
|
756
|
-
let
|
|
757
|
-
function
|
|
758
|
-
|
|
756
|
+
let Gn = x(!1);
|
|
757
|
+
function Kn() {
|
|
758
|
+
Gn.value = !Gn.value;
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function qn() {
|
|
761
761
|
H.value.showTable = !H.value.showTable;
|
|
762
762
|
}
|
|
763
|
-
let
|
|
763
|
+
let Jn = d(() => ({ body: J.value.flatMap((e) => e.datapoints.flatMap((t) => ({
|
|
764
764
|
...t,
|
|
765
765
|
rowName: `${e.name}: ${t.name}`
|
|
766
766
|
}))).map((e) => [{
|
|
767
767
|
name: e.rowName,
|
|
768
768
|
color: e.color
|
|
769
|
-
}, ...e.values]) })),
|
|
769
|
+
}, ...e.values]) })), $ = d(() => {
|
|
770
770
|
let e = [I.value.table.columnNames.series, ...K.value.map((e) => e.text)], t = {
|
|
771
771
|
th: {
|
|
772
772
|
backgroundColor: I.value.table.th.backgroundColor,
|
|
@@ -783,26 +783,26 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
783
783
|
return {
|
|
784
784
|
colNames: [I.value.table.columnNames.series, ...K.value.map((e) => e.text)],
|
|
785
785
|
head: e,
|
|
786
|
-
body:
|
|
786
|
+
body: Jn.value.body,
|
|
787
787
|
config: t
|
|
788
788
|
};
|
|
789
789
|
});
|
|
790
|
-
function
|
|
791
|
-
|
|
792
|
-
let t = [[I.value.table.columnNames.series, ...K.map((e) => [e.text])], ...
|
|
793
|
-
e ? e(n) :
|
|
790
|
+
function Yn(e = null) {
|
|
791
|
+
Re(() => {
|
|
792
|
+
let t = [[I.value.table.columnNames.series, ...K.map((e) => [e.text])], ...Jn.value.body.map((e, t) => [e[0].name, ...e.slice(1)])], n = re([[I.value.style.chart.title.text], [I.value.style.chart.title.subtitle.text]].concat(t));
|
|
793
|
+
e ? e(n) : c({
|
|
794
794
|
csvContent: n,
|
|
795
795
|
title: I.value.style.chart.title.text || "vue-ui-ridgeline"
|
|
796
796
|
});
|
|
797
797
|
});
|
|
798
798
|
}
|
|
799
|
-
function
|
|
799
|
+
function Xn() {
|
|
800
800
|
return J.value;
|
|
801
801
|
}
|
|
802
|
-
async function
|
|
803
|
-
if (!
|
|
804
|
-
let { width: t, height: n } =
|
|
805
|
-
domElement:
|
|
802
|
+
async function Zn({ scale: e = 2 } = {}) {
|
|
803
|
+
if (!k.value) return;
|
|
804
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
|
|
805
|
+
domElement: k.value,
|
|
806
806
|
base64: !0,
|
|
807
807
|
img: !0,
|
|
808
808
|
scale: e
|
|
@@ -816,10 +816,10 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
816
816
|
aspectRatio: r
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
|
-
|
|
820
|
-
timeLabelsEls:
|
|
819
|
+
xe({
|
|
820
|
+
timeLabelsEls: Xt,
|
|
821
821
|
timeLabels: K,
|
|
822
|
-
slicer:
|
|
822
|
+
slicer: d(() => ({
|
|
823
823
|
min: 0,
|
|
824
824
|
max: On.value
|
|
825
825
|
})),
|
|
@@ -845,10 +845,10 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
845
845
|
targetClass: ".vue-ui-ridgeline-x-axis-label",
|
|
846
846
|
angle: I.value.style.chart.xAxis.labels.autoRotate.angle
|
|
847
847
|
});
|
|
848
|
-
let
|
|
848
|
+
let Qn = d(() => {
|
|
849
849
|
let e = I.value.table.useDialog && !I.value.table.show, t = H.value.showTable;
|
|
850
850
|
return {
|
|
851
|
-
component: e ?
|
|
851
|
+
component: e ? Mt : Dt,
|
|
852
852
|
title: `${I.value.style.chart.title.text}${I.value.style.chart.title.subtitle.text ? `: ${I.value.style.chart.title.subtitle.text}` : ""}`,
|
|
853
853
|
props: e ? {
|
|
854
854
|
backgroundColor: I.value.table.th.backgroundColor,
|
|
@@ -856,7 +856,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
856
856
|
headerColor: I.value.table.th.color,
|
|
857
857
|
headerBg: I.value.table.th.backgroundColor,
|
|
858
858
|
isFullscreen: Z.value,
|
|
859
|
-
fullscreenParent:
|
|
859
|
+
fullscreenParent: k.value,
|
|
860
860
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
861
861
|
isCursorPointer: L.value
|
|
862
862
|
} : {
|
|
@@ -876,24 +876,24 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
876
876
|
}
|
|
877
877
|
};
|
|
878
878
|
});
|
|
879
|
-
|
|
880
|
-
I.value.table.show || (e && I.value.table.useDialog &&
|
|
879
|
+
E(() => H.value.showTable, (e) => {
|
|
880
|
+
I.value.table.show || (e && I.value.table.useDialog && Zt.value ? Zt.value.open() : "close" in Zt.value && Zt.value.close());
|
|
881
881
|
});
|
|
882
882
|
function $n() {
|
|
883
883
|
H.value.showTable = !1, Qt.value && Qt.value.setTableIconState(!1);
|
|
884
884
|
}
|
|
885
|
-
let er =
|
|
885
|
+
let er = d(() => I.value.style.chart.backgroundColor), tr = d(() => ({
|
|
886
886
|
...I.value.style.chart.legend,
|
|
887
887
|
position: "bottom"
|
|
888
|
-
})), { exportSvg: nr, getSvg: rr } =
|
|
888
|
+
})), { exportSvg: nr, getSvg: rr } = ve({
|
|
889
889
|
svg: V,
|
|
890
|
-
title:
|
|
890
|
+
title: d(() => I.value.style.chart.title),
|
|
891
891
|
legend: tr,
|
|
892
892
|
legendItems: X,
|
|
893
893
|
backgroundColor: er
|
|
894
894
|
});
|
|
895
895
|
async function ir({ isCb: e }) {
|
|
896
|
-
en.value = !0, await
|
|
896
|
+
en.value = !0, await Re();
|
|
897
897
|
try {
|
|
898
898
|
if (e) {
|
|
899
899
|
let { blob: e, url: t, text: n, dataUrl: r } = await rr();
|
|
@@ -923,7 +923,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
923
923
|
sr("xy-zoom", e.dataset, e.config);
|
|
924
924
|
}
|
|
925
925
|
async function sr(e = "main-chart", t = null, n = null) {
|
|
926
|
-
if (
|
|
926
|
+
if (Lt("copyAlt", {
|
|
927
927
|
source: e,
|
|
928
928
|
config: e === "main-chart" ? I.value : Bn.value,
|
|
929
929
|
dataset: e === "main-chart" ? J.value : Vn.value
|
|
@@ -944,10 +944,10 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
944
944
|
pr(), tn.value = !1;
|
|
945
945
|
}
|
|
946
946
|
function ur(e) {
|
|
947
|
-
if (!V.value ||
|
|
948
|
-
let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ",
|
|
949
|
-
if (!t && !n && !r && !i && !a && !
|
|
950
|
-
if (e.preventDefault(), e.stopPropagation(),
|
|
947
|
+
if (!V.value || Gn.value || document.activeElement !== V.value || !J.value.length) return;
|
|
948
|
+
let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
949
|
+
if (!t && !n && !r && !i && !a && !o) return;
|
|
950
|
+
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
951
951
|
pr();
|
|
952
952
|
return;
|
|
953
953
|
}
|
|
@@ -957,19 +957,19 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
957
957
|
e && Hn(e);
|
|
958
958
|
return;
|
|
959
959
|
}
|
|
960
|
-
|
|
960
|
+
N.value && Nn(N.value);
|
|
961
961
|
return;
|
|
962
962
|
}
|
|
963
963
|
if (t || n) {
|
|
964
964
|
let e = F.value;
|
|
965
|
-
e = e === null ? n ? 0 : J.value.length - 1 : dr(e + (n ? 1 : -1)), F.value = e,
|
|
965
|
+
e = e === null ? n ? 0 : J.value.length - 1 : dr(e + (n ? 1 : -1)), F.value = e, Q.value = e;
|
|
966
966
|
return;
|
|
967
967
|
}
|
|
968
968
|
if (!q.value.length) return;
|
|
969
|
-
let
|
|
970
|
-
|
|
971
|
-
let
|
|
972
|
-
|
|
969
|
+
let s = N.value?.index ?? null;
|
|
970
|
+
s = s === null ? i ? 0 : q.value.length - 1 : fr(s + (i ? 1 : -1));
|
|
971
|
+
let c = q.value[s];
|
|
972
|
+
c && jn(c);
|
|
973
973
|
}
|
|
974
974
|
function dr(e) {
|
|
975
975
|
let t = J.value.length;
|
|
@@ -980,49 +980,49 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
980
980
|
return t ? (e % t + t) % t : null;
|
|
981
981
|
}
|
|
982
982
|
function pr() {
|
|
983
|
-
F.value = null,
|
|
983
|
+
F.value = null, Q.value = null, N.value ? Mn(N.value) : N.value = null;
|
|
984
984
|
}
|
|
985
|
-
let mr =
|
|
986
|
-
head:
|
|
987
|
-
body:
|
|
985
|
+
let mr = d(() => ({
|
|
986
|
+
head: $.value.head,
|
|
987
|
+
body: $.value.body.map((e) => [e[0]?.name ?? "", ...e.slice(1)]),
|
|
988
988
|
caption: I.value.a11y.translations.tableCaption,
|
|
989
989
|
notice: I.value.a11y.translations.tableAvailable
|
|
990
990
|
}));
|
|
991
|
-
return
|
|
992
|
-
getData:
|
|
993
|
-
getImage:
|
|
991
|
+
return Te({
|
|
992
|
+
getData: Xn,
|
|
993
|
+
getImage: Zn,
|
|
994
994
|
generateImage: mn,
|
|
995
995
|
generateSvg: ir,
|
|
996
996
|
generatePdf: pn,
|
|
997
|
-
generateCsv:
|
|
997
|
+
generateCsv: Yn,
|
|
998
998
|
hideSeries: Sn,
|
|
999
999
|
showSeries: xn,
|
|
1000
|
-
toggleAnnotator:
|
|
1001
|
-
toggleTable:
|
|
1000
|
+
toggleAnnotator: Kn,
|
|
1001
|
+
toggleTable: qn,
|
|
1002
1002
|
toggleFullscreen: zn,
|
|
1003
1003
|
copyAlt: sr
|
|
1004
|
-
}), (e,
|
|
1004
|
+
}), (e, n) => (b(), m("div", {
|
|
1005
1005
|
ref_key: "ridgelineChart",
|
|
1006
|
-
ref:
|
|
1007
|
-
class:
|
|
1008
|
-
id: `vue-ui-ridgeline_${
|
|
1009
|
-
style:
|
|
1006
|
+
ref: k,
|
|
1007
|
+
class: ze(`vue-data-ui-component vue-ui-ridgeline ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
1008
|
+
id: `vue-ui-ridgeline_${M.value}`,
|
|
1009
|
+
style: y({
|
|
1010
1010
|
fontFamily: I.value.style.fontFamily,
|
|
1011
1011
|
width: "100%",
|
|
1012
1012
|
textAlign: "center",
|
|
1013
1013
|
background: I.value.style.chart.backgroundColor,
|
|
1014
1014
|
height: I.value.responsive ? "100%" : void 0
|
|
1015
1015
|
}),
|
|
1016
|
-
onMouseenter:
|
|
1017
|
-
onMouseleave:
|
|
1016
|
+
onMouseenter: n[3] ||= () => T(sn)(!0),
|
|
1017
|
+
onMouseleave: n[4] ||= () => T(sn)(!1)
|
|
1018
1018
|
}, [
|
|
1019
|
-
|
|
1020
|
-
id: `chart-instructions-${
|
|
1019
|
+
h("div", {
|
|
1020
|
+
id: `chart-instructions-${M.value}`,
|
|
1021
1021
|
class: "sr-only"
|
|
1022
|
-
}, [
|
|
1023
|
-
mr.value.body.length ? (
|
|
1022
|
+
}, [h("p", null, w(I.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
|
|
1023
|
+
mr.value.body.length ? (b(), f(ke, {
|
|
1024
1024
|
key: 0,
|
|
1025
|
-
uid:
|
|
1025
|
+
uid: M.value,
|
|
1026
1026
|
head: mr.value.head,
|
|
1027
1027
|
body: mr.value.body,
|
|
1028
1028
|
caption: mr.value.caption,
|
|
@@ -1033,22 +1033,22 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1033
1033
|
"body",
|
|
1034
1034
|
"caption",
|
|
1035
1035
|
"notice"
|
|
1036
|
-
])) :
|
|
1037
|
-
I.value.userOptions.buttons.annotator &&
|
|
1036
|
+
])) : p("", !0),
|
|
1037
|
+
I.value.userOptions.buttons.annotator && T(V) ? (b(), f(T(kt), {
|
|
1038
1038
|
key: 1,
|
|
1039
1039
|
color: I.value.style.chart.color,
|
|
1040
1040
|
backgroundColor: I.value.style.chart.backgroundColor,
|
|
1041
|
-
active:
|
|
1042
|
-
svgRef:
|
|
1041
|
+
active: Gn.value,
|
|
1042
|
+
svgRef: T(V),
|
|
1043
1043
|
isCursorPointer: L.value,
|
|
1044
|
-
onClose:
|
|
1044
|
+
onClose: Kn
|
|
1045
1045
|
}, {
|
|
1046
|
-
"annotator-action-close":
|
|
1047
|
-
"annotator-action-color":
|
|
1048
|
-
"annotator-action-draw":
|
|
1049
|
-
"annotator-action-undo":
|
|
1050
|
-
"annotator-action-redo":
|
|
1051
|
-
"annotator-action-delete":
|
|
1046
|
+
"annotator-action-close": D(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1047
|
+
"annotator-action-color": D(({ color: t }) => [C(e.$slots, "annotator-action-color", v(_({ color: t })), void 0, !0)]),
|
|
1048
|
+
"annotator-action-draw": D(({ mode: t }) => [C(e.$slots, "annotator-action-draw", v(_({ mode: t })), void 0, !0)]),
|
|
1049
|
+
"annotator-action-undo": D(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", v(_({ disabled: t })), void 0, !0)]),
|
|
1050
|
+
"annotator-action-redo": D(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", v(_({ disabled: t })), void 0, !0)]),
|
|
1051
|
+
"annotator-action-delete": D(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", v(_({ disabled: t })), void 0, !0)]),
|
|
1052
1052
|
_: 3
|
|
1053
1053
|
}, 8, [
|
|
1054
1054
|
"color",
|
|
@@ -1056,22 +1056,22 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1056
1056
|
"active",
|
|
1057
1057
|
"svgRef",
|
|
1058
1058
|
"isCursorPointer"
|
|
1059
|
-
])) :
|
|
1060
|
-
|
|
1061
|
-
hn.value ? (
|
|
1059
|
+
])) : p("", !0),
|
|
1060
|
+
C(e.$slots, "userConfig", {}, void 0, !0),
|
|
1061
|
+
hn.value ? (b(), m("div", {
|
|
1062
1062
|
key: 2,
|
|
1063
1063
|
ref_key: "noTitle",
|
|
1064
|
-
ref:
|
|
1064
|
+
ref: Vt,
|
|
1065
1065
|
class: "vue-data-ui-no-title-space",
|
|
1066
1066
|
style: "height:36px; width: 100%;background:transparent"
|
|
1067
|
-
}, null, 512)) :
|
|
1068
|
-
I.value.style.chart.title.text ? (
|
|
1067
|
+
}, null, 512)) : p("", !0),
|
|
1068
|
+
I.value.style.chart.title.text ? (b(), m("div", {
|
|
1069
1069
|
key: 3,
|
|
1070
1070
|
ref_key: "chartTitle",
|
|
1071
|
-
ref:
|
|
1071
|
+
ref: Rt,
|
|
1072
1072
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
1073
|
-
}, [(
|
|
1074
|
-
key: `title_${
|
|
1073
|
+
}, [(b(), f(Ce, {
|
|
1074
|
+
key: `title_${Ht.value}`,
|
|
1075
1075
|
config: {
|
|
1076
1076
|
title: {
|
|
1077
1077
|
cy: "ridgeline-div-title",
|
|
@@ -1082,16 +1082,16 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1082
1082
|
...I.value.style.chart.title.subtitle
|
|
1083
1083
|
}
|
|
1084
1084
|
}
|
|
1085
|
-
}, null, 8, ["config"]))], 512)) :
|
|
1086
|
-
I.value.userOptions.show &&
|
|
1085
|
+
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
1086
|
+
I.value.userOptions.show && It.value && (T(cn) || T(on)) ? (b(), f(T(At), {
|
|
1087
1087
|
ref_key: "userOptionsRef",
|
|
1088
1088
|
ref: Qt,
|
|
1089
|
-
key: `user_option_${
|
|
1089
|
+
key: `user_option_${Gt.value}`,
|
|
1090
1090
|
backgroundColor: I.value.style.chart.backgroundColor,
|
|
1091
1091
|
color: I.value.style.chart.color,
|
|
1092
|
-
isPrinting:
|
|
1093
|
-
isImaging:
|
|
1094
|
-
uid:
|
|
1092
|
+
isPrinting: T(dn),
|
|
1093
|
+
isImaging: T(fn),
|
|
1094
|
+
uid: M.value,
|
|
1095
1095
|
hasTooltip: !1,
|
|
1096
1096
|
callbacks: I.value.userOptions.callbacks,
|
|
1097
1097
|
hasPdf: I.value.userOptions.buttons.pdf,
|
|
@@ -1104,27 +1104,27 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1104
1104
|
hasAltCopy: I.value.userOptions.buttons.altCopy,
|
|
1105
1105
|
isFullscreen: Z.value,
|
|
1106
1106
|
printScale: I.value.userOptions.print.scale,
|
|
1107
|
-
chartElement:
|
|
1107
|
+
chartElement: k.value,
|
|
1108
1108
|
position: I.value.userOptions.position,
|
|
1109
1109
|
isTooltip: !1,
|
|
1110
1110
|
titles: { ...I.value.userOptions.buttonTitles },
|
|
1111
1111
|
hasAnnotator: I.value.userOptions.buttons.annotator,
|
|
1112
|
-
isAnnotation:
|
|
1112
|
+
isAnnotation: Gn.value,
|
|
1113
1113
|
tableDialog: I.value.table.useDialog,
|
|
1114
|
-
style:
|
|
1114
|
+
style: y({ visibility: T(cn) ? T(on) ? "visible" : "hidden" : "visible" }),
|
|
1115
1115
|
isCursorPointer: L.value,
|
|
1116
1116
|
onToggleFullscreen: zn,
|
|
1117
|
-
onGeneratePdf:
|
|
1118
|
-
onGenerateCsv:
|
|
1117
|
+
onGeneratePdf: T(pn),
|
|
1118
|
+
onGenerateCsv: Yn,
|
|
1119
1119
|
onGenerateImage: ar,
|
|
1120
1120
|
onGenerateSvg: ir,
|
|
1121
|
-
onToggleTable:
|
|
1122
|
-
onToggleAnnotator:
|
|
1121
|
+
onToggleTable: qn,
|
|
1122
|
+
onToggleAnnotator: Kn,
|
|
1123
1123
|
onCopyAlt: sr
|
|
1124
|
-
},
|
|
1124
|
+
}, Pe({ _: 2 }, [
|
|
1125
1125
|
e.$slots.menuIcon ? {
|
|
1126
1126
|
name: "menuIcon",
|
|
1127
|
-
fn:
|
|
1127
|
+
fn: D(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(_({
|
|
1128
1128
|
isOpen: t,
|
|
1129
1129
|
color: n
|
|
1130
1130
|
})), void 0, !0)]),
|
|
@@ -1132,37 +1132,37 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1132
1132
|
} : void 0,
|
|
1133
1133
|
e.$slots.optionTooltip ? {
|
|
1134
1134
|
name: "optionTooltip",
|
|
1135
|
-
fn:
|
|
1135
|
+
fn: D(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1136
1136
|
key: "1"
|
|
1137
1137
|
} : void 0,
|
|
1138
1138
|
e.$slots.optionPdf ? {
|
|
1139
1139
|
name: "optionPdf",
|
|
1140
|
-
fn:
|
|
1140
|
+
fn: D(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1141
1141
|
key: "2"
|
|
1142
1142
|
} : void 0,
|
|
1143
1143
|
e.$slots.optionCsv ? {
|
|
1144
1144
|
name: "optionCsv",
|
|
1145
|
-
fn:
|
|
1145
|
+
fn: D(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1146
1146
|
key: "3"
|
|
1147
1147
|
} : void 0,
|
|
1148
1148
|
e.$slots.optionImg ? {
|
|
1149
1149
|
name: "optionImg",
|
|
1150
|
-
fn:
|
|
1150
|
+
fn: D(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1151
1151
|
key: "4"
|
|
1152
1152
|
} : void 0,
|
|
1153
1153
|
e.$slots.optionSvg ? {
|
|
1154
1154
|
name: "optionSvg",
|
|
1155
|
-
fn:
|
|
1155
|
+
fn: D(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1156
1156
|
key: "5"
|
|
1157
1157
|
} : void 0,
|
|
1158
1158
|
e.$slots.optionTable ? {
|
|
1159
1159
|
name: "optionTable",
|
|
1160
|
-
fn:
|
|
1160
|
+
fn: D(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1161
1161
|
key: "6"
|
|
1162
1162
|
} : void 0,
|
|
1163
1163
|
e.$slots.optionFullscreen ? {
|
|
1164
1164
|
name: "optionFullscreen",
|
|
1165
|
-
fn:
|
|
1165
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", v(_({
|
|
1166
1166
|
toggleFullscreen: t,
|
|
1167
1167
|
isFullscreen: n
|
|
1168
1168
|
})), void 0, !0)]),
|
|
@@ -1170,7 +1170,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1170
1170
|
} : void 0,
|
|
1171
1171
|
e.$slots.optionAnnotator ? {
|
|
1172
1172
|
name: "optionAnnotator",
|
|
1173
|
-
fn:
|
|
1173
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", v(_({
|
|
1174
1174
|
toggleAnnotator: t,
|
|
1175
1175
|
isAnnotator: n
|
|
1176
1176
|
})), void 0, !0)]),
|
|
@@ -1178,17 +1178,17 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1178
1178
|
} : void 0,
|
|
1179
1179
|
e.$slots.optionAltCopy ? {
|
|
1180
1180
|
name: "optionAltCopy",
|
|
1181
|
-
fn:
|
|
1181
|
+
fn: D(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(_({ altCopy: t })), void 0, !0)]),
|
|
1182
1182
|
key: "9"
|
|
1183
1183
|
} : void 0,
|
|
1184
1184
|
e.$slots["custom-menu-before"] ? {
|
|
1185
1185
|
name: "custom-menu-before",
|
|
1186
|
-
fn:
|
|
1186
|
+
fn: D(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1187
1187
|
key: "10"
|
|
1188
1188
|
} : void 0,
|
|
1189
1189
|
e.$slots["custom-menu-after"] ? {
|
|
1190
1190
|
name: "custom-menu-after",
|
|
1191
|
-
fn:
|
|
1191
|
+
fn: D(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1192
1192
|
key: "11"
|
|
1193
1193
|
} : void 0
|
|
1194
1194
|
]), 1032, [
|
|
@@ -1216,138 +1216,138 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1216
1216
|
"style",
|
|
1217
1217
|
"isCursorPointer",
|
|
1218
1218
|
"onGeneratePdf"
|
|
1219
|
-
])) :
|
|
1220
|
-
|
|
1219
|
+
])) : p("", !0),
|
|
1220
|
+
h("div", Je, [(b(), m("svg", {
|
|
1221
1221
|
ref_key: "svgRef",
|
|
1222
1222
|
ref: V,
|
|
1223
|
-
xmlns:
|
|
1224
|
-
"aria-describedby": `chart-instructions-${
|
|
1225
|
-
class:
|
|
1223
|
+
xmlns: T(ue),
|
|
1224
|
+
"aria-describedby": `chart-instructions-${M.value}`,
|
|
1225
|
+
class: ze({
|
|
1226
1226
|
"vue-data-ui-fullscreen--on": Z.value,
|
|
1227
1227
|
"vue-data-ui-fulscreen--off": !Z.value
|
|
1228
1228
|
}),
|
|
1229
1229
|
viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${G.value.fullHeight <= 0 ? 10 : G.value.fullHeight}`,
|
|
1230
|
-
style:
|
|
1230
|
+
style: y(`max-width:100%;overflow:visible;background:transparent;color:${I.value.style.chart.color};${I.value.responsive ? `height: ${Yt.value}px; width: 100%;` : ""}`),
|
|
1231
1231
|
tabindex: "0",
|
|
1232
1232
|
onFocus: cr,
|
|
1233
1233
|
onBlur: lr,
|
|
1234
1234
|
onKeydown: ur
|
|
1235
1235
|
}, [
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
id: `gradient-${e.id}-${
|
|
1236
|
+
Ie(T(jt)),
|
|
1237
|
+
h("defs", null, [(b(!0), m(u, null, S(X.value, (e, t) => (b(), m("linearGradient", {
|
|
1238
|
+
id: `gradient-${e.id}-${M.value}`,
|
|
1239
1239
|
x1: "50%",
|
|
1240
1240
|
y1: "0%",
|
|
1241
1241
|
x2: "50%",
|
|
1242
1242
|
y2: "100%"
|
|
1243
1243
|
}, [
|
|
1244
|
-
|
|
1244
|
+
h("stop", {
|
|
1245
1245
|
offset: "0%",
|
|
1246
1246
|
"stop-color": e.color,
|
|
1247
1247
|
"stop-opacity": "1"
|
|
1248
|
-
}, null, 8,
|
|
1249
|
-
|
|
1248
|
+
}, null, 8, Ze),
|
|
1249
|
+
h("stop", {
|
|
1250
1250
|
offset: "30%",
|
|
1251
1251
|
"stop-color": e.color,
|
|
1252
1252
|
"stop-opacity": "0.7"
|
|
1253
|
-
}, null, 8,
|
|
1254
|
-
|
|
1253
|
+
}, null, 8, Qe),
|
|
1254
|
+
h("stop", {
|
|
1255
1255
|
offset: "70%",
|
|
1256
1256
|
"stop-color": e.color,
|
|
1257
1257
|
"stop-opacity": "0.3"
|
|
1258
|
-
}, null, 8,
|
|
1259
|
-
|
|
1258
|
+
}, null, 8, $e),
|
|
1259
|
+
h("stop", {
|
|
1260
1260
|
offset: "100%",
|
|
1261
1261
|
"stop-color": e.color,
|
|
1262
1262
|
"stop-opacity": "0.1"
|
|
1263
|
-
}, null, 8,
|
|
1264
|
-
], 8,
|
|
1263
|
+
}, null, 8, et)
|
|
1264
|
+
], 8, Xe))), 256)), (b(!0), m(u, null, S(J.value, (e, t) => (b(), m(u, null, [(b(!0), m(u, null, S(e.datapoints, (e, t) => (b(), m("linearGradient", {
|
|
1265
1265
|
key: `grad${e.id}`,
|
|
1266
|
-
id: `gradient-single-${
|
|
1266
|
+
id: `gradient-single-${M.value}-${e.uid}`,
|
|
1267
1267
|
x1: "50%",
|
|
1268
1268
|
y1: "0%",
|
|
1269
1269
|
x2: "50%",
|
|
1270
1270
|
y2: "100%"
|
|
1271
1271
|
}, [
|
|
1272
|
-
|
|
1272
|
+
h("stop", {
|
|
1273
1273
|
offset: "0%",
|
|
1274
1274
|
"stop-color": e.color,
|
|
1275
1275
|
"stop-opacity": "1"
|
|
1276
|
-
}, null, 8,
|
|
1277
|
-
|
|
1276
|
+
}, null, 8, nt),
|
|
1277
|
+
h("stop", {
|
|
1278
1278
|
offset: "30%",
|
|
1279
1279
|
"stop-color": e.color,
|
|
1280
1280
|
"stop-opacity": "0.7"
|
|
1281
|
-
}, null, 8,
|
|
1282
|
-
|
|
1281
|
+
}, null, 8, rt),
|
|
1282
|
+
h("stop", {
|
|
1283
1283
|
offset: "70%",
|
|
1284
1284
|
"stop-color": e.color,
|
|
1285
1285
|
"stop-opacity": "0.3"
|
|
1286
|
-
}, null, 8,
|
|
1287
|
-
|
|
1286
|
+
}, null, 8, it),
|
|
1287
|
+
h("stop", {
|
|
1288
1288
|
offset: "100%",
|
|
1289
1289
|
"stop-color": e.color,
|
|
1290
1290
|
"stop-opacity": "0.1"
|
|
1291
|
-
}, null, 8,
|
|
1292
|
-
], 8,
|
|
1293
|
-
(
|
|
1294
|
-
e.$slots.pattern ? (
|
|
1291
|
+
}, null, 8, at)
|
|
1292
|
+
], 8, tt))), 128))], 64))), 256))]),
|
|
1293
|
+
(b(!0), m(u, null, S(J.value, (t, n) => (b(), m("g", { key: `ds-${n}` }, [(b(!0), m(u, null, S(t.datapoints, (t, r) => (b(), m("g", { key: t.id }, [
|
|
1294
|
+
e.$slots.pattern ? (b(), m("g", ot, [h("defs", null, [C(e.$slots, "pattern", Le({ ref_for: !0 }, {
|
|
1295
1295
|
datapointIndex: n,
|
|
1296
1296
|
seriesIndex: r,
|
|
1297
|
-
patternId: `pattern_${
|
|
1298
|
-
}), void 0, !0)])])) :
|
|
1299
|
-
|
|
1300
|
-
fill: e.$slots.pattern ? `url(#pattern_${
|
|
1297
|
+
patternId: `pattern_${M.value}_${t.uid}`
|
|
1298
|
+
}), void 0, !0)])])) : p("", !0),
|
|
1299
|
+
h("path", {
|
|
1300
|
+
fill: e.$slots.pattern ? `url(#pattern_${M.value}_${t.uid})` : I.value.style.chart.backgroundColor,
|
|
1301
1301
|
stroke: "none",
|
|
1302
1302
|
"stroke-linecap": "round",
|
|
1303
1303
|
d: I.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
|
|
1304
|
-
style:
|
|
1305
|
-
}, null, 12,
|
|
1306
|
-
|
|
1304
|
+
style: y({ opacity: I.value.style.chart.areas.opacity })
|
|
1305
|
+
}, null, 12, st),
|
|
1306
|
+
h("path", {
|
|
1307
1307
|
fill: "none",
|
|
1308
1308
|
stroke: I.value.style.chart.areas.stroke.useSerieColor ? t.color : I.value.style.chart.areas.stroke.color,
|
|
1309
1309
|
"stroke-width": I.value.style.chart.areas.strokeWidth,
|
|
1310
1310
|
d: I.value.style.chart.areas.smooth ? t.smoothPathRidge : t.straightPathRidge,
|
|
1311
1311
|
"stroke-linecap": "round",
|
|
1312
1312
|
"stroke-linejoin": "round",
|
|
1313
|
-
class:
|
|
1314
|
-
style:
|
|
1313
|
+
class: ze({ "vue-ui-ridgeline-animate": I.value.useCssAnimation && !T(R) }),
|
|
1314
|
+
style: y({
|
|
1315
1315
|
strokeDasharray: t.pathLength,
|
|
1316
1316
|
strokeDashoffset: I.value.useCssAnimation ? t.pathLength : 0
|
|
1317
1317
|
})
|
|
1318
|
-
}, null, 14,
|
|
1319
|
-
|
|
1320
|
-
fill: I.value.style.chart.areas.useGradient ? I.value.style.chart.areas.useCommonColor ? `url(#gradient-${t.id}-${
|
|
1318
|
+
}, null, 14, ct),
|
|
1319
|
+
h("path", {
|
|
1320
|
+
fill: I.value.style.chart.areas.useGradient ? I.value.style.chart.areas.useCommonColor ? `url(#gradient-${t.id}-${M.value})` : `url(#gradient-single-${M.value}-${t.uid})` : t.color,
|
|
1321
1321
|
stroke: "none",
|
|
1322
1322
|
d: I.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
|
|
1323
1323
|
"stroke-linecap": "round",
|
|
1324
1324
|
"stroke-linejoin": "round",
|
|
1325
|
-
class:
|
|
1326
|
-
style:
|
|
1325
|
+
class: ze({ "vue-ui-ridgeline-animate": I.value.useCssAnimation && !T(R) }),
|
|
1326
|
+
style: y({
|
|
1327
1327
|
strokeDasharray: t.pathLength,
|
|
1328
1328
|
strokeDashoffset: I.value.useCssAnimation ? t.pathLength : 0
|
|
1329
1329
|
})
|
|
1330
|
-
}, null, 14,
|
|
1331
|
-
I.value.style.chart.zeroLine.show ? (
|
|
1330
|
+
}, null, 14, lt),
|
|
1331
|
+
I.value.style.chart.zeroLine.show ? (b(), m("path", {
|
|
1332
1332
|
key: 1,
|
|
1333
1333
|
stroke: I.value.style.chart.zeroLine.useSerieColor ? t.color : I.value.style.chart.zeroLine.stroke,
|
|
1334
1334
|
"stroke-dasharray": I.value.style.chart.zeroLine.strokeDasharray,
|
|
1335
1335
|
"stroke-width": I.value.style.chart.zeroLine.strokeWidth,
|
|
1336
1336
|
d: t.zeroPath,
|
|
1337
1337
|
"stroke-linecap": "round"
|
|
1338
|
-
}, null, 8,
|
|
1339
|
-
I.value.style.chart.areas.maxPoint.show && t.plots.length > 1 ? (
|
|
1338
|
+
}, null, 8, ut)) : p("", !0),
|
|
1339
|
+
I.value.style.chart.areas.maxPoint.show && t.plots.length > 1 ? (b(!0), m(u, { key: 2 }, S(t.plots, (e) => (b(), m(u, null, [e.isMaxPoint ? (b(), m("line", {
|
|
1340
1340
|
key: 0,
|
|
1341
1341
|
x1: e.x,
|
|
1342
1342
|
y1: e.y,
|
|
1343
1343
|
x2: e.x,
|
|
1344
1344
|
y2: e.zero,
|
|
1345
|
-
stroke: I.value.style.chart.areas.maxPoint.adaptStrokeToBackground ?
|
|
1345
|
+
stroke: I.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? T(le)(t.color) : I.value.style.chart.areas.maxPoint.stroke,
|
|
1346
1346
|
"stroke-width": I.value.style.chart.areas.maxPoint.strokeWidth,
|
|
1347
1347
|
"stroke-linecap": "round",
|
|
1348
1348
|
"stroke-dasharray": I.value.style.chart.areas.maxPoint.strokeDasharray
|
|
1349
|
-
}, null, 8,
|
|
1350
|
-
t.plots.length === 1 ? (
|
|
1349
|
+
}, null, 8, dt)) : p("", !0)], 64))), 256)) : p("", !0),
|
|
1350
|
+
t.plots.length === 1 ? (b(), m("circle", {
|
|
1351
1351
|
key: 3,
|
|
1352
1352
|
cx: t.plots[0].x,
|
|
1353
1353
|
cy: t.plots[0].y,
|
|
@@ -1356,26 +1356,26 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1356
1356
|
r: I.value.style.chart.selector.dot.radius,
|
|
1357
1357
|
fill: I.value.style.chart.selector.dot.useDatapointColor ? t.color : I.value.style.chart.selector.dot.fill,
|
|
1358
1358
|
style: { pointerEvents: "none" }
|
|
1359
|
-
}, null, 8,
|
|
1360
|
-
]))), 128)),
|
|
1359
|
+
}, null, 8, ft)) : p("", !0)
|
|
1360
|
+
]))), 128)), h("text", {
|
|
1361
1361
|
x: t.label.x,
|
|
1362
1362
|
y: t.label.y,
|
|
1363
1363
|
"text-anchor": "end",
|
|
1364
1364
|
"font-size": I.value.style.chart.yAxis.labels.fontSize,
|
|
1365
1365
|
"font-weight": I.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
|
|
1366
1366
|
fill: I.value.style.chart.yAxis.labels.color,
|
|
1367
|
-
style:
|
|
1368
|
-
"text-decoration": I.value.style.chart.dialog.show && (
|
|
1369
|
-
onMouseenter: (e) =>
|
|
1370
|
-
onMouseleave:
|
|
1367
|
+
style: y({ cursor: I.value.style.chart.dialog.show && L.value ? "pointer" : "default" }),
|
|
1368
|
+
"text-decoration": I.value.style.chart.dialog.show && (Q.value === n || P.value && t.uid === P.value.uid || F.value === n) ? "underline" : "",
|
|
1369
|
+
onMouseenter: (e) => Un(n),
|
|
1370
|
+
onMouseleave: Wn,
|
|
1371
1371
|
onClick: (e) => Hn(t)
|
|
1372
|
-
},
|
|
1373
|
-
I.value.style.chart.xAxis.labels.values.length ? (
|
|
1372
|
+
}, w(t.name), 45, pt)]))), 128)),
|
|
1373
|
+
I.value.style.chart.xAxis.labels.values.length ? (b(), m("g", {
|
|
1374
1374
|
key: 0,
|
|
1375
1375
|
ref_key: "timeLabelsEls",
|
|
1376
|
-
ref:
|
|
1377
|
-
}, [(
|
|
1378
|
-
show: n && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || n && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (r === 0 || r === q.value.length - 1) || n &&
|
|
1376
|
+
ref: Xt
|
|
1377
|
+
}, [(b(!0), m(u, null, S(q.value, (n, r) => C(e.$slots, "time-label", Le({ ref_for: !0 }, {
|
|
1378
|
+
show: n && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || n && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (r === 0 || r === q.value.length - 1) || n && N.value && N.value.index === r || n && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && I.value.style.chart.xAxis.labels.showOnlyAtModulo && r % Math.floor(q.value.length / I.value.style.chart.xAxis.labels.modulo) === 0,
|
|
1379
1379
|
fontSize: I.value.style.chart.xAxis.labels.fontSize,
|
|
1380
1380
|
content: n.label,
|
|
1381
1381
|
textAnchor: I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
@@ -1383,7 +1383,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1383
1383
|
transform: `translate(${n.selectorX}, ${G.value.top + n.height + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
|
|
1384
1384
|
x: n.selectorX,
|
|
1385
1385
|
y: G.value.bottom + I.value.style.chart.xAxis.labels.offsetY
|
|
1386
|
-
}), () => [n && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || n && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (r === 0 || r === q.value.length - 1) || n &&
|
|
1386
|
+
}), () => [n && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || n && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (r === 0 || r === q.value.length - 1) || n && N.value && N.value.index === r || n && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && I.value.style.chart.xAxis.labels.showOnlyAtModulo && r % Math.floor(q.value.length / I.value.style.chart.xAxis.labels.modulo) === 0 ? (b(), m("g", mt, [String(n.label).includes("\n") ? (b(), m("text", {
|
|
1387
1387
|
key: 1,
|
|
1388
1388
|
class: "vue-ui-ridgeline-x-axis-label",
|
|
1389
1389
|
"font-size": I.value.style.chart.xAxis.labels.fontSize,
|
|
@@ -1391,15 +1391,15 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1391
1391
|
"font-weight": I.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
1392
1392
|
transform: `translate(${n.selectorX}, ${G.value.bottom + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
|
|
1393
1393
|
"text-anchor": I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
1394
|
-
style:
|
|
1395
|
-
innerHTML:
|
|
1394
|
+
style: y({ opacity: N.value ? N.value.index === r ? 1 : .2 : 1 }),
|
|
1395
|
+
innerHTML: T(t)({
|
|
1396
1396
|
content: String(n.label),
|
|
1397
1397
|
fontSize: I.value.style.chart.xAxis.labels.fontSize,
|
|
1398
1398
|
fill: I.value.style.chart.xAxis.labels.color,
|
|
1399
1399
|
x: 0,
|
|
1400
1400
|
y: 0
|
|
1401
1401
|
})
|
|
1402
|
-
}, null, 12,
|
|
1402
|
+
}, null, 12, gt)) : (b(), m("text", {
|
|
1403
1403
|
key: 0,
|
|
1404
1404
|
class: "vue-ui-ridgeline-x-axis-label",
|
|
1405
1405
|
"font-size": I.value.style.chart.xAxis.labels.fontSize,
|
|
@@ -1407,10 +1407,10 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1407
1407
|
"font-weight": I.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
1408
1408
|
transform: `translate(${n.selectorX}, ${G.value.bottom + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
|
|
1409
1409
|
"text-anchor": I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
1410
|
-
style:
|
|
1411
|
-
},
|
|
1412
|
-
|
|
1413
|
-
(
|
|
1410
|
+
style: y({ opacity: N.value ? N.value.index === r ? 1 : .2 : 1 })
|
|
1411
|
+
}, w(n.label), 13, ht))])) : p("", !0)], !0)), 256))], 512)) : p("", !0),
|
|
1412
|
+
h("g", null, [
|
|
1413
|
+
(b(!0), m(u, null, S(q.value, (e, t) => (b(), m("rect", {
|
|
1414
1414
|
x: e.x,
|
|
1415
1415
|
y: e.y,
|
|
1416
1416
|
width: e.width < 0 ? .1 : e.width,
|
|
@@ -1419,20 +1419,20 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1419
1419
|
onMouseenter: (t) => jn(e),
|
|
1420
1420
|
onMouseleave: (t) => Mn(e),
|
|
1421
1421
|
onClick: () => Nn(e)
|
|
1422
|
-
}, null, 40,
|
|
1423
|
-
I.value.style.chart.selector.show &&
|
|
1422
|
+
}, null, 40, _t))), 256)),
|
|
1423
|
+
I.value.style.chart.selector.show && N.value ? (b(), m("line", {
|
|
1424
1424
|
key: 0,
|
|
1425
|
-
x1:
|
|
1426
|
-
x2:
|
|
1427
|
-
y1:
|
|
1428
|
-
y2:
|
|
1425
|
+
x1: N.value.selectorX,
|
|
1426
|
+
x2: N.value.selectorX,
|
|
1427
|
+
y1: N.value.y,
|
|
1428
|
+
y2: N.value.y + N.value.height - B.value / 2,
|
|
1429
1429
|
stroke: I.value.style.chart.selector.stroke,
|
|
1430
1430
|
"stroke-width": I.value.style.chart.selector.strokeWidth,
|
|
1431
1431
|
"stroke-dasharray": I.value.style.chart.selector.strokeDasharray,
|
|
1432
1432
|
"stroke-linecap": "round",
|
|
1433
1433
|
style: { pointerEvents: "none" }
|
|
1434
|
-
}, null, 8,
|
|
1435
|
-
|
|
1434
|
+
}, null, 8, vt)) : p("", !0),
|
|
1435
|
+
N.value ? (b(!0), m(u, { key: 1 }, S(J.value, (e) => (b(), m(u, null, [(b(!0), m(u, null, S(e.datapoints, (e) => (b(), m(u, null, [(b(!0), m(u, null, S(e.plots, (t, n) => (b(), m(u, null, [N.value && N.value.index === n ? (b(), m("circle", {
|
|
1436
1436
|
key: 0,
|
|
1437
1437
|
cx: t.x,
|
|
1438
1438
|
cy: t.y,
|
|
@@ -1441,16 +1441,16 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1441
1441
|
r: I.value.style.chart.selector.dot.radius,
|
|
1442
1442
|
fill: I.value.style.chart.selector.dot.useDatapointColor ? e.color : I.value.style.chart.selector.dot.fill,
|
|
1443
1443
|
style: { pointerEvents: "none" }
|
|
1444
|
-
}, null, 8,
|
|
1444
|
+
}, null, 8, yt)) : p("", !0), N.value && N.value.index === n ? (b(), m("text", {
|
|
1445
1445
|
key: 1,
|
|
1446
|
-
x: Fn(t.x,
|
|
1446
|
+
x: Fn(t.x, T(l)(I.value.style.chart.selector.labels.formatter, t.value, T(a)({
|
|
1447
1447
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1448
1448
|
v: t.value,
|
|
1449
1449
|
s: I.value.style.chart.xAxis.labels.suffix,
|
|
1450
1450
|
r: I.value.style.chart.selector.labels.rounding
|
|
1451
1451
|
})), I.value.style.chart.selector.labels.fontSize) ? t.x - I.value.style.chart.selector.labels.fontSize / 2 : t.x + I.value.style.chart.selector.labels.fontSize / 2,
|
|
1452
1452
|
y: t.y + I.value.style.chart.selector.labels.fontSize / 3,
|
|
1453
|
-
"text-anchor": Fn(t.x,
|
|
1453
|
+
"text-anchor": Fn(t.x, T(l)(I.value.style.chart.selector.labels.formatter, t.value, T(a)({
|
|
1454
1454
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1455
1455
|
v: t.value,
|
|
1456
1456
|
s: I.value.style.chart.xAxis.labels.suffix,
|
|
@@ -1459,40 +1459,40 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1459
1459
|
"font-size": I.value.style.chart.selector.labels.fontSize,
|
|
1460
1460
|
fill: I.value.style.chart.selector.labels.color,
|
|
1461
1461
|
style: { pointerEvents: "none" }
|
|
1462
|
-
},
|
|
1462
|
+
}, w(T(l)(I.value.style.chart.selector.labels.formatter, t.value, T(a)({
|
|
1463
1463
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1464
1464
|
v: t.value,
|
|
1465
1465
|
s: I.value.style.chart.xAxis.labels.suffix,
|
|
1466
1466
|
r: I.value.style.chart.selector.labels.rounding
|
|
1467
|
-
}))), 9,
|
|
1467
|
+
}))), 9, bt)) : p("", !0)], 64))), 256))], 64))), 256))], 64))), 256)) : p("", !0)
|
|
1468
1468
|
]),
|
|
1469
|
-
|
|
1469
|
+
C(e.$slots, "svg", { svg: {
|
|
1470
1470
|
...W.value,
|
|
1471
1471
|
drawingArea: G.value,
|
|
1472
|
-
isPrintingImg:
|
|
1472
|
+
isPrintingImg: T(dn) || T(fn) || $t.value,
|
|
1473
1473
|
isPrintingSvg: en.value
|
|
1474
1474
|
} }, void 0, !0)
|
|
1475
|
-
], 46,
|
|
1475
|
+
], 46, Ye)), e.$slots.hint ? (b(), m("div", xt, [C(e.$slots, "hint", v(_({
|
|
1476
1476
|
hint: I.value.a11y.translations.keyboardNavigation,
|
|
1477
1477
|
isVisible: tn.value
|
|
1478
|
-
})), void 0, !0)])) :
|
|
1479
|
-
e.$slots.watermark ? (
|
|
1480
|
-
|
|
1478
|
+
})), void 0, !0)])) : p("", !0)]),
|
|
1479
|
+
e.$slots.watermark ? (b(), m("div", St, [C(e.$slots, "watermark", v(_({ isPrinting: T(dn) || T(fn) || $t.value || en.value })), void 0, !0)])) : p("", !0),
|
|
1480
|
+
h("div", {
|
|
1481
1481
|
ref_key: "chartLegend",
|
|
1482
|
-
ref:
|
|
1483
|
-
}, [
|
|
1484
|
-
key: `legend_${
|
|
1482
|
+
ref: zt
|
|
1483
|
+
}, [C(e.$slots, "legend", { legend: X.value }, () => [I.value.style.chart.legend.show ? (b(), f(Me, {
|
|
1484
|
+
key: `legend_${Wt.value}`,
|
|
1485
1485
|
legendSet: X.value,
|
|
1486
1486
|
config: Rn.value,
|
|
1487
1487
|
isCursorPointer: L.value,
|
|
1488
|
-
onClickMarker:
|
|
1489
|
-
},
|
|
1490
|
-
item:
|
|
1488
|
+
onClickMarker: n[0] ||= ({ legend: e }) => yn(e.id)
|
|
1489
|
+
}, Pe({
|
|
1490
|
+
item: D(({ legend: e }) => [T(R) ? p("", !0) : (b(), m("div", {
|
|
1491
1491
|
key: 0,
|
|
1492
|
-
style:
|
|
1492
|
+
style: y(`opacity:${Y.value.includes(e.id) ? .5 : 1}`),
|
|
1493
1493
|
onClick: (t) => e.segregate()
|
|
1494
|
-
},
|
|
1495
|
-
legendToggle:
|
|
1494
|
+
}, w(e.name), 13, Ct))]),
|
|
1495
|
+
legendToggle: D(() => [X.value.length > 2 && I.value.style.chart.legend.selectAllToggle.show && !T(R) ? (b(), f(Oe, {
|
|
1496
1496
|
key: 0,
|
|
1497
1497
|
backgroundColor: I.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1498
1498
|
color: I.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1506,11 +1506,11 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1506
1506
|
"fontSize",
|
|
1507
1507
|
"checked",
|
|
1508
1508
|
"isCursorPointer"
|
|
1509
|
-
])) :
|
|
1509
|
+
])) : p("", !0)]),
|
|
1510
1510
|
_: 2
|
|
1511
1511
|
}, [e.$slots.pattern ? {
|
|
1512
1512
|
name: "legend-pattern",
|
|
1513
|
-
fn:
|
|
1513
|
+
fn: D(({ legend: e, index: t }) => [Ie(we, {
|
|
1514
1514
|
shape: e.shape,
|
|
1515
1515
|
radius: 30,
|
|
1516
1516
|
stroke: "none",
|
|
@@ -1518,38 +1518,38 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1518
1518
|
x: 30,
|
|
1519
1519
|
y: 30
|
|
1520
1520
|
},
|
|
1521
|
-
fill: `url(#pattern_${
|
|
1521
|
+
fill: `url(#pattern_${M.value}_${t})`
|
|
1522
1522
|
}, null, 8, ["shape", "fill"])]),
|
|
1523
1523
|
key: "0"
|
|
1524
1524
|
} : void 0]), 1032, [
|
|
1525
1525
|
"legendSet",
|
|
1526
1526
|
"config",
|
|
1527
1527
|
"isCursorPointer"
|
|
1528
|
-
])) :
|
|
1529
|
-
e.$slots.source ? (
|
|
1528
|
+
])) : p("", !0)], !0)], 512),
|
|
1529
|
+
e.$slots.source ? (b(), m("div", {
|
|
1530
1530
|
key: 6,
|
|
1531
1531
|
ref_key: "source",
|
|
1532
|
-
ref:
|
|
1532
|
+
ref: Bt,
|
|
1533
1533
|
dir: "auto"
|
|
1534
|
-
}, [
|
|
1535
|
-
|
|
1534
|
+
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1535
|
+
It.value && I.value.userOptions.buttons.table ? (b(), f(Ve(Qn.value.component), Le({ key: 7 }, Qn.value.props, {
|
|
1536
1536
|
ref_key: "tableUnit",
|
|
1537
|
-
ref:
|
|
1537
|
+
ref: Zt,
|
|
1538
1538
|
onClose: $n
|
|
1539
|
-
}),
|
|
1540
|
-
content:
|
|
1541
|
-
key: `table_${
|
|
1542
|
-
colNames:
|
|
1543
|
-
head:
|
|
1544
|
-
body:
|
|
1545
|
-
config:
|
|
1546
|
-
title: I.value.table.useDialog ? "" :
|
|
1539
|
+
}), Pe({
|
|
1540
|
+
content: D(() => [(b(), f(T(Ot), {
|
|
1541
|
+
key: `table_${Ut.value}`,
|
|
1542
|
+
colNames: $.value.colNames,
|
|
1543
|
+
head: $.value.head,
|
|
1544
|
+
body: $.value.body,
|
|
1545
|
+
config: $.value.config,
|
|
1546
|
+
title: I.value.table.useDialog ? "" : Qn.value.title,
|
|
1547
1547
|
withCloseButton: !I.value.table.useDialog,
|
|
1548
1548
|
isCursorPointer: L.value,
|
|
1549
1549
|
onClose: $n
|
|
1550
1550
|
}, {
|
|
1551
|
-
th:
|
|
1552
|
-
td:
|
|
1551
|
+
th: D(({ th: e }) => [h("div", { innerHTML: e }, null, 8, wt)]),
|
|
1552
|
+
td: D(({ td: e }) => [Fe(w(e.name ? e.name : T(l)(I.value.style.chart.selector.labels.formatter, e, T(a)({
|
|
1553
1553
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1554
1554
|
v: e,
|
|
1555
1555
|
s: I.value.style.chart.xAxis.labels.suffix,
|
|
@@ -1568,42 +1568,42 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1568
1568
|
_: 2
|
|
1569
1569
|
}, [I.value.table.useDialog ? {
|
|
1570
1570
|
name: "title",
|
|
1571
|
-
fn:
|
|
1571
|
+
fn: D(() => [Fe(w(Qn.value.title), 1)]),
|
|
1572
1572
|
key: "0"
|
|
1573
1573
|
} : void 0, I.value.table.useDialog ? {
|
|
1574
1574
|
name: "actions",
|
|
1575
|
-
fn:
|
|
1575
|
+
fn: D(() => [h("button", {
|
|
1576
1576
|
tabindex: "0",
|
|
1577
1577
|
class: "vue-ui-user-options-button",
|
|
1578
|
-
onClick:
|
|
1579
|
-
style:
|
|
1580
|
-
}, [
|
|
1578
|
+
onClick: n[1] ||= (e) => Yn(I.value.userOptions.callbacks.csv),
|
|
1579
|
+
style: y({ cursor: L.value ? "pointer" : "default" })
|
|
1580
|
+
}, [Ie(T(Et), {
|
|
1581
1581
|
name: "fileCsv",
|
|
1582
|
-
stroke:
|
|
1582
|
+
stroke: Qn.value.props.color
|
|
1583
1583
|
}, null, 8, ["stroke"])], 4)]),
|
|
1584
1584
|
key: "1"
|
|
1585
|
-
} : void 0]), 1040)) :
|
|
1586
|
-
I.value.style.chart.dialog.show ? (
|
|
1585
|
+
} : void 0]), 1040)) : p("", !0),
|
|
1586
|
+
I.value.style.chart.dialog.show ? (b(), f(T(Mt), {
|
|
1587
1587
|
key: 8,
|
|
1588
1588
|
ref_key: "dialog",
|
|
1589
|
-
ref:
|
|
1590
|
-
onClose:
|
|
1589
|
+
ref: Jt,
|
|
1590
|
+
onClose: n[2] ||= (e) => P.value = null,
|
|
1591
1591
|
backgroundColor: I.value.style.chart.dialog.backgroundColor,
|
|
1592
1592
|
color: I.value.style.chart.dialog.color,
|
|
1593
1593
|
headerBg: I.value.style.chart.dialog.header.backgroundColor,
|
|
1594
1594
|
headerColor: I.value.style.chart.dialog.header.color,
|
|
1595
1595
|
isFullscreen: Z.value,
|
|
1596
|
-
fullscreenParent:
|
|
1596
|
+
fullscreenParent: k.value,
|
|
1597
1597
|
isCursorPointer: L.value,
|
|
1598
1598
|
withPadding: ""
|
|
1599
1599
|
}, {
|
|
1600
|
-
title:
|
|
1601
|
-
content:
|
|
1600
|
+
title: D(() => [Fe(w(P.value.name), 1)]),
|
|
1601
|
+
content: D(() => [P.value ? (b(), f(T(Tt), {
|
|
1602
1602
|
key: 0,
|
|
1603
1603
|
config: Bn.value,
|
|
1604
1604
|
dataset: Vn.value,
|
|
1605
1605
|
onCopyAlt: or
|
|
1606
|
-
}, null, 8, ["config", "dataset"])) :
|
|
1606
|
+
}, null, 8, ["config", "dataset"])) : p("", !0)]),
|
|
1607
1607
|
_: 1
|
|
1608
1608
|
}, 8, [
|
|
1609
1609
|
"backgroundColor",
|
|
@@ -1613,10 +1613,10 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1613
1613
|
"isFullscreen",
|
|
1614
1614
|
"fullscreenParent",
|
|
1615
1615
|
"isCursorPointer"
|
|
1616
|
-
])) :
|
|
1617
|
-
|
|
1618
|
-
], 46,
|
|
1616
|
+
])) : p("", !0),
|
|
1617
|
+
C(e.$slots, "skeleton", {}, () => [T(R) ? (b(), f(_e, { key: 0 })) : p("", !0)], !0)
|
|
1618
|
+
], 46, Ke));
|
|
1619
1619
|
}
|
|
1620
1620
|
}, [["__scopeId", "data-v-ca7f8c0d"]]);
|
|
1621
1621
|
//#endregion
|
|
1622
|
-
export {
|
|
1622
|
+
export { Ge as n, Tt as t };
|