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,23 +1,23 @@
|
|
|
1
1
|
import { useCssVars as Na, defineAsyncComponent as se, useSlots as Ia, computed as h, ref as v, toRefs as Va, watch as re, onBeforeUnmount as Oa, onMounted as qe, openBlock as n, createElementBlock as r, unref as i, normalizeStyle as b, normalizeClass as te, createElementVNode as s, toDisplayString as k, createBlock as H, createCommentVNode as f, withCtx as p, renderSlot as y, normalizeProps as N, guardReactiveProps as I, createSlots as Le, createVNode as ie, Fragment as D, renderList as B, mergeProps as Ot, resolveDynamicComponent as Fa, withKeys as Ma, createTextVNode as Ft, nextTick as Se } from "vue";
|
|
2
|
-
import { j as Da, t as Mt, m as Ba, p as ae, $ as Ze, n as Ea, q as ye, o as Je, K as V, s as Qe, k as ge, l as M, X as Ra, u as et, v as Xa, Z as tt, aq as Ha, a0 as Ua, a1 as Wa, T as Ga, U as Ka, a3 as ja } from "./lib-
|
|
2
|
+
import { j as Da, t as Mt, m as Ba, p as ae, $ as Ze, n as Ea, q as ye, o as Je, K as V, s as Qe, k as ge, l as M, X as Ra, u as et, v as Xa, Z as tt, aq as Ha, a0 as Ua, a1 as Wa, T as Ga, U as Ka, a3 as ja } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as Ya, u as qa } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Za } from "./useConfig-
|
|
5
|
-
import { u as Ja, B as Qa } from "./BaseScanner-
|
|
6
|
-
import { u as el } from "./usePrinter-
|
|
7
|
-
import { u as tl } from "./useSvgExport-
|
|
8
|
-
import { u as at } from "./useNestedProp-
|
|
9
|
-
import { u as al } from "./useThemeCheck-
|
|
10
|
-
import { u as ll } from "./useTableResponsive-
|
|
11
|
-
import { u as ol } from "./useUserOptionState-
|
|
12
|
-
import { u as nl } from "./useChartAccessibility-
|
|
13
|
-
import ul from "./img-
|
|
14
|
-
import { _ as Dt } from "./Shape-
|
|
15
|
-
import sl from "./Title-
|
|
4
|
+
import { u as Za } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as Ja, B as Qa } 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 at } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
+
import { u as al } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
+
import { u as ll } from "./useTableResponsive-BpfiEtzR.js";
|
|
11
|
+
import { u as ol } from "./useUserOptionState-B7Ej974k.js";
|
|
12
|
+
import { u as nl } from "./useChartAccessibility-cp6XQtqi.js";
|
|
13
|
+
import ul from "./img-CjTQXS0U.js";
|
|
14
|
+
import { _ as Dt } from "./Shape-CxJ5_Rre.js";
|
|
15
|
+
import sl from "./Title-BbKoiBk2.js";
|
|
16
16
|
import rl from "./vue_ui_horizontal_bar-BEagrV0T.js";
|
|
17
|
-
import Bt from "./Legend-
|
|
18
|
-
import il from "./vue-ui-accordion-
|
|
19
|
-
import { B as Et } from "./BaseLegendToggle-
|
|
20
|
-
import { A as vl } from "./A11yDataTable-
|
|
17
|
+
import Bt from "./Legend-DGN5lY60.js";
|
|
18
|
+
import il from "./vue-ui-accordion-BHmfmb_6.js";
|
|
19
|
+
import { B as Et } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
20
|
+
import { A as vl } from "./A11yDataTable-BpmuNomI.js";
|
|
21
21
|
import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
22
22
|
const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "relative" } }, yl = ["xmlns", "viewBox", "aria-describedby"], gl = ["width", "height"], bl = ["id"], ml = ["stop-color"], kl = ["stop-color"], Cl = { key: 1 }, xl = ["y", "width", "height", "fill", "rx"], wl = ["x", "y", "width", "height", "fill", "rx"], $l = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], _l = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = { class: "vue-ui-horizontal-bar-parent-label" }, Pl = ["y", "height", "width", "fill"], Al = ["y", "font-size", "fill", "x", "font-weight", "innerHTML"], zl = ["y", "font-size", "fill", "x", "font-weight"], Nl = { class: "vue-ui-horizontal-bar-child-label" }, Il = ["x", "y", "font-size", "font-weight", "innerHTML"], Vl = { class: "vue-ui-horizontal-bar-child-label" }, Ol = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Fl = { class: "vue-ui-horizontal-bar-child-label" }, Ml = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Dl = ["y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Bl = {
|
|
23
23
|
key: 0,
|
|
@@ -46,16 +46,26 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
46
46
|
emits: ["selectLegend", "copyAlt", "selectDatapoint"],
|
|
47
47
|
setup(Rt, { expose: Xt, emit: Ht }) {
|
|
48
48
|
Na((t) => ({
|
|
49
|
-
|
|
49
|
+
v711faace: t.tdo
|
|
50
50
|
}));
|
|
51
|
-
const Ut = se(() => import("./Tooltip-
|
|
51
|
+
const Ut = se(() => import("./Tooltip-Cvt7Fi0Q.js")), lt = se(() => import("./BaseIcon-DX0hTWa-.js")), Wt = se(
|
|
52
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
53
|
+
), Gt = se(
|
|
54
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
55
|
+
), Kt = se(
|
|
56
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
57
|
+
), jt = se(
|
|
58
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
59
|
+
), { vue_ui_vertical_bar: Yt } = Za(), { isThemeValid: qt, warnInvalidTheme: Zt } = al(), Jt = Ia(), C = Rt, Pe = h({
|
|
52
60
|
get() {
|
|
53
61
|
return !!C.dataset && C.dataset.length;
|
|
54
62
|
},
|
|
55
63
|
set(t) {
|
|
56
64
|
return t;
|
|
57
65
|
}
|
|
58
|
-
}), S = v(Da()), be = v(!1), Ae = v(""), me = v(null), ot = v(0), R = v(null), nt = v(null), ze = v(null), ut = v(null), st = v(null), rt = v(0), Ne = v(0), Qt = v(null), ve = v(null), Ie = v(null), ea = v(null), Ve = v(null), $ = v([]), ta = v({ none: 0, asc: 1, desc: 2 }), G = v(0), ke = v(!1), ce = v(0), le = v(0), Oe = v(null), Ce = v(!1), xe = v(!1), z = v(null), it = v({ x: 0, y: 0 }), Fe = v("pointer"), Me = Ht, e = v(Ee()), Y = h(
|
|
66
|
+
}), S = v(Da()), be = v(!1), Ae = v(""), me = v(null), ot = v(0), R = v(null), nt = v(null), ze = v(null), ut = v(null), st = v(null), rt = v(0), Ne = v(0), Qt = v(null), ve = v(null), Ie = v(null), ea = v(null), Ve = v(null), $ = v([]), ta = v({ none: 0, asc: 1, desc: 2 }), G = v(0), ke = v(!1), ce = v(0), le = v(0), Oe = v(null), Ce = v(!1), xe = v(!1), z = v(null), it = v({ x: 0, y: 0 }), Fe = v("pointer"), Me = Ht, e = v(Ee()), Y = h(
|
|
67
|
+
() => e.value.userOptions.useCursorPointer
|
|
68
|
+
), aa = h(() => {
|
|
59
69
|
const t = [
|
|
60
70
|
{ name: "", value: 6, color: "#d9d9d9" },
|
|
61
71
|
{ name: "", value: 5, color: "#d9d9d9" },
|
|
@@ -78,7 +88,11 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
78
88
|
offsetX: 110,
|
|
79
89
|
dataLabels: {
|
|
80
90
|
color: "transparent",
|
|
81
|
-
value: {
|
|
91
|
+
value: {
|
|
92
|
+
prefix: "",
|
|
93
|
+
suffix: "",
|
|
94
|
+
formatter: null
|
|
95
|
+
}
|
|
82
96
|
},
|
|
83
97
|
nameLabels: { color: "transparent" }
|
|
84
98
|
},
|
|
@@ -130,7 +144,10 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
130
144
|
defaultConfig: t
|
|
131
145
|
});
|
|
132
146
|
l = {
|
|
133
|
-
...at({
|
|
147
|
+
...at({
|
|
148
|
+
userConfig: C.config,
|
|
149
|
+
defaultConfig: o
|
|
150
|
+
}),
|
|
134
151
|
customPalette: t.customPalette.length ? t.customPalette : Ba[a] || ae
|
|
135
152
|
};
|
|
136
153
|
}
|
|
@@ -309,9 +326,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
309
326
|
ce.value = 0, le.value = 0;
|
|
310
327
|
return;
|
|
311
328
|
}
|
|
312
|
-
const t = Array.from(
|
|
313
|
-
Oe.value.querySelectorAll("text")
|
|
314
|
-
);
|
|
329
|
+
const t = Array.from(Oe.value.querySelectorAll("text"));
|
|
315
330
|
if (!t.length) {
|
|
316
331
|
ce.value = 0, le.value = 0;
|
|
317
332
|
return;
|
|
@@ -321,7 +336,10 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
321
336
|
const fe = Ye.getBBox(), ue = fe.x, ee = fe.x + fe.width;
|
|
322
337
|
ue < l && (l = ue), ee > a && (a = ee);
|
|
323
338
|
});
|
|
324
|
-
const o = 0, g = E.value, m = 24, u = Math.max(0, o - l + m), _ = Math.max(
|
|
339
|
+
const o = 0, g = E.value, m = 24, u = Math.max(0, o - l + m), _ = Math.max(
|
|
340
|
+
0,
|
|
341
|
+
a - g + m
|
|
342
|
+
);
|
|
325
343
|
le.value = u, ce.value = _;
|
|
326
344
|
});
|
|
327
345
|
});
|
|
@@ -332,7 +350,12 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
332
350
|
{ deep: !0 }
|
|
333
351
|
), qe(() => de());
|
|
334
352
|
const c = h(() => {
|
|
335
|
-
const t = He.value + Math.abs(
|
|
353
|
+
const t = He.value + Math.abs(
|
|
354
|
+
e.value.style.chart.layout.bars.nameLabels.offsetX
|
|
355
|
+
) + le.value + e.value.style.chart.layout.bars.offsetX, l = W.value.width - W.value.padding.right, a = Math.max(
|
|
356
|
+
0,
|
|
357
|
+
l - t - ce.value - le.value - e.value.style.chart.layout.bars.offsetX
|
|
358
|
+
);
|
|
336
359
|
return {
|
|
337
360
|
top: W.value.padding.top,
|
|
338
361
|
bottom: W.value.padding.top + W.value.height,
|
|
@@ -351,7 +374,8 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
351
374
|
if ($.value.includes(t))
|
|
352
375
|
$.value = $.value.filter((l) => l !== t);
|
|
353
376
|
else {
|
|
354
|
-
if ($.value.length === P.value.length - 1)
|
|
377
|
+
if ($.value.length === P.value.length - 1)
|
|
378
|
+
return;
|
|
355
379
|
$.value.push(t);
|
|
356
380
|
}
|
|
357
381
|
Me("selectLegend", U.value), de();
|
|
@@ -360,7 +384,9 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
360
384
|
if (!P.value.length)
|
|
361
385
|
return e.value.debug && console.warn("VueUiHorizontalBar - There are no series to show."), null;
|
|
362
386
|
const l = P.value.find((a) => a.name === t);
|
|
363
|
-
return l || (e.value.debug && console.warn(
|
|
387
|
+
return l || (e.value.debug && console.warn(
|
|
388
|
+
`VueUiHorizontalBar - Series name not found "${t}"`
|
|
389
|
+
), null);
|
|
364
390
|
}
|
|
365
391
|
function ia(t) {
|
|
366
392
|
const l = xt(t);
|
|
@@ -383,7 +409,9 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
383
409
|
));
|
|
384
410
|
function O(t) {
|
|
385
411
|
const l = t / ca.value;
|
|
386
|
-
return V(
|
|
412
|
+
return V(
|
|
413
|
+
c.value.width / (J.value ? 2 : 1) * l
|
|
414
|
+
);
|
|
387
415
|
}
|
|
388
416
|
function da(t) {
|
|
389
417
|
return O(t) + c.value.left;
|
|
@@ -420,7 +448,10 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
420
448
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), me.value = null, be.value = !1, Ue.value = null, z.value === l && (z.value = null);
|
|
421
449
|
}
|
|
422
450
|
function Lt(t, l, a = "pointer") {
|
|
423
|
-
Fe.value = a, e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
451
|
+
Fe.value = a, e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
452
|
+
datpoint: t,
|
|
453
|
+
seriesIndex: l
|
|
454
|
+
}), z.value = l, me.value = t, _e.value = {
|
|
424
455
|
datapoint: t,
|
|
425
456
|
seriesIndex: l,
|
|
426
457
|
series: P.value,
|
|
@@ -658,7 +689,14 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
658
689
|
try {
|
|
659
690
|
if (t) {
|
|
660
691
|
const { blob: l, url: a, text: o, dataUrl: g } = await $a();
|
|
661
|
-
await Promise.resolve(
|
|
692
|
+
await Promise.resolve(
|
|
693
|
+
e.value.userOptions.callbacks.svg({
|
|
694
|
+
blob: l,
|
|
695
|
+
url: a,
|
|
696
|
+
text: o,
|
|
697
|
+
dataUrl: g
|
|
698
|
+
})
|
|
699
|
+
);
|
|
662
700
|
} else
|
|
663
701
|
await Promise.resolve(wa());
|
|
664
702
|
} finally {
|
|
@@ -677,20 +715,26 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
677
715
|
pt();
|
|
678
716
|
}
|
|
679
717
|
function Ta() {
|
|
680
|
-
console.warn(
|
|
718
|
+
console.warn(
|
|
719
|
+
"[autoSize]: this legacy method can be safely removed as it has no impact."
|
|
720
|
+
);
|
|
681
721
|
}
|
|
682
722
|
async function Vt() {
|
|
683
723
|
if (Me("copyAlt", {
|
|
684
724
|
config: e.value,
|
|
685
725
|
dataset: U.value
|
|
686
726
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
687
|
-
console.warn(
|
|
727
|
+
console.warn(
|
|
728
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
729
|
+
);
|
|
688
730
|
return;
|
|
689
731
|
}
|
|
690
|
-
await Promise.resolve(
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
732
|
+
await Promise.resolve(
|
|
733
|
+
e.value.userOptions.callbacks.altCopy({
|
|
734
|
+
config: e.value,
|
|
735
|
+
dataset: U.value
|
|
736
|
+
})
|
|
737
|
+
);
|
|
694
738
|
}
|
|
695
739
|
const je = v(!1);
|
|
696
740
|
function La() {
|
|
@@ -710,7 +754,8 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
710
754
|
function Aa(t) {
|
|
711
755
|
if (!oe.value || he.value || document.activeElement !== oe.value) return;
|
|
712
756
|
const l = t.key === "ArrowRight" || t.key === "ArrowDown", a = t.key === "ArrowLeft" || t.key === "ArrowUp", o = t.key === "Enter" || t.key === " ", g = t.key === "Escape";
|
|
713
|
-
if (!l && !a && !o && !g)
|
|
757
|
+
if (!l && !a && !o && !g)
|
|
758
|
+
return;
|
|
714
759
|
const m = w.value.length;
|
|
715
760
|
if (!m) return;
|
|
716
761
|
if (t.preventDefault(), t.stopPropagation(), g) {
|
|
@@ -1235,7 +1280,9 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1235
1280
|
}, null, 8, Al)) : f("", !0),
|
|
1236
1281
|
a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (n(), r("text", {
|
|
1237
1282
|
key: 2,
|
|
1238
|
-
y: ne(a, o).y + i(Ha)(
|
|
1283
|
+
y: ne(a, o).y + i(Ha)(
|
|
1284
|
+
$t(a, o)
|
|
1285
|
+
) * e.value.style.chart.layout.bars.parentLabels.fontSize * 1.1,
|
|
1239
1286
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
1240
1287
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
1241
1288
|
x: e.value.style.chart.layout.bars.parentLabels.offsetX + e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
@@ -1252,8 +1299,12 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1252
1299
|
(a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (n(), r("text", {
|
|
1253
1300
|
key: 0,
|
|
1254
1301
|
"text-anchor": "start",
|
|
1255
|
-
x: Math.abs(
|
|
1256
|
-
|
|
1302
|
+
x: Math.abs(
|
|
1303
|
+
e.value.style.chart.layout.bars.nameLabels.offsetX
|
|
1304
|
+
),
|
|
1305
|
+
y: i(V)(
|
|
1306
|
+
c.value.top + (x.value + d.value) * o + d.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2 + A.value[o] * L.value
|
|
1307
|
+
),
|
|
1257
1308
|
"font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
1258
1309
|
fill: "transparent",
|
|
1259
1310
|
"font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
|
|
@@ -1262,8 +1313,12 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1262
1313
|
content: a.name,
|
|
1263
1314
|
fontSize: e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
1264
1315
|
fill: "transparent",
|
|
1265
|
-
x: Math.abs(
|
|
1266
|
-
|
|
1316
|
+
x: Math.abs(
|
|
1317
|
+
e.value.style.chart.layout.bars.nameLabels.offsetX
|
|
1318
|
+
),
|
|
1319
|
+
y: i(V)(
|
|
1320
|
+
c.value.top + (x.value + d.value) * o + d.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2 + A.value[o] * L.value
|
|
1321
|
+
),
|
|
1267
1322
|
translateY: !0
|
|
1268
1323
|
})
|
|
1269
1324
|
}, null, 8, Il)) : f("", !0)
|
|
@@ -1305,7 +1360,12 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1305
1360
|
"font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
|
|
1306
1361
|
fill: e.value.style.chart.layout.bars.dataLabels.color,
|
|
1307
1362
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
|
|
1308
|
-
}, k(St(
|
|
1363
|
+
}, k(St(
|
|
1364
|
+
a.value,
|
|
1365
|
+
a,
|
|
1366
|
+
o,
|
|
1367
|
+
a.sign
|
|
1368
|
+
)), 9, Ml)
|
|
1309
1369
|
]))), 256))
|
|
1310
1370
|
], 512),
|
|
1311
1371
|
(n(!0), r(D, null, B(w.value, (a, o) => (n(), r("g", null, [
|
|
@@ -1319,8 +1379,14 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1319
1379
|
e.value.style.chart.layout.highlighter.opacity
|
|
1320
1380
|
) : "transparent",
|
|
1321
1381
|
onMouseenter: (g) => Lt(a, o, "pointer"),
|
|
1322
|
-
onMouseleave: (g) => Tt({
|
|
1323
|
-
|
|
1382
|
+
onMouseleave: (g) => Tt({
|
|
1383
|
+
datapoint: a,
|
|
1384
|
+
seriesIndex: o
|
|
1385
|
+
}),
|
|
1386
|
+
onClick: (g) => _t({
|
|
1387
|
+
datapoint: a,
|
|
1388
|
+
seriesIndex: o
|
|
1389
|
+
})
|
|
1324
1390
|
}, null, 40, Dl)
|
|
1325
1391
|
]))), 256)),
|
|
1326
1392
|
y(t.$slots, "svg", {
|
|
@@ -1333,11 +1399,16 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1333
1399
|
], 512)
|
|
1334
1400
|
], 46, yl)),
|
|
1335
1401
|
t.$slots.hint ? (n(), r("div", Bl, [
|
|
1336
|
-
y(t.$slots, "hint", N(I({
|
|
1402
|
+
y(t.$slots, "hint", N(I({
|
|
1403
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1404
|
+
isVisible: je.value
|
|
1405
|
+
})), void 0, !0)
|
|
1337
1406
|
])) : f("", !0)
|
|
1338
1407
|
]),
|
|
1339
1408
|
t.$slots.watermark ? (n(), r("div", El, [
|
|
1340
|
-
y(t.$slots, "watermark", N(I({
|
|
1409
|
+
y(t.$slots, "watermark", N(I({
|
|
1410
|
+
isPrinting: i(Re) || i(Xe) || Ce.value || xe.value
|
|
1411
|
+
})), void 0, !0)
|
|
1341
1412
|
])) : f("", !0),
|
|
1342
1413
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (n(), r("div", {
|
|
1343
1414
|
key: 7,
|
|
@@ -1499,7 +1570,9 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1499
1570
|
}, null, 4),
|
|
1500
1571
|
s("th", {
|
|
1501
1572
|
style: b(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
|
|
1502
|
-
}, " ∑ " + k(e.value.table.td.prefix) + k(isNaN(X.value) ? "" : X.value.toFixed(
|
|
1573
|
+
}, " ∑ " + k(e.value.table.td.prefix) + k(isNaN(X.value) ? "" : X.value.toFixed(
|
|
1574
|
+
e.value.table.td.roundingValue
|
|
1575
|
+
)) + k(e.value.table.td.suffix), 5),
|
|
1503
1576
|
s("th", {
|
|
1504
1577
|
style: b(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
|
|
1505
1578
|
}, " 100% ", 4),
|
|
@@ -1544,7 +1617,11 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1544
1617
|
style: b(`outline:${e.value.table.td.outline}`),
|
|
1545
1618
|
"data-cell": F.value.head[1] ?? ""
|
|
1546
1619
|
}, [
|
|
1547
|
-
s("div", Yl, k(e.value.table.td.prefix) + k([
|
|
1620
|
+
s("div", Yl, k(e.value.table.td.prefix) + k([
|
|
1621
|
+
"",
|
|
1622
|
+
NaN,
|
|
1623
|
+
void 0
|
|
1624
|
+
].includes(a.parentValue) ? "" : a.parentValue.toFixed(
|
|
1548
1625
|
e.value.table.td.roundingValue
|
|
1549
1626
|
)) + k(e.value.table.td.suffix), 1)
|
|
1550
1627
|
], 12, jl),
|
|
@@ -1553,7 +1630,13 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1553
1630
|
style: b(`outline:${e.value.table.td.outline}`),
|
|
1554
1631
|
"data-cell": F.value.head[2] ?? ""
|
|
1555
1632
|
}, [
|
|
1556
|
-
s("div", Zl, k([
|
|
1633
|
+
s("div", Zl, k([
|
|
1634
|
+
"",
|
|
1635
|
+
NaN,
|
|
1636
|
+
void 0
|
|
1637
|
+
].includes(
|
|
1638
|
+
a.percentageToTotal
|
|
1639
|
+
) ? "" : `${(a.percentageToTotal * 100).toFixed(
|
|
1557
1640
|
e.value.table.td.roundingPercentage
|
|
1558
1641
|
)}%`), 1)
|
|
1559
1642
|
], 12, ql),
|
|
@@ -1569,7 +1652,11 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1569
1652
|
style: b(`outline:${e.value.table.td.outline}`),
|
|
1570
1653
|
"data-cell": F.value.head[4] ?? ""
|
|
1571
1654
|
}, [
|
|
1572
|
-
s("div", to, k(e.value.table.td.prefix) + k([
|
|
1655
|
+
s("div", to, k(e.value.table.td.prefix) + k([
|
|
1656
|
+
"",
|
|
1657
|
+
NaN,
|
|
1658
|
+
void 0
|
|
1659
|
+
].includes(a.childValue) ? "" : a.childValue.toFixed(
|
|
1573
1660
|
e.value.table.td.roundingValue
|
|
1574
1661
|
)) + k(e.value.table.td.suffix), 1)
|
|
1575
1662
|
], 12, eo),
|
|
@@ -1578,7 +1665,11 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1578
1665
|
style: b(`outline:${e.value.table.td.outline}`),
|
|
1579
1666
|
"data-cell": F.value.head[5] ?? ""
|
|
1580
1667
|
}, [
|
|
1581
|
-
s("div", lo, k([
|
|
1668
|
+
s("div", lo, k([
|
|
1669
|
+
"",
|
|
1670
|
+
NaN,
|
|
1671
|
+
void 0
|
|
1672
|
+
].includes(
|
|
1582
1673
|
a.childPercentageToParent
|
|
1583
1674
|
) ? "" : `${(a.childPercentageToParent * 100).toFixed(
|
|
1584
1675
|
e.value.table.td.roundingPercentage
|
|
@@ -1589,7 +1680,11 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1589
1680
|
style: b(`outline:${e.value.table.td.outline}`),
|
|
1590
1681
|
"data-cell": F.value.head[6] ?? ""
|
|
1591
1682
|
}, [
|
|
1592
|
-
s("div", no, k([
|
|
1683
|
+
s("div", no, k([
|
|
1684
|
+
"",
|
|
1685
|
+
NaN,
|
|
1686
|
+
void 0
|
|
1687
|
+
].includes(
|
|
1593
1688
|
a.childPercentageToTotal
|
|
1594
1689
|
) ? "" : `${(a.childPercentageToTotal * 100).toFixed(
|
|
1595
1690
|
e.value.table.td.roundingPercentage
|
|
@@ -1634,7 +1729,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1634
1729
|
], !0)
|
|
1635
1730
|
], 46, dl));
|
|
1636
1731
|
}
|
|
1637
|
-
}, Po = /* @__PURE__ */ cl(uo, [["__scopeId", "data-v-
|
|
1732
|
+
}, Po = /* @__PURE__ */ cl(uo, [["__scopeId", "data-v-459a4539"]]);
|
|
1638
1733
|
export {
|
|
1639
1734
|
Po as default
|
|
1640
1735
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineAsyncComponent as M, computed as y, useSlots as w, ref as r, onMounted as $, watch as h, openBlock as u, createElementBlock as i, normalizeStyle as n, normalizeClass as v, renderSlot as s, createTextVNode as F, toDisplayString as N, createCommentVNode as R, createElementVNode as B, createVNode as L, unref as d, Fragment as V } from "vue";
|
|
2
|
-
import { u as _ } from "./useNestedProp-
|
|
3
|
-
import { j as E, k as I, l as O } from "./lib-
|
|
4
|
-
import { u as T } from "./useConfig-
|
|
5
|
-
import { u as U } from "./usePrefersMotion-
|
|
2
|
+
import { u as _ } from "./useNestedProp-DH0BEVVS.js";
|
|
3
|
+
import { j as E, k as I, l as O } from "./lib-DMzrGQHK.js";
|
|
4
|
+
import { u as T } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as U } from "./usePrefersMotion-Co0nj1eS.js";
|
|
6
6
|
const j = ["aria-labelledby"], G = ["id"], P = ["aria-label"], W = {
|
|
7
7
|
__name: "vue-ui-kpi",
|
|
8
8
|
props: {
|
|
@@ -18,7 +18,7 @@ const j = ["aria-labelledby"], G = ["id"], P = ["aria-label"], W = {
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
setup(o) {
|
|
21
|
-
const D = M(() => import("./vue-ui-digits-
|
|
21
|
+
const D = M(() => import("./vue-ui-digits-D16SQQ4M.js")), { vue_ui_kpi: S } = T(), c = U(), l = o, e = y({
|
|
22
22
|
get: () => f(),
|
|
23
23
|
set: (a) => a
|
|
24
24
|
}), A = w(), x = y(() => e.value.debug), m = r(E());
|
|
@@ -31,13 +31,27 @@ const j = ["aria-labelledby"], G = ["id"], P = ["aria-label"], W = {
|
|
|
31
31
|
defaultConfig: S
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
h(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
h(
|
|
35
|
+
() => l.config,
|
|
36
|
+
(a) => {
|
|
37
|
+
e.value = f(), g();
|
|
38
|
+
},
|
|
39
|
+
{ deep: !0 }
|
|
40
|
+
);
|
|
41
|
+
const z = r(
|
|
42
|
+
(typeof l.dataset == "number", l.dataset)
|
|
43
|
+
), t = r(
|
|
44
|
+
e.value.useAnimation ? e.value.animationValueStart : z.value
|
|
45
|
+
), p = (a) => {
|
|
38
46
|
const b = e.value.animationFrames, C = Math.abs(a - t.value) / b;
|
|
39
47
|
function k() {
|
|
40
|
-
t.value < a ? t.value = Math.min(
|
|
48
|
+
t.value < a ? t.value = Math.min(
|
|
49
|
+
t.value + C,
|
|
50
|
+
a
|
|
51
|
+
) : t.value > a && (t.value = Math.max(
|
|
52
|
+
t.value - C,
|
|
53
|
+
a
|
|
54
|
+
)), t.value !== a && requestAnimationFrame(k);
|
|
41
55
|
}
|
|
42
56
|
k();
|
|
43
57
|
};
|
|
@@ -47,9 +61,12 @@ const j = ["aria-labelledby"], G = ["id"], P = ["aria-label"], W = {
|
|
|
47
61
|
function g() {
|
|
48
62
|
e.value.useAnimation && !c.value ? (t.value = e.value.animationValueStart, p(l.dataset)) : t.value = l.dataset;
|
|
49
63
|
}
|
|
50
|
-
return h(
|
|
51
|
-
|
|
52
|
-
|
|
64
|
+
return h(
|
|
65
|
+
() => l.dataset,
|
|
66
|
+
(a) => {
|
|
67
|
+
e.value.useAnimation && !c.value ? p(a) : t.value = a;
|
|
68
|
+
}
|
|
69
|
+
), (a, b) => (u(), i("div", {
|
|
53
70
|
class: v(`vue-data-ui-component vue-ui-kpi ${e.value.layoutClass}`),
|
|
54
71
|
style: n(`background:${e.value.backgroundColor}; ${e.value.layoutCss}`),
|
|
55
72
|
"aria-labelledby": `kpi-title-${m.value}`
|
|
@@ -78,7 +95,11 @@ const j = ["aria-labelledby"], G = ["id"], P = ["aria-label"], W = {
|
|
|
78
95
|
style: n({ height: e.value.analogDigits.height + "px" })
|
|
79
96
|
}, [
|
|
80
97
|
L(d(D), {
|
|
81
|
-
dataset: Number(
|
|
98
|
+
dataset: Number(
|
|
99
|
+
t.value.toFixed(
|
|
100
|
+
e.value.valueRounding
|
|
101
|
+
)
|
|
102
|
+
),
|
|
82
103
|
config: {
|
|
83
104
|
backgroundColor: e.value.backgroundColor,
|
|
84
105
|
digits: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useCssVars as h, computed as o, ref as f, openBlock as n, createElementBlock as u, unref as M, createElementVNode as t, normalizeStyle as l, createCommentVNode as a } from "vue";
|
|
2
|
-
import { u as m } from "./useNestedProp-
|
|
3
|
-
import { X as y } from "./lib-
|
|
4
|
-
import { u as L } from "./useConfig-
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
2
|
+
import { u as m } from "./useNestedProp-DH0BEVVS.js";
|
|
3
|
+
import { X as y } from "./lib-DMzrGQHK.js";
|
|
4
|
+
import { u as L } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
7
7
|
__name: "vue-ui-mini-loader",
|
|
8
8
|
props: {
|
|
9
9
|
config: {
|
|
@@ -15,9 +15,9 @@ const B = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"],
|
|
|
15
15
|
},
|
|
16
16
|
setup(c) {
|
|
17
17
|
h((_) => ({
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
v52026c5d: v.value,
|
|
19
|
+
v571acde0: C.value,
|
|
20
|
+
v222cd9e5: g.value
|
|
21
21
|
}));
|
|
22
22
|
const { vue_ui_mini_loader: d } = L(), p = c, e = o(() => m({
|
|
23
23
|
userConfig: p.config,
|
|
@@ -35,7 +35,13 @@ const B = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"],
|
|
|
35
35
|
})), r = o(() => ({
|
|
36
36
|
gutter: `stroke:${e.value.onion.gutterColor};opacity:${e.value.onion.gutterOpacity};`,
|
|
37
37
|
gutterBlur: `filter:blur(${e.value.onion.gutterBlur}px);`
|
|
38
|
-
})), v = o(
|
|
38
|
+
})), v = o(
|
|
39
|
+
() => `blur(${e.value.onion.trackBlur}px) hue-rotate(${e.value.onion.trackHueRotate}deg)`
|
|
40
|
+
), C = o(
|
|
41
|
+
() => `blur(${e.value.line.trackBlur}px) hue-rotate(${e.value.line.trackHueRotate}deg)`
|
|
42
|
+
), g = o(
|
|
43
|
+
() => `blur(${e.value.bar.trackBlur}px) hue-rotate(${e.value.bar.trackHueRotate}deg)`
|
|
44
|
+
);
|
|
39
45
|
return (_, E) => (n(), u("svg", {
|
|
40
46
|
class: "vue-data-ui-component vue-ui-mini-loader",
|
|
41
47
|
xmlns: M(y),
|
|
@@ -124,9 +130,9 @@ const B = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"],
|
|
|
124
130
|
class: "bar-animated"
|
|
125
131
|
}, null, 8, F)
|
|
126
132
|
])) : a("", !0)
|
|
127
|
-
], 8,
|
|
133
|
+
], 8, b));
|
|
128
134
|
}
|
|
129
|
-
}, X = /* @__PURE__ */
|
|
135
|
+
}, X = /* @__PURE__ */ B(I, [["__scopeId", "data-v-9dd280d2"]]);
|
|
130
136
|
export {
|
|
131
137
|
X as default
|
|
132
138
|
};
|