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,18 +1,18 @@
|
|
|
1
1
|
import { defineAsyncComponent as Z, computed as M, ref as m, toRefs as Xt, watch as Oe, onMounted as Kt, openBlock as c, createElementBlock as v, unref as s, normalizeStyle as j, normalizeClass as rt, createElementVNode as d, toDisplayString as N, createBlock as Y, createCommentVNode as p, withCtx as C, renderSlot as _, normalizeProps as z, guardReactiveProps as L, createSlots as ut, createVNode as it, Fragment as T, renderList as F, withKeys as dt, withModifiers as ct, mergeProps as Be, resolveDynamicComponent as qt, createTextVNode as vt, nextTick as Ie } from "vue";
|
|
2
|
-
import { j as ht, t as ft, m as Zt, p as $e, n as Yt, s as Jt, o as Qt, q as me, r as Ne, x as G, a4 as pt, K as el, l as B, X as tl, u as w, w as J, k as be, a5 as gt, a6 as _e, a7 as U, a0 as ll, a1 as ol } from "./lib-
|
|
2
|
+
import { j as ht, t as ft, m as Zt, p as $e, n as Yt, s as Jt, o as Qt, q as me, r as Ne, x as G, a4 as pt, K as el, l as B, X as tl, u as w, w as J, k as be, a5 as gt, a6 as _e, a7 as U, a0 as ll, a1 as ol } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as al, u as nl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as sl } from "./useConfig-
|
|
5
|
-
import { u as rl, B as ul } from "./BaseScanner-
|
|
6
|
-
import { u as il } from "./usePrinter-
|
|
7
|
-
import { u as dl } from "./useSvgExport-
|
|
8
|
-
import { u as je } from "./useNestedProp-
|
|
9
|
-
import { u as cl } from "./useThemeCheck-
|
|
10
|
-
import { u as vl } from "./useUserOptionState-
|
|
11
|
-
import { u as hl } from "./useChartAccessibility-
|
|
12
|
-
import fl from "./img-
|
|
13
|
-
import pl from "./Title-
|
|
4
|
+
import { u as sl } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as rl, B as ul } from "./BaseScanner-BON3d_Sx.js";
|
|
6
|
+
import { u as il } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
+
import { u as dl } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as je } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
+
import { u as cl } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
+
import { u as vl } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
+
import { u as hl } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
+
import fl from "./img-CjTQXS0U.js";
|
|
13
|
+
import pl from "./Title-BbKoiBk2.js";
|
|
14
14
|
import gl from "./vue_ui_3d_bar-CL0iX8Qi.js";
|
|
15
|
-
import { A as yl } from "./A11yDataTable-
|
|
15
|
+
import { A as yl } from "./A11yDataTable-BpmuNomI.js";
|
|
16
16
|
import { _ as kl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const $l = ["id"], ml = ["id"], bl = {
|
|
18
18
|
"aria-live": "polite",
|
|
@@ -38,7 +38,17 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
38
38
|
},
|
|
39
39
|
emits: ["selectDatapoint", "copyAlt"],
|
|
40
40
|
setup(yt, { expose: kt, emit: $t }) {
|
|
41
|
-
const mt = Z(() => import("./BaseIcon-
|
|
41
|
+
const mt = Z(() => import("./BaseIcon-DX0hTWa-.js")), bt = Z(() => import("./vue-ui-accordion-BHmfmb_6.js")), _t = Z(() => import("./DataTable-cMnb68Ik.js")), wt = Z(
|
|
42
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
43
|
+
), xt = Z(
|
|
44
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
45
|
+
), Ct = Z(
|
|
46
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
47
|
+
), Pt = Z(
|
|
48
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
49
|
+
), { vue_ui_3d_bar: At } = sl(), { isThemeValid: Mt, warnInvalidTheme: Tt } = cl(), O = yt, ce = $t, ze = M(() => !!O.dataset && Object.keys(O.dataset).length), A = m(ht()), V = m(null), I = m(!1), Le = m(0), Ee = m(0), Ve = m(null), se = m(null), ve = m(null), We = m(null), H = m(!1), re = m(null), we = m(null), he = m(!1), fe = m(!1), E = m(null), X = m(""), e = m(Ce()), pe = M(
|
|
50
|
+
() => e.value.userOptions.useCursorPointer
|
|
51
|
+
), Ft = M(() => ft({
|
|
42
52
|
defaultConfig: {
|
|
43
53
|
customPalette: ["#808080", "#ADADAD", "#DBDBDB"],
|
|
44
54
|
userOptions: { show: !1 },
|
|
@@ -99,7 +109,9 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
99
109
|
defaultConfig: e.value,
|
|
100
110
|
userConfig: Ft.value
|
|
101
111
|
})
|
|
102
|
-
}), { userOptionsVisible: xe, setUserOptionsVisibility: Re, keepUserOptionState: Ge } = vl({ config: e.value }), { svgRef: ue } = hl({
|
|
112
|
+
}), { userOptionsVisible: xe, setUserOptionsVisibility: Re, keepUserOptionState: Ge } = vl({ config: e.value }), { svgRef: ue } = hl({
|
|
113
|
+
config: e.value.style.chart.title
|
|
114
|
+
});
|
|
103
115
|
function Ce() {
|
|
104
116
|
const o = je({
|
|
105
117
|
userConfig: O.config,
|
|
@@ -120,9 +132,13 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
120
132
|
customPalette: i.customPalette.length ? i.customPalette : Zt[a] || $e
|
|
121
133
|
};
|
|
122
134
|
}
|
|
123
|
-
Oe(
|
|
124
|
-
|
|
125
|
-
|
|
135
|
+
Oe(
|
|
136
|
+
() => O.config,
|
|
137
|
+
(o) => {
|
|
138
|
+
Q.value || (e.value = Ce()), xe.value = !e.value.userOptions.showOnChartHover, qe(), Le.value += 1, Ee.value += 1, K.value.showTable = e.value.table.show;
|
|
139
|
+
},
|
|
140
|
+
{ deep: !0 }
|
|
141
|
+
);
|
|
126
142
|
const { isPrinting: Pe, isImaging: Ae, generatePdf: Ue, generateImage: He } = il({
|
|
127
143
|
elementId: `3d_bar_${A.value}`,
|
|
128
144
|
fileName: e.value.style.chart.title.text || "vue-ui-3d-bar",
|
|
@@ -130,12 +146,18 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
130
146
|
}), St = M(() => Yt(e.value.customPalette)), K = m({
|
|
131
147
|
showTable: e.value.table.show
|
|
132
148
|
});
|
|
133
|
-
Oe(
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
149
|
+
Oe(
|
|
150
|
+
e,
|
|
151
|
+
() => {
|
|
152
|
+
K.value = {
|
|
153
|
+
showTable: e.value.table.show
|
|
154
|
+
};
|
|
155
|
+
},
|
|
156
|
+
{ immediate: !0 }
|
|
157
|
+
);
|
|
158
|
+
const x = M(() => D.value.series && D.value.series.length), Me = m(
|
|
159
|
+
e.value.style.chart.box.dimensions.width * (x.value ? 2 : 1)
|
|
160
|
+
), Xe = m(e.value.style.chart.box.dimensions.height), n = M(() => ({
|
|
139
161
|
height: Xe.value,
|
|
140
162
|
width: Me.value,
|
|
141
163
|
absoluteWidth: Me.value,
|
|
@@ -158,7 +180,12 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
158
180
|
for (let l = 0; l < a.length; l += 1)
|
|
159
181
|
t.push({
|
|
160
182
|
...a[l],
|
|
161
|
-
fill: Dt(
|
|
183
|
+
fill: Dt(
|
|
184
|
+
i,
|
|
185
|
+
a[l].proportion,
|
|
186
|
+
a[l].breakdown,
|
|
187
|
+
a[l].color
|
|
188
|
+
)
|
|
162
189
|
}), i += a[l].proportion;
|
|
163
190
|
return t;
|
|
164
191
|
}
|
|
@@ -175,7 +202,9 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
175
202
|
tubeRight: `M${n.value.width - n.value.right},${n.value.top + n.value.perspective} ${n.value.width - n.value.right},${n.value.height - n.value.bottom - n.value.perspective}`,
|
|
176
203
|
tubeBottom: `M${n.value.width - n.value.right},${n.value.height - n.value.bottom - n.value.perspective} C ${n.value.width - n.value.right},${n.value.height} ${n.value.left},${n.value.height} ${n.value.left},${n.value.height - n.value.bottom - n.value.perspective}`
|
|
177
204
|
};
|
|
178
|
-
}), ee = m(
|
|
205
|
+
}), ee = m(
|
|
206
|
+
e.value.style.chart.animation.use ? 0 : D.value.percentage
|
|
207
|
+
);
|
|
179
208
|
function Ke() {
|
|
180
209
|
let o = 0, a = e.value.style.chart.animation.speed, t = 5e-3 * e.value.style.chart.animation.acceleration;
|
|
181
210
|
function i() {
|
|
@@ -244,7 +273,14 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
244
273
|
}
|
|
245
274
|
const te = M(() => n.value.width / 4);
|
|
246
275
|
function Dt(o, a, t, i) {
|
|
247
|
-
const l = n.value.height - n.value.bottom - n.value.top - n.value.perspective * 2, {
|
|
276
|
+
const l = n.value.height - n.value.bottom - n.value.top - n.value.perspective * 2, {
|
|
277
|
+
width: r,
|
|
278
|
+
height: u,
|
|
279
|
+
bottom: $,
|
|
280
|
+
right: R,
|
|
281
|
+
left: k,
|
|
282
|
+
perspective: g
|
|
283
|
+
} = n.value, f = x.value ? r / 4 : r / 2, P = f * 2 + k, h = $ + l * o, De = u - h - g - l * a / 2, Gt = De > n.value.height / 2 ? "top" : "bottom", ot = u * 0.25, Ut = !!t;
|
|
248
284
|
let at = null, nt = null;
|
|
249
285
|
return Ut && (t = t.map((st, Ht) => ({
|
|
250
286
|
...st,
|
|
@@ -309,7 +345,14 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
309
345
|
};
|
|
310
346
|
}
|
|
311
347
|
const le = M(() => {
|
|
312
|
-
const o = el(ee.value / 100), a = n.value.height - n.value.bottom - n.value.top - n.value.perspective * 2, {
|
|
348
|
+
const o = el(ee.value / 100), a = n.value.height - n.value.bottom - n.value.top - n.value.perspective * 2, {
|
|
349
|
+
width: t,
|
|
350
|
+
height: i,
|
|
351
|
+
bottom: l,
|
|
352
|
+
right: r,
|
|
353
|
+
left: u,
|
|
354
|
+
perspective: $
|
|
355
|
+
} = n.value, R = x.value ? t / 4 : t / 2, k = x.value ? R * 2 + u : r, f = l + a * 0;
|
|
313
356
|
return {
|
|
314
357
|
right: `M${R},${i - f} ${R},${i - f - a * o} ${t - k},${i - f - $ - a * o} ${t - k},${i - f - $}Z`,
|
|
315
358
|
left: `M${R},${i - f} ${R},${i - f - a * o} ${u}, ${i - f - $ - a * o} ${u},${i - f - $}Z`,
|
|
@@ -328,12 +371,21 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
328
371
|
};
|
|
329
372
|
}), b = m(null);
|
|
330
373
|
function S(o, a = !1) {
|
|
331
|
-
e.value.events.datapointEnter && !a && e.value.events.datapointEnter({
|
|
374
|
+
e.value.events.datapointEnter && !a && e.value.events.datapointEnter({
|
|
375
|
+
datapoint: o,
|
|
376
|
+
seriesIndex: o.seriesIndex
|
|
377
|
+
}), e.value.events.datapointClick && a && e.value.events.datapointClick({
|
|
378
|
+
datapoint: o,
|
|
379
|
+
seriesIndex: o.seriesIndex
|
|
380
|
+
}), ce("selectDatapoint", o);
|
|
332
381
|
const t = y.value?.findIndex((i) => i.id === o.id) ?? null;
|
|
333
382
|
t !== null && t !== -1 && (E.value = t, X.value = de(o)), a || (b.value = o.id), a && I.value && (I.value = !1), a && !I.value && (I.value = !0);
|
|
334
383
|
}
|
|
335
384
|
function q(o) {
|
|
336
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
385
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
386
|
+
datapoint: o,
|
|
387
|
+
seriesIndex: o.seriesIndex
|
|
388
|
+
}), !I.value && (b.value = null, E.value = null, X.value = "");
|
|
337
389
|
}
|
|
338
390
|
function oe(o, a, t = !1) {
|
|
339
391
|
const i = D.value.series.map((u) => u.value || 0).reduce((u, $) => u + $, 0), l = isNaN(o.value / i) ? 0 : o.value / i * 100, r = isNaN(o.value / Ze(a)) ? 0 : o.value / Ze(a) * 100;
|
|
@@ -351,10 +403,16 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
351
403
|
}
|
|
352
404
|
const ae = M(() => {
|
|
353
405
|
if (x.value) {
|
|
354
|
-
const o = y.value.flatMap((t) => t.breakdown && t.breakdown.length ? [
|
|
355
|
-
name:
|
|
356
|
-
|
|
357
|
-
|
|
406
|
+
const o = y.value.flatMap((t) => t.breakdown && t.breakdown.length ? [
|
|
407
|
+
{ name: t.name, color: t.color },
|
|
408
|
+
...t.breakdown.map((i, l) => ({
|
|
409
|
+
name: i.name,
|
|
410
|
+
color: G(
|
|
411
|
+
t.color,
|
|
412
|
+
l / t.breakdown.length
|
|
413
|
+
)
|
|
414
|
+
}))
|
|
415
|
+
] : {
|
|
358
416
|
name: t.name,
|
|
359
417
|
color: t.color
|
|
360
418
|
}), a = y.value.flatMap((t) => t.breakdown && t.breakdown.length ? [t.value, ...t.breakdown.map((i) => i.value)] : t.value);
|
|
@@ -364,14 +422,27 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
364
422
|
});
|
|
365
423
|
function Te(o = null) {
|
|
366
424
|
if (!x.value) {
|
|
367
|
-
console.warn(
|
|
425
|
+
console.warn(
|
|
426
|
+
"VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)"
|
|
427
|
+
);
|
|
368
428
|
return;
|
|
369
429
|
}
|
|
370
430
|
Ie(() => {
|
|
371
|
-
const a = y.value.map((r) => r.value).reduce((r, u) => r + u, 0), t = ae.value.head.map((r, u) => [
|
|
372
|
-
r.name
|
|
373
|
-
|
|
374
|
-
|
|
431
|
+
const a = y.value.map((r) => r.value).reduce((r, u) => r + u, 0), t = ae.value.head.map((r, u) => [
|
|
432
|
+
[r.name],
|
|
433
|
+
[ae.value.body[u]],
|
|
434
|
+
[
|
|
435
|
+
isNaN(ae.value.body[u] / a) ? "-" : ae.value.body[u] / a * 100
|
|
436
|
+
]
|
|
437
|
+
]), i = [
|
|
438
|
+
[e.value.style.chart.title.text],
|
|
439
|
+
[e.value.style.chart.title.subtitle.text],
|
|
440
|
+
[[""], ["val"], ["%"]]
|
|
441
|
+
].concat(t), l = ll(i);
|
|
442
|
+
o ? o(l) : ol({
|
|
443
|
+
csvContent: l,
|
|
444
|
+
title: e.value.style.chart.title.text || "vue-ui-3d-bar"
|
|
445
|
+
});
|
|
375
446
|
});
|
|
376
447
|
}
|
|
377
448
|
const ne = M(() => {
|
|
@@ -459,7 +530,12 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
459
530
|
}
|
|
460
531
|
async function Bt({ scale: o = 2 } = {}) {
|
|
461
532
|
if (!V.value) return;
|
|
462
|
-
const { width: a, height: t } = V.value.getBoundingClientRect(), i = a / t, { imageUri: l, base64: r } = await fl({
|
|
533
|
+
const { width: a, height: t } = V.value.getBoundingClientRect(), i = a / t, { imageUri: l, base64: r } = await fl({
|
|
534
|
+
domElement: V.value,
|
|
535
|
+
base64: !0,
|
|
536
|
+
img: !0,
|
|
537
|
+
scale: o
|
|
538
|
+
});
|
|
463
539
|
return {
|
|
464
540
|
imageUri: l,
|
|
465
541
|
base64: r,
|
|
@@ -499,9 +575,12 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
499
575
|
}
|
|
500
576
|
};
|
|
501
577
|
});
|
|
502
|
-
Oe(
|
|
503
|
-
|
|
504
|
-
|
|
578
|
+
Oe(
|
|
579
|
+
() => K.value.showTable,
|
|
580
|
+
(o) => {
|
|
581
|
+
e.value.table.show || (o && e.value.table.useDialog && re.value ? re.value.open() : "close" in re.value && re.value.close());
|
|
582
|
+
}
|
|
583
|
+
);
|
|
505
584
|
function Qe() {
|
|
506
585
|
K.value.showTable = !1, we.value && we.value.setTableIconState(!1);
|
|
507
586
|
}
|
|
@@ -515,7 +594,14 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
515
594
|
try {
|
|
516
595
|
if (o) {
|
|
517
596
|
const { blob: a, url: t, text: i, dataUrl: l } = await zt();
|
|
518
|
-
await Promise.resolve(
|
|
597
|
+
await Promise.resolve(
|
|
598
|
+
e.value.userOptions.callbacks.svg({
|
|
599
|
+
blob: a,
|
|
600
|
+
url: t,
|
|
601
|
+
text: i,
|
|
602
|
+
dataUrl: l
|
|
603
|
+
})
|
|
604
|
+
);
|
|
519
605
|
} else
|
|
520
606
|
await Promise.resolve(jt());
|
|
521
607
|
} finally {
|
|
@@ -538,10 +624,17 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
538
624
|
config: e.value,
|
|
539
625
|
dataset: D.value
|
|
540
626
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
541
|
-
console.warn(
|
|
627
|
+
console.warn(
|
|
628
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
629
|
+
);
|
|
542
630
|
return;
|
|
543
631
|
}
|
|
544
|
-
await Promise.resolve(
|
|
632
|
+
await Promise.resolve(
|
|
633
|
+
e.value.userOptions.callbacks.altCopy({
|
|
634
|
+
config: e.value,
|
|
635
|
+
dataset: D.value
|
|
636
|
+
})
|
|
637
|
+
);
|
|
545
638
|
}
|
|
546
639
|
function Et() {
|
|
547
640
|
E.value = null, X.value = "", I.value = !1, b.value = null;
|
|
@@ -574,7 +667,8 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
574
667
|
function Rt(o) {
|
|
575
668
|
if (!x.value || !y.value?.length || !ue.value || document.activeElement !== ue.value) return;
|
|
576
669
|
const a = ["ArrowLeft", "ArrowDown"].includes(o.key), t = ["ArrowRight", "ArrowUp"].includes(o.key), i = o.key === "Enter" || o.key === " ", l = o.key === "Escape";
|
|
577
|
-
if (!a && !t && !i && !l)
|
|
670
|
+
if (!a && !t && !i && !l)
|
|
671
|
+
return;
|
|
578
672
|
if (o.preventDefault(), o.stopPropagation(), l) {
|
|
579
673
|
Et();
|
|
580
674
|
return;
|
|
@@ -783,7 +877,11 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
783
877
|
ref_key: "svgRef",
|
|
784
878
|
ref: ue,
|
|
785
879
|
xmlns: s(tl),
|
|
786
|
-
class: rt({
|
|
880
|
+
class: rt({
|
|
881
|
+
"vue-data-ui-fullscreen--on": ye.value,
|
|
882
|
+
"vue-data-ui-fulscreen--off": !ye.value,
|
|
883
|
+
animated: e.value.useCssAnimation
|
|
884
|
+
}),
|
|
787
885
|
viewBox: `0 0 ${n.value.absoluteWidth} ${n.value.height}`,
|
|
788
886
|
style: j(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`),
|
|
789
887
|
tabindex: "0",
|
|
@@ -811,7 +909,10 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
811
909
|
}, [
|
|
812
910
|
d("stop", {
|
|
813
911
|
offset: "0%",
|
|
814
|
-
"stop-color": s(w)(
|
|
912
|
+
"stop-color": s(w)(
|
|
913
|
+
e.value.style.chart.backgroundColor,
|
|
914
|
+
0
|
|
915
|
+
)
|
|
815
916
|
}, null, 8, Pl),
|
|
816
917
|
d("stop", {
|
|
817
918
|
offset: "100%",
|
|
@@ -823,11 +924,23 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
823
924
|
}, [
|
|
824
925
|
d("stop", {
|
|
825
926
|
offset: "0%",
|
|
826
|
-
"stop-color": s(w)(
|
|
927
|
+
"stop-color": s(w)(
|
|
928
|
+
s(G)(
|
|
929
|
+
e.value.style.chart.bar.color,
|
|
930
|
+
0.5
|
|
931
|
+
),
|
|
932
|
+
80
|
|
933
|
+
)
|
|
827
934
|
}, null, 8, Tl),
|
|
828
935
|
d("stop", {
|
|
829
936
|
offset: "100%",
|
|
830
|
-
"stop-color": s(w)(
|
|
937
|
+
"stop-color": s(w)(
|
|
938
|
+
s(J)(
|
|
939
|
+
e.value.style.chart.bar.color,
|
|
940
|
+
0.1
|
|
941
|
+
),
|
|
942
|
+
80
|
|
943
|
+
)
|
|
831
944
|
}, null, 8, Fl)
|
|
832
945
|
], 8, Ml),
|
|
833
946
|
d("radialGradient", {
|
|
@@ -835,11 +948,17 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
835
948
|
}, [
|
|
836
949
|
d("stop", {
|
|
837
950
|
offset: "0%",
|
|
838
|
-
"stop-color": s(w)(
|
|
951
|
+
"stop-color": s(w)(
|
|
952
|
+
e.value.style.chart.backgroundColor,
|
|
953
|
+
0
|
|
954
|
+
)
|
|
839
955
|
}, null, 8, Dl),
|
|
840
956
|
d("stop", {
|
|
841
957
|
offset: "100%",
|
|
842
|
-
"stop-color": s(w)(
|
|
958
|
+
"stop-color": s(w)(
|
|
959
|
+
e.value.style.chart.bar.color,
|
|
960
|
+
20
|
|
961
|
+
)
|
|
843
962
|
}, null, 8, Ol)
|
|
844
963
|
], 8, Sl),
|
|
845
964
|
d("radialGradient", {
|
|
@@ -847,11 +966,17 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
847
966
|
}, [
|
|
848
967
|
d("stop", {
|
|
849
968
|
offset: "0%",
|
|
850
|
-
"stop-color": s(w)(
|
|
969
|
+
"stop-color": s(w)(
|
|
970
|
+
e.value.style.chart.backgroundColor,
|
|
971
|
+
0
|
|
972
|
+
)
|
|
851
973
|
}, null, 8, Il),
|
|
852
974
|
d("stop", {
|
|
853
975
|
offset: "100%",
|
|
854
|
-
"stop-color": s(w)(
|
|
976
|
+
"stop-color": s(w)(
|
|
977
|
+
e.value.style.chart.bar.color,
|
|
978
|
+
20
|
|
979
|
+
)
|
|
855
980
|
}, null, 8, Nl)
|
|
856
981
|
], 8, Bl),
|
|
857
982
|
d("linearGradient", {
|
|
@@ -867,19 +992,40 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
867
992
|
}, null, 8, zl),
|
|
868
993
|
d("stop", {
|
|
869
994
|
offset: "10%",
|
|
870
|
-
"stop-color": s(w)(
|
|
995
|
+
"stop-color": s(w)(
|
|
996
|
+
s(J)(
|
|
997
|
+
e.value.style.chart.bar.color,
|
|
998
|
+
0.7
|
|
999
|
+
),
|
|
1000
|
+
100
|
|
1001
|
+
)
|
|
871
1002
|
}, null, 8, Ll),
|
|
872
1003
|
d("stop", {
|
|
873
1004
|
offset: "25%",
|
|
874
|
-
"stop-color": s(w)(
|
|
1005
|
+
"stop-color": s(w)(
|
|
1006
|
+
s(J)(
|
|
1007
|
+
e.value.style.chart.bar.color,
|
|
1008
|
+
0.5
|
|
1009
|
+
),
|
|
1010
|
+
100
|
|
1011
|
+
)
|
|
875
1012
|
}, null, 8, El),
|
|
876
1013
|
d("stop", {
|
|
877
1014
|
offset: "75%",
|
|
878
|
-
"stop-color": s(w)(
|
|
1015
|
+
"stop-color": s(w)(
|
|
1016
|
+
e.value.style.chart.bar.color,
|
|
1017
|
+
80
|
|
1018
|
+
)
|
|
879
1019
|
}, null, 8, Vl),
|
|
880
1020
|
d("stop", {
|
|
881
1021
|
offset: "100%",
|
|
882
|
-
"stop-color": s(w)(
|
|
1022
|
+
"stop-color": s(w)(
|
|
1023
|
+
s(G)(
|
|
1024
|
+
e.value.style.chart.bar.color,
|
|
1025
|
+
0.7
|
|
1026
|
+
),
|
|
1027
|
+
100
|
|
1028
|
+
)
|
|
883
1029
|
}, null, 8, Wl)
|
|
884
1030
|
], 8, jl)
|
|
885
1031
|
]),
|
|
@@ -1174,21 +1320,43 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
1174
1320
|
}, N(s(be)(
|
|
1175
1321
|
e.value.style.chart.dataLabel.formatter,
|
|
1176
1322
|
t.value,
|
|
1177
|
-
`${t.name}: ${s(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${s(B)(
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1323
|
+
`${t.name}: ${s(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${s(B)(
|
|
1324
|
+
{
|
|
1325
|
+
p: e.value.style.chart.legend.prefix,
|
|
1326
|
+
v: t.value,
|
|
1327
|
+
s: e.value.style.chart.legend.suffix,
|
|
1328
|
+
r: e.value.style.chart.legend.roundingValue
|
|
1329
|
+
}
|
|
1330
|
+
)})`,
|
|
1331
|
+
{
|
|
1332
|
+
datapoint: t,
|
|
1333
|
+
seriesIndex: i,
|
|
1334
|
+
type: "barDatapoint"
|
|
1335
|
+
}
|
|
1184
1336
|
)), 5)) : p("", !0),
|
|
1185
|
-
_(o.$slots, "legend", Be({ ref_for: !0 }, {
|
|
1337
|
+
_(o.$slots, "legend", Be({ ref_for: !0 }, {
|
|
1338
|
+
datapoint: t,
|
|
1339
|
+
config: e.value,
|
|
1340
|
+
dataset: y.value
|
|
1341
|
+
}), void 0, !0)
|
|
1186
1342
|
], 8, Mo)),
|
|
1187
1343
|
t.fill.donut && b.value === t.id ? (c(), v("g", To, [
|
|
1188
1344
|
(c(!0), v(T, null, F(t.fill.donut, (l, r) => (c(), v("g", null, [
|
|
1189
|
-
oe(
|
|
1345
|
+
oe(
|
|
1346
|
+
l,
|
|
1347
|
+
t.fill.donut,
|
|
1348
|
+
!0
|
|
1349
|
+
) > 6 ? (c(), v("path", {
|
|
1190
1350
|
key: 0,
|
|
1191
|
-
d: s(gt)(
|
|
1351
|
+
d: s(gt)(
|
|
1352
|
+
l,
|
|
1353
|
+
{ x: l.cx, y: l.cy },
|
|
1354
|
+
0,
|
|
1355
|
+
8,
|
|
1356
|
+
!1,
|
|
1357
|
+
!0,
|
|
1358
|
+
10
|
|
1359
|
+
),
|
|
1192
1360
|
stroke: l.color,
|
|
1193
1361
|
class: "vue-ui-donut-arc-path",
|
|
1194
1362
|
"stroke-width": "0.5",
|
|
@@ -1205,7 +1373,11 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
1205
1373
|
"stroke-width": 1
|
|
1206
1374
|
}, null, 8, So))), 256)),
|
|
1207
1375
|
(c(!0), v(T, null, F(t.fill.donut, (l, r) => (c(), v("g", null, [
|
|
1208
|
-
oe(
|
|
1376
|
+
oe(
|
|
1377
|
+
l,
|
|
1378
|
+
t.fill.donut,
|
|
1379
|
+
!0
|
|
1380
|
+
) > 6 ? (c(), v("g", Do, [
|
|
1209
1381
|
d("text", {
|
|
1210
1382
|
"text-anchor": s(U)(l, !0, 0).anchor,
|
|
1211
1383
|
x: s(U)(l, !0, 2).x,
|
|
@@ -1216,13 +1388,19 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
1216
1388
|
}, N(s(be)(
|
|
1217
1389
|
e.value.style.chart.dataLabel.formatter,
|
|
1218
1390
|
l.value,
|
|
1219
|
-
`${oe(l, t.fill.donut)} (${s(B)(
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1391
|
+
`${oe(l, t.fill.donut)} (${s(B)(
|
|
1392
|
+
{
|
|
1393
|
+
p: e.value.style.chart.legend.prefix,
|
|
1394
|
+
v: l.value,
|
|
1395
|
+
s: e.value.style.chart.legend.suffix,
|
|
1396
|
+
r: e.value.style.chart.legend.roundingValue
|
|
1397
|
+
}
|
|
1398
|
+
)})`,
|
|
1399
|
+
{
|
|
1400
|
+
datapoint: l,
|
|
1401
|
+
seriesIndex: r,
|
|
1402
|
+
type: "donutDatapoint"
|
|
1403
|
+
}
|
|
1226
1404
|
)), 9, Oo),
|
|
1227
1405
|
d("text", {
|
|
1228
1406
|
"text-anchor": s(U)(l).anchor,
|
|
@@ -1325,11 +1503,17 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
1325
1503
|
}, [
|
|
1326
1504
|
d("stop", {
|
|
1327
1505
|
offset: "0%",
|
|
1328
|
-
"stop-color": s(w)(
|
|
1506
|
+
"stop-color": s(w)(
|
|
1507
|
+
s(G)(t.color, 0.5),
|
|
1508
|
+
80
|
|
1509
|
+
)
|
|
1329
1510
|
}, null, 8, qo),
|
|
1330
1511
|
d("stop", {
|
|
1331
1512
|
offset: "100%",
|
|
1332
|
-
"stop-color": s(w)(
|
|
1513
|
+
"stop-color": s(w)(
|
|
1514
|
+
s(J)(t.color, 0.1),
|
|
1515
|
+
80
|
|
1516
|
+
)
|
|
1333
1517
|
}, null, 8, Zo)
|
|
1334
1518
|
], 8, Ko),
|
|
1335
1519
|
d("linearGradient", {
|
|
@@ -1345,11 +1529,17 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
1345
1529
|
}, null, 8, Jo),
|
|
1346
1530
|
d("stop", {
|
|
1347
1531
|
offset: "10%",
|
|
1348
|
-
"stop-color": s(w)(
|
|
1532
|
+
"stop-color": s(w)(
|
|
1533
|
+
s(J)(t.color, 0.7),
|
|
1534
|
+
100
|
|
1535
|
+
)
|
|
1349
1536
|
}, null, 8, Qo),
|
|
1350
1537
|
d("stop", {
|
|
1351
1538
|
offset: "25%",
|
|
1352
|
-
"stop-color": s(w)(
|
|
1539
|
+
"stop-color": s(w)(
|
|
1540
|
+
s(J)(t.color, 0.5),
|
|
1541
|
+
100
|
|
1542
|
+
)
|
|
1353
1543
|
}, null, 8, ea),
|
|
1354
1544
|
d("stop", {
|
|
1355
1545
|
offset: "75%",
|
|
@@ -1357,7 +1547,10 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
1357
1547
|
}, null, 8, ta),
|
|
1358
1548
|
d("stop", {
|
|
1359
1549
|
offset: "100%",
|
|
1360
|
-
"stop-color": s(w)(
|
|
1550
|
+
"stop-color": s(w)(
|
|
1551
|
+
s(G)(t.color, 0.7),
|
|
1552
|
+
100
|
|
1553
|
+
)
|
|
1361
1554
|
}, null, 8, la)
|
|
1362
1555
|
], 8, Yo)
|
|
1363
1556
|
]),
|
|
@@ -1438,21 +1631,43 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
1438
1631
|
}, N(s(be)(
|
|
1439
1632
|
e.value.style.chart.dataLabel.formatter,
|
|
1440
1633
|
t.value,
|
|
1441
|
-
`${t.name}: ${s(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${s(B)(
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1634
|
+
`${t.name}: ${s(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${s(B)(
|
|
1635
|
+
{
|
|
1636
|
+
p: e.value.style.chart.legend.prefix,
|
|
1637
|
+
v: t.value,
|
|
1638
|
+
s: e.value.style.chart.legend.suffix,
|
|
1639
|
+
r: e.value.style.chart.legend.roundingValue
|
|
1640
|
+
}
|
|
1641
|
+
)})`,
|
|
1642
|
+
{
|
|
1643
|
+
datapoint: t,
|
|
1644
|
+
seriesIndex: i,
|
|
1645
|
+
type: "barDatapoint"
|
|
1646
|
+
}
|
|
1448
1647
|
)), 5)) : p("", !0),
|
|
1449
|
-
_(o.$slots, "legend", Be({ ref_for: !0 }, {
|
|
1648
|
+
_(o.$slots, "legend", Be({ ref_for: !0 }, {
|
|
1649
|
+
datapoint: t,
|
|
1650
|
+
config: e.value,
|
|
1651
|
+
dataset: y.value
|
|
1652
|
+
}), void 0, !0)
|
|
1450
1653
|
], 8, da)),
|
|
1451
1654
|
t.fill.donut && b.value === t.id ? (c(), v("g", ca, [
|
|
1452
1655
|
(c(!0), v(T, null, F(t.fill.donut, (l, r) => (c(), v("g", null, [
|
|
1453
|
-
oe(
|
|
1656
|
+
oe(
|
|
1657
|
+
l,
|
|
1658
|
+
t.fill.donut,
|
|
1659
|
+
!0
|
|
1660
|
+
) > 6 ? (c(), v("path", {
|
|
1454
1661
|
key: 0,
|
|
1455
|
-
d: s(gt)(
|
|
1662
|
+
d: s(gt)(
|
|
1663
|
+
l,
|
|
1664
|
+
{ x: l.cx, y: l.cy },
|
|
1665
|
+
0,
|
|
1666
|
+
8,
|
|
1667
|
+
!1,
|
|
1668
|
+
!0,
|
|
1669
|
+
10
|
|
1670
|
+
),
|
|
1456
1671
|
stroke: l.color,
|
|
1457
1672
|
class: "vue-ui-donut-arc-path",
|
|
1458
1673
|
"stroke-width": "0.5",
|
|
@@ -1469,7 +1684,11 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
1469
1684
|
"stroke-width": 1
|
|
1470
1685
|
}, null, 8, ha))), 256)),
|
|
1471
1686
|
(c(!0), v(T, null, F(t.fill.donut, (l, r) => (c(), v("g", null, [
|
|
1472
|
-
oe(
|
|
1687
|
+
oe(
|
|
1688
|
+
l,
|
|
1689
|
+
t.fill.donut,
|
|
1690
|
+
!0
|
|
1691
|
+
) > 6 ? (c(), v("g", fa, [
|
|
1473
1692
|
d("text", {
|
|
1474
1693
|
"text-anchor": s(U)(l, !0, 0).anchor,
|
|
1475
1694
|
x: s(U)(l, !0, 2).x,
|
|
@@ -1480,13 +1699,19 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
1480
1699
|
}, N(s(be)(
|
|
1481
1700
|
e.value.style.chart.dataLabel.formatter,
|
|
1482
1701
|
l.value,
|
|
1483
|
-
`${oe(l, t.fill.donut)} (${s(B)(
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1702
|
+
`${oe(l, t.fill.donut)} (${s(B)(
|
|
1703
|
+
{
|
|
1704
|
+
p: e.value.style.chart.legend.prefix,
|
|
1705
|
+
v: l.value,
|
|
1706
|
+
s: e.value.style.chart.legend.suffix,
|
|
1707
|
+
r: e.value.style.chart.legend.roundingValue
|
|
1708
|
+
}
|
|
1709
|
+
)})`,
|
|
1710
|
+
{
|
|
1711
|
+
datapoint: l,
|
|
1712
|
+
seriesIndex: r,
|
|
1713
|
+
type: "donutDatapoint"
|
|
1714
|
+
}
|
|
1490
1715
|
)), 9, pa),
|
|
1491
1716
|
d("text", {
|
|
1492
1717
|
"text-anchor": s(U)(l).anchor,
|
|
@@ -1521,7 +1746,9 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
1521
1746
|
], 46, wl))
|
|
1522
1747
|
]),
|
|
1523
1748
|
o.$slots.watermark ? (c(), v("div", $a, [
|
|
1524
|
-
_(o.$slots, "watermark", z(L({
|
|
1749
|
+
_(o.$slots, "watermark", z(L({
|
|
1750
|
+
isPrinting: s(Pe) || s(Ae) || he.value || fe.value
|
|
1751
|
+
})), void 0, !0)
|
|
1525
1752
|
])) : p("", !0),
|
|
1526
1753
|
o.$slots.source ? (c(), v("div", {
|
|
1527
1754
|
key: 5,
|
|
@@ -1591,7 +1818,7 @@ const $l = ["id"], ml = ["id"], bl = {
|
|
|
1591
1818
|
], !0)
|
|
1592
1819
|
], 44, $l));
|
|
1593
1820
|
}
|
|
1594
|
-
}, La = /* @__PURE__ */ kl(ba, [["__scopeId", "data-v-
|
|
1821
|
+
}, La = /* @__PURE__ */ kl(ba, [["__scopeId", "data-v-29ba63f9"]]);
|
|
1595
1822
|
export {
|
|
1596
1823
|
La as default
|
|
1597
1824
|
};
|