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,22 +1,22 @@
|
|
|
1
1
|
import { defineAsyncComponent as H, computed as p, ref as c, toRefs as sa, watch as he, shallowRef as ct, onMounted as na, onBeforeUnmount as ia, watchEffect as ua, openBlock as n, createElementBlock as r, unref as v, normalizeStyle as _, normalizeClass as oe, createElementVNode as S, toDisplayString as V, createBlock as z, createCommentVNode as y, withCtx as f, renderSlot as h, normalizeProps as A, guardReactiveProps as $, createSlots as vt, createVNode as Se, Fragment as M, renderList as D, Teleport as ra, resolveDynamicComponent as ca, mergeProps as va, createTextVNode as dt, nextTick as Me } from "vue";
|
|
2
|
-
import { j as ze, t as ht, m as da, p as pe, o as pt, q as ft, r as ha, n as pa, s as fa, D as ya, b as ma, c as ga, aj as ba, X as ka, Z as xa, T as yt, a2 as fe, a0 as Ca, a1 as wa, k as mt, l as gt, U as Aa, a3 as $a } from "./lib-
|
|
2
|
+
import { j as ze, t as ht, m as da, p as pe, o as pt, q as ft, r as ha, n as pa, s as fa, D as ya, b as ma, c as ga, aj as ba, X as ka, Z as xa, T as yt, a2 as fe, a0 as Ca, a1 as wa, k as mt, l as gt, U as Aa, a3 as $a } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as bt, u as Ta } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Pa } from "./useConfig-
|
|
5
|
-
import { u as Ia } from "./usePrinter-
|
|
6
|
-
import { u as Sa, B as Ma } from "./BaseScanner-
|
|
7
|
-
import { u as za } from "./useSvgExport-
|
|
8
|
-
import { u as Ne } from "./useNestedProp-
|
|
9
|
-
import { u as Na } from "./useThemeCheck-
|
|
10
|
-
import { u as Fa } from "./useUserOptionState-
|
|
11
|
-
import { u as La } from "./useChartAccessibility-
|
|
12
|
-
import { u as _a } from "./useTimeLabelCollider-
|
|
4
|
+
import { u as Pa } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as Ia } from "./usePrinter-C4t8DdQ-.js";
|
|
6
|
+
import { u as Sa, B as Ma } from "./BaseScanner-BON3d_Sx.js";
|
|
7
|
+
import { u as za } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as Ne } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
+
import { u as Na } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
+
import { u as Fa } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
+
import { u as La } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
+
import { u as _a } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
13
13
|
import Oa from "./vue_ui_parallel_coordinate_plot-DH3cFJ3n.js";
|
|
14
|
-
import Da from "./Title-
|
|
15
|
-
import Ra from "./Legend-
|
|
16
|
-
import { _ as Ba } from "./Shape-
|
|
17
|
-
import Ea from "./img-
|
|
18
|
-
import { A as Ua } from "./A11yDataTable-
|
|
19
|
-
import { B as Ha } from "./BaseLegendToggle-
|
|
14
|
+
import Da from "./Title-BbKoiBk2.js";
|
|
15
|
+
import Ra from "./Legend-DGN5lY60.js";
|
|
16
|
+
import { _ as Ba } from "./Shape-CxJ5_Rre.js";
|
|
17
|
+
import Ea from "./img-CjTQXS0U.js";
|
|
18
|
+
import { A as Ua } from "./A11yDataTable-BpmuNomI.js";
|
|
19
|
+
import { B as Ha } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
20
20
|
import { _ as Va } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
21
21
|
const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative" } }, Ka = ["xmlns", "aria-describedby", "viewBox"], Ya = ["x", "y", "width", "height"], qa = { style: { "pointer-events": "none" } }, Za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qa = { key: 0 }, el = ["x", "y", "fill", "font-size", "font-weight"], tl = ["fill", "font-size", "font-weight", "text-anchor", "transform"], al = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], ll = { key: 0 }, ol = ["x", "y", "font-size", "fill"], sl = ["width", "x", "y"], nl = { style: { width: "100%" } }, il = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], ul = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], rl = ["d", "onMouseenter", "onMouseleave", "onClick"], cl = {
|
|
22
22
|
key: 0,
|
|
@@ -44,7 +44,15 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
44
44
|
},
|
|
45
45
|
emits: ["selectLegend", "selectDatapoint", "copyAlt"],
|
|
46
46
|
setup(kt, { expose: xt, emit: Ct }) {
|
|
47
|
-
const wt = H(() => import("./Tooltip-
|
|
47
|
+
const wt = H(() => import("./Tooltip-Cvt7Fi0Q.js")), At = H(() => import("./BaseIcon-DX0hTWa-.js")), $t = H(() => import("./vue-ui-accordion-BHmfmb_6.js")), Tt = H(() => import("./DataTable-cMnb68Ik.js")), Pt = H(
|
|
48
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
49
|
+
), It = H(
|
|
50
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
51
|
+
), St = H(
|
|
52
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
53
|
+
), Mt = H(
|
|
54
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
55
|
+
), { vue_ui_parallel_coordinate_plot: zt } = Pa(), { isThemeValid: Nt, warnInvalidTheme: Ft } = Na(), T = kt, se = p({
|
|
48
56
|
get() {
|
|
49
57
|
return !!T.dataset && T.dataset.length;
|
|
50
58
|
},
|
|
@@ -55,7 +63,9 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
55
63
|
function Ve(t) {
|
|
56
64
|
W.value = t, Fe.value += 1;
|
|
57
65
|
}
|
|
58
|
-
const e = c(xe()), j = p(
|
|
66
|
+
const e = c(xe()), j = p(
|
|
67
|
+
() => e.value.userOptions.useCursorPointer
|
|
68
|
+
), Lt = p(() => ht({
|
|
59
69
|
defaultConfig: {
|
|
60
70
|
useCssAnimation: !1,
|
|
61
71
|
userOptions: { show: !1 },
|
|
@@ -129,7 +139,9 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
129
139
|
defaultConfig: e.value,
|
|
130
140
|
userConfig: Lt.value
|
|
131
141
|
})
|
|
132
|
-
}), { userOptionsVisible: ke, setUserOptionsVisibility: We, keepUserOptionState: je } = Fa({ config: e.value }), { svgRef: G } = La({
|
|
142
|
+
}), { userOptionsVisible: ke, setUserOptionsVisibility: We, keepUserOptionState: je } = Fa({ config: e.value }), { svgRef: G } = La({
|
|
143
|
+
config: e.value.style.chart.title
|
|
144
|
+
});
|
|
133
145
|
function xe() {
|
|
134
146
|
const t = Ne({
|
|
135
147
|
userConfig: T.config,
|
|
@@ -150,11 +162,19 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
150
162
|
customPalette: s.customPalette.length ? s.customPalette : da[l] || pe
|
|
151
163
|
};
|
|
152
164
|
}
|
|
153
|
-
he(
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
165
|
+
he(
|
|
166
|
+
() => T.config,
|
|
167
|
+
(t) => {
|
|
168
|
+
R.value || (e.value = xe()), ke.value = !e.value.userOptions.showOnChartHover, Xe(), Re.value += 1, Ee.value += 1, Be.value += 1, g.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, g.value.showTable = e.value.table.show, g.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
169
|
+
},
|
|
170
|
+
{ deep: !0 }
|
|
171
|
+
), he(
|
|
172
|
+
() => T.dataset,
|
|
173
|
+
(t) => {
|
|
174
|
+
Array.isArray(t) && t.length > 0 && (be.value = !1);
|
|
175
|
+
},
|
|
176
|
+
{ deep: !0 }
|
|
177
|
+
);
|
|
158
178
|
const B = ct(null), K = ct(null);
|
|
159
179
|
na(() => {
|
|
160
180
|
Ue.value = !0, Xe();
|
|
@@ -246,11 +266,19 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
246
266
|
a.observe(l), t(() => a.disconnect());
|
|
247
267
|
});
|
|
248
268
|
const m = p(() => {
|
|
249
|
-
const {
|
|
269
|
+
const {
|
|
270
|
+
top: t,
|
|
271
|
+
right: l,
|
|
272
|
+
bottom: a,
|
|
273
|
+
left: s
|
|
274
|
+
} = e.value.style.chart.padding, o = Ze.value, u = qe.value;
|
|
250
275
|
return {
|
|
251
276
|
chartHeight: Math.max(1e-3, o),
|
|
252
277
|
chartWidth: Math.max(1e-3, u),
|
|
253
|
-
height: Math.max(
|
|
278
|
+
height: Math.max(
|
|
279
|
+
1e-3,
|
|
280
|
+
o - t - a - Z.value - d.value.datapointFontSize * 2
|
|
281
|
+
),
|
|
254
282
|
width: Math.max(1e-3, u - s - l),
|
|
255
283
|
top: t + Z.value + d.value.datapointFontSize,
|
|
256
284
|
left: s,
|
|
@@ -264,15 +292,19 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
264
292
|
showTable: e.value.table.show,
|
|
265
293
|
showTooltip: e.value.style.chart.tooltip.show
|
|
266
294
|
});
|
|
267
|
-
he(
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
295
|
+
he(
|
|
296
|
+
e,
|
|
297
|
+
() => {
|
|
298
|
+
g.value = {
|
|
299
|
+
dataLabels: {
|
|
300
|
+
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
301
|
+
},
|
|
302
|
+
showTable: e.value.table.show,
|
|
303
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
304
|
+
};
|
|
305
|
+
},
|
|
306
|
+
{ immediate: !0 }
|
|
307
|
+
);
|
|
276
308
|
const x = c([]);
|
|
277
309
|
function Bt() {
|
|
278
310
|
x.value.length ? x.value = [] : ce.value.forEach((t) => {
|
|
@@ -299,9 +331,13 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
299
331
|
}));
|
|
300
332
|
function Je(t) {
|
|
301
333
|
if (!L.value.length)
|
|
302
|
-
return e.value.debug && console.warn(
|
|
334
|
+
return e.value.debug && console.warn(
|
|
335
|
+
"VueUiParallelCoordinatePlot - There are no series to show."
|
|
336
|
+
), null;
|
|
303
337
|
const l = L.value.find((a) => a.name === t);
|
|
304
|
-
return l || (e.value.debug && console.warn(
|
|
338
|
+
return l || (e.value.debug && console.warn(
|
|
339
|
+
`VueUiParallelCoordinatePlot - Series name not found "${t}"`
|
|
340
|
+
), null);
|
|
305
341
|
}
|
|
306
342
|
function Et(t) {
|
|
307
343
|
const l = Je(t);
|
|
@@ -325,11 +361,27 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
325
361
|
paddingBottom: 12,
|
|
326
362
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
327
363
|
})), Qe = p(() => Math.max(
|
|
328
|
-
...L.value.filter((t) => !x.value.includes(t.id)).map(
|
|
329
|
-
|
|
364
|
+
...L.value.filter((t) => !x.value.includes(t.id)).map(
|
|
365
|
+
(t) => Math.max(...t.series.flatMap((l) => l.values.length))
|
|
366
|
+
)
|
|
367
|
+
)), P = p(() => m.value.width / Qe.value), Ae = p(() => L.value.filter(
|
|
368
|
+
(t) => !x.value.includes(t.id)
|
|
369
|
+
)), b = p(() => {
|
|
330
370
|
let t = [];
|
|
331
371
|
for (let l = 0; l < Qe.value; l += 1) {
|
|
332
|
-
const a = Math.min(
|
|
372
|
+
const a = Math.min(
|
|
373
|
+
...Ae.value.flatMap(
|
|
374
|
+
(w) => w.series.map((U) => U.values[l] || 0) || 0
|
|
375
|
+
)
|
|
376
|
+
), s = Math.max(
|
|
377
|
+
...Ae.value.flatMap(
|
|
378
|
+
(w) => w.series.map((U) => U.values[l] || 0) || 0
|
|
379
|
+
)
|
|
380
|
+
), o = s === a ? a / 4 : a, u = s === a ? s * 2 : s, i = ya(
|
|
381
|
+
o,
|
|
382
|
+
u,
|
|
383
|
+
e.value.style.chart.yAxis.scaleTicks
|
|
384
|
+
), k = i.ticks.map((w, U) => {
|
|
333
385
|
const I = i.min < 0 ? w + Math.abs(i.min) : w - Math.abs(i.min), oa = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
334
386
|
return {
|
|
335
387
|
y: m.value.bottom - m.value.height * (I / oa),
|
|
@@ -366,7 +418,9 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
366
418
|
})).map((t) => ({
|
|
367
419
|
...t,
|
|
368
420
|
series: t.series.map((l) => {
|
|
369
|
-
const a = ma(l.datapoints), s = ga(l.datapoints), o = ba(
|
|
421
|
+
const a = ma(l.datapoints), s = ga(l.datapoints), o = ba(
|
|
422
|
+
e.value.style.chart.lines.smooth ? `M ${s}` : `M ${a}`
|
|
423
|
+
);
|
|
370
424
|
return {
|
|
371
425
|
...l,
|
|
372
426
|
smoothPath: s,
|
|
@@ -398,7 +452,10 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
398
452
|
}
|
|
399
453
|
const C = c(null), ve = c(null), de = c(!1), $e = c("");
|
|
400
454
|
function J({ shape: t, serie: l, S: a }) {
|
|
401
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
455
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
456
|
+
datapoint: { ...l, shape: t },
|
|
457
|
+
seriesIndex: a
|
|
458
|
+
});
|
|
402
459
|
const s = N.value !== null ? X.value[N.value] : null;
|
|
403
460
|
ue.value === "keyboard" && s && s.serie.id === l.id || (C.value = null, de.value = !1);
|
|
404
461
|
}
|
|
@@ -406,20 +463,44 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
406
463
|
if (!G.value || !t?.datapoints?.length) return;
|
|
407
464
|
const l = t.datapoints[Math.floor(t.datapoints.length / 2)];
|
|
408
465
|
if (!l) return;
|
|
409
|
-
const a = $a(
|
|
466
|
+
const a = $a(
|
|
467
|
+
l.x,
|
|
468
|
+
l.y,
|
|
469
|
+
G.value
|
|
470
|
+
);
|
|
410
471
|
a && (He.value = a);
|
|
411
472
|
}
|
|
412
|
-
function Q({
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
473
|
+
function Q({
|
|
474
|
+
shape: t,
|
|
475
|
+
serieName: l,
|
|
476
|
+
serie: a,
|
|
477
|
+
relativeIndex: s,
|
|
478
|
+
seriesIndex: o,
|
|
479
|
+
S: u,
|
|
480
|
+
triggerMode: i = "pointer"
|
|
481
|
+
}) {
|
|
482
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
483
|
+
datapoint: { ...a, shape: t },
|
|
484
|
+
seriesIndex: u
|
|
485
|
+
}), ue.value = i, ve.value = {
|
|
486
|
+
datapoint: a,
|
|
417
487
|
serie: a,
|
|
418
|
-
|
|
488
|
+
relativeIndex: s,
|
|
489
|
+
seriesIndex: o,
|
|
419
490
|
series: L.value,
|
|
420
|
-
config: e.value,
|
|
421
491
|
scales: b.value
|
|
422
|
-
}
|
|
492
|
+
}, de.value = !0, C.value = a.id;
|
|
493
|
+
let k = "";
|
|
494
|
+
const w = e.value.style.chart.tooltip.customFormat;
|
|
495
|
+
yt(w) && Aa(
|
|
496
|
+
() => w({
|
|
497
|
+
serie: a,
|
|
498
|
+
seriesIndex: a.seriesIndex,
|
|
499
|
+
series: L.value,
|
|
500
|
+
config: e.value,
|
|
501
|
+
scales: b.value
|
|
502
|
+
})
|
|
503
|
+
) ? $e.value = w({
|
|
423
504
|
serie: a,
|
|
424
505
|
seriesIndex: a.seriesIndex,
|
|
425
506
|
series: L.value,
|
|
@@ -476,12 +557,22 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
476
557
|
body: E.value.body
|
|
477
558
|
});
|
|
478
559
|
function Te(t = null) {
|
|
479
|
-
const l = [
|
|
480
|
-
|
|
560
|
+
const l = [
|
|
561
|
+
[e.value.style.chart.title.text],
|
|
562
|
+
[e.value.style.chart.title.subtitle.text],
|
|
563
|
+
[""]
|
|
564
|
+
], a = tt.value.head, s = tt.value.body, o = l.concat([a]).concat(s), u = Ca(o);
|
|
565
|
+
t ? t(u) : wa({
|
|
566
|
+
csvContent: u,
|
|
567
|
+
title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
|
|
568
|
+
});
|
|
481
569
|
}
|
|
482
570
|
const Pe = Ct;
|
|
483
571
|
function ee({ serie: t, shape: l, S: a }) {
|
|
484
|
-
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
572
|
+
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
573
|
+
datapoint: { ...t, shape: l },
|
|
574
|
+
seriesIndex: a
|
|
575
|
+
}), Pe("selectDatapoint", t);
|
|
485
576
|
}
|
|
486
577
|
function at(t) {
|
|
487
578
|
Pe("selectLegend", {
|
|
@@ -505,7 +596,12 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
505
596
|
}
|
|
506
597
|
async function jt({ scale: t = 2 } = {}) {
|
|
507
598
|
if (!O.value) return;
|
|
508
|
-
const { width: l, height: a } = O.value.getBoundingClientRect(), s = l / a, { imageUri: o, base64: u } = await Ea({
|
|
599
|
+
const { width: l, height: a } = O.value.getBoundingClientRect(), s = l / a, { imageUri: o, base64: u } = await Ea({
|
|
600
|
+
domElement: O.value,
|
|
601
|
+
base64: !0,
|
|
602
|
+
img: !0,
|
|
603
|
+
scale: t
|
|
604
|
+
});
|
|
509
605
|
return {
|
|
510
606
|
imageUri: o,
|
|
511
607
|
base64: u,
|
|
@@ -522,7 +618,14 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
522
618
|
slicer: Gt,
|
|
523
619
|
configRef: e,
|
|
524
620
|
rotationPath: ["style", "chart", "yAxis", "labels", "axisNamesRotation"],
|
|
525
|
-
autoRotatePath: [
|
|
621
|
+
autoRotatePath: [
|
|
622
|
+
"style",
|
|
623
|
+
"chart",
|
|
624
|
+
"yAxis",
|
|
625
|
+
"labels",
|
|
626
|
+
"axisNamesAutoRotate",
|
|
627
|
+
"enable"
|
|
628
|
+
],
|
|
526
629
|
isAutoSize: !1,
|
|
527
630
|
width: qe,
|
|
528
631
|
height: Ze,
|
|
@@ -560,9 +663,12 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
560
663
|
}
|
|
561
664
|
};
|
|
562
665
|
});
|
|
563
|
-
he(
|
|
564
|
-
|
|
565
|
-
|
|
666
|
+
he(
|
|
667
|
+
() => g.value.showTable,
|
|
668
|
+
(t) => {
|
|
669
|
+
e.value.table.show || (t && e.value.table.useDialog && q.value ? q.value.open() : "close" in q.value && q.value.close());
|
|
670
|
+
}
|
|
671
|
+
);
|
|
566
672
|
function nt() {
|
|
567
673
|
g.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
|
|
568
674
|
}
|
|
@@ -578,7 +684,14 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
578
684
|
try {
|
|
579
685
|
if (t) {
|
|
580
686
|
const { blob: l, url: a, text: s, dataUrl: o } = await Jt();
|
|
581
|
-
await Promise.resolve(
|
|
687
|
+
await Promise.resolve(
|
|
688
|
+
e.value.userOptions.callbacks.svg({
|
|
689
|
+
blob: l,
|
|
690
|
+
url: a,
|
|
691
|
+
text: s,
|
|
692
|
+
dataUrl: o
|
|
693
|
+
})
|
|
694
|
+
);
|
|
582
695
|
} else
|
|
583
696
|
await Promise.resolve(Zt());
|
|
584
697
|
} finally {
|
|
@@ -601,13 +714,17 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
601
714
|
config: e.value,
|
|
602
715
|
dataset: Y.value
|
|
603
716
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
604
|
-
console.warn(
|
|
717
|
+
console.warn(
|
|
718
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
719
|
+
);
|
|
605
720
|
return;
|
|
606
721
|
}
|
|
607
|
-
await Promise.resolve(
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
722
|
+
await Promise.resolve(
|
|
723
|
+
e.value.userOptions.callbacks.altCopy({
|
|
724
|
+
config: e.value,
|
|
725
|
+
dataset: Y.value
|
|
726
|
+
})
|
|
727
|
+
);
|
|
611
728
|
}
|
|
612
729
|
function ea(t) {
|
|
613
730
|
const l = X.value.length;
|
|
@@ -633,7 +750,8 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
633
750
|
function la(t) {
|
|
634
751
|
if (!G.value || te.value || document.activeElement !== G.value || !X.value.length) return;
|
|
635
752
|
const l = ["ArrowUp", "ArrowLeft"].includes(t.key), a = ["ArrowDown", "ArrowRight"].includes(t.key), s = t.key === "Enter" || t.key === " ", o = t.key === "Escape";
|
|
636
|
-
if (!l && !a && !s && !o)
|
|
753
|
+
if (!l && !a && !s && !o)
|
|
754
|
+
return;
|
|
637
755
|
if (t.preventDefault(), t.stopPropagation(), o) {
|
|
638
756
|
rt();
|
|
639
757
|
return;
|
|
@@ -889,7 +1007,10 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
889
1007
|
ref: G,
|
|
890
1008
|
xmlns: v(ka),
|
|
891
1009
|
"aria-describedby": `chart-instructions-${F.value}`,
|
|
892
|
-
class: oe({
|
|
1010
|
+
class: oe({
|
|
1011
|
+
"vue-data-ui-fullscreen--on": W.value,
|
|
1012
|
+
"vue-data-ui-fulscreen--off": !W.value
|
|
1013
|
+
}),
|
|
893
1014
|
viewBox: `0 0 ${m.value.chartWidth <= 0 ? 10 : m.value.chartWidth} ${m.value.chartHeight <= 0 ? 10 : m.value.chartHeight}`,
|
|
894
1015
|
style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`),
|
|
895
1016
|
tabindex: "0",
|
|
@@ -938,7 +1059,11 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
938
1059
|
"font-size": d.value.ticksFontSize,
|
|
939
1060
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
940
1061
|
style: _(`opacity:${C.value && !g.value.showTooltip ? 0.2 : 1}`)
|
|
941
|
-
}, V(et({
|
|
1062
|
+
}, V(et({
|
|
1063
|
+
value: o.value,
|
|
1064
|
+
index: s,
|
|
1065
|
+
datapoint: o
|
|
1066
|
+
})), 13, el))), 256))
|
|
942
1067
|
]))
|
|
943
1068
|
], 64)) : y("", !0)
|
|
944
1069
|
]))), 256)),
|
|
@@ -994,9 +1119,17 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
994
1119
|
S: s,
|
|
995
1120
|
triggerMode: "pointer"
|
|
996
1121
|
}),
|
|
997
|
-
onMouseleave: (w) => J({
|
|
1122
|
+
onMouseleave: (w) => J({
|
|
1123
|
+
serie: o,
|
|
1124
|
+
shape: a.shape,
|
|
1125
|
+
S: s
|
|
1126
|
+
}),
|
|
998
1127
|
style: _(`opacity:${C.value ? C.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
999
|
-
onClick: () => ee({
|
|
1128
|
+
onClick: () => ee({
|
|
1129
|
+
serie: o,
|
|
1130
|
+
shape: a.shape,
|
|
1131
|
+
S: s
|
|
1132
|
+
})
|
|
1000
1133
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
|
|
1001
1134
|
g.value.showTooltip ? y("", !0) : (n(), r(M, { key: 0 }, [
|
|
1002
1135
|
C.value && C.value === o.id && o.datapoints.length ? (n(), r("text", {
|
|
@@ -1020,7 +1153,10 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1020
1153
|
}, [
|
|
1021
1154
|
S("div", nl, [
|
|
1022
1155
|
h(t.$slots, "plot-comment", {
|
|
1023
|
-
plot: {
|
|
1156
|
+
plot: {
|
|
1157
|
+
...i,
|
|
1158
|
+
color: a.color
|
|
1159
|
+
}
|
|
1024
1160
|
}, void 0, !0)
|
|
1025
1161
|
])
|
|
1026
1162
|
], 8, sl)) : y("", !0)
|
|
@@ -1032,7 +1168,10 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1032
1168
|
fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
|
|
1033
1169
|
"text-anchor": "start",
|
|
1034
1170
|
"font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
|
|
1035
|
-
class: oe({
|
|
1171
|
+
class: oe({
|
|
1172
|
+
"vue-ui-pcp-animated": !1,
|
|
1173
|
+
"vue-ui-pcp-transition": !v(R)
|
|
1174
|
+
}),
|
|
1036
1175
|
"font-size": d.value.datapointFontSize,
|
|
1037
1176
|
onMouseenter: (w) => Q({
|
|
1038
1177
|
shape: a.shape,
|
|
@@ -1043,16 +1182,31 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1043
1182
|
S: s,
|
|
1044
1183
|
triggerMode: "pointer"
|
|
1045
1184
|
}),
|
|
1046
|
-
onMouseleave: (w) => J({
|
|
1047
|
-
|
|
1185
|
+
onMouseleave: (w) => J({
|
|
1186
|
+
serie: o,
|
|
1187
|
+
shape: a.shape,
|
|
1188
|
+
S: s
|
|
1189
|
+
}),
|
|
1190
|
+
onClick: () => ee({
|
|
1191
|
+
serie: o,
|
|
1192
|
+
shape: a.shape,
|
|
1193
|
+
S: s
|
|
1194
|
+
}),
|
|
1048
1195
|
style: _(`opacity:${C.value ? C.value === o.id ? 1 : 0.2 : 1}`)
|
|
1049
|
-
}, V(et({
|
|
1196
|
+
}, V(et({
|
|
1197
|
+
value: i.value,
|
|
1198
|
+
index: k,
|
|
1199
|
+
datapoint: i
|
|
1200
|
+
})), 47, il))), 256)) : y("", !0),
|
|
1050
1201
|
S("path", {
|
|
1051
1202
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
1052
1203
|
stroke: a.color,
|
|
1053
1204
|
"stroke-width": e.value.style.chart.lines.strokeWidth,
|
|
1054
1205
|
fill: "none",
|
|
1055
|
-
class: oe({
|
|
1206
|
+
class: oe({
|
|
1207
|
+
"vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation,
|
|
1208
|
+
"vue-ui-pcp-transition": !v(R)
|
|
1209
|
+
}),
|
|
1056
1210
|
onMouseenter: (i) => Q({
|
|
1057
1211
|
shape: a.shape,
|
|
1058
1212
|
serieName: a.name,
|
|
@@ -1062,8 +1216,16 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1062
1216
|
S: s,
|
|
1063
1217
|
triggerMode: "pointer"
|
|
1064
1218
|
}),
|
|
1065
|
-
onMouseleave: (i) => J({
|
|
1066
|
-
|
|
1219
|
+
onMouseleave: (i) => J({
|
|
1220
|
+
serie: o,
|
|
1221
|
+
shape: a.shape,
|
|
1222
|
+
S: s
|
|
1223
|
+
}),
|
|
1224
|
+
onClick: () => ee({
|
|
1225
|
+
serie: o,
|
|
1226
|
+
shape: a.shape,
|
|
1227
|
+
S: s
|
|
1228
|
+
}),
|
|
1067
1229
|
style: _(`opacity:${C.value ? C.value === o.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${o.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? o.pathLength : 0}`)
|
|
1068
1230
|
}, null, 46, ul),
|
|
1069
1231
|
g.value.showTooltip ? (n(), r("path", {
|
|
@@ -1072,7 +1234,10 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1072
1234
|
stroke: "transparent",
|
|
1073
1235
|
"stroke-width": 12,
|
|
1074
1236
|
fill: "none",
|
|
1075
|
-
class: oe({
|
|
1237
|
+
class: oe({
|
|
1238
|
+
"vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation,
|
|
1239
|
+
"vue-ui-pcp-transition": !v(R)
|
|
1240
|
+
}),
|
|
1076
1241
|
onMouseenter: (i) => Q({
|
|
1077
1242
|
shape: a.shape,
|
|
1078
1243
|
serieName: a.name,
|
|
@@ -1082,8 +1247,16 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1082
1247
|
S: s,
|
|
1083
1248
|
triggerMode: "pointer"
|
|
1084
1249
|
}),
|
|
1085
|
-
onMouseleave: (i) => J({
|
|
1086
|
-
|
|
1250
|
+
onMouseleave: (i) => J({
|
|
1251
|
+
serie: o,
|
|
1252
|
+
shape: a.shape,
|
|
1253
|
+
S: s
|
|
1254
|
+
}),
|
|
1255
|
+
onClick: () => ee({
|
|
1256
|
+
serie: o,
|
|
1257
|
+
shape: a.shape,
|
|
1258
|
+
S: s
|
|
1259
|
+
}),
|
|
1087
1260
|
style: { opacity: "0" }
|
|
1088
1261
|
}, null, 42, rl)) : y("", !0)
|
|
1089
1262
|
]))), 256))
|
|
@@ -1097,11 +1270,16 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1097
1270
|
}, void 0, !0)
|
|
1098
1271
|
], 46, Ka)),
|
|
1099
1272
|
t.$slots.hint ? (n(), r("div", cl, [
|
|
1100
|
-
h(t.$slots, "hint", A($({
|
|
1273
|
+
h(t.$slots, "hint", A($({
|
|
1274
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1275
|
+
isVisible: ge.value
|
|
1276
|
+
})), void 0, !0)
|
|
1101
1277
|
])) : y("", !0)
|
|
1102
1278
|
]),
|
|
1103
1279
|
t.$slots.watermark ? (n(), r("div", vl, [
|
|
1104
|
-
h(t.$slots, "watermark", A($({
|
|
1280
|
+
h(t.$slots, "watermark", A($({
|
|
1281
|
+
isPrinting: v(Ce) || v(we) || ne.value || ie.value
|
|
1282
|
+
})), void 0, !0)
|
|
1105
1283
|
])) : y("", !0),
|
|
1106
1284
|
S("div", {
|
|
1107
1285
|
id: `legend-bottom-${F.value}`
|
|
@@ -1249,7 +1427,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1249
1427
|
], !0)
|
|
1250
1428
|
], 46, Wa));
|
|
1251
1429
|
}
|
|
1252
|
-
}, Ol = /* @__PURE__ */ Va(fl, [["__scopeId", "data-v-
|
|
1430
|
+
}, Ol = /* @__PURE__ */ Va(fl, [["__scopeId", "data-v-1b01010d"]]);
|
|
1253
1431
|
export {
|
|
1254
1432
|
Ol as default
|
|
1255
1433
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { computed as n, openBlock as o, createElementBlock as a } from "vue";
|
|
2
|
+
import { a as i } from "./patternUtils-BINhU4Ky.js";
|
|
3
|
+
const u = ["id", "width", "height", "patternTransform", "innerHTML"], l = {
|
|
4
|
+
__name: "vue-ui-pattern-seed",
|
|
5
|
+
props: {
|
|
6
|
+
id: { type: String, required: !0 },
|
|
7
|
+
seed: { type: [String, Number], required: !0 },
|
|
8
|
+
foregroundColor: { type: String, default: "#1A1A1A" },
|
|
9
|
+
backgroundColor: { type: String, default: "transparent" },
|
|
10
|
+
maxSize: { type: Number, default: 24 },
|
|
11
|
+
minSize: { type: Number, default: 16 },
|
|
12
|
+
disambiguator: { type: [String, Number], default: "" }
|
|
13
|
+
},
|
|
14
|
+
setup(r) {
|
|
15
|
+
const e = r, t = n(
|
|
16
|
+
() => i(e.seed, {
|
|
17
|
+
foregroundColor: e.foregroundColor,
|
|
18
|
+
backgroundColor: e.backgroundColor,
|
|
19
|
+
minimumSize: e.minSize,
|
|
20
|
+
maximumSize: e.maxSize,
|
|
21
|
+
disambiguator: e.disambiguator
|
|
22
|
+
})
|
|
23
|
+
);
|
|
24
|
+
return (d, m) => (o(), a("pattern", {
|
|
25
|
+
id: r.id,
|
|
26
|
+
width: t.value.width,
|
|
27
|
+
height: t.value.height,
|
|
28
|
+
patternTransform: `rotate(${t.value.rotation})`,
|
|
29
|
+
patternUnits: "userSpaceOnUse",
|
|
30
|
+
innerHTML: t.value.contentMarkup
|
|
31
|
+
}, null, 8, u));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
l as _
|
|
36
|
+
};
|