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
|
@@ -90,7 +90,10 @@ function Ot({
|
|
|
90
90
|
w = new MutationObserver(() => {
|
|
91
91
|
const M = u();
|
|
92
92
|
M && (S(w), C(M));
|
|
93
|
-
}), w.observe(document.documentElement, {
|
|
93
|
+
}), w.observe(document.documentElement, {
|
|
94
|
+
childList: !0,
|
|
95
|
+
subtree: !0
|
|
96
|
+
});
|
|
94
97
|
} catch {
|
|
95
98
|
C(null);
|
|
96
99
|
}
|
|
@@ -146,7 +149,13 @@ function Ot({
|
|
|
146
149
|
}
|
|
147
150
|
function z(e, o) {
|
|
148
151
|
e.getAttribute("width") && o.setAttribute("width", e.getAttribute("width")), e.getAttribute("height") && o.setAttribute("height", e.getAttribute("height")), e.getAttribute("viewBox") && o.setAttribute("viewBox", e.getAttribute("viewBox"));
|
|
149
|
-
const h = [
|
|
152
|
+
const h = [
|
|
153
|
+
e,
|
|
154
|
+
...Array.from(e.querySelectorAll("*"))
|
|
155
|
+
], u = [
|
|
156
|
+
o,
|
|
157
|
+
...Array.from(o.querySelectorAll("*"))
|
|
158
|
+
];
|
|
150
159
|
for (let c = 0; c < h.length; c += 1) {
|
|
151
160
|
const t = h[c], S = u[c], w = $(t);
|
|
152
161
|
w && S.setAttribute("style", w), ["fill", "stroke", "filter", "clip-path", "mask"].forEach((A) => {
|
|
@@ -193,7 +202,10 @@ function Ot({
|
|
|
193
202
|
let M = "start", X = w;
|
|
194
203
|
t.textAlign === "center" ? (M = "middle", X = C) : t.textAlign === "right" && (M = "end", X = A);
|
|
195
204
|
const D = u, T = Math.round(t.fontSize * 0.4), R = P("text");
|
|
196
|
-
R.setAttribute("x", String(X)), R.setAttribute("y", String(D + t.fontSize)), R.setAttribute("text-anchor", M), R.setAttribute("dominant-baseline", "ideographic"), R.setAttribute(
|
|
205
|
+
R.setAttribute("x", String(X)), R.setAttribute("y", String(D + t.fontSize)), R.setAttribute("text-anchor", M), R.setAttribute("dominant-baseline", "ideographic"), R.setAttribute(
|
|
206
|
+
"style",
|
|
207
|
+
`font-family:${c}; font-size:${t.fontSize}px; font-weight:${t.bold ? "700" : "400"}; fill:${t.color}; ${I ? "transform: scale(0.65, 1); transform-origin: center;" : ""}`
|
|
208
|
+
), R.textContent = t.text, S.appendChild(R);
|
|
197
209
|
let J = t.fontSize;
|
|
198
210
|
if (t.subtitle && t.subtitle.text) {
|
|
199
211
|
const E = {
|
|
@@ -202,7 +214,10 @@ function Ot({
|
|
|
202
214
|
fontSize: t.subtitle.fontSize || Math.max(12, Math.round(t.fontSize * 0.8)),
|
|
203
215
|
bold: !!t.subtitle.bold
|
|
204
216
|
}, V = P("text");
|
|
205
|
-
V.setAttribute("x", String(X)), V.setAttribute("y", String(D + t.fontSize + T + E.fontSize)), V.setAttribute("text-anchor", M), V.setAttribute("dominant-baseline", "ideographic"), V.setAttribute(
|
|
217
|
+
V.setAttribute("x", String(X)), V.setAttribute("y", String(D + t.fontSize + T + E.fontSize)), V.setAttribute("text-anchor", M), V.setAttribute("dominant-baseline", "ideographic"), V.setAttribute(
|
|
218
|
+
"style",
|
|
219
|
+
`font-family:${c}; font-size:${E.fontSize}px; font-weight:${E.bold ? "600" : "400"}; fill:${E.color}; ${I ? "transform: scale(0.65, 1); transform-origin: center;" : ""}`
|
|
220
|
+
), V.textContent = E.text, S.appendChild(V), J += T + E.fontSize;
|
|
206
221
|
}
|
|
207
222
|
return J + Math.round(t.fontSize * 0.4);
|
|
208
223
|
}
|
|
@@ -218,7 +233,10 @@ function Ot({
|
|
|
218
233
|
paddingY: 10,
|
|
219
234
|
itemGapX: 18,
|
|
220
235
|
itemGapY: 12,
|
|
221
|
-
markerSize: Math.max(
|
|
236
|
+
markerSize: Math.max(
|
|
237
|
+
8,
|
|
238
|
+
Math.round((F.value.fontSize || 14) * 0.9)
|
|
239
|
+
),
|
|
222
240
|
markerTextGap: 8,
|
|
223
241
|
lineHeight: Math.round((F.value.fontSize || 14) * 1.2),
|
|
224
242
|
maxWidth: o
|
|
@@ -229,7 +247,10 @@ function Ot({
|
|
|
229
247
|
const A = P("g");
|
|
230
248
|
S.appendChild(A);
|
|
231
249
|
const C = P("text");
|
|
232
|
-
C.setAttribute("x", "0"), C.setAttribute("y", "0"), C.setAttribute(
|
|
250
|
+
C.setAttribute("x", "0"), C.setAttribute("y", "0"), C.setAttribute(
|
|
251
|
+
"style",
|
|
252
|
+
`font-family:${c}; font-size:${t.fontSize}px; font-weight:${t.bold ? "600" : "400"}; opacity:0;`
|
|
253
|
+
), A.appendChild(C);
|
|
233
254
|
const M = (s) => (C.textContent = s || "", C.getComputedTextLength()), X = Math.max(1, t.maxWidth - t.paddingX * 2);
|
|
234
255
|
function D(s, a) {
|
|
235
256
|
const l = String(s || "").split(/\s+/).filter(Boolean), m = [];
|
|
@@ -288,7 +309,13 @@ function Ot({
|
|
|
288
309
|
return g + "Z";
|
|
289
310
|
}
|
|
290
311
|
const E = rt.value.map((s) => {
|
|
291
|
-
const a = Math.max(
|
|
312
|
+
const a = Math.max(
|
|
313
|
+
1,
|
|
314
|
+
X - (t.markerSize + t.markerTextGap)
|
|
315
|
+
), l = D(s.name || "", a), m = Math.max(...l.map(M), 0), d = t.markerSize + t.markerTextGap + m, k = Math.max(
|
|
316
|
+
t.markerSize,
|
|
317
|
+
l.length * t.lineHeight
|
|
318
|
+
);
|
|
292
319
|
return {
|
|
293
320
|
...s,
|
|
294
321
|
lines: l,
|
|
@@ -320,28 +347,52 @@ function Ot({
|
|
|
320
347
|
p.setAttribute("cx", String(k)), p.setAttribute("cy", String(g)), p.setAttribute("r", String(x * 0.8)), p.setAttribute("fill", d.color || "#000"), A.appendChild(p);
|
|
321
348
|
} else if (_ === "rect" || _ === "square") {
|
|
322
349
|
const p = P("path");
|
|
323
|
-
p.setAttribute(
|
|
350
|
+
p.setAttribute(
|
|
351
|
+
"d",
|
|
352
|
+
R(k, g, 4, x, -45)
|
|
353
|
+
), p.setAttribute("fill", d.color || "#000"), A.appendChild(p);
|
|
324
354
|
} else if (_ === "diamond") {
|
|
325
355
|
const p = P("path");
|
|
326
|
-
p.setAttribute(
|
|
356
|
+
p.setAttribute(
|
|
357
|
+
"d",
|
|
358
|
+
R(k, g, 4, x, 45)
|
|
359
|
+
), p.setAttribute("fill", d.color || "#000"), A.appendChild(p);
|
|
327
360
|
} else if (_ === "triangle") {
|
|
328
361
|
const p = P("path");
|
|
329
|
-
p.setAttribute(
|
|
362
|
+
p.setAttribute(
|
|
363
|
+
"d",
|
|
364
|
+
R(k, g, 3, x, -90)
|
|
365
|
+
), p.setAttribute("fill", d.color || "#000"), A.appendChild(p);
|
|
330
366
|
} else if (_ === "pentagon") {
|
|
331
367
|
const p = P("path");
|
|
332
|
-
p.setAttribute(
|
|
368
|
+
p.setAttribute(
|
|
369
|
+
"d",
|
|
370
|
+
R(k, g, 5, x, -90)
|
|
371
|
+
), p.setAttribute("fill", d.color || "#000"), A.appendChild(p);
|
|
333
372
|
} else if (_ === "hexagon") {
|
|
334
373
|
const p = P("path");
|
|
335
|
-
p.setAttribute(
|
|
374
|
+
p.setAttribute(
|
|
375
|
+
"d",
|
|
376
|
+
R(k, g, 6, x, 0)
|
|
377
|
+
), p.setAttribute("fill", d.color || "#000"), A.appendChild(p);
|
|
336
378
|
} else if (_ === "star") {
|
|
337
379
|
const p = P("path"), tt = x, pt = x * 0.5;
|
|
338
|
-
p.setAttribute(
|
|
380
|
+
p.setAttribute(
|
|
381
|
+
"d",
|
|
382
|
+
J(k, g, 5, tt, pt)
|
|
383
|
+
), p.setAttribute("fill", d.color || "#000"), A.appendChild(p);
|
|
339
384
|
} else {
|
|
340
385
|
const p = P("rect");
|
|
341
|
-
p.setAttribute("x", String(l)), p.setAttribute(
|
|
386
|
+
p.setAttribute("x", String(l)), p.setAttribute(
|
|
387
|
+
"y",
|
|
388
|
+
String(r + (s.height - t.markerSize) / 2)
|
|
389
|
+
), p.setAttribute("width", String(t.markerSize)), p.setAttribute("height", String(t.markerSize)), p.setAttribute("fill", d.color || "#000"), A.appendChild(p);
|
|
342
390
|
}
|
|
343
391
|
const H = l + t.markerSize + t.markerTextGap, Q = r + (s.height - d.lines.length * t.lineHeight) / 2 + t.fontSize, Y = P("text");
|
|
344
|
-
Y.setAttribute("x", String(H)), Y.setAttribute("y", String(Q)), Y.setAttribute(
|
|
392
|
+
Y.setAttribute("x", String(H)), Y.setAttribute("y", String(Q)), Y.setAttribute(
|
|
393
|
+
"style",
|
|
394
|
+
`font-family:${c}; font-size:${t.fontSize}px; font-weight:${t.bold ? "600" : "400"}; fill:${t.color};`
|
|
395
|
+
), Y.setAttribute("dominant-baseline", "ideographic");
|
|
345
396
|
let mt = !0;
|
|
346
397
|
for (const p of d.lines) {
|
|
347
398
|
const tt = P("tspan");
|
|
@@ -360,7 +411,11 @@ function Ot({
|
|
|
360
411
|
return o.querySelectorAll("script").forEach((h) => h.remove()), z(e, o), O(o), o;
|
|
361
412
|
}
|
|
362
413
|
function B(e) {
|
|
363
|
-
const o = Array.from(e.childNodes).filter(
|
|
414
|
+
const o = Array.from(e.childNodes).filter(
|
|
415
|
+
(c) => c.nodeType === 1 && c.nodeName.toLowerCase() === "defs"
|
|
416
|
+
), h = Array.from(e.childNodes).filter(
|
|
417
|
+
(c) => !(c.nodeType === 1 && c.nodeName.toLowerCase() === "defs")
|
|
418
|
+
), u = document.createElementNS(et, "g");
|
|
364
419
|
u.setAttribute("id", "__vdu_export_content");
|
|
365
420
|
for (const c of h) u.appendChild(c);
|
|
366
421
|
for (const c of o) e.appendChild(c);
|
|
@@ -373,12 +428,21 @@ function Ot({
|
|
|
373
428
|
if (o <= 0) return;
|
|
374
429
|
const h = L(e), u = e.getAttribute("height");
|
|
375
430
|
if (h)
|
|
376
|
-
e.setAttribute(
|
|
431
|
+
e.setAttribute(
|
|
432
|
+
"viewBox",
|
|
433
|
+
`${h.minX} ${h.minY} ${h.width} ${h.height + o}`
|
|
434
|
+
), u && e.setAttribute(
|
|
435
|
+
"height",
|
|
436
|
+
String(Number(u) + o)
|
|
437
|
+
);
|
|
377
438
|
else if (u)
|
|
378
439
|
e.setAttribute("height", String(Number(u) + o));
|
|
379
440
|
else {
|
|
380
441
|
const c = e.getBBox();
|
|
381
|
-
e.setAttribute(
|
|
442
|
+
e.setAttribute(
|
|
443
|
+
"viewBox",
|
|
444
|
+
`0 0 ${Math.max(1, c.width)} ${Math.max(1, c.height + o)}`
|
|
445
|
+
);
|
|
382
446
|
}
|
|
383
447
|
}
|
|
384
448
|
function U(e) {
|
|
@@ -400,15 +464,32 @@ function Ot({
|
|
|
400
464
|
try {
|
|
401
465
|
if (document.fonts?.ready)
|
|
402
466
|
try {
|
|
403
|
-
await Promise.race([
|
|
467
|
+
await Promise.race([
|
|
468
|
+
document.fonts.ready,
|
|
469
|
+
new Promise((T) => setTimeout(T, 4e3))
|
|
470
|
+
]);
|
|
404
471
|
} catch {
|
|
405
472
|
}
|
|
406
|
-
const h = B(e), u = L(e), c = u ? u.minX : 0, t = u ? u.minY : 0, S = Math.max(1, U(e)), w = Math.max(1, G(e)), A = wt(
|
|
473
|
+
const h = B(e), u = L(e), c = u ? u.minX : 0, t = u ? u.minY : 0, S = Math.max(1, U(e)), w = Math.max(1, G(e)), A = wt(
|
|
474
|
+
gt(e).getPropertyValue("font-family") || ""
|
|
475
|
+
);
|
|
407
476
|
let M = (at ? null : dt(e, S, c, t, A)) ?? 0;
|
|
408
477
|
const X = F && F.value && F.value.position ? String(F.value.position).toLowerCase() : "top";
|
|
409
|
-
F && F.value && F.value.show && X === "top" && (M += q(
|
|
478
|
+
F && F.value && F.value.show && X === "top" && (M += q(
|
|
479
|
+
e,
|
|
480
|
+
S,
|
|
481
|
+
c,
|
|
482
|
+
t + M,
|
|
483
|
+
A
|
|
484
|
+
)), K(h, M);
|
|
410
485
|
let D = 0;
|
|
411
|
-
F && F.value && F.value.show && X === "bottom" && (D += q(
|
|
486
|
+
F && F.value && F.value.show && X === "bottom" && (D += q(
|
|
487
|
+
e,
|
|
488
|
+
S,
|
|
489
|
+
c,
|
|
490
|
+
t + M + w,
|
|
491
|
+
A
|
|
492
|
+
)), ct(e, M + D), e.style.backgroundColor = ot.value ?? "#FFF", await Et(e, { mode: "raster" }), Tt(e, v.value.text ? -6 : -48);
|
|
412
493
|
} finally {
|
|
413
494
|
st(o), Mt();
|
|
414
495
|
}
|
|
@@ -439,7 +520,8 @@ function Tt(N, v = -50) {
|
|
|
439
520
|
};
|
|
440
521
|
if (F) {
|
|
441
522
|
const W = F.trim().split(/\s+|,/).map(Number);
|
|
442
|
-
if (W.length !== 4 || W.some((O) => !Number.isFinite(O)))
|
|
523
|
+
if (W.length !== 4 || W.some((O) => !Number.isFinite(O)))
|
|
524
|
+
return;
|
|
443
525
|
const [j, b, f, y] = W, $ = b + v, z = -v, L = Math.max(1, y + z);
|
|
444
526
|
N.setAttribute("viewBox", `${j} ${$} ${f} ${L}`), rt(z);
|
|
445
527
|
return;
|
|
@@ -461,7 +543,8 @@ function Tt(N, v = -50) {
|
|
|
461
543
|
}
|
|
462
544
|
async function Et(N, { mode: v = "raster" } = {}) {
|
|
463
545
|
const F = Array.from(N.querySelectorAll("foreignObject"));
|
|
464
|
-
if (!F.length)
|
|
546
|
+
if (!F.length)
|
|
547
|
+
return { converted: 0, rasterized: 0, skipped: 0, errors: 0 };
|
|
465
548
|
let rt = 0, ot = 0, I = 0, at = 0;
|
|
466
549
|
const lt = (b) => ["div", "p", "span", "strong", "em", "b", "i", "br"].includes(b), nt = (b) => {
|
|
467
550
|
try {
|
|
@@ -499,11 +582,15 @@ async function Et(N, { mode: v = "raster" } = {}) {
|
|
|
499
582
|
if (!n) return Math.round(r * 1.2);
|
|
500
583
|
const i = n.trim().toLowerCase();
|
|
501
584
|
if (i === "normal") return Math.round(r * 1.2);
|
|
502
|
-
if (i.endsWith("px"))
|
|
503
|
-
|
|
585
|
+
if (i.endsWith("px"))
|
|
586
|
+
return parseFloat(i) || Math.round(r * 1.2);
|
|
587
|
+
if (i.endsWith("%"))
|
|
588
|
+
return parseFloat(i) / 100 * r || Math.round(r * 1.2);
|
|
504
589
|
if (i.endsWith("em")) return (parseFloat(i) || 1) * r;
|
|
505
590
|
if (i.endsWith("rem")) {
|
|
506
|
-
const a = parseFloat(
|
|
591
|
+
const a = parseFloat(
|
|
592
|
+
getComputedStyle(document.documentElement).fontSize
|
|
593
|
+
) || r;
|
|
507
594
|
return (parseFloat(i) || 1) * a;
|
|
508
595
|
}
|
|
509
596
|
const s = Number(i);
|
|
@@ -513,11 +600,15 @@ async function Et(N, { mode: v = "raster" } = {}) {
|
|
|
513
600
|
const a = (s || "").trim().toLowerCase();
|
|
514
601
|
if (a.endsWith("px")) return parseFloat(a) || 0;
|
|
515
602
|
if (a.endsWith("rem")) {
|
|
516
|
-
const m = parseFloat(
|
|
603
|
+
const m = parseFloat(
|
|
604
|
+
getComputedStyle(document.documentElement).fontSize
|
|
605
|
+
) || 16;
|
|
517
606
|
return (parseFloat(a) || 0) * m;
|
|
518
607
|
}
|
|
519
608
|
if (a.endsWith("em")) {
|
|
520
|
-
const m = parseFloat(
|
|
609
|
+
const m = parseFloat(
|
|
610
|
+
getComputedStyle(document.body).fontSize
|
|
611
|
+
) || 16;
|
|
521
612
|
return (parseFloat(a) || 0) * m;
|
|
522
613
|
}
|
|
523
614
|
const l = Number(a);
|
|
@@ -538,7 +629,28 @@ async function Et(N, { mode: v = "raster" } = {}) {
|
|
|
538
629
|
tt = kt, pt = Ft, bt = _t, xt = zt;
|
|
539
630
|
}
|
|
540
631
|
const Nt = parseFloat(i.getPropertyValue("border-left-width")) || 0, vt = parseFloat(i.getPropertyValue("border-right-width")) || 0, $t = i.getPropertyValue("box-sizing") || "content-box";
|
|
541
|
-
return {
|
|
632
|
+
return {
|
|
633
|
+
ff: s,
|
|
634
|
+
fs: a,
|
|
635
|
+
fw: l,
|
|
636
|
+
fsty: m,
|
|
637
|
+
fstc: d,
|
|
638
|
+
lsp: k,
|
|
639
|
+
wsp: g,
|
|
640
|
+
kern: x,
|
|
641
|
+
liga: _,
|
|
642
|
+
ttfm: H,
|
|
643
|
+
fill: Q,
|
|
644
|
+
lh: mt,
|
|
645
|
+
ta: p,
|
|
646
|
+
padL: xt,
|
|
647
|
+
padR: pt,
|
|
648
|
+
padT: tt,
|
|
649
|
+
padB: bt,
|
|
650
|
+
bL: Nt,
|
|
651
|
+
bR: vt,
|
|
652
|
+
box: $t
|
|
653
|
+
};
|
|
542
654
|
}, dt = (n) => /^(div|p|section|article|ul|ol|li|h[1-6])$/.test(n), q = { __para__: !0 }, ht = { __br__: !0 }, B = [], K = st(f), ct = (n, r, i) => {
|
|
543
655
|
if (n.nodeType === 3) {
|
|
544
656
|
const m = (n.nodeValue || "").replace(/\s+/g, " ").trim();
|
|
@@ -553,10 +665,12 @@ async function Et(N, { mode: v = "raster" } = {}) {
|
|
|
553
665
|
}
|
|
554
666
|
const a = st(n, r);
|
|
555
667
|
i.push(n);
|
|
556
|
-
for (const l of Array.from(n.childNodes))
|
|
668
|
+
for (const l of Array.from(n.childNodes))
|
|
669
|
+
ct(l, a, i);
|
|
557
670
|
i.pop(), dt(s) && B.push({ ...q, path: i.slice() });
|
|
558
671
|
};
|
|
559
|
-
for (ct(f, K, [f]); B.length && (B.at(-1).__para__ || B.at(-1).__br__); )
|
|
672
|
+
for (ct(f, K, [f]); B.length && (B.at(-1).__para__ || B.at(-1).__br__); )
|
|
673
|
+
B.pop();
|
|
560
674
|
if (!B.length) return null;
|
|
561
675
|
const U = B.filter((n) => !n.__para__ && !n.__br__), G = (() => {
|
|
562
676
|
if (!U.length) return [f];
|
|
@@ -658,11 +772,17 @@ async function Et(N, { mode: v = "raster" } = {}) {
|
|
|
658
772
|
}
|
|
659
773
|
J();
|
|
660
774
|
for (let n = 0; n < D.length; n += 1) {
|
|
661
|
-
const r = D[n].segs, i = Math.max(
|
|
775
|
+
const r = D[n].segs, i = Math.max(
|
|
776
|
+
...r.map((a) => a.fs || Z.fs),
|
|
777
|
+
Z.fs
|
|
778
|
+
);
|
|
662
779
|
let s = !0;
|
|
663
780
|
for (const a of r) {
|
|
664
781
|
const l = document.createElementNS(et, "tspan");
|
|
665
|
-
s && (l.setAttribute("x", String(t)), n > 0 && l.setAttribute("dy", String(i)), s = !1), l.setAttribute(
|
|
782
|
+
s && (l.setAttribute("x", String(t)), n > 0 && l.setAttribute("dy", String(i)), s = !1), l.setAttribute(
|
|
783
|
+
"style",
|
|
784
|
+
`${C(a)} fill:${a.fill};`
|
|
785
|
+
), l.textContent = a.text, w.appendChild(l);
|
|
666
786
|
}
|
|
667
787
|
if (!r.length && n > 0) {
|
|
668
788
|
const a = document.createElementNS(et, "tspan");
|
|
@@ -13,9 +13,13 @@ function w(t, o) {
|
|
|
13
13
|
s.value = c < o.value;
|
|
14
14
|
}), e.observe(r));
|
|
15
15
|
}
|
|
16
|
-
return l(
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
return l(
|
|
17
|
+
[t, o],
|
|
18
|
+
() => {
|
|
19
|
+
i();
|
|
20
|
+
},
|
|
21
|
+
{ immediate: !0 }
|
|
22
|
+
), f(n), { isResponsive: s, start: i, stop: n };
|
|
19
23
|
}
|
|
20
24
|
export {
|
|
21
25
|
w as u
|
|
@@ -12,7 +12,8 @@ function i() {
|
|
|
12
12
|
"minimalDark"
|
|
13
13
|
].includes(e.theme));
|
|
14
14
|
function t(e) {
|
|
15
|
-
e?.debug && console.warn(
|
|
15
|
+
e?.debug && console.warn(
|
|
16
|
+
`Vue Data UI - "${e?.theme}" is not a valid theme.
|
|
16
17
|
|
|
17
18
|
Available themes:
|
|
18
19
|
|
|
@@ -22,7 +23,8 @@ Available themes:
|
|
|
22
23
|
- celebrationNight
|
|
23
24
|
- hack
|
|
24
25
|
- zen
|
|
25
|
-
- concrete`
|
|
26
|
+
- concrete`
|
|
27
|
+
);
|
|
26
28
|
}
|
|
27
29
|
return {
|
|
28
30
|
isThemeValid: n,
|
|
@@ -22,7 +22,9 @@ function S({
|
|
|
22
22
|
n.slice(0, -1).reduce((t, l) => t[l], a)[n.slice(-1)] = e;
|
|
23
23
|
}
|
|
24
24
|
function q(a) {
|
|
25
|
-
const n = /translate\(\s*([^\s,]+)\s*,\s*([^\s,]+)\s*\)/.exec(
|
|
25
|
+
const n = /translate\(\s*([^\s,]+)\s*,\s*([^\s,]+)\s*\)/.exec(
|
|
26
|
+
a
|
|
27
|
+
);
|
|
26
28
|
return n ? {
|
|
27
29
|
x: parseFloat(n[1]),
|
|
28
30
|
y: parseFloat(n[2])
|
|
@@ -56,10 +58,16 @@ function S({
|
|
|
56
58
|
};
|
|
57
59
|
}
|
|
58
60
|
const h = B(c, 200);
|
|
59
|
-
return T && b && A(
|
|
60
|
-
|
|
61
|
-
a
|
|
62
|
-
|
|
61
|
+
return T && b && A(
|
|
62
|
+
[() => b.value, () => T.value],
|
|
63
|
+
async ([a, n], [e, t]) => {
|
|
64
|
+
if (!i(
|
|
65
|
+
s.value,
|
|
66
|
+
p
|
|
67
|
+
)) return;
|
|
68
|
+
a !== e || n !== t ? h() : await c();
|
|
69
|
+
}
|
|
70
|
+
), A(
|
|
63
71
|
[
|
|
64
72
|
() => L.value,
|
|
65
73
|
() => i(s.value, r),
|
|
@@ -33,7 +33,20 @@ function G({
|
|
|
33
33
|
},
|
|
34
34
|
januaryAsYear: k = !1
|
|
35
35
|
}) {
|
|
36
|
-
const m = [2, 4, 6, 9, 11], A = [
|
|
36
|
+
const m = [2, 4, 6, 9, 11], A = [
|
|
37
|
+
0,
|
|
38
|
+
31,
|
|
39
|
+
59,
|
|
40
|
+
90,
|
|
41
|
+
120,
|
|
42
|
+
151,
|
|
43
|
+
181,
|
|
44
|
+
212,
|
|
45
|
+
243,
|
|
46
|
+
273,
|
|
47
|
+
304,
|
|
48
|
+
334
|
|
49
|
+
];
|
|
37
50
|
function d(e) {
|
|
38
51
|
return e % 12;
|
|
39
52
|
}
|
|
@@ -93,10 +106,7 @@ function G({
|
|
|
93
106
|
"tt",
|
|
94
107
|
"t",
|
|
95
108
|
"K"
|
|
96
|
-
], i = new RegExp(
|
|
97
|
-
`\\\\(${c.join("|")})`,
|
|
98
|
-
"g"
|
|
99
|
-
), n = [];
|
|
109
|
+
], i = new RegExp(`\\\\(${c.join("|")})`, "g"), n = [];
|
|
100
110
|
t = t.replace(i, (N, b) => (n.push(b), `{{${n.length - 1}}}`));
|
|
101
111
|
const p = ["\0", ...l.months], $ = ["", ...l.shortMonths], U = ["", ...l.days], R = ["", ...l.shortDays];
|
|
102
112
|
function h(N, b = 2) {
|
|
@@ -259,7 +269,13 @@ async function Q({
|
|
|
259
269
|
break;
|
|
260
270
|
}
|
|
261
271
|
let f;
|
|
262
|
-
a === "years" ? f = "year" : [
|
|
272
|
+
a === "years" ? f = "year" : [
|
|
273
|
+
"half_year",
|
|
274
|
+
"months",
|
|
275
|
+
"months_fortnight",
|
|
276
|
+
"months_days",
|
|
277
|
+
"week_days"
|
|
278
|
+
].includes(a) ? f = "month" : a === "days" ? f = "day" : a === "hours" ? f = "hour" : ["minutes_fives", "minutes"].includes(a) ? f = "minute" : f = "second";
|
|
263
279
|
const S = r.options[f] ?? r.options.hour, e = r.options.year, t = r.options.month, s = r.options.day;
|
|
264
280
|
return d.forEach((c, i) => {
|
|
265
281
|
const n = new Date(c);
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { computed as s, ref as p } from "vue";
|
|
2
|
-
function a({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
function a({ config: e }) {
|
|
3
|
+
const r = s(
|
|
4
|
+
() => e.userOptions.showOnChartHover
|
|
5
|
+
), o = s(
|
|
6
|
+
() => e.userOptions.keepStateOnChartLeave
|
|
7
|
+
), t = p(!e.userOptions.showOnChartHover);
|
|
6
8
|
function n(i = !1) {
|
|
7
9
|
r.value && (t.value = i);
|
|
8
10
|
}
|
package/dist/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as a, g as e, b as t, a as r } from "./useObjectBindings-
|
|
2
|
-
import { i as s, h as o, g as i, f as m, e as l, d as g, b as n, c as f, a as u } from "./lib-
|
|
3
|
-
import { m as c, s as C, d, l as h } from "./exposedLib-
|
|
4
|
-
import { c as p } from "./patternUtils-
|
|
1
|
+
import { u as a, g as e, b as t, a as r } from "./useObjectBindings-BjkVidN3.js";
|
|
2
|
+
import { i as s, h as o, g as i, f as m, e as l, d as g, b as n, c as f, a as u } from "./lib-DMzrGQHK.js";
|
|
3
|
+
import { m as c, s as C, d, l as h } from "./exposedLib-sJvY1pST.js";
|
|
4
|
+
import { c as p } from "./patternUtils-BINhU4Ky.js";
|
|
5
5
|
const S = {
|
|
6
6
|
applyDataCorrection: r,
|
|
7
7
|
getVueDataUiConfig: t,
|