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,8 +1,8 @@
|
|
|
1
1
|
import { useCssVars as $, computed as u, ref as r, onMounted as O, watch as z, openBlock as i, createElementBlock as m, createElementVNode as l, normalizeStyle as s, normalizeClass as D, renderSlot as c, normalizeProps as d, mergeProps as N, createBlock as P, createCommentVNode as x, guardReactiveProps as p } from "vue";
|
|
2
|
-
import B from "./BaseIcon-
|
|
3
|
-
import { u as I } from "./useNestedProp-
|
|
4
|
-
import { j as w } from "./lib-
|
|
5
|
-
import { u as A } from "./useConfig-
|
|
2
|
+
import B from "./BaseIcon-DX0hTWa-.js";
|
|
3
|
+
import { u as I } from "./useNestedProp-DH0BEVVS.js";
|
|
4
|
+
import { j as w } from "./lib-DMzrGQHK.js";
|
|
5
|
+
import { u as A } from "./useConfig-DTHxOX6V.js";
|
|
6
6
|
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const S = { class: "vue-data-ui-component" }, E = ["id"], V = {
|
|
8
8
|
key: 0,
|
|
@@ -22,19 +22,22 @@ const S = { class: "vue-data-ui-component" }, E = ["id"], V = {
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
emits: ["toggle"],
|
|
25
|
-
setup(t, { emit:
|
|
25
|
+
setup(t, { emit: g }) {
|
|
26
26
|
$((o) => ({
|
|
27
|
-
|
|
27
|
+
fc620ee6: b.value
|
|
28
28
|
}));
|
|
29
|
-
const { vue_ui_accordion:
|
|
29
|
+
const { vue_ui_accordion: f } = A(), h = t, C = g, e = u(() => I({
|
|
30
30
|
userConfig: h.config,
|
|
31
|
-
defaultConfig:
|
|
31
|
+
defaultConfig: f
|
|
32
32
|
})), k = u(() => e.value.useCursorPointer), a = r(e.value.open), y = r(w()), n = r(null), v = r(0);
|
|
33
33
|
O(() => {
|
|
34
34
|
n.value.open = e.value.open;
|
|
35
|
-
}), z(
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
}), z(
|
|
36
|
+
() => e.value.open,
|
|
37
|
+
(o) => {
|
|
38
|
+
n.value.open = o;
|
|
39
|
+
}
|
|
40
|
+
);
|
|
38
41
|
function _() {
|
|
39
42
|
(v.value > 0 || !e.value.open) && (a.value = !a.value), v.value += 1, C("toggle");
|
|
40
43
|
}
|
|
@@ -55,7 +58,12 @@ const S = { class: "vue-data-ui-component" }, E = ["id"], V = {
|
|
|
55
58
|
style: s(`background:${e.value.head.backgroundColor};padding:${e.value.head.padding}; ${t.hideDetails ? "height: 0px !important; padding: 0 !important;" : ""}`)
|
|
56
59
|
}, [
|
|
57
60
|
t.hideDetails ? x("", !0) : (i(), m("div", V, [
|
|
58
|
-
e.value.head.useArrowSlot ? c(o.$slots, "arrow", d(N({ key: 0 }, {
|
|
61
|
+
e.value.head.useArrowSlot ? c(o.$slots, "arrow", d(N({ key: 0 }, {
|
|
62
|
+
backgroundColor: e.value.head.backgroundColor,
|
|
63
|
+
color: e.value.head.color,
|
|
64
|
+
iconColor: e.value.head.iconColor,
|
|
65
|
+
isOpen: a.value
|
|
66
|
+
})), void 0, !0) : (i(), P(B, {
|
|
59
67
|
key: 1,
|
|
60
68
|
name: e.value.head.icon,
|
|
61
69
|
stroke: e.value.head.iconColor,
|
|
@@ -70,11 +78,15 @@ const S = { class: "vue-data-ui-component" }, E = ["id"], V = {
|
|
|
70
78
|
class: "vue-ui-accordion-content",
|
|
71
79
|
style: s(`background:${e.value.body.backgroundColor};color:${e.value.body.color}`)
|
|
72
80
|
}, [
|
|
73
|
-
c(o.$slots, "content", d(p({
|
|
81
|
+
c(o.$slots, "content", d(p({
|
|
82
|
+
backgroundColor: e.value.body.backgroundColor,
|
|
83
|
+
color: e.value.body.color,
|
|
84
|
+
isOpen: a.value
|
|
85
|
+
})), void 0, !0)
|
|
74
86
|
], 4)
|
|
75
87
|
]));
|
|
76
88
|
}
|
|
77
|
-
}, q = /* @__PURE__ */ F(j, [["__scopeId", "data-v-
|
|
89
|
+
}, q = /* @__PURE__ */ F(j, [["__scopeId", "data-v-2782a9e6"]]);
|
|
78
90
|
export {
|
|
79
91
|
q as default
|
|
80
92
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineAsyncComponent as I, computed as g, ref as r, toRefs as Mt, watch as te, shallowRef as We, onMounted as Nt, onBeforeUnmount as Ke, watchEffect as Et, openBlock as u, createElementBlock as v, unref as n, normalizeStyle as le, normalizeClass as Xe, createElementVNode as f, toDisplayString as T, createBlock as R, createCommentVNode as p, withCtx as c, renderSlot as y, normalizeProps as x, guardReactiveProps as w, createSlots as je, createVNode as he, Fragment as O, renderList as M, resolveDynamicComponent as Bt, mergeProps as Ut, createTextVNode as ge, nextTick as pe } from "vue";
|
|
2
|
-
import { j as Vt, t as Ye, o as qe, q as Gt, K as k, X as Ht, u as be, v as Je, k as N, l as E, a0 as Wt, a1 as Kt, T as Xt, U as jt, a3 as Yt } from "./lib-
|
|
2
|
+
import { j as Vt, t as Ye, o as qe, q as Gt, K as k, X as Ht, u as be, v as Je, k as N, l as E, a0 as Wt, a1 as Kt, T as Xt, U as jt, a3 as Yt } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as Qe, u as qt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Jt } from "./useConfig-
|
|
5
|
-
import { u as Qt, B as Zt } from "./BaseScanner-
|
|
6
|
-
import { u as el } from "./usePrinter-
|
|
7
|
-
import { u as tl } from "./useSvgExport-
|
|
8
|
-
import { u as me } from "./useNestedProp-
|
|
9
|
-
import { u as ll } from "./useThemeCheck-
|
|
10
|
-
import { u as al } from "./useUserOptionState-
|
|
11
|
-
import { u as ol } from "./useChartAccessibility-
|
|
12
|
-
import { u as sl } from "./useTimeLabelCollider-
|
|
13
|
-
import il from "./img-
|
|
14
|
-
import ul from "./Title-
|
|
4
|
+
import { u as Jt } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as Qt, B as Zt } from "./BaseScanner-BON3d_Sx.js";
|
|
6
|
+
import { u as el } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
+
import { u as tl } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as me } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
+
import { u as ll } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
+
import { u as al } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
+
import { u as ol } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
+
import { u as sl } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
13
|
+
import il from "./img-CjTQXS0U.js";
|
|
14
|
+
import ul from "./Title-BbKoiBk2.js";
|
|
15
15
|
import nl from "./vue_ui_age_pyramid-8H8WSL7J.js";
|
|
16
|
-
import { A as rl } from "./A11yDataTable-
|
|
16
|
+
import { A as rl } from "./A11yDataTable-BpmuNomI.js";
|
|
17
17
|
import { _ as vl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = ["xmlns", "viewBox", "aria-describedby"], hl = ["x", "y", "width", "height"], gl = ["id"], pl = ["stop-color"], bl = ["stop-color"], ml = ["id"], xl = ["stop-color"], wl = ["stop-color"], kl = ["x", "y", "width", "height", "fill", "rx"], Cl = ["x", "y", "width", "height", "fill", "rx"], Al = ["x", "y", "width", "height", "fill", "rx"], Tl = ["x", "y", "width", "height", "fill", "rx"], $l = { key: 0 }, Ll = ["x", "y", "fill", "font-size", "font-weight"], _l = ["x", "y", "fill", "font-size", "font-weight"], Sl = { key: 1 }, Il = ["x", "y", "font-size", "fill", "font-weight"], Ol = { key: 2 }, Pl = { key: 0 }, zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ml = ["font-size", "fill", "text-anchor", "font-weight", "transform"], Nl = ["font-size", "fill", "text-anchor", "font-weight", "transform"], El = ["x", "y", "font-size", "fill", "font-weight"], Bl = ["x", "y", "width", "height", "fill", "onMouseover", "onMouseleave", "onClick"], Ul = {
|
|
19
19
|
key: 0,
|
|
@@ -41,7 +41,17 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
41
41
|
},
|
|
42
42
|
emits: ["copyAlt"],
|
|
43
43
|
setup(xe, { expose: Ze, emit: et }) {
|
|
44
|
-
const tt = I(() => import("./Tooltip-
|
|
44
|
+
const tt = I(() => import("./Tooltip-Cvt7Fi0Q.js")), lt = I(() => import("./BaseIcon-DX0hTWa-.js")), at = I(() => import("./vue-ui-accordion-BHmfmb_6.js")), ot = I(() => import("./DataTable-cMnb68Ik.js")), st = I(
|
|
45
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
46
|
+
), it = I(
|
|
47
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
48
|
+
), ut = I(
|
|
49
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
50
|
+
), nt = I(
|
|
51
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
52
|
+
), { vue_ui_age_pyramid: rt } = Jt(), { isThemeValid: vt, warnInvalidTheme: dt } = ll(), b = xe, yt = et, we = g(() => !!b.dataset && b.dataset.length), C = r(Vt()), V = r(!1), ae = r(""), P = r(null), ke = r(0), $ = r(null), Ce = r(null), Ae = r(null), Te = r(null), $e = r(0), Le = r(0), oe = r(null), G = r(null), se = r(null), q = r(!1), J = r(!1), L = r(null), _e = r({ x: 0, y: 0 }), H = r("pointer"), ie = r(!1), e = r(re()), W = g(
|
|
53
|
+
() => e.value.userOptions.useCursorPointer
|
|
54
|
+
), ct = g(() => Ye({
|
|
45
55
|
defaultConfig: {
|
|
46
56
|
userOptions: { show: !1 },
|
|
47
57
|
table: { show: !1 },
|
|
@@ -93,7 +103,9 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
93
103
|
defaultConfig: e.value,
|
|
94
104
|
userConfig: ct.value
|
|
95
105
|
})
|
|
96
|
-
}), { userOptionsVisible: ne, setUserOptionsVisibility: Ie, keepUserOptionState: Oe } = al({ config: e.value }), { svgRef: z } = ol({
|
|
106
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: Ie, keepUserOptionState: Oe } = al({ config: e.value }), { svgRef: z } = ol({
|
|
107
|
+
config: e.value.style.title
|
|
108
|
+
});
|
|
97
109
|
function re() {
|
|
98
110
|
const t = me({
|
|
99
111
|
userConfig: b.config,
|
|
@@ -111,11 +123,19 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
111
123
|
defaultConfig: l
|
|
112
124
|
});
|
|
113
125
|
}
|
|
114
|
-
te(
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
126
|
+
te(
|
|
127
|
+
() => b.config,
|
|
128
|
+
(t) => {
|
|
129
|
+
Se.value || (e.value = re()), ne.value = !e.value.userOptions.showOnChartHover, Pe(), $e.value += 1, Le.value += 1, A.value.showTable = e.value.table.show, A.value.showTooltip = e.value.style.tooltip.show;
|
|
130
|
+
},
|
|
131
|
+
{ deep: !0 }
|
|
132
|
+
), te(
|
|
133
|
+
() => b.dataset,
|
|
134
|
+
(t) => {
|
|
135
|
+
Array.isArray(t) && t.length > 0 && (ue.value = !1);
|
|
136
|
+
},
|
|
137
|
+
{ deep: !0 }
|
|
138
|
+
);
|
|
119
139
|
const _ = We(null), B = We(null);
|
|
120
140
|
Nt(() => {
|
|
121
141
|
Pe();
|
|
@@ -152,12 +172,16 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
152
172
|
showTable: e.value.table.show,
|
|
153
173
|
showTooltip: e.value.style.tooltip.show
|
|
154
174
|
});
|
|
155
|
-
te(
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
175
|
+
te(
|
|
176
|
+
e,
|
|
177
|
+
() => {
|
|
178
|
+
A.value = {
|
|
179
|
+
showTable: e.value.table.show,
|
|
180
|
+
showTooltip: e.value.style.tooltip.show
|
|
181
|
+
};
|
|
182
|
+
},
|
|
183
|
+
{ immediate: !0 }
|
|
184
|
+
);
|
|
161
185
|
const m = r({
|
|
162
186
|
height: e.value.style.height,
|
|
163
187
|
width: e.value.style.width
|
|
@@ -216,7 +240,9 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
216
240
|
let o;
|
|
217
241
|
return t < 0, o = Math.round(t / l) * l, o;
|
|
218
242
|
}
|
|
219
|
-
const K = g(() => Math.max(
|
|
243
|
+
const K = g(() => Math.max(
|
|
244
|
+
...Q.value.flatMap((t) => t.slice(-2).map((a) => k(a)))
|
|
245
|
+
)), U = g(() => Q.value.length), wt = g(() => Q.value.map((t) => ({
|
|
220
246
|
segment: t[0],
|
|
221
247
|
age: t[1],
|
|
222
248
|
left: {
|
|
@@ -237,7 +263,9 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
237
263
|
y: l,
|
|
238
264
|
color: e.value.style.layout.bars.left.color,
|
|
239
265
|
x: s.value.leftChart.right - t.left.proportionToMax * s.value.leftChart.width,
|
|
240
|
-
width: k(
|
|
266
|
+
width: k(
|
|
267
|
+
t.left.proportionToMax * s.value.leftChart.width
|
|
268
|
+
),
|
|
241
269
|
height: o
|
|
242
270
|
},
|
|
243
271
|
right: {
|
|
@@ -245,7 +273,9 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
245
273
|
y: l,
|
|
246
274
|
color: e.value.style.layout.bars.right.color,
|
|
247
275
|
x: s.value.rightChart.left,
|
|
248
|
-
width: k(
|
|
276
|
+
width: k(
|
|
277
|
+
t.right.proportionToMax * s.value.rightChart.width
|
|
278
|
+
),
|
|
249
279
|
height: o
|
|
250
280
|
}
|
|
251
281
|
};
|
|
@@ -255,10 +285,16 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
255
285
|
return { segment: a, index: l, left: o, right: d };
|
|
256
286
|
}
|
|
257
287
|
function De(t, a) {
|
|
258
|
-
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
288
|
+
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
289
|
+
datapoint: ye(a),
|
|
290
|
+
seriesIndex: t
|
|
291
|
+
});
|
|
259
292
|
}
|
|
260
293
|
function kt(t, a) {
|
|
261
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
294
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
295
|
+
datapoint: ye(a),
|
|
296
|
+
seriesIndex: t
|
|
297
|
+
}), !(H.value === "keyboard" && L.value === t) && (P.value = null, V.value = !1);
|
|
262
298
|
}
|
|
263
299
|
function Ct(t) {
|
|
264
300
|
if (!z.value) return;
|
|
@@ -272,24 +308,29 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
272
308
|
l && (_e.value = l);
|
|
273
309
|
}
|
|
274
310
|
function Re(t, a, l = "pointer") {
|
|
275
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
311
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
312
|
+
datapoint: ye(a),
|
|
313
|
+
seriesIndex: t
|
|
314
|
+
}), P.value = t, L.value = t, H.value = l, ee.value = {
|
|
276
315
|
datapoint: a,
|
|
277
316
|
seriesIndex: t,
|
|
278
317
|
series: h.value,
|
|
279
318
|
config: e.value
|
|
280
319
|
};
|
|
281
320
|
const o = e.value.style.tooltip.customFormat;
|
|
282
|
-
if (Xt(o) && jt(
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
321
|
+
if (Xt(o) && jt(
|
|
322
|
+
() => o({
|
|
323
|
+
seriesIndex: t,
|
|
324
|
+
datapoint: {
|
|
325
|
+
segment: a[0],
|
|
326
|
+
index: a[1],
|
|
327
|
+
left: a[2],
|
|
328
|
+
right: a[3]
|
|
329
|
+
},
|
|
330
|
+
series: h.value,
|
|
331
|
+
config: e.value
|
|
332
|
+
})
|
|
333
|
+
))
|
|
293
334
|
ae.value = o({
|
|
294
335
|
seriesIndex: t,
|
|
295
336
|
datapoint: {
|
|
@@ -322,7 +363,9 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
322
363
|
)}</b></div></div>`, d += "</div>", d += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}"><div>${e.value.translations.total}</div><div><b>${N(
|
|
323
364
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
324
365
|
k(i.right.value) + k(i.left.value),
|
|
325
|
-
E({
|
|
366
|
+
E({
|
|
367
|
+
v: k(i.right.value) + k(i.left.value)
|
|
368
|
+
}),
|
|
326
369
|
{ datapoint: a, seriesIndex: t }
|
|
327
370
|
)}</b></div></div>`, d += "</div>", ae.value = `<div>${d}</div>`;
|
|
328
371
|
}
|
|
@@ -332,14 +375,21 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
332
375
|
}
|
|
333
376
|
function ce(t = null) {
|
|
334
377
|
pe(() => {
|
|
335
|
-
const a = [
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
]
|
|
342
|
-
|
|
378
|
+
const a = [
|
|
379
|
+
e.value.translations.year,
|
|
380
|
+
e.value.translations.age,
|
|
381
|
+
e.value.translations.female,
|
|
382
|
+
e.value.translations.male,
|
|
383
|
+
e.value.translations.total
|
|
384
|
+
], l = b.dataset.map((i) => [i[0], i[1], i[2], i[3], i[2] ?? 0 + i[3] ?? 0]), o = [
|
|
385
|
+
[e.value.style.title.text],
|
|
386
|
+
[e.value.style.title.subtitle.text],
|
|
387
|
+
[[""], [""], [""]]
|
|
388
|
+
].concat([a]).concat(l), d = Wt(o);
|
|
389
|
+
t ? t(d) : Kt({
|
|
390
|
+
csvContent: d,
|
|
391
|
+
title: e.value.style.title.text || "vue-ui-heatmap"
|
|
392
|
+
});
|
|
343
393
|
});
|
|
344
394
|
}
|
|
345
395
|
const F = g(() => {
|
|
@@ -385,7 +435,12 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
385
435
|
}
|
|
386
436
|
async function At({ scale: t = 2 } = {}) {
|
|
387
437
|
if (!$.value) return;
|
|
388
|
-
const { width: a, height: l } = $.value.getBoundingClientRect(), o = a / l, { imageUri: d, base64: i } = await il({
|
|
438
|
+
const { width: a, height: l } = $.value.getBoundingClientRect(), o = a / l, { imageUri: d, base64: i } = await il({
|
|
439
|
+
domElement: $.value,
|
|
440
|
+
base64: !0,
|
|
441
|
+
img: !0,
|
|
442
|
+
scale: t
|
|
443
|
+
});
|
|
389
444
|
return {
|
|
390
445
|
imageUri: d,
|
|
391
446
|
base64: i,
|
|
@@ -402,7 +457,14 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
402
457
|
slicer: $t,
|
|
403
458
|
configRef: e,
|
|
404
459
|
rotationPath: ["style", "layout", "dataLabels", "xAxis", "rotation"],
|
|
405
|
-
autoRotatePath: [
|
|
460
|
+
autoRotatePath: [
|
|
461
|
+
"style",
|
|
462
|
+
"layout",
|
|
463
|
+
"dataLabels",
|
|
464
|
+
"xAxis",
|
|
465
|
+
"autoRotate",
|
|
466
|
+
"enable"
|
|
467
|
+
],
|
|
406
468
|
isAutoSize: !1,
|
|
407
469
|
width: gt,
|
|
408
470
|
height: pt,
|
|
@@ -440,9 +502,12 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
440
502
|
}
|
|
441
503
|
};
|
|
442
504
|
});
|
|
443
|
-
te(
|
|
444
|
-
|
|
445
|
-
|
|
505
|
+
te(
|
|
506
|
+
() => A.value.showTable,
|
|
507
|
+
(t) => {
|
|
508
|
+
e.value.table.show || (t && e.value.table.useDialog && G.value ? G.value.open() : "close" in G.value && G.value.close());
|
|
509
|
+
}
|
|
510
|
+
);
|
|
446
511
|
function Be() {
|
|
447
512
|
A.value.showTable = !1, se.value && se.value.setTableIconState(!1);
|
|
448
513
|
}
|
|
@@ -456,7 +521,14 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
456
521
|
try {
|
|
457
522
|
if (t) {
|
|
458
523
|
const { blob: a, url: l, text: o, dataUrl: d } = await It();
|
|
459
|
-
await Promise.resolve(
|
|
524
|
+
await Promise.resolve(
|
|
525
|
+
e.value.userOptions.callbacks.svg({
|
|
526
|
+
blob: a,
|
|
527
|
+
url: l,
|
|
528
|
+
text: o,
|
|
529
|
+
dataUrl: d
|
|
530
|
+
})
|
|
531
|
+
);
|
|
460
532
|
} else
|
|
461
533
|
await Promise.resolve(St());
|
|
462
534
|
} finally {
|
|
@@ -479,13 +551,17 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
479
551
|
config: e.value,
|
|
480
552
|
dataset: h.value
|
|
481
553
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
482
|
-
console.warn(
|
|
554
|
+
console.warn(
|
|
555
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
556
|
+
);
|
|
483
557
|
return;
|
|
484
558
|
}
|
|
485
|
-
await Promise.resolve(
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
559
|
+
await Promise.resolve(
|
|
560
|
+
e.value.userOptions.callbacks.altCopy({
|
|
561
|
+
config: e.value,
|
|
562
|
+
dataset: h.value
|
|
563
|
+
})
|
|
564
|
+
);
|
|
489
565
|
}
|
|
490
566
|
function Pt() {
|
|
491
567
|
ie.value = !0;
|
|
@@ -721,7 +797,10 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
721
797
|
ref_key: "svgRef",
|
|
722
798
|
ref: z,
|
|
723
799
|
xmlns: n(Ht),
|
|
724
|
-
class: Xe({
|
|
800
|
+
class: Xe({
|
|
801
|
+
"vue-data-ui-fullscreen--on": D.value,
|
|
802
|
+
"vue-data-ui-fulscreen--off": !D.value
|
|
803
|
+
}),
|
|
725
804
|
viewBox: `0 0 ${m.value.width <= 0 ? 10 : m.value.width} ${m.value.height <= 0 ? 10 : m.value.height}`,
|
|
726
805
|
style: le(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
|
|
727
806
|
tabindex: "0",
|
|
@@ -757,7 +836,13 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
757
836
|
}, null, 8, pl),
|
|
758
837
|
f("stop", {
|
|
759
838
|
offset: "100%",
|
|
760
|
-
"stop-color": n(be)(
|
|
839
|
+
"stop-color": n(be)(
|
|
840
|
+
n(Je)(
|
|
841
|
+
e.value.style.layout.bars.left.color,
|
|
842
|
+
e.value.style.layout.bars.gradient.shiftHue
|
|
843
|
+
),
|
|
844
|
+
100 - e.value.style.layout.bars.gradient.intensity
|
|
845
|
+
)
|
|
761
846
|
}, null, 8, bl)
|
|
762
847
|
], 8, gl),
|
|
763
848
|
f("linearGradient", {
|
|
@@ -769,7 +854,13 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
769
854
|
}, [
|
|
770
855
|
f("stop", {
|
|
771
856
|
offset: "0%",
|
|
772
|
-
"stop-color": n(be)(
|
|
857
|
+
"stop-color": n(be)(
|
|
858
|
+
n(Je)(
|
|
859
|
+
e.value.style.layout.bars.right.color,
|
|
860
|
+
e.value.style.layout.bars.gradient.shiftHue
|
|
861
|
+
),
|
|
862
|
+
100 - e.value.style.layout.bars.gradient.intensity
|
|
863
|
+
)
|
|
773
864
|
}, null, 8, xl),
|
|
774
865
|
f("stop", {
|
|
775
866
|
offset: "100%",
|
|
@@ -781,7 +872,9 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
781
872
|
f("rect", {
|
|
782
873
|
x: l.left.x,
|
|
783
874
|
y: l.left.y,
|
|
784
|
-
width: n(k)(
|
|
875
|
+
width: n(k)(
|
|
876
|
+
l.left.width <= 0 ? 1e-4 : l.left.width
|
|
877
|
+
),
|
|
785
878
|
height: l.left.height <= 0 ? 1e-4 : l.left.height,
|
|
786
879
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
787
880
|
rx: e.value.style.layout.bars.borderRadius
|
|
@@ -910,7 +1003,10 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
910
1003
|
n(E)({
|
|
911
1004
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
912
1005
|
}),
|
|
913
|
-
{
|
|
1006
|
+
{
|
|
1007
|
+
datapoint: l,
|
|
1008
|
+
seriesIndex: o
|
|
1009
|
+
}
|
|
914
1010
|
)), 9, Ml))), 256)),
|
|
915
1011
|
(u(!0), v(O, null, M(S.value.left, (l, o) => (u(), v("text", {
|
|
916
1012
|
class: "vue-ui-age-pyramid-x-axis-label",
|
|
@@ -925,7 +1021,10 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
925
1021
|
n(E)({
|
|
926
1022
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
927
1023
|
}),
|
|
928
|
-
{
|
|
1024
|
+
{
|
|
1025
|
+
datapoint: l,
|
|
1026
|
+
seriesIndex: o
|
|
1027
|
+
}
|
|
929
1028
|
)), 9, Nl))), 256))
|
|
930
1029
|
], 512),
|
|
931
1030
|
f("text", {
|
|
@@ -944,7 +1043,10 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
944
1043
|
y: s.value.top + s.value.height / U.value * o - e.value.style.layout.bars.gap / 2,
|
|
945
1044
|
width: s.value.width <= 0 ? 1e-4 : s.value.width,
|
|
946
1045
|
height: s.value.height / U.value <= 0 ? 1e-4 : s.value.height / U.value,
|
|
947
|
-
fill: P.value !== null && P.value === o ? n(be)(
|
|
1046
|
+
fill: P.value !== null && P.value === o ? n(be)(
|
|
1047
|
+
e.value.style.highlighter.color,
|
|
1048
|
+
e.value.style.highlighter.opacity
|
|
1049
|
+
) : "transparent",
|
|
948
1050
|
onMouseover: (d) => Re(o, l, "pointer"),
|
|
949
1051
|
onMouseleave: (d) => kt(o, l),
|
|
950
1052
|
onClick: (d) => De(o, l)
|
|
@@ -959,11 +1061,16 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
959
1061
|
}, void 0, !0)
|
|
960
1062
|
], 46, fl)),
|
|
961
1063
|
t.$slots.hint ? (u(), v("div", Ul, [
|
|
962
|
-
y(t.$slots, "hint", x(w({
|
|
1064
|
+
y(t.$slots, "hint", x(w({
|
|
1065
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1066
|
+
isVisible: ie.value
|
|
1067
|
+
})), void 0, !0)
|
|
963
1068
|
])) : p("", !0)
|
|
964
1069
|
]),
|
|
965
1070
|
t.$slots.watermark ? (u(), v("div", Vl, [
|
|
966
|
-
y(t.$slots, "watermark", x(w({
|
|
1071
|
+
y(t.$slots, "watermark", x(w({
|
|
1072
|
+
isPrinting: n(ve) || n(de) || q.value || J.value
|
|
1073
|
+
})), void 0, !0)
|
|
967
1074
|
])) : p("", !0),
|
|
968
1075
|
y(t.$slots, "legend", { legend: h.value }, void 0, !0),
|
|
969
1076
|
t.$slots.source ? (u(), v("div", {
|
|
@@ -1066,7 +1173,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
1066
1173
|
], !0)
|
|
1067
1174
|
], 46, dl));
|
|
1068
1175
|
}
|
|
1069
|
-
}, ua = /* @__PURE__ */ vl(Gl, [["__scopeId", "data-v-
|
|
1176
|
+
}, ua = /* @__PURE__ */ vl(Gl, [["__scopeId", "data-v-ffd1351e"]]);
|
|
1070
1177
|
export {
|
|
1071
1178
|
ua as default
|
|
1072
1179
|
};
|