vue-data-ui 3.17.2 → 3.17.4
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 +228 -228
- package/dist/{A11yDataTable-KcVAX2cP.js → A11yDataTable-BpmuNomI.js} +1 -1
- package/dist/{Arrow-Bn-9n3bm.js → Arrow-dSvLFssU.js} +1 -1
- package/dist/{BaseDraggableDialog-CIb-iD9g.js → BaseDraggableDialog-Di8Hlru3.js} +26 -24
- package/dist/{BaseIcon-Cb3zzG6s.js → BaseIcon-DX0hTWa-.js} +11 -5
- package/dist/{BaseLegendToggle-BQVIawmA.js → BaseLegendToggle-cMP8M2u0.js} +4 -4
- package/dist/BaseScanner-BON3d_Sx.js +38 -0
- package/dist/{BaseZoomControls-DievbOeJ.js → BaseZoomControls-CVSC1-SU.js} +11 -5
- package/dist/{ColorPicker-B0mV4xzu.js → ColorPicker-bAxGcXK0.js} +38 -22
- package/dist/{DataTable-DT2kIdQ6.js → DataTable-cMnb68Ik.js} +15 -11
- package/dist/{Legend-CS7Xo5LK.js → Legend-DGN5lY60.js} +15 -12
- package/dist/{NonSvgPenAndPaper-VyJFyJ6X.js → NonSvgPenAndPaper-B6E0zEYe.js} +34 -12
- package/dist/{PackageVersion-PjmqM4wb.js → PackageVersion-DVvvyQXB.js} +1 -1
- package/dist/{PenAndPaper-Ct3qJ4lA.js → PenAndPaper-CJDoB5H9.js} +87 -27
- package/dist/{Shape-BKRUOeKk.js → Shape-CxJ5_Rre.js} +1 -1
- package/dist/{Slicer-CIHwwuNR.js → Slicer-D7UcO8sN.js} +75 -33
- package/dist/{SlicerPreview-BMx3cqgX.js → SlicerPreview-D_CgrN_7.js} +198 -102
- package/dist/{SparkTooltip-BorBpltj.js → SparkTooltip-D4bM-kfz.js} +5 -5
- package/dist/{Title-BeMKE1cj.js → Title-BbKoiBk2.js} +1 -1
- package/dist/{Tooltip-C8KGyqQk.js → Tooltip-Cvt7Fi0Q.js} +9 -2
- package/dist/{UserOptions-rW2fRf3V.js → UserOptions-DVduN6X7.js} +48 -14
- 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 +5 -0
- 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-CtxhhdWb.js → dom-to-png-DGvx6i5V.js} +21 -6
- package/dist/{exposedLib-DlqmhBx3.js → exposedLib-sJvY1pST.js} +1 -1
- package/dist/{geoProjections-D0Vxsz_O.js → geoProjections-BFq2sOBY.js} +19 -11
- package/dist/{img-LXxMLmCg.js → img-CjTQXS0U.js} +31 -7
- package/dist/{labelUtils-CqTHa20R.js → labelUtils-DX9oyq3C.js} +2 -6
- package/dist/{lib-DBptbyyI.js → lib-DMzrGQHK.js} +337 -124
- package/dist/patternUtils-BINhU4Ky.js +615 -0
- package/dist/{pdf-B4tTdfvl.js → pdf-C4H4o1Cj.js} +11 -2
- package/dist/style.css +1 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +500 -451
- package/dist/types/vue-data-ui.d.ts +2124 -1786
- package/dist/types/vue-ui-3d-bar.d.ts +10 -7
- package/dist/types/vue-ui-accordion.d.ts +2 -4
- package/dist/types/vue-ui-age-pyramid.d.ts +10 -8
- package/dist/types/vue-ui-annotator.d.ts +3 -3
- package/dist/types/vue-ui-bullet.d.ts +10 -7
- package/dist/types/vue-ui-bump.d.ts +9 -6
- package/dist/types/vue-ui-candlestick.d.ts +10 -7
- package/dist/types/vue-ui-carousel-table.d.ts +2 -2
- package/dist/types/vue-ui-chestnut.d.ts +9 -6
- package/dist/types/vue-ui-chord.d.ts +10 -7
- package/dist/types/vue-ui-circle-pack.d.ts +10 -7
- package/dist/types/vue-ui-cursor.d.ts +2 -2
- package/dist/types/vue-ui-dag.d.ts +10 -7
- package/dist/types/vue-ui-dashboard.d.ts +3 -3
- package/dist/types/vue-ui-digits.d.ts +2 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +11 -8
- package/dist/types/vue-ui-donut.d.ts +11 -8
- package/dist/types/vue-ui-dumbbell.d.ts +11 -8
- package/dist/types/vue-ui-flow.d.ts +11 -8
- package/dist/types/vue-ui-funnel.d.ts +11 -8
- package/dist/types/vue-ui-galaxy.d.ts +11 -8
- package/dist/types/vue-ui-gauge.d.ts +11 -8
- package/dist/types/vue-ui-geo.d.ts +13 -6
- package/dist/types/vue-ui-gizmo.d.ts +2 -5
- package/dist/types/vue-ui-heatmap.d.ts +11 -8
- package/dist/types/vue-ui-history-plot.d.ts +11 -8
- package/dist/types/vue-ui-horizontal-bar.d.ts +11 -8
- package/dist/types/vue-ui-icon.d.ts +2 -4
- package/dist/types/vue-ui-kpi.d.ts +2 -4
- package/dist/types/vue-ui-mini-loader.d.ts +4 -4
- package/dist/types/vue-ui-molecule.d.ts +11 -8
- package/dist/types/vue-ui-mood-radar.d.ts +11 -8
- package/dist/types/vue-ui-nested-donuts.d.ts +11 -8
- package/dist/types/vue-ui-onion.d.ts +11 -8
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +11 -8
- package/dist/types/vue-ui-pattern-seed.d.ts +14 -0
- package/dist/types/vue-ui-pattern.d.ts +2 -4
- package/dist/types/vue-ui-quadrant.d.ts +11 -8
- package/dist/types/vue-ui-quick-chart.d.ts +11 -8
- package/dist/types/vue-ui-radar.d.ts +11 -8
- package/dist/types/vue-ui-rating.d.ts +4 -4
- package/dist/types/vue-ui-relation-circle.d.ts +11 -8
- package/dist/types/vue-ui-ridgeline.d.ts +11 -8
- package/dist/types/vue-ui-rings.d.ts +11 -8
- package/dist/types/vue-ui-scatter.d.ts +11 -8
- package/dist/types/vue-ui-skeleton.d.ts +2 -4
- package/dist/types/vue-ui-smiley.d.ts +2 -5
- package/dist/types/vue-ui-spark-trend.d.ts +2 -4
- package/dist/types/vue-ui-sparkbar.d.ts +4 -4
- package/dist/types/vue-ui-sparkgauge.d.ts +4 -4
- package/dist/types/vue-ui-sparkhistogram.d.ts +4 -4
- package/dist/types/vue-ui-sparkline.d.ts +4 -4
- package/dist/types/vue-ui-sparkstackbar.d.ts +4 -4
- package/dist/types/vue-ui-stackbar.d.ts +11 -8
- package/dist/types/vue-ui-stackline.d.ts +11 -8
- package/dist/types/vue-ui-strip-plot.d.ts +11 -8
- package/dist/types/vue-ui-table-heatmap.d.ts +4 -4
- package/dist/types/vue-ui-table-sparkline.d.ts +4 -4
- package/dist/types/vue-ui-table.d.ts +4 -4
- package/dist/types/vue-ui-thermometer.d.ts +11 -8
- package/dist/types/vue-ui-timer.d.ts +2 -4
- package/dist/types/vue-ui-tiremarks.d.ts +11 -8
- package/dist/types/vue-ui-treemap.d.ts +11 -8
- package/dist/types/vue-ui-vertical-bar.d.ts +11 -8
- package/dist/types/vue-ui-waffle.d.ts +11 -8
- package/dist/types/vue-ui-wheel.d.ts +11 -8
- package/dist/types/vue-ui-word-cloud.d.ts +11 -8
- package/dist/types/vue-ui-world.d.ts +11 -8
- package/dist/types/vue-ui-xy-canvas.d.ts +11 -8
- package/dist/types/vue-ui-xy.d.ts +9 -6
- package/dist/{useAutoSizeLabelsInsideViewbox-DX7LdvFX.js → useAutoSizeLabelsInsideViewbox-izlGDfwu.js} +1 -1
- package/dist/{useChartAccessibility-9icAAmYg.js → useChartAccessibility-cp6XQtqi.js} +4 -1
- package/dist/{useConfig-C40HvGpD.js → useConfig-DTHxOX6V.js} +2 -8
- package/dist/{useNestedProp-Bf5XFbs8.js → useNestedProp-DH0BEVVS.js} +1 -1
- package/dist/{useObjectBindings-DOokNdQ_.js → useObjectBindings-BjkVidN3.js} +17 -6
- package/dist/{usePanZoom-CDF7rb3o.js → usePanZoom-BbDhcKWf.js} +11 -2
- package/dist/{usePrefersMotion-CUKm8_t8.js → usePrefersMotion-Co0nj1eS.js} +3 -1
- package/dist/{usePrinter-CEpYU3r5.js → usePrinter-C4t8DdQ-.js} +3 -8
- package/dist/{useStableElementSize-DCNs0Tx7.js → useStableElementSize-C48ZVcZQ.js} +4 -1
- package/dist/{useSvgExport-ByUukOZt.js → useSvgExport-BTG4hVPO.js} +154 -34
- package/dist/{useTableResponsive-Cbx-ACcP.js → useTableResponsive-BpfiEtzR.js} +7 -3
- package/dist/{useThemeCheck-D1ZYXUwG.js → useThemeCheck-C9Ccl7U9.js} +4 -2
- package/dist/{useTimeLabelCollider-CIsgDrl9.js → useTimeLabelCollider-D3JeJ6Ye.js} +13 -5
- package/dist/{useTimeLabels-C-A2uZKi.js → useTimeLabels-Cv0tD9In.js} +22 -6
- package/dist/{useUserOptionState-BIvW1Kz7.js → useUserOptionState-B7Ej974k.js} +6 -4
- package/dist/utils.js +28 -25
- package/dist/{vue-data-ui-CGsJdqdx.js → vue-data-ui-C0aMSe2G.js} +138 -72
- package/dist/vue-data-ui.js +103 -99
- package/dist/{vue-ui-3d-bar-Bnm0MPNr.js → vue-ui-3d-bar-CzXlsUEJ.js} +328 -101
- package/dist/{vue-ui-accordion-DDuJT1xA.js → vue-ui-accordion-BHmfmb_6.js} +26 -14
- package/dist/{vue-ui-age-pyramid-vvDMkGxw.js → vue-ui-age-pyramid-DMZ9oYFv.js} +180 -73
- package/dist/{vue-ui-annotator-BdmTltyl.js → vue-ui-annotator-Db4eooqI.js} +162 -53
- package/dist/{vue-ui-bullet-CM5pK6Sj.js → vue-ui-bullet-CEH6eppC.js} +92 -35
- package/dist/{vue-ui-bump-DAo_mV8M.js → vue-ui-bump-JbKFEe2A.js} +205 -102
- package/dist/{vue-ui-candlestick-DsiOmaj1.js → vue-ui-candlestick-BX01sTaY.js} +285 -100
- package/dist/{vue-ui-carousel-table-DUl5G_cg.js → vue-ui-carousel-table-BOAti3gd.js} +66 -29
- package/dist/{vue-ui-chestnut-DMMCHoHB.js → vue-ui-chestnut-B0rhAzCA.js} +277 -88
- package/dist/{vue-ui-chord-75V7kRrX.js → vue-ui-chord-DKIHZ39Z.js} +226 -96
- package/dist/{vue-ui-circle-pack-BGXpEnmN.js → vue-ui-circle-pack-Ct2roluW.js} +196 -111
- package/dist/{vue-ui-cursor-BpPe14qk.js → vue-ui-cursor-B3cJoPku.js} +14 -7
- package/dist/{vue-ui-dag-D20FezGN.js → vue-ui-dag-DCq1VMNd.js} +261 -99
- package/dist/{vue-ui-dashboard-BcafQJ1Y.js → vue-ui-dashboard-BqAYr0Fr.js} +261 -94
- package/dist/{vue-ui-digits-gFYVzPkE.js → vue-ui-digits-D16SQQ4M.js} +6 -6
- package/dist/{vue-ui-donut-Cz7rvM7I.js → vue-ui-donut-d0LLrlKG.js} +532 -157
- package/dist/{vue-ui-donut-evolution-Cp0-8Deg.js → vue-ui-donut-evolution-6sMhQduN.js} +311 -92
- package/dist/{vue-ui-dumbbell-D_13qNsV.js → vue-ui-dumbbell-CUybhrwj.js} +266 -93
- package/dist/{vue-ui-flow-BuaVAVvN.js → vue-ui-flow-BZ-9RFsy.js} +121 -48
- package/dist/{vue-ui-funnel-Cv18o2ax.js → vue-ui-funnel-BJgvIvlz.js} +91 -39
- package/dist/{vue-ui-galaxy-n17IGTDo.js → vue-ui-galaxy-DR9WL985.js} +161 -69
- package/dist/{vue-ui-gauge-2bks6sjR.js → vue-ui-gauge-x96W5OPx.js} +95 -37
- package/dist/{vue-ui-geo-D6BoOtIP.js → vue-ui-geo-qTfYs5qi.js} +113 -43
- package/dist/{vue-ui-gizmo-CV07ZThl.js → vue-ui-gizmo-C8HOirN9.js} +25 -12
- package/dist/{vue-ui-heatmap-DfbRacVm.js → vue-ui-heatmap-Cy9o-A7B.js} +316 -125
- package/dist/{vue-ui-history-plot-5sPJfAue.js → vue-ui-history-plot-j0DMfNPJ.js} +186 -73
- package/dist/{vue-ui-horizontal-bar-BhMvbsvs.js → vue-ui-horizontal-bar-CRScV3rx.js} +151 -56
- package/dist/{vue-ui-kpi-P92uuJ_R.js → vue-ui-kpi-CEx3P3Do.js} +35 -14
- package/dist/{vue-ui-mini-loader-DrROXJIX.js → vue-ui-mini-loader-CyDOoarO.js} +17 -11
- package/dist/{vue-ui-molecule-BI6zROGn.js → vue-ui-molecule-B_19tjnI.js} +226 -120
- package/dist/{vue-ui-mood-radar-Byc_xyhw.js → vue-ui-mood-radar-DrkGtt7m.js} +166 -56
- package/dist/{vue-ui-nested-donuts-BZu1ntbw.js → vue-ui-nested-donuts-C3enuKq1.js} +196 -89
- package/dist/{vue-ui-onion-O2tKgfXh.js → vue-ui-onion-DMMLNXVu.js} +155 -74
- package/dist/{vue-ui-parallel-coordinate-plot-CbDGHCzy.js → vue-ui-parallel-coordinate-plot-YokoI6TP.js} +262 -84
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +36 -0
- package/dist/{vue-ui-quadrant-CPgUkle7.js → vue-ui-quadrant-D8vI4gIT.js} +240 -88
- package/dist/{vue-ui-quick-chart-CgDH-APs.js → vue-ui-quick-chart-BdwHAQyA.js} +445 -150
- package/dist/{vue-ui-radar-Belp_vQe.js → vue-ui-radar-DQWyecSD.js} +186 -68
- package/dist/{vue-ui-rating-C1f6x_PD.js → vue-ui-rating-DKmEn0VK.js} +30 -11
- package/dist/{vue-ui-relation-circle-AWRDIZzF.js → vue-ui-relation-circle-XQH3QkrI.js} +119 -45
- package/dist/{vue-ui-ridgeline-Cao4_cEs.js → vue-ui-ridgeline-ksI62sSU.js} +349 -85
- package/dist/{vue-ui-rings-Dl462hDH.js → vue-ui-rings-Dwbo1Fro.js} +179 -81
- package/dist/{vue-ui-scatter-BrVEK5YL.js → vue-ui-scatter-GFzM-YYz.js} +282 -102
- package/dist/{vue-ui-skeleton-BsTtcR3x.js → vue-ui-skeleton-xLPY1FKW.js} +161 -144
- package/dist/{vue-ui-smiley-M5Gn70_Z.js → vue-ui-smiley-BLMl69Ca.js} +28 -17
- package/dist/{vue-ui-spark-trend-CbtI2yPI.js → vue-ui-spark-trend-Bkxd18l5.js} +76 -31
- package/dist/{vue-ui-sparkbar-DgrwoANx.js → vue-ui-sparkbar-D2abFa-u.js} +113 -59
- package/dist/{vue-ui-sparkgauge-CepspA5J.js → vue-ui-sparkgauge-D6IF3ZQR.js} +47 -18
- package/dist/{vue-ui-sparkhistogram-BAVAkN0U.js → vue-ui-sparkhistogram-Dl8WlJLW.js} +145 -60
- package/dist/{vue-ui-sparkline-BMcsfaUW.js → vue-ui-sparkline-BY05SDNv.js} +226 -68
- package/dist/{vue-ui-sparkstackbar-BAzr99-y.js → vue-ui-sparkstackbar-BLFjfklb.js} +84 -36
- package/dist/{vue-ui-stackbar-BnepTc3z.js → vue-ui-stackbar-Dw-CI94e.js} +482 -169
- package/dist/{vue-ui-stackline-p3Utm59w.js → vue-ui-stackline-CkgSbKkp.js} +473 -164
- package/dist/{vue-ui-strip-plot-BfYmPTZT.js → vue-ui-strip-plot-P16Y5yN1.js} +239 -132
- package/dist/{vue-ui-table-BNmt2bQy.js → vue-ui-table-BPLypaeX.js} +339 -122
- package/dist/{vue-ui-table-heatmap-C6rSAGDu.js → vue-ui-table-heatmap-CWp_5d1z.js} +89 -25
- package/dist/{vue-ui-table-sparkline-BMt2q1FS.js → vue-ui-table-sparkline-CpjyrPic.js} +127 -47
- package/dist/{vue-ui-thermometer-Bf22bEzP.js → vue-ui-thermometer-B9nc954A.js} +129 -48
- package/dist/{vue-ui-timer-CkEPkE7B.js → vue-ui-timer-BDfbM4vl.js} +32 -15
- package/dist/{vue-ui-tiremarks-ltmjDwug.js → vue-ui-tiremarks-DHV_oSQ0.js} +90 -35
- package/dist/vue-ui-treemap-DLWOi_EG.js +1748 -0
- package/dist/{vue-ui-waffle-AUF7SKGN.js → vue-ui-waffle-CpNJSzAD.js} +206 -87
- package/dist/{vue-ui-wheel-Dn1nmx7r.js → vue-ui-wheel-DqBmaQ6h.js} +231 -61
- package/dist/{vue-ui-word-cloud-Bll30XSc.js → vue-ui-word-cloud-DexRxuh1.js} +443 -350
- package/dist/vue-ui-world-DAJgtvpz.js +14451 -0
- package/dist/{vue-ui-xy-BGC31q8v.js → vue-ui-xy-Cv-50xHj.js} +840 -252
- package/dist/{vue-ui-xy-canvas-BR-Qogdl.js → vue-ui-xy-canvas-BNUX13xH.js} +448 -159
- package/package.json +120 -119
- package/dist/BaseScanner-BhhkKVoj.js +0 -30
- package/dist/vue-ui-treemap-CGbTrwdn.js +0 -1726
- package/dist/vue-ui-world-CiNUxqIq.js +0 -1011
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineAsyncComponent as R, computed as m, ref as h, toRefs as sl, watch as Fe, shallowRef as xt, onMounted as nl, onBeforeUnmount as rl, openBlock as n, createElementBlock as r, unref as v, normalizeStyle as _, normalizeClass as O, createElementVNode as d, toDisplayString as w, createBlock as B, createCommentVNode as y, withCtx as p, renderSlot as g, normalizeProps as T, guardReactiveProps as q, createSlots as $t, createVNode as de, Fragment as A, renderList as N, mergeProps as kt, Teleport as il, resolveDynamicComponent as vl, createTextVNode as wt, nextTick as Se } from "vue";
|
|
2
|
-
import { j as Lt, t as dl, m as cl, p as Ie, o as hl, q as ae, n as yl, s as bl, ak as fl, k as D, l as H, X as pl, u as _e, v as gl, al as ml, Z as xl, W as $l, a0 as kl, a1 as wl, T as Ll, U as Cl } from "./lib-
|
|
2
|
+
import { j as Lt, t as dl, m as cl, p as Ie, o as hl, q as ae, n as yl, s as bl, ak as fl, k as D, l as H, X as pl, u as _e, v as gl, al as ml, Z as xl, W as $l, a0 as kl, a1 as wl, T as Ll, U as Cl } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as Sl, u as _l } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Tl } from "./useConfig-
|
|
5
|
-
import { u as ql, B as Al } from "./BaseScanner-
|
|
6
|
-
import { u as zl } from "./usePrinter-
|
|
7
|
-
import { u as Wl } from "./useSvgExport-
|
|
8
|
-
import { u as Xl } from "./useThemeCheck-
|
|
9
|
-
import { u as Re } from "./useNestedProp-
|
|
10
|
-
import { u as Pl } from "./useUserOptionState-
|
|
11
|
-
import { u as Yl } from "./useChartAccessibility-
|
|
12
|
-
import Ml from "./img-
|
|
13
|
-
import Ol from "./Title-
|
|
14
|
-
import { _ as Ct } from "./Shape-
|
|
4
|
+
import { u as Tl } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as ql, B as Al } from "./BaseScanner-BON3d_Sx.js";
|
|
6
|
+
import { u as zl } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
+
import { u as Wl } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as Xl } from "./useThemeCheck-C9Ccl7U9.js";
|
|
9
|
+
import { u as Re } from "./useNestedProp-DH0BEVVS.js";
|
|
10
|
+
import { u as Pl } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
+
import { u as Yl } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
+
import Ml from "./img-CjTQXS0U.js";
|
|
13
|
+
import Ol from "./Title-BbKoiBk2.js";
|
|
14
|
+
import { _ as Ct } from "./Shape-CxJ5_Rre.js";
|
|
15
15
|
import Bl from "./vue_ui_quadrant-DjRs--Uz.js";
|
|
16
|
-
import Nl from "./Legend-
|
|
17
|
-
import { A as Vl } from "./A11yDataTable-
|
|
18
|
-
import { B as Fl } from "./BaseLegendToggle-
|
|
16
|
+
import Nl from "./Legend-DGN5lY60.js";
|
|
17
|
+
import { A as Vl } from "./A11yDataTable-BpmuNomI.js";
|
|
18
|
+
import { B as Fl } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
19
19
|
import { _ as Il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
20
|
const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative" } }, Ul = ["xmlns", "aria-describedby", "viewBox", "id"], Ql = ["x", "y", "width", "height"], Gl = ["id"], Kl = ["stop-color"], jl = ["stop-color"], Jl = { key: 1 }, Zl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], ea = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ta = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], la = { key: 2 }, aa = ["points", "fill"], oa = ["points", "fill"], ua = ["points", "fill"], sa = ["points", "fill"], na = { key: 3 }, ra = ["y", "fill", "font-size"], ia = ["x", "y", "fill", "font-size"], va = ["x", "y", "fill", "font-size"], da = ["y", "fill", "font-size"], ca = { key: 4 }, ha = ["x", "y", "font-size", "fill"], ya = ["x", "y", "font-size", "fill"], ba = ["x", "y", "font-size", "fill"], fa = ["id", "font-size", "transform", "fill"], pa = ["id", "font-size", "transform", "fill"], ga = ["id", "font-size", "transform", "fill"], ma = { key: 5 }, xa = ["fill", "points"], $a = ["x", "y", "width", "height"], ka = ["x", "y", "width", "height"], wa = ["x", "y", "width", "height"], La = ["x", "y", "width", "height"], Ca = ["x", "y", "onMouseenter", "onMouseleave", "onClick"], Sa = ["data-a11y-plot-id", "cx", "cy", "r", "aria-label"], _a = ["data-a11y-plot-id", "cx", "cy", "r", "aria-label"], Ta = {
|
|
21
21
|
key: 0,
|
|
@@ -52,9 +52,24 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
emits: [
|
|
55
|
+
emits: [
|
|
56
|
+
"selectPlot",
|
|
57
|
+
"selectSide",
|
|
58
|
+
"selectLegend",
|
|
59
|
+
"copyAlt"
|
|
60
|
+
],
|
|
56
61
|
setup(St, { expose: _t, emit: Tt }) {
|
|
57
|
-
const qt = R(() => import("./Tooltip-
|
|
62
|
+
const qt = R(() => import("./Tooltip-Cvt7Fi0Q.js")), At = R(() => import("./BaseIcon-DX0hTWa-.js")), zt = R(() => import("./vue-ui-accordion-BHmfmb_6.js")), Wt = R(() => import("./DataTable-cMnb68Ik.js")), Xt = R(
|
|
63
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
64
|
+
), Pt = R(
|
|
65
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
66
|
+
), Yt = R(
|
|
67
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
68
|
+
), Mt = R(
|
|
69
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
70
|
+
), { vue_ui_quadrant: Ot } = Tl(), { isThemeValid: Bt, warnInvalidTheme: Nt } = Xl(), M = St, De = m(() => !!M.dataset && M.dataset.length), $ = h(Lt()), ce = Tt, he = h(!1), Te = h(""), He = h(0), x = h(!1), V = h(null), Ee = h(null), Ue = h(null), Qe = h(null), Ge = h(null), Ke = h(0), je = h(0), Je = h(0), Ze = h(!1), oe = h(null), qe = h(null), ye = h(!1), be = h(!1), j = h(null), fe = h(null), et = h({ x: 0, y: 0 }), Ae = h("pointer"), pe = h(!1), e = h(We()), X = m(
|
|
71
|
+
() => e.value.userOptions.useCursorPointer
|
|
72
|
+
), Vt = m(() => ({
|
|
58
73
|
defaultConfig: {
|
|
59
74
|
userOptions: { show: !1 },
|
|
60
75
|
table: { show: !1 },
|
|
@@ -126,7 +141,9 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
126
141
|
defaultConfig: e.value,
|
|
127
142
|
userConfig: Vt.value
|
|
128
143
|
})
|
|
129
|
-
}), { userOptionsVisible: ze, setUserOptionsVisibility: lt, keepUserOptionState: at } = Pl({ config: e.value }), { svgRef: E } = Yl({
|
|
144
|
+
}), { userOptionsVisible: ze, setUserOptionsVisibility: lt, keepUserOptionState: at } = Pl({ config: e.value }), { svgRef: E } = Yl({
|
|
145
|
+
config: e.value.style.chart.title
|
|
146
|
+
});
|
|
130
147
|
function We() {
|
|
131
148
|
const l = Re({
|
|
132
149
|
userConfig: M.config,
|
|
@@ -147,9 +164,13 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
147
164
|
customPalette: s.customPalette.length ? s.customPalette : cl[o] || Ie
|
|
148
165
|
};
|
|
149
166
|
}
|
|
150
|
-
Fe(
|
|
151
|
-
|
|
152
|
-
|
|
167
|
+
Fe(
|
|
168
|
+
() => M.config,
|
|
169
|
+
(l) => {
|
|
170
|
+
e.value = We(), ze.value = !e.value.userOptions.showOnChartHover, ot(), Ke.value += 1, je.value += 1, Je.value += 1, k.value.plotLabels.show = e.value.style.chart.layout.labels.plotLabels.show, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
171
|
+
},
|
|
172
|
+
{ deep: !0 }
|
|
173
|
+
);
|
|
153
174
|
const F = xt(null), J = xt(null), Z = m(() => e.value.debug);
|
|
154
175
|
function ot() {
|
|
155
176
|
if (hl(M.dataset) ? ae({
|
|
@@ -227,13 +248,17 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
227
248
|
startX: 0,
|
|
228
249
|
startY: 0
|
|
229
250
|
});
|
|
230
|
-
Fe(
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
251
|
+
Fe(
|
|
252
|
+
() => t.value,
|
|
253
|
+
(l) => {
|
|
254
|
+
l && (b.value = {
|
|
255
|
+
...JSON.parse(JSON.stringify(t.value)),
|
|
256
|
+
startX: 0,
|
|
257
|
+
startY: 0
|
|
258
|
+
});
|
|
259
|
+
},
|
|
260
|
+
{ deep: !0 }
|
|
261
|
+
);
|
|
237
262
|
const f = h(null), U = m(() => {
|
|
238
263
|
switch (f.value) {
|
|
239
264
|
case "TL":
|
|
@@ -273,7 +298,14 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
273
298
|
bold: e.value.style.chart.layout.labels.quadrantLabels.bl.bold
|
|
274
299
|
};
|
|
275
300
|
default:
|
|
276
|
-
return {
|
|
301
|
+
return {
|
|
302
|
+
x: 0,
|
|
303
|
+
y: 0,
|
|
304
|
+
text: "",
|
|
305
|
+
fontSize: 0,
|
|
306
|
+
fill: "none",
|
|
307
|
+
bold: !1
|
|
308
|
+
};
|
|
277
309
|
}
|
|
278
310
|
}), It = h(null), me = h(!1);
|
|
279
311
|
function ue({ targetX: l, targetY: o, targetW: a, targetH: s, side: u }) {
|
|
@@ -357,7 +389,15 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
357
389
|
return s;
|
|
358
390
|
}), z = m(() => {
|
|
359
391
|
let l = e.value.style.chart.layout.grid.xAxis.max, o = e.value.style.chart.layout.grid.xAxis.min, a = e.value.style.chart.layout.grid.yAxis.max, s = e.value.style.chart.layout.grid.yAxis.min;
|
|
360
|
-
return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(
|
|
392
|
+
return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(
|
|
393
|
+
...ee.value.flatMap((u) => u.series.map((i) => i.x))
|
|
394
|
+
), o = Math.min(
|
|
395
|
+
...ee.value.flatMap((u) => u.series.map((i) => i.x))
|
|
396
|
+
)), e.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(
|
|
397
|
+
...ee.value.flatMap((u) => u.series.map((i) => i.y))
|
|
398
|
+
), s = Math.min(
|
|
399
|
+
...ee.value.flatMap((u) => u.series.map((i) => i.y))
|
|
400
|
+
)), {
|
|
361
401
|
x: {
|
|
362
402
|
max: l,
|
|
363
403
|
min: o
|
|
@@ -367,15 +407,17 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
367
407
|
min: s
|
|
368
408
|
}
|
|
369
409
|
};
|
|
370
|
-
}), C = h([]), ee = m(
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
410
|
+
}), C = h([]), ee = m(
|
|
411
|
+
() => tt.value.map((l, o) => ({
|
|
412
|
+
...l,
|
|
413
|
+
series: fl({
|
|
414
|
+
data: l.series,
|
|
415
|
+
threshold: e.value.downsample.threshold
|
|
416
|
+
}),
|
|
417
|
+
id: `cat_${o}_${$.value}`,
|
|
418
|
+
color: bl(l.color) || nt.value[o] || Ie[o]
|
|
419
|
+
}))
|
|
420
|
+
), Ye = m(() => ee.value.filter((l) => !C.value.includes(l.id))), Dt = m(() => ee.value.map((l, o) => ({
|
|
379
421
|
...l,
|
|
380
422
|
shape: l.shape || "circle",
|
|
381
423
|
series: l.series.map((a) => ({
|
|
@@ -452,7 +494,19 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
452
494
|
sideName: e.value.style.chart.layout.labels.quadrantLabels[Y.quadrantSide].text,
|
|
453
495
|
color: c.color,
|
|
454
496
|
shape: c.shape
|
|
455
|
-
}))), o = e.value.style.chart.layout.grid.xAxis.name || "x", a = e.value.style.chart.layout.grid.yAxis.name || "y", s = [
|
|
497
|
+
}))), o = e.value.style.chart.layout.grid.xAxis.name || "x", a = e.value.style.chart.layout.grid.yAxis.name || "y", s = [
|
|
498
|
+
e.value.translations.category,
|
|
499
|
+
e.value.translations.item,
|
|
500
|
+
o,
|
|
501
|
+
a,
|
|
502
|
+
e.value.translations.side
|
|
503
|
+
], u = l.map((c) => [
|
|
504
|
+
c.category,
|
|
505
|
+
c.name,
|
|
506
|
+
c.x,
|
|
507
|
+
c.y,
|
|
508
|
+
c.sideName || c.quadrantSide
|
|
509
|
+
]), i = l.map((c) => ({
|
|
456
510
|
shape: c.shape,
|
|
457
511
|
color: c.color
|
|
458
512
|
}));
|
|
@@ -567,7 +621,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
567
621
|
};
|
|
568
622
|
}
|
|
569
623
|
function ke(l, o, a, s = "pointer", u = null) {
|
|
570
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
624
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
625
|
+
datapoint: o,
|
|
626
|
+
seriesIndex: a
|
|
627
|
+
}), G.value = o.uid, ne.value = {
|
|
571
628
|
color: l.color,
|
|
572
629
|
shape: l.shape
|
|
573
630
|
}, Ae.value = s, j.value = u, fe.value = o.uid, $e.value = {
|
|
@@ -577,12 +634,14 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
577
634
|
config: e.value
|
|
578
635
|
};
|
|
579
636
|
const i = e.value.style.chart.tooltip.customFormat;
|
|
580
|
-
if (Ll(i) && Cl(
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
637
|
+
if (Ll(i) && Cl(
|
|
638
|
+
() => i({
|
|
639
|
+
seriesIndex: a,
|
|
640
|
+
datapoint: o,
|
|
641
|
+
series: W.value,
|
|
642
|
+
config: e.value
|
|
643
|
+
})
|
|
644
|
+
))
|
|
586
645
|
Te.value = i({
|
|
587
646
|
seriesIndex: a,
|
|
588
647
|
datapoint: o,
|
|
@@ -614,10 +673,16 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
614
673
|
}), he.value = !0;
|
|
615
674
|
}
|
|
616
675
|
function Oe(l, o) {
|
|
617
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
676
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
677
|
+
datapoint: l,
|
|
678
|
+
seriesIndex: o
|
|
679
|
+
}), !(fe.value === l.uid && Ae.value === "keyboard") && (he.value = !1, G.value = null, ne.value = null);
|
|
618
680
|
}
|
|
619
681
|
function we(l, o, a) {
|
|
620
|
-
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
682
|
+
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
683
|
+
datapoint: o,
|
|
684
|
+
seriesIndex: a
|
|
685
|
+
});
|
|
621
686
|
const s = {
|
|
622
687
|
category: l.name,
|
|
623
688
|
shape: l.shape,
|
|
@@ -631,12 +696,14 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
631
696
|
}
|
|
632
697
|
function re(l) {
|
|
633
698
|
if (!l) return;
|
|
634
|
-
const o = W.value.flatMap(
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
699
|
+
const o = W.value.flatMap(
|
|
700
|
+
(s) => s.series.filter((u) => u.quadrantSide === l).map((u) => ({
|
|
701
|
+
category: u.categoryName,
|
|
702
|
+
itemName: u.name,
|
|
703
|
+
x: u.xValue,
|
|
704
|
+
y: u.yValue
|
|
705
|
+
}))
|
|
706
|
+
), a = {
|
|
640
707
|
quadrantSide: l,
|
|
641
708
|
sideName: e.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
642
709
|
items: [...o]
|
|
@@ -765,8 +832,15 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
765
832
|
}
|
|
766
833
|
function Be(l = null) {
|
|
767
834
|
Se(() => {
|
|
768
|
-
const o = [
|
|
769
|
-
|
|
835
|
+
const o = [
|
|
836
|
+
[e.value.style.chart.title.text],
|
|
837
|
+
[e.value.style.chart.title.subtitle.text],
|
|
838
|
+
[""]
|
|
839
|
+
], a = xe.value.head, s = xe.value.body, u = o.concat([a]).concat(s), i = kl(u);
|
|
840
|
+
l ? l(i) : wl({
|
|
841
|
+
csvContent: i,
|
|
842
|
+
title: e.value.style.chart.title.text || "vue-ui-quadrant"
|
|
843
|
+
});
|
|
770
844
|
});
|
|
771
845
|
}
|
|
772
846
|
const K = h(!1);
|
|
@@ -788,7 +862,12 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
788
862
|
}
|
|
789
863
|
async function Kt({ scale: l = 2 } = {}) {
|
|
790
864
|
if (!V.value) return;
|
|
791
|
-
const { width: o, height: a } = V.value.getBoundingClientRect(), s = o / a, { imageUri: u, base64: i } = await Ml({
|
|
865
|
+
const { width: o, height: a } = V.value.getBoundingClientRect(), s = o / a, { imageUri: u, base64: i } = await Ml({
|
|
866
|
+
domElement: V.value,
|
|
867
|
+
base64: !0,
|
|
868
|
+
img: !0,
|
|
869
|
+
scale: l
|
|
870
|
+
});
|
|
792
871
|
return {
|
|
793
872
|
imageUri: u,
|
|
794
873
|
base64: i,
|
|
@@ -829,9 +908,12 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
829
908
|
}
|
|
830
909
|
};
|
|
831
910
|
});
|
|
832
|
-
Fe(
|
|
833
|
-
|
|
834
|
-
|
|
911
|
+
Fe(
|
|
912
|
+
() => k.value.showTable,
|
|
913
|
+
(l) => {
|
|
914
|
+
e.value.table.show || (l && e.value.table.useDialog && oe.value ? oe.value.open() : "close" in oe.value && oe.value.close());
|
|
915
|
+
}
|
|
916
|
+
);
|
|
835
917
|
function pt() {
|
|
836
918
|
k.value.showTable = !1, qe.value && qe.value.setTableIconState(!1);
|
|
837
919
|
}
|
|
@@ -847,7 +929,14 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
847
929
|
try {
|
|
848
930
|
if (l) {
|
|
849
931
|
const { blob: o, url: a, text: s, dataUrl: u } = await tl();
|
|
850
|
-
await Promise.resolve(
|
|
932
|
+
await Promise.resolve(
|
|
933
|
+
e.value.userOptions.callbacks.svg({
|
|
934
|
+
blob: o,
|
|
935
|
+
url: a,
|
|
936
|
+
text: s,
|
|
937
|
+
dataUrl: u
|
|
938
|
+
})
|
|
939
|
+
);
|
|
851
940
|
} else
|
|
852
941
|
await Promise.resolve(el());
|
|
853
942
|
} finally {
|
|
@@ -870,13 +959,17 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
870
959
|
config: e.value,
|
|
871
960
|
dataset: Ye.value
|
|
872
961
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
873
|
-
console.warn(
|
|
962
|
+
console.warn(
|
|
963
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
964
|
+
);
|
|
874
965
|
return;
|
|
875
966
|
}
|
|
876
|
-
await Promise.resolve(
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
967
|
+
await Promise.resolve(
|
|
968
|
+
e.value.userOptions.callbacks.altCopy({
|
|
969
|
+
config: e.value,
|
|
970
|
+
dataset: Ye.value
|
|
971
|
+
})
|
|
972
|
+
);
|
|
880
973
|
}
|
|
881
974
|
function al() {
|
|
882
975
|
j.value = null, fe.value = null, pe.value = !0;
|
|
@@ -887,7 +980,8 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
887
980
|
function ul(l) {
|
|
888
981
|
if (!E.value || ie.value || document.activeElement !== E.value || !P.value.length) return;
|
|
889
982
|
const o = l.key === "ArrowLeft" || l.key === "ArrowUp", a = l.key === "ArrowRight" || l.key === "ArrowDown", s = l.key === "Enter" || l.key === " ", u = l.key === "Escape";
|
|
890
|
-
if (!o && !a && !s && !u)
|
|
983
|
+
if (!o && !a && !s && !u)
|
|
984
|
+
return;
|
|
891
985
|
if (l.preventDefault(), l.stopPropagation(), u) {
|
|
892
986
|
Me();
|
|
893
987
|
return;
|
|
@@ -900,10 +994,18 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
900
994
|
return;
|
|
901
995
|
}
|
|
902
996
|
let i = j.value;
|
|
903
|
-
const c = G.value ? P.value.findIndex(
|
|
997
|
+
const c = G.value ? P.value.findIndex(
|
|
998
|
+
(le) => le.plot.uid === G.value
|
|
999
|
+
) : null, Y = i !== null && i >= 0 && i < P.value.length, Le = c !== null && c >= 0 && c < P.value.length;
|
|
904
1000
|
Y ? (i += a ? 1 : -1, i < 0 && (i = P.value.length - 1), i >= P.value.length && (i = 0)) : Le ? (i = a ? c + 1 : c - 1, i >= P.value.length && (i = 0), i < 0 && (i = P.value.length - 1)) : a ? i = 0 : i = P.value.length - 1;
|
|
905
1001
|
const Ce = P.value[i];
|
|
906
|
-
Ce && ke(
|
|
1002
|
+
Ce && ke(
|
|
1003
|
+
Ce.category,
|
|
1004
|
+
Ce.plot,
|
|
1005
|
+
Ce.categoryIndex,
|
|
1006
|
+
"keyboard",
|
|
1007
|
+
i
|
|
1008
|
+
);
|
|
907
1009
|
}
|
|
908
1010
|
const Ve = m(() => {
|
|
909
1011
|
const l = te.value?.colNames ?? [], o = te.value?.a11yBody ?? [];
|
|
@@ -1139,7 +1241,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1139
1241
|
ref: E,
|
|
1140
1242
|
xmlns: v(pl),
|
|
1141
1243
|
"aria-describedby": `chart-instructions-${$.value}`,
|
|
1142
|
-
class: O({
|
|
1244
|
+
class: O({
|
|
1245
|
+
"vue-data-ui-fullscreen--on": K.value,
|
|
1246
|
+
"vue-data-ui-fulscreen--off": !K.value
|
|
1247
|
+
}),
|
|
1143
1248
|
viewBox: `${b.value.startX} ${b.value.startY} ${b.value.width} ${b.value.height}`,
|
|
1144
1249
|
style: _(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
|
|
1145
1250
|
id: `svg_${$.value}`,
|
|
@@ -1172,17 +1277,26 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1172
1277
|
}, [
|
|
1173
1278
|
d("stop", {
|
|
1174
1279
|
offset: "0%",
|
|
1175
|
-
"stop-color": v(_e)(
|
|
1280
|
+
"stop-color": v(_e)(
|
|
1281
|
+
v(gl)(a.color, 0.05),
|
|
1282
|
+
e.value.style.chart.layout.areas.opacity
|
|
1283
|
+
)
|
|
1176
1284
|
}, null, 8, Kl),
|
|
1177
1285
|
d("stop", {
|
|
1178
1286
|
offset: "100%",
|
|
1179
|
-
"stop-color": v(_e)(
|
|
1287
|
+
"stop-color": v(_e)(
|
|
1288
|
+
a.color,
|
|
1289
|
+
e.value.style.chart.layout.areas.opacity
|
|
1290
|
+
)
|
|
1180
1291
|
}, null, 8, jl)
|
|
1181
1292
|
], 8, Gl))), 256))
|
|
1182
1293
|
]),
|
|
1183
1294
|
e.value.style.chart.layout.grid.graduations.show ? (n(), r("g", Jl, [
|
|
1184
1295
|
(n(!0), r(A, null, N(Rt.value, (a) => (n(), r("rect", {
|
|
1185
|
-
fill: e.value.style.chart.layout.grid.graduations.fill ? v(_e)(
|
|
1296
|
+
fill: e.value.style.chart.layout.grid.graduations.fill ? v(_e)(
|
|
1297
|
+
e.value.style.chart.layout.grid.graduations.color,
|
|
1298
|
+
a.opacity
|
|
1299
|
+
) : "none",
|
|
1186
1300
|
x: a.x,
|
|
1187
1301
|
y: a.y,
|
|
1188
1302
|
height: a.height <= 0 ? 1e-3 : a.height,
|
|
@@ -1349,7 +1463,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1349
1463
|
a.series.length > 2 ? (n(), r("polygon", {
|
|
1350
1464
|
key: 0,
|
|
1351
1465
|
"data-cy-quadrant-area": "",
|
|
1352
|
-
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${$.value}_${s})` : v(_e)(
|
|
1466
|
+
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${$.value}_${s})` : v(_e)(
|
|
1467
|
+
a.color,
|
|
1468
|
+
e.value.style.chart.layout.areas.opacity
|
|
1469
|
+
),
|
|
1353
1470
|
points: v(ml)(a)
|
|
1354
1471
|
}, null, 8, xa)) : y("", !0)
|
|
1355
1472
|
]))), 256))
|
|
@@ -1362,7 +1479,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1362
1479
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1363
1480
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1364
1481
|
fill: "transparent",
|
|
1365
|
-
class: O({
|
|
1482
|
+
class: O({
|
|
1483
|
+
"vue-data-ui-zoom-plus": !x.value,
|
|
1484
|
+
"vue-data-ui-zoom-minus": x.value
|
|
1485
|
+
})
|
|
1366
1486
|
}, null, 10, $a),
|
|
1367
1487
|
d("rect", {
|
|
1368
1488
|
onClick: o[5] || (o[5] = (a) => I("TR")),
|
|
@@ -1371,7 +1491,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1371
1491
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1372
1492
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1373
1493
|
fill: "transparent",
|
|
1374
|
-
class: O({
|
|
1494
|
+
class: O({
|
|
1495
|
+
"vue-data-ui-zoom-plus": !x.value,
|
|
1496
|
+
"vue-data-ui-zoom-minus": x.value
|
|
1497
|
+
})
|
|
1375
1498
|
}, null, 10, ka),
|
|
1376
1499
|
d("rect", {
|
|
1377
1500
|
onClick: o[6] || (o[6] = (a) => I("BR")),
|
|
@@ -1380,7 +1503,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1380
1503
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1381
1504
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1382
1505
|
fill: "transparent",
|
|
1383
|
-
class: O({
|
|
1506
|
+
class: O({
|
|
1507
|
+
"vue-data-ui-zoom-plus": !x.value,
|
|
1508
|
+
"vue-data-ui-zoom-minus": x.value
|
|
1509
|
+
})
|
|
1384
1510
|
}, null, 10, wa),
|
|
1385
1511
|
d("rect", {
|
|
1386
1512
|
onClick: o[7] || (o[7] = (a) => I("BL")),
|
|
@@ -1389,7 +1515,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1389
1515
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1390
1516
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1391
1517
|
fill: "transparent",
|
|
1392
|
-
class: O({
|
|
1518
|
+
class: O({
|
|
1519
|
+
"vue-data-ui-zoom-plus": !x.value,
|
|
1520
|
+
"vue-data-ui-zoom-minus": x.value
|
|
1521
|
+
})
|
|
1393
1522
|
}, null, 10, La)
|
|
1394
1523
|
]),
|
|
1395
1524
|
e.value.style.chart.layout.labels.plotLabels.showAsTag ? (n(), r(A, { key: 7 }, [
|
|
@@ -1432,7 +1561,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1432
1561
|
"data-a11y-plot-id": u.uid,
|
|
1433
1562
|
cx: u.x,
|
|
1434
1563
|
cy: u.y,
|
|
1435
|
-
r: Math.max(
|
|
1564
|
+
r: Math.max(
|
|
1565
|
+
e.value.style.chart.layout.plots.radius / (x.value ? 1.5 : 1),
|
|
1566
|
+
10
|
|
1567
|
+
),
|
|
1436
1568
|
fill: "transparent",
|
|
1437
1569
|
"aria-label": `${a.name} ${u.name}: ${e.value.style.chart.layout.grid.xAxis.name || "x"} ${u.xValue}, ${e.value.style.chart.layout.grid.yAxis.name || "y"} ${u.yValue}`,
|
|
1438
1570
|
style: { "pointer-events": "none" }
|
|
@@ -1457,7 +1589,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1457
1589
|
"data-a11y-plot-id": u.uid,
|
|
1458
1590
|
cx: u.x,
|
|
1459
1591
|
cy: u.y,
|
|
1460
|
-
r: Math.max(
|
|
1592
|
+
r: Math.max(
|
|
1593
|
+
e.value.style.chart.layout.plots.radius / (x.value ? 1.5 : 1),
|
|
1594
|
+
10
|
|
1595
|
+
),
|
|
1461
1596
|
fill: "transparent",
|
|
1462
1597
|
"aria-label": `${a.name} ${u.name}: ${e.value.style.chart.layout.grid.xAxis.name || "x"} ${u.xValue}, ${e.value.style.chart.layout.grid.yAxis.name || "y"} ${u.yValue}`,
|
|
1463
1598
|
style: { "pointer-events": "none" }
|
|
@@ -1539,7 +1674,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1539
1674
|
fill: S.value[f.value].tl.fill,
|
|
1540
1675
|
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "TL" ? 1 : 0.2}`),
|
|
1541
1676
|
onClick: o[8] || (o[8] = (a) => I("TL")),
|
|
1542
|
-
class: O({
|
|
1677
|
+
class: O({
|
|
1678
|
+
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1679
|
+
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "TL"
|
|
1680
|
+
})
|
|
1543
1681
|
}, null, 14, Fa),
|
|
1544
1682
|
d("rect", {
|
|
1545
1683
|
x: S.value[f.value].tr.x,
|
|
@@ -1549,7 +1687,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1549
1687
|
fill: S.value[f.value].tr.fill,
|
|
1550
1688
|
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "TR" ? 1 : 0.2}`),
|
|
1551
1689
|
onClick: o[9] || (o[9] = (a) => I("TR")),
|
|
1552
|
-
class: O({
|
|
1690
|
+
class: O({
|
|
1691
|
+
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1692
|
+
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "TR"
|
|
1693
|
+
})
|
|
1553
1694
|
}, null, 14, Ia),
|
|
1554
1695
|
d("rect", {
|
|
1555
1696
|
x: S.value[f.value].br.x,
|
|
@@ -1559,7 +1700,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1559
1700
|
fill: S.value[f.value].br.fill,
|
|
1560
1701
|
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "BR" ? 1 : 0.2}`),
|
|
1561
1702
|
onClick: o[10] || (o[10] = (a) => I("BR")),
|
|
1562
|
-
class: O({
|
|
1703
|
+
class: O({
|
|
1704
|
+
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1705
|
+
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "BR"
|
|
1706
|
+
})
|
|
1563
1707
|
}, null, 14, Ra),
|
|
1564
1708
|
d("rect", {
|
|
1565
1709
|
x: S.value[f.value].bl.x,
|
|
@@ -1569,7 +1713,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1569
1713
|
fill: S.value[f.value].bl.fill,
|
|
1570
1714
|
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "BL" ? 1 : 0.2}`),
|
|
1571
1715
|
onClick: o[11] || (o[11] = (a) => I("BL")),
|
|
1572
|
-
class: O({
|
|
1716
|
+
class: O({
|
|
1717
|
+
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1718
|
+
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "BL"
|
|
1719
|
+
})
|
|
1573
1720
|
}, null, 14, Da),
|
|
1574
1721
|
d("path", {
|
|
1575
1722
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
@@ -1593,11 +1740,16 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1593
1740
|
}, void 0, !0)
|
|
1594
1741
|
], 46, Ul)),
|
|
1595
1742
|
l.$slots.hint ? (n(), r("div", Ua, [
|
|
1596
|
-
g(l.$slots, "hint", T(q({
|
|
1743
|
+
g(l.$slots, "hint", T(q({
|
|
1744
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1745
|
+
isVisible: pe.value
|
|
1746
|
+
})), void 0, !0)
|
|
1597
1747
|
])) : y("", !0)
|
|
1598
1748
|
]),
|
|
1599
1749
|
l.$slots.watermark ? (n(), r("div", Qa, [
|
|
1600
|
-
g(l.$slots, "watermark", T(q({
|
|
1750
|
+
g(l.$slots, "watermark", T(q({
|
|
1751
|
+
isPrinting: v(Xe) || v(Pe) || ye.value || be.value
|
|
1752
|
+
})), void 0, !0)
|
|
1601
1753
|
])) : y("", !0),
|
|
1602
1754
|
d("div", {
|
|
1603
1755
|
id: `legend-bottom-${$.value}`
|
|
@@ -1756,7 +1908,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1756
1908
|
], !0)
|
|
1757
1909
|
], 46, Rl));
|
|
1758
1910
|
}
|
|
1759
|
-
}, xo = /* @__PURE__ */ Il(Za, [["__scopeId", "data-v-
|
|
1911
|
+
}, xo = /* @__PURE__ */ Il(Za, [["__scopeId", "data-v-259d20c0"]]);
|
|
1760
1912
|
export {
|
|
1761
1913
|
xo as default
|
|
1762
1914
|
};
|