vue-data-ui 3.17.3 → 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-DP_kfXUM.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 +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-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-DtjWtDHU.js → patternUtils-BINhU4Ky.js} +149 -66
- 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 +499 -498
- package/dist/types/vue-data-ui.d.ts +2115 -1787
- 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 +1 -1
- 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 +4 -4
- package/dist/{vue-data-ui-kiw3y7gG.js → vue-data-ui-C0aMSe2G.js} +138 -72
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-CWaSxiqw.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-B6S8XYmi.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-_zHE8JoR.js → vue-ui-bullet-CEH6eppC.js} +92 -35
- package/dist/{vue-ui-bump-BX-bnhix.js → vue-ui-bump-JbKFEe2A.js} +205 -102
- package/dist/{vue-ui-candlestick-CgtRA-EI.js → vue-ui-candlestick-BX01sTaY.js} +285 -100
- package/dist/{vue-ui-carousel-table-BnwS5nMG.js → vue-ui-carousel-table-BOAti3gd.js} +66 -29
- package/dist/{vue-ui-chestnut-3JG1dMba.js → vue-ui-chestnut-B0rhAzCA.js} +277 -88
- package/dist/{vue-ui-chord-DsA-qrl6.js → vue-ui-chord-DKIHZ39Z.js} +226 -96
- package/dist/{vue-ui-circle-pack-BSHUo-L7.js → vue-ui-circle-pack-Ct2roluW.js} +196 -111
- package/dist/{vue-ui-cursor-Gqh_JBGA.js → vue-ui-cursor-B3cJoPku.js} +14 -7
- package/dist/{vue-ui-dag-BTB1DCrs.js → vue-ui-dag-DCq1VMNd.js} +261 -99
- package/dist/{vue-ui-dashboard-xAW1vWaB.js → vue-ui-dashboard-BqAYr0Fr.js} +261 -94
- package/dist/{vue-ui-digits-D2wQOhMt.js → vue-ui-digits-D16SQQ4M.js} +6 -6
- package/dist/{vue-ui-donut-UUgV1d0_.js → vue-ui-donut-d0LLrlKG.js} +532 -157
- package/dist/{vue-ui-donut-evolution-B0EEKpQC.js → vue-ui-donut-evolution-6sMhQduN.js} +311 -92
- package/dist/{vue-ui-dumbbell-Ct2RXkIX.js → vue-ui-dumbbell-CUybhrwj.js} +266 -93
- package/dist/{vue-ui-flow-Ci_h8KNf.js → vue-ui-flow-BZ-9RFsy.js} +121 -48
- package/dist/{vue-ui-funnel-Ciy-udDH.js → vue-ui-funnel-BJgvIvlz.js} +91 -39
- package/dist/{vue-ui-galaxy-DJ6_911b.js → vue-ui-galaxy-DR9WL985.js} +161 -69
- package/dist/{vue-ui-gauge-CJ5OH_wa.js → vue-ui-gauge-x96W5OPx.js} +95 -37
- package/dist/{vue-ui-geo-B-8UJvBt.js → vue-ui-geo-qTfYs5qi.js} +113 -43
- package/dist/{vue-ui-gizmo-BgdUIouA.js → vue-ui-gizmo-C8HOirN9.js} +25 -12
- package/dist/{vue-ui-heatmap-ZdZ22EDj.js → vue-ui-heatmap-Cy9o-A7B.js} +316 -125
- package/dist/{vue-ui-history-plot-D1vpgQ8I.js → vue-ui-history-plot-j0DMfNPJ.js} +186 -73
- package/dist/{vue-ui-horizontal-bar-C1gYSz7t.js → vue-ui-horizontal-bar-CRScV3rx.js} +151 -56
- package/dist/{vue-ui-kpi-B0sOyO7s.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-C2wW_JqJ.js → vue-ui-molecule-B_19tjnI.js} +226 -120
- package/dist/{vue-ui-mood-radar-Bgd30qfN.js → vue-ui-mood-radar-DrkGtt7m.js} +166 -56
- package/dist/{vue-ui-nested-donuts-CDtrnUDs.js → vue-ui-nested-donuts-C3enuKq1.js} +196 -89
- package/dist/{vue-ui-onion-CeLy3EjT.js → vue-ui-onion-DMMLNXVu.js} +155 -74
- package/dist/{vue-ui-parallel-coordinate-plot-rRuHDWD1.js → vue-ui-parallel-coordinate-plot-YokoI6TP.js} +262 -84
- package/dist/{vue-ui-pattern-seed-lL5yS7nX.js → vue-ui-pattern-seed-BcNlxb2i.js} +1 -1
- package/dist/{vue-ui-quadrant-CqcWTgh-.js → vue-ui-quadrant-D8vI4gIT.js} +240 -88
- package/dist/{vue-ui-quick-chart-Bbdoq3j3.js → vue-ui-quick-chart-BdwHAQyA.js} +445 -150
- package/dist/{vue-ui-radar-BF2eWMEl.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-D3jsasRD.js → vue-ui-relation-circle-XQH3QkrI.js} +119 -45
- package/dist/{vue-ui-ridgeline-Lhxi4BNZ.js → vue-ui-ridgeline-ksI62sSU.js} +349 -85
- package/dist/{vue-ui-rings-D0tnHXEe.js → vue-ui-rings-Dwbo1Fro.js} +179 -81
- package/dist/{vue-ui-scatter-CIK8j5sT.js → vue-ui-scatter-GFzM-YYz.js} +282 -102
- package/dist/{vue-ui-skeleton-BD5hXmIt.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-exj63CUB.js → vue-ui-spark-trend-Bkxd18l5.js} +76 -31
- package/dist/{vue-ui-sparkbar-D3UXwhmT.js → vue-ui-sparkbar-D2abFa-u.js} +113 -59
- package/dist/{vue-ui-sparkgauge-BsQY5Cwp.js → vue-ui-sparkgauge-D6IF3ZQR.js} +47 -18
- package/dist/{vue-ui-sparkhistogram-4oHi6IHt.js → vue-ui-sparkhistogram-Dl8WlJLW.js} +145 -60
- package/dist/{vue-ui-sparkline-BypShxpX.js → vue-ui-sparkline-BY05SDNv.js} +226 -68
- package/dist/{vue-ui-sparkstackbar-8dpxOXr_.js → vue-ui-sparkstackbar-BLFjfklb.js} +84 -36
- package/dist/{vue-ui-stackbar-BKLo9L3P.js → vue-ui-stackbar-Dw-CI94e.js} +482 -169
- package/dist/{vue-ui-stackline-CSBogzBf.js → vue-ui-stackline-CkgSbKkp.js} +473 -164
- package/dist/{vue-ui-strip-plot-BQiNmxPk.js → vue-ui-strip-plot-P16Y5yN1.js} +239 -132
- package/dist/{vue-ui-table-CKlHkISC.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-DHPemUVJ.js → vue-ui-table-sparkline-CpjyrPic.js} +127 -47
- package/dist/{vue-ui-thermometer-Cy1oHbQ-.js → vue-ui-thermometer-B9nc954A.js} +129 -48
- package/dist/{vue-ui-timer-DsYVGo-1.js → vue-ui-timer-BDfbM4vl.js} +32 -15
- package/dist/{vue-ui-tiremarks-BvEM8AvM.js → vue-ui-tiremarks-DHV_oSQ0.js} +90 -35
- package/dist/vue-ui-treemap-DLWOi_EG.js +1748 -0
- package/dist/{vue-ui-waffle-Uo1RM5Yy.js → vue-ui-waffle-CpNJSzAD.js} +206 -87
- package/dist/{vue-ui-wheel-Cood5EN7.js → vue-ui-wheel-DqBmaQ6h.js} +231 -61
- package/dist/{vue-ui-word-cloud-BrQKo4eQ.js → vue-ui-word-cloud-DexRxuh1.js} +443 -350
- package/dist/vue-ui-world-DAJgtvpz.js +14451 -0
- package/dist/{vue-ui-xy-BAlrZ3W9.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-5qrvks6n.js +0 -1726
- package/dist/vue-ui-world-Cjm9SD0h.js +0 -1011
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { useCssVars as $a, defineAsyncComponent as ae, ref as v, shallowRef as At, computed as m, toRefs as Ca, watch as Ne, onMounted as Mt, onBeforeUnmount as Pt, openBlock as r, createElementBlock as i, unref as h, normalizeStyle as z, normalizeClass as j, createElementVNode as x, toDisplayString as H, createBlock as G, createCommentVNode as f, withCtx as y, renderSlot as p, normalizeProps as L, guardReactiveProps as D, createSlots as Re, withModifiers as It, createVNode as ke, Fragment as Y, renderList as oe, mergeProps as xt, Teleport as wa, resolveDynamicComponent as Aa, createTextVNode as _t, nextTick as Fe } from "vue";
|
|
2
|
-
import { j as ze, t as St, m as Ma, p as $e, o as Pa, q as Tt, r as Ia, n as xa, s as _a, X as Sa, W as Ta, l as Ue, as as Oa, au as Ba, k as La, a0 as Da, a1 as Ea } from "./lib-
|
|
2
|
+
import { j as ze, t as St, m as Ma, p as $e, o as Pa, q as Tt, r as Ia, n as xa, s as _a, X as Sa, W as Ta, l as Ue, as as Oa, au as Ba, k as La, a0 as Da, a1 as Ea } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as Na, u as Ra } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Fa } from "./useConfig-
|
|
5
|
-
import { u as za, B as Ua } from "./BaseScanner-
|
|
6
|
-
import { u as Va } from "./usePrinter-
|
|
7
|
-
import { u as Xa } from "./useSvgExport-
|
|
8
|
-
import { u as Ve } from "./useNestedProp-
|
|
9
|
-
import { u as ja } from "./useThemeCheck-
|
|
10
|
-
import { u as Ga } from "./useUserOptionState-
|
|
11
|
-
import { u as Ya } from "./useChartAccessibility-
|
|
12
|
-
import Wa from "./img-
|
|
13
|
-
import { _ as qa } from "./Shape-
|
|
14
|
-
import Ka from "./Title-
|
|
4
|
+
import { u as Fa } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as za, B as Ua } from "./BaseScanner-BON3d_Sx.js";
|
|
6
|
+
import { u as Va } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
+
import { u as Xa } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as Ve } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
+
import { u as ja } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
+
import { u as Ga } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
+
import { u as Ya } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
+
import Wa from "./img-CjTQXS0U.js";
|
|
13
|
+
import { _ as qa } from "./Shape-CxJ5_Rre.js";
|
|
14
|
+
import Ka from "./Title-BbKoiBk2.js";
|
|
15
15
|
import Ha from "./vue_ui_chord-Bc1_ocwK.js";
|
|
16
|
-
import Qa from "./Legend-
|
|
17
|
-
import { A as Za } from "./A11yDataTable-
|
|
16
|
+
import Qa from "./Legend-DGN5lY60.js";
|
|
17
|
+
import { A as Za } from "./A11yDataTable-BpmuNomI.js";
|
|
18
18
|
import { _ as Ja } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
19
19
|
const eo = ["id"], to = ["id"], ao = ["id"], oo = ["xmlns", "viewBox", "aria-describedby"], lo = ["width", "height"], no = { key: 1 }, so = ["id", "d"], ro = { key: 2 }, uo = ["transform"], io = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], co = ["d", "fill", "stroke", "stroke-width"], vo = ["d", "fill"], ho = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick", "onMouseleave"], fo = ["d", "fill", "stroke", "stroke-width"], go = ["d", "fill", "stroke", "stroke-width"], po = ["d", "fill", "stroke", "stroke-width"], bo = { key: 0 }, mo = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], yo = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ko = ["cx", "cy", "r", "stroke", "stroke-width", "fill"], $o = ["transform", "fill", "text-anchor", "font-size", "font-weight"], Co = { key: 1 }, wo = ["font-size", "font-weight", "fill"], Ao = ["href"], Mo = ["transform", "text-anchor", "font-size", "font-weight", "fill", "innerHTML"], Po = {
|
|
20
20
|
key: 5,
|
|
@@ -44,12 +44,29 @@ const eo = ["id"], to = ["id"], ao = ["id"], oo = ["xmlns", "viewBox", "aria-des
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
emits: [
|
|
47
|
+
emits: [
|
|
48
|
+
"selectLegend",
|
|
49
|
+
"selectGroup",
|
|
50
|
+
"selectRibbon",
|
|
51
|
+
"copyAlt"
|
|
52
|
+
],
|
|
48
53
|
setup(Ot, { expose: Bt, emit: Lt }) {
|
|
49
54
|
$a((e) => ({
|
|
50
|
-
|
|
55
|
+
v9e003cd4: e.slicerColor
|
|
51
56
|
}));
|
|
52
|
-
const Dt = ae(() => import("./vue-ui-accordion-
|
|
57
|
+
const Dt = ae(() => import("./vue-ui-accordion-BHmfmb_6.js")), Xe = ae(() => import("./BaseIcon-DX0hTWa-.js")), Et = ae(() => import("./DataTable-cMnb68Ik.js")), Nt = ae(
|
|
58
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
59
|
+
), Rt = ae(
|
|
60
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
61
|
+
), Ft = ae(
|
|
62
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
63
|
+
), zt = ae(
|
|
64
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
65
|
+
), { vue_ui_chord: Ut } = Fa(), { isThemeValid: Vt, warnInvalidTheme: Xt } = ja(), S = Ot, re = Lt, U = v(
|
|
66
|
+
!!S.dataset && Object.hasOwn(S.dataset, "matrix")
|
|
67
|
+
), M = v(ze()), w = v(null), k = v(null), b = v(null), je = v(0), E = v(null), Ge = v(null), Ye = v(null), We = v(null), qe = v(null), Ce = v(0), we = v(0), Ae = v(0), le = v(!1), W = At(null), ne = At(null), Ke = v(!1), ue = v(null), Me = v(null), fe = v(!1), ge = v(!1), V = v("group"), B = v(null), Pe = v(!1), a = v(Se()), Q = m(
|
|
68
|
+
() => a.value.userOptions.useCursorPointer
|
|
69
|
+
), jt = m(() => St({
|
|
53
70
|
defaultConfig: {
|
|
54
71
|
useCssAnimation: !1,
|
|
55
72
|
userOptions: { show: !1 },
|
|
@@ -100,7 +117,9 @@ const eo = ["id"], to = ["id"], ao = ["id"], oo = ["xmlns", "viewBox", "aria-des
|
|
|
100
117
|
defaultConfig: a.value,
|
|
101
118
|
userConfig: jt.value
|
|
102
119
|
})
|
|
103
|
-
}), { userOptionsVisible: Ie, setUserOptionsVisibility: Qe, keepUserOptionState: Ze } = Ga({ config: a.value }), { svgRef: q } = Ya({
|
|
120
|
+
}), { userOptionsVisible: Ie, setUserOptionsVisibility: Qe, keepUserOptionState: Ze } = Ga({ config: a.value }), { svgRef: q } = Ya({
|
|
121
|
+
config: a.value.style.chart.title
|
|
122
|
+
}), { isPrinting: xe, isImaging: _e, generatePdf: Je, generateImage: et } = Va({
|
|
104
123
|
elementId: `chord_${M.value}`,
|
|
105
124
|
fileName: a.value.style.chart.title.text || "vue-ui-chord",
|
|
106
125
|
options: a.value.userOptions.print
|
|
@@ -127,13 +146,20 @@ const eo = ["id"], to = ["id"], ao = ["id"], oo = ["xmlns", "viewBox", "aria-des
|
|
|
127
146
|
customPalette: l.customPalette.length ? l.customPalette : Ma[o] || $e
|
|
128
147
|
};
|
|
129
148
|
}
|
|
130
|
-
Ne(
|
|
131
|
-
|
|
132
|
-
|
|
149
|
+
Ne(
|
|
150
|
+
() => S.config,
|
|
151
|
+
(e) => {
|
|
152
|
+
He.value || (a.value = Se()), Ie.value = !a.value.userOptions.showOnChartHover, Te(), Ce.value += 1, we.value += 1, Ae.value += 1, T.value = a.value.initialRotation, Z.value.showTable = a.value.table.show;
|
|
153
|
+
},
|
|
154
|
+
{ deep: !0 }
|
|
155
|
+
);
|
|
133
156
|
const tt = m(() => a.value.debug);
|
|
134
|
-
Ne(
|
|
135
|
-
|
|
136
|
-
|
|
157
|
+
Ne(
|
|
158
|
+
() => S.dataset,
|
|
159
|
+
() => {
|
|
160
|
+
at(), Te(), Ce.value += 1, we.value += 1, Ae.value += 1;
|
|
161
|
+
}
|
|
162
|
+
);
|
|
137
163
|
function at() {
|
|
138
164
|
if (Pa(S.dataset)) {
|
|
139
165
|
Tt({
|
|
@@ -168,7 +194,9 @@ matrix:[
|
|
|
168
194
|
]`), U.value = !1, ie.value = !0;
|
|
169
195
|
return;
|
|
170
196
|
}
|
|
171
|
-
const t = o.length, l = o.findIndex(
|
|
197
|
+
const t = o.length, l = o.findIndex(
|
|
198
|
+
(s) => !Array.isArray(s) || s.length !== t
|
|
199
|
+
);
|
|
172
200
|
if (l !== -1) {
|
|
173
201
|
console.warn(
|
|
174
202
|
`VueUiChord - Invalid matrix: dataset.matrix at index ${l} has ${Array.isArray(o[l]) ? o[l].length : "NaN"} elements instead of the required ${t}
|
|
@@ -182,7 +210,14 @@ dataset.matrix[${l}] = [${Array.isArray(o[l]) ? o[l].toString() : "invalid"}]`
|
|
|
182
210
|
function Te() {
|
|
183
211
|
if (at(), a.value.responsive) {
|
|
184
212
|
const e = Na(() => {
|
|
185
|
-
const {
|
|
213
|
+
const {
|
|
214
|
+
width: o,
|
|
215
|
+
height: t,
|
|
216
|
+
heightNoTitle: l,
|
|
217
|
+
heightSource: s,
|
|
218
|
+
heightTitle: n,
|
|
219
|
+
heightLegend: u
|
|
220
|
+
} = Ra({
|
|
186
221
|
chart: E.value,
|
|
187
222
|
title: a.value.style.chart.title.text ? Ge.value : null,
|
|
188
223
|
legend: a.value.style.chart.legend.show ? Ye.value : null,
|
|
@@ -199,18 +234,22 @@ dataset.matrix[${l}] = [${Array.isArray(o[l]) ? o[l].toString() : "invalid"}]`
|
|
|
199
234
|
}
|
|
200
235
|
function Gt() {
|
|
201
236
|
if (!_.value || !Object.hasOwn(_.value, "matrix") || _.value.matrix.length < 2) {
|
|
202
|
-
console.warn(
|
|
237
|
+
console.warn(
|
|
238
|
+
`VueUiChord: dataset.matrix requires a minimum of 2 datapoints, for example:
|
|
203
239
|
|
|
204
240
|
matrix:[
|
|
205
241
|
[1, 1],
|
|
206
242
|
[1, 1]
|
|
207
|
-
]`
|
|
243
|
+
]`
|
|
244
|
+
), U.value = !1;
|
|
208
245
|
return;
|
|
209
246
|
}
|
|
210
247
|
_.value.matrix.forEach((e, o) => {
|
|
211
|
-
e.length !== _.value.matrix.length && (console.warn(
|
|
248
|
+
e.length !== _.value.matrix.length && (console.warn(
|
|
249
|
+
`VueUiChord - Invalid matrix: dataset.matrix at index ${o} has ${e.length} elements instead of the required ${_.value.matrix.length}
|
|
212
250
|
|
|
213
|
-
dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should have the same length as the matrix itself (${_.value.matrix.length})`
|
|
251
|
+
dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should have the same length as the matrix itself (${_.value.matrix.length})`
|
|
252
|
+
), U.value = !1);
|
|
214
253
|
});
|
|
215
254
|
}
|
|
216
255
|
const ot = v(null);
|
|
@@ -282,7 +321,10 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
282
321
|
return { groups: d, chords: X };
|
|
283
322
|
}
|
|
284
323
|
const P = m(() => {
|
|
285
|
-
const e = Kt(
|
|
324
|
+
const e = Kt(
|
|
325
|
+
$.value.matrix,
|
|
326
|
+
qt.value
|
|
327
|
+
);
|
|
286
328
|
return Gt(), e.chords.sort(
|
|
287
329
|
(o, t) => Math.max(t.source.value, t.target.value) - Math.max(o.source.value, o.target.value)
|
|
288
330
|
), e;
|
|
@@ -425,28 +467,49 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
425
467
|
me.value = e, je.value += 1;
|
|
426
468
|
}
|
|
427
469
|
function oa(e, o) {
|
|
428
|
-
a.value.events.datapointEnter && a.value.events.datapointEnter({
|
|
470
|
+
a.value.events.datapointEnter && a.value.events.datapointEnter({
|
|
471
|
+
datapoint: e,
|
|
472
|
+
seriesIndex: o
|
|
473
|
+
}), !b.value && (w.value = e);
|
|
429
474
|
}
|
|
430
475
|
function la(e, o) {
|
|
431
|
-
w.value = null, a.value.events.datapointLeave && a.value.events.datapointLeave({
|
|
476
|
+
w.value = null, a.value.events.datapointLeave && a.value.events.datapointLeave({
|
|
477
|
+
datapoint: e,
|
|
478
|
+
seriesIndex: o
|
|
479
|
+
});
|
|
432
480
|
}
|
|
433
481
|
function vt(e, o) {
|
|
434
|
-
re("selectGroup", e), a.value.events.datapointClick && a.value.events.datapointClick({
|
|
482
|
+
re("selectGroup", e), a.value.events.datapointClick && a.value.events.datapointClick({
|
|
483
|
+
datapoint: e,
|
|
484
|
+
seriesIndex: o
|
|
485
|
+
});
|
|
435
486
|
}
|
|
436
487
|
function na(e, o) {
|
|
437
|
-
a.value.events.datapointEnter && a.value.events.datapointEnter({
|
|
488
|
+
a.value.events.datapointEnter && a.value.events.datapointEnter({
|
|
489
|
+
datapoint: e,
|
|
490
|
+
seriesIndex: o
|
|
491
|
+
}), !b.value && (k.value = e);
|
|
438
492
|
}
|
|
439
493
|
function sa(e, o) {
|
|
440
|
-
k.value = null, a.value.events.datapointLeave && a.value.events.datapointLeave({
|
|
494
|
+
k.value = null, a.value.events.datapointLeave && a.value.events.datapointLeave({
|
|
495
|
+
datapoint: e,
|
|
496
|
+
seriesIndex: o
|
|
497
|
+
});
|
|
441
498
|
}
|
|
442
499
|
function dt(e, o) {
|
|
443
|
-
re("selectRibbon", e), a.value.events.datapointClick && a.value.events.datapointClick({
|
|
500
|
+
re("selectRibbon", e), a.value.events.datapointClick && a.value.events.datapointClick({
|
|
501
|
+
datapoint: e,
|
|
502
|
+
seriesIndex: o
|
|
503
|
+
});
|
|
444
504
|
}
|
|
445
505
|
function ht(e) {
|
|
446
506
|
return !b.value && !w.value && !k.value ? 0.8 : (b.value ? b.value === e.source.groupId : w.value ? w.value.id === e.source.groupId : k.value?.id === e.id) ? 1 : 0.1;
|
|
447
507
|
}
|
|
448
508
|
function ft(e) {
|
|
449
|
-
return !b.value && !w.value && !k.value || (b.value ? b.value === e.id : w.value ? w.value.id === e.id : [
|
|
509
|
+
return !b.value && !w.value && !k.value || (b.value ? b.value === e.id : w.value ? w.value.id === e.id : [
|
|
510
|
+
k.value?.source.groupId,
|
|
511
|
+
k.value?.target.groupId
|
|
512
|
+
].includes(e.id)) ? 1 : 0.3;
|
|
450
513
|
}
|
|
451
514
|
const se = v(!1);
|
|
452
515
|
function Be() {
|
|
@@ -471,7 +534,10 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
471
534
|
J.value !== null && cancelAnimationFrame(J.value);
|
|
472
535
|
});
|
|
473
536
|
function bt(e) {
|
|
474
|
-
e === b.value ? (b.value = null, re("selectLegend", null)) : (b.value = e, re(
|
|
537
|
+
e === b.value ? (b.value = null, re("selectLegend", null)) : (b.value = e, re(
|
|
538
|
+
"selectLegend",
|
|
539
|
+
P.value.groups.find((o) => o.id === e)
|
|
540
|
+
));
|
|
475
541
|
}
|
|
476
542
|
const Le = m(() => P.value.groups.map((e, o) => ({
|
|
477
543
|
name: e.name,
|
|
@@ -496,10 +562,7 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
496
562
|
})), o = $.value.matrix;
|
|
497
563
|
return { head: e, body: o };
|
|
498
564
|
}), ye = m(() => {
|
|
499
|
-
const e = [{ name: "", color: null }, ...ee.value.head], o = ee.value.body.map((s, n) => [
|
|
500
|
-
ee.value.head[n],
|
|
501
|
-
...ee.value.body[n]
|
|
502
|
-
]), t = {
|
|
565
|
+
const e = [{ name: "", color: null }, ...ee.value.head], o = ee.value.body.map((s, n) => [ee.value.head[n], ...ee.value.body[n]]), t = {
|
|
503
566
|
th: {
|
|
504
567
|
backgroundColor: a.value.table.th.backgroundColor,
|
|
505
568
|
color: a.value.table.th.color,
|
|
@@ -521,23 +584,25 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
521
584
|
});
|
|
522
585
|
function De(e = null) {
|
|
523
586
|
Fe(() => {
|
|
524
|
-
const o = $.value.matrix.map((s, n) => [
|
|
525
|
-
[$.value.labels[n] || n],
|
|
526
|
-
s
|
|
527
|
-
]), t = [
|
|
587
|
+
const o = $.value.matrix.map((s, n) => [[$.value.labels[n] || n], s]), t = [
|
|
528
588
|
[a.value.style.chart.title.text],
|
|
529
589
|
[a.value.style.chart.title.subtitle.text],
|
|
530
|
-
[
|
|
531
|
-
[""],
|
|
532
|
-
...$.value.labels.map((s, n) => [s || n])
|
|
533
|
-
]
|
|
590
|
+
[[""], ...$.value.labels.map((s, n) => [s || n])]
|
|
534
591
|
].concat(o), l = Da(t);
|
|
535
|
-
e ? e(l) : Ea({
|
|
592
|
+
e ? e(l) : Ea({
|
|
593
|
+
csvContent: l,
|
|
594
|
+
title: a.value.style.chart.title.text || "vue-ui-chord"
|
|
595
|
+
});
|
|
536
596
|
});
|
|
537
597
|
}
|
|
538
598
|
async function ia({ scale: e = 2 } = {}) {
|
|
539
599
|
if (!E.value) return;
|
|
540
|
-
const { width: o, height: t } = E.value.getBoundingClientRect(), l = o / t, { imageUri: s, base64: n } = await Wa({
|
|
600
|
+
const { width: o, height: t } = E.value.getBoundingClientRect(), l = o / t, { imageUri: s, base64: n } = await Wa({
|
|
601
|
+
domElement: E.value,
|
|
602
|
+
base64: !0,
|
|
603
|
+
img: !0,
|
|
604
|
+
scale: e
|
|
605
|
+
});
|
|
541
606
|
return {
|
|
542
607
|
imageUri: s,
|
|
543
608
|
base64: n,
|
|
@@ -586,9 +651,12 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
586
651
|
}
|
|
587
652
|
};
|
|
588
653
|
});
|
|
589
|
-
Ne(
|
|
590
|
-
|
|
591
|
-
|
|
654
|
+
Ne(
|
|
655
|
+
() => Z.value.showTable,
|
|
656
|
+
(e) => {
|
|
657
|
+
a.value.table.show || (e && a.value.table.useDialog && ue.value ? ue.value.open() : "close" in ue.value && ue.value.close());
|
|
658
|
+
}
|
|
659
|
+
);
|
|
592
660
|
function mt() {
|
|
593
661
|
Z.value.showTable = !1, Me.value && Me.value.setTableIconState(!1);
|
|
594
662
|
}
|
|
@@ -604,7 +672,14 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
604
672
|
try {
|
|
605
673
|
if (e) {
|
|
606
674
|
const { blob: o, url: t, text: l, dataUrl: s } = await ga();
|
|
607
|
-
await Promise.resolve(
|
|
675
|
+
await Promise.resolve(
|
|
676
|
+
a.value.userOptions.callbacks.svg({
|
|
677
|
+
blob: o,
|
|
678
|
+
url: t,
|
|
679
|
+
text: l,
|
|
680
|
+
dataUrl: s
|
|
681
|
+
})
|
|
682
|
+
);
|
|
608
683
|
} else
|
|
609
684
|
await Promise.resolve(fa());
|
|
610
685
|
} finally {
|
|
@@ -627,15 +702,23 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
627
702
|
config: a.value,
|
|
628
703
|
dataset: $.value
|
|
629
704
|
}), !a.value.userOptions.callbacks.altCopy) {
|
|
630
|
-
console.warn(
|
|
705
|
+
console.warn(
|
|
706
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
707
|
+
);
|
|
631
708
|
return;
|
|
632
709
|
}
|
|
633
|
-
await Promise.resolve(
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
710
|
+
await Promise.resolve(
|
|
711
|
+
a.value.userOptions.callbacks.altCopy({
|
|
712
|
+
config: a.value,
|
|
713
|
+
dataset: $.value
|
|
714
|
+
})
|
|
715
|
+
);
|
|
637
716
|
}
|
|
638
|
-
const ba = m(() => (w.value ? P.value.chords.filter(
|
|
717
|
+
const ba = m(() => (w.value ? P.value.chords.filter(
|
|
718
|
+
(e) => e.source.groupId === w.value.id
|
|
719
|
+
) : b.value ? P.value.chords.filter(
|
|
720
|
+
(e) => e.source.groupId === b.value
|
|
721
|
+
) : P.value.chords).filter((e) => e.source.value)), R = m(() => {
|
|
639
722
|
const e = P.value.groups.map((t, l) => ({
|
|
640
723
|
type: "group",
|
|
641
724
|
index: l,
|
|
@@ -651,10 +734,7 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
651
734
|
}));
|
|
652
735
|
return { groups: e, ribbons: o };
|
|
653
736
|
}), Ee = m(() => {
|
|
654
|
-
const e = [
|
|
655
|
-
"",
|
|
656
|
-
...ee.value.head.map((t) => t.name)
|
|
657
|
-
], o = ee.value.body.map((t, l) => [
|
|
737
|
+
const e = ["", ...ee.value.head.map((t) => t.name)], o = ee.value.body.map((t, l) => [
|
|
658
738
|
ee.value.head[l]?.name ?? `${l}`,
|
|
659
739
|
...t.map((s) => Oe(s))
|
|
660
740
|
]);
|
|
@@ -680,21 +760,28 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
680
760
|
function ka(e) {
|
|
681
761
|
if (!q.value || se.value || document.activeElement !== q.value) return;
|
|
682
762
|
const o = e.key === "ArrowLeft", t = e.key === "ArrowRight", l = e.key === "ArrowUp", s = e.key === "ArrowDown", n = e.key === "Enter" || e.key === " ", u = e.key === "Escape";
|
|
683
|
-
if (!o && !t && !l && !s && !n && !u)
|
|
763
|
+
if (!o && !t && !l && !s && !n && !u)
|
|
764
|
+
return;
|
|
684
765
|
if (e.preventDefault(), e.stopPropagation(), u) {
|
|
685
766
|
wt();
|
|
686
767
|
return;
|
|
687
768
|
}
|
|
688
769
|
if (l) {
|
|
689
770
|
V.value = "group", R.value.groups.length && $t(
|
|
690
|
-
B.value === null ? 0 : Math.min(
|
|
771
|
+
B.value === null ? 0 : Math.min(
|
|
772
|
+
B.value,
|
|
773
|
+
R.value.groups.length - 1
|
|
774
|
+
)
|
|
691
775
|
);
|
|
692
776
|
return;
|
|
693
777
|
}
|
|
694
778
|
if (s) {
|
|
695
779
|
if (!R.value.ribbons.length) return;
|
|
696
780
|
V.value = "ribbon", Ct(
|
|
697
|
-
B.value === null ? 0 : Math.min(
|
|
781
|
+
B.value === null ? 0 : Math.min(
|
|
782
|
+
B.value,
|
|
783
|
+
R.value.ribbons.length - 1
|
|
784
|
+
)
|
|
698
785
|
);
|
|
699
786
|
return;
|
|
700
787
|
}
|
|
@@ -927,7 +1014,10 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
927
1014
|
style: {
|
|
928
1015
|
overflow: "visible"
|
|
929
1016
|
},
|
|
930
|
-
class: j({
|
|
1017
|
+
class: j({
|
|
1018
|
+
"vue-ui-chord-rotating": ve.value,
|
|
1019
|
+
"vue-ui-chord-idle": !ve.value
|
|
1020
|
+
}),
|
|
931
1021
|
onMousedown: It(it, ["prevent"]),
|
|
932
1022
|
onTouchstart: It(it, ["prevent"]),
|
|
933
1023
|
onFocus: ma,
|
|
@@ -961,7 +1051,10 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
961
1051
|
])) : f("", !0),
|
|
962
1052
|
e.$slots.pattern ? (r(), i("g", ro, [
|
|
963
1053
|
(r(!0), i(Y, null, oe(P.value.groups, (t, l) => (r(), i("defs", null, [
|
|
964
|
-
p(e.$slots, "pattern", xt({ ref_for: !0 }, {
|
|
1054
|
+
p(e.$slots, "pattern", xt({ ref_for: !0 }, {
|
|
1055
|
+
seriesIndex: t.index,
|
|
1056
|
+
patternId: `pattern_${M.value}_${l}`
|
|
1057
|
+
}), void 0, !0)
|
|
965
1058
|
]))), 256))
|
|
966
1059
|
])) : f("", !0),
|
|
967
1060
|
x("g", {
|
|
@@ -969,7 +1062,10 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
969
1062
|
}, [
|
|
970
1063
|
(r(!0), i(Y, null, oe(P.value.groups, (t, l) => (r(), i("g", null, [
|
|
971
1064
|
(r(), i("path", {
|
|
972
|
-
class: j({
|
|
1065
|
+
class: j({
|
|
1066
|
+
"vue-ui-chord-arc": !0,
|
|
1067
|
+
"vue-ui-chord-arc-animated": a.value.useCssAnimation && !le.value
|
|
1068
|
+
}),
|
|
973
1069
|
key: `arc-${l}`,
|
|
974
1070
|
d: lt(
|
|
975
1071
|
t.startAngle,
|
|
@@ -990,7 +1086,10 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
990
1086
|
onClick: (s) => vt(t, l)
|
|
991
1087
|
}, null, 46, io)),
|
|
992
1088
|
e.$slots.pattern ? (r(), i("path", {
|
|
993
|
-
class: j({
|
|
1089
|
+
class: j({
|
|
1090
|
+
"vue-ui-chord-arc": !0,
|
|
1091
|
+
"vue-ui-chord-arc-animated": a.value.useCssAnimation && !le.value
|
|
1092
|
+
}),
|
|
994
1093
|
key: `arc-${l}`,
|
|
995
1094
|
d: lt(
|
|
996
1095
|
t.startAngle,
|
|
@@ -1010,19 +1109,31 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
1010
1109
|
}, null, 14, co)) : f("", !0)
|
|
1011
1110
|
]))), 256)),
|
|
1012
1111
|
x("g", null, [
|
|
1013
|
-
(r(!0), i(Y, null, oe(w.value ? P.value.chords.filter(
|
|
1112
|
+
(r(!0), i(Y, null, oe(w.value ? P.value.chords.filter(
|
|
1113
|
+
(t) => t.source.groupId === w.value.id
|
|
1114
|
+
) : b.value ? P.value.chords.filter(
|
|
1115
|
+
(t) => t.source.groupId === b.value
|
|
1116
|
+
) : P.value.chords, (t, l) => (r(), i(Y, {
|
|
1014
1117
|
key: `ribbon-${t.id}`
|
|
1015
1118
|
}, [
|
|
1016
1119
|
t.source.value ? (r(), i("path", {
|
|
1017
1120
|
key: 0,
|
|
1018
|
-
class: j({
|
|
1121
|
+
class: j({
|
|
1122
|
+
"vue-ui-chord-ribbon": !0,
|
|
1123
|
+
"vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !le.value
|
|
1124
|
+
}),
|
|
1019
1125
|
d: ce(t.source, t.target),
|
|
1020
1126
|
fill: a.value.style.chart.backgroundColor,
|
|
1021
|
-
style: z({
|
|
1127
|
+
style: z({
|
|
1128
|
+
opacity: a.value.style.chart.ribbons.underlayerOpacity
|
|
1129
|
+
})
|
|
1022
1130
|
}, null, 14, vo)) : f("", !0),
|
|
1023
1131
|
t.source.value ? (r(), i("path", {
|
|
1024
1132
|
key: 1,
|
|
1025
|
-
class: j({
|
|
1133
|
+
class: j({
|
|
1134
|
+
"vue-ui-chord-ribbon": !0,
|
|
1135
|
+
"vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !le.value
|
|
1136
|
+
}),
|
|
1026
1137
|
d: ce(t.source, t.target),
|
|
1027
1138
|
fill: $.value.colors[t.source.index],
|
|
1028
1139
|
stroke: a.value.style.chart.ribbons.stroke,
|
|
@@ -1030,23 +1141,35 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
1030
1141
|
"stroke-linecap": "round",
|
|
1031
1142
|
"stroke-linejoin": "round",
|
|
1032
1143
|
style: z({ opacity: ht(t) }),
|
|
1033
|
-
onMouseenter: (s) => na(
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1144
|
+
onMouseenter: (s) => na(
|
|
1145
|
+
{
|
|
1146
|
+
...t,
|
|
1147
|
+
path: ce(t.source, t.target),
|
|
1148
|
+
color: $.value.colors[t.source.index]
|
|
1149
|
+
},
|
|
1150
|
+
l
|
|
1151
|
+
),
|
|
1152
|
+
onClick: (s) => dt(
|
|
1153
|
+
{
|
|
1154
|
+
...t,
|
|
1155
|
+
color: $.value.colors[t.source.index]
|
|
1156
|
+
},
|
|
1157
|
+
l
|
|
1158
|
+
),
|
|
1159
|
+
onMouseleave: (s) => sa(
|
|
1160
|
+
{
|
|
1161
|
+
...t,
|
|
1162
|
+
color: $.value.colors[t.source.index]
|
|
1163
|
+
},
|
|
1164
|
+
l
|
|
1165
|
+
)
|
|
1046
1166
|
}, null, 46, ho)) : f("", !0),
|
|
1047
1167
|
t.source.value && e.$slots.pattern ? (r(), i("path", {
|
|
1048
1168
|
key: 2,
|
|
1049
|
-
class: j({
|
|
1169
|
+
class: j({
|
|
1170
|
+
"vue-ui-chord-ribbon": !0,
|
|
1171
|
+
"vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !le.value
|
|
1172
|
+
}),
|
|
1050
1173
|
d: ce(t.source, t.target),
|
|
1051
1174
|
fill: `url(#pattern_${M.value}_${t.source.index})`,
|
|
1052
1175
|
stroke: a.value.style.chart.ribbons.stroke,
|
|
@@ -1140,7 +1263,9 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
1140
1263
|
key: `curved-label-${l}`,
|
|
1141
1264
|
"font-size": a.value.style.chart.arcs.labels.fontSize,
|
|
1142
1265
|
"font-weight": a.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
1143
|
-
fill: a.value.style.chart.arcs.labels.adaptColorToBackground ? h(Ta)(
|
|
1266
|
+
fill: a.value.style.chart.arcs.labels.adaptColorToBackground ? h(Ta)(
|
|
1267
|
+
$.value.colors[l]
|
|
1268
|
+
) : a.value.style.chart.arcs.labels.color
|
|
1144
1269
|
}, [
|
|
1145
1270
|
x("textPath", {
|
|
1146
1271
|
href: `#labelPath-${l}_${M.value}`,
|
|
@@ -1184,10 +1309,15 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
1184
1309
|
}, void 0, !0)
|
|
1185
1310
|
], 42, oo)),
|
|
1186
1311
|
e.$slots.hint ? (r(), i("div", Po, [
|
|
1187
|
-
p(e.$slots, "hint", L(D({
|
|
1312
|
+
p(e.$slots, "hint", L(D({
|
|
1313
|
+
hint: a.value.a11y.translations.keyboardNavigation,
|
|
1314
|
+
isVisible: Pe.value
|
|
1315
|
+
})), void 0, !0)
|
|
1188
1316
|
])) : f("", !0),
|
|
1189
1317
|
e.$slots.watermark ? (r(), i("div", Io, [
|
|
1190
|
-
p(e.$slots, "watermark", L(D({
|
|
1318
|
+
p(e.$slots, "watermark", L(D({
|
|
1319
|
+
isPrinting: h(xe) || h(_e) || fe.value || ge.value
|
|
1320
|
+
})), void 0, !0)
|
|
1191
1321
|
])) : f("", !0),
|
|
1192
1322
|
x("div", {
|
|
1193
1323
|
id: `legend-bottom-${M.value}`
|
|
@@ -1320,7 +1450,7 @@ dataset.matrix[${o}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
1320
1450
|
], !0)
|
|
1321
1451
|
], 46, eo));
|
|
1322
1452
|
}
|
|
1323
|
-
}, Qo = /* @__PURE__ */ Ja(Oo, [["__scopeId", "data-v-
|
|
1453
|
+
}, Qo = /* @__PURE__ */ Ja(Oo, [["__scopeId", "data-v-74b05b65"]]);
|
|
1324
1454
|
export {
|
|
1325
1455
|
Qo as default
|
|
1326
1456
|
};
|