vue-data-ui 3.19.8 → 3.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{A11yDataTable-q2-8fSlJ.js → A11yDataTable-BCbtxMU6.js} +1 -1
- package/dist/{Arrow-Cj6W6Xbi.js → Arrow-D6j6ocXm.js} +1 -1
- package/dist/{BaseDraggableDialog-DUUu2E2Q.js → BaseDraggableDialog-4hDW-Rj2.js} +4 -4
- package/dist/{BaseIcon-DM1x8hQF.js → BaseIcon-DfLoHNUj.js} +3 -3
- package/dist/{BaseLegendToggle-CJTwLGXL.js → BaseLegendToggle-C_Db-y7s.js} +2 -2
- package/dist/{BaseScanner-C7dmAref.js → BaseScanner-Dr2a1Msy.js} +1 -1
- package/dist/{BaseZoomControls-BkajQ8q9.js → BaseZoomControls-CG7hI_1P.js} +3 -3
- package/dist/{ColorPicker-DTQeqKUV.js → ColorPicker-Bjwxnvfh.js} +4 -4
- package/dist/{DataTable-DmE8Oo4i.js → DataTable-B--IN22e.js} +3 -3
- package/dist/{Legend-Gg5Q4Clb.js → Legend-Cz2uQ5gs.js} +4 -4
- package/dist/{NonSvgPenAndPaper-tvWXeCsd.js → NonSvgPenAndPaper-gLNJ1Lmr.js} +28 -28
- package/dist/{PackageVersion-zJAUEmyB.js → PackageVersion-xcyrdRmY.js} +2 -2
- package/dist/{PenAndPaper-DNgm6y3l.js → PenAndPaper-DqrClVfb.js} +11 -11
- package/dist/{Shape-DEGOZ6GG.js → Shape-BPCJfphn.js} +1 -1
- package/dist/{Slicer-CPWGgGSp.js → Slicer-SHBj0VaV.js} +19 -19
- package/dist/{SlicerPreview-BU3ZeHjR.js → SlicerPreview-DdihbUSJ.js} +474 -361
- package/dist/{SparkTooltip-c2DL7gqD.js → SparkTooltip-CfE6yCad.js} +7 -7
- package/dist/{Title-__gWq2g6.js → Title-NWp4qB4K.js} +2 -2
- package/dist/{Tooltip-CuWEYGr3.js → Tooltip-BENq327o.js} +1 -1
- package/dist/{UserOptions-D7zR0tnR.js → UserOptions-C1NgoGu6.js} +5 -5
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-pattern-seed.js +1 -1
- package/dist/components/vue-ui-pattern.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-9WSt6hXe.js → dom-to-png-BYtB4BF3.js} +1 -1
- package/dist/exposedLib-CI8ji8G-.js +19 -0
- package/dist/{geoProjections-CQIkC70z.js → geoProjections-Czak6Jn1.js} +3 -4
- package/dist/{img-BjOr008R.js → img-1cKsci8e.js} +2 -2
- package/dist/{labelUtils-Cr97N8E1.js → labelUtils-CUctkYoA.js} +1 -1
- package/dist/{lib-BkiwukKO.js → lib-DUeYQsS0.js} +4 -1
- package/dist/{pdf-DSXSFUnK.js → pdf-D0eZ99cP.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1557 -193
- package/dist/types/vue-ui-3d-bar.d.ts +16 -1
- package/dist/types/vue-ui-age-pyramid.d.ts +14 -1
- package/dist/types/vue-ui-annotator.d.ts +28 -6
- package/dist/types/vue-ui-bullet.d.ts +14 -1
- package/dist/types/vue-ui-bump.d.ts +16 -1
- package/dist/types/vue-ui-candlestick.d.ts +16 -3
- package/dist/types/vue-ui-carousel-table.d.ts +14 -1
- package/dist/types/vue-ui-chestnut.d.ts +20 -1
- package/dist/types/vue-ui-chord.d.ts +20 -1
- package/dist/types/vue-ui-circle-pack.d.ts +16 -1
- package/dist/types/vue-ui-dag.d.ts +22 -1
- package/dist/types/vue-ui-dashboard.d.ts +16 -1
- package/dist/types/vue-ui-donut-evolution.d.ts +16 -1
- package/dist/types/vue-ui-donut.d.ts +18 -1
- package/dist/types/vue-ui-dumbbell.d.ts +16 -1
- package/dist/types/vue-ui-flow.d.ts +14 -1
- package/dist/types/vue-ui-funnel.d.ts +14 -1
- package/dist/types/vue-ui-galaxy.d.ts +18 -1
- package/dist/types/vue-ui-gauge.d.ts +14 -1
- package/dist/types/vue-ui-geo.d.ts +14 -1
- package/dist/types/vue-ui-heatmap.d.ts +16 -1
- package/dist/types/vue-ui-history-plot.d.ts +18 -1
- package/dist/types/vue-ui-horizontal-bar.d.ts +18 -1
- package/dist/types/vue-ui-molecule.d.ts +16 -1
- package/dist/types/vue-ui-mood-radar.d.ts +14 -1
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -1
- package/dist/types/vue-ui-onion.d.ts +16 -1
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +18 -1
- package/dist/types/vue-ui-quadrant.d.ts +24 -1
- package/dist/types/vue-ui-quick-chart.d.ts +20 -1
- package/dist/types/vue-ui-radar.d.ts +16 -1
- package/dist/types/vue-ui-rating.d.ts +12 -1
- package/dist/types/vue-ui-relation-circle.d.ts +14 -1
- package/dist/types/vue-ui-ridgeline.d.ts +22 -1
- package/dist/types/vue-ui-rings.d.ts +16 -1
- package/dist/types/vue-ui-scatter.d.ts +16 -1
- package/dist/types/vue-ui-smiley.d.ts +22 -6
- package/dist/types/vue-ui-sparkbar.d.ts +14 -1
- package/dist/types/vue-ui-sparkhistogram.d.ts +14 -1
- package/dist/types/vue-ui-sparkline.d.ts +16 -1
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -1
- package/dist/types/vue-ui-stackbar.d.ts +22 -1
- package/dist/types/vue-ui-stackline.d.ts +22 -1
- package/dist/types/vue-ui-strip-plot.d.ts +16 -1
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -1
- package/dist/types/vue-ui-table.d.ts +17 -4
- package/dist/types/vue-ui-thermometer.d.ts +14 -1
- package/dist/types/vue-ui-timer.d.ts +14 -1
- package/dist/types/vue-ui-tiremarks.d.ts +14 -1
- package/dist/types/vue-ui-treemap.d.ts +18 -1
- package/dist/types/vue-ui-waffle.d.ts +16 -1
- package/dist/types/vue-ui-wheel.d.ts +14 -1
- package/dist/types/vue-ui-word-cloud.d.ts +14 -1
- package/dist/types/vue-ui-world.d.ts +18 -1
- package/dist/types/vue-ui-xy-canvas.d.ts +18 -1
- package/dist/types/vue-ui-xy.d.ts +22 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-dp-3Gg97.js → useAutoSizeLabelsInsideViewbox-BIVntRZp.js} +1 -1
- package/dist/{useConfig-ByaaSKhz.js → useConfig-DAyQk86L.js} +9 -1
- package/dist/{useNestedProp-Ck4hsrpu.js → useNestedProp-CNcoy38D.js} +2 -2
- package/dist/{useObjectBindings-BR1sGimd.js → useObjectBindings-BI7hP-BC.js} +53 -53
- package/dist/{usePrinter-X0yWOynH.js → usePrinter-C1Gqt_Sp.js} +2 -2
- package/dist/utils.js +4 -4
- package/dist/{vue-data-ui-Dv8MNDbS.js → vue-data-ui-qpQv-4uP.js} +69 -69
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-DVsF4qGd.js → vue-ui-3d-bar-C8cputoI.js} +312 -312
- package/dist/{vue-ui-accordion-BX9WL-QF.js → vue-ui-accordion-Dw4MHKVB.js} +6 -6
- package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +1238 -0
- package/dist/{vue-ui-annotator-Be3VpH8Z.js → vue-ui-annotator-DLPUAKlm.js} +66 -66
- package/dist/vue-ui-bullet-DLxmtMJ9.js +710 -0
- package/dist/{vue-ui-bump-C1w-a4ad.js → vue-ui-bump-DVaqtZbd.js} +260 -260
- package/dist/{vue-ui-candlestick-zO0Jmsen.js → vue-ui-candlestick-CkApimw1.js} +81 -81
- package/dist/vue-ui-carousel-table-CbfIBWl3.js +455 -0
- package/dist/vue-ui-chestnut-CQT4nCFL.js +2010 -0
- package/dist/vue-ui-chord-8IjSrg6f.js +1391 -0
- package/dist/{vue-ui-circle-pack-Dp5_ugXW.js → vue-ui-circle-pack-B1CpTtpw.js} +51 -51
- package/dist/{vue-ui-cursor-DBViygOD.js → vue-ui-cursor-NaTj5i2-.js} +6 -6
- package/dist/{vue-ui-dag-BA2vr2Ub.js → vue-ui-dag-DH4ocx0S.js} +46 -46
- package/dist/{vue-ui-dashboard-D11FCHnp.js → vue-ui-dashboard-Ckff1yim.js} +73 -73
- package/dist/{vue-ui-digits-CIXbRR97.js → vue-ui-digits-DwLlJqbW.js} +6 -6
- package/dist/vue-ui-donut-DQdIdwRU.js +2410 -0
- package/dist/vue-ui-donut-evolution-MfM5kK6w.js +1510 -0
- package/dist/vue-ui-dumbbell-B2T4vlK-.js +1530 -0
- package/dist/{vue-ui-flow-Dly7N0Nb.js → vue-ui-flow-CJh6f72m.js} +107 -107
- package/dist/vue-ui-funnel-C9gfXNCr.js +777 -0
- package/dist/vue-ui-galaxy-pBR_FESJ.js +1077 -0
- package/dist/vue-ui-gauge-CAemxCGl.js +920 -0
- package/dist/{vue-ui-geo-CV0FBeuB.js → vue-ui-geo-BDQqaukJ.js} +35 -35
- package/dist/{vue-ui-gizmo-5rdIvscj.js → vue-ui-gizmo-B1ppjqPj.js} +63 -63
- package/dist/{vue-ui-heatmap-kiQ6q3q4.js → vue-ui-heatmap-BiC9xp8L.js} +259 -259
- package/dist/vue-ui-history-plot-iAPjlOja.js +1554 -0
- package/dist/vue-ui-horizontal-bar-CcgClgLg.js +1681 -0
- package/dist/{vue-ui-kpi-Bz7QeCTV.js → vue-ui-kpi-CJ5oyYLS.js} +6 -6
- package/dist/{vue-ui-mini-loader-DDJUya9e.js → vue-ui-mini-loader-CyqBt2g4.js} +5 -5
- package/dist/vue-ui-molecule-Cg9ZHa6b.js +925 -0
- package/dist/{vue-ui-mood-radar-D0lanJ__.js → vue-ui-mood-radar-N8osOTFR.js} +36 -36
- package/dist/vue-ui-nested-donuts-CwH3wKgX.js +1487 -0
- package/dist/{vue-ui-onion-u9hGe4VA.js → vue-ui-onion-C56gFjO6.js} +296 -296
- package/dist/{vue-ui-parallel-coordinate-plot-BJ5OjYTH.js → vue-ui-parallel-coordinate-plot-C-jj819p.js} +203 -212
- package/dist/{vue-ui-pattern-seed-abRweCDE.js → vue-ui-pattern-seed-BB1honLm.js} +1 -1
- package/dist/{vue-ui-quadrant-BVFJ5Vur.js → vue-ui-quadrant-DYc9xZY3.js} +444 -444
- package/dist/vue-ui-quick-chart-BG7kK_-q.js +2469 -0
- package/dist/{vue-ui-radar-BsRGxgXN.js → vue-ui-radar-CgKog9Xw.js} +186 -183
- package/dist/{vue-ui-rating-D_QR_A3V.js → vue-ui-rating-BG4lf1z8.js} +41 -41
- package/dist/vue-ui-relation-circle-D-rUk-0P.js +924 -0
- package/dist/{vue-ui-ridgeline-BtNEP6ba.js → vue-ui-ridgeline-DPrlVJTW.js} +377 -377
- package/dist/{vue-ui-rings-Pj7yMeOV.js → vue-ui-rings-CIvvHHsF.js} +199 -196
- package/dist/vue-ui-scatter-CeBQJbGx.js +2413 -0
- package/dist/{vue-ui-skeleton-Cqv1KG4y.js → vue-ui-skeleton-BKoa_G6d.js} +44 -44
- package/dist/{vue-ui-smiley-rFdGxZK6.js → vue-ui-smiley-G89TxRU-.js} +14 -14
- package/dist/{vue-ui-spark-trend-eHleRq-z.js → vue-ui-spark-trend-DGOrPr9I.js} +121 -121
- package/dist/{vue-ui-sparkbar-BHJTG_on.js → vue-ui-sparkbar-BVumo-YD.js} +107 -107
- package/dist/{vue-ui-sparkgauge-DpAEwvLX.js → vue-ui-sparkgauge-BoCwdQcu.js} +56 -56
- package/dist/{vue-ui-sparkhistogram-BlMH_NJk.js → vue-ui-sparkhistogram-4qXY1LXW.js} +112 -112
- package/dist/vue-ui-sparkline-C0kzXrwI.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-BI8zG-DG.js → vue-ui-sparkstackbar-DG7hz_KM.js} +137 -137
- package/dist/{vue-ui-stackbar-28FVVqVu.js → vue-ui-stackbar-Dnq4l5xs.js} +344 -341
- package/dist/vue-ui-stackline-CaNOHQYl.js +2398 -0
- package/dist/{vue-ui-strip-plot-DX36qFKk.js → vue-ui-strip-plot-D2CcJw_5.js} +79 -79
- package/dist/{vue-ui-table-DdZ_DkqT.js → vue-ui-table-NBQrkVnO.js} +84 -84
- package/dist/{vue-ui-table-heatmap-BFKyJTr1.js → vue-ui-table-heatmap-CCGjbSzQ.js} +22 -22
- package/dist/{vue-ui-table-sparkline-BSV1jn7r.js → vue-ui-table-sparkline-BZDkOEEl.js} +125 -125
- package/dist/vue-ui-thermometer-BXyHOQ7T.js +763 -0
- package/dist/{vue-ui-timer-BkdpZ-lw.js → vue-ui-timer-CcLK1wbi.js} +29 -29
- package/dist/{vue-ui-tiremarks-GC773Hw1.js → vue-ui-tiremarks-B6txvBg-.js} +25 -25
- package/dist/{vue-ui-treemap-C0dtbfbZ.js → vue-ui-treemap-O3SBpD3K.js} +241 -241
- package/dist/{vue-ui-waffle-BvzfNmJC.js → vue-ui-waffle-DN5zG3b0.js} +289 -289
- package/dist/{vue-ui-wheel-Dm9V8TAH.js → vue-ui-wheel-CxnJGXkX.js} +134 -134
- package/dist/{vue-ui-word-cloud-Ne_B9Elc.js → vue-ui-word-cloud-CM5yPCXb.js} +54 -54
- package/dist/{vue-ui-world-Bp38MZij.js → vue-ui-world-DCPgXKxh.js} +447 -447
- package/dist/{vue-ui-xy-canvas-B06Rit63.js → vue-ui-xy-canvas-BUPnRZ3C.js} +91 -90
- package/dist/vue-ui-xy-lfMIx0wK.js +4578 -0
- package/dist/{vue_ui_3d_bar-CXKqO5Ej.js → vue_ui_3d_bar-C4R7o-yX.js} +1 -1
- package/dist/{vue_ui_age_pyramid-BON8QI6X.js → vue_ui_age_pyramid-BY6c-oX_.js} +1 -1
- package/dist/{vue_ui_bullet-CE5sFT7u.js → vue_ui_bullet-ClzdLoOv.js} +1 -1
- package/dist/{vue_ui_bump-frnXaXul.js → vue_ui_bump-Vl-zYAtG.js} +1 -1
- package/dist/{vue_ui_candlestick-sY6UtOop.js → vue_ui_candlestick-J8jmJvxP.js} +1 -1
- package/dist/{vue_ui_chestnut-BiUZFv40.js → vue_ui_chestnut-D2oUhad6.js} +1 -1
- package/dist/{vue_ui_chord-DpyR_b9A.js → vue_ui_chord-DPfS1Umc.js} +1 -1
- package/dist/{vue_ui_circle_pack-FjH0ZQeb.js → vue_ui_circle_pack-DZC_rdfn.js} +1 -1
- package/dist/{vue_ui_dag-Ci_MOnvd.js → vue_ui_dag-TsJ_azQq.js} +1 -1
- package/dist/{vue_ui_donut-Cx2_BGcQ.js → vue_ui_donut-BDGqG07h.js} +1 -1
- package/dist/{vue_ui_donut_evolution-CAJefrHs.js → vue_ui_donut_evolution-D1yAAIHr.js} +1 -1
- package/dist/{vue_ui_dumbbell-CClzAZTN.js → vue_ui_dumbbell-Bfe_jFyi.js} +1 -1
- package/dist/{vue_ui_flow-CCHO1Lo9.js → vue_ui_flow-BewZjjKG.js} +1 -1
- package/dist/{vue_ui_funnel-h8q2mRpC.js → vue_ui_funnel-_Og4EEkO.js} +1 -1
- package/dist/{vue_ui_galaxy-70vtkEBw.js → vue_ui_galaxy-Ig0cc1_h.js} +1 -1
- package/dist/{vue_ui_gauge-C17CgfzN.js → vue_ui_gauge-Cf1RZc9q.js} +1 -1
- package/dist/{vue_ui_geo-C0UbQ0Lc.js → vue_ui_geo-B8TODs-G.js} +1 -1
- package/dist/{vue_ui_heatmap-BqPP3J4M.js → vue_ui_heatmap-B2BBBSWG.js} +1 -1
- package/dist/{vue_ui_history_plot-C5nytDHh.js → vue_ui_history_plot-CuN63VEc.js} +1 -1
- package/dist/{vue_ui_horizontal_bar-Bqxorkc_.js → vue_ui_horizontal_bar-C4J4QzXf.js} +1 -1
- package/dist/{vue_ui_molecule-Dka4JBOp.js → vue_ui_molecule-CO9L59SF.js} +1 -1
- package/dist/{vue_ui_mood_radar-Dg4ijm53.js → vue_ui_mood_radar-BA6LAKhk.js} +1 -1
- package/dist/{vue_ui_nested_donuts-BY9cOoHF.js → vue_ui_nested_donuts-B8csIoVO.js} +1 -1
- package/dist/{vue_ui_onion-DTV9cup-.js → vue_ui_onion-1FTFFS46.js} +1 -1
- package/dist/{vue_ui_parallel_coordinate_plot-CNWrDh96.js → vue_ui_parallel_coordinate_plot-CBiOBira.js} +1 -1
- package/dist/{vue_ui_quadrant-3kjYvxpj.js → vue_ui_quadrant-CDSTKTJz.js} +1 -1
- package/dist/{vue_ui_quick_chart--VaYQuM4.js → vue_ui_quick_chart-mZBdml3Z.js} +1 -1
- package/dist/{vue_ui_radar-Dxx9GJmj.js → vue_ui_radar-jafTED5j.js} +1 -1
- package/dist/{vue_ui_relation_circle-Cr0I2SoU.js → vue_ui_relation_circle-D0p4mXmv.js} +1 -1
- package/dist/{vue_ui_ridgeline-CAtYca4b.js → vue_ui_ridgeline-VM8_mx4J.js} +1 -1
- package/dist/{vue_ui_rings-DXC1VeX5.js → vue_ui_rings-BVgD2aMn.js} +1 -1
- package/dist/{vue_ui_scatter-D2S2j0ap.js → vue_ui_scatter-I0POnicu.js} +1 -1
- package/dist/{vue_ui_spark_trend-BHMQ6_1p.js → vue_ui_spark_trend-DxVmpkmC.js} +1 -1
- package/dist/{vue_ui_sparkbar-BR6hbuDE.js → vue_ui_sparkbar-z6qO--Kf.js} +1 -1
- package/dist/{vue_ui_sparkgauge-xfPRHnMv.js → vue_ui_sparkgauge-BX1MS3bA.js} +1 -1
- package/dist/{vue_ui_sparkhistogram-CJRENZ1C.js → vue_ui_sparkhistogram-BRgvKUH6.js} +1 -1
- package/dist/{vue_ui_sparkline-wgk7yO7E.js → vue_ui_sparkline-auZhap6Y.js} +1 -1
- package/dist/{vue_ui_sparkstackbar-C5qZMmAl.js → vue_ui_sparkstackbar-BOjuQnZd.js} +1 -1
- package/dist/{vue_ui_stackbar-BW_C3MXw.js → vue_ui_stackbar-COOrQQdK.js} +1 -1
- package/dist/{vue_ui_stackline-DXxzibUd.js → vue_ui_stackline-DQqKPA9z.js} +1 -1
- package/dist/{vue_ui_strip_plot-8ZelqC5b.js → vue_ui_strip_plot-CtJe8_gq.js} +1 -1
- package/dist/{vue_ui_table_heatmap-BGUjA0WA.js → vue_ui_table_heatmap-w8vx5k6f.js} +1 -1
- package/dist/{vue_ui_table_sparkline-i0Q-N_we.js → vue_ui_table_sparkline-DAbkUrNz.js} +1 -1
- package/dist/{vue_ui_thermometer-CuN7Gpez.js → vue_ui_thermometer-DxgqWKlE.js} +1 -1
- package/dist/{vue_ui_tiremarks-A6UHC0c3.js → vue_ui_tiremarks-CdEPieWV.js} +1 -1
- package/dist/{vue_ui_treemap-BQp06q-g.js → vue_ui_treemap-DoEtkRN6.js} +1 -1
- package/dist/{vue_ui_waffle-C_Ev4l7B.js → vue_ui_waffle-DIARFc7g.js} +1 -1
- package/dist/{vue_ui_wheel-DdkTPXJU.js → vue_ui_wheel-DZ_nR--t.js} +1 -1
- package/dist/{vue_ui_word_cloud-B1PbsYPc.js → vue_ui_word_cloud-C-qIMNLu.js} +1 -1
- package/dist/{vue_ui_xy-BYPqfYyx.js → vue_ui_xy-BLUkWEAm.js} +1 -1
- package/dist/{vue_ui_xy_canvas-CMHGNrLf.js → vue_ui_xy_canvas-Cb6dg3eK.js} +1 -1
- package/package.json +6 -6
- package/dist/exposedLib-CwWU4zv-.js +0 -19
- package/dist/vue-ui-age-pyramid-Bu3bocZx.js +0 -1238
- package/dist/vue-ui-bullet-COSSZ7RU.js +0 -710
- package/dist/vue-ui-carousel-table-Q2uTIELA.js +0 -455
- package/dist/vue-ui-chestnut-DdNKhXkN.js +0 -2010
- package/dist/vue-ui-chord-CYzGIRtA.js +0 -1391
- package/dist/vue-ui-donut-BSanYbqb.js +0 -2408
- package/dist/vue-ui-donut-evolution-BVttNIzH.js +0 -1510
- package/dist/vue-ui-dumbbell-D-KcBLOF.js +0 -1527
- package/dist/vue-ui-funnel-COwXzAbB.js +0 -777
- package/dist/vue-ui-galaxy-Cg9VStNF.js +0 -1074
- package/dist/vue-ui-gauge-DHWCS6jR.js +0 -920
- package/dist/vue-ui-history-plot-CgPjudHv.js +0 -1563
- package/dist/vue-ui-horizontal-bar-CpQCmBQD.js +0 -1681
- package/dist/vue-ui-molecule-CvfwMxYY.js +0 -925
- package/dist/vue-ui-nested-donuts-C-LWBXmg.js +0 -1484
- package/dist/vue-ui-quick-chart-Cd5lGyph.js +0 -2471
- package/dist/vue-ui-relation-circle-MxYh6hSt.js +0 -924
- package/dist/vue-ui-scatter-DrS1nrwL.js +0 -2413
- package/dist/vue-ui-sparkline-BAWc3ROJ.js +0 -1507
- package/dist/vue-ui-stackline-DwtlEdOE.js +0 -2395
- package/dist/vue-ui-thermometer-Io8LdW1o.js +0 -763
- package/dist/vue-ui-xy-BCeOqJYR.js +0 -4216
- /package/dist/{RecursiveCircles-DPpLel6f.js → RecursiveCircles-D6aDPmoe.js} +0 -0
- /package/dist/{RecursiveLabels-DBMJf_to.js → RecursiveLabels-D9rfID6q.js} +0 -0
- /package/dist/{RecursiveLinks-D06dBL4a.js → RecursiveLinks-BygcpDiT.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
- /package/dist/{canvas-lib-DTaADQOK.js → canvas-lib-BOP_HS11.js} +0 -0
- /package/dist/{patternUtils-B7BWu5bV.js → patternUtils-CS7hn6at.js} +0 -0
- /package/dist/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
- /package/dist/{useChartAccessibility-Do37qcw2.js → useChartAccessibility-DYqac8yF.js} +0 -0
- /package/dist/{useFitSvgText-C-MEdAfe.js → useFitSvgText-CT3nmlaS.js} +0 -0
- /package/dist/{usePanZoom-B-4M_gmY.js → usePanZoom-CYU3B4T3.js} +0 -0
- /package/dist/{usePrefersMotion-BywLbIko.js → usePrefersMotion-BC-CsqR1.js} +0 -0
- /package/dist/{useResponsive-CrAInupd.js → useResponsive-BfnK0KxU.js} +0 -0
- /package/dist/{useStableElementSize-0I1IpHPl.js → useStableElementSize-C7KADDKj.js} +0 -0
- /package/dist/{useSvgExport-Dtu973wa.js → useSvgExport-SVIsDot8.js} +0 -0
- /package/dist/{useTableResponsive-DrM1xqII.js → useTableResponsive-B24Uwt2E.js} +0 -0
- /package/dist/{useThemeCheck-rFK9Zlb_.js → useThemeCheck-C43Tcqmk.js} +0 -0
- /package/dist/{useTimeLabelCollider-Dm55Emzg.js → useTimeLabelCollider-AEcY4Ioe.js} +0 -0
- /package/dist/{useTimeLabels-C0x7zUXP.js → useTimeLabels-BmBRv27Y.js} +0 -0
- /package/dist/{useUserOptionState-CjPJPTg2.js → useUserOptionState-DK-_1ddE.js} +0 -0
- /package/dist/{vClickOutside-CbX_bC9A.js → vClickOutside-DUrZWttG.js} +0 -0
- /package/dist/{vue-ui-pattern-Bj-IPFr2.js → vue-ui-pattern-DKozfnVn.js} +0 -0
- /package/dist/{vue_ui_vertical_bar-CJSD1FZS.js → vue_ui_vertical_bar-CP-MKz1j.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import { B as t,
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { n as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { c as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { 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, J as ee, Mt as s, Nt as te, Rt as ne, S as re, X as c, _t as ie, i as l, nt as ae, pt as oe, r as se, t as ce, ut as le, x as ue, y as de } from "./lib-DUeYQsS0.js";
|
|
3
|
+
import { t as fe } from "./useConfig-DAyQk86L.js";
|
|
4
|
+
import { t as pe } from "./usePrinter-C1Gqt_Sp.js";
|
|
5
|
+
import { n as me, t as he } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
+
import { t as ge } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as _e } from "./useNestedProp-CNcoy38D.js";
|
|
8
|
+
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as ye } from "./img-1cKsci8e.js";
|
|
10
|
+
import { n as be } from "./Title-NWp4qB4K.js";
|
|
11
|
+
import { t as xe } from "./Shape-BPCJfphn.js";
|
|
12
|
+
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
+
import { c as Ce } from "./canvas-lib-BOP_HS11.js";
|
|
14
|
+
import { t as we } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
+
import { t as Te } from "./BaseLegendToggle-C_Db-y7s.js";
|
|
16
|
+
import { t as Ee } from "./A11yDataTable-BCbtxMU6.js";
|
|
17
|
+
import { t as De } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as ke } from "./Legend-Cz2uQ5gs.js";
|
|
20
|
+
import { t as Ae } from "./vue_ui_quadrant-CDSTKTJz.js";
|
|
21
|
+
import { Fragment as u, Teleport as je, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Fe, nextTick as Ie, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Le, onMounted as Re, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as ze, shallowRef as Be, toDisplayString as T, toRefs as Ve, unref as E, watch as He, withCtx as D } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-quadrant.vue
|
|
23
|
-
var
|
|
23
|
+
var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke = ["id"], qe = { style: { position: "relative" } }, Je = [
|
|
24
24
|
"xmlns",
|
|
25
25
|
"aria-describedby",
|
|
26
26
|
"viewBox",
|
|
27
27
|
"id"
|
|
28
|
-
],
|
|
28
|
+
], Ye = [
|
|
29
29
|
"x",
|
|
30
30
|
"y",
|
|
31
31
|
"width",
|
|
32
32
|
"height"
|
|
33
|
-
],
|
|
33
|
+
], Xe = ["id"], Ze = ["stop-color"], Qe = ["stop-color"], $e = { key: 1 }, et = [
|
|
34
34
|
"fill",
|
|
35
35
|
"x",
|
|
36
36
|
"y",
|
|
@@ -39,150 +39,150 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
39
39
|
"stroke-width",
|
|
40
40
|
"stroke",
|
|
41
41
|
"rx"
|
|
42
|
-
],
|
|
42
|
+
], tt = [
|
|
43
43
|
"x1",
|
|
44
44
|
"y1",
|
|
45
45
|
"x2",
|
|
46
46
|
"y2",
|
|
47
47
|
"stroke",
|
|
48
48
|
"stroke-width"
|
|
49
|
-
],
|
|
49
|
+
], nt = [
|
|
50
50
|
"x1",
|
|
51
51
|
"y1",
|
|
52
52
|
"x2",
|
|
53
53
|
"y2",
|
|
54
54
|
"stroke",
|
|
55
55
|
"stroke-width"
|
|
56
|
-
],
|
|
56
|
+
], rt = { key: 2 }, it = ["points", "fill"], at = ["points", "fill"], ot = ["points", "fill"], st = ["points", "fill"], ct = { key: 3 }, lt = [
|
|
57
57
|
"y",
|
|
58
58
|
"fill",
|
|
59
59
|
"font-size"
|
|
60
|
-
],
|
|
60
|
+
], ut = [
|
|
61
61
|
"x",
|
|
62
62
|
"y",
|
|
63
63
|
"fill",
|
|
64
64
|
"font-size"
|
|
65
|
-
],
|
|
65
|
+
], dt = [
|
|
66
66
|
"x",
|
|
67
67
|
"y",
|
|
68
68
|
"fill",
|
|
69
69
|
"font-size"
|
|
70
|
-
],
|
|
70
|
+
], ft = [
|
|
71
71
|
"y",
|
|
72
72
|
"fill",
|
|
73
73
|
"font-size"
|
|
74
|
-
],
|
|
74
|
+
], pt = { key: 4 }, mt = [
|
|
75
75
|
"x",
|
|
76
76
|
"y",
|
|
77
77
|
"font-size",
|
|
78
78
|
"fill"
|
|
79
|
-
],
|
|
79
|
+
], ht = [
|
|
80
80
|
"x",
|
|
81
81
|
"y",
|
|
82
82
|
"font-size",
|
|
83
83
|
"fill"
|
|
84
|
-
],
|
|
84
|
+
], gt = [
|
|
85
85
|
"x",
|
|
86
86
|
"y",
|
|
87
87
|
"font-size",
|
|
88
88
|
"fill"
|
|
89
|
-
],
|
|
89
|
+
], _t = [
|
|
90
90
|
"id",
|
|
91
91
|
"font-size",
|
|
92
92
|
"transform",
|
|
93
93
|
"fill"
|
|
94
|
-
],
|
|
94
|
+
], vt = [
|
|
95
95
|
"id",
|
|
96
96
|
"font-size",
|
|
97
97
|
"transform",
|
|
98
98
|
"fill"
|
|
99
|
-
],
|
|
99
|
+
], yt = [
|
|
100
100
|
"id",
|
|
101
101
|
"font-size",
|
|
102
102
|
"transform",
|
|
103
103
|
"fill"
|
|
104
|
-
],
|
|
104
|
+
], bt = { key: 5 }, xt = ["fill", "points"], St = [
|
|
105
105
|
"x",
|
|
106
106
|
"y",
|
|
107
107
|
"width",
|
|
108
108
|
"height"
|
|
109
|
-
],
|
|
109
|
+
], Ct = [
|
|
110
110
|
"x",
|
|
111
111
|
"y",
|
|
112
112
|
"width",
|
|
113
113
|
"height"
|
|
114
|
-
],
|
|
114
|
+
], wt = [
|
|
115
115
|
"x",
|
|
116
116
|
"y",
|
|
117
117
|
"width",
|
|
118
118
|
"height"
|
|
119
|
-
],
|
|
119
|
+
], Tt = [
|
|
120
120
|
"x",
|
|
121
121
|
"y",
|
|
122
122
|
"width",
|
|
123
123
|
"height"
|
|
124
|
-
],
|
|
124
|
+
], Et = [
|
|
125
125
|
"x",
|
|
126
126
|
"y",
|
|
127
127
|
"onMouseenter",
|
|
128
128
|
"onMouseleave",
|
|
129
129
|
"onClick"
|
|
130
|
-
],
|
|
130
|
+
], Dt = [
|
|
131
131
|
"data-a11y-plot-id",
|
|
132
132
|
"cx",
|
|
133
133
|
"cy",
|
|
134
134
|
"r"
|
|
135
|
-
],
|
|
135
|
+
], Ot = [
|
|
136
136
|
"data-a11y-plot-id",
|
|
137
137
|
"cx",
|
|
138
138
|
"cy",
|
|
139
139
|
"r"
|
|
140
|
-
],
|
|
140
|
+
], kt = {
|
|
141
141
|
key: 0,
|
|
142
142
|
style: { "pointer-events": "none" }
|
|
143
|
-
},
|
|
143
|
+
}, At = [
|
|
144
144
|
"x",
|
|
145
145
|
"y",
|
|
146
146
|
"font-size",
|
|
147
147
|
"fill"
|
|
148
|
-
],
|
|
148
|
+
], jt = [
|
|
149
149
|
"x",
|
|
150
150
|
"y",
|
|
151
151
|
"font-size",
|
|
152
152
|
"fill",
|
|
153
153
|
"innerHTML"
|
|
154
|
-
],
|
|
154
|
+
], Mt = { key: 0 }, Nt = [
|
|
155
155
|
"x",
|
|
156
156
|
"y",
|
|
157
157
|
"onMouseover",
|
|
158
158
|
"onMouseleave",
|
|
159
159
|
"onClick"
|
|
160
|
-
],
|
|
160
|
+
], Pt = {
|
|
161
161
|
key: 8,
|
|
162
162
|
class: "vue-ui-dna"
|
|
163
|
-
},
|
|
163
|
+
}, Ft = ["points", "fill"], It = ["points", "fill"], Lt = ["points", "fill"], Rt = ["points", "fill"], zt = { key: 9 }, Bt = [
|
|
164
164
|
"x",
|
|
165
165
|
"y",
|
|
166
166
|
"font-size",
|
|
167
167
|
"fill",
|
|
168
168
|
"font-weight"
|
|
169
|
-
],
|
|
169
|
+
], Vt = { key: 10 }, Ht = [
|
|
170
170
|
"x",
|
|
171
171
|
"y",
|
|
172
172
|
"fill"
|
|
173
|
-
],
|
|
173
|
+
], Ut = [
|
|
174
174
|
"x",
|
|
175
175
|
"y",
|
|
176
176
|
"fill"
|
|
177
|
-
],
|
|
177
|
+
], Wt = [
|
|
178
178
|
"x",
|
|
179
179
|
"y",
|
|
180
180
|
"fill"
|
|
181
|
-
],
|
|
181
|
+
], Gt = [
|
|
182
182
|
"x",
|
|
183
183
|
"y",
|
|
184
184
|
"fill"
|
|
185
|
-
],
|
|
185
|
+
], Kt = ["stroke", "d"], qt = ["stroke", "d"], Jt = {
|
|
186
186
|
key: 0,
|
|
187
187
|
style: {
|
|
188
188
|
position: "absolute",
|
|
@@ -192,15 +192,15 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
192
192
|
},
|
|
193
193
|
"data-dom-to-png-ignore": "",
|
|
194
194
|
"aria-hidden": "true"
|
|
195
|
-
},
|
|
195
|
+
}, Yt = {
|
|
196
196
|
key: 5,
|
|
197
197
|
class: "vue-data-ui-watermark"
|
|
198
|
-
},
|
|
198
|
+
}, Xt = ["id"], Zt = ["onClick"], Qt = {
|
|
199
199
|
key: 0,
|
|
200
200
|
height: "14",
|
|
201
201
|
width: "14",
|
|
202
202
|
viewBox: "0 0 20 20"
|
|
203
|
-
},
|
|
203
|
+
}, $t = ["innerHTML"], en = /* @__PURE__ */ Se({
|
|
204
204
|
__name: "vue-ui-quadrant",
|
|
205
205
|
props: {
|
|
206
206
|
config: {
|
|
@@ -222,11 +222,11 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
222
222
|
"selectLegend",
|
|
223
223
|
"copyAlt"
|
|
224
224
|
],
|
|
225
|
-
setup(e, { expose:
|
|
226
|
-
let
|
|
225
|
+
setup(e, { expose: Se, emit: Ue }) {
|
|
226
|
+
let en = g(() => import("./Tooltip-BENq327o.js")), tn = g(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), nn = g(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), rn = g(() => import("./DataTable-B--IN22e.js")), an = g(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), on = g(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), sn = g(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), cn = g(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_quadrant: ln } = fe(), { isThemeValid: un, warnInvalidTheme: dn } = ve(), O = e, fn = d(() => !!O.dataset && O.dataset.length), k = S(o()), pn = Ue, mn = S(!1), hn = S(""), gn = S(0), A = S(!1), j = S(null), _n = S(null), vn = S(null), yn = S(null), bn = S(null), xn = S(0), Sn = S(0), Cn = S(0), wn = S(!1), Tn = S(null), En = S(null), Dn = S(!1), On = S(!1), kn = S(null), An = S(null), jn = S({
|
|
227
227
|
x: 0,
|
|
228
228
|
y: 0
|
|
229
|
-
}), Mn =
|
|
229
|
+
}), Mn = S("pointer"), Nn = S(!1), M = S(Bn()), N = d(() => M.value.userOptions.useCursorPointer), Pn = d(() => ({
|
|
230
230
|
defaultConfig: {
|
|
231
231
|
userOptions: { show: !1 },
|
|
232
232
|
table: { show: !1 },
|
|
@@ -253,16 +253,16 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
253
253
|
} }
|
|
254
254
|
},
|
|
255
255
|
userConfig: M.value.skeletonConfig ?? {}
|
|
256
|
-
})), { loading: Fn, FINAL_DATASET: In } =
|
|
257
|
-
...
|
|
256
|
+
})), { loading: Fn, FINAL_DATASET: In } = me({
|
|
257
|
+
...Ve(O),
|
|
258
258
|
FINAL_CONFIG: M,
|
|
259
259
|
prepareConfig: Bn,
|
|
260
260
|
callback: () => {
|
|
261
261
|
Promise.resolve().then(async () => {
|
|
262
|
-
await
|
|
262
|
+
await Ie(), R.value.showTable = M.value.table.show;
|
|
263
263
|
});
|
|
264
264
|
},
|
|
265
|
-
skeletonDataset:
|
|
265
|
+
skeletonDataset: O.config?.skeletonDataset ?? [{
|
|
266
266
|
name: "_",
|
|
267
267
|
shape: "circle",
|
|
268
268
|
color: "#CACACA",
|
|
@@ -334,54 +334,54 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
334
334
|
}
|
|
335
335
|
]
|
|
336
336
|
}],
|
|
337
|
-
skeletonConfig:
|
|
337
|
+
skeletonConfig: n({
|
|
338
338
|
defaultConfig: M.value,
|
|
339
339
|
userConfig: Pn.value
|
|
340
340
|
})
|
|
341
|
-
}), { userOptionsVisible: Ln, setUserOptionsVisibility: Rn, keepUserOptionState: zn } =
|
|
341
|
+
}), { userOptionsVisible: Ln, setUserOptionsVisibility: Rn, keepUserOptionState: zn } = De({ config: M.value }), { svgRef: P } = Oe({ config: M.value.style.chart.title });
|
|
342
342
|
function Bn() {
|
|
343
|
-
let e =
|
|
344
|
-
userConfig:
|
|
345
|
-
defaultConfig:
|
|
343
|
+
let e = _e({
|
|
344
|
+
userConfig: O.config,
|
|
345
|
+
defaultConfig: ln
|
|
346
346
|
}), t = e.theme;
|
|
347
347
|
if (!t) return e;
|
|
348
|
-
if (!
|
|
349
|
-
let n =
|
|
350
|
-
userConfig:
|
|
348
|
+
if (!un.value(e)) return dn(e), e;
|
|
349
|
+
let n = _e({
|
|
350
|
+
userConfig: Ae[t] || O.config,
|
|
351
351
|
defaultConfig: e
|
|
352
|
-
}), r =
|
|
353
|
-
userConfig:
|
|
352
|
+
}), r = _e({
|
|
353
|
+
userConfig: O.config,
|
|
354
354
|
defaultConfig: n
|
|
355
355
|
});
|
|
356
356
|
return {
|
|
357
357
|
...r,
|
|
358
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
358
|
+
customPalette: r.customPalette.length ? r.customPalette : ne[t] || i
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
|
-
|
|
362
|
-
M.value = Bn(), Ln.value = !M.value.userOptions.showOnChartHover, Vn(),
|
|
361
|
+
He(() => O.config, (e) => {
|
|
362
|
+
M.value = Bn(), Ln.value = !M.value.userOptions.showOnChartHover, Vn(), xn.value += 1, Sn.value += 1, Cn.value += 1, R.value.plotLabels.show = M.value.style.chart.layout.labels.plotLabels.show, R.value.showTable = M.value.table.show, R.value.showTooltip = M.value.style.chart.tooltip.show;
|
|
363
363
|
}, { deep: !0 });
|
|
364
|
-
let F =
|
|
364
|
+
let F = Be(null), I = Be(null), L = d(() => M.value.debug);
|
|
365
365
|
function Vn() {
|
|
366
|
-
if (
|
|
366
|
+
if (r(O.dataset) ? c({
|
|
367
367
|
componentName: "VueUiQuadrant",
|
|
368
368
|
type: "dataset",
|
|
369
369
|
debug: L.value
|
|
370
|
-
}) :
|
|
371
|
-
[null, void 0].includes(e.name) &&
|
|
370
|
+
}) : O.dataset.forEach((e, t) => {
|
|
371
|
+
[null, void 0].includes(e.name) && c({
|
|
372
372
|
componentName: "VueUiQuadrant",
|
|
373
373
|
type: "datasetSerieAttribute",
|
|
374
374
|
property: "name",
|
|
375
375
|
index: t,
|
|
376
376
|
debug: L.value
|
|
377
|
-
}), [null, void 0].includes(e.series) ?
|
|
377
|
+
}), [null, void 0].includes(e.series) ? c({
|
|
378
378
|
componentName: "VueUiQuadrant",
|
|
379
379
|
type: "datasetSerieAttribute",
|
|
380
380
|
property: "series",
|
|
381
381
|
index: t,
|
|
382
382
|
debug: L.value
|
|
383
383
|
}) : e.series.forEach((e, t) => {
|
|
384
|
-
[null, void 0].includes(e.name) &&
|
|
384
|
+
[null, void 0].includes(e.name) && c({
|
|
385
385
|
componentName: "VueUiQuadrant",
|
|
386
386
|
type: "datasetSerieAttribute",
|
|
387
387
|
property: "name",
|
|
@@ -391,35 +391,35 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
391
391
|
});
|
|
392
392
|
});
|
|
393
393
|
}), M.value.responsive) {
|
|
394
|
-
let e =
|
|
395
|
-
let { width: e, height: t } =
|
|
396
|
-
chart:
|
|
397
|
-
title: M.value.style.chart.title.text ?
|
|
398
|
-
legend: M.value.style.chart.legend.show ?
|
|
399
|
-
source:
|
|
400
|
-
noTitle:
|
|
394
|
+
let e = Ce(() => {
|
|
395
|
+
let { width: e, height: t } = we({
|
|
396
|
+
chart: j.value,
|
|
397
|
+
title: M.value.style.chart.title.text ? _n.value : null,
|
|
398
|
+
legend: M.value.style.chart.legend.show ? vn.value : null,
|
|
399
|
+
source: yn.value,
|
|
400
|
+
noTitle: bn.value
|
|
401
401
|
});
|
|
402
402
|
z.value = 48, requestAnimationFrame(() => {
|
|
403
403
|
B.value.height = t, B.value.usableHeight = t - z.value * 2, B.value.width = e, B.value.usableWidth = e - z.value * 2, B.value.top = z.value, B.value.left = z.value, B.value.right = e - z.value, B.value.bottom = t - z.value, B.value.centerX = e / 2, B.value.centerY = t - t / 2, B.value.padding = z.value;
|
|
404
404
|
});
|
|
405
405
|
});
|
|
406
|
-
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value =
|
|
406
|
+
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value = j.value.parentNode, F.value.observe(I.value);
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
}),
|
|
409
|
+
Re(() => {
|
|
410
|
+
wn.value = !0, Vn();
|
|
411
|
+
}), Le(() => {
|
|
412
412
|
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect());
|
|
413
413
|
});
|
|
414
|
-
let { isPrinting: Hn, isImaging: Un, generatePdf: Wn, generateImage: Gn } =
|
|
415
|
-
elementId: `vue-ui-quadrant_${
|
|
414
|
+
let { isPrinting: Hn, isImaging: Un, generatePdf: Wn, generateImage: Gn } = pe({
|
|
415
|
+
elementId: `vue-ui-quadrant_${k.value}`,
|
|
416
416
|
fileName: M.value.style.chart.title.text || "vue-ui-quadrant",
|
|
417
417
|
options: M.value.userOptions.print
|
|
418
|
-
}), Kn =
|
|
418
|
+
}), Kn = d(() => M.value.userOptions.show && !M.value.style.chart.title.text), qn = d(() => ue(M.value.customPalette)), R = S({
|
|
419
419
|
plotLabels: { show: M.value.style.chart.layout.labels.plotLabels.show },
|
|
420
420
|
showTable: M.value.table.show,
|
|
421
421
|
showTooltip: M.value.style.chart.tooltip.show
|
|
422
|
-
}), z =
|
|
422
|
+
}), z = S(48), B = S({
|
|
423
423
|
height: M.value.style.chart.height,
|
|
424
424
|
usableHeight: M.value.style.chart.height - z.value * 2,
|
|
425
425
|
width: M.value.style.chart.width,
|
|
@@ -431,19 +431,19 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
431
431
|
centerX: M.value.style.chart.width / 2,
|
|
432
432
|
centerY: M.value.style.chart.height - M.value.style.chart.height / 2,
|
|
433
433
|
padding: z.value
|
|
434
|
-
}), V =
|
|
434
|
+
}), V = S({
|
|
435
435
|
...JSON.parse(JSON.stringify(B.value)),
|
|
436
436
|
startX: 0,
|
|
437
437
|
startY: 0
|
|
438
438
|
});
|
|
439
|
-
|
|
439
|
+
He(() => B.value, (e) => {
|
|
440
440
|
e && (V.value = {
|
|
441
441
|
...JSON.parse(JSON.stringify(B.value)),
|
|
442
442
|
startX: 0,
|
|
443
443
|
startY: 0
|
|
444
444
|
});
|
|
445
445
|
}, { deep: !0 });
|
|
446
|
-
let H =
|
|
446
|
+
let H = S(null), U = d(() => {
|
|
447
447
|
switch (H.value) {
|
|
448
448
|
case "TL": return {
|
|
449
449
|
x: V.value.startX + V.value.width / 2,
|
|
@@ -486,7 +486,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
486
486
|
bold: !1
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
}), Jn =
|
|
489
|
+
}), Jn = S(null), Yn = S(!1);
|
|
490
490
|
function Xn({ targetX: e, targetY: t, targetW: n, targetH: r, side: i }) {
|
|
491
491
|
H.value && yr(i);
|
|
492
492
|
let a = {
|
|
@@ -495,19 +495,19 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
495
495
|
w: n - V.value.width,
|
|
496
496
|
h: r - V.value.height
|
|
497
497
|
}, o = M.value.zoomAnimationFrames, ee = 0;
|
|
498
|
-
function
|
|
499
|
-
Yn.value = !0, V.value.startX += a.x / o, V.value.startY += a.y / o, V.value.width += a.w / o, V.value.height += a.h / o, ee += 1, ee < o ? Jn.value = requestAnimationFrame(
|
|
498
|
+
function s() {
|
|
499
|
+
Yn.value = !0, V.value.startX += a.x / o, V.value.startY += a.y / o, V.value.width += a.w / o, V.value.height += a.h / o, ee += 1, ee < o ? Jn.value = requestAnimationFrame(s) : Yn.value = !1;
|
|
500
500
|
}
|
|
501
|
-
|
|
501
|
+
s();
|
|
502
502
|
}
|
|
503
|
-
let W =
|
|
503
|
+
let W = d(() => M.value.zoomEnabled);
|
|
504
504
|
function G(e) {
|
|
505
|
-
if (W.value && !Yn.value) if (
|
|
505
|
+
if (W.value && !Yn.value) if (A.value && H.value === e) Xn({
|
|
506
506
|
targetX: 0,
|
|
507
507
|
targetY: 0,
|
|
508
508
|
targetW: B.value.width,
|
|
509
509
|
targetH: B.value.height
|
|
510
|
-
}), H.value = null,
|
|
510
|
+
}), H.value = null, A.value = !1;
|
|
511
511
|
else {
|
|
512
512
|
switch (H.value = e, e) {
|
|
513
513
|
case "TL":
|
|
@@ -550,10 +550,10 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
550
550
|
V.value.startX = 0, V.value.startY = 0, V.value.width = B.value.width, V.value.height = B.value.height;
|
|
551
551
|
break;
|
|
552
552
|
}
|
|
553
|
-
|
|
553
|
+
A.value = !0;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
let Zn =
|
|
556
|
+
let Zn = d(() => {
|
|
557
557
|
let e = M.value.style.chart.layout.grid.graduations.steps, t = B.value.usableWidth / (e * 2), n = B.value.top, r = [];
|
|
558
558
|
for (let i = 0; i < e; i += 1) r.push({
|
|
559
559
|
x: B.value.padding + t * i,
|
|
@@ -563,7 +563,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
563
563
|
opacity: Math.round((i + 1) / e * 20)
|
|
564
564
|
});
|
|
565
565
|
return r;
|
|
566
|
-
}), K =
|
|
566
|
+
}), K = d(() => {
|
|
567
567
|
let e = M.value.style.chart.layout.grid.xAxis.max, t = M.value.style.chart.layout.grid.xAxis.min, n = M.value.style.chart.layout.grid.yAxis.max, r = M.value.style.chart.layout.grid.yAxis.min;
|
|
568
568
|
return M.value.style.chart.layout.grid.xAxis.auto && (e = Math.max(...Qn.value.flatMap((e) => e.series.map((e) => e.x))), t = Math.min(...Qn.value.flatMap((e) => e.series.map((e) => e.x)))), M.value.style.chart.layout.grid.yAxis.auto && (n = Math.max(...Qn.value.flatMap((e) => e.series.map((e) => e.y))), r = Math.min(...Qn.value.flatMap((e) => e.series.map((e) => e.y)))), {
|
|
569
569
|
x: {
|
|
@@ -575,15 +575,15 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
575
575
|
min: r
|
|
576
576
|
}
|
|
577
577
|
};
|
|
578
|
-
}), q =
|
|
578
|
+
}), q = S([]), Qn = d(() => In.value.map((e, t) => ({
|
|
579
579
|
...e,
|
|
580
|
-
series:
|
|
580
|
+
series: ie({
|
|
581
581
|
data: e.series,
|
|
582
582
|
threshold: M.value.downsample.threshold
|
|
583
583
|
}),
|
|
584
|
-
id: `cat_${t}_${
|
|
585
|
-
color: de(e.color) || qn.value[t] ||
|
|
586
|
-
}))), $n =
|
|
584
|
+
id: `cat_${t}_${k.value}`,
|
|
585
|
+
color: de(e.color) || qn.value[t] || i[t]
|
|
586
|
+
}))), $n = d(() => Qn.value.filter((e) => !q.value.includes(e.id))), er = d(() => Qn.value.map((e, t) => ({
|
|
587
587
|
...e,
|
|
588
588
|
shape: e.shape || "circle",
|
|
589
589
|
series: e.series.map((t) => ({
|
|
@@ -601,16 +601,16 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
601
601
|
shape: e.shape,
|
|
602
602
|
color: e.color
|
|
603
603
|
}))
|
|
604
|
-
}))), J =
|
|
604
|
+
}))), J = d(() => (In.value.forEach((e, t) => {
|
|
605
605
|
e.series.forEach((e, t) => {
|
|
606
|
-
[null, void 0].includes(e.x) &&
|
|
606
|
+
[null, void 0].includes(e.x) && c({
|
|
607
607
|
componentName: "VueUiQuadrant",
|
|
608
608
|
type: "datasetSerieAttribute",
|
|
609
609
|
property: "x",
|
|
610
610
|
key: "series",
|
|
611
611
|
index: t,
|
|
612
612
|
debug: L.value
|
|
613
|
-
}), [null, void 0].includes(e.y) &&
|
|
613
|
+
}), [null, void 0].includes(e.y) && c({
|
|
614
614
|
componentName: "VueUiQuadrant",
|
|
615
615
|
type: "datasetSerieAttribute",
|
|
616
616
|
property: "y",
|
|
@@ -622,7 +622,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
622
622
|
}), $n.value.map((e, t) => ({
|
|
623
623
|
...e,
|
|
624
624
|
shape: e.shape || "circle",
|
|
625
|
-
color: e.color || qn.value[t] ||
|
|
625
|
+
color: e.color || qn.value[t] || i[t],
|
|
626
626
|
series: e.series.map((t) => ({
|
|
627
627
|
...t,
|
|
628
628
|
category: e,
|
|
@@ -637,7 +637,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
637
637
|
categoryName: e.name,
|
|
638
638
|
shape: e.shape,
|
|
639
639
|
color: e.color,
|
|
640
|
-
uid:
|
|
640
|
+
uid: o()
|
|
641
641
|
}))
|
|
642
642
|
}))));
|
|
643
643
|
function tr(e) {
|
|
@@ -658,7 +658,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
658
658
|
return B.value.centerY - (1 - B.value.usableHeight / 2 * t);
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
|
-
let rr =
|
|
661
|
+
let rr = d(() => {
|
|
662
662
|
let e = J.value.flatMap((e) => e.series.map((t) => ({
|
|
663
663
|
x: t.xValue,
|
|
664
664
|
y: t.yValue,
|
|
@@ -690,7 +690,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
690
690
|
})),
|
|
691
691
|
tableData: e
|
|
692
692
|
};
|
|
693
|
-
}), ir =
|
|
693
|
+
}), ir = d(() => {
|
|
694
694
|
let e = rr.value.head, t = rr.value.tableData.map((e) => [
|
|
695
695
|
{
|
|
696
696
|
shape: e.shape,
|
|
@@ -698,11 +698,11 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
698
698
|
name: e.category
|
|
699
699
|
},
|
|
700
700
|
e.name,
|
|
701
|
-
|
|
701
|
+
l(M.value.style.chart.layout.labels.plotLabels.x.formatter, e.x, a({
|
|
702
702
|
v: e.x,
|
|
703
703
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
704
704
|
})),
|
|
705
|
-
|
|
705
|
+
l(M.value.style.chart.layout.labels.plotLabels.y.formatter, e.y, a({
|
|
706
706
|
v: e.y,
|
|
707
707
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
708
708
|
})),
|
|
@@ -731,12 +731,12 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
731
731
|
function ar() {
|
|
732
732
|
q.value.length ? q.value = [] : Y.value.forEach((e) => {
|
|
733
733
|
q.value.push(e.id);
|
|
734
|
-
});
|
|
734
|
+
}), pn("selectLegend", br());
|
|
735
735
|
}
|
|
736
736
|
function or(e) {
|
|
737
|
-
q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.push(e),
|
|
737
|
+
q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.push(e), pn("selectLegend", br());
|
|
738
738
|
}
|
|
739
|
-
let Y =
|
|
739
|
+
let Y = d(() => er.value.map((e) => ({
|
|
740
740
|
name: e.name,
|
|
741
741
|
shape: e.shape,
|
|
742
742
|
color: e.color,
|
|
@@ -756,7 +756,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
756
756
|
let t = sr(e);
|
|
757
757
|
t !== null && (q.value.includes(t.id) || or(t.id));
|
|
758
758
|
}
|
|
759
|
-
let ur =
|
|
759
|
+
let ur = d(() => ({
|
|
760
760
|
cy: "quadrant-div-legend",
|
|
761
761
|
backgroundColor: M.value.style.chart.legend.backgroundColor,
|
|
762
762
|
color: M.value.style.chart.legend.color,
|
|
@@ -773,9 +773,9 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
773
773
|
default: return "";
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
|
-
let X =
|
|
776
|
+
let X = S(null), fr = S(null), pr = S(null);
|
|
777
777
|
function mr() {
|
|
778
|
-
X.value = null, fr.value = null,
|
|
778
|
+
X.value = null, fr.value = null, kn.value = null, An.value = null, mn.value = !1;
|
|
779
779
|
}
|
|
780
780
|
function hr(e) {
|
|
781
781
|
if (!P.value || !e) return;
|
|
@@ -787,64 +787,64 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
787
787
|
y: r.top + r.height / 2
|
|
788
788
|
};
|
|
789
789
|
}
|
|
790
|
-
function gr(e, t,
|
|
790
|
+
function gr(e, t, n, r = "pointer", i = null) {
|
|
791
791
|
M.value.events.datapointEnter && M.value.events.datapointEnter({
|
|
792
792
|
datapoint: t,
|
|
793
|
-
seriesIndex:
|
|
793
|
+
seriesIndex: n
|
|
794
794
|
}), X.value = t.uid, fr.value = {
|
|
795
795
|
color: e.color,
|
|
796
796
|
shape: e.shape
|
|
797
|
-
}, Mn.value =
|
|
797
|
+
}, Mn.value = r, kn.value = i, An.value = t.uid, pr.value = {
|
|
798
798
|
datapoint: t,
|
|
799
|
-
seriesIndex:
|
|
799
|
+
seriesIndex: n,
|
|
800
800
|
series: J.value,
|
|
801
801
|
config: M.value
|
|
802
802
|
};
|
|
803
803
|
let o = M.value.style.chart.tooltip.customFormat;
|
|
804
804
|
if (oe(o) && ae(() => o({
|
|
805
|
-
seriesIndex:
|
|
805
|
+
seriesIndex: n,
|
|
806
806
|
datapoint: t,
|
|
807
807
|
series: J.value,
|
|
808
808
|
config: M.value
|
|
809
|
-
})))
|
|
810
|
-
seriesIndex:
|
|
809
|
+
}))) hn.value = o({
|
|
810
|
+
seriesIndex: n,
|
|
811
811
|
datapoint: t,
|
|
812
812
|
series: J.value,
|
|
813
813
|
config: M.value
|
|
814
814
|
});
|
|
815
815
|
else {
|
|
816
|
-
let
|
|
817
|
-
t.quadrantSide && (
|
|
816
|
+
let r = "";
|
|
817
|
+
t.quadrantSide && (r += `<div style="color:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text}</div>`), r += `<div>${e.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, r += `<div>${M.value.style.chart.layout.grid.xAxis.name ? M.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${l(M.value.style.chart.layout.labels.plotLabels.x.formatter, t.xValue, a({
|
|
818
818
|
v: t.xValue,
|
|
819
819
|
r: M.value.style.chart.tooltip.roundingValue
|
|
820
820
|
}), {
|
|
821
821
|
datapoint: t,
|
|
822
822
|
category: e,
|
|
823
|
-
categoryIndex:
|
|
824
|
-
})}</b></div>`,
|
|
823
|
+
categoryIndex: n
|
|
824
|
+
})}</b></div>`, r += `<div>${M.value.style.chart.layout.grid.yAxis.name ? M.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${l(M.value.style.chart.layout.labels.plotLabels.y.formatter, t.yValue, a({
|
|
825
825
|
v: t.yValue,
|
|
826
826
|
r: M.value.style.chart.tooltip.roundingValue
|
|
827
827
|
}), {
|
|
828
828
|
datapoint: t,
|
|
829
829
|
category: e,
|
|
830
|
-
categoryIndex:
|
|
831
|
-
})}</b></div>`,
|
|
830
|
+
categoryIndex: n
|
|
831
|
+
})}</b></div>`, hn.value = `<div style="text-align:left;font-size:${M.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
832
832
|
}
|
|
833
|
-
|
|
833
|
+
r === "keyboard" && Ie(() => {
|
|
834
834
|
hr(t.uid);
|
|
835
|
-
}),
|
|
835
|
+
}), mn.value = !0;
|
|
836
836
|
}
|
|
837
837
|
function _r(e, t) {
|
|
838
838
|
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
839
839
|
datapoint: e,
|
|
840
840
|
seriesIndex: t
|
|
841
|
-
}), !(An.value === e.uid && Mn.value === "keyboard") && (
|
|
841
|
+
}), !(An.value === e.uid && Mn.value === "keyboard") && (mn.value = !1, X.value = null, fr.value = null);
|
|
842
842
|
}
|
|
843
843
|
function vr(e, t, n) {
|
|
844
844
|
M.value.events.datapointClick && M.value.events.datapointClick({
|
|
845
845
|
datapoint: t,
|
|
846
846
|
seriesIndex: n
|
|
847
|
-
}),
|
|
847
|
+
}), pn("selectPlot", {
|
|
848
848
|
category: e.name,
|
|
849
849
|
shape: e.shape,
|
|
850
850
|
itemName: t.name,
|
|
@@ -862,13 +862,13 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
862
862
|
x: e.xValue,
|
|
863
863
|
y: e.yValue
|
|
864
864
|
})));
|
|
865
|
-
|
|
865
|
+
pn("selectSide", {
|
|
866
866
|
quadrantSide: e,
|
|
867
867
|
sideName: M.value.style.chart.layout.labels.quadrantLabels[e].text,
|
|
868
868
|
items: [...t]
|
|
869
869
|
});
|
|
870
870
|
}
|
|
871
|
-
let Z =
|
|
871
|
+
let Z = d(() => ({
|
|
872
872
|
TL: {
|
|
873
873
|
tl: {
|
|
874
874
|
x: B.value.left + B.value.usableWidth / 4 - 20,
|
|
@@ -989,21 +989,21 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
989
989
|
}));
|
|
990
990
|
}
|
|
991
991
|
function xr(e = null) {
|
|
992
|
-
|
|
992
|
+
Ie(() => {
|
|
993
993
|
let t = [
|
|
994
994
|
[M.value.style.chart.title.text],
|
|
995
995
|
[M.value.style.chart.title.subtitle.text],
|
|
996
996
|
[""]
|
|
997
|
-
], n = rr.value.head, r = rr.value.body,
|
|
998
|
-
e ? e(
|
|
999
|
-
csvContent:
|
|
997
|
+
], n = rr.value.head, r = rr.value.body, i = re(t.concat([n]).concat(r));
|
|
998
|
+
e ? e(i) : ee({
|
|
999
|
+
csvContent: i,
|
|
1000
1000
|
title: M.value.style.chart.title.text || "vue-ui-quadrant"
|
|
1001
1001
|
});
|
|
1002
1002
|
});
|
|
1003
1003
|
}
|
|
1004
|
-
let Q =
|
|
1004
|
+
let Q = S(!1);
|
|
1005
1005
|
function Sr(e) {
|
|
1006
|
-
Q.value = e,
|
|
1006
|
+
Q.value = e, gn.value += 1;
|
|
1007
1007
|
}
|
|
1008
1008
|
function Cr() {
|
|
1009
1009
|
R.value.showTable = !R.value.showTable;
|
|
@@ -1014,14 +1014,14 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1014
1014
|
function Tr() {
|
|
1015
1015
|
R.value.showTooltip = !R.value.showTooltip;
|
|
1016
1016
|
}
|
|
1017
|
-
let Er =
|
|
1017
|
+
let Er = S(!1);
|
|
1018
1018
|
function Dr() {
|
|
1019
1019
|
Er.value = !Er.value;
|
|
1020
1020
|
}
|
|
1021
1021
|
async function Or({ scale: e = 2 } = {}) {
|
|
1022
|
-
if (!
|
|
1023
|
-
let { width: t, height: n } =
|
|
1024
|
-
domElement:
|
|
1022
|
+
if (!j.value) return;
|
|
1023
|
+
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
|
|
1024
|
+
domElement: j.value,
|
|
1025
1025
|
base64: !0,
|
|
1026
1026
|
img: !0,
|
|
1027
1027
|
scale: e
|
|
@@ -1035,10 +1035,10 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1035
1035
|
aspectRatio: r
|
|
1036
1036
|
};
|
|
1037
1037
|
}
|
|
1038
|
-
let kr =
|
|
1038
|
+
let kr = d(() => {
|
|
1039
1039
|
let e = M.value.table.useDialog && !M.value.table.show, t = R.value.showTable;
|
|
1040
1040
|
return {
|
|
1041
|
-
component: e ?
|
|
1041
|
+
component: e ? cn : nn,
|
|
1042
1042
|
title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1043
1043
|
props: e ? {
|
|
1044
1044
|
backgroundColor: M.value.table.th.backgroundColor,
|
|
@@ -1046,7 +1046,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1046
1046
|
headerColor: M.value.table.th.color,
|
|
1047
1047
|
headerBg: M.value.table.th.backgroundColor,
|
|
1048
1048
|
isFullscreen: Q.value,
|
|
1049
|
-
fullscreenParent:
|
|
1049
|
+
fullscreenParent: j.value,
|
|
1050
1050
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
1051
1051
|
isCursorPointer: N.value
|
|
1052
1052
|
} : {
|
|
@@ -1066,21 +1066,21 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1066
1066
|
}
|
|
1067
1067
|
};
|
|
1068
1068
|
});
|
|
1069
|
-
|
|
1070
|
-
M.value.table.show || (e && M.value.table.useDialog &&
|
|
1069
|
+
He(() => R.value.showTable, (e) => {
|
|
1070
|
+
M.value.table.show || (e && M.value.table.useDialog && Tn.value ? Tn.value.open() : "close" in Tn.value && Tn.value.close());
|
|
1071
1071
|
});
|
|
1072
1072
|
function Ar() {
|
|
1073
|
-
R.value.showTable = !1,
|
|
1073
|
+
R.value.showTable = !1, En.value && En.value.setTableIconState(!1);
|
|
1074
1074
|
}
|
|
1075
|
-
let jr =
|
|
1075
|
+
let jr = d(() => M.value.style.chart.backgroundColor), Mr = d(() => M.value.style.chart.legend), { exportSvg: Nr, getSvg: Pr } = ge({
|
|
1076
1076
|
svg: P,
|
|
1077
|
-
title:
|
|
1077
|
+
title: d(() => M.value.style.chart.title),
|
|
1078
1078
|
legend: Mr,
|
|
1079
1079
|
legendItems: Y,
|
|
1080
1080
|
backgroundColor: jr
|
|
1081
1081
|
});
|
|
1082
1082
|
async function Fr({ isCb: e }) {
|
|
1083
|
-
|
|
1083
|
+
On.value = !0, await Ie();
|
|
1084
1084
|
try {
|
|
1085
1085
|
if (e) {
|
|
1086
1086
|
let { blob: e, url: t, text: n, dataUrl: r } = await Pr();
|
|
@@ -1092,22 +1092,22 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1092
1092
|
}));
|
|
1093
1093
|
} else await Promise.resolve(Nr());
|
|
1094
1094
|
} finally {
|
|
1095
|
-
|
|
1095
|
+
On.value = !1;
|
|
1096
1096
|
}
|
|
1097
1097
|
}
|
|
1098
1098
|
function Ir(e) {
|
|
1099
1099
|
if (e?.stage === "start") {
|
|
1100
|
-
|
|
1100
|
+
Dn.value = !0;
|
|
1101
1101
|
return;
|
|
1102
1102
|
}
|
|
1103
1103
|
if (e?.stage === "end") {
|
|
1104
|
-
|
|
1104
|
+
Dn.value = !1;
|
|
1105
1105
|
return;
|
|
1106
1106
|
}
|
|
1107
1107
|
Gn();
|
|
1108
1108
|
}
|
|
1109
1109
|
async function Lr() {
|
|
1110
|
-
if (
|
|
1110
|
+
if (pn("copyAlt", {
|
|
1111
1111
|
config: M.value,
|
|
1112
1112
|
dataset: $n.value
|
|
1113
1113
|
}), !M.value.userOptions.callbacks.altCopy) {
|
|
@@ -1120,7 +1120,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1120
1120
|
}));
|
|
1121
1121
|
}
|
|
1122
1122
|
function Rr() {
|
|
1123
|
-
|
|
1123
|
+
kn.value = null, An.value = null, Nn.value = !0;
|
|
1124
1124
|
}
|
|
1125
1125
|
function zr() {
|
|
1126
1126
|
mr(), Nn.value = !1;
|
|
@@ -1134,26 +1134,26 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1134
1134
|
return;
|
|
1135
1135
|
}
|
|
1136
1136
|
if (r) {
|
|
1137
|
-
if (
|
|
1138
|
-
let e = $.value[
|
|
1137
|
+
if (kn.value === null) return;
|
|
1138
|
+
let e = $.value[kn.value];
|
|
1139
1139
|
if (!e) return;
|
|
1140
1140
|
vr(e.category, e.plot, e.categoryIndex);
|
|
1141
1141
|
return;
|
|
1142
1142
|
}
|
|
1143
|
-
let a =
|
|
1144
|
-
ee ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) :
|
|
1145
|
-
let
|
|
1146
|
-
|
|
1143
|
+
let a = kn.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null, ee = a !== null && a >= 0 && a < $.value.length, s = o !== null && o >= 0 && o < $.value.length;
|
|
1144
|
+
ee ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) : s ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
|
|
1145
|
+
let te = $.value[a];
|
|
1146
|
+
te && gr(te.category, te.plot, te.categoryIndex, "keyboard", a);
|
|
1147
1147
|
}
|
|
1148
|
-
let Vr =
|
|
1148
|
+
let Vr = d(() => ({
|
|
1149
1149
|
headers: ir.value?.colNames ?? [],
|
|
1150
1150
|
rows: ir.value?.a11yBody ?? []
|
|
1151
|
-
})), $ =
|
|
1151
|
+
})), $ = d(() => J.value.flatMap((e, t) => e.series.map((n) => ({
|
|
1152
1152
|
category: e,
|
|
1153
1153
|
plot: n,
|
|
1154
1154
|
categoryIndex: t
|
|
1155
1155
|
}))));
|
|
1156
|
-
return
|
|
1156
|
+
return Se({
|
|
1157
1157
|
getData: br,
|
|
1158
1158
|
getImage: Or,
|
|
1159
1159
|
generatePdf: Wn,
|
|
@@ -1168,24 +1168,24 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1168
1168
|
toggleAnnotator: Dr,
|
|
1169
1169
|
toggleFullscreen: Sr,
|
|
1170
1170
|
copyAlt: Lr
|
|
1171
|
-
}), (e,
|
|
1172
|
-
class:
|
|
1171
|
+
}), (e, n) => (x(), m("div", {
|
|
1172
|
+
class: v(`vue-data-ui-component vue-ui-quadrant ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1173
1173
|
ref_key: "quadrantChart",
|
|
1174
|
-
ref:
|
|
1175
|
-
id: `vue-ui-quadrant_${
|
|
1176
|
-
style:
|
|
1177
|
-
onMouseenter:
|
|
1178
|
-
onMouseleave:
|
|
1179
|
-
|
|
1174
|
+
ref: j,
|
|
1175
|
+
id: `vue-ui-quadrant_${k.value}`,
|
|
1176
|
+
style: b(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height: 100%" : ""}`),
|
|
1177
|
+
onMouseenter: n[14] ||= () => E(Rn)(!0),
|
|
1178
|
+
onMouseleave: n[15] ||= () => {
|
|
1179
|
+
E(Rn)(!1), Nn.value || mr();
|
|
1180
1180
|
}
|
|
1181
1181
|
}, [
|
|
1182
|
-
|
|
1183
|
-
id: `chart-instructions-${
|
|
1182
|
+
h("div", {
|
|
1183
|
+
id: `chart-instructions-${k.value}`,
|
|
1184
1184
|
class: "sr-only"
|
|
1185
|
-
}, [
|
|
1186
|
-
Vr.value?.rows?.length ? (
|
|
1185
|
+
}, [h("p", null, T(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ge),
|
|
1186
|
+
Vr.value?.rows?.length ? (x(), f(Ee, {
|
|
1187
1187
|
key: 0,
|
|
1188
|
-
uid:
|
|
1188
|
+
uid: k.value,
|
|
1189
1189
|
head: Vr.value.headers,
|
|
1190
1190
|
body: Vr.value.rows,
|
|
1191
1191
|
notice: M.value.a11y.translations.tableAvailable,
|
|
@@ -1196,22 +1196,22 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1196
1196
|
"body",
|
|
1197
1197
|
"notice",
|
|
1198
1198
|
"caption"
|
|
1199
|
-
])) :
|
|
1200
|
-
M.value.userOptions.buttons.annotator ? (
|
|
1199
|
+
])) : p("", !0),
|
|
1200
|
+
M.value.userOptions.buttons.annotator ? (x(), f(E(an), {
|
|
1201
1201
|
key: 1,
|
|
1202
|
-
svgRef:
|
|
1202
|
+
svgRef: E(P),
|
|
1203
1203
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
1204
1204
|
color: M.value.style.chart.color,
|
|
1205
1205
|
active: Er.value,
|
|
1206
1206
|
isCursorPointer: N.value,
|
|
1207
1207
|
onClose: Dr
|
|
1208
1208
|
}, {
|
|
1209
|
-
"annotator-action-close":
|
|
1210
|
-
"annotator-action-color":
|
|
1211
|
-
"annotator-action-draw":
|
|
1212
|
-
"annotator-action-undo":
|
|
1213
|
-
"annotator-action-redo":
|
|
1214
|
-
"annotator-action-delete":
|
|
1209
|
+
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1210
|
+
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
1211
|
+
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
|
|
1212
|
+
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
|
|
1213
|
+
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
|
|
1214
|
+
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
|
|
1215
1215
|
_: 3
|
|
1216
1216
|
}, 8, [
|
|
1217
1217
|
"svgRef",
|
|
@@ -1219,21 +1219,21 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1219
1219
|
"color",
|
|
1220
1220
|
"active",
|
|
1221
1221
|
"isCursorPointer"
|
|
1222
|
-
])) :
|
|
1223
|
-
Kn.value ? (
|
|
1222
|
+
])) : p("", !0),
|
|
1223
|
+
Kn.value ? (x(), m("div", {
|
|
1224
1224
|
key: 2,
|
|
1225
1225
|
ref_key: "noTitle",
|
|
1226
|
-
ref:
|
|
1226
|
+
ref: bn,
|
|
1227
1227
|
class: "vue-data-ui-no-title-space",
|
|
1228
1228
|
style: "height:36px; width: 100%;background:transparent"
|
|
1229
|
-
}, null, 512)) :
|
|
1230
|
-
M.value.style.chart.title.text ? (
|
|
1229
|
+
}, null, 512)) : p("", !0),
|
|
1230
|
+
M.value.style.chart.title.text ? (x(), m("div", {
|
|
1231
1231
|
key: 3,
|
|
1232
1232
|
ref_key: "chartTitle",
|
|
1233
|
-
ref:
|
|
1233
|
+
ref: _n,
|
|
1234
1234
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1235
|
-
}, [(
|
|
1236
|
-
key: `table_${
|
|
1235
|
+
}, [(x(), f(be, {
|
|
1236
|
+
key: `table_${xn.value}`,
|
|
1237
1237
|
config: {
|
|
1238
1238
|
title: {
|
|
1239
1239
|
cy: "quadrant-title",
|
|
@@ -1244,17 +1244,17 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1244
1244
|
...M.value.style.chart.title.subtitle
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
|
-
}, null, 8, ["config"]))], 512)) :
|
|
1248
|
-
|
|
1249
|
-
M.value.userOptions.show &&
|
|
1247
|
+
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
1248
|
+
h("div", { id: `legend-top-${k.value}` }, null, 8, Ke),
|
|
1249
|
+
M.value.userOptions.show && fn.value && (E(zn) || E(Ln)) ? (x(), f(E(on), {
|
|
1250
1250
|
ref_key: "userOptionsRef",
|
|
1251
|
-
ref:
|
|
1252
|
-
key: `user_options_${
|
|
1251
|
+
ref: En,
|
|
1252
|
+
key: `user_options_${gn.value}`,
|
|
1253
1253
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
1254
1254
|
color: M.value.style.chart.color,
|
|
1255
|
-
isImaging:
|
|
1256
|
-
isPrinting:
|
|
1257
|
-
uid:
|
|
1255
|
+
isImaging: E(Un),
|
|
1256
|
+
isPrinting: E(Hn),
|
|
1257
|
+
uid: k.value,
|
|
1258
1258
|
hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
|
|
1259
1259
|
hasPdf: M.value.userOptions.buttons.pdf,
|
|
1260
1260
|
hasImg: M.value.userOptions.buttons.img,
|
|
@@ -1267,7 +1267,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1267
1267
|
isFullscreen: Q.value,
|
|
1268
1268
|
isTooltip: R.value.showTooltip,
|
|
1269
1269
|
titles: { ...M.value.userOptions.buttonTitles },
|
|
1270
|
-
chartElement:
|
|
1270
|
+
chartElement: j.value,
|
|
1271
1271
|
position: M.value.userOptions.position,
|
|
1272
1272
|
hasAnnotator: M.value.userOptions.buttons.annotator,
|
|
1273
1273
|
isAnnotation: Er.value,
|
|
@@ -1276,7 +1276,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1276
1276
|
tableDialog: M.value.table.useDialog,
|
|
1277
1277
|
isCursorPointer: N.value,
|
|
1278
1278
|
onToggleFullscreen: Sr,
|
|
1279
|
-
onGeneratePdf:
|
|
1279
|
+
onGeneratePdf: E(Wn),
|
|
1280
1280
|
onGenerateCsv: xr,
|
|
1281
1281
|
onGenerateImage: Ir,
|
|
1282
1282
|
onGenerateSvg: Fr,
|
|
@@ -1285,11 +1285,11 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1285
1285
|
onToggleTooltip: Tr,
|
|
1286
1286
|
onToggleAnnotator: Dr,
|
|
1287
1287
|
onCopyAlt: Lr,
|
|
1288
|
-
style:
|
|
1289
|
-
},
|
|
1288
|
+
style: b({ visibility: E(zn) ? E(Ln) ? "visible" : "hidden" : "visible" })
|
|
1289
|
+
}, Me({ _: 2 }, [
|
|
1290
1290
|
e.$slots.menuIcon ? {
|
|
1291
1291
|
name: "menuIcon",
|
|
1292
|
-
fn:
|
|
1292
|
+
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
|
|
1293
1293
|
isOpen: t,
|
|
1294
1294
|
color: n
|
|
1295
1295
|
})), void 0, !0)]),
|
|
@@ -1297,42 +1297,42 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1297
1297
|
} : void 0,
|
|
1298
1298
|
e.$slots.optionTooltip ? {
|
|
1299
1299
|
name: "optionTooltip",
|
|
1300
|
-
fn:
|
|
1300
|
+
fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1301
1301
|
key: "1"
|
|
1302
1302
|
} : void 0,
|
|
1303
1303
|
e.$slots.optionPdf ? {
|
|
1304
1304
|
name: "optionPdf",
|
|
1305
|
-
fn:
|
|
1305
|
+
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1306
1306
|
key: "2"
|
|
1307
1307
|
} : void 0,
|
|
1308
1308
|
e.$slots.optionCsv ? {
|
|
1309
1309
|
name: "optionCsv",
|
|
1310
|
-
fn:
|
|
1310
|
+
fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1311
1311
|
key: "3"
|
|
1312
1312
|
} : void 0,
|
|
1313
1313
|
e.$slots.optionImg ? {
|
|
1314
1314
|
name: "optionImg",
|
|
1315
|
-
fn:
|
|
1315
|
+
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1316
1316
|
key: "4"
|
|
1317
1317
|
} : void 0,
|
|
1318
1318
|
e.$slots.optionSvg ? {
|
|
1319
1319
|
name: "optionSvg",
|
|
1320
|
-
fn:
|
|
1320
|
+
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1321
1321
|
key: "5"
|
|
1322
1322
|
} : void 0,
|
|
1323
1323
|
e.$slots.optionTable ? {
|
|
1324
1324
|
name: "optionTable",
|
|
1325
|
-
fn:
|
|
1325
|
+
fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1326
1326
|
key: "6"
|
|
1327
1327
|
} : void 0,
|
|
1328
1328
|
e.$slots.optionLabels ? {
|
|
1329
1329
|
name: "optionLabels",
|
|
1330
|
-
fn:
|
|
1330
|
+
fn: D(() => [w(e.$slots, "optionLabels", {}, void 0, !0)]),
|
|
1331
1331
|
key: "7"
|
|
1332
1332
|
} : void 0,
|
|
1333
1333
|
e.$slots.optionFullscreen ? {
|
|
1334
1334
|
name: "optionFullscreen",
|
|
1335
|
-
fn:
|
|
1335
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
|
|
1336
1336
|
toggleFullscreen: t,
|
|
1337
1337
|
isFullscreen: n
|
|
1338
1338
|
})), void 0, !0)]),
|
|
@@ -1340,7 +1340,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1340
1340
|
} : void 0,
|
|
1341
1341
|
e.$slots.optionAnnotator ? {
|
|
1342
1342
|
name: "optionAnnotator",
|
|
1343
|
-
fn:
|
|
1343
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
|
|
1344
1344
|
toggleAnnotator: t,
|
|
1345
1345
|
isAnnotator: n
|
|
1346
1346
|
})), void 0, !0)]),
|
|
@@ -1348,62 +1348,62 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1348
1348
|
} : void 0,
|
|
1349
1349
|
e.$slots.optionAltCopy ? {
|
|
1350
1350
|
name: "optionAltCopy",
|
|
1351
|
-
fn:
|
|
1351
|
+
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
|
|
1352
1352
|
key: "10"
|
|
1353
1353
|
} : void 0,
|
|
1354
1354
|
e.$slots["custom-menu-before"] ? {
|
|
1355
1355
|
name: "custom-menu-before",
|
|
1356
|
-
fn:
|
|
1356
|
+
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1357
1357
|
key: "11"
|
|
1358
1358
|
} : void 0,
|
|
1359
1359
|
e.$slots["custom-menu-after"] ? {
|
|
1360
1360
|
name: "custom-menu-after",
|
|
1361
|
-
fn:
|
|
1361
|
+
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1362
1362
|
key: "12"
|
|
1363
1363
|
} : void 0
|
|
1364
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
1365
|
-
|
|
1364
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : p("", !0),
|
|
1365
|
+
h("div", qe, [(x(), m("svg", {
|
|
1366
1366
|
ref_key: "svgRef",
|
|
1367
1367
|
ref: P,
|
|
1368
|
-
xmlns:
|
|
1369
|
-
"aria-describedby": `chart-instructions-${
|
|
1370
|
-
class:
|
|
1368
|
+
xmlns: E(ce),
|
|
1369
|
+
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1370
|
+
class: v({
|
|
1371
1371
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
1372
1372
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
1373
1373
|
}),
|
|
1374
1374
|
viewBox: `${V.value.startX} ${V.value.startY} ${V.value.width} ${V.value.height}`,
|
|
1375
|
-
style:
|
|
1376
|
-
id: `svg_${
|
|
1375
|
+
style: b(`max-width:100%;overflow:hidden;background:transparent;color:${M.value.style.chart.color}`),
|
|
1376
|
+
id: `svg_${k.value}`,
|
|
1377
1377
|
tabindex: "0",
|
|
1378
1378
|
onFocus: Rr,
|
|
1379
1379
|
onBlur: zr,
|
|
1380
1380
|
onKeydown: Br
|
|
1381
1381
|
}, [
|
|
1382
|
-
|
|
1383
|
-
e.$slots["chart-background"] ? (
|
|
1382
|
+
Pe(E(sn)),
|
|
1383
|
+
e.$slots["chart-background"] ? (x(), m("foreignObject", {
|
|
1384
1384
|
key: 0,
|
|
1385
1385
|
x: V.value.startX,
|
|
1386
1386
|
y: V.value.startY,
|
|
1387
1387
|
width: V.value.width,
|
|
1388
1388
|
height: V.value.height,
|
|
1389
1389
|
style: { pointerEvents: "none" }
|
|
1390
|
-
}, [
|
|
1391
|
-
|
|
1390
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : p("", !0),
|
|
1391
|
+
h("defs", null, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m("radialGradient", {
|
|
1392
1392
|
cx: "50%",
|
|
1393
1393
|
cy: "50%",
|
|
1394
1394
|
r: "50%",
|
|
1395
1395
|
fx: "50%",
|
|
1396
1396
|
fy: "50%",
|
|
1397
|
-
id: `quadrant_gradient_${
|
|
1398
|
-
}, [
|
|
1397
|
+
id: `quadrant_gradient_${k.value}_${t}`
|
|
1398
|
+
}, [h("stop", {
|
|
1399
1399
|
offset: "0%",
|
|
1400
|
-
"stop-color":
|
|
1401
|
-
}, null, 8,
|
|
1400
|
+
"stop-color": E(s)(E(te)(e.color, .05), M.value.style.chart.layout.areas.opacity)
|
|
1401
|
+
}, null, 8, Ze), h("stop", {
|
|
1402
1402
|
offset: "100%",
|
|
1403
|
-
"stop-color":
|
|
1404
|
-
}, null, 8,
|
|
1405
|
-
M.value.style.chart.layout.grid.graduations.show ? (
|
|
1406
|
-
fill: M.value.style.chart.layout.grid.graduations.fill ?
|
|
1403
|
+
"stop-color": E(s)(e.color, M.value.style.chart.layout.areas.opacity)
|
|
1404
|
+
}, null, 8, Qe)], 8, Xe))), 256))]),
|
|
1405
|
+
M.value.style.chart.layout.grid.graduations.show ? (x(), m("g", $e, [(x(!0), m(u, null, C(Zn.value, (e) => (x(), m("rect", {
|
|
1406
|
+
fill: M.value.style.chart.layout.grid.graduations.fill ? E(s)(M.value.style.chart.layout.grid.graduations.color, e.opacity) : "none",
|
|
1407
1407
|
x: e.x,
|
|
1408
1408
|
y: e.y,
|
|
1409
1409
|
height: e.height <= 0 ? .001 : e.height,
|
|
@@ -1411,204 +1411,204 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1411
1411
|
"stroke-width": M.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
1412
1412
|
stroke: M.value.style.chart.layout.grid.graduations.stroke,
|
|
1413
1413
|
rx: M.value.style.chart.layout.grid.graduations.roundingForce
|
|
1414
|
-
}, null, 8,
|
|
1415
|
-
|
|
1414
|
+
}, null, 8, et))), 256))])) : p("", !0),
|
|
1415
|
+
h("line", {
|
|
1416
1416
|
x1: B.value.left,
|
|
1417
1417
|
y1: B.value.centerY,
|
|
1418
1418
|
x2: B.value.right,
|
|
1419
1419
|
y2: B.value.centerY,
|
|
1420
1420
|
stroke: M.value.style.chart.layout.grid.stroke,
|
|
1421
1421
|
"stroke-width": M.value.style.chart.layout.grid.strokeWidth
|
|
1422
|
-
}, null, 8,
|
|
1423
|
-
|
|
1422
|
+
}, null, 8, tt),
|
|
1423
|
+
h("line", {
|
|
1424
1424
|
x1: B.value.centerX,
|
|
1425
1425
|
y1: B.value.top,
|
|
1426
1426
|
x2: B.value.centerX,
|
|
1427
1427
|
y2: B.value.bottom,
|
|
1428
1428
|
stroke: M.value.style.chart.layout.grid.stroke,
|
|
1429
1429
|
"stroke-width": M.value.style.chart.layout.grid.strokeWidth
|
|
1430
|
-
}, null, 8,
|
|
1431
|
-
M.value.style.chart.layout.grid.showArrows ? (
|
|
1432
|
-
|
|
1430
|
+
}, null, 8, nt),
|
|
1431
|
+
M.value.style.chart.layout.grid.showArrows ? (x(), m("g", rt, [
|
|
1432
|
+
h("polygon", {
|
|
1433
1433
|
points: `${B.value.right - 8},${B.value.centerY - 6} ${B.value.right},${B.value.centerY} ${B.value.right - 8},${B.value.centerY + 6}`,
|
|
1434
1434
|
fill: M.value.style.chart.layout.grid.stroke,
|
|
1435
1435
|
stroke: "none"
|
|
1436
|
-
}, null, 8,
|
|
1437
|
-
|
|
1436
|
+
}, null, 8, it),
|
|
1437
|
+
h("polygon", {
|
|
1438
1438
|
points: `${B.value.left + 8},${B.value.centerY - 6} ${B.value.left},${B.value.centerY} ${B.value.left + 8},${B.value.centerY + 6}`,
|
|
1439
1439
|
fill: M.value.style.chart.layout.grid.stroke,
|
|
1440
1440
|
stroke: "none"
|
|
1441
|
-
}, null, 8,
|
|
1442
|
-
|
|
1441
|
+
}, null, 8, at),
|
|
1442
|
+
h("polygon", {
|
|
1443
1443
|
points: `${B.value.centerX - 6},${B.value.top + 8} ${B.value.centerX},${B.value.top} ${B.value.centerX + 6},${B.value.top + 8}`,
|
|
1444
1444
|
fill: M.value.style.chart.layout.grid.stroke,
|
|
1445
1445
|
stroke: "none"
|
|
1446
|
-
}, null, 8,
|
|
1447
|
-
|
|
1446
|
+
}, null, 8, ot),
|
|
1447
|
+
h("polygon", {
|
|
1448
1448
|
points: `${B.value.centerX - 6},${B.value.bottom - 8} ${B.value.centerX},${B.value.bottom} ${B.value.centerX + 6},${B.value.bottom - 8}`,
|
|
1449
1449
|
fill: M.value.style.chart.layout.grid.stroke,
|
|
1450
1450
|
stroke: "none"
|
|
1451
|
-
}, null, 8,
|
|
1452
|
-
])) :
|
|
1453
|
-
M.value.style.chart.layout.labels.quadrantLabels.show && !
|
|
1454
|
-
M.value.style.chart.layout.labels.quadrantLabels.tl.text ? (
|
|
1451
|
+
}, null, 8, st)
|
|
1452
|
+
])) : p("", !0),
|
|
1453
|
+
M.value.style.chart.layout.labels.quadrantLabels.show && !A.value ? (x(), m("g", ct, [
|
|
1454
|
+
M.value.style.chart.layout.labels.quadrantLabels.tl.text ? (x(), m("text", {
|
|
1455
1455
|
key: 0,
|
|
1456
1456
|
x: 0,
|
|
1457
1457
|
y: B.value.top - B.value.padding / 2,
|
|
1458
1458
|
"text-anchor": "start",
|
|
1459
1459
|
fill: M.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
1460
1460
|
"font-size": M.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1461
|
-
style:
|
|
1462
|
-
onClick:
|
|
1463
|
-
},
|
|
1464
|
-
M.value.style.chart.layout.labels.quadrantLabels.tr.text ? (
|
|
1461
|
+
style: b(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1462
|
+
onClick: n[0] ||= (e) => yr("tl")
|
|
1463
|
+
}, T(M.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, lt)) : p("", !0),
|
|
1464
|
+
M.value.style.chart.layout.labels.quadrantLabels.tr.text ? (x(), m("text", {
|
|
1465
1465
|
key: 1,
|
|
1466
1466
|
x: B.value.width,
|
|
1467
1467
|
y: B.value.top - B.value.padding / 2,
|
|
1468
1468
|
"text-anchor": "end",
|
|
1469
1469
|
fill: M.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
1470
1470
|
"font-size": M.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1471
|
-
style:
|
|
1472
|
-
onClick:
|
|
1473
|
-
},
|
|
1474
|
-
M.value.style.chart.layout.labels.quadrantLabels.br.text ? (
|
|
1471
|
+
style: b(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1472
|
+
onClick: n[1] ||= (e) => yr("tr")
|
|
1473
|
+
}, T(M.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, ut)) : p("", !0),
|
|
1474
|
+
M.value.style.chart.layout.labels.quadrantLabels.br.text ? (x(), m("text", {
|
|
1475
1475
|
key: 2,
|
|
1476
1476
|
x: B.value.width,
|
|
1477
1477
|
y: B.value.bottom + B.value.padding * .7,
|
|
1478
1478
|
"text-anchor": "end",
|
|
1479
1479
|
fill: M.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
1480
1480
|
"font-size": M.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1481
|
-
style:
|
|
1482
|
-
onClick:
|
|
1483
|
-
},
|
|
1484
|
-
M.value.style.chart.layout.labels.quadrantLabels.bl.text ? (
|
|
1481
|
+
style: b(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1482
|
+
onClick: n[2] ||= (e) => yr("br")
|
|
1483
|
+
}, T(M.value.style.chart.layout.labels.quadrantLabels.br.text), 13, dt)) : p("", !0),
|
|
1484
|
+
M.value.style.chart.layout.labels.quadrantLabels.bl.text ? (x(), m("text", {
|
|
1485
1485
|
key: 3,
|
|
1486
1486
|
x: 0,
|
|
1487
1487
|
y: B.value.bottom + B.value.padding * .7,
|
|
1488
1488
|
"text-anchor": "start",
|
|
1489
1489
|
fill: M.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
1490
1490
|
"font-size": M.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1491
|
-
style:
|
|
1492
|
-
onClick:
|
|
1493
|
-
},
|
|
1494
|
-
])) :
|
|
1495
|
-
M.value.style.chart.layout.labels.axisLabels.show ? (
|
|
1496
|
-
M.value.style.chart.layout.grid.yAxis.show ? (
|
|
1491
|
+
style: b(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1492
|
+
onClick: n[3] ||= (e) => yr("bl")
|
|
1493
|
+
}, T(M.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, ft)) : p("", !0)
|
|
1494
|
+
])) : p("", !0),
|
|
1495
|
+
M.value.style.chart.layout.labels.axisLabels.show ? (x(), m("g", pt, [
|
|
1496
|
+
M.value.style.chart.layout.grid.yAxis.show ? (x(), m("text", {
|
|
1497
1497
|
key: 0,
|
|
1498
1498
|
x: B.value.centerX,
|
|
1499
1499
|
y: B.value.top - B.value.padding / 6,
|
|
1500
1500
|
"text-anchor": "middle",
|
|
1501
1501
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1502
1502
|
fill: M.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1503
|
-
},
|
|
1503
|
+
}, T(E(l)(M.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.max, E(a)({
|
|
1504
1504
|
v: K.value.y.max,
|
|
1505
1505
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1506
|
-
}))), 9,
|
|
1507
|
-
|
|
1506
|
+
}))), 9, mt)) : p("", !0),
|
|
1507
|
+
h("text", {
|
|
1508
1508
|
x: B.value.centerX,
|
|
1509
1509
|
y: B.value.top - B.value.padding / 2,
|
|
1510
1510
|
"text-anchor": "middle",
|
|
1511
1511
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1512
1512
|
fill: M.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1513
|
-
},
|
|
1514
|
-
M.value.style.chart.layout.grid.yAxis.show ? (
|
|
1513
|
+
}, T(M.value.style.chart.layout.grid.yAxis.name), 9, ht),
|
|
1514
|
+
M.value.style.chart.layout.grid.yAxis.show ? (x(), m("text", {
|
|
1515
1515
|
key: 1,
|
|
1516
1516
|
x: B.value.centerX,
|
|
1517
1517
|
y: B.value.bottom + B.value.padding * .35,
|
|
1518
1518
|
"text-anchor": "middle",
|
|
1519
1519
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1520
1520
|
fill: M.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1521
|
-
},
|
|
1521
|
+
}, T(E(l)(M.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.min, E(a)({
|
|
1522
1522
|
v: K.value.y.min,
|
|
1523
1523
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1524
|
-
}))), 9,
|
|
1525
|
-
M.value.style.chart.layout.grid.xAxis.show ? (
|
|
1524
|
+
}))), 9, gt)) : p("", !0),
|
|
1525
|
+
M.value.style.chart.layout.grid.xAxis.show ? (x(), m("text", {
|
|
1526
1526
|
key: 2,
|
|
1527
|
-
id: `xLabelMin_${
|
|
1527
|
+
id: `xLabelMin_${k.value}`,
|
|
1528
1528
|
"text-anchor": "middle",
|
|
1529
1529
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1530
1530
|
transform: `translate(${B.value.padding - M.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(-90)`,
|
|
1531
1531
|
fill: M.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1532
|
-
},
|
|
1532
|
+
}, T(E(l)(M.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.min, E(a)({
|
|
1533
1533
|
v: K.value.x.min,
|
|
1534
1534
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1535
|
-
}))), 9,
|
|
1536
|
-
M.value.style.chart.layout.grid.xAxis.show ? (
|
|
1535
|
+
}))), 9, _t)) : p("", !0),
|
|
1536
|
+
M.value.style.chart.layout.grid.xAxis.show ? (x(), m("text", {
|
|
1537
1537
|
key: 3,
|
|
1538
|
-
id: `xLabelMax_${
|
|
1538
|
+
id: `xLabelMax_${k.value}`,
|
|
1539
1539
|
"text-anchor": "middle",
|
|
1540
1540
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1541
1541
|
transform: `translate(${B.value.width - B.value.padding + M.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
|
|
1542
1542
|
fill: M.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1543
|
-
},
|
|
1543
|
+
}, T(E(l)(M.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.max, E(a)({
|
|
1544
1544
|
v: K.value.x.max,
|
|
1545
1545
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1546
|
-
}))), 9,
|
|
1547
|
-
|
|
1548
|
-
id: `xLabelMaxName_${
|
|
1546
|
+
}))), 9, vt)) : p("", !0),
|
|
1547
|
+
h("text", {
|
|
1548
|
+
id: `xLabelMaxName_${k.value}`,
|
|
1549
1549
|
"text-anchor": "middle",
|
|
1550
1550
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1551
1551
|
transform: `translate(${B.value.width - M.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
|
|
1552
1552
|
fill: M.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1553
|
-
},
|
|
1554
|
-
])) :
|
|
1555
|
-
M.value.style.chart.layout.areas.show ? (
|
|
1553
|
+
}, T(M.value.style.chart.layout.grid.xAxis.name), 9, yt)
|
|
1554
|
+
])) : p("", !0),
|
|
1555
|
+
M.value.style.chart.layout.areas.show ? (x(), m("g", bt, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m("g", null, [e.series.length > 2 ? (x(), m("polygon", {
|
|
1556
1556
|
key: 0,
|
|
1557
1557
|
"data-cy-quadrant-area": "",
|
|
1558
|
-
fill: M.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${
|
|
1559
|
-
points:
|
|
1560
|
-
}, null, 8,
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
onClick:
|
|
1558
|
+
fill: M.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${k.value}_${t})` : E(s)(e.color, M.value.style.chart.layout.areas.opacity),
|
|
1559
|
+
points: E(le)(e)
|
|
1560
|
+
}, null, 8, xt)) : p("", !0)]))), 256))])) : p("", !0),
|
|
1561
|
+
h("g", null, [
|
|
1562
|
+
h("rect", {
|
|
1563
|
+
onClick: n[4] ||= (e) => G("TL"),
|
|
1564
1564
|
x: B.value.left,
|
|
1565
1565
|
y: B.value.top,
|
|
1566
1566
|
width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
|
|
1567
1567
|
height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
|
|
1568
1568
|
fill: "transparent",
|
|
1569
|
-
class:
|
|
1570
|
-
"vue-data-ui-zoom-plus": !
|
|
1571
|
-
"vue-data-ui-zoom-minus":
|
|
1569
|
+
class: v({
|
|
1570
|
+
"vue-data-ui-zoom-plus": !A.value && W.value,
|
|
1571
|
+
"vue-data-ui-zoom-minus": A.value && W.value
|
|
1572
1572
|
})
|
|
1573
|
-
}, null, 10,
|
|
1574
|
-
|
|
1575
|
-
onClick:
|
|
1573
|
+
}, null, 10, St),
|
|
1574
|
+
h("rect", {
|
|
1575
|
+
onClick: n[5] ||= (e) => G("TR"),
|
|
1576
1576
|
x: B.value.centerX,
|
|
1577
1577
|
y: B.value.top,
|
|
1578
1578
|
width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
|
|
1579
1579
|
height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
|
|
1580
1580
|
fill: "transparent",
|
|
1581
|
-
class:
|
|
1582
|
-
"vue-data-ui-zoom-plus": !
|
|
1583
|
-
"vue-data-ui-zoom-minus":
|
|
1581
|
+
class: v({
|
|
1582
|
+
"vue-data-ui-zoom-plus": !A.value && W.value,
|
|
1583
|
+
"vue-data-ui-zoom-minus": A.value && W.value
|
|
1584
1584
|
})
|
|
1585
|
-
}, null, 10,
|
|
1586
|
-
|
|
1587
|
-
onClick:
|
|
1585
|
+
}, null, 10, Ct),
|
|
1586
|
+
h("rect", {
|
|
1587
|
+
onClick: n[6] ||= (e) => G("BR"),
|
|
1588
1588
|
x: B.value.centerX,
|
|
1589
1589
|
y: B.value.centerY,
|
|
1590
1590
|
width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
|
|
1591
1591
|
height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
|
|
1592
1592
|
fill: "transparent",
|
|
1593
|
-
class:
|
|
1594
|
-
"vue-data-ui-zoom-plus": !
|
|
1595
|
-
"vue-data-ui-zoom-minus":
|
|
1593
|
+
class: v({
|
|
1594
|
+
"vue-data-ui-zoom-plus": !A.value && W.value,
|
|
1595
|
+
"vue-data-ui-zoom-minus": A.value && W.value
|
|
1596
1596
|
})
|
|
1597
|
-
}, null, 10,
|
|
1598
|
-
|
|
1599
|
-
onClick:
|
|
1597
|
+
}, null, 10, wt),
|
|
1598
|
+
h("rect", {
|
|
1599
|
+
onClick: n[7] ||= (e) => G("BL"),
|
|
1600
1600
|
x: B.value.left,
|
|
1601
1601
|
y: B.value.centerY,
|
|
1602
1602
|
width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
|
|
1603
1603
|
height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
|
|
1604
1604
|
fill: "transparent",
|
|
1605
|
-
class:
|
|
1606
|
-
"vue-data-ui-zoom-plus": !
|
|
1607
|
-
"vue-data-ui-zoom-minus":
|
|
1605
|
+
class: v({
|
|
1606
|
+
"vue-data-ui-zoom-plus": !A.value && W.value,
|
|
1607
|
+
"vue-data-ui-zoom-minus": A.value && W.value
|
|
1608
1608
|
})
|
|
1609
|
-
}, null, 10,
|
|
1609
|
+
}, null, 10, Tt)
|
|
1610
1610
|
]),
|
|
1611
|
-
M.value.style.chart.layout.labels.plotLabels.showAsTag ? (
|
|
1611
|
+
M.value.style.chart.layout.labels.plotLabels.showAsTag ? (x(), m(u, { key: 7 }, [R.value.plotLabels.show ? (x(), m("g", Mt, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m(u, null, [(x(!0), m(u, null, C(e.series, (n) => (x(), m("foreignObject", {
|
|
1612
1612
|
style: { overflow: "visible" },
|
|
1613
1613
|
height: "10",
|
|
1614
1614
|
width: "100",
|
|
@@ -1617,7 +1617,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1617
1617
|
onMouseover: (r) => gr(e, n, t),
|
|
1618
1618
|
onMouseleave: (e) => _r(n, t),
|
|
1619
1619
|
onClick: (r) => vr(e, n, t)
|
|
1620
|
-
}, [
|
|
1620
|
+
}, [h("div", { style: b(`color:${E(se)(e.color)};margin: 0 auto; font-size:${M.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${e.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`) }, T(n.name), 5)], 40, Nt))), 256))], 64))), 256))])) : p("", !0)], 64)) : (x(), m(u, { key: 6 }, [(x(!0), m(u, null, C(J.value, (t, n) => (x(), m("g", null, [e.$slots.datapoint && !E(Fn) ? (x(!0), m(u, { key: 0 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [(x(), m("foreignObject", {
|
|
1621
1621
|
x: r.x - 1,
|
|
1622
1622
|
y: r.y - 1,
|
|
1623
1623
|
width: "2",
|
|
@@ -1629,30 +1629,30 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1629
1629
|
onMouseenter: (e) => gr(t, r, n),
|
|
1630
1630
|
onMouseleave: (e) => _r(r, n),
|
|
1631
1631
|
onClick: (e) => vr(t, r, n)
|
|
1632
|
-
}, [
|
|
1632
|
+
}, [w(e.$slots, "datapoint", Fe({ ref_for: !0 }, { datapoint: {
|
|
1633
1633
|
...r,
|
|
1634
1634
|
onEnter: () => gr(t, r, n),
|
|
1635
1635
|
onLeave: () => _r(r, n),
|
|
1636
1636
|
onClick: () => vr(t, r, n),
|
|
1637
1637
|
isSelected: X.value && r.uid === X.value
|
|
1638
|
-
} }), void 0, !0)], 40,
|
|
1638
|
+
} }), void 0, !0)], 40, Et)), h("circle", {
|
|
1639
1639
|
"data-a11y-plot-id": r.uid,
|
|
1640
1640
|
cx: r.x,
|
|
1641
1641
|
cy: r.y,
|
|
1642
|
-
r: Math.max(M.value.style.chart.layout.plots.radius / (
|
|
1642
|
+
r: Math.max(M.value.style.chart.layout.plots.radius / (A.value ? 1.5 : 1), 10),
|
|
1643
1643
|
fill: "transparent",
|
|
1644
1644
|
style: { "pointer-events": "none" }
|
|
1645
|
-
}, null, 8,
|
|
1645
|
+
}, null, 8, Dt)]))), 128)) : e.$slots.datapointSvg && !E(Fn) ? (x(!0), m(u, { key: 1 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [w(e.$slots, "datapointSvg", Fe({ ref_for: !0 }, { datapoint: {
|
|
1646
1646
|
...r,
|
|
1647
1647
|
onEnter: () => gr(t, r, n),
|
|
1648
1648
|
onLeave: () => _r(r, n),
|
|
1649
1649
|
onClick: () => vr(t, r, n),
|
|
1650
1650
|
isSelected: X.value && r.uid === X.value
|
|
1651
|
-
} }), void 0, !0)]))), 128)) : (
|
|
1651
|
+
} }), void 0, !0)]))), 128)) : (x(!0), m(u, { key: 2 }, C(t.series, (e, r) => (x(), m("g", { key: e.uid }, [Pe(xe, {
|
|
1652
1652
|
color: t.color,
|
|
1653
1653
|
isSelected: X.value && e.uid === X.value,
|
|
1654
1654
|
plot: e,
|
|
1655
|
-
radius: M.value.style.chart.layout.plots.radius / (
|
|
1655
|
+
radius: M.value.style.chart.layout.plots.radius / (A.value ? 1.5 : 1),
|
|
1656
1656
|
shape: t.shape,
|
|
1657
1657
|
stroke: M.value.style.chart.layout.plots.outline ? M.value.style.chart.layout.plots.outlineColor : "none",
|
|
1658
1658
|
strokeWidth: M.value.style.chart.layout.plots.outlineWidth,
|
|
@@ -1670,166 +1670,166 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1670
1670
|
"onMouseenter",
|
|
1671
1671
|
"onMouseleave",
|
|
1672
1672
|
"onClick"
|
|
1673
|
-
]),
|
|
1673
|
+
]), h("circle", {
|
|
1674
1674
|
"data-dom-to-png-ignore": "",
|
|
1675
1675
|
"data-a11y-plot-id": e.uid,
|
|
1676
1676
|
cx: e.x,
|
|
1677
1677
|
cy: e.y,
|
|
1678
|
-
r: Math.max(M.value.style.chart.layout.plots.radius / (
|
|
1678
|
+
r: Math.max(M.value.style.chart.layout.plots.radius / (A.value ? 1.5 : 1), 10),
|
|
1679
1679
|
fill: "transparent",
|
|
1680
1680
|
style: { "pointer-events": "none" }
|
|
1681
|
-
}, null, 8,
|
|
1681
|
+
}, null, 8, Ot)]))), 128))]))), 256)), R.value.plotLabels.show ? (x(), m("g", kt, [(x(!0), m(u, null, C(J.value, (e) => (x(), m("g", null, [(x(!0), m(u, null, C(e.series, (e) => (x(), m("g", null, [String(e.name).includes("\n") ? (x(), m("text", {
|
|
1682
1682
|
key: 1,
|
|
1683
1683
|
x: e.x,
|
|
1684
1684
|
y: e.y + M.value.style.chart.layout.labels.plotLabels.offsetY + M.value.style.chart.layout.plots.radius,
|
|
1685
1685
|
"text-anchor": "middle",
|
|
1686
|
-
"font-size": M.value.style.chart.layout.labels.plotLabels.fontSize / (
|
|
1686
|
+
"font-size": M.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1687
1687
|
fill: M.value.style.chart.layout.labels.plotLabels.color,
|
|
1688
|
-
innerHTML:
|
|
1688
|
+
innerHTML: E(t)({
|
|
1689
1689
|
content: String(e.name),
|
|
1690
|
-
fontSize: M.value.style.chart.layout.labels.plotLabels.fontSize / (
|
|
1690
|
+
fontSize: M.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1691
1691
|
fill: M.value.style.chart.layout.labels.plotLabels.color,
|
|
1692
1692
|
x: e.x,
|
|
1693
1693
|
y: e.y + M.value.style.chart.layout.labels.plotLabels.offsetY + M.value.style.chart.layout.plots.radius
|
|
1694
1694
|
})
|
|
1695
|
-
}, null, 8,
|
|
1695
|
+
}, null, 8, jt)) : (x(), m("text", {
|
|
1696
1696
|
key: 0,
|
|
1697
1697
|
x: e.x,
|
|
1698
1698
|
y: e.y + M.value.style.chart.layout.labels.plotLabels.offsetY + M.value.style.chart.layout.plots.radius,
|
|
1699
1699
|
"text-anchor": "middle",
|
|
1700
|
-
"font-size": M.value.style.chart.layout.labels.plotLabels.fontSize / (
|
|
1700
|
+
"font-size": M.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1701
1701
|
fill: M.value.style.chart.layout.labels.plotLabels.color
|
|
1702
|
-
},
|
|
1703
|
-
|
|
1704
|
-
H.value === "TL" ? (
|
|
1702
|
+
}, T(e.name), 9, At))]))), 256))]))), 256))])) : p("", !0)], 64)),
|
|
1703
|
+
A.value ? (x(), m("g", Pt, [
|
|
1704
|
+
H.value === "TL" ? (x(), m("polygon", {
|
|
1705
1705
|
key: 0,
|
|
1706
1706
|
points: `${B.value.left - 1},${B.value.centerY} ${B.value.centerX},${B.value.centerY} ${B.value.centerX},${B.value.top - 1} ${B.value.right},${B.value.top - 1} ${B.value.right},${B.value.bottom} ${B.value.left - 1},${B.value.bottom} ${B.value.left - 1},${B.value.centerY}`,
|
|
1707
1707
|
fill: M.value.style.chart.backgroundColor,
|
|
1708
1708
|
style: { opacity: "1" }
|
|
1709
|
-
}, null, 8,
|
|
1710
|
-
H.value === "TR" ? (
|
|
1709
|
+
}, null, 8, Ft)) : p("", !0),
|
|
1710
|
+
H.value === "TR" ? (x(), m("polygon", {
|
|
1711
1711
|
key: 1,
|
|
1712
1712
|
points: `${B.value.left},${B.value.top - 1} ${B.value.centerX},${B.value.top - 1} ${B.value.centerX},${B.value.centerY} ${B.value.right + 1},${B.value.centerY} ${B.value.right + 1},${B.value.bottom} ${B.value.left},${B.value.bottom} ${B.value.left},${B.value.top - 1}`,
|
|
1713
1713
|
fill: M.value.style.chart.backgroundColor,
|
|
1714
1714
|
style: { opacity: "1" }
|
|
1715
|
-
}, null, 8,
|
|
1716
|
-
H.value === "BR" ? (
|
|
1715
|
+
}, null, 8, It)) : p("", !0),
|
|
1716
|
+
H.value === "BR" ? (x(), m("polygon", {
|
|
1717
1717
|
key: 2,
|
|
1718
1718
|
points: `${B.value.left},${B.value.top} ${B.value.right + 1},${B.value.top} ${B.value.right + 1},${B.value.centerY} ${B.value.centerX},${B.value.centerY} ${B.value.centerX},${B.value.bottom + 1} ${B.value.left},${B.value.bottom + 1} ${B.value.left},${B.value.top}`,
|
|
1719
1719
|
fill: M.value.style.chart.backgroundColor,
|
|
1720
1720
|
style: { opacity: "1" }
|
|
1721
|
-
}, null, 8,
|
|
1722
|
-
H.value === "BL" ? (
|
|
1721
|
+
}, null, 8, Lt)) : p("", !0),
|
|
1722
|
+
H.value === "BL" ? (x(), m("polygon", {
|
|
1723
1723
|
key: 3,
|
|
1724
1724
|
points: `${B.value.left - 1},${B.value.top} ${B.value.right},${B.value.top} ${B.value.right},${B.value.bottom + 1} ${B.value.centerX},${B.value.bottom + 1} ${B.value.centerX},${B.value.centerY} ${B.value.left - 1},${B.value.centerY} ${B.value.left - 1},${B.value.top}`,
|
|
1725
1725
|
fill: M.value.style.chart.backgroundColor,
|
|
1726
1726
|
style: { opacity: "1" }
|
|
1727
|
-
}, null, 8,
|
|
1728
|
-
])) :
|
|
1729
|
-
H.value && !Yn.value ? (
|
|
1727
|
+
}, null, 8, Rt)) : p("", !0)
|
|
1728
|
+
])) : p("", !0),
|
|
1729
|
+
H.value && !Yn.value ? (x(), m("g", zt, [h("text", {
|
|
1730
1730
|
x: U.value.x,
|
|
1731
1731
|
y: U.value.y - U.value.fontSize / 1.5,
|
|
1732
1732
|
"font-size": U.value.fontSize / 1.5,
|
|
1733
1733
|
fill: U.value.fill,
|
|
1734
1734
|
"text-anchor": "middle",
|
|
1735
1735
|
"font-weight": U.value.bold ? "bold" : "normal"
|
|
1736
|
-
},
|
|
1737
|
-
|
|
1738
|
-
|
|
1736
|
+
}, T(U.value.text), 9, Bt)])) : p("", !0),
|
|
1737
|
+
A.value && H.value ? (x(), m("g", Vt, [
|
|
1738
|
+
h("rect", {
|
|
1739
1739
|
x: Z.value[H.value].tl.x,
|
|
1740
1740
|
y: Z.value[H.value].tl.y,
|
|
1741
1741
|
height: "20",
|
|
1742
1742
|
width: "20",
|
|
1743
1743
|
fill: Z.value[H.value].tl.fill,
|
|
1744
|
-
style:
|
|
1745
|
-
onClick:
|
|
1746
|
-
class:
|
|
1744
|
+
style: b(`cursor: ${N.value ? "pointer" : "default"}; opacity: ${H.value === "TL" ? 1 : .2}`),
|
|
1745
|
+
onClick: n[8] ||= (e) => G("TL"),
|
|
1746
|
+
class: v({
|
|
1747
1747
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1748
1748
|
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "TL"
|
|
1749
1749
|
})
|
|
1750
|
-
}, null, 14,
|
|
1751
|
-
|
|
1750
|
+
}, null, 14, Ht),
|
|
1751
|
+
h("rect", {
|
|
1752
1752
|
x: Z.value[H.value].tr.x,
|
|
1753
1753
|
y: Z.value[H.value].tr.y,
|
|
1754
1754
|
height: "20",
|
|
1755
1755
|
width: "20",
|
|
1756
1756
|
fill: Z.value[H.value].tr.fill,
|
|
1757
|
-
style:
|
|
1758
|
-
onClick:
|
|
1759
|
-
class:
|
|
1757
|
+
style: b(`cursor: ${N.value ? "pointer" : "default"}; opacity: ${H.value === "TR" ? 1 : .2}`),
|
|
1758
|
+
onClick: n[9] ||= (e) => G("TR"),
|
|
1759
|
+
class: v({
|
|
1760
1760
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1761
1761
|
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "TR"
|
|
1762
1762
|
})
|
|
1763
|
-
}, null, 14,
|
|
1764
|
-
|
|
1763
|
+
}, null, 14, Ut),
|
|
1764
|
+
h("rect", {
|
|
1765
1765
|
x: Z.value[H.value].br.x,
|
|
1766
1766
|
y: Z.value[H.value].br.y,
|
|
1767
1767
|
height: "20",
|
|
1768
1768
|
width: "20",
|
|
1769
1769
|
fill: Z.value[H.value].br.fill,
|
|
1770
|
-
style:
|
|
1771
|
-
onClick:
|
|
1772
|
-
class:
|
|
1770
|
+
style: b(`cursor: ${N.value ? "pointer" : "default"}; opacity: ${H.value === "BR" ? 1 : .2}`),
|
|
1771
|
+
onClick: n[10] ||= (e) => G("BR"),
|
|
1772
|
+
class: v({
|
|
1773
1773
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1774
1774
|
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "BR"
|
|
1775
1775
|
})
|
|
1776
|
-
}, null, 14,
|
|
1777
|
-
|
|
1776
|
+
}, null, 14, Wt),
|
|
1777
|
+
h("rect", {
|
|
1778
1778
|
x: Z.value[H.value].bl.x,
|
|
1779
1779
|
y: Z.value[H.value].bl.y,
|
|
1780
1780
|
height: "20",
|
|
1781
1781
|
width: "20",
|
|
1782
1782
|
fill: Z.value[H.value].bl.fill,
|
|
1783
|
-
style:
|
|
1784
|
-
onClick:
|
|
1785
|
-
class:
|
|
1783
|
+
style: b(`cursor: ${N.value ? "pointer" : "default"}; opacity: ${H.value === "BL" ? 1 : .2}`),
|
|
1784
|
+
onClick: n[11] ||= (e) => G("BL"),
|
|
1785
|
+
class: v({
|
|
1786
1786
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1787
1787
|
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "BL"
|
|
1788
1788
|
})
|
|
1789
|
-
}, null, 14,
|
|
1790
|
-
|
|
1789
|
+
}, null, 14, Gt),
|
|
1790
|
+
h("path", {
|
|
1791
1791
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1792
1792
|
stroke: M.value.style.chart.backgroundColor,
|
|
1793
1793
|
"stroke-width": 1,
|
|
1794
1794
|
d: Z.value[H.value].crosshairs.horizontal
|
|
1795
|
-
}, null, 8,
|
|
1796
|
-
|
|
1795
|
+
}, null, 8, Kt),
|
|
1796
|
+
h("path", {
|
|
1797
1797
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1798
1798
|
stroke: M.value.style.chart.backgroundColor,
|
|
1799
1799
|
"stroke-width": 1,
|
|
1800
1800
|
d: Z.value[H.value].crosshairs.vertical
|
|
1801
|
-
}, null, 8,
|
|
1802
|
-
])) :
|
|
1803
|
-
|
|
1801
|
+
}, null, 8, qt)
|
|
1802
|
+
])) : p("", !0),
|
|
1803
|
+
w(e.$slots, "svg", { svg: {
|
|
1804
1804
|
...B.value,
|
|
1805
|
-
isPrintingImg:
|
|
1806
|
-
isPrintingSvg:
|
|
1805
|
+
isPrintingImg: E(Hn) || E(Un) || Dn.value,
|
|
1806
|
+
isPrintingSvg: On.value
|
|
1807
1807
|
} }, void 0, !0)
|
|
1808
|
-
], 46,
|
|
1808
|
+
], 46, Je)), e.$slots.hint ? (x(), m("div", Jt, [w(e.$slots, "hint", y(_({
|
|
1809
1809
|
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1810
1810
|
isVisible: Nn.value
|
|
1811
|
-
})), void 0, !0)])) :
|
|
1812
|
-
e.$slots.watermark ? (
|
|
1813
|
-
|
|
1814
|
-
|
|
1811
|
+
})), void 0, !0)])) : p("", !0)]),
|
|
1812
|
+
e.$slots.watermark ? (x(), m("div", Yt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Hn) || E(Un) || Dn.value || On.value })), void 0, !0)])) : p("", !0),
|
|
1813
|
+
h("div", { id: `legend-bottom-${k.value}` }, null, 8, Xt),
|
|
1814
|
+
wn.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(je, {
|
|
1815
1815
|
key: 6,
|
|
1816
|
-
to: M.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1817
|
-
}, [
|
|
1816
|
+
to: M.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
1817
|
+
}, [h("div", {
|
|
1818
1818
|
ref_key: "chartLegend",
|
|
1819
|
-
ref:
|
|
1820
|
-
}, [
|
|
1821
|
-
key: `legend_${
|
|
1819
|
+
ref: vn
|
|
1820
|
+
}, [w(e.$slots, "legend", { legend: Y.value }, () => [M.value.style.chart.legend.show ? (x(), f(ke, {
|
|
1821
|
+
key: `legend_${Cn.value}`,
|
|
1822
1822
|
legendSet: Y.value,
|
|
1823
1823
|
config: ur.value,
|
|
1824
1824
|
isCursorPointer: N.value,
|
|
1825
|
-
onClickMarker:
|
|
1825
|
+
onClickMarker: n[12] ||= ({ legend: e }) => or(e.id)
|
|
1826
1826
|
}, {
|
|
1827
|
-
item:
|
|
1827
|
+
item: D(({ legend: e }) => [E(Fn) ? p("", !0) : (x(), m("div", {
|
|
1828
1828
|
key: 0,
|
|
1829
1829
|
onClick: (t) => or(e.id),
|
|
1830
|
-
style:
|
|
1831
|
-
},
|
|
1832
|
-
legendToggle:
|
|
1830
|
+
style: b(`opacity:${q.value.includes(e.id) ? .5 : 1}`)
|
|
1831
|
+
}, T(e.name), 13, Zt))]),
|
|
1832
|
+
legendToggle: D(() => [Y.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !E(Fn) ? (x(), f(Te, {
|
|
1833
1833
|
key: 0,
|
|
1834
1834
|
backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1835
1835
|
color: M.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1843,22 +1843,22 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1843
1843
|
"fontSize",
|
|
1844
1844
|
"checked",
|
|
1845
1845
|
"isCursorPointer"
|
|
1846
|
-
])) :
|
|
1846
|
+
])) : p("", !0)]),
|
|
1847
1847
|
_: 1
|
|
1848
1848
|
}, 8, [
|
|
1849
1849
|
"legendSet",
|
|
1850
1850
|
"config",
|
|
1851
1851
|
"isCursorPointer"
|
|
1852
|
-
])) :
|
|
1853
|
-
e.$slots.source ? (
|
|
1852
|
+
])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
|
|
1853
|
+
e.$slots.source ? (x(), m("div", {
|
|
1854
1854
|
key: 7,
|
|
1855
1855
|
ref_key: "source",
|
|
1856
|
-
ref:
|
|
1856
|
+
ref: yn,
|
|
1857
1857
|
dir: "auto"
|
|
1858
|
-
}, [
|
|
1859
|
-
|
|
1858
|
+
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1859
|
+
Pe(E(en), {
|
|
1860
1860
|
teleportTo: M.value.style.chart.tooltip.teleportTo,
|
|
1861
|
-
show: R.value.showTooltip &&
|
|
1861
|
+
show: R.value.showTooltip && mn.value,
|
|
1862
1862
|
backgroundColor: M.value.style.chart.tooltip.backgroundColor,
|
|
1863
1863
|
color: M.value.style.chart.tooltip.color,
|
|
1864
1864
|
borderRadius: M.value.style.chart.tooltip.borderRadius,
|
|
@@ -1869,8 +1869,8 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1869
1869
|
position: M.value.style.chart.tooltip.position,
|
|
1870
1870
|
offsetX: M.value.style.chart.tooltip.offsetX,
|
|
1871
1871
|
offsetY: M.value.style.chart.tooltip.offsetY,
|
|
1872
|
-
parent:
|
|
1873
|
-
content:
|
|
1872
|
+
parent: j.value,
|
|
1873
|
+
content: hn.value,
|
|
1874
1874
|
isFullscreen: Q.value,
|
|
1875
1875
|
isCustom: M.value.style.chart.tooltip.customFormat && typeof M.value.style.chart.tooltip.customFormat == "function",
|
|
1876
1876
|
smooth: M.value.style.chart.tooltip.smooth,
|
|
@@ -1880,10 +1880,10 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1880
1880
|
isA11yMode: Mn.value === "keyboard",
|
|
1881
1881
|
a11yPosition: jn.value
|
|
1882
1882
|
}, {
|
|
1883
|
-
"tooltip-before":
|
|
1884
|
-
tooltip:
|
|
1885
|
-
"tooltip-after":
|
|
1886
|
-
default:
|
|
1883
|
+
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...pr.value })), void 0, !0)]),
|
|
1884
|
+
tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...pr.value })), void 0, !0)]),
|
|
1885
|
+
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...pr.value })), void 0, !0)]),
|
|
1886
|
+
default: D(() => [M.value.style.chart.tooltip.showShape ? (x(), m("svg", Qt, [Pe(xe, {
|
|
1887
1887
|
plot: {
|
|
1888
1888
|
x: 10,
|
|
1889
1889
|
y: 10
|
|
@@ -1898,7 +1898,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1898
1898
|
"color",
|
|
1899
1899
|
"stroke",
|
|
1900
1900
|
"stroke-width"
|
|
1901
|
-
])])) :
|
|
1901
|
+
])])) : p("", !0)]),
|
|
1902
1902
|
_: 3
|
|
1903
1903
|
}, 8, [
|
|
1904
1904
|
"teleportTo",
|
|
@@ -1924,13 +1924,13 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1924
1924
|
"isA11yMode",
|
|
1925
1925
|
"a11yPosition"
|
|
1926
1926
|
]),
|
|
1927
|
-
|
|
1927
|
+
fn.value && M.value.userOptions.buttons.table ? (x(), f(ze(kr.value.component), Fe({ key: 8 }, kr.value.props, {
|
|
1928
1928
|
ref_key: "tableUnit",
|
|
1929
|
-
ref:
|
|
1929
|
+
ref: Tn,
|
|
1930
1930
|
onClose: Ar
|
|
1931
|
-
}),
|
|
1932
|
-
content:
|
|
1933
|
-
key: `table_${
|
|
1931
|
+
}), Me({
|
|
1932
|
+
content: D(() => [(x(), f(E(rn), {
|
|
1933
|
+
key: `table_${Sn.value}`,
|
|
1934
1934
|
colNames: ir.value.colNames,
|
|
1935
1935
|
head: ir.value.head,
|
|
1936
1936
|
body: ir.value.body,
|
|
@@ -1940,8 +1940,8 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1940
1940
|
isCursorPointer: N.value,
|
|
1941
1941
|
onClose: Ar
|
|
1942
1942
|
}, {
|
|
1943
|
-
th:
|
|
1944
|
-
td:
|
|
1943
|
+
th: D(({ th: e }) => [Ne(T(e), 1)]),
|
|
1944
|
+
td: D(({ td: e }) => [h("div", { innerHTML: e.name || e }, null, 8, $t)]),
|
|
1945
1945
|
_: 1
|
|
1946
1946
|
}, 8, [
|
|
1947
1947
|
"colNames",
|
|
@@ -1955,24 +1955,24 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1955
1955
|
_: 2
|
|
1956
1956
|
}, [M.value.table.useDialog ? {
|
|
1957
1957
|
name: "title",
|
|
1958
|
-
fn:
|
|
1958
|
+
fn: D(() => [Ne(T(kr.value.title), 1)]),
|
|
1959
1959
|
key: "0"
|
|
1960
1960
|
} : void 0, M.value.table.useDialog ? {
|
|
1961
1961
|
name: "actions",
|
|
1962
|
-
fn:
|
|
1962
|
+
fn: D(() => [h("button", {
|
|
1963
1963
|
tabindex: "0",
|
|
1964
1964
|
class: "vue-ui-user-options-button",
|
|
1965
|
-
onClick:
|
|
1966
|
-
style:
|
|
1967
|
-
}, [
|
|
1965
|
+
onClick: n[13] ||= (e) => xr(M.value.userOptions.callbacks.csv),
|
|
1966
|
+
style: b({ cursor: N.value ? "pointer" : "default" })
|
|
1967
|
+
}, [Pe(E(tn), {
|
|
1968
1968
|
name: "fileCsv",
|
|
1969
1969
|
stroke: kr.value.props.color
|
|
1970
1970
|
}, null, 8, ["stroke"])], 4)]),
|
|
1971
1971
|
key: "1"
|
|
1972
|
-
} : void 0]), 1040)) :
|
|
1973
|
-
|
|
1974
|
-
], 46,
|
|
1972
|
+
} : void 0]), 1040)) : p("", !0),
|
|
1973
|
+
w(e.$slots, "skeleton", {}, () => [E(Fn) ? (x(), f(he, { key: 0 })) : p("", !0)], !0)
|
|
1974
|
+
], 46, We));
|
|
1975
1975
|
}
|
|
1976
|
-
}, [["__scopeId", "data-v-
|
|
1976
|
+
}, [["__scopeId", "data-v-0dde82f9"]]);
|
|
1977
1977
|
//#endregion
|
|
1978
|
-
export {
|
|
1978
|
+
export { Ue as n, en as t };
|