vue-data-ui 3.17.2 → 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-PjmqM4wb.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 +5 -0
- 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-BINhU4Ky.js +615 -0
- 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 +500 -451
- package/dist/types/vue-data-ui.d.ts +2124 -1786
- 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 +14 -0
- 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 +28 -25
- package/dist/{vue-data-ui-CGsJdqdx.js → vue-data-ui-C0aMSe2G.js} +138 -72
- package/dist/vue-data-ui.js +103 -99
- package/dist/{vue-ui-3d-bar-Bnm0MPNr.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-vvDMkGxw.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-CM5pK6Sj.js → vue-ui-bullet-CEH6eppC.js} +92 -35
- package/dist/{vue-ui-bump-DAo_mV8M.js → vue-ui-bump-JbKFEe2A.js} +205 -102
- package/dist/{vue-ui-candlestick-DsiOmaj1.js → vue-ui-candlestick-BX01sTaY.js} +285 -100
- package/dist/{vue-ui-carousel-table-DUl5G_cg.js → vue-ui-carousel-table-BOAti3gd.js} +66 -29
- package/dist/{vue-ui-chestnut-DMMCHoHB.js → vue-ui-chestnut-B0rhAzCA.js} +277 -88
- package/dist/{vue-ui-chord-75V7kRrX.js → vue-ui-chord-DKIHZ39Z.js} +226 -96
- package/dist/{vue-ui-circle-pack-BGXpEnmN.js → vue-ui-circle-pack-Ct2roluW.js} +196 -111
- package/dist/{vue-ui-cursor-BpPe14qk.js → vue-ui-cursor-B3cJoPku.js} +14 -7
- package/dist/{vue-ui-dag-D20FezGN.js → vue-ui-dag-DCq1VMNd.js} +261 -99
- package/dist/{vue-ui-dashboard-BcafQJ1Y.js → vue-ui-dashboard-BqAYr0Fr.js} +261 -94
- package/dist/{vue-ui-digits-gFYVzPkE.js → vue-ui-digits-D16SQQ4M.js} +6 -6
- package/dist/{vue-ui-donut-Cz7rvM7I.js → vue-ui-donut-d0LLrlKG.js} +532 -157
- package/dist/{vue-ui-donut-evolution-Cp0-8Deg.js → vue-ui-donut-evolution-6sMhQduN.js} +311 -92
- package/dist/{vue-ui-dumbbell-D_13qNsV.js → vue-ui-dumbbell-CUybhrwj.js} +266 -93
- package/dist/{vue-ui-flow-BuaVAVvN.js → vue-ui-flow-BZ-9RFsy.js} +121 -48
- package/dist/{vue-ui-funnel-Cv18o2ax.js → vue-ui-funnel-BJgvIvlz.js} +91 -39
- package/dist/{vue-ui-galaxy-n17IGTDo.js → vue-ui-galaxy-DR9WL985.js} +161 -69
- package/dist/{vue-ui-gauge-2bks6sjR.js → vue-ui-gauge-x96W5OPx.js} +95 -37
- package/dist/{vue-ui-geo-D6BoOtIP.js → vue-ui-geo-qTfYs5qi.js} +113 -43
- package/dist/{vue-ui-gizmo-CV07ZThl.js → vue-ui-gizmo-C8HOirN9.js} +25 -12
- package/dist/{vue-ui-heatmap-DfbRacVm.js → vue-ui-heatmap-Cy9o-A7B.js} +316 -125
- package/dist/{vue-ui-history-plot-5sPJfAue.js → vue-ui-history-plot-j0DMfNPJ.js} +186 -73
- package/dist/{vue-ui-horizontal-bar-BhMvbsvs.js → vue-ui-horizontal-bar-CRScV3rx.js} +151 -56
- package/dist/{vue-ui-kpi-P92uuJ_R.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-BI6zROGn.js → vue-ui-molecule-B_19tjnI.js} +226 -120
- package/dist/{vue-ui-mood-radar-Byc_xyhw.js → vue-ui-mood-radar-DrkGtt7m.js} +166 -56
- package/dist/{vue-ui-nested-donuts-BZu1ntbw.js → vue-ui-nested-donuts-C3enuKq1.js} +196 -89
- package/dist/{vue-ui-onion-O2tKgfXh.js → vue-ui-onion-DMMLNXVu.js} +155 -74
- package/dist/{vue-ui-parallel-coordinate-plot-CbDGHCzy.js → vue-ui-parallel-coordinate-plot-YokoI6TP.js} +262 -84
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +36 -0
- package/dist/{vue-ui-quadrant-CPgUkle7.js → vue-ui-quadrant-D8vI4gIT.js} +240 -88
- package/dist/{vue-ui-quick-chart-CgDH-APs.js → vue-ui-quick-chart-BdwHAQyA.js} +445 -150
- package/dist/{vue-ui-radar-Belp_vQe.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-AWRDIZzF.js → vue-ui-relation-circle-XQH3QkrI.js} +119 -45
- package/dist/{vue-ui-ridgeline-Cao4_cEs.js → vue-ui-ridgeline-ksI62sSU.js} +349 -85
- package/dist/{vue-ui-rings-Dl462hDH.js → vue-ui-rings-Dwbo1Fro.js} +179 -81
- package/dist/{vue-ui-scatter-BrVEK5YL.js → vue-ui-scatter-GFzM-YYz.js} +282 -102
- package/dist/{vue-ui-skeleton-BsTtcR3x.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-CbtI2yPI.js → vue-ui-spark-trend-Bkxd18l5.js} +76 -31
- package/dist/{vue-ui-sparkbar-DgrwoANx.js → vue-ui-sparkbar-D2abFa-u.js} +113 -59
- package/dist/{vue-ui-sparkgauge-CepspA5J.js → vue-ui-sparkgauge-D6IF3ZQR.js} +47 -18
- package/dist/{vue-ui-sparkhistogram-BAVAkN0U.js → vue-ui-sparkhistogram-Dl8WlJLW.js} +145 -60
- package/dist/{vue-ui-sparkline-BMcsfaUW.js → vue-ui-sparkline-BY05SDNv.js} +226 -68
- package/dist/{vue-ui-sparkstackbar-BAzr99-y.js → vue-ui-sparkstackbar-BLFjfklb.js} +84 -36
- package/dist/{vue-ui-stackbar-BnepTc3z.js → vue-ui-stackbar-Dw-CI94e.js} +482 -169
- package/dist/{vue-ui-stackline-p3Utm59w.js → vue-ui-stackline-CkgSbKkp.js} +473 -164
- package/dist/{vue-ui-strip-plot-BfYmPTZT.js → vue-ui-strip-plot-P16Y5yN1.js} +239 -132
- package/dist/{vue-ui-table-BNmt2bQy.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-BMt2q1FS.js → vue-ui-table-sparkline-CpjyrPic.js} +127 -47
- package/dist/{vue-ui-thermometer-Bf22bEzP.js → vue-ui-thermometer-B9nc954A.js} +129 -48
- package/dist/{vue-ui-timer-CkEPkE7B.js → vue-ui-timer-BDfbM4vl.js} +32 -15
- package/dist/{vue-ui-tiremarks-ltmjDwug.js → vue-ui-tiremarks-DHV_oSQ0.js} +90 -35
- package/dist/vue-ui-treemap-DLWOi_EG.js +1748 -0
- package/dist/{vue-ui-waffle-AUF7SKGN.js → vue-ui-waffle-CpNJSzAD.js} +206 -87
- package/dist/{vue-ui-wheel-Dn1nmx7r.js → vue-ui-wheel-DqBmaQ6h.js} +231 -61
- package/dist/{vue-ui-word-cloud-Bll30XSc.js → vue-ui-word-cloud-DexRxuh1.js} +443 -350
- package/dist/vue-ui-world-DAJgtvpz.js +14451 -0
- package/dist/{vue-ui-xy-BGC31q8v.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-CGbTrwdn.js +0 -1726
- package/dist/vue-ui-world-CiNUxqIq.js +0 -1011
|
@@ -1,21 +1,33 @@
|
|
|
1
|
-
import { defineAsyncComponent as U, computed as w, ref as r, toRefs as Ut, watch as fe, onMounted as Vt, onBeforeUnmount as Gt, openBlock as d, createElementBlock as C, unref as v, normalizeStyle as ae, normalizeClass as _e, createElementVNode as O, toDisplayString as ne, createBlock as K, createCommentVNode as x, withCtx as
|
|
2
|
-
import { u as Yt } from "./useConfig-
|
|
3
|
-
import { j as ft, t as pt, m as De, p as he, o as jt, q as Xt, n as qt, s as Wt, l as ht, X as Ht, x as Zt, w as Jt, W as Ie, d as Qt, a0 as eo, a1 as to, T as oo, k as lo, a3 as ao } from "./lib-
|
|
4
|
-
import { u as no } from "./usePrinter-
|
|
5
|
-
import { u as so, B as uo } from "./BaseScanner-
|
|
6
|
-
import { u as ro } from "./useSvgExport-
|
|
7
|
-
import { u as Ne } from "./useNestedProp-
|
|
8
|
-
import { u as io } from "./useThemeCheck-
|
|
9
|
-
import { u as vo } from "./useUserOptionState-
|
|
10
|
-
import { u as co } from "./useChartAccessibility-
|
|
1
|
+
import { defineAsyncComponent as U, computed as w, ref as r, toRefs as Ut, watch as fe, onMounted as Vt, onBeforeUnmount as Gt, openBlock as d, createElementBlock as C, unref as v, normalizeStyle as ae, normalizeClass as _e, createElementVNode as O, toDisplayString as ne, createBlock as K, createCommentVNode as x, withCtx as m, renderSlot as c, normalizeProps as P, guardReactiveProps as S, createSlots as vt, createVNode as Oe, Fragment as W, renderList as Fe, mergeProps as pe, resolveDynamicComponent as Kt, createTextVNode as ct, nextTick as dt } from "vue";
|
|
2
|
+
import { u as Yt } from "./useConfig-DTHxOX6V.js";
|
|
3
|
+
import { j as ft, t as pt, m as De, p as he, o as jt, q as Xt, n as qt, s as Wt, l as ht, X as Ht, x as Zt, w as Jt, W as Ie, d as Qt, a0 as eo, a1 as to, T as oo, k as lo, a3 as ao } from "./lib-DMzrGQHK.js";
|
|
4
|
+
import { u as no } from "./usePrinter-C4t8DdQ-.js";
|
|
5
|
+
import { u as so, B as uo } from "./BaseScanner-BON3d_Sx.js";
|
|
6
|
+
import { u as ro } from "./useSvgExport-BTG4hVPO.js";
|
|
7
|
+
import { u as Ne } from "./useNestedProp-DH0BEVVS.js";
|
|
8
|
+
import { u as io } from "./useThemeCheck-C9Ccl7U9.js";
|
|
9
|
+
import { u as vo } from "./useUserOptionState-B7Ej974k.js";
|
|
10
|
+
import { u as co } from "./useChartAccessibility-cp6XQtqi.js";
|
|
11
11
|
import { t as fo, u as po } from "./useResponsive-DfdjqQps.js";
|
|
12
|
-
import ho from "./img-
|
|
13
|
-
import yo from "./Title-
|
|
14
|
-
import
|
|
15
|
-
import { A as
|
|
12
|
+
import ho from "./img-CjTQXS0U.js";
|
|
13
|
+
import yo from "./Title-BbKoiBk2.js";
|
|
14
|
+
import bo from "./vue_ui_circle_pack-CLmw8nHe.js";
|
|
15
|
+
import { A as mo } from "./A11yDataTable-BpmuNomI.js";
|
|
16
16
|
import { _ as go } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
function ko(i, f = 0) {
|
|
18
|
-
const y = i.reduce(
|
|
18
|
+
const y = i.reduce(
|
|
19
|
+
(a, { x: s, r: h }) => Math.min(a, s - h - f),
|
|
20
|
+
1 / 0
|
|
21
|
+
), g = i.reduce(
|
|
22
|
+
(a, { x: s, r: h }) => Math.max(a, s + h + f),
|
|
23
|
+
-1 / 0
|
|
24
|
+
), p = i.reduce(
|
|
25
|
+
(a, { y: s, r: h }) => Math.min(a, s - h - f),
|
|
26
|
+
1 / 0
|
|
27
|
+
), n = i.reduce(
|
|
28
|
+
(a, { y: s, r: h }) => Math.max(a, s + h + f),
|
|
29
|
+
-1 / 0
|
|
30
|
+
);
|
|
19
31
|
return [y, p, g - y, n - p];
|
|
20
32
|
}
|
|
21
33
|
function Co(i, f, y) {
|
|
@@ -33,13 +45,13 @@ function wo(i, f, y) {
|
|
|
33
45
|
let T = a.next, B = n.previous, A = a._.r, H = n._.r;
|
|
34
46
|
do
|
|
35
47
|
if (A <= H) {
|
|
36
|
-
if (
|
|
48
|
+
if (bt(T._, s._)) {
|
|
37
49
|
a = T, n.next = a, a.previous = n, --h;
|
|
38
50
|
continue e;
|
|
39
51
|
}
|
|
40
52
|
A += T._.r, T = T.next;
|
|
41
53
|
} else {
|
|
42
|
-
if (
|
|
54
|
+
if (bt(B._, s._)) {
|
|
43
55
|
n = B, n.next = a, a.previous = n, --h;
|
|
44
56
|
continue e;
|
|
45
57
|
}
|
|
@@ -68,7 +80,7 @@ function yt(i, f, y) {
|
|
|
68
80
|
} else
|
|
69
81
|
y.x = f.x + y.r, y.y = f.y;
|
|
70
82
|
}
|
|
71
|
-
function
|
|
83
|
+
function bt(i, f) {
|
|
72
84
|
const y = i.r + f.r - 1e-6, g = f.x - i.x, p = f.y - i.y;
|
|
73
85
|
return y > 0 && y * y > g * g + p * p;
|
|
74
86
|
}
|
|
@@ -103,7 +115,17 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
103
115
|
},
|
|
104
116
|
emits: ["selectDatapoint", "copyAlt"],
|
|
105
117
|
setup(i, { expose: f, emit: y }) {
|
|
106
|
-
const g = U(() => import("./Tooltip-
|
|
118
|
+
const g = U(() => import("./Tooltip-Cvt7Fi0Q.js")), p = U(() => import("./BaseIcon-DX0hTWa-.js")), n = U(() => import("./vue-ui-accordion-BHmfmb_6.js")), a = U(() => import("./DataTable-cMnb68Ik.js")), s = U(
|
|
119
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
120
|
+
), h = U(
|
|
121
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
122
|
+
), T = U(
|
|
123
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
124
|
+
), B = U(
|
|
125
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
126
|
+
), A = i, H = y, { vue_ui_circle_pack: se } = Yt(), { isThemeValid: ue, warnInvalidTheme: mt } = io(), Me = w(() => !!A.dataset && A.dataset.length), M = r(ft()), F = r(null), Re = r(null), Be = r(null), Ee = r(0), ze = r(0), Le = r(0), Ue = r(null), Y = r(null), be = r(null), re = r(!1), me = r(""), I = r(null), ie = r(!1), ve = r(!1), _ = r(null), Ve = r({ x: 0, y: 0 }), Z = r("pointer"), ge = r(!1), e = r(Ce()), J = w(
|
|
127
|
+
() => e.value.userOptions.useCursorPointer
|
|
128
|
+
), gt = w(() => pt({
|
|
107
129
|
defaultConfig: {
|
|
108
130
|
userOptions: { show: !1 },
|
|
109
131
|
table: { show: !1 },
|
|
@@ -137,11 +159,9 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
137
159
|
defaultConfig: e.value,
|
|
138
160
|
userConfig: gt.value
|
|
139
161
|
})
|
|
140
|
-
}), { svgRef: N } = co({
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
keepUserOptionState: je
|
|
144
|
-
} = vo({ config: e.value });
|
|
162
|
+
}), { svgRef: N } = co({
|
|
163
|
+
config: e.value.style.chart.title
|
|
164
|
+
}), { userOptionsVisible: ke, setUserOptionsVisibility: Ye, keepUserOptionState: je } = vo({ config: e.value });
|
|
145
165
|
function Ce() {
|
|
146
166
|
const t = Ne({
|
|
147
167
|
userConfig: A.config,
|
|
@@ -149,9 +169,9 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
149
169
|
}), l = t.theme;
|
|
150
170
|
if (!l) return t;
|
|
151
171
|
if (!ue.value(t))
|
|
152
|
-
return
|
|
172
|
+
return mt(t), t;
|
|
153
173
|
const o = Ne({
|
|
154
|
-
userConfig:
|
|
174
|
+
userConfig: bo[l] || A.config,
|
|
155
175
|
defaultConfig: t
|
|
156
176
|
}), u = Ne({
|
|
157
177
|
userConfig: A.config,
|
|
@@ -162,9 +182,13 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
162
182
|
customPalette: u.customPalette.length ? u.customPalette : De[l] || he
|
|
163
183
|
};
|
|
164
184
|
}
|
|
165
|
-
fe(
|
|
166
|
-
|
|
167
|
-
|
|
185
|
+
fe(
|
|
186
|
+
() => A.config,
|
|
187
|
+
(t) => {
|
|
188
|
+
e.value = Ce(), ke.value = !e.value.userOptions.showOnChartHover, xe(), Ee.value += 1, ze.value += 1, D.value.showTable = e.value.table.show;
|
|
189
|
+
},
|
|
190
|
+
{ deep: !0 }
|
|
191
|
+
);
|
|
168
192
|
const { isPrinting: we, isImaging: $e, generatePdf: Xe, generateImage: qe } = no({
|
|
169
193
|
elementId: `vue-ui-circle-pack_${M.value}`,
|
|
170
194
|
fileName: e.value.style.chart.title.text || "vue-ui-circle-pack",
|
|
@@ -173,12 +197,16 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
173
197
|
showTable: e.value.table.show,
|
|
174
198
|
showTooltip: e.value.style.chart.tooltip.show
|
|
175
199
|
});
|
|
176
|
-
fe(
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
200
|
+
fe(
|
|
201
|
+
e,
|
|
202
|
+
() => {
|
|
203
|
+
D.value = {
|
|
204
|
+
showTable: e.value.table.show,
|
|
205
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
206
|
+
};
|
|
207
|
+
},
|
|
208
|
+
{ immediate: !0 }
|
|
209
|
+
);
|
|
182
210
|
const Ct = r({ h: 10, w: 10 }), We = r([0, 0, 100, 100]), wt = w(() => e.value.debug), $t = w(() => {
|
|
183
211
|
const t = e.value.style?.chart || {};
|
|
184
212
|
return t.dimensions && typeof t.dimensions.width == "number" ? t.dimensions.width : typeof t.width == "number" ? t.width : 300;
|
|
@@ -196,13 +224,13 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
196
224
|
$.value = [], We.value = [0, 0, t, l], E.value = `0 0 ${t} ${l}`;
|
|
197
225
|
return;
|
|
198
226
|
}
|
|
199
|
-
const u = wo(o, l, t), [
|
|
227
|
+
const u = wo(o, l, t), [b, k, L, X] = ko(u, 1), le = Math.min(
|
|
200
228
|
L ? t / L : 1,
|
|
201
229
|
X ? l / X : 1
|
|
202
230
|
), zt = (t - L * le) / 2, Lt = (l - X * le) / 2;
|
|
203
231
|
$.value = u.map((q) => ({
|
|
204
232
|
...q,
|
|
205
|
-
x: (q.x -
|
|
233
|
+
x: (q.x - b) * le + zt,
|
|
206
234
|
y: (q.y - k) * le + Lt,
|
|
207
235
|
r: q.r * le
|
|
208
236
|
})), We.value = [0, 0, t, l], E.value = `0 0 ${t} ${l}`;
|
|
@@ -237,9 +265,13 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
237
265
|
}
|
|
238
266
|
Vt(xe), Gt(() => {
|
|
239
267
|
Ze();
|
|
240
|
-
}), fe(
|
|
241
|
-
|
|
242
|
-
|
|
268
|
+
}), fe(
|
|
269
|
+
() => Ke.value,
|
|
270
|
+
async (t) => {
|
|
271
|
+
await xe();
|
|
272
|
+
},
|
|
273
|
+
{ deep: !0 }
|
|
274
|
+
);
|
|
243
275
|
const Pt = w(() => qt(e.value.customPalette)), V = w(() => Ke.value.map((t, l) => {
|
|
244
276
|
const o = Wt(t.color) || Pt.value[l] || De[e.value.theme || "default"][l % De[e.value.theme || "default"].length] || he[l] || he[l % he.length];
|
|
245
277
|
return {
|
|
@@ -248,7 +280,9 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
248
280
|
id: ft(),
|
|
249
281
|
color: o
|
|
250
282
|
};
|
|
251
|
-
}).filter(
|
|
283
|
+
}).filter(
|
|
284
|
+
(t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value)
|
|
285
|
+
)), Q = w(() => $.value.length ? Math.max(...$.value.map((t) => t.r)) : 0);
|
|
252
286
|
function Je(t, l) {
|
|
253
287
|
return Q.value ? l / Q.value * t : 0;
|
|
254
288
|
}
|
|
@@ -260,23 +294,28 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
260
294
|
}
|
|
261
295
|
const ce = r(null), ee = r(!1);
|
|
262
296
|
function tt(t, l, o = "pointer") {
|
|
263
|
-
I.value = t, _.value = l, Z.value = o, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), ce.value = {
|
|
297
|
+
I.value = t, _.value = l, Z.value = o, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), ce.value = {
|
|
298
|
+
datapoint: t,
|
|
299
|
+
seriesIndex: l,
|
|
300
|
+
config: e.value,
|
|
301
|
+
series: V.value
|
|
302
|
+
}, re.value = !0;
|
|
264
303
|
const u = e.value.style.chart.tooltip.customFormat;
|
|
265
304
|
if (ee.value = !1, oo(u))
|
|
266
305
|
try {
|
|
267
|
-
const
|
|
306
|
+
const b = u({
|
|
268
307
|
seriesIndex: l,
|
|
269
308
|
datapoint: t,
|
|
270
309
|
series: V.value,
|
|
271
310
|
config: e.value
|
|
272
311
|
});
|
|
273
|
-
typeof
|
|
312
|
+
typeof b == "string" && (me.value = b, ee.value = !0);
|
|
274
313
|
} catch {
|
|
275
314
|
console.warn("Custom format cannot be applied."), ee.value = !1;
|
|
276
315
|
}
|
|
277
316
|
if (!ee.value) {
|
|
278
|
-
let
|
|
279
|
-
|
|
317
|
+
let b = "";
|
|
318
|
+
b += `
|
|
280
319
|
<div style="display:flex;align-items:center;gap:4px;">
|
|
281
320
|
<svg viewBox="0 0 10 10" height="${e.value.style.chart.tooltip.fontSize}" width="${e.value.style.chart.tooltip.fontSize}">
|
|
282
321
|
<circle
|
|
@@ -288,7 +327,7 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
288
327
|
</svg>
|
|
289
328
|
<span>${t.name}: <b>${Te(t)}</b></span>
|
|
290
329
|
</div>
|
|
291
|
-
`,
|
|
330
|
+
`, me.value = b;
|
|
292
331
|
}
|
|
293
332
|
}
|
|
294
333
|
function Te(t) {
|
|
@@ -327,19 +366,22 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
327
366
|
});
|
|
328
367
|
function Se(t = null) {
|
|
329
368
|
dt(() => {
|
|
330
|
-
const l = de.value.head.map((
|
|
369
|
+
const l = de.value.head.map((b, k) => [[b.name], [de.value.body[k]]]), o = [
|
|
331
370
|
[e.value.style.chart.title.text],
|
|
332
371
|
[e.value.style.chart.title.subtitle.text],
|
|
333
372
|
[[""], [e.value.table.columnNames.value]]
|
|
334
373
|
].concat(l), u = eo(o);
|
|
335
|
-
t ? t(u) : to({
|
|
374
|
+
t ? t(u) : to({
|
|
375
|
+
csvContent: u,
|
|
376
|
+
title: e.value.style.chart.title.text || "vue-ui-circle-pack"
|
|
377
|
+
});
|
|
336
378
|
});
|
|
337
379
|
}
|
|
338
380
|
const j = w(() => {
|
|
339
381
|
const t = [
|
|
340
382
|
e.value.table.columnNames.datapoint,
|
|
341
383
|
e.value.table.columnNames.value
|
|
342
|
-
], l = de.value.head.map((
|
|
384
|
+
], l = de.value.head.map((b, k) => {
|
|
343
385
|
const L = ht({
|
|
344
386
|
p: e.value.style.chart.circles.labels.value.prefix,
|
|
345
387
|
v: de.value.body[k],
|
|
@@ -348,8 +390,8 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
348
390
|
});
|
|
349
391
|
return [
|
|
350
392
|
{
|
|
351
|
-
color:
|
|
352
|
-
name:
|
|
393
|
+
color: b.color,
|
|
394
|
+
name: b.name
|
|
353
395
|
},
|
|
354
396
|
L
|
|
355
397
|
];
|
|
@@ -387,9 +429,14 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
387
429
|
}
|
|
388
430
|
async function _t({ scale: t = 2 } = {}) {
|
|
389
431
|
if (!F.value) return;
|
|
390
|
-
const { width: l, height: o } = F.value.getBoundingClientRect(), u = l / o, { imageUri:
|
|
432
|
+
const { width: l, height: o } = F.value.getBoundingClientRect(), u = l / o, { imageUri: b, base64: k } = await ho({
|
|
433
|
+
domElement: F.value,
|
|
434
|
+
base64: !0,
|
|
435
|
+
img: !0,
|
|
436
|
+
scale: t
|
|
437
|
+
});
|
|
391
438
|
return {
|
|
392
|
-
imageUri:
|
|
439
|
+
imageUri: b,
|
|
393
440
|
base64: k,
|
|
394
441
|
title: e.value.style.chart.title.text,
|
|
395
442
|
width: l,
|
|
@@ -428,11 +475,14 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
428
475
|
}
|
|
429
476
|
};
|
|
430
477
|
});
|
|
431
|
-
fe(
|
|
432
|
-
|
|
433
|
-
|
|
478
|
+
fe(
|
|
479
|
+
() => D.value.showTable,
|
|
480
|
+
(t) => {
|
|
481
|
+
e.value.table.show || (t && e.value.table.useDialog && Y.value ? Y.value.open() : Y.value && "close" in Y.value && Y.value.close());
|
|
482
|
+
}
|
|
483
|
+
);
|
|
434
484
|
function nt() {
|
|
435
|
-
D.value.showTable = !1,
|
|
485
|
+
D.value.showTable = !1, be.value && be.value.setTableIconState(!1);
|
|
436
486
|
}
|
|
437
487
|
const Ot = w(() => e.value.style.chart.backgroundColor), Ft = w(() => e.value.style.chart.title), { exportSvg: Dt, getSvg: It } = ro({
|
|
438
488
|
svg: N,
|
|
@@ -443,8 +493,15 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
443
493
|
ve.value = !0, await dt();
|
|
444
494
|
try {
|
|
445
495
|
if (t) {
|
|
446
|
-
const { blob: l, url: o, text: u, dataUrl:
|
|
447
|
-
await Promise.resolve(
|
|
496
|
+
const { blob: l, url: o, text: u, dataUrl: b } = await It();
|
|
497
|
+
await Promise.resolve(
|
|
498
|
+
e.value.userOptions.callbacks.svg({
|
|
499
|
+
blob: l,
|
|
500
|
+
url: o,
|
|
501
|
+
text: u,
|
|
502
|
+
dataUrl: b
|
|
503
|
+
})
|
|
504
|
+
);
|
|
448
505
|
} else
|
|
449
506
|
await Promise.resolve(Dt());
|
|
450
507
|
} finally {
|
|
@@ -467,13 +524,17 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
467
524
|
config: e.value,
|
|
468
525
|
dataset: V.value
|
|
469
526
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
470
|
-
console.warn(
|
|
527
|
+
console.warn(
|
|
528
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
529
|
+
);
|
|
471
530
|
return;
|
|
472
531
|
}
|
|
473
|
-
await Promise.resolve(
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
532
|
+
await Promise.resolve(
|
|
533
|
+
e.value.userOptions.callbacks.altCopy({
|
|
534
|
+
config: e.value,
|
|
535
|
+
dataset: V.value
|
|
536
|
+
})
|
|
537
|
+
);
|
|
477
538
|
}
|
|
478
539
|
function Mt(t) {
|
|
479
540
|
if (!Number.isFinite(t) || !N.value) return;
|
|
@@ -501,9 +562,10 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
501
562
|
}
|
|
502
563
|
function Et(t) {
|
|
503
564
|
if (!N.value || te.value || document.activeElement !== N.value || !$.value.length) return;
|
|
504
|
-
const l = ["ArrowLeft", "ArrowUp"].includes(t.key), o = ["ArrowRight", "ArrowDown"].includes(t.key), u = t.key === "Enter" || t.key === " ",
|
|
505
|
-
if (!l && !o && !u && !
|
|
506
|
-
|
|
565
|
+
const l = ["ArrowLeft", "ArrowUp"].includes(t.key), o = ["ArrowRight", "ArrowDown"].includes(t.key), u = t.key === "Enter" || t.key === " ", b = t.key === "Escape";
|
|
566
|
+
if (!l && !o && !u && !b)
|
|
567
|
+
return;
|
|
568
|
+
if (t.preventDefault(), t.stopPropagation(), b) {
|
|
507
569
|
rt();
|
|
508
570
|
return;
|
|
509
571
|
}
|
|
@@ -520,10 +582,7 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
520
582
|
L && (_.value = k, Mt(k), tt(L, k, "keyboard"));
|
|
521
583
|
}
|
|
522
584
|
const Ae = w(() => {
|
|
523
|
-
const t = j.value?.colNames ?? [], l = j.value?.body?.map((o) => [
|
|
524
|
-
o[0]?.name ?? "",
|
|
525
|
-
o[1]
|
|
526
|
-
]) ?? [];
|
|
585
|
+
const t = j.value?.colNames ?? [], l = j.value?.body?.map((o) => [o[0]?.name ?? "", o[1]]) ?? [];
|
|
527
586
|
return { headers: t, rows: l };
|
|
528
587
|
});
|
|
529
588
|
return f({
|
|
@@ -552,7 +611,7 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
552
611
|
}, [
|
|
553
612
|
O("p", null, ne(e.value.a11y.translations.keyboardNavigation), 1)
|
|
554
613
|
], 8, xo),
|
|
555
|
-
Ae.value?.rows?.length ? (d(), K(
|
|
614
|
+
Ae.value?.rows?.length ? (d(), K(mo, {
|
|
556
615
|
key: 0,
|
|
557
616
|
uid: M.value,
|
|
558
617
|
head: Ae.value.headers,
|
|
@@ -570,22 +629,22 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
570
629
|
isCursorPointer: J.value,
|
|
571
630
|
onClose: Pe
|
|
572
631
|
}, {
|
|
573
|
-
"annotator-action-close":
|
|
632
|
+
"annotator-action-close": m(() => [
|
|
574
633
|
c(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
575
634
|
]),
|
|
576
|
-
"annotator-action-color":
|
|
635
|
+
"annotator-action-color": m(({ color: o }) => [
|
|
577
636
|
c(t.$slots, "annotator-action-color", P(S({ color: o })), void 0, !0)
|
|
578
637
|
]),
|
|
579
|
-
"annotator-action-draw":
|
|
638
|
+
"annotator-action-draw": m(({ mode: o }) => [
|
|
580
639
|
c(t.$slots, "annotator-action-draw", P(S({ mode: o })), void 0, !0)
|
|
581
640
|
]),
|
|
582
|
-
"annotator-action-undo":
|
|
641
|
+
"annotator-action-undo": m(({ disabled: o }) => [
|
|
583
642
|
c(t.$slots, "annotator-action-undo", P(S({ disabled: o })), void 0, !0)
|
|
584
643
|
]),
|
|
585
|
-
"annotator-action-redo":
|
|
644
|
+
"annotator-action-redo": m(({ disabled: o }) => [
|
|
586
645
|
c(t.$slots, "annotator-action-redo", P(S({ disabled: o })), void 0, !0)
|
|
587
646
|
]),
|
|
588
|
-
"annotator-action-delete":
|
|
647
|
+
"annotator-action-delete": m(({ disabled: o }) => [
|
|
589
648
|
c(t.$slots, "annotator-action-delete", P(S({ disabled: o })), void 0, !0)
|
|
590
649
|
]),
|
|
591
650
|
_: 3
|
|
@@ -620,7 +679,7 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
620
679
|
], 512)) : x("", !0),
|
|
621
680
|
e.value.userOptions.show && Me.value && (v(je) || v(ke)) ? (d(), K(v(s), {
|
|
622
681
|
ref_key: "userOptionsRef",
|
|
623
|
-
ref:
|
|
682
|
+
ref: be,
|
|
624
683
|
key: `user_option_${Le.value}`,
|
|
625
684
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
626
685
|
color: e.value.style.chart.color,
|
|
@@ -656,74 +715,79 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
656
715
|
onToggleTooltip: St,
|
|
657
716
|
onToggleAnnotator: Pe,
|
|
658
717
|
onCopyAlt: ut,
|
|
659
|
-
style: ae({
|
|
718
|
+
style: ae({
|
|
719
|
+
visibility: v(je) ? v(ke) ? "visible" : "hidden" : "visible"
|
|
720
|
+
})
|
|
660
721
|
}, vt({ _: 2 }, [
|
|
661
722
|
t.$slots.menuIcon ? {
|
|
662
723
|
name: "menuIcon",
|
|
663
|
-
fn:
|
|
724
|
+
fn: m(({ isOpen: o, color: u }) => [
|
|
664
725
|
c(t.$slots, "menuIcon", P(S({ isOpen: o, color: u })), void 0, !0)
|
|
665
726
|
]),
|
|
666
727
|
key: "0"
|
|
667
728
|
} : void 0,
|
|
668
729
|
t.$slots.optionPdf ? {
|
|
669
730
|
name: "optionPdf",
|
|
670
|
-
fn:
|
|
731
|
+
fn: m(() => [
|
|
671
732
|
c(t.$slots, "optionPdf", {}, void 0, !0)
|
|
672
733
|
]),
|
|
673
734
|
key: "1"
|
|
674
735
|
} : void 0,
|
|
675
736
|
t.$slots.optionCsv ? {
|
|
676
737
|
name: "optionCsv",
|
|
677
|
-
fn:
|
|
738
|
+
fn: m(() => [
|
|
678
739
|
c(t.$slots, "optionCsv", {}, void 0, !0)
|
|
679
740
|
]),
|
|
680
741
|
key: "2"
|
|
681
742
|
} : void 0,
|
|
682
743
|
t.$slots.optionImg ? {
|
|
683
744
|
name: "optionImg",
|
|
684
|
-
fn:
|
|
745
|
+
fn: m(() => [
|
|
685
746
|
c(t.$slots, "optionImg", {}, void 0, !0)
|
|
686
747
|
]),
|
|
687
748
|
key: "3"
|
|
688
749
|
} : void 0,
|
|
689
750
|
t.$slots.optionSvg ? {
|
|
690
751
|
name: "optionSvg",
|
|
691
|
-
fn:
|
|
752
|
+
fn: m(() => [
|
|
692
753
|
c(t.$slots, "optionSvg", {}, void 0, !0)
|
|
693
754
|
]),
|
|
694
755
|
key: "4"
|
|
695
756
|
} : void 0,
|
|
696
757
|
t.$slots.optionTable ? {
|
|
697
758
|
name: "optionTable",
|
|
698
|
-
fn:
|
|
759
|
+
fn: m(() => [
|
|
699
760
|
c(t.$slots, "optionTable", {}, void 0, !0)
|
|
700
761
|
]),
|
|
701
762
|
key: "5"
|
|
702
763
|
} : void 0,
|
|
703
764
|
t.$slots.optionFullscreen ? {
|
|
704
765
|
name: "optionFullscreen",
|
|
705
|
-
fn:
|
|
766
|
+
fn: m(({ toggleFullscreen: o, isFullscreen: u }) => [
|
|
706
767
|
c(t.$slots, "optionFullscreen", P(S({ toggleFullscreen: o, isFullscreen: u })), void 0, !0)
|
|
707
768
|
]),
|
|
708
769
|
key: "6"
|
|
709
770
|
} : void 0,
|
|
710
771
|
t.$slots.optionAnnotator ? {
|
|
711
772
|
name: "optionAnnotator",
|
|
712
|
-
fn:
|
|
773
|
+
fn: m(({ toggleAnnotator: o, isAnnotator: u }) => [
|
|
713
774
|
c(t.$slots, "optionAnnotator", P(S({ toggleAnnotator: o, isAnnotator: u })), void 0, !0)
|
|
714
775
|
]),
|
|
715
776
|
key: "7"
|
|
716
777
|
} : void 0,
|
|
717
778
|
t.$slots.optionAltCopy ? {
|
|
718
779
|
name: "optionAltCopy",
|
|
719
|
-
fn:
|
|
780
|
+
fn: m(({ altCopy: o }) => [
|
|
720
781
|
c(t.$slots, "optionAltCopy", P(S({ altCopy: o })), void 0, !0)
|
|
721
782
|
]),
|
|
722
783
|
key: "8"
|
|
723
784
|
} : void 0
|
|
724
785
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "isTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "chartElement", "position", "callbacks", "printScale", "titles", "hasAnnotator", "isAnnotation", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : x("", !0),
|
|
725
786
|
O("div", {
|
|
726
|
-
class: _e({
|
|
787
|
+
class: _e({
|
|
788
|
+
"vue-ui-circle-pack-svg-container": !0,
|
|
789
|
+
"not-responsive": !e.value.responsive
|
|
790
|
+
})
|
|
727
791
|
}, [
|
|
728
792
|
(d(), C("svg", {
|
|
729
793
|
ref_key: "svgRef",
|
|
@@ -732,7 +796,11 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
732
796
|
"aria-describedby": `chart-instructions-${M.value}`,
|
|
733
797
|
viewBox: E.value,
|
|
734
798
|
preserveAspectRatio: "xMidYMid meet",
|
|
735
|
-
class: _e({
|
|
799
|
+
class: _e({
|
|
800
|
+
"vue-data-ui-fullscreen--on": G.value,
|
|
801
|
+
"vue-data-ui-fulscreen--off": !G.value,
|
|
802
|
+
"not-responsive": !e.value.responsive
|
|
803
|
+
}),
|
|
736
804
|
style: ae(`display:block;${e.value.responsive ? "width:100%;height:auto" : "height:100%;"};overflow:visible;background:transparent;color:${e.value.style.chart.color};background:${e.value.style.chart.backgroundColor};`),
|
|
737
805
|
tabindex: "0",
|
|
738
806
|
onFocus: Rt,
|
|
@@ -760,7 +828,10 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
760
828
|
}, [
|
|
761
829
|
O("stop", {
|
|
762
830
|
offset: "10%",
|
|
763
|
-
"stop-color": v(Zt)(
|
|
831
|
+
"stop-color": v(Zt)(
|
|
832
|
+
o.color,
|
|
833
|
+
e.value.style.chart.circles.gradient.intensity / 100
|
|
834
|
+
)
|
|
764
835
|
}, null, 8, Ao),
|
|
765
836
|
O("stop", {
|
|
766
837
|
offset: "90%",
|
|
@@ -774,7 +845,10 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
774
845
|
]),
|
|
775
846
|
t.$slots.pattern ? (d(), C("g", Fo, [
|
|
776
847
|
O("defs", null, [
|
|
777
|
-
c(t.$slots, "pattern", pe({ ref_for: !0 }, {
|
|
848
|
+
c(t.$slots, "pattern", pe({ ref_for: !0 }, {
|
|
849
|
+
...o,
|
|
850
|
+
patternId: `pattern_${M.value}_${o.id}`
|
|
851
|
+
}), void 0, !0)
|
|
778
852
|
])
|
|
779
853
|
])) : x("", !0),
|
|
780
854
|
O("rect", {
|
|
@@ -786,9 +860,9 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
786
860
|
"stroke-width": e.value.style.chart.circles.strokeWidth * (Q.value || 1) / 100,
|
|
787
861
|
fill: e.value.style.chart.circles.gradient.show ? `url(#${o.id})` : o.color,
|
|
788
862
|
rx: o.r,
|
|
789
|
-
onMouseenter: (
|
|
790
|
-
onMouseout: (
|
|
791
|
-
onClick: (
|
|
863
|
+
onMouseenter: (b) => tt(o, u, "pointer"),
|
|
864
|
+
onMouseout: (b) => Qe(o, u),
|
|
865
|
+
onClick: (b) => et(o, u)
|
|
792
866
|
}, null, 40, Do),
|
|
793
867
|
t.$slots.pattern ? (d(), C("rect", {
|
|
794
868
|
key: 1,
|
|
@@ -841,7 +915,10 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
841
915
|
transition: "opacity 0.2s ease-in-out"
|
|
842
916
|
},
|
|
843
917
|
x: o.x,
|
|
844
|
-
y: o.y + Je(
|
|
918
|
+
y: o.y + Je(
|
|
919
|
+
o.r,
|
|
920
|
+
e.value.style.chart.circles.labels.name.offsetY
|
|
921
|
+
) - o.r / 10,
|
|
845
922
|
"font-size": o.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
|
|
846
923
|
fill: e.value.style.chart.circles.labels.name.color === "auto" ? v(Ie)(o.color) : e.value.style.chart.circles.labels.name.color,
|
|
847
924
|
"font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
|
|
@@ -854,7 +931,10 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
854
931
|
transition: "opacity 0.2s ease-in-out"
|
|
855
932
|
},
|
|
856
933
|
x: o.x,
|
|
857
|
-
y: o.y + Je(
|
|
934
|
+
y: o.y + Je(
|
|
935
|
+
o.r,
|
|
936
|
+
e.value.style.chart.circles.labels.value.offsetY
|
|
937
|
+
) + o.r / 2.5,
|
|
858
938
|
"font-size": ot(o) * e.value.style.chart.circles.labels.value.fontSizeRatio,
|
|
859
939
|
fill: e.value.style.chart.circles.labels.value.color === "auto" ? v(Ie)(o.color) : e.value.style.chart.circles.labels.value.color,
|
|
860
940
|
"font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
|
|
@@ -876,11 +956,16 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
876
956
|
}, void 0, !0)
|
|
877
957
|
], 46, To)),
|
|
878
958
|
t.$slots.hint ? (d(), C("div", Bo, [
|
|
879
|
-
c(t.$slots, "hint", P(S({
|
|
959
|
+
c(t.$slots, "hint", P(S({
|
|
960
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
961
|
+
isVisible: ge.value
|
|
962
|
+
})), void 0, !0)
|
|
880
963
|
])) : x("", !0)
|
|
881
964
|
], 2),
|
|
882
965
|
t.$slots.watermark ? (d(), C("div", Eo, [
|
|
883
|
-
c(t.$slots, "watermark", P(S({
|
|
966
|
+
c(t.$slots, "watermark", P(S({
|
|
967
|
+
isPrinting: v(we) || v($e) || ie.value || ve.value
|
|
968
|
+
})), void 0, !0)
|
|
884
969
|
])) : x("", !0),
|
|
885
970
|
t.$slots.source ? (d(), C("div", {
|
|
886
971
|
key: 6,
|
|
@@ -903,7 +988,7 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
903
988
|
position: e.value.style.chart.tooltip.position,
|
|
904
989
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
905
990
|
parent: F.value,
|
|
906
|
-
content:
|
|
991
|
+
content: me.value,
|
|
907
992
|
isCustom: ee.value,
|
|
908
993
|
isFullscreen: G.value,
|
|
909
994
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
@@ -913,13 +998,13 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
913
998
|
isA11yMode: Z.value === "keyboard",
|
|
914
999
|
a11yPosition: Ve.value
|
|
915
1000
|
}, {
|
|
916
|
-
"tooltip-before":
|
|
1001
|
+
"tooltip-before": m(() => [
|
|
917
1002
|
c(t.$slots, "tooltip-before", P(S({ ...ce.value })), void 0, !0)
|
|
918
1003
|
]),
|
|
919
|
-
tooltip:
|
|
1004
|
+
tooltip: m(() => [
|
|
920
1005
|
c(t.$slots, "tooltip", P(S({ ...ce.value })), void 0, !0)
|
|
921
1006
|
]),
|
|
922
|
-
"tooltip-after":
|
|
1007
|
+
"tooltip-after": m(() => [
|
|
923
1008
|
c(t.$slots, "tooltip-after", P(S({ ...ce.value })), void 0, !0)
|
|
924
1009
|
]),
|
|
925
1010
|
_: 3
|
|
@@ -929,7 +1014,7 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
929
1014
|
ref: Y,
|
|
930
1015
|
onClose: nt
|
|
931
1016
|
}), vt({
|
|
932
|
-
content:
|
|
1017
|
+
content: m(() => [
|
|
933
1018
|
(d(), K(v(a), {
|
|
934
1019
|
key: `table_${ze.value}`,
|
|
935
1020
|
colNames: j.value.colNames,
|
|
@@ -941,13 +1026,13 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
941
1026
|
isCursorPointer: J.value,
|
|
942
1027
|
onClose: nt
|
|
943
1028
|
}, {
|
|
944
|
-
th:
|
|
1029
|
+
th: m(({ th: o }) => [
|
|
945
1030
|
O("div", {
|
|
946
1031
|
innerHTML: o,
|
|
947
1032
|
style: { display: "flex", "align-items": "center" }
|
|
948
1033
|
}, null, 8, zo)
|
|
949
1034
|
]),
|
|
950
|
-
td:
|
|
1035
|
+
td: m(({ td: o }) => [
|
|
951
1036
|
ct(ne(o.name || o), 1)
|
|
952
1037
|
]),
|
|
953
1038
|
_: 1
|
|
@@ -957,14 +1042,14 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
957
1042
|
}, [
|
|
958
1043
|
e.value.table.useDialog ? {
|
|
959
1044
|
name: "title",
|
|
960
|
-
fn:
|
|
1045
|
+
fn: m(() => [
|
|
961
1046
|
ct(ne(oe.value.title), 1)
|
|
962
1047
|
]),
|
|
963
1048
|
key: "0"
|
|
964
1049
|
} : void 0,
|
|
965
1050
|
e.value.table.useDialog ? {
|
|
966
1051
|
name: "actions",
|
|
967
|
-
fn:
|
|
1052
|
+
fn: m(() => [
|
|
968
1053
|
O("button", {
|
|
969
1054
|
tabindex: "0",
|
|
970
1055
|
class: "vue-ui-user-options-button",
|
|
@@ -985,7 +1070,7 @@ const $o = ["id"], xo = ["id"], To = ["xmlns", "aria-describedby", "viewBox"], P
|
|
|
985
1070
|
], !0)
|
|
986
1071
|
], 46, $o));
|
|
987
1072
|
}
|
|
988
|
-
}, ll = /* @__PURE__ */ go(Lo, [["__scopeId", "data-v-
|
|
1073
|
+
}, ll = /* @__PURE__ */ go(Lo, [["__scopeId", "data-v-22655fbd"]]);
|
|
989
1074
|
export {
|
|
990
1075
|
ll as default
|
|
991
1076
|
};
|