vue-data-ui 3.17.3 → 3.17.5
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-BhhkKVoj.js → BaseScanner-C2j3TsSY.js} +15 -9
- 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-BjeuEImy.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-sUtQffE5.js} +138 -72
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-CWaSxiqw.js → vue-ui-3d-bar-D9T1Rz8K.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-vHYpqVeE.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-B-PfDV7g.js} +92 -35
- package/dist/{vue-ui-bump-BX-bnhix.js → vue-ui-bump-CpQyyxzJ.js} +205 -102
- package/dist/{vue-ui-candlestick-CgtRA-EI.js → vue-ui-candlestick-B5wVhTFS.js} +285 -100
- package/dist/{vue-ui-carousel-table-BnwS5nMG.js → vue-ui-carousel-table-BwrTmEUk.js} +66 -29
- package/dist/{vue-ui-chestnut-3JG1dMba.js → vue-ui-chestnut-DpwRmult.js} +277 -88
- package/dist/{vue-ui-chord-DsA-qrl6.js → vue-ui-chord-Co8hJS-b.js} +226 -96
- package/dist/{vue-ui-circle-pack-BSHUo-L7.js → vue-ui-circle-pack-CF6Dgnfc.js} +196 -111
- package/dist/{vue-ui-cursor-Gqh_JBGA.js → vue-ui-cursor-DH_wY_tf.js} +14 -7
- package/dist/{vue-ui-dag-BTB1DCrs.js → vue-ui-dag-DNbCfrdq.js} +261 -99
- package/dist/{vue-ui-dashboard-xAW1vWaB.js → vue-ui-dashboard-BCpIGFXu.js} +261 -94
- package/dist/{vue-ui-digits-D2wQOhMt.js → vue-ui-digits-D6ndc1-Y.js} +6 -6
- package/dist/{vue-ui-donut-UUgV1d0_.js → vue-ui-donut-CHDVQ77G.js} +532 -157
- package/dist/{vue-ui-donut-evolution-B0EEKpQC.js → vue-ui-donut-evolution-BHGQCixS.js} +311 -92
- package/dist/{vue-ui-dumbbell-Ct2RXkIX.js → vue-ui-dumbbell-Bmr188oI.js} +266 -93
- package/dist/{vue-ui-flow-Ci_h8KNf.js → vue-ui-flow-Bk4XhCzv.js} +121 -48
- package/dist/{vue-ui-funnel-Ciy-udDH.js → vue-ui-funnel-BrNSApwi.js} +91 -39
- package/dist/{vue-ui-galaxy-DJ6_911b.js → vue-ui-galaxy-Q5iomgg7.js} +161 -69
- package/dist/{vue-ui-gauge-CJ5OH_wa.js → vue-ui-gauge-BaWqd5eR.js} +95 -37
- package/dist/{vue-ui-geo-B-8UJvBt.js → vue-ui-geo-BvySgBl9.js} +113 -43
- package/dist/{vue-ui-gizmo-BgdUIouA.js → vue-ui-gizmo-B9wHNMWI.js} +25 -12
- package/dist/{vue-ui-heatmap-ZdZ22EDj.js → vue-ui-heatmap-CHmJrc5H.js} +316 -125
- package/dist/{vue-ui-history-plot-D1vpgQ8I.js → vue-ui-history-plot-DlDV_-XR.js} +186 -73
- package/dist/{vue-ui-horizontal-bar-C1gYSz7t.js → vue-ui-horizontal-bar-DDj9N2Df.js} +151 -56
- package/dist/{vue-ui-kpi-B0sOyO7s.js → vue-ui-kpi-CT4lahy2.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-BiixieE_.js} +226 -120
- package/dist/{vue-ui-mood-radar-Bgd30qfN.js → vue-ui-mood-radar-DPBpYEDx.js} +166 -56
- package/dist/{vue-ui-nested-donuts-CDtrnUDs.js → vue-ui-nested-donuts-DegYxm8S.js} +196 -89
- package/dist/{vue-ui-onion-CeLy3EjT.js → vue-ui-onion-D4hRf3z7.js} +155 -74
- package/dist/{vue-ui-parallel-coordinate-plot-rRuHDWD1.js → vue-ui-parallel-coordinate-plot-DZ015lrs.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-BG8B3jz-.js} +240 -88
- package/dist/{vue-ui-quick-chart-Bbdoq3j3.js → vue-ui-quick-chart-BzNfX1Ry.js} +445 -150
- package/dist/{vue-ui-radar-BF2eWMEl.js → vue-ui-radar-Bjl5EavN.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-CK6hnanW.js} +119 -45
- package/dist/{vue-ui-ridgeline-Lhxi4BNZ.js → vue-ui-ridgeline-ClC-DGEI.js} +349 -85
- package/dist/{vue-ui-rings-D0tnHXEe.js → vue-ui-rings-BtDpfeuS.js} +179 -81
- package/dist/{vue-ui-scatter-CIK8j5sT.js → vue-ui-scatter-CnUnzVb4.js} +282 -102
- package/dist/{vue-ui-skeleton-BD5hXmIt.js → vue-ui-skeleton-CWW9zQ2I.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-DMTsPJrB.js} +76 -31
- package/dist/{vue-ui-sparkbar-D3UXwhmT.js → vue-ui-sparkbar-CNRgbyb6.js} +113 -59
- package/dist/{vue-ui-sparkgauge-BsQY5Cwp.js → vue-ui-sparkgauge-DXOELREA.js} +47 -18
- package/dist/{vue-ui-sparkhistogram-4oHi6IHt.js → vue-ui-sparkhistogram-B83Tb5ee.js} +145 -60
- package/dist/{vue-ui-sparkline-BypShxpX.js → vue-ui-sparkline-PLYMeA9O.js} +226 -68
- package/dist/{vue-ui-sparkstackbar-8dpxOXr_.js → vue-ui-sparkstackbar-C-UNOmDZ.js} +84 -36
- package/dist/{vue-ui-stackbar-BKLo9L3P.js → vue-ui-stackbar-CcVtuQTN.js} +482 -169
- package/dist/{vue-ui-stackline-CSBogzBf.js → vue-ui-stackline-C6c2nPQM.js} +473 -164
- package/dist/{vue-ui-strip-plot-BQiNmxPk.js → vue-ui-strip-plot-iwjHwBgZ.js} +239 -132
- package/dist/{vue-ui-table-CKlHkISC.js → vue-ui-table-CfhBUYL5.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-BZb8f2RN.js} +127 -47
- package/dist/{vue-ui-thermometer-Cy1oHbQ-.js → vue-ui-thermometer-CR4tSQWQ.js} +129 -48
- package/dist/{vue-ui-timer-DsYVGo-1.js → vue-ui-timer-DubcPvRK.js} +32 -15
- package/dist/{vue-ui-tiremarks-BvEM8AvM.js → vue-ui-tiremarks-CFnJT7Pn.js} +90 -35
- package/dist/vue-ui-treemap--bugssUn.js +1748 -0
- package/dist/{vue-ui-waffle-Uo1RM5Yy.js → vue-ui-waffle-K9ojC2iZ.js} +206 -87
- package/dist/{vue-ui-wheel-Cood5EN7.js → vue-ui-wheel-TgOkrNNt.js} +231 -61
- package/dist/{vue-ui-word-cloud-BrQKo4eQ.js → vue-ui-word-cloud-B77SnVWg.js} +443 -350
- package/dist/vue-ui-world-Y0yBodxT.js +14451 -0
- package/dist/{vue-ui-xy-BAlrZ3W9.js → vue-ui-xy-Cs4_NqXo.js} +840 -252
- package/dist/{vue-ui-xy-canvas-BR-Qogdl.js → vue-ui-xy-canvas-BeHqxTFy.js} +448 -159
- package/package.json +120 -119
- package/dist/vue-ui-treemap-5qrvks6n.js +0 -1726
- package/dist/vue-ui-world-Cjm9SD0h.js +0 -1011
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineAsyncComponent as G, computed as $, ref as h, toRefs as Ol, watch as fe, onMounted as Fl, shallowRef as Ft, onBeforeUnmount as Dl, openBlock as u, createElementBlock as r, unref as v, normalizeStyle as pe, normalizeClass as Z, createElementVNode as g, toDisplayString as E, createBlock as V, createCommentVNode as A, withCtx as y, renderSlot as b, normalizeProps as P, guardReactiveProps as S, createSlots as Dt, createVNode as Xe, Fragment as T, renderList as _, withDirectives as Nt, vShow as Vt, Teleport as Nl, resolveDynamicComponent as Vl, mergeProps as Ml, createTextVNode as Mt, nextTick as He } from "vue";
|
|
2
|
-
import { j as zl, t as zt, m as Bl, p as qe, o as El, q as oe, n as Ul, a8 as Y, s as Rl, a4 as je, k as Le, l as D, X as Gl, u as Yl, a as Bt, a6 as Et, a7 as xe, B as Ut, T as Rt, a0 as Wl, a1 as Kl, U as Xl, ai as Gt, K as Je } from "./lib-
|
|
3
|
-
import { b as Hl } from "./labelUtils-
|
|
2
|
+
import { j as zl, t as zt, m as Bl, p as qe, o as El, q as oe, n as Ul, a8 as Y, s as Rl, a4 as je, k as Le, l as D, X as Gl, u as Yl, a as Bt, a6 as Et, a7 as xe, B as Ut, T as Rt, a0 as Wl, a1 as Kl, U as Xl, ai as Gt, K as Je } from "./lib-DMzrGQHK.js";
|
|
3
|
+
import { b as Hl } from "./labelUtils-DX9oyq3C.js";
|
|
4
4
|
import { t as ql, u as jl } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as Jl } from "./useConfig-
|
|
6
|
-
import { u as Ql, B as Zl } from "./BaseScanner-
|
|
7
|
-
import { u as ea } from "./usePrinter-
|
|
8
|
-
import { u as ta } from "./useSvgExport-
|
|
9
|
-
import { u as Qe } from "./useNestedProp-
|
|
10
|
-
import { u as la } from "./useThemeCheck-
|
|
11
|
-
import { u as aa } from "./useUserOptionState-
|
|
12
|
-
import { u as oa } from "./useChartAccessibility-
|
|
13
|
-
import sa from "./img-
|
|
14
|
-
import na from "./Title-
|
|
5
|
+
import { u as Jl } from "./useConfig-DTHxOX6V.js";
|
|
6
|
+
import { u as Ql, B as Zl } from "./BaseScanner-C2j3TsSY.js";
|
|
7
|
+
import { u as ea } from "./usePrinter-C4t8DdQ-.js";
|
|
8
|
+
import { u as ta } from "./useSvgExport-BTG4hVPO.js";
|
|
9
|
+
import { u as Qe } from "./useNestedProp-DH0BEVVS.js";
|
|
10
|
+
import { u as la } from "./useThemeCheck-C9Ccl7U9.js";
|
|
11
|
+
import { u as aa } from "./useUserOptionState-B7Ej974k.js";
|
|
12
|
+
import { u as oa } from "./useChartAccessibility-cp6XQtqi.js";
|
|
13
|
+
import sa from "./img-CjTQXS0U.js";
|
|
14
|
+
import na from "./Title-BbKoiBk2.js";
|
|
15
15
|
import ua from "./vue_ui_nested_donuts-DvTrWT_C.js";
|
|
16
|
-
import ra from "./Legend-
|
|
17
|
-
import { A as ia } from "./A11yDataTable-
|
|
18
|
-
import { B as da } from "./BaseLegendToggle-
|
|
16
|
+
import ra from "./Legend-DGN5lY60.js";
|
|
17
|
+
import { A as ia } from "./A11yDataTable-BpmuNomI.js";
|
|
18
|
+
import { B as da } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
19
19
|
import { _ as ca } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
20
|
const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative" } }, ga = ["xmlns", "aria-describedby", "viewBox"], ya = ["width", "height"], ba = ["id"], ma = ["offset", "stop-color"], wa = ["offset", "stop-opacity"], ka = ["id"], $a = ["id"], Ca = ["id"], Aa = ["flood-color"], La = ["id", "d"], xa = ["d", "fill", "stroke", "stroke-width", "filter"], Ta = ["d", "fill", "stroke", "stroke-width"], _a = { key: 1 }, Pa = ["d", "fill"], Sa = { key: 2 }, Ia = ["font-size", "font-weight", "fill", "dy"], Oa = ["href"], Fa = ["x", "y", "font-size", "font-weight", "fill"], Da = { key: 3 }, Na = ["filter"], Va = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ma = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], za = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], Ba = {
|
|
21
21
|
key: 0,
|
|
@@ -46,7 +46,15 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
46
46
|
},
|
|
47
47
|
emits: ["selectLegend", "selectDatapoint", "copyAlt"],
|
|
48
48
|
setup(Yt, { expose: Wt, emit: Kt }) {
|
|
49
|
-
const Xt = G(() => import("./Tooltip-
|
|
49
|
+
const Xt = G(() => import("./Tooltip-Cvt7Fi0Q.js")), Ht = G(() => import("./BaseIcon-DX0hTWa-.js")), qt = G(() => import("./vue-ui-accordion-BHmfmb_6.js")), jt = G(() => import("./DataTable-cMnb68Ik.js")), Jt = G(
|
|
50
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
51
|
+
), Qt = G(
|
|
52
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
53
|
+
), Zt = G(
|
|
54
|
+
() => import("./PackageVersion-BjeuEImy.js")
|
|
55
|
+
), el = G(
|
|
56
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
57
|
+
), { vue_ui_nested_donuts: tl } = Jl(), { isThemeValid: ll, warnInvalidTheme: al } = la(), I = Yt, Te = $({
|
|
50
58
|
get() {
|
|
51
59
|
return !!I.dataset && I.dataset.length;
|
|
52
60
|
},
|
|
@@ -57,7 +65,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
57
65
|
function rt(t) {
|
|
58
66
|
X.value = t, Ze.value += 1;
|
|
59
67
|
}
|
|
60
|
-
const e = h(De()), H = $(
|
|
68
|
+
const e = h(De()), H = $(
|
|
69
|
+
() => e.value.userOptions.useCursorPointer
|
|
70
|
+
), it = {
|
|
61
71
|
name: "",
|
|
62
72
|
series: [
|
|
63
73
|
{
|
|
@@ -90,7 +100,11 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
90
100
|
dataLabels: { show: !1 }
|
|
91
101
|
}
|
|
92
102
|
},
|
|
93
|
-
legend: {
|
|
103
|
+
legend: {
|
|
104
|
+
backgroundColor: "transparent",
|
|
105
|
+
showValue: !1,
|
|
106
|
+
showPercentage: !1
|
|
107
|
+
},
|
|
94
108
|
title: {
|
|
95
109
|
color: "#1A1A1A",
|
|
96
110
|
subtitle: {
|
|
@@ -176,10 +190,19 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
176
190
|
const Ce = [];
|
|
177
191
|
let Re = 0;
|
|
178
192
|
I.dataset.forEach((Ae, Ge) => {
|
|
179
|
-
const _l = Je(
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
193
|
+
const _l = Je(
|
|
194
|
+
Ae.series.reduce(
|
|
195
|
+
(We, Ke) => We + Je(
|
|
196
|
+
Y(Ke.values).reduce(
|
|
197
|
+
(Sl, Il) => Sl + Il,
|
|
198
|
+
0
|
|
199
|
+
)
|
|
200
|
+
),
|
|
201
|
+
0
|
|
202
|
+
)
|
|
203
|
+
), Pl = Je(
|
|
204
|
+
K.value.slice(Re, Re + Ae.series.length).reduce((We, Ke) => We + Ke, 0)
|
|
205
|
+
), Ye = _l - Pl;
|
|
183
206
|
Ye > Number.MIN_VALUE && Ce.push({
|
|
184
207
|
name: "__ghost__",
|
|
185
208
|
arcOf: Ae.name,
|
|
@@ -273,15 +296,19 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
273
296
|
showTable: e.value.table.show,
|
|
274
297
|
showTooltip: e.value.style.chart.tooltip.show
|
|
275
298
|
});
|
|
276
|
-
fe(
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
299
|
+
fe(
|
|
300
|
+
e,
|
|
301
|
+
() => {
|
|
302
|
+
L.value = {
|
|
303
|
+
dataLabels: {
|
|
304
|
+
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
305
|
+
},
|
|
306
|
+
showTable: e.value.table.show,
|
|
307
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
308
|
+
};
|
|
309
|
+
},
|
|
310
|
+
{ immediate: !0 }
|
|
311
|
+
);
|
|
285
312
|
const p = h({
|
|
286
313
|
width: e.value.style.chart.width,
|
|
287
314
|
height: e.value.style.chart.height
|
|
@@ -348,7 +375,10 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
348
375
|
datasetIndex: l,
|
|
349
376
|
id: `${f.value}_${l}`,
|
|
350
377
|
series: s.series.map((o, a) => {
|
|
351
|
-
const n = Y(o.values).reduce(
|
|
378
|
+
const n = Y(o.values).reduce(
|
|
379
|
+
(d, c) => d + c,
|
|
380
|
+
0
|
|
381
|
+
);
|
|
352
382
|
return {
|
|
353
383
|
name: o.name,
|
|
354
384
|
arcOf: s.name,
|
|
@@ -363,9 +393,13 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
363
393
|
})
|
|
364
394
|
}));
|
|
365
395
|
});
|
|
366
|
-
fe(
|
|
367
|
-
|
|
368
|
-
|
|
396
|
+
fe(
|
|
397
|
+
() => I.dataset,
|
|
398
|
+
(t) => {
|
|
399
|
+
Array.isArray(t) && t.length > 0 && (Oe.value = !1);
|
|
400
|
+
},
|
|
401
|
+
{ immediate: !0 }
|
|
402
|
+
);
|
|
369
403
|
const B = $(() => Math.min(p.value.height, p.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), mt = $(() => [...O.value].map((t, s) => {
|
|
370
404
|
const l = t.series.filter((o) => !m.value.includes(o.id)).map((o) => o.value).reduce((o, a) => o + a, 0);
|
|
371
405
|
return {
|
|
@@ -424,12 +458,16 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
424
458
|
onUpdate: (i) => {
|
|
425
459
|
C.value = C.value.map((w) => ({
|
|
426
460
|
...w,
|
|
427
|
-
series: w.series.map(
|
|
461
|
+
series: w.series.map(
|
|
462
|
+
(x) => x.id === t.id ? { ...x, value: i } : x
|
|
463
|
+
)
|
|
428
464
|
}));
|
|
429
465
|
}
|
|
430
466
|
}) : C.value = C.value.map((i) => ({
|
|
431
467
|
...i,
|
|
432
|
-
series: i.series.map(
|
|
468
|
+
series: i.series.map(
|
|
469
|
+
(w) => w.id === t.id ? { ...w, value: l } : w
|
|
470
|
+
)
|
|
433
471
|
}))) : k && (e.value.serieToggleAnimation.show ? bt({
|
|
434
472
|
from: n,
|
|
435
473
|
to: 0,
|
|
@@ -437,7 +475,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
437
475
|
onUpdate: (i) => {
|
|
438
476
|
C.value = C.value.map((w) => ({
|
|
439
477
|
...w,
|
|
440
|
-
series: w.series.map(
|
|
478
|
+
series: w.series.map(
|
|
479
|
+
(x) => x.id === t.id ? { ...x, value: i } : x
|
|
480
|
+
)
|
|
441
481
|
}));
|
|
442
482
|
},
|
|
443
483
|
onDone: () => {
|
|
@@ -445,7 +485,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
445
485
|
}
|
|
446
486
|
}) : (C.value = C.value.map((i) => ({
|
|
447
487
|
...i,
|
|
448
|
-
series: i.series.map(
|
|
488
|
+
series: i.series.map(
|
|
489
|
+
(w) => w.id === t.id ? { ...w, value: 0 } : w
|
|
490
|
+
)
|
|
449
491
|
})), m.value.push(t.id)));
|
|
450
492
|
}
|
|
451
493
|
function wt(t) {
|
|
@@ -471,9 +513,15 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
471
513
|
...k,
|
|
472
514
|
value: k.value < 1e-11 ? Number.MIN_VALUE : k.value
|
|
473
515
|
})), d = je(
|
|
474
|
-
{
|
|
475
|
-
|
|
476
|
-
|
|
516
|
+
{
|
|
517
|
+
series: [
|
|
518
|
+
{
|
|
519
|
+
name: "_",
|
|
520
|
+
color: e.value.style.chart.layout.donut.emptyFill,
|
|
521
|
+
value: 1
|
|
522
|
+
}
|
|
523
|
+
]
|
|
524
|
+
},
|
|
477
525
|
p.value.width / 2,
|
|
478
526
|
p.value.height / 2,
|
|
479
527
|
o,
|
|
@@ -529,13 +577,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
529
577
|
function vl({ datapoint: t, seriesIndex: s }) {
|
|
530
578
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), se.value = !1, we.value = null, ne.value = null, le.value = null, Q.value = null, N.value = null, ie.value = "pointer";
|
|
531
579
|
}
|
|
532
|
-
function Ct({
|
|
533
|
-
val: t,
|
|
534
|
-
percentage: s,
|
|
535
|
-
showVal: l,
|
|
536
|
-
showPercentage: o,
|
|
537
|
-
config: a
|
|
538
|
-
}) {
|
|
580
|
+
function Ct({ val: t, percentage: s, showVal: l, showPercentage: o, config: a }) {
|
|
539
581
|
return Hl({
|
|
540
582
|
config: a,
|
|
541
583
|
val: t,
|
|
@@ -544,7 +586,12 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
544
586
|
showPercentage: o
|
|
545
587
|
});
|
|
546
588
|
}
|
|
547
|
-
function At({
|
|
589
|
+
function At({
|
|
590
|
+
datapoint: t,
|
|
591
|
+
_relativeIndex: s,
|
|
592
|
+
seriesIndex: l,
|
|
593
|
+
triggerMode: o = "pointer"
|
|
594
|
+
}) {
|
|
548
595
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), ie.value = o, N.value = l, we.value = t.arcOfId, le.value = t.id, Q.value = l, ne.value = t.id, ke.value = {
|
|
549
596
|
datapoint: t,
|
|
550
597
|
seriesIndex: l,
|
|
@@ -649,18 +696,15 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
649
696
|
const l = t.series.filter(
|
|
650
697
|
(a) => !m.value.includes(a.id)
|
|
651
698
|
), o = W.value ? l.map((a) => {
|
|
652
|
-
const n = q.value[s].series.findIndex(
|
|
653
|
-
(d) => d.name === a.name
|
|
654
|
-
);
|
|
699
|
+
const n = q.value[s].series.findIndex((d) => d.name === a.name);
|
|
655
700
|
return Y(
|
|
656
701
|
q.value[s].series[n].values
|
|
657
702
|
).reduce((d, c) => d + c, 0);
|
|
658
703
|
}).reduce((a, n) => a + n, 0) : l.map((a) => a.value).reduce((a, n) => a + n, 0);
|
|
659
704
|
return t.series.map((a, n) => {
|
|
660
|
-
const d = Y(
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
), c = W.value ? d : a.value, k = Le(
|
|
705
|
+
const d = Y(
|
|
706
|
+
q.value[s].series[n].values
|
|
707
|
+
).reduce((ve, he) => ve + he, 0), c = W.value ? d : a.value, k = Le(
|
|
664
708
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
665
709
|
c,
|
|
666
710
|
D({
|
|
@@ -799,7 +843,12 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
799
843
|
}
|
|
800
844
|
async function pl({ scale: t = 2 } = {}) {
|
|
801
845
|
if (!M.value) return;
|
|
802
|
-
const { width: s, height: l } = M.value.getBoundingClientRect(), o = s / l, { imageUri: a, base64: n } = await sa({
|
|
846
|
+
const { width: s, height: l } = M.value.getBoundingClientRect(), o = s / l, { imageUri: a, base64: n } = await sa({
|
|
847
|
+
domElement: M.value,
|
|
848
|
+
base64: !0,
|
|
849
|
+
img: !0,
|
|
850
|
+
scale: t
|
|
851
|
+
});
|
|
803
852
|
return {
|
|
804
853
|
imageUri: a,
|
|
805
854
|
base64: n,
|
|
@@ -813,7 +862,10 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
813
862
|
function gl() {
|
|
814
863
|
if (!Ee.value) return;
|
|
815
864
|
const { x: t, y: s, width: l, height: o } = Ee.value.getBBox();
|
|
816
|
-
z.value && z.value.setAttribute(
|
|
865
|
+
z.value && z.value.setAttribute(
|
|
866
|
+
"viewBox",
|
|
867
|
+
`${t} ${s} ${l + Math.min(0, t)} ${o + Math.min(0, s)}`
|
|
868
|
+
);
|
|
817
869
|
}
|
|
818
870
|
const ce = $(() => {
|
|
819
871
|
const t = e.value.table.useDialog && !e.value.table.show, s = L.value.showTable;
|
|
@@ -846,16 +898,21 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
846
898
|
}
|
|
847
899
|
};
|
|
848
900
|
});
|
|
849
|
-
fe(
|
|
850
|
-
|
|
851
|
-
|
|
901
|
+
fe(
|
|
902
|
+
() => L.value.showTable,
|
|
903
|
+
(t) => {
|
|
904
|
+
e.value.table.show || (t && e.value.table.useDialog && re.value ? re.value.open() : "close" in re.value && re.value.close());
|
|
905
|
+
}
|
|
906
|
+
);
|
|
852
907
|
function St() {
|
|
853
908
|
L.value.showTable = !1, Se.value && Se.value.setTableIconState(!1);
|
|
854
909
|
}
|
|
855
|
-
const yl = $(() => e.value.style.chart.backgroundColor), bl = $(() => e.value.style.chart.legend), ml = $(() => e.value.style.chart.title), wl = $(
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
910
|
+
const yl = $(() => e.value.style.chart.backgroundColor), bl = $(() => e.value.style.chart.legend), ml = $(() => e.value.style.chart.title), wl = $(
|
|
911
|
+
() => $e.value.flat().map((t) => ({
|
|
912
|
+
...t,
|
|
913
|
+
name: t.svgDisplay
|
|
914
|
+
}))
|
|
915
|
+
), { exportSvg: kl, getSvg: $l } = ta({
|
|
859
916
|
svg: z,
|
|
860
917
|
title: ml,
|
|
861
918
|
legend: bl,
|
|
@@ -867,7 +924,14 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
867
924
|
try {
|
|
868
925
|
if (t) {
|
|
869
926
|
const { blob: s, url: l, text: o, dataUrl: a } = await $l();
|
|
870
|
-
await Promise.resolve(
|
|
927
|
+
await Promise.resolve(
|
|
928
|
+
e.value.userOptions.callbacks.svg({
|
|
929
|
+
blob: s,
|
|
930
|
+
url: l,
|
|
931
|
+
text: o,
|
|
932
|
+
dataUrl: a
|
|
933
|
+
})
|
|
934
|
+
);
|
|
871
935
|
} else
|
|
872
936
|
await Promise.resolve(kl());
|
|
873
937
|
} finally {
|
|
@@ -890,13 +954,17 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
890
954
|
config: e.value,
|
|
891
955
|
dataset: C.value
|
|
892
956
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
893
|
-
console.warn(
|
|
957
|
+
console.warn(
|
|
958
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
959
|
+
);
|
|
894
960
|
return;
|
|
895
961
|
}
|
|
896
|
-
await Promise.resolve(
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
962
|
+
await Promise.resolve(
|
|
963
|
+
e.value.userOptions.callbacks.altCopy({
|
|
964
|
+
config: e.value,
|
|
965
|
+
dataset: C.value
|
|
966
|
+
})
|
|
967
|
+
);
|
|
900
968
|
}
|
|
901
969
|
const F = $(() => J.value.flatMap((t) => t.donut.filter((s) => !s.ghost)));
|
|
902
970
|
function Al() {
|
|
@@ -908,7 +976,8 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
908
976
|
function xl(t) {
|
|
909
977
|
if (!z.value || de.value || document.activeElement !== z.value || !F.value.length) return;
|
|
910
978
|
const s = ["ArrowLeft", "ArrowUp"].includes(t.key), l = ["ArrowRight", "ArrowDown"].includes(t.key), o = t.key === "Enter" || t.key === " ", a = t.key === "Escape";
|
|
911
|
-
if (!s && !l && !o && !a)
|
|
979
|
+
if (!s && !l && !o && !a)
|
|
980
|
+
return;
|
|
912
981
|
if (t.preventDefault(), t.stopPropagation(), a) {
|
|
913
982
|
N.value = null, ie.value = "pointer", se.value = !1, we.value = null, ne.value = null, le.value = null, Q.value = null;
|
|
914
983
|
return;
|
|
@@ -1266,7 +1335,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1266
1335
|
}, null, 8, La))), 128))
|
|
1267
1336
|
]),
|
|
1268
1337
|
(u(!0), r(T, null, _(J.value, (l, o) => (u(), r("g", null, [
|
|
1269
|
-
l.hasData ? (u(!0), r(T, { key: 0 }, _(l.donut.filter(
|
|
1338
|
+
l.hasData ? (u(!0), r(T, { key: 0 }, _(l.donut.filter(
|
|
1339
|
+
(a) => !a.ghost
|
|
1340
|
+
), (a, n) => (u(), r("g", null, [
|
|
1270
1341
|
g("path", {
|
|
1271
1342
|
class: "vue-ui-donut-arc-path",
|
|
1272
1343
|
d: a.arcSlice,
|
|
@@ -1300,7 +1371,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1300
1371
|
(u(!0), r(T, null, _(l.donut, (a, n) => (u(), r("g", null, [
|
|
1301
1372
|
n === 0 && p.value.width && p.value.height ? (u(), r("text", {
|
|
1302
1373
|
key: 0,
|
|
1303
|
-
class: Z({
|
|
1374
|
+
class: Z({
|
|
1375
|
+
animated: e.value.useCssAnimation
|
|
1376
|
+
}),
|
|
1304
1377
|
"text-anchor": "middle",
|
|
1305
1378
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1306
1379
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
@@ -1323,7 +1396,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1323
1396
|
(u(!0), r(T, null, _(l.donut, (a, n) => (u(), r("g", null, [
|
|
1324
1397
|
n === 0 && p.value.width && p.value.height ? (u(), r("text", {
|
|
1325
1398
|
key: 0,
|
|
1326
|
-
class: Z({
|
|
1399
|
+
class: Z({
|
|
1400
|
+
animated: e.value.useCssAnimation
|
|
1401
|
+
}),
|
|
1327
1402
|
x: p.value.width / 2,
|
|
1328
1403
|
y: a.startY - e.value.style.chart.layout.labels.dataLabels.fontSize + e.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,
|
|
1329
1404
|
"text-anchor": "middle",
|
|
@@ -1339,11 +1414,15 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1339
1414
|
])) : A("", !0),
|
|
1340
1415
|
e.value.style.chart.layout.labels.dataLabels.show ? (u(), r("g", Da, [
|
|
1341
1416
|
(u(!0), r(T, null, _(J.value, (l, o) => (u(), r("g", null, [
|
|
1342
|
-
(u(!0), r(T, null, _(l.donut.filter(
|
|
1417
|
+
(u(!0), r(T, null, _(l.donut.filter(
|
|
1418
|
+
(a) => !a.ghost
|
|
1419
|
+
), (a, n) => (u(), r("g", {
|
|
1343
1420
|
filter: xt(a, n)
|
|
1344
1421
|
}, [
|
|
1345
1422
|
Nt(g("text", {
|
|
1346
|
-
class: Z({
|
|
1423
|
+
class: Z({
|
|
1424
|
+
animated: e.value.useCssAnimation
|
|
1425
|
+
}),
|
|
1347
1426
|
opacity: Lt(a) ? 1 : 0,
|
|
1348
1427
|
"text-anchor": v(xe)(a, !0).anchor,
|
|
1349
1428
|
x: v(xe)(
|
|
@@ -1368,10 +1447,15 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1368
1447
|
e.value.style.chart.layout.labels.dataLabels.usePercentageParens ? "(" : "",
|
|
1369
1448
|
e.value.style.chart.layout.labels.dataLabels.usePercentageParens ? ")" : ""
|
|
1370
1449
|
)), 11, Va), [
|
|
1371
|
-
[
|
|
1450
|
+
[
|
|
1451
|
+
Vt,
|
|
1452
|
+
L.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage
|
|
1453
|
+
]
|
|
1372
1454
|
]),
|
|
1373
1455
|
Nt(g("text", {
|
|
1374
|
-
class: Z({
|
|
1456
|
+
class: Z({
|
|
1457
|
+
animated: e.value.useCssAnimation
|
|
1458
|
+
}),
|
|
1375
1459
|
opacity: Lt(a) ? 1 : 0,
|
|
1376
1460
|
"text-anchor": v(xe)(a, !0).anchor,
|
|
1377
1461
|
x: v(xe)(
|
|
@@ -1397,12 +1481,19 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1397
1481
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
1398
1482
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
1399
1483
|
}),
|
|
1400
|
-
{
|
|
1484
|
+
{
|
|
1485
|
+
datapoint: a,
|
|
1486
|
+
seriesIndex: o,
|
|
1487
|
+
datapointIndex: n
|
|
1488
|
+
}
|
|
1401
1489
|
),
|
|
1402
1490
|
e.value.style.chart.layout.labels.dataLabels.useValueParens ? "(" : "",
|
|
1403
1491
|
e.value.style.chart.layout.labels.dataLabels.useValueParens ? ")" : ""
|
|
1404
1492
|
)), 11, Ma), [
|
|
1405
|
-
[
|
|
1493
|
+
[
|
|
1494
|
+
Vt,
|
|
1495
|
+
L.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showValue
|
|
1496
|
+
]
|
|
1406
1497
|
])
|
|
1407
1498
|
], 8, Na))), 256))
|
|
1408
1499
|
]))), 256))
|
|
@@ -1414,11 +1505,20 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1414
1505
|
fill: ne.value === a.id ? e.value.style.chart.layout.donut.selectedColor : "transparent",
|
|
1415
1506
|
onMouseenter: (d) => At({
|
|
1416
1507
|
datapoint: a,
|
|
1417
|
-
relativeIndex: F.value.findIndex(
|
|
1508
|
+
relativeIndex: F.value.findIndex(
|
|
1509
|
+
(c) => c.id === a.id
|
|
1510
|
+
),
|
|
1418
1511
|
seriesIndex: a.seriesIndex
|
|
1419
1512
|
}),
|
|
1420
|
-
onClick: (d) => yt({
|
|
1421
|
-
|
|
1513
|
+
onClick: (d) => yt({
|
|
1514
|
+
datapoint: a,
|
|
1515
|
+
index: n,
|
|
1516
|
+
seriesIndex: a.seriesIndex
|
|
1517
|
+
}),
|
|
1518
|
+
onMouseleave: (d) => vl({
|
|
1519
|
+
datapoint: a,
|
|
1520
|
+
seriesIndex: a.seriesIndex
|
|
1521
|
+
})
|
|
1422
1522
|
}, null, 40, za)
|
|
1423
1523
|
]))), 256))
|
|
1424
1524
|
]))), 256)),
|
|
@@ -1432,11 +1532,16 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1432
1532
|
], 512)
|
|
1433
1533
|
], 46, ga)),
|
|
1434
1534
|
t.$slots.hint ? (u(), r("div", Ba, [
|
|
1435
|
-
b(t.$slots, "hint", P(S({
|
|
1535
|
+
b(t.$slots, "hint", P(S({
|
|
1536
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1537
|
+
isVisible: Ie.value
|
|
1538
|
+
})), void 0, !0)
|
|
1436
1539
|
])) : A("", !0)
|
|
1437
1540
|
]),
|
|
1438
1541
|
t.$slots.watermark ? (u(), r("div", Ea, [
|
|
1439
|
-
b(t.$slots, "watermark", P(S({
|
|
1542
|
+
b(t.$slots, "watermark", P(S({
|
|
1543
|
+
isPrinting: v(Ne) || v(Ve) || ge.value || ye.value
|
|
1544
|
+
})), void 0, !0)
|
|
1440
1545
|
])) : A("", !0),
|
|
1441
1546
|
Xe(v(Xt), {
|
|
1442
1547
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
@@ -1483,7 +1588,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1483
1588
|
key: 0,
|
|
1484
1589
|
ref_key: "chartLegend",
|
|
1485
1590
|
ref: Pe,
|
|
1486
|
-
class: Z({
|
|
1591
|
+
class: Z({
|
|
1592
|
+
"vue-ui-nested-donuts-legend": $e.value.length > 1
|
|
1593
|
+
})
|
|
1487
1594
|
}, [
|
|
1488
1595
|
(u(!0), r(T, null, _($e.value, (l, o) => (u(), V(ra, {
|
|
1489
1596
|
key: `legend_${o}_${st.value}`,
|
|
@@ -1592,7 +1699,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1592
1699
|
], !0)
|
|
1593
1700
|
], 46, va));
|
|
1594
1701
|
}
|
|
1595
|
-
}, vo = /* @__PURE__ */ ca(Wa, [["__scopeId", "data-v-
|
|
1702
|
+
}, vo = /* @__PURE__ */ ca(Wa, [["__scopeId", "data-v-5d2304e8"]]);
|
|
1596
1703
|
export {
|
|
1597
1704
|
vo as default
|
|
1598
1705
|
};
|