vue-data-ui 3.17.13 → 3.18.0
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 +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-BU2Z7mfz.js +116 -0
- package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
- package/dist/BaseIcon-CL6Y7alf.js +499 -0
- package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
- package/dist/ColorPicker-BGbMrtup.js +255 -0
- package/dist/DataTable-ZG4GX2Zg.js +150 -0
- package/dist/Legend-BPb8i4aC.js +114 -0
- package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
- package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
- package/dist/PenAndPaper-DxBCVZAx.js +461 -0
- package/dist/RecursiveCircles-DPpLel6f.js +117 -0
- package/dist/RecursiveLabels-DBMJf_to.js +56 -0
- package/dist/RecursiveLinks-D06dBL4a.js +78 -0
- package/dist/Shape-Dbug7CtK.js +141 -0
- package/dist/Slicer-SEdaKYPX.js +1144 -0
- package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
- package/dist/SparkTooltip-BaONR2nq.js +93 -0
- package/dist/Title-ByyzJzpc.js +87 -0
- package/dist/Tooltip-V6Z0Ko-1.js +307 -0
- package/dist/UserOptions-Gaw1761w.js +1407 -0
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
- package/dist/canvas-lib-DTaADQOK.js +79 -0
- package/dist/components/arrow.js +2 -5
- package/dist/components/vue-ui-3d-bar.js +2 -5
- package/dist/components/vue-ui-accordion.js +2 -5
- package/dist/components/vue-ui-age-pyramid.js +2 -5
- package/dist/components/vue-ui-annotator.js +2 -5
- package/dist/components/vue-ui-bullet.js +2 -5
- package/dist/components/vue-ui-bump.js +2 -5
- package/dist/components/vue-ui-candlestick.js +2 -5
- package/dist/components/vue-ui-carousel-table.js +2 -5
- package/dist/components/vue-ui-chestnut.js +2 -5
- package/dist/components/vue-ui-chord.js +2 -5
- package/dist/components/vue-ui-circle-pack.js +2 -5
- package/dist/components/vue-ui-cursor.js +2 -5
- package/dist/components/vue-ui-dag.js +2 -5
- package/dist/components/vue-ui-dashboard.js +2 -5
- package/dist/components/vue-ui-digits.js +2 -5
- package/dist/components/vue-ui-donut-evolution.js +2 -5
- package/dist/components/vue-ui-donut.js +2 -5
- package/dist/components/vue-ui-dumbbell.js +2 -5
- package/dist/components/vue-ui-flow.js +2 -5
- package/dist/components/vue-ui-funnel.js +2 -5
- package/dist/components/vue-ui-galaxy.js +2 -5
- package/dist/components/vue-ui-gauge.js +2 -5
- package/dist/components/vue-ui-geo.js +2 -5
- package/dist/components/vue-ui-gizmo.js +2 -5
- package/dist/components/vue-ui-heatmap.js +2 -5
- package/dist/components/vue-ui-history-plot.js +2 -5
- package/dist/components/vue-ui-horizontal-bar.js +2 -5
- package/dist/components/vue-ui-icon.js +2 -5
- package/dist/components/vue-ui-kpi.js +2 -5
- package/dist/components/vue-ui-mini-loader.js +2 -5
- package/dist/components/vue-ui-molecule.js +2 -5
- package/dist/components/vue-ui-mood-radar.js +2 -5
- package/dist/components/vue-ui-nested-donuts.js +2 -5
- package/dist/components/vue-ui-onion.js +2 -5
- package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
- package/dist/components/vue-ui-pattern-seed.js +2 -5
- package/dist/components/vue-ui-pattern.js +2 -5
- package/dist/components/vue-ui-quadrant.js +2 -5
- package/dist/components/vue-ui-quick-chart.js +2 -5
- package/dist/components/vue-ui-radar.js +2 -5
- package/dist/components/vue-ui-rating.js +2 -5
- package/dist/components/vue-ui-relation-circle.js +2 -5
- package/dist/components/vue-ui-ridgeline.js +2 -5
- package/dist/components/vue-ui-rings.js +2 -5
- package/dist/components/vue-ui-scatter.js +2 -5
- package/dist/components/vue-ui-skeleton.js +2 -5
- package/dist/components/vue-ui-smiley.js +2 -5
- package/dist/components/vue-ui-spark-trend.js +2 -5
- package/dist/components/vue-ui-sparkbar.js +2 -5
- package/dist/components/vue-ui-sparkgauge.js +2 -5
- package/dist/components/vue-ui-sparkhistogram.js +2 -5
- package/dist/components/vue-ui-sparkline.js +2 -5
- package/dist/components/vue-ui-sparkstackbar.js +2 -5
- package/dist/components/vue-ui-stackbar.js +2 -5
- package/dist/components/vue-ui-stackline.js +2 -5
- package/dist/components/vue-ui-strip-plot.js +2 -5
- package/dist/components/vue-ui-table-heatmap.js +2 -5
- package/dist/components/vue-ui-table-sparkline.js +2 -5
- package/dist/components/vue-ui-table.js +2 -5
- package/dist/components/vue-ui-thermometer.js +2 -5
- package/dist/components/vue-ui-timer.js +2 -5
- package/dist/components/vue-ui-tiremarks.js +2 -5
- package/dist/components/vue-ui-treemap.js +2 -5
- package/dist/components/vue-ui-vertical-bar.js +2 -5
- package/dist/components/vue-ui-waffle.js +2 -5
- package/dist/components/vue-ui-wheel.js +2 -5
- package/dist/components/vue-ui-word-cloud.js +2 -5
- package/dist/components/vue-ui-world.js +2 -5
- package/dist/components/vue-ui-xy-canvas.js +2 -5
- package/dist/components/vue-ui-xy.js +2 -5
- package/dist/dom-to-png-C9UOX1d2.js +237 -0
- package/dist/exposedLib-BQjH823l.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-NMY-_LiJ.js +74 -0
- package/dist/labelUtils-BiSegLOT.js +19 -0
- package/dist/lib-B83ZCydz.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-Ey2KFETK.js +90 -0
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/style.css +2 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +23 -0
- package/dist/types/vue-data-ui.d.ts +4766 -630
- package/dist/types/vue-ui-3d-bar.d.ts +64 -9
- package/dist/types/vue-ui-accordion.d.ts +4 -3
- package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
- package/dist/types/vue-ui-annotator.d.ts +3 -5
- package/dist/types/vue-ui-bullet.d.ts +60 -9
- package/dist/types/vue-ui-bump.d.ts +65 -9
- package/dist/types/vue-ui-candlestick.d.ts +83 -9
- package/dist/types/vue-ui-carousel-table.d.ts +36 -6
- package/dist/types/vue-ui-chestnut.d.ts +66 -9
- package/dist/types/vue-ui-chord.d.ts +78 -9
- package/dist/types/vue-ui-circle-pack.d.ts +86 -9
- package/dist/types/vue-ui-cursor.d.ts +4 -2
- package/dist/types/vue-ui-dag.d.ts +92 -9
- package/dist/types/vue-ui-dashboard.d.ts +43 -6
- package/dist/types/vue-ui-digits.d.ts +4 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
- package/dist/types/vue-ui-donut.d.ts +92 -9
- package/dist/types/vue-ui-dumbbell.d.ts +65 -9
- package/dist/types/vue-ui-flow.d.ts +79 -9
- package/dist/types/vue-ui-funnel.d.ts +55 -9
- package/dist/types/vue-ui-galaxy.d.ts +83 -9
- package/dist/types/vue-ui-gauge.d.ts +64 -9
- package/dist/types/vue-ui-geo.d.ts +71 -9
- package/dist/types/vue-ui-gizmo.d.ts +17 -6
- package/dist/types/vue-ui-heatmap.d.ts +73 -9
- package/dist/types/vue-ui-history-plot.d.ts +82 -9
- package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
- package/dist/types/vue-ui-icon.d.ts +2 -2
- package/dist/types/vue-ui-kpi.d.ts +21 -7
- package/dist/types/vue-ui-mini-loader.d.ts +5 -3
- package/dist/types/vue-ui-molecule.d.ts +86 -9
- package/dist/types/vue-ui-mood-radar.d.ts +66 -9
- package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
- package/dist/types/vue-ui-onion.d.ts +77 -9
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -2
- package/dist/types/vue-ui-quadrant.d.ts +86 -9
- package/dist/types/vue-ui-quick-chart.d.ts +79 -9
- package/dist/types/vue-ui-radar.d.ts +83 -9
- package/dist/types/vue-ui-rating.d.ts +22 -6
- package/dist/types/vue-ui-relation-circle.d.ts +66 -9
- package/dist/types/vue-ui-ridgeline.d.ts +69 -9
- package/dist/types/vue-ui-rings.d.ts +70 -9
- package/dist/types/vue-ui-scatter.d.ts +67 -9
- package/dist/types/vue-ui-skeleton.d.ts +3 -2
- package/dist/types/vue-ui-smiley.d.ts +3 -2
- package/dist/types/vue-ui-spark-trend.d.ts +14 -6
- package/dist/types/vue-ui-sparkbar.d.ts +27 -6
- package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
- package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
- package/dist/types/vue-ui-sparkline.d.ts +35 -6
- package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
- package/dist/types/vue-ui-stackbar.d.ts +85 -9
- package/dist/types/vue-ui-stackline.d.ts +81 -9
- package/dist/types/vue-ui-strip-plot.d.ts +66 -9
- package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
- package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
- package/dist/types/vue-ui-table.d.ts +10 -2
- package/dist/types/vue-ui-thermometer.d.ts +46 -9
- package/dist/types/vue-ui-timer.d.ts +31 -5
- package/dist/types/vue-ui-tiremarks.d.ts +46 -9
- package/dist/types/vue-ui-treemap.d.ts +73 -9
- package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
- package/dist/types/vue-ui-waffle.d.ts +72 -9
- package/dist/types/vue-ui-wheel.d.ts +46 -9
- package/dist/types/vue-ui-word-cloud.d.ts +73 -9
- package/dist/types/vue-ui-world.d.ts +68 -9
- package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
- package/dist/types/vue-ui-xy.d.ts +108 -10
- package/dist/useAutoSizeLabelsInsideViewbox-De0rTecW.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-KnOLHtlJ.js +7419 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-CcxL1gUU.js +10 -0
- package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-CMLF900n.js +49 -0
- package/dist/useResponsive-CrAInupd.js +19 -0
- package/dist/useStableElementSize-0I1IpHPl.js +77 -0
- package/dist/useSvgExport-Dtu973wa.js +755 -0
- package/dist/useTableResponsive-DrM1xqII.js +24 -0
- package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
- package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
- package/dist/useTimeLabels-C0x7zUXP.js +272 -0
- package/dist/useUserOptionState-CjPJPTg2.js +15 -0
- package/dist/utils.js +27 -44
- package/dist/vClickOutside-CbX_bC9A.js +13 -0
- package/dist/vue-data-ui-D1REqS_k.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
- package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
- package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
- package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
- package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
- package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
- package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
- package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
- package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
- package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
- package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
- package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
- package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
- package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
- package/dist/vue-ui-digits-CcB3odN7.js +209 -0
- package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
- package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
- package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
- package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
- package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
- package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
- package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
- package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
- package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
- package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
- package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
- package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
- package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
- package/dist/vue-ui-molecule-D72kzel_.js +912 -0
- package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
- package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
- package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.js +1413 -0
- package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
- package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
- package/dist/vue-ui-quadrant-zNFIXNt9.js +1966 -0
- package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
- package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
- package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
- package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
- package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
- package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
- package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
- package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
- package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
- package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
- package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
- package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
- package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
- package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
- package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
- package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
- package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
- package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
- package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
- package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
- package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
- package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
- package/dist/vue-ui-timer-DCbxsREb.js +439 -0
- package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
- package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
- package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
- package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
- package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
- package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
- package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
- package/dist/vue-ui-xy-canvas-DU7vFrQr.js +1774 -0
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
- package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
- package/dist/vue_ui_bump-frnXaXul.js +201 -0
- package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
- package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
- package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
- package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
- package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
- package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
- package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
- package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
- package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
- package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
- package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
- package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
- package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
- package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
- package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
- package/dist/vue_ui_onion-DTV9cup-.js +293 -0
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
- package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
- package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
- package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
- package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
- package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
- package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
- package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
- package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
- package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
- package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
- package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
- package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
- package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
- package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
- package/package.json +7 -7
- package/dist/A11yDataTable-BpmuNomI.js +0 -54
- package/dist/Arrow-dSvLFssU.js +0 -101
- package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
- package/dist/BaseIcon-DX0hTWa-.js +0 -476
- package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
- package/dist/BaseScanner-C2j3TsSY.js +0 -36
- package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
- package/dist/ColorPicker-bAxGcXK0.js +0 -271
- package/dist/DataTable-cMnb68Ik.js +0 -145
- package/dist/Legend-DGN5lY60.js +0 -104
- package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
- package/dist/PackageVersion-BfrCAH6_.js +0 -10
- package/dist/PenAndPaper-CJDoB5H9.js +0 -527
- package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
- package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
- package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
- package/dist/Shape-CxJ5_Rre.js +0 -116
- package/dist/Slicer-D7UcO8sN.js +0 -1145
- package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
- package/dist/SparkTooltip-D4bM-kfz.js +0 -68
- package/dist/Title-BbKoiBk2.js +0 -88
- package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
- package/dist/UserOptions-DVduN6X7.js +0 -1474
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/dom-to-png-DGvx6i5V.js +0 -262
- package/dist/exposedLib-sJvY1pST.js +0 -22
- package/dist/geoProjections-BFq2sOBY.js +0 -162
- package/dist/img-CjTQXS0U.js +0 -57
- package/dist/labelUtils-DX9oyq3C.js +0 -26
- package/dist/lib-DMzrGQHK.js +0 -2477
- package/dist/patternUtils-BINhU4Ky.js +0 -615
- package/dist/pdf-C4H4o1Cj.js +0 -88
- package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
- package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
- package/dist/useConfig-CG4HT3wS.js +0 -7901
- package/dist/useFitSvgText-2crs6Fv5.js +0 -69
- package/dist/useNestedProp-DH0BEVVS.js +0 -13
- package/dist/useObjectBindings-Dixg-RIe.js +0 -228
- package/dist/usePanZoom-BbDhcKWf.js +0 -141
- package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
- package/dist/usePrinter-C4t8DdQ-.js +0 -51
- package/dist/useResponsive-DfdjqQps.js +0 -195
- package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
- package/dist/useSvgExport-BTG4hVPO.js +0 -870
- package/dist/useTableResponsive-BpfiEtzR.js +0 -26
- package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
- package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
- package/dist/useTimeLabels-Cv0tD9In.js +0 -307
- package/dist/useUserOptionState-B7Ej974k.js +0 -19
- package/dist/vClickOutside-C6WiFswA.js +0 -13
- package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
- package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
- package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
- package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
- package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
- package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
- package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
- package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
- package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
- package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
- package/dist/vue-ui-chord-DWyar45U.js +0 -1457
- package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
- package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
- package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
- package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
- package/dist/vue-ui-digits-CZmdir8V.js +0 -211
- package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
- package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
- package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
- package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
- package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
- package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
- package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
- package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
- package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
- package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
- package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
- package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
- package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
- package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
- package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
- package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
- package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
- package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
- package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
- package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
- package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
- package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
- package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
- package/dist/vue-ui-rating-CqPlP88P.js +0 -370
- package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
- package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
- package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
- package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
- package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
- package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
- package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
- package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
- package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
- package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
- package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
- package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
- package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
- package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
- package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
- package/dist/vue-ui-table-BX2iMku4.js +0 -1726
- package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
- package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
- package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
- package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
- package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
- package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
- package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
- package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
- package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
- package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
- package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
- package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
- package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
- package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
- package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
- package/dist/vue_ui_bump-CIht647H.js +0 -22
- package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
- package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
- package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
- package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
- package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
- package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
- package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
- package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
- package/dist/vue_ui_flow-BErINgox.js +0 -22
- package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
- package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
- package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
- package/dist/vue_ui_geo--kg4VoVX.js +0 -22
- package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
- package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
- package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
- package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
- package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
- package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
- package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
- package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
- package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
- package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
- package/dist/vue_ui_radar-DryGBOrz.js +0 -22
- package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
- package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
- package/dist/vue_ui_rings-CxOrekqA.js +0 -22
- package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
- package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
- package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
- package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
- package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
- package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
- package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
- package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
- package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
- package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
- package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
- package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
- package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
- package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
- package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
- package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
- package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
- package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
- package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
- package/dist/vue_ui_xy-esktmpg-.js +0 -22
- package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
import { X as x } from "./lib-DMzrGQHK.js";
|
|
2
|
-
async function F(n) {
|
|
3
|
-
const i = n.querySelectorAll("img"), s = Array.from(i).map((t) => new Promise((o) => {
|
|
4
|
-
if (!t.src || t.src.startsWith("data:")) return o();
|
|
5
|
-
if (t.complete && t.naturalWidth !== 0) {
|
|
6
|
-
try {
|
|
7
|
-
const e = document.createElement("canvas");
|
|
8
|
-
e.width = t.naturalWidth, e.height = t.naturalHeight, e.getContext("2d").drawImage(t, 0, 0), t.src = e.toDataURL();
|
|
9
|
-
} catch {
|
|
10
|
-
}
|
|
11
|
-
return o();
|
|
12
|
-
}
|
|
13
|
-
const c = new window.Image();
|
|
14
|
-
c.crossOrigin = "anonymous", c.onload = function() {
|
|
15
|
-
try {
|
|
16
|
-
const e = document.createElement("canvas");
|
|
17
|
-
e.width = c.naturalWidth, e.height = c.naturalHeight, e.getContext("2d").drawImage(c, 0, 0), t.src = e.toDataURL();
|
|
18
|
-
} catch {
|
|
19
|
-
}
|
|
20
|
-
o();
|
|
21
|
-
}, c.onerror = function() {
|
|
22
|
-
o();
|
|
23
|
-
}, c.src = t.src;
|
|
24
|
-
}));
|
|
25
|
-
await Promise.all(s);
|
|
26
|
-
}
|
|
27
|
-
function E(n) {
|
|
28
|
-
n.querySelectorAll("[data-dom-to-png-ignore]").forEach((s) => {
|
|
29
|
-
s.remove();
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
function v(n, i, s) {
|
|
33
|
-
const t = window.getComputedStyle(i), o = i.getBoundingClientRect(), c = t.display.includes("flex");
|
|
34
|
-
let e = {}, a = n.getAttribute("style");
|
|
35
|
-
typeof a != "string" && (a = ""), a.split(";").forEach((l) => {
|
|
36
|
-
if (typeof l == "string" && l.trim()) {
|
|
37
|
-
const [f, d] = l.split(":");
|
|
38
|
-
f && d !== void 0 && (e[f.trim()] = d.trim());
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
for (let l = 0; l < t.length; l += 1) {
|
|
42
|
-
const f = t[l], d = t.getPropertyValue(f);
|
|
43
|
-
e[f] = d;
|
|
44
|
-
}
|
|
45
|
-
e.color = t.color, e["background-color"] = t.backgroundColor;
|
|
46
|
-
let r = t.fontFamily || s || "";
|
|
47
|
-
(!r || r.trim() === "" || r === "inherit" || r === "initial" || r.toLowerCase().startsWith("system-ui") || r.toLowerCase() === "sans-serif" || r.toLowerCase() === "serif" || r.toLowerCase() === "monospace") && (r = "Helvetica, Arial, sans-serif"), e["font-family"] = r, e["font-size"] = t.fontSize, e["font-weight"] = t.fontWeight, (c || t.display.includes("grid") || ["inline-block", "absolute", "fixed"].includes(t.position)) && (o.width > 0 && (e.width = o.width + "px"), o.height > 0 && (e.height = o.height + "px")), c && t.flexWrap === "nowrap" && (e["white-space"] = "nowrap"), ["box-sizing", "padding", "margin", "border"].forEach((l) => {
|
|
48
|
-
e[l] = t.getPropertyValue(l);
|
|
49
|
-
}), e.overflow = "visible", e["overflow-x"] = "visible", e["overflow-y"] = "visible";
|
|
50
|
-
let u = "";
|
|
51
|
-
for (const l in e)
|
|
52
|
-
u += `${l}:${e[l]};`;
|
|
53
|
-
n.setAttribute("style", u);
|
|
54
|
-
const m = n.children || [], p = i.children || [];
|
|
55
|
-
for (let l = 0; l < m.length; l++)
|
|
56
|
-
m[l].nodeType === 1 && p[l] && v(
|
|
57
|
-
m[l],
|
|
58
|
-
p[l],
|
|
59
|
-
r
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
function $(n, i) {
|
|
63
|
-
n.querySelectorAll("text").forEach((t) => {
|
|
64
|
-
t.setAttribute("font-family", i), t.style.fontFamily = i;
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
function W(n) {
|
|
68
|
-
const i = new TextEncoder().encode(n);
|
|
69
|
-
let s = "";
|
|
70
|
-
return i.forEach((t) => s += String.fromCharCode(t)), btoa(s);
|
|
71
|
-
}
|
|
72
|
-
function P(n, i, s) {
|
|
73
|
-
let o = new XMLSerializer().serializeToString(n);
|
|
74
|
-
o.match(/^<svg[^>]+xmlns="http\:\/\/www\.w3\.org\/2000\/svg"/) || (o = o.replace(
|
|
75
|
-
/^<svg/,
|
|
76
|
-
'<svg xmlns="http://www.w3.org/2000/svg"'
|
|
77
|
-
));
|
|
78
|
-
const c = window.btoa(unescape(encodeURIComponent(o))), e = new window.Image();
|
|
79
|
-
return e.src = `data:image/svg+xml;base64,${c}`, new Promise((a, r) => {
|
|
80
|
-
e.onload = function() {
|
|
81
|
-
const u = document.createElement("canvas");
|
|
82
|
-
u.width = i, u.height = s, u.getContext("2d").drawImage(e, 0, 0, i, s), a(u.toDataURL("image/png", 1));
|
|
83
|
-
}, e.onerror = (u) => r(u);
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
function R(n) {
|
|
87
|
-
if (n.nodeType !== 1) return;
|
|
88
|
-
const i = window.getComputedStyle(n);
|
|
89
|
-
let s = "";
|
|
90
|
-
for (let t = 0; t < i.length; t++) {
|
|
91
|
-
const o = i[t];
|
|
92
|
-
s += `${o}:${i.getPropertyValue(o)};`;
|
|
93
|
-
}
|
|
94
|
-
n.setAttribute("style", s);
|
|
95
|
-
for (let t = 0; t < n.children.length; t++)
|
|
96
|
-
R(n.children[t]);
|
|
97
|
-
}
|
|
98
|
-
function z() {
|
|
99
|
-
const n = [];
|
|
100
|
-
for (const i of document.styleSheets)
|
|
101
|
-
try {
|
|
102
|
-
const s = i.cssRules;
|
|
103
|
-
if (!s) continue;
|
|
104
|
-
for (const t of s)
|
|
105
|
-
(typeof CSSFontFaceRule < "u" && t instanceof CSSFontFaceRule || t.cssText.trim().startsWith("@font-face")) && n.push(t.cssText);
|
|
106
|
-
} catch {
|
|
107
|
-
continue;
|
|
108
|
-
}
|
|
109
|
-
return n;
|
|
110
|
-
}
|
|
111
|
-
function M(n) {
|
|
112
|
-
const i = z();
|
|
113
|
-
if (!i.length) return;
|
|
114
|
-
const s = document.createElement("style");
|
|
115
|
-
s.setAttribute("type", "text/css"), s.textContent = i.join(`
|
|
116
|
-
`);
|
|
117
|
-
const t = n.querySelector("defs") || document.createElementNS(x, "defs");
|
|
118
|
-
t.appendChild(s), n.querySelector("defs") || n.insertBefore(t, n.firstChild);
|
|
119
|
-
}
|
|
120
|
-
function H(n, i) {
|
|
121
|
-
const s = n.querySelectorAll("foreignObject"), t = i.querySelectorAll("foreignObject");
|
|
122
|
-
s.forEach((o, c) => {
|
|
123
|
-
const e = t[c];
|
|
124
|
-
if (!e) return;
|
|
125
|
-
function a(r, u) {
|
|
126
|
-
if (!r || !u) return;
|
|
127
|
-
if (r.nodeType === 1 && u.nodeType === 1) {
|
|
128
|
-
const l = window.getComputedStyle(u);
|
|
129
|
-
let f = "";
|
|
130
|
-
for (let d = 0; d < l.length; d++) {
|
|
131
|
-
const C = l[d];
|
|
132
|
-
f += `${C}:${l.getPropertyValue(C)};`;
|
|
133
|
-
}
|
|
134
|
-
r.setAttribute("style", f);
|
|
135
|
-
}
|
|
136
|
-
const m = r.children || [], p = u.children || [];
|
|
137
|
-
for (let l = 0; l < m.length; l++)
|
|
138
|
-
a(m[l], p[l]);
|
|
139
|
-
}
|
|
140
|
-
a(o, e);
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
function D(n) {
|
|
144
|
-
n.querySelectorAll("foreignObject").forEach((s) => {
|
|
145
|
-
let t = "";
|
|
146
|
-
const o = Array.from(s.querySelectorAll("*"));
|
|
147
|
-
if (o.length !== 0) {
|
|
148
|
-
for (const c of document.styleSheets) {
|
|
149
|
-
let e;
|
|
150
|
-
try {
|
|
151
|
-
e = c.cssRules;
|
|
152
|
-
} catch {
|
|
153
|
-
continue;
|
|
154
|
-
}
|
|
155
|
-
if (e) {
|
|
156
|
-
for (const a of e)
|
|
157
|
-
if (!(typeof CSSStyleRule < "u" && !(a instanceof CSSStyleRule)))
|
|
158
|
-
try {
|
|
159
|
-
o.some((r) => r.matches(a.selectorText)) && (t += a.cssText + `
|
|
160
|
-
`);
|
|
161
|
-
} catch {
|
|
162
|
-
continue;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
if (t) {
|
|
167
|
-
const c = document.createElement("style");
|
|
168
|
-
c.textContent = t, s.insertBefore(c, s.firstChild);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
function U(n) {
|
|
174
|
-
n.querySelectorAll("foreignObject").forEach((s) => {
|
|
175
|
-
const t = s.firstElementChild;
|
|
176
|
-
t && t.tagName.toLowerCase() !== "svg" && t.setAttribute("xmlns", "http://www.w3.org/1999/xhtml");
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
function B(n, i) {
|
|
180
|
-
const s = n.querySelectorAll("foreignObject"), t = i.querySelectorAll("foreignObject");
|
|
181
|
-
s.forEach((o, c) => {
|
|
182
|
-
const e = t[c];
|
|
183
|
-
if (!o || !e) return;
|
|
184
|
-
const a = o.firstElementChild, r = e.firstElementChild;
|
|
185
|
-
a && r && j(a, r);
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
function j(n, i) {
|
|
189
|
-
if (n.nodeType !== 1 || !i) return;
|
|
190
|
-
v(n, i);
|
|
191
|
-
const s = n.children || [], t = i.children || [];
|
|
192
|
-
for (let o = 0; o < s.length; o++)
|
|
193
|
-
j(s[o], t[o]);
|
|
194
|
-
}
|
|
195
|
-
function O(n, i) {
|
|
196
|
-
const s = Array.from(i.querySelectorAll("img"));
|
|
197
|
-
n.querySelectorAll("img").forEach((t) => {
|
|
198
|
-
const o = t.getAttribute("src"), c = s.find(
|
|
199
|
-
(e) => e.getAttribute("src") === o
|
|
200
|
-
);
|
|
201
|
-
if (c) {
|
|
202
|
-
const e = window.getComputedStyle(c);
|
|
203
|
-
let a = "";
|
|
204
|
-
for (let r = 0; r < e.length; r++) {
|
|
205
|
-
const u = e[r];
|
|
206
|
-
a += `${u}:${e.getPropertyValue(u)};`;
|
|
207
|
-
}
|
|
208
|
-
t.setAttribute("style", a);
|
|
209
|
-
}
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
async function k({ container: n, scale: i = 2, base64: s = !1 }) {
|
|
213
|
-
if (!n) throw new Error("No container provided");
|
|
214
|
-
await document.fonts.ready;
|
|
215
|
-
let t = window.getComputedStyle(n).fontFamily || "Helvetica";
|
|
216
|
-
t.toLowerCase().includes("helvetica") || (t += ", Helvetica");
|
|
217
|
-
const o = n.cloneNode(!0), c = o.querySelectorAll("canvas"), e = n.querySelectorAll("canvas");
|
|
218
|
-
for (let y = 0; y < e.length; y += 1) {
|
|
219
|
-
const g = e[y], h = c[y];
|
|
220
|
-
if (g && h) {
|
|
221
|
-
const w = document.createElement("img");
|
|
222
|
-
w.src = g.toDataURL("image/png"), w.width = g.width, w.height = g.height, w.style.width = g.style.width || g.width + "px", w.style.height = g.style.height || g.height + "px", h.replaceWith(w);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
const a = n.querySelector("svg[aria-label]"), r = o.querySelector("svg[aria-label]");
|
|
226
|
-
if (a && r) {
|
|
227
|
-
U(r), D(r), H(r, a), B(r, a), R(r), $(r, t), O(r, a), await F(r);
|
|
228
|
-
const y = a.getBoundingClientRect(), g = y.width, h = y.height, w = Math.round(g * i), T = Math.round(h * i), I = await P(
|
|
229
|
-
r,
|
|
230
|
-
w,
|
|
231
|
-
T
|
|
232
|
-
), S = document.createElement("img");
|
|
233
|
-
S.src = I, S.width = g, S.height = h, S.style.width = g + "px", S.style.height = h + "px", r.parentNode.replaceChild(S, r);
|
|
234
|
-
}
|
|
235
|
-
v(o, n, t), O(o, n), E(o), await F(o);
|
|
236
|
-
const { width: u, height: m } = n.getBoundingClientRect(), p = Math.round(Math.max(o.scrollWidth, u) * i), l = Math.round(
|
|
237
|
-
Math.max(o.scrollHeight, m) * 1.01 * i
|
|
238
|
-
), f = document.createElementNS(x, "svg");
|
|
239
|
-
f.setAttribute("viewBox", `0 0 ${p} ${l}`), f.setAttribute("width", p), f.setAttribute("height", l), f.setAttribute("style", `font-family:${t};`);
|
|
240
|
-
const d = document.createElementNS(x, "foreignObject");
|
|
241
|
-
d.setAttribute("x", 0), d.setAttribute("y", 0), d.setAttribute("width", p), d.setAttribute("height", l), d.setAttribute("style", `font-family:${t};`), o.style.transform = `scale(${i})`, o.style.transformOrigin = "top left", o.style.width = u + "px", o.style.height = m + "px", o.style.background = window.getComputedStyle(n).backgroundColor, d.appendChild(o), M(f), f.appendChild(d);
|
|
242
|
-
const q = new XMLSerializer().serializeToString(f), L = W(q), b = new window.Image();
|
|
243
|
-
b.crossOrigin = "anonymous";
|
|
244
|
-
const A = `data:image/svg+xml;base64,${L}`;
|
|
245
|
-
return b.src = A, s ? new Promise((y) => {
|
|
246
|
-
y(A);
|
|
247
|
-
}) : new Promise((y, g) => {
|
|
248
|
-
b.onload = function() {
|
|
249
|
-
try {
|
|
250
|
-
const h = document.createElement("canvas");
|
|
251
|
-
h.width = p, h.height = l, h.getContext("2d").drawImage(b, 0, 0, p, l), y(h.toDataURL("image/png", 1));
|
|
252
|
-
} catch (h) {
|
|
253
|
-
g("Failed to draw SVG on canvas: " + h);
|
|
254
|
-
}
|
|
255
|
-
}, b.onerror = function() {
|
|
256
|
-
g("Failed to load SVG image for conversion");
|
|
257
|
-
};
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
export {
|
|
261
|
-
k as d
|
|
262
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { s as n, w as t, x as s, t as a, v as l } from "./lib-DMzrGQHK.js";
|
|
2
|
-
function u(o, r) {
|
|
3
|
-
const e = n(o);
|
|
4
|
-
return s(e, r);
|
|
5
|
-
}
|
|
6
|
-
function C(o, r) {
|
|
7
|
-
const e = n(o);
|
|
8
|
-
return t(e, r);
|
|
9
|
-
}
|
|
10
|
-
function c(o, r) {
|
|
11
|
-
const e = n(o);
|
|
12
|
-
return l(e, r);
|
|
13
|
-
}
|
|
14
|
-
function f({ defaultConfig: o, userConfig: r }) {
|
|
15
|
-
return a({ defaultConfig: o, userConfig: r });
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
C as d,
|
|
19
|
-
u as l,
|
|
20
|
-
f as m,
|
|
21
|
-
c as s
|
|
22
|
-
};
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
const A = {
|
|
2
|
-
mercator([M, n], o, s, r) {
|
|
3
|
-
n = Math.max(Math.min(n, 85.05113), -85.05113);
|
|
4
|
-
const [t, i] = r, c = (M - t) * Math.PI / 180, l = o / (2 * Math.PI) * (c + Math.PI), e = (I) => Math.log(Math.tan(Math.PI / 4 + I * Math.PI / 180 / 2)), y = e(85.05113), P = e(-72), x = (e(n) - y) / (P - y) * s;
|
|
5
|
-
return [l, x];
|
|
6
|
-
},
|
|
7
|
-
equirectangular([M, n], o, s, r) {
|
|
8
|
-
const [h, t] = r;
|
|
9
|
-
n = Math.max(Math.min(n, 90), -80);
|
|
10
|
-
const i = (M - h + 180) / 360 * o, c = (90 - (n - t)) / 170 * s;
|
|
11
|
-
return [i, c];
|
|
12
|
-
},
|
|
13
|
-
robinson([M, n], o, s, r) {
|
|
14
|
-
const a = [
|
|
15
|
-
[1, 0],
|
|
16
|
-
[0.9986, 0.062],
|
|
17
|
-
[0.9954, 0.124],
|
|
18
|
-
[0.99, 0.186],
|
|
19
|
-
[0.9822, 0.248],
|
|
20
|
-
[0.973, 0.31],
|
|
21
|
-
[0.96, 0.372],
|
|
22
|
-
[0.9427, 0.434],
|
|
23
|
-
[0.9216, 0.4958],
|
|
24
|
-
[0.8962, 0.5571],
|
|
25
|
-
[0.8679, 0.6176],
|
|
26
|
-
[0.835, 0.6769],
|
|
27
|
-
[0.7986, 0.7346],
|
|
28
|
-
[0.7597, 0.7903],
|
|
29
|
-
[0.7186, 0.8435],
|
|
30
|
-
[0.6732, 0.8936],
|
|
31
|
-
[0.6213, 0.9394],
|
|
32
|
-
[0.5722, 0.9761],
|
|
33
|
-
[0.5322, 1]
|
|
34
|
-
], [m, h] = r;
|
|
35
|
-
M = M - m, n = Math.max(-89.9999, Math.min(89.9999, n));
|
|
36
|
-
const t = Math.abs(n), i = Math.floor(t / 5), c = t % 5 / 5, [l, e] = a[i], [y, P] = a[Math.min(i + 1, a.length - 1)], u = l + (y - l) * c, x = e + (P - e) * c, I = M * Math.PI / 180, f = o / 2 + o / 2 * u * I / Math.PI, p = s / 2 - Math.sign(n) * (s / 2) * x / 1;
|
|
37
|
-
return !Number.isFinite(f) || !Number.isFinite(p) ? [-9999, -9999] : [f, p];
|
|
38
|
-
},
|
|
39
|
-
mollweide([M, n], o, s, r) {
|
|
40
|
-
n = Math.max(Math.min(n, 89.9999), -89.9999);
|
|
41
|
-
const [a] = r, m = (M - a) * Math.PI / 180, h = n * Math.PI / 180;
|
|
42
|
-
let t = h;
|
|
43
|
-
const i = 1e-10;
|
|
44
|
-
let c = 1, l = 0;
|
|
45
|
-
for (; Math.abs(c) > i && l < 10; )
|
|
46
|
-
c = -(2 * t + Math.sin(2 * t) - Math.PI * Math.sin(h)) / (2 + 2 * Math.cos(2 * t)), t += c, l++;
|
|
47
|
-
isFinite(t) || (t = h > 0 ? Math.PI / 2 : -Math.PI / 2);
|
|
48
|
-
const e = o / (2 * Math.SQRT2), P = (e * (2 * Math.SQRT2 / Math.PI) * m * Math.cos(t) + 2 * e) / (4.6 * e) * o, u = -e * Math.SQRT2 * Math.sin(t), x = -e * Math.SQRT2, I = e * Math.SQRT2, f = (u - x) / (I - x) * s;
|
|
49
|
-
return [isFinite(P) ? P : 0, isFinite(f) ? f : 0];
|
|
50
|
-
},
|
|
51
|
-
winkelTripel([M, n], o, s, r) {
|
|
52
|
-
const [a, m] = r, h = (M - a) * Math.PI / 180, t = n * Math.PI / 180, i = h * Math.cos(Math.PI / 6), c = t, l = Math.acos(Math.cos(t) * Math.cos(h / 2)), e = 2 * Math.cos(t) * Math.sin(h / 2) / (Math.sin(l) / l || 1), y = Math.sin(t) / (Math.sin(l) / l || 1), P = o / 2 + o / (2 * Math.PI) * (i + e) / 2, u = s / 2 - s / (2 * Math.PI) * (c + y) / 2;
|
|
53
|
-
return [P, u];
|
|
54
|
-
},
|
|
55
|
-
aitoff([M, n], o, s, r) {
|
|
56
|
-
Math.sinc || (Math.sinc = function(e) {
|
|
57
|
-
return e === 0 ? 1 : Math.sin(Math.PI * e) / (Math.PI * e);
|
|
58
|
-
});
|
|
59
|
-
const [a, m] = r, h = (M - a) * Math.PI / 180, t = n * Math.PI / 180, i = Math.acos(Math.cos(t) * Math.cos(h / 2));
|
|
60
|
-
let c = 0, l = 0;
|
|
61
|
-
return i !== 0 && (c = 2 * Math.cos(t) * Math.sin(h / 2) / Math.sinc(i / Math.PI), l = Math.sin(t) / Math.sinc(i / Math.PI)), c = o / 2 + c * (o / 4), l = s / 2 - l * (s / 2), [c, l];
|
|
62
|
-
},
|
|
63
|
-
hammer([M, n], o, s, r) {
|
|
64
|
-
const [a, m] = r, h = (M - a) * Math.PI / 180, t = n * Math.PI / 180, i = Math.sqrt(1 + Math.cos(t) * Math.cos(h / 2)), c = o / 2 + o / 2 * (2 * Math.SQRT2 * Math.cos(t) * Math.sin(h / 2) / i) / 2.8284271247461903, l = s / 2 - s / 2 * (Math.SQRT2 * Math.sin(t) / i) / 1.4142135623730951;
|
|
65
|
-
return [c, l];
|
|
66
|
-
},
|
|
67
|
-
bonne([M, n], o, s, r = [0, 0]) {
|
|
68
|
-
const a = 45 * Math.PI / 180, [m, h] = r, t = (M - m) * Math.PI / 180, c = Math.max(Math.min(n, 89.9), -89.9) * Math.PI / 180, l = 1 / Math.tan(a), e = l + a - c, y = e === 0 ? 0 : t * Math.cos(c) / e, P = Math.min(o, s) / 2.6, u = o / 2 + P * e * Math.sin(y), x = s / 2 - P * (l - e * Math.cos(y));
|
|
69
|
-
return [u, x];
|
|
70
|
-
},
|
|
71
|
-
sinusoidal([M, n], o, s, r) {
|
|
72
|
-
const [a, m] = r, h = (M - a) * Math.PI / 180, t = n * Math.PI / 180, i = o / 2 + o / (2 * Math.PI) * h * Math.cos(t), c = s / 2 - s / Math.PI * t;
|
|
73
|
-
return [i, c];
|
|
74
|
-
},
|
|
75
|
-
gallPeters([M, n], o, s, r) {
|
|
76
|
-
const [a, m] = r;
|
|
77
|
-
n = Math.max(Math.min(n, 89.9999), -89.9999);
|
|
78
|
-
const h = (M - a + 180) / 360 * o, t = s / 2 - s / Math.PI * Math.sin(n * Math.PI / 180);
|
|
79
|
-
return [h, t];
|
|
80
|
-
},
|
|
81
|
-
vanDerGrinten([M, n], o, s, r = [0, 0]) {
|
|
82
|
-
const a = Math.PI, m = Math.PI / 2, h = 1e-6;
|
|
83
|
-
let t = (M - (r[0] || 0)) * a / 180, i = (n - (r[1] || 0)) * a / 180, c = Math.abs(t), l = Math.abs(i), e, y;
|
|
84
|
-
if (l < h)
|
|
85
|
-
e = t, y = 0;
|
|
86
|
-
else if (c < h || Math.abs(l - m) < h)
|
|
87
|
-
e = 0, y = Math.sign(i) * a * Math.tan(Math.asin(l / m) / 2);
|
|
88
|
-
else {
|
|
89
|
-
let I = l / m, f = Math.asin(I), p = Math.cos(f), d = 0.5 * Math.abs(a / t - t / a), g = d * d, b = p / (I + p - 1), R = b * (2 / I - 1), L = R * R, T = L + g, _ = b - L, F = g + b;
|
|
90
|
-
e = Math.sign(t) * a * (d * _ + Math.sqrt(
|
|
91
|
-
Math.max(
|
|
92
|
-
0,
|
|
93
|
-
g * _ * _ - T * (b * b - L)
|
|
94
|
-
)
|
|
95
|
-
)) / T, y = Math.sign(i) * a * (R * F - d * Math.sqrt(Math.max(0, (g + 1) * T - F * F))) / T;
|
|
96
|
-
}
|
|
97
|
-
const P = o / 2 / a * 0.98, u = o / 2, x = s / 2;
|
|
98
|
-
return [u + e * P, x - y * P];
|
|
99
|
-
},
|
|
100
|
-
globe([M, n], o, s, r) {
|
|
101
|
-
const [a, m] = r, h = (M - a) * Math.PI / 180, t = n * Math.PI / 180, i = m * Math.PI / 180, c = Math.min(o, s) / 2 * 0.95, l = o / 2, e = s / 2, y = c * Math.cos(t) * Math.sin(h) + l, P = -c * (Math.cos(i) * Math.sin(t) - Math.sin(i) * Math.cos(t) * Math.cos(h)) + e;
|
|
102
|
-
return Math.sin(i) * Math.sin(t) + Math.cos(i) * Math.cos(t) * Math.cos(h) < 0 ? [NaN, NaN] : [y, P];
|
|
103
|
-
},
|
|
104
|
-
azimuthalEquidistant([M, n], o, s, r = [0, 0]) {
|
|
105
|
-
const a = (p) => p * Math.PI / 180, [m, h] = r, t = a(M - m), i = a(n), c = a(h), l = Math.sin(c) * Math.sin(i) + Math.cos(c) * Math.cos(i) * Math.cos(t), e = Math.acos(Math.max(-1, Math.min(1, l)));
|
|
106
|
-
let y = e === 0 ? 1 : e / Math.sin(e);
|
|
107
|
-
const P = y * Math.cos(i) * Math.sin(t), u = y * (Math.cos(c) * Math.sin(i) - Math.sin(c) * Math.cos(i) * Math.cos(t)), x = Math.min(o, s) / 2 / Math.PI, I = o / 2, f = s / 2;
|
|
108
|
-
return [I + P * x, f - u * x];
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
function N(M, n, o, s, r = [0, 0]) {
|
|
112
|
-
let a = 1 / 0, m = 1 / 0, h = -1 / 0, t = -1 / 0;
|
|
113
|
-
for (const i of n) {
|
|
114
|
-
const c = i.geometry, l = c.type === "Polygon" ? [c.coordinates] : c.type === "MultiPolygon" ? c.coordinates : [];
|
|
115
|
-
for (const e of l)
|
|
116
|
-
for (const y of e)
|
|
117
|
-
for (const [P, u] of y) {
|
|
118
|
-
const [x, I] = M(
|
|
119
|
-
[P, u],
|
|
120
|
-
o,
|
|
121
|
-
s,
|
|
122
|
-
r
|
|
123
|
-
);
|
|
124
|
-
!Number.isFinite(x) || !Number.isFinite(I) || (a = Math.min(a, x), h = Math.max(h, x), m = Math.min(m, I), t = Math.max(t, I));
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
return {
|
|
128
|
-
minX: Math.floor(a) - 10,
|
|
129
|
-
minY: Math.floor(m) - 10,
|
|
130
|
-
width: Math.ceil(h - a) + 20,
|
|
131
|
-
height: Math.ceil(t - m) + 20
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
function Q(M, n, o) {
|
|
135
|
-
const s = M.find(
|
|
136
|
-
(a) => a.properties.admin === n || a.properties.name === n
|
|
137
|
-
), r = M.find(
|
|
138
|
-
(a) => a.properties.admin === o || a.properties.name === o
|
|
139
|
-
);
|
|
140
|
-
return s && r && (s.geometry.type === "Polygon" && (s.geometry = {
|
|
141
|
-
type: "MultiPolygon",
|
|
142
|
-
coordinates: [s.geometry.coordinates]
|
|
143
|
-
}), r.geometry.type === "Polygon" ? s.geometry.coordinates.push(
|
|
144
|
-
r.geometry.coordinates
|
|
145
|
-
) : r.geometry.type === "MultiPolygon" && s.geometry.coordinates.push(
|
|
146
|
-
...r.geometry.coordinates
|
|
147
|
-
), M = M.filter(
|
|
148
|
-
(a) => !(a.properties.admin === o || a.properties.name === o)
|
|
149
|
-
)), M;
|
|
150
|
-
}
|
|
151
|
-
function C(M, n) {
|
|
152
|
-
let o = Array.isArray(n) ? n.map((s) => ({ ...s })) : n.features ? n.features.map((s) => ({ ...s })) : [];
|
|
153
|
-
return M.style.chart.territory.showTaiwanAsPartOfChina && (o = Q(o, "China", "Taiwan")), n.type === "FeatureCollection" ? { ...n, features: o } : o;
|
|
154
|
-
}
|
|
155
|
-
const S = {
|
|
156
|
-
projections: A,
|
|
157
|
-
getProjectedBounds: N,
|
|
158
|
-
setupTerritories: C
|
|
159
|
-
};
|
|
160
|
-
export {
|
|
161
|
-
S as g
|
|
162
|
-
};
|
package/dist/img-CjTQXS0U.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { d as n } from "./dom-to-png-DGvx6i5V.js";
|
|
2
|
-
async function u({
|
|
3
|
-
domElement: t,
|
|
4
|
-
fileName: c,
|
|
5
|
-
format: f = "png",
|
|
6
|
-
scale: i = 2,
|
|
7
|
-
base64: a = !1,
|
|
8
|
-
img: g = !1
|
|
9
|
-
}) {
|
|
10
|
-
if (!t) return Promise.reject("No element provided");
|
|
11
|
-
const h = typeof navigator < "u" && /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
12
|
-
if (await new Promise((r) => setTimeout(r, 200)), h)
|
|
13
|
-
try {
|
|
14
|
-
await n({ container: t, scale: i }), await n({ container: t, scale: i }), await n({ container: t, scale: i }), await n({ container: t, scale: i }), a && (await n({ container: t, scale: i, base64: a }), await n({ container: t, scale: i, base64: a }), await n({ container: t, scale: i, base64: a }), await n({ container: t, scale: i, base64: a }));
|
|
15
|
-
} catch {
|
|
16
|
-
}
|
|
17
|
-
if (a && g)
|
|
18
|
-
try {
|
|
19
|
-
const r = await n({ container: t, scale: i }).then(
|
|
20
|
-
(e) => e
|
|
21
|
-
), o = await n({
|
|
22
|
-
container: t,
|
|
23
|
-
scale: i,
|
|
24
|
-
base64: a
|
|
25
|
-
}).then((e) => e);
|
|
26
|
-
return { imageUri: r, base64: o };
|
|
27
|
-
} catch (r) {
|
|
28
|
-
console.error(
|
|
29
|
-
"Error generating image information for the chart",
|
|
30
|
-
r
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
else if (a)
|
|
34
|
-
try {
|
|
35
|
-
return n({ container: t, scale: i, base64: a }).then(
|
|
36
|
-
(r) => r
|
|
37
|
-
);
|
|
38
|
-
} catch (r) {
|
|
39
|
-
console.error(
|
|
40
|
-
"Error generating the base64 string of the chart",
|
|
41
|
-
r
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
else
|
|
45
|
-
try {
|
|
46
|
-
const r = await n({
|
|
47
|
-
container: t,
|
|
48
|
-
scale: i
|
|
49
|
-
}), o = document.createElement("a");
|
|
50
|
-
o.href = r, o.download = `${c}.${f}`, document.body.appendChild(o), o.click(), document.body.removeChild(o);
|
|
51
|
-
} catch (r) {
|
|
52
|
-
throw console.error("Error generating image:", r), r;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
export {
|
|
56
|
-
u as default
|
|
57
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { B as s } from "./lib-DMzrGQHK.js";
|
|
2
|
-
function l({
|
|
3
|
-
config: r = {
|
|
4
|
-
useValueParens: !1,
|
|
5
|
-
usePercentageParens: !0,
|
|
6
|
-
showValueFirst: !0
|
|
7
|
-
},
|
|
8
|
-
val: u,
|
|
9
|
-
percentage: t,
|
|
10
|
-
showVal: a = !0,
|
|
11
|
-
showPercentage: n = !0
|
|
12
|
-
}) {
|
|
13
|
-
if (!a && !n) return "";
|
|
14
|
-
const e = {
|
|
15
|
-
value: r.useValueParens ? s(u) : u,
|
|
16
|
-
percentage: r.usePercentageParens ? s(t) : t
|
|
17
|
-
};
|
|
18
|
-
return a && n ? r.showValueFirst ? `${e.value} ${e.percentage}` : `${e.percentage} ${e.value}` : a ? e.value : n ? e.percentage : "";
|
|
19
|
-
}
|
|
20
|
-
function f({ rounding: r, num: u, filler: t = "-" }) {
|
|
21
|
-
return u.toFixed(r).split("").map((a) => t).join("");
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
l as b,
|
|
25
|
-
f
|
|
26
|
-
};
|